window.Physics3D=function(r,e){var i=window.Physics3D={};return i.then=r=>{r(i)},function(r,e,i){var a=e.getWorldTransform,f=e.setWorldTransform;window.atob||(window.atob=function(r){var e=String(r).replace(/[=]+$/,"");if(e.length%4==1)throw new InvalidCharacterError("'atob' failed: The string to be decoded is not correctly encoded.");for(var i,a,f=0,n=0,t="";a=e.charAt(n++);~a&&(i=f%4?64*i+a:a,f++%4)?t+=String.fromCharCode(255&i>>(-2*f&6)):0)a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(a);return t});var n=new ArrayBuffer(8),t=new Int32Array(n),b=new Float32Array(n),C=new Float64Array(n);function o(r){return t[r]}function k(r,e){t[r]=e}function c(){return C[0]}function u(r){C[0]=r}function l(r){b[0]=r}function s(){return b[0]}var g=new ArrayBuffer(r),d=function(r){var e=new Uint8Array(r);return function(r,i){var a,f;if("undefined"==typeof Buffer)for(a=atob(i),f=0;f-1){if(!(r=0|Y(0|r,0|e,0|i,a+12|0)))break r;b[256]=r;break A}b[256]=28;break A}f=b[a+12>>2]}return N=a+16|0,f}function I(r){var e=0;return e=b[r+60>>2],b[r+60>>2]=e+-1|e,8&(e=b[r>>2])?(b[r>>2]=32|e,-1):(b[r+4>>2]=0,b[r+8>>2]=0,e=b[r+40>>2],b[r+24>>2]=e,b[r+20>>2]=e,b[r+16>>2]=e+b[r+44>>2],0)}function J(r,e,i){var a=0,n=0,t=0,g=0,d=0,v=0,_=0;A:{r:{e:{if(!(!i|!(3&e))){for(;f[0|r]=C[0|e],a=i+-1|0,r=r+1|0,e=e+1|0,1!=(0|i)&&(i=a,3&e););if(!(i=3&r))break e;break r}if(a=i,i=3&r)break r}if(a>>>0>=16)for(i=a+-16|0;b[r>>2]=b[e>>2],b[r+4>>2]=b[e+4>>2],b[r+8>>2]=b[e+8>>2],b[r+12>>2]=b[e+12>>2],r=r+16|0,e=e+16|0,(a=a+-16|0)>>>0>15;);else i=a;if(8&i&&(a=b[e+4>>2],b[r>>2]=b[e>>2],b[r+4>>2]=a,e=e+8|0,r=r+8|0),4&i&&(b[r>>2]=b[e>>2],e=e+4|0,r=r+4|0),2&i&&(f[0|r]=C[0|e],f[r+1|0]=C[e+1|0],e=e+2|0,r=r+2|0),!(1&i))break A;return void(f[0|r]=C[0|e])}r:if(!(a>>>0<32)){e:{if(3!=(0|i)){if(2==(0|i))break e;if(1!=(0|i))break r;for(f[r+1|0]=C[e+1|0],n=b[e>>2],f[0|r]=n,f[r+2|0]=C[e+2|0],d=a+-3|0,v=r+3|0,_=a+-20&-16,i=0;r=i+v|0,t=b[(g=e+i|0)+4>>2],b[r>>2]=t<<8|n>>>24,n=b[g+8>>2],b[r+4>>2]=n<<8|t>>>24,t=b[g+12>>2],b[r+8>>2]=t<<8|n>>>24,n=b[g+16>>2],b[r+12>>2]=n<<8|t>>>24,i=i+16|0,(d=d+-16|0)>>>0>16;);r=i+v|0,e=3+(e+i|0)|0,a=(a+-19|0)-_|0;break r}for(n=b[e>>2],f[0|r]=n,d=a+-1|0,v=r+1|0,_=a+-20&-16,i=0;r=i+v|0,t=b[(g=e+i|0)+4>>2],b[r>>2]=t<<24|n>>>8,n=b[g+8>>2],b[r+4>>2]=n<<24|t>>>8,t=b[g+12>>2],b[r+8>>2]=t<<24|n>>>8,n=b[g+16>>2],b[r+12>>2]=n<<24|t>>>8,i=i+16|0,(d=d+-16|0)>>>0>18;);r=i+v|0,e=1+(e+i|0)|0,a=(a+-17|0)-_|0;break r}for(n=b[e>>2],f[0|r]=n,f[r+1|0]=C[e+1|0],d=a+-2|0,v=r+2|0,_=a+-20&-16,i=0;r=i+v|0,t=b[(g=e+i|0)+4>>2],b[r>>2]=t<<16|n>>>16,n=b[g+8>>2],b[r+4>>2]=n<<16|t>>>16,t=b[g+12>>2],b[r+8>>2]=t<<16|n>>>16,n=b[g+16>>2],b[r+12>>2]=n<<16|t>>>16,i=i+16|0,(d=d+-16|0)>>>0>17;);r=i+v|0,e=2+(e+i|0)|0,a=(a+-18|0)-_|0}16&a&&(i=C[0|e]|C[e+1|0]<<8,f[0|r]=i,f[r+1|0]=i>>>8,f[r+2|0]=C[e+2|0],f[r+3|0]=C[e+3|0],f[r+4|0]=C[e+4|0],f[r+5|0]=C[e+5|0],f[r+6|0]=C[e+6|0],f[r+7|0]=C[e+7|0],f[r+8|0]=C[e+8|0],f[r+9|0]=C[e+9|0],f[r+10|0]=C[e+10|0],f[r+11|0]=C[e+11|0],f[r+12|0]=C[e+12|0],f[r+13|0]=C[e+13|0],f[r+14|0]=C[e+14|0],f[r+15|0]=C[e+15|0],e=e+16|0,r=r+16|0),8&a&&(f[0|r]=C[0|e],f[r+1|0]=C[e+1|0],f[r+2|0]=C[e+2|0],f[r+3|0]=C[e+3|0],f[r+4|0]=C[e+4|0],f[r+5|0]=C[e+5|0],f[r+6|0]=C[e+6|0],f[r+7|0]=C[e+7|0],e=e+8|0,r=r+8|0),4&a&&(f[0|r]=C[0|e],f[r+1|0]=C[e+1|0],f[r+2|0]=C[e+2|0],f[r+3|0]=C[e+3|0],e=e+4|0,r=r+4|0),2&a&&(f[0|r]=C[0|e],f[r+1|0]=C[e+1|0],e=e+2|0,r=r+2|0),1&a&&(f[0|r]=C[0|e])}}function X(r,e,i){var a=0,f=0,n=0,t=0,g=0,d=0;A:{if(!(a=b[i+16>>2])){if(I(i))break A;a=b[i+16>>2]}if(a-(n=b[i+20>>2])>>>0>>0)return 0|BA[b[i+32>>2]](i,r,e);r:if(!(b[i+64>>2]<0)){for(f=r,a=0;;){if((0|e)==(0|a))break r;if(a=a+1|0,d=e+f|0,f=g=f+-1|0,10==C[d+-1|0])break}if(t=1+(e-a|0)|0,(f=0|BA[b[i+32>>2]](i,r,t))>>>0>>0)break A;r=1+(e+g|0)|0,n=b[i+20>>2],e=a+-1|0}return J(n,r,e),b[(r=i+20|0)>>2]=b[r>>2]+e,e+t|0}return f}function M(r,e){var i,a,f=0;u(+r),f=0|o(1),i=0|o(0),a=f;A:{if(2047!=(0|(f=f>>>20&2047))){if(!f){if(0==r)break A;return r=M(0x10000000000000000*r,e),b[e>>2]=b[e>>2]+-64,r}b[e>>2]=f+-1022,k(0,0|i),k(1,-2146435073&a|1071644672),r=+c()}return r}return b[e>>2]=0,r}function x(r,e,i){var a=0,n=0,t=0,C=0;if(i&&(f[0|r]=e,f[(a=r+i|0)+-1|0]=e,!(i>>>0<3||(f[r+2|0]=e,f[r+1|0]=e,f[a+-3|0]=e,f[a+-2|0]=e,i>>>0<7||(f[r+3|0]=e,f[a+-4|0]=e,i>>>0<9||(a=0-r&3,n=a+r|0,e=R(255&e,16843009),b[n>>2]=e,i=i-a&-4,a=i+n|0,b[a+-4>>2]=e,i>>>0<9||(b[n+8>>2]=e,b[n+4>>2]=e,b[a+-8>>2]=e,b[a+-12>>2]=e,i>>>0<25||(b[n+24>>2]=e,b[n+20>>2]=e,b[n+16>>2]=e,b[n+12>>2]=e,b[a+-16>>2]=e,b[a+-20>>2]=e,b[a+-24>>2]=e,b[a+-28>>2]=e,C=4&n|24,i=i-C|0,i>>>0<32))))))))for(a=e,t=e,e=n+C|0;b[e>>2]=t,b[e+4>>2]=a,b[(n=e+24|0)>>2]=t,b[n+4>>2]=a,b[(n=e+16|0)>>2]=t,b[n+4>>2]=a,b[(n=e+8|0)>>2]=t,b[n+4>>2]=a,e=e+32|0,(i=i+-32|0)>>>0>31;);return r}function S(r,e){return r?function(r,e){if(r){if(e>>>0<=127)return f[0|r]=e,1;A:{r:{if(b[259]){if(e>>>0>2047)break r;return f[r+1|0]=63&e|128,f[0|r]=e>>>6|192,2}if(57216!=(-128&e))break A;return f[0|r]=e,1}if(!(57344==(-8192&e)|e>>>0<55296)){if(e+-65536>>>0>1048575)break A;return f[r+3|0]=63&e|128,f[0|r]=e>>>18|240,f[r+2|0]=e>>>6&63|128,f[r+1|0]=e>>>12&63|128,4}return f[r+2|0]=63&e|128,f[0|r]=e>>>12|224,f[r+1|0]=e>>>6&63|128,3}b[256]=25,r=-1}else r=1;return r}(r,e):0}function T(r){var e=0,i=0,a=0;b[265]||(b[265]=1036);A:{r:{e:{for(;;){if((0|r)!=C[e+3232|0]){if(i=77,77!=(0|(e=e+1|0)))continue;break e}break}if(i=e,!e)break r}for(e=3312;a=C[0|e],e=r=e+1|0,a||(e=r,i=i+-1|0););break A}r=3312}return r}function U(r,e){var i=0,a=0;a=0!=(0|e);A:{r:{e:{i:{if(!(!e|!(3&r))){for(;;){if(!C[0|r])break i;if(a=1!=(0|e),i=e+-1|0,r=r+1|0,!(1!=(0|e)&&(e=i,3&r)))break}if(a)break e;break r}if(i=e,a)break e;break r}i=e}e:if(!(!C[0|r]|i>>>0<4))for(;;){if((-1^(e=b[r>>2]))&e+-16843009&-2139062144)break e;if(r=r+4|0,!((i=i+-4|0)>>>0>3))break}if(i)for(;;){if(!C[0|r])break A;if(r=r+1|0,!(i=i+-1|0))break}}return 0}return r}function O(r,e,i){var a,f=0,n=0;if(N=a=N-208|0,b[a+204>>2]=i,b[(i=a+192|0)>>2]=0,b[i+4>>2]=0,b[(i=a+184|0)>>2]=0,b[i+4>>2]=0,b[(i=a+176|0)>>2]=0,b[i+4>>2]=0,b[a+168>>2]=0,b[a+172>>2]=0,b[a+160>>2]=0,b[a+164>>2]=0,b[a+200>>2]=b[a+204>>2],(0|H(0,e,a+200|0,a+80|0,a+160|0))>-1){f=b[r>>2];A:{r:{e:{i:{a:{if(b[r+60>>2]>0){if(!b[r+44>>2])break a;break i}if(b[r>>2]=-33&f,b[r+44>>2])break i}b[r+24>>2]=0,b[r+16>>2]=0,b[r+20>>2]=0,b[r+44>>2]=80,n=b[r+40>>2],b[r+40>>2]=a;break e}if(b[r+16>>2])break r}if(i=-1,I(r))break A}i=H(r,e,a+200|0,a+80|0,a+160|0)}n&&(BA[b[r+32>>2]](r,0,0),b[r+44>>2]=0,b[r+40>>2]=n,b[r+24>>2]=0,b[r+16>>2]=0,b[r+20>>2]=0,i=0),b[r>>2]=b[r>>2]|32&f}N=a+208|0}function H(r,e,i,a,t){var g,d,v,B,h,G,y,Q,p=0,D=0,Z=0,Y=0,W=0,F=0,E=0,BA=0,Be=0,ui=0,gi=0,Ri=0,wi=0,Xi=0,Da=0,Ia=0,yf=0,Qf=0,pf=0,Df=0,wf=0,Zf=0,Yf=0,Wf=0,Ff=0,Ef=0,Nf=0,Vf=0,Xf=0,Jf=0,If=0,xf=0,Mf=0,Sf=0,Tf=0,Uf=0,jf=0,Of=0,Hf=0;N=g=N-880|0,h=g+336|8,G=g+55|0,y=-338-g|0,B=g+336|9,Q=g+656|0,v=g+336|0,d=g+56|0;A:{r:{for(;;){e:if(F=e,!((0|p)>(2147483647-pf|0))){pf=p+pf|0;i:{a:{f:{n:{t:{b:{o:{k:{c:{u:{l:{s:{C:{g:{d:{v:{_:{R:{B:{m:{h:{G:{y:{Q:{p:{if(p=C[0|F]){D:{w:{if(p)for(;;){if(37==(0|p))break w;if(p=C[e+1|0],e=e+1|0,!p)break}D=e;break D}for(p=D=e;;){if(37==C[p+1|0]){if(D=D+1|0,Z=C[p+2|0],p=e=p+2|0,37==(0|Z))continue;break D}break}e=p}if((0|(p=D-F|0))>(0|(Ia=2147483647-pf|0)))break e;if(!r|32&C[0|r]||X(F,p,r),p)continue;p=e+1|0,(D=(Y=f[e+1|0])+-48|0)>>>0<=9?(p=(Z=36==C[e+2|0])?e+3|0:p,Ff=Z?1:Ff,Y=f[(Z?3:1)+e|0],wi=Z?D:-1):wi=-1,W=0;D:if(!((e=Y+-32|0)>>>0>31)&&(e=1<>>0>=32)break D;if(Z=p+1|0,!(75913&(e=1<>>0>9)break W;if(b[(e<<2)+t>>2]=10,E=p+3|0,Ff=1,(0|(Be=b[((f[p+1|0]<<3)+a|0)-384>>2]))>-1)break D;break Y}if(Be=0,(Z=Y+-48|0)>>>0>9)break Z;for(e=0;Be=-1,D=f[p+1|0],p=E=p+1|0,e>>>0<=214748364&&(Be=(0|Z)>(2147483647-(e=R(e,10))|0)?-1:e+Z|0),e=Be,(Z=D+-48|0)>>>0<10;);if((0|Be)>=0)break D;break e}if(Ff)break g;if(E=p+1|0,!r)break w;if(e=b[i>>2],b[i>>2]=e+4,Ff=0,(0|(Be=b[e>>2]))>-1)break D}Be=0-Be|0,W|=8192;break D}E=p;break D}Ff=0,Be=0}p=0,Y=-1;D:{w:{Z:{Y:{W:{F:{if(46==C[0|E]){if(42!=(0|(D=f[E+1|0])))break F;if(e=f[E+2|0]+-48|0,36!=C[E+3|0]|e>>>0>9)break W;b[(e<<2)+t>>2]=10,e=E+4|0,Y=b[((f[E+2|0]<<3)+a|0)-384>>2];break w}e=E,BA=0;break D}if(e=E+1|0,(gi=D+-48|0)>>>0>9)break Y;for(E=0,Z=e;Y=-1,E>>>0<=214748364&&(Y=(0|gi)>(2147483647-(e=R(E,10))|0)?-1:e+gi|0),BA=1,D=f[Z+1|0],Z=e=Z+1|0,E=Y,(gi=D+-48|0)>>>0<10;);break D}if(Ff)break g;if(e=E+2|0,!r)break Z;D=b[i>>2],b[i>>2]=D+4,Y=b[D>>2];break w}BA=1,Y=0;break D}Y=0}BA=(-1^Y)>>>31}for(;;){if(Z=p,(D=f[0|e]+-65|0)>>>0>57)break g;if(e=e+1|0,!((p=C[4912+(D+R(Z,58)|0)|0])+-1>>>0<8))break}if(!p)break g;D:{w:{Z:{if(27==(0|p)){if((0|wi)<=-1)break Z;break g}if((0|wi)<0)break w;b[(wi<<2)+t>>2]=p,D=b[(p=(wi<<3)+a|0)+4>>2],b[g+56>>2]=b[p>>2],b[g+60>>2]=D}if(p=0,!r)continue;break D}if(!r)break p;z(g+56|0,p,i)}D=-65537&W,E=8192&W?D:W;D:{w:{Z:{Y:{W:{F:{E:{N:{V:{X:{J:{I:{x:{M:{S:{T:{U:{j:{O:{H:{z:{P:{L:{K:{q:{$:{AA:{rA:{eA:{iA:{aA:{fA:{nA:{tA:{bA:if(p=f[e+-1|0],gi=Z&&3==(15&p)?-33&p:p,p=gi+-65|0,!(p>>>0>55)){switch(p-1|0){default:if(BA&&(0|Y)<=-1)break e;Ri=_[g+56>>3],b[g+364>>2]=0;oA:{kA:{if(u(+Ri),D=0|o(1),jf=1,Hf=o(0)>>>0>4294967295?0:1,Of=(0|D)<=-1?Hf:0,!((0|D)<-1?jf:Of)){if(2048&E)break kA;Ef=(yf=1&E)?5542:5537;break oA}Ri=-Ri,yf=1,Ef=5536;break oA}yf=1,Ef=5539}oA:{if((Qf=m(Ri))!=w&Qf==Qf){if(0!=(Ri=(Qf=M(Ri,g+364|0))+Qf)&&(b[g+364>>2]=b[g+364>>2]+-1),97!=(0|(Jf=32|gi)))break oA;if(Ia=(W=32&gi)?Ef+9|0:Ef,!(12-Y)|Y>>>0>11)break x;for(p=Y+-12|0,Qf=16;Qf*=16,p=p+1|0;);if(45!=C[0|Ia])break M;Ri=-(Qf+(-Ri-Qf));break x}if(8192&E|(0|Be)<=(0|(Y=yf+3|0)))break T;if(x(g- -64|0,32,(p=(W=Be-Y|0)>>>0<256)?W:256),D=32&(Z=b[r>>2]),p)break j;for(p=!D,D=W;1&p&&(X(g- -64|0,256,r),Z=b[r>>2]),p=!(F=32&Z),(D=D+-256|0)>>>0>255;);if(F)break T;W&=255;break U}if(D=(0|Y)<0,0==Ri)break P;ui=b[g+364>>2]+-28|0,b[g+364>>2]=ui,Ri*=268435456;break z;case 51:break L;case 49:break q;case 22:case 54:break $;case 46:break AA;case 45:break rA;case 44:break eA;case 43:break iA;case 33:break aA;case 17:break nA;case 1:break tA;case 0:case 2:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 18:case 19:case 20:case 21:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 32:case 38:case 40:case 41:case 42:case 47:case 48:case 50:case 52:case 53:break bA;case 34:case 39:}if(p=D=b[g+60>>2],W=b[g+56>>2],(0|p)<-1||(0|p)<=-1&&!(W>>>0>4294967295))break H;if(2048&E)break S;if(yf=(ui=1&E)?4888:4886,1==(0|p)&W>>>0>=0|p>>>0>1)break o;break k}ui=0,yf=4886;break a}b[g+12>>2]=0,b[g+8>>2]=b[g+56>>2],b[g+56>>2]=g+8,Y=-1,F=g+8|0;break fA}if(F=b[g+56>>2],!Y)break X}for(p=0,D=F;;){if(!(Z=b[D>>2]))break J;if((Z=(0|(W=S(g+4|0,Z)))<0)|W>>>0>Y-p>>>0)break I;if(D=D+4|0,!(Y>>>0>(p=p+W|0)>>>0))break}break J}f[g+55|0]=b[g+56>>2],ui=0,yf=4886,Y=1,F=G,p=d,E=D;break i}F=T(b[256]);break K}if(p=0,(D=255&Z)>>>0>7)continue;switch(D-1|0){case 4:continue;case 6:break D;case 5:break w;case 3:break Z;case 2:break Y;case 1:break W;case 0:break F}b[b[g+56>>2]>>2]=pf;continue}if(F=d,(p=D=b[g+60>>2])|(W=b[g+56>>2]))for(;f[0|(F=F+-1|0)]=7&W|48,(W=(7&p)<<29|W>>>3)|(p>>>=3););if(ui=0,yf=4886,!(8&E))break t;if(Y=(0|Y)>(0|(D=d-F|0))?Y:D+1|0,BA)break n;break f}Y=Y>>>0>8?Y:8,E|=8,gi=120}if(ui=0,yf=4886,(p=D=b[g+60>>2])|(W=b[g+56>>2])){for(D=32&gi,F=d;f[0|(F=F+-1|0)]=D|C[5520+(15&W)|0],(W=(15&p)<<28|W>>>4)|(p>>>=4););if(!(8&E)|!(b[g+56>>2]|b[g+60>>2]))break t;if(yf=4886+(gi>>4)|0,ui=2,BA)break n;break f}if(F=d,BA)break n;break f}F=(p=b[g+56>>2])||4896}if(ui=0,p=(Z=(p=U(F,Z=(0|Y)<0?2147483647:Y))?p-F|0:Z)+F|0,yf=4886,(0|Y)<=-1)break O;E=D,Y=Z;break i}if(ui=0,yf=4886,1==(0|(p=D=b[g+60>>2]))&(W=b[g+56>>2])>>>0<0|p>>>0<1)break k;break o}ui=b[g+364>>2]}for(BA=D?6:Y,D=wi=(0|ui)<0?g+368|0:Q;p=Ri<4294967296&Ri>=0?~~Ri>>>0:0,b[D>>2]=p,D=D+4|0,0!=(Ri=1e9*(Ri-+(p>>>0))););if((0|ui)>=1){Z=wi,Zf=0;break C}Xi=D,Z=wi,p=0;break s}if(p=0-((0>>0)+p|0)|0,W=0-W|0,b[g+56>>2]=W,b[g+60>>2]=p,ui=1,yf=4886,1==(0|p)&W>>>0>=0|p>>>0>1)break o;break k}if(E=D,Y=Z,!C[0|p])break i;break e}if(D)break T}X(g- -64|0,W,r)}32&(D=b[r>>2])||(X(Ef,yf,r),D=b[r>>2]),32&D||(D=(32&gi)>>>5,X(Ri!=Ri?D?5563:5567:D?5555:5559,3,r));T:if(!(8192!=(73728&E)|(0|Be)<=(0|Y))){if(x(g- -64|0,32,(p=(W=Be-Y|0)>>>0<256)?W:256),D=32&(Z=b[r>>2]),p){if(D)break T}else{for(p=!D,D=W;1&p&&(X(g- -64|0,256,r),Z=b[r>>2]),p=!(F=32&Z),(D=D+-256|0)>>>0>255;);if(F)break T;W&=255}X(g- -64|0,W,r)}p=(0|Be)>(0|Y)?Be:Y;break l}if(ui=1,yf=4887,1==(0|p)&W>>>0<0|p>>>0<1)break k;break o}Ri=Ri+Qf-Qf}Z=v;x:{if(p=(D=(wi=b[g+364>>2])>>31)^D+wi){for(D=0;Z=(p>>>0)/10|0,f[335+(D+g|0)|0]=p-R(Z,10)|48,D=D+-1|0,F=p>>>0>9,p=Z,F;);if(Z=336+(D+g|0)|0,D)break x}f[0|(Z=Z+-1|0)]=48}for(Da=2|yf,f[0|(ui=Z+-2|0)]=gi+15,f[Z+-1|0]=(0|wi)<0?45:43,F=8&E,D=g+336|0;p=D,Z=m(Ri)<2147483648?~~Ri:-2147483648,f[0|p]=W|C[Z+5520|0],D=p+1|0,(0|Y)>0|F|0!=(Ri=16*(Ri-+(0|Z)))&&1==(D-(g+336|0)|0)&&(f[p+1|0]=46,D=p+2|0),0!=Ri;);if(p=-1,((2147483645-Da|0)-(BA=v-ui|0)|0)<(0|Y))break l;if(gi=D-(g+336|0)|0,(wi=73728&E)|(0|Be)<=(0|(Y=(W=Y&&(D+y|0)<(0|Y)?Y+2|0:gi)+(BA+Da|0)|0)))break E;if(x(g- -64|0,32,(p=(E=Be-Y|0)>>>0<256)?E:256),D=32&(Z=b[r>>2]),p)break V;for(p=!D,D=E;1&p&&(X(g- -64|0,256,r),Z=b[r>>2]),p=!(F=32&Z),(D=D+-256|0)>>>0>255;);if(F)break E;E&=255;break N}if(Z)break r}if((0|p)<0)break e;if(E&=73728)break c;break u}if(p=0,!(E&=73728))break u;break c}if(D)break E}X(g- -64|0,E,r)}32&C[0|r]||X(Ia,Da,r);E:if(!(65536!=(0|wi)|(0|Be)<=(0|Y))){if(x(g- -64|0,48,(p=(E=Be-Y|0)>>>0<256)?E:256),D=32&(Z=b[r>>2]),p){if(D)break E}else{for(p=!D,D=E;1&p&&(X(g- -64|0,256,r),Z=b[r>>2]),p=!(F=32&Z),(D=D+-256|0)>>>0>255;);if(F)break E;E&=255}X(g- -64|0,E,r)}32&C[0|r]||X(g+336|0,gi,r);E:if(!((0|(E=W-gi|0))<1)){if(x(g- -64|0,48,(D=E>>>0<256)?E:256),p=32&(Z=b[r>>2]),D){if(p)break E}else{for(p=!p,D=E;1&p&&(X(g- -64|0,256,r),Z=b[r>>2]),p=!(F=32&Z),(D=D+-256|0)>>>0>255;);if(F)break E;E&=255}X(g- -64|0,E,r)}32&C[0|r]||X(ui,BA,r);E:if(!(8192!=(0|wi)|(0|Be)<=(0|Y))){if(x(g- -64|0,32,(p=(W=Be-Y|0)>>>0<256)?W:256),D=32&(Z=b[r>>2]),p){if(D)break E}else{for(p=!D,D=W;1&p&&(X(g- -64|0,256,r),Z=b[r>>2]),p=!(F=32&Z),(D=D+-256|0)>>>0>255;);if(F)break E;W&=255}X(g- -64|0,W,r)}p=(0|Be)>(0|Y)?Be:Y;break l}b[b[g+56>>2]>>2]=pf;continue}D=b[g+56>>2],b[D>>2]=pf,b[D+4>>2]=pf>>31;continue}n[b[g+56>>2]>>1]=pf;continue}f[b[g+56>>2]]=pf;continue}b[b[g+56>>2]>>2]=pf;continue}D=b[g+56>>2],b[D>>2]=pf,b[D+4>>2]=pf>>31;continue}if(r)break A;if(Ff){if(p=1,!(r=b[t+4>>2]))break v;if(z(a+8|0,r,i),!(r=b[t+8>>2]))break Q;if(z(a+16|0,r,i),!(r=b[t+12>>2]))break y;if(z(a+24|0,r,i),!(r=b[t+16>>2]))break G;if(z(a+32|0,r,i),!(r=b[t+20>>2]))break h;if(z(a+40|0,r,i),!(r=b[t+24>>2]))break m;if(z(a+48|0,r,i),!(r=b[t+28>>2]))break B;if(z(a+56|0,r,i),!(r=b[t+32>>2]))break R;if(z(a- -64|0,r,i),!(r=b[t+36>>2]))break _;z(a+72|0,r,i);break d}}pf=0;break A}p=2;break v}p=3;break v}p=4;break v}p=5;break v}p=6;break v}p=7;break v}p=8;break v}p=9}for(e=(p<<2)+t|0;;){if(b[e>>2])break g;if(e=e+4|0,!((p=p+1|0)>>>0<=9))break}}pf=1;break A}b[256]=28;break r}p=1}for(;;){s:{C:{g:{d:{v:{_:{R:{B:{m:{h:{G:{y:{Q:{p:{D:{w:{Z:{Y:{W:{F:{E:{N:{V:{X:{J:{I:{x:{M:{S:{if(!p){if((0|ui)>-1)break S;Sf=1+((BA+25>>>0)/9|0)|0,Zf=1;break B}T:switch(0|Zf){case 0:if(ui=(0|ui)<29?ui:29,!((p=D+-4|0)>>>0>>0)){for(Y=ui,W=0;F=p,Xi=b[p>>2],Da=31&Y,32<=(63&Y)>>>0?(Ia=Xi<>>32-Da,Xi<<=Da),jf=F,Of=(Xi=Xi+W|0)-Rf(W=Gf(Xi,Xi>>>0>>0?Ia+1|0:Ia,1e9),j,1e9,0)|0,b[jf>>2]=Of,(p=p+-4|0)>>>0>=Z>>>0;);W&&(b[(Z=Z+-4|0)>>2]=W)}for(;Xi=D,!(D>>>0<=Z>>>0||(D=Xi+-4|0,b[D>>2])););if(ui=b[g+364>>2]-ui|0,b[g+364>>2]=ui,D=Xi,(0|ui)>0)break D;break h;case 3:break x;case 2:break M;case 1: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4|0,F>>>0>999999999;);W=p+4|0}if(F=R(wi-Z>>2,9),!((Y=b[Z>>2])>>>0<10))for(p=10;F=F+1|0,Y>>>0>=(p=R(p,10))>>>0;);}Xi=Xi>>>0>(p=W+4|0)>>>0?p:Xi}S:{T:{for(;;){if(Df=Xi,Xi>>>0<=Z>>>0)break T;if(b[(Xi=Df+-4|0)>>2])break}Ia=1;break S}Ia=0}if(Vf){if(BA=((p=(0|(W=BA||1))>(0|F)&(0|F)>-5)?-1^F:-1)+W|0,gi=(p?-1:-2)+gi|0,!(Nf=8&E)){if(p=9,Ia&&((W=b[Df+-4>>2])&&(p=0,!((W>>>0)%10))))for(Y=10;p=p+1|0,!((W>>>0)%((Y=R(Y,10))>>>0)););W=R(Df-wi>>2,9)+-9|0,102!=(32|gi)?(Nf=0,BA=(0|BA)<(0|(p=(0|(p=(F+W|0)-p|0))>0?p:0))?BA:p):(Nf=0,BA=(0|BA)<(0|(p=(0|(p=W-p|0))>0?p:0))?BA:p)}}else Nf=8&E;if(p=-1,(0|BA)>(0|((wf=BA|Nf)?2147483645:2147483646)))break l;if(Mf=1+((0!=(0|wf))+BA|0)|0,Vf=102!=(32|gi)){if(Y=v,p=F>>31,p^=p+F)for(;W=(p>>>0)/10|0,f[0|(Y=Y+-1|0)]=p-R(W,10)|48,Da=p>>>0>9,p=W,Da;);if((v-Y|0)<=1){for(p=Y+-1|0;f[0|p]=48,Y=v-p|0,p=W=p+-1|0,(0|Y)<2;);Y=W+1|0}if(f[0|(If=Y+-2|0)]=gi,p=-1,f[Y+-1|0]=(0|F)<0?45:43,(0|(F=v-If|0))>(2147483647-Mf|0))break l}else{if((0|F)>(2147483647-Mf|0))break l;F=(0|F)>0?F:0}if((0|(F=F+Mf|0))>(2147483647^yf))break l;S:if(!((xf=73728&E)|(0|Be)<=(0|(Wf=F+yf|0)))){if(x(g- -64|0,32,(F=(W=Be-Wf|0)>>>0<256)?W:256),p=32&(Y=b[r>>2]),F){if(p)break S}else{for(p=!p,F=W;1&p&&(X(g- -64|0,256,r),Y=b[r>>2]),p=!(Da=32&Y),(F=F+-256|0)>>>0>255;);if(Da)break S;W&=255}X(g- -64|0,W,r)}32&C[0|r]||X(Ef,yf,r);S:if(!(65536!=(0|xf)|(0|Be)<=(0|Wf))){if(x(g- -64|0,48,(F=(W=Be-Wf|0)>>>0<256)?W:256),p=32&(Y=b[r>>2]),F){if(p)break S}else{for(p=!p,F=W;1&p&&(X(g- -64|0,256,r),Y=b[r>>2]),p=!(Da=32&Y),(F=F+-256|0)>>>0>255;);if(Da)break S;W&=255}X(g- -64|0,W,r)}if(Vf)break J;Yf=Tf=Z>>>0>wi>>>0?wi:Z,Zf=2;break _}if(p=b[Yf>>2])for(F=0;W=(p>>>0)/10|0,f[F+h|0]=p-R(W,10)|48,F=F+-1|0,Y=p>>>0>9,p=W,Y;);else F=0;p=F+B|0;M:if((0|Yf)==(0|Tf))F||(p=p+-1|0,f[0|p]=48);else{if(p>>>0<=g+336>>>0)break M;for(;f[0|(p=p+-1|0)]=48,p>>>0>g+336>>>0;);}if(32&C[0|r]||X(p,B-p|0,r),(Yf=Yf+4|0)>>>0<=wi>>>0)break Q;if(!wf|32&C[0|r]||X(5571,1,r),(0|BA)<1|Yf>>>0>=Df>>>0)break I;Zf=3;break g}p=B;x:{if(F=b[Yf>>2]){for(;W=(F>>>0)/10|0,f[0|(p=p+-1|0)]=F-R(W,10)|48,Y=F>>>0>9,F=W,Y;);if(p>>>0<=g+336>>>0)break x}for(;f[0|(p=p+-1|0)]=48,p>>>0>g+336>>>0;);}if(32&C[0|r]||X(p,(0|BA)<9?BA:9,r),!((0|(BA=BA+-9|0))<1)&&(Yf=Yf+4|0)>>>0>>0)break y}if((0|BA)<1)break Y;if(x(g- -64|0,48,(D=BA>>>0<256)?BA:256),p=32&(Z=b[r>>2]),D)break V;for(p=!p,D=BA;1&p&&(X(g- -64|0,256,r),Z=b[r>>2]),p=!(F=32&Z),(D=D+-256|0)>>>0>255;);if(F)break Y;BA&=255;break N}if((0|BA)<=-1)break W;Uf=Ia?Df:Z+4|0,Xf=Z,Zf=4;break C}Y=B;X:{if(p=b[Xf>>2]){for(F=0;W=(p>>>0)/10|0,f[344+(g+F|0)|0]=p-R(W,10)|48,F=F+-1|0,Y=p>>>0>9,p=W,Y;);if(Y=345+(g+F|0)|0,F)break X}f[0|(Y=Y+-1|0)]=48}X:if((0|Z)==(0|Xf))32&C[0|r]||X(Y,1,r),Y=Y+1|0,32&C[0|r]|((0|BA)<1?!Nf:0)||X(5571,1,r);else{if(Y>>>0<=g+336>>>0)break X;for(;f[0|(Y=Y+-1|0)]=48,Y>>>0>g+336>>>0;);}if(p=B-Y|0,32&C[0|r]||X(Y,(0|BA)>(0|p)?p:BA,r),Xf=Xf+4|0,(0|(BA=BA-p|0))>-1&&Xf>>>0>>0)break G;if((0|BA)<1)break W;if(x(g- -64|0,48,(D=BA>>>0<256)?BA:256),p=32&(Z=b[r>>2]),D)break E;for(p=!p,D=BA;1&p&&(X(g- -64|0,256,r),Z=b[r>>2]),p=!(F=32&Z),(D=D+-256|0)>>>0>255;);if(F)break W;BA&=255;break F}if(p)break Y}if(X(g- -64|0,BA,r),8192==(0|xf))break Z;break w}if(p)break W}X(g- -64|0,BA,r)}32&C[0|r]||X(If,v-If|0,r)}if(8192!=(0|xf))break w}if(!((0|Be)<=(0|Wf))){if(x(g- -64|0,32,(p=(Y=Be-Wf|0)>>>0<256)?Y:256),D=32&(Z=b[r>>2]),p){if(D)break w}else{for(p=!D,D=Y;1&p&&(X(g- -64|0,256,r),Z=b[r>>2]),p=!(F=32&Z),(D=D+-256|0)>>>0>255;);if(F)break w;Y&=255}X(g- -64|0,Y,r)}}p=(0|Be)>(0|Wf)?Be:Wf;break l}Zf=0;break m}Zf=1;break R}Zf=2;break v}Zf=3;break d}Zf=4;break s}p=0;continue}p=1;continue}p=1;continue}p=1;continue}p=1;continue}p=1;continue}p=1;continue}p=1;continue}p=1;continue}p=1}}if((0|p)>=0)continue;break e}if(!((0|Be)<=(0|p))){if(x(g- -64|0,32,(Z=(gi=Be-p|0)>>>0<256)?gi:256),D=32&(Y=b[r>>2]),Z){if(D)break c}else{for(D=!D,Z=gi;1&D&&(X(g- -64|0,256,r),Y=b[r>>2]),D=!(W=32&Y),(Z=Z+-256|0)>>>0>255;);if(W)break c;gi&=255}X(g- -64|0,gi,r)}}c:if(p)for(D=0;;){if(!(Z=b[F>>2]))break c;if((D=(Z=S(g+4|0,Z))+D|0)>>>0>p>>>0)break c;if(32&C[0|r]||X(g+4|0,Z,r),F=F+4|0,!(D>>>0

>>0))break}c:if(!(8192!=(0|E)|(0|Be)<=(0|p))){if(x(g- -64|0,32,(Z=(W=Be-p|0)>>>0<256)?W:256),D=32&(F=b[r>>2]),Z){if(D)break c}else{for(D=!D,Z=W;1&D&&(X(g- -64|0,256,r),F=b[r>>2]),D=!(E=32&F),(Z=Z+-256|0)>>>0>255;);if(E)break c;W&=255}X(g- -64|0,W,r)}p=(0|Be)>(0|p)?Be:p;continue}D=W,F=d;break b}for(F=d;jf=F=F+-1|0,Of=W-Rf(D=Gf(W,p,10),Z=wi=j,10,0)|48,f[0|jf]=Of,wi=9==(0|p)&W>>>0>4294967295|p>>>0>9,W=D,p=Z,wi;);}if(p=D)for(;D=(p>>>0)/10|0,f[0|(F=F+-1|0)]=p-R(D,10)|48,Z=p>>>0>9,p=D,Z;);}if(!BA)break f}if((0|Y)<0)break e}if(E=BA?-65537&E:E,!(!!((p=b[g+56>>2])|(D=b[g+60>>2]))|Y)){p=F=d,Y=0;break i}Y=(0|Y)>(0|(D=!(p|D)+(d-F|0)|0))?Y:D}p=d}if(!((0|(BA=(0|Y)<(0|(gi=p-F|0))?gi:Y))>(2147483647-ui|0)||(Da=BA+ui|0,p=(0|Be)<(0|Da)?Da:Be,(0|p)>(0|Ia)))){i:if(!((wi=73728&E)|(0|Da)>=(0|Be))){if(x(g- -64|0,32,(Z=(Ia=p-Da|0)>>>0<256)?Ia:256),D=32&(W=b[r>>2]),Z){if(D)break i}else{for(D=!D,Z=Ia;1&D&&(X(g- -64|0,256,r),W=b[r>>2]),D=!(E=32&W),(Z=Z+-256|0)>>>0>255;);if(E)break i;Ia&=255}X(g- -64|0,Ia,r)}32&C[0|r]||X(yf,ui,r);i:if(!(65536!=(0|wi)|(0|Da)>=(0|Be))){if(x(g- -64|0,48,(Z=(ui=p-Da|0)>>>0<256)?ui:256),D=32&(W=b[r>>2]),Z){if(D)break i}else{for(D=!D,Z=ui;1&D&&(X(g- -64|0,256,r),W=b[r>>2]),D=!(E=32&W),(Z=Z+-256|0)>>>0>255;);if(E)break i;ui&=255}X(g- -64|0,ui,r)}i:if(!((0|gi)>=(0|Y))){if(x(g- -64|0,48,(Z=(E=BA-gi|0)>>>0<256)?E:256),D=32&(Y=b[r>>2]),Z){if(D)break i}else{for(D=!D,Z=E;1&D&&(X(g- -64|0,256,r),Y=b[r>>2]),D=!(W=32&Y),(Z=Z+-256|0)>>>0>255;);if(W)break i;E&=255}X(g- -64|0,E,r)}if(32&C[0|r]||X(F,gi,r),8192!=(0|wi)|(0|Da)>=(0|Be))continue;x(g- -64|0,32,(Z=(Y=p-Da|0)>>>0<256)?Y:256),D=32&(F=b[r>>2]);i:{if(Z){if(!D)break i;continue}for(D=!D,Z=Y;1&D&&(X(g- -64|0,256,r),F=b[r>>2]),D=!(E=32&F),(Z=Z+-256|0)>>>0>255;);if(E)continue;Y&=255}X(g- -64|0,Y,r);continue}}break}b[256]=61}pf=-1}return N=g+880|0,pf}function z(r,e,i){A:{r:{e:{i:{a:{f:{n:{t:{b:{o:{if((e=e+-9|0)>>>0<=17){switch(e-1|0){case 2:case 9:case 11:case 12:case 15:break a;case 0:case 3:case 13:break i;case 1:case 4:case 10:case 14:break e;case 16:break f;case 8:break o;case 7:break n;case 5:break t;case 6:break b}e=b[i>>2],b[i>>2]=e+4,b[r>>2]=b[e>>2]}return}e=b[i>>2],b[i>>2]=e+4,b[r>>2]=C[0|e];break A}e=b[i>>2],b[i>>2]=e+4,b[r>>2]=g[e>>1];break A}e=b[i>>2],b[i>>2]=e+4,e=n[e>>1],b[r>>2]=e;break r}e=b[i>>2],b[i>>2]=e+4,e=f[0|e],b[r>>2]=e;break r}X(5376,function(){var r=0,e=0,i=0;f:{n:{t:if(r=5376,3&r){if(!C[5376])break n;for(r=5377;;){if(!(3&r))break t;if(e=C[0|r],r=i=r+1|0,!e)break}return i+-5377|0}for(r=r+-4|0;!((-1^(e=b[(r=r+4|0)>>2]))&e+-16843009&-2139062144););if(!(255&e))break f;for(;e=C[r+1|0],r=i=r+1|0,e;);return i-5376|0}return 0}return r-5376|0}(),2864),D()}return e=b[i>>2]+7&-8,b[i>>2]=e+8,i=b[e+4>>2],b[r>>2]=b[e>>2],void(b[r+4>>2]=i)}e=b[i>>2],b[i>>2]=e+4,e=b[e>>2],b[r>>2]=e;break r}e=b[i>>2],b[i>>2]=e+4,b[r>>2]=b[e>>2];break A}return void(b[r+4>>2]=e>>31)}b[r+4>>2]=0}function P(r){var e;N=e=N-16|0,b[e+12>>2]=r,b[e+8>>2]=0,O(b[804],b[e+12>>2],b[e+8>>2]),function(r){var e;N=e=N-16|0,b[e+12>>2]=0,O(r,5573,0),N=e+16|0}(b[804]),D()}function L(e){if(!(65535&e|(0|e)<=-1))return-1!=(0|(e=function(e){e|=0;var t=0|i.byteLength/65536,B=t+e|0;if(t>>16)))?e<<16:(b[256]=48,-1);D()}function K(r){var e,i=0,a=0,f=0,n=0,t=0,g=0,v=0,_=0,R=0,B=0,m=0,h=0,G=0;N=e=N-16|0;A:{r:{e:{i:{a:{f:{n:{t:{b:{o:{k:{c:{u:{l:{s:{C:{g:{d:{v:{_:{R:{B:{m:{h:{G:{y:{Q:{p:{D:{w:{Z:{Y:{W:{F:{E:{N:{V:{if(r>>>0<=244){if(!(3&(i=(n=b[266])>>>(r=(t=r>>>0<11?16:r+11&-8)>>>3))))break V;if(r=(i=b[(t=(a=r+(1&(-1^i))|0)<<3)+1112>>2])+8|0,(0|(f=b[i+8>>2]))==(0|(t=t+1104|0)))break N;b[f+12>>2]=t,b[t+8>>2]=f;break E}if(t=-1,r>>>0>4294967231)break m;if(t=-8&(r=r+11|0),!(R=b[267]))break m;if(g=0-t|0,v=0,(r>>>=8)&&(v=31,t>>>0>16777215||(v=t>>>(r=(14-((f=(r=(a=r<<(i=r+1048320>>>16&8))+520192>>>16&4)|i)|(i=(r=a<>>16&2))|0)+(r<>>15)|0)+7&1|r<<1)),!(i=b[1368+(v<<2)>>2]))break F;for(f=t<<(31==(0|v)?0:25-(v>>>1)|0),r=0,a=0;;){if((n=(-8&b[i+4>>2])-t|0)>>>0>>0&&(a=i,g=n,!n))break Z;if(n=b[i+20>>2],i=b[16+((f>>>29&4)+i|0)>>2],r=n?(0|n)==(0|i)?r:n:r,f<<=0!=(0|i),!i)break}if(!(r|a))break W;break y}if(t>>>0<=(R=b[268])>>>0)break m;if(!i)break Y;if(a=i=(r=(0-(r=(i<<=r)&(0-(r=2<>>12&16,a|=i=(r>>>=i)>>>5&8,a|=i=(r>>>=i)>>>2&4,i=b[(f=(a=((a|=i=(r>>>=i)>>>1&2)|(i=(r>>>=i)>>>1&1))+(r>>>i)|0)<<3)+1112>>2],(0|(r=b[i+8>>2]))==(0|(f=f+1104|0)))break w;b[r+12>>2]=f,b[f+8>>2]=r;break D}h=1064,G=hf(a)&n,b[h>>2]=G}a<<=3,b[i+4>>2]=3|a,b[(i=i+a|0)+4>>2]=1|b[i+4>>2];break A}a=0}if(!(r=(0-(r=2<>>12&16,f|=i=(r>>>=i)>>>5&8,f|=i=(r>>>=i)>>>2&4,r=b[1368+(((f|=i=(r>>>=i)>>>1&2)|(i=(r>>>=i)>>>1&1))+(r>>>i)<<2)>>2])break G;break h}if(!(B=b[267]))break m;if(a=i=(r=(B&0-B)-1|0)>>>12&16,a|=i=(r>>>=i)>>>5&8,a|=i=(r>>>=i)>>>2&4,f=b[1368+(((a|=i=(r>>>=i)>>>1&2)|(i=(r>>>=i)>>>1&1))+(r>>>i)<<2)>>2],g=(-8&b[f+4>>2])-t|0,!(r=b[(a=f)+16>>2]))break p;i=1;break Q}g=0,r=i;break G}n=hf(a)&n,b[266]=n}r=i+8|0,b[i+4>>2]=3|t,g=(a<<=3)-t|0,b[i+a>>2]=g,b[(t=i+t|0)+4>>2]=1|g,R&&(i=1104+((a=R>>>3)<<3)|0,f=b[271],a=1<>2],a&n||(b[266]=a|n,v=i),b[(a=v)+12>>2]=f,b[i+8>>2]=f,b[f+12>>2]=i,b[f+8>>2]=a),b[271]=t,b[268]=g;break A}i=0}Q:{for(;;){p:{D:{w:{if(i){if(g=(i=(a=(-8&b[r+4>>2])-t|0)>>>0>>0)?a:g,f=i?r:f,a=r,r=b[r+16>>2])break w;i=0;continue}if(r=b[a+20>>2])break D;if((m=f+t|0)>>>0<=f>>>0)break m;if(_=b[f+24>>2],(0|f)!=(0|(a=b[f+12>>2]))){if(r=b[f+8>>2],b[r+12>>2]=a,b[a+8>>2]=r,_)break p;break Q}Z:{if(!(r=b[(i=f+20|0)>>2])){if(!(r=b[f+16>>2]))break Z;i=f+16|0}for(;v=i,a=r,(r=b[(i=r+20|0)>>2])||(i=a+16|0,r=b[a+16>>2]););if(b[v>>2]=0,!_)break Q;break p}if(a=0,_)break p;break Q}i=1;continue}i=1;continue}break}p:{r=b[f+28>>2];D:{if((0|f)!=b[(i=1368+(r<<2)|0)>>2]){if(b[(b[_+16>>2]==(0|f)?16:20)+_>>2]=a,a)break D;break Q}if(b[i>>2]=a,!a)break p}if(b[a+24>>2]=_,(r=b[f+16>>2])&&(b[a+16>>2]=r,b[r+24>>2]=a),!(r=b[f+20>>2]))break Q;b[a+20>>2]=r,b[r+24>>2]=a;break Q}h=1068,G=hf(r)&B,b[h>>2]=G}g>>>0<=15?(r=t+g|0,b[f+4>>2]=3|r,b[(r=r+f|0)+4>>2]=1|b[r+4>>2]):(b[m+4>>2]=1|g,b[f+4>>2]=3|t,b[g+m>>2]=g,R&&(r=1104+((a=R>>>3)<<3)|0,i=b[271],a=1<>2],a&n||(b[266]=a|n,t=r),b[t+12>>2]=i,b[r+8>>2]=i,b[i+12>>2]=r,b[i+8>>2]=t),b[271]=m,b[268]=g),r=f+8|0;break A}if(!r)break h}for(;g=(f=(n=(-8&b[r+4>>2])-t|0)>>>0>>0)?n:g,a=f?r:a,r=(i=b[r+16>>2])||b[r+20>>2];);}if(!(!a|g>>>0>=b[268]-t>>>0||(v=a+t|0,v>>>0<=a>>>0))){if(_=b[a+24>>2],(0|a)==(0|(f=b[a+12>>2])))break B;if(r=b[a+8>>2],b[r+12>>2]=f,b[f+8>>2]=r,_)break e;break r}}m:{h:{G:{y:{Q:{if((i=b[268])>>>0>>0){if((a=b[269])>>>0<=t>>>0)break Q;r=b[272],a=a-t|0,b[(i=r+t|0)+4>>2]=1|a,b[269]=a,b[272]=i,b[r+4>>2]=3|t,r=r+8|0;break A}if(r=b[271],(a=i-t|0)>>>0<16)break y;b[(f=r+t|0)+4>>2]=1|a,b[268]=a,b[271]=f,b[r+i>>2]=a,b[r+4>>2]=3|t;break G}if(!b[384])break h;i=b[386];break m}b[r+4>>2]=3|i,b[(i=r+i|0)+4>>2]=1|b[i+4>>2],b[271]=0,b[268]=0}r=r+8|0;break A}b[387]=-1,b[388]=-1,b[385]=65536,b[386]=65536,b[384]=e+12&-16^1431655768,b[389]=0,b[377]=0,i=65536}r=0;m:{if((i=(n=(g=t+47|0)+i|0)&(v=0-i|0))>>>0>t>>>0){if((r=b[376])&&(_=(f=b[374])+i|0)>>>0<=f>>>0|_>>>0>r>>>0)break m;if(4&C[1508])break l;if(f=b[272])for(r=1512;;){if((_=b[r>>2])+b[r+4>>2]>>>0>f>>>0&&_>>>0<=f>>>0)break R;if(!(r=b[r+8>>2]))break}if(-1==(0|(f=L(0))))break s;if(n=i,(a=(r=b[385])+-1|0)&f&&(n=(i-f|0)+(a+f&0-r)|0),n>>>0<=t>>>0|n>>>0>2147483646)break s;if((r=b[376])&&(v=(a=b[374])+n|0)>>>0<=a>>>0|v>>>0>r>>>0)break s;if((0|f)!=(0|(r=L(n))))break _;break u}b[256]=48;break A}r=0,b[256]=48;break A}if(!(r=b[(i=a+20|0)>>2])){if(!(r=b[a+16>>2]))break v;i=a+16|0}for(;n=i,f=r,(r=b[(i=r+20|0)>>2])||(i=f+16|0,r=b[f+16>>2]););if(b[n>>2]=0,!_)break r;break e}if((n=v&n-a)>>>0>2147483646)break s;if((0|(f=L(n)))==(b[r>>2]+b[r+4>>2]|0))break g;r=f}if(f=r,t+48>>>0<=n>>>0|n>>>0>2147483646|-1==(0|r))break d;if((r=(r=b[386])+(g-n|0)&0-r)>>>0>2147483646)break u;if(-1==(0|L(r)))break C;n=r+n|0;break u}if(f=0,_)break e;break r}if(-1!=(0|f))break u;break s}if(-1!=(0|f))break u;break s}L(0-n|0)}b[377]=4|b[377]}if(i>>>0>2147483646)break c;if((f=L(i))>>>0>=(r=L(0))>>>0|-1==(0|f)|-1==(0|r))break c;if((n=r-f|0)>>>0<=t+40>>>0)break c}r=b[374]+n|0,b[374]=r,r>>>0>d[375]&&(b[375]=r);u:{l:{s:{if(a=b[272]){for(r=1512;;){if(((i=b[r>>2])+(g=b[r+4>>2])|0)==(0|f))break s;if(!(r=b[r+8>>2]))break}break l}for(f>>>0>=(r=b[270])>>>0&&r||(b[270]=f),r=0,b[379]=n,b[378]=f,b[274]=-1,b[275]=b[384],b[381]=0;i=r+1104|0,b[r+1112>>2]=i,b[r+1116>>2]=i,256!=(0|(r=r+8|0)););i=(r=f+8&7?-8-f&7:0)+f|0,r=(a=n+-40|0)-r|0,b[i+4>>2]=1|r,b[273]=b[388],b[269]=r,b[272]=i,b[4+(a+f|0)>>2]=40;break u}if(!(8&C[r+12|0]|f>>>0<=a>>>0|i>>>0>a>>>0)){f=(i=a+8&7?-8-a&7:0)+a|0,i=(v=b[269]+n|0)-i|0,b[f+4>>2]=1|i,b[r+4>>2]=n+g,b[273]=b[388],b[269]=i,b[272]=f,b[4+(a+v|0)>>2]=40;break u}}f>>>0>2]!=(0|i)){if(r=b[r+8>>2])continue;break _}break}if(!(8&C[r+12|0])){if(b[r>>2]=f,b[r+4>>2]=b[r+4>>2]+n,b[(_=(f+8&7?-8-f&7:0)+f|0)+4>>2]=3|t,r=((f=i+(i+8&7?-8-i&7:0)|0)-_|0)-t|0,n=t+_|0,(0|a)==(0|f))break v;if(b[271]==(0|f))break k;if(1!=(3&(i=b[f+4>>2])))break a;if(R=-8&i,i>>>0>255)break o;if((0|(a=b[f+12>>2]))==(0|(t=b[f+8>>2])))break b;b[a+8>>2]=t,b[t+12>>2]=a;break f}}for(r=1512;!((i=b[r>>2])>>>0<=a>>>0&&(g=i+b[r+4>>2]|0,g>>>0>a>>>0));)r=b[r+8>>2];for(v=(r=f+8&7?-8-f&7:0)+f|0,r=(i=n+-40|0)-r|0,b[v+4>>2]=1|r,b[4+(i+f|0)>>2]=40,b[(i=(i=(g+(g+-39&7?39-g&7:0)|0)-47|0)>>>0>>0?a:i)+4>>2]=27,b[273]=b[388],b[269]=r,b[272]=v,v=b[381],b[(r=i+16|0)>>2]=b[380],b[r+4>>2]=v,r=b[379],b[i+8>>2]=b[378],b[i+12>>2]=r,b[379]=n,b[378]=f,b[380]=i+8,b[381]=0,r=i+28|0;b[r>>2]=7,(r=r+4|0)>>>0>>0;);if((0|i)==(0|a))break u;if(b[(r=i+4|0)>>2]=-2&b[r>>2],g=i-a|0,b[i>>2]=g,b[a+4>>2]=1|g,g>>>0<=255){if(r=1104+((i=g>>>3)<<3)|0,!((f=b[266])&(i=1<>2];break g}if(b[a+16>>2]=0,b[a+20>>2]=0,r=0,(i=g>>>8)&&(r=31,g>>>0>16777215||(r=g>>>(r=(14-((v=(r=(f=(r=i)<<(i=i+1048320>>>16&8))+520192>>>16&4)|i)|(i=(r=f<>>16&2))|0)+(r<>>15)|0)+7&1|r<<1)),b[(n=a+28|0)>>2]=r,i=1368+(r<<2)|0,!((f=b[267])&(n=1<>>1)|0),f=b[i>>2];;){if((0|g)==(-8&b[(i=f)+4>>2]))break l;if(f=r>>>29,r<<=1,!(f=b[(n=16+(i+(4&f)|0)|0)>>2]))break}b[n>>2]=a;break s}b[272]=n,r=b[269]+r|0,b[269]=r,b[n+4>>2]=1|r;break i}b[266]=i|f,g=r}b[g+12>>2]=a,b[r+8>>2]=a,b[a+12>>2]=r,b[a+8>>2]=g;break u}b[i>>2]=a,b[267]=f|n}b[a+24>>2]=i,b[a+12>>2]=a,b[a+8>>2]=a;break u}r=b[i+8>>2],b[r+12>>2]=a,b[i+8>>2]=a,b[a+24>>2]=0,b[a+12>>2]=i,b[a+8>>2]=r}if(!((i=b[269])>>>0<=t>>>0)){r=b[272],i=i-t|0,b[(a=r+t|0)+4>>2]=1|i,b[269]=i,b[272]=a,b[r+4>>2]=3|t,r=r+8|0;break A}}r=0,b[256]=48;break A}b[271]=n,r=b[268]+r|0,b[268]=r,b[n+4>>2]=1|r,b[r+n>>2]=r;break i}if(v=b[f+24>>2],(0|(a=b[f+12>>2]))==(0|f))break t;if(i=b[f+8>>2],b[i+12>>2]=a,b[a+8>>2]=i,v)break n;break f}h=1064,G=b[266]&hf(i>>>3),b[h>>2]=G;break f}if((t=b[(i=f+20|0)>>2])||(t=b[(i=f+16|0)>>2])){for(;g=i,(t=b[(i=(a=t)+20|0)>>2])||(i=a+16|0,t=b[a+16>>2]););if(b[g>>2]=0,!v)break f}else if(a=0,!v)break f}n:{i=b[f+28>>2];t:{if((0|f)!=b[(t=1368+(i<<2)|0)>>2]){if(b[v+(b[v+16>>2]==(0|f)?16:20)>>2]=a,a)break t;break f}if(b[t>>2]=a,!a)break n}if(b[a+24>>2]=v,(i=b[f+16>>2])&&(b[a+16>>2]=i,b[i+24>>2]=a),!(i=b[f+20>>2]))break f;b[a+20>>2]=i,b[i+24>>2]=a;break f}h=1068,G=b[267]&hf(i),b[h>>2]=G}r=r+R|0,f=f+R|0}b[f+4>>2]=-2&b[f+4>>2],b[r+n>>2]=r,b[n+4>>2]=1|r;a:{f:{n:{t:{b:{if(r>>>0<=255){if(r=1104+((i=r>>>3)<<3)|0,!((a=b[266])&(i=1<>2];break t}if(i=0,(a=r>>>8)&&(i=31,r>>>0>16777215||(i=r>>>(i=(14-((g=(i=(f=(i=a)<<(a=a+1048320>>>16&8))+520192>>>16&4)|a)|(a=(i=f<>>16&2))|0)+(i<>>15)|0)+7&1|i<<1)),b[(t=n)+28>>2]=i,b[n+16>>2]=0,b[n+20>>2]=0,a=1368+(i<<2)|0,!((f=b[267])&(t=1<>>1)|0),f=b[a>>2];;){if((-8&b[(a=f)+4>>2])==(0|r))break a;if(f=i>>>29,i<<=1,!(f=b[(t=16+(a+(4&f)|0)|0)>>2]))break}b[t>>2]=n;break f}b[266]=i|a,i=r}b[i+12>>2]=n,b[r+8>>2]=n,b[n+12>>2]=r,b[n+8>>2]=i;break i}b[a>>2]=n,b[267]=f|t}b[n+24>>2]=a,b[n+12>>2]=n,b[n+8>>2]=n;break i}r=b[a+8>>2],b[r+12>>2]=n,b[a+8>>2]=n,b[n+24>>2]=0,b[n+12>>2]=a,b[n+8>>2]=r}r=_+8|0;break A}e:{r=b[a+28>>2];i:{if((0|a)!=b[(i=1368+(r<<2)|0)>>2]){if(b[_+(b[_+16>>2]==(0|a)?16:20)>>2]=f,f)break i;break r}if(b[i>>2]=f,!f)break e}if(b[f+24>>2]=_,(r=b[a+16>>2])&&(b[f+16>>2]=r,b[r+24>>2]=f),!(r=b[a+20>>2]))break r;b[f+20>>2]=r,b[r+24>>2]=f;break r}R=hf(r)&R,b[267]=R}r:if(g>>>0<=15)r=t+g|0,b[a+4>>2]=3|r,r=r+a|0,b[r+4>>2]=1|b[r+4>>2];else{b[v+4>>2]=1|g,b[a+4>>2]=3|t,b[g+v>>2]=g,n=v;e:{i:{a:{f:{if(g>>>0<=255){if(r=1104+((i=g>>>3)<<3)|0,!((f=b[266])&(i=1<>2];break a}if(!(i=g>>>8))break i;if(r=31,g>>>0>16777215)break e;r=g>>>(r=(14-((t=(r=(f=(r=i)<<(i=i+1048320>>>16&8))+520192>>>16&4)|i)|(i=(r=f<>>16&2))|0)+(r<>>15)|0)+7&1|r<<1;break e}b[266]=i|f,i=r}b[i+12>>2]=v,b[r+8>>2]=v,b[v+12>>2]=r,b[v+8>>2]=i;break r}r=0}b[n+28>>2]=r,b[v+16>>2]=0,b[v+20>>2]=0,i=1368+(r<<2)|0;e:{if((f=1<>>1)|0),t=b[i>>2];;){if((-8&b[(i=t)+4>>2])==(0|g))break e;if(f=r>>>29,r<<=1,!(t=b[(f=16+(i+(4&f)|0)|0)>>2]))break}b[f>>2]=v}else b[i>>2]=v,b[267]=f|R;b[v+24>>2]=i,b[v+12>>2]=v,b[v+8>>2]=v;break r}r=b[i+8>>2],b[r+12>>2]=v,b[i+8>>2]=v,b[v+24>>2]=0,b[v+12>>2]=i,b[v+8>>2]=r}r=a+8|0}return N=e+16|0,r}function q(r){var e=0,i=0,a=0,f=0,n=0,t=0,C=0,g=0,v=0;A:{r:if(r){n=(a=r+-8|0)+(r=-8&(e=b[r+-4>>2]))|0;e:{i:if(!(1&e)){if(!(3&e))break r;if((a=a-(e=b[a>>2])|0)>>>0>>0>255)break t;if((0|(i=b[a+12>>2]))==(0|(f=b[a+8>>2])))break n;if(b[i+8>>2]=f,b[f+12>>2]=i,a>>>0>>0)break e;break r}if(3!=(3&(e=b[n+4>>2])))break i;return b[n+4>>2]=-2&e,b[268]=r,b[r+a>>2]=r,void(b[a+4>>2]=1|r)}if(t=b[a+24>>2],(0|(e=b[a+12>>2]))==(0|a))break f;if(i=b[a+8>>2],b[i+12>>2]=e,b[e+8>>2]=i,t)break a;break i}if(g=1064,v=b[266]&hf(e>>>3),b[g>>2]=v,a>>>0>>0)break e;break r}if((f=b[(i=a+20|0)>>2])||(f=b[(i=a+16|0)>>2])){for(;C=i,(f=b[(i=(e=f)+20|0)>>2])||(i=e+16|0,f=b[e+16>>2]););if(b[C>>2]=0,!t)break i}else if(e=0,!t)break i}a:{i=b[a+28>>2];f:{if((0|a)!=b[(f=1368+(i<<2)|0)>>2]){if(b[t+(b[t+16>>2]==(0|a)?16:20)>>2]=e,e)break f;break i}if(b[f>>2]=e,!e)break a}if(b[e+24>>2]=t,(i=b[a+16>>2])&&(b[e+16>>2]=i,b[i+24>>2]=e),!(i=b[a+20>>2]))break i;if(b[e+20>>2]=i,b[i+24>>2]=e,a>>>0>>0)break e;break r}g=1068,v=b[267]&hf(i),b[g>>2]=v}if(a>>>0>=n>>>0)break r}if(1&(e=b[n+4>>2])){e:{i:{a:{f:{n:{t:{b:{o:{if(!(2&e)){if((0|n)==b[272])break o;if((0|n)==b[271])break b;if(r=(-8&e)+r|0,e>>>0>255)break t;if((0|(i=b[n+12>>2]))==(0|(f=b[n+8>>2])))break n;b[i+8>>2]=f,b[f+12>>2]=i;break i}b[n+4>>2]=-2&e,b[r+a>>2]=r,b[a+4>>2]=1|r;break e}if(b[272]=a,r=b[269]+r|0,b[269]=r,b[a+4>>2]=1|r,b[271]!=(0|a))break r;return b[268]=0,void(b[271]=0)}return b[271]=a,r=b[268]+r|0,b[268]=r,b[a+4>>2]=1|r,void(b[r+a>>2]=r)}if(t=b[n+24>>2],(0|n)==(0|(e=b[n+12>>2])))break f;if(i=b[n+8>>2],b[i+12>>2]=e,b[e+8>>2]=i,t)break a;break i}g=1064,v=b[266]&hf(e>>>3),b[g>>2]=v;break i}if((f=b[(i=n+20|0)>>2])||(f=b[(i=n+16|0)>>2])){for(;C=i,(f=b[(i=(e=f)+20|0)>>2])||(i=e+16|0,f=b[e+16>>2]););if(b[C>>2]=0,!t)break i}else if(e=0,!t)break i}a:{i=b[n+28>>2];f:{if(b[(f=1368+(i<<2)|0)>>2]!=(0|n)){if(b[t+((0|n)==b[t+16>>2]?16:20)>>2]=e,e)break f;break i}if(b[f>>2]=e,!e)break a}if(b[e+24>>2]=t,(i=b[n+16>>2])&&(b[e+16>>2]=i,b[i+24>>2]=e),!(i=b[n+20>>2]))break i;b[e+20>>2]=i,b[i+24>>2]=e;break i}g=1068,v=b[267]&hf(i),b[g>>2]=v}if(b[r+a>>2]=r,b[a+4>>2]=1|r,b[271]==(0|a))return void(b[268]=r)}e:{i:{a:{f:{n:{t:{if(r>>>0<=255){if(r=1104+((e=r>>>3)<<3)|0,!((i=b[266])&(e=1<>2];break n}if(b[a+16>>2]=0,b[a+20>>2]=0,i=0,(e=r>>>8)&&(i=31,r>>>0>16777215||(i=r>>>(e=(14-((n=(e=(f=e<<(i=e+1048320>>>16&8))+520192>>>16&4)|i)|(i=(e=f<>>16&2))|0)+(e<>>15)|0)+7&1|e<<1)),b[(C=a+28|0)>>2]=i,e=1368+(i<<2)|0,!((f=b[267])&(C=1<>>1)|0),e=b[e>>2];;){if(f=e,(-8&b[e+4>>2])==(0|r))break i;if(e=i>>>29,i<<=1,!(e=b[(C=16+(f+(4&e)|0)|0)>>2]))break}b[C>>2]=a,b[a+24>>2]=f;break a}b[266]=e|i,i=r}return b[i+12>>2]=a,b[r+8>>2]=a,b[a+12>>2]=r,void(b[a+8>>2]=i)}b[e>>2]=a,b[267]=f|C,b[a+24>>2]=e}b[a+12>>2]=a,b[a+8>>2]=a;break e}r=b[f+8>>2],b[r+12>>2]=a,b[f+8>>2]=a,b[a+24>>2]=0,b[a+12>>2]=f,b[a+8>>2]=r}if(r=b[274]+-1|0,b[274]=r,!r)break A}}return}for(a=1520;a=(r=b[a>>2])+8|0,r;);b[274]=-1}function $(r){var e;return b[(e=N-16|0)+12>>2]=r,b[e+8>>2]=2,b[b[e+12>>2]>>2]}function AA(r){var e,i=0,a=0;for(N=e=N-16|0,b[e+12>>2]=r,b[e+12>>2]||(b[e+12>>2]=1);r=K(b[e+12>>2]),b[e+8>>2]=r,!r&&(i=e,a=$(1576),b[i+4>>2]=a,b[e+4>>2]);)BA[b[e+4>>2]]();return N=e+16|0,b[e+8>>2]}function rA(r){var e;N=e=N-16|0,b[e+12>>2]=r,q(b[e+12>>2]),N=e+16|0}function eA(r){r|=0,b[12+(N-16|0)>>2]=r}function iA(r){var e;return r|=0,N=e=N-16|0,b[e+12>>2]=r,function(r){var e;N=e=N-16|0,b[e+12>>2]=r,b[12+(N-16|0)>>2]=b[e+12>>2],N=e+16|0}(r=b[e+12>>2]),N=e+16|0,0|r}function aA(r){var e;return r|=0,N=e=N-16|0,b[e+12>>2]=r,iA(r=b[e+12>>2]),N=e+16|0,0|r}function fA(r,e,i){var a,n=0,t=0;return N=a=N-16|0,b[a+8>>2]=r,b[a+4>>2]=e,f[a+3|0]=i,1&f[a+3|0]?(n=a,t=!function(r,e){var i=0,a=0;A:if(!(!(i=C[0|r])|(0|(a=C[0|e]))!=(0|i)))for(r=r+1|0,e=e+1|0;;){if(a=C[0|e],!(i=C[0|r]))break A;if(r=r+1|0,e=e+1|0,(0|i)!=(0|a))break}return i-a|0}(nA(b[a+8>>2]),nA(b[a+4>>2])),f[n+15|0]=t):f[a+15|0]=b[a+8>>2]==b[a+4>>2],N=a+16|0,1&f[a+15|0]}function nA(r){var e;return b[(e=N-16|0)+12>>2]=r,b[b[e+12>>2]+4>>2]}function tA(r,e,i,a){var n;b[(n=N-16|0)+12>>2]=r,b[n+8>>2]=e,b[n+4>>2]=i,b[n>>2]=a,b[b[n+8>>2]+16>>2]?b[b[n+8>>2]+16>>2]!=b[n+4>>2]?(r=b[n+8>>2],b[r+36>>2]=b[r+36>>2]+1,b[b[n+8>>2]+24>>2]=2,f[b[n+8>>2]+54|0]=1):2==b[b[n+8>>2]+24>>2]&&(b[b[n+8>>2]+24>>2]=b[n>>2]):(b[b[n+8>>2]+16>>2]=b[n+4>>2],b[b[n+8>>2]+24>>2]=b[n>>2],b[b[n+8>>2]+36>>2]=1)}function bA(r,e,i,a){var f,n;N=f=N-32|0,b[f+28>>2]=r,b[f+24>>2]=e,b[f+20>>2]=i,b[f+16>>2]=a,r=b[f+28>>2],b[f+12>>2]=0,b[f+20>>2]&&(b[f+12>>2]=b[r+4>>2]>>8,1&b[r+4>>2]&&(b[f+8>>2]=b[b[f+20>>2]>>2],b[f+12>>2]=b[b[f+8>>2]+b[f+12>>2]>>2])),i=e=b[r>>2],a=b[f+24>>2],n=b[f+20>>2]+b[f+12>>2]|0,r=2&b[r+4>>2]?b[f+16>>2]:2,BA[b[b[e>>2]+28>>2]](i,a,n,r),N=f+32|0}function oA(r,e,i,a,n){var t;b[(t=N-32|0)+28>>2]=r,b[t+24>>2]=e,b[t+20>>2]=i,b[t+16>>2]=a,b[t+12>>2]=n,f[b[t+24>>2]+53|0]=1,b[t+16>>2]==b[b[t+24>>2]+4>>2]&&(f[b[t+24>>2]+52|0]=1,b[b[t+24>>2]+16>>2]?b[b[t+24>>2]+16>>2]!=b[t+20>>2]?(r=b[t+24>>2],b[r+36>>2]=b[r+36>>2]+1,f[b[t+24>>2]+54|0]=1):(2==b[b[t+24>>2]+24>>2]&&(b[b[t+24>>2]+24>>2]=b[t+12>>2]),1!=b[b[t+24>>2]+48>>2]|1!=b[b[t+24>>2]+24>>2]||(f[b[t+24>>2]+54|0]=1)):(b[b[t+24>>2]+16>>2]=b[t+20>>2],b[b[t+24>>2]+24>>2]=b[t+12>>2],b[b[t+24>>2]+36>>2]=1,1!=b[b[t+24>>2]+48>>2]|1!=b[b[t+24>>2]+24>>2]||(f[b[t+24>>2]+54|0]=1)))}function kA(r,e,i,a){var f;b[(f=N-16|0)+12>>2]=r,b[f+8>>2]=e,b[f+4>>2]=i,b[f>>2]=a,b[f+4>>2]==b[b[f+8>>2]+4>>2]&&1!=b[b[f+8>>2]+28>>2]&&(b[b[f+8>>2]+28>>2]=b[f>>2])}function cA(r,e,i,a,n,t){var C;N=C=N-32|0,b[C+28>>2]=r,b[C+24>>2]=e,b[C+20>>2]=i,b[C+16>>2]=a,b[C+12>>2]=n,f[C+11|0]=t,r=b[C+28>>2],b[C+4>>2]=b[r+4>>2]>>8,1&b[r+4>>2]&&(b[C>>2]=b[b[C+16>>2]>>2],b[C+4>>2]=b[b[C>>2]+b[C+4>>2]>>2]),i=e=b[r>>2],a=b[C+24>>2],n=b[C+20>>2],t=b[C+16>>2]+b[C+4>>2]|0,r=2&b[r+4>>2]?b[C+12>>2]:2,BA[b[b[e>>2]+20>>2]](i,a,n,t,r,1&f[C+11|0]),N=C+32|0}function uA(r,e,i,a,n){var t;N=t=N-32|0,b[t+28>>2]=r,b[t+24>>2]=e,b[t+20>>2]=i,b[t+16>>2]=a,f[t+15|0]=n,r=b[t+28>>2],b[t+8>>2]=b[r+4>>2]>>8,1&b[r+4>>2]&&(b[t+4>>2]=b[b[t+20>>2]>>2],b[t+8>>2]=b[b[t+4>>2]+b[t+8>>2]>>2]),i=e=b[r>>2],a=b[t+24>>2],n=b[t+20>>2]+b[t+8>>2]|0,r=2&b[r+4>>2]?b[t+16>>2]:2,BA[b[b[e>>2]+24>>2]](i,a,n,r,1&f[t+15|0]),N=t+32|0}function lA(r,e){b[r>>2]=5808,b[r+4>>2]=b[e>>2]}function sA(r){return 0|(r|=0)}function dA(r){D()}function vA(r,e){lA(r,e),b[r>>2]=5836}function CA(r,e){return b[395]=b[395]+1,0|BA[b[790]](r,e)}function gA(r){r&&(b[396]=b[396]+1,BA[b[791]](r))}function _A(r,e,i,a){var f,t,C=B(0),g=B(0),d=B(0),_=B(0),m=B(0),h=0,G=0,y=B(0),Q=B(0),p=0,D=B(0),w=B(0),Z=0,Y=0,W=0,F=0,E=B(0),j=0;N=f=N-32|0,t=b[r>>2],b[r>>2]=t+1;A:{r:{e:{i:{a:{f:{n:{t:{b:{o:{k:{c:{u:{l:{s:{C:{g:{d:{v:{_:{R:{B:{m:{h:{if(1==(0|(h=a-i|0))){if(Q=v[r+48>>2],C=v[r+32>>2],i=b[e+12>>2]+R(i,36)|0,g=(g=v[i+8>>2])>2],(g=B(B(B((Q=B(0))break h;e=0;break m}if(Y=function(r,e,i,a){var f,n=0,t=0,C=0,g=0,d=0,_=0,m=0,h=0,G=0,y=B(0),Q=0,p=0,D=B(0),w=B(0),Z=B(0),Y=0,W=0,F=0,E=0,j=0,BA=0,Be=0,ui=0;if(b[(t=m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b[f+36>>2],n=b[F>>2]+E|0,b[n>>2]=b[f+32>>2],b[n+4>>2]=d,b[n+32>>2]=p,d=b[(g=f+56|0)+4>>2],b[(C=n+24|0)>>2]=b[g>>2],b[C+4>>2]=d,g=b[Q+4>>2],b[(d=n+16|0)>>2]=b[Q>>2],b[d+4>>2]=g,g=b[_+4>>2],b[(n=n+8|0)>>2]=b[_>>2],b[n+4>>2]=g,t=t+1|0),h=h+36|0,a=a+-1|0;);return(0|t)<((-1^(r=(0|m)/3|0))+i|0)&&(0|t)>(r+e|0)||(t=(m>>1)+e|0),t}(e,i,a,function(r,e,i){var a,f=0,n=B(0),t=B(0),C=B(0),g=B(0),d=0,_=B(0),m=B(0),h=B(0),G=B(0);a=i-e|0;G:{y:{if((0|i)>(0|e)){for(f=24+(b[r+12>>2]+R(e,36)|0)|0,d=a;n=B(n+B(B(v[f+-4>>2]+v[f+-20>>2])*B(.5))),t=B(t+B(B(v[f+-8>>2]+v[f+-24>>2])*B(.5))),C=B(C+B(B(v[f>>2]+v[f+-16>>2])*B(.5))),f=f+36|0,d=d+-1|0;);if(_=B(0|a),g=B(0),(0|i)<=(0|e))break y;for(m=B(B(1)/_),h=B(m*C),G=B(m*n),m=B(m*t),d=i-e|0,f=24+(b[r+12>>2]+R(e,36)|0)|0,C=B(0),n=B(0),t=B(0);g=n,n=B(B(B(v[f+-4>>2]+v[f+-20>>2])*B(.5))-G),n=B(g+B(n*n)),g=t,t=B(B(B(v[f+-8>>2]+v[f+-24>>2])*B(.5))-m),t=B(g+B(t*t)),g=C,C=B(B(B(v[f>>2]+v[f+-16>>2])*B(.5))-h),C=B(g+B(C*C)),f=f+36|0,d=d+-1|0;);break G}_=B(0|a),g=B(0)}t=g,n=B(0),C=B(0)}return _=B(B(1)/B(_+B(-1))),n=B(_*n),C=B(_*C),(t=B(_*t))>2]=-8388609,b[f+16>>2]=-8388609,b[f+20>>2]=-8388609,b[f+8>>2]=2139095039,b[f>>2]=2139095039,b[f+4>>2]=2139095039,(0|a)<=(0|i))break B;for(Z=f+16|0,G=16+(b[e+12>>2]+R(i,36)|0)|0,C=B(34028234663852886e22),g=B(-34028234663852886e22),j=f+20|0,m=B(-34028234663852886e22),d=B(-34028234663852886e22),Q=B(34028234663852886e22),y=B(34028234663852886e22);y=y>(_=v[(p=G+-16|0)>>2])?_:y,v[f>>2]=y,F=Q>v[G+-12>>2]?p:f,Q=v[F+4>>2],b[f+4>>2]=b[F+4>>2],p=C>v[G+-8>>2]?p:f,C=v[p+8>>2],b[f+8>>2]=b[p+8>>2],d=d<(_=v[G>>2])?_:d,v[Z>>2]=d,p=m>2]?G:Z,m=v[p+4>>2],b[j>>2]=b[p+4>>2],p=g>2]?G:Z,g=v[p+8>>2],b[W>>2]=b[p+8>>2],G=G+36|0,h=h+-1|0;);break R}e=~~g>>>0}if(_=v[i>>2],m=v[i+4>>2],a=b[r+16>>2]+(t<<4)|0,n[a+4>>1]=e,d=v[r+44>>2],m=m<(g=v[r+28>>2])?g:m,w=v[r+60>>2],(m=B(B(B((d=B(0))break _;e=0;break v}C=B(34028234663852886e22),g=B(-34028234663852886e22),m=B(-34028234663852886e22),d=B(-34028234663852886e22),Q=B(34028234663852886e22),y=B(34028234663852886e22)}if(G=(p=t<<4)+b[(Z=r+16|0)>>2]|0,w=v[r+56>>2],D=v[r+40>>2],_=v[r+24>>2],(d=B(B(w*B((D<(d=d<_?_:d)?D:d)-_))+B(.5)))=B(0))break d;h=0;break g}e=~~m>>>0}if(n[a+2>>1]=e,y=v[r+40>>2],_=_<(m=v[r+24>>2])?m:_,E=v[r+56>>2],(_=B(B(B((y<_?y:_)-m)*E)+B(.5)))=B(0))break C;e=0;break s}h=~~d>>>0}if(n[G+6>>1]=h,(d=B(B(B((D<(d=y<_?_:y)?D:d)-_)*w)+B(.5)))=B(0))break l;h=0;break u}e=~~_>>>0}if(n[a>>1]=e,_=v[i+24>>2],(C=B(B(D*B((Q<(_=_=B(0))break c;e=0;break k}h=~~d>>>0}if(n[G>>1]=h,D=v[r- -64>>2],y=v[r+48>>2],d=v[r+32>>2],(g=B(B(D*B((y<(g=g=B(0))break o;h=0;break b}e=~~C>>>0}if(C=v[i+16>>2],Q=v[i+20>>2],n[a+10>>1]=e,(g=B(B(w*B((d<(Q=Q=B(0))break t;e=0;break n}h=~~g>>>0}if(n[G+10>>1]=h,w=v[r+60>>2],_=v[r+44>>2],g=v[r+28>>2],(m=B(B(w*B((_<(m=m=B(0))break f;h=0;break a}e=~~g>>>0}if(n[a+8>>1]=e,(C=B(B(E*B((y<(C=C=B(0))break i;e=0;break e}h=~~m>>>0}if(n[G+8>>1]=h,(C=B(B(B((y<(C=C=B(0))break r;h=0;break A}e=~~C>>>0}return n[a+6>>1]=e,b[a+12>>2]=b[i+32>>2],void(N=f+32|0)}h=~~C>>>0}n[G+4>>1]=h,h=0,(C=B(B(B((_<(C=Q=B(0)&&(h=~~C>>>0),n[G+2>>1]=h,_A(r,e,i,Y),_A(r,e,Y,a),b[12+(p+b[Z>>2]|0)>>2]=t-b[r>>2],N=f+32|0}function mA(r,e,i){var a=B(0),n=B(0),t=B(0),d=B(0),_=0,R=B(0),m=0,h=0,G=0,y=0,Q=0,p=0,D=0,w=0,Z=0,Y=0,W=0,F=0,E=0,N=0,j=B(0),BA=B(0),Be=0,ui=0,gi=0,Ri=0,wi=0;j=v[r- -64>>2],t=v[r+48>>2],a=v[r+32>>2],n=v[e+24>>2],D=0,(n=B(B(j*B((t<(n=n=B(0)&&(D=~~n>>>0),BA=v[r+60>>2],R=v[r+44>>2],n=v[r+28>>2],d=v[e+20>>2],w=0,(d=B(B(BA*B((R<(d=d=B(0)&&(w=~~d>>>0),d=v[e+8>>2],Q=0,(a=B(B(B((t<(d=d=B(0)&&(Q=~~a>>>0),a=v[e+4>>2],Z=0,(a=B(B(B((R<(a=a=B(0)&&(Z=~~a>>>0),R=v[r+56>>2],n=v[r+40>>2],a=v[r+24>>2],t=v[e+16>>2],Y=0,(t=B(B(R*B((n<(t=t=B(0)&&(Y=~~t>>>0),t=v[e>>2];A:{r:{if(!((a=B(B(B((n<(t=t=B(0))){if((0|(h=b[r>>2]))>=1)break r;break A}if(wi=~~a>>>0,(0|(h=b[r>>2]))<1)break A}for(Be=r+16|0,G=i+12|0,r=0;;){r:{e:{if(e=(ui=r<<4)+b[Be>>2]|0,g[e+4>>1]<=D>>>0&&!(g[e>>1]>Y>>>0|g[e+6>>1]>>0|g[e+8>>1]>>0|g[e+2>>1]>w>>>0)){if(gi=(0|(W=b[e+12>>2]))>-1,e=(m=g[e+10>>1])>>>0>=Q>>>0,!((0|W)<0|m>>>0>>0)){if((0|(_=b[(y=i+4|0)>>2]))==b[(Ri=i+8|0)>>2]&&!((0|_)>=(0|(p=_?_<<1:1)))){i:{a:{f:{n:{if(p){if(F=CA(p<<2,16),m=b[G>>2],(0|(_=b[y>>2]))<1)break n;break f}if(F=0,m=b[G>>2],(0|_)>=1)break f}if(!m)break i;break a}for(E=F,N=m;b[E>>2]=b[N>>2],E=E+4|0,N=N+4|0,_=_+-1|0;);}C[i+16|0]&&gA(m),b[G>>2]=0,_=b[y>>2]}b[G>>2]=F,f[i+16|0]=1,b[Ri>>2]=p}if(b[b[G>>2]+(_<<2)>>2]=W,b[y>>2]=b[y>>2]+1,!e)break e;break r}}else gi=b[e+12>>2]>-1,e=0;if(e)break r}if(!gi){if((0|(r=r-b[12+(b[Be>>2]+ui|0)>>2]|0))<(0|h))continue;break A}}if(!((0|(r=r+1|0))<(0|h)))break}}}function RA(r,e,i,a,n){var t;N=t=N-112|0,!b[r>>2]|!b[i>>2]||(function(r,e,i){var a=B(0),f=B(0),n=B(0),t=B(0),C=B(0),g=B(0),d=B(0),_=B(0),R=B(0),h=B(0),G=B(0),y=B(0),Q=B(0),p=B(0),D=B(0),w=B(0),Z=B(0),Y=B(0),W=B(0),F=B(0),E=B(0),N=B(0),j=B(0),BA=B(0),Be=B(0),ui=B(0),gi=B(0),Ri=B(0),wi=B(0),Xi=B(0);p=v[e+52>>2],D=v[e+56>>2],w=v[i+52>>2],Z=v[i+56>>2],C=v[e+20>>2],g=v[e+36>>2],a=v[i+20>>2],f=v[i+36>>2],n=v[i+24>>2],d=v[e+24>>2],Y=v[i+40>>2],_=v[e+40>>2],Xi=v[e+48>>2],W=v[i+48>>2],R=v[e+4>>2],F=v[i+4>>2],E=v[i+8>>2],h=v[e+8>>2],t=v[i+32>>2],G=v[e+32>>2],N=v[i>>2],y=v[e>>2],j=v[i+16>>2],Q=v[e+16>>2],b[r+60>>2]=0,b[r+44>>2]=0,b[r+28>>2]=0,b[r+12>>2]=0,BA=B(B(B(y*N)+B(Q*j))+B(G*t)),v[r+16>>2]=BA,Be=B(B(B(h*E)+B(d*n))+B(_*Y)),v[r+56>>2]=Be,ui=B(B(B(h*F)+B(d*a))+B(_*f)),v[r+52>>2]=ui,gi=B(B(B(h*N)+B(d*j))+B(_*t)),v[r+48>>2]=gi,Ri=B(B(B(R*E)+B(C*n))+B(g*Y)),v[r+40>>2]=Ri,wi=B(B(B(R*F)+B(C*a))+B(g*f)),v[r+36>>2]=wi,t=B(B(B(R*N)+B(C*j))+B(g*t)),v[r+32>>2]=t,n=B(B(B(y*E)+B(Q*n))+B(G*Y)),v[r+24>>2]=n,f=B(B(B(y*F)+B(Q*a))+B(G*f)),v[r+20>>2]=f,v[r+64>>2]=B(m(BA))+B(9.999999974752427e-7),a=B(-Xi),v[r+8>>2]=B(B(B(h*a)-B(d*p))-B(_*D))+B(B(B(h*W)+B(d*w))+B(_*Z)),v[r+4>>2]=B(B(B(R*a)-B(C*p))-B(g*D))+B(B(B(R*W)+B(C*w))+B(g*Z)),v[r>>2]=B(B(B(y*a)-B(Q*p))-B(G*D))+B(B(B(y*W)+B(Q*w))+B(G*Z)),v[r+104>>2]=B(m(Be))+B(9.999999974752427e-7),v[r+100>>2]=B(m(ui))+B(9.999999974752427e-7),v[r+96>>2]=B(m(gi))+B(9.999999974752427e-7),v[r+88>>2]=B(m(Ri))+B(9.999999974752427e-7),v[r+84>>2]=B(m(wi))+B(9.999999974752427e-7),v[r+80>>2]=B(m(t))+B(9.999999974752427e-7),v[r+72>>2]=B(m(n))+B(9.999999974752427e-7),v[r+68>>2]=B(m(f))+B(9.999999974752427e-7)}(t,e,a),function A(r,e,i,a,n,t,d){var _,R,h=0,G=0,y=0,Q=0,p=0,D=0,w=B(0),Z=B(0),Y=B(0),W=B(0),F=B(0),E=B(0),j=0;N=_=N+-64|0,h=(D=n<<4)+b[(Q=r+16|0)>>2]|0,G=g[h>>1],p=g[h+2>>1],y=g[h+4>>1],b[_+44>>2]=0,w=v[r- -64>>2],Z=v[r+32>>2],v[_+40>>2]=B(B(y>>>0)/w)+Z,Y=v[r+60>>2],W=v[r+28>>2],v[_+36>>2]=B(B(p>>>0)/Y)+W,F=v[r+56>>2],E=v[r+24>>2],v[_+32>>2]=B(B(G>>>0)/F)+E,G=g[h+6>>1],p=g[h+8>>1],h=g[h+10>>1],b[_+60>>2]=0,v[_+56>>2]=Z+B(B(h>>>0)/w),v[_+52>>2]=W+B(B(p>>>0)/Y),v[_+48>>2]=E+B(B(G>>>0)/F),h=(G=t<<4)+b[(p=e+16|0)>>2]|0,y=g[h>>1],j=g[h+2>>1],R=g[h+4>>1],b[_+12>>2]=0,w=v[e- -64>>2],Z=v[e+32>>2],v[_+8>>2]=B(B(R>>>0)/w)+Z,Y=v[e+60>>2],W=v[e+28>>2],v[_+4>>2]=B(B(j>>>0)/Y)+W,F=v[e+56>>2],E=v[e+24>>2],v[_>>2]=B(B(y>>>0)/F)+E,y=g[h+6>>1],j=g[h+8>>1],h=g[h+10>>1],b[_+28>>2]=0,v[_+24>>2]=Z+B(B(h>>>0)/w),v[_+20>>2]=W+B(B(j>>>0)/Y),v[_+16>>2]=E+B(B(y>>>0)/F);A:{r:{e:{i:{a:{f:{n:{t:{b:{if(function(r,e,i,a){var f=B(0),n=B(0),t=B(0),b=B(0),C=B(0),g=B(0),d=B(0),_=B(0),R=B(0),h=B(0),G=B(0),y=B(0),Q=B(0),p=B(0),D=B(0),w=B(0),Z=B(0),Y=B(0),W=B(0),F=B(0),E=B(0),N=B(0),j=B(0),BA=B(0),Be=B(0),ui=B(0),gi=B(0);o:{k:{if(b=v[e+16>>2],n=B(B(b+v[e>>2])*B(.5)),W=v[i+16>>2],C=v[e+20>>2],f=B(B(C+v[e+4>>2])*B(.5)),F=v[i+20>>2],g=v[e+24>>2],t=B(B(g+v[e+8>>2])*B(.5)),E=v[i+24>>2],d=v[r+16>>2],_=B(B(d+v[r>>2])*B(.5)),h=B(B(v[i>>2]+B(B(B(n*W)+B(f*F))+B(t*E)))-_),d=B(d-_),b=B(b-n),y=v[i+64>>2],C=B(C-f),Q=v[i+68>>2],g=B(g-t),p=v[i+72>>2],!(B(m(h))>B(d+B(B(B(b*y)+B(C*Q))+B(g*p)))||(N=v[i+32>>2],j=v[i+36>>2],BA=v[i+40>>2],R=v[r+20>>2],G=B(B(R+v[r+4>>2])*B(.5)),_=B(B(v[i+4>>2]+B(B(B(n*N)+B(f*j))+B(t*BA)))-G),R=B(R-G),G=v[i+80>>2],D=v[i+84>>2],w=v[i+88>>2],B(m(_))>B(R+B(B(B(b*G)+B(C*D))+B(g*w)))||(Be=v[i+48>>2],ui=v[i+52>>2],gi=v[i+56>>2],n=B(v[i+8>>2]+B(B(B(n*Be)+B(f*ui))+B(t*gi))),f=v[r+24>>2],t=B(B(f+v[r+8>>2])*B(.5)),n=B(n-t),f=B(f-t),t=v[i+96>>2],Z=v[i+100>>2],Y=v[i+104>>2],B(m(n))>B(f+B(B(B(b*t)+B(C*Z))+B(g*Y)))|B(m(B(B(B(h*W)+B(_*N))+B(n*Be))))>B(b+B(B(B(d*y)+B(R*G))+B(f*t)))|B(m(B(B(B(h*F)+B(_*j))+B(n*ui))))>B(C+B(B(B(d*Q)+B(R*D))+B(f*Z))))))){if(i=1^(r=B(m(B(B(B(h*E)+B(_*BA))+B(n*gi))))>B(g+B(B(B(d*p)+B(R*w))+B(f*Y)))),!a|r)break o;if(!(!!(B(m(B(B(n*j)-B(_*ui))))>B(B(B(B(R*Z)+B(f*D))+B(b*p))+B(g*y)))|B(m(B(B(n*N)-B(_*Be))))>B(B(B(B(R*t)+B(f*G))+B(C*p))+B(g*Q))|B(m(B(B(n*BA)-B(_*gi))))>B(B(B(B(R*Y)+B(f*w))+B(b*Q))+B(C*y))|B(m(B(B(h*Be)-B(n*W))))>B(B(B(B(d*t)+B(f*y))+B(C*w))+B(g*D))||B(m(B(B(h*ui)-B(n*F))))>B(B(B(B(d*Z)+B(f*Q))+B(b*w))+B(g*G))|B(m(B(B(h*gi)-B(n*E))))>B(B(B(B(d*Y)+B(f*p))+B(b*D))+B(C*G))|B(m(B(B(_*W)-B(h*N))))>B(B(B(B(d*G)+B(R*y))+B(C*Y))+B(g*Z))||B(m(B(B(_*F)-B(h*j))))>B(B(B(B(d*D)+B(R*Q))+B(b*Y))+B(g*t))))break k}i=0;break o}if(i=0,!(B(m(B(B(_*E)-B(h*BA))))>B(B(B(B(d*w)+B(R*p))+B(b*Z))+B(C*t))))return 1}return i}(_+32|0,_,a,d)){if(h=b[12+(b[p>>2]+G|0)>>2],(0|(D=b[12+(D+b[Q>>2]|0)>>2]))>=0){if((0|h)<0)break b;if((0|(a=b[i+4>>2]))!=b[i+8>>2])break r;if((0|a)>=(0|(Q=a?a<<1:1)))break r;if(!Q)break n;if(n=CA(Q<<3,16),t=b[i+12>>2],(0|(a=b[i+4>>2]))<1)break f;break a}if(d=n+1|0,(0|h)<0)break t;A(r,e,i,a,d,t,0),A(y=r,e,i,a,(0|(r=b[12+(b[r+16>>2]+(d<<4)|0)>>2]))>-1?n+2|0:d-r|0,t,0)}break A}A(r,e,i,a,n,d=t+1|0,0),A(y=r,e,i,a,n,(0|(r=b[12+(b[e+16>>2]+(d<<4)|0)>>2]))>-1?t+2|0:d-r|0,0);break A}A(r,e,i,a,d,h=t+1|0,0),t=t+2|0,A(r,e,i,a,d,(0|(G=b[12+((D=h<<4)+b[(Q=e+16|0)>>2]|0)>>2]))>-1?t:h-G|0,0),n=n+2|0,A(r,e,i,a,(0|(y=b[12+((p=d<<4)+b[(G=r+16|0)>>2]|0)>>2]))>-1?n:d-y|0,h,0),A(y=r,e,i,a,n=(0|(r=b[12+(p+b[G>>2]|0)>>2]))>-1?n:d-r|0,(0|(r=b[12+(D+b[Q>>2]|0)>>2]))>-1?t:h-r|0,0);break A}if(n=0,t=b[i+12>>2],(0|a)>=1)break a}if(!t)break e;break i}for(e=t,r=n,d=a;G=b[e+4>>2],b[r>>2]=b[e>>2],b[r+4>>2]=G,e=e+8|0,r=r+8|0,d=d+-1|0;);}C[i+16|0]&&(gA(t),a=b[i+4>>2]),b[i+12>>2]=0}f[i+16|0]=1,b[i+12>>2]=n,b[i+8>>2]=Q}return b[i+4>>2]=a+1,r=b[i+12>>2]+(a<<3)|0,b[r+4>>2]=h,b[r>>2]=D,void(N=_- -64|0)}N=_- -64|0}(r,i,n,t,0,0,1)),N=t+112|0}function GA(r,e,i,a,f,n){var t=B(0),C=B(0),g=B(0),d=B(0),_=0,R=0,m=0,h=0,G=0,y=B(0),Q=B(0),D=B(0),w=B(0),Z=B(0);BA[b[b[r>>2]+8>>2]](r,e,f,n),t=v[i+8>>2],C=v[i+4>>2],d=v[f+8>>2],e=b[f+8>>2],y=v[f+4>>2],_=b[f+4>>2],Q=v[f>>2],R=b[f>>2],D=v[n+8>>2],m=b[n+8>>2],w=v[n+4>>2],h=b[n+4>>2],Z=v[n>>2],G=b[n>>2],(g=v[i>>2])>B(0)?(l(B(g+Z)),G=o(0)):(l(B(g+Q)),R=o(0)),C>B(0)?(l(B(C+w)),h=o(0)):(l(B(C+y)),_=o(0)),t>B(0)?(l(B(t+D)),m=o(0)):(l(B(t+d)),e=o(0)),t=v[a+8>>2],C=v[a>>2],g=v[a+4>>2],d=B(BA[b[b[r>>2]+16>>2]](r)),b[f+12>>2]=0,b[(r=f+8|0)>>2]=e,b[(e=f+4|0)>>2]=_,b[f>>2]=R,b[n+12>>2]=0,b[(i=n+8|0)>>2]=m,b[(a=n+4|0)>>2]=h,b[n>>2]=G,t=B(d*B(p(B(B(B(C*C)+B(g*g))+B(t*t))))),v[f>>2]=v[f>>2]-t,v[e>>2]=v[e>>2]-t,v[r>>2]=v[r>>2]-t,v[n>>2]=t+v[n>>2],v[a>>2]=t+v[a>>2],v[i>>2]=t+v[i>>2]}function hA(r,e,i){var a,f;return r|=0,e|=0,a=0|BA[b[b[(i|=0)>>2]+40>>2]](i,r),f=0|BA[b[b[i>>2]+28>>2]](i,a),b[e>>2]=f,f&&BA[b[b[i>>2]+48>>2]](i,a),r=b[r+4>>2],b[e+8>>2]=0,b[e+4>>2]=r,5932}function yA(r,e,i){r|=0,e|=0,i|=0;var a,f=B(0),n=0,t=B(0),C=B(0),g=B(0),d=0,_=B(0),R=0,m=0,h=B(0),G=B(0),y=B(0),Q=0;N=a=N-48|0;A:{r:{e:{i:{a:{f:{n:{t:{b:{o:{k:{c:{u:{l:{s:if(n=b[e+4>>2],!(n>>>0>13)){switch(n-1|0){default:b[r+12>>2]=0,f=v[e+32>>2],v[r>>2]=v[i>>2]>=B(0)?f:B(-f),f=v[e+40>>2],v[r+8>>2]=v[i+8>>2]>=B(0)?f:B(-f),f=v[e+36>>2],v[r+4>>2]=v[i+4>>2]>=B(0)?f:B(-f);break A;case 12:break o;case 9:break k;case 7:break c;case 4:break u;case 3:break l;case 1:case 2:case 5:case 6:case 8:case 10:case 11:break s;case 0:}b[r+12>>2]=0,f=v[i>>2],C=v[i+4>>2],t=v[i+8>>2],g=B(B(B(f*v[e+76>>2])+B(C*v[e+80>>2]))+B(t*v[e+84>>2])),_=B(B(B(f*v[e+92>>2])+B(C*v[e+96>>2]))+B(t*v[e+100>>2])),e=(((f=B(B(B(f*v[(i=e+60|0)>>2])+B(C*v[e- -64>>2]))+B(t*v[e+68>>2])))>2]=b[e+8>>2],i=b[e+4>>2],b[r>>2]=b[e>>2],b[r+4>>2]=i;break A}BA[b[b[e>>2]+68>>2]](r,e,i);break A}if(C=v[e+24>>2],t=v[e+20>>2],g=v[e+16>>2],d=b[e+108>>2],(0|(m=b[e+100>>2]))<1)break n;for(_=B(v[i+8>>2]*C),h=B(v[i+4>>2]*t),y=B(v[i>>2]*g),i=0,n=-1,f=B(-34028234663852886e22),e=d;f=(R=(G=B(B(B(y*v[e>>2])+B(h*v[e+4>>2]))+B(_*v[e+8>>2])))>f)?G:f,n=R?i:n,e=e+16|0,(0|m)!=(0|(i=i+1|0)););break r}if(C=v[e+24>>2],t=v[e+20>>2],g=v[e+16>>2],d=b[e+96>>2],(0|(m=b[e+100>>2]))<1)break f;for(_=B(v[i+8>>2]*C),h=B(v[i+4>>2]*t),y=B(v[i>>2]*g),i=0,n=-1,f=B(-34028234663852886e22),e=d;f=(R=(G=B(B(B(y*v[e>>2])+B(h*v[e+4>>2]))+B(_*v[e+8>>2])))>f)?G:f,n=R?i:n,e=e+16|0,(0|m)!=(0|(i=i+1|0)););break r}b[r>>2]=0,b[r+4>>2]=0,b[(r=r+8|0)>>2]=0,b[r+4>>2]=0;break A}if(d=e,Q=b[e+56>>2],h=v[32+(d+(e=Q<<2)|0)>>2],f=v[i>>2],C=v[i+4>>2],t=v[i+8>>2],!((g=B(B(B(f*f)+B(C*C))+B(t*t)))>2],b[(n=a+40|0)>>2]=b[d>>2],b[n+4>>2]=R,n=b[e+36>>2],b[a+32>>2]=b[e+32>>2],b[a+36>>2]=n,b[a+28>>2]=0,b[a+16>>2]=b[i>>2],f=v[i+4>>2],b[a+20>>2]=b[i+4>>2],C=v[i+8>>2],b[a+24>>2]=b[i+8>>2],i=2,2==(0|(d=b[e+56>>2])))break a;if(f=C,n=1,e=1,1!=(0|d))break i;n=0;break e}_=t,t=B(B(1)/B(p(g))),_=B(_*t),g=B(C*t),t=B(f*t)}b[a+40>>2]=0,b[a+44>>2]=0,b[a+32>>2]=0,b[a+36>>2]=0,v[e+(a+32|0)>>2]=h,f=B(-0xde0b6b000000000),e=0,i=0,n=0,d=b[a+32>>2],R=b[a+36>>2],m=b[a+40>>2],(C=B(B(B(t*v[a+32>>2])+B(g*v[a+36>>2]))+B(_*v[a+40>>2])))>B(-0xde0b6b000000000)&&(n=m,i=R,f=C,e=d),b[a+40>>2]=0,b[a+44>>2]=0,b[a+32>>2]=0,b[a+36>>2]=0,v[(a+32|0)+(Q<<2)>>2]=-h,d=b[a+32>>2],R=b[a+36>>2],m=b[a+40>>2],B(B(B(t*v[a+32>>2])+B(g*v[a+36>>2]))+B(_*v[a+40>>2]))>f&&(n=m,i=R,e=d),b[r+12>>2]=0,b[r+8>>2]=n,b[r+4>>2]=i,b[r>>2]=e;break A}n=-1;break r}n=-1;break r}n=0,e=2,i=1;break e}e=0}return C=v[(a+32|0)+(d<<2)>>2],g=v[((n<<=2)|a+32)>>2],_=v[(n|a+16)>>2],(h=B(p(B(B(_*_)+B(f*f)))))==B(0)?(v[(a|n)>>2]=g,v[(e<<=2)+a>>2]=v[e+(a+16|0)>>2]>2]=_*t,v[(e<<=2)+a>>2]=v[e+(a+16|0)>>2]>2]=t,b[r+12>>2]=0,b[r>>2]=b[a>>2],e=b[a+8>>2],b[r+4>>2]=b[a+4>>2],b[r+8>>2]=e,void(N=a+48|0)}b[r+12>>2]=0,e=d+(n<<4)|0,v[r+8>>2]=C*v[e+8>>2],v[r+4>>2]=t*v[e+4>>2],v[r>>2]=g*v[e>>2]}N=a+48|0}function QA(r){var e=0;A:{r:if(e=b[r+4>>2],!(e>>>0>13)){switch(e-2|0){case 6:break A;case 0:case 1:case 4:case 5:case 7:case 10:break r}return v[r+48>>2]}return B(BA[b[b[r>>2]+48>>2]](r))}return B(v[r+32>>2]*v[r+16>>2])}function pA(r){return 12}function DA(r){gA(r|=0)}function wA(r,e){var i;e|=0,b[(r|=0)>>2]=0,b[r+4>>2]=0,b[(i=r+8|0)>>2]=0,b[i+4>>2]=0,b[(b[e+56>>2]<<2)+r>>2]=1065353216}function WA(r,e){e=B(e)}function FA(r){return 60}function ZA(r){var e;b[r+12>>2]=-1,b[r+4>>2]=35,b[r+8>>2]=0,b[r>>2]=5988,b[r+48>>2]=1025758986,b[(e=r+24|0)>>2]=1065353216,b[e+4>>2]=0,b[r+16>>2]=1065353216,b[r+20>>2]=1065353216,b[r>>2]=6984}function YA(r,e){r|=0,e|=0;var i=B(0),a=B(0),f=B(0);i=v[e>>2],a=v[e+4>>2],f=v[e+8>>2],b[r+28>>2]=0,v[r+24>>2]=m(f),v[r+20>>2]=m(a),v[r+16>>2]=m(i)}function EA(r){var e=0,i=0,a=0,n=0,t=0,g=0,d=0;if(b[(r|=0)>>2]=7120,(i=b[(e=r+56|0)>>2])&&(C[r+60|0]&&gA(i),b[r+56>>2]=0),b[e>>2]=0,f[r+60|0]=1,b[(e=r+48|0)>>2]=0,b[e+4>>2]=0,(0|(a=b[r+28>>2]))>=1)for(g=r+36|0,i=8;d=(e=b[g>>2]+i|0)+-4|0,(t=b[(n=e+4|0)>>2])&&(C[e+8|0]&&gA(t),b[n>>2]=0),b[d>>2]=0,b[n>>2]=0,b[e>>2]=0,f[e+8|0]=1,i=i+36|0,a=a+-1|0;);return(i=b[(e=r+36|0)>>2])&&(C[r+40|0]&&gA(i),b[r+36>>2]=0),b[e>>2]=0,f[r+40|0]=1,b[(e=r+28|0)>>2]=0,b[e+4>>2]=0,(i=b[(e=r+16|0)>>2])&&(C[r+20|0]&&gA(i),b[r+16>>2]=0),b[e>>2]=0,f[r+20|0]=1,b[(e=r+8|0)>>2]=0,b[e+4>>2]=0,0|r}function NA(r){var e,i,a,f,n,t,C,g,d,_=B(0),R=B(0),m=B(0),h=0,G=0,y=0;for(e=(0|(g=b[r+28>>2]))<1,d=r+36|0,i=r+72|0,a=r+88|0,f=r+68|0,n=r+84|0,t=r- -64|0,C=r+80|0;;){A:{r:{e:{if(h>>>0<=7){switch(h-1|0){case 0:if(_=B(v[i>>2]-v[a>>2]),R=B(v[n>>2]+v[f>>2]),m=B(v[C>>2]+v[t>>2]),!e)break e;break r;case 1:if(_=B(v[a>>2]+v[i>>2]),R=B(v[f>>2]-v[n>>2]),m=B(v[C>>2]+v[t>>2]),!e)break e;break r;case 2:if(_=B(v[i>>2]-v[a>>2]),R=B(v[f>>2]-v[n>>2]),m=B(v[C>>2]+v[t>>2]),!e)break e;break r;case 3:if(_=B(v[a>>2]+v[i>>2]),R=B(v[n>>2]+v[f>>2]),m=B(v[t>>2]-v[C>>2]),!e)break e;break r;case 4:if(_=B(v[i>>2]-v[a>>2]),R=B(v[n>>2]+v[f>>2]),m=B(v[t>>2]-v[C>>2]),!e)break e;break r;case 5:if(_=B(v[a>>2]+v[i>>2]),R=B(v[f>>2]-v[n>>2]),m=B(v[t>>2]-v[C>>2]),!e)break e;break r;case 6:if(_=B(v[i>>2]-v[a>>2]),R=B(v[f>>2]-v[n>>2]),m=B(v[t>>2]-v[C>>2]),!e)break e;break r}R=B(v[n>>2]+v[f>>2]),m=B(v[C>>2]+v[t>>2]),_=B(v[a>>2]+v[i>>2])}if(e)break r}for(r=b[d>>2]+20|0,y=0,G=0;;){if(B(v[r+12>>2]+B(B(B(m*v[r>>2])+B(R*v[r+4>>2]))+B(_*v[r+8>>2])))>B(0))break A;if(r=r+36|0,!((0|(G=G+1|0))<(0|g)))break}}if(y=1,(h=h+1|0)>>>0<8)continue}break}return y}function VA(r){var e,i,a,t,_,h=0,G=B(0),y=0,Q=0,D=0,w=B(0),Z=0,Y=B(0),W=0,F=0,E=B(0),j=B(0),BA=B(0),Be=0,ui=0,gi=B(0),Ri=B(0),wi=B(0),Xi=B(0),Da=B(0),Ia=0,yf=0,Qf=0,pf=0,Df=0,wf=0,Zf=0,Yf=0,Wf=0,Ff=B(0),Ef=0,Nf=B(0),Vf=B(0),Xf=B(0),Jf=0,If=0,xf=0,Mf=0,Sf=0,Tf=0,Uf=0,jf=0,Of=0,Hf=0,zf=B(0),Pf=B(0),Lf=B(0),Kf=B(0),qf=B(0),$f=B(0),An=0,rn=0,en=0,an=0,fn=0,nn=0,tn=B(0);N=e=N-96|0,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B(E*G);i:{if((0|(D=b[(Be=r+48|0)>>2]))>=1)for(y=b[Qf>>2],F=0;;){if(E=v[y+8>>2],G=v[y>>2],w=v[y+4>>2],(+B(m(B(E-Da)))>1e-6^1?!(+B(m(B(G-BA)))>1e-6|+B(m(B(w-j)))>1e-6):0)|(+B(m(B(Da+E)))>1e-6^1?!(+B(m(B(BA+G)))>1e-6|+B(m(B(j+w)))>1e-6):0))break i;if(y=y+16|0,!((0|(F=F+1|0))<(0|D)))break}if(b[(Ia=r+52|0)>>2]==(0|D)&&!((0|D)>=(0|(ui=D?D<<1:1)))){a:{f:{if(ui){if(W=CA(ui<<4,16),(0|(D=b[Be>>2]))>=1)break f;break a}if(W=0,(0|D)<1)break a}for(y=0;Q=b[Qf>>2]+y|0,h=b[Q+4>>2],b[(Z=y+W|0)>>2]=b[Q>>2],b[Z+4>>2]=h,h=b[(Q=Q+8|0)+4>>2],b[(Z=Z+8|0)>>2]=b[Q>>2],b[Z+4>>2]=h,y=y+16|0,D=D+-1|0;);}(h=b[Qf>>2])&&(C[0|If]&&gA(h),b[Qf>>2]=0),b[Qf>>2]=W,f[0|If]=1,b[Ia>>2]=ui,D=b[Be>>2]}h=b[Qf>>2]+(D<<4)|0,b[h+12>>2]=0,v[h+8>>2]=Da,v[h+4>>2]=j,v[h>>2]=BA,b[Be>>2]=b[Be>>2]+1}i:{a:{if(Wf){if(n[Wf+2>>1]=Df,!Yf)break a;break i}if(n[e>>1]=Df,n[e+2>>1]=65535,IA(e+16|0,e+8|0,e),Yf)break i}y=b[xf>>2];continue}break}W=b[Jf>>2]}if((0|(Df=Df+1|0))<(0|W))break e;if(Tf=0,Uf=1,(0|W)<1)break A;Tf=(0|W)>0,Ef=b[r+16>>2],en=36,an=b[r+36>>2],Y=B(0),Zf=0,fn=3,pf=4,nn=8,jf=r+72|0,Of=r+68|0,Hf=r- -64|0,yf=2,tn=B(.5),gi=B(.3333333432674408),y=1;continue}if(h=R(Zf,en)+an|0,(0|(Be=b[h+4>>2]))>=(0|fn))for(y=(ui=b[h+12>>2])+pf|0,Q=(Ia=(b[ui>>2]<>2],wi=v[Of>>2],Xi=v[Hf>>2],F=2;D=(b[y>>2]<>2],Z=(b[ui+((0|F)%(0|Be)<>2]<>2],Nf=v[Ia>>2],Lf=v[D>>2],Kf=B(Nf-Lf),Vf=v[h>>2],qf=v[Z+4>>2],Da=B(Vf-qf),j=v[D+4>>2],G=B(Vf-j),BA=v[Z>>2],E=B(Nf-BA),$f=B(B(Kf*Da)-B(G*E)),Xf=v[Q>>2],w=B(Xf-Pf),Ff=B(G*w),G=B(Xf-zf),Da=B(Ff-B(G*Da)),G=B(B(G*E)-B(Kf*w)),G=B(B(p(B(B($f*$f)+B(B(Da*Da)+B(G*G)))))*tn),Ri=B(Ri+B(B(B(B(Xf+zf)+Pf)*gi)*G)),v[jf>>2]=Ri,wi=B(wi+B(B(B(qf+B(Vf+j))*gi)*G)),v[Of>>2]=wi,Xi=B(Xi+B(B(B(BA+B(Nf+Lf))*gi)*G)),v[Hf>>2]=Xi,Y=B(Y+G),y=y+pf|0,(0|Be)!=(0|(F=F+Uf|0)););if((0|(Zf=Zf+Uf|0))!=(0|W))break r;break A}y=0;continue}y=1}if(b[r+96>>2]=2139095039,G=B(B(1)/Y),j=B(G*v[(h=r- -64|0)>>2]),v[h>>2]=j,BA=B(G*v[(h=r+68|0)>>2]),v[h>>2]=BA,E=B(G*v[i>>2]),v[i>>2]=E,w=B(34028234663852886e22),Y=B(34028234663852886e22),Tf)for(y=b[r+36>>2]+20|0,h=r+96|0;(G=B(m(B(v[y+12>>2]+B(B(B(j*v[y>>2])+B(BA*v[y+4>>2]))+B(E*v[y+8>>2]))))))>2]=G,Y=G),y=y+36|0,W=W+-1|0;);if((0|(h=b[r+8>>2]))>=1)for(y=b[r+16>>2],j=B(-34028234663852886e22),F=0,Ri=B(34028234663852886e22),wi=B(-34028234663852886e22),Xi=B(-34028234663852886e22),gi=B(34028234663852886e22);j=(G=v[y+8>>2])>j?G:j,gi=G>2])>wi?G:wi,w=G>2])>Xi?G:Xi,Ri=G>2]=0,BA=B(j-gi),v[r+124>>2]=BA,E=B(wi-w),v[r+120>>2]=E,G=B(Xi-Ri),v[r+116>>2]=G,b[r+112>>2]=0,v[r+108>>2]=gi+j,v[r+104>>2]=w+wi,v[r+100>>2]=Xi+Ri,G=v[(h=(Q=G>2],Y=B(Y/B(1.7320507764816284)),v[r+80>>2]=Y,v[r+84>>2]=Y,v[r+88>>2]=Y,h=h+(r+80|0)|0,w=B(G*B(.5)),v[h>>2]=w,G=B(B(w-Y)*B(.0009765625));A:{r:{e:{for(;;){if(NA(r))break e;if(w=B(w-G),v[h>>2]=w,!((y=y+1|0)>>>0<1024))break}if(v[r+84>>2]=Y,v[r+88>>2]=Y,v[r+80>>2]=Y,F=b[(y=e+88|0)>>2])break r;break A}W=b[(yf=(h=r+80|0)+((1<<(Q=1<>2],Q=b[(h=Z=h+(Q<<2)|0)>>2],Y=B(B(v[r+96>>2]-Y)*B(.0009765625)),v[h>>2]=Y+v[h>>2],w=B(Y+v[yf>>2]),v[yf>>2]=w;e:{if(NA(r)){for(D=0;;){if(G=w,(D=D+1|0)>>>0>1023)break e;if(Q=b[Z>>2],v[Z>>2]=Y+v[Z>>2],w=B(Y+v[yf>>2]),v[yf>>2]=w,!NA(r))break}l(G),W=o(0)}b[Z>>2]=Q,b[yf>>2]=W}if(!(F=b[(y=e+88|0)>>2]))break A}C[e+92|0]&&gA(F),b[e+88>>2]=0}b[y>>2]=0,f[e+92|0]=1,b[(r=e+80|0)>>2]=0,b[r+4>>2]=0,(r=b[(h=e+68|0)>>2])&&(C[e+72|0]&&gA(r),b[e+68>>2]=0),b[h>>2]=0,f[e+72|0]=1,b[(r=e+60|0)>>2]=0,b[r+4>>2]=0,(r=b[(h=e+48|0)>>2])&&(C[e+52|0]&&gA(r),b[e+48>>2]=0),b[h>>2]=0,f[e+52|0]=1,b[(r=e+40|0)>>2]=0,b[r+4>>2]=0,(r=b[e+28>>2])&&(C[e+32|0]&&gA(r),b[e+28>>2]=0),N=e+96|0}function IA(r,e,i){var a=0,t=0,v=0,_=0,R=0,B=0,m=0,h=0,G=0,y=0,Q=0;A:{r:{e:{i:{a:{if(!((Q=(v=n[e>>1])+((t=g[e+2>>1])<<16)&(G=b[r+48>>2])+-1)>>>0>=d[r+4>>2])&&-1!=(0|(a=b[b[r+12>>2]+(Q<<2)>>2])))for(_=b[r+72>>2],v&=65535,B=r+32|0;;){if(g[(m=(h=a<<2)+_|0)+2>>1]==(0|t)&&g[m>>1]==(0|v))break a;if(-1==(0|(a=b[h+b[B>>2]>>2])))break}if((0|(a=h=b[(B=r+44|0)>>2]))!=(0|G))break A;if((0|(a=G))>=(0|(_=a?a<<1:1)))break A;if(!_)break i;if(v=CA(_<<2,16),(0|(t=b[r+44>>2]))>=1)break e;break r}return r=b[r+52>>2]+(a<<2)|0,e=g[i>>1]|g[i+2>>1]<<16,n[r>>1]=e,void(n[r+2>>1]=e>>>16)}if(v=0,(0|(t=G))<1)break r}for(a=0,m=r+52|0;R=a+v|0,y=b[m>>2]+a|0,y=g[y>>1]|g[y+2>>1]<<16,n[R>>1]=y,n[R+2>>1]=y>>>16,a=a+4|0,t=t+-1|0;);}(t=b[(a=r+52|0)>>2])&&(C[r+56|0]&&gA(t),b[r+52>>2]=0),b[a>>2]=v,f[r+56|0]=1,b[r+48>>2]=_,a=b[r+44>>2]}if(a=b[r+52>>2]+(a<<2)|0,i=g[i>>1]|g[i+2>>1]<<16,n[a>>1]=i,n[a+2>>1]=i>>>16,b[B>>2]=b[B>>2]+1,(0|(t=b[(_=r- -64|0)>>2]))==b[r+68>>2]&&!((0|t)>=(0|(i=t?t<<1:1)))){A:{r:{if(i){if(v=CA(i<<2,16),(0|(t=b[r- -64>>2]))>=1)break r;break A}if(v=0,(0|t)<1)break A}for(a=0,B=r+72|0;m=a+v|0,R=b[B>>2]+a|0,R=g[R>>1]|g[R+2>>1]<<16,n[m>>1]=R,n[m+2>>1]=R>>>16,a=a+4|0,t=t+-1|0;);}(t=b[(a=r+72|0)>>2])&&(C[r+76|0]&&gA(t),b[r+72>>2]=0),b[a>>2]=v,f[r+76|0]=1,b[r+68>>2]=i,t=b[r- -64>>2]}i=b[r+72>>2]+(t<<2)|0,a=g[e>>1]|g[e+2>>1]<<16,n[i>>1]=a,n[i+2>>1]=a>>>16,b[_>>2]=b[_>>2]+1,(0|G)>2]&&(function(r){var e,i,a=0,t=0,d=0,v=0,_=0,R=0,B=0,m=0;if(!((0|(i=b[r+4>>2]))>=(0|(e=b[r+48>>2])))){A:{r:{e:{i:{a:{if(b[r+8>>2]<(0|e)){if(!e)break a;if(d=CA(e<<2,16),v=b[r+12>>2],(0|(t=b[r+4>>2]))<1)break i;break e}d=b[r+12>>2];break A}if(v=b[r+12>>2],(0|(t=i))>=1)break e}if(v)break r;f[r+16|0]=1,b[r+12>>2]=d,b[r+8>>2]=e;break A}for(_=d,a=v;b[_>>2]=b[a>>2],_=_+4|0,a=a+4|0,t=t+-1|0;);}C[r+16|0]&&gA(v),b[r+12>>2]=d,f[r+16|0]=1,b[r+8>>2]=e}if(x((a=i<<2)+d|0,0,(R=e<<2)-a|0),b[r+4>>2]=e,(0|(B=b[(m=r+24|0)>>2]))<(0|e)){A:{r:{e:{if(b[r+28>>2]<(0|e)){if(!e)break e;d=CA(R,16),v=b[r+24>>2];break r}d=b[r+32>>2];break A}d=0,v=B}t=v,v=b[r+32>>2];r:{if((0|t)>=1)for(_=d,a=v;b[_>>2]=b[a>>2],_=_+4|0,a=a+4|0,t=t+-1|0;);else if(!v)break r;C[0|(a=r+36|0)]&&gA(v),b[r+32>>2]=d,f[0|a]=1,b[r+28>>2]=e;break A}b[r+32>>2]=d,f[r+36|0]=1,b[r+28>>2]=e}x((a=B<<2)+d|0,0,R-a|0)}if(b[m>>2]=e,(0|e)>=1&&(x(b[r+12>>2],255,R),x(b[r+32>>2],255,R)),!((0|i)<1))for(a=b[r+32>>2],v=b[r+12>>2],_=b[r+72>>2],t=0,d=r+48|0;r=v+((n[_>>1]+(g[_+2>>1]<<16)&b[d>>2]+-1)<<2)|0,b[a>>2]=b[r>>2],b[r>>2]=t,_=_+4|0,a=a+4|0,(0|(t=t+1|0))!=(0|i););}}(r),Q=n[e>>1]+(g[e+2>>1]<<16)&b[i>>2]+-1),e=b[r+32>>2]+(h<<2)|0,r=b[r+12>>2]+(Q<<2)|0,b[e>>2]=b[r>>2],b[r>>2]=h}function JA(r,e,i,a,f,n,t){var C,g=B(0),d=0,_=0,R=B(0),m=0,h=B(0),G=B(0),y=B(0),Q=0,p=0,D=0,w=0,Z=0,Y=0,W=0,F=0,E=0;C=N-16|0,b[a>>2]=2139095039,d=-8388609,b[f>>2]=-8388609;A:{if((0|(_=b[r+8>>2]))>=1){for(Q=e+20|0,p=e+24|0,D=e+52|0,w=e+48|0,Z=e+36|0,Y=e+32|0,W=e+40|0,F=e+56|0,E=n+12|0,d=4;;){r:{e:{m=b[r+16>>2]+d|0,g=v[m+-4>>2],R=v[m>>2],h=v[m+4>>2],G=B(B(B(B(g*v[e>>2])+B(R*v[e+4>>2]))+B(h*v[e+8>>2]))+v[w>>2]),y=B(B(B(B(g*v[e+16>>2])+B(R*v[Q>>2]))+B(h*v[p>>2]))+v[D>>2]),R=B(B(B(B(g*v[Y>>2])+B(R*v[Z>>2]))+B(h*v[W>>2]))+v[F>>2]);i:{if(!((g=B(B(B(G*v[i>>2])+B(y*v[i+4>>2]))+B(R*v[i+8>>2])))>2])){if(g>v[f>>2])break i;break e}if(v[a>>2]=g,b[E>>2]=0,v[n+8>>2]=R,v[n+4>>2]=y,v[n>>2]=G,!(g>v[f>>2]))break e}if(v[f>>2]=g,b[t+12>>2]=0,v[t+8>>2]=R,v[t+4>>2]=y,v[t>>2]=G,d=d+16|0,_=_+-1|0)continue;break r}if(d=d+16|0,_=_+-1|0)continue}break}if(d=b[f>>2],!((g=v[a>>2])>v[f>>2]))break A}else if(!((g=v[a>>2])>B(-34028234663852886e22)))break A;b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(.9990000128746033))break r;if(a=a+16|0,!((0|(t=t+1|0))<(0|n)))break}if(w=B(B(B(g*w)+B(m*gi))+B(R*Ri)),(0|(t=b[r+4>>2]))>=1)for(a=0;;){if(B(B(B(B(B(g*v[y>>2])+B(m*v[y+4>>2]))+B(R*v[y+8>>2]))-w)+B(-.009999999776482582))>B(0))break r;if(y=y+16|0,!((0|(a=a+1|0))<(0|t)))break}if(w=B(-w),b[(F=e+8|0)>>2]==(0|n)&&!((0|n)>=(0|(t=n?n<<1:1)))){e:{i:{if(t){if(Q=CA(t<<4,16),(0|(n=b[h>>2]))>=1)break i;break e}if(Q=0,(0|n)<1)break e}for(a=0;d=b[e+12>>2]+a|0,wi=b[d+4>>2],b[(_=a+Q|0)>>2]=b[d>>2],b[_+4>>2]=wi,wi=b[(d=d+8|0)+4>>2],b[(_=_+8|0)>>2]=b[d>>2],b[_+4>>2]=wi,a=a+16|0,n=n+-1|0;);}(n=b[(a=e+12|0)>>2])&&(C[e+16|0]&&gA(n),b[a>>2]=0),b[a>>2]=Q,f[e+16|0]=1,b[F>>2]=t,n=b[h>>2]}a=b[e+12>>2]+(n<<4)|0,v[a+12>>2]=w,v[a+8>>2]=R,v[a+4>>2]=m,v[a>>2]=g,b[h>>2]=b[h>>2]+1}r:if(!N){if(g=B(B(1)/B(p(W))),R=B(-B(D*g)),m=B(-B(Z*g)),g=B(-B(Y*g)),(0|(n=b[(h=e+4|0)>>2]))>=1)for(a=b[e+12>>2],t=0;;){if(B(B(B(v[a>>2]*g)+B(v[a+4>>2]*m))+B(v[a+8>>2]*R))>B(.9990000128746033))break r;if(a=a+16|0,!((0|(t=t+1|0))<(0|n)))break}if(D=B(B(B(v[BA>>2]*g)+B(v[Da>>2]*m))+B(v[Xi>>2]*R)),(0|(Q=b[r+4>>2]))>=1)for(a=b[j>>2],t=0;;){if(B(B(B(B(B(v[a>>2]*g)+B(v[a+4>>2]*m))+B(v[a+8>>2]*R))-D)+B(-.009999999776482582))>B(0))break r;if(a=a+16|0,!((0|(t=t+1|0))<(0|Q)))break}if(D=B(-D),b[(N=e+8|0)>>2]==(0|n)&&!((0|n)>=(0|(t=n?n<<1:1)))){e:{i:{if(t){if(Q=CA(t<<4,16),(0|(n=b[h>>2]))>=1)break i;break e}if(Q=0,(0|n)<1)break e}for(a=0;d=b[e+12>>2]+a|0,F=b[d+4>>2],b[(_=a+Q|0)>>2]=b[d>>2],b[_+4>>2]=F,F=b[(d=d+8|0)+4>>2],b[(_=_+8|0)>>2]=b[d>>2],b[_+4>>2]=F,a=a+16|0,n=n+-1|0;);}(n=b[(a=e+12|0)>>2])&&(C[e+16|0]&&gA(n),b[a>>2]=0),b[a>>2]=Q,f[e+16|0]=1,b[N>>2]=t,n=b[h>>2]}a=b[e+12>>2]+(n<<4)|0,v[a+12>>2]=D,v[a+8>>2]=R,v[a+4>>2]=m,v[a>>2]=g,b[h>>2]=b[h>>2]+1}if((0|i)==(0|(Be=Be+1|0)))break;y=b[j>>2]}a=0}else{if((0|G)==(0|i))break A;y=b[j>>2],Ia=G,a=(0|(G=G+1|0))<(0|i)?1:0}if((0|i)==(0|E))break}}function MA(r,e){var i,a=0,n=0,t=B(0),g=B(0),d=0,_=B(0),R=B(0),h=0,G=B(0),y=B(0),Q=B(0),p=B(0),D=0,w=B(0),Z=0,Y=0,W=B(0),F=0,E=0,N=0,j=0,BA=B(0),Be=B(0),ui=0,gi=0,Ri=B(0),wi=0,Xi=0,Da=0,Ia=0,yf=0,Qf=0,pf=0,Df=0,wf=0,Zf=0;if((0|(i=b[r+4>>2]))>=1)for(gi=r+12|0;;){A:if(h=Y,Y=h+1|0,!((0|Y)>=(0|i)))for(d=b[gi>>2],E=d+(h<<4)|0,yf=E+12|0,Qf=E+4|0,pf=E+8|0,Da=Y,h=Y+1|0,a=(0|h)<(0|i)?1:0;;)if(a){for(Df=(N=(Da<<4)+d|0)+12|0,wf=N+8|0,Zf=N+4|0,j=h;;){g=v[(a=(j<<4)+d|0)+4>>2],_=v[N>>2],y=v[Zf>>2],Q=v[a>>2],p=B(B(g*_)-B(y*Q)),R=v[a+8>>2],w=v[wf>>2],BA=B(B(y*R)-B(w*g)),Be=B(B(w*Q)-B(R*_));r:if(B(B(p*p)+B(B(BA*BA)+B(Be*Be)))>B(9999999747378752e-20)&&(t=v[Qf>>2],G=v[E>>2],Ri=B(B(Q*t)-B(g*G)),W=g,g=v[pf>>2],W=B(B(W*g)-B(R*t)),Q=B(B(R*G)-B(Q*g)),B(B(Ri*Ri)+B(B(W*W)+B(Q*Q)))>B(9999999747378752e-20)&&(R=B(B(y*G)-B(_*t)),y=B(B(w*t)-B(y*g)),_=B(B(_*g)-B(w*G)),B(B(R*R)+B(B(y*y)+B(_*_)))>B(9999999747378752e-20)&&(t=B(B(g*p)+B(B(t*Be)+B(BA*G))),B(m(t))>B(9.999999974752427e-7))))){if(t=B(B(-1)/t),G=v[a+12>>2],g=v[yf>>2],w=B(p*g),p=v[Df>>2],R=B(t*B(B(R*G)+B(w+B(Ri*p)))),_=B(t*B(B(_*G)+B(B(Be*g)+B(Q*p)))),t=B(t*B(B(y*G)+B(B(BA*g)+B(W*p)))),(0|(n=b[r+4>>2]))>=1)for(a=0;;){if(B(B(v[d+12>>2]+B(B(B(t*v[d>>2])+B(_*v[d+4>>2]))+B(R*v[d+8>>2])))+B(-.009999999776482582))>B(0))break r;if(d=d+16|0,!((0|(a=a+1|0))<(0|n)))break}if((0|(n=b[(F=e+4|0)>>2]))==b[(Ia=e+8|0)>>2]&&!((0|n)>=(0|(ui=n?n<<1:1)))){e:{i:{if(ui){if(wi=CA(ui<<4,16),(0|(n=b[F>>2]))>=1)break i;break e}if(wi=0,(0|n)<1)break e}for(a=0;Z=b[e+12>>2]+a|0,Xi=b[Z+4>>2],b[(D=a+wi|0)>>2]=b[Z>>2],b[D+4>>2]=Xi,Xi=b[(Z=Z+8|0)+4>>2],b[(D=D+8|0)>>2]=b[Z>>2],b[D+4>>2]=Xi,a=a+16|0,n=n+-1|0;);}(n=b[(a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>2]=i,b[t+16>>2]=0,i=b[r+100>>2],b[t+20>>2]=i,b[n+8>>2]=t,b[n+12>>2]=e,b[n+16>>2]=0,b[n+20>>2]=i,i=(e=b[r+116>>2])+1|0,b[r+116>>2]=i,(0|e)>=b[r+120>>2]&&(b[r+120>>2]=i),t}function TA(r,e,i,a){var f,n=0,t=0,C=0,g=0,d=0,v=0,_=0;N=f=N-16|0;A:{r:{e:{i:{if(2!=(0|(n=i-e|0))){if(1==(0|n))break i;if(n)break e;b[a>>2]=0,b[a+4>>2]=0,b[(r=a+8|0)>>2]=0,b[r+4>>2]=0;break A}if(i=b[b[r+92>>2]+(e<<2)>>2],n=b[i+204>>2],(0|(g=b[i+88>>2]))!=(0|(C=b[i+200>>2]))|(0|(t=b[i+92>>2]))!=(0|n))break r;if(n=t,b[i+96>>2]!=b[i+208>>2])break r;b[i+8>>2]=0,b[a+12>>2]=i,b[a+8>>2]=i,b[a+4>>2]=i,b[a>>2]=i,b[i+4>>2]=i,b[i>>2]=i;break A}r=b[b[r+92>>2]+(e<<2)>>2],b[r+8>>2]=0,b[a+12>>2]=r,b[a+8>>2]=r,b[a+4>>2]=r,b[a>>2]=r,b[r+4>>2]=r,b[r>>2]=r;break A}e:if(!((0|(t=g=(C=(0|n)/2|0)+e|0))>=(0|i)))for(t=b[r+92>>2],n=b[(t+(g<<2)|0)-4>>2],d=b[n+88>>2],v=b[n+96>>2],_=b[n+92>>2],n=t+(e+C<<2)|0,t=g;;){if(C=b[n>>2],(0|d)!=b[C+88>>2]|b[C+92>>2]!=(0|_)|b[C+96>>2]!=(0|v))break e;if(n=n+4|0,!((0|(t=t+1|0))<(0|i)))break}TA(r,e,g,a),b[(e=f+8|0)>>2]=0,b[e+4>>2]=0,b[f>>2]=0,b[f+4>>2]=0,TA(r,t,i,f),function(r,e,i){var a,f=0,n=0,t=0,C=0,g=0,d=0,v=0,_=0,B=0,m=0,h=0,G=0,y=0,Q=0,p=0,D=0,w=0,Z=0,Y=0,W=0,F=0,E=0,BA=0,Be=0,ui=0,gi=0,Ri=0,wi=0,Xi=0,Da=0,Ia=0,yf=0,Qf=0,pf=0,Df=0,wf=0,Zf=0,Yf=0,Wf=0,Ff=0,Ef=0,Nf=0,Vf=0,Xf=0,Jf=0;N=a=N-128|0;e:{i:if(b[i+4>>2]){if(!b[e+4>>2])break e;if(b[r+100>>2]=b[r+100>>2]+-1,b[a+124>>2]=0,b[a+120>>2]=0,e=function(r,e,i,a){var f=0,n=0,t=0,C=0,g=0,d=0,v=0,_=0,B=0,m=0,h=0,G=0,y=0,Q=0,p=0,D=0,w=0,Z=0,Y=0;f=b[r+12>>2],B=b[e+8>>2];a:{f:if(!(b[f+88>>2]!=b[B+88>>2]|b[f+92>>2]!=b[B+92>>2])){n:{if((0|B)!=(0|(n=b[B+4>>2]))){if(f=b[B>>2],b[f+4>>2]=n,b[n>>2]=f,(0|B)==b[e>>2]&&(p=e,t=f,(0|(C=b[f+88>>2]))<(0|(g=b[n+88>>2]))|(b[f+92>>2]>2]?(0|C)==(0|g):0)||(t=n),b[p>>2]=t),b[e+4>>2]!=(0|B))break f;if((0|(t=b[f+88>>2]))!=(0|(C=b[n+88>>2]))|b[f+92>>2]<=b[n+92>>2]&&(0|t)<=(0|C))break n;b[e+4>>2]=f;break f}if(b[i>>2]=f,e=0,!(r=b[B+8>>2]))break a;return b[a>>2]=b[r+12>>2],0}b[e+4>>2]=n}for(w=b[e>>2],Y=b[r>>2],n=p=b[r+4>>2],t=Z=b[e+4>>2],B=0,h=1;;){f:{if(d=b[n+88>>2],(0|(f=R(b[t+88>>2]-d|0,h)))>=1)v=n,C=0;else{if((0|f)>-1){C=b[n+92>>2];n:if(G)for(f=n;;){if(v=f,(0|(f=b[f>>2]))==(0|n)|(0|d)!=b[f+88>>2])break n;if(m=(0|(g=b[f+92>>2]))>(0|C),C=g,m)break}else for(f=n;;){if(v=f,(0|(f=b[f+4>>2]))==(0|n)|(0|d)!=b[f+88>>2])break n;if(m=(0|(g=b[f+92>>2]))<=(0|C),C=g,!m)break}if(f=b[t+92>>2],G){for(n=t;;){if(C=n,(0|t)==(0|(n=b[n+4>>2]))|(0|d)!=b[n+88>>2])break f;if(m=(0|(g=b[n+92>>2]))<(0|f),f=g,m)break}break f}for(n=t;;){if(C=n,(0|t)==(0|(n=b[n>>2]))|(0|d)!=b[n+88>>2])break f;if(m=(0|(g=b[n+92>>2]))>=(0|f),f=g,!m)break}break f}C=1}for(;;){n:{t:{b:{if(!C){for(C=t,d=b[t+92>>2],g=f;m=d-(t=b[v+92>>2])|0,!((0|(f=b[(_=!G<<2)+v>>2]))==(0|v)||(Q=b[f+92>>2]-t|0,(0|Q)>0||(y=b[f+88>>2],t=R(y-b[v+88>>2]|0,h),(0|t)>-1|(0|R(g,Q))>(0|R(t,m))&&t)));)g=R(b[C+88>>2]-y|0,h),v=f;if((0|C)==(0|(t=b[C+_>>2])))break f;if((0|(_=b[t+92>>2]-d|0))>-1)break f;if(d=b[t+88>>2],(0|(f=R(d-b[v+88>>2]|0,h)))<1)break f;if(!(d=R(d-b[C+88>>2]|0,h)))break b;if((0|d)>-1)break f;if((0|R(g,_))<(0|R(d,m)))break t;break f}for(d=b[t+92>>2],C=b[(Q=(0!=(0|G))<<2)+t>>2];;){if(g=f,v=n,m=d-(f=b[n+92>>2])|0,(0|t)!=(0|C)&&!((0|(_=b[C+92>>2]-d|0))<0)){if(y=b[C+88>>2],!(n=R(y-b[t+88>>2]|0,h)))break n;if(!((0|n)>-1)&&(0|R(g,_))<=(0|R(n,m)))break n}if((0|v)!=(0|(n=b[v+Q>>2]))&&!((0|(y=b[n+92>>2]-f|0))<1||(_=b[n+88>>2],f=R(b[t+88>>2]-_|0,h),(0|f)>-1))){if(!(_=R(_-b[v+88>>2]|0,h)))continue;if(!((0|_)>-1)&&(0|R(g,y))<(0|R(m,_)))continue}break}C=t;break f}C=0;continue}C=0;continue}f=R(y-b[v+88>>2]|0,h),t=C,n=v,C=1}}if(n=G?v:Y,t=G?C:w,D=G?D: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>2]-Q|0)-R(C,D-Q|0)|0,D>>31,h,G),Q=j,e=b[e+88>>2],g=Rf(e=R(C,W-e|0)-R(f,b[g+88>>2]-e|0)|0,e>>31,d,t),e=j+Q|0,(0|(e=(f=g+D|0)>>>0>>0?e+1|0:e))<0||(0|e)<=0&&!(f>>>0>0)))break f}if((0|n)!=(0|(i=b[i>>2])))continue;break a}if(v=i,(0|n)!=(0|(i=b[i>>2])))continue}break}b[a+80>>2]=v}if(w=b[E+8>>2],B=0,b[a+56>>2]=0,w){for(i=w;;){e=b[i+12>>2],y=Rf(f=n=(g=b[e+92>>2])-Ri|0,n=f>>31,d,t),C=j;a:if(!((0|(BA=y))!=(0-(W=Rf(h,G,Q=y=(D=b[e+88>>2])-m|0,y=Q>>31))|0)|(0-(j+(0>>0)|0)|0)!=(0|C)||(n=Rf(Z,Y,f,n),f=j,y=Rf(Q,y,F,wi),n=y+n|0,f=j+f|0,f=n>>>0>>0?f+1|0:f,y=b[e+96>>2],e=y-_|0,C=Rf(p,Be,e,e>>31),n=C+n|0,e=j+f|0,e=n>>>0>>0?e+1|0:e,(0|e)<0||(0|e)<=0&&!(n>>>0>=1)))){if(B){if(b[B>>2]!=(0|i))break a;if(b[B+4>>2]==(0|i)&&(f=y,e=b[b[i+8>>2]+12>>2],n=f-(y=b[e+96>>2])|0,f=b[B+12>>2],y=b[f+96>>2]-y|0,C=b[e+92>>2],g=Rf(g=R(n,b[f+92>>2]-C|0)-R(y,g-C|0)|0,g>>31,h,G),C=j,e=b[e+88>>2],f=Rf(e=R(y,D-e|0)-R(n,b[f+88>>2]-e|0)|0,e>>31,d,t),n=j+C|0,(0|(n=(e=f+g|0)>>>0>>0?n+1|0:n))<0||(0|n)<=0&&!(e>>>0>=1)))break a}B=i}if((0|w)==(0|(i=b[i>>2])))break}b[a+56>>2]=B}v|B&&(UA(r,ui,E,a+80|0,a+56|0),(e=b[a+80>>2])&&(ui=b[e+12>>2],b[a+124>>2]=ui),(e=b[a+56>>2])&&(E=b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0

>>0|_>>>0>>0||(D=(0|e)==(0|_)&Xf>>>0>p>>>0|_>>>0>e>>>0))),D=R(D,Zf)}if(wf)break f;break n}r=SA(r,G,v),b[G+8>>2]=r,e=b[r+8>>2],b[v+8>>2]=e,b[r+4>>2]=r,b[r>>2]=r,b[e+4>>2]=e,b[e>>2]=e;break i}if(D=Zf-e|0,!wf)break n;break f}if(D=0,wf)break f}n:{if((0|D)>=0){if(b[Wf>>2]>-1)break f;if(!(b[yf>>2]|b[yf+4>>2]))break n;break f}if(b[Ia>>2]|b[Ia+4>>2]|b[Yf>>2]>-1)break f}_=i,n=w,t=h,f=B;break a}f=t=SA(r,G,v),h&&(b[h+4>>2]=t,f=B),b[t>>2]=h,n=_=b[t+8>>2],i&&(b[i>>2]=_,n=w),b[_+4>>2]=i}b[a+4>>2]=BA,b[a>>2]=d,i=d,D||(UA(r,G,v,a+4|0,a),i=b[a>>2]);a:{f:{n:{if(!(!i|(0|D)<0)){if(Q&&(0|d)!=(0|(e=b[Q>>2])))for(;m=b[e+8>>2],w=0,B=0,(0|e)!=(0|(h=b[e>>2]))&&(b[h+4>>2]=b[e+4>>2],b[b[e+4>>2]>>2]=h,B=h),b[b[m+12>>2]+8>>2]=B,(0|m)!=(0|(B=b[m>>2]))&&(b[B+4>>2]=b[m+4>>2],b[b[m+4>>2]>>2]=B,w=B),b[b[e+12>>2]+8>>2]=w,b[e+12>>2]=0,b[e+16>>2]=0,b[e+4>>2]=0,b[e+8>>2]=0,w=b[C>>2],b[C>>2]=e,b[e>>2]=w,b[(e=m+12|0)>>2]=0,b[e+4>>2]=0,b[m+4>>2]=0,b[m+8>>2]=0,e=b[C>>2],b[C>>2]=m,b[m>>2]=e,b[gi>>2]=b[gi>>2]+-1,(0|d)!=(0|(e=h)););if(!_)break n;Q||(Q=b[d+4>>2],Ri=n),b[Q>>2]=n,b[n+4>>2]=Q,b[d+4>>2]=_,b[_>>2]=d,n=0;break f}w=v,i=_;break a}Ri=Q?Ri:d}w=b[i+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>>>0<_>>>0?g+1|0:g,(0|g)<0||(0|g)<=0&&!(v>>>0>=1)?(0|_)<-1||(0|_)<=-1&&!(v>>>0>4294967295)?(g=-1,b[C+24>>2]=-1,h=1,b[C+8>>2]=0-v,b[C+12>>2]=0-((0>>0)+_|0)):(g=0,b[C+24>>2]=0,h=0,b[C+8>>2]=0,b[C+12>>2]=0):(b[C+24>>2]=1,g=-1,h=-1,b[C+8>>2]=v,b[C+12>>2]=_);A:{r:{e:{if(!((0|d)>0||(0|d)>=0&&!(B>>>0<=0))){if(!((0|d)<-1||(0|d)<=-1&&!(B>>>0>4294967295))){if(b[(d=C+16|0)>>2]=0,b[d+4>>2]=0,!g)break A;if(!m)break e;break r}b[C+24>>2]=h,B=0-(g=B)|0,d=0-((0>>0)+d|0)|0}if(b[(g=C+16|0)>>2]=B,b[g+4>>2]=d,m)break r}m=b[C+12>>2],b[t>>2]=b[C+8>>2],b[t+4>>2]=m,b[t+16>>2]=b[C+24>>2],d=b[(g=C+16|0)+4>>2],b[(m=t+8|0)>>2]=b[g>>2],b[m+4>>2]=d,m=r;break A}r:{e:{if((0|(g=xA(C+8|0,t)))>-1){if(g)break A;if(d=b[m+4>>2],b[m>>2]==(0|r))break e;g=(0|r)==(0|d);break r}m=b[C+12>>2],b[t>>2]=b[C+8>>2],b[t+4>>2]=m,b[t+16>>2]=b[C+24>>2],d=b[(g=C+16|0)+4>>2],b[(m=t+8|0)>>2]=b[g>>2],b[m+4>>2]=d,m=r;break A}g=2,(0|r)==(0|d)&&(g=b[b[r+8>>2]+12>>2],B=Y-(v=b[g+96>>2])|0,d=b[m+12>>2],_=b[g+92>>2],h=b[d+92>>2]-_|0,v=b[d+96>>2]-v|0,_=y-_|0,G=y=R(B,h)-R(v,_)|0,W=y>>31,y=b[a+8>>2],Q=b[ui>>2],p=Rf(G,W,p=R(y,D)-R(Q,w)|0,p>>31),Y=j,G=_,g=b[g+88>>2],_=b[d+88>>2]-g|0,d=h,h=Z-g|0,d=g=R(G,_)-R(d,h)|0,G=g>>31,g=D,D=b[a>>2],Z=Rf(d,G,g=R(Q,F)-R(g,D)|0,g>>31),d=j+Y|0,d=(g=Z+p|0)>>>0>>0?d+1|0:d,G=g,v=Rf(h=g=R(v,h)-R(B,_)|0,_=g>>31,g=R(D,w)-R(y,F)|0,g>>31),g=j+d|0,g=(0|(g=(B=G+v|0)>>>0>>0?g+1|0:g))>0||(0|g)>=0&&!(B>>>0<=0)?2:1)}m=2!=(0|g)^e?r:m}g=b[i+8>>2]}if((0|g)==(0|(r=b[r>>2])))break}return N=C+32|0,m}return N=C+32|0,0}function OA(r,e,i){var a,n=0,t=0,g=0,d=0,_=0,h=B(0),G=0,y=0,Q=B(0),p=0,D=0,w=B(0),Z=B(0),Y=0,W=B(0),F=B(0),E=B(0),j=B(0),BA=B(0),Be=0,ui=0,gi=0;if(N=a=N-48|0,(0|i)>=1)for(n=-246811958,g=1900671690,y=i,_=e,Y=1900671690,t=1900671690,D=-246811958,p=-246811958;G=b[(d=_+8|0)>>2],h=v[d>>2],k(0,n),n=s()>2],Q=v[d>>2],k(0,D),D=s()>2],h=v[_>>2],k(0,p),p=s()>2]=n,(0|(g=y?(1^t)<<1:_?1:2))==(0|n)&&(g=(n+1>>>0)%3|0),b[r+104>>2]=g,t=(3^n)-g|0,b[r+108>>2]=t,h=B(h*B(9788566967472434e-20)),Q=B(Q*B(9788566967472434e-20)),Z=B(Z*B(9788566967472434e-20)),b[r+12>>2]=0,((t+1|0)%3|0)!=(0|n)&&(Q=B(-Q),Z=B(-Z),h=B(-h)),v[r+8>>2]=h,v[r+4>>2]=Q,v[r>>2]=Z,b[r+28>>2]=0,v[r+24>>2]=B(E+w)*B(.5),v[r+20>>2]=B(W+F)*B(.5),v[r+16>>2]=B(j+BA)*B(.5),b[a+36>>2]=0,b[a+28>>2]=0,b[a+32>>2]=0,_=h!=B(0),W=B(B(1)/h),y=Q!=B(0),F=B(B(1)/Q),D=Z!=B(0),E=B(B(1)/Z),f[a+40|0]=1,!((0|i)<1)&&(Y=a+36|0,n=CA(i<<4,16),b[Y>>2]=n,f[a+40|0]=1,b[a+32>>2]=i,g=b[(t=a+16|0)+4>>2],b[(p=n+8|0)>>2]=b[t>>2],b[p+4>>2]=g,g=b[a+12>>2],b[n>>2]=b[a+8>>2],b[n+4>>2]=g,1!=(0|i)))for(g=i+-1|0,n=16;p=b[a+12>>2],d=b[Y>>2]+n|0,b[d>>2]=b[a+8>>2],b[d+4>>2]=p,p=b[t+4>>2],b[(d=d+8|0)>>2]=b[t>>2],b[d+4>>2]=p,n=n+16|0,g=g+-1|0;);if(h=_?W:h,Q=y?F:Q,Z=D?E:Z,b[a+28>>2]=i,!((0|i)<1)){for(n=b[a+36>>2]+8|0,W=v[r+24>>2],F=v[r+20>>2],E=v[r+16>>2],t=(a+8|0)+(b[r+104>>2]<<2)|0,_=(a+8|0)+(b[r+112>>2]<<2)|0,y=(a+8|0)+(b[r+108>>2]<<2)|0,g=0;w=v[e+4>>2],j=v[e+8>>2],BA=v[e>>2],b[a+20>>2]=0,v[a+16>>2]=h*B(j-W),v[a+8>>2]=Z*B(BA-E),v[a+12>>2]=Q*B(w-F),b[n+4>>2]=g,d=n+-8|0,w=v[y>>2],G=-2147483648,B(m(w))>2]=G,d=n+-4|0,w=v[_>>2],G=-2147483648,B(m(w))>2]=G,d=n,w=v[t>>2],G=-2147483648,B(m(w))>2]=G,n=n+16|0,e=e+16|0,(0|(g=g+1|0))!=(0|i););(0|i)<2||function A(r,e,i,a){var f,n,t,C,g,d=0,v=0,_=0,R=0,B=0,m=0,h=0,G=0,y=0;N=f=N-16|0,h=b[r+12>>2],C=b[(_=h+((i+a|0)/2<<4)|0)+8>>2],n=b[_+4>>2],t=b[_>>2],g=r+12|0,_=i,m=a;A:for(;;){for(d=1,(0|(B=b[(v=8+((_<<4)+h|0)|0)+-4>>2]))<(0|n)||(d=0);;){r:{e:{i:{a:{if(d){if(_=_+1|0,(0|(B=b[(v=v+16|0)+-4>>2]))<(0|n))break a;d=0;continue}if((0|B)==(0|n)){if((0|(d=b[v+-8>>2]))<(0|t))break i;if((0|d)==(0|t)&&b[v>>2]<(0|C))break e}for(d=m<<4;;){f:{if(!((0|n)<(0|(R=b[(B=d+h|0)+4>>2])))){if((0|R)!=(0|n))break f;if(!((0|t)<(0|(R=b[B>>2])))&&(0|R)!=(0|t)|(0|C)>=b[B+8>>2])break f}d=d+-16|0,m=m+-1|0;continue}break}if((0|_)<=(0|m)&&(G=b[v+4>>2],b[(R=h=f+8|0)>>2]=b[v>>2],b[R+4>>2]=G,y=b[(R=v+-8|0)+4>>2],b[f>>2]=b[R>>2],b[f+4>>2]=y,y=b[(G=B+8|0)+4>>2],b[v>>2]=b[G>>2],b[v+4>>2]=y,v=b[B+4>>2],b[R>>2]=b[B>>2],b[R+4>>2]=v,B=b[f+4>>2],d=b[g>>2]+d|0,b[(v=d)>>2]=b[f>>2],b[v+4>>2]=B,v=b[h+4>>2],b[(d=d+8|0)>>2]=b[h>>2],b[d+4>>2]=v,m=m+-1|0,_=_+1|0),(0|_)<=(0|m)){h=b[g>>2];continue A}f:{if((0|m)<=(0|i)){if((0|_)<(0|a))break f;break r}if(A(r,e,i,m),(0|_)>=(0|a))break r}return A(r,e,_,a),void(N=f+16|0)}d=1;continue}d=1;continue}d=1;continue}break}break}N=f+16|0}(a+24|0,a+8|0,0,i+-1|0)}if(b[r+44>>2]=i,b[r+40>>2]=0,b[r+36>>2]=b[r+32>>2],(0|(t=b[(_=r+84|0)>>2]))<(0|i)){if(b[r+88>>2]<(0|i)){A:{r:{if(i){if(g=CA(i<<2,16),(0|(n=b[r+84>>2]))>=1)break r;break A}if(g=0,(0|(n=t))<1)break A}for(e=0,y=r+92|0;b[e+g>>2]=b[b[y>>2]+e>>2],e=e+4|0,n=n+-1|0;);}(n=b[(e=r+92|0)>>2])&&(C[r+96|0]&&gA(n),b[r+92>>2]=0),b[e>>2]=g,f[r+96|0]=1,b[r+88>>2]=i}for(e=t<<2,n=i-t|0,t=r+92|0;b[b[t>>2]+e>>2]=0,e=e+4|0,n=n+-1|0;);}if(b[_>>2]=i,(0|i)>=1)for(_=r+40|0,y=r+36|0,p=r+44|0,Y=r+32|0,d=r+92|0,D=0;;){A:if(!(t=b[_>>2])){r:{if(e=b[y>>2]){if(b[y>>2]=b[e+8>>2],t=b[e>>2],(0|(g=b[e+4>>2]))>=1)break r;break A}if(e=CA(12,16),b[e+8>>2]=0,n=b[p>>2],b[e+4>>2]=n,ui=e,gi=CA(R(n,112),16),b[ui>>2]=gi,n=b[Y>>2],b[Y>>2]=e,b[e+8>>2]=n,t=b[e>>2],(0|(g=b[e+4>>2]))<1)break A}for(e=0,n=t;G=n,n=n+112|0,e=e+1|0,b[G>>2]=(0|e)<(0|g)?n:0,(0|e)!=(0|g););}if(b[_>>2]=b[t>>2],b[(e=t+8|0)>>2]=0,b[e+4>>2]=0,b[t+16>>2]=0,b[t>>2]=0,b[t+4>>2]=0,b[t+104>>2]=-1,b[e>>2]=0,e=b[a+36>>2]+(D<<4)|0,n=b[e+4>>2],b[t+88>>2]=b[e>>2],b[t+92>>2]=n,n=b[(e=e+8|0)+4>>2],b[(g=t+96|0)>>2]=b[e>>2],b[g+4>>2]=n,b[t+104>>2]=-1,b[b[d>>2]+(D<<2)>>2]=t,(0|(D=D+1|0))==(0|i))break}(n=b[(e=a+36|0)>>2])&&(C[a+40|0]&&gA(n),b[a+36>>2]=0),b[r+116>>2]=0,b[r+120>>2]=0,b[r+100>>2]=-3,b[e>>2]=0,f[0|(n=a+40|0)]=1,b[r+60>>2]=R(i,6),b[r+56>>2]=0,b[r+52>>2]=b[r+48>>2],b[a+28>>2]=0,b[a+32>>2]=0,b[(t=a+16|0)>>2]=0,b[t+4>>2]=0,b[a+8>>2]=0,b[a+12>>2]=0,TA(r,0,i,a+8|0),b[r+124>>2]=b[a+8>>2],(r=b[e>>2])&&(C[0|n]&&gA(r),b[a+36>>2]=0),N=a+48|0}function HA(r,e,i){var a,f=B(0),n=B(0),t=0,C=0;N=a=N-16|0;A:{r:{e:{if(b[(t=i+100|0)>>2]>=0)v[(b[e+108>>2]<<2)+a>>2]=b[i+88>>2];else if(f=zA(i+24|0),n=zA(C=i+72|0),v[(b[e+108>>2]<<2)+a>>2]=f/n,b[t>>2]<0)break e;v[(b[e+112>>2]<<2)+a>>2]=b[i+92>>2];break r}if(f=zA(i+40|0),n=zA(C),v[(b[e+112>>2]<<2)+a>>2]=f/n,!(b[i+100>>2]>=0)){f=B(zA(i+56|0)/zA(i+72|0));break A}}f=B(b[i+96>>2])}v[(b[e+104>>2]<<2)+a>>2]=f,b[r+12>>2]=0,v[r+8>>2]=B(v[a+8>>2]*v[e+8>>2])+v[e+24>>2],v[r+4>>2]=B(v[a+4>>2]*v[e+4>>2])+v[e+20>>2],v[r>>2]=B(v[a>>2]*v[e>>2])+v[e+16>>2],N=a+16|0}function zA(r){var e,i,a=0,f=0,n=0,t=B(0);return N=e=N-16|0,f=a=b[r+12>>2],i=b[r+8>>2],(0|a)<0||(0|a)<=0&&!(i>>>0>=0)?(n=b[r+4>>2],r=a=b[r>>2],b[e>>2]=0-r,b[e+4>>2]=0-(n+(0>>0)|0),f^=-1,(a=(r=!(r|n))+(n=-1^i)|0)>>>0>>0&&(f=f+1|0),b[(r=e)+8>>2]=a,b[r+12>>2]=f,t=zA(r),N=r+16|0,B(-t)):(N=e+16|0,B(B(B(+(i>>>0)+4294967296*+(f>>>0))*B(0x10000000000000000))+B(+d[r>>2]+4294967296*+d[r+4>>2])))}function PA(r,e,i){var a,n=0,t=0,g=0,d=0,v=0,_=0,B=0,m=0,h=0,G=0,y=0,Q=0,p=0,D=0,w=0,Z=0,Y=0,W=0,F=0,E=0,j=0,BA=0,Be=0,ui=0,gi=0,Ri=0,wi=0,Xi=0,Da=0,Ia=0,yf=0,Qf=0,pf=0,Df=0,wf=0,Zf=0;N=a=N-144|0;A:{if(!((0|i)>0))return(e=b[r+12>>2])&&(C[r+16|0]&&gA(e),b[r+12>>2]=0),f[r+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0|(n=i?_<<1:1)))){t:{b:{if(n){if(g=CA(R(n,12),16),(0|(e=b[y>>2]))>=1)break b;break t}if(g=0,(0|(e=_))<1)break t}for(i=0;B=b[G>>2]+i|0,wi=b[B+4>>2],b[(m=i+g|0)>>2]=b[B>>2],b[m+4>>2]=wi,b[m+8>>2]=b[B+8>>2],i=i+12|0,e=e+-1|0;);}(e=b[G>>2])&&(C[0|BA]&&gA(e),b[G>>2]=0),b[G>>2]=g,f[0|BA]=1,b[j>>2]=n,i=b[y>>2]}if(g=b[a+4>>2],e=b[G>>2]+R(i,12)|0,b[e>>2]=b[a>>2],b[e+4>>2]=g,b[e+8>>2]=b[Q>>2],e=b[y>>2]+1|0,b[y>>2]=e,b[Q>>2]=0,b[a>>2]=0,b[a+4>>2]=0,b[j>>2]==(0|e)&&!((0|e)>=(0|(n=e?e<<1:1)))){t:{b:{if(n){if(g=CA(R(n,12),16),(0|(e=b[y>>2]))>=1)break b;break t}if(g=0,(0|e)<1)break t}for(i=0;B=b[G>>2]+i|0,wi=b[B+4>>2],b[(m=i+g|0)>>2]=b[B>>2],b[m+4>>2]=wi,b[m+8>>2]=b[B+8>>2],i=i+12|0,e=e+-1|0;);}(e=b[G>>2])&&(C[0|BA]&&gA(e),b[G>>2]=0),b[G>>2]=g,f[0|BA]=1,b[j>>2]=n,e=b[y>>2]}if(i=b[a+4>>2],e=b[G>>2]+R(e,12)|0,b[e>>2]=b[a>>2],b[e+4>>2]=i,b[e+8>>2]=b[Q>>2],b[y>>2]=b[y>>2]+1,b[(n=D+20|0)>>2]=_,B=_+1|0,b[b[D+8>>2]+20>>2]=B,_=(m=b[G>>2])+R(_,12)|0,b[_+4>>2]=1,b[_+16>>2]=-1,g=b[D+12>>2],(0|(e=b[g+104>>2]))>-1)i=d,d=e;else{b[g+104>>2]=d;t:{b:{o:{if((0|d)==(0|h)&&!((0|h)>=(0|(e=h?h<<1:1)))){if(!e)break o;t=CA(e<<2,16);break b}e=h;break t}t=0}b:{if((0|h)>=1)for(i=t;b[i>>2]=b[v>>2],i=i+4|0,v=v+4|0,h=h+-1|0;);else if(!v)break b;gA(Da)}Da=t,v=t}b[(d<<2)+v>>2]=g,i=d+1|0,h=e}if(b[8+(m+R(B,12)|0)>>2]=W,b[_+8>>2]=d,d=i,e=i=b[n>>2],(0|Be)>=0)break n;break f}if(e=i,(0|Be)<0)break f}b[b[G>>2]+R(i,12)>>2]=Be-i,e=Ia}if(Be=i,Ia=e,(0|(D=b[D>>2]))!=(0|p))break a;b[b[G>>2]+R(e,12)>>2]=i-e;break r}if((0|(i=b[w+20>>2]))>=0){if((0|(n=b[F>>2]))==b[yf>>2]&&!((0|n)>=(0|(B=n?n<>2],(0|(n=b[F>>2]))<(0|Z))break t}else if(_=0,g=b[E>>2],(0|n)<(0|Z))break t;for(i=_,e=g;b[i>>2]=b[e>>2],i=i+Qf|0,e=e+Qf|0,n=n+pf|0;);break n}if(!g)break f}C[0|Df]&&gA(g),b[E>>2]=0,n=b[F>>2]}b[yf>>2]=B,b[E>>2]=_,f[0|Df]=Z,i=b[w+Zf>>2]}for(b[b[E>>2]+(n<>2]=i,b[F>>2]=b[F>>2]+Z,i=w;b[i+20>>2]=pf,(0|w)!=(0|(i=b[b[i+8>>2]+4>>2])););}if((0|Ri)!=(0|(w=b[w>>2])))break i;break e}i=0;continue}i=1}}if((0|W)==(0|(ui=Z+ui|0))){if(!v)break A;gA(t);break A}i=1;continue}(0|(W=W+1|0))>=(0|d)?(gi=2,Z=1,yf=r+48|0,F=r+44|0,E=r+52|0,Qf=4,pf=-1,Df=r+56|0,Zf=20,wf=16,ui=0,i=1):i=0}}if((e=b[(r=a+108|0)>>2])&&(C[a+112|0]&&gA(e),b[a+108>>2]=0),b[r>>2]=0,f[a+112|0]=1,b[(r=a+100|0)>>2]=0,b[r+4>>2]=0,i=b[a+80>>2])for(r=a+80|0;b[r>>2]=b[i+8>>2],gA(b[i>>2]),gA(i),i=b[r>>2];);if(i=b[a+64>>2])for(r=a- -64|0;b[r>>2]=b[i+8>>2],gA(b[i>>2]),gA(i),i=b[r>>2];);if(i=b[a+48>>2])for(r=a+48|0;b[r>>2]=b[i+8>>2],gA(b[i>>2]),gA(i),i=b[r>>2];);N=a+144|0}function LA(r){return ZA(r),b[r+56>>2]=0,b[r>>2]=7168,r}function KA(r,e){var i=0,a=0,n=0,t=0,g=0,d=0,v=0,_=0,B=0,m=0,h=0,G=0,y=0,Q=0,p=0,D=0;if(b[r+8>>2]<(0|e)){A:{r:{if(e){if(y=CA(R(e,36),16),(0|(B=b[r+4>>2]))>=1)break r;break A}if((0|(B=b[r+4>>2]))<1)break A}for(;;){i=R(m,36),b[(n=i+y|0)+4>>2]=0,b[n+8>>2]=0,f[n+16|0]=1,b[n+12>>2]=0,h=n+4|0;r:{e:{i:{a:{if(v=i+b[r+12>>2]|0,(0|(t=b[v+4>>2]))>=1){if(D=n+8|0,Q=n+16|0,g=CA(p=t<<2,16),_=b[(G=n+12|0)>>2],(0|(d=b[h>>2]))<1)break a;for(a=g,i=_;b[a>>2]=b[i>>2],a=a+4|0,i=i+4|0,d=d+-1|0;);break i}b[h>>2]=t;break r}if(!_)break e}C[0|Q]&&gA(_)}for(b[G>>2]=g,f[0|Q]=1,b[D>>2]=t,x(g,0,p),b[h>>2]=t,a=b[v+12>>2],i=b[G>>2];b[i>>2]=b[a>>2],i=i+4|0,a=a+4|0,t=t+-1|0;);}if(i=b[v+24>>2],b[n+20>>2]=b[v+20>>2],b[n+24>>2]=i,g=b[(a=v+28|0)+4>>2],b[(i=n+28|0)>>2]=b[a>>2],b[i+4>>2]=g,(0|(m=m+1|0))==(0|B))break}if(!((0|(d=b[r+4>>2]))<1))for(_=r+12|0,i=8;n=(a=b[_>>2]+i|0)+-4|0,(t=b[(g=a+4|0)>>2])&&(C[a+8|0]&&gA(t),b[g>>2]=0),b[n>>2]=0,b[g>>2]=0,b[a>>2]=0,f[a+8|0]=1,i=i+36|0,d=d+-1|0;);}(i=b[r+12>>2])&&(C[r+16|0]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(0|d););if(b[n+16>>2]=-246811958,(0|d)>=2)for(G=d+-1|0,t=n+40|0,Yf=v[n+8>>2],Wf=v[n>>2],Vf=v[n+4>>2];F=B(0),_=t,Z=B(v[t+-16>>2]-Wf),Ff=B(v[t+-12>>2]-Vf),xf=B(v[t+-8>>2]-Yf),Qf=B(B(B(Da*Z)+B(ui*Ff))+B(Df*xf)),Z=B(B(B(gi*Z)+B(BA*Ff))+B(j*xf)),B(B(Qf*Qf)+B(Z*Z))=B(0)?(Z=B(B(Z-F)/B(Z+F)),F=B(.7853981852531433)):(Z=B(B(Z+F)/B(F-Z)),F=B(2.356194496154785)),Z=B(F+B(Z*B(-.7853981852531433))),F=Qf>2]=F,t=t+24|0,G=G+-1|0;);if(G=b[(t=n+8|0)+4>>2],b[(g=a+16|0)>>2]=b[t>>2],b[g+4>>2]=G,g=b[n+4>>2],b[a+8>>2]=b[n>>2],b[a+12>>2]=g,function A(r,e,i,a){var f,n,t,C,g,d=B(0),_=0,m=0,h=0,G=B(0),y=0,Q=0,p=B(0),D=0,w=0,Z=0,Y=0,W=B(0),F=0,E=B(0),j=B(0),BA=B(0),Be=0,ui=B(0),gi=B(0),Ri=B(0),wi=0;N=f=N-32|0,m=(D=b[r+12>>2])+R((i+a|0)/2|0,24)|0,n=b[m+20>>2],W=v[m+16>>2],ui=v[m+8>>2],gi=v[m+4>>2],Ri=v[m>>2],C=e+4|0,g=e+8|0,t=r+12|0,m=i,w=a;e:for(;;){for(E=v[e>>2],G=B(Ri-E),p=B(G*G),j=v[C>>2],G=B(gi-j),p=B(p+B(G*G)),BA=v[g>>2],G=B(ui-BA),G=B(p+B(G*G)),_=20+(R(m,24)+D|0)|0,h=0,(d=v[(y=_+-4|0)>>2])==W&&(h=1);;){i:{a:{f:{n:{if(!h){if(d>2]-E),p=B(d*d),d=B(v[_+-16>>2]-j),p=B(p+B(d*d)),d=B(v[_+-12>>2]-BA),(d=B(p+B(d*d)))!=G){if(d>2]>=(0|n))break f}if(m=m+1|0,(d=v[(y=(_=_+24|0)+-4|0)>>2])==W)break a;h=0;continue}for(h=R(w,24);;){f:{n:{if(W!=(d=v[(F=(Q=h+D|0)+16|0)>>2])){if(W>2]-E),p=B(d*d),d=B(v[Q+4>>2]-j),p=B(p+B(d*d)),d=B(v[Q+8>>2]-BA),G!=(d=B(p+B(d*d)))){if(G=b[Q+20>>2])break f}h=h+-24|0,w=w+-1|0;continue}break}if((0|m)<=(0|w)&&(Z=b[y+4>>2],b[(D=f+24|0)>>2]=b[y>>2],b[D+4>>2]=Z,wi=b[(Z=_+-12|0)+4>>2],b[(Y=Be=f+16|0)>>2]=b[Z>>2],b[Y+4>>2]=wi,Y=b[(_=_+-20|0)+4>>2],b[f+8>>2]=b[_>>2],b[f+12>>2]=Y,Y=b[F+4>>2],b[y>>2]=b[F>>2],b[y+4>>2]=Y,F=b[(y=Q+8|0)+4>>2],b[Z>>2]=b[y>>2],b[Z+4>>2]=F,y=b[Q+4>>2],b[_>>2]=b[Q>>2],b[_+4>>2]=y,Q=b[f+12>>2],h=b[t>>2]+h|0,b[(_=h)>>2]=b[f+8>>2],b[_+4>>2]=Q,Q=b[D+4>>2],b[(_=_+16|0)>>2]=b[D>>2],b[_+4>>2]=Q,_=b[Be+4>>2],b[(h=h+8|0)>>2]=b[Be>>2],b[h+4>>2]=_,w=w+-1|0,m=m+1|0),(0|m)<=(0|w)){D=b[t>>2];continue e}f:{if((0|w)<=(0|i)){if((0|m)<(0|a))break f;break i}if(A(r,e,i,w),(0|m)>=(0|a))break i}return A(r,e,m,a),void(N=f+32|0)}h=1;continue}break}break}N=f+32|0}(r,a+8|0,1,d+-1|0),t=b[(D=r+12|0)>>2],(0|(g=b[e+4>>2]))==b[e+8>>2]&&!((0|g)>=(0|(G=g?g<<1:1)))){e:{i:{if(G){if(y=CA(R(G,24),16),(0|(g=b[e+4>>2]))>=1)break i;break e}if(y=0,(0|g)<1)break e}for(n=0,E=e+12|0;h=b[E>>2]+n|0,Be=b[(d=h)+4>>2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(f+B(B(E-t)*B(.5))),n=B(f+B(B(D-n)*B(.5))),f=B(f+B(B(Q-R)*B(.5))),_=B(B(B(t*B(m(F)))+B(n*B(m(p))))+B(f*B(m(_)))),v[i+8>>2]=h-_,R=B(N+B(B(B(d*W)+B(G*g))+B(y*C))),C=B(B(B(t*B(m(W)))+B(n*B(m(g))))+B(f*B(m(C)))),v[i+4>>2]=R-C,g=B(j+B(B(B(d*Z)+B(G*Y))+B(y*w))),f=B(B(B(t*B(m(Z)))+B(n*B(m(Y))))+B(f*B(m(w)))),v[i>>2]=g-f,b[a+12>>2]=0,v[a+8>>2]=_+h,v[a+4>>2]=C+R,v[a>>2]=f+g}function rr(r,e,i,a){e|=0,i|=0,a|=0,BA[b[b[(r|=0)>>2]+80>>2]](r,e,i,a)}function er(r){var e;return b[(r|=0)>>2]=7168,(e=b[r+56>>2])&&(BA[b[b[e>>2]>>2]](e),gA(b[r+56>>2])),0|r}function ir(r,e){var i=B(0),a=B(0),f=B(0),n=B(0),t=B(0);return i=v[r+48>>2],a=v[r+52>>2],f=v[r+56>>2],n=v[r+60>>2],t=B(v[r+64>>2]+v[e+64>>2]),B(B(B(B(B(v[e>>2]*i)+B(v[e+4>>2]*a))+B(v[e+8>>2]*f))-n)-t)>B(0)^1|B(B(B(B(B(i*v[e+16>>2])+B(a*v[e+20>>2]))+B(f*v[e+24>>2]))-n)-t)>B(0)^1|!(B(B(B(B(B(i*v[e+32>>2])+B(a*v[e+36>>2]))+B(f*v[e+40>>2]))-n)-t)>B(0))?(i=v[e+48>>2],a=v[e+52>>2],f=v[e+56>>2],n=v[e+60>>2],B(B(B(B(B(v[r>>2]*i)+B(v[r+4>>2]*a))+B(v[r+8>>2]*f))-n)-t)>B(0)^1|B(B(B(B(B(i*v[r+16>>2])+B(a*v[r+20>>2]))+B(f*v[r+24>>2]))-n)-t)>B(0)^1|B(B(B(B(B(i*v[r+32>>2])+B(a*v[r+36>>2]))+B(f*v[r+40>>2]))-n)-t)>B(0)^1):0}function ar(r,e,i){var a,f=B(0),n=B(0),t=B(0),C=B(0),g=B(0),d=B(0),_=B(0),R=B(0),m=B(0),h=B(0),G=0,y=0,Q=0,D=0,w=B(0),Z=0;N=a=N-528|0,d=v[(G=r+20|0)>>2],n=B(d-v[r+4>>2]),C=v[(y=r+56|0)>>2],_=v[(Q=r+24|0)>>2],t=B(_-v[r+8>>2]),g=v[(D=r+52|0)>>2],w=f=B(B(n*C)-B(t*g)),R=v[r+16>>2],m=B(R-v[r>>2]),h=B(m*g),g=v[r+48>>2],n=B(h-B(n*g)),h=B(f*f),f=B(B(t*g)-B(m*C)),C=B(B(1)/B(p(B(B(n*n)+B(h+B(f*f)))))),t=B(w*C),v[a+256>>2]=t,f=B(f*C),v[a+260>>2]=f,n=B(n*C),v[a+264>>2]=n,v[a+268>>2]=B(_*n)+B(B(R*t)+B(d*f));A:{if(e=function(r,e,i,a,f){var n=0,t=B(0),C=B(0),g=B(0),d=0,_=B(0),R=0,m=B(0),h=B(0),G=B(0),y=B(0),Q=B(0),p=0,D=B(0),w=0;m=v[e>>2],t=v[r>>2],C=v[r+4>>2],g=v[r+8>>2],_=v[r+12>>2],(d=(h=B(B(B(B(m*t)+B(v[e+4>>2]*C))+B(v[e+8>>2]*g))-_))>B(1.1920928955078125e-7))||(n=b[e+4>>2],b[f>>2]=b[e>>2],b[f+4>>2]=n,p=b[(R=e+8|0)+4>>2],b[(n=f+8|0)>>2]=b[R>>2],b[n+4>>2]=p,_=v[r+12>>2],g=v[r+8>>2],C=v[r+4>>2],t=v[r>>2],n=1),G=v[i>>2],y=v[i+4>>2],Q=v[i+8>>2],((t=B(B(B(B(G*t)+B(y*C))+B(Q*g))-_))>B(1.1920928955078125e-7)|0)!=(0|d)&&(_=v[e+4>>2],D=v[e+8>>2],b[(d=(n<<4)+f|0)+12>>2]=0,C=B(B(-h)/B(t-h)),g=B(B(1)-C),v[d+8>>2]=B(Q*C)+B(D*g),v[d+4>>2]=B(y*C)+B(g*_),v[d>>2]=B(G*C)+B(m*g),n=n+1|0),(d=t>B(1.1920928955078125e-7))||(w=b[i+4>>2],b[(R=(n<<4)+f|0)>>2]=b[i>>2],b[R+4>>2]=w,w=b[(p=i+8|0)+4>>2],b[(R=R+8|0)>>2]=b[p>>2],b[R+4>>2]=w,n=n+1|0),_=v[a>>2],m=v[a+4>>2],G=v[a+8>>2],((C=B(B(B(B(_*v[r>>2])+B(m*v[r+4>>2]))+B(G*v[r+8>>2]))-v[r+12>>2]))>B(1.1920928955078125e-7)|0)!=(0|d)&&(y=v[i+4>>2],Q=v[i+8>>2],D=v[i>>2],b[(r=(n<<4)+f|0)+12>>2]=0,t=B(B(-t)/B(C-t)),g=B(B(1)-t),v[r+8>>2]=B(G*t)+B(Q*g),v[r+4>>2]=B(m*t)+B(g*y),v[r>>2]=B(_*t)+B(g*D),n=n+1|0);r:{e:{i:{if(C>B(1.1920928955078125e-7)){if(!(h>B(1.1920928955078125e-7)))break i;break r}if(i=b[a+4>>2],b[(r=(n<<4)+f|0)>>2]=b[a>>2],b[r+4>>2]=i,d=b[(i=a+8|0)+4>>2],b[(r=r+8|0)>>2]=b[i>>2],b[r+4>>2]=d,n=n+1|0,!(h>B(1.1920928955078125e-7)))break e}if(g=v[a+4>>2],_=v[e+4>>2],t=v[a+8>>2],m=v[e+8>>2],G=v[a>>2],y=v[e>>2],b[(r=(n<<4)+f|0)+12>>2]=0,Q=t,t=B(B(-C)/B(h-C)),C=B(B(1)-t),v[r+8>>2]=B(Q*C)+B(t*m),v[r+4>>2]=B(C*g)+B(t*_),v[r>>2]=B(C*G)+B(t*y),n=n+1|0,h>B(1.1920928955078125e-7))break r}i=b[e+4>>2],b[(r=(n<<4)+f|0)>>2]=b[e>>2],b[r+4>>2]=i,i=b[(e=e+8|0)+4>>2],b[(r=r+8|0)>>2]=b[e>>2],b[r+4>>2]=i,n=n+1|0}return n}(a+256|0,e,e+16|0,e+32|0,a+272|0)){if(Z=a+264|0,d=v[r+32>>2],n=B(d-v[r+16>>2]),C=v[D>>2],_=v[(D=r+36|0)>>2],t=B(_-v[G>>2]),g=v[(G=r+48|0)>>2],w=f=B(B(n*C)-B(t*g)),h=B(f*f),f=t,t=v[y>>2],R=v[(y=r+40|0)>>2],m=B(R-v[Q>>2]),f=B(B(f*t)-B(m*C)),n=B(B(m*g)-B(n*t)),C=B(B(1)/B(p(B(h+B(B(f*f)+B(n*n)))))),t=B(w*C),v[Z>>2]=t,n=B(n*C),v[a+260>>2]=n,f=B(f*C),v[a+256>>2]=f,v[(Q=a+268|0)>>2]=B(R*t)+B(B(d*f)+B(_*n)),!(e=fr(a+256|0,a+272|0,e,a)))break A;return d=v[r>>2],n=B(d-v[r+32>>2]),C=v[r+52>>2],_=v[r+4>>2],t=B(_-v[D>>2]),g=v[G>>2],w=f=B(B(n*C)-B(t*g)),h=B(f*f),f=t,t=v[r+56>>2],R=v[r+8>>2],m=B(R-v[y>>2]),f=B(B(f*t)-B(m*C)),n=B(B(m*g)-B(n*t)),C=B(B(1)/B(p(B(h+B(B(f*f)+B(n*n)))))),t=B(w*C),v[Z>>2]=t,n=B(n*C),v[a+260>>2]=n,f=B(f*C),v[a+256>>2]=f,v[Q>>2]=B(R*t)+B(B(d*f)+B(_*n)),r=fr(a+256|0,a,e,i),N=a+528|0,r}return N=a+528|0,0}return N=a+528|0,0}function fr(r,e,i,a){var f=0,n=0,t=B(0),C=B(0),g=B(0),d=0,_=0,R=B(0),m=B(0),h=B(0),G=B(0),y=0,Q=0,p=B(0),D=0,w=0,Z=0,Y=B(0),W=B(0);if((g=B(B(B(B(v[e>>2]*v[r>>2])+B(v[e+4>>2]*v[r+4>>2]))+B(v[e+8>>2]*v[r+8>>2]))-v[r+12>>2]))>B(1.1920928955078125e-7)||(f=b[e+4>>2],b[a>>2]=b[e>>2],b[a+4>>2]=f,n=b[(d=e+8|0)+4>>2],b[(f=a+8|0)>>2]=b[d>>2],b[f+4>>2]=n,n=1),(0|i)>=2)for(y=i+-1|0,D=r+8|0,w=r+4|0,Z=r+12|0,f=e,C=g;m=v[(d=f+16|0)>>2],h=v[f+20>>2],G=v[(Q=f+24|0)>>2],(0|(_=(t=B(B(B(B(m*v[r>>2])+B(h*v[w>>2]))+B(G*v[D>>2]))-v[Z>>2]))>B(1.1920928955078125e-7)))!=(C>B(1.1920928955078125e-7)|0)&&(p=v[f+4>>2],Y=v[f+8>>2],W=v[f>>2],b[(f=(n<<4)+a|0)+12>>2]=0,C=B(B(-C)/B(t-C)),R=B(B(1)-C),v[f+8>>2]=B(G*C)+B(Y*R),v[f+4>>2]=B(h*C)+B(R*p),v[f>>2]=B(m*C)+B(R*W),n=n+1|0),_||(_=b[d+4>>2],b[(f=(n<<4)+a|0)>>2]=b[d>>2],b[f+4>>2]=_,_=b[Q+4>>2],b[(f=f+8|0)>>2]=b[Q>>2],b[f+4>>2]=_,n=n+1|0),f=d,C=t,y=y+-1|0;);else t=g;A:{r:{if((0|(f=g>B(1.1920928955078125e-7)))==(t>B(1.1920928955078125e-7)|0)){if(!f)break r;break A}if(C=v[(r=(i+-1<<4)+e|0)>>2],R=v[r+4>>2],m=v[e+4>>2],h=v[r+8>>2],G=v[e+8>>2],p=v[e>>2],b[(r=(n<<4)+a|0)+12>>2]=0,t=B(B(-t)/B(g-t)),g=B(B(1)-t),v[r+8>>2]=B(h*g)+B(t*G),v[r+4>>2]=B(g*R)+B(t*m),v[r>>2]=B(g*C)+B(t*p),n=n+1|0,f)break A}return i=b[e+4>>2],b[(r=(n<<4)+a|0)>>2]=b[e>>2],b[r+4>>2]=i,i=b[(e=e+8|0)+4>>2],b[(r=r+8|0)>>2]=b[e>>2],b[r+4>>2]=i,n+1|0}return n}function nr(r,e,i){var a,f=0,n=0,t=0,C=0,g=B(0),d=B(0),_=0,R=0,m=0,h=B(0),G=0,y=B(0),Q=B(0),p=B(0),D=B(0),w=B(0);if(N=a=N-880|0,d=v[e+64>>2],g=v[r+64>>2],f=b[(R=r+56|0)+4>>2],b[(C=a+296|0)>>2]=b[R>>2],b[C+4>>2]=f,f=b[r+52>>2],b[a+288>>2]=b[r+48>>2],b[a+292>>2]=f,(f=ar(r,e,a+560|0))&&(b[a+280>>2]=-998637568,b[a+284>>2]=0,!((0|f)<=0))){for(D=B(g+d),R=a+288|0,y=v[a+300>>2],Q=v[a+296>>2],p=v[a+292>>2],C=0,h=B(-1e3),n=a+560|0,d=v[a+288>>2];(g=B(D-B(B(B(B(v[n>>2]*d)+B(v[n+4>>2]*p))+B(v[n+8>>2]*Q))-y)))>=B(0)&&(g>h?(b[a+816>>2]=t,C=1,h=g):B(g+B(1.1920928955078125e-7))>=h&&(b[(a+816|0)+(C<<2)>>2]=t,C=C+1|0)),n=n+16|0,(0|f)!=(0|(t=t+1|0)););if(v[a+280>>2]=h,b[a+284>>2]=C,(0|C)>=1)for(n=a+304|0,t=a+816|0,f=C;G=(a+560|0)+(b[t>>2]<<4)|0,m=b[G+4>>2],b[n>>2]=b[G>>2],b[n+4>>2]=m,m=b[G+12>>2],b[(_=n+8|0)>>2]=b[G+8>>2],b[_+4>>2]=m,t=t+4|0,n=n+16|0,f=f+-1|0;);if(C&&(v[(f=a+288|0)>>2]=-v[f>>2],v[(f=a+292|0)>>2]=-v[f>>2],v[(f=a+296|0)>>2]=-v[f>>2],f=b[(m=e+56|0)+4>>2],b[(_=a+16|0)>>2]=b[m>>2],b[_+4>>2]=f,f=b[e+52>>2],b[a+8>>2]=b[e+48>>2],b[a+12>>2]=f,(r=ar(e,r,a+560|0))&&(b[a>>2]=-998637568,b[a+4>>2]=0,!((0|r)<=0)))){for(w=v[a+20>>2],y=v[a+16>>2],Q=v[a+12>>2],f=0,d=B(-1e3),n=a+560|0,p=v[a+8>>2],t=0;(g=B(D-B(B(B(B(v[n>>2]*p)+B(v[n+4>>2]*Q))+B(v[n+8>>2]*y))-w)))>=B(0)&&(g>d?(b[a+816>>2]=t,f=1,d=g):B(g+B(1.1920928955078125e-7))>=d&&(b[(a+816|0)+(f<<2)>>2]=t,f=f+1|0)),n=n+16|0,(0|r)!=(0|(t=t+1|0)););if(v[a>>2]=d,b[a+4>>2]=f,(0|f)>=1)for(n=a+24|0,t=a+816|0,r=f;_=(a+560|0)+(b[t>>2]<<4)|0,e=b[_+4>>2],b[n>>2]=b[_>>2],b[n+4>>2]=e,e=b[_+12>>2],b[(m=n+8|0)>>2]=b[_+8>>2],b[m+4>>2]=e,t=t+4|0,n=n+16|0,r=r+-1|0;);if(f){if(d>2]=d,b[i+4>>2]=f,r=b[(e=a+8|0)+4>>2],b[i+8>>2]=b[e>>2],b[i+12>>2]=r,r=b[(e=e+8|0)+4>>2],b[(R=i+16|0)>>2]=b[e>>2],b[R+4>>2]=r,n=(r=f<<4)+(i+8|0)|0,t=8+(r+a|0)|0;r=b[t+4>>2],b[n>>2]=b[t>>2],b[n+4>>2]=r,r=b[(e=t+8|0)+4>>2],b[(i=n+8|0)>>2]=b[e>>2],b[i+4>>2]=r,t=t+-16|0,n=n+-16|0,f=f+-1|0;);else for(v[i>>2]=h,b[i+4>>2]=C,r=b[R+4>>2],b[i+8>>2]=b[R>>2],b[i+12>>2]=r,r=b[(e=R+8|0)+4>>2],b[(f=i+16|0)>>2]=b[e>>2],b[f+4>>2]=r,n=(r=C<<4)+(i+8|0)|0,t=288+(r+a|0)|0;r=b[t+4>>2],b[n>>2]=b[t>>2],b[n+4>>2]=r,r=b[(e=t+8|0)+4>>2],b[(i=n+8|0)>>2]=b[e>>2],b[i+4>>2]=r,t=t+-16|0,n=n+-16|0,C=C+-1|0;);return N=a+880|0,1}}}return N=a+880|0,0}function tr(r){!function(r){var e=0;ZA(r),f[r+92|0]=0,b[r+88>>2]=0,b[(e=r+80|0)>>2]=-1082130432,b[e+4>>2]=-1082130432,b[(e=r+72|0)>>2]=0,b[e+4>>2]=-1082130432,b[(e=r- -64|0)>>2]=1065353216,b[e+4>>2]=1065353216,b[r>>2]=7300,b[r+56>>2]=0,b[r+60>>2]=1065353216}(r),b[r+96>>2]=0,b[r>>2]=7524,b[r+4>>2]=2}function br(r){return b[(r|=0)+96>>2]}function or(r,e,i,a){}function kr(r,e){return 0}function cr(r){er(r|=0),gA(r)}function ur(r){var e=0;b[r>>2]=1025,b[r+160>>2]=0,b[(e=r+152|0)>>2]=0,b[e+4>>2]=0,b[(e=r+144|0)>>2]=0,b[e+4>>2]=0,b[(e=r+136|0)>>2]=0,b[e+4>>2]=0,b[(e=r+128|0)>>2]=0,b[e+4>>2]=0,b[(e=r+120|0)>>2]=0,b[e+4>>2]=0,b[r+352>>2]=0,b[(e=r+344|0)>>2]=0,b[e+4>>2]=0,b[(e=r+336|0)>>2]=0,b[e+4>>2]=0,b[(e=r+328|0)>>2]=0,b[e+4>>2]=0,b[(e=r+320|0)>>2]=0,b[e+4>>2]=0,b[(e=r+312|0)>>2]=0,b[e+4>>2]=0,b[r+544>>2]=0,b[(e=r+536|0)>>2]=0,b[e+4>>2]=0,b[(e=r+528|0)>>2]=0,b[e+4>>2]=0,b[(e=r+520|0)>>2]=0,b[e+4>>2]=0,b[(e=r+512|0)>>2]=0,b[e+4>>2]=0,b[(e=r+504|0)>>2]=0,b[e+4>>2]=0,b[r+736>>2]=0,b[(e=r+728|0)>>2]=0,b[e+4>>2]=0,b[(e=r+720|0)>>2]=0,b[e+4>>2]=0,b[(e=r+712|0)>>2]=0,b[e+4>>2]=0,b[(e=r+704|0)>>2]=0,b[e+4>>2]=0,b[(e=r+696|0)>>2]=0,b[e+4>>2]=0,b[r+800>>2]=0,b[r+780>>2]=0,b[r+772>>2]=0,b[r+776>>2]=0}function lr(r){var e,i=0;(e=b[r+116>>2])&&((i=b[425])&&(BA[i](e),b[r+116>>2]=0))}function sr(r,e){var i=0,a=0,f=0,n=0;A:if(4!=(0|(i=b[r+780>>2])))b[r+780>>2]=i+1;else{if(i=function(r,e){var i,a=B(0),f=B(0),n=B(0),t=B(0),b=B(0),g=B(0),d=B(0),_=B(0),R=B(0),h=B(0),G=B(0),y=B(0),Q=B(0),p=B(0),D=B(0),w=B(0),Z=B(0),Y=0,W=B(0),F=B(0),E=B(0),N=B(0),j=B(0),BA=B(0),Be=B(0),ui=B(0),gi=B(0),Ri=B(0),wi=B(0),Xi=B(0),Da=B(0),Ia=B(0),yf=B(0),Qf=0,pf=B(0),Df=B(0),wf=B(0),Zf=B(0),Yf=B(0);Qf=1^(Y=(a=v[r+84>>2])<(d=v[e+80>>2]))?-1:0,i=(Y=(g=v[r+276>>2])<(a=Y?a:d))?1:Qf,Y=(d=v[r+468>>2])<(a=Y?g:a),Y=(Qf=v[r+660>>2]<(Y?d:a))?3:Y?2:i,b=v[e>>2];r:{e:{i:{a:{f:{n:{t:{b:{o:{if(C[3180]){if(!Y)break o;if(y=v[r+196>>2],R=B(b-y),h=v[r+584>>2],Q=v[r+392>>2],a=B(h-Q),f=v[e+4>>2],p=v[r+200>>2],g=B(f-p),Z=v[r+580>>2],F=v[r+388>>2],d=B(Z-F),_=B(B(R*a)-B(g*d)),n=B(_*_),W=g,t=v[r+588>>2],D=v[r+396>>2],g=B(t-D),_=v[e+8>>2],w=v[r+204>>2],E=B(_-w),N=B(B(W*g)-B(E*a)),R=B(B(E*d)-B(R*g)),n=W=B(n+B(B(N*N)+B(R*R))),1!=(0|Y))break b;b=B(b-v[r+4>>2]),_=B(_-v[r+12>>2]),f=B(f-v[r+8>>2]),g=B(0);break t}if(E=v[e+8>>2],N=v[e+4>>2],!Y)break f;if(t=v[r+196>>2],w=B(b-t),Q=v[r+392>>2],f=v[r+584>>2],g=B(Q-f),wi=v[r+200>>2],F=B(N-wi),D=v[r+388>>2],_=v[r+580>>2],BA=B(D-_),a=B(B(w*g)-B(F*BA)),W=B(a*a),h=v[r+396>>2],R=v[r+588>>2],Be=B(h-R),Xi=v[r+204>>2],Z=B(E-Xi),a=B(B(F*Be)-B(Z*g)),n=B(a*a),a=B(B(Z*BA)-B(w*Be)),d=B(W+B(n+B(a*a))),a=B(b-D),ui=B(wi-f),y=B(N-Q),pf=B(t-_),p=B(B(a*ui)-B(y*pf)),W=B(p*p),Df=B(Xi-R),p=B(E-h),n=B(B(y*Df)-B(p*ui)),G=B(n*n),n=B(B(p*pf)-B(a*Df)),n=d>(n=B(W+B(G+B(n*n))))?d:n,G=B(wi-Q),d=B(b-_),j=B(t-D),Ia=B(N-f),gi=B(B(G*d)-B(j*Ia)),W=B(gi*gi),Ri=B(Xi-h),gi=B(E-R),G=B(B(Ri*Ia)-B(G*gi)),Da=B(G*G),G=B(B(j*gi)-B(Ri*d)),n=W=n>(G=B(W+B(Da+B(G*G))))?n:G,1!=(0|Y))break a;n=v[r+4>>2],wf=B(n-_),Ri=B(b-n),G=v[r+12>>2],Zf=B(G-R),j=v[r+8>>2],Yf=B(j-f),Da=B(E-G),yf=B(N-j),g=B(0);break i}t=v[r+588>>2],D=v[r+396>>2],g=B(t-D),h=v[r+584>>2],Q=v[r+392>>2],a=B(h-Q),Z=v[r+580>>2],F=v[r+388>>2],d=B(Z-F),_=v[e+8>>2],f=v[e+4>>2],n=B(0)}if(W=n,b=B(b-v[r+4>>2]),f=B(f-v[r+8>>2]),R=B(B(b*a)-B(f*d)),_=B(_-v[r+12>>2]),a=B(B(f*g)-B(_*a)),n=B(a*a),a=B(B(_*d)-B(b*g)),g=B(B(R*R)+B(n+B(a*a))),w=v[r+204>>2],p=v[r+200>>2],y=v[r+196>>2],d=B(0),2==(0|Y))break n}if(a=B(h-p),d=B(Z-y),R=B(B(b*a)-B(f*d)),n=B(R*R),R=B(t-w),a=B(B(f*R)-B(_*a)),t=B(a*a),a=B(B(_*d)-B(b*R)),d=B(n+B(t+B(a*a))),a=B(0),Qf)break r}a=B(Q-p),R=B(F-y),y=B(B(b*a)-B(f*R)),n=f,f=B(D-w),a=B(B(n*f)-B(_*a)),n=B(a*a),a=B(B(_*R)-B(b*f)),a=B(B(y*y)+B(n+B(a*a)));break r}h=v[r+396>>2],R=v[r+588>>2],Be=B(h-R),Q=v[r+392>>2],f=v[r+584>>2],g=B(Q-f),D=v[r+388>>2],_=v[r+580>>2],BA=B(D-_),gi=B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=B(N-Q),a=B(b-D)}b=B(wi-Q),Q=B(t-D),D=B(B(Ri*b)-B(yf*Q)),h=B(Xi-h),b=B(B(yf*h)-B(Da*b)),n=B(b*b),b=B(B(Da*Q)-B(Ri*h)),b=B(B(D*D)+B(n+B(b*b))),h=B(B(w*BA)-B(F*Be)),n=B(h*h),h=B(B(F*ui)-B(Z*BA)),t=B(h*h),h=B(B(Z*Be)-B(w*ui)),b=b>(h=B(n+B(t+B(h*h))))?b:h,h=B(B(_*a)-B(R*y)),_=B(B(f*y)-B(_*p)),a=B(B(R*p)-B(f*a)),a=b>(a=B(B(h*h)+B(B(_*_)+B(a*a))))?b:a}return e=1^(r=(b=B(m(W)))>B(-0xde0b6b000000000))?-1:0,e=(r=(g=B(m(g)))>(b=r?b:B(-0xde0b6b000000000)))?1:e,r=(d=B(m(d)))>(g=r?g:b),B(m(a))>(r?d:g)?3:r?2:e}(r,e),a=120+(R(i,192)+r|0)|0,!(f=b[a>>2]))break A;if(!(n=b[425]))break A;BA[n](f),b[a>>2]=0}return J(4+(r+R(i=(0|i)>0?i:0,192)|0)|0,e,192),i}function dr(r,e,i){var a,f=0,n=B(0),t=B(0),C=B(0),g=0,d=0,_=0,m=B(0),h=0,G=B(0),y=B(0),Q=B(0),p=B(0),D=B(0),w=B(0),Z=B(0),Y=B(0),W=B(0),F=B(0),E=B(0),j=B(0),Be=B(0),ui=B(0),gi=0,Ri=0,wi=0;N=a=N-16|0;A:if(!((0|(g=b[r+780>>2]))<1)){for(f=(R(g,192)+r|0)-188|0,d=g;Q=v[e+48>>2],Z=v[e+4>>2],Y=v[e+8>>2],p=v[e+52>>2],W=v[e+16>>2],m=v[e+20>>2],F=v[e+24>>2],n=v[e+56>>2],C=v[e+32>>2],t=v[e+36>>2],D=v[e+40>>2],E=v[e>>2],b[f+60>>2]=0,G=n,n=v[f>>2],y=B(C*n),C=v[f+4>>2],y=B(y+B(t*C)),t=v[f+8>>2],D=B(G+B(y+B(D*t))),v[f+56>>2]=D,p=B(p+B(B(B(n*W)+B(C*m))+B(t*F))),v[f+52>>2]=p,Q=B(Q+B(B(B(n*E)+B(C*Z))+B(t*Y))),v[f+48>>2]=Q,Z=v[i+48>>2],Y=v[i+4>>2],W=v[i+8>>2],m=v[i+52>>2],F=v[i+24>>2],E=v[i+16>>2],j=v[i+20>>2],n=v[i+56>>2],t=v[i+40>>2],C=v[i+32>>2],w=v[i+36>>2],Be=v[i>>2],b[f+44>>2]=0,G=n,n=v[f+16>>2],ui=B(C*n),C=v[f+20>>2],y=t,t=v[f+24>>2],w=B(G+B(B(ui+B(w*C))+B(y*t))),v[f+40>>2]=w,m=B(m+B(B(B(n*E)+B(C*j))+B(t*F))),v[f+36>>2]=m,n=B(Z+B(B(B(n*Be)+B(C*Y))+B(t*W))),v[f+32>>2]=n,v[f+80>>2]=B(B(B(Q-n)*v[f- -64>>2])+B(B(p-m)*v[f+68>>2]))+B(B(D-w)*v[f+72>>2]),b[(h=f+156|0)>>2]=b[h>>2]+1,f=f+-192|0,(0|(d=d+-1|0))>0;);if(!((0|g)<1))for(e=R(g,192),gi=r+784|0,d=r+780|0,Ri=r+776|0,wi=r+772|0;;){g=g+-1|0,h=(i=r+e|0)+-188|0;r:{if(!((n=v[i+-108>>2])<=(C=v[gi>>2]))){if((f=b[(i=i+-72|0)>>2])&&((_=b[425])&&(BA[_](f),b[i>>2]=0)),_=d,(0|g)!=(0|(i=(f=b[d>>2])+-1|0))&&(J(h,(i=R(i,192)+r|0)+4|0,192),b[i+136>>2]=0,b[(f=i+128|0)>>2]=0,b[f+4>>2]=0,b[(f=i+120|0)>>2]=0,b[f+4>>2]=0,b[i+160>>2]=0,f=b[d>>2]),i=f+-1|0,b[_>>2]=i,i)break r;if(!(i=b[428]))break r;if(b[a+12>>2]=r,BA[i](a+12|0),e=e+-192|0,(0|g)>0)continue;break A}if(t=B(v[i+-156>>2]-B(v[i+-140>>2]-B(v[i+-124>>2]*n))),G=B(t*t),t=B(v[i+-152>>2]-B(v[i+-136>>2]-B(n*v[i+-120>>2]))),n=B(v[i+-148>>2]-B(v[i+-132>>2]-B(n*v[i+-116>>2]))),B(B(G+B(t*t))+B(n*n))>B(C*C)){if((f=b[(i=i+-72|0)>>2])&&((_=b[425])&&(BA[_](f),b[i>>2]=0)),_=d,(0|g)!=(0|(i=(f=b[d>>2])+-1|0))&&(J(h,(i=R(i,192)+r|0)+4|0,192),b[i+136>>2]=0,b[(f=i+128|0)>>2]=0,b[f+4>>2]=0,b[(f=i+120|0)>>2]=0,b[f+4>>2]=0,b[i+160>>2]=0,f=b[d>>2]),i=f+-1|0,b[_>>2]=i,i)break r;if(!(i=b[428]))break r;if(b[a+8>>2]=r,BA[i](a+8|0),e=e+-192|0,(0|g)>0)continue;break A}(i=b[426])&&BA[i](h,b[wi>>2],b[Ri>>2])}if(e=e+-192|0,!((0|g)>0))break}}N=a+16|0}function vr(r,e){return B(v[r+232>>2]*v[e+232>>2])}function Cr(r){rA(r|=0)}function gr(r,e,i){b[76+((R(e,144)+r|0)+(i<<2)|0)>>2]=1724}function _r(r){return b[(r|=0)+72>>2]}function Br(r,e,i){var a=0,f=0;(a=b[r+12>>2])||(a=b[r+4>>2],a=0|BA[b[b[a>>2]+12>>2]](a,b[e+8>>2],b[i+8>>2]),b[r+12>>2]=a),b[b[r+16>>2]+4>>2]=a,f=b[r+4>>2],a=0|BA[b[b[f>>2]+8>>2]](f,e,i,a,1),f=b[r+16>>2],BA[b[b[f>>2]+8>>2]](f,b[r+28>>2],b[r+24>>2]),f=b[r+16>>2],BA[b[b[f>>2]+12>>2]](f,b[r+36>>2],b[r+32>>2]),BA[b[b[a>>2]+8>>2]](a,e,i,b[r+20>>2],b[r+16>>2]),BA[b[b[a>>2]>>2]](a),r=b[r+4>>2],BA[b[b[r>>2]+60>>2]](r,a)}function mr(r,e,i,a,f){var n,t=0;N=n=N-48|0,t=b[r+16>>2],BA[b[b[t>>2]+8>>2]](t,b[r+28>>2],b[r+24>>2]),t=b[r+16>>2],BA[b[b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952|0)>>2]=b[G>>2],b[h+4>>2]=_,h=b[g+32>>2],G=b[g+36>>2],y=b[(Da=g+56|0)+4>>2],b[(_=t+968|0)>>2]=b[Da>>2],b[_+4>>2]=y,b[(_=t+936|0)>>2]=gi,b[_+4>>2]=R,b[(R=t+920|0)>>2]=m,b[R+4>>2]=d,b[t+912>>2]=Xi,b[t+916>>2]=yf,d=b[g+52>>2],b[t+960>>2]=b[g+48>>2],b[t+964>>2]=d,b[t+944>>2]=h,b[t+948>>2]=G,b[t+928>>2]=Ri,b[t+932>>2]=wi,g=b[i+12>>2],m=b[(d=g+8|0)>>2],d=b[d+4>>2],gi=b[(R=g+24|0)>>2],R=b[R+4>>2],Ri=b[g+16>>2],wi=b[g+20>>2],Xi=b[g>>2],yf=b[g+4>>2],_=b[(G=g+40|0)+4>>2],b[(h=t+888|0)>>2]=b[G>>2],b[h+4>>2]=_,h=b[g+32>>2],G=b[g+36>>2],y=b[(Da=g+56|0)+4>>2],b[(_=t+904|0)>>2]=b[Da>>2],b[_+4>>2]=y,b[(_=t+872|0)>>2]=gi,b[_+4>>2]=R,b[(R=t+856|0)>>2]=m,b[R+4>>2]=d,b[t+848>>2]=Xi,b[t+852>>2]=yf,d=b[g+52>>2],b[t+896>>2]=b[g+48>>2],b[t+900>>2]=d,b[t+880>>2]=h,b[t+884>>2]=G,b[t+864>>2]=Ri,b[t+868>>2]=wi,b[t+828>>2]=0,rn=t,en=CA(256,16),b[rn+836>>2]=en,f[t+840|0]=1,b[t+832>>2]=32,function(r,e,i,a,n){var t,g=0,d=0,_=0,R=0,B=0,m=0,h=0,G=0,y=0,Q=0,p=0,D=0,w=0,Z=0,Y=0,W=0,F=0,E=0;if(N=t=N+-64|0,!(!b[i+72>>2]|!b[a+72>>2]))return RA(i+72|0,r,a+72|0,e,n),void(N=t- -64|0);if(d=0|BA[b[b[i>>2]+88>>2]](i))for(D=t+16|0,w=t+48|0,Y=t+52|0,W=t+56|0,F=t+8|0,B=n+4|0,_=n+12|0;;){if(d=d+-1|0,BA[b[b[i>>2]+120>>2]](i,d,r,t+32|0,w),R=0|BA[b[b[a>>2]+88>>2]](a))for(;;){if(BA[b[b[a>>2]+120>>2]](a,d,e,t,D),R=R+-1|0,!(v[D>>2]>2]|v[t>>2]>v[w>>2]|v[t+20>>2]>2]|v[t+4>>2]>v[Y>>2]|v[t+24>>2]>2]|v[F>>2]>v[W>>2])){if((0|(g=b[B>>2]))==b[(Z=n+8|0)>>2]&&!((0|g)>=(0|(m=g?g<<1:1)))){r:{e:{i:{a:{if(m){if(Q=CA(m<<3,16),h=b[_>>2],(0|(g=b[B>>2]))<1)break a;break i}if(Q=0,h=b[_>>2],(0|g)>=1)break i}if(!h)break r;break e}for(G=h,y=Q,p=g;E=b[G+4>>2],b[y>>2]=b[G>>2],b[y+4>>2]=E,G=G+8|0,y=y+8|0,p=p+-1|0;);}C[n+16|0]&&(gA(h),g=b[B>>2]),b[_>>2]=0}b[_>>2]=Q,f[n+16|0]=1,b[Z>>2]=m}b[B>>2]=g+1,g=b[_>>2]+(g<<3)|0,b[g+4>>2]=R,b[g>>2]=d}if(!R)break}if(!d)break}N=t- -64|0}(t+912|0,t+848|0,a,n,t+824|0);r:{if(b[t+828>>2]){if(1==(0|BA[b[b[a>>2]+80>>2]](a))&&1==(0|BA[b[b[n>>2]+80>>2]](n))){if(function(r,e,i,a,f,n,t){var C,g=0,d=B(0),_=0,R=B(0),m=B(0),h=B(0),G=0,y=B(0),Q=B(0),D=0,w=B(0),Z=B(0),Y=B(0),W=B(0),F=B(0),E=B(0),j=B(0),Be=B(0),ui=B(0),gi=B(0),Ri=B(0),wi=B(0),Xi=B(0),Da=B(0),Ia=B(0),yf=B(0),Qf=B(0),pf=B(0),Df=B(0),wf=B(0),Zf=B(0),Yf=B(0),Wf=B(0),Ff=B(0),Ef=B(0),Nf=B(0),Vf=B(0),Xf=B(0),Jf=B(0),If=B(0),xf=B(0),Mf=B(0),Sf=0,Tf=B(0),Uf=0,jf=0,Of=B(0),Hf=B(0),zf=B(0),Pf=B(0),Lf=B(0),Kf=B(0),qf=0,$f=B(0);if(N=C=N-432|0,g=b[i+12>>2],ui=v[g+56>>2],gi=v[g+52>>2],Ri=v[g+40>>2],wi=v[g+36>>2],Xi=v[g+24>>2],Da=v[g+20>>2],_=b[e+12>>2],Ia=v[_+56>>2],yf=v[_+52>>2],Qf=v[_+40>>2],pf=v[_+36>>2],Df=v[_+24>>2],wf=v[_+20>>2],Zf=v[g+48>>2],Yf=v[g+32>>2],Wf=v[g+16>>2],Ff=v[g+8>>2],Ef=v[g+4>>2],Nf=v[g>>2],Vf=v[_+48>>2],Xf=v[_+32>>2],Jf=v[_+16>>2],If=v[_+8>>2],xf=v[_+4>>2],Mf=v[_>>2],b[C+424>>2]=1008981770,b[C+352>>2]=1008981770,BA[b[b[a>>2]+112>>2]](a),BA[b[b[f>>2]+112>>2]](f),t)for(Uf=C+16|0;;){if(jf=r+24|0,g=b[n>>2],b[jf>>2]=g,b[(Sf=r+32|0)>>2]=b[n+4>>2],_=0|BA[b[b[a>>2]+84>>2]](a),BA[b[b[_>>2]+20>>2]](_,g,C+360|0),g=b[Sf>>2],_=0|BA[b[b[f>>2]+84>>2]](f),BA[b[b[_>>2]+20>>2]](_,g,C+288|0),b[C+372>>2]=0,b[C+388>>2]=0,b[C+404>>2]=0,y=v[C+360>>2],w=v[C+364>>2],d=v[(g=C+368|0)>>2],m=B(Ia+B(B(B(Xf*y)+B(pf*w))+B(Qf*d))),v[g>>2]=m,h=v[(g=C+376|0)>>2],R=v[(_=C+380|0)>>2],Z=v[(G=C+384|0)>>2],Y=B(Vf+B(B(B(Mf*h)+B(xf*R))+B(If*Z))),v[g>>2]=Y,F=B(yf+B(B(B(Jf*h)+B(wf*R))+B(Df*Z))),v[_>>2]=F,Of=B(Ia+B(B(B(Xf*h)+B(pf*R))+B(Qf*Z))),v[G>>2]=Of,h=v[(g=C+392|0)>>2],R=v[(_=C+396|0)>>2],Z=v[(G=C+400|0)>>2],E=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m*m)+B(d*d)))))),Y=B(W*R),m=B(m*R),W=h,h=B(d*R),v[C+420>>2]=B(Tf*Y)+B(B(y*m)+B(W*h)),v[C+416>>2]=Y,v[C+412>>2]=h,v[C+408>>2]=m,h=B(Pf-w),y=B(Kf-Be),d=B(zf-Be),R=B(Q-w),Tf=m=B(B(h*y)-B(d*R)),W=B(m*m),m=d,d=B(Lf-Z),Q=B(Hf-Z),m=B(B(m*d)-B(Q*y)),h=B(B(Q*R)-B(h*d)),y=B(B(1)/B(p(B(W+B(B(m*m)+B(h*h)))))),d=B(Tf*y),v[C+344>>2]=d,h=B(h*y),v[C+340>>2]=h,m=B(m*y),v[C+336>>2]=m,v[C+348>>2]=B(Z*d)+B(B(w*m)+B(Be*h)),t=t+-1|0,ir(C+360|0,C+288|0)&&nr(C+360|0,C+288|0,C+8|0)&&(g=b[C+12>>2]))for(_=(g<<4)+Uf|0;m=v[C+8>>2],D=b[(G=r+16|0)>>2],BA[b[b[D>>2]+8>>2]](D,b[r+28>>2],b[jf>>2]),D=b[G>>2],BA[b[b[D>>2]+12>>2]](D,b[r+36>>2],b[Sf>>2]),g=g+-1|0,m=B(-m),(D=b[(qf=r+12|0)>>2])||(D=b[r+4>>2],D=0|BA[b[b[D>>2]+12>>2]](D,b[e+8>>2],b[i+8>>2]),b[qf>>2]=D),G=b[G>>2],b[G+4>>2]=D,BA[b[b[G>>2]+16>>2]](G,Uf,_,m),_=_+-16|0,g;);if(n=n+8|0,!t)break}BA[b[b[a>>2]+116>>2]](a),BA[b[b[f>>2]+116>>2]](f),N=C+432|0}(r,e,i,a,n,b[t+836>>2],b[t+828>>2]),r=b[t+836>>2])break r;break A}if(BA[b[b[a>>2]+112>>2]](a),BA[b[b[n>>2]+112>>2]](n),LA(t+520|4),b[(g=t+624|0)>>2]=0,b[g+4>>2]=0,b[(g=t+616|0)>>2]=0,b[g+4>>2]=0,b[(g=t+608|0)>>2]=0,b[g+4>>2]=0,b[(g=t+600|0)>>2]=0,b[g+4>>2]=0,b[(g=t+592|0)>>2]=0,b[g+4>>2]=0,b[(g=t+584|0)>>2]=0,b[g+4>>2]=0,b[t+528>>2]=1,b[t+524>>2]=8188,tr(t+632|0),b[t+728>>2]=4,b[t+812>>2]=8768,b[t+804>>2]=8688,b[t+796>>2]=8616,b[t+632>>2]=8424,b[t+520>>2]=a,g=t+804|0,BA[b[b[a>>2]+96>>2]](a)||(g=b[t+520>>2],g=0|BA[b[b[g>>2]+100>>2]](g)?t+812|0:t+796|0),b[g+4>>2]=t+520,b[t+820>>2]=g,LA(t+216|4),b[(g=t+320|0)>>2]=0,b[g+4>>2]=0,b[(g=t+312|0)>>2]=0,b[g+4>>2]=0,b[(g=t+304|0)>>2]=0,b[g+4>>2]=0,b[(g=t+296|0)>>2]=0,b[g+4>>2]=0,b[(g=t+288|0)>>2]=0,b[g+4>>2]=0,b[(g=t+280|0)>>2]=0,b[g+4>>2]=0,b[t+224>>2]=1,b[t+220>>2]=8188,tr(t+328|0),b[t+424>>2]=4,b[t+508>>2]=8768,b[t+500>>2]=8688,b[t+492>>2]=8616,b[t+328>>2]=8424,b[t+216>>2]=n,g=t+500|0,BA[b[b[n>>2]+96>>2]](n)||(g=b[t+216>>2],g=0|BA[b[b[g>>2]+100>>2]](g)?t+508|0:t+492|0),b[g+4>>2]=t+216,b[t+516>>2]=g,Pf=0|BA[b[b[a>>2]+92>>2]](a),Lf=0|BA[b[b[n>>2]+92>>2]](n),d=b[t+828>>2])for(yf=(d<<3)-4|0,m=t+136|0,R=t+120|0,gi=t+104|0,Ri=t+200|0,wi=t+184|0,Xi=t+168|0,Kf=t+212|0,qf=t+196|0,$f=t+180|0;h=r+32|0,g=b[t+836>>2]+yf|0,b[h>>2]=b[g>>2],G=r+24|0,g=b[g+-4>>2],b[G>>2]=g,_=b[t+820>>2],_=0|BA[b[b[_>>2]>>2]](_,g),g=b[t+516>>2],Da=0|BA[b[b[g>>2]>>2]](g,b[h>>2]),g=b[e+12>>2],Sf=b[g>>2],Tf=b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=g,m;);}else{if(g=(d=b[a+156>>2])+-1|0,b[r+28>>2]=g,!d)break A;for(d=a+164|0,a=r+28|0;Rr(r,e,i,b[b[d>>2]+(g<<2)>>2],n),g=(m=b[a>>2])+-1|0,b[a>>2]=g,m;);}N=t+976|0}function Gr(r,e,i,a,n,t){var g,d=0,h=0,G=0,y=0,Q=0,p=0,D=0,w=0,Z=0,Y=0,W=0,F=0,E=0,j=0;N=g=N-528|0;A:{r:if(2!=(0|BA[b[b[a>>2]+80>>2]](a))){if(!((h=1!=(0|BA[b[b[a>>2]+80>>2]](a)))|28!=(0|(d=b[n+4>>2])))){!function(r,e,i,a,f,n){var t,C=0,g=B(0),d=0,h=B(0),G=B(0),y=0,Q=0,p=0,D=B(0),w=B(0),Z=0,Y=0,W=B(0),F=B(0),E=B(0),j=0,Be=B(0),ui=B(0),gi=0,Ri=0,wi=B(0),Xi=0,Da=B(0),Ia=B(0),yf=0,Qf=0,pf=0,Df=0,wf=0,Zf=0,Yf=0,Wf=0,Ff=0;if(N=t=N-144|0,C=b[e+12>>2],y=b[(Z=C+8|0)+4>>2],b[(Q=t+88|0)>>2]=b[Z>>2],b[Q+4>>2]=y,Q=b[C>>2],Z=b[C+4>>2],p=b[(Y=C+24|0)+4>>2],b[(y=t+104|0)>>2]=b[Y>>2],b[y+4>>2]=p,y=b[C+16>>2],Y=b[C+20>>2],j=b[(d=C+40|0)+4>>2],b[(p=t+120|0)>>2]=b[d>>2],b[p+4>>2]=j,p=b[C+32>>2],d=b[C+36>>2],Xi=b[(Ri=C+56|0)+4>>2],b[(j=t+136|0)>>2]=b[Ri>>2],b[j+4>>2]=Xi,b[t+80>>2]=Q,b[t+84>>2]=Z,b[t+96>>2]=y,b[t+100>>2]=Y,b[t+112>>2]=p,b[t+116>>2]=d,Q=b[C+52>>2],b[t+128>>2]=b[C+48>>2],b[t+132>>2]=Q,C=b[i+12>>2],D=v[C+20>>2],w=v[C+24>>2],W=v[C+36>>2],ui=v[C+40>>2],F=v[C+8>>2],E=v[C>>2],wi=v[C+4>>2],Da=v[C+16>>2],Ia=v[C+32>>2],g=v[f+52>>2],h=v[f+56>>2],G=v[f+60>>2],Be=B(B(B(B(v[C+48>>2]*g)+B(v[C+52>>2]*h))+B(v[C+56>>2]*G))+v[f+68>>2]),v[t+76>>2]=Be,W=B(B(B(Ia*g)+B(W*h))+B(ui*G)),v[t+72>>2]=W,D=B(B(B(Da*g)+B(D*h))+B(w*G)),v[t+68>>2]=D,w=B(B(B(E*g)+B(wi*h))+B(F*G)),v[t+64>>2]=w,BA[b[b[a>>2]+8>>2]](a,t+80|0,t+32|0,t+48|0),g=B(BA[b[b[f>>2]+48>>2]](f)),h=B(g+v[(C=t+52|0)>>2]),v[C>>2]=h,G=B(g+v[(C=t+56|0)>>2]),v[C>>2]=G,F=B(v[t+36>>2]-g),v[t+36>>2]=F,ui=B(g+v[t+48>>2]),v[t+48>>2]=ui,E=B(v[t+32>>2]-g),v[t+32>>2]=E,g=B(v[t+40>>2]-g),v[t+40>>2]=g,E=B(B(E+ui)*B(.5)),F=B(B(F+h)*B(.5)),g=B(B(g+G)*B(.5)),wi=B(B(B(E*w)+B(F*D))+B(g*W)),g=B(B(B(B(ui-E)*B(m(w)))+B(B(h-F)*B(m(D))))+B(B(G-g)*B(m(W)))),!(Be>B(B(wi+g)+B(9.999999974752427e-7))|B(Be+B(9.999999974752427e-7))>=B(wi-g)^1)){BA[b[b[a>>2]+112>>2]](a),g=B(BA[b[b[a>>2]+48>>2]](a)),h=B(BA[b[b[f>>2]+48>>2]](f));e:if(f=b[a+188>>2])for(W=B(g+h),f=f+-1|0,j=a+196|0,Ri=a+184|0,Xi=a+192|0,Q=a+160|0,Z=a+164|0,y=a+168|0,yf=t+116|0,Qf=t+112|0,pf=t+120|0,Df=t+136|0,wf=t+128|0,Zf=t+100|0,Yf=t+96|0,Wf=t+104|0,Ff=t+132|0,Y=r+28|0,p=r+4|0;;){C=b[Ri>>2]+R(b[j>>2],f)|0,1!=b[Xi>>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]=C,BA[b[b[d>>2]+16>>2]](d,t- -64|0,t+16|0,g),-1==(0|(f=f+-1|0)))break}BA[b[b[a>>2]+116>>2]](a)}N=t+144|0}(r,e,i,a,n,t);break A}if(31==(0|d)){!function(r,e,i,a,f,n){var t,C=0,g=0,d=B(0),_=B(0),m=B(0),h=B(0),G=B(0),y=B(0),Q=B(0),p=B(0),D=B(0),w=B(0),Z=B(0),Y=B(0),W=0,F=B(0),E=B(0),j=B(0),BA=B(0),Be=B(0),ui=B(0),gi=0,Ri=0,wi=0,Xi=0,Da=0,Ia=B(0),yf=B(0),Qf=B(0),pf=0,Df=0;if(N=t=N-96|0,g=b[f+20>>2])for(C=b[i+12>>2],Ia=v[C+56>>2],yf=v[C+52>>2],h=v[C+40>>2],G=v[C+36>>2],y=v[C+24>>2],Q=v[C+20>>2],Qf=v[C+48>>2],p=v[C+32>>2],D=v[C+16>>2],w=v[C+8>>2],Z=v[C+4>>2],Y=v[C>>2],W=g+-1|0,g=R(g,80)+-80|0,pf=t+92|0,Df=t+76|0;C=b[f+28>>2]+g|0,Ri=b[C- -64>>2],b[pf>>2]=0,b[Df>>2]=0,b[t+60>>2]=0,b[t+44>>2]=0,d=v[C+8>>2],_=v[C+24>>2],m=v[C+40>>2],v[t+72>>2]=B(B(p*d)+B(G*_))+B(h*m),F=v[C+4>>2],E=v[C+20>>2],j=v[C+36>>2],v[t+68>>2]=B(B(p*F)+B(G*E))+B(h*j),BA=v[C>>2],Be=v[C+16>>2],ui=v[C+32>>2],v[t- -64>>2]=B(B(p*BA)+B(G*Be))+B(h*ui),v[t+56>>2]=B(B(D*d)+B(Q*_))+B(y*m),v[t+52>>2]=B(B(D*F)+B(Q*E))+B(y*j),v[t+48>>2]=B(B(D*BA)+B(Q*Be))+B(y*ui),v[t+40>>2]=B(B(Y*d)+B(Z*_))+B(w*m),d=v[C+48>>2],_=v[C+52>>2],m=v[C+56>>2],v[t+88>>2]=Ia+B(B(B(p*d)+B(G*_))+B(h*m)),v[t+84>>2]=yf+B(B(B(D*d)+B(Q*_))+B(y*m)),v[t+80>>2]=Qf+B(B(B(Y*d)+B(Z*_))+B(w*m)),v[t+36>>2]=B(B(Y*F)+B(Z*E))+B(w*j),v[t+32>>2]=B(B(Y*BA)+B(Z*Be))+B(w*ui),b[t+8>>2]=i,wi=t+16|0,Xi=b[i+8>>2],b[wi>>2]=Xi,b[t+28>>2]=W,b[t+24>>2]=-1,b[t+20>>2]=t+32,b[t+12>>2]=Ri,C=b[(Da=r+16|0)>>2],gi=b[C+8>>2],b[gi+8>>2]==(0|Xi)?C=C+8|0:(gi=b[C+12>>2],C=C+12|0),b[C>>2]=t+8,Gr(r,e,t+8|0,a,Ri,n),C=b[Da>>2],b[(b[b[C+8>>2]+8>>2]==b[wi>>2]?8:12)+C>>2]=gi,g=g+-80|0,-1!=(0|(W=W+-1|0)););N=t+96|0}(r,e,i,a,n,t);break A}if(d+-21>>>0<=8){!function(r,e,i,a,n,t){var C,g,d=B(0),_=B(0),R=B(0),m=B(0),h=B(0),G=B(0),y=B(0),Q=B(0),p=B(0),D=B(0),w=B(0),Z=B(0),Y=B(0),W=B(0),F=B(0),E=B(0),j=B(0),Be=B(0),ui=B(0),gi=B(0),Ri=B(0),wi=B(0),Xi=B(0),Da=B(0),Ia=B(0);N=C=N-128|0,f[C+116|0]=t,b[C+112>>2]=a,b[C+100>>2]=r,b[C+96>>2]=8844,b[C+104>>2]=e,b[C+108>>2]=i,g=C,Ia=B(BA[b[b[n>>2]+48>>2]](n)),v[g+120>>2]=Ia,r=b[i+12>>2],w=v[r+52>>2],Z=v[r+56>>2],e=b[e+12>>2],Y=v[e+52>>2],W=v[e+56>>2],d=v[r+20>>2],_=v[r+36>>2],F=v[e+20>>2],E=v[e+36>>2],j=v[e+24>>2],R=v[r+24>>2],Be=v[e+40>>2],m=v[r+40>>2],ui=v[e+32>>2],h=v[r+32>>2],gi=v[e>>2],G=v[r>>2],Ri=v[e+16>>2],y=v[r+16>>2],Q=v[r+48>>2],w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,b[g+464>>2]=w,b[g+468>>2]=D,h=b[d+52>>2],b[g+512>>2]=b[d+48>>2],b[g+516>>2]=h,b[g+496>>2]=p,b[g+500>>2]=Z,b[g+480>>2]=W,b[g+484>>2]=F,d=b[i+12>>2],y=b[(h=d+8|0)>>2],h=b[h+4>>2],Y=b[(G=d+24|0)>>2],G=b[G+4>>2],W=b[d+16>>2],F=b[d+20>>2],w=b[d>>2],D=b[d+4>>2],Q=b[(Z=d+40|0)+4>>2],b[(p=g+440|0)>>2]=b[Z>>2],b[p+4>>2]=Q,p=b[d+32>>2],Z=b[d+36>>2],j=b[(E=d+56|0)+4>>2],b[(Q=g+456|0)>>2]=b[E>>2],b[Q+4>>2]=j,b[(Q=g+424|0)>>2]=Y,b[Q+4>>2]=G,b[(G=g+408|0)>>2]=y,b[G+4>>2]=h,b[g+400>>2]=w,b[g+404>>2]=D,h=b[d+52>>2],b[g+448>>2]=b[d+48>>2],b[g+452>>2]=h,b[g+432>>2]=p,b[g+436>>2]=Z,b[g+416>>2]=W,b[g+420>>2]=F,b[g+388>>2]=0,f[g+392|0]=1,b[g+380>>2]=0,b[g+384>>2]=0,function(r,e,i,a,n){var t,g,d=0,_=0,R=B(0),m=B(0),h=0,G=B(0),y=0,Q=0,p=B(0),D=B(0),w=0,Z=B(0),Y=B(0),W=B(0),F=B(0),E=B(0),j=B(0),Be=B(0),ui=B(0),gi=B(0),Ri=B(0),wi=0,Xi=B(0),Da=B(0),Ia=B(0),yf=0,Qf=0,pf=0,Df=0,wf=0;if(N=t=N-96|0,b[i+72>>2])return W=v[(d=r+20|0)>>2],b[(y=t+20|0)>>2]=b[d>>2],b[t+12>>2]=0,F=v[r+4>>2],b[t+16>>2]=b[r+4>>2],Be=v[r+32>>2],b[t+8>>2]=b[r+32>>2],ui=v[r+16>>2],b[t+4>>2]=b[r+16>>2],gi=v[r>>2],b[t>>2]=b[r>>2],p=v[r+52>>2],D=v[r+56>>2],R=v[(d=r+24|0)>>2],_=b[d>>2],E=v[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0,BA[b[b[a>>2]+8>>2]](a,e,t- -64|0,g),e=0|BA[b[b[i>>2]+88>>2]](i))for(yf=t+16|0,pf=t+20|0,Df=t+24|0,wf=t+72|0,w=n+4|0,Q=n+12|0;;){if(e=e+-1|0,BA[b[b[i>>2]+120>>2]](i,e,r,t,yf),!(v[g>>2]>2]|v[t+64>>2]>v[yf>>2]|v[t+84>>2]>2]|v[t+68>>2]>v[pf>>2]|v[t+88>>2]>2]|v[wf>>2]>v[Df>>2])){if((0|(_=b[w>>2]))==b[(Qf=n+8|0)>>2]&&!((0|_)>=(0|(wi=_?_<<1:1)))){e:{i:{a:{f:{if(wi){if(a=CA(wi<<2,16),y=b[Q>>2],(0|(_=b[w>>2]))>=1)break f;break a}if(a=0,y=b[Q>>2],(0|_)<1)break a}for(d=a,h=y;b[d>>2]=b[h>>2],d=d+4|0,h=h+4|0,_=_+-1|0;);break i}if(!y)break e}C[n+16|0]&&gA(y),b[Q>>2]=0,_=b[w>>2]}b[Q>>2]=a,f[n+16|0]=1,b[Qf>>2]=wi}b[b[Q>>2]+(_<<2)>>2]=e,b[w>>2]=b[w>>2]+1}if(!e)break}N=t+96|0}(g+464|0,g+400|0,a,n,g+376|0),b[g+380>>2]){if(BA[b[b[a>>2]+112>>2]](a),LA(g+72|4),b[(n=g+176|0)>>2]=0,b[n+4>>2]=0,b[(n=g+168|0)>>2]=0,b[n+4>>2]=0,b[(n=g+160|0)>>2]=0,b[n+4>>2]=0,b[(n=g+152|0)>>2]=0,b[n+4>>2]=0,b[(n=g+144|0)>>2]=0,b[n+4>>2]=0,b[(n=g+136|0)>>2]=0,b[n+4>>2]=0,b[g+80>>2]=1,b[g+76>>2]=8188,tr(g+184|0),b[g+280>>2]=4,b[g+364>>2]=8768,b[g+356>>2]=8688,b[g+348>>2]=8616,b[g+184>>2]=8424,b[g+72>>2]=a,n=g+356|0,BA[b[b[a>>2]+96>>2]](a)||(n=b[g+72>>2],n=0|BA[b[b[n>>2]+100>>2]](n)?g+364|0:g+348|0),b[n+4>>2]=g+72,b[g+372>>2]=n,h=0|BA[b[b[a>>2]+92>>2]](a),n=b[g+380>>2])if(t)for(d=(n<<2)-4|0,y=r+32|0,G=g+388|0,Y=g+372|0,W=r+24|0,F=g+28|0,w=r+28|0;t=b[b[G>>2]+d>>2],b[y>>2]=t,D=b[Y>>2],D=0|BA[b[b[D>>2]>>2]](D,t),h&&BA[b[b[a>>2]+132>>2]](g+8|0,a,t),b[g+8>>2]=e,b[g+20>>2]=b[e+12>>2],p=b[e+8>>2],b[g+16>>2]=p,b[F>>2]=b[W>>2],b[g+24>>2]=b[w>>2],b[g+12>>2]=D,Z=b[(D=r+16|0)>>2],t=b[Z+8>>2],b[((0|p)==b[t+8>>2]?8:12)+Z>>2]=g+8,Br(r,i,g+8|0),b[b[D>>2]+8>>2]=t,d=d+-4|0,n=n+-1|0;);else for(d=(n<<2)-4|0,t=r+24|0,G=g+388|0,Y=g+372|0,W=g+28|0,F=r+28|0;y=b[b[G>>2]+d>>2],b[t>>2]=y,w=b[Y>>2],w=0|BA[b[b[w>>2]>>2]](w,y),h&&BA[b[b[a>>2]+132>>2]](g+8|0,a,y),b[g+8>>2]=e,b[g+20>>2]=b[e+12>>2],D=b[e+8>>2],b[g+16>>2]=D,b[W>>2]=b[t>>2],b[g+24>>2]=b[F>>2],b[g+12>>2]=w,p=b[(w=r+16|0)>>2],y=b[p+8>>2],b[((0|D)==b[y+8>>2]?8:12)+p>>2]=g+8,Br(r,g+8|0,i),b[b[w>>2]+8>>2]=y,d=d+-4|0,n=n+-1|0;);BA[b[b[a>>2]+116>>2]](a),er(g+184|0),er(g+72|4)}(r=b[g+388>>2])&&(C[g+392|0]&&gA(r),b[g+388>>2]=0)}else{if(h=(t?36:28)+r|0,d=(y=b[a+156>>2])+-1|0,b[h>>2]=d,!y)break r;for(a=a+164|0;Gr(r,e,i,b[b[a>>2]+(d<<2)>>2],n,t),d=(y=b[h>>2])+-1|0,b[h>>2]=d,y;);}return void(N=g+528|0)}N=g+528|0}function hr(r,e,i,a,f){return B(B(1))}function yr(r){return(r|=0)+16|0}function Qr(r,e,i){r|=0,e=B(e),b[(i|=0)>>2]=0,b[i+4>>2]=0,b[(r=i+8|0)>>2]=0,b[r+4>>2]=0}function pr(r,e){r|=0,e=B(e),v[r+48>>2]=e}function Dr(r){return 52}function wr(r){return 2}function Wr(r){return 3}function Fr(r){return 1}function Zr(r){return 0}function Yr(r,e,i){}function Er(r){var e=0;b[r+132>>2]=0,b[r+136>>2]=0,b[r>>2]=9024,b[r+180>>2]=0,b[r+184>>2]=1566444395,b[r+164>>2]=1065353216,b[r+168>>2]=1065353216,b[r+188>>2]=0,b[r+192>>2]=0,b[r+276>>2]=0,b[r+280>>2]=0,b[r+268>>2]=1065353216,b[r+272>>2]=0,b[r+260>>2]=-1,b[r+264>>2]=-1,b[r+252>>2]=1,b[r+256>>2]=0,b[r+244>>2]=1036831949,b[r+248>>2]=1176256512,b[r+236>>2]=0,b[r+240>>2]=0,b[r+228>>2]=1056964608,b[r+232>>2]=0,b[r+220>>2]=1,b[r+224>>2]=0,b[r+212>>2]=-1,b[r+216>>2]=-1,b[r+204>>2]=1,b[r+208>>2]=-1,b[(e=r+156|0)>>2]=0,b[e+4>>2]=0,b[(e=r+148|0)>>2]=0,b[e+4>>2]=0,b[(e=r+140|0)>>2]=0,b[e+4>>2]=0,b[(e=r+172|0)>>2]=1065353216,b[e+4>>2]=0,b[(e=r+196|0)>>2]=0,b[e+4>>2]=0,f[r+300|0]=1,b[r+304>>2]=0,b[(e=r+288|0)>>2]=0,b[e+4>>2]=0,b[r+296>>2]=0,b[r+4>>2]=1065353216,b[(e=r+16|0)>>2]=0,b[e+4>>2]=0,b[(e=r+8|0)>>2]=0,b[e+4>>2]=0,b[r+24>>2]=1065353216,b[(e=r+36|0)>>2]=0,b[e+4>>2]=0,b[(e=r+28|0)>>2]=0,b[e+4>>2]=0,b[r+44>>2]=1065353216,b[(e=r+56|0)>>2]=0,b[e+4>>2]=0,b[(e=r+48|0)>>2]=0,b[e+4>>2]=0,b[(e=r- -64|0)>>2]=0,b[e+4>>2]=1065353216,b[(e=r+80|0)>>2]=0,b[e+4>>2]=0,b[(e=r+72|0)>>2]=0,b[e+4>>2]=0,b[r+88>>2]=1065353216,b[(e=r+100|0)>>2]=0,b[e+4>>2]=0,b[(e=r+92|0)>>2]=0,b[e+4>>2]=0,b[r+108>>2]=1065353216,b[r+128>>2]=0,b[(e=r+120|0)>>2]=0,b[e+4>>2]=0,b[(r=r+112|0)>>2]=0,b[r+4>>2]=0}function Nr(r){var e,i=0;return b[(r|=0)>>2]=9024,(e=b[(i=r+296|0)>>2])&&(C[r+300|0]&&gA(e),b[r+296>>2]=0),b[i>>2]=0,f[r+300|0]=1,b[(i=r+288|0)>>2]=0,b[i+4>>2]=0,0|r}function Vr(r,e){4!=(-2&b[r+220>>2])&&(b[r+220>>2]=e)}function Ir(r,e){!(3&C[r+204|0])|e&&(4!=(-2&b[r+220>>2])&&(b[r+220>>2]=1),b[r+224>>2]=0)}function Jr(r,e,i){r|=0,i|=0;var a=0,f=0;return b[(e|=0)+16>>2]=b[r+4>>2],b[e+20>>2]=b[r+8>>2],b[e+24>>2]=b[r+12>>2],b[e+28>>2]=b[r+16>>2],b[e+32>>2]=b[r+20>>2],b[e+36>>2]=b[r+24>>2],b[e+40>>2]=b[r+28>>2],b[e+44>>2]=b[r+32>>2],b[e+48>>2]=b[r+36>>2],b[e+52>>2]=b[r+40>>2],b[e+56>>2]=b[r+44>>2],b[e+60>>2]=b[r+48>>2],b[e+64>>2]=b[r+52>>2],b[e+68>>2]=b[r+56>>2],b[e+72>>2]=b[r+60>>2],b[e+76>>2]=b[r- -64>>2],b[e+80>>2]=b[r+68>>2],b[e+84>>2]=b[r+72>>2],b[e+88>>2]=b[r+76>>2],b[e+92>>2]=b[r+80>>2],b[e+96>>2]=b[r+84>>2],b[e+100>>2]=b[r+88>>2],b[e+104>>2]=b[r+92>>2],b[e+108>>2]=b[r+96>>2],b[e+112>>2]=b[r+100>>2],b[e+116>>2]=b[r+104>>2],b[e+120>>2]=b[r+108>>2],b[e+124>>2]=b[r+112>>2],b[e+128>>2]=b[r+116>>2],b[e+132>>2]=b[r+120>>2],b[e+136>>2]=b[r+124>>2],b[e+140>>2]=b[r+128>>2],b[e+144>>2]=b[r+132>>2],b[e+148>>2]=b[r+136>>2],b[e+152>>2]=b[r+140>>2],b[e+156>>2]=b[r+144>>2],b[e+160>>2]=b[r+148>>2],b[e+164>>2]=b[r+152>>2],b[e+168>>2]=b[r+156>>2],b[e+172>>2]=b[r+160>>2],b[e+176>>2]=b[r+164>>2],b[e+180>>2]=b[r+168>>2],b[e+184>>2]=b[r+172>>2],b[e+188>>2]=b[r+176>>2],b[e+232>>2]=b[r+180>>2],b[e+192>>2]=b[r+184>>2],b[e>>2]=0,f=0|BA[b[b[i>>2]+28>>2]](i,b[r+192>>2]),a=b[r+228>>2],b[e+196>>2]=b[r+224>>2],b[e+200>>2]=a,a=b[r+212>>2],b[e+240>>2]=b[r+208>>2],b[e+244>>2]=a,b[e+8>>2]=0,b[e+4>>2]=f,b[e+236>>2]=b[r+204>>2],b[e+248>>2]=b[r+220>>2],b[e+204>>2]=b[r+236>>2],b[e+208>>2]=b[r+244>>2],b[e+212>>2]=b[r+248>>2],b[e+216>>2]=b[r+232>>2],b[e+252>>2]=b[r+252>>2],f=0|BA[b[b[i>>2]+40>>2]](i,r),a=0|BA[b[b[i>>2]+28>>2]](i,f),b[e+12>>2]=a,a&&BA[b[b[i>>2]+48>>2]](i,f),b[e+220>>2]=b[r+268>>2],i=b[r+276>>2],b[e+224>>2]=b[r+272>>2],b[e+228>>2]=i,r=b[r+280>>2],b[e+260>>2]=0,b[e+256>>2]=r,9052}function Xr(r,e){r|=0,e=B(e);var i,a,f=B(0),n=B(0),t=B(0),C=B(0),g=B(0),d=B(0),_=B(0),R=B(0);f=B(BA[b[b[r>>2]+48>>2]](r)),n=B(BA[b[b[r>>2]+48>>2]](r)),t=B(BA[b[b[r>>2]+48>>2]](r)),v[r+48>>2]=e,e=v[(i=r+40|0)>>2],C=v[(a=r+36|0)>>2],g=v[r+32>>2],d=B(BA[b[b[r>>2]+48>>2]](r)),_=B(BA[b[b[r>>2]+48>>2]](r)),R=B(BA[b[b[r>>2]+48>>2]](r)),b[r+44>>2]=0,v[a>>2]=B(n+C)-_,v[r+32>>2]=B(f+g)-d,v[i>>2]=B(t+e)-R}function Mr(r,e,i,a){r|=0,e|=0,i|=0,a|=0;var f=B(0),n=B(0),t=B(0),C=B(0),g=B(0),d=B(0),_=B(0),R=B(0),h=B(0),G=B(0),y=B(0),Q=B(0),p=B(0),D=B(0),w=B(0),Z=B(0);f=B(BA[b[b[r>>2]+48>>2]](r)),d=v[e+52>>2],C=v[e+20>>2],h=v[e+24>>2],_=v[e+56>>2],g=v[e+36>>2],n=v[r+36>>2],G=v[e+40>>2],y=v[r+40>>2],R=v[e+48>>2],Q=v[e>>2],p=v[e+4>>2],D=v[e+8>>2],w=v[e+16>>2],Z=v[e+32>>2],t=v[r+32>>2],b[i+12>>2]=0,t=B(f+t),n=B(f+n),f=B(f+y),g=B(B(B(t*B(m(Z)))+B(n*B(m(g))))+B(f*B(m(G)))),v[i+8>>2]=_-g,C=B(B(B(t*B(m(w)))+B(n*B(m(C))))+B(f*B(m(h)))),v[i+4>>2]=d-C,f=B(B(B(t*B(m(Q)))+B(n*B(m(p))))+B(f*B(m(D)))),v[i>>2]=R-f,b[a+12>>2]=0,v[a+8>>2]=_+g,v[a+4>>2]=C+d,v[a>>2]=f+R}function xr(r,e){r|=0,e|=0;var i,a,f,n,t=B(0),C=B(0),g=B(0),d=B(0),_=B(0),R=B(0),m=B(0),h=B(0),G=B(0);t=B(BA[b[b[r>>2]+48>>2]](r)),C=B(BA[b[b[r>>2]+48>>2]](r)),g=B(BA[b[b[r>>2]+48>>2]](r)),d=v[(i=r+20|0)>>2],_=v[(a=r+36|0)>>2],R=v[(f=r+24|0)>>2],m=v[(n=r+40|0)>>2],h=v[r+16>>2],G=v[r+32>>2],YA(r,e),b[r+44>>2]=0,v[n>>2]=B(B(B(g+m)/R)*v[f>>2])-g,v[a>>2]=B(B(B(C+_)/d)*v[i>>2])-C,v[r+32>>2]=B(B(B(t+G)/h)*v[r+16>>2])-t}function Sr(r){return 6}function Tr(r){r|=0;var e=B(0),i=B(0);return e=v[r+32>>2],i=B(BA[b[b[r>>2]+48>>2]](r)),B(BA[b[b[r>>2]+48>>2]](r)),B(BA[b[b[r>>2]+48>>2]](r)),B(B(e+i))}function Ur(r,e,i,a,f,n){var t,C=B(0),g=B(0),d=B(0),_=B(0),R=B(0),m=B(0),h=B(0),G=B(0),y=B(0),Q=0,D=0,w=B(0),Z=0,Y=0,W=B(0),F=B(0),E=0,j=0,Be=B(0),ui=0,gi=0,Ri=B(0),wi=B(0),Xi=B(0),Da=B(0),Ia=B(0),yf=B(0),Qf=0,pf=0,Df=0,wf=0,Zf=0,Yf=0,Wf=0,Ff=0,Ef=0;N=t=N-32|0;A:if(!(b[r+56>>2]<1))for(g=v[a>>2],m=v[i>>2],_=B(g-m),d=v[a+4>>2],h=v[i+4>>2],R=B(d-h),C=v[a+8>>2],G=v[i+8>>2],y=B(C-G),w=B(B(1)/B(p(B(B(B(_*_)+B(R*R))+B(y*y))))),W=y,y=B(y*w),F=_,_=B(_*w),Be=R,R=B(R*w),Be=B(B(W*y)+B(B(F*_)+B(Be*R))),w=v[n+8>>2],Ri=B((G>2],wi=B((h>2],Xi=B((m>2],Da=B(G+C),h=d>2],Ia=B(h+d),m=g>2],yf=B(m+g),a=b[r+96>>2],m=y==B(0)?B(0xde0b6b000000000):B(B(1)/y),D=m>2],Wf=b[r+4>>2],Ff=b[a>>2],Ef=b[a+4>>2],r=b[(Y=a+24|0)+4>>2],b[(j=D+8|0)>>2]=b[Y>>2],b[j+4>>2]=r,j=b[a+20>>2],b[(r=D)>>2]=b[a+16>>2],b[r+4>>2]=j,v[ui>>2]=v[ui>>2]-d,v[r>>2]=v[r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+d)-v[n>>2],_=v[xf>>2],R=v[r+8>>2],v[C+4>>2]=B(B(B(Df>>>0)/_)+R)-v[n+4>>2],w=v[Mf>>2],Y=v[Sf>>2],v[C+8>>2]=B(B(B(pf>>>0)/w)+Y)-v[n+8>>2],v[Tf>>2]=B(d+B(B(wi>>>0)/m))-v[f>>2],v[Uf>>2]=B(R+B(B(Ri>>>0)/_))-v[f+4>>2],v[jf>>2]=B(Y+B(B(h>>>0)/w))-v[f+8>>2],R=v[i+4>>2],m=B(G*B(v[Ff>>2]-R)),_=v[i>>2],!(m>(d=B(Q*B(v[Xf>>2]-_)))||(_=B(Q*B(v[Vf>>2]-_)),R=B(G*B(v[Nf>>2]-R)),_>R||(Y=v[i+8>>2],w=B(y*B(v[Wf>>2]-Y)),d=Rd||(m=m>_?m:_,_=B(y*B(v[Ef>>2]-Y)),m>_))))){if(!(h=(w>m?w:m)B(0))|(0|F)<0)break e;h=b[a+12>>2],BA[b[b[e>>2]+8>>2]](e,h>>21,2097151&h);break r}h=0}if(!(h|(0|F)>-1)){if(a=a-((h=b[a+12>>2])<<4)|0,Z=Z+1|0,(0|(Be=Be-h|0))<(0|t))continue;break A}}if(a=a+16|0,Z=Z+1|0,!((0|(Be=Be+1|0))<(0|t)))break}}b[434]<(0|Z)&&(b[434]=Z),N=C+32|0}function Or(r,e,i,a){var f;N=f=N-16|0,b[f+8>>2]=e,b[f>>2]=10048,b[f+4>>2]=b[r+52>>2],function(r,e,i,a){var f,n=0;if(N=f=N-32|0,b[(n=f+24|0)>>2]=0,b[n+4>>2]=0,b[f+16>>2]=0,b[f+20>>2]=0,b[(n=f+8|0)>>2]=0,b[n+4>>2]=0,b[f>>2]=0,b[f+4>>2]=0,C[r+60|0])return jr(r,e,i,a,f+16|0,f,b[r+56>>2]),void(N=f+32|0);Ur(r,e,i,a,f+16|0,f),N=f+32|0}(b[r+56>>2],f,i,a),N=f+16|0}function Hr(r,e,i,a,f,n){var t;N=t=N-16|0,b[t+8>>2]=e,b[t>>2]=10216,b[t+4>>2]=b[r+52>>2],function(r,e,i,a,f,n){C[r+60|0]?jr(r,e,i,a,f,n,b[r+56>>2]):Ur(r,e,i,a,f,n)}(b[r+56>>2],t,i,a,f,n),N=t+16|0}function zr(r,e,i){r|=0,e|=0,i|=0;var a,f,n,t,C,d=0,m=B(0),h=B(0),G=B(0),y=0,Q=0,p=B(0);N=a=N-80|0,d=b[r+4>>2],BA[b[b[d>>2]+16>>2]](d,a+28|0,a+24|0,a+20|0,a+16|0,a+12|0,a+8|0,a+4|0,a,e),y=(f=b[r+4>>2])+12|0,n=b[a+12>>2]+R(b[a+8>>2],i)|0,t=b[a+28>>2],C=b[a+20>>2];A:{r:{e:{i:{a:{f:{n:{t:{b:{o:{k:{c:{u:{if(3==b[a>>2]){if(Q=b[a+16>>2],d=R(Q,g[n+4>>1])+t|0,!C)break u;h=B(v[f+8>>2]*B(_[d+8>>3])),G=B(v[f+4>>2]*B(_[d>>3])),m=B(_[d+16>>3]),d=y;break c}if(Q=b[a+16>>2],d=R(Q,b[n+8>>2])+t|0,!C)break k;h=B(v[f+8>>2]*B(_[d+8>>3])),G=B(v[f+4>>2]*B(_[d>>3])),m=B(_[d+16>>3]),d=y;break o}h=B(v[d+4>>2]*v[f+8>>2]),G=B(v[d>>2]*v[f+4>>2]),m=v[f+12>>2],d=d+8|0}if(p=v[d>>2],b[a+76>>2]=0,v[a+68>>2]=h,v[a+72>>2]=p*m,v[a+64>>2]=G,d=R(Q,g[n+2>>1])+t|0,!C)break b;h=B(v[f+8>>2]*B(_[d+8>>3])),G=B(v[f+4>>2]*B(_[d>>3])),m=B(_[d+16>>3]),d=y;break t}h=B(v[d+4>>2]*v[f+8>>2]),G=B(v[d>>2]*v[f+4>>2]),m=v[f+12>>2],d=d+8|0}if(p=v[d>>2],b[a+76>>2]=0,v[a+68>>2]=h,v[a+72>>2]=p*m,v[a+64>>2]=G,d=R(Q,b[n+4>>2])+t|0,!C)break n;h=B(v[f+8>>2]*B(_[d+8>>3])),G=B(v[f+4>>2]*B(_[d>>3])),m=B(_[d+16>>3]),d=y;break f}h=B(v[d+4>>2]*v[f+8>>2]),G=B(v[d>>2]*v[f+4>>2]),m=v[f+12>>2],d=d+8|0}if(p=v[d>>2],b[a+60>>2]=0,v[a+52>>2]=h,v[a+56>>2]=p*m,v[a+48>>2]=G,d=R(Q,g[n>>1])+t|0,!C)break a;h=B(v[f+8>>2]*B(_[d+8>>3])),G=B(v[f+4>>2]*B(_[d>>3])),m=B(_[d+16>>3]);break i}h=B(v[d+4>>2]*v[f+8>>2]),G=B(v[d>>2]*v[f+4>>2]),m=v[f+12>>2],d=d+8|0}if(p=v[d>>2],b[a+60>>2]=0,v[a+52>>2]=h,v[a+56>>2]=p*m,v[a+48>>2]=G,d=R(Q,b[n>>2])+t|0,!C)break e;h=B(v[f+8>>2]*B(_[d+8>>3])),G=B(v[f+4>>2]*B(_[d>>3])),m=B(_[d+16>>3]);break r}y=d+8|0,h=B(v[d+4>>2]*v[f+8>>2]),G=B(v[d>>2]*v[f+4>>2]),m=v[f+12>>2]}m=B(v[y>>2]*m);break A}y=d+8|0,h=B(v[d+4>>2]*v[f+8>>2]),G=B(v[d>>2]*v[f+4>>2]),m=v[f+12>>2]}m=B(v[y>>2]*m)}b[a+44>>2]=0,v[a+40>>2]=m,v[a+36>>2]=h,v[a+32>>2]=G,d=b[r+8>>2],BA[b[b[d>>2]+8>>2]](d,a+32|0,e,i),r=b[r+4>>2],BA[b[b[r>>2]+24>>2]](r,e),N=a+80|0}function Pr(r){b[r+4>>2]=35,b[r+8>>2]=0,b[r+12>>2]=-1,b[r+16>>2]=0,b[r>>2]=10364}function Lr(r){return(r|=0)+72|0}function Kr(r,e,i){var a=0;Pr(r),b[r+88>>2]=0,f[r+92|0]=1,b[(a=r+80|0)>>2]=0,b[a+4>>2]=0,b[r+72>>2]=0,b[(a=r- -64|0)>>2]=1065353216,b[a+4>>2]=0,b[r+56>>2]=1065353216,b[r+60>>2]=1065353216,f[r+52|0]=1,b[r+44>>2]=-8388609,b[(a=r+36|0)>>2]=-8388609,b[a+4>>2]=-8388609,b[r+28>>2]=2139095039,b[r+20>>2]=2139095039,b[r+24>>2]=2139095039,b[r+4>>2]=25,b[r+188>>2]=0,b[(a=r+180|0)>>2]=0,b[a+4>>2]=0,b[(a=r+168|0)>>2]=1065353216,b[a+4>>2]=0,b[(a=r+160|0)>>2]=1065353216,b[a+4>>2]=1065353216,b[r+152>>2]=1008981770,b[r+148>>2]=11228,b[r>>2]=10620,b[(a=r+204|0)>>2]=0,b[a+4>>2]=0,b[(a=r+196|0)>>2]=0,b[a+4>>2]=0,b[r+156>>2]=e,b[r+176>>2]=i,b[r+144>>2]=r+148}function qr(r){var e,i=0;return b[(r|=0)>>2]=11072,(e=b[(i=r+88|0)>>2])&&(C[r+92|0]&&gA(e),b[r+88>>2]=0),b[i>>2]=0,f[r+92|0]=1,b[(i=r+80|0)>>2]=0,b[i+4>>2]=0,0|r}function $r(r){return(r|=0)+56|0}function Ae(r){}function re(r){var e,i=0,a=0,n=0,t=0;if(b[(r|=0)>>2]=10880,i=b[(e=r+164|0)>>2],a=b[r+156>>2])for(n=(a<<2)-4|0;a=a+-1|0,(t=b[i+n>>2])&&(BA[b[b[t>>2]+4>>2]](t),i=b[e>>2]),n=n+-4|0,a;);return i&&(C[r+168|0]&&gA(i),b[r+164>>2]=0),b[r>>2]=11072,b[r+164>>2]=0,f[r+168|0]=1,b[(i=r+156|0)>>2]=0,b[i+4>>2]=0,(a=b[(i=r+88|0)>>2])&&(C[r+92|0]&&gA(a),b[r+88>>2]=0),b[i>>2]=0,f[r+92|0]=1,b[(i=r+80|0)>>2]=0,b[i+4>>2]=0,0|r}function ee(r,e,i,a,f){}function ie(r){b[r+16>>2]=0,b[r+8>>2]=-1,b[r+12>>2]=0,b[r>>2]=0,b[r+4>>2]=0,b[r+32>>2]=0,f[r+36|0]=1,b[(r=r+24|0)>>2]=0,b[r+4>>2]=0}function ae(r){var e,i=0;(i=b[r>>2])&&fe(r,i),gA(b[r+4>>2]),b[r+4>>2]=0,b[r+8>>2]=-1,(e=b[(i=r+32|0)>>2])&&(C[r+36|0]&&gA(e),b[r+32>>2]=0),b[r+16>>2]=0,f[r+36|0]=1,b[i>>2]=0,b[(r=r+24|0)>>2]=0,b[r+4>>2]=0}function fe(r,e){var i;if(b[(i=e+40|0)>>2]&&(fe(r,b[e+36>>2]),fe(r,b[i>>2])),(0|e)!=b[r>>2])return gA(b[r+4>>2]),void(b[r+4>>2]=e);b[r>>2]=0,gA(b[r+4>>2]),b[r+4>>2]=e}function ne(r){var e,i=0;(i=b[r>>2])&&fe(r,i),gA(b[r+4>>2]),b[r+4>>2]=0,b[r+8>>2]=-1,(e=b[(i=r+32|0)>>2])&&(C[r+36|0]&&gA(e),b[r+32>>2]=0),b[r+16>>2]=0,b[i>>2]=0,f[r+36|0]=1,b[(r=r+24|0)>>2]=0,b[r+4>>2]=0}function te(r,e){var i,a=0,f=0,n=0,t=0,C=0,g=0,d=0,v=0,_=0,R=0,B=0,m=0,h=0,G=0,y=0,Q=0,p=0,D=0;N=i=N-32|0;A:if(e=(0|e)<=-1?b[r+12>>2]:e,!((0|e)<1)&&(a=b[r>>2],a))for(m=r+16|0,g=a+40|0,f=1,b[g>>2]&&(f=0);;)if(f){if(oe(v=r,f=be(r,a)?b[r>>2]:0,a),b[m>>2]=b[m>>2]+1,!(e=e+-1|0))break A;a=b[r>>2],f=b[(g=a+40|0)>>2]?0:1}else{for(h=0;;){r:{e:{i:{if((f=b[a+32>>2])>>>0>a>>>0){if(B=(0|(t=b[(C=f+40|0)>>2]))==(0|a),_=b[36+((d=((0|a)!=(0|t))<<2)+f|0)>>2],!(n=b[f+32>>2]))break i;v=36+(n+((b[n+40>>2]==(0|f))<<2)|0)|0;break e}f=a;break r}v=r}b[v>>2]=a,b[_+32>>2]=a,b[f+32>>2]=a,b[a+32>>2]=n,b[f+36>>2]=b[a+36>>2],b[C>>2]=b[g>>2],b[b[a+36>>2]+32>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+4>>2],t=(t=v[i+4>>2])<(h=v[a+4>>2])?t:h,v[e+4>>2]=t,h=v[(C=e+20|0)>>2],g=(g=v[i+20>>2])>(G=v[a+20>>2])?g:G,v[C>>2]=g,G=v[e+8>>2],d=(d=v[i+8>>2])<(y=v[a+8>>2])?d:y,v[e+8>>2]=d,y=v[(C=e+24|0)>>2],_=(_=v[i+24>>2])>(Q=v[a+24>>2])?_:Q,v[C>>2]=_,!(h!=g|R!=n|p!=f|m!=t)&&G==d&&y==_)break A;if(!(e=b[e+32>>2]))break}break r}return b[r>>2]=0,0}b[a+32>>2]=0,b[r>>2]=a,gA(b[r+4>>2]),b[r+4>>2]=i}e=b[r>>2]}return e}function oe(r,e,i){var a=0,f=B(0),n=B(0),t=B(0),C=0,g=0;A:{r:{if(b[r>>2]){if(a=b[e+40>>2])for(n=B(v[i>>2]+v[i+16>>2]),f=B(v[i+8>>2]+v[i+24>>2]),t=B(v[i+4>>2]+v[i+20>>2]);g=e+36|0,e=b[e+36>>2],e=b[g+((B(B(B(m(B(n-B(v[e>>2]+v[e+16>>2]))))+B(m(B(t-B(v[e+4>>2]+v[e+20>>2])))))+B(m(B(f-B(v[e+8>>2]+v[e+24>>2])))))>2]+v[a+16>>2]))))+B(m(B(t-B(v[a+4>>2]+v[a+20>>2])))))+B(m(B(f-B(v[a+8>>2]+v[a+24>>2])))))^1)<<2)>>2],a=b[e+40>>2];);if(g=b[e+32>>2],!(a=b[r+4>>2]))break r;b[r+4>>2]=0;break A}return b[i+32>>2]=0,void(b[r>>2]=i)}a=CA(44,16),b[a>>2]=0,b[a+4>>2]=0,b[a+40>>2]=0,b[(C=a+32|0)>>2]=0,b[C+4>>2]=0,b[(C=a+24|0)>>2]=0,b[C+4>>2]=0,b[(C=a+16|0)>>2]=0,b[C+4>>2]=0,b[(C=a+8|0)>>2]=0,b[C+4>>2]=0}if(b[a+36>>2]=0,b[a+40>>2]=0,n=v[i>>2],f=v[e>>2],v[a>>2]=n>2],f=v[e+16>>2],v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(a=e+16|0)+4>>2],b[(i=f+16|0)>>2]=b[a>>2],b[i+4>>2]=n,n=b[(a=e+8|0)+4>>2],b[(i=f+8|0)>>2]=b[a>>2],b[i+4>>2]=n,i=b[e+4>>2],b[f>>2]=b[e>>2],b[f+4>>2]=i,oe(r,b[r>>2],f),b[r+12>>2]=b[r+12>>2]+1,f}function ce(r,e,i){var a=0,f=0,n=0,t=0;A:{r:{if(t=be(r,e)){if((0|(n=b[r+8>>2]))<0)break r;if(!n)break A;for(;;){if(!(a=b[t+32>>2]))break A;if(t=a,!((0|(f=f+1|0))<(0|n)))break}break A}t=0;break A}t=b[r>>2]}a=b[i+4>>2],b[e>>2]=b[i>>2],b[e+4>>2]=a,a=b[(f=i+24|0)+4>>2],b[(n=e+24|0)>>2]=b[f>>2],b[n+4>>2]=a,a=b[(f=i+16|0)+4>>2],b[(n=e+16|0)>>2]=b[f>>2],b[n+4>>2]=a,i=b[(a=i+8|0)+4>>2],b[(f=e+8|0)>>2]=b[a>>2],b[f+4>>2]=i,oe(r,t,e)}function ue(r,e){be(r,e),gA(b[r+4>>2]),b[r+4>>2]=e,b[r+12>>2]=b[r+12>>2]+-1}function le(r,e){return 1}function se(r){var e,i;return B((i=(e=r*r)*r)*(e*e)*(2718311493989822e-21*e-.00019839334836096632)+(i*(.008333329385889463*e-.16666666641626524)+r))}function de(r){var e;return B(-.499999997251031*(r*=r)+1+.04166662332373906*(e=r*r)+r*e*(2439044879627741e-20*r-.001388676377460993))}function ve(r,e){var i=0;A:{r:{e:{if((0|e)>=1024){if(r*=898846567431158e293,(0|(i=e+-1023|0))<1024)break e;e=(0|(e=e+-2046|0))<1023?e:1023,r*=898846567431158e293;break A}if((0|e)>-1023)break A;if(r*=2004168360008973e-307,(0|(i=e+969|0))>-1023)break r;e=(0|(e=e+1938|0))>-1022?e:-1022,r*=2004168360008973e-307;break A}e=i;break A}e=i}return k(0,0),k(1,e+1023<<20),r*+c()}function Ce(r,e){var i,a=0,f=0,n=0,t=0,C=0;N=i=N-16|0;A:{r:{e:{if(l(r),(a=2147483647&(n=o(0)))>>>0<=1305022426){if(f=.6366197723675814*(t=+r)+6755399441055744-6755399441055744,_[e>>3]=t+-1.5707963109016418*f+-1.5893254773528196e-8*f,m(f)<2147483648)break e;a=-2147483648;break A}if(a>>>0<2139095040)break r;_[e>>3]=B(r-r),a=0;break A}a=~~f;break A}C=a,a=(a>>>23)-150|0,_[i+8>>3]=(k(0,C-(a<<23)|0),s()),a=function(r,e,i){var a,f,n,t,C=0,g=0,d=0,v=0,B=0,h=0,G=0,y=0,p=0,D=0,w=0,Z=0,Y=0,W=0,F=0,E=0,j=0,BA=0,Be=0,ui=0,gi=0,Ri=0,wi=0,Xi=0,Da=0,Ia=0,yf=0,Qf=0,pf=0,Df=0,wf=0,Zf=0,Yf=0,Wf=0,Ff=0,Ef=0,Nf=0,Vf=0,Xf=0,Jf=0,If=0,xf=0,Mf=0,Sf=0,Tf=0;if(N=a=N-560|0,Z=i+R(t=(0|(v=(i+-3|0)/24|0))>0?v:0,-24)|0,(0|(n=b[2856]))>=0)for(v=n+1|0,B=11440+((i=t)<<2)|0,g=a+320|0;_[g>>3]=(0|i)>=0?+b[B>>2]:0,g=g+8|0,B=B+4|0,i=i+1|0,v=v+-1|0;);for(f=Z+-24|0,j=a+320|0,i=0;;){r:{e:{i:{a:{f:{switch(0|i){case 0:for(C=0,i=r,B=1,g=j;C+=_[i>>3]*_[g>>3],i=i+8|0,g=g+-8|0,B=B+-1|0;);if(_[(BA<<3)+a>>3]=C,j=j+8|0,i=(0|BA)<(0|n),BA=BA+1|0,i)break a;yf=23,Qf=23-f|0,gi=24-f|0,p=2,Y=-4,pf=476+(a+(n<<2)|0)|0,Df=a+476|0,Ri=-8,wf=a+-8|0,y=1,F=3,Zf=5.960464477539063e-8,Yf=-16777216,wi=4,E=-1,Wf=.125,Ff=-8,Ef=4194303,Nf=8388607,Xi=1,Vf=11440,Da=8,Xf=.5,d=n;break i;case 1:if(C=_[(i=d<>3],!(v=(0|d)<(0|y)))for(i=i+wf|0,g=a+480|0,B=d;G=g,w=C,h=-2147483648,m(C*=Zf)<2147483648&&(h=~~C),C=+(0|h),h=-2147483648,m(w+=C*Yf)<2147483648&&(h=~~w),b[G>>2]=h,g=g+wi|0,C=_[i>>3]+C,i=i+Ri|0,B=B+E|0;);C=ve(C,f),C+=Q(C*Wf)*Ff,h=-2147483648,m(C)<2147483648&&(h=~~C),C-=+(0|h);n:{t:{b:{o:{k:{c:{u:{l:{s:{C:{g:{if(!(B=(0|f)<(0|y))){if(Be=g=((a+480|0)+(d<>2])-((i=G>>gi)<>2]=g,h=i+h|0,(0|(D=g>>Qf))>=(0|y))break g;break C}if(f){if(D=2,!(C>=Xf^y))break g;if(D=0,0==C)break s;break l}if((0|(D=b[((a+480|0)+(d<>2]>>yf))<(0|y))break C}if(v)G=0;else for(G=0,i=a+480|0,v=d;;){g=b[i>>2],Be=i;g:{if(G)Ia=16777215;else{if(!g){G=0;break g}G=1,Ia=16777216}b[Be>>2]=Ia-g}if(i=i+wi|0,!(v=v+E|0))break}g:if(!B)if((0|f)==(0|p))i=((a+480|0)+(d<>2]=b[i>>2]&Ef;else{if((0|f)!=(0|y))break g;b[(i=((a+480|0)+(d<>2]=b[i>>2]&Nf}h=y+h|0,(0|p)==(0|D)&&(C=Xi-C,D=2,G&&(C-=ve(Xi,f)))}if(0!=C)break l}if((0|d)>(0|n)){for(i=(d<>2]|g,i=i+Y|0,(0|(B=B+E|0))>(0|n););if(g)break u}for(i=pf,v=d;v=v+y|0,g=b[i>>2],i=i+Y|0,!g;);for(G=(a+320|0)+(d+1<>3]=b[(d+t<>2],C=0,1>=(0|y))for(i=r,g=G,B=1;C+=_[i>>3]*_[g>>3],i=i+Da|0,g=g+Ri|0,B=B+E|0;);if(_[(d<>3]=C,G=G+Da|0,!((0|d)<(0|v)))break}break r}if(!((C=ve(C,0-f|0))>=16777216)){if(m(C)<2147483648)break c;i=-2147483648;break k}if(v=d<<2,m(w=5.960464477539063e-8*C)<2147483648)break o;i=-2147483648;break b}for(i=476+(a+(d<<2)|0)|0,Z=f;d=d+-1|0,Z=Z+-24|0,v=b[i>>2],i=i+-4|0,!v;);break n}i=~~C}Z=f;break t}i=~~w}v=v+(a+480|0)|0,g=-2147483648,m(C+=-16777216*+(0|i))<2147483648&&(g=~~C),b[v>>2]=g,d=d+1|0}b[(a+480|0)+(d<<2)>>2]=i}if(C=ve(1,Z),(0|d)<0)break f;for(B=d+1|0,i=(a+480|0)+(d<<2)|0,g=(d<<3)+a|0;_[g>>3]=C*+b[i>>2],i=i+-4|0,g=g+-8|0,C*=5.960464477539063e-8,(0|(B=B+-1|0))>0;);if((0|d)<0)break f;Jf=3,ui=(d<<3)+a|0,If=14208,xf=8,Mf=1,Sf=-8,Tf=-1,W=d,i=2;continue}for(W=d-(v=W)|0,C=0,i=0,g=0;C+=_[i+If>>3]*_[i+ui>>3],!((0|g)>=(0|n))&&(i=i+xf|0,B=g>>>0>>0,g=g+Mf|0,B););if(_[(a+160|0)+(W<>3]=C,ui=ui+Sf|0,W=v+Tf|0,(0|v)>0)break e}if((0|d)>=0)for(g=d+1|0,i=(a+160|0)+(d<<3)|0,C=0;C+=_[i>>3],i=i+-8|0,(0|(g=g+-1|0))>0;);else C=0;return _[e>>3]=D?-C:C,N=a+560|0,7&h}i=0;continue}i=1;continue}i=2;continue}d=v,i=1}}(i+8|0,i,a),f=_[i>>3],(0|n)>-1?_[e>>3]=f:(_[e>>3]=-f,a=0-a|0)}return N=i+16|0,a}function ge(r){var e,i=0,a=0,f=0;N=e=N-16|0,l(r);A:if((i=2147483647&(a=o(0)))>>>0<=1061752794){if(i>>>0<964689920)break A;r=se(+r)}else{a>>>=31;r:{e:{i:{a:{f:{n:{t:{b:{o:{if(i>>>0<=1081824209){if(f=+r,i>>>0>1075235811)break o;if(!a)break f;r=B(-de(f+1.5707963267948966));break A}if(i>>>0>1088565717)break b;if(f=+r,i>>>0>1085271519)break t;if(!a)break a;r=de(f+4.71238898038469);break A}r=se(-((a?3.141592653589793:-3.141592653589793)+f));break A}if(i>>>0<2139095040)break n;r=B(r-r);break A}r=se((a?6.283185307179586:-6.283185307179586)+f);break A}if(2==(0|(i=3&Ce(r,e+8|0))))break i;if(1==(0|i))break e;if(i)break r;r=se(_[e+8>>3]);break A}r=de(f+-1.5707963267948966);break A}r=B(-de(f+-4.71238898038469));break A}r=se(-_[e+8>>3]);break A}r=de(_[e+8>>3]);break A}r=B(-de(_[e+8>>3]))}return N=e+16|0,r}function _e(r){var e,i=B(0),a=0,f=0,n=0;N=e=N-16|0,l(r);A:if((a=2147483647&(f=o(0)))>>>0<=1061752794){if(i=B(1),a>>>0<964689920)break A;i=de(+r)}else{f>>>=31;r:{e:{i:{a:{f:{n:{t:{b:{o:{if(a>>>0<=1081824209){if(n=+r,a>>>0<1075235812)break o;i=B(-de((f?3.141592653589793:-3.141592653589793)+n));break A}if(a>>>0>1088565717)break b;if(a>>>0<1085271520)break t;i=de(+r+(f?6.283185307179586:-6.283185307179586));break A}if(!f)break f;i=se(n+1.5707963267948966);break A}if(a>>>0<2139095040)break n;i=B(r-r);break A}if(!f)break a;i=se(-4.71238898038469-+r);break A}if(2==(0|(a=3&Ce(r,e+8|0))))break i;if(1==(0|a))break e;if(a)break r;i=de(_[e+8>>3]);break A}i=se(1.5707963267948966-n);break A}i=se(+r-4.71238898038469);break A}i=B(-de(_[e+8>>3]));break A}i=se(-_[e+8>>3]);break A}i=se(_[e+8>>3])}return N=e+16|0,r=i}function me(r,e){var i,a,f,n,t,C,g,d=0,v=0,_=0,B=0,m=0,h=0,G=0,y=0,Q=0,p=0,D=0,w=0;N=i=N-80|0,b[r+72>>2]=b[r+72>>2]+1,(d=b[r+68>>2])&&ue(d,b[76+(b[r+28>>2]+R(e,80)|0)>>2]),v=b[(f=r+20|0)>>2],p=b[(n=r+28|0)>>2],g=R(e,80),G=b[(_=(d=p+g|0)+8|0)+4>>2],b[(m=i+8|0)>>2]=b[_>>2],b[m+4>>2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]=b[t>>2],b[v+4>>2]=m,v=b[i+20>>2],b[d+16>>2]=b[i+16>>2],b[d+20>>2]=v,m=b[G+4>>2],b[(v=d+40|0)>>2]=b[G>>2],b[v+4>>2]=m,v=b[i+36>>2],b[d+32>>2]=b[i+32>>2],b[d+36>>2]=v,m=b[D+4>>2],b[(v=d+56|0)>>2]=b[D>>2],b[v+4>>2]=m,v=b[i+52>>2],b[d+48>>2]=b[i+48>>2],b[d+52>>2]=v,m=b[Q+4>>2],b[(v=d+72|0)>>2]=b[Q>>2],b[v+4>>2]=m,v=b[i+68>>2],b[d+64>>2]=b[i+64>>2],b[d+68>>2]=v,b[r+68>>2]&&(b[b[76+(b[n>>2]+g|0)>>2]+36>>2]=e),b[f>>2]=b[f>>2]+-1,N=i+80|0}function Re(r){var e,i=0;return b[(r|=0)>>2]=14628,(e=b[(i=r+32|0)>>2])&&(C[r+36|0]&&gA(e),b[r+32>>2]=0),b[i>>2]=0,f[r+36|0]=1,b[(i=r+24|0)>>2]=0,b[i+4>>2]=0,0|r}function Ge(r,e,i,a,f,n,t,C,g,d){e|=0,i|=0,a|=0,f|=0,n|=0,t|=0,C|=0,g|=0,d|=0,r=b[(r|=0)+32>>2]+(d<<5)|0,b[i>>2]=b[r+12>>2],b[f>>2]=b[r+20>>2],b[e>>2]=b[r+16>>2],b[a>>2]=b[r+28>>2],b[C>>2]=b[r>>2],b[n>>2]=b[r+4>>2],b[g>>2]=b[r+24>>2],b[t>>2]=b[r+8>>2]}function he(r,e){}function ye(r,e){var i=0,a=0,t=0,d=0,v=0,_=0,R=0,B=0;A:{r:e:{i:{a:f:{if(C[r+164|0]){if((0|(i=b[(d=r+128|0)>>2]))!=b[r+132>>2])break i;if((0|i)>=(0|(v=i?i<<1:1)))break i;if(!v)break f;a=CA(v<<2,16),i=b[r+128>>2];break a}if((0|(a=b[(B=r+148|0)>>2]))!=b[r+152>>2])break A;if((0|a)>=(0|(d=a?a<<1:1)))break A;if(!d)break e;R=CA(d<<1,16),a=b[r+148>>2];break r}R=b[r+136>>2];a:{if((0|i)>=1)for(t=a,_=R;b[t>>2]=b[_>>2],t=t+4|0,_=_+4|0,i=i+-1|0;);else if(!R)break a;C[r+140|0]&&gA(R),b[r+136>>2]=0,i=b[r+128>>2]}b[r+136>>2]=a,f[r+140|0]=1,b[r+132>>2]=v}return t=b[r+136>>2],b[t+(i<<2)>>2]=e,b[b[r+32>>2]+4>>2]=t,void(b[d>>2]=b[d>>2]+1)}v=b[r+156>>2];r:{if((0|a)>=1)for(t=R,_=v,i=a;n[t>>1]=g[_>>1],t=t+2|0,_=_+2|0,i=i+-1|0;);else if(!v)break r;C[r+160|0]&&(gA(v),a=b[r+148>>2]),b[r+156>>2]=0}b[r+156>>2]=R,f[r+160|0]=1,b[r+152>>2]=d}b[B>>2]=a+1,t=b[r+32>>2],r=b[r+156>>2],b[t+4>>2]=r,n[r+(a<<1)>>1]=e}function Qe(r,e,i){var a=0,n=0,t=0,g=0,d=0,_=0,R=B(0),m=B(0),h=0,G=0,y=B(0),Q=B(0),p=B(0),D=B(0);A:{r:{e:i:{a:{f:{n:{t:{if(C[r+165|0]){if(!(!i|(0|(t=b[r+88>>2]))<1))for(i=b[r+96>>2],y=v[r+168>>2],Q=v[e+8>>2],p=v[e+4>>2],D=v[e>>2];;){if(R=B(v[i>>2]-D),m=B(R*R),R=B(v[i+4>>2]-p),m=B(m+B(R*R)),R=B(v[i+8>>2]-Q),B(m+B(R*R))<=y)break A;if(i=i+16|0,!((0|(_=_+1|0))<(0|t)))break}if(i=b[(h=r+32|0)>>2],b[i+12>>2]=b[i+12>>2]+1,b[r+92>>2]!=(0|t))break a;if((0|t)>=(0|(G=t?t<<1:1)))break a;if(!G)break t;if(a=CA(G<<4,16),(0|(t=b[r+88>>2]))>=1)break n;break f}if(!(!i|(0|(n=b[r+108>>2]))<1))for(i=b[r+116>>2],y=v[r+168>>2],Q=v[e+8>>2],p=v[e+4>>2],D=v[e>>2];;){if(R=B(v[i>>2]-D),m=B(R*R),R=B(v[i+4>>2]-p),m=B(m+B(R*R)),R=B(v[i+8>>2]-Q),B(m+B(R*R))<=y)break A;if(i=i+12|0,_=_+1|0,!((0|(t=t+3|0))<(0|n)))break}if((0|n)!=(0|(a=b[r+112>>2])))break r;if((0|n)<(0|(a=n?n<<1:1))){if(!a)break i;g=CA(a<<2,16),n=b[r+108>>2];break e}a=n;break r}if((0|t)<1)break f}for(i=0,_=r+96|0;n=b[_>>2]+i|0,g=b[n+4>>2],b[(d=i+a|0)>>2]=b[n>>2],b[d+4>>2]=g,g=b[(n=n+8|0)+4>>2],b[(d=d+8|0)>>2]=b[n>>2],b[d+4>>2]=g,i=i+16|0,t=t+-1|0;);}(i=b[(g=r+96|0)>>2])&&(C[r+100|0]&&gA(i),b[r+96>>2]=0),b[g>>2]=a,f[r+100|0]=1,b[r+92>>2]=G,t=b[r+88>>2]}return i=b[e+4>>2],a=b[(g=r+96|0)>>2]+(t<<4)|0,b[a>>2]=b[e>>2],b[a+4>>2]=i,e=b[(i=e+8|0)+4>>2],b[(a=a+8|0)>>2]=b[i>>2],b[a+4>>2]=e,b[b[h>>2]+16>>2]=b[g>>2],e=b[(r=r+88|0)>>2],b[r>>2]=e+1,e}d=b[r+116>>2];e:{if((0|n)>=1)for(i=g,_=d,t=n;b[i>>2]=b[_>>2],i=i+4|0,_=_+4|0,t=t+-1|0;);else if(!d)break e;C[r+120|0]&&(gA(d),n=b[r+108>>2]),b[r+116>>2]=0}b[r+116>>2]=g,f[r+120|0]=1,b[r+112>>2]=a}i=n+1|0,b[(h=r+108|0)>>2]=i,d=b[r+116>>2],b[d+(n<<2)>>2]=b[e>>2];r:{e:{i:{a:{f:{n:{t:{if((0|i)==(0|a)){if((0|a)>=(0|(n=a?a<<1:1)))break t;if(!n)break n;if(g=CA(n<<2,16),d=b[r+116>>2],(0|(a=b[r+108>>2]))<1)break f;break a}g=d,n=a,a=i;break r}g=d,n=a;break r}if(g=0,(0|a)>=1)break a}if(!d)break e;break i}for(i=g,_=d,t=a;b[i>>2]=b[_>>2],i=i+4|0,_=_+4|0,t=t+-1|0;);}C[r+120|0]&&(gA(d),a=b[r+108>>2]),b[r+116>>2]=0}b[r+116>>2]=g,f[r+120|0]=1,b[r+112>>2]=n}i=a+1|0,b[h>>2]=i,b[(a<<2)+g>>2]=b[e+4>>2];r:{e:{i:{a:{f:{n:{t:{if((0|i)==(0|n)){if((0|n)>=(0|(d=n?n<<1:1)))break t;if(!d)break n;if(a=CA(d<<2,16),g=b[r+116>>2],(0|(n=b[r+108>>2]))<1)break f;break a}a=g,n=i;break r}a=g;break r}if(a=0,(0|n)>=1)break a}if(!g)break e;break i}for(i=a,_=g,t=n;b[i>>2]=b[_>>2],i=i+4|0,_=_+4|0,t=t+-1|0;);}C[r+120|0]&&(gA(g),n=b[r+108>>2]),b[r+116>>2]=0}b[r+116>>2]=a,f[r+120|0]=1,b[r+112>>2]=d}i=n+1|0,b[r+108>>2]=i,b[(n<<2)+a>>2]=b[e+8>>2],r=b[r+32>>2],b[r+16>>2]=a,b[r+12>>2]=b[r+12>>2]+1,_=((0|i)/3|0)-1|0}return _}function pe(r){var e=0,i=0;return b[(r|=0)>>2]=14740,(i=b[(e=r+156|0)>>2])&&(C[r+160|0]&&gA(i),b[r+156>>2]=0),b[e>>2]=0,f[r+160|0]=1,b[(e=r+148|0)>>2]=0,b[e+4>>2]=0,(i=b[(e=r+136|0)>>2])&&(C[r+140|0]&&gA(i),b[r+136>>2]=0),b[e>>2]=0,f[r+140|0]=1,b[(e=r+128|0)>>2]=0,b[e+4>>2]=0,(i=b[(e=r+116|0)>>2])&&(C[r+120|0]&&gA(i),b[r+116>>2]=0),b[e>>2]=0,f[r+120|0]=1,b[(e=r+108|0)>>2]=0,b[e+4>>2]=0,(i=b[(e=r+96|0)>>2])&&(C[r+100|0]&&gA(i),b[r+96>>2]=0),b[e>>2]=0,f[r+100|0]=1,b[(e=r+88|0)>>2]=0,b[e+4>>2]=0,Re(r),0|r}function De(r,e,i){var a,f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W=b[(Z=e+104|0)+4>>2],b[(w=r+104|0)>>2]=b[Z>>2],b[w+4>>2]=W,w=b[e+120>>2],e=b[e+124>>2],b[r+180>>2]=0,b[r+144>>2]=0,b[r+120>>2]=w,b[r+124>>2]=e,W=b[(Z=i+8|0)+4>>2],b[(e=r+136|0)>>2]=b[Z>>2],b[e+4>>2]=W,w=b[i+4>>2],b[r+128>>2]=b[i>>2],b[r+132>>2]=w,w=r+128|0,Y=v[r+128>>2],j=v[r+132>>2],BA=v[e>>2],(Be=B(B(B(Y*Y)+B(j*j))+B(BA*BA)))>B(0)?(v[a+40>>2]=-BA,v[a+36>>2]=-j,v[a+32>>2]=-Y):(b[a+40>>2]=0,b[a+32>>2]=1065353216,b[a+36>>2]=0),b[r+148>>2]=E,b[(Z=r+364|0)>>2]=3,b[(e=r+164|0)>>2]=0,b[r+180>>2]=1,b[a+44>>2]=0,we(r,a+32|0,E),b[e>>2]=1065353216,e=b[r+148>>2],i=b[e+20>>2],b[w>>2]=b[e+16>>2],b[w+4>>2]=i,W=b[(E=e+24|0)+4>>2],b[(i=t=w+8|0)>>2]=b[E>>2],b[i+4>>2]=W,i=b[E+4>>2],Ia=C=a+88|0,W=b[E>>2],b[Ia>>2]=W,b[Ia+4>>2]=i,b[(E=g=a+72|0)>>2]=W,b[E+4>>2]=i,b[(E=d=a+56|0)>>2]=W,b[E+4>>2]=i,E=b[e+20>>2],e=b[e+16>>2],b[a+80>>2]=e,b[a+84>>2]=E,b[a+64>>2]=e,b[a+68>>2]=E,b[a+48>>2]=e,b[a+52>>2]=E,b[a+40>>2]=W,b[a+44>>2]=i,b[a+32>>2]=e,b[a+36>>2]=E,h=r+148|0,E=b[(_=r+368|0)>>2],Y=v[(Ia=r+136|0)>>2],j=v[(f=r+132|0)>>2],BA=v[(n=r+128|0)>>2],G=a+28|0,y=a- -64|0,Q=a+84|0,D=a+80|0,m=r+376|0;A:{for(;;){r:{e:{i:{a:{if(!((Xi=B(p(B(B(B(BA*BA)+B(j*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i*Xi)+B(F*F))+B(ui*ui)))>B(0)))break f;if((Y=B(B(-B(B(B(Be*Xi)+B(j*F))+B(BA*ui)))/Y))>=B(1))break t;if(Y<=B(0))break n;if(b[a+12>>2]=3,v[a+20>>2]=Y,v[a+16>>2]=B(1)-Y,BA=B(BA+B(ui*Y)),Be=B(Be+B(Xi*Y)),Y=B(j+B(F*Y)),(Be=B(B(BA*BA)+B(B(Be*Be)+B(Y*Y))))>=B(0))break e;break f}Be=We(b[i>>2]+16|0,b[e+152>>2]+16|0,b[e+156>>2]+16|0,b[e+160>>2]+16|0,a+16|0,a+12|0)}if(!(Be>=B(0)))break f;break e}if((Be=Fe(b[i>>2]+16|0,b[e+152>>2]+16|0,b[e+156>>2]+16|0,a+16|0,a+12|0))>=B(0))break e;break f}if(b[a+16>>2]=0,b[a+20>>2]=1065353216,b[a+12>>2]=2,(Be=B(B(B(wf*wf)+B(Zf*Zf))+B(Yf*Yf)))>=B(0))break e;break f}if(b[a+16>>2]=1065353216,b[a+20>>2]=0,b[a+12>>2]=1,(Be=B(B(B(Be*Be)+B(j*j))+B(BA*BA)))>=B(0))break e}e=b[(i=r+364|0)>>2],b[i>>2]=e+1,E=b[r+368>>2],w=R(E,36)+r|0,i=b[(Z=w+180|0)>>2]+-1|0,b[Z>>2]=i,b[348+((e<<2)+r|0)>>2]=b[148+(w+(i<<2)|0)>>2];break i}e=b[(i=r+364|0)>>2],b[i>>2]=e+1,E=b[r+368>>2],w=R(E,36)+r|0,i=b[(Z=w+180|0)>>2]+-1|0,b[Z>>2]=i,b[348+((e<<2)+r|0)>>2]=b[148+(w+(i<<2)|0)>>2];break i}b[r+376>>2]=1;break i}e=b[(i=r+364|0)>>2],b[i>>2]=e+1,E=b[r+368>>2],w=R(E,36)+r|0,i=b[(Z=w+180|0)>>2]+-1|0,b[Z>>2]=i,b[348+((e<<2)+r|0)>>2]=b[148+(w+(i<<2)|0)>>2]}e=b[r+376>>2];break r}if(pf=R(E=1-E|0,36)+r|0,b[(gi=pf+180|0)>>2]=0,b[t>>2]=0,b[t+4>>2]=0,b[w>>2]=0,b[w+4>>2]=0,b[_>>2]=E,wi=b[a+12>>2],yf=b[W>>2])for(e=Da+h|0,i=0,Y=B(0),W=a+16|0,j=B(0),BA=B(0);Ri=b[e>>2],1<>2],b[(Qf=(Da<<2)+pf|0)+148>>2]=Ri,Y=v[W>>2],b[Qf+164>>2]=b[W>>2],b[gi>>2]=Da+1,Ri=b[e>>2],Xi=v[Ri+24>>2],j=v[Ri+20>>2],BA=B(B(v[Ri+16>>2]*Y)+v[n>>2]),v[n>>2]=BA,j=B(B(j*Y)+v[f>>2]),v[f>>2]=j,Y=B(B(Xi*Y)+v[Ia>>2]),v[Ia>>2]=Y):(Da=b[Z>>2],b[Z>>2]=Da+1,b[348+((Da<<2)+r|0)>>2]=Ri),e=e+4|0,W=W+4|0,(0|yf)!=(0|(i=i+1|0)););else Y=B(0),j=B(0),BA=B(0);if(15==(0|wi)&&(b[m>>2]=1),(Ff=Ff+1|0)>>>0>=128)break A;if(!(e=b[m>>2]))continue}break}return b[r+372>>2]=148+(R(E,36)+r|0),1!=(0|e)?(N=a+96|0,e||(Y=v[r+128>>2],j=B(Y*Y),Y=v[r+132>>2],j=B(j+B(Y*Y)),Y=v[r+136>>2],v[r+144>>2]=p(B(j+B(Y*Y))),e=0),e):(b[r+144>>2]=0,N=a+96|0,1)}return b[r+376>>2]=2,b[r+372>>2]=148+(R(E,36)+r|0),N=a+96|0,2}function we(r,e,i){var a,f,n,t=B(0),C=B(0),g=B(0),d=B(0),_=B(0),R=B(0);N=a=N-48|0,t=v[e+8>>2],C=v[e>>2],g=v[e+4>>2],b[i+12>>2]=0,d=t,t=B(B(1)/B(p(B(B(B(C*C)+B(g*g))+B(t*t))))),v[i+8>>2]=d*t,v[i+4>>2]=g*t,v[i>>2]=C*t,e=b[r+120>>2],f=b[r+124>>2],n=b[r>>2]+(f>>1)|0,BA[1&f?b[b[n>>2]+e>>2]:e](a+32|0,n,i),b[a+12>>2]=0,v[a+8>>2]=-v[i+8>>2],v[a+4>>2]=-v[i+4>>2],v[a>>2]=-v[i>>2],function(r,e,i){var a,f,n,t=B(0),C=B(0),g=B(0),d=0;N=a=N-32|0,f=b[e+124>>2],n=b[e+4>>2]+(f>>1)|0,d=b[e+120>>2],d=1&f?b[b[n>>2]+d>>2]:d,b[a+12>>2]=0,t=v[i>>2],C=v[i+4>>2],g=v[i+8>>2],v[a+8>>2]=B(B(t*v[e+40>>2])+B(C*v[e+44>>2]))+B(g*v[e+48>>2]),v[a+4>>2]=B(B(t*v[e+24>>2])+B(C*v[e+28>>2]))+B(g*v[e+32>>2]),v[a>>2]=B(B(t*v[e+8>>2])+B(C*v[e+12>>2]))+B(g*v[e+16>>2]),BA[d](a+16|0,n,a),b[r+12>>2]=0,t=v[a+16>>2],C=v[a+20>>2],g=v[a+24>>2],v[r+8>>2]=B(B(B(t*v[e+88>>2])+B(C*v[e+92>>2]))+B(g*v[e+96>>2]))+v[e+112>>2],v[r+4>>2]=B(B(B(t*v[e+72>>2])+B(C*v[e+76>>2]))+B(g*v[e+80>>2]))+v[e+108>>2],v[r>>2]=B(B(B(t*v[e+56>>2])+B(C*v[e+60>>2]))+B(g*v[e- -64>>2]))+v[e+104>>2],N=a+32|0}(a+16|0,r,a),t=v[a+16>>2],C=v[a+32>>2],g=v[a+20>>2],d=v[a+36>>2],_=v[a+24>>2],R=v[a+40>>2],b[i+28>>2]=0,v[i+24>>2]=R-_,v[i+20>>2]=d-g,v[i+16>>2]=C-t,N=a+48|0}function We(r,e,i,a,f,n){var t,C=B(0),g=B(0),d=B(0),_=B(0),R=B(0),m=0,h=B(0),G=B(0),y=B(0),Q=B(0),p=B(0),D=B(0),w=B(0),Z=B(0),Y=B(0),W=0,F=B(0),E=B(0),j=B(0),BA=B(0),Be=B(0),ui=B(0),gi=0,Ri=B(0),wi=B(0),Xi=B(0),Da=B(0),Ia=B(0),yf=B(0),Qf=B(0),pf=B(0),Df=0,wf=0,Zf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)*D)),h=_,_=v[e>>2],Q=B(g*p),g=v[W>>2],Q=B(B(w-B(D*B(h*_)))-B(Q*g)),h=g,g=v[Yf>>2],R=B(B(B(Q+B(h*B(_*g)))-B(G*B(y*g)))/R),v[f+8>>2]=R,v[f+12>>2]=B(1)-B(B(d+C)+R),d=B(0)))),N=t+96|0,d}function Fe(r,e,i,a,f){var n=B(0),t=B(0),C=B(0),g=B(0),d=B(0),_=B(0),R=B(0),m=B(0),h=B(0),G=B(0),y=B(0),Q=B(0),D=B(0),w=B(0),Z=B(0),Y=0,W=B(0),F=B(0),E=0,N=0,j=B(0),BA=B(0),Be=B(0),ui=B(0),gi=B(0);t=B(-1),d=v[r>>2],g=v[e>>2],n=B(d-g),C=v[e+4>>2],Z=v[i+4>>2],BA=B(C-Z),D=v[r+4>>2],y=B(D-C),W=v[i>>2],Be=B(g-W),R=B(B(n*BA)-B(y*Be)),_=v[e+8>>2],F=v[i+8>>2],ui=B(_-F),w=v[r+8>>2],m=B(w-_),h=B(B(y*ui)-B(m*BA)),G=B(B(m*Be)-B(n*ui));A:if((gi=B(B(R*R)+B(B(h*h)+B(G*G))))>B(0)){r:{e:{i:{a:{if(B(B(B(d*B(B(R*y)-B(G*m)))+B(D*B(B(h*m)-B(R*n))))+B(B(B(G*n)-B(h*y))*w))>B(0)){if(y=B(g-d),m=B(C-D),Q=B(_-w),t=B(B(B(y*y)+B(m*m))+B(Q*Q)),n=B(-1),!(t>B(0)))break e;if((t=B(B(-B(B(B(d*y)+B(D*m))+B(w*Q)))/t))>=B(1))break a;if(Y=1,t<=B(0))break i;l(B(B(1)-t)),E=o(0),l(t),N=o(0),Y=3,n=B(w+B(Q*t)),g=B(n*n),n=B(d+B(y*t)),C=B(n*n),n=B(D+B(m*t)),n=B(g+B(C+B(n*n)));break e}n=B(-1);break r}N=1065353216,Y=2,n=B(B(B(g*g)+B(C*C))+B(_*_));break e}E=1065353216,n=B(B(B(d*d)+B(D*D))+B(w*w))}b[a+8>>2]=0,b[a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B(B(gi*ui)+B(D*y))+B(w*Q)),v[g+18960>>2]=Xi,Qf=B(B(B(wi*ui)+B(m*y))+B(G*Q)),v[g+18956>>2]=Qf,y=B(B(B(j*ui)+B(Be*y))+B(E*Q)),v[g+18952>>2]=y,Q=B(B(B(gi*F)+B(D*_))+B(w*R)),v[g+18944>>2]=Q,ui=B(B(B(wi*F)+B(m*_))+B(G*R)),v[g+18940>>2]=ui,_=B(B(B(j*F)+B(Be*_))+B(E*R)),v[g+18936>>2]=_,R=B(B(B(Y*gi)+B(W*D))+B(Z*w)),v[g+18928>>2]=R,m=B(B(B(Y*wi)+B(W*m))+B(Z*G)),v[g+18924>>2]=m,G=B(B(B(Y*j)+B(W*Be))+B(Z*E)),v[g+18920>>2]=G,D=v[r>>2],w=v[i>>2],Z=v[h>>2],Y=v[a+52>>2],W=v[e+52>>2],F=v[Ri>>2],E=v[a+56>>2],j=v[e+56>>2],Be=v[e>>2],wi=v[e+16>>2],gi=v[e+32>>2],wf=v[e+4>>2],Zf=v[e+8>>2],Yf=v[a+48>>2],Wf=v[e+48>>2],b[g+19036>>2]=0,b[g+19028>>2]=0,b[g+19012>>2]=0,v[g+19008>>2]=Xi,v[g+19004>>2]=Q,v[g+19e3>>2]=R,b[g+18996>>2]=0,v[g+18992>>2]=Qf,v[g+18988>>2]=ui,v[g+18984>>2]=m,b[g+18980>>2]=0,v[g+18976>>2]=y,v[g+18972>>2]=_,_=B(Yf-Wf),R=B(Y-W),m=B(E-j),v[g+19024>>2]=B(B(Zf*_)+B(Z*R))+B(F*m),v[g+19020>>2]=B(B(_*wf)+B(R*D))+B(m*w),v[g+19016>>2]=B(B(_*Be)+B(R*wi))+B(m*gi),b[g+19032>>2]=351,v[g+18968>>2]=G,b[(r=g+18664|0)>>2]=0,b[r+4>>2]=0,b[g+18656>>2]=0,b[g+18660>>2]=0,b[g+18892>>2]=0,b[g+18896>>2]=0,b[g+18672>>2]=0,b[g+18904>>2]=2,b[g+28>>2]=0,v[g+24>>2]=-v[n+8>>2],v[g+20>>2]=-v[n+4>>2],v[g+16>>2]=-v[n>>2];A:{r:{if(2!=(0|(r=De(g+18528|0,g+18912|0,g+16|0)))){if(1==(0|r)){for(b[(i=r=g+18520|0)>>2]=0,b[i+4>>2]=0,b[g+72>>2]=0,b[(i=g- -64|0)>>2]=0,b[i+4>>2]=0,b[g+18512>>2]=0,b[g+18516>>2]=0,b[g+18508>>2]=0,b[g+16>>2]=9,b[g+56>>2]=0,b[g+60>>2]=0,a=14336;b[(i=(g+16|0)+a|0)+4144>>2]=0,h=b[r>>2],b[i+4148>>2]=h,i=i+4100|0,h&&(b[h+44>>2]=i),b[r>>2]=i,a=a+-56|0;);if(b[g+18524>>2]=256,b[g+12>>2]=0,v[g+8>>2]=-v[n+8>>2],v[g+4>>2]=-v[n+4>>2],v[g>>2]=-v[n>>2],9!=(0|function(r,e,i){var a,n,t=0,g=B(0),_=0,R=B(0),m=0,h=0,G=0,y=B(0),Q=0,D=B(0),w=B(0),Z=B(0),Y=B(0),W=0,F=0,E=B(0),j=B(0),BA=B(0),Be=0,ui=0,gi=0,Ri=0,wi=0,Xi=0,Da=0,Ia=B(0);N=a=N-16|0,n=r;e:{i:{a:{f:{n:{if(_=b[e+372>>2],!(d[_+32>>2]<2)&&function A(r){var e,i=0,a=0,f=0,n=0,t=0,C=0,g=B(0),d=B(0),_=B(0),R=B(0),m=B(0),h=B(0),G=B(0),y=B(0),Q=0,p=B(0),D=0;N=e=N-32|0;t:{a=b[r+372>>2];b:if(!((i=b[a+32>>2]+-1|0)>>>0>3)){switch(i-1|0){default:if(b[e+28>>2]=0,b[a+20>>2]=0,i=b[r+364>>2]+-1|0,b[r+364>>2]=i,b[e+20>>2]=0,b[e+24>>2]=0,b[a+32>>2]=2,Q=a,a=b[348+((i<<2)+r|0)>>2],b[Q+4>>2]=a,b[e+16>>2]=1065353216,we(r,e+16|0,a),A(r))break t;if(C=b[(a=r+364|0)>>2],f=b[(i=r+372|0)>>2],t=b[f+32>>2]+-1|0,n=b[(t<<2)+f>>2],b[348+((C<<2)+r|0)>>2]=n,b[f+32>>2]=t,f=b[i>>2],b[e+12>>2]=0,t=e+24|0,v[e+8>>2]=-v[t>>2],b[a>>2]=C,C=b[f+32>>2],b[f+32>>2]=C+1,b[(f=f+(C<<2)|0)>>2]=n,v[e+4>>2]=-v[e+20>>2],v[e>>2]=-v[e+16>>2],b[f+16>>2]=0,we(r,e,n),A(r))break t;if(f=b[i>>2],n=b[f+32>>2]+-1|0,b[f+32>>2]=n,C=b[a>>2],f=b[f+(n<<2)>>2],b[348+((C<<2)+r|0)>>2]=f,b[t>>2]=0,b[t+4>>2]=0,b[a>>2]=C,a=b[i>>2],i=b[a+32>>2],b[a+32>>2]=i+1,b[e+16>>2]=0,b[e+20>>2]=0,b[(a=a+(i<<2)|0)>>2]=f,b[e+20>>2]=1065353216,b[a+16>>2]=0,we(r,e+16|0,f),A(r))break t;if(C=b[(a=r+364|0)>>2],f=b[(i=r+372|0)>>2],n=b[f+32>>2]+-1|0,t=b[(n<<2)+f>>2],b[348+((C<<2)+r|0)>>2]=t,b[f+32>>2]=n,f=b[i>>2],b[e+12>>2]=0,n=e+24|0,v[e+8>>2]=-v[n>>2],b[a>>2]=C,C=b[f+32>>2],b[f+32>>2]=C+1,b[(f=f+(C<<2)|0)>>2]=t,v[e+4>>2]=-v[e+20>>2],v[e>>2]=-v[e+16>>2],b[f+16>>2]=0,we(r,e,t),A(r))break t;if(f=b[i>>2],t=b[f+32>>2]+-1|0,b[f+32>>2]=t,C=b[a>>2],f=b[f+(t<<2)>>2],b[348+((C<<2)+r|0)>>2]=f,b[n>>2]=0,b[n+4>>2]=0,b[n>>2]=1065353216,b[a>>2]=C,a=b[i>>2],i=b[a+32>>2],b[a+32>>2]=i+1,b[e+16>>2]=0,b[e+20>>2]=0,b[(a=a+(i<<2)|0)>>2]=f,b[a+16>>2]=0,we(r,e+16|0,f),A(r))break t;if(t=b[(a=r+364|0)>>2],i=b[(f=r+372|0)>>2],C=b[i+32>>2]+-1|0,n=b[(C<<2)+i>>2],b[348+((t<<2)+r|0)>>2]=n,b[i+32>>2]=C,i=b[f>>2],b[e+12>>2]=0,v[e+8>>2]=-v[e+24>>2],b[a>>2]=t,t=b[i+32>>2],b[i+32>>2]=t+1,b[(i=i+(t<<2)|0)>>2]=n,v[e+4>>2]=-v[e+20>>2],v[e>>2]=-v[e+16>>2],b[i+16>>2]=0,we(r,e,n),A(r))break t;n=b[a>>2],b[a>>2]=n+1,a=b[f>>2],i=b[a+32>>2]+-1|0,b[a+32>>2]=i,b[348+((n<<2)+r|0)>>2]=b[a+(i<<2)>>2];break b;case 1:if(b[e+28>>2]=0,i=b[a+4>>2],f=b[a>>2],d=v[f+20>>2],_=B(v[i+20>>2]-d),n=b[a+8>>2],g=v[f+24>>2],y=B(v[n+24>>2]-g),g=B(v[i+24>>2]-g),R=B(v[n+20>>2]-d),d=B(B(_*y)-B(g*R)),v[e+16>>2]=d,p=g,g=v[f+16>>2],m=B(v[n+16>>2]-g),G=B(v[i+16>>2]-g),g=B(B(p*m)-B(G*y)),v[e+20>>2]=g,_=B(B(G*R)-B(_*m)),v[e+24>>2]=_,!(B(B(_*_)+B(B(d*d)+B(g*g)))>B(0)))break b;if(b[(i=a+28|0)>>2]=0,b[i+4>>2]=4,i=b[r+364>>2]+-1|0,b[r+364>>2]=i,Q=a,a=b[348+((i<<2)+r|0)>>2],b[Q+12>>2]=a,we(r,e+16|0,a),A(r))break t;if(t=b[(a=r+364|0)>>2],i=b[(f=r+372|0)>>2],C=b[i+32>>2]+-1|0,n=b[(C<<2)+i>>2],b[348+((t<<2)+r|0)>>2]=n,b[i+32>>2]=C,i=b[f>>2],b[a>>2]=t,t=b[i+32>>2],b[i+32>>2]=t+1,b[(i=i+(t<<2)|0)>>2]=n,b[e+12>>2]=0,v[e+8>>2]=-v[e+24>>2],v[e+4>>2]=-v[e+20>>2],v[e>>2]=-v[e+16>>2],b[i+16>>2]=0,we(r,e,n),A(r))break t;n=b[a>>2],b[a>>2]=n+1,a=b[f>>2],i=b[a+32>>2]+-1|0,b[a+32>>2]=i,b[348+((n<<2)+r|0)>>2]=b[a+(i<<2)>>2];break b;case 2:if(r=b[a>>2],i=b[a+12>>2],d=v[i+16>>2],y=B(v[r+16>>2]-d),f=b[a+4>>2],g=v[i+20>>2],R=B(v[f+20>>2]-g),a=b[a+8>>2],_=v[i+24>>2],m=B(v[a+24>>2]-_),G=B(v[r+20>>2]-g),h=B(v[f+24>>2]-_),p=B(v[a+16>>2]-d),_=B(v[r+24>>2]-_),d=B(v[f+16>>2]-d),g=B(v[a+20>>2]-g),!((d=B(B(B(B(y*R)*m)+B(B(B(B(B(G*h)*p)+B(B(_*d)*g))-B(B(y*h)*g))-B(B(G*d)*m)))-B(B(_*R)*p)))!=B(0)&d==d))break b;break t;case 0:}if(i=b[a>>2],d=v[i+20>>2],f=b[a+4>>2],g=v[f+20>>2],_=v[i+24>>2],R=v[f+24>>2],G=v[i+16>>2],h=v[f+16>>2],b[e+28>>2]=0,y=B(g-d),d=B(y*B(0)),R=B(R-_),g=B(R*B(0)),m=B(d-g),v[e+16>>2]=m,G=B(h-G),_=B(G*B(0)),h=B(R-_),v[e+20>>2]=h,p=B(_-y),v[e+24>>2]=p,B(B(p*p)+B(B(m*m)+B(h*h)))>B(0)){if(b[a+24>>2]=0,b[a+32>>2]=3,f=b[(i=r+364|0)>>2]+-1|0,b[i>>2]=f,Q=a,a=b[348+((f<<2)+r|0)>>2],b[Q+8>>2]=a,we(r,e+16|0,a),A(r))break t;if(t=b[i>>2],a=b[(f=r+372|0)>>2],C=b[a+32>>2]+-1|0,n=b[(C<<2)+a>>2],b[348+((t<<2)+r|0)>>2]=n,b[a+32>>2]=C,a=b[f>>2],b[e+12>>2]=0,v[e+8>>2]=-v[e+24>>2],b[i>>2]=t,i=b[a+32>>2],b[a+32>>2]=i+1,b[(a=a+(i<<2)|0)>>2]=n,v[e+4>>2]=-v[e+20>>2],v[e>>2]=-v[e+16>>2],b[a+16>>2]=0,we(r,e,n),A(r))break t;a=b[(i=r+364|0)>>2],b[i>>2]=a+1,i=b[f>>2],f=b[i+32>>2]+-1|0,b[i+32>>2]=f,b[348+((a<<2)+r|0)>>2]=b[i+(f<<2)>>2]}if(b[(C=e+28|0)>>2]=0,D=e+24|0,m=B(G-d),v[D>>2]=m,h=B(g-_),v[e+20>>2]=h,R=B(d-R),v[e+16>>2]=R,B(B(m*m)+B(B(R*R)+B(h*h)))>B(0)){if(i=b[(a=r+364|0)>>2]+-1|0,b[a>>2]=i,n=b[(f=r+372|0)>>2],t=b[n+32>>2],b[n+32>>2]=t+1,b[(n=n+(t<<2)|0)+16>>2]=0,i=b[348+((i<<2)+r|0)>>2],b[n>>2]=i,we(r,e+16|0,i),A(r))break t;if(t=b[a>>2],i=b[f>>2],Q=b[i+32>>2]+-1|0,n=b[(Q<<2)+i>>2],b[348+((t<<2)+r|0)>>2]=n,b[i+32>>2]=Q,i=b[f>>2],b[e+12>>2]=0,v[e+8>>2]=-v[e+24>>2],b[a>>2]=t,a=b[i+32>>2],b[i+32>>2]=a+1,b[(a=i+(a<<2)|0)>>2]=n,v[e+4>>2]=-v[e+20>>2],v[e>>2]=-v[e+16>>2],b[a+16>>2]=0,we(r,e,n),A(r))break t;a=b[(i=r+364|0)>>2],b[i>>2]=a+1,i=b[r+372>>2],f=b[i+32>>2]+-1|0,b[i+32>>2]=f,b[348+((a<<2)+r|0)>>2]=b[i+(f<<2)>>2]}if(b[C>>2]=0,d=B(_-d),v[D>>2]=d,_=B(g-G),v[e+20>>2]=_,g=B(y-g),v[e+16>>2]=g,B(B(d*d)+B(B(g*g)+B(_*_)))>B(0)){if(i=b[(a=r+364|0)>>2]+-1|0,b[a>>2]=i,n=b[(f=r+372|0)>>2],t=b[n+32>>2],b[n+32>>2]=t+1,b[(n=n+(t<<2)|0)+16>>2]=0,i=b[348+((i<<2)+r|0)>>2],b[n>>2]=i,we(r,e+16|0,i),A(r))break t;if(t=b[a>>2],i=b[f>>2],C=b[i+32>>2]+-1|0,n=b[(C<<2)+i>>2],b[348+((t<<2)+r|0)>>2]=n,b[i+32>>2]=C,i=b[f>>2],b[e+12>>2]=0,v[e+8>>2]=-v[e+24>>2],b[a>>2]=t,a=b[i+32>>2],b[i+32>>2]=a+1,b[(a=i+(a<<2)|0)>>2]=n,v[e+4>>2]=-v[e+20>>2],v[e>>2]=-v[e+16>>2],b[a+16>>2]=0,we(r,e,n),A(r))break t;a=b[(i=r+364|0)>>2],b[i>>2]=a+1,i=b[r+372>>2],f=b[i+32>>2]+-1|0,b[i+32>>2]=f,b[348+((a<<2)+r|0)>>2]=b[i+(f<<2)>>2]}}return N=e+32|0,0}return N=e+32|0,1}(e)){if(t=b[r+18496>>2]){for(m=b[r+18508>>2],h=b[r+18500>>2],G=r+18496|0,Q=r+18504|0;(F=b[(W=t+48|0)>>2])&&(b[F+44>>2]=b[t+44>>2]),(F=b[t+44>>2])&&(b[F+48>>2]=b[W>>2]),(0|t)==b[G>>2]&&(b[G>>2]=b[W>>2]),b[t+44>>2]=0,b[W>>2]=b[Q>>2],(W=b[Q>>2])&&(b[W+44>>2]=t),h=h+-1|0,b[Q>>2]=t,m=m+1|0,t=b[G>>2];);b[r+18508>>2]=m,b[r+18500>>2]=h}if(b[r+18492>>2]=0,b[r>>2]=0,m=b[_>>2],h=b[_+12>>2],g=v[h+16>>2],Y=B(v[m+16>>2]-g),t=b[_+4>>2],R=v[h+20>>2],D=B(v[t+20>>2]-R),G=b[_+8>>2],y=v[h+24>>2],w=B(v[G+24>>2]-y),Z=B(v[m+20>>2]-R),E=B(v[t+24>>2]-y),j=B(v[G+16>>2]-g),y=B(v[m+24>>2]-y),g=B(v[t+16>>2]-g),R=B(v[G+20>>2]-R),B(B(B(B(Y*D)*w)+B(B(B(B(B(Z*E)*j)+B(B(y*g)*R))-B(B(Y*E)*R))-B(B(Z*g)*w)))-B(B(y*D)*j))>2]=t,b[_+4>>2]=m,h=b[_+16>>2],Q=_+20|0,b[_+16>>2]=b[Q>>2],b[Q>>2]=h,h=m):(h=t,t=m),m=Ye(r,t,h,G,1),t=_+12|0,h=Ye(r,b[(G=_+4|0)>>2],b[_>>2],b[t>>2],1),Q=Ye(r,b[(W=_+8|0)>>2],b[G>>2],b[t>>2],1),G=Ye(r,b[_>>2],b[W>>2],b[t>>2],1),4==b[r+18500>>2]){if(i=b[r+18496>>2],g=v[i+16>>2],t=b[i+48>>2]){for(g=B(g*g);R=v[t+16>>2],i=(_=(R=B(R*R))>2];);g=v[i+16>>2]}for(_=b[i+28>>2],W=b[i+24>>2],F=b[i+20>>2],D=v[i+12>>2],Y=v[i+8>>2],y=v[i+4>>2],R=v[i>>2],b[m+32>>2]=h,f[m+52|0]=0,b[h+32>>2]=m,f[h+52|0]=0,b[m+36>>2]=Q,f[m+53|0]=0,b[Q+32>>2]=m,f[Q+52|0]=1,b[m+40>>2]=G,f[m+54|0]=0,b[G+32>>2]=m,f[G+52|0]=2,b[h+36>>2]=G,f[h+53|0]=2,b[G+40>>2]=h,f[G+54|0]=1,b[h+40>>2]=Q,f[h+54|0]=1,b[Q+36>>2]=h,f[0|(t=Q+53|0)]=258,f[t+1|0]=1,b[Q+40>>2]=G,f[G+53|0]=2,b[G+36>>2]=Q,b[r>>2]=0,Be=r+18492|0,ui=a+8|0,h=r+18496|0,G=r+18504|0,gi=r+18500|0,Ri=r+18508|0,m=0;;){if((t=b[Be>>2])>>>0>127)break n;if(b[ui>>2]=0,b[Be>>2]=t+1,m=m+1|0,f[i+55|0]=m,b[a>>2]=0,b[a+4>>2]=0,we(e,i,wi=(t=(t<<5)+r|0)+60|0),!(B(B(B(B(v[i>>2]*v[t+76>>2])+B(v[i+4>>2]*v[t+80>>2]))+B(v[i+8>>2]*v[t+84>>2]))-v[i+16>>2])>B(9999999747378752e-20)))break f;for(Q=i+32|0,t=52;(Xi=Ee(r,m,wi,b[Q>>2],C[i+t|0],a))&&(Da=t+-51|0,Q=Q+4|0,t=t+1|0,Da>>>0<3););if(!(Xi&d[ui>>2]>2))break a;if(t=b[a>>2],f[t+53|0]=2,_=b[a+4>>2],b[t+36>>2]=_,b[_+40>>2]=t,f[_+54|0]=1,(_=b[(t=i+48|0)>>2])&&(b[_+44>>2]=b[i+44>>2]),(_=b[i+44>>2])&&(b[_+48>>2]=b[t>>2]),(0|i)==b[h>>2]&&(b[h>>2]=b[t>>2]),b[i+44>>2]=0,b[t>>2]=b[G>>2],b[gi>>2]=b[gi>>2]+-1,(t=b[G>>2])&&(b[t+44>>2]=i),b[G>>2]=i,b[Ri>>2]=b[Ri>>2]+1,i=b[h>>2],g=v[i+16>>2],t=b[i+48>>2]){for(g=B(g*g);R=v[t+16>>2],i=(_=(R=B(R*R))>2];);g=v[i+16>>2]}if(_=b[i+28>>2],W=b[i+24>>2],F=b[i+20>>2],D=v[i+12>>2],Y=v[i+8>>2],y=v[i+4>>2],R=v[i>>2],!(m>>>0<255))break}break e}}return b[r>>2]=8,g=v[i>>2],R=v[i+4>>2],y=v[i+8>>2],b[r+52>>2]=0,e=r+48|0,Y=B(-y),v[e>>2]=Y,i=r+44|0,D=B(-R),v[i>>2]=D,w=B(-g),v[r+40>>2]=w,(g=B(p(B(B(B(g*g)+B(R*R))+B(y*y)))))>B(0)?(g=B(B(1)/g),v[e>>2]=g*Y,v[i>>2]=g*D,v[r+40>>2]=g*w):(b[r+40>>2]=1065353216,b[r+44>>2]=0,b[e>>2]=0),b[(e=r+52|0)>>2]=0,b[e+4>>2]=0,b[r+36>>2]=1,b[r+20>>2]=1065353216,b[r+4>>2]=b[_>>2],N=a+16|0,8}b[r>>2]=6;break e}e=7;break i}e=4}b[n>>2]=e}return v[r+56>>2]=g,v[r+40>>2]=R,v[r+52>>2]=D,v[r+48>>2]=Y,v[r+44>>2]=y,e=r+20|0,R=B(R*g),D=B(v[W+16>>2]-R),i=_+20|0,y=B(y*g),w=B(v[i>>2]-y),Z=B(v[(t=W+20|0)>>2]-y),E=B(v[_+16>>2]-R),j=B(B(D*w)-B(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|0)>>2],D=v[(i=e+8|0)>>2],y=v[(a=e+4|0)>>2],w=v[(n=e+52|0)>>2],Q=v[(h=e+24|0)>>2],Z=v[(Ri=e+16|0)>>2],Y=v[(Da=e+20|0)>>2],W=v[(Ia=e+56|0)>>2],F=v[(yf=e+40|0)>>2],E=v[(pf=e+32|0)>>2],j=v[(Df=e+36|0)>>2],Be=v[e>>2],b[t+16>>2]=0,v[t+12>>2]=W+B(B(B(m*E)+B(R*j))+B(_*F)),v[t+8>>2]=w+B(B(B(m*Z)+B(R*Y))+B(_*Q)),v[t+4>>2]=G+B(B(B(m*Be)+B(R*y))+B(_*D)),b[t>>2]=1,D=v[r>>2],y=v[a>>2],w=v[i>>2],Q=v[n>>2],Z=v[h>>2],Y=v[Ri>>2],W=v[Da>>2],F=v[Ia>>2],E=v[yf>>2],j=v[pf>>2],Be=v[Df>>2],wi=v[e>>2],G=v[g+72>>2],v[t+52>>2]=-G,b[t+48>>2]=0,gi=v[g- -64>>2],v[t+44>>2]=-gi,ui=v[g+60>>2],v[t+40>>2]=-ui,Xi=v[g+56>>2],v[t+36>>2]=-Xi,b[t+32>>2]=0,m=B(m-B(Xi*G)),R=B(R-B(G*ui)),_=B(_-B(G*gi)),v[t+28>>2]=F+B(B(B(j*m)+B(Be*R))+B(E*_)),v[t+24>>2]=Q+B(B(B(m*Y)+B(R*W))+B(_*Z)),v[t+20>>2]=D+B(B(B(m*wi)+B(R*y))+B(_*w)),N=g+19040|0,1}return N=g+19040|0,0}function Ye(r,e,i,a,n){var t=0,C=0,g=B(0),d=B(0),_=B(0),R=B(0),m=B(0),h=B(0),G=B(0),y=B(0),Q=0,D=B(0);A:{r:{e:{if(t=b[r+18504>>2]){if((C=b[t+48>>2])&&(b[C+44>>2]=b[t+44>>2]),(C=b[t+44>>2])&&(b[C+48>>2]=b[t+48>>2]),b[(C=r+18504|0)>>2]==(0|t)&&(b[C>>2]=b[t+48>>2]),b[t+44>>2]=0,b[t+48>>2]=b[r+18496>>2],b[(C=r+18508|0)>>2]=b[C>>2]+-1,(C=b[r+18496>>2])&&(b[C+44>>2]=t),b[r+18496>>2]=t,b[(C=r+18500|0)>>2]=b[C>>2]+1,f[t+55|0]=0,b[t+28>>2]=a,b[t+24>>2]=i,b[t+20>>2]=e,R=v[i+24>>2],g=v[e+24>>2],D=v[a+24>>2],m=v[a+20>>2],h=v[i+20>>2],_=v[e+20>>2],G=v[i+16>>2],d=v[e+16>>2],y=v[a+16>>2],b[t+12>>2]=0,G=B(G-d),m=B(m-_),h=B(h-_),d=B(y-d),_=B(B(G*m)-B(h*d)),v[t+8>>2]=_,R=B(R-g),y=B(R*d),d=B(D-g),g=B(y-B(G*d)),v[t+4>>2]=g,d=B(B(h*d)-B(R*m)),v[t>>2]=d,Q=2,!((g=B(p(B(B(B(d*d)+B(g*g))+B(_*_)))))>B(9999999747378752e-20)))break r;if(Ne(t,e,i,C=t+16|0)||Ne(t,i,a,C)||Ne(t,a,e,C)||(v[t+16>>2]=B(B(B(v[e+16>>2]*v[t>>2])+B(v[e+20>>2]*v[t+4>>2]))+B(v[e+24>>2]*v[t+8>>2]))/g),g=B(B(1)/g),v[t>>2]=g*v[t>>2],v[(e=t+4|0)>>2]=g*v[e>>2],v[(e=t+8|0)>>2]=g*v[e>>2],!n)break e;return t}return b[r>>2]=5,0}if(Q=3,v[C>>2]>=B(-9999999747378752e-21))break A}return b[r>>2]=Q,(e=b[t+48>>2])&&(b[e+44>>2]=b[t+44>>2]),(e=b[t+44>>2])&&(b[e+48>>2]=b[t+48>>2]),b[(e=r+18496|0)>>2]==(0|t)&&(b[e>>2]=b[t+48>>2]),b[t+44>>2]=0,e=r+18504|0,b[t+48>>2]=b[e>>2],b[(i=r+18500|0)>>2]=b[i>>2]+-1,(i=b[e>>2])&&(b[i+44>>2]=t),b[e>>2]=t,b[(r=r+18508|0)>>2]=b[r>>2]+1,0}return t}function Ee(r,e,i,a,n,t){var g=0,d=0;A:if(C[a+55|0]!=(0|e)){d=b[(g=n<<2)+14832>>2];r:{e:{if(B(B(B(B(v[a>>2]*v[i+16>>2])+B(v[a+4>>2]*v[i+20>>2]))+B(v[a+8>>2]*v[i+24>>2]))-v[a+16>>2])>2],b[r+g>>2],i,0)))break A;if(b[r+32>>2]=a,f[r+52|0]=n,f[52+(a+n|0)|0]=0,b[32+((n<<2)+a|0)>>2]=r,!(e=b[t>>2]))break e;b[e+36>>2]=r,f[e+53|0]=2,b[r+40>>2]=e,f[r+54|0]=1;break r}if(f[a+55|0]=e,!Ee(r,e,i,b[32+((d<<2)+a|0)>>2],C[52+(a+d|0)|0],t))break A;if(n=e,e=b[g+14844>>2],!Ee(r,n,i,b[32+((e<<2)+a|0)>>2],C[52+(e+a|0)|0],t))break A;return(e=b[a+48>>2])&&(b[e+44>>2]=b[a+44>>2]),(e=b[a+44>>2])&&(b[e+48>>2]=b[a+48>>2]),(0|a)==b[(e=r+18496|0)>>2]&&(b[e>>2]=b[a+48>>2]),b[a+44>>2]=0,b[a+48>>2]=b[r+18504>>2],b[(e=r+18500|0)>>2]=b[e>>2]+-1,(e=b[r+18504>>2])&&(b[e+44>>2]=a),b[r+18504>>2]=a,b[(r=r+18508|0)>>2]=b[r>>2]+1,1}b[t+4>>2]=r}return b[t>>2]=r,b[t+8>>2]=b[t+8>>2]+1,1}return 0}function Ne(r,e,i,a){var f=B(0),n=B(0),t=B(0),b=B(0),C=B(0),g=B(0),d=B(0),_=B(0),R=B(0),m=B(0),h=B(0),G=B(0);return C=v[i+24>>2],f=v[e+24>>2],_=B(C-f),g=v[i+16>>2],t=v[e+16>>2],R=B(g-t),n=v[r+4>>2],d=v[i+20>>2],b=v[e+20>>2],m=B(d-b),h=v[r>>2],G=v[r+8>>2],r=0,B(B(f*B(B(R*n)-B(m*h)))+B(B(t*B(B(m*G)-B(_*n)))+B(b*B(B(_*h)-B(R*G)))))B(0)||(n=B(B(B(g*g)+B(d*d))+B(C*C)),B(B(B(g*R)+B(d*m))+B(C*_))B(0)?f:B(0))),v[a>>2]=p(n),r=1),r}function Ve(r){var e=0;f[r+356|0]=1,b[r>>2]=0,f[r+312|0]=0,b[r+292>>2]=1566444395,b[r+296>>2]=1566444395,b[(e=r+300|0)>>2]=1566444395,b[e+4>>2]=0,f[r+352|0]=0,b[(e=r+344|0)>>2]=0,b[e+4>>2]=0,b[(e=r+336|0)>>2]=0,b[e+4>>2]=0,f[0|(r=r+332|0)]=240&C[0|r]}function Ie(r,e,i,a){var n,t=0,C=0,g=0;t=b[e+4>>2],b[r+292>>2]=b[e>>2],b[r+296>>2]=t,g=b[(t=e+8|0)+4>>2],b[(C=r+300|0)>>2]=b[t>>2],b[C+4>>2]=g,f[r+356|0]=1,n=b[t+4>>2],C=(b[r>>2]<<4)+r|0,b[(g=C+12|0)>>2]=b[t>>2],b[g+4>>2]=n,t=C+4|0,C=b[e+4>>2],b[t>>2]=b[e>>2],b[t+4>>2]=C,g=b[(C=i+8|0)+4>>2],e=(b[r>>2]<<4)+r|0,b[(t=e+92|0)>>2]=b[C>>2],b[t+4>>2]=g,t=b[i+4>>2],b[(e=e+84|0)>>2]=b[i>>2],b[e+4>>2]=t,t=b[a+4>>2],e=(b[r>>2]<<4)+r|0,b[(i=e+164|0)>>2]=b[a>>2],b[i+4>>2]=t,a=b[(i=a+8|0)+4>>2],b[(e=e+172|0)>>2]=b[i>>2],b[e+4>>2]=a,b[r>>2]=b[r>>2]+1}function Je(r){var e,i=0,a=0,n=0,t=0,g=0,d=0,_=B(0),R=0,m=0,h=B(0),G=0,y=0,Q=B(0),p=B(0),D=0,w=B(0),Z=0,Y=0,W=0,F=B(0),E=B(0),j=B(0),BA=B(0),Be=0,ui=0,gi=B(0),Ri=B(0),wi=B(0),Xi=B(0),Da=B(0),Ia=B(0),yf=B(0),Qf=0;N=e=N-16|0;A:{r:{e:{i:{a:{f:{n:{t:{b:{o:{k:{c:{u:{l:{s:{C:{g:{d:{v:{_:{R:{B:{m:{h:{G:{y:{Q:{p:{D:{w:{Z:{if(C[r+356|0]){if(f[r+352|0]=0,b[(i=r+344|0)>>2]=0,b[i+4>>2]=0,b[(i=ui=r+336|0)>>2]=0,b[i+4>>2]=0,f[r+356|0]=0,i=-16&C[0|(n=r+332|0)],f[0|n]=i,(n=b[r>>2])>>>0>4)break r;switch(a=r+316|0,n-1|0){case 3:break p;case 2:break D;case 1:break w;case 0:break Z}a=0;break r}a=C[r+312|0];break A}a=b[r+168>>2],b[r+260>>2]=b[r+164>>2],b[r+264>>2]=a,a=b[r+88>>2],b[r+244>>2]=b[r+84>>2],b[r+248>>2]=a,d=b[(m=r+172|0)+4>>2],b[(a=n=r+268|0)>>2]=b[m>>2],b[a+4>>2]=d,d=b[(m=r+92|0)+4>>2],b[(a=r+252|0)>>2]=b[m>>2],b[a+4>>2]=d,f[r+352|0]=0,b[r+288>>2]=0,v[r+280>>2]=v[r+248>>2]-v[r+264>>2],v[r+276>>2]=v[r+244>>2]-v[r+260>>2],v[r+284>>2]=v[a>>2]-v[n>>2],b[(a=r+344|0)>>2]=0,b[a+4>>2]=0,b[(a=r+336|0)>>2]=1065353216,b[a+4>>2]=0,f[r+332|0]=i,a=1;break r}if(w=v[r+4>>2],_=B(v[r+20>>2]-w),F=v[r+8>>2],Q=B(v[r+24>>2]-F),E=v[r+12>>2],p=B(v[r+28>>2]-E),!((w=B(B(B(B(B(0)-w)*_)+B(B(B(0)-F)*Q))+B(B(B(0)-E)*p)))>B(0)))break Q;if(!(w<(h=B(B(B(_*_)+B(Q*Q))+B(p*p)))))break h;h=B(w/h),a=3|i;break m}if(b[(i=e+8|0)>>2]=0,b[i+4>>2]=0,b[e>>2]=0,b[e+4>>2]=0,Xe(e,m=r+4|0,d=r+20|0,t=r+36|0,a),b[r+256>>2]=0,Q=v[r+336>>2],h=v[r+340>>2],_=v[r+344>>2],p=B(B(B(Q*v[r+92>>2])+B(h*v[r+108>>2]))+B(_*v[r+124>>2])),v[r+252>>2]=p,w=B(B(B(Q*v[r+88>>2])+B(h*v[r+104>>2]))+B(_*v[r+120>>2])),v[r+248>>2]=w,g=r+100|0,y=r+116|0,F=B(B(B(Q*v[r+84>>2])+B(h*v[g>>2]))+B(_*v[y>>2])),v[r+244>>2]=F,E=v[(Y=r+180|0)>>2],j=v[(D=r+196|0)>>2],BA=v[r+200>>2],gi=v[r+168>>2],Ri=v[r+184>>2],Xi=v[r+204>>2],Da=v[r+172>>2],Ia=v[r+188>>2],yf=v[r+164>>2],b[r+288>>2]=0,wi=p,p=B(B(B(Q*Da)+B(h*Ia))+B(_*Xi)),v[r+284>>2]=wi-p,wi=w,w=B(B(B(Q*gi)+B(h*Ri))+B(_*BA)),v[r+280>>2]=wi-w,Q=B(B(B(Q*yf)+B(h*E))+B(_*j)),v[r+276>>2]=F-Q,b[r+272>>2]=0,v[r+268>>2]=p,v[r+264>>2]=w,v[r+260>>2]=Q,(0|(i=b[r>>2]))<4)break y;if(8&(n=C[r+332|0]))break B;if(a=i+-1|0,b[r>>2]=a,Z=b[(G=(i=(a<<4)+r|0)+12|0)+4>>2],b[(R=r+60|0)>>2]=b[G>>2],b[R+4>>2]=Z,Z=b[(G=i+4|0)+4>>2],b[(R=r+52|0)>>2]=b[G>>2],b[R+4>>2]=Z,Z=b[(G=i+92|0)+4>>2],b[(R=r+140|0)>>2]=b[G>>2],b[R+4>>2]=Z,Z=b[(G=i+84|0)+4>>2],b[(R=r+132|0)>>2]=b[G>>2],b[R+4>>2]=Z,Z=b[(G=i+172|0)+4>>2],b[(R=r+220|0)>>2]=b[G>>2],b[R+4>>2]=Z,G=b[(i=i+164|0)+4>>2],b[(R=r+212|0)>>2]=b[i>>2],b[R+4>>2]=G,!(4&n))break t;break n}if(b[(i=e+8|0)>>2]=0,b[i+4>>2]=0,b[e>>2]=0,b[e+4>>2]=0,!function(r,e,i,a,n,t){var g,d=B(0),_=B(0),R=B(0),m=B(0),h=B(0),G=0,y=0,Q=B(0),p=B(0),D=0,w=B(0),Z=B(0),Y=B(0),W=B(0),F=B(0),E=B(0),j=B(0),BA=B(0),Be=0,ui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[0|D]|2&y|4&y,G)break Z;break w}return f[t+36|0]=1,N=g+48|0,0}R=B(34028234663852886e22)}if(_=R,!G)break w}Xe(r,e,a,n,g+8|0),h=v[g+8>>2],d=B(h-v[r>>2]),R=B(d*d),m=v[g+12>>2],d=B(m-v[r+4>>2]),Q=B(R+B(d*d)),R=v[g+16>>2],d=B(R-v[r+8>>2]),(d=B(Q+B(d*d)))<_&&(b[t+12>>2]=b[g+20>>2],v[t+8>>2]=R,v[t+4>>2]=m,v[t>>2]=h,b[t+20>>2]=b[g+28>>2],b[t+24>>2]=0,y=b[(G=g+32|0)+4>>2],b[(D=t+28|0)>>2]=b[G>>2],b[D+4>>2]=y,G=t+16|0,D=(y=C[g+24|0])<<1,f[0|G]=8&D|4&D|1&y|240&C[0|G],_=d)}if(Vf&&(Xe(r,e,n,i,g+8|0),h=v[g+8>>2],d=B(h-v[r>>2]),R=B(d*d),m=v[g+12>>2],d=B(m-v[r+4>>2]),Q=B(R+B(d*d)),R=v[g+16>>2],d=B(R-v[r+8>>2]),(d=B(Q+B(d*d)))<_&&(b[t+12>>2]=b[g+20>>2],v[t+8>>2]=R,v[t+4>>2]=m,v[t>>2]=h,b[t+20>>2]=b[g+28>>2],b[t+28>>2]=0,b[t+32>>2]=b[g+32>>2],b[t+24>>2]=b[g+36>>2],G=t+16|0,e=C[g+24|0],f[0|G]=1&e|240&C[0|G]|e>>>1&2|e<<2&8,_=d)),!Be)break p;Xe(r,i,n,a,g+8|0),y=1,d=v[g+8>>2],h=B(d-v[r>>2]),R=B(h*h),h=v[g+12>>2],m=B(h-v[r+4>>2]),Q=B(R+B(m*m)),m=v[g+16>>2],R=B(m-v[r+8>>2]),B(Q+B(R*R))<_&&(b[t+12>>2]=b[g+20>>2],v[t+8>>2]=m,v[t+4>>2]=h,v[t>>2]=d,b[t+20>>2]=0,b[t+24>>2]=b[g+28>>2],b[t+32>>2]=b[g+32>>2],b[t+28>>2]=b[g+36>>2],e=t+16|0,r=C[g+24|0],f[0|e]=4&r|240&C[0|e]|r<<1&2|r<<2&8)}return N=g+48|0,y}return N=g+48|0,1}(e,m=r+4|0,d=r+20|0,t=r+36|0,g=r+52|0,a))break G;if(b[r+256>>2]=0,_=v[r+336>>2],Q=v[r+340>>2],p=v[r+344>>2],h=v[r+348>>2],w=B(B(B(B(_*v[r+92>>2])+B(Q*v[r+108>>2]))+B(p*v[r+124>>2]))+B(h*v[r+140>>2])),v[r+252>>2]=w,F=B(B(B(B(_*v[r+88>>2])+B(Q*v[r+104>>2]))+B(p*v[r+120>>2]))+B(h*v[r+136>>2])),v[r+248>>2]=F,y=r+100|0,Y=r+116|0,D=r+132|0,E=B(B(B(B(_*v[r+84>>2])+B(Q*v[y>>2]))+B(p*v[Y>>2]))+B(h*v[D>>2])),v[r+244>>2]=E,b[r+288>>2]=0,b[r+272>>2]=0,j=B(B(B(B(_*v[r+172>>2])+B(Q*v[r+188>>2]))+B(p*v[r+204>>2]))+B(h*v[r+220>>2])),v[r+268>>2]=j,BA=B(B(B(B(_*v[r+168>>2])+B(Q*v[r+184>>2]))+B(p*v[r+200>>2]))+B(h*v[r+216>>2])),v[r+264>>2]=BA,R=r+180|0,G=r+196|0,Z=r+212|0,_=B(B(B(B(_*v[r+164>>2])+B(Q*v[R>>2]))+B(p*v[G>>2]))+B(h*v[Z>>2])),v[r+260>>2]=_,v[r+284>>2]=w-j,v[r+280>>2]=F-BA,v[r+276>>2]=E-_,(0|(i=b[r>>2]))<4)break R;if(8&(n=C[r+332|0]))break d;if(a=i+-1|0,b[r>>2]=a,Qf=b[(Be=(i=(a<<4)+r|0)+12|0)+4>>2],b[(W=g+8|0)>>2]=b[Be>>2],b[W+4>>2]=Qf,Be=b[(W=i+4|0)+4>>2],b[g>>2]=b[W>>2],b[g+4>>2]=Be,Be=b[(W=i+92|0)+4>>2],b[(g=D+8|0)>>2]=b[W>>2],b[g+4>>2]=Be,W=b[(g=i+84|0)+4>>2],b[D>>2]=b[g>>2],b[D+4>>2]=W,W=b[(D=i+172|0)+4>>2],b[(g=Z+8|0)>>2]=b[D>>2],b[g+4>>2]=W,g=b[(i=i+164|0)+4>>2],b[Z>>2]=b[i>>2],b[Z+4>>2]=g,!(4&n))break g;break s}a=1|i;break m}if(a=3,3!=(0|i))break _;if(4&(n=C[r+332|0]))break n;break t}if(!C[r+352|0])break v;a=0,f[r+312|0]=0;break A}h=B(1),a=2|i}b[(i=r+344|0)>>2]=0,b[i+4>>2]=0,v[r+340>>2]=h,w=B(B(1)-h),v[r+336>>2]=w,f[r+332|0]=a,b[r+256>>2]=0,_=v[r+92>>2],F=B(_+B(h*B(v[r+108>>2]-_))),v[r+252>>2]=F,_=v[r+88>>2],E=B(_+B(h*B(v[r+104>>2]-_))),v[r+248>>2]=E,_=v[r+84>>2],j=B(_+B(h*B(v[r+100>>2]-_))),v[r+244>>2]=j,BA=v[r+180>>2],gi=v[r+184>>2],_=v[r+168>>2],Ri=v[r+188>>2],Q=v[r+172>>2],p=v[r+164>>2],b[r+288>>2]=0,Q=B(Q+B(h*B(Ri-Q))),v[r+284>>2]=F-Q,_=B(_+B(h*B(gi-_))),v[r+280>>2]=E-_,p=B(p+B(h*B(BA-p))),v[r+276>>2]=j-p,b[r+272>>2]=0,v[r+268>>2]=Q,v[r+264>>2]=_,v[r+260>>2]=p,n=1,2&a||(b[r>>2]=1,n=0),1&a||(b[r>>2]=n,n=b[(i=(a=(n<<4)+r|0)+12|0)>>2],m=b[i+4>>2],d=b[(i=a+4|0)>>2],t=b[i+4>>2],Y=b[(y=a+92|0)+4>>2],b[(g=(i=r+84|0)+8|0)>>2]=b[y>>2],b[g+4>>2]=Y,y=b[(g=a+84|0)+4>>2],b[i>>2]=b[g>>2],b[i+4>>2]=y,Y=b[(y=a+164|0)+4>>2],b[(i=r+164|0)>>2]=b[y>>2],b[i+4>>2]=Y,g=b[(a=a+172|0)+4>>2],b[(i=i+8|0)>>2]=b[a>>2],b[i+4>>2]=g,b[(a=r+4|0)>>2]=d,b[a+4>>2]=t,b[(a=a+8|0)>>2]=n,b[a+4>>2]=m),a=h>=B(0)&w>=B(0);break r}if(a=i,4&n)break n;break t}if(a=3,3!=(0|i))break C;if(!(4&(n=C[r+332|0])))break g;break s}if(a=2,(0|i)<2)break u;if(!(2&(n=C[r+332|0])))break f;break a}b[r+276>>2]=0,b[r+280>>2]=0,b[(a=r+284|0)>>2]=0,b[a+4>>2]=0,a=1,f[r+312|0]=1;break A}if(a=i,4&n)break s}if(a=a+-1|0,b[r>>2]=a,Z=b[(D=(i=(a<<4)+r|0)+12|0)+4>>2],b[(g=t+8|0)>>2]=b[D>>2],b[g+4>>2]=Z,D=b[(g=i+4|0)+4>>2],b[t>>2]=b[g>>2],b[t+4>>2]=D,D=b[(g=i+92|0)+4>>2],b[(t=Y+8|0)>>2]=b[g>>2],b[t+4>>2]=D,g=b[(t=i+84|0)+4>>2],b[Y>>2]=b[t>>2],b[Y+4>>2]=g,Y=b[(g=i+172|0)+4>>2],b[(t=G+8|0)>>2]=b[g>>2],b[t+4>>2]=Y,t=b[(i=i+164|0)+4>>2],b[G>>2]=b[i>>2],b[G+4>>2]=t,!(2&n))break l;break k}if(a=2,(0|i)<2)break c;n=C[r+332|0]}if(2&n)break k}if(a=a+-1|0,b[r>>2]=a,Y=b[(g=(i=(a<<4)+r|0)+12|0)+4>>2],b[(t=d+8|0)>>2]=b[g>>2],b[t+4>>2]=Y,g=b[(t=i+4|0)+4>>2],b[d>>2]=b[t>>2],b[d+4>>2]=g,g=b[(t=i+92|0)+4>>2],b[(d=y+8|0)>>2]=b[t>>2],b[d+4>>2]=g,t=b[(d=i+84|0)+4>>2],b[y>>2]=b[d>>2],b[y+4>>2]=t,g=b[(t=i+172|0)+4>>2],b[(d=R+8|0)>>2]=b[t>>2],b[d+4>>2]=g,d=b[(i=i+164|0)+4>>2],b[R>>2]=b[i>>2],b[R+4>>2]=d,1&n)break b;break o}if(a=1,1!=(0|i))break e;if(!(1&f[r+332|0]))break i;break e}if(a=1,1!=(0|i))break b;if(!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t,g=b[(t=i+172|0)+4>>2],b[(d=Y+8|0)>>2]=b[t>>2],b[d+4>>2]=g,d=b[(i=i+164|0)+4>>2],b[Y>>2]=b[i>>2],b[Y+4>>2]=d,1&n)break e;break i}if(1&n)break e}a=a+-1|0,b[r>>2]=a,d=b[(n=(a=(a<<4)+r|0)+12|0)+4>>2],b[(i=m+8|0)>>2]=b[n>>2],b[i+4>>2]=d,n=b[(i=a+4|0)+4>>2],b[m>>2]=b[i>>2],b[m+4>>2]=n,d=b[(m=a+92|0)+4>>2],b[(n=(i=r+84|0)+8|0)>>2]=b[m>>2],b[n+4>>2]=d,m=b[(n=a+84|0)+4>>2],b[i>>2]=b[n>>2],b[i+4>>2]=m,d=b[(m=a+172|0)+4>>2],b[(n=(i=r+164|0)+8|0)>>2]=b[m>>2],b[n+4>>2]=d,n=b[(a=a+164|0)+4>>2],b[i>>2]=b[a>>2],b[i+4>>2]=n}a=0,v[ui>>2]>=B(0)^1|h>=B(0)^1|_>=B(0)^1||(a=v[r+348>>2]>=B(0))}f[r+312|0]=a}return N=e+16|0,0!=(255&a)}function Xe(r,e,i,a,n){var t,g,d=B(0),_=B(0),R=B(0),m=B(0),h=B(0),G=B(0),y=B(0),Q=B(0),p=B(0),D=B(0),w=B(0),Z=B(0),Y=B(0),W=B(0),F=B(0),E=B(0),N=B(0),j=B(0),BA=B(0),Be=B(0),ui=B(0),gi=B(0),Ri=B(0),wi=B(0);t=-16&C[n+16|0],f[n+16|0]=t,gi=v[a>>2],y=v[e>>2],Z=B(gi-y),G=v[r>>2],d=B(G-y),Ri=v[a+4>>2],Q=v[e+4>>2],Y=B(Ri-Q),m=v[r+4>>2],_=B(m-Q),wi=v[a+8>>2],p=v[e+8>>2],W=B(wi-p),D=v[r+8>>2],R=B(D-p),h=B(B(B(Z*d)+B(Y*_))+B(W*R)),g=n,j=v[i>>2],F=B(j-y),BA=v[i+4>>2],E=B(BA-Q),Be=v[i+8>>2],N=B(Be-p),(_=B(B(B(F*d)+B(E*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(F*_),R=B(B(1)-_))):(r=b[i+4>>2],b[n>>2]=b[i>>2],b[n+4>>2]=r,e=b[(r=i+8|0)+4>>2],b[(i=n+8|0)>>2]=b[r>>2],b[i+4>>2]=e,f[n+16|0]=2|t,_=B(1),d=B(0),R=B(0))):(r=b[e+4>>2],b[n>>2]=b[e>>2],b[n+4>>2]=r,e=b[(r=e+8|0)+4>>2],b[(i=n+8|0)>>2]=b[r>>2],b[i+4>>2]=e,f[n+16|0]=1|t,_=B(0),d=B(0),R=B(1)),v[g+20>>2]=R,b[n+32>>2]=0,v[n+28>>2]=d,v[n+24>>2]=_}function Me(r,e){var i,a,f,n=0;return a=Je(r),f=b[(i=r+284|0)+4>>2],b[(n=e+8|0)>>2]=b[i>>2],b[n+4>>2]=f,n=b[r+280>>2],b[e>>2]=b[r+276>>2],b[e+4>>2]=n,a}function xe(r,e){var i,a=0,f=B(0),n=B(0),t=0,C=0,g=B(0),d=B(0),_=B(0),R=B(0);A:{if((0|(i=b[r>>2]))>=1)for(a=r+8|0,g=v[r+308>>2],d=v[e+8>>2],_=v[e+4>>2],R=v[e>>2];;){if(f=B(R-v[a+-4>>2]),n=B(f*f),f=B(_-v[a>>2]),n=B(n+B(f*f)),f=B(d-v[a+4>>2]),t=1,B(n+B(f*f))<=g)break A;if(a=a+16|0,!((0|(C=C+1|0))<(0|i)))break}t=0}return a=t,v[e+12>>2]!=v[r+304>>2]|v[e+8>>2]!=v[r+300>>2]|v[e+4>>2]!=v[r+296>>2]|v[e>>2]!=v[r+292>>2]||(a=1),a}function Se(r,e,i){var a=0,f=0;Je(r),a=b[r+248>>2],b[e>>2]=b[r+244>>2],b[e+4>>2]=a,f=b[(a=r+252|0)+4>>2],b[(e=e+8|0)>>2]=b[a>>2],b[e+4>>2]=f,f=b[(a=r+268|0)+4>>2],b[(e=i+8|0)>>2]=b[a>>2],b[e+4>>2]=f,e=b[r+264>>2],b[i>>2]=b[r+260>>2],b[i+4>>2]=e}function Te(r,e,i,a,n){var t,C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)>>2]=b[n>>2],b[g+4>>2]=_,_=b[(n=e+56|0)+4>>2],b[(g=D=f+216|0)>>2]=b[n>>2],b[g+4>>2]=_,g=b[e+4>>2],b[f+160>>2]=b[e>>2],b[f+164>>2]=g,g=b[e+20>>2],b[f+176>>2]=b[e+16>>2],b[f+180>>2]=g,g=b[e+36>>2],b[f+192>>2]=b[e+32>>2],b[f+196>>2]=g,g=b[e+52>>2],b[f+208>>2]=b[e+48>>2],b[f+212>>2]=g,_=b[(n=Qf=e+72|0)+4>>2],b[(g=pf=f+104|0)>>2]=b[n>>2],b[g+4>>2]=_,_=b[(n=Df=e+88|0)+4>>2],b[(g=wf=f+120|0)>>2]=b[n>>2],b[g+4>>2]=_,_=b[(n=Zf=e+104|0)+4>>2],b[(g=Yf=f+136|0)>>2]=b[n>>2],b[g+4>>2]=_,_=b[(n=e+120|0)+4>>2],b[(g=Y=f+152|0)>>2]=b[n>>2],b[g+4>>2]=_,n=b[(g=e+112|0)+4>>2],b[f+144>>2]=b[g>>2],b[f+148>>2]=n,g=b[e+68>>2],b[f+96>>2]=b[e+64>>2],b[f+100>>2]=g,n=b[(g=Wf=e+80|0)+4>>2],b[f+112>>2]=b[g>>2],b[f+116>>2]=n,n=b[(g=Ff=e+96|0)+4>>2],b[f+128>>2]=b[g>>2],b[f+132>>2]=n,d=v[D>>2],t=v[(Be=f+212|0)>>2],R=v[(ui=f+148|0)>>2],Uf=B(B(t+R)*B(.5)),v[Be>>2]=t-Uf,t=d,d=v[Y>>2],jf=B(B(t+d)*B(.5)),v[D>>2]=t-jf,v[ui>>2]=R-Uf,v[Y>>2]=d-jf,d=v[f+208>>2],t=v[f+144>>2],Of=B(B(d+t)*B(.5)),v[f+208>>2]=d-Of,v[f+144>>2]=t-Of,Ef=b[b[r+28>>2]+4>>2]+-17>>>0<=1?b[b[r+32>>2]+4>>2]+-17>>>0<2:Ef,b[r+68>>2]=0,b[r+4>>2]=0,b[r+8>>2]=1065353216,b[r+60>>2]=-1,b[r+64>>2]=0,b[(g=gi=r+12|0)>>2]=0,b[g+4>>2]=0,b[436]=b[436]+1,G=v[r+44>>2],d=v[r+48>>2],Nf=C[r+52|0],Ve(b[r+24>>2]),y=Nf?B(0):d,g=r+4|0,d=B(0xde0b6b000000000),Vf=e+84|0,Xf=e+68|0,Jf=e+100|0,If=e- -64|0,xf=r+28|0,Mf=e+128|0,n=0;;){b[f+252>>2]=0,m=v[g>>2],h=B(-m),t=v[(_=r+8|0)>>2],R=v[gi>>2],v[f+248>>2]=B(B(v[Ri>>2]*h)-B(v[Xi>>2]*t))-B(v[Ia>>2]*R),v[f+244>>2]=B(B(v[e+4>>2]*h)-B(t*v[e+20>>2]))-B(R*v[e+36>>2]),v[f+240>>2]=B(B(v[e>>2]*h)-B(t*v[e+16>>2]))-B(R*v[e+32>>2]),b[f+236>>2]=0,v[f+232>>2]=B(B(m*v[Qf>>2])+B(t*v[Df>>2]))+B(R*v[Zf>>2]),v[f+228>>2]=B(B(m*v[Xf>>2])+B(t*v[Vf>>2]))+B(R*v[Jf>>2]),v[f+224>>2]=B(B(m*v[If>>2])+B(t*v[Wf>>2]))+B(R*v[Ff>>2]),yA(f+80|0,b[xf>>2],f+240|0),yA(f- -64|0,b[r+32>>2],f+224|0),b[f+60>>2]=0,F=f+56|0,t=v[f+80>>2],m=v[f+84>>2],h=v[f+88>>2],R=B(B(B(B(t*v[f+192>>2])+B(m*v[f+196>>2]))+B(h*v[yf>>2]))+v[D>>2]),v[F>>2]=R,w=B(B(B(B(t*v[f+176>>2])+B(m*v[f+180>>2]))+B(h*v[Da>>2]))+v[Be>>2]),v[f+52>>2]=w,j=B(B(B(B(t*v[f+160>>2])+B(m*v[f+164>>2]))+B(h*v[wi>>2]))+v[f+208>>2]),v[f+48>>2]=j,b[f+44>>2]=0,W=f+40|0,t=v[f+64>>2],h=v[f+68>>2],Q=v[f+72>>2],m=B(B(B(B(t*v[f+128>>2])+B(h*v[f+132>>2]))+B(Q*v[Yf>>2]))+v[Y>>2]),v[W>>2]=m,E=B(B(B(B(t*v[f+112>>2])+B(h*v[f+116>>2]))+B(Q*v[wf>>2]))+v[ui>>2]),v[f+36>>2]=E,t=B(B(B(B(t*v[f+96>>2])+B(h*v[f+100>>2]))+B(Q*v[pf>>2]))+v[f+144>>2]),v[f+32>>2]=t,Ef&&(b[W>>2]=0,b[F>>2]=0,m=B(0),R=B(0)),b[f+28>>2]=0,R=B(R-m),v[f+24>>2]=R,m=B(w-E),v[f+20>>2]=m,h=v[_>>2],t=B(j-t),v[f+16>>2]=t;A:if(t=B(B(B(t*v[g>>2])+B(m*h))+B(R*v[gi>>2])),t>B(0)^1|B(t*t)>B(d*v[Mf>>2])^1){if(!xe(b[(F=r+24|0)>>2],f+16|0)){r:{e:{if(!((t=B(d-t))<=B(d*B(9.999999974752427e-7)))){if(Ie(b[F>>2],f+16|0,f+48|0,f+32|0),!Me(b[F>>2],f))break e;if(t=v[f>>2],Z=B(t*t),t=v[f+4>>2],Z=B(Z+B(t*t)),t=v[(_=f+8|0)>>2],!((t=B(Z+B(t*t)))>2],b[g>>2]=b[f>>2],b[g+4>>2]=n,b[r+68>>2]=6,D=b[_+4>>2],b[(n=g+8|0)>>2]=b[_>>2],b[n+4>>2]=D,n=1;break A}n=1,b[r+68>>2]=t<=B(0)^1?11:2;break A}b[r+68>>2]=3,n=1;break A}r:{if(!(B(d-t)<=B(d*B(1.1920928955078125e-7)))){if(W=b[f+4>>2],b[g>>2]=b[f>>2],b[g+4>>2]=W,Sf=b[_+4>>2],b[(W=g+8|0)>>2]=b[_>>2],b[W+4>>2]=Sf,_=b[(W=r- -64|0)>>2],b[W>>2]=_+1,(0|_)<=1e3){if(4!=b[b[F>>2]>>2])break r;b[r+68>>2]=13}d=t;break A}b[r+68>>2]=12,n=1,d=t;break A}d=t;continue}n=1,b[r+68>>2]=1}else b[r+68>>2]=10,n=1;break}t=B(0),R=Nf?B(0):G,m=B(R+y),D=0,_=0,n&&(Se(b[r+24>>2],f+240|0,f+224|0),Y=b[(_=g+8|0)+4>>2],b[(n=f+264|0)>>2]=b[_>>2],b[n+4>>2]=Y,n=b[g+4>>2],b[f+256>>2]=b[g>>2],b[f+260>>2]=n,t=v[r+4>>2],h=v[r+8>>2],Q=v[r+12>>2],(G=B(B(B(t*t)+B(h*h))+B(Q*Q)))>2]=5),n=1,G>B(14210854715202004e-30)?(_=f+264|0,G=B(B(1)/B(p(G))),v[_>>2]=G*v[_>>2],v[f+256>>2]=G*v[f+256>>2],v[f+260>>2]=G*v[f+260>>2],w=B(p(d)),d=B(R/w),v[f+240>>2]=v[f+240>>2]-B(d*t),v[f+244>>2]=v[f+244>>2]-B(d*h),v[f+248>>2]=v[f+248>>2]-B(d*Q),d=B(y/w),v[f+224>>2]=B(d*t)+v[f+224>>2],v[f+228>>2]=B(d*h)+v[f+228>>2],v[f+232>>2]=B(d*Q)+v[f+232>>2],_=1,t=B(B(B(1)/G)-m)):(_=0,n=2,t=B(0)),b[r+60>>2]=n),!b[r+68>>2]|!b[r+72>>2]|!b[r+20>>2]||(D=B(m+t)>2],D)){b[(Y=g+8|0)>>2]=0,b[Y+4>>2]=0,b[g>>2]=0,b[g+4>>2]=0,b[435]=b[435]+1;f:{n:{t:{if(BA[b[b[D>>2]+8>>2]](D,b[r+24>>2],b[r+28>>2],b[r+32>>2],f+160|0,f+96|0,g,f+80|0,f- -64|0,a)){if(Q=B(0),d=v[f+64>>2],G=v[f+80>>2],y=B(d-G),w=v[f+68>>2],j=v[f+84>>2],h=B(w-j),E=v[f+72>>2],Tf=v[f+88>>2],R=B(E-Tf),(m=B(B(B(y*y)+B(h*h))+B(R*R)))<=B(14210854715202004e-30)&&(Q=v[r+16>>2],y=v[r+4>>2],h=v[r+8>>2],R=v[r+12>>2],m=B(B(B(y*y)+B(h*h))+B(R*R))),!(m>B(14210854715202004e-30)))break t;if(b[(a=r+60|0)>>2]=3,d=B(G-d),Z=B(d*d),d=B(j-w),Z=B(Z+B(d*d)),d=B(Tf-E),(t>(d=B(-B(p(B(Z+B(d*d))))))^-1)&(1^n))break n;if(v[f+268>>2]=Q,t=B(B(1)/B(p(m))),v[f+264>>2]=R*t,_=b[(n=f+88|0)+4>>2],b[(a=f+248|0)>>2]=b[n>>2],b[a+4>>2]=_,_=b[(n=f+72|0)+4>>2],b[(a=f+232|0)>>2]=b[n>>2],b[a+4>>2]=_,a=b[f+84>>2],b[f+240>>2]=b[f+80>>2],b[f+244>>2]=a,a=b[f+68>>2],b[f+224>>2]=b[f+64>>2],b[f+228>>2]=a,v[f+260>>2]=h*t,v[f+256>>2]=y*t,!((t=d)>2],Q=v[r+8>>2],G=v[r+12>>2],!(B(B(B(h*h)+B(Q*Q))+B(G*G))>B(0)))break a;if(d=B(v[f+80>>2]-v[f+64>>2]),Z=B(d*d),d=B(v[f+84>>2]-v[f+68>>2]),Z=B(Z+B(d*d)),d=B(v[f+88>>2]-v[f+72>>2]),((d=B(B(p(B(Z+B(d*d))))-m))>2],b[(n=a=f+248|0)>>2]=b[_>>2],b[n+4>>2]=D,Y=b[(D=f+72|0)+4>>2],b[(n=f+232|0)>>2]=b[D>>2],b[n+4>>2]=Y,v[a>>2]=v[a>>2]-B(R*G),a=b[f+68>>2],b[f+224>>2]=b[f+64>>2],b[f+228>>2]=a,a=b[f+84>>2],b[f+240>>2]=b[f+80>>2],b[f+244>>2]=a,v[f+228>>2]=B(y*Q)+v[f+228>>2],v[f+224>>2]=B(y*h)+v[f+224>>2],v[f+240>>2]=v[f+240>>2]-B(R*h),v[f+244>>2]=v[f+244>>2]-B(R*Q),v[n>>2]=B(y*G)+v[n>>2],D=b[(_=g+8|0)+4>>2],b[(n=a=f+264|0)>>2]=b[_>>2],b[n+4>>2]=D,n=b[g+4>>2],b[f+256>>2]=b[g>>2],b[f+260>>2]=n,R=v[f+256>>2],m=v[f+260>>2],y=v[a>>2],t=B(B(1)/B(p(B(B(B(R*R)+B(m*m))+B(y*y))))),v[a>>2]=y*t,v[f+260>>2]=m*t,v[f+256>>2]=R*t,b[r+60>>2]=6,!((t=d)>2]=9,!_)break A;break i}if(b[a>>2]=8,_)break i;break A}b[r+60>>2]=5}if(!_)break A}if(t>2]))break A}return a=b[f+260>>2],b[g>>2]=b[f+256>>2],b[g+4>>2]=a,v[r+56>>2]=t,_=b[(n=f+264|0)+4>>2],b[(g=g+8|0)>>2]=b[n>>2],b[g+4>>2]=_,b[f+92>>2]=0,m=v[f+256>>2],g=e+8|0,d=v[f+260>>2],_=e+24|0,R=v[n>>2],D=e+40|0,v[f+88>>2]=B(B(m*v[g>>2])+B(d*v[_>>2]))+B(R*v[D>>2]),Y=e+4|0,F=e+20|0,Be=e+36|0,v[f+84>>2]=B(B(m*v[Y>>2])+B(d*v[F>>2]))+B(R*v[Be>>2]),ui=e+16|0,Ef=e+32|0,v[f+80>>2]=B(B(m*v[e>>2])+B(d*v[ui>>2]))+B(R*v[Ef>>2]),b[f+76>>2]=0,gi=e+72|0,m=B(-m),Nf=e+88|0,wi=e+104|0,v[f+72>>2]=B(B(v[gi>>2]*m)-B(d*v[Nf>>2]))-B(R*v[wi>>2]),Ri=e+68|0,Da=e+84|0,Xi=e+100|0,v[f+68>>2]=B(B(v[Ri>>2]*m)-B(d*v[Da>>2]))-B(R*v[Xi>>2]),yf=e- -64|0,Ia=e+80|0,pf=e+96|0,v[f+64>>2]=B(B(v[yf>>2]*m)-B(d*v[Ia>>2]))-B(R*v[pf>>2]),yA(f+48|0,b[(Qf=r+28|0)>>2],f+80|0),yA(f+32|0,b[(wf=r+32|0)>>2],f- -64|0),Tf=v[(Df=f+216|0)>>2],rn=v[(Yf=f+200|0)>>2],en=v[(Zf=f+192|0)>>2],an=v[(Wf=f+196|0)>>2],fn=v[(Ff=f+152|0)>>2],nn=v[(Vf=f+136|0)>>2],tn=v[(Xf=f+128|0)>>2],bn=v[(Jf=f+132|0)>>2],on=v[(If=f+208|0)>>2],kn=v[(xf=f+168|0)>>2],cn=v[(Mf=f+144|0)>>2],un=v[(W=f+104|0)>>2],ln=v[(Sf=f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(B(B(d*v[f+160>>2])+B(R*v[f+164>>2]))+B(m*v[xf>>2]))+v[If>>2])-B(B(B(B(y*v[f+96>>2])+B(h*v[f+100>>2]))+B(Q*v[W>>2]))+v[Mf>>2]))*G)+B(B(B(B(B(B(d*v[Lf>>2])+B(R*v[Kf>>2]))+B(m*v[Pf>>2]))+v[Sf>>2])-B(B(B(B(y*v[An>>2])+B(h*v[a>>2]))+B(Q*v[$f>>2]))+v[qf>>2]))*w)),Z=B(B(B(B(B(d*v[Zf>>2])+B(R*v[Wf>>2]))+B(m*v[Yf>>2]))+v[Df>>2])-B(B(B(B(y*v[Xf>>2])+B(h*v[Jf>>2]))+B(Q*v[Vf>>2]))+v[Ff>>2])),d=v[n>>2],Hf>B(zf+B(Z*d))&&(v[n>>2]=-d,b[r+60>>2]=10,v[f+260>>2]=-w,v[f+256>>2]=-G),b[f+92>>2]=0,v[f+88>>2]=jf+v[f+232>>2],v[f+84>>2]=Uf+v[f+228>>2],v[f+80>>2]=Of+v[f+224>>2],BA[b[b[i>>2]+16>>2]](i,f+256|0,f+80|0,t),void(N=f+272|0)}N=f+272|0})(r|=0,e|=0,i|=0,a|=0)}function je(){C[2752]||(b[606]=1062847606,b[607]=0,b[604]=1042701022,b[605]=1056964440,b[602]=1062847606,b[603]=0,b[600]=-1093024784,b[601]=1050556081,b[598]=1062847606,b[599]=0,b[596]=-1093024784,b[597]=-1096927567,b[594]=1062847606,b[595]=0,b[592]=1042701022,b[593]=-1090519208,b[590]=1062847572,b[591]=0,b[588]=1057396286,b[589]=0,b[586]=1057396386,b[587]=0,b[584]=1060121912,b[585]=1056964507,b[582]=1057396420,b[583]=0,b[580]=-1098475836,b[581]=1062148969,b[578]=1057396386,b[579]=0,b[576]=-1084636143,b[577]=0,b[574]=1057396420,b[575]=0,b[572]=-1098475836,b[573]=-1085334679,b[570]=1057396386,b[571]=0,b[568]=1060121912,b[569]=-1090519141,b[566]=-2147483648,b[567]=0,b[564]=1058437413,b[565]=1062149053,b[562]=-2147483648,b[563]=0,b[560]=-2147483648,b[561]=1065353216,b[558]=-2147483648,b[559]=0,b[556]=-1089046235,b[557]=1062149053,b[554]=-2147483648,b[555]=0,b[552]=-1082951543,b[553]=1050556148,b[550]=-2147483648,b[551]=0,b[548]=-1082951543,b[549]=-1096927500,b[546]=0,b[547]=0,b[544]=-1089046235,b[545]=-1085334595,b[542]=0,b[543]=0,b[540]=0,b[541]=-1082130432,b[538]=0,b[539]=0,b[536]=1058437413,b[537]=-1085334595,b[534]=0,b[535]=0,b[532]=1064532105,b[533]=-1096927500,b[530]=0,b[531]=0,b[528]=1064532105,b[529]=1050556148,b[526]=-1090087228,b[527]=0,b[524]=1049007812,b[525]=1062148969,b[522]=-1090087262,b[523]=0,b[520]=-1087361736,b[521]=1056964507,b[518]=-1084636042,b[519]=0,b[516]=-1104782626,b[517]=1056964440,b[514]=-1090087262,b[515]=0,b[512]=-1087361736,b[513]=-1090519141,b[510]=-1084636076,b[511]=0,b[508]=-1090087362,b[509]=-2147483648,b[506]=-1090087262,b[507]=0,b[504]=1062847505,b[505]=-2147483648,b[502]=-1084636042,b[503]=0,b[500]=1054458864,b[501]=1050556081,b[498]=-1090087228,b[499]=0,b[496]=1049007812,b[497]=-1085334679,b[494]=-1084636042,b[495]=0,b[492]=-1104782626,b[493]=-1090519208,b[490]=-1084636042,b[491]=0,b[488]=1054458864,b[489]=-1096927567,b[486]=1065353216,b[487]=0,b[484]=-2147483648,b[485]=0,b[482]=1055193471,b[483]=0,b[480]=1063581978,b[481]=0,b[478]=1055193572,b[479]=0,b[476]=1049461434,b[477]=1062847522,b[474]=1055193572,b[475]=0,b[472]=-1086767520,b[473]=1057396202,b[470]=1055193572,b[471]=0,b[468]=-1086767520,b[469]=-1090087446,b[466]=1055193605,b[467]=0,b[464]=1049461434,b[465]=-1084636126,b[462]=-1092290076,b[463]=0,b[460]=1060716128,b[461]=1057396202,b[458]=-1092290043,b[459]=0,b[456]=-1098022214,b[457]=1062847522,b[454]=-1092290177,b[455]=0,b[452]=-1083901670,b[453]=-2147483648,b[450]=-1092290076,b[451]=0,b[448]=-1098022214,b[449]=-1084636126,b[446]=-1092290076,b[447]=0,b[444]=1060716128,b[445]=-1090087446,b[442]=-1082130432,b[443]=0,b[440]=0,b[441]=-2147483648,f[2752]=1)}function Oe(r,e,i,a){var n=0,t=0,g=0,d=0,_=0,R=B(0),m=0,h=0,G=0,y=0,Q=B(0),p=B(0),D=0,w=0,Z=B(0),Y=B(0),W=B(0),F=B(0),E=B(0),N=0,j=B(0),BA=B(0),Be=B(0),ui=0;A:if(N=b[r+4>>2],!((0|N)<2))for(d=b[r+12>>2],n=d+(N<<4)|0,Z=v[n+-16>>2],j=v[i>>2],Q=v[n+-12>>2],BA=v[i+4>>2],p=v[n+-8>>2],Be=v[i+8>>2],R=B(B(B(B(Z*j)+B(Q*BA))+B(p*Be))+a),w=e+8|0,_=e+12|0;;){Y=v[(n=(ui<<4)+d|0)>>2],W=v[n+4>>2],F=v[n+8>>2],E=B(B(B(B(Y*j)+B(W*BA))+B(F*Be))+a),D=b[n+12>>2];r:{e:{i:{a:{f:{n:{t:{b:{o:{k:{c:{u:{l:{s:{C:{g:{d:{v:{_:{if(R>2]))!=b[w>>2])break C;if((0|n)>=(0|(h=n?n<<1:1)))break C;if(!h)break v;if(G=CA(h<<4,16),(0|(n=b[m>>2]))>=1)break d;break g}if(!(E>2]))!=b[w>>2])break c;if((0|n)>=(0|(m=n?n<<1:1)))break c;if(!m)break s;if(G=CA(m<<4,16),(0|(n=b[h>>2]))>=1)break l;break u}if(R=B(R/B(R-E)),p=B(p+B(B(F-p)*R)),Q=B(Q+B(B(W-Q)*R)),R=B(Z+B(B(Y-Z)*R)),(0|(n=b[(m=e+4|0)>>2]))!=b[w>>2])break t;if((0|n)>=(0|(G=n?n<<1:1)))break t;if(!G)break k;if(h=CA(G<<4,16),(0|(n=b[m>>2]))>=1)break o;break b}if(G=0,(0|n)<1)break g}for(d=0;t=b[_>>2]+d|0,y=b[t+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+4>>2],b[(g=d+G|0)>>2]=b[t>>2],b[g+4>>2]=y,y=b[(t=t+8|0)+4>>2],b[(g=g+8|0)>>2]=b[t>>2],b[g+4>>2]=y,d=d+16|0,n=n+-1|0;);}(n=b[_>>2])&&(C[e+16|0]&&gA(n),b[_>>2]=0),b[_>>2]=G,f[e+16|0]=1,b[w>>2]=m,n=b[h>>2]}n=b[_>>2]+(n<<4)|0,b[n+12>>2]=D,v[n+8>>2]=F,v[n+4>>2]=W,v[n>>2]=Y}b[(n=e+4|0)>>2]=b[n>>2]+1}if((0|(ui=ui+1|0))==(0|N))break A;Be=v[i+8>>2],BA=v[i+4>>2],d=b[r+12>>2],j=v[i>>2],R=E,p=F,Q=W,Z=Y}}function He(r,e,i,a,f,n,t){var b=B(0),C=B(0),g=B(0),d=B(0),_=B(0),R=B(0),m=B(0),h=B(0);return b=v[a>>2],d=v[a+4>>2],_=v[a+8>>2],m=B(B(B(v[i>>2]*b)+B(v[i+4>>2]*d))+B(v[i+8>>2]*_)),C=B(B(B(b*v[r>>2])+B(d*v[r+16>>2]))+B(_*v[r+32>>2])),g=v[f+80>>2],R=B(C*(C>2])+B(d*v[r+20>>2]))+B(_*v[r+36>>2])),g=v[f+84>>2],R=B(R+B(C*(C>2])+B(d*v[r+24>>2]))+B(_*v[r+40>>2])),g=v[f+88>>2],R=(C=B(R+B(C*(C(g=v[f+96>>2])?C:g,C=B(B(B(b*v[e>>2])+B(d*v[e+16>>2]))+B(_*v[e+32>>2])),g=v[n+80>>2],h=B(C*(C>2])+B(d*v[e+20>>2]))+B(_*v[e+36>>2])),g=v[n+84>>2],b=B(B(B(b*v[e+8>>2])+B(d*v[e+24>>2]))+B(_*v[e+40>>2])),d=v[n+88>>2],b=B(B(h+B(C*(C>2],b=B(R+(b>d?b:d)),((d=B(m+b))<(b=B(b-m))?d:b)>t^1}function ze(r,e,i,a,n,t,g,d){var _,m=0,h=0,G=0,y=0,Q=0,p=B(0),D=B(0),w=B(0),Z=B(0),Y=0,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B(-B(B(B(B(jf+B(B(B(D*yf)+B(p*Ri))+B(w*gi)))*Z)-B(B(Of+B(B(B(D*Xi)+B(p*Da))+B(w*wi)))*Be))-B(B(Uf+B(B(B(D*j)+B(p*ui))+B(w*F)))*Nf)))),(0|(m=b[n+4>>2]))<=-1)for(b[n+8>>2]<=-1&&((a=b[n+12>>2])&&(C[n+16|0]&&gA(a),b[n+12>>2]=0),f[n+16|0]=1,b[(a=n+8|0)>>2]=0,b[a+4>>2]=0),G=m<<4;Zf=b[_+4>>2],a=b[n+12>>2]+G|0,b[a>>2]=b[_>>2],b[a+4>>2]=Zf,Zf=b[(Vf=_+8|0)+4>>2],b[(a=a+8|0)>>2]=b[Vf>>2],b[a+4>>2]=Zf,G=G+16|0,m=m+1|0;);if(b[n+4>>2]=0,a=y,E)break}if((0|(n=b[y+4>>2]))>=1)break r;break A}if((0|(n=b[(y=a)+4>>2]))<1)break A}for(w=v[h+20>>2],D=v[h+24>>2],p=v[h+28>>2],F=B(B(B(w*v[i>>2])+B(D*v[i+4>>2]))+B(p*v[i+8>>2])),j=B(B(B(w*v[i+16>>2])+B(D*v[i+20>>2]))+B(p*v[i+24>>2])),w=B(B(B(w*v[i+32>>2])+B(D*v[i+36>>2]))+B(p*v[i+40>>2])),D=B(v[h+32>>2]-B(B(B(F*v[i+48>>2])+B(j*v[i+52>>2]))+B(w*v[i+56>>2]))),m=0,a=y+12|0,h=0;i=(e=b[a>>2]+m|0)+8|0,(p=(p=B(D+B(B(B(F*v[e>>2])+B(j*v[e+4>>2]))+B(w*v[i>>2]))))<=t?t:p)<=g&&(G=b[i+4>>2],b[(n=_+24|0)>>2]=b[i>>2],b[n+4>>2]=G,i=b[e+4>>2],b[_+16>>2]=b[e>>2],b[_+20>>2]=i,BA[b[b[d>>2]+16>>2]](d,r,_+16|0,p),n=b[y+4>>2]),m=m+16|0,(0|(h=h+1|0))<(0|n););}}N=_+32|0}function Pe(r,e,i,a){return b[r+12>>2]=i,b[r+8>>2]=e,b[r+4>>2]=a,b[r>>2]=15376,r}function Le(r,e,i,a,n,t){r|=0,e|=0,i|=0,a|=0,n|=0,t|=0;var g,d,_=0,R=0,m=B(0),h=0,G=B(0),y=B(0),Q=0,p=B(0),D=B(0),w=B(0),Z=0,Y=0,W=B(0),F=B(0),E=B(0),j=B(0),Be=B(0),ui=B(0),gi=0,Ri=0,wi=0,Xi=0;N=g=N-288|0,Ve(b[r+4>>2]),m=v[e+52>>2],G=v[i+52>>2],y=v[a+52>>2],p=v[n+52>>2],D=v[(_=e+56|0)>>2],w=v[i+56>>2],W=v[(h=a+56|0)>>2],F=v[n+56>>2],E=v[e+48>>2],j=v[i+48>>2],Be=v[a+48>>2],ui=v[n+48>>2],f[g+264|0]=0,b[g+260>>2]=1566444395,b[g+224>>2]=15428,d=Te(g+144|0,b[r+8>>2],b[r+12>>2],b[r+4>>2],0),Q=b[(R=e+8|0)+4>>2],b[(r=g+16|0)>>2]=b[R>>2],b[r+4>>2]=Q,Q=b[(R=e+24|0)+4>>2],b[(r=g+32|0)>>2]=b[R>>2],b[r+4>>2]=Q,Q=b[(R=e+40|0)+4>>2],b[(r=g+48|0)>>2]=b[R>>2],b[r+4>>2]=Q,R=b[_+4>>2],b[(r=g- -64|0)>>2]=b[_>>2],b[r+4>>2]=R,R=b[(_=a+8|0)+4>>2],b[(r=g+80|0)>>2]=b[_>>2],b[r+4>>2]=R,b[g+136>>2]=1566444395,r=b[e+4>>2],b[g+8>>2]=b[e>>2],b[g+12>>2]=r,r=b[e+20>>2],b[g+24>>2]=b[e+16>>2],b[g+28>>2]=r,r=b[e+36>>2],b[g+40>>2]=b[e+32>>2],b[g+44>>2]=r,r=b[e+52>>2],b[g+56>>2]=b[e+48>>2],b[g+60>>2]=r,r=b[a+4>>2],b[g+72>>2]=b[a>>2],b[g+76>>2]=r,R=b[(_=a+24|0)+4>>2],b[(r=g+96|0)>>2]=b[_>>2],b[r+4>>2]=R,_=b[a+20>>2],b[(r=g+88|0)>>2]=b[a+16>>2],b[r+4>>2]=_,R=b[(_=a+40|0)+4>>2],b[(r=g+112|0)>>2]=b[_>>2],b[r+4>>2]=R,_=b[a+36>>2],b[(r=g+104|0)>>2]=b[a+32>>2],b[r+4>>2]=_,_=b[h+4>>2],b[(r=g+128|0)>>2]=b[h>>2],b[r+4>>2]=_,_=b[a+52>>2],b[(r=g+120|0)>>2]=b[a+48>>2],b[r+4>>2]=_,Ue(d,g+8|0,g+224|0,0),h=b[(_=g+252|0)+4>>2],b[(r=g+280|0)>>2]=b[_>>2],b[r+4>>2]=h,r=b[g+248>>2],b[g+272>>2]=b[g+244>>2],b[g+276>>2]=r;A:{r:{e:{i:{a:{f:{if(C[g+264|0]){if(D=B(B(w-D)-B(F-W)),p=B(B(G-m)-B(p-y)),w=B(B(j-E)-B(ui-Be)),r=b[g+232>>2],h=b[(Z=g+236|0)>>2],R=b[g+228>>2],!((y=v[(Y=g+260|0)>>2])>B(.0010000000474974513)))break f;for(_=g+244|0,Q=-1,gi=g+120|0,Ri=g+124|0,wi=g+128|0,Xi=g+264|0,G=B(0);;){if((Q=Q+1|0)>>>0>31)break A;if((m=B(G-B(y/B(B(D*(k(0,h),s()))+B(B(p*(k(0,r),s()))+B(w*(k(0,R),s())))))))<=G|mB(1))break r;if(BA[b[b[t>>2]>>2]](t,m),G=B(B(1)-m),v[g+56>>2]=B(G*v[e+48>>2])+B(m*v[i+48>>2]),v[g+60>>2]=B(G*v[e+52>>2])+B(m*v[i+52>>2]),v[g- -64>>2]=B(G*v[e+56>>2])+B(m*v[i+56>>2]),v[gi>>2]=B(G*v[a+48>>2])+B(m*v[n+48>>2]),v[Ri>>2]=B(G*v[a+52>>2])+B(m*v[n+52>>2]),v[wi>>2]=B(G*v[a+56>>2])+B(m*v[n+56>>2]),Ue(d,g+8|0,g+224|0,0),!C[0|Xi])break A;if((y=v[Y>>2])>2],b[(r=g+280|0)>>2]=b[h>>2],b[r+4>>2]=R,r=b[_+4>>2],b[g+272>>2]=b[_>>2],b[g+276>>2]=r,r=b[g+232>>2],h=b[Z>>2],R=b[g+228>>2],G=m,!(y>B(.0010000000474974513)))break}y=v[g+240>>2];break a}break A}m=B(0),y=v[g+240>>2]}if(B(B(D*(k(0,h),s()))+B(B(p*(k(0,r),s()))+B(w*(k(0,R),s()))))>=B(-v[t+172>>2]))break A;b[t+132>>2]=R,v[t+164>>2]=m,e=b[g+276>>2],b[t+148>>2]=b[g+272>>2],b[t+152>>2]=e,v[t+144>>2]=y,b[t+140>>2]=h,b[t+136>>2]=r,i=b[(e=g+280|0)+4>>2],b[(r=t+156|0)>>2]=b[e>>2],b[r+4>>2]=i;break e}v[t+164>>2]=m,r=b[g+232>>2],b[t+132>>2]=b[g+228>>2],b[t+136>>2]=r,r=b[_+4>>2],b[t+148>>2]=b[_>>2],b[t+152>>2]=r,i=b[(e=g+236|0)+4>>2],b[(r=t+140|0)>>2]=b[e>>2],b[r+4>>2]=i,i=b[(e=_+8|0)+4>>2],b[(r=t+156|0)>>2]=b[e>>2],b[r+4>>2]=i}return N=g+288|0,1}return N=g+288|0,0}return N=g+288|0,0}function Ke(r,e,i,a,f,n,t,C,g,d,_){var R=B(0),h=B(0),G=B(0),y=B(0),Q=B(0),D=B(0),w=B(0),Z=B(0),Y=B(0),W=B(0),F=B(0),E=B(0),N=B(0),j=B(0);w=v[(C=(C<<2)+d|0)>>2],Z=B(v[d+48>>2]-v[g+48>>2]),F=v[C+16>>2],E=B(v[d+52>>2]-v[g+52>>2]),N=v[C+32>>2],j=B(v[d+56>>2]-v[g+56>>2]),G=B(B(B(w*Z)+B(F*E))+B(N*j)),Y=v[(t=(t<<2)+g|0)>>2],y=v[t+16>>2],D=v[t+32>>2],W=B(B(B(Y*Z)+B(y*E))+B(D*j)),Q=B(B(B(Y*w)+B(y*F))+B(D*N)),(h=B(B(1)-B(Q*Q)))!=B(0)&&((h=B(B(W-B(Q*G))/h))<(R=B(-i))||(R=h)>i&&(R=i));A:{r:{e:{i:{a:{f:{if((h=B(B(Q*R)-G))<(G=B(-f))){if(!((f=B(B(Q*G)+W))<(R=B(-i))))break f;h=G;break A}if(!(h>f))break A;if(!((G=B(B(Q*f)+W))<(R=B(-i))))break a;h=f;break A}if(!(f>i))break e;f=G;break i}if(!(G>i))break r}h=f,R=i;break A}h=G,R=f;break A}h=f,R=G}return G=B(N*h),i=B(G+B(j-B(D*R))),Q=B(w*h),f=B(Q+B(Z-B(Y*R))),W=B(F*h),h=B(W+B(E-B(y*R))),R=B(B(i*i)+B(B(f*f)+B(h*h))),w=B(p(R)),(Z=B(B(w-a)-n))>_||(R<=B(14210854715202004e-30)?B(m(D))>B(.7071067690849304)?(b[r>>2]=0,a=B(B(1)/B(p(B(B(y*y)+B(D*D))))),i=B(y*a),v[r+8>>2]=i,R=B(-B(D*a)),v[r+4>>2]=R,a=B(0)):(b[r+8>>2]=0,i=B(B(1)/B(p(B(B(Y*Y)+B(y*y))))),R=B(Y*i),v[r+4>>2]=R,a=B(-B(y*i)),v[r>>2]=a,i=B(0)):(b[r+12>>2]=0,a=B(B(-1)/w),i=B(i*a),v[r+8>>2]=i,R=B(h*a),v[r+4>>2]=R,a=B(f*a),v[r>>2]=a),f=v[d+48>>2],_=v[d+52>>2],h=v[d+56>>2],b[e+12>>2]=0,v[e+8>>2]=B(G+h)+B(i*n),v[e+4>>2]=B(W+_)+B(R*n),v[e>>2]=B(Q+f)+B(a*n)),Z}function qe(r,e,i,a){a=B(a)}function $e(r,e){return BA[b[798]](e),r}function Ai(){BA[b[799]]()}function ri(r,e,i,a){return b[r+12>>2]=i,b[r+8>>2]=e,b[r+4>>2]=a,b[r>>2]=16124,r}function ei(r,e,i,a,f,n){r|=0,e|=0,i|=0,a|=0,f|=0,n|=0;var t,C,g,d,_,R,m,h,G,y=B(0),Q=B(0),D=B(0),w=B(0),Z=B(0),Y=B(0),W=0,F=B(0),E=0,j=0,Be=B(0),ui=B(0),gi=0,Ri=0,wi=0,Xi=B(0),Da=B(0),Ia=B(0),yf=0,Qf=0,pf=0,Df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[g>>2])+B(F*v[m>>2])),Sf=B(B(Q*v[a+48>>2])+B(F*v[f+48>>2])),Ef=B(B(Q*v[d>>2])+B(F*v[h>>2])),Yf=B(B(Q*v[C>>2])+B(F*v[R>>2])),Mf=B(B(Q*v[e+48>>2])+B(F*v[i+48>>2])),An=b[t+92>>2],Z=D,Y=w,Q=y}if(xe(b[gi>>2],t+32|0)||Ie(b[gi>>2],t+32|0,t- -64|0,t+48|0),!Me(b[gi>>2],t+80|0))break r;if(y=v[t+80>>2],D=B(y*y),y=v[t+84>>2],D=B(D+B(y*y)),y=v[E>>2],!(B(D+B(y*y))>B(9999999747378752e-20)))break}v[n+164>>2]=F,(y=B(B(B(Q*Q)+B(Z*Z))+B(Y*Y)))>=B(14210854715202004e-30)?(b[n+144>>2]=An,D=Y,Y=B(B(1)/B(p(y))),F=B(D*Y),v[n+140>>2]=F,Z=B(Z*Y),v[n+136>>2]=Z,Q=B(Q*Y),v[n+132>>2]=Q):(b[n+132>>2]=0,b[n+136>>2]=0,b[(e=n+140|0)>>2]=0,b[e+4>>2]=0,F=B(0),Z=B(0),Q=B(0)),Ri=0,B(B(B(Xi*Q)+B(Be*Z))+B(ui*F))>=B(-v[n+172>>2])||(Se(b[r+4>>2],t+16|0,t),i=b[(e=t+8|0)+4>>2],b[(r=n+156|0)>>2]=b[e>>2],b[r+4>>2]=i,r=b[t+4>>2],b[n+148>>2]=b[t>>2],b[n+152>>2]=r,Ri=1)}return N=t+96|0,0|Ri}function ii(r,e,i,a,n){var t;vA(r,e),b[r>>2]=16184,b[r+8>>2]=16212,b[r+60>>2]=0,t=n?i:a,b[r+48>>2]=t,i=n?a:i,b[r+44>>2]=i,a=r+56|0,e=b[e>>2],b[a>>2]=e,e=0|BA[b[b[e>>2]+12>>2]](e,b[i+8>>2],b[t+8>>2]),b[r+72>>2]=e,i=b[a>>2],BA[b[b[i>>2]+20>>2]](i,e),f[r+76|0]=n}function ai(r,e,i,a,n){var t=0;vA(r,e),f[r+24|0]=1,b[r>>2]=16760,b[r+20>>2]=0,f[r+44|0]=1,b[(t=r+12|0)>>2]=0,b[t+4>>2]=0,b[r+40>>2]=0,f[r- -64|0]=1,b[(t=r+32|0)>>2]=0,b[t+4>>2]=0,b[r+60>>2]=0,f[r+68|0]=n,b[(t=r+52|0)>>2]=0,b[t+4>>2]=0,f[r+76|0]=0,b[r+72>>2]=b[e+4>>2],b[r+80>>2]=b[b[(n?a:i)+4>>2]+72>>2],fi(r,i,a)}function fi(r,e,i){var a,n,t,g=0,d=0,v=0,_=0,R=0,B=0,m=0,h=0,G=0,y=0,Q=0,p=0;if(N=n=N-32|0,v=b[(m=r+52|0)>>2],h=C[r+68|0],B=b[(t=h?i:e)+4>>2],(0|v)<(0|(a=b[B+20>>2]))){if(b[r+56>>2]<(0|a)){A:{r:{if(a){if(_=CA(a<<2,16),(0|(g=b[r+52>>2]))>=1)break r;break A}if((0|(g=v))<1)break A}for(G=r+60|0;b[d+_>>2]=b[b[G>>2]+d>>2],d=d+4|0,g=g+-1|0;);}(d=b[(g=r+60|0)>>2])&&(C[r- -64|0]&&gA(d),b[r+60>>2]=0),b[g>>2]=_,f[r- -64|0]=1,b[r+56>>2]=a}for(d=v<<2,g=a-v|0,v=r+60|0;b[b[v>>2]+d>>2]=0,d=d+4|0,g=g+-1|0;);}if(b[m>>2]=a,(0|a)>=1)for(e=h?e:i,g=64,i=B+68|0,v=B+28|0,B=n+28|0,m=n+24|0,h=r+72|0,G=r+4|0,r=r+60|0,d=0,_=0;b[i>>2]?b[b[r>>2]+d>>2]=0:(R=b[b[v>>2]+g>>2],b[B>>2]=_,b[m>>2]=-1,b[n+8>>2]=t,p=b[(y=t+8|0)+4>>2],b[(Q=n+16|0)>>2]=b[y>>2],b[Q+4>>2]=p,b[n+12>>2]=R,R=b[G>>2],R=0|BA[b[b[R>>2]+8>>2]](R,n+8|0,e,b[h>>2],1),b[b[r>>2]+d>>2]=R),g=g+80|0,d=d+4|0,(0|(_=_+1|0))!=(0|a););N=n+32|0}function ni(r){var e=0,i=0,a=0,n=0;if(b[(r|=0)>>2]=16760,(0|(i=b[r+52>>2]))>=1)for(n=r+60|0;(a=b[b[n>>2]+e>>2])&&(BA[b[b[a>>2]>>2]](a),a=b[r+4>>2],BA[b[b[a>>2]+60>>2]](a,b[b[n>>2]+e>>2])),e=e+4|0,i=i+-1|0;);return(i=b[(e=r+60|0)>>2])&&(C[r- -64|0]&&gA(i),b[r+60>>2]=0),b[e>>2]=0,f[r- -64|0]=1,b[(e=r+52|0)>>2]=0,b[e+4>>2]=0,(i=b[(e=r+40|0)>>2])&&(C[r+44|0]&&gA(i),b[r+40>>2]=0),b[e>>2]=0,f[r+44|0]=1,b[(e=r+32|0)>>2]=0,b[e+4>>2]=0,(i=b[(e=r+20|0)>>2])&&(C[r+24|0]&&gA(i),b[r+20>>2]=0),b[e>>2]=0,f[r+24|0]=1,b[(e=r+12|0)>>2]=0,b[e+4>>2]=0,0|r}function ti(r,e,i,a,n){r|=0,e|=0,i|=0,a|=0,n|=0;var t,g,d,_=0,R=0,m=0,h=B(0),G=0,y=B(0),Q=B(0),p=B(0),D=B(0),w=B(0),Z=B(0),Y=B(0),W=B(0),F=0,E=B(0),j=B(0),Be=B(0),ui=B(0),gi=B(0),Ri=B(0),wi=B(0),Xi=B(0),Da=B(0),Ia=B(0),yf=B(0),Qf=B(0),pf=B(0),Df=0,wf=B(0),Zf=B(0),Yf=0,Wf=0,Ff=0,Ef=0,Nf=0,Vf=0,Xf=0,Jf=0,If=0;if(N=t=N-176|0,F=C[r+68|0],g=b[(d=F?i:e)+4>>2],b[g+72>>2]!=b[r+80>>2]){if((0|(m=b[r+52>>2]))>=1)for(R=r+60|0;(G=b[b[R>>2]+_>>2])&&(BA[b[b[G>>2]>>2]](G),G=b[r+4>>2],BA[b[b[G>>2]+60>>2]](G,b[b[R>>2]+_>>2])),_=_+4|0,m=m+-1|0;);fi(r,e,i),b[r+80>>2]=b[g+72>>2]}A:if(R=b[r+52>>2]){if(Yf=b[g+68>>2],b[t+164>>2]=n,b[t+160>>2]=a,F=F?e:i,b[t+152>>2]=F,b[t+148>>2]=d,b[t+144>>2]=16832,b[t+172>>2]=b[r+72>>2],b[t+168>>2]=b[r+60>>2],b[t+156>>2]=b[r+4>>2],(0|(m=b[(e=r+32|0)>>2]))<=-1){for(b[r+36>>2]<=-1&&((i=b[r+40>>2])&&(C[r+44|0]&&gA(i),b[r+40>>2]=0),f[r+44|0]=1,b[(i=r+36|0)>>2]=0,b[i+4>>2]=0),_=m<<2,i=r+40|0;b[b[i>>2]+_>>2]=0,_=_+4|0,m=m+1|0;);R=b[r+52>>2]}if(b[e>>2]=0,(0|R)>=1)for(Ef=r+28|0,Xf=r+60|0,a=r+32|0,e=r+40|0,Jf=n+8|0,Wf=n+12|0,m=r+36|0,Ff=r+44|0,If=r+52|0;;){if(i=b[b[Xf>>2]+(Df<<2)>>2]){if(BA[b[b[i>>2]+16>>2]](i,Ef),(0|(R=b[a>>2]))>=1)for(_=0,G=0;i=b[b[e>>2]+_>>2],b[i+780>>2]&&(b[(R=n+4|0)>>2]=i,(0|(Nf=b[i+772>>2]))==(0|(Vf=b[b[Jf>>2]+8>>2]))?dr(i,Nf+4|0,b[b[Wf>>2]+8>>2]+4|0):dr(i,b[b[Wf>>2]+8>>2]+4|0,Vf+4|0),b[R>>2]=0,R=b[a>>2]),_=_+4|0,(0|(G=G+1|0))<(0|R););if((0|R)<=-1)for(b[m>>2]<=-1&&((i=b[e>>2])&&(C[0|Ff]&&gA(i),b[e>>2]=0),f[0|Ff]=1,b[m>>2]=0,b[m+4>>2]=0),_=R<<2;b[b[e>>2]+_>>2]=0,_=_+4|0,R=R+1|0;);b[a>>2]=0,R=b[If>>2]}if(!((0|(Df=Df+1|0))<(0|R)))break}if(Yf)e=b[d+12>>2],E=v[e+52>>2],j=v[e+56>>2],i=b[F+12>>2],Be=v[i+52>>2],ui=v[i+56>>2],h=v[e+20>>2],y=v[e+36>>2],gi=v[i+20>>2],Ri=v[i+36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i,i=b[t+140>>2],b[(e=t+24|0)>>2]=b[t+136>>2],b[e+4>>2]=i,e=b[t+116>>2],b[t+32>>2]=b[t+112>>2],b[t+36>>2]=e,e=b[t+132>>2],b[t+16>>2]=b[t+128>>2],b[t+20>>2]=e,function(r,e,i,a){var n=0,t=0,g=0,d=0,_=0,R=0,m=0,h=0,G=B(0),y=B(0),Q=B(0),p=B(0),D=B(0),w=B(0),Z=0;r:if(r){if(G=v[e+24>>2],y=v[e+20>>2],g=b[i+8>>2],Q=v[e+16>>2],p=v[e+8>>2],D=v[e+4>>2],w=v[e>>2],(0|(n=b[i+4>>2]))<=-1)for((0|g)<=-1&&((e=b[i+12>>2])&&(C[i+16|0]&&gA(e),b[i+12>>2]=0),f[i+16|0]=1,b[(e=i+8|0)>>2]=0,b[e+4>>2]=0,g=0),e=n<<2,t=i+12|0;b[b[t>>2]+e>>2]=0,e=e+4|0,n=n+1|0;);if(t=0,b[(e=i+4|0)>>2]=0,(0|g)<=63){if(g=CA(256,16),(0|(t=b[e>>2]))>=1)for(e=0,d=i+12|0,n=t;b[e+g>>2]=b[b[d>>2]+e>>2],e=e+4|0,n=n+-1|0;);(e=b[i+12>>2])&&(C[i+16|0]&&(gA(e),t=b[i+4>>2]),b[i+12>>2]=0),f[i+16|0]=1,b[i+12>>2]=g,b[i+8>>2]=64,g=64}e:if((0|g)==(0|t)){i:{a:{f:{if((0|g)<(0|(_=g<<1))){if(e=0,!g)break f;if(d=CA(g<<3,16),(0|(t=b[i+4>>2]))>=1)break a;break i}t=g;break e}d=0,t=g}for(g=i+12|0,n=t;b[e+d>>2]=b[b[g>>2]+e>>2],e=e+4|0,n=n+-1|0;);}(e=b[i+12>>2])&&(C[i+16|0]&&(gA(e),t=b[i+4>>2]),b[i+12>>2]=0),f[i+16|0]=1,b[i+12>>2]=d,b[i+8>>2]=_}for(n=t+1|0,b[(_=i+4|0)>>2]=n,b[b[i+12>>2]+(t<<2)>>2]=r,d=i+12|0,h=i+8|0,R=i+16|0;;){if(e=n+-1|0,b[_>>2]=e,g=b[d>>2],r=b[g+(e<<2)>>2],!(v[r>>2]<=Q)){if(n=e,(0|e)>0)continue;break r}if(!(v[r+16>>2]>=w)){if(n=e,(0|e)>0)continue;break r}if(!(v[r+4>>2]<=y)){if(n=e,(0|e)>0)continue;break r}if(!(v[r+20>>2]>=D)){if(n=e,(0|e)>0)continue;break r}if(!(v[r+8>>2]<=G)){if(n=e,(0|e)>0)continue;break r}if(!(v[r+24>>2]>=p)){if(n=e,(0|e)>0)continue;break r}e:{i:{if(b[(m=r+40|0)>>2]){if(Z=b[r+36>>2],(0|(t=b[h>>2]))!=(0|e))break e;if((0|n)<=(0|(t=e?e<<1:1)))break i;t=e;break e}if(BA[b[b[a>>2]+12>>2]](a,r),(0|(n=b[_>>2]))>0)continue;break r}i:{a:{if(t){if(g=CA(t<<2,16),(0|(e=b[_>>2]))>=1)break a;break i}if(g=0,(0|e)<1)break i}for(n=0,i=e;b[n+g>>2]=b[b[d>>2]+n>>2],n=n+4|0,i=i+-1|0;);}(r=b[d>>2])&&(C[0|R]&&(gA(r),e=b[_>>2]),b[d>>2]=0),b[d>>2]=g,f[0|R]=1,b[h>>2]=t}r=e+1|0,b[_>>2]=r,b[(e<<2)+g>>2]=Z,m=b[m>>2];e:if((0|r)==(0|t)){i:{a:{f:{if((0|t)<(0|(g=t?t<<1:1))){if(!g)break f;if(i=CA(g<<2,16),(0|(r=b[_>>2]))>=1)break a;break i}r=t;break e}if(i=0,r=t,(0|t)<1)break i}for(e=0,n=r;b[e+i>>2]=b[b[d>>2]+e>>2],e=e+4|0,n=n+-1|0;);}(e=b[d>>2])&&(C[0|R]&&(gA(e),r=b[_>>2]),b[d>>2]=0),b[d>>2]=i,f[0|R]=1,b[h>>2]=g}if(n=r+1|0,b[_>>2]=n,b[b[d>>2]+(r<<2)>>2]=m,!((0|n)>0))break}}}(b[Yf>>2],t+16|0,r+8|0,t+144|0);else if(!((0|R)<1))for(_=0,m=64,e=g+28|0;b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(W*Be))+B(Z*E)),v[t+100>>2]=Zf+B(B(B(D*j)+B(w*Be))+B(p*E)),v[Ef>>2]=wf+B(B(B(y*j)+B(Q*Be))+B(h*E)),v[t+52>>2]=B(B(y*Xi)+B(Q*Da))+B(h*wi),v[t+48>>2]=B(B(y*gi)+B(Q*Ri))+B(h*ui),BA[b[b[_>>2]+8>>2]](_,t+48|0,t+16|0,t+128|0),e=b[F+4>>2],BA[b[b[e>>2]+8>>2]](e,b[F+12>>2],t+112|0,t),_=0,v[t+16>>2]>v[t>>2]||(_=0,v[t+128>>2]>2]||(_=1)),R=v[t+136>>2]>2]|v[t+24>>2]>v[t+8>>2]?R:_,v[t+132>>2]>2]|v[t+20>>2]>v[t+4>>2]|1^R))){if(G=G+80|0,m=m+4|0,i=i+-1|0)continue;break A}if(e=b[b[n>>2]+m>>2],BA[b[b[e>>2]>>2]](e),e=b[r+4>>2],BA[b[b[e>>2]+60>>2]](e,b[b[n>>2]+m>>2]),b[b[n>>2]+m>>2]=0,G=G+80|0,m=m+4|0,!(i=i+-1|0))break}}N=t+176|0}function bi(r,e,i){var a,f,n=0,t=0,C=B(0),g=B(0),d=B(0),_=B(0),m=B(0),h=B(0),G=B(0),y=B(0),Q=B(0),p=B(0),D=B(0),w=B(0),Z=B(0),Y=B(0),W=B(0),F=B(0),E=B(0),j=B(0),Be=B(0),ui=B(0),gi=B(0),Ri=B(0);N=a=N-160|0,n=b[r+4>>2],t=b[n+12>>2],D=v[t+52>>2],m=v[t+56>>2],C=v[t+24>>2],h=v[t+20>>2],g=v[t+40>>2],d=v[t+36>>2],n=b[b[n+4>>2]+28>>2],gi=v[t+48>>2],G=v[t+8>>2],y=v[t>>2],Q=v[t+4>>2],p=v[t+16>>2],_=v[t+32>>2],t=0,b[a+156>>2]=0,b[a+140>>2]=0,b[a+124>>2]=0,n=n+R(i,80)|0,w=v[n+8>>2],Z=v[n+24>>2],Y=v[n+40>>2],v[a+136>>2]=B(B(_*w)+B(d*Z))+B(g*Y),W=v[n+4>>2],F=v[n+20>>2],E=v[n+36>>2],v[a+132>>2]=B(B(_*W)+B(d*F))+B(g*E),v[a+120>>2]=B(B(p*w)+B(h*Z))+B(C*Y),v[a+116>>2]=B(B(p*W)+B(h*F))+B(C*E),j=m,m=v[n+48>>2],Be=v[n+52>>2],ui=v[n+56>>2],v[a+152>>2]=j+B(B(B(_*m)+B(d*Be))+B(g*ui)),v[a+148>>2]=D+B(B(B(p*m)+B(h*Be))+B(C*ui)),b[a+108>>2]=0,j=_,_=v[n>>2],D=d,d=v[n+16>>2],Ri=g,g=v[n+32>>2],v[a+128>>2]=B(B(j*_)+B(D*d))+B(Ri*g),v[a+112>>2]=B(B(p*_)+B(h*d))+B(C*g),v[a+96>>2]=B(B(y*_)+B(Q*d))+B(G*g),v[a+104>>2]=B(B(y*w)+B(Q*Z))+B(G*Y),v[a+100>>2]=B(B(y*W)+B(Q*F))+B(G*E),v[a+144>>2]=gi+B(B(B(y*m)+B(Q*Be))+B(G*ui)),BA[b[b[e>>2]+8>>2]](e,a+96|0,a+80|0,a- -64|0),C=v[b[r+20>>2]+32>>2],v[a+80>>2]=v[a+80>>2]-C,v[a+84>>2]=v[a+84>>2]-C,v[a+88>>2]=v[a+88>>2]-C,v[a+64>>2]=C+v[a+64>>2],v[a+68>>2]=C+v[a+68>>2],v[a+72>>2]=C+v[a+72>>2],n=b[r+8>>2],f=b[n+4>>2],BA[b[b[f>>2]+8>>2]](f,b[n+12>>2],a+48|0,a+32|0),(n=b[693])&&!BA[n](b[b[r+8>>2]+4>>2],e)||(t=v[a+64>>2]>2]|v[a+80>>2]>v[a+32>>2]?t:1,n=0,n=v[a+72>>2]>2]|v[a+88>>2]>v[a+40>>2]?n:t,v[a+68>>2]>2]|v[a+84>>2]>v[a+36>>2]|1^n||(b[a+28>>2]=i,b[a+24>>2]=-1,b[a+12>>2]=e,e=b[r+4>>2],b[a+8>>2]=e,b[a+16>>2]=b[e+8>>2],C=v[b[r+20>>2]+32>>2],b[a+20>>2]=a+96,C>B(0)?(e=b[r+12>>2],e=0|BA[b[b[e>>2]+8>>2]](e,a+8|0,b[r+8>>2],0,2)):(e=b[(t=i<<2)+b[r+24>>2]>>2])||(e=b[r+12>>2],e=0|BA[b[b[e>>2]+8>>2]](e,a+8|0,b[r+8>>2],b[r+28>>2],1),b[t+b[(n=r+24|0)>>2]>>2]=e,e=b[t+b[n>>2]>>2]),t=b[r+20>>2],n=b[t+8>>2],b[n+8>>2]==b[b[r+4>>2]+8>>2]?(b[t+8>>2]=a+8,BA[b[b[t>>2]+8>>2]](t,-1,i)):(n=b[t+12>>2],b[t+12>>2]=a+8,BA[b[b[t>>2]+12>>2]](t,-1,i)),i=r+20|0,BA[b[b[e>>2]+8>>2]](e,a+8|0,b[r+8>>2],b[r+16>>2],b[i>>2]),e=b[i>>2],b[(b[b[e+8>>2]+8>>2]==b[b[r+4>>2]+8>>2]?8:12)+e>>2]=n)),N=a+160|0}function oi(r){var e,i,a=0,n=0,t=0,g=0,d=0,v=0,_=0,B=0;if(!((0|(i=b[r+28>>2]))>=(0|(e=b[r+12>>2])))){A:{r:{e:{if(b[r+32>>2]<(0|e)){if(!e)break e;t=CA(e<<2,16),a=b[r+28>>2];break r}t=b[r+36>>2];break A}a=i}n=b[r+36>>2];r:{if((0|a)>=1)for(g=t,d=n;b[g>>2]=b[d>>2],g=g+4|0,d=d+4|0,a=a+-1|0;);else if(!n)break r;C[0|(a=r+40|0)]&&gA(n),b[r+36>>2]=t,f[0|a]=1,b[r+32>>2]=e;break A}b[r+36>>2]=t,f[r+40|0]=1,b[r+32>>2]=e}if(x((a=i<<2)+t|0,0,(v=e<<2)-a|0),b[r+28>>2]=e,(0|(_=b[(B=r+48|0)>>2]))<(0|e)){A:{r:{e:{if(b[r+52>>2]<(0|e)){if(!e)break e;t=CA(v,16),a=b[r+48>>2];break r}t=b[r+56>>2];break A}t=0,a=_}n=b[r+56>>2];r:{if((0|a)>=1)for(g=t,d=n;b[g>>2]=b[d>>2],g=g+4|0,d=d+4|0,a=a+-1|0;);else if(!n)break r;C[0|(a=r+60|0)]&&gA(n),b[r+56>>2]=t,f[0|a]=1,b[r+52>>2]=e;break A}b[r+56>>2]=t,f[r+60|0]=1,b[r+52>>2]=e}x((a=_<<2)+t|0,0,v-a|0)}if(b[B>>2]=e,(0|e)>=1&&(x(b[r+36>>2],255,v),x(b[r+56>>2],255,v)),!((0|i)<1))for(d=b[r+56>>2],t=b[r+36>>2],g=b[r+16>>2],a=0;n=b[g>>2]|b[g+4>>2]<<16,n=R((n=(n<<15^-1)+n|0)>>>10^n,9),n=((n^=n>>>6)<<11^-1)+n|0,n=t+((b[r+12>>2]+-1&(n>>>16^n))<<2)|0,b[d>>2]=b[n>>2],b[n>>2]=a,g=g+12|0,d=d+4|0,(0|(a=a+1|0))!=(0|i););}}function ki(r){var e=0,i=0,a=0,n=0,t=0,g=0,d=0;if((i=b[(e=r+16|0)>>2])&&(C[r+20|0]&&gA(i),b[r+16>>2]=0),b[e>>2]=0,f[r+20|0]=1,b[(e=r+8|0)>>2]=0,b[e+4>>2]=0,(i=b[(e=r+36|0)>>2])&&(C[r+40|0]&&gA(i),b[r+36>>2]=0),b[e>>2]=0,f[r+40|0]=1,b[(e=r+28|0)>>2]=0,b[e+4>>2]=0,(i=b[(e=r+56|0)>>2])&&(C[r+60|0]&&gA(i),b[r+56>>2]=0),b[e>>2]=0,f[r+60|0]=1,b[(e=r+48|0)>>2]=0,b[e+4>>2]=0,b[r+12>>2]<=1){if(i=CA(24,16),(0|(a=b[r+8>>2]))>=1)for(e=0,g=r+16|0;n=b[g>>2]+e|0,d=b[n+4>>2],b[(t=e+i|0)>>2]=b[n>>2],b[t+4>>2]=d,b[t+8>>2]=b[n+8>>2],e=e+12|0,a=a+-1|0;);(e=b[r+16>>2])&&(C[r+20|0]&&gA(e),b[r+16>>2]=0),b[r+16>>2]=i,f[r+20|0]=1,b[r+12>>2]=2}oi(r)}function ci(r){return b[(r|=0)+16>>2]}function li(r){var e=0,i=0,a=0,n=0,t=0,g=0;if(b[(r|=0)>>2]=16972,i=8,e=b[r+84>>2],(0|(a=b[e+8>>2]))>=1){for(t=e+16|0,g=r+4|0;(e=b[b[t>>2]+i>>2])&&(BA[b[b[e>>2]>>2]](e),n=b[g>>2],BA[b[b[n>>2]+60>>2]](n,e)),i=i+12|0,a=a+-1|0;);e=b[r+84>>2]}return ki(e),e=b[(i=r+84|0)>>2],BA[b[b[e>>2]>>2]](e),gA(b[i>>2]),(e=b[(i=r+100|0)>>2])&&(C[r+104|0]&&gA(e),b[r+100>>2]=0),b[i>>2]=0,f[r+104|0]=1,b[(i=r+92|0)>>2]=0,b[i+4>>2]=0,ni(r),0|r}function si(r,e){e|=0;var i=0,a=0,n=0,t=0,g=0,d=0;if(!(!(a=b[(r|=0)+12>>2])|!C[r+8|0])){if((0|(i=b[e+4>>2]))==b[e+8>>2]&&!((0|i)>=(0|(t=i?i<<1:1)))){A:{r:{if(t){if(g=CA(t<<2,16),(0|(i=b[e+4>>2]))>=1)break r;break A}if((0|i)<1)break A}for(a=0,d=e+12|0,n=i;b[a+g>>2]=b[b[d>>2]+a>>2],a=a+4|0,n=n+-1|0;);}(n=b[e+12>>2])&&(C[e+16|0]&&(gA(n),i=b[e+4>>2]),b[e+12>>2]=0),b[e+12>>2]=g,f[e+16|0]=1,b[e+8>>2]=t,a=b[r+12>>2]}b[e+4>>2]=i+1,b[b[e+12>>2]+(i<<2)>>2]=a}}function di(r,e,i,a,f){r|=0,e|=0,i|=0,a|=0,f|=0;var n=B(0),t=B(0),C=B(0),g=B(0),d=B(0),_=B(0),R=B(0),m=B(0),h=B(0),G=B(0),y=B(0),Q=B(0),D=B(0),w=B(0),Z=B(0),Y=B(0),W=B(0),F=B(0),E=B(0),j=B(0),Be=B(0),ui=B(0),gi=B(0),Ri=B(0);N=a=N-144|0,b[a+108>>2]=0,n=v[e+80>>2],t=v[e+96>>2],D=v[e+120>>2],ui=v[e+56>>2],W=v[e+112>>2],F=v[e+116>>2],gi=v[e+52>>2],C=v[e+68>>2],d=v[e+84>>2],_=v[e+100>>2],g=v[e+20>>2],y=v[e+36>>2],R=v[e+72>>2],m=v[e+88>>2],Q=v[e+24>>2],h=v[e+104>>2],w=v[e+40>>2],G=v[e+64>>2],Z=v[e+32>>2],Y=v[e>>2],E=v[e+16>>2],Ri=v[e+48>>2],j=v[e+4>>2],Be=v[e+8>>2],b[a+100>>2]=0,b[a+84>>2]=0,b[a+68>>2]=0,v[a+80>>2]=B(B(Be*R)+B(Q*m))+B(w*h),v[a+76>>2]=B(B(j*R)+B(g*m))+B(y*h),v[a- -64>>2]=B(B(Be*C)+B(Q*d))+B(w*_),v[a+60>>2]=B(B(j*C)+B(g*d))+B(y*_),W=B(Ri-W),F=B(gi-F),D=B(ui-D),v[a+96>>2]=B(B(R*W)+B(m*F))+B(h*D),v[a+92>>2]=B(B(W*C)+B(F*d))+B(D*_),b[a+52>>2]=0,v[a+72>>2]=B(B(Y*R)+B(E*m))+B(Z*h),v[a+56>>2]=B(B(Y*C)+B(E*d))+B(Z*_),v[a+48>>2]=B(B(G*Be)+B(n*Q))+B(t*w),v[a+44>>2]=B(B(G*j)+B(n*g))+B(t*y),v[a+40>>2]=B(B(G*Y)+B(n*E))+B(t*Z),v[a+88>>2]=B(B(W*G)+B(F*n))+B(D*t);A:{if(function(r,e,i,a,f,n){var t,C=B(0),g=B(0),d=B(0),_=0,R=B(0),m=B(0),h=B(0),G=B(0),y=B(0),Q=B(0),D=0,w=0,Z=0,Y=B(0),W=B(0),F=B(0),E=B(0),j=B(0),Be=B(0),ui=B(0),gi=B(0),Ri=B(0),wi=0;N=t=N-32|0,_=b[r+8>>2],g=v[_+60>>2],C=B(v[_+76>>2]-g),G=v[_- -64>>2],d=B(v[_+96>>2]-G),R=B(v[_+80>>2]-G),h=B(v[_+92>>2]-g),y=B(B(C*d)-B(R*h)),Y=R,Q=v[_+68>>2],R=B(v[_+100>>2]-Q),m=B(v[_+84>>2]-Q),d=B(B(Y*R)-B(m*d)),h=B(B(m*h)-B(C*R));r:if((R=B(B(y*y)+B(B(d*d)+B(h*h))))>=B(14210854715202004e-30)&&(Z=b[r+4>>2],Y=B(v[Z+32>>2]*v[Z+16>>2]),C=B(Y+n),n=B(B(1)/B(p(R))),R=B(d*n),d=v[e>>2],h=B(h*n),m=v[e+4>>2],W=B(B(R*B(d-g))+B(h*B(m-G))),G=B(y*n),g=v[e+8>>2],n=B(W+B(G*B(g-Q))),n>2],b[(w=t+24|0)>>2]=b[D>>2],b[w+4>>2]=Z,D=b[e+4>>2],b[t+16>>2]=b[e>>2],b[t+20>>2]=D,D=0,b[t+12>>2]=0,v[t+8>>2]=G,v[t+4>>2]=h,v[t>>2]=R,function(r,e,i){var a=B(0),f=B(0),n=B(0),t=B(0),b=B(0),C=B(0),g=B(0),d=B(0),_=B(0),R=B(0),m=B(0),h=B(0),G=B(0),y=B(0),Q=B(0),p=B(0);return d=v[r+40>>2],C=v[r+24>>2],m=B(d-C),_=v[i+8>>2],G=v[r+32>>2],f=v[r+16>>2],b=B(G-f),n=v[e+4>>2],y=v[r+36>>2],g=v[r+20>>2],t=B(y-g),R=v[e>>2],h=B(B(_-C)*B(B(b*n)-B(t*R))),Q=v[i>>2],a=t,t=v[e+8>>2],p=v[i+4>>2],m=B(h+B(B(B(Q-f)*B(B(a*t)-B(m*n)))+B(B(p-g)*B(B(m*R)-B(b*t))))),a=C,C=v[r+8>>2],b=B(a-C),a=f,f=v[r>>2],h=B(a-f),a=g,g=v[r+4>>2],a=B(a-g),b=B(B(B(_-C)*B(B(h*n)-B(a*R)))+B(B(B(Q-f)*B(B(a*t)-B(b*n)))+B(B(p-g)*B(B(b*R)-B(h*t))))),a=B(_-d),_=B(f-G),f=B(g-y),d=B(C-d),n=B(B(a*B(B(_*n)-B(f*R)))+B(B(B(Q-G)*B(B(f*t)-B(d*n)))+B(B(p-y)*B(B(d*R)-B(_*t))))),!(m>B(0))|n>B(0)^1|b>B(0)^1?b<=B(0)&m<=B(0)&n<=B(0):1}(_+60|0,t,t+16|0))F=B(g-B(n*G)),E=B(m-B(n*h)),j=B(d-B(n*R)),W=B(C*C);else{if((0|BA[b[b[_>>2]+100>>2]](_))<1)break r;for(W=B(C*C),Z=0,D=e+4|0,_=0;wi=b[(w=r+8|0)>>2],BA[b[b[wi>>2]+104>>2]](wi,_,t+16|0,t),C=B(0),Be=v[t+16>>2],n=B(v[e>>2]-Be),m=B(v[t>>2]-Be),ui=v[t+20>>2],g=B(v[D>>2]-ui),y=B(v[t+4>>2]-ui),gi=v[t+24>>2],d=B(v[e+8>>2]-gi),Q=B(v[t+8>>2]-gi),(Ri=B(B(B(n*m)+B(g*y))+B(d*Q)))>B(0)&&(Ri<(C=B(B(B(m*m)+B(y*y))+B(Q*Q)))?(C=B(Ri/C),d=B(d-B(Q*C)),g=B(g-B(y*C)),n=B(n-B(m*C))):(d=B(d-Q),g=B(g-y),n=B(n-m),C=B(1))),B(B(B(n*n)+B(g*g))+B(d*d))>2],(0|_)<(0|BA[b[b[w>>2]+100>>2]](w)););if(D=0,!Z)break r;g=v[e+8>>2],m=v[e+4>>2],d=v[e>>2]}n=B(d-j),d=B(m-E),g=B(g-F),(C=B(B(B(n*n)+B(d*d))+B(g*g)))B(1.1920928955078125e-7)?(R=g,C=B(p(C)),g=B(B(1)/C),v[a+8>>2]=R*g,v[a+4>>2]=d*g,v[a>>2]=n*g,Y=B(Y-C)):(v[a+8>>2]=G,v[a+4>>2]=h,v[a>>2]=R),b[a+12>>2]=0,b[i+12>>2]=0,v[i+8>>2]=F,v[i+4>>2]=E,v[i>>2]=j,v[f>>2]=-Y,D=1)}return N=t+32|0,D}(r,a+88|0,a+128|0,a+112|0,a+108|0,v[r+12>>2])){if(!f)break A;d=v[e+72>>2],_=v[e- -64>>2],R=v[e+68>>2],m=v[e+88>>2],h=v[e+80>>2],G=v[e+84>>2],g=v[e+104>>2],y=v[e+96>>2],Q=v[e+100>>2],n=v[a+120>>2],t=v[a+112>>2],C=v[a+116>>2],b[a+36>>2]=0,w=B(B(B(t*y)+B(C*Q))+B(n*g)),v[a+32>>2]=-w,Z=B(B(B(t*h)+B(C*G))+B(n*m)),v[a+28>>2]=-Z,Y=B(B(B(_*t)+B(R*C))+B(d*n)),v[a+24>>2]=-Y,b[a+20>>2]=0,t=v[a+128>>2],C=v[a+132>>2],D=g,g=v[a+136>>2],n=v[a+108>>2],v[a+16>>2]=B(B(B(B(y*t)+B(Q*C))+B(D*g))+v[e+120>>2])+B(w*n),v[a+12>>2]=B(B(B(B(t*h)+B(C*G))+B(g*m))+v[e+116>>2])+B(Z*n),v[a+8>>2]=B(B(B(B(t*_)+B(C*R))+B(g*d))+v[e+112>>2])+B(Y*n),BA[b[b[i>>2]+16>>2]](i,a+24|0,a+8|0,n)}return void(N=a+144|0)}b[a+36>>2]=0,n=v[a+112>>2],d=v[e+96>>2],t=v[a+116>>2],_=v[e+100>>2],C=v[a+120>>2],R=v[e+104>>2],v[a+32>>2]=B(B(n*d)+B(t*_))+B(C*R),m=v[e+80>>2],h=v[e+84>>2],G=v[e+88>>2],v[a+28>>2]=B(B(n*m)+B(t*h))+B(C*G),g=v[e- -64>>2],y=v[e+68>>2],Q=v[e+72>>2],v[a+24>>2]=B(B(n*g)+B(t*y))+B(C*Q),b[a+20>>2]=0,n=v[a+128>>2],t=v[a+132>>2],C=v[a+136>>2],v[a+16>>2]=B(B(B(d*n)+B(_*t))+B(R*C))+v[e+120>>2],v[a+12>>2]=B(B(B(n*m)+B(t*h))+B(C*G))+v[e+116>>2],v[a+8>>2]=B(B(B(n*g)+B(t*y))+B(C*Q))+v[e+112>>2],BA[b[b[i>>2]+16>>2]](i,a+24|0,a+8|0,v[a+108>>2]),N=a+144|0}function vi(r){var e,i=0,a=B(0),f=0,n=B(0),t=B(0);l(r),e=(i=o(0))>>>31;A:{r:{e:{if((i&=2147483647)>>>0>=1283457024){if(r!=r)break e;return B(e?-1.570796251296997:1.570796251296997)}if(i>>>0>1054867455)break r;if(f=-1,i>>>0>=964689920)break A}return r}r=B(m(r));r:{e:{if(i>>>0<=1066926079){if(i>>>0>1060110335)break e;r=B(B(B(r+r)+B(-1))/B(r+B(2))),f=0;break A}if(i>>>0>1075576831)break r;r=B(B(r+B(-1.5))/B(B(r*B(1.5))+B(1))),f=2;break A}r=B(B(r+B(-1))/B(r+B(1))),f=1;break A}r=B(B(-1)/r),f=3}return i=f,n=B(r*r),a=B(n*n),t=B(a*B(B(a*B(-.106480173766613))+B(-.19999158382415771))),a=B(n*B(B(a*B(B(a*B(.06168760731816292))+B(.14253635704517365)))+B(.333333283662796))),(0|i)>-1?(r=B(v[(i<<=2)+17456>>2]-B(B(B(r*B(t+a))-v[i+17472>>2])-r)),e?B(-r):r):B(r-B(r*B(t+a)))}function Ci(r,e){var i,a,f,n=0,t=0,b=B(0);A:{if(e==e&r==r){if(l(e),1065353216!=(0|(n=o(0))))break A;return vi(r)}return B(r+e)}f=n>>>30&2,l(r),i=f|(a=(t=o(0))>>>31);A:{r:{e:{i:{a:{f:{n:{t:{b:{if(t&=2147483647){if(2139095040==(0|(n&=2147483647)))break b;if(n)break t;return B(a?-1.5707963705062866:1.5707963705062866)}if(3==(0|i))break a;if(2==(0|i))break i;return r}if(2139095040!=(0|t))break n;return v[17488+(i<<2)>>2]}if(2139095040==(0|t)|n+218103808>>>0>>0)break f;if(t+218103808>>>0>>0&&(b=B(0),f)||(b=vi(B(m(B(r/e))))),r=b,!i)break e;if(2==(0|i))break r;if(1!=(0|i))break A;return B(-r)}return v[17504+(i<<2)>>2]}return B(a?-1.5707963705062866:1.5707963705062866)}return B(-3.1415927410125732)}return B(3.1415927410125732)}return r}return B(B(3.1415927410125732)-B(r+B(8.742277657347586e-8)))}return B(B(r+B(8.742277657347586e-8))+B(-3.1415927410125732))}function _i(r,e,i,a,f){r|=0,e|=0,i|=0,a|=0,f|=0;var n=B(0),t=B(0),C=0,g=B(0),d=B(0),_=B(0),h=B(0);N=a=N-160|0,b[a+112>>2]=b[e>>2],b[a+64>>2]=b[e+64>>2],f=b[e+8>>2],b[a+116>>2]=b[e+4>>2],b[a+120>>2]=f,C=b[(f=e+68|0)+4>>2],b[a+68>>2]=b[f>>2],b[a+72>>2]=C,f=b[e+20>>2],b[a+128>>2]=b[e+16>>2],b[a+132>>2]=f,C=b[(f=e+80|0)+4>>2],b[a+80>>2]=b[f>>2],b[a+84>>2]=C,b[a+136>>2]=b[e+24>>2],b[a+88>>2]=b[e+88>>2],b[a+144>>2]=b[e+32>>2],b[a+96>>2]=b[e+96>>2],C=b[(f=e+36|0)+4>>2],b[a+148>>2]=b[f>>2],b[a+152>>2]=C,C=b[(f=e+100|0)+4>>2],b[a+100>>2]=b[f>>2],b[a+104>>2]=C,f=b[r+4>>2],t=v[f+40>>2],n=v[f+36>>2],g=v[f+32>>2],d=B(BA[b[b[f>>2]+48>>2]](f)),_=B(BA[b[b[f>>2]+48>>2]](f)),h=B(BA[b[b[f>>2]+48>>2]](f)),b[a+36>>2]=0,n=B(n+_),v[a+28>>2]=n+n,n=B(g+d),v[a+24>>2]=n+n,t=B(t+h),v[a+32>>2]=t+t,r=b[r+8>>2],t=v[r+40>>2],n=v[r+36>>2],g=v[r+32>>2],d=B(BA[b[b[r>>2]+48>>2]](r)),_=B(BA[b[b[r>>2]+48>>2]](r)),h=B(BA[b[b[r>>2]+48>>2]](r)),b[a+20>>2]=0,n=B(n+_),v[a+12>>2]=n+n,n=B(g+d),v[a+8>>2]=n+n,t=B(t+h),v[a+16>>2]=t+t,function(r,e,i,a,f,n,t,C,g,d){var _,h=B(0),G=B(0),y=B(0),Q=B(0),D=B(0),w=B(0),Z=B(0),Y=0,W=B(0),F=B(0),E=B(0),j=B(0),Be=0,ui=B(0),gi=0,Ri=B(0),wi=B(0),Xi=B(0),Da=B(0),Ia=B(0),yf=B(0),Qf=B(0),pf=B(0),Df=B(0),wf=B(0),Zf=0,Yf=B(0),Wf=B(0),Ff=B(0),Ef=B(0),Nf=B(0),Vf=B(0),Xf=B(0),Jf=B(0),If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pf*G)),Qf=B(m(Lf)),y=B(-34028234663852886e22),i=0,h>B(-34028234663852886e22)&&(gi=TfB(0)||(Kf=B(B(B(Sf*Ia)+B(wf*j))+B(Mf*Ri)),ui=B(m(Kf)),pf=B(B(B(Sf*xf)+B(wf*Xi))+B(Mf*Da)),w=B(m(pf)),Df=B(B(B(Sf*Wf)+B(wf*If))+B(Mf*G)),F=B(m(Df)),h>y&&(gi=UfB(0)||(h>y&&(gi=wfB(0)||(h>y&&(gi=GB(0)||(h>y&&(Y=f+4|0,gi=GB(0)||(h>y&&(Y=f+8|0,gi=GB(1.1920928955078125e-7))))))))){Wf=B(w+B(9999999747378752e-21)),If=B(yf+B(9999999747378752e-21)),xf=B(Z+B(9999999747378752e-21)),wi=B(0),Qf=B(Lf*Lf),W=B(B(Df*Df)+B(0));e:if((Q=B(p(B(Qf+W))))>B(1.1920928955078125e-7)){if(E=B(0),h=B(h/Q),D=B(0),!(B(h*B(1.0499999523162842))>y))break e;gi=GB(1.1920928955078125e-7)||(Xi=B(ui+B(9999999747378752e-21)),yf=B(Yf+B(9999999747378752e-21)),ui=B(Pf*Pf),Q=B(B(pf*pf)+B(0)),Z=B(p(B(ui+Q))),Z>B(1.1920928955078125e-7)&&(h=B(h/Z),B(h*B(1.0499999523162842))>y&&(gi=GB(1.1920928955078125e-7)||(w=B(zf*zf),F=B(B(Kf*Kf)+B(0)),Z=B(p(B(w+F))),Z>B(1.1920928955078125e-7)&&(h=B(h/Z),B(h*B(1.0499999523162842))>y&&(gi=GB(1.1920928955078125e-7)||(Z=B(jf*jf),W=B(p(B(Z+W))),W>B(1.1920928955078125e-7)&&(h=B(h/W),B(h*B(1.0499999523162842))>y&&(gi=GB(1.1920928955078125e-7)||(W=B(Of*Of),Q=B(p(B(W+Q))),Q>B(1.1920928955078125e-7)&&(h=B(h/Q),B(h*B(1.0499999523162842))>y&&(gi=GB(1.1920928955078125e-7)||(Q=B(Hf*Hf),F=B(p(B(Q+F))),F>B(1.1920928955078125e-7)&&(h=B(h/F),B(h*B(1.0499999523162842))>y&&(gi=GB(1.1920928955078125e-7)||(Z=B(p(B(B(Qf+Z)+B(0)))),Z>B(1.1920928955078125e-7)&&(h=B(h/Z),B(h*B(1.0499999523162842))>y&&(gi=GB(1.1920928955078125e-7)||(W=B(p(B(B(ui+W)+B(0)))),W>B(1.1920928955078125e-7)&&(h=B(h/W),B(h*B(1.0499999523162842))>y&&(gi=GB(1.1920928955078125e-7)))))))))){e:{i:{if((Q=B(p(B(B(w+Q)+B(0)))))>B(1.1920928955078125e-7)&&(h=B(h/Q),B(h*B(1.0499999523162842))>y))gi=G>2],b[t>>2]=b[Y>>2],w=v[Y+16>>2],b[t+4>>2]=b[Y+16>>2],D=v[Y+32>>2],b[t+8>>2]=b[Y+32>>2],h=y,gi)break i;break e}h=y}if(Q=B(B(B(qf*wi)+B(D*v[e+4>>2]))+B(E*v[e+8>>2])),v[t>>2]=Q,w=B(B(B(wi*v[e+16>>2])+B(D*v[e+20>>2]))+B(E*v[e+24>>2])),v[t+4>>2]=w,D=B(B(B(wi*v[e+32>>2])+B(D*v[e+36>>2]))+B(E*v[e+40>>2])),v[t+8>>2]=D,!gi)break e}v[t+8>>2]=-D,v[t+4>>2]=-w,v[t>>2]=-Q}if(v[C>>2]=-h,(0|i)>=7)return b[(Be=_+120|0)>>2]=b[r+8>>2],n=b[r+4>>2],b[_+112>>2]=b[r>>2],b[_+116>>2]=n,y=B(0),Ri=v[_+112>>2],Qf=v[_+116>>2],Xi=v[t>>2],ui=v[e>>2],Yf=v[(C=t+4|0)>>2],w=v[e+16>>2],yf=v[(n=t+8|0)>>2],G=v[e+32>>2],Da=B((B(B(B(Xi*ui)+B(Yf*w))+B(yf*G))>B(0)?B(1):B(-1))*v[_+356>>2]),j=B(v[Be>>2]+B(Da*G)),F=v[e+4>>2],Z=v[e+20>>2],G=v[e+36>>2],Ia=B((B(B(B(Xi*F)+B(Yf*Z))+B(yf*G))>B(0)?B(1):B(-1))*v[_+360>>2]),D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280>>2],y=B(-D),E=v[_+288>>2]}e:{if((yB(-E)|0)){if(y=v[_+292>>2],h=v[_+284>>2],v[e>>2]=G,v[e+4>>2]=h+B(B(G-D)*B(B(y-h)/B(E-D))),8&(n=n+1|0))break e;e=e+8|0}if(D=v[_+288>>2],F>(Q=B(-D))){if(v[e>>2]=D,b[e+4>>2]=b[_+292>>2],8&(n=n+1|0))break e;D=v[_+288>>2],Q=B(-D),e=e+8|0}if(a=Q>2],(0|a)!=(F>(E=B(-Q))|0)){if(y=v[_+300>>2],h=v[_+292>>2],v[e>>2]=G,v[e+4>>2]=h+B(B(G-D)*B(B(y-h)/B(Q-D))),8&(n=n+1|0))break e;Q=v[_+296>>2],E=B(-Q),e=e+8|0}if(E>2]=Q,b[e+4>>2]=b[_+300>>2],8&(n=n+1|0))break e;w=v[_+272>>2],wi=B(-w),Q=v[_+296>>2],E=B(-Q),e=e+8|0}i:{a:{f:{n:{t:{b:{if((E>2],h=v[_+300>>2],v[e>>2]=G,v[e+4>>2]=h+B(B(G-Q)*B(B(y-h)/B(w-Q))),!(8&(n=n+1|0)))break b;break e}if((0|n)<1)break t}for(e=_+208|0,f=_+112|0,a=0;;){if((w=v[e>>2])>2]=w,b[f+4>>2]=b[e+4>>2],8&(a=a+1|0))break n;w=v[e>>2],f=f+8|0}if(Be=e+8|0,(w1?Be:_+208|0)>>2])>2],y=v[Zf+4>>2],b[f>>2]=gi,v[f+4>>2]=G+B(B(F-w)*B(B(y-G)/B(h-w))),8&(a=a+1|0))break n;f=f+8|0}if(e=Be,!((0|(n=n+-1|0))>0))break}if(!((0|a)<1)){for(Q=B(-Z),f=_+208|0,e=_+112|0,Be=0;;){if(w=v[(n=e+4|0)>>2],Z>(D=B(-w))){if(b[f>>2]=b[e>>2],b[f+4>>2]=b[n>>2],8&(Be=Be+1|0))break a;w=v[n>>2],D=B(-w),f=f+8|0}if(n=e+8|0,h=v[(Zf=(0|a)>1?n:_+112|0)+4>>2],(DB(-h)|0)){if(y=v[Zf>>2],G=v[e>>2],v[f+4>>2]=Q,v[f>>2]=G+B(B(Q-w)*B(B(y-G)/B(h-w))),8&(Be=Be+1|0))break a;f=f+8|0}if(e=n,!((0|(a=a+-1|0))>0))break}if(!((0|Be)<1)){for(e=_+208|0,f=_+112|0,n=0;;){if((w=v[(a=e+4|0)>>2])>2]=b[e>>2],b[f+4>>2]=b[a>>2],8&(n=n+1|0))break f;w=v[a>>2],f=f+8|0}if(a=e+8|0,(w1?a:_+208|0)+4>>2])>2],G=v[e>>2],b[f+4>>2]=fn,v[f>>2]=G+B(B(Z-w)*B(B(y-G)/B(h-w))),8&(n=n+1|0))break f;f=f+8|0}if(e=a,!((0|(Be=Be+-1|0))>0))break}break f}}}n=0;break f}n=a}if(J(_+208|0,_+112|0,n<<3),(0|n)<1)break i;break e}if((0|(n=Be))>=1)break e}break A}for(y=B(B(1)/B(B(ui*yf)-B(Yf*W))),If=B(yf*y),xf=B(Yf*y),Xi=B(W*y),Yf=B(ui*y),yf=v[(rn<<2)+C>>2],Da=v[(32|(a=en<<2))+Y>>2],Ia=v[(32|(e=an<<2))+Y>>2],j=v[(16|a)+Y>>2],Ri=v[(16|e)+Y>>2],Qf=v[_+320>>2],ui=v[An>>2],w=v[$f>>2],f=0,e=_+208|0,F=v[_+316>>2],Z=v[_+312>>2];a=(_+112|0)+R(f,12)|0,W=v[e>>2],h=B(W-wf),Q=v[e+4>>2],y=B(Q-Sf),Wf=B(B(If*h)-B(Xi*y)),y=B(B(Yf*y)-B(xf*h)),G=B(B(Z+B(Wf*w))+B(y*ui)),v[a>>2]=G,h=B(B(F+B(Wf*Ri))+B(y*j)),v[a+4>>2]=h,y=B(B(Qf+B(Wf*Ia))+B(y*Da)),v[a+8>>2]=y,y=B(yf-B(B(B(pf*G)+B(Mf*h))+B(Df*y))),v[(_+80|0)+(f<<2)>>2]=y,y>=B(0)&&(v[(a=f<<3)+(_+208|0)>>2]=W,v[(_+208|0)+(4|a)>>2]=Q,f=f+1|0),e=e+8|0,n=n+-1|0;);e:{i:{a:{if((0|f)>=1){if((0|f)<=(0|(n=(0|(e=(0|f)<4?f:4))>1?e:1)))break a;if(Y=0,(0|f)>=2)for(e=_+80|4,Q=v[_+80>>2],a=1;Q=(C=(y=v[e>>2])>Q)?y:Q,Y=C?a:Y,e=e+4|0,(0|f)!=(0|(a=a+1|0)););if(function(r,e,i,a,f){var n,t=0,C=B(0),g=0,d=B(0),_=B(0),R=B(0),h=B(0),G=B(0),y=B(0),Q=B(0),p=0,D=B(0),w=0,Z=0,Y=B(0);N=n=N+-64|0;f:{n:{t:{if(1!=(0|r)){if(2!=(0|r))break t;d=B(B(v[e+4>>2]+v[e+12>>2])*B(.5)),C=B(B(v[e>>2]+v[e+8>>2])*B(.5));break n}d=v[e+4>>2],C=v[e>>2];break n}if((0|(g=r+-1|0))>=1)for(t=e;h=d,d=v[t+12>>2],_=v[t+4>>2],y=B(d+_),R=v[t>>2],G=v[(t=t+8|0)>>2],_=B(B(R*d)-B(G*_)),d=B(h+B(y*_)),C=B(C+_),Q=B(Q+B(B(R+G)*_)),g=g+-1|0;);if(_=B(0xde0b6b000000000),h=C,R=v[(t=(r<<3)+e|0)+-8>>2],G=v[e+4>>2],y=v[e>>2],D=v[t+-4>>2],C=B(B(R*G)-B(y*D)),h=B(h+C),B(m(h))>B(1.1920928955078125e-7)&&(_=B(B(1)/B(h*B(3)))),g=0,(0|r)<=0)break f;d=B(B(d+B(B(G+D)*C))*_),C=B(B(Q+B(B(R+y)*C))*_)}for(t=n+32|0,g=r;Z=t,Y=Ci(B(v[e+4>>2]-d),B(v[e>>2]-C)),v[Z>>2]=Y,e=e+8|0,t=t+4|0,g=g+-1|0;);for(e=n,t=r;g=1,b[e>>2]=1,e=e+4|0,t=t+-1|0;);}if(b[f>>2]=a,b[(t=(e=a<<2)+n|0)>>2]=0,!((0|i)<2))if(f=f+4|0,g)for(Q=B(B(6.2831854820251465)/B(0|i)),_=v[e+(n+32|0)>>2],p=1;;){for(b[f>>2]=a,R=(C=B(B(Q*B(0|p))+_))>B(3.1415927410125732)?B(C+B(-6.2831854820251465)):C,C=B(1e9),t=n+32|0,e=n,w=a,g=0;b[e>>2]&&((d=(d=B(m(B(v[t>>2]-R))))>B(3.1415927410125732)?B(B(6.2831854820251465)-d):d)>2]=g,w=g,C=d)),e=e+4|0,t=t+4|0,(0|(g=g+1|0))!=(0|r););if(b[(w<<2)+n>>2]=0,f=f+4|0,(0|(p=p+1|0))==(0|i))break}else for(e=i+-1|0;b[f>>2]=a,b[t>>2]=0,f=f+4|0,e=e+-1|0;);N=n- -64|0}(f,_+208|0,n,Y,_+32|0),(0|n)<1)break e;if((0|i)>=4)break i;for(e=_+32|0,a=0;f=b[e>>2],C=(_+112|0)+R(f,12)|0,v[_+72>>2]=v[C+8>>2]+v[r+8>>2],v[_+64>>2]=v[C>>2]+v[r>>2],v[_+68>>2]=v[C+4>>2]+v[r+4>>2],b[_+28>>2]=0,v[_+24>>2]=-v[t+8>>2],v[_+20>>2]=-v[t+4>>2],v[_+16>>2]=-v[t>>2],BA[b[b[d>>2]+16>>2]](d,_+16|0,_- -64|0,B(-v[(_+80|0)+(f<<2)>>2])),e=e+4|0,(a=a+1|0)>>>0>>0;);break e}break A}if((0|i)<4)for(a=_+80|0,e=_+112|0,n=f;v[_+32>>2]=v[e>>2]+v[r>>2],v[_+36>>2]=v[e+4>>2]+v[r+4>>2],v[_+40>>2]=v[e+8>>2]+v[r+8>>2],b[_+76>>2]=0,v[_+72>>2]=-v[t+8>>2],v[_+68>>2]=-v[t+4>>2],v[_+64>>2]=-v[t>>2],BA[b[b[d>>2]+16>>2]](d,_- -64|0,_+32|0,B(-v[a>>2])),e=e+12|0,a=a+4|0,n=n+-1|0;);else for(a=_+80|0,e=_+112|0,n=f;G=v[t>>2],Q=v[a>>2],v[_+32>>2]=B(v[e>>2]+v[r>>2])-B(G*Q),h=v[t+4>>2],v[_+36>>2]=B(v[e+4>>2]+v[r+4>>2])-B(Q*h),y=v[t+8>>2],v[_+40>>2]=B(v[e+8>>2]+v[r+8>>2])-B(Q*y),b[_+76>>2]=0,v[_+72>>2]=-y,v[_+68>>2]=-h,v[_+64>>2]=-G,BA[b[b[d>>2]+16>>2]](d,_- -64|0,_+32|0,B(-Q)),e=e+12|0,a=a+4|0,n=n+-1|0;);break e}for(e=_+32|0,a=0;f=b[e>>2],C=(_+112|0)+R(f,12)|0,Z=B(v[C+8>>2]+v[r+8>>2]),v[_+72>>2]=Z,W=B(v[C+4>>2]+v[r+4>>2]),v[_+68>>2]=W,Q=B(v[C>>2]+v[r>>2]),v[_+64>>2]=Q,b[_+28>>2]=0,G=v[t+8>>2],v[_+24>>2]=-G,h=v[t+4>>2],v[_+20>>2]=-h,y=v[t>>2],v[_+16>>2]=-y,b[_+12>>2]=0,j=G,G=v[(_+80|0)+(f<<2)>>2],v[_+8>>2]=Z-B(j*G),v[_+4>>2]=W-B(h*G),v[_>>2]=Q-B(y*G),BA[b[b[d>>2]+16>>2]](d,_+16|0,_,B(-G)),e=e+4|0,(a=a+1|0)>>>0>>0;);}b[g>>2]=i}}return void(N=_+368|0)}N=_+368|0}(e+48|0,a+112|0,a+24|0,e+112|0,a- -64|0,a+8|0,a+48|0,a+44|0,a+40|0,i),N=a+160|0}function Bi(r,e,i,a,n,t,C){lA(r,e),b[r+24>>2]=C,b[r+20>>2]=t,f[r+16|0]=n,b[r+12>>2]=0,f[r+8|0]=0,b[r>>2]=17652,e=b[r+4>>2],t=n?a:i,i=n?i:a,BA[b[b[e>>2]+24>>2]](e,b[t+8>>2],b[i+8>>2])&&(e=b[r+4>>2],e=0|BA[b[b[e>>2]+12>>2]](e,b[t+8>>2],b[i+8>>2]),f[r+8|0]=1,b[r+12>>2]=e)}function mi(r,e,i,a,f){var n,t=B(0),g=B(0),d=B(0),_=0,R=B(0),m=B(0),h=B(0),G=B(0),y=B(0),Q=B(0),p=B(0),D=B(0),w=B(0),Z=B(0),Y=B(0),W=B(0),F=B(0),E=B(0),j=B(0),Be=B(0),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32>>2],BA[b[b[e>>2]>>2]](e),gA(b[r+32>>2]),e=b[r+36>>2],BA[b[b[e>>2]>>2]](e),gA(b[r+36>>2]),e=b[r+40>>2],BA[b[b[e>>2]>>2]](e),gA(b[r+40>>2]),e=b[r+44>>2],BA[b[b[e>>2]>>2]](e),gA(b[r+44>>2]),e=b[r+48>>2],BA[b[b[e>>2]>>2]](e),gA(b[r+48>>2]),e=b[r+52>>2],BA[b[b[e>>2]>>2]](e),gA(b[r+52>>2]),e=b[r+56>>2],BA[b[b[e>>2]>>2]](e),gA(b[r+56>>2]),e=b[r+72>>2],BA[b[b[e>>2]>>2]](e),gA(b[r+72>>2]),e=b[r+76>>2],BA[b[b[e>>2]>>2]](e),gA(b[r+76>>2]),e=b[r+68>>2],BA[b[b[e>>2]>>2]](e),gA(b[r+68>>2]),e=b[r+84>>2],BA[b[b[e>>2]>>2]](e),gA(b[r+84>>2]),e=b[r+80>>2],BA[b[b[e>>2]>>2]](e),gA(b[r+80>>2]),e=b[r+24>>2],BA[b[b[e>>2]>>2]](e),gA(b[r+24>>2]),0|r}function hi(r){return b[(r|=0)+8>>2]}function yi(r){var e,i=0,a=0,n=0,t=0,g=0,d=0,v=0,_=0;if(b[r>>2]=18664,b[r+24>>2]=0,b[r+68>>2]=0,f[r+20|0]=1,b[(e=r+16|0)>>2]=0,f[r+44|0]=1,b[(i=a=r+8|0)>>2]=0,b[i+4>>2]=0,b[r+40>>2]=0,f[r- -64|0]=1,b[(i=r+32|0)>>2]=0,b[i+4>>2]=0,b[r+60>>2]=0,b[(i=r+52|0)>>2]=0,b[i+4>>2]=0,i=CA(32,16),(0|(n=b[a>>2]))>=1)for(a=12;t=a+i|0,g=b[e>>2]+a|0,b[t+-12>>2]=b[g+-12>>2],_=b[(d=g+-8|0)+4>>2],b[(v=t+-8|0)>>2]=b[d>>2],b[v+4>>2]=_,b[t>>2]=b[g>>2],a=a+16|0,n=n+-1|0;);(a=b[e>>2])&&(C[r+20|0]&&gA(a),b[r+16>>2]=0),b[r+16>>2]=i,f[r+20|0]=1,b[r+12>>2]=2,Qi(r)}function Qi(r){var e,i,a=0,n=0,t=0,g=0,d=0,v=0,_=0,B=0;if(!((0|(i=b[r+32>>2]))>=(0|(e=b[r+12>>2])))){A:{r:{e:{if(b[r+36>>2]<(0|e)){if(!e)break e;t=CA(e<<2,16),a=b[r+32>>2];break r}t=b[r+40>>2];break A}a=i}n=b[r+40>>2];r:{if((0|a)>=1)for(g=t,d=n;b[g>>2]=b[d>>2],g=g+4|0,d=d+4|0,a=a+-1|0;);else if(!n)break r;C[0|(a=r+44|0)]&&gA(n),b[r+40>>2]=t,f[0|a]=1,b[r+36>>2]=e;break A}b[r+40>>2]=t,f[r+44|0]=1,b[r+36>>2]=e}if(x((a=i<<2)+t|0,0,(v=e<<2)-a|0),b[r+32>>2]=e,(0|(_=b[(B=r+52|0)>>2]))<(0|e)){A:{r:{e:{if(b[r+56>>2]<(0|e)){if(!e)break e;t=CA(v,16),a=b[r+52>>2];break r}t=b[r+60>>2];break A}t=0,a=_}n=b[r+60>>2];r:{if((0|a)>=1)for(g=t,d=n;b[g>>2]=b[d>>2],g=g+4|0,d=d+4|0,a=a+-1|0;);else if(!n)break r;C[0|(a=r- -64|0)]&&gA(n),b[r+60>>2]=t,f[0|a]=1,b[r+56>>2]=e;break A}b[r+60>>2]=t,f[r- -64|0]=1,b[r+56>>2]=e}x((a=_<<2)+t|0,0,v-a|0)}if(b[B>>2]=e,(0|e)>=1&&(x(b[r+40>>2],255,v),x(b[r+60>>2],255,v)),!((0|i)<1))for(d=b[r+60>>2],t=b[r+40>>2],g=b[r+16>>2],a=0,r=r+12|0;n=b[b[g>>2]+12>>2]|b[b[g+4>>2]+12>>2]<<16,n=R((n=(n<<15^-1)+n|0)>>>10^n,9),n=((n^=n>>>6)<<11^-1)+n|0,n=t+((b[r>>2]+-1&(n>>>16^n))<<2)|0,b[d>>2]=b[n>>2],b[n>>2]=a,g=g+16|0,d=d+4|0,(0|(a=a+1|0))!=(0|i););}}function pi(r){return(r|=0)+4|0}function Di(r,e){e|=0,b[(r|=0)+24>>2]=e}function Wi(r,e){var i=0,a=0,n=0,t=0,g=0;if(b[r+4>>2]=0,b[r+8>>2]=0,b[r+12>>2]=0,f[r+16|0]=1,(0|(n=b[e+4>>2]))>0){if(t=CA(n<<2,16),(0|(a=b[r+4>>2]))>=1)for(g=r+12|0;b[i+t>>2]=b[b[g>>2]+i>>2],i=i+4|0,a=a+-1|0;);for((a=b[(g=r+12|0)>>2])&&(C[r+16|0]&&gA(a),b[r+12>>2]=0),b[g>>2]=t,f[r+16|0]=1,b[r+8>>2]=n,i=0,a=n;b[i+t>>2]=0,i=i+4|0,t=b[g>>2],a=a+-1|0;);if(b[r+4>>2]=n,(0|n)>=1)for(i=0,r=e+12|0;b[i+t>>2]=b[b[r>>2]+i>>2],i=i+4|0,n=n+-1|0;);}else b[r+4>>2]=n}function Fi(r){var e=0,i=0,a=0,n=0,t=0,g=0,d=0;if(b[(r|=0)>>2]=19188,C[r+152|0]&&(e=b[r+96>>2],BA[b[b[e>>2]>>2]](e),gA(b[r+96>>2])),(0|(a=b[r+160>>2]))>=1)for(g=r+168|0,i=8;d=(e=b[g>>2]+i|0)+-4|0,(t=b[(n=e+4|0)>>2])&&(C[e+8|0]&&gA(t),b[n>>2]=0),b[d>>2]=0,b[n>>2]=0,b[e>>2]=0,f[e+8|0]=1,i=i+20|0,a=a+-1|0;);return(i=b[(e=r+168|0)>>2])&&(C[r+172|0]&&gA(i),b[r+168>>2]=0),b[e>>2]=0,f[r+172|0]=1,b[(e=r+160|0)>>2]=0,b[e+4>>2]=0,ae(r+44|0),ae(r+4|0),0|r}function Zi(r,e,i,a){var f,n=0,t=0,C=0,g=0,d=0,_=0,R=0,m=B(0),h=B(0),G=B(0),y=B(0),Q=B(0),p=B(0),D=0;if(N=f=N-256|0,e){for(m=v[i+24>>2],h=v[i+20>>2],G=v[i+16>>2],y=v[i+8>>2],Q=v[i+4>>2],p=v[i>>2],b[f>>2]=e,t=64,r=f,i=1;;){A:{r:{e:{if(n=b[(_=(e=i+-1|0)<<2)+r>>2],!(v[n>>2]<=G^1|v[n+16>>2]>=p^1|v[n+4>>2]<=h^1|v[n+20>>2]>=Q^1||v[n+8>>2]<=m^1|v[n+24>>2]>=y^1)){if(b[(R=n+40|0)>>2]){if(D=b[n+36>>2],(0|e)==(0|t)&&(0|i)<=(0|(C=t?t<<1:1)))break e;C=t,n=r;break r}BA[b[b[a>>2]+12>>2]](a,n)}if((0|(i=e))>0)continue;break A}e:{i:{a:{f:{if(C){if(n=CA(C<<2,16),(0|t)<1)break f;break a}if(n=0,(0|t)>=1)break a}if(!r|!d)break e;break i}for(e=n,g=r;b[e>>2]=b[g>>2],e=e+4|0,g=g+4|0,t=t+-1|0;);if(!d)break e}gA(r)}d=1}b[n+_>>2]=D,_=b[R>>2];r:{e:{i:{a:{f:{n:{t:{if((0|i)==(0|C)){if((0|i)>=(0|(t=i?i<<1:1)))break t;if(!t)break n;if(r=CA(t<<2,16),(0|i)<1)break f;break a}t=C,r=n;break r}t=i,r=n;break r}if(r=0,(0|i)>=1)break a}if(!n|!d)break e;break i}for(e=r,g=n,C=i;b[e>>2]=b[g>>2],e=e+4|0,g=g+4|0,C=C+-1|0;);if(!d)break e}gA(n)}d=1}if(b[(i<<2)+r>>2]=_,(0|(i=i+1|0))>0)continue}break}!r|!d||gA(r)}N=f+256|0}function Yi(r,e,i,a,n,t,g,d,_,R){var m,h=0,G=0,y=0,Q=B(0),p=0,D=0,w=B(0),Z=B(0),Y=B(0),W=0,F=B(0),E=B(0),j=0,Be=0,ui=B(0),gi=0,Ri=0,wi=0,Xi=0;N=m=N-32|0;A:if(e){if((0|(h=b[_+4>>2]))<=127){if(b[_+8>>2]<=127){if(y=CA(512,16),(0|(G=b[_+4>>2]))>=1)for(r=0,D=_+12|0;b[r+y>>2]=b[b[D>>2]+r>>2],r=r+4|0,G=G+-1|0;);(r=b[_+12>>2])&&(C[_+16|0]&&gA(r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e=b[D>>2])&&(C[_+16|0]&&gA(e),b[D>>2]=0),b[D>>2]=G,f[_+16|0]=1,b[Ri>>2]=p}for(e=h<<2;b[e+G>>2]=0,e=e+4|0,G=b[D>>2],h=h+-1|0;);}b[j>>2]=p,h=p+-2|0}if(b[G+Be>>2]=b[y+36>>2],b[b[D>>2]+(r<<2)>>2]=b[gi>>2],!(r=r+1|0))break}}N=m+32|0}function Ei(r,e,i,a){var n=0,t=0,g=0,d=0,_=0,R=0,B=0,m=0,h=0,G=0,y=0,Q=0,p=0;A:if(!(!e|!i)){if(!(b[(m=r+24|0)>>2]>127|b[r+28>>2]>127)){if(t=CA(1024,16),(0|(n=b[r+24>>2]))>=1)for(g=r+32|0;R=b[g>>2]+d|0,B=b[R+4>>2],b[(_=t+d|0)>>2]=b[R>>2],b[_+4>>2]=B,d=d+8|0,n=n+-1|0;);(g=b[(n=r+32|0)>>2])&&(C[r+36|0]&&gA(g),b[r+32>>2]=0),b[n>>2]=t,f[r+36|0]=1,b[r+28>>2]=128}for(b[m>>2]=128,n=b[(_=r+32|0)>>2],b[n+4>>2]=i,b[n>>2]=e,e=124,G=r+28|0,y=r+36|0,n=1;;){if(i=b[_>>2],r=n,g=b[(t=i+(B=(n=n+-1|0)<<3)|0)+4>>2],t=b[t>>2],(0|n)>(0|e)){if(!((0|(e=b[m>>2]))>=(0|(R=e<<1))|b[G>>2]>=(0|R))){if(e){if(i=CA(e<<4,16),(0|(e=b[m>>2]))>=1)for(d=0;Q=b[_>>2]+d|0,p=b[Q+4>>2],b[(h=i+d|0)>>2]=b[Q>>2],b[h+4>>2]=p,d=d+8|0,e=e+-1|0;);}else i=0;(d=b[_>>2])&&(C[0|y]&&gA(d),b[_>>2]=0),b[_>>2]=i,f[0|y]=1,b[G>>2]=R}b[m>>2]=R,e=R+-4|0}r:{e:{i:{a:{if((0|t)!=(0|g)){if(v[t>>2]<=v[g+16>>2]^1|v[t+16>>2]>=v[g>>2]^1|v[t+4>>2]<=v[g+20>>2]^1|v[t+20>>2]>=v[g+4>>2]^1)break a;if(v[t+8>>2]<=v[g+24>>2]^1|v[t+24>>2]>=v[g+8>>2]^1)break a;if(h=b[(d=g+40|0)>>2],!b[(R=t+40|0)>>2])break i;if(n=b[t+36>>2],!h)break e;if(b[(i=i+B|0)+4>>2]=b[g+36>>2],b[i>>2]=n,n=b[R>>2],B=(i=r<<3)+b[_>>2]|0,b[B+4>>2]=b[g+36>>2],b[B>>2]=n,n=b[t+36>>2],t=i+b[_>>2]|0,b[t+12>>2]=b[d>>2],b[t+8>>2]=n,n=b[R>>2],i=i+b[_>>2]|0,b[i+20>>2]=b[d>>2],b[i+16>>2]=n,n=r+3|0)continue;break A}b[(g=t+40|0)>>2]&&(i=i+B|0,n=b[t+36>>2],b[i+4>>2]=n,b[i>>2]=n,n=(i=r<<3)+b[_>>2]|0,g=b[g>>2],b[n+4>>2]=g,b[n>>2]=g,n=b[t+40>>2],i=8+(i+b[_>>2]|0)|0,b[i>>2]=b[t+36>>2],b[i+4>>2]=n,n=r+2|0)}if(n)continue;break A}if(!h)break r;if(b[(i=i+B|0)+4>>2]=b[g+36>>2],b[i>>2]=t,i=b[_>>2]+(r<<3)|0,b[i+4>>2]=b[d>>2],b[i>>2]=t,n=r+1|0)continue;break A}if(b[(i=i+B|0)+4>>2]=g,b[i>>2]=n,i=b[R>>2],n=b[_>>2]+(r<<3)|0,b[n+4>>2]=g,b[n>>2]=i,n=r+1|0)continue;break A}if(BA[b[b[a>>2]+8>>2]](a,t,g),!n)break}}}function Ni(r,e,i,a){var f,n=0,t=0,C=0,g=0,v=0,_=0,R=0,B=0,m=0,h=0,G=0,y=0,Q=0,p=0,D=0,w=0,Z=0,Y=0,W=0,F=0,E=0,N=0,j=0,BA=0,Be=0,ui=0,gi=0;f=r+12|0;A:for(;;){j=i,R=b[f>>2],D=b[(n=R+((i+a|0)/2<<4)|0)+8>>2],_=b[n+4>>2],v=a,B=b[n>>2],n=0,B&&(n=1);r:for(;;){e:if(n){if(BA=b[B+12>>2],w=-1,W=-1,!(m=b[(t=(i<<4)+R|0)>>2])){n=1;break e}n=0}else Z=-1,F=-1,t=(i<<4)+R|0,h=b[t>>2],n=h?2:3;for(;;){e:{i:{a:{f:{n:{t:{b:{o:{k:{c:{u:{l:{s:{C:{g:{d:switch(0|n){case 0:W=b[m+12>>2],n=1;continue;case 1:(C=b[t+4>>2])&&(w=b[C+12>>2]),n=_?b[_+12>>2]:-1;v:if(!((0|W)>(0|BA))){if(!((0|B)!=(0|m)|(0|w)>(0|n))){if((0|C)!=(0|_))break g;if(d[t+8>>2]>D>>>0)break v;break g}if((0|B)!=(0|m)|(0|w)<=(0|n))break g}if(i=i+1|0,w=-1,W=-1,!(m=b[(t=t+16|0)>>2]))break o;n=0;continue;case 2:F=b[h+12>>2],n=3;continue;case 6:break u;case 5:break s;case 4:break C;case 3:break d;default:break c}(C=b[t+4>>2])&&(Z=b[C+12>>2]),n=_?b[_+12>>2]:-1;d:if(!((0|F)>-1)){if(!(h|(0|Z)>(0|n))){if((0|C)!=(0|_))break g;if(d[t+8>>2]>D>>>0)break d;break g}if((0|Z)<=(0|n)|h)break g}if(i=i+1|0,Z=-1,F=-1,!(h=b[(t=t+16|0)>>2]))break b;n=2;continue}if(!B)break l;if(Be=b[B+12>>2],Q=-1,E=-1,G=b[(g=(v<<4)+R|0)>>2])break n;break t}E=b[G+12>>2],n=5;continue}Q=_?b[_+12>>2]:Q,n=(C=b[g+4>>2])?b[C+12>>2]:-1;s:if(!((0|Be)>(0|E))){if(!((0|B)!=(0|G)|(0|Q)>(0|n))){if((0|C)!=(0|_))break k;if(d[g+8>>2]>>0)break s;break k}if((0|B)!=(0|G)|(0|Q)<=(0|n))break k}if(v=v+-1|0,Q=-1,E=-1,!(G=b[(g=g+-16|0)>>2]))break f;n=4;continue}if(p=-1,N=-1,y=b[(g=(v<<4)+R|0)>>2])break i;break a}N=b[y+12>>2],n=7;continue}p=_?b[_+12>>2]:p,n=(C=b[g+4>>2])?b[C+12>>2]:-1;c:if(!((0|N)<-1)){if(!(y|(0|p)>(0|n))){if((0|C)!=(0|_))break k;if(d[g+8>>2]>>0)break c;break k}if((0|p)<=(0|n)|y)break k}if(v=v+-1|0,p=-1,N=-1,!(y=b[(g=g+-16|0)>>2]))break e;n=6;continue}k:{if((0|i)<=(0|v)&&(R=b[(n=(i<<4)+R|0)+4>>2],C=b[n+8>>2],ui=b[n+12>>2],gi=b[(Y=g+8|0)+4>>2],b[(n=t+8|0)>>2]=b[Y>>2],b[n+4>>2]=gi,Y=b[t>>2],n=b[g+4>>2],b[t>>2]=b[g>>2],b[t+4>>2]=n,n=b[f>>2]+(v<<4)|0,b[n+12>>2]=ui,b[n+4>>2]=R,b[n+8>>2]=C,b[n>>2]=Y,v=v+-1|0,i=i+1|0),(0|i)<=(0|v)){if(R=b[f>>2],!B)break k;n=1;continue r}if((0|v)>(0|j)&&Ni(r,e,j,v),(0|i)<(0|a))continue A;return}n=0;continue r}n=1;continue}n=3;continue}n=5;continue}n=4;continue}n=5;continue}n=7;continue}n=6;continue}n=7}}}}function Vi(r,e){e|=0,r=b[(r|=0)+4>>2],BA[b[b[r>>2]+8>>2]](r,b[e+36>>2])}function Ii(r,e){var i=B(0),a=0,f=0,n=0,t=0,b=B(0),C=0,g=B(0),d=B(0),_=B(0),R=B(0),h=0,G=0,y=B(0),Q=B(0),D=B(0),w=B(0);b=B(1);A:{r:{e:if(l(r),n=o(0),1065353216!=(0|n)&&(l(e),C=o(0),a=2147483647&C,a)){i:{a:{f:{if(!((f=2147483647&n)>>>0>2139095040|a>>>0>=2139095041)){if((0|n)<=-1)break f;break a}return B(r+e)}if(h=2,a>>>0>1266679807)break i;if(!(a>>>0<1065353216)){if(h=0,(0|a)!=(G=a>>>(t=150-(a>>>23)|0))<-1?r:B(B(1)/r)}if(1073741824!=(0|C))break f;return B(r*r)}if(f>>>0<1065353217)break a;return(0|C)>-1?e:B(0)}if(1056964608!=(0|C)|(0|n)<0)break i;return B(p(r))}return B((0|C)>-1?0:-e)}i=B(m(r));i:{a:{f:{n:{if(!(!f|2139095040==(1073741824|f))){if((0|n)<=-1)break n;break i}if(b=(0|C)<0?B(B(1)/i):i,(0|n)>-1)break e;if(!(f+-1065353216|t))break f;return 1==(0|t)?B(-b):b}if(1==(0|t))break a;if(t)break i;return r=B(r-r),B(r/r)}return r=B(b-b),B(r/r)}b=B(-1)}i:{a:{f:{n:{t:{if(a>>>0>=1291845633){if(f>>>0>1065353207)break t;return B((0|C)<0?B(b*B(1.0000000150474662e30))*B(1.0000000150474662e30):B(b*B(1.0000000031710769e-30))*B(1.0000000031710769e-30))}if(t=f,a=1065353216|(t=8388607&(n=(f=f>>>0<8388608)?(l(B(i*B(16777216))),o(0)):t)),f=(n>>23)+(f?-151:-127)|0,n=0,t>>>0<1885298)break f;if(t>>>0>=6140887)break n;n=1;break f}if(f>>>0<1065353224)break a;return B((0|C)>0?B(b*B(1.0000000150474662e30))*B(1.0000000150474662e30):B(b*B(1.0000000031710769e-30))*B(1.0000000031710769e-30))}a=a+-8388608|0,f=f+1|0}R=v[(t=n<<2)+19540>>2],k(0,a),_=s(),g=v[t+19524>>2],d=B(_-g),y=B(B(1)/B(g+_)),k(0,-4096&(l(i=B(d*y)),o(0))),r=s(),Q=B(r*r),D=r,w=d,k(0,4194304+((a>>1&-536875008|536870912)+(n<<21)|0)|0),d=s(),_=B(y*B(B(w-B(r*d))-B(r*B(_-B(d-g))))),d=B(B(i+r)*_),r=B(i*i),g=B(d+B(B(r*r)*B(B(r*B(B(r*B(B(r*B(B(r*B(B(r*B(.20697501301765442))+B(.23066075146198273)))+B(.2727281153202057)))+B(.3333333432674408)))+B(.4285714328289032)))+B(.6000000238418579)))),k(0,-4096&(l(B(B(Q+B(3))+g)),o(0))),r=s(),d=B(D*r),i=B(B(_*r)+B(i*B(g-B(B(r+B(-3))-Q)))),k(0,-4096&(l(B(d+i)),o(0))),r=s(),g=B(r*B(.9619140625)),_=B(v[t+19532>>2]+B(B(B(i-B(r-d))*B(.9617967009544373))+B(r*B(-.00011736857413779944)))),i=B(0|f),k(0,-4096&(l(B(B(R+B(g+_))+i)),o(0))),r=s(),R=B(B(B(r-i)-R)-g);break i}r=B(i+B(-1)),i=B(r*B(1.44268798828125)),_=B(B(r*B(7052607543300837e-21))+B(B(B(r*r)*B(B(.5)-B(r*B(B(r*B(-.25))+B(.3333333432674408)))))*B(-1.4426950216293335))),k(0,-4096&(l(B(i+_)),o(0))),r=s(),R=B(r-i)}if(k(0,-4096&C),g=s(),i=B(r*g),r=B(B(B(_-R)*e)+B(B(e-g)*r)),l(e=B(i+r)),(0|(a=o(0)))>=1124073473)break r;n=1124073472;i:{a:{if(1124073472==(0|a)){if(!(B(r+B(4.299566569443414e-8))>B(e-i)))break a;break r}if(n=2147483647&a,!(r<=B(e-i)^1|-1021968384!=(0|a))|n>>>0>=1125515265)break A;if(f=0,n>>>0<1056964609)break i}f=(8388607&(C=(8388608>>>(n>>>23)-126)+a|0)|8388608)>>>150-(n=C>>>23&255),f=(0|a)<0?0-f|0:f,i=B(i-(k(0,C&-8388608>>n+-127),s())),l(B(r+i)),a=o(0)}return k(0,-32768&a),e=s(),R=B(e*B(.693145751953125)),i=B(B(e*B(14286065379565116e-22))+B(B(r-B(e-i))*B(.6931471824645996))),r=B(R+i),e=B(r*r),e=B(r-B(e*B(B(e*B(B(e*B(B(e*B(B(e*B(4.138136944220605e-8))+B(-16533901998627698e-22)))+B(661375597701408e-19)))+B(-.0027777778450399637)))+B(.1666666716337204)))),d=B(B(r*e)/B(e+B(-2))),e=B(i-B(r-R)),a=0|(l(r=B(B(r-B(d-B(e+B(r*e))))+B(1))),o(0)+(f<<23)),B((0|a)<=8388607?b*function(r,e){var i=0;i:{a:{f:{if((0|e)>=128){if(r=B(r*B(17014118346046923e22)),(0|(i=e+-127|0))<128)break f;e=(0|(e=e+-254|0))<127?e:127,r=B(r*B(17014118346046923e22));break i}if((0|e)>-127)break i;if(r=B(r*B(19721522630525295e-47)),(0|(i=e+102|0))>-127)break a;e=(0|(e=e+204|0))>-126?e:-126,r=B(r*B(19721522630525295e-47));break i}e=i;break i}e=i}return B(r*(k(0,1065353216+(e<<23)|0),s()))}(r,f):b*(k(0,a),s()))}return b}return B(B(b*B(1.0000000150474662e30))*B(1.0000000150474662e30))}return B(B(b*B(1.0000000031710769e-30))*B(1.0000000031710769e-30))}function Ji(r){var e=B(0),i=0,a=0,f=B(0);A:{r:{e:{i:{if(l(r),(i=2147483647&(a=o(0)))>>>0>=1065353216){if(1065353216!=(0|i))break i;return B((0|a)<0?3.141592502593994:0)}if(i>>>0>1056964607)break e;if(e=B(1.570796251296997),i>>>0<847249409)break r;return e=B(r*r),B(B(B(B(7.549789415861596e-8)-B(B(B(e*B(B(e*B(B(e*B(-.008656363002955914))+B(-.04274342209100723)))+B(.16666586697101593)))/B(B(e*B(-.7066296339035034))+B(1)))*r))-r)+B(1.570796251296997))}return B(B(0)/B(r-r))}if((0|a)<=-1)break A;r=B(B(B(1)-r)*B(.5)),k(0,-4096&(l(f=B(p(r))),o(0))),e=s(),r=B(B(B(B(B(r*B(B(r*B(B(r*B(-.008656363002955914))+B(-.04274342209100723)))+B(.16666586697101593)))/B(B(r*B(-.7066296339035034))+B(1)))*f)+B(B(r-B(e*e))/B(f+e)))+e),e=B(r+r)}return e}return r=B(B(r+B(1))*B(.5)),e=B(p(r)),r=B(B(1.570796251296997)-B(e+B(B(e*B(B(r*B(B(r*B(B(r*B(-.008656363002955914))+B(-.04274342209100723)))+B(.16666586697101593)))/B(B(r*B(-.7066296339035034))+B(1))))+B(-7.549789415861596e-8)))),B(r+r)}function Mi(r,e,i){xi(r+4|0,r+372|0,r+388|0,e,i)}function xi(r,e,i,a,f){var n,t=B(0),C=B(0),g=B(0),d=B(0),_=B(0),R=B(0),m=B(0),h=B(0),G=B(0),y=B(0),Q=0;if(N=n=N-16|0,t=v[r+52>>2],C=v[r+56>>2],d=v[r+48>>2],g=v[e>>2],_=v[e+4>>2],R=v[e+8>>2],b[f+60>>2]=0,v[f+56>>2]=C+B(R*a),v[f+52>>2]=t+B(_*a),v[f+48>>2]=d+B(g*a),d=v[i>>2],m=v[i+4>>2],h=v[i+8>>2],t=(t=B(B(B(d*d)+B(m*m))+B(h*h)))>B(1.1920928955078125e-7)?B(p(t)):B(0),t=(C=B(t*a)>B(.7853981852531433)?B(B(.7853981852531433)/a):t)>2],_=_e(B(B(C*a)*B(.5))),R=B(d*t),G=v[n>>2],m=B(m*t),y=v[n+4>>2],t=B(h*t),h=v[n+8>>2],C=B(B(B(B(g*_)-B(R*G))-B(m*y))-B(t*h)),d=B(B(B(B(t*g)+B(_*h))+B(R*y))-B(m*G)),a=B(B(B(B(_*G)+B(R*g))+B(m*h))-B(t*y)),t=B(B(B(t*G)+B(B(m*g)+B(_*y)))-B(R*h)),(g=B(B(C*C)+B(B(d*d)+B(B(a*a)+B(t*t)))))>B(1.1920928955078125e-7)&&(g=B(B(1)/B(p(g))),C=B(C*g),d=B(d*g),t=B(t*g),a=B(a*g),g=B(B(C*C)+B(B(d*d)+B(B(t*t)+B(a*a))))),g>B(1.1920928955078125e-7))return b[f+12>>2]=0,b[f+44>>2]=0,b[f+28>>2]=0,_=B(B(2)/g),g=B(d*_),R=B(t*g),G=B(a*_),m=B(C*G),v[f+36>>2]=R+m,y=B(a*g),_=B(t*_),h=B(C*_),v[f+32>>2]=y-h,v[f+24>>2]=R-m,R=B(a*_),C=B(C*g),v[f+16>>2]=R+C,v[f+8>>2]=y+h,v[f+4>>2]=R-C,a=B(a*G),t=B(t*_),v[f+40>>2]=B(1)-B(a+t),C=a,a=B(d*g),v[f+20>>2]=B(1)-B(C+a),v[f>>2]=B(1)-B(t+a),void(N=n+16|0);e=b[r+4>>2],b[f>>2]=b[r>>2],b[f+4>>2]=e,Q=b[(i=r+8|0)+4>>2],b[(e=f+8|0)>>2]=b[i>>2],b[e+4>>2]=Q,Q=b[(i=r+24|0)+4>>2],b[(e=f+24|0)>>2]=b[i>>2],b[e+4>>2]=Q,e=b[r+20>>2],b[f+16>>2]=b[r+16>>2],b[f+20>>2]=e,Q=b[(i=r+40|0)+4>>2],b[(e=f+40|0)>>2]=b[i>>2],b[e+4>>2]=Q,e=b[r+36>>2],b[f+32>>2]=b[r+32>>2],b[f+36>>2]=e,N=n+16|0}function Si(r,e){var i,a=0,f=0,n=0,t=0,C=0,g=0,d=0,_=B(0),R=0;N=i=N-32|0,e!=B(0)&&((a=b[r+540>>2])&&BA[b[b[a>>2]+8>>2]](a,r+4|0),b[r+384>>2]=0,a=r+380|0,e=B(B(1)/e),t=r+60|0,C=r+124|0,v[a>>2]=e*B(v[t>>2]-v[C>>2]),v[r+376>>2]=e*B(v[r+56>>2]-v[r+120>>2]),g=r+52|0,d=r+116|0,v[r+372>>2]=e*B(v[g>>2]-v[d>>2]),Ti(r+68|0,r+4|0,i+16|0,i+12|0),b[r+400>>2]=0,f=r+396|0,_=v[i+12>>2],v[f>>2]=e*B(_*v[i+24>>2]),v[r+392>>2]=e*B(_*v[i+20>>2]),v[r+388>>2]=e*B(_*v[i+16>>2]),R=b[a+4>>2],b[(n=r+140|0)>>2]=b[a>>2],b[n+4>>2]=R,a=b[r+376>>2],b[r+132>>2]=b[r+372>>2],b[r+136>>2]=a,a=b[r+392>>2],b[r+148>>2]=b[r+388>>2],b[r+152>>2]=a,n=b[f+4>>2],b[(a=r+156|0)>>2]=b[f>>2],b[a+4>>2]=n,a=b[r+8>>2],b[r+68>>2]=b[r+4>>2],b[r+72>>2]=a,n=b[(f=r+12|0)+4>>2],b[(a=r+76|0)>>2]=b[f>>2],b[a+4>>2]=n,n=b[(f=r+20|0)+4>>2],b[(a=r+84|0)>>2]=b[f>>2],b[a+4>>2]=n,n=b[(f=r+28|0)+4>>2],b[(a=r+92|0)>>2]=b[f>>2],b[a+4>>2]=n,n=b[(f=r+44|0)+4>>2],b[(a=r+108|0)>>2]=b[f>>2],b[a+4>>2]=n,a=r+100|0,f=b[(r=r+36|0)+4>>2],b[a>>2]=b[r>>2],b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F*m)+B(E*t)),v[f+16>>2]=B(W*n)+B(B(F*g)+B(E*d)),tf(f+16|0,f),g=v[f>>2],C=v[f+4>>2],t=v[f+8>>2],d=v[f+12>>2],n=B(B(1)/B(p(B(B(B(B(g*g)+B(C*C))+B(t*t))+B(d*d))))),t=B(t*n),v[f+8>>2]=t,C=B(C*n),v[f+4>>2]=C,g=B(g*n),v[f>>2]=g,n=B(d*n),v[f+12>>2]=n,n=Ji(B(G(B(y(n,B(-1))),B(1)))),v[a>>2]=n+n,b[i+12>>2]=0,v[i+8>>2]=t,v[i+4>>2]=C,v[i>>2]=g,(n=B(B(B(g*g)+B(C*C))+B(t*t)))>2]=1065353216,b[i+4>>2]=0,b[(r=i+8|0)>>2]=0,b[r+4>>2]=0,void(N=f- -64|0);n=B(B(1)/B(p(n))),v[i+8>>2]=t*n,v[i+4>>2]=C*n,v[i>>2]=g*n,N=f- -64|0}function Ui(r,e){var i=B(0),a=0,f=B(0),n=B(0),t=B(0);(i=v[r+404>>2])!=B(0)&&(f=v[e>>2],n=v[e+4>>2],t=v[e+8>>2],b[r+436>>2]=0,i=B(B(1)/i),v[r+432>>2]=t*i,v[r+428>>2]=i*n,v[r+424>>2]=i*f),a=b[e+4>>2],b[r+440>>2]=b[e>>2],b[r+444>>2]=a,a=b[(e=e+8|0)+4>>2],b[(r=r+448|0)>>2]=b[e>>2],b[r+4>>2]=a}function ji(r,e){var i=0,a=B(0),f=B(0),n=B(0),t=B(0),g=B(0),d=B(0),_=B(0),R=B(0);if(_=v[r+504>>2],f=Ii(B(B(1)-_),e),t=B(f*v[r+372>>2]),v[r+372>>2]=t,a=B(f*v[(i=r+376|0)>>2]),v[i>>2]=a,f=B(f*v[(i=r+380|0)>>2]),v[i>>2]=f,R=v[r+508>>2],n=Ii(B(B(1)-R),e),e=B(n*v[r+388>>2]),v[r+388>>2]=e,g=B(n*v[(i=r+392|0)>>2]),v[i>>2]=g,n=B(n*v[(i=r+396|0)>>2]),v[i>>2]=n,C[r+512|0]&&(B(B(B(e*e)+B(g*g))+B(n*n))>2]^1|B(B(B(t*t)+B(a*a))+B(f*f))>2]^1||(d=v[r+516>>2],n=B(n*d),v[r+396>>2]=n,g=B(g*d),v[r+392>>2]=g,e=B(e*d),v[r+388>>2]=e,f=B(f*d),v[r+380>>2]=f,a=B(a*d),v[r+376>>2]=a,t=B(t*d),v[r+372>>2]=t),(d=B(p(B(B(B(t*t)+B(a*a))+B(f*f)))))<_&&(d>B(.004999999888241291)?(_=f,f=B(B(1)/d),v[r+380>>2]=_-B(B(_*f)*B(.004999999888241291)),v[r+376>>2]=a-B(B(a*f)*B(.004999999888241291)),v[r+372>>2]=t-B(B(t*f)*B(.004999999888241291))):(b[(i=r+372|0)>>2]=0,b[i+4>>2]=0,b[(i=i+8|0)>>2]=0,b[i+4>>2]=0)),(a=B(p(B(B(B(e*e)+B(g*g))+B(n*n)))))B(.004999999888241291))return a=B(B(1)/a),v[r+396>>2]=n-B(B(n*a)*B(.004999999888241291)),v[r+392>>2]=g-B(B(g*a)*B(.004999999888241291)),void(v[r+388>>2]=e-B(B(e*a)*B(.004999999888241291)));b[(r=r+388|0)>>2]=0,b[r+4>>2]=0,b[(r=r+8|0)>>2]=0,b[r+4>>2]=0}}function Oi(r){var e=0;3&C[r+204|0]||(v[r+472>>2]=B(v[r+424>>2]*v[r+408>>2])+v[r+472>>2],v[(e=r+476|0)>>2]=B(v[r+428>>2]*v[r+412>>2])+v[e>>2],v[(e=r+480|0)>>2]=B(v[r+432>>2]*v[r+416>>2])+v[e>>2])}function Hi(r,e){!function(r,e){var i,a=0,f=0,n=0,t=0,g=0,d=B(0),_=B(0),R=B(0),m=0,h=B(0),G=B(0),y=B(0),Q=0,p=B(0),D=B(0),w=B(0),Z=B(0),Y=B(0),W=B(0),F=B(0),E=B(0),N=B(0);2&C[r+204|0]?(a=b[r+8>>2],b[r+68>>2]=b[r+4>>2],b[r+72>>2]=a,n=b[(f=r+12|0)+4>>2],b[(a=r+76|0)>>2]=b[f>>2],b[a+4>>2]=n,n=b[(f=r+20|0)+4>>2],b[(a=r+84|0)>>2]=b[f>>2],b[a+4>>2]=n,n=b[(f=r+28|0)+4>>2],b[(a=r+92|0)>>2]=b[f>>2],b[a+4>>2]=n,n=b[(f=r+36|0)+4>>2],b[(a=r+100|0)>>2]=b[f>>2],b[a+4>>2]=n,n=b[(f=r+44|0)+4>>2],b[(a=r+108|0)>>2]=b[f>>2],b[a+4>>2]=n,n=b[(f=r+52|0)+4>>2],b[(a=r+116|0)>>2]=b[f>>2],b[a+4>>2]=n,n=b[(f=r+60|0)+4>>2],b[(a=r+124|0)>>2]=b[f>>2],b[a+4>>2]=n):(a=b[e+4>>2],b[r+68>>2]=b[e>>2],b[r+72>>2]=a,n=b[(f=e+8|0)+4>>2],b[(a=r+76|0)>>2]=b[f>>2],b[a+4>>2]=n,n=b[(f=e+24|0)+4>>2],b[(a=r+92|0)>>2]=b[f>>2],b[a+4>>2]=n,f=b[e+20>>2],b[(a=r+84|0)>>2]=b[e+16>>2],b[a+4>>2]=f,n=b[(f=e+40|0)+4>>2],b[(a=r+108|0)>>2]=b[f>>2],b[a+4>>2]=n,f=b[e+36>>2],b[(a=r+100|0)>>2]=b[e+32>>2],b[a+4>>2]=f,f=b[e+52>>2],b[(a=r+116|0)>>2]=b[e+48>>2],b[a+4>>2]=f,n=b[(f=e+56|0)+4>>2],b[(a=r+124|0)>>2]=b[f>>2],b[a+4>>2]=n),a=b[r+392>>2],b[r+148>>2]=b[r+388>>2],b[r+152>>2]=a,a=b[r+376>>2],b[r+132>>2]=b[r+372>>2],b[r+136>>2]=a,n=b[(f=r+396|0)+4>>2],b[(a=r+156|0)>>2]=b[f>>2],b[a+4>>2]=n,n=b[(f=r+380|0)+4>>2],b[(a=r+140|0)>>2]=b[f>>2],b[a+4>>2]=n,Q=b[(n=e+8|0)+4>>2],b[(a=r+12|0)>>2]=b[n>>2],b[a+4>>2]=Q,f=b[e+4>>2],b[r+4>>2]=b[e>>2],b[r+8>>2]=f,g=b[(Q=e+24|0)+4>>2],b[(f=r+28|0)>>2]=b[Q>>2],b[f+4>>2]=g,g=b[e+20>>2],b[(n=r+20|0)>>2]=b[e+16>>2],b[n+4>>2]=g,m=b[(t=e+40|0)+4>>2],b[(g=Q=r+44|0)>>2]=b[t>>2],b[g+4>>2]=m,m=b[e+36>>2],b[(t=g=r+36|0)>>2]=b[e+32>>2],b[t+4>>2]=m,i=b[(m=e+56|0)+4>>2],b[(t=r+60|0)>>2]=b[m>>2],b[t+4>>2]=i,m=b[e+52>>2],b[(t=r+52|0)>>2]=b[e+48>>2],b[t+4>>2]=m,p=v[r+8>>2],D=v[a>>2],w=v[f>>2],Z=v[n>>2],Y=v[r+24>>2],h=v[Q>>2],F=v[r+464>>2],G=v[g>>2],y=v[r+40>>2],E=v[r+460>>2],W=v[r+4>>2],N=v[r+456>>2],b[r+368>>2]=0,b[r+352>>2]=0,b[r+336>>2]=0,d=B(N*G),_=B(E*y),R=B(F*h),v[r+364>>2]=B(B(G*d)+B(y*_))+B(h*R),v[r+360>>2]=B(B(Z*d)+B(Y*_))+B(w*R),v[r+356>>2]=B(B(W*d)+B(p*_))+B(D*R),d=B(N*Z),_=B(E*Y),R=B(F*w),v[r+348>>2]=B(B(G*d)+B(y*_))+B(h*R),v[r+344>>2]=B(B(Z*d)+B(Y*_))+B(w*R),v[r+340>>2]=B(B(W*d)+B(p*_))+B(D*R),d=G,G=B(W*N),_=y,y=B(p*E),R=h,h=B(D*F),v[r+332>>2]=B(B(d*G)+B(_*y))+B(R*h),v[r+328>>2]=B(B(G*Z)+B(y*Y))+B(h*w),v[r+324>>2]=B(B(W*G)+B(p*y))+B(D*h)}(r,e)}function zi(r,e,i){var a=B(0),f=B(0),n=B(0),t=B(0),C=B(0),g=B(0),d=B(0),_=B(0),R=B(0),m=B(0),h=B(0),G=B(0),y=B(0),Q=B(0),D=B(0),w=B(0),Z=B(0),Y=B(0),W=B(0);b[r+12>>2]=0,f=v[e+388>>2],h=(a=v[e+456>>2])!=B(0)?B(B(1)/a):B(0),G=v[e+20>>2],n=B(h*G),g=v[e+4>>2],Z=(a=v[e+460>>2])!=B(0)?B(B(1)/a):B(0),y=v[e+24>>2],d=B(Z*y),_=v[e+8>>2],Y=(a=v[e+464>>2])!=B(0)?B(B(1)/a):B(0),Q=v[e+28>>2],R=B(Y*Q),D=v[e+12>>2],a=v[e+392>>2],m=B(B(f*B(B(B(n*g)+B(d*_))+B(R*D)))+B(B(B(B(n*G)+B(d*y))+B(R*Q))*a)),w=v[e+36>>2],t=d,d=v[e+40>>2],C=R,R=v[e+44>>2],t=B(B(B(n*w)+B(t*d))+B(C*R)),n=v[e+396>>2],W=B(m+B(t*n)),C=B(h*g),m=B(Z*_),t=B(Y*D),m=B(B(B(B(B(B(C*g)+B(m*_))+B(t*D))*f)+B(a*B(B(B(C*G)+B(m*y))+B(t*Q))))+B(B(B(B(C*w)+B(m*d))+B(t*R))*n)),C=B(B(f*W)-B(a*m)),v[r+8>>2]=C,t=f,f=B(h*w),h=B(g*f),g=B(Z*d),h=B(h+B(_*g)),_=B(Y*R),G=B(B(B(t*B(h+B(D*_)))+B(a*B(B(B(f*G)+B(g*y))+B(_*Q))))+B(n*B(B(B(f*w)+B(g*d))+B(_*R)))),f=B(B(n*m)-B(t*G)),v[r+4>>2]=f,a=B(B(a*G)-B(n*W)),v[r>>2]=a,(n=B(B(C*C)+B(B(a*a)+B(f*f))))>B(i*i)&&(i=B(B(B(1)/B(p(n)))*i),v[r+8>>2]=C*i,v[r+4>>2]=f*i,v[r>>2]=a*i)}function Pi(r,e,i){var a,f=B(0),n=B(0),t=B(0),C=B(0),g=B(0),d=B(0),_=B(0),R=B(0),h=B(0),G=B(0),y=B(0),Q=B(0),p=B(0),D=B(0),w=B(0),Z=B(0),Y=B(0),W=B(0),F=B(0),E=B(0),j=B(0),BA=B(0),Be=B(0),ui=B(0),gi=B(0),Ri=B(0),wi=B(0),Xi=B(0);N=a=N-16|0,d=v[e+464>>2],f=v[e+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i=n,n=B(B(B(t*w)-B(n*D))*i),i=B(B(B(y*D)-B(t*Be))*i),f=B(Xi-B(B(B(Ri*B(B(p*d)-B(f*n)))+B(B(wi*B(B(f*i)-B(ui*d)))+B(Z*B(B(ui*n)-B(p*i)))))*C)),t=B(t-B(B(B(Ri*B(B(gi*n)-B(Q*d)))+B(B(wi*B(B(g*d)-B(gi*i)))+B(Z*B(B(Q*i)-B(g*n)))))*C)),i=B(y-B(B(B(i*E)+B(B(n*j)+B(d*BA)))*C)),n=B(B(B(_*f)+B(G*t))-B(R*i)),y=B(B(B(-B(G*i))-B(R*t))-B(h*f)),d=B(B(B(_*i)+B(R*f))-B(h*t)),i=B(B(B(h*i)+B(_*t))-B(G*f)),v[r+8>>2]=B(B(B(B(_*n)-B(y*h))-B(d*R))+B(i*G))-Y,v[r+4>>2]=B(B(B(B(_*i)-B(y*R))-B(n*G))+B(d*h))-W,v[r>>2]=B(B(B(B(_*d)-B(y*G))-B(i*h))+B(n*R))-F,N=a+16|0}function Li(r,e,i){var a=B(0),f=B(0),n=B(0),t=B(0),C=B(0),g=B(0),d=B(0),_=B(0),R=B(0),h=B(0),G=B(0),y=B(0),Q=B(0),p=B(0),D=B(0),w=B(0),Z=B(0),Y=B(0),W=B(0),F=B(0),E=B(0),N=B(0),j=B(0),BA=B(0),Be=B(0),ui=B(0),gi=B(0);b[r+12>>2]=0,E=(a=v[e+456>>2])!=B(0)?B(B(1)/a):B(0),h=v[e+36>>2],W=B(E*h),G=v[e+4>>2],C=(a=v[e+460>>2])!=B(0)?B(B(1)/a):B(0),D=v[e+40>>2],N=B(C*D),n=v[e+8>>2],y=(a=v[e+464>>2])!=B(0)?B(B(1)/a):B(0),g=v[e+44>>2],BA=B(y*g),f=v[e+12>>2],t=B(B(B(W*G)+B(N*n))+B(BA*f)),a=v[e+388>>2],d=v[e+20>>2],w=B(E*d),_=v[e+24>>2],F=B(C*_),R=v[e+28>>2],Z=B(y*R),j=B(B(B(w*G)+B(F*n))+B(Z*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*i)-B(Y*D)))+B(g*B(B(Y*t)-B(d*i)))))*n))-p,v[r+4>>2]=B(Q-B(B(B(E*B(B(R*t)-B(W*D)))+B(B(y*B(B(f*D)-B(R*i)))+B(g*B(B(W*i)-B(f*t)))))*n))-Q,v[r>>2]=B(a-B(B(B(i*Z)+B(B(t*_)+B(D*j)))*n))-a}function Ki(r,e){var i=0,a=0,n=0,t=0,g=0,d=0;A:{r:if(!((0|(i=b[r+548>>2]))<1)){for(n=b[r+556>>2];;){if((0|e)!=b[n>>2]){if(n=n+4|0,(0|(a=a+1|0))<(0|i))continue;break r}break}if((0|i)!=(0|a))break A}if(b[r+552>>2]==(0|i)&&!((0|i)>=(0|(g=i?i<<1:1)))){r:{e:{if(g){if(t=CA(g<<2,16),(0|(i=b[r+548>>2]))>=1)break e;break r}if((0|i)<1)break r}for(n=0,d=r+556|0,a=i;b[n+t>>2]=b[b[d>>2]+n>>2],n=n+4|0,a=a+-1|0;);}(a=b[(d=r+556|0)>>2])&&(C[r+560|0]&&(gA(a),i=b[r+548>>2]),b[r+556>>2]=0),b[d>>2]=t,f[r+560|0]=1,b[r+552>>2]=g}b[b[r+556>>2]+(i<<2)>>2]=e,b[r+548>>2]=i+1,t=b[e+32>>2];r:{e:{i:{a:{f:{n:{t:{b:{if((0|r)!=(0|(d=b[e+28>>2]))){if((0|(i=b[t+288>>2]))!=b[t+292>>2])break f;if((0|i)>=(0|(g=i?i<<1:1)))break f;if(!g)break b;if(e=CA(g<<2,16),(0|(i=b[t+288>>2]))>=1)break t;break n}if((0|(i=b[r+288>>2]))!=b[r+292>>2])break r;if((0|i)>=(0|(g=i?i<<1:1)))break r;if(!g)break a;if(e=CA(g<<2,16),(0|(i=b[r+288>>2]))>=1)break i;break e}if(e=0,(0|i)<1)break n}for(n=0,r=t+296|0,a=i;b[e+n>>2]=b[b[r>>2]+n>>2],n=n+4|0,a=a+-1|0;);}(r=b[(a=t+296|0)>>2])&&(C[t+300|0]&&(gA(r),i=b[t+288>>2]),b[t+296>>2]=0),b[a>>2]=e,f[t+300|0]=1,b[t+292>>2]=g}r=t,t=d;break r}if(e=0,(0|i)<1)break e}for(n=0,d=r+296|0,a=i;b[e+n>>2]=b[b[d>>2]+n>>2],n=n+4|0,a=a+-1|0;);}(a=b[(d=r+296|0)>>2])&&(C[r+300|0]&&(gA(a),i=b[r+288>>2]),b[r+296>>2]=0),b[d>>2]=e,f[r+300|0]=1,b[r+292>>2]=g}b[r+288>>2]=i+1,b[r+280>>2]=(-1^i)>>>31,b[b[r+296>>2]+(i<<2)>>2]=t}}function qi(r,e){var i=0,a=0,f=0,n=0,t=0;A:{r:{e:if(!((0|(n=b[r+548>>2]))<1)){for(a=f=b[r+556>>2];;){if((0|e)!=b[a>>2]){if(a=a+4|0,(0|(i=i+1|0))<(0|n))continue;break e}break}if(!((0|i)>=(0|n))){i=0,a=f;i:{for(;;){if((0|e)!=b[a>>2]){if(a=a+4|0,(0|(i=i+1|0))<(0|n))continue;break i}break}(0|n)<=(0|i)||(t=a,i=f,f=(a=n+-1|0)<<2,b[t>>2]=b[i+f>>2],b[r+548>>2]=a,b[f+b[r+556>>2]>>2]=e)}n=b[e+32>>2];i:{a:{if((0|r)!=(0|(f=b[e+28>>2]))){if((0|(e=b[n+288>>2]))<1)break i;for(i=0,a=r=b[n+296>>2];;){if((0|f)==b[a>>2])break a;if(a=a+4|0,!((0|(i=i+1|0))<(0|e)))break}break i}if((0|(e=b[r+288>>2]))<1)break A;for(i=0,a=f=b[r+296>>2];;){if((0|n)==b[a>>2])break r;if(a=a+4|0,!((0|(i=i+1|0))<(0|e)))break}break A}(0|e)<=(0|i)||(i=r,r=(e=e+-1|0)<<2,b[a>>2]=b[i+r>>2],b[n+288>>2]=e,b[r+b[n+296>>2]>>2]=f)}b[n+280>>2]=(0|e)>0}}return}(0|e)<=(0|i)||(i=f,f=(e=e+-1|0)<<2,b[a>>2]=b[i+f>>2],b[r+288>>2]=e,b[f+b[r+296>>2]>>2]=n)}b[r+280>>2]=(0|e)>0}function $i(r){var e=0;b[r>>2]=19640,f[r+20|0]=1,b[r+16>>2]=0,f[r+40|0]=1,b[(e=r+8|0)>>2]=0,b[e+4>>2]=0,b[r+36>>2]=0,f[r+60|0]=1,b[(e=r+28|0)>>2]=0,b[e+4>>2]=0,b[r+56>>2]=0,f[r+80|0]=1,b[(e=r+48|0)>>2]=0,b[e+4>>2]=0,b[r+76>>2]=0,f[r+100|0]=1,b[(e=r+68|0)>>2]=0,b[e+4>>2]=0,b[r+96>>2]=0,f[r+120|0]=1,b[(e=r+88|0)>>2]=0,b[e+4>>2]=0,f[r+140|0]=1,b[r+116>>2]=0,b[(e=r+108|0)>>2]=0,b[e+4>>2]=0,f[r+160|0]=1,b[r+136>>2]=0,b[(e=r+128|0)>>2]=0,b[e+4>>2]=0,f[r+180|0]=1,b[r+156>>2]=0,b[(e=r+148|0)>>2]=0,b[e+4>>2]=0,b[r+176>>2]=0,f[r+208|0]=1,b[(e=r+168|0)>>2]=0,b[e+4>>2]=0,b[r+204>>2]=0,b[r+232>>2]=0,b[(e=r+196|0)>>2]=0,b[e+4>>2]=0,b[r+224>>2]=0,b[r+220>>2]=536,b[r+216>>2]=537,b[r+212>>2]=538}function Aa(r){var e=0,i=0;return b[(r|=0)>>2]=19640,(i=b[(e=r+204|0)>>2])&&(C[r+208|0]&&gA(i),b[r+204>>2]=0),b[e>>2]=0,f[r+208|0]=1,b[(e=r+196|0)>>2]=0,b[e+4>>2]=0,(i=b[(e=r+176|0)>>2])&&(C[r+180|0]&&gA(i),b[r+176>>2]=0),b[e>>2]=0,f[r+180|0]=1,b[(e=r+168|0)>>2]=0,b[e+4>>2]=0,(i=b[(e=r+156|0)>>2])&&(C[r+160|0]&&gA(i),b[r+156>>2]=0),b[e>>2]=0,f[r+160|0]=1,b[(e=r+148|0)>>2]=0,b[e+4>>2]=0,(i=b[(e=r+136|0)>>2])&&(C[r+140|0]&&gA(i),b[r+136>>2]=0),b[e>>2]=0,f[r+140|0]=1,b[(e=r+128|0)>>2]=0,b[e+4>>2]=0,(i=b[(e=r+116|0)>>2])&&(C[r+120|0]&&gA(i),b[r+116>>2]=0),b[e>>2]=0,f[r+120|0]=1,b[(e=r+108|0)>>2]=0,b[e+4>>2]=0,(i=b[(e=r+96|0)>>2])&&(C[r+100|0]&&gA(i),b[r+96>>2]=0),b[e>>2]=0,f[r+100|0]=1,b[(e=r+88|0)>>2]=0,b[e+4>>2]=0,(i=b[(e=r+76|0)>>2])&&(C[r+80|0]&&gA(i),b[r+76>>2]=0),b[e>>2]=0,f[r+80|0]=1,b[(e=r+68|0)>>2]=0,b[e+4>>2]=0,(i=b[(e=r+56|0)>>2])&&(C[r+60|0]&&gA(i),b[r+56>>2]=0),b[e>>2]=0,f[r+60|0]=1,b[(e=r+48|0)>>2]=0,b[e+4>>2]=0,(i=b[(e=r+36|0)>>2])&&(C[r+40|0]&&gA(i),b[r+36>>2]=0),b[e>>2]=0,f[r+40|0]=1,b[(e=r+28|0)>>2]=0,b[e+4>>2]=0,(i=b[(e=r+16|0)>>2])&&(C[r+20|0]&&gA(i),b[r+16>>2]=0),b[e>>2]=0,f[r+20|0]=1,b[(e=r+8|0)>>2]=0,b[e+4>>2]=0,0|r}function ra(r,e,i,a,n,t,g,d,_,m,h,G){var y,Q=0,p=0,D=0,w=0,Z=0,Y=0;if(p=Q=b[(y=r+68|0)>>2],(0|Q)==b[r+72>>2]&&(p=Q,!((0|Q)>=(0|(w=Q?Q<<1:1))))){A:{r:{if(w){if(Z=CA(R(w,152),16),(0|(D=b[r+68>>2]))>=1)break r;break A}if(D=Q,(0|Q)<1)break A}for(p=0,Y=r+76|0;J(p+Z|0,b[Y>>2]+p|0,152),p=p+152|0,D=D+-1|0;);}(D=b[(p=r+76|0)>>2])&&(C[r+80|0]&&gA(D),b[r+76>>2]=0),b[p>>2]=Z,f[r+80|0]=1,b[r+72>>2]=w,p=b[r+68>>2]}b[y>>2]=p+1,Q=b[r+76>>2]+R(Q,152)|0,b[Q+140>>2]=n,function(r,e,i,a,f,n,t,g,d,_,m,h){var G,y,Q,p=B(0),D=0,w=B(0),Z=B(0),Y=B(0),W=B(0),F=B(0),E=B(0),N=0,j=B(0),BA=B(0),Be=B(0),ui=B(0),gi=B(0),Ri=B(0),wi=B(0),Xi=B(0),Da=B(0),Ia=B(0),yf=B(0),Qf=B(0),pf=B(0),Df=B(0),wf=B(0),Zf=B(0),Yf=0,Wf=B(0),Ff=B(0),Ef=B(0),Nf=B(0),Vf=B(0);b[e+148>>2]=f,b[e+144>>2]=a,b[e+96>>2]=0,b[e+100>>2]=0,Zf=v[n+84>>2],Q=b[n+84>>2],b[e+104>>2]=Q,y=b[r+16>>2],r=b[240+(y+R(f,244)|0)>>2],G=b[240+(R(a,244)+y|0)>>2],b[e+132>>2]=0,D=e+16|0;A:{r:{e:{i:{if(G){if(N=b[i+4>>2],b[D>>2]=b[i>>2],b[D+4>>2]=N,Yf=b[(N=i+8|0)+4>>2],b[(D=D+8|0)>>2]=b[N>>2],b[D+4>>2]=Yf,Y=v[t+8>>2],W=v[t>>2],p=v[t+4>>2],b[e+12>>2]=0,ui=v[e+20>>2],j=v[e+16>>2],Qf=B(B(W*ui)-B(p*j)),v[e+8>>2]=Qf,BA=v[e+24>>2],W=B(B(Y*j)-B(W*BA)),v[e+4>>2]=W,Y=B(B(p*BA)-B(Y*ui)),v[e>>2]=Y,p=v[G+332>>2],gi=v[G+328>>2],F=v[G+608>>2],w=v[G+348>>2],Da=v[G+340>>2],Ia=v[G+344>>2],yf=v[G+612>>2],Z=v[G+364>>2],E=v[G+356>>2],Be=v[G+360>>2],Xi=v[G+604>>2],Ri=v[G+324>>2],b[e+76>>2]=0,Be=B(yf*B(B(B(Y*E)+B(W*Be))+B(Qf*Z))),v[e+72>>2]=Be,Df=B(F*B(B(B(Y*Da)+B(W*Ia))+B(Qf*w))),v[e+68>>2]=Df,Xi=B(Xi*B(B(B(Y*Ri)+B(W*gi))+B(Qf*p))),v[e+64>>2]=Xi,!r)break i;break e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Ri))*v[i>>2]),pf=Be,Be=v[t>>2],p=B(v[G+404>>2]+B(B(wf+B(B(B(pf*Be)-B(p*Xi))*v[i+4>>2]))+B(B(B(Ri*Xi)-B(Df*Be))*v[i+8>>2])))}t=e,Be=d,pf=p,r?(d=v[g+4>>2],p=v[g+8>>2],Ri=B(B(B(d*Z)-B(p*E))*v[i>>2]),Xi=B(p*wi),p=v[g>>2],d=B(v[r+404>>2]+B(B(Ri+B(B(Xi-B(p*Z))*v[i+4>>2]))+B(B(B(p*E)-B(d*wi))*v[i+8>>2])))):d=B(0),d=B(Be/B(pf+d)),v[t+108>>2]=d,G?(a=R(a,244)+y|0,ui=B(B(B(B(v[a+176>>2]+v[a+208>>2])*j)+B(B(v[a+180>>2]+v[a+212>>2])*ui))+B(B(v[a+184>>2]+v[a+216>>2])*BA)),p=v[a+192>>2],BA=v[a+196>>2],j=v[a+200>>2]):(p=B(0),ui=B(B(B(j*B(0))+B(ui*B(0)))+B(BA*B(0))),BA=B(0),j=B(0)),ui=B(ui+B(B(B(p*Y)+B(BA*W))+B(j*Qf))),r?(r=R(f,244)+y|0,W=B(B(B(B(v[r+176>>2]+v[r+208>>2])*yf)+B(B(v[r+180>>2]+v[r+212>>2])*Ia))+B(B(v[r+184>>2]+v[r+216>>2])*Da)),Y=v[r+192>>2],j=v[r+196>>2],BA=v[r+200>>2]):(W=B(B(B(yf*B(0))+B(Ia*B(0)))+B(Da*B(0))),j=B(0),Y=B(0),BA=B(0)),p=16&C[n+120|0]?B(d*B(B(-B(v[_+44>>2]*B(B(B(B(v[n+48>>2]-v[n+32>>2])*v[i>>2])+B(B(v[n+52>>2]-v[n+36>>2])*v[i+4>>2]))+B(B(v[n+56>>2]-v[n+40>>2])*v[i+8>>2]))))/v[_+12>>2])):B(0),b[e+128>>2]=0,b[e+124>>2]=Q,v[e+116>>2]=h,v[e+112>>2]=B(d*B(m-B(ui+B(W+B(B(B(Y*w)+B(j*F))+B(BA*gi))))))+p,v[e+120>>2]=-Zf}(r,Q,e,i,a,t,g,d,_,m,h,G)}function ea(r,e,i,a,n,t){var g,d=0,_=0,m=0,h=0,G=0,y=0;if(_=d=b[(g=r+88|0)>>2],(0|d)==b[r+92>>2]&&(_=d,!((0|d)>=(0|(h=d?d<<1:1))))){A:{r:{if(h){if(G=CA(R(h,152),16),(0|(m=b[r+88>>2]))>=1)break r;break A}if(m=d,(0|d)<1)break A}for(_=0,y=r+96|0;J(_+G|0,b[y>>2]+_|0,152),_=_+152|0,m=m+-1|0;);}(m=b[(_=r+96|0)>>2])&&(C[r+100|0]&&gA(m),b[r+96>>2]=0),b[_>>2]=G,f[r+100|0]=1,b[r+92>>2]=h,_=b[r+88>>2]}b[g>>2]=_+1,d=b[r+96>>2]+R(d,152)|0,b[d+140>>2]=n,function(r,e,i,a,f,n){var t,C,g=0,d=B(0),_=B(0),m=B(0),h=B(0),G=B(0),y=B(0),Q=B(0),p=B(0),D=B(0),w=B(0),Z=0,Y=B(0),W=0,F=0,E=0,N=0,j=B(0),BA=B(0),Be=B(0);b[e+48>>2]=-2147483648,b[e+52>>2]=-2147483648,b[e+16>>2]=0,b[e+20>>2]=0,b[(g=e+56|0)>>2]=-2147483648,b[g+4>>2]=0,b[(g=e+24|0)>>2]=0,b[g+4>>2]=0,v[e+104>>2]=n,b[e+96>>2]=0,b[e+100>>2]=0,t=b[r+16>>2],r=b[240+(t+R(a,244)|0)>>2],g=b[240+(R(f,244)+t|0)>>2],b[e+132>>2]=0,b[e+148>>2]=f,b[e+144>>2]=a,m=v[i>>2],h=v[i+4>>2],G=v[i+8>>2],b[e+12>>2]=0,d=B(-G),v[e+8>>2]=d,y=B(-h),v[e+4>>2]=y,_=B(-m),v[e>>2]=_,C=e,r?(l(B(B(B(B(v[r+356>>2]*_)+B(v[r+360>>2]*y))+B(v[r+364>>2]*d))*v[r+612>>2])),W=o(0),l(B(B(B(B(v[r+340>>2]*_)+B(v[r+344>>2]*y))+B(v[r+348>>2]*d))*v[r+608>>2])),F=o(0),l(B(B(B(B(v[r+324>>2]*_)+B(v[r+328>>2]*y))+B(v[r+332>>2]*d))*v[r+604>>2])),Z=o(0)):Z=0,b[C+64>>2]=Z,b[e+76>>2]=0,b[e+72>>2]=W,b[e+68>>2]=F,m=v[i+4>>2],h=v[i+8>>2],G=v[i>>2],b[e+44>>2]=b[i+12>>2],v[e+40>>2]=h,v[e+36>>2]=m,v[e+32>>2]=G,i=0,g&&(l(B(B(B(B(G*v[g+356>>2])+B(m*v[g+360>>2]))+B(h*v[g+364>>2]))*v[g+612>>2])),E=o(0),l(B(B(B(B(G*v[g+324>>2])+B(m*v[g+328>>2]))+B(h*v[g+332>>2]))*v[g+604>>2])),N=o(0),l(B(B(B(B(G*v[g+340>>2])+B(m*v[g+344>>2]))+B(h*v[g+348>>2]))*v[g+608>>2])),i=o(0)),b[e+80>>2]=N,b[e+92>>2]=0,b[e+88>>2]=E,b[e+84>>2]=i,i=e,r?(p=B(B(B(v[r+356>>2]*_)+B(v[r+360>>2]*y))+B(v[r+364>>2]*d)),Q=B(B(B(v[r+340>>2]*_)+B(v[r+344>>2]*y))+B(v[r+348>>2]*d)),Y=B(B(B(v[r+324>>2]*_)+B(v[r+328>>2]*y))+B(v[r+332>>2]*d))):Y=B(0),p=B(B(B(B(Y*_)+B(Q*y))+B(p*d))+B(0)),g?(D=B(B(B(G*v[g+356>>2])+B(m*v[g+360>>2]))+B(h*v[g+364>>2])),j=B(B(B(G*v[g+340>>2])+B(m*v[g+344>>2]))+B(h*v[g+348>>2])),Q=B(B(B(v[g+324>>2]*G)+B(v[g+328>>2]*m))+B(v[g+332>>2]*h))):Q=B(0),D=B(B(1)/B(p+B(B(B(Q*G)+B(j*m))+B(D*h)))),v[i+108>>2]=D,Q=B(0),p=B(0),r&&(r=R(a,244)+t|0,w=B(B(B(B(v[r+176>>2]+v[r+208>>2])*B(0))+B(B(v[r+180>>2]+v[r+212>>2])*B(0)))+B(B(v[r+184>>2]+v[r+216>>2])*B(0))),Q=v[r+196>>2],BA=v[r+200>>2],p=v[r+192>>2]),y=B(w+B(B(BA*d)+B(B(Q*y)+B(p*_)))),g?(r=R(f,244)+t|0,d=B(B(B(B(v[r+176>>2]+v[r+208>>2])*B(-0))+B(B(v[r+180>>2]+v[r+212>>2])*B(-0)))+B(B(v[r+184>>2]+v[r+216>>2])*B(-0))),Be=v[r+200>>2],w=v[r+196>>2],_=v[r+192>>2]):(d=B(-0),w=B(0),_=B(0)),v[e+124>>2]=n,v[e+116>>2]=0,v[e+120>>2]=-n,v[e+112>>2]=D*B(B(0)-B(y+B(d+B(B(h*Be)+B(B(m*w)+B(G*_))))))}(r,d,e,i,a,t)}function ia(r,e,i){var a,f=0;if(N=a=N-256|0,!((0|(f=b[e+212>>2]))>-1)){if(2&(f=b[e+252>>2])&&(2&C[(f=f<<30>>31&e)+204|0]||v[f+404>>2]!=B(0)))return f=b[r+8>>2],x(a+8|0,0,244),function(r,e,i){var a=0,f=0,n=0,t=B(0),C=B(0),g=B(0),d=B(0),_=0,R=B(0),m=B(0),h=B(0),G=B(0),y=B(0);e=e?b[e+252>>2]<<30>>31&e:0,b[r+64>>2]=0,b[r+68>>2]=0,b[r+144>>2]=0,b[r+148>>2]=0,b[(a=r+88|0)>>2]=0,b[a+4>>2]=0,b[(a=r+80|0)>>2]=0,b[a+4>>2]=0,b[(a=r+72|0)>>2]=0,b[a+4>>2]=0,b[(a=r+168|0)>>2]=0,b[a+4>>2]=0,b[(a=r+160|0)>>2]=0,b[a+4>>2]=0,b[(a=r+152|0)>>2]=0,b[a+4>>2]=0,e?(a=b[e+8>>2],b[r>>2]=b[e+4>>2],b[r+4>>2]=a,f=b[(a=e+12|0)+4>>2],b[(n=r+8|0)>>2]=b[a>>2],b[n+4>>2]=f,f=b[(a=e+28|0)+4>>2],b[(n=r+24|0)>>2]=b[a>>2],b[n+4>>2]=f,f=b[(a=e+20|0)+4>>2],b[r+16>>2]=b[a>>2],b[r+20>>2]=f,f=b[(a=e+44|0)+4>>2],b[(n=r+40|0)>>2]=b[a>>2],b[n+4>>2]=f,f=b[(a=e+36|0)+4>>2],b[r+32>>2]=b[a>>2],b[r+36>>2]=f,f=b[(a=e+60|0)+4>>2],b[(n=r+56|0)>>2]=b[a>>2],b[n+4>>2]=f,f=b[(a=e+52|0)+4>>2],b[r+48>>2]=b[a>>2],b[r+52>>2]=f,b[r+240>>2]=e,C=v[e+412>>2],g=v[(a=e+416|0)>>2],d=v[e+408>>2],t=v[e+404>>2],b[r+140>>2]=0,v[r+136>>2]=t*g,v[r+132>>2]=t*C,v[r+128>>2]=t*d,n=b[(f=e+612|0)+4>>2],b[(_=r+104|0)>>2]=b[f>>2],b[_+4>>2]=n,f=b[e+608>>2],b[r+96>>2]=b[e+604>>2],b[r+100>>2]=f,f=b[a+4>>2],b[(n=r+120|0)>>2]=b[a>>2],b[n+4>>2]=f,a=b[e+412>>2],b[r+112>>2]=b[e+408>>2],b[r+116>>2]=a,f=b[(a=e+380|0)+4>>2],b[(n=r+184|0)>>2]=b[a>>2],b[n+4>>2]=f,a=b[e+376>>2],b[r+176>>2]=b[e+372>>2],b[r+180>>2]=a,a=b[e+392>>2],b[r+192>>2]=b[e+388>>2],b[r+196>>2]=a,f=b[(a=e+396|0)+4>>2],b[(n=r+200|0)>>2]=b[a>>2],b[n+4>>2]=f,C=v[e+476>>2],g=v[e+480>>2],d=v[e+472>>2],t=v[e+404>>2],b[r+220>>2]=0,v[r+216>>2]=B(t*g)*i,v[r+212>>2]=B(t*C)*i,v[r+208>>2]=B(t*d)*i,d=v[e+340>>2],R=v[e+356>>2],m=v[e+328>>2],h=v[e+344>>2],G=v[e+360>>2],y=v[e+324>>2],t=v[e+488>>2],C=v[e+492>>2],g=v[e+496>>2],v[r+232>>2]=B(B(B(t*v[e+332>>2])+B(C*v[e+348>>2]))+B(g*v[e+364>>2]))*i,v[r+228>>2]=B(B(B(t*m)+B(C*h))+B(g*G))*i,v[r+224>>2]=B(B(B(y*t)+B(d*C))+B(R*g))*i):(b[r+4>>2]=0,b[r+8>>2]=0,b[r>>2]=1065353216,b[r+32>>2]=0,b[r+36>>2]=0,b[r+240>>2]=0,b[r+128>>2]=0,b[r+132>>2]=0,b[r+112>>2]=1065353216,b[r+116>>2]=1065353216,b[r+96>>2]=1065353216,b[r+100>>2]=1065353216,b[(e=r+12|0)>>2]=0,b[e+4>>2]=0,b[r+20>>2]=1065353216,b[(e=r+24|0)>>2]=0,b[e+4>>2]=0,b[r+40>>2]=1065353216,b[r+60>>2]=0,b[(e=r+52|0)>>2]=0,b[e+4>>2]=0,b[(e=r+44|0)>>2]=0,b[e+4>>2]=0,b[(e=r+136|0)>>2]=0,b[e+4>>2]=0,b[(e=r+120|0)>>2]=1065353216,b[e+4>>2]=0,b[(e=r+104|0)>>2]=1065353216,b[e+4>>2]=0,b[r+232>>2]=0,b[(e=r+224|0)>>2]=0,b[e+4>>2]=0,b[(e=r+216|0)>>2]=0,b[e+4>>2]=0,b[(e=r+208|0)>>2]=0,b[e+4>>2]=0,b[(e=r+200|0)>>2]=0,b[e+4>>2]=0,b[(e=r+192|0)>>2]=0,b[e+4>>2]=0,b[(e=r+184|0)>>2]=0,b[e+4>>2]=0,b[r+176>>2]=0,b[r+180>>2]=0),b[r+236>>2]=0}(aa(r+4|0,a+8|0),e,i),b[e+212>>2]=f,N=a+256|0,f;if(!((0|(f=b[r+188>>2]))>-1))return b[(e=r+188|0)>>2]=b[r+8>>2],x(a+8|0,0,244),r=aa(r+4|0,a+8|0),b[(f=r+88|0)>>2]=0,b[f+4>>2]=0,b[(f=r+80|0)>>2]=0,b[f+4>>2]=0,b[(f=r+72|0)>>2]=0,b[f+4>>2]=0,b[r+64>>2]=0,b[r+68>>2]=0,b[(f=r+168|0)>>2]=0,b[f+4>>2]=0,b[(f=r+160|0)>>2]=0,b[f+4>>2]=0,b[(f=r+152|0)>>2]=0,b[f+4>>2]=0,b[r+144>>2]=0,b[r+148>>2]=0,b[r>>2]=1065353216,b[(f=r+12|0)>>2]=0,b[f+4>>2]=0,b[r+4>>2]=0,b[r+8>>2]=0,b[r+20>>2]=1065353216,b[r+32>>2]=0,b[r+36>>2]=0,b[(f=r+24|0)>>2]=0,b[f+4>>2]=0,b[r+40>>2]=1065353216,b[r+60>>2]=0,b[(f=r+52|0)>>2]=0,b[f+4>>2]=0,b[(f=r+44|0)>>2]=0,b[f+4>>2]=0,b[r+240>>2]=0,b[(f=r+136|0)>>2]=0,b[f+4>>2]=0,b[r+128>>2]=0,b[r+132>>2]=0,b[(f=r+120|0)>>2]=1065353216,b[f+4>>2]=0,b[r+112>>2]=1065353216,b[r+116>>2]=1065353216,b[(f=r+104|0)>>2]=1065353216,b[f+4>>2]=0,b[r+96>>2]=1065353216,b[r+100>>2]=1065353216,b[(f=r+232|0)>>2]=0,b[f+4>>2]=0,b[(f=r+224|0)>>2]=0,b[f+4>>2]=0,b[(f=r+216|0)>>2]=0,b[f+4>>2]=0,b[(f=r+208|0)>>2]=0,b[f+4>>2]=0,b[(f=r+200|0)>>2]=0,b[f+4>>2]=0,b[(f=r+192|0)>>2]=0,b[f+4>>2]=0,b[(f=r+184|0)>>2]=0,b[f+4>>2]=0,b[r+176>>2]=0,b[r+180>>2]=0,N=a+256|0,b[e>>2]}return N=a+256|0,f}function aa(r,e){var i=0,a=0,n=0,t=0,g=0,d=0,v=0,_=0,B=0,m=0,h=0;if(v=t=b[r+4>>2],(0|t)==b[r+8>>2]&&(v=t,!((0|t)>=(0|(B=t?t<<1:1))))){A:{r:{if(B){if(m=CA(R(B,244),16),(0|(v=b[r+4>>2]))>=1)break r;break A}if((0|t)<1)break A}for(_=64,h=r+12|0;g=b[h>>2]+_|0,d=b[(a=g+-56|0)+4>>2],b[(n=(i=_+m|0)+-56|0)>>2]=b[a>>2],b[n+4>>2]=d,d=b[(a=g+-64|0)+4>>2],b[(n=i+-64|0)>>2]=b[a>>2],b[n+4>>2]=d,d=b[(a=g+-40|0)+4>>2],b[(n=i+-40|0)>>2]=b[a>>2],b[n+4>>2]=d,d=b[(a=g+-48|0)+4>>2],b[(n=i+-48|0)>>2]=b[a>>2],b[n+4>>2]=d,d=b[(a=g+-32|0)+4>>2],b[(n=i+-32|0)>>2]=b[a>>2],b[n+4>>2]=d,d=b[(a=g+-24|0)+4>>2],b[(n=i+-24|0)>>2]=b[a>>2],b[n+4>>2]=d,d=b[(a=g+-8|0)+4>>2],b[(n=i+-8|0)>>2]=b[a>>2],b[n+4>>2]=d,d=b[(a=g+-16|0)+4>>2],b[(n=i+-16|0)>>2]=b[a>>2],b[n+4>>2]=d,J(i,g,180),_=_+244|0,v=v+-1|0;);}(v=b[r+12>>2])&&(C[r+16|0]&&gA(v),b[r+12>>2]=0),f[r+16|0]=1,b[r+12>>2]=m,b[r+8>>2]=B,v=b[r+4>>2]}return b[r+4>>2]=v+1,_=b[(g=e+8|0)+4>>2],t=(v=R(t,244))+b[r+12>>2]|0,b[(i=t+8|0)>>2]=b[g>>2],b[i+4>>2]=_,i=b[e+4>>2],b[t>>2]=b[e>>2],b[t+4>>2]=i,_=b[(g=e+24|0)+4>>2],b[(i=t+24|0)>>2]=b[g>>2],b[i+4>>2]=_,i=b[e+20>>2],b[t+16>>2]=b[e+16>>2],b[t+20>>2]=i,_=b[(g=e+40|0)+4>>2],b[(i=t+40|0)>>2]=b[g>>2],b[i+4>>2]=_,i=b[e+36>>2],b[t+32>>2]=b[e+32>>2],b[t+36>>2]=i,_=b[(g=e+56|0)+4>>2],b[(i=t+56|0)>>2]=b[g>>2],b[i+4>>2]=_,i=b[e+52>>2],b[t+48>>2]=b[e+48>>2],b[t+52>>2]=i,J(t- -64|0,e- -64|0,180),v+b[r+12>>2]|0}function fa(r,e,i,a,f,n,t,g,d){var _,h,G,Q,p,D=B(0),w=B(0),Z=B(0),Y=B(0),W=B(0),F=B(0),E=B(0),N=0,j=B(0),BA=B(0),Be=B(0),ui=B(0),gi=B(0),Ri=B(0),wi=0,Xi=B(0),Da=B(0),Ia=B(0),yf=B(0),Qf=B(0),pf=B(0),Df=B(0);b[t>>2]=b[n+28>>2],G=(h=b[r+16>>2])+R(a,244)|0,r=b[G+240>>2],Q=R(i,244)+h|0,_=b[Q+240>>2],ui=v[n+12>>2],pf=v[n+36>>2],F=v[n+40>>2];A:if(6&(N=b[f+120>>2])){if(F=2&N?v[f+144>>2]:F,!(4&N))break A;pf=v[f+148>>2]}else 8&N&&(w=B(ui*v[f+144>>2]),D=B(y(B(w+v[f+148>>2]),B(1.1920928955078125e-7))),pf=B(w/D),F=B(B(1)/D));D=v[(wi=f+68|0)>>2],w=v[g>>2],Y=v[g+4>>2],Z=v[f+64>>2],E=B(B(D*w)-B(Y*Z)),W=v[g+8>>2],j=B(W*Z),Z=v[(p=f+72|0)>>2],BA=B(j-B(Z*w)),Be=B(B(Y*Z)-B(W*D)),N=f- -64|0,W=B(0),D=B(0),w=B(0),_&&(Ri=B(B(B(B(Be*v[_+356>>2])+B(BA*v[_+360>>2]))+B(E*v[_+364>>2]))*v[_+612>>2]),w=B(B(B(B(Be*v[_+340>>2])+B(BA*v[_+344>>2]))+B(E*v[_+348>>2]))*v[_+608>>2]),D=B(B(B(B(Be*v[_+324>>2])+B(BA*v[_+328>>2]))+B(E*v[_+332>>2]))*v[_+604>>2])),v[e+64>>2]=D,b[e+76>>2]=0,v[e+72>>2]=Ri,v[e+68>>2]=w,Y=v[wi>>2],Z=v[d>>2],j=v[d+4>>2],gi=v[N>>2],Xi=B(B(Y*Z)-B(j*gi)),yf=v[d+8>>2],Da=v[p>>2],gi=B(B(yf*gi)-B(Da*Z)),Da=B(B(j*Da)-B(yf*Y)),Y=B(0),Z=B(0),yf=B(B(1)/ui),r&&(W=B(-Da),Z=B(B(B(B(v[r+356>>2]*W)-B(v[r+360>>2]*gi))-B(v[r+364>>2]*Xi))*v[r+612>>2]),Y=B(B(B(B(v[r+340>>2]*W)-B(v[r+344>>2]*gi))-B(v[r+348>>2]*Xi))*v[r+608>>2]),W=B(B(B(B(v[r+324>>2]*W)-B(v[r+328>>2]*gi))-B(v[r+332>>2]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[f+80>>2],W=B(0),D=B(0),w=B(0),Y=B(0),_&&(w=v[_+392>>2],Z=v[g+8>>2],F=v[_+396>>2],Y=v[g+4>>2],D=B(B(B(w*Z)-B(F*Y))+v[_+372>>2]),E=v[_+388>>2],Ia=w,w=v[g>>2],Y=B(B(B(Y*E)-B(Ia*w))+v[_+380>>2]),w=B(v[_+376>>2]+B(B(F*w)-B(Z*E)))),Z=B(0),E=B(0),r&&(Z=v[r+392>>2],F=v[d+8>>2],BA=v[r+396>>2],E=v[d+4>>2],W=B(B(B(Z*F)-B(BA*E))+v[r+372>>2]),Be=v[r+388>>2],Ia=Z,Z=v[d>>2],E=B(B(B(E*Be)-B(Ia*Z))+v[r+380>>2]),Z=B(v[r+376>>2]+B(B(BA*Z)-B(F*Be)))),t=G+240|0,g=Q+240|0,F=v[f+72>>2],BA=v[f- -64>>2],Be=v[f+68>>2],b[e+104>>2]=b[f+84>>2],D=B(B(B(BA*B(D-W))+B(Be*B(w-Z)))+B(F*B(Y-E))),F=B(m(D))>2]?B(0):B(-B(D*v[f+96>>2])),4&C[n+72|0]?(D=B(v[f+124>>2]*v[n+68>>2]),v[e+100>>2]=D,!_|!b[g>>2]||(w=v[_+416>>2],Y=v[e+24>>2],Z=v[_+412>>2],W=v[e+20>>2],f=R(i,244)+h|0,v[f+64>>2]=B(v[f+112>>2]*B(D*B(B(v[e+16>>2]*v[f+128>>2])*v[_+408>>2])))+v[f+64>>2],v[(d=f+68|0)>>2]=B(B(D*B(Z*B(W*v[f+132>>2])))*v[f+116>>2])+v[d>>2],v[(d=f+72|0)>>2]=B(B(D*B(w*B(Y*v[f+136>>2])))*v[f+120>>2])+v[d>>2],w=v[e+72>>2],Y=v[e+68>>2],v[f+80>>2]=B(B(D*v[f+96>>2])*v[e- -64>>2])+v[f+80>>2],Z=v[f+104>>2],v[(d=f+84|0)>>2]=B(Y*B(D*v[f+100>>2]))+v[d>>2],v[(f=f+88|0)>>2]=B(w*B(D*Z))+v[f>>2]),!r|!b[t>>2]||(w=v[e+88>>2],Y=v[e+84>>2],Z=v[e+80>>2],W=v[r+416>>2],E=v[e+56>>2],BA=v[r+412>>2],Be=v[e+52>>2],f=R(a,244)+h|0,D=v[e+100>>2],v[f+64>>2]=B(v[f+112>>2]*B(D*B(B(v[e+48>>2]*v[f+128>>2])*v[r+408>>2])))+v[f+64>>2],v[(r=f+68|0)>>2]=B(B(D*B(BA*B(Be*v[f+132>>2])))*v[f+116>>2])+v[r>>2],v[(r=f+72|0)>>2]=B(B(D*B(W*B(E*v[f+136>>2])))*v[f+120>>2])+v[r>>2],D=B(-D),v[f+80>>2]=v[f+80>>2]-B(Z*B(v[f+96>>2]*D)),Z=v[f+104>>2],v[(r=f+84|0)>>2]=v[r>>2]-B(Y*B(v[f+100>>2]*D)),v[(r=f+88|0)>>2]=v[r>>2]-B(w*B(Z*D)))):b[e+100>>2]=0,f=F<=B(0),b[e+96>>2]=0,w=B(0),Y=B(0),Z=B(0),E=B(0),BA=B(0),Be=B(0),Xi=B(0),b[g>>2]&&(r=R(i,244)+h|0,Xi=v[r+224>>2],E=v[r+208>>2],BA=v[r+232>>2],Be=v[r+228>>2],Z=v[r+212>>2],Y=v[r+216>>2]),W=B(j+ui),Da=f?B(0):F,D=B(0),gi=B(0),F=B(0),ui=B(0),j=B(0),b[t>>2]&&(r=R(a,244)+h|0,j=v[r+224>>2],w=v[r+208>>2],F=v[r+232>>2],ui=v[r+228>>2],gi=v[r+216>>2],D=v[r+212>>2]),r=R(i,244)+h|0,Z=B(B(B(B(B(E+v[r+176>>2])*v[e+16>>2])+B(B(Z+v[r+180>>2])*v[e+20>>2]))+B(B(Y+v[r+184>>2])*v[e+24>>2]))+B(B(B(B(Xi+v[r+192>>2])*v[e>>2])+B(B(Be+v[r+196>>2])*v[e+4>>2]))+B(B(BA+v[r+200>>2])*v[e+8>>2]))),r=R(a,244)+h|0,D=B(Da-B(Z+B(B(B(B(B(w+v[r+176>>2])*v[e+48>>2])+B(B(D+v[r+180>>2])*v[e+52>>2]))+B(B(gi+v[r+184>>2])*v[e+56>>2]))+B(B(B(B(j+v[r+192>>2])*v[e+32>>2])+B(B(ui+v[r+196>>2])*v[e+36>>2]))+B(B(F+v[r+200>>2])*v[e+40>>2]))))),w=B(0),W>B(0)?D=B(D-B(yf*W)):w=B(-B(yf*B(pf*W))),Y=v[e+108>>2],D=B(D*Y),w=B(w*Y),W>v[n+56>>2]^1&&b[n+52>>2]||(D=B(w+D),w=B(0)),v[e+128>>2]=w,v[e+112>>2]=D,b[e+120>>2]=0,b[e+124>>2]=1343554297,v[e+116>>2]=Ri*Y}function na(r,e,i,a,f,n){var t,C,g,d,_,m,h,G=B(0),y=B(0),Q=0,p=B(0),D=B(0),w=B(0),Z=B(0),Y=B(0),W=B(0),F=B(0);g=b[r+16>>2],t=b[240+(g+R(a,244)|0)>>2],C=b[240+(R(i,244)+g|0)>>2],d=b[r+76>>2],_=b[e+140>>2];A:{r:{if(!(h=4&(m=b[n+72>>2]))){if(b[100+(R(_,152)+d|0)>>2]=0,16&m)break r;break A}if(e=R(_,152)+d|0,G=B(v[f+128>>2]*v[n+68>>2]),v[e+100>>2]=G,C&&(p=v[C+416>>2],D=v[e+24>>2],w=v[C+412>>2],Z=v[e+20>>2],r=R(i,244)+g|0,y=v[C+404>>2],v[r+64>>2]=B(B(G*B(B(y*v[e+16>>2])*v[C+408>>2]))*v[r+112>>2])+v[r+64>>2],v[(Q=r+68|0)>>2]=B(B(G*B(w*B(y*Z)))*v[r+116>>2])+v[Q>>2],v[(Q=r+72|0)>>2]=B(B(G*B(p*B(y*D)))*v[r+120>>2])+v[Q>>2],y=v[e+72>>2],p=v[e+68>>2],v[r+80>>2]=B(B(G*v[r+96>>2])*v[e+64>>2])+v[r+80>>2],D=v[r+104>>2],v[(Q=r+84|0)>>2]=B(p*B(G*v[r+100>>2]))+v[Q>>2],v[(r=r+88|0)>>2]=B(y*B(G*D))+v[r>>2]),t&&(Q=R(_,152)+d|0,p=v[Q+88>>2],D=v[Q+84>>2],w=v[Q+80>>2],Z=v[t+416>>2],Y=v[Q+56>>2],W=v[t+412>>2],F=v[Q+52>>2],r=R(a,244)+g|0,y=v[t+404>>2],G=v[e+100>>2],v[r+64>>2]=B(B(B(B(v[Q+48>>2]*y)*v[t+408>>2])*G)*v[r+112>>2])+v[r+64>>2],v[(e=r+68|0)>>2]=B(B(G*B(W*B(F*y)))*v[r+116>>2])+v[e>>2],v[(e=r+72|0)>>2]=B(B(G*B(Z*B(Y*y)))*v[r+120>>2])+v[e>>2],v[r+80>>2]=v[r+80>>2]+B(w*B(G*v[r+96>>2])),y=v[r+104>>2],v[(e=r+84|0)>>2]=v[e>>2]+B(D*B(G*v[r+100>>2])),v[(r=r+88|0)>>2]=v[r>>2]+B(p*B(y*G))),!(16&m))break A}Q=_+1|0,h?(e=R(Q,152)+d|0,G=B(v[f+132>>2]*v[n+68>>2]),v[e+100>>2]=G,C&&(p=v[e+24>>2],D=v[e+20>>2],r=R(i,244)+g|0,y=v[C+404>>2],v[r+64>>2]=B(B(G*B(y*v[e+16>>2]))*v[r+112>>2])+v[r+64>>2],v[(i=r+68|0)>>2]=B(B(G*B(y*D))*v[r+116>>2])+v[i>>2],v[(i=r+72|0)>>2]=B(B(G*B(y*p))*v[r+120>>2])+v[i>>2],y=v[e+72>>2],p=v[e+68>>2],v[r+80>>2]=B(B(G*v[r+96>>2])*v[e+64>>2])+v[r+80>>2],D=v[r+104>>2],v[(i=r+84|0)>>2]=B(p*B(G*v[r+100>>2]))+v[i>>2],v[(r=r+88|0)>>2]=B(y*B(G*D))+v[r>>2]),t&&(i=R(Q,152)+d|0,p=v[i+88>>2],D=v[i+84>>2],w=v[i+56>>2],Z=v[i+52>>2],Y=v[i+48>>2],y=v[t+404>>2],r=R(a,244)+g|0,G=v[e+100>>2],v[r+80>>2]=v[r+80>>2]+B(v[i+80>>2]*B(v[r+96>>2]*G)),v[r+64>>2]=B(B(G*B(Y*y))*v[r+112>>2])+v[r+64>>2],v[(e=r+68|0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B(F*_))),Ri=W,W=B(jf*B(B(B(h*ui)+B(G*W))+B(_*j))),_=B(Da*B(B(B(h*Q)+B(G*D))+B(_*y))),v[Be>>2]=B(B(gi*w)+B(Ri*W))+B(D*_),v[E>>2]=B(B(Y*w)+B(ui*W))+B(Q*_),v[pf>>2]=B(B(F*w)+B(j*W))+B(y*_)),ra(r,E,g,d,Z,Xf,n- -64|0,n+48|0,yf,i,B(0),B(0));break A}if(Ia=BA+180|0,!(B(m(y))>B(.7071067690849304)))break e;b[E>>2]=0,w=h,D=B(B(h*h)+B(y*y)),h=B(B(1)/B(p(D))),G=B(w*h),v[Be>>2]=G,_=B(-B(y*h)),v[Xi>>2]=_,y=B(D*h),D=B(Q*_),Q=B(-B(Q*G)),h=B(0);break r}if(E=BA+156|0,ra(r,BA+164|0,g,d,Z,Xf,n- -64|0,n+48|0,_=v[n+44>>2],i,v[BA+140>>2],v[E>>2]),!(16&C[0|Qf]))break A;ra(r,BA+180|0,g,d,Z,Xf,n- -64|0,n+48|0,_,i,v[BA+144>>2],v[E>>2]);break A}b[Be>>2]=0,w=Q,Q=B(B(Q*Q)+B(h*h)),G=B(B(1)/B(p(Q))),_=B(w*G),v[Xi>>2]=_,h=B(-B(h*G)),v[E>>2]=h,D=B(Q*G),Q=B(y*h),y=B(-B(y*_)),G=B(0)}v[Ia>>2]=y,v[(Df=BA+188|0)>>2]=D,v[(Vf=BA+184|0)>>2]=Q,1&f[0|(Of=a+180|0)]&&(yf=v[a+172>>2],y=v[a+44>>2],Q=v[a+12>>2],D=v[a+28>>2],Da=v[a+164>>2],F=v[a+36>>2],Y=v[a+4>>2],w=v[a+20>>2],wi=v[a+168>>2],j=v[a+40>>2],ui=v[a+8>>2],W=v[a+24>>2],b[pf>>2]=0,gi=w,w=B(Da*B(B(B(Y*h)+B(w*_))+B(F*G))),Ri=W,W=B(wi*B(B(B(h*ui)+B(_*W))+B(G*j))),G=B(yf*B(B(B(h*Q)+B(_*D))+B(G*y))),_=B(B(B(gi*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+4>>2]=t,f=b[a+20>>2],b[r>>2]=b[a+16>>2],b[r+4>>2]=f,f=b[a+36>>2],b[r+16>>2]=b[a+32>>2],b[r+20>>2]=f,t=b[(n=a+40|0)+4>>2],b[(f=r+24|0)>>2]=b[n>>2],b[f+4>>2]=t,f=b[a+52>>2],b[r+32>>2]=b[a+48>>2],b[r+36>>2]=f,t=b[(n=a+56|0)+4>>2],b[(f=r+40|0)>>2]=b[n>>2],b[f+4>>2]=t,f=b[a+68>>2],b[r+48>>2]=b[a+64>>2],b[r+52>>2]=f,n=b[(f=a+72|0)+4>>2],b[(r=r+56|0)>>2]=b[f>>2],b[r+4>>2]=n)),N=a+80|0}function oa(r,e,i,a,f){return b[r+20>>2]=0,b[r+16>>2]=i,b[r+12>>2]=e,b[r+8>>2]=f,b[r+4>>2]=a,b[r>>2]=19856,r}function ka(r,e,i,a){var n,t,C,g=0,d=0,_=0,R=B(0),m=B(0),h=B(0),G=B(0),y=B(0),Q=B(0),p=B(0),D=B(0),w=B(0),Z=B(0),Y=B(0),W=B(0),F=B(0),E=B(0),j=B(0),Be=B(0),ui=B(0),gi=B(0),Ri=B(0),wi=B(0),Xi=B(0),Da=B(0),Ia=0,yf=B(0),Qf=0,pf=0,Df=B(0),wf=B(0),Zf=B(0),Yf=B(0),Wf=B(0),Ff=B(0),Ef=B(0),Nf=B(0),Vf=B(0),Xf=B(0);if(N=n=N-240|0,b[r+16>>2])return Ve(b[r+4>>2]),g=b[r+12>>2],d=b[g+4>>2],Ia=b[(_=r+16|0)>>2],Qf=b[Ia+4>>2],pf=g,F=B(BA[b[b[g>>2]+48>>2]](g)),g=b[_>>2],r=function(r,e,i,a,n,t,C,g,d){return b[r+72>>2]=1,b[r+76>>2]=1,b[r+60>>2]=-1,f[r+52|0]=0,v[r+48>>2]=C,v[r+44>>2]=t,b[r+40>>2]=n,b[r+36>>2]=a,b[r+32>>2]=i,b[r+28>>2]=e,b[r+24>>2]=g,b[r+20>>2]=d,b[r+4>>2]=0,b[r+8>>2]=1065353216,b[r>>2]=14972,b[(e=r+12|0)>>2]=0,b[e+4>>2]=0,r}(n+160|0,pf,Ia,d,Qf,F,B(BA[b[b[g>>2]+48>>2]](g)),b[r+4>>2],b[r+8>>2]),_=b[(d=e+8|0)+4>>2],b[(g=n+32|0)>>2]=b[d>>2],b[g+4>>2]=_,_=b[(d=e+24|0)+4>>2],b[(g=n+48|0)>>2]=b[d>>2],b[g+4>>2]=_,_=b[(d=e+40|0)+4>>2],b[(g=n- -64|0)>>2]=b[d>>2],b[g+4>>2]=_,_=b[(d=e+56|0)+4>>2],b[(g=n+80|0)>>2]=b[d>>2],b[g+4>>2]=_,_=b[(d=i+8|0)+4>>2],b[(g=n+96|0)>>2]=b[d>>2],b[g+4>>2]=_,b[n+152>>2]=1566444395,g=b[e+4>>2],b[n+24>>2]=b[e>>2],b[n+28>>2]=g,g=b[e+20>>2],b[n+40>>2]=b[e+16>>2],b[n+44>>2]=g,g=b[e+36>>2],b[n+56>>2]=b[e+32>>2],b[n+60>>2]=g,g=b[e+52>>2],b[n+72>>2]=b[e+48>>2],b[n+76>>2]=g,e=b[i+4>>2],b[n+88>>2]=b[i>>2],b[n+92>>2]=e,d=b[(g=i+24|0)+4>>2],b[(e=n+112|0)>>2]=b[g>>2],b[e+4>>2]=d,g=b[i+20>>2],b[(e=n+104|0)>>2]=b[i+16>>2],b[e+4>>2]=g,d=b[(g=i+40|0)+4>>2],b[(e=n+128|0)>>2]=b[g>>2],b[e+4>>2]=d,g=b[i+36>>2],b[(e=n+120|0)>>2]=b[i+32>>2],b[e+4>>2]=g,d=b[(g=i+56|0)+4>>2],b[(e=n+144|0)>>2]=b[g>>2],b[e+4>>2]=d,g=b[i+52>>2],b[(e=n+136|0)>>2]=b[i+48>>2],b[e+4>>2]=g,Ue(r,n+24|0,a,0),void(N=n+240|0);ui=v[e+52>>2],gi=v[e+56>>2],Df=v[(d=i+52|0)>>2],wf=v[(_=i+56|0)>>2],D=v[e+20>>2],w=v[e+36>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116>>2]),v[g+276>>2]=R,h=B(_*v[g+112>>2]),v[g+272>>2]=h,b[g+268>>2]=0,W=B(v[n+56>>2]-v[a+56>>2]),v[g+264>>2]=W,F=B(v[n+52>>2]-v[a+52>>2]),v[g+260>>2]=F,E=B(v[n+48>>2]-v[a+48>>2]),v[g+256>>2]=E,Ti(a,n,g+112|0,g+48|0),b[g+252>>2]=0,_=v[g+48>>2],G=B(_*v[g+120>>2]),v[g+248>>2]=G,Q=B(_*v[g+116>>2]),v[g+244>>2]=Q,_=B(_*v[g+112>>2]),v[g+240>>2]=_,i=b[r+12>>2],Xi=B(BA[b[b[i>>2]+16>>2]](i)),(i=b[r+16>>2])&&(Da=B(BA[b[b[i>>2]+16>>2]](i)),y=v[g+296>>2],W=v[g+264>>2],G=v[g+248>>2],Z=v[g+292>>2],F=v[g+260>>2],Y=v[g+288>>2],E=v[g+256>>2],Q=v[g+244>>2],_=v[g+240>>2],R=v[g+276>>2],h=v[g+272>>2],d=v[g+280>>2]);A:{if(Q=B(B(Xi*B(p(B(B(B(h*h)+B(R*R))+B(d*d)))))+B(Da*B(p(B(B(B(_*_)+B(Q*Q))+B(G*G)))))),R=B(E-Y),h=B(F-Z),G=B(W-y),B(Q+B(p(B(B(B(R*R)+B(h*h))+B(G*G)))))==B(0)||(f[g+216|0]=0,b[g+212>>2]=1566444395,b[g+176>>2]=15428,ka(r,e,a,g+176|0),m=b[(n=g+204|0)+4>>2],b[(i=g+232|0)>>2]=b[n>>2],b[i+4>>2]=m,i=b[g+200>>2],b[g+224>>2]=b[g+196>>2],b[g+228>>2]=i,!C[g+216|0]||(i=b[g+180>>2],m=b[(n=g+184|0)>>2],w=b[(D=g+188|0)>>2],B(Q+B(B(B(R*v[g+180>>2])+B(h*v[n>>2]))+B(G*v[D>>2])))<=B(1.1920928955078125e-7))))return N=g+304|0,0;r:{e:{i:{if(Be=t+172|0,(y=B(v[g+212>>2]+v[Be>>2]))>B(.0010000000474974513)){for(D=g+20|0,Ia=g+160|0,ui=t+168|0,gi=g+40|0,Ri=g+36|0,yf=g+12|0,Qf=g+16|0,n=0,_=B(0);;){if((j=b[ui>>2])&&(b[(wi=g+120|0)>>2]=1065353216,b[wi+4>>2]=0,b[g+112>>2]=1065353216,b[g+116>>2]=1065353216,BA[b[b[j>>2]+28>>2]](j,g+224|0,B(.20000000298023224),g+112|0)),(d=B(Q+B(B(B(R*(k(0,i),s()))+B(h*(k(0,m),s())))+B(G*(k(0,w),s())))))<=B(1.1920928955078125e-7))break A;if((d=B(_+B(y/d)))<=_|dB(1))break r;if(xi(e,g+288|0,g+272|0,d,g+112|0),xi(a,g+256|0,g+240|0,d,g+48|0),(i=b[ui>>2])&&(b[(m=g+8|0)>>2]=0,b[m+4>>2]=0,b[g>>2]=1065353216,b[g+4>>2]=0,BA[b[b[i>>2]+28>>2]](i,Ia,B(.20000000298023224),g)),BA[b[b[t>>2]>>2]](t,d),f[0|gi]=0,b[Ri>>2]=1566444395,b[g>>2]=15428,ka(r,g+112|0,g+48|0,g),!C[0|gi])break i;if(w=b[(m=D+8|0)+4>>2],b[(i=g+232|0)>>2]=b[m>>2],b[i+4>>2]=w,i=b[D+4>>2],b[g+224>>2]=b[D>>2],b[g+228>>2]=i,n>>>0>63)break e;if(n=n+1|0,m=b[g+8>>2],w=b[yf>>2],i=b[g+4>>2],_=d,!((y=B(v[Ri>>2]+v[Be>>2]))>B(.0010000000474974513)))break}R=v[Qf>>2]}else d=B(0),R=v[g+192>>2];return b[t+132>>2]=i,v[t+164>>2]=d,r=b[g+228>>2],b[t+148>>2]=b[g+224>>2],b[t+152>>2]=r,v[t+144>>2]=R,b[t+140>>2]=w,b[t+136>>2]=m,i=b[(e=g+232|0)+4>>2],b[(r=t+156|0)>>2]=b[e>>2],b[r+4>>2]=i,N=g+304|0,1}BA[b[b[t>>2]+8>>2]](t,-1,n);break A}BA[b[b[t>>2]+8>>2]](t,-2,n+1|0);break A}}return N=g+304|0,0}function ua(r,e,i,a){var f=0,n=0,t=0;b[r>>2]=19920,t=b[(f=e+8|0)+4>>2],b[(n=r+12|0)>>2]=b[f>>2],b[n+4>>2]=t,f=b[e+4>>2],b[r+4>>2]=b[e>>2],b[r+8>>2]=f,f=b[(e=i+8|0)>>2],e=b[e+4>>2],t=b[i>>2],i=b[i+4>>2],b[r+40>>2]=1065353216,b[(n=r+28|0)>>2]=f,b[n+4>>2]=e,b[r+20>>2]=t,b[r+24>>2]=i,b[r+36>>2]=a}function la(r,e,i,a,f,n){var t=0,C=0;b[r+4>>2]=e,b[r>>2]=19944,t=b[(e=i+8|0)+4>>2],b[(C=r+16|0)>>2]=b[e>>2],b[C+4>>2]=t,e=b[i+4>>2],b[r+8>>2]=b[i>>2],b[r+12>>2]=e,t=b[(e=i+24|0)+4>>2],b[(C=r+32|0)>>2]=b[e>>2],b[C+4>>2]=t,e=b[i+20>>2],b[(t=r+24|0)>>2]=b[i+16>>2],b[t+4>>2]=e,t=b[(e=i+40|0)+4>>2],b[(C=r+48|0)>>2]=b[e>>2],b[C+4>>2]=t,e=b[i+36>>2],b[(t=r+40|0)>>2]=b[i+32>>2],b[t+4>>2]=e,t=b[(e=i+56|0)+4>>2],b[(C=r- -64|0)>>2]=b[e>>2],b[C+4>>2]=t,e=b[i+52>>2],b[(t=r+56|0)>>2]=b[i+48>>2],b[t+4>>2]=e,i=b[(e=a+8|0)+4>>2],b[(t=r+80|0)>>2]=b[e>>2],b[t+4>>2]=i,e=b[a+4>>2],b[r+72>>2]=b[a>>2],b[r+76>>2]=e,i=b[(e=a+24|0)+4>>2],b[(t=r+96|0)>>2]=b[e>>2],b[t+4>>2]=i,e=b[a+20>>2],b[(i=r+88|0)>>2]=b[a+16>>2],b[i+4>>2]=e,i=b[(e=a+40|0)+4>>2],b[(t=r+112|0)>>2]=b[e>>2],b[t+4>>2]=i,e=b[a+36>>2],b[(i=r+104|0)>>2]=b[a+32>>2],b[i+4>>2]=e,i=b[(e=a+56|0)+4>>2],b[(t=r+128|0)>>2]=b[e>>2],b[t+4>>2]=i,e=b[a+52>>2],b[(i=r+120|0)>>2]=b[a+48>>2],b[i+4>>2]=e,i=b[(e=f+8|0)+4>>2],b[(a=r+144|0)>>2]=b[e>>2],b[a+4>>2]=i,e=b[f+4>>2],b[r+136>>2]=b[f>>2],b[r+140>>2]=e,i=b[(e=f+24|0)+4>>2],b[(a=r+160|0)>>2]=b[e>>2],b[a+4>>2]=i,e=b[f+20>>2],b[(i=r+152|0)>>2]=b[f+16>>2],b[i+4>>2]=e,i=b[(e=f+40|0)+4>>2],b[(a=r+176|0)>>2]=b[e>>2],b[a+4>>2]=i,e=b[f+36>>2],b[(i=r+168|0)>>2]=b[f+32>>2],b[i+4>>2]=e,i=b[(e=f+56|0)+4>>2],b[(a=r+192|0)>>2]=b[e>>2],b[a+4>>2]=i,e=b[f+52>>2],b[(i=r+184|0)>>2]=b[f+48>>2],b[i+4>>2]=e,b[r+208>>2]=0,v[r+204>>2]=n,b[r+200>>2]=1065353216}function sa(r){var e,i,a=0,n=0,t=0,g=0,d=0,v=0,_=0,R=0;if(b[(r|=0)>>2]=20052,a=b[(e=r+16|0)>>2],(0|(n=b[(i=r+8|0)>>2]))>=1)for(g=r+68|0,d=r+24|0;_=b[a+v>>2],(t=b[_+188>>2])&&(a=b[g>>2],a=0|BA[b[b[a>>2]+36>>2]](a),BA[b[b[a>>2]+40>>2]](a,t,b[d>>2]),a=b[g>>2],BA[b[b[a>>2]+12>>2]](a,t,b[d>>2]),b[_+188>>2]=0,n=b[i>>2],a=b[e>>2]),v=v+4|0,(0|(R=R+1|0))<(0|n););return a&&(C[r+20|0]&&gA(a),b[r+16>>2]=0),b[r+16>>2]=0,f[r+20|0]=1,b[(a=r+8|0)>>2]=0,b[a+4>>2]=0,0|r}function da(r,e,i,a){e|=0,i|=0,a|=0;var n,t,g,d,v=0,_=0,R=0,B=0,m=0,h=0;if(N=n=N-96|0,v=b[(t=(r|=0)+8|0)>>2],b[e+216>>2]=v,b[r+12>>2]==(0|v)&&!((0|v)>=(0|(B=v?v<<1:1)))){A:{r:{if(B){if(m=CA(B<<2,16),(0|(v=b[r+8>>2]))>=1)break r;break A}if((0|v)<1)break A}for(h=r+16|0,_=v;b[R+m>>2]=b[b[h>>2]+R>>2],R=R+4|0,_=_+-1|0;);}(R=b[(_=r+16|0)>>2])&&(C[r+20|0]&&(gA(R),v=b[r+8>>2]),b[r+16>>2]=0),b[_>>2]=m,f[r+20|0]=1,b[r+12>>2]=B}b[t>>2]=v+1,b[b[r+16>>2]+(v<<2)>>2]=e,R=b[(_=e+12|0)+4>>2],b[(v=n+40|0)>>2]=b[_>>2],b[v+4>>2]=R,R=b[(_=e+28|0)+4>>2],b[(v=n+56|0)>>2]=b[_>>2],b[v+4>>2]=R,R=b[(_=e+44|0)+4>>2],b[(v=n+72|0)>>2]=b[_>>2],b[v+4>>2]=R,R=b[(_=e+60|0)+4>>2],b[(v=n+88|0)>>2]=b[_>>2],b[v+4>>2]=R,v=b[e+8>>2],b[n+32>>2]=b[e+4>>2],b[n+36>>2]=v,_=b[(v=e+20|0)+4>>2],b[n+48>>2]=b[v>>2],b[n+52>>2]=_,_=b[(v=e+36|0)+4>>2],b[n+64>>2]=b[v>>2],b[n+68>>2]=_,_=b[(v=e+52|0)+4>>2],b[n+80>>2]=b[v>>2],b[n+84>>2]=_,v=b[e+192>>2],BA[b[b[v>>2]+8>>2]](v,n+32|0,n+16|0,n),v=b[r+68>>2],g=e,d=0|BA[b[b[v>>2]+8>>2]](v,n+16|0,n,b[b[e+192>>2]+4>>2],e,i,a,b[r+24>>2]),b[g+188>>2]=d,N=n+96|0}function va(r,e){var i,a=B(0),n=B(0),t=0,g=B(0),d=B(0),_=B(0),R=B(0),m=B(0);if(N=i=N+-64|0,t=b[e+192>>2],BA[b[b[t>>2]+8>>2]](t,e+4|0,i+48|0,i+32|0),a=v[794],g=B(v[i+48>>2]-a),v[i+48>>2]=g,_=B(v[i+52>>2]-a),v[i+52>>2]=_,R=B(v[i+56>>2]-a),v[i+56>>2]=R,n=B(a+v[i+32>>2]),v[i+32>>2]=n,d=B(a+v[i+36>>2]),v[i+36>>2]=d,m=B(a+v[i+40>>2]),v[i+40>>2]=m,3&C[e+204|0]|!C[r+44|0]|2!=b[e+252>>2]||(t=b[e+192>>2],BA[b[b[t>>2]+8>>2]](t,e+68|0,i+16|0,i),_=B(v[i+16>>2]-a),v[i+16>>2]=_,R=B(v[i+20>>2]-a),v[i+20>>2]=R,n=B(v[i+24>>2]-a),v[i+24>>2]=n,d=B(a+v[i>>2]),v[i>>2]=d,m=B(a+v[i+4>>2]),v[i+4>>2]=m,a=B(a+v[i+8>>2]),v[i+8>>2]=a,_<(g=v[i+48>>2])&&(v[i+48>>2]=_,g=_),R<(_=v[i+52>>2])&&(v[i+52>>2]=R,_=R),n<(R=v[(t=i+56|0)>>2])&&(v[t>>2]=n,R=n),(n=v[i+28>>2])>2]&&(v[i+60>>2]=n),(n=v[i+32>>2])>2]=d,n=d),(d=v[i+36>>2])>2]=m,d=m),(m=v[(t=i+40|0)>>2])>2]=a,m=a),a=v[i+12>>2],v[i+44>>2]>2]=a)),t=b[r+68>>2],1&f[e+204|0]||(g=B(n-g),n=B(g*g),g=B(d-_),d=B(n+B(g*g)),g=B(m-R),B(d+B(g*g))>2]+16>>2]](t,b[e+188>>2],i+48|0,i+32|0,b[r+24>>2]);else if(Vr(e,5),!C[2820]&&(e=b[r+72>>2]))return f[2820]=1,BA[b[b[e>>2]+44>>2]](e,20104),e=b[(r=r+72|0)>>2],BA[b[b[e>>2]+44>>2]](e,20153),e=b[r>>2],BA[b[b[e>>2]+44>>2]](e,20221),r=b[r>>2],BA[b[b[r>>2]+44>>2]](r,20286),void(N=i- -64|0);N=i- -64|0}function Ca(r,e){r|=0;var i=0,a=0,f=0,n=0,t=0,C=0,g=0,d=0;(a=b[(e|=0)+188>>2])&&(i=b[r+68>>2],i=0|BA[b[b[i>>2]+36>>2]](i),BA[b[b[i>>2]+40>>2]](i,a,b[r+24>>2]),i=b[r+68>>2],BA[b[b[i>>2]+12>>2]](i,a,b[r+24>>2]),b[e+188>>2]=0);A:if((0|(i=b[e+216>>2]))<0|(0|i)>=(0|(a=b[r+8>>2]))){if(!((0|a)<1)){for(i=f=b[r+16>>2];;){if((0|e)!=b[i>>2]){if(i=i+4|0,(0|(n=n+1|0))<(0|a))continue;break A}break}(0|a)<=(0|n)||(t=i,i=(a=a+-1|0)<<2,b[t>>2]=b[i+f>>2],b[r+8>>2]=a,b[i+b[r+16>>2]>>2]=e)}}else{if(f=b[(n=r+16|0)>>2],d=b[(g=f+(C=i<<2)|0)>>2],t=f,f=(a=a+-1|0)<<2,b[g>>2]=b[t+f>>2],b[r+8>>2]=a,b[f+b[n>>2]>>2]=d,(0|i)>=(0|a))break A;b[b[b[n>>2]+C>>2]+216>>2]=i}b[e+216>>2]=-1}function ga(r,e,i,a){var n,t=0,C=B(0),g=B(0),d=B(0),_=0,R=B(0),m=0,h=B(0),G=B(0),y=B(0),Q=0,D=B(0),w=B(0),Z=B(0),Y=B(0),W=B(0),F=B(0),E=B(0),j=B(0),Be=B(0),ui=0,gi=B(0),Ri=B(0),wi=B(0),Xi=B(0),Da=B(0),Ia=B(0),yf=B(0),Qf=B(0),pf=B(0),Df=B(0),wf=B(0),Zf=0,Yf=0,Wf=0,Ff=0;N=n=N-704|0,ZA(n+624|0),b[n+676>>2]=0,b[(t=n+668|0)>>2]=0,b[t+4>>2]=0,b[(t=n+660|0)>>2]=0,b[t+4>>2]=0,b[(t=n+652|0)>>2]=0,b[t+4>>2]=0,b[n+648>>2]=1065353216,b[n+640>>2]=1065353216,b[n+644>>2]=1065353216,b[n+628>>2]=8,b[n+624>>2]=9912,t=b[i+12>>2];A:if(m=b[i+4>>2],Q=b[m+4>>2],(0|Q)<=19)b[n+616>>2]=0,b[n+620>>2]=0,b[n+448>>2]=16056,b[n+612>>2]=b[a+4>>2],f[n+420|0]=0,b[n+396>>2]=953267991,Q=ri(n+680|0,n+624|0,m,n+88|0),Yf=Pe(n+72|0,n+624|0,m,n+88|0),Wf=Q,Ff=8&b[a+20>>2],m=Ff?Yf:Wf,BA[b[b[m>>2]+8>>2]](m,r,e,t,t,n+448|0)&&(C=v[n+580>>2],d=v[n+584>>2],g=v[n+588>>2],R=B(B(B(C*C)+B(d*d))+B(g*g)),R>B(9999999747378752e-20)&&(h=v[n+612>>2],h>2]&&(y=g,g=B(B(1)/B(p(R))),v[n+588>>2]=y*g,v[n+584>>2]=d*g,v[n+580>>2]=C*g,r=n+580|0,e=r+8|0,t=b[e+4>>2],m=n+56|0,b[m>>2]=b[e>>2],b[m+4>>2]=t,v[n+64>>2]=h,e=b[r+4>>2],b[n+48>>2]=b[r>>2],b[n+52>>2]=e,b[n+44>>2]=0,b[n+40>>2]=b[i+8>>2],B(BA[b[b[a>>2]+12>>2]](a,n+40|0,1)))));else{r:{e:{if(Q+-21>>>0<=8){if(D=v[(_=t+20|0)>>2],w=v[t+36>>2],h=v[t+24>>2],d=v[t+52>>2],y=v[t+40>>2],E=v[(Q=t+56|0)>>2],Z=v[t+32>>2],Y=v[t>>2],W=v[t+16>>2],F=v[t+4>>2],R=v[t+48>>2],j=v[t+8>>2],b[n+460>>2]=0,Ri=B(-d),gi=B(h*Ri),wi=B(-E),Da=B(y*wi),G=B(B(gi-B(j*R))+Da),C=v[r+48>>2],g=v[r+52>>2],Ia=B(h*g),Be=v[r+56>>2],yf=B(y*Be),v[n+456>>2]=G+B(B(B(j*C)+Ia)+yf),R=B(-R),Qf=B(w*wi),Xi=B(B(B(F*R)-B(D*d))+Qf),Df=B(w*Be),v[n+452>>2]=Xi+B(B(B(F*C)+B(D*g))+Df),E=B(B(B(Y*R)-B(W*d))-B(Z*E)),v[n+448>>2]=E+B(B(B(Y*C)+B(W*g))+B(Z*Be)),b[n+52>>2]=0,pf=G,d=v[e+48>>2],wf=B(j*d),G=h,h=v[e+52>>2],j=B(G*h),G=y,y=v[e+56>>2],G=B(G*y),v[n+48>>2]=pf+B(B(wf+j)+G),pf=Xi,Xi=B(w*y),v[n+44>>2]=pf+B(B(B(F*d)+B(D*h))+Xi),v[n+40>>2]=E+B(B(B(Y*d)+B(W*h))+B(Z*y)),r=t+32|0,e=t+16|0,21!=b[m+4>>2])break e;i=b[i+8>>2],ua(n+88|0,n+448|0,n+40|0,b[a+20>>2]),b[n+140>>2]=m,b[n+136>>2]=i,b[n+132>>2]=a,b[n+88>>2]=20464,_=b[(i=t+8|0)+4>>2],b[(ui=n+152|0)>>2]=b[i>>2],b[ui+4>>2]=_,i=b[t+4>>2],b[n+144>>2]=b[t>>2],b[n+148>>2]=i,_=b[(i=e+8|0)+4>>2],b[(ui=n+168|0)>>2]=b[i>>2],b[ui+4>>2]=_,i=b[e+4>>2],b[(_=n+160|0)>>2]=b[e>>2],b[_+4>>2]=i,i=b[(e=r+8|0)+4>>2],b[(_=n+184|0)>>2]=b[e>>2],b[_+4>>2]=i,e=b[r+4>>2],b[(i=n+176|0)>>2]=b[r>>2],b[i+4>>2]=e,r=b[Q+4>>2],b[(e=n+200|0)>>2]=b[Q>>2],b[e+4>>2]=r,r=b[t+52>>2],b[(e=n+192|0)>>2]=b[t+48>>2],b[e+4>>2]=r,b[n+128>>2]=b[a+4>>2],Or(m,n+88|0,n+448|0,n+40|0);break A}if(31!=(0|Q))break A;if(Q=b[m+68>>2],b[n+64>>2]=a,b[n+60>>2]=e,b[n+56>>2]=r,b[n+52>>2]=t,b[n+48>>2]=m,b[n+40>>2]=20836,b[n+44>>2]=b[i+8>>2],!Q)break r;R=v[t>>2],h=v[t+4>>2],C=v[t+8>>2],b[n+100>>2]=0,G=C,D=v[t+48>>2],C=B(v[r+48>>2]-D),w=v[t+52>>2],d=B(v[r+52>>2]-w),y=v[t+24>>2],Z=v[t+56>>2],g=B(v[r+56>>2]-Z),Y=v[t+40>>2],v[n+96>>2]=B(B(G*C)+B(d*y))+B(g*Y),G=B(C*h),h=v[t+20>>2],W=v[t+36>>2],v[n+92>>2]=B(G+B(d*h))+B(g*W),C=B(C*R),R=v[t+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-Be)),_>g|(w>_?w:_)B(0)^1))))){if(b[(W=y+40|0)>>2]){if((0|r)<=(0|Q))break C;if((0|h)>=(0|(d=h<<1)))break s;if((0|m)>=(0|d))break l;if(!h)break u;if(r=i=CA(h<<3,16),(0|h)<1)break c;for(r=i,Q=G,m=h;b[r>>2]=b[Q>>2],r=r+4|0,Q=Q+4|0,m=m+-1|0;);if(Z)break k;break o}BA[b[b[a>>2]+12>>2]](a,y)}if(i=G,d=h,r)break a;break i}i=G,d=h;break f}i=G;break n}i=G;break t}r=0}if(i=r,r=Z,m=Z=1,!r)break b;if(m=d,!G)break t}gA(G)}m=1}Z=m,m=d}x((r=h<<2)+i|0,0,r)}Q=d+-2|0}if(b[i+j>>2]=b[y+36>>2],b[(Y<<2)+i>>2]=b[W>>2],!(r=Y+1|0))break i}R=v[e+4>>2],_=v[e>>2],G=i,h=d,Y=r;continue}break}!Z|!i||gA(i)}N=f+544|0}(b[Q>>2],n+88|0,n+448|0,n+40|0);break A}D=v[r>>2],w=v[e>>2],Z=v[t+4>>2],Y=v[_>>2],W=v[(_=t+8|0)>>2],F=v[t>>2],b[n+692>>2]=0,E=B(B(B(W*R)+gi)+Da),v[n+688>>2]=B(B(B(C*W)+Ia)+yf)+E,gi=B(B(B(Z*R)+B(Y*Ri))+Qf),v[n+684>>2]=B(B(B(C*Z)+B(g*Y))+Df)+gi,g=B(B(B(C*F)+B(g*w))+B(Be*D)),C=B(B(B(F*R)+B(w*Ri))+B(D*wi)),v[n+680>>2]=g+C,b[n+84>>2]=0,v[n+80>>2]=B(B(B(d*W)+j)+G)+E,v[n+76>>2]=B(B(B(d*Z)+B(h*Y))+Xi)+gi,v[n+72>>2]=B(B(B(d*F)+B(h*w))+B(y*D))+C,i=b[i+8>>2],ua(n+88|0,n+680|0,n+72|0,b[a+20>>2]),b[n+140>>2]=m,b[n+136>>2]=i,b[n+132>>2]=a,b[n+88>>2]=20648,i=b[_+4>>2],b[(ui=n+152|0)>>2]=b[_>>2],b[ui+4>>2]=i,i=b[t+4>>2],b[n+144>>2]=b[t>>2],b[n+148>>2]=i,i=b[e+4>>2],b[(_=n+160|0)>>2]=b[e>>2],b[_+4>>2]=i,i=b[(e=e+8|0)+4>>2],b[(_=n+168|0)>>2]=b[e>>2],b[_+4>>2]=i,i=b[(e=r+8|0)+4>>2],b[(_=n+184|0)>>2]=b[e>>2],b[_+4>>2]=i,e=b[r+4>>2],b[(i=n+176|0)>>2]=b[r>>2],b[i+4>>2]=e,r=b[Q+4>>2],b[(e=n+200|0)>>2]=b[Q>>2],b[e+4>>2]=r,r=b[t+52>>2],b[(e=n+192|0)>>2]=b[t+48>>2],b[e+4>>2]=r,b[n+128>>2]=b[a+4>>2],r=b[n+692>>2],b[(e=n+32|0)>>2]=b[n+688>>2],b[e+4>>2]=r,r=b[n+684>>2],b[n+24>>2]=b[n+680>>2],b[n+28>>2]=r,(C=v[n+72>>2])>2]&&(v[n+24>>2]=C),(d=v[n+76>>2])>2]&&(v[n+28>>2]=d),(g=v[n+80>>2])>2]&&(v[n+32>>2]=g),(R=v[n+84>>2])>2]&&(v[n+36>>2]=R),e=b[(r=n+688|0)+4>>2],b[(i=n+16|0)>>2]=b[r>>2],b[i+4>>2]=e,r=b[n+684>>2],b[n+8>>2]=b[n+680>>2],b[n+12>>2]=r,v[n+8>>2]>2]=C),v[n+12>>2]>2]=d),v[n+16>>2]>2]=g),v[n+20>>2]>2]=R),BA[b[b[m>>2]+64>>2]](m,n+88|0,n+24|0,n+8|0);break A}if(!((0|(r=b[m+20>>2]))<1))for(e=r+-1|0,a=64,Q=n+148|0,_=n+132|0,ui=n+120|0,Zf=n+136|0,i=0;;){if(r=b[m+28>>2]+a|0,m=b[r>>2],yf=v[t+52>>2],Qf=v[t+56>>2],Y=v[r+-16>>2],W=v[r+-12>>2],F=v[r+-8>>2],C=v[t+20>>2],d=v[t+24>>2],j=v[r+-64>>2],Be=v[r+-48>>2],E=v[r+-32>>2],Ri=v[r+-60>>2],wi=v[r+-44>>2],gi=v[r+-28>>2],Da=v[r+-56>>2],g=v[t+36>>2],G=v[r+-40>>2],R=v[t+40>>2],Ia=v[r+-24>>2],Xi=v[t+48>>2],h=v[t+8>>2],D=v[t>>2],w=v[t+4>>2],y=v[t+16>>2],Z=v[t+32>>2],b[Q>>2]=0,b[_>>2]=0,b[n+116>>2]=0,b[n+100>>2]=0,v[n+128>>2]=B(B(Da*Z)+B(G*g))+B(Ia*R),v[n+124>>2]=B(B(Ri*Z)+B(wi*g))+B(gi*R),v[ui>>2]=B(B(j*Z)+B(Be*g))+B(E*R),v[n+112>>2]=B(B(Da*y)+B(G*C))+B(Ia*d),v[n+108>>2]=B(B(Ri*y)+B(wi*C))+B(gi*d),v[n+104>>2]=B(B(j*y)+B(Be*C))+B(E*d),v[n+96>>2]=B(B(D*Da)+B(w*G))+B(h*Ia),v[n+144>>2]=Qf+B(B(B(Z*Y)+B(g*W))+B(R*F)),v[n+140>>2]=yf+B(B(B(y*Y)+B(C*W))+B(d*F)),v[Zf>>2]=Xi+B(B(B(D*Y)+B(w*W))+B(h*F)),v[n+92>>2]=B(B(D*Ri)+B(w*wi))+B(h*gi),v[n+88>>2]=B(B(j*D)+B(Be*w))+B(E*h),b[n+700>>2]=i,b[n+696>>2]=-1,b[n+688>>2]=b[n+44>>2],b[n+692>>2]=n+88,b[n+684>>2]=m,b[n+680>>2]=0,b[(r=n+464|0)>>2]=-1,b[r+4>>2]=0,b[(r=n+456|0)>>2]=0,b[r+4>>2]=1,b[n+476>>2]=i,r=b[n- -64>>2],b[n+472>>2]=r,b[n+468>>2]=b[r+20>>2],b[n+452>>2]=1065353216,b[n+448>>2]=21012,b[n+452>>2]=b[r+4>>2],ga(b[n+56>>2],b[n+60>>2],n+680|0,n+448|0),(0|e)==(0|i))break A;i=i+1|0,a=a+80|0,t=b[n+52>>2],m=b[n+48>>2]}}N=n+704|0}function _a(r,e,i,a,f,n,t,C){var g;N=g=N-32|0,b[g+24>>2]=-1,b[g+28>>2]=-1,b[g+20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=g+B(B(B(E*h)+B(j*_))+B(F*m)),b[C+516>>2]=0,gi=v[i+8>>2],Q=v[i+24>>2],G=v[i+40>>2],v[C+528>>2]=B(B(ui*gi)+B(Z*Q))+B(W*G),y=v[i+4>>2],h=v[i+20>>2],_=v[i+36>>2],v[C+524>>2]=B(B(ui*y)+B(Z*h))+B(W*_),v[C+512>>2]=B(B(Be*gi)+B(Y*Q))+B(w*G),v[C+508>>2]=B(B(Be*y)+B(Y*h))+B(w*_),b[C+500>>2]=0,m=v[i>>2],R=v[i+16>>2],g=v[i+32>>2],v[C+520>>2]=B(B(ui*m)+B(Z*R))+B(W*g),v[C+504>>2]=B(B(Be*m)+B(Y*R))+B(w*g),v[C+496>>2]=B(B(E*gi)+B(j*Q))+B(F*G),v[C+492>>2]=B(B(E*y)+B(j*h))+B(F*_),v[C+488>>2]=B(B(E*m)+B(j*R))+B(F*g),b[C+548>>2]=0,b[(D=C+540|0)>>2]=0,b[D+4>>2]=0,b[(D=C+532|0)>>2]=0,b[D+4>>2]=0,a=b[a+8>>2],la(C+128|0,r,e,i,d,B(BA[b[b[Qf>>2]+48>>2]](Qf))),b[C+348>>2]=Qf,b[C+344>>2]=a,b[C+128>>2]=21184,v[C+336>>2]=t,b[C+340>>2]=n,b[C+328>>2]=b[n+4>>2],BA[b[b[r>>2]+8>>2]](r,C+488|0,C- -64|0,C+48|0),Hr(Qf,C+128|0,C+80|0,C+664|0,C- -64|0,C+48|0);break A}if(31!=(0|D))break r;if($e(C+40|0,20393),W=v[(Ff=d+52|0)>>2],F=v[(Ef=d+56|0)>>2],E=v[e+52>>2],j=v[e+56>>2],Ri=v[(Nf=d+20|0)>>2],wi=v[(Vf=d+36|0)>>2],Be=v[e+20>>2],ui=v[e+36>>2],gi=v[e+24>>2],Xi=v[(Xf=d+24|0)>>2],Q=v[e+40>>2],Da=v[(Jf=d+40|0)>>2],Ia=v[d+32>>2],yf=v[d>>2],Y=v[d+16>>2],G=v[e+32>>2],y=v[e>>2],h=v[e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=C+152|0)>>2]=b[i>>2],b[r+4>>2]=e,e=b[(i=C+72|0)+4>>2],b[(r=C+136|0)>>2]=b[i>>2],b[r+4>>2]=e,r=b[C+52>>2],b[C+144>>2]=b[C+48>>2],b[C+148>>2]=r,r=b[C+68>>2],b[C+128>>2]=b[C+64>>2],b[C+132>>2]=r,Zi(a,b[a>>2],C+128|0,C+488|0);break t}v[C+300>>2]=t,b[C+296>>2]=0,b[C+128>>2]=16056,b[C+292>>2]=b[n+4>>2],r=function(r,e,i){return b[r+20>>2]=i,b[r+16>>2]=0,b[r+12>>2]=e,b[r+4>>2]=0,b[r+8>>2]=0,b[r>>2]=19856,r}(C+80|0,r,Qf),BA[b[b[r>>2]+8>>2]](r,e,i,d,d,C+128|0)&&(_=v[C+260>>2],m=v[C+264>>2],R=v[C+268>>2],(g=B(B(B(_*_)+B(m*m))+B(R*R)))>B(9999999747378752e-20)&&((t=v[C+292>>2])>2]&&(g=B(B(1)/B(p(g))),v[C+268>>2]=R*g,v[C+264>>2]=m*g,v[C+260>>2]=_*g,e=b[(i=C+284|0)+4>>2],b[(r=C+520|0)>>2]=b[i>>2],b[r+4>>2]=e,e=b[(i=(D=C+260|0)+8|0)+4>>2],b[(r=C+504|0)>>2]=b[i>>2],b[r+4>>2]=e,v[C+528>>2]=t,r=b[C+280>>2],b[C+512>>2]=b[C+276>>2],b[C+516>>2]=r,r=b[D+4>>2],b[C+496>>2]=b[D>>2],b[C+500>>2]=r,b[C+492>>2]=0,b[C+488>>2]=b[a+8>>2],B(BA[b[b[n>>2]+12>>2]](n,C+488|0,1)))));break A}if(Y=v[i+52>>2],w=v[i+56>>2],Z=v[d+52>>2],W=v[d+56>>2],F=v[e+52>>2],E=v[e+56>>2],pf=v[d+20>>2],Df=v[d+36>>2],wf=v[d+24>>2],Ri=v[d+40>>2],j=v[i+48>>2],g=v[d+48>>2],Be=v[e+48>>2],wi=v[d+32>>2],Xi=v[d>>2],Da=v[d+16>>2],Ia=v[d+4>>2],yf=v[d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j)+B(Da*Y))+B(wi*w))))<(m=t)&&(v[C+64>>2]=_,m=_),G=B(G+B(B(B(yf*j)+B(wf*Y))+B(Ri*w))),Q<(R=h)&&(v[C+68>>2]=Q,R=Q),G<(g=y)&&(v[C+72>>2]=G,g=G),b[C+60>>2]=0,v[C+56>>2]=y,v[C+52>>2]=h,v[C+48>>2]=t,t<_)break n;if(h>2]<1))for(a=64,Yf=C+188|0,Wf=C+172|0,D=C+176|0,e=1;;){if(r=b[Qf+28>>2]+a|0,n=b[r>>2],w=v[r+-16>>2],Z=v[r+-12>>2],W=v[r+-8>>2],F=v[r+-64>>2],E=v[r+-48>>2],j=v[r+-32>>2],Be=v[r+-60>>2],ui=v[r+-44>>2],gi=v[r+-28>>2],R=v[r+-56>>2],g=v[r+-40>>2],t=v[r+-24>>2],b[Yf>>2]=0,b[Wf>>2]=0,b[C+156>>2]=0,b[C+140>>2]=0,Q=v[d+32>>2],G=v[d+36>>2],y=v[d+40>>2],v[C+168>>2]=B(B(R*Q)+B(g*G))+B(t*y),v[C+164>>2]=B(B(Be*Q)+B(ui*G))+B(gi*y),v[C+160>>2]=B(B(F*Q)+B(E*G))+B(j*y),h=v[d+16>>2],_=v[d+20>>2],m=v[d+24>>2],v[C+152>>2]=B(B(R*h)+B(g*_))+B(t*m),v[C+148>>2]=B(B(Be*h)+B(ui*_))+B(gi*m),v[C+144>>2]=B(B(F*h)+B(E*_))+B(j*m),pf=R,R=v[d>>2],Df=g,g=v[d+4>>2],wf=t,t=v[d+8>>2],v[C+136>>2]=B(B(pf*R)+B(Df*g))+B(wf*t),v[C+184>>2]=B(B(B(w*Q)+B(Z*G))+B(W*y))+v[d+56>>2],v[C+180>>2]=B(B(B(w*h)+B(Z*_))+B(W*m))+v[d+52>>2],v[D>>2]=B(B(B(w*R)+B(Z*g))+B(W*t))+v[d+48>>2],v[C+132>>2]=B(B(Be*R)+B(ui*g))+B(gi*t),v[C+128>>2]=B(B(F*R)+B(E*g))+B(j*t),b[(r=C+88|0)>>2]=1,b[r+4>>2]=-1,i=e+-1|0,b[C+100>>2]=i,r=b[C+520>>2],b[C+96>>2]=r,b[C+84>>2]=1065353216,b[C+80>>2]=21828,b[C+84>>2]=b[r+4>>2],b[C+684>>2]=i,b[C+680>>2]=-1,r=b[C+492>>2],b[C+672>>2]=b[r+8>>2],b[C+668>>2]=n,b[C+664>>2]=r,b[C+676>>2]=C+128,Ba(b[C+496>>2],b[C+500>>2],b[C+504>>2],C+664|0,C+80|0,v[C+508>>2]),(0|e)>=b[Zf>>2])break t;a=a+80|0,e=e+1|0,d=b[C+516>>2]}}Ai();break A}if(v[C+48>>2]=_,t=_,!(h>2]=Q,h=Q,y>2]=G,y=G}v[C+72>>2]=v[C+88>>2]+g,v[C+56>>2]=v[C+672>>2]+y,v[C+64>>2]=v[C+80>>2]+m,v[C+68>>2]=v[C+84>>2]+R,v[C+48>>2]=v[C+664>>2]+t,v[C+52>>2]=v[C+668>>2]+h,BA[b[b[Qf>>2]+64>>2]](Qf,C+128|0,C- -64|0,C+48|0);break A}v[C+660>>2]=t,b[C+656>>2]=0,b[C+488>>2]=16056,b[C+652>>2]=b[n+4>>2],f[C+460|0]=0,b[C+436>>2]=953267991,b[C+64>>2]=14864,r=oa(C+664|0,r,Qf,C+128|0,C- -64|0),BA[b[b[r>>2]+8>>2]](r,e,i,d,d,C+488|0)&&(_=v[C+620>>2],m=v[C+624>>2],R=v[C+628>>2],(g=B(B(B(_*_)+B(m*m))+B(R*R)))>B(9999999747378752e-20)&&((t=v[C+652>>2])>2]&&(g=B(B(1)/B(p(g))),v[C+628>>2]=R*g,v[C+624>>2]=m*g,v[C+620>>2]=_*g,e=b[(i=C+644|0)+4>>2],b[(r=C+112|0)>>2]=b[i>>2],b[r+4>>2]=e,e=b[(i=(D=C+620|0)+8|0)+4>>2],b[(r=C+96|0)>>2]=b[i>>2],b[r+4>>2]=e,v[C+120>>2]=t,r=b[C+640>>2],b[C+104>>2]=b[C+636>>2],b[C+108>>2]=r,r=b[D+4>>2],b[C+88>>2]=b[D>>2],b[C+92>>2]=r,b[C+84>>2]=0,b[C+80>>2]=b[a+8>>2],B(BA[b[b[n>>2]+12>>2]](n,C+80|0,1)))))}return void(N=C+688|0)}N=C+688|0}function ma(r,e,i,a,f,n){var t,C,g=0,d=0,_=0,R=0,m=0,h=0,G=B(0),y=B(0),Q=0,D=B(0),w=B(0),Z=B(0),Y=B(0),W=0,F=B(0),E=0,j=B(0),Be=0,ui=0,gi=B(0);N=t=N-400|0,$e(t+392|0,20413),g=b[(_=R=i+8|0)+4>>2],b[(Q=t+336|0)>>2]=b[_>>2],b[Q+4>>2]=g,m=b[(g=Q=i+24|0)+4>>2],b[(_=t+352|0)>>2]=b[g>>2],b[_+4>>2]=m,h=b[(_=i+40|0)+4>>2],b[(g=t+368|0)>>2]=b[_>>2],b[g+4>>2]=h,E=b[(g=i+56|0)+4>>2],b[(m=t+384|0)>>2]=b[g>>2],b[m+4>>2]=E,W=b[(m=a+8|0)+4>>2],b[(h=t+272|0)>>2]=b[m>>2],b[h+4>>2]=W,h=b[i+4>>2],b[t+328>>2]=b[i>>2],b[t+332>>2]=h,h=b[i+20>>2],b[t+344>>2]=b[i+16>>2],b[t+348>>2]=h,h=b[i+36>>2],b[t+360>>2]=b[i+32>>2],b[t+364>>2]=h,h=b[i+52>>2],b[t+376>>2]=b[i+48>>2],b[t+380>>2]=h,h=b[a+4>>2],b[t+264>>2]=b[a>>2],b[t+268>>2]=h,d=b[(h=a+24|0)+4>>2],b[(E=t+288|0)>>2]=b[h>>2],b[E+4>>2]=d,Be=b[(d=E=a+40|0)+4>>2],b[(W=t+304|0)>>2]=b[d>>2],b[W+4>>2]=Be,ui=b[(W=a+56|0)+4>>2],b[(d=t+320|0)>>2]=b[W>>2],b[d+4>>2]=ui,d=b[a+20>>2],b[t+280>>2]=b[a+16>>2],b[t+284>>2]=d,d=b[a+36>>2],b[t+296>>2]=b[a+32>>2],b[t+300>>2]=d,d=b[a+52>>2],b[t+312>>2]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,g=b[m+4>>2],b[(_=t+108|0)>>2]=b[m>>2],b[_+4>>2]=g,b[t>>2]=22216,_=b[i+4>>2],b[t+36>>2]=b[i>>2],b[t+40>>2]=_,i=b[a+4>>2],b[t+100>>2]=b[a>>2],b[t+104>>2]=i,g=b[a+52>>2],b[(i=t+148|0)>>2]=b[a+48>>2],b[i+4>>2]=g,m=b[W+4>>2],b[(g=_=t+156|0)>>2]=b[W>>2],b[g+4>>2]=m,m=b[h+4>>2],b[(g=t+124|0)>>2]=b[h>>2],b[g+4>>2]=m,m=b[a+20>>2],b[(g=t+116|0)>>2]=b[a+16>>2],b[g+4>>2]=m,m=b[E+4>>2],b[(g=t+140|0)>>2]=b[E>>2],b[g+4>>2]=m,m=b[a+36>>2],b[(g=t+132|0)>>2]=b[a+32>>2],b[g+4>>2]=m,b[t+192>>2]=e,v[t+188>>2]=n,b[t+184>>2]=f,G=v[t+88>>2],y=v[t+152>>2],n=v[R>>2],Z=v[i>>2],D=v[Q>>2],w=v[_>>2],b[t+180>>2]=r,n=B(Z-n),G=B(y-G),y=B(w-D),Z=B(B(1)/B(p(B(B(B(n*n)+B(G*G))+B(y*y))))),j=(D=B(y*Z))==B(0)?B(0xde0b6b000000000):B(B(1)/D),b[Be>>2]=j>2]=Y>2]=j,v[t+8>>2]=Y,F=n,n=B(n*Z),v[t+32>>2]=B(y*D)+B(B(F*n)+B(G*w)),n=n==B(0)?B(0xde0b6b000000000):B(B(1)/n),v[t+4>>2]=n,b[t+20>>2]=n>2],BA[b[b[r>>2]+24>>2]](r,t+376|0,t+312|0,t,t+248|0,t+232|0),Ai(),N=t+400|0}function Ra(r){r|=0;var e,i=0,a=0,n=0,t=B(0),g=0,d=0,_=B(0),R=0,m=0,h=0,G=B(0),y=B(0),Q=B(0),p=0,D=0,w=B(0),Z=0,Y=0,W=0,F=0;if(N=e=N-192|0,BA[b[b[r>>2]+20>>2]](r)){if(i=0|BA[b[b[r>>2]+20>>2]](r),BA[b[b[i>>2]+100>>2]](i),i=0|BA[b[b[r>>2]+20>>2]](r),BA[b[b[i>>2]+8>>2]](e+80|0,i),i=0|BA[b[b[r>>2]+20>>2]](r),8&BA[b[b[i>>2]+56>>2]](i)&&((i=b[r+24>>2])&&!((0|(n=0|BA[b[b[i>>2]+36>>2]](i)))<1)))for(m=e+176|0,i=0,h=r+24|0;;){if(a=b[h>>2],d=0|BA[b[b[a>>2]+40>>2]](a,i),(0|(a=b[d+780>>2]))>=1)for(d=d+160|0;R=0|BA[b[b[r>>2]+20>>2]](r),BA[b[b[R>>2]+40>>2]](R,d+-124|0,d+-92|0,v[d+-76>>2],b[d>>2],m),d=d+192|0,a=a+-1|0;);if((0|n)==(0|(i=i+1|0)))break}if(i=0|BA[b[b[r>>2]+20>>2]](r),3&BA[b[b[i>>2]+56>>2]](i)&&!(b[(Z=r+8|0)>>2]<1))for(m=e+160|0,h=e+96|0,R=e+112|0,p=e+128|0,D=e+144|0,Y=r+72|0,F=r+44|0,d=0;;){if(i=b[b[r+16>>2]+d>>2],!(32&C[i+204|0])){if(BA[b[b[r>>2]+20>>2]](r)&&(a=0|BA[b[b[r>>2]+20>>2]](r),1&BA[b[b[a>>2]+56>>2]](a))){b[(a=e+72|0)>>2]=1053609165,b[a+4>>2]=0,b[e+64>>2]=1053609165,b[e+68>>2]=1053609165;A:{r:{e:{i:{a:{f:{if((n=b[i+220>>2]+-1|0)>>>0<=4){switch(n-1|0){case 3:break e;case 2:break i;case 1:break a;case 0:break f}if(g=b[(n=e+88|0)+4>>2],b[a>>2]=b[n>>2],b[a+4>>2]=g,n=b[e+84>>2],b[e+64>>2]=b[e+80>>2],b[e+68>>2]=n,1&f[i+205|0])break r;break A}if(b[a>>2]=1050253722,b[a+4>>2]=0,b[e+64>>2]=1050253722,b[e+68>>2]=1050253722,1&f[i+205|0])break r;break A}if(g=b[(n=h+8|0)+4>>2],b[a>>2]=b[n>>2],b[a+4>>2]=g,n=b[h+4>>2],b[e+64>>2]=b[h>>2],b[e+68>>2]=n,1&f[i+205|0])break r;break A}if(g=b[(n=R+8|0)+4>>2],b[a>>2]=b[n>>2],b[a+4>>2]=g,n=b[R+4>>2],b[e+64>>2]=b[R>>2],b[e+68>>2]=n,1&f[i+205|0])break r;break A}if(g=b[(n=p+8|0)+4>>2],b[a>>2]=b[n>>2],b[a+4>>2]=g,n=b[p+4>>2],b[e+64>>2]=b[p>>2],b[e+68>>2]=n,1&f[i+205|0])break r;break A}if(g=b[(n=D+8|0)+4>>2],b[a>>2]=b[n>>2],b[a+4>>2]=g,n=b[D+4>>2],b[e+64>>2]=b[D>>2],b[e+68>>2]=n,!(1&f[i+205|0]))break A}g=b[(n=i+316|0)+4>>2],b[a>>2]=b[n>>2],b[a+4>>2]=g,a=b[i+312>>2],b[e+64>>2]=b[i+308>>2],b[e+68>>2]=a}BA[b[b[r>>2]+28>>2]](r,i+4|0,b[i+192>>2],e- -64|0)}if((a=b[Y>>2])&&2&BA[b[b[a>>2]+56>>2]](a)){if(g=b[(n=m+8|0)+4>>2],b[(a=e+40|0)>>2]=b[n>>2],b[a+4>>2]=g,a=b[m+4>>2],b[e+32>>2]=b[m>>2],b[e+36>>2]=a,a=b[i+192>>2],BA[b[b[a>>2]+8>>2]](a,i+4|0,e- -64|0,e+48|0),a=e+72|0,t=v[794],v[a>>2]=v[a>>2]-t,v[(n=e+56|0)>>2]=t+v[n>>2],v[e+64>>2]=v[e+64>>2]-t,v[e+68>>2]=v[e+68>>2]-t,v[e+48>>2]=t+v[e+48>>2],v[e+52>>2]=t+v[e+52>>2],!(3&C[i+204|0]|!C[0|F]|2!=b[i+252>>2])){g=b[i+192>>2],BA[b[b[g>>2]+8>>2]](g,i+68|0,e+16|0,e),_=B(v[(i=e+24|0)>>2]-t),v[i>>2]=_,G=B(t+v[(i=e+8|0)>>2]),v[i>>2]=G,w=B(v[e+16>>2]-t),v[e+16>>2]=w,y=B(v[e+20>>2]-t),v[e+20>>2]=y,Q=B(t+v[e>>2]),v[e>>2]=Q,t=B(t+v[e+4>>2]),v[e+4>>2]=t;A:{r:{e:{i:{if(w>2]){if(v[e+64>>2]=w,y>2])break i;break e}if(!(y>2]))break e}if(v[e+68>>2]=y,_>2])break r;break A}if(!(_>2]))break A}v[a>>2]=_}A:{r:{e:{i:{a:{f:{if((_=v[e+28>>2])>2]){if(v[i>>2]=_,v[e+48>>2]>2]>2]=Q,v[e+52>>2]>2]>2]=t,v[n>>2]>2]>2]=G}i=e+60|0,t=v[e+12>>2],v[i>>2]>2]=t)}i=b[Y>>2],BA[b[b[i>>2]+60>>2]](i,e- -64|0,e+48|0,e+32|0)}}if(d=d+4|0,!((0|(W=W+1|0))>2]))break}}N=e+192|0}function Ga(r,e){var i,a,n,t,g=0,d=0,v=0,_=0,B=0,m=0,h=0,G=0,y=0;if(N=i=N-96|0,f[i+52|0]=1,b[(h=i+48|0)>>2]=0,f[i+72|0]=1,b[(g=i+40|0)>>2]=0,b[g+4>>2]=0,b[(n=i+68|0)>>2]=0,f[i+92|0]=1,b[(g=i+60|0)>>2]=0,b[g+4>>2]=0,b[(a=i+88|0)>>2]=0,b[(g=i+80|0)>>2]=0,b[g+4>>2]=0,b[i+28>>2]=0,f[i+32|0]=1,b[i+20>>2]=0,b[i+24>>2]=0,!((0|(g=b[(t=r+8|0)>>2]))<1)){for(G=i+28|0,y=i- -64|0;;){A:{m=b[b[b[r+16>>2]+(_<<2)>>2]+192>>2],b[i+12>>2]=m;r:{e:if(v=m+(m<<15^-1)|0,v=R(v>>>10^v,9),v^=v>>>6,v=(v<<11^-1)+v|0,B=B+-1&(v>>>16^v),!(B>>>0>=d>>>0)&&(d=b[b[G>>2]+(B<<2)>>2],-1!=(0|d))){for(B=b[h>>2],v=b[a>>2];;){if(b[v+(d<<3)>>2]!=(0|m)){if(-1!=(0|(d=b[B+(d<<2)>>2])))continue;break e}break}if(b[n>>2]+(d<<2)){if((0|(_=_+1|0))<(0|g))break r;break A}}if(b[i>>2]=m,ha(i+16|0,i,i+12|0),d=b[i+12>>2],BA[b[b[d>>2]+60>>2]](d,e),(0|(_=_+1|0))>=(0|(g=b[t>>2])))break A}B=b[y>>2],d=b[i+20>>2];continue}break}if(!((0|g)<1))for(d=0,m=r+16|0,B=r+8|0,r=0;_=b[b[m>>2]+d>>2],1!=(0|(h=b[_+252>>2]))&&64!=(0|h)||(BA[b[b[_>>2]+24>>2]](_,e),g=b[B>>2]),d=d+4|0,(0|(r=r+1|0))<(0|g););}(r=b[a>>2])&&(C[i+92|0]&&gA(r),b[i+88>>2]=0),b[i+88>>2]=0,f[i+92|0]=1,b[(r=i+80|0)>>2]=0,b[r+4>>2]=0,(e=b[(r=i+68|0)>>2])&&(C[i+72|0]&&gA(e),b[i+68>>2]=0),b[r>>2]=0,f[i+72|0]=1,b[(r=i+60|0)>>2]=0,b[r+4>>2]=0,(e=b[(r=i+48|0)>>2])&&(C[i+52|0]&&gA(e),b[i+48>>2]=0),b[r>>2]=0,f[i+52|0]=1,b[(r=i+40|0)>>2]=0,b[r+4>>2]=0,(r=b[i+28>>2])&&(C[i+32|0]&&gA(r),b[i+28>>2]=0),N=i+96|0}function ha(r,e,i){var a=0,n=0,t=0,g=0,v=0,_=0,B=0,m=0,h=0,G=0,y=0;A:{r:{e:{i:{a:{if(t=b[e>>2],g=R((g=(t<<15^-1)+t|0)>>>10^g,9),!((m=(a=(g=((g^=g>>>6)<<11^-1)+g|0)>>>16^g)&(g=b[r+48>>2])+-1)>>>0>=d[r+4>>2])&&-1!=(0|(n=b[b[r+12>>2]+(m<<2)>>2])))for(a=b[r+72>>2],v=r+32|0;;){if((0|t)==b[a+(n<<3)>>2])break a;if(-1==(0|(n=b[b[v>>2]+(n<<2)>>2])))break}if((0|(t=G=b[(B=r+44|0)>>2]))!=(0|g))break A;if((0|(t=g))>=(0|(_=t?t<<1:1)))break A;if(!_)break i;if(v=CA(_<<2,16),(0|(t=b[r+44>>2]))>=1)break e;break r}return void(b[b[r+52>>2]+(n<<2)>>2]=b[i>>2])}if(v=0,(0|g)<1)break r}for(n=0,h=r+52|0,a=t;b[n+v>>2]=b[b[h>>2]+n>>2],n=n+4|0,a=a+-1|0;);}(n=b[(a=r+52|0)>>2])&&(C[r+56|0]&&(gA(n),t=b[r+44>>2]),b[r+52>>2]=0),b[a>>2]=v,f[r+56|0]=1,b[r+48>>2]=_}if(b[B>>2]=t+1,b[b[r+52>>2]+(t<<2)>>2]=b[i>>2],(0|(a=b[(t=r- -64|0)>>2]))==b[r+68>>2]&&!((0|a)>=(0|(i=a?a<<1:1)))){A:{r:{if(i){if(v=CA(i<<3,16),(0|(a=b[r- -64>>2]))>=1)break r;break A}if(v=0,(0|a)<1)break A}for(n=0,_=r+72|0;h=b[_>>2]+n|0,y=b[h+4>>2],b[(B=n+v|0)>>2]=b[h>>2],b[B+4>>2]=y,n=n+8|0,a=a+-1|0;);}(n=b[(a=r+72|0)>>2])&&(C[r+76|0]&&gA(n),b[r+72>>2]=0),b[a>>2]=v,f[r+76|0]=1,b[r+68>>2]=i,a=b[r- -64>>2]}i=b[r+72>>2]+(a<<3)|0,a=b[e+4>>2],b[i>>2]=b[e>>2],b[i+4>>2]=a,b[t>>2]=b[t>>2]+1,(0|g)>2]&&(function(r){var e,i,a=0,n=0,t=0,g=0,d=0,v=0,_=0,B=0;if(!((0|(i=b[r+4>>2]))>=(0|(e=b[r+48>>2])))){A:{r:{e:{i:{a:{if(b[r+8>>2]<(0|e)){if(!e)break a;if(t=CA(e<<2,16),d=b[r+12>>2],(0|(n=b[r+4>>2]))<1)break i;break e}t=b[r+12>>2];break A}if(d=b[r+12>>2],(0|(n=i))>=1)break e}if(d)break r;f[r+16|0]=1,b[r+12>>2]=t,b[r+8>>2]=e;break A}for(g=t,a=d;b[g>>2]=b[a>>2],g=g+4|0,a=a+4|0,n=n+-1|0;);}C[r+16|0]&&gA(d),b[r+12>>2]=t,f[r+16|0]=1,b[r+8>>2]=e}if(x((a=i<<2)+t|0,0,(v=e<<2)-a|0),b[r+4>>2]=e,(0|(_=b[(B=r+24|0)>>2]))<(0|e)){A:{r:{e:{if(b[r+28>>2]<(0|e)){if(!e)break e;t=CA(v,16),n=b[r+24>>2];break r}t=b[r+32>>2];break A}t=0,n=_}d=b[r+32>>2];r:{if((0|n)>=1)for(g=t,a=d;b[g>>2]=b[a>>2],g=g+4|0,a=a+4|0,n=n+-1|0;);else if(!d)break r;C[0|(a=r+36|0)]&&gA(d),b[r+32>>2]=t,f[0|a]=1,b[r+28>>2]=e;break A}b[r+32>>2]=t,f[r+36|0]=1,b[r+28>>2]=e}x((a=_<<2)+t|0,0,v-a|0)}if(b[B>>2]=e,(0|e)>=1&&(x(b[r+12>>2],255,v),x(b[r+32>>2],255,v)),!((0|i)<1))for(g=b[r+32>>2],d=b[r+12>>2],a=b[r+72>>2],n=0,t=r+48|0;r=b[a>>2],r=R((r=(r<<15^-1)+r|0)>>>10^r,9),r=((r^=r>>>6)<<11^-1)+r|0,r=d+((b[t>>2]+-1&(r>>>16^r))<<2)|0,b[g>>2]=b[r>>2],b[r>>2]=n,a=a+8|0,g=g+4|0,(0|(n=n+1|0))!=(0|i););}}(r),e=b[e>>2],e=R((e=(e<<15^-1)+e|0)>>>10^e,9),e=((e^=e>>>6)<<11^-1)+e|0,m=b[i>>2]+-1&(e>>>16^e)),e=b[r+32>>2]+(G<<2)|0,r=b[r+12>>2]+(m<<2)|0,b[e>>2]=b[r>>2],b[r>>2]=G}function ya(r,e,i,a,f){r|=0,e|=0,i=B(i),a|=0,f|=0;var n,t=B(0),C=B(0),g=B(0),d=B(0),_=B(0),R=B(0),m=B(0),h=B(0),G=B(0),y=B(0),Q=B(0),p=B(0);return N=n=N-48|0,b[n+44>>2]=f,b[n+40>>2]=a,d=v[r- -64>>2],_=v[r+60>>2],R=v[r+80>>2],m=v[r+72>>2],h=v[r+76>>2],G=v[r+96>>2],y=v[r+88>>2],Q=v[r+92>>2],p=v[r+56>>2],t=v[e+8>>2],C=v[e>>2],g=v[e+4>>2],b[n+28>>2]=0,v[n+24>>2]=B(B(C*y)+B(g*Q))+B(t*G),v[n+20>>2]=B(B(C*m)+B(g*h))+B(t*R),v[n+16>>2]=B(B(p*C)+B(_*g))+B(d*t),v[n+32>>2]=i,b[n+8>>2]=b[r+48>>2],b[n+12>>2]=n+40,r=b[r+44>>2],i=B(BA[b[b[r>>2]+12>>2]](r,n+8|0,1)),N=n+48|0,B(i)}function Qa(r,e,i,a,f,n){r|=0,e|=0,i|=0,a=B(a),f|=0,n|=0;var t,C=0,g=0;return N=t=N+-64|0,b[t+60>>2]=n,b[t+56>>2]=f,f=b[r+212>>2],v[f+4>>2]>=a&&(g=b[(C=i+8|0)+4>>2],b[(n=t+40|0)>>2]=b[C>>2],b[n+4>>2]=g,g=b[(C=e+8|0)+4>>2],b[(n=t+24|0)>>2]=b[C>>2],b[n+4>>2]=g,n=b[i+4>>2],b[t+32>>2]=b[i>>2],b[t+36>>2]=n,i=b[e+4>>2],b[t+16>>2]=b[e>>2],b[t+20>>2]=i,v[t+48>>2]=a,b[t+8>>2]=b[r+216>>2],b[t+12>>2]=t+56,a=B(BA[b[b[f>>2]+12>>2]](f,t+8|0,1))),N=t- -64|0,B(a)}function pa(r){var e;(e=b[r+12>>2])&&(C[r+16|0]&&gA(e),b[r+12>>2]=0),f[r+16|0]=1,b[r+12>>2]=0,b[(r=r+4|0)>>2]=0,b[r+4>>2]=0}function wa(r,e,i,a){var n,t,g=0,d=0,v=0,_=0,R=0,B=0,m=0,h=0,G=0,y=0,Q=0,p=0,D=0,w=0,Z=0,Y=0,W=0;N=n=N-16|0,function(r,e,i){var a,n,t=0,g=0,d=0,v=0,_=0,R=0,B=0,m=0,h=0,G=0,y=0,Q=0,p=0,D=0,w=0,Z=0,Y=0,W=0,F=0,E=0,j=0,Be=0,ui=0,gi=0,Ri=0,wi=0,Xi=0,Da=0,Ia=0,yf=0,Qf=0;if(N=a=N-16|0,$e(a+8|0,22384),(0|(v=b[(g=r+28|0)>>2]))<=-1)for(b[r+32>>2]<=-1&&((t=b[r+36>>2])&&(C[r+40|0]&&gA(t),b[r+36>>2]=0),f[r+40|0]=1,b[(t=r+32|0)>>2]=0,b[t+4>>2]=0),t=v<<2,d=r+36|0;b[b[d>>2]+t>>2]=0,t=t+4|0,v=v+1|0;);for(b[g>>2]=0,function(r){var e,i,a=0,f=0,n=0,t=0,C=0,g=0;if(N=i=N-16|0,!((0|(e=b[r+4>>2]))<=0)){for(n=b[r+12>>2];;){if((0|(a=t))!=(0|(f=b[(C=(a<<3)+n|0)>>2])))for(g=C;a=(f<<3)+n|0,b[g>>2]=b[a>>2],(0|(a=b[a>>2]))!=(0|(f=b[(g=(a<<3)+n|0)>>2])););if(b[C>>2]=a,(0|e)==(0|(t=t+1|0)))break}(0|e)<2||function A(r,e,i,a){var f,n=0,t=0,C=0,g=0,d=0,v=0,_=0,R=0,B=0,m=0;for(f=r+12|0;;){for(R=i,d=b[f>>2],B=b[d+((i+a|0)/2<<3)>>2],C=i,g=a;;){for(t=((C<<3)+d|0)-8|0;C=C+1|0,b[(t=t+8|0)>>2]<(0|B););for(i=C+-1|0,n=8+(g<<3)|0;g=g+-1|0,v=n+d|0,n=_=n+-8|0,b[v+-8>>2]>(0|B););if((0|i)<=(0|(n=g+1|0))&&(m=b[t>>2],v=b[t+4>>2],i=b[(n=d+_|0)+4>>2],b[t>>2]=b[n>>2],b[t+4>>2]=i,i=b[f>>2]+_|0,b[i>>2]=m,b[i+4>>2]=v,n=g,i=C),!((0|i)<=(0|n)))break;d=b[f>>2],C=i,g=n}if((0|n)>(0|R)&&A(r,e,R,n),!((0|i)<(0|a)))break}}(r,i+8|0,0,e+-1|0)}N=i+16|0}(r+4|0),(0|(n=b[r+8>>2]))>=1?(Be=3,wi=16,Y=r+16|0,Xi=-1,G=2,t=1):t=0;;){A:{r:{e:{i:{a:{f:{if(!t){if((0|(ui=0|BA[b[b[e>>2]+36>>2]](e)))<1)break f;_=2,m=1,Da=r- -64|0,gi=r+32|0,p=r+28|0,y=r+36|0,W=4,Ia=-1,Ri=r+40|0,yf=16,D=0,B=1;break r}if(!B){for(t=(h=(R=b[Y>>2])+(F=(g=w)<>2];(0|(w=(v=w)+1|0))<(0|n)&&(d=b[t>>2],t=t+8|0,(0|d)==(0|Z)););n:if(E=(0|g)>(0|v),!E){for(d=g+Xi|0,t=h+4|0,Qf=b[(j=i+wi|0)>>2],h=1;Q=b[(b[t>>2]<>2],b[Q+208>>2]==(0|Z)&&(h&=4!=(0|(Q=b[Q+220>>2]))&1!=(0|Q)),t=t+8|0,(0|(d=d+1|0))<(0|v););if(1&h){if(E)break n;for(t=4|F;;){if(d=b[b[j>>2]+(b[t+R>>2]<>2],b[d+208>>2]==(0|Z)&&Vr(d,G),(0|g)>=(0|v))break n;t=t+8|0,g=g+1|0,R=b[Y>>2]}}if(!E)for(t=4|F;;){if(d=b[b[j>>2]+(b[t+R>>2]<>2],(0|Z)!=b[d+208>>2]|b[d+220>>2]!=(0|G)||(Vr(d,Be),b[d+224>>2]=0),(0|g)>=(0|v))break n;t=t+8|0,g=g+1|0,R=b[Y>>2]}}if((0|w)<(0|n))break a;t=0;continue}R=0|BA[b[b[e>>2]+40>>2]](e,D),g=b[R+776>>2];n:{t:{b:{o:{if(v=b[R+772>>2],b[v+220>>2]!=(0|_)&&v){if(!(_&(d=b[v+204>>2])))break o}else{if(!g|b[g+220>>2]==(0|_))break n;if(!(_&(d=b[v+204>>2]))|b[v+220>>2]==(0|_))break o}if(!(d&W)){if(Ir(g,0),_&(d=b[g+204>>2]))break b;break t}}if(!(_&(d=b[g+204>>2])))break t}d&W|b[g+220>>2]==(0|_)||Ir(v,0)}if(C[0|Da]&&BA[b[b[e>>2]+28>>2]](e,v,g)){if((0|(g=b[p>>2]))==b[gi>>2]&&!((0|g)>=(0|(B=g?g<>2]))>=(0|m))break b;break t}if(d=0,(0|g)<(0|m))break t}for(t=0,v=g;b[t+d>>2]=b[b[y>>2]+t>>2],t=t+W|0,v=v+Ia|0;);}(v=b[y>>2])&&(C[0|Ri]&&(gA(v),g=b[p>>2]),b[y>>2]=0),b[y>>2]=d,f[0|Ri]=m,b[gi>>2]=B}b[p>>2]=g+m,b[b[y>>2]+(g<<_)>>2]=R}}if((0|(D=m+D|0))!=(0|ui))break i}return Ai(),void(N=a+16|0)}B=0;break e}B=1;break A}t=1;continue}t=1;continue}t=1}}(r,e,i),t=b[r+8>>2],$e(n+8|0,22412);A:if(C[r+64|0]){if((0|(Q=b[r+28>>2]))>=2&&function A(r,e,i,a){var f,n=0,t=0,C=0,g=0,d=0,v=0,_=0,R=0,B=0,m=0;for(f=r+12|0;;){for(B=i,C=b[f>>2],R=b[C+((i+a|0)/2<<2)>>2],t=a;;){r:if(v=(0|(d=b[b[R+772>>2]+208>>2]))<0)for(g=i+-1|0,i=((i<<2)+C|0)-4|0,n=b[b[R+776>>2]+208>>2];;){if(_=b[(i=i+4|0)>>2],(0|(m=b[b[_+772>>2]+208>>2]))>-1){if(g=g+1|0,(0|m)<(0|n))continue;break r}if(g=g+1|0,!(b[b[_+776>>2]+208>>2]<(0|n)))break}else for(g=i+-1|0,i=((i<<2)+C|0)-4|0;;){if(n=b[(i=i+4|0)>>2],(0|(_=b[b[n+772>>2]+208>>2]))>-1){if(g=g+1|0,(0|_)<(0|d))continue;break r}if(g=g+1|0,!(b[b[n+776>>2]+208>>2]<(0|d)))break}r:if(v)for(n=t+1|0,t=4+((t<<2)+C|0)|0,C=b[b[R+776>>2]+208>>2];;){if(d=b[(t=t+-4|0)>>2],(0|(v=b[b[d+772>>2]+208>>2]))>-1){if(n=n+-1|0,(0|C)<(0|v))continue;break r}if(n=n+-1|0,!((0|C)>2]+208>>2]))break}else for(n=t+1|0,t=4+((t<<2)+C|0)|0;;){if(C=b[(t=t+-4|0)>>2],(0|(v=b[b[C+772>>2]+208>>2]))>-1){if(n=n+-1|0,(0|d)<(0|v))continue;break r}if(n=n+-1|0,!((0|d)>2]+208>>2]))break}r:{e:{if((0|g)>(0|n)){if(t=n,(0|(i=g))<=(0|n))break e;break r}if(C=b[i>>2],b[i>>2]=b[t>>2],b[b[f>>2]+(n<<2)>>2]=C,(0|(i=g+1|0))>(0|(t=n+-1|0)))break r}C=b[f>>2];continue}break}if((0|t)>(0|B)&&A(r,e,B,t),!((0|i)<(0|a)))break}}(r+24|0,n,0,Q+-1|0),(0|t)<1)break A;for(Z=r+16|0,G=r+52|0,B=r+48|0,v=r+56|0,p=r+60|0,W=r+36|0,w=1;;){r=b[Z>>2],h=b[r+(m<<3)>>2],y=1;r:if(!((0|m)>=(0|t)))for(;;){if(R=b[b[i+16>>2]+(b[4+((m<<3)+r|0)>>2]<<2)>>2],(0|(g=b[B>>2]))==b[G>>2]&&!((0|g)>=(0|(d=g?g<<1:1)))){e:{i:{if(d){if(_=CA(d<<2,16),(0|(g=b[B>>2]))>=1)break i;break e}if(_=0,(0|g)<1)break e}for(r=0,e=g;b[r+_>>2]=b[b[v>>2]+r>>2],r=r+4|0,e=e+-1|0;);}(r=b[v>>2])&&(C[0|p]&&(gA(r),g=b[B>>2]),b[v>>2]=0),b[v>>2]=_,f[0|p]=1,b[G>>2]=d}if(b[B>>2]=g+1,b[b[v>>2]+(g<<2)>>2]=R,y&=5==(0|(r=b[R+220>>2]))|2==(0|r),(0|(m=m+1|0))>=(0|t))break r;if(r=b[Z>>2],b[r+(m<<3)>>2]!=(0|h))break}_=0;r:{e:{i:{a:{f:{if((0|D)<(0|Q)){if(e=b[W>>2],R=b[(g=e+(d=D<<2)|0)>>2],(0|(Y=b[b[R+772>>2]+208>>2]))<=-1)break f;if(r=0,(0|h)==(0|Y))break a;break i}if(r=0,y)break r;break e}if(r=0,b[b[R+776>>2]+208>>2]!=(0|h))break i}for(r=4+(e+d|0)|0,e=1;;){if(_=e,!((0|(w=e+D|0))>=(0|Q)))if(d=b[r>>2],(0|(R=b[b[d+772>>2]+208>>2]))>-1){if(r=r+4|0,e=_+1|0,(0|h)==(0|R))continue}else if(r=r+4|0,e=_+1|0,b[b[d+776>>2]+208>>2]==(0|h))continue;break}if(r=g,y)break r;break e}if(y)break r}BA[b[b[a>>2]+8>>2]](a,b[v>>2],b[B>>2],r,_,h)}if((0|(e=b[B>>2]))<=-1)for(b[G>>2]<=-1&&((r=b[v>>2])&&(C[0|p]&&gA(r),b[v>>2]=0),f[0|p]=1,b[G>>2]=0,b[G+4>>2]=0),r=e<<2;b[b[v>>2]+r>>2]=0,r=r+4|0,e=e+1|0;);if(D=_?w:D,b[B>>2]=0,!((0|m)<(0|t)))break}}else r=0|BA[b[b[e>>2]+44>>2]](e),e=0|BA[b[b[e>>2]+36>>2]](e),BA[b[b[a>>2]+8>>2]](a,b[i+16>>2],b[i+8>>2],r,e,-1);Ai(),N=n+16|0}function Wa(r){var e=0,i=0,a=0,f=0,n=0,t=0;A:{r:{e:{if(l(r),255!=(0|(i=(f=o(0))>>>23&255))){if((a=f<<1)>>>0<=2173837238)break e;if(t=129,!i)break r;e=8388607&f|8388608;break A}return r=B(r*B(6.2831854820251465)),B(r/r)}return-2121130058==(0|a)?B(r*B(0)):r}if(i=0,(0|(e=f<<9))>=0)for(;i=i+-1|0,(0|(e<<=1))>-1;);e=f<<1-i}n=(0|(a=e-13176795|0))>-1;A:{r:{if((0|i)>(0|t))for(;;){if(n&&!(e=a))break r;if(n=(0|(a=(e<<=1)-13176795|0))>-1,!((0|(i=i+-1|0))>(0|t)))break}if(n&&!(e=a))break A;if(e>>>0<=8388607)for(;i=i+-1|0,(e<<=1)>>>0<8388608;);return k(0,-2147483648&f|((0|i)>=1?e+-8388608|i<<23:e>>>1-i)),s()}return B(r*B(0))}return B(r*B(0))}function Fa(r,e,i,a){var f=B(0),n=B(0),t=B(0),C=B(0),g=B(0),d=B(0),_=B(0),R=B(0),h=B(0);n=_e(i),t=v[e+444>>2],i=ge(i),B(m(n))>B(1.1920928955078125e-7)?(f=B(i*i),d=B(n*n),C=B(f/d),g=v[e+448>>2],t=B(p(B(B(C+B(1))/B(B(B(1)/B(g*g))+B(C/B(t*t))))))):(f=B(i*i),d=B(n*n)),b[r+12>>2]=0,C=B(t*B(.5)),f=B(ge(C)/B(p(B(f+B(d+B(0)))))),i=B(i*f),t=B(f*B(0)),n=B(n*f),g=B(n*B(0)),_=B(i*B(-0)),d=B(B(B(-B(t*a))-g)-_),f=_e(C),R=B(f*B(0)),h=B(t*B(0)),C=B(B(R+h)-B(n*a)),g=B(B(B(f*a)+g)-_),a=B(B(R-B(i*a))-h),v[r+8>>2]=B(B(B(i*d)+B(f*C))-B(g*n))+B(a*t),v[r+4>>2]=B(B(B(f*a)-B(d*n))-B(C*t))-B(i*g),v[r>>2]=B(B(i*a)+B(B(f*g)-B(d*t)))+B(C*n)}function Za(r,e,i,a,f){var n=B(0);n=B(1);A:if(!(e>i)&&(n=B(0),e!=i)){r:{e:{if((a=B(a/f))=e^1|B(e-a)>r^1)break e;return B(B(e-r)/a)}if(!(a>B(0)))break A;if(r<=i^1|B(i-a)i?0:1)}return n}function Ya(r,e,i){r|=0;var a=0,f=0,n=0,t=0,g=0;t=e|=0,g=0|BA[b[b[(i|=0)>>2]+28>>2]](i,b[r+28>>2]),b[t>>2]=g,t=e,g=0|BA[b[b[i>>2]+28>>2]](i,b[r+32>>2]),b[t+4>>2]=g,a=0|BA[b[b[i>>2]+40>>2]](i,r),f=0|BA[b[b[i>>2]+28>>2]](i,a),b[e+8>>2]=f,f&&BA[b[b[i>>2]+48>>2]](i,a),b[e+12>>2]=b[r+4>>2],b[e+24>>2]=C[r+21|0],b[e+40>>2]=b[r+24>>2],b[e+44>>2]=b[r+16>>2],b[e+48>>2]=C[r+20|0],i=b[r+12>>2],a=b[r+40>>2],b[e+28>>2]=b[r+36>>2],b[e+32>>2]=a,b[e+20>>2]=i,b[e+16>>2]=b[r+8>>2],a=0,b[e+36>>2]=0,i=b[r+28>>2];A:if(!((0|(f=b[i+548>>2]))<1))for(i=b[i+556>>2],n=e+36|0;;){if((0|r)!=b[i>>2]){if(i=i+4|0,(0|(a=a+1|0))<(0|f))continue;break A}if(b[n>>2]=1,i=i+4|0,!((0|(a=a+1|0))<(0|f)))break}i=b[r+32>>2];A:if(!((0|(f=b[i+548>>2]))<1))for(i=b[i+556>>2],a=0,e=e+36|0;;){if((0|r)!=b[i>>2]){if(i=i+4|0,(0|(a=a+1|0))<(0|f))continue;break A}if(b[e>>2]=1,i=i+4|0,!((0|(a=a+1|0))<(0|f)))break}return 22516}function Ea(r){var e=0,i=0,a=B(0),f=0;A:{r:{e:{if(l(r),(i=2147483647&(f=o(0)))>>>0>=1065353216){if(1065353216!=(0|i))break e;return B(1.5707963267948966*+r+752316384526264e-51)}if(i>>>0>1056964607)break A;if(i+-8388608>>>0<956301312)break r;return a=B(r*r),B(B(B(B(a*B(B(a*B(B(a*B(-.008656363002955914))+B(-.04274342209100723)))+B(.16666586697101593)))/B(B(a*B(-.7066296339035034))+B(1)))*r)+r)}r=B(B(0)/B(r-r))}return r}return r=B(B(B(1)-B(m(r)))*B(.5)),e=p(+r),e+=e*+B(B(r*B(B(r*B(B(r*B(-.008656363002955914))+B(-.04274342209100723)))+B(.16666586697101593)))/B(B(r*B(-.7066296339035034))+B(1))),r=B(1.5707963267948966-(e+e)),(0|f)<0?B(-r):r}function Na(r,e){return v[1192+((e<<2)+r|0)>>2]}function Va(r){return b[(r|=0)>>2]=22472,0|r}function Ja(r){var e=0,i=0;return b[(r|=0)>>2]=22620,C[r+288|0]&&(e=b[r+220>>2],BA[b[b[e>>2]>>2]](e),gA(b[r+220>>2])),(e=b[r+212>>2])&&(BA[b[b[e>>2]>>2]](e),gA(b[r+212>>2])),C[r+289|0]&&(e=b[r+216>>2],BA[b[b[e>>2]>>2]](e),gA(b[r+216>>2])),(i=b[(e=r+332|0)>>2])&&(C[r+336|0]&&gA(i),b[r+332>>2]=0),b[e>>2]=0,f[r+336|0]=1,b[(e=r+324|0)>>2]=0,b[e+4>>2]=0,(i=b[(e=r+304|0)>>2])&&(C[r+308|0]&&gA(i),b[r+304>>2]=0),b[e>>2]=0,f[r+308|0]=1,b[(e=r+296|0)>>2]=0,b[e+4>>2]=0,(i=b[(e=r+256|0)>>2])&&(C[r+260|0]&&gA(i),b[r+256>>2]=0),b[e>>2]=0,f[r+260|0]=1,b[(e=r+248|0)>>2]=0,b[e+4>>2]=0,(i=b[(e=r+236|0)>>2])&&(C[r+240|0]&&gA(i),b[r+236>>2]=0),b[e>>2]=0,f[r+240|0]=1,b[(e=r+228|0)>>2]=0,b[e+4>>2]=0,(i=b[(e=r+204|0)>>2])&&(C[r+208|0]&&gA(i),b[r+204>>2]=0),b[e>>2]=0,f[r+208|0]=1,b[(e=r+196|0)>>2]=0,b[e+4>>2]=0,sa(r),0|r}function Xa(r,e){e|=0,BA[b[b[(r|=0)>>2]+64>>2]](r,e)}function Ma(r,e){e|=0,BA[b[b[(r|=0)>>2]+68>>2]](r,e)}function xa(r){var e,i,a,n=0,t=0,g=0,d=0,v=0;if(e=g=b[r+8>>2],(d=b[r+32>>2])&&(t=b[r+40>>2]),i=t,(t=b[r+52>>2])&&(n=b[r+60>>2]),a=n,n=b[r+72>>2],v=b[r+80>>2],n||(v=0),B(BA[b[b[g>>2]+12>>2]](e,i,d,a,t,v,n,b[r+4>>2],b[r+20>>2],b[r+24>>2])),(0|(t=b[(g=r+32|0)>>2]))<=-1)for(b[r+36>>2]<=-1&&((n=b[r+40>>2])&&(C[r+44|0]&&gA(n),b[r+40>>2]=0),f[r+44|0]=1,b[(n=r+36|0)>>2]=0,b[n+4>>2]=0),n=t<<2,d=r+40|0;b[b[d>>2]+n>>2]=0,n=n+4|0,t=t+1|0;);if(b[g>>2]=0,(0|(t=b[(g=r+52|0)>>2]))<=-1)for(b[r+56>>2]<=-1&&((n=b[r+60>>2])&&(C[r- -64|0]&&gA(n),b[r+60>>2]=0),f[r- -64|0]=1,b[(n=r+56|0)>>2]=0,b[n+4>>2]=0),n=t<<2,d=r+60|0;b[b[d>>2]+n>>2]=0,n=n+4|0,t=t+1|0;);if(b[g>>2]=0,(0|(t=b[(g=r+72|0)>>2]))<=-1)for(b[r+76>>2]<=-1&&((n=b[r+80>>2])&&(C[r+84|0]&&gA(n),b[r+80>>2]=0),f[r+84|0]=1,b[(n=r+76|0)>>2]=0,b[n+4>>2]=0),n=t<<2,r=r+80|0;b[b[r>>2]+n>>2]=0,n=n+4|0,t=t+1|0;);b[g>>2]=0}function Sa(r,e){return e|=0,b[b[(r|=0)+236>>2]+(e<<2)>>2]}function Ta(r,e,i,a,f,n){var t,C=0,g=0,d=0,_=B(0),R=0,m=B(0),h=0,G=B(0),y=B(0),Q=B(0),p=B(0),D=B(0),w=B(0),Z=B(0),Y=0;if(N=t=N-272|0,g=b[(d=i+8|0)+4>>2],b[(C=t+216|0)>>2]=b[d>>2],b[C+4>>2]=g,g=b[(d=i+24|0)+4>>2],b[(C=t+232|0)>>2]=b[d>>2],b[C+4>>2]=g,g=b[(d=i+40|0)+4>>2],b[(C=t+248|0)>>2]=b[d>>2],b[C+4>>2]=g,R=b[(g=i+56|0)+4>>2],b[(C=d=t+264|0)>>2]=b[g>>2],b[C+4>>2]=R,R=b[(g=a+8|0)+4>>2],b[(C=t+152|0)>>2]=b[g>>2],b[C+4>>2]=R,g=b[(C=i)+4>>2],b[t+208>>2]=b[C>>2],b[t+212>>2]=g,g=b[C+20>>2],b[t+224>>2]=b[C+16>>2],b[t+228>>2]=g,g=b[C+36>>2],b[t+240>>2]=b[C+32>>2],b[t+244>>2]=g,g=b[C+52>>2],b[t+256>>2]=b[C+48>>2],b[t+260>>2]=g,C=b[a+4>>2],b[t+144>>2]=b[a>>2],b[t+148>>2]=C,R=b[(g=a+24|0)+4>>2],b[(C=t+168|0)>>2]=b[g>>2],b[C+4>>2]=R,R=b[(g=a+40|0)+4>>2],b[(C=t+184|0)>>2]=b[g>>2],b[C+4>>2]=R,h=b[(R=a+56|0)+4>>2],b[(C=t+200|0)>>2]=b[R>>2],b[C+4>>2]=h,g=b[a+20>>2],b[t+160>>2]=b[a+16>>2],b[t+164>>2]=g,g=b[a+36>>2],b[t+176>>2]=b[a+32>>2],b[t+180>>2]=g,g=b[a+52>>2],b[t+192>>2]=b[a+48>>2],b[t+196>>2]=g,b[t+108>>2]=0,v[t+104>>2]=v[C>>2]-v[d>>2],v[t+100>>2]=v[t+196>>2]-v[t+260>>2],v[t+96>>2]=v[t+192>>2]-v[t+256>>2],Ti(t+208|0,t+144|0,t+16|0,t+128|0),b[t+92>>2]=0,_=v[t+128>>2],v[t+88>>2]=_*v[t+24>>2],v[t+84>>2]=_*v[t+20>>2],v[t+80>>2]=_*v[t+16>>2],b[(C=t+72|0)>>2]=0,b[C+4>>2]=0,b[(C=t- -64|0)>>2]=0,b[C+4>>2]=0,tf(t+208|0,t+128|0),b[t+60>>2]=0,b[t+44>>2]=0,_=v[t+128>>2],m=v[t+132>>2],y=v[t+136>>2],D=v[t+140>>2],p=B(B(2)/B(B(B(B(_*_)+B(m*m))+B(y*y))+B(D*D))),w=B(y*p),G=B(m*w),Q=B(_*p),Z=B(D*Q),v[t+52>>2]=G+Z,v[t+40>>2]=G-Z,G=B(_*Q),Q=m,m=B(m*p),p=B(Q*m),v[t+56>>2]=B(1)-B(G+p),y=B(y*w),v[t+36>>2]=B(1)-B(G+y),b[t+28>>2]=0,G=B(_*w),Q=B(D*m),v[t+48>>2]=G-Q,_=B(_*m),m=B(D*w),v[t+32>>2]=_+m,v[t+24>>2]=G+Q,v[t+20>>2]=_-m,v[t+16>>2]=B(1)-B(p+y),GA(e,t+16|0,t+96|0,t+80|0,t+128|0,t+112|0),b[(C=r+328|0)>>2]>=1)for(d=a+48|0,g=i+48|0,R=r+336|0,a=0,r=0;i=b[b[R>>2]+a>>2],BA[b[b[f>>2]+8>>2]](f,b[i+188>>2])&&(h=b[i+192>>2],Y=i+4|0,BA[b[b[h>>2]+8>>2]](h,Y,t+16|0,t+96|0),b[t+28>>2]=0,b[t+108>>2]=0,v[(h=t+24|0)>>2]=v[h>>2]+v[t+136>>2],v[(h=t+104|0)>>2]=v[h>>2]+v[t+120>>2],v[t+20>>2]=v[t+20>>2]+v[t+132>>2],v[t+16>>2]=v[t+16>>2]+v[t+128>>2],v[t+96>>2]=v[t+96>>2]+v[t+112>>2],v[t+100>>2]=v[t+100>>2]+v[t+116>>2],b[t+12>>2]=1065353216,Ua(g,d,t+16|0,t+96|0,t+12|0,t+80|0)&&_a(e,t+208|0,t+144|0,i,b[i+192>>2],Y,f,n)),a=a+4|0,(0|(r=r+1|0))>2];);N=t+272|0}function Ua(r,e,i,a,f,n){var t,C,g,d,_,R,m,h,G,y,Q,p=B(0),D=B(0),w=B(0),Z=B(0),Y=B(0),W=B(0),F=B(0),E=B(0),j=B(0),BA=B(0),Be=B(0),ui=B(0),gi=B(0),Ri=B(0);if(t=N-16|0,Z=v[a>>2],D=v[i>>2],Y=B(B(Z+D)*B(.5)),p=B(v[e>>2]-Y),Z=B(Z-D),d=p>(BA=B(Z*B(.5))),_=p<(Z=B(Z*B(-.5))),w=v[a+4>>2],W=v[i+4>>2],E=B(B(w+W)*B(.5)),D=B(v[e+4>>2]-E),w=B(w-W),R=D<(W=B(w*B(-.5))),m=D>(Be=B(w*B(.5))),w=v[a+8>>2],F=v[i+8>>2],j=B(B(w+F)*B(.5)),gi=B(v[e+8>>2]-j),w=B(w-F),(G=_|d<<3|R<<1|m<<4|(h=gi<(Ri=B(w*B(-.5))))<<2|(gi>(ui=B(w*B(.5))))<<5)&(r=(i=(F=B(v[r>>2]-Y))>BA)<<3|(y=F>2]-E))Be)<<4|(g=(W=B(v[r+8>>2]-j))ui)<<5))return 0;Z=v[f>>2],e=b[f>>2],b[(Q=t+8|0)>>2]=0,b[Q+4>>2]=0,b[t>>2]=0,b[t+4>>2]=0,j=B(p-F);A:{r:{e:{i:{a:{f:{n:{t:{b:{o:{k:{c:{u:{l:{s:{C:{g:{d:{v:{if(y){if((Y=B(B(B(-F)-BA)/j))>=B(0))break v;if(Y=B(0),E=B(D-w),a)break g;break d}if(Y=B(0),_&&((p=B(B(B(-F)-BA)/j))>2]=0,b[t+4>>2]=0,b[t+8>>2]=0,b[t>>2]=1065353216,E=B(D-w),a)break g}if(!R)break C;if(!((p=B(B(B(-w)-Be)/E))<(k(0,e),s())))break C;l(p),e=o(0),Z=p;break C}if(Y<=(p=B(B(B(-w)-Be)/E))){if(b[(a=t+8|0)>>2]=0,b[a+4>>2]=0,b[t>>2]=0,b[t+4>>2]=0,b[t+4>>2]=1065353216,Y=B(gi-W),g)break s;break l}}if(p=Y,Y=B(gi-W),!g)break l}if(!(p<=(D=B(B(B(-W)-ui)/Y))))break u;if(b[(a=t+8|0)>>2]=0,b[a+4>>2]=0,b[a>>2]=1065353216,b[t>>2]=0,b[t+4>>2]=0,i)break c;break k}if(h&&(D=B(B(B(-W)-ui)/Y))<(k(0,e),s())){if(l(D),e=o(0),Z=D,D=p,i)break c;break k}}if(D=p,!i)break k}if(!(D<=(p=B(B(BA-F)/j))))break o;if(b[t+12>>2]=0,b[t+4>>2]=0,b[t+8>>2]=0,b[t>>2]=-1082130432,C)break b;break t}d&&((p=B(B(BA-F)/j))<(k(0,e),s())&&(l(p),e=o(0),Z=p))}if(p=D,!C)break t}if(!(p<=(D=B(B(Be-w)/E))))break n;if(b[(i=t+8|0)>>2]=0,b[i+4>>2]=0,b[t>>2]=0,b[t+4>>2]=0,b[t+4>>2]=-1082130432,!(32&r))break f;break a}if(m&&(D=B(B(Be-w)/E))<(k(0,e),s())){if(l(D),e=o(0),Z=D,D=p,!(32&r))break f;break a}}if(D=p,32&r)break a}if(!(32&G))break i;if(!((p=B(B(ui-W)/Y))<(k(0,e),s())))break i;Z=p;break i}if(D<=(p=B(B(ui-W)/Y)))break e}if((p=D)<=Z)break r;break A}if(b[(r=t+8|0)>>2]=0,b[r+4>>2]=0,b[r>>2]=-1082130432,b[t>>2]=0,b[t+4>>2]=0,!(p<=Z))break A}return v[f>>2]=p,r=b[t+4>>2],b[n>>2]=b[t>>2],b[n+4>>2]=r,i=b[(e=t+8|0)+4>>2],b[(r=n+8|0)>>2]=b[e>>2],b[r+4>>2]=i,1}return 0}function ja(r,e){var i,a,f,n,t,C,g,d,_,R,h,G,y,Q=B(0),D=0,w=B(0),Z=B(0),Y=B(0),W=B(0),F=0,E=B(0),j=B(0),BA=B(0),Be=B(0),ui=B(0),gi=B(0),Ri=0,wi=B(0),Xi=B(0),Da=B(0),Ia=B(0);N=i=N-80|0,F=r+256|0;A:{BA=v[e+12>>2],wi=v[r+264>>2],Q=v[e+8>>2];r:if(v[r+268>>2]!=BA|wi!=Q|v[r+260>>2]!=v[e+4>>2]||v[F>>2]!=v[e>>2]){if(w=v[(D=r+260|0)>>2],Y=v[r+256>>2],ui=v[e>>2],gi=v[e+4>>2],(Xi=B(B(B(ui*ui)+B(gi*gi))+B(Q*Q)))>B(0)){if(v[r+268>>2]=BA,BA=B(B(1)/B(p(Xi))),W=B(Q*BA),v[r+264>>2]=W,E=B(gi*BA),v[D>>2]=E,Be=B(ui*BA),v[r+256>>2]=Be,!(e=b[r+8>>2]))break r;break A}if(b[F>>2]=0,b[F+4>>2]=0,b[(e=F+8|0)>>2]=0,b[e+4>>2]=0,e=b[r+8>>2])break A}return void(N=i+80|0)}A:if((Z=B(B(B(Be*Be)+B(E*E))+B(W*W)))!=B(0)&&(Q=B(B(B(Y*Y)+B(w*w))+B(wi*wi)),Q!=B(0))){Z=B(B(1)/B(p(Z))),W=B(W*Z),v[r+264>>2]=W,j=B(E*Z),v[r+260>>2]=j,E=B(Be*Z),v[r+256>>2]=E;r:{e:{if(Q=B(B(1)/B(p(Q))),Be=B(wi*Q),w=B(w*Q),Y=B(Y*Q),(Q=B(B(Be*W)+B(B(w*j)+B(Y*E))))B(.7071067690849304)))break e;Q=B(B(1)/B(p(B(B(j*j)+B(W*W))))),BA=B(j*Q),gi=B(-B(W*Q)),ui=B(0);break r}Q=B(Q+B(1)),Q=B(p(B(Q+Q))),Z=B(B(1)/Q),BA=B(B(B(w*E)-B(Y*j))*Z),gi=B(B(B(Y*W)-B(Be*E))*Z),ui=B(B(B(Be*j)-B(w*W))*Z),Xi=B(Q*B(.5));break A}Q=B(B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2]=E-Be,Z=B(Da*W),Q=B(Ia*wi),v[i+32>>2]=Z+Q,v[i+20>>2]=Z-Q,e=(D=b[r+8>>2])+12|0,r=b[a+4>>2],b[e>>2]=b[a>>2],b[e+4>>2]=r,v[i+16>>2]=B(1)-B(w+Y),r=b[i+20>>2],b[D+4>>2]=b[i+16>>2],b[D+8>>2]=r,r=b[F+4>>2],b[(e=D+28|0)>>2]=b[F>>2],b[e+4>>2]=r,r=b[i+36>>2],b[(e=D+20|0)>>2]=b[i+32>>2],b[e+4>>2]=r,b[D+304>>2]=b[D+304>>2]+1,r=b[i+52>>2],b[(e=D+36|0)>>2]=b[i+48>>2],b[e+4>>2]=r,r=b[Ri+4>>2],b[(e=D+44|0)>>2]=b[Ri>>2],b[e+4>>2]=r,r=b[f+4>>2],b[(e=D+60|0)>>2]=b[f>>2],b[e+4>>2]=r,r=b[i+68>>2],b[(e=D+52|0)>>2]=b[i+64>>2],b[e+4>>2]=r,N=i+80|0}function Oa(r,e){var i,a=0,n=0,t=0,g=0,d=0,_=0,R=0,m=0,h=0,G=0,y=B(0),Q=B(0),p=0,D=0,w=0,Z=0,Y=0,W=0,F=0,E=B(0),j=B(0),Be=B(0),ui=0;if(N=i=N-96|0,a=b[r+12>>2],BA[b[b[a>>2]+8>>2]](a,b[r+8>>2]+4|0,i+80|0,i- -64|0),a=b[e+68>>2],BA[b[b[a>>2]+16>>2]](a,b[b[r+8>>2]+188>>2],i+80|0,i- -64|0,b[e+24>>2]),a=b[e+24>>2],BA[b[b[a>>2]+32>>2]](a,b[b[r+8>>2]+344>>2],e+28|0,a),e=b[r+8>>2],g=b[(t=e+60|0)+4>>2],b[(a=d=r+140|0)>>2]=b[t>>2],b[a+4>>2]=g,t=b[(a=e+52|0)+4>>2],b[r+132>>2]=b[a>>2],b[r+136>>2]=t,t=r+132|0,e=b[e+344>>2],(0|BA[b[b[e>>2]+36>>2]](e))>=1)for(Z=r+200|0,m=r+204|0,h=r+208|0,g=r+212|0,G=r+216|0,_=r+8|0,Y=r+16|0,p=r+136|0;;){if((0|(a=b[m>>2]))<=-1)for(b[h>>2]<=-1&&((e=b[g>>2])&&(C[0|G]&&gA(e),b[g>>2]=0),f[0|G]=1,b[h>>2]=0,b[h+4>>2]=0),e=a<<2;b[b[g>>2]+e>>2]=0,e=e+4|0,a=a+1|0;);if(b[m>>2]=0,e=b[b[_>>2]+344>>2],a=b[12+(0|BA[b[b[e>>2]+28>>2]](e))>>2]+(R<<4)|0,e=b[b[a+4>>2]>>2],n=b[b[a>>2]>>2],!((4&C[n+204|0]?n:0)|(4&C[e+204|0]?e:0))&&BA[b[b[r>>2]+56>>2]](r,n,e)&&((e=b[a+8>>2])&&BA[b[b[e>>2]+16>>2]](e,Z),!((0|(D=b[m>>2]))<1)))for(W=b[_>>2],F=b[g>>2],n=0;;){if(e=b[F+(n<<2)>>2],(0|(w=b[e+780>>2]))>=1)for(Q=b[e+772>>2]==(0|W)?B(-1):B(1),e=e+84|0,E=B(-v[Y>>2]),a=0;(y=v[e>>2])>2],Be=v[e+-12>>2],v[t>>2]=B(B(y*B(Q*v[e+-16>>2]))*B(.20000000298023224))+v[t>>2],v[p>>2]=B(B(y*B(Q*Be))*B(.20000000298023224))+v[p>>2],v[d>>2]=B(B(y*B(Q*j))*B(.20000000298023224))+v[d>>2],ui=1),e=e+192|0,(0|(a=a+1|0))<(0|w););if(!((0|(n=n+1|0))<(0|D)))break}if(R=R+1|0,e=b[b[_>>2]+344>>2],!((0|R)<(0|BA[b[b[e>>2]+36>>2]](e))))break}return m=b[(g=t+8|0)+4>>2],b[(e=i+56|0)>>2]=b[g>>2],b[e+4>>2]=m,r=b[r+8>>2],_=b[(g=r+12|0)+4>>2],b[(a=i+8|0)>>2]=b[g>>2],b[a+4>>2]=_,n=b[(R=h=r+28|0)+4>>2],b[(_=m=i+24|0)>>2]=b[R>>2],b[_+4>>2]=n,G=b[(d=R=r+44|0)+4>>2],b[(n=_=i+40|0)>>2]=b[d>>2],b[n+4>>2]=G,n=b[t+4>>2],t=b[t>>2],b[r+304>>2]=b[r+304>>2]+1,b[i+48>>2]=t,b[i+52>>2]=n,t=b[r+8>>2],b[i>>2]=b[r+4>>2],b[i+4>>2]=t,d=b[(n=t=r+20|0)+4>>2],b[i+16>>2]=b[n>>2],b[i+20>>2]=d,G=b[(n=r+36|0)+4>>2],b[i+32>>2]=b[n>>2],b[i+36>>2]=G,d=b[i+4>>2],b[r+4>>2]=b[i>>2],b[r+8>>2]=d,d=b[a+4>>2],b[g>>2]=b[a>>2],b[g+4>>2]=d,a=b[m+4>>2],b[h>>2]=b[m>>2],b[h+4>>2]=a,a=b[i+20>>2],b[t>>2]=b[i+16>>2],b[t+4>>2]=a,a=b[_+4>>2],b[R>>2]=b[_>>2],b[R+4>>2]=a,a=b[i+36>>2],b[n>>2]=b[i+32>>2],b[n+4>>2]=a,t=b[e+4>>2],b[(a=r+60|0)>>2]=b[e>>2],b[a+4>>2]=t,e=b[i+52>>2],b[(r=r+52|0)>>2]=b[i+48>>2],b[r+4>>2]=e,N=i+96|0,ui}function Ha(r,e){var i=B(0),a=B(0),f=B(0),n=B(0),t=B(0),C=0,g=B(0),d=B(0),_=B(0),R=B(0),m=0,h=B(0);i=B(v[r+152>>2]-v[r+132>>2]),f=B(v[r+156>>2]-v[r+136>>2]),a=B(v[r+160>>2]-v[r+140>>2]),(g=B(p(B(B(B(i*i)+B(f*f))+B(a*a)))))>B(1.1920928955078125e-7)&&(_=v[e+8>>2],t=v[e>>2],R=v[e+4>>2],m=b[(e=r+132|0)+4>>2],b[(C=r+152|0)>>2]=b[e>>2],b[C+4>>2]=m,m=b[(e=e+8|0)+4>>2],b[(C=C+8|0)>>2]=b[e>>2],b[C+4>>2]=m,e=r+152|0,n=i,i=B(B(1)/g),d=n=B(n*i),h=B(n*t),n=B(f*i),a=B(a*i),i=B(B(h+B(n*R))+B(a*_)),i=B(i+i),d=f=B(d-B(t*i)),a=B(a-B(_*i)),i=B(n-B(R*i)),f=B(B(1)/B(p(B(B(a*a)+B(B(f*f)+B(i*i)))))),n=B(d*f),d=t,a=B(a*f),i=B(i*f),t=B(B(_*a)+B(B(t*n)+B(R*i))),v[e>>2]=B(g*B(n-B(d*t)))+v[e>>2],v[(e=r+156|0)>>2]=B(g*B(i-B(R*t)))+v[e>>2],v[(r=r+160|0)>>2]=B(g*B(a-B(_*t)))+v[r>>2])}function za(r,e,i){var a,f,n,t,g,d,_,R,m,h,G,y,Q,D,w,Z,Y,W,F,E,j,Be,ui,gi,Ri,wi,Xi,Da,Ia,yf,Qf,pf,Df,wf,Zf,Yf,Wf,Ff,Ef,Nf=0,Vf=B(0),Xf=B(0),Jf=B(0),If=B(0),xf=0,Mf=B(0),Sf=B(0),Tf=0,Uf=B(0),jf=B(0),Of=0,Hf=B(0),zf=B(0),Pf=B(0),Lf=B(0),Kf=B(0),qf=0,$f=0,An=0,rn=0,en=0,an=0,fn=0,nn=0,tn=B(0),bn=0,on=B(0),kn=B(0),cn=0,un=0,ln=B(0),sn=B(0),Cn=B(0),gn=B(0),dn=B(0),vn=B(0);for(N=a=N-240|0,b[(xf=w=a+188|0)>>2]=0,b[xf+4>>2]=0,b[(g=a+196|0)>>2]=1065353216,b[(xf=d=a+200|0)>>2]=0,b[xf+4>>2]=0,b[(_=a+216|0)>>2]=1065353216,Vf=v[i>>2],Xf=v[i+4>>2],Jf=v[i+8>>2],b[r+164>>2]=0,m=r+140|0,v[(R=r+160|0)>>2]=Jf+v[m>>2],G=r+136|0,v[(h=r+156|0)>>2]=Xf+v[G>>2],v[r+152>>2]=Vf+v[r+132>>2],b[a+176>>2]=1065353216,b[a+180>>2]=0,b[a+184>>2]=0,b[a+208>>2]=0,b[a+212>>2]=0,b[(Z=a+236|0)>>2]=0,b[(i=Y=a+228|0)>>2]=0,b[i+4>>2]=0,b[(i=W=a+220|0)>>2]=0,b[i+4>>2]=0,b[a+112>>2]=1065353216,b[(i=F=a+124|0)>>2]=0,b[i+4>>2]=0,b[a+116>>2]=0,b[a+120>>2]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=r+12|0,qf=b[Nf>>2],Vf=B(BA[b[b[qf>>2]+48>>2]](qf)),qf=b[Nf>>2],BA[b[b[qf>>2]+44>>2]](qf,B(Vf+v[Ff>>2])),(v[a+176>>2]!=v[a+112>>2]|v[an>>2]!=v[cn>>2]|v[en>>2]!=v[bn>>2]|v[a+180>>2]!=v[a+116>>2]||v[g>>2]!=v[y>>2]|v[$f>>2]!=v[nn>>2]|v[fn>>2]!=v[un>>2]|v[d>>2]!=v[Q>>2]||v[_>>2]!=v[D>>2]|v[Z>>2]!=v[E>>2]|v[a+232>>2]!=v[a+168>>2]|v[Y>>2]!=v[j>>2]||v[t>>2]!=v[n>>2])&&(C[0|Ef]?Ta(b[Tf>>2],b[Nf>>2],a+176|0,a+112|0,a,v[e+56>>2]):ma(e,b[Nf>>2],a+176|0,a+112|0,a,v[e+56>>2])),Nf=b[Nf>>2],BA[b[b[Nf>>2]+44>>2]](Nf,Vf),Vf=v[a+4>>2],Vf>2],!(4&C[Nf+204|0])&&BA[b[b[r>>2]+56>>2]](r,Nf,b[gi>>2]))){if(Ha(r,Ri),Xf=B(v[i>>2]-v[xf>>2]),Jf=B(v[h>>2]-v[G>>2]),Mf=B(v[R>>2]-v[m>>2]),!((If=B(B(B(Xf*Xf)+B(Jf*Jf))+B(Mf*Mf)))>B(1.1920928955078125e-7)))break A;if(Hf=Xf,Xf=B(B(1)/B(p(If))),B(B(B(B(Hf*Xf)*v[r+84>>2])+B(B(Jf*Xf)*v[r+88>>2]))+B(B(Mf*Xf)*v[r+92>>2]))<=B(0))break A;if((jf=B(jf-Vf))>B(.009999999776482582))continue}else if(Nf=b[i+4>>2],b[xf>>2]=b[i>>2],b[xf+4>>2]=Nf,Nf=b[Of+4>>2],b[rn>>2]=b[Of>>2],b[rn+4>>2]=Nf,jf=B(jf-Vf),jf>B(.009999999776482582))continue;break}N=a+240|0}function Pa(r){return 0|BA[b[b[(r|=0)>>2]+48>>2]](r)}function La(r,e,i,a,t,C){var g=0;return function(r,e,i){b[r+44>>2]=0,b[r+36>>2]=0,b[r+40>>2]=1028443341,b[r+32>>2]=i,b[r+28>>2]=e,b[r+24>>2]=-1,n[r+20>>1]=1,b[r+16>>2]=2139095039,b[r+8>>2]=-1,b[r+12>>2]=-1,b[r>>2]=22472,b[r+4>>2]=12}(r,e,i),b[r>>2]=23864,g=b[(i=a+8|0)+4>>2],b[(e=r+56|0)>>2]=b[i>>2],b[e+4>>2]=g,e=b[a+4>>2],b[r+48>>2]=b[a>>2],b[r+52>>2]=e,g=b[(i=a+24|0)+4>>2],b[(e=r+72|0)>>2]=b[i>>2],b[e+4>>2]=g,i=b[a+20>>2],b[(e=r- -64|0)>>2]=b[a+16>>2],b[e+4>>2]=i,g=b[(i=a+40|0)+4>>2],b[(e=r+88|0)>>2]=b[i>>2],b[e+4>>2]=g,i=b[a+36>>2],b[(e=r+80|0)>>2]=b[a+32>>2],b[e+4>>2]=i,g=b[(i=a+56|0)+4>>2],b[(e=r+104|0)>>2]=b[i>>2],b[e+4>>2]=g,i=b[a+52>>2],b[(e=r+96|0)>>2]=b[a+48>>2],b[e+4>>2]=i,a=b[(i=t+8|0)+4>>2],b[(e=r+120|0)>>2]=b[i>>2],b[e+4>>2]=a,e=b[t+4>>2],b[r+112>>2]=b[t>>2],b[r+116>>2]=e,a=b[(i=t+24|0)+4>>2],b[(e=r+136|0)>>2]=b[i>>2],b[e+4>>2]=a,i=b[t+20>>2],b[(e=r+128|0)>>2]=b[t+16>>2],b[e+4>>2]=i,a=b[(i=t+40|0)+4>>2],b[(e=r+152|0)>>2]=b[i>>2],b[e+4>>2]=a,i=b[t+36>>2],b[(e=r+144|0)>>2]=b[t+32>>2],b[e+4>>2]=i,a=b[(i=t+56|0)+4>>2],b[(e=r+168|0)>>2]=b[i>>2],b[e+4>>2]=a,i=b[t+52>>2],b[(e=r+160|0)>>2]=b[t+48>>2],b[e+4>>2]=i,b[(e=r+720|0)>>2]=0,b[e+4>>2]=0,b[(e=r+712|0)>>2]=0,b[e+4>>2]=0,b[(e=r+704|0)>>2]=0,b[e+4>>2]=0,b[(e=r+696|0)>>2]=0,b[e+4>>2]=0,b[(e=r+688|0)>>2]=0,b[e+4>>2]=0,b[r+680>>2]=0,b[r+684>>2]=0,b[r+736>>2]=1045220557,b[(e=r+728|0)>>2]=1045220557,b[e+4>>2]=1045220557,b[r+756>>2]=0,b[(e=r+748|0)>>2]=0,b[e+4>>2]=0,b[(e=r+740|0)>>2]=0,b[e+4>>2]=0,b[r+768>>2]=1063675494,b[(e=r+760|0)>>2]=1063675494,b[e+4>>2]=1063675494,b[r+812>>2]=0,b[(e=r+804|0)>>2]=0,b[e+4>>2]=0,b[r+828>>2]=0,b[(e=r+820|0)>>2]=0,b[e+4>>2]=0,f[r+838|0]=0,f[0|(e=r+836|0)]=0,f[e+1|0]=0,b[r+848>>2]=0,b[(e=r+840|0)>>2]=0,b[e+4>>2]=0,f[r+858|0]=0,f[0|(e=r+856|0)]=0,f[e+1|0]=0,b[r+868>>2]=0,b[(e=r+860|0)>>2]=0,b[e+4>>2]=0,b[r+884>>2]=0,b[(e=r+876|0)>>2]=0,b[e+4>>2]=0,b[r+900>>2]=0,b[(e=r+892|0)>>2]=0,b[e+4>>2]=0,f[0|(e=r+793|0)]=0,f[e+1|0]=0,f[e+2|0]=0,f[e+3|0]=0,f[e+4|0]=0,f[e+5|0]=0,f[e+6|0]=0,f[e+7|0]=0,b[(e=r+788|0)>>2]=0,b[e+4>>2]=0,b[(e=r+780|0)>>2]=0,b[e+4>>2]=0,b[(e=r+772|0)>>2]=0,b[e+4>>2]=0,b[r+964>>2]=0,b[(e=r+956|0)>>2]=0,b[e+4>>2]=0,b[(e=r+948|0)>>2]=0,b[e+4>>2]=0,b[(e=r+940|0)>>2]=0,b[e+4>>2]=0,b[(e=r+932|0)>>2]=0,b[e+4>>2]=0,b[(e=r+924|0)>>2]=0,b[e+4>>2]=0,b[(e=r+916|0)>>2]=0,b[e+4>>2]=0,b[(e=r+908|0)>>2]=0,b[e+4>>2]=0,f[r+1032|0]=0,b[r+1028>>2]=0,f[r+1024|0]=0,b[r+1020>>2]=0,f[r+1016|0]=0,b[r+1012>>2]=0,f[r+1008|0]=0,b[(e=r+1e3|0)>>2]=0,b[e+4>>2]=1036831949,f[r+996|0]=0,b[r+992>>2]=0,b[(e=r+984|0)>>2]=0,b[e+4>>2]=1063675494,b[(e=r+976|0)>>2]=0,b[e+4>>2]=1045220557,b[r+968>>2]=1065353216,b[r+972>>2]=-1082130432,b[r+1052>>2]=0,b[(e=r+1044|0)>>2]=0,b[e+4>>2]=0,b[(e=r+1036|0)>>2]=0,b[e+4>>2]=0,f[r+1120|0]=0,b[r+1116>>2]=0,f[r+1112|0]=0,b[r+1108>>2]=0,f[r+1104|0]=0,b[r+1100>>2]=0,f[r+1096|0]=0,b[(e=r+1088|0)>>2]=0,b[e+4>>2]=1036831949,f[r+1084|0]=0,b[r+1080>>2]=0,b[(e=r+1072|0)>>2]=0,b[e+4>>2]=1063675494,b[(e=r+1064|0)>>2]=0,b[e+4>>2]=1045220557,b[(e=r+1056|0)>>2]=1065353216,b[e+4>>2]=-1082130432,b[r+1140>>2]=0,b[(e=r+1132|0)>>2]=0,b[e+4>>2]=0,b[(e=r+1124|0)>>2]=0,b[e+4>>2]=0,f[r+1208|0]=0,b[r+1204>>2]=0,f[r+1200|0]=0,b[r+1196>>2]=0,f[r+1192|0]=0,b[r+1188>>2]=0,f[r+1184|0]=0,b[(e=r+1176|0)>>2]=0,b[e+4>>2]=1036831949,f[r+1172|0]=0,b[r+1168>>2]=0,b[(e=r+1160|0)>>2]=0,b[e+4>>2]=1063675494,b[(e=r+1152|0)>>2]=0,b[e+4>>2]=1045220557,b[(e=r+1144|0)>>2]=1065353216,b[e+4>>2]=-1082130432,b[r+1228>>2]=0,b[(e=r+1220|0)>>2]=0,b[e+4>>2]=0,b[(e=r+1212|0)>>2]=0,b[e+4>>2]=0,b[r+1456>>2]=0,b[r+1232>>2]=C,Ka(r,b[r+28>>2]+4|0,b[r+32>>2]+4|0),r}function Ka(r,e,i){var a=B(0),n=B(0),t=B(0),C=B(0),g=B(0),d=B(0),_=B(0),R=B(0),m=B(0),h=B(0),Q=B(0),D=B(0),w=B(0),Z=B(0),Y=B(0),W=B(0),F=B(0),E=B(0),j=B(0),BA=B(0),Be=B(0),ui=B(0),gi=B(0),Ri=B(0);gi=v[e+52>>2],Ri=v[e+56>>2],h=v[r+96>>2],Q=v[r+100>>2],D=v[r+104>>2],a=v[e+20>>2],n=v[e+24>>2],w=v[r- -64>>2],Z=v[r+80>>2],Y=v[r+52>>2],W=v[r+68>>2],F=v[r+84>>2],E=v[r+56>>2],t=v[e+36>>2],j=v[r+72>>2],C=v[e+40>>2],BA=v[r+88>>2],ui=v[e+48>>2],g=v[e+8>>2],d=v[e>>2],_=v[e+4>>2],R=v[e+16>>2],Be=v[r+48>>2],m=v[e+32>>2],b[r+1296>>2]=0,b[r+1280>>2]=0,b[r+1264>>2]=0,b[r+1248>>2]=0,v[r+1276>>2]=B(B(E*m)+B(j*t))+B(BA*C),v[r+1272>>2]=B(B(Y*m)+B(W*t))+B(F*C),v[r+1268>>2]=B(B(Be*m)+B(w*t))+B(Z*C),v[r+1260>>2]=B(B(E*R)+B(j*a))+B(BA*n),v[r+1256>>2]=B(B(Y*R)+B(W*a))+B(F*n),v[r+1252>>2]=B(B(Be*R)+B(w*a))+B(Z*n),v[r+1244>>2]=B(B(d*E)+B(_*j))+B(g*BA),v[r+1240>>2]=B(B(d*Y)+B(_*W))+B(g*F),v[r+1236>>2]=B(B(Be*d)+B(w*_))+B(Z*g),v[r+1292>>2]=Ri+B(B(B(m*h)+B(t*Q))+B(C*D)),v[r+1288>>2]=gi+B(B(B(R*h)+B(a*Q))+B(n*D)),v[r+1284>>2]=ui+B(B(B(d*h)+B(_*Q))+B(g*D)),gi=v[i+52>>2],Ri=v[i+56>>2],h=v[r+160>>2],Q=v[r+164>>2],D=v[r+168>>2],a=v[i+20>>2],n=v[i+24>>2],w=v[r+128>>2],Z=v[r+144>>2],Y=v[r+116>>2],W=v[r+132>>2],F=v[r+148>>2],E=v[r+120>>2],j=v[r+136>>2],t=v[i+36>>2],BA=v[r+152>>2],C=v[i+40>>2],ui=v[i+48>>2],g=v[i+8>>2],d=v[i>>2],_=v[i+4>>2],R=v[i+16>>2],Be=v[r+112>>2],m=v[i+32>>2],b[r+1360>>2]=0,b[r+1344>>2]=0,b[r+1328>>2]=0,b[r+1312>>2]=0,v[r+1340>>2]=B(B(E*m)+B(j*t))+B(BA*C),v[r+1336>>2]=B(B(Y*m)+B(W*t))+B(F*C),v[r+1332>>2]=B(B(Be*m)+B(w*t))+B(Z*C),v[r+1324>>2]=B(B(E*R)+B(j*a))+B(BA*n),v[r+1320>>2]=B(B(Y*R)+B(W*a))+B(F*n),v[r+1316>>2]=B(B(Be*R)+B(w*a))+B(Z*n),v[r+1308>>2]=B(B(d*E)+B(_*j))+B(g*BA),v[r+1304>>2]=B(B(d*Y)+B(_*W))+B(g*F),v[r+1300>>2]=B(B(Be*d)+B(w*_))+B(Z*g),v[r+1356>>2]=Ri+B(B(B(m*h)+B(t*Q))+B(C*D)),v[r+1352>>2]=gi+B(B(B(R*h)+B(a*Q))+B(n*D)),v[r+1348>>2]=ui+B(B(B(d*h)+B(_*Q))+B(g*D)),function(r){var e=B(0),i=B(0),a=B(0),f=B(0),n=B(0),t=0,C=B(0),g=B(0),d=B(0),_=B(0),R=B(0),m=B(0),h=B(0),G=B(0),y=B(0),Q=B(0),p=B(0);if(b[r+1440>>2]=0,C=v[r+1256>>2],g=v[r+1276>>2],d=v[r+1260>>2],_=v[r+1272>>2],Q=B(B(C*g)-B(d*_)),i=v[r+1236>>2],a=v[r+1240>>2],R=v[r+1268>>2],m=v[r+1252>>2],p=B(B(d*R)-B(g*m)),n=B(B(_*m)-B(C*R)),f=v[r+1244>>2],e=B(B(1)/B(B(B(Q*i)+B(a*p))+B(n*f))),h=B(v[r+1356>>2]-v[r+1292>>2]),G=B(v[r+1348>>2]-v[r+1284>>2]),y=B(v[r+1352>>2]-v[r+1288>>2]),n=B(B(h*B(B(B(C*i)-B(m*a))*e))+B(B(G*B(n*e))+B(y*B(B(B(R*a)-B(_*i))*e)))),v[r+1436>>2]=n,i=B(B(h*B(B(B(m*f)-B(d*i))*e))+B(B(G*B(p*e))+B(y*B(B(B(g*i)-B(R*f))*e)))),v[r+1432>>2]=i,e=B(B(h*B(B(B(d*a)-B(C*f))*e))+B(B(G*B(Q*e))+B(y*B(B(B(_*f)-B(g*a))*e)))),v[r+1428>>2]=e,v[r+940>>2]=e,(a=v[r+680>>2])>(f=v[r+696>>2])?b[r+908>>2]=0:(v[r+908>>2]=e-a,t=3,a!=f&&(v[r+924>>2]=e-f,t=4)),v[r+944>>2]=i,b[r+956>>2]=t,(e=v[r+684>>2])>(a=v[r+700>>2])?(b[r+912>>2]=0,t=0):(v[r+912>>2]=i-e,t=3,e!=a&&(v[r+928>>2]=i-a,t=4)),v[r+948>>2]=n,b[r+960>>2]=t,(e=v[r+688>>2])>(i=v[r+704>>2]))return b[r+916>>2]=0,void(b[r+964>>2]=0);v[r+916>>2]=n-e,e!=i?(v[r+932>>2]=n-i,b[r+964>>2]=4):b[r+964>>2]=3}(r),function(r){var e,i,a=B(0),f=B(0),n=B(0),t=B(0),C=B(0),g=B(0),d=B(0),_=B(0),R=B(0),m=B(0),h=B(0),Q=B(0),D=B(0),w=0,Z=B(0),Y=B(0),W=B(0),F=B(0),E=B(0),j=B(0),BA=B(0),Be=B(0),ui=B(0),gi=B(0),Ri=B(0);N=e=N-48|0,h=v[r+1332>>2],Z=v[r+1316>>2],Y=v[r+1336>>2],W=v[r+1304>>2],F=v[r+1320>>2],E=v[r+1340>>2],j=v[r+1308>>2],BA=v[r+1324>>2],C=v[r+1244>>2],m=v[r+1256>>2],g=v[r+1272>>2],d=v[r+1240>>2],n=v[r+1268>>2],_=v[r+1260>>2],t=v[r+1252>>2],R=v[r+1276>>2],Be=v[r+1300>>2],a=v[r+1236>>2],b[e+44>>2]=0,b[e+28>>2]=0,Ri=B(B(m*R)-B(_*g)),Q=B(B(_*n)-B(R*t)),D=B(B(g*t)-B(m*n)),f=B(B(1)/B(B(B(a*Ri)+B(d*Q))+B(D*C))),D=B(D*f),ui=B(B(B(n*d)-B(g*a))*f),gi=B(B(B(m*a)-B(t*d))*f),v[e+40>>2]=B(B(j*D)+B(BA*ui))+B(E*gi),v[e+36>>2]=B(B(W*D)+B(ui*F))+B(gi*Y),Q=B(Q*f),n=B(B(B(R*a)-B(n*C))*f),a=B(B(B(t*C)-B(_*a))*f),v[e+24>>2]=B(B(j*Q)+B(BA*n))+B(E*a),v[e+20>>2]=B(B(W*Q)+B(n*F))+B(a*Y),b[e+12>>2]=0,v[e+32>>2]=B(h*gi)+B(B(Be*D)+B(Z*ui)),v[e+16>>2]=B(h*a)+B(B(Be*Q)+B(Z*n)),a=B(Ri*f),g=B(B(B(g*C)-B(R*d))*f),f=B(B(B(_*d)-B(m*C))*f),v[e+8>>2]=B(B(j*a)+B(BA*g))+B(E*f),v[e+4>>2]=B(B(a*W)+B(g*F))+B(f*Y),v[e>>2]=B(h*f)+B(B(Be*a)+B(Z*g)),i=r;A:{r:{e:{i:{a:{f:{n:{if((w=b[r+1232>>2])>>>0<=5){t:{switch(w-1|0){default:!function(r,e){var i=B(0),a=B(0),f=0,n=B(0);b:{if((i=v[r+32>>2])B(-1)))break b;return f=e,n=Ci(B(-v[r+36>>2]),v[r+40>>2]),v[f>>2]=n,f=e,n=Ea(B(G(B(y(v[r+32>>2],B(-1))),B(1)))),v[f+4>>2]=n,f=e,n=Ci(B(-v[r+16>>2]),v[r>>2]),void(v[f+8>>2]=n)}return i=v[r+20>>2],a=v[r+4>>2],b[e+4>>2]=1070141403,f=e,n=Ci(a,i),v[f>>2]=n,void(v[e+8>>2]=0)}i=v[r+20>>2],a=v[r+4>>2],b[e+4>>2]=-1077342245,f=e,n=B(-Ci(a,i)),v[f>>2]=n,v[e+8>>2]=0}(e,r+1364|0);break t;case 0:!function(r,e){var i=B(0),a=B(0),f=0,n=B(0);b:{if((i=v[r+16>>2])B(-1)))break b;return f=e,n=Ci(v[r+24>>2],v[r+20>>2]),v[f>>2]=n,f=e,n=Ci(v[r+32>>2],v[r>>2]),v[f+4>>2]=n,f=e,n=Ea(B(G(B(y(B(-v[r+16>>2]),B(-1))),B(1)))),void(v[f+8>>2]=n)}return i=v[r+40>>2],a=v[r+8>>2],b[e+4>>2]=0,f=e,n=Ci(B(-a),i),v[f>>2]=n,void(v[e+8>>2]=-1.5707963705062866)}i=v[r+40>>2],a=v[r+8>>2],b[e+4>>2]=0,f=e,n=B(-Ci(B(-a),i)),v[f>>2]=n,v[e+8>>2]=1.5707963705062866}(e,r+1364|0);break t;case 1:!function(r,e){var i=B(0),a=0,f=B(0);b:{if((i=v[r+36>>2])B(-1)))break b;return a=e,f=Ea(B(G(B(y(B(-i),B(-1))),B(1)))),v[a>>2]=f,a=e,f=Ci(v[r+32>>2],v[r+40>>2]),v[a+4>>2]=f,a=e,f=Ci(v[r+4>>2],v[r+20>>2]),void(v[a+8>>2]=f)}return b[e>>2]=-1077342245,a=e,f=Ci(B(-v[r+16>>2]),v[r>>2]),v[a+4>>2]=f,void(v[e+8>>2]=0)}b[e>>2]=1070141403,a=e,f=B(-Ci(B(-v[r+16>>2]),v[r>>2])),v[a+4>>2]=f,v[e+8>>2]=0}(e,r+1364|0);break t;case 2:!function(r,e){var i=B(0),a=0,f=B(0);b:{if((i=v[r+4>>2])B(-1)))break b;return a=e,f=Ci(B(-v[r+36>>2]),v[r+20>>2]),v[a>>2]=f,a=e,f=Ci(B(-v[r+8>>2]),v[r>>2]),v[a+4>>2]=f,a=e,f=Ea(B(G(B(y(v[r+4>>2],B(-1))),B(1)))),void(v[a+8>>2]=f)}return b[e>>2]=0,a=e,f=Ci(v[r+24>>2],v[r+40>>2]),v[a+4>>2]=f,void(v[e+8>>2]=1.5707963705062866)}b[e>>2]=0,a=e,f=B(-Ci(v[r+24>>2],v[r+40>>2])),v[a+4>>2]=f,v[e+8>>2]=-1.5707963705062866}(e,r+1364|0);break t;case 3:!function(r,e){var i=B(0),a=0,f=B(0);b:{if((i=v[r+24>>2])B(-1)))break b;return a=e,f=Ea(B(G(B(y(i,B(-1))),B(1)))),v[a>>2]=f,a=e,f=Ci(B(-v[r+8>>2]),v[r+40>>2]),v[a+4>>2]=f,a=e,f=Ci(B(-v[r+16>>2]),v[r+20>>2]),void(v[a+8>>2]=f)}return b[e>>2]=1070141403,b[e+4>>2]=0,a=e,f=Ci(v[r+32>>2],v[r>>2]),void(v[a+8>>2]=f)}b[e>>2]=-1077342245,b[e+4>>2]=0,a=e,f=B(-Ci(v[r+32>>2],v[r>>2])),v[a+8>>2]=f}(e,r+1364|0);break t;case 4:}!function(r,e){var i=B(0),a=0,f=B(0);b:{if((i=v[r+8>>2])B(-1)))break b;return a=e,f=Ci(v[r+24>>2],v[r+40>>2]),v[a>>2]=f,a=e,f=Ea(B(G(B(y(B(-v[r+8>>2]),B(-1))),B(1)))),v[a+4>>2]=f,a=e,f=Ci(v[r+4>>2],v[r>>2]),void(v[a+8>>2]=f)}return b[e>>2]=0,b[e+4>>2]=-1077342245,a=e,f=Ci(B(-v[r+16>>2]),B(-v[r+32>>2])),void(v[a+8>>2]=f)}b[e>>2]=0,b[e+4>>2]=1070141403,a=e,f=B(-Ci(v[r+16>>2],v[r+32>>2])),v[a+8>>2]=f}(e,r+1364|0)}w=b[r+1232>>2]}if(w>>>0<=5){switch(w-1|0){case 4:break e;case 3:break i;case 2:break a;case 1:break f;case 0:break n}b[r+1408>>2]=0,b[r+1424>>2]=0,b[r+1392>>2]=0,f=v[r+1316>>2],t=v[r+1244>>2],g=v[r+1300>>2],R=v[r+1260>>2],C=B(B(f*t)-B(g*R)),v[r+1404>>2]=C,h=v[r+1276>>2],n=v[r+1332>>2],d=B(B(g*h)-B(t*n)),v[r+1400>>2]=d,a=B(B(n*R)-B(f*h)),v[r+1396>>2]=a,m=B(B(g*d)-B(f*a)),v[r+1420>>2]=m,g=B(B(n*a)-B(g*C)),v[r+1416>>2]=g,n=B(B(f*C)-B(n*d)),v[r+1412>>2]=n,_=B(B(R*a)-B(t*d)),v[r+1388>>2]=_,t=B(B(t*C)-B(h*a)),v[r+1384>>2]=t,f=B(B(h*d)-B(R*C));break r}m=v[r+1420>>2],g=v[r+1416>>2],n=v[r+1412>>2],C=v[r+1404>>2],d=v[r+1400>>2],a=v[r+1396>>2],_=v[r+1388>>2],t=v[r+1384>>2],f=v[r+1380>>2];break A}b[r+1424>>2]=0,b[r+1408>>2]=0,b[r+1392>>2]=0,f=v[r+1300>>2],R=v[r+1256>>2],a=v[r+1316>>2],t=v[r+1240>>2],m=B(B(f*R)-B(a*t)),v[r+1420>>2]=m,_=v[r+1332>>2],h=v[r+1272>>2],g=B(B(t*_)-B(f*h)),v[r+1416>>2]=g,n=B(B(a*h)-B(_*R)),v[r+1412>>2]=n,C=B(B(a*n)-B(f*g)),v[r+1404>>2]=C,d=B(B(f*m)-B(_*n)),v[r+1400>>2]=d,a=B(B(_*g)-B(a*m)),v[r+1396>>2]=a,_=B(B(t*g)-B(R*n)),v[r+1388>>2]=_,t=B(B(h*n)-B(t*m)),v[r+1384>>2]=t,f=B(B(R*m)-B(h*g));break r}b[r+1424>>2]=0,b[r+1408>>2]=0,b[r+1392>>2]=0,C=v[r+1304>>2],a=v[r+1260>>2],d=v[r+1320>>2],R=v[r+1244>>2],_=B(B(C*a)-B(d*R)),v[r+1388>>2]=_,n=v[r+1336>>2],h=v[r+1276>>2],t=B(B(R*n)-B(C*h)),v[r+1384>>2]=t,f=B(B(d*h)-B(n*a)),v[r+1380>>2]=f,m=B(B(d*f)-B(C*t)),v[r+1420>>2]=m,g=B(B(C*_)-B(n*f)),v[r+1416>>2]=g,n=B(B(n*t)-B(d*_)),v[r+1412>>2]=n,C=B(B(R*t)-B(a*f)),v[r+1404>>2]=C,d=B(B(h*f)-B(R*_)),v[r+1400>>2]=d,a=B(B(a*_)-B(h*t)),v[r+1396>>2]=a;break A}b[r+1424>>2]=0,b[r+1408>>2]=0,b[r+1392>>2]=0,f=v[r+1236>>2],R=v[r+1320>>2],a=v[r+1252>>2],t=v[r+1304>>2],m=B(B(f*R)-B(a*t)),v[r+1420>>2]=m,_=v[r+1268>>2],h=v[r+1336>>2],g=B(B(t*_)-B(f*h)),v[r+1416>>2]=g,n=B(B(a*h)-B(_*R)),v[r+1412>>2]=n,C=B(B(a*n)-B(f*g)),v[r+1404>>2]=C,d=B(B(f*m)-B(_*n)),v[r+1400>>2]=d,a=B(B(_*g)-B(a*m)),v[r+1396>>2]=a,_=B(B(t*g)-B(R*n)),v[r+1388>>2]=_,t=B(B(h*n)-B(t*m)),v[r+1384>>2]=t,f=B(B(R*m)-B(h*g));break r}b[r+1424>>2]=0,b[r+1408>>2]=0,b[r+1392>>2]=0,C=v[r+1240>>2],a=v[r+1324>>2],d=v[r+1256>>2],R=v[r+1308>>2],_=B(B(C*a)-B(d*R)),v[r+1388>>2]=_,n=v[r+1272>>2],h=v[r+1340>>2],t=B(B(R*n)-B(C*h)),v[r+1384>>2]=t,f=B(B(d*h)-B(n*a)),v[r+1380>>2]=f,m=B(B(d*f)-B(C*t)),v[r+1420>>2]=m,g=B(B(C*_)-B(n*f)),v[r+1416>>2]=g,n=B(B(n*t)-B(d*_)),v[r+1412>>2]=n,C=B(B(R*t)-B(a*f)),v[r+1404>>2]=C,d=B(B(h*f)-B(R*_)),v[r+1400>>2]=d,a=B(B(a*_)-B(h*t)),v[r+1396>>2]=a;break A}b[r+1408>>2]=0,b[r+1424>>2]=0,b[r+1392>>2]=0,f=v[r+1252>>2],t=v[r+1308>>2],g=v[r+1236>>2],R=v[r+1324>>2],C=B(B(f*t)-B(g*R)),v[r+1404>>2]=C,h=v[r+1340>>2],n=v[r+1268>>2],d=B(B(g*h)-B(t*n)),v[r+1400>>2]=d,a=B(B(n*R)-B(f*h)),v[r+1396>>2]=a,m=B(B(g*d)-B(f*a)),v[r+1420>>2]=m,g=B(B(n*a)-B(g*C)),v[r+1416>>2]=g,n=B(B(f*C)-B(n*d)),v[r+1412>>2]=n,_=B(B(R*a)-B(t*d)),v[r+1388>>2]=_,t=B(B(t*C)-B(h*a)),v[r+1384>>2]=t,f=B(B(h*d)-B(R*C))}v[i+1380>>2]=f}R=m,m=B(B(1)/B(p(B(B(B(n*n)+B(g*g))+B(m*m))))),v[r+1420>>2]=R*m,v[r+1416>>2]=g*m,v[r+1412>>2]=n*m,m=C,C=B(B(1)/B(p(B(B(B(a*a)+B(d*d))+B(C*C))))),v[r+1404>>2]=m*C,v[r+1400>>2]=d*C,v[r+1396>>2]=a*C,C=B(B(1)/B(p(B(B(B(f*f)+B(t*t))+B(_*_))))),v[r+1388>>2]=_*C,v[r+1384>>2]=t*C,v[r+1380>>2]=f*C,N=e+48|0}(r),n=v[b[r+28>>2]+404>>2],a=v[b[r+32>>2]+404>>2],f[r+1452|0]=nB(0)?B(ui/a):B(.5),v[r+1444>>2]=a,v[r+1448>>2]=B(1)-a}function qa(r,e){var i,a=B(0),f=B(0),n=B(0),t=B(0),C=B(0);f=v[1364+((e<<2)+r|0)>>2],i=R(e,88)+r|0;A:if(!((n=v[i+968>>2])>=(t=v[i+972>>2]))){r:{e:{i:{a:{if(ft))break A;if(!((a=Wa(B(f-t)))B(3.1415927410125732)&&(a=B(a+B(-6.2831854820251465)))}C=B(m(a)),(a=Wa(B(t-f)))B(3.1415927410125732)&&(a=B(a+B(-6.2831854820251465))),f=CB(3.1415927410125732)&&(a=B(a+B(-6.2831854820251465)))}C=B(m(a)),(a=Wa(B(f-n)))B(3.1415927410125732)&&(a=B(a+B(-6.2831854820251465))),f=B(m(a))>2]=f,n>t)return r=R(e,88)+r|0,b[r+1040>>2]=0,void(b[r+1052>>2]=0);r=R(e,88)+r|0,v[r+1040>>2]=f-n,n!=t?(b[r+1052>>2]=4,v[r+1044>>2]=f-t):b[r+1052>>2]=3}function $a(r,e,i,a,f,n,t,g,d,_,m,h,Q){var D=B(0),w=B(0),Z=B(0),Y=0,W=0,F=B(0),E=B(0),N=B(0),j=B(0),BA=B(0),Be=B(0);_=R(b[d+24>>2],_);A:{r:{e:{i:{if(3!=(0|(Y=b[e+84>>2]))){if(4!=(0|Y))break A;if(!h)break i;F=v[t+8>>2],E=v[t>>2],N=v[t+4>>2],BA=v[g+8>>2],w=v[m+8>>2],Be=v[g>>2],D=v[m>>2],j=v[g+4>>2],Z=v[m+4>>2],Af(r,i,a,d,_,m,h,Q),w=B(B(B(B(E*D)+B(N*Z))+B(F*w))-B(B(B(D*Be)+B(Z*j))+B(w*BA)));break e}Af(r,i,a,d,_,m,h,Q),v[(Y=_<<2)+b[d+28>>2]>>2]=B(B(v[d>>2]*v[e+12>>2])*v[e+72>>2])*B(0|(h?-1:1)),b[Y+b[d+36>>2]>>2]=-8388609,b[Y+b[d+40>>2]>>2]=2139095039,Y=e+16|0,W=1;break r}F=v[f+8>>2],E=v[f>>2],N=v[f+4>>2],BA=v[n+8>>2],w=v[m+8>>2],Be=v[n>>2],D=v[m>>2],j=v[n+4>>2],Z=v[m+4>>2],Af(r,i,a,d,_,m,0,Q),w=B(B(B(B(E*D)+B(N*Z))+B(F*w))-B(B(B(D*Be)+B(Z*j))+B(w*BA)))}W=b[d+28>>2]+(_<<2)|0,F=B(0|(h?-1:1)),D=B(B(B(v[d>>2]*v[e+12>>2])*v[e+72>>2])*F),v[W>>2]=D,Z=B(D-B(w*v[e+12>>2]));e:if(h){if(!(Z>B(0)))break e;if(!((Z=D)<(D=B(-B(w*v[e+8>>2])))))break e;v[W>>2]=D}else Z>2])),Z>D&&(v[W>>2]=D));v[(W=_<<2)+b[d+36>>2]>>2]=B(h?0:-34028234663852886e22),v[W+b[d+40>>2]>>2]=B(h?34028234663852886e22:0),b[W+b[d+32>>2]>>2]=b[e+16>>2],Af(r,i,a,d,_=b[d+24>>2]+_|0,m,h,Q),W=b[d+28>>2]+(_<<2)|0,Y=e+12|0,D=B(B(B(v[d>>2]*v[Y>>2])*v[e+76>>2])*F),v[W>>2]=D,Z=B(D-B(w*v[Y>>2])),Y=e+16|0;e:if(h){if(!(Z(w=B(-B(w*v[e+8>>2])))))break e;v[W>>2]=w}else Z>B(0)&&(w=B(-B(w*v[e+8>>2])),D>2]=w));v[(W=_<<2)+b[d+36>>2]>>2]=B(h?-34028234663852886e22:0),v[W+b[d+40>>2]>>2]=B(h?0:34028234663852886e22),W=2}b[b[d+32>>2]+(_<<2)>>2]=b[Y>>2],_=b[d+24>>2]+_|0}return C[e+28|0]&&(!C[e+40|0]&&(Af(r,i,a,d,_,m,h,Q),w=v[e+32>>2],w=Za(v[e+80>>2],v[e>>2],v[e+4>>2],h?w:B(-w),B(v[d>>2]*v[e+20>>2])),v[(Y=_<<2)+b[d+28>>2]>>2]=w*v[e+32>>2],v[Y+b[d+36>>2]>>2]=-v[e+36>>2],b[Y+b[d+40>>2]>>2]=b[e+36>>2],b[Y+b[d+32>>2]>>2]=b[e+24>>2],W=W+1|0,_=b[d+24>>2]+_|0,!C[e+28|0]|!C[e+40|0])||(D=v[e+44>>2],w=B(v[e+80>>2]-D),h&&(D=(Y=w>B(3.1415927410125732))?B(D+B(6.2831854820251465)):D,(w=Y?B(w+B(-6.2831854820251465)):w)>2],E=w>2],(Z=v[e>>2])>(F=v[e+4>>2])?(F=wB(0)?D:B(-34028234663852886e22)):(F=wB(0)&&D>Z?D:Z),Z=Za(j,D,F,N,B(v[d>>2]*v[e+20>>2]))),v[(Y=_<<2)+b[d+28>>2]>>2]=B(E*Z)*B(0|(h?-1:1)),v[Y+b[d+36>>2]>>2]=-v[e+36>>2],b[Y+b[d+40>>2]>>2]=b[e+36>>2],b[Y+b[d+32>>2]>>2]=b[e+24>>2],W=W+1|0,_=b[d+24>>2]+_|0)),C[e+48|0]&&(j=v[e+68>>2],D=v[e+80>>2],Af(r,i,a,d,_,m,h,Q),w=v[d>>2],Z=v[e+52>>2],F=v[e+60>>2],j=B(D-j),h?(BA=v[m+8>>2],Be=B(v[t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)-B(D*Q)),v[t+8>>2]=Y,w=B(v[r+1292>>2]-v[e+56>>2]),Z=G,G=v[n+8>>2],W=B(B(Q*w)-B(Z*G)),v[t+4>>2]=W,w=B(B(D*G)-B(w*y)),v[t>>2]=w,F=B(v[r+1348>>2]-v[i+48>>2]),E=B(v[r+1352>>2]-v[i+52>>2]),D=B(B(y*F)-B(Q*E)),Z=B(v[r+1356>>2]-v[i+56>>2]),Q=B(B(Q*Z)-B(F*G)),y=B(B(E*G)-B(Z*y)),!C[r+1452|0]|g||(G=v[r+1444>>2],v[t+8>>2]=Y*G,v[t+4>>2]=W*G,v[t>>2]=w*G,G=v[r+1448>>2],D=B(D*G),Q=B(Q*G),y=B(y*G)),e=b[t+4>>2],r=(i=f<<2)+b[a+12>>2]|0,b[r>>2]=b[t>>2],b[r+4>>2]=e,b[r+8>>2]=b[t+8>>2],r=b[a+20>>2],v[r+i>>2]=-y,v[r+(_<<2)>>2]=-Q,v[r+(m<<2)>>2]=-D)}function rf(r){b[(r|=0)>>2]=22472,gA(r)}function ef(r){return B(v[(r|=0)>>2])}function af(r){return B(v[(r|=0)+4>>2])}function ff(r){return B(v[(r|=0)+8>>2])}function nf(r){return(r|=0)+48|0}function tf(r,e){var i,a=B(0),f=0,n=0,t=B(0),C=0,g=B(0),d=0,_=0,R=B(0);i=N-16|0,a=v[r>>2],g=v[r+20>>2],t=v[r+40>>2],(R=B(B(a+g)+t))>B(0)?(g=B(p(B(R+B(1)))),a=B(B(.5)/g),t=B(a*B(v[r+16>>2]-v[r+4>>2])),v[i+8>>2]=t,l(t),f=o(0),t=B(a*B(v[r+8>>2]-v[r+32>>2])),v[i+4>>2]=t,a=B(a*B(v[r+36>>2]-v[r+24>>2])),v[i>>2]=a,l(a),r=o(0),a=B(g*B(.5)),v[i+12>>2]=a,l(a),n=o(0),l(t),C=o(0)):(C=(f=a>>0)%3|0)<<4)+r|0,n<<=2,f=r+((r=(f+2>>>0)%3|0)<<4)|0,r<<=2,a=B(p(B(B(B(v[C+d>>2]-v[_+n>>2])-v[f+r>>2])+B(1)))),v[(C|i)>>2]=a*B(.5),a=B(B(.5)/a),v[i+12>>2]=B(v[f+n>>2]-v[r+_>>2])*a,v[(i|n)>>2]=a*B(v[C+_>>2]+v[n+d>>2]),v[(r|i)>>2]=a*B(v[f+C>>2]+v[r+d>>2]),n=b[i+12>>2],f=b[i+8>>2],r=b[i>>2],C=b[i+4>>2]),b[e+12>>2]=n,b[e+8>>2]=f,b[e+4>>2]=C,b[e>>2]=r}function bf(r){(r|=0)&&BA[b[b[r>>2]+4>>2]](r)}function of(r,e){e|=0,b[(r|=0)+12>>2]=e}function kf(r,e){r|=0,e=B(e),v[r+4>>2]=e}function cf(r,e){e|=0,b[(r|=0)+8>>2]=e}function uf(r){return(r|=0)+24|0}function lf(r){var e;(e=b[(r|=0)+12>>2])&&(C[r+16|0]&&gA(e),b[r+12>>2]=0),f[r+16|0]=1,b[r+12>>2]=0,b[(r=r+4|0)>>2]=0,b[r+4>>2]=0}function sf(r){return(r|=0)+32|0}function df(r){return(r|=0)- -64|0}function vf(r){return 0|BA[b[b[(r|=0)>>2]+36>>2]](r)}function Cf(r,e){e|=0,BA[b[b[(r|=0)>>2]+60>>2]](r,e)}function gf(r,e,i){var a=B(0),f=B(0),n=B(0),t=B(0),b=0,C=B(0),g=B(0),d=B(0),_=B(0),R=B(0),m=B(0),h=B(0),G=B(0),y=B(0),Q=B(0),p=B(0);(a=v[r+404>>2])!=B(0)&&(n=v[e+8>>2],f=v[e+4>>2],t=v[r+408>>2],v[r+372>>2]=B(a*B(v[e>>2]*t))+v[r+372>>2],b=r+376|0,C=f,f=v[r+412>>2],v[b>>2]=B(a*B(C*f))+v[b>>2],b=r+380|0,C=a,a=v[r+416>>2],v[b>>2]=B(C*B(n*a))+v[b>>2],_=v[r+612>>2],R=v[r+364>>2],m=v[r+356>>2],h=v[r+360>>2],G=v[r+608>>2],y=v[r+348>>2],Q=v[r+340>>2],p=v[r+344>>2],d=v[i+4>>2],n=B(a*v[e+8>>2]),f=B(f*v[e+4>>2]),g=v[i+8>>2],a=B(B(d*n)-B(f*g)),t=B(t*v[e>>2]),C=B(t*g),g=v[i>>2],n=B(C-B(n*g)),f=B(B(f*g)-B(t*d)),v[r+388>>2]=B(B(B(B(v[r+324>>2]*a)+B(v[r+328>>2]*n))+B(f*v[r+332>>2]))*v[r+604>>2])+v[r+388>>2],v[(e=r+392|0)>>2]=B(G*B(B(B(a*Q)+B(n*p))+B(f*y)))+v[e>>2],v[(r=r+396|0)>>2]=B(_*B(B(B(a*m)+B(n*h))+B(f*R)))+v[r>>2])}function _f(r){var e=0,i=0;return b[(r|=0)>>2]=24380,(i=b[(e=r+128|0)>>2])&&(C[r+132|0]&&gA(i),b[r+128>>2]=0),b[e>>2]=0,f[r+132|0]=1,b[(e=r+120|0)>>2]=0,b[e+4>>2]=0,(i=b[(e=r+108|0)>>2])&&(C[r+112|0]&&gA(i),b[r+108>>2]=0),b[e>>2]=0,f[r+112|0]=1,b[(e=r+100|0)>>2]=0,b[e+4>>2]=0,(i=b[(e=r+88|0)>>2])&&(C[r+92|0]&&gA(i),b[r+88>>2]=0),b[e>>2]=0,f[r+92|0]=1,b[(e=r+80|0)>>2]=0,b[e+4>>2]=0,(i=b[(e=r+36|0)>>2])&&(C[r+40|0]&&gA(i),b[r+36>>2]=0),b[e>>2]=0,f[r+40|0]=1,b[(e=r+28|0)>>2]=0,b[e+4>>2]=0,0|r}function Bf(r){var e=0,i=0;return b[(r|=0)>>2]=24604,(i=b[(e=r+120|0)>>2])&&(C[r+124|0]&&gA(i),b[r+120>>2]=0),b[e>>2]=0,f[r+124|0]=1,b[(e=r+112|0)>>2]=0,b[e+4>>2]=0,(i=b[(e=r+100|0)>>2])&&(C[r+104|0]&&gA(i),b[r+100>>2]=0),b[e>>2]=0,f[r+104|0]=1,b[(e=r+92|0)>>2]=0,b[e+4>>2]=0,(i=b[(e=r+80|0)>>2])&&(C[r+84|0]&&gA(i),b[r+80>>2]=0),b[e>>2]=0,f[r+84|0]=1,b[(e=r+72|0)>>2]=0,b[e+4>>2]=0,(i=b[(e=r+28|0)>>2])&&(C[r+32|0]&&gA(i),b[r+28>>2]=0),b[e>>2]=0,f[r+32|0]=1,b[(e=r+20|0)>>2]=0,b[e+4>>2]=0,0|r}function mf(r,e){!function(r,e){t[0]=r,t[1]=e}(0|r,0|e)}function Rf(r,e,i,a){return r=function(r,e,i,a){var f,n,t,b,C=0,g=0;return b=R(C=i>>>16,g=r>>>16),C=(65535&(g=((t=R(f=65535&i,n=65535&r))>>>16)+R(g,f)|0))+R(C,n)|0,r=(((R(e,i)+b|0)+R(r,a)|0)+(g>>>16)|0)+(C>>>16)|0,j=r,e=65535&t|C<<16}(r,e,i,a)}function Gf(r,e,i){return function(r,e,i){var a=0,f=0,n=0,t=0,b=0,C=0,g=0,d=0,v=0;A:{r:{e:{i:{a:{f:{n:{t:{b:{if(f=e){if(!(a=i))break b;break t}return mf((e=r)-R(r=(r>>>0)/(i>>>0)|0,i)|0,0),j=0,r}if(!r)break n;break f}if(!((t=a+-1|0)&a))break a;b=0-(t=(h(a)+33|0)-h(f)|0)|0;break e}return mf(0,f-R(r=(f>>>0)/0|0,0)|0),j=0,r}if((a=32-h(f)|0)>>>0<31)break i;break r}if(mf(r&t,0),1==(0|a))break A;return i=31&(a=a?31-h(a+-1^a)|0:32),32<=(63&a)>>>0?(f=0,r=e>>>i):(f=e>>>i,r=((1<>>i),j=f,r}t=a+1|0,b=63-a|0}if(a=e,n=31&(f=63&t),32<=f>>>0?(f=0,n=a>>>n):(f=a>>>n,n=((1<>>n),a=31&(b&=63),32<=b>>>0?(e=r<>>32-a|e<>>0<4294967295&&(a=0);n=(g=C=n<<1|e>>>31)-(d=i&(C=a-((f=f<<1|n>>>31)+(b>>>0>>0)|0)>>31))|0,f=f-(g>>>0>>0)|0,e=e<<1|r>>>31,r=v|r<<1,v=C&=1,t=t+-1|0;);return mf(n,f),j=e<<1|r>>>31,C|r<<1}mf(r,e),r=0,e=0}return j=e,r}(r,e,i)}function hf(r){var e;return(-1>>>(e=31&r)&-2)<>>r}var BA=[null,function(r){return(r=0|Z(b[(r|=0)+56>>2]))?(b[256]=r,r=-1):r=0,0|r},function(r,e,i){r|=0,e|=0,i|=0;var a,f=0,n=0,t=0,C=0,g=0,d=0;N=a=N-16|0,b[a+12>>2]=i,b[a+8>>2]=e,e=b[r+24>>2],b[a>>2]=e,e=b[r+20>>2]-e|0,b[a+4>>2]=e,t=2;A:{r:{if((0|(C=e+i|0))!=(0|(f=V(b[r+56>>2],a,2))))for(e=a,d=r+56|0;;){if((0|f)<=-1)break r;if(n=f-((g=f>>>0>(n=b[e+4>>2])>>>0)?n:0)|0,b[(e=g?e+8|0:e)>>2]=n+b[e>>2],b[e+4>>2]=b[e+4>>2]-n,t=t-g|0,(0|(C=C-f|0))==(0|(f=V(b[d>>2],e,t))))break}e=b[r+40>>2],b[r+24>>2]=e,b[r+20>>2]=e,b[r+16>>2]=e+b[r+44>>2],r=i;break A}b[r+16>>2]=0,b[r+20>>2]=0,b[r+24>>2]=0,b[r>>2]=32|b[r>>2],r=0,2!=(0|t)&&(r=i-b[e+4>>2]|0)}return N=a+16|0,0|(f=r)},function(r,e,i,a){return e|=0,i|=0,a|=0,0|(r=function(r,e,i,a){var f;return N=f=N-16|0,(r=0|E(0|r,0|e,0|i,255&a,f+8|0))?(b[256]=76==(0|r)?70:r,i=-1,r=-1):(i=b[f+12>>2],r=b[f+8>>2]),N=f+16|0,j=i,r}(b[(r|=0)+56>>2],e,i,a))},function(){D()},function(){var r;N=r=N-16|0,b[r+12>>2]=1568,b[r+12>>2]&&(b[r+8>>2]=b[b[r+12>>2]>>2],b[r+8>>2]&&(b[r+4>>2]=b[r+8>>2]+48,b[12+(N-16|0)>>2]=b[r+4>>2])),function(r){var e;N=e=N-16|0,b[e+12>>2]=r,BA[b[e+12>>2]](),P(5605),D()}($(1560)),D()},iA,aA,aA,function(r){var e;r|=0,N=e=N-16|0,b[e+12>>2]=r,iA(r=b[e+12>>2]),rA(r),N=e+16|0},eA,eA,function(r,e,i){var a;return r|=0,e|=0,i|=0,N=a=N-80|0,b[a+72>>2]=r,b[a+68>>2]=e,b[a+64>>2]=i,1&fA(e=b[a+72>>2],b[a+68>>2],0)?f[a+79|0]=1:(i=a,r=(r=b[a+68>>2])?function(r){var e;if(N=e=N-96|0,b[e+92>>2]=r,b[e+88>>2]=2992,b[e+84>>2]=3004,b[e+80>>2]=0,b[e+76>>2]=b[b[e+92>>2]>>2],b[e+72>>2]=b[b[e+76>>2]+-8>>2],b[e+68>>2]=b[e+92>>2]+b[e+72>>2],b[e+64>>2]=b[b[e+76>>2]+-4>>2],b[e+60>>2]=0,b[e>>2]=b[e+84>>2],b[e+4>>2]=b[e+92>>2],b[e+8>>2]=b[e+88>>2],b[e+12>>2]=b[e+80>>2],b[e+16>>2]=0,b[e+20>>2]=0,b[e+24>>2]=0,b[e+28>>2]=0,b[e+32>>2]=0,b[e+36>>2]=0,b[e+40>>2]=0,b[e+44>>2]=0,b[e+48>>2]=0,f[e+52|0]=0,f[e+53|0]=0,f[e+54|0]=0,1&fA(b[e+64>>2],b[e+84>>2],0))b[e+48>>2]=1,r=b[e+64>>2],BA[b[b[r>>2]+20>>2]](r,e,b[e+68>>2],b[e+68>>2],1,0),1==b[e+24>>2]&&(b[e+60>>2]=b[e+68>>2]);else{r=b[e+64>>2],BA[b[b[r>>2]+24>>2]](r,e,b[e+68>>2],1,0);A:{r:{if(r=b[e+36>>2]){if(1==(0|r))break r;break A}1!=b[e+40>>2]|1!=b[e+28>>2]|1!=b[e+32>>2]||(b[e+60>>2]=b[e+20>>2]);break A}b[e+40>>2]|1!=b[e+28>>2]|1!=b[e+32>>2]&&1!=b[e+24>>2]||(b[e+60>>2]=b[e+16>>2])}}return N=e+96|0,b[e+60>>2]}(r):0,b[i+60>>2]=r,b[a+60>>2]?(b[a>>2]=b[a+60>>2],b[a+4>>2]=0,b[a+8>>2]=e,b[a+12>>2]=-1,b[a+16>>2]=0,b[a+20>>2]=0,b[a+24>>2]=0,b[a+28>>2]=0,b[a+32>>2]=0,b[a+36>>2]=0,b[a+40>>2]=0,b[a+44>>2]=0,b[a+48>>2]=0,f[a+52|0]=0,f[a+53|0]=0,f[a+54|0]=0,b[a+48>>2]=1,r=b[a+60>>2],BA[b[b[r>>2]+28>>2]](r,a,b[b[a+64>>2]>>2],1),1!=b[a+24>>2]?f[a+79|0]=0:(b[b[a+64>>2]>>2]=b[a+16>>2],f[a+79|0]=1)):f[a+79|0]=0),N=a+80|0,1&f[a+79|0]},function(r,e,i,a,n,t){var C;r|=0,e|=0,i|=0,a|=0,n|=0,t|=0,N=C=N-32|0,b[C+28>>2]=r,b[C+24>>2]=e,b[C+20>>2]=i,b[C+16>>2]=a,b[C+12>>2]=n,f[C+11|0]=t,1&fA(r=b[C+28>>2],b[b[C+24>>2]+8>>2],1&f[C+11|0])&&oA(r,b[C+24>>2],b[C+20>>2],b[C+16>>2],b[C+12>>2]),N=C+32|0},function(r,e,i,a,n){var t;r|=0,e|=0,i|=0,a|=0,n|=0,N=t=N-32|0,b[t+28>>2]=r,b[t+24>>2]=e,b[t+20>>2]=i,b[t+16>>2]=a,f[t+15|0]=n,1&fA(r=b[t+28>>2],b[b[t+24>>2]+8>>2],1&f[t+15|0])?kA(r,b[t+24>>2],b[t+20>>2],b[t+16>>2]):1&fA(r,b[b[t+24>>2]>>2],1&f[t+15|0])&&(b[t+20>>2]!=b[b[t+24>>2]+20>>2]&&b[t+20>>2]!=b[b[t+24>>2]+16>>2]?(b[b[t+24>>2]+32>>2]=b[t+16>>2],b[b[t+24>>2]+20>>2]=b[t+20>>2],r=b[t+24>>2],b[r+40>>2]=b[r+40>>2]+1,1!=b[b[t+24>>2]+36>>2]|2!=b[b[t+24>>2]+24>>2]||(f[b[t+24>>2]+54|0]=1),b[b[t+24>>2]+44>>2]=4):1==b[t+16>>2]&&(b[b[t+24>>2]+32>>2]=1)),N=t+32|0},function(r,e,i,a){var f;r|=0,e|=0,i|=0,a|=0,N=f=N-16|0,b[f+12>>2]=r,b[f+8>>2]=e,b[f+4>>2]=i,b[f>>2]=a,1&fA(r=b[f+12>>2],b[b[f+8>>2]+8>>2],0)&&tA(r,b[f+8>>2],b[f+4>>2],b[f>>2]),N=f+16|0},function(r){var e;r|=0,N=e=N-16|0,b[e+12>>2]=r,aA(r=b[e+12>>2]),rA(r),N=e+16|0},function(r,e,i,a,n,t){var C;r|=0,e|=0,i|=0,a|=0,n|=0,t|=0,N=C=N-32|0,b[C+28>>2]=r,b[C+24>>2]=e,b[C+20>>2]=i,b[C+16>>2]=a,b[C+12>>2]=n,f[C+11|0]=t,1&fA(r=b[C+28>>2],b[b[C+24>>2]+8>>2],1&f[C+11|0])?oA(r,b[C+24>>2],b[C+20>>2],b[C+16>>2],b[C+12>>2]):(r=b[r+8>>2],BA[b[b[r>>2]+20>>2]](r,b[C+24>>2],b[C+20>>2],b[C+16>>2],b[C+12>>2],1&f[C+11|0])),N=C+32|0},function(r,e,i,a,n){var t;if(r|=0,e|=0,i|=0,a|=0,n|=0,N=t=N-32|0,b[t+28>>2]=r,b[t+24>>2]=e,b[t+20>>2]=i,b[t+16>>2]=a,f[t+15|0]=n,1&fA(r=b[t+28>>2],b[b[t+24>>2]+8>>2],1&f[t+15|0]))kA(r,b[t+24>>2],b[t+20>>2],b[t+16>>2]);else A:if(1&fA(r,b[b[t+24>>2]>>2],1&f[t+15|0])){if(b[t+20>>2]==b[b[t+24>>2]+20>>2]||b[t+20>>2]==b[b[t+24>>2]+16>>2]){1==b[t+16>>2]&&(b[b[t+24>>2]+32>>2]=1);break A}b[b[t+24>>2]+32>>2]=b[t+16>>2],f[t+14|0]=0,4!=b[b[t+24>>2]+44>>2]&&(f[t+13|0]=0,f[b[t+24>>2]+52|0]=0,f[b[t+24>>2]+53|0]=0,r=b[r+8>>2],BA[b[b[r>>2]+20>>2]](r,b[t+24>>2],b[t+20>>2],b[t+20>>2],1,1&f[t+15|0]),1&f[b[t+24>>2]+53|0]&&(f[t+13|0]=1,1&f[b[t+24>>2]+52|0]&&(f[t+14|0]=1)),1&f[t+13|0]?b[b[t+24>>2]+44>>2]=3:b[b[t+24>>2]+44>>2]=4),1&f[t+14|0]||(b[b[t+24>>2]+20>>2]=b[t+20>>2],r=b[t+24>>2],b[r+40>>2]=b[r+40>>2]+1,1!=b[b[t+24>>2]+36>>2]|2!=b[b[t+24>>2]+24>>2]||(f[b[t+24>>2]+54|0]=1))}else r=b[r+8>>2],BA[b[b[r>>2]+24>>2]](r,b[t+24>>2],b[t+20>>2],b[t+16>>2],1&f[t+15|0]);N=t+32|0},function(r,e,i,a){var f;r|=0,e|=0,i|=0,a|=0,N=f=N-16|0,b[f+12>>2]=r,b[f+8>>2]=e,b[f+4>>2]=i,b[f>>2]=a,1&fA(r=b[f+12>>2],b[b[f+8>>2]+8>>2],0)?tA(r,b[f+8>>2],b[f+4>>2],b[f>>2]):(r=b[r+8>>2],BA[b[b[r>>2]+28>>2]](r,b[f+8>>2],b[f+4>>2],b[f>>2])),N=f+16|0},function(r){var e;r|=0,N=e=N-16|0,b[e+12>>2]=r,aA(r=b[e+12>>2]),rA(r),N=e+16|0},function(r,e,i,a,n,t){var C;if(r|=0,e|=0,i|=0,a|=0,n|=0,t|=0,N=C=N-32|0,b[C+28>>2]=r,b[C+24>>2]=e,b[C+20>>2]=i,b[C+16>>2]=a,b[C+12>>2]=n,f[C+11|0]=t,1&fA(r=b[C+28>>2],b[b[C+24>>2]+8>>2],1&f[C+11|0]))oA(r,b[C+24>>2],b[C+20>>2],b[C+16>>2],b[C+12>>2]);else{if(f[C+10|0]=1&f[b[C+24>>2]+52|0],f[C+9|0]=1&f[b[C+24>>2]+53|0],b[C+4>>2]=(r+16|0)+(b[r+12>>2]<<3),b[C>>2]=r+16,f[b[C+24>>2]+52|0]=0,f[b[C+24>>2]+53|0]=0,cA(b[C>>2],b[C+24>>2],b[C+20>>2],b[C+16>>2],b[C+12>>2],1&f[C+11|0]),f[C+10|0]=0!=(1&f[C+10|0]|1&f[b[C+24>>2]+52|0]),f[C+9|0]=0!=(1&f[C+9|0]|1&f[b[C+24>>2]+53|0]),e=b[C>>2]+8|0,b[C>>2]=e,e>>>0>2])for(;;){A:if(!(1&f[b[C+24>>2]+54|0])){if(1&f[b[C+24>>2]+52|0]){if(!(2&b[r+8>>2])|1==b[b[C+24>>2]+24>>2])break A}else if(!(1&b[r+8>>2])&&1&f[b[C+24>>2]+53|0])break A;if(f[b[C+24>>2]+52|0]=0,f[b[C+24>>2]+53|0]=0,cA(b[C>>2],b[C+24>>2],b[C+20>>2],b[C+16>>2],b[C+12>>2],1&f[C+11|0]),f[C+10|0]=0!=(1&f[C+10|0]|1&f[b[C+24>>2]+52|0]),f[C+9|0]=0!=(1&f[C+9|0]|1&f[b[C+24>>2]+53|0]),e=b[C>>2]+8|0,b[C>>2]=e,e>>>0>2])continue}break}f[b[C+24>>2]+52|0]=1&f[C+10|0],f[b[C+24>>2]+53|0]=1&f[C+9|0]}N=C+32|0},function(r,e,i,a,n){var t;if(r|=0,e|=0,i|=0,a|=0,n|=0,N=t=N-48|0,b[t+44>>2]=r,b[t+40>>2]=e,b[t+36>>2]=i,b[t+32>>2]=a,f[t+31|0]=n,1&fA(r=b[t+44>>2],b[b[t+40>>2]+8>>2],1&f[t+31|0]))kA(r,b[t+40>>2],b[t+36>>2],b[t+32>>2]);else A:if(1&fA(r,b[b[t+40>>2]>>2],1&f[t+31|0])){if(b[t+36>>2]==b[b[t+40>>2]+20>>2]||b[t+36>>2]==b[b[t+40>>2]+16>>2]){1==b[t+32>>2]&&(b[b[t+40>>2]+32>>2]=1);break A}if(b[b[t+40>>2]+32>>2]=b[t+32>>2],f[t+30|0]=0,4!=b[b[t+40>>2]+44>>2]){for(f[t+29|0]=0,b[t+24>>2]=(r+16|0)+(b[r+12>>2]<<3),b[t+20>>2]=r+16;;){r:if(!(d[t+20>>2]>=d[t+24>>2]||(f[b[t+40>>2]+52|0]=0,f[b[t+40>>2]+53|0]=0,cA(b[t+20>>2],b[t+40>>2],b[t+36>>2],b[t+36>>2],1,1&f[t+31|0]),1&f[b[t+40>>2]+54|0]))){if(1&f[b[t+40>>2]+53|0])if(f[t+29|0]=1,1&f[b[t+40>>2]+52|0]){if(f[t+30|0]=1,!(2&b[r+8>>2])|1==b[b[t+40>>2]+24>>2])break r}else if(!(1&b[r+8>>2]))break r;b[t+20>>2]=b[t+20>>2]+8;continue}break}1&f[t+29|0]?b[b[t+40>>2]+44>>2]=3:b[b[t+40>>2]+44>>2]=4}1&f[t+30|0]||(b[b[t+40>>2]+20>>2]=b[t+36>>2],r=b[t+40>>2],b[r+40>>2]=b[r+40>>2]+1,1!=b[b[t+40>>2]+36>>2]|2!=b[b[t+40>>2]+24>>2]||(f[b[t+40>>2]+54|0]=1))}else if(b[t+16>>2]=(r+16|0)+(b[r+12>>2]<<3),b[t+12>>2]=r+16,uA(b[t+12>>2],b[t+40>>2],b[t+36>>2],b[t+32>>2],1&f[t+31|0]),e=b[t+12>>2]+8|0,b[t+12>>2]=e,e>>>0>2])if(1==b[b[t+40>>2]+36>>2]||2&b[r+8>>2])for(;!(1&f[b[t+40>>2]+54|0])&&(uA(b[t+12>>2],b[t+40>>2],b[t+36>>2],b[t+32>>2],1&f[t+31|0]),r=b[t+12>>2]+8|0,b[t+12>>2]=r,r>>>0>2]););else if(1&b[r+8>>2])for(;!(!!(1&f[b[t+40>>2]+54|0])|!(1!=b[b[t+40>>2]+36>>2]|1!=b[b[t+40>>2]+24>>2]))&&(uA(b[t+12>>2],b[t+40>>2],b[t+36>>2],b[t+32>>2],1&f[t+31|0]),r=b[t+12>>2]+8|0,b[t+12>>2]=r,r>>>0>2]););else for(;!(!!(1&f[b[t+40>>2]+54|0])|1==b[b[t+40>>2]+36>>2])&&(uA(b[t+12>>2],b[t+40>>2],b[t+36>>2],b[t+32>>2],1&f[t+31|0]),r=b[t+12>>2]+8|0,b[t+12>>2]=r,r>>>0>2]););N=t+48|0},function(r,e,i,a){var n;if(r|=0,e|=0,i|=0,a|=0,N=n=N-32|0,b[n+28>>2]=r,b[n+24>>2]=e,b[n+20>>2]=i,b[n+16>>2]=a,1&fA(r=b[n+28>>2],b[b[n+24>>2]+8>>2],0))tA(r,b[n+24>>2],b[n+20>>2],b[n+16>>2]);else if(b[n+12>>2]=(r+16|0)+(b[r+12>>2]<<3),b[n+8>>2]=r+16,bA(b[n+8>>2],b[n+24>>2],b[n+20>>2],b[n+16>>2]),r=b[n+8>>2]+8|0,b[n+8>>2]=r,r>>>0>2])for(;bA(b[n+8>>2],b[n+24>>2],b[n+20>>2],b[n+16>>2]),!(1&f[b[n+24>>2]+54|0])&&(r=b[n+8>>2]+8|0,b[n+8>>2]=r,r>>>0>2]););N=n+32|0},sA,dA,function(){P(5575),D()},sA,dA,function(r,e){r|=0,e|=0;var i=0;return(r=0|BA[b[792]](3+(r+e|0)|0))&&(b[(i=3+(r+e|0)&0-e)+-4>>2]=r),0|i},function(r){(r|=0)&&BA[b[793]](b[r+-4>>2])},function(r){return 0|K(r|=0)},function(r){q(r|=0)},sA,dA,function(r,e,i){r|=0,e|=0,i|=0;var a,f=0,n=B(0),t=B(0),C=B(0),g=B(0),d=B(0),_=B(0),R=B(0),m=B(0);N=a=N-96|0,b[(f=a+44|0)>>2]=0,b[f+4>>2]=0,b[a+52>>2]=1065353216,b[(f=a+56|0)>>2]=0,b[f+4>>2]=0,b[a+72>>2]=1065353216,b[a+92>>2]=0,b[(f=a+84|0)>>2]=0,b[f+4>>2]=0,b[(f=a+76|0)>>2]=0,b[f+4>>2]=0,b[a+36>>2]=0,b[a+40>>2]=0,b[a+32>>2]=1065353216,b[a+64>>2]=0,b[a+68>>2]=0,BA[b[b[r>>2]+8>>2]](r,a+32|0,a+16|0,a),g=v[a>>2],d=v[a+16>>2],n=B(g-d),C=B(n*n),n=v[a+4>>2],_=v[a+20>>2],t=B(n-_),m=B(C+B(t*t)),t=v[a+8>>2],C=v[a+24>>2],R=B(t-C),v[i>>2]=B(p(B(m+B(R*R))))*B(.5),b[e+12>>2]=0,v[e+8>>2]=B(t+C)*B(.5),v[e+4>>2]=B(n+_)*B(.5),v[e>>2]=B(g+d)*B(.5),N=a+96|0},function(r){r|=0;var e,i=B(0),a=B(0);return N=e=N-32|0,BA[b[b[r>>2]+12>>2]](r,e+16|0,e+12|0),N=e+32|0,i=v[e+16>>2],a=B(i*i),i=v[e+20>>2],a=B(a+B(i*i)),i=v[e+24>>2],B(B(v[e+12>>2]+B(p(B(a+B(i*i))))))},function(r,e){return r|=0,e=B(e),B(B(B(BA[b[b[r>>2]+16>>2]](r))*e))},function(r,e){b[(r|=0)+8>>2]=1065353216,b[r+12>>2]=0,b[r>>2]=1065353216,b[r+4>>2]=1065353216},pA,hA,function(r,e){var i,a,f=0,n=0,t=0,C=0;n=e|=0,t=0|BA[b[b[(r|=0)>>2]+52>>2]](r),C=1,f=b[b[e>>2]+16>>2],a=0|BA[f](0|n,0|t,0|C),C=e,t=a,n=0|BA[b[b[r>>2]+56>>2]](r,b[a+8>>2],e),i=r,f=b[b[e>>2]+20>>2],BA[f](0|C,0|t,0|n,1346455635,0|i)},function(r,e,i,a,f,n,t){r|=0,e|=0,i|=0,a|=0,f|=0,n|=0,t|=0;var C,g,d,_,R,m,h,G=B(0),y=B(0),Q=B(0),p=B(0),D=B(0),w=B(0),Z=B(0),Y=B(0),W=B(0),F=B(0),E=B(0),j=B(0),Be=B(0),ui=B(0),gi=B(0),Ri=B(0),wi=B(0),Xi=B(0),Da=B(0),Ia=B(0),yf=B(0),Qf=B(0),pf=B(0),Df=B(0),wf=B(0),Zf=B(0),Yf=B(0),Wf=B(0),Ff=B(0),Ef=B(0);N=C=N-48|0,b[C+44>>2]=0,G=v[i>>2],y=v[i+4>>2],Q=v[i+8>>2],v[C+32>>2]=B(B(v[e>>2]*G)+B(v[e+16>>2]*y))+B(v[e+32>>2]*Q),g=e+24|0,d=e+40|0,v[C+40>>2]=B(B(G*v[e+8>>2])+B(y*v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v[f>>2]=D,b[t+12>>2]=0,v[t+8>>2]=G,v[t+4>>2]=Z,v[t>>2]=Y,b[n+12>>2]=0,v[n+8>>2]=p,v[n+4>>2]=Q,v[n>>2]=y),N=C+48|0},DA,function(r,e,i,a){r|=0,e|=0,i|=0,a|=0;var f,n,t=B(0),C=B(0),g=B(0),d=B(0),_=B(0),R=B(0),h=B(0),G=B(0),y=B(0),Q=B(0),p=B(0),D=B(0),w=B(0),Z=B(0),Y=B(0);b[(f=N-16|0)+12>>2]=0,n=r+32|0,r=b[r+56>>2],C=v[n+((r+2|0)%3<<2)>>2],v[f+8>>2]=C,v[f+4>>2]=C,v[f>>2]=C,v[(r<<=2)+f>>2]=C+v[r+n>>2],C=v[e+52>>2],_=v[e+24>>2],y=v[e+20>>2],h=v[e+56>>2],g=v[e+40>>2],d=v[e+36>>2],G=v[e+48>>2],Q=v[e+8>>2],p=v[e>>2],D=v[e+4>>2],w=v[e+16>>2],t=v[e+32>>2],b[i+12>>2]=0,R=B(m(t)),t=v[f>>2],Z=B(m(d)),d=v[f+4>>2],Y=B(m(g)),g=v[f+8>>2],R=B(B(B(R*t)+B(Z*d))+B(Y*g)),v[i+8>>2]=h-R,_=B(B(B(t*B(m(w)))+B(d*B(m(y))))+B(g*B(m(_)))),v[i+4>>2]=C-_,t=B(B(B(t*B(m(p)))+B(d*B(m(D))))+B(g*B(m(Q)))),v[i>>2]=G-t,b[a+12>>2]=0,v[a+8>>2]=h+R,v[a+4>>2]=C+_,v[a>>2]=G+t},function(r,e){r|=0,e|=0;var i,a,f=B(0),n=B(0),t=B(0),C=B(0),g=B(0),d=B(0),_=B(0),R=B(0),m=B(0);f=v[r+20>>2],n=v[(i=r+36|0)>>2],t=v[r+24>>2],C=v[(a=r+40|0)>>2],g=v[r+16>>2],d=v[r+32>>2],YA(r,e),_=v[e>>2],R=v[e+4>>2],m=v[e+8>>2],b[r+44>>2]=0,v[a>>2]=m*B(C/t),v[i>>2]=R*B(n/f),v[r+32>>2]=_*B(d/g),b[r+48>>2]=b[(r+32|0)+((b[r+56>>2]+2|0)%3<<2)>>2]},yr,function(r,e,i){r|=0,e=B(e),i|=0;var a,f,n=B(0),t=B(0),C=0,g=B(0);a=N-16|0,f=r+32|0,C=b[r+56>>2],r=b[f+((C+2|0)%3<<2)>>2],b[a+4>>2]=r,b[a>>2]=r,b[a+12>>2]=0,b[a+8>>2]=r,v[(C=(r=C<<2)+a|0)>>2]=v[r+f>>2]+v[C>>2],e=B(e*B(.0833333283662796)),n=v[a>>2],n=B(n+n),n=B(n*n),t=v[a+4>>2],t=B(t+t),t=B(t*t),v[i+8>>2]=e*B(n+t),g=n,n=v[a+8>>2],n=B(n+n),n=B(n*n),v[i+4>>2]=e*B(g+n),v[i>>2]=e*B(t+n)},function(r){return 6504},wA,WA,function(r){return B(v[(r|=0)+48>>2])},FA,function(r,e,i){return hA(r|=0,e|=0,i|=0),b[e+28>>2]=b[r+32>>2],b[e+32>>2]=b[r+36>>2],b[e+36>>2]=b[r+40>>2],b[e+40>>2]=b[r+44>>2],b[e+12>>2]=b[r+16>>2],b[e+16>>2]=b[r+20>>2],b[e+20>>2]=b[r+24>>2],b[e+24>>2]=b[r+28>>2],b[e+48>>2]=0,b[e+44>>2]=b[r+48>>2],r=b[r+56>>2],b[e+56>>2]=0,b[e+52>>2]=r,6517},function(r,e,i){r|=0,e|=0,i|=0;var a=B(0),f=B(0),n=B(0),t=B(0),C=B(0);BA[b[b[e>>2]+68>>2]](r,e,i),B(BA[b[b[e>>2]+48>>2]](e))!=B(0)&&(f=v[i+4>>2],a=v[i>>2],n=v[i+8>>2],t=B(BA[b[b[e>>2]+48>>2]](e)),C=a=(e=B(B(B(a*a)+B(f*f))+B(n*n))>2]=v[r>>2]+B(t*B(C*a)),v[r+4>>2]=v[r+4>>2]+B(t*B(f*a)),v[r+8>>2]=v[r+8>>2]+B(t*B(n*a)))},function(r,e,i){r|=0,e|=0,i|=0;var a,f=B(0),n=B(0),t=B(0),C=B(0),g=B(0),d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+B(y*v[w>>2]))+B(Q*v[p>>2]))+v[h>>2],j=(f+32|0)+D|0,v[a+D>>2]=F+v[j>>2],b[E>>2]=-1082130432,b[f+12>>2]=0,G=v[f+64>>2],y=v[f+68>>2],Q=v[Z>>2],v[f+8>>2]=B(B(G*v[p>>2])+B(y*v[n>>2]))+B(Q*v[t>>2]),v[f+4>>2]=B(B(G*v[w>>2])+B(y*v[C>>2]))+B(Q*v[g>>2]),v[f>>2]=B(B(G*v[e>>2])+B(y*v[d>>2]))+B(Q*v[_>>2]),BA[b[b[r>>2]+64>>2]](f+16|0,r,f),b[Y>>2]=0,G=v[f+16>>2],y=v[f+20>>2],Q=v[f+24>>2],v[W>>2]=B(B(B(G*v[_>>2])+B(y*v[g>>2]))+B(Q*v[t>>2]))+v[R>>2],v[f+36>>2]=B(B(B(G*v[d>>2])+B(y*v[C>>2]))+B(Q*v[n>>2]))+v[m>>2],v[f+32>>2]=B(B(B(G*v[e>>2])+B(y*v[w>>2]))+B(Q*v[p>>2]))+v[h>>2],v[i+D>>2]=v[j>>2]-F,12!=(0|(D=D+4|0)););N=f+80|0},Zr,Yr,DA,function(r){return 6536},DA,function(r){return 6545},DA,rr,function(r,e){r|=0,e|=0;var i,a=0,f=B(0),n=B(0);a=b[r+72>>2]<<2,i=r+16|0,n=B(v[r+64>>2]*B(v[a+e>>2]/v[a+i>>2])),v[r+64>>2]=n,a=b[r+68>>2]<<2,f=B(v[a+e>>2]/v[a+i>>2]),a=b[r+76>>2]<<2,f=B(v[r+60>>2]*B(B(f+B(v[a+e>>2]/v[a+i>>2]))*B(.5))),v[r+60>>2]=f,v[r+56>>2]=f/B(p(B(B(n*n)+B(f*f)))),YA(r,e)},function(r,e,i){r|=0,e=B(e),i|=0;var a,f=B(0),n=0,t=B(0),C=B(0),g=B(0),d=B(0),_=B(0),R=B(0);N=a=N-96|0,b[(n=a+44|0)>>2]=0,b[n+4>>2]=0,b[a+52>>2]=1065353216,b[(n=a+56|0)>>2]=0,b[n+4>>2]=0,b[a+72>>2]=1065353216,b[a+92>>2]=0,b[(n=a+84|0)>>2]=0,b[n+4>>2]=0,b[(n=a+76|0)>>2]=0,b[n+4>>2]=0,b[a+36>>2]=0,b[a+40>>2]=0,b[a+32>>2]=1065353216,b[a+64>>2]=0,b[a+68>>2]=0,BA[b[b[r>>2]+8>>2]](r,a+32|0,a+16|0,a),g=v[a+24>>2],d=v[a+8>>2],t=v[a+16>>2],C=v[a>>2],_=v[a+20>>2],R=v[a+4>>2],f=B(BA[b[b[r>>2]+48>>2]](r)),b[i+12>>2]=0,e=B(e*B(.0833333283662796)),t=B(f+B(B(C-t)*B(.5))),t=B(t+t),t=B(t*t),C=B(f+B(B(R-_)*B(.5))),C=B(C+C),C=B(C*C),v[i+8>>2]=e*B(t+C),f=B(f+B(B(d-g)*B(.5))),f=B(f+f),f=B(f*f),v[i+4>>2]=e*B(t+f),v[i>>2]=e*B(C+f),N=a+96|0},function(r){return 6940},function(r,e){b[(r|=0)+8>>2]=0,b[r+12>>2]=0,b[r>>2]=0,b[r+4>>2]=1065353216},pr,FA,function(r,e,i){return hA(r|=0,e|=0,i|=0),b[e+28>>2]=b[r+32>>2],b[e+32>>2]=b[r+36>>2],b[e+36>>2]=b[r+40>>2],b[e+40>>2]=b[r+44>>2],b[e+12>>2]=b[r+16>>2],b[e+16>>2]=b[r+20>>2],b[e+20>>2]=b[r+24>>2],b[e+24>>2]=b[r+28>>2],b[e+48>>2]=0,b[e+44>>2]=b[r+48>>2],r=b[r+72>>2],b[e+56>>2]=0,b[e+52>>2]=r,6945},function(r,e,i){r|=0,e|=0,i|=0;var a,f,n=B(0),t=B(0),C=B(0),g=B(0),d=0,_=B(0);t=B(v[e+64>>2]*B(.5)),a=b[e+68>>2],d=(f=b[e+72>>2])<<2,n=v[i>>2],g=B(n*n),n=v[i+4>>2],g=B(g+B(n*n)),n=v[i+8>>2];A:{if(v[d+i>>2]>B(v[e+56>>2]*B(p(B(g+B(n*n))))))b[(a<<2)+r>>2]=0,v[r+d>>2]=t,d=b[e+76>>2];else{if(n=v[(a<<2)+i>>2],d=b[e+76>>2],C=v[(d<<2)+i>>2],(_=B(p(B(B(n*n)+B(C*C)))))>B(1.1920928955078125e-7)){g=n,n=B(v[e+60>>2]/_),v[(a<<2)+r>>2]=g*n,v[(f<<2)+r>>2]=-t,t=B(C*n);break A}b[(a<<2)+r>>2]=0,v[(f<<2)+r>>2]=-t}t=B(0)}v[(d<<2)+r>>2]=t,B(BA[b[b[e>>2]+48>>2]](e))!=B(0)&&(t=v[i+4>>2],n=v[i>>2],C=v[i+8>>2],_=B(BA[b[b[e>>2]+48>>2]](e)),g=n=(e=B(B(B(n*n)+B(t*t))+B(C*C))>2]=v[r>>2]+B(_*B(g*n)),v[r+4>>2]=v[r+4>>2]+B(_*B(t*n)),v[r+8>>2]=v[r+8>>2]+B(_*B(C*n)))},function(r,e,i){r|=0,e|=0,i|=0;var a,f,n=B(0),t=B(0),C=B(0),g=0,d=B(0),_=B(0);t=B(v[e+64>>2]*B(.5)),a=b[e+68>>2],g=(f=b[e+72>>2])<<2,n=v[i>>2],C=B(n*n),n=v[i+4>>2],C=B(C+B(n*n)),n=v[i+8>>2];A:{if(v[g+i>>2]>B(v[e+56>>2]*B(p(B(C+B(n*n))))))b[(a<<2)+r>>2]=0,v[r+g>>2]=t,i=b[e+76>>2];else{if(n=v[(a<<2)+i>>2],g=i,i=b[e+76>>2],d=v[g+(i<<2)>>2],(_=B(p(B(B(n*n)+B(d*d)))))>B(1.1920928955078125e-7)){C=n,n=B(v[e+60>>2]/_),v[(a<<2)+r>>2]=C*n,v[(f<<2)+r>>2]=-t,t=B(d*n);break A}b[(a<<2)+r>>2]=0,v[(f<<2)+r>>2]=-t}t=B(0)}v[(i<<2)+r>>2]=t},function(r,e,i,a){r|=0,e|=0,i|=0,a|=0;var f,n=B(0),t=0,C=B(0),g=B(0),d=0,_=B(0),R=0,m=B(0),h=0,G=0,y=0,Q=0,D=0;if(f=N-16|0,(0|a)>=1)for(h=r+56|0,G=r+72|0,y=r- -64|0,Q=r+68|0,R=r+76|0,D=r+60|0;;){C=B(v[y>>2]*B(.5)),r=b[Q>>2],t=b[G>>2]<<2,n=v[e>>2],g=B(n*n),n=v[e+4>>2],g=B(g+B(n*n)),n=v[e+8>>2];A:{if(v[t+e>>2]>B(v[h>>2]*B(p(B(g+B(n*n))))))b[(r<<2)+f>>2]=0,v[f+t>>2]=C,r=b[R>>2];else{if(n=v[(d=r<<2)+e>>2],r=b[R>>2],_=v[(r<<2)+e>>2],(m=B(p(B(B(n*n)+B(_*_)))))>B(1.1920928955078125e-7)){g=n,n=B(v[D>>2]/m),v[f+d>>2]=g*n,v[f+t>>2]=-C,C=B(_*n);break A}b[f+d>>2]=0,v[f+t>>2]=-C}C=B(0)}if(v[(r<<2)+f>>2]=C,d=b[(t=f+8|0)+4>>2],b[(r=i+8|0)>>2]=b[t>>2],b[r+4>>2]=d,r=b[f+4>>2],b[i>>2]=b[f>>2],b[i+4>>2]=r,e=e+16|0,i=i+16|0,!(a=a+-1|0))break}},DA,function(r){return 6961},function(r,e){b[(r|=0)+8>>2]=1065353216,b[r+12>>2]=0,b[r>>2]=0,b[r+4>>2]=0},DA,function(r){return 6967},function(r,e){b[(r|=0)+8>>2]=0,b[r+12>>2]=0,b[r>>2]=1065353216,b[r+4>>2]=0},dA,YA,Dr,function(r,e,i){return hA(r|=0,e|=0,i|=0),b[e+28>>2]=b[r+32>>2],b[e+32>>2]=b[r+36>>2],b[e+36>>2]=b[r+40>>2],b[e+40>>2]=b[r+44>>2],b[e+12>>2]=b[r+16>>2],b[e+16>>2]=b[r+20>>2],b[e+20>>2]=b[r+24>>2],b[e+24>>2]=b[r+28>>2],b[e+48>>2]=0,b[e+44>>2]=b[r+48>>2],8389},EA,function(r){gA(EA(r|=0))},er,dA,function(r,e,i){r|=0,e=B(e),i|=0;var a,f=B(0),n=0,t=B(0),C=B(0);N=a=N-96|0,f=B(BA[b[b[r>>2]+48>>2]](r)),b[(n=a+44|0)>>2]=0,b[n+4>>2]=0,b[a+52>>2]=1065353216,b[(n=a+56|0)>>2]=0,b[n+4>>2]=0,b[a+72>>2]=1065353216,b[a+92>>2]=0,b[(n=a+84|0)>>2]=0,b[n+4>>2]=0,b[(n=a+76|0)>>2]=0,b[n+4>>2]=0,b[a+36>>2]=0,b[a+40>>2]=0,b[a+32>>2]=1065353216,b[a+64>>2]=0,b[a+68>>2]=0,BA[b[b[r>>2]+8>>2]](r,a+32|0,a+16|0,a),b[i+12>>2]=0,e=B(e*B(.0833333283662796)),t=B(f+B(B(v[a>>2]-v[a+16>>2])*B(.5))),t=B(t+t),t=B(t*t),C=B(f+B(B(v[a+4>>2]-v[a+20>>2])*B(.5))),C=B(C+C),C=B(C*C),v[i+8>>2]=e*B(t+C),f=B(f+B(B(v[a+8>>2]-v[a+24>>2])*B(.5))),f=B(f+f),f=B(f*f),v[i+4>>2]=e*B(t+f),v[i>>2]=e*B(C+f),N=a+96|0},function(r,e,i){r|=0,e|=0,i|=0;var a,f=0,n=B(0),t=B(0),C=0,g=B(0),d=B(0),_=0,R=0,m=0,h=B(0),G=B(0);if(N=a=N-2048|0,b[r>>2]=0,b[r+4>>2]=0,b[(f=r+8|0)>>2]=0,b[f+4>>2]=0,g=v[i>>2],d=v[i+4>>2],n=v[i+8>>2],(t=B(B(B(g*g)+B(d*d))+B(n*n)))>2]+96>>2]](e))>=1)for(t=B(-0xde0b6b000000000);;){_=128;A:{r:{if(!(((0|BA[b[b[e>>2]+96>>2]](e))-R|0)>127||(_=(0|BA[b[b[e>>2]+96>>2]](e))-R|0,(0|_)>=1))){if(n=B(-34028234663852886e22),m=-1,B(-34028234663852886e22)>t)break r;break A}for(i=0,f=a;BA[b[b[e>>2]+108>>2]](e,i,f),f=f+16|0,(0|_)!=(0|(i=i+1|0)););for(f=0,m=-1,n=B(-34028234663852886e22),i=a;n=(C=(d=B(B(B(g*v[i>>2])+B(G*v[i+4>>2]))+B(h*v[i+8>>2])))>n)?d:n,m=C?f:m,i=i+16|0,(0|(f=f+1|0))!=(0|_););if(!(n>t))break A}i=b[(C=(m<<4)+a|0)+12>>2],b[(f=r+8|0)>>2]=b[C+8>>2],b[f+4>>2]=i,i=b[C+4>>2],b[r>>2]=b[C>>2],b[r+4>>2]=i,t=n}if(!((0|(R=R+128|0))<(0|BA[b[b[e>>2]+96>>2]](e))))break}N=a+2048|0},function(r,e,i,a){r|=0,e|=0,i|=0,a|=0;var f,n=0,t=0,C=B(0),g=0,d=0,_=0,R=0,m=0,h=0,G=0,y=B(0),Q=0,p=0,D=0,w=B(0),Z=B(0),Y=B(0);if(N=f=N-2048|0,!((0|a)<1)){for(t=i+12|0,n=a;b[t>>2]=-581039253,t=t+16|0,n=n+-1|0;);if(!((0|a)<1))for(;;){if((0|BA[b[b[r>>2]+96>>2]](r))>=1)for(h=(_=(n=m<<4)+i|0)+12|0,p=(G=e+n|0)+8|0,D=G+4|0,d=0;;){R=128;A:{r:{if(!(((0|BA[b[b[r>>2]+96>>2]](r))-d|0)>127||(R=(0|BA[b[b[r>>2]+96>>2]](r))-d|0,(0|R)>=1))){if(C=B(-34028234663852886e22),g=-1,B(-34028234663852886e22)>v[h>>2])break r;break A}for(t=0,n=f;BA[b[b[r>>2]+108>>2]](r,t,n),n=n+16|0,(0|R)!=(0|(t=t+1|0)););for(w=v[p>>2],Z=v[D>>2],Y=v[G>>2],n=0,g=-1,C=B(-34028234663852886e22),t=f;C=(Q=(y=B(B(B(Y*v[t>>2])+B(Z*v[t+4>>2]))+B(w*v[t+8>>2])))>C)?y:C,g=Q?n:g,t=t+16|0,(0|R)!=(0|(n=n+1|0)););if(!(C>v[h>>2]))break A}g=b[(n=(g<<4)+f|0)+12>>2],b[(t=_+8|0)>>2]=b[n+8>>2],b[t+4>>2]=g,t=b[n+4>>2],b[_>>2]=b[n>>2],b[_+4>>2]=t,v[h>>2]=C}if(!((0|(d=d+128|0))<(0|BA[b[b[r>>2]+96>>2]](r))))break}if((0|(m=m+1|0))==(0|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BA[b[b[r>>2]+96>>2]](r))>=1?(zf=8,Pn=-1,Gn=i+228|0,Xn=4,a=1):a=0;A:for(;;){r:{e:{i:{a:{f:{n:{t:{b:{o:{k:{c:{u:{l:{s:{C:{g:{d:{v:{_:{R:{B:{m:{h:{G:{y:{Q:{if(!a){if(f[i+188|0]=1,b[i+184>>2]=0,f[i+208|0]=1,b[(a=i+176|0)>>2]=0,b[a+4>>2]=0,b[i+204>>2]=0,b[(a=i+196|0)>>2]=0,b[a+4>>2]=0,b[i+164>>2]=0,f[i+168|0]=1,b[i+156>>2]=0,b[i+160>>2]=0,e){if(b[i+60>>2]=0,Jf=1,f[i+64|0]=1,b[i+52>>2]=0,b[i+56>>2]=0,XA(i+216|0,i+48|0),b[i+140>>2]=0,f[i+144|0]=1,b[i+132>>2]=0,b[i+136>>2]=0,b[i+52>>2]<1)break Q;yn=4,Qn=12,Ln=i+60|0,Pf=8,cn=16,Kn=-1,un=0,g=2;break s}PA(i+152|0,Lf,b[i+220>>2]);break y}p:{D:{w:switch(0|g){case 0:if((0|If)>=(0|(G=If?If<<1:1)))break R;n=G?CA(G<=1)for(a=n,t=Lf;_=b[t+4>>2],b[a>>2]=b[t>>2],b[a+4>>2]=_,_=b[(d=t+zf|0)+4>>2],b[(h=a+zf|0)>>2]=b[d>>2],b[h+4>>2]=_,a=a+16|0,t=t+16|0,If=If+Pn|0;);else if(!Lf)break Z;C[i+232|0]&&gA(Lf),b[Gn>>2]=0}b[Gn>>2]=n,f[i+232|0]=1,b[(i+216|0)+zf>>2]=G;break D;case 4:break h;case 3:break G;case 2:break p;case 1:break w;default:break m}n=Lf}if(b[i+220>>2]=pn+1,a=b[i+156>>2],b[(n=t=(_=pn<>2]=b[i+152>>2],b[n+4>>2]=a,a=b[(n=(i+152|0)+zf|0)+4>>2],b[(t=t+zf|0)>>2]=b[n>>2],b[t+4>>2]=a,Lf=b[Gn>>2],BA[b[b[r>>2]+108>>2]](r,Dn,_+Lf|0),(0|(Dn=Dn+1|0))<(0|BA[b[b[r>>2]+96>>2]](r))){if((0|(If=b[(i+216|0)+zf>>2]))!=(0|(pn=b[i+220>>2])))break B;g=0;break d}a=0;continue}if(h=(i+104|0)+Pf|0,n=b[Ln>>2]+(un<>2]=b[n+Pf>>2],a=b[n+4>>2],b[i+104>>2]=b[n>>2],b[i+108>>2]=a,y=B(v[n+12>>2]-B(BA[b[b[r>>2]+48>>2]](r))),(0|(t=b[i+132>>2]))==b[(g=(i+128|0)+Pf|0)>>2]&&!((0|t)>=(0|(Q=t?t<>2]))>=(0|Jf))break D;break p}if(Z=0,(0|t)<(0|Jf))break p}for(a=0;G=b[(i+128|0)+Qn>>2]+a|0,n=b[G+4>>2],b[(d=a+Z|0)>>2]=b[G>>2],b[d+4>>2]=n,n=b[(_=G+Pf|0)+4>>2],b[(d=d+Pf|0)>>2]=b[_>>2],b[d+4>>2]=n,a=a+cn|0,t=t+Kn|0;);}(a=b[(n=(i+128|0)+Qn|0)>>2])&&(C[(i+128|0)+cn|0]&&gA(a),b[n>>2]=0),b[n>>2]=Z,f[(i+128|0)+cn|0]=Jf,b[g>>2]=Q,t=b[i+132>>2]}if(a=b[i+108>>2],n=b[(i+128|0)+Qn>>2]+(t<>2]=b[i+104>>2],b[n+4>>2]=a,v[n+12>>2]=y,b[n+Pf>>2]=b[h>>2],b[i+132>>2]=b[i+132>>2]+Jf,(0|(un=Jf+un|0))>2])break _}b[i+116>>2]=0,f[i+120|0]=Jf,b[i+108>>2]=0,b[i+112>>2]=0,MA(i+128|0,i+104|0),PA(i+152|0,b[i+116>>2],b[i+108>>2]),(a=b[i+116>>2])&&(C[i+120|0]&&gA(a),b[i+116>>2]=0),(a=b[i+140>>2])&&(C[i+144|0]&&gA(a),b[i+140>>2]=0),(a=b[i+60>>2])&&(C[i- -64|0]&&gA(a),b[i+60>>2]=0)}if((0|(Xi=b[i+196>>2]))>=1){for(a=ln=CA(Xi<<4,16),t=Xi;n=b[i+52>>2],b[a>>2]=b[i+48>>2],b[a+4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r+56>>2],(0|(_=b[(Z=W+8|0)>>2]))<(0|(t=b[i+156>>2]))){if(b[W+12>>2]<(0|t)){y:{Q:{if(t){if(n=CA(t<<4,16),(0|(g=b[W+8>>2]))>=1)break Q;break y}if(n=0,(0|(g=_))<1)break y}for(a=0;Q=b[W+16>>2]+a|0,d=b[Q+4>>2],b[(h=G=a+n|0)>>2]=b[Q>>2],b[h+4>>2]=d,d=b[(h=Q+8|0)+4>>2],b[(G=G+8|0)>>2]=b[h>>2],b[G+4>>2]=d,a=a+16|0,g=g+-1|0;);}(a=b[(d=W+16|0)>>2])&&(C[W+20|0]&&gA(a),b[W+16>>2]=0),b[d>>2]=n,f[W+20|0]=1,b[W+12>>2]=t}for(a=_<<4,g=t-_|0;n=b[i+52>>2],d=b[W+16>>2]+a|0,b[d>>2]=b[i+48>>2],b[d+4>>2]=n,n=b[(_=i+56|0)+4>>2],b[(d=d+8|0)>>2]=b[_>>2],b[d+4>>2]=n,a=a+16|0,g=g+-1|0;);}if(b[Z>>2]=t,(0|t)>=1)for(a=0,h=r+56|0,g=i+164|0;G=b[g>>2]+a|0,n=b[G+4>>2],d=b[b[h>>2]+16>>2]+a|0,b[d>>2]=b[G>>2],b[d+4>>2]=n,n=b[(_=G+8|0)+4>>2],b[(d=d+8|0)>>2]=b[_>>2],b[d+4>>2]=n,a=a+16|0,t=t+-1|0;);if((0|Xi)<1)break a;Cn=2,qn=i+204|0,Sf=12,Jn=32,$n=i+184|0,At=36,In=8,Da=4,Ia=1,rt=-1,wn=16,xn=B(1),Mn=24,et=i+68|0,it=1900671690,at=28,ft=r+56|0,xf=0,g=3;break u}An=0,Tf=Sn=b[$n>>2]+R(b[b[qn>>2]+(xf<>2],Sf)|0,Ri=0;break t}h:if((0|D)==(0|Uf)){G:{y:{if((0|D)<(0|(Uf=D?D<>2]=b[yf>>2],a=a+Un|0,yf=yf+Un|0,(0|D)!=(0|(t=t+gn|0)););else if(!yf){Uf=1;break G}gA(jn)}jn=Kf,yf=Kf}if(b[(D<>2]=D,(0|(D=D+gn|0))>2])break v;Zn=20,dn=i+68|0,Yf=-1,Qf=2,j=16,F=4,jf=36,rn=12,qf=i+140|0,$f=28,E=24,tt=-2,bt=B(.9990000128746033),m=1,Wf=8,en=i+40|0,Yn=r+56|0,On=32,ot=B(1),g=5;break k}if(n=b[((a=D+Yf|0)<>2],w=CA(F,j),b[w>>2]=n,(0|a)>=(0|m)){n=(Wn=b[qf>>2])+R(n,jf)|0,kt=v[n+20>>2],ct=v[n+$f>>2],ut=v[n+E>>2],an=D+tt|0,pf=1,D=a,Hn=w,Df=w,wf=1;break o}wf=1,Df=w,D=a;break b}g=1;break g}g=1;break C}g=2;break l}g=4;break c}a=1;continue}a=1;continue}a=1;continue}a=1;continue}a=1;continue}a=1;continue}a=1;continue}a=1;continue}Ri=1;break n}a=1;break f}a=2;break f}a=2}f:for(;;){n:{t:{b:{o:{k:{c:{u:{l:{s:{C:{g:{d:{v:{_:{R:{B:{m:{h:{G:{y:{Q:{p:{D:{w:{Z:{Y:{W:{switch(0|a){case 0:if((a=b[Of>>2])&&(C[0|Fn]&&gA(a),b[Of>>2]=0),(a=b[Ff>>2])&&(C[0|fn]&&gA(a),b[Ff>>2]=0),!(a=b[wi>>2]))break W;C[0|nn]&&gA(a),b[wi>>2]=0;break W;case 1:vn=0,Ri=5;break R}F:switch(0|Ri){case 0:if(_n=(Xf=(W=R(xf,At))+b[(Z=(i+128|0)+Sf|0)>>2]|0)+Da|0,G=b[8+(R(b[Tf+4>>2],Sf)+Tf|0)>>2],(0|(g=b[Xf+4>>2]))==b[Xf+8>>2]&&!((0|g)>=(0|(Q=g?g<>2]):_=0,d=Xf+In|0,h=Xf+Sf|0,n=b[Xf+12>>2];E:{if((0|g)>=(0|Ia))for(a=_,t=n;b[a>>2]=b[t>>2],a=a+Da|0,t=t+Da|0,g=g+rt|0;);else if(!n)break E;C[Xf+16|0]&&gA(n),b[h>>2]=0,g=b[_n>>2]}b[h>>2]=_,b[d>>2]=Q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000150474662e30),g=0;_=t+(b[a>>2]<(y=B(B(B(v[_>>2]*Y)+B(v[_+4>>2]*Nf))+B(v[_+8>>2]*Ef)))?y:Be,a=a+Da|0,(0|(g=g+Ia|0))<(0|n););}if(v[d+Jn>>2]=-Be,(0|(xf=Ia+xf|0))!=(0|Xi))break Z;break a;case 1:E:{N:{V:{X:{J:{I:{if(_=b[(an<>2],a=R(_,jf)+Wn|0,!(B(B(B(kt*v[a+20>>2])+B(ut*v[a+E>>2]))+B(ct*v[a+$f>>2]))>bt^m)){if((0|pf)!=(0|wf))break I;if((0|pf)>=(0|(n=pf?pf<=(0|m))break N;break E}n=pf;break V}Df=0}X:{if((0|pf)>=(0|m))for(a=Df;b[a>>2]=b[w>>2],a=a+F|0,w=w+F|0,pf=pf+Yf|0;);else if(!w)break X;gA(Hn)}Hn=Df,w=Df}b[(wf<>2]=_,wf=m+wf|0;V:if(!((0|D)<(0|m))){for(t=0,a=yf;;){if(b[a>>2]!=(0|_)){if(a=a+F|0,(0|(t=t+m|0))<(0|D))continue;break V}break}(0|D)<=(0|t)||(t=a,a=((D=D+Yf|0)<>2]=b[a>>2],b[a>>2]=_)}if((0|an)<(0|m))break E}an=Yf+an|0,Wn=b[qf>>2],pf=n,Ri=1;break G}if((0|wf)<=(0|m))break W;Vf=0,b[(wi=(i+104|0)+rn|0)>>2]=0,f[0|(nn=(i+104|0)+j|0)]=m,b[i+108>>2]=0,b[i+112>>2]=0,b[en>>2]=0,b[en+4>>2]=0,b[i+32>>2]=0,b[i+36>>2]=0,tn=B(0),ui=0,bn=B(0),on=B(0),Rn=0,Ri=2;break h;case 2:if(a=b[qf>>2]+R(b[(Rn<>2],jf)|0,Y=v[a+E>>2],y=v[a+20>>2],v[en>>2]=v[a+$f>>2]+tn,v[i+32>>2]=y+on,v[i+36>>2]=Y+bn,(0|(Mf=b[a+4>>2]))<(0|m))break g;Ct=a+F|0,gt=a+rn|0,Bn=0,a=0;break v;case 3:if(d=((g=R(E,Hf))+b[Of>>2]|0)+Zn|0,b[(_=(i+48|0)+Wf|0)>>2]==(0|gi)&&!((0|gi)>=(0|(h=gi?gi<>2],(0|(gi=b[i+52>>2]))<(0|m))break V}else if(n=0,Zf=b[Ff>>2],(0|gi)<(0|m))break V;for(a=n,t=Zf;b[a>>2]=b[t>>2],a=a+F|0,t=t+F|0,gi=gi+Yf|0;);break N}if(!Zf)break E}C[0|fn]&&gA(Zf),b[Ff>>2]=0,gi=b[i+52>>2]}b[Ff>>2]=n,f[0|fn]=m,b[_>>2]=h}b[b[Ff>>2]+(gi<>2]=b[d>>2],gi=b[i+52>>2]+m|0,b[i+52>>2]=gi;E:{N:{if((0|(Zf=b[i+108>>2]))>=(0|m))for(a=b[wi>>2]+Zn|0,n=b[20+(g+b[Of>>2]|0)>>2],t=0;;){if((0|n)==b[a>>2])break N;if(a=a+E|0,!((0|(t=t+m|0))<(0|Zf)))break}if((0|(Hf=m+Hf|0))>2])break D;break E}if(b[a>>2]=Yf,(0|(Hf=m+Hf|0))>2])break p}if((0|Zf)<(0|m))break s;break C;case 4:break F;default:break Y}if((0|(Nn=b[20+(R(E,mn)+dt|0)>>2]))==(0|Yf))break d;if((0|wf)<=0){hn=0,a=1;break v}kn=0,a=2;break v}if((0|wf)<(0|m))break l;a=1;continue}f[0|(G=(i+48|0)+j|0)]=m,b[(Q=(i+48|0)+rn|0)>>2]=0,a=b[(vn<>2],b[i+52>>2]=0,b[i+56>>2]=0;Y:{W:{F:{E:{if(Z=b[qf>>2]+R(a,jf)|0,(0|(g=b[Z+4>>2]))>=(0|m)){if(d=CA(h=g<>2],(0|(n=b[i+52>>2]))<(0|m))break E;for(a=d,t=_;b[a>>2]=b[t>>2],a=a+F|0,t=t+F|0,n=n+Yf|0;);break F}b[i+52>>2]=g;break Y}if(!_)break W}C[0|G]&&gA(_)}for(b[Q>>2]=d,f[0|G]=m,b[(i+48|0)+Wf>>2]=g,x(d,0,h),b[i+52>>2]=g,a=b[Z+12>>2],t=b[Q>>2];b[t>>2]=b[a>>2],t=t+F|0,a=a+F|0,g=g+Yf|0;);}if(a=b[Z+24>>2],b[dn>>2]=b[Z+20>>2],b[dn+4>>2]=a,a=b[(n=Z+$f|0)+4>>2],b[(t=Wf+dn|0)>>2]=b[n>>2],b[t+4>>2]=a,qA(b[Yn>>2]+E|0,i+48|0),(a=b[Q>>2])&&(C[0|G]&&gA(a),b[Q>>2]=0),(0|(vn=m+vn|0))!=(0|wf))break Q;break l}g=3,a=1;continue A}Ri=0;break y}Ri=3;break m}Ri=3;break B}Ri=5;break _}a=2;continue}a=2;continue}a=2;continue}a=2;continue}a=2;continue}a=2;continue}a=2;continue}for(;;){v:{_:{R:{B:{m:{switch(0|a){case 0:Q=b[b[gt>>2]+(Bn<>2],_=b[b[Yn>>2]+j>>2]+(Q<>2],b[(t=d=(i+8|0)+Wf|0)>>2]=b[n>>2],b[t+4>>2]=a,a=b[_+4>>2],b[i+8>>2]=b[_>>2],b[i+12>>2]=a;h:{if((0|ui)>=(0|m)){for(a=b[wi>>2]+Zn|0,t=0;;){if((0|Q)==b[a>>2])break h;if(a=a+E|0,!((0|(t=t+m|0))<(0|Vf)))break}ui=Vf}a=b[d+4>>2],b[(n=Z=(i+48|0)+Wf|0)>>2]=b[d>>2],b[n+4>>2]=a,a=b[i+12>>2],b[i+48>>2]=b[i+8>>2],b[i+52>>2]=a;G:{y:{Q:{p:{D:{w:{if(b[(G=(i+104|0)+Wf|0)>>2]==(0|ui)&&!((0|ui)>=(0|(Mf=ui?ui<>2],(0|(ui=Vf=b[i+108>>2]))<(0|m))break p;break D}Vf=ui;break G}if(n=0,_=b[wi>>2],(0|ui)<(0|m))break p}for(a=n,t=_;d=b[t+4>>2],b[a>>2]=b[t>>2],b[a+4>>2]=d,d=b[(g=t+j|0)+4>>2],b[(h=a+j|0)>>2]=b[g>>2],b[h+4>>2]=d,d=b[(g=t+Wf|0)+4>>2],b[(h=a+Wf|0)>>2]=b[g>>2],b[h+4>>2]=d,a=a+E|0,t=t+E|0,ui=ui+Yf|0;);break Q}if(!_)break y}C[0|nn]&&(gA(_),Vf=b[i+108>>2]),b[wi>>2]=0}b[wi>>2]=n,f[0|nn]=m,b[G>>2]=Mf}a=b[i+52>>2],n=b[wi>>2]+R(E,Vf)|0,b[n>>2]=b[i+48>>2],b[n+4>>2]=a,b[n+20>>2]=Q,b[n+j>>2]=b[(i+48|0)+j>>2],a=b[Z+4>>2],b[(n=n+Wf|0)>>2]=b[Z>>2],b[n+4>>2]=a,Vf=b[i+108>>2]+m|0,b[i+108>>2]=Vf,Mf=b[Ct>>2]}if(ui=Vf,(0|(Bn=m+Bn|0))<(0|Mf))break R;break g;case 1:if(a=R(jf,hn)+zn|0,(0|(n=b[a+4>>2]))>0)for(a=b[a+12>>2],t=0;;){if(b[a>>2]==(0|Nn))break m;if(a=a+F|0,!((0|(t=t+m|0))<(0|n)))break}if((0|(hn=m+hn|0))<(0|Vn))break _;break d}a=w,t=0;h:{for(;;){if(b[a>>2]==(0|kn))break h;if(a=a+F|0,!((0|(t=t+m|0))<(0|wf)))break}if(a=R(jf,kn)+zn|0,!((0|(n=b[a+4>>2]))<(0|m)))for(a=b[a+12>>2],t=0;;){if(b[a>>2]==(0|Nn))break B;if(a=a+F|0,!((0|(t=t+m|0))<(0|n)))break}}if((0|(kn=m+kn|0))<(0|Vn))break v;break d}a=0;continue f}a=0;continue f}a=0;continue}a=1;continue}a=2}}if((0|(mn=m+mn|0))>=(0|Zf))break s;Ri=4,a=2;continue}if(tn=v[en>>2],bn=v[i+36>>2],on=v[i+32>>2],(0|(Rn=m+Rn|0))!=(0|wf))break k;if(b[i+52>>2]=0,b[i+56>>2]=0,a=b[qf>>2]+R(b[w>>2],jf)|0,b[dn>>2]=b[a+20>>2],b[(i+48|0)+E>>2]=b[a+E>>2],b[(i+48|0)+$f>>2]=b[a+$f>>2],b[(Ff=(i+48|0)+rn|0)>>2]=0,f[0|(fn=(i+48|0)+j|0)]=m,b[(i+48|0)+On>>2]=b[a+On>>2],b[(Of=(i+8|0)+rn|0)>>2]=0,f[0|(Fn=(i+8|0)+j|0)]=m,y=B(ot/B(p(B(B(B(on*on)+B(bn*bn))+B(tn*tn))))),v[en>>2]=tn*y,b[i+12>>2]=0,b[i+16>>2]=0,v[i+36>>2]=bn*y,v[i+32>>2]=on*y,$A(i+104|0,i+8|0,i+32|0),b[i+12>>2]>0){Hf=0,gi=b[i+52>>2],Ri=3;break t}if((0|(Zf=b[i+108>>2]))<(0|m))break s}if(!((0|(Vn=b[i+132>>2]))<(0|m))){zn=b[qf>>2],dt=b[wi>>2],mn=0;break o}}if(qA(b[Yn>>2]+E|0,i+48|0),(a=b[Of>>2])&&(C[0|Fn]&&gA(a),b[Of>>2]=0),(a=b[Ff>>2])&&(C[0|fn]&&gA(a),b[Ff>>2]=0),a=b[wi>>2]){if(C[0|nn]&&gA(a),b[wi>>2]=0,w)break u;break c}}if(!w)break c}gA(Df)}if(!D){if(VA(b[r+56>>2]),yf&&gA(Kf),(0|(n=b[i+132>>2]))>=1)break i;break e}g=5,a=1;continue A}Ri=2;break b}Ri=4;break n}a=2;continue}a=2;continue}a=2}}if(gn=1,b[i+132>>2]>=1){D=0,Un=4,Tn=2,nt=16,yf=0,jn=0,Kf=0,Uf=0;break r}if(VA(b[r+56>>2]),(0|(n=b[i+132>>2]))<1)break e}for(a=i+140|0,t=8;e=(w=b[a>>2]+t|0)+-4|0,(r=b[(Df=w+4|0)>>2])&&(C[w+8|0]&&gA(r),b[Df>>2]=0),b[e>>2]=0,b[Df>>2]=0,b[w>>2]=0,f[w+8|0]=1,t=t+36|0,n=n+-1|0;);}return(r=b[i+140>>2])&&(C[i+144|0]&&gA(r),b[i+140>>2]=0),sn&&gA(ln),(r=b[(e=i+204|0)>>2])&&(C[i+208|0]&&gA(r),b[i+204>>2]=0),b[e>>2]=0,f[i+208|0]=1,b[(r=i+196|0)>>2]=0,b[r+4>>2]=0,(r=b[(e=i+184|0)>>2])&&(C[i+188|0]&&gA(r),b[i+184>>2]=0),b[e>>2]=0,f[i+188|0]=1,b[(r=i+176|0)>>2]=0,b[r+4>>2]=0,(r=b[i+164>>2])&&(C[i+168|0]&&gA(r),b[i+164>>2]=0),(r=b[i+228>>2])&&(C[i+232|0]&&gA(r),b[i+228>>2]=0),N=i+240|0,1}g=4,a=1}},dA,Ar,function(r,e){r|=0,e|=0;var i,a=B(0);N=i=N-96|0,YA(r,e),f[r+92|0]=1,C[1696]||(b[403]=0,b[404]=0,b[401]=0,b[402]=0,b[400]=1065353216,b[405]=1065353216,b[408]=0,b[409]=0,b[406]=0,b[407]=0,b[412]=-1082130432,b[410]=1065353216,b[411]=0,b[415]=0,b[416]=0,b[413]=0,b[414]=0,b[417]=-1082130432,b[420]=0,b[421]=0,b[418]=0,b[419]=0,b[422]=-1082130432,b[423]=0,f[1696]=1),e=x(i,0,96),BA[b[b[r>>2]+76>>2]](r,1600,e,6),a=v[r+48>>2],v[r+76>>2]=v[e>>2]+a,v[r+60>>2]=v[e+48>>2]-a,v[r+80>>2]=a+v[e+20>>2],v[r- -64>>2]=v[e+68>>2]-a,v[r+84>>2]=a+v[e+40>>2],v[r+68>>2]=v[e+88>>2]-a,N=e+96|0},cr,function(r,e,i,a){Ar(r|=0,e|=0,i|=0,a|=0)},function(r){return 8588},br,function(r){return(r=b[(r|=0)+96>>2]+-2|0)>>>0<=2?b[7684+(r<<2)>>2]:0},function(r,e,i,a){e|=0,i|=0,a|=0;var f=0,n=0;A:{r:{e:{i:{a:{f:{n:{t:{b:{if(4!=(0|(f=b[(r|=0)+96>>2]))){if(3==(0|f))break b;if(2!=(0|f))break a;break i}if(e>>>0>5)break a;switch(e-1|0){case 1:break e;case 0:break r;case 4:break f;case 3:break n;case 2:break t}break i}b:{if(2!=(0|e)){if(1==(0|e))break b;if(e)break a;break i}break e}break r}e=b[r+104>>2],b[i>>2]=b[r+100>>2],b[i+4>>2]=e,e=i+8|0,f=b[(i=r+108|0)+4>>2],b[e>>2]=b[i>>2],b[e+4>>2]=f;break A}n=b[(f=r+124|0)+4>>2],b[(e=i+8|0)>>2]=b[f>>2],b[e+4>>2]=n,f=b[(e=r+116|0)+4>>2],b[i>>2]=b[e>>2],b[i+4>>2]=f;break A}n=b[(f=r+140|0)+4>>2],b[(e=i+8|0)>>2]=b[f>>2],b[e+4>>2]=n,f=b[(e=r+132|0)+4>>2],b[i>>2]=b[e>>2],b[i+4>>2]=f,f=b[(i=r+156|0)+4>>2],b[(e=a+8|0)>>2]=b[i>>2],b[e+4>>2]=f,e=b[(r=r+148|0)+4>>2],b[a>>2]=b[r>>2],b[a+4>>2]=e}return}return e=b[r+104>>2],b[i>>2]=b[r+100>>2],b[i+4>>2]=e,e=i+8|0,f=b[(i=r+108|0)+4>>2],b[e>>2]=b[i>>2],b[e+4>>2]=f,f=b[(i=r+124|0)+4>>2],b[(e=a+8|0)>>2]=b[i>>2],b[e+4>>2]=f,e=b[(r=r+116|0)+4>>2],b[a>>2]=b[r>>2],void(b[a+4>>2]=e)}return n=b[(f=r+140|0)+4>>2],b[(e=i+8|0)>>2]=b[f>>2],b[e+4>>2]=n,f=b[(e=r+132|0)+4>>2],b[i>>2]=b[e>>2],b[i+4>>2]=f,f=b[(i=r+108|0)+4>>2],b[(e=a+8|0)>>2]=b[i>>2],b[e+4>>2]=f,e=b[r+104>>2],b[a>>2]=b[r+100>>2],void(b[a+4>>2]=e)}return n=b[(f=r+124|0)+4>>2],b[(e=i+8|0)>>2]=b[f>>2],b[e+4>>2]=n,f=b[(e=r+116|0)+4>>2],b[i>>2]=b[e>>2],b[i+4>>2]=f,f=b[(i=r+140|0)+4>>2],b[(e=a+8|0)>>2]=b[i>>2],b[e+4>>2]=f,e=b[(r=r+132|0)+4>>2],b[a>>2]=b[r>>2],void(b[a+4>>2]=e)}f=b[(i=r+156|0)+4>>2],b[(e=a+8|0)>>2]=b[i>>2],b[e+4>>2]=f,e=b[(r=r+148|0)+4>>2],b[a>>2]=b[r>>2],b[a+4>>2]=e},function(r,e,i){var a,f;i|=0,f=b[(e=(r=((e|=0)<<4)+(r|=0)|0)+108|0)+4>>2],b[(a=i+8|0)>>2]=b[e>>2],b[a+4>>2]=f,e=b[(r=r+100|0)+4>>2],b[i>>2]=b[r>>2],b[i+4>>2]=e},function(r){return 0|(4==(0|(r=b[(r|=0)+96>>2]))?4:(3==(0|r))<<1)},or,function(r,e,i){return i=B(i),0},kr,sA,Cr,function(r,e,i){e|=0,i|=0,b[(r|=0)+24>>2]=i,b[r+16>>2]=e},function(r,e,i){e|=0,i|=0,b[(r|=0)+28>>2]=i,b[r+20>>2]=e},function(r,e,i,a){r|=0,e|=0,i|=0,a=B(a);var f,n=0,t=B(0),g=B(0),d=B(0),_=0,h=B(0),Q=B(0),D=0,w=0,Z=B(0),Y=0,W=B(0),F=0,E=0,j=0,Be=B(0),ui=B(0),gi=B(0),Ri=B(0),wi=0,Xi=0,Da=B(0),Ia=B(0),yf=B(0),Qf=B(0),pf=B(0),Df=B(0),wf=B(0),Zf=B(0),Yf=B(0),Wf=B(0),Ff=B(0),Ef=0;if(N=f=N-192|0,!(v[b[r+4>>2]+784>>2]>2],g=B(B(v[e+8>>2]*a)+W),Be=v[i+4>>2],d=B(B(v[e+4>>2]*a)+Be),ui=v[i>>2],Z=B(B(v[e>>2]*a)+ui),_=b[(E=r+4|0)>>2],Xi=b[_+780>>2],(F=(0|(w=b[_+772>>2]))==(0|(j=b[b[r+8>>2]+8>>2])))?(t=B(Z-v[w+52>>2]),h=B(d-v[w+56>>2]),Q=B(g-v[w+60>>2]),gi=B(B(B(t*v[w+12>>2])+B(h*v[w+28>>2]))+B(Q*v[w+44>>2])),Ri=B(B(B(t*v[w+8>>2])+B(h*v[w+24>>2]))+B(Q*v[w+40>>2])),t=B(B(B(t*v[w+4>>2])+B(h*v[w+20>>2]))+B(Q*v[w+36>>2])),n=b[b[r+12>>2]+8>>2]):(n=b[b[r+12>>2]+8>>2],t=B(Z-v[n+52>>2]),h=B(d-v[n+56>>2]),Q=B(g-v[n+60>>2]),gi=B(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|(i=b[r+780>>2]))>=1){for(n=r+8|0,g=v[e+8>>2],d=v[e+4>>2],_=v[e>>2],f=v[r+784>>2],f=B(f*f),r=0,e=-1;a=B(v[n+-4>>2]-_),t=B(a*a),a=B(v[n>>2]-d),t=B(t+B(a*a)),a=B(v[n+4>>2]-g),f=(C=(a=B(t+B(a*a)))>2],n=b[Y+8>>2],D=b[r+12>>2],_=b[D+8>>2],v[f+96>>2]=v[n+232>>2]*v[_+232>>2],a=v[n+228>>2],t=v[_+228>>2],v[f+84>>2]=G(B(y(B(a*t),B(-10))),B(10)),v[f+88>>2]=G(B(y(B(B(t*v[n+236>>2])+B(a*v[_+236>>2])),B(-10))),B(10)),v[f+92>>2]=G(B(y(B(B(t*v[n+240>>2])+B(a*v[_+240>>2])),B(-10))),B(10)),e=b[n+204>>2],(128&C[_+204|0]||128&e)&&(v[f+148>>2]=v[n+244>>2]+v[_+244>>2],e=Y+8|0,v[f+144>>2]=B(1)/B(B(B(1)/v[b[e>>2]+248>>2])+B(B(1)/v[b[D+8>>2]+248>>2])),b[f+120>>2]=8|b[f+120>>2],e=b[b[e>>2]+204>>2]),(2&C[b[D+8>>2]+205|0]||512&e)&&(b[f+120>>2]=16|b[f+120>>2]),a=v[f+72>>2],B(m(a))>B(.7071067690849304)?(d=v[f+68>>2],t=B(B(a*a)+B(d*d)),g=B(B(1)/B(p(t))),Z=B(t*g),Q=v[f+64>>2],t=B(-B(a*g)),h=B(Q*t),a=B(d*g),g=B(-B(Q*a)),d=B(0)):(Z=v[f- -64>>2],g=v[f+68>>2],d=B(B(Z*Z)+B(g*g)),t=B(B(1)/B(p(d))),h=B(d*t),d=B(-B(g*t)),g=B(a*d),t=B(Z*t),Z=B(-B(a*t)),a=B(0)),v[f+184>>2]=h,v[f+180>>2]=g,v[f+168>>2]=a,v[f+164>>2]=t,v[f+176>>2]=Z,v[f+160>>2]=d,F?(n=r+28|0,e=r+20|0,_=r+16|0,D=r+24|0):(n=r+24|0,e=r+16|0,_=r+20|0,D=r+28|0),b[f+112>>2]=b[n>>2],b[f+108>>2]=b[D>>2],b[f+104>>2]=b[e>>2],b[f+100>>2]=b[_>>2],e=b[E>>2];A:{r:{if((0|i)>=0){if(e=e+R(i,192)|0,a=v[(n=e+136|0)>>2],t=v[(_=e+132|0)>>2],g=v[(D=e+128|0)>>2],Y=b[(F=e+160|0)>>2],16&C[f+120|0]&&(d=B(B(g*v[e+88>>2])+B(0)),!(B(B(t*t)+B(a*a))>B(d*d)))||(Ef=b[(wi=e+120|0)>>2],J(e+4|0,f,192),v[D>>2]=g,b[wi>>2]=Ef,v[_>>2]=t,v[n>>2]=a),b[F>>2]=Y,e=b[429])break r;break A}if(i=sr(e,f),!(e=b[429]))break A}n=r+8|0,(8&C[b[b[(r=r+12|0)>>2]+8>>2]+204|0]||8&C[b[b[n>>2]+8>>2]+204|0])&&(D=4+(b[E>>2]+R(i,192)|0)|0,i=(0|w)!=(0|j),BA[e](D,b[(i?r:n)>>2],b[f+100>>2],b[f+108>>2],b[(i?n:r)>>2],b[f+104>>2],b[f+112>>2]))}Xi||(r=b[427])&&BA[r](E)}N=f+192|0},function(r,e,i){r|=0,e|=0,i|=0;var a,f,n,t=B(0);if(N=a=N-96|0,f=b[b[r>>2]>>2],n=b[b[r+4>>2]>>2],BA[b[b[e>>2]+24>>2]](e,f,n)&&(b[a+88>>2]=-1,b[a+92>>2]=-1,b[a+72>>2]=0,b[a+80>>2]=f,b[a+84>>2]=f+4,b[a+76>>2]=b[f+192>>2],b[a+64>>2]=-1,b[a+68>>2]=-1,b[a+48>>2]=0,b[a+56>>2]=n,b[a+60>>2]=n+4,b[a+52>>2]=b[n+192>>2],b[r+8>>2]||(e=0|BA[b[b[e>>2]+8>>2]](e,a+72|0,a+48|0,0,1),b[r+8>>2]=e,e))){if(e=function(r,e,i){return b[r+32>>2]=0,b[r+12>>2]=i,b[r+8>>2]=e,b[r+4>>2]=0,b[r>>2]=7780,r}(a+8|0,a+72|0,a+48|0),r=b[r+8>>2],1==b[i+8>>2])return BA[b[b[r>>2]+8>>2]](r,a+72|0,a+48|0,i,e),void(N=a+96|0);t=B(BA[b[b[r>>2]+12>>2]](r,f,n,i,e)),v[i+12>>2]>t&&(v[i+12>>2]=t)}N=a+96|0},function(r){var e,i=0;return b[(r|=0)>>2]=7920,(e=b[(i=r+20|0)>>2])&&(C[r+24|0]&&gA(e),b[r+20>>2]=0),b[i>>2]=0,f[r+24|0]=1,b[(i=r+12|0)>>2]=0,b[i+4>>2]=0,0|r},function(r){var e,i=0;b[(r|=0)>>2]=7920,(e=b[(i=r+20|0)>>2])&&(C[r+24|0]&&gA(e),b[r+20>>2]=0),b[i>>2]=0,f[r+24|0]=1,b[(i=r+12|0)>>2]=0,b[i+4>>2]=0,rA(r)},function(r,e,i,a,f){var n,t;return r|=0,e|=0,i|=0,a|=0,f|=0,N=n=N-16|0,b[n+12>>2]=a,b[n+8>>2]=r,a=b[b[i+4>>2]+4>>2],t=b[b[e+4>>2]+4>>2],1==(0|f)?(r=b[76+((R(t,144)+r|0)+(a<<2)|0)>>2],r=0|BA[b[b[r>>2]+8>>2]](r,n+8|0,e,i),N=n+16|0,0|r):(r=b[5260+((R(t,144)+r|0)+(a<<2)|0)>>2],r=0|BA[b[b[r>>2]+8>>2]](r,n+8|0,e,i),N=n+16|0,0|r)},function(r,e,i){r|=0,e|=0,i|=0;var a,n=0,t=0,g=0,d=B(0),_=B(0),R=0,m=0,h=0;N=a=N-16|0,b[430]=b[430]+1,t=3176,2&b[r+4>>2]&&(n=b[e+192>>2],d=B(BA[b[b[n>>2]+20>>2]](n,v[794])),v[a+12>>2]=d,n=b[i+192>>2],_=B(BA[b[b[n>>2]+20>>2]](n,v[794])),v[a+8>>2]=_,t=d<_?a+12|0:a+8|0),g=b[t>>2],d=v[i+184>>2],_=v[e+184>>2],n=b[r+72>>2];A:{if(t=b[n+12>>2])b[n+12>>2]=b[t>>2],b[n+8>>2]=b[n+8>>2]+-1;else{if(t=0,4&C[r+4|0])break A;t=CA(804,16)}if(b[t>>2]=1025,b[t+160>>2]=0,b[(n=t+152|0)>>2]=0,b[n+4>>2]=0,b[(n=t+144|0)>>2]=0,b[n+4>>2]=0,b[(n=t+136|0)>>2]=0,b[n+4>>2]=0,b[(n=t+128|0)>>2]=0,b[n+4>>2]=0,b[t+120>>2]=0,b[t+124>>2]=0,b[t+352>>2]=0,b[(n=t+344|0)>>2]=0,b[n+4>>2]=0,b[(n=t+336|0)>>2]=0,b[n+4>>2]=0,b[(n=t+328|0)>>2]=0,b[n+4>>2]=0,b[(n=t+320|0)>>2]=0,b[n+4>>2]=0,b[t+312>>2]=0,b[t+316>>2]=0,b[t+544>>2]=0,b[(n=t+536|0)>>2]=0,b[n+4>>2]=0,b[(n=t+528|0)>>2]=0,b[n+4>>2]=0,b[(n=t+520|0)>>2]=0,b[n+4>>2]=0,b[(n=t+512|0)>>2]=0,b[n+4>>2]=0,b[t+504>>2]=0,b[t+508>>2]=0,b[t+736>>2]=0,b[(n=t+728|0)>>2]=0,b[n+4>>2]=0,b[(n=t+720|0)>>2]=0,b[n+4>>2]=0,b[(n=t+712|0)>>2]=0,b[n+4>>2]=0,b[(n=t+704|0)>>2]=0,b[n+4>>2]=0,b[t+696>>2]=0,b[t+700>>2]=0,v[t+788>>2]=_>2]=g,b[t+780>>2]=0,b[t+776>>2]=i,b[t+772>>2]=e,n=b[(R=r+12|0)>>2],b[t+800>>2]=n,b[r+16>>2]==(0|n)&&!((0|n)>=(0|(g=n?n<<1:1)))){r:{e:{if(g){if(m=CA(g<<2,16),(0|(n=b[r+12>>2]))>=1)break e;break r}if((0|n)<1)break r}for(e=0,h=r+20|0,i=n;b[e+m>>2]=b[b[h>>2]+e>>2],e=e+4|0,i=i+-1|0;);}(i=b[(e=r+20|0)>>2])&&(C[r+24|0]&&(gA(i),n=b[r+12>>2]),b[r+20>>2]=0),b[e>>2]=m,f[r+24|0]=1,b[r+16>>2]=g}b[R>>2]=n+1,b[b[r+20>>2]+(n<<2)>>2]=t}return N=a+16|0,0|t},function(r,e){r|=0,e|=0;var i,a,f,n,t,C,g=0,d=0,v=0;if(b[430]=b[430]+-1,BA[b[b[r>>2]+20>>2]](r,e),d=b[(g=r+20|0)>>2],i=b[e+800>>2],n=b[(v=d+(a=i<<2)|0)>>2],t=v,C=d,f=(v=b[(d=r+12|0)>>2]+-1|0)<<2,b[t>>2]=b[C+f>>2],b[b[g>>2]+f>>2]=n,b[d>>2]=v,b[b[b[g>>2]+a>>2]+800>>2]=i,e&&(r=b[r+72>>2],!((g=b[r+16>>2])>>>0>e>>>0|g+R(b[r>>2],b[r+4>>2])>>>0<=e>>>0)))return b[e>>2]=b[r+12>>2],b[r+12>>2]=e,void(b[r+8>>2]=b[r+8>>2]+1);gA(e)},function(r,e){r|=0;var i=0,a=0,f=0,n=0;if(N=r=N-16|0,(0|(a=b[(e|=0)+780>>2]))>=1)for(i=e+4|0,n=e+780|0;lr(i),i=i+192|0,(0|(f=f+1|0))<(0|(a=b[n>>2])););a&&((i=b[428])&&(b[r+12>>2]=e,BA[i](r+12|0))),b[e+780>>2]=0,N=r+16|0},function(r,e,i){r|=0,i|=0;var a=0;A:if(2!=(0|(r=b[(e|=0)+220>>2]))&&5!=(0|r)||(r=0,a=b[i+220>>2],!(2==(0|a)|5==(0|a)))){if(!b[e+280>>2]||BA[b[b[e>>2]+12>>2]](e,i)){if(r=1,!b[i+280>>2])break A;if(BA[b[b[i>>2]+12>>2]](i,e))break A}r=0}return 0|r},function(r,e,i){r|=0,i|=0,r=0;A:{if(!(4&(e=b[(e|=0)+204>>2])||(i=b[i+204>>2],4&i))){if(!(3&e))break A;r=!(3&i)}return 0|r}return 1},function(r,e,i,a){var f;r|=0,e|=0,i|=0,a|=0,N=f=N-16|0,b[f+8>>2]=r,b[f+4>>2]=i,b[f>>2]=8028,BA[b[b[e>>2]+48>>2]](e,f,a),N=f+16|0},function(r){return b[(r|=0)+12>>2]},function(r,e){return e|=0,b[b[(r|=0)+20>>2]+(e<<2)>>2]},function(r){return b[(r|=0)+12>>2]?b[r+20>>2]:0},_r,_r,function(r,e){var i;return e|=0,r=b[(r|=0)+68>>2],(i=b[r+12>>2])?(b[r+12>>2]=b[i>>2],b[r+8>>2]=b[r+8>>2]+-1,0|i):0|CA(e,16)},function(r,e){r|=0;var i=0;if((e|=0)&&(r=b[r+68>>2],!((i=b[r+16>>2])>>>0>e>>>0|R(b[r>>2],b[r+4>>2])+i>>>0<=e>>>0)))return b[e>>2]=b[r+12>>2],b[r+12>>2]=e,void(b[r+8>>2]=b[r+8>>2]+1);gA(e)},sA,Cr,function(r,e){var i;return i=e|=0,e=b[(r|=0)+8>>2],BA[b[e+64>>2]](i,e,b[r+4>>2]),0},function(r){var e=0,i=0;return b[(r|=0)>>2]=8116,(e=b[r+12>>2])&&(i=b[r+4>>2],BA[b[b[i>>2]+16>>2]](i,e),b[r+12>>2]=0),(e=b[r+8>>2])&&(BA[b[b[e>>2]>>2]](e),e=b[r+4>>2],i=r+8|0,BA[b[b[e>>2]+60>>2]](e,b[i>>2]),b[i>>2]=0),b[r+24>>2]=-1,b[r+28>>2]=-1,b[(e=r+32|0)>>2]=-1,b[e+4>>2]=-1,0|r},function(r){var e=0,i=0;b[(r|=0)>>2]=8116,(e=b[r+12>>2])&&(i=b[r+4>>2],BA[b[b[i>>2]+16>>2]](i,e),b[r+12>>2]=0),(e=b[r+8>>2])&&(BA[b[b[e>>2]>>2]](e),e=b[r+4>>2],i=r+8|0,BA[b[b[e>>2]+60>>2]](e,b[i>>2]),b[i>>2]=0),b[r+24>>2]=-1,b[r+28>>2]=-1,b[(e=r+32|0)>>2]=-1,b[e+4>>2]=-1,rA(r)},function(r,e,i,a,f){e|=0,i|=0,a|=0,f|=0;var n=0,t=0;(n=b[(r|=0)+12>>2])&&(t=b[r+4>>2],BA[b[b[t>>2]+16>>2]](t,n),b[r+12>>2]=0),(n=b[r+8>>2])&&(BA[b[b[n>>2]>>2]](n),n=b[r+4>>2],t=r+8|0,BA[b[b[n>>2]+60>>2]](n,b[t>>2]),b[t>>2]=0),b[r+24>>2]=-1,b[r+28>>2]=-1,b[(n=r+32|0)>>2]=-1,b[n+4>>2]=-1,b[r+20>>2]=a,b[r+16>>2]=f;A:{if(a=b[e+4>>2],25==b[a+4>>2]){if(f=b[i+4>>2],25!=b[f+4>>2])break A;return void Rr(r,e,i,a,f)}return f=b[i+4>>2],void(25==b[f+4>>2]&&Gr(r,i,e,f,a,1))}Gr(r,e,i,a,f,0)},hr,function(r,e){e|=0;var i=0,a=0,n=0,t=0,g=0,d=0;if(a=b[(r|=0)+12>>2]){if((0|(i=b[e+4>>2]))==b[e+8>>2]&&!((0|i)>=(0|(t=i?i<<1:1)))){A:{r:{if(t){if(g=CA(t<<2,16),(0|(i=b[e+4>>2]))>=1)break r;break A}if((0|i)<1)break A}for(a=0,d=e+12|0,n=i;b[a+g>>2]=b[b[d>>2]+a>>2],a=a+4|0,n=n+-1|0;);}(n=b[e+12>>2])&&(C[e+16|0]&&(gA(n),i=b[e+4>>2]),b[e+12>>2]=0),b[e+12>>2]=g,f[e+16|0]=1,b[e+8>>2]=t,a=b[r+12>>2]}b[e+4>>2]=i+1,b[b[e+12>>2]+(i<<2)>>2]=a}},cr,function(r,e,i,a){r|=0,e|=0,i|=0,a|=0;var f,n,t=B(0),C=B(0),g=B(0),d=0,_=B(0),R=B(0),m=B(0),h=B(0),G=B(0),y=B(0),Q=0,p=0,D=B(0),w=B(0),Z=B(0),Y=B(0),W=B(0),F=B(0),E=B(0),j=B(0),BA=B(0),Be=B(0),ui=B(0),gi=B(0),Ri=0;f=N-48|0,t=v[r+60>>2],_=v[e+16>>2],C=v[r- -64>>2],D=v[e+20>>2],g=v[r+68>>2],w=v[e+24>>2],Z=v[e+52>>2],Y=B(B(B(B(t*_)+B(C*D))+B(g*w))+Z),v[f+40>>2]=Y,R=v[e+32>>2],W=v[e+36>>2],F=v[e+40>>2],E=v[e+56>>2],j=B(B(B(B(t*R)+B(C*W))+B(g*F))+E),v[f+36>>2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=B(B(B(a*v[e+92>>2])+B(f*v[e+96>>2]))+B(n*v[e+100>>2])),a=B(B(B(a*v[e+60>>2])+B(f*v[e- -64>>2]))+B(n*v[e+68>>2])),i=b[(e=(e+60|0)+((a>2],b[r>>2]=b[e>>2],b[r+4>>2]=i,i=b[(e=e+8|0)+4>>2],b[(r=r+8|0)>>2]=b[e>>2],b[r+4>>2]=i},function(r,e,i,a){r|=0,e|=0,i|=0,a|=0;var f=B(0),n=0,t=0,C=B(0),g=B(0),d=B(0),_=B(0),R=0,m=0,h=0,G=0,y=0,Q=0,p=0,D=0,w=0;if((0|a)>=1)for(R=r+100|0,m=r+96|0,h=r+92|0,G=r+84|0,y=r+80|0,Q=r+76|0,p=r+68|0,D=r- -64|0,r=r+60|0;f=v[e>>2],C=v[e+4>>2],g=v[e+8>>2],d=B(B(B(f*v[Q>>2])+B(C*v[y>>2]))+B(g*v[G>>2])),_=B(B(B(f*v[h>>2])+B(C*v[m>>2]))+B(g*v[R>>2])),f=B(B(B(f*v[r>>2])+B(C*v[D>>2]))+B(g*v[p>>2])),t=b[(n=r+((f>2],b[i>>2]=b[n>>2],b[i+4>>2]=t,w=b[(n=n+8|0)+4>>2],b[(t=i+8|0)>>2]=b[n>>2],b[t+4>>2]=w,e=e+16|0,i=i+16|0,a=a+-1|0;);},wr,function(r,e,i){r|=0,e|=0,i|=0;var a=B(0),f=B(0),n=B(0),t=B(0),C=B(0),g=B(0),d=B(0),_=B(0),R=B(0),m=B(0),h=B(0);t=v[r+92>>2],C=v[r+76>>2],g=v[r+80>>2],_=v[r+100>>2],f=v[r+68>>2],R=v[r+84>>2],d=v[r+96>>2],a=v[r- -64>>2],n=v[r+60>>2],b[i+12>>2]=0,C=B(C-n),d=B(d-a),g=B(g-a),n=B(t-n),m=a=B(B(C*d)-B(g*n)),h=B(a*a),a=B(_-f),t=B(R-f),f=B(B(g*a)-B(t*d)),a=B(B(t*n)-B(C*a)),n=B(B(1)/B(p(B(h+B(B(f*f)+B(a*a)))))),t=B(m*n),v[i+8>>2]=t,a=B(a*n),v[i+4>>2]=a,f=B(f*n),v[i>>2]=f,e&&(v[i+8>>2]=-t,v[i+4>>2]=-a,v[i>>2]=-f)},Wr,Wr,function(r,e,i,a){e|=0,i|=0,a|=0,BA[b[b[(r|=0)>>2]+108>>2]](r,e,i),BA[b[b[r>>2]+108>>2]](r,(e+1|0)%3|0,a)},function(r,e,i){var a,f;i|=0,f=b[(e=(r=((e|=0)<<4)+(r|=0)|0)+68|0)+4>>2],b[(a=i+8|0)>>2]=b[e>>2],b[a+4>>2]=f,e=b[(r=r+60|0)+4>>2],b[i>>2]=b[r>>2],b[i+4>>2]=e},Fr,function(r,e,i,a){e|=0,i|=0,a|=0,BA[b[b[(r|=0)>>2]+124>>2]](r,a,e,i)},function(r,e,i){r|=0,e|=0,i=B(i);var a,f=B(0),n=B(0),t=B(0),C=B(0),g=B(0),d=B(0),_=B(0),R=B(0),m=B(0),h=B(0),G=B(0),y=0,Q=0,D=0;return N=a=N-32|0,h=v[r+60>>2],g=B(v[r+76>>2]-h),n=v[r- -64>>2],C=B(v[r+96>>2]-n),f=B(v[r+80>>2]-n),d=B(v[r+92>>2]-h),R=t=B(B(g*C)-B(f*d)),G=B(t*t),m=f,f=v[r+68>>2],t=B(v[r+100>>2]-f),_=B(v[r+84>>2]-f),C=B(B(m*t)-B(_*C)),g=B(B(_*d)-B(g*t)),d=B(B(1)/B(p(B(G+B(B(C*C)+B(g*g)))))),t=B(R*d),C=B(C*d),g=B(g*d),(n=B(B(B(v[e+8>>2]*t)+B(B(v[e>>2]*C)+B(v[e+4>>2]*g)))-B(B(f*t)+B(B(h*C)+B(n*g)))))>=(h=B(-i))^1|n<=i^1||(BA[b[b[r>>2]+104>>2]](r,0,a+16|0,a),y=e+8|0,d=v[a+16>>2],n=B(v[a>>2]-d),_=v[a+20>>2],f=B(v[a+4>>2]-_),R=i=B(B(g*n)-B(C*f)),G=B(i*i),i=B(t*f),m=v[a+24>>2],f=B(v[a+8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B(C*C)+B(n*n)))))),v[i+8>>2]=G*t,v[i+4>>2]=n*t,v[i>>2]=C*t,f=b[e+4>>2],b[(i=a+8|0)>>2]=b[e>>2],b[i+4>>2]=f,e=b[r+64>>2],b[a>>2]=b[r+60>>2],b[a+4>>2]=e},cr,function(r,e){return e|=0,r=b[b[(r|=0)+4>>2]>>2],0|BA[b[b[r>>2]+128>>2]](r,e)},sA,Cr,function(r,e){var i,a;return e|=0,i=b[(r|=0)+4>>2],a=b[i>>2],BA[b[b[a>>2]+104>>2]](a,e,i+4|0),b[r+4>>2]+4|0},Cr,function(r,e){var i,a;return e|=0,i=b[(r|=0)+4>>2],a=b[i>>2],BA[b[b[a>>2]+108>>2]](a,e,i+112|0),b[r+4>>2]+112|0},Cr,sA,Cr,function(r,e,i,a){r|=0,e|=0,i|=0,a|=0;var f,n,t=0,g=0,d=0;N=f=N-144|0,n=LA(f+32|0),d=b[(g=e+8|0)+4>>2],b[(t=f+100|0)>>2]=b[g>>2],b[t+4>>2]=d,g=b[e+20>>2],b[(t=f+108|0)>>2]=b[e+16>>2],b[t+4>>2]=g,d=b[(g=e+24|0)+4>>2],b[(t=f+116|0)>>2]=b[g>>2],b[t+4>>2]=d,g=b[e+36>>2],b[(t=f+124|0)>>2]=b[e+32>>2],b[t+4>>2]=g,d=b[(g=e+40|0)+4>>2],b[(t=f+132|0)>>2]=b[g>>2],b[t+4>>2]=d,b[f+36>>2]=1,b[f+32>>2]=8188,t=b[e+4>>2],b[f+92>>2]=b[e>>2],b[f+96>>2]=t,b[f+80>>2]=b[r+24>>2],e=b[r+4>>2],(d=C[r+20|0])?(b[e+28>>2]=i,t=e+24|0):(b[e+36>>2]=i,t=e+32|0),b[t>>2]=a,t=b[r+12>>2],g=b[t+8>>2],b[f+20>>2]=b[t+12>>2],b[f+16>>2]=g,b[f+28>>2]=a,b[f+24>>2]=i,b[f+8>>2]=t,i=b[e+16>>2],a=b[i+8>>2],t=b[a+8>>2],b[f+12>>2]=f+32,(0|t)==(0|g)?i=i+8|0:(a=b[i+12>>2],i=i+12|0),b[i>>2]=f+8,Gr(e,b[r+8>>2],f+8|0,b[r+16>>2],f+32|0,0!=(0|d)),r=b[b[r+4>>2]+16>>2],b[(b[b[r+8>>2]+8>>2]==b[f+16>>2]?8:12)+r>>2]=a,er(n),N=f+144|0},sA,Cr,function(r,e,i,a){return r|=0,r=b[(e|=0)>>2],vA(r=0|BA[b[b[r>>2]+56>>2]](r,40),e),b[r>>2]=8116,b[r+8>>2]=0,b[r+12>>2]=0,0|r},Nr,function(r){var e,i=0;b[(r|=0)>>2]=9024,(e=b[(i=r+296|0)>>2])&&(C[r+300|0]&&gA(e),b[r+296>>2]=0),b[i>>2]=0,f[r+300|0]=1,b[(i=r+288|0)>>2]=0,b[i+4>>2]=0,gA(r)},function(r,e){e|=0,b[(r|=0)+200>>2]=e,b[r+192>>2]=e,b[r+304>>2]=b[r+304>>2]+1},function(r,e){e|=0;var i,a=0;a=i=b[(r|=0)+288>>2];A:if(!((0|i)<1)){for(r=b[r+296>>2],a=0;;){if(b[r>>2]==(0|e))break A;if(r=r+4|0,!((0|(a=a+1|0))<(0|i)))break}a=i}return(0|a)>=(0|i)|0},function(r){return 264},Jr,function(r,e){var i,a,f=0,n=0,t=0,C=0;n=e|=0,t=0|BA[b[b[(r|=0)>>2]+16>>2]](r),C=1,f=b[b[e>>2]+16>>2],a=0|BA[f](0|n,0|t,0|C),C=e,t=a,n=0|BA[b[b[r>>2]+20>>2]](r,b[a+8>>2],e),i=r,f=b[b[e>>2]+20>>2],BA[f](0|C,0|t,0|n,1245859651,0|i)},cr,Mr,xr,function(r,e,i){r|=0,e=B(e),i|=0;var a=B(0),f=B(0),n=B(0),t=B(0),C=B(0),g=B(0);a=v[r+40>>2],f=v[r+36>>2],n=v[r+32>>2],t=B(BA[b[b[r>>2]+48>>2]](r)),C=B(BA[b[b[r>>2]+48>>2]](r)),g=B(BA[b[b[r>>2]+48>>2]](r)),b[i+12>>2]=0,e=B(e/B(12)),n=B(n+t),n=B(n+n),n=B(n*n),f=B(f+C),f=B(f+f),f=B(f*f),v[i+8>>2]=e*B(n+f),a=B(a+g),a=B(a+a),a=B(a*a),v[i+4>>2]=e*B(n+a),v[i>>2]=e*B(f+a)},function(r){return 9272},Xr,function(r,e,i){r|=0,e|=0,i|=0;var a=B(0),f=B(0),n=B(0),t=B(0),C=B(0),g=B(0);a=v[e+36>>2],f=v[e+40>>2],n=v[e+32>>2],t=B(BA[b[b[e>>2]+48>>2]](e)),C=B(BA[b[b[e>>2]+48>>2]](e)),g=B(BA[b[b[e>>2]+48>>2]](e)),b[r+12>>2]=0,f=B(f+g),v[r+8>>2]=v[i+8>>2]>=B(0)?f:B(-f),a=B(a+C),v[r+4>>2]=v[i+4>>2]>=B(0)?a:B(-a),a=B(n+t),v[r>>2]=v[i>>2]>=B(0)?a:B(-a)},function(r,e,i){r|=0,e|=0,i|=0;var a=B(0);b[r+12>>2]=0,a=v[e+32>>2],v[r>>2]=v[i>>2]>=B(0)?a:B(-a),a=v[e+40>>2],v[r+8>>2]=v[i+8>>2]>=B(0)?a:B(-a),a=v[e+36>>2],v[r+4>>2]=v[i+4>>2]>=B(0)?a:B(-a)},function(r,e,i,a){r|=0,e|=0,i|=0,a|=0;var f=0,n=B(0),t=B(0),C=B(0),g=0,d=0,_=0,R=B(0),m=B(0),h=B(0);if((0|a)>=1)for(g=r+36|0,d=r+40|0,_=r+32|0,r=0;n=v[g>>2],R=v[(f=r+e|0)+4>>2],t=v[d>>2],m=v[f+8>>2],C=v[_>>2],h=v[f>>2],b[(f=r+i|0)+12>>2]=0,v[f>>2]=h>=B(0)?C:B(-C),v[f+8>>2]=m>=B(0)?t:B(-t),v[f+4>>2]=R>=B(0)?n:B(-n),r=r+16|0,a=a+-1|0;);},Sr,function(r,e,i){r|=0,i|=0,(e|=0)>>>0<=5&&(b[i+12>>2]=0,r=e<<2,b[i+8>>2]=b[r+9324>>2],b[i+4>>2]=b[r+9300>>2],b[i>>2]=b[r+9276>>2])},function(r){return 8},pA,function(r,e,i,a){i|=0,a|=0;var f,n=0,t=0;f=r|=0,(e|=0)>>>0<=11&&(n=b[(e<<=2)+9396>>2],t=b[e+9348>>2]),BA[b[b[r>>2]+108>>2]](f,t,i),BA[b[b[r>>2]+108>>2]](r,n,a)},function(r,e,i){r|=0,e|=0,i|=0;var a=B(0),f=B(0),n=B(0),t=B(0),C=B(0),g=B(0);f=v[r+40>>2],a=v[r+36>>2],n=v[r+32>>2],t=B(BA[b[b[r>>2]+48>>2]](r)),C=B(BA[b[b[r>>2]+48>>2]](r)),g=B(BA[b[b[r>>2]+48>>2]](r)),b[i+12>>2]=0,a=B(a+C),r=e>>>1&1,v[i+4>>2]=B(a*B(1^r))-B(a*B(0|r)),a=B(n+t),r=1&e,v[i>>2]=B(a*B(1^r))-B(a*B(0|r)),f=B(f+g),r=e>>>2&1,v[i+8>>2]=B(f*B(1^r))-B(f*B(0|r))},Sr,function(r,e,i,a){var f,n,t;e|=0,i|=0,a|=0,N=f=N-48|0,BA[b[b[(r|=0)>>2]+124>>2]](r,f+32|0,a),b[e+12>>2]=0,a=b[f+40>>2],b[e+8>>2]=a,n=b[f+36>>2],b[e+4>>2]=n,t=e,e=b[f+32>>2],b[t>>2]=e,b[f+12>>2]=0,b[f+8>>2]=-2147483648^a,b[f+4>>2]=-2147483648^n,b[f>>2]=-2147483648^e,BA[b[b[r>>2]+64>>2]](f+16|0,r,f),a=b[(e=f+24|0)+4>>2],b[(r=i+8|0)>>2]=b[e>>2],b[r+4>>2]=a,r=b[f+20>>2],b[i>>2]=b[f+16>>2],b[i+4>>2]=r,N=f+48|0},function(r,e,i){r|=0,e|=0,i=B(i);var a=B(0),f=B(0),n=0;return a=v[e>>2],f=v[r+32>>2],a<=B(f+i)^1|a>=B(B(-f)-i)^1||(a=v[e+4>>2],f=v[r+36>>2],a<=B(f+i)^1|a>=B(B(-f)-i)^1||(a=v[e+8>>2],f=v[r+40>>2],a<=B(f+i)&&(n=a>=B(B(-f)-i)))),0|n},function(r,e,i){r|=0,e|=0,i|=0;var a=0,f=B(0),n=B(0),t=B(0);if(i>>>0<=5){n=v[r+40>>2],t=v[r+36>>2],f=v[r+32>>2],r=1065353216,a=i;A:{r:{e:{i:{a:{f:switch(i-1|0){case 0:i=0,r=-1082130432,a=0;break A;case 1:i=1065353216;break a;case 4:break e;case 3:break i;case 2:break f;default:break A}i=-1082130432}r=0,f=t,a=0;break A}a=1065353216;break r}a=-1082130432}r=0,f=n,i=0}b[e+8>>2]=a,b[e+4>>2]=i,b[e>>2]=r,v[e+12>>2]=-f}},DA,Mr,xr,function(r,e,i){r|=0,e=B(e),i|=0;var a,f,n,t,C=B(0),g=B(0),d=B(0),_=B(0),R=0,m=B(0);N=a=N-16|0,n=b[(R=r+40|0)+4>>2],b[(f=a+8|0)>>2]=b[R>>2],b[f+4>>2]=n,R=b[r+36>>2],b[a>>2]=b[r+32>>2],b[a+4>>2]=R,C=B(BA[b[b[r>>2]+48>>2]](r)),_=B(BA[b[b[r>>2]+48>>2]](r)),t=f,m=B(B(BA[b[b[r>>2]+48>>2]](r))+v[f>>2]),v[t>>2]=m,v[a>>2]=C+v[a>>2],v[a+4>>2]=_+v[a+4>>2],C=B(e*B(.5)),_=B(e*B(.25)),e=B(e/B(12));A:{r:{if(2!=(0|(r=b[r+56>>2]))){if(r)break r;d=C,C=v[a+4>>2],g=B(C*C),C=B(d*g),d=e,e=v[a>>2],d=g=B(B(_*g)+B(d*B(e*B(e*B(4)))));break A}g=C,C=v[a>>2],C=B(C*C),d=B(g*C),g=e,e=v[a+8>>2],g=C=B(B(_*C)+B(g*B(e*B(e*B(4)))));break A}g=C,C=v[a>>2],C=B(C*C),g=B(g*C),d=e,e=v[a+4>>2],d=C=B(B(_*C)+B(d*B(e*B(e*B(4)))))}b[i+12>>2]=0,v[i+8>>2]=d,v[i+4>>2]=g,v[i>>2]=C,N=a+16|0},function(r){return 9852},wA,Xr,FA,function(r,e,i){return hA(r|=0,e|=0,i|=0),b[e+28>>2]=b[r+32>>2],b[e+32>>2]=b[r+36>>2],b[e+36>>2]=b[r+40>>2],b[e+40>>2]=b[r+44>>2],b[e+12>>2]=b[r+16>>2],b[e+16>>2]=b[r+20>>2],b[e+20>>2]=b[r+24>>2],b[e+24>>2]=b[r+28>>2],b[e+48>>2]=0,b[e+44>>2]=b[r+48>>2],r=b[r+56>>2],b[e+56>>2]=0,b[e+52>>2]=r,9862},function(r,e,i){r|=0,e|=0,i|=0;var a,f,n,t=B(0),C=B(0),g=B(0),d=0,_=B(0),R=B(0);N=a=N-16|0,BA[b[b[e>>2]+68>>2]](a,e,i),n=b[(f=a+8|0)+4>>2],b[(d=r+8|0)>>2]=b[f>>2],b[d+4>>2]=n,d=b[a+4>>2],b[r>>2]=b[a>>2],b[r+4>>2]=d,B(BA[b[b[e>>2]+48>>2]](e))!=B(0)&&(C=v[i+4>>2],t=v[i>>2],g=v[i+8>>2],_=B(BA[b[b[e>>2]+48>>2]](e)),R=t=(e=B(B(B(t*t)+B(C*C))+B(g*g))>2]=v[r>>2]+B(_*B(R*t)),v[r+4>>2]=v[r+4>>2]+B(_*B(C*t)),v[r+8>>2]=v[r+8>>2]+B(_*B(g*t))),N=a+16|0},function(r,e,i){r|=0,e|=0,i|=0;var a=B(0),f=B(0),n=B(0),t=B(0),b=B(0),C=B(0);if(n=v[e+36>>2],a=v[e+32>>2],f=v[i>>2],t=v[i+8>>2],(b=B(p(B(B(f*f)+B(t*t)))))!=B(0))return C=v[i+4>>2],a=B(a/b),v[r+8>>2]=t*a,v[r+4>>2]=C>2]=f*a);f=v[i+4>>2],v[r+8>>2]=0,v[r+4>>2]=f>2]=a},function(r,e,i,a){r|=0,e|=0,i|=0,a|=0;var f=B(0),n=B(0),t=B(0),b=B(0),C=B(0),g=0;if((0|a)>=1)for(g=r+36|0,r=r+32|0;f=v[g>>2],n=v[r>>2],b=v[e>>2],t=v[e+8>>2],(C=B(p(B(B(b*b)+B(t*t)))))==B(0)?(t=B(0),f=v[e+4>>2]>2]>2]=n,v[i+8>>2]=t,v[i+4>>2]=f,i=i+16|0,e=e+16|0,a=a+-1|0;);},Tr,DA,function(r){return 9882},function(r,e,i){r|=0,e|=0,i|=0;var a=B(0),f=B(0),n=B(0),t=B(0),b=B(0),C=B(0);if(a=v[e+36>>2],n=v[e+32>>2],f=v[i+4>>2],t=v[i+8>>2],(b=B(p(B(B(f*f)+B(t*t)))))!=B(0))return C=v[i>>2],a=B(a/b),v[r+8>>2]=t*a,v[r>>2]=C>2]=f*a);f=v[i>>2],v[r+8>>2]=0,v[r>>2]=f>2]=a},function(r,e,i,a){r|=0,e|=0,i|=0,a|=0;var f=B(0),n=B(0),t=B(0),b=B(0),C=B(0),g=0,d=0;if((0|a)>=1)for(g=r+32|0,r=r+36|0;f=v[g>>2],n=v[r>>2],d=i,b=v[e+4>>2],t=v[e+8>>2],(C=B(p(B(B(b*b)+B(t*t)))))==B(0)?(t=B(0),f=v[e>>2]>2]>2]=f,v[i+8>>2]=t,v[i+4>>2]=n,i=i+16|0,e=e+16|0,a=a+-1|0;);},function(r){r|=0;var e=B(0),i=B(0);return e=v[r+36>>2],B(BA[b[b[r>>2]+48>>2]](r)),i=B(BA[b[b[r>>2]+48>>2]](r)),B(BA[b[b[r>>2]+48>>2]](r)),B(B(e+i))},DA,function(r){return 9892},function(r,e,i){r|=0,e|=0,i|=0;var a=B(0),f=B(0),n=B(0),t=B(0),b=B(0);if(a=v[e+40>>2],t=v[e+32>>2],f=v[i>>2],n=v[i+4>>2],(b=B(p(B(B(f*f)+B(n*n)))))!=B(0))return v[r+8>>2]=v[i+8>>2]>2]=f*a,void(v[r+4>>2]=n*a);v[r+8>>2]=v[i+8>>2]>2]=t,v[r+4>>2]=0},function(r,e,i,a){r|=0,e|=0,i|=0,a|=0;var f=B(0),n=B(0),t=B(0),b=B(0),C=B(0),g=0;if((0|a)>=1)for(g=r+40|0,r=r+32|0;f=v[g>>2],n=v[r>>2],b=v[e>>2],t=v[e+4>>2],(C=B(p(B(B(b*b)+B(t*t)))))==B(0)?(t=B(0),f=v[e+8>>2]>2]>2]=n,v[i+8>>2]=f,v[i+4>>2]=t,i=i+16|0,e=e+16|0,a=a+-1|0;);},Tr,DA,function(r,e,i,a){r|=0,e|=0,i|=0,a|=0;var f,n=B(0),t=B(0),C=B(0),g=B(0),d=B(0),_=B(0);g=B(BA[b[b[r>>2]+48>>2]](r)),d=B(BA[b[b[r>>2]+48>>2]](r)),_=B(BA[b[b[r>>2]+48>>2]](r)),n=v[(r=e+52|0)>>2],t=v[(f=e+56|0)>>2],C=v[e+48>>2],b[i+12>>2]=0,v[i+8>>2]=t-_,v[i+4>>2]=n-d,v[i>>2]=C-g,n=v[r>>2],t=v[f>>2],C=v[e+48>>2],b[a+12>>2]=0,v[a+8>>2]=_+t,v[a+4>>2]=d+n,v[a>>2]=g+C},function(r,e,i){r|=0,e=B(e),i|=0;var a=B(0),f=B(0);a=B(BA[b[b[r>>2]+48>>2]](r)),f=B(BA[b[b[r>>2]+48>>2]](r)),b[i+12>>2]=0,e=B(f*B(a*B(e*B(.4000000059604645)))),v[i+8>>2]=e,v[i+4>>2]=e,v[i>>2]=e},function(r){return 10032},pr,function(r){return B(B(v[(r|=0)+32>>2]*v[r+16>>2]))},function(r,e,i){r|=0,e|=0,i|=0;var a,f,n,t=B(0),C=B(0),g=B(0),d=0,_=B(0),R=B(0);N=a=N-16|0,BA[b[b[e>>2]+68>>2]](a,e,i),d=b[(n=a+8|0)+4>>2],b[(f=r+8|0)>>2]=b[n>>2],b[f+4>>2]=d,d=b[a+4>>2],b[r>>2]=b[a>>2],b[r+4>>2]=d,C=v[i+4>>2],t=v[i>>2],g=v[i+8>>2],_=B(BA[b[b[e>>2]+48>>2]](e)),R=t=(e=B(B(B(t*t)+B(C*C))+B(g*g))>2]=v[r>>2]+B(_*B(R*t)),v[r+4>>2]=v[r+4>>2]+B(_*B(C*t)),v[f>>2]=v[f>>2]+B(_*B(g*t)),N=a+16|0},function(r,e,i){b[(r|=0)>>2]=0,b[r+4>>2]=0,b[(r=r+8|0)>>2]=0,b[r+4>>2]=0},function(r,e,i,a){(0|(a|=0))>=1&&x(i|=0,0,a<<4)},sA,Cr,zr,Cr,zr,sA,dA,function(r,e){r|=0,e=B(e),v[r+16>>2]=e},function(r){return B(v[(r|=0)+16>>2])},sA,DA,function(r,e,i,a){a|=0,b[(i|=0)+8>>2]=-581039253,b[i+12>>2]=0,b[i>>2]=-581039253,b[i+4>>2]=-581039253,b[a+8>>2]=1566444395,b[a+12>>2]=0,b[a>>2]=1566444395,b[a+4>>2]=1566444395},function(r,e){r|=0;var i=0;i=b[(e|=0)+4>>2],b[r+72>>2]=b[e>>2],b[r+76>>2]=i,i=b[(e=e+8|0)+4>>2],b[(r=r+80|0)>>2]=b[e>>2],b[r+4>>2]=i},Lr,Qr,function(r){return 10576},Dr,function(r,e,i){return hA(r|=0,e|=0,i|=0),b[e+12>>2]=b[r+72>>2],b[e+16>>2]=b[r+76>>2],b[e+20>>2]=b[r+80>>2],b[e+24>>2]=b[r+84>>2],b[e+28>>2]=b[r+52>>2],b[e+32>>2]=b[r+56>>2],b[e+36>>2]=b[r+60>>2],b[e+40>>2]=b[r- -64>>2],r=b[r+68>>2],b[e+48>>2]=0,b[e+44>>2]=r,10588},function(r,e,i,a){r|=0,e|=0,i|=0,a|=0;var f,n,t,C,g=B(0),d=B(0),_=B(0),R=B(0),h=B(0),G=B(0),y=B(0),Q=B(0),D=B(0),w=B(0),Z=B(0),Y=B(0),W=B(0),F=B(0),E=B(0),j=B(0);N=f=N-48|0,G=v[a>>2],R=v[i>>2],_=B(B(G-R)*B(.5)),h=B(_*_),d=v[a+4>>2],g=v[i+4>>2],_=B(B(d-g)*B(.5)),D=B(h+B(_*_)),h=v[a+8>>2],y=v[i+8>>2],_=B(B(h-y)*B(.5)),_=B(p(B(D+B(_*_)))),h=B(B(h+y)*B(.5)),y=B(B(d+g)*B(.5)),w=B(B(G+R)*B(.5)),G=v[r+60>>2],B(m(G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=B(0),n=B(0),t=B(0),C=B(0),g=B(0),d=B(0),_=B(0),R=B(0),h=B(0),G=B(0),y=B(0),Q=B(0),p=B(0),D=B(0),w=B(0),Z=B(0),Y=B(0),W=B(0),F=B(0);Y=v[e+52>>2],_=v[e+24>>2],y=v[e+20>>2],f=v[e+56>>2],R=v[e+40>>2],t=v[r+44>>2],C=v[r+28>>2],g=v[r+36>>2],h=v[e+36>>2],d=v[r+40>>2],n=v[r+24>>2],W=v[e+48>>2],Q=v[e+8>>2],p=v[e>>2],D=v[e+4>>2],w=v[e+16>>2],Z=v[e+32>>2],G=v[r+20>>2],b[i+12>>2]=0,F=f,f=B(B(G+g)*B(.5)),n=B(B(n+d)*B(.5)),C=B(B(C+t)*B(.5)),G=B(F+B(B(B(Z*f)+B(h*n))+B(R*C))),g=B(g-f),d=B(d-n),t=B(t-C),R=B(B(B(g*B(m(Z)))+B(d*B(m(h))))+B(t*B(m(R)))),v[i+8>>2]=G-R,h=B(Y+B(B(B(f*w)+B(n*y))+B(C*_))),_=B(B(B(g*B(m(w)))+B(d*B(m(y))))+B(t*B(m(_)))),v[i+4>>2]=h-_,f=B(W+B(B(B(f*p)+B(n*D))+B(C*Q))),n=B(B(B(g*B(m(p)))+B(d*B(m(D))))+B(t*B(m(Q)))),v[i>>2]=f-n,b[a+12>>2]=0,v[a+8>>2]=R+G,v[a+4>>2]=_+h,v[a>>2]=n+f},function(r,e){r|=0;var i=0,a=0;a=b[(e|=0)+4>>2],b[(i=r+160|0)>>2]=b[e>>2],b[i+4>>2]=a,a=b[(e=e+8|0)+4>>2],b[(i=r+168|0)>>2]=b[e>>2],b[i+4>>2]=a,BA[b[b[r>>2]+72>>2]](r)},function(r){return(r|=0)+160|0},function(r,e,i){r|=0,e=B(e),i|=0;var a=0,f=B(0),n=B(0),t=0,C=B(0),g=0,d=B(0),m=B(0),h=B(0),G=B(0),y=0,Q=0,p=0,D=0,w=0;if(BA[b[b[r>>2]+112>>2]](r),b[(a=i+8|0)>>2]=0,b[a+4>>2]=0,b[i>>2]=0,b[i+4>>2]=0,t=b[r+188>>2])if(e=B(e/B(0|t)),a=b[r+196>>2],g=b[r+184>>2],1!=b[r+192>>2])for(y=0-a|0,a=8+(g+R(a,t+-1|0)|0)|0,g=r+164|0,Q=r+160|0,p=r+168|0,D=i+4|0;f=v[p>>2],C=v[a>>2],n=B(v[a+-8>>2]*v[Q>>2]),n=B(n*n),G=B(v[a+-4>>2]*v[g>>2]),G=B(G*G),d=B(B(e*B(n+G))+d),v[i+8>>2]=d,f=B(C*f),f=B(f*f),m=B(B(e*B(n+f))+m),v[D>>2]=m,h=B(h+B(e*B(G+f))),v[i>>2]=h,a=a+y|0,t=t+-1|0;);else for(y=0-a|0,a=16+(g+R(a,t+-1|0)|0)|0,g=r+164|0,Q=r+160|0,p=r+168|0,D=i+8|0,w=i+4|0;f=v[p>>2],C=B(_[a+-16>>3]*+v[Q>>2]),C=B(C*C),n=B(_[a+-8>>3]*+v[g>>2]),n=B(n*n),d=B(B(e*B(C+n))+d),v[D>>2]=d,f=B(_[a>>3]*+f),f=B(f*f),m=B(B(e*B(C+f))+m),v[w>>2]=m,h=B(h+B(e*B(n+f))),v[i>>2]=h,a=a+y|0,t=t+-1|0;);BA[b[b[r>>2]+116>>2]](r)},function(r){return 11352},function(r,e){r|=0,e=B(e),v[r+152>>2]=e,BA[b[b[r>>2]+72>>2]](r)},function(r){return B(v[(r|=0)+152>>2])},function(r,e,i,a){e|=0,i|=0,a|=0;var n,t=0,g=0,d=0,v=0;N=n=N-128|0,BA[b[b[(r|=0)>>2]+112>>2]](r),d=b[(g=i+8|0)+4>>2],b[(t=n+104|0)>>2]=b[g>>2],b[t+4>>2]=d,d=b[(g=a+8|0)+4>>2],b[(t=n+120|0)>>2]=b[g>>2],b[t+4>>2]=d,t=b[i+4>>2],b[n+96>>2]=b[i>>2],b[n+100>>2]=t,i=b[a+4>>2],b[n+112>>2]=b[a>>2],b[n+116>>2]=i,b[n+84>>2]=0,f[n+88|0]=1,b[n+76>>2]=0,b[n+80>>2]=0,mA(r+72|0,n+96|0,n+72|0);A:{r:{if(i=b[n+76>>2]){for(g=b[r+176>>2],b[n+64>>2]=1008981770,a=(i<<2)-4|0,t=n+84|0;d=b[b[t>>2]+a>>2],v=0|BA[b[b[r>>2]+84>>2]](r),BA[b[b[v>>2]+20>>2]](v,d,n),BA[b[b[e>>2]+8>>2]](e,n,g,b[b[t>>2]+a>>2]),a=a+-4|0,i=i+-1|0;);if(BA[b[b[r>>2]+116>>2]](r),!(a=b[n+84>>2]))break r;break A}if(BA[b[b[r>>2]+116>>2]](r),a=b[n+84>>2])break A}return void(N=n+128|0)}C[n+88|0]&&gA(a),b[n+84>>2]=0,N=n+128|0},function(r){r|=0;var e,i,a,t,d,_=0,m=B(0),h=B(0),G=B(0),y=B(0),Q=B(0),p=B(0);BA[b[b[r>>2]+112>>2]](r),_=r+72|0,b[r+72>>2]?function(r){var e,i=0,a=B(0),f=0,t=B(0),C=B(0),d=B(0),_=B(0),R=0,m=0,h=B(0),G=B(0),y=B(0),Q=B(0),p=0,D=B(0),w=B(0),Z=B(0),Y=0,W=B(0),F=0,E=0,j=0,Be=B(0),ui=0,gi=0,Ri=0,wi=0,Xi=0,Da=0,Ia=0,yf=0,Qf=0,pf=0,Df=0,wf=0,Zf=0,Yf=0,Wf=0,Ff=0,Ef=B(0),Nf=B(0),Vf=B(0),Xf=B(0),Jf=0,If=0,xf=0;N=e=N+-64|0;A:if(i=b[r>>2])for(F=i<<4,Y=i+1|0,Xi=r+16|0,ui=b[Xi>>2],E=e+16|0,p=e+48|0,Jf=r+72|0,Da=r+32|0,Ri=e+40|0,Ia=r+48|0,yf=r- -64|0,Qf=r+28|0,pf=r+44|0,Df=r+60|0,wf=r+40|0,Zf=r+56|0,wi=e+52|0;;){r:{e:{i:{a:{if((0|(i=b[(R=F+ui|0)+-4>>2]))>=0){if(R=b[Jf>>2],BA[b[b[R>>2]+16>>2]](R,i,e+32|0),C=v[Ia>>2],a=v[Da>>2],d=(d=v[Ri>>2])>2],(d=B(B(B((C=B(0))break a;i=0;break i}if(b[(f=e+56|0)>>2]=-8388609,b[p>>2]=-8388609,b[p+4>>2]=-8388609,b[e+36>>2]=2139095039,b[e+40>>2]=2139095039,i=g[R>>1],m=g[R+2>>1],j=g[R+4>>1],b[(gi=e+12|0)>>2]=0,Yf=e+8|0,D=v[yf>>2],h=v[Da>>2],C=B(B(B(j>>>0)/D)+h),v[Yf>>2]=C,w=v[Df>>2],G=v[Qf>>2],d=B(B(B(m>>>0)/w)+G),v[e+4>>2]=d,Z=v[Zf>>2],_=v[r+24>>2],a=B(B(B(i>>>0)/Z)+_),v[e>>2]=a,i=g[R+6>>1],m=g[R+8>>1],j=g[R+10>>1],b[(Wf=e+28|0)>>2]=0,Ff=e+24|0,Q=B(h+B(B(j>>>0)/D)),v[Ff>>2]=Q,j=e+20|0,Be=B(G+B(B(m>>>0)/w)),v[j>>2]=Be,t=B(_+B(B(i>>>0)/Z)),v[E>>2]=t,W=a>2]=W,i=d>2],i=b[i+4>>2],m=C>2],m=b[m+8>>2],y=t>B(-34028234663852886e22)?t:B(-34028234663852886e22),v[p>>2]=y,b[Ri>>2]=m,b[e+36>>2]=i,i=Be>B(-34028234663852886e22)?E:p,t=v[i+4>>2],b[wi>>2]=b[i+4>>2],i=Q>B(-34028234663852886e22)?E:p,C=v[i+8>>2],b[f>>2]=b[i+8>>2],(i=(((0|(i=b[R+12>>2]))>-1?i:-1)-i|0)+Y|0)&&(m=g[(i=(i<<4)+ui|0)+2>>1],If=g[i>>1],xf=g[i+4>>1],b[gi>>2]=0,Ef=B(B(B(xf>>>0)/D)+h),v[Yf>>2]=Ef,Q=B(B(B(If>>>0)/Z)+_),v[e>>2]=Q,Nf=B(B(B(m>>>0)/w)+G),v[e+4>>2]=Nf,m=g[i+6>>1],gi=g[i+8>>1],i=g[i+10>>1],b[Wf>>2]=0,Vf=B(h+B(B(i>>>0)/D)),v[Ff>>2]=Vf,Xf=B(G+B(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n=b[m>>2],BA[b[b[n>>2]+16>>2]](n,t,a),b[a+32>>2]=t,a=a+36|0,(0|(t=t+1|0))<(0|i););}else b[e+44>>2]=i;(function(r,e){var i,a,n,t=0,g=0,d=0,_=0,R=0,m=0,h=0,G=0;if(N=i=N-16|0,function(r,e){var i,a,f,n=0,t=B(0),C=B(0),g=B(0),d=B(0),_=B(0),R=B(0),m=B(0),h=0,G=0,y=0,Q=0;if(b[(a=(i=N-32|0)+24|0)>>2]=-8388609,b[i+16>>2]=-8388609,b[i+20>>2]=-8388609,b[i+8>>2]=2139095039,b[i>>2]=2139095039,b[i+4>>2]=2139095039,(0|(f=b[e+4>>2]))>=1)for(h=i+16|0,e=b[e+12>>2]+16|0,g=B(34028234663852886e22),d=B(-34028234663852886e22),Q=i+20|0,_=B(-34028234663852886e22),t=B(-34028234663852886e22),R=B(34028234663852886e22),C=B(34028234663852886e22);C=C>(m=v[(n=e+-16|0)>>2])?m:C,v[i>>2]=C,G=R>v[e+-12>>2]?n:i,R=v[G+4>>2],b[i+4>>2]=b[G+4>>2],n=g>v[e+-8>>2]?n:i,g=v[n+8>>2],b[i+8>>2]=b[n+8>>2],t=t<(m=v[e>>2])?m:t,v[h>>2]=t,n=_>2]?e:h,_=v[n+4>>2],b[Q>>2]=b[n+4>>2],n=d>2]?e:h,d=v[n+8>>2],b[a>>2]=b[n+8>>2],e=e+36|0,(0|(y=y+1|0))<(0|f););else g=B(34028234663852886e22),d=B(-34028234663852886e22),_=B(-34028234663852886e22),t=B(-34028234663852886e22),R=B(34028234663852886e22),C=B(34028234663852886e22);b[r+68>>2]=0,b[r+52>>2]=0,d=B(d+B(1)),v[r+48>>2]=d,_=B(_+B(1)),v[r+44>>2]=_,t=B(t+B(1)),v[r+40>>2]=t,b[r+36>>2]=0,g=B(g-B(1)),v[r+32>>2]=g,R=B(R-B(1)),v[r+28>>2]=R,C=B(C-B(1)),v[r+24>>2]=C,v[r- -64>>2]=B(65535)/B(d-g),v[r+60>>2]=B(65535)/B(_-R),v[r+56>>2]=B(65535)/B(t-C)}(r,e),b[r>>2]=0,(0|(t=b[(n=r+8|0)>>2]))<(0|(a=(_=b[e+4>>2])<<1))){if(b[r+12>>2]<(0|a)){A:{r:{if(_){if(h=CA(_<<5,16),(0|(g=b[r+8>>2]))>=1)break r;break A}if(g=t,(0|t)<1)break A}for(;m=b[r+16>>2]+d|0,G=b[m+4>>2],b[(R=d+h|0)>>2]=b[m>>2],b[R+4>>2]=G,G=b[(m=m+8|0)+4>>2],b[(R=R+8|0)>>2]=b[m>>2],b[R+4>>2]=G,d=d+16|0,g=g+-1|0;);}(d=b[(g=r+16|0)>>2])&&(C[r+20|0]&&gA(d),b[r+16>>2]=0),b[g>>2]=h,f[r+20|0]=1,b[r+12>>2]=a}for(g=(_<<1)-t|0,d=t<<4|12,_=i+8|0;t=b[r+16>>2]+d|0,b[t>>2]=0,b[t+-4>>2]=b[_>>2],h=b[i+4>>2],b[(t=t+-12|0)>>2]=b[i>>2],b[t+4>>2]=h,d=d+16|0,g=g+-1|0;);_=b[e+4>>2]}b[n>>2]=a,_A(r,e,0,_),N=i+16|0})(r,e+40|0),(r=b[e+52>>2])&&(C[e+56|0]&&gA(r),b[e+52>>2]=0),N=e- -64|0}(_),BA[b[b[r>>2]+116>>2]](r),_=b[r+88>>2],e=g[_+8>>1],i=g[_+10>>1],a=g[_>>1],t=g[_+2>>1],d=g[_+4>>1],_=g[_+6>>1],b[r+48>>2]=0,b[r+32>>2]=0,m=v[r+96>>2],h=v[r+128>>2],v[r+36>>2]=m+B(B(_>>>0)/h),G=v[r+136>>2],y=v[r+104>>2],v[r+28>>2]=B(B(d>>>0)/G)+y,Q=v[r+132>>2],p=v[r+100>>2],v[r+24>>2]=B(B(t>>>0)/Q)+p,v[r+20>>2]=m+B(B(a>>>0)/h),v[r+44>>2]=y+B(B(i>>>0)/G),v[r+40>>2]=p+B(B(e>>>0)/Q)},function(r){f[(r|=0)+52|0]=1},function(r){return 25},Fr,function(r){return(r|=0)+148|0},function(r){return b[(r|=0)+208>>2]},Zr,Fr,Zr,function(r,e,i){(function(r,e,i){var a=B(0),f=0,n=0,t=0;e=b[r+52>>2]+R(b[r+56>>2],e)|0,t=b[r+36>>2],3!=b[r+64>>2]?(f=b[e+8>>2],n=b[e+4>>2],e=b[e>>2]):(f=g[e+4>>1],n=g[e+2>>1],e=g[e>>1]),e=t+R(e,b[r+48>>2])|0,t=i+68|0,1!=b[r+44>>2]?(v[i+60>>2]=v[e>>2]*v[r+12>>2],v[i- -64>>2]=v[e+4>>2]*v[r+16>>2],a=B(v[e+8>>2]*v[r+20>>2])):(v[i+60>>2]=_[e>>3]*+v[r+12>>2],v[i- -64>>2]=_[e+8>>3]*+v[r+16>>2],a=B(_[e+16>>3]*+v[r+20>>2])),v[t>>2]=a,e=b[r+36>>2]+R(b[r+48>>2],n)|0,n=i+84|0,1!=b[r+44>>2]?(v[i+76>>2]=v[e>>2]*v[r+12>>2],v[i+80>>2]=v[e+4>>2]*v[r+16>>2],a=B(v[e+8>>2]*v[r+20>>2])):(v[i+76>>2]=_[e>>3]*+v[r+12>>2],v[i+80>>2]=_[e+8>>3]*+v[r+16>>2],a=B(_[e+16>>3]*+v[r+20>>2])),v[n>>2]=a,e=b[r+36>>2]+R(b[r+48>>2],f)|0,f=i+100|0,1!=b[r+44>>2]?(v[i+92>>2]=v[e>>2]*v[r+12>>2],v[i+96>>2]=v[e+4>>2]*v[r+16>>2],a=B(v[e+8>>2]*v[r+20>>2])):(v[i+92>>2]=_[e>>3]*+v[r+12>>2],v[i+96>>2]=_[e+8>>3]*+v[r+16>>2],a=B(_[e+16>>3]*+v[r+20>>2])),v[f>>2]=a,BA[b[b[i>>2]+44>>2]](i,v[r+4>>2])})((r|=0)+148|0,e|=0,i|=0)},Yr,function(r){var e=0;r=b[(r|=0)+144>>2],(0|(e=b[r+32>>2]))>=1?b[r+32>>2]=e+1:(e=b[r+8>>2],BA[b[b[e>>2]+16>>2]](e,r+36|0,r+40|0,r+44|0,r+48|0,r+52|0,r+56|0,r+60|0,r- -64|0,b[r+28>>2]),b[r+32>>2]=1)},function(r){var e=0,i=0;r=b[(r|=0)+144>>2],(e=b[r+32>>2])&&(i=r+32|0,(0|e)>=2?r=e+-1|0:(e=b[r+8>>2],BA[b[b[e>>2]+24>>2]](e,b[r+28>>2]),b[r+36>>2]=0,r=0),b[i>>2]=r)},function(r,e,i,a,f){r|=0,e|=0,i|=0,a|=0,f|=0;var n,t=B(0),C=B(0),g=B(0),d=B(0),_=B(0),R=B(0),h=B(0),G=B(0),y=B(0),Q=B(0),p=B(0),D=B(0),w=B(0),Z=B(0),Y=B(0),W=B(0),F=B(0),E=B(0);N=n=N-32|0,r=0|BA[b[b[r>>2]+84>>2]](r),BA[b[b[r>>2]+16>>2]](r,e,n),G=v[i+56>>2],R=v[i+36>>2],Q=v[i+40>>2],E=v[i+48>>2],p=v[i+8>>2],D=v[i>>2],w=v[i+4>>2],Z=v[i+32>>2],g=v[n+16>>2],t=B(B(g+v[n>>2])*B(.5)),d=v[(e=n+20|0)>>2],C=B(B(d+v[n+4>>2])*B(.5)),_=v[(r=n+24|0)>>2],y=B(B(_+v[n+8>>2])*B(.5)),g=B(g-t),h=v[i+16>>2],d=B(d-C),Y=v[i+20>>2],_=B(_-y),W=v[i+24>>2],F=B(B(B(g*B(m(h)))+B(d*B(m(Y))))+B(_*B(m(W)))),h=B(B(B(B(t*h)+B(C*Y))+B(y*W))+v[i+52>>2]),v[e>>2]=F+h,b[n+12>>2]=0,G=B(G+B(B(B(t*Z)+B(C*R))+B(y*Q))),R=B(B(B(g*B(m(Z)))+B(d*B(m(R))))+B(_*B(m(Q)))),v[n+8>>2]=G-R,i=b[n+12>>2],b[(e=a+8|0)>>2]=b[n+8>>2],b[e+4>>2]=i,v[n+4>>2]=h-F,t=B(E+B(B(B(t*D)+B(C*w))+B(y*p))),C=B(B(B(g*B(m(D)))+B(d*B(m(w))))+B(_*B(m(p)))),v[n>>2]=t-C,e=b[n+4>>2],b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)+R),R=B(R+B(B(D>>>0)/p)),t=B(B(t+R)*B(.5)),p=B(v[i+4>>2]-t),R=B(R-t),B(p*v[e+4>>2])>=B(0)&&B(m(p))>R||(t=B(B(B(h>>>0)/Q)+_),_=B(_+B(B(G>>>0)/Q)),t=B(B(t+_)*B(.5)),Q=B(v[i+8>>2]-t),t=B(_-t),_=v[e+8>>2],B(Q*_)>=B(0)&&B(m(Q))>t||(E=v[e+4>>2],Be=B(m(E)),ui=B(m(_)),B(m(B(B(Q*E)-B(p*_))))>B(B(R*ui)+B(t*Be))||(N=v[e>>2],gi=B(m(N)),B(m(B(B(w*_)-B(Q*N))))>B(B(Y*ui)+B(t*gi)))))))r=b[r+12>>2]>-1,h=0;else if(h=1^(G=B(m(B(B(p*N)-B(w*E))))>B(B(Y*Be)+B(R*gi))),r=(0|(j=b[r+12>>2]))>-1,!((0|j)<0|G)){if((0|(d=b[(D=a+4|0)>>2]))==b[(Ri=a+8|0)>>2]&&!((0|d)>=(0|(F=d?d<<1:1)))){e:{i:{a:{f:{if(F){if(G=CA(F<<2,16),y=b[W>>2],(0|(d=b[D>>2]))<1)break f;break a}if(G=0,y=b[W>>2],(0|d)>=1)break a}if(!y)break e;break i}for(r=G,h=y;b[r>>2]=b[h>>2],r=r+4|0,h=h+4|0,d=d+-1|0;);}C[a+16|0]&&gA(y),b[W>>2]=0,d=b[D>>2]}b[W>>2]=G,f[a+16|0]=1,b[Ri>>2]=F}b[b[W>>2]+(d<<2)>>2]=j,b[D>>2]=b[D>>2]+1;break r}if(!(r|h)){if((0|(Z=Z-b[12+(y+b[BA>>2]|0)>>2]|0))<(0|n))continue;break A}}if(!((0|(Z=Z+1|0))<(0|n)))break}}(r+72|0,n+72|0,i,n+88|0);A:{r:{if(a=b[n+92>>2]){for(y=b[r+176>>2],b[n+64>>2]=1008981770,i=(a<<2)-4|0,h=n+100|0;Q=b[b[h>>2]+i>>2],G=0|BA[b[b[r>>2]+84>>2]](r),BA[b[b[G>>2]+20>>2]](G,Q,n),BA[b[b[e>>2]+8>>2]](e,n,y,b[b[h>>2]+i>>2]),i=i+-4|0,a=a+-1|0;);if(BA[b[b[r>>2]+116>>2]](r),!(i=b[n+100>>2]))break r;break A}if(BA[b[b[r>>2]+116>>2]](r),i=b[n+100>>2])break A}return void(N=n+112|0)}C[n+104|0]&&gA(i),b[n+100>>2]=0,N=n+112|0},re,function(r){gA(re(r|=0))},function(r,e){r|=0;var i=0,a=0,n=0,t=0;if(i=b[(e|=0)+4>>2],b[r+56>>2]=b[e>>2],b[r+60>>2]=i,n=b[(a=e+8|0)+4>>2],b[(i=r- -64|0)>>2]=b[a>>2],b[i+4>>2]=n,i=b[r+156>>2])for(a=(i<<2)-4|0,n=r+164|0;t=b[b[n>>2]+a>>2],BA[b[b[t>>2]+24>>2]](t,e),a=a+-4|0,i=i+-1|0;);f[r+52|0]=1},$r,function(r,e,i){r|=0,e=B(e);var a,f,n=0,t=0,C=0,g=0;if(N=a=N-16|0,b[(i|=0)>>2]=0,b[i+4>>2]=0,b[(f=i+8|0)>>2]=0,b[f+4>>2]=0,n=b[r+156>>2])for(e=B(e/B(0|n)),t=(n<<2)-4|0,g=r+164|0,r=i+4|0;C=b[b[g>>2]+t>>2],BA[b[b[C>>2]+32>>2]](C,e,a),v[i>>2]=v[a>>2]+v[i>>2],v[r>>2]=v[a+4>>2]+v[r>>2],v[f>>2]=v[a+8>>2]+v[f>>2],t=t+-4|0,n=n+-1|0;);N=a+16|0},function(r){return 11373},function(r,e){r|=0,e=B(e);var i=0,a=0,n=0,t=0;if(v[r+16>>2]=e,i=b[r+156>>2])for(a=(i<<2)-4|0,t=r+164|0;n=b[b[t>>2]+a>>2],BA[b[b[n>>2]+44>>2]](n,e),a=a+-4|0,i=i+-1|0;);f[r+52|0]=1},function(r){return 64},function(r,e,i){var a,f,n;return hA(r|=0,e|=0,i|=0),a=b[r+148>>2],BA[b[b[a>>2]+56>>2]](a,e+12|0,i),b[e+56>>2]=b[r+16>>2],b[e+40>>2]=b[r+56>>2],b[e+44>>2]=b[r+60>>2],b[e+48>>2]=b[r- -64>>2],b[e+52>>2]=b[r+68>>2],f=e,n=0|BA[b[b[r>>2]+80>>2]](r),b[f+60>>2]=n,10768},function(r,e,i,a){e|=0,i|=0,a|=0;var f=0,n=0,t=0;if(f=b[(r|=0)+156>>2])for(n=(f<<2)-4|0,r=r+164|0;t=b[b[r>>2]+n>>2],BA[b[b[t>>2]+64>>2]](t,e,i,a),n=n+-4|0,f=f+-1|0;);},function(r){r|=0;var e,i,a,n=0,t=0,g=0,d=B(0),_=B(0),R=B(0),m=0,h=0,G=0,y=0,Q=B(0),p=B(0),D=B(0),w=B(0),Z=0;if(b[r+20>>2]=2139095039,b[r+24>>2]=2139095039,b[(i=r+44|0)>>2]=-8388609,b[(e=r+36|0)>>2]=-8388609,b[e+4>>2]=-8388609,b[(a=r+28|0)>>2]=2139095039,g=b[r+156>>2])for(h=r+20|0,G=(g<<2)-4|0,y=b[(Z=r+164|0)>>2],Q=B(34028234663852886e22),p=B(-34028234663852886e22),D=B(-34028234663852886e22),d=B(-34028234663852886e22),w=B(34028234663852886e22),_=B(34028234663852886e22);g=g+-1|0,n=b[G+y>>2],C[n+52|0]&&(BA[b[b[n>>2]+68>>2]](n),f[n+52|0]=0,p=v[i>>2],D=v[r+40>>2],w=v[r+24>>2],y=b[Z>>2],d=v[e>>2],_=v[h>>2],Q=v[a>>2]),n=b[G+y>>2],_=_>(R=v[n+20>>2])?R:_,v[h>>2]=_,t=n+20|0,m=w>v[n+24>>2]?t:h,w=v[m+4>>2],b[r+24>>2]=b[m+4>>2],t=Q>v[n+28>>2]?t:h,Q=v[t+8>>2],b[a>>2]=b[t+8>>2],d=d<(R=v[(t=n+36|0)>>2])?R:d,v[e>>2]=d,m=D>2]?t:e,D=v[m+4>>2],b[r+40>>2]=b[m+4>>2],n=p>2]?t:e,p=v[n+8>>2],b[i>>2]=b[n+8>>2],G=G+-4|0,g;);},function(r){var e=0,i=0,a=0,n=0;if(e=b[(r|=0)+156>>2])for(i=(e<<2)-4|0,n=r+164|0;a=b[b[n>>2]+i>>2],BA[b[b[a>>2]+72>>2]](a),i=i+-4|0,e=e+-1|0;);f[r+52|0]=1},wr,Zr,Zr,Zr,Zr,Zr,Yr,Yr,Ae,Ae,ee,kr,kr,Yr,Yr,or,function(r,e,i,a){e|=0,i|=0,a|=0;var f=0,n=0,t=0;if(f=b[(r|=0)+156>>2])for(n=(f<<2)-4|0,r=r+164|0;t=b[b[r>>2]+n>>2],BA[b[b[t>>2]+144>>2]](t,e,i,a),n=n+-4|0,f=f+-1|0;);},qr,dA,function(r,e){r|=0;var i,a=0;a=b[(e|=0)+4>>2],b[r+56>>2]=b[e>>2],b[r+60>>2]=a,i=b[(e=e+8|0)+4>>2],b[(a=r- -64|0)>>2]=b[e>>2],b[a+4>>2]=i,BA[b[b[r>>2]+72>>2]](r)},function(r,e){r|=0,e=B(e);var i=0,a=0;if(v[r+16>>2]=e,i=0|BA[b[b[r>>2]+88>>2]](r))for(i=i+-1|0;a=0|BA[b[b[r>>2]+124>>2]](r,i),BA[b[b[a>>2]+44>>2]](a,e),-1!=(0|(i=i+-1|0)););f[r+52|0]=1},or,Ae,Ae,or,sA,Cr,Fr,function(r){return b[(r|=0)+60>>2]},function(r,e,i){r|=0,e|=0,i|=0;var a,f=0,n=B(0),t=0,C=0,g=B(0),d=B(0),_=B(0),R=B(0),m=B(0),h=B(0),G=B(0),y=B(0);N=a=N-80|0,b[a+72>>2]=1008981770,BA[b[b[r>>2]+20>>2]](r,e,a+8|0),n=v[a+12>>2],r=a+40|0,e=a+24|0,g=v[a+28>>2],d=v[a+44>>2],C=(t=n>v[((f=g>d)?r:e)+4>>2]^1)?4:36,h=v[(a+8|0)+(f||t?C:20)>>2],R=v[a+16>>2],_=v[a+32>>2],m=v[a+48>>2],C=(t=R>v[((f=_>m)?r:e)+8>>2]^1)?8:40,G=v[(a+8|0)+(f||t?C:24)>>2],C=(t=n>2]^1)?4:36,y=v[(a+8|0)+(f||t?C:20)>>2],f=r,f=(e=R>2]^1)?8:40,R=v[(a+8|0)+(r||e?f:24)>>2],r=(g=v[a+24>>2])>(d=v[a+40>>2]),f=(e=(_=v[a+8>>2])>(r?d:g))<<5,m=v[(a+8|0)+(r||1^e?f:16)>>2],n=v[a+72>>2],f=(e=_<((r=g>2]=n+v[(a+8|0)+(r||1^e?f:16)>>2],v[i>>2]=m-n,v[i+24>>2]=n+R,v[i+20>>2]=n+y,v[i+8>>2]=G-n,v[i+4>>2]=h-n,N=a+80|0},function(r,e,i){r|=0,e|=0,i|=0;var a=B(0),f=0,n=0,t=0;e=b[r+52>>2]+R(b[r+56>>2],e)|0,f=b[r+36>>2],3!=b[r+64>>2]?(n=b[e+8>>2],t=b[e+4>>2],e=b[e>>2]):(n=g[e+4>>1],t=g[e+2>>1],e=g[e>>1]),e=f+R(e,b[r+48>>2])|0,f=i,1!=b[r+44>>2]?(v[i>>2]=v[e>>2]*v[r+12>>2],v[i+4>>2]=v[e+4>>2]*v[r+16>>2],a=B(v[e+8>>2]*v[r+20>>2])):(v[i>>2]=_[e>>3]*+v[r+12>>2],v[i+4>>2]=_[e+8>>3]*+v[r+16>>2],a=B(_[e+16>>3]*+v[r+20>>2])),v[f+8>>2]=a,e=b[r+36>>2]+R(b[r+48>>2],t)|0,f=i+24|0,1!=b[r+44>>2]?(v[i+16>>2]=v[e>>2]*v[r+12>>2],v[i+20>>2]=v[e+4>>2]*v[r+16>>2],a=B(v[e+8>>2]*v[r+20>>2])):(v[i+16>>2]=_[e>>3]*+v[r+12>>2],v[i+20>>2]=_[e+8>>3]*+v[r+16>>2],a=B(_[e+16>>3]*+v[r+20>>2])),v[f>>2]=a,e=b[r+36>>2]+R(b[r+48>>2],n)|0,f=i+40|0,1!=b[r+44>>2]?(v[i+32>>2]=v[e>>2]*v[r+12>>2],v[i+36>>2]=v[e+4>>2]*v[r+16>>2],a=B(v[e+8>>2]*v[r+20>>2])):(v[i+32>>2]=_[e>>3]*+v[r+12>>2],v[i+36>>2]=_[e+8>>3]*+v[r+16>>2],a=B(_[e+16>>3]*+v[r+20>>2])),v[f>>2]=a,b[i+64>>2]=b[r+4>>2]},function(r){var e,i=0;return b[(r|=0)>>2]=14280,(i=b[r+68>>2])&&(ae(i),gA(b[r+68>>2])),(e=b[(i=r+28|0)>>2])&&(C[r+32|0]&&gA(e),b[r+28>>2]=0),b[i>>2]=0,f[r+32|0]=1,b[(i=r+20|0)>>2]=0,b[i+4>>2]=0,0|r},function(r){var e,i=0;b[(r|=0)>>2]=14280,(i=b[r+68>>2])&&(ae(i),gA(b[r+68>>2])),(e=b[(i=r+28|0)>>2])&&(C[r+32|0]&&gA(e),b[r+28>>2]=0),b[i>>2]=0,f[r+32|0]=1,b[(i=r+20|0)>>2]=0,b[i+4>>2]=0,gA(r)},function(r,e,i,a){r|=0,e|=0,i|=0,a|=0;var f,n=B(0),t=B(0),C=B(0),g=B(0),d=B(0),_=B(0),R=B(0),h=B(0),G=B(0),y=B(0),Q=B(0),p=B(0),D=B(0),w=B(0),Z=B(0),Y=B(0),W=B(0),F=B(0),E=B(0),N=B(0),j=B(0),Be=B(0),ui=B(0),gi=B(0);n=v[r+44>>2],g=v[r+60>>2],f=b[r+20>>2],t=v[r+40>>2],d=v[r+56>>2],C=v[r+36>>2],_=v[r+52>>2],N=B(BA[b[b[r>>2]+48>>2]](r)),j=B(BA[b[b[r>>2]+48>>2]](r)),Be=B(BA[b[b[r>>2]+48>>2]](r)),ui=v[e+52>>2],R=v[e+24>>2],p=v[e+20>>2],h=v[e+56>>2],D=v[e+40>>2],w=v[e+36>>2],gi=v[e+48>>2],Z=v[e+8>>2],Y=v[e>>2],W=v[e+4>>2],F=v[e+16>>2],E=v[e+32>>2],b[i+12>>2]=0,G=h,h=B(f?B(_+C)*B(.5):0),y=B(f?B(d+t)*B(.5):0),Q=B(f?B(g+n)*B(.5):0),G=B(G+B(B(B(E*h)+B(w*y))+B(D*Q))),C=B(N+B(f?B(_-C)*B(.5):0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+128>>2],b[i+84>>2]=f,ce(b[F>>2],b[76+(b[y>>2]+m|0)>>2],i+80|0)),m=m+80|0,(0|(E=E+1|0))>2];);f=b[e+4>>2],b[r+80>>2]=b[e>>2],b[r+84>>2]=f,_=b[(e=e+8|0)+4>>2],b[(f=r+88|0)>>2]=b[e>>2],b[f+4>>2]=_,BA[b[b[r>>2]+68>>2]](r),N=i+144|0},function(r){return(r|=0)+80|0},function(r,e,i){r|=0,e=B(e),i|=0;var a,f=B(0),n=0,t=B(0),C=B(0);N=a=N-96|0,b[(n=a+44|0)>>2]=0,b[n+4>>2]=0,b[a+52>>2]=1065353216,b[(n=a+56|0)>>2]=0,b[n+4>>2]=0,b[a+72>>2]=1065353216,b[a+92>>2]=0,b[(n=a+84|0)>>2]=0,b[n+4>>2]=0,b[(n=a+76|0)>>2]=0,b[n+4>>2]=0,b[a+36>>2]=0,b[a+40>>2]=0,b[a+32>>2]=1065353216,b[a+64>>2]=0,b[a+68>>2]=0,BA[b[b[r>>2]+8>>2]](r,a+32|0,a+16|0,a),e=B(e/B(12)),f=B(B(v[a>>2]-v[a+16>>2])*B(.5)),f=B(f+f),f=B(f*f),t=B(B(v[a+4>>2]-v[a+20>>2])*B(.5)),t=B(t+t),t=B(t*t),v[i+8>>2]=e*B(f+t),C=f,f=B(B(v[a+8>>2]-v[a+24>>2])*B(.5)),f=B(f+f),f=B(f*f),v[i+4>>2]=e*B(C+f),v[i>>2]=e*B(t+f),N=a+96|0},function(r){return 14428},function(r,e){r|=0,e=B(e),v[r+76>>2]=e},function(r){return B(v[(r|=0)+76>>2])},function(r){return 24},function(r,e,i){var a=0,f=0,n=0,t=0,C=0,g=0,d=0,v=0,_=0,R=0,B=0,m=0;if(hA(r|=0,e|=0,i|=0),b[e+12>>2]=0,b[e+20>>2]=b[r+76>>2],a=b[r+20>>2],b[e+16>>2]=a,a){if(n=0|BA[b[b[i>>2]+16>>2]](i,76,a),f=b[n+8>>2],d=e+12|0,v=0|BA[b[b[i>>2]+28>>2]](i,f),b[d>>2]=v,b[(t=e+16|0)>>2]>0)for(a=72,e=f+72|0,f=r+28|0;r=b[f>>2]+a|0,b[e>>2]=b[r>>2],d=e+-8|0,v=0|BA[b[b[i>>2]+28>>2]](i,b[r+-8>>2]),b[d>>2]=v,BA[b[b[i>>2]+24>>2]](i,b[(b[f>>2]+a|0)-8>>2])||(r=b[(b[f>>2]+a|0)-8>>2],v=i,_=0|BA[b[b[r>>2]+52>>2]](r),R=1,d=b[b[i>>2]+16>>2],r=0|BA[d](0|v,0|_,0|R),C=b[(b[f>>2]+a|0)-8>>2],R=i,_=r,v=0|BA[b[b[C>>2]+56>>2]](C,b[r+8>>2],i),B=1346455635,m=b[(b[f>>2]+a|0)-8>>2],d=b[b[i>>2]+20>>2],BA[d](0|R,0|_,0|v,0|B,0|m)),r=b[f>>2]+a|0,b[e+-72>>2]=b[r+-72>>2],b[e+-68>>2]=b[r+-68>>2],b[e+-64>>2]=b[r+-64>>2],b[e+-60>>2]=b[r+-60>>2],b[e+-56>>2]=b[r+-56>>2],b[e+-52>>2]=b[r+-52>>2],b[e+-48>>2]=b[r+-48>>2],b[e+-44>>2]=b[r+-44>>2],b[e+-40>>2]=b[r+-40>>2],b[e+-36>>2]=b[r+-36>>2],b[e+-32>>2]=b[r+-32>>2],b[e+-28>>2]=b[r+-28>>2],b[e+-24>>2]=b[r+-24>>2],b[e+-20>>2]=b[r+-20>>2],b[e+-16>>2]=b[r+-16>>2],b[e+-4>>2]=b[r+-4>>2],b[e+-12>>2]=b[r+-12>>2],a=a+80|0,e=e+76|0,(0|(g=g+1|0))>2];);BA[b[b[i>>2]+20>>2]](i,n,14352,1497453121,b[n+8>>2])}return 14377},function(r,e){e|=0;var i=0,a=0,f=0;b[(r|=0)+72>>2]=b[r+72>>2]+1;A:if(!((0|(i=b[r+20>>2]))<1))for(a=R(i,80)+-16|0,f=r+28|0;;){if(i=i+-1|0,(0|e)!=b[b[f>>2]+a>>2]){if(a=a+-80|0,(0|i)>0)continue;break A}if(me(r,i),a=a+-80|0,!((0|i)>0))break}BA[b[b[r>>2]+68>>2]](r)},function(r){r|=0;var e,i,a,f,n=B(0),t=0,C=0,g=0,d=0,_=0,R=0,m=0,h=0,G=0;if(N=e=N-32|0,b[r+52>>2]=-581039253,b[r+56>>2]=-581039253,b[r+36>>2]=1566444395,b[r+40>>2]=1566444395,b[(t=i=r+60|0)>>2]=-581039253,b[t+4>>2]=0,b[(t=a=r+44|0)>>2]=1566444395,b[t+4>>2]=0,b[(f=r+20|0)>>2]>=1)for(t=64,h=r+28|0,C=r+36|0,g=r+52|0,d=r+40|0,r=r+56|0,G=e+24|0;_=b[h>>2]+t|0,R=b[_>>2],BA[b[b[R>>2]+8>>2]](R,_+-64|0,e+16|0,e),n=v[e+16>>2],v[C>>2]>n&&(v[C>>2]=n),n=v[e>>2],v[g>>2]>2]=n),n=v[e+20>>2],v[d>>2]>n&&(v[d>>2]=n),n=v[e+4>>2],v[r>>2]>2]=n),n=v[G>>2],v[a>>2]>n&&(v[a>>2]=n),n=v[e+8>>2],v[i>>2]>2]=n),t=t+80|0,(0|(m=m+1|0))>2];);N=e+32|0},Re,function(r){var e,i=0;b[(r|=0)>>2]=14628,(e=b[(i=r+32|0)>>2])&&(C[r+36|0]&&gA(e),b[r+32>>2]=0),b[i>>2]=0,f[r+36|0]=1,b[(i=r+24|0)>>2]=0,b[i+4>>2]=0,gA(r)},function(r,e,i,a){r|=0,e|=0,i|=0,a|=0;var f,n=0,t=0,d=0,m=0,h=B(0),G=B(0),y=B(0),Q=B(0),p=B(0),D=B(0),w=0,Z=0,Y=0,W=0,F=0,E=0,j=0,Be=0,ui=0,gi=0,Ri=0,wi=0;if(N=i=N-80|0,(0|(f=0|BA[b[b[r>>2]+28>>2]](r)))>=1)for(h=v[r+12>>2],G=v[r+8>>2],y=v[r+4>>2],Z=i+28|0,Y=i+24|0,W=i+20|0,F=i+16|0,E=i+44|0,j=i+40|0,Be=i+36|0,ui=i+32|0;;){BA[b[b[r>>2]+16>>2]](r,i+76|0,i+52|0,i- -64|0,i+56|0,i+72|0,i+68|0,i+48|0,i+60|0,w);A:{r:{e:{i:{a:{if(1!=(0|(a=b[i+64>>2]))){if(a)break A;if(2==(0|(a=b[i+60>>2])))break a;if(3==(0|a))break i;if(5!=(0|a)|b[i+48>>2]<1)break A;for(a=0;m=b[i+76>>2],d=b[i+56>>2],t=b[i+72>>2]+R(b[i+68>>2],a)|0,n=m+R(d,C[0|t])|0,Q=v[n>>2],p=v[n+4>>2],D=v[n+8>>2],b[i+12>>2]=0,v[i+8>>2]=h*D,v[i+4>>2]=G*p,v[i>>2]=y*Q,n=m+R(d,C[t+1|0])|0,Q=v[n>>2],p=v[n+4>>2],D=v[n+8>>2],b[Z>>2]=0,v[Y>>2]=h*D,v[W>>2]=G*p,v[F>>2]=y*Q,t=m+R(d,C[t+2|0])|0,Q=v[t>>2],p=v[t+4>>2],D=v[t+8>>2],b[E>>2]=0,v[j>>2]=h*D,v[Be>>2]=G*p,v[ui>>2]=y*Q,BA[b[b[e>>2]+8>>2]](e,i,w,a),(0|(a=a+1|0))>2];);break A}if(2==(0|(a=b[i+60>>2])))break e;if(3==(0|a))break r;if(5!=(0|a)|b[i+48>>2]<1)break A;for(a=0;t=b[i+72>>2]+R(b[i+68>>2],a)|0,d=C[0|t],b[i+12>>2]=0,m=b[i+76>>2],n=d,d=b[i+56>>2],n=m+R(n,d)|0,v[i+8>>2]=h*B(_[n+16>>3]),v[i+4>>2]=G*B(_[n+8>>3]),v[i>>2]=y*B(_[n>>3]),n=C[t+1|0],b[Z>>2]=0,n=m+R(n,d)|0,v[Y>>2]=h*B(_[n+16>>3]),v[W>>2]=G*B(_[n+8>>3]),v[F>>2]=y*B(_[n>>3]),t=m+R(d,C[t+2|0])|0,gi=_[t>>3],Ri=_[t+8>>3],wi=_[t+16>>3],b[E>>2]=0,v[j>>2]=h*B(wi),v[Be>>2]=G*B(Ri),v[ui>>2]=y*B(gi),BA[b[b[e>>2]+8>>2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]),v[F>>2]=y*B(_[n>>3]),b[i+12>>2]=0,n=m+R(d,b[t>>2])|0,v[i+8>>2]=h*B(_[n+16>>3]),v[i+4>>2]=G*B(_[n+8>>3]),v[i>>2]=y*B(_[n>>3]),b[E>>2]=0,t=m+R(d,b[t+8>>2])|0,v[j>>2]=h*B(_[t+16>>3]),v[Be>>2]=G*B(_[t+8>>3]),v[ui>>2]=y*B(_[t>>3]),BA[b[b[e>>2]+8>>2]](e,i,w,a),(0|(a=a+1|0))>2];);break A}if(!(b[i+48>>2]<1))for(a=0;b[Z>>2]=0,m=b[i+76>>2],d=b[i+56>>2],t=b[i+72>>2]+R(b[i+68>>2],a)|0,n=m+R(d,g[t+2>>1])|0,v[Y>>2]=h*B(_[n+16>>3]),v[W>>2]=G*B(_[n+8>>3]),v[F>>2]=y*B(_[n>>3]),b[i+12>>2]=0,n=m+R(d,g[t>>1])|0,v[i+8>>2]=h*B(_[n+16>>3]),v[i+4>>2]=G*B(_[n+8>>3]),v[i>>2]=y*B(_[n>>3]),b[E>>2]=0,t=m+R(d,g[t+4>>1])|0,v[j>>2]=h*B(_[t+16>>3]),v[Be>>2]=G*B(_[t+8>>3]),v[ui>>2]=y*B(_[t>>3]),BA[b[b[e>>2]+8>>2]](e,i,w,a),(0|(a=a+1|0))>2];);}if(BA[b[b[r>>2]+24>>2]](r,w),(0|(w=w+1|0))==(0|f))break}N=i+80|0},Ge,Ge,he,he,function(r){return b[(r|=0)+24>>2]},he,he,function(r){return 1==b[(r|=0)+48>>2]|0},function(r,e,i){r|=0,i|=0;var a=0,f=0;a=b[(e|=0)+4>>2],b[r+52>>2]=b[e>>2],b[r+56>>2]=a,f=b[(e=e+8|0)+4>>2],b[(a=r+60|0)>>2]=b[e>>2],b[a+4>>2]=f,f=b[(a=i+8|0)+4>>2],b[(e=r+76|0)>>2]=b[a>>2],b[e+4>>2]=f,e=b[i+4>>2],b[r+68>>2]=b[i>>2],b[r+72>>2]=e,b[r+48>>2]=1},function(r,e,i){e|=0,i|=0;var a=0,f=0;a=b[(r|=0)+56>>2],b[e>>2]=b[r+52>>2],b[e+4>>2]=a,f=b[(a=r+60|0)+4>>2],b[(e=e+8|0)>>2]=b[a>>2],b[e+4>>2]=f,f=b[(a=r+76|0)+4>>2],b[(e=i+8|0)>>2]=b[a>>2],b[e+4>>2]=f,e=b[r+72>>2],b[i>>2]=b[r+68>>2],b[i+4>>2]=e},function(r){return 28},function(r,e,i){e|=0,i|=0;var a,t=0,d=0,v=0,_=0,B=0,m=0,h=0,G=0,y=0,Q=0,p=0,D=0,w=0,Z=0,Y=0;if(N=a=N-32|0,t=0|BA[b[b[(r|=0)>>2]+28>>2]](r),b[e>>2]=0,b[e+20>>2]=t,t){if(Q=0|BA[b[b[i>>2]+16>>2]](i,32,t),B=b[Q+8>>2],Z=e,Y=0|BA[b[b[i>>2]+28>>2]](i,B),b[Z>>2]=Y,(0|(w=0|BA[b[b[r>>2]+28>>2]](r)))>0)for(;;){BA[b[b[r>>2]+16>>2]](r,a+28|0,a+4|0,a+16|0,a+8|0,a+24|0,a+20|0,a,a+12|0,y),b[(d=B+16|0)>>2]=0,b[d+4>>2]=0,b[(_=B+8|0)>>2]=0,b[_+4>>2]=0,b[B>>2]=0,b[B+4>>2]=0,t=b[a>>2],b[B+24>>2]=t,b[B+28>>2]=b[a+4>>2];A:{r:{e:{i:{if(5!=(0|(v=b[a+12>>2]))){if(3!=(0|v)){if(!t|2!=(0|v))break i;if(d=_,_=0|BA[b[b[i>>2]+16>>2]](i,4,R(t,3)),t=b[_+8>>2],Z=d,Y=0|BA[b[b[i>>2]+28>>2]](i,t),b[Z>>2]=Y,b[a>>2]>=1)for(d=0,m=b[a+24>>2];v=m+R(b[a+20>>2],d)|0,b[t>>2]=b[v>>2],b[t+4>>2]=b[v+4>>2],b[t+8>>2]=b[v+8>>2],t=t+12|0,(0|(d=d+1|0))>2];);if(BA[b[b[i>>2]+20>>2]](i,_,14437,1497453121,b[_+8>>2]),1!=(0|(t=b[a+16>>2])))break e;break r}if(!t)break i;if(_=0|BA[b[b[i>>2]+16>>2]](i,8,t),t=b[_+8>>2],Z=B+12|0,Y=0|BA[b[b[i>>2]+28>>2]](i,t),b[Z>>2]=Y,b[a>>2]>=1)for(d=0;v=b[a+24>>2]+R(b[a+20>>2],d)|0,n[t>>1]=g[v>>1],n[t+2>>1]=g[v+2>>1],v=g[v+4>>1],n[t+6>>1]=0,n[t+4>>1]=v,t=t+8|0,(0|(d=d+1|0))>2];);if(BA[b[b[i>>2]+20>>2]](i,_,14452,1497453121,b[_+8>>2]),1!=(0|(t=b[a+16>>2])))break e;break r}if(t){if(_=0|BA[b[b[i>>2]+16>>2]](i,4,t),t=b[_+8>>2],Z=d,Y=0|BA[b[b[i>>2]+28>>2]](i,t),b[Z>>2]=Y,b[a>>2]>=1)for(d=0;v=b[a+24>>2]+R(b[a+20>>2],d)|0,f[0|t]=C[0|v],f[t+1|0]=C[v+1|0],f[t+2|0]=C[v+2|0],f[t+3|0]=0,t=t+4|0,(0|(d=d+1|0))>2];);BA[b[b[i>>2]+20>>2]](i,_,14479,1497453121,b[_+8>>2])}}if(1==(0|(t=b[a+16>>2])))break r}if(t)break A;if(!(t=b[a+4>>2]))break A;if(v=0|BA[b[b[i>>2]+16>>2]](i,16,t),t=b[v+8>>2],Z=B,Y=0|BA[b[b[i>>2]+28>>2]](i,t),b[Z>>2]=Y,(0|(m=b[a+4>>2]))>=1)for(_=0,p=b[a+8>>2],d=b[a+28>>2];b[t>>2]=b[d>>2],b[t+4>>2]=b[d+4>>2],b[t+8>>2]=b[d+8>>2],d=d+p|0,t=t+16|0,(0|(_=_+1|0))<(0|m););BA[b[b[i>>2]+20>>2]](i,v,14502,1497453121,b[v+8>>2]);break A}if(t=b[a+4>>2]){if(v=0|BA[b[b[i>>2]+16>>2]](i,32,t),t=b[v+8>>2],Z=B+4|0,Y=0|BA[b[b[i>>2]+28>>2]](i,t),b[Z>>2]=Y,(0|(m=b[a+4>>2]))>=1)for(_=0,p=b[a+8>>2],d=b[a+28>>2];h=b[d+4>>2],b[t>>2]=b[d>>2],b[t+4>>2]=h,D=b[(G=d+8|0)+4>>2],b[(h=t+8|0)>>2]=b[G>>2],b[h+4>>2]=D,D=b[(G=d+16|0)+4>>2],b[(h=t+16|0)>>2]=b[G>>2],b[h+4>>2]=D,d=d+p|0,t=t+32|0,(0|(_=_+1|0))<(0|m););BA[b[b[i>>2]+20>>2]](i,v,14521,1497453121,b[v+8>>2])}}if(BA[b[b[r>>2]+24>>2]](r,y),B=B+32|0,(0|(y=y+1|0))==(0|w))break}BA[b[b[i>>2]+20>>2]](i,Q,14541,1497453121,b[Q+8>>2])}return b[e+24>>2]=0,b[e+4>>2]=b[r+4>>2],b[e+8>>2]=b[r+8>>2],b[e+12>>2]=b[r+12>>2],b[e+16>>2]=b[r+16>>2],N=a+32|0,14556},pe,function(r){gA(pe(r|=0))},function(r,e){e|=0;var i=0,a=0,n=0,t=0,g=0,d=0,v=0;A:{r:{e:{i:{a:{if(C[(r|=0)+165|0]){if(b[r+92>>2]>=(0|e))break A;if(!e)break a;d=CA(e<<4,16);break i}if(b[r+112>>2]>=(0|e))break A;if(!e)break e;i=CA(e<<2,16);break r}d=0}if((0|(t=b[r+88>>2]))>=1)for(v=r+96|0;i=b[v>>2]+g|0,n=b[i+4>>2],b[(a=g+d|0)>>2]=b[i>>2],b[a+4>>2]=n,n=b[(i=i+8|0)+4>>2],b[(a=a+8|0)>>2]=b[i>>2],b[a+4>>2]=n,g=g+16|0,t=t+-1|0;);return(n=b[(i=r+96|0)>>2])&&(C[r+100|0]&&gA(n),b[r+96>>2]=0),b[i>>2]=d,f[r+100|0]=1,void(b[r+92>>2]=e)}i=0}n=b[r+116>>2];r:{if((0|(a=b[r+108>>2]))>=1)for(g=i,t=n;b[g>>2]=b[t>>2],g=g+4|0,t=t+4|0,a=a+-1|0;);else if(!n)break r;C[r+120|0]&&gA(n),b[r+116>>2]=0}b[r+116>>2]=i,f[r+120|0]=1,b[r+112>>2]=e}},function(r,e){e|=0;var i=0,a=0,t=0,d=0,v=0;A:{r:{e:{i:{a:{if(C[(r|=0)+164|0]){if(b[r+132>>2]>=(0|e))break A;if(!e)break a;a=CA(e<<2,16);break i}if(b[r+152>>2]>=(0|e))break A;if(!e)break e;a=CA(e<<1,16);break r}a=0}t=b[r+136>>2];i:{if((0|(i=b[r+128>>2]))>=1)for(d=a,v=t;b[d>>2]=b[v>>2],d=d+4|0,v=v+4|0,i=i+-1|0;);else if(!t)break i;C[r+140|0]&&gA(t),b[r+136>>2]=0}return b[r+136>>2]=a,f[r+140|0]=1,void(b[r+132>>2]=e)}a=0}t=b[r+156>>2];r:{if((0|(i=b[r+148>>2]))>=1)for(d=a,v=t;n[d>>1]=g[v>>1],d=d+2|0,v=v+2|0,i=i+-1|0;);else if(!t)break r;C[r+160|0]&&gA(t),b[r+156>>2]=0}b[r+156>>2]=a,f[r+160|0]=1,b[r+152>>2]=e}},yA,function(r,e,i){r|=0,e|=0,i|=0;var a,f,n,t=B(0),C=B(0),g=B(0),d=0,_=B(0);N=a=N-32|0,n=b[(d=i+8|0)+4>>2],b[(f=a+24|0)>>2]=b[d>>2],b[f+4>>2]=n,d=b[i+4>>2],b[a+16>>2]=b[i>>2],b[a+20>>2]=d,t=v[a+16>>2],g=v[a+20>>2],C=v[f>>2],B(B(B(t*t)+B(g*g))+B(C*C))>2]=-1082130432,b[f+4>>2]=0,b[a+16>>2]=-1082130432,b[a+20>>2]=-1082130432,C=B(-1),g=B(-1),t=B(-1)),_=C,C=B(B(1)/B(p(B(B(B(t*t)+B(g*g))+B(C*C))))),v[f>>2]=_*C,v[a+20>>2]=g*C,v[a+16>>2]=t*C,yA(a,e,a+16|0);A:{r:{e:if(i=b[e+4>>2],!(i>>>0>13)){switch(i-2|0){case 6:break r;case 0:case 1:case 4:case 5:case 7:case 10:break e}t=v[e+48>>2];break A}t=B(BA[b[b[e>>2]+48>>2]](e));break A}t=B(v[e+32>>2]*v[e+16>>2])}b[r+12>>2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>>2]=0,b[(h=n+8|0)>>2]=0,b[h+4>>2]=0,b[t+388>>2]=i,b[t+384>>2]=r,C=v[a+20>>2],g=v[a+36>>2],_=v[(r=e+20|0)>>2],Q=v[(i=e+36|0)>>2],w=v[(h=e+24|0)>>2],D=v[a+24>>2],R=v[(gi=e+40|0)>>2],m=v[a+40>>2],G=v[a+32>>2],y=v[a>>2],Z=v[a+16>>2],Y=v[a+4>>2],W=v[e+32>>2],E=v[e>>2],j=v[e+16>>2],Be=v[e+4>>2],ui=v[e+8>>2],F=v[a+8>>2],b[t+436>>2]=0,b[t+420>>2]=0,b[t+404>>2]=0,Da=B(B(B(ui*F)+B(w*D))+B(R*m)),v[t+432>>2]=Da,Ia=B(B(B(Be*F)+B(_*D))+B(Q*m)),v[t+428>>2]=Ia,D=B(B(B(E*F)+B(j*D))+B(W*m)),v[t+424>>2]=D,m=B(B(B(ui*Y)+B(w*C))+B(R*g)),v[t+416>>2]=m,F=B(B(B(Be*Y)+B(_*C))+B(Q*g)),v[t+412>>2]=F,C=B(B(B(E*Y)+B(j*C))+B(W*g)),v[t+408>>2]=C,g=B(B(B(y*ui)+B(Z*w))+B(G*R)),v[t+400>>2]=g,_=B(B(B(y*Be)+B(Z*_))+B(G*Q)),v[t+396>>2]=_,Q=B(B(B(y*E)+B(Z*j))+B(G*W)),v[t+392>>2]=Q,w=v[r>>2],R=v[i>>2],G=v[h>>2],y=v[a+52>>2],Z=v[e+52>>2],Y=v[gi>>2],W=v[a+56>>2],E=v[e+56>>2],j=v[e>>2],Be=v[e+16>>2],ui=v[e+32>>2],Df=v[e+4>>2],wf=v[e+8>>2],Zf=v[a+48>>2],Yf=v[e+48>>2],b[t+508>>2]=0,b[t+500>>2]=0,b[t+484>>2]=0,v[t+480>>2]=Da,v[t+476>>2]=m,v[t+472>>2]=g,b[t+468>>2]=0,v[t+464>>2]=Ia,v[t+460>>2]=F,v[t+456>>2]=_,b[t+452>>2]=0,v[t+448>>2]=D,v[t+444>>2]=C,C=B(Zf-Yf),g=B(y-Z),_=B(W-E),v[t+496>>2]=B(B(wf*C)+B(G*g))+B(Y*_),v[t+492>>2]=B(B(C*Df)+B(g*w))+B(_*R),v[t+488>>2]=B(B(C*j)+B(g*Be))+B(_*ui),b[t+504>>2]=350,v[t+440>>2]=Q,b[(r=t+136|0)>>2]=0,b[r+4>>2]=0,b[t+128>>2]=0,b[t+132>>2]=0,b[t+364>>2]=0,b[t+368>>2]=0,b[t+376>>2]=2,b[t+144>>2]=0,r=De(t,t+384|0,f))return b[n>>2]=1==(0|r)?1:2,N=t+544|0,0;if(f=b[t+372>>2],b[f+32>>2])for(C=B(0),r=t+508|0,i=t+504|0,h=t+536|0,gi=t+372|0,yf=t+428|0,Qf=t+424|0,pf=t+432|0,Wf=t+412|0,Ff=t+408|0,Ef=t+416|0,Nf=t+476|0,Vf=t+472|0,Xf=t+480|0,Jf=t+496|0,If=t+460|0,xf=t+456|0,Mf=t+464|0,Sf=t+492|0,Tf=t+444|0,Uf=t+440|0,jf=t+448|0,Of=t+488|0,a=0,g=B(0),_=B(0),Q=B(0),w=B(0),D=B(0);R=v[(f=a+f|0)+16>>2],Hf=b[f>>2],f=b[i>>2],wi=b[r>>2],Ri=b[t+384>>2]+(wi>>1)|0,BA[1&wi?b[b[Ri>>2]+f>>2]:f](t+528|0,Ri,Hf),Z=B(R*v[h>>2]),Y=B(R*v[t+532>>2]),W=B(R*v[t+528>>2]),wi=b[r>>2],Ri=b[t+388>>2]+(wi>>1)|0,f=b[b[gi>>2]+a>>2],m=B(-v[f+8>>2]),G=B(-v[f+4>>2]),y=B(-v[f>>2]),f=b[i>>2],f=1&wi?b[b[Ri>>2]+f>>2]:f,C=B(C+Z),g=B(g+Y),_=B(_+W),b[t+524>>2]=0,v[t+520>>2]=B(B(v[Qf>>2]*y)+B(v[yf>>2]*G))+B(v[pf>>2]*m),v[t+516>>2]=B(B(v[Ff>>2]*y)+B(v[Wf>>2]*G))+B(v[Ef>>2]*m),v[t+512>>2]=B(B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v[n+56>>2])))))>2],Z=F,p=E,Q=Be,D=j)),y=y+16|0,w=w+-1|0;);else D=B(0xde0b6b000000000),Z=B(0),p=B(0),Q=B(0),ui=B(0);return QA(i),QA(a),y=0,D>2]=0,y=b[(a=n+8|0)+4>>2],b[(i=r- -64|0)>>2]=b[a>>2],b[i+4>>2]=y,y=b[(a=n+24|0)+4>>2],b[(i=r+80|0)>>2]=b[a>>2],b[i+4>>2]=y,y=b[(a=n+40|0)+4>>2],b[(i=r+96|0)>>2]=b[a>>2],b[i+4>>2]=y,D=B(D+B(B(F+E)+B(.5))),v[r+112>>2]=B(Q*D)+v[n+56>>2],v[r+108>>2]=B(p*D)+v[n+52>>2],i=b[n+4>>2],b[r+56>>2]=b[n>>2],b[r+60>>2]=i,i=b[n+20>>2],b[r+72>>2]=b[n+16>>2],b[r+76>>2]=i,i=b[n+36>>2],b[r+88>>2]=b[n+32>>2],b[r+92>>2]=i,v[r+104>>2]=B(Z*D)+v[n+48>>2],n=b[(a=t+8|0)+4>>2],b[(i=r+128|0)>>2]=b[a>>2],b[i+4>>2]=n,a=b[t+20>>2],b[(i=r+136|0)>>2]=b[t+16>>2],b[i+4>>2]=a,n=b[(a=t+24|0)+4>>2],b[(i=r+144|0)>>2]=b[a>>2],b[i+4>>2]=n,a=b[t+36>>2],b[(i=r+152|0)>>2]=b[t+32>>2],b[i+4>>2]=a,n=b[(a=t+40|0)+4>>2],b[(i=r+160|0)>>2]=b[a>>2],b[i+4>>2]=n,a=b[t+52>>2],b[(i=r+168|0)>>2]=b[t+48>>2],b[i+4>>2]=a,n=b[(a=t+56|0)+4>>2],b[(i=r+176|0)>>2]=b[a>>2],b[i+4>>2]=n,b[r+184>>2]=1566444395,i=b[t+4>>2],b[r+120>>2]=b[t>>2],b[r+124>>2]=i,b[e+16>>2]=0,v[e+12>>2]=-Q,v[e+8>>2]=-p,v[e+4>>2]=-Z,f[r+48|0]=0,b[r+8>>2]=15140,Ue(e,r+56|0,r+8|0,R),(i=C[r+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[i+16>>2]=0,b[i+20>>2]=0,b[i+44>>2]=0,b[i+64>>2]=n,b[i+68>>2]=t,f[i+60|0]=0,b[i+56>>2]=a,f[i+52|0]=0,b[i+36>>2]=0,b[i+40>>2]=0,0|i},function(r){var e=0,i=0;return b[(r|=0)>>2]=15508,C[r+52|0]&&((e=b[r+56>>2])&&(i=b[r+4>>2],BA[b[b[i>>2]+16>>2]](i,e))),(i=b[(e=r+44|0)>>2])&&(C[r+48|0]&&gA(i),b[r+44>>2]=0),b[e>>2]=0,f[r+48|0]=1,b[(e=r+36|0)>>2]=0,b[e+4>>2]=0,(i=b[(e=r+24|0)>>2])&&(C[r+28|0]&&gA(i),b[r+24>>2]=0),b[e>>2]=0,f[r+28|0]=1,b[(e=r+16|0)>>2]=0,b[e+4>>2]=0,0|r},function(r){var e=0,i=0;b[(r|=0)>>2]=15508,C[r+52|0]&&((e=b[r+56>>2])&&(i=b[r+4>>2],BA[b[b[i>>2]+16>>2]](i,e))),(i=b[(e=r+44|0)>>2])&&(C[r+48|0]&&gA(i),b[r+44>>2]=0),b[e>>2]=0,f[r+48|0]=1,b[(e=r+36|0)>>2]=0,b[e+4>>2]=0,(i=b[(e=r+24|0)>>2])&&(C[r+28|0]&&gA(i),b[r+24>>2]=0),b[e>>2]=0,f[r+28|0]=1,b[(e=r+16|0)>>2]=0,b[e+4>>2]=0,rA(r)},function(r,e,i,a,n){r|=0,e|=0,i|=0,a|=0,n|=0;var t,g=0,d=0,_=B(0),h=B(0),y=B(0),Q=0,D=B(0),w=0,Z=0,Y=0,W=0,F=0,E=0,j=0,Be=0,ui=0,gi=0,Ri=B(0),wi=0,Xi=0,Da=B(0),Ia=B(0),yf=B(0),Qf=B(0),pf=B(0),Df=B(0),wf=B(0),Zf=B(0),Yf=B(0),Wf=B(0),Ff=B(0),Ef=B(0),Nf=B(0),Vf=B(0),Xf=B(0),Jf=B(0),If=0,xf=B(0),Mf=B(0),Sf=B(0),Tf=B(0),Uf=B(0),jf=B(0),Of=B(0),Hf=0,zf=B(0),Pf=B(0),Lf=0,Kf=0,qf=0,$f=0,An=0,rn=0,en=0,an=0,fn=0,nn=0,tn=0,bn=0,on=0,kn=0,cn=0,un=B(0),ln=B(0),sn=0,Cn=0,gn=0,dn=0,vn=0,_n=0,Rn=0,Bn=0,mn=0,hn=0,Gn=0,yn=0;N=t=N-928|0,(d=b[r+56>>2])||(g=b[r+4>>2],d=0|BA[b[b[g>>2]+12>>2]](g,b[e+8>>2],b[i+8>>2]),f[r+52|0]=1,b[r+56>>2]=d),b[n+4>>2]=d,g=b[i+4>>2];A:{r:{e:{i:{a:{f:{n:{t:{b:{o:{k:{c:{u:{l:{if(ui=b[e+4>>2],8!=(0|(Be=b[ui+4>>2]))){if(10!=(0|Be))break l;if(8==(0|(Be=b[g+4>>2])))break u;if(10!=(0|Be))break l;if(a=ui+32|0,r=b[ui+56>>2],_=v[a+(r<<2)>>2],D=v[a+((r+2|0)%3<<2)>>2],ui=g+32|0,a=b[g+56>>2],h=v[d+784>>2],(_=Ke(t+432|0,t+8|0,_,D,v[ui+(a<<2)>>2],v[ui+((a+2|0)%3<<2)>>2],r,a,b[e+12>>2],b[i+12>>2],h))>2]+16>>2]](n,t+432|0,t+8|0,_),r=b[n+4>>2],!b[r+780>>2])break e;if((0|(e=b[r+772>>2]))==(0|(i=b[b[n+8>>2]+8>>2])))break A;break r}if(10==b[g+4>>2]){if(a=g+32|0,r=b[g+56>>2],h=v[d+784>>2],(_=Ke(t+432|0,t+8|0,B(0),B(v[ui+32>>2]*v[ui+16>>2]),v[a+(r<<2)>>2],v[a+((r+2|0)%3<<2)>>2],1,r,b[e+12>>2],b[i+12>>2],h))>2]+16>>2]](n,t+432|0,t+8|0,_),r=b[n+4>>2],!b[r+780>>2])break e;if((0|(e=b[r+772>>2]))==(0|(i=b[b[n+8>>2]+8>>2])))break A;break r}}if(b[t+920>>2]=1566444395,f[t+764|0]=0,b[t+740>>2]=953267991,Be=Te(t+352|0,ui,g,t+432|0,b[r+8>>2]),b[Be+32>>2]=g,b[Be+28>>2]=ui,h=B(B(B(B(BA[b[b[ui>>2]+48>>2]](ui))+B(BA[b[b[g>>2]+48>>2]](g)))+v[b[r+56>>2]+784>>2])+v[n+32>>2]),v[t+920>>2]=h*h,d=b[e+12>>2],E=b[(F=d+8|0)+4>>2],b[(w=t+800|0)>>2]=b[F>>2],b[w+4>>2]=E,F=b[d>>2],E=b[d+4>>2],j=b[(w=d+24|0)+4>>2],b[(wi=t+816|0)>>2]=b[w>>2],b[wi+4>>2]=j,w=b[d+16>>2],j=b[d+20>>2],Xi=b[(wi=d+40|0)+4>>2],b[(Y=t+832|0)>>2]=b[wi>>2],b[Y+4>>2]=Xi,wi=b[d+32>>2],Xi=b[d+36>>2],gi=b[(Y=d+56|0)+4>>2],b[(Hf=t+848|0)>>2]=b[Y>>2],b[Hf+4>>2]=gi,b[t+792>>2]=F,b[t+796>>2]=E,b[t+808>>2]=w,b[t+812>>2]=j,b[t+824>>2]=wi,b[t+828>>2]=Xi,F=b[d+52>>2],b[t+840>>2]=b[d+48>>2],b[t+844>>2]=F,d=b[i+12>>2],E=b[(F=d+8|0)+4>>2],b[(w=t+864|0)>>2]=b[F>>2],b[w+4>>2]=E,F=b[d+4>>2],b[t+856>>2]=b[d>>2],b[t+860>>2]=F,E=b[(F=d+24|0)+4>>2],b[(w=t+880|0)>>2]=b[F>>2],b[w+4>>2]=E,E=b[d+20>>2],b[(w=F=t+872|0)>>2]=b[d+16>>2],b[w+4>>2]=E,w=b[(E=d+40|0)+4>>2],b[(j=t+896|0)>>2]=b[E>>2],b[j+4>>2]=w,w=b[d+36>>2],b[(E=t+888|0)>>2]=b[d+32>>2],b[E+4>>2]=w,j=b[(w=d+56|0)+4>>2],b[(wi=t+912|0)>>2]=b[w>>2],b[wi+4>>2]=j,j=b[d+52>>2],b[(w=t+904|0)>>2]=b[d+48>>2],b[w+4>>2]=j,(0|(d=b[ui+4>>2]))>6)break k;if((0|(j=b[g+4>>2]))>6)break k;if(b[t+344>>2]=15628,h=B(0),d&&(h=B(BA[b[b[ui>>2]+48>>2]](ui)),j=b[g+4>>2]),j&&(_=B(BA[b[b[g>>2]+48>>2]](g))),f[t+44|0]=0,v[t+36>>2]=_,v[t+32>>2]=h,b[t+12>>2]=n,b[t+8>>2]=15804,!b[ui+56>>2])break k;if(!b[g+56>>2])break c;if(_=v[b[r+56>>2]+784>>2],!C[a+24|0])break o;if(h=B(-1.0000000150474662e30),function(r,e,i,a,f,n){var t,g=B(0),d=B(0),_=B(0),R=B(0),h=B(0),G=B(0),y=0,Q=0,D=B(0),w=B(0),Z=B(0),Y=B(0),W=0,F=0,E=0,j=0,Be=B(0),ui=B(0),gi=B(0),Ri=B(0),wi=B(0),Xi=B(0),Da=B(0),Ia=B(0),yf=B(0),Qf=B(0),pf=B(0),Df=0,wf=B(0),Zf=B(0),Yf=B(0),Wf=B(0),Ff=B(0),Ef=B(0),Nf=B(0),Vf=B(0),Xf=B(0),Jf=B(0),If=0,xf=0,Mf=0,Sf=0,Tf=0,Uf=0,jf=0,Of=B(0),Hf=B(0),zf=0,Pf=0,Lf=0,Kf=0,qf=B(0),$f=B(0),An=B(0),rn=B(0),en=B(0);N=t=N-112|0,b[691]=b[691]+1,R=v[i+52>>2],F=20,h=v[(E=i+20|0)>>2],Y=v[(Df=i+24|0)>>2],Zf=v[a+52>>2],Yf=v[a+20>>2],Z=v[a+24>>2],Wf=v[i+56>>2],g=v[r+68>>2],D=v[(j=i+36|0)>>2],G=v[r+72>>2],Be=v[(If=i+40|0)>>2],ui=v[a+56>>2],Ia=v[e+68>>2],d=v[a+36>>2],yf=v[e+72>>2],w=v[a+40>>2],gi=v[i+48>>2],Qf=v[i+8>>2],Ff=v[i+4>>2],Ef=v[i>>2],Nf=v[a+48>>2],Vf=v[a+8>>2],Ri=v[a+4>>2],Da=v[a>>2],wi=v[i+16>>2],Xf=v[a+16>>2],Xi=v[r+64>>2],pf=v[i+32>>2],_=v[e+64>>2],Jf=v[a+32>>2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v[Tf>>2],Y=v[Df>>2],h=v[E>>2],wi=v[Uf>>2],Qf=v[i+8>>2]}if((0|(E=b[e+28>>2]))>=1)for(Df=t+12|0,F=a+32|0,If=a+40|0,xf=a+16|0,Mf=a+24|0,j=20,W=0;;){if(y=b[e+36>>2]+j|0,_=v[y+8>>2],h=v[y>>2],D=v[y+4>>2],b[Df>>2]=0,y=t+8|0,G=B(B(B(h*v[F>>2])+B(D*v[a+36>>2]))+B(_*v[If>>2])),v[y>>2]=G,Be=B(B(B(h*v[xf>>2])+B(D*v[a+20>>2]))+B(_*v[Mf>>2])),v[t+4>>2]=Be,_=B(B(B(h*v[a>>2])+B(D*v[a+4>>2]))+B(_*v[a+8>>2])),v[t>>2]=_,B(B(B(_*Yf)+B(Be*Zf))+B(G*Wf))>2]=-G,v[t+4>>2]=-Be,v[t>>2]=-_),b[689]=b[689]+1,!C[3188]||He(i,a,t+16|0,t,r,e,g)){if(Q=0,b[690]=b[690]+1,JA(r,i,t,t+108|0,t+104|0,t+80|0,t- -64|0),JA(e,a,t,t+100|0,t+96|0,t+48|0,t+32|0),(_=v[t+104>>2])<(h=v[t+100>>2])||((D=v[t+96>>2])<(G=v[t+108>>2])||(Y=(Y=B(_-h))<(_=B(D-G))?Y:_,Q=1)),!Q)break l;Y>2],b[f>>2]=b[t>>2],b[f+4>>2]=Q,Sf=b[y+4>>2],b[(Q=f+8|0)>>2]=b[y>>2],b[Q+4>>2]=Sf,g=Y)}if(j=j+36|0,!((0|(W=W+1|0))<(0|E)))break}if((0|(j=b[(If=r+48|0)>>2]))>=1)for(F=b[(xf=e+48|0)>>2],E=-1,Mf=r+56|0,Sf=i+36|0,Tf=i+32|0,Uf=i+40|0,jf=i+20|0,zf=i+16|0,Pf=i+24|0,Lf=i+8|0,Kf=t+12|0,y=0,Df=-1,D=B(0),G=B(0),Be=B(0),Y=B(0),_=B(0),h=B(0);;){if((0|F)>=1){for(W=b[Mf>>2]+(y<<4)|0,Qf=v[W>>2],wi=v[W+4>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>>2],Vf=v[t+48>>2],gi=v[t+68>>2],Ff=v[t+64>>2]}if(!Q)break C;break s}Ef=v[t+40>>2],w=v[t+88>>2],Nf=v[t+36>>2],Vf=v[t+32>>2],gi=v[t+84>>2],Ff=v[t+80>>2],d=R;break s}return N=t+112|0,0}d>2],b[f>>2]=b[t>>2],b[f+4>>2]=E,Df=b[F+4>>2],b[(E=f+8|0)>>2]=b[F>>2],b[E+4>>2]=Df,h=Vf,_=Nf,Y=Ef,Be=Ff,G=gi,D=w,Of=Xi,Hf=wi,Jf=pf,Xf=Qf,Da=yf,Ri=Ia,Df=y,E=W,g=d)}if(j=j+16|0,!((0|(W=W+1|0))<(0|(F=b[xf>>2]))))break}j=b[If>>2]}if(!((0|(y=y+1|0))<(0|j)))break}else Df=-1,h=B(0),_=B(0),Y=B(0),Be=B(0),G=B(0),D=B(0),E=-1;if(!((E|Df)<0)){Ef=B(h-Be),Nf=B(_-G),Vf=B(Y-D),w=B(B(B(Ef*Of)+B(Nf*Hf))+B(Vf*Jf)),Ff=B(B(B(Ef*Xf)+B(Nf*Da))+B(Vf*Ri)),g=B(0),gi=B(B(B(Of*Xf)+B(Hf*Da))+B(Jf*Ri)),(d=B(B(1)-B(gi*gi)))!=B(0)&&(g=B(-1.0000000150474662e30),(d=B(B(Ff-B(w*gi))/d))B(1.0000000150474662e30)&&(g=B(1.0000000150474662e30)));s:{C:{if((w=B(B(gi*g)-w))B(1.0000000150474662e30)))break s;if(g=B(-1.0000000150474662e30),w=B(1.0000000150474662e30),(d=B(Ff+B(gi*B(1.0000000150474662e30))))B(1.0000000150474662e30)))break s;g=B(1.0000000150474662e30);break s}g=B(1.0000000150474662e30),d>B(1.0000000150474662e30)?w=B(-1.0000000150474662e30):(w=B(-1.0000000150474662e30),g=d)}b[t+92>>2]=0,Jf=B(Jf*w),d=B(Jf+B(Vf-B(Ri*g))),v[t+88>>2]=d,gi=B(Hf*w),Ri=B(gi+B(Nf-B(Da*g))),v[t+84>>2]=Ri,w=B(Of*w),g=B(w+B(Ef-B(Xf*g))),v[t+80>>2]=g,(Da=B(B(d*d)+B(B(g*g)+B(Ri*Ri))))>B(1.1920928955078125e-7)&&(r=t+88|0,R=d,Xf=B(p(Da)),d=B(B(1)/Xf),Da=B(R*d),v[r>>2]=Da,Ri=B(Ri*d),v[t+84>>2]=Ri,g=B(g*d),v[t+80>>2]=g,B(B(B(g*Yf)+B(Ri*Zf))+B(Da*Wf))>2]=-Da,v[t+84>>2]=-Ri,v[t+80>>2]=-g),b[t+76>>2]=0,v[t+72>>2]=Y+Jf,v[t+68>>2]=_+gi,v[t+64>>2]=h+w,BA[b[b[n>>2]+16>>2]](n,t+80|0,t- -64|0,B(-Xf)))}return g=v[f>>2],d=v[f+4>>2],Y=v[f+8>>2],B(B(B(Yf*g)+B(Zf*d))+B(Wf*Y))>2]=0,v[f+8>>2]=-Y,v[f+4>>2]=-d,v[f>>2]=-g),N=t+112|0,1}return N=t+112|0,0}(b[ui+56>>2],b[g+56>>2],b[e+12>>2],b[i+12>>2],t+248|0,n))break b;break t}if(a=ui+32|0,r=b[ui+56>>2],h=v[d+784>>2],(_=Ke(t+432|0,t+8|0,v[a+(r<<2)>>2],v[a+((r+2|0)%3<<2)>>2],B(0),B(v[g+32>>2]*v[g+16>>2]),r,1,b[e+12>>2],b[i+12>>2],h))>2]+16>>2]](n,t+432|0,t+8|0,_),r=b[n+4>>2],!b[r+780>>2])break e;if((0|(e=b[r+772>>2]))==(0|(i=b[b[n+8>>2]+8>>2])))break A;break r}if(1==b[g+4>>2]){if(b[t+252>>2]=0,i=b[(w=i+12|0)>>2],D=v[i+56>>2],Ia=v[i+40>>2],wf=v[i+36>>2],Zf=v[i+32>>2],Wf=v[i+52>>2],Ff=v[i+24>>2],Jf=v[i+20>>2],Ef=v[i+16>>2],Ri=v[i+48>>2],h=v[g+68>>2],Da=v[i+8>>2],_=v[g+60>>2],Nf=v[i>>2],y=v[g- -64>>2],Vf=v[i+4>>2],i=CA(16,16),b[t+256>>2]=1,b[t+260>>2]=i,f[t+264|0]=1,v[i>>2]=Ri+B(B(B(_*Nf)+B(y*Vf))+B(h*Da)),v[i+4>>2]=Wf+B(B(B(_*Ef)+B(y*Jf))+B(h*Ff)),b[i+12>>2]=0,v[i+8>>2]=D+B(B(B(_*Zf)+B(y*wf))+B(h*Ia)),i=b[t+252>>2]+1|0,b[t+252>>2]=i,h=v[g+76>>2],d=b[w>>2],_=v[g+80>>2],y=v[g+84>>2],D=B(B(B(B(h*v[d>>2])+B(_*v[d+4>>2]))+B(y*v[d+8>>2]))+v[d+48>>2]),Ia=B(B(B(B(h*v[d+32>>2])+B(_*v[d+36>>2]))+B(y*v[d+40>>2]))+v[d+56>>2]),h=B(B(B(B(h*v[d+16>>2])+B(_*v[d+20>>2]))+B(y*v[d+24>>2]))+v[d+52>>2]),b[t+256>>2]!=(0|i))break i;if((0|i)>=(0|(E=i?i<<1:1)))break i;if(!E)break n;if(F=CA(E<<4,16),(0|(i=b[t+252>>2]))>=1)break f;break a}}if(Ue(Be,t+792|0,n,b[a+20>>2]),!(!b[r+64>>2]|b[b[n+4>>2]+780>>2]>=b[r+68>>2])&&(h=v[Be+4>>2],_=v[Be+8>>2],y=v[Be+12>>2],(D=B(B(B(h*h)+B(_*_))+B(y*y)))>B(1.1920928955078125e-7)&&(Ri=_,_=B(B(1)/D),Ia=B(Ri*_),Jf=B(h*_),Ef=B(y*_),B(m(Ef))>B(.7071067690849304)?(h=B(B(1)/B(p(B(B(Ef*Ef)+B(Ia*Ia))))),_=B(Ia*h),h=B(-B(Ef*h)),y=B(0)):(_=B(B(1)/B(p(B(B(Jf*Jf)+B(Ia*Ia))))),h=B(Jf*_),y=B(-B(Ia*_)),_=B(0)),d=t+856|0,j=t+840|0,wi=t+824|0,Xi=t+808|0,D=B(BA[b[b[ui>>2]+16>>2]](ui)),wf=B(BA[b[b[g>>2]+16>>2]](g)),Zf=v[794],(ui=D>2],b[(gi=t+256|0)>>2]=b[g>>2],b[gi+4>>2]=Y,Y=b[(g=Xi+8|0)+4>>2],b[(gi=t+272|0)>>2]=b[g>>2],b[gi+4>>2]=Y,Y=b[(g=wi+8|0)+4>>2],b[(gi=t+288|0)>>2]=b[g>>2],b[gi+4>>2]=Y,Y=b[(g=j+8|0)+4>>2],b[(gi=t+304|0)>>2]=b[g>>2],b[gi+4>>2]=Y,g=b[t+796>>2],b[t+248>>2]=b[t+792>>2],b[t+252>>2]=g,g=b[Xi+4>>2],b[t+264>>2]=b[Xi>>2],b[t+268>>2]=g,g=b[wi+4>>2],b[t+280>>2]=b[wi>>2],b[t+284>>2]=g,g=b[j+4>>2],b[t+296>>2]=b[j>>2]):(Y=b[(g=d+8|0)+4>>2],b[(gi=t+256|0)>>2]=b[g>>2],b[gi+4>>2]=Y,Y=b[(g=F+8|0)+4>>2],b[(gi=t+272|0)>>2]=b[g>>2],b[gi+4>>2]=Y,Y=b[(g=E+8|0)+4>>2],b[(gi=t+288|0)>>2]=b[g>>2],b[gi+4>>2]=Y,Y=b[(g=w+8|0)+4>>2],b[(gi=t+304|0)>>2]=b[g>>2],b[gi+4>>2]=Y,g=b[d+4>>2],b[t+248>>2]=b[d>>2],b[t+252>>2]=g,g=b[F+4>>2],b[t+264>>2]=b[F>>2],b[t+268>>2]=g,g=b[E+4>>2],b[t+280>>2]=b[E>>2],b[t+284>>2]=g,g=b[w+4>>2],b[t+296>>2]=b[w>>2]),b[t+300>>2]=g,!((0|(g=b[(cn=r- -64|0)>>2]))<1))))for(Ri=_,D=B(B(G(B(Zf/(ui?D:wf)),B(.39269909262657166)))*B(.5)),un=B(B(B(y*y)+B(h*h))+B(_*_)),_=B(ge(D)/B(p(un))),wf=B(Ri*_),Zf=B(h*_),Wf=B(y*_),Ff=_e(D),ln=B(p(B(B(Ef*Ef)+B(B(Jf*Jf)+B(Ia*Ia))))),gi=t+296|0,Hf=t+224|0,Kf=t+208|0,qf=t+280|0,$f=t+192|0,An=t+264|0,rn=t+176|0,en=t+160|0,an=t+144|0,fn=t+128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|0))==(0|G))break}(0|ui)>-1&&ze(h+16|0,e,a,d,_,t,g,m),N=h+32|0}(t+248|0,b[ui+56>>2],b[g+56>>2],b[e+12>>2],b[i+12>>2],B(h-_),_,r+12|0,r+32|0,n)}if(!C[r+52|0])break e;if(r=b[n+4>>2],!b[r+780>>2])break e;if((0|(e=b[r+772>>2]))!=(0|(i=b[b[n+8>>2]+8>>2])))break r;break A}if(F=0,(0|i)<1)break a}for(d=0,wi=t+260|0;j=b[wi>>2]+d|0,Xi=b[j+4>>2],b[(Y=d+F|0)>>2]=b[j>>2],b[Y+4>>2]=Xi,Xi=b[(j=j+8|0)+4>>2],b[(Y=Y+8|0)>>2]=b[j>>2],b[Y+4>>2]=Xi,d=d+16|0,i=i+-1|0;);}(d=b[(i=t+260|0)>>2])&&(C[t+264|0]&&gA(d),b[t+260>>2]=0),b[i>>2]=F,f[t+264|0]=1,b[t+256>>2]=E,i=b[t+252>>2]}if(i=b[t+260>>2]+(i<<4)|0,b[i+12>>2]=0,v[i+8>>2]=Ia,v[i+4>>2]=h,v[i>>2]=D,i=b[t+252>>2]+1|0,b[t+252>>2]=i,h=v[g+92>>2],d=b[w>>2],_=v[g+96>>2],y=v[g+100>>2],D=B(B(B(B(h*v[d>>2])+B(_*v[d+4>>2]))+B(y*v[d+8>>2]))+v[d+48>>2]),Ia=B(B(B(B(h*v[d+32>>2])+B(_*v[d+36>>2]))+B(y*v[d+40>>2]))+v[d+56>>2]),h=B(B(B(B(h*v[d+16>>2])+B(_*v[d+20>>2]))+B(y*v[d+24>>2]))+v[d+52>>2]),b[t+256>>2]==(0|i)&&!((0|i)>=(0|(E=i?i<<1:1)))){i:{a:{if(E){if(F=CA(E<<4,16),(0|(i=b[t+252>>2]))>=1)break a;break i}if(F=0,(0|i)<1)break i}for(d=0,j=t+260|0;w=b[j>>2]+d|0,wi=b[w+4>>2],b[(Y=Xi=d+F|0)>>2]=b[w>>2],b[Y+4>>2]=wi,wi=b[(w=w+8|0)+4>>2],b[(Xi=Y+8|0)>>2]=b[w>>2],b[Xi+4>>2]=wi,d=d+16|0,i=i+-1|0;);}(d=b[(i=t+260|0)>>2])&&(C[t+264|0]&&gA(d),b[t+260>>2]=0),b[i>>2]=F,f[t+264|0]=1,b[t+256>>2]=E,i=b[t+252>>2]}if(i=b[t+260>>2]+(i<<4)|0,b[i+12>>2]=0,v[i+8>>2]=Ia,v[i+4>>2]=h,v[i>>2]=D,b[t+252>>2]=b[t+252>>2]+1,h=v[b[r+56>>2]+784>>2],Ue(Be,t+792|0,t+344|0,b[a+20>>2]),_=v[Be+4>>2],y=v[Be+8>>2],D=v[Be+12>>2],(Ia=B(B(B(_*_)+B(y*y))+B(D*D)))>B(1.1920928955078125e-7)){if(b[t+340>>2]=0,Ri=D,D=B(B(1)/Ia),v[t+336>>2]=Ri*D,v[t+332>>2]=y*D,v[t+328>>2]=_*D,_=B(B(v[Be+56>>2]-B(BA[b[b[ui>>2]+48>>2]](ui)))-B(BA[b[b[g>>2]+48>>2]](g))),(0|(d=b[(i=r+36|0)>>2]))<=-1)for(b[r+40>>2]<=-1&&((a=b[r+44>>2])&&(C[r+48|0]&&gA(a),b[r+44>>2]=0),f[r+48|0]=1,b[(a=r+40|0)>>2]=0,b[a+4>>2]=0),Y=d<<4,a=r+44|0;g=b[t+316>>2],Be=b[a>>2]+Y|0,b[(F=Be)>>2]=b[t+312>>2],b[F+4>>2]=g,F=b[(g=t+320|0)+4>>2],b[(Be=Be+8|0)>>2]=b[g>>2],b[Be+4>>2]=F,Y=Y+16|0,d=d+1|0;);b[i>>2]=0,ze(t+328|0,b[ui+56>>2],b[e+12>>2],t+248|0,r+32|0,B(_-h),h,n)}i:{if(C[r+52|0]&&(r=b[n+4>>2],b[r+780>>2])){if((0|(e=b[r+772>>2]))!=(0|(i=b[b[n+8>>2]+8>>2]))){if(dr(r,b[b[n+12>>2]+8>>2]+4|0,i+4|0),n=b[t+260>>2])break i;break e}dr(r,e+4|0,b[b[n+12>>2]+8>>2]+4|0)}if(!(n=b[t+260>>2]))break e}C[t+264|0]&&gA(n),b[t+260>>2]=0}return void(N=t+928|0)}return dr(r,b[b[n+12>>2]+8>>2]+4|0,i+4|0),void(N=t+928|0)}dr(r,e+4|0,b[b[n+12>>2]+8>>2]+4|0),N=t+928|0},function(r,e,i,a,n){r|=0,e|=0,i|=0,a|=0,n|=0;var t,g,d,_,R,m,h,G=B(0),y=B(0),Q=0,p=0;if(N=r=N-608|0,G=B(v[e+116>>2]-v[e+52>>2]),y=B(G*G),G=B(v[e+120>>2]-v[e+56>>2]),y=B(y+B(G*G)),G=B(v[e+124>>2]-v[e+60>>2]),y=B(y+B(G*G)),G=v[e+276>>2],y>2]-v[i+52>>2]),y=B(G*G),G=B(v[i+120>>2]-v[i+56>>2]),y=B(y+B(G*G)),G=B(v[i+124>>2]-v[i+60>>2]),y=B(y+B(G*G)),G=v[i+276>>2],y>2],Q=b[i+272>>2],ZA(r+552|0),b[(a=n=r+580|0)>>2]=0,b[a+4>>2]=0,b[(g=r+576|0)>>2]=1065353216,b[(d=r+596|0)>>2]=0,b[(a=t=r+588|0)>>2]=0,b[a+4>>2]=0,b[r+568>>2]=1065353216,b[r+572>>2]=1065353216,b[r+556>>2]=8,b[r+552>>2]=9912,b[r+604>>2]=0,b[r+600>>2]=Q,b[r+584>>2]=Q,b[r+548>>2]=0,b[r+540>>2]=1566444395,b[r+544>>2]=0,b[r+376>>2]=16056,f[0|(_=r+348|0)]=0,b[r+324>>2]=953267991,a=Pe(r,p,r+552|0,r+16|0),R=e+4|0,m=e+68|0,Q=i+4|0,p=i+68|0,y=B(1),Le(a,R,m,Q,p,r+376|0)&&(G=v[r+540>>2],v[e+268>>2]>G&&(v[e+268>>2]=G),v[i+268>>2]>G&&(v[i+268>>2]=G),y=B(1),G>2],h=b[e+272>>2],ZA(r+552|0),b[n>>2]=0,b[n+4>>2]=0,b[g>>2]=1065353216,b[d>>2]=0,b[t>>2]=0,b[t+4>>2]=0,b[r+568>>2]=1065353216,b[r+572>>2]=1065353216,b[r+556>>2]=8,b[r+552>>2]=9912,b[r+604>>2]=0,b[r+600>>2]=h,b[r+584>>2]=h,b[r+548>>2]=0,b[r+540>>2]=1566444395,b[r+544>>2]=0,b[r+376>>2]=16056,f[0|_]=0,b[r+324>>2]=953267991;A:if(Le(Pe(r,r+552|0,a,r+16|0),R,m,Q,p,r+376|0)){r:{e:{y=v[r+540>>2];i:{if(!(v[e+268>>2]>y)){if(v[i+268>>2]>y)break i;break e}if(v[e+268>>2]=y,!(v[i+268>>2]>y))break e}if(v[i+268>>2]=y,G>y)break r;break A}if(!(G>y))break A}G=y}return N=r+608|0,B(G)},function(r,e){e|=0;var i=0,a=0,n=0,t=0,g=0,d=0;if(!(!(a=b[(r|=0)+56>>2])|!C[r+52|0])){if((0|(i=b[e+4>>2]))==b[e+8>>2]&&!((0|i)>=(0|(t=i?i<<1:1)))){A:{r:{if(t){if(g=CA(t<<2,16),(0|(i=b[e+4>>2]))>=1)break r;break A}if((0|i)<1)break A}for(a=0,d=e+12|0,n=i;b[a+g>>2]=b[b[d>>2]+a>>2],a=a+4|0,n=n+-1|0;);}(n=b[e+12>>2])&&(C[e+16|0]&&(gA(n),i=b[e+4>>2]),b[e+12>>2]=0),b[e+12>>2]=g,f[e+16|0]=1,b[e+8>>2]=t,a=b[r+56>>2]}b[e+4>>2]=i+1,b[b[e+12>>2]+(i<<2)>>2]=a}},Cr,Yr,Yr,qe,Cr,Yr,Yr,function(r,e,i,a){r|=0,e|=0,i|=0,a=B(a);var n,t,C,g=0,d=B(0),_=B(0),R=B(0),m=B(0),h=B(0),G=B(0),y=B(0);N=n=N-16|0,v[r+32>>2]=a,C=b[(t=e+8|0)+4>>2],b[(g=r+16|0)>>2]=b[t>>2],b[g+4>>2]=C,g=b[e+4>>2],b[r+8>>2]=b[e>>2],b[r+12>>2]=g,_=v[t>>2],R=v[i>>2],m=v[e>>2],h=v[i+4>>2],G=v[e+4>>2],y=v[i+8>>2],d=v[r+28>>2],a=B(B(d+v[r+24>>2])+a),v[r+32>>2]=a,b[n+12>>2]=0,v[n+8>>2]=y-B(d*_),v[n+4>>2]=h-B(d*G),v[n>>2]=R-B(m*d),a>2],BA[b[b[r>>2]+16>>2]](r,e,n,a),N=n+16|0},Cr,function(r,e,i,a){r|=0,e|=0,i|=0,a=B(a);var f,n=B(0),t=B(0),g=B(0),d=B(0),_=B(0),R=B(0),m=B(0),h=B(0),G=B(0),y=B(0),Q=B(0),p=B(0),D=B(0),w=B(0),Z=B(0),Y=B(0),W=B(0),F=B(0),E=B(0),j=B(0),Be=B(0),ui=B(0),gi=B(0),Ri=B(0),wi=B(0),Xi=B(0),Da=B(0),Ia=B(0),yf=B(0),Qf=B(0),pf=B(0);N=f=N-16|0,gi=v[e+8>>2],Be=v[i+8>>2],m=B(B(gi*a)+Be),Ri=v[e+4>>2],ui=v[i+4>>2],wi=B(B(Ri*a)+ui),Xi=v[e>>2],n=B(Xi*a),a=v[i>>2],Da=B(n+a),C[r+232|0]?(Q=v[r+40>>2],h=B(-v[r+88>>2]),p=v[r+56>>2],R=v[r+92>>2],_=v[r+72>>2],n=v[r+96>>2],Y=B(B(B(Q*h)-B(p*R))-B(_*n)),t=v[r+200>>2],D=v[r+44>>2],w=v[r+60>>2],G=v[r+76>>2],E=B(B(B(D*h)-B(w*R))-B(G*n)),g=v[r+204>>2],Z=v[r+48>>2],d=B(Z*h),h=v[r- -64>>2],d=B(d-B(h*R)),R=v[r+80>>2],W=B(d-B(R*n)),n=v[r+208>>2],d=B(B(B(B(B(Y*t)+B(E*g))+B(W*n))+v[r+224>>2])+B(B(m*B(B(B(_*t)+B(G*g))+B(R*n)))+B(B(Da*B(B(B(Q*t)+B(D*g))+B(Z*n)))+B(wi*B(B(B(p*t)+B(w*g))+B(h*n)))))),t=v[r+168>>2],g=v[r+172>>2],n=v[r+176>>2],t=B(B(B(m*B(B(B(_*t)+B(G*g))+B(R*n)))+B(B(Da*B(B(B(Q*t)+B(D*g))+B(Z*n)))+B(wi*B(B(B(p*t)+B(w*g))+B(h*n)))))+B(B(B(B(t*Y)+B(E*g))+B(W*n))+v[r+216>>2])),g=B(Xi*B(t-a)),n=m,a=v[r+184>>2],m=v[r+188>>2],G=B(B(_*a)+B(G*m)),_=v[r+192>>2],m=B(B(B(n*B(G+B(R*_)))+B(B(Da*B(B(B(Q*a)+B(D*m))+B(Z*_)))+B(wi*B(B(B(p*a)+B(w*m))+B(h*_)))))+B(B(B(B(Y*a)+B(E*m))+B(W*_))+v[r+220>>2])),a=B(B(g+B(Ri*B(m-ui)))+B(gi*B(d-Be))),v[f+8>>2]=d+B(gi*a),v[f+4>>2]=m+B(Ri*a),v[f>>2]=t+B(Xi*a)):(Qf=v[r+224>>2],Q=v[r+208>>2],p=v[r+200>>2],_=v[r+204>>2],pf=v[r+216>>2],t=v[r+176>>2],D=v[r+168>>2],w=v[r+172>>2],G=v[r+104>>2],d=B(-v[r+152>>2]),g=v[r+120>>2],F=v[r+156>>2],Z=v[r+136>>2],j=v[r+160>>2],h=B(B(B(G*d)-B(g*F))-B(Z*j)),R=v[r+108>>2],n=v[r+124>>2],Y=v[r+140>>2],E=B(B(B(R*d)-B(n*F))-B(Y*j)),W=v[r+112>>2],y=B(W*d),d=v[r+128>>2],y=B(y-B(d*F)),F=v[r+144>>2],j=B(y-B(F*j)),y=v[r+184>>2],Ia=v[r+188>>2],yf=v[r+192>>2],y=B(B(B(Be*B(B(B(Z*y)+B(Y*Ia))+B(F*yf)))+B(B(a*B(B(B(G*y)+B(R*Ia))+B(W*yf)))+B(ui*B(B(B(g*y)+B(n*Ia))+B(d*yf)))))+B(B(B(B(h*y)+B(E*Ia))+B(j*yf))+v[r+220>>2])),v[f+4>>2]=y,t=B(B(B(Be*B(B(B(Z*D)+B(Y*w))+B(F*t)))+B(B(a*B(B(B(G*D)+B(R*w))+B(W*t)))+B(ui*B(B(B(g*D)+B(n*w))+B(d*t)))))+B(pf+B(B(B(D*h)+B(E*w))+B(j*t)))),v[f>>2]=t,a=B(B(Qf+B(B(B(h*p)+B(E*_))+B(j*Q)))+B(B(Be*B(B(B(Z*p)+B(Y*_))+B(F*Q)))+B(B(a*B(B(B(G*p)+B(R*_))+B(W*Q)))+B(ui*B(B(B(g*p)+B(n*_))+B(d*Q)))))),v[f+8>>2]=a,a=B(B(B(Xi*B(Da-t))+B(Ri*B(wi-y)))+B(gi*B(m-a)))),b[f+12>>2]=0,r=b[r+36>>2],BA[b[b[r>>2]+16>>2]](r,e,f,a),N=f+16|0},WA,he,Yr,sA,Cr,Ae,function(){},Cr,ei,function(r){var e,i,a=0;return b[(r|=0)+8>>2]=16212,b[r>>2]=16184,e=b[(a=r+56|0)>>2],i=r+72|0,BA[b[b[e>>2]+20>>2]](e,b[i>>2]),a=b[a>>2],BA[b[b[a>>2]+16>>2]](a,b[i>>2]),0|r},function(r){var e,i,a=0;b[(r|=0)+8>>2]=16212,b[r>>2]=16184,e=b[(a=r+56|0)>>2],i=r+72|0,BA[b[b[e>>2]+20>>2]](e,b[i>>2]),a=b[a>>2],BA[b[b[a>>2]+16>>2]](a,b[i>>2]),gA(r)},function(r,e,i,a,f){r|=0,e|=0,i|=0,a|=0,f|=0;var n,t,g,d=0,_=B(0);N=t=N-16|0,$e(t+8|0,16266),d=C[r+76|0],n=b[(g=d?e:i)+4>>2],b[n+4>>2]+-21>>>0>8||(b[b[(e=d?i:e)+4>>2]+4>>2]>19||(_=B(BA[b[b[n>>2]+48>>2]](n)),i=r+72|0,b[f+4>>2]=b[i>>2],function(r,e,i,a,f,n){var t,C=B(0),g=B(0),d=B(0),_=B(0),R=B(0),m=B(0),h=B(0),G=B(0),y=B(0),Q=B(0),p=B(0),D=B(0),w=B(0),Z=B(0),Y=B(0),W=B(0),F=B(0),E=B(0),j=B(0),Be=B(0),ui=B(0),gi=B(0),Ri=B(0),wi=B(0);N=t=N+-64|0,v[r+56>>2]=e,b[r+52>>2]=i,b[r+40>>2]=f,b[r+36>>2]=a,b[r+44>>2]=n,i=b[f+12>>2],p=v[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[r>>2]-e,N=t- -64|0}(d=r+8|0,_,a,e,g,f),i=b[i>>2],b[i+776>>2]=b[g+8>>2],b[i+772>>2]=b[e+8>>2],BA[b[b[n>>2]+64>>2]](n,d,r+12|0,r+28|0),e=b[f+4>>2],b[e+780>>2]&&((0|(i=b[e+772>>2]))==(0|(a=b[b[f+8>>2]+8>>2]))?dr(e,i+4|0,b[b[f+12>>2]+8>>2]+4|0):dr(e,b[b[f+12>>2]+8>>2]+4|0,a+4|0)),b[(r=r+44|0)>>2]=0,b[r+4>>2]=0)),Ai(),N=t+16|0},function(r,e,i,a,f){r|=0,e|=0,i|=0,a|=0,f|=0;var n=B(0),t=B(0),g=B(0),d=B(0),_=B(0),R=B(0),m=B(0),h=B(0),G=B(0),y=B(0),Q=B(0),p=B(0),D=B(0),w=B(0),Z=B(0),Y=B(0),W=B(0),F=B(0),E=B(0),j=B(0),Be=B(0),ui=B(0),gi=B(0),Ri=B(0),wi=B(0),Xi=B(0),Da=B(0),Ia=B(0),yf=B(0),Qf=B(0),pf=B(0),Df=B(0),wf=B(0),Zf=B(0),Yf=B(0),Wf=B(0),Ff=B(0),Ef=B(0),Nf=B(0),Vf=B(0),Xf=0,Jf=0,If=0,xf=0,Mf=0,Sf=0,Tf=B(0);N=a=N-240|0,g=B(1);A:{if(Jf=(r=(f=C[r+76|0])?i:e)+52|0,t=B(v[(Xf=r+116|0)>>2]-v[Jf>>2]),n=B(t*t),xf=r+56|0,t=B(v[(If=r+120|0)>>2]-v[xf>>2]),n=B(n+B(t*t)),Sf=r+60|0,t=B(v[(Mf=r+124|0)>>2]-v[Sf>>2]),n=B(n+B(t*t)),t=v[r+276>>2],!(n>2],b[i+4>>2]+-21>>>0>8))){if(G=v[e+12>>2],F=v[Xf>>2],y=v[e+28>>2],n=v[If>>2],Q=v[e+44>>2],E=v[Mf>>2],Tf=B(B(B(G*F)+B(y*n))+B(Q*E)),p=v[e+8>>2],d=B(-v[e+52>>2]),D=v[e+24>>2],j=v[e+56>>2],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<1)break A}for(a=0,d=e+12|0,n=i;b[a+g>>2]=b[b[d>>2]+a>>2],a=a+4|0,n=n+-1|0;);}(n=b[e+12>>2])&&(C[e+16|0]&&(gA(n),i=b[e+4>>2]),b[e+12>>2]=0),b[e+12>>2]=g,f[e+16|0]=1,b[e+8>>2]=t,a=b[r+72>>2]}b[e+4>>2]=i+1,b[b[e+12>>2]+(i<<2)>>2]=a}},function(r){var e=0;return b[(r|=0)>>2]=16212,e=b[r+48>>2],BA[b[b[e>>2]+20>>2]](e,b[r+64>>2]),e=b[r+48>>2],BA[b[b[e>>2]+16>>2]](e,b[r+64>>2]),0|r},function(r){var e=0;b[(r|=0)>>2]=16212,e=b[r+48>>2],BA[b[b[e>>2]+20>>2]](e,b[r+64>>2]),e=b[r+48>>2],BA[b[b[e>>2]+16>>2]](e,b[r+64>>2]),gA(r)},function(r,e,i,a){r|=0,e|=0,i|=0,a|=0;var f,n=0,t=0,C=B(0),g=0,d=B(0),_=B(0),R=B(0),m=0,h=0;N=f=N-144|0,$e(f+136|0,16224),((R=(C=v[e>>2])<(d=v[e+16>>2])?C:d)<(_=v[e+32>>2])?R:_)>v[r+20>>2]||(v[(v[e+(n=(C>d^1)<<4)>>2]>_?n:32)+e>>2]>2]||(((R=(C=v[e+8>>2])<(d=v[(n=e+24|0)>>2])?C:d)<(_=v[(g=e+40|0)>>2])?R:_)>v[r+28>>2]||(v[(v[(n=C>d?e+8|0:n)>>2]>_?n:g)>>2]>2]||(((R=(C=v[e+4>>2])<(d=v[(n=e+20|0)>>2])?C:d)<(_=v[(g=e+36|0)>>2])?R:_)>v[r+24>>2]||(n=C>d?e+4|0:n,b[b[b[r+36>>2]+4>>2]+4>>2]>19|v[(v[n>>2]>_?n:g)>>2]>2]||(g=b[r+48>>2],h=LA(f+24|0),m=b[(t=e+8|0)+4>>2],b[(n=f+92|0)>>2]=b[t>>2],b[n+4>>2]=m,t=b[e+20>>2],b[(n=f+100|0)>>2]=b[e+16>>2],b[n+4>>2]=t,m=b[(t=e+24|0)+4>>2],b[(n=f+108|0)>>2]=b[t>>2],b[n+4>>2]=m,t=b[e+36>>2],b[(n=f+116|0)>>2]=b[e+32>>2],b[n+4>>2]=t,m=b[(t=e+40|0)+4>>2],b[(n=f+124|0)>>2]=b[t>>2],b[n+4>>2]=m,b[f+24>>2]=16416,n=b[e+4>>2],b[f+84>>2]=b[e>>2],b[f+88>>2]=n,b[f+72>>2]=b[r+56>>2],b[f+28>>2]=1,b[f+20>>2]=a,b[f+16>>2]=i,e=b[r+40>>2],b[f>>2]=e,n=b[e+8>>2],b[f+12>>2]=b[e+12>>2],b[f+8>>2]=n,C=v[b[r+44>>2]+32>>2],e=b[r+36>>2],b[f+4>>2]=f+24,e=C>B(0)?0|BA[b[b[g>>2]+8>>2]](g,e,f,0,2):0|BA[b[b[g>>2]+8>>2]](g,e,f,b[r+64>>2],1),n=b[r+44>>2],t=b[n+8>>2],b[t+8>>2]==b[b[r+40>>2]+8>>2]?(b[n+8>>2]=f,BA[b[b[n>>2]+8>>2]](n,i,a)):(t=b[n+12>>2],b[n+12>>2]=f,BA[b[b[n>>2]+12>>2]](n,i,a)),i=r+44|0,BA[b[b[e>>2]+8>>2]](e,b[r+36>>2],f,b[r+52>>2],b[i>>2]),i=b[i>>2],b[(b[b[i+8>>2]+8>>2]==b[b[r+40>>2]+8>>2]?8:12)+i>>2]=t,BA[b[b[e>>2]>>2]](e),BA[b[b[g>>2]+60>>2]](g,e),er(h))))))),Ai(),N=f+144|0},cr,rr,Cr,function(r,e,i,a){r|=0,e|=0,i|=0,a|=0;var n=0,t=0,C=0,g=B(0);N=i=N-800|0,$e(i+792|0,16736),b[(a=i+740|0)>>2]=0,b[a+4>>2]=0,b[i+748>>2]=1065353216,b[(a=i+752|0)>>2]=0,b[a+4>>2]=0,b[i+768>>2]=1065353216,b[i+788>>2]=0,b[(a=i+780|0)>>2]=0,b[a+4>>2]=0,b[(a=i+772|0)>>2]=0,b[a+4>>2]=0,b[i+732>>2]=0,b[i+736>>2]=0,b[i+728>>2]=1065353216,b[i+760>>2]=0,b[i+764>>2]=0,b[i+720>>2]=0,b[i+724>>2]=0,b[i+552>>2]=16056,b[i+716>>2]=b[r+200>>2],a=b[r+196>>2],ZA(i+496|0),b[(n=i+524|0)>>2]=0,b[n+4>>2]=0,b[i+520>>2]=1065353216,b[i+540>>2]=0,b[(n=i+532|0)>>2]=0,b[n+4>>2]=0,b[i+512>>2]=1065353216,b[i+516>>2]=1065353216,b[i+496>>2]=9912,b[i+548>>2]=0,b[i+544>>2]=a,b[i+528>>2]=a,b[i+500>>2]=8,a=LA(i+384|0),t=b[(n=e+8|0)+4>>2],b[(C=i+452|0)>>2]=b[n>>2],b[C+4>>2]=t,n=b[e+20>>2],b[(t=i+460|0)>>2]=b[e+16>>2],b[t+4>>2]=n,t=b[(n=e+24|0)+4>>2],b[(C=i+468|0)>>2]=b[n>>2],b[C+4>>2]=t,n=b[e+36>>2],b[(t=i+476|0)>>2]=b[e+32>>2],b[t+4>>2]=n,t=b[(n=e+40|0)+4>>2],b[(C=i+484|0)>>2]=b[n>>2],b[C+4>>2]=t,b[i+388>>2]=1,b[i+384>>2]=16416,n=b[e+4>>2],b[i+444>>2]=b[e>>2],b[i+448>>2]=n,f[i+356|0]=0,b[i+332>>2]=953267991,ei(ri(i+8|0,i+496|0,i+384|0,i+24|0),r+4|0,r+68|0,i+728|0,i+728|0,i+552|0)&&(r=r+200|0,g=v[i+716>>2],v[r>>2]>g&&(v[r>>2]=g)),er(a),Ai(),N=i+800|0},ni,function(r){rA(ni(r|=0))},ti,function(r,e,i,a,f){r|=0,e|=0,i|=0,a|=0,f|=0;var n=0,t=B(0),g=B(0),d=B(0),_=B(0),R=B(0),m=B(0),h=B(0),G=B(0),y=B(0),Q=B(0),p=0,D=B(0),w=0,Z=0,Y=0,W=0,F=0,E=0,N=0,j=0,Be=0,ui=0,gi=0,Ri=0,wi=0,Xi=0,Da=0,Ia=0,yf=B(0),Qf=B(0),pf=B(0),Df=B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2]=0,0|r},function(r){var e=0,i=0;b[(r|=0)>>2]=16908,(i=b[(e=r+56|0)>>2])&&(C[r+60|0]&&gA(i),b[r+56>>2]=0),b[e>>2]=0,f[r+60|0]=1,b[(e=r+48|0)>>2]=0,b[e+4>>2]=0,(i=b[(e=r+36|0)>>2])&&(C[r+40|0]&&gA(i),b[r+36>>2]=0),b[e>>2]=0,f[r+40|0]=1,b[(e=r+28|0)>>2]=0,b[e+4>>2]=0,!(e=b[r+16>>2])|!C[r+20|0]||gA(e),rA(r)},function(r,e,i){r|=0,e|=0,i|=0;var a=0,f=0,n=0,t=0,C=0,g=0,d=0,v=0;b[694]=b[694]+1,g=b[r+36>>2],a=R((a=((a=i<<16|e)<<15^-1)+a|0)>>>10^a,9),a=((a^=a>>>6)<<11^-1)+a|0,d=g+((b[r+12>>2]+-1&(a>>>16^a))<<2)|0;A:if(-1!=(0|(a=b[d>>2]))){for(t=b[r+16>>2],n=r+56|0,f=a;;){if(C=t+R(f,12)|0,b[C+4>>2]!=(0|i)||(0|e)!=b[C>>2]){if(-1!=(0|(f=b[b[n>>2]+(f<<2)>>2])))continue;break A}break}if(C){n=b[r+56>>2],e=R(f,12),v=b[8+(e+t|0)>>2];r:{if((0|a)!=(0|(f=(0|e)/12|0))){for(;(0|f)!=(0|(a=b[n+((e=a)<<2)>>2])););if(a=b[n+(f<<2)>>2],-1!=(0|e)){b[n+(e<<2)>>2]=a;break r}}else a=b[n+(f<<2)>>2];b[d>>2]=a}if((0|f)==(0|(a=b[(e=r+8|0)>>2]+-1|0)))return b[e>>2]=f,0|v;r:{if(t=t+R(a,12)|0,e=b[t+4>>2]<<16|b[t>>2],e=R((e=(e<<15^-1)+e|0)>>>10^e,9),e=((e^=e>>>6)<<11^-1)+e|0,d=b[r+12>>2]+-1&(e>>>16^e),(0|(e=b[(g=g+(d<<2)|0)>>2]))!=(0|a)){for(;i=e,(0|a)!=(0|(e=b[n+(e<<2)>>2])););if(e=b[n+(a<<2)>>2],-1!=(0|i)){b[n+(i<<2)>>2]=e;break r}}else e=b[n+(a<<2)>>2];b[g>>2]=e}e=b[t+4>>2],b[C>>2]=b[t>>2],b[C+4>>2]=e,b[C+8>>2]=b[t+8>>2],e=b[r+36>>2]+(d<<2)|0,b[b[r+56>>2]+(f<<2)>>2]=b[e>>2],b[e>>2]=f,b[(r=r+8|0)>>2]=b[r>>2]+-1}}return 0|v},function(r,e,i){return r|=0,e|=0,i|=0,b[695]=b[695]+1,0|function(r,e,i){var a=0,n=0,t=0,g=0,d=0,v=0,_=0,B=0,m=0,h=0,G=0,y=0;A:if(a=i<<16|e,a=(a<<15^-1)+a|0,a=R(a>>>10^a,9),a^=a>>>6,a=(a<<11^-1)+a|0,y=a>>>16^a,a=b[r+12>>2],B=y&a+-1,n=b[b[r+36>>2]+(B<<2)>>2],-1!=(0|n)){for(m=b[r+16>>2],t=r+56|0;;){if(g=m+R(n,12)|0,b[g+4>>2]!=(0|i)||(0|e)!=b[g>>2]){if(-1!=(0|(n=b[b[t>>2]+(n<<2)>>2])))continue;break A}break}if(g)return g}A:{r:{e:{i:{if((0|a)==(0|(n=d=b[(t=r+8|0)>>2]))){if(!(g=(0|a)>=(0|(_=a?a<<1:1)))){if(!_)break i;if(v=CA(R(_,12),16),(0|(a=b[r+8>>2]))>=1)break e;break r}n=a}b[t>>2]=n+1,n=(v=b[r+16>>2])+R(d,12)|0;break A}if((0|a)<1)break r}for(n=0,m=r+16|0;h=b[m>>2]+n|0,t=b[h+4>>2],b[(G=n+v|0)>>2]=b[h>>2],b[G+4>>2]=t,b[G+8>>2]=b[h+8>>2],n=n+12|0,a=a+-1|0;);}(a=b[(n=r+16|0)>>2])&&(C[r+20|0]&&gA(a),b[r+16>>2]=0),b[n>>2]=v,f[r+20|0]=1,b[(t=r+12|0)>>2]=_,b[(a=r+8|0)>>2]=b[a>>2]+1,n=R(d,12)+v|0,g||(oi(r),B=b[t>>2]+-1&y)}return b[n>>2]=e,e=R(d,12)+v|0,b[e+8>>2]=0,b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){if(d=8,_=b[r+84>>2],(0|(G=b[_+8>>2]))>=1){for(_=_+16|0,Q=r+4|0;(g=b[b[_>>2]+d>>2])&&(BA[b[b[g>>2]>>2]](g),W=b[Q>>2],BA[b[b[W>>2]+60>>2]](W,g)),d=d+12|0,G=G+-1|0;);_=b[r+84>>2]}ki(_),b[r+108>>2]=b[en+72>>2],b[r+112>>2]=b[an+72>>2]}if(b[t+84>>2]=0,f[t+88|0]=1,b[t+76>>2]=0,b[t+80>>2]=0,ur(t+112|0),ur(t+916|0),ur(t+1720|0),ur(t+2524|0),(g=b[t+84>>2])&&(C[t+88|0]&&gA(g),b[t+84>>2]=0),f[0|(tn=t+88|0)]=0,b[t+76>>2]=0,b[t+80>>2]=4,b[(Tf=t+84|0)>>2]=t+112,g=b[r+84>>2],(0|(bn=b[(dn=g+8|0)>>2]))<=0)break e;qn=g+16|0,Uf=1,Xi=4,$n=n+8|0,vn=-1,At=2;break r}return ti(r,e,i,a,n),void(N=t+3328|0)}if(on=t+112|0,d=1,!C[t+88|0])break A;d=0;break A}d=2}for(;;){A:{r:{e:{i:{a:{f:{n:{t:{b:{o:{k:{c:{u:{l:{s:{C:{g:{d:{v:{_:{switch(0|d){case 0:gA(on),d=1;continue;case 1:b[t+84>>2]=0;break _}R:switch(0|j){case 1:break v;case 0:break R;default:break g}if(g=b[8+(b[qn>>2]+R(kn,12)|0)>>2]){if(BA[b[b[g>>2]+16>>2]](g,t+72|0),(0|(_=b[t+76>>2]))>=(0|Uf))for(d=0,G=0;g=b[b[Tf>>2]+d>>2],b[g+780>>2]&&(b[(_=n+Xi|0)>>2]=g,(0|(Q=b[g+772>>2]))==(0|(W=b[b[$n>>2]+8>>2]))?dr(g,Q+Xi|0,b[b[n+12>>2]+8>>2]+Xi|0):dr(g,b[b[n+12>>2]+8>>2]+Xi|0,W+Xi|0),b[_>>2]=0,_=b[t+76>>2]),d=d+Xi|0,(0|(G=G+Uf|0))<(0|_););if((0|_)<=(0|vn))for(b[(g=t+80|0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2]<=B(Ef+B(y+p))^Vf||v[W+Yn>>2]>=B(B(p-y)-Ef)^Vf))){if(wi=G,G)break l}else{_:{R:{B:{m:{h:{G:{y:{Q:{if((0|G)>(0|wn)){if((0|F)>=(0|(_=F<=(0|_))break Q;if(!F)break y;if(g=d=CA(F<>2],b[g>>2]=b[j>>2],b[g+4>>2]=Hf,g=g+un|0,j=j+un|0,F=F+Zn|0;);if(gi&Wn)break h;break m}_=F,d=h,g=gi;break _}d=h,g=gi;break R}g=0}if(d=g,F=g=1,!h)break B;if(Hf=_,!(gi&Wn))break R}gA(h)}F=1}g=F,Hf=_}wn=_+st|0}h=b[(gi=Q+En|0)>>2];_:{R:{B:{if(b[(F=W+En|0)>>2]){if(G=b[W+36>>2],!h)break B;if(b[(h=d+Xf|0)+4>>2]=b[Q+36>>2],b[h>>2]=G,G=b[F>>2],b[(h=(wi<>2]=b[Q+36>>2],b[h>>2]=G,G=b[W+Ct>>2],b[h+gt>>2]=b[gi>>2],b[h+un>>2]=G,F=b[F>>2],b[h+cn>>2]=b[gi>>2],b[h+Fn>>2]=F,F=_,h=d,gi=g,wi=wi+Of|0)break k;break v}if(!h)break _;b[(h=d+Xf|0)+4>>2]=b[Q+36>>2],b[h>>2]=W,b[(h=(wi<>2]=b[gi>>2],b[h>>2]=W;break R}b[(h=d+Xf|0)+4>>2]=Q,b[h>>2]=G,h=b[F>>2],b[(gi=(wi<>2]=Q,b[gi>>2]=h}if(F=_,h=d,gi=g,wi=wi+Vf|0)break c;break v}if(BA[b[b[t+72>>2]+8>>2]](t+72|0,W,Q),F=_,h=d,gi=g,wi=G,G)break u}!h|!(255&gi)||gA(h)}if(xf=8,Jf=1,g=b[_n>>2],b[(Nn=g+8|0)>>2]<1)break C;Mf=12,Vn=16,ln=g+16|0,Xn=80,sn=28,zf=56,Pf=52,Lf=36,Kf=20,qf=40,$f=24,dt=172,vt=156,Jn=32,_t=160,Rt=r+4|0,In=r+96|0,An=r+92|0,rn=r+100|0,Bt=-1,xn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2]](n,b[g+-4>>2],b[g>>2]),Xi=Xi+12|0,(0|(d=d+1|0))>2];);return(i=b[(e=r+100|0)>>2])&&(C[r+104|0]&&gA(i),b[r+100>>2]=0),b[e>>2]=0,f[r+104|0]=1,b[(r=r+92|0)>>2]=0,b[r+4>>2]=0,void(N=t+3328|0)}j=0;break t}j=1;break f}j=1;break a}j=1;break i}j=1;break e}j=2;break A}d=1;continue}d=2;continue}d=2;continue}d=2;continue}d=2;continue}d=2;continue}d=2;continue}d=2;continue}d=2}},function(r,e,i,a,f){return B(B(0))},function(r,e){e|=0;var i,a=0,f=0,n=0,t=0;if(f=8,a=b[(r|=0)+84>>2],(0|(r=b[(i=a+8|0)>>2]))>=1)for(t=a+16|0;(a=b[b[t>>2]+f>>2])&&(BA[b[b[a>>2]+16>>2]](a,e),r=b[i>>2]),f=f+12|0,(0|(n=n+1|0))<(0|r););},Cr,function(r,e,i){r|=0,e|=0,i|=0;var a,f,n,t,C=B(0),g=B(0),d=B(0),_=B(0),m=B(0),h=B(0),G=0,y=B(0),Q=B(0),p=B(0),D=B(0),w=B(0),Z=B(0),Y=B(0),W=B(0),F=B(0),E=B(0),j=B(0),Be=B(0),ui=B(0),gi=B(0),Ri=0,wi=0,Xi=0,Da=B(0),Ia=B(0),yf=0,Qf=0;N=a=N-256|0,$e(a+248|0,17128),b[r+4>>2]=b[r+4>>2]+1,f=b[i+36>>2],wi=R(f,80),Xi=b[r+12>>2],t=b[Xi+4>>2]+28|0,G=b[64+(wi+b[t>>2]|0)>>2],i=b[r+8>>2],n=b[e+36>>2],e=b[b[i+4>>2]+28>>2]+R(n,80)|0,Ri=b[e+64>>2],i=b[i+12>>2],w=v[i+52>>2],h=v[i+56>>2],_=v[i+24>>2],m=v[i+20>>2],C=v[i+40>>2],g=v[i+36>>2],Da=v[i+48>>2],y=v[i+8>>2],Q=v[i>>2],p=v[i+4>>2],D=v[i+16>>2],d=v[i+32>>2],i=0,b[a+244>>2]=0,b[a+228>>2]=0,b[a+212>>2]=0,Z=v[e+8>>2],Y=v[e+24>>2],W=v[e+40>>2],v[a+224>>2]=B(B(d*Z)+B(g*Y))+B(C*W),F=v[e+4>>2],E=v[e+20>>2],j=v[e+36>>2],v[a+220>>2]=B(B(d*F)+B(g*E))+B(C*j),v[a+208>>2]=B(B(D*Z)+B(m*Y))+B(_*W),v[a+204>>2]=B(B(D*F)+B(m*E))+B(_*j),Be=h,h=v[e+48>>2],ui=v[e+52>>2],gi=v[e+56>>2],v[a+240>>2]=Be+B(B(B(d*h)+B(g*ui))+B(C*gi)),v[a+236>>2]=w+B(B(B(D*h)+B(m*ui))+B(_*gi)),b[a+196>>2]=0,Be=d,d=v[e>>2],w=g,g=v[e+16>>2],Ia=C,C=v[e+32>>2],v[a+216>>2]=B(B(Be*d)+B(w*g))+B(Ia*C),v[a+200>>2]=B(B(D*d)+B(m*g))+B(_*C),v[a+192>>2]=B(B(Q*Z)+B(p*Y))+B(y*W),v[a+188>>2]=B(B(Q*F)+B(p*E))+B(y*j),v[a+184>>2]=B(B(Q*d)+B(p*g))+B(y*C),v[a+232>>2]=Da+B(B(B(Q*h)+B(p*ui))+B(y*gi)),e=b[Xi+12>>2],w=v[e+52>>2],h=v[e+56>>2],_=v[e+24>>2],m=v[e+20>>2],C=v[e+40>>2],g=v[e+36>>2],Xi=b[t>>2],Da=v[e+48>>2],y=v[e+8>>2],Q=v[e>>2],p=v[e+4>>2],D=v[e+16>>2],d=v[e+32>>2],b[a+180>>2]=0,b[a+164>>2]=0,b[a+148>>2]=0,Z=v[(e=wi+Xi|0)+8>>2],Y=v[e+24>>2],W=v[e+40>>2],v[a+160>>2]=B(B(d*Z)+B(g*Y))+B(C*W),F=v[e+4>>2],E=v[e+20>>2],j=v[e+36>>2],v[a+156>>2]=B(B(d*F)+B(g*E))+B(C*j),v[a+144>>2]=B(B(D*Z)+B(m*Y))+B(_*W),v[a+140>>2]=B(B(D*F)+B(m*E))+B(_*j),Be=h,h=v[e+48>>2],ui=v[e+52>>2],gi=v[e+56>>2],v[a+176>>2]=Be+B(B(B(d*h)+B(g*ui))+B(C*gi)),v[a+172>>2]=w+B(B(B(D*h)+B(m*ui))+B(_*gi)),b[a+132>>2]=0,Be=d,d=v[e>>2],w=g,g=v[e+16>>2],Ia=C,C=v[e+32>>2],v[a+152>>2]=B(B(Be*d)+B(w*g))+B(Ia*C),v[a+136>>2]=B(B(D*d)+B(m*g))+B(_*C),v[a+128>>2]=B(B(Q*Z)+B(p*Y))+B(y*W),v[a+124>>2]=B(B(Q*F)+B(p*E))+B(y*j),v[a+120>>2]=B(B(Q*d)+B(p*g))+B(y*C),v[a+168>>2]=Da+B(B(B(Q*h)+B(p*ui))+B(y*gi)),BA[b[b[Ri>>2]+8>>2]](Ri,a+184|0,a+104|0,a+88|0),BA[b[b[G>>2]+8>>2]](G,a+120|0,a+72|0,a+56|0),_=v[b[r+24>>2]+32>>2],m=B(v[a+104>>2]-_),v[a+104>>2]=m,v[a+108>>2]=v[a+108>>2]-_,v[a+112>>2]=v[a+112>>2]-_,v[a+88>>2]=_+v[a+88>>2],v[a+92>>2]=_+v[a+92>>2],v[a+96>>2]=_+v[a+96>>2];A:{if(e=b[697]){if(!BA[e](Ri,G))break A;m=v[a+104>>2]}m>v[a+56>>2]|v[a+88>>2]>2]||(i=1),e=0,e=v[a+96>>2]>2]|v[a+112>>2]>v[a+64>>2]?e:i,v[a+92>>2]>2]|v[a+108>>2]>v[a+60>>2]|1^e||(b[a+48>>2]=-1,b[a+36>>2]=Ri,e=b[r+8>>2],b[a+32>>2]=e,b[a+40>>2]=b[e+8>>2],b[a+44>>2]=a+184,b[a+52>>2]=n,b[a+24>>2]=-1,b[a+12>>2]=G,e=b[r+12>>2],b[a+8>>2]=e,b[a+16>>2]=b[e+8>>2],b[a+20>>2]=a+120,b[a+28>>2]=f,e=function(r,e,i){var a=0,f=0,n=0;b[696]=b[696]+1,a=R((a=((a=i<<16|e)<<15^-1)+a|0)>>>10^a,9),a=((a^=a>>>6)<<11^-1)+a|0;r:{if(!((0|(a=b[r+12>>2]+-1&(a>>>16^a)))>=b[r+28>>2])&&-1!=(0|(a=b[b[r+36>>2]+(a<<2)>>2])))for(f=b[r+16>>2],n=r+56|0;;){if(r=R(a,12)+f|0,b[r+4>>2]==(0|i)&&(0|e)==b[r>>2])break r;if(-1==(0|(a=b[b[n>>2]+(a<<2)>>2])))break}r=0}return r}(b[r+28>>2],n,f),v[b[r+24>>2]+32>>2]>B(0)?(e=b[r+16>>2],e=0|BA[b[b[e>>2]+8>>2]](e,a+32|0,a+8|0,0,2)):e?e=b[e+8>>2]:(e=b[r+16>>2],e=0|BA[b[b[e>>2]+8>>2]](e,a+32|0,a+8|0,b[r+32>>2],1),i=b[r+28>>2],yf=0|BA[b[b[i>>2]+12>>2]](i,n,f),Qf=e,b[yf+8>>2]=Qf),i=b[(G=r+24|0)>>2],Ri=b[i+12>>2],wi=b[i+8>>2],b[i+12>>2]=a+8,b[i+8>>2]=a+32,BA[b[b[i>>2]+8>>2]](i,-1,n),i=b[G>>2],BA[b[b[i>>2]+12>>2]](i,-1,f),BA[b[b[e>>2]+8>>2]](e,a+32|0,a+8|0,b[r+20>>2],b[G>>2]),r=b[G>>2],b[r+8>>2]=wi,b[r+12>>2]=Ri)}Ai(),N=a+256|0},he,Cr,ee,hr,he,function(r){var e=0,i=0;return b[(r|=0)>>2]=17236,C[r+8|0]&&((e=b[r+12>>2])&&(i=b[r+4>>2],BA[b[b[i>>2]+16>>2]](i,e))),0|r},function(r){var e=0,i=0;b[(r|=0)>>2]=17236,C[r+8|0]&&((e=b[r+12>>2])&&(i=b[r+4>>2],BA[b[b[i>>2]+16>>2]](i,e))),rA(r)},function(r,e,i,a,f){r|=0,e|=0,i|=0,a|=0,f|=0;var n,t=B(0),C=0,g=B(0),d=B(0),_=B(0),R=B(0),m=B(0),h=B(0),G=B(0),y=0;if(N=a=N-32|0,n=b[r+12>>2]){if(b[f+4>>2]=n,r=b[e+12>>2],C=b[i+12>>2],m=B(v[r+48>>2]-v[C+48>>2]),d=B(v[r+52>>2]-v[C+52>>2]),_=B(v[r+56>>2]-v[C+56>>2]),t=B(B(B(m*m)+B(d*d))+B(_*_)),r=b[i+4>>2],R=v[r+16>>2],g=v[r+32>>2],r=b[e+4>>2],h=v[r+16>>2],G=v[r+32>>2],(0|(C=b[n+780>>2]))>=1)for(e=n+4|0,r=0,y=n+780|0;lr(e),e=e+192|0,(0|(r=r+1|0))<(0|(C=b[y>>2])););t=B(p(t)),R=B(g*R),g=B(G*h),C&&((r=b[428])&&(b[a+16>>2]=n,BA[r](a+16|0))),b[n+780>>2]=0,g=B(g+R),t>B(g+v[f+32>>2])||(b[a+24>>2]=0,b[a+28>>2]=0,b[a+16>>2]=1065353216,b[a+20>>2]=0,g=B(t-g),t>B(1.1920928955078125e-7)?(b[a+28>>2]=0,t=B(B(1)/t),_=B(_*t),v[a+24>>2]=_,d=B(d*t),v[a+20>>2]=d,t=B(m*t),v[a+16>>2]=t):(t=B(1),_=B(0),d=B(0)),b[a+12>>2]=0,r=b[i+12>>2],v[a>>2]=B(R*t)+v[r+48>>2],v[a+8>>2]=B(R*_)+v[r+56>>2],v[a+4>>2]=B(R*d)+v[r+52>>2],BA[b[b[f>>2]+16>>2]](f,a+16|0,a,g))}N=a+32|0},hr,si,Cr,di,function(r){var e=0,i=0;return b[(r|=0)>>2]=17372,C[r+8|0]&&((e=b[r+12>>2])&&(i=b[r+4>>2],BA[b[b[i>>2]+16>>2]](i,e))),0|r},function(r){var e=0,i=0;b[(r|=0)>>2]=17372,C[r+8|0]&&((e=b[r+12>>2])&&(i=b[r+4>>2],BA[b[b[i>>2]+16>>2]](i,e))),rA(r)},function(r,e,i,a,f){e|=0,i|=0,a|=0,f|=0;var n,t=0,g=0,d=0,_=0,R=0,B=0,m=0,h=0;N=n=N-160|0;A:{if((R=b[(r|=0)+12>>2])&&(b[f+4>>2]=R,t=C[r+16|0],d=b[(g=t?i:e)+4>>2],t=b[(i=t?e:i)+4>>2],v[(e=n+144|0)+12>>2]=v[R+784>>2]+v[f+32>>2],b[e+8>>2]=t,b[e+4>>2]=d,b[e>>2]=17312,R=e,b[n+136>>2]=1566444395,e=b[g+12>>2],g=b[(t=e+8|0)+4>>2],b[(d=n+16|0)>>2]=b[t>>2],b[d+4>>2]=g,t=b[e>>2],g=b[e+4>>2],B=b[(d=e+24|0)+4>>2],b[(_=n+32|0)>>2]=b[d>>2],b[_+4>>2]=B,d=b[e+16>>2],B=b[e+20>>2],h=b[(_=e+40|0)+4>>2],b[(m=n+48|0)>>2]=b[_>>2],b[m+4>>2]=h,b[n+8>>2]=t,b[n+12>>2]=g,b[n+24>>2]=d,b[n+28>>2]=B,t=b[e+32>>2],g=b[e+36>>2],B=b[(d=e+56|0)+4>>2],b[(_=n- -64|0)>>2]=b[d>>2],b[_+4>>2]=B,b[n+40>>2]=t,b[n+44>>2]=g,t=b[e+52>>2],b[n+56>>2]=b[e+48>>2],b[n+60>>2]=t,e=b[i+12>>2],t=b[(i=e+8|0)+4>>2],b[(g=n+80|0)>>2]=b[i>>2],b[g+4>>2]=t,i=b[e+4>>2],b[n+72>>2]=b[e>>2],b[n+76>>2]=i,t=b[(i=e+24|0)+4>>2],b[(g=n+96|0)>>2]=b[i>>2],b[g+4>>2]=t,i=b[e+20>>2],b[(t=n+88|0)>>2]=b[e+16>>2],b[t+4>>2]=i,t=b[(i=e+40|0)+4>>2],b[(g=n+112|0)>>2]=b[i>>2],b[g+4>>2]=t,i=b[e+36>>2],b[(t=n+104|0)>>2]=b[e+32>>2],b[t+4>>2]=i,t=b[(i=e+56|0)+4>>2],b[(g=n+128|0)>>2]=b[i>>2],b[g+4>>2]=t,i=b[e+52>>2],b[(t=n+120|0)>>2]=b[e+48>>2],b[t+4>>2]=i,di(R,n+8|0,f,b[a+20>>2],C[r+16|0]),C[r+8|0]&&(r=b[f+4>>2],b[r+780>>2]))){if((0|(e=b[r+772>>2]))==(0|(i=b[b[f+8>>2]+8>>2])))break A;dr(r,b[b[f+12>>2]+8>>2]+4|0,i+4|0)}return void(N=n+160|0)}dr(r,e+4|0,b[b[f+12>>2]+8>>2]+4|0),N=n+160|0},hr,si,Cr,_i,function(r){var e=0,i=0;return b[(r|=0)>>2]=17580,C[r+8|0]&&((e=b[r+12>>2])&&(i=b[r+4>>2],BA[b[b[i>>2]+16>>2]](i,e))),0|r},function(r){var e=0,i=0;b[(r|=0)>>2]=17580,C[r+8|0]&&((e=b[r+12>>2])&&(i=b[r+4>>2],BA[b[b[i>>2]+16>>2]](i,e))),rA(r)},function(r,e,i,a,f){e|=0,i|=0,a|=0,f|=0;var n,t=0,g=0,d=0,v=0,_=0,R=0,B=0,m=0,h=0;N=n=N-160|0;A:{if((R=b[(r|=0)+12>>2])&&(b[f+4>>2]=R,R=b[i+4>>2],m=b[e+4>>2],b[n+152>>2]=1566444395,e=b[e+12>>2],g=b[(t=e+8|0)+4>>2],b[(d=n+32|0)>>2]=b[t>>2],b[d+4>>2]=g,t=b[e>>2],g=b[e+4>>2],_=b[(d=e+24|0)+4>>2],b[(v=n+48|0)>>2]=b[d>>2],b[v+4>>2]=_,d=b[e+16>>2],_=b[e+20>>2],h=b[(v=e+40|0)+4>>2],b[(B=n- -64|0)>>2]=b[v>>2],b[B+4>>2]=h,b[n+24>>2]=t,b[n+28>>2]=g,b[n+40>>2]=d,b[n+44>>2]=_,t=b[e+32>>2],g=b[e+36>>2],_=b[(d=e+56|0)+4>>2],b[(v=n+80|0)>>2]=b[d>>2],b[v+4>>2]=_,b[n+56>>2]=t,b[n+60>>2]=g,t=b[e+52>>2],b[n+72>>2]=b[e+48>>2],b[n+76>>2]=t,e=b[i+12>>2],t=b[(i=e+8|0)+4>>2],b[(g=n+96|0)>>2]=b[i>>2],b[g+4>>2]=t,i=b[e+4>>2],b[n+88>>2]=b[e>>2],b[n+92>>2]=i,t=b[(i=e+24|0)+4>>2],b[(g=n+112|0)>>2]=b[i>>2],b[g+4>>2]=t,i=b[e+20>>2],b[(t=n+104|0)>>2]=b[e+16>>2],b[t+4>>2]=i,t=b[(i=e+40|0)+4>>2],b[(g=n+128|0)>>2]=b[i>>2],b[g+4>>2]=t,i=b[e+36>>2],b[(t=n+120|0)>>2]=b[e+32>>2],b[t+4>>2]=i,t=b[(i=e+56|0)+4>>2],b[(g=n+144|0)>>2]=b[i>>2],b[g+4>>2]=t,i=b[e+52>>2],b[(t=n+136|0)>>2]=b[e+48>>2],b[t+4>>2]=i,b[(e=n+8|0)+8>>2]=R,b[e+4>>2]=m,b[e>>2]=17528,_i(e,n+24|0,f,b[a+20>>2],0),C[r+8|0]&&(r=b[f+4>>2],b[r+780>>2]))){if((0|(e=b[r+772>>2]))==(0|(i=b[b[f+8>>2]+8>>2])))break A;dr(r,b[b[f+12>>2]+8>>2]+4|0,i+4|0)}return void(N=n+160|0)}dr(r,e+4|0,b[b[f+12>>2]+8>>2]+4|0),N=n+160|0},hr,si,function(r){var e=0,i=0;return b[(r|=0)>>2]=17652,C[r+8|0]&&((e=b[r+12>>2])&&(i=b[r+4>>2],BA[b[b[i>>2]+16>>2]](i,e))),0|r},function(r){var e=0,i=0;b[(r|=0)>>2]=17652,C[r+8|0]&&((e=b[r+12>>2])&&(i=b[r+4>>2],BA[b[b[i>>2]+16>>2]](i,e))),rA(r)},function(r,e,i,a,f){r|=0,e|=0,i|=0,a|=0,f|=0;var n=0,t=B(0),g=B(0),d=B(0),_=B(0),R=0,h=0,y=B(0),Q=B(0),D=B(0),w=B(0),Z=0,Y=B(0),W=B(0),F=B(0),E=B(0),j=B(0),Be=B(0),ui=B(0),gi=B(0),Ri=0,wi=B(0),Xi=B(0),Da=B(0),Ia=B(0),yf=B(0),Qf=B(0),pf=B(0),Df=0,wf=B(0),Zf=B(0),Yf=B(0),Wf=B(0),Ff=B(0),Ef=B(0),Nf=B(0),Vf=B(0),Xf=B(0),Jf=B(0),If=B(0),xf=B(0),Mf=B(0),Sf=B(0),Tf=B(0),Uf=B(0),jf=B(0),Of=B(0),Hf=B(0),zf=B(0),Pf=B(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h+60>>2],B(m(d))>B(.7071067690849304)?(g=v[h+56>>2],t=B(B(1)/B(p(B(B(d*d)+B(g*g))))),g=B(g*t),d=B(-B(d*t)),t=B(0)):(g=v[h+52>>2],t=v[h+56>>2],_=B(B(1)/B(p(B(B(g*g)+B(t*t))))),d=B(g*_),g=B(0),t=B(-B(t*_))),_=B(BA[b[b[Z>>2]+16>>2]](Z)),n=0,_=B(B(G(B(v[794]/_),B(.39269909262657166)))*B(.5)),y=ge(_),R=b[r+20>>2],D=_e(_),(0|R)<1)))for(wf=g,g=B(y/B(p(B(B(B(t*t)+B(d*d))+B(g*g))))),y=B(wf*g),Y=B(d*g),W=B(t*g),Z=h+56|0,Ri=h+52|0,h=h+60|0,Df=a+28|0,qf=a+24|0,$f=r+20|0;t=v[Z>>2],_=v[h>>2],g=v[Ri>>2],d=B(B(B(B(6.2831854820251465)/B(0|R))*B(0|n))*B(.5)),Q=B(ge(d)/B(p(B(B(B(g*g)+B(t*t))+B(_*_))))),g=B(g*Q),d=_e(d),t=B(t*Q),_=B(_*Q),Q=B(B(B(B(D*d)+B(W*g))+B(Y*t))+B(y*_)),F=B(B(B(B(W*d)-B(D*g))-B(y*t))+B(Y*_)),E=B(B(B(B(Y*d)-B(D*t))-B(W*_))+B(y*g)),j=B(B(B(B(y*d)-B(D*_))-B(Y*g))+B(W*t)),v[Df>>2]=B(B(B(d*Q)-B(g*F))-B(t*E))-B(_*j),v[qf>>2]=B(B(t*F)+B(B(_*Q)+B(d*j)))-B(g*E),v[a+20>>2]=B(B(g*j)+B(B(d*E)+B(t*Q)))-B(_*F),v[a+16>>2]=B(B(_*E)+B(B(g*Q)+B(d*F)))-B(t*j),mi(r,a+16|0,e,i,f),(0|(n=n+1|0))<(0|(R=b[$f>>2])););if(!(!C[r+8|0]|!b[b[r+12>>2]+780>>2])&&(r=b[f+4>>2],b[r+780>>2])){if((0|(e=b[r+772>>2]))==(0|(i=b[b[f+8>>2]+8>>2])))break A;dr(r,b[b[f+12>>2]+8>>2]+4|0,i+4|0)}}return void(N=a+48|0)}dr(r,e+4|0,b[b[f+12>>2]+8>>2]+4|0),N=a+48|0},hr,si,Gi,function(r){rA(Gi(r|=0))},hi,function(r){return b[(r|=0)+16>>2]},function(r,e,i){var a;if(r|=0,!((a=8!=(0|(e|=0)))|8!=(0|(i|=0))))return b[r+56>>2];if(!(1!=(0|i)|a))return b[r+72>>2];if(!(1!=(0|e)|8!=(0|i)))return b[r+76>>2];A:{if(e|i){if(28!=(0|i)|(0|e)>19)break A;return b[r+84>>2]}return b[r+68>>2]}if(!(28!=(0|e)|(0|i)>19))return b[r+80>>2];A:{r:{e:{if((0|e)<=19){if((0|i)>19)break e;return b[r+28>>2]}if(!((0|i)>19|e+-21>>>0>8))return b[r+36>>2];if(31!=(0|e))break r;if(31!=(0|i))break A;return b[r+44>>2]}if(!(i+-21>>>0>8))return b[r+32>>2]}return 31==(0|i)?b[r+48>>2]:b[r+52>>2]}return b[r+40>>2]},function(r,e,i){var a;if(r|=0,!((a=8!=(0|(e|=0)))|8!=(0|(i|=0))))return b[r+56>>2];if(!(1!=(0|i)|a))return b[r+72>>2];if(!(1!=(0|e)|8!=(0|i)))return b[r+76>>2];if(!(28!=(0|i)|(0|e)>19))return b[r+84>>2];if(!(28!=(0|e)|(0|i)>19))return b[r+80>>2];A:{r:{e:{if((0|e)<=19){if((0|i)>19)break e;return b[r+28>>2]}if(!((0|i)>19|e+-21>>>0>8))return b[r+36>>2];if(31!=(0|e))break r;if(31!=(0|i))break A;return b[r+44>>2]}if(!(i+-21>>>0>8))return b[r+32>>2]}return 31==(0|i)?b[r+48>>2]:b[r+52>>2]}return b[r+40>>2]},Cr,function(r,e,i,a){return r|=0,i|=0,a|=0,r=b[(e|=0)>>2],ii(r=0|BA[b[b[r>>2]+56>>2]](r,80),e,i,a,0),0|r},Cr,function(r,e,i,a){return r|=0,i|=0,a|=0,r=b[(e|=0)>>2],ii(r=0|BA[b[b[r>>2]+56>>2]](r,80),e,i,a,1),0|r},Cr,function(r,e,i,a){return r|=0,i|=0,a|=0,r=b[(e|=0)>>2],ai(r=0|BA[b[b[r>>2]+56>>2]](r,84),e,i,a,0),0|r},Cr,function(r,e,i,a){return r|=0,i|=0,a|=0,r=b[(e|=0)>>2],function(r,e,i,a){ai(r,e,i,a,0),f[r+104|0]=1,b[r>>2]=16972,b[r+100>>2]=0,b[(e=r+92|0)>>2]=0,b[e+4>>2]=0,function(r){var e,i=0,a=0,n=0,t=0,g=0,d=0;if(b[r>>2]=16908,f[r+20|0]=1,b[(e=r+16|0)>>2]=0,f[r+40|0]=1,b[(i=a=r+8|0)>>2]=0,b[i+4>>2]=0,b[r+36>>2]=0,f[r+60|0]=1,b[(i=r+28|0)>>2]=0,b[i+4>>2]=0,b[r+56>>2]=0,b[(i=r+48|0)>>2]=0,b[i+4>>2]=0,i=CA(24,16),(0|(a=b[a>>2]))>=1)for(;t=b[e>>2]+n|0,d=b[t+4>>2],b[(g=i+n|0)>>2]=b[t>>2],b[g+4>>2]=d,b[g+8>>2]=b[t+8>>2],n=n+12|0,a=a+-1|0;);(n=b[e>>2])&&(C[r+20|0]&&gA(n),b[r+16>>2]=0),b[r+16>>2]=i,f[r+20|0]=1,b[r+12>>2]=2,oi(r)}(e=CA(64,16)),b[r+84>>2]=e,b[r+108>>2]=b[b[i+4>>2]+72>>2],b[r+112>>2]=b[b[a+4>>2]+72>>2]}(r=0|BA[b[b[r>>2]+56>>2]](r,116),e,i,a),0|r},Cr,function(r,e,i,a){return r|=0,i|=0,a|=0,r=b[(e|=0)>>2],ai(r=0|BA[b[b[r>>2]+56>>2]](r,84),e,i,a,1),0|r},Cr,function(r,e,i,a){return r|=0,r=b[(e|=0)>>2],lA(r=0|BA[b[b[r>>2]+56>>2]](r,8),e),b[r>>2]=17176,0|r},Cr,function(r,e,i,a){return r|=0,i|=0,a|=0,r=b[(e|=0)>>2],function(r,e,i,a){vA(r,e),b[r+12>>2]=0,f[r+8|0]=0,b[r>>2]=17236,e=b[r+4>>2],e=0|BA[b[b[e>>2]+12>>2]](e,b[i+8>>2],b[a+8>>2]),f[r+8|0]=1,b[r+12>>2]=e}(r=0|BA[b[b[r>>2]+56>>2]](r,16),e,i,a),0|r},Cr,function(r,e,i,a){r|=0,i|=0,a|=0;var n=0;return n=b[(e|=0)>>2],function(r,e,i,a,n,t){vA(r,i),f[r+16|0]=t,b[r+12>>2]=e,f[r+8|0]=0,b[r>>2]=17372,e||(e=b[r+4>>2],e=0|BA[b[b[e>>2]+12>>2]](e,b[a+8>>2],b[n+8>>2]),f[r+8|0]=1,b[r+12>>2]=e)}(n=0|BA[b[b[n>>2]+56>>2]](n,20),b[e+4>>2],e,i,a,C[r+4|0]),0|n},Cr,function(r,e,i,a){return r|=0,i|=0,a|=0,r=b[(e|=0)>>2],function(r,e,i,a){vA(r,e),b[r+12>>2]=0,f[r+8|0]=0,b[r>>2]=17580,e=b[r+4>>2],BA[b[b[e>>2]+24>>2]](e,b[i+8>>2],b[a+8>>2])&&(e=b[r+4>>2],e=0|BA[b[b[e>>2]+12>>2]](e,b[i+8>>2],b[a+8>>2]),f[r+8|0]=1,b[r+12>>2]=e)}(r=0|BA[b[b[r>>2]+56>>2]](r,16),e,i,a),0|r},Cr,function(r,e,i,a){r|=0,i|=0,a|=0;var f,n,t=0;return t=b[(e|=0)>>2],t=0|BA[b[b[t>>2]+56>>2]](t,28),f=b[r+12>>2],n=b[r+8>>2],C[r+4|0]?(Bi(t,e,i,a,1,n,f),0|t):(Bi(t,e,i,a,0,n,f),0|t)},function(r){var e=0,i=0;return b[(r|=0)>>2]=18664,(i=b[(e=r+60|0)>>2])&&(C[r- -64|0]&&gA(i),b[r+60>>2]=0),b[e>>2]=0,f[r- -64|0]=1,b[(e=r+52|0)>>2]=0,b[e+4>>2]=0,(i=b[(e=r+40|0)>>2])&&(C[r+44|0]&&gA(i),b[r+40>>2]=0),b[e>>2]=0,f[r+44|0]=1,b[(e=r+32|0)>>2]=0,b[e+4>>2]=0,(i=b[(e=r+16|0)>>2])&&(C[r+20|0]&&gA(i),b[r+16>>2]=0),b[e>>2]=0,f[r+20|0]=1,b[(e=r+8|0)>>2]=0,b[e+4>>2]=0,0|r},function(r){var e=0,i=0;b[(r|=0)>>2]=18664,(i=b[(e=r+60|0)>>2])&&(C[r- -64|0]&&gA(i),b[r+60>>2]=0),b[e>>2]=0,f[r- -64|0]=1,b[(e=r+52|0)>>2]=0,b[e+4>>2]=0,(i=b[(e=r+40|0)>>2])&&(C[r+44|0]&&gA(i),b[r+40>>2]=0),b[e>>2]=0,f[r+44|0]=1,b[(e=r+32|0)>>2]=0,b[e+4>>2]=0,(i=b[(e=r+16|0)>>2])&&(C[r+20|0]&&gA(i),b[r+16>>2]=0),b[e>>2]=0,f[r+20|0]=1,b[(e=r+8|0)>>2]=0,b[e+4>>2]=0,gA(r)},function(r,e,i){r|=0,e|=0,i|=0;var a,n=0;b[700]=b[700]+1;A:{r:{if(a=b[r+24>>2]){if(BA[b[b[a>>2]+8>>2]](a,e,i))break r;break A}if(!(b[i+8>>2]&b[e+4>>2])|!(b[e+8>>2]&b[i+4>>2]))break A}n=function(r,e,i){var a,n,t,g=0,d=0,v=0,_=0,B=0,m=0,h=0,G=0,y=0,Q=0,p=0;d=b[e+12>>2]>b[i+12>>2],_=b[(a=d?e:i)+12>>2],v=b[(n=d?i:e)+12>>2],e=R((e=((e=_<<16|v)<<15^-1)+e|0)>>>10^e,9),h=(t=(e=((e^=e>>>6)<<11^-1)+e|0)>>>16^e)&(d=b[r+12>>2])+-1;r:{if(-1!=(0|(e=b[b[r+40>>2]+(h<<2)>>2])))for(g=b[r+16>>2],m=r+60|0;;){if(i=(B=e<<4)+g|0,(0|_)==b[b[4+(g+B|0)>>2]+12>>2]&&b[b[i>>2]+12>>2]==(0|v))break r;if(-1==(0|(e=b[b[m>>2]+(e<<2)>>2])))break}if((0|(e=d))==(0|(i=_=b[(G=r+8|0)>>2]))&&(i=d,!((0|e)>=(0|(g=e?e<<1:1))))){e:{i:{if(g){if(v=CA(g<<4,16),(0|(i=b[r+8>>2]))>=1)break i;break e}if(v=0,(0|(i=d))<1)break e}for(e=12;m=e+v|0,B=b[r+16>>2]+e|0,b[m+-12>>2]=b[B+-12>>2],p=b[(y=B+-8|0)+4>>2],b[(Q=m+-8|0)>>2]=b[y>>2],b[Q+4>>2]=p,b[m>>2]=b[B>>2],e=e+16|0,i=i+-1|0;);}(i=b[(e=r+16|0)>>2])&&(C[r+20|0]&&gA(i),b[r+16>>2]=0),b[e>>2]=v,f[r+20|0]=1,b[r+12>>2]=g,i=b[r+8>>2],e=g}b[G>>2]=i+1,v=_<<4,g=b[r+16>>2],(i=b[r+68>>2])&&(BA[b[b[i>>2]+8>>2]](i,n,a),e=b[r+12>>2]),i=g+v|0,(0|d)<(0|e)&&(Qi(r),h=b[r+12>>2]+-1&t),d=b[a+12>>2],v=b[n+12>>2],b[(e=g+(_<<4)|0)+8>>2]=0,b[e+12>>2]=0,g=e,e=(0|v)<(0|d),b[g+4>>2]=e?a:n,d=b[r+60>>2]+(_<<2)|0,r=b[r+40>>2]+(h<<2)|0,b[d>>2]=b[r>>2],b[i>>2]=e?n:a,b[r>>2]=_}return i}(r,e,i)}return 0|n},function(r,e,i,a){r|=0,e|=0,i|=0,a|=0;var f=0,n=0,t=0,C=0,g=0,d=0,v=0;b[699]=b[699]+1;A:{if(f=b[e+12>>2]>b[i+12>>2],n=b[(t=f?e:i)+12>>2],d=b[(g=f?i:e)+12>>2],e=R((e=((e=n<<16|d)<<15^-1)+e|0)>>>10^e,9),e=((e^=e>>>6)<<11^-1)+e|0,C=b[r+12>>2]+-1&(e>>>16^e),-1!=(0|(e=b[b[r+40>>2]+(C<<2)>>2])))for(f=b[r+16>>2],v=r+60|0;;){if((0|n)==b[b[(i=f+(e<<4)|0)+4>>2]+12>>2]&&b[b[i>>2]+12>>2]==(0|d))break A;if(-1==(0|(e=b[b[v>>2]+(e<<2)>>2])))break}return 0}BA[b[b[r>>2]+32>>2]](r,i,a),n=b[r+60>>2],d=b[12+(f+(e<<4)|0)>>2];A:{if(C=b[r+40>>2]+(C<<2)|0,(0|(e=b[C>>2]))!=(0|(f=i-b[r+16>>2]>>4))){for(;i=e,(0|f)!=(0|(e=b[n+(e<<2)>>2])););if(e=b[n+(f<<2)>>2],-1!=(0|i)){b[n+(i<<2)>>2]=e;break A}}else e=b[n+(f<<2)>>2];b[C>>2]=e}if(n=b[r+8>>2]+-1|0,(e=b[r+68>>2])&&BA[b[b[e>>2]+12>>2]](e,g,t,a),(0|n)==(0|f))return b[(r=r+8|0)>>2]=b[r>>2]+-1,0|d;a=b[r+60>>2];A:{if(g=b[r+16>>2],e=b[b[(t=g+(n<<4)|0)+4>>2]+12>>2]<<16|b[b[t>>2]+12>>2],e=R((e=(e<<15^-1)+e|0)>>>10^e,9),e=((e^=e>>>6)<<11^-1)+e|0,C=b[r+12>>2]+-1&(e>>>16^e),v=b[r+40>>2]+(C<<2)|0,(0|(e=b[v>>2]))!=(0|n)){for(;i=e,(0|n)!=(0|(e=b[a+(e<<2)>>2])););if(e=b[a+(n<<2)>>2],-1!=(0|i)){b[a+(i<<2)>>2]=e;break A}}else e=b[a+(n<<2)>>2];b[v>>2]=e}return i=b[t+4>>2],b[(e=g+(f<<4)|0)>>2]=b[t>>2],b[e+4>>2]=i,a=b[(i=t+8|0)+4>>2],b[(e=e+8|0)>>2]=b[i>>2],b[e+4>>2]=a,e=b[r+40>>2]+(C<<2)|0,b[b[r+60>>2]+(f<<2)>>2]=b[e>>2],b[e>>2]=f,b[(r=r+8|0)>>2]=b[r>>2]+-1,0|d},function(r,e,i){var a;r|=0,e|=0,i|=0,N=a=N-16|0,b[a+12>>2]=e,b[a+8>>2]=19024,BA[b[b[r>>2]+48>>2]](r,a+8|0,i),N=a+16|0},ci,ci,pi,function(r,e,i){r|=0,e|=0,(i|=0)&&((r=b[e+8>>2])&&(BA[b[b[r>>2]>>2]](r),r=e+8|0,BA[b[b[i>>2]+60>>2]](i,b[r>>2]),b[r>>2]=0))},function(r){return b[(r|=0)+8>>2]},function(r,e,i){var a;r|=0,e|=0,i|=0,N=a=N-16|0,b[a+12>>2]=i,b[a+8>>2]=r,b[a+4>>2]=e,b[a>>2]=18880,BA[b[b[r>>2]+48>>2]](r,a,i),N=a+16|0},Di,function(r,e,i){r|=0,e|=0,i|=0;var a,f,n=0,t=0,C=0;N=a=N-16|0,$e(a+8|0,18732);A:if(!(b[(f=r+8|0)>>2]<1))for(C=r+16|0;;){if(t=b[C>>2]+(n<<4)|0,BA[b[b[e>>2]+8>>2]](e,t)){if(BA[b[b[r>>2]+12>>2]](r,b[t>>2],b[t+4>>2],i),b[698]=b[698]+-1,(0|n)>2])continue;break A}if(!((0|(n=n+1|0))>2]))break}Ai(),N=a+16|0},function(r,e,i){r|=0,e|=0,i|=0;var a,f=0,n=0,t=0;b[701]=b[701]+1,f=b[e+12>>2]>b[i+12>>2],a=b[(f?e:i)+12>>2],f=b[(f?i:e)+12>>2],e=R((e=((e=f|a<<16)<<15^-1)+e|0)>>>10^e,9),e=((e^=e>>>6)<<11^-1)+e|0;A:{if(!((0|(e=b[r+12>>2]+-1&(e>>>16^e)))>=b[r+32>>2])&&-1!=(0|(e=b[b[r+40>>2]+(e<<2)>>2])))for(i=b[r+16>>2],t=r+60|0;;){if(r=(n=e<<4)+i|0,b[b[4+(i+n|0)>>2]+12>>2]==(0|a)&&(0|f)==b[b[r>>2]+12>>2])break A;if(-1==(0|(e=b[b[t>>2]+(e<<2)>>2])))break}r=0}return 0|r},Zr,function(r,e){e|=0,b[(r|=0)+68>>2]=e},function(r,e){r|=0,e|=0;var i,a,n=0,t=0,g=0,d=0,v=0,_=0,R=0,B=0,m=0,h=0,G=0,y=0,Q=0,p=0;if(N=i=N-32|0,b[i+20>>2]=0,b[i+12>>2]=0,b[i+16>>2]=0,t=b[(a=r+8|0)>>2],f[i+24|0]=1,!((0|t)<1)){for(p=r+16|0,v=i+20|0,y=i+16|0,t=0;;){_=b[p>>2]+(B<<4)|0;A:if((0|n)==(0|t)){r:{e:{i:{if((0|t)<(0|(R=t?t<<1:1))){if(!R)break i;if(m=CA(R<<4,16),(0|t)>=1)break e;break r}n=t;break A}if(m=0,(0|t)<1)break r}for(n=12;h=n+m|0,G=b[v>>2]+n|0,b[h+-12>>2]=b[G+-12>>2],d=b[(g=G+-8|0)+4>>2],b[(Q=h+-8|0)>>2]=b[g>>2],b[Q+4>>2]=d,b[h>>2]=b[G>>2],n=n+16|0,t=t+-1|0;);}(t=b[v>>2])&&(C[i+24|0]&&gA(t),b[v>>2]=0),b[v>>2]=m,f[i+24|0]=1,b[y>>2]=R,n=b[i+12>>2]}if(n=b[v>>2]+(n<<4)|0,b[n>>2]=b[_>>2],t=b[_+8>>2],b[n+4>>2]=b[_+4>>2],b[n+8>>2]=t,b[n+12>>2]=b[_+12>>2],n=(d=b[i+12>>2])+1|0,b[i+12>>2]=n,!((0|(B=B+1|0))>2]))break;t=b[y>>2]}if(!((0|d)<0))for(g=b[i+20>>2],t=-1;BA[b[b[r>>2]+12>>2]](r,b[g>>2],b[g+4>>2],e),g=g+16|0,(0|(t=t+1|0))<(0|d););}if(b[(e=r+52|0)>>2]>=1){for(n=b[r+60>>2],g=0;b[n>>2]=-1,n=n+4|0,(0|(g=g+1|0))>2];);n=b[i+12>>2]}if((0|n)>=2&&(Ni(i+8|0,i,0,n+-1|0),n=b[i+12>>2]),g=b[(t=i+20|0)>>2],(0|n)>=1)for(d=0,n=4;e=n+g|0,BA[b[b[r>>2]+8>>2]](r,b[e+-4>>2],b[e>>2]),n=n+16|0,g=b[t>>2],(0|(d=d+1|0))>2];);g&&(C[i+24|0]&&gA(g),b[i+20>>2]=0),N=i+32|0},Cr,function(r,e){e|=0;var i=0;return(0|(i=b[(r|=0)+4>>2]))==b[e>>2]|(0|i)==b[e+4>>2]?(i=b[r+8>>2],BA[b[b[i>>2]+32>>2]](i,e,b[r+12>>2]),0):0},Cr,function(r,e){return e|=0,(0|(r=b[(r|=0)+4>>2]))==b[e>>2]|(0|r)==b[e+4>>2]},Fi,function(r){rA(Fi(r|=0))},function(r,e,i,a,f,n,t,g){r|=0,e|=0,i|=0,a|=0,f|=0,n|=0,t|=0,g|=0;var d=0;return N=g=N-48|0,a=CA(64,16),b[a+8>>2]=t,b[a+4>>2]=n,b[a>>2]=f,d=b[(t=f=e+8|0)+4>>2],b[(n=a+24|0)>>2]=b[t>>2],b[n+4>>2]=d,n=b[e+4>>2],b[a+16>>2]=b[e>>2],b[a+20>>2]=n,d=b[(n=i+8|0)+4>>2],b[(t=a+40|0)>>2]=b[n>>2],b[t+4>>2]=d,t=b[i+4>>2],b[a+32>>2]=b[i>>2],b[a+36>>2]=t,b[a+52>>2]=0,b[a+56>>2]=0,d=b[n+4>>2],b[(t=g+40|0)>>2]=b[n>>2],b[t+4>>2]=d,t=b[f+4>>2],b[(n=g+24|0)>>2]=b[f>>2],b[n+4>>2]=t,f=b[e>>2],e=b[e+4>>2],n=b[i+4>>2],i=b[i>>2],b[a+60>>2]=b[r+104>>2],t=b[r+148>>2]+1|0,b[r+148>>2]=t,b[g+32>>2]=i,b[g+36>>2]=n,b[a+12>>2]=t,b[g+16>>2]=f,b[g+20>>2]=e,e=ke(i=r+4|0,g+16|0,a),b[a+52>>2]=0,b[a+48>>2]=e,e=84+((b[r+104>>2]<<2)+r|0)|0,b[a+56>>2]=b[e>>2],(f=b[e>>2])&&(b[f+52>>2]=a),b[e>>2]=a,C[r+153|0]?(N=g+48|0,0|a):(b[g+8>>2]=a,b[g>>2]=19316,b[g+4>>2]=r,Zi(i,b[r+4>>2],g+16|0,g),Zi(r=r+44|0,b[r>>2],g+16|0,g),N=g+48|0,0|a)},function(r,e,i){r|=0,i|=0;var a,n=0;2!=b[(e|=0)+60>>2]?ue(r+4|0,b[e+48>>2]):ue(r+44|0,b[e+48>>2]),a=b[e+56>>2],n=(n=b[e+52>>2])?n+56|0:84+((b[e+60>>2]<<2)+r|0)|0,b[n>>2]=a,(n=b[e+56>>2])&&(b[n+52>>2]=b[e+52>>2]),n=b[r+96>>2],BA[b[b[n>>2]+16>>2]](n,e,i),gA(e),f[r+154|0]=1},function(r,e,i,a,n){r|=0,e|=0,i|=0,a|=0,n|=0;var t=0,g=0,d=0,_=B(0),R=B(0),m=B(0),h=0,G=B(0),y=B(0),Q=B(0),p=B(0),D=B(0),w=B(0),Z=0,Y=0;N=n=N-48|0,g=b[(d=i+8|0)+4>>2],b[(t=n+24|0)>>2]=b[d>>2],b[t+4>>2]=g,g=b[(d=a+8|0)+4>>2],b[(t=n+40|0)>>2]=b[d>>2],b[t+4>>2]=g,t=b[i+4>>2],b[n+16>>2]=b[i>>2],b[n+20>>2]=t,t=b[a+4>>2],b[n+32>>2]=b[a>>2],b[n+36>>2]=t,2!=b[e+60>>2]?(d=1,b[r+128>>2]=b[r+128>>2]+1,t=b[e+48>>2],!(v[t>>2]<=v[n+32>>2]^1|v[t+16>>2]>=v[n+16>>2]^1|v[t+4>>2]<=v[n+36>>2]^1|v[t+20>>2]>=v[n+20>>2]^1)&&v[t+8>>2]<=v[n+40>>2]&&v[t+24>>2]>=v[n+24>>2]?(R=v[e+20>>2],m=v[e+24>>2],p=v[i>>2],D=v[i+4>>2],w=v[i+8>>2],G=v[e+16>>2],b[n+12>>2]=0,_=v[r+100>>2],y=B(_*B(B(v[e+40>>2]-m)*B(.5))),v[n+8>>2]=y,Q=B(_*B(B(v[e+36>>2]-R)*B(.5))),v[n+4>>2]=Q,_=B(_*B(B(v[e+32>>2]-G)*B(.5))),v[n>>2]=_,R=B(D-R),B(p-G)>2]=-_),m=B(w-m),R>2]=-Q),m>2]=-y),d=0,function(r,e,i,a){var f=0,n=B(0),t=0,C=0,g=B(0),d=B(0),_=B(0),R=B(0),m=B(0),h=B(0),G=0;g=v[i>>2];A:{if(v[e>>2]<=g){if(n=v[i+4>>2],!(v[e+4>>2]<=n^1|v[e+8>>2]<=v[i+8>>2]^1|v[e+16>>2]>=v[i+16>>2]^1|v[e+20>>2]>=v[i+20>>2]^1)&&(f=0,v[e+24>>2]>=v[i+24>>2]))break A}else n=v[i+4>>2];_=B(n-B(.05000000074505806)),v[i+4>>2]=_,d=B(g-B(.05000000074505806)),v[i>>2]=d,R=B(v[i+8>>2]-B(.05000000074505806)),v[i+8>>2]=R,m=B(v[i+16>>2]+B(.05000000074505806)),v[i+16>>2]=m,n=B(v[(f=i+20|0)>>2]+B(.05000000074505806)),v[f>>2]=n,g=B(v[(t=i+24|0)>>2]+B(.05000000074505806)),v[t>>2]=g,f=(h=v[a>>2])>B(0),v[(f<<4)+i>>2]=(f?m:d)+h,f=(d=v[a+4>>2])>B(0),v[(f?20:4)+i>>2]=(f?n:_)+d,a=(n=v[a+8>>2])>B(0),v[(a?24:8)+i>>2]=(a?g:R)+n;r:{e:{if(a=be(r,e)){if((0|(C=b[r+8>>2]))<0)break e;if(!C)break r;for(;;){if(!(f=b[a+32>>2]))break r;if(a=f,!((0|(G=G+1|0))<(0|C)))break}break r}a=0;break r}a=b[r>>2]}f=b[i+4>>2],b[e>>2]=b[i>>2],b[e+4>>2]=f,f=b[t+4>>2],b[(C=e+24|0)>>2]=b[t>>2],b[C+4>>2]=f,t=b[(f=i+16|0)+4>>2],b[(C=e+16|0)>>2]=b[f>>2],b[C+4>>2]=t,f=b[(i=i+8|0)+4>>2],b[(t=e+8|0)>>2]=b[i>>2],b[t+4>>2]=f,oe(r,a,e),f=1}return f}(r+4|0,t,n+16|0,n)&&(d=1,b[r+132>>2]=b[r+132>>2]+1)):(ce(r+4|0,t,n+16|0),b[r+132>>2]=b[r+132>>2]+1)):(ue(r+44|0,b[e+48>>2]),Z=e,Y=ke(r+4|0,n+16|0,e),b[Z+48>>2]=Y,d=1),g=b[e+56>>2],t=(t=b[e+52>>2])?t+56|0:84+((b[e+60>>2]<<2)+r|0)|0,b[t>>2]=g,(g=b[(t=e+56|0)>>2])&&(b[g+52>>2]=b[e+52>>2]),g=b[i+4>>2],b[e+16>>2]=b[i>>2],b[e+20>>2]=g,h=b[(i=i+8|0)+4>>2],b[(g=e+24|0)>>2]=b[i>>2],b[g+4>>2]=h,h=b[(g=a+8|0)+4>>2],b[(i=e+40|0)>>2]=b[g>>2],b[i+4>>2]=h,i=b[a+4>>2],b[e+32>>2]=b[a>>2],b[e+36>>2]=i,b[e+52>>2]=0,i=84+(((a=b[r+104>>2])<<2)+r|0)|0,b[t>>2]=b[i>>2],b[e+60>>2]=a,(a=b[i>>2])&&(b[a+52>>2]=e),b[i>>2]=e,d&&(f[r+154|0]=1,!C[r+153|0])?(b[n>>2]=19316,b[n+4>>2]=r,Ei(i=r+44|0,b[i>>2],b[e+48>>2],n),Ei(r+4|0,b[r+4>>2],b[e+48>>2],n),N=n+48|0):N=n+48|0},function(r,e,i,a){r|=0,i|=0,a|=0;var f=0;r=b[(e|=0)+20>>2],b[i>>2]=b[e+16>>2],b[i+4>>2]=r,r=i+8|0,f=b[(i=e+24|0)+4>>2],b[r>>2]=b[i>>2],b[r+4>>2]=f,f=b[(i=e+40|0)+4>>2],b[(r=a+8|0)>>2]=b[i>>2],b[r+4>>2]=f,r=b[e+36>>2],b[a>>2]=b[e+32>>2],b[a+4>>2]=r},function(r,e,i,a,f,n){var t,C,g;r|=0,e|=0,i|=0,a|=0,f|=0,n|=0,N=i=N-16|0,b[i+8>>2]=19388,b[i+12>>2]=a,t=a+4|0,C=a+20|0,g=b[r+168>>2],Yi(r+4|0,b[r+4>>2],e,t,C,v[a+32>>2],f,n,g,i+8|0),Yi(r=r+44|0,b[r>>2],e,t,C,v[a+32>>2],f,n,g,i+8|0),N=i+16|0},function(r,e,i,a){r|=0,e|=0,i|=0,a|=0;var f,n=0,t=0;N=f=N-48|0,b[f+44>>2]=a,b[f+40>>2]=19460,t=b[(n=e+8|0)+4>>2],b[(a=f+16|0)>>2]=b[n>>2],b[a+4>>2]=t,t=b[(n=i+8|0)+4>>2],b[(a=f+32|0)>>2]=b[n>>2],b[a+4>>2]=t,a=b[e+4>>2],b[f+8>>2]=b[e>>2],b[f+12>>2]=a,e=b[i+4>>2],b[f+24>>2]=b[i>>2],b[f+28>>2]=e,Zi(r+4|0,b[r+4>>2],f+8|0,f+40|0),Zi(r=r+44|0,b[r>>2],f+8|0,f+40|0),N=f+48|0},function(r,e){(function(r,e){var i,a,n=0,t=0,g=0,d=0,_=0,m=0,h=0,G=0,y=0,Q=0,p=B(0);if(N=i=N-32|0,te(a=r+4|0,1+((0|R(b[r+112>>2],b[r+16>>2]))/100|0)|0),b[r+124>>2]&&(te(r+44|0,n=1+((0|R(b[r+108>>2],b[r+56>>2]))/100|0)|0),n=b[(t=r+124|0)>>2]-n|0,b[t>>2]=(0|n)>0?n:0),t=(b[r+104>>2]+1|0)%2|0,b[r+104>>2]=t,n=b[84+((t<<2)+r|0)>>2]){for(h=r+44|0,_=i+16|0,m=r+92|0;;){t=b[(d=n+56|0)>>2];A:{r:{if(!(g=b[n+52>>2])){if(b[84+((b[n+60>>2]<<2)+r|0)>>2]=t,g=b[d>>2])break r;break A}if(b[g+56>>2]=t,!(g=b[d>>2]))break A}b[g+52>>2]=b[n+52>>2]}if(b[n+52>>2]=0,b[d>>2]=b[m>>2],(g=b[m>>2])&&(b[g+52>>2]=n),b[m>>2]=n,ue(a,b[n+48>>2]),g=b[(d=n+24|0)+4>>2],b[(G=i+8|0)>>2]=b[d>>2],b[G+4>>2]=g,y=b[n+16>>2],Q=b[n+20>>2],g=b[n+36>>2],b[_>>2]=b[n+32>>2],b[_+4>>2]=g,g=b[(d=n+40|0)+4>>2],b[(G=_+8|0)>>2]=b[d>>2],b[G+4>>2]=g,b[i>>2]=y,b[i+4>>2]=Q,g=ke(h,i,n),b[n+60>>2]=2,b[n+48>>2]=g,!(n=t))break}f[r+154|0]=1,b[r+124>>2]=b[r+56>>2]}if(b[i>>2]=19316,b[i+4>>2]=r,C[r+153|0]&&(Ei(a,b[r+4>>2],b[r+44>>2],i),C[r+153|0]&&Ei(a,t=b[a>>2],t,i)),C[r+154|0]&&(t=b[r+96>>2],y=0|BA[b[b[t>>2]+28>>2]](t),!((0|(g=b[y+4>>2]))<1))){m=r+144|0;A:{if((0|(h=(0|g)<(0|(t=(0|(n=b[r+120>>2]))>(0|(t=(0|R(b[r+116>>2],g))/100|0))?n:t))?g:t))>=1){for(n=0,Q=y+12|0,G=r+96|0;t=b[Q>>2]+((b[m>>2]+n|0)%(0|g)<<4)|0,d=b[t>>2],_=b[d+48>>2],g=b[t+4>>2],t=b[g+48>>2],!(v[_>>2]<=v[t+16>>2]^1|v[_+16>>2]>=v[t>>2]^1|v[_+4>>2]<=v[t+20>>2]^1|v[_+20>>2]>=v[t+4>>2]^1)&&v[_+8>>2]<=v[t+24>>2]&&v[_+24>>2]>=v[t+8>>2]||(t=b[G>>2],BA[b[b[t>>2]+12>>2]](t,d,g,e),n=n+-1|0,h=h+-1|0),g=b[y+4>>2],(0|(n=n+1|0))<(0|h););if(m=r+144|0,n=0,(0|g)<=0)break A}n=(b[m>>2]+h|0)%(0|g)|0}b[m>>2]=n}b[r+120>>2]=1,f[r+154|0]=0,b[r+140>>2]=b[r+140>>2]+1,t=b[r+132>>2],n=r,e=b[r+128>>2],p=B(e?B(t>>>0)/B(e>>>0):0),v[n+136>>2]=p,b[r+132>>2]=t>>>1,b[r+128>>2]=e>>>1,N=i+32|0})(r|=0,e|=0),function(r,e){var i,a=0,n=0,t=0,g=0,d=0,_=0,R=0,B=0,m=0,h=0,G=0,y=0;if(N=i=N-16|0,a=b[r+96>>2],BA[b[b[a>>2]+56>>2]](a)){if(a=b[r+96>>2],n=0|BA[b[b[a>>2]+28>>2]](a),(0|(t=b[n+4>>2]))>=2&&(Ni(n,i+8|0,0,t+-1|0),t=b[n+4>>2]),(0|t)>=1){for(G=n+12|0,y=r+96|0,a=0;;){_=b[G>>2]+h|0,r=b[_+4>>2],g=R,R=b[_>>2];A:{r:if((0|r)!=(0|a)||(0|g)!=(0|R)){if(g=b[R+48>>2],d=b[r+48>>2],!(v[g>>2]<=v[d+16>>2]^1|v[g+16>>2]>=v[d>>2]^1|v[g+4>>2]<=v[d+20>>2]^1|v[g+20>>2]>=v[d+4>>2]^1)&&v[g+8>>2]<=v[d+24>>2]){if(a=r,!(v[g+24>>2]>=v[d+8>>2]))break r;break A}a=r}r=b[y>>2],BA[b[b[r>>2]+32>>2]](r,_,e),b[_>>2]=0,b[_+4>>2]=0,B=B+1|0,t=b[n+4>>2]}if(h=h+16|0,!((0|(m=m+1|0))<(0|t)))break}if((0|t)>=2&&(Ni(n,i,0,t+-1|0),t=b[n+4>>2]),e=t-B|0,(0|B)<=-1){if(b[n+8>>2]<(0|e)){A:{r:{if(e){if(m=CA(e<<4,16),(0|(a=b[n+4>>2]))>=1)break r;break A}if(m=0,(0|(a=t))<1)break A}for(r=12;R=r+m|0,g=b[n+12>>2]+r|0,b[R+-12>>2]=b[g+-12>>2],h=b[(_=g+-8|0)+4>>2],b[(d=R+-8|0)>>2]=b[_>>2],b[d+4>>2]=h,b[R>>2]=b[g>>2],r=r+16|0,a=a+-1|0;);}(r=b[n+12>>2])&&(C[n+16|0]&&gA(r),b[n+12>>2]=0),f[n+16|0]=1,b[n+12>>2]=m,b[n+8>>2]=e}for(r=t<<4,t=n+12|0;a=b[t>>2]+r|0,b[a>>2]=0,b[a+4>>2]=0,b[(a=a+8|0)>>2]=0,b[a+4>>2]=0,r=r+16|0,B=B+1|0;);}t=e}b[n+4>>2]=t}N=i+16|0}(r,e)},br,br,function(r,e,i){r|=0,e|=0,i|=0;var a,f=B(0),n=B(0),t=B(0),C=B(0),g=B(0),d=B(0),_=B(0),R=B(0);a=b[r+44>>2];A:r:{e:{i:{if(r=b[r+4>>2]){if(t=v[r>>2],!a)break i;if(C=(f=v[r+20>>2])>(n=v[a+20>>2])?f:n,g=(f=v[r+8>>2])<(n=v[a+8>>2])?f:n,d=(f=v[r+4>>2])<(n=v[a+4>>2])?f:n,_=(f=v[r+16>>2])>(n=v[a+16>>2])?f:n,t=t<(f=v[a>>2])?t:f,!((f=v[r+24>>2])>(n=v[a+24>>2])))break e;break A}if(!a)break r;n=v[a+28>>2],f=v[a+24>>2],C=v[a+20>>2],_=v[a+16>>2],R=v[a+12>>2],g=v[a+8>>2],d=v[a+4>>2],t=v[a>>2];break A}n=v[r+28>>2],f=v[r+24>>2],C=v[r+20>>2],_=v[r+16>>2],R=v[r+12>>2],g=v[r+8>>2],d=v[r+4>>2];break A}f=n;break A}v[e+12>>2]=R,v[e+8>>2]=g,v[e+4>>2]=d,v[e>>2]=t,v[i+12>>2]=n,v[i+8>>2]=f,v[i+4>>2]=C,v[i>>2]=_},function(r,e){e|=0,b[(r|=0)+16>>2]==(0-b[r+56>>2]|0)&&(ne(r+4|0),ne(r+44|0),f[r+153|0]=256,f[r+154|0]=1,b[r+124>>2]=0,b[r+104>>2]=0,b[r+116>>2]=10,b[r+120>>2]=1,b[r+108>>2]=1,b[r+112>>2]=0,b[r+92>>2]=0,b[(e=r+84|0)>>2]=0,b[e+4>>2]=0,b[(e=r+144|0)>>2]=0,b[e+4>>2]=0,b[(e=r+136|0)>>2]=0,b[e+4>>2]=0,b[r+128>>2]=0,b[r+132>>2]=0)},Ae,Cr,function(r,e,i){r|=0;var a=0;(0|(e|=0))!=(0|(i|=0))&&(a=b[b[r+4>>2]+96>>2],BA[b[b[a>>2]+8>>2]](a,b[e+36>>2],b[i+36>>2]),r=b[r+4>>2],b[r+120>>2]=b[r+120>>2]+1)},function(r,e){e|=0,BA[b[b[(r|=0)>>2]+8>>2]](r,e,b[b[r+8>>2]+48>>2])},Cr,Vi,Cr,Vi,function(r){var e,i=0;return b[(r|=0)>>2]=19556,(e=b[(i=r+556|0)>>2])&&(C[r+560|0]&&gA(e),b[r+556>>2]=0),b[i>>2]=0,f[r+560|0]=1,b[(i=r+548|0)>>2]=0,b[i+4>>2]=0,Nr(r),0|r},function(r){var e,i=0;b[(r|=0)>>2]=19556,(e=b[(i=r+556|0)>>2])&&(C[r+560|0]&&gA(e),b[r+556>>2]=0),b[i>>2]=0,f[r+560|0]=1,b[(i=r+548|0)>>2]=0,b[i+4>>2]=0,Nr(r),gA(r)},function(r){return 496},function(r,e,i){return Jr(r|=0,e|=0,i|=0),b[e+264>>2]=b[r+324>>2],b[e+268>>2]=b[r+328>>2],b[e+272>>2]=b[r+332>>2],b[e+276>>2]=b[r+336>>2],b[e+280>>2]=b[r+340>>2],b[e+284>>2]=b[r+344>>2],b[e+288>>2]=b[r+348>>2],b[e+292>>2]=b[r+352>>2],b[e+296>>2]=b[r+356>>2],b[e+300>>2]=b[r+360>>2],b[e+304>>2]=b[r+364>>2],b[e+308>>2]=b[r+368>>2],b[e+312>>2]=b[r+372>>2],b[e+316>>2]=b[r+376>>2],b[e+320>>2]=b[r+380>>2],b[e+324>>2]=b[r+384>>2],b[e+328>>2]=b[r+388>>2],b[e+332>>2]=b[r+392>>2],b[e+336>>2]=b[r+396>>2],b[e+340>>2]=b[r+400>>2],b[e+456>>2]=b[r+404>>2],b[e+344>>2]=b[r+604>>2],b[e+348>>2]=b[r+608>>2],b[e+352>>2]=b[r+612>>2],b[e+356>>2]=b[r+616>>2],b[e+360>>2]=b[r+408>>2],b[e+364>>2]=b[r+412>>2],b[e+368>>2]=b[r+416>>2],b[e+372>>2]=b[r+420>>2],b[e+376>>2]=b[r+424>>2],b[e+380>>2]=b[r+428>>2],b[e+384>>2]=b[r+432>>2],b[e+388>>2]=b[r+436>>2],b[e+392>>2]=b[r+440>>2],b[e+396>>2]=b[r+444>>2],b[e+400>>2]=b[r+448>>2],b[e+404>>2]=b[r+452>>2],b[e+408>>2]=b[r+456>>2],b[e+412>>2]=b[r+460>>2],b[e+416>>2]=b[r+464>>2],b[e+420>>2]=b[r+468>>2],b[e+424>>2]=b[r+472>>2],b[e+428>>2]=b[r+476>>2],b[e+432>>2]=b[r+480>>2],b[e+436>>2]=b[r+484>>2],b[e+440>>2]=b[r+488>>2],b[e+444>>2]=b[r+492>>2],b[e+448>>2]=b[r+496>>2],b[e+452>>2]=b[r+500>>2],i=b[r+508>>2],b[e+460>>2]=b[r+504>>2],b[e+464>>2]=i,i=b[r+520>>2],b[e+468>>2]=b[r+516>>2],b[e+472>>2]=i,i=b[r+528>>2],b[e+476>>2]=b[r+524>>2],b[e+480>>2]=i,i=b[r+536>>2],b[e+484>>2]=b[r+532>>2],b[e+488>>2]=i,b[e+492>>2]=C[r+512|0],19584},function(r,e){var i,a,f=0,n=0,t=0,C=0;n=e|=0,t=0|BA[b[b[(r|=0)>>2]+16>>2]](r),C=1,f=b[b[e>>2]+16>>2],a=0|BA[f](0|n,0|t,0|C),C=e,t=a,n=0|BA[b[b[r>>2]+20>>2]](r,b[a+8>>2],e),i=r,f=b[b[e>>2]+20>>2],BA[f](0|C,0|t,0|n,1497645650,0|i)},function(r,e,i){r|=0,e|=0,i|=0;var a=B(0),f=B(0),n=B(0),t=B(0),C=0,g=0,d=0,_=0,R=0,m=B(0),h=B(0),G=B(0);return(f=v[i+128>>2])!=B(0)&&(b[704]=b[704]+1,a=v[i+96>>2],n=B(f-B(a*v[i+116>>2])),t=v[i+16>>2],m=v[i+20>>2],C=r+148|0,h=v[i+24>>2],d=r+152|0,_=r+164|0,R=r+168|0,f=v[i+108>>2],f=B(B(n-B(B(B(B(B(t*v[r+144>>2])+B(m*v[C>>2]))+B(h*v[d>>2]))+B(B(B(v[i>>2]*v[r+160>>2])+B(v[i+4>>2]*v[_>>2]))+B(v[i+8>>2]*v[R>>2])))*f))-B(f*B(B(B(B(v[i+48>>2]*v[e+144>>2])+B(v[i+52>>2]*v[e+148>>2]))+B(v[i+56>>2]*v[e+152>>2]))+B(B(B(v[i+32>>2]*v[e+160>>2])+B(v[i+36>>2]*v[e+164>>2]))+B(v[i+40>>2]*v[e+168>>2]))))),g=(G=B(a+f))<(n=v[i+120>>2]),v[i+96>>2]=g?n:G,a=g?B(n-a):f,b[r+240>>2]&&(v[(g=r+144|0)>>2]=B(v[r+112>>2]*B(a*B(t*v[r+128>>2])))+v[g>>2],v[C>>2]=B(B(a*B(m*v[r+132>>2]))*v[r+116>>2])+v[C>>2],v[d>>2]=B(B(a*B(h*v[r+136>>2]))*v[r+120>>2])+v[d>>2],f=v[i+72>>2],n=v[i+68>>2],v[(C=r+160|0)>>2]=B(B(a*v[r+96>>2])*v[i+64>>2])+v[C>>2],t=v[r+104>>2],v[_>>2]=B(n*B(a*v[r+100>>2]))+v[_>>2],v[R>>2]=B(f*B(a*t))+v[R>>2]),b[e+240>>2]&&(f=v[i+56>>2],n=v[i+52>>2],v[(r=e+144|0)>>2]=B(v[e+112>>2]*B(a*B(v[i+48>>2]*v[e+128>>2])))+v[r>>2],v[(r=e+148|0)>>2]=B(B(a*B(n*v[e+132>>2]))*v[e+116>>2])+v[r>>2],v[(r=e+152|0)>>2]=B(B(a*B(f*v[e+136>>2]))*v[e+120>>2])+v[r>>2],f=v[i+88>>2],n=v[i+84>>2],v[(r=e+160|0)>>2]=B(B(a*v[e+96>>2])*v[i+80>>2])+v[r>>2],t=v[e+104>>2],v[(r=e+164|0)>>2]=B(n*B(a*v[e+100>>2]))+v[r>>2],v[(r=e+168|0)>>2]=B(f*B(a*t))+v[r>>2])),B(a)},function(r,e,i){r|=0,e|=0,i|=0;var a,f,n,t=B(0),C=B(0),g=B(0),d=B(0),_=0,R=0,m=B(0),h=B(0),G=B(0);return t=v[i+100>>2],d=v[i+16>>2],m=v[i+20>>2],_=r+68|0,h=v[i+24>>2],a=r+72|0,f=r+84|0,n=r+88|0,C=v[i+108>>2],C=B(B(B(v[i+112>>2]-B(t*v[i+116>>2]))-B(B(B(B(B(d*v[r+64>>2])+B(m*v[_>>2]))+B(h*v[a>>2]))+B(B(B(v[i>>2]*v[r+80>>2])+B(v[i+4>>2]*v[f>>2]))+B(v[i+8>>2]*v[n>>2])))*C))-B(C*B(B(B(B(v[i+48>>2]*v[e+64>>2])+B(v[i+52>>2]*v[e+68>>2]))+B(v[i+56>>2]*v[e+72>>2]))+B(B(B(v[i+32>>2]*v[e+80>>2])+B(v[i+36>>2]*v[e+84>>2]))+B(v[i+40>>2]*v[e+88>>2]))))),R=(G=B(t+C))<(g=v[i+120>>2]),v[i+100>>2]=R?g:G,t=R?B(g-t):C,b[r+240>>2]&&(v[(R=r- -64|0)>>2]=B(v[r+112>>2]*B(t*B(d*v[r+128>>2])))+v[R>>2],v[_>>2]=B(B(t*B(m*v[r+132>>2]))*v[r+116>>2])+v[_>>2],v[a>>2]=B(B(t*B(h*v[r+136>>2]))*v[r+120>>2])+v[a>>2],C=v[i+72>>2],g=v[i+68>>2],v[(_=r+80|0)>>2]=B(B(t*v[r+96>>2])*v[i+64>>2])+v[_>>2],d=v[r+104>>2],v[f>>2]=B(g*B(t*v[r+100>>2]))+v[f>>2],v[n>>2]=B(C*B(t*d))+v[n>>2]),b[e+240>>2]&&(C=v[i+56>>2],g=v[i+52>>2],v[(r=e- -64|0)>>2]=B(v[e+112>>2]*B(t*B(v[i+48>>2]*v[e+128>>2])))+v[r>>2],v[(r=e+68|0)>>2]=B(B(t*B(g*v[e+132>>2]))*v[e+116>>2])+v[r>>2],v[(r=e+72|0)>>2]=B(B(t*B(C*v[e+136>>2]))*v[e+120>>2])+v[r>>2],C=v[i+88>>2],g=v[i+84>>2],v[(r=e+80|0)>>2]=B(B(t*v[e+96>>2])*v[i+80>>2])+v[r>>2],d=v[e+104>>2],v[(r=e+84|0)>>2]=B(g*B(t*v[e+100>>2]))+v[r>>2],v[(r=e+88|0)>>2]=B(C*B(t*d))+v[r>>2]),B(t)},function(r,e,i){r|=0,e|=0,i|=0;var a=B(0),f=B(0),n=0,t=B(0),C=B(0),g=B(0),d=B(0),_=B(0);return C=v[i+100>>2],g=v[i+16>>2],d=v[i+20>>2],_=v[i+24>>2],f=v[i+108>>2],a=B(B(B(v[i+112>>2]-B(C*v[i+116>>2]))-B(B(B(B(B(g*v[r+64>>2])+B(d*v[r+68>>2]))+B(_*v[r+72>>2]))+B(B(B(v[i>>2]*v[r+80>>2])+B(v[i+4>>2]*v[r+84>>2]))+B(v[i+8>>2]*v[r+88>>2])))*f))-B(f*B(B(B(B(v[i+48>>2]*v[e+64>>2])+B(v[i+52>>2]*v[e+68>>2]))+B(v[i+56>>2]*v[e+72>>2]))+B(B(B(v[i+32>>2]*v[e+80>>2])+B(v[i+36>>2]*v[e+84>>2]))+B(v[i+40>>2]*v[e+88>>2]))))),(f=B(C+a))<(t=v[i+120>>2])?(a=B(t-C),f=t):f>(t=v[i+124>>2])&&(a=B(t-C),f=t),v[i+100>>2]=f,b[r+240>>2]&&(v[(n=r- -64|0)>>2]=B(v[r+112>>2]*B(a*B(g*v[r+128>>2])))+v[n>>2],v[(n=r+68|0)>>2]=B(B(a*B(d*v[r+132>>2]))*v[r+116>>2])+v[n>>2],v[(n=r+72|0)>>2]=B(B(a*B(_*v[r+136>>2]))*v[r+120>>2])+v[n>>2],f=v[i+72>>2],t=v[i+68>>2],v[(n=r+80|0)>>2]=B(B(a*v[r+96>>2])*v[i+64>>2])+v[n>>2],C=v[r+104>>2],v[(n=r+84|0)>>2]=B(t*B(a*v[r+100>>2]))+v[n>>2],v[(r=r+88|0)>>2]=B(f*B(a*C))+v[r>>2]),b[e+240>>2]&&(f=v[i+56>>2],t=v[i+52>>2],v[(r=e- -64|0)>>2]=B(v[e+112>>2]*B(a*B(v[i+48>>2]*v[e+128>>2])))+v[r>>2],v[(r=e+68|0)>>2]=B(B(a*B(t*v[e+132>>2]))*v[e+116>>2])+v[r>>2],v[(r=e+72|0)>>2]=B(B(a*B(f*v[e+136>>2]))*v[e+120>>2])+v[r>>2],f=v[i+88>>2],t=v[i+84>>2],v[(r=e+80|0)>>2]=B(B(a*v[e+96>>2])*v[i+80>>2])+v[r>>2],C=v[e+104>>2],v[(r=e+84|0)>>2]=B(t*B(a*v[e+100>>2]))+v[r>>2],v[(r=e+88|0)>>2]=B(f*B(a*C))+v[r>>2]),B(a)},Aa,function(r){gA(Aa(r|=0))},Yr,function(r,e,i,a,f,n,t,C,g,d){return r|=0,e|=0,i|=0,a|=0,f|=0,n|=0,t|=0,C|=0,g|=0,d|=0,N=d=N-16|0,$e(d+8|0,19755),B(BA[b[b[r>>2]+44>>2]](r,e,i,a,f,n,t,C,g)),B(BA[b[b[r>>2]+48>>2]](r,e,i,a,f,n,t,C,g)),B(BA[b[b[r>>2]+36>>2]](r,e,i,C)),Ai(),N=d+16|0,B(B(0))},Yr,function(r){b[(r|=0)+232>>2]=0},Fr,function(r,e,i,a){if(r|=0,e|=0,a|=0,(0|(i|=0))>=1)for(;ta(r,b[e>>2],a),e=e+4|0,i=i+-1|0;);},function(r,e,i,a,f,n,t,C,g){r|=0,e|=0,i|=0,a|=0,f|=0,n|=0,t|=0,C|=0,g|=0;var d=B(0),_=0,m=0,h=0,G=B(0);A:if(!(!b[C+52>>2]|b[C+20>>2]<1))for(e=0,a=r+28|0,f=r+116|0,n=r+36|0,t=r+16|0,g=r+220|0,m=C+92|0,h=C+20|0;;){if(d=B(0),(0|(r=b[a>>2]))>=1)for(C=0;G=d,_=b[t>>2],i=b[n>>2]+R(b[b[f>>2]+C>>2],152)|0,d=B(BA[b[g>>2]](_+R(b[i+144>>2],244)|0,R(b[i+148>>2],244)+_|0,i)),d=B(G+B(d*d)),C=C+4|0,r=r+-1|0;);if(d<=v[m>>2])break A;if((0|e)>=((r=b[h>>2])+-1|0))break A;if(!((0|(e=e+1|0))<(0|r)))break}},function(r,e,i,a){r|=0,e|=0,i|=0,a|=0;var n=0,t=0,g=0,d=0,_=B(0),h=B(0),G=0,y=0,Q=B(0),p=B(0),D=B(0),w=B(0),Z=0,Y=0;if(4&(G=b[a+72>>2])&&!((0|(t=b[r+28>>2]))<1))if(i=b[r+76>>2],e=b[r+36>>2],16&G)for(e=e+140|0;G=b[e+-8>>2],b[G+124>>2]=b[e+-40>>2],d=i+R(b[e>>2],152)|0,b[G+128>>2]=b[d+100>>2],b[G+132>>2]=b[d+252>>2],e=e+152|0,t=t+-1|0;);else for(e=e+140|0;G=b[e+-8>>2],b[G+124>>2]=b[e+-40>>2],b[G+128>>2]=b[100+(i+R(b[e>>2],152)|0)>>2],e=e+152|0,t=t+-1|0;);if((0|(Z=b[r+48>>2]))>=1)for(G=100,Y=r+56|0,n=a+12|0;i=b[Y>>2]+G|0,t=b[i+32>>2],(e=b[t+44>>2])&&(d=b[t+28>>2],Q=v[d+416>>2],p=v[i+-76>>2],D=v[d+412>>2],w=v[i+-80>>2],_=v[i>>2],h=B(B(1)/v[n>>2]),v[e>>2]=v[e>>2]+B(B(B(v[i+-84>>2]*_)*v[d+408>>2])*h),v[e+4>>2]=B(B(D*B(_*w))*h)+v[e+4>>2],v[e+8>>2]=B(B(Q*B(_*p))*h)+v[e+8>>2],g=b[t+32>>2],Q=v[g+416>>2],p=v[i+-44>>2],D=v[g+412>>2],w=v[i+-48>>2],_=v[i>>2],h=B(B(1)/v[n>>2]),v[e+32>>2]=v[e+32>>2]+B(B(B(v[i+-52>>2]*_)*v[g+408>>2])*h),v[(y=e+36|0)>>2]=B(B(D*B(_*w))*h)+v[y>>2],v[(y=e+40|0)>>2]=B(B(Q*B(_*p))*h)+v[y>>2],Q=v[d+612>>2],p=v[i+-92>>2],D=v[d+608>>2],w=v[i+-96>>2],_=v[i>>2],h=B(B(1)/v[n>>2]),v[e+16>>2]=v[e+16>>2]+B(B(B(v[i+-100>>2]*v[d+604>>2])*_)*h),v[(d=e+20|0)>>2]=B(B(_*B(w*D))*h)+v[d>>2],v[(d=e+24|0)>>2]=B(B(_*B(p*Q))*h)+v[d>>2],Q=v[g+612>>2],p=v[i+-60>>2],D=v[g+608>>2],w=v[i+-64>>2],_=v[i>>2],h=B(B(1)/v[n>>2]),v[e+48>>2]=v[e+48>>2]+B(B(B(v[i+-68>>2]*v[g+604>>2])*_)*h),v[(d=e+52|0)>>2]=B(B(_*B(w*D))*h)+v[d>>2],v[(e=e+56|0)>>2]=B(B(_*B(p*Q))*h)+v[e>>2]),_=v[i>>2],v[t+36>>2]=_,B(m(_))>=v[t+16>>2]&&(f[t+20|0]=0),G=G+152|0,Z=Z+-1|0;);if((0|(n=b[(Y=r+8|0)>>2]))>=1)for(g=b[(d=r+16|0)>>2],e=176,Z=a+52|0,G=0;(t=b[(i=e+g|0)- -64>>2])&&(b[Z>>2]?(ba(i+-176|0,v[a+12>>2],v[a+60>>2]),g=b[d>>2],Q=v[(i=g+e|0)>>2],_=v[i+8>>2],h=v[i+4>>2],t=b[i- -64>>2]):(Q=B(v[i+-112>>2]+v[i>>2]),v[i>>2]=Q,n=i+4|0,h=B(v[i+-108>>2]+v[n>>2]),v[n>>2]=h,n=i+8|0,_=B(v[i+-104>>2]+v[n>>2]),v[n>>2]=_,v[(n=i+16|0)>>2]=v[i+-96>>2]+v[n>>2],v[(n=i+20|0)>>2]=v[i+-92>>2]+v[n>>2],v[(n=i+24|0)>>2]=v[i+-88>>2]+v[n>>2]),p=v[(i=e+g|0)+32>>2],D=v[i+36>>2],w=v[i+40>>2],b[t+384>>2]=0,v[t+380>>2]=_+w,v[t+376>>2]=h+D,v[t+372>>2]=Q+p,b[t+304>>2]=b[t+304>>2]+1,i=b[d>>2]+e|0,_=v[i+16>>2],h=v[i+48>>2],Q=v[i+20>>2],p=v[i+52>>2],D=v[i+24>>2],w=v[i+56>>2],i=b[i- -64>>2],b[i+400>>2]=0,v[i+396>>2]=D+w,v[i+392>>2]=Q+p,v[i+388>>2]=_+h,b[i+304>>2]=b[i+304>>2]+1,b[Z>>2]&&(t=b[d>>2]+e|0,i=b[t- -64>>2],b[i+304>>2]=b[i+304>>2]+1,y=b[(n=t+-168|0)+4>>2],b[(g=i+12|0)>>2]=b[n>>2],b[g+4>>2]=y,n=b[(g=t+-176|0)+4>>2],b[i+4>>2]=b[g>>2],b[i+8>>2]=n,y=b[(n=t+-152|0)+4>>2],b[(g=i+28|0)>>2]=b[n>>2],b[g+4>>2]=y,y=b[(n=t+-160|0)+4>>2],b[(g=i+20|0)>>2]=b[n>>2],b[g+4>>2]=y,y=b[(n=t+-136|0)+4>>2],b[(g=i+44|0)>>2]=b[n>>2],b[g+4>>2]=y,y=b[(n=t+-144|0)+4>>2],b[(g=i+36|0)>>2]=b[n>>2],b[g+4>>2]=y,y=b[(n=t+-128|0)+4>>2],b[(g=i+52|0)>>2]=b[n>>2],b[g+4>>2]=y,g=b[(t=t+-120|0)+4>>2],b[(i=i+60|0)>>2]=b[t>>2],b[i+4>>2]=g),g=b[d>>2],b[b[(g+e|0)- -64>>2]+212>>2]=-1,n=b[Y>>2]),e=e+244|0,(0|(G=G+1|0))<(0|n););return b[(e=r+28|0)>>2]>-1|b[r+32>>2]>-1||((i=b[r+36>>2])&&(C[r+40|0]&&gA(i),b[r+36>>2]=0),f[r+40|0]=1,b[(i=r+32|0)>>2]=0,b[i+4>>2]=0),b[e>>2]=0,b[(e=r+48|0)>>2]>-1|b[r+52>>2]>-1||((i=b[r+56>>2])&&(C[r+60|0]&&gA(i),b[r+56>>2]=0),f[r+60|0]=1,b[(i=r+52|0)>>2]=0,b[i+4>>2]=0),b[e>>2]=0,b[(e=r+68|0)>>2]>-1|b[r+72>>2]>-1||((i=b[r+76>>2])&&(C[r+80|0]&&gA(i),b[r+76>>2]=0),f[r+80|0]=1,b[(i=r+72|0)>>2]=0,b[i+4>>2]=0),b[e>>2]=0,b[(e=r+88|0)>>2]>-1|b[r+92>>2]>-1||((i=b[r+96>>2])&&(C[r+100|0]&&gA(i),b[r+96>>2]=0),f[r+100|0]=1,b[(i=r+92|0)>>2]=0,b[i+4>>2]=0),b[e>>2]=0,e=r+8|0,b[r+12>>2]<=-1&&b[e>>2]<=-1?((i=b[r+16>>2])&&(C[r+20|0]&&gA(i),b[r+16>>2]=0),f[r+20|0]=1,b[(r=r+12|0)>>2]=0,b[r+4>>2]=0,b[e>>2]=0,B(B(0))):(b[e>>2]=0,B(B(0)))},function(r,e,i,a,n,t,g,d,_,m){r|=0,e|=0,i|=0,a|=0,n|=0,t|=0,g|=0,d|=0,_|=0,m|=0;var h=B(0),G=B(0),y=0,Q=0,p=0,D=0,w=0,Z=B(0),Y=0,W=0,F=0;if(Y=r+48|0,1&f[_+72|0]){if(D=b[r+68>>2],Q=b[r+28>>2],(0|(p=b[Y>>2]))>=1){if(i=R(b[r+232>>2],1664525)+1013904223|0,1!=(0|p)&&(m=b[r+136>>2],a=b[m+4>>2],n=(i=R(i,1664525)+1013904223|0)^i>>>16,n^=n>>>8,n^=n>>>4,n=m+((1&((n^=n>>>2)>>>1^n))<<2)|0,b[m+4>>2]=b[n>>2],b[n>>2]=a,2!=(0|p)&&(a=b[m+8>>2],n=(i=R(i,1664525)+1013904223|0)^i>>>16,n^=n>>>8,n=m+((((n^=n>>>4)>>>2^n)>>>0)%3<<2)|0,b[m+8>>2]=b[n>>2],b[n>>2]=a,3!=(0|p)&&(a=b[m+12>>2],n=(i=R(i,1664525)+1013904223|0)^i>>>16,n^=n>>>8,n=m+((3&((n^=n>>>4)>>>2^n))<<2)|0,b[m+12>>2]=b[n>>2],b[n>>2]=a,4!=(0|p)))))for(t=m+16|0,a=4;w=b[t>>2],W=t,F=m,y=i=R(i,1664525)+1013904223|0,(a=a+1|0)>>>0>65536||(y=n=i>>>16^i,a>>>0>256||(y=n^=n>>>8,a>>>0>16||(y=n>>>4^n))),n=F+((y>>>0)%(a>>>0)<<2)|0,b[W>>2]=b[n>>2],b[n>>2]=w,t=t+4|0,(0|a)!=(0|p););b[r+232>>2]=i}if(!(b[_+20>>2]<=(0|e))){if((0|Q)>=1){if(i=R(b[r+232>>2],1664525)+1013904223|0,1!=(0|Q)&&(m=b[r+116>>2],a=b[m+4>>2],n=(i=R(i,1664525)+1013904223|0)^i>>>16,n^=n>>>8,n^=n>>>4,n=m+((1&((n^=n>>>2)>>>1^n))<<2)|0,b[m+4>>2]=b[n>>2],b[n>>2]=a,2!=(0|Q)&&(a=b[m+8>>2],n=(i=R(i,1664525)+1013904223|0)^i>>>16,n^=n>>>8,n=m+((((n^=n>>>4)>>>2^n)>>>0)%3<<2)|0,b[m+8>>2]=b[n>>2],b[n>>2]=a,3!=(0|Q)&&(a=b[m+12>>2],n=(i=R(i,1664525)+1013904223|0)^i>>>16,n^=n>>>8,n=m+((3&((n^=n>>>4)>>>2^n))<<2)|0,b[m+12>>2]=b[n>>2],b[n>>2]=a,4!=(0|Q)))))for(t=m+16|0,a=4;p=b[t>>2],W=t,F=m,y=i=R(i,1664525)+1013904223|0,(a=a+1|0)>>>0>65536||(y=n=i>>>16^i,a>>>0>256||(y=n^=n>>>8,a>>>0>16||(y=n>>>4^n))),n=F+((y>>>0)%(a>>>0)<<2)|0,b[W>>2]=b[n>>2],b[n>>2]=p,t=t+4|0,(0|a)!=(0|Q););b[r+232>>2]=i}if(!((0|D)<1)){if(i=R(b[r+232>>2],1664525)+1013904223|0,1!=(0|D)&&(m=b[r+156>>2],a=b[m+4>>2],n=(i=R(i,1664525)+1013904223|0)^i>>>16,n^=n>>>8,n^=n>>>4,n=m+((1&((n^=n>>>2)>>>1^n))<<2)|0,b[m+4>>2]=b[n>>2],b[n>>2]=a,2!=(0|D)&&(a=b[m+8>>2],n=(i=R(i,1664525)+1013904223|0)^i>>>16,n^=n>>>8,n=m+((((n^=n>>>4)>>>2^n)>>>0)%3<<2)|0,b[m+8>>2]=b[n>>2],b[n>>2]=a,3!=(0|D)&&(a=b[m+12>>2],n=(i=R(i,1664525)+1013904223|0)^i>>>16,n^=n>>>8,n=m+((3&((n^=n>>>4)>>>2^n))<<2)|0,b[m+12>>2]=b[n>>2],b[n>>2]=a,4!=(0|D)))))for(t=m+16|0,a=4;Q=b[t>>2],W=t,F=m,y=i=R(i,1664525)+1013904223|0,(a=a+1|0)>>>0>65536||(y=n=i>>>16^i,a>>>0>256||(y=n^=n>>>8,a>>>0>16||(y=n>>>4^n))),n=F+((y>>>0)%(a>>>0)<<2)|0,b[W>>2]=b[n>>2],b[n>>2]=Q,t=t+4|0,(0|a)!=(0|D););b[r+232>>2]=i}}}if((0|(n=b[Y>>2]))>=1)for(i=0,m=r+136|0,D=r+56|0,Q=r+16|0,p=r+212|0,Y=r+48|0,t=0;a=b[D>>2]+R(b[b[m>>2]+i>>2],152)|0,b[a+136>>2]>(0|e)&&(G=h,n=b[Q>>2],h=B(BA[b[p>>2]](n+R(b[a+144>>2],244)|0,n+R(b[a+148>>2],244)|0,a)),h=B(G+B(h*h)),n=b[Y>>2]),i=i+4|0,(0|(t=t+1|0))<(0|n););if(!(b[_+20>>2]<=(0|e))){if((0|d)>=1)for(e=_+12|0,i=r+16|0;a=b[g>>2],C[a+20|0]&&(a=ia(r,b[a+28>>2],v[e>>2]),n=ia(r,b[b[g>>2]+32>>2],v[e>>2]),t=b[g>>2],m=R(a,244),a=b[i>>2],BA[b[b[t>>2]+24>>2]](t,m+a|0,a+R(n,244)|0,v[e>>2])),g=g+4|0,d=d+-1|0;);i=b[r+28>>2];A:if(512&(e=b[_+72>>2])){if(!((0|i)<1))for(D=(16&e?2:1)<<2,t=0,Q=r+116|0,p=r+36|0,a=r+16|0,Y=r+216|0,n=r+76|0,d=r+156|0,m=r+212|0,_=_+72|0,g=0;G=h,w=b[a>>2],e=b[p>>2]+R(b[b[Q>>2]+g>>2],152)|0,h=B(BA[b[Y>>2]](w+R(b[e+144>>2],244)|0,w+R(b[e+148>>2],244)|0,e)),h=B(G+B(h*h)),(w=(G=v[e+100>>2])>B(0)^1)||(e=b[n>>2]+R(b[b[d>>2]+t>>2],152)|0,Z=B(G*v[e+104>>2]),v[e+124>>2]=Z,v[e+120>>2]=-Z,Z=h,y=b[a>>2],h=B(BA[b[m>>2]](y+R(b[e+144>>2],244)|0,y+R(b[e+148>>2],244)|0,e)),h=B(Z+B(h*h))),w|!(16&C[0|_])||(e=b[n>>2]+R(b[4+(b[d>>2]+t|0)>>2],152)|0,G=B(G*v[e+104>>2]),v[e+124>>2]=G,v[e+120>>2]=-G,G=h,w=b[a>>2],h=B(BA[b[m>>2]](w+R(b[e+144>>2],244)|0,w+R(b[e+148>>2],244)|0,e)),h=B(G+B(h*h))),t=t+D|0,g=g+4|0,i=i+-1|0;);}else{if((0|i)>=1)for(a=0,n=r+116|0,t=r+36|0,g=r+16|0,d=r+216|0;G=h,_=b[g>>2],e=b[t>>2]+R(b[b[n>>2]+a>>2],152)|0,h=B(BA[b[d>>2]](_+R(b[e+144>>2],244)|0,_+R(b[e+148>>2],244)|0,e)),h=B(G+B(h*h)),a=a+4|0,i=i+-1|0;);if((0|(g=b[r+68>>2]))<1)break A;for(a=0,i=r+156|0,n=r+76|0,t=r+36|0,d=r+16|0,_=r+212|0;e=b[n>>2]+R(b[b[i>>2]+a>>2],152)|0,(G=v[100+(b[t>>2]+R(b[e+140>>2],152)|0)>>2])>B(0)&&(G=B(G*v[e+104>>2]),v[e+124>>2]=G,v[e+120>>2]=-G,G=h,m=b[d>>2],h=B(BA[b[_>>2]](m+R(b[e+144>>2],244)|0,m+R(b[e+148>>2],244)|0,e)),h=B(G+B(h*h))),a=a+4|0,g=g+-1|0;);}if(!((0|(g=b[r+88>>2]))<1))for(a=0,e=r+96|0,i=r+36|0,n=r+16|0,t=r+212|0;r=b[e>>2]+a|0,(G=v[100+(b[i>>2]+R(b[r+140>>2],152)|0)>>2])>B(0)&&(Z=G,G=v[r+104>>2],G=(Z=B(Z*G))>G?G:Z,v[r+124>>2]=G,v[r+120>>2]=-G,G=h,d=b[n>>2],h=B(BA[b[t>>2]](d+R(b[r+144>>2],244)|0,d+R(b[r+148>>2],244)|0,r)),h=B(G+B(h*h))),a=a+152|0,g=g+-1|0;);}return B(h)},function(r,e,i,a,n,t,g,d,_){r|=0,e|=0,i|=0,a|=0,n|=0,t|=0,g|=0,d|=0,_|=0;var h=0,G=0,y=0,Q=0,p=0,D=0,w=0,Z=0,Y=0,W=B(0),F=B(0),E=B(0),j=B(0),Be=B(0),ui=B(0),gi=B(0),Ri=0,wi=B(0),Xi=0,Da=B(0),Ia=B(0),yf=B(0),Qf=B(0),pf=B(0),Df=B(0),wf=B(0),Zf=0,Yf=0,Wf=B(0),Ff=B(0),Ef=0,Nf=0,Vf=B(0),Xf=0,Jf=0,If=0,xf=0,Mf=B(0),Sf=B(0),Tf=B(0),Uf=B(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2],ui=v[D+8>>2],E=v[h>>2],v[p+224>>2]=v[p+224>>2]-B(B(B(B(W*v[_+324>>2])+B(F*v[_+340>>2]))+B(ui*v[_+356>>2]))*E),v[(w=p+228|0)>>2]=v[w>>2]-B(E*B(B(B(W*wi)+B(F*Ia))+B(ui*Da))),v[(p=p+232|0)>>2]=v[p>>2]-B(E*B(B(B(W*Be)+B(F*yf))+B(ui*j))),!(4&(p=b[Y>>2])))break e}else if(!(4&p))break e;if(Li(D,_,v[h>>2]),W=v[D+8>>2],F=v[D+4>>2],p=y+R(G,244)|0,v[p+224>>2]=v[D>>2]+v[p+224>>2],v[(w=p+228|0)>>2]=F+v[w>>2],v[(p=p+232|0)>>2]=W+v[p>>2],8&b[Y>>2])break r;break A}if(!(8&p))break A}Pi(D,_,v[h>>2]),W=v[D+8>>2],F=v[D+4>>2],_=y+R(G,244)|0,v[_+224>>2]=v[D>>2]+v[_+224>>2],v[(G=_+228|0)>>2]=F+v[G>>2],v[(_=_+232|0)>>2]=W+v[_>>2]}if(e=e+4|0,!(i=i+-1|0))break}if((0|g)>=1)for(_=t,e=g;i=b[_>>2],BA[b[b[i>>2]+8>>2]](i),b[i+36>>2]=0,_=_+4|0,e=e+-1|0;);if(!((0|(h=b[(i=r+168|0)>>2]))>=(0|g)|b[r+172>>2]>=(0|g))){A:{r:{if(g){if(e=CA(g<<3,16),(0|(h=b[r+168>>2]))>=1)break r;break A}if(e=0,(0|h)<1)break A}for(_=0,G=r+176|0;p=b[G>>2]+_|0,Y=b[p+4>>2],b[(y=e+_|0)>>2]=b[p>>2],b[y+4>>2]=Y,_=_+8|0,h=h+-1|0;);}(h=b[(_=r+176|0)>>2])&&(C[r+180|0]&&gA(h),b[r+176>>2]=0),b[_>>2]=e,f[r+180|0]=1,b[r+172>>2]=g}if(b[i>>2]=g,(0|g)>=1)for(i=0,p=r+176|0,e=t,G=g,y=0;Y=b[p>>2],h=b[e>>2],(_=b[h+44>>2])&&(b[_>>2]=0,b[_+4>>2]=0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=-8388609,b[Q+4>>2]=2139095039,b[_+148>>2]=Zf,b[_+144>>2]=y,b[(Q=_+96|0)>>2]=0,b[Q+4>>2]=0,b[_+136>>2]=Yf,_=_+152|0,(0|(i=i+1|0))>2];);if(y=Nf+R(y,244)|0,b[(i=y)+64>>2]=0,b[i+68>>2]=0,b[(i=i+88|0)>>2]=0,b[i+4>>2]=0,b[(i=y+80|0)>>2]=0,b[i+4>>2]=0,b[(i=y+72|0)>>2]=0,b[i+4>>2]=0,b[y+144>>2]=0,b[y+148>>2]=0,b[(i=y+168|0)>>2]=0,b[i+4>>2]=0,b[(i=y+160|0)>>2]=0,b[i+4>>2]=0,b[(i=y+152|0)>>2]=0,b[i+4>>2]=0,i=Nf+R(Zf,244)|0,b[(_=i+88|0)>>2]=0,b[_+4>>2]=0,b[(_=i+80|0)>>2]=0,b[_+4>>2]=0,b[(_=i+72|0)>>2]=0,b[_+4>>2]=0,b[i+64>>2]=0,b[i+68>>2]=0,b[(_=i+168|0)>>2]=0,b[_+4>>2]=0,b[(_=i+160|0)>>2]=0,b[_+4>>2]=0,b[(_=i+152|0)>>2]=0,b[_+4>>2]=0,b[i+144>>2]=0,b[i+148>>2]=0,b[Lf>>2]=e+112,b[Kf>>2]=38,b[D+20>>2]=e+32,b[D+16>>2]=e+48,b[D+12>>2]=e,b[qf>>2]=e+16,b[D+40>>2]=e+124,b[$f>>2]=e+120,b[D+32>>2]=e+116,b[e+116>>2]=b[d+40>>2],b[(Zf=D+48|0)>>2]=b[An>>2],b[rn>>2]=b[Xi>>2],b[D+4>>2]=b[d+32>>2],v[D>>2]=B(1)/v[w>>2],e=b[Xf>>2],BA[b[b[e>>2]+20>>2]](e,D),b[Z>>2]>=1)for(_=132+(p+Ef|0)|0,Ef=i+232|0,Nf=i+228|0,Yf=i+224|0,Q=i+216|0,an=i+212|0,fn=i+208|0,i=i+240|0,nn=y+232|0,tn=y+228|0,bn=y+224|0,on=y+216|0,kn=y+212|0,cn=y+208|0,y=y+240|0,p=0;e=_+-8|0,W=v[b[Xf>>2]+16>>2],v[e>>2]>=W&&(v[e>>2]=W),e=_+-12|0,W=B(-W),v[e>>2]<=W&&(v[e>>2]=W),b[_>>2]=Y,e=b[Y+28>>2],E=v[e+604>>2],j=v[e+332>>2],Be=v[e+328>>2],yf=v[e+324>>2],Da=v[e+608>>2],wi=v[e+348>>2],Ia=v[e+340>>2],pf=v[e+344>>2],W=v[e+612>>2],ui=v[e+364>>2],F=v[e+356>>2],gi=v[e+360>>2],b[_+-56>>2]=0,Qf=W,W=v[_+-132>>2],Df=B(F*W),F=v[_+-128>>2],wf=ui,ui=v[_+-124>>2],v[_+-60>>2]=Qf*B(B(Df+B(gi*F))+B(wf*ui)),v[_+-64>>2]=Da*B(B(B(W*Ia)+B(F*pf))+B(ui*wi)),v[_+-68>>2]=E*B(B(B(yf*W)+B(Be*F))+B(j*ui)),e=b[Y+32>>2],yf=v[e+604>>2],Da=v[e+332>>2],wi=v[e+328>>2],Ia=v[e+324>>2],pf=v[e+608>>2],gi=v[e+348>>2],Wf=v[e+340>>2],Ff=v[e+344>>2],E=v[e+612>>2],Be=v[e+364>>2],j=v[e+356>>2],Df=v[e+360>>2],b[_+-40>>2]=0,Qf=E,E=v[_+-100>>2],Vf=B(j*E),j=v[_+-96>>2],wf=Be,Be=v[_+-92>>2],v[_+-44>>2]=Qf*B(B(Vf+B(Df*j))+B(wf*Be)),v[_+-48>>2]=pf*B(B(B(E*Wf)+B(j*Ff))+B(Be*gi)),v[_+-52>>2]=yf*B(B(B(Ia*E)+B(wi*j))+B(Da*Be)),yf=B(0),Da=v[_+-116>>2],wi=v[G+404>>2],Ia=v[_+-112>>2],pf=v[_+-108>>2],Qf=B(B(B(B(Da*B(Da*wi))+B(Ia*B(wi*Ia)))+B(pf*B(wi*pf)))+B(B(B(W*B(B(B(W*v[G+324>>2])+B(F*v[G+328>>2]))+B(ui*v[G+332>>2])))+B(F*B(B(B(W*v[G+340>>2])+B(F*v[G+344>>2]))+B(ui*v[G+348>>2]))))+B(ui*B(B(B(W*v[G+356>>2])+B(F*v[G+360>>2]))+B(ui*v[G+364>>2]))))),wi=v[_+-84>>2],gi=v[h+404>>2],Wf=v[_+-80>>2],Ff=v[_+-76>>2],gi=B(B(Qf+B(B(B(wi*B(wi*gi))+B(Wf*B(gi*Wf)))+B(Ff*B(gi*Ff))))+B(B(B(E*B(B(B(E*v[h+324>>2])+B(j*v[h+328>>2]))+B(Be*v[h+332>>2])))+B(j*B(B(B(E*v[h+340>>2])+B(j*v[h+344>>2]))+B(Be*v[h+348>>2]))))+B(Be*B(B(B(E*v[h+356>>2])+B(j*v[h+360>>2]))+B(Be*v[h+364>>2]))))),gi=B(m(gi))>B(1.1920928955078125e-7)?B(B(1)/gi):B(0),v[_+-24>>2]=gi,Df=B(0),Qf=B(0),wf=B(0),Vf=B(0),Mf=B(0),Sf=B(0),b[y>>2]&&(Sf=v[nn>>2],Mf=v[tn>>2],Vf=v[bn>>2],Qf=v[kn>>2],wf=v[cn>>2],Df=v[on>>2]),Tf=B(0),Uf=B(0),jf=B(0),Of=B(0),Hf=B(0),b[i>>2]&&(Hf=v[Ef>>2],Of=v[Nf>>2],jf=v[Yf>>2],Tf=v[an>>2],Uf=v[fn>>2],yf=v[Q>>2]),un=v[G+380>>2],ln=v[G+372>>2],sn=v[G+376>>2],Cn=v[G+396>>2],gn=v[G+388>>2],dn=v[G+392>>2],vn=v[h+380>>2],_n=v[h+372>>2],Rn=v[h+376>>2],Bn=v[h+396>>2],mn=v[h+388>>2],hn=v[h+392>>2],b[_+-32>>2]=0,v[(e=_+-20|0)>>2]=B(gi*v[e>>2])+B(gi*B(B(0)-B(v[Zf>>2]*B(B(B(B(B(Da*B(wf+ln))+B(Ia*B(Qf+sn)))+B(pf*B(Df+un)))+B(B(B(W*B(Vf+gn))+B(F*B(Mf+dn)))+B(ui*B(Sf+Cn))))+B(B(B(B(wi*B(Uf+_n))+B(Wf*B(Tf+Rn)))+B(Ff*B(yf+vn)))+B(B(B(E*B(jf+mn))+B(j*B(Of+hn)))+B(Be*B(Hf+Bn)))))))),_=_+152|0,(0|(p=p+1|0))>2];);_=b[Jf>>2]}if(Q=en+b[_+xf>>2]|0,(0|(Ri=Ri+1|0))==(0|g))break}if(BA[b[b[r>>2]+28>>2]](r,a,n,d),n=b[r+68>>2],a=b[r+28>>2],!((0|(G=b[(g=r+128|0)>>2]))>=(0|(t=b[r+48>>2]))|b[r+132>>2]>=(0|t))){t?(e=CA(t<<2,16),G=b[r+128>>2]):e=0,i=b[r+136>>2];A:{if((0|G)>=1)for(_=e,h=i;b[_>>2]=b[h>>2],_=_+4|0,h=h+4|0,G=G+-1|0;);else if(!i)break A;C[r+140|0]&&gA(i),b[r+136>>2]=0}b[r+136>>2]=e,f[r+140|0]=1,b[r+132>>2]=t}b[g>>2]=t;A:{r:{e:{i:{a:{f:{n:{t:{b:{o:{k:{c:{u:{if(!(16&C[d+72|0])){if((0|(G=b[(g=r+108|0)>>2]))>=(0|a)|b[r+112>>2]>=(0|a))break f;if(!a)break u;e=CA(a<<2,16),G=b[r+108>>2];break c}if((0|(G=b[(d=r+108|0)>>2]))>=(0|(g=a<<1))|b[r+112>>2]>=(0|g))break r;if(!a)break k;e=CA(a<<3,16),G=b[r+108>>2];break o}e=0}if(i=b[r+116>>2],(0|G)<1)break b;for(_=e,h=i;b[_>>2]=b[h>>2],_=_+4|0,h=h+4|0,G=G+-1|0;);break t}e=0}if(i=b[r+116>>2],(0|G)<1)break a;for(_=e,h=i;b[_>>2]=b[h>>2],_=_+4|0,h=h+4|0,G=G+-1|0;);break i}if(!i)break n}C[r+120|0]&&gA(i),b[r+116>>2]=0}b[r+116>>2]=e,f[r+120|0]=1,b[r+112>>2]=a}b[g>>2]=a;break A}if(!i)break e}C[r+120|0]&&gA(i),b[r+116>>2]=0}b[r+116>>2]=e,f[r+120|0]=1,b[r+112>>2]=g}b[d>>2]=g}if(!((0|(G=b[(g=r+148|0)>>2]))>=(0|n)|b[r+152>>2]>=(0|n))){n?(e=CA(n<<2,16),G=b[r+148>>2]):e=0,i=b[r+156>>2];A:{if((0|G)>=1)for(_=e,h=i;b[_>>2]=b[h>>2],_=_+4|0,h=h+4|0,G=G+-1|0;);else if(!i)break A;C[r+160|0]&&gA(i),b[r+156>>2]=0}b[r+156>>2]=e,f[r+160|0]=1,b[r+152>>2]=n}if(b[g>>2]=n,(0|t)>=1)for(_=b[r+136>>2],h=0;b[_>>2]=h,_=_+4|0,(0|t)!=(0|(h=h+1|0)););if((0|a)>=1)for(_=b[r+116>>2],h=0;b[_>>2]=h,_=_+4|0,(0|a)!=(0|(h=h+1|0)););if((0|n)>=1)for(_=b[r+156>>2],h=0;b[_>>2]=h,_=_+4|0,(0|n)!=(0|(h=h+1|0)););return Ai(),N=D+256|0,B(B(0))},function(r,e,i,a,f,n,t,C,g){r|=0,e|=0,i|=0,a|=0,f|=0,n|=0,t|=0,C|=0,g|=0;var d,_=0,R=0,m=B(0),h=0,G=0,y=0;N=d=N-16|0,$e(d+8|0,19721),BA[b[b[r>>2]+32>>2]](r,e,i,a,f,n,t,C,g);A:if(!((0|(R=(0|(_=b[r+184>>2]))>(0|(R=b[C+20>>2]))?_:R))<1))for(h=R+-1|0,_=0,G=r+228|0,y=C+92|0;;){if(m=B(BA[b[b[r>>2]+40>>2]](r,_,e,i,a,f,n,t,C,g)),v[G>>2]=m,(0|_)>=(0|h)|m<=v[y>>2])break A;if(!((0|(_=_+1|0))<(0|R)))break}return Ai(),N=d+16|0,B(B(0))},Cr,ca,dA,function(r,e,i,a){r|=0,e|=0,i|=0,a|=0;var f,n=B(0),t=B(0),C=B(0),g=B(0),d=B(0),_=B(0),R=B(0),m=B(0),h=B(0),G=B(0),y=B(0),Q=B(0),D=B(0),w=B(0),Z=B(0),Y=B(0),W=B(0),F=B(0),E=B(0),j=B(0),Be=B(0),ui=0,gi=B(0);if(N=f=N-32|0,Q=v[e+24>>2],j=v[e+40>>2],D=v[e+36>>2],g=v[e+20>>2],R=v[e+8>>2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b[b[r>>2]+12>>2]](r,f,C,i,a)),v[ui>>2]=gi,void(N=f+32|0);ui=r+40|0,gi=B(BA[b[b[r>>2]+12>>2]](r,f+16|0,C,i,a)),v[ui>>2]=gi}N=f+32|0},dA,function(r,e,i,a){r|=0,e|=0,i|=0,a|=0;var n,t,C=0,g=0,d=0,_=B(0),R=B(0),m=B(0),h=B(0),G=B(0),y=B(0);N=n=N-688|0,t=LA(n+576|0),g=b[(C=e+8|0)+4>>2],b[(d=n+644|0)>>2]=b[C>>2],b[d+4>>2]=g,C=b[e+20>>2],b[(g=n+652|0)>>2]=b[e+16>>2],b[g+4>>2]=C,g=b[(C=e+24|0)+4>>2],b[(d=n+660|0)>>2]=b[C>>2],b[d+4>>2]=g,C=b[e+36>>2],b[(g=n+668|0)>>2]=b[e+32>>2],b[g+4>>2]=C,g=b[(C=e+40|0)+4>>2],b[(d=n+676|0)>>2]=b[C>>2],b[d+4>>2]=g,b[n+580>>2]=1,b[n+576>>2]=16416,C=b[e+4>>2],b[n+636>>2]=b[e>>2],b[n+640>>2]=C,b[n+624>>2]=b[r+204>>2],f[n+548|0]=0,b[n+524>>2]=953267991,b[n+208>>2]=14864,e=oa(n+184|0,b[r+4>>2],n+576|0,n+216|0,n+208|0),b[n+8>>2]=16056,b[n+172>>2]=1065353216,b[n+176>>2]=0,b[n+180>>2]=b[r+208>>2],ca(C=e,r+8|0,r+72|0,e=r+136|0,e,n+8|0)&&(R=v[n+140>>2],m=v[n+144>>2],_=v[n+148>>2],(h=B(B(B(R*R)+B(m*m))+B(_*_)))>B(9999999747378752e-20)&&((G=v[n+172>>2])>2]&&(y=_,_=B(B(1)/B(p(h))),v[n+148>>2]=y*_,v[n+144>>2]=m*_,v[n+140>>2]=R*_,B(BA[b[b[r>>2]+12>>2]](r,n+140|0,n+156|0,G,i,a))))),er(t),N=n+688|0},sa,function(r){var e,i,a=0,f=0,n=0,t=0,g=0,d=0,v=0,_=0;if(b[(r|=0)>>2]=20052,a=b[(e=r+16|0)>>2],(0|(f=b[(i=r+8|0)>>2]))>=1)for(t=r+68|0,g=r+24|0;v=b[a+d>>2],(n=b[v+188>>2])&&(a=b[t>>2],a=0|BA[b[b[a>>2]+36>>2]](a),BA[b[b[a>>2]+40>>2]](a,n,b[g>>2]),a=b[t>>2],BA[b[b[a>>2]+12>>2]](a,n,b[g>>2]),b[v+188>>2]=0,f=b[i>>2],a=b[e>>2]),d=d+4|0,(0|(_=_+1|0))<(0|f););!a|!C[r+20|0]||gA(a),rA(r)},function(r){r|=0;var e,i,a=0,f=0,n=0,t=0,g=0,d=0,v=0;if(N=e=N-16|0,$e(e+8|0,20295),(0|(a=b[(i=r+8|0)>>2]))>=1)for(d=r+16|0,v=r+76|0;n=b[b[d>>2]+f>>2],!C[0|v]&&2==(0|(t=b[n+220>>2]))|5==(0|t)||(va(r,n),a=b[i>>2]),f=f+4|0,(0|(g=g+1|0))<(0|a););Ai(),N=e+16|0},function(r){var e,i;r|=0,N=e=N-16|0,$e(e+8|0,20307),i=b[r+68>>2],BA[b[b[i>>2]+32>>2]](i,b[r+24>>2]),Ai(),N=e+16|0},function(r,e){e|=0,b[(r|=0)+72>>2]=e},_r,Ra,function(r,e,i,a){r|=0,e|=0,i|=0,a|=0;var f,n=0,t=B(0),C=0,g=B(0),d=B(0),_=0,m=B(0),h=B(0),G=B(0),y=0,Q=B(0),p=0,D=B(0),w=B(0),Z=B(0),Y=B(0),W=B(0),F=B(0),E=0,j=B(0),Be=0,ui=B(0),gi=B(0),Ri=0,wi=B(0),Xi=B(0),Da=B(0),Ia=0,yf=0,Qf=B(0),pf=0,Df=0,wf=B(0),Zf=0,Yf=0,Wf=0,Ff=0,Ef=0,Nf=0,Vf=0,Xf=0,Jf=0,If=0,xf=0,Mf=B(0);N=f=N-144|0,BA[b[b[r>>2]+20>>2]](r)&&(n=0|BA[b[b[r>>2]+20>>2]](r),32768&BA[b[b[n>>2]+56>>2]](n)&&(n=0|BA[b[b[r>>2]+20>>2]](r),BA[b[b[n>>2]+64>>2]](n,e,B(.10000000149011612))));A:{r:{e:{i:{a:{f:{n:{t:{b:{o:{k:{c:if(n=b[i+4>>2],!(n>>>0>31)){switch(n-1|0){case 8:break o;case 7:break k;case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 11:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 28:case 29:break c;case 30:break a;case 27:break f;case 12:break n;case 10:break t;case 9:break b}C=b[(_=i+40|0)+4>>2],b[(n=p=f+8|0)>>2]=b[_>>2],b[n+4>>2]=C,n=b[i+36>>2],b[f>>2]=b[i+32>>2],b[f+4>>2]=n,g=B(BA[b[b[i>>2]+48>>2]](i)),t=B(BA[b[b[i>>2]+48>>2]](i)),h=B(B(BA[b[b[i>>2]+48>>2]](i))+v[p>>2]),v[p>>2]=h,g=B(g+v[f>>2]),v[f>>2]=g,t=B(t+v[f+4>>2]),v[f+4>>2]=t,r=0|BA[b[b[r>>2]+20>>2]](r),b[f+140>>2]=0,v[f+136>>2]=-h,v[f+132>>2]=-t,v[f+128>>2]=-g,BA[b[b[r>>2]+80>>2]](r,f+128|0,f,e,a);break A}if((0|n)>6)break e;if(!(Zf=b[i+56>>2]))break i;if(b[(y=Zf+28|0)>>2]<1)break e;for(Ef=e+32|0,Nf=e+40|0,Vf=e+56|0,Xf=e+20|0,Jf=e+16|0,If=e+52|0,Yf=e+4|0,Wf=e+48|0;;){ui=B(0),n=(Df=R(pf,36))+b[(Be=Zf+36|0)>>2]|0;c:{if(Ff=b[n+4>>2]){if(Qf=B(0),d=B(0),(0|Ff)<1)break c;for(Ri=b[n+12>>2],C=b[(Ri+(Ff<<2)|0)-4>>2],yf=1,Ia=0,Q=B(0);;){if(E=(p=(n=b[Ri+Ia>>2])<<4)+b[(_=Zf+16|0)>>2]|0,wi=v[E>>2],Xi=v[E+4>>2],Da=v[E+8>>2],E=0|BA[b[b[r>>2]+20>>2]](r),b[f+12>>2]=0,_=b[_>>2],h=v[(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(Da*F))+B(wi*d))+v[e+56>>2],v[f+52>>2]=B(B(B(Xi*D)+B(Da*w))+B(wi*m))+v[e+52>>2],v[f+48>>2]=B(B(B(Xi*Y)+B(Da*W))+B(wi*Z))+v[e+48>>2],d=B(t+W),t=B(Z*B(0)),v[f+4>>2]=d+t,v[f>>2]=B(Y+g)+t,BA[b[b[E>>2]+24>>2]](E,h,f,a),Ri=Ri+-4|0,Be=Be+-16|0,(0|(Ia=Ia+-1|0))>0;);break r}n=i+32|0,i=b[i+56>>2],g=v[n+(i<<2)>>2],t=v[n+((i+2|0)%3<<2)>>2],r=0|BA[b[b[r>>2]+20>>2]](r),BA[b[b[r>>2]+84>>2]](r,t,g,i,e,a);break A}n=b[i+72>>2],g=v[i+60>>2],t=v[i+64>>2],r=0|BA[b[b[r>>2]+20>>2]](r),BA[b[b[r>>2]+92>>2]](r,g,t,n,e,a);break A}y=b[i+56>>2],h=B(BA[b[b[i>>2]+92>>2]](i)),C=b[(_=i+40|0)+4>>2],b[(n=p=f+8|0)>>2]=b[_>>2],b[n+4>>2]=C,n=b[i+36>>2],b[f>>2]=b[i+32>>2],b[f+4>>2]=n,g=B(BA[b[b[i>>2]+48>>2]](i)),t=B(BA[b[b[i>>2]+48>>2]](i)),xf=p,Mf=B(B(BA[b[b[i>>2]+48>>2]](i))+v[p>>2]),v[xf>>2]=Mf,v[f>>2]=g+v[f>>2],v[f+4>>2]=t+v[f+4>>2],t=v[(y<<2)+f>>2],r=0|BA[b[b[r>>2]+20>>2]](r),BA[b[b[r>>2]+88>>2]](r,h,t,y,e,a);break A}t=v[i+68>>2],r=0|BA[b[b[r>>2]+20>>2]](r),BA[b[b[r>>2]+96>>2]](r,i+52|0,t,e,a);break A}if((0|(yf=b[i+20>>2]))<1)break r;for(Be=R(yf,80)+-80|0,p=f+60|0,_=f+44|0,C=f+12|0;y=b[i+28>>2]+Be|0,n=b[y- -64>>2],Qf=v[y+56>>2],gi=v[y+48>>2],ui=v[y+52>>2],Q=v[y+32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F))+m,D=v[E>>2],w=v[Be>>2],Z=v[y>>2],Y=v[p>>2],v[f+116>>2]=B(B(B(h*D)+B(g*w))+B(t*Z))+Y,W=v[e>>2],Q=B(h*W),h=v[_>>2],Q=B(Q+B(g*h)),g=v[e+8>>2],Q=B(Q+B(t*g)),t=v[C>>2],v[f+112>>2]=Q+t,b[f+108>>2]=0,Q=m,j=d,d=v[f+128>>2],wf=G,G=v[f+132>>2],m=v[f+136>>2],v[f+104>>2]=Q+B(B(B(j*d)+B(wf*G))+B(F*m)),v[f+100>>2]=Y+B(B(B(D*d)+B(w*G))+B(Z*m)),v[f+96>>2]=t+B(B(B(W*d)+B(h*G))+B(g*m)),n=0|BA[b[b[r>>2]+20>>2]](r),BA[b[b[n>>2]+16>>2]](n,f+112|0,f+96|0,a),(0|(Ri=Ri+1|0))<(0|BA[b[b[i>>2]+100>>2]](i)););}(n=b[(y=i+4|0)>>2])+-21>>>0<=8&&(b[f+136>>2]=1566444395,b[f+140>>2]=0,b[f+128>>2]=1566444395,b[f+132>>2]=1566444395,b[f+120>>2]=-581039253,b[f+124>>2]=0,b[f+112>>2]=-581039253,b[f+116>>2]=-581039253,p=0|BA[b[b[r>>2]+20>>2]](r),C=b[(_=a+8|0)+4>>2],b[(n=f+20|0)>>2]=b[_>>2],b[n+4>>2]=C,C=b[(_=e+8|0)+4>>2],b[(n=f+36|0)>>2]=b[_>>2],b[n+4>>2]=C,C=b[e+20>>2],b[(n=f+44|0)>>2]=b[e+16>>2],b[n+4>>2]=C,C=b[(_=e+24|0)+4>>2],b[(n=f+52|0)>>2]=b[_>>2],b[n+4>>2]=C,C=b[e+36>>2],b[(n=f+60|0)>>2]=b[e+32>>2],b[n+4>>2]=C,C=b[(_=e+40|0)+4>>2],b[(n=f+68|0)>>2]=b[_>>2],b[n+4>>2]=C,b[f+8>>2]=p,b[f+4>>2]=22296,b[f>>2]=22272,n=b[a+4>>2],b[f+12>>2]=b[a>>2],b[f+16>>2]=n,n=b[e+4>>2],b[f+28>>2]=b[e>>2],b[f+32>>2]=n,C=b[(_=e+56|0)+4>>2],b[(n=f+84|0)>>2]=b[_>>2],b[n+4>>2]=C,C=b[e+52>>2],b[(n=f+76|0)>>2]=b[e+48>>2],b[n+4>>2]=C,BA[b[b[i>>2]+64>>2]](i,f,f+112|0,f+128|0),n=b[y>>2]),3==(0|n)&&(b[f+136>>2]=1566444395,b[f+140>>2]=0,b[f+128>>2]=1566444395,b[f+132>>2]=1566444395,b[f+120>>2]=-581039253,b[f+124>>2]=0,b[f+112>>2]=-581039253,b[f+116>>2]=-581039253,_=0|BA[b[b[r>>2]+20>>2]](r),n=b[(C=a+8|0)+4>>2],b[(r=f+20|0)>>2]=b[C>>2],b[r+4>>2]=n,n=b[(C=e+8|0)+4>>2],b[(r=f+36|0)>>2]=b[C>>2],b[r+4>>2]=n,n=b[e+20>>2],b[(r=f+44|0)>>2]=b[e+16>>2],b[r+4>>2]=n,n=b[(C=e+24|0)+4>>2],b[(r=f+52|0)>>2]=b[C>>2],b[r+4>>2]=n,n=b[e+36>>2],b[(r=f+60|0)>>2]=b[e+32>>2],b[r+4>>2]=n,n=b[(C=e+40|0)+4>>2],b[(r=f+68|0)>>2]=b[C>>2],b[r+4>>2]=n,b[f+8>>2]=_,b[f+4>>2]=22296,b[f>>2]=22272,r=b[a+4>>2],b[f+12>>2]=b[a>>2],b[f+16>>2]=r,r=b[e+4>>2],b[f+28>>2]=b[e>>2],b[f+32>>2]=r,a=b[(n=e+56|0)+4>>2],b[(r=f+84|0)>>2]=b[n>>2],b[r+4>>2]=a,a=b[e+52>>2],b[(r=f+76|0)>>2]=b[e+48>>2],b[r+4>>2]=a,r=b[i+96>>2],BA[b[b[r>>2]+8>>2]](r,4|f,f+112|0,f+128|0))}return void(N=f+144|0)}N=f+144|0},function(r,e,i,a){r|=0,e|=0,i|=0,a|=0;var f,n,t,C,g=0,d=0,_=B(0),R=B(0),m=B(0),h=B(0),G=0,y=B(0),Q=B(0);N=f=N-256|0,b[(g=f+112|0)>>2]=0,b[g+4>>2]=0,b[(g=f+104|0)>>2]=0,b[g+4>>2]=0,b[f+120>>2]=1065353216,b[(g=f+132|0)>>2]=0,b[g+4>>2]=0,b[(g=f+124|0)>>2]=0,b[g+4>>2]=0,d=b[(G=t=e+8|0)+4>>2],b[(g=f+76|0)>>2]=b[G>>2],b[g+4>>2]=d,C=b[(n=i+8|0)+4>>2],b[(d=G=f+92|0)>>2]=b[n>>2],b[d+4>>2]=C,b[f+32>>2]=22088,b[f+248>>2]=a,b[f+100>>2]=1065353216,a=b[e+4>>2],b[f+68>>2]=b[e>>2],b[f+72>>2]=a,a=b[i+4>>2],b[f+84>>2]=b[i>>2],b[f+88>>2]=a,b[f+244>>2]=r,b[(a=f+140|0)>>2]=1065353216,b[a+4>>2]=0,d=b[g+4>>2],b[(a=f+156|0)>>2]=b[g>>2],b[a+4>>2]=d,d=b[f+72>>2],b[(a=f+148|0)>>2]=b[f+68>>2],b[a+4>>2]=d,b[(a=f+176|0)>>2]=0,b[a+4>>2]=0,b[(a=f+168|0)>>2]=0,b[a+4>>2]=0,b[f+184>>2]=1065353216,b[(a=f+196|0)>>2]=0,b[a+4>>2]=0,b[(a=f+188|0)>>2]=0,b[a+4>>2]=0,b[(a=f+204|0)>>2]=1065353216,b[a+4>>2]=0,d=b[n+4>>2],b[(a=f+220|0)>>2]=b[n>>2],b[a+4>>2]=d,d=b[i+4>>2],b[(a=f+212|0)>>2]=b[i>>2],b[a+4>>2]=d,b[f+164>>2]=1065353216,h=B(v[i>>2]-v[e>>2]),_=B(v[i+4>>2]-v[e+4>>2]),R=B(v[n>>2]-v[t>>2]),m=B(B(1)/B(p(B(B(B(h*h)+B(_*_))+B(R*R))))),y=(R=B(R*m))==B(0)?B(0xde0b6b000000000):B(B(1)/R),v[f+44>>2]=y,Q=(_=B(_*m))==B(0)?B(0xde0b6b000000000):B(B(1)/_),v[f+40>>2]=Q,b[f+60>>2]=y>2]=Q>2]=h,b[f+52>>2]=h>2]=B(B(m*B(v[f+84>>2]-v[f+68>>2]))+B(_*B(v[f+88>>2]-v[f+72>>2])))+B(R*B(v[G>>2]-v[g>>2])),r=b[r+68>>2],b[(a=f+24|0)>>2]=0,b[a+4>>2]=0,b[f+16>>2]=0,b[f+20>>2]=0,b[(a=f+8|0)>>2]=0,b[a+4>>2]=0,b[f>>2]=0,b[f+4>>2]=0,BA[b[b[r>>2]+24>>2]](r,e,i,f+32|0,f+16|0,f),N=f+256|0},da,Ca,function(r){r|=0;var e,i,a=0,f=0,n=0,t=0,C=0,g=0;N=e=N-16|0,$e(e+8|0,20333),BA[b[b[r>>2]+8>>2]](r),BA[b[b[r>>2]+12>>2]](r),i=b[r+24>>2],$e(e,20367),i&&(a=b[r+68>>2],n=i,t=0|BA[b[b[a>>2]+36>>2]](a),C=r+28|0,g=b[r+24>>2],f=b[b[i>>2]+32>>2],BA[f](0|n,0|t,0|C,0|g)),Ai(),Ai(),N=e+16|0},function(r,e){r|=0,BA[b[b[(e|=0)>>2]+32>>2]](e),Ga(r,e),BA[b[b[e>>2]+36>>2]](e)},Cr,ya,Cr,ya,Cr,function(r,e){r|=0,e|=0;var i,a,f,n=B(0),t=B(0),C=B(0),g=B(0),d=B(0),_=B(0),m=B(0),h=B(0),G=B(0),y=B(0),Q=B(0),p=B(0),D=B(0),w=B(0),Z=B(0),Y=B(0),W=B(0),F=B(0),E=B(0),j=B(0),BA=B(0),Be=B(0),ui=B(0),gi=B(0);N=i=N-128|0,a=b[e+36>>2],e=b[b[r+8>>2]+28>>2]+R(a,80)|0,f=b[e+64>>2],y=v[e+32>>2],Q=v[e>>2],p=v[e+16>>2],D=v[e+56>>2],w=v[e+52>>2],Z=v[e+48>>2],Y=v[e+36>>2],W=v[e+20>>2],F=v[e+4>>2],E=v[e+40>>2],j=v[e+24>>2],BA=v[e+8>>2],e=b[r+12>>2],Be=v[e+52>>2],ui=v[e+56>>2],n=v[e+24>>2],t=v[e+20>>2],C=v[e+40>>2],g=v[e+36>>2],gi=v[e+48>>2],d=v[e+8>>2],_=v[e>>2],m=v[e+4>>2],h=v[e+16>>2],G=v[e+32>>2],b[i+124>>2]=0,b[i+108>>2]=0,b[i+92>>2]=0,v[i+104>>2]=B(B(BA*G)+B(j*g))+B(E*C),v[i+100>>2]=B(B(F*G)+B(W*g))+B(Y*C),v[i+88>>2]=B(B(BA*h)+B(j*t))+B(E*n),v[i+84>>2]=B(B(F*h)+B(W*t))+B(Y*n),v[i+120>>2]=ui+B(B(B(G*Z)+B(g*w))+B(C*D)),v[i+116>>2]=Be+B(B(B(h*Z)+B(t*w))+B(n*D)),b[i+76>>2]=0,v[i+72>>2]=B(B(_*BA)+B(m*j))+B(d*E),v[i+68>>2]=B(B(_*F)+B(m*W))+B(d*Y),v[i+64>>2]=B(B(Q*_)+B(p*m))+B(y*d),v[i+112>>2]=gi+B(B(B(_*Z)+B(m*w))+B(d*D)),v[i+96>>2]=B(B(Q*G)+B(p*g))+B(y*C),v[i+80>>2]=B(B(Q*h)+B(p*t))+B(y*n),b[i+60>>2]=a,b[i+56>>2]=-1,b[i+44>>2]=f,b[i+40>>2]=0,b[i+48>>2]=b[r+4>>2],b[i+52>>2]=i- -64,b[i+12>>2]=1065353216,b[i+24>>2]=-1,b[i+28>>2]=0,b[i+16>>2]=0,b[i+20>>2]=1,b[i+36>>2]=a,b[i+8>>2]=21012,e=b[r+24>>2],b[i+32>>2]=e,b[i+12>>2]=b[e+4>>2],b[i+28>>2]=b[e+20>>2],ga(b[r+16>>2],b[r+20>>2],i+40|0,i+8|0),N=i+128|0},sA,Cr,function(r,e){return e|=0,r=b[(r|=0)+24>>2],0|BA[b[b[r>>2]+8>>2]](r,e)},function(r,e,i){r|=0,e|=0,i|=0;var a,f,n=B(0);return N=a=N-16|0,b[a+8>>2]=-1,b[a+12>>2]=b[r+28>>2],b[e+4>>2]||(b[e+4>>2]=a+8),f=b[r+24>>2],n=B(BA[b[b[f>>2]+12>>2]](f,e,i)),b[r+4>>2]=b[b[r+24>>2]+4>>2],N=a+16|0,B(n)},Cr,Qa,Cr,Qa,Cr,function(r,e){r|=0,e|=0;var i,a,f,n=B(0),t=B(0),C=B(0),g=B(0),d=B(0),_=B(0),m=B(0),h=B(0),G=B(0),y=B(0),Q=B(0),p=B(0),D=B(0),w=B(0),Z=B(0),Y=B(0),W=B(0),F=B(0),E=B(0),j=B(0),BA=B(0);N=i=N-112|0,a=b[e+36>>2],e=b[b[r+24>>2]+28>>2]+R(a,80)|0,f=b[e+64>>2],y=v[e+32>>2],Q=v[e>>2],p=v[e+16>>2],D=v[e+56>>2],w=v[e+52>>2],Z=v[e+48>>2],Y=v[e+36>>2],W=v[e+20>>2],F=v[e+4>>2],n=v[e+40>>2],t=v[e+24>>2],C=v[e+8>>2],b[i+108>>2]=0,b[i+92>>2]=0,b[i+76>>2]=0,e=b[r+28>>2],g=v[e+32>>2],d=v[e+36>>2],_=v[e+40>>2],v[i+88>>2]=B(B(C*g)+B(t*d))+B(n*_),v[i+84>>2]=B(B(F*g)+B(W*d))+B(Y*_),m=v[e+16>>2],h=v[e+20>>2],G=v[e+24>>2],v[i+72>>2]=B(B(C*m)+B(t*h))+B(n*G),v[i+68>>2]=B(B(F*m)+B(W*h))+B(Y*G),v[i+104>>2]=B(B(B(Z*g)+B(w*d))+B(D*_))+v[e+56>>2],v[i+100>>2]=B(B(B(Z*m)+B(w*h))+B(D*G))+v[e+52>>2],b[i+60>>2]=0,E=C,C=v[e>>2],j=t,t=v[e+4>>2],BA=n,n=v[e+8>>2],v[i+56>>2]=B(B(E*C)+B(j*t))+B(BA*n),v[i+52>>2]=B(B(F*C)+B(W*t))+B(Y*n),v[i+48>>2]=B(B(Q*C)+B(p*t))+B(y*n),v[i+96>>2]=B(B(B(Z*C)+B(w*t))+B(D*n))+v[e+48>>2],v[i+80>>2]=B(B(Q*g)+B(p*d))+B(y*_),v[i+64>>2]=B(B(Q*m)+B(p*h))+B(y*G),b[i+28>>2]=1065353216,b[i+32>>2]=1,b[i+36>>2]=-1,b[i+44>>2]=a,b[i+24>>2]=21828,e=b[r+32>>2],b[i+40>>2]=e,b[i+28>>2]=b[e+4>>2],b[i+20>>2]=a,b[i+16>>2]=-1,b[i+4>>2]=f,e=b[r+4>>2],b[i>>2]=e,b[i+8>>2]=b[e+8>>2],b[i+12>>2]=i+48,Ba(b[r+8>>2],b[r+12>>2],b[r+16>>2],i,i+24|0,v[r+20>>2]),N=i+112|0},sA,Cr,function(r,e){return e|=0,r=b[(r|=0)+16>>2],0|BA[b[b[r>>2]+8>>2]](r,e)},function(r,e,i){r|=0,e|=0,i|=0;var a,f,n=B(0);return N=a=N-16|0,b[a+8>>2]=-1,b[a+12>>2]=b[r+20>>2],b[e+4>>2]||(b[e+4>>2]=a+8),f=b[r+16>>2],n=B(BA[b[b[f>>2]+12>>2]](f,e,i)),b[r+4>>2]=b[b[r+16>>2]+4>>2],N=a+16|0,B(n)},sA,Cr,function(r,e){e|=0;var i,a=0,f=0,n=0;return N=i=N-32|0,a=b[(r|=0)+216>>2],v[a+4>>2]!=B(0)&&(f=1,e=b[e>>2],BA[b[b[a>>2]+8>>2]](a,b[e+188>>2])&&(a=b[r+216>>2],n=b[e+192>>2],b[i+24>>2]=-1,b[i+28>>2]=-1,b[i+20>>2]=e+4,b[i+16>>2]=e,b[i+12>>2]=n,b[i+8>>2]=0,ga(r+68|0,r+132|0,i+8|0,a))),N=i+32|0,0|f},Cr,function(r,e){r|=0,e|=0;var i,a=0,f=0,n=B(0),t=0,C=0;return N=i=N-32|0,a=b[r+184>>2],v[a+4>>2]!=B(0)&&(f=1,e=b[e>>2],BA[b[b[a>>2]+8>>2]](a,b[e+188>>2])&&(a=b[r+184>>2],n=v[r+188>>2],t=b[r+192>>2],C=b[e+192>>2],b[i+24>>2]=-1,b[i+28>>2]=-1,b[i+20>>2]=e+4,b[i+16>>2]=e,b[i+12>>2]=C,b[i+8>>2]=0,Ba(t,r+36|0,r+100|0,i+8|0,a,n))),N=i+32|0,0|f},sA,Cr,function(r,e,i,a){r|=0,e|=0,i|=0,a|=0;var f=B(0),n=B(0),t=B(0),C=B(0),g=B(0),d=B(0),_=B(0),R=B(0),m=B(0),h=B(0),G=B(0),y=B(0),Q=B(0),D=B(0),w=B(0),Z=B(0),Y=B(0),W=B(0),F=B(0),E=B(0),j=B(0);N=i=N-96|0,b[i+92>>2]=0,f=v[e>>2],t=v[r+60>>2],C=v[e+4>>2],g=v[r- -64>>2],d=v[e+8>>2],_=v[r+68>>2],y=v[r+84>>2],G=B(B(B(B(f*t)+B(C*g))+B(d*_))+y),v[i+88>>2]=G,R=v[r+44>>2],D=v[r+48>>2],w=v[r+52>>2],Z=v[r+80>>2],n=B(B(B(B(f*R)+B(C*D))+B(d*w))+Z),v[i+84>>2]=n,Y=f,f=v[r+28>>2],m=C,C=v[r+32>>2],h=d,d=v[r+36>>2],W=v[r+76>>2],j=B(B(B(B(Y*f)+B(m*C))+B(h*d))+W),v[i+80>>2]=j,b[i+76>>2]=0,b[i+60>>2]=0,Q=v[e+16>>2],m=v[e+20>>2],h=v[e+24>>2],F=B(y+B(B(B(t*Q)+B(g*m))+B(_*h))),v[i+72>>2]=F,E=B(Z+B(B(B(R*Q)+B(D*m))+B(w*h))),v[i+68>>2]=E,Q=B(W+B(B(B(f*Q)+B(C*m))+B(d*h))),v[i+64>>2]=Q,Y=t,t=v[e+32>>2],m=g,g=v[e+36>>2],h=_,_=v[e+40>>2],y=B(y+B(B(B(Y*t)+B(m*g))+B(h*_))),v[i+56>>2]=y,R=B(Z+B(B(B(R*t)+B(D*g))+B(w*_))),v[i+52>>2]=R,f=B(W+B(B(B(f*t)+B(C*g))+B(d*_))),v[i+48>>2]=f,b[i+44>>2]=0,C=B(B(B(G+F)+y)*B(.3333333432674408)),v[i+40>>2]=C,g=B(B(B(n+E)+R)*B(.3333333432674408)),v[i+36>>2]=g,d=B(B(B(j+Q)+f)*B(.3333333432674408)),v[i+32>>2]=d,e=b[r+8>>2],16384&BA[b[b[e>>2]+56>>2]](e)&&(t=v[i+80>>2],b[i+24>>2]=0,b[i+28>>2]=0,b[i+16>>2]=1065353216,b[i+20>>2]=1065353216,e=b[r+8>>2],b[i+12>>2]=0,_=B(Q-t),R=B(R-n),D=B(E-n),f=B(f-t),h=n=B(B(_*R)-B(D*f)),m=B(n*n),n=B(y-G),t=B(F-G),G=B(B(D*n)-B(t*R)),n=B(B(t*f)-B(_*n)),f=B(B(1)/B(p(B(m+B(B(G*G)+B(n*n)))))),v[i+8>>2]=B(h*f)+C,v[i+4>>2]=g+B(n*f),v[i>>2]=d+B(G*f),BA[b[b[e>>2]+16>>2]](e,i+32|0,i,i+16|0)),a=b[(e=r+8|0)>>2],r=r+12|0,BA[b[b[a>>2]+16>>2]](a,i+80|0,i- -64|0,r),a=b[e>>2],BA[b[b[a>>2]+16>>2]](a,i- -64|0,i+48|0,r),e=b[e>>2],BA[b[b[e>>2]+16>>2]](e,i+48|0,i+80|0,r),N=i+96|0},function(r,e,i,a){e|=0,i|=0,a|=0,BA[b[b[(r|=0)>>2]+8>>2]](r,e,i,a)},function(r){return(r|=0)+-4|0},function(r){rA((r|=0)+-4|0)},function(r,e,i,a){e|=0,i|=0,a|=0,BA[b[b[(r=(r|=0)+-4|0)>>2]+8>>2]](r,e,i,a)},function(r){var e=0,i=0;return b[(r|=0)>>2]=22368,(i=b[(e=r+56|0)>>2])&&(C[r+60|0]&&gA(i),b[r+56>>2]=0),b[e>>2]=0,f[r+60|0]=1,b[(e=r+48|0)>>2]=0,b[e+4>>2]=0,(i=b[(e=r+36|0)>>2])&&(C[r+40|0]&&gA(i),b[r+36>>2]=0),b[e>>2]=0,f[r+40|0]=1,b[(e=r+28|0)>>2]=0,b[e+4>>2]=0,pa(r+4|0),0|r},function(r){var e=0,i=0;b[(r|=0)>>2]=22368,(i=b[(e=r+56|0)>>2])&&(C[r+60|0]&&gA(i),b[r+56>>2]=0),b[e>>2]=0,f[r+60|0]=1,b[(e=r+48|0)>>2]=0,b[e+4>>2]=0,(i=b[(e=r+36|0)>>2])&&(C[r+40|0]&&gA(i),b[r+36>>2]=0),b[e>>2]=0,f[r+40|0]=1,b[(e=r+28|0)>>2]=0,b[e+4>>2]=0,pa(r+4|0),rA(r)},function(r,e,i){r|=0,i|=0;var a,n=0,t=0,g=0;if((0|(a=b[(e|=0)+8>>2]))>=1)for(t=b[e+16>>2],i=0;n=b[t>>2],3&C[n+204|0]||(b[n+208>>2]=i,i=i+1|0),b[n+268>>2]=1065353216,b[n+212>>2]=-1,t=t+4|0,(0|(g=g+1|0))<(0|a););else i=0;!function(r,e){var i=0,a=0,n=0,t=0,g=0,d=0,v=0,_=0;if((0|(n=b[r+4>>2]))<(0|e)){if(b[r+8>>2]<(0|e)){A:{r:{if(e){if(t=CA(e<<3,16),(0|(i=b[r+4>>2]))>=1)break r;break A}if((0|(i=n))<1)break A}for(v=r+12|0;g=b[v>>2]+a|0,_=b[g+4>>2],b[(d=a+t|0)>>2]=b[g>>2],b[d+4>>2]=_,a=a+8|0,i=i+-1|0;);}(i=b[r+12>>2])&&(C[r+16|0]&&gA(i),b[r+12>>2]=0),f[r+16|0]=1,b[r+12>>2]=t,b[r+8>>2]=e}for(a=n<<3,i=e-n|0,n=r+12|0;t=b[n>>2]+a|0,b[t>>2]=0,b[t+4>>2]=0,a=a+8|0,i=i+-1|0;);}if(b[r+4>>2]=e,(0|e)>=1)for(a=b[r+12>>2],i=0;b[a>>2]=i,b[a+4>>2]=1,a=a+8|0,(0|(i=i+1|0))!=(0|e););}(r+4|0,i),function(r,e){var i,a=0,f=0,n=0,t=0,g=0,d=0;if(e=b[e+68>>2],e=0|BA[b[b[e>>2]+36>>2]](e),(i=0|BA[b[b[e>>2]+36>>2]](e))&&(g=0|BA[b[b[e>>2]+20>>2]](e),!((0|i)<1)))for(d=r+16|0;;){if((e=b[b[(r=(t<<4)+g|0)>>2]>>2])&&!(!(r=b[b[r+4>>2]>>2])|7&b[e+204>>2]|7&C[r+204|0])){if(r=b[r+208>>2],f=b[d>>2],n=b[e+208>>2],(0|(e=b[(a=f+(n<<3)|0)>>2]))!=(0|n))for(;e=f+(e<<3)|0,b[a>>2]=b[e>>2],n=b[e>>2],(0|(e=b[(a=f+(n<<3)|0)>>2]))!=(0|n););if((0|r)!=(0|(e=b[(a=f+(r<<3)|0)>>2])))for(;r=f+(e<<3)|0,b[a>>2]=b[r>>2],(0|(r=b[r>>2]))!=(0|(e=b[(a=f+(r<<3)|0)>>2])););(0|r)!=(0|n)&&(b[(e=f+(n<<3)|0)>>2]=r,b[(r=f+(r<<3)|0)+4>>2]=b[r+4>>2]+b[e+4>>2])}if((0|(t=t+1|0))==(0|i))break}}(r,e)},function(r,e){r|=0;var i,a=0,f=0,n=0,t=0,g=0,d=0,v=0,_=0;A:if(!((0|(i=b[(e|=0)+8>>2]))<1))for(v=b[e+16>>2],e=0,_=r+16|0;;){if(f=b[(a<<2)+v>>2],3&C[f+204|0]){if(b[f+208>>2]=-1,b[f+212>>2]=-2,(0|(a=a+1|0))<(0|i))continue;break A}if(d=(r=e)<<3,n=b[_>>2],(0|r)!=(0|(g=b[(t=d+n|0)>>2])))for(;r=n+(g<<3)|0,b[t>>2]=b[r>>2],(0|(r=b[r>>2]))!=(0|(g=b[(t=n+(r<<3)|0)>>2])););if(b[f+208>>2]=r,b[f+212>>2]=-1,b[4+(n+d|0)>>2]=a,e=e+1|0,!((0|(a=a+1|0))<(0|i)))break}},Va,dA,Ae,function(r,e,i,a,f){f=B(f)},qe,Dr,Ya,Ja,function(r){gA(Ja(r|=0))},function(r){r|=0;var e,i=0,a=0,f=0,n=0,t=0,C=0,g=0,d=0,v=0;if(N=e=N-16|0,$e(e+8|0,22808),Ra(r),BA[b[b[r>>2]+20>>2]](r)&&(i=0|BA[b[b[r>>2]+20>>2]](r),6144&BA[b[b[i>>2]+56>>2]](i)&&!((0|(i=0|BA[b[b[r>>2]+104>>2]](r)))<1)))for(;i=i+-1|0,d=r,v=0|BA[b[b[r>>2]+108>>2]](r,i),g=b[b[r>>2]+172>>2],BA[g](0|d,0|v),(0|i)>0;);if(BA[b[b[r>>2]+20>>2]](r)&&(i=0|BA[b[b[r>>2]+20>>2]](r),16387&BA[b[b[i>>2]+56>>2]](i)&&BA[b[b[r>>2]+20>>2]](r)&&(i=0|BA[b[b[r>>2]+20>>2]](r),BA[b[b[i>>2]+56>>2]](i)&&!(b[(a=r+296|0)>>2]<1))))for(i=0,t=r+72|0,C=r+304|0;f=b[b[C>>2]+i>>2],BA[b[b[f>>2]+12>>2]](f,b[t>>2]),i=i+4|0,(0|(n=n+1|0))>2];);BA[b[b[r>>2]+20>>2]](r)&&(r=0|BA[b[b[r>>2]+20>>2]](r),BA[b[b[r>>2]+104>>2]](r)),Ai(),N=e+16|0},function(r,e,i,a){da(r|=0,e|=0,i|=0,a|=0)},function(r,e){r|=0,!(e|=0)|!(2&b[e+252>>2])?Ca(r,e):BA[b[b[r>>2]+92>>2]](r,e)},function(r,e){r|=0;var i,a,f=0,n=0;BA[b[b[(e|=0)>>2]+32>>2]](e),a=0|BA[b[b[e>>2]+16>>2]](e,104,1),i=x(b[a+8>>2],0,104),b[i+88>>2]=b[r+264>>2],b[i+92>>2]=b[r+268>>2],b[i+96>>2]=b[r+272>>2],b[i+100>>2]=b[r+276>>2],n=b[(f=r+116|0)+4>>2],b[i+20>>2]=b[f>>2],b[i+24>>2]=n,n=b[(f=r+124|0)+4>>2],b[i+28>>2]=b[f>>2],b[i+32>>2]=n,n=b[(f=r+104|0)+4>>2],b[i+12>>2]=b[f>>2],b[i+16>>2]=n,n=b[(f=r+96|0)+4>>2],b[i+4>>2]=b[f>>2],b[i+8>>2]=n,b[i>>2]=b[r+92>>2],b[i+36>>2]=b[r+132>>2],b[i+40>>2]=b[r+148>>2],b[i+44>>2]=b[r+152>>2],b[i+48>>2]=b[r+156>>2],b[i+52>>2]=b[r+160>>2],b[i+56>>2]=b[r+176>>2],b[i+60>>2]=b[r+180>>2],b[i+64>>2]=b[r+112>>2],b[i+68>>2]=b[r+164>>2],b[i+72>>2]=b[r+168>>2],b[i+76>>2]=b[r+172>>2],f=b[r+144>>2],b[i+84>>2]=0,b[i+80>>2]=f,BA[b[b[e>>2]+20>>2]](e,a,23125,1145853764,i),Ga(r,e),function(r,e){var i=0,a=0,f=0,n=0,t=0,g=0,d=0,v=0,_=0,R=0,B=0,m=0;if((0|(a=b[(t=r+8|0)>>2]))>=1)for(g=r+16|0;i=b[b[g>>2]+f>>2],2&C[i+252|0]&&(v=e,_=0|BA[b[b[i>>2]+16>>2]](i),R=1,d=b[b[e>>2]+16>>2],a=0|BA[d](0|v,0|_,0|R),R=e,_=a,v=0|BA[b[b[i>>2]+20>>2]](i,b[a+8>>2],e),B=1497645650,m=i,d=b[b[e>>2]+20>>2],BA[d](0|R,0|_,0|v,0|B,0|m),a=b[t>>2]),f=f+4|0,(0|(n=n+1|0))<(0|a););if(b[(i=r+228|0)>>2]>=1)for(f=0,a=r+236|0,n=0;r=b[b[a>>2]+f>>2],m=e,B=0|BA[b[b[r>>2]+36>>2]](r),v=1,d=b[b[e>>2]+16>>2],t=0|BA[d](0|m,0|B,0|v),v=e,B=t,m=0|BA[b[b[r>>2]+40>>2]](r,b[t+8>>2],e),_=1397641027,R=r,d=b[b[e>>2]+20>>2],BA[d](0|v,0|B,0|m,0|_,0|R),f=f+4|0,(0|(n=n+1|0))>2];);}(r,e),BA[b[b[e>>2]+36>>2]](e)},function(r,e,i,a){r|=0,e=B(e),i|=0,a=B(a);var n=0,t=0,g=B(0),d=0,_=0;A:{r:{e:{if(i){if(v[r+284>>2]=a,e=B(v[r+280>>2]+e),v[r+280>>2]=e,!(e>=a))break A;if(t=r+280|0,g=B(e/a),B(m(g))>2]=0,v[r+280>>2]=C[r+316|0]?B(0):e,a=e,i=n=B(m(e))>2]=e-B(B(0|n)*a)}if(BA[b[b[r>>2]+20>>2]](r)&&(t=0|BA[b[b[r>>2]+20>>2]](r),d=2808,_=BA[b[b[t>>2]+56>>2]](t)>>>4&1,f[0|d]=_),n){if(t=(0|n)>(0|i)?i:n,BA[b[b[r>>2]+168>>2]](r,B(a*B(0|t))),BA[b[b[r>>2]+176>>2]](r),(0|t)>=1)for(i=0;BA[b[b[r>>2]+160>>2]](r,a),BA[b[b[r>>2]+80>>2]](r),(0|(i=i+1|0))<(0|t););return BA[b[b[r>>2]+120>>2]](r),0|n}return BA[b[b[r>>2]+80>>2]](r),BA[b[b[r>>2]+120>>2]](r),0|n},function(r,e,i){e|=0,i|=0;var a,n=0,t=0,g=0,d=0,v=0,_=0;if((0|(n=b[(a=(r|=0)+228|0)>>2]))==b[r+232>>2]&&!((0|n)>=(0|(g=n?n<<1:1)))){A:{r:{if(g){if(_=CA(g<<2,16),(0|(n=b[r+228>>2]))>=1)break r;break A}if((0|n)<1)break A}for(d=r+236|0,t=n;b[v+_>>2]=b[b[d>>2]+v>>2],v=v+4|0,t=t+-1|0;);}(t=b[(d=r+236|0)>>2])&&(C[r+240|0]&&(gA(t),n=b[r+228>>2]),b[r+236>>2]=0),b[d>>2]=_,f[r+240|0]=1,b[r+232>>2]=g}b[a>>2]=n+1,b[b[r+236>>2]+(n<<2)>>2]=e,i&&(Ki(b[e+28>>2],e),Ki(b[e+32>>2],e))},function(r,e){e|=0;var i=0,a=0,f=0,n=0;A:if(!((0|(i=b[(r|=0)+228>>2]))<1)){for(a=n=b[r+236>>2];;){if((0|e)!=b[a>>2]){if(a=a+4|0,(0|(f=f+1|0))<(0|i))continue;break A}break}(0|i)<=(0|f)||(f=a,i=(a=i+-1|0)<<2,b[f>>2]=b[i+n>>2],b[r+228>>2]=a,b[i+b[r+236>>2]>>2]=e)}qi(b[e+28>>2],e),qi(b[e+32>>2],e)},function(r,e){e|=0;var i,a=0,n=0,t=0,g=0,d=0,v=0;if((0|(a=b[(i=(r|=0)+296|0)>>2]))==b[r+300>>2]&&!((0|a)>=(0|(t=a?a<<1:1)))){A:{r:{if(t){if(v=CA(t<<2,16),(0|(a=b[r+296>>2]))>=1)break r;break A}if((0|a)<1)break A}for(g=r+304|0,n=a;b[d+v>>2]=b[b[g>>2]+d>>2],d=d+4|0,n=n+-1|0;);}(n=b[(g=r+304|0)>>2])&&(C[r+308|0]&&(gA(n),a=b[r+296>>2]),b[r+304>>2]=0),b[g>>2]=v,f[r+308|0]=1,b[r+300>>2]=t}b[i>>2]=a+1,b[b[r+304>>2]+(a<<2)>>2]=e},function(r,e){e|=0;var i=0,a=0,f=0,n=0;A:if(!((0|(i=b[(r|=0)+296>>2]))<1)){for(a=n=b[r+304>>2];;){if((0|e)!=b[a>>2]){if(a=a+4|0,(0|(f=f+1|0))<(0|i))continue;break A}break}(0|i)<=(0|f)||(f=a,i=(a=i+-1|0)<<2,b[f>>2]=b[i+n>>2],b[r+296>>2]=a,b[i+b[r+304>>2]>>2]=e)}},function(r,e){r|=0;var i,a=0,n=0,t=0,C=0,g=0;if(a=b[(e|=0)+4>>2],b[r+264>>2]=b[e>>2],b[r+268>>2]=a,t=b[(n=e+8|0)+4>>2],b[(a=r+272|0)>>2]=b[n>>2],b[a+4>>2]=t,(0|(n=b[(i=r+248|0)>>2]))>=1)for(a=0,g=r+256|0,r=0;t=b[b[g>>2]+a>>2],2==(0|(C=b[t+220>>2]))|5==(0|C)|1&f[t+564|0]||(Ui(t,e),n=b[i>>2]),a=a+4|0,(0|(r=r+1|0))<(0|n););},function(r,e){r|=0;var i=0;i=b[(e|=0)+268>>2],b[r>>2]=b[e+264>>2],b[r+4>>2]=i,i=b[(e=e+272|0)+4>>2],b[(r=r+8|0)>>2]=b[e>>2],b[r+4>>2]=i},function(r){r|=0;var e,i=0,a=B(0),f=0,n=0,t=0,g=0,d=0,_=0,R=0,m=0;N=e=N+-64|0;A:if(C[r+290|0]){if((0|(i=b[(g=r+8|0)>>2]))<1)break A;for(_=r+16|0,R=r+316|0,f=r+280|0,m=r+284|0;!(r=b[b[_>>2]+n>>2])|!(2&b[r+252>>2])||(!b[(t=r+540|0)>>2]|3&C[r+204|0]||(xi(i=r+68|0,r+132|0,r+148|0,a=C[0|R]&&(a=v[m>>2])!=B(0)?B(v[f>>2]-a):B(v[f>>2]*v[r+268>>2]),e),r=b[t>>2],BA[b[b[r>>2]+12>>2]](r,e),i=b[g>>2])),n=n+4|0,(0|(d=d+1|0))<(0|i););}else if(g=r+248|0,f=b[g>>2],!((0|f)<1))for(_=r+256|0,R=r+316|0,d=r+280|0,m=r+284|0,r=0;;){if(i=b[b[_>>2]+n>>2],2==(0|(t=b[i+220>>2]))|5==(0|t)|!b[i+540>>2]||3&C[i+204|0]){if(n=n+4|0,(0|(r=r+1|0))<(0|f))continue;break A}if(xi(f=i+68|0,t=i+132|0,i+148|0,a=C[0|R]&&(a=v[m>>2])!=B(0)?B(v[d>>2]-a):B(v[d>>2]*v[i+268>>2]),e),i=b[i+540>>2],BA[b[b[i>>2]+12>>2]](i,e),n=n+4|0,!((0|(r=r+1|0))<(0|(f=b[g>>2]))))break}N=e- -64|0},function(r,e){r|=0;var i=0,a=0,n=0,t=0,g=0,d=0,v=0;if(3&C[(e|=0)+204|0]|1&f[e+564|0]||Ui(e,r+264|0),b[e+192>>2]){A:{r:{e:{i:{a:{if(!(1&f[e+204|0])){if((0|(i=b[(d=r+248|0)>>2]))!=b[r+252>>2])break r;if((0|i)>=(0|(n=i?i<<1:1)))break r;if(!n)break a;if(v=CA(n<<2,16),(0|(i=b[r+248>>2]))>=1)break i;break e}Vr(e,2);break A}if((0|i)<1)break e}for(t=r+256|0,a=i;b[g+v>>2]=b[b[t>>2]+g>>2],g=g+4|0,a=a+-1|0;);}(a=b[(t=r+256|0)>>2])&&(C[r+260|0]&&(gA(a),i=b[r+248>>2]),b[r+256>>2]=0),b[t>>2]=v,f[r+260|0]=1,b[r+252>>2]=n}b[d>>2]=i+1,b[b[r+256>>2]+(i<<2)>>2]=e}i=e,e=3&b[e+204>>2],BA[b[b[r>>2]+36>>2]](r,i,e?2:1,e?-3:-1)}},function(r,e,i,a){r|=0,i|=0,a|=0;var n=0,t=0,g=0,d=0,v=0,_=0,R=0;if(3&C[(e|=0)+204|0]|1&f[e+564|0]||Ui(e,r+264|0),b[e+192>>2]){A:{r:{e:{i:{a:{if(!(1&f[e+204|0])){if((0|(n=b[(_=r+248|0)>>2]))!=b[r+252>>2])break r;if((0|n)>=(0|(g=n?n<<1:1)))break r;if(!g)break a;if(R=CA(g<<2,16),(0|(n=b[r+248>>2]))>=1)break i;break e}Vr(e,2);break A}if((0|n)<1)break e}for(d=r+256|0,t=n;b[v+R>>2]=b[b[d>>2]+v>>2],v=v+4|0,t=t+-1|0;);}(t=b[(d=r+256|0)>>2])&&(C[r+260|0]&&(gA(t),n=b[r+248>>2]),b[r+256>>2]=0),b[d>>2]=R,f[r+260|0]=1,b[r+252>>2]=g}b[_>>2]=n+1,b[b[r+256>>2]+(n<<2)>>2]=e}BA[b[b[r>>2]+36>>2]](r,e,i,a)}},function(r,e){e|=0;var i=0,a=0,f=0,n=0;A:if(!((0|(i=b[(r|=0)+248>>2]))<1)){for(a=n=b[r+256>>2];;){if((0|e)!=b[a>>2]){if(a=a+4|0,(0|(f=f+1|0))<(0|i))continue;break A}break}(0|i)<=(0|f)||(f=a,i=(a=i+-1|0)<<2,b[f>>2]=b[i+n>>2],b[r+248>>2]=a,b[i+b[r+256>>2]>>2]=e)}Ca(r,e)},function(r,e){e|=0,C[(r|=0)+289|0]&&gA(b[r+216>>2]),b[r+216>>2]=e,f[r+289|0]=0,b[b[r+212>>2]+8>>2]=e},function(r){return b[(r|=0)+216>>2]},function(r){return b[(r|=0)+228>>2]},Sa,Sa,wr,function(r){var e,i=0,a=0,f=0,n=0;if(b[(e=(r|=0)+248|0)>>2]>=1)for(n=r+256|0,r=0;a=b[b[n>>2]+f>>2],b[(i=a)+472>>2]=0,b[i+476>>2]=0,b[(i=i+496|0)>>2]=0,b[i+4>>2]=0,b[(i=a+488|0)>>2]=0,b[i+4>>2]=0,b[(a=a+480|0)>>2]=0,b[a+4>>2]=0,f=f+4|0,(0|(r=r+1|0))>2];);},Xa,Ma,Xa,Ma,function(r,e){r|=0,e=B(e);var i,a,f=0,n=0,t=0,g=0;N=i=N-16|0,$e(i+8|0,23099);A:if(!((0|(f=b[(a=r+248|0)>>2]))<1))for(g=r+256|0,r=0;;){if(t=b[b[g>>2]+n>>2],3&C[t+204|0]){if(n=n+4|0,(0|(r=r+1|0))<(0|f))continue;break A}if(ji(t,e),Mi(t,e,t+68|0),n=n+4|0,!((0|(r=r+1|0))<(0|(f=b[a>>2]))))break}Ai(),N=i+16|0},function(r,e){r|=0,e=B(e);var i,a=0,f=0,n=B(0),t=0,g=0,d=B(0),_=B(0),R=0,m=B(0),h=0,G=0,y=0;if(N=i=N-80|0,$e(i+72|0,23041),(0|(a=b[r+248>>2]))>=1&&function(r,e,i,a){var f,n=0,t=0,g=0,d=0,_=B(0),R=0,m=0,h=0,G=0,y=0,Q=0,p=0,D=0,w=0,Z=B(0),Y=0,W=0,F=0,E=0,j=0,Be=0,ui=0,gi=0,Ri=0,wi=0,Xi=B(0),Da=0;N=f=N-304|0;A:if(!((0|i)<1))for(p=f+56|0,G=f+40|0,F=f+272|0,y=f+24|0,E=f+256|0,Q=f+100|0,D=f+160|0,w=f+144|0,h=f+288|0,j=r+44|0,Be=r+68|0,Y=f+140|0,ui=f+208|0,gi=f+224|0,Ri=f+220|0,W=f+216|0,wi=f+212|0;;){d=b[e>>2],b[d+268>>2]=1065353216;r:{if(n=b[d+220>>2],!(3&C[d+204|0]|2==(0|n)|5==(0|n))){if(Mi(d,a,f+240|0),!C[0|j])break r;if(_=v[d+276>>2],(_=B(_*_))==B(0))break r;if(Xi=_,n=d+52|0,_=B(v[h>>2]-v[n>>2]),Z=B(_*_),_=B(v[f+292>>2]-v[d+56>>2]),Z=B(Z+B(_*_)),_=B(v[f+296>>2]-v[d+60>>2]),!(Xi>2]+4>>2]>19||(b[706]=b[706]+1,t=b[Be>>2],t=0|BA[b[b[t>>2]+36>>2]](t),b[Y>>2]=-1,R=b[(g=n+8|0)+4>>2],b[(m=w+8|0)>>2]=b[g>>2],b[m+4>>2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+20|0)+4>>2],b[y>>2]=b[t>>2],b[y+4>>2]=g,g=b[(t=d+44|0)+4>>2],b[R>>2]=b[t>>2],b[R+4>>2]=g,g=b[(t=d+36|0)+4>>2],b[G>>2]=b[t>>2],b[G+4>>2]=g,ma(r,f+72|0,n,f+8|0,f+128|0,B(0)),!((_=v[f+132>>2])>2]=_,Mi(d,B(_*a),f+240|0),b[n>>2]=0,Hi(d,f+240|0),Ai()}if(e=e+4|0,i=i+-1|0)continue;break A}if(Hi(d,f+240|0),e=e+4|0,!(i=i+-1|0))break}N=f+304|0}(r,b[r+256>>2],a,e),C[r+291|0]){if($e(i- -64|0,23061),b[(h=r+324|0)>>2]>=1)for(y=r+332|0;;){if(t=b[b[y>>2]+(R<<2)>>2],!(b[t+780>>2]<1))if(r=b[t+776>>2],a=b[r+252>>2]<<30>>31&r,r=b[t+772>>2],f=b[r+252>>2]<<30>>31&r)for(r=t+128|0,g=0;(e=vr(f,a))>B(0)&&((n=v[r>>2])!=B(0)&&(m=v[r+-60>>2],d=v[r+-56>>2],_=v[r+-52>>2],b[i+60>>2]=0,v[(G=i+56|0)>>2]=-B(e*B(_*n)),v[i+52>>2]=-B(e*B(d*n)),v[i+48>>2]=-B(e*B(m*n)),b[i+44>>2]=0,v[i+40>>2]=v[r+-68>>2]-v[f+60>>2],v[i+36>>2]=v[r+-72>>2]-v[f+56>>2],v[i+32>>2]=v[r+-76>>2]-v[f+52>>2],b[i+28>>2]=0,v[i+24>>2]=v[r+-84>>2]-v[a+60>>2],v[i+20>>2]=v[r+-88>>2]-v[a+56>>2],v[i+16>>2]=v[r+-92>>2]-v[a+52>>2],gf(f,i+48|0,i+32|0),b[i+12>>2]=0,v[i+8>>2]=-v[G>>2],v[i+4>>2]=-v[i+52>>2],v[i>>2]=-v[i+48>>2],gf(a,i,i+16|0))),r=r+192|0,(0|(g=g+1|0))>2];);else for(r=t+68|0,g=0;(e=vr(f,a))>B(0)&&((n=v[r+60>>2])!=B(0)&&(m=v[r+4>>2],d=v[r+8>>2],_=v[r>>2],b[i+60>>2]=0,d=B(e*B(d*n)),v[i+56>>2]=-d,_=B(e*B(_*n)),v[i+48>>2]=-_,e=B(e*B(m*n)),v[i+52>>2]=-e,b[i+44>>2]=0,v[i+40>>2]=v[r+-8>>2]-v[f+60>>2],v[i+36>>2]=v[r+-12>>2]-v[f+56>>2],v[i+32>>2]=v[r+-16>>2]-v[f+52>>2],b[i+28>>2]=0,v[i+24>>2]=v[r+-24>>2]-v[a+60>>2],v[i+20>>2]=v[r+-28>>2]-v[a+56>>2],v[i+16>>2]=v[r+-32>>2]-v[a+52>>2],b[i+12>>2]=0,v[i+8>>2]=d,v[i+4>>2]=e,v[i>>2]=_,gf(a,i,i+16|0))),r=r+192|0,(0|(g=g+1|0))>2];);if(!((0|(R=R+1|0))>2]))break}Ai()}Ai(),N=i+80|0},function(r){r|=0;var e,i,a=0,f=0,n=0,t=0,g=0,d=0,v=0,_=0,R=0,B=0,m=0,h=0,G=0,y=0,Q=0,p=0,D=0,w=0,Z=0,Y=0,W=0;for(N=e=N-16|0,$e(e+8|0,22905),a=b[r+220>>2],BA[b[b[a>>2]+8>>2]](a,r,b[r+24>>2]),(0|(i=b[r+324>>2]))>=1?(G=b[r+332>>2],y=2,d=3,Q=r+220|0,p=16,a=1):a=0;;){A:{r:{e:{i:{a:{f:{if(!a){if((0|(h=b[r+228>>2]))<1)break f;D=b[r+236>>2],R=0,w=2,Z=1,v=3,Y=r+220|0,W=16,g=1;break r}if(!g){if(f=b[(B<>2],(a=b[f+772>>2])&&!(!(f=b[f+776>>2])|b[a+204>>2]&d|C[f+204|0]&d)){if(f=b[f+208>>2],_=b[b[Q>>2]+p>>2],t=b[a+208>>2],(0|(n=b[(a=_+(t<>2]))!=(0|t))for(;m=a,a=_+(n<>2]=b[a>>2],t=b[a>>2],(0|(n=b[(a=_+(t<>2]))!=(0|t););if((0|f)!=(0|(n=b[(a=_+(f<>2])))for(;m=a,a=_+(n<>2]=b[a>>2],(0|(f=b[a>>2]))!=(0|(n=b[(a=_+(f<>2])););(0|f)!=(0|t)&&(b[(a=_+(t<>2]=f,b[(f=_+(f<>2]=b[f+4>>2]+b[a+4>>2])}if((0|(B=B+1|0))<(0|i))break a;a=0;continue}if(a=b[(R<>2],C[a+20|0]&&(f=b[a+28>>2],!(C[f+204|0]&v||(a=b[a+32>>2],C[a+204|0]&v)))){if(g=b[a+208>>2],n=b[b[Y>>2]+W>>2],f=b[f+208>>2],(0|(a=b[(t=n+(f<>2]))!=(0|f))for(;a=n+(a<>2]=b[a>>2],f=b[a>>2],(0|(a=b[(t=n+(f<>2]))!=(0|f););if((0|g)!=(0|(a=b[(t=n+(g<>2])))for(;a=n+(a<>2]=b[a>>2],g=b[a>>2],(0|(a=b[(t=n+(g<>2]))!=(0|g););(0|f)!=(0|g)&&(b[(a=n+(f<>2]=g,b[(f=n+(g<>2]=b[f+4>>2]+b[a+4>>2])}if((0|(R=R+Z|0))!=(0|h))break i}return a=b[r+220>>2],BA[b[b[a>>2]+12>>2]](a,r),Ai(),void(N=e+16|0)}g=0;break e}g=1;break A}a=1;continue}a=1;continue}a=1}},function(r,e){r|=0,e|=0;var i,a,n,t,g,d,v=0,_=0,R=0,B=0,m=0,h=0;if(N=i=N-16|0,$e(i+8|0,22888),(0|(R=b[(a=r+196|0)>>2]))<(0|(B=b[r+228>>2]))){if(b[r+200>>2]<(0|B)){A:{r:{if(B){if(m=CA(B<<2,16),(0|(v=b[r+196>>2]))>=1)break r;break A}if((0|(v=R))<1)break A}for(h=r+204|0;b[_+m>>2]=b[b[h>>2]+_>>2],_=_+4|0,v=v+-1|0;);}(_=b[(v=r+204|0)>>2])&&(C[r+208|0]&&gA(_),b[r+204>>2]=0),b[v>>2]=m,f[r+208|0]=1,b[r+200>>2]=B}for(_=R<<2,v=B-R|0,R=r+204|0;b[b[R>>2]+_>>2]=0,_=_+4|0,v=v+-1|0;);}if(b[a>>2]=B,(0|BA[b[b[r>>2]+104>>2]](r))>=1)for(_=0,R=r+204|0,B=r+236|0,v=0;b[b[R>>2]+_>>2]=b[b[B>>2]+_>>2],_=_+4|0,(0|(v=v+1|0))<(0|BA[b[b[r>>2]+104>>2]](r)););(0|(v=b[r+196>>2]))>=2&&function A(r,e,i,a){var f,n=0,t=0,C=0,g=0,d=0,v=0,_=0,R=0,B=0,m=0;for(f=r+12|0;;){for(B=i,C=b[f>>2],R=b[C+((i+a|0)/2<<2)>>2],t=a;;){A:if(v=(0|(d=b[b[R+28>>2]+208>>2]))<0)for(g=i+-1|0,i=((i<<2)+C|0)-4|0,n=b[b[R+32>>2]+208>>2];;){if(_=b[(i=i+4|0)>>2],(0|(m=b[b[_+28>>2]+208>>2]))>-1){if(g=g+1|0,(0|m)<(0|n))continue;break A}if(g=g+1|0,!(b[b[_+32>>2]+208>>2]<(0|n)))break}else for(g=i+-1|0,i=((i<<2)+C|0)-4|0;;){if(n=b[(i=i+4|0)>>2],(0|(_=b[b[n+28>>2]+208>>2]))>-1){if(g=g+1|0,(0|_)<(0|d))continue;break A}if(g=g+1|0,!(b[b[n+32>>2]+208>>2]<(0|d)))break}A:if(v)for(n=t+1|0,t=4+((t<<2)+C|0)|0,C=b[b[R+32>>2]+208>>2];;){if(d=b[(t=t+-4|0)>>2],(0|(v=b[b[d+28>>2]+208>>2]))>-1){if(n=n+-1|0,(0|C)<(0|v))continue;break A}if(n=n+-1|0,!((0|C)>2]+208>>2]))break}else for(n=t+1|0,t=4+((t<<2)+C|0)|0;;){if(C=b[(t=t+-4|0)>>2],(0|(v=b[b[C+28>>2]+208>>2]))>-1){if(n=n+-1|0,(0|d)<(0|v))continue;break A}if(n=n+-1|0,!((0|d)>2]+208>>2]))break}A:{r:{if((0|g)>(0|n)){if(t=n,(0|(i=g))<=(0|n))break r;break A}if(C=b[i>>2],b[i>>2]=b[t>>2],b[b[f>>2]+(n<<2)>>2]=C,(0|(i=g+1|0))>(0|(t=n+-1|0)))break A}C=b[f>>2];continue}break}if((0|t)>(0|B)&&A(r,e,B,t),!((0|i)<(0|a)))break}}(r+192|0,i,0,v+-1|0),_=BA[b[b[r>>2]+104>>2]](r)?b[r+204>>2]:0,function(r,e,i,a,n){if(b[r+20>>2]=n,b[r+16>>2]=a,b[r+12>>2]=i,b[r+4>>2]=e,(0|(i=b[(a=r+32|0)>>2]))<=-1)for(b[r+36>>2]<=-1&&((e=b[r+40>>2])&&(C[r+44|0]&&gA(e),b[r+40>>2]=0),f[r+44|0]=1,b[(e=r+36|0)>>2]=0,b[e+4>>2]=0),e=i<<2,n=r+40|0;b[b[n>>2]+e>>2]=0,e=e+4|0,i=i+1|0;);if(b[a>>2]=0,(0|(i=b[(a=r+52|0)>>2]))<=-1)for(b[r+56>>2]<=-1&&((e=b[r+60>>2])&&(C[r- -64|0]&&gA(e),b[r+60>>2]=0),f[r- -64|0]=1,b[(e=r+56|0)>>2]=0,b[e+4>>2]=0),e=i<<2,n=r+60|0;b[b[n>>2]+e>>2]=0,e=e+4|0,i=i+1|0;);if(b[a>>2]=0,(0|(i=b[(a=r+72|0)>>2]))<=-1)for(b[r+76>>2]<=-1&&((e=b[r+80>>2])&&(C[r+84|0]&&gA(e),b[r+80>>2]=0),f[r+84|0]=1,b[(e=r+76|0)>>2]=0,b[e+4>>2]=0),e=i<<2,r=r+80|0;b[b[r>>2]+e>>2]=0,e=e+4|0,i=i+1|0;);b[a>>2]=0}(b[r+212>>2],e,_,b[r+196>>2],0|BA[b[b[r>>2]+20>>2]](r)),v=b[r+216>>2],R=b[r+24>>2],t=v,g=b[r+8>>2],d=0|BA[b[b[R>>2]+36>>2]](R),n=b[b[v>>2]+8>>2],BA[n](0|t,0|g,0|d),wa(b[r+220>>2],b[r+24>>2],r,b[r+212>>2]),xa(b[r+212>>2]),v=b[r+216>>2],BA[b[b[v>>2]+16>>2]](v,e,b[r+72>>2]),Ai(),N=i+16|0},function(r,e){r|=0,e=B(e);var i,a,f=B(0),n=0,t=B(0),g=0,d=0,_=0;if(N=i=N-16|0,$e(i+8|0,22866),b[(a=r+248|0)>>2]>=1)for(_=r+256|0;;){A:if(r=b[b[_>>2]+g>>2]){r:{e:{if(!(2==(0|(n=b[r+220>>2]))|4==(0|n))){if(f=v[r+372>>2],t=B(f*f),f=v[r+376>>2],t=B(t+B(f*f)),f=v[r+380>>2],t=B(t+B(f*f)),f=v[r+532>>2],t>2],t=B(f*f),f=v[r+392>>2],t=B(t+B(f*f)),f=v[r+396>>2],t=B(t+B(f*f)),f=v[r+536>>2],t>2]=v[r+224>>2]+e,!C[2808])break e;break r}b[r+224>>2]=0,Vr(r,0),n=b[r+220>>2]}if(4==(0|n))break A;if(C[2808])break r}if(!((f=v[800])==B(0)|(v[r+224>>2]>f^1?2!=(-2&n):0))){if(!(3&C[r+204|0])){if(1==(0|n)&&(Vr(r,3),n=b[r+220>>2]),2!=(0|n))break A;b[r+388>>2]=0,b[r+392>>2]=0,b[r+372>>2]=0,b[r+376>>2]=0,b[(n=r+396|0)>>2]=0,b[n+4>>2]=0,b[(n=r+380|0)>>2]=0,b[n+4>>2]=0,b[r+304>>2]=b[r+304>>2]+2;break A}Vr(r,2);break A}}Vr(r,1)}if(g=g+4|0,!((0|(d=d+1|0))>2]))break}Ai(),N=i+16|0},function(r,e){r|=0,e=B(e);var i,a,f,n,t=0,C=0,g=0,d=0;if(N=i=N-16|0,$e(i,22823),(t=b[r+84>>2])&&BA[t](r,e),BA[b[b[r>>2]+140>>2]](r,e),t=0,b[r+32>>2]=0,v[r+28>>2]=e,f=r+48|0,n=0|BA[b[b[r>>2]+20>>2]](r),b[f>>2]=n,BA[b[b[r>>2]+164>>2]](r,e),BA[b[b[r>>2]+44>>2]](r),BA[b[b[r>>2]+148>>2]](r),v[r+104>>2]=e,BA[b[b[r>>2]+152>>2]](r,r+92|0),BA[b[b[r>>2]+144>>2]](r,e),$e(i+8|0,22852),b[(a=r+296|0)>>2]>=1)for(d=r+304|0;C=b[b[d>>2]+t>>2],BA[b[b[C>>2]+8>>2]](C,r,e),t=t+4|0,(0|(g=g+1|0))>2];);Ai(),BA[b[b[r>>2]+156>>2]](r,e),(t=b[r+80>>2])&&BA[t](r,e),Ai(),N=i+16|0},function(r,e){r|=0,e=B(e);var i,a,n,t=0,g=0,d=0,_=0,m=0;if(N=i=N-16|0,$e(i,22996),$e(i+8|0,22959),t=b[(a=r+332|0)>>2],b[(n=r+324|0)>>2]>=1)for(m=r+24|0;g=b[m>>2],BA[b[b[g>>2]+16>>2]](g,b[t+d>>2]),d=d+4|0,t=b[a>>2],(0|(_=_+1|0))>2];);t&&(C[r+336|0]&&gA(t),b[r+332>>2]=0),b[r+332>>2]=0,f[r+336|0]=1,b[(t=r+324|0)>>2]=0,b[t+4>>2]=0,Ai(),(0|(t=b[r+248>>2]))>=1&&function(r,e,i,a){var n,t=0,g=0,d=0,_=0,m=B(0),h=0,Q=B(0),p=B(0),D=B(0),w=0,Z=B(0),Y=0,W=0,F=B(0),E=0,j=0,Be=0,ui=0,gi=0,Ri=0,wi=0,Xi=B(0),Da=0,Ia=0,yf=0,Qf=0,pf=B(0),Df=B(0),wf=B(0),Zf=B(0),Yf=B(0),Wf=0,Ff=0,Ef=0,Nf=0,Vf=0,Xf=0,Jf=0,If=0,xf=B(0),Mf=0,Sf=0,Tf=0,Uf=0,jf=0,Of=B(0),Hf=B(0),zf=B(0),Pf=B(0),Lf=0,Kf=0,qf=0,$f=0,An=0,rn=0,en=0,an=B(0),fn=B(0);N=n=N-496|0;A:if(!((0|i)<1))for(Y=n+124|0,Wf=n+92|0,Ff=n+72|0,Da=n+368|0,Ef=n+248|0,gi=n+232|0,Lf=n+464|0,Ri=n+216|0,Kf=n+448|0,Ia=n+292|0,Nf=n+352|0,Vf=n+336|0,W=n+480|0,qf=r+44|0,$f=r+68|0,Mf=n+332|0,yf=n+400|0,An=n+416|0,rn=n+412|0,Sf=n+408|0,Tf=r+328|0,Qf=r+324|0,wi=r+332|0,Uf=r+336|0;;){if(_=b[(j<<2)+e>>2],b[_+268>>2]=1065353216,t=b[_+220>>2],!(3&C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+4>>2],b[(_=t+60|0)>>2]=b[If>>2],b[_+4>>2]=g,g=b[w+4>>2],b[(_=t+52|0)>>2]=b[w>>2],b[_+4>>2]=g,b[t+48>>2]=0,v[t+44>>2]=D,v[t+40>>2]=Z,v[t+36>>2]=p}if(Ai(),(0|(j=j+1|0))!=(0|i))continue;break A}if((0|(j=j+1|0))==(0|i))break}N=n+496|0}(r,b[r+256>>2],t,e),Ai(),N=i+16|0},function(r,e){r|=0,e=B(e);var i,a=0,f=0,n=0,t=0;if((0|(a=b[(i=r+8|0)>>2]))>=1)for(t=r+16|0;!(r=b[b[t>>2]+f>>2])|!(2&b[r+252>>2])|!(2&C[r+204|0])|2==b[r+220>>2]||(Si(r,e),a=b[i>>2]),f=f+4|0,(0|(n=n+1|0))<(0|a););},function(r,e){r|=0,e|=0;var i,a=0,f=0,n=0,t=0,g=0,d=0,_=B(0),R=B(0),m=B(0),h=0,G=B(0),y=B(0),Q=B(0),p=B(0),D=B(0),w=B(0),Z=B(0),Y=0,W=0,F=0,E=0,j=B(0),Be=B(0),ui=B(0),gi=B(0),Ri=B(0),wi=B(0),Xi=0,Da=B(0),Ia=B(0),yf=B(0),Qf=0,pf=B(0),Df=B(0),wf=B(0),Zf=B(0),Yf=B(0),Wf=B(0),Ff=0,Ef=B(0),Nf=B(0),Vf=B(0),Xf=0;N=i=N-176|0,a=0|BA[b[b[r>>2]+20>>2]](r),a=0|BA[b[b[a>>2]+56>>2]](a),n=0|BA[b[b[r>>2]+20>>2]](r),n=0|BA[b[b[n>>2]+56>>2]](n);A:if(wi=v[e+40>>2],!(wi<=B(0)||(t=b[e+4>>2]+-3|0,t>>>0>9))){f=2048&a,d=4096&n;r:{e:{i:{a:{f:{n:{t:{b:{o:{k:{c:{u:{l:{s:{C:{g:{switch(t-1|0){case 2:case 5:if(t=b[(n=e+1072|0)+4>>2],b[(a=g=i+120|0)>>2]=b[n>>2],b[a+4>>2]=t,t=b[(n=e+1088|0)+4>>2],b[(a=i+136|0)>>2]=b[n>>2],b[a+4>>2]=t,t=b[(n=e+1104|0)+4>>2],b[(a=i+152|0)>>2]=b[n>>2],b[a+4>>2]=t,t=b[(n=e+1120|0)+4>>2],b[(a=i+168|0)>>2]=b[n>>2],b[a+4>>2]=t,n=b[(a=W=e+1064|0)+4>>2],b[i+112>>2]=b[a>>2],b[i+116>>2]=n,n=b[(a=Xi=e+1080|0)+4>>2],b[i+128>>2]=b[a>>2],b[i+132>>2]=n,n=b[(a=E=e+1096|0)+4>>2],b[i+144>>2]=b[a>>2],b[i+148>>2]=n,n=b[(a=Qf=e+1112|0)+4>>2],b[i+160>>2]=b[a>>2],b[i+164>>2]=n,a=i+160|0,n=i+144|0,t=i+128|0,!f)break g;if(f=0|BA[b[b[r>>2]+20>>2]](r),BA[b[b[f>>2]+64>>2]](f,i+112|0,wi),Y=b[(h=e+1184|0)+4>>2],b[(f=a+8|0)>>2]=b[h>>2],b[f+4>>2]=Y,h=b[(f=e+1176|0)+4>>2],b[a>>2]=b[f>>2],b[a+4>>2]=h,h=b[(f=e+1144|0)+4>>2],b[t>>2]=b[f>>2],b[t+4>>2]=h,Y=b[(h=e+1152|0)+4>>2],b[(f=t+8|0)>>2]=b[h>>2],b[f+4>>2]=Y,h=b[(f=e+1160|0)+4>>2],b[n>>2]=b[f>>2],b[n+4>>2]=h,Y=b[(h=e+1168|0)+4>>2],b[(f=n+8|0)>>2]=b[h>>2],b[f+4>>2]=Y,h=b[(f=e+1136|0)+4>>2],b[g>>2]=b[f>>2],b[g+4>>2]=h,g=b[(f=e+1128|0)+4>>2],b[i+112>>2]=b[f>>2],b[i+116>>2]=g,f=0|BA[b[b[r>>2]+20>>2]](r),BA[b[b[f>>2]+64>>2]](f,i+112|0,wi),d)break C;break A;default:if(b[(n=i+172|0)>>2]=0,b[(a=t=i+164|0)>>2]=0,b[a+4>>2]=0,b[(a=i+156|0)>>2]=0,b[a+4>>2]=0,b[(a=i+124|0)>>2]=0,b[a+4>>2]=0,b[i+132>>2]=1065353216,b[(a=i+136|0)>>2]=0,b[a+4>>2]=0,b[i+152>>2]=1065353216,b[i+116>>2]=0,b[i+120>>2]=0,b[i+144>>2]=0,b[i+148>>2]=0,b[i+112>>2]=1065353216,a=b[e+28>>2],G=v[a+52>>2],Q=v[a+8>>2],p=v[a+12>>2],y=v[a+56>>2],D=v[a+28>>2],w=v[a+20>>2],j=v[a+24>>2],_=v[a+60>>2],m=v[a+44>>2],R=v[a+36>>2],Be=v[a+40>>2],ui=v[a+4>>2],b[n>>2]=0,d=i+168|0,Z=_,_=v[e+300>>2],gi=B(R*_),R=v[e+304>>2],Ri=m,m=v[e+308>>2],v[d>>2]=Z+B(B(gi+B(Be*R))+B(Ri*m)),v[t>>2]=y+B(B(B(_*w)+B(R*j))+B(m*D)),v[i+160>>2]=G+B(B(B(_*ui)+B(R*Q))+B(m*p)),a=0|BA[b[b[r>>2]+20>>2]](r),BA[b[b[a>>2]+64>>2]](a,i+112|0,wi),a=b[e+32>>2],G=v[a+52>>2],Q=v[a+8>>2],p=v[a+12>>2],y=v[a+56>>2],D=v[a+28>>2],w=v[a+20>>2],j=v[a+24>>2],_=v[a+60>>2],m=v[a+44>>2],R=v[a+36>>2],Be=v[a+40>>2],ui=v[a+4>>2],b[n>>2]=0,Z=_,_=v[e+316>>2],gi=B(R*_),R=v[e+320>>2],Ri=m,m=v[e+324>>2],v[d>>2]=Z+B(B(gi+B(Be*R))+B(Ri*m)),v[t>>2]=y+B(B(B(_*w)+B(R*j))+B(m*D)),v[i+160>>2]=G+B(B(B(_*ui)+B(R*Q))+B(m*p)),!f)break A;r=0|BA[b[b[r>>2]+20>>2]](r),BA[b[b[r>>2]+64>>2]](r,i+112|0,wi);break A;case 0:if(a=b[e+28>>2],Zf=v[a+52>>2],_=v[a+8>>2],R=v[a+12>>2],j=v[e+584>>2],Be=v[e+552>>2],ui=v[e+568>>2],Yf=v[a+56>>2],Wf=v[a+60>>2],yf=v[e+608>>2],Ri=v[e+600>>2],pf=v[e+604>>2],m=v[a+28>>2],G=v[a+20>>2],Q=v[a+24>>2],Df=v[e+588>>2],Z=v[e+556>>2],gi=v[e+572>>2],Da=v[e+592>>2],p=v[a+44>>2],wf=v[e+560>>2],y=v[a+36>>2],Ia=v[e+576>>2],D=v[a+40>>2],w=v[a+4>>2],b[(n=i+172|0)>>2]=0,b[(t=i+156|0)>>2]=0,b[(W=i+140|0)>>2]=0,v[(Xi=i+152|0)>>2]=B(B(wf*y)+B(Ia*D))+B(Da*p),v[(E=i+148|0)>>2]=B(B(Z*y)+B(gi*D))+B(Df*p),v[(Qf=i+136|0)>>2]=B(B(wf*G)+B(Ia*Q))+B(Da*m),v[(g=i+132|0)>>2]=B(B(Z*G)+B(gi*Q))+B(Df*m),v[(h=i+168|0)>>2]=Wf+B(B(B(y*Ri)+B(D*pf))+B(p*yf)),v[(Y=i+164|0)>>2]=Yf+B(B(B(G*Ri)+B(Q*pf))+B(m*yf)),b[i+124>>2]=0,v[i+144>>2]=B(B(Be*y)+B(ui*D))+B(j*p),v[i+128>>2]=B(B(Be*G)+B(ui*Q))+B(j*m),v[i+120>>2]=B(B(w*wf)+B(_*Ia))+B(R*Da),v[i+116>>2]=B(B(w*Z)+B(_*gi))+B(R*Df),v[i+112>>2]=B(B(Be*w)+B(ui*_))+B(j*R),v[i+160>>2]=Zf+B(B(B(w*Ri)+B(_*pf))+B(R*yf)),!f)break s;a=0|BA[b[b[r>>2]+20>>2]](r),BA[b[b[a>>2]+64>>2]](a,i+112|0,wi),a=b[e+32>>2],Zf=v[a+52>>2],_=v[a+8>>2],R=v[a+12>>2],Yf=v[a+56>>2],Wf=v[a+60>>2],j=v[e+672>>2],Be=v[e+664>>2],ui=v[e+668>>2],m=v[a+28>>2],G=v[a+20>>2],Q=v[a+24>>2],yf=v[e+648>>2],Ri=v[e+616>>2],pf=v[e+632>>2],Df=v[e+652>>2],Z=v[e+620>>2],gi=v[e+636>>2],Da=v[e+656>>2],p=v[a+44>>2],wf=v[e+624>>2],y=v[a+36>>2],Ia=v[e+640>>2],D=v[a+40>>2],w=v[a+4>>2],b[n>>2]=0,b[t>>2]=0,b[W>>2]=0,v[Xi>>2]=B(B(wf*y)+B(Ia*D))+B(Da*p),v[E>>2]=B(B(Z*y)+B(gi*D))+B(Df*p),v[i+144>>2]=B(B(Ri*y)+B(pf*D))+B(yf*p),v[Qf>>2]=B(B(wf*G)+B(Ia*Q))+B(Da*m),v[g>>2]=B(B(Z*G)+B(gi*Q))+B(Df*m),v[h>>2]=Wf+B(B(B(y*Be)+B(D*ui))+B(p*j)),v[Y>>2]=Yf+B(B(B(G*Be)+B(Q*ui))+B(m*j)),v[i+160>>2]=Zf+B(B(B(w*Be)+B(_*ui))+B(R*j)),b[i+124>>2]=0,v[i+128>>2]=B(B(Ri*G)+B(pf*Q))+B(yf*m),v[i+120>>2]=B(B(w*wf)+B(_*Ia))+B(R*Da),v[i+116>>2]=B(B(w*Z)+B(_*gi))+B(R*Df),v[i+112>>2]=B(B(Ri*w)+B(pf*_))+B(yf*R),a=0|BA[b[b[r>>2]+20>>2]](r),BA[b[b[a>>2]+64>>2]](a,i+112|0,wi);break l;case 3:if(t=b[(n=e+832|0)+4>>2],b[(a=W=i+120|0)>>2]=b[n>>2],b[a+4>>2]=t,t=b[(n=e+848|0)+4>>2],b[(a=i+136|0)>>2]=b[n>>2],b[a+4>>2]=t,t=b[(n=e+864|0)+4>>2],b[(a=i+152|0)>>2]=b[n>>2],b[a+4>>2]=t,t=b[(n=e+880|0)+4>>2],b[(a=i+168|0)>>2]=b[n>>2],b[a+4>>2]=t,n=b[(a=Xi=e+824|0)+4>>2],b[i+112>>2]=b[a>>2],b[i+116>>2]=n,n=b[(a=e+840|0)+4>>2],b[i+128>>2]=b[a>>2],b[i+132>>2]=n,n=b[(a=e+856|0)+4>>2],b[i+144>>2]=b[a>>2],b[i+148>>2]=n,n=b[(a=e+872|0)+4>>2],b[i+160>>2]=b[a>>2],b[i+164>>2]=n,a=i+160|0,n=i+144|0,t=i+128|0,!f)break u;if(f=0|BA[b[b[r>>2]+20>>2]](r),BA[b[b[f>>2]+64>>2]](f,i+112|0,wi),Qf=b[(E=e+944|0)+4>>2],b[(f=a+8|0)>>2]=b[E>>2],b[f+4>>2]=Qf,E=b[(f=e+936|0)+4>>2],b[a>>2]=b[f>>2],b[a+4>>2]=E,f=b[(a=e+904|0)+4>>2],b[t>>2]=b[a>>2],b[t+4>>2]=f,a=t+8|0,f=b[(t=e+912|0)+4>>2],b[a>>2]=b[t>>2],b[a+4>>2]=f,t=b[(a=e+920|0)+4>>2],b[n>>2]=b[a>>2],b[n+4>>2]=t,a=n+8|0,t=b[(n=e+928|0)+4>>2],b[a>>2]=b[n>>2],b[a+4>>2]=t,n=b[(a=e+896|0)+4>>2],b[W>>2]=b[a>>2],b[W+4>>2]=n,n=b[(a=e+888|0)+4>>2],b[i+112>>2]=b[a>>2],b[i+116>>2]=n,a=0|BA[b[b[r>>2]+20>>2]](r),BA[b[b[a>>2]+64>>2]](a,i+112|0,wi),d)break c;break A;case 8:if(t=b[(n=e+1244|0)+4>>2],b[(a=g=i+120|0)>>2]=b[n>>2],b[a+4>>2]=t,t=b[(n=e+1260|0)+4>>2],b[(a=i+136|0)>>2]=b[n>>2],b[a+4>>2]=t,t=b[(n=e+1276|0)+4>>2],b[(a=i+152|0)>>2]=b[n>>2],b[a+4>>2]=t,t=b[(n=e+1292|0)+4>>2],b[(a=i+168|0)>>2]=b[n>>2],b[a+4>>2]=t,n=b[(a=W=e+1236|0)+4>>2],b[i+112>>2]=b[a>>2],b[i+116>>2]=n,n=b[(a=Xi=e+1252|0)+4>>2],b[i+128>>2]=b[a>>2],b[i+132>>2]=n,n=b[(a=E=e+1268|0)+4>>2],b[i+144>>2]=b[a>>2],b[i+148>>2]=n,n=b[(a=Qf=e+1284|0)+4>>2],b[i+160>>2]=b[a>>2],b[i+164>>2]=n,a=i+160|0,n=i+144|0,t=i+128|0,!f)break k;if(f=0|BA[b[b[r>>2]+20>>2]](r),BA[b[b[f>>2]+64>>2]](f,i+112|0,wi),Y=b[(h=e+1356|0)+4>>2],b[(f=a+8|0)>>2]=b[h>>2],b[f+4>>2]=Y,h=b[(f=e+1348|0)+4>>2],b[a>>2]=b[f>>2],b[a+4>>2]=h,h=b[(f=e+1316|0)+4>>2],b[t>>2]=b[f>>2],b[t+4>>2]=h,Y=b[(h=e+1324|0)+4>>2],b[(f=t+8|0)>>2]=b[h>>2],b[f+4>>2]=Y,h=b[(f=e+1332|0)+4>>2],b[n>>2]=b[f>>2],b[n+4>>2]=h,Y=b[(h=e+1340|0)+4>>2],b[(f=n+8|0)>>2]=b[h>>2],b[f+4>>2]=Y,h=b[(f=e+1308|0)+4>>2],b[g>>2]=b[f>>2],b[g+4>>2]=h,g=b[(f=e+1300|0)+4>>2],b[i+112>>2]=b[f>>2],b[i+116>>2]=g,f=0|BA[b[b[r>>2]+20>>2]](r),BA[b[b[f>>2]+64>>2]](f,i+112|0,wi),d)break o;break A;case 4:case 6:case 7:break A;case 1:}if(a=b[e+28>>2],Zf=v[a+52>>2],_=v[a+8>>2],R=v[a+12>>2],j=v[e+332>>2],Be=v[e+300>>2],ui=v[e+316>>2],Yf=v[a+56>>2],Wf=v[a+60>>2],yf=v[e+356>>2],Ri=v[e+348>>2],pf=v[e+352>>2],m=v[a+28>>2],G=v[a+20>>2],Q=v[a+24>>2],Df=v[e+336>>2],Z=v[e+304>>2],gi=v[e+320>>2],Da=v[e+340>>2],p=v[a+44>>2],wf=v[e+308>>2],y=v[a+36>>2],Ia=v[e+324>>2],D=v[a+40>>2],w=v[a+4>>2],b[(n=i+172|0)>>2]=0,b[(t=i+156|0)>>2]=0,b[(W=i+140|0)>>2]=0,v[(Xi=i+152|0)>>2]=B(B(wf*y)+B(Ia*D))+B(Da*p),v[(E=i+148|0)>>2]=B(B(Z*y)+B(gi*D))+B(Df*p),v[(Qf=i+136|0)>>2]=B(B(wf*G)+B(Ia*Q))+B(Da*m),v[(g=i+132|0)>>2]=B(B(Z*G)+B(gi*Q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=d,b[i+108>>2]=0,b[i+96>>2]=b[f>>2],b[i+100>>2]=b[i+136>>2],b[i+104>>2]=b[i+152>>2],b[i+92>>2]=0,b[i+80>>2]=b[i+112>>2],b[i+84>>2]=b[i+128>>2],b[i+88>>2]=b[i+144>>2],_=v[e+932>>2],R=v[e+936>>2],m=v[e+996>>2],G=v[e+1e3>>2],F=0|BA[b[b[r>>2]+20>>2]](r),b[(d=i+72|0)>>2]=0,b[d+4>>2]=0,b[i+64>>2]=0,b[i+68>>2]=0,d=e+1176|0,BA[b[b[F>>2]+72>>2]](F,d,i+96|0,i+80|0,B(wi*B(.8999999761581421)),_,R,m,G,i- -64|0,B(10),1),b[i+92>>2]=0,b[i+88>>2]=b[i+148>>2],b[i+84>>2]=b[i+132>>2],b[i+80>>2]=b[i+116>>2],m=Na(e,1),G=Na(e,2),Ff=b[(F=e+1136|0)+4>>2],b[f>>2]=b[F>>2],b[f+4>>2]=Ff,F=b[(f=e+1144|0)+4>>2],b[t>>2]=b[f>>2],b[t+4>>2]=F,F=b[(f=e+1152|0)+4>>2],b[g>>2]=b[f>>2],b[g+4>>2]=F,g=b[(f=e+1160|0)+4>>2],b[n>>2]=b[f>>2],b[n+4>>2]=g,g=b[(f=e+1168|0)+4>>2],b[h>>2]=b[f>>2],b[h+4>>2]=g,g=b[(f=e+1128|0)+4>>2],b[i+112>>2]=b[f>>2],b[i+116>>2]=g,_=ge(G),R=v[i+80>>2],G=_e(G),Q=v[i+84>>2],v[i+68>>2]=B(G*Q)-B(_*R),p=ge(m),m=_e(m),y=v[i+88>>2],v[i+72>>2]=B(B(R*B(G*p))+B(Q*B(p*_)))+B(m*y),v[i+64>>2]=B(B(R*B(m*G))+B(Q*B(m*_)))-B(p*y),g=b[(f=e+1184|0)+4>>2],b[Y>>2]=b[f>>2],b[Y+4>>2]=g,f=b[d+4>>2],b[a>>2]=b[d>>2],b[a+4>>2]=f,b[i+60>>2]=0,v[i+56>>2]=-v[i+144>>2],v[i+52>>2]=-v[i+128>>2],v[i+48>>2]=-v[i+112>>2],!((_=v[e+868>>2])>(R=v[e+872>>2])))break n;f=0|BA[b[b[r>>2]+20>>2]](r),b[(g=i+40|0)>>2]=0,b[g+4>>2]=0,b[i+32>>2]=0,b[i+36>>2]=0,BA[b[b[f>>2]+68>>2]](f,d,i+48|0,i- -64|0,wi,wi,B(-3.1415927410125732),B(3.1415927410125732),i+32|0,0,B(10));break f}a=b[e+32>>2],Zf=v[a+52>>2],Yf=v[a+56>>2],Wf=v[a+60>>2],j=v[e+672>>2],Be=v[e+664>>2],ui=v[e+668>>2],_=v[a+8>>2],R=v[a+12>>2],m=v[a+28>>2],G=v[a+20>>2],Q=v[a+24>>2],yf=v[e+648>>2],Ri=v[e+616>>2],pf=v[e+632>>2],Df=v[e+652>>2],Z=v[e+620>>2],gi=v[e+636>>2],Da=v[e+656>>2],p=v[a+44>>2],wf=v[e+624>>2],y=v[a+36>>2],Ia=v[e+640>>2],D=v[a+40>>2],w=v[a+4>>2],b[n>>2]=0,b[t>>2]=0,b[W>>2]=0,b[i+124>>2]=0,v[Xi>>2]=B(B(wf*y)+B(Ia*D))+B(Da*p),v[E>>2]=B(B(Z*y)+B(gi*D))+B(Df*p),v[i+144>>2]=B(B(Ri*y)+B(pf*D))+B(yf*p),v[Qf>>2]=B(B(wf*G)+B(Ia*Q))+B(Da*m),v[g>>2]=B(B(Z*G)+B(gi*Q))+B(Df*m),v[i+128>>2]=B(B(Ri*G)+B(pf*Q))+B(yf*m),v[i+120>>2]=B(B(w*wf)+B(_*Ia))+B(R*Da),v[h>>2]=Wf+B(B(B(y*Be)+B(D*ui))+B(p*j)),v[Y>>2]=Yf+B(B(B(G*Be)+B(Q*ui))+B(m*j)),v[i+160>>2]=Zf+B(B(B(w*Be)+B(_*ui))+B(R*j)),v[i+116>>2]=B(B(w*Z)+B(_*gi))+B(R*Df),v[i+112>>2]=B(B(Ri*w)+B(pf*_))+B(yf*R)}if(!d|(_=function(r){var e=B(0);return(e=Wa(B(v[r>>2]-v[r+4>>2])))B(3.1415927410125732)^1?e:B(e+B(-6.2831854820251465))}(a=e+688|0))==(R=function(r){var e=B(0);return(e=Wa(B(v[r>>2]+v[r+4>>2])))B(3.1415927410125732)^1?e:B(e+B(-6.2831854820251465))}(a)))break A;m=v[e+692>>2],b[i+108>>2]=0,b[i+96>>2]=b[i+120>>2],b[i+100>>2]=b[i+136>>2],b[i+104>>2]=b[i+152>>2],b[i+92>>2]=0,b[i+80>>2]=b[i+112>>2],b[i+84>>2]=b[i+128>>2],b[i+88>>2]=b[i+144>>2],r=0|BA[b[b[r>>2]+20>>2]](r),b[(e=i+72|0)>>2]=0,b[e+4>>2]=0,b[i+64>>2]=0,b[i+68>>2]=0,e=m>B(0),BA[b[b[r>>2]+68>>2]](r,i+160|0,i+96|0,i+80|0,wi,wi,e?_:B(0),e?R:B(6.2831854820251465),i- -64|0,e,B(10));break A}if(E=b[(f=e+896|0)+4>>2],b[W>>2]=b[f>>2],b[W+4>>2]=E,W=b[(f=e+904|0)+4>>2],b[t>>2]=b[f>>2],b[t+4>>2]=W,W=b[(f=e+912|0)+4>>2],b[(t=t+8|0)>>2]=b[f>>2],b[t+4>>2]=W,f=b[(t=e+920|0)+4>>2],b[n>>2]=b[t>>2],b[n+4>>2]=f,f=b[(t=e+928|0)+4>>2],b[(n=n+8|0)>>2]=b[t>>2],b[n+4>>2]=f,t=b[(n=e+936|0)+4>>2],b[a>>2]=b[n>>2],b[a+4>>2]=t,t=b[(n=e+944|0)+4>>2],b[(a=a+8|0)>>2]=b[n>>2],b[a+4>>2]=t,n=b[(a=e+888|0)+4>>2],b[i+112>>2]=b[a>>2],b[i+116>>2]=n,!d)break A}n=C[e+180|0],_=v[(a=n?Xi:e+888|0)+48>>2],D=v[a+8>>2],w=v[a+4>>2],t=b[a+4>>2],R=v[a+52>>2],j=v[a+24>>2],m=v[a+16>>2],d=b[a+16>>2],Be=v[a+20>>2],f=b[a+20>>2],G=v[a+56>>2],y=v[a+40>>2],Q=v[a+32>>2],W=b[a+32>>2],ui=v[a+36>>2],Xi=b[a+36>>2],p=v[(a=(n?824:888)+e|0)>>2],n=b[a>>2],b[i+108>>2]=0,yf=B(y*B(0)),ui=B(ui*B(0)),y=v[e+184>>2],v[i+104>>2]=G+B(yf+B(ui+B(y*Q))),j=B(j*B(0)),Be=B(Be*B(0)),v[i+100>>2]=R+B(j+B(Be+B(y*m))),D=B(D*B(0)),w=B(w*B(0)),v[i+96>>2]=_+B(D+B(w+B(y*p))),b[i+92>>2]=0,Z=G,G=v[e+188>>2],v[i+88>>2]=Z+B(yf+B(ui+B(G*Q))),v[i+84>>2]=R+B(j+B(Be+B(G*m))),v[i+80>>2]=_+B(D+B(w+B(G*p))),a=0|BA[b[b[r>>2]+20>>2]](r),b[(E=i+72|0)>>2]=0,b[E+4>>2]=0,b[i+64>>2]=0,b[i+68>>2]=0,BA[b[b[a>>2]+16>>2]](a,i+96|0,i+80|0,i- -64|0),b[i+76>>2]=0,b[i+72>>2]=W,b[i+68>>2]=d,b[i+64>>2]=n,b[i+60>>2]=0,b[i+56>>2]=Xi,b[i+52>>2]=f,b[i+48>>2]=t,_=v[e+196>>2],R=v[e+192>>2],r=0|BA[b[b[r>>2]+20>>2]](r),b[(a=i+40|0)>>2]=0,b[a+4>>2]=0,b[i+32>>2]=0,b[i+36>>2]=0,BA[b[b[r>>2]+68>>2]](r,e+936|0,i- -64|0,i+48|0,wi,wi,R,_,i+32|0,1,B(10));break A}if(h=b[(f=e+1308|0)+4>>2],b[g>>2]=b[f>>2],b[g+4>>2]=h,g=b[(f=e+1316|0)+4>>2],b[t>>2]=b[f>>2],b[t+4>>2]=g,h=b[(g=e+1324|0)+4>>2],b[(f=t+8|0)>>2]=b[g>>2],b[f+4>>2]=h,g=b[(f=e+1332|0)+4>>2],b[n>>2]=b[f>>2],b[n+4>>2]=g,h=b[(g=e+1340|0)+4>>2],b[(f=n+8|0)>>2]=b[g>>2],b[f+4>>2]=h,g=b[(f=e+1348|0)+4>>2],b[a>>2]=b[f>>2],b[a+4>>2]=g,h=b[(g=e+1356|0)+4>>2],b[(f=a+8|0)>>2]=b[g>>2],b[f+4>>2]=h,g=b[(f=e+1300|0)+4>>2],b[i+112>>2]=b[f>>2],b[i+116>>2]=g,!d)break A}if(d=b[Xi+4>>2],b[t>>2]=b[Xi>>2],b[t+4>>2]=d,d=b[E+4>>2],b[n>>2]=b[E>>2],b[n+4>>2]=d,d=b[Qf+4>>2],b[a>>2]=b[Qf>>2],b[a+4>>2]=d,h=b[(g=W+8|0)+4>>2],b[(f=i+120|0)>>2]=b[g>>2],b[f+4>>2]=h,Y=b[(h=Xi+8|0)+4>>2],b[(g=t+8|0)>>2]=b[h>>2],b[g+4>>2]=Y,F=b[(Y=E+8|0)+4>>2],b[(d=h=n+8|0)>>2]=b[Y>>2],b[d+4>>2]=F,Ff=b[(F=Qf+8|0)+4>>2],b[(d=Y=a+8|0)>>2]=b[F>>2],b[d+4>>2]=Ff,d=b[W+4>>2],b[i+112>>2]=b[W>>2],b[i+116>>2]=d,b[i+108>>2]=0,b[i+96>>2]=b[f>>2],b[i+100>>2]=b[i+136>>2],b[i+104>>2]=b[i+152>>2],b[i+92>>2]=0,b[i+80>>2]=b[i+112>>2],b[i+84>>2]=b[i+128>>2],b[i+88>>2]=b[i+144>>2],_=v[e+1060>>2],R=v[e+1144>>2],m=v[e+1148>>2],G=v[e+1056>>2],F=0|BA[b[b[r>>2]+20>>2]](r),b[(d=i+72|0)>>2]=0,b[d+4>>2]=0,b[i+64>>2]=0,b[i+68>>2]=0,d=e+1348|0,BA[b[b[F>>2]+72>>2]](F,d,i+96|0,i+80|0,B(wi*B(.8999999761581421)),G,_,R,m,i- -64|0,B(10),1),b[i+92>>2]=0,G=v[(F=i+148|0)>>2],b[i+88>>2]=b[F>>2],_=v[(F=i+132|0)>>2],b[i+84>>2]=b[F>>2],R=v[i+116>>2],b[i+80>>2]=b[i+116>>2],Q=v[e+1368>>2],p=v[e+1372>>2],Ff=b[(F=e+1308|0)+4>>2],b[f>>2]=b[F>>2],b[f+4>>2]=Ff,F=b[(f=e+1316|0)+4>>2],b[t>>2]=b[f>>2],b[t+4>>2]=F,F=b[(f=e+1324|0)+4>>2],b[g>>2]=b[f>>2],b[g+4>>2]=F,g=b[(f=e+1332|0)+4>>2],b[n>>2]=b[f>>2],b[n+4>>2]=g,g=b[(f=e+1340|0)+4>>2],b[h>>2]=b[f>>2],b[h+4>>2]=g,f=b[d+4>>2],b[a>>2]=b[d>>2],b[a+4>>2]=f,g=b[(f=e+1356|0)+4>>2],b[Y>>2]=b[f>>2],b[Y+4>>2]=g,m=ge(p),p=_e(p),v[i+68>>2]=B(p*_)-B(m*R),g=b[(f=e+1300|0)+4>>2],b[i+112>>2]=b[f>>2],b[i+116>>2]=g,y=ge(Q),Q=_e(Q),v[i+72>>2]=B(B(B(p*y)*R)+B(B(y*m)*_))+B(Q*G),v[i+64>>2]=B(B(B(Q*p)*R)+B(B(Q*m)*_))-B(y*G),b[i+60>>2]=0,v[i+56>>2]=-v[i+144>>2],v[i+52>>2]=-v[i+128>>2],v[i+48>>2]=-v[i+112>>2],!((_=v[e+968>>2])>(R=v[e+972>>2])))break a;f=0|BA[b[b[r>>2]+20>>2]](r),b[(g=i+40|0)>>2]=0,b[g+4>>2]=0,b[i+32>>2]=0,b[i+36>>2]=0,BA[b[b[f>>2]+68>>2]](f,d,i+48|0,i- -64|0,wi,wi,B(-3.1415927410125732),B(3.1415927410125732),i+32|0,0,B(10));break i}if(a=b[e+32>>2],Zf=v[a+52>>2],Yf=v[a+56>>2],Wf=v[a+60>>2],j=v[e+420>>2],Be=v[e+412>>2],ui=v[e+416>>2],_=v[a+8>>2],R=v[a+12>>2],m=v[a+28>>2],G=v[a+20>>2],Q=v[a+24>>2],yf=v[e+396>>2],Ri=v[e+364>>2],pf=v[e+380>>2],Df=v[e+400>>2],Z=v[e+368>>2],gi=v[e+384>>2],Da=v[e+404>>2],p=v[a+44>>2],wf=v[e+372>>2],y=v[a+36>>2],Ia=v[e+388>>2],D=v[a+40>>2],w=v[a+4>>2],b[n>>2]=0,b[t>>2]=0,b[W>>2]=0,b[i+124>>2]=0,v[Xi>>2]=B(B(wf*y)+B(Ia*D))+B(Da*p),v[E>>2]=B(B(Z*y)+B(gi*D))+B(Df*p),v[i+144>>2]=B(B(Ri*y)+B(pf*D))+B(yf*p),v[Qf>>2]=B(B(wf*G)+B(Ia*Q))+B(Da*m),v[g>>2]=B(B(Z*G)+B(gi*Q))+B(Df*m),v[i+128>>2]=B(B(Ri*G)+B(pf*Q))+B(yf*m),v[i+120>>2]=B(B(w*wf)+B(_*Ia))+B(R*Da),v[h>>2]=Wf+B(B(B(y*Be)+B(D*ui))+B(p*j)),v[Y>>2]=Yf+B(B(B(G*Be)+B(Q*ui))+B(m*j)),v[i+160>>2]=Zf+B(B(B(w*Be)+B(_*ui))+B(R*j)),v[i+116>>2]=B(B(w*Z)+B(_*gi))+B(R*Df),v[i+112>>2]=B(B(Ri*w)+B(pf*_))+B(yf*R),!d)break A}for(Fa(i+96|0,e,B(6.0868353843688965),wi),b[i+108>>2]=0,_=v[i+96>>2],W=i+144|0,R=v[i+100>>2],Xi=i+148|0,m=v[i+104>>2],E=i+152|0,Qf=i+168|0,v[i+104>>2]=B(B(B(_*v[W>>2])+B(R*v[Xi>>2]))+B(m*v[E>>2]))+v[Qf>>2],g=i+128|0,h=i+132|0,Y=i+136|0,F=i+164|0,v[i+100>>2]=B(B(B(_*v[g>>2])+B(R*v[h>>2]))+B(m*v[Y>>2]))+v[F>>2],Ff=i+120|0,n=i+160|0,v[i+96>>2]=B(B(B(_*v[i+112>>2])+B(R*v[i+116>>2]))+B(m*v[Ff>>2]))+v[n>>2],Xf=i+92|0,a=0;Fa(i+80|0,e,B(B(B(0|a)*B(6.283185005187988))*B(.03125)),wi),b[Xf>>2]=0,_=v[(t=i+88|0)>>2],R=v[i+80>>2],m=v[i+84>>2],v[t>>2]=B(B(B(R*v[W>>2])+B(m*v[Xi>>2]))+B(_*v[E>>2]))+v[Qf>>2],v[i+84>>2]=B(B(B(R*v[g>>2])+B(m*v[h>>2]))+B(_*v[Y>>2]))+v[F>>2],v[i+80>>2]=B(B(B(R*v[i+112>>2])+B(m*v[i+116>>2]))+B(_*v[Ff>>2]))+v[n>>2],d=0|BA[b[b[r>>2]+20>>2]](r),b[(f=i+72|0)>>2]=0,b[f+4>>2]=0,b[i+64>>2]=0,b[i+68>>2]=0,BA[b[b[d>>2]+16>>2]](d,i+96|0,i+80|0,i- -64|0),3&a||(d=0|BA[b[b[r>>2]+20>>2]](r),b[f>>2]=0,b[f+4>>2]=0,b[i+64>>2]=0,b[i+68>>2]=0,BA[b[b[d>>2]+16>>2]](d,n,i+80|0,i- -64|0)),f=b[t+4>>2],b[(d=i+104|0)>>2]=b[t>>2],b[d+4>>2]=f,t=b[i+84>>2],b[i+96>>2]=b[i+80>>2],b[i+100>>2]=t,32!=(0|(a=a+1|0)););if(Be=v[e+512>>2],ui=v[e+452>>2],a=b[e+32>>2],!(v[a+404>>2]>B(0)))break e;_=v[a+36>>2],y=v[e+412>>2],R=v[a+40>>2],D=v[e+416>>2],yf=B(B(_*y)+B(R*D)),m=v[a+20>>2],G=v[a+24>>2],Q=v[a+28>>2],Ri=v[e+420>>2],pf=B(B(B(m*y)+B(G*D))+B(Q*Ri)),p=v[a+4>>2],Z=B(p*y),y=v[a+8>>2],Z=B(Z+B(y*D)),D=v[a+12>>2],Df=B(Z+B(D*Ri)),Z=v[e+372>>2],gi=v[e+388>>2],Da=v[e+404>>2],w=v[a+44>>2],wf=B(B(B(Z*_)+B(gi*R))+B(Da*w)),Ia=v[e+368>>2],Zf=v[e+384>>2],Yf=v[e+400>>2],j=B(B(B(Ia*_)+B(Zf*R))+B(Yf*w)),Wf=v[e+364>>2],Ef=v[e+380>>2],Nf=v[e+396>>2],_=B(B(B(Wf*_)+B(Ef*R))+B(Nf*w)),Vf=B(B(B(Z*m)+B(gi*G))+B(Da*Q)),R=B(B(B(Ia*m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i+32|0,1,B(10)),void(N=i+176|0)}N=i+176|0},function(r){var e,i=0,a=0,f=0,n=0,t=0;e=(r|=0)+248|0;A:if(!((0|(i=b[e>>2]))<1))for(t=r+256|0,r=0;;){if(f=b[b[t>>2]+a>>2],5==(0|(n=b[f+220>>2]))||2==(0|n)){if(a=a+4|0,(0|(r=r+1|0))<(0|i))continue;break A}if(Oi(f),a=a+4|0,!((0|(r=r+1|0))<(0|(i=b[e>>2]))))break}},he,function(r,e){r|=0,e=B(e);var i,a,f=0,n=0,t=0,C=0;if(N=i=N-16|0,$e(i+8|0,22852),b[(a=r+296|0)>>2]>=1)for(C=r+304|0;n=b[b[C>>2]+f>>2],BA[b[b[n>>2]+8>>2]](n,r,e),f=f+4|0,(0|(t=t+1|0))>2];);Ai(),N=i+16|0},function(r){var e=0,i=0;return b[(r|=0)>>2]=23228,(i=b[(e=r+80|0)>>2])&&(C[r+84|0]&&gA(i),b[r+80>>2]=0),b[e>>2]=0,f[r+84|0]=1,b[(e=r+72|0)>>2]=0,b[e+4>>2]=0,(i=b[(e=r+60|0)>>2])&&(C[r- -64|0]&&gA(i),b[r+60>>2]=0),b[e>>2]=0,f[r- -64|0]=1,b[(e=r+52|0)>>2]=0,b[e+4>>2]=0,(i=b[(e=r+40|0)>>2])&&(C[r+44|0]&&gA(i),b[r+40>>2]=0),b[e>>2]=0,f[r+44|0]=1,b[(e=r+32|0)>>2]=0,b[e+4>>2]=0,0|r},function(r){var e=0,i=0;b[(r|=0)>>2]=23228,(i=b[(e=r+80|0)>>2])&&(C[r+84|0]&&gA(i),b[r+80>>2]=0),b[e>>2]=0,f[r+84|0]=1,b[(e=r+72|0)>>2]=0,b[e+4>>2]=0,(i=b[(e=r+60|0)>>2])&&(C[r- -64|0]&&gA(i),b[r+60>>2]=0),b[e>>2]=0,f[r- -64|0]=1,b[(e=r+52|0)>>2]=0,b[e+4>>2]=0,!(e=b[r+40>>2])|!C[r+44|0]||gA(e),rA(r)},function(r,e,i,a,n,t){r|=0,e|=0,i|=0,a|=0,n|=0;var g=0,d=0,v=0,_=0,R=0,m=0,h=0,G=0,y=0,Q=0,p=0,D=0,w=0,Z=0,Y=0,W=0,F=0,E=0,N=0,j=0,Be=0,ui=0,gi=0,Ri=0,wi=0,Xi=0,Da=0,Ia=0,yf=0,Qf=0,pf=0,Df=0,wf=0,Zf=0,Yf=0,Wf=0,Ff=0,Ef=0,Nf=0,Vf=0,Xf=0,Jf=0;A:{if((0|(t|=0))>=0){r:{if((0|(v=b[r+16>>2]))>=1)for(w=b[r+12>>2];;){if(R=b[w>>2],(0|(g=b[b[R+28>>2]+208>>2]))<=-1&&(g=b[b[R+32>>2]+208>>2]),(0|g)==(0|t))break r;if(w=w+4|0,!((0|(d=d+1|0))<(0|v)))break}w=0}if((0|d)<(0|v))for(v=v-d|0,g=b[r+12>>2]+(d<<2)|0;R=b[g>>2],(0|(d=b[b[R+28>>2]+208>>2]))<=-1&&(d=b[b[R+32>>2]+208>>2]),g=g+4|0,E=((0|t)==(0|d))+E|0,v=v+-1|0;);if(d=b[r+4>>2],b[d+80>>2]>=2)break A;return t=b[r+8>>2],void B(BA[b[b[t>>2]+12>>2]](t,e,i,a,n,w,E,d,b[r+20>>2],b[r+24>>2]))}return t=b[r+8>>2],void B(BA[b[b[t>>2]+12>>2]](t,e,i,a,n,b[r+12>>2],b[r+16>>2],b[r+4>>2],b[r+20>>2],b[r+24>>2]))}for((0|i)>=1?(m=b[(Ia=r+36|0)>>2],h=b[(N=r+32|0)>>2],Ri=2,Z=r+40|0,Zf=4,Yf=-1,yf=r+44|0,Wf=16,g=1):g=0;;){A:{r:{e:{i:{a:{f:{n:{t:{b:{o:{k:{c:{if(!g){if((0|n)<1)break c;G=b[(Qf=r+56|0)>>2],y=b[(j=r+52|0)>>2],wi=2,p=1,Y=r+60|0,Ff=4,Ef=-1,pf=r- -64|0,Nf=16,Be=0,W=1;break i}u:switch(0|W){case 0:R=(Xi<=(0|(h=m?m<<1:1)))break d;if(!h)break g;if(v=CA(h<>2]))>=1)break C;break s}t=h;break l}t=m;break l}if(v=0,(0|(t=m))<1)break s}for(g=0,d=t;b[g+v>>2]=b[b[Z>>2]+g>>2],g=g+Zf|0,d=d+Yf|0;);}(m=b[Z>>2])&&(C[0|yf]&&(gA(m),t=b[N>>2]),b[Z>>2]=0),b[Z>>2]=v,f[0|yf]=1,b[Ia>>2]=h,m=h}if(h=t+1|0,b[N>>2]=h,b[b[Z>>2]+(t<>2]=b[R>>2],(0|(Xi=Xi+1|0))!=(0|i))break t;g=0;continue;case 1:break u;default:break k}R=(Be<=(0|(y=G?G<>2]))>=(0|p))break s;break l}t=y;break u}t=G;break u}if(v=0,(0|(t=G))<(0|p))break l}for(g=0,d=t;b[g+v>>2]=b[b[Y>>2]+g>>2],g=g+Ff|0,d=d+Ef|0;);}(G=b[Y>>2])&&(C[0|pf]&&(gA(G),t=b[j>>2]),b[Y>>2]=0),b[Y>>2]=v,f[0|pf]=p,b[Qf>>2]=y,G=y}if(y=t+p|0,b[j>>2]=y,b[b[Y>>2]+(t<>2]=b[R>>2],(0|(Be=p+Be|0))!=(0|n))break n}if(!E)break o;Q=b[(Df=r+76|0)>>2],_=b[(ui=r+72|0)>>2],Da=2,D=1,F=r+80|0,Vf=4,Xf=-1,wf=r+84|0,Jf=16,gi=0,W=2;break r}R=(gi<=(0|(_=Q?Q<>2]))>=(0|D))break u;break c}t=_;break k}t=Q;break k}if(v=0,(0|(t=Q))<(0|D))break c}for(g=0,d=t;b[g+v>>2]=b[b[F>>2]+g>>2],g=g+Vf|0,d=d+Xf|0;);}(Q=b[F>>2])&&(C[0|wf]&&(gA(Q),t=b[ui>>2]),b[F>>2]=0),b[F>>2]=v,f[0|wf]=D,b[Df>>2]=_,Q=_}if(_=t+D|0,b[ui>>2]=_,b[b[F>>2]+(t<>2]=b[R>>2],(0|(gi=D+gi|0))!=(0|E))break f;break b}_=b[r+72>>2]}return void((b[r+52>>2]+_|0)>b[b[r+4>>2]+80>>2]&&xa(r))}W=0;break a}W=1;break e}W=2;break A}g=1;continue}g=1;continue}g=1;continue}g=1;continue}g=1}},Cr,function(r,e){r|=0;var i,a,f=0;return i=b[(e|=0)>>2],a=b[r+84>>2],!(b[e+8>>2]&b[r+8>>2])|!(b[r+12>>2]&b[e+4>>2])|(0|i)==(0|a)||(r=b[r+96>>2],f=0|BA[b[b[r>>2]+28>>2]](r,a,i)),0|f},function(r,e,i){r|=0,e|=0,i|=0;var a=0,f=B(0),n=B(0),t=B(0),g=0,d=B(0),_=B(0),R=B(0),m=B(0),h=B(0),G=B(0),y=B(0),Q=B(0),p=B(0);return f=B(1),(0|(a=b[e>>2]))==b[r+84>>2]|4&C[a+204|0]|B(B(B(B(v[r+32>>2]-v[r+16>>2])*v[e+8>>2])+B(B(v[r+36>>2]-v[r+20>>2])*v[e+12>>2]))+B(B(v[r+40>>2]-v[r+24>>2])*v[e+16>>2]))>=B(-v[r+88>>2])||(b[r+80>>2]=a,b[r+4>>2]=b[e+40>>2],i?(a=b[(i=e+8|0)+4>>2],b[r+48>>2]=b[i>>2],b[r+52>>2]=a,g=b[(i=i+8|0)+4>>2],b[(a=r+56|0)>>2]=b[i>>2],b[a+4>>2]=g):(d=v[a+8>>2],_=v[a+12>>2],R=v[a+20>>2],m=v[a+24>>2],h=v[a+28>>2],G=v[a+36>>2],y=v[a+40>>2],f=v[e+12>>2],Q=v[a+44>>2],n=v[e+16>>2],p=v[a+4>>2],t=v[e+8>>2],b[r+60>>2]=0,v[r+56>>2]=B(B(t*G)+B(f*y))+B(n*Q),v[r+52>>2]=B(B(t*R)+B(f*m))+B(n*h),v[r+48>>2]=B(B(p*t)+B(d*f))+B(_*n)),i=b[e+28>>2],b[r+64>>2]=b[e+24>>2],b[r+68>>2]=i,a=b[(i=e+32|0)+4>>2],b[(r=r+72|0)>>2]=b[i>>2],b[r+4>>2]=a,f=v[e+40>>2]),B(f)},function(r){var e,i=0;return b[(r|=0)>>2]=23420,(e=b[(i=r+336|0)>>2])&&(C[r+340|0]&&gA(e),b[r+336>>2]=0),b[i>>2]=0,f[r+340|0]=1,b[(i=r+328|0)>>2]=0,b[i+4>>2]=0,Nr(r),0|r},function(r){var e,i=0;b[(r|=0)>>2]=23420,(e=b[(i=r+336|0)>>2])&&(C[r+340|0]&&gA(e),b[r+336>>2]=0),b[i>>2]=0,f[r+340|0]=1,b[(i=r+328|0)>>2]=0,b[i+4>>2]=0,Nr(r),gA(r)},function(r,e,i){r|=0,i|=0;var a,n=0,t=0,g=0,d=0;a=b[(e|=0)>>2];A:{r:if(!((0|(i=b[r+328>>2]))<1)){for(e=b[r+336>>2];;){if((0|a)!=b[e>>2]){if(e=e+4|0,(0|(n=n+1|0))<(0|i))continue;break r}break}if((0|i)!=(0|n))break A}if(b[r+332>>2]==(0|i)&&!((0|i)>=(0|(t=i?i<<1:1)))){r:{e:{if(t){if(g=CA(t<<2,16),(0|(i=b[r+328>>2]))>=1)break e;break r}if((0|i)<1)break r}for(e=0,d=r+336|0,n=i;b[e+g>>2]=b[b[d>>2]+e>>2],e=e+4|0,n=n+-1|0;);}(n=b[(e=r+336|0)>>2])&&(C[r+340|0]&&(gA(n),i=b[r+328>>2]),b[r+336>>2]=0),b[e>>2]=g,f[r+340|0]=1,b[r+332>>2]=t}b[r+328>>2]=i+1,b[b[r+336>>2]+(i<<2)>>2]=a}},function(r,e,i,a){e|=0,i|=0,a|=0;var f=0,n=0;A:if(!((0|(i=b[(r|=0)+328>>2]))<1)){for(n=b[e>>2],a=0,e=f=b[r+336>>2];;){if((0|n)!=b[e>>2]){if(e=e+4|0,(0|(a=a+1|0))<(0|i))continue;break A}break}(0|a)>=(0|i)||(a=r+328|0,r=i+-1|0,b[a>>2]=r,b[e>>2]=b[(r<<2)+f>>2])}},function(r){var e,i=0;return b[(r|=0)>>2]=23464,i=b[r+344>>2],BA[b[b[i>>2]>>2]](i),gA(b[r+344>>2]),b[r>>2]=23420,(e=b[(i=r+336|0)>>2])&&(C[r+340|0]&&gA(e),b[r+336>>2]=0),b[i>>2]=0,f[r+340|0]=1,b[(i=r+328|0)>>2]=0,b[i+4>>2]=0,Nr(r),0|r},function(r){var e,i=0;b[(r|=0)>>2]=23464,i=b[r+344>>2],BA[b[b[i>>2]>>2]](i),gA(b[r+344>>2]),b[r>>2]=23420,(e=b[(i=r+336|0)>>2])&&(C[r+340|0]&&gA(e),b[r+336>>2]=0),b[i>>2]=0,f[r+340|0]=1,b[(i=r+328|0)>>2]=0,b[i+4>>2]=0,Nr(r),gA(r)},function(r,e,i){r|=0,e|=0;var a,n=0,t=0,g=0,d=0,v=0,_=0;i=(i|=0)||b[r+188>>2],a=b[e>>2];A:{r:if(!((0|(n=b[r+328>>2]))<1)){for(g=b[r+336>>2];;){if((0|a)!=b[g>>2]){if(g=g+4|0,(0|(t=t+1|0))<(0|n))continue;break r}break}if((0|n)!=(0|t))break A}if(b[r+332>>2]==(0|n)&&!((0|n)>=(0|(d=n?n<<1:1)))){r:{e:{if(d){if(_=CA(d<<2,16),(0|(n=b[r+328>>2]))>=1)break e;break r}if((0|n)<1)break r}for(g=0,v=r+336|0,t=n;b[g+_>>2]=b[b[v>>2]+g>>2],g=g+4|0,t=t+-1|0;);}(t=b[(v=r+336|0)>>2])&&(C[r+340|0]&&(gA(t),n=b[r+328>>2]),b[r+336>>2]=0),b[v>>2]=_,f[r+340|0]=1,b[r+332>>2]=d}b[b[r+336>>2]+(n<<2)>>2]=a,b[r+328>>2]=n+1,r=b[r+344>>2],BA[b[b[r>>2]+8>>2]](r,i,e)}},function(r,e,i,a){r|=0,i|=0,a|=0;var f,n,t=0,C=0,g=0;n=b[(e|=0)>>2],a=a||b[r+188>>2];A:if(!((0|(f=b[r+328>>2]))<1)){for(t=g=b[r+336>>2];;){if((0|n)!=b[t>>2]){if(t=t+4|0,(0|(C=C+1|0))<(0|f))continue;break A}break}(0|C)>=(0|f)||(C=t,t=f+-1|0,b[C>>2]=b[(t<<2)+g>>2],b[r+328>>2]=t,r=b[r+344>>2],BA[b[b[r>>2]+12>>2]](r,a,e,i))}},function(r){var e,i=0;return b[(r|=0)>>2]=23576,(e=b[(i=r+212|0)>>2])&&(C[r+216|0]&&gA(e),b[r+212>>2]=0),b[i>>2]=0,f[r+216|0]=1,b[(i=r+204|0)>>2]=0,b[i+4>>2]=0,0|r},function(r){var e,i=0;b[(r|=0)>>2]=23576,(e=b[(i=r+212|0)>>2])&&(C[r+216|0]&&gA(e),b[r+212>>2]=0),b[i>>2]=0,f[r+216|0]=1,b[(i=r+204|0)>>2]=0,b[i+4>>2]=0,gA(r)},function(r,e,i){r|=0,e|=0,i=B(i),BA[b[b[r>>2]+32>>2]](r,e),BA[b[b[r>>2]+36>>2]](r,e,i)},he,function(r,e){r|=0,e|=0;var i,a=B(0),n=B(0),t=B(0),C=0,g=B(0),d=B(0);f[r+251|0]=1,C=b[e+4>>2],b[r+68>>2]=b[e>>2],b[r+72>>2]=C,i=b[(e=e+8|0)+4>>2],b[(C=r+76|0)>>2]=b[e>>2],b[C+4>>2]=i,n=v[r+68>>2],t=v[r+72>>2],a=v[C>>2],(g=B(p(B(B(B(n*n)+B(t*t))+B(a*a)))))>B(1.1920928955078125e-7)?(d=a,a=B(B(1)/g),g=B(d*a),t=B(t*a),n=B(n*a),e=b[r+80>>2]):(g=B(0),t=B(0),n=B(0),e=0),v[r+84>>2]=n,b[r+96>>2]=e,v[r+92>>2]=g,v[r+88>>2]=t},function(r,e,i){r|=0,e|=0,i=B(i);var a,n=0,t=B(0),C=B(0),g=B(0),d=B(0),_=B(0),R=B(0),m=B(0),h=0;f[r+251|0]=0,n=b[e+4>>2],b[r+68>>2]=b[e>>2],b[r+72>>2]=n,a=b[(e=e+8|0)+4>>2],b[(n=r+76|0)>>2]=b[e>>2],b[n+4>>2]=a,C=v[r+68>>2],g=v[r+72>>2],d=v[n>>2],(_=B(p(B(B(B(C*C)+B(g*g))+B(d*d)))))>B(1.1920928955078125e-7)&&(t=B(B(1)/_),R=B(d*t),m=B(g*t),t=B(C*t),h=b[r+80>>2]),v[r+84>>2]=t,b[r+96>>2]=h,v[r+92>>2]=R,v[r+88>>2]=m,v[r+252>>2]=v[r+252>>2]+i},function(r,e){e|=0;var i,a=0,f=0,t=0,C=0,g=0;if(b[(r|=0)+68>>2]=0,b[r+72>>2]=0,n[r+248>>1]=0,b[r+20>>2]=0,b[r+24>>2]=0,b[(i=r+76|0)>>2]=0,b[i+4>>2]=0,b[r+252>>2]=0,r=b[b[r+8>>2]+344>>2],b[4+(0|BA[b[b[r>>2]+28>>2]](r))>>2]>=1)for(e=e+24|0;f=r,t=b[b[12+(0|BA[b[b[r>>2]+28>>2]](r))>>2]>>2],C=b[b[12+(0|BA[b[b[r>>2]+28>>2]](r))>>2]+4>>2],g=b[e>>2],a=b[b[r>>2]+12>>2],BA[a](0|f,0|t,0|C,0|g),b[4+(0|BA[b[b[r>>2]+28>>2]](r))>>2]>0;);},function(r,e){r|=0;var i,a,f=0,n=0,t=0;n=b[(f=(e|=0)+8|0)>>2],t=b[f+4>>2],i=b[e>>2],a=b[e+4>>2],r=b[r+8>>2],b[r+4>>2]=1065353216,b[(e=r+16|0)>>2]=0,b[e+4>>2]=0,b[(e=r+8|0)>>2]=0,b[e+4>>2]=0,b[r+24>>2]=1065353216,b[(e=r+36|0)>>2]=0,b[e+4>>2]=0,b[(e=r+28|0)>>2]=0,b[e+4>>2]=0,b[(e=r+44|0)>>2]=1065353216,b[e+4>>2]=0,b[(f=(e=N-32|0)+24|0)>>2]=n,b[f+4>>2]=t,b[r+304>>2]=b[r+304>>2]+1,b[e+12>>2]=0,b[e+16>>2]=i,b[e+20>>2]=a,t=b[f+4>>2],b[(n=r+60|0)>>2]=b[f>>2],b[n+4>>2]=t,f=b[e+20>>2],b[(r=r+52|0)>>2]=b[e+16>>2],b[r+4>>2]=f},function(r,e){e|=0;var i,a=0,f=0,n=0,t=0,C=0;N=e=N-16|0,n=b[(r|=0)+8>>2],C=b[(f=n+60|0)+4>>2],b[(a=r+140|0)>>2]=b[f>>2],b[a+4>>2]=C,t=b[(a=n+52|0)+4>>2],b[r+132>>2]=b[a>>2],b[r+136>>2]=t,t=b[a>>2],a=b[a+4>>2],i=b[f+4>>2],b[(C=r+160|0)>>2]=b[f>>2],b[C+4>>2]=i,b[r+152>>2]=t,b[r+156>>2]=a,tf(n+4|0,e),t=b[(f=e+8|0)+4>>2],b[(a=r+176|0)>>2]=b[f>>2],b[a+4>>2]=t,n=b[e+4>>2],b[r+168>>2]=b[e>>2],b[r+172>>2]=n,f=b[a+4>>2],b[(n=r+192|0)>>2]=b[a>>2],b[n+4>>2]=f,a=b[r+172>>2],b[r+184>>2]=b[r+168>>2],b[r+188>>2]=a,N=e+16|0},function(r,e,i){r|=0,e|=0,i=B(i);var a,n=0,t=0,g=0,d=B(0),_=0,R=B(0),h=B(0),G=B(0),y=0,Q=0,D=0,w=B(0),Z=B(0),Y=B(0),W=B(0),F=B(0),E=B(0),j=0,Be=B(0),ui=0,gi=0,Ri=0,wi=0,Xi=0,Da=0,Ia=0,yf=0,Qf=0,pf=0;N=a=N-80|0;A:{r:{e:{i:{d=v[r+100>>2],R=v[(n=r+104|0)>>2],G=v[(g=r+108|0)>>2];a:{if(!((h=B(B(B(d*d)+B(R*R))+B(G*G)))>B(0))){if(h>B(0))break a;break i}if(h=Ii(B(B(1)-v[r+244>>2]),i),G=B(G*h),v[g>>2]=G,R=B(R*h),v[n>>2]=R,d=B(d*h),v[r+100>>2]=d,!((h=B(B(B(d*d)+B(R*R))+B(G*G)))>B(0)))break i}if(n=b[r+8>>2],Q=b[(g=n+20|0)>>2],D=b[g+4>>2],j=b[(g=n+12|0)>>2],Ri=b[g+4>>2],_=b[(g=n+28|0)>>2],wi=b[g+4>>2],Xi=b[n+4>>2],Da=b[n+8>>2],ui=b[(y=n+44|0)+4>>2],b[(t=g=a+56|0)>>2]=b[y>>2],b[t+4>>2]=ui,ui=b[(t=n+36|0)>>2],Ia=b[t+4>>2],yf=b[(gi=n+60|0)+4>>2],b[(t=y=a+72|0)>>2]=b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b[t>>2],b[_+4>>2]=Q,_=b[a+36>>2],b[(t=n+20|0)>>2]=b[a+32>>2],b[t+4>>2]=_,b[n+304>>2]=b[n+304>>2]+1,_=b[a+52>>2],b[(t=n+36|0)>>2]=b[a+48>>2],b[t+4>>2]=_,_=b[g+4>>2],b[(t=n+44|0)>>2]=b[g>>2],b[t+4>>2]=_,t=b[y+4>>2],b[(g=n+60|0)>>2]=b[y>>2],b[g+4>>2]=t,g=b[a+68>>2],b[(n=n+52|0)>>2]=b[a+64>>2],b[n+4>>2]=g,n=b[r+8>>2],y=b[(g=n+60|0)+4>>2],b[(t=r+140|0)>>2]=b[g>>2],b[t+4>>2]=y,y=b[(t=n+52|0)+4>>2],b[r+132>>2]=b[t>>2],b[r+136>>2]=y,_=b[g>>2],g=b[g+4>>2],y=b[t+4>>2],b[r+152>>2]=b[t>>2],b[r+156>>2]=y,b[(t=r+160|0)>>2]=_,b[t+4>>2]=g,tf(n+4|0,a),_=b[(t=a+8|0)+4>>2],b[(n=r+176|0)>>2]=b[t>>2],b[n+4>>2]=_,g=b[a+4>>2],b[r+168>>2]=b[a>>2],b[r+172>>2]=g,t=b[n+4>>2],b[(g=r+192|0)>>2]=b[n>>2],b[g+4>>2]=t,n=b[r+172>>2],b[r+184>>2]=b[r+168>>2],b[r+188>>2]=n,!C[r+251|0])break e;break r}if(C[r+251|0])break r}if(v[r+252>>2]<=B(0))break A}Qf=r,pf=0|BA[b[b[r>>2]+48>>2]](r),f[Qf+248|0]=pf,R=v[(n=r+72|0)>>2],G=v[r+68>>2],h=v[(t=r+76|0)>>2],g=r+68|0,d=Ii(B(B(1)-v[r+240>>2]),i),B(B(B(G*G)+B(R*R))+B(h*h))>B(0)&&(v[t>>2]=h*d,v[n>>2]=R*d,v[g>>2]=G*d),d=B(B(v[r+20>>2]*d)-B(v[r+52>>2]*i)),v[r+20>>2]=d,d>B(0)&&(d>(R=v[r+32>>2])&&(v[r+20>>2]=R,d=R)),d>2])),B(m(d))>R&&(d=B(-R),v[r+20>>2]=d)),v[r+24>>2]=d*i,n=b[r+8>>2],y=b[(_=n+12|0)+4>>2],b[(t=a+24|0)>>2]=b[_>>2],b[t+4>>2]=y,y=b[(_=n+28|0)+4>>2],b[(t=a+40|0)>>2]=b[_>>2],b[t+4>>2]=y,y=b[(_=n+44|0)+4>>2],b[(t=a+56|0)>>2]=b[_>>2],b[t+4>>2]=y,y=b[(_=n+60|0)+4>>2],b[(t=a+72|0)>>2]=b[_>>2],b[t+4>>2]=y,t=b[n+8>>2],b[a+16>>2]=b[n+4>>2],b[a+20>>2]=t,_=b[(t=n+20|0)+4>>2],b[a+32>>2]=b[t>>2],b[a+36>>2]=_,_=b[(t=n+36|0)+4>>2],b[a+48>>2]=b[t>>2],b[a+52>>2]=_,t=b[(n=n+52|0)+4>>2],b[a+64>>2]=b[n>>2],b[a+68>>2]=t,function(r,e){var i,a=0,n=0,t=B(0),g=0,d=0,_=B(0),R=0,m=B(0),h=B(0),G=B(0),y=0,Q=B(0),p=B(0),D=B(0),w=0,Z=0,Y=0,W=B(0),F=B(0),E=0,j=0,Be=B(0),ui=B(0),gi=B(0);N=i=N-240|0,p=v[r+20>>2]>2],b[(g=i+196|0)>>2]=1065353216,b[(n=w=i+200|0)>>2]=0,b[n+4>>2]=0,b[(n=E=i+216|0)>>2]=1065353216,b[n+4>>2]=0,b[(j=i+132|0)>>2]=1065353216,b[(n=Y=i+136|0)>>2]=0,b[n+4>>2]=0,b[(n=d=i+152|0)>>2]=1065353216,b[n+4>>2]=0,R=b[(n=r+140|0)+4>>2],b[(a=i+232|0)>>2]=b[n>>2],b[a+4>>2]=R,b[i+188>>2]=0,b[i+192>>2]=0,b[i+180>>2]=0,b[i+184>>2]=0,b[i+176>>2]=1065353216,b[i+208>>2]=0,b[i+212>>2]=0,b[i+112>>2]=1065353216,b[i+124>>2]=0,b[i+128>>2]=0,b[i+116>>2]=0,b[i+120>>2]=0,b[i+144>>2]=0,b[i+148>>2]=0,a=b[r+136>>2],b[i+224>>2]=b[r+132>>2],b[i+228>>2]=a,Be=v[r+260>>2],t=(t=v[r+24>>2])>B(0)?t:B(0),v[r+156>>2]=B(B(p*Be)+v[r+136>>2])+B(t*v[r+276>>2]),ui=v[r+256>>2],v[r+152>>2]=B(B(p*ui)+v[r+132>>2])+B(v[r+272>>2]*t),b[r+164>>2]=0,a=r+160|0,gi=v[r+264>>2],v[a>>2]=B(B(p*gi)+v[n>>2])+B(t*v[r+280>>2]),y=b[a+4>>2],a=b[a>>2],b[n>>2]=a,b[n+4>>2]=y,n=b[r+156>>2],R=b[r+152>>2],b[r+132>>2]=R,b[r+136>>2]=n,b[(Z=i+168|0)>>2]=a,b[Z+4>>2]=y,b[i+160>>2]=R,b[i+164>>2]=n,m=v[r+180>>2],G=v[r+176>>2],_=v[r+172>>2],t=v[r+168>>2],b[i+220>>2]=0,b[i+204>>2]=0,Q=B(B(2)/B(B(B(B(t*t)+B(_*_))+B(G*G))+B(m*m))),W=B(G*Q),h=B(_*W),D=B(t*Q),F=B(m*D),v[i+212>>2]=h+F,v[w>>2]=h-F,h=B(t*D),F=_,_=B(_*Q),Q=B(F*_),v[E>>2]=B(1)-B(h+Q),G=B(G*W),v[g>>2]=B(1)-B(h+G),b[i+188>>2]=0,h=B(t*W),D=B(m*_),v[i+208>>2]=h-D,t=B(t*_),m=B(m*W),v[i+192>>2]=t+m,v[i+184>>2]=h+D,v[i+180>>2]=t-m,v[i+176>>2]=B(1)-B(Q+G),m=v[r+196>>2],G=v[r+192>>2],_=v[r+188>>2],t=v[r+184>>2],b[i+156>>2]=0,b[i+140>>2]=0,Q=B(B(2)/B(B(B(B(t*t)+B(_*_))+B(G*G))+B(m*m))),W=B(G*Q),h=B(_*W),D=B(t*Q),F=B(m*D),v[i+148>>2]=h+F,v[Y>>2]=h-F,h=B(t*D),F=_,_=B(_*Q),Q=B(F*_),v[d>>2]=B(1)-B(h+Q),G=B(G*W),v[j>>2]=B(1)-B(h+G),b[i+124>>2]=0,h=B(t*W),D=B(m*_),v[i+144>>2]=h-D,t=B(t*_),m=B(m*W),v[i+128>>2]=t+m,v[i+120>>2]=h+D,v[i+116>>2]=t-m,v[i+112>>2]=B(1)-B(Q+G),b[(n=i+40|0)>>2]=0,b[n+4>>2]=0,b[(n=i+32|0)>>2]=0,b[n+4>>2]=0,b[(n=i+24|0)>>2]=0,b[n+4>>2]=0,b[i+100>>2]=0,v[i+96>>2]=-gi,v[i+92>>2]=-Be,b[i+16>>2]=0,b[i+20>>2]=0,v[i+88>>2]=-ui,b[i+80>>2]=0,b[i+4>>2]=1065353216,b[i>>2]=23780,n=b[r+8>>2],b[i+84>>2]=n,b[i+104>>2]=b[r+48>>2],a=b[n+188>>2],b[i+8>>2]=b[a+4>>2],b[i+12>>2]=b[a+8>>2],C[r+250|0]?Ta(n,b[r+12>>2],i+176|0,i+112|0,i,v[e+56>>2]):ma(e,b[r+12>>2],i+176|0,i+112|0,i,v[e+56>>2]),y=r+152|0,n=r+132|0;r:{e:{i:{if(v[i+4>>2]>2],!(4&C[a+204|0])&&BA[b[b[r>>2]+56>>2]](r,a,b[i+80>>2]))){if(!(B(B(B(v[i+48>>2]*v[r+256>>2])+B(v[i+52>>2]*v[r+260>>2]))+B(v[i+56>>2]*v[r+264>>2]))>B(0)))break e;if(_=p,p=v[i+4>>2],v[r+148>>2]=_*p,!C[r+288|0])break i;a=r+132|0,t=B(B(1)-p),v[a>>2]=B(t*v[a>>2])+B(p*v[r+152>>2]),v[(a=r+136|0)>>2]=B(t*v[a>>2])+B(p*v[r+156>>2]),v[(a=r+140|0)>>2]=B(t*v[a>>2])+B(p*v[r+160>>2]);break e}v[r+148>>2]=p,r=b[y+4>>2],b[n>>2]=b[y>>2],b[n+4>>2]=r,r=n+8|0,n=b[(e=y+8|0)+4>>2],b[r>>2]=b[e>>2],b[r+4>>2]=n;break r}a=b[y+4>>2],b[n>>2]=b[y>>2],b[n+4>>2]=a,w=b[(g=y+8|0)+4>>2],b[(a=n+8|0)>>2]=b[g>>2],b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]?za(r,e,g):(d=v[r+252>>2],v[r+252>>2]=d-i,b[a+12>>2]=0,d=d>i?i:d,v[a+8>>2]=d*v[r+76>>2],v[a+4>>2]=d*v[r+72>>2],v[a>>2]=d*v[r+68>>2],za(r,e,a)),function(r,e,i){var a,n=B(0),t=B(0),g=0,d=0,_=0,R=0,m=B(0),h=0,G=0,y=B(0),Q=B(0),p=0,D=0,w=B(0),Z=B(0),Y=B(0),W=0,F=0,E=0,j=0,Be=B(0),ui=0,gi=B(0),Ri=0,wi=B(0),Xi=B(0),Da=B(0),Ia=B(0),yf=0,Qf=0,pf=0,Df=0,wf=0,Zf=0,Yf=0,Wf=0,Ff=0,Ef=0,Nf=0,Vf=0,Xf=0,Jf=0,If=0,xf=0,Mf=0,Sf=0,Tf=0,Uf=0,jf=0,Of=0,Hf=0,zf=0;if(N=a=N-432|0,W=b[(g=r+160|0)+4>>2],b[(G=a+232|0)>>2]=b[g>>2],b[G+4>>2]=W,G=b[r+156>>2],b[a+224>>2]=b[r+152>>2],b[a+228>>2]=G,!((n=v[r+20>>2])>B(0))){(n=B((nB(0)&&(n>(t=v[r+28>>2])^1|(C[r+249|0]?!C[r+248|0]:0)||(n=t)),G=r+152|0,j=r+152|0,n=B(n+v[r+148>>2]),Be=B(v[r+256>>2]*n),v[j>>2]=v[j>>2]-Be,ui=r+156|0,gi=B(n*v[(Zf=r+260|0)>>2]),v[ui>>2]=v[ui>>2]-gi,Ri=r+160|0,wi=B(n*v[(W=r+264|0)>>2]),v[Ri>>2]=v[Ri>>2]-wi,b[(g=a+152|0)>>2]=0,b[g+4>>2]=0,b[(g=a+144|0)>>2]=0,b[g+4>>2]=0,b[(g=a+136|0)>>2]=0,b[g+4>>2]=0,_=b[W+4>>2],b[(g=a+208|0)>>2]=b[W>>2],b[g+4>>2]=_,b[a+128>>2]=0,b[a+132>>2]=0,g=b[r+260>>2],b[a+200>>2]=b[r+256>>2],b[a+204>>2]=g,b[a+192>>2]=0,b[a+116>>2]=1065353216,b[a+112>>2]=23780,_=b[r+8>>2],b[a+196>>2]=_,F=b[r+48>>2],b[a+216>>2]=F,g=b[_+188>>2],b[a+120>>2]=b[g+4>>2],b[a+124>>2]=b[g+8>>2],b[(h=a+40|0)>>2]=0,b[h+4>>2]=0,b[(h=a+32|0)>>2]=0,b[h+4>>2]=0,b[(h=a+24|0)>>2]=0,b[h+4>>2]=0,R=b[W+4>>2],b[(h=a+96|0)>>2]=b[W>>2],b[h+4>>2]=R,b[a+84>>2]=_,b[a+16>>2]=0,b[a+20>>2]=0,b[a+80>>2]=0,b[a+4>>2]=1065353216,_=b[r+260>>2],b[a+88>>2]=b[r+256>>2],b[a+92>>2]=_,b[a>>2]=23780,b[a+104>>2]=F,_=b[g+8>>2],b[a+8>>2]=b[g+4>>2],b[a+12>>2]=_,g=r+132|0,yf=a+352|0,Qf=a+416|0,F=a+284|0,pf=a+264|0,Df=a+240|4,h=a+328|0,Yf=r+172|0,Wf=r+168|0,Ff=r+176|0,Ef=r+180|0,Nf=r+196|0,Vf=r+192|0,Xf=r+184|0,Jf=r+188|0,If=a+300|0,xf=a+296|0,Mf=a+292|0,Sf=r+250|0,Tf=r+290|0,Uf=a+80|0,jf=r+248|0,Of=r+249|0,Hf=r+148|0,zf=r+256|0,_=0;r:{for(;;){b[h>>2]=0,b[h+4>>2]=0,b[Df>>2]=0,b[Df+4>>2]=0,b[pf>>2]=0,b[pf+4>>2]=0,b[F>>2]=0,b[F+4>>2]=0,b[(R=a+324|0)>>2]=1065353216,b[(d=p=a+316|0)>>2]=0,b[d+4>>2]=0,b[(d=h+8|0)>>2]=0,b[d+4>>2]=0,b[(d=D=a+344|0)>>2]=1065353216,b[d+4>>2]=0,b[(d=Df+8|0)>>2]=0,b[d+4>>2]=0,b[a+260>>2]=1065353216,b[(d=pf+8|0)>>2]=0,b[d+4>>2]=0,b[a+280>>2]=1065353216,b[F+16>>2]=0,b[(d=F+8|0)>>2]=0,b[d+4>>2]=0,d=b[g+4>>2],b[Qf>>2]=b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,v[xf>>2]=m-wi,v[Mf>>2]=t-gi,v[a+288>>2]=n-Be;e:if(C[0|Sf]){if(p=r+12|0,D=e+56|0,Ta(b[(R=r+8|0)>>2],b[p>>2],a+368|0,a+304|0,a+112|0,v[D>>2]),v[a+116>>2]>2],4&C[R+204|0])break e;Ta(R,b[p>>2],a+368|0,a+240|0,a,v[D>>2])}else R=r+12|0,p=e+56|0,ma(e,b[R>>2],a+368|0,a+304|0,a+112|0,v[p>>2]),4&C[b[r+8>>2]+204|0]|v[a+116>>2]>2],a+368|0,a+240|0,a,v[p>>2]);n=(n=v[(p=r+20|0)>>2])>2]>2]>2],4&C[D+204|0])break e;R=0|BA[b[b[r>>2]+56>>2]](r,D,b[a+192>>2])}else R=0,v[a+4>>2]>2],4&C[D+204|0]||(R=0|BA[b[b[r>>2]+56>>2]](r,D,b[Uf>>2])));if(t=B(n*i),n=B(0),n=v[p>>2]>2],1&(t>B(0)^-1|t>2],b[G>>2]=b[a+224>>2],b[G+4>>2]=_,R=b[(_=a+232|0)+4>>2],b[d>>2]=b[_>>2],b[d+4>>2]=R,n=B(n+v[Hf>>2]),Be=B(v[zf>>2]*n),v[j>>2]=v[j>>2]-Be,gi=B(n*v[Zf>>2]),v[ui>>2]=v[ui>>2]-gi,wi=B(n*v[W>>2]),v[Ri>>2]=v[Ri>>2]-wi,_=1}_=0}r:{e=b[r+8>>2];e:{if(!(4&b[e+204>>2]|v[a+116>>2]>2]+56>>2]](r,e,b[a+192>>2])|_))break e;break r}if(!_)break r}return i=v[r+136>>2],n=C[r+290|0]?C[r+289|0]?v[a+116>>2]:B(B(i-v[a+180>>2])*B(.5)):v[a+116>>2],f[r+289|0]=0,f[r+249|0]=0,b[(e=r+20|0)>>2]=0,b[e+4>>2]=0,e=r+132|0,t=B(B(1)-n),v[e>>2]=B(t*v[e>>2])+B(n*v[r+152>>2]),v[r+136>>2]=B(i*t)+B(n*v[r+156>>2]),v[(e=r+140|0)>>2]=B(t*v[e>>2])+B(n*v[r+160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e){r|=0,e|=0;var i=B(0),a=B(0),n=B(0),t=B(0),C=0,g=0;C=r,i=v[e>>2],a=B(i*i),i=v[e+4>>2],a=B(a+B(i*i)),i=v[e+8>>2],i=B(a+B(i*i)),a=v[r+36>>2],i!=B(0)&&(a=B(p(i))),i=a,v[C+20>>2]=i,v[r+32>>2]=i,f[r+249|0]=1,C=r+284|0,i=v[e>>2],n=v[e+4>>2],t=v[e+8>>2],(a=B(B(B(i*i)+B(n*n))+B(t*t)))!=B(0)?(a=B(B(1)/B(p(a))),t=B(t*a),n=B(n*a),i=B(i*a),e=e+12|0):(t=v[r+264>>2],n=v[r+260>>2],i=v[r+256>>2],e=r+268|0),b[C>>2]=b[e>>2],v[r+280>>2]=t,v[r+276>>2]=n,v[r+272>>2]=i,e=b[r+8>>2],C=b[(g=e+52|0)+4>>2],b[r+116>>2]=b[g>>2],b[r+120>>2]=C,g=b[(e=e+60|0)+4>>2],b[(r=r+124|0)>>2]=b[e>>2],b[r+4>>2]=g},function(r){return 0|(B(m(v[(r|=0)+20>>2]))>2]))>2],e=b[e+188>>2],b[r+8>>2]&b[e+4>>2]?0!=(b[e+8>>2]&b[r+4>>2])|0:0},function(r,e){r|=0;var i=0;i=b[(e|=0)+4>>2],b[r+100>>2]=b[e>>2],b[r+104>>2]=i,i=b[(e=e+8|0)+4>>2],b[(r=r+108|0)>>2]=b[e>>2],b[r+4>>2]=i},function(r){return(r|=0)+100|0},function(r,e){r|=0,e|=0;var i,a=0,n=B(0),t=B(0),C=B(0),g=B(0),d=B(0),_=B(0),R=B(0),m=0,h=B(0),Q=B(0),D=B(0),w=B(0);a=b[e+4>>2],b[r+68>>2]=b[e>>2],b[r+72>>2]=a,i=b[(m=e+8|0)+4>>2],b[(a=r+76|0)>>2]=b[m>>2],b[a+4>>2]=i,C=v[r+68>>2],g=v[r+72>>2],d=v[a>>2];A:{if((h=B(B(B(C*C)+B(g*g))+B(d*d)))>B(0)){if(_=v[e>>2],n=v[e+4>>2],R=v[e+8>>2],t=B(B(1)/B(p(B(B(B(_*_)+B(n*n))+B(R*R))))),Q=v[r+264>>2],w=B(Q*B(R*t)),R=v[r+256>>2],D=v[r+260>>2],(t=B(w+B(B(R*B(_*t))+B(D*B(n*t)))))==B(0))break A;if(n=d,d=B(B(p(h))*ge(B(B(1.5707963705062866)-Ji(B(G(B(y(t,B(-1))),B(1))))))),_=B(Q*d),v[r+76>>2]=n-_,n=g,g=B(D*d),v[r+72>>2]=n-g,n=C,C=B(R*d),v[r+68>>2]=n-C,v[r+20>>2]=(tB(0)))break A;return f[r+249|0]=1,e=b[r+8>>2],m=b[(a=e+52|0)+4>>2],b[r+116>>2]=b[a>>2],b[r+120>>2]=m,a=b[(e=e+60|0)+4>>2],b[(r=r+124|0)>>2]=b[e>>2],void(b[r+4>>2]=a)}b[r+20>>2]=0}},function(r,e){r|=0,e|=0;var i=B(0);b[r+12>>2]=0,i=v[e+20>>2],v[r>>2]=B(v[e+256>>2]*i)+v[e+68>>2],v[r+8>>2]=B(i*v[e+264>>2])+v[e+76>>2],v[r+4>>2]=B(i*v[e+260>>2])+v[e+72>>2]},Cr,function(r,e){return e|=0,b[(r|=0)+12>>2]&b[e+4>>2]?0!=(b[e+8>>2]&b[r+8>>2])|0:0},function(r,e,i){r|=0,e|=0,i|=0;var a=0,f=B(0),n=B(0),t=B(0),g=B(0),d=B(0),_=B(0),R=0,m=B(0),h=B(0),G=B(0),y=B(0),Q=B(0),p=B(0);return n=B(1),(0|(a=b[e>>2]))==b[r+84>>2]|4&C[a+204|0]||(i?(t=v[e+16>>2],g=v[e+12>>2],f=v[e+8>>2]):(f=v[e+8>>2],d=v[e+12>>2],_=v[e+16>>2],t=B(B(B(f*v[a+36>>2])+B(d*v[a+40>>2]))+B(_*v[a+44>>2])),g=B(B(B(f*v[a+20>>2])+B(d*v[a+24>>2]))+B(_*v[a+28>>2])),f=B(B(B(v[a+4>>2]*f)+B(v[a+8>>2]*d))+B(v[a+12>>2]*_))),B(B(B(f*v[r+88>>2])+B(g*v[r+92>>2]))+B(t*v[r+96>>2]))>2]||(b[r+80>>2]=a,b[r+4>>2]=b[e+40>>2],i?(i=b[e+12>>2],b[r+48>>2]=b[e+8>>2],b[r+52>>2]=i,R=b[(a=e+16|0)+4>>2],b[(i=r+56|0)>>2]=b[a>>2],b[i+4>>2]=R):(f=v[a+8>>2],d=v[a+12>>2],_=v[a+20>>2],m=v[a+24>>2],h=v[a+28>>2],G=v[a+36>>2],y=v[a+40>>2],n=v[e+12>>2],Q=v[a+44>>2],t=v[e+16>>2],p=v[a+4>>2],g=v[e+8>>2],b[r+60>>2]=0,v[r+56>>2]=B(B(g*G)+B(n*y))+B(t*Q),v[r+52>>2]=B(B(g*_)+B(n*m))+B(t*h),v[r+48>>2]=B(B(p*g)+B(f*n))+B(d*t)),i=b[e+28>>2],b[r+64>>2]=b[e+24>>2],b[r+68>>2]=i,a=b[(i=e+32|0)+4>>2],b[(r=r+72|0)>>2]=b[i>>2],b[r+4>>2]=a,n=v[e+40>>2])),B(n)},rf,Ae,function(r,e){e|=0;var i=0,a=0;Ka(r|=0,b[r+28>>2]+4|0,b[r+32>>2]+4|0),b[e>>2]=0,b[e+4>>2]=0,(a=b[r+956>>2])?(i=2,i=4!=(0|a)?1:i,b[e>>2]=i):i=a,C[r+792|0]&&(i=i+1|0,b[e>>2]=i),C[r+798|0]&&(i=i+1|0,b[e>>2]=i),(a=b[r+960>>2])&&(i=4==(0|a)?i+2|0:i+1|0,b[e>>2]=i),C[r+793|0]&&(i=i+1|0,b[e>>2]=i),C[r+799|0]&&(i=i+1|0,b[e>>2]=i),(a=b[r+964>>2])&&(i=4==(0|a)?i+2|0:i+1|0,b[e>>2]=i),C[r+794|0]&&(i=i+1|0,b[e>>2]=i),C[r+800|0]&&(b[e>>2]=i+1),qa(r,0),(a=b[r+1052>>2])&&(i=2,b[e>>2]=b[e>>2]+(4!=(0|a)?1:i)),C[r+996|0]&&(b[e>>2]=b[e>>2]+1),C[r+1016|0]&&(b[e>>2]=b[e>>2]+1),qa(r,1),(a=b[r+1140>>2])&&(i=2,b[e>>2]=b[e>>2]+(4!=(0|a)?1:i)),C[r+1084|0]&&(b[e>>2]=b[e>>2]+1),C[r+1104|0]&&(b[e>>2]=b[e>>2]+1),i=2,qa(r,2),(a=b[r+1228>>2])&&(b[e>>2]=b[e>>2]+(4!=(0|a)?1:i)),C[r+1172|0]&&(b[e>>2]=b[e>>2]+1),C[r+1192|0]&&(b[e>>2]=b[e>>2]+1)},function(r,e){var i,a,n,t,g,d;(function(r,e,i,a,n,t,g,d,_){var B,m,h,G,y,Q,p,D,w,Z,Y,W,F,E,j,BA,Be,ui,gi,Ri,wi,Xi=0,Da=0,Ia=0,yf=0,Qf=0,pf=0,Df=0,wf=0;for(N=B=N-112|0,b[(m=B+108|0)>>2]=0,b[(Da=h=B+100|0)>>2]=0,b[Da+4>>2]=0,f[B+88|0]=0,b[B+84>>2]=0,f[B+80|0]=0,b[B+76>>2]=0,f[B+72|0]=0,b[B+68>>2]=0,f[B+64|0]=0,b[B+56>>2]=0,b[B+60>>2]=1036831949,f[B+52|0]=0,b[B+48>>2]=0,b[B+40>>2]=0,b[B+44>>2]=1063675494,b[B+32>>2]=0,b[B+36>>2]=1045220557,b[B+24>>2]=1065353216,b[B+28>>2]=-1082130432,b[B+92>>2]=0,b[B+96>>2]=0,G=e+4|0,y=B+52|0,Q=B+104|0,p=B+96|0,D=B- -64|0,w=B+68|0,Z=B+72|0,Y=B+76|0,W=B+80|0,F=B+84|0,E=B+88|0,j=B+92|0,BA=B+60|0,Be=B+56|0,ui=r+1456|0,gi=B+40|0,Ri=B+48|0,wi=B+44|0;;){if(Da=C[(Qf=r+Df|0)+792|0],(Ia=b[(Xi=r+wf|0)+956>>2])||(yf=Da,Da=1,yf||(Da=0,C[Qf+798|0]))){b[m>>2]=Ia,f[0|y]=Da,b[B+32>>2]=b[Xi+712>>2],b[Q>>2]=b[Xi+940>>2],b[p>>2]=b[Xi+908>>2],b[h>>2]=b[Xi+924>>2],f[0|D]=C[Qf+795|0],b[w>>2]=b[Xi+804>>2],f[0|Z]=C[Qf+798|0],b[Y>>2]=b[Xi+820>>2],f[0|W]=C[Qf+836|0],b[F>>2]=b[Xi+840>>2],f[0|E]=C[Qf+856|0],b[j>>2]=b[Xi+860>>2],b[BA>>2]=b[Xi+892>>2],b[Be>>2]=b[Xi+876>>2],b[B+28>>2]=b[Xi+696>>2],b[B+24>>2]=b[Xi+680>>2],b[B+20>>2]=0,b[B+16>>2]=b[Xi+1268>>2],b[B+8>>2]=b[Xi+1236>>2],b[B+12>>2]=b[Xi+1252>>2],yf=gi,Da=b[ui>>2]>>wf,Ia=b[e+32>>2],1&Da&&(Ia=Xi+744|0),b[yf>>2]=b[Ia>>2],b[B+36>>2]=b[(2&Da?Xi+728|0:G)>>2],b[Ri>>2]=b[(4&Da?Xi+776|0:b[e+32>>2])>>2],b[wi>>2]=b[(8&Da?Xi+760|0:G)>>2],Qf=((Df+2&255)>>>0)%3|0,Da=1,yf=R(((Df+1&255)>>>0)%3|0,88)+r|0,Ia=1;A:if(!((Xi=b[yf+1052>>2])+-1>>>0<2)){r:{if(4!=(0|Xi)){if(3!=(0|Xi))break r;Ia=(pf=+v[yf+1040>>2])<-.001|pf>.001;break A}if(Ia=1,+v[yf+1040>>2]<-.001)break A;Ia=+v[yf+1044>>2]>.001;break A}Ia=0}yf=R(Qf,88)+r|0;A:{r:if(!((Xi=b[yf+1052>>2])+-1>>>0<2))if(4==(0|Xi)){if(!(+v[yf+1040>>2]<-.001||+v[yf+1044>>2]>.001))break A}else{if(3!=(0|Xi))break A;if((pf=+v[yf+1040>>2])<-.001)break r;if(!(pf>.001))break A}Da=0}i=$a(r,B+24|0,a,n,t,g,d,_,e,i,B+8|0,0,Ia?Da:1)+i|0}if(Df=Df+1|0,12==(0|(wf=wf+4|0)))break}N=B+112|0})(i=r|=0,a=e|=0,function(r,e,i,a,f,n,t,g){var d,v=0,_=0,B=0,m=0,h=0,G=0,y=0;if(N=d=N-32|0,b[d+24>>2]=b[5979],_=b[5978],b[d+16>>2]=b[5977],b[d+20>>2]=_,_=1,(B=b[r+1232>>2])>>>0<=5&&(v=B<<2,b[d+24>>2]=b[v+23968>>2],_=b[v+23992>>2],b[d+20>>2]=_,v=b[v+24016>>2],b[d+16>>2]=v),B=R(v,88)+r|0,C[1016+(R(v,88)+r|0)|0]||b[B+1052>>2]|C[B+996|0]){h=b[(m=(_=(v<<4)+r|0)+1388|0)+4>>2],b[(G=d+8|0)>>2]=b[m>>2],b[G+4>>2]=h,m=b[(_=_+1380|0)+4>>2],b[d>>2]=b[_>>2],b[d+4>>2]=m;A:{r:{e:{i:{if(1&(_=b[r+1456>>2]>>12+(v<<2))){if(!(2&_))break i;break e}if(b[984+(R(v,88)+r|0)>>2]=b[b[e+32>>2]>>2],2&_)break e}if(b[980+(R(v,88)+r|0)>>2]=b[e+4>>2],4&_)break A;break r}if(4&_)break A}b[992+(R(v,88)+r|0)>>2]=b[b[e+32>>2]>>2]}8&_||(b[988+(R(v,88)+r|0)>>2]=b[e+4>>2]),m=$a(r,B+968|0,i,a,f,n,t,g,e,0,d,1,0),_=b[d+20>>2]}if(B=R(_,88)+r|0,C[1016+(R(_,88)+r|0)|0]||b[B+1052>>2]|C[B+996|0]){G=b[(h=(v=(_<<4)+r|0)+1388|0)+4>>2],b[(y=d+8|0)>>2]=b[h>>2],b[y+4>>2]=G,h=b[(v=v+1380|0)+4>>2],b[d>>2]=b[v>>2],b[d+4>>2]=h;A:{r:{e:{i:{if(1&(v=b[r+1456>>2]>>12+(_<<2))){if(!(2&v))break i;break e}if(b[984+(R(_,88)+r|0)>>2]=b[b[e+32>>2]>>2],2&v)break e}if(b[980+(R(_,88)+r|0)>>2]=b[e+4>>2],4&v)break A;break r}if(4&v)break A}b[992+(R(_,88)+r|0)>>2]=b[b[e+32>>2]>>2]}8&v||(b[988+(R(_,88)+r|0)>>2]=b[e+4>>2]),m=$a(r,B+968|0,i,a,f,n,t,g,e,m,d,1,0)+m|0}if(_=b[d+24>>2],B=R(_,88)+r|0,C[1016+(R(_,88)+r|0)|0]||b[B+1052>>2]|C[B+996|0]){G=b[(h=(v=(_<<4)+r|0)+1388|0)+4>>2],b[(y=d+8|0)>>2]=b[h>>2],b[y+4>>2]=G,h=b[(v=v+1380|0)+4>>2],b[d>>2]=b[v>>2],b[d+4>>2]=h;A:{r:{e:{i:{if(1&(v=b[r+1456>>2]>>12+(_<<2))){if(!(2&v))break i;break e}if(b[984+(R(_,88)+r|0)>>2]=b[b[e+32>>2]>>2],2&v)break e}if(b[980+(R(_,88)+r|0)>>2]=b[e+4>>2],4&v)break A;break r}if(4&v)break A}b[992+(R(_,88)+r|0)>>2]=b[b[e+32>>2]>>2]}8&v||(b[988+(R(_,88)+r|0)>>2]=b[e+4>>2]),m=$a(r,B+968|0,i,a,f,n,t,g,e,m,d,1,0)+m|0}return N=d+32|0,m}(i,a,n=(e=b[r+28>>2])+4|0,t=(r=b[r+32>>2])+4|0,g=e+372|0,d=r+372|0,e=e+388|0,r=r+388|0),n,t,g,d,e,r)},function(r,e,i,a){r|=0,e|=0,i=B(i);var f=0;A:{r:{e:{i:{a:{f:{n:{if((a|=0)>>>0<=2){if((e=e+-1|0)>>>0>3)break r;switch(e-1|0){case 0:break a;case 2:break f;case 1:break n}return v[760+((e=a<<2)+r|0)>>2]=i,void(b[r+1456>>2]=b[r+1456>>2]|8<>>0>2)break r;if((e=e+-1|0)>>>0>3)break r;switch(e-1|0){case 2:break A;case 1:break e;case 0:break i}return v[988+(R(f,88)+r|0)>>2]=i,void(b[r+1456>>2]=b[r+1456>>2]|8<<(a<<2))}return v[776+((e=a<<2)+r|0)>>2]=i,void(b[r+1456>>2]=b[r+1456>>2]|4<>2]=i,void(b[r+1456>>2]=b[r+1456>>2]|1<>2]=i,void(b[r+1456>>2]=b[r+1456>>2]|2<>2]=i,void(b[r+1456>>2]=b[r+1456>>2]|2<<(a<<2))}v[992+(R(f,88)+r|0)>>2]=i,b[r+1456>>2]=b[r+1456>>2]|4<<(a<<2)}return}v[984+(R(f,88)+r|0)>>2]=i,b[r+1456>>2]=b[r+1456>>2]|1<<(a<<2)},function(r,e,i){r|=0,e|=0,i|=0;var a=B(0);A:{r:{e:{i:{a:{f:{n:{t:{if(i>>>0<=2){if((e=e+-1|0)>>>0>3)break f;switch(e-1|0){case 0:break a;case 2:break n;case 1:break t}return B(v[760+((i<<2)+r|0)>>2])}if((i=i+-3|0)>>>0>2)break r;if((e=e+-1|0)>>>0>3)break r;switch(e-1|0){case 2:break A;case 1:break e;case 0:break i}return B(v[988+(R(i,88)+r|0)>>2])}return B(v[776+((i<<2)+r|0)>>2])}return B(v[744+((i<<2)+r|0)>>2])}return B(B(0))}return B(v[728+((i<<2)+r|0)>>2])}return B(v[980+(R(i,88)+r|0)>>2])}a=v[992+(R(i,88)+r|0)>>2]}return B(a)}return B(v[984+(R(i,88)+r|0)>>2])},function(r){return 644},function(r,e,i){return Ya(r|=0,e|=0,i|=0),b[e+52>>2]=b[r+48>>2],b[e+56>>2]=b[r+52>>2],b[e+60>>2]=b[r+56>>2],b[e+64>>2]=b[r+60>>2],b[e+68>>2]=b[r- -64>>2],b[e+72>>2]=b[r+68>>2],b[e+76>>2]=b[r+72>>2],b[e+80>>2]=b[r+76>>2],b[e+84>>2]=b[r+80>>2],b[e+88>>2]=b[r+84>>2],b[e+92>>2]=b[r+88>>2],b[e+96>>2]=b[r+92>>2],b[e+100>>2]=b[r+96>>2],b[e+104>>2]=b[r+100>>2],b[e+108>>2]=b[r+104>>2],b[e+112>>2]=b[r+108>>2],b[e+116>>2]=b[r+112>>2],b[e+120>>2]=b[r+116>>2],b[e+124>>2]=b[r+120>>2],b[e+128>>2]=b[r+124>>2],b[e+132>>2]=b[r+128>>2],b[e+136>>2]=b[r+132>>2],b[e+140>>2]=b[r+136>>2],b[e+144>>2]=b[r+140>>2],b[e+148>>2]=b[r+144>>2],b[e+152>>2]=b[r+148>>2],b[e+156>>2]=b[r+152>>2],b[e+160>>2]=b[r+156>>2],b[e+164>>2]=b[r+160>>2],b[e+168>>2]=b[r+164>>2],b[e+172>>2]=b[r+168>>2],b[e+176>>2]=b[r+172>>2],b[e+428>>2]=b[r+968>>2],b[e+412>>2]=b[r+972>>2],b[e+444>>2]=b[r+976>>2],b[e+460>>2]=b[r+980>>2],b[e+476>>2]=b[r+984>>2],b[e+492>>2]=b[r+988>>2],b[e+508>>2]=b[r+992>>2],b[e+524>>2]=b[r+1e3>>2],b[e+540>>2]=b[r+1004>>2],b[e+556>>2]=b[r+1012>>2],b[e+572>>2]=b[r+1020>>2],b[e+588>>2]=b[r+1028>>2],b[e+604>>2]=b[r+1036>>2],b[e+432>>2]=b[r+1056>>2],b[e+416>>2]=b[r+1060>>2],b[e+448>>2]=b[r+1064>>2],b[e+464>>2]=b[r+1068>>2],b[e+480>>2]=b[r+1072>>2],b[e+496>>2]=b[r+1076>>2],b[e+512>>2]=b[r+1080>>2],b[e+528>>2]=b[r+1088>>2],b[e+544>>2]=b[r+1092>>2],b[e+560>>2]=b[r+1100>>2],b[e+576>>2]=b[r+1108>>2],b[e+592>>2]=b[r+1116>>2],b[e+608>>2]=b[r+1124>>2],b[e+436>>2]=b[r+1144>>2],b[e+420>>2]=b[r+1148>>2],b[e+452>>2]=b[r+1152>>2],b[e+468>>2]=b[r+1156>>2],b[e+484>>2]=b[r+1160>>2],b[e+500>>2]=b[r+1164>>2],b[e+516>>2]=b[r+1168>>2],b[e+532>>2]=b[r+1176>>2],b[e+548>>2]=b[r+1180>>2],b[e+564>>2]=b[r+1188>>2],b[e+580>>2]=b[r+1196>>2],b[e+596>>2]=b[r+1204>>2],i=b[r+1212>>2],b[e+440>>2]=0,b[e+612>>2]=i,b[e+616>>2]=0,b[e+600>>2]=0,b[e+584>>2]=0,b[e+568>>2]=0,b[e+552>>2]=0,b[e+536>>2]=0,b[e+520>>2]=0,b[e+504>>2]=0,b[e+488>>2]=0,b[e+472>>2]=0,b[e+456>>2]=0,b[e+424>>2]=0,f[e+620|0]=C[r+996|0],f[e+624|0]=C[r+1008|0],f[e+628|0]=C[r+1016|0],f[e+632|0]=C[r+1024|0],f[e+636|0]=C[r+1032|0],f[e+621|0]=C[r+1084|0],f[e+625|0]=C[r+1096|0],f[e+629|0]=C[r+1104|0],f[e+633|0]=C[r+1112|0],f[e+637|0]=C[r+1120|0],f[e+622|0]=C[r+1172|0],f[e+626|0]=C[r+1184|0],f[e+630|0]=C[r+1192|0],f[e+634|0]=C[r+1200|0],i=C[r+1208|0],f[e+639|0]=0,f[e+635|0]=0,f[e+631|0]=0,f[e+627|0]=0,f[e+623|0]=0,f[e+638|0]=i,b[e+196>>2]=b[r+680>>2],b[e+200>>2]=b[r+684>>2],b[e+204>>2]=b[r+688>>2],b[e+208>>2]=b[r+692>>2],b[e+180>>2]=b[r+696>>2],b[e+184>>2]=b[r+700>>2],b[e+188>>2]=b[r+704>>2],b[e+192>>2]=b[r+708>>2],b[e+212>>2]=b[r+712>>2],b[e+216>>2]=b[r+716>>2],b[e+220>>2]=b[r+720>>2],b[e+224>>2]=b[r+724>>2],b[e+228>>2]=b[r+728>>2],b[e+232>>2]=b[r+732>>2],b[e+236>>2]=b[r+736>>2],b[e+240>>2]=b[r+740>>2],b[e+244>>2]=b[r+744>>2],b[e+248>>2]=b[r+748>>2],b[e+252>>2]=b[r+752>>2],b[e+256>>2]=b[r+756>>2],b[e+260>>2]=b[r+760>>2],b[e+264>>2]=b[r+764>>2],b[e+268>>2]=b[r+768>>2],b[e+272>>2]=b[r+772>>2],b[e+276>>2]=b[r+776>>2],b[e+280>>2]=b[r+780>>2],b[e+284>>2]=b[r+784>>2],b[e+288>>2]=b[r+788>>2],b[e+292>>2]=b[r+876>>2],b[e+296>>2]=b[r+880>>2],b[e+300>>2]=b[r+884>>2],b[e+304>>2]=b[r+888>>2],b[e+308>>2]=b[r+892>>2],b[e+312>>2]=b[r+896>>2],b[e+316>>2]=b[r+900>>2],b[e+320>>2]=b[r+904>>2],b[e+324>>2]=b[r+804>>2],b[e+328>>2]=b[r+808>>2],b[e+332>>2]=b[r+812>>2],b[e+336>>2]=b[r+816>>2],b[e+340>>2]=b[r+820>>2],b[e+344>>2]=b[r+824>>2],b[e+348>>2]=b[r+828>>2],b[e+352>>2]=b[r+832>>2],b[e+356>>2]=b[r+840>>2],b[e+360>>2]=b[r+844>>2],b[e+364>>2]=b[r+848>>2],b[e+368>>2]=b[r+852>>2],b[e+372>>2]=b[r+860>>2],b[e+376>>2]=b[r+864>>2],b[e+380>>2]=b[r+868>>2],b[e+384>>2]=b[r+872>>2],f[e+388|0]=C[r+792|0],f[e+392|0]=C[r+795|0],f[e+396|0]=C[r+798|0],f[e+400|0]=C[r+836|0],f[e+404|0]=C[r+856|0],f[e+389|0]=C[r+793|0],f[e+393|0]=C[r+796|0],f[e+397|0]=C[r+799|0],f[e+401|0]=C[r+837|0],f[e+405|0]=C[r+857|0],f[e+390|0]=C[r+794|0],f[e+394|0]=C[r+797|0],f[e+398|0]=C[r+800|0],f[e+402|0]=C[r+838|0],i=C[r+858|0],f[e+407|0]=0,f[e+403|0]=0,f[e+399|0]=0,f[e+395|0]=0,f[e+391|0]=0,f[e+406|0]=i,r=b[r+1232>>2],b[e+408>>2]=0,b[e+640>>2]=r,24124},Va,rf,sA,Cr,function(r,e){e|=0,W(b[(r|=0)+4>>2],0|e)},function(r,e){e|=0,F(b[(r|=0)+4>>2],0|e)},Cr,function(r,e){return e|=0,b[(r|=0)+16>>2]&b[e+4>>2]?0!=(b[e+8>>2]&b[r+12>>2])|0:0},function(r,e,i){r|=0,e|=0,i|=0;var a=0,f=B(0),n=B(0),t=B(0),C=0,g=B(0),d=B(0),_=B(0),R=B(0),m=B(0),h=B(0),G=B(0),y=B(0),Q=B(0);return b[r+4>>2]=b[e+24>>2],a=b[e>>2],b[r+8>>2]=a,i?(i=b[e+12>>2],b[r+56>>2]=b[e+8>>2],b[r+60>>2]=i,C=b[(a=e+16|0)+4>>2],b[(i=r- -64|0)>>2]=b[a>>2],b[i+4>>2]=C):(g=v[a+8>>2],d=v[a+12>>2],_=v[a+20>>2],R=v[a+24>>2],m=v[a+28>>2],h=v[a+36>>2],G=v[a+40>>2],f=v[e+12>>2],y=v[a+44>>2],n=v[e+16>>2],Q=v[a+4>>2],t=v[e+8>>2],b[r+68>>2]=0,v[r- -64>>2]=B(B(t*h)+B(f*G))+B(n*y),v[r+60>>2]=B(B(t*_)+B(f*R))+B(n*m),v[r+56>>2]=B(B(Q*t)+B(g*f))+B(d*n)),f=v[(e=e+24|0)>>2],n=B(B(1)-f),v[r+72>>2]=B(n*v[r+24>>2])+B(f*v[r+40>>2]),v[r+76>>2]=B(n*v[r+28>>2])+B(f*v[r+44>>2]),v[r+80>>2]=B(n*v[r+32>>2])+B(f*v[r+48>>2]),B(v[e>>2])},_f,function(r){rA(_f(r|=0))},function(r,e,i){r|=0,e|=0,i|=0;var a=0,n=0,t=0,g=0,d=0,_=0,R=B(0),m=0,h=B(0),G=0,y=B(0),Q=B(0),p=B(0);if(b[r+8>>2]=b[e>>2],(0|(t=b[(m=r+28|0)>>2]))==b[r+32>>2]&&!((0|t)>=(0|(g=t?t<<1:1)))){A:{r:{if(g){if(_=CA(g<<2,16),(0|(t=b[r+28>>2]))>=1)break r;break A}if((0|t)<1)break A}for(d=r+36|0,a=t;b[n+_>>2]=b[b[d>>2]+n>>2],n=n+4|0,a=a+-1|0;);}(n=b[(a=r+36|0)>>2])&&(C[r+40|0]&&(gA(n),t=b[r+28>>2]),b[r+36>>2]=0),b[a>>2]=_,f[r+40|0]=1,b[r+32>>2]=g}if(b[m>>2]=t+1,b[b[r+36>>2]+(t<<2)>>2]=b[e>>2],i?(y=v[e+16>>2],Q=v[e+12>>2],h=v[e+8>>2],R=v[e+20>>2]):(R=v[e+8>>2],i=b[r+8>>2],h=v[e+12>>2],p=v[e+16>>2],y=B(B(B(R*v[i+36>>2])+B(h*v[i+40>>2]))+B(p*v[i+44>>2])),Q=B(B(B(R*v[i+20>>2])+B(h*v[i+24>>2]))+B(p*v[i+28>>2])),h=B(B(B(v[i+4>>2]*R)+B(v[i+8>>2]*h))+B(v[i+12>>2]*p)),R=B(0)),(0|(a=b[(_=r+80|0)>>2]))==b[r+84>>2]&&!((0|a)>=(0|(i=a?a<<1:1)))){A:{r:{if(i){if(t=CA(i<<4,16),(0|(a=b[r+80>>2]))>=1)break r;break A}if(t=0,(0|a)<1)break A}for(n=0,m=r+88|0;g=b[m>>2]+n|0,G=b[g+4>>2],b[(d=n+t|0)>>2]=b[g>>2],b[d+4>>2]=G,G=b[(g=g+8|0)+4>>2],b[(d=d+8|0)>>2]=b[g>>2],b[d+4>>2]=G,n=n+16|0,a=a+-1|0;);}(n=b[(a=r+88|0)>>2])&&(C[r+92|0]&&gA(n),b[r+88>>2]=0),b[a>>2]=t,f[r+92|0]=1,b[r+84>>2]=i,a=b[r+80>>2]}if(i=b[r+88>>2]+(a<<4)|0,v[i+12>>2]=R,v[i+8>>2]=y,v[i+4>>2]=Q,v[i>>2]=h,b[_>>2]=b[_>>2]+1,R=v[e+24>>2],y=B(B(1)-R),Q=B(B(y*v[r+52>>2])+B(R*v[r+68>>2])),h=B(B(y*v[r+48>>2])+B(R*v[r- -64>>2])),R=B(B(y*v[r+44>>2])+B(R*v[r+60>>2])),(0|(a=b[(_=r+100|0)>>2]))==b[r+104>>2]&&!((0|a)>=(0|(i=a?a<<1:1)))){A:{r:{if(i){if(t=CA(i<<4,16),(0|(a=b[r+100>>2]))>=1)break r;break A}if(t=0,(0|a)<1)break A}for(n=0,m=r+108|0;g=b[m>>2]+n|0,G=b[g+4>>2],b[(d=n+t|0)>>2]=b[g>>2],b[d+4>>2]=G,G=b[(g=g+8|0)+4>>2],b[(d=d+8|0)>>2]=b[g>>2],b[d+4>>2]=G,n=n+16|0,a=a+-1|0;);}(n=b[(a=r+108|0)>>2])&&(C[r+112|0]&&gA(n),b[r+108>>2]=0),b[a>>2]=t,f[r+112|0]=1,b[r+104>>2]=i,a=b[r+100>>2]}if(i=b[r+108>>2]+(a<<4)|0,v[i+8>>2]=Q,v[i+4>>2]=h,v[i>>2]=R,b[_>>2]=b[_>>2]+1,(0|(i=b[(d=r+120|0)>>2]))==b[r+124>>2]&&!((0|i)>=(0|(m=i?i<<1:1)))){m?(t=CA(m<<2,16),i=b[r+120>>2]):t=0,g=b[r+128>>2];A:{if((0|i)>=1)for(n=t,a=g,_=i;b[n>>2]=b[a>>2],n=n+4|0,a=a+4|0,_=_+-1|0;);else if(!g)break A;C[r+132|0]&&(gA(g),i=b[r+120>>2]),b[r+128>>2]=0}b[r+128>>2]=t,f[r+132|0]=1,b[r+124>>2]=m}return b[b[r+128>>2]+(i<<2)>>2]=b[e+24>>2],b[d>>2]=i+1,B(v[r+4>>2])},Cr,function(r,e,i){r|=0,e|=0,i|=0;var a=0,f=B(0),n=B(0),t=B(0),C=0,g=B(0),d=B(0),_=B(0),R=B(0),m=B(0),h=B(0),G=B(0),y=B(0),Q=B(0);return b[r+4>>2]=b[e+40>>2],a=b[e>>2],b[r+80>>2]=a,i?(i=b[e+12>>2],b[r+48>>2]=b[e+8>>2],b[r+52>>2]=i,C=b[(a=e+16|0)+4>>2],b[(i=r+56|0)>>2]=b[a>>2],b[i+4>>2]=C):(g=v[a+8>>2],d=v[a+12>>2],_=v[a+20>>2],R=v[a+24>>2],m=v[a+28>>2],h=v[a+36>>2],G=v[a+40>>2],f=v[e+12>>2],y=v[a+44>>2],n=v[e+16>>2],Q=v[a+4>>2],t=v[e+8>>2],b[r+60>>2]=0,v[r+56>>2]=B(B(t*h)+B(f*G))+B(n*y),v[r+52>>2]=B(B(t*_)+B(f*R))+B(n*m),v[r+48>>2]=B(B(Q*t)+B(g*f))+B(d*n)),i=b[e+28>>2],b[r+64>>2]=b[e+24>>2],b[r+68>>2]=i,a=b[(i=e+32|0)+4>>2],b[(r=r+72|0)>>2]=b[i>>2],b[r+4>>2]=a,B(v[e+40>>2])},Bf,function(r){rA(Bf(r|=0))},function(r,e,i){r|=0,e|=0,i|=0;var a=0,n=0,t=0,g=0,d=0,_=0,R=0,m=0,h=B(0),G=B(0),y=0,Q=B(0),p=B(0),D=B(0);if((0|(t=b[(d=r+20|0)>>2]))==b[r+24>>2]&&!((0|t)>=(0|(g=t?t<<1:1)))){A:{r:{if(g){if(_=CA(g<<2,16),(0|(t=b[r+20>>2]))>=1)break r;break A}if((0|t)<1)break A}for(R=r+28|0,a=t;b[n+_>>2]=b[b[R>>2]+n>>2],n=n+4|0,a=a+-1|0;);}(n=b[(a=r+28|0)>>2])&&(C[r+32|0]&&(gA(n),t=b[r+20>>2]),b[r+28>>2]=0),b[a>>2]=_,f[r+32|0]=1,b[r+24>>2]=g}if(b[d>>2]=t+1,b[b[r+28>>2]+(t<<2)>>2]=b[e>>2],i?(p=v[e+16>>2],D=v[e+12>>2],h=v[e+8>>2],G=v[e+20>>2]):(G=v[e+8>>2],i=b[e>>2],h=v[e+12>>2],Q=v[e+16>>2],p=B(B(B(G*v[i+36>>2])+B(h*v[i+40>>2]))+B(Q*v[i+44>>2])),D=B(B(B(G*v[i+20>>2])+B(h*v[i+24>>2]))+B(Q*v[i+28>>2])),h=B(B(B(v[i+4>>2]*G)+B(v[i+8>>2]*h))+B(v[i+12>>2]*Q)),G=B(0)),(0|(a=b[(_=r+72|0)>>2]))==b[r+76>>2]&&!((0|a)>=(0|(i=a?a<<1:1)))){A:{r:{if(i){if(t=CA(i<<4,16),(0|(a=b[r+72>>2]))>=1)break r;break A}if(t=0,(0|a)<1)break A}for(n=0,d=r+80|0;g=b[d>>2]+n|0,y=b[g+4>>2],b[(R=n+t|0)>>2]=b[g>>2],b[R+4>>2]=y,m=b[(g=g+8|0)+4>>2],b[(R=R+8|0)>>2]=b[g>>2],b[R+4>>2]=m,n=n+16|0,a=a+-1|0;);}(n=b[(a=r+80|0)>>2])&&(C[r+84|0]&&gA(n),b[r+80>>2]=0),b[a>>2]=t,f[r+84|0]=1,b[r+76>>2]=i,a=b[r+72>>2]}if(i=b[r+80>>2]+(a<<4)|0,v[i+12>>2]=G,v[i+8>>2]=p,v[i+4>>2]=D,v[i>>2]=h,b[_>>2]=b[_>>2]+1,i=e+24|0,(0|(a=b[(g=r+92|0)>>2]))==b[r+96>>2]&&!((0|a)>=(0|(_=a?a<<1:1)))){A:{r:{if(_){if(t=CA(_<<4,16),(0|(a=b[r+92>>2]))>=1)break r;break A}if(t=0,(0|a)<1)break A}for(n=0,R=r+100|0;d=b[R>>2]+n|0,y=b[d+4>>2],b[(m=n+t|0)>>2]=b[d>>2],b[m+4>>2]=y,y=b[(d=d+8|0)+4>>2],b[(m=m+8|0)>>2]=b[d>>2],b[m+4>>2]=y,n=n+16|0,a=a+-1|0;);}(n=b[(a=r+100|0)>>2])&&(C[r+104|0]&&gA(n),b[r+100>>2]=0),b[a>>2]=t,f[r+104|0]=1,b[r+96>>2]=_,a=b[r+92>>2]}if(n=b[i+4>>2],a=b[r+100>>2]+(a<<4)|0,b[a>>2]=b[i>>2],b[a+4>>2]=n,n=b[(i=i+8|0)+4>>2],b[(a=a+8|0)>>2]=b[i>>2],b[a+4>>2]=n,b[g>>2]=b[g>>2]+1,(0|(i=b[(R=r+112|0)>>2]))==b[r+116>>2]&&!((0|i)>=(0|(d=i?i<<1:1)))){d?(t=CA(d<<2,16),i=b[r+112>>2]):t=0,g=b[r+120>>2];A:{if((0|i)>=1)for(n=t,a=g,_=i;b[n>>2]=b[a>>2],n=n+4|0,a=a+4|0,_=_+-1|0;);else if(!g)break A;C[r+124|0]&&(gA(g),i=b[r+112>>2]),b[r+120>>2]=0}b[r+120>>2]=t,f[r+124|0]=1,b[r+116>>2]=d}return b[b[r+120>>2]+(i<<2)>>2]=b[e+40>>2],b[R>>2]=i+1,B(v[r+4>>2])},sA,Cr,function(r,e,i){var a;return r|=0,e|=0,r=b[(i|=0)>>2],r=4==b[r+252>>2]?r:0,!(a=b[e>>2])|4!=b[a+252>>2]||BA[b[b[a>>2]+28>>2]](a,i,e),r&&BA[b[b[r>>2]+28>>2]](r,e,i),0},function(r,e,i,a){var f;return r|=0,e|=0,a|=0,r=b[(i|=0)>>2],r=4==b[r+252>>2]?r:0,!(f=b[e>>2])|4!=b[f+252>>2]||BA[b[b[f>>2]+32>>2]](f,i,a,e),r&&BA[b[b[r>>2]+32>>2]](r,e,a,i),0},Yr];return{btGImpactCollisionAlgorithm_RegisterAlgorithm:function(r){(function(r){C[1732]||(b[431]=8904,f[1732]=1,f[1728]=0),gr(r,25,0),gr(r,25,1),gr(r,25,2),gr(r,25,3),gr(r,25,4),gr(r,25,5),gr(r,25,6),gr(r,25,7),gr(r,25,8),gr(r,25,9),gr(r,25,10),gr(r,25,11),gr(r,25,12),gr(r,25,13),gr(r,25,14),gr(r,25,15),gr(r,25,16),gr(r,25,17),gr(r,25,18),gr(r,25,19),gr(r,25,20),gr(r,25,21),gr(r,25,22),gr(r,25,23),gr(r,25,24),gr(r,25,25),gr(r,25,26),gr(r,25,27),gr(r,25,28),gr(r,25,29),gr(r,25,30),gr(r,25,31),gr(r,25,32),gr(r,25,33),gr(r,25,34),gr(r,25,35),gr(r,0,25),gr(r,1,25),gr(r,2,25),gr(r,3,25),gr(r,4,25),gr(r,5,25),gr(r,6,25),gr(r,7,25),gr(r,8,25),gr(r,9,25),gr(r,10,25),gr(r,11,25),gr(r,12,25),gr(r,13,25),gr(r,14,25),gr(r,15,25),gr(r,16,25),gr(r,17,25),gr(r,18,25),gr(r,19,25),gr(r,20,25),gr(r,21,25),gr(r,22,25),gr(r,23,25),gr(r,24,25),gr(r,25,25),gr(r,26,25),gr(r,27,25),gr(r,28,25),gr(r,29,25),gr(r,30,25),gr(r,31,25),gr(r,32,25),gr(r,33,25),gr(r,34,25),gr(r,35,25)})(r|=0)},btVector3_create:function(r,e,i){var a;return r=B(r),e=B(e),i=B(i),a=CA(16,16),b[a+12>>2]=0,v[a+8>>2]=i,v[a+4>>2]=e,v[a>>2]=r,0|a},btVector3_setValue:function(r,e,i,a){r|=0,e=B(e),i=B(i),a=B(a),b[r+12>>2]=0,v[r+8>>2]=a,v[r+4>>2]=i,v[r>>2]=e},btVector3_x:ef,btVector3_y:af,btVector3_z:ff,btQuaternion_create:function(r,e,i,a){var f;return r=B(r),e=B(e),i=B(i),a=B(a),f=AA(16),v[f+12>>2]=a,v[f+8>>2]=i,v[f+4>>2]=e,v[f>>2]=r,0|f},btQuaternion_setValue:function(r,e,i,a,f){r|=0,e=B(e),i=B(i),a=B(a),f=B(f),v[r+12>>2]=f,v[r+8>>2]=a,v[r+4>>2]=i,v[r>>2]=e},btQuaternion_x:ef,btQuaternion_y:af,btQuaternion_z:ff,btQuaternion_w:function(r){return B(v[(r|=0)+12>>2])},btTransform_create:function(){return 0|AA(64)},btTransform_setOrigin:function(r,e){r|=0;var i=0;i=b[(e|=0)+4>>2],b[r+48>>2]=b[e>>2],b[r+52>>2]=i,i=b[(e=e+8|0)+4>>2],b[(r=r+56|0)>>2]=b[e>>2],b[r+4>>2]=i},btTransform_setRotation:function(r,e){r|=0,e|=0;var i=B(0),a=B(0),f=B(0),n=B(0),t=B(0),C=B(0),g=B(0),d=B(0),_=B(0),R=B(0),m=B(0);a=v[e+12>>2],C=v[e+8>>2],i=v[e>>2],n=v[e+4>>2],b[r+44>>2]=0,b[r+28>>2]=0,b[r+12>>2]=0,f=B(B(2)/B(B(B(B(i*i)+B(n*n))+B(C*C))+B(a*a))),g=B(C*f),t=B(n*g),_=B(i*f),R=B(a*_),v[r+36>>2]=t+R,m=B(i*g),f=B(n*f),d=B(a*f),v[r+32>>2]=m-d,v[r+24>>2]=t-R,t=B(i*f),a=B(a*g),v[r+16>>2]=t+a,v[r+8>>2]=m+d,v[r+4>>2]=t-a,i=B(i*_),a=B(n*f),v[r+40>>2]=B(1)-B(i+a),d=i,i=B(C*g),v[r+20>>2]=B(1)-B(d+i),v[r>>2]=B(1)-B(a+i)},btTransform_getOrigin:nf,btTransform_getRotation:function(r){var e,i;return N=e=N-16|0,tf(r|=0,e),i=b[(r=e+8|0)+4>>2],b[713]=b[r>>2],b[714]=i,r=b[e+4>>2],b[711]=b[e>>2],b[712]=r,N=e+16|0,2844},btTransform_setIdentity:function(r){var e=0;b[(r|=0)+4>>2]=0,b[r+8>>2]=0,b[r>>2]=1065353216,b[r+32>>2]=0,b[r+36>>2]=0,b[(e=r+12|0)>>2]=0,b[e+4>>2]=0,b[r+20>>2]=1065353216,b[(e=r+24|0)>>2]=0,b[e+4>>2]=0,b[r+40>>2]=1065353216,b[r+60>>2]=0,b[(e=r+52|0)>>2]=0,b[e+4>>2]=0,b[(r=r+44|0)>>2]=0,b[r+4>>2]=0},btTransform_equal:he,btMotionState_destroy:bf,layaMotionState_create:function(){var r;return r=AA(8),b[r>>2]=0,b[r+4>>2]=0,b[r>>2]=24168,0|r},layaMotionState_set_rigidBodyID:function(r,e){e|=0,b[(r|=0)+4>>2]=e},btCollisionObject_create:function(){var r;return Er(r=CA(324,16)),0|r},btCollisionObject_setContactProcessingThreshold:function(r,e){r|=0,e=B(e),v[r+184>>2]=e},btCollisionObject_setActivationState:function(r,e){Vr(r|=0,e|=0)},btCollisionObject_forceActivationState:function(r,e){e|=0,b[(r|=0)+220>>2]=e},btCollisionObject_activate:function(r,e){Ir(r|=0,e|=0)},btCollisionObject_isActive:function(r){return 2!=(0|(r=b[(r|=0)+220>>2]))&5!=(0|r)},btCollisionObject_setRestitution:function(r,e){r|=0,e=B(e),v[r+232>>2]=e,b[r+304>>2]=b[r+304>>2]+1},btCollisionObject_setFriction:function(r,e){r|=0,e=B(e),v[r+228>>2]=e,b[r+304>>2]=b[r+304>>2]+1},btCollisionObject_setRollingFriction:function(r,e){r|=0,e=B(e),v[r+236>>2]=e,b[r+304>>2]=b[r+304>>2]+1},btCollisionObject_getCollisionFlags:function(r){return b[(r|=0)+204>>2]},btCollisionObject_setCollisionFlags:function(r,e){e|=0,b[(r|=0)+204>>2]=e},btCollisionObject_getWorldTransform:pi,btCollisionObject_setWorldTransform:function(r,e){e|=0;var i=0,a=0,f=0;b[(r|=0)+304>>2]=b[r+304>>2]+1,f=b[(a=e+8|0)+4>>2],b[(i=r+12|0)>>2]=b[a>>2],b[i+4>>2]=f,i=b[e+4>>2],b[r+4>>2]=b[e>>2],b[r+8>>2]=i,f=b[(a=e+24|0)+4>>2],b[(i=r+28|0)>>2]=b[a>>2],b[i+4>>2]=f,a=b[e+20>>2],b[(i=r+20|0)>>2]=b[e+16>>2],b[i+4>>2]=a,f=b[(a=e+40|0)+4>>2],b[(i=r+44|0)>>2]=b[a>>2],b[i+4>>2]=f,a=b[e+36>>2],b[(i=r+36|0)>>2]=b[e+32>>2],b[i+4>>2]=a,f=b[(a=e+56|0)+4>>2],b[(i=r+60|0)>>2]=b[a>>2],b[i+4>>2]=f,i=b[e+52>>2],b[(r=r+52|0)>>2]=b[e+48>>2],b[r+4>>2]=i},btCollisionObject_setInterpolationWorldTransform:function(r,e){e|=0;var i=0,a=0,f=0;b[(r|=0)+304>>2]=b[r+304>>2]+1,f=b[(a=e+8|0)+4>>2],b[(i=r+76|0)>>2]=b[a>>2],b[i+4>>2]=f,i=b[e+4>>2],b[r+68>>2]=b[e>>2],b[r+72>>2]=i,f=b[(a=e+24|0)+4>>2],b[(i=r+92|0)>>2]=b[a>>2],b[i+4>>2]=f,a=b[e+20>>2],b[(i=r+84|0)>>2]=b[e+16>>2],b[i+4>>2]=a,f=b[(a=e+40|0)+4>>2],b[(i=r+108|0)>>2]=b[a>>2],b[i+4>>2]=f,a=b[e+36>>2],b[(i=r+100|0)>>2]=b[e+32>>2],b[i+4>>2]=a,f=b[(a=e+56|0)+4>>2],b[(i=r+124|0)>>2]=b[a>>2],b[i+4>>2]=f,i=b[e+52>>2],b[(r=r+116|0)>>2]=b[e+48>>2],b[r+4>>2]=i},btCollisionObject_setCollisionShape:function(r,e){e|=0,BA[b[b[(r|=0)>>2]+8>>2]](r,e)},btCollisionObject_getCcdMotionThreshold:function(r){return B(v[(r|=0)+276>>2])},btCollisionObject_setCcdMotionThreshold:function(r,e){r|=0,e=B(e),v[r+276>>2]=e},btCollisionObject_getCcdSweptSphereRadius:function(r){return B(v[(r|=0)+272>>2])},btCollisionObject_setCcdSweptSphereRadius:function(r,e){r|=0,e=B(e),v[r+272>>2]=e},btCollisionObject_getUserIndex:function(r){return b[(r|=0)+264>>2]},btCollisionObject_setUserIndex:function(r,e){e|=0,b[(r|=0)+264>>2]=e},btCollisionObject_getActivationState:function(r){return b[(r|=0)+220>>2]},btCollisionObject_setInterpolationAngularVelocity:function(r,e){e|=0;var i,a,f=0;b[(r|=0)+304>>2]=b[r+304>>2]+1,a=b[(i=e+8|0)+4>>2],b[(f=r+156|0)>>2]=b[i>>2],b[f+4>>2]=a,f=b[e+4>>2],b[r+148>>2]=b[e>>2],b[r+152>>2]=f},btCollisionObject_setInterpolationLinearVelocity:function(r,e){e|=0;var i,a,f=0;b[(r|=0)+304>>2]=b[r+304>>2]+1,a=b[(i=e+8|0)+4>>2],b[(f=r+140|0)>>2]=b[i>>2],b[f+4>>2]=a,f=b[e+4>>2],b[r+132>>2]=b[e>>2],b[r+136>>2]=f},btCollisionObject_destroy:bf,RayResultCallback_hasHit:function(r){return 0!=b[(r|=0)+8>>2]|0},RayResultCallback_set_m_collisionFilterGroup:of,RayResultCallback_set_m_collisionFilterMask:function(r,e){e|=0,b[(r|=0)+16>>2]=e},RayResultCallback_get_m_closestHitFraction:af,RayResultCallback_set_m_closestHitFraction:kf,RayResultCallback_get_m_collisionObject:hi,RayResultCallback_set_m_collisionObject:cf,ClosestRayResultCallback_create:function(r,e){r|=0,e|=0;var i,a,f,n=0;return i=AA(88),b[i+20>>2]=0,b[i+12>>2]=1,b[i+16>>2]=-1,b[i+4>>2]=1065353216,b[i+8>>2]=0,b[i>>2]=24248,f=b[(a=r+8|0)+4>>2],b[(n=i+32|0)>>2]=b[a>>2],b[n+4>>2]=f,n=b[r+4>>2],b[i+24>>2]=b[r>>2],b[i+28>>2]=n,r=b[e+4>>2],b[i+40>>2]=b[e>>2],b[i+44>>2]=r,n=b[(e=e+8|0)+4>>2],b[(r=i+48|0)>>2]=b[e>>2],b[r+4>>2]=n,0|i},ClosestRayResultCallback_get_m_rayFromWorld:uf,ClosestRayResultCallback_set_m_rayFromWorld:function(r,e){r|=0;var i=0;i=b[(e|=0)+4>>2],b[r+24>>2]=b[e>>2],b[r+28>>2]=i,i=b[(e=e+8|0)+4>>2],b[(r=r+32|0)>>2]=b[e>>2],b[r+4>>2]=i},ClosestRayResultCallback_get_m_rayToWorld:function(r){return(r|=0)+40|0},ClosestRayResultCallback_set_m_rayToWorld:function(r,e){r|=0;var i=0;i=b[(e|=0)+4>>2],b[r+40>>2]=b[e>>2],b[r+44>>2]=i,i=b[(e=e+8|0)+4>>2],b[(r=r+48|0)>>2]=b[e>>2],b[r+4>>2]=i},ClosestRayResultCallback_get_m_hitNormalWorld:$r,ClosestRayResultCallback_get_m_hitPointWorld:Lr,tBtCollisionObjectArray_size:function(r){return b[(r|=0)+4>>2]},tBtCollisionObjectArray_at:function(r,e){return e|=0,b[b[(r|=0)+12>>2]+(e<<2)>>2]},tBtCollisionObjectArray_clear:lf,tVector3Array_at:function(r,e){return e|=0,b[(r|=0)+12>>2]+(e<<4)|0},tVector3Array_clear:lf,tScalarArray_at:function(r,e){return e|=0,B(v[b[(r|=0)+12>>2]+(e<<2)>>2])},tScalarArray_clear:lf,AllHitsRayResultCallback_create:function(r,e){r|=0,e|=0;var i,a,n=0,t=0;return i=AA(136),b[i+28>>2]=0,b[i+32>>2]=0,b[i+20>>2]=0,b[i+12>>2]=1,b[i+16>>2]=-1,b[i+4>>2]=1065353216,b[i+8>>2]=0,f[i+40|0]=1,b[i>>2]=24380,b[i+36>>2]=0,n=b[(t=r+8|0)+4>>2],b[(a=i+52|0)>>2]=b[t>>2],b[a+4>>2]=n,n=b[r+4>>2],b[i+44>>2]=b[r>>2],b[i+48>>2]=n,r=b[(n=e+8|0)+4>>2],b[(t=i+68|0)>>2]=b[n>>2],b[t+4>>2]=r,r=b[e+4>>2],b[i+60>>2]=b[e>>2],b[i+64>>2]=r,f[i+92|0]=1,b[i+88>>2]=0,f[i+112|0]=1,b[i+80>>2]=0,b[i+84>>2]=0,f[i+132|0]=1,b[i+108>>2]=0,b[i+100>>2]=0,b[i+104>>2]=0,b[i+128>>2]=0,b[i+120>>2]=0,b[i+124>>2]=0,0|i},AllHitsRayResultCallback_get_m_rayFromWorld:function(r){return(r|=0)+44|0},AllHitsRayResultCallback_set_m_rayFromWorld:function(r,e){r|=0;var i=0;i=b[(e|=0)+4>>2],b[r+44>>2]=b[e>>2],b[r+48>>2]=i,i=b[(e=e+8|0)+4>>2],b[(r=r+52|0)>>2]=b[e>>2],b[r+4>>2]=i},AllHitsRayResultCallback_get_m_rayToWorld:function(r){return(r|=0)+60|0},AllHitsRayResultCallback_set_m_rayToWorld:function(r,e){r|=0;var i=0;i=b[(e|=0)+4>>2],b[r+60>>2]=b[e>>2],b[r+64>>2]=i,i=b[(e=e+8|0)+4>>2],b[(r=r+68|0)>>2]=b[e>>2],b[r+4>>2]=i},AllHitsRayResultCallback_get_m_hitPointWorld:function(r){return(r|=0)+96|0},AllHitsRayResultCallback_get_m_hitNormalWorld:function(r){return(r|=0)+76|0},AllHitsRayResultCallback_get_m_collisionObjects:uf,AllHitsRayResultCallback_get_m_hitFractions:function(r){return(r|=0)+116|0},btManifoldPoint_get_m_positionWorldOnA:nf,btManifoldPoint_get_m_positionWorldOnB:sf,btManifoldPoint_get_m_normalWorldOnB:df,btManifoldPoint_getDistance:function(r){return B(v[(r|=0)+80>>2])},ConvexResultCallback_hasHit:function(r){return v[(r|=0)+4>>2]>2]=-1,b[i+4>>2]=1065353216,b[i+8>>2]=1,b[i>>2]=24464,a=b[(n=r+8|0)+4>>2],b[(f=i+24|0)>>2]=b[n>>2],b[f+4>>2]=a,f=b[r+4>>2],b[i+16>>2]=b[r>>2],b[i+20>>2]=f,n=b[(f=e+8|0)+4>>2],b[(r=i+40|0)>>2]=b[f>>2],b[r+4>>2]=n,r=b[e+4>>2],b[i+32>>2]=b[e>>2],b[i+36>>2]=r,b[i+80>>2]=0,0|i},ClosestConvexResultCallback_get_m_hitNormalWorld:nf,ClosestConvexResultCallback_get_m_hitPointWorld:df,ClosestConvexResultCallback_get_m_hitCollisionObject:function(r){return b[(r|=0)+80>>2]},ClosestConvexResultCallback_set_m_hitCollisionObject:function(r,e){e|=0,b[(r|=0)+80>>2]=e},AllConvexResultCallback_create:function(r,e){r|=0,e|=0;var i,a,n=0,t=0;return i=AA(128),b[i+20>>2]=0,b[i+24>>2]=0,b[i+12>>2]=-1,b[i+4>>2]=1065353216,b[i+8>>2]=1,f[i+32|0]=1,b[i>>2]=24604,b[i+28>>2]=0,a=b[(t=r+8|0)+4>>2],b[(n=i+44|0)>>2]=b[t>>2],b[n+4>>2]=a,n=b[r+4>>2],b[i+36>>2]=b[r>>2],b[i+40>>2]=n,t=b[(n=e+8|0)+4>>2],b[(r=i+60|0)>>2]=b[n>>2],b[r+4>>2]=t,r=b[e+4>>2],b[i+52>>2]=b[e>>2],b[i+56>>2]=r,f[i+84|0]=1,b[i+80>>2]=0,f[i+104|0]=1,b[i+72>>2]=0,b[i+76>>2]=0,b[i+100>>2]=0,f[i+124|0]=1,b[i+92>>2]=0,b[i+96>>2]=0,b[i+120>>2]=0,b[i+112>>2]=0,b[i+116>>2]=0,0|i},AllConvexResultCallback_get_m_hitNormalWorld:function(r){return(r|=0)+68|0},AllConvexResultCallback_get_m_hitPointWorld:function(r){return(r|=0)+88|0},AllConvexResultCallback_get_m_hitFractions:function(r){return(r|=0)+108|0},AllConvexResultCallback_get_m_collisionObjects:yr,btCollisionShape_getLocalScaling:function(r){return 0|BA[b[b[(r|=0)>>2]+28>>2]](r)},btCollisionShape_setLocalScaling:function(r,e){e|=0,BA[b[b[(r|=0)>>2]+24>>2]](r,e)},btCollisionShape_calculateLocalInertia:function(r,e,i){r|=0,e=B(e),i|=0,BA[b[b[r>>2]+32>>2]](r,e,i)},btCollisionShape_destroy:bf,btBoxShape_create:function(r){var e;return r|=0,function(r,e){var i=B(0),a=B(0),f=B(0),n=B(0);LA(r),i=v[e>>2],f=v[e+4>>2],a=v[e+8>>2],b[r+44>>2]=0,n=B(a*v[r+24>>2]),a=v[r+48>>2],v[r+40>>2]=n-a,v[r+36>>2]=B(f*v[r+20>>2])-a,v[r+32>>2]=B(i*v[r+16>>2])-a,b[r+4>>2]=0,b[r>>2]=9116,i=v[e>>2],f=v[e+8>>2],n=v[e+4>>2],(i=B(v[((i>2]*B(.10000000149011612)))>2]=e,b[r>>2]=6116,b[r+56>>2]=1,b[r+4>>2]=10,b[r+44>>2]=0,v[r+40>>2]=e,v[r+36>>2]=i*B(.5),v[r+32>>2]=e}(i=CA(60,16),r,e),0|i},btCapsuleShapeX_create:function(r,e){var i;return r=B(r),e=B(e),function(r,e,i){ZA(r),b[r+56>>2]=0,v[r+48>>2]=e,b[r>>2]=6216,b[r+4>>2]=10,b[r+44>>2]=0,v[r+40>>2]=e,v[r+36>>2]=e,v[r+32>>2]=i*B(.5)}(i=CA(60,16),r,e),0|i},btCapsuleShapeZ_create:function(r,e){var i;return r=B(r),e=B(e),function(r,e,i){ZA(r),b[r+56>>2]=2,v[r+48>>2]=e,b[r>>2]=6316,b[r+4>>2]=10,b[r+44>>2]=0,v[r+40>>2]=i*B(.5),v[r+36>>2]=e,v[r+32>>2]=e}(i=CA(60,16),r,e),0|i},btCylinderShape_create:function(r){var e;return r|=0,function(r,e){var i=B(0),a=B(0),f=B(0),n=B(0);ZA(r),i=v[e>>2],f=v[e+4>>2],a=v[e+8>>2],b[r+44>>2]=0,n=B(a*v[r+24>>2]),a=v[r+48>>2],v[r+40>>2]=n-a,v[r+36>>2]=B(f*v[r+20>>2])-a,v[r+32>>2]=B(i*v[r+16>>2])-a,b[r+56>>2]=1,b[r>>2]=9452,i=v[e>>2],f=v[e+8>>2],n=v[e+4>>2],(i=B(v[((i>2]*B(.10000000149011612)))>2]=13}(e=CA(60,16),r),0|e},btCylinderShapeX_create:function(r){var e;return r|=0,function(r,e){var i=B(0),a=B(0),f=B(0),n=B(0);ZA(r),i=v[e>>2],f=v[e+4>>2],a=v[e+8>>2],b[r+44>>2]=0,n=B(a*v[r+24>>2]),a=v[r+48>>2],v[r+40>>2]=n-a,v[r+36>>2]=B(f*v[r+20>>2])-a,v[r+32>>2]=B(i*v[r+16>>2])-a,b[r+56>>2]=1,b[r>>2]=9452,i=v[e>>2],f=v[e+8>>2],n=v[e+4>>2],(i=B(v[((i>2]*B(.10000000149011612)))>2]=9556,b[r+4>>2]=13,b[r+56>>2]=0}(e=CA(60,16),r),0|e},btCylinderShapeZ_create:function(r){var e;return r|=0,function(r,e){var i=B(0),a=B(0),f=B(0),n=B(0);ZA(r),i=v[e>>2],f=v[e+4>>2],a=v[e+8>>2],b[r+44>>2]=0,n=B(a*v[r+24>>2]),a=v[r+48>>2],v[r+40>>2]=n-a,v[r+36>>2]=B(f*v[r+20>>2])-a,v[r+32>>2]=B(i*v[r+16>>2])-a,b[r+56>>2]=1,b[r>>2]=9452,i=v[e>>2],f=v[e+8>>2],n=v[e+4>>2],(i=B(v[((i>2]*B(.10000000149011612)))>2]=9660,b[r+4>>2]=13,b[r+56>>2]=2}(e=CA(60,16),r),0|e},btSphereShape_create:function(r){var e,i;return r=B(r),ZA(e=CA(56,16)),b[e+28>>2]=0,b[e+32>>2]=0,b[e+24>>2]=1065353216,b[e+16>>2]=1065353216,b[e+20>>2]=1065353216,b[e+4>>2]=8,b[e>>2]=9912,b[e+44>>2]=0,b[(i=e+36|0)>>2]=0,b[i+4>>2]=0,b[e+52>>2]=0,v[e+48>>2]=r,v[e+32>>2]=r,0|e},btConeShape_create:function(r,e){var i;return r=B(r),e=B(e),function(r,e,i){ZA(r),v[r+64>>2]=i,v[r+60>>2]=e,b[r>>2]=6564,b[r+76>>2]=2,b[r+68>>2]=0,b[r+72>>2]=1,b[r+4>>2]=11,v[r+40>>2]=e,v[r+36>>2]=i,v[r+32>>2]=e,v[r+56>>2]=e/B(p(B(B(e*e)+B(i*i))))}(i=CA(80,16),r,e),0|i},btConeShapeX_create:function(r,e){var i;return r=B(r),e=B(e),function(r,e,i){ZA(r),v[r+64>>2]=i,v[r+60>>2]=e,b[r+4>>2]=11,b[r+76>>2]=2,b[r+68>>2]=1,b[r+72>>2]=0,b[r>>2]=6764,v[r+36>>2]=e,v[r+40>>2]=e,v[r+32>>2]=i,v[r+56>>2]=e/B(p(B(B(e*e)+B(i*i))))}(i=CA(80,16),r,e),0|i},btConeShapeZ_create:function(r,e){var i;return r=B(r),e=B(e),function(r,e,i){ZA(r),v[r+64>>2]=i,v[r+60>>2]=e,b[r+4>>2]=11,b[r+76>>2]=1,b[r+68>>2]=0,b[r+72>>2]=2,b[r>>2]=6664,v[r+40>>2]=i,v[r+32>>2]=e,v[r+36>>2]=e,v[r+56>>2]=e/B(p(B(B(e*e)+B(i*i))))}(i=CA(80,16),r,e),0|i},btStaticPlaneShape_create:function(r,e){var i;return r|=0,e=B(e),function(r,e,i){var a,f=B(0),n=B(0),t=B(0);Pr(r),b[r>>2]=10472,f=v[e+8>>2],n=v[e>>2],t=v[e+4>>2],e=b[e+12>>2],b[(a=r+80|0)>>2]=1065353216,b[a+4>>2]=0,b[r+72>>2]=1065353216,b[r+76>>2]=1065353216,v[r+68>>2]=i,b[r- -64>>2]=e,b[r+4>>2]=28,i=B(B(1)/B(p(B(B(B(n*n)+B(t*t))+B(f*f))))),v[r+60>>2]=f*i,v[r+56>>2]=t*i,v[r+52>>2]=n*i}(i=CA(88,16),r,e),0|i},btGImpactShapeInterface_updateBound:function(r){C[(r|=0)+52|0]&&(BA[b[b[r>>2]+68>>2]](r),f[r+52|0]=0)},btGImpactMeshShape_create:function(r){var e;return r|=0,function(r,e){var i,a,n,t=0,g=0,d=0,v=0,_=0,R=0,B=0;if(Pr(r),b[(t=r- -64|0)>>2]=1065353216,b[t+4>>2]=0,b[r+56>>2]=1065353216,b[r+60>>2]=1065353216,b[(t=r+36|0)>>2]=-8388609,b[t+4>>2]=-8388609,b[r+20>>2]=2139095039,b[r+24>>2]=2139095039,b[r>>2]=10880,b[r+88>>2]=0,f[r+92|0]=1,b[(t=r+80|0)>>2]=0,b[t+4>>2]=0,b[r+144>>2]=0,b[r+72>>2]=0,f[r+52|0]=1,b[r+44>>2]=-8388609,b[r+28>>2]=2139095039,b[r+4>>2]=25,f[0|(n=r+168|0)]=1,b[(i=r+164|0)>>2]=0,b[(t=a=r+156|0)>>2]=0,b[t+4>>2]=0,b[r+148>>2]=e,(0|BA[b[b[e>>2]+28>>2]](e))>=1)for(R=r+160|0;;){if(Kr(B=CA(216,16),e,v),(0|(r=b[a>>2]))==b[R>>2]&&!((0|r)>=(0|(g=r?r<<1:1)))){A:{r:{if(g){if(_=CA(g<<2,16),(0|(r=b[a>>2]))>=1)break r;break A}if(_=0,(0|r)<1)break A}for(d=0,t=r;b[d+_>>2]=b[b[i>>2]+d>>2],d=d+4|0,t=t+-1|0;);}(t=b[i>>2])&&(C[0|n]&&(gA(t),r=b[a>>2]),b[i>>2]=0),b[i>>2]=_,f[0|n]=1,b[R>>2]=g}if(b[a>>2]=r+1,b[b[i>>2]+(r<<2)>>2]=B,!((0|(v=v+1|0))<(0|BA[b[b[e>>2]+28>>2]](e))))break}}(e=CA(172,16),r),0|e},btCompoundShape_create:function(){var r;return function(r){var e=0,i=0,a=0,n=0,t=0,g=0,d=0;if(b[r+12>>2]=-1,b[r+4>>2]=31,b[r+8>>2]=0,b[r>>2]=14280,b[r+76>>2]=0,b[r+80>>2]=1065353216,b[r+68>>2]=0,b[r+72>>2]=1,b[r+52>>2]=-581039253,b[r+56>>2]=-581039253,b[r+36>>2]=1566444395,b[r+40>>2]=1566444395,f[r+32|0]=1,b[r+28>>2]=0,b[r+92>>2]=0,b[(e=r+84|0)>>2]=1065353216,b[e+4>>2]=1065353216,b[(e=r+60|0)>>2]=-581039253,b[e+4>>2]=0,b[(e=r+44|0)>>2]=1566444395,b[e+4>>2]=0,b[(e=r+20|0)>>2]=0,b[e+4>>2]=0,ie(e=CA(40,16)),b[r+68>>2]=e,b[r+24>>2]<0){if((0|(g=b[r+20>>2]))>=1)for(e=64,d=r+28|0;t=b[d>>2]+e|0,n=b[(i=t+-56|0)+4>>2],b[(a=e+-56|0)>>2]=b[i>>2],b[a+4>>2]=n,n=b[(i=t+-64|0)+4>>2],b[(a=e+-64|0)>>2]=b[i>>2],b[a+4>>2]=n,n=b[(i=t+-40|0)+4>>2],b[(a=e+-40|0)>>2]=b[i>>2],b[a+4>>2]=n,n=b[(i=t+-48|0)+4>>2],b[(a=e+-48|0)>>2]=b[i>>2],b[a+4>>2]=n,n=b[(i=t+-24|0)+4>>2],b[(a=e+-24|0)>>2]=b[i>>2],b[a+4>>2]=n,n=b[(i=t+-32|0)+4>>2],b[(a=e+-32|0)>>2]=b[i>>2],b[a+4>>2]=n,n=b[(i=t+-8|0)+4>>2],b[(a=e+-8|0)>>2]=b[i>>2],b[a+4>>2]=n,n=b[(i=t+-16|0)+4>>2],b[(a=e+-16|0)>>2]=b[i>>2],b[a+4>>2]=n,i=b[t+4>>2],b[e>>2]=b[t>>2],b[e+4>>2]=i,i=b[(t=t+8|0)+4>>2],b[(n=e+8|0)>>2]=b[t>>2],b[n+4>>2]=i,e=e+80|0,g=g+-1|0;);(t=b[(e=r+28|0)>>2])&&(C[r+32|0]&&gA(t),b[r+28>>2]=0),b[e>>2]=0,f[r+32|0]=1,b[r+24>>2]=0}}(r=CA(96,16)),0|r},btCompoundShape_addChildShape:function(r,e,i){(function(r,e,i){var a,n=0,t=B(0),g=0,d=0,_=0,m=B(0),h=0;N=a=N-144|0,b[r+72>>2]=b[r+72>>2]+1,d=b[(g=e+8|0)+4>>2],b[(n=a+72|0)>>2]=b[g>>2],b[n+4>>2]=d,d=b[(g=e+24|0)+4>>2],b[(n=a+88|0)>>2]=b[g>>2],b[n+4>>2]=d,d=b[(g=e+40|0)+4>>2],b[(n=a+104|0)>>2]=b[g>>2],b[n+4>>2]=d,d=b[(g=e+56|0)+4>>2],b[(n=a+120|0)>>2]=b[g>>2],b[n+4>>2]=d,b[a+140>>2]=0,b[a+128>>2]=i,n=b[e+4>>2],b[a+64>>2]=b[e>>2],b[a+68>>2]=n,n=b[e+20>>2],b[a+80>>2]=b[e+16>>2],b[a+84>>2]=n,n=b[e+36>>2],b[a+96>>2]=b[e+32>>2],b[a+100>>2]=n,n=b[e+52>>2],b[a+112>>2]=b[e+48>>2],b[a+116>>2]=n,b[a+132>>2]=b[i+4>>2],_=a,m=B(BA[b[b[i>>2]+48>>2]](i)),v[_+136>>2]=m,BA[b[b[i>>2]+8>>2]](i,e,a+48|0,a+32|0),t=v[a+48>>2],v[r+36>>2]>t&&(v[r+36>>2]=t),t=v[a+32>>2],v[r+52>>2]>2]=t),e=r+40|0,t=v[a+52>>2],v[e>>2]>t&&(v[e>>2]=t),e=r+56|0,t=v[a+36>>2],v[e>>2]>2]=t),e=r+44|0,t=v[a+56>>2],v[e>>2]>t&&(v[e>>2]=t),e=r+60|0,t=v[a+40>>2],v[e>>2]>2]=t),(e=b[r+68>>2])&&(g=b[(n=a+56|0)+4>>2],b[(i=a+8|0)>>2]=b[n>>2],b[i+4>>2]=g,g=b[(n=a+40|0)+4>>2],b[(i=a+24|0)>>2]=b[n>>2],b[i+4>>2]=g,i=b[a+52>>2],b[a>>2]=b[a+48>>2],b[a+4>>2]=i,i=b[a+36>>2],b[a+16>>2]=b[a+32>>2],b[a+20>>2]=i,_=a+140|0,h=ke(e,a,b[r+20>>2]),b[_>>2]=h),function(r,e){var i=0,a=0,n=0,t=0,g=0,d=0,v=0,_=0,B=0,m=0;if((0|(n=b[r+4>>2]))==b[r+8>>2]&&!((0|n)>=(0|(_=n?n<<1:1)))){A:{r:{if(_){if(B=CA(R(_,80),16),(0|(n=b[r+4>>2]))>=1)break r;break A}if((0|n)<1)break A}for(v=64,m=r+12|0;i=b[m>>2]+v|0,d=b[(g=i+-56|0)+4>>2],b[(t=(a=v+B|0)+-56|0)>>2]=b[g>>2],b[t+4>>2]=d,d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2]=b[n>>2],b[i+4>>2]=v,i=b[e+68>>2],b[a+64>>2]=b[e+64>>2],b[a+68>>2]=i,b[(r=r+4|0)>>2]=b[r>>2]+1}(r+16|0,a- -64|0),N=a+144|0})(r|=0,e|=0,i|=0)},btCompoundShape_removeChildShapeByIndex:function(r,e){me(r|=0,e|=0)},btCompoundShape_getChildShape:function(r,e){return e|=0,b[64+(b[(r|=0)+28>>2]+R(e,80)|0)>>2]},btCompoundShape_updateChildTransform:function(r,e,i,a){(function(r,e,i,a){var f,n,t,C=0,g=0,d=0;N=f=N+-64|0,g=b[i+4>>2],e=(n=R(e,80))+b[(t=r+28|0)>>2]|0,b[e>>2]=b[i>>2],b[e+4>>2]=g,d=b[(g=i+8|0)+4>>2],b[(C=e+8|0)>>2]=b[g>>2],b[C+4>>2]=d,d=b[(g=i+24|0)+4>>2],b[(C=e+24|0)>>2]=b[g>>2],b[C+4>>2]=d,C=b[i+20>>2],b[e+16>>2]=b[i+16>>2],b[e+20>>2]=C,d=b[(g=i+40|0)+4>>2],b[(C=e+40|0)>>2]=b[g>>2],b[C+4>>2]=d,C=b[i+36>>2],b[e+32>>2]=b[i+32>>2],b[e+36>>2]=C,d=b[(g=i+56|0)+4>>2],b[(C=e+56|0)>>2]=b[g>>2],b[C+4>>2]=d,C=b[i+52>>2],b[e+48>>2]=b[i+48>>2],b[e+52>>2]=C,b[r+68>>2]&&(e=b[64+(b[t>>2]+n|0)>>2],BA[b[b[e>>2]+8>>2]](e,i,f+48|0,f+32|0),C=b[(i=f+40|0)+4>>2],b[(e=f+24|0)>>2]=b[i>>2],b[e+4>>2]=C,C=b[(i=f+56|0)+4>>2],b[(e=f+8|0)>>2]=b[i>>2],b[e+4>>2]=C,e=b[f+36>>2],b[f+16>>2]=b[f+32>>2],b[f+20>>2]=e,e=b[f+52>>2],b[f>>2]=b[f+48>>2],b[f+4>>2]=e,ce(b[r+68>>2],b[76+(b[t>>2]+n|0)>>2],f)),a&&BA[b[b[r>>2]+68>>2]](r),N=f- -64|0})(r|=0,e|=0,i|=0,a|=0)},btStridingMeshInterface_destroy:bf,btTriangleMesh_create:function(){var r;return function(r){var e,i=0,a=0,n=0,t=0,g=0,d=0,v=0,_=0;if(b[r+4>>2]=1065353216,b[r+8>>2]=1065353216,b[r+48>>2]=0,b[r>>2]=14740,f[r+36|0]=1,b[(i=r+12|0)>>2]=1065353216,b[i+4>>2]=0,b[(e=r+32|0)>>2]=0,b[(i=r+24|0)>>2]=0,b[i+4>>2]=0,f[r+100|0]=1,b[r+96>>2]=0,f[r+120|0]=1,b[(a=r+88|0)>>2]=0,b[a+4>>2]=0,b[r+116>>2]=0,f[r+140|0]=1,b[(a=r+108|0)>>2]=0,b[a+4>>2]=0,b[r+136>>2]=0,f[r+160|0]=1,b[(a=r+128|0)>>2]=0,b[a+4>>2]=0,f[r+165|0]=1,b[r+156>>2]=0,f[r+164|0]=1,b[r+168>>2]=0,b[(a=r+148|0)>>2]=0,b[a+4>>2]=0,a=CA(32,16),(0|(v=b[i>>2]))>=1)for(;i=b[e>>2]+n|0,g=b[i+4>>2],b[(t=a+n|0)>>2]=b[i>>2],b[t+4>>2]=g,_=b[(g=i+24|0)+4>>2],b[(d=t+24|0)>>2]=b[g>>2],b[d+4>>2]=_,_=b[(g=i+16|0)+4>>2],b[(d=t+16|0)>>2]=b[g>>2],b[d+4>>2]=_,g=b[(i=i+8|0)+4>>2],b[(t=t+8|0)>>2]=b[i>>2],b[t+4>>2]=g,n=n+32|0,v=v+-1|0;);(n=b[e>>2])&&(C[r+36|0]&&gA(n),b[r+32>>2]=0),b[(t=r+32|0)>>2]=a,f[r+36|0]=1,b[r+28>>2]=1,n=a+(b[(i=r+24|0)>>2]<<5)|0,b[n+24>>2]=2,b[n+28>>2]=0,b[n+16>>2]=0,b[n+20>>2]=16,b[n+8>>2]=12,b[n+12>>2]=0,b[n>>2]=0,b[n+4>>2]=0,b[i>>2]=b[i>>2]+1,i=b[t>>2],b[i+4>>2]=0,a=C[r+164|0],b[i+24>>2]=a?2:3,t=b[(a?128:148)+r>>2],n=12,b[i+8>>2]=a?12:6,b[i>>2]=(0|t)/3,C[r+165|0]?(n=16,r=b[r+88>>2]):r=b[r+108>>2]/3|0,b[i+20>>2]=n,b[i+16>>2]=0,b[i+12>>2]=r}(r=CA(172,16)),0|r},btTriangleMesh_addTriangle:function(r,e,i,a,f){(function(r,e,i,a,f){var n;n=b[r+32>>2],b[n>>2]=b[n>>2]+1,ye(r,Qe(r,e,f)),ye(r,Qe(r,i,f)),ye(r,Qe(r,a,f))})(r|=0,e|=0,i|=0,a|=0,f|=0)},btDefaultCollisionConfiguration_create:function(){var r,e;return N=r=N-32|0,e=AA(88),b[r+24>>2]=0,b[r+28>>2]=1,b[r+16>>2]=4096,b[r+20>>2]=4096,b[r+8>>2]=0,b[r+12>>2]=0,function(r,e){var i=0,a=0,n=0,t=0,C=0,g=0;b[r>>2]=17728,i=b[e+20>>2],n=CA(4,16),b[r+24>>2]=n,b[n>>2]=i?14864:15072,function(r,e){b[r+12>>2]=0,b[r+16>>2]=3,b[r>>2]=15488,f[r+4|0]=0,b[r+8>>2]=e}(i=CA(20,16),b[r+24>>2]),b[r+28>>2]=i,i=CA(8,16),b[i>>2]=17844,f[i+4|0]=0,b[r+32>>2]=i,i=CA(8,16),b[i>>2]=17928,f[i+4|0]=0,b[r+36>>2]=i,i=CA(8,16),b[i>>2]=18020,f[i+4|0]=0,b[r+40>>2]=i,i=CA(8,16),b[i>>2]=18100,f[i+4|0]=0,b[r+44>>2]=i,i=CA(8,16),b[i>>2]=18188,f[i+4|0]=0,b[r+48>>2]=i,i=CA(8,16),b[i>>2]=18272,f[i+4|0]=0,b[r+52>>2]=i,i=CA(8,16),b[i>>2]=18340,f[i+4|0]=0,b[r+56>>2]=i,i=CA(8,16),b[i>>2]=18424,f[i+4|0]=0,b[r+72>>2]=i,i=CA(8,16),b[r+76>>2]=i,b[i>>2]=18424,f[i+4|0]=1,i=CA(8,16),b[i>>2]=18508,f[i+4|0]=0,b[r+68>>2]=i,i=CA(16,16),b[i+8>>2]=1,b[i+12>>2]=0,b[i>>2]=18584,f[i+4|0]=0,b[r+84>>2]=i,i=CA(16,16),b[i+8>>2]=1,b[i+12>>2]=0,b[i>>2]=18584,b[r+80>>2]=i,f[i+4|0]=1,t=b[e+16>>2];A:{r:{if(i=b[e>>2]){if(b[r+8>>2]=i,f[r+12|0]=0,!(i=b[e+4>>2]))break r;break A}if(f[r+12|0]=1,a=CA(24,16),b[a+20>>2]=0,b[a>>2]=804,i=b[e+8>>2],b[a+4>>2]=i,i=CA(R(i,804),16),b[a+12>>2]=i,b[a+16>>2]=i,n=b[a+4>>2],b[a+8>>2]=n,1==(0|n))n=i;else for(C=1-n|0,g=b[a>>2];n=i+g|0,b[i>>2]=n,i=n,C=C+1|0;);if(b[n>>2]=0,b[r+8>>2]=a,i=b[e+4>>2])break A}if(f[r+20|0]=1,a=CA(24,16),b[a+20>>2]=0,i=(0|(i=(0|t)>80?t:80))>116?i+16&-16:128,b[a>>2]=i,e=b[e+12>>2],b[a+4>>2]=e,i=CA(R(e,i),16),b[a+12>>2]=i,b[a+16>>2]=i,e=b[a+4>>2],b[a+8>>2]=e,1!=(0|e)){for(n=1-e|0,t=b[a>>2];e=i+t|0,b[i>>2]=e,i=e,n=n+1|0;);return b[e>>2]=0,void(b[r+16>>2]=a)}return b[i>>2]=0,void(b[r+16>>2]=a)}b[r+16>>2]=i,f[r+20|0]=0}(e,r+8|0),N=r+32|0,0|e},btDefaultCollisionConfiguration_destroy:bf,btPersistentManifold_getBody0:function(r){return b[(r|=0)+772>>2]},btPersistentManifold_getBody1:function(r){return b[(r|=0)+776>>2]},btPersistentManifold_getNumContacts:function(r){return b[(r|=0)+780>>2]},btPersistentManifold_getContactPoint:function(r,e){return r|=0,4+(R(e|=0,192)+r|0)|0},btDispatcher_getNumManifolds:vf,btDispatcher_getManifoldByIndexInternal:function(r,e){return e|=0,0|BA[b[b[(r|=0)>>2]+40>>2]](r,e)},btCollisionDispatcher_create:function(r){var e;return r|=0,function(r,e){var i,a=0,n=0,t=0,C=0,g=0;for(b[r+28>>2]=7780,b[r>>2]=7920,b[r+4>>2]=2,b[r+10444>>2]=e,b[r+64>>2]=113,f[r+24|0]=1,b[r+20>>2]=0,b[r+60>>2]=0,b[(a=r+12|0)>>2]=0,b[a+4>>2]=0,C=r,g=0|BA[b[b[e>>2]+12>>2]](e),b[C+68>>2]=g,C=r,g=0|BA[b[b[e>>2]+8>>2]](e),b[C+72>>2]=g,a=r+5260|0,i=r+10444|0;;){for(e=a,r=0;n=b[i>>2],C=e+-5184|0,g=0|BA[b[b[n>>2]+16>>2]](n,t,r),b[C>>2]=g,n=b[i>>2],C=e,g=0|BA[b[b[n>>2]+20>>2]](n,t,r),b[C>>2]=g,e=e+4|0,36!=(0|(r=r+1|0)););if(a=a+144|0,36==(0|(t=t+1|0)))break}}(e=AA(10448),r),0|e},btCollisionDispatcher_destroy:bf,btOverlappingPairCache_setInternalGhostPairCallback:Cf,btDbvtBroadphase_create:function(){var r;return function(r){var e,i=0,a=0,n=0,t=0,g=0,d=0,v=0;if(N=e=N-32|0,b[r>>2]=19188,ie(r+4|0),ie(r+44|0),b[r+168>>2]=0,f[r+172|0]=1,b[(i=a=r+160|0)>>2]=0,b[i+4>>2]=0,f[r+153|0]=256,f[r+154|0]=1,f[r+152|0]=1,b[r+124>>2]=0,b[r+100>>2]=0,b[r+104>>2]=0,b[r+136>>2]=0,b[r+128>>2]=0,b[r+132>>2]=0,b[r+116>>2]=10,b[r+120>>2]=1,b[r+108>>2]=1,b[r+112>>2]=0,yi(i=CA(72,16)),a=b[a>>2],b[r+148>>2]=0,b[r+96>>2]=i,b[r+140>>2]=0,b[r+144>>2]=0,b[r+92>>2]=0,b[(i=r+84|0)>>2]=0,b[i+4>>2]=0,b[e+20>>2]=0,f[e+24|0]=1,b[e+12>>2]=0,b[e+16>>2]=0,(0|a)>=2)for(n=a+-1|0,a=36,d=r+168|0;v=(i=b[d>>2]+a|0)+-12|0,(g=b[(t=i+-4|0)>>2])&&(C[0|i]&&gA(g),b[t>>2]=0),b[t>>2]=0,b[v>>2]=0,f[0|i]=1,b[i+-8>>2]=0,a=a+20|0,n=n+-1|0;);else if(1!=(0|a))for(function(r){var e=0,i=0,a=0,n=0,t=0,g=0,d=0,v=0;if(b[r+8>>2]<1){if(t=CA(20,16),!((0|(e=b[r+4>>2]))<1)){for(a=r+12|0;Wi(i+t|0,b[a>>2]+i|0),i=i+20|0,e=e+-1|0;);if(!((0|(a=b[r+4>>2]))<1))for(d=r+12|0,e=8;v=(i=b[d>>2]+e|0)+-4|0,(g=b[(n=i+4|0)>>2])&&(C[i+8|0]&&gA(g),b[n>>2]=0),b[v>>2]=0,b[n>>2]=0,b[i>>2]=0,f[i+8|0]=1,e=e+20|0,a=a+-1|0;);}(e=b[r+12>>2])&&(C[r+16|0]&&gA(e),b[r+12>>2]=0),f[r+16|0]=1,b[r+12>>2]=t,b[r+8>>2]=1}}(r+156|0),i=R(a,20),a=1-a|0,n=r+168|0;Wi(b[n>>2]+i|0,e+8|0),i=i+20|0,a=a+-1|0;);b[r+160>>2]=1,(r=b[e+20>>2])&&(C[e+24|0]&&gA(r),b[e+20>>2]=0),N=e+32|0}(r=AA(176)),0|r},btDbvtBroadphase_getOverlappingPairCache:vf,btDbvtBroadphase_destroy:bf,btRigidBodyConstructionInfo_create:function(r,e,i,a){var n,t;return r=B(r),e|=0,i|=0,a|=0,n=AA(144),b[n+72>>2]=i,b[n+4>>2]=e,v[n>>2]=r,e=b[(i=a+8|0)+4>>2],b[(t=n+84|0)>>2]=b[i>>2],b[t+4>>2]=e,e=b[a+4>>2],b[n+76>>2]=b[a>>2],b[n+80>>2]=e,b[n+136>>2]=1008981770,b[n+140>>2]=1008981770,b[n+128>>2]=1000593162,b[n+132>>2]=1008981770,f[n+124|0]=0,b[n+116>>2]=1061997773,b[n+120>>2]=1065353216,b[n+108>>2]=0,b[n+112>>2]=0,b[n+100>>2]=1056964608,b[n+104>>2]=0,b[n+92>>2]=0,b[n+96>>2]=0,b[n+8>>2]=1065353216,b[(e=n+20|0)>>2]=0,b[e+4>>2]=0,b[n+12>>2]=0,b[n+16>>2]=0,b[n+28>>2]=1065353216,b[(e=n+40|0)>>2]=0,b[e+4>>2]=0,b[n+32>>2]=0,b[n+36>>2]=0,b[n+48>>2]=1065353216,b[n+68>>2]=0,b[(e=n+60|0)>>2]=0,b[e+4>>2]=0,b[n+52>>2]=0,b[n+56>>2]=0,0|n},btRigidBodyConstructionInfo_destroy:function(r){(r|=0)&&rA(r)},btRigidBody_create:function(r){var e;return r|=0,function(r,e){var i;Er(r),f[r+560|0]=1,b[r>>2]=19556,b[r+556>>2]=0,b[(i=r+548|0)>>2]=0,b[i+4>>2]=0,function(r,e){var i,a,n=0,t=0,g=0,d=B(0),_=B(0),R=B(0),m=B(0),h=B(0),G=B(0),y=B(0),Q=B(0),p=B(0),D=0,w=B(0),Z=B(0),Y=B(0),W=B(0),F=B(0),E=B(0),j=B(0);N=i=N-16|0,b[r+472>>2]=0,b[r+476>>2]=0,b[r+372>>2]=0,b[r+376>>2]=0,b[r+604>>2]=1065353216,b[r+608>>2]=1065353216,b[r+408>>2]=1065353216,b[r+412>>2]=1065353216,b[(n=r+496|0)>>2]=0,b[n+4>>2]=0,b[(n=r+488|0)>>2]=0,b[n+4>>2]=0,b[(n=r+480|0)>>2]=0,b[n+4>>2]=0,b[(n=r+396|0)>>2]=0,b[n+4>>2]=0,b[(n=r+388|0)>>2]=0,b[n+4>>2]=0,b[(n=r+380|0)>>2]=0,b[n+4>>2]=0,b[(n=r+612|0)>>2]=1065353216,b[n+4>>2]=0,b[r+416>>2]=1065353216,b[r+452>>2]=0,b[(n=r+444|0)>>2]=0,b[n+4>>2]=0,b[(n=r+436|0)>>2]=0,b[n+4>>2]=0,b[(n=r+428|0)>>2]=0,b[n+4>>2]=0,b[(n=r+420|0)>>2]=0,b[n+4>>2]=0,b[r+252>>2]=2,_=v[e+92>>2],d=v[e+96>>2],v[i+8>>2]=d,v[i+12>>2]=_,b[i+4>>2]=0,b[i>>2]=1065353216,b[r+504>>2]=b[(_B(1)?i:i+12|0)>>2],b[i+4>>2]=0,b[i>>2]=1065353216,b[r+508>>2]=b[(dB(1)?i:i+8|0)>>2],b[r+668>>2]=0,b[r+672>>2]=0,n=b[e+120>>2],b[r+532>>2]=b[e+116>>2],b[r+536>>2]=n,t=b[e+4>>2],b[r+540>>2]=t,f[r+512|0]=C[e+124|0],n=b[e+132>>2],b[r+516>>2]=b[e+128>>2],b[r+520>>2]=n,n=b[e+140>>2],b[r+524>>2]=b[e+136>>2],b[r+528>>2]=n,t?(n=r+4|0,BA[b[b[t>>2]+8>>2]](t,n)):(n=b[e+12>>2],b[r+4>>2]=b[e+8>>2],b[r+8>>2]=n,g=b[(t=e+16|0)+4>>2],b[(n=r+12|0)>>2]=b[t>>2],b[n+4>>2]=g,g=b[(t=e+32|0)+4>>2],b[(n=r+28|0)>>2]=b[t>>2],b[n+4>>2]=g,g=b[(t=e+24|0)+4>>2],b[(n=r+20|0)>>2]=b[t>>2],b[n+4>>2]=g,g=b[(t=e+48|0)+4>>2],b[(n=r+44|0)>>2]=b[t>>2],b[n+4>>2]=g,g=b[(t=e+40|0)+4>>2],b[(n=r+36|0)>>2]=b[t>>2],b[n+4>>2]=g,g=b[(t=e+56|0)+4>>2],b[(n=r+52|0)>>2]=b[t>>2],b[n+4>>2]=g,g=b[(t=e- -64|0)+4>>2],b[(n=r+60|0)>>2]=b[t>>2],b[n+4>>2]=g,n=r+4|0),b[r+132>>2]=0,b[r+136>>2]=0,b[(t=r+156|0)>>2]=0,b[t+4>>2]=0,b[(t=r+148|0)>>2]=0,b[t+4>>2]=0,b[(t=r+140|0)>>2]=0,b[t+4>>2]=0,t=b[n+4>>2],b[r+68>>2]=b[n>>2],b[r+72>>2]=t,g=b[(n=n+8|0)+4>>2],b[(t=r+76|0)>>2]=b[n>>2],b[t+4>>2]=g,g=b[(t=r+20|0)+4>>2],b[(n=r+84|0)>>2]=b[t>>2],b[n+4>>2]=g,g=b[(t=r+28|0)+4>>2],b[(n=r+92|0)>>2]=b[t>>2],b[n+4>>2]=g,g=b[(t=r+36|0)+4>>2],b[(n=r+100|0)>>2]=b[t>>2],b[n+4>>2]=g,g=b[(t=r+44|0)+4>>2],b[(n=r+108|0)>>2]=b[t>>2],b[n+4>>2]=g,g=b[(t=r+52|0)+4>>2],b[(n=r+116|0)>>2]=b[t>>2],b[n+4>>2]=g,g=b[(t=r+60|0)+4>>2],b[(n=r+124|0)>>2]=b[t>>2],b[n+4>>2]=g,b[r+228>>2]=b[e+100>>2],b[r+236>>2]=b[e+104>>2],b[r+240>>2]=b[e+108>>2],b[r+232>>2]=b[e+112>>2],BA[b[b[r>>2]+8>>2]](r,b[e+72>>2]),n=b[703],b[r+568>>2]=n,b[703]=n+1,_=B(0),n=b[r+204>>2],(d=v[e>>2])!=B(0)?(b[r+204>>2]=-2&n,_=B(B(1)/d)):b[r+204>>2]=1|n,v[r+404>>2]=_,b[r+436>>2]=0,v[r+424>>2]=d*v[r+440>>2],v[r+432>>2]=d*v[r+448>>2],v[r+428>>2]=d*v[r+444>>2],d=v[e+80>>2],R=v[e+84>>2],w=v[e+76>>2],b[r+468>>2]=0,b[(e=r+632|0)>>2]=0,t=r+416|0,v[(n=r+628|0)>>2]=_*v[t>>2],a=r+412|0,v[(g=r+624|0)>>2]=_*v[a>>2],v[r+620>>2]=_*v[r+408>>2],Z=R!=B(0)?B(B(1)/R):B(0),v[r+464>>2]=Z,Y=d!=B(0)?B(B(1)/d):B(0),v[r+460>>2]=Y,W=w!=B(0)?B(B(1)/w):B(0),v[r+456>>2]=W,d=v[r+12>>2],R=v[r+8>>2],w=v[r+28>>2],F=v[r+20>>2],E=v[r+24>>2],y=v[r+44>>2],Q=v[r+36>>2],p=v[r+40>>2],j=v[r+4>>2],b[r+564>>2]=8,b[r+368>>2]=0,b[r+352>>2]=0,b[r+336>>2]=0,m=B(W*Q),h=B(Y*p),G=B(Z*y),v[r+364>>2]=B(B(Q*m)+B(p*h))+B(y*G),v[r+360>>2]=B(B(F*m)+B(E*h))+B(w*G),v[r+356>>2]=B(B(j*m)+B(R*h))+B(d*G),m=B(W*F),h=B(Y*E),G=B(Z*w),v[r+348>>2]=B(B(Q*m)+B(p*h))+B(y*G),v[r+344>>2]=B(B(F*m)+B(E*h))+B(w*G),v[r+340>>2]=B(B(j*m)+B(R*h))+B(d*G),m=Q,Q=B(W*j),h=p,p=B(Y*R),G=y,y=B(Z*d),v[r+332>>2]=B(B(m*Q)+B(h*p))+B(G*y),v[r+328>>2]=B(B(Q*F)+B(p*E))+B(y*w),v[r+324>>2]=B(B(j*Q)+B(R*p))+B(d*y),b[(D=r+596|0)>>2]=0,b[D+4>>2]=0,b[(D=r+588|0)>>2]=0,b[D+4>>2]=0,b[(D=r+580|0)>>2]=0,b[D+4>>2]=0,b[r+572>>2]=0,b[r+576>>2]=0,d=v[a>>2],R=v[r+408>>2],v[n>>2]=_*v[t>>2],v[g>>2]=_*d,v[r+620>>2]=_*R,b[r+664>>2]=0,b[(n=r+656|0)>>2]=0,b[n+4>>2]=0,b[(n=r+648|0)>>2]=0,b[n+4>>2]=0,b[(r=r+640|0)>>2]=0,b[r+4>>2]=0,b[e>>2]=0,b[e+4>>2]=0,N=i+16|0}(r,e)}(e=CA(676,16),r),0|e},btRigidBody_setCenterOfMassTransform:Hi,btRigidBody_setSleepingThresholds:function(r,e,i){r|=0,e=B(e),i=B(i),v[r+536>>2]=i,v[r+532>>2]=e},btRigidBody_getLinearSleepingThreshold:function(r){return B(v[(r|=0)+532>>2])},btRigidBody_getAngularSleepingThreshold:function(r){return B(v[(r|=0)+536>>2])},btRigidBody_setDamping:function(r,e,i){(function(r,e,i){var a;v[(a=N-16|0)+8>>2]=i,v[a+12>>2]=e,b[a+4>>2]=0,b[a>>2]=1065353216,b[r+504>>2]=b[(eB(1)?a:a+12|0)>>2],b[a+4>>2]=0,b[a>>2]=1065353216,b[r+508>>2]=b[(iB(1)?a:a+8|0)>>2]})(r|=0,e=B(e),i=B(i))},btRigidBody_setMassProps:function(r,e,i){(function(r,e,i){var a,f=B(0),n=B(0),t=B(0);a=b[r+204>>2],e!=B(0)?(b[r+204>>2]=-2&a,f=B(B(1)/e)):b[r+204>>2]=1|a,v[r+404>>2]=f,b[r+436>>2]=0,v[r+424>>2]=v[r+440>>2]*e,v[r+432>>2]=v[r+448>>2]*e,v[r+428>>2]=v[r+444>>2]*e,e=v[i>>2],n=v[i+4>>2],t=v[i+8>>2],b[r+468>>2]=0,b[r+632>>2]=0,v[r+628>>2]=f*v[r+416>>2],v[r+624>>2]=f*v[r+412>>2],v[r+620>>2]=v[r+408>>2]*f,v[r+464>>2]=t!=B(0)?B(B(1)/t):B(0),v[r+460>>2]=n!=B(0)?B(B(1)/n):B(0),v[r+456>>2]=e!=B(0)?B(B(1)/e):B(0)})(r|=0,e=B(e),i|=0)},btRigidBody_setLinearFactor:function(r,e){r|=0,e|=0;var i,a=0,f=B(0);a=b[e+4>>2],b[r+408>>2]=b[e>>2],b[r+412>>2]=a,i=b[(e=e+8|0)+4>>2],b[(a=r+416|0)>>2]=b[e>>2],b[a+4>>2]=i,b[r+632>>2]=0,f=v[r+404>>2],v[r+624>>2]=f*v[r+412>>2],v[r+620>>2]=f*v[r+408>>2],v[r+628>>2]=f*v[a>>2]},btRigidBody_applyTorque:function(r,e){r|=0,e|=0;var i=B(0),a=B(0);i=v[e+8>>2],a=v[e+4>>2],v[r+488>>2]=B(v[e>>2]*v[r+604>>2])+v[r+488>>2],v[(e=r+492|0)>>2]=B(a*v[r+608>>2])+v[e>>2],v[(e=r+496|0)>>2]=B(i*v[r+612>>2])+v[e>>2]},btRigidBody_applyForce:function(r,e,i){r|=0,e|=0,i|=0;var a=B(0),f=B(0),n=0,t=B(0),b=B(0),C=B(0),g=B(0),d=B(0),_=B(0);b=v[e+8>>2],a=v[e+4>>2],f=v[r+408>>2],v[r+472>>2]=B(v[e>>2]*f)+v[r+472>>2],n=r+476|0,C=a,a=v[r+412>>2],v[n>>2]=B(C*a)+v[n>>2],n=r+480|0,t=v[r+416>>2],v[n>>2]=B(b*t)+v[n>>2],_=v[e>>2],b=v[i>>2],g=v[i+4>>2],t=B(t*v[e+8>>2]),a=B(a*v[e+4>>2]),d=v[i+8>>2],v[r+488>>2]=B(B(B(g*t)-B(a*d))*v[r+604>>2])+v[r+488>>2],C=v[r+612>>2],e=r+492|0,f=B(f*_),v[e>>2]=B(B(B(d*f)-B(t*b))*v[r+608>>2])+v[e>>2],v[(r=r+496|0)>>2]=B(C*B(B(a*b)-B(f*g)))+v[r>>2]},btRigidBody_applyCentralForce:function(r,e){r|=0,e|=0;var i=B(0),a=B(0);i=v[e+8>>2],a=v[e+4>>2],v[r+472>>2]=B(v[e>>2]*v[r+408>>2])+v[r+472>>2],v[(e=r+476|0)>>2]=B(a*v[r+412>>2])+v[e>>2],v[(e=r+480|0)>>2]=B(i*v[r+416>>2])+v[e>>2]},btRigidBody_applyTorqueImpulse:function(r,e){r|=0,e|=0;var i=B(0),a=B(0),f=B(0);i=v[e>>2],a=v[e+4>>2],f=v[e+8>>2],v[r+388>>2]=B(B(B(B(v[r+324>>2]*i)+B(v[r+328>>2]*a))+B(v[r+332>>2]*f))*v[r+604>>2])+v[r+388>>2],v[(e=r+392|0)>>2]=B(B(B(B(i*v[r+340>>2])+B(a*v[r+344>>2]))+B(f*v[r+348>>2]))*v[r+608>>2])+v[e>>2],v[(e=r+396|0)>>2]=B(B(B(B(i*v[r+356>>2])+B(a*v[r+360>>2]))+B(f*v[r+364>>2]))*v[r+612>>2])+v[e>>2]},btRigidBody_applyImpulse:function(r,e,i){gf(r|=0,e|=0,i|=0)},btRigidBody_applyCentralImpulse:function(r,e){r|=0,e|=0;var i=B(0),a=B(0),f=B(0);a=v[e+8>>2],f=v[e+4>>2],i=v[r+404>>2],v[r+372>>2]=B(B(v[e>>2]*v[r+408>>2])*i)+v[r+372>>2],v[(e=r+376|0)>>2]=B(i*B(f*v[r+412>>2]))+v[e>>2],v[(e=r+380|0)>>2]=B(i*B(a*v[r+416>>2]))+v[e>>2]},btRigidBody_updateInertiaTensor:function(r){(function(r){var e=B(0),i=B(0),a=B(0),f=B(0),n=B(0),t=B(0),C=B(0),g=B(0),d=B(0),_=B(0),R=B(0),m=B(0),h=B(0),G=B(0),y=B(0);b[r+368>>2]=0,b[r+352>>2]=0,b[r+336>>2]=0,h=v[r+456>>2],e=v[r+36>>2],i=B(h*e),G=v[r+460>>2],a=v[r+40>>2],f=B(G*a),y=v[r+464>>2],n=v[r+44>>2],t=B(y*n),v[r+364>>2]=B(B(i*e)+B(f*a))+B(t*n),_=v[r+20>>2],R=v[r+24>>2],m=v[r+28>>2],v[r+360>>2]=B(B(i*_)+B(f*R))+B(t*m),C=i,i=v[r+4>>2],g=f,f=v[r+8>>2],d=t,t=v[r+12>>2],v[r+356>>2]=B(B(C*i)+B(g*f))+B(d*t),C=B(h*_),g=B(G*R),d=B(y*m),v[r+348>>2]=B(B(e*C)+B(a*g))+B(n*d),v[r+344>>2]=B(B(C*_)+B(g*R))+B(d*m),v[r+340>>2]=B(B(C*i)+B(g*f))+B(d*t),C=e,e=B(i*h),g=a,a=B(f*G),d=n,n=B(t*y),v[r+332>>2]=B(B(C*e)+B(g*a))+B(d*n),v[r+328>>2]=B(B(e*_)+B(a*R))+B(n*m),v[r+324>>2]=B(B(e*i)+B(a*f))+B(n*t)})(r|=0)},btRigidBody_getLinearVelocity:function(r){return(r|=0)+372|0},btRigidBody_getAngularVelocity:function(r){return(r|=0)+388|0},btRigidBody_setLinearVelocity:function(r,e){e|=0;var i,a,f=0;b[(r|=0)+304>>2]=b[r+304>>2]+1,a=b[(i=e+8|0)+4>>2],b[(f=r+380|0)>>2]=b[i>>2],b[f+4>>2]=a,f=b[e+4>>2],b[r+372>>2]=b[e>>2],b[r+376>>2]=f},btRigidBody_setAngularVelocity:function(r,e){e|=0;var i,a,f=0;b[(r|=0)+304>>2]=b[r+304>>2]+1,a=b[(i=e+8|0)+4>>2],b[(f=r+396|0)>>2]=b[i>>2],b[f+4>>2]=a,f=b[e+4>>2],b[r+388>>2]=b[e>>2],b[r+392>>2]=f},btRigidBody_setAngularFactor:function(r,e){e|=0;var i,a,f=0;b[(r|=0)+304>>2]=b[r+304>>2]+1,a=b[(i=e+8|0)+4>>2],b[(f=r+612|0)>>2]=b[i>>2],b[f+4>>2]=a,f=b[e+4>>2],b[r+604>>2]=b[e>>2],b[r+608>>2]=f},btRigidBody_getGravity:function(r){return(r|=0)+440|0},btRigidBody_setGravity:function(r,e){Ui(r|=0,e|=0)},btRigidBody_getTotalForce:function(r){return(r|=0)+472|0},btRigidBody_getTotalTorque:function(r){return(r|=0)+488|0},btRigidBody_getFlags:function(r){return b[(r|=0)+564>>2]},btRigidBody_setFlags:function(r,e){e|=0,b[(r|=0)+564>>2]=e},btRigidBody_clearForces:function(r){var e=0;b[(r|=0)+472>>2]=0,b[r+476>>2]=0,b[(e=r+496|0)>>2]=0,b[e+4>>2]=0,b[(e=r+488|0)>>2]=0,b[e+4>>2]=0,b[(r=r+480|0)>>2]=0,b[r+4>>2]=0},btSequentialImpulseConstraintSolver_create:function(){var r;return $i(r=CA(236,16)),0|r},btCollisionWorld_get_m_useContinuous:function(r){return C[(r|=0)+16|0]},btCollisionWorld_set_m_useContinuous:function(r,e){e|=0,f[(r|=0)+16|0]=e},btCollisionWorld_rayTest:function(r,e,i,a){e|=0,i|=0,a|=0,BA[b[b[(r|=0)>>2]+32>>2]](r,e,i,a)},btCollisionWorld_getDispatchInfo:function(r){return(r|=0)+28|0},btCollisionWorld_addCollisionObject:function(r,e,i,a){e|=0,i|=0,a|=0,BA[b[b[(r|=0)>>2]+36>>2]](r,e,i,a)},btCollisionWorld_removeCollisionObject:function(r,e){e|=0,BA[b[b[(r|=0)>>2]+40>>2]](r,e)},btCollisionWorld_convexSweepTest:function(r,e,i,a,f,n){ma(r|=0,e|=0,i|=0,a|=0,f|=0,n=B(n))},btCollisionWorld_destroy:bf,btDynamicsWorld_addAction:Xa,btDynamicsWorld_removeAction:Ma,btDynamicsWorld_getSolverInfo:function(r){return(r|=0)+92|0},btDiscreteDynamicsWorld_create:function(r,e,i,a){return r|=0,e|=0,i|=0,a|=0,function(r,e,i,a){var t;!function(r,e,i){b[r>>2]=20052,f[r+76|0]=1,b[r+72>>2]=0,b[r+68>>2]=i,b[r+28>>2]=0,b[r+32>>2]=0,b[r+24>>2]=e,f[r+20|0]=1,b[r+16>>2]=0,b[r- -64>>2]=0,f[r+60|0]=0,b[r+56>>2]=1025758986,f[r+54|0]=1,n[r+52>>1]=256,b[r+48>>2]=0,f[r+44|0]=1,b[(e=r+36|0)>>2]=1,b[e+4>>2]=1065353216,b[(r=r+8|0)>>2]=0,b[r+4>>2]=0}(r,e,i),b[(i=r+100|0)>>2]=1050253722,b[i+4>>2]=1015580809,b[r+92>>2]=1058642330,b[r+96>>2]=1065353216,b[r+88>>2]=0,b[r+80>>2]=0,b[r+84>>2]=0,b[(i=r+132|0)>>2]=0,b[i+4>>2]=1045220557,b[(i=r+124|0)>>2]=1045220557,b[i+4>>2]=1045220557,b[(i=r+108|0)>>2]=0,b[i+4>>2]=10,b[(i=r+184|0)>>2]=0,b[i+4>>2]=1045220557,b[(i=r+176|0)>>2]=1120403456,b[i+4>>2]=1900671690,b[r+172>>2]=128,b[(i=r+164|0)>>2]=260,b[i+4>>2]=2,b[(i=r+156|0)>>2]=0,b[i+4>>2]=1062836634,b[(i=r+148|0)>>2]=-1121724662,b[i+4>>2]=1036831949,b[(i=r+140|0)>>2]=0,b[i+4>>2]=1,b[(i=r+116|0)>>2]=1101004800,b[i+4>>2]=1065353216,f[r+208|0]=1,b[r>>2]=22620,b[r+216>>2]=a,b[r+212>>2]=0,b[r+204>>2]=0,f[r+240|0]=1,b[(i=r+196|0)>>2]=0,b[i+4>>2]=0,f[r+260|0]=1,b[r+236>>2]=0,b[(i=r+228|0)>>2]=0,b[i+4>>2]=0,b[r+256>>2]=0,n[r+290>>1]=0,b[r+264>>2]=0,b[r+268>>2]=-1054867456,b[(i=r+248|0)>>2]=0,b[i+4>>2]=0,b[(i=r+280|0)>>2]=0,b[i+4>>2]=0,b[(i=r+272|0)>>2]=0,b[i+4>>2]=0,f[r+308|0]=1,b[r+304>>2]=0,f[r+336|0]=1,f[r+316|0]=1,b[r+312>>2]=0,b[(i=r+296|0)>>2]=0,b[i+4>>2]=0,b[r+332>>2]=0,b[r+340>>2]=0,b[(i=r+324|0)>>2]=0,b[i+4>>2]=0,t=r,a?i=0:($i(i=CA(236,16)),b[r+216>>2]=i,i=1),f[t+289|0]=i,function(r){var e=0;b[r>>2]=22368,b[(e=r+4|0)+12>>2]=0,f[e+16|0]=1,b[e+4>>2]=0,b[e+8>>2]=0,b[r+36>>2]=0,f[r+40|0]=1,f[r+60|0]=1,b[(e=r+28|0)>>2]=0,b[e+4>>2]=0,b[r+56>>2]=0,f[r+64|0]=1,b[(r=r+48|0)>>2]=0,b[r+4>>2]=0}(i=CA(68,16)),f[r+288|0]=1,b[r+220>>2]=i,i=CA(88,16),b[i+52>>2]=0,b[i+56>>2]=0,b[i+72>>2]=0,b[i+76>>2]=0,f[i+44|0]=1,b[i+24>>2]=e,b[i+20>>2]=0,b[i+12>>2]=0,b[i+16>>2]=0,b[i+4>>2]=0,b[i>>2]=23228,b[i+40>>2]=0,f[i+64|0]=1,b[i+32>>2]=0,b[i+36>>2]=0,b[i+60>>2]=0,f[i+84|0]=1,b[i+80>>2]=0,b[i+8>>2]=b[r+216>>2],b[r+212>>2]=i}(a=CA(344,16),r,e,i),0|a},btDiscreteDynamicsWorld_setGravity:function(r,e){e|=0,BA[b[b[(r|=0)>>2]+72>>2]](r,e)},btDiscreteDynamicsWorld_getGravity:function(r){var e,i;return N=e=N-16|0,BA[b[b[(r|=0)>>2]+76>>2]](e,r),i=b[(r=e+8|0)+4>>2],b[709]=b[r>>2],b[710]=i,r=b[e+4>>2],b[707]=b[e>>2],b[708]=r,N=e+16|0,2828},btDiscreteDynamicsWorld_addRigidBody:function(r,e,i,a){e|=0,i|=0,a|=0,BA[b[b[(r|=0)>>2]+88>>2]](r,e,i,a)},btDiscreteDynamicsWorld_removeRigidBody:function(r,e){e|=0,BA[b[b[(r|=0)>>2]+92>>2]](r,e)},btDiscreteDynamicsWorld_stepSimulation:function(r,e,i,a){r|=0,e=B(e),i|=0,a=B(a),BA[b[b[r>>2]+52>>2]](r,e,i,a)},btDiscreteDynamicsWorld_clearForces:function(r){BA[b[b[(r|=0)>>2]+120>>2]](r)},btDiscreteDynamicsWorld_setApplySpeculativeContactRestitution:function(r,e){e|=0,f[(r|=0)+291|0]=e},btDiscreteDynamicsWorld_getApplySpeculativeContactRestitution:function(r){return C[(r|=0)+291|0]},btKinematicCharacterController_create:function(r,e,i,a){var t;return r|=0,e|=0,i=B(i),a|=0,function(r,e,i,a,t){var C,g=B(0),d=B(0),_=B(0),R=B(0),m=B(0);N=C=N-16|0,b[r>>2]=23576,b[r+272>>2]=0,b[r+276>>2]=0,b[r+256>>2]=0,b[r+260>>2]=0,b[r+8>>2]=e,b[r+64>>2]=1017370378,b[r+68>>2]=0,b[r+72>>2]=0,b[r+100>>2]=0,b[r+104>>2]=0,n[r+250>>1]=257,b[r+56>>2]=0,b[r+252>>2]=0,b[r+12>>2]=i,f[r+216|0]=1,b[r+212>>2]=0,b[(e=r+204|0)>>2]=0,b[e+4>>2]=0,b[(e=r+280|0)>>2]=1065353216,b[e+4>>2]=0,b[(e=r+264|0)>>2]=1065353216,b[e+4>>2]=0,b[(e=r+76|0)>>2]=0,b[e+4>>2]=0,b[(e=r+108|0)>>2]=0,b[e+4>>2]=0,b[r+52>>2]=1105933107,b[r+20>>2]=0,b[r+24>>2]=0,f[r+288|0]=1,n[r+248>>1]=0,b[r+36>>2]=1092616192,b[r+28>>2]=1113325568,b[r+32>>2]=1092616192,b[r+148>>2]=0,f[r+289|0]=0,f[r+290|0]=0,b[r+16>>2]=1045220557,b[r+240>>2]=0,b[r+244>>2]=0,d=v[t>>2],_=v[t+4>>2],g=v[t+8>>2],(R=B(B(B(d*d)+B(_*_))+B(g*g)))>B(0)?(m=g,g=B(B(1)/B(p(R))),R=B(B(m*g)*B(-29.399999618530273)),d=B(B(d*g)*B(-29.399999618530273)),_=B(B(_*g)*B(-29.399999618530273)),(g=B(B(R*R)+B(B(d*d)+B(_*_))))>B(0)&&(b[C+12>>2]=0,v[C+8>>2]=-R,v[C+4>>2]=-_,v[C>>2]=-d,ja(r,C)),v[r+52>>2]=p(g)):ja(r,t),b[r+44>>2]=1061752795,b[r+48>>2]=1060439283,v[r+60>>2]=a,N=C+16|0}(t=CA(292,16),r,e,i,a),0|t},btKinematicCharacterController_setWalkDirection:function(r,e){e|=0,BA[b[b[(r|=0)>>2]+16>>2]](r,e)},btKinematicCharacterController_setFallSpeed:function(r,e){r|=0,e=B(e),v[r+28>>2]=e},btKinematicCharacterController_setJumpSpeed:function(r,e){r|=0,e=B(e),v[r+36>>2]=e,v[r+32>>2]=e},btKinematicCharacterController_setMaxSlope:function(r,e){r|=0,e=B(e);var i,a=B(0);v[r+44>>2]=e,i=r,a=_e(e),v[i+48>>2]=a},btKinematicCharacterController_onGround:Pa,btKinematicCharacterController_jump:function(r,e){e|=0,BA[b[b[(r|=0)>>2]+44>>2]](r,e)},btKinematicCharacterController_setGravity:function(r,e){(function(r,e){var i,a,f=B(0),n=B(0),t=B(0),C=B(0);N=i=N-16|0,a=r,f=v[e>>2],t=v[e+4>>2],C=v[e+8>>2],(n=B(B(B(f*f)+B(t*t))+B(C*C)))>B(0)&&(b[i+12>>2]=0,v[i+8>>2]=-C,v[i+4>>2]=-t,v[i>>2]=-f,ja(r,i),f=v[e>>2],n=B(f*f),f=v[e+4>>2],n=B(n+B(f*f)),f=v[e+8>>2],n=B(n+B(f*f))),v[a+52>>2]=p(n),N=i+16|0})(r|=0,e|=0)},btKinematicCharacterController_setUp:function(r,e){(function(r,e){var i,a=B(0),f=B(0),n=B(0),t=B(0),C=B(0),g=B(0);if(N=i=N-16|0,f=v[e>>2],n=v[e+4>>2],a=v[e+8>>2],(t=B(B(B(f*f)+B(n*n))+B(a*a)))>B(0)&&(C=v[r+52>>2])>B(0))return g=a,a=B(B(1)/B(p(t))),t=B(-C),C=B(B(g*a)*t),f=B(B(f*a)*t),n=B(B(n*a)*t),(a=B(B(C*C)+B(B(f*f)+B(n*n))))>B(0)&&(b[i+12>>2]=0,v[i+8>>2]=-C,v[i+4>>2]=-n,v[i>>2]=-f,ja(r,i)),v[r+52>>2]=p(a),void(N=i+16|0);ja(r,e),N=i+16|0})(r|=0,e|=0)},btKinematicCharacterController_setStepHeight:function(r,e){r|=0,e=B(e),v[r+60>>2]=e},btKinematicCharacterController_destroy:bf,btPairCachingGhostObject_create:function(){var r;return function(r){var e=0;Er(r),b[r+336>>2]=0,f[r+340|0]=1,b[(e=r+328|0)>>2]=0,b[e+4>>2]=0,b[r+252>>2]=4,b[r>>2]=23464,yi(e=CA(72,16)),b[r+344>>2]=e}(r=CA(348,16)),0|r},btGhostPairCallback_create:function(){var r;return r=AA(4),b[r>>2]=24688,0|r},btTypedConstraint_setEnabled:function(r,e){e|=0,f[(r|=0)+20|0]=e},btCollisionWorld_addConstraint:function(r,e,i){e|=0,i|=0,BA[b[b[(r|=0)>>2]+56>>2]](r,e,i)},btCollisionWorld_removeConstraint:Cf,btJointFeedback_create:function(){var r,e=0;return r=CA(64,16),b[(e=r)>>2]=0,b[e+4>>2]=0,b[(e=e+56|0)>>2]=0,b[e+4>>2]=0,b[(e=r+48|0)>>2]=0,b[e+4>>2]=0,b[(e=r+40|0)>>2]=0,b[e+4>>2]=0,b[(e=r+32|0)>>2]=0,b[e+4>>2]=0,b[(e=r+24|0)>>2]=0,b[e+4>>2]=0,b[(e=r+16|0)>>2]=0,b[e+4>>2]=0,b[(e=r+8|0)>>2]=0,b[e+4>>2]=0,0|r},btJointFeedback_destroy:function(r){(r|=0)&&gA(r)},btTypedConstraint_setJointFeedback:function(r,e){e|=0,b[(r|=0)+44>>2]=e},btTypedConstraint_getJointFeedback:function(r){return b[(r|=0)+44>>2]},btTypedConstraint_enableFeedback:function(r,e){e|=0,f[(r|=0)+21|0]=e},btTypedConstraint_setParam:function(r,e,i,a){r|=0,e|=0,i|=0,a=B(a),BA[b[b[r>>2]+28>>2]](r,i,a,e)},btTypedConstraint_setOverrideNumSolverIterations:Di,btTypedConstraint_destroy:bf,btJointFeedback_getAppliedForceBodyA:sA,btJointFeedback_getAppliedForceBodyB:sf,btJointFeedback_getAppliedTorqueBodyA:yr,btFixedConstraint_create:function(r,e,i,a){var f;return r|=0,e|=0,i|=0,a|=0,function(r,e,i,a,f){La(r,e,i,a,f,0),b[r>>2]=24048,b[(e=r+1144|0)>>2]=0,b[e+4>>2]=0,b[(e=r+1056|0)>>2]=0,b[e+4>>2]=0,b[r+968>>2]=0,b[r+972>>2]=0,b[(e=r+704|0)>>2]=0,b[e+4>>2]=0,b[(e=r+696|0)>>2]=0,b[e+4>>2]=0,b[(e=r+688|0)>>2]=0,b[e+4>>2]=0,b[r+680>>2]=0,b[r+684>>2]=0}(f=CA(1460,16),r,i,e,a),0|f},btGeneric6DofSpring2Constraint_create:function(r,e,i,a,f){var n;return r|=0,e|=0,i|=0,a|=0,f|=0,r=La(n=CA(1460,16),r,i,e,a,f),b[n+24>>2]=80,BA[b[b[n>>2]+28>>2]](r,2,B(.800000011920929),0),BA[b[b[n>>2]+28>>2]](r,4,B(0),0),BA[b[b[n>>2]+28>>2]](r,2,B(.800000011920929),1),BA[b[b[n>>2]+28>>2]](r,4,B(0),1),BA[b[b[n>>2]+28>>2]](r,2,B(.800000011920929),2),BA[b[b[n>>2]+28>>2]](r,4,B(0),2),BA[b[b[n>>2]+28>>2]](r,2,B(.800000011920929),3),BA[b[b[n>>2]+28>>2]](r,4,B(0),3),BA[b[b[n>>2]+28>>2]](r,2,B(.800000011920929),4),BA[b[b[n>>2]+28>>2]](r,4,B(0),4),BA[b[b[n>>2]+28>>2]](r,2,B(.800000011920929),5),BA[b[b[n>>2]+28>>2]](r,4,B(0),5),0|n},btGeneric6DofSpring2Constraint_setAxis:function(r,e,i){(function(r,e,i){var a,f=B(0),n=B(0),t=B(0),C=B(0),g=B(0),d=B(0),_=B(0),R=B(0),m=B(0),h=B(0),G=B(0),y=B(0),Q=B(0),D=B(0),w=B(0),Z=B(0),Y=B(0),W=B(0),F=B(0),E=B(0),N=B(0);a=b[r+28>>2],y=v[a+20>>2],Q=v[a+36>>2],D=v[a+40>>2],w=v[a+8>>2],Z=v[a+24>>2],n=v[a+60>>2],C=v[a+44>>2],g=v[a+12>>2],t=v[a+52>>2],d=v[a+56>>2],_=v[a+28>>2],R=v[i+8>>2],m=v[i>>2],h=v[i+4>>2],G=v[e+8>>2],f=v[e>>2],Y=v[e+4>>2],W=v[a+4>>2],b[r+108>>2]=0,b[r+92>>2]=0,b[r+76>>2]=0,b[r+60>>2]=0,t=B(-t),v[r+104>>2]=B(B(B(g*B(0))+B(_*B(0)))+B(C*B(0)))+B(B(B(g*t)-B(_*d))-B(C*n)),v[r+100>>2]=B(B(B(w*B(0))+B(Z*B(0)))+B(D*B(0)))+B(B(B(w*t)-B(Z*d))-B(D*n)),v[r+96>>2]=B(B(B(W*B(0))+B(y*B(0)))+B(Q*B(0)))+B(B(B(W*t)-B(y*d))-B(Q*n)),t=f,f=B(B(1)/B(p(B(B(B(f*f)+B(Y*Y))+B(G*G))))),n=B(t*f),d=B(Y*f),G=B(G*f),v[r+88>>2]=B(B(g*n)+B(_*d))+B(C*G),f=B(B(1)/B(p(B(B(B(m*m)+B(h*h))+B(R*R))))),m=B(m*f),h=B(h*f),R=B(R*f),v[r+84>>2]=B(B(g*m)+B(_*h))+B(C*R),v[r+72>>2]=B(B(n*w)+B(d*Z))+B(G*D),v[r+68>>2]=B(B(m*w)+B(h*Z))+B(R*D),v[r+56>>2]=B(B(W*n)+B(d*y))+B(G*Q),v[r+52>>2]=B(Q*R)+B(B(W*m)+B(y*h)),f=g,g=B(B(G*h)-B(d*R)),t=_,_=B(B(n*R)-B(G*m)),Y=C,C=B(B(d*m)-B(n*h)),v[r+80>>2]=B(B(f*g)+B(t*_))+B(Y*C),v[r- -64>>2]=B(C*D)+B(B(w*g)+B(Z*_)),v[r+48>>2]=B(Q*C)+B(B(W*g)+B(y*_)),e=b[r+32>>2],F=v[e+60>>2],N=v[e+52>>2],E=v[e+56>>2],y=v[e+20>>2],Q=v[e+36>>2],D=v[e+40>>2],w=v[e+8>>2],Z=v[e+24>>2],W=v[e+44>>2],f=v[e+12>>2],Y=v[e+28>>2],t=v[e+4>>2],b[r+172>>2]=0,b[r+156>>2]=0,b[r+140>>2]=0,b[r+124>>2]=0,v[r+152>>2]=B(B(n*f)+B(d*Y))+B(G*W),v[r+148>>2]=B(B(m*f)+B(h*Y))+B(R*W),v[r+144>>2]=B(B(g*f)+B(_*Y))+B(C*W),v[r+136>>2]=B(B(n*w)+B(d*Z))+B(G*D),v[r+132>>2]=B(B(m*w)+B(h*Z))+B(R*D),v[r+128>>2]=B(B(g*w)+B(_*Z))+B(C*D),v[r+120>>2]=B(B(n*t)+B(d*y))+B(G*Q),v[r+116>>2]=B(B(m*t)+B(h*y))+B(R*Q),v[r+112>>2]=B(B(g*t)+B(_*y))+B(C*Q),n=B(-N),v[r+168>>2]=B(B(B(f*B(0))+B(Y*B(0)))+B(W*B(0)))+B(B(B(f*n)-B(Y*E))-B(W*F)),v[r+164>>2]=B(B(B(w*B(0))+B(Z*B(0)))+B(D*B(0)))+B(B(B(w*n)-B(Z*E))-B(D*F)),v[r+160>>2]=B(B(B(t*B(0))+B(y*B(0)))+B(Q*B(0)))+B(B(B(t*n)-B(y*E))-B(Q*F)),Ka(r,a+4|0,e+4|0)})(r|=0,e|=0,i|=0)},btGeneric6DofSpring2Constraint_setLimit:function(r,e,i,a){if(r|=0,e|=0,i=B(i),a=B(a),(0|e)<=2)return v[(r=(e<<2)+r|0)+696>>2]=a,void(v[r+680>>2]=i);(i=Wa(i))B(3.1415927410125732)&&(i=B(i+B(-6.2831854820251465))),(a=Wa(a))B(3.1415927410125732)&&(a=B(a+B(-6.2831854820251465))),r=R(e,88)+r|0,v[r+708>>2]=a,v[r+704>>2]=i},btGeneric6DofSpring2Constraint_enableSpring:function(r,e,i){(function(r,e,i){(0|e)<=2?f[798+(r+e|0)|0]=i:f[752+(R(e,88)+r|0)|0]=i})(r|=0,e|=0,i|=0)},btGeneric6DofSpring2Constraint_setBounce:function(r,e,i){(function(r,e,i){v[((0|e)<3?712+((e<<2)+r|0)|0:712+(R(e,88)+r|0)|0)>>2]=i})(r|=0,e|=0,i=B(i))},btGeneric6DofSpring2Constraint_setStiffness:function(r,e,i,a){(function(r,e,i,a){if((0|e)<=2)return f[156+((r=r+680|0)+e|0)|0]=a,void(v[140+(r+(e<<2)|0)>>2]=i);r=R(e,88)+r|0,f[r+760|0]=a,v[r+756>>2]=i})(r|=0,e|=0,i=B(i),a|=0)},btGeneric6DofSpring2Constraint_setDamping:function(r,e,i,a){(function(r,e,i,a){if((0|e)<=2)return f[176+((r=r+680|0)+e|0)|0]=a,void(v[160+(r+(e<<2)|0)>>2]=i);r=R(e,88)+r|0,f[r+768|0]=a,v[r+764>>2]=i})(r|=0,e|=0,i=B(i),a|=0)},btGeneric6DofSpring2Constraint_setEquilibriumPoint:function(r,e,i){(function(r,e,i){v[((0|e)<3?860+((e<<2)+r|0)|0:772+(R(e,88)+r|0)|0)>>2]=i})(r|=0,e|=0,i=B(i))},btGeneric6DofSpring2Constraint_enableMotor:function(r,e,i){(function(r,e,i){(0|e)<=2?f[792+(r+e|0)|0]=i:f[732+(R(e,88)+r|0)|0]=i})(r|=0,e|=0,i|=0)},btGeneric6DofSpring2Constraint_setServo:function(r,e,i){(function(r,e,i){(0|e)<=2?f[795+(r+e|0)|0]=i:f[744+(R(e,88)+r|0)|0]=i})(r|=0,e|=0,i|=0)},btGeneric6DofSpring2Constraint_setTargetVelocity:function(r,e,i){(function(r,e,i){v[((0|e)<3?876+((e<<2)+r|0)|0:736+(R(e,88)+r|0)|0)>>2]=i})(r|=0,e|=0,i=B(i))},btGeneric6DofSpring2Constraint_setServoTarget:function(r,e,i){(function(r,e,i){var a=B(0);(0|e)<=2?v[804+((e<<2)+r|0)>>2]=i:(r=748+(R(e,88)+r|0)|0,i=B(i+B(3.1415927410125732)),i=B(i-B(B(Q(B(i/B(6.2831854820251465))))*B(6.2831854820251465))),a=B(0),i>=B(6.2831854820251465)||(i>2]=a+B(-3.1415927410125732))})(r|=0,e|=0,i=B(i))},btGeneric6DofSpring2Constraint_setMaxMotorForce:function(r,e,i){(function(r,e,i){v[((0|e)<3?892+((e<<2)+r|0)|0:740+(R(e,88)+r|0)|0)>>2]=i})(r|=0,e|=0,i=B(i))},btGeneric6DofSpring2Constraint_setFrames:function(r,e,i){(function(r,e,i){var a=0,f=0,n=0;a=b[e+4>>2],b[r+48>>2]=b[e>>2],b[r+52>>2]=a,n=b[(f=e+8|0)+4>>2],b[(a=r+56|0)>>2]=b[f>>2],b[a+4>>2]=n,n=b[(f=e+24|0)+4>>2],b[(a=r+72|0)>>2]=b[f>>2],b[a+4>>2]=n,f=b[e+20>>2],b[(a=r- -64|0)>>2]=b[e+16>>2],b[a+4>>2]=f,n=b[(f=e+40|0)+4>>2],b[(a=r+88|0)>>2]=b[f>>2],b[a+4>>2]=n,f=b[e+36>>2],b[(a=r+80|0)>>2]=b[e+32>>2],b[a+4>>2]=f,n=b[(f=e+56|0)+4>>2],b[(a=r+104|0)>>2]=b[f>>2],b[a+4>>2]=n,f=b[e+52>>2],b[(a=r+96|0)>>2]=b[e+48>>2],b[a+4>>2]=f,f=b[(a=i+8|0)+4>>2],b[(e=r+120|0)>>2]=b[a>>2],b[e+4>>2]=f,e=b[i+4>>2],b[r+112>>2]=b[i>>2],b[r+116>>2]=e,f=b[(a=i+24|0)+4>>2],b[(e=r+136|0)>>2]=b[a>>2],b[e+4>>2]=f,a=b[i+20>>2],b[(e=r+128|0)>>2]=b[i+16>>2],b[e+4>>2]=a,a=b[i+36>>2],b[(e=r+144|0)>>2]=b[i+32>>2],b[e+4>>2]=a,f=b[(a=i+40|0)+4>>2],b[(e=r+152|0)>>2]=b[a>>2],b[e+4>>2]=f,a=b[i+52>>2],b[(e=r+160|0)>>2]=b[i+48>>2],b[e+4>>2]=a,a=b[(i=i+56|0)+4>>2],b[(e=r+168|0)>>2]=b[i>>2],b[e+4>>2]=a,BA[b[b[r>>2]+8>>2]](r),Ka(r,b[r+28>>2]+4|0,b[r+32>>2]+4|0)})(r|=0,e|=0,i|=0)}}}({Math:Math,Int8Array:Int8Array,Uint8Array:Uint8Array,Int16Array:Int16Array,Uint16Array:Uint16Array,Int32Array:Int32Array,Uint32Array:Uint32Array,Float32Array:Float32Array,Float64Array:Float64Array,NaN:NaN,Infinity:1/0},{memory:{},abort:function(){throw new Error("abort")},fd_close:()=>{console.log("fd_close")},fd_write:()=>{console.log("fd_write")},getWorldTransform:a,setWorldTransform:f,fd_seek:()=>{console.log("fd_seek")}},g);i.btGImpactCollisionAlgorithm_RegisterAlgorithm=v.btGImpactCollisionAlgorithm_RegisterAlgorithm,i.btVector3_create=v.btVector3_create,i.btVector3_setValue=v.btVector3_setValue,i.btVector3_x=v.btVector3_x,i.btVector3_y=v.btVector3_y,i.btVector3_z=v.btVector3_z,i.btQuaternion_create=v.btQuaternion_create,i.btQuaternion_setValue=v.btQuaternion_setValue,i.btQuaternion_x=v.btQuaternion_x,i.btQuaternion_y=v.btQuaternion_y,i.btQuaternion_z=v.btQuaternion_z,i.btQuaternion_w=v.btQuaternion_w,i.btTransform_create=v.btTransform_create,i.btTransform_setOrigin=v.btTransform_setOrigin,i.btTransform_setRotation=v.btTransform_setRotation,i.btTransform_getOrigin=v.btTransform_getOrigin,i.btTransform_getRotation=v.btTransform_getRotation,i.btTransform_setIdentity=v.btTransform_setIdentity,i.btTransform_equal=v.btTransform_equal,i.btMotionState_destroy=v.btMotionState_destroy,i.layaMotionState_create=v.layaMotionState_create,i.layaMotionState_set_rigidBodyID=v.layaMotionState_set_rigidBodyID,i.btCollisionObject_create=v.btCollisionObject_create,i.btCollisionObject_setContactProcessingThreshold=v.btCollisionObject_setContactProcessingThreshold,i.btCollisionObject_setActivationState=v.btCollisionObject_setActivationState,i.btCollisionObject_forceActivationState=v.btCollisionObject_forceActivationState,i.btCollisionObject_activate=v.btCollisionObject_activate,i.btCollisionObject_isActive=v.btCollisionObject_isActive,i.btCollisionObject_setRestitution=v.btCollisionObject_setRestitution,i.btCollisionObject_setFriction=v.btCollisionObject_setFriction,i.btCollisionObject_setRollingFriction=v.btCollisionObject_setRollingFriction,i.btCollisionObject_getCollisionFlags=v.btCollisionObject_getCollisionFlags,i.btCollisionObject_setCollisionFlags=v.btCollisionObject_setCollisionFlags,i.btCollisionObject_getWorldTransform=v.btCollisionObject_getWorldTransform,i.btCollisionObject_setWorldTransform=v.btCollisionObject_setWorldTransform,i.btCollisionObject_setInterpolationWorldTransform=v.btCollisionObject_setInterpolationWorldTransform,i.btCollisionObject_setCollisionShape=v.btCollisionObject_setCollisionShape,i.btCollisionObject_getCcdMotionThreshold=v.btCollisionObject_getCcdMotionThreshold,i.btCollisionObject_setCcdMotionThreshold=v.btCollisionObject_setCcdMotionThreshold,i.btCollisionObject_getCcdSweptSphereRadius=v.btCollisionObject_getCcdSweptSphereRadius,i.btCollisionObject_setCcdSweptSphereRadius=v.btCollisionObject_setCcdSweptSphereRadius,i.btCollisionObject_getUserIndex=v.btCollisionObject_getUserIndex,i.btCollisionObject_setUserIndex=v.btCollisionObject_setUserIndex,i.btCollisionObject_getActivationState=v.btCollisionObject_getActivationState,i.btCollisionObject_setInterpolationAngularVelocity=v.btCollisionObject_setInterpolationAngularVelocity,i.btCollisionObject_setInterpolationLinearVelocity=v.btCollisionObject_setInterpolationLinearVelocity,i.btCollisionObject_destroy=v.btCollisionObject_destroy,i.RayResultCallback_hasHit=v.RayResultCallback_hasHit,i.RayResultCallback_set_m_collisionFilterGroup=v.RayResultCallback_set_m_collisionFilterGroup,i.RayResultCallback_set_m_collisionFilterMask=v.RayResultCallback_set_m_collisionFilterMask,i.RayResultCallback_get_m_closestHitFraction=v.RayResultCallback_get_m_closestHitFraction,i.RayResultCallback_set_m_closestHitFraction=v.RayResultCallback_set_m_closestHitFraction,i.RayResultCallback_get_m_collisionObject=v.RayResultCallback_get_m_collisionObject,i.RayResultCallback_set_m_collisionObject=v.RayResultCallback_set_m_collisionObject,i.ClosestRayResultCallback_create=v.ClosestRayResultCallback_create,i.ClosestRayResultCallback_get_m_rayFromWorld=v.ClosestRayResultCallback_get_m_rayFromWorld,i.ClosestRayResultCallback_set_m_rayFromWorld=v.ClosestRayResultCallback_set_m_rayFromWorld,i.ClosestRayResultCallback_get_m_rayToWorld=v.ClosestRayResultCallback_get_m_rayToWorld,i.ClosestRayResultCallback_set_m_rayToWorld=v.ClosestRayResultCallback_set_m_rayToWorld,i.ClosestRayResultCallback_get_m_hitNormalWorld=v.ClosestRayResultCallback_get_m_hitNormalWorld,i.ClosestRayResultCallback_get_m_hitPointWorld=v.ClosestRayResultCallback_get_m_hitPointWorld,i.tBtCollisionObjectArray_size=v.tBtCollisionObjectArray_size,i.tBtCollisionObjectArray_at=v.tBtCollisionObjectArray_at,i.tBtCollisionObjectArray_clear=v.tBtCollisionObjectArray_clear,i.tVector3Array_at=v.tVector3Array_at,i.tVector3Array_clear=v.tVector3Array_clear,i.tScalarArray_at=v.tScalarArray_at,i.tScalarArray_clear=v.tScalarArray_clear,i.AllHitsRayResultCallback_create=v.AllHitsRayResultCallback_create,i.AllHitsRayResultCallback_get_m_rayFromWorld=v.AllHitsRayResultCallback_get_m_rayFromWorld,i.AllHitsRayResultCallback_set_m_rayFromWorld=v.AllHitsRayResultCallback_set_m_rayFromWorld,i.AllHitsRayResultCallback_get_m_rayToWorld=v.AllHitsRayResultCallback_get_m_rayToWorld,i.AllHitsRayResultCallback_set_m_rayToWorld=v.AllHitsRayResultCallback_set_m_rayToWorld,i.AllHitsRayResultCallback_get_m_hitPointWorld=v.AllHitsRayResultCallback_get_m_hitPointWorld,i.AllHitsRayResultCallback_get_m_hitNormalWorld=v.AllHitsRayResultCallback_get_m_hitNormalWorld,i.AllHitsRayResultCallback_get_m_collisionObjects=v.AllHitsRayResultCallback_get_m_collisionObjects,i.AllHitsRayResultCallback_get_m_hitFractions=v.AllHitsRayResultCallback_get_m_hitFractions,i.btManifoldPoint_get_m_positionWorldOnA=v.btManifoldPoint_get_m_positionWorldOnA,i.btManifoldPoint_get_m_positionWorldOnB=v.btManifoldPoint_get_m_positionWorldOnB,i.btManifoldPoint_get_m_normalWorldOnB=v.btManifoldPoint_get_m_normalWorldOnB,i.btManifoldPoint_getDistance=v.btManifoldPoint_getDistance,i.ConvexResultCallback_hasHit=v.ConvexResultCallback_hasHit,i.ConvexResultCallback_set_m_collisionFilterGroup=v.ConvexResultCallback_set_m_collisionFilterGroup,i.ConvexResultCallback_set_m_collisionFilterMask=v.ConvexResultCallback_set_m_collisionFilterMask,i.ConvexResultCallback_get_m_closestHitFraction=v.ConvexResultCallback_get_m_closestHitFraction,i.ConvexResultCallback_set_m_closestHitFraction=v.ConvexResultCallback_set_m_closestHitFraction,i.ClosestConvexResultCallback_create=v.ClosestConvexResultCallback_create,i.ClosestConvexResultCallback_get_m_hitNormalWorld=v.ClosestConvexResultCallback_get_m_hitNormalWorld,i.ClosestConvexResultCallback_get_m_hitPointWorld=v.ClosestConvexResultCallback_get_m_hitPointWorld,i.ClosestConvexResultCallback_get_m_hitCollisionObject=v.ClosestConvexResultCallback_get_m_hitCollisionObject,i.ClosestConvexResultCallback_set_m_hitCollisionObject=v.ClosestConvexResultCallback_set_m_hitCollisionObject,i.AllConvexResultCallback_create=v.AllConvexResultCallback_create,i.AllConvexResultCallback_get_m_hitNormalWorld=v.AllConvexResultCallback_get_m_hitNormalWorld,i.AllConvexResultCallback_get_m_hitPointWorld=v.AllConvexResultCallback_get_m_hitPointWorld,i.AllConvexResultCallback_get_m_hitFractions=v.AllConvexResultCallback_get_m_hitFractions,i.AllConvexResultCallback_get_m_collisionObjects=v.AllConvexResultCallback_get_m_collisionObjects,i.btCollisionShape_getLocalScaling=v.btCollisionShape_getLocalScaling,i.btCollisionShape_setLocalScaling=v.btCollisionShape_setLocalScaling,i.btCollisionShape_calculateLocalInertia=v.btCollisionShape_calculateLocalInertia,i.btCollisionShape_destroy=v.btCollisionShape_destroy,i.btBoxShape_create=v.btBoxShape_create,i.btCapsuleShape_create=v.btCapsuleShape_create,i.btCapsuleShapeX_create=v.btCapsuleShapeX_create,i.btCapsuleShapeZ_create=v.btCapsuleShapeZ_create,i.btCylinderShape_create=v.btCylinderShape_create,i.btCylinderShapeX_create=v.btCylinderShapeX_create,i.btCylinderShapeZ_create=v.btCylinderShapeZ_create,i.btSphereShape_create=v.btSphereShape_create,i.btConeShape_create=v.btConeShape_create,i.btConeShapeX_create=v.btConeShapeX_create,i.btConeShapeZ_create=v.btConeShapeZ_create,i.btStaticPlaneShape_create=v.btStaticPlaneShape_create,i.btGImpactShapeInterface_updateBound=v.btGImpactShapeInterface_updateBound,i.btGImpactMeshShape_create=v.btGImpactMeshShape_create,i.btCompoundShape_create=v.btCompoundShape_create,i.btCompoundShape_addChildShape=v.btCompoundShape_addChildShape,i.btCompoundShape_removeChildShapeByIndex=v.btCompoundShape_removeChildShapeByIndex,i.btCompoundShape_getChildShape=v.btCompoundShape_getChildShape,i.btCompoundShape_updateChildTransform=v.btCompoundShape_updateChildTransform,i.btStridingMeshInterface_destroy=v.btStridingMeshInterface_destroy,i.btTriangleMesh_create=v.btTriangleMesh_create,i.btTriangleMesh_addTriangle=v.btTriangleMesh_addTriangle,i.btDefaultCollisionConfiguration_create=v.btDefaultCollisionConfiguration_create,i.btDefaultCollisionConfiguration_destroy=v.btDefaultCollisionConfiguration_destroy,i.btPersistentManifold_getBody0=v.btPersistentManifold_getBody0,i.btPersistentManifold_getBody1=v.btPersistentManifold_getBody1,i.btPersistentManifold_getNumContacts=v.btPersistentManifold_getNumContacts,i.btPersistentManifold_getContactPoint=v.btPersistentManifold_getContactPoint,i.btDispatcher_getNumManifolds=v.btDispatcher_getNumManifolds,i.btDispatcher_getManifoldByIndexInternal=v.btDispatcher_getManifoldByIndexInternal,i.btCollisionDispatcher_create=v.btCollisionDispatcher_create,i.btCollisionDispatcher_destroy=v.btCollisionDispatcher_destroy,i.btOverlappingPairCache_setInternalGhostPairCallback=v.btOverlappingPairCache_setInternalGhostPairCallback,i.btDbvtBroadphase_create=v.btDbvtBroadphase_create,i.btDbvtBroadphase_getOverlappingPairCache=v.btDbvtBroadphase_getOverlappingPairCache,i.btDbvtBroadphase_destroy=v.btDbvtBroadphase_destroy,i.btRigidBodyConstructionInfo_create=v.btRigidBodyConstructionInfo_create,i.btRigidBodyConstructionInfo_destroy=v.btRigidBodyConstructionInfo_destroy,i.btRigidBody_create=v.btRigidBody_create,i.btRigidBody_setCenterOfMassTransform=v.btRigidBody_setCenterOfMassTransform,i.btRigidBody_setSleepingThresholds=v.btRigidBody_setSleepingThresholds,i.btRigidBody_getLinearSleepingThreshold=v.btRigidBody_getLinearSleepingThreshold,i.btRigidBody_getAngularSleepingThreshold=v.btRigidBody_getAngularSleepingThreshold,i.btRigidBody_setDamping=v.btRigidBody_setDamping,i.btRigidBody_setMassProps=v.btRigidBody_setMassProps,i.btRigidBody_setLinearFactor=v.btRigidBody_setLinearFactor,i.btRigidBody_applyTorque=v.btRigidBody_applyTorque,i.btRigidBody_applyForce=v.btRigidBody_applyForce,i.btRigidBody_applyCentralForce=v.btRigidBody_applyCentralForce,i.btRigidBody_applyTorqueImpulse=v.btRigidBody_applyTorqueImpulse,i.btRigidBody_applyImpulse=v.btRigidBody_applyImpulse,i.btRigidBody_applyCentralImpulse=v.btRigidBody_applyCentralImpulse,i.btRigidBody_updateInertiaTensor=v.btRigidBody_updateInertiaTensor,i.btRigidBody_getLinearVelocity=v.btRigidBody_getLinearVelocity,i.btRigidBody_getAngularVelocity=v.btRigidBody_getAngularVelocity,i.btRigidBody_setLinearVelocity=v.btRigidBody_setLinearVelocity,i.btRigidBody_setAngularVelocity=v.btRigidBody_setAngularVelocity,i.btRigidBody_setAngularFactor=v.btRigidBody_setAngularFactor,i.btRigidBody_getGravity=v.btRigidBody_getGravity,i.btRigidBody_setGravity=v.btRigidBody_setGravity,i.btRigidBody_getTotalForce=v.btRigidBody_getTotalForce,i.btRigidBody_getTotalTorque=v.btRigidBody_getTotalTorque,i.btRigidBody_getFlags=v.btRigidBody_getFlags,i.btRigidBody_setFlags=v.btRigidBody_setFlags,i.btRigidBody_clearForces=v.btRigidBody_clearForces,i.btSequentialImpulseConstraintSolver_create=v.btSequentialImpulseConstraintSolver_create,i.btCollisionWorld_get_m_useContinuous=v.btCollisionWorld_get_m_useContinuous,i.btCollisionWorld_set_m_useContinuous=v.btCollisionWorld_set_m_useContinuous,i.btCollisionWorld_rayTest=v.btCollisionWorld_rayTest,i.btCollisionWorld_getDispatchInfo=v.btCollisionWorld_getDispatchInfo,i.btCollisionWorld_addCollisionObject=v.btCollisionWorld_addCollisionObject,i.btCollisionWorld_removeCollisionObject=v.btCollisionWorld_removeCollisionObject,i.btCollisionWorld_convexSweepTest=v.btCollisionWorld_convexSweepTest,i.btCollisionWorld_destroy=v.btCollisionWorld_destroy,i.btDynamicsWorld_addAction=v.btDynamicsWorld_addAction,i.btDynamicsWorld_removeAction=v.btDynamicsWorld_removeAction,i.btDynamicsWorld_getSolverInfo=v.btDynamicsWorld_getSolverInfo,i.btDiscreteDynamicsWorld_create=v.btDiscreteDynamicsWorld_create,i.btDiscreteDynamicsWorld_setGravity=v.btDiscreteDynamicsWorld_setGravity,i.btDiscreteDynamicsWorld_getGravity=v.btDiscreteDynamicsWorld_getGravity,i.btDiscreteDynamicsWorld_addRigidBody=v.btDiscreteDynamicsWorld_addRigidBody,i.btDiscreteDynamicsWorld_removeRigidBody=v.btDiscreteDynamicsWorld_removeRigidBody,i.btDiscreteDynamicsWorld_stepSimulation=v.btDiscreteDynamicsWorld_stepSimulation,i.btDiscreteDynamicsWorld_clearForces=v.btDiscreteDynamicsWorld_clearForces,i.btDiscreteDynamicsWorld_setApplySpeculativeContactRestitution=v.btDiscreteDynamicsWorld_setApplySpeculativeContactRestitution,i.btDiscreteDynamicsWorld_getApplySpeculativeContactRestitution=v.btDiscreteDynamicsWorld_getApplySpeculativeContactRestitution,i.btKinematicCharacterController_create=v.btKinematicCharacterController_create,i.btKinematicCharacterController_setWalkDirection=v.btKinematicCharacterController_setWalkDirection,i.btKinematicCharacterController_setFallSpeed=v.btKinematicCharacterController_setFallSpeed,i.btKinematicCharacterController_setJumpSpeed=v.btKinematicCharacterController_setJumpSpeed,i.btKinematicCharacterController_setMaxSlope=v.btKinematicCharacterController_setMaxSlope,i.btKinematicCharacterController_onGround=v.btKinematicCharacterController_onGround,i.btKinematicCharacterController_jump=v.btKinematicCharacterController_jump,i.btKinematicCharacterController_setGravity=v.btKinematicCharacterController_setGravity,i.btKinematicCharacterController_setUp=v.btKinematicCharacterController_setUp,i.btKinematicCharacterController_setStepHeight=v.btKinematicCharacterController_setStepHeight,i.btKinematicCharacterController_destroy=v.btKinematicCharacterController_destroy,i.btPairCachingGhostObject_create=v.btPairCachingGhostObject_create,i.btGhostPairCallback_create=v.btGhostPairCallback_create,i.btTypedConstraint_setEnabled=v.btTypedConstraint_setEnabled,i.btCollisionWorld_addConstraint=v.btCollisionWorld_addConstraint,i.btCollisionWorld_removeConstraint=v.btCollisionWorld_removeConstraint,i.btJointFeedback_create=v.btJointFeedback_create,i.btJointFeedback_destroy=v.btJointFeedback_destroy,i.btTypedConstraint_setJointFeedback=v.btTypedConstraint_setJointFeedback,i.btTypedConstraint_getJointFeedback=v.btTypedConstraint_getJointFeedback,i.btTypedConstraint_enableFeedback=v.btTypedConstraint_enableFeedback,i.btTypedConstraint_setParam=v.btTypedConstraint_setParam,i.btTypedConstraint_setOverrideNumSolverIterations=v.btTypedConstraint_setOverrideNumSolverIterations,i.btTypedConstraint_destroy=v.btTypedConstraint_destroy,i.btJointFeedback_getAppliedForceBodyA=v.btJointFeedback_getAppliedForceBodyA,i.btJointFeedback_getAppliedForceBodyB=v.btJointFeedback_getAppliedForceBodyB,i.btJointFeedback_getAppliedTorqueBodyA=v.btJointFeedback_getAppliedTorqueBodyA,i.btFixedConstraint_create=v.btFixedConstraint_create,i.btGeneric6DofSpring2Constraint_create=v.btGeneric6DofSpring2Constraint_create,i.btGeneric6DofSpring2Constraint_setAxis=v.btGeneric6DofSpring2Constraint_setAxis,i.btGeneric6DofSpring2Constraint_setLimit=v.btGeneric6DofSpring2Constraint_setLimit,i.btGeneric6DofSpring2Constraint_enableSpring=v.btGeneric6DofSpring2Constraint_enableSpring,i.btGeneric6DofSpring2Constraint_setBounce=v.btGeneric6DofSpring2Constraint_setBounce,i.btGeneric6DofSpring2Constraint_setStiffness=v.btGeneric6DofSpring2Constraint_setStiffness,i.btGeneric6DofSpring2Constraint_setDamping=v.btGeneric6DofSpring2Constraint_setDamping,i.btGeneric6DofSpring2Constraint_setEquilibriumPoint=v.btGeneric6DofSpring2Constraint_setEquilibriumPoint,i.btGeneric6DofSpring2Constraint_enableMotor=v.btGeneric6DofSpring2Constraint_enableMotor,i.btGeneric6DofSpring2Constraint_setServo=v.btGeneric6DofSpring2Constraint_setServo,i.btGeneric6DofSpring2Constraint_setTargetVelocity=v.btGeneric6DofSpring2Constraint_setTargetVelocity,i.btGeneric6DofSpring2Constraint_setServoTarget=v.btGeneric6DofSpring2Constraint_setServoTarget,i.btGeneric6DofSpring2Constraint_setMaxMotorForce=v.btGeneric6DofSpring2Constraint_setMaxMotorForce,i.btGeneric6DofSpring2Constraint_setFrames=v.btGeneric6DofSpring2Constraint_setFrames}(64*r*1024,e,i),i};