diff --git a/src/_polyfill/Ammo.js b/src/_polyfill/Ammo.js new file mode 100644 index 00000000..89cb6843 --- /dev/null +++ b/src/_polyfill/Ammo.js @@ -0,0 +1,647 @@ +// prettier-ignore +var _Ammo = function() { + var _scriptDir = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : undefined; + return ( +function(Ammo) { + Ammo = Ammo || {}; + +var c;var d;d||(d=typeof Ammo !== 'undefined' ? Ammo : {});var aa={},ba;for(ba in d)d.hasOwnProperty(ba)&&(aa[ba]=d[ba]);d.arguments=[];d.thisProgram="./this.program";d.quit=function(a,b){throw b;};d.preRun=[];d.postRun=[];var ca=!1,da=!1,ea=!1,fa=!1;ca="object"===typeof window;da="function"===typeof importScripts;ea="object"===typeof process&&"function"===typeof require&&!ca&&!da;fa=!ca&&!ea&&!da;var ia=""; +if(ea){ia=__dirname+"/";var ja,ka;d.read=function(a,b){var e=la(a);e||(ja||(ja=require("fs")),ka||(ka=require("path")),a=ka.normalize(a),e=ja.readFileSync(a));return b?e:e.toString()};d.readBinary=function(a){a=d.read(a,!0);a.buffer||(a=new Uint8Array(a));assert(a.buffer);return a};1f?e+=String.fromCharCode(f):(f-=65536,e+=String.fromCharCode(55296|f>>10,56320|f&1023))}}else e+=String.fromCharCode(f)}}"undefined"!==typeof TextDecoder&&new TextDecoder("utf-16le"); +var buffer,va,wa,xa,ya;function za(){na("Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value "+Aa+", (2) compile with -s ALLOW_MEMORY_GROWTH=1 which allows increasing the size at runtime but prevents some optimizations, (3) set Module.TOTAL_MEMORY to a higher value before the program runs, or (4) if you want malloc to return NULL (0) instead of this abort, compile with -s ABORTING_MALLOC=0 ")}var Aa=d.TOTAL_MEMORY||67108864; +5242880>Aa&&qa("TOTAL_MEMORY should be larger than TOTAL_STACK, was "+Aa+"! (TOTAL_STACK=5242880)");d.buffer?buffer=d.buffer:(buffer=new ArrayBuffer(Aa),d.buffer=buffer);d.HEAP8=va=new Int8Array(buffer);d.HEAP16=new Int16Array(buffer);d.HEAP32=xa=new Int32Array(buffer);d.HEAPU8=wa=new Uint8Array(buffer);d.HEAPU16=new Uint16Array(buffer);d.HEAPU32=new Uint32Array(buffer);d.HEAPF32=ya=new Float32Array(buffer);d.HEAPF64=new Float64Array(buffer);xa[7336]=5272480; +function Ba(a){for(;0>>16)*f+e*(b>>>16)<<16)|0}); +Math.clz32||(Math.clz32=function(a){var b=32,e=a>>16;e&&(b-=16,a=e);if(e=a>>8)b-=8,a=e;if(e=a>>4)b-=4,a=e;if(e=a>>2)b-=2,a=e;return a>>1?b-2:b-a});Math.trunc||(Math.trunc=function(a){return 0>a?Math.ceil(a):Math.floor(a)});var Ia=0,Ja=null,Ka=null;d.preloadedImages={};d.preloadedAudios={}; +var La=null,Ma="data:application/octet-stream;base64,",Na=[function(a,b,e,f){a=d.getCache(d.DebugDrawer)[a];if(!a.hasOwnProperty("drawLine"))throw"a JSImplementation must implement all functions, you forgot DebugDrawer::drawLine.";a.drawLine(b,e,f)},function(a,b,e,f,g,n){a=d.getCache(d.DebugDrawer)[a];if(!a.hasOwnProperty("drawContactPoint"))throw"a JSImplementation must implement all functions, you forgot DebugDrawer::drawContactPoint.";a.drawContactPoint(b,e,f,g,n)},function(a,b){a=d.getCache(d.DebugDrawer)[a]; +if(!a.hasOwnProperty("reportErrorWarning"))throw"a JSImplementation must implement all functions, you forgot DebugDrawer::reportErrorWarning.";a.reportErrorWarning(b)},function(a,b,e){a=d.getCache(d.DebugDrawer)[a];if(!a.hasOwnProperty("draw3dText"))throw"a JSImplementation must implement all functions, you forgot DebugDrawer::draw3dText.";a.draw3dText(b,e)},function(a,b){a=d.getCache(d.DebugDrawer)[a];if(!a.hasOwnProperty("setDebugMode"))throw"a JSImplementation must implement all functions, you forgot DebugDrawer::setDebugMode."; +a.setDebugMode(b)},function(a){a=d.getCache(d.DebugDrawer)[a];if(!a.hasOwnProperty("getDebugMode"))throw"a JSImplementation must implement all functions, you forgot DebugDrawer::getDebugMode.";return a.getDebugMode()},function(a,b,e,f,g,n,A,Q){a=d.getCache(d.ConcreteContactResultCallback)[a];if(!a.hasOwnProperty("addSingleResult"))throw"a JSImplementation must implement all functions, you forgot ConcreteContactResultCallback::addSingleResult.";return a.addSingleResult(b,e,f,g,n,A,Q)}];Da.push({Da:function(){Oa()}}); +La="data:application/octet-stream;base64,AAAAAAAAAAARAAoAERERAAAAAAUAAAAAAAAJAAAAAAsAAAAAAAAAABEADwoREREDCgcAARMJCwsAAAkGCwAACwAGEQAAABEREQAAAAAAAAAAAAAAAAAAAAALAAAAAAAAAAARAAoKERERAAoAAAIACQsAAAAJAAsAAAsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAAAAAAAAAAAAADAAAAAAMAAAAAAkMAAAAAAAMAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAA0AAAAEDQAAAAAJDgAAAAAADgAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAPAAAAAA8AAAAACRAAAAAAABAAABAAABIAAAASEhIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEgAAABISEgAAAAAAAAkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAsAAAAAAAAAAAAAAAoAAAAACgAAAAAJCwAAAAAACwAACwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAAAAAAAAAMAAAAAAwAAAAACQwAAAAAAAwAAAwAADAxMjM0NTY3ODlBQkNERUZUISIZDQECAxFLHAwQBAsdEh4naG5vcHFiIAUGDxMUFRoIFgcoJBcYCQoOGx8lI4OCfSYqKzw9Pj9DR0pNWFlaW1xdXl9gYWNkZWZnaWprbHJzdHl6e3wAAAAAAAAAAABJbGxlZ2FsIGJ5dGUgc2VxdWVuY2UARG9tYWluIGVycm9yAFJlc3VsdCBub3QgcmVwcmVzZW50YWJsZQBOb3QgYS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X19zaV9jbGFzc190eXBlX2luZm9FAE4xMF9fY3h4YWJpdjExN19fY2xhc3NfdHlwZV9pbmZvRQBwdGhyZWFkX29uY2UgZmFpbHVyZSBpbiBfX2N4YV9nZXRfZ2xvYmFsc19mYXN0KCkAY2Fubm90IGNyZWF0ZSBwdGhyZWFkIGtleSBmb3IgX19jeGFfZ2V0X2dsb2JhbHMoKQBjYW5ub3QgemVybyBvdXQgdGhyZWFkIHZhbHVlIGZvciBfX2N4YV9nZXRfZ2xvYmFscygpAHRlcm1pbmF0ZV9oYW5kbGVyIHVuZXhwZWN0ZWRseSByZXR1cm5lZABOMTBfX2N4eGFiaXYxMTlfX3BvaW50ZXJfdHlwZV9pbmZvRQBOMTBfX2N4eGFiaXYxMTdfX3BiYXNlX3R5cGVfaW5mb0UATjEwX19jeHhhYml2MTIxX192bWlfY2xhc3NfdHlwZV9pbmZvRQ=="; +function Pa(){return!!Pa.Vf}var Qa=0,Ra=[],Sa={};function Ta(){var a=Qa;if(!a)return ra=0;var b=Sa[a],e=b.type;if(!e)return ra=0,a|0;var f=Array.prototype.slice.call(arguments);d.___cxa_is_pointer_type(e);Ta.buffer||(Ta.buffer=Ua(4));xa[Ta.buffer>>2]=a;a=Ta.buffer;for(var g=0;g>2],b.Aa.push(a),ra=f[g],a|0;a=xa[a>>2];ra=e;return a|0}var Va=[null,[],[]]; +function Wa(a,b){var e=Va[a];assert(e);0===b||10===b?((1===a?pa:qa)(ua(e,0)),e.length=0):e.push(b)}var Xa=0;function Ya(){Xa+=4;return xa[Xa-4>>2]}var Za={},$a={},ab=1;function bb(a,b){bb.pa||(bb.pa={});a in bb.pa||(d.dynCall_v(b),bb.pa[a]=1)}var cb=!1;function oa(a){for(var b=[],e=0;e>4; +g=(g&15)<<4|n>>2;var Q=(n&3)<<6|A;b+=String.fromCharCode(f);64!==n&&(b+=String.fromCharCode(g));64!==A&&(b+=String.fromCharCode(Q))}while(e>2]=a);return a},n:function(a,b){Xa=b;try{var e=Za.Ea();Ya();var f=Ya(),g=Ya(),n=Ya();(void 0).Wf(e,f,n);xa[g>>2]=e.position;e.nd&&0===f&&0===n&&(e.nd=null);return 0}catch(A){return na(A),-A.ya}},o:function(a,b){Xa=b;try{var e=Ya(),f=Ya(),g=Ya();for(b=a=0;b>2],A=xa[f+(8*b+4)>>2],Q=0;Q>2]=b/1E3|0;xa[a+4>>2]=b%1E3*1E3|0;return 0},B:function(){na("trap!")}, +C:function(a){return $a[a]||0},D:function(a){if(0==a)return 22;xa[a>>2]=ab;$a[ab]=0;ab++;return 0},E:bb,F:function(a,b){if(!(a in $a))return 22;$a[a]=b;return 0},G:function(){var a=d._fflush;a&&a(0);Va[1].length&&Wa(1,10);Va[2].length&&Wa(2,10)},H:29344,I:29584};// EMSCRIPTEN_START_ASM +var h=(/** @suppress {uselessCode} */ function(global,env,buffer) { +"use asm";var a=new global.Int8Array(buffer);var b=new global.Int16Array(buffer);var c=new global.Int32Array(buffer);var d=new global.Uint8Array(buffer);var e=new global.Uint16Array(buffer);var f=new global.Uint32Array(buffer);var g=new global.Float32Array(buffer);var h=new global.Float64Array(buffer);var i=env.H|0;var j=env.I|0;var k=0;var l=0;var m=0;var n=0;var o=global.NaN,p=global.Infinity;var q=0,r=0,s=0,t=0,u=0.0;var v=global.Math.floor;var w=global.Math.abs;var x=global.Math.sqrt;var y=global.Math.pow;var z=global.Math.cos;var A=global.Math.sin;var B=global.Math.tan;var C=global.Math.acos;var D=global.Math.asin;var E=global.Math.atan;var F=global.Math.atan2;var G=global.Math.exp;var H=global.Math.log;var I=global.Math.ceil;var J=global.Math.imul;var K=global.Math.min;var L=global.Math.max;var M=global.Math.clz32;var N=env.a;var O=env.b;var P=env.c;var Q=env.d;var R=env.e;var S=env.f;var T=env.g;var U=env.h;var V=env.i;var W=env.j;var X=env.k;var Y=env.l;var Z=env.m;var _=env.n;var $=env.o;var aa=env.p;var ba=env.q;var ca=env.r;var da=env.s;var ea=env.t;var fa=env.u;var ga=env.v;var ha=env.w;var ia=env.x;var ja=env.y;var ka=env.z;var la=env.A;var ma=env.B;var na=env.C;var oa=env.D;var pa=env.E;var qa=env.F;var ra=env.G;var sa=29600;var ta=5272480;var ua=0.0; +// EMSCRIPTEN_START_FUNCS +function te(b,d){b=b|0;d=+d;var e=0,f=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0,q=0,r=0,s=0.0;r=sa;sa=sa+16|0;Ki(16515);e=c[b+232>>2]|0;if((e|0)>0){q=0;do{p=c[(c[b+240>>2]|0)+(q<<2)>>2]|0;if(!(c[p+204>>2]&3)){n=+g[p+444>>2];h=+y(+(1.0-n),+d);i=+g[p+312>>2]*h;g[p+312>>2]=i;f=h*+g[p+316>>2];g[p+316>>2]=f;h=h*+g[p+320>>2];g[p+320>>2]=h;o=+g[p+448>>2];k=+y(+(1.0-o),+d);j=+g[p+328>>2]*k;g[p+328>>2]=j;l=k*+g[p+332>>2];g[p+332>>2]=l;k=k*+g[p+336>>2];g[p+336>>2]=k;do if(a[p+452>>0]|0){if(j*j+l*l+k*k<+g[p+464>>2]?i*i+f*f+h*h<+g[p+460>>2]:0){s=+g[p+456>>2];g[p+328>>2]=j*s;g[p+332>>2]=l*s;g[p+336>>2]=k*s;g[p+312>>2]=i*s;g[p+316>>2]=f*s;g[p+320>>2]=h*s;f=f*s;m=h*s;j=j*s;l=l*s;k=k*s;i=i*s}else m=h;h=+x(+(i*i+f*f+m*m));do if(h.004999999888241291){g[p+312>>2]=i-i*(1.0/h)*.004999999888241291;g[p+316>>2]=f-f*(1.0/h)*.004999999888241291;g[p+320>>2]=m-m*(1.0/h)*.004999999888241291;break}else{c[p+312>>2]=0;c[p+312+4>>2]=0;c[p+312+8>>2]=0;c[p+312+12>>2]=0;break}while(0);f=+x(+(j*j+l*l+k*k));if(f.004999999888241291){g[p+328>>2]=j-j*(1.0/f)*.004999999888241291;g[p+332>>2]=l-l*(1.0/f)*.004999999888241291;g[p+336>>2]=k-k*(1.0/f)*.004999999888241291;break}else{c[p+328>>2]=0;c[p+328+4>>2]=0;c[p+328+8>>2]=0;c[p+328+12>>2]=0;break}}while(0);jg(p+4|0,+g[p+312>>2],+g[p+316>>2],+g[p+320>>2],p+328|0,d,p+68|0);e=c[b+232>>2]|0}q=q+1|0}while((q|0)<(e|0))}e=c[3084]|0;b=(c[e+16>>2]|0)+-1|0;c[e+16>>2]=b;if(b|0){sa=r;return}do if(c[e+4>>2]|0){la(r|0,0)|0;b=c[7181]|0;g[e+8>>2]=+g[e+8>>2]+ +(((c[r+4>>2]|0)-(c[b+4>>2]|0)+(((c[r>>2]|0)-(c[b>>2]|0)|0)*1e6|0)-(c[e+12>>2]|0)|0)>>>0)/1.0e3;if(!(c[e+16>>2]|0)){e=c[3084]|0;break}else{sa=r;return}}while(0);c[3084]=c[e+20>>2];sa=r;return}function ue(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0,h=0,i=0,j=0.0,k=0.0,l=0,m=0,n=0.0;if(!(c[a>>2]|0)){c[a>>2]=d;c[d+32>>2]=0;return}f=c[b+40>>2]|0;if(!f)l=b;else{e=+g[d>>2]+ +g[d+16>>2];j=+g[d+4>>2]+ +g[d+20>>2];k=+g[d+8>>2]+ +g[d+24>>2];do{m=c[b+36>>2]|0;n=+w(+(e-(+g[m>>2]+ +g[m+16>>2])))+ +w(+(j-(+g[m+4>>2]+ +g[m+20>>2])))+ +w(+(k-(+g[m+8>>2]+ +g[m+24>>2])));b=c[b+36+((!(n<+w(+(e-(+g[f>>2]+ +g[f+16>>2])))+ +w(+(j-(+g[f+4>>2]+ +g[f+20>>2])))+ +w(+(k-(+g[f+8>>2]+ +g[f+24>>2]))))&1)<<2)>>2]|0;f=c[b+40>>2]|0}while((f|0)!=0);l=b}m=l+32|0;h=c[m>>2]|0;b=c[a+4>>2]|0;if(!b){c[7182]=(c[7182]|0)+1;b=xb(63)|0;if(!b)b=0;else{c[(b+4+15&-16)+-4>>2]=b;b=b+4+15&-16}f=b;i=f+44|0;do{c[f>>2]=0;f=f+4|0}while((f|0)<(i|0))}else c[a+4>>2]=0;c[b+32>>2]=h;c[b+36>>2]=0;f=b+40|0;c[f>>2]=0;n=+g[d>>2];k=+g[l>>2];g[b>>2]=n>2];n=+g[l+16>>2];g[b+16>>2]=k>n?k:n;n=+g[d+4>>2];k=+g[l+4>>2];g[b+4>>2]=n>2];n=+g[l+20>>2];g[b+20>>2]=k>n?k:n;n=+g[d+8>>2];k=+g[l+8>>2];g[b+8>>2]=n>2];n=+g[l+24>>2];g[b+24>>2]=k>n?k:n;if(!h){c[b+36>>2]=l;c[m>>2]=b;c[f>>2]=d;c[d+32>>2]=b;c[a>>2]=b;return}c[h+36+(((c[(c[m>>2]|0)+40>>2]|0)==(l|0)&1)<<2)>>2]=b;c[b+36>>2]=l;c[m>>2]=b;c[f>>2]=d;c[d+32>>2]=b;f=b;e=+g[b>>2];while(1){b=h+4|0;if(((((+g[h>>2]<=e?+g[b>>2]<=+g[f+4>>2]:0)?+g[h+8>>2]<=+g[f+8>>2]:0)?+g[h+16>>2]>=+g[f+16>>2]:0)?+g[h+20>>2]>=+g[f+20>>2]:0)?+g[h+24>>2]>=+g[f+24>>2]:0){b=21;break}a=c[h+36>>2]|0;d=c[h+40>>2]|0;k=+g[a>>2];e=+g[d>>2];e=k>2]=e;k=+g[a+16>>2];n=+g[d+16>>2];g[h+16>>2]=k>n?k:n;n=+g[a+4>>2];k=+g[d+4>>2];g[b>>2]=n>2];n=+g[d+20>>2];g[h+20>>2]=k>n?k:n;n=+g[a+8>>2];k=+g[d+8>>2];g[h+8>>2]=n>2];n=+g[d+24>>2];g[h+24>>2]=k>n?k:n;b=c[h+32>>2]|0;if(!b){b=21;break}else{f=h;h=b}}if((b|0)==21)return}function ve(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;c[b+16>>2]=c[a+4>>2];c[b+20>>2]=c[a+8>>2];c[b+24>>2]=c[a+12>>2];c[b+28>>2]=c[a+16>>2];c[b+32>>2]=c[a+20>>2];c[b+36>>2]=c[a+24>>2];c[b+40>>2]=c[a+28>>2];c[b+44>>2]=c[a+32>>2];c[b+48>>2]=c[a+36>>2];c[b+52>>2]=c[a+40>>2];c[b+56>>2]=c[a+44>>2];c[b+60>>2]=c[a+48>>2];c[b+64>>2]=c[a+52>>2];c[b+68>>2]=c[a+56>>2];c[b+72>>2]=c[a+60>>2];c[b+76>>2]=c[a+64>>2];c[b+80>>2]=c[a+68>>2];c[b+84>>2]=c[a+72>>2];c[b+88>>2]=c[a+76>>2];c[b+92>>2]=c[a+80>>2];c[b+96>>2]=c[a+84>>2];c[b+100>>2]=c[a+88>>2];c[b+104>>2]=c[a+92>>2];c[b+108>>2]=c[a+96>>2];c[b+112>>2]=c[a+100>>2];c[b+116>>2]=c[a+104>>2];c[b+120>>2]=c[a+108>>2];c[b+124>>2]=c[a+112>>2];c[b+128>>2]=c[a+116>>2];c[b+132>>2]=c[a+120>>2];c[b+136>>2]=c[a+124>>2];c[b+140>>2]=c[a+128>>2];c[b+144>>2]=c[a+132>>2];c[b+148>>2]=c[a+136>>2];c[b+152>>2]=c[a+140>>2];c[b+156>>2]=c[a+144>>2];c[b+160>>2]=c[a+148>>2];c[b+164>>2]=c[a+152>>2];c[b+168>>2]=c[a+156>>2];c[b+172>>2]=c[a+160>>2];c[b+176>>2]=c[a+164>>2];c[b+180>>2]=c[a+168>>2];c[b+184>>2]=c[a+172>>2];c[b+188>>2]=c[a+176>>2];c[b+224>>2]=c[a+180>>2];c[b+192>>2]=c[a+184>>2];c[b>>2]=0;c[b+4>>2]=Ha[c[(c[d>>2]|0)+28>>2]&31](d,c[a+192>>2]|0)|0;c[b+8>>2]=0;c[b+228>>2]=c[a+204>>2];c[b+232>>2]=c[a+208>>2];c[b+236>>2]=c[a+212>>2];c[b+240>>2]=c[a+216>>2];c[b+196>>2]=c[a+220>>2];c[b+200>>2]=c[a+224>>2];c[b+204>>2]=c[a+232>>2];c[b+208>>2]=c[a+228>>2];c[b+244>>2]=c[a+236>>2];e=Ha[c[(c[d>>2]|0)+40>>2]&31](d,a)|0;f=Ha[c[(c[d>>2]|0)+28>>2]&31](d,e)|0;c[b+12>>2]=f;if(!f){f=a+244|0;f=c[f>>2]|0;d=b+212|0;c[d>>2]=f;d=a+248|0;d=c[d>>2]|0;f=b+216|0;c[f>>2]=d;f=a+252|0;f=c[f>>2]|0;d=b+220|0;c[d>>2]=f;d=a+256|0;d=c[d>>2]|0;f=b+248|0;c[f>>2]=d;return 17495}Va[c[(c[d>>2]|0)+48>>2]&127](d,e);f=a+244|0;f=c[f>>2]|0;d=b+212|0;c[d>>2]=f;d=a+248|0;d=c[d>>2]|0;f=b+216|0;c[f>>2]=d;f=a+252|0;f=c[f>>2]|0;d=b+220|0;c[d>>2]=f;d=a+256|0;d=c[d>>2]|0;f=b+248|0;c[f>>2]=d;return 17495}function we(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0;a:do if(!(RC(b,c[d+8>>2]|0)|0)){if(!(RC(b,c[d>>2]|0)|0)){i=c[b+12>>2]|0;wn(b+16|0,d,e,f,g);if((i|0)<=1)break;h=c[b+8>>2]|0;if((h&2|0)==0?(c[d+36>>2]|0)!=1:0){if(!(h&1)){h=b+24|0;while(1){if(a[d+54>>0]|0)break a;if((c[d+36>>2]|0)==1)break a;wn(h,d,e,f,g);h=h+8|0;if(h>>>0>=(b+16+(i<<3)|0)>>>0)break a}}h=b+24|0;while(1){if(a[d+54>>0]|0)break a;if((c[d+36>>2]|0)==1?(c[d+24>>2]|0)==1:0)break a;wn(h,d,e,f,g);h=h+8|0;if(h>>>0>=(b+16+(i<<3)|0)>>>0)break a}}h=b+24|0;while(1){if(a[d+54>>0]|0)break a;wn(h,d,e,f,g);h=h+8|0;if(h>>>0>=(b+16+(i<<3)|0)>>>0)break a}}if((c[d+16>>2]|0)!=(e|0)?(c[d+20>>2]|0)!=(e|0):0){c[d+32>>2]=f;if((c[d+44>>2]|0)==4)break;j=b+16+(c[b+12>>2]<<3)|0;h=0;i=b+16|0;k=0;b:while(1){if(i>>>0>=j>>>0){f=18;break}a[d+52>>0]=0;a[d+53>>0]=0;dn(i,d,e,e,1,g);if(a[d+54>>0]|0){f=18;break}do if(a[d+53>>0]|0){if(!(a[d+52>>0]|0))if(!(c[b+8>>2]&1)){h=1;f=18;break b}else{h=1;f=k;break}if((c[d+24>>2]|0)==1){f=23;break b}if(!(c[b+8>>2]&2)){f=23;break b}else{h=1;f=1}}else f=k;while(0);i=i+8|0;k=f}do if((f|0)==18){if((!k?(c[d+20>>2]=e,c[d+40>>2]=(c[d+40>>2]|0)+1,(c[d+36>>2]|0)==1):0)?(c[d+24>>2]|0)==2:0){a[d+54>>0]=1;if(h){f=23;break}else{h=4;break}}if(h)f=23;else h=4}while(0);if((f|0)==23)h=3;c[d+44>>2]=h;break}if((f|0)==1)c[d+32>>2]=1}else Er(d,e,f);while(0);return}function xe(b,d){b=b|0;d=d|0;var e=0,f=0.0,h=0.0,i=0.0,k=0,l=0.0,m=0.0;if(a[b+48>>0]|0){c[d>>2]=0;c[d+4>>2]=0;return}c[d>>2]=4;c[d+4>>2]=2;kc(b,(c[b+28>>2]|0)+4|0,(c[b+32>>2]|0)+4|0);g[b+1088>>2]=0.0;a[b+297>>0]=0;l=+g[b+192>>2];m=+g[b+196>>2];do if(l<=m){h=+g[b+892>>2];i=+g[b+908>>2];f=+g[b+924>>2];f=+F(+(+g[b+832>>2]*h+ +g[b+848>>2]*i+ +g[b+864>>2]*f),+(+g[b+828>>2]*h+ +g[b+844>>2]*i+ +g[b+860>>2]*f));do if(!(l>=m)){if(f3.1415927410125732)h=(l-f)%6.2831854820251465+-6.2831854820251465;else h=(l-f)%6.2831854820251465;else h=(l-f)%6.2831854820251465+6.2831854820251465;i=+w(+h);if(!((m-f)%6.2831854820251465<-3.1415927410125732))if((m-f)%6.2831854820251465>3.1415927410125732)h=(m-f)%6.2831854820251465+-6.2831854820251465;else h=(m-f)%6.2831854820251465;else h=(m-f)%6.2831854820251465+6.2831854820251465;k=i<+w(+h);f=k?f:f+6.2831854820251465;break}if(f>m){if(!((f-m)%6.2831854820251465<-3.1415927410125732))if((f-m)%6.2831854820251465>3.1415927410125732)h=(f-m)%6.2831854820251465+-6.2831854820251465;else h=(f-m)%6.2831854820251465;else h=(f-m)%6.2831854820251465+6.2831854820251465;i=+w(+h);if(!((f-l)%6.2831854820251465<-3.1415927410125732))if((f-l)%6.2831854820251465>3.1415927410125732)h=(f-l)%6.2831854820251465+-6.2831854820251465;else h=(f-l)%6.2831854820251465;else h=(f-l)%6.2831854820251465+6.2831854820251465;k=+w(+h)>2]=f;if(f>2]=f-l;a[b+297>>0]=1;k=1;break}if(f>m){g[b+1088>>2]=f-m;a[b+297>>0]=1;k=1}else k=0}else k=0;while(0);a[b+296>>0]=0;e=c[b+1032>>2]|0;c[b+1080>>2]=e;f=+g[b+184>>2];h=+g[b+188>>2];i=(c[j>>2]=e,+g[j>>2]);do if(!(f<=h))e=32;else{if(!(hi)){e=32;break}}else f=h;g[b+1032>>2]=i-f;a[b+296>>0]=1;e=34}while(0);if((e|0)==32?(g[b+1032>>2]=0.0,a[b+1096>>0]|0):0)e=34;if((e|0)==34){c[d>>2]=(c[d>>2]|0)+1;c[d+4>>2]=(c[d+4>>2]|0)+-1}if(k<<24>>24==0?(a[b+1112>>0]|0)==0:0)return;c[d>>2]=(c[d>>2]|0)+1;c[d+4>>2]=(c[d+4>>2]|0)+-1;return}function ye(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0.0,h=0.0,i=0.0,j=0.0,k=0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0;k=sa;sa=sa+128|0;a=c[a+16>>2]|0;n=+g[a+892>>2];x=+g[a+896>>2];y=+g[a+900>>2];w=+g[a+908>>2];l=+g[a+912>>2];h=+g[a+916>>2];v=+g[b>>2];u=+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(h<+g[d+4>>2])g[d+4>>2]=h;i=+g[k+(a<<4)+8>>2];if(i<+g[d+8>>2])g[d+8>>2]=i;j=+g[k+(a<<4)+12>>2];if(j<+g[d+12>>2])g[d+12>>2]=j;if(+g[e>>2]>2]=f;if(+g[e+4>>2]>2]=h;if(+g[e+8>>2]>2]=i;if(+g[e+12>>2]>2]=j;a=a+1|0}while((a|0)!=8);sa=k;return}function ze(b,d){b=b|0;d=d|0;var e=0.0,f=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0,r=0;q=sa;sa=sa+64|0;dg(c[b+116>>2]|0,d,0);e=+g[d+204>>2]+ +g[d+212>>2];o=e*+g[d+56>>2]+ +g[d+40>>2];p=e*+g[d+60>>2]+ +g[d+44>>2];g[d+16>>2]=+g[d+52>>2]*e+ +g[d+36>>2];g[d+20>>2]=o;g[d+24>>2]=p;g[d+28>>2]=0.0;g[q+32>>2]=-1.0;r=c[b+100>>2]|0;r=Ka[c[(c[r>>2]|0)+8>>2]&31](r,d+36|0,d+16|0,q)|0;c[d+88>>2]=0;if(!r){c[d+32>>2]=c[d+204>>2];g[d+272>>2]=0.0;o=-+g[d+56>>2];p=-+g[d+60>>2];g[d>>2]=-+g[d+52>>2];g[d+4>>2]=o;g[d+8>>2]=p;g[d+12>>2]=0.0;p=-1.0;o=1.0;r=d+268|0;g[r>>2]=o;sa=q;return +p}p=e*+g[q+32>>2];c[d>>2]=c[q+16>>2];c[d+4>>2]=c[q+16+4>>2];c[d+8>>2]=c[q+16+8>>2];c[d+12>>2]=c[q+16+12>>2];a[d+84>>0]=1;if((a[26712]|0)==0?mz(26712)|0:0){c[q+40>>2]=0;c[q+40+4>>2]=0;c[q+40+8>>2]=0;c[q+40+12>>2]=0;Cf(28012,0.0,0,0,q+40|0)}c[7054]=c[7054]|1;g[7089]=0.0;o=+g[7099]*0.0;e=+g[7100]*0.0;g[7094]=+g[7098]*0.0;g[7095]=o;g[7096]=e;g[7097]=0.0;c[7102]=0;c[7103]=0;c[7104]=0;c[7105]=0;e=+g[7091]*0.0;o=+g[7092]*0.0;g[7143]=+g[7090]*0.0;g[7144]=e;g[7145]=o;g[7146]=0.0;c[d+88>>2]=28012;o=p-+g[d+212>>2];g[d+32>>2]=o;e=+g[d+204>>2];f=+g[d+208>>2]*.009999999776482582;h=oe+f)g[d+32>>2]=h>e+f?e+f:h;c[d+16>>2]=c[q>>2];c[d+16+4>>2]=c[q+4>>2];c[d+16+8>>2]=c[q+8>>2];c[d+16+12>>2]=c[q+12>>2];l=+g[d>>2];m=+g[d+4>>2];n=+g[d+8>>2];o=l*+g[d+52>>2]+m*+g[d+56>>2]+n*+g[d+60>>2];b=c[b+116>>2]|0;h=+g[d+16>>2]-+g[b+52>>2];i=+g[d+20>>2]-+g[b+56>>2];j=+g[d+24>>2]-+g[b+60>>2];k=+g[b+332>>2];e=+g[b+336>>2];f=+g[b+328>>2];if(!(o>=-.10000000149011612)){g[d+272>>2]=-1.0/o*(l*(k*j-i*e+ +g[b+312>>2])+m*(h*e-j*f+ +g[b+316>>2])+n*(i*f-h*k+ +g[b+320>>2]));o=-1.0/o;r=d+268|0;g[r>>2]=o;sa=q;return +p}else{g[d+272>>2]=0.0;o=10.0;r=d+268|0;g[r>>2]=o;sa=q;return +p}return 0.0}function Ae(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0;u=+g[b>>2];t=+g[b+4>>2];s=+g[b+8>>2];r=1.0/+x(+(u*u+t*t+s*s));z=+g[d>>2];y=+g[d+4>>2];w=+g[d+8>>2];v=1.0/+x(+(z*z+y*y+w*w));C=s*r*y*v-t*r*w*v;B=u*r*w*v-s*r*z*v;A=t*r*z*v-u*r*y*v;d=c[a+28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*0.0+o*0.0+(q*j+p*h+o*e);g[a+164>>2]=n*0.0+m*0.0+l*0.0+(n*j+m*h+l*e);g[a+168>>2]=k*0.0+i*0.0+f*0.0+(k*j+i*h+f*e);g[a+172>>2]=0.0;tc(a,(c[a+28>>2]|0)+4|0,(c[a+32>>2]|0)+4|0);return}function Be(b){b=b|0;var d=0.0,e=0.0,f=0.0,h=0,i=0,j=0,k=0;h=sa;sa=sa+16|0;if(!(a[b+1308>>0]|0)){sa=h;return}g[b+928>>2]=0.0;g[b+992>>2]=0.0;g[b+1056>>2]=0.0;c[b+712>>2]=0;c[b+712+4>>2]=0;c[b+712+8>>2]=0;c[b+712+12>>2]=0;tc(b,(c[b+28>>2]|0)+4|0,(c[b+32>>2]|0)+4|0);Pa[c[(c[b>>2]|0)+44>>2]&511](b);d=+g[b+1284>>2];e=+g[b+1288>>2];f=+g[b+1292>>2];if(+g[b+696>>2]>=+g[b+680>>2]){k=(a[b+1300>>0]|0)==0;i=c[(k?b+1160|0:b+1096|0)>>2]|0;j=c[(k?b+1144|0:b+1080|0)>>2]|0;c[h>>2]=c[(k?b+1128|0:b+1064|0)>>2];c[h+4>>2]=j;c[h+8>>2]=i;g[h+12>>2]=0.0;Vg(c[b+28>>2]|0,c[b+32>>2]|0,b+176|0,h,d,e,f,d,e,f)}if(+g[b+700>>2]>=+g[b+684>>2]){i=(a[b+1300>>0]|0)==0;k=c[(i?b+1164|0:b+1100|0)>>2]|0;j=c[(i?b+1148|0:b+1084|0)>>2]|0;c[h>>2]=c[(i?b+1132|0:b+1068|0)>>2];c[h+4>>2]=j;c[h+8>>2]=k;g[h+12>>2]=0.0;Vg(c[b+28>>2]|0,c[b+32>>2]|0,b+260|0,h,d,e,f,d,e,f)}if(+g[b+704>>2]>=+g[b+688>>2]){i=(a[b+1300>>0]|0)==0;k=c[(i?b+1168|0:b+1104|0)>>2]|0;j=c[(i?b+1152|0:b+1088|0)>>2]|0;c[h>>2]=c[(i?b+1136|0:b+1072|0)>>2];c[h+4>>2]=j;c[h+8>>2]=k;g[h+12>>2]=0.0;Vg(c[b+28>>2]|0,c[b+32>>2]|0,b+344|0,h,d,e,f,d,e,f)}if(of(b,0)|0){c[h>>2]=c[b+1208>>2];c[h+4>>2]=c[b+1208+4>>2];c[h+8>>2]=c[b+1208+8>>2];c[h+12>>2]=c[b+1208+12>>2];_f(c[b+28>>2]|0,c[b+32>>2]|0,b+428|0,h)}if(of(b,1)|0){c[h>>2]=c[b+1224>>2];c[h+4>>2]=c[b+1224+4>>2];c[h+8>>2]=c[b+1224+8>>2];c[h+12>>2]=c[b+1224+12>>2];_f(c[b+28>>2]|0,c[b+32>>2]|0,b+512|0,h)}if(of(b,2)|0){c[h>>2]=c[b+1240>>2];c[h+4>>2]=c[b+1240+4>>2];c[h+8>>2]=c[b+1240+8>>2];c[h+12>>2]=c[b+1240+12>>2];_f(c[b+28>>2]|0,c[b+32>>2]|0,b+596|0,h)}sa=h;return}function Ce(a,b){a=a|0;b=b|0;var d=0,e=0.0,f=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,x=0.0,y=0,z=0;d=c[a+748>>2]|0;if((d|0)!=4){c[a+748>>2]=d+1;z=d;y=(z|0)>0;z=y?z:0;a=a+4+(z*184|0)|0;Bh(a|0,b|0,184)|0;return z|0}k=+g[b+80>>2];x=+g[a+84>>2];v=x>2];t=u>2];z=+g[a+636>>2]<(s>31;k=+g[b>>2];if(d){n=+g[a+188>>2];h=+g[b+4>>2];q=+g[a+192>>2];j=+g[b+8>>2];p=+g[a+196>>2];m=+g[a+556>>2];s=+g[a+372>>2];f=+g[a+560>>2];o=+g[a+376>>2];e=+g[a+564>>2];l=+g[a+380>>2];i=((k-n)*(f-o)-(h-q)*(m-s))*((k-n)*(f-o)-(h-q)*(m-s))+(((h-q)*(e-l)-(j-p)*(f-o))*((h-q)*(e-l)-(j-p)*(f-o))+((j-p)*(m-s)-(k-n)*(e-l))*((j-p)*(m-s)-(k-n)*(e-l)));if((d|0)==1){k=k-+g[a+4>>2];u=h-+g[a+8>>2];t=j-+g[a+12>>2];h=0.0;j=p;y=7}else{t=m-s;u=f-o;r=e-l;y=6}}else{m=+g[a+556>>2];s=+g[a+372>>2];f=+g[a+560>>2];o=+g[a+376>>2];e=+g[a+564>>2];l=+g[a+380>>2];t=m-s;u=f-o;r=e-l;n=+g[a+188>>2];q=+g[a+192>>2];p=+g[a+196>>2];i=0.0;h=+g[b+4>>2];j=+g[b+8>>2];y=6}if((y|0)==6){k=k-+g[a+4>>2];h=h-+g[a+8>>2];j=j-+g[a+12>>2];x=h*r-j*u;v=j*t-k*r;r=k*u-h*t;if((d|0)==2){u=h;t=j;m=o;j=p;f=l;e=0.0;h=r*r+(x*x+v*v);y=8}else{u=h;t=j;h=r*r+(x*x+v*v);j=p;y=7}}if((y|0)==7){p=m-n;x=f-q;e=e-j;r=u*e-t*x;e=t*p-k*e;p=k*x-u*p;if(z){e=p*p+(r*r+e*e);f=0.0}else{m=o;f=l;e=p*p+(r*r+e*e);y=8}}if((y|0)==8){v=s-n;s=m-q;f=f-j;x=u*f-t*s;f=t*v-k*f;v=k*s-u*v;f=v*v+(x*x+f*f)}x=+w(+i);u=+w(+h);s=+w(+e);r=+w(+f);v=x>-999999984306749440.0?x:-999999984306749440.0;t=u>v?u:v;z=r>(s>t?s:t)?3:s>t?2:u>v?1:(x>-999999984306749440.0^1)<<31>>31;y=(z|0)>0;z=y?z:0;a=a+4+(z*184|0)|0;Bh(a|0,b|0,184)|0;return z|0}function De(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;c[7160]=(c[7160]|0)+1;g=c[d+24>>2]|0;if(!g){if(!((b[f+6>>1]&b[e+4>>1])<<16>>16)){d=0;return d|0}if(!((b[e+6>>1]&b[f+4>>1])<<16>>16)){d=0;return d|0}}else if(!(Ja[c[(c[g>>2]|0)+8>>2]&63](g,e,f)|0)){d=0;return d|0}l=(c[e+12>>2]|0)>(c[f+12>>2]|0);m=l?f:e;i=c[m+12>>2]|0;l=l?e:f;f=c[l+12>>2]|0;j=(f<<16|i)+~((f<<16|i)<<15)|0;j=((10?j>>10:j)^j)*9|0;j=(6?j>>6:j)^j;j=(16?j+~(j<<11)>>16:j+~(j<<11)|0)^j+~(j<<11);k=c[d+12>>2]|0;g=c[(c[d+44>>2]|0)+((j&k+-1)<<2)>>2]|0;a:do if((g|0)!=-1){h=c[d+16>>2]|0;e=g;while(1){g=h+(e<<4)|0;if((c[(c[g>>2]|0)+12>>2]|0)==(i|0)?(c[(c[h+(e<<4)+4>>2]|0)+12>>2]|0)==(f|0):0)break;e=c[(c[d+64>>2]|0)+(e<<2)>>2]|0;if((e|0)==-1)break a}return g|0}while(0);i=c[d+8>>2]|0;if((i|0)==(k|0)){h=(k|0)==0?1:k<<1;if((k|0)<(h|0)){if(!h){g=0;f=k}else{c[7182]=(c[7182]|0)+1;g=xb((h<<4|3)+16|0)|0;if(!g)g=0;else{c[(g+4+15&-16)+-4>>2]=g;g=g+4+15&-16}f=c[d+8>>2]|0}if((f|0)>0){e=0;do{n=c[d+16>>2]|0;c[g+(e<<4)>>2]=c[n+(e<<4)>>2];c[g+(e<<4)+4>>2]=c[n+(e<<4)+4>>2];c[g+(e<<4)+8>>2]=c[n+(e<<4)+8>>2];c[g+(e<<4)+12>>2]=c[n+(e<<4)+12>>2];e=e+1|0}while((e|0)!=(f|0))}e=c[d+16>>2]|0;if(e|0){if(a[d+20>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[e+-4>>2]|0)}c[d+16>>2]=0}a[d+20>>0]=1;c[d+16>>2]=g;c[d+12>>2]=h;e=c[d+8>>2]|0;g=h}else{e=k;g=k}}else{e=i;g=k}c[d+8>>2]=e+1;f=c[d+16>>2]|0;e=c[d+72>>2]|0;if(e){Ja[c[(c[e>>2]|0)+8>>2]&63](e,m,l)|0;g=c[d+12>>2]|0}if((k|0)<(g|0)){Re(d);g=(c[d+12>>2]|0)+-1&j}else g=j&k+-1;n=(c[m+12>>2]|0)<(c[l+12>>2]|0);c[f+(i<<4)>>2]=n?m:l;c[f+(i<<4)+4>>2]=n?l:m;c[f+(i<<4)+8>>2]=0;c[f+(i<<4)+8+4>>2]=0;n=(c[d+44>>2]|0)+(g<<2)|0;c[(c[d+64>>2]|0)+(i<<2)>>2]=c[n>>2];c[n>>2]=i;n=f+(i<<4)|0;return n|0}function Ee(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=sa;sa=sa+32|0;a[p+16>>0]=1;c[p+12>>2]=0;c[p+4>>2]=0;c[p+8>>2]=0;if((c[b+8>>2]|0)>0){l=0;g=0;h=0;e=0;f=0;while(1){m=c[b+16>>2]|0;n=m+(l<<4)|0;if((g|0)==(f|0)){k=(f|0)==0?1:f<<1;if((f|0)<(k|0)){if(k){c[7182]=(c[7182]|0)+1;e=xb((k<<4|3)+16|0)|0;if(!e){h=0;f=g}else{c[(e+4+15&-16)+-4>>2]=e;h=e+4+15&-16;f=g}}else h=0;if((f|0)>0){e=0;do{j=c[p+12>>2]|0;c[h+(e<<4)>>2]=c[j+(e<<4)>>2];c[h+(e<<4)+4>>2]=c[j+(e<<4)+4>>2];c[h+(e<<4)+8>>2]=c[j+(e<<4)+8>>2];c[h+(e<<4)+12>>2]=c[j+(e<<4)+12>>2];e=e+1|0}while((e|0)!=(f|0))}e=c[p+12>>2]|0;if(!e)g=f;else{if(!(a[p+16>>0]|0))g=f;else{c[7183]=(c[7183]|0)+1;Hc(c[e+-4>>2]|0)}c[p+12>>2]=0}a[p+16>>0]=1;c[p+12>>2]=h;j=k;i=g;e=k}else{j=f;i=f}}else{j=f;i=g}c[h+(i<<4)>>2]=c[n>>2];c[h+(i<<4)+4>>2]=c[m+(l<<4)+4>>2];c[h+(i<<4)+8>>2]=c[m+(l<<4)+8>>2];c[h+(i<<4)+12>>2]=c[m+(l<<4)+12>>2];g=i+1|0;l=l+1|0;if((l|0)>=(c[b+8>>2]|0))break;else f=j}c[p+4>>2]=g;c[p+8>>2]=e;if((i|0)>-1){f=c[p+12>>2]|0;e=0;while(1){Ka[c[(c[b>>2]|0)+12>>2]&31](b,c[f+(e<<4)>>2]|0,c[f+(e<<4)+4>>2]|0,d)|0;if((e|0)<(i|0))e=e+1|0;else break}}}else g=0;if((c[b+56>>2]|0)>0){f=c[b+64>>2]|0;e=0;do{c[f+(e<<2)>>2]=-1;e=e+1|0}while((e|0)<(c[b+56>>2]|0))}if((g|0)<=1)if((g|0)<=0){e=c[p+12>>2]|0;if(!e){sa=p;return}}else o=26;else{Ed(p,0,g+-1|0);o=26}if((o|0)==26){e=c[p+12>>2]|0;f=0;do{Ja[c[(c[b>>2]|0)+8>>2]&63](b,c[e+(f<<4)>>2]|0,c[e+(f<<4)+4>>2]|0)|0;f=f+1|0}while((f|0)<(g|0))}c[7183]=(c[7183]|0)+1;Hc(c[e+-4>>2]|0);c[p+12>>2]=0;sa=p;return}function Fe(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,h=0,i=0.0,j=0.0,k=0.0,l=0,m=0,n=0.0,o=0.0,p=0.0,q=0.0,r=0,s=0.0,t=0,u=0.0,v=0.0,w=0.0,x=0;x=sa;sa=sa+32|0;r=c[a+12>>2]|0;s=+g[r+(((e+d|0)/2|0)*24|0)>>2];u=+g[r+(((e+d|0)/2|0)*24|0)+4>>2];v=+g[r+(((e+d|0)/2|0)*24|0)+8>>2];w=+g[r+(((e+d|0)/2|0)*24|0)+16>>2];t=c[r+(((e+d|0)/2|0)*24|0)+20>>2]|0;f=e;h=d;while(1){n=+g[b>>2];o=+g[b+4>>2];p=+g[b+8>>2];q=(s-n)*(s-n)+(u-o)*(u-o)+(v-p)*(v-p);a:while(1){m=r+(h*24|0)|0;i=+g[r+(h*24|0)+16>>2];do if(i!=w){if(!(i>2]-n;j=+g[r+(h*24|0)+4>>2]-o;k=+g[r+(h*24|0)+8>>2]-p;if(i*i+j*j+k*k!=q)if(i*i+j*j+k*k>2]|0)<(t|0))break;else break a}while(0);h=h+1|0}b:while(1){l=r+(f*24|0)|0;i=+g[r+(f*24|0)+16>>2];do if(w!=i){if(!(w>2]-n;j=+g[r+(f*24|0)+4>>2]-o;k=+g[r+(f*24|0)+8>>2]-p;if(q!=i*i+j*j+k*k)if(q>2]|0))break;else break b}while(0);f=f+-1|0}if((h|0)<=(f|0)){c[x>>2]=c[m>>2];c[x+4>>2]=c[m+4>>2];c[x+8>>2]=c[m+8>>2];c[x+12>>2]=c[m+12>>2];c[x+16>>2]=c[m+16>>2];c[x+20>>2]=c[m+20>>2];c[m>>2]=c[l>>2];c[m+4>>2]=c[l+4>>2];c[m+8>>2]=c[l+8>>2];c[m+12>>2]=c[l+12>>2];c[m+16>>2]=c[l+16>>2];c[m+20>>2]=c[l+20>>2];r=(c[a+12>>2]|0)+(f*24|0)|0;c[r>>2]=c[x>>2];c[r+4>>2]=c[x+4>>2];c[r+8>>2]=c[x+8>>2];c[r+12>>2]=c[x+12>>2];c[r+16>>2]=c[x+16>>2];c[r+20>>2]=c[x+20>>2];f=f+-1|0;h=h+1|0}if((h|0)>(f|0))break;r=c[a+12>>2]|0}if((f|0)>(d|0))Fe(a,b,d,f);if((h|0)>=(e|0)){sa=x;return}Fe(a,b,h,e);sa=x;return}function Ge(a,b){a=a|0;b=b|0;var d=0.0,e=0.0,f=0,h=0,i=0,j=0,k=0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0;j=c[a+28>>2]|0;k=c[a+32>>2]|0;h=c[b+8>>2]|0;g[h>>2]=1.0;f=c[b+24>>2]|0;g[h+(f+1<<2)>>2]=1.0;g[h+((f<<1)+2<<2)>>2]=1.0;l=+g[a+300>>2];q=+g[a+304>>2];e=+g[a+308>>2];o=+g[j+4>>2]*l+ +g[j+8>>2]*q+ +g[j+12>>2]*e;m=l*+g[j+20>>2]+q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<<1<<2)>>2]=c[a+340>>2]}e=+g[a+356>>2];if(e>0.0){g[c[b+36>>2]>>2]=-e;g[c[b+40>>2]>>2]=e;d=+g[a+356>>2]}else d=e;if(d>0.0){g[(c[b+36>>2]|0)+(f<<2)>>2]=-e;g[(c[b+40>>2]|0)+(f<<2)>>2]=e;d=+g[a+356>>2]}if(!(d>0.0)){j=a+352|0;j=c[j>>2]|0;k=b+52|0;c[k>>2]=j;return}g[(c[b+36>>2]|0)+(f<<1<<2)>>2]=-e;g[(c[b+40>>2]|0)+(f<<1<<2)>>2]=e;j=a+352|0;j=c[j>>2]|0;k=b+52|0;c[k>>2]=j;return}function He(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;c[7159]=(c[7159]|0)+1;j=(c[b+12>>2]|0)>(c[d+12>>2]|0);l=j?d:b;h=c[l+12>>2]|0;j=j?b:d;f=c[j+12>>2]|0;i=(f<<16|h)+~((f<<16|h)<<15)|0;i=((10?i>>10:i)^i)*9|0;i=(6?i>>6:i)^i;i=((16?i+~(i<<11)>>16:i+~(i<<11)|0)^i+~(i<<11))&(c[a+12>>2]|0)+-1;b=c[(c[a+44>>2]|0)+(i<<2)>>2]|0;if((b|0)==-1){o=0;return o|0}g=c[a+16>>2]|0;while(1){d=g+(b<<4)|0;if((c[(c[d>>2]|0)+12>>2]|0)==(h|0)?(c[(c[g+(b<<4)+4>>2]|0)+12>>2]|0)==(f|0):0)break;b=c[(c[a+64>>2]|0)+(b<<2)>>2]|0;if((b|0)==-1){b=0;o=25;break}}if((o|0)==25)return b|0;Za[c[(c[a>>2]|0)+32>>2]&127](a,d,e);n=c[g+(b<<4)+12>>2]|0;m=d-(c[a+16>>2]|0)|0;m=4?m>>4:m;h=(c[a+44>>2]|0)+(i<<2)|0;b=c[h>>2]|0;f=c[a+64>>2]|0;if((b|0)!=(m|0)){d=b;while(1){g=f+(d<<2)|0;b=c[g>>2]|0;if((b|0)==(m|0))break;else d=b}b=c[f+(m<<2)>>2]|0;if((d|0)==-1)o=12;else c[g>>2]=b}else{b=c[f+(m<<2)>>2]|0;o=12}if((o|0)==12)c[h>>2]=b;k=(c[a+8>>2]|0)+-1|0;b=c[a+72>>2]|0;if(b|0)Ka[c[(c[b>>2]|0)+12>>2]&31](b,l,j,e)|0;if((k|0)==(m|0)){c[a+8>>2]=(c[a+8>>2]|0)+-1;o=n;return o|0}j=c[a+16>>2]|0;h=c[(c[j+(k<<4)+4>>2]|0)+12>>2]<<16|c[(c[j+(k<<4)>>2]|0)+12>>2];h=((10?h+~(h<<15)>>10:h+~(h<<15)|0)^h+~(h<<15))*9|0;h=(6?h>>6:h)^h;h=((16?h+~(h<<11)>>16:h+~(h<<11)|0)^h+~(h<<11))&(c[a+12>>2]|0)+-1;i=(c[a+44>>2]|0)+(h<<2)|0;b=c[i>>2]|0;f=c[a+64>>2]|0;if((b|0)!=(k|0)){d=b;while(1){g=f+(d<<2)|0;b=c[g>>2]|0;if((b|0)==(k|0))break;else d=b}b=c[f+(k<<2)>>2]|0;if((d|0)==-1)o=23;else c[g>>2]=b}else{b=c[f+(k<<2)>>2]|0;o=23}if((o|0)==23)c[i>>2]=b;c[j+(m<<4)>>2]=c[j+(k<<4)>>2];c[j+(m<<4)+4>>2]=c[j+(k<<4)+4>>2];c[j+(m<<4)+8>>2]=c[j+(k<<4)+8>>2];c[j+(m<<4)+12>>2]=c[j+(k<<4)+12>>2];o=(c[a+44>>2]|0)+(h<<2)|0;c[(c[a+64>>2]|0)+(m<<2)>>2]=c[o>>2];c[o>>2]=m;c[a+8>>2]=(c[a+8>>2]|0)+-1;o=n;return o|0}function Ie(a,b,e){a=a|0;b=b|0;e=e|0;var f=0.0,h=0.0,i=0.0,j=0;ih(a,b,e)|0;c[b+52>>2]=c[a+552>>2];c[b+56>>2]=c[a+556>>2];c[b+60>>2]=c[a+560>>2];c[b+64>>2]=c[a+564>>2];c[b+68>>2]=c[a+568>>2];c[b+72>>2]=c[a+572>>2];c[b+76>>2]=c[a+576>>2];c[b+80>>2]=c[a+580>>2];c[b+84>>2]=c[a+584>>2];c[b+88>>2]=c[a+588>>2];c[b+92>>2]=c[a+592>>2];c[b+96>>2]=c[a+596>>2];c[b+100>>2]=c[a+600>>2];c[b+104>>2]=c[a+604>>2];c[b+108>>2]=c[a+608>>2];c[b+112>>2]=c[a+612>>2];c[b+116>>2]=c[a+616>>2];c[b+120>>2]=c[a+620>>2];c[b+124>>2]=c[a+624>>2];c[b+128>>2]=c[a+628>>2];c[b+132>>2]=c[a+632>>2];c[b+136>>2]=c[a+636>>2];c[b+140>>2]=c[a+640>>2];c[b+144>>2]=c[a+644>>2];c[b+148>>2]=c[a+648>>2];c[b+152>>2]=c[a+652>>2];c[b+156>>2]=c[a+656>>2];c[b+160>>2]=c[a+660>>2];c[b+164>>2]=c[a+664>>2];c[b+168>>2]=c[a+668>>2];c[b+172>>2]=c[a+672>>2];c[b+176>>2]=c[a+676>>2];c[b+184>>2]=d[a+736>>0];c[b+188>>2]=d[a+737>>0];c[b+196>>2]=c[a+684>>2];c[b+192>>2]=c[a+680>>2];c[b+180>>2]=d[a+740>>0];h=+g[a+688>>2];i=+g[a+692>>2];if(!((h-i)%6.2831854820251465<-3.1415927410125732))if((h-i)%6.2831854820251465>3.1415927410125732)f=(h-i)%6.2831854820251465+-6.2831854820251465;else f=(h-i)%6.2831854820251465;else f=(h-i)%6.2831854820251465+6.2831854820251465;g[b+200>>2]=f;if((h+i)%6.2831854820251465<-3.1415927410125732){i=(h+i)%6.2831854820251465+6.2831854820251465;e=b+204|0;g[e>>2]=i;e=a+696|0;e=c[e>>2]|0;j=b+208|0;c[j>>2]=e;j=a+700|0;j=c[j>>2]|0;e=b+212|0;c[e>>2]=j;a=a+704|0;a=c[a>>2]|0;b=b+216|0;c[b>>2]=a;return 17096}if(!((h+i)%6.2831854820251465>3.1415927410125732)){i=(h+i)%6.2831854820251465;j=b+204|0;g[j>>2]=i;j=a+696|0;j=c[j>>2]|0;e=b+208|0;c[e>>2]=j;e=a+700|0;e=c[e>>2]|0;j=b+212|0;c[j>>2]=e;a=a+704|0;a=c[a>>2]|0;j=b+216|0;c[j>>2]=a;return 17096}i=(h+i)%6.2831854820251465+-6.2831854820251465;j=b+204|0;g[j>>2]=i;j=a+696|0;j=c[j>>2]|0;e=b+208|0;c[e>>2]=j;e=a+700|0;e=c[e>>2]|0;j=b+212|0;c[j>>2]=e;a=a+704|0;a=c[a>>2]|0;j=b+216|0;c[j>>2]=a;return 17096}function Je(b,d,e,f,h){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;var i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0,q=0.0,r=0.0,s=0.0,t=0,u=0.0,v=0.0,w=0,x=0.0,y=0,z=0,A=0,B=0,C=0,D=0.0,E=0,F=0.0,G=0.0,H=0.0,I=0.0,J=0.0,K=0.0,L=0.0,M=0.0,N=0.0,O=0.0,P=0.0;B=(a[b+28>>0]|0)!=0;C=B?e:d;B=B?d:e;z=c[b+12>>2]|0;if((z|0)<=0){x=1.0;return +x}A=(c[C+192>>2]|0)+24|0;j=+g[C+4>>2];u=+g[C+8>>2];v=+g[C+12>>2];w=c[C+16>>2]|0;x=+g[C+20>>2];k=+g[C+24>>2];l=+g[C+28>>2];e=c[C+32>>2]|0;m=+g[C+36>>2];n=+g[C+40>>2];o=+g[C+44>>2];p=c[C+48>>2]|0;q=+g[C+52>>2];r=+g[C+56>>2];s=+g[C+60>>2];t=c[C+64>>2]|0;i=1.0;d=0;y=c[C+260>>2]|0;do{E=c[A>>2]|0;P=+g[E+(d*80|0)>>2];O=+g[E+(d*80|0)+16>>2];N=+g[E+(d*80|0)+32>>2];M=+g[E+(d*80|0)+4>>2];L=+g[E+(d*80|0)+20>>2];K=+g[E+(d*80|0)+36>>2];J=+g[E+(d*80|0)+8>>2];I=+g[E+(d*80|0)+24>>2];H=+g[E+(d*80|0)+40>>2];G=+g[E+(d*80|0)+48>>2];F=+g[E+(d*80|0)+52>>2];D=+g[E+(d*80|0)+56>>2];c[C+260>>2]=y+1;g[C+4>>2]=j*P+u*O+v*N;g[C+8>>2]=j*M+u*L+v*K;g[C+12>>2]=j*J+u*I+v*H;g[C+16>>2]=0.0;g[C+20>>2]=x*P+k*O+l*N;g[C+24>>2]=x*M+k*L+l*K;g[C+28>>2]=x*J+k*I+l*H;g[C+32>>2]=0.0;g[C+36>>2]=m*P+n*O+o*N;g[C+40>>2]=m*M+n*L+o*K;g[C+44>>2]=m*J+n*I+o*H;g[C+48>>2]=0.0;g[C+52>>2]=q+(j*G+u*F+v*D);g[C+56>>2]=r+(x*G+k*F+l*D);g[C+60>>2]=s+(m*G+n*F+o*D);g[C+64>>2]=0.0;E=c[(c[b+20>>2]|0)+(d<<2)>>2]|0;D=+Ba[c[(c[E>>2]|0)+12>>2]&15](E,C,B,f,h);i=D>2]|0)+1|0;c[C+260>>2]=y;g[C+4>>2]=j;g[C+8>>2]=u;g[C+12>>2]=v;c[C+16>>2]=w;g[C+20>>2]=x;g[C+24>>2]=k;g[C+28>>2]=l;c[C+32>>2]=e;g[C+36>>2]=m;g[C+40>>2]=n;g[C+44>>2]=o;c[C+48>>2]=p;g[C+52>>2]=q;g[C+56>>2]=r;g[C+60>>2]=s;c[C+64>>2]=t;d=d+1|0}while((d|0)!=(z|0));return +i}function Ke(b,d,e,f,h){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;var i=0;i=xs()|0;c[i+4>>2]=7;c[i+8>>2]=-1;c[i+12>>2]=-1;g[i+16>>2]=3402823466385288598117041.0e14;a[i+20>>0]=1;a[i+21>>0]=0;c[i+24>>2]=-1;c[i+28>>2]=b;c[i+32>>2]=d;g[i+36>>2]=0.0;g[i+40>>2]=.30000001192092896;c[i+44>>2]=0;c[i>>2]=7408;a[i+48>>0]=0;c[i+52>>2]=c[e>>2];c[i+52+4>>2]=c[e+4>>2];c[i+52+8>>2]=c[e+8>>2];c[i+52+12>>2]=c[e+12>>2];c[i+68>>2]=c[e+16>>2];c[i+68+4>>2]=c[e+16+4>>2];c[i+68+8>>2]=c[e+16+8>>2];c[i+68+12>>2]=c[e+16+12>>2];c[i+84>>2]=c[e+32>>2];c[i+84+4>>2]=c[e+32+4>>2];c[i+84+8>>2]=c[e+32+8>>2];c[i+84+12>>2]=c[e+32+12>>2];c[i+100>>2]=c[e+48>>2];c[i+100+4>>2]=c[e+48+4>>2];c[i+100+8>>2]=c[e+48+8>>2];c[i+100+12>>2]=c[e+48+12>>2];c[i+116>>2]=c[f>>2];c[i+116+4>>2]=c[f+4>>2];c[i+116+8>>2]=c[f+8>>2];c[i+116+12>>2]=c[f+12>>2];c[i+132>>2]=c[f+16>>2];c[i+132+4>>2]=c[f+16+4>>2];c[i+132+8>>2]=c[f+16+8>>2];c[i+132+12>>2]=c[f+16+12>>2];c[i+148>>2]=c[f+32>>2];c[i+148+4>>2]=c[f+32+4>>2];c[i+148+8>>2]=c[f+32+8>>2];c[i+148+12>>2]=c[f+32+12>>2];c[i+164>>2]=c[f+48>>2];c[i+164+4>>2]=c[f+48+4>>2];c[i+164+8>>2]=c[f+48+8>>2];c[i+164+12>>2]=c[f+48+12>>2];a[i+180>>0]=h&1;g[i+184>>2]=1.0;g[i+188>>2]=-1.0;g[i+192>>2]=0.0;g[i+196>>2]=0.0;g[i+200>>2]=1.0;g[i+204>>2]=.699999988079071;g[i+208>>2]=0.0;g[i+212>>2]=0.0;g[i+216>>2]=1.0;g[i+220>>2]=.699999988079071;g[i+224>>2]=0.0;g[i+228>>2]=0.0;g[i+264>>2]=1.0;g[i+268>>2]=.699999988079071;g[i+272>>2]=1.0;g[i+276>>2]=0.0;g[i+280>>2]=1.0;g[i+284>>2]=.699999988079071;g[i+288>>2]=1.0;g[i+292>>2]=0.0;g[i+232>>2]=1.0;g[i+236>>2]=.699999988079071;g[i+240>>2]=1.0;g[i+244>>2]=0.0;g[i+248>>2]=1.0;g[i+252>>2]=.699999988079071;g[i+256>>2]=1.0;g[i+260>>2]=0.0;a[i+1096>>0]=0;g[i+1116>>2]=0.0;g[i+1120>>2]=0.0;g[i+1124>>2]=0.0;c[i+300>>2]=0;c[i+1100>>2]=0;c[i+1100+4>>2]=0;c[i+1100+8>>2]=0;a[i+1100+12>>0]=0;a[i+49>>0]=1;kc(i,(c[i+28>>2]|0)+4|0,(c[i+32>>2]|0)+4|0);return i|0}function Le(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,h=0,i=0.0,j=0.0,k=0,l=0,m=0.0,n=0;c[7157]=(c[7157]|0)+1;if(!(c[b+4>>2]&2))j=.019999999552965164;else{k=c[d+192>>2]|0;i=+wa[c[(c[k>>2]|0)+20>>2]&1](k,.019999999552965164);k=c[e+192>>2]|0;j=+wa[c[(c[k>>2]|0)+20>>2]&1](k,.019999999552965164);j=i>2];i=+g[e+184>>2];i=m>2]|0;h=c[f+8>>2]|0;if(!h){if(c[b+4>>2]&4|0){b=0;return b|0}c[7182]=(c[7182]|0)+1;f=xb(791)|0;if(!f)f=0;else{c[(f+4+15&-16)+-4>>2]=f;f=f+4+15&-16}k=f}else{n=c[f+12>>2]|0;c[f+12>>2]=c[n>>2];c[f+8>>2]=h+-1;k=n;f=n}c[f>>2]=1025;c[k+116>>2]=0;a[k+120>>0]=0;f=k+124|0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;c[f+12>>2]=0;c[f+16>>2]=0;c[f+20>>2]=0;c[f+24>>2]=0;c[f+28>>2]=0;c[k+300>>2]=0;a[k+304>>0]=0;f=k+308|0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;c[f+12>>2]=0;c[f+16>>2]=0;c[f+20>>2]=0;c[f+24>>2]=0;c[f+28>>2]=0;c[k+484>>2]=0;a[k+488>>0]=0;f=k+492|0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;c[f+12>>2]=0;c[f+16>>2]=0;c[f+20>>2]=0;c[f+24>>2]=0;c[f+28>>2]=0;c[k+668>>2]=0;a[k+672>>0]=0;f=k+676|0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;c[f+12>>2]=0;c[f+16>>2]=0;c[f+20>>2]=0;c[f+24>>2]=0;c[f+28>>2]=0;c[k+740>>2]=d;c[k+744>>2]=e;c[k+748>>2]=0;g[k+752>>2]=j;g[k+756>>2]=i;e=k;f=c[b+12>>2]|0;c[k+768>>2]=f;if((f|0)==(c[b+16>>2]|0)?(l=(f|0)==0?1:f<<1,(f|0)<(l|0)):0){if(!l)d=0;else{c[7182]=(c[7182]|0)+1;f=xb((l<<2|3)+16|0)|0;if(!f)f=0;else{c[(f+4+15&-16)+-4>>2]=f;f=f+4+15&-16}d=f;f=c[b+12>>2]|0}if((f|0)>0){h=0;do{c[d+(h<<2)>>2]=c[(c[b+20>>2]|0)+(h<<2)>>2];h=h+1|0}while((h|0)!=(f|0))}h=c[b+20>>2]|0;if(h){if(a[b+24>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[h+-4>>2]|0);f=c[b+12>>2]|0}c[b+20>>2]=0}a[b+24>>0]=1;c[b+20>>2]=d;c[b+16>>2]=l}c[(c[b+20>>2]|0)+(f<<2)>>2]=e;c[b+12>>2]=f+1;n=k;return n|0}function Me(b,d){b=b|0;d=d|0;var e=0,f=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0;n=sa;sa=sa+64|0;e=c[d+192>>2]|0;ab[c[(c[e>>2]|0)+8>>2]&127](e,d+4|0,n+48|0,n+32|0);f=+g[n+48>>2]+-.019999999552965164;g[n+48>>2]=f;i=+g[n+48+4>>2]+-.019999999552965164;g[n+48+4>>2]=i;j=+g[n+48+8>>2]+-.019999999552965164;g[n+48+8>>2]=j;h=+g[n+32>>2]+.019999999552965164;g[n+32>>2]=h;k=+g[n+32+4>>2]+.019999999552965164;g[n+32+4>>2]=k;l=+g[n+32+8>>2]+.019999999552965164;g[n+32+8>>2]=l;if(((a[b+44>>0]|0)!=0?(c[d+236>>2]|0)==2:0)?(c[d+204>>2]&3|0)==0:0){e=c[d+192>>2]|0;ab[c[(c[e>>2]|0)+8>>2]&127](e,d+68|0,n+16|0,n);f=+g[n+16>>2]+-.019999999552965164;g[n+16>>2]=f;j=+g[n+16+4>>2]+-.019999999552965164;g[n+16+4>>2]=j;k=+g[n+16+8>>2]+-.019999999552965164;g[n+16+8>>2]=k;h=+g[n>>2]+.019999999552965164;g[n>>2]=h;l=+g[n+4>>2]+.019999999552965164;g[n+4>>2]=l;m=+g[n+8>>2]+.019999999552965164;g[n+8>>2]=m;i=+g[n+48>>2];if(f>2]=f;else f=i;i=+g[n+48+4>>2];if(j>2]=j;i=j}j=+g[n+48+8>>2];if(k>2]=k;j=k}k=+g[n+16+12>>2];if(k<+g[n+48+12>>2])g[n+48+12>>2]=k;k=+g[n+32>>2];if(k>2]=h;else h=k;k=+g[n+32+4>>2];if(k>2]=l;k=l}l=+g[n+32+8>>2];if(l>2]=m;l=m}m=+g[n+12>>2];if(+g[n+32+12>>2]>2]=m}e=c[b+68>>2]|0;if((c[d+204>>2]&1|0)==0?(h=h-f,k=k-i,m=l-j,!(h*h+k*k+m*m<999999995904.0)):0){if((c[d+216>>2]&-2|0)!=4)c[d+216>>2]=5;if(!(a[19314]|0)){sa=n;return}e=c[b+72>>2]|0;if(!e){sa=n;return}a[19314]=0;Va[c[(c[e>>2]|0)+36>>2]&127](e,19315);d=c[b+72>>2]|0;Va[c[(c[d>>2]|0)+36>>2]&127](d,19364);d=c[b+72>>2]|0;Va[c[(c[d>>2]|0)+36>>2]&127](d,19432);b=c[b+72>>2]|0;Va[c[(c[b>>2]|0)+36>>2]&127](b,19497);sa=n;return}eb[c[(c[e>>2]|0)+16>>2]&31](e,c[d+188>>2]|0,n+48|0,n+32|0,c[b+24>>2]|0);sa=n;return}function Ne(b,d,e,f,h){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;var i=0;i=fs(460)|0;jd(i,b,d,e);c[i>>2]=6632;a[i+340>>0]=1;c[i+336>>2]=0;c[i+328>>2]=0;c[i+332>>2]=0;g[i+352>>2]=1.2000000476837158;g[i+356>>2]=0.0;g[i+360>>2]=0.0;g[i+364>>2]=1.0e3;c[i+368>>2]=0;c[i+368+4>>2]=0;c[i+368+8>>2]=0;c[i+368+12>>2]=0;c[i+368+16>>2]=0;c[i+368+20>>2]=0;c[i+368+24>>2]=0;c[i+396>>2]=-1054867456;c[i+400>>2]=0;g[i+404>>2]=0.0;a[i+424>>0]=1;c[i+420>>2]=0;c[i+412>>2]=0;c[i+416>>2]=0;c[i+452>>2]=h;a[i+456>>0]=0;if(!h){c[7182]=(c[7182]|0)+1;f=xb(59)|0;if(!f)f=0;else{c[(f+4+15&-16)+-4>>2]=f;f=f+4+15&-16}g[f+12>>2]=1.0;c[f+8>>2]=0;c[f+4>>2]=5;c[f>>2]=5756;a[f+36>>0]=1;c[f+32>>2]=0;c[f+24>>2]=0;c[f+28>>2]=0;a[f+16>>0]=1;c[i+452>>2]=f;a[i+456>>0]=1}c[i+344>>2]=4302;a[i+348>>0]=1;a[i+349>>0]=0;a[i+350>>0]=0;c[i+384>>2]=d;c[i+388>>2]=b;Oh(i+408|0);h=c[i+412>>2]|0;if((h|0)<=0){d=i+428|0;g[d>>2]=.25;d=i+432|0;c[d>>2]=0;d=i+436|0;c[d>>2]=0;d=i+444|0;c[d>>2]=1;d=i+448|0;c[d>>2]=1;g[i+352>>2]=1.2000000476837158;g[i+356>>2]=0.0;g[i+360>>2]=0.0;d=i+392|0;c[d>>2]=0;c[i+368>>2]=0;c[i+368+4>>2]=0;c[i+368+8>>2]=0;c[i+368+12>>2]=0;c[i+396>>2]=-1054867456;c[i+400>>2]=0;g[i+404>>2]=0.0;Oh(i+408|0);return i|0}e=0;do{d=(c[i+420>>2]|0)+(e<<2)|0;f=c[d>>2]|0;c[d>>2]=0;if(f|0)do{d=f;f=c[f+280>>2]|0;GI(d)}while((f|0)!=0);e=e+1|0}while((e|0)!=(h|0));d=i+428|0;g[d>>2]=.25;d=i+432|0;c[d>>2]=0;d=i+436|0;c[d>>2]=0;d=i+444|0;c[d>>2]=1;d=i+448|0;c[d>>2]=1;g[i+352>>2]=1.2000000476837158;g[i+356>>2]=0.0;g[i+360>>2]=0.0;d=i+392|0;c[d>>2]=0;c[i+368>>2]=0;c[i+368+4>>2]=0;c[i+368+8>>2]=0;c[i+368+12>>2]=0;c[i+396>>2]=-1054867456;c[i+400>>2]=0;g[i+404>>2]=0.0;Oh(i+408|0);return i|0}function Oe(a,b,e){a=a|0;b=b|0;e=e|0;ih(a,b,e)|0;c[b+52>>2]=c[a+48>>2];c[b+56>>2]=c[a+52>>2];c[b+60>>2]=c[a+56>>2];c[b+64>>2]=c[a+60>>2];c[b+68>>2]=c[a+64>>2];c[b+72>>2]=c[a+68>>2];c[b+76>>2]=c[a+72>>2];c[b+80>>2]=c[a+76>>2];c[b+84>>2]=c[a+80>>2];c[b+88>>2]=c[a+84>>2];c[b+92>>2]=c[a+88>>2];c[b+96>>2]=c[a+92>>2];c[b+100>>2]=c[a+96>>2];c[b+104>>2]=c[a+100>>2];c[b+108>>2]=c[a+104>>2];c[b+112>>2]=c[a+108>>2];c[b+116>>2]=c[a+112>>2];c[b+120>>2]=c[a+116>>2];c[b+124>>2]=c[a+120>>2];c[b+128>>2]=c[a+124>>2];c[b+132>>2]=c[a+128>>2];c[b+136>>2]=c[a+132>>2];c[b+140>>2]=c[a+136>>2];c[b+144>>2]=c[a+140>>2];c[b+148>>2]=c[a+144>>2];c[b+152>>2]=c[a+148>>2];c[b+156>>2]=c[a+152>>2];c[b+160>>2]=c[a+156>>2];c[b+164>>2]=c[a+160>>2];c[b+168>>2]=c[a+164>>2];c[b+172>>2]=c[a+168>>2];c[b+176>>2]=c[a+172>>2];c[b+228>>2]=c[a+868>>2];c[b+212>>2]=c[a+872>>2];c[b+196>>2]=c[a+680>>2];c[b+180>>2]=c[a+696>>2];c[b+232>>2]=c[a+932>>2];c[b+216>>2]=c[a+936>>2];c[b+200>>2]=c[a+684>>2];c[b+184>>2]=c[a+700>>2];c[b+236>>2]=c[a+996>>2];c[b+220>>2]=c[a+1e3>>2];c[b+204>>2]=c[a+688>>2];c[b+188>>2]=c[a+704>>2];c[b+244>>2]=d[a+1300>>0];c[b+248>>2]=d[a+1301>>0];c[b+276>>2]=c[a+1316>>2];c[b+324>>2]=c[a+1364>>2];c[b+252>>2]=d[a+1309>>0];c[b+300>>2]=c[a+1340>>2];c[b+280>>2]=c[a+1320>>2];c[b+328>>2]=c[a+1368>>2];c[b+256>>2]=d[a+1310>>0];c[b+304>>2]=c[a+1344>>2];c[b+284>>2]=c[a+1324>>2];c[b+332>>2]=c[a+1372>>2];c[b+260>>2]=d[a+1311>>0];c[b+308>>2]=c[a+1348>>2];c[b+288>>2]=c[a+1328>>2];c[b+336>>2]=c[a+1376>>2];c[b+264>>2]=d[a+1312>>0];c[b+312>>2]=c[a+1352>>2];c[b+292>>2]=c[a+1332>>2];c[b+340>>2]=c[a+1380>>2];c[b+268>>2]=d[a+1313>>0];c[b+316>>2]=c[a+1356>>2];c[b+296>>2]=c[a+1336>>2];c[b+344>>2]=c[a+1384>>2];c[b+272>>2]=d[a+1314>>0];c[b+320>>2]=c[a+1360>>2];return 16814}function Pe(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=c[b+4>>2]|0;if((i|0)==(c[b+8>>2]|0)?(h=(i|0)==0?1:i<<1,(i|0)<(h|0)):0){if(!h){e=0;g=i}else{c[7182]=(c[7182]|0)+1;e=xb((h*244|3)+16|0)|0;if(!e)e=0;else{c[(e+4+15&-16)+-4>>2]=e;e=e+4+15&-16}g=c[b+4>>2]|0}if((g|0)>0){f=0;do{k=e+(f*244|0)|0;j=c[b+12>>2]|0;l=j+(f*244|0)|0;c[k>>2]=c[l>>2];c[k+4>>2]=c[l+4>>2];c[k+8>>2]=c[l+8>>2];c[k+12>>2]=c[l+12>>2];k=j+(f*244|0)+16|0;l=e+(f*244|0)+16|0;c[l>>2]=c[k>>2];c[l+4>>2]=c[k+4>>2];c[l+8>>2]=c[k+8>>2];c[l+12>>2]=c[k+12>>2];l=j+(f*244|0)+32|0;k=e+(f*244|0)+32|0;c[k>>2]=c[l>>2];c[k+4>>2]=c[l+4>>2];c[k+8>>2]=c[l+8>>2];c[k+12>>2]=c[l+12>>2];k=e+(f*244|0)+48|0;l=j+(f*244|0)+48|0;c[k>>2]=c[l>>2];c[k+4>>2]=c[l+4>>2];c[k+8>>2]=c[l+8>>2];c[k+12>>2]=c[l+12>>2];Bh(e+(f*244|0)+64|0,j+(f*244|0)+64|0,180)|0;f=f+1|0}while((f|0)!=(g|0))}f=c[b+12>>2]|0;if(f|0){if(a[b+16>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[f+-4>>2]|0)}c[b+12>>2]=0}a[b+16>>0]=1;c[b+12>>2]=e;c[b+8>>2]=h;e=c[b+4>>2]|0}else e=i;c[b+4>>2]=e+1;l=c[b+12>>2]|0;c[l+(i*244|0)>>2]=c[d>>2];c[l+(i*244|0)+4>>2]=c[d+4>>2];c[l+(i*244|0)+8>>2]=c[d+8>>2];c[l+(i*244|0)+12>>2]=c[d+12>>2];c[l+(i*244|0)+16>>2]=c[d+16>>2];c[l+(i*244|0)+16+4>>2]=c[d+16+4>>2];c[l+(i*244|0)+16+8>>2]=c[d+16+8>>2];c[l+(i*244|0)+16+12>>2]=c[d+16+12>>2];c[l+(i*244|0)+32>>2]=c[d+32>>2];c[l+(i*244|0)+32+4>>2]=c[d+32+4>>2];c[l+(i*244|0)+32+8>>2]=c[d+32+8>>2];c[l+(i*244|0)+32+12>>2]=c[d+32+12>>2];c[l+(i*244|0)+48>>2]=c[d+48>>2];c[l+(i*244|0)+48+4>>2]=c[d+48+4>>2];c[l+(i*244|0)+48+8>>2]=c[d+48+8>>2];c[l+(i*244|0)+48+12>>2]=c[d+48+12>>2];Bh(l+(i*244|0)+64|0,d+64|0,180)|0;return (c[b+12>>2]|0)+(i*244|0)|0}function Qe(a,b,d){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e*m)*q+(l*(h*m-f*o)*q+n*(e*o-h*p)*q))<-d){b=0;sa=i;return b|0}ab[c[(c[a>>2]|0)+104>>2]&127](a,2,i+16|0,i);l=+g[i+16>>2];p=+g[i>>2]-l;n=+g[i+16+4>>2];m=+g[i+4>>2]-n;k=+g[i+16+8>>2];o=+g[i+8>>2]-k;q=1.0/+x(+((f*p-e*m)*(f*p-e*m)+((h*m-f*o)*(h*m-f*o)+(e*o-h*p)*(e*o-h*p))));if(+g[b+8>>2]*(f*p-e*m)*q+(+g[b>>2]*(h*m-f*o)*q+ +g[b+4>>2]*(e*o-h*p)*q)-(k*(f*p-e*m)*q+(l*(h*m-f*o)*q+n*(e*o-h*p)*q))<-d){b=0;sa=i;return b|0}b=1;sa=i;return b|0}function Re(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=c[b+12>>2]|0;k=c[b+36>>2]|0;if((k|0)>=(j|0))return;do if((c[b+40>>2]|0)<(j|0)){if(!j){d=0;f=k}else{c[7182]=(c[7182]|0)+1;d=xb((j<<2|3)+16|0)|0;if(!d)d=0;else{c[(d+4+15&-16)+-4>>2]=d;d=d+4+15&-16}f=c[b+36>>2]|0}g=c[b+44>>2]|0;if((f|0)<=0){if(!g){a[b+48>>0]=1;c[b+44>>2]=d;c[b+40>>2]=j;i=b+44|0;break}}else{e=0;do{c[d+(e<<2)>>2]=c[g+(e<<2)>>2];e=e+1|0}while((e|0)!=(f|0))}if(a[b+48>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[g+-4>>2]|0)}a[b+48>>0]=1;c[b+44>>2]=d;c[b+40>>2]=j;i=b+44|0}else{i=b+44|0;d=c[b+44>>2]|0}while(0);mk(d+(k<<2)|0,0,(j<<2)-(k<<2)|0)|0;c[b+36>>2]=j;h=c[b+56>>2]|0;if((h|0)<(j|0)){do if((c[b+60>>2]|0)<(j|0)){if(!j){d=0;f=h}else{c[7182]=(c[7182]|0)+1;d=xb((j<<2|3)+16|0)|0;if(!d)d=0;else{c[(d+4+15&-16)+-4>>2]=d;d=d+4+15&-16}f=c[b+56>>2]|0}g=c[b+64>>2]|0;if((f|0)<=0){if(!g){a[b+68>>0]=1;c[b+64>>2]=d;c[b+60>>2]=j;break}}else{e=0;do{c[d+(e<<2)>>2]=c[g+(e<<2)>>2];e=e+1|0}while((e|0)!=(f|0))}if(a[b+68>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[g+-4>>2]|0)}a[b+68>>0]=1;c[b+64>>2]=d;c[b+60>>2]=j}else d=c[b+64>>2]|0;while(0);mk(d+(h<<2)|0,0,(j<<2)-(h<<2)|0)|0}c[b+56>>2]=j;if((j|0)>0){mk(c[i>>2]|0,-1,j<<2|0)|0;mk(c[b+64>>2]|0,-1,j<<2|0)|0}if((k|0)<=0)return;g=c[b+16>>2]|0;e=c[i>>2]|0;f=c[b+64>>2]|0;d=0;do{j=c[(c[g+(d<<4)+4>>2]|0)+12>>2]<<16|c[(c[g+(d<<4)>>2]|0)+12>>2];j=((10?j+~(j<<15)>>10:j+~(j<<15)|0)^j+~(j<<15))*9|0;j=(6?j>>6:j)^j;j=e+((((16?j+~(j<<11)>>16:j+~(j<<11)|0)^j+~(j<<11))&(c[b+12>>2]|0)+-1)<<2)|0;c[f+(d<<2)>>2]=c[j>>2];c[j>>2]=d;d=d+1|0}while((d|0)!=(k|0));return}function Se(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0.0,h=0.0,i=0.0,j=0.0,k=0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,y=0.0,z=0.0,A=0.0;k=sa;sa=sa+64|0;m=+g[a+20>>2];t=+g[a+40>>2];o=+g[a+24>>2];r=+g[a+36>>2];s=+g[a+32>>2];l=+g[a+16>>2];j=+g[a>>2];i=+g[a+4>>2];p=+g[a+8>>2];h=1.0/((m*t-o*r)*j+i*(o*s-t*l)+(r*l-m*s)*p);z=+g[b>>2];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4>>2]=h*j*A;g[d+8>>2]=i*j*A;sa=k;return}}function Te(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=c[b+12>>2]|0;k=c[b+32>>2]|0;if((k|0)>=(j|0))return;do if((c[b+36>>2]|0)<(j|0)){if(!j){d=0;f=k}else{c[7182]=(c[7182]|0)+1;d=xb((j<<2|3)+16|0)|0;if(!d)d=0;else{c[(d+4+15&-16)+-4>>2]=d;d=d+4+15&-16}f=c[b+32>>2]|0}g=c[b+40>>2]|0;if((f|0)<=0){if(!g){a[b+44>>0]=1;c[b+40>>2]=d;c[b+36>>2]=j;i=b+40|0;break}}else{e=0;do{c[d+(e<<2)>>2]=c[g+(e<<2)>>2];e=e+1|0}while((e|0)!=(f|0))}if(a[b+44>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[g+-4>>2]|0)}a[b+44>>0]=1;c[b+40>>2]=d;c[b+36>>2]=j;i=b+40|0}else{i=b+40|0;d=c[b+40>>2]|0}while(0);mk(d+(k<<2)|0,0,(j<<2)-(k<<2)|0)|0;c[b+32>>2]=j;h=c[b+52>>2]|0;if((h|0)<(j|0)){do if((c[b+56>>2]|0)<(j|0)){if(!j){d=0;f=h}else{c[7182]=(c[7182]|0)+1;d=xb((j<<2|3)+16|0)|0;if(!d)d=0;else{c[(d+4+15&-16)+-4>>2]=d;d=d+4+15&-16}f=c[b+52>>2]|0}g=c[b+60>>2]|0;if((f|0)<=0){if(!g){a[b+64>>0]=1;c[b+60>>2]=d;c[b+56>>2]=j;break}}else{e=0;do{c[d+(e<<2)>>2]=c[g+(e<<2)>>2];e=e+1|0}while((e|0)!=(f|0))}if(a[b+64>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[g+-4>>2]|0)}a[b+64>>0]=1;c[b+60>>2]=d;c[b+56>>2]=j}else d=c[b+60>>2]|0;while(0);mk(d+(h<<2)|0,0,(j<<2)-(h<<2)|0)|0}c[b+52>>2]=j;if((j|0)>0){mk(c[i>>2]|0,-1,j<<2|0)|0;mk(c[b+60>>2]|0,-1,j<<2|0)|0}if((k|0)<=0)return;g=c[b+16>>2]|0;e=c[i>>2]|0;f=c[b+60>>2]|0;d=0;do{j=c[g+(d*12|0)+4>>2]<<16|c[g+(d*12|0)>>2];j=((10?j+~(j<<15)>>10:j+~(j<<15)|0)^j+~(j<<15))*9|0;j=(6?j>>6:j)^j;j=e+((((16?j+~(j<<11)>>16:j+~(j<<11)|0)^j+~(j<<11))&(c[b+12>>2]|0)+-1)<<2)|0;c[f+(d<<2)>>2]=c[j>>2];c[j>>2]=d;d=d+1|0}while((d|0)!=(k|0));return}function Ue(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=sa;sa=sa+384|0;h=c[(c[a>>2]|0)+8>>2]|0;g=JI(b)|0;ns(f+368|0,g,g+4|0,g+8|0);b=JI(d)|0;ns(f+352|0,b,g+4|0,g+8|0);ab[h&127](a,f+368|0,f+352|0,e);d=c[(c[a>>2]|0)+8>>2]|0;ns(f+336|0,b,g+4|0,g+8|0);ns(f+320|0,b,b+4|0,g+8|0);ab[d&127](a,f+336|0,f+320|0,e);d=c[(c[a>>2]|0)+8>>2]|0;ns(f+304|0,b,b+4|0,g+8|0);ns(f+288|0,g,b+4|0,g+8|0);ab[d&127](a,f+304|0,f+288|0,e);d=c[(c[a>>2]|0)+8>>2]|0;ns(f+272|0,g,b+4|0,g+8|0);ns(f+256|0,g,g+4|0,g+8|0);ab[d&127](a,f+272|0,f+256|0,e);d=c[(c[a>>2]|0)+8>>2]|0;ns(f+240|0,g,g+4|0,g+8|0);ns(f+224|0,g,g+4|0,b+8|0);ab[d&127](a,f+240|0,f+224|0,e);d=c[(c[a>>2]|0)+8>>2]|0;ns(f+208|0,b,g+4|0,g+8|0);ns(f+192|0,b,g+4|0,b+8|0);ab[d&127](a,f+208|0,f+192|0,e);d=c[(c[a>>2]|0)+8>>2]|0;ns(f+176|0,b,b+4|0,g+8|0);ns(f+160|0,b,b+4|0,b+8|0);ab[d&127](a,f+176|0,f+160|0,e);d=c[(c[a>>2]|0)+8>>2]|0;ns(f+144|0,g,b+4|0,g+8|0);ns(f+128|0,g,b+4|0,b+8|0);ab[d&127](a,f+144|0,f+128|0,e);d=c[(c[a>>2]|0)+8>>2]|0;ns(f+112|0,g,g+4|0,b+8|0);ns(f+96|0,b,g+4|0,b+8|0);ab[d&127](a,f+112|0,f+96|0,e);d=c[(c[a>>2]|0)+8>>2]|0;ns(f+80|0,b,g+4|0,b+8|0);ns(f+64|0,b,b+4|0,b+8|0);ab[d&127](a,f+80|0,f+64|0,e);d=c[(c[a>>2]|0)+8>>2]|0;ns(f+48|0,b,b+4|0,b+8|0);ns(f+32|0,g,b+4|0,b+8|0);ab[d&127](a,f+48|0,f+32|0,e);d=c[(c[a>>2]|0)+8>>2]|0;ns(f+16|0,g,b+4|0,b+8|0);ns(f,g,g+4|0,b+8|0);ab[d&127](a,f+16|0,f,e);sa=f;return}function Ve(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;e=Ha[c[(c[d>>2]|0)+40>>2]&31](d,a)|0;g=Ha[c[(c[d>>2]|0)+28>>2]&31](d,e)|0;c[b>>2]=g;if(g|0)Va[c[(c[d>>2]|0)+48>>2]&127](d,e);c[b+4>>2]=c[a+4>>2];c[b+20>>2]=c[a+72>>2];e=c[a+16>>2]|0;c[b+16>>2]=e;c[b+12>>2]=0;if(!e)return 20703;g=Ja[c[(c[d>>2]|0)+16>>2]&63](d,76,e)|0;e=c[g+8>>2]|0;c[b+12>>2]=Ha[c[(c[d>>2]|0)+28>>2]&31](d,e)|0;if((c[b+16>>2]|0)>0){f=0;while(1){h=c[a+24>>2]|0;c[e+72>>2]=c[h+(f*80|0)+72>>2];c[e+64>>2]=Ha[c[(c[d>>2]|0)+28>>2]&31](d,c[h+(f*80|0)+64>>2]|0)|0;if(!(Ha[c[(c[d>>2]|0)+24>>2]&31](d,c[(c[a+24>>2]|0)+(f*80|0)+64>>2]|0)|0)){h=c[(c[d>>2]|0)+16>>2]|0;i=c[(c[a+24>>2]|0)+(f*80|0)+64>>2]|0;i=Fa[c[(c[i>>2]|0)+52>>2]&127](i)|0;i=Ja[h&63](d,i,1)|0;h=c[(c[a+24>>2]|0)+(f*80|0)+64>>2]|0;h=Ja[c[(c[h>>2]|0)+56>>2]&63](h,c[i+8>>2]|0,d)|0;eb[c[(c[d>>2]|0)+20>>2]&31](d,i,h,1346455635,c[(c[a+24>>2]|0)+(f*80|0)+64>>2]|0)}i=c[a+24>>2]|0;c[e+68>>2]=c[i+(f*80|0)+68>>2];c[e>>2]=c[i+(f*80|0)>>2];c[e+4>>2]=c[i+(f*80|0)+4>>2];c[e+8>>2]=c[i+(f*80|0)+8>>2];c[e+12>>2]=c[i+(f*80|0)+12>>2];c[e+16>>2]=c[i+(f*80|0)+16>>2];c[e+20>>2]=c[i+(f*80|0)+20>>2];c[e+24>>2]=c[i+(f*80|0)+24>>2];c[e+28>>2]=c[i+(f*80|0)+28>>2];c[e+32>>2]=c[i+(f*80|0)+32>>2];c[e+36>>2]=c[i+(f*80|0)+36>>2];c[e+40>>2]=c[i+(f*80|0)+40>>2];c[e+44>>2]=c[i+(f*80|0)+44>>2];c[e+48>>2]=c[i+(f*80|0)+48>>2];c[e+52>>2]=c[i+(f*80|0)+52>>2];c[e+56>>2]=c[i+(f*80|0)+56>>2];c[e+60>>2]=c[i+(f*80|0)+60>>2];f=f+1|0;if((f|0)>=(c[b+16>>2]|0)){e=d;break}else e=e+76|0}}else e=d;eb[c[(c[e>>2]|0)+20>>2]&31](d,g,20678,1497453121,c[g+8>>2]|0);return 20703}function We(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,h=0.0,i=0.0,j=0.0,k=0,l=0,m=0.0,n=0.0,o=0.0,p=0.0;f=sa;sa=sa+256|0;c[f+32>>2]=8500;k=f+32+36|0;c[k>>2]=c[b>>2];c[k+4>>2]=c[b+4>>2];c[k+8>>2]=c[b+8>>2];c[k+12>>2]=c[b+12>>2];l=f+32+52|0;c[l>>2]=c[d>>2];c[l+4>>2]=c[d+4>>2];c[l+8>>2]=c[d+8>>2];c[l+12>>2]=c[d+12>>2];c[f+32+212>>2]=a;c[f+32+216>>2]=e;c[f+32+68>>2]=1065353216;c[f+32+72>>2]=0;c[f+32+72+4>>2]=0;c[f+32+72+8>>2]=0;c[f+32+72+12>>2]=0;c[f+32+88>>2]=1065353216;c[f+32+92>>2]=0;c[f+32+92+4>>2]=0;c[f+32+92+8>>2]=0;c[f+32+92+12>>2]=0;c[f+32+108>>2]=1065353216;c[f+32+112>>2]=0;c[f+32+116>>2]=c[k>>2];c[f+32+116+4>>2]=c[k+4>>2];c[f+32+116+8>>2]=c[k+8>>2];c[f+32+116+12>>2]=c[k+12>>2];c[f+32+132>>2]=1065353216;c[f+32+136>>2]=0;c[f+32+136+4>>2]=0;c[f+32+136+8>>2]=0;c[f+32+136+12>>2]=0;c[f+32+152>>2]=1065353216;c[f+32+156>>2]=0;c[f+32+156+4>>2]=0;c[f+32+156+8>>2]=0;c[f+32+156+12>>2]=0;c[f+32+172>>2]=1065353216;c[f+32+176>>2]=0;c[f+32+180>>2]=c[d>>2];c[f+32+180+4>>2]=c[d+4>>2];c[f+32+180+8>>2]=c[d+8>>2];c[f+32+180+12>>2]=c[d+12>>2];m=+g[d>>2]-+g[b>>2];j=+g[d+4>>2]-+g[b+4>>2];i=+g[d+8>>2]-+g[b+8>>2];h=1.0/+x(+(m*m+j*j+i*i));p=m*h==0.0?999999984306749440.0:1.0/(m*h);g[f+32+4>>2]=p;o=j*h==0.0?999999984306749440.0:1.0/(j*h);g[f+32+8>>2]=o;n=i*h==0.0?999999984306749440.0:1.0/(i*h);g[f+32+12>>2]=n;c[f+32+20>>2]=p<0.0&1;c[f+32+24>>2]=o<0.0&1;c[f+32+28>>2]=n<0.0&1;g[f+32+32>>2]=m*h*(+g[l>>2]-+g[k>>2])+j*h*(+g[f+32+56>>2]-+g[f+32+40>>2])+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2]=0.0;ab[c[(c[a>>2]|0)+8>>2]&127](a,h,h+16|0,f);ab[c[(c[a>>2]|0)+8>>2]&127](a,h+16|0,h+32|0,f);ab[c[(c[a>>2]|0)+8>>2]&127](a,h+32|0,h+48|0,f);ab[c[(c[a>>2]|0)+8>>2]&127](a,h+48|0,h,f);ab[c[(c[a>>2]|0)+8>>2]&127](a,h+64|0,h+80|0,f);ab[c[(c[a>>2]|0)+8>>2]&127](a,h+80|0,h+96|0,f);ab[c[(c[a>>2]|0)+8>>2]&127](a,h+96|0,h+112|0,f);ab[c[(c[a>>2]|0)+8>>2]&127](a,h+112|0,h+64|0,f);ab[c[(c[a>>2]|0)+8>>2]&127](a,h,h+64|0,f);ab[c[(c[a>>2]|0)+8>>2]&127](a,h+16|0,h+80|0,f);ab[c[(c[a>>2]|0)+8>>2]&127](a,h+32|0,h+96|0,f);ab[c[(c[a>>2]|0)+8>>2]&127](a,h+48|0,h+112|0,f);sa=h;return}function Ye(b,d,e,f,h,i){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0;q=sa;sa=sa+96|0;l=q;m=l+96|0;do{c[l>>2]=0;l=l+4|0}while((l|0)<(m|0));if(!i)o=c[c[b+880>>2]>>2]|0;else o=i;i=c[b+772>>2]|0;if((i|0)==(c[b+776>>2]|0)?(p=(i|0)==0?1:i<<1,(i|0)<(p|0)):0){if(!p)n=0;else{c[7182]=(c[7182]|0)+1;i=xb((p*104|3)+16|0)|0;if(!i)i=0;else{c[(i+4+15&-16)+-4>>2]=i;i=i+4+15&-16}n=i;i=c[b+772>>2]|0}if((i|0)>0){j=0;do{l=n+(j*104|0)|0;k=(c[b+780>>2]|0)+(j*104|0)|0;m=l+104|0;do{c[l>>2]=c[k>>2];l=l+4|0;k=k+4|0}while((l|0)<(m|0));j=j+1|0}while((j|0)!=(i|0))}i=c[b+780>>2]|0;if(i|0){if(a[b+784>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[i+-4>>2]|0)}c[b+780>>2]=0}a[b+784>>0]=1;c[b+780>>2]=n;c[b+776>>2]=p;i=c[b+772>>2]|0}l=c[b+780>>2]|0;c[l+(i*104|0)>>2]=0;c[l+(i*104|0)+4>>2]=o;l=l+(i*104|0)+8|0;k=q;m=l+96|0;do{c[l>>2]=c[k>>2];l=l+4|0;k=k+4|0}while((l|0)<(m|0));p=c[b+772>>2]|0;c[b+772>>2]=p+1;o=c[b+780>>2]|0;k=c[b+720>>2]|0;c[o+(p*104|0)+8>>2]=k+(d*104|0);n=c[b+720>>2]|0;c[o+(p*104|0)+12>>2]=n+(e*104|0);l=c[b+720>>2]|0;c[o+(p*104|0)+16>>2]=l+(f*104|0);m=c[b+720>>2]|0;c[o+(p*104|0)+20>>2]=m+(h*104|0);y=+g[k+(d*104|0)+8>>2];v=+g[k+(d*104|0)+12>>2];z=+g[k+(d*104|0)+16>>2];s=+g[l+(f*104|0)+8>>2]-y;x=+g[l+(f*104|0)+12>>2]-v;u=+g[l+(f*104|0)+16>>2]-z;t=+g[m+(h*104|0)+8>>2]-y;w=+g[m+(h*104|0)+12>>2]-v;r=+g[m+(h*104|0)+16>>2]-z;g[o+(p*104|0)+24>>2]=(+g[n+(e*104|0)+16>>2]-z)*(s*w-x*t)+((+g[n+(e*104|0)+8>>2]-y)*(x*r-u*w)+(+g[n+(e*104|0)+12>>2]-v)*(u*t-s*r));a[b+924>>0]=1;sa=q;return}function Ze(a,b,d){a=a|0;b=+b;d=+d;var e=0.0,f=0,h=0,i=0,j=0,k=0,l=0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0,t=0.0,u=0.0,v=0.0,w=0,x=0,y=0.0;x=c[a+832>>2]|0;if((x|0)<=0)return;s=c[a+840>>2]|0;a=0;do{w=c[s+(a*56|0)>>2]|0;l=c[s+(a*56|0)+4>>2]|0;j=c[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[a>>2]=(i*m-n*p)*d*0.0+(1.0/b*(n*c-k*i)*d+(k*p-c*m)*d*0.0);g[a+4>>2]=(p*o-i*j)*d*0.0+(1.0/b*(i*l-c*o)*d+(c*j-p*l)*d*0.0);g[a+8>>2]=(n*j-m*o)*d*0.0+(1.0/b*(k*o-n*l)*d+(m*l-k*j)*d*0.0);g[a+12>>2]=0.0;g[a+16>>2]=(i*m-n*p)*d*0.0+((n*c-k*i)*d*0.0+1.0/b*(k*p-c*m)*d);g[a+20>>2]=(p*o-i*j)*d*0.0+((i*l-c*o)*d*0.0+1.0/b*(c*j-p*l)*d);g[a+24>>2]=(n*j-m*o)*d*0.0+((k*o-n*l)*d*0.0+1.0/b*(m*l-k*j)*d);g[a+28>>2]=0.0;g[a+32>>2]=1.0/b*(i*m-n*p)*d+((n*c-k*i)*d*0.0+(k*p-c*m)*d*0.0);g[a+36>>2]=1.0/b*(p*o-i*j)*d+((i*l-c*o)*d*0.0+(c*j-p*l)*d*0.0);g[a+40>>2]=1.0/b*(n*j-m*o)*d+((k*o-n*l)*d*0.0+(m*l-k*j)*d*0.0);g[a+44>>2]=0.0;return}function $e(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var h=0.0;f=sa;sa=sa+784|0;c[f+712>>2]=1065353216;c[f+712+4>>2]=0;c[f+712+4+4>>2]=0;c[f+712+4+8>>2]=0;c[f+712+4+12>>2]=0;c[f+712+20>>2]=1065353216;c[f+712+24>>2]=0;c[f+712+24+4>>2]=0;c[f+712+24+8>>2]=0;c[f+712+24+12>>2]=0;c[f+712+40>>2]=1065353216;e=f+712+44|0;c[e>>2]=0;c[e+4>>2]=0;c[e+8>>2]=0;c[e+12>>2]=0;c[e+16>>2]=0;c[f+536>>2]=6448;c[f+536+168>>2]=0;g[f+536+172>>2]=0.0;c[f+536+164>>2]=c[b+200>>2];e=c[b+196>>2]|0;c[f+480+8>>2]=0;c[f+480+12>>2]=1065353216;c[f+480+16>>2]=1065353216;c[f+480+20>>2]=1065353216;g[f+480+24>>2]=0.0;c[f+480>>2]=9480;c[f+480+4>>2]=8;c[f+480+28>>2]=e;c[f+480+44>>2]=e;c[f+376+8>>2]=0;c[f+376+12>>2]=1065353216;c[f+376+16>>2]=1065353216;c[f+376+20>>2]=1065353216;g[f+376+24>>2]=0.0;g[f+376+44>>2]=.03999999910593033;c[f+376+52>>2]=0;c[f+376>>2]=6476;c[f+376+4>>2]=1;c[f+376+56>>2]=c[d>>2];c[f+376+56+4>>2]=c[d+4>>2];c[f+376+56+8>>2]=c[d+8>>2];c[f+376+56+12>>2]=c[d+12>>2];c[f+376+72>>2]=c[d+16>>2];c[f+376+72+4>>2]=c[d+16+4>>2];c[f+376+72+8>>2]=c[d+16+8>>2];c[f+376+72+12>>2]=c[d+16+12>>2];c[f+376+88>>2]=c[d+32>>2];c[f+376+88+4>>2]=c[d+32+4>>2];c[f+376+88+8>>2]=c[d+32+8>>2];c[f+376+88+12>>2]=c[d+32+12>>2];g[f+16+308>>2]=9.999999747378752e-05;a[f+16+332>>0]=0;c[f>>2]=7772;c[f+4>>2]=f+16;c[f+8>>2]=f+480;c[f+12>>2]=f+376;if(rc(f,b+4|0,b+68|0,f+712|0,f+712|0,f+536|0)|0?(h=+g[f+536+164>>2],+g[b+200>>2]>h):0)g[b+200>>2]=h;c[f+376>>2]=9932;e=c[f+376+52>>2]|0;if(!e){sa=f;return}Pa[c[c[e>>2]>>2]&511](e);e=c[f+376+52>>2]|0;if(!e){sa=f;return}c[7183]=(c[7183]|0)+1;Hc(c[e+-4>>2]|0);sa=f;return}function af(d,e,f,g,h,i,j,k,l){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0;n=sa;sa=sa+48|0;c[7182]=(c[7182]|0)+1;g=xb(83)|0;if(!g)m=0;else{c[(g+4+15&-16)+-4>>2]=g;m=g+4+15&-16}c[m>>2]=h;b[m+4>>1]=i;b[m+6>>1]=j;h=m+16|0;c[h>>2]=c[e>>2];c[h+4>>2]=c[e+4>>2];c[h+8>>2]=c[e+8>>2];c[h+12>>2]=c[e+12>>2];h=m+32|0;c[h>>2]=c[f>>2];c[h+4>>2]=c[f+4>>2];c[h+8>>2]=c[f+8>>2];c[h+12>>2]=c[f+12>>2];c[m+8>>2]=0;h=m+56|0;c[h>>2]=0;i=m+52|0;c[i>>2]=0;c[n+16>>2]=c[e>>2];c[n+16+4>>2]=c[e+4>>2];c[n+16+8>>2]=c[e+8>>2];c[n+16+12>>2]=c[e+12>>2];c[n+16+16>>2]=c[f>>2];c[n+16+16+4>>2]=c[f+4>>2];c[n+16+16+8>>2]=c[f+8>>2];c[n+16+16+12>>2]=c[f+12>>2];c[m+60>>2]=c[d+144>>2];g=(c[d+188>>2]|0)+1|0;c[d+188>>2]=g;c[m+12>>2]=g;g=c[d+8>>2]|0;if(!g){c[7182]=(c[7182]|0)+1;g=xb(63)|0;if(!g)g=0;else{c[(g+4+15&-16)+-4>>2]=g;g=g+4+15&-16}k=g;l=k+44|0;do{c[k>>2]=0;k=k+4|0}while((k|0)<(l|0))}else c[d+8>>2]=0;c[g+32>>2]=0;c[g+36>>2]=m;c[g+40>>2]=0;c[g>>2]=c[n+16>>2];c[g+4>>2]=c[n+16+4>>2];c[g+8>>2]=c[n+16+8>>2];c[g+12>>2]=c[n+16+12>>2];c[g+16>>2]=c[n+16+16>>2];c[g+20>>2]=c[n+16+20>>2];c[g+24>>2]=c[n+16+24>>2];c[g+28>>2]=c[n+16+28>>2];ue(d+4|0,c[d+4>>2]|0,g);c[d+16>>2]=(c[d+16>>2]|0)+1;c[m+48>>2]=g;k=d+124+(c[d+144>>2]<<2)|0;c[i>>2]=0;c[h>>2]=c[k>>2];g=c[k>>2]|0;if(g|0)c[g+52>>2]=m;c[k>>2]=m;if(a[d+193>>0]|0){sa=n;return m|0}c[n>>2]=11812;c[n+4>>2]=d;c[n+8>>2]=m;le(c[d+4>>2]|0,n+16|0,n);le(c[d+64>>2]|0,n+16|0,n);sa=n;return m|0}function bf(b,d,e,f,h){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0;k=sa;sa=sa+160|0;i=c[b+12>>2]|0;if(!i){sa=k;return}l=(a[b+16>>0]|0)!=0;m=l?e:d;e=l?d:e;n=c[m+4>>2]|0;d=c[e+4>>2]|0;c[h+4>>2]=i;i=c[i+752>>2]|0;c[k+136>>2]=12212;c[k+136+4>>2]=n;c[k+136+8>>2]=d;c[k+136+12>>2]=i;g[k+128>>2]=999999984306749440.0;i=c[m+12>>2]|0;c[k>>2]=c[i>>2];c[k+4>>2]=c[i+4>>2];c[k+8>>2]=c[i+8>>2];c[k+12>>2]=c[i+12>>2];c[k+16>>2]=c[i+16>>2];c[k+16+4>>2]=c[i+16+4>>2];c[k+16+8>>2]=c[i+16+8>>2];c[k+16+12>>2]=c[i+16+12>>2];c[k+32>>2]=c[i+32>>2];c[k+32+4>>2]=c[i+32+4>>2];c[k+32+8>>2]=c[i+32+8>>2];c[k+32+12>>2]=c[i+32+12>>2];c[k+48>>2]=c[i+48>>2];c[k+48+4>>2]=c[i+48+4>>2];c[k+48+8>>2]=c[i+48+8>>2];c[k+48+12>>2]=c[i+48+12>>2];i=c[e+12>>2]|0;c[k+64>>2]=c[i>>2];c[k+64+4>>2]=c[i+4>>2];c[k+64+8>>2]=c[i+8>>2];c[k+64+12>>2]=c[i+12>>2];c[k+80>>2]=c[i+16>>2];c[k+80+4>>2]=c[i+16+4>>2];c[k+80+8>>2]=c[i+16+8>>2];c[k+80+12>>2]=c[i+16+12>>2];c[k+96>>2]=c[i+32>>2];c[k+96+4>>2]=c[i+32+4>>2];c[k+96+8>>2]=c[i+32+8>>2];c[k+96+12>>2]=c[i+32+12>>2];c[k+112>>2]=c[i+48>>2];c[k+112+4>>2]=c[i+48+4>>2];c[k+112+8>>2]=c[i+48+8>>2];c[k+112+12>>2]=c[i+48+12>>2];dd(k+136|0,k,h,c[f+20>>2]|0,l);do if(a[b+8>>0]|0?(j=c[h+4>>2]|0,c[j+748>>2]|0):0){b=c[j+740>>2]|0;d=c[(c[h+8>>2]|0)+8>>2]|0;if((b|0)==(d|0)){re(j,b+4|0,(c[(c[h+12>>2]|0)+8>>2]|0)+4|0);break}else{re(j,(c[(c[h+12>>2]|0)+8>>2]|0)+4|0,d+4|0);break}}while(0);sa=k;return}function cf(a){a=a|0;var b=0,d=0,e=0,f=0,h=0,i=0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0,q=0;d=c[a+752>>2]|0;if((d|0)>0){e=c[a+760>>2]|0;b=0;do{f=c[e+(b*44|0)+8>>2]|0;h=c[e+(b*44|0)+12>>2]|0;i=c[e+(b*44|0)+16>>2]|0;l=+g[f+8>>2];n=+g[f+12>>2];j=+g[f+16>>2];k=+g[h+8>>2]-l;o=+g[h+12>>2]-n;m=+g[h+16>>2]-j;l=+g[i+8>>2]-l;n=+g[i+12>>2]-n;j=+g[i+16>>2]-j;g[e+(b*44|0)+36>>2]=+x(+((k*n-o*l)*(k*n-o*l)+((o*j-m*n)*(o*j-m*n)+(m*l-k*j)*(m*l-k*j))));b=b+1|0}while((b|0)!=(d|0))}d=c[a+712>>2]|0;if((d|0)>0){c[7182]=(c[7182]|0)+1;b=xb((d<<2|3)+16|0)|0;if(!b)e=0;else{c[(b+4+15&-16)+-4>>2]=b;e=b+4+15&-16}mk(e|0,0,d<<2|0)|0;f=c[a+712>>2]|0;if((f|0)>0){d=c[a+720>>2]|0;b=0;do{g[d+(b*104|0)+92>>2]=0.0;b=b+1|0}while((b|0)!=(f|0));i=e;h=e;b=f}else{i=e;h=e;b=f}}else{i=0;h=0;b=d}f=c[a+752>>2]|0;if((f|0)>0){d=c[a+760>>2]|0;e=c[a+720>>2]|0;b=0;do{o=+w(+(+g[d+(b*44|0)+36>>2]));p=c[d+(b*44|0)+8>>2]|0;q=i+(((p-e|0)/104|0)<<2)|0;c[q>>2]=(c[q>>2]|0)+1;g[p+92>>2]=o+ +g[p+92>>2];p=c[d+(b*44|0)+12>>2]|0;q=i+(((p-e|0)/104|0)<<2)|0;c[q>>2]=(c[q>>2]|0)+1;g[p+92>>2]=o+ +g[p+92>>2];p=c[d+(b*44|0)+16>>2]|0;q=i+(((p-e|0)/104|0)<<2)|0;c[q>>2]=(c[q>>2]|0)+1;g[p+92>>2]=o+ +g[p+92>>2];b=b+1|0}while((b|0)!=(f|0));b=c[a+712>>2]|0}if((b|0)>0){d=0;do{e=c[i+(d<<2)>>2]|0;if((e|0)>0){q=(c[a+720>>2]|0)+(d*104|0)+92|0;g[q>>2]=+g[q>>2]/+(e|0)}else g[(c[a+720>>2]|0)+(d*104|0)+92>>2]=0.0;d=d+1|0}while((d|0)!=(b|0));if(!h)return}else if((i|0)==0|(h|0)==0)return;c[7183]=(c[7183]|0)+1;Hc(c[h+-4>>2]|0);return}function df(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=c[a+56>>2]|0;if(!e){e=c[a+52>>2]|0;if(!e){c[7182]=(c[7182]|0)+1;e=xb(31)|0;if(!e)e=0;else{c[(e+4+15&-16)+-4>>2]=e;e=e+4+15&-16}f=c[a+60>>2]|0;c[e+4>>2]=f;g=e+8|0;c[g>>2]=0;c[7182]=(c[7182]|0)+1;f=xb((f*24|3)+16|0)|0;if(!f)f=0;else{c[(f+4+15&-16)+-4>>2]=f;f=f+4+15&-16}c[e>>2]=f;c[g>>2]=c[a+48>>2];c[a+48>>2]=e}else c[a+52>>2]=c[e+8>>2];h=c[e>>2]|0;g=c[e+4>>2]|0;if((g|0)>0?(c[h>>2]=(g|0)!=1?h+24|0:0,(g|0)!=1):0){e=1;f=h+24|0;do{e=e+1|0;i=(e|0)<(g|0);j=f;f=f+24|0;c[j>>2]=i?f:0}while(i)}}else h=e;c[a+56>>2]=c[h>>2];c[h>>2]=0;c[h+4>>2]=0;c[h+8>>2]=0;c[h+12>>2]=0;c[h+16>>2]=0;c[h+20>>2]=0;e=c[a+56>>2]|0;if(!e){e=c[a+52>>2]|0;if(!e){c[7182]=(c[7182]|0)+1;e=xb(31)|0;if(!e)f=0;else{c[(e+4+15&-16)+-4>>2]=e;f=e+4+15&-16}e=c[a+60>>2]|0;c[f+4>>2]=e;g=f+8|0;c[g>>2]=0;c[7182]=(c[7182]|0)+1;e=xb((e*24|3)+16|0)|0;if(!e)e=0;else{c[(e+4+15&-16)+-4>>2]=e;e=e+4+15&-16}c[f>>2]=e;c[g>>2]=c[a+48>>2];c[a+48>>2]=f}else{c[a+52>>2]=c[e+8>>2];f=e}e=c[f>>2]|0;i=c[f+4>>2]|0;if((i|0)>0?(c[e>>2]=(i|0)!=1?e+24|0:0,(i|0)!=1):0){f=1;g=e+24|0;do{f=f+1|0;j=(f|0)<(i|0);k=g;g=g+24|0;c[k>>2]=j?g:0}while(j)}}c[a+56>>2]=c[e>>2];k=e;c[k>>2]=0;c[k+4>>2]=0;c[h+8>>2]=e;c[e+8>>2]=h;k=c[a+100>>2]|0;c[h+20>>2]=k;c[e+20>>2]=k;c[h+12>>2]=d;c[e+12>>2]=b;c[h+16>>2]=0;c[e+16>>2]=0;e=c[a+116>>2]|0;c[a+116>>2]=e+1;if((e|0)<(c[a+120>>2]|0))return h|0;c[a+120>>2]=e+1;return h|0}function ef(a,d){a=a|0;d=d|0;var e=0,f=0,h=0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0;e=sa;sa=sa+128|0;F=c[(c[a+8>>2]|0)+24>>2]|0;h=c[F+(d*80|0)+64>>2]|0;f=c[a+12>>2]|0;w=+g[F+(d*80|0)>>2];C=+g[f>>2];v=+g[F+(d*80|0)+16>>2];B=+g[f+4>>2];u=+g[F+(d*80|0)+32>>2];A=+g[f+8>>2];t=+g[F+(d*80|0)+4>>2];s=+g[F+(d*80|0)+20>>2];r=+g[F+(d*80|0)+36>>2];q=+g[F+(d*80|0)+8>>2];o=+g[F+(d*80|0)+24>>2];m=+g[F+(d*80|0)+40>>2];z=+g[f+16>>2];y=+g[f+20>>2];x=+g[f+24>>2];p=+g[f+32>>2];n=+g[f+36>>2];l=+g[f+40>>2];E=+g[F+(d*80|0)+48>>2];D=+g[F+(d*80|0)+52>>2];i=+g[F+(d*80|0)+56>>2];k=+g[f+48>>2]+(C*E+B*D+A*i);j=z*E+y*D+x*i+ +g[f+52>>2];i=p*E+n*D+l*i+ +g[f+56>>2];g[e+56>>2]=w*C+v*B+u*A;g[e+56+4>>2]=C*t+B*s+A*r;g[e+56+8>>2]=C*q+B*o+A*m;g[e+56+12>>2]=0.0;g[e+56+16>>2]=w*z+v*y+u*x;g[e+56+20>>2]=t*z+s*y+r*x;g[e+56+24>>2]=q*z+o*y+m*x;g[e+56+28>>2]=0.0;g[e+56+32>>2]=w*p+v*n+u*l;g[e+56+36>>2]=t*p+s*n+r*l;g[e+56+40>>2]=q*p+o*n+m*l;g[e+56+44>>2]=0.0;g[e+56+48>>2]=k;g[e+56+52>>2]=j;g[e+56+56>>2]=i;g[e+56+60>>2]=0.0;f=c[a+4>>2]|0;c[e+32>>2]=0;c[e+32+4>>2]=h;c[e+32+8>>2]=f;c[e+32+12>>2]=e+56;c[e+32+16>>2]=-1;c[e+32+20>>2]=d;f=c[a+24>>2]|0;g[e+4>>2]=1.0;c[e+8>>2]=0;b[e+12>>1]=1;b[e+14>>1]=-1;c[e+16>>2]=0;c[e>>2]=8604;c[e+20>>2]=f;c[e+24>>2]=d;c[e+4>>2]=c[f+4>>2];c[e+16>>2]=c[f+16>>2];_b(c[a+16>>2]|0,c[a+20>>2]|0,e+32|0,e);sa=e;return}function ff(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,h=0.0,i=0,j=0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0;i=sa;sa=sa+80|0;h=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+n*+g[b+36>>2]+m*+g[b+40>>2]+ +g[b+56>>2];g[i+32>>2]=o*+g[b>>2]+n*+g[b+4>>2]+m*+g[b+8>>2]+ +g[b+48>>2];g[i+32+4>>2]=l;g[i+32+8>>2]=k;g[i+32+12>>2]=0.0;g[d+(f<<2)>>2]=+g[j>>2]-h;f=f+1|0}while((f|0)!=3);sa=i;return}function gf(b,d,e,f,h){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;var i=0,j=0,k=0,l=0,m=0;k=sa;sa=sa+144|0;i=c[b+12>>2]|0;if(!i){sa=k;return}m=c[d+4>>2]|0;l=c[e+4>>2]|0;c[h+4>>2]=i;g[k+12+128>>2]=999999984306749440.0;i=c[d+12>>2]|0;c[k+12>>2]=c[i>>2];c[k+12+4>>2]=c[i+4>>2];c[k+12+8>>2]=c[i+8>>2];c[k+12+12>>2]=c[i+12>>2];c[k+12+16>>2]=c[i+16>>2];c[k+12+16+4>>2]=c[i+16+4>>2];c[k+12+16+8>>2]=c[i+16+8>>2];c[k+12+16+12>>2]=c[i+16+12>>2];c[k+12+32>>2]=c[i+32>>2];c[k+12+32+4>>2]=c[i+32+4>>2];c[k+12+32+8>>2]=c[i+32+8>>2];c[k+12+32+12>>2]=c[i+32+12>>2];c[k+12+48>>2]=c[i+48>>2];c[k+12+48+4>>2]=c[i+48+4>>2];c[k+12+48+8>>2]=c[i+48+8>>2];c[k+12+48+12>>2]=c[i+48+12>>2];i=c[e+12>>2]|0;c[k+12+64>>2]=c[i>>2];c[k+12+64+4>>2]=c[i+4>>2];c[k+12+64+8>>2]=c[i+8>>2];c[k+12+64+12>>2]=c[i+12>>2];c[k+12+80>>2]=c[i+16>>2];c[k+12+80+4>>2]=c[i+16+4>>2];c[k+12+80+8>>2]=c[i+16+8>>2];c[k+12+80+12>>2]=c[i+16+12>>2];c[k+12+96>>2]=c[i+32>>2];c[k+12+96+4>>2]=c[i+32+4>>2];c[k+12+96+8>>2]=c[i+32+8>>2];c[k+12+96+12>>2]=c[i+32+12>>2];c[k+12+112>>2]=c[i+48>>2];c[k+12+112+4>>2]=c[i+48+4>>2];c[k+12+112+8>>2]=c[i+48+8>>2];c[k+12+112+12>>2]=c[i+48+12>>2];c[k>>2]=12192;c[k+4>>2]=m;c[k+8>>2]=l;vb(k,k+12|0,h,c[f+20>>2]|0,0);do if(a[b+8>>0]|0?(j=c[h+4>>2]|0,c[j+748>>2]|0):0){b=c[j+740>>2]|0;d=c[(c[h+8>>2]|0)+8>>2]|0;if((b|0)==(d|0)){re(j,b+4|0,(c[(c[h+12>>2]|0)+8>>2]|0)+4|0);break}else{re(j,(c[(c[h+12>>2]|0)+8>>2]|0)+4|0,d+4|0);break}}while(0);sa=k;return}function hf(b,d,e,f,h,i,j,k,l){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0,q=0;q=sa;sa=sa+80|0;g[q+16+60>>2]=0.0;g[q+16+8>>2]=0.0;g[q+16+12>>2]=.10000000149011612;g[q+16+16>>2]=300.0;g[q+16>>2]=1.0;g[q+16+4>>2]=-1.0;g[q+16+28>>2]=0.0;g[q+16+32>>2]=.20000000298023224;g[q+16+36>>2]=0.0;g[q+16+40>>2]=0.0;g[q+16+20>>2]=1.0;g[q+16+24>>2]=.5;c[q+16+56>>2]=0;g[q+16+48>>2]=0.0;a[q+16+44>>0]=0;o=0;do{n=c[b+856+(o<<2)>>2]|0;m=a[b+788+o>>0]|0;if(!n){if(m<<24>>24){m=1;p=5}}else p=5;if((p|0)==5){p=0;g[q+16+40>>2]=0.0;c[q+16+56>>2]=n;c[q+16+52>>2]=c[b+840+(o<<2)>>2];c[q+16+48>>2]=c[b+824+(o<<2)>>2];c[q+16+20>>2]=c[b+732>>2];a[q+16+44>>0]=m;c[q+16+4>>2]=c[b+696+(o<<2)>>2];c[q+16+24>>2]=c[b+728>>2];c[q+16>>2]=c[b+680+(o<<2)>>2];g[q+16+16>>2]=0.0;c[q+16+12>>2]=c[b+808+(o<<2)>>2];c[q+16+8>>2]=c[b+792+(o<<2)>>2];c[q>>2]=c[b+1064+(o<<2)>>2];c[q+4>>2]=c[b+1080+(o<<2)>>2];c[q+8>>2]=c[b+1096+(o<<2)>>2];g[q+12>>2]=0.0;n=c[b+1304>>2]|0;m=o*3|0;n=m?n>>m:n;if(!(n&1))m=c[d+32>>2]|0;else m=b+740+(o<<2)|0;c[q+16+28>>2]=c[m>>2];if(!(n&2))m=c[d+32>>2]|0;else m=b+772+(o<<2)|0;c[q+16+36>>2]=c[m>>2];c[q+16+32>>2]=c[((n&4|0)==0?d+4|0:b+756+(o<<2)|0)>>2];if(a[b+1301>>0]|0){n=o+1|0;if(!(c[b+868+(((n|0)==3?0:n)<<6)+56>>2]|0))m=1;else m=(c[b+868+((((o+2|0)>>>0)%3|0)<<6)+56>>2]|0)==0&1}else m=0;e=(Kc(b,q+16|0,f,h,i,j,k,l,d,e,q,0,m)|0)+e|0}o=o+1|0}while((o|0)!=3);sa=q;return e|0}function jf(b,d,e,f,h){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;var i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0;b=sa;sa=sa+608|0;o=+g[d+116>>2]-+g[d+52>>2];n=+g[d+120>>2]-+g[d+56>>2];m=+g[d+124>>2]-+g[d+60>>2];i=+g[e+116>>2]-+g[e+52>>2];j=+g[e+120>>2]-+g[e+56>>2];k=+g[e+124>>2]-+g[e+60>>2];l=+g[d+252>>2];if(o*o+n*n+m*m>2],i*i+j*j+k*k>2]|0;f=c[e+248>>2]|0;c[b+552+8>>2]=0;c[b+552+12>>2]=1065353216;c[b+552+16>>2]=1065353216;c[b+552+20>>2]=1065353216;g[b+552+24>>2]=0.0;c[b+552>>2]=9480;c[b+552+4>>2]=8;c[b+552+28>>2]=f;c[b+552+44>>2]=f;c[b+376>>2]=6448;g[b+376+164>>2]=999999984306749440.0;c[b+376+168>>2]=0;g[b+376+172>>2]=0.0;g[b+16+308>>2]=9.999999747378752e-05;a[b+16+332>>0]=0;c[b>>2]=12048;c[b+4>>2]=b+16;c[b+8>>2]=h;c[b+12>>2]=b+552;if(Lc(b,d+4|0,d+68|0,e+4|0,e+68|0,b+376|0)|0){i=+g[b+376+164>>2];if(+g[d+244>>2]>i)g[d+244>>2]=i;if(+g[e+244>>2]>i)g[e+244>>2]=i;if(!(i<1.0))i=1.0}else i=1.0;h=c[e+192>>2]|0;f=c[d+248>>2]|0;c[b+552+8>>2]=0;c[b+552+12>>2]=1065353216;c[b+552+16>>2]=1065353216;c[b+552+20>>2]=1065353216;g[b+552+24>>2]=0.0;c[b+552>>2]=9480;c[b+552+4>>2]=8;c[b+552+28>>2]=f;c[b+552+44>>2]=f;c[b+376>>2]=6448;g[b+376+164>>2]=999999984306749440.0;c[b+376+168>>2]=0;g[b+376+172>>2]=0.0;g[b+16+308>>2]=9.999999747378752e-05;a[b+16+332>>0]=0;c[b>>2]=12048;c[b+4>>2]=b+16;c[b+8>>2]=b+552;c[b+12>>2]=h;if(Lc(b,d+4|0,d+68|0,e+4|0,e+68|0,b+376|0)|0){j=+g[b+376+164>>2];if(+g[d+244>>2]>j)g[d+244>>2]=j;if(+g[e+244>>2]>j)g[e+244>>2]=j;if(i>j)i=j}o=i;sa=b;return +o}function kf(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0,G=0.0,H=0;H=sa;sa=sa+32|0;j=+g[b+16>>2];f=+g[b>>2];k=+g[b+20>>2];h=+g[b+4>>2];m=+g[b+24>>2];i=+g[b+8>>2];q=+g[b+32>>2];u=+g[b+36>>2];v=+g[b+40>>2];B=(k-h)*(v-i)-(m-i)*(u-h);C=(m-i)*(q-f)-(j-f)*(v-i);D=(j-f)*(u-h)-(k-h)*(q-f);g[H+16>>2]=B;g[H+16+4>>2]=C;g[H+16+8>>2]=D;g[H+16+12>>2]=0.0;n=+g[a+4>>2];r=+g[a+8>>2];w=+g[a+12>>2];E=B*n+C*r+D*w-(i*D+(f*B+h*C));o=+g[a+20>>2];s=+g[a+24>>2];y=+g[a+28>>2];if(E*(B*o+C*s+D*y-(i*D+(f*B+h*C)))>=0.0){sa=H;return}F=c[a+36>>2]|0;if(E<=0.0&(F&1|0)!=0){sa=H;return}G=E/(E-(B*o+C*s+D*y-(i*D+(f*B+h*C))));if(!(G<+g[a+40>>2])){sa=H;return}A=(D*D+(B*B+C*C))*-9.999999747378752e-05;z=f-(o*G+n*(1.0-G));t=h-(s*G+r*(1.0-G));p=i-(y*G+w*(1.0-G));l=j-(o*G+n*(1.0-G));k=k-(s*G+r*(1.0-G));j=m-(y*G+w*(1.0-G));if(!(D*(k*z-t*l)+(B*(t*j-p*k)+C*(p*l-j*z))>=A)){sa=H;return}i=q-(o*G+n*(1.0-G));h=u-(s*G+r*(1.0-G));f=v-(y*G+w*(1.0-G));if(!(D*(h*l-k*i)+(B*(k*f-j*h)+C*(j*i-f*l))>=A)){sa=H;return}if(!(D*(t*i-h*z)+(B*(h*p-f*t)+C*(f*z-p*i))>=A)){sa=H;return}f=1.0/+x(+(D*D+(B*B+C*C)));g[H+16>>2]=B*f;g[H+16+4>>2]=C*f;g[H+16+8>>2]=D*f;b=c[(c[a>>2]|0)+12>>2]|0;if(E<=0.0&(F&2|0)==0){g[H>>2]=-(B*f);g[H+4>>2]=-(C*f);g[H+8>>2]=-(D*f);g[H+12>>2]=0.0;g[a+40>>2]=+xa[b&3](a,H,G,d,e);sa=H;return}else{g[a+40>>2]=+xa[b&3](a,H+16|0,G,d,e);sa=H;return}}function lf(b,d,e,f,h){b=b|0;d=d|0;e=e|0;f=f|0;h=+h;var i=0,j=0,k=0,l=0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0;B=sa;sa=sa+96|0;m=+g[e+4>>2];n=+g[e+20>>2];o=+g[e+36>>2];p=+g[e+8>>2];q=+g[e+24>>2];r=+g[e+40>>2];s=+g[e+12>>2];t=+g[e+28>>2];u=+g[e+44>>2];v=-+g[e+52>>2];w=-+g[e+56>>2];x=-+g[e+60>>2];k=c[b+720>>2]|0;y=+g[k+(d*104|0)+8>>2];z=+g[k+(d*104|0)+12>>2];A=+g[k+(d*104|0)+16>>2];a:do if(f){f=c[b+268>>2]|0;b:do if((f|0)>0){j=c[b+276>>2]|0;i=0;while(1){if((c[j+(i<<2)>>2]|0)==(e|0))break;i=i+1|0;if((i|0)>=(f|0))break b}if((i|0)!=(f|0)){f=k;break a}}while(0);if((f|0)==(c[b+272>>2]|0)?(l=(f|0)==0?1:f<<1,(f|0)<(l|0)):0){if(!l)j=0;else{c[7182]=(c[7182]|0)+1;f=xb((l<<2|3)+16|0)|0;if(!f)f=0;else{c[(f+4+15&-16)+-4>>2]=f;f=f+4+15&-16}j=f;f=c[b+268>>2]|0}if((f|0)>0){i=0;do{c[j+(i<<2)>>2]=c[(c[b+276>>2]|0)+(i<<2)>>2];i=i+1|0}while((i|0)!=(f|0))}i=c[b+276>>2]|0;if(i){if(a[b+280>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[i+-4>>2]|0);f=c[b+268>>2]|0}c[b+276>>2]=0}a[b+280>>0]=1;c[b+276>>2]=j;c[b+272>>2]=l}c[(c[b+276>>2]|0)+(f<<2)>>2]=e;c[b+268>>2]=f+1;f=c[b+720>>2]|0}else f=k;while(0);c[B>>2]=f+(d*104|0);c[B+20>>2]=e;g[B+4>>2]=m*v+n*w+o*x+(m*y+n*z+o*A);g[B+8>>2]=p*v+q*w+r*x+(p*y+q*z+r*A);g[B+12>>2]=s*v+t*w+u*x+(s*y+t*z+u*A);g[B+16>>2]=0.0;e=f+(d*104|0)+100|0;a[e>>0]=a[e>>0]|1;g[B+24>>2]=h;Km(b+788|0,B);sa=B;return}function mf(b,d,e,f,h){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0;p=sa;sa=sa+48|0;if((f|0)==(d|0)|((d|0)==(e|0)|(e|0)==(f|0))){sa=p;return}k=p;l=k+36|0;do{c[k>>2]=0;k=k+4|0}while((k|0)<(l|0));if(!h)n=c[c[b+880>>2]>>2]|0;else n=h;h=c[b+752>>2]|0;if((h|0)==(c[b+756>>2]|0)?(o=(h|0)==0?1:h<<1,(h|0)<(o|0)):0){if(!o)m=0;else{c[7182]=(c[7182]|0)+1;h=xb((o*44|3)+16|0)|0;if(!h)h=0;else{c[(h+4+15&-16)+-4>>2]=h;h=h+4+15&-16}m=h;h=c[b+752>>2]|0}if((h|0)>0){i=0;do{k=m+(i*44|0)|0;j=(c[b+760>>2]|0)+(i*44|0)|0;l=k+44|0;do{c[k>>2]=c[j>>2];k=k+4|0;j=j+4|0}while((k|0)<(l|0));i=i+1|0}while((i|0)!=(h|0))}h=c[b+760>>2]|0;if(h|0){if(a[b+764>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[h+-4>>2]|0)}c[b+760>>2]=0}a[b+764>>0]=1;c[b+760>>2]=m;c[b+756>>2]=o;h=c[b+752>>2]|0}k=c[b+760>>2]|0;c[k+(h*44|0)>>2]=0;c[k+(h*44|0)+4>>2]=n;k=k+(h*44|0)+8|0;j=p;l=k+36|0;do{c[k>>2]=c[j>>2];k=k+4|0;j=j+4|0}while((k|0)<(l|0));o=c[b+752>>2]|0;c[b+752>>2]=o+1;n=c[b+760>>2]|0;k=c[b+720>>2]|0;c[n+(o*44|0)+8>>2]=k+(d*104|0);l=c[b+720>>2]|0;c[n+(o*44|0)+12>>2]=l+(e*104|0);m=c[b+720>>2]|0;c[n+(o*44|0)+16>>2]=m+(f*104|0);s=+g[k+(d*104|0)+8>>2];u=+g[k+(d*104|0)+12>>2];q=+g[k+(d*104|0)+16>>2];r=+g[l+(e*104|0)+8>>2]-s;v=+g[l+(e*104|0)+12>>2]-u;t=+g[l+(e*104|0)+16>>2]-q;s=+g[m+(f*104|0)+8>>2]-s;u=+g[m+(f*104|0)+12>>2]-u;q=+g[m+(f*104|0)+16>>2]-q;g[n+(o*44|0)+36>>2]=+x(+((r*u-v*s)*(r*u-v*s)+((v*q-t*u)*(v*q-t*u)+(t*s-r*q)*(t*s-r*q))));a[b+924>>0]=1;sa=p;return}function nf(a,b,d,e,f,h,i,j,k,l,m){a=a|0;b=b|0;d=d|0;e=e|0;f=+f;h=+h;i=+i;j=+j;k=k|0;l=l|0;m=+m;var n=0.0,o=0.0,p=0,q=0,r=0.0,s=0.0;q=sa;sa=sa+208|0;Co(q+192|0,+g[d>>2],+g[d+4>>2],+g[d+8>>2],+g[e>>2],+g[e+4>>2],+g[e+8>>2]);p=(~~((j-i)/(m*.01745329238474369))|0)==0?1:~~((j-i)/(m*.01745329238474369));yy(q+128|0,f,+g[e>>2],+g[e+4>>2],+g[e+8>>2]);m=+zI(i);Wp(q+144|0,+g[q+128>>2],+g[q+128+4>>2],+g[q+128+8>>2],m);qp(q+160|0,+g[b>>2],+g[b+4>>2],+g[b+8>>2],+g[q+144>>2],+g[q+144+4>>2],+g[q+144+8>>2]);m=+g[q+192>>2];n=+g[q+192+4>>2];o=+g[q+192+8>>2];yy(q+96|0,h,m,n,o);r=+yI(i);Wp(q+112|0,+g[q+96>>2],+g[q+96+4>>2],+g[q+96+8>>2],r);qp(q+176|0,+g[q+160>>2],+g[q+160+4>>2],+g[q+160+8>>2],+g[q+112>>2],+g[q+112+4>>2],+g[q+112+8>>2]);if(l)ab[c[(c[a>>2]|0)+8>>2]&127](a,b,q+176|0,k);d=1;while(1){if((d|0)>(p|0))break;r=(j-i)*+(d|0)/+(p|0)+i;yy(q+32|0,f,+g[e>>2],+g[e+4>>2],+g[e+8>>2]);s=+zI(r);Wp(q+48|0,+g[q+32>>2],+g[q+32+4>>2],+g[q+32+8>>2],s);qp(q+64|0,+g[b>>2],+g[b+4>>2],+g[b+8>>2],+g[q+48>>2],+g[q+48+4>>2],+g[q+48+8>>2]);yy(q,h,m,n,o);r=+yI(r);Wp(q+16|0,+g[q>>2],+g[q+4>>2],+g[q+8>>2],r);qp(q+80|0,+g[q+64>>2],+g[q+64+4>>2],+g[q+64+8>>2],+g[q+16>>2],+g[q+16+4>>2],+g[q+16+8>>2]);ab[c[(c[a>>2]|0)+8>>2]&127](a,q+176|0,q+80|0,k);c[q+176>>2]=c[q+80>>2];c[q+176+4>>2]=c[q+80+4>>2];c[q+176+8>>2]=c[q+80+8>>2];c[q+176+12>>2]=c[q+80+12>>2];d=d+1|0}if(!l){sa=q;return}ab[c[(c[a>>2]|0)+8>>2]&127](a,b,q+176|0,k);sa=q;return}function of(b,d){b=b|0;d=d|0;var e=0.0,f=0.0,h=0.0,i=0.0,j=0.0,k=0,l=0,m=0;e=+g[b+1192+(d<<2)>>2];i=+g[b+868+(d<<6)>>2];j=+g[b+868+(d<<6)+4>>2];do if(!(i>=j)){if(e3.1415927410125732)f=(i-e)%6.2831854820251465+-6.2831854820251465;else f=(i-e)%6.2831854820251465;else f=(i-e)%6.2831854820251465+6.2831854820251465;h=+w(+f);if(!((j-e)%6.2831854820251465<-3.1415927410125732))if((j-e)%6.2831854820251465>3.1415927410125732)f=(j-e)%6.2831854820251465+-6.2831854820251465;else f=(j-e)%6.2831854820251465;else f=(j-e)%6.2831854820251465+6.2831854820251465;m=h<+w(+f);e=m?e:e+6.2831854820251465;break}if(e>j){if(!((e-j)%6.2831854820251465<-3.1415927410125732))if((e-j)%6.2831854820251465>3.1415927410125732)f=(e-j)%6.2831854820251465+-6.2831854820251465;else f=(e-j)%6.2831854820251465;else f=(e-j)%6.2831854820251465+6.2831854820251465;h=+w(+f);if(!((e-i)%6.2831854820251465<-3.1415927410125732))if((e-i)%6.2831854820251465>3.1415927410125732)f=(e-i)%6.2831854820251465+-6.2831854820251465;else f=(e-i)%6.2831854820251465;else f=(e-i)%6.2831854820251465+6.2831854820251465;m=+w(+f)>2]=e;do if(!(i>j)){if(i>e){c[b+868+(d<<6)+56>>2]=1;e=e-i;g[b+868+(d<<6)+48>>2]=e;if(e>3.1415927410125732){g[b+868+(d<<6)+48>>2]=e+-6.2831854820251465;break}if(!(e<-3.1415927410125732))break;g[b+868+(d<<6)+48>>2]=e+6.2831854820251465;break}if(j>2]=2;e=e-j;g[b+868+(d<<6)+48>>2]=e;if(e>3.1415927410125732){g[b+868+(d<<6)+48>>2]=e+-6.2831854820251465;break}if(e<-3.1415927410125732)g[b+868+(d<<6)+48>>2]=e+6.2831854820251465}else{k=b+868+(d<<6)+56|0;l=34}}else{k=b+868+(d<<6)+56|0;l=34}while(0);if((l|0)==34?(c[k>>2]=0,(a[b+868+(d<<6)+44>>0]|0)==0):0){m=0;return m|0}m=1;return m|0}function pf(b,d){b=b|0;d=+d;var e=0,f=0,h=0,i=0,j=0,k=0,l=0,m=0.0,n=0.0,o=0.0,p=0.0;l=sa;sa=sa+16|0;Ki(16371);e=c[b+232>>2]|0;if((e|0)>0){k=(a[29312]|0)==0;j=0;do{i=c[(c[b+240>>2]|0)+(j<<2)>>2]|0;a:do if(i){f=c[i+216>>2]|0;b:do switch(f|0){case 4:case 2:{if((f|0)==4)break a;break}default:{p=+g[i+312>>2];o=+g[i+316>>2];n=+g[i+320>>2];m=+g[i+472>>2];if(p*p+o*o+n*n>2],n=+g[i+332>>2],o=+g[i+336>>2],p=+g[i+476>>2],m*m+n*n+o*o>2]=+g[i+220>>2]+d;break b}g[i+220>>2]=0.0;if((f&-2|0)!=4){c[i+216>>2]=0;f=0}}}while(0);h=f&-2;do if(k){if((h|0)!=2?!(+g[i+220>>2]>2.0):0)break;if(c[i+204>>2]&3|0){if((h|0)==4)break a;c[i+216>>2]=2;break a}if((f|0)==1){c[i+216>>2]=3;break a}if((f|0)!=2)break a;e=(c[i+260>>2]|0)+2|0;c[i+328>>2]=0;c[i+328+4>>2]=0;c[i+328+8>>2]=0;c[i+328+12>>2]=0;c[i+260>>2]=e;c[i+312>>2]=0;c[i+312+4>>2]=0;c[i+312+8>>2]=0;c[i+312+12>>2]=0;e=c[b+232>>2]|0;break a}while(0);if((h|0)!=4)c[i+216>>2]=1}while(0);j=j+1|0}while((j|0)<(e|0))}e=c[3084]|0;k=(c[e+16>>2]|0)+-1|0;c[e+16>>2]=k;if(k|0){sa=l;return}do if(c[e+4>>2]|0){la(l|0,0)|0;k=c[7181]|0;g[e+8>>2]=+g[e+8>>2]+ +(((c[l+4>>2]|0)-(c[k+4>>2]|0)+(((c[l>>2]|0)-(c[k>>2]|0)|0)*1e6|0)-(c[e+12>>2]|0)|0)>>>0)/1.0e3;if(!(c[e+16>>2]|0)){e=c[3084]|0;break}else{sa=l;return}}while(0);c[3084]=c[e+20>>2];sa=l;return}function qf(a,b,d){a=a|0;b=+b;d=+d;var e=0.0,f=0.0,h=0.0,i=0.0,j=0.0,k=0,l=0,m=0.0,n=0,o=0,p=0.0,q=0,r=0.0,s=0.0,t=0.0,u=0,v=0.0,w=0.0,x=0.0,y=0.0;u=sa;sa=sa+16|0;p=+g[a+452>>2];n=c[a+192>>2]|0;m=+va[c[(c[n>>2]|0)+48>>2]&15](n);n=c[a+812>>2]|0;if((n|0)<=0){sa=u;return}l=0;do{o=c[a+820>>2]|0;k=c[o+(l*104|0)>>2]|0;k=(c[k+236>>2]&2|0)==0?0:k;if(k|0){t=+g[k+332>>2];e=+g[o+(l*104|0)+84>>2];j=+g[k+336>>2];r=+g[o+(l*104|0)+80>>2];f=+g[o+(l*104|0)+76>>2];s=+g[k+328>>2];d=p*(t*e-j*r+ +g[k+312>>2]);e=p*(+g[k+316>>2]+(j*f-e*s));f=p*(r*s-t*f+ +g[k+320>>2])}else{d=0.0;e=0.0;f=0.0}q=c[o+(l*104|0)+24>>2]|0;r=+g[q+8>>2];s=+g[q+12>>2];t=+g[q+16>>2];j=r-+g[q+24>>2]-d;i=s-+g[q+28>>2]-e;d=t-+g[q+32>>2]-f;e=+g[o+(l*104|0)+4>>2];f=+g[o+(l*104|0)+8>>2];h=+g[o+(l*104|0)+12>>2];if(j*e+i*f+d*h<=1.1920928955078125e-07?(x=r*e+s*f+t*h+ +g[o+(l*104|0)+20>>2],y=+g[o+(l*104|0)+96>>2],x=(x>2],w=(j-(j-e*(j*e+i*f+d*h))*y+e*x)*b,v=(i-(i-f*(j*e+i*f+d*h))*y+f*x)*b,i=(d-(d-h*(j*e+i*f+d*h))*y+h*x)*b,f=+g[o+(l*104|0)+36>>2]*i+(+g[o+(l*104|0)+28>>2]*w+ +g[o+(l*104|0)+32>>2]*v),h=w*+g[o+(l*104|0)+44>>2]+v*+g[o+(l*104|0)+48>>2]+i*+g[o+(l*104|0)+52>>2],i=w*+g[o+(l*104|0)+60>>2]+v*+g[o+(l*104|0)+64>>2]+i*+g[o+(l*104|0)+68>>2],g[u>>2]=f,g[u+4>>2]=h,g[u+8>>2]=i,g[u+12>>2]=0.0,j=+g[o+(l*104|0)+92>>2],g[q+8>>2]=r-f*j,g[q+12>>2]=s-h*j,g[q+16>>2]=t-i*j,k|0):0)Bk(k,u,o+(l*104|0)+76|0);l=l+1|0}while((l|0)!=(n|0));sa=u;return}function rf(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,h=0,i=0,j=0,k=0.0;f=sa;sa=sa+224|0;sp(f+192|0,+g[d>>2],+g[d+4>>2],+g[d+8>>2],+g[b>>2],+g[b+4>>2],+g[b+8>>2]);Wp(f+208|0,+g[f+192>>2],+g[f+192+4>>2],+g[f+192+8>>2],.5);qp(f+160|0,+g[d>>2],+g[d+4>>2],+g[d+8>>2],+g[b>>2],+g[b+4>>2],+g[b+8>>2]);Wp(f+176|0,+g[f+160>>2],+g[f+160+4>>2],+g[f+160+8>>2],.5);g[f+136>>2]=1.0;g[f+132>>2]=1.0;g[f+128>>2]=1.0;ns(f+144|0,f+136|0,f+132|0,f+128|0);d=0;while(1){if((d|0)==4)break;b=0;while(1){if((b|0)==3)break;i=JI(f+144|0)|0;k=+g[i>>2];h=JI(f+208|0)|0;g[f+72>>2]=k*+g[h>>2];g[f+68>>2]=+g[i+4>>2]*+g[h+4>>2];g[f+64>>2]=+g[i+8>>2]*+g[h+8>>2];ns(f+80|0,f+72|0,f+68|0,f+64|0);c[f+112>>2]=c[f+80>>2];c[f+112+4>>2]=c[f+80+4>>2];c[f+112+8>>2]=c[f+80+8>>2];c[f+112+12>>2]=c[f+80+12>>2];Hr(f+112|0,f+176|0)|0;j=i+(((b>>>0)%3|0)<<2)|0;g[j>>2]=-+g[j>>2];g[f+40>>2]=+g[i>>2]*+g[h>>2];g[f+36>>2]=+g[i+4>>2]*+g[h+4>>2];g[f+32>>2]=+g[i+8>>2]*+g[h+8>>2];ns(f+48|0,f+40|0,f+36|0,f+32|0);c[f+96>>2]=c[f+48>>2];c[f+96+4>>2]=c[f+48+4>>2];c[f+96+8>>2]=c[f+48+8>>2];c[f+96+12>>2]=c[f+48+12>>2];Hr(f+96|0,f+176|0)|0;ab[c[(c[a>>2]|0)+8>>2]&127](a,f+112|0,f+96|0,e);b=b+1|0}g[f+8>>2]=-1.0;g[f+4>>2]=-1.0;g[f>>2]=-1.0;ns(f+16|0,f+8|0,f+4|0,f);c[f+144>>2]=c[f+16>>2];c[f+144+4>>2]=c[f+16+4>>2];c[f+144+8>>2]=c[f+16+8>>2];c[f+144+12>>2]=c[f+16+12>>2];if(d>>>0<3){j=(JI(f+144|0)|0)+(d<<2)|0;g[j>>2]=-+g[j>>2]}d=d+1|0}sa=f;return}function sf(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,h=0,i=0;c[b+4>>2]=1065353216;c[b+8>>2]=1065353216;c[b+12>>2]=1065353216;g[b+16>>2]=0.0;a[b+36>>0]=1;c[b+32>>2]=0;c[b+24>>2]=0;c[b+28>>2]=0;c[b+48>>2]=0;c[b>>2]=11360;a[b+100>>0]=1;c[b+96>>2]=0;c[b+88>>2]=0;c[b+92>>2]=0;a[b+120>>0]=1;c[b+116>>2]=0;c[b+108>>2]=0;c[b+112>>2]=0;a[b+140>>0]=1;c[b+136>>2]=0;c[b+128>>2]=0;c[b+132>>2]=0;a[b+160>>0]=1;c[b+156>>2]=0;c[b+148>>2]=0;c[b+152>>2]=0;a[b+164>>0]=d&1;a[b+165>>0]=e&1;g[b+168>>2]=0.0;c[7182]=(c[7182]|0)+1;d=xb(51)|0;if(!d)f=0;else{c[(d+4+15&-16)+-4>>2]=d;f=d+4+15&-16}e=c[b+24>>2]|0;if((e|0)>0){d=0;do{h=f+(d<<5)|0;i=(c[b+32>>2]|0)+(d<<5)|0;c[h>>2]=c[i>>2];c[h+4>>2]=c[i+4>>2];c[h+8>>2]=c[i+8>>2];c[h+12>>2]=c[i+12>>2];c[h+16>>2]=c[i+16>>2];c[h+20>>2]=c[i+20>>2];c[h+24>>2]=c[i+24>>2];c[h+28>>2]=c[i+28>>2];d=d+1|0}while((d|0)!=(e|0))}d=c[b+32>>2]|0;if(d|0){if(a[b+36>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+32>>2]=0}a[b+36>>0]=1;c[b+32>>2]=f;c[b+28>>2]=1;i=c[b+24>>2]|0;c[f+(i<<5)>>2]=0;c[f+(i<<5)+4>>2]=0;c[f+(i<<5)+8>>2]=12;c[f+(i<<5)+12>>2]=0;c[f+(i<<5)+16>>2]=0;c[f+(i<<5)+20>>2]=16;c[f+(i<<5)+24>>2]=2;c[f+(i<<5)+28>>2]=0;c[b+24>>2]=(c[b+24>>2]|0)+1;i=(a[b+164>>0]|0)==0;d=c[b+32>>2]|0;c[d>>2]=(c[(i?b+148|0:b+128|0)>>2]|0)/3|0;c[d+4>>2]=0;c[d+24>>2]=i?3:2;c[d+8>>2]=i?6:12;if(!(a[b+165>>0]|0)){h=12;b=(c[b+108>>2]|0)/3|0;i=d+12|0;c[i>>2]=b;i=d+16|0;c[i>>2]=0;i=d+20|0;c[i>>2]=h;return}else{h=16;b=c[b+88>>2]|0;i=d+12|0;c[i>>2]=b;i=d+16|0;c[i>>2]=0;i=d+20|0;c[i>>2]=h;return}}function tf(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0;f=Cs()|0;_i(f,4,b);c[f>>2]=7516;c[f+552>>2]=c[d>>2];c[f+552+4>>2]=c[d+4>>2];c[f+552+8>>2]=c[d+8>>2];c[f+552+12>>2]=c[d+12>>2];c[f+568>>2]=c[d+16>>2];c[f+568+4>>2]=c[d+16+4>>2];c[f+568+8>>2]=c[d+16+8>>2];c[f+568+12>>2]=c[d+16+12>>2];c[f+584>>2]=c[d+32>>2];c[f+584+4>>2]=c[d+32+4>>2];c[f+584+8>>2]=c[d+32+8>>2];c[f+584+12>>2]=c[d+32+12>>2];c[f+600>>2]=c[d+48>>2];c[f+600+4>>2]=c[d+48+4>>2];c[f+600+8>>2]=c[d+48+8>>2];c[f+600+12>>2]=c[d+48+12>>2];c[f+616>>2]=c[d>>2];c[f+616+4>>2]=c[d+4>>2];c[f+616+8>>2]=c[d+8>>2];c[f+616+12>>2]=c[d+12>>2];c[f+632>>2]=c[d+16>>2];c[f+632+4>>2]=c[d+16+4>>2];c[f+632+8>>2]=c[d+16+8>>2];c[f+632+12>>2]=c[d+16+12>>2];c[f+648>>2]=c[d+32>>2];c[f+648+4>>2]=c[d+32+4>>2];c[f+648+8>>2]=c[d+32+8>>2];c[f+648+12>>2]=c[d+32+12>>2];c[f+664>>2]=c[d+48>>2];c[f+664+4>>2]=c[d+48+4>>2];c[f+664+8>>2]=c[d+48+8>>2];c[f+664+12>>2]=c[d+48+12>>2];g[f+688>>2]=0.0;g[f+692>>2]=-1.0;g[f+696>>2]=.8999999761581421;g[f+700>>2]=.30000001192092896;g[f+704>>2]=1.0;g[f+708>>2]=0.0;g[f+712>>2]=0.0;a[f+716>>0]=0;a[f+736>>0]=0;a[f+737>>0]=0;a[f+738>>0]=0;a[f+739>>0]=1;a[f+740>>0]=e&1;c[f+748>>2]=0;d=c[f+28>>2]|0;l=+g[f+600>>2];k=+g[f+604>>2];j=+g[f+608>>2];i=l*+g[d+20>>2]+k*+g[d+24>>2]+j*+g[d+28>>2]+ +g[d+56>>2];h=l*+g[d+36>>2]+k*+g[d+40>>2]+j*+g[d+44>>2]+ +g[d+60>>2];g[f+664>>2]=l*+g[d+4>>2]+k*+g[d+8>>2]+j*+g[d+12>>2]+ +g[d+52>>2];g[f+668>>2]=i;g[f+672>>2]=h;g[f+676>>2]=0.0;g[f+732>>2]=e?-1.0:1.0;return f|0}function uf(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;m=sa;sa=sa+32|0;if((b|0)<0)b=c[a+12>>2]|0;d=c[a>>2]|0;if(!((b|0)>0&(d|0)!=0)){sa=m;return}while(1){e=d+40|0;if(c[e>>2]|0){l=0;while(1){g=d+32|0;h=c[g>>2]|0;if(h>>>0>d>>>0){i=(c[h+40>>2]|0)==(d|0);j=c[h+36+(((i^1)&1)<<2)>>2]|0;k=c[h+32>>2]|0;if(!k)f=a;else f=k+36+(((c[k+40>>2]|0)==(h|0)&1)<<2)|0;c[f>>2]=d;c[j+32>>2]=d;c[h+32>>2]=d;c[g>>2]=k;k=d+36|0;c[h+36>>2]=c[k>>2];c[h+40>>2]=c[e>>2];c[(c[k>>2]|0)+32>>2]=h;c[(c[e>>2]|0)+32>>2]=h;c[d+36+((i&1)<<2)>>2]=h;c[d+36+(((i^1)&1)<<2)>>2]=j;c[m>>2]=c[h>>2];c[m+4>>2]=c[h+4>>2];c[m+8>>2]=c[h+8>>2];c[m+12>>2]=c[h+12>>2];c[m+16>>2]=c[h+16>>2];c[m+20>>2]=c[h+20>>2];c[m+24>>2]=c[h+24>>2];c[m+28>>2]=c[h+28>>2];c[h>>2]=c[d>>2];c[h+4>>2]=c[d+4>>2];c[h+8>>2]=c[d+8>>2];c[h+12>>2]=c[d+12>>2];c[h+16>>2]=c[d+16>>2];c[h+20>>2]=c[d+20>>2];c[h+24>>2]=c[d+24>>2];c[h+28>>2]=c[d+28>>2];c[d>>2]=c[m>>2];c[d+4>>2]=c[m+4>>2];c[d+8>>2]=c[m+8>>2];c[d+12>>2]=c[m+12>>2];c[d+16>>2]=c[m+16>>2];c[d+20>>2]=c[m+20>>2];c[d+24>>2]=c[m+24>>2];c[d+28>>2]=c[m+28>>2];d=h}e=c[a+16>>2]|0;d=c[d+36+(((l?e>>>l:e)&1)<<2)>>2]|0;e=d+40|0;if(!(c[e>>2]|0))break;else l=l+1&31}}if(!(sg(a,d)|0))e=0;else e=c[a>>2]|0;ue(a,e,d);c[a+16>>2]=(c[a+16>>2]|0)+1;b=b+-1|0;if(!b)break;d=c[a>>2]|0}sa=m;return}function vf(b,d){b=b|0;d=d|0;var e=0,f=0.0,h=0.0,i=0.0,j=0.0,k=0.0;e=Cs()|0;_i(e,4,b);c[e>>2]=7516;c[e+552>>2]=c[d>>2];c[e+552+4>>2]=c[d+4>>2];c[e+552+8>>2]=c[d+8>>2];c[e+552+12>>2]=c[d+12>>2];c[e+568>>2]=c[d+16>>2];c[e+568+4>>2]=c[d+16+4>>2];c[e+568+8>>2]=c[d+16+8>>2];c[e+568+12>>2]=c[d+16+12>>2];c[e+584>>2]=c[d+32>>2];c[e+584+4>>2]=c[d+32+4>>2];c[e+584+8>>2]=c[d+32+8>>2];c[e+584+12>>2]=c[d+32+12>>2];c[e+600>>2]=c[d+48>>2];c[e+600+4>>2]=c[d+48+4>>2];c[e+600+8>>2]=c[d+48+8>>2];c[e+600+12>>2]=c[d+48+12>>2];c[e+616>>2]=c[d>>2];c[e+616+4>>2]=c[d+4>>2];c[e+616+8>>2]=c[d+8>>2];c[e+616+12>>2]=c[d+12>>2];c[e+632>>2]=c[d+16>>2];c[e+632+4>>2]=c[d+16+4>>2];c[e+632+8>>2]=c[d+16+8>>2];c[e+632+12>>2]=c[d+16+12>>2];c[e+648>>2]=c[d+32>>2];c[e+648+4>>2]=c[d+32+4>>2];c[e+648+8>>2]=c[d+32+8>>2];c[e+648+12>>2]=c[d+32+12>>2];c[e+664>>2]=c[d+48>>2];c[e+664+4>>2]=c[d+48+4>>2];c[e+664+8>>2]=c[d+48+8>>2];c[e+664+12>>2]=c[d+48+12>>2];g[e+688>>2]=0.0;g[e+692>>2]=-1.0;g[e+696>>2]=.8999999761581421;g[e+700>>2]=.30000001192092896;g[e+704>>2]=1.0;g[e+708>>2]=0.0;g[e+712>>2]=0.0;a[e+716>>0]=0;a[e+736>>0]=0;a[e+737>>0]=0;a[e+738>>0]=0;a[e+739>>0]=1;a[e+740>>0]=0;c[e+748>>2]=0;d=c[e+28>>2]|0;k=+g[e+600>>2];j=+g[e+604>>2];i=+g[e+608>>2];h=k*+g[d+20>>2]+j*+g[d+24>>2]+i*+g[d+28>>2]+ +g[d+56>>2];f=k*+g[d+36>>2]+j*+g[d+40>>2]+i*+g[d+44>>2]+ +g[d+60>>2];g[e+664>>2]=k*+g[d+4>>2]+j*+g[d+8>>2]+i*+g[d+12>>2]+ +g[d+52>>2];g[e+668>>2]=h;g[e+672>>2]=f;g[e+676>>2]=0.0;g[e+732>>2]=1.0;return e|0}function wf(b){b=b|0;var d=0,e=0.0,f=0,h=0,i=0.0,j=0.0,k=0;k=sa;sa=sa+64|0;Ki(16541);a:do if(!(a[b+274>>0]|0)){d=c[b+232>>2]|0;if((d|0)>0){h=0;while(1){f=c[(c[b+240>>2]|0)+(h<<2)>>2]|0;switch(c[f+216>>2]|0){case 2:case 5:break;default:if((c[f+480>>2]|0)!=0?(c[f+204>>2]&3|0)==0:0){if((a[b+300>>0]|0)!=0?(j=+g[b+268>>2],j!=0.0):0)e=+g[b+264>>2]-j;else e=+g[b+264>>2]*+g[f+244>>2];jg(f+68|0,+g[f+132>>2],+g[f+136>>2],+g[f+140>>2],f+148|0,e,k);d=c[f+480>>2]|0;Va[c[(c[d>>2]|0)+12>>2]&127](d,k);d=c[b+232>>2]|0}}h=h+1|0;if((h|0)>=(d|0))break a}}}else{d=c[b+8>>2]|0;if((d|0)>0){h=0;do{f=c[(c[b+16>>2]|0)+(h<<2)>>2]|0;if((!((f|0)==0?1:(c[f+236>>2]&2|0)==0)?(c[f+480>>2]|0)!=0:0)?(c[f+204>>2]&3|0)==0:0){if((a[b+300>>0]|0)!=0?(i=+g[b+268>>2],i!=0.0):0)e=+g[b+264>>2]-i;else e=+g[b+264>>2]*+g[f+244>>2];jg(f+68|0,+g[f+132>>2],+g[f+136>>2],+g[f+140>>2],f+148|0,e,k);d=c[f+480>>2]|0;Va[c[(c[d>>2]|0)+12>>2]&127](d,k);d=c[b+8>>2]|0}h=h+1|0}while((h|0)<(d|0))}}while(0);d=c[3084]|0;b=(c[d+16>>2]|0)+-1|0;c[d+16>>2]=b;if(b|0){sa=k;return}do if(c[d+4>>2]|0){la(k|0,0)|0;b=c[7181]|0;g[d+8>>2]=+g[d+8>>2]+ +(((c[k+4>>2]|0)-(c[b+4>>2]|0)+(((c[k>>2]|0)-(c[b>>2]|0)|0)*1e6|0)-(c[d+12>>2]|0)|0)>>>0)/1.0e3;if(!(c[d+16>>2]|0)){d=c[3084]|0;break}else{sa=k;return}}while(0);c[3084]=c[d+20>>2];sa=k;return}function xf(b,d,e,f,h){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;var i=0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0;i=sa;sa=sa+32|0;d=(a[b+8>>0]|0)==0?e:d;if(((c[(c[d+4>>2]|0)+4>>2]|0)+-21|0)>>>0>=9){sa=i;return}e=c[(c[d+8>>2]|0)+192>>2]|0;v=+va[c[(c[e>>2]|0)+48>>2]&15](e);c[b+64>>2]=f;g[b+68>>2]=v+.05999999865889549;c[b+56>>2]=h;h=c[b+16>>2]|0;Za[c[(c[h>>2]|0)+28>>2]&127](h,i+16|0,i);v=+g[i>>2];u=+g[i+16>>2];q=+g[i+4>>2];p=+g[i+16+4>>2];y=+g[i+8>>2];x=+g[i+16+8>>2];h=c[d+12>>2]|0;C=+g[h>>2];B=+g[h+16>>2];n=+g[h+32>>2];A=+g[h+4>>2];z=+g[h+20>>2];l=+g[h+36>>2];t=+g[h+8>>2];s=+g[h+24>>2];r=+g[h+40>>2];D=-+g[h+48>>2];j=-+g[h+52>>2];k=-+g[h+56>>2];o=(v+u)*.5*C+(q+p)*.5*B+(y+x)*.5*n+(C*D+B*j+n*k);m=(v+u)*.5*A+(q+p)*.5*z+(y+x)*.5*l+(A*D+z*j+l*k);k=(v+u)*.5*t+(q+p)*.5*s+(y+x)*.5*r+(t*D+s*j+r*k);j=+g[b+68>>2];n=+w(+(n+(C*0.0+B*0.0)))*((y-x)*.5+j)+(+w(+(C+B*0.0+n*0.0))*((v-u)*.5+j)+ +w(+(C*0.0+B+n*0.0))*((q-p)*.5+j));l=+w(+(l+(A*0.0+z*0.0)))*((y-x)*.5+j)+(+w(+(A+z*0.0+l*0.0))*((v-u)*.5+j)+ +w(+(A*0.0+z+l*0.0))*((q-p)*.5+j));j=+w(+(r+(t*0.0+s*0.0)))*((y-x)*.5+j)+(+w(+(t+s*0.0+r*0.0))*((v-u)*.5+j)+ +w(+(t*0.0+s+r*0.0))*((q-p)*.5+j));g[b+24>>2]=o-n;g[b+28>>2]=m-l;g[b+32>>2]=k-j;g[b+36>>2]=0.0;g[b+40>>2]=o+n;g[b+44>>2]=m+l;g[b+48>>2]=k+j;g[b+52>>2]=0.0;ab[c[(c[e>>2]|0)+64>>2]&127](e,b+12|0,b+24|0,b+40|0);sa=i;return}function yf(b,d,e,f,g,h,i,j,k){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0,m=0;m=sa;sa=sa+16|0;if(!((c[b+924>>2]|0)==0?(a[b+912>>0]|0)==0:0)){c[m>>2]=c[b+1208>>2];c[m+4>>2]=c[b+1208+4>>2];c[m+8>>2]=c[b+1208+8>>2];c[m+12>>2]=c[b+1208+12>>2];l=c[b+1304>>2]|0;if(!(l&512))c[b+896>>2]=c[c[d+32>>2]>>2];if(!(l&1024))c[b+904>>2]=c[c[d+32>>2]>>2];if(!(l&2048))c[b+900>>2]=c[d+4>>2];e=(Kc(b,b+868|0,f,g,h,i,j,k,d,e,m,1,0)|0)+e|0}if(!((c[b+988>>2]|0)==0?(a[b+976>>0]|0)==0:0)){c[m>>2]=c[b+1224>>2];c[m+4>>2]=c[b+1224+4>>2];c[m+8>>2]=c[b+1224+8>>2];c[m+12>>2]=c[b+1224+12>>2];l=c[b+1304>>2]|0;if(!(l&4096))c[b+960>>2]=c[c[d+32>>2]>>2];if(!(l&8192))c[b+968>>2]=c[c[d+32>>2]>>2];if(!(l&16384))c[b+964>>2]=c[d+4>>2];e=(Kc(b,b+932|0,f,g,h,i,j,k,d,e,m,1,0)|0)+e|0}if((c[b+1052>>2]|0)==0?(a[b+1040>>0]|0)==0:0){k=e;sa=m;return k|0}c[m>>2]=c[b+1240>>2];c[m+4>>2]=c[b+1240+4>>2];c[m+8>>2]=c[b+1240+8>>2];c[m+12>>2]=c[b+1240+12>>2];l=c[b+1304>>2]|0;if(!(l&32768))c[b+1024>>2]=c[c[d+32>>2]>>2];if(!(l&65536))c[b+1032>>2]=c[c[d+32>>2]>>2];if(!(l&131072))c[b+1028>>2]=c[d+4>>2];k=(Kc(b,b+996|0,f,g,h,i,j,k,d,e,m,1,0)|0)+e|0;sa=m;return k|0}function zf(b){b=b|0;var d=0;c[b>>2]=7568;d=c[b+176>>2]|0;if(d|0){if(a[b+180>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+176>>2]=0}a[b+180>>0]=1;c[b+176>>2]=0;c[b+168>>2]=0;c[b+172>>2]=0;d=c[b+156>>2]|0;if(d|0){if(a[b+160>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+156>>2]=0}a[b+160>>0]=1;c[b+156>>2]=0;c[b+148>>2]=0;c[b+152>>2]=0;d=c[b+136>>2]|0;if(d|0){if(a[b+140>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+136>>2]=0}a[b+140>>0]=1;c[b+136>>2]=0;c[b+128>>2]=0;c[b+132>>2]=0;d=c[b+116>>2]|0;if(d|0){if(a[b+120>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+116>>2]=0}a[b+120>>0]=1;c[b+116>>2]=0;c[b+108>>2]=0;c[b+112>>2]=0;d=c[b+96>>2]|0;if(d|0){if(a[b+100>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+96>>2]=0}a[b+100>>0]=1;c[b+96>>2]=0;c[b+88>>2]=0;c[b+92>>2]=0;d=c[b+76>>2]|0;if(d|0){if(a[b+80>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+76>>2]=0}a[b+80>>0]=1;c[b+76>>2]=0;c[b+68>>2]=0;c[b+72>>2]=0;d=c[b+56>>2]|0;if(d|0){if(a[b+60>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+56>>2]=0}a[b+60>>0]=1;c[b+56>>2]=0;c[b+48>>2]=0;c[b+52>>2]=0;d=c[b+36>>2]|0;if(d|0){if(a[b+40>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+36>>2]=0}a[b+40>>0]=1;c[b+36>>2]=0;c[b+28>>2]=0;c[b+32>>2]=0;d=c[b+16>>2]|0;if(!d){a[b+20>>0]=1;c[b+16>>2]=0;c[b+8>>2]=0;b=b+12|0;c[b>>2]=0;return}if(a[b+20>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+16>>2]=0;a[b+20>>0]=1;c[b+16>>2]=0;c[b+8>>2]=0;b=b+12|0;c[b>>2]=0;return}function Af(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var h=0,i=0,j=0,k=0,l=0,m=0;k=sa;sa=sa+16|0;c[b+8>>2]=0;c[b+12>>2]=1065353216;c[b+16>>2]=1065353216;c[b+20>>2]=1065353216;g[b+24>>2]=0.0;g[b+44>>2]=.03999999910593033;c[b+52>>2]=0;c[b+56>>2]=1065353216;c[b+60>>2]=1065353216;c[b+64>>2]=1065353216;g[b+68>>2]=0.0;c[b+72>>2]=-1082130432;c[b+76>>2]=-1082130432;c[b+80>>2]=-1082130432;g[b+84>>2]=0.0;a[b+88>>0]=0;c[b>>2]=10164;a[b+108>>0]=1;c[b+104>>2]=0;c[b+96>>2]=0;c[b+100>>2]=0;c[b+4>>2]=4;if((e|0)<=0){c[b+96>>2]=e;Oi(b);sa=k;return}c[7182]=(c[7182]|0)+1;h=xb((e<<4|3)+16|0)|0;if(!h)j=0;else{c[(h+4+15&-16)+-4>>2]=h;j=h+4+15&-16}i=c[b+96>>2]|0;if((i|0)>0){h=0;do{l=j+(h<<4)|0;m=(c[b+104>>2]|0)+(h<<4)|0;c[l>>2]=c[m>>2];c[l+4>>2]=c[m+4>>2];c[l+8>>2]=c[m+8>>2];c[l+12>>2]=c[m+12>>2];h=h+1|0}while((h|0)!=(i|0))}h=c[b+104>>2]|0;if(h|0){if(a[b+108>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[h+-4>>2]|0)}c[b+104>>2]=0}a[b+108>>0]=1;c[b+104>>2]=j;c[b+100>>2]=e;c[j>>2]=c[k>>2];c[j+4>>2]=c[k+4>>2];c[j+8>>2]=c[k+8>>2];c[j+12>>2]=c[k+12>>2];if((e|0)!=1){h=1;do{m=(c[b+104>>2]|0)+(h<<4)|0;c[m>>2]=c[k>>2];c[m+4>>2]=c[k+4>>2];c[m+8>>2]=c[k+8>>2];c[m+12>>2]=c[k+12>>2];h=h+1|0}while((h|0)!=(e|0))}c[b+96>>2]=e;h=0;while(1){j=c[d+4>>2]|0;l=c[d+8>>2]|0;m=c[b+104>>2]|0;c[m+(h<<4)>>2]=c[d>>2];c[m+(h<<4)+4>>2]=j;c[m+(h<<4)+8>>2]=l;g[m+(h<<4)+12>>2]=0.0;h=h+1|0;if((h|0)==(e|0))break;else d=d+f|0}Oi(b);sa=k;return}function Bf(a,b,e){a=a|0;b=b|0;e=e|0;ve(a,b,e)|0;c[b+256>>2]=c[a+264>>2];c[b+260>>2]=c[a+268>>2];c[b+264>>2]=c[a+272>>2];c[b+268>>2]=c[a+276>>2];c[b+272>>2]=c[a+280>>2];c[b+276>>2]=c[a+284>>2];c[b+280>>2]=c[a+288>>2];c[b+284>>2]=c[a+292>>2];c[b+288>>2]=c[a+296>>2];c[b+292>>2]=c[a+300>>2];c[b+296>>2]=c[a+304>>2];c[b+300>>2]=c[a+308>>2];c[b+304>>2]=c[a+312>>2];c[b+308>>2]=c[a+316>>2];c[b+312>>2]=c[a+320>>2];c[b+316>>2]=c[a+324>>2];c[b+320>>2]=c[a+328>>2];c[b+324>>2]=c[a+332>>2];c[b+328>>2]=c[a+336>>2];c[b+332>>2]=c[a+340>>2];c[b+448>>2]=c[a+344>>2];c[b+336>>2]=c[a+544>>2];c[b+340>>2]=c[a+548>>2];c[b+344>>2]=c[a+552>>2];c[b+348>>2]=c[a+556>>2];c[b+352>>2]=c[a+348>>2];c[b+356>>2]=c[a+352>>2];c[b+360>>2]=c[a+356>>2];c[b+364>>2]=c[a+360>>2];c[b+368>>2]=c[a+364>>2];c[b+372>>2]=c[a+368>>2];c[b+376>>2]=c[a+372>>2];c[b+380>>2]=c[a+376>>2];c[b+384>>2]=c[a+380>>2];c[b+388>>2]=c[a+384>>2];c[b+392>>2]=c[a+388>>2];c[b+396>>2]=c[a+392>>2];c[b+400>>2]=c[a+396>>2];c[b+404>>2]=c[a+400>>2];c[b+408>>2]=c[a+404>>2];c[b+412>>2]=c[a+408>>2];c[b+416>>2]=c[a+412>>2];c[b+420>>2]=c[a+416>>2];c[b+424>>2]=c[a+420>>2];c[b+428>>2]=c[a+424>>2];c[b+432>>2]=c[a+428>>2];c[b+436>>2]=c[a+432>>2];c[b+440>>2]=c[a+436>>2];c[b+444>>2]=c[a+440>>2];c[b+452>>2]=c[a+444>>2];c[b+456>>2]=c[a+448>>2];c[b+484>>2]=d[a+452>>0];c[b+460>>2]=c[a+456>>2];c[b+464>>2]=c[a+460>>2];c[b+468>>2]=c[a+464>>2];c[b+472>>2]=c[a+468>>2];c[b+476>>2]=c[a+472>>2];c[b+480>>2]=c[a+476>>2];return 16167}function Cf(b,d,e,f,h){b=b|0;d=+d;e=e|0;f=f|0;h=h|0;var i=0;i=sa;sa=sa+144|0;c[b+164>>2]=1065353216;c[b+168>>2]=1065353216;c[b+172>>2]=1065353216;g[b+176>>2]=0.0;c[b+180>>2]=0;g[b+184>>2]=999999984306749440.0;c[b+188>>2]=0;c[b+188+4>>2]=0;c[b+188+8>>2]=0;c[b+188+12>>2]=0;c[b+204>>2]=1;c[b+208>>2]=-1;c[b+212>>2]=-1;c[b+216>>2]=1;g[b+220>>2]=0.0;g[b+224>>2]=.5;g[b+228>>2]=0.0;g[b+232>>2]=0.0;c[b+236>>2]=1;c[b+240>>2]=0;g[b+244>>2]=1.0;c[b+248>>2]=0;c[b+248+4>>2]=0;c[b+248+8>>2]=0;c[b+248+12>>2]=0;c[b+4>>2]=1065353216;c[b+8>>2]=0;c[b+8+4>>2]=0;c[b+8+8>>2]=0;c[b+8+12>>2]=0;c[b+24>>2]=1065353216;c[b+28>>2]=0;c[b+28+4>>2]=0;c[b+28+8>>2]=0;c[b+28+12>>2]=0;c[b+44>>2]=1065353216;c[b+48>>2]=0;c[b+48+4>>2]=0;c[b+48+8>>2]=0;c[b+48+12>>2]=0;c[b+48+16>>2]=0;c[b>>2]=6868;a[b+500>>0]=1;c[b+496>>2]=0;c[b+488>>2]=0;c[b+492>>2]=0;g[i>>2]=d;c[i+4>>2]=e;c[i+72>>2]=f;c[i+76>>2]=c[h>>2];c[i+76+4>>2]=c[h+4>>2];c[i+76+8>>2]=c[h+8>>2];c[i+76+12>>2]=c[h+12>>2];g[i+92>>2]=0.0;g[i+96>>2]=0.0;g[i+100>>2]=.5;g[i+104>>2]=0.0;g[i+108>>2]=0.0;g[i+112>>2]=.800000011920929;g[i+116>>2]=1.0;a[i+120>>0]=0;g[i+124>>2]=.004999999888241291;g[i+128>>2]=.009999999776482582;g[i+132>>2]=.009999999776482582;g[i+136>>2]=.009999999776482582;c[i+8>>2]=1065353216;c[i+12>>2]=0;c[i+12+4>>2]=0;c[i+12+8>>2]=0;c[i+12+12>>2]=0;c[i+28>>2]=1065353216;c[i+32>>2]=0;c[i+32+4>>2]=0;c[i+32+8>>2]=0;c[i+32+12>>2]=0;c[i+48>>2]=1065353216;c[i+52>>2]=0;c[i+52+4>>2]=0;c[i+52+8>>2]=0;c[i+52+12>>2]=0;c[i+52+16>>2]=0;Qc(b,i);sa=i;return}function Df(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;ed(b,d);c[b>>2]=5828;c[7182]=(c[7182]|0)+1;e=xb(27)|0;i=e+4+15&-16;c[i+-4>>2]=e;a[i+4>>0]=0;c[(e+4+15&-16)>>2]=5860;c[b+92>>2]=i;c[7182]=(c[7182]|0)+1;i=xb(27)|0;e=i+4+15&-16;c[e+-4>>2]=i;a[e+4>>0]=0;c[(i+4+15&-16)>>2]=5880;c[b+96>>2]=e;c[7182]=(c[7182]|0)+1;e=xb(27)|0;if(!e)e=0;else{c[(e+4+15&-16)+-4>>2]=e;e=e+4+15&-16}c[e>>2]=5880;c[b+100>>2]=e;a[e+4>>0]=1;c[7182]=(c[7182]|0)+1;i=xb(27)|0;e=i+4+15&-16;c[e+-4>>2]=i;a[e+4>>0]=0;c[(i+4+15&-16)>>2]=5900;c[b+104>>2]=e;c[7182]=(c[7182]|0)+1;e=xb(27)|0;if(!e)e=0;else{c[(e+4+15&-16)+-4>>2]=e;e=e+4+15&-16}c[e>>2]=5920;c[b+108>>2]=e;a[e+4>>0]=1;if(!(a[b+20>>0]|0))return;e=c[b+16>>2]|0;if(!e)return;if((c[e>>2]|0)>=156)return;f=c[e+16>>2]|0;if(f){c[7183]=(c[7183]|0)+1;Hc(c[f+-4>>2]|0);e=c[b+16>>2]|0;if(!e)i=b+16|0;else{f=b+16|0;g=11}}else{f=b+16|0;g=11}if((g|0)==11){c[7183]=(c[7183]|0)+1;Hc(c[e+-4>>2]|0);i=f}c[7182]=(c[7182]|0)+1;e=xb(39)|0;if(!e)h=0;else{c[(e+4+15&-16)+-4>>2]=e;h=e+4+15&-16}e=c[d+12>>2]|0;c[h>>2]=156;f=h+4|0;c[f>>2]=e;c[7182]=(c[7182]|0)+1;e=xb((e*156|3)+16|0)|0;if(!e)e=0;else{c[(e+4+15&-16)+-4>>2]=e;e=e+4+15&-16}c[h+16>>2]=e;c[h+12>>2]=e;b=c[f>>2]|0;c[h+8>>2]=b;if(b+-1|0){g=c[h>>2]|0;f=e;d=b+-1|0;do{j=f;f=f+g|0;c[j>>2]=f;d=d+-1|0}while((d|0)!=0);e=e+(J(g,b+-1|0)|0)|0}c[e>>2]=0;c[i>>2]=h;return}function Ef(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;l=c[d>>2]|0;l=Ha[c[(c[l>>2]|0)+56>>2]&31](l,48)|0;c[l+4>>2]=c[d>>2];c[l>>2]=9036;a[l+28>>0]=1;c[l+24>>2]=0;c[l+16>>2]=0;c[l+20>>2]=0;c[l+32>>2]=c[d+4>>2];a[l+36>>0]=0;c[7182]=(c[7182]|0)+1;b=xb(87)|0;if(!b)h=0;else{c[(b+4+15&-16)+-4>>2]=b;h=b+4+15&-16}c[h>>2]=12232;i=h+20|0;a[i>>0]=1;j=h+16|0;c[j>>2]=0;d=h+8|0;c[d>>2]=0;k=h+12|0;c[k>>2]=0;a[h+24>>0]=0;a[h+44>>0]=1;c[h+40>>2]=0;c[h+32>>2]=0;c[h+36>>2]=0;a[h+64>>0]=1;c[h+60>>2]=0;c[h+52>>2]=0;c[h+56>>2]=0;c[7182]=(c[7182]|0)+1;b=xb(43)|0;if(!b)g=0;else{c[(b+4+15&-16)+-4>>2]=b;g=b+4+15&-16}d=c[d>>2]|0;if((d|0)>0){b=0;do{m=g+(b*12|0)|0;n=(c[j>>2]|0)+(b*12|0)|0;c[m>>2]=c[n>>2];c[m+4>>2]=c[n+4>>2];c[m+8>>2]=c[n+8>>2];b=b+1|0}while((b|0)!=(d|0))}b=c[j>>2]|0;if(!b){a[i>>0]=1;c[j>>2]=g;c[k>>2]=2;Te(h);n=l+8|0;c[n>>2]=h;n=e+4|0;n=c[n>>2]|0;n=n+68|0;n=c[n>>2]|0;m=l+40|0;c[m>>2]=n;m=f+4|0;m=c[m>>2]|0;m=m+68|0;m=c[m>>2]|0;n=l+44|0;c[n>>2]=m;return l|0}if(a[i>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[b+-4>>2]|0)}c[j>>2]=0;a[i>>0]=1;c[j>>2]=g;c[k>>2]=2;Te(h);n=l+8|0;c[n>>2]=h;n=e+4|0;n=c[n>>2]|0;n=n+68|0;n=c[n>>2]|0;m=l+40|0;c[m>>2]=n;m=f+4|0;m=c[m>>2]|0;m=m+68|0;m=c[m>>2]|0;n=l+44|0;c[n>>2]=m;return l|0}function Ff(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;c[7168]=(c[7168]|0)+1;g=(d<<16|b)+~((d<<16|b)<<15)|0;g=((10?g>>10:g)^g)*9|0;g=(6?g>>6:g)^g;l=c[a+40>>2]|0;g=l+(((c[a+12>>2]|0)+-1&((16?g+~(g<<11)>>16:g+~(g<<11)|0)^g+~(g<<11)))<<2)|0;f=c[g>>2]|0;if((f|0)==-1){n=0;return n|0}m=c[a+16>>2]|0;e=f;while(1){k=m+(e*12|0)|0;if((c[k>>2]|0)==(b|0)?(c[m+(e*12|0)+4>>2]|0)==(d|0):0)break;e=c[(c[a+60>>2]|0)+(e<<2)>>2]|0;if((e|0)==-1){e=0;n=23;break}}if((n|0)==23)return e|0;if(!k){n=0;return n|0}j=c[m+(e*12|0)+8>>2]|0;i=(e*12|0)/12|0;h=c[a+60>>2]|0;if((f|0)!=(i|0)){b=f;while(1){d=h+(b<<2)|0;e=c[d>>2]|0;if((e|0)==(i|0))break;else b=e}e=c[h+(i<<2)>>2]|0;if((b|0)==-1)n=12;else c[d>>2]=e}else{e=c[h+(f<<2)>>2]|0;n=12}if((n|0)==12)c[g>>2]=e;f=(c[a+8>>2]|0)+-1|0;if((f|0)==(i|0)){c[a+8>>2]=i;n=j;return n|0}g=c[m+(f*12|0)+4>>2]<<16|c[m+(f*12|0)>>2];g=((10?g+~(g<<15)>>10:g+~(g<<15)|0)^g+~(g<<15))*9|0;g=(6?g>>6:g)^g;g=((16?g+~(g<<11)>>16:g+~(g<<11)|0)^g+~(g<<11))&(c[a+12>>2]|0)+-1;e=c[l+(g<<2)>>2]|0;if((e|0)!=(f|0)){b=e;while(1){d=h+(b<<2)|0;e=c[d>>2]|0;if((e|0)==(f|0))break;else b=e}e=c[h+(f<<2)>>2]|0;if((b|0)==-1)n=21;else c[d>>2]=e}else{e=c[h+(f<<2)>>2]|0;n=21}if((n|0)==21)c[l+(g<<2)>>2]=e;c[k>>2]=c[m+(f*12|0)>>2];c[k+4>>2]=c[m+(f*12|0)+4>>2];c[k+8>>2]=c[m+(f*12|0)+8>>2];n=(c[a+40>>2]|0)+(g<<2)|0;c[(c[a+60>>2]|0)+(i<<2)>>2]=c[n>>2];c[n>>2]=i;c[a+8>>2]=(c[a+8>>2]|0)+-1;n=j;return n|0}function Gf(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;Pa[c[(c[b>>2]|0)+32>>2]&511](b);e=Ja[c[(c[b>>2]|0)+16>>2]&63](b,104,1)|0;d=c[e+8>>2]|0;f=d;g=f+104|0;do{c[f>>2]=0;f=f+4|0}while((f|0)<(g|0));c[d+88>>2]=c[a+248>>2];c[d+92>>2]=c[a+252>>2];c[d+96>>2]=c[a+256>>2];c[d+100>>2]=c[a+260>>2];c[d>>2]=c[a+92>>2];c[d+4>>2]=c[a+96>>2];c[d+8>>2]=c[a+100>>2];c[d+12>>2]=c[a+104>>2];c[d+16>>2]=c[a+108>>2];c[d+20>>2]=c[a+116>>2];c[d+24>>2]=c[a+120>>2];c[d+28>>2]=c[a+124>>2];c[d+32>>2]=c[a+128>>2];c[d+36>>2]=c[a+132>>2];c[d+40>>2]=c[a+140>>2];c[d+44>>2]=c[a+144>>2];c[d+48>>2]=c[a+148>>2];c[d+52>>2]=c[a+152>>2];c[d+56>>2]=c[a+168>>2];c[d+60>>2]=c[a+172>>2];c[d+64>>2]=c[a+112>>2];c[d+68>>2]=c[a+156>>2];c[d+72>>2]=c[a+160>>2];c[d+76>>2]=c[a+164>>2];c[d+80>>2]=c[a+136>>2];eb[c[(c[b>>2]|0)+20>>2]&31](b,e,16580,1145853764,d);d=c[a+8>>2]|0;if((d|0)<=0){wi(a,b);Ac(a,b);a=c[b>>2]|0;a=a+36|0;a=c[a>>2]|0;Pa[a&511](b);return}f=0;do{e=c[(c[a+16>>2]|0)+(f<<2)>>2]|0;if(c[e+236>>2]&8){g=Fa[c[(c[e>>2]|0)+16>>2]&127](e)|0;g=Ja[c[(c[b>>2]|0)+16>>2]&63](b,g,1)|0;d=Ja[c[(c[e>>2]|0)+20>>2]&63](e,c[g+8>>2]|0,b)|0;eb[c[(c[b>>2]|0)+20>>2]&31](b,g,d,1497645651,e);d=c[a+8>>2]|0}f=f+1|0}while((f|0)<(d|0));wi(a,b);Ac(a,b);a=c[b>>2]|0;a=a+36|0;a=c[a>>2]|0;Pa[a&511](b);return}function Hf(a,b){a=a|0;b=+b;var d=0,e=0,f=0,h=0,i=0.0,j=0.0,k=0.0;h=sa;sa=sa+32|0;d=c[a+8>>2]|0;if((d|0)<=0){sa=h;return}f=0;do{e=c[(c[a+16>>2]|0)+(f<<2)>>2]|0;if((!((e|0)==0?1:(c[e+236>>2]&2|0)==0)?(c[e+216>>2]|0)!=2:0)?!(b==0.0?1:(c[e+204>>2]&2|0)==0):0){d=c[e+480>>2]|0;if(!d)d=e+4|0;else{Va[c[(c[d>>2]|0)+8>>2]&127](d,e+4|0);d=e+4|0}j=1.0/b*(+g[e+56>>2]-+g[e+120>>2]);k=1.0/b*(+g[e+60>>2]-+g[e+124>>2]);g[e+312>>2]=1.0/b*(+g[e+52>>2]-+g[e+116>>2]);g[e+316>>2]=j;g[e+320>>2]=k;g[e+324>>2]=0.0;Se(e+68|0,d,h+8|0,h);k=+g[h>>2];j=1.0/b*k*+g[h+8+4>>2];i=1.0/b*k*+g[h+8+8>>2];g[e+328>>2]=1.0/b*+g[h+8>>2]*k;g[e+332>>2]=j;g[e+336>>2]=i;g[e+340>>2]=0.0;c[e+132>>2]=c[e+312>>2];c[e+132+4>>2]=c[e+312+4>>2];c[e+132+8>>2]=c[e+312+8>>2];c[e+132+12>>2]=c[e+312+12>>2];c[e+148>>2]=c[e+328>>2];c[e+148+4>>2]=c[e+328+4>>2];c[e+148+8>>2]=c[e+328+8>>2];c[e+148+12>>2]=c[e+328+12>>2];c[e+68>>2]=c[d>>2];c[e+68+4>>2]=c[d+4>>2];c[e+68+8>>2]=c[d+8>>2];c[e+68+12>>2]=c[d+12>>2];c[e+84>>2]=c[e+20>>2];c[e+84+4>>2]=c[e+20+4>>2];c[e+84+8>>2]=c[e+20+8>>2];c[e+84+12>>2]=c[e+20+12>>2];c[e+100>>2]=c[e+36>>2];c[e+100+4>>2]=c[e+36+4>>2];c[e+100+8>>2]=c[e+36+8>>2];c[e+100+12>>2]=c[e+36+12>>2];c[e+116>>2]=c[e+52>>2];c[e+116+4>>2]=c[e+52+4>>2];c[e+116+8>>2]=c[e+52+8>>2];c[e+116+12>>2]=c[e+52+12>>2];d=c[a+8>>2]|0}f=f+1|0}while((f|0)<(d|0));sa=h;return}function If(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0,s=0;s=sa;sa=sa+32|0;r=c[a+12>>2]|0;if(!r){sa=s;return}c[f+4>>2]=r;a=c[b+4>>2]|0;e=c[d+4>>2]|0;b=c[b+12>>2]|0;d=c[d+12>>2]|0;l=+g[d+48>>2];h=+g[b+48>>2]-l;m=+g[d+52>>2];i=+g[b+52>>2]-m;n=+g[d+56>>2];k=+g[b+56>>2]-n;o=+x(+(h*h+i*i+k*k));p=+g[e+28>>2]*+g[e+12>>2];q=+g[a+28>>2]*+g[a+12>>2]+p;if(o>q){if(!(c[r+748>>2]|0)){sa=s;return}e=c[r+740>>2]|0;a=c[(c[f+8>>2]|0)+8>>2]|0;if((e|0)==(a|0)){re(r,e+4|0,(c[(c[f+12>>2]|0)+8>>2]|0)+4|0);sa=s;return}else{re(r,(c[(c[f+12>>2]|0)+8>>2]|0)+4|0,a+4|0);sa=s;return}}c[s+16>>2]=1065353216;c[s+16+4>>2]=0;c[s+16+8>>2]=0;g[s+16+12>>2]=0.0;if(o>1.1920928955078125e-07){g[s+16>>2]=h*(1.0/o);g[s+16+4>>2]=i*(1.0/o);g[s+16+8>>2]=k*(1.0/o);g[s+16+12>>2]=0.0;j=h*(1.0/o);i=i*(1.0/o);h=k*(1.0/o)}else{j=1.0;i=0.0;h=0.0}g[s>>2]=l+p*j;g[s+4>>2]=m+p*i;g[s+8>>2]=n+p*h;g[s+12>>2]=0.0;_a[c[(c[f>>2]|0)+16>>2]&15](f,s+16|0,s,o-q);b=c[f+4>>2]|0;do if(c[b+748>>2]|0){e=c[b+740>>2]|0;a=c[(c[f+8>>2]|0)+8>>2]|0;if((e|0)==(a|0)){re(b,e+4|0,(c[(c[f+12>>2]|0)+8>>2]|0)+4|0);break}else{re(b,(c[(c[f+12>>2]|0)+8>>2]|0)+4|0,a+4|0);break}}while(0);sa=s;return}function Jf(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;d=c[b+236>>2]|0;if((b|0)==0|(d|0)!=8){if(!((b|0)==0|(d&2|0)==0)){Va[c[(c[a>>2]|0)+92>>2]&127](a,b);return}d=c[b+188>>2]|0;if(d|0){h=c[a+68>>2]|0;h=Fa[c[(c[h>>2]|0)+36>>2]&127](h)|0;Za[c[(c[h>>2]|0)+40>>2]&127](h,d,c[a+24>>2]|0);h=c[a+68>>2]|0;Za[c[(c[h>>2]|0)+12>>2]&127](h,d,c[a+24>>2]|0);c[b+188>>2]=0}e=c[a+8>>2]|0;if((e|0)<=0)return;f=c[a+16>>2]|0;d=0;while(1){g=f+(d<<2)|0;if((c[g>>2]|0)==(b|0))break;h=d+1|0;if((h|0)<(e|0))d=h;else{i=26;break}}if((i|0)==26)return;if((d|0)>=(e|0))return;c[g>>2]=c[f+(e+-1<<2)>>2];c[(c[a+16>>2]|0)+(e+-1<<2)>>2]=b;c[a+8>>2]=e+-1;return}g=c[a+328>>2]|0;a:do if((g|0)>0){f=c[a+336>>2]|0;d=0;while(1){e=f+(d<<2)|0;if((c[e>>2]|0)==(b|0))break;d=d+1|0;if((d|0)>=(g|0))break a}if((d|0)<(g|0)){c[e>>2]=c[f+(g+-1<<2)>>2];c[(c[a+336>>2]|0)+(g+-1<<2)>>2]=b;c[a+328>>2]=g+-1}}while(0);d=c[b+188>>2]|0;if(d|0){h=c[a+68>>2]|0;h=Fa[c[(c[h>>2]|0)+36>>2]&127](h)|0;Za[c[(c[h>>2]|0)+40>>2]&127](h,d,c[a+24>>2]|0);h=c[a+68>>2]|0;Za[c[(c[h>>2]|0)+12>>2]&127](h,d,c[a+24>>2]|0);c[b+188>>2]=0}e=c[a+8>>2]|0;if((e|0)<=0)return;f=c[a+16>>2]|0;d=0;while(1){g=f+(d<<2)|0;if((c[g>>2]|0)==(b|0))break;h=d+1|0;if((h|0)<(e|0))d=h;else{i=26;break}}if((i|0)==26)return;if((d|0)>=(e|0))return;c[g>>2]=c[f+(e+-1<<2)>>2];c[(c[a+16>>2]|0)+(e+-1<<2)>>2]=b;c[a+8>>2]=e+-1;return}function Kf(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,y=0,z=0.0;y=sa;sa=sa+48|0;t=+g[e>>2];u=+g[d>>2];v=+g[e+4>>2];s=+g[d+4>>2];r=+g[e+8>>2];m=+g[d+8>>2];n=+x(+((t-u)*.5*(t-u)*.5+(v-s)*.5*(v-s)*.5+(r-m)*.5*(r-m)*.5));o=+g[a+56>>2];if(+w(+o)>.7071067690849304){q=+g[a+52>>2];l=1.0/+x(+(o*o+q*q));p=+g[a+48>>2];f=p*-(o*l);h=(o*o+q*q)*l;i=0.0;j=-(p*q*l);k=-(o*l);l=q*l}else{p=+g[a+48>>2];q=+g[a+52>>2];k=1.0/+x(+(p*p+q*q));f=(p*p+q*q)*k;h=-(o*p*k);i=-(q*k);j=o*-(q*k);k=p*k;l=0.0}z=o*(r+m)*.5+((t+u)*.5*p+(v+s)*.5*q)-+g[a+64>>2];s=(v+s)*.5-q*z;p=(t+u)*.5-p*z;i=n*i;t=n*k;v=n*l;l=n*h;q=n*j;u=n*f;g[y>>2]=l+(i+p);g[y+4>>2]=q+(t+s);g[y+8>>2]=u+(v+((r+m)*.5-o*z));g[y+12>>2]=0.0;g[y+16>>2]=i+p-l;g[y+20>>2]=t+s-q;g[y+24>>2]=v+((r+m)*.5-o*z)-u;g[y+28>>2]=0.0;g[y+32>>2]=p-i-l;g[y+36>>2]=s-t-q;g[y+40>>2]=(r+m)*.5-o*z-v-u;g[y+44>>2]=0.0;ab[c[(c[b>>2]|0)+8>>2]&127](b,y,0,0);g[y>>2]=p-i-l;g[y+4>>2]=s-t-q;g[y+8>>2]=(r+m)*.5-o*z-v-u;g[y+12>>2]=0.0;g[y+16>>2]=l+(p-i);g[y+20>>2]=q+(s-t);g[y+24>>2]=u+((r+m)*.5-o*z-v);g[y+28>>2]=0.0;g[y+32>>2]=l+(i+p);g[y+36>>2]=q+(t+s);g[y+40>>2]=u+(v+((r+m)*.5-o*z));g[y+44>>2]=0.0;ab[c[(c[b>>2]|0)+8>>2]&127](b,y,0,1);sa=y;return}function Lf(b,d,e,f){b=b|0;d=+d;e=e|0;f=+f;var h=0,i=0.0,j=0,k=0;k=sa;sa=sa+16|0;la(c[7181]|0,0)|0;er(28684);c[7172]=(c[7172]|0)+1;j=c[7175]|0;c[7175]=j+1;if(!j){la(k|0,0)|0;j=c[7181]|0;c[7174]=(c[k+4>>2]|0)-(c[j+4>>2]|0)+(((c[k>>2]|0)-(c[j>>2]|0)|0)*1e6|0)}c[7180]=0;la(k|0,0)|0;Ki(16565);if(e){g[b+268>>2]=f;i=+g[b+264>>2]+d;g[b+264>>2]=i;if(!(i>=f)){d=f;j=0}else{g[b+264>>2]=i-+(~~(i/f)|0)*f;d=f;j=~~(i/f)}}else{g[b+264>>2]=(a[b+300>>0]|0)==0?d:0.0;g[b+268>>2]=0.0;j=!(+w(+d)<1.1920928955078125e-07)&1;e=j}if(Fa[c[(c[b>>2]|0)+20>>2]&127](b)|0){h=Fa[c[(c[b>>2]|0)+20>>2]&127](b)|0;h=Fa[c[(c[h>>2]|0)+48>>2]&127](h)|0;a[29312]=(4?h>>>4:h)&1}if(j){h=(j|0)>(e|0)?e:j;Qa[c[(c[b>>2]|0)+164>>2]&31](b,d*+(h|0));Pa[c[(c[b>>2]|0)+168>>2]&511](b);if((h|0)>0){e=0;do{Qa[c[(c[b>>2]|0)+160>>2]&31](b,d);Pa[c[(c[b>>2]|0)+80>>2]&511](b);e=e+1|0}while((e|0)<(h|0));e=b}else e=b}else{Pa[c[(c[b>>2]|0)+80>>2]&511](b);e=b}Pa[c[(c[e>>2]|0)+120>>2]&511](b);c[7180]=(c[7180]|0)+1;e=c[3084]|0;b=(c[e+16>>2]|0)+-1|0;c[e+16>>2]=b;if(b|0){sa=k;return j|0}do if(c[e+4>>2]|0){la(k|0,0)|0;b=c[7181]|0;g[e+8>>2]=+g[e+8>>2]+ +(((c[k+4>>2]|0)-(c[b+4>>2]|0)+(((c[k>>2]|0)-(c[b>>2]|0)|0)*1e6|0)-(c[e+12>>2]|0)|0)>>>0)/1.0e3;if(!(c[e+16>>2]|0)){e=c[3084]|0;break}else{sa=k;return j|0}}while(0);c[3084]=c[e+20>>2];sa=k;return j|0}function Mf(a,b,d){a=a|0;b=b|0;d=+d;var e=0,f=0,h=0;e=sa;sa=sa+288|0;g[e+280>>2]=d;h=IH(b)|0;c[e+264>>2]=c[h>>2];c[e+264+4>>2]=c[h+4>>2];c[e+264+8>>2]=c[h+8>>2];c[e+264+12>>2]=c[h+12>>2];h=c[(c[a>>2]|0)+8>>2]|0;f=JI(b)|0;g[e+212>>2]=0.0;g[e+208>>2]=0.0;ns(e+216|0,e+280|0,e+212|0,e+208|0);vl(e+232|0,f,+g[e+216>>2],+g[e+216+4>>2],+g[e+216+8>>2]);qp(e+248|0,+g[e+264>>2],+g[e+264+4>>2],+g[e+264+8>>2],+g[e+232>>2],+g[e+232+4>>2],+g[e+232+8>>2]);g[e+184>>2]=.699999988079071;g[e+180>>2]=0.0;g[e+176>>2]=0.0;ns(e+192|0,e+184|0,e+180|0,e+176|0);ab[h&127](a,e+264|0,e+248|0,e+192|0);b=c[(c[a>>2]|0)+8>>2]|0;g[e+124>>2]=0.0;g[e+120>>2]=0.0;ns(e+128|0,e+124|0,e+280|0,e+120|0);vl(e+144|0,f,+g[e+128>>2],+g[e+128+4>>2],+g[e+128+8>>2]);qp(e+160|0,+g[e+264>>2],+g[e+264+4>>2],+g[e+264+8>>2],+g[e+144>>2],+g[e+144+4>>2],+g[e+144+8>>2]);g[e+96>>2]=0.0;g[e+92>>2]=.699999988079071;g[e+88>>2]=0.0;ns(e+104|0,e+96|0,e+92|0,e+88|0);ab[b&127](a,e+264|0,e+160|0,e+104|0);b=c[(c[a>>2]|0)+8>>2]|0;g[e+36>>2]=0.0;g[e+32>>2]=0.0;ns(e+40|0,e+36|0,e+32|0,e+280|0);vl(e+56|0,f,+g[e+40>>2],+g[e+40+4>>2],+g[e+40+8>>2]);qp(e+72|0,+g[e+264>>2],+g[e+264+4>>2],+g[e+264+8>>2],+g[e+56>>2],+g[e+56+4>>2],+g[e+56+8>>2]);g[e+8>>2]=0.0;g[e+4>>2]=0.0;g[e>>2]=.699999988079071;ns(e+16|0,e+8|0,e+4|0,e);ab[b&127](a,e+264|0,e+72|0,e+16|0);sa=e;return}function Nf(a){a=a|0;var b=0,d=0,e=0.0,f=0.0,h=0,i=0.0,j=0,k=0.0,l=0,m=0.0,n=0.0,o=0,p=0.0;d=c[a+712>>2]|0;if((d|0)>0){b=0;do{l=(c[a+720>>2]|0)+(b*104|0)+72|0;b=b+1|0;c[l>>2]=0;c[l+4>>2]=0;c[l+8>>2]=0;c[l+12>>2]=0}while((b|0)!=(d|0))}d=c[a+752>>2]|0;if((d|0)>0){b=0;do{o=c[a+760>>2]|0;j=c[o+(b*44|0)+12>>2]|0;h=c[o+(b*44|0)+8>>2]|0;k=+g[h+8>>2];e=+g[j+8>>2]-k;f=+g[h+12>>2];i=+g[j+12>>2]-f;m=+g[h+16>>2];n=+g[j+16>>2]-m;l=c[o+(b*44|0)+16>>2]|0;k=+g[l+8>>2]-k;f=+g[l+12>>2]-f;m=+g[l+16>>2]-m;p=1.0/+x(+((e*f-i*k)*(e*f-i*k)+((i*m-n*f)*(i*m-n*f)+(n*k-e*m)*(n*k-e*m))));g[o+(b*44|0)+20>>2]=(i*m-n*f)*p;g[o+(b*44|0)+24>>2]=(n*k-e*m)*p;g[o+(b*44|0)+28>>2]=(e*f-i*k)*p;c[o+(b*44|0)+32>>2]=0;g[h+72>>2]=i*m-n*f+ +g[h+72>>2];g[h+76>>2]=n*k-e*m+ +g[h+76>>2];g[h+80>>2]=e*f-i*k+ +g[h+80>>2];g[j+72>>2]=i*m-n*f+ +g[j+72>>2];g[j+76>>2]=n*k-e*m+ +g[j+76>>2];g[j+80>>2]=e*f-i*k+ +g[j+80>>2];g[l+72>>2]=i*m-n*f+ +g[l+72>>2];g[l+76>>2]=n*k-e*m+ +g[l+76>>2];g[l+80>>2]=e*f-i*k+ +g[l+80>>2];b=b+1|0}while((b|0)!=(d|0))}l=c[a+712>>2]|0;if((l|0)<=0)return;a=c[a+720>>2]|0;b=0;do{h=a+(b*104|0)+72|0;i=+g[h>>2];j=a+(b*104|0)+76|0;k=+g[j>>2];d=a+(b*104|0)+80|0;e=+g[d>>2];f=+x(+(i*i+k*k+e*e));if(f>1.1920928955078125e-07){g[h>>2]=i*(1.0/f);g[j>>2]=k*(1.0/f);g[d>>2]=e*(1.0/f)}b=b+1|0}while((b|0)!=(l|0));return}function Of(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;if(!(a[d+164>>0]|0)){f=c[d+148>>2]|0;if((f|0)==(c[d+152>>2]|0)?(k=(f|0)==0?1:f<<1,(f|0)<(k|0)):0){if(!k)i=0;else{c[7182]=(c[7182]|0)+1;f=xb((k<<1)+19|0)|0;if(!f)f=0;else{c[(f+4+15&-16)+-4>>2]=f;f=f+4+15&-16}i=f;f=c[d+148>>2]|0}h=c[d+156>>2]|0;if((f|0)<=0)if(!h)g=d+160|0;else l=29;else{g=0;do{b[i+(g<<1)>>1]=b[h+(g<<1)>>1]|0;g=g+1|0}while((g|0)!=(f|0));l=29}if((l|0)==29){if(a[d+160>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[h+-4>>2]|0);f=c[d+148>>2]|0}c[d+156>>2]=0;g=d+160|0}a[g>>0]=1;c[d+156>>2]=i;c[d+152>>2]=k}l=c[d+156>>2]|0;b[l+(f<<1)>>1]=e;c[d+148>>2]=f+1;c[(c[d+32>>2]|0)+4>>2]=l;return}else{f=c[d+128>>2]|0;if((f|0)==(c[d+132>>2]|0)?(j=(f|0)==0?1:f<<1,(f|0)<(j|0)):0){if(!j)i=0;else{c[7182]=(c[7182]|0)+1;f=xb((j<<2|3)+16|0)|0;if(!f)f=0;else{c[(f+4+15&-16)+-4>>2]=f;f=f+4+15&-16}i=f;f=c[d+128>>2]|0}h=c[d+136>>2]|0;if((f|0)<=0)if(!h)g=d+140|0;else l=13;else{g=0;do{c[i+(g<<2)>>2]=c[h+(g<<2)>>2];g=g+1|0}while((g|0)!=(f|0));l=13}if((l|0)==13){if(a[d+140>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[h+-4>>2]|0)}c[d+136>>2]=0;g=d+140|0;f=c[d+128>>2]|0}a[g>>0]=1;c[d+136>>2]=i;c[d+132>>2]=j}l=c[d+136>>2]|0;c[l+(f<<2)>>2]=e;c[d+128>>2]=(c[d+128>>2]|0)+1;c[(c[d+32>>2]|0)+4>>2]=l;return}}function Pf(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var h=0;h=ts()|0;c[h+4>>2]=5;c[h+8>>2]=-1;c[h+12>>2]=-1;g[h+16>>2]=3402823466385288598117041.0e14;a[h+20>>0]=1;a[h+21>>0]=0;c[h+24>>2]=-1;c[h+28>>2]=b;c[h+32>>2]=d;g[h+36>>2]=0.0;g[h+40>>2]=.30000001192092896;c[h+44>>2]=0;c[h>>2]=7460;c[h+300>>2]=c[e>>2];c[h+300+4>>2]=c[e+4>>2];c[h+300+8>>2]=c[e+8>>2];c[h+300+12>>2]=c[e+12>>2];c[h+316>>2]=c[e+16>>2];c[h+316+4>>2]=c[e+16+4>>2];c[h+316+8>>2]=c[e+16+8>>2];c[h+316+12>>2]=c[e+16+12>>2];c[h+332>>2]=c[e+32>>2];c[h+332+4>>2]=c[e+32+4>>2];c[h+332+8>>2]=c[e+32+8>>2];c[h+332+12>>2]=c[e+32+12>>2];c[h+348>>2]=c[e+48>>2];c[h+348+4>>2]=c[e+48+4>>2];c[h+348+8>>2]=c[e+48+8>>2];c[h+348+12>>2]=c[e+48+12>>2];c[h+364>>2]=c[f>>2];c[h+364+4>>2]=c[f+4>>2];c[h+364+8>>2]=c[f+8>>2];c[h+364+12>>2]=c[f+12>>2];c[h+380>>2]=c[f+16>>2];c[h+380+4>>2]=c[f+16+4>>2];c[h+380+8>>2]=c[f+16+8>>2];c[h+380+12>>2]=c[f+16+12>>2];c[h+396>>2]=c[f+32>>2];c[h+396+4>>2]=c[f+32+4>>2];c[h+396+8>>2]=c[f+32+8>>2];c[h+396+12>>2]=c[f+32+12>>2];c[h+412>>2]=c[f+48>>2];c[h+412+4>>2]=c[f+48+4>>2];c[h+412+8>>2]=c[f+48+8>>2];c[h+412+12>>2]=c[f+48+12>>2];a[h+552>>0]=0;c[h+524>>2]=0;g[h+572>>2]=-1.0;g[h+444>>2]=999999984306749440.0;g[h+448>>2]=999999984306749440.0;g[h+452>>2]=999999984306749440.0;g[h+428>>2]=1.0;g[h+432>>2]=.30000001192092896;g[h+436>>2]=1.0;g[h+440>>2]=.009999999776482582;g[h+456>>2]=.05000000074505806;c[h+592>>2]=0;g[h+596>>2]=0.0;g[h+600>>2]=.699999988079071;g[h+604>>2]=0.0;return h|0}function Qf(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var h=0.0,i=0.0,j=0.0,k=0.0,l=0,m=0.0;l=sa;sa=sa+672|0;c[l+568+8>>2]=0;c[l+568+12>>2]=1065353216;c[l+568+16>>2]=1065353216;c[l+568+20>>2]=1065353216;g[l+568+24>>2]=0.0;c[l+568+52>>2]=0;c[l+568>>2]=6476;c[l+568+4>>2]=1;c[l+568+56>>2]=c[d>>2];c[l+568+56+4>>2]=c[d+4>>2];c[l+568+56+8>>2]=c[d+8>>2];c[l+568+56+12>>2]=c[d+12>>2];c[l+568+72>>2]=c[d+16>>2];c[l+568+72+4>>2]=c[d+16+4>>2];c[l+568+72+8>>2]=c[d+16+8>>2];c[l+568+72+12>>2]=c[d+16+12>>2];c[l+568+88>>2]=c[d+32>>2];c[l+568+88+4>>2]=c[d+32+4>>2];c[l+568+88+8>>2]=c[d+32+8>>2];c[l+568+88+12>>2]=c[d+32+12>>2];c[l+568+44>>2]=c[b+204>>2];g[l+208+308>>2]=9.999999747378752e-05;a[l+208+332>>0]=0;c[l+200>>2]=12028;d=c[b+4>>2]|0;c[l+176>>2]=12096;c[l+176+4>>2]=l+208;c[l+176+8>>2]=l+200;c[l+176+12>>2]=d;c[l+176+16>>2]=l+568;c[l+176+20>>2]=0;c[l>>2]=6448;c[l+168>>2]=0;g[l+164>>2]=1.0;c[l+172>>2]=c[b+208>>2];if((bd(l+176|0,b+8|0,b+72|0,b+136|0,b+136|0,l)|0?(h=+g[l+132>>2],i=+g[l+136>>2],j=+g[l+140>>2],h*h+i*i+j*j>9.999999747378752e-05):0)?(k=+g[l+164>>2],k<+g[b+200>>2]):0){m=1.0/+x(+(h*h+i*i+j*j));g[l+132>>2]=h*m;g[l+136>>2]=i*m;g[l+140>>2]=j*m;+za[c[(c[b>>2]|0)+12>>2]&3](b,l+132|0,l+148|0,k,e,f)}c[l+568>>2]=9932;b=c[l+568+52>>2]|0;if(!b){sa=l;return}Pa[c[c[b>>2]>>2]&511](b);b=c[l+568+52>>2]|0;if(!b){sa=l;return}c[7183]=(c[7183]|0)+1;Hc(c[b+-4>>2]|0);sa=l;return}function Rf(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0;e=+g[d+128>>2];if(!(e!=0.0))return;c[7002]=(c[7002]|0)+1;k=+g[d+96>>2];f=+g[d+16>>2];h=+g[d+20>>2];i=+g[d+24>>2];j=+g[d+108>>2];j=e-k*+g[d+116>>2]-(f*+g[a+144>>2]+h*+g[a+148>>2]+i*+g[a+152>>2]+(+g[d>>2]*+g[a+160>>2]+ +g[d+4>>2]*+g[a+164>>2]+ +g[d+8>>2]*+g[a+168>>2]))*j-j*(+g[d+48>>2]*+g[b+144>>2]+ +g[d+52>>2]*+g[b+148>>2]+ +g[d+56>>2]*+g[b+152>>2]+(+g[d+32>>2]*+g[b+160>>2]+ +g[d+36>>2]*+g[b+164>>2]+ +g[d+40>>2]*+g[b+168>>2]));l=+g[d+120>>2];e=k+j>2]=k+j>2]|0){l=e*h*+g[a+132>>2]*+g[a+116>>2];k=e*i*+g[a+136>>2]*+g[a+120>>2];g[a+144>>2]=+g[a+112>>2]*e*f*+g[a+128>>2]+ +g[a+144>>2];g[a+148>>2]=l+ +g[a+148>>2];g[a+152>>2]=k+ +g[a+152>>2];k=e*+g[a+100>>2]*+g[d+68>>2];l=e*+g[a+104>>2]*+g[d+72>>2];g[a+160>>2]=e*+g[a+96>>2]*+g[d+64>>2]+ +g[a+160>>2];g[a+164>>2]=k+ +g[a+164>>2];g[a+168>>2]=l+ +g[a+168>>2]}if(!(c[b+240>>2]|0))return;l=e*+g[d+52>>2]*+g[b+132>>2]*+g[b+116>>2];k=e*+g[d+56>>2]*+g[b+136>>2]*+g[b+120>>2];g[b+144>>2]=+g[b+112>>2]*e*+g[d+48>>2]*+g[b+128>>2]+ +g[b+144>>2];g[b+148>>2]=l+ +g[b+148>>2];g[b+152>>2]=k+ +g[b+152>>2];k=e*+g[b+100>>2]*+g[d+84>>2];l=e*+g[b+104>>2]*+g[d+88>>2];g[b+160>>2]=e*+g[b+96>>2]*+g[d+80>>2]+ +g[b+160>>2];g[b+164>>2]=k+ +g[b+164>>2];g[b+168>>2]=l+ +g[b+168>>2];return}function Sf(a,b,d){a=a|0;b=+b;d=+d;var e=0,f=0,h=0,i=0,j=0,k=0.0,l=0.0,m=0.0,n=0,o=0.0,p=0.0,q=0.0,r=0.0,s=0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0;h=sa;sa=sa+16|0;d=+g[a+336>>2]*b;b=+g[a+452>>2];f=c[a+792>>2]|0;if((f|0)<=0){sa=h;return}e=0;do{s=c[a+800>>2]|0;j=c[s+(e*96|0)+20>>2]|0;n=c[s+(e*96|0)>>2]|0;x=+g[s+(e*96|0)+4>>2];w=+g[s+(e*96|0)+8>>2];v=+g[s+(e*96|0)+12>>2];i=s+(e*96|0)+76|0;u=+g[j+332>>2];o=+g[s+(e*96|0)+84>>2];y=+g[j+336>>2];l=+g[s+(e*96|0)+80>>2];k=+g[i>>2];m=+g[j+328>>2];r=+g[n+8>>2];q=+g[n+12>>2];p=+g[n+16>>2];t=d*(x*+g[j+4>>2]+w*+g[j+8>>2]+v*+g[j+12>>2]+ +g[j+52>>2]-r)+(b*(u*o-y*l+ +g[j+312>>2])-(r-+g[n+24>>2]));o=d*(x*+g[j+20>>2]+w*+g[j+24>>2]+v*+g[j+28>>2]+ +g[j+56>>2]-q)+(b*(+g[j+316>>2]+(y*k-o*m))-(q-+g[n+28>>2]));k=d*(x*+g[j+36>>2]+w*+g[j+40>>2]+v*+g[j+44>>2]+ +g[j+60>>2]-p)+(b*(l*m-u*k+ +g[j+320>>2])-(p-+g[n+32>>2]));u=+g[s+(e*96|0)+24>>2];m=(t*+g[s+(e*96|0)+28>>2]+o*+g[s+(e*96|0)+32>>2]+ +g[s+(e*96|0)+36>>2]*k)*u;l=(t*+g[s+(e*96|0)+44>>2]+o*+g[s+(e*96|0)+48>>2]+k*+g[s+(e*96|0)+52>>2])*u;k=u*(t*+g[s+(e*96|0)+60>>2]+o*+g[s+(e*96|0)+64>>2]+k*+g[s+(e*96|0)+68>>2]);o=+g[s+(e*96|0)+92>>2];g[n+8>>2]=r+m*o;g[n+12>>2]=q+o*l;g[n+16>>2]=p+o*k;g[h>>2]=-m;g[h+4>>2]=-l;g[h+8>>2]=-k;g[h+12>>2]=0.0;Bk(j,h,i);e=e+1|0}while((e|0)!=(f|0));sa=h;return}function Tf(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0;f=+g[d+100>>2];j=+g[d+16>>2];k=+g[d+20>>2];l=+g[d+24>>2];h=+g[d+108>>2];h=+g[d+112>>2]-f*+g[d+116>>2]-(j*+g[a+64>>2]+k*+g[a+68>>2]+l*+g[a+72>>2]+(+g[d>>2]*+g[a+80>>2]+ +g[d+4>>2]*+g[a+84>>2]+ +g[d+8>>2]*+g[a+88>>2]))*h-h*(+g[d+48>>2]*+g[b+64>>2]+ +g[d+52>>2]*+g[b+68>>2]+ +g[d+56>>2]*+g[b+72>>2]+(+g[d+32>>2]*+g[b+80>>2]+ +g[d+36>>2]*+g[b+84>>2]+ +g[d+40>>2]*+g[b+88>>2]));e=+g[d+120>>2];if(!(f+h>2];if(f+h>e)i=e-f;else{i=h;e=f+h}}else i=e-f;g[d+100>>2]=e;if(c[a+240>>2]|0){h=i*k*+g[a+132>>2]*+g[a+116>>2];k=i*l*+g[a+136>>2]*+g[a+120>>2];g[a+64>>2]=+g[a+112>>2]*i*j*+g[a+128>>2]+ +g[a+64>>2];g[a+68>>2]=h+ +g[a+68>>2];g[a+72>>2]=k+ +g[a+72>>2];k=i*+g[a+100>>2]*+g[d+68>>2];l=i*+g[a+104>>2]*+g[d+72>>2];g[a+80>>2]=i*+g[a+96>>2]*+g[d+64>>2]+ +g[a+80>>2];g[a+84>>2]=k+ +g[a+84>>2];g[a+88>>2]=l+ +g[a+88>>2]}if(!(c[b+240>>2]|0))return;l=i*+g[d+52>>2]*+g[b+132>>2]*+g[b+116>>2];k=i*+g[d+56>>2]*+g[b+136>>2]*+g[b+120>>2];g[b+64>>2]=+g[b+112>>2]*i*+g[d+48>>2]*+g[b+128>>2]+ +g[b+64>>2];g[b+68>>2]=l+ +g[b+68>>2];g[b+72>>2]=k+ +g[b+72>>2];k=i*+g[b+100>>2]*+g[d+84>>2];l=i*+g[b+104>>2]*+g[d+88>>2];g[b+80>>2]=i*+g[b+96>>2]*+g[d+80>>2]+ +g[b+80>>2];g[b+84>>2]=k+ +g[b+84>>2];g[b+88>>2]=l+ +g[b+88>>2];return}function Uf(b,d,e,f,h){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;var i=0;i=Cs()|0;c[i+4>>2]=4;c[i+8>>2]=-1;c[i+12>>2]=-1;g[i+16>>2]=3402823466385288598117041.0e14;a[i+20>>0]=1;a[i+21>>0]=0;c[i+24>>2]=-1;c[i+28>>2]=b;c[i+32>>2]=d;g[i+36>>2]=0.0;g[i+40>>2]=.30000001192092896;c[i+44>>2]=0;c[i>>2]=7516;c[i+552>>2]=c[e>>2];c[i+552+4>>2]=c[e+4>>2];c[i+552+8>>2]=c[e+8>>2];c[i+552+12>>2]=c[e+12>>2];c[i+568>>2]=c[e+16>>2];c[i+568+4>>2]=c[e+16+4>>2];c[i+568+8>>2]=c[e+16+8>>2];c[i+568+12>>2]=c[e+16+12>>2];c[i+584>>2]=c[e+32>>2];c[i+584+4>>2]=c[e+32+4>>2];c[i+584+8>>2]=c[e+32+8>>2];c[i+584+12>>2]=c[e+32+12>>2];c[i+600>>2]=c[e+48>>2];c[i+600+4>>2]=c[e+48+4>>2];c[i+600+8>>2]=c[e+48+8>>2];c[i+600+12>>2]=c[e+48+12>>2];c[i+616>>2]=c[f>>2];c[i+616+4>>2]=c[f+4>>2];c[i+616+8>>2]=c[f+8>>2];c[i+616+12>>2]=c[f+12>>2];c[i+632>>2]=c[f+16>>2];c[i+632+4>>2]=c[f+16+4>>2];c[i+632+8>>2]=c[f+16+8>>2];c[i+632+12>>2]=c[f+16+12>>2];c[i+648>>2]=c[f+32>>2];c[i+648+4>>2]=c[f+32+4>>2];c[i+648+8>>2]=c[f+32+8>>2];c[i+648+12>>2]=c[f+32+12>>2];c[i+664>>2]=c[f+48>>2];c[i+664+4>>2]=c[f+48+4>>2];c[i+664+8>>2]=c[f+48+8>>2];c[i+664+12>>2]=c[f+48+12>>2];g[i+688>>2]=0.0;g[i+692>>2]=-1.0;g[i+696>>2]=.8999999761581421;g[i+700>>2]=.30000001192092896;g[i+704>>2]=1.0;g[i+708>>2]=0.0;g[i+712>>2]=0.0;a[i+716>>0]=0;a[i+736>>0]=0;a[i+737>>0]=0;a[i+738>>0]=0;a[i+739>>0]=1;a[i+740>>0]=h&1;c[i+748>>2]=0;g[i+732>>2]=h?-1.0:1.0;return i|0}function Vf(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;e=Ha[c[(c[d>>2]|0)+40>>2]&31](d,a)|0;g=Ha[c[(c[d>>2]|0)+28>>2]&31](d,e)|0;c[b>>2]=g;if(g|0)Va[c[(c[d>>2]|0)+48>>2]&127](d,e);c[b+4>>2]=c[a+4>>2];g=c[a+48>>2]|0;Ja[c[(c[g>>2]|0)+56>>2]&63](g,b+12|0,d)|0;c[b+52>>2]=c[a+12>>2];do if((c[a+52>>2]|0)!=0?((Fa[c[(c[d>>2]|0)+52>>2]&127](d)|0)&1|0)==0:0){e=Ha[c[(c[d>>2]|0)+24>>2]&31](d,c[a+52>>2]|0)|0;if(!e){c[b+40>>2]=Ha[c[(c[d>>2]|0)+28>>2]&31](d,c[a+52>>2]|0)|0;c[b+44>>2]=0;e=c[a+52>>2]|0;e=Fa[c[(c[e>>2]|0)+12>>2]&127](e)|0;e=Ja[c[(c[d>>2]|0)+16>>2]&63](d,e,1)|0;g=c[a+52>>2]|0;g=Ja[c[(c[g>>2]|0)+16>>2]&63](g,c[e+8>>2]|0,d)|0;eb[c[(c[d>>2]|0)+20>>2]&31](d,e,g,1213612625,c[a+52>>2]|0);break}else{c[b+40>>2]=e;c[b+44>>2]=0;break}}else f=8;while(0);if((f|0)==8){c[b+40>>2]=0;c[b+44>>2]=0}if(c[a+56>>2]|0?((Fa[c[(c[d>>2]|0)+52>>2]&127](d)|0)&2|0)==0:0){e=Ha[c[(c[d>>2]|0)+24>>2]&31](d,c[a+56>>2]|0)|0;if(!e){c[b+48>>2]=Ha[c[(c[d>>2]|0)+28>>2]&31](d,c[a+56>>2]|0)|0;b=c[a+56>>2]|0;b=Fa[c[(c[b>>2]|0)+8>>2]&127](b)|0;b=Ja[c[(c[d>>2]|0)+16>>2]&63](d,b,1)|0;g=c[a+56>>2]|0;g=Ja[c[(c[g>>2]|0)+12>>2]&63](g,c[b+8>>2]|0,d)|0;eb[c[(c[d>>2]|0)+20>>2]&31](d,b,g,1346456916,c[a+56>>2]|0);return 20984}else{c[b+48>>2]=e;return 20984}}c[b+48>>2]=0;return 20984}function Wf(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;c[7169]=(c[7169]|0)+1;k=(e<<16|d)+~((e<<16|d)<<15)|0;k=((10?k>>10:k)^k)*9|0;k=(6?k>>6:k)^k;k=(16?k+~(k<<11)>>16:k+~(k<<11)|0)^k+~(k<<11);l=c[b+12>>2]|0;f=c[(c[b+40>>2]|0)+((l+-1&k)<<2)>>2]|0;a:do if((f|0)!=-1){h=c[b+16>>2]|0;while(1){g=h+(f*12|0)|0;if((c[g>>2]|0)==(d|0)?(c[h+(f*12|0)+4>>2]|0)==(e|0):0)break;f=c[(c[b+60>>2]|0)+(f<<2)>>2]|0;if((f|0)==-1)break a}if(g|0){e=g;return e|0}}while(0);j=c[b+8>>2]|0;if((j|0)==(l|0)){h=(l|0)==0?1:l<<1;if((l|0)<(h|0)){if(!h){f=0;i=l}else{c[7182]=(c[7182]|0)+1;f=xb((h*12|3)+16|0)|0;if(!f)f=0;else{c[(f+4+15&-16)+-4>>2]=f;f=f+4+15&-16}i=c[b+8>>2]|0}if((i|0)>0){g=0;do{m=f+(g*12|0)|0;n=(c[b+16>>2]|0)+(g*12|0)|0;c[m>>2]=c[n>>2];c[m+4>>2]=c[n+4>>2];c[m+8>>2]=c[n+8>>2];g=g+1|0}while((g|0)!=(i|0))}g=c[b+16>>2]|0;if(g|0){if(a[b+20>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[g+-4>>2]|0)}c[b+16>>2]=0}a[b+20>>0]=1;c[b+16>>2]=f;c[b+12>>2]=h;f=c[b+8>>2]|0}else{f=l;h=l}}else{f=j;h=l}c[b+8>>2]=f+1;g=c[b+16>>2]|0;if((l|0)<(h|0)){Te(b);f=(c[b+12>>2]|0)+-1&k}else f=l+-1&k;c[g+(j*12|0)>>2]=d;c[g+(j*12|0)+4>>2]=e;c[g+(j*12|0)+8>>2]=0;n=(c[b+40>>2]|0)+(f<<2)|0;c[(c[b+60>>2]|0)+(j<<2)>>2]=c[n>>2];c[n>>2]=j;n=g+(j*12|0)|0;return n|0}function Xf(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var h=0;h=Cs()|0;c[h+4>>2]=4;c[h+8>>2]=-1;c[h+12>>2]=-1;g[h+16>>2]=3402823466385288598117041.0e14;a[h+20>>0]=1;a[h+21>>0]=0;c[h+24>>2]=-1;c[h+28>>2]=b;c[h+32>>2]=d;g[h+36>>2]=0.0;g[h+40>>2]=.30000001192092896;c[h+44>>2]=0;c[h>>2]=7516;c[h+552>>2]=c[e>>2];c[h+552+4>>2]=c[e+4>>2];c[h+552+8>>2]=c[e+8>>2];c[h+552+12>>2]=c[e+12>>2];c[h+568>>2]=c[e+16>>2];c[h+568+4>>2]=c[e+16+4>>2];c[h+568+8>>2]=c[e+16+8>>2];c[h+568+12>>2]=c[e+16+12>>2];c[h+584>>2]=c[e+32>>2];c[h+584+4>>2]=c[e+32+4>>2];c[h+584+8>>2]=c[e+32+8>>2];c[h+584+12>>2]=c[e+32+12>>2];c[h+600>>2]=c[e+48>>2];c[h+600+4>>2]=c[e+48+4>>2];c[h+600+8>>2]=c[e+48+8>>2];c[h+600+12>>2]=c[e+48+12>>2];c[h+616>>2]=c[f>>2];c[h+616+4>>2]=c[f+4>>2];c[h+616+8>>2]=c[f+8>>2];c[h+616+12>>2]=c[f+12>>2];c[h+632>>2]=c[f+16>>2];c[h+632+4>>2]=c[f+16+4>>2];c[h+632+8>>2]=c[f+16+8>>2];c[h+632+12>>2]=c[f+16+12>>2];c[h+648>>2]=c[f+32>>2];c[h+648+4>>2]=c[f+32+4>>2];c[h+648+8>>2]=c[f+32+8>>2];c[h+648+12>>2]=c[f+32+12>>2];c[h+664>>2]=c[f+48>>2];c[h+664+4>>2]=c[f+48+4>>2];c[h+664+8>>2]=c[f+48+8>>2];c[h+664+12>>2]=c[f+48+12>>2];g[h+688>>2]=0.0;g[h+692>>2]=-1.0;g[h+696>>2]=.8999999761581421;g[h+700>>2]=.30000001192092896;g[h+704>>2]=1.0;g[h+708>>2]=0.0;g[h+712>>2]=0.0;a[h+716>>0]=0;a[h+736>>0]=0;a[h+737>>0]=0;a[h+738>>0]=0;a[h+739>>0]=1;a[h+740>>0]=0;c[h+748>>2]=0;g[h+732>>2]=1.0;return h|0}function Yf(b,d,e,f,h,i){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0.0,n=0.0,o=0.0,p=0.0,q=0,r=0;c[7182]=(c[7182]|0)+1;b=xb((h+2|0)>>>0>268435455?18:(h+2<<4|3)+16|0)|0;if(!b)j=0;else{c[(b+4+15&-16)+-4>>2]=b;j=b+4+15&-16}k=CI((h+2|0)>>>0>1073741823?-1:h+2<<2)|0;if((h|0)>-2){b=0;do{p=+(b|0)/+(h+1|0);o=+g[e>>2];n=+g[e+4>>2];n=n+p*(+g[f+4>>2]-n);m=+g[e+8>>2];m=m+p*(+g[f+8>>2]-m);g[j+(b<<4)>>2]=o+p*(+g[f>>2]-o);g[j+(b<<4)+4>>2]=n;g[j+(b<<4)+8>>2]=m;g[j+(b<<4)+12>>2]=0.0;g[k+(b<<2)>>2]=1.0;b=b+1|0}while((b|0)<(h+2|0))}c[7182]=(c[7182]|0)+1;b=xb(1271)|0;if(!b)l=0;else{c[(b+4+15&-16)+-4>>2]=b;l=b+4+15&-16}Hb(l,d,h+2|0,j,k);if(i&1|0){g[(c[l+720>>2]|0)+88>>2]=0.0;a[l+924>>0]=1}if(i&2|0){g[(c[l+720>>2]|0)+((h+1|0)*104|0)+88>>2]=0.0;a[l+924>>0]=1}if(j|0){c[7183]=(c[7183]|0)+1;Hc(c[j+-4>>2]|0)}DI(k);if((h|0)<=-1)return l|0;j=l+720|0;k=l+732|0;e=l+740|0;f=l+924|0;b=1;do{r=b+-1|0;q=c[j>>2]|0;oh(l,0);i=(c[k>>2]|0)+-1|0;d=c[e>>2]|0;c[d+(i*52|0)+8>>2]=q+(r*104|0);c[d+(i*52|0)+12>>2]=q+(b*104|0);n=+g[q+(r*104|0)+8>>2]-+g[q+(b*104|0)+8>>2];o=+g[q+(r*104|0)+12>>2]-+g[q+(b*104|0)+12>>2];p=+g[q+(r*104|0)+16>>2]-+g[q+(b*104|0)+16>>2];g[d+(i*52|0)+16>>2]=+x(+(n*n+o*o+p*p));a[f>>0]=1;b=b+1|0}while((b|0)<(h+2|0));return l|0}function Zf(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0;k=+g[d+100>>2];f=+g[d+16>>2];h=+g[d+20>>2];i=+g[d+24>>2];j=+g[d+108>>2];j=+g[d+112>>2]-k*+g[d+116>>2]-(f*+g[a+64>>2]+h*+g[a+68>>2]+i*+g[a+72>>2]+(+g[d>>2]*+g[a+80>>2]+ +g[d+4>>2]*+g[a+84>>2]+ +g[d+8>>2]*+g[a+88>>2]))*j-j*(+g[d+48>>2]*+g[b+64>>2]+ +g[d+52>>2]*+g[b+68>>2]+ +g[d+56>>2]*+g[b+72>>2]+(+g[d+32>>2]*+g[b+80>>2]+ +g[d+36>>2]*+g[b+84>>2]+ +g[d+40>>2]*+g[b+88>>2]));l=+g[d+120>>2];e=k+j>2]=k+j>2]|0){l=e*h*+g[a+132>>2]*+g[a+116>>2];k=e*i*+g[a+136>>2]*+g[a+120>>2];g[a+64>>2]=+g[a+112>>2]*e*f*+g[a+128>>2]+ +g[a+64>>2];g[a+68>>2]=l+ +g[a+68>>2];g[a+72>>2]=k+ +g[a+72>>2];k=e*+g[a+100>>2]*+g[d+68>>2];l=e*+g[a+104>>2]*+g[d+72>>2];g[a+80>>2]=e*+g[a+96>>2]*+g[d+64>>2]+ +g[a+80>>2];g[a+84>>2]=k+ +g[a+84>>2];g[a+88>>2]=l+ +g[a+88>>2]}if(!(c[b+240>>2]|0))return;l=e*+g[d+52>>2]*+g[b+132>>2]*+g[b+116>>2];k=e*+g[d+56>>2]*+g[b+136>>2]*+g[b+120>>2];g[b+64>>2]=+g[b+112>>2]*e*+g[d+48>>2]*+g[b+128>>2]+ +g[b+64>>2];g[b+68>>2]=l+ +g[b+68>>2];g[b+72>>2]=k+ +g[b+72>>2];k=e*+g[b+100>>2]*+g[d+84>>2];l=e*+g[b+104>>2]*+g[d+88>>2];g[b+80>>2]=e*+g[b+96>>2]*+g[d+80>>2]+ +g[b+80>>2];g[b+84>>2]=k+ +g[b+84>>2];g[b+88>>2]=l+ +g[b+88>>2];return}function _f(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0,I=0.0,J=0.0;J=+g[a+4>>2];I=+g[a+20>>2];H=+g[a+36>>2];F=+g[a+8>>2];E=+g[a+24>>2];D=+g[a+40>>2];B=+g[a+12>>2];z=+g[a+28>>2];x=+g[a+44>>2];u=+g[b+4>>2];t=+g[b+20>>2];s=+g[b+36>>2];q=+g[b+8>>2];p=+g[b+24>>2];o=+g[b+40>>2];m=+g[b+12>>2];k=+g[b+28>>2];i=+g[b+44>>2];c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;c[d+12>>2]=0;A=+g[e>>2];y=+g[e+4>>2];w=+g[e+8>>2];g[d+16>>2]=J*A+I*y+H*w;g[d+20>>2]=F*A+E*y+D*w;g[d+24>>2]=B*A+z*y+x*w;g[d+28>>2]=0.0;l=-+g[e>>2];j=-+g[e+4>>2];h=-+g[e+8>>2];g[d+32>>2]=u*l+t*j+s*h;g[d+36>>2]=q*l+p*j+o*h;g[d+40>>2]=m*l+k*j+i*h;g[d+44>>2]=0.0;G=(J*A+I*y+H*w)*+g[a+396>>2];C=(F*A+E*y+D*w)*+g[a+400>>2];v=(B*A+z*y+x*w)*+g[a+404>>2];g[d+48>>2]=G;g[d+52>>2]=C;g[d+56>>2]=v;g[d+60>>2]=0.0;r=(u*l+t*j+s*h)*+g[b+396>>2];n=(q*l+p*j+o*h)*+g[b+400>>2];f=(m*l+k*j+i*h)*+g[b+404>>2];g[d+64>>2]=r;g[d+68>>2]=n;g[d+72>>2]=f;g[d+76>>2]=0.0;g[d+80>>2]=(J*A+I*y+H*w)*G+(F*A+E*y+D*w)*C+(B*A+z*y+x*w)*v+((u*l+t*j+s*h)*r+(q*l+p*j+o*h)*n+(m*l+k*j+i*h)*f);return}function $f(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;k=sa;sa=sa+96|0;g=c[b+8>>2]|0;if((g|0)==(c[b+12>>2]|0)?(j=(g|0)==0?1:g<<1,(g|0)<(j|0)):0){if(!j)i=0;else{c[7182]=(c[7182]|0)+1;g=xb((j<<2|3)+16|0)|0;if(!g)g=0;else{c[(g+4+15&-16)+-4>>2]=g;g=g+4+15&-16}i=g;g=c[b+8>>2]|0}if((g|0)>0){h=0;do{c[i+(h<<2)>>2]=c[(c[b+16>>2]|0)+(h<<2)>>2];h=h+1|0}while((h|0)!=(g|0))}h=c[b+16>>2]|0;if(h){if(a[b+20>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[h+-4>>2]|0);g=c[b+8>>2]|0}c[b+16>>2]=0}a[b+20>>0]=1;c[b+16>>2]=i;c[b+12>>2]=j}c[(c[b+16>>2]|0)+(g<<2)>>2]=d;c[b+8>>2]=g+1;c[k+32>>2]=c[d+4>>2];c[k+32+4>>2]=c[d+4+4>>2];c[k+32+8>>2]=c[d+4+8>>2];c[k+32+12>>2]=c[d+4+12>>2];c[k+32+16>>2]=c[d+20>>2];c[k+32+16+4>>2]=c[d+20+4>>2];c[k+32+16+8>>2]=c[d+20+8>>2];c[k+32+16+12>>2]=c[d+20+12>>2];c[k+32+32>>2]=c[d+36>>2];c[k+32+32+4>>2]=c[d+36+4>>2];c[k+32+32+8>>2]=c[d+36+8>>2];c[k+32+32+12>>2]=c[d+36+12>>2];c[k+32+48>>2]=c[d+52>>2];c[k+32+48+4>>2]=c[d+52+4>>2];c[k+32+48+8>>2]=c[d+52+8>>2];c[k+32+48+12>>2]=c[d+52+12>>2];j=c[d+192>>2]|0;ab[c[(c[j>>2]|0)+8>>2]&127](j,k+32|0,k+16|0,k);j=c[b+68>>2]|0;c[d+188>>2]=Ma[c[(c[j>>2]|0)+8>>2]&3](j,k+16|0,k,c[(c[d+192>>2]|0)+4>>2]|0,d,e,f,c[b+24>>2]|0,0)|0;sa=k;return}function ag(b){b=b|0;var d=0,e=0,f=0;c[b>>2]=6904;if(a[b+272>>0]|0?(d=c[b+204>>2]|0,Pa[c[c[d>>2]>>2]&511](d),d=c[b+204>>2]|0,d|0):0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}d=c[b+196>>2]|0;if(d|0?(Pa[c[c[d>>2]>>2]&511](d),e=c[b+196>>2]|0,e|0):0){c[7183]=(c[7183]|0)+1;Hc(c[e+-4>>2]|0)}if(a[b+273>>0]|0?(f=c[b+200>>2]|0,Pa[c[c[f>>2]>>2]&511](f),f=c[b+200>>2]|0,f|0):0){c[7183]=(c[7183]|0)+1;Hc(c[f+-4>>2]|0)}d=c[b+316>>2]|0;if(d|0){if(a[b+320>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+316>>2]=0}a[b+320>>0]=1;c[b+316>>2]=0;c[b+308>>2]=0;c[b+312>>2]=0;d=c[b+288>>2]|0;if(d|0){if(a[b+292>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+288>>2]=0}a[b+292>>0]=1;c[b+288>>2]=0;c[b+280>>2]=0;c[b+284>>2]=0;d=c[b+240>>2]|0;if(d|0){if(a[b+244>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+240>>2]=0}a[b+244>>0]=1;c[b+240>>2]=0;c[b+232>>2]=0;c[b+236>>2]=0;d=c[b+220>>2]|0;if(d|0){if(a[b+224>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+220>>2]=0}a[b+224>>0]=1;c[b+220>>2]=0;c[b+212>>2]=0;c[b+216>>2]=0;d=c[b+188>>2]|0;if(!d){a[b+192>>0]=1;c[b+188>>2]=0;c[b+180>>2]=0;f=b+184|0;c[f>>2]=0;cj(b);return}if(a[b+192>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+188>>2]=0;a[b+192>>0]=1;c[b+188>>2]=0;c[b+180>>2]=0;f=b+184|0;c[f>>2]=0;cj(b);return}function bg(b,d,e,f,h,i,j,k,l){b=b|0;d=d|0;e=e|0;f=+f;h=+h;i=+i;j=j|0;k=k|0;l=l|0;var m=0.0,n=0.0,o=0.0,p=0;p=os()|0;c[p+8>>2]=0;g[p+12>>2]=0.0;c[p>>2]=10968;c[p+4>>2]=24;c[p+64>>2]=b;c[p+68>>2]=d;g[p+72>>2]=h;g[p+76>>2]=i;g[p+80>>2]=+(b+-1|0);g[p+84>>2]=+(d+-1|0);g[p+88>>2]=f;c[p+92>>2]=e;c[p+96>>2]=k;a[p+100>>0]=l&1;a[p+101>>0]=0;a[p+102>>0]=0;c[p+104>>2]=j;c[p+108>>2]=1065353216;c[p+112>>2]=1065353216;c[p+116>>2]=1065353216;g[p+120>>2]=0.0;switch(j|0){case 0:{g[p+16>>2]=h;c[p+20>>2]=0;c[p+24>>2]=0;g[p+28>>2]=0.0;g[p+32>>2]=i;g[p+36>>2]=+(b+-1|0);g[p+40>>2]=+(d+-1|0);g[p+44>>2]=0.0;n=i;o=h;f=+(b+-1|0);m=0.0;i=+(d+-1|0);h=0.0;break}case 1:{c[p+16>>2]=0;g[p+20>>2]=h;c[p+24>>2]=0;g[p+28>>2]=0.0;g[p+32>>2]=+(b+-1|0);g[p+36>>2]=i;g[p+40>>2]=+(d+-1|0);g[p+44>>2]=0.0;n=+(b+-1|0);o=0.0;f=i;m=h;i=+(d+-1|0);h=0.0;break}case 2:{c[p+16>>2]=0;c[p+20>>2]=0;g[p+24>>2]=h;g[p+28>>2]=0.0;g[p+32>>2]=+(b+-1|0);g[p+36>>2]=+(d+-1|0);g[p+40>>2]=i;g[p+44>>2]=0.0;n=+(b+-1|0);o=0.0;f=+(d+-1|0);m=0.0;break}default:{n=+g[p+32>>2];o=+g[p+16>>2];f=+g[p+36>>2];m=+g[p+20>>2];i=+g[p+40>>2];h=+g[p+24>>2]}}g[p+48>>2]=(o+n)*.5;g[p+52>>2]=(m+f)*.5;g[p+56>>2]=(h+i)*.5;g[p+60>>2]=0.0;return p|0}function cg(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;while(1){m=c[a+12>>2]|0;n=c[m+(((b+d|0)/2|0)<<2)>>2]|0;e=b;f=d;while(1){l=c[(c[n+740>>2]|0)+208>>2]|0;if((l|0)>-1)while(1){i=m+(e<<2)|0;h=c[i>>2]|0;g=c[(c[h+740>>2]|0)+208>>2]|0;if((g|0)<=-1)g=c[(c[h+744>>2]|0)+208>>2]|0;if((g|0)<(l|0))e=e+1|0;else{k=i;break}}else{i=c[(c[n+744>>2]|0)+208>>2]|0;while(1){j=m+(e<<2)|0;h=c[j>>2]|0;g=c[(c[h+740>>2]|0)+208>>2]|0;if((g|0)<=-1)g=c[(c[h+744>>2]|0)+208>>2]|0;if((g|0)<(i|0))e=e+1|0;else{k=j;break}}}if((l|0)>-1)while(1){g=m+(f<<2)|0;i=c[g>>2]|0;h=c[(c[i+740>>2]|0)+208>>2]|0;if((h|0)<=-1)h=c[(c[i+744>>2]|0)+208>>2]|0;if((l|0)<(h|0))f=f+-1|0;else break}else{j=c[(c[n+744>>2]|0)+208>>2]|0;while(1){g=m+(f<<2)|0;i=c[g>>2]|0;h=c[(c[i+740>>2]|0)+208>>2]|0;if((h|0)<=-1)h=c[(c[i+744>>2]|0)+208>>2]|0;if((j|0)<(h|0))f=f+-1|0;else break}}if((e|0)<=(f|0)){m=c[k>>2]|0;c[k>>2]=c[g>>2];c[(c[a+12>>2]|0)+(f<<2)>>2]=m;e=e+1|0;f=f+-1|0}if((e|0)>(f|0))break;m=c[a+12>>2]|0}if((f|0)>(b|0))cg(a,b,f);if((e|0)<(d|0))b=e;else break}return}function dg(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,h=0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0;h=sa;sa=sa+64|0;a[d+84>>0]=0;c[h>>2]=c[b+4>>2];c[h+4>>2]=c[b+4+4>>2];c[h+8>>2]=c[b+4+8>>2];c[h+12>>2]=c[b+4+12>>2];c[h+16>>2]=c[b+20>>2];c[h+16+4>>2]=c[b+20+4>>2];c[h+16+8>>2]=c[b+20+8>>2];c[h+16+12>>2]=c[b+20+12>>2];c[h+32>>2]=c[b+36>>2];c[h+32+4>>2]=c[b+36+4>>2];c[h+32+8>>2]=c[b+36+8>>2];c[h+32+12>>2]=c[b+36+12>>2];c[h+48>>2]=c[b+52>>2];c[h+48+4>>2]=c[b+52+4>>2];c[h+48+8>>2]=c[b+52+8>>2];c[h+48+12>>2]=c[b+52+12>>2];if(e?(f=c[b+480>>2]|0,f|0):0)Va[c[(c[f>>2]|0)+8>>2]&127](f,h);v=+g[d+156>>2];t=+g[h>>2];u=+g[d+160>>2];s=+g[h+4>>2];m=+g[d+164>>2];r=+g[h+8>>2];q=+g[h+16>>2];p=+g[h+20>>2];o=+g[h+24>>2];n=+g[h+32>>2];l=+g[h+36>>2];j=+g[h+40>>2];k=v*q+u*p+m*o+ +g[h+52>>2];i=v*n+u*l+m*j+ +g[h+56>>2];g[d+36>>2]=v*t+u*s+m*r+ +g[h+48>>2];g[d+40>>2]=k;g[d+44>>2]=i;g[d+48>>2]=0.0;i=+g[d+172>>2];k=+g[d+176>>2];m=+g[d+180>>2];g[d+52>>2]=t*i+s*k+r*m;g[d+56>>2]=i*q+k*p+m*o;g[d+60>>2]=i*n+k*l+m*j;g[d+64>>2]=0.0;m=+g[d+188>>2];k=+g[d+192>>2];i=+g[d+196>>2];g[d+68>>2]=t*m+s*k+r*i;g[d+72>>2]=q*m+p*k+o*i;g[d+76>>2]=n*m+l*k+j*i;g[d+80>>2]=0.0;sa=h;return}function eg(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0.0;a:do if(b>>>0<=20)do switch(b|0){case 9:{e=(c[d>>2]|0)+(4-1)&~(4-1);b=c[e>>2]|0;c[d>>2]=e+4;c[a>>2]=b;break a}case 10:{b=(c[d>>2]|0)+(4-1)&~(4-1);e=c[b>>2]|0;c[d>>2]=b+4;c[a>>2]=e;c[a+4>>2]=((e|0)<0)<<31>>31;break a}case 11:{b=(c[d>>2]|0)+(4-1)&~(4-1);e=c[b>>2]|0;c[d>>2]=b+4;c[a>>2]=e;c[a+4>>2]=0;break a}case 12:{f=(c[d>>2]|0)+(8-1)&~(8-1);b=c[f>>2]|0;e=c[f+4>>2]|0;c[d>>2]=f+8;c[a>>2]=b;c[a+4>>2]=e;break a}case 13:{e=(c[d>>2]|0)+(4-1)&~(4-1);f=c[e>>2]|0;c[d>>2]=e+4;c[a>>2]=(f&65535)<<16>>16;c[a+4>>2]=(((f&65535)<<16>>16|0)<0)<<31>>31;break a}case 14:{e=(c[d>>2]|0)+(4-1)&~(4-1);f=c[e>>2]|0;c[d>>2]=e+4;c[a>>2]=f&65535;c[a+4>>2]=0;break a}case 15:{e=(c[d>>2]|0)+(4-1)&~(4-1);f=c[e>>2]|0;c[d>>2]=e+4;c[a>>2]=(f&255)<<24>>24;c[a+4>>2]=(((f&255)<<24>>24|0)<0)<<31>>31;break a}case 16:{e=(c[d>>2]|0)+(4-1)&~(4-1);f=c[e>>2]|0;c[d>>2]=e+4;c[a>>2]=f&255;c[a+4>>2]=0;break a}case 17:{f=(c[d>>2]|0)+(8-1)&~(8-1);g=+h[f>>3];c[d>>2]=f+8;h[a>>3]=g;break a}case 18:{f=(c[d>>2]|0)+(8-1)&~(8-1);g=+h[f>>3];c[d>>2]=f+8;h[a>>3]=g;break a}default:break a}while(0);while(0);return}function fg(a,b,d,e,f,h,i,j,k,l){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;j=+j;k=k|0;l=+l;var m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0;c[a>>2]=c[h>>2];c[a+4>>2]=c[h+4>>2];c[a+8>>2]=c[h+8>>2];c[a+12>>2]=c[h+12>>2];t=+g[e+4>>2];q=+g[a+8>>2];o=+g[e+8>>2];u=+g[a+4>>2];n=+g[a>>2];w=+g[e>>2];x=(t*q-o*u)*+g[b>>2]+ +g[b+4>>2]*(o*n-q*w)+(u*w-t*n)*+g[b+8>>2];v=(t*q-o*u)*+g[b+16>>2]+(o*n-q*w)*+g[b+20>>2]+(u*w-t*n)*+g[b+24>>2];t=(t*q-o*u)*+g[b+32>>2]+(o*n-q*w)*+g[b+36>>2]+(u*w-t*n)*+g[b+40>>2];g[a+16>>2]=x;g[a+20>>2]=v;g[a+24>>2]=t;g[a+28>>2]=0.0;w=+g[f+4>>2];o=+g[f+8>>2];s=+g[f>>2];r=+g[d>>2]*(w*-q-o*-u)+ +g[d+4>>2]*(o*-n-s*-q)+(s*-u-w*-n)*+g[d+8>>2];p=(w*-q-o*-u)*+g[d+16>>2]+(o*-n-s*-q)*+g[d+20>>2]+(s*-u-w*-n)*+g[d+24>>2];n=(w*-q-o*-u)*+g[d+32>>2]+(o*-n-s*-q)*+g[d+36>>2]+(s*-u-w*-n)*+g[d+40>>2];g[a+32>>2]=r;g[a+36>>2]=p;g[a+40>>2]=n;g[a+44>>2]=0.0;w=+g[i>>2]*x;u=+g[i+4>>2]*v;s=+g[i+8>>2]*t;g[a+48>>2]=w;g[a+52>>2]=u;g[a+56>>2]=s;g[a+60>>2]=0.0;q=+g[k>>2]*r;o=+g[k+4>>2]*p;m=+g[k+8>>2]*n;g[a+64>>2]=q;g[a+68>>2]=o;g[a+72>>2]=m;g[a+76>>2]=0.0;g[a+80>>2]=x*w+v*u+t*s+j+l+(r*q+p*o+n*m);return}function gg(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,h=0,i=0.0,j=0,k=0.0,l=0.0,m=0.0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0.0,x=0;v=sa;sa=sa+2048|0;if((e|0)<=0){sa=v;return}f=0;do{g[d+(f<<4)+12>>2]=-999999984306749440.0;f=f+1|0}while((f|0)!=(e|0));o=0;do{if((Fa[c[(c[a>>2]|0)+96>>2]&127](a)|0)>0){p=b+(o<<4)|0;q=b+(o<<4)+4|0;r=b+(o<<4)+8|0;s=d+(o<<4)+12|0;t=d+(o<<4)|0;n=0;do{if(((Fa[c[(c[a>>2]|0)+96>>2]&127](a)|0)-n|0)<128){f=(Fa[c[(c[a>>2]|0)+96>>2]&127](a)|0)-n|0;if((f|0)>0)u=11;else{i=-3402823466385288598117041.0e14;f=-1}}else{f=128;u=11}if((u|0)==11){u=0;h=0;do{Za[c[(c[a>>2]|0)+108>>2]&127](a,h,v+(h<<4)|0);h=h+1|0}while((h|0)!=(f|0));k=+g[p>>2];l=+g[q>>2];m=+g[r>>2];h=-1;j=0;i=-3402823466385288598117041.0e14;do{w=k*+g[v+(j<<4)>>2]+l*+g[v+(j<<4)+4>>2]+m*+g[v+(j<<4)+8>>2];x=w>i;h=x?j:h;i=x?w:i;j=j+1|0}while((j|0)!=(f|0));f=h}if(i>+g[s>>2]){x=v+(f<<4)|0;c[t>>2]=c[x>>2];c[t+4>>2]=c[x+4>>2];c[t+8>>2]=c[x+8>>2];c[t+12>>2]=c[x+12>>2];g[s>>2]=i}n=n+128|0}while((n|0)<(Fa[c[(c[a>>2]|0)+96>>2]&127](a)|0))}o=o+1|0}while((o|0)!=(e|0));sa=v;return}function hg(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;while(1){l=c[a+12>>2]|0;m=c[l+(((b+d|0)/2|0)<<2)>>2]|0;e=b;f=d;while(1){k=c[(c[m+28>>2]|0)+208>>2]|0;if((k|0)>-1)while(1){i=l+(e<<2)|0;h=c[i>>2]|0;g=c[(c[h+28>>2]|0)+208>>2]|0;if((g|0)<=-1)g=c[(c[h+32>>2]|0)+208>>2]|0;if((g|0)<(k|0))e=e+1|0;else{j=i;break}}else{i=c[(c[m+32>>2]|0)+208>>2]|0;while(1){j=l+(e<<2)|0;h=c[j>>2]|0;g=c[(c[h+28>>2]|0)+208>>2]|0;if((g|0)<=-1)g=c[(c[h+32>>2]|0)+208>>2]|0;if((g|0)<(i|0))e=e+1|0;else break}}if((k|0)>-1)while(1){g=l+(f<<2)|0;i=c[g>>2]|0;h=c[(c[i+28>>2]|0)+208>>2]|0;if((h|0)<=-1)h=c[(c[i+32>>2]|0)+208>>2]|0;if((k|0)<(h|0))f=f+-1|0;else break}else{k=c[(c[m+32>>2]|0)+208>>2]|0;while(1){g=l+(f<<2)|0;i=c[g>>2]|0;h=c[(c[i+28>>2]|0)+208>>2]|0;if((h|0)<=-1)h=c[(c[i+32>>2]|0)+208>>2]|0;if((k|0)<(h|0))f=f+-1|0;else break}}if((e|0)<=(f|0)){l=c[j>>2]|0;c[j>>2]=c[g>>2];c[(c[a+12>>2]|0)+(f<<2)>>2]=l;e=e+1|0;f=f+-1|0}if((e|0)>(f|0))break;l=c[a+12>>2]|0}if((f|0)>(b|0))hg(a,b,f);if((e|0)<(d|0))b=e;else break}return}function ig(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,h=0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0,r=0,s=0.0,t=0,u=0;t=sa;sa=sa+16|0;h=c[a+52>>2]|0;s=+g[a+28+(((h+2|0)%3|0)<<2)>>2];if((e|0)<=0){sa=t;return}f=0;while(1){c[t>>2]=0;c[t+4>>2]=0;c[t+8>>2]=0;c[t+12>>2]=0;c[t+(h<<2)>>2]=c[a+28+(h<<2)>>2];h=b+(f<<4)|0;q=b+(f<<4)+4|0;r=b+(f<<4)+8|0;l=s*+g[h>>2]+ +g[t>>2];m=s*+g[q>>2]+ +g[t+4>>2];n=s*+g[r>>2]+ +g[t+8>>2];o=+va[c[(c[a>>2]|0)+48>>2]&15](a);i=+g[h>>2];j=+g[q>>2];k=+g[r>>2];if(i*(l-o*i)+j*(m-o*j)+k*(n-o*k)>-999999984306749440.0){g[d+(f<<4)>>2]=l-o*i;g[d+(f<<4)+4>>2]=m-o*j;g[d+(f<<4)+8>>2]=n-o*k;g[d+(f<<4)+12>>2]=0.0;p=i*(l-o*i)+j*(m-o*j)+k*(n-o*k);i=+g[h>>2];j=+g[q>>2];k=+g[r>>2]}else p=-999999984306749440.0;c[t>>2]=0;c[t+4>>2]=0;c[t+8>>2]=0;c[t+12>>2]=0;u=c[a+52>>2]|0;g[t+(u<<2)>>2]=-+g[a+28+(u<<2)>>2];o=s*i+ +g[t>>2];n=s*j+ +g[t+4>>2];l=s*k+ +g[t+8>>2];m=+va[c[(c[a>>2]|0)+48>>2]&15](a);k=+g[h>>2];j=+g[q>>2];i=+g[r>>2];if(k*(o-m*k)+j*(n-m*j)+i*(l-m*i)>p){g[d+(f<<4)>>2]=o-m*k;g[d+(f<<4)+4>>2]=n-m*j;g[d+(f<<4)+8>>2]=l-m*i;g[d+(f<<4)+12>>2]=0.0}f=f+1|0;if((f|0)==(e|0))break;h=c[a+52>>2]|0}sa=t;return}function jg(a,b,c,d,e,f,h){a=a|0;b=+b;c=+c;d=+d;e=e|0;f=+f;h=h|0;var i=0.0,j=0.0,k=0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0;k=sa;sa=sa+16|0;j=c*f+ +g[a+52>>2];i=d*f+ +g[a+56>>2];g[h+48>>2]=b*f+ +g[a+48>>2];g[h+52>>2]=j;g[h+56>>2]=i;g[h+60>>2]=0.0;i=+g[e>>2];j=+g[e+4>>2];d=+g[e+8>>2];b=+x(+(i*i+j*j+d*d));b=b*f>.7853981852531433?.7853981852531433/f:b;if(b<1.0000000474974513e-03)c=f*.5-b*f*f*f*.02083333395421505*b;else c=+A(+(b*.5*f))/b;m=d*c;n=j*c;o=i*c;q=+z(+(b*f*.5));Og(a,k);b=+g[k>>2];p=+g[k+12>>2];i=+g[k+8>>2];f=+g[k+4>>2];c=1.0/+x(+((q*p-o*b-n*f-m*i)*(q*p-o*b-n*f-m*i)+((m*p+q*i+o*f-n*b)*(m*p+q*i+o*f-n*b)+((q*b+o*p+n*i-m*f)*(q*b+o*p+n*i-m*f)+(m*b+(n*p+q*f)-o*i)*(m*b+(n*p+q*f)-o*i)))));d=(q*b+o*p+n*i-m*f)*c;j=(m*b+(n*p+q*f)-o*i)*c;l=(m*p+q*i+o*f-n*b)*c;c=(q*p-o*b-n*f-m*i)*c;i=d*(2.0/(c*c+(l*l+(d*d+j*j))));f=j*(2.0/(c*c+(l*l+(d*d+j*j))));b=l*(2.0/(c*c+(l*l+(d*d+j*j))));g[h>>2]=1.0-(j*f+l*b);g[h+4>>2]=d*f-c*b;g[h+8>>2]=d*b+c*f;g[h+12>>2]=0.0;g[h+16>>2]=d*f+c*b;g[h+20>>2]=1.0-(d*i+l*b);g[h+24>>2]=j*b-c*i;g[h+28>>2]=0.0;g[h+32>>2]=d*b-c*f;g[h+36>>2]=j*b+c*i;g[h+40>>2]=1.0-(d*i+j*f);g[h+44>>2]=0.0;sa=k;return}function kg(b,d){b=b|0;d=d|0;var e=0;e=ts()|0;_i(e,5,b);c[e>>2]=7460;c[e+300>>2]=c[d>>2];c[e+300+4>>2]=c[d+4>>2];c[e+300+8>>2]=c[d+8>>2];c[e+300+12>>2]=c[d+12>>2];c[e+316>>2]=c[d+16>>2];c[e+316+4>>2]=c[d+16+4>>2];c[e+316+8>>2]=c[d+16+8>>2];c[e+316+12>>2]=c[d+16+12>>2];c[e+332>>2]=c[d+32>>2];c[e+332+4>>2]=c[d+32+4>>2];c[e+332+8>>2]=c[d+32+8>>2];c[e+332+12>>2]=c[d+32+12>>2];c[e+348>>2]=c[d+48>>2];c[e+348+4>>2]=c[d+48+4>>2];c[e+348+8>>2]=c[d+48+8>>2];c[e+348+12>>2]=c[d+48+12>>2];a[e+527>>0]=0;c[e+364>>2]=c[e+300>>2];c[e+364+4>>2]=c[e+300+4>>2];c[e+364+8>>2]=c[e+300+8>>2];c[e+364+12>>2]=c[e+300+12>>2];c[e+380>>2]=c[e+316>>2];c[e+380+4>>2]=c[e+316+4>>2];c[e+380+8>>2]=c[e+316+8>>2];c[e+380+12>>2]=c[e+316+12>>2];c[e+396>>2]=c[e+332>>2];c[e+396+4>>2]=c[e+332+4>>2];c[e+396+8>>2]=c[e+332+8>>2];c[e+396+12>>2]=c[e+332+12>>2];a[e+524>>0]=0;a[e+525>>0]=0;a[e+526>>0]=0;a[e+552>>0]=0;c[e+412>>2]=0;c[e+412+4>>2]=0;c[e+412+8>>2]=0;c[e+412+12>>2]=0;g[e+572>>2]=-1.0;g[e+444>>2]=999999984306749440.0;g[e+448>>2]=999999984306749440.0;g[e+452>>2]=999999984306749440.0;g[e+428>>2]=1.0;g[e+432>>2]=.30000001192092896;g[e+436>>2]=1.0;g[e+440>>2]=.009999999776482582;g[e+456>>2]=.05000000074505806;c[e+592>>2]=0;g[e+596>>2]=0.0;g[e+600>>2]=.699999988079071;g[e+604>>2]=0.0;return e|0}function lg(a,b,d,e,f,h,i){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;var k=0.0,l=0.0,m=0,n=0.0,o=0,p=0.0,q=0,r=0.0,s=0;q=sa;sa=sa+16|0;g[e>>2]=3402823466385288598117041.0e14;g[f>>2]=-3402823466385288598117041.0e14;o=c[a+96>>2]|0;if((o|0)>0){m=0;do{s=c[a+104>>2]|0;r=+g[s+(m<<4)>>2]*+g[a+12>>2];p=+g[s+(m<<4)+4>>2]*+g[a+16>>2];n=+g[s+(m<<4)+8>>2]*+g[a+20>>2];k=r*+g[b>>2]+p*+g[b+4>>2]+n*+g[b+8>>2]+ +g[b+48>>2];l=r*+g[b+16>>2]+p*+g[b+20>>2]+n*+g[b+24>>2]+ +g[b+52>>2];n=r*+g[b+32>>2]+p*+g[b+36>>2]+n*+g[b+40>>2]+ +g[b+56>>2];p=k*+g[d>>2]+l*+g[d+4>>2]+n*+g[d+8>>2];if(p<+g[e>>2]){g[e>>2]=p;g[h>>2]=k;g[h+4>>2]=l;g[h+8>>2]=n;g[h+12>>2]=0.0}if(p>+g[f>>2]){g[f>>2]=p;g[i>>2]=k;g[i+4>>2]=l;g[i+8>>2]=n;g[i+12>>2]=0.0}m=m+1|0}while((m|0)!=(o|0));r=+g[f>>2];l=r;m=(g[j>>2]=r,c[j>>2]|0)}else{l=-3402823466385288598117041.0e14;m=-8388609}k=+g[e>>2];if(!(k>l)){sa=q;return}c[e>>2]=m;g[f>>2]=k;c[q>>2]=c[h>>2];c[q+4>>2]=c[h+4>>2];c[q+8>>2]=c[h+8>>2];c[q+12>>2]=c[h+12>>2];c[h>>2]=c[i>>2];c[h+4>>2]=c[i+4>>2];c[h+8>>2]=c[i+8>>2];c[h+12>>2]=c[i+12>>2];c[i>>2]=c[q>>2];c[i+4>>2]=c[q+4>>2];c[i+8>>2]=c[q+8>>2];c[i+12>>2]=c[q+12>>2];sa=q;return}function mg(a,b){a=a|0;b=b|0;var d=0,e=0;d=sa;sa=sa+48|0;e=(c[a+48>>2]|0)+4|0;c[e>>2]=c[b>>2];c[e+4>>2]=c[b+4>>2];c[e+8>>2]=c[b+8>>2];c[e+12>>2]=c[b+12>>2];b=d+32+4|0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;g[d+32>>2]=1.0;Za[c[(c[a>>2]|0)+68>>2]&127](d+16|0,a,d+32|0);g[a+32>>2]=+g[d+16>>2]+ +g[a+12>>2];g[d+32>>2]=-1.0;Za[c[(c[a>>2]|0)+68>>2]&127](d,a,d+32|0);c[d+16>>2]=c[d>>2];c[d+16+4>>2]=c[d+4>>2];c[d+16+8>>2]=c[d+8>>2];c[d+16+12>>2]=c[d+12>>2];g[a+16>>2]=+g[d+16>>2]-+g[a+12>>2];c[d+32>>2]=0;c[d+32+4>>2]=0;c[d+32+8>>2]=0;c[d+32+12>>2]=0;g[b>>2]=1.0;Za[c[(c[a>>2]|0)+68>>2]&127](d+16|0,a,d+32|0);g[a+36>>2]=+g[d+16+4>>2]+ +g[a+12>>2];g[b>>2]=-1.0;Za[c[(c[a>>2]|0)+68>>2]&127](d,a,d+32|0);c[d+16>>2]=c[d>>2];c[d+16+4>>2]=c[d+4>>2];c[d+16+8>>2]=c[d+8>>2];c[d+16+12>>2]=c[d+12>>2];g[a+20>>2]=+g[d+16+4>>2]-+g[a+12>>2];c[d+32>>2]=0;c[d+32+4>>2]=0;c[d+32+8>>2]=0;c[d+32+12>>2]=0;g[d+32+8>>2]=1.0;Za[c[(c[a>>2]|0)+68>>2]&127](d+16|0,a,d+32|0);g[a+40>>2]=+g[d+16+8>>2]+ +g[a+12>>2];g[d+32+8>>2]=-1.0;Za[c[(c[a>>2]|0)+68>>2]&127](d,a,d+32|0);c[d+16>>2]=c[d>>2];c[d+16+4>>2]=c[d+4>>2];c[d+16+8>>2]=c[d+8>>2];c[d+16+12>>2]=c[d+12>>2];g[a+24>>2]=+g[d+16+8>>2]-+g[a+12>>2];sa=d;return}function ng(b,d,e){b=b|0;d=+d;e=e|0;var f=0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0;f=c[b+8>>2]|0;if(f|0?(c[f+204>>2]&3|0)==0:0){if((c[f+216>>2]&-2|0)!=4)c[f+216>>2]=1;g[f+220>>2]=0.0}f=c[b+12>>2]|0;if(f|0?(c[f+204>>2]&3|0)==0:0){if((c[f+216>>2]&-2|0)!=4)c[f+216>>2]=1;g[f+220>>2]=0.0}f=c[b+20>>2]|0;if(f|0?(c[f+204>>2]&3|0)==0:0){if((c[f+216>>2]&-2|0)!=4)c[f+216>>2]=1;g[f+220>>2]=0.0}f=c[b+24>>2]|0;if(f|0?(c[f+204>>2]&3|0)==0:0){if((c[f+216>>2]&-2|0)!=4)c[f+216>>2]=1;g[f+220>>2]=0.0}f=c[b+156>>2]|0;c[b+156>>2]=f+1;a[b+152>>0]=(f|0)>=(c[b+160>>2]|0)&1;if(f|0){c[b+72>>2]=0;c[b+72+4>>2]=0;c[b+72+8>>2]=0;c[b+72+12>>2]=0;c[b+72+16>>2]=0;c[b+72+20>>2]=0;c[b+72+24>>2]=0;c[b+72+28>>2]=0;return}j=+g[b+64>>2];i=1.0/d*+g[b+72>>2]*j;h=1.0/d*j*+g[b+76>>2];d=1.0/d*j*+g[b+80>>2];g[b+72>>2]=i;g[b+76>>2]=h;g[b+80>>2]=d;g[b+84>>2]=0.0;j=+g[b+68>>2];if(j>0.0){l=j*i*+g[b+120>>2]+j*h*+g[b+124>>2]+j*d*+g[b+128>>2];k=j*i*+g[b+136>>2]+j*h*+g[b+140>>2]+j*d*+g[b+144>>2];g[b+88>>2]=j*i*+g[b+104>>2]+j*h*+g[b+108>>2]+j*d*+g[b+112>>2];g[b+92>>2]=l;g[b+96>>2]=k;g[b+100>>2]=0.0;g[b+72>>2]=(1.0-j)*i;g[b+76>>2]=(1.0-j)*h;g[b+80>>2]=(1.0-j)*d;i=(1.0-j)*i;h=(1.0-j)*h;d=(1.0-j)*d}g[b+72>>2]=1.0/+(e|0)*i;g[b+76>>2]=1.0/+(e|0)*h;g[b+80>>2]=1.0/+(e|0)*d;return}function og(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var h=0.0,i=0.0,j=0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0;j=sa;sa=sa+48|0;m=+g[d>>2];n=+g[d+4>>2];l=+g[d+8>>2];o=m*+g[b+4>>2]+n*+g[b+20>>2]+l*+g[b+36>>2];p=m*+g[b+8>>2]+n*+g[b+24>>2]+l*+g[b+40>>2];g[j+32>>2]=+g[b>>2]*m+ +g[b+16>>2]*n+ +g[b+32>>2]*l;g[j+32+4>>2]=o;g[j+32+8>>2]=p;g[j+32+12>>2]=0.0;Za[c[(c[a>>2]|0)+64>>2]&127](j+16|0,a,j+32|0);p=+g[j+16>>2];o=+g[j+16+4>>2];l=+g[j+16+8>>2];n=p*+g[b>>2]+o*+g[b+4>>2]+l*+g[b+8>>2]+ +g[b+48>>2];m=p*+g[b+16>>2]+o*+g[b+20>>2]+l*+g[b+24>>2]+ +g[b+52>>2];l=p*+g[b+32>>2]+o*+g[b+36>>2]+l*+g[b+40>>2]+ +g[b+56>>2];q=c[(c[a>>2]|0)+64>>2]|0;o=-+g[j+32+4>>2];p=-+g[j+32+8>>2];g[j>>2]=-+g[j+32>>2];g[j+4>>2]=o;g[j+8>>2]=p;g[j+12>>2]=0.0;Za[q&127](j+16|0,a,j);p=+g[j+16>>2];o=+g[j+16+4>>2];h=+g[j+16+8>>2];k=p*+g[b>>2]+o*+g[b+4>>2]+h*+g[b+8>>2]+ +g[b+48>>2];i=p*+g[b+16>>2]+o*+g[b+20>>2]+h*+g[b+24>>2]+ +g[b+52>>2];h=p*+g[b+32>>2]+o*+g[b+36>>2]+h*+g[b+40>>2]+ +g[b+56>>2];g[e>>2]=n*+g[d>>2]+m*+g[d+4>>2]+l*+g[d+8>>2];h=k*+g[d>>2]+i*+g[d+4>>2]+h*+g[d+8>>2];g[f>>2]=h;i=+g[e>>2];if(!(i>h)){sa=j;return}g[e>>2]=h;g[f>>2]=i;sa=j;return}function pg(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;n=sa;sa=sa+16|0;j=c[a+12>>2]|0;k=c[j+(((d+b|0)/2|0)<<4)>>2]|0;l=c[j+(((d+b|0)/2|0)<<4)+4>>2]|0;m=c[j+(((d+b|0)/2|0)<<4)+8>>2]|0;f=d;e=b;while(1){while(1){i=j+(e<<4)|0;g=c[j+(e<<4)+4>>2]|0;if((g|0)>=(l|0)){if((g|0)!=(l|0))break;g=c[i>>2]|0;if((g|0)>=(k|0)){if((g|0)!=(k|0))break;if((c[j+(e<<4)+8>>2]|0)>=(m|0))break}}e=e+1|0}while(1){h=j+(f<<4)|0;g=c[j+(f<<4)+4>>2]|0;if((l|0)>=(g|0)){if((l|0)!=(g|0))break;g=c[h>>2]|0;if((k|0)>=(g|0)){if((k|0)!=(g|0))break;if((m|0)>=(c[j+(f<<4)+8>>2]|0))break}}f=f+-1|0}if((e|0)<=(f|0)){c[n>>2]=c[i>>2];c[n+4>>2]=c[i+4>>2];c[n+8>>2]=c[i+8>>2];c[n+12>>2]=c[i+12>>2];c[i>>2]=c[h>>2];c[i+4>>2]=c[h+4>>2];c[i+8>>2]=c[h+8>>2];c[i+12>>2]=c[h+12>>2];j=(c[a+12>>2]|0)+(f<<4)|0;c[j>>2]=c[n>>2];c[j+4>>2]=c[n+4>>2];c[j+8>>2]=c[n+8>>2];c[j+12>>2]=c[n+12>>2];f=f+-1|0;e=e+1|0}if((e|0)>(f|0))break;j=c[a+12>>2]|0}if((f|0)>(b|0))pg(a,b,f);if((e|0)>=(d|0)){sa=n;return}pg(a,e,d);sa=n;return}function qg(a){a=a|0;var b=0,d=0,e=0.0,f=0.0,h=0.0,i=0,j=0;i=c[a+28>>2]|0;e=0.0;f=0.0;h=0.0;j=0;a:while(1){switch(j&2147483647|0){case 0:{e=+g[a+80>>2]+ +g[a+64>>2];f=+g[a+84>>2]+ +g[a+68>>2];h=+g[a+88>>2]+ +g[a+72>>2];break}case 1:{e=+g[a+80>>2]+ +g[a+64>>2];f=+g[a+84>>2]+ +g[a+68>>2];h=+g[a+72>>2]-+g[a+88>>2];break}case 2:{e=+g[a+80>>2]+ +g[a+64>>2];f=+g[a+68>>2]-+g[a+84>>2];h=+g[a+88>>2]+ +g[a+72>>2];break}case 3:{e=+g[a+80>>2]+ +g[a+64>>2];f=+g[a+68>>2]-+g[a+84>>2];h=+g[a+72>>2]-+g[a+88>>2];break}case 4:{e=+g[a+64>>2]-+g[a+80>>2];f=+g[a+84>>2]+ +g[a+68>>2];h=+g[a+88>>2]+ +g[a+72>>2];break}case 5:{e=+g[a+64>>2]-+g[a+80>>2];f=+g[a+84>>2]+ +g[a+68>>2];h=+g[a+72>>2]-+g[a+88>>2];break}case 6:{e=+g[a+64>>2]-+g[a+80>>2];f=+g[a+68>>2]-+g[a+84>>2];h=+g[a+88>>2]+ +g[a+72>>2];break}case 7:{e=+g[a+64>>2]-+g[a+80>>2];f=+g[a+68>>2]-+g[a+84>>2];h=+g[a+72>>2]-+g[a+88>>2];break}default:{}}if((i|0)>0){d=c[a+36>>2]|0;b=0;do{if(+g[d+(b*36|0)+32>>2]+(e*+g[d+(b*36|0)+20>>2]+f*+g[d+(b*36|0)+24>>2]+h*+g[d+(b*36|0)+28>>2])>0.0){b=0;d=16;break a}b=b+1|0}while((b|0)<(i|0))}j=j+1|0;if(j>>>0>=8){b=1;d=16;break}}if((d|0)==16)return b|0;return 0}function rg(a,b,d,e,f,h,i){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;var k=0.0,l=0.0,m=0,n=0.0,o=0.0,p=0,q=0,r=0.0,s=0;q=sa;sa=sa+16|0;g[e>>2]=3402823466385288598117041.0e14;g[f>>2]=-3402823466385288598117041.0e14;p=c[a+8>>2]|0;if((p|0)>0){m=0;do{s=c[a+16>>2]|0;r=+g[s+(m<<4)>>2];o=+g[s+(m<<4)+4>>2];n=+g[s+(m<<4)+8>>2];k=r*+g[b>>2]+o*+g[b+4>>2]+n*+g[b+8>>2]+ +g[b+48>>2];l=r*+g[b+16>>2]+o*+g[b+20>>2]+n*+g[b+24>>2]+ +g[b+52>>2];n=r*+g[b+32>>2]+o*+g[b+36>>2]+n*+g[b+40>>2]+ +g[b+56>>2];o=k*+g[d>>2]+l*+g[d+4>>2]+n*+g[d+8>>2];if(o<+g[e>>2]){g[e>>2]=o;g[h>>2]=k;g[h+4>>2]=l;g[h+8>>2]=n;g[h+12>>2]=0.0}if(o>+g[f>>2]){g[f>>2]=o;g[i>>2]=k;g[i+4>>2]=l;g[i+8>>2]=n;g[i+12>>2]=0.0}m=m+1|0}while((m|0)!=(p|0));r=+g[f>>2];l=r;m=(g[j>>2]=r,c[j>>2]|0)}else{l=-3402823466385288598117041.0e14;m=-8388609}k=+g[e>>2];if(!(k>l)){sa=q;return}c[e>>2]=m;g[f>>2]=k;c[q>>2]=c[h>>2];c[q+4>>2]=c[h+4>>2];c[q+8>>2]=c[h+8>>2];c[q+12>>2]=c[h+12>>2];c[h>>2]=c[i>>2];c[h+4>>2]=c[i+4>>2];c[h+8>>2]=c[i+8>>2];c[h+12>>2]=c[i+12>>2];c[i>>2]=c[q>>2];c[i+4>>2]=c[q+4>>2];c[i+8>>2]=c[q+8>>2];c[i+12>>2]=c[q+12>>2];sa=q;return}function sg(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0,v=0,w=0,x=0,y=0;if((c[a>>2]|0)==(b|0)){c[a>>2]=0;a=0;return a|0}e=c[b+32>>2]|0;d=c[e+32>>2]|0;b=c[e+36+(((c[e+40>>2]|0)!=(b|0)&1)<<2)>>2]|0;if(!d){c[a>>2]=b;c[b+32>>2]=0;d=c[a+4>>2]|0;if(!d)d=b;else{c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0);d=c[a>>2]|0}c[a+4>>2]=e;a=d;return a|0}c[d+36+(((c[d+40>>2]|0)==(e|0)&1)<<2)>>2]=b;c[b+32>>2]=d;b=c[a+4>>2]|0;if(b|0){c[7183]=(c[7183]|0)+1;Hc(c[b+-4>>2]|0)}c[a+4>>2]=e;do{q=+g[d>>2];x=d+4|0;o=+g[x>>2];v=d+8|0;m=+g[v>>2];y=d+16|0;s=+g[y>>2];w=d+20|0;k=+g[w>>2];e=d+24|0;i=+g[e>>2];u=c[d+36>>2]|0;b=c[d+40>>2]|0;t=+g[u>>2];p=+g[b>>2];p=t>2]=p;t=+g[u+16>>2];r=+g[b+16>>2];r=t>r?t:r;g[y>>2]=r;t=+g[u+4>>2];n=+g[b+4>>2];n=t>2]=n;t=+g[u+20>>2];j=+g[b+20>>2];j=t>j?t:j;g[w>>2]=j;t=+g[u+8>>2];l=+g[b+8>>2];l=t>2]=l;t=+g[u+24>>2];h=+g[b+24>>2];h=t>h?t:h;g[e>>2]=h;if(!(s!=r|(q!=p|o!=n|m!=l))?!(k!=j|i!=h):0){f=14;break}d=c[d+32>>2]|0}while((d|0)!=0);if((f|0)==14)return d|0;y=c[a>>2]|0;return y|0}function tg(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var h=0,i=0,j=0.0,k=0.0,l=0,m=0,n=0.0,o=0.0,p=0;m=sa;sa=sa+16|0;if((f|0)>-3){c[7182]=(c[7182]|0)+1;a=xb((f+3<<4|3)+16|0)|0;if(!a)l=0;else{c[(a+4+15&-16)+-4>>2]=a;l=a+4+15&-16}a=0;do{i=l+(a<<4)|0;c[i>>2]=c[m>>2];c[i+4>>2]=c[m+4>>2];c[i+8>>2]=c[m+8>>2];c[i+12>>2]=c[m+12>>2];a=a+1|0}while((a|0)!=(f+3|0));h=0;i=l;while(1){if(!h)j=0.0;else{a=h;j=0.0;k=.5;while(1){j=(a&1|0)==0?j:j+k;a=1?a>>1:a;if(!a)break;else k=k*.5}}k=j*2.0+-1.0;o=(+(h<<1|0)*3.1415927410125732+3.1415927410125732)/+(f+3|0);n=+x(+(1.0-k*k));j=+A(+o)*n;g[i>>2]=+z(+o)*n;g[i+4>>2]=j;g[i+8>>2]=k;g[i+12>>2]=0.0;h=h+1|0;if((h|0)==(f+3|0))break;else i=i+16|0}a=0;do{p=l+(a<<4)|0;h=l+(a<<4)+4|0;i=l+(a<<4)+8|0;n=+g[h>>2]*+g[e+4>>2]+ +g[d+4>>2];o=+g[i>>2]*+g[e+8>>2]+ +g[d+8>>2];g[p>>2]=+g[p>>2]*+g[e>>2]+ +g[d>>2];g[h>>2]=n;g[i>>2]=o;g[l+(a<<4)+12>>2]=0.0;a=a+1|0}while((a|0)<(f+3|0));i=l;h=l}else{i=0;h=0}a=Jc(b,i,f+3|0,1)|0;if((i|0)==0|(h|0)==0){sa=m;return a|0}c[7183]=(c[7183]|0)+1;Hc(c[h+-4>>2]|0);sa=m;return a|0}function ug(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;l=sa;sa=sa+32|0;j=(a[b+28>>0]|0)!=0;k=j?e:d;j=j?d:e;h=c[k+4>>2]|0;i=c[h+16>>2]|0;g=c[b+12>>2]|0;if((g|0)<(i|0)){if((c[b+16>>2]|0)<(i|0)){if(!i){d=0;f=g}else{c[7182]=(c[7182]|0)+1;d=xb((i<<2|3)+16|0)|0;if(!d)d=0;else{c[(d+4+15&-16)+-4>>2]=d;d=d+4+15&-16}f=c[b+12>>2]|0}if((f|0)>0){e=0;do{c[d+(e<<2)>>2]=c[(c[b+20>>2]|0)+(e<<2)>>2];e=e+1|0}while((e|0)!=(f|0))}e=c[b+20>>2]|0;if(e|0){if(a[b+24>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[e+-4>>2]|0)}c[b+20>>2]=0}a[b+24>>0]=1;c[b+20>>2]=d;c[b+16>>2]=i;e=b+20|0}else e=b+20|0;d=g;do{c[(c[e>>2]|0)+(d<<2)>>2]=0;d=d+1|0}while((d|0)!=(i|0))}c[b+12>>2]=i;if((i|0)<=0){sa=l;return}d=0;do{if(!(c[h+64>>2]|0)){e=c[(c[h+24>>2]|0)+(d*80|0)+64>>2]|0;f=c[k+8>>2]|0;g=c[k+12>>2]|0;c[l>>2]=k;c[l+4>>2]=e;c[l+8>>2]=f;c[l+12>>2]=g;c[l+16>>2]=-1;c[l+20>>2]=d;g=c[b+4>>2]|0;g=Ka[c[(c[g>>2]|0)+8>>2]&31](g,l,j,c[b+32>>2]|0)|0;c[(c[b+20>>2]|0)+(d<<2)>>2]=g}else c[(c[b+20>>2]|0)+(d<<2)>>2]=0;d=d+1|0}while((d|0)!=(i|0));sa=l;return}function vg(a,b,e){a=a|0;b=b|0;e=e|0;ih(a,b,e)|0;c[b+52>>2]=c[a+48>>2];c[b+56>>2]=c[a+52>>2];c[b+60>>2]=c[a+56>>2];c[b+64>>2]=c[a+60>>2];c[b+68>>2]=c[a+64>>2];c[b+72>>2]=c[a+68>>2];c[b+76>>2]=c[a+72>>2];c[b+80>>2]=c[a+76>>2];c[b+84>>2]=c[a+80>>2];c[b+88>>2]=c[a+84>>2];c[b+92>>2]=c[a+88>>2];c[b+96>>2]=c[a+92>>2];c[b+100>>2]=c[a+96>>2];c[b+104>>2]=c[a+100>>2];c[b+108>>2]=c[a+104>>2];c[b+112>>2]=c[a+108>>2];c[b+116>>2]=c[a+112>>2];c[b+120>>2]=c[a+116>>2];c[b+124>>2]=c[a+120>>2];c[b+128>>2]=c[a+124>>2];c[b+132>>2]=c[a+128>>2];c[b+136>>2]=c[a+132>>2];c[b+140>>2]=c[a+136>>2];c[b+144>>2]=c[a+140>>2];c[b+148>>2]=c[a+144>>2];c[b+152>>2]=c[a+148>>2];c[b+156>>2]=c[a+152>>2];c[b+160>>2]=c[a+156>>2];c[b+164>>2]=c[a+160>>2];c[b+168>>2]=c[a+164>>2];c[b+172>>2]=c[a+168>>2];c[b+176>>2]=c[a+172>>2];c[b+228>>2]=c[a+868>>2];c[b+212>>2]=c[a+872>>2];c[b+196>>2]=c[a+680>>2];c[b+180>>2]=c[a+696>>2];c[b+232>>2]=c[a+932>>2];c[b+216>>2]=c[a+936>>2];c[b+200>>2]=c[a+684>>2];c[b+184>>2]=c[a+700>>2];c[b+236>>2]=c[a+996>>2];c[b+220>>2]=c[a+1e3>>2];c[b+204>>2]=c[a+688>>2];c[b+188>>2]=c[a+704>>2];c[b+244>>2]=d[a+1300>>0];c[b+248>>2]=d[a+1301>>0];return 16760}function wg(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=c[b+32>>2]|0;if(!e)f=0;else f=c[b+40>>2]|0;i=c[b+52>>2]|0;if(!i)g=0;else g=c[b+60>>2]|0;d=c[b+72>>2]|0;if(!d)h=0;else h=c[b+80>>2]|0;j=c[b+8>>2]|0;+Ea[c[(c[j>>2]|0)+12>>2]&3](j,f,e,g,i,h,d,c[b+4>>2]|0,c[b+20>>2]|0,c[b+24>>2]|0);d=c[b+32>>2]|0;if((d|0)<0){if((c[b+36>>2]|0)<0){e=c[b+40>>2]|0;if(e|0){if(a[b+44>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[e+-4>>2]|0)}c[b+40>>2]=0}a[b+44>>0]=1;c[b+40>>2]=0;c[b+36>>2]=0}do{c[(c[b+40>>2]|0)+(d<<2)>>2]=0;d=d+1|0}while((d|0)!=0)}c[b+32>>2]=0;d=c[b+52>>2]|0;if((d|0)<0){if((c[b+56>>2]|0)<0){e=c[b+60>>2]|0;if(e|0){if(a[b+64>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[e+-4>>2]|0)}c[b+60>>2]=0}a[b+64>>0]=1;c[b+60>>2]=0;c[b+56>>2]=0}do{c[(c[b+60>>2]|0)+(d<<2)>>2]=0;d=d+1|0}while((d|0)!=0)}c[b+52>>2]=0;d=c[b+72>>2]|0;if((d|0)>=0){c[b+72>>2]=0;return}if((c[b+76>>2]|0)<0){e=c[b+80>>2]|0;if(e|0){if(a[b+84>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[e+-4>>2]|0)}c[b+80>>2]=0}a[b+84>>0]=1;c[b+80>>2]=0;c[b+76>>2]=0}do{c[(c[b+80>>2]|0)+(d<<2)>>2]=0;d=d+1|0}while((d|0)!=0);c[b+72>>2]=0;return}function xg(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;c[7182]=(c[7182]|0)+1;d=xb(39)|0;if(!d)g=0;else{c[(d+4+15&-16)+-4>>2]=d;g=d+4+15&-16}h=g;c[g>>2]=0;c[g+4>>2]=0;c[g+8>>2]=0;c[g+12>>2]=0;c[g+16>>2]=0;if((c[b+872>>2]|0)>0){i=c[c[b+880>>2]>>2]|0;c[g>>2]=c[i>>2];c[g+4>>2]=c[i+4>>2];c[g+8>>2]=c[i+8>>2];c[g+12>>2]=c[i+12>>2];c[g+16>>2]=c[i+16>>2]}else{c[g>>2]=0;c[g+4>>2]=0;c[g+8>>2]=0;c[g+12>>2]=0;c[g+16>>2]=0}e=c[b+872>>2]|0;if((e|0)!=(c[b+876>>2]|0)){i=e;f=b+880|0;f=c[f>>2]|0;f=f+(i<<2)|0;c[f>>2]=h;i=i+1|0;c[b+872>>2]=i;return g|0}i=(e|0)==0?1:e<<1;if((e|0)>=(i|0)){i=e;f=b+880|0;f=c[f>>2]|0;f=f+(i<<2)|0;c[f>>2]=h;i=i+1|0;c[b+872>>2]=i;return g|0}if(!i)d=0;else{c[7182]=(c[7182]|0)+1;d=xb((i<<2|3)+16|0)|0;if(!d)d=0;else{c[(d+4+15&-16)+-4>>2]=d;d=d+4+15&-16}e=c[b+872>>2]|0}if((e|0)>0){f=0;do{c[d+(f<<2)>>2]=c[(c[b+880>>2]|0)+(f<<2)>>2];f=f+1|0}while((f|0)!=(e|0))}f=c[b+880>>2]|0;if(f){if(a[b+884>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[f+-4>>2]|0);e=c[b+872>>2]|0}c[b+880>>2]=0}a[b+884>>0]=1;c[b+880>>2]=d;c[b+876>>2]=i;i=e;f=b+880|0;f=c[f>>2]|0;f=f+(i<<2)|0;c[f>>2]=h;i=i+1|0;c[b+872>>2]=i;return g|0}function yg(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;e=c[b+4>>2]|0;if((e|0)==(c[b+8>>2]|0)){Om(b,(e|0)==0?1:e<<1);e=c[b+4>>2]|0}o=c[b+12>>2]|0;j=o+(e*36|0)+16|0;a[j>>0]=1;k=o+(e*36|0)+12|0;c[k>>2]=0;l=o+(e*36|0)+4|0;c[l>>2]=0;m=o+(e*36|0)+8|0;c[m>>2]=0;p=c[d+4>>2]|0;if((p|0)<=0){c[l>>2]=p;p=o+(e*36|0)+20|0;d=d+20|0;c[p>>2]=c[d>>2];c[p+4>>2]=c[d+4>>2];c[p+8>>2]=c[d+8>>2];c[p+12>>2]=c[d+12>>2];d=c[b+4>>2]|0;d=d+1|0;c[b+4>>2]=d;return}c[7182]=(c[7182]|0)+1;f=xb((p<<2|3)+16|0)|0;if(!f)g=0;else{c[(f+4+15&-16)+-4>>2]=f;g=f+4+15&-16}h=c[l>>2]|0;i=c[k>>2]|0;if((h|0)<=0){if(i|0)n=10}else{f=0;do{c[g+(f<<2)>>2]=c[i+(f<<2)>>2];f=f+1|0}while((f|0)!=(h|0));n=10}if((n|0)==10?a[j>>0]|0:0){c[7183]=(c[7183]|0)+1;Hc(c[i+-4>>2]|0)}a[j>>0]=1;c[k>>2]=g;c[m>>2]=p;mk(g|0,0,p<<2|0)|0;c[l>>2]=p;g=c[k>>2]|0;h=c[d+12>>2]|0;f=0;do{c[g+(f<<2)>>2]=c[h+(f<<2)>>2];f=f+1|0}while((f|0)!=(p|0));p=o+(e*36|0)+20|0;d=d+20|0;c[p>>2]=c[d>>2];c[p+4>>2]=c[d+4>>2];c[p+8>>2]=c[d+8>>2];c[p+12>>2]=c[d+12>>2];d=c[b+4>>2]|0;d=d+1|0;c[b+4>>2]=d;return}function zg(a,b,d,e,f,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0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(e*44|0)+8>>2]|0;l=c[i+(e*44|0)+12>>2]|0;k=c[i+(e*44|0)+16>>2]|0;o=+g[m+8>>2];q=+g[m+12>>2];h=+g[m+16>>2];n=+g[l+8>>2]-o;r=+g[l+12>>2]-q;p=+g[l+16>>2]-h;o=+g[k+8>>2]-o;q=+g[k+12>>2]-q;h=+g[k+16>>2]-h;h=+x(+((n*q-r*o)*(n*q-r*o)+((r*h-p*q)*(r*h-p*q)+(p*o-n*h)*(p*o-n*h))));g[m+88>>2]=h+ +g[m+88>>2];g[l+88>>2]=h+ +g[l+88>>2];g[k+88>>2]=h+ +g[k+88>>2];e=e+1|0}while((e|0)!=(f|0))}if((j|0)<=0){m=b+924|0;a[m>>0]=1;return}f=c[b+720>>2]|0;e=0;do{m=f+(e*104|0)+88|0;g[m>>2]=1.0/+g[m>>2];e=e+1|0}while((e|0)!=(j|0))}if((j|0)<=0){m=b+924|0;a[m>>0]=1;return}f=c[b+720>>2]|0;e=0;h=0.0;do{r=+g[f+(e*104|0)+88>>2];h=h+(r>0.0?1.0/r:0.0);e=e+1|0}while((e|0)!=(j|0));h=1.0/h*d;e=0;do{m=f+(e*104|0)+88|0;g[m>>2]=+g[m>>2]/h;e=e+1|0}while((e|0)!=(j|0));m=b+924|0;a[m>>0]=1;return}function Bg(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=+f;var h=0,i=0,j=0.0,k=0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0;l=+g[d>>2];if(+g[b>>2]<=l){j=+g[d+4>>2];if((((+g[b+4>>2]<=j?+g[b+8>>2]<=+g[d+8>>2]:0)?+g[b+16>>2]>=+g[d+16>>2]:0)?+g[b+20>>2]>=+g[d+20>>2]:0)?+g[b+24>>2]>=+g[d+24>>2]:0){d=0;return d|0}else h=d+4|0}else{h=d+4|0;j=+g[d+4>>2]}g[d>>2]=l-f;n=j-f;g[h>>2]=n;j=+g[d+8>>2]-f;g[d+8>>2]=j;q=+g[d+16>>2]+f;g[d+16>>2]=q;o=+g[d+20>>2]+f;g[d+20>>2]=o;m=+g[d+24>>2]+f;g[d+24>>2]=m;p=+g[e>>2];g[(p>0.0?d+16|0:d)>>2]=(p>0.0?q:l-f)+p;l=+g[e+4>>2];g[(l>0.0?d+20|0:h)>>2]=(l>0.0?o:n)+l;l=+g[e+8>>2];g[(l>0.0?d+24|0:d+8|0)>>2]=(l>0.0?m:j)+l;h=sg(a,b)|0;a:do if(h){k=c[a+8>>2]|0;if((k|0)<=-1){h=c[a>>2]|0;break}if(k){e=0;while(1){i=c[h+32>>2]|0;e=e+1|0;if(!i)break a;if((e|0)>=(k|0)){h=i;break}else h=i}}}else h=0;while(0);c[b>>2]=c[d>>2];c[b+4>>2]=c[d+4>>2];c[b+8>>2]=c[d+8>>2];c[b+12>>2]=c[d+12>>2];c[b+16>>2]=c[d+16>>2];c[b+20>>2]=c[d+20>>2];c[b+24>>2]=c[d+24>>2];c[b+28>>2]=c[d+28>>2];ue(a,h,b);d=1;return d|0}function Cg(b,d){b=b|0;d=d|0;var e=0,f=0,h=0.0,i=0,j=0,k=0.0,l=0.0;e=c[d+204>>2]|0;if((e&3|0)==0?(c[d+504>>2]&1|0)==0:0){h=+g[d+344>>2];if(h!=0.0){l=1.0/h*+g[b+252>>2];k=1.0/h*+g[b+256>>2];g[d+364>>2]=1.0/h*+g[b+248>>2];g[d+368>>2]=l;g[d+372>>2]=k;g[d+376>>2]=0.0}c[d+380>>2]=c[b+248>>2];c[d+380+4>>2]=c[b+248+4>>2];c[d+380+8>>2]=c[b+248+8>>2];c[d+380+12>>2]=c[b+248+12>>2]}if(!(c[d+192>>2]|0))return;if(e&1)if((c[d+216>>2]&-2|0)==4)e=e&3;else{c[d+216>>2]=2;e=e&3}else{f=c[b+232>>2]|0;if((f|0)==(c[b+236>>2]|0)?(j=(f|0)==0?1:f<<1,(f|0)<(j|0)):0){if(!j)e=0;else{c[7182]=(c[7182]|0)+1;e=xb((j<<2|3)+16|0)|0;if(!e)e=0;else{c[(e+4+15&-16)+-4>>2]=e;e=e+4+15&-16}f=c[b+232>>2]|0}if((f|0)>0){i=0;do{c[e+(i<<2)>>2]=c[(c[b+240>>2]|0)+(i<<2)>>2];i=i+1|0}while((i|0)!=(f|0))}i=c[b+240>>2]|0;if(i){if(a[b+244>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[i+-4>>2]|0);f=c[b+232>>2]|0}c[b+240>>2]=0}a[b+244>>0]=1;c[b+240>>2]=e;c[b+236>>2]=j;e=c[d+204>>2]&3}else e=e&3;c[(c[b+240>>2]|0)+(f<<2)>>2]=d;c[b+232>>2]=f+1}j=(e|0)!=0;ab[c[(c[b>>2]|0)+36>>2]&127](b,d,j?2:1,j?-3:-1);return}function Dg(a,b,d,e,f){a=a|0;b=b|0;d=+d;e=e|0;f=f|0;var h=0,i=0.0,j=0.0;h=sa;sa=sa+240|0;Wp(h+224|0,+g[b>>2],+g[b+4>>2],+g[b+8>>2],d);Fj(b,h+208|0,h+192|0);Wp(h+160|0,+g[h+208>>2],+g[h+208+4>>2],+g[h+208+8>>2],100.0);j=+g[h+224>>2];i=+g[h+224+4>>2];d=+g[h+224+8>>2];qp(h+176|0,j,i,d,+g[h+160>>2],+g[h+160+4>>2],+g[h+160+8>>2]);Wp(h+128|0,+g[h+208>>2],+g[h+208+4>>2],+g[h+208+8>>2],100.0);sp(h+144|0,j,i,d,+g[h+128>>2],+g[h+128+4>>2],+g[h+128+8>>2]);Wp(h+96|0,+g[h+192>>2],+g[h+192+4>>2],+g[h+192+8>>2],100.0);qp(h+112|0,j,i,d,+g[h+96>>2],+g[h+96+4>>2],+g[h+96+8>>2]);Wp(h+64|0,+g[h+192>>2],+g[h+192+4>>2],+g[h+192+8>>2],100.0);sp(h+80|0,j,i,d,+g[h+64>>2],+g[h+64+4>>2],+g[h+64+8>>2]);b=c[(c[a>>2]|0)+8>>2]|0;Qv(h+48|0,e,+g[h+176>>2],+g[h+176+4>>2],+g[h+176+8>>2]);Qv(h+32|0,e,+g[h+144>>2],+g[h+144+4>>2],+g[h+144+8>>2]);ab[b&127](a,h+48|0,h+32|0,f);b=c[(c[a>>2]|0)+8>>2]|0;Qv(h+16|0,e,+g[h+112>>2],+g[h+112+4>>2],+g[h+112+8>>2]);Qv(h,e,+g[h+80>>2],+g[h+80+4>>2],+g[h+80+8>>2]);ab[b&127](a,h+16|0,h,f);sa=h;return}function Eg(a,b,d,e,f,h,i,j,k,l){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0.0,n=0.0;a=sa;sa=sa+80|0;n=+g[h+52>>2]-+g[f+52>>2];m=+g[h+56>>2]-+g[f+56>>2];g[a+56>>2]=+g[h+48>>2]-+g[f+48>>2];g[a+56+4>>2]=n;g[a+56+8>>2]=m;g[a+56+12>>2]=0.0;if(Ob(d,f,e,h,a+56|0,a,1)|0){c[j>>2]=c[a+4>>2];c[j+4>>2]=c[a+4+4>>2];c[j+8>>2]=c[a+4+8>>2];c[j+12>>2]=c[a+4+12>>2];c[k>>2]=c[a+20>>2];c[k+4>>2]=c[a+20+4>>2];c[k+8>>2]=c[a+20+8>>2];c[k+12>>2]=c[a+20+12>>2];c[i>>2]=c[a+36>>2];c[i+4>>2]=c[a+36+4>>2];c[i+8>>2]=c[a+36+8>>2];c[i+12>>2]=c[a+36+12>>2];k=1;sa=a;return k|0}if(!(Rc(d,f,e,h,a+56|0,a)|0)){k=0;sa=a;return k|0}c[j>>2]=c[a+4>>2];c[j+4>>2]=c[a+4+4>>2];c[j+8>>2]=c[a+4+8>>2];c[j+12>>2]=c[a+4+12>>2];c[k>>2]=c[a+20>>2];c[k+4>>2]=c[a+20+4>>2];c[k+8>>2]=c[a+20+8>>2];c[k+12>>2]=c[a+20+12>>2];c[i>>2]=c[a+36>>2];c[i+4>>2]=c[a+36+4>>2];c[i+8>>2]=c[a+36+8>>2];c[i+12>>2]=c[a+36+12>>2];k=0;sa=a;return k|0}function Fg(b,e,f,h,i,j){b=b|0;e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;var k=0;if((d[h+55>>0]|0|0)==(e|0)){h=0;return h|0}k=c[7784+(i<<2)>>2]|0;if(+g[h>>2]*+g[f+16>>2]+ +g[h+4>>2]*+g[f+20>>2]+ +g[h+8>>2]*+g[f+24>>2]-+g[h+16>>2]<-9.999999747378752e-06){e=de(b,c[h+20+(k<<2)>>2]|0,c[h+20+(i<<2)>>2]|0,f,0)|0;if(!e){h=0;return h|0}a[e+52>>0]=i;c[e+32>>2]=h;a[h+52+i>>0]=0;c[h+32+(i<<2)>>2]=e;i=c[j>>2]|0;if(!i)c[j+4>>2]=e;else{a[i+53>>0]=2;c[i+36>>2]=e;a[e+54>>0]=1;c[e+40>>2]=i}c[j>>2]=e;c[j+8>>2]=(c[j+8>>2]|0)+1;h=1;return h|0}i=c[7796+(i<<2)>>2]|0;a[h+55>>0]=e;if(!(Fg(b,e,f,c[h+32+(k<<2)>>2]|0,d[h+52+k>>0]|0,j)|0)){h=0;return h|0}if(!(Fg(b,e,f,c[h+32+(i<<2)>>2]|0,d[h+52+i>>0]|0,j)|0)){h=0;return h|0}i=c[h+48>>2]|0;if(i|0)c[i+44>>2]=c[h+44>>2];i=c[h+44>>2]|0;if(i|0)c[i+48>>2]=c[h+48>>2];if((c[b+9280>>2]|0)==(h|0))c[b+9280>>2]=c[h+48>>2];c[b+9284>>2]=(c[b+9284>>2]|0)+-1;c[h+44>>2]=0;c[h+48>>2]=c[b+9288>>2];i=c[b+9288>>2]|0;if(i|0)c[i+44>>2]=h;c[b+9288>>2]=h;c[b+9292>>2]=(c[b+9292>>2]|0)+1;h=1;return h|0}function Gg(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0.0,h=0.0,i=0,j=0,k=0,l=0.0,m=0.0,n=0,o=0,p=0.0,q=0;o=sa;sa=sa+2048|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;e=+g[d>>2];h=+g[d+4>>2];f=+g[d+8>>2];if(e*e+h*h+f*f<9.999999747378752e-05){m=1.0;l=0.0;h=0.0}else{p=1.0/+x(+(e*e+h*h+f*f));m=e*p;l=h*p;h=f*p}if((Fa[c[(c[b>>2]|0)+96>>2]&127](b)|0)<=0){sa=o;return}k=0;f=-999999984306749440.0;while(1){if(((Fa[c[(c[b>>2]|0)+96>>2]&127](b)|0)-k|0)<128){d=(Fa[c[(c[b>>2]|0)+96>>2]&127](b)|0)-k|0;if((d|0)>0)n=8;else{e=-3402823466385288598117041.0e14;d=-1}}else{d=128;n=8}if((n|0)==8){n=0;i=0;do{Za[c[(c[b>>2]|0)+108>>2]&127](b,i,o+(i<<4)|0);i=i+1|0}while((i|0)!=(d|0));i=-1;j=0;e=-3402823466385288598117041.0e14;do{p=m*+g[o+(j<<4)>>2]+l*+g[o+(j<<4)+4>>2]+h*+g[o+(j<<4)+8>>2];q=p>e;i=q?j:i;e=q?p:e;j=j+1|0}while((j|0)!=(d|0));d=i}if(e>f){q=o+(d<<4)|0;c[a>>2]=c[q>>2];c[a+4>>2]=c[q+4>>2];c[a+8>>2]=c[q+8>>2];c[a+12>>2]=c[q+12>>2]}else e=f;k=k+128|0;if((k|0)>=(Fa[c[(c[b>>2]|0)+96>>2]&127](b)|0))break;else f=e}sa=o;return}function Hg(a,d,f,g){a=a|0;d=d|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;i=c[a+68+(d<<2)>>2]|0;j=b[i+((f&65535)<<2)+-4>>1]|0;if((e[i+((f&65535)<<2)>>1]|0)>=(j&65535))return;k=c[a+60>>2]|0;m=k+((e[i+((f&65535)<<2)+2>>1]|0)<<6)+54+(d<<1)|0;h=i+((f&65535)<<2)+-4|0;l=i+((f&65535)<<2)|0;while(1){i=e[l+-2>>1]|0;if(!(j&1)){f=e[l+2>>1]|0;if(((((e[k+(f<<6)+54+((1<>1]|0)>=(e[k+(i<<6)+48+((1<>1]|0)?(e[k+(i<<6)+54+((1<>1]|0)>=(e[k+(f<<6)+48+((1<>1]|0):0)?(e[k+(f<<6)+54+((1<<(1<>1]|0)>=(e[k+(i<<6)+48+((1<<(1<>1]|0):0)?(e[k+(i<<6)+54+((1<<(1<>1]|0)>=(e[k+(f<<6)+48+((1<<(1<>1]|0):0)?(p=c[a+92>>2]|0,n=k+(f<<6)|0,o=k+(i<<6)|0,Ka[c[(c[p>>2]|0)+12>>2]&31](p,n,o,g)|0,p=c[a+96>>2]|0,p|0):0)Ka[c[(c[p>>2]|0)+12>>2]&31](p,n,o,g)|0;f=k+(i<<6)+48+(d<<1)|0}else f=k+(i<<6)+54+(d<<1)|0;b[f>>1]=(b[f>>1]|0)+1<<16>>16;b[m>>1]=(b[m>>1]|0)+-1<<16>>16;f=e[l>>1]|e[l+2>>1]<<16;j=e[h>>1]|e[h+2>>1]<<16;b[l>>1]=j;b[l+2>>1]=j>>>16;b[h>>1]=f;b[h+2>>1]=f>>>16;f=l+-4|0;h=h+-4|0;j=b[h>>1]|0;if((e[f>>1]|0)>=(j&65535))break;l=f;k=c[a+60>>2]|0}return}function Ig(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var h=0,i=0.0,j=0,k=0,l=0,m=0.0,n=0.0;h=c[d+204>>2]|0;if((h&3|0)==0?(c[d+504>>2]&1|0)==0:0){i=+g[d+344>>2];if(i!=0.0){n=1.0/i*+g[b+252>>2];m=1.0/i*+g[b+256>>2];g[d+364>>2]=1.0/i*+g[b+248>>2];g[d+368>>2]=n;g[d+372>>2]=m;g[d+376>>2]=0.0}c[d+380>>2]=c[b+248>>2];c[d+380+4>>2]=c[b+248+4>>2];c[d+380+8>>2]=c[b+248+8>>2];c[d+380+12>>2]=c[b+248+12>>2]}if(!(c[d+192>>2]|0))return;if(h&1){if((c[d+216>>2]&-2|0)!=4)c[d+216>>2]=2}else{h=c[b+232>>2]|0;if((h|0)==(c[b+236>>2]|0)?(l=(h|0)==0?1:h<<1,(h|0)<(l|0)):0){if(!l)k=0;else{c[7182]=(c[7182]|0)+1;h=xb((l<<2|3)+16|0)|0;if(!h)h=0;else{c[(h+4+15&-16)+-4>>2]=h;h=h+4+15&-16}k=h;h=c[b+232>>2]|0}if((h|0)>0){j=0;do{c[k+(j<<2)>>2]=c[(c[b+240>>2]|0)+(j<<2)>>2];j=j+1|0}while((j|0)!=(h|0))}j=c[b+240>>2]|0;if(j){if(a[b+244>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[j+-4>>2]|0);h=c[b+232>>2]|0}c[b+240>>2]=0}a[b+244>>0]=1;c[b+240>>2]=k;c[b+236>>2]=l}c[(c[b+240>>2]|0)+(h<<2)>>2]=d;c[b+232>>2]=h+1}ab[c[(c[b>>2]|0)+36>>2]&127](b,d,e,f);return}function Jg(a,d,f){a=a|0;d=d|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;g=c[a+68+(d<<2)>>2]|0;l=c[a+60>>2]|0;m=e[g+((f&65535)<<2)+2>>1]|0;h=b[g+((f&65535)<<2)+6>>1]|0;if(!(h<<16>>16))return;k=g+((f&65535)<<2)|0;while(1){j=k;k=k+4|0;g=b[k>>1]|0;if((e[j>>1]|0)<(g&65535)){f=14;break}i=c[a+60>>2]|0;f=h&65535;if(!(g&1)){if(((((e[l+(m<<6)+54+((1<>1]|0)>=(e[i+(f<<6)+48+((1<>1]|0)?(e[i+(f<<6)+54+((1<>1]|0)>=(e[l+(m<<6)+48+((1<>1]|0):0)?(e[l+(m<<6)+54+((1<<(1<>1]|0)>=(e[i+(f<<6)+48+((1<<(1<>1]|0):0)?(e[i+(f<<6)+54+((1<<(1<>1]|0)>=(e[l+(m<<6)+48+((1<<(1<>1]|0):0)?(o=c[a+92>>2]|0,n=i+((e[j+2>>1]|0)<<6)|0,Ja[c[(c[o>>2]|0)+8>>2]&63](o,n,i+(f<<6)|0)|0,o=c[a+96>>2]|0,o|0):0)Ja[c[(c[o>>2]|0)+8>>2]&63](o,n,i+(f<<6)|0)|0;f=i+(f<<6)+48+(d<<1)|0}else f=i+(f<<6)+54+(d<<1)|0;b[f>>1]=(b[f>>1]|0)+-1<<16>>16;b[l+(m<<6)+54+(d<<1)>>1]=(b[l+(m<<6)+54+(d<<1)>>1]|0)+1<<16>>16;h=e[j>>1]|e[j+2>>1]<<16;i=e[k>>1]|e[k+2>>1]<<16;b[j>>1]=i;b[j+2>>1]=i>>>16;b[k>>1]=h;b[k+2>>1]=h>>>16;h=b[j+10>>1]|0;if(!(h<<16>>16)){f=14;break}}if((f|0)==14)return}function Kg(a,d,f,g){a=a|0;d=d|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0;h=c[a+68+(d<<2)>>2]|0;i=b[h+((f&65535)<<2)+6>>1]|0;if(!(i<<16>>16))return;m=(c[a+60>>2]|0)+((e[h+((f&65535)<<2)+2>>1]|0)<<6)+48+(d<<1)|0;l=h+((f&65535)<<2)|0;while(1){k=l;l=l+4|0;f=b[l>>1]|0;if((e[k>>1]|0)<(f&65535)){f=14;break}j=c[a+60>>2]|0;h=i&65535;if(!(f&1))f=j+(h<<6)+48+(d<<1)|0;else{f=e[k+2>>1]|0;if(((((e[j+(f<<6)+54+((1<>1]|0)>=(e[j+(h<<6)+48+((1<>1]|0)?(e[j+(h<<6)+54+((1<>1]|0)>=(e[j+(f<<6)+48+((1<>1]|0):0)?(e[j+(f<<6)+54+((1<<(1<>1]|0)>=(e[j+(h<<6)+48+((1<<(1<>1]|0):0)?(e[j+(h<<6)+54+((1<<(1<>1]|0)>=(e[j+(f<<6)+48+((1<<(1<>1]|0):0)?(n=c[a+92>>2]|0,Ka[c[(c[n>>2]|0)+12>>2]&31](n,j+(f<<6)|0,j+(h<<6)|0,g)|0,n=c[a+96>>2]|0,n|0):0)Ka[c[(c[n>>2]|0)+12>>2]&31](n,j+(f<<6)|0,j+(h<<6)|0,g)|0;f=j+(h<<6)+54+(d<<1)|0}b[f>>1]=(b[f>>1]|0)+-1<<16>>16;b[m>>1]=(b[m>>1]|0)+1<<16>>16;i=e[k>>1]|e[k+2>>1]<<16;j=e[l>>1]|e[l+2>>1]<<16;b[k>>1]=j;b[k+2>>1]=j>>>16;b[l>>1]=i;b[l+2>>1]=i>>>16;i=b[k+10>>1]|0;if(!(i<<16>>16)){f=14;break}}if((f|0)==14)return}function Lg(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0,G=0.0;o=(+g[a+32>>2]-+g[a+16>>2])*.5;l=(+g[a+36>>2]-+g[a+20>>2])*.5;i=(+g[a+40>>2]-+g[a+24>>2])*.5;n=+va[c[(c[a>>2]|0)+48>>2]&15](a);k=+va[c[(c[a>>2]|0)+48>>2]&15](a);i=i+ +va[c[(c[a>>2]|0)+48>>2]&15](a);C=(+g[a+32>>2]+ +g[a+16>>2])*.5;A=(+g[a+36>>2]+ +g[a+20>>2])*.5;y=(+g[a+40>>2]+ +g[a+24>>2])*.5;G=+g[b>>2];x=+w(+G);F=+g[b+4>>2];v=+w(+F);t=+g[b+8>>2];u=+w(+t);E=+g[b+16>>2];s=+w(+E);D=+g[b+20>>2];r=+w(+D);p=+g[b+24>>2];q=+w(+p);B=+g[b+32>>2];m=+w(+B);z=+g[b+36>>2];j=+w(+z);f=+g[b+40>>2];h=+w(+f);t=C*G+A*F+y*t+ +g[b+48>>2];p=C*E+A*D+y*p+ +g[b+52>>2];f=C*B+A*z+y*f+ +g[b+56>>2];g[d>>2]=t-((o+n)*x+(l+k)*v+i*u);g[d+4>>2]=p-((o+n)*s+(l+k)*r+i*q);g[d+8>>2]=f-((o+n)*m+(l+k)*j+i*h);g[d+12>>2]=0.0;g[e>>2]=(o+n)*x+(l+k)*v+i*u+t;g[e+4>>2]=(o+n)*s+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,j=0,k=0,l=0,m=0,n=0;h=c[a+68+(d<<2)>>2]|0;k=c[a+60>>2]|0;l=e[h+((f&65535)<<2)+2>>1]|0;i=b[h+((f&65535)<<2)+-4>>1]|0;if((e[h+((f&65535)<<2)>>1]|0)>=(i&65535))return;g=h+((f&65535)<<2)+-4|0;j=h+((f&65535)<<2)|0;h=k;while(1){f=e[j+-2>>1]|0;if(!(i&1))f=h+(f<<6)+48+(d<<1)|0;else{if(((((e[k+(l<<6)+54+((1<>1]|0)>=(e[h+(f<<6)+48+((1<>1]|0)?(e[h+(f<<6)+54+((1<>1]|0)>=(e[k+(l<<6)+48+((1<>1]|0):0)?(e[k+(l<<6)+54+((1<<(1<>1]|0)>=(e[h+(f<<6)+48+((1<<(1<>1]|0):0)?(e[h+(f<<6)+54+((1<<(1<>1]|0)>=(e[k+(l<<6)+48+((1<<(1<>1]|0):0)?(n=c[a+92>>2]|0,m=h+(f<<6)|0,Ja[c[(c[n>>2]|0)+8>>2]&63](n,k+(l<<6)|0,m)|0,n=c[a+96>>2]|0,n|0):0)Ja[c[(c[n>>2]|0)+8>>2]&63](n,k+(l<<6)|0,m)|0;f=h+(f<<6)+54+(d<<1)|0}b[f>>1]=(b[f>>1]|0)+1<<16>>16;b[k+(l<<6)+48+(d<<1)>>1]=(b[k+(l<<6)+48+(d<<1)>>1]|0)+-1<<16>>16;f=e[j>>1]|e[j+2>>1]<<16;i=e[g>>1]|e[g+2>>1]<<16;b[j>>1]=i;b[j+2>>1]=i>>>16;b[g>>1]=f;b[g+2>>1]=f>>>16;f=j+-4|0;g=g+-4|0;i=b[g>>1]|0;if((e[f>>1]|0)>=(i&65535))break;j=f;h=c[a+60>>2]|0}return}function Og(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0,f=0,h=0,i=0,j=0,k=0;f=sa;sa=sa+16|0;d=+g[(JI(a)|0)>>2];e=+g[(oI(a+16|0)|0)>>2];c=+g[(nI(a+32|0)|0)>>2];if(d+e+c>0.0){e=+wI(d+e+c+1.0);g[f+12>>2]=e*.5;d=+g[(oI(a+32|0)|0)>>2];g[f>>2]=(d-+g[(nI(a+16|0)|0)>>2])*(.5/e);d=+g[(nI(a)|0)>>2];g[f+4>>2]=(d-+g[(JI(a+32|0)|0)>>2])*(.5/e);d=+g[(JI(a+16|0)|0)>>2];g[f+8>>2]=(d-+g[(oI(a)|0)>>2])*(.5/e);i=f+4|0;h=f+8|0;a=f+12|0;j=f;tr(b,j,i,h,a);sa=f;return}else{h=d>2];k=JI(a+((((h+1|0)>>>0)%3|0)<<4)|0)|0;e=e-+g[k+((((h+1|0)>>>0)%3|0)<<2)>>2];j=JI(a+((((h+2|0)>>>0)%3|0)<<4)|0)|0;e=+wI(e-+g[j+((((h+2|0)>>>0)%3|0)<<2)>>2]+1.0);g[f+(h<<2)>>2]=e*.5;g[f+12>>2]=(+g[j+((((h+1|0)>>>0)%3|0)<<2)>>2]-+g[k+((((h+2|0)>>>0)%3|0)<<2)>>2])*(.5/e);g[f+((((h+1|0)>>>0)%3|0)<<2)>>2]=(+g[k+(h<<2)>>2]+ +g[i+((((h+1|0)>>>0)%3|0)<<2)>>2])*(.5/e);g[f+((((h+2|0)>>>0)%3|0)<<2)>>2]=(+g[j+(h<<2)>>2]+ +g[i+((((h+2|0)>>>0)%3|0)<<2)>>2])*(.5/e);h=f+4|0;i=f+8|0;j=f+12|0;a=f;tr(b,a,h,i,j);sa=f;return}}function Pg(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;f=c[a+212>>2]|0;a:do if((f|0)>0){g=c[a+220>>2]|0;d=0;while(1){e=g+(d<<2)|0;if((c[e>>2]|0)==(b|0))break;d=d+1|0;if((d|0)>=(f|0))break a}if((d|0)<(f|0)){c[e>>2]=c[g+(f+-1<<2)>>2];c[(c[a+220>>2]|0)+(f+-1<<2)>>2]=b;c[a+212>>2]=f+-1}}while(0);g=c[b+28>>2]|0;d=c[g+488>>2]|0;b:do if((d|0)>0){f=c[g+496>>2]|0;e=0;while(1){a=f+(e<<2)|0;if((c[a>>2]|0)==(b|0))break;e=e+1|0;if((e|0)>=(d|0))break b}if((e|0)<(d|0)){c[a>>2]=c[f+(d+-1<<2)>>2];c[(c[g+496>>2]|0)+(d+-1<<2)>>2]=b;c[g+488>>2]=d+-1;d=d+-1|0}}while(0);c[g+256>>2]=(d|0)>0&1;g=c[b+32>>2]|0;d=c[g+488>>2]|0;if((d|0)<=0){b=d;b=(b|0)>0;b=b&1;h=g+256|0;c[h>>2]=b;return}f=c[g+496>>2]|0;e=0;while(1){a=f+(e<<2)|0;if((c[a>>2]|0)==(b|0))break;e=e+1|0;if((e|0)>=(d|0)){h=19;break}}if((h|0)==19){b=(d|0)>0;b=b&1;h=g+256|0;c[h>>2]=b;return}if((e|0)>=(d|0)){b=d;b=(b|0)>0;b=b&1;h=g+256|0;c[h>>2]=b;return}c[a>>2]=c[f+(d+-1<<2)>>2];c[(c[g+496>>2]|0)+(d+-1<<2)>>2]=b;c[g+488>>2]=d+-1;b=d+-1|0;b=(b|0)>0;b=b&1;h=g+256|0;c[h>>2]=b;return}function Qg(b,d){b=b|0;d=d|0;var e=0,f=0.0,h=0.0,i=0.0,j=0;j=Fa[c[(c[b>>2]|0)+28>>2]&127](b)|0;i=+g[j>>2]-+g[d>>2];h=+g[j+4>>2]-+g[d+4>>2];f=+g[j+8>>2]-+g[d+8>>2];if(!(i*i+h*h+f*f>1.1920928955078125e-07))return;mg(b,d);if((a[b+61>>0]|0)!=0?(e=c[b+52>>2]|0,Pa[c[c[e>>2]>>2]&511](e),e=c[b+52>>2]|0,(e|0)!=0):0){c[7183]=(c[7183]|0)+1;Hc(c[e+-4>>2]|0);e=b+52|0}else e=b+52|0;c[7182]=(c[7182]|0)+1;d=xb(191)|0;if(!d)d=0;else{c[(d+4+15&-16)+-4>>2]=d;d=d+4+15&-16}c[d+52>>2]=282;a[d+60>>0]=0;a[d+80>>0]=1;c[d+76>>2]=0;c[d+68>>2]=0;c[d+72>>2]=0;a[d+100>>0]=1;c[d+96>>2]=0;c[d+88>>2]=0;c[d+92>>2]=0;a[d+120>>0]=1;c[d+116>>2]=0;c[d+108>>2]=0;c[d+112>>2]=0;a[d+140>>0]=1;c[d+136>>2]=0;c[d+128>>2]=0;c[d+132>>2]=0;c[d+144>>2]=0;a[d+164>>0]=1;c[d+160>>2]=0;c[d+152>>2]=0;c[d+156>>2]=0;c[d+168>>2]=0;c[d+4>>2]=-8388609;c[d+8>>2]=-8388609;c[d+12>>2]=-8388609;g[d+16>>2]=0.0;c[d+20>>2]=2139095039;c[d+24>>2]=2139095039;c[d+28>>2]=2139095039;g[d+32>>2]=0.0;c[d>>2]=10888;c[e>>2]=d;pc(d,c[b+48>>2]|0,(a[b+60>>0]|0)!=0,b+16|0,b+32|0);a[b+61>>0]=1;return}function Rg(b,d){b=b|0;d=d|0;var e=0.0,f=0.0;if(a[b+1309>>0]|0){e=(+g[b+1256>>2]-+g[b+1316>>2])*+g[b+1340>>2];g[b+792>>2]=e*(+g[d>>2]*+g[b+1364>>2]/+(c[d+48>>2]|0));e=+w(+e);g[b+808>>2]=e/+g[d>>2]}if(a[b+1310>>0]|0){e=(+g[b+1260>>2]-+g[b+1320>>2])*+g[b+1344>>2];g[b+796>>2]=e*(+g[d>>2]*+g[b+1368>>2]/+(c[d+48>>2]|0));e=+w(+e);g[b+812>>2]=e/+g[d>>2]}if(a[b+1311>>0]|0){e=(+g[b+1264>>2]-+g[b+1324>>2])*+g[b+1348>>2];g[b+800>>2]=e*(+g[d>>2]*+g[b+1372>>2]/+(c[d+48>>2]|0));e=+w(+e);g[b+816>>2]=e/+g[d>>2]}if(a[b+1312>>0]|0){f=-((+g[b+1192>>2]-+g[b+1328>>2])*+g[b+1352>>2]);e=+g[d>>2];g[b+876>>2]=e*+g[b+1376>>2]/+(c[d+48>>2]|0)*f;g[b+880>>2]=+w(+f)/e}if(a[b+1313>>0]|0){e=-((+g[b+1196>>2]-+g[b+1332>>2])*+g[b+1356>>2]);f=+g[d>>2];g[b+940>>2]=f*+g[b+1380>>2]/+(c[d+48>>2]|0)*e;g[b+944>>2]=+w(+e)/f}if(!(a[b+1314>>0]|0)){zj(b,d);return}e=-((+g[b+1200>>2]-+g[b+1336>>2])*+g[b+1360>>2]);f=+g[d>>2];g[b+1004>>2]=f*+g[b+1384>>2]/+(c[d+48>>2]|0)*e;g[b+1008>>2]=+w(+e)/f;zj(b,d);return}function Sg(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,h=0.0,i=0.0,j=0.0;e=sa;sa=sa+160|0;c[e+136>>2]=0;c[e+136+4>>2]=0;c[e+136+8>>2]=0;c[e+136+12>>2]=0;c[e+136+16>>2]=0;c[e+32>>2]=9816;f=e+32+4|0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;c[f+12>>2]=0;c[e+32+20>>2]=1065353216;c[e+32+24>>2]=0;c[e+32+24+4>>2]=0;c[e+32+24+8>>2]=0;c[e+32+24+12>>2]=0;c[e+32+40>>2]=1065353216;c[e+32+44>>2]=0;c[e+32+44+4>>2]=0;c[e+32+44+8>>2]=0;c[e+32+44+12>>2]=0;c[e+32+60>>2]=1065353216;c[e+32+64>>2]=0;c[e+32+68>>2]=c[e+136+4>>2];c[e+32+68+4>>2]=c[e+136+4+4>>2];c[e+32+68+8>>2]=c[e+136+4+8>>2];c[e+32+68+12>>2]=c[e+136+4+12>>2];g[e+32+84>>2]=-999999984306749440.0;j=+g[d>>2];i=+g[d+4>>2];h=+g[d+8>>2];g[e+32+88>>2]=j+i*0.0+h*0.0;g[e+32+92>>2]=j*0.0+i+h*0.0;g[e+32+96>>2]=j*0.0+i*0.0+h;g[e+32+100>>2]=0.0;c[e+16>>2]=1566444395;c[e+16+4>>2]=1566444395;c[e+16+8>>2]=1566444395;g[e+16+12>>2]=0.0;d=c[(c[b>>2]|0)+64>>2]|0;g[e>>2]=-999999984306749440.0;g[e+4>>2]=-999999984306749440.0;g[e+8>>2]=-999999984306749440.0;g[e+12>>2]=0.0;ab[d&127](b,e+32|0,e,e+16|0);c[a>>2]=c[f>>2];c[a+4>>2]=c[f+4>>2];c[a+8>>2]=c[f+8>>2];c[a+12>>2]=c[f+12>>2];sa=e;return}function Tg(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0;p=sa;sa=sa+16|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;e=+g[d>>2];f=+g[d+4>>2];h=+g[d+8>>2];if(e*e+f*f+h*h<9.999999747378752e-05){o=1.0;n=0.0;m=0.0}else{m=1.0/+x(+(e*e+f*f+h*h));o=e*m;n=f*m;m=h*m}d=c[b+52>>2]|0;l=+g[b+28+(((d+2|0)%3|0)<<2)>>2];c[p>>2]=0;c[p+4>>2]=0;c[p+8>>2]=0;c[p+12>>2]=0;c[p+(d<<2)>>2]=c[b+28+(d<<2)>>2];j=o*l;k=n*l;l=m*l;e=j+ +g[p>>2];f=k+ +g[p+4>>2];i=l+ +g[p+8>>2];h=+va[c[(c[b>>2]|0)+48>>2]&15](b);e=e-o*h;f=f-n*h;h=i-m*h;i=m*h+(o*e+n*f);if(i>-999999984306749440.0){g[a>>2]=e;g[a+4>>2]=f;g[a+8>>2]=h;g[a+12>>2]=0.0}else i=-999999984306749440.0;c[p>>2]=0;c[p+4>>2]=0;c[p+8>>2]=0;c[p+12>>2]=0;d=c[b+52>>2]|0;g[p+(d<<2)>>2]=-+g[b+28+(d<<2)>>2];e=j+ +g[p>>2];f=k+ +g[p+4>>2];l=l+ +g[p+8>>2];h=+va[c[(c[b>>2]|0)+48>>2]&15](b);e=e-o*h;f=f-n*h;h=l-m*h;if(!(m*h+(o*e+n*f)>i)){sa=p;return}g[a>>2]=e;g[a+4>>2]=f;g[a+8>>2]=h;g[a+12>>2]=0.0;sa=p;return}function Ug(b){b=b|0;var d=0,e=0;if(!b)return;d=c[b+32>>2]|0;if(d|0){if(a[b+36>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+32>>2]=0}a[b+36>>0]=1;c[b+32>>2]=0;c[b+24>>2]=0;c[b+28>>2]=0;d=c[b+12>>2]|0;do if(d){if(!(a[b+16>>0]|0)){a[b+16>>0]=1;c[b+12>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;d=b+8|0;e=14;break}c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0);d=c[b+32>>2]|0;a[b+16>>0]=1;c[b+12>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;if(d){if(!(a[b+36>>0]|0)){a[b+36>>0]=1;c[b+32>>2]=0;c[b+24>>2]=0;c[b+28>>2]=0;d=b+8|0;break}c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0);d=c[b+12>>2]|0;a[b+36>>0]=1;c[b+32>>2]=0;c[b+24>>2]=0;c[b+28>>2]=0;if(!d)d=b+8|0;else{if(a[b+16>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+12>>2]=0;d=b+8|0}}else{d=b+8|0;e=14}}else{a[b+16>>0]=1;c[b+12>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;d=b+8|0;e=14}while(0);if((e|0)==14){a[b+36>>0]=1;c[b+32>>2]=0;c[b+24>>2]=0;c[b+28>>2]=0}a[b+16>>0]=1;c[b+12>>2]=0;c[b+4>>2]=0;c[d>>2]=0;Sx(b);return}function Vg(a,b,d,e,f,h,i,j,k,l){a=a|0;b=b|0;d=d|0;e=e|0;f=+f;h=+h;i=+i;j=+j;k=+k;l=+l;var m=0;m=sa;sa=sa+128|0;c[m+80>>2]=c[a+4>>2];c[m+80+4>>2]=c[a+20>>2];c[m+80+8>>2]=c[a+36>>2];g[m+80+12>>2]=0.0;c[m+80+16>>2]=c[a+8>>2];c[m+80+20>>2]=c[a+24>>2];c[m+80+24>>2]=c[a+40>>2];g[m+80+28>>2]=0.0;c[m+80+32>>2]=c[a+12>>2];c[m+80+36>>2]=c[a+28>>2];c[m+80+40>>2]=c[a+44>>2];g[m+80+44>>2]=0.0;c[m+32>>2]=c[b+4>>2];c[m+32+4>>2]=c[b+20>>2];c[m+32+8>>2]=c[b+36>>2];g[m+32+12>>2]=0.0;c[m+32+16>>2]=c[b+8>>2];c[m+32+20>>2]=c[b+24>>2];c[m+32+24>>2]=c[b+40>>2];g[m+32+28>>2]=0.0;c[m+32+32>>2]=c[b+12>>2];c[m+32+36>>2]=c[b+28>>2];c[m+32+40>>2]=c[b+44>>2];g[m+32+44>>2]=0.0;h=h-+g[a+56>>2];i=i-+g[a+60>>2];g[m+16>>2]=f-+g[a+52>>2];g[m+16+4>>2]=h;g[m+16+8>>2]=i;g[m+16+12>>2]=0.0;i=k-+g[b+56>>2];l=l-+g[b+60>>2];g[m>>2]=j-+g[b+52>>2];g[m+4>>2]=i;g[m+8>>2]=l;g[m+12>>2]=0.0;fg(d,m+80|0,m+32|0,m+16|0,m,e,a+396|0,+g[a+344>>2],b+396|0,+g[b+344>>2]);sa=m;return}function Wg(a,b,d,e,f){a=a|0;b=+b;d=+d;e=+e;f=f|0;var h=0,i=0,j=0,k=0,l=0.0,m=0.0;j=sa;sa=sa+48|0;l=1.0/+x(+(b*b+d*d+e*e));g[f>>2]=l*b;g[f+4>>2]=l*d;g[f+8>>2]=l*e;g[f+12>>2]=0.0;h=c[a+120>>2]|0;k=c[a+124>>2]|0;i=(c[a>>2]|0)+(1?k>>1:k)|0;if(k&1)h=c[(c[i>>2]|0)+h>>2]|0;Za[h&127](j,i,f);b=-+g[f>>2];d=-+g[f+4>>2];e=-+g[f+8>>2];h=c[a+120>>2]|0;k=c[a+124>>2]|0;i=(c[a+4>>2]|0)+(1?k>>1:k)|0;if(k&1)h=c[(c[i>>2]|0)+h>>2]|0;l=+g[a+24>>2]*b+ +g[a+28>>2]*d+ +g[a+32>>2]*e;m=+g[a+40>>2]*b+ +g[a+44>>2]*d+ +g[a+48>>2]*e;g[j+16>>2]=+g[a+8>>2]*b+ +g[a+12>>2]*d+ +g[a+16>>2]*e;g[j+16+4>>2]=l;g[j+16+8>>2]=m;g[j+16+12>>2]=0.0;Za[h&127](j+32|0,i,j+16|0);m=+g[j+32>>2];b=+g[j+32+4>>2];d=+g[j+32+8>>2];e=+g[j+4>>2]-(m*+g[a+72>>2]+b*+g[a+76>>2]+d*+g[a+80>>2]+ +g[a+108>>2]);l=+g[j+8>>2]-(m*+g[a+88>>2]+b*+g[a+92>>2]+d*+g[a+96>>2]+ +g[a+112>>2]);g[f+16>>2]=+g[j>>2]-(m*+g[a+56>>2]+b*+g[a+60>>2]+d*+g[a+64>>2]+ +g[a+104>>2]);g[f+20>>2]=e;g[f+24>>2]=l;g[f+28>>2]=0.0;sa=j;return}function Xg(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0.0,h=0.0,i=0,j=0.0,k=0.0;i=c[b>>2]|0;if((i|0)==(c[a+80>>2]|0)){h=1.0;return +h}if(c[i+204>>2]&4|0){h=1.0;return +h}if(d){e=+g[b+8>>2];f=+g[b+12>>2];h=+g[b+16>>2]}else{k=+g[b+8>>2];j=+g[b+12>>2];h=+g[b+16>>2];e=+g[i+4>>2]*k+ +g[i+8>>2]*j+ +g[i+12>>2]*h;f=k*+g[i+20>>2]+j*+g[i+24>>2]+h*+g[i+28>>2];h=k*+g[i+36>>2]+j*+g[i+40>>2]+h*+g[i+44>>2]}if(e*+g[a+84>>2]+f*+g[a+88>>2]+h*+g[a+92>>2]<+g[a+100>>2]){k=1.0;return +k}c[a+4>>2]=c[b+40>>2];c[a+76>>2]=i;if(d){c[a+44>>2]=c[b+8>>2];c[a+44+4>>2]=c[b+8+4>>2];c[a+44+8>>2]=c[b+8+8>>2];c[a+44+12>>2]=c[b+8+12>>2]}else{e=+g[b+8>>2];f=+g[b+12>>2];h=+g[b+16>>2];j=e*+g[i+20>>2]+f*+g[i+24>>2]+h*+g[i+28>>2];k=e*+g[i+36>>2]+f*+g[i+40>>2]+h*+g[i+44>>2];g[a+44>>2]=+g[i+4>>2]*e+ +g[i+8>>2]*f+ +g[i+12>>2]*h;g[a+48>>2]=j;g[a+52>>2]=k;g[a+56>>2]=0.0}c[a+60>>2]=c[b+24>>2];c[a+60+4>>2]=c[b+24+4>>2];c[a+60+8>>2]=c[b+24+8>>2];c[a+60+12>>2]=c[b+24+12>>2];k=+g[b+40>>2];return +k}function Yg(a,b,c,d,e,f,h,i,j,k,l,m,n,o){a=a|0;b=+b;c=+c;d=+d;e=+e;f=+f;h=+h;i=+i;j=+j;k=+k;l=+l;m=+m;n=+n;o=+o;var p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0;q=(j-f)*(n-h)-(k-h)*(m-f);r=(k-h)*(l-e)-(i-e)*(n-h);s=(i-e)*(m-f)-(j-f)*(l-e);if(+w(+(s*d+(q*b+r*c)))<1.1920928955078125e-07){s=-1.0;return +s}t=+g[a>>2];v=+g[a+4>>2];u=+g[a+8>>2];p=-(q*t+r*v+s*u-(s*h+(q*e+r*f)))/(s*d+(q*b+r*c));if(((p>1.1920928955078125e-06&p-1.1920928955078125e-06:0)?s*((m-(v+p*c))*(i-(t+p*b))-(j-(v+p*c))*(l-(t+p*b)))+(q*((j-(v+p*c))*(n-(u+p*d))-(k-(u+p*d))*(m-(v+p*c)))+r*((k-(u+p*d))*(l-(t+p*b))-(n-(u+p*d))*(i-(t+p*b))))>-1.1920928955078125e-06:0)?s*((f-(v+p*c))*(l-(t+p*b))-(m-(v+p*c))*(e-(t+p*b)))+(q*((m-(v+p*c))*(h-(u+p*d))-(n-(u+p*d))*(f-(v+p*c)))+r*((n-(u+p*d))*(e-(t+p*b))-(h-(u+p*d))*(l-(t+p*b))))>-1.1920928955078125e-06:0){v=p;return +v}v=-1.0;return +v}function Zg(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;if(a[b+165>>0]|0){if((c[b+92>>2]|0)>=(d|0))return;if((d|0)!=0?(c[7182]=(c[7182]|0)+1,e=xb((d<<4|3)+16|0)|0,(e|0)!=0):0){c[(e+4+15&-16)+-4>>2]=e;g=e+4+15&-16}else g=0;f=c[b+88>>2]|0;if((f|0)>0){e=0;do{i=g+(e<<4)|0;h=(c[b+96>>2]|0)+(e<<4)|0;c[i>>2]=c[h>>2];c[i+4>>2]=c[h+4>>2];c[i+8>>2]=c[h+8>>2];c[i+12>>2]=c[h+12>>2];e=e+1|0}while((e|0)!=(f|0))}e=c[b+96>>2]|0;if(e|0){if(a[b+100>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[e+-4>>2]|0)}c[b+96>>2]=0}a[b+100>>0]=1;c[b+96>>2]=g;c[b+92>>2]=d;return}if((c[b+112>>2]|0)>=(d|0))return;if((d|0)!=0?(c[7182]=(c[7182]|0)+1,f=xb((d<<2|3)+16|0)|0,(f|0)!=0):0){c[(f+4+15&-16)+-4>>2]=f;h=f+4+15&-16}else h=0;f=c[b+108>>2]|0;g=c[b+116>>2]|0;if((f|0)<=0)if(!g)e=b+120|0;else i=23;else{e=0;do{c[h+(e<<2)>>2]=c[g+(e<<2)>>2];e=e+1|0}while((e|0)!=(f|0));i=23}if((i|0)==23){if(a[b+120>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[g+-4>>2]|0)}c[b+116>>2]=0;e=b+120|0}a[e>>0]=1;c[b+116>>2]=h;c[b+112>>2]=d;return}function _g(a,b,d,e,f,g,h,i,j){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;if(!(c[i+44>>2]|0))return;b=c[i+20>>2]|0;if(!(c[i+64>>2]&256)){if((b|0)<=0)return;e=0;do{d=c[a+28>>2]|0;if((d|0)>0){b=0;do{j=c[(c[a+116>>2]|0)+(b<<2)>>2]|0;h=c[a+36>>2]|0;g=c[a+16>>2]|0;Rf(g+((c[h+(j*152|0)+144>>2]|0)*244|0)|0,g+((c[h+(j*152|0)+148>>2]|0)*244|0)|0,h+(j*152|0)|0);b=b+1|0}while((b|0)!=(d|0));b=c[i+20>>2]|0}e=e+1|0}while((e|0)<(b|0));return}else{if((b|0)<=0)return;e=0;do{d=c[a+28>>2]|0;if((d|0)>0){b=0;do{j=c[(c[a+116>>2]|0)+(b<<2)>>2]|0;h=c[a+36>>2]|0;g=c[a+16>>2]|0;Rf(g+((c[h+(j*152|0)+144>>2]|0)*244|0)|0,g+((c[h+(j*152|0)+148>>2]|0)*244|0)|0,h+(j*152|0)|0);b=b+1|0}while((b|0)!=(d|0));b=c[i+20>>2]|0}e=e+1|0}while((e|0)<(b|0));return}}function $g(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;if(!(a[d+164>>0]|0)){if((c[d+152>>2]|0)>=(e|0))return;if((e|0)!=0?(c[7182]=(c[7182]|0)+1,g=xb((e<<1)+19|0)|0,(g|0)!=0):0){c[(g+4+15&-16)+-4>>2]=g;i=g+4+15&-16}else i=0;g=c[d+148>>2]|0;h=c[d+156>>2]|0;if((g|0)<=0)if(!h)f=d+160|0;else j=24;else{f=0;do{b[i+(f<<1)>>1]=b[h+(f<<1)>>1]|0;f=f+1|0}while((f|0)!=(g|0));j=24}if((j|0)==24){if(a[d+160>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[h+-4>>2]|0)}c[d+156>>2]=0;f=d+160|0}a[f>>0]=1;c[d+156>>2]=i;c[d+152>>2]=e;return}else{if((c[d+132>>2]|0)>=(e|0))return;if((e|0)!=0?(c[7182]=(c[7182]|0)+1,f=xb((e<<2|3)+16|0)|0,(f|0)!=0):0){c[(f+4+15&-16)+-4>>2]=f;i=f+4+15&-16}else i=0;g=c[d+128>>2]|0;h=c[d+136>>2]|0;if((g|0)<=0)if(!h)f=d+140|0;else j=11;else{f=0;do{c[i+(f<<2)>>2]=c[h+(f<<2)>>2];f=f+1|0}while((f|0)!=(g|0));j=11}if((j|0)==11){if(a[d+140>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[h+-4>>2]|0)}c[d+136>>2]=0;f=d+140|0}a[f>>0]=1;c[d+136>>2]=i;c[d+132>>2]=e;return}}function ah(a,b,d){a=a|0;b=b|0;d=d|0;ih(a,b,d)|0;c[b+52>>2]=c[a+300>>2];c[b+56>>2]=c[a+304>>2];c[b+60>>2]=c[a+308>>2];c[b+64>>2]=c[a+312>>2];c[b+68>>2]=c[a+316>>2];c[b+72>>2]=c[a+320>>2];c[b+76>>2]=c[a+324>>2];c[b+80>>2]=c[a+328>>2];c[b+84>>2]=c[a+332>>2];c[b+88>>2]=c[a+336>>2];c[b+92>>2]=c[a+340>>2];c[b+96>>2]=c[a+344>>2];c[b+100>>2]=c[a+348>>2];c[b+104>>2]=c[a+352>>2];c[b+108>>2]=c[a+356>>2];c[b+112>>2]=c[a+360>>2];c[b+116>>2]=c[a+364>>2];c[b+120>>2]=c[a+368>>2];c[b+124>>2]=c[a+372>>2];c[b+128>>2]=c[a+376>>2];c[b+132>>2]=c[a+380>>2];c[b+136>>2]=c[a+384>>2];c[b+140>>2]=c[a+388>>2];c[b+144>>2]=c[a+392>>2];c[b+148>>2]=c[a+396>>2];c[b+152>>2]=c[a+400>>2];c[b+156>>2]=c[a+404>>2];c[b+160>>2]=c[a+408>>2];c[b+164>>2]=c[a+412>>2];c[b+168>>2]=c[a+416>>2];c[b+172>>2]=c[a+420>>2];c[b+176>>2]=c[a+424>>2];c[b+180>>2]=c[a+444>>2];c[b+184>>2]=c[a+448>>2];c[b+188>>2]=c[a+452>>2];c[b+192>>2]=c[a+428>>2];c[b+196>>2]=c[a+432>>2];c[b+200>>2]=c[a+436>>2];c[b+204>>2]=c[a+440>>2];return 17046}function bh(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var h=0,i=0,j=0;c[7182]=(c[7182]|0)+1;h=xb(55)|0;if(!h)j=0;else{c[(h+4+15&-16)+-4>>2]=h;j=h+4+15&-16}c[j>>2]=d;c[j+4>>2]=e;c[j+8>>2]=f;c[j+12>>2]=-1;c[j+16>>2]=-1;c[j+20>>2]=-1;c[j+28>>2]=-1;g[j+32>>2]=0.0;f=j;d=c[b+4>>2]|0;c[j+24>>2]=d;if((d|0)!=(c[b+8>>2]|0)){i=d;e=b+12|0;e=c[e>>2]|0;e=e+(i<<2)|0;c[e>>2]=f;i=i+1|0;c[b+4>>2]=i;return j|0}i=(d|0)==0?1:d<<1;if((d|0)>=(i|0)){i=d;e=b+12|0;e=c[e>>2]|0;e=e+(i<<2)|0;c[e>>2]=f;i=i+1|0;c[b+4>>2]=i;return j|0}if(!i)h=0;else{c[7182]=(c[7182]|0)+1;h=xb((i<<2|3)+16|0)|0;if(!h)h=0;else{c[(h+4+15&-16)+-4>>2]=h;h=h+4+15&-16}d=c[b+4>>2]|0}if((d|0)>0){e=0;do{c[h+(e<<2)>>2]=c[(c[b+12>>2]|0)+(e<<2)>>2];e=e+1|0}while((e|0)!=(d|0))}e=c[b+12>>2]|0;if(e){if(a[b+16>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[e+-4>>2]|0);d=c[b+4>>2]|0}c[b+12>>2]=0}a[b+16>>0]=1;c[b+12>>2]=h;c[b+8>>2]=i;i=d;e=b+12|0;e=c[e>>2]|0;e=e+(i<<2)|0;c[e>>2]=f;i=i+1|0;c[b+4>>2]=i;return j|0}function ch(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0;o=+va[c[(c[a>>2]|0)+48>>2]&15](a);u=+g[a+72>>2];t=+g[a+56>>2];r=+g[a+76>>2];q=+g[a+60>>2];n=+g[a+80>>2];m=+g[a+64>>2];F=+g[b>>2];z=+w(+F);E=+g[b+4>>2];y=+w(+E);k=+g[b+8>>2];l=+w(+k);D=+g[b+16>>2];x=+w(+D);C=+g[b+20>>2];v=+w(+C);i=+g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k+ +g[f+324>>2];g[f+260>>2]=j+ +g[f+260>>2];g[f+264>>2]=i+ +g[f+264>>2];g[f+268>>2]=h+ +g[f+268>>2];g[f+332>>2]=j+ +g[f+332>>2];g[f+336>>2]=i+ +g[f+336>>2];g[f+340>>2]=h+ +g[f+340>>2];c[f+308>>2]=(c[f+308>>2]|0)+1}}if(!(a[d+32>>0]&2))return;ti(b,d+16|0,e);return}function eh(a){a=a|0;var b=0,d=0,e=0,f=0;d=sa;sa=sa+16|0;Ki(18619);Pa[c[(c[a>>2]|0)+8>>2]&511](a);Pa[c[(c[a>>2]|0)+12>>2]&511](a);b=c[a+24>>2]|0;Ki(18653);if(b|0){f=c[(c[b>>2]|0)+32>>2]|0;e=c[a+68>>2]|0;e=Fa[c[(c[e>>2]|0)+36>>2]&127](e)|0;ab[f&127](b,e,a+28|0,c[a+24>>2]|0)}b=c[3084]|0;f=(c[b+16>>2]|0)+-1|0;c[b+16>>2]=f;do if(!f){if(c[b+4>>2]|0){la(d|0,0)|0;a=c[7181]|0;g[b+8>>2]=+g[b+8>>2]+ +(((c[d+4>>2]|0)-(c[a+4>>2]|0)+(((c[d>>2]|0)-(c[a>>2]|0)|0)*1e6|0)-(c[b+12>>2]|0)|0)>>>0)/1.0e3;a=c[3084]|0;if(c[b+16>>2]|0)break}else a=b;a=c[a+20>>2]|0;c[3084]=a}else a=b;while(0);b=a+16|0;f=(c[b>>2]|0)+-1|0;c[b>>2]=f;if(f|0){sa=d;return}do if(c[a+4>>2]|0){la(d|0,0)|0;e=c[7181]|0;f=a+8|0;g[f>>2]=+g[f>>2]+ +(((c[d+4>>2]|0)-(c[e+4>>2]|0)+(((c[d>>2]|0)-(c[e>>2]|0)|0)*1e6|0)-(c[a+12>>2]|0)|0)>>>0)/1.0e3;if(!(c[b>>2]|0)){a=c[3084]|0;break}else{sa=d;return}}while(0);c[3084]=c[a+20>>2];sa=d;return}function fh(b,d){b=b|0;d=d|0;var e=0;c[b>>2]=11748;a[b+40>>0]=1;c[b+36>>2]=0;c[b+28>>2]=0;c[b+32>>2]=0;a[b+60>>0]=1;c[b+56>>2]=0;c[b+48>>2]=0;c[b+52>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;c[b+12>>2]=-1;c[b+16>>2]=0;c[b+20>>2]=0;a[b+100>>0]=1;c[b+96>>2]=0;c[b+88>>2]=0;c[b+92>>2]=0;a[b+120>>0]=1;c[b+116>>2]=0;c[b+108>>2]=0;c[b+112>>2]=0;c[b+64>>2]=0;c[b+68>>2]=0;c[b+72>>2]=-1;c[b+76>>2]=0;c[b+80>>2]=0;a[b+193>>0]=0;a[b+194>>0]=1;a[b+192>>0]=((d|0)!=0^1)&1;g[b+140>>2]=0.0;c[b+144>>2]=0;c[b+164>>2]=0;c[b+148>>2]=1;c[b+152>>2]=0;c[b+156>>2]=10;c[b+160>>2]=1;c[b+168>>2]=0;c[b+172>>2]=0;g[b+176>>2]=0.0;if(d|0){e=d;d=b+136|0;c[d>>2]=e;d=b+188|0;c[d>>2]=0;d=b+180|0;c[d>>2]=0;d=b+184|0;c[d>>2]=0;b=b+124|0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;return}c[7182]=(c[7182]|0)+1;d=xb(95)|0;if(!d)d=0;else{c[(d+4+15&-16)+-4>>2]=d;d=d+4+15&-16}Th(d);e=b+136|0;c[e>>2]=d;e=b+188|0;c[e>>2]=0;e=b+180|0;c[e>>2]=0;e=b+184|0;c[e>>2]=0;e=b+124|0;c[e>>2]=0;c[e+4>>2]=0;c[e+8>>2]=0;return}function gh(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;d=c[b+16>>2]|0;if(d|0){if(a[b+20>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+16>>2]=0}a[b+20>>0]=1;c[b+16>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;d=c[b+40>>2]|0;if(d|0){if(a[b+44>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+40>>2]=0}a[b+44>>0]=1;c[b+40>>2]=0;c[b+32>>2]=0;c[b+36>>2]=0;d=c[b+60>>2]|0;if(d|0){if(a[b+64>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+60>>2]=0}a[b+64>>0]=1;c[b+60>>2]=0;c[b+52>>2]=0;c[b+56>>2]=0;if((c[b+12>>2]|0)>=2){Te(b);return}c[7182]=(c[7182]|0)+1;d=xb(43)|0;if(!d)f=0;else{c[(d+4+15&-16)+-4>>2]=d;f=d+4+15&-16}e=c[b+8>>2]|0;if((e|0)>0){d=0;do{g=f+(d*12|0)|0;h=(c[b+16>>2]|0)+(d*12|0)|0;c[g>>2]=c[h>>2];c[g+4>>2]=c[h+4>>2];c[g+8>>2]=c[h+8>>2];d=d+1|0}while((d|0)!=(e|0))}d=c[b+16>>2]|0;if(d|0){if(a[b+20>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+16>>2]=0}a[b+20>>0]=1;c[b+16>>2]=f;c[b+12>>2]=2;Te(b);return}function hh(a,b,e){a=a|0;b=b|0;e=e|0;ih(a,b,e)|0;c[b+52>>2]=c[a+52>>2];c[b+56>>2]=c[a+56>>2];c[b+60>>2]=c[a+60>>2];c[b+64>>2]=c[a+64>>2];c[b+68>>2]=c[a+68>>2];c[b+72>>2]=c[a+72>>2];c[b+76>>2]=c[a+76>>2];c[b+80>>2]=c[a+80>>2];c[b+84>>2]=c[a+84>>2];c[b+88>>2]=c[a+88>>2];c[b+92>>2]=c[a+92>>2];c[b+96>>2]=c[a+96>>2];c[b+100>>2]=c[a+100>>2];c[b+104>>2]=c[a+104>>2];c[b+108>>2]=c[a+108>>2];c[b+112>>2]=c[a+112>>2];c[b+116>>2]=c[a+116>>2];c[b+120>>2]=c[a+120>>2];c[b+124>>2]=c[a+124>>2];c[b+128>>2]=c[a+128>>2];c[b+132>>2]=c[a+132>>2];c[b+136>>2]=c[a+136>>2];c[b+140>>2]=c[a+140>>2];c[b+144>>2]=c[a+144>>2];c[b+148>>2]=c[a+148>>2];c[b+152>>2]=c[a+152>>2];c[b+156>>2]=c[a+156>>2];c[b+160>>2]=c[a+160>>2];c[b+164>>2]=c[a+164>>2];c[b+168>>2]=c[a+168>>2];c[b+172>>2]=c[a+172>>2];c[b+176>>2]=c[a+176>>2];c[b+180>>2]=c[a+188>>2];c[b+184>>2]=c[a+184>>2];c[b+188>>2]=c[a+196>>2];c[b+192>>2]=c[a+192>>2];c[b+196>>2]=d[a+180>>0];c[b+200>>2]=d[a+49>>0];return 17002}function ih(a,b,e){a=a|0;b=b|0;e=e|0;var f=0,g=0;c[b>>2]=Ha[c[(c[e>>2]|0)+28>>2]&31](e,c[a+28>>2]|0)|0;c[b+4>>2]=Ha[c[(c[e>>2]|0)+28>>2]&31](e,c[a+32>>2]|0)|0;f=Ha[c[(c[e>>2]|0)+40>>2]&31](e,a)|0;g=Ha[c[(c[e>>2]|0)+28>>2]&31](e,f)|0;c[b+8>>2]=g;if(g|0)Va[c[(c[e>>2]|0)+48>>2]&127](e,f);c[b+12>>2]=c[a+4>>2];c[b+24>>2]=d[a+21>>0];c[b+40>>2]=c[a+24>>2];c[b+44>>2]=c[a+16>>2];c[b+48>>2]=d[a+20>>0];c[b+20>>2]=c[a+12>>2];c[b+16>>2]=c[a+8>>2];c[b+28>>2]=c[a+36>>2];c[b+32>>2]=c[a+40>>2];c[b+36>>2]=0;f=c[a+28>>2]|0;g=c[f+488>>2]|0;if((g|0)>0){e=c[f+496>>2]|0;if((c[e>>2]|0)==(a|0))c[b+36>>2]=1;if((g|0)>1){f=1;do{if((c[e+(f<<2)>>2]|0)==(a|0))c[b+36>>2]=1;f=f+1|0}while((f|0)!=(g|0))}}f=c[a+32>>2]|0;g=c[f+488>>2]|0;if((g|0)<=0)return 16939;e=c[f+496>>2]|0;if((c[e>>2]|0)==(a|0))c[b+36>>2]=1;if((g|0)<=1)return 16939;f=1;do{if((c[e+(f<<2)>>2]|0)==(a|0))c[b+36>>2]=1;f=f+1|0}while((f|0)!=(g|0));return 16939}function jh(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,x=0;f=sa;sa=sa+16|0;x=c[a+52>>2]|0;m=+g[a+28+(((x+2|0)%3|0)<<2)>>2];g[f>>2]=m;g[f+4>>2]=m;g[f+8>>2]=m;g[f+12>>2]=0.0;g[f+(x<<2)>>2]=m+ +g[a+28+(x<<2)>>2];m=+va[c[(c[a>>2]|0)+48>>2]&15](a);k=+va[c[(c[a>>2]|0)+48>>2]&15](a);i=+va[c[(c[a>>2]|0)+48>>2]&15](a);m=m+ +g[f>>2];g[f>>2]=m;k=k+ +g[f+4>>2];g[f+4>>2]=k;i=i+ +g[f+8>>2];v=+w(+(+g[b>>2]));u=+w(+(+g[b+4>>2]));t=+w(+(+g[b+8>>2]));r=+w(+(+g[b+16>>2]));q=+w(+(+g[b+20>>2]));p=+w(+(+g[b+24>>2]));l=+w(+(+g[b+32>>2]));j=+w(+(+g[b+36>>2]));h=+w(+(+g[b+40>>2]));s=+g[b+48>>2];o=+g[b+52>>2];n=+g[b+56>>2];g[d>>2]=s-(m*v+k*u+i*t);g[d+4>>2]=o-(m*r+k*q+i*p);g[d+8>>2]=n-(m*l+k*j+i*h);g[d+12>>2]=0.0;g[e>>2]=m*v+k*u+i*t+s;g[e+4>>2]=m*r+k*q+i*p+o;g[e+8>>2]=n+(m*l+k*j+i*h);g[e+12>>2]=0.0;sa=f;return}function kh(){var b=0,d=0,e=0;b=fs(288)|0;c[b+164>>2]=1065353216;c[b+168>>2]=1065353216;c[b+172>>2]=1065353216;g[b+176>>2]=0.0;c[b+180>>2]=0;g[b+184>>2]=999999984306749440.0;c[b+188>>2]=0;c[b+188+4>>2]=0;c[b+188+8>>2]=0;c[b+188+12>>2]=0;c[b+204>>2]=1;c[b+208>>2]=-1;c[b+212>>2]=-1;c[b+216>>2]=1;g[b+220>>2]=0.0;g[b+224>>2]=.5;g[b+228>>2]=0.0;g[b+232>>2]=0.0;c[b+240>>2]=0;g[b+244>>2]=1.0;c[b+248>>2]=0;c[b+248+4>>2]=0;c[b+248+8>>2]=0;c[b+248+12>>2]=0;c[b+4>>2]=1065353216;c[b+8>>2]=0;c[b+8+4>>2]=0;c[b+8+8>>2]=0;c[b+8+12>>2]=0;c[b+24>>2]=1065353216;c[b+28>>2]=0;c[b+28+4>>2]=0;c[b+28+8>>2]=0;c[b+28+12>>2]=0;c[b+44>>2]=1065353216;c[b+48>>2]=0;c[b+48+4>>2]=0;c[b+48+8>>2]=0;c[b+48+12>>2]=0;c[b+48+16>>2]=0;a[b+280>>0]=1;c[b+276>>2]=0;c[b+268>>2]=0;c[b+272>>2]=0;c[b+236>>2]=4;c[b>>2]=7896;c[7182]=(c[7182]|0)+1;d=xb(95)|0;if(!d){e=0;Th(e);d=b+284|0;c[d>>2]=e;return b|0}c[(d+4+15&-16)+-4>>2]=d;d=d+4+15&-16;Th(d);e=b+284|0;c[e>>2]=d;return b|0}function lh(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var h=0,i=0.0,j=0.0,k=0.0,l=0.0;h=sa;sa=sa+96|0;g[h+4>>2]=1.0;c[h+8>>2]=0;b[h+12>>1]=1;b[h+14>>1]=-1;c[h+16>>2]=0;c[h>>2]=5536;c[h+20>>2]=c[d>>2];c[h+20+4>>2]=c[d+4>>2];c[h+20+8>>2]=c[d+8>>2];c[h+20+12>>2]=c[d+12>>2];c[h+36>>2]=c[e>>2];c[h+36+4>>2]=c[e+4>>2];c[h+36+8>>2]=c[e+8>>2];c[h+36+12>>2]=c[e+12>>2];a=c[a+4>>2]|0;ab[c[(c[a>>2]|0)+32>>2]&127](a,d,e,h);a=c[h+8>>2]|0;if(!a){f=0;sa=h;return f|0}if(!(c[a+236>>2]&2)){f=0;sa=h;return f|0}if(c[a+204>>2]&4|0){f=0;sa=h;return f|0}c[f>>2]=c[h+68>>2];c[f+4>>2]=c[h+68+4>>2];c[f+8>>2]=c[h+68+8>>2];c[f+12>>2]=c[h+68+12>>2];c[f+16>>2]=c[h+52>>2];c[f+16+4>>2]=c[h+52+4>>2];c[f+16+8>>2]=c[h+52+8>>2];c[f+16+12>>2]=c[h+52+12>>2];l=+g[f+16>>2];k=+g[f+20>>2];j=+g[f+24>>2];i=1.0/+x(+(l*l+k*k+j*j));g[f+16>>2]=l*i;g[f+20>>2]=k*i;g[f+24>>2]=j*i;c[f+32>>2]=c[h+4>>2];f=a;sa=h;return f|0}function mh(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;Pa[c[(c[b>>2]|0)+32>>2]&511](b);e=Ja[c[(c[b>>2]|0)+16>>2]&63](b,104,1)|0;d=c[e+8>>2]|0;f=d;g=f+104|0;do{c[f>>2]=0;f=f+4|0}while((f|0)<(g|0));c[d+88>>2]=c[a+248>>2];c[d+92>>2]=c[a+252>>2];c[d+96>>2]=c[a+256>>2];c[d+100>>2]=c[a+260>>2];c[d>>2]=c[a+92>>2];c[d+4>>2]=c[a+96>>2];c[d+8>>2]=c[a+100>>2];c[d+12>>2]=c[a+104>>2];c[d+16>>2]=c[a+108>>2];c[d+20>>2]=c[a+116>>2];c[d+24>>2]=c[a+120>>2];c[d+28>>2]=c[a+124>>2];c[d+32>>2]=c[a+128>>2];c[d+36>>2]=c[a+132>>2];c[d+40>>2]=c[a+140>>2];c[d+44>>2]=c[a+144>>2];c[d+48>>2]=c[a+148>>2];c[d+52>>2]=c[a+152>>2];c[d+56>>2]=c[a+168>>2];c[d+60>>2]=c[a+172>>2];c[d+64>>2]=c[a+112>>2];c[d+68>>2]=c[a+156>>2];c[d+72>>2]=c[a+160>>2];c[d+76>>2]=c[a+164>>2];c[d+80>>2]=c[a+136>>2];eb[c[(c[b>>2]|0)+20>>2]&31](b,e,16580,1145853764,d);wi(a,b);Ac(a,b);Pa[c[(c[b>>2]|0)+36>>2]&511](b);return}function nh(b,d){b=b|0;d=d|0;if((c[b+16>>2]|0)!=(0-(c[b+76>>2]|0)|0))return;d=c[b+4>>2]|0;if(d|0)Gm(b+4|0,d);d=c[b+8>>2]|0;if(d|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+8>>2]=0;c[b+12>>2]=-1;d=c[b+36>>2]|0;if(d|0){if(a[b+40>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+36>>2]=0}a[b+40>>0]=1;c[b+36>>2]=0;c[b+28>>2]=0;c[b+32>>2]=0;c[b+20>>2]=0;d=c[b+64>>2]|0;if(d|0)Gm(b+64|0,d);d=c[b+68>>2]|0;if(d|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+68>>2]=0;c[b+72>>2]=-1;d=c[b+96>>2]|0;if(d|0){if(a[b+100>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+96>>2]=0}a[b+100>>0]=1;c[b+96>>2]=0;c[b+88>>2]=0;c[b+92>>2]=0;c[b+80>>2]=0;a[b+193>>0]=0;a[b+194>>0]=1;c[b+144>>2]=0;c[b+164>>2]=0;c[b+148>>2]=1;c[b+152>>2]=0;c[b+156>>2]=10;c[b+160>>2]=1;c[b+124>>2]=0;c[b+124+4>>2]=0;c[b+124+8>>2]=0;c[b+168>>2]=0;c[b+168+4>>2]=0;c[b+168+8>>2]=0;c[b+168+12>>2]=0;c[b+168+16>>2]=0;c[b+168+20>>2]=0;return}function oh(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;l=sa;sa=sa+48|0;g=l;h=g+44|0;do{c[g>>2]=0;g=g+4|0}while((g|0)<(h|0));if(!d)j=c[c[b+880>>2]>>2]|0;else j=d;d=c[b+732>>2]|0;if((d|0)==(c[b+736>>2]|0)?(k=(d|0)==0?1:d<<1,(d|0)<(k|0)):0){if(!k)i=0;else{c[7182]=(c[7182]|0)+1;d=xb((k*52|3)+16|0)|0;if(!d)d=0;else{c[(d+4+15&-16)+-4>>2]=d;d=d+4+15&-16}i=d;d=c[b+732>>2]|0}if((d|0)>0){e=0;do{g=i+(e*52|0)|0;f=(c[b+740>>2]|0)+(e*52|0)|0;h=g+52|0;do{c[g>>2]=c[f>>2];g=g+4|0;f=f+4|0}while((g|0)<(h|0));e=e+1|0}while((e|0)!=(d|0))}d=c[b+740>>2]|0;if(d|0){if(a[b+744>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+740>>2]=0}a[b+744>>0]=1;c[b+740>>2]=i;c[b+736>>2]=k;d=c[b+732>>2]|0}g=c[b+740>>2]|0;c[g+(d*52|0)>>2]=0;c[g+(d*52|0)+4>>2]=j;g=g+(d*52|0)+8|0;f=l;h=g+44|0;do{c[g>>2]=c[f>>2];g=g+4|0;f=f+4|0}while((g|0)<(h|0));c[b+732>>2]=(c[b+732>>2]|0)+1;sa=l;return}function ph(a,b){a=a|0;b=b|0;var d=0,e=0,f=0.0,h=0.0;e=sa;sa=sa+32|0;d=c[b+388>>2]|0;switch(c[a+388>>2]&48&d&63){case 32:{if((a|0)==(b|0)&(d&64|0)==0){sa=e;return}g[e+4>>2]=1.0;c[e+8+4>>2]=0;c[e+8+4+4>>2]=0;c[e+8+4+8>>2]=0;c[e>>2]=6300;c[e+8>>2]=c[a+456>>2];d=c[a+192>>2]|0;h=+va[c[(c[d>>2]|0)+48>>2]&15](d);d=c[b+192>>2]|0;g[e+12>>2]=h+ +va[c[(c[d>>2]|0)+48>>2]&15](d);h=+g[a+316>>2];f=+g[b+316>>2];g[e+16>>2]=h>2]=a;c[e+28>>2]=b;Od(c[a+1048>>2]|0,c[b+1048>>2]|0,e);sa=e;return}case 16:{if((a|0)==(b|0)){sa=e;return}c[e>>2]=6336;d=c[a+192>>2]|0;h=+va[c[(c[d>>2]|0)+48>>2]&15](d);d=c[b+192>>2]|0;g[e+12>>2]=h+ +va[c[(c[d>>2]|0)+48>>2]&15](d);c[e+4>>2]=a;c[e+8>>2]=b;Od(c[a+928>>2]|0,c[b+988>>2]|0,e);c[e+4>>2]=b;c[e+8>>2]=a;Od(c[b+928>>2]|0,c[a+988>>2]|0,e);sa=e;return}default:{sa=e;return}}}function qh(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0.0,h=0.0,i=0,j=0.0;i=sa;sa=sa+32|0;c[i+16>>2]=c[d>>2];c[i+16+4>>2]=c[d+4>>2];c[i+16+8>>2]=c[d+8>>2];c[i+16+12>>2]=c[d+12>>2];f=+g[i+16>>2];h=+g[i+16+4>>2];e=+g[i+16+8>>2];if(f*f+h*h+e*e<1.4210854715202004e-14){c[i+16>>2]=-1082130432;c[i+16+4>>2]=-1082130432;c[i+16+8>>2]=-1082130432;g[i+16+12>>2]=0.0;f=-1.0;h=-1.0;e=-1.0}j=1.0/+x(+(f*f+h*h+e*e));g[i+16>>2]=f*j;g[i+16+4>>2]=h*j;g[i+16+8>>2]=e*j;Nc(i,b,i+16|0);switch(c[b+4>>2]|0){case 8:{e=+g[b+28>>2]*+g[b+12>>2];break}case 0:{e=+g[b+44>>2];break}case 1:{e=+g[b+44>>2];break}case 13:{e=+g[b+44>>2];break}case 11:{e=+g[b+44>>2];break}case 10:{e=+g[b+44>>2];break}case 4:case 5:{e=+g[b+44>>2];break}default:e=+va[c[(c[b>>2]|0)+48>>2]&15](b)}h=e*+g[i+16+4>>2]+ +g[i+4>>2];j=e*+g[i+16+8>>2]+ +g[i+8>>2];g[a>>2]=e*+g[i+16>>2]+ +g[i>>2];g[a+4>>2]=h;g[a+8>>2]=j;g[a+12>>2]=0.0;sa=i;return}function rh(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0.0,h=0,i=0.0,k=0,l=0,m=0,n=0.0;l=sa;sa=sa+80|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;e=+g[d>>2];f=+g[d+4>>2];i=+g[d+8>>2];if(e*e+f*f+i*i<9.999999747378752e-05){k=1065353216;h=0;e=0.0;d=0}else{n=1.0/+x(+(e*e+f*f+i*i));k=(g[j>>2]=e*n,c[j>>2]|0);m=(g[j>>2]=f*n,c[j>>2]|0);h=(g[j>>2]=i*n,c[j>>2]|0);e=+g[d+12>>2];d=m}c[l+32>>2]=10732;m=l+32+4|0;c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=0;c[m+12>>2]=0;g[l+32+20>>2]=-999999984306749440.0;c[l+32+24>>2]=k;c[l+32+28>>2]=d;c[l+32+32>>2]=h;g[l+32+36>>2]=e;c[l+16>>2]=1566444395;c[l+16+4>>2]=1566444395;c[l+16+8>>2]=1566444395;g[l+16+12>>2]=0.0;b=c[b+92>>2]|0;k=c[(c[b>>2]|0)+8>>2]|0;g[l>>2]=-999999984306749440.0;g[l+4>>2]=-999999984306749440.0;g[l+8>>2]=-999999984306749440.0;g[l+12>>2]=0.0;ab[k&127](b,l+32|0,l,l+16|0);c[a>>2]=c[m>>2];c[a+4>>2]=c[m+4>>2];c[a+8>>2]=c[m+8>>2];c[a+12>>2]=c[m+12>>2];sa=l;return}function sh(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;e=Ha[c[(c[d>>2]|0)+40>>2]&31](d,a)|0;g=Ha[c[(c[d>>2]|0)+28>>2]&31](d,e)|0;c[b>>2]=g;if(g|0)Va[c[(c[d>>2]|0)+48>>2]&127](d,e);c[b+4>>2]=c[a+4>>2];c[b+28>>2]=c[a+28>>2];c[b+32>>2]=c[a+32>>2];c[b+36>>2]=c[a+36>>2];c[b+40>>2]=c[a+40>>2];c[b+12>>2]=c[a+12>>2];c[b+16>>2]=c[a+16>>2];c[b+20>>2]=c[a+20>>2];c[b+24>>2]=c[a+24>>2];c[b+44>>2]=c[a+44>>2];f=c[a+96>>2]|0;c[b+60>>2]=f;if(!f){c[b+52>>2]=0;c[b+56>>2]=0;return 21626}c[b+52>>2]=Ha[c[(c[d>>2]|0)+28>>2]&31](d,c[a+104>>2]|0)|0;c[b+56>>2]=0;g=Ja[c[(c[d>>2]|0)+16>>2]&63](d,16,f)|0;if((f|0)>0){e=c[a+104>>2]|0;b=c[g+8>>2]|0;a=0;while(1){c[b>>2]=c[e+(a<<4)>>2];c[b+4>>2]=c[e+(a<<4)+4>>2];c[b+8>>2]=c[e+(a<<4)+8>>2];c[b+12>>2]=c[e+(a<<4)+12>>2];a=a+1|0;if((a|0)==(f|0))break;else b=b+16|0}}else e=c[a+104>>2]|0;eb[c[(c[d>>2]|0)+20>>2]&31](d,g,23625,1497453121,e);return 21626}function th(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0.0,h=0,i=0.0,j=0.0,k=0.0,l=0,m=0.0;k=+g[b+60>>2]*.5;l=c[b+68>>2]|0;f=+g[d>>2];i=+g[d+4>>2];j=+g[d+8>>2];j=+x(+(f*f+i*i+j*j));h=c[b+64>>2]|0;do if(!(+g[d+(l<<2)>>2]>+g[b+52>>2]*j)){f=+g[d+(h<<2)>>2];e=c[b+72>>2]|0;i=+g[d+(e<<2)>>2];j=+x(+(f*f+i*i));if(j>1.1920928955078125e-07){j=+g[b+56>>2]/j;g[a+(h<<2)>>2]=f*j;g[a+(l<<2)>>2]=-k;f=i*j;break}else{g[a+(h<<2)>>2]=0.0;g[a+(l<<2)>>2]=-k;f=0.0;break}}else{g[a+(h<<2)>>2]=0.0;g[a+(l<<2)>>2]=k;f=0.0;e=c[b+72>>2]|0}while(0);g[a+(e<<2)>>2]=f;if(!(+va[c[(c[b>>2]|0)+48>>2]&15](b)!=0.0))return;i=+g[d>>2];k=+g[d+4>>2];j=+g[d+8>>2];m=i*i+k*k+j*j<1.4210854715202004e-14?-1.0:i;f=i*i+k*k+j*j<1.4210854715202004e-14?-1.0:k;j=i*i+k*k+j*j<1.4210854715202004e-14?-1.0:j;k=1.0/+x(+(j*j+(m*m+f*f)));i=+va[c[(c[b>>2]|0)+48>>2]&15](b);g[a>>2]=+g[a>>2]+i*m*k;g[a+4>>2]=+g[a+4>>2]+i*f*k;g[a+8>>2]=+g[a+8>>2]+i*j*k;return}function uh(a,b,d){a=a|0;b=b|0;d=d|0;c[a+300>>2]=c[b>>2];c[a+300+4>>2]=c[b+4>>2];c[a+300+8>>2]=c[b+8>>2];c[a+300+12>>2]=c[b+12>>2];c[a+316>>2]=c[b+16>>2];c[a+316+4>>2]=c[b+16+4>>2];c[a+316+8>>2]=c[b+16+8>>2];c[a+316+12>>2]=c[b+16+12>>2];c[a+332>>2]=c[b+32>>2];c[a+332+4>>2]=c[b+32+4>>2];c[a+332+8>>2]=c[b+32+8>>2];c[a+332+12>>2]=c[b+32+12>>2];c[a+348>>2]=c[b+48>>2];c[a+348+4>>2]=c[b+48+4>>2];c[a+348+8>>2]=c[b+48+8>>2];c[a+348+12>>2]=c[b+48+12>>2];c[a+364>>2]=c[d>>2];c[a+364+4>>2]=c[d+4>>2];c[a+364+8>>2]=c[d+8>>2];c[a+364+12>>2]=c[d+12>>2];c[a+380>>2]=c[d+16>>2];c[a+380+4>>2]=c[d+16+4>>2];c[a+380+8>>2]=c[d+16+8>>2];c[a+380+12>>2]=c[d+16+12>>2];c[a+396>>2]=c[d+32>>2];c[a+396+4>>2]=c[d+32+4>>2];c[a+396+8>>2]=c[d+32+8>>2];c[a+396+12>>2]=c[d+32+12>>2];c[a+412>>2]=c[d+48>>2];c[a+412+4>>2]=c[d+48+4>>2];c[a+412+8>>2]=c[d+48+8>>2];c[a+412+12>>2]=c[d+48+12>>2];Pa[c[(c[a>>2]|0)+8>>2]&511](a);return}function vh(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0;n=c[a+4>>2]|0;a=c[a+64>>2]|0;do if(!n)if(!a){e=0.0;m=0.0;j=0.0;l=0.0;i=0.0;k=0.0;h=0.0;f=0.0}else{e=+g[a>>2];m=+g[a+12>>2];j=+g[a+16>>2];l=+g[a+20>>2];i=+g[a+24>>2];k=+g[a+28>>2];h=+g[a+4>>2];f=+g[a+8>>2]}else{e=+g[n>>2];if(!a){m=+g[n+12>>2];j=+g[n+16>>2];l=+g[n+20>>2];i=+g[n+24>>2];k=+g[n+28>>2];h=+g[n+4>>2];f=+g[n+8>>2];break}k=+g[a>>2];e=e>2];j=+g[a+16>>2];j=k>j?k:j;k=+g[n+4>>2];h=+g[a+4>>2];h=k>2];l=+g[a+20>>2];l=k>l?k:l;k=+g[n+8>>2];f=+g[a+8>>2];f=k>2];i=+g[a+24>>2];if(k>i){m=0.0;i=k;k=0.0}else{m=0.0;k=0.0}}while(0);g[b>>2]=e;g[b+4>>2]=h;g[b+8>>2]=f;g[b+12>>2]=m;g[d>>2]=j;g[d+4>>2]=l;g[d+8>>2]=i;g[d+12>>2]=k;return}function wh(a,b){a=a|0;b=b|0;var c=0,d=0.0,e=0.0,f=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0;c=sa;sa=sa+48|0;Og(a+364|0,c+16|0);h=-+g[c+16>>2];e=-+g[c+16+4>>2];l=-+g[c+16+8>>2];k=+g[c+16+12>>2];f=+g[b>>2];m=+g[b+12>>2];j=+g[b+8>>2];i=+g[b+4>>2];Og(a+300|0,c);o=+g[c>>2];p=+g[c+12>>2];d=+g[c+8>>2];n=+g[c+4>>2];g[c+32>>2]=(k*m-f*h-i*e-j*l)*o+(k*f+m*h+j*e-i*l)*p+(f*l+(m*e+k*i)-j*h)*d-(m*l+k*j+i*h-f*e)*n;g[c+32+4>>2]=o*(m*l+k*j+i*h-f*e)+(p*(f*l+(m*e+k*i)-j*h)+(k*m-f*h-i*e-j*l)*n)-(k*f+m*h+j*e-i*l)*d;g[c+32+8>>2]=(m*l+k*j+i*h-f*e)*p+(k*m-f*h-i*e-j*l)*d+(k*f+m*h+j*e-i*l)*n-o*(f*l+(m*e+k*i)-j*h);g[c+32+12>>2]=(k*m-f*h-i*e-j*l)*p-(k*f+m*h+j*e-i*l)*o-(f*l+(m*e+k*i)-j*h)*n-(m*l+k*j+i*h-f*e)*d;ee(a,c+32|0);sa=c;return}function xh(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;do if(!(RC(b,c[d+8>>2]|0)|0)){if(!(RC(b,c[d>>2]|0)|0)){b=c[b+8>>2]|0;eb[c[(c[b>>2]|0)+24>>2]&31](b,d,e,f,g);break}if((c[d+16>>2]|0)!=(e|0)?(c[d+20>>2]|0)!=(e|0):0){c[d+32>>2]=f;if((c[d+44>>2]|0)==4)break;a[d+52>>0]=0;a[d+53>>0]=0;f=c[b+8>>2]|0;gb[c[(c[f>>2]|0)+20>>2]&7](f,d,e,e,1,g);if(a[d+53>>0]|0)if(!(a[d+52>>0]|0)){b=1;f=11}else f=15;else{b=0;f=11}do if((f|0)==11){c[d+20>>2]=e;c[d+40>>2]=(c[d+40>>2]|0)+1;if((c[d+36>>2]|0)==1?(c[d+24>>2]|0)==2:0){a[d+54>>0]=1;if(b){f=15;break}else{b=4;break}}if(b)f=15;else b=4}while(0);if((f|0)==15)b=3;c[d+44>>2]=b;break}if((f|0)==1)c[d+32>>2]=1}else Er(d,e,f);while(0);return}function yh(b){b=b|0;var d=0;d=c[b>>2]|0;if(d|0)Gm(b,d);d=c[b+4>>2]|0;if(d|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+4>>2]=0;c[b+8>>2]=-1;d=c[b+32>>2]|0;if(d|0){if(a[b+36>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+32>>2]=0}a[b+36>>0]=1;c[b+32>>2]=0;c[b+24>>2]=0;c[b+28>>2]=0;c[b+16>>2]=0;d=c[b+52>>2]|0;if(!d){a[b+56>>0]=1;c[b+52>>2]=0;c[b+44>>2]=0;c[b+48>>2]=0;a[b+36>>0]=1;c[b+32>>2]=0;c[b+24>>2]=0;c[b+28>>2]=0;return}if(!(a[b+56>>0]|0)){a[b+56>>0]=1;c[b+52>>2]=0;c[b+44>>2]=0;c[b+48>>2]=0;a[b+36>>0]=1;c[b+32>>2]=0;c[b+24>>2]=0;c[b+28>>2]=0;return}c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0);d=c[b+32>>2]|0;a[b+56>>0]=1;c[b+52>>2]=0;c[b+44>>2]=0;c[b+48>>2]=0;if(!d){a[b+36>>0]=1;c[b+32>>2]=0;c[b+24>>2]=0;c[b+28>>2]=0;return}if(a[b+36>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+32>>2]=0;a[b+36>>0]=1;c[b+32>>2]=0;c[b+24>>2]=0;c[b+28>>2]=0;return}function zh(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;if(!e)e=c[b+188>>2]|0;j=c[d>>2]|0;f=c[b+268>>2]|0;a:do if((f|0)>0){h=c[b+276>>2]|0;g=0;while(1){if((c[h+(g<<2)>>2]|0)==(j|0))break;g=g+1|0;if((g|0)>=(f|0))break a}if((g|0)!=(f|0))return}while(0);if((f|0)==(c[b+272>>2]|0)?(i=(f|0)==0?1:f<<1,(f|0)<(i|0)):0){if(!i)h=0;else{c[7182]=(c[7182]|0)+1;f=xb((i<<2|3)+16|0)|0;if(!f)f=0;else{c[(f+4+15&-16)+-4>>2]=f;f=f+4+15&-16}h=f;f=c[b+268>>2]|0}if((f|0)>0){g=0;do{c[h+(g<<2)>>2]=c[(c[b+276>>2]|0)+(g<<2)>>2];g=g+1|0}while((g|0)!=(f|0))}g=c[b+276>>2]|0;if(g){if(a[b+280>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[g+-4>>2]|0);f=c[b+268>>2]|0}c[b+276>>2]=0}a[b+280>>0]=1;c[b+276>>2]=h;c[b+272>>2]=i}c[(c[b+276>>2]|0)+(f<<2)>>2]=j;c[b+268>>2]=f+1;b=c[b+284>>2]|0;Ja[c[(c[b>>2]|0)+8>>2]&63](b,e,d)|0;return}function Ah(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var h=0,i=0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0;i=sa;sa=sa+32|0;h=Bs()|0;c[h+4>>2]=11;c[h+8>>2]=-1;c[h+12>>2]=-1;g[h+16>>2]=3402823466385288598117041.0e14;a[h+20>>0]=1;a[h+21>>0]=0;c[h+24>>2]=-1;c[h+28>>2]=b;c[h+32>>2]=d;g[h+36>>2]=0.0;g[h+40>>2]=.30000001192092896;c[h+44>>2]=0;c[h>>2]=7136;c[h+48>>2]=c[e+48>>2];c[h+48+4>>2]=c[e+48+4>>2];c[h+48+8>>2]=c[e+48+8>>2];c[h+48+12>>2]=c[e+48+12>>2];c[h+64>>2]=c[f+48>>2];c[h+64+4>>2]=c[f+48+4>>2];c[h+64+8>>2]=c[f+48+8>>2];c[h+64+12>>2]=c[f+48+12>>2];Og(e,i+16|0);Og(f,i);n=-+g[i>>2];l=-+g[i+4>>2];j=-+g[i+8>>2];q=+g[i+12>>2];p=+g[i+16+12>>2];o=+g[i+16>>2];m=+g[i+16+4>>2];k=+g[i+16+8>>2];g[h+80>>2]=p*n+q*o+m*j-k*l;g[h+84>>2]=k*n+(p*l+q*m)-o*j;g[h+88>>2]=o*l+(p*j+q*k)-m*n;g[h+92>>2]=q*p-o*n-m*l-k*j;sa=i;return h|0}function Bh(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;if((e|0)>=8192){ja(b|0,d|0,e|0)|0;return b|0}h=b|0;g=b+e|0;if((b&3)==(d&3)){while(b&3){if(!e)return h|0;a[b>>0]=a[d>>0]|0;b=b+1|0;d=d+1|0;e=e-1|0}e=g&-4|0;f=e-64|0;while((b|0)<=(f|0)){c[b>>2]=c[d>>2];c[b+4>>2]=c[d+4>>2];c[b+8>>2]=c[d+8>>2];c[b+12>>2]=c[d+12>>2];c[b+16>>2]=c[d+16>>2];c[b+20>>2]=c[d+20>>2];c[b+24>>2]=c[d+24>>2];c[b+28>>2]=c[d+28>>2];c[b+32>>2]=c[d+32>>2];c[b+36>>2]=c[d+36>>2];c[b+40>>2]=c[d+40>>2];c[b+44>>2]=c[d+44>>2];c[b+48>>2]=c[d+48>>2];c[b+52>>2]=c[d+52>>2];c[b+56>>2]=c[d+56>>2];c[b+60>>2]=c[d+60>>2];b=b+64|0;d=d+64|0}while((b|0)<(e|0)){c[b>>2]=c[d>>2];b=b+4|0;d=d+4|0}}else{e=g-4|0;while((b|0)<(e|0)){a[b>>0]=a[d>>0]|0;a[b+1>>0]=a[d+1>>0]|0;a[b+2>>0]=a[d+2>>0]|0;a[b+3>>0]=a[d+3>>0]|0;b=b+4|0;d=d+4|0}}while((b|0)<(g|0)){a[b>>0]=a[d>>0]|0;b=b+1|0;d=d+1|0}return h|0}function Ch(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;if(Fa[c[(c[d>>2]|0)+16>>2]&127](d)|0)return;i=c[b+712>>2]|0;h=Fa[c[(c[d>>2]|0)+36>>2]&127](d)|0;if(Fa[c[(c[d>>2]|0)+8>>2]&127](d)|0?(e=Fa[c[(c[d>>2]|0)+20>>2]&127](d)|0,g=Fa[c[(c[d>>2]|0)+24>>2]&127](d)|0,(i|0)>0):0){f=c[b+720>>2]|0;a=h+(e<<2)|0;e=0;while(1){k=c[f+(e*104|0)+12>>2]|0;j=c[f+(e*104|0)+16>>2]|0;c[a>>2]=c[f+(e*104|0)+8>>2];c[a+4>>2]=k;c[a+8>>2]=j;e=e+1|0;if((e|0)==(i|0))break;else a=a+(g<<2)|0}}if(!(Fa[c[(c[d>>2]|0)+12>>2]&127](d)|0))return;a=Fa[c[(c[d>>2]|0)+28>>2]&127](d)|0;g=Fa[c[(c[d>>2]|0)+32>>2]&127](d)|0;if((i|0)<=0)return;f=c[b+720>>2]|0;a=h+(a<<2)|0;e=0;while(1){j=c[f+(e*104|0)+76>>2]|0;k=c[f+(e*104|0)+80>>2]|0;c[a>>2]=c[f+(e*104|0)+72>>2];c[a+4>>2]=j;c[a+8>>2]=k;e=e+1|0;if((e|0)==(i|0))break;else a=a+(g<<2)|0}return}function Dh(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;c[b>>2]=12260;d=c[b+56>>2]|0;if(d|0){if(a[b+60>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+56>>2]=0}a[b+60>>0]=1;c[b+56>>2]=0;c[b+48>>2]=0;c[b+52>>2]=0;f=c[b+28>>2]|0;if((f|0)>0){d=0;do{g=c[b+36>>2]|0;h=g+(d*36|0)+4|0;i=g+(d*36|0)+12|0;j=c[i>>2]|0;e=g+(d*36|0)+16|0;if(j|0){if(a[e>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[j+-4>>2]|0)}c[i>>2]=0}a[e>>0]=1;c[i>>2]=0;c[h>>2]=0;c[g+(d*36|0)+8>>2]=0;d=d+1|0}while((d|0)!=(f|0))}d=c[b+36>>2]|0;if(d|0){if(a[b+40>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+36>>2]=0}a[b+40>>0]=1;c[b+36>>2]=0;c[b+28>>2]=0;c[b+32>>2]=0;d=c[b+16>>2]|0;if(!d){a[b+20>>0]=1;c[b+16>>2]=0;c[b+8>>2]=0;b=b+12|0;c[b>>2]=0;return}if(a[b+20>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+16>>2]=0;a[b+20>>0]=1;c[b+16>>2]=0;c[b+8>>2]=0;b=b+12|0;c[b>>2]=0;return}function Eh(b){b=b|0;var d=0;c[b>>2]=11360;d=c[b+156>>2]|0;if(d|0){if(a[b+160>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+156>>2]=0}a[b+160>>0]=1;c[b+156>>2]=0;c[b+148>>2]=0;c[b+152>>2]=0;d=c[b+136>>2]|0;if(d|0){if(a[b+140>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+136>>2]=0}a[b+140>>0]=1;c[b+136>>2]=0;c[b+128>>2]=0;c[b+132>>2]=0;d=c[b+116>>2]|0;if(d|0){if(a[b+120>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+116>>2]=0}a[b+120>>0]=1;c[b+116>>2]=0;c[b+108>>2]=0;c[b+112>>2]=0;d=c[b+96>>2]|0;if(d|0){if(a[b+100>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+96>>2]=0}a[b+100>>0]=1;c[b+96>>2]=0;c[b+88>>2]=0;c[b+92>>2]=0;c[b>>2]=12276;d=c[b+32>>2]|0;if(!d){a[b+36>>0]=1;c[b+32>>2]=0;c[b+24>>2]=0;b=b+28|0;c[b>>2]=0;return}if(a[b+36>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+32>>2]=0;a[b+36>>0]=1;c[b+32>>2]=0;c[b+24>>2]=0;b=b+28|0;c[b>>2]=0;return}function Fh(b){b=b|0;var d=0;c[b>>2]=11920;d=c[b+160>>2]|0;if(d|0){if(a[b+164>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+160>>2]=0}a[b+164>>0]=1;c[b+160>>2]=0;c[b+152>>2]=0;c[b+156>>2]=0;d=c[b+136>>2]|0;if(d|0){if(a[b+140>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+136>>2]=0}a[b+140>>0]=1;c[b+136>>2]=0;c[b+128>>2]=0;c[b+132>>2]=0;d=c[b+116>>2]|0;if(d|0){if(a[b+120>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+116>>2]=0}a[b+120>>0]=1;c[b+116>>2]=0;c[b+108>>2]=0;c[b+112>>2]=0;d=c[b+96>>2]|0;if(d|0){if(a[b+100>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+96>>2]=0}a[b+100>>0]=1;c[b+96>>2]=0;c[b+88>>2]=0;c[b+92>>2]=0;d=c[b+76>>2]|0;if(!d){a[b+80>>0]=1;c[b+76>>2]=0;c[b+68>>2]=0;b=b+72|0;c[b>>2]=0;return}if(a[b+80>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+76>>2]=0;a[b+80>>0]=1;c[b+76>>2]=0;c[b+68>>2]=0;b=b+72|0;c[b>>2]=0;return}function Gh(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,h=0.0,i=0,j=0,k=0.0,l=0.0,m=0.0,n=0,o=0;o=sa;sa=sa+16|0;if((e|0)<=0){sa=o;return}n=0;do{h=+g[a+60>>2]*.5;i=c[a+68>>2]|0;k=+g[b+(n<<4)>>2];l=+g[b+(n<<4)+4>>2];m=+g[b+(n<<4)+8>>2];m=+x(+(k*k+l*l+m*m));j=c[a+64>>2]|0;do if(!(+g[b+(n<<4)+(i<<2)>>2]>+g[a+52>>2]*m)){k=+g[b+(n<<4)+(j<<2)>>2];f=c[a+72>>2]|0;l=+g[b+(n<<4)+(f<<2)>>2];m=+x(+(k*k+l*l));if(m>1.1920928955078125e-07){m=+g[a+56>>2]/m;g[o+(j<<2)>>2]=k*m;g[o+(i<<2)>>2]=-h;h=l*m;break}else{g[o+(j<<2)>>2]=0.0;g[o+(i<<2)>>2]=-h;h=0.0;break}}else{g[o+(j<<2)>>2]=0.0;g[o+(i<<2)>>2]=h;h=0.0;f=c[a+72>>2]|0}while(0);g[o+(f<<2)>>2]=h;j=d+(n<<4)|0;c[j>>2]=c[o>>2];c[j+4>>2]=c[o+4>>2];c[j+8>>2]=c[o+8>>2];c[j+12>>2]=c[o+12>>2];n=n+1|0}while((n|0)!=(e|0));sa=o;return}function Hh(b){b=b|0;var d=0;c[b>>2]=7628;d=c[b+144>>2]|0;if(d|0){if(a[b+148>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+144>>2]=0}a[b+148>>0]=1;c[b+144>>2]=0;c[b+136>>2]=0;c[b+140>>2]=0;d=c[b+76>>2]|0;if(d|0){if(a[b+80>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+76>>2]=0}a[b+80>>0]=1;c[b+76>>2]=0;c[b+68>>2]=0;c[b+72>>2]=0;d=c[b+56>>2]|0;if(d|0){if(a[b+60>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+56>>2]=0}a[b+60>>0]=1;c[b+56>>2]=0;c[b+48>>2]=0;c[b+52>>2]=0;d=c[b+36>>2]|0;if(d|0){if(a[b+40>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+36>>2]=0}a[b+40>>0]=1;c[b+36>>2]=0;c[b+28>>2]=0;c[b+32>>2]=0;d=c[b+16>>2]|0;if(!d){a[b+20>>0]=1;c[b+16>>2]=0;c[b+8>>2]=0;b=b+12|0;c[b>>2]=0;return}if(a[b+20>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+16>>2]=0;a[b+20>>0]=1;c[b+16>>2]=0;c[b+8>>2]=0;b=b+12|0;c[b>>2]=0;return}function Ih(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,x=0.0;o=(+g[a+32>>2]-+g[a+16>>2])*+g[a+108>>2]*.5;m=(+g[a+36>>2]-+g[a+20>>2])*+g[a+112>>2]*.5;k=(+g[a+40>>2]-+g[a+24>>2])*+g[a+116>>2]*.5;t=+w(+(+g[b>>2]));s=+w(+(+g[b+4>>2]));r=+w(+(+g[b+8>>2]));n=+w(+(+g[b+16>>2]));l=+w(+(+g[b+20>>2]));j=+w(+(+g[b+24>>2]));x=+w(+(+g[b+32>>2]));v=+w(+(+g[b+36>>2]));f=+w(+(+g[b+40>>2]));u=+g[b+48>>2];p=+g[b+52>>2];h=+g[b+56>>2];q=+va[c[(c[a>>2]|0)+48>>2]&15](a);i=+va[c[(c[a>>2]|0)+48>>2]&15](a);f=o*x+m*v+k*f+ +va[c[(c[a>>2]|0)+48>>2]&15](a);g[d>>2]=u-(o*t+m*s+k*r+q);g[d+4>>2]=p-(o*n+m*l+k*j+i);g[d+8>>2]=h-f;g[d+12>>2]=0.0;g[e>>2]=u+(o*t+m*s+k*r+q);g[e+4>>2]=p+(o*n+m*l+k*j+i);g[e+8>>2]=h+f;g[e+12>>2]=0.0;return}function Jh(b){b=b|0;var d=0;if((a[26664]|0)==0?mz(26664)|0:0){if((a[26616]|0)==0?mz(26616)|0:0){if((a[26624]|0)==0?mz(26624)|0:0){c[6774]=1065353216;c[6775]=0;c[6776]=0;c[6777]=0;c[6778]=0;c[6779]=1065353216;c[6780]=0;c[6781]=0;c[6782]=0;c[6783]=0;c[6784]=1065353216;g[6785]=0.0}c[6758]=c[6774];c[6759]=c[6775];c[6760]=c[6776];c[6761]=c[6777];c[6762]=c[6778];c[6763]=c[6779];c[6764]=c[6780];c[6765]=c[6781];c[6766]=c[6782];c[6767]=c[6783];c[6768]=c[6784];c[6769]=c[6785];c[6770]=0;c[6771]=0;c[6772]=0;c[6773]=0}c[6810]=c[6758];c[6811]=c[6759];c[6812]=c[6760];c[6813]=c[6761];c[6814]=c[6762];c[6815]=c[6763];c[6816]=c[6764];c[6817]=c[6765];c[6818]=c[6766];c[6819]=c[6767];c[6820]=c[6768];c[6821]=c[6769];c[6822]=c[6770];c[6823]=c[6771];c[6824]=c[6772];c[6825]=c[6773]}d=c[b+8>>2]|0;if(!d){d=c[b>>2]|0;return ((d|0)==0?27240:d+60|0)|0}else return d+4|0;return 0}function Kh(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0.0,h=0.0,i=0.0,j=0.0,k=0.0;e=c[b>>2]|0;if((e|0)==(c[a+80>>2]|0)){f=1.0;return +f}if(c[e+204>>2]&4|0){f=1.0;return +f}if((+g[a+28>>2]-+g[a+12>>2])*+g[b+8>>2]+(+g[a+32>>2]-+g[a+16>>2])*+g[b+12>>2]+(+g[a+36>>2]-+g[a+20>>2])*+g[b+16>>2]>=-+g[a+84>>2]){f=1.0;return +f}c[a+4>>2]=c[b+40>>2];c[a+76>>2]=e;if(d){c[a+44>>2]=c[b+8>>2];c[a+44+4>>2]=c[b+8+4>>2];c[a+44+8>>2]=c[b+8+8>>2];c[a+44+12>>2]=c[b+8+12>>2]}else{k=+g[b+8>>2];j=+g[b+12>>2];i=+g[b+16>>2];h=k*+g[e+20>>2]+j*+g[e+24>>2]+i*+g[e+28>>2];f=k*+g[e+36>>2]+j*+g[e+40>>2]+i*+g[e+44>>2];g[a+44>>2]=+g[e+4>>2]*k+ +g[e+8>>2]*j+ +g[e+12>>2]*i;g[a+48>>2]=h;g[a+52>>2]=f;g[a+56>>2]=0.0}c[a+60>>2]=c[b+24>>2];c[a+60+4>>2]=c[b+24+4>>2];c[a+60+8>>2]=c[b+24+8>>2];c[a+60+12>>2]=c[b+24+12>>2];k=+g[b+40>>2];return +k}function Lh(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=sa;sa=sa+48|0;e=c[a+28>>2]|0;c[i>>2]=e;e=(c[a+20>>2]|0)-e|0;c[i+4>>2]=e;c[i+8>>2]=b;c[i+12>>2]=d;c[i+16>>2]=c[a+60>>2];c[i+16+4>>2]=i;c[i+16+8>>2]=2;f=pC($(146,i+16|0)|0)|0;a:do if((e+d|0)!=(f|0)){b=2;g=e+d|0;e=i;while(1){if((f|0)<0)break;g=g-f|0;j=c[e+4>>2]|0;k=f>>>0>j>>>0;e=k?e+8|0:e;b=b+(k<<31>>31)|0;j=f-(k?j:0)|0;c[e>>2]=(c[e>>2]|0)+j;c[e+4>>2]=(c[e+4>>2]|0)-j;c[i+32>>2]=c[a+60>>2];c[i+32+4>>2]=e;c[i+32+8>>2]=b;f=pC($(146,i+32|0)|0)|0;if((g|0)==(f|0)){h=3;break a}}c[a+16>>2]=0;c[a+28>>2]=0;c[a+20>>2]=0;c[a>>2]=c[a>>2]|32;if((b|0)==2)d=0;else d=d-(c[e+4>>2]|0)|0}else h=3;while(0);if((h|0)==3){k=c[a+44>>2]|0;c[a+16>>2]=k+(c[a+48>>2]|0);c[a+28>>2]=k;c[a+20>>2]=k}sa=i;return d|0}function Mh(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;f=c[b+96>>2]|0;if((f|0)==(c[b+100>>2]|0)?(i=(f|0)==0?1:f<<1,(f|0)<(i|0)):0){if(!i)h=0;else{c[7182]=(c[7182]|0)+1;f=xb((i<<4|3)+16|0)|0;if(!f)f=0;else{c[(f+4+15&-16)+-4>>2]=f;f=f+4+15&-16}h=f;f=c[b+96>>2]|0}if((f|0)>0){g=0;do{j=h+(g<<4)|0;k=(c[b+104>>2]|0)+(g<<4)|0;c[j>>2]=c[k>>2];c[j+4>>2]=c[k+4>>2];c[j+8>>2]=c[k+8>>2];c[j+12>>2]=c[k+12>>2];g=g+1|0}while((g|0)!=(f|0))}f=c[b+104>>2]|0;if(f|0){if(a[b+108>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[f+-4>>2]|0)}c[b+104>>2]=0}a[b+108>>0]=1;c[b+104>>2]=h;c[b+100>>2]=i;f=c[b+96>>2]|0}k=(c[b+104>>2]|0)+(f<<4)|0;c[k>>2]=c[d>>2];c[k+4>>2]=c[d+4>>2];c[k+8>>2]=c[d+8>>2];c[k+12>>2]=c[d+12>>2];c[b+96>>2]=(c[b+96>>2]|0)+1;if(!e)return;Oi(b);return}function Nh(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,h=0,i=0,j=0,k=0;i=sa;sa=sa+80|0;if((e|0)<=0){sa=i;return}f=0;do{g[d+(f<<4)+12>>2]=-999999984306749440.0;f=f+1|0}while((f|0)!=(e|0));h=i+32+4|0;f=0;do{j=b+(f<<4)|0;c[i+32>>2]=10732;c[h>>2]=0;c[h+4>>2]=0;c[h+8>>2]=0;c[h+12>>2]=0;g[i+32+20>>2]=-999999984306749440.0;c[i+32+24>>2]=c[j>>2];c[i+32+24+4>>2]=c[j+4>>2];c[i+32+24+8>>2]=c[j+8>>2];c[i+32+24+12>>2]=c[j+12>>2];c[i+16>>2]=1566444395;c[i+16+4>>2]=1566444395;c[i+16+8>>2]=1566444395;g[i+16+12>>2]=0.0;j=c[a+92>>2]|0;k=c[(c[j>>2]|0)+8>>2]|0;g[i>>2]=-999999984306749440.0;g[i+4>>2]=-999999984306749440.0;g[i+8>>2]=-999999984306749440.0;g[i+12>>2]=0.0;ab[k&127](j,i+32|0,i,i+16|0);j=d+(f<<4)|0;c[j>>2]=c[h>>2];c[j+4>>2]=c[h+4>>2];c[j+8>>2]=c[h+8>>2];c[j+12>>2]=c[h+12>>2];f=f+1|0}while((f|0)<(e|0));sa=i;return}function Oh(b){b=b|0;var d=0,e=0,f=0,h=0;c[b+32>>2]=262144;d=c[b+4>>2]|0;if((d|0)<2383){if((c[b+8>>2]|0)<2383){c[7182]=(c[7182]|0)+1;e=xb(9551)|0;if(!e)h=0;else{c[(e+4+15&-16)+-4>>2]=e;h=e+4+15&-16}f=c[b+4>>2]|0;if((f|0)>0){e=0;do{c[h+(e<<2)>>2]=c[(c[b+12>>2]|0)+(e<<2)>>2];e=e+1|0}while((e|0)!=(f|0))}e=c[b+12>>2]|0;if(e|0){if(a[b+16>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[e+-4>>2]|0)}c[b+12>>2]=0}a[b+16>>0]=1;c[b+12>>2]=h;c[b+8>>2]=2383;e=b+12|0}else e=b+12|0;do{c[(c[e>>2]|0)+(d<<2)>>2]=0;d=d+1|0}while((d|0)!=2383)}c[b+4>>2]=2383;e=0;do{h=(c[b+12>>2]|0)+(e<<2)|0;d=c[h>>2]|0;c[h>>2]=0;if(d|0)do{h=d;d=c[d+280>>2]|0;GI(h)}while((d|0)!=0);e=e+1|0}while((e|0)!=2383);g[b+20>>2]=.25;c[b+24>>2]=0;c[b+28>>2]=0;c[b+36>>2]=1;c[b+40>>2]=1;return}function Ph(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=sa;sa=sa+96|0;b=c[b>>2]|0;if((b|0)==(c[a+4>>2]|0)){sa=d;return 1}e=c[a+12>>2]|0;if(!(Ha[c[(c[e>>2]|0)+8>>2]&31](e,c[b+188>>2]|0)|0)){sa=d;return 1}e=c[a+4>>2]|0;f=c[e+192>>2]|0;c[d+64>>2]=0;c[d+64+4>>2]=f;c[d+64+8>>2]=e;c[d+64+12>>2]=e+4;c[d+64+16>>2]=-1;c[d+64+20>>2]=-1;e=c[b+192>>2]|0;c[d+40>>2]=0;c[d+40+4>>2]=e;c[d+40+8>>2]=b;c[d+40+12>>2]=b+4;c[d+40+16>>2]=-1;c[d+40+20>>2]=-1;b=c[(c[a+8>>2]|0)+24>>2]|0;b=Ka[c[(c[b>>2]|0)+8>>2]&31](b,d+64|0,d+40|0,0)|0;if(b|0){f=c[a+12>>2]|0;c[d+4>>2]=0;c[d+8>>2]=d+64;c[d+12>>2]=d+40;c[d>>2]=8784;c[d+32>>2]=f;eb[c[(c[b>>2]|0)+8>>2]&31](b,d+64|0,d+40|0,(c[a+8>>2]|0)+28|0,d);Pa[c[c[b>>2]>>2]&511](b);f=c[(c[a+8>>2]|0)+24>>2]|0;Va[c[(c[f>>2]|0)+60>>2]&127](f,b)}sa=d;return 1}function Qh(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0,h=0,i=0,j=0,k=0;k=sa;sa=sa+80|0;i=c[c[a>>2]>>2]|0;h=c[c[a+4>>2]>>2]|0;if(!(Ja[c[(c[b>>2]|0)+24>>2]&63](b,i,h)|0)){sa=k;return}f=c[i+192>>2]|0;c[k+56>>2]=0;c[k+56+4>>2]=f;c[k+56+8>>2]=i;c[k+56+12>>2]=i+4;c[k+56+16>>2]=-1;c[k+56+20>>2]=-1;f=c[h+192>>2]|0;c[k+32>>2]=0;c[k+32+4>>2]=f;c[k+32+8>>2]=h;c[k+32+12>>2]=h+4;c[k+32+16>>2]=-1;c[k+32+20>>2]=-1;f=c[a+8>>2]|0;if(!f){f=Ka[c[(c[b>>2]|0)+8>>2]&31](b,k+56|0,k+32|0,0)|0;c[a+8>>2]=f;if(f|0)j=4}else j=4;if((j|0)==4){c[k>>2]=8412;c[k+4>>2]=0;c[k+8>>2]=k+56;c[k+12>>2]=k+32;if((c[d+8>>2]|0)!=1){e=+Ba[c[(c[f>>2]|0)+12>>2]&15](f,i,h,d,k);if(+g[d+12>>2]>e)g[d+12>>2]=e}else eb[c[(c[f>>2]|0)+8>>2]&31](f,k+56|0,k+32|0,d,k)}sa=k;return}function Rh(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=c[b+488>>2]|0;a:do if((e|0)>0){g=c[b+496>>2]|0;f=0;while(1){if((c[g+(f<<2)>>2]|0)==(d|0))break;f=f+1|0;if((f|0)>=(e|0))break a}if((f|0)!=(e|0)){d=b+256|0;c[d>>2]=1;return}}while(0);if((e|0)==(c[b+492>>2]|0)?(h=(e|0)==0?1:e<<1,(e|0)<(h|0)):0){if(!h)g=0;else{c[7182]=(c[7182]|0)+1;e=xb((h<<2|3)+16|0)|0;if(!e)e=0;else{c[(e+4+15&-16)+-4>>2]=e;e=e+4+15&-16}g=e;e=c[b+488>>2]|0}if((e|0)>0){f=0;do{c[g+(f<<2)>>2]=c[(c[b+496>>2]|0)+(f<<2)>>2];f=f+1|0}while((f|0)!=(e|0))}f=c[b+496>>2]|0;if(f){if(a[b+500>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[f+-4>>2]|0);e=c[b+488>>2]|0}c[b+496>>2]=0}a[b+500>>0]=1;c[b+496>>2]=g;c[b+492>>2]=h}c[(c[b+496>>2]|0)+(e<<2)>>2]=d;c[b+488>>2]=e+1;d=b+256|0;c[d>>2]=1;return}function Sh(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;i=c[d+4>>2]|0;f=c[b+24>>2]|0;if((f|0)<(i|0)){if((c[b+28>>2]|0)<(i|0)){if(!i){e=0;h=f}else{c[7182]=(c[7182]|0)+1;e=xb((i<<2|3)+16|0)|0;if(!e)e=0;else{c[(e+4+15&-16)+-4>>2]=e;e=e+4+15&-16}h=c[b+24>>2]|0}if((h|0)>0){g=0;do{c[e+(g<<2)>>2]=c[(c[b+32>>2]|0)+(g<<2)>>2];g=g+1|0}while((g|0)!=(h|0))}g=c[b+32>>2]|0;if(g|0){if(a[b+36>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[g+-4>>2]|0)}c[b+32>>2]=0}a[b+36>>0]=1;c[b+32>>2]=e;c[b+28>>2]=i;e=b+32|0}else e=b+32|0;do{c[(c[e>>2]|0)+(f<<2)>>2]=0;f=f+1|0}while((f|0)!=(i|0))}else e=b+32|0;c[b+24>>2]=i;f=c[e>>2]|0;if((i|0)<=0)return;e=0;do{c[f+(e<<2)>>2]=c[(c[d+12>>2]|0)+(e<<2)>>2];e=e+1|0}while((e|0)!=(i|0));return}function Th(b){b=b|0;var d=0,e=0,f=0,g=0;c[b>>2]=11632;a[b+20>>0]=1;c[b+16>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;c[b+24>>2]=0;a[b+28>>0]=0;a[b+48>>0]=1;c[b+44>>2]=0;c[b+36>>2]=0;c[b+40>>2]=0;a[b+68>>0]=1;c[b+64>>2]=0;c[b+56>>2]=0;c[b+60>>2]=0;c[b+72>>2]=0;c[7182]=(c[7182]|0)+1;d=xb(51)|0;if(!d)f=0;else{c[(d+4+15&-16)+-4>>2]=d;f=d+4+15&-16}e=c[b+8>>2]|0;if((e|0)>0){d=0;do{g=c[b+16>>2]|0;c[f+(d<<4)>>2]=c[g+(d<<4)>>2];c[f+(d<<4)+4>>2]=c[g+(d<<4)+4>>2];c[f+(d<<4)+8>>2]=c[g+(d<<4)+8>>2];c[f+(d<<4)+12>>2]=c[g+(d<<4)+12>>2];d=d+1|0}while((d|0)!=(e|0))}d=c[b+16>>2]|0;if(!d){a[b+20>>0]=1;c[b+16>>2]=f;c[b+12>>2]=2;Re(b);return}if(a[b+20>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+16>>2]=0;a[b+20>>0]=1;c[b+16>>2]=f;c[b+12>>2]=2;Re(b);return}function Uh(a,b,d){a=a|0;b=b|0;d=d|0;do if(!((b|0)==32&(d|0)==32)){if((b|0)==32){if((d|0)<20){a=a+96|0;break}if((d+-21|0)>>>0<9){a=a+104|0;break}}else{if((b|0)<20&(d|0)==32){a=a+100|0;break}if((b+-21|0)>>>0<9&(d|0)==32){a=a+108|0;break}if((b|0)==8&(d|0)==8){a=a+60|0;break}if((b|0)==8&(d|0)==1){a=a+76|0;break}if((b|0)==1&(d|0)==8){a=a+80|0;break}}if(!(d|b)){a=a+72|0;break}if((b|0)<20&(d|0)==28){a=a+88|0;break}if((b|0)==28&(d|0)<20){a=a+84|0;break}if((b|0)<20){if((d|0)<20){a=a+32|0;break}if((d+-21|0)>>>0<9){a=a+36|0;break}}else{if((d|0)<20&(b+-21|0)>>>0<9){a=a+40|0;break}if((b|0)==31)if((d|0)==31){a=a+48|0;break}else{a=a+44|0;break}}if((d|0)==31){a=a+52|0;break}else{a=a+56|0;break}}else a=a+92|0;while(0);return c[a>>2]|0}function Vh(a,b,c,d,e,f,h,i,j,k,l){a=a|0;b=b|0;c=+c;d=+d;e=+e;f=+f;h=+h;i=+i;j=j|0;k=k|0;l=+l;var m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0;x=+g[a>>2]*f+ +g[a+16>>2]*h+ +g[a+32>>2]*i;v=+g[a+4>>2]*f+ +g[a+20>>2]*h+ +g[a+36>>2]*i;t=+g[a+8>>2]*f+ +g[a+24>>2]*h+ +g[a+40>>2]*i;s=+g[b>>2]*f+ +g[b+16>>2]*h+ +g[b+32>>2]*i;q=+g[b+4>>2]*f+ +g[b+20>>2]*h+ +g[b+36>>2]*i;o=+g[b+8>>2]*f+ +g[b+24>>2]*h+ +g[b+40>>2]*i;w=+g[j+80>>2];u=+g[j+84>>2];p=+g[j+88>>2];r=+g[k+80>>2];m=+g[k+84>>2];n=+g[k+88>>2];p=x*(x<0.0?-w:w)+v*(v<0.0?-u:u)+t*(t<0.0?-p:p);n=s*(s<0.0?-r:r)+q*(q<0.0?-m:m)+o*(o<0.0?-n:n);o=+g[j+96>>2];m=+g[k+96>>2];m=(p>o?p:o)+(n>m?n:m);return !((c*f+d*h+e*i+ml)|0}function Wh(b){b=b|0;var d=0;d=fs(616)|0;c[d+164>>2]=1065353216;c[d+168>>2]=1065353216;c[d+172>>2]=1065353216;g[d+176>>2]=0.0;c[d+180>>2]=0;g[d+184>>2]=999999984306749440.0;c[d+188>>2]=0;c[d+188+4>>2]=0;c[d+188+8>>2]=0;c[d+188+12>>2]=0;c[d+204>>2]=1;c[d+208>>2]=-1;c[d+212>>2]=-1;c[d+216>>2]=1;g[d+220>>2]=0.0;g[d+224>>2]=.5;g[d+228>>2]=0.0;g[d+232>>2]=0.0;c[d+236>>2]=1;c[d+240>>2]=0;g[d+244>>2]=1.0;c[d+248>>2]=0;c[d+248+4>>2]=0;c[d+248+8>>2]=0;c[d+248+12>>2]=0;c[d+4>>2]=1065353216;c[d+8>>2]=0;c[d+8+4>>2]=0;c[d+8+8>>2]=0;c[d+8+12>>2]=0;c[d+24>>2]=1065353216;c[d+28>>2]=0;c[d+28+4>>2]=0;c[d+28+8>>2]=0;c[d+28+12>>2]=0;c[d+44>>2]=1065353216;c[d+48>>2]=0;c[d+48+4>>2]=0;c[d+48+8>>2]=0;c[d+48+12>>2]=0;c[d+48+16>>2]=0;c[d>>2]=6868;a[d+500>>0]=1;c[d+496>>2]=0;c[d+488>>2]=0;c[d+492>>2]=0;Qc(d,b);return d|0}function Xh(a,b,d,e,f,h,i,j,k){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0;n=sa;sa=sa+16|0;Ki(17143);jb[c[(c[a>>2]|0)+32>>2]&1](a,b,d,e,f,h,i,j,k);m=c[a+184>>2]|0;l=c[j+20>>2]|0;l=(m|0)>(l|0)?m:l;if((l|0)>0){m=0;do{+Ea[c[(c[a>>2]|0)+40>>2]&3](a,m,b,d,e,f,h,i,j,k);m=m+1|0}while((m|0)<(l|0))}l=c[3084]|0;k=(c[l+16>>2]|0)+-1|0;c[l+16>>2]=k;if(k|0){sa=n;return 0.0}do if(c[l+4>>2]|0){la(n|0,0)|0;k=c[7181]|0;g[l+8>>2]=+g[l+8>>2]+ +(((c[n+4>>2]|0)-(c[k+4>>2]|0)+(((c[n>>2]|0)-(c[k>>2]|0)|0)*1e6|0)-(c[l+12>>2]|0)|0)>>>0)/1.0e3;if(!(c[l+16>>2]|0)){l=c[3084]|0;break}else{sa=n;return 0.0}}while(0);c[3084]=c[l+20>>2];sa=n;return 0.0}function Yh(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,h=0.0,i=0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0,q=0,r=0,s=0.0,t=0;if((e|0)<=0)return;f=0;do{g[d+(f<<4)+12>>2]=-999999984306749440.0;f=f+1|0}while((f|0)!=(e|0));r=0;do{j=+g[a+12>>2];k=+g[b+(r<<4)>>2]*j;l=+g[a+16>>2];m=+g[b+(r<<4)+4>>2]*l;n=+g[a+20>>2];o=+g[b+(r<<4)+8>>2]*n;p=c[a+96>>2]|0;if((p|0)>0){q=c[a+104>>2]|0;f=-1;i=0;h=-3402823466385288598117041.0e14;do{s=k*+g[q+(i<<4)>>2]+m*+g[q+(i<<4)+4>>2]+o*+g[q+(i<<4)+8>>2];t=s>h;f=t?i:f;h=t?s:h;i=i+1|0}while((i|0)!=(p|0));o=+g[q+(f<<4)+4>>2]*l;s=+g[q+(f<<4)+8>>2]*n;g[d+(r<<4)>>2]=+g[q+(f<<4)>>2]*j;g[d+(r<<4)+4>>2]=o;g[d+(r<<4)+8>>2]=s}else h=-999999984306749440.0;g[d+(r<<4)+12>>2]=h;r=r+1|0}while((r|0)!=(e|0));return}function Zh(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;g=c[d>>2]|0;d=c[b+268>>2]|0;a:do if((d|0)>0){f=c[b+276>>2]|0;e=0;while(1){if((c[f+(e<<2)>>2]|0)==(g|0))break;e=e+1|0;if((e|0)>=(d|0))break a}if((e|0)!=(d|0))return}while(0);if((d|0)==(c[b+272>>2]|0)?(h=(d|0)==0?1:d<<1,(d|0)<(h|0)):0){if(!h)f=0;else{c[7182]=(c[7182]|0)+1;d=xb((h<<2|3)+16|0)|0;if(!d)d=0;else{c[(d+4+15&-16)+-4>>2]=d;d=d+4+15&-16}f=d;d=c[b+268>>2]|0}if((d|0)>0){e=0;do{c[f+(e<<2)>>2]=c[(c[b+276>>2]|0)+(e<<2)>>2];e=e+1|0}while((e|0)!=(d|0))}e=c[b+276>>2]|0;if(e){if(a[b+280>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[e+-4>>2]|0);d=c[b+268>>2]|0}c[b+276>>2]=0}a[b+280>>0]=1;c[b+276>>2]=f;c[b+272>>2]=h}c[(c[b+276>>2]|0)+(d<<2)>>2]=g;c[b+268>>2]=d+1;return}function _h(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;f=c[a+232>>2]|0;a:do if((f|0)>0){g=c[a+240>>2]|0;d=0;while(1){e=g+(d<<2)|0;if((c[e>>2]|0)==(b|0))break;d=d+1|0;if((d|0)>=(f|0))break a}if((d|0)<(f|0)){c[e>>2]=c[g+(f+-1<<2)>>2];c[(c[a+240>>2]|0)+(f+-1<<2)>>2]=b;c[a+232>>2]=f+-1}}while(0);d=c[b+188>>2]|0;if(d|0){g=c[a+68>>2]|0;g=Fa[c[(c[g>>2]|0)+36>>2]&127](g)|0;Za[c[(c[g>>2]|0)+40>>2]&127](g,d,c[a+24>>2]|0);g=c[a+68>>2]|0;Za[c[(c[g>>2]|0)+12>>2]&127](g,d,c[a+24>>2]|0);c[b+188>>2]=0}f=c[a+8>>2]|0;if((f|0)<=0)return;g=c[a+16>>2]|0;d=0;while(1){e=g+(d<<2)|0;if((c[e>>2]|0)==(b|0))break;d=d+1|0;if((d|0)>=(f|0)){h=15;break}}if((h|0)==15)return;if((d|0)>=(f|0))return;c[e>>2]=c[g+(f+-1<<2)>>2];c[(c[a+16>>2]|0)+(f+-1<<2)>>2]=b;c[a+8>>2]=f+-1;return}function $h(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;f=c[a+328>>2]|0;a:do if((f|0)>0){g=c[a+336>>2]|0;d=0;while(1){e=g+(d<<2)|0;if((c[e>>2]|0)==(b|0))break;d=d+1|0;if((d|0)>=(f|0))break a}if((d|0)<(f|0)){c[e>>2]=c[g+(f+-1<<2)>>2];c[(c[a+336>>2]|0)+(f+-1<<2)>>2]=b;c[a+328>>2]=f+-1}}while(0);d=c[b+188>>2]|0;if(d|0){g=c[a+68>>2]|0;g=Fa[c[(c[g>>2]|0)+36>>2]&127](g)|0;Za[c[(c[g>>2]|0)+40>>2]&127](g,d,c[a+24>>2]|0);g=c[a+68>>2]|0;Za[c[(c[g>>2]|0)+12>>2]&127](g,d,c[a+24>>2]|0);c[b+188>>2]=0}f=c[a+8>>2]|0;if((f|0)<=0)return;g=c[a+16>>2]|0;d=0;while(1){e=g+(d<<2)|0;if((c[e>>2]|0)==(b|0))break;d=d+1|0;if((d|0)>=(f|0)){h=15;break}}if((h|0)==15)return;if((d|0)>=(f|0))return;c[e>>2]=c[g+(f+-1<<2)>>2];c[(c[a+16>>2]|0)+(f+-1<<2)>>2]=b;c[a+8>>2]=f+-1;return}function ai(a){a=a|0;var b=0,d=0.0,e=0.0,f=0.0,h=0.0,i=0.0;b=Xs()|0;c[b+8>>2]=0;c[b+12>>2]=1065353216;c[b+16>>2]=1065353216;c[b+20>>2]=1065353216;g[b+24>>2]=0.0;g[b+44>>2]=.03999999910593033;c[b+52>>2]=0;c[b>>2]=10752;c[b+4>>2]=0;f=+g[a>>2];e=+g[a+4>>2];d=+g[a+8>>2];d=+g[a+((f>2]*.10000000149011612;if(d<.03999999910593033){i=+cG(b);h=+cG(b);f=+cG(b);i=i+ +g[b+28>>2];h=h+ +g[b+32>>2];f=f+ +g[b+36>>2];g[b+44>>2]=d;d=+cG(b);e=+cG(b);f=f-+cG(b);g[b+28>>2]=i-d;g[b+32>>2]=h-e;g[b+36>>2]=f;g[b+40>>2]=0.0}f=+cG(b);h=+cG(b);i=+cG(b);h=+g[a+4>>2]-h;i=+g[a+8>>2]-i;g[b+28>>2]=+g[a>>2]-f;g[b+32>>2]=h;g[b+36>>2]=i;g[b+40>>2]=0.0;return b|0}function bi(b){b=b|0;var d=0,e=0;d=c[b+92>>2]|0;if(d|0){if(a[b+96>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+92>>2]=0}a[b+96>>0]=1;c[b+92>>2]=0;c[b+84>>2]=0;c[b+88>>2]=0;d=c[b+64>>2]|0;if(d|0)do{c[b+64>>2]=c[d+8>>2];e=c[d>>2]|0;if(e|0){c[7183]=(c[7183]|0)+1;Hc(c[e+-4>>2]|0)}c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0);d=c[b+64>>2]|0}while((d|0)!=0);d=c[b+48>>2]|0;if(d|0)do{c[b+48>>2]=c[d+8>>2];e=c[d>>2]|0;if(e|0){c[7183]=(c[7183]|0)+1;Hc(c[e+-4>>2]|0)}c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0);d=c[b+48>>2]|0}while((d|0)!=0);d=c[b+32>>2]|0;if(!d)return;do{c[b+32>>2]=c[d+8>>2];e=c[d>>2]|0;if(e|0){c[7183]=(c[7183]|0)+1;Hc(c[e+-4>>2]|0)}c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0);d=c[b+32>>2]|0}while((d|0)!=0);return}function ci(a,b){a=a|0;b=b|0;var d=0.0,e=0.0,f=0.0,h=0.0,i=0.0;c[a+4>>2]=35;c[a+8>>2]=0;c[a+12>>2]=1065353216;c[a+16>>2]=1065353216;c[a+20>>2]=1065353216;g[a+24>>2]=0.0;g[a+44>>2]=.03999999910593033;c[a>>2]=11048;c[a+52>>2]=1;f=+g[b>>2];e=+g[b+4>>2];d=+g[b+8>>2];d=+g[b+((f>2]*.10000000149011612;if(d<.03999999910593033){i=+cG(a);h=+cG(a);f=+cG(a);i=i+ +g[a+28>>2];h=h+ +g[a+32>>2];f=f+ +g[a+36>>2];g[a+44>>2]=d;d=+cG(a);e=+cG(a);f=f-+cG(a);g[a+28>>2]=i-d;g[a+32>>2]=h-e;g[a+36>>2]=f;g[a+40>>2]=0.0}f=+cG(a);h=+cG(a);i=+cG(a);h=+g[b+4>>2]-h;i=+g[b+8>>2]-i;g[a+28>>2]=+g[b>>2]-f;g[a+32>>2]=h;g[a+36>>2]=i;g[a+40>>2]=0.0;c[a+4>>2]=13;return}function di(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;n=(c[b>>2]|0)+1794895138|0;h=OA(c[b+8>>2]|0,n)|0;f=OA(c[b+12>>2]|0,n)|0;g=OA(c[b+16>>2]|0,n)|0;a:do if((h>>>0<(2?d>>>2:d)>>>0?f>>>0<(d-(h<<2)|0)>>>0&g>>>0<(d-(h<<2)|0)>>>0:0)?((g|f)&3|0)==0:0){l=2?f>>>2:f;m=2?g>>>2:g;j=0;while(1){i=1?h>>>1:h;k=j+i|0;f=OA(c[b+((k<<1)+l<<2)>>2]|0,n)|0;g=OA(c[b+((k<<1)+l+1<<2)>>2]|0,n)|0;if(!(g>>>0>>0&f>>>0<(d-g|0)>>>0)){f=0;break a}if(a[b+(g+f)>>0]|0){f=0;break a}f=Vn(e,b+g|0)|0;if(!f)break;if((h|0)==1){f=0;break a}j=(f|0)<0?j:k;h=(f|0)<0?i:h-i|0}g=OA(c[b+((k<<1)+m<<2)>>2]|0,n)|0;f=OA(c[b+((k<<1)+m+1<<2)>>2]|0,n)|0;if(f>>>0>>0&g>>>0<(d-f|0)>>>0)f=(a[b+(f+g)>>0]|0)==0?b+f|0:0;else f=0}else f=0;while(0);return f|0}function ei(a,b,d){a=a|0;b=+b;d=+d;var e=0.0,f=0.0,h=0.0;f=+g[a+692>>2];do if(f>0.0){h=+g[a+688>>2];if(!((b-h)%6.2831854820251465<-3.1415927410125732))if((b-h)%6.2831854820251465>3.1415927410125732)e=(b-h)%6.2831854820251465+-6.2831854820251465;else e=(b-h)%6.2831854820251465;else e=(b-h)%6.2831854820251465+6.2831854820251465;if(!(!(e<-f)&e<=f))if(e>0.0){if((f+h)%6.2831854820251465<-3.1415927410125732){b=(f+h)%6.2831854820251465+6.2831854820251465;break}if(!((f+h)%6.2831854820251465>3.1415927410125732)){b=(f+h)%6.2831854820251465;break}b=(f+h)%6.2831854820251465+-6.2831854820251465;break}else{if((h-f)%6.2831854820251465<-3.1415927410125732){b=(h-f)%6.2831854820251465+6.2831854820251465;break}if(!((h-f)%6.2831854820251465>3.1415927410125732)){b=(h-f)%6.2831854820251465;break}b=(h-f)%6.2831854820251465+-6.2831854820251465;break}}while(0);g[a+680>>2]=(b-+ui(a,(c[a+28>>2]|0)+4|0,(c[a+32>>2]|0)+4|0))/d;return}function fi(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;i=c[d>>2]|0;i=Ha[c[(c[i>>2]|0)+56>>2]&31](i,28)|0;j=(a[b+4>>0]|0)==0;h=c[b+8>>2]|0;g=c[b+12>>2]|0;b=c[d>>2]|0;c[i+4>>2]=b;c[i>>2]=8288;a[i+8>>0]=0;c[i+12>>2]=0;if(j){a[i+16>>0]=0;c[i+20>>2]=h;c[i+24>>2]=g;if(!(Ja[c[(c[b>>2]|0)+24>>2]&63](b,c[e+8>>2]|0,c[f+8>>2]|0)|0))return i|0;j=c[i+4>>2]|0;c[i+12>>2]=Ja[c[(c[j>>2]|0)+12>>2]&63](j,c[e+8>>2]|0,c[f+8>>2]|0)|0;a[i+8>>0]=1;return i|0}else{a[i+16>>0]=1;c[i+20>>2]=h;c[i+24>>2]=g;if(!(Ja[c[(c[b>>2]|0)+24>>2]&63](b,c[f+8>>2]|0,c[e+8>>2]|0)|0))return i|0;j=c[i+4>>2]|0;c[i+12>>2]=Ja[c[(c[j>>2]|0)+12>>2]&63](j,c[f+8>>2]|0,c[e+8>>2]|0)|0;a[i+8>>0]=1;return i|0}return 0}function gi(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0;if(RC(b,c[d+8>>2]|0)|0)Ck(d,e,f,g);else{j=a[d+52>>0]|0;k=a[d+53>>0]|0;l=c[b+12>>2]|0;a[d+52>>0]=0;a[d+53>>0]=0;dn(b+16|0,d,e,f,g,h);a:do if((l|0)>1){i=b+24|0;do{if(a[d+54>>0]|0)break a;if(!(a[d+52>>0]|0)){if(a[d+53>>0]|0?(c[b+8>>2]&1|0)==0:0)break a}else{if((c[d+24>>2]|0)==1)break a;if(!(c[b+8>>2]&2))break a}a[d+52>>0]=0;a[d+53>>0]=0;dn(i,d,e,f,g,h);i=i+8|0}while(i>>>0<(b+16+(l<<3)|0)>>>0)}while(0);a[d+52>>0]=j;a[d+53>>0]=k}return} +function Kc(b,d,e,f,h,i,j,k,l,m,n,o,p){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;p=p|0;var q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0,z=0,A=0,B=0,C=0,D=0.0,E=0.0,F=0.0,G=0.0,H=0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(I*H+G*F+E*D);w=+g[b+1272>>2];x=+g[b+1276>>2];u=D*(s-F*(H*L+F*s+D*t)+w*q)-F*(t-D*(H*L+F*s+D*t)+w*r);v=H*(t-D*(H*L+F*s+D*t)+w*r)-D*(L-H*(H*L+F*s+D*t)+w*K);t=F*(L-H*(H*L+F*s+D*t)+w*K)-H*(s-F*(H*L+F*s+D*t)+w*q);s=D*(G-F*(I*H+G*F+E*D)-x*q)-F*(E-D*(I*H+G*F+E*D)-x*r);r=H*(E-D*(I*H+G*F+E*D)-x*r)-D*(I-H*(I*H+G*F+E*D)-x*K);q=F*(I-H*(I*H+G*F+E*D)-x*K)-H*(G-F*(I*H+G*F+E*D)-x*q);if(!((p|0)!=0|(a[b+1280>>0]|0)==0)){u=w*u;v=w*v;t=w*t;s=x*s;r=x*r;q=x*q}C=(c[l+12>>2]|0)+(A<<2)|0;g[C>>2]=u;g[C+4>>2]=v;g[C+8>>2]=t;C=c[l+20>>2]|0;g[C+(A<<2)>>2]=-s;g[C+(A+1<<2)>>2]=-r;g[C+(A+2<<2)>>2]=-q}while(0);if(B|0?+g[d>>2]==+g[d+4>>2]:0){e=(c[l+28>>2]|0)+(A<<2)|0;g[e>>2]=0.0;q=0.0}else z=11;do if((z|0)==11){m=(c[l+28>>2]|0)+(A<<2)|0;g[m>>2]=0.0;if(!(y<<24>>24)){if(B|0){e=m;q=0.0;break}else i=1;return i|0}c[(c[l+32>>2]|0)+(A<<2)>>2]=c[d+28>>2];if(B|0){e=m;q=+g[m>>2];break}v=+g[d+8>>2];q=o|0?v:-v;r=+g[d+52>>2];s=+g[d>>2];t=+g[d+4>>2];u=+g[l>>2]*+g[d+32>>2];do if(!(s>t))if(!(s==t)){if(q/u<0.0)if(r>=s?s-q/u>r:0){q=(s-r)/(q/u);break}else{q=r0.0)if(r<=t?t-q/ut?0.0:1.0;break}else q=0.0}else q=0.0;else q=1.0;while(0);g[m>>2]=q*v+ +g[m>>2];g[(c[l+36>>2]|0)+(A<<2)>>2]=-+g[d+12>>2];c[(c[l+40>>2]|0)+(A<<2)>>2]=c[d+12>>2];C=1;return C|0}while(0);L=+g[l>>2]*+g[d+32>>2]*+g[d+48>>2];g[e>>2]=q+(o|0?-L:L);c[(c[l+32>>2]|0)+(A<<2)>>2]=c[d+36>>2];if(+g[d>>2]==+g[d+4>>2]){g[(c[l+36>>2]|0)+(A<<2)>>2]=-3402823466385288598117041.0e14;g[(c[l+40>>2]|0)+(A<<2)>>2]=3402823466385288598117041.0e14;C=1;return C|0}g[(c[l+36>>2]|0)+(A<<2)>>2]=(B|0)==1?0.0:-3402823466385288598117041.0e14;g[(c[l+40>>2]|0)+(A<<2)>>2]=(B|0)==1?3402823466385288598117041.0e14:0.0;v=+g[d+40>>2];if(!(v>0.0)){C=1;return C|0}if(o|0){L=+g[n>>2];r=+g[n+4>>2];q=+g[n+8>>2];s=q;t=r;u=L;i=k;r=+g[j>>2]*L+ +g[j+4>>2]*r;q=+g[j+8>>2]*q}else{L=+g[n>>2];r=+g[n+4>>2];q=+g[n+8>>2];s=q;t=r;u=L;r=+g[h>>2]*L+ +g[h+4>>2]*r;q=+g[h+8>>2]*q}q=r+q-(u*+g[i>>2]+t*+g[i+4>>2]+s*+g[i+8>>2]);if((B|0)==1){if(!(q<0.0)){C=1;return C|0}if(!(+g[e>>2]<-(v*q))){C=1;return C|0}g[e>>2]=-(v*q);C=1;return C|0}else{if(!(q>0.0)){C=1;return C|0}if(!(+g[e>>2]>-(v*q))){C=1;return C|0}g[e>>2]=-(v*q);C=1;return C|0}return 0}function Lc(b,d,e,f,h,i){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;var k=0.0,l=0,m=0.0,n=0,o=0,p=0,q=0.0,r=0.0,s=0.0,t=0,u=0.0,v=0.0;t=sa;sa=sa+288|0;p=c[b+4>>2]|0;a[p+312>>0]=0;c[p>>2]=0;a[p+356>>0]=1;c[p+292>>2]=1566444395;c[p+296>>2]=1566444395;c[p+300>>2]=1566444395;g[p+304>>2]=0.0;c[p+336>>2]=0;c[p+336+4>>2]=0;c[p+336+8>>2]=0;c[p+336+12>>2]=0;a[p+336+16>>0]=0;a[p+332>>0]=a[p+332>>0]&-16;q=+g[e+48>>2]-+g[d+48>>2]-(+g[h+48>>2]-+g[f+48>>2]);r=+g[e+52>>2]-+g[d+52>>2]-(+g[h+52>>2]-+g[f+52>>2]);s=+g[e+56>>2]-+g[d+56>>2]-(+g[h+56>>2]-+g[f+56>>2]);c[t+216>>2]=12068;g[t+216+36>>2]=999999984306749440.0;a[t+216+40>>0]=0;p=c[b+8>>2]|0;o=c[b+12>>2]|0;n=c[b+4>>2]|0;c[t+136>>2]=12116;c[t+136+4>>2]=0;c[t+136+8>>2]=1065353216;c[t+136+12>>2]=0;g[t+136+16>>2]=0.0;c[t+136+20>>2]=0;c[t+136+24>>2]=n;c[t+136+28>>2]=p;c[t+136+32>>2]=o;c[t+136+36>>2]=c[p+4>>2];c[t+136+40>>2]=c[o+4>>2];g[t+136+44>>2]=+va[c[(c[p>>2]|0)+48>>2]&15](p);g[t+136+48>>2]=+va[c[(c[o>>2]|0)+48>>2]&15](o);a[t+136+52>>0]=0;c[t+136+60>>2]=-1;c[t+136+72>>2]=1;c[t+136+76>>2]=1;g[t+128>>2]=999999984306749440.0;c[t>>2]=c[d>>2];c[t+4>>2]=c[d+4>>2];c[t+8>>2]=c[d+8>>2];c[t+12>>2]=c[d+12>>2];c[t+16>>2]=c[d+16>>2];c[t+16+4>>2]=c[d+16+4>>2];c[t+16+8>>2]=c[d+16+8>>2];c[t+16+12>>2]=c[d+16+12>>2];c[t+32>>2]=c[d+32>>2];c[t+32+4>>2]=c[d+32+4>>2];c[t+32+8>>2]=c[d+32+8>>2];c[t+32+12>>2]=c[d+32+12>>2];c[t+48>>2]=c[d+48>>2];c[t+48+4>>2]=c[d+48+4>>2];c[t+48+8>>2]=c[d+48+8>>2];c[t+48+12>>2]=c[d+48+12>>2];c[t+64>>2]=c[f>>2];c[t+64+4>>2]=c[f+4>>2];c[t+64+8>>2]=c[f+8>>2];c[t+64+12>>2]=c[f+12>>2];c[t+80>>2]=c[f+16>>2];c[t+80+4>>2]=c[f+16+4>>2];c[t+80+8>>2]=c[f+16+8>>2];c[t+80+12>>2]=c[f+16+12>>2];c[t+96>>2]=c[f+32>>2];c[t+96+4>>2]=c[f+32+4>>2];c[t+96+8>>2]=c[f+32+8>>2];c[t+96+12>>2]=c[f+32+12>>2];c[t+112>>2]=c[f+48>>2];c[t+112+4>>2]=c[f+48+4>>2];c[t+112+8>>2]=c[f+48+8>>2];c[t+112+12>>2]=c[f+48+12>>2];Ub(t+136|0,t,t+216|0,0,0);o=(a[t+216+40>>0]|0)==0;p=t+216+20|0;c[t+264>>2]=c[p>>2];c[t+264+4>>2]=c[p+4>>2];c[t+264+8>>2]=c[p+8>>2];c[t+264+12>>2]=c[p+12>>2];if(o){i=0;sa=t;return i|0}m=+g[t+216+36>>2];k=+g[t+216+16>>2];b=c[t+216+12>>2]|0;l=c[t+216+8>>2]|0;n=c[t+216+4>>2]|0;do if(m>1.0000000474974513e-03){o=0;k=0.0;while(1){if(o>>>0>31){b=0;o=13;break}v=q*(c[j>>2]=n,+g[j>>2]);v=r*(c[j>>2]=l,+g[j>>2])+v;u=k;k=k-m/(s*(c[j>>2]=b,+g[j>>2])+v);if(!(!(k<=u)&(!(k<0.0)&!(k>1.0)))){b=0;o=13;break}Qa[c[c[i>>2]>>2]&31](i,k);v=1.0-k;g[t+48>>2]=v*+g[d+48>>2]+k*+g[e+48>>2];g[t+52>>2]=v*+g[d+52>>2]+k*+g[e+52>>2];g[t+56>>2]=v*+g[d+56>>2]+k*+g[e+56>>2];g[t+112>>2]=v*+g[f+48>>2]+k*+g[h+48>>2];g[t+116>>2]=v*+g[f+52>>2]+k*+g[h+52>>2];g[t+120>>2]=v*+g[f+56>>2]+k*+g[h+56>>2];Ub(t+136|0,t,t+216|0,0,0);if(!(a[t+216+40>>0]|0)){b=0;o=13;break}m=+g[t+216+36>>2];if(m<0.0){o=8;break}c[t+264>>2]=c[p>>2];c[t+264+4>>2]=c[p+4>>2];c[t+264+8>>2]=c[p+8>>2];c[t+264+12>>2]=c[p+12>>2];b=c[t+216+12>>2]|0;l=c[t+216+8>>2]|0;n=c[t+216+4>>2]|0;if(!(m>1.0000000474974513e-03)){o=10;break}else o=o+1|0}if((o|0)==8){g[i+164>>2]=k;e=c[t+216+8>>2]|0;f=c[t+216+12>>2]|0;h=c[t+216+16>>2]|0;c[i+132>>2]=c[t+216+4>>2];c[i+136>>2]=e;c[i+140>>2]=f;c[i+144>>2]=h;c[i+148>>2]=c[p>>2];c[i+148+4>>2]=c[p+4>>2];c[i+148+8>>2]=c[p+8>>2];c[i+148+12>>2]=c[p+12>>2];i=1;sa=t;return i|0}else if((o|0)==10){m=k;k=+g[t+216+16>>2];break}else if((o|0)==13){sa=t;return b|0}}else m=0.0;while(0);v=q*(c[j>>2]=n,+g[j>>2]);v=r*(c[j>>2]=l,+g[j>>2])+v;if(s*(c[j>>2]=b,+g[j>>2])+v>=-+g[i+172>>2]){i=0;sa=t;return i|0}g[i+164>>2]=m;c[i+132>>2]=n;c[i+136>>2]=l;c[i+140>>2]=b;g[i+144>>2]=k;c[i+148>>2]=c[t+264>>2];c[i+148+4>>2]=c[t+264+4>>2];c[i+148+8>>2]=c[t+264+8>>2];c[i+148+12>>2]=c[t+264+12>>2];i=1;sa=t;return i|0}function Mc(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,h=0,i=0,j=0,k=0,l=0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0,I=0.0,J=0,K=0;l=sa;sa=sa+240|0;c[a+4>>2]=(c[a+4>>2]|0)+1;j=c[b+36>>2]|0;i=c[d+36>>2]|0;J=c[a+8>>2]|0;f=c[a+12>>2]|0;K=c[(c[J+4>>2]|0)+24>>2]|0;d=c[K+(j*80|0)+64>>2]|0;b=(c[f+4>>2]|0)+24|0;e=c[(c[b>>2]|0)+(i*80|0)+64>>2]|0;J=c[J+12>>2]|0;m=+g[J>>2];H=+g[J+4>>2];I=+g[J+8>>2];p=+g[J+16>>2];r=+g[J+20>>2];t=+g[J+24>>2];q=+g[J+32>>2];u=+g[J+36>>2];C=+g[J+40>>2];v=+g[K+(j*80|0)>>2];w=+g[K+(j*80|0)+16>>2];x=+g[K+(j*80|0)+32>>2];y=+g[K+(j*80|0)+4>>2];z=+g[K+(j*80|0)+20>>2];A=+g[K+(j*80|0)+36>>2];s=+g[K+(j*80|0)+8>>2];B=+g[K+(j*80|0)+24>>2];D=+g[K+(j*80|0)+40>>2];n=+g[K+(j*80|0)+48>>2];o=+g[K+(j*80|0)+52>>2];G=+g[K+(j*80|0)+56>>2];E=+g[J+48>>2]+(m*n+H*o+I*G);F=+g[J+52>>2]+(p*n+r*o+t*G);G=+g[J+56>>2]+(q*n+u*o+C*G);g[l+176>>2]=m*v+H*w+I*x;g[l+176+4>>2]=m*y+H*z+I*A;g[l+176+8>>2]=m*s+H*B+I*D;g[l+176+12>>2]=0.0;g[l+176+16>>2]=p*v+r*w+t*x;g[l+176+20>>2]=p*y+r*z+t*A;g[l+176+24>>2]=p*s+r*B+t*D;g[l+176+28>>2]=0.0;g[l+176+32>>2]=q*v+u*w+C*x;g[l+176+36>>2]=q*y+u*z+C*A;g[l+176+40>>2]=q*s+u*B+C*D;g[l+176+44>>2]=0.0;g[l+176+48>>2]=E;g[l+176+52>>2]=F;g[l+176+56>>2]=G;g[l+176+60>>2]=0.0;f=c[f+12>>2]|0;G=+g[f>>2];F=+g[f+4>>2];E=+g[f+8>>2];D=+g[f+16>>2];C=+g[f+20>>2];B=+g[f+24>>2];u=+g[f+32>>2];s=+g[f+36>>2];q=+g[f+40>>2];b=c[b>>2]|0;A=+g[b+(i*80|0)>>2];z=+g[b+(i*80|0)+16>>2];y=+g[b+(i*80|0)+32>>2];x=+g[b+(i*80|0)+4>>2];w=+g[b+(i*80|0)+20>>2];v=+g[b+(i*80|0)+36>>2];t=+g[b+(i*80|0)+8>>2];r=+g[b+(i*80|0)+24>>2];p=+g[b+(i*80|0)+40>>2];I=+g[b+(i*80|0)+48>>2];H=+g[b+(i*80|0)+52>>2];m=+g[b+(i*80|0)+56>>2];o=+g[f+48>>2]+(G*I+F*H+E*m);n=+g[f+52>>2]+(D*I+C*H+B*m);m=+g[f+56>>2]+(u*I+s*H+q*m);g[l+112>>2]=G*A+F*z+E*y;g[l+112+4>>2]=G*x+F*w+E*v;g[l+112+8>>2]=G*t+F*r+E*p;g[l+112+12>>2]=0.0;g[l+112+16>>2]=D*A+C*z+B*y;g[l+112+20>>2]=D*x+C*w+B*v;g[l+112+24>>2]=D*t+C*r+B*p;g[l+112+28>>2]=0.0;g[l+112+32>>2]=u*A+s*z+q*y;g[l+112+36>>2]=u*x+s*w+q*v;g[l+112+40>>2]=u*t+s*r+q*p;g[l+112+44>>2]=0.0;g[l+112+48>>2]=o;g[l+112+52>>2]=n;g[l+112+56>>2]=m;g[l+112+60>>2]=0.0;ab[c[(c[d>>2]|0)+8>>2]&127](d,l+176|0,l+96|0,l+80|0);ab[c[(c[e>>2]|0)+8>>2]&127](e,l+112|0,l+64|0,l+48|0);if(!(+g[l+96>>2]>+g[l+48>>2])?!(+g[l+80>>2]<+g[l+64>>2]):0)b=1;else b=0;if(!(!(+g[l+96+8>>2]>+g[l+48+8>>2])?!(+g[l+80+8>>2]<+g[l+64+8>>2]):0))b=0;if(+g[l+96+4>>2]>+g[l+48+4>>2]){sa=l;return}if(+g[l+80+4>>2]<+g[l+64+4>>2]|b^1){sa=l;return}f=c[a+8>>2]|0;b=c[f+8>>2]|0;c[l+24>>2]=f;c[l+24+4>>2]=d;c[l+24+8>>2]=b;c[l+24+12>>2]=l+176;c[l+24+16>>2]=-1;c[l+24+20>>2]=j;b=c[a+12>>2]|0;f=c[b+8>>2]|0;c[l>>2]=b;c[l+4>>2]=e;c[l+8>>2]=f;c[l+12>>2]=l+112;c[l+16>>2]=-1;c[l+20>>2]=i;f=c[a+28>>2]|0;c[7170]=(c[7170]|0)+1;b=(i<<16|j)+~((i<<16|j)<<15)|0;b=((10?b>>10:b)^b)*9|0;b=(6?b>>6:b)^b;b=(c[f+12>>2]|0)+-1&((16?b+~(b<<11)>>16:b+~(b<<11)|0)^b+~(b<<11));a:do if((b|0)<(c[f+32>>2]|0)?(h=c[(c[f+40>>2]|0)+(b<<2)>>2]|0,(h|0)!=-1):0){e=c[f+16>>2]|0;b=h;while(1){d=e+(b*12|0)|0;if((c[d>>2]|0)==(j|0)?(c[e+(b*12|0)+4>>2]|0)==(i|0):0)break;b=c[(c[f+60>>2]|0)+(b<<2)>>2]|0;if((b|0)==-1){k=16;break a}}if(d)b=c[e+(b*12|0)+8>>2]|0;else k=16}else k=16;while(0);if((k|0)==16){b=c[a+16>>2]|0;b=Ka[c[(c[b>>2]|0)+8>>2]&31](b,l+24|0,l,c[a+32>>2]|0)|0;K=c[a+28>>2]|0;c[(Ja[c[(c[K>>2]|0)+12>>2]&63](K,j,i)|0)+8>>2]=b}K=c[a+24>>2]|0;k=c[K+8>>2]|0;J=c[K+12>>2]|0;c[K+8>>2]=l+24;c[K+12>>2]=l;Za[c[(c[K>>2]|0)+8>>2]&127](K,-1,j);K=c[a+24>>2]|0;Za[c[(c[K>>2]|0)+12>>2]&127](K,-1,i);eb[c[(c[b>>2]|0)+8>>2]&31](b,l+24|0,l,c[a+20>>2]|0,c[a+24>>2]|0);K=c[a+24>>2]|0;c[K+8>>2]=k;c[K+12>>2]=J;sa=l;return}function Nc(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0.0,h=0.0,i=0.0,k=0.0,l=0.0,m=0.0,n=0,o=0,p=0.0,q=0.0,r=0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,y=0.0,z=0;z=sa;sa=sa+48|0;switch(c[b+4>>2]|0){case 8:{c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;sa=z;return}case 0:{v=+g[b+28>>2];w=+g[b+28+4>>2];w=+g[d+4>>2]>=0.0?w:-w;y=+g[b+28+8>>2];y=+g[d+8>>2]>=0.0?y:-y;g[a>>2]=+g[d>>2]>=0.0?v:-v;g[a+4>>2]=w;g[a+8>>2]=y;g[a+12>>2]=0.0;sa=z;return}case 1:{t=+g[d>>2];u=+g[d+4>>2];y=+g[d+8>>2];w=t*+g[b+56>>2]+u*+g[b+56+4>>2]+y*+g[b+56+8>>2];v=t*+g[b+56+16>>2]+u*+g[b+56+20>>2]+y*+g[b+56+24>>2];y=t*+g[b+56+32>>2]+u*+g[b+56+36>>2]+y*+g[b+56+40>>2];n=w>2]|0;r=c[b+56+(n<<4)+8>>2]|0;c[a>>2]=c[b+56+(n<<4)>>2];c[a+4>>2]=o;c[a+8>>2]=r;g[a+12>>2]=0.0;sa=z;return}case 13:{c[z+32>>2]=c[b+28>>2];c[z+32+4>>2]=c[b+28+4>>2];c[z+32+8>>2]=c[b+28+8>>2];c[z+32+12>>2]=c[b+28+12>>2];c[z+16>>2]=c[d>>2];e=c[d+4>>2]|0;c[z+16+4>>2]=e;r=c[d+8>>2]|0;c[z+16+8>>2]=r;g[z+16+12>>2]=0.0;d=c[b+52>>2]|0;f=(c[j>>2]=r,+g[j>>2]);switch(d|0){case 2:{b=0;n=2;o=1;h=(c[j>>2]=e,+g[j>>2]);break}case 1:{b=0;n=1;o=2;h=f;break}default:{b=1;n=0;o=2;h=f}}f=+g[z+32+(b<<2)>>2];i=+g[z+32+(d<<2)>>2];m=+g[z+16+(b<<2)>>2];l=+x(+(m*m+h*h));if(l!=0.0){k=h*(f/l);h=+g[z+16+(n<<2)>>2]<0.0?-i:i;f=m*(f/l)}else{k=0.0;h=+g[z+16+(n<<2)>>2]<0.0?-i:i}g[z+(b<<2)>>2]=f;g[z+(n<<2)>>2]=h;g[z+(o<<2)>>2]=k;c[a>>2]=c[z>>2];c[a+4>>2]=c[z+4>>2];c[a+8>>2]=c[z+8>>2];g[a+12>>2]=0.0;sa=z;return}case 10:{f=+g[d>>2];h=+g[d+4>>2];i=+g[d+8>>2];e=c[b+52>>2]|0;w=+g[b+28+(e<<2)>>2];k=+g[b+28+(((e+2|0)%3|0)<<2)>>2];if(f*f+h*h+i*i<9.999999747378752e-05){y=1.0;v=0.0;u=0.0}else{u=1.0/+x(+(f*f+h*h+i*i));y=f*u;v=h*u;u=i*u}c[z+32>>2]=0;c[z+32+4>>2]=0;c[z+32+8>>2]=0;c[z+32+12>>2]=0;g[z+32+(e<<2)>>2]=w;s=k*y;t=k*v;q=k*u;p=+g[b+44>>2];l=y*p;m=v*p;p=u*p;k=s+ +g[z+32>>2]-l;f=t+ +g[z+32+4>>2]-m;h=q+ +g[z+32+8>>2]-p;i=u*h+(y*k+v*f);if(i>-999999984306749440.0){o=(g[j>>2]=h,c[j>>2]|0);r=(g[j>>2]=f,c[j>>2]|0);n=(g[j>>2]=k,c[j>>2]|0)}else{i=-999999984306749440.0;n=0;o=0;r=0}c[z+32>>2]=0;c[z+32+4>>2]=0;c[z+32+8>>2]=0;c[z+32+12>>2]=0;g[z+32+(e<<2)>>2]=-w;s=s+ +g[z+32>>2]-l;w=t+ +g[z+32+4>>2]-m;f=q+ +g[z+32+8>>2]-p;e=y*s+v*w+u*f>i;d=(g[j>>2]=s,c[j>>2]|0);b=(g[j>>2]=w,c[j>>2]|0);o=e?(g[j>>2]=f,c[j>>2]|0):o;c[a>>2]=e?d:n;c[a+4>>2]=e?b:r;c[a+8>>2]=o;g[a+12>>2]=0.0;sa=z;return}case 5:{o=c[b+92>>2]|0;n=c[b+96>>2]|0;p=+g[b+12>>2];q=+g[b+16>>2];m=+g[b+20>>2];k=+g[d>>2]*p;l=+g[d+4>>2]*q;h=+g[d+8>>2]*m;if((n|0)>0){e=-1;d=0;f=-3402823466385288598117041.0e14;while(1){i=k*+g[o+(d<<4)>>2]+l*+g[o+(d<<4)+4>>2]+h*+g[o+(d<<4)+8>>2];b=i>f;e=b?d:e;d=d+1|0;if((d|0)==(n|0))break;else f=b?i:f}}else e=-1;w=q*+g[o+(e<<4)+4>>2];y=m*+g[o+(e<<4)+8>>2];g[a>>2]=p*+g[o+(e<<4)>>2];g[a+4>>2]=w;g[a+8>>2]=y;g[a+12>>2]=0.0;sa=z;return}case 4:{o=c[b+104>>2]|0;n=c[b+96>>2]|0;p=+g[b+12>>2];q=+g[b+16>>2];m=+g[b+20>>2];k=+g[d>>2]*p;l=+g[d+4>>2]*q;h=+g[d+8>>2]*m;if((n|0)>0){e=-1;d=0;f=-3402823466385288598117041.0e14;while(1){i=k*+g[o+(d<<4)>>2]+l*+g[o+(d<<4)+4>>2]+h*+g[o+(d<<4)+8>>2];b=i>f;e=b?d:e;d=d+1|0;if((d|0)==(n|0))break;else f=b?i:f}}else e=-1;w=q*+g[o+(e<<4)+4>>2];y=m*+g[o+(e<<4)+8>>2];g[a>>2]=p*+g[o+(e<<4)>>2];g[a+4>>2]=w;g[a+8>>2]=y;g[a+12>>2]=0.0;sa=z;return}default:{Za[c[(c[b>>2]|0)+68>>2]&127](a,b,d);sa=z;return}}}function Oc(b,d,e,f,h,i){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;var k=0,l=0,m=0,n=0.0,o=0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0,C=0,D=0;D=c[b+88>>2]|0;if((D|0)==(c[b+92>>2]|0)?(o=(D|0)==0?1:D<<1,(D|0)<(o|0)):0){if(!o){k=0;m=D}else{c[7182]=(c[7182]|0)+1;k=xb((o*152|3)+16|0)|0;if(!k)k=0;else{c[(k+4+15&-16)+-4>>2]=k;k=k+4+15&-16}m=c[b+88>>2]|0}if((m|0)>0){l=0;do{Bh(k+(l*152|0)|0,(c[b+96>>2]|0)+(l*152|0)|0,152)|0;l=l+1|0}while((l|0)!=(m|0))}l=c[b+96>>2]|0;if(l|0){if(a[b+100>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[l+-4>>2]|0)}c[b+96>>2]=0}a[b+100>>0]=1;c[b+96>>2]=k;c[b+92>>2]=o;k=c[b+88>>2]|0}else k=D;c[b+88>>2]=k+1;C=c[b+96>>2]|0;c[C+(D*152|0)+140>>2]=h;c[C+(D*152|0)+16>>2]=0;c[C+(D*152|0)+16+4>>2]=0;c[C+(D*152|0)+16+8>>2]=0;c[C+(D*152|0)+16+12>>2]=0;g[C+(D*152|0)+48>>2]=-0.0;g[C+(D*152|0)+52>>2]=-0.0;g[C+(D*152|0)+56>>2]=-0.0;g[C+(D*152|0)+60>>2]=0.0;h=c[b+16>>2]|0;o=c[h+(e*244|0)+240>>2]|0;B=c[h+(f*244|0)+240>>2]|0;c[C+(D*152|0)+144>>2]=e;c[C+(D*152|0)+148>>2]=f;b=c[i+88>>2]|0;c[C+(D*152|0)+104>>2]=b;c[C+(D*152|0)+132>>2]=0;g[C+(D*152|0)+100>>2]=0.0;g[C+(D*152|0)+96>>2]=0.0;x=-+g[d>>2];y=-+g[d+4>>2];z=-+g[d+8>>2];g[C+(D*152|0)>>2]=x;g[C+(D*152|0)+4>>2]=y;g[C+(D*152|0)+8>>2]=z;g[C+(D*152|0)+12>>2]=0.0;A=(c[j>>2]=b,+g[j>>2]);if(o|0){k=(g[j>>2]=(+g[o+264>>2]*x+ +g[o+268>>2]*y+ +g[o+272>>2]*z)*+g[o+544>>2],c[j>>2]|0);l=(g[j>>2]=(+g[o+280>>2]*x+ +g[o+284>>2]*y+ +g[o+288>>2]*z)*+g[o+548>>2],c[j>>2]|0);m=(g[j>>2]=(+g[o+296>>2]*x+ +g[o+300>>2]*y+ +g[o+304>>2]*z)*+g[o+552>>2],c[j>>2]|0)}else{k=0;l=0;m=0}c[C+(D*152|0)+64>>2]=k;c[C+(D*152|0)+68>>2]=l;c[C+(D*152|0)+72>>2]=m;g[C+(D*152|0)+76>>2]=0.0;u=+g[d>>2];v=+g[d+4>>2];w=+g[d+8>>2];d=c[d+12>>2]|0;g[C+(D*152|0)+32>>2]=u;g[C+(D*152|0)+36>>2]=v;g[C+(D*152|0)+40>>2]=w;c[C+(D*152|0)+44>>2]=d;if(B|0){k=(g[j>>2]=(u*+g[B+264>>2]+v*+g[B+268>>2]+w*+g[B+272>>2])*+g[B+544>>2],c[j>>2]|0);l=(g[j>>2]=(u*+g[B+280>>2]+v*+g[B+284>>2]+w*+g[B+288>>2])*+g[B+548>>2],c[j>>2]|0);m=(g[j>>2]=(u*+g[B+296>>2]+v*+g[B+300>>2]+w*+g[B+304>>2])*+g[B+552>>2],c[j>>2]|0)}else{k=0;l=0;m=0}c[C+(D*152|0)+80>>2]=k;c[C+(D*152|0)+84>>2]=l;c[C+(D*152|0)+88>>2]=m;g[C+(D*152|0)+92>>2]=0.0;if(o|0){n=+g[o+264>>2]*x+ +g[o+268>>2]*y+ +g[o+272>>2]*z;p=+g[o+280>>2]*x+ +g[o+284>>2]*y+ +g[o+288>>2]*z;q=+g[o+296>>2]*x+ +g[o+300>>2]*y+ +g[o+304>>2]*z}else{n=0.0;p=0.0;q=0.0}if(B|0){r=+g[B+264>>2]*u+ +g[B+268>>2]*v+ +g[B+272>>2]*w;s=u*+g[B+280>>2]+v*+g[B+284>>2]+w*+g[B+288>>2];t=u*+g[B+296>>2]+v*+g[B+300>>2]+w*+g[B+304>>2]}else{r=0.0;s=0.0;t=0.0}s=1.0/(n*x+p*y+q*z+0.0+(r*u+s*v+t*w));g[C+(D*152|0)+108>>2]=s;if(o|0){p=+g[h+(e*244|0)+192>>2];q=+g[h+(e*244|0)+196>>2];r=+g[h+(e*244|0)+200>>2];n=(+g[h+(e*244|0)+176>>2]+ +g[h+(e*244|0)+208>>2])*0.0+(+g[h+(e*244|0)+180>>2]+ +g[h+(e*244|0)+212>>2])*0.0+(+g[h+(e*244|0)+184>>2]+ +g[h+(e*244|0)+216>>2])*0.0}else{p=0.0;q=0.0;r=0.0;n=0.0}n=n+(r*z+(q*y+p*x));if(!B){z=0.0;t=0.0;x=0.0;y=-0.0;z=u*z;v=v*t;z=v+z;x=w*x;z=x+z;z=y+z;z=n+z;z=0.0-z;z=s*z;f=C+(D*152|0)+112|0;g[f>>2]=z;f=C+(D*152|0)+116|0;g[f>>2]=0.0;A=-A;f=C+(D*152|0)+120|0;g[f>>2]=A;D=C+(D*152|0)+124|0;c[D>>2]=b;return}z=+g[h+(f*244|0)+192>>2];t=+g[h+(f*244|0)+196>>2];x=+g[h+(f*244|0)+200>>2];y=(+g[h+(f*244|0)+176>>2]+ +g[h+(f*244|0)+208>>2])*-0.0+(+g[h+(f*244|0)+180>>2]+ +g[h+(f*244|0)+212>>2])*-0.0+(+g[h+(f*244|0)+184>>2]+ +g[h+(f*244|0)+216>>2])*-0.0;z=u*z;v=v*t;z=v+z;x=w*x;z=x+z;z=y+z;z=n+z;z=0.0-z;z=s*z;f=C+(D*152|0)+112|0;g[f>>2]=z;f=C+(D*152|0)+116|0;g[f>>2]=0.0;A=-A;f=C+(D*152|0)+120|0;g[f>>2]=A;D=C+(D*152|0)+124|0;c[D>>2]=b;return}function Pc(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var h=0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0,I=0.0,J=0,K=0,L=0,M=0,N=0;h=sa;sa=sa+240|0;if(!(c[b+16>>2]|0)){J=c[b+12>>2]|0;b=c[b+20>>2]|0;w=+g[d>>2];p=+g[d+4>>2];t=+g[d+8>>2];j=+g[d+16>>2];q=+g[d+20>>2];i=+g[d+24>>2];l=+g[d+32>>2];r=+g[d+36>>2];m=+g[d+40>>2];E=+g[d+48>>2];D=+g[d+52>>2];C=+g[d+56>>2];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;g[h+16+12>>2]=0.0;g[h>>2]=o*u+m*t+k*s;g[h+4>>2]=o*r+m*q+k*p;g[h+8>>2]=o*n+m*l+k*j;g[h+12>>2]=0.0;_a[c[(c[f>>2]|0)+16>>2]&15](f,h,h+16|0,i);sa=h;return}else{M=c[b+4>>2]|0;a[M+312>>0]=0;c[M>>2]=0;a[M+356>>0]=1;c[M+292>>2]=1566444395;c[M+296>>2]=1566444395;c[M+300>>2]=1566444395;g[M+304>>2]=0.0;c[M+336>>2]=0;c[M+336+4>>2]=0;c[M+336+8>>2]=0;c[M+336+12>>2]=0;a[M+336+16>>0]=0;a[M+332>>0]=a[M+332>>0]&-16;M=c[b+12>>2]|0;L=c[b+16>>2]|0;K=c[M+4>>2]|0;J=c[L+4>>2]|0;H=+va[c[(c[M>>2]|0)+48>>2]&15](M);N=c[b+16>>2]|0;I=+va[c[(c[N>>2]|0)+48>>2]&15](N);N=c[b+4>>2]|0;b=c[b+8>>2]|0;c[h+152>>2]=12116;c[h+152+4>>2]=0;c[h+152+8>>2]=1065353216;c[h+152+12>>2]=0;g[h+152+16>>2]=0.0;c[h+152+20>>2]=b;c[h+152+24>>2]=N;c[h+152+28>>2]=M;c[h+152+32>>2]=L;c[h+152+36>>2]=K;c[h+152+40>>2]=J;g[h+152+44>>2]=H;g[h+152+48>>2]=I;a[h+152+52>>0]=0;c[h+152+60>>2]=-1;c[h+152+72>>2]=1;c[h+152+76>>2]=1;g[h+16+128>>2]=999999984306749440.0;c[h+16>>2]=c[d>>2];c[h+16+4>>2]=c[d+4>>2];c[h+16+8>>2]=c[d+8>>2];c[h+16+12>>2]=c[d+12>>2];c[h+16+16>>2]=c[d+16>>2];c[h+16+16+4>>2]=c[d+16+4>>2];c[h+16+16+8>>2]=c[d+16+8>>2];c[h+16+16+12>>2]=c[d+16+12>>2];c[h+16+32>>2]=c[d+32>>2];c[h+16+32+4>>2]=c[d+32+4>>2];c[h+16+32+8>>2]=c[d+32+8>>2];c[h+16+32+12>>2]=c[d+32+12>>2];c[h+16+48>>2]=c[d+48>>2];c[h+16+48+4>>2]=c[d+48+4>>2];c[h+16+48+8>>2]=c[d+48+8>>2];c[h+16+48+12>>2]=c[d+48+12>>2];c[h+16+64>>2]=c[e>>2];c[h+16+64+4>>2]=c[e+4>>2];c[h+16+64+8>>2]=c[e+8>>2];c[h+16+64+12>>2]=c[e+12>>2];c[h+16+80>>2]=c[e+16>>2];c[h+16+80+4>>2]=c[e+16+4>>2];c[h+16+80+8>>2]=c[e+16+8>>2];c[h+16+80+12>>2]=c[e+16+12>>2];c[h+16+96>>2]=c[e+32>>2];c[h+16+96+4>>2]=c[e+32+4>>2];c[h+16+96+8>>2]=c[e+32+8>>2];c[h+16+96+12>>2]=c[e+32+12>>2];c[h+16+112>>2]=c[e+48>>2];c[h+16+112+4>>2]=c[e+48+4>>2];c[h+16+112+8>>2]=c[e+48+8>>2];c[h+16+112+12>>2]=c[e+48+12>>2];Ub(h+152|0,h+16|0,f,0,0);sa=h;return}}function Qc(b,d){b=b|0;d=d|0;var e=0,f=0.0,h=0,i=0,k=0,l=0.0,m=0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0;m=sa;sa=sa+16|0;c[b+236>>2]=2;c[b+312>>2]=0;c[b+312+4>>2]=0;c[b+312+8>>2]=0;c[b+312+12>>2]=0;c[b+312+16>>2]=0;c[b+312+20>>2]=0;c[b+312+24>>2]=0;c[b+312+28>>2]=0;c[b+544>>2]=1065353216;c[b+548>>2]=1065353216;c[b+552>>2]=1065353216;g[b+556>>2]=0.0;c[b+348>>2]=1065353216;c[b+352>>2]=1065353216;c[b+356>>2]=1065353216;e=b+360|0;h=e+36|0;do{c[e>>2]=0;e=e+4|0}while((e|0)<(h|0));c[b+412>>2]=0;c[b+412+4>>2]=0;c[b+412+8>>2]=0;c[b+412+12>>2]=0;c[b+412+16>>2]=0;c[b+412+20>>2]=0;c[b+412+24>>2]=0;c[b+412+28>>2]=0;f=+g[d+92>>2];l=+g[d+96>>2];g[m+12>>2]=f;g[m+8>>2]=l;g[m+4>>2]=0.0;g[m>>2]=1.0;c[b+444>>2]=c[(f<0.0?m+4|0:f>1.0?m:m+12|0)>>2];g[m+4>>2]=0.0;g[m>>2]=1.0;c[b+448>>2]=c[(l<0.0?m+4|0:l>1.0?m:m+8|0)>>2];c[b+472>>2]=c[d+112>>2];c[b+476>>2]=c[d+116>>2];e=c[d+4>>2]|0;c[b+480>>2]=e;c[b+608>>2]=0;c[b+612>>2]=0;a[b+452>>0]=a[d+120>>0]|0;c[b+456>>2]=c[d+124>>2];c[b+460>>2]=c[d+128>>2];c[b+464>>2]=c[d+132>>2];c[b+468>>2]=c[d+136>>2];if(!e){c[b+4>>2]=c[d+8>>2];c[b+4+4>>2]=c[d+8+4>>2];c[b+4+8>>2]=c[d+8+8>>2];c[b+4+12>>2]=c[d+8+12>>2];c[b+20>>2]=c[d+24>>2];c[b+20+4>>2]=c[d+24+4>>2];c[b+20+8>>2]=c[d+24+8>>2];c[b+20+12>>2]=c[d+24+12>>2];c[b+36>>2]=c[d+40>>2];c[b+36+4>>2]=c[d+40+4>>2];c[b+36+8>>2]=c[d+40+8>>2];c[b+36+12>>2]=c[d+40+12>>2];c[b+52>>2]=c[d+56>>2];c[b+52+4>>2]=c[d+56+4>>2];c[b+52+8>>2]=c[d+56+8>>2];c[b+52+12>>2]=c[d+56+12>>2];e=b+20|0;h=b+36|0;i=b+52|0;k=b+4|0}else{Va[c[(c[e>>2]|0)+8>>2]&127](e,b+4|0);e=b+20|0;h=b+36|0;i=b+52|0;k=b+4|0}c[b+68>>2]=c[k>>2];c[b+68+4>>2]=c[k+4>>2];c[b+68+8>>2]=c[k+8>>2];c[b+68+12>>2]=c[k+12>>2];c[b+84>>2]=c[e>>2];c[b+84+4>>2]=c[e+4>>2];c[b+84+8>>2]=c[e+8>>2];c[b+84+12>>2]=c[e+12>>2];c[b+100>>2]=c[h>>2];c[b+100+4>>2]=c[h+4>>2];c[b+100+8>>2]=c[h+8>>2];c[b+100+12>>2]=c[h+12>>2];c[b+116>>2]=c[i>>2];c[b+116+4>>2]=c[i+4>>2];c[b+116+8>>2]=c[i+8>>2];c[b+116+12>>2]=c[i+12>>2];c[b+132>>2]=0;c[b+132+4>>2]=0;c[b+132+8>>2]=0;c[b+132+12>>2]=0;c[b+132+16>>2]=0;c[b+132+20>>2]=0;c[b+132+24>>2]=0;c[b+132+28>>2]=0;c[b+224>>2]=c[d+100>>2];c[b+232>>2]=c[d+104>>2];c[b+228>>2]=c[d+108>>2];Va[c[(c[b>>2]|0)+12>>2]&127](b,c[d+72>>2]|0);e=c[6846]|0;c[6846]=e+1;c[b+508>>2]=e;f=+g[d>>2];e=c[b+204>>2]|0;if(f==0.0){c[b+204>>2]=e|1;l=0.0}else{c[b+204>>2]=e&-2;l=1.0/f}g[b+344>>2]=l;o=f*+g[b+384>>2];n=f*+g[b+388>>2];g[b+364>>2]=f*+g[b+380>>2];g[b+368>>2]=o;g[b+372>>2]=n;g[b+376>>2]=0.0;f=+g[d+76>>2];h=f!=0.0?(g[j>>2]=1.0/f,c[j>>2]|0):0;f=+g[d+80>>2];e=f!=0.0?(g[j>>2]=1.0/f,c[j>>2]|0):0;f=+g[d+84>>2];d=f!=0.0?(g[j>>2]=1.0/f,c[j>>2]|0):0;c[b+396>>2]=h;c[b+400>>2]=e;c[b+404>>2]=d;g[b+408>>2]=0.0;q=l*+g[b+352>>2];x=l*+g[b+356>>2];g[b+560>>2]=l*+g[b+348>>2];g[b+564>>2]=q;g[b+568>>2]=x;g[b+572>>2]=0.0;x=+g[b+4>>2];q=(c[j>>2]=h,+g[j>>2]);w=+g[b+8>>2];f=(c[j>>2]=e,+g[j>>2]);v=+g[b+12>>2];n=(c[j>>2]=d,+g[j>>2]);u=+g[b+20>>2];t=+g[b+24>>2];s=+g[b+28>>2];r=+g[b+36>>2];p=+g[b+40>>2];o=+g[b+44>>2];g[b+264>>2]=x*x*q+w*w*f+v*v*n;g[b+268>>2]=x*q*u+w*f*t+v*n*s;g[b+272>>2]=x*q*r+w*f*p+v*n*o;g[b+276>>2]=0.0;g[b+280>>2]=x*u*q+w*t*f+v*s*n;g[b+284>>2]=u*u*q+t*t*f+s*s*n;g[b+288>>2]=u*q*r+t*f*p+s*n*o;g[b+292>>2]=0.0;g[b+296>>2]=x*r*q+w*p*f+v*o*n;g[b+300>>2]=u*r*q+t*p*f+s*o*n;g[b+304>>2]=r*r*q+p*p*f+o*o*n;g[b+308>>2]=0.0;c[b+504>>2]=0;c[b+512>>2]=0;c[b+512+4>>2]=0;c[b+512+8>>2]=0;c[b+512+12>>2]=0;c[b+512+16>>2]=0;c[b+512+20>>2]=0;c[b+512+24>>2]=0;c[b+512+28>>2]=0;n=l*+g[b+352>>2];o=l*+g[b+356>>2];g[b+560>>2]=l*+g[b+348>>2];g[b+564>>2]=n;g[b+568>>2]=o;e=b+572|0;h=e+36|0;do{c[e>>2]=0;e=e+4|0}while((e|0)<(h|0));sa=m;return}function Rc(a,b,d,e,f,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;var i=0.0,j=0,k=0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0,v=0.0,w=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0,I=0.0;u=sa;sa=sa+544|0;j=h;k=j+36|0;do{c[j>>2]=0;j=j+4|0}while((j|0)<(k|0));c[u+384>>2]=a;c[u+384+4>>2]=d;A=+g[e>>2];G=+g[b>>2];z=+g[e+16>>2];F=+g[b+16>>2];y=+g[e+32>>2];E=+g[b+32>>2];D=+g[b+4>>2];C=+g[b+20>>2];B=+g[b+36>>2];l=+g[b+8>>2];n=+g[b+24>>2];p=+g[b+40>>2];w=+g[e+4>>2];v=+g[e+20>>2];i=+g[e+36>>2];m=+g[e+8>>2];o=+g[e+24>>2];q=+g[e+40>>2];g[u+384+8>>2]=A*G+z*F+y*E;g[u+384+12>>2]=A*D+z*C+y*B;g[u+384+16>>2]=A*l+z*n+y*p;g[u+384+20>>2]=0.0;g[u+384+24>>2]=G*w+F*v+E*i;g[u+384+28>>2]=D*w+C*v+B*i;g[u+384+32>>2]=l*w+n*v+p*i;g[u+384+36>>2]=0.0;g[u+384+40>>2]=G*m+F*o+E*q;g[u+384+44>>2]=D*m+C*o+B*q;g[u+384+48>>2]=l*m+n*o+p*q;g[u+384+52>>2]=0.0;I=+g[e+48>>2]-+g[b+48>>2];H=+g[e+52>>2]-+g[b+52>>2];t=+g[e+56>>2]-+g[b+56>>2];r=I*+g[b>>2]+H*+g[b+16>>2]+t*+g[b+32>>2];s=I*+g[b+4>>2]+H*+g[b+20>>2]+t*+g[b+36>>2];t=I*+g[b+8>>2]+H*+g[b+24>>2]+t*+g[b+40>>2];g[u+384+56>>2]=A*G+z*F+y*E;g[u+384+60>>2]=G*w+F*v+E*i;g[u+384+64>>2]=G*m+F*o+E*q;g[u+384+68>>2]=0.0;g[u+384+72>>2]=A*D+z*C+y*B;g[u+384+76>>2]=D*w+C*v+B*i;g[u+384+80>>2]=D*m+C*o+B*q;g[u+384+84>>2]=0.0;g[u+384+88>>2]=A*l+z*n+y*p;g[u+384+92>>2]=l*w+n*v+p*i;g[u+384+96>>2]=l*m+n*o+p*q;g[u+384+100>>2]=0.0;g[u+384+104>>2]=r;g[u+384+108>>2]=s;g[u+384+112>>2]=t;g[u+384+116>>2]=0.0;c[u+384+120>>2]=81;c[u+384+124>>2]=0;c[u+364>>2]=0;c[u+128>>2]=0;c[u+128+4>>2]=0;c[u+128+8>>2]=0;c[u+128+12>>2]=0;c[u+376>>2]=2;c[u+368>>2]=0;g[u+144>>2]=0.0;a=Rb(u,u+384|0,f)|0;if(a|0){c[h>>2]=(a|0)==1?1:2;h=0;sa=u;return h|0}a=c[u+372>>2]|0;if(!(c[a+32>>2]|0)){p=0.0;o=0.0;n=0.0;m=0.0;l=0.0;i=0.0}else{f=0;n=0.0;o=0.0;p=0.0;i=0.0;l=0.0;m=0.0;do{t=+g[a+16+(f<<2)>>2];d=c[u+384+120>>2]|0;k=c[u+384+124>>2]|0;e=(c[u+384>>2]|0)+(1?k>>1:k)|0;if(k&1)d=c[(c[e>>2]|0)+d>>2]|0;Za[d&127](u+528|0,e,c[a+(f<<2)>>2]|0);n=n+t*+g[u+528>>2];o=o+t*+g[u+528+4>>2];p=p+t*+g[u+528+8>>2];a=c[(c[u+372>>2]|0)+(f<<2)>>2]|0;q=-+g[a>>2];r=-+g[a+4>>2];s=-+g[a+8>>2];a=c[u+384+120>>2]|0;k=c[u+384+124>>2]|0;d=(c[u+384+4>>2]|0)+(1?k>>1:k)|0;if(k&1)a=c[(c[d>>2]|0)+a>>2]|0;H=+g[u+384+24>>2]*q+ +g[u+384+28>>2]*r+ +g[u+384+32>>2]*s;G=+g[u+384+40>>2]*q+ +g[u+384+44>>2]*r+ +g[u+384+48>>2]*s;g[u+512>>2]=+g[u+384+8>>2]*q+ +g[u+384+12>>2]*r+ +g[u+384+16>>2]*s;g[u+512+4>>2]=H;g[u+512+8>>2]=G;g[u+512+12>>2]=0.0;Za[a&127](u+528|0,d,u+512|0);G=+g[u+528>>2];H=+g[u+528+4>>2];I=+g[u+528+8>>2];i=i+t*(G*+g[u+384+56>>2]+H*+g[u+384+60>>2]+I*+g[u+384+64>>2]+ +g[u+384+104>>2]);l=l+t*(G*+g[u+384+72>>2]+H*+g[u+384+76>>2]+I*+g[u+384+80>>2]+ +g[u+384+108>>2]);m=m+t*(G*+g[u+384+88>>2]+H*+g[u+384+92>>2]+I*+g[u+384+96>>2]+ +g[u+384+112>>2]);f=f+1|0;a=c[u+372>>2]|0}while(f>>>0<(c[a+32>>2]|0)>>>0)}F=n*+g[b+16>>2]+o*+g[b+20>>2]+p*+g[b+24>>2]+ +g[b+52>>2];G=n*+g[b+32>>2]+o*+g[b+36>>2]+p*+g[b+40>>2]+ +g[b+56>>2];g[h+4>>2]=n*+g[b>>2]+o*+g[b+4>>2]+p*+g[b+8>>2]+ +g[b+48>>2];g[h+8>>2]=F;g[h+12>>2]=G;g[h+16>>2]=0.0;G=i*+g[b+16>>2]+l*+g[b+20>>2]+m*+g[b+24>>2]+ +g[b+52>>2];F=i*+g[b+32>>2]+l*+g[b+36>>2]+m*+g[b+40>>2]+ +g[b+56>>2];g[h+20>>2]=i*+g[b>>2]+l*+g[b+4>>2]+m*+g[b+8>>2]+ +g[b+48>>2];g[h+24>>2]=G;g[h+28>>2]=F;g[h+32>>2]=0.0;F=n-i;G=o-l;H=p-m;g[h+48>>2]=0.0;I=+x(+(F*F+G*G+H*H));g[h+52>>2]=I;I=I>9.999999747378752e-05?1.0/I:1.0;g[h+36>>2]=F*I;g[h+40>>2]=G*I;g[h+44>>2]=H*I;h=1;sa=u;return h|0}function Sc(a,b,d,e,f,h){a=a|0;b=+b;d=+d;e=e|0;f=f|0;h=h|0;var i=0,j=0,k=0,l=0.0,m=0.0,n=0.0,o=0,p=0,q=0,r=0;p=sa;sa=sa+704|0;o=IH(f)|0;l=+g[o>>2];m=+g[o+4>>2];n=+g[o+8>>2];g[p+680>>2]=0.0;g[p+676>>2]=0.0;g[p+672>>2]=0.0;ns(p+688|0,p+680|0,p+676|0,p+672|0);g[(JI(p+688|0)|0)+(e<<2)>>2]=d*.5;g[p+648>>2]=0.0;g[p+644>>2]=0.0;g[p+640>>2]=0.0;ns(p+656|0,p+648|0,p+644|0,p+640|0);g[(JI(p+656|0)|0)+(((e+1|0)%3|0)<<2)>>2]=b;g[p+616>>2]=0.0;g[p+612>>2]=0.0;g[p+608>>2]=0.0;ns(p+624|0,p+616|0,p+612|0,p+608|0);g[(JI(p+624|0)|0)+(((e+2|0)%3|0)<<2)>>2]=b;g[p+584>>2]=0.0;g[p+580>>2]=0.0;g[p+576>>2]=0.0;ns(p+592|0,p+584|0,p+580|0,p+576|0);o=JI(p+592|0)|0;g[o+(e<<2)>>2]=-(d*.5);j=p+688+4|0;k=p+688+8|0;i=0;while(1){if(i>>>0>=360)break;d=+(i|0)*.01745329238474369;g[o+(((e+1|0)%3|0)<<2)>>2]=+yI(d)*b;g[o+(((e+2|0)%3|0)<<2)>>2]=+zI(d)*b;q=c[(c[a>>2]|0)+8>>2]|0;r=JI(f)|0;vl(p+544|0,r,+g[p+688>>2],+g[j>>2],+g[k>>2]);qp(p+560|0,l,m,n,+g[p+544>>2],+g[p+544+4>>2],+g[p+544+8>>2]);vl(p+512|0,r,+g[p+592>>2],+g[p+592+4>>2],+g[p+592+8>>2]);qp(p+528|0,l,m,n,+g[p+512>>2],+g[p+512+4>>2],+g[p+512+8>>2]);ab[q&127](a,p+560|0,p+528|0,h);i=i+30|0}r=c[(c[a>>2]|0)+8>>2]|0;q=JI(f)|0;vl(p+480|0,q,+g[p+688>>2],+g[j>>2],+g[k>>2]);qp(p+496|0,l,m,n,+g[p+480>>2],+g[p+480+4>>2],+g[p+480+8>>2]);Lq(p+416|0,+g[p+688>>2],+g[j>>2],+g[k>>2]);qp(p+432|0,+g[p+416>>2],+g[p+416+4>>2],+g[p+416+8>>2],+g[p+656>>2],+g[p+656+4>>2],+g[p+656+8>>2]);vl(p+448|0,q,+g[p+432>>2],+g[p+432+4>>2],+g[p+432+8>>2]);qp(p+464|0,l,m,n,+g[p+448>>2],+g[p+448+4>>2],+g[p+448+8>>2]);ab[r&127](a,p+496|0,p+464|0,h);r=c[(c[a>>2]|0)+8>>2]|0;vl(p+384|0,q,+g[p+688>>2],+g[j>>2],+g[k>>2]);qp(p+400|0,l,m,n,+g[p+384>>2],+g[p+384+4>>2],+g[p+384+8>>2]);Lq(p+320|0,+g[p+688>>2],+g[j>>2],+g[k>>2]);sp(p+336|0,+g[p+320>>2],+g[p+320+4>>2],+g[p+320+8>>2],+g[p+656>>2],+g[p+656+4>>2],+g[p+656+8>>2]);vl(p+352|0,q,+g[p+336>>2],+g[p+336+4>>2],+g[p+336+8>>2]);qp(p+368|0,l,m,n,+g[p+352>>2],+g[p+352+4>>2],+g[p+352+8>>2]);ab[r&127](a,p+400|0,p+368|0,h);r=c[(c[a>>2]|0)+8>>2]|0;vl(p+288|0,q,+g[p+688>>2],+g[j>>2],+g[k>>2]);qp(p+304|0,l,m,n,+g[p+288>>2],+g[p+288+4>>2],+g[p+288+8>>2]);Lq(p+224|0,+g[p+688>>2],+g[j>>2],+g[k>>2]);qp(p+240|0,+g[p+224>>2],+g[p+224+4>>2],+g[p+224+8>>2],+g[p+624>>2],+g[p+624+4>>2],+g[p+624+8>>2]);vl(p+256|0,q,+g[p+240>>2],+g[p+240+4>>2],+g[p+240+8>>2]);qp(p+272|0,l,m,n,+g[p+256>>2],+g[p+256+4>>2],+g[p+256+8>>2]);ab[r&127](a,p+304|0,p+272|0,h);r=c[(c[a>>2]|0)+8>>2]|0;vl(p+192|0,q,+g[p+688>>2],+g[j>>2],+g[k>>2]);qp(p+208|0,l,m,n,+g[p+192>>2],+g[p+192+4>>2],+g[p+192+8>>2]);Lq(p+128|0,+g[p+688>>2],+g[j>>2],+g[k>>2]);sp(p+144|0,+g[p+128>>2],+g[p+128+4>>2],+g[p+128+8>>2],+g[p+624>>2],+g[p+624+4>>2],+g[p+624+8>>2]);vl(p+160|0,q,+g[p+144>>2],+g[p+144+4>>2],+g[p+144+8>>2]);qp(p+176|0,l,m,n,+g[p+160>>2],+g[p+160+4>>2],+g[p+160+8>>2]);ab[r&127](a,p+208|0,p+176|0,h);g[p+104>>2]=0.0;g[p+100>>2]=0.0;g[p+96>>2]=0.0;ns(p+112|0,p+104|0,p+100|0,p+96|0);g[(JI(p+112|0)|0)+(e<<2)>>2]=1.0;g[p+72>>2]=0.0;g[p+68>>2]=0.0;g[p+64>>2]=0.0;ns(p+80|0,p+72|0,p+68|0,p+64|0);g[(JI(p+80|0)|0)+(((e+1|0)%3|0)<<2)>>2]=1.0;r=c[(c[a>>2]|0)+60>>2]|0;vl(p+32|0,q,+g[p+688>>2],+g[j>>2],+g[k>>2]);sp(p+48|0,l,m,n,+g[p+32>>2],+g[p+32+4>>2],+g[p+32+8>>2]);vl(p+16|0,q,+g[p+112>>2],+g[p+112+4>>2],+g[p+112+8>>2]);vl(p,q,+g[p+80>>2],+g[p+80+4>>2],+g[p+80+8>>2]);db[r&1](a,p+48|0,p+16|0,p,b,b,0.0,6.2831854820251465,h,0,10.0);sa=p;return}function Tc(a,b,d,e,f,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;h=+h;var i=0,j=0,k=0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0,s=0.0;i=sa;sa=sa+464|0;Ki(20054);c[i+128>>2]=c[d>>2];c[i+128+4>>2]=c[d+4>>2];c[i+128+8>>2]=c[d+8>>2];c[i+128+12>>2]=c[d+12>>2];c[i+128+16>>2]=c[d+16>>2];c[i+128+16+4>>2]=c[d+16+4>>2];c[i+128+16+8>>2]=c[d+16+8>>2];c[i+128+16+12>>2]=c[d+16+12>>2];c[i+128+32>>2]=c[d+32>>2];c[i+128+32+4>>2]=c[d+32+4>>2];c[i+128+32+8>>2]=c[d+32+8>>2];c[i+128+32+12>>2]=c[d+32+12>>2];k=i+128+48|0;c[k>>2]=c[d+48>>2];c[k+4>>2]=c[d+48+4>>2];c[k+8>>2]=c[d+48+8>>2];c[k+12>>2]=c[d+48+12>>2];c[i+64>>2]=c[e>>2];c[i+64+4>>2]=c[e+4>>2];c[i+64+8>>2]=c[e+8>>2];c[i+64+12>>2]=c[e+12>>2];c[i+64+16>>2]=c[e+16>>2];c[i+64+16+4>>2]=c[e+16+4>>2];c[i+64+16+8>>2]=c[e+16+8>>2];c[i+64+16+12>>2]=c[e+16+12>>2];c[i+64+32>>2]=c[e+32>>2];c[i+64+32+4>>2]=c[e+32+4>>2];c[i+64+32+8>>2]=c[e+32+8>>2];c[i+64+32+12>>2]=c[e+32+12>>2];j=i+64+48|0;c[j>>2]=c[e+48>>2];c[j+4>>2]=c[e+48+4>>2];c[j+8>>2]=c[e+48+8>>2];c[j+12>>2]=c[e+48+12>>2];Se(i+128|0,i+64|0,i+256|0,i+192|0);s=+g[i+192>>2];l=s*+g[i+256+4>>2];q=s*+g[i+256+8>>2];g[i+16>>2]=+g[i+256>>2]*s;g[i+16+4>>2]=l;g[i+16+8>>2]=q;g[i+16+12>>2]=0.0;c[i+256>>2]=0;c[i+256+4>>2]=0;c[i+256+8>>2]=0;c[i+256+12>>2]=0;c[i+192+48>>2]=0;c[i+192+48+4>>2]=0;c[i+192+48+8>>2]=0;c[i+192+48+12>>2]=0;Og(i+128|0,i);q=+g[i>>2];l=+g[i+4>>2];s=+g[i+8>>2];p=+g[i+12>>2];n=q*(2.0/(q*q+l*l+s*s+p*p));m=l*(2.0/(q*q+l*l+s*s+p*p));o=s*(2.0/(q*q+l*l+s*s+p*p));g[i+192>>2]=1.0-(l*m+s*o);g[i+192+4>>2]=q*m-p*o;g[i+192+8>>2]=q*o+p*m;g[i+192+12>>2]=0.0;g[i+192+16>>2]=q*m+p*o;g[i+192+20>>2]=1.0-(q*n+s*o);g[i+192+24>>2]=l*o-p*n;g[i+192+28>>2]=0.0;g[i+192+32>>2]=q*o-p*m;g[i+192+36>>2]=l*o+p*n;g[i+192+40>>2]=1.0-(q*n+l*m);g[i+192+44>>2]=0.0;zg(b,i+192|0,i+256|0,i+16|0,i+48|0,i+32|0);c[i+256>>2]=8744;c[i+256+36>>2]=c[d>>2];c[i+256+36+4>>2]=c[d+4>>2];c[i+256+36+8>>2]=c[d+8>>2];c[i+256+36+12>>2]=c[d+12>>2];c[i+256+52>>2]=c[d+16>>2];c[i+256+52+4>>2]=c[d+16+4>>2];c[i+256+52+8>>2]=c[d+16+8>>2];c[i+256+52+12>>2]=c[d+16+12>>2];c[i+256+68>>2]=c[d+32>>2];c[i+256+68+4>>2]=c[d+32+4>>2];c[i+256+68+8>>2]=c[d+32+8>>2];c[i+256+68+12>>2]=c[d+32+12>>2];r=i+256+84|0;c[r>>2]=c[d+48>>2];c[r+4>>2]=c[d+48+4>>2];c[r+8>>2]=c[d+48+8>>2];c[r+12>>2]=c[d+48+12>>2];c[i+256+100>>2]=c[e>>2];c[i+256+100+4>>2]=c[e+4>>2];c[i+256+100+8>>2]=c[e+8>>2];c[i+256+100+12>>2]=c[e+12>>2];c[i+256+116>>2]=c[e+16>>2];c[i+256+116+4>>2]=c[e+16+4>>2];c[i+256+116+8>>2]=c[e+16+8>>2];c[i+256+116+12>>2]=c[e+16+12>>2];c[i+256+132>>2]=c[e+32>>2];c[i+256+132+4>>2]=c[e+32+4>>2];c[i+256+132+8>>2]=c[e+32+8>>2];c[i+256+132+12>>2]=c[e+32+12>>2];d=i+256+148|0;c[d>>2]=c[e+48>>2];c[d+4>>2]=c[e+48+4>>2];c[d+8>>2]=c[e+48+8>>2];c[d+12>>2]=c[e+48+12>>2];c[i+256+180>>2]=a;c[i+256+184>>2]=f;g[i+256+188>>2]=h;c[i+256+192>>2]=b;m=+g[d>>2]-+g[r>>2];l=+g[i+256+152>>2]-+g[i+256+88>>2];n=+g[i+256+156>>2]-+g[i+256+92>>2];h=1.0/+x(+(m*m+l*l+n*n));q=m*h==0.0?999999984306749440.0:1.0/(m*h);g[i+256+4>>2]=q;p=l*h==0.0?999999984306749440.0:1.0/(l*h);g[i+256+8>>2]=p;o=n*h==0.0?999999984306749440.0:1.0/(n*h);g[i+256+12>>2]=o;c[i+256+20>>2]=q<0.0&1;c[i+256+24>>2]=p<0.0&1;c[i+256+28>>2]=o<0.0&1;g[i+256+32>>2]=n*n*h+(m*m*h+l*l*h);a=c[a+68>>2]|0;gb[c[(c[a>>2]|0)+24>>2]&7](a,k,j,i+256|0,i+48|0,i+32|0);a=c[3084]|0;f=(c[a+16>>2]|0)+-1|0;c[a+16>>2]=f;if(f|0){sa=i;return}do if(c[a+4>>2]|0){la(i+256|0,0)|0;r=c[7181]|0;g[a+8>>2]=+g[a+8>>2]+ +(((c[i+256+4>>2]|0)-(c[r+4>>2]|0)+(((c[i+256>>2]|0)-(c[r>>2]|0)|0)*1e6|0)-(c[a+12>>2]|0)|0)>>>0)/1.0e3;if(!(c[a+16>>2]|0)){a=c[3084]|0;break}else{sa=i;return}}while(0);c[3084]=c[a+20>>2];sa=i;return}function Uc(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;s=sa;sa=sa+32|0;g=Fa[c[(c[d>>2]|0)+28>>2]&127](d)|0;c[e+20>>2]=g;c[e>>2]=0;if(!g){r=d+4|0;f=e+4|0;r=c[r>>2]|0;c[f>>2]=r;f=d+8|0;f=c[f>>2]|0;r=e+8|0;c[r>>2]=f;r=d+12|0;r=c[r>>2]|0;f=e+12|0;c[f>>2]=r;d=d+16|0;d=c[d>>2]|0;f=e+16|0;c[f>>2]=d;sa=s;return 23679}r=Ja[c[(c[f>>2]|0)+16>>2]&63](f,32,g)|0;g=c[r+8>>2]|0;c[e>>2]=Ha[c[(c[f>>2]|0)+28>>2]&31](f,g)|0;q=Fa[c[(c[d>>2]|0)+28>>2]&127](d)|0;a:do if((q|0)>0){p=0;while(1){kb[c[(c[d>>2]|0)+16>>2]&3](d,s+28|0,s+4|0,s+16|0,s+8|0,s+24|0,s+20|0,s,s+12|0,p);i=c[s>>2]|0;c[g+24>>2]=i;c[g+28>>2]=c[s+4>>2];j=g+12|0;l=g+16|0;o=g+4|0;c[g>>2]=0;c[g+4>>2]=0;c[g+8>>2]=0;c[g+12>>2]=0;c[g+16>>2]=0;c[g+20>>2]=0;switch(c[s+12>>2]|0){case 2:{if(i|0){j=Ja[c[(c[f>>2]|0)+16>>2]&63](f,4,i*3|0)|0;k=c[j+8>>2]|0;c[g+8>>2]=Ha[c[(c[f>>2]|0)+28>>2]&31](f,k)|0;if((c[s>>2]|0)>0){l=c[s+24>>2]|0;i=0;do{m=l+(J(c[s+20>>2]|0,i)|0)|0;n=i*3|0;c[k+(n<<2)>>2]=c[m>>2];c[k+(n+1<<2)>>2]=c[m+4>>2];c[k+(n+2<<2)>>2]=c[m+8>>2];i=i+1|0}while((i|0)<(c[s>>2]|0))}eb[c[(c[f>>2]|0)+20>>2]&31](f,j,23560,1497453121,c[j+8>>2]|0)}break}case 3:{if(i|0){m=Ja[c[(c[f>>2]|0)+16>>2]&63](f,8,i)|0;n=c[m+8>>2]|0;c[j>>2]=Ha[c[(c[f>>2]|0)+28>>2]&31](f,n)|0;j=c[s>>2]|0;if((j|0)>0){k=c[s+24>>2]|0;l=c[s+20>>2]|0;i=0;do{t=k+(J(l,i)|0)|0;b[n+(i<<3)>>1]=b[t>>1]|0;b[n+(i<<3)+2>>1]=b[t+2>>1]|0;b[n+(i<<3)+4>>1]=b[t+4>>1]|0;i=i+1|0}while((i|0)!=(j|0))}eb[c[(c[f>>2]|0)+20>>2]&31](f,m,23575,1497453121,c[m+8>>2]|0)}break}case 5:{if(i|0){j=Ja[c[(c[f>>2]|0)+16>>2]&63](f,4,i)|0;k=c[j+8>>2]|0;c[l>>2]=Ha[c[(c[f>>2]|0)+28>>2]&31](f,k)|0;if((c[s>>2]|0)>0){i=0;do{t=(c[s+24>>2]|0)+(J(c[s+20>>2]|0,i)|0)|0;a[k+(i<<2)>>0]=a[t>>0]|0;a[k+(i<<2)+1>>0]=a[t+1>>0]|0;a[k+(i<<2)+2>>0]=a[t+2>>0]|0;i=i+1|0}while((i|0)<(c[s>>2]|0))}eb[c[(c[f>>2]|0)+20>>2]&31](f,j,23602,1497453121,c[j+8>>2]|0)}break}default:{}}switch(c[s+16>>2]|0){case 0:{i=c[s+4>>2]|0;if(i|0){j=Ja[c[(c[f>>2]|0)+16>>2]&63](f,16,i)|0;k=c[j+8>>2]|0;c[g>>2]=Ha[c[(c[f>>2]|0)+28>>2]&31](f,k)|0;l=c[s+4>>2]|0;if((l|0)>0){m=c[s+28>>2]|0;n=c[s+8>>2]|0;i=0;do{t=m+(J(n,i)|0)|0;c[k+(i<<4)>>2]=c[t>>2];c[k+(i<<4)+4>>2]=c[t+4>>2];c[k+(i<<4)+8>>2]=c[t+8>>2];i=i+1|0}while((i|0)!=(l|0))}eb[c[(c[f>>2]|0)+20>>2]&31](f,j,23625,1497453121,c[j+8>>2]|0)}break}case 1:{i=c[s+4>>2]|0;if(i|0){m=Ja[c[(c[f>>2]|0)+16>>2]&63](f,32,i)|0;n=c[m+8>>2]|0;c[o>>2]=Ha[c[(c[f>>2]|0)+28>>2]&31](f,n)|0;j=c[s+4>>2]|0;if((j|0)>0){k=c[s+28>>2]|0;l=c[s+8>>2]|0;i=0;do{t=k+(J(l,i)|0)|0;h[n+(i<<5)>>3]=+h[t>>3];h[n+(i<<5)+8>>3]=+h[t+8>>3];h[n+(i<<5)+16>>3]=+h[t+16>>3];i=i+1|0}while((i|0)!=(j|0))}eb[c[(c[f>>2]|0)+20>>2]&31](f,m,23644,1497453121,c[m+8>>2]|0)}break}default:{}}Va[c[(c[d>>2]|0)+24>>2]&127](d,p);p=p+1|0;if((p|0)==(q|0)){g=f;break a}else g=g+32|0}}else g=f;while(0);eb[c[(c[g>>2]|0)+20>>2]&31](f,r,23664,1497453121,c[r+8>>2]|0);t=d+4|0;f=e+4|0;t=c[t>>2]|0;c[f>>2]=t;f=d+8|0;f=c[f>>2]|0;t=e+8|0;c[t>>2]=f;t=d+12|0;t=c[t>>2]|0;f=e+12|0;c[f>>2]=t;f=d+16|0;f=c[f>>2]|0;t=e+16|0;c[t>>2]=f;sa=s;return 23679}function Vc(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0,i=0,j=0.0,k=0.0,l=0.0,m=0,n=0.0,o=0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0;o=c[a+192>>2]|0;n=+va[c[(c[o>>2]|0)+48>>2]&15](o);o=c[a+712>>2]|0;if((o|0)>0){i=0;do{m=c[a+720>>2]|0;f=m+(i*104|0)+8|0;q=+g[f>>2];h=m+(i*104|0)+12|0;p=+g[h>>2];d=m+(i*104|0)+16|0;l=+g[d>>2];j=q*+g[b>>2]+p*+g[b+4>>2]+l*+g[b+8>>2]+ +g[b+48>>2];k=q*+g[b+16>>2]+p*+g[b+20>>2]+l*+g[b+24>>2]+ +g[b+52>>2];l=q*+g[b+32>>2]+p*+g[b+36>>2]+l*+g[b+40>>2]+ +g[b+56>>2];g[f>>2]=j;g[h>>2]=k;g[d>>2]=l;g[m+(i*104|0)+20>>2]=0.0;d=m+(i*104|0)+24|0;p=+g[d>>2];h=m+(i*104|0)+28|0;q=+g[h>>2];f=m+(i*104|0)+32|0;r=+g[f>>2];s=p*+g[b+16>>2]+q*+g[b+20>>2]+r*+g[b+24>>2]+ +g[b+52>>2];t=p*+g[b+32>>2]+q*+g[b+36>>2]+r*+g[b+40>>2]+ +g[b+56>>2];g[d>>2]=p*+g[b>>2]+q*+g[b+4>>2]+r*+g[b+8>>2]+ +g[b+48>>2];g[h>>2]=s;g[f>>2]=t;g[m+(i*104|0)+36>>2]=0.0;f=m+(i*104|0)+72|0;t=+g[f>>2];h=m+(i*104|0)+76|0;s=+g[h>>2];d=m+(i*104|0)+80|0;r=+g[d>>2];q=t*+g[b+16>>2]+s*+g[b+20>>2]+r*+g[b+24>>2];p=t*+g[b+32>>2]+s*+g[b+36>>2]+r*+g[b+40>>2];g[f>>2]=+g[b>>2]*t+ +g[b+4>>2]*s+ +g[b+8>>2]*r;g[h>>2]=q;g[d>>2]=p;g[m+(i*104|0)+84>>2]=0.0;m=c[m+(i*104|0)+96>>2]|0;d=sg(a+928|0,m)|0;a:do if(d){h=c[a+936>>2]|0;if((h|0)<=-1){d=c[a+928>>2]|0;break}if(h){e=0;while(1){f=c[d+32>>2]|0;e=e+1|0;if(!f)break a;if((e|0)>=(h|0)){d=f;break}else d=f}}}else d=0;while(0);g[m>>2]=j-n;g[m+4>>2]=k-n;g[m+8>>2]=l-n;g[m+12>>2]=0.0;g[m+16>>2]=n+j;g[m+20>>2]=n+k;g[m+24>>2]=n+l;g[m+28>>2]=0.0;ue(a+928|0,d,m);i=i+1|0}while((i|0)!=(o|0))}Nf(a);d=c[a+928>>2]|0;if(d){o=c[a+192>>2]|0;r=+va[c[(c[o>>2]|0)+48>>2]&15](o);t=+g[d+4>>2]-r;s=+g[d+8>>2]-r;g[a+892>>2]=+g[d>>2]-r;g[a+896>>2]=t;g[a+900>>2]=s;g[a+904>>2]=0.0;s=r+ +g[d+20>>2];t=r+ +g[d+24>>2];g[a+908>>2]=r+ +g[d+16>>2];g[a+912>>2]=s;g[a+916>>2]=t;g[a+920>>2]=0.0;d=c[a+188>>2]|0;if(d|0){o=c[a+684>>2]|0;m=c[o+32>>2]|0;eb[c[(c[m>>2]|0)+16>>2]&31](m,d,a+892|0,a+908|0,c[o+36>>2]|0)}}else{c[a+892>>2]=0;c[a+892+4>>2]=0;c[a+892+8>>2]=0;c[a+892+12>>2]=0;c[a+892+16>>2]=0;c[a+892+20>>2]=0;c[a+892+24>>2]=0;c[a+892+28>>2]=0}e=c[a+732>>2]|0;if((e|0)<=0){cf(a);o=a+1148|0;c[o>>2]=c[b>>2];c[o+4>>2]=c[b+4>>2];c[o+8>>2]=c[b+8>>2];c[o+12>>2]=c[b+12>>2];o=b+16|0;m=a+1164|0;c[m>>2]=c[o>>2];c[m+4>>2]=c[o+4>>2];c[m+8>>2]=c[o+8>>2];c[m+12>>2]=c[o+12>>2];m=b+32|0;o=a+1180|0;c[o>>2]=c[m>>2];c[o+4>>2]=c[m+4>>2];c[o+8>>2]=c[m+8>>2];c[o+12>>2]=c[m+12>>2];o=b+48|0;b=a+1196|0;c[b>>2]=c[o>>2];c[b+4>>2]=c[o+4>>2];c[b+8>>2]=c[o+8>>2];c[b+12>>2]=c[o+12>>2];return}f=c[a+740>>2]|0;d=0;do{m=c[f+(d*52|0)+8>>2]|0;o=c[f+(d*52|0)+12>>2]|0;r=+g[m+8>>2]-+g[o+8>>2];s=+g[m+12>>2]-+g[o+12>>2];t=+g[m+16>>2]-+g[o+16>>2];t=+x(+(r*r+s*s+t*t));g[f+(d*52|0)+16>>2]=t;g[f+(d*52|0)+28>>2]=t*t;d=d+1|0}while((d|0)!=(e|0));d=0;do{g[f+(d*52|0)+24>>2]=(+g[(c[f+(d*52|0)+8>>2]|0)+88>>2]+ +g[(c[f+(d*52|0)+12>>2]|0)+88>>2])/+g[(c[f+(d*52|0)+4>>2]|0)+4>>2];d=d+1|0}while((d|0)!=(e|0));cf(a);o=a+1148|0;c[o>>2]=c[b>>2];c[o+4>>2]=c[b+4>>2];c[o+8>>2]=c[b+8>>2];c[o+12>>2]=c[b+12>>2];o=b+16|0;m=a+1164|0;c[m>>2]=c[o>>2];c[m+4>>2]=c[o+4>>2];c[m+8>>2]=c[o+8>>2];c[m+12>>2]=c[o+12>>2];m=b+32|0;o=a+1180|0;c[o>>2]=c[m>>2];c[o+4>>2]=c[m+4>>2];c[o+8>>2]=c[m+8>>2];c[o+12>>2]=c[m+12>>2];o=b+48|0;b=a+1196|0;c[b>>2]=c[o>>2];c[b+4>>2]=c[o+4>>2];c[b+8>>2]=c[o+8>>2];c[b+12>>2]=c[o+12>>2];return}function Wc(b,d,e,f,h,i){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,y=0.0,z=0.0,A=0.0,B=0;w=sa;sa=sa+64|0;if((h|0)>0){b=0;j=0;do{v=c[f+(j<<2)>>2]|0;b=(v|0)>(b|0)?v:b;j=j+1|0}while((j|0)<(h*3|0))}else b=0;s=b+1|0;k=J(s,s)|0;if(!k)j=0;else{c[7182]=(c[7182]|0)+1;j=xb(k+19|0)|0;if(!j)j=0;else{c[(j+4+15&-16)+-4>>2]=j;j=j+4+15&-16}mk(j|0,0,k|0)|0}if((b|0)>-1){c[7182]=(c[7182]|0)+1;b=xb((s<<4|3)+16|0)|0;if(!b)l=0;else{c[(b+4+15&-16)+-4>>2]=b;l=b+4+15&-16}b=0;do{v=l+(b<<4)|0;c[v>>2]=c[w>>2];c[v+4>>2]=c[w+4>>2];c[v+8>>2]=c[w+8>>2];c[v+12>>2]=c[w+12>>2];b=b+1|0}while((b|0)!=(s|0));b=0;k=0;while(1){u=c[e+(k+1<<2)>>2]|0;v=c[e+(k+2<<2)>>2]|0;c[l+(b<<4)>>2]=c[e+(k<<2)>>2];c[l+(b<<4)+4>>2]=u;c[l+(b<<4)+8>>2]=v;g[l+(b<<4)+12>>2]=0.0;k=k+3|0;if((k|0)>=(s*3|0)){v=l;u=l;break}else b=b+1|0}}else{v=0;u=0}c[7182]=(c[7182]|0)+1;b=xb(1271)|0;if(!b)t=0;else{c[(b+4+15&-16)+-4>>2]=b;t=b+4+15&-16}Hb(t,d,s,v,0);if((h|0)>0){d=t+720|0;m=t+732|0;n=t+740|0;o=t+924|0;e=0;do{p=c[f+(e<<2)>>2]|0;q=c[f+(e+1<<2)>>2]|0;r=c[f+(e+2<<2)>>2]|0;l=J(p,s)|0;b=j+(l+r)|0;if(!(a[b>>0]|0)){a[b>>0]=1;a[j+((J(r,s)|0)+p)>>0]=1;B=c[d>>2]|0;oh(t,0);k=(c[m>>2]|0)+-1|0;b=c[n>>2]|0;c[b+(k*52|0)+8>>2]=B+(r*104|0);c[b+(k*52|0)+12>>2]=B+(p*104|0);A=+g[B+(r*104|0)+8>>2]-+g[B+(p*104|0)+8>>2];z=+g[B+(r*104|0)+12>>2]-+g[B+(p*104|0)+12>>2];y=+g[B+(r*104|0)+16>>2]-+g[B+(p*104|0)+16>>2];g[b+(k*52|0)+16>>2]=+x(+(A*A+z*z+y*y));a[o>>0]=1}k=J(q,s)|0;b=j+(k+p)|0;if(!(a[b>>0]|0)){a[b>>0]=1;a[j+(l+q)>>0]=1;b=c[d>>2]|0;oh(t,0);B=(c[m>>2]|0)+-1|0;l=c[n>>2]|0;c[l+(B*52|0)+8>>2]=b+(p*104|0);c[l+(B*52|0)+12>>2]=b+(q*104|0);y=+g[b+(p*104|0)+8>>2]-+g[b+(q*104|0)+8>>2];z=+g[b+(p*104|0)+12>>2]-+g[b+(q*104|0)+12>>2];A=+g[b+(p*104|0)+16>>2]-+g[b+(q*104|0)+16>>2];g[l+(B*52|0)+16>>2]=+x(+(y*y+z*z+A*A));a[o>>0]=1}b=j+((J(r,s)|0)+q)|0;if(!(a[b>>0]|0)){a[b>>0]=1;a[j+(k+r)>>0]=1;k=c[d>>2]|0;oh(t,0);B=(c[m>>2]|0)+-1|0;l=c[n>>2]|0;c[l+(B*52|0)+8>>2]=k+(q*104|0);c[l+(B*52|0)+12>>2]=k+(r*104|0);y=+g[k+(q*104|0)+8>>2]-+g[k+(r*104|0)+8>>2];z=+g[k+(q*104|0)+12>>2]-+g[k+(r*104|0)+12>>2];A=+g[k+(q*104|0)+16>>2]-+g[k+(r*104|0)+16>>2];g[l+(B*52|0)+16>>2]=+x(+(y*y+z*z+A*A));a[o>>0]=1}mf(t,p,q,r,0);e=e+3|0}while((e|0)<(h*3|0))}if(i){l=c[t+732>>2]|0;if((l|0)>0){e=t+740|0;b=243703;k=0;do{d=c[e>>2]|0;m=d+(k*52|0)|0;b=(J(b,1664525)|0)+1013904223|0;n=w;o=m;p=n+52|0;do{c[n>>2]=c[o>>2];n=n+4|0;o=o+4|0}while((n|0)<(p|0));n=m;o=d+(((b>>>0)%(l>>>0)|0)*52|0)|0;p=n+52|0;do{c[n>>2]=c[o>>2];n=n+4|0;o=o+4|0}while((n|0)<(p|0));n=d+(((b>>>0)%(l>>>0)|0)*52|0)|0;o=w;p=n+52|0;do{c[n>>2]=c[o>>2];n=n+4|0;o=o+4|0}while((n|0)<(p|0));k=k+1|0}while((k|0)!=(l|0))}else b=243703;d=c[t+752>>2]|0;if((d|0)>0){m=t+760|0;k=0;do{e=c[m>>2]|0;l=e+(k*44|0)|0;b=(J(b,1664525)|0)+1013904223|0;e=e+(((b>>>0)%(d>>>0)|0)*44|0)|0;n=w;o=l;p=n+44|0;do{c[n>>2]=c[o>>2];n=n+4|0;o=o+4|0}while((n|0)<(p|0));n=l;o=e;p=n+44|0;do{c[n>>2]=c[o>>2];n=n+4|0;o=o+4|0}while((n|0)<(p|0));n=e;o=w;p=n+44|0;do{c[n>>2]=c[o>>2];n=n+4|0;o=o+4|0}while((n|0)<(p|0));k=k+1|0}while((k|0)!=(d|0))}}if(!((v|0)==0|(u|0)==0)){c[7183]=(c[7183]|0)+1;Hc(c[u+-4>>2]|0)}if(!j){sa=w;return t|0}c[7183]=(c[7183]|0)+1;Hc(c[j+-4>>2]|0);sa=w;return t|0}function Xc(a,b,d){a=a|0;b=b|0;d=+d;var e=0,f=0,h=0,i=0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0;i=sa;sa=sa+256|0;e=c[b+212>>2]|0;if((e|0)>-1){b=e;sa=i;return b|0}h=(c[b+236>>2]&2|0)==0;e=h?0:b;do if(!h){if(!(+g[e+344>>2]!=0.0)?(c[e+204>>2]&2|0)==0:0)break;h=c[a+8>>2]|0;mk(i|0,0,244)|0;a=Pe(a+4|0,i)|0;f=(c[b+236>>2]&2|0)==0;e=f?0:b;c[a+64>>2]=0;c[a+64+4>>2]=0;c[a+64+8>>2]=0;c[a+64+12>>2]=0;c[a+64+16>>2]=0;c[a+64+20>>2]=0;c[a+64+24>>2]=0;c[a+64+28>>2]=0;c[a+144>>2]=0;c[a+144+4>>2]=0;c[a+144+8>>2]=0;c[a+144+12>>2]=0;c[a+144+16>>2]=0;c[a+144+20>>2]=0;c[a+144+24>>2]=0;c[a+144+28>>2]=0;if(f){c[a>>2]=1065353216;c[a+4>>2]=0;c[a+4+4>>2]=0;c[a+4+8>>2]=0;c[a+4+12>>2]=0;c[a+20>>2]=1065353216;c[a+24>>2]=0;c[a+24+4>>2]=0;c[a+24+8>>2]=0;c[a+24+12>>2]=0;c[a+40>>2]=1065353216;c[a+44>>2]=0;c[a+44+4>>2]=0;c[a+44+8>>2]=0;c[a+44+12>>2]=0;c[a+44+16>>2]=0;c[a+240>>2]=0;c[a+128>>2]=0;c[a+128+4>>2]=0;c[a+128+8>>2]=0;c[a+128+12>>2]=0;c[a+96>>2]=1065353216;c[a+100>>2]=1065353216;c[a+104>>2]=1065353216;g[a+108>>2]=0.0;c[a+112>>2]=1065353216;c[a+116>>2]=1065353216;c[a+120>>2]=1065353216;g[a+124>>2]=0.0;e=a+176|0;f=e+60|0;do{c[e>>2]=0;e=e+4|0}while((e|0)<(f|0))}else{c[a>>2]=c[e+4>>2];c[a+4>>2]=c[e+4+4>>2];c[a+8>>2]=c[e+4+8>>2];c[a+12>>2]=c[e+4+12>>2];c[a+16>>2]=c[e+20>>2];c[a+16+4>>2]=c[e+20+4>>2];c[a+16+8>>2]=c[e+20+8>>2];c[a+16+12>>2]=c[e+20+12>>2];c[a+32>>2]=c[e+36>>2];c[a+32+4>>2]=c[e+36+4>>2];c[a+32+8>>2]=c[e+36+8>>2];c[a+32+12>>2]=c[e+36+12>>2];c[a+48>>2]=c[e+52>>2];c[a+48+4>>2]=c[e+52+4>>2];c[a+48+8>>2]=c[e+52+8>>2];c[a+48+12>>2]=c[e+52+12>>2];n=+g[e+344>>2];m=n*+g[e+352>>2];l=n*+g[e+356>>2];g[a+128>>2]=n*+g[e+348>>2];g[a+132>>2]=m;g[a+136>>2]=l;g[a+140>>2]=0.0;c[a+240>>2]=e;c[a+96>>2]=c[e+544>>2];c[a+96+4>>2]=c[e+544+4>>2];c[a+96+8>>2]=c[e+544+8>>2];c[a+96+12>>2]=c[e+544+12>>2];c[a+112>>2]=c[e+348>>2];c[a+112+4>>2]=c[e+348+4>>2];c[a+112+8>>2]=c[e+348+8>>2];c[a+112+12>>2]=c[e+348+12>>2];c[a+176>>2]=c[e+312>>2];c[a+176+4>>2]=c[e+312+4>>2];c[a+176+8>>2]=c[e+312+8>>2];c[a+176+12>>2]=c[e+312+12>>2];c[a+192>>2]=c[e+328>>2];c[a+192+4>>2]=c[e+328+4>>2];c[a+192+8>>2]=c[e+328+8>>2];c[a+192+12>>2]=c[e+328+12>>2];l=+g[e+344>>2];m=l*+g[e+416>>2]*d;n=l*+g[e+420>>2]*d;g[a+208>>2]=l*+g[e+412>>2]*d;g[a+212>>2]=m;g[a+216>>2]=n;g[a+220>>2]=0.0;n=+g[e+428>>2];m=+g[e+432>>2];l=+g[e+436>>2];k=(n*+g[e+268>>2]+m*+g[e+284>>2]+l*+g[e+300>>2])*d;j=(n*+g[e+272>>2]+m*+g[e+288>>2]+l*+g[e+304>>2])*d;g[a+224>>2]=(+g[e+264>>2]*n+ +g[e+280>>2]*m+ +g[e+296>>2]*l)*d;g[a+228>>2]=k;g[a+232>>2]=j}g[a+236>>2]=0.0;c[b+212>>2]=h;b=h;sa=i;return b|0}while(0);e=c[a+188>>2]|0;if((e|0)>=0){b=e;sa=i;return b|0}c[a+188>>2]=c[a+8>>2];mk(i|0,0,244)|0;e=Pe(a+4|0,i)|0;c[e+64>>2]=0;c[e+64+4>>2]=0;c[e+64+8>>2]=0;c[e+64+12>>2]=0;c[e+64+16>>2]=0;c[e+64+20>>2]=0;c[e+64+24>>2]=0;c[e+64+28>>2]=0;c[e+144>>2]=0;c[e+144+4>>2]=0;c[e+144+8>>2]=0;c[e+144+12>>2]=0;c[e+144+16>>2]=0;c[e+144+20>>2]=0;c[e+144+24>>2]=0;c[e+144+28>>2]=0;c[e>>2]=1065353216;c[e+4>>2]=0;c[e+4+4>>2]=0;c[e+4+8>>2]=0;c[e+4+12>>2]=0;c[e+20>>2]=1065353216;c[e+24>>2]=0;c[e+24+4>>2]=0;c[e+24+8>>2]=0;c[e+24+12>>2]=0;c[e+40>>2]=1065353216;c[e+44>>2]=0;c[e+44+4>>2]=0;c[e+44+8>>2]=0;c[e+44+12>>2]=0;c[e+44+16>>2]=0;c[e+240>>2]=0;c[e+128>>2]=0;c[e+128+4>>2]=0;c[e+128+8>>2]=0;c[e+128+12>>2]=0;c[e+96>>2]=1065353216;c[e+100>>2]=1065353216;c[e+104>>2]=1065353216;g[e+108>>2]=0.0;c[e+112>>2]=1065353216;c[e+116>>2]=1065353216;c[e+120>>2]=1065353216;g[e+124>>2]=0.0;e=e+176|0;f=e+64|0;do{c[e>>2]=0;e=e+4|0}while((e|0)<(f|0));b=c[a+188>>2]|0;sa=i;return b|0}function Yc(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,h=0,i=0,j=0,k=0.0,l=0.0,m=0.0,n=0.0,o=0,p=0,q=0.0,r=0.0,s=0.0;if(a[b+165>>0]|0){h=c[b+88>>2]|0;a:do if((h|0)>0&e){f=c[b+96>>2]|0;k=+g[d>>2];l=+g[d+4>>2];m=+g[d+8>>2];n=+g[b+168>>2];e=0;while(1){s=+g[f+(e<<4)>>2]-k;r=+g[f+(e<<4)+4>>2]-l;q=+g[f+(e<<4)+8>>2]-m;if(s*s+r*r+q*q<=n)break;e=e+1|0;if((e|0)>=(h|0))break a}return e|0}while(0);p=(c[b+32>>2]|0)+12|0;c[p>>2]=(c[p>>2]|0)+1;if((h|0)==(c[b+92>>2]|0)?(i=(h|0)==0?1:h<<1,(h|0)<(i|0)):0){if(!i)e=0;else{c[7182]=(c[7182]|0)+1;e=xb((i<<4|3)+16|0)|0;if(!e)e=0;else{c[(e+4+15&-16)+-4>>2]=e;e=e+4+15&-16}h=c[b+88>>2]|0}if((h|0)>0){f=0;do{p=e+(f<<4)|0;o=(c[b+96>>2]|0)+(f<<4)|0;c[p>>2]=c[o>>2];c[p+4>>2]=c[o+4>>2];c[p+8>>2]=c[o+8>>2];c[p+12>>2]=c[o+12>>2];f=f+1|0}while((f|0)!=(h|0))}f=c[b+96>>2]|0;if(f|0){if(a[b+100>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[f+-4>>2]|0)}c[b+96>>2]=0}a[b+100>>0]=1;c[b+96>>2]=e;c[b+92>>2]=i;e=c[b+88>>2]|0}else e=h;p=(c[b+96>>2]|0)+(e<<4)|0;c[p>>2]=c[d>>2];c[p+4>>2]=c[d+4>>2];c[p+8>>2]=c[d+8>>2];c[p+12>>2]=c[d+12>>2];d=c[b+88>>2]|0;c[b+88>>2]=d+1;c[(c[b+32>>2]|0)+16>>2]=c[b+96>>2];return d|0}j=c[b+108>>2]|0;b:do if((j|0)>0&e){f=c[b+116>>2]|0;k=+g[d>>2];l=+g[d+4>>2];m=+g[d+8>>2];n=+g[b+168>>2];e=0;while(1){q=+g[f+(e<<2)>>2]-k;r=+g[f+(e+1<<2)>>2]-l;s=+g[f+(e+2<<2)>>2]-m;h=e+3|0;if(q*q+r*r+s*s<=n)break;if((h|0)<(j|0))e=h;else break b}d=(e>>>0)/3|0;return d|0}while(0);e=c[b+112>>2]|0;if((j|0)==(e|0)){e=(j|0)==0?1:j<<1;if((j|0)<(e|0)){if(!e)f=0;else{c[7182]=(c[7182]|0)+1;f=xb((e<<2|3)+16|0)|0;if(!f)f=0;else{c[(f+4+15&-16)+-4>>2]=f;f=f+4+15&-16}j=c[b+108>>2]|0}i=c[b+116>>2]|0;if((j|0)<=0)if(!i){i=b+120|0;h=j}else p=36;else{h=0;do{c[f+(h<<2)>>2]=c[i+(h<<2)>>2];h=h+1|0}while((h|0)!=(j|0));p=36}if((p|0)==36){if(!(a[b+120>>0]|0))h=j;else{c[7183]=(c[7183]|0)+1;Hc(c[i+-4>>2]|0);h=c[b+108>>2]|0}c[b+116>>2]=0;i=b+120|0}a[i>>0]=1;c[b+116>>2]=f;c[b+112>>2]=e}else{h=j;e=j}}else h=j;j=c[b+116>>2]|0;c[j+(h<<2)>>2]=c[d>>2];f=h+1|0;c[b+108>>2]=f;if((f|0)==(e|0)){o=(e|0)==0?1:e<<1;if((e|0)<(o|0)){if(!o){i=0;h=j}else{c[7182]=(c[7182]|0)+1;e=xb((o<<2|3)+16|0)|0;if(!e)e=0;else{c[(e+4+15&-16)+-4>>2]=e;e=e+4+15&-16}i=e;e=c[b+108>>2]|0;h=c[b+116>>2]|0}if((e|0)<=0)if(!h)f=b+120|0;else p=51;else{f=0;do{c[i+(f<<2)>>2]=c[h+(f<<2)>>2];f=f+1|0}while((f|0)!=(e|0));p=51}if((p|0)==51){if(a[b+120>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[h+-4>>2]|0);e=c[b+108>>2]|0}c[b+116>>2]=0;f=b+120|0}a[f>>0]=1;c[b+116>>2]=i;c[b+112>>2]=o;f=e;e=o}else{i=j;f=e}}else i=j;c[i+(f<<2)>>2]=c[d+4>>2];f=f+1|0;c[b+108>>2]=f;if((f|0)==(e|0)){j=(e|0)==0?1:e<<1;if((e|0)<(j|0)){if(!j)h=0;else{c[7182]=(c[7182]|0)+1;e=xb((j<<2|3)+16|0)|0;if(!e)e=0;else{c[(e+4+15&-16)+-4>>2]=e;e=e+4+15&-16}h=e;e=c[b+108>>2]|0;i=c[b+116>>2]|0}if((e|0)<=0)if(!i)f=b+120|0;else p=66;else{f=0;do{c[h+(f<<2)>>2]=c[i+(f<<2)>>2];f=f+1|0}while((f|0)!=(e|0));p=66}if((p|0)==66){if(a[b+120>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[i+-4>>2]|0);e=c[b+108>>2]|0}c[b+116>>2]=0;f=b+120|0}a[f>>0]=1;c[b+116>>2]=h;c[b+112>>2]=j}else h=i}else{h=i;e=f}c[h+(e<<2)>>2]=c[d+8>>2];d=e+1|0;c[b+108>>2]=d;b=c[b+32>>2]|0;c[b+12>>2]=(c[b+12>>2]|0)+1;c[b+16>>2]=h;d=((d|0)/3|0)+-1|0;return d|0}function Zc(a,b){a=a|0;b=b|0;var d=0.0,e=0,f=0,h=0.0,i=0,j=0.0,k=0,l=0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0,w=0,y=0.0,z=0.0,A=0.0,B=0.0,D=0.0,E=0.0,F=0.0,G=0.0;v=sa;sa=sa+64|0;i=c[a+28>>2]|0;l=c[a+32>>2]|0;k=c[b+8>>2]|0;g[k>>2]=1.0;f=c[b+24>>2]|0;g[k+(f+1<<2)>>2]=1.0;g[k+((f<<1)+2<<2)>>2]=1.0;t=+g[a+48>>2];u=+g[a+52>>2];j=+g[a+56>>2];d=+g[i+4>>2]*t+ +g[i+8>>2]*u+ +g[i+12>>2]*j;h=t*+g[i+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>>2];c[o+48+8>>2]=c[d+48+8>>2];c[o+48+12>>2]=c[d+48+12>>2];m=c[e+4>>2]|0;n=+va[c[(c[e>>2]|0)+48>>2]&15](e);ab[c[(c[e>>2]|0)+8>>2]&127](e,d,o+112|0,o+96|0);f=+g[o+112>>2];if(+g[b+32>>2]>f)g[b+32>>2]=f;f=+g[o+96>>2];if(+g[b+48>>2]>2]=f;f=+g[o+112+4>>2];if(+g[b+36>>2]>f)g[b+36>>2]=f;f=+g[o+96+4>>2];if(+g[b+52>>2]>2]=f;f=+g[o+112+8>>2];if(+g[b+40>>2]>f)g[b+40>>2]=f;f=+g[o+96+8>>2];if(+g[b+56>>2]>2]=f;k=c[b+64>>2]|0;if(!k){k=b+16|0;j=0}else{c[o+64>>2]=c[o+112>>2];c[o+64+4>>2]=c[o+112+4>>2];c[o+64+8>>2]=c[o+112+8>>2];c[o+64+12>>2]=c[o+112+12>>2];c[o+64+16>>2]=c[o+96>>2];c[o+64+16+4>>2]=c[o+96+4>>2];c[o+64+16+8>>2]=c[o+96+8>>2];c[o+64+16+12>>2]=c[o+96+12>>2];j=c[b+16>>2]|0;d=c[k+4>>2]|0;if(!d){c[7182]=(c[7182]|0)+1;d=xb(63)|0;if(!d)d=0;else{c[(d+4+15&-16)+-4>>2]=d;d=d+4+15&-16}h=d;i=h+44|0;do{c[h>>2]=0;h=h+4|0}while((h|0)<(i|0))}else c[k+4>>2]=0;c[d+32>>2]=0;c[d+36>>2]=j;c[d+40>>2]=0;c[d>>2]=c[o+64>>2];c[d+4>>2]=c[o+64+4>>2];c[d+8>>2]=c[o+64+8>>2];c[d+12>>2]=c[o+64+12>>2];c[d+16>>2]=c[o+64+16>>2];c[d+20>>2]=c[o+64+20>>2];c[d+24>>2]=c[o+64+24>>2];c[d+28>>2]=c[o+64+28>>2];ue(k,c[k>>2]|0,d);c[k+12>>2]=(c[k+12>>2]|0)+1;k=b+16|0;j=d}d=c[k>>2]|0;if((d|0)==(c[b+20>>2]|0)?(l=(d|0)==0?1:d<<1,(d|0)<(l|0)):0){if(!l)i=0;else{c[7182]=(c[7182]|0)+1;d=xb((l*80|3)+16|0)|0;if(!d)d=0;else{c[(d+4+15&-16)+-4>>2]=d;d=d+4+15&-16}i=d;d=c[k>>2]|0}if((d|0)>0){h=0;do{p=i+(h*80|0)|0;q=c[b+24>>2]|0;r=q+(h*80|0)|0;c[p>>2]=c[r>>2];c[p+4>>2]=c[r+4>>2];c[p+8>>2]=c[r+8>>2];c[p+12>>2]=c[r+12>>2];p=q+(h*80|0)+16|0;r=i+(h*80|0)+16|0;c[r>>2]=c[p>>2];c[r+4>>2]=c[p+4>>2];c[r+8>>2]=c[p+8>>2];c[r+12>>2]=c[p+12>>2];r=q+(h*80|0)+32|0;p=i+(h*80|0)+32|0;c[p>>2]=c[r>>2];c[p+4>>2]=c[r+4>>2];c[p+8>>2]=c[r+8>>2];c[p+12>>2]=c[r+12>>2];p=i+(h*80|0)+48|0;r=q+(h*80|0)+48|0;c[p>>2]=c[r>>2];c[p+4>>2]=c[r+4>>2];c[p+8>>2]=c[r+8>>2];c[p+12>>2]=c[r+12>>2];p=i+(h*80|0)+64|0;q=q+(h*80|0)+64|0;c[p>>2]=c[q>>2];c[p+4>>2]=c[q+4>>2];c[p+8>>2]=c[q+8>>2];c[p+12>>2]=c[q+12>>2];h=h+1|0}while((h|0)!=(d|0))}d=c[b+24>>2]|0;if(d|0){if(a[b+28>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+24>>2]=0}a[b+28>>0]=1;c[b+24>>2]=i;c[b+20>>2]=l;d=c[k>>2]|0}r=c[b+24>>2]|0;q=r+(d*80|0)|0;c[q>>2]=c[o>>2];c[q+4>>2]=c[o+4>>2];c[q+8>>2]=c[o+8>>2];c[q+12>>2]=c[o+12>>2];q=r+(d*80|0)+16|0;c[q>>2]=c[o+16>>2];c[q+4>>2]=c[o+16+4>>2];c[q+8>>2]=c[o+16+8>>2];c[q+12>>2]=c[o+16+12>>2];q=r+(d*80|0)+32|0;c[q>>2]=c[o+32>>2];c[q+4>>2]=c[o+32+4>>2];c[q+8>>2]=c[o+32+8>>2];c[q+12>>2]=c[o+32+12>>2];q=r+(d*80|0)+48|0;c[q>>2]=c[o+48>>2];c[q+4>>2]=c[o+48+4>>2];c[q+8>>2]=c[o+48+8>>2];c[q+12>>2]=c[o+48+12>>2];r=r+(d*80|0)+64|0;c[r>>2]=e;c[r+4>>2]=m;g[r+8>>2]=n;c[r+12>>2]=j;c[k>>2]=(c[k>>2]|0)+1;sa=o;return}function $c(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,h=0,i=0,j=0,k=0,l=0,m=0.0,n=0.0;l=sa;sa=sa+384|0;f=c[d+36>>2]|0;d=c[e+36>>2]|0;e=c[b+24>>2]|0;if(((e|0)==(c[b+28>>2]|0)?c[e+1132>>2]|0:0)?(j=(J(c[d+380>>2]|0,c[e+1112>>2]|0)|0)+(c[f+380>>2]|0)|0,a[(c[e+1140>>2]|0)+j>>0]|0):0){c[6845]=(c[6845]|0)+1;sa=l;return}c[l+328+4>>2]=35;c[l+328+8>>2]=0;c[l+328+12>>2]=1065353216;c[l+328+16>>2]=1065353216;c[l+328+20>>2]=1065353216;g[l+328+24>>2]=0.0;c[l+328>>2]=6196;c[l+328+52>>2]=f;g[l+328+44>>2]=0.0;c[l+272+4>>2]=35;c[l+272+8>>2]=0;c[l+272+12>>2]=1065353216;c[l+272+16>>2]=1065353216;c[l+272+20>>2]=1065353216;g[l+272+24>>2]=0.0;c[l+272>>2]=6196;c[l+272+52>>2]=d;g[l+272+44>>2]=0.0;if((a[26616]|0)==0?mz(26616)|0:0){if((a[26624]|0)==0?mz(26624)|0:0){c[6774]=1065353216;c[6775]=0;c[6776]=0;c[6777]=0;c[6778]=0;c[6779]=1065353216;c[6780]=0;c[6781]=0;c[6782]=0;c[6783]=0;c[6784]=1065353216;g[6785]=0.0}c[6758]=c[6774];c[6759]=c[6775];c[6760]=c[6776];c[6761]=c[6777];c[6762]=c[6778];c[6763]=c[6779];c[6764]=c[6780];c[6765]=c[6781];c[6766]=c[6782];c[6767]=c[6783];c[6768]=c[6784];c[6769]=c[6785];c[6770]=0;c[6771]=0;c[6772]=0;c[6773]=0}if((a[26616]|0)==0?mz(26616)|0:0){if((a[26624]|0)==0?mz(26624)|0:0){c[6774]=1065353216;c[6775]=0;c[6776]=0;c[6777]=0;c[6778]=0;c[6779]=1065353216;c[6780]=0;c[6781]=0;c[6782]=0;c[6783]=0;c[6784]=1065353216;g[6785]=0.0}c[6758]=c[6774];c[6759]=c[6775];c[6760]=c[6776];c[6761]=c[6777];c[6762]=c[6778];c[6763]=c[6779];c[6764]=c[6780];c[6765]=c[6781];c[6766]=c[6782];c[6767]=c[6783];c[6768]=c[6784];c[6769]=c[6785];c[6770]=0;c[6771]=0;c[6772]=0;c[6773]=0}n=+g[f+232>>2]-+g[d+232>>2];m=+g[f+236>>2]-+g[d+236>>2];g[l>>2]=+g[f+228>>2]-+g[d+228>>2];g[l+4>>2]=n;g[l+8>>2]=m;g[l+12>>2]=0.0;if(!(!(Rc(l+328|0,27032,l+272|0,27032,l,l+216|0)|0)?!(Ob(l+328|0,27032,l+272|0,27032,l,l+216|0,0)|0):0))h=19;if((h|0)==19?(c[l+4>>2]=0,c[l+4+4>>2]=0,c[l+4+8>>2]=0,c[l+4+12>>2]=0,c[l+4+16>>2]=0,c[l+4+20>>2]=0,a[l+152>>0]=0,c[l>>2]=6016,jc(b,l+216|0,f,0,0,d,0,0,l)|0):0){c[7182]=(c[7182]|0)+1;d=xb(235)|0;if(!d)j=0;else{c[(d+4+15&-16)+-4>>2]=d;j=d+4+15&-16}e=j+4|0;d=j+152|0;mk(e|0,0,212)|0;c[j>>2]=6016;f=l+4|0;h=e+100|0;do{c[e>>2]=c[f>>2];e=e+4|0;f=f+4|0}while((e|0)<(h|0));e=j+104|0;c[e>>2]=c[l+104>>2];c[e+4>>2]=c[l+104+4>>2];c[e+8>>2]=c[l+104+8>>2];c[e+12>>2]=c[l+104+12>>2];e=j+120|0;c[e>>2]=c[l+120>>2];c[e+4>>2]=c[l+120+4>>2];c[e+8>>2]=c[l+120+8>>2];c[e+12>>2]=c[l+120+12>>2];e=j+136|0;c[e>>2]=c[l+136>>2];c[e+4>>2]=c[l+136+4>>2];c[e+8>>2]=c[l+136+8>>2];c[e+12>>2]=c[l+136+12>>2];a[d>>0]=a[l+152>>0]|0;e=j+156|0;f=l+156|0;h=e+60|0;do{c[e>>2]=c[f>>2];e=e+4|0;f=f+4|0}while((e|0)<(h|0));h=c[b+24>>2]|0;i=j;d=c[h+852>>2]|0;if((d|0)==(c[h+856>>2]|0)?(k=(d|0)==0?1:d<<1,(d|0)<(k|0)):0){if(!k)f=0;else{c[7182]=(c[7182]|0)+1;d=xb((k<<2|3)+16|0)|0;if(!d)d=0;else{c[(d+4+15&-16)+-4>>2]=d;d=d+4+15&-16}f=d;d=c[h+852>>2]|0}if((d|0)>0){e=0;do{c[f+(e<<2)>>2]=c[(c[h+860>>2]|0)+(e<<2)>>2];e=e+1|0}while((e|0)!=(d|0))}e=c[h+860>>2]|0;if(e){if(a[h+864>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[e+-4>>2]|0);d=c[h+852>>2]|0}c[h+860>>2]=0}a[h+864>>0]=1;c[h+860>>2]=f;c[h+856>>2]=k}c[(c[h+860>>2]|0)+(d<<2)>>2]=i;c[h+852>>2]=d+1;i=c[b+24>>2]|0;k=c[b+28>>2]|0;m=+g[i+348>>2];n=+g[k+348>>2];b=j+64|0;g[b>>2]=+g[b>>2]*(m>n?m:n);b=j+68|0;g[b>>2]=+g[b>>2]*(+g[i+360>>2]+ +g[k+360>>2])*.5}sa=l;return}function ad(a,b){a=a|0;b=b|0;var d=0,e=0.0,f=0,h=0,i=0,j=0,k=0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;F=sa;sa=sa+16|0;Ki(15377);E=c[a+712>>2]|0;if((E|0)>0){c[7182]=(c[7182]|0)+1;d=xb((E<<4|3)+16|0)|0;if(!d)h=0;else{c[(d+4+15&-16)+-4>>2]=d;h=d+4+15&-16}mk(h|0,0,E<<4|0)|0;f=c[a+712>>2]|0;if((f|0)>0){c[7182]=(c[7182]|0)+1;d=xb((f<<2|3)+16|0)|0;if(!d)d=0;else{c[(d+4+15&-16)+-4>>2]=d;d=d+4+15&-16}mk(d|0,0,f<<2|0)|0;C=d;D=h;A=d;z=h}else{C=0;D=h;A=0;z=h}}else{C=0;D=0;A=0;z=0}y=c[a+1112>>2]|0;if(b){if((y|0)>0){f=c[a+1120>>2]|0;d=0;do{h=c[f+(d<<2)>>2]|0;i=c[h+312>>2]|0;if(i|0){g[h+276>>2]=1.0/+(i|0)*+g[h+276>>2];g[h+280>>2]=1.0/+(i|0)*+g[h+280>>2];g[h+284>>2]=1.0/+(i|0)*+g[h+284>>2];g[h+292>>2]=1.0/+(i|0)*+g[h+292>>2];g[h+296>>2]=1.0/+(i|0)*+g[h+296>>2];g[h+300>>2]=1.0/+(i|0)*+g[h+300>>2]}d=d+1|0}while((d|0)!=(y|0));B=14}}else B=14;if((B|0)==14?(y|0)>0:0){k=c[a+1120>>2]|0;if(b){f=0;do{b=c[k+(f<<2)>>2]|0;if((c[b+312>>2]|0)>0?(w=+g[a+452>>2],r=+g[b+276>>2]*w,s=w*+g[b+280>>2],t=w*+g[b+284>>2],u=w*+g[b+292>>2],v=w*+g[b+296>>2],w=w*+g[b+300>>2],x=c[b+24>>2]|0,(x|0)>0):0){j=c[b+32>>2]|0;h=c[a+720>>2]|0;i=c[b+12>>2]|0;d=0;do{q=c[j+(d<<2)>>2]|0;p=+g[i+(d<<2)>>2];o=+g[q+8>>2]-+g[b+228>>2];n=+g[q+12>>2]-+g[b+232>>2];m=+g[q+16>>2]-+g[b+236>>2];G=D+(((q-h|0)/104|0)<<4)|0;g[G>>2]=+g[G>>2]+p*(r+(v*m-w*n));G=D+(((q-h|0)/104|0)<<4)+4|0;g[G>>2]=+g[G>>2]+p*(s+(w*o-u*m));G=D+(((q-h|0)/104|0)<<4)+8|0;g[G>>2]=p*(t+(u*n-v*o))+ +g[G>>2];q=C+(((q-h|0)/104|0)<<2)|0;g[q>>2]=p+ +g[q>>2];d=d+1|0}while((d|0)!=(x|0))}f=f+1|0}while((f|0)!=(y|0))}else{f=0;do{h=c[k+(f<<2)>>2]|0;if((c[h+308>>2]|0)>0?(p=+g[a+452>>2],e=+g[h+244>>2]*p,l=p*+g[h+248>>2],m=p*+g[h+252>>2],n=p*+g[h+260>>2],o=p*+g[h+264>>2],p=p*+g[h+268>>2],q=c[h+24>>2]|0,(q|0)>0):0){i=c[h+32>>2]|0;b=c[a+720>>2]|0;j=c[h+12>>2]|0;d=0;do{G=c[i+(d<<2)>>2]|0;w=+g[j+(d<<2)>>2];v=+g[G+8>>2]-+g[h+228>>2];u=+g[G+12>>2]-+g[h+232>>2];t=+g[G+16>>2]-+g[h+236>>2];x=D+(((G-b|0)/104|0)<<4)|0;g[x>>2]=+g[x>>2]+w*(e+(o*t-p*u));x=D+(((G-b|0)/104|0)<<4)+4|0;g[x>>2]=+g[x>>2]+w*(l+(p*v-n*t));x=D+(((G-b|0)/104|0)<<4)+8|0;g[x>>2]=w*(m+(n*u-o*v))+ +g[x>>2];G=C+(((G-b|0)/104|0)<<2)|0;g[G>>2]=w+ +g[G>>2];d=d+1|0}while((d|0)!=(q|0))}f=f+1|0}while((f|0)!=(y|0))}}if((E|0)>0){d=0;do{e=+g[C+(d<<2)>>2];if(e>0.0){v=1.0/e*+g[D+(d<<4)+4>>2];w=1.0/e*+g[D+(d<<4)+8>>2];G=c[a+720>>2]|0;y=G+(d*104|0)+8|0;g[y>>2]=1.0/e*+g[D+(d<<4)>>2]+ +g[y>>2];y=G+(d*104|0)+12|0;g[y>>2]=v+ +g[y>>2];G=G+(d*104|0)+16|0;g[G>>2]=w+ +g[G>>2]}d=d+1|0}while((d|0)!=(E|0));if(A|0)B=35}else if(!((C|0)==0|(A|0)==0))B=35;if((B|0)==35){c[7183]=(c[7183]|0)+1;Hc(c[A+-4>>2]|0)}if(!((D|0)==0|(z|0)==0)){c[7183]=(c[7183]|0)+1;Hc(c[z+-4>>2]|0)}d=c[3084]|0;G=(c[d+16>>2]|0)+-1|0;c[d+16>>2]=G;if(G|0){sa=F;return}do if(c[d+4>>2]|0){la(F|0,0)|0;G=c[7181]|0;g[d+8>>2]=+g[d+8>>2]+ +(((c[F+4>>2]|0)-(c[G+4>>2]|0)+(((c[F>>2]|0)-(c[G>>2]|0)|0)*1e6|0)-(c[d+12>>2]|0)|0)>>>0)/1.0e3;if(!(c[d+16>>2]|0)){d=c[3084]|0;break}else{sa=F;return}}while(0);c[3084]=c[d+20>>2];sa=F;return}function bd(b,d,e,f,h,i){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;var k=0,l=0.0,m=0,n=0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0,D=0;C=sa;sa=sa+272|0;z=+g[e+48>>2]-+g[d+48>>2];A=+g[e+52>>2]-+g[d+52>>2];B=+g[e+56>>2]-+g[d+56>>2];Se(d,e,C+256|0,C+208|0);u=+g[C+208>>2];s=+g[C+256>>2]*u;t=u*+g[C+256+4>>2];u=u*+g[C+256+8>>2];g[C+192>>2]=s;g[C+192+4>>2]=t;g[C+192+8>>2]=u;g[C+192+12>>2]=0.0;v=+g[h+48>>2]-+g[f+48>>2];w=+g[h+52>>2]-+g[f+52>>2];y=+g[h+56>>2]-+g[f+56>>2];Se(f,h,C+256|0,C+208|0);q=+g[C+208>>2];o=+g[C+256>>2]*q;p=q*+g[C+256+4>>2];q=q*+g[C+256+8>>2];g[C+176>>2]=o;g[C+176+4>>2]=p;g[C+176+8>>2]=q;g[C+176+12>>2]=0.0;e=c[b+12>>2]|0;r=+va[c[(c[e>>2]|0)+16>>2]&15](e);e=c[b+16>>2]|0;if(!e)l=0.0;else l=+va[c[(c[e>>2]|0)+16>>2]&15](e);r=r*+x(+(s*s+t*t+u*u))+l*+x(+(o*o+p*p+q*q));if(r+ +x(+((v-z)*(v-z)+(w-A)*(w-A)+(y-B)*(y-B)))==0.0){i=0;sa=C;return i|0}c[C+208>>2]=12068;g[C+208+36>>2]=999999984306749440.0;a[C+208+40>>0]=0;Pc(b,d,f,C+208|0);h=(a[C+208+40>>0]|0)==0;c[C+256>>2]=c[C+208+20>>2];c[C+256+4>>2]=c[C+208+20+4>>2];c[C+256+8>>2]=c[C+208+20+8>>2];c[C+256+12>>2]=c[C+208+20+12>>2];a:do if(!h?(n=c[C+208+4>>2]|0,k=c[C+208+8>>2]|0,m=c[C+208+12>>2]|0,u=(v-z)*(c[j>>2]=n,+g[j>>2]),u=u+(w-A)*(c[j>>2]=k,+g[j>>2]),!(r+(u+(y-B)*(c[j>>2]=m,+g[j>>2]))<=1.1920928955078125e-07)):0){l=+g[C+208+16>>2];o=+g[i+172>>2]+ +g[C+208+36>>2];b:do if(o>1.0000000474974513e-03){h=0;p=0.0;q=o;while(1){e=c[i+168>>2]|0;if(e|0){D=c[(c[e>>2]|0)+20>>2]|0;c[C+112>>2]=1065353216;c[C+112+4>>2]=1065353216;c[C+112+8>>2]=1065353216;g[C+112+12>>2]=0.0;Xa[D&7](e,C+256|0,.20000000298023224,C+112|0)}l=(v-z)*(c[j>>2]=n,+g[j>>2]);l=l+(w-A)*(c[j>>2]=k,+g[j>>2]);l=r+(l+(y-B)*(c[j>>2]=m,+g[j>>2]));if(l<=1.1920928955078125e-07){k=0;break a}o=p+q/l;if(!(!(o<=p)&(!(o<0.0)&!(o>1.0)))){k=0;break a}jg(d,z,A,B,C+192|0,o,C+112|0);jg(f,v,w,y,C+176|0,o,C+48|0);k=c[i+168>>2]|0;if(k|0){D=c[(c[k>>2]|0)+20>>2]|0;c[C>>2]=1065353216;c[C+4>>2]=0;c[C+8>>2]=0;g[C+12>>2]=0.0;Xa[D&7](k,C+112+48|0,.20000000298023224,C)}Qa[c[c[i>>2]>>2]&31](i,o);c[C>>2]=12068;g[C+36>>2]=999999984306749440.0;a[C+40>>0]=0;Pc(b,C+112|0,C+48|0,C);if(!(a[C+40>>0]|0)){k=17;break}q=+g[C+36>>2]+ +g[i+172>>2];c[C+256>>2]=c[C+20>>2];c[C+256+4>>2]=c[C+20+4>>2];c[C+256+8>>2]=c[C+20+8>>2];c[C+256+12>>2]=c[C+20+12>>2];n=c[C+4>>2]|0;k=c[C+8>>2]|0;m=c[C+12>>2]|0;e=h+1|0;if(h>>>0>63){k=18;break}if(!(q>1.0000000474974513e-03)){l=+g[C+16>>2];break b}else{h=e;p=o}}if((k|0)==17)Za[c[(c[i>>2]|0)+8>>2]&127](i,-1,h);else if((k|0)==18)Za[c[(c[i>>2]|0)+8>>2]&127](i,-2,e);k=0;break a}else o=0.0;while(0);g[i+164>>2]=o;c[i+132>>2]=n;c[i+136>>2]=k;c[i+140>>2]=m;g[i+144>>2]=l;c[i+148>>2]=c[C+256>>2];c[i+148+4>>2]=c[C+256+4>>2];c[i+148+8>>2]=c[C+256+8>>2];c[i+148+12>>2]=c[C+256+12>>2];k=1}else k=0;while(0);D=k;sa=C;return D|0}function cd(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var h=0,i=0,j=0;h=sa;sa=sa+768|0;j=c[(c[a>>2]|0)+8>>2]|0;i=JI(b)|0;ns(h+736|0,i,i+4|0,i+8|0);Qv(h+752|0,e,+g[h+736>>2],+g[h+736+4>>2],+g[h+736+8>>2]);b=JI(d)|0;ns(h+704|0,b,i+4|0,i+8|0);Qv(h+720|0,e,+g[h+704>>2],+g[h+704+4>>2],+g[h+704+8>>2]);ab[j&127](a,h+752|0,h+720|0,f);d=c[(c[a>>2]|0)+8>>2]|0;ns(h+672|0,b,i+4|0,i+8|0);Qv(h+688|0,e,+g[h+672>>2],+g[h+672+4>>2],+g[h+672+8>>2]);ns(h+640|0,b,b+4|0,i+8|0);Qv(h+656|0,e,+g[h+640>>2],+g[h+640+4>>2],+g[h+640+8>>2]);ab[d&127](a,h+688|0,h+656|0,f);d=c[(c[a>>2]|0)+8>>2]|0;ns(h+608|0,b,b+4|0,i+8|0);Qv(h+624|0,e,+g[h+608>>2],+g[h+608+4>>2],+g[h+608+8>>2]);ns(h+576|0,i,b+4|0,i+8|0);Qv(h+592|0,e,+g[h+576>>2],+g[h+576+4>>2],+g[h+576+8>>2]);ab[d&127](a,h+624|0,h+592|0,f);d=c[(c[a>>2]|0)+8>>2]|0;ns(h+544|0,i,b+4|0,i+8|0);Qv(h+560|0,e,+g[h+544>>2],+g[h+544+4>>2],+g[h+544+8>>2]);ns(h+512|0,i,i+4|0,i+8|0);Qv(h+528|0,e,+g[h+512>>2],+g[h+512+4>>2],+g[h+512+8>>2]);ab[d&127](a,h+560|0,h+528|0,f);d=c[(c[a>>2]|0)+8>>2]|0;ns(h+480|0,i,i+4|0,i+8|0);Qv(h+496|0,e,+g[h+480>>2],+g[h+480+4>>2],+g[h+480+8>>2]);ns(h+448|0,i,i+4|0,b+8|0);Qv(h+464|0,e,+g[h+448>>2],+g[h+448+4>>2],+g[h+448+8>>2]);ab[d&127](a,h+496|0,h+464|0,f);d=c[(c[a>>2]|0)+8>>2]|0;ns(h+416|0,b,i+4|0,i+8|0);Qv(h+432|0,e,+g[h+416>>2],+g[h+416+4>>2],+g[h+416+8>>2]);ns(h+384|0,b,i+4|0,b+8|0);Qv(h+400|0,e,+g[h+384>>2],+g[h+384+4>>2],+g[h+384+8>>2]);ab[d&127](a,h+432|0,h+400|0,f);d=c[(c[a>>2]|0)+8>>2]|0;ns(h+352|0,b,b+4|0,i+8|0);Qv(h+368|0,e,+g[h+352>>2],+g[h+352+4>>2],+g[h+352+8>>2]);ns(h+320|0,b,b+4|0,b+8|0);Qv(h+336|0,e,+g[h+320>>2],+g[h+320+4>>2],+g[h+320+8>>2]);ab[d&127](a,h+368|0,h+336|0,f);d=c[(c[a>>2]|0)+8>>2]|0;ns(h+288|0,i,b+4|0,i+8|0);Qv(h+304|0,e,+g[h+288>>2],+g[h+288+4>>2],+g[h+288+8>>2]);ns(h+256|0,i,b+4|0,b+8|0);Qv(h+272|0,e,+g[h+256>>2],+g[h+256+4>>2],+g[h+256+8>>2]);ab[d&127](a,h+304|0,h+272|0,f);d=c[(c[a>>2]|0)+8>>2]|0;ns(h+224|0,i,i+4|0,b+8|0);Qv(h+240|0,e,+g[h+224>>2],+g[h+224+4>>2],+g[h+224+8>>2]);ns(h+192|0,b,i+4|0,b+8|0);Qv(h+208|0,e,+g[h+192>>2],+g[h+192+4>>2],+g[h+192+8>>2]);ab[d&127](a,h+240|0,h+208|0,f);d=c[(c[a>>2]|0)+8>>2]|0;ns(h+160|0,b,i+4|0,b+8|0);Qv(h+176|0,e,+g[h+160>>2],+g[h+160+4>>2],+g[h+160+8>>2]);ns(h+128|0,b,b+4|0,b+8|0);Qv(h+144|0,e,+g[h+128>>2],+g[h+128+4>>2],+g[h+128+8>>2]);ab[d&127](a,h+176|0,h+144|0,f);d=c[(c[a>>2]|0)+8>>2]|0;ns(h+96|0,b,b+4|0,b+8|0);Qv(h+112|0,e,+g[h+96>>2],+g[h+96+4>>2],+g[h+96+8>>2]);ns(h+64|0,i,b+4|0,b+8|0);Qv(h+80|0,e,+g[h+64>>2],+g[h+64+4>>2],+g[h+64+8>>2]);ab[d&127](a,h+112|0,h+80|0,f);d=c[(c[a>>2]|0)+8>>2]|0;ns(h+32|0,i,b+4|0,b+8|0);Qv(h+48|0,e,+g[h+32>>2],+g[h+32+4>>2],+g[h+32+8>>2]);ns(h,i,i+4|0,b+8|0);Qv(h+16|0,e,+g[h>>2],+g[h+4>>2],+g[h+8>>2]);ab[d&127](a,h+48|0,h+16|0,f);sa=h;return}function dd(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,y=0.0,z=0,A=0.0,B=0.0,C=0.0,D=0.0,E=0,F=0;E=sa;sa=sa+32|0;A=+g[b+48>>2]-+g[b+112>>2];h=+g[b+52>>2]-+g[b+116>>2];D=+g[b+56>>2]-+g[b+120>>2];B=A*+g[b+64>>2]+h*+g[b+80>>2]+D*+g[b+96>>2];C=A*+g[b+68>>2]+h*+g[b+84>>2]+D*+g[b+100>>2];D=A*+g[b+72>>2]+h*+g[b+88>>2]+D*+g[b+104>>2];e=c[a+8>>2]|0;z=c[a+4>>2]|0;h=+g[z+28>>2]*+g[z+12>>2];A=h+ +g[a+12>>2];o=+g[e+72>>2];p=+g[e+56>>2];q=+g[e+76>>2];r=+g[e+60>>2];s=+g[e+80>>2];t=+g[e+64>>2];u=+g[e+88>>2];v=+g[e+92>>2];w=+g[e+96>>2];j=(q-r)*(w-t)-(s-t)*(v-r);l=(s-t)*(u-p)-(o-p)*(w-t);n=(o-p)*(v-r)-(q-r)*(u-p);m=1.0/+x(+(n*n+(j*j+l*l)));i=(D-t)*n*m+((B-p)*j*m+(C-r)*l*m);if(i<0.0){y=-i;k=-(j*m);i=-(l*m);j=-(n*m)}else{y=i;k=j*m;i=l*m;j=n*m}if(!(y0.0&(n>0.0&s>0.0)|w<=0.0&(n<=0.0&s<=0.0))){if((Fa[c[(c[e>>2]|0)+100>>2]&127](e)|0)<=0){sa=E;return}e=0;z=0;r=0.0;q=0.0;p=0.0;do{F=c[a+8>>2]|0;ab[c[(c[F>>2]|0)+104>>2]&127](F,z,E+16|0,E);o=+g[E+16>>2];w=+g[E+16+4>>2];t=+g[E+16+8>>2];s=+g[E>>2]-o;y=+g[E+4>>2]-w;u=+g[E+8>>2]-t;do if((B-o)*s+(C-w)*y+(D-t)*u>0.0)if((B-o)*s+(C-w)*y+(D-t)*u>2]|0}while((z|0)<(Fa[c[(c[F>>2]|0)+100>>2]&127](F)|0));if(!(e&1)){sa=E;return}else o=A*A}else{o=A*A;r=B-y*k;q=D-y*j;p=C-y*i}m=B-r;n=C-p;l=D-q;if(!(m*m+n*n+l*l1.1920928955078125e-07){i=+x(+(m*m+n*n+l*l));h=h-i;k=m*(1.0/i);j=l*(1.0/i);i=n*(1.0/i)}h=-h;if(f){w=+g[b+64>>2];y=+g[b+68>>2];A=+g[b+72>>2];B=w*k+y*i+A*j;n=+g[b+80>>2];o=+g[b+84>>2];s=+g[b+88>>2];C=k*n+i*o+j*s;t=+g[b+96>>2];u=+g[b+100>>2];v=+g[b+104>>2];D=k*t+i*u+j*v;g[E+16>>2]=-B;g[E+16+4>>2]=-C;g[E+16+8>>2]=-D;g[E+16+12>>2]=0.0;C=r*n+p*o+q*s+ +g[b+116>>2]+C*h;D=r*t+p*u+q*v+ +g[b+120>>2]+D*h;g[E>>2]=r*w+p*y+q*A+ +g[b+112>>2]+B*h;g[E+4>>2]=C;g[E+8>>2]=D;g[E+12>>2]=0.0;_a[c[(c[d>>2]|0)+16>>2]&15](d,E+16|0,E,h);sa=E;return}else{F=c[(c[d>>2]|0)+16>>2]|0;y=+g[b+64>>2];A=+g[b+68>>2];B=+g[b+72>>2];t=+g[b+80>>2];u=+g[b+84>>2];C=+g[b+88>>2];v=+g[b+96>>2];w=+g[b+100>>2];D=+g[b+104>>2];g[E+16>>2]=y*k+A*i+B*j;g[E+16+4>>2]=k*t+i*u+j*C;g[E+16+8>>2]=k*v+i*w+j*D;g[E+16+12>>2]=0.0;C=r*t+p*u+q*C+ +g[b+116>>2];D=r*v+p*w+q*D+ +g[b+120>>2];g[E>>2]=r*y+p*A+q*B+ +g[b+112>>2];g[E+4>>2]=C;g[E+8>>2]=D;g[E+12>>2]=0.0;_a[F&15](d,E+16|0,E,h);sa=E;return}}function ed(b,d){b=b|0;d=d|0;var e=0,f=0,h=0,i=0,j=0,k=0,l=0,m=0;c[b>>2]=8032;c[7182]=(c[7182]|0)+1;e=xb(379)|0;if(!e)e=0;else{c[(e+4+15&-16)+-4>>2]=e;e=e+4+15&-16}g[e+308>>2]=9.999999747378752e-05;l=e+332|0;a[l>>0]=a[l>>0]&-16;c[b+24>>2]=e;l=(c[d+20>>2]|0)==0;c[7182]=(c[7182]|0)+1;e=xb(23)|0;c[(e+4+15&-16)+-4>>2]=e;c[(e+4+15&-16)>>2]=l?11980:12028;c[b+28>>2]=e+4+15&-16;c[7182]=(c[7182]|0)+1;e=xb(43)|0;if(!e)e=0;else{c[(e+4+15&-16)+-4>>2]=e;e=e+4+15&-16}k=c[b+24>>2]|0;l=c[b+28>>2]|0;a[e+4>>0]=0;c[e>>2]=8840;c[e+16>>2]=0;c[e+20>>2]=3;c[e+12>>2]=k;c[e+8>>2]=l;c[b+32>>2]=e;c[7182]=(c[7182]|0)+1;e=xb(27)|0;if(!e)e=0;else{c[(e+4+15&-16)+-4>>2]=e;e=e+4+15&-16}a[e+4>>0]=0;c[e>>2]=8064;c[b+36>>2]=e;c[7182]=(c[7182]|0)+1;e=xb(27)|0;if(!e)e=0;else{c[(e+4+15&-16)+-4>>2]=e;e=e+4+15&-16}a[e+4>>0]=0;c[e>>2]=8084;c[b+40>>2]=e;c[7182]=(c[7182]|0)+1;e=xb(27)|0;if(!e)e=0;else{c[(e+4+15&-16)+-4>>2]=e;e=e+4+15&-16}a[e+4>>0]=0;c[e>>2]=8104;c[b+44>>2]=e;c[7182]=(c[7182]|0)+1;e=xb(27)|0;if(!e)e=0;else{c[(e+4+15&-16)+-4>>2]=e;e=e+4+15&-16}a[e+4>>0]=0;c[e>>2]=8124;c[b+48>>2]=e;c[7182]=(c[7182]|0)+1;e=xb(27)|0;if(!e)e=0;else{c[(e+4+15&-16)+-4>>2]=e;e=e+4+15&-16}a[e+4>>0]=0;c[e>>2]=8144;c[b+52>>2]=e;c[7182]=(c[7182]|0)+1;e=xb(27)|0;if(!e)e=0;else{c[(e+4+15&-16)+-4>>2]=e;e=e+4+15&-16}a[e+4>>0]=0;c[e>>2]=8164;c[b+56>>2]=e;c[7182]=(c[7182]|0)+1;e=xb(27)|0;if(!e)e=0;else{c[(e+4+15&-16)+-4>>2]=e;e=e+4+15&-16}a[e+4>>0]=0;c[e>>2]=8184;c[b+60>>2]=e;c[7182]=(c[7182]|0)+1;e=xb(27)|0;if(!e)e=0;else{c[(e+4+15&-16)+-4>>2]=e;e=e+4+15&-16}a[e+4>>0]=0;c[e>>2]=8204;c[b+76>>2]=e;c[7182]=(c[7182]|0)+1;e=xb(27)|0;if(!e)e=0;else{c[(e+4+15&-16)+-4>>2]=e;e=e+4+15&-16}c[e>>2]=8204;c[b+80>>2]=e;a[e+4>>0]=1;c[7182]=(c[7182]|0)+1;e=xb(27)|0;if(!e)e=0;else{c[(e+4+15&-16)+-4>>2]=e;e=e+4+15&-16}a[e+4>>0]=0;c[e>>2]=8224;c[b+72>>2]=e;c[7182]=(c[7182]|0)+1;e=xb(35)|0;if(!e)e=0;else{c[(e+4+15&-16)+-4>>2]=e;e=e+4+15&-16}a[e+4>>0]=0;c[e>>2]=8244;c[e+8>>2]=1;c[e+12>>2]=0;c[b+88>>2]=e;c[7182]=(c[7182]|0)+1;e=xb(35)|0;if(!e)e=0;else{c[(e+4+15&-16)+-4>>2]=e;e=e+4+15&-16}c[e>>2]=8244;c[e+8>>2]=1;c[e+12>>2]=0;c[b+84>>2]=e;a[e+4>>0]=1;l=c[d+16>>2]|0;l=(l|0)>80?l:80;e=c[d>>2]|0;if(!e){a[b+12>>0]=1;c[7182]=(c[7182]|0)+1;e=xb(39)|0;if(!e)k=0;else{c[(e+4+15&-16)+-4>>2]=e;k=e+4+15&-16}e=c[d+8>>2]|0;c[k>>2]=772;f=k+4|0;c[f>>2]=e;c[7182]=(c[7182]|0)+1;e=xb((e*772|3)+16|0)|0;if(!e)e=0;else{c[(e+4+15&-16)+-4>>2]=e;e=e+4+15&-16}c[k+16>>2]=e;c[k+12>>2]=e;h=c[f>>2]|0;c[k+8>>2]=h;if(h+-1|0){i=c[k>>2]|0;f=e;j=h+-1|0;do{m=f;f=f+i|0;c[m>>2]=f;j=j+-1|0}while((j|0)!=0);e=e+(J(i,h+-1|0)|0)|0}c[e>>2]=0;c[b+8>>2]=k}else{a[b+12>>0]=0;c[b+8>>2]=e}e=c[d+4>>2]|0;if(e|0){a[b+20>>0]=0;c[b+16>>2]=e;return}a[b+20>>0]=1;c[7182]=(c[7182]|0)+1;e=xb(39)|0;if(!e)k=0;else{c[(e+4+15&-16)+-4>>2]=e;k=e+4+15&-16}e=c[d+12>>2]|0;c[k>>2]=l;f=k+4|0;c[f>>2]=e;e=J(e,l)|0;c[7182]=(c[7182]|0)+1;e=xb(e+19|0)|0;if(!e)e=0;else{c[(e+4+15&-16)+-4>>2]=e;e=e+4+15&-16}c[k+16>>2]=e;c[k+12>>2]=e;h=c[f>>2]|0;c[k+8>>2]=h;if(h+-1|0){i=c[k>>2]|0;f=e;j=h+-1|0;do{m=f;f=f+i|0;c[m>>2]=f;j=j+-1|0}while((j|0)!=0);e=e+(J(i,h+-1|0)|0)|0}c[e>>2]=0;c[b+16>>2]=k;return}function fd(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var h=0,i=0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0;i=sa;sa=sa+16|0;if((a[26704]|0)==0?mz(26704)|0:0){c[i>>2]=0;c[i+4>>2]=0;c[i+8>>2]=0;c[i+12>>2]=0;Cf(27392,0.0,0,0,i)}c[6899]=c[6899]|1;g[6934]=0.0;j=+g[6944]*0.0;k=+g[6945]*0.0;g[6939]=+g[6943]*0.0;g[6940]=j;g[6941]=k;g[6942]=0.0;c[6947]=0;c[6948]=0;c[6949]=0;c[6950]=0;k=+g[6936]*0.0;j=+g[6937]*0.0;g[6988]=+g[6935]*0.0;g[6989]=k;g[6990]=j;g[6991]=0.0;c[b+4>>2]=6;c[b+8>>2]=-1;c[b+12>>2]=-1;g[b+16>>2]=3402823466385288598117041.0e14;a[b+20>>0]=1;a[b+21>>0]=0;c[b+24>>2]=-1;c[b+28>>2]=27392;c[b+32>>2]=d;g[b+36>>2]=0.0;g[b+40>>2]=.30000001192092896;c[b+44>>2]=0;c[b>>2]=7188;c[b+112>>2]=c[e>>2];c[b+112+4>>2]=c[e+4>>2];c[b+112+8>>2]=c[e+8>>2];c[b+112+12>>2]=c[e+12>>2];c[b+128>>2]=c[e+16>>2];c[b+128+4>>2]=c[e+16+4>>2];c[b+128+8>>2]=c[e+16+8>>2];c[b+128+12>>2]=c[e+16+12>>2];c[b+144>>2]=c[e+32>>2];c[b+144+4>>2]=c[e+32+4>>2];c[b+144+8>>2]=c[e+32+8>>2];c[b+144+12>>2]=c[e+32+12>>2];c[b+160>>2]=c[e+48>>2];c[b+160+4>>2]=c[e+48+4>>2];c[b+160+8>>2]=c[e+48+8>>2];c[b+160+12>>2]=c[e+48+12>>2];e=b+680|0;h=e+48|0;do{c[e>>2]=0;e=e+4|0}while((e|0)<(h|0));c[b+740>>2]=0;c[b+740+4>>2]=0;c[b+740+8>>2]=0;c[b+740+12>>2]=0;c[b+756>>2]=1045220557;c[b+760>>2]=1045220557;c[b+764>>2]=1045220557;c[b+768>>2]=0;c[b+768+4>>2]=0;c[b+768+8>>2]=0;c[b+768+12>>2]=0;c[b+768+16>>2]=0;g[b+728>>2]=.699999988079071;g[b+732>>2]=1.0;g[b+736>>2]=.5;a[b+788>>0]=0;a[b+788+1>>0]=0;a[b+788+2>>0]=0;c[b+792>>2]=0;c[b+792+4>>2]=0;c[b+792+8>>2]=0;c[b+808>>2]=0;c[b+808+4>>2]=0;c[b+808+8>>2]=0;g[b+928>>2]=0.0;g[b+876>>2]=0.0;g[b+880>>2]=.10000000149011612;g[b+884>>2]=300.0;g[b+868>>2]=1.0;g[b+872>>2]=-1.0;g[b+896>>2]=0.0;g[b+900>>2]=.20000000298023224;g[b+904>>2]=0.0;g[b+908>>2]=0.0;g[b+888>>2]=1.0;g[b+892>>2]=.5;c[b+924>>2]=0;g[b+916>>2]=0.0;a[b+912>>0]=0;g[b+992>>2]=0.0;g[b+940>>2]=0.0;g[b+944>>2]=.10000000149011612;g[b+948>>2]=300.0;g[b+932>>2]=1.0;g[b+936>>2]=-1.0;g[b+960>>2]=0.0;g[b+964>>2]=.20000000298023224;g[b+968>>2]=0.0;g[b+972>>2]=0.0;g[b+952>>2]=1.0;g[b+956>>2]=.5;c[b+988>>2]=0;g[b+980>>2]=0.0;a[b+976>>0]=0;g[b+1056>>2]=0.0;g[b+1004>>2]=0.0;g[b+1008>>2]=.10000000149011612;g[b+1012>>2]=300.0;g[b+996>>2]=1.0;g[b+1e3>>2]=-1.0;g[b+1024>>2]=0.0;g[b+1028>>2]=.20000000298023224;g[b+1032>>2]=0.0;g[b+1036>>2]=0.0;g[b+1016>>2]=1.0;g[b+1020>>2]=.5;c[b+1052>>2]=0;g[b+1044>>2]=0.0;a[b+1040>>0]=0;a[b+1300>>0]=f&1;a[b+1301>>0]=1;c[b+1304>>2]=0;a[b+1308>>0]=0;x=+g[b+112>>2];D=+g[d+4>>2];w=+g[b+128>>2];C=+g[d+8>>2];v=+g[b+144>>2];B=+g[d+12>>2];u=+g[b+116>>2];t=+g[b+132>>2];s=+g[b+148>>2];r=+g[b+120>>2];p=+g[b+136>>2];n=+g[b+152>>2];A=+g[d+20>>2];z=+g[d+24>>2];y=+g[d+28>>2];q=+g[d+36>>2];o=+g[d+40>>2];m=+g[d+44>>2];F=+g[b+160>>2];E=+g[b+164>>2];k=+g[b+168>>2];l=+g[d+52>>2]+(D*F+C*E+B*k);j=A*F+z*E+y*k+ +g[d+56>>2];k=q*F+o*E+m*k+ +g[d+60>>2];g[b+48>>2]=x*D+w*C+v*B;g[b+52>>2]=D*u+C*t+B*s;g[b+56>>2]=D*r+C*p+B*n;g[b+60>>2]=0.0;g[b+64>>2]=x*A+w*z+v*y;g[b+68>>2]=u*A+t*z+s*y;g[b+72>>2]=r*A+p*z+n*y;g[b+76>>2]=0.0;g[b+80>>2]=x*q+w*o+v*m;g[b+84>>2]=u*q+t*o+s*m;g[b+88>>2]=r*q+p*o+n*m;g[b+92>>2]=0.0;g[b+96>>2]=l;g[b+100>>2]=j;g[b+104>>2]=k;g[b+108>>2]=0.0;tc(b,(c[b+28>>2]|0)+4|0,(c[b+32>>2]|0)+4|0);sa=i;return}function gd(b,d,e,f,h,i,j,k){b=b|0;d=d|0;e=e|0;f=f|0;h=+h;i=+i;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=sa;sa=sa+288|0;c[v+208>>2]=c[d>>2];c[v+208+4>>2]=c[d+4>>2];c[v+208+8>>2]=c[d+8>>2];c[v+208+12>>2]=c[d+12>>2];n=v+208+16|0;c[n>>2]=c[e>>2];c[n+4>>2]=c[e+4>>2];c[n+8>>2]=c[e+8>>2];c[n+12>>2]=c[e+12>>2];e=v+208+32|0;c[e>>2]=c[f>>2];c[e+4>>2]=c[f+4>>2];c[e+8>>2]=c[f+8>>2];c[e+12>>2]=c[f+12>>2];u=c[j>>2]|0;p=c[j+4>>2]|0;q=c[j+8>>2]|0;r=c[j+16>>2]|0;s=c[j+12>>2]|0;o=c[j+20>>2]|0;c[v+156>>2]=c[v+208>>2];c[v+156+4>>2]=c[v+208+4>>2];c[v+156+8>>2]=c[v+208+8>>2];c[v+156+12>>2]=c[v+208+12>>2];c[v+172>>2]=c[n>>2];c[v+172+4>>2]=c[n+4>>2];c[v+172+8>>2]=c[n+8>>2];c[v+172+12>>2]=c[n+12>>2];c[v+188>>2]=c[e>>2];c[v+188+4>>2]=c[e+4>>2];c[v+188+8>>2]=c[e+8>>2];c[v+188+12>>2]=c[e+12>>2];e=c[b+136>>2]|0;if((e|0)==(c[b+140>>2]|0)?(t=(e|0)==0?1:e<<1,(e|0)<(t|0)):0){if(!t)d=0;else{c[7182]=(c[7182]|0)+1;d=xb((t*284|3)+16|0)|0;if(!d)d=0;else{c[(d+4+15&-16)+-4>>2]=d;d=d+4+15&-16}e=c[b+136>>2]|0}if((e|0)>0){f=0;do{j=c[b+144>>2]|0;l=d+(f*284|0)|0;m=j+(f*284|0)|0;n=l+92|0;do{c[l>>2]=c[m>>2];l=l+4|0;m=m+4|0}while((l|0)<(n|0));l=d+(f*284|0)+92|0;m=j+(f*284|0)+92|0;c[l>>2]=c[m>>2];c[l+4>>2]=c[m+4>>2];c[l+8>>2]=c[m+8>>2];c[l+12>>2]=c[m+12>>2];l=j+(f*284|0)+108|0;m=d+(f*284|0)+108|0;c[m>>2]=c[l>>2];c[m+4>>2]=c[l+4>>2];c[m+8>>2]=c[l+8>>2];c[m+12>>2]=c[l+12>>2];m=j+(f*284|0)+124|0;l=d+(f*284|0)+124|0;c[l>>2]=c[m>>2];c[l+4>>2]=c[m+4>>2];c[l+8>>2]=c[m+8>>2];c[l+12>>2]=c[m+12>>2];l=d+(f*284|0)+140|0;m=j+(f*284|0)+140|0;c[l>>2]=c[m>>2];c[l+4>>2]=c[m+4>>2];c[l+8>>2]=c[m+8>>2];c[l+12>>2]=c[m+12>>2];l=d+(f*284|0)+156|0;m=j+(f*284|0)+156|0;n=l+128|0;do{c[l>>2]=c[m>>2];l=l+4|0;m=m+4|0}while((l|0)<(n|0));f=f+1|0}while((f|0)!=(e|0))}e=c[b+144>>2]|0;if(e|0){if(a[b+148>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[e+-4>>2]|0)}c[b+144>>2]=0}a[b+148>>0]=1;c[b+144>>2]=d;c[b+140>>2]=t;e=c[b+136>>2]|0}d=c[b+144>>2]|0;l=d+(e*284|0)|0;m=v;n=l+92|0;do{c[l>>2]=c[m>>2];l=l+4|0;m=m+4|0}while((l|0)<(n|0));l=d+(e*284|0)+92|0;c[l>>2]=c[v+92>>2];c[l+4>>2]=c[v+92+4>>2];c[l+8>>2]=c[v+92+8>>2];c[l+12>>2]=c[v+92+12>>2];l=d+(e*284|0)+108|0;c[l>>2]=c[v+108>>2];c[l+4>>2]=c[v+108+4>>2];c[l+8>>2]=c[v+108+8>>2];c[l+12>>2]=c[v+108+12>>2];l=d+(e*284|0)+124|0;c[l>>2]=c[v+124>>2];c[l+4>>2]=c[v+124+4>>2];c[l+8>>2]=c[v+124+8>>2];c[l+12>>2]=c[v+124+12>>2];l=d+(e*284|0)+140|0;c[l>>2]=c[v+140>>2];c[l+4>>2]=c[v+140+4>>2];c[l+8>>2]=c[v+140+8>>2];c[l+12>>2]=c[v+140+12>>2];d=d+(e*284|0)+156|0;l=d;m=v+156|0;n=l+48|0;do{c[l>>2]=c[m>>2];l=l+4|0;m=m+4|0}while((l|0)<(n|0));g[d+48>>2]=h;c[d+52>>2]=s;g[d+56>>2]=i;c[d+60>>2]=u;c[d+64>>2]=p;c[d+68>>2]=q;c[d+72>>2]=r;g[d+76>>2]=0.0;g[d+80>>2]=0.0;g[d+84>>2]=0.0;g[d+88>>2]=.10000000149011612;c[d+92>>2]=o;g[d+96>>2]=0.0;g[d+100>>2]=0.0;a[d+104>>0]=k&1;l=d+105|0;m=v+256|0;n=l+23|0;do{a[l>>0]=a[m>>0]|0;l=l+1|0;m=m+1|0}while((l|0)<(n|0));k=c[b+136>>2]|0;c[b+136>>2]=k+1;k=(c[b+144>>2]|0)+(k*284|0)|0;dg(c[b+116>>2]|0,k,0);Ld(c[b+116>>2]|0,c[b+144>>2]|0,(c[b+136>>2]|0)+-1|0,0);sa=v;return k|0}function hd(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0;if((h|0)<0){h=c[b+8>>2]|0;+Ea[c[(c[h>>2]|0)+12>>2]&3](h,d,e,f,g,c[b+12>>2]|0,c[b+16>>2]|0,c[b+4>>2]|0,c[b+20>>2]|0,c[b+24>>2]|0);return}o=c[b+16>>2]|0;a:do if((o|0)>0){l=c[b+12>>2]|0;i=0;while(1){m=l+(i<<2)|0;k=c[m>>2]|0;j=c[(c[k+28>>2]|0)+208>>2]|0;if((j|0)<=-1)j=c[(c[k+32>>2]|0)+208>>2]|0;if((j|0)==(h|0))break a;i=i+1|0;if((i|0)>=(o|0)){m=0;break}}}else{i=0;m=0}while(0);if((i|0)<(o|0)){n=c[b+12>>2]|0;j=0;do{l=c[n+(i<<2)>>2]|0;k=c[(c[l+28>>2]|0)+208>>2]|0;if((k|0)<=-1)k=c[(c[l+32>>2]|0)+208>>2]|0;j=j+((k|0)==(h|0)&1)|0;i=i+1|0}while((i|0)!=(o|0));h=j}else h=0;i=c[b+4>>2]|0;if((c[i+72>>2]|0)<2){o=c[b+8>>2]|0;+Ea[c[(c[o>>2]|0)+12>>2]&3](o,d,e,f,g,m,h,i,c[b+20>>2]|0,c[b+24>>2]|0);return}if((e|0)>0){n=0;i=c[b+32>>2]|0;j=c[b+36>>2]|0;do{o=d+(n<<2)|0;if((i|0)==(j|0)){l=(j|0)==0?1:j<<1;if((j|0)<(l|0)){if(!l)i=0;else{c[7182]=(c[7182]|0)+1;i=xb((l<<2|3)+16|0)|0;if(!i)i=0;else{c[(i+4+15&-16)+-4>>2]=i;i=i+4+15&-16}j=c[b+32>>2]|0}if((j|0)>0){k=0;do{c[i+(k<<2)>>2]=c[(c[b+40>>2]|0)+(k<<2)>>2];k=k+1|0}while((k|0)!=(j|0))}k=c[b+40>>2]|0;if(k){if(a[b+44>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[k+-4>>2]|0);j=c[b+32>>2]|0}c[b+40>>2]=0}a[b+44>>0]=1;c[b+40>>2]=i;c[b+36>>2]=l;i=j;j=l}else i=j}c[(c[b+40>>2]|0)+(i<<2)>>2]=c[o>>2];i=i+1|0;c[b+32>>2]=i;n=n+1|0}while((n|0)!=(e|0))}if((g|0)>0){n=0;i=c[b+52>>2]|0;j=c[b+56>>2]|0;do{o=f+(n<<2)|0;if((i|0)==(j|0)){l=(j|0)==0?1:j<<1;if((j|0)<(l|0)){if(!l)i=0;else{c[7182]=(c[7182]|0)+1;i=xb((l<<2|3)+16|0)|0;if(!i)i=0;else{c[(i+4+15&-16)+-4>>2]=i;i=i+4+15&-16}j=c[b+52>>2]|0}if((j|0)>0){k=0;do{c[i+(k<<2)>>2]=c[(c[b+60>>2]|0)+(k<<2)>>2];k=k+1|0}while((k|0)!=(j|0))}k=c[b+60>>2]|0;if(k){if(a[b+64>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[k+-4>>2]|0);j=c[b+52>>2]|0}c[b+60>>2]=0}a[b+64>>0]=1;c[b+60>>2]=i;c[b+56>>2]=l;i=j;j=l}else i=j}c[(c[b+60>>2]|0)+(i<<2)>>2]=c[o>>2];i=i+1|0;c[b+52>>2]=i;n=n+1|0}while((n|0)!=(g|0))}if(!h)i=c[b+72>>2]|0;else{o=0;i=c[b+72>>2]|0;j=c[b+76>>2]|0;do{n=m+(o<<2)|0;if((i|0)==(j|0)){l=(j|0)==0?1:j<<1;if((j|0)<(l|0)){if(!l){k=0;i=j}else{c[7182]=(c[7182]|0)+1;i=xb((l<<2|3)+16|0)|0;if(!i)i=0;else{c[(i+4+15&-16)+-4>>2]=i;i=i+4+15&-16}k=i;i=c[b+72>>2]|0}if((i|0)>0){j=0;do{c[k+(j<<2)>>2]=c[(c[b+80>>2]|0)+(j<<2)>>2];j=j+1|0}while((j|0)!=(i|0))}j=c[b+80>>2]|0;if(j){if(a[b+84>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[j+-4>>2]|0);i=c[b+72>>2]|0}c[b+80>>2]=0}a[b+84>>0]=1;c[b+80>>2]=k;c[b+76>>2]=l;j=l}else i=j}c[(c[b+80>>2]|0)+(i<<2)>>2]=c[n>>2];i=i+1|0;c[b+72>>2]=i;o=o+1|0}while((o|0)!=(h|0))}if(((c[b+52>>2]|0)+i|0)<=(c[(c[b+4>>2]|0)+72>>2]|0))return;wg(b);return}function id(d,f,h,i){d=d|0;f=f|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0;v=sa;sa=sa+80|0;u=c[d+48>>2]|0;c[v>>2]=9672;c[v+4>>2]=u;c[v+8>>2]=f;u=c[d+52>>2]|0;if(!(a[u+60>>0]|0)){f=c[u+56>>2]|0;if((f|0)>0){o=0;d=0;n=c[u+96>>2]|0;while(1){d=d+1|0;if(!(+g[h>>2]>+g[n+16>>2])?!(+g[i>>2]<+g[n>>2]):0)j=1;else j=0;if(!(!(+g[h+8>>2]>+g[n+24>>2])?!(+g[i+8>>2]<+g[n+8>>2]):0))j=0;if(!(+g[h+4>>2]>+g[n+20>>2])?!(+g[i+4>>2]<+g[n+4>>2]):0){k=c[n+32>>2]|0;if(j&(k|0)==-1){Za[c[(c[v>>2]|0)+8>>2]&127](v,c[n+36>>2]|0,c[n+40>>2]|0);f=c[u+56>>2]|0;m=44}else{l=(k|0)==-1;m=43}}else{k=c[n+32>>2]|0;j=0;l=(k|0)==-1;m=43}if((m|0)==43){m=0;if(l|j)m=44;else{l=n+(k<<6)|0;j=k+o|0}}if((m|0)==44){l=n+64|0;j=o+1|0}if((j|0)<(f|0)){o=j;n=l}else break}}else d=0;if((c[7162]|0)>=(d|0)){sa=v;return}c[7162]=d;sa=v;return}x=+g[h>>2];B=+g[h+4>>2];F=+g[h+8>>2];E=+g[u+4>>2];x=x>2];B=B>2];F=F>2];C=+g[u+24>>2];y=+g[u+28>>2];H=+g[u+36>>2];D=+g[u+40>>2];z=+g[u+44>>2];r=~~(((G>1]=r;s=~~(((C>1]=s;b[v+66+4>>1]=t;F=+g[i>>2];B=+g[i+4>>2];x=+g[i+8>>2];F=F>1]=i;p=~~(D*((C>1]=p;b[v+60+4>>1]=q;switch(c[u+144>>2]|0){case 0:{n=c[u+56>>2]|0;if((n|0)>0){d=0;f=c[u+136>>2]|0;j=0;do{d=d+1|0;k=((i&65535)>=(e[f>>1]|0)?(r&65535)<=(e[f+6>>1]|0):0)&(t&65535)<=(e[f+10>>1]|0)&(q&65535)>=(e[f+4>>1]|0)&(s&65535)<=(e[f+8>>1]|0)&(p&65535)>=(e[f+2>>1]|0);l=f+12|0;m=c[l>>2]|0;if((m|0)>-1&k)Za[c[(c[v>>2]|0)+8>>2]&127](v,21?m>>>21:m,m&2097151);if(k|(m|0)>-1){j=j+1|0;f=f+16|0}else{u=c[l>>2]|0;j=j-u|0;f=f+(0-u<<4)|0}}while((j|0)<(n|0))}else d=0;if((c[7162]|0)<(d|0))c[7162]=d;break}case 1:{if((c[u+152>>2]|0)>0){h=0;do{d=c[u+160>>2]|0;if(((i&65535)>=(e[d+(h<<5)>>1]|0)?(r&65535)<=(e[d+(h<<5)+6>>1]|0):0)&(t&65535)<=(e[d+(h<<5)+10>>1]|0)&(q&65535)>=(e[d+(h<<5)+4>>1]|0)&(s&65535)<=(e[d+(h<<5)+8>>1]|0)&(p&65535)>=(e[d+(h<<5)+2>>1]|0)){o=c[d+(h<<5)+12>>2]|0;n=c[d+(h<<5)+16>>2]|0;a:do if((n|0)>0){d=0;f=(c[u+136>>2]|0)+(o<<4)|0;j=o;while(1){d=d+1|0;k=((i&65535)>=(e[f>>1]|0)?(r&65535)<=(e[f+6>>1]|0):0)&(t&65535)<=(e[f+10>>1]|0)&(q&65535)>=(e[f+4>>1]|0)&(s&65535)<=(e[f+8>>1]|0)&(p&65535)>=(e[f+2>>1]|0);l=f+12|0;m=c[l>>2]|0;if((m|0)>-1&k)Za[c[(c[v>>2]|0)+8>>2]&127](v,21?m>>>21:m,m&2097151);if(k|(m|0)>-1){j=j+1|0;f=f+16|0}else{m=c[l>>2]|0;j=j-m|0;f=f+(0-m<<4)|0}if((j|0)>=(n+o|0))break a}}else d=0;while(0);if((c[7162]|0)<(d|0))c[7162]=d}h=h+1|0}while((h|0)<(c[u+152>>2]|0))}break}case 2:{Wj(c[u+136>>2]|0,v,v+66|0,v+60|0);break}default:{}}sa=v;return}function jd(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var h=0;a[b+20>>0]=1;c[b+16>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;c[b+24>>2]=d;g[b+28>>2]=0.0;c[b+32>>2]=0;c[b+36>>2]=1;g[b+40>>2]=1.0;a[b+44>>0]=1;c[b+48>>2]=0;a[b+52>>0]=0;a[b+53>>0]=1;a[b+54>>0]=1;g[b+56>>2]=.03999999910593033;a[b+60>>0]=0;g[b+64>>2]=0.0;c[b+68>>2]=e;c[b+72>>2]=0;a[b+76>>0]=1;c[b+80>>2]=0;c[b+84>>2]=0;c[b+88>>2]=0;g[b+92>>2]=.6000000238418579;g[b+96>>2]=1.0;g[b+100>>2]=.30000001192092896;g[b+104>>2]=.01666666753590107;g[b+108>>2]=0.0;g[b+116>>2]=20.0;c[b+112>>2]=10;g[b+124>>2]=.20000000298023224;g[b+128>>2]=.800000011920929;g[b+132>>2]=0.0;g[b+120>>2]=1.0;c[b+136>>2]=1;g[b+140>>2]=-.03999999910593033;g[b+144>>2]=.10000000149011612;g[b+148>>2]=0.0;g[b+152>>2]=.8500000238418579;c[b+156>>2]=260;c[b+160>>2]=2;c[b+164>>2]=128;g[b+168>>2]=100.0;g[b+172>>2]=1000000015047466219876688.0e6;c[b>>2]=6904;a[b+192>>0]=1;c[b+188>>2]=0;c[b+180>>2]=0;c[b+184>>2]=0;c[b+196>>2]=0;c[b+200>>2]=f;a[b+224>>0]=1;c[b+220>>2]=0;c[b+212>>2]=0;c[b+216>>2]=0;a[b+244>>0]=1;c[b+240>>2]=0;c[b+232>>2]=0;c[b+236>>2]=0;c[b+248>>2]=0;c[b+252>>2]=-1054867456;a[b+274>>0]=0;a[b+275>>0]=0;c[b+256>>2]=0;c[b+256+4>>2]=0;c[b+256+8>>2]=0;c[b+256+12>>2]=0;a[b+292>>0]=1;c[b+288>>2]=0;c[b+280>>2]=0;c[b+284>>2]=0;c[b+296>>2]=0;a[b+300>>0]=1;a[b+320>>0]=1;c[b+316>>2]=0;c[b+308>>2]=0;c[b+312>>2]=0;if(!f){c[7182]=(c[7182]|0)+1;e=xb(215)|0;if(!e)e=0;else{c[(e+4+15&-16)+-4>>2]=e;e=e+4+15&-16}c[e>>2]=7568;a[e+20>>0]=1;c[e+16>>2]=0;c[e+8>>2]=0;c[e+12>>2]=0;a[e+40>>0]=1;c[e+36>>2]=0;c[e+28>>2]=0;c[e+32>>2]=0;a[e+60>>0]=1;c[e+56>>2]=0;c[e+48>>2]=0;c[e+52>>2]=0;a[e+80>>0]=1;c[e+76>>2]=0;c[e+68>>2]=0;c[e+72>>2]=0;a[e+100>>0]=1;c[e+96>>2]=0;c[e+88>>2]=0;c[e+92>>2]=0;a[e+120>>0]=1;c[e+116>>2]=0;c[e+108>>2]=0;c[e+112>>2]=0;a[e+140>>0]=1;c[e+136>>2]=0;c[e+128>>2]=0;c[e+132>>2]=0;a[e+160>>0]=1;c[e+156>>2]=0;c[e+148>>2]=0;c[e+152>>2]=0;a[e+180>>0]=1;c[e+176>>2]=0;c[e+168>>2]=0;c[e+172>>2]=0;c[e+192>>2]=0;c[b+200>>2]=e;e=1}else e=0;a[b+273>>0]=e;c[7182]=(c[7182]|0)+1;e=xb(87)|0;if(!e)e=0;else{c[(e+4+15&-16)+-4>>2]=e;e=e+4+15&-16}c[e>>2]=8264;a[e+20>>0]=1;c[e+16>>2]=0;c[e+8>>2]=0;c[e+12>>2]=0;a[e+40>>0]=1;c[e+36>>2]=0;c[e+28>>2]=0;c[e+32>>2]=0;a[e+60>>0]=1;c[e+56>>2]=0;c[e+48>>2]=0;c[e+52>>2]=0;a[e+64>>0]=1;c[b+204>>2]=e;a[b+272>>0]=1;c[7182]=(c[7182]|0)+1;e=xb(107)|0;if(!e){f=0;h=c[b+200>>2]|0;c[f>>2]=7116;e=f+4|0;c[e>>2]=0;e=f+8|0;c[e>>2]=h;e=f+12|0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>2]|0,d+28|0,r);r=c[b+8>>2]|0;c[b+92>>2]=c[r+52>>2];c[b+92+4>>2]=c[r+52+4>>2];c[b+92+8>>2]=c[r+52+8>>2];c[b+92+12>>2]=c[r+52+12>>2];r=c[r+284>>2]|0;if((Fa[c[(c[r>>2]|0)+36>>2]&127](r)|0)>0){d=0;f=0.0;r=0;do{e=c[b+132>>2]|0;if((e|0)<0){if((c[b+136>>2]|0)<0){h=c[b+140>>2]|0;if(h|0){if(a[b+144>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[h+-4>>2]|0)}c[b+140>>2]=0}a[b+144>>0]=1;c[b+140>>2]=0;c[b+136>>2]=0}do{c[(c[b+140>>2]|0)+(e<<2)>>2]=0;e=e+1|0}while((e|0)!=0)}c[b+132>>2]=0;e=c[(c[b+8>>2]|0)+284>>2]|0;e=c[(Fa[c[(c[e>>2]|0)+28>>2]&127](e)|0)+12>>2]|0;q=c[c[e+(r<<4)>>2]>>2]|0;h=c[c[e+(r<<4)+4>>2]>>2]|0;if(!((q|0)!=0?(c[q+204>>2]&4|0)!=0:0))s=15;do if((s|0)==15){s=0;if(h|0?c[h+204>>2]&4|0:0)break;e=c[e+(r<<4)+8>>2]|0;if(e|0)Va[c[(c[e>>2]|0)+16>>2]&127](e,b+128|0);q=c[b+132>>2]|0;if((q|0)>0){o=c[b+140>>2]|0;p=c[b+8>>2]|0;n=0;do{l=c[o+(n<<2)>>2]|0;m=(c[l+740>>2]|0)==(p|0)?-1.0:1.0;e=c[l+748>>2]|0;if((e|0)>0){k=0;do{j=+g[l+4+(k*184|0)+80>>2];if(j<0.0){i=l+4+(k*184|0)+64|0;if(j>2];h=l+4+(k*184|0)+72|0;f=m*+g[h>>2];g[b+152>>2]=m*+g[i>>2];g[b+156>>2]=u;g[b+160>>2]=f;g[b+164>>2]=0.0;f=j;e=c[l+748>>2]|0}else{d=l+4+(k*184|0)+68|0;h=l+4+(k*184|0)+72|0}v=j*m*+g[d>>2]*.20000000298023224;u=j*m*+g[h>>2]*.20000000298023224;g[b+92>>2]=j*m*+g[i>>2]*.20000000298023224+ +g[b+92>>2];g[b+96>>2]=v+ +g[b+96>>2];g[b+100>>2]=u+ +g[b+100>>2];d=1}k=k+1|0}while((k|0)<(e|0))}n=n+1|0}while((n|0)!=(q|0))}}while(0);r=r+1|0;q=c[(c[b+8>>2]|0)+284>>2]|0}while((r|0)<(Fa[c[(c[q>>2]|0)+36>>2]&127](q)|0))}else d=0;s=c[b+8>>2]|0;c[t>>2]=c[s+4>>2];c[t+4>>2]=c[s+4+4>>2];c[t+8>>2]=c[s+4+8>>2];c[t+12>>2]=c[s+4+12>>2];c[t+16>>2]=c[s+20>>2];c[t+16+4>>2]=c[s+20+4>>2];c[t+16+8>>2]=c[s+20+8>>2];c[t+16+12>>2]=c[s+20+12>>2];c[t+32>>2]=c[s+36>>2];c[t+32+4>>2]=c[s+36+4>>2];c[t+32+8>>2]=c[s+36+8>>2];c[t+32+12>>2]=c[s+36+12>>2];c[t+48>>2]=c[b+92>>2];c[t+48+4>>2]=c[b+92+4>>2];c[t+48+8>>2]=c[b+92+8>>2];c[t+48+12>>2]=c[b+92+12>>2];c[s+260>>2]=(c[s+260>>2]|0)+1;c[s+4>>2]=c[t>>2];c[s+4+4>>2]=c[t+4>>2];c[s+4+8>>2]=c[t+8>>2];c[s+4+12>>2]=c[t+12>>2];c[s+20>>2]=c[t+16>>2];c[s+20+4>>2]=c[t+16+4>>2];c[s+20+8>>2]=c[t+16+8>>2];c[s+20+12>>2]=c[t+16+12>>2];c[s+36>>2]=c[t+32>>2];c[s+36+4>>2]=c[t+32+4>>2];c[s+36+8>>2]=c[t+32+8>>2];c[s+36+12>>2]=c[t+32+12>>2];c[s+52>>2]=c[t+48>>2];c[s+52+4>>2]=c[t+48+4>>2];c[s+52+8>>2]=c[t+48+8>>2];c[s+52+12>>2]=c[t+48+12>>2];sa=t;return d|0}function ld(d,e,f,h,i){d=d|0;e=e|0;f=+f;h=+h;i=+i;var j=0,k=0.0,l=0.0,m=0,n=0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0;m=sa;sa=sa+240|0;k=+g[d+96>>2]+h;l=+g[d+100>>2]+i;g[d+112>>2]=+g[d+92>>2]+f;g[d+116>>2]=k;g[d+120>>2]=l;g[d+124>>2]=0.0;c[m+168>>2]=1065353216;c[m+168+4>>2]=0;c[m+168+4+4>>2]=0;c[m+168+4+8>>2]=0;c[m+168+4+12>>2]=0;c[m+168+20>>2]=1065353216;c[m+168+24>>2]=0;c[m+168+24+4>>2]=0;c[m+168+24+8>>2]=0;c[m+168+24+12>>2]=0;c[m+168+40>>2]=1065353216;j=m+168+44|0;c[j>>2]=0;c[j+4>>2]=0;c[j+8>>2]=0;c[j+12>>2]=0;c[j+16>>2]=0;c[m+104>>2]=1065353216;c[m+104+4>>2]=0;c[m+104+4+4>>2]=0;c[m+104+4+8>>2]=0;c[m+104+4+12>>2]=0;c[m+104+20>>2]=1065353216;c[m+104+24>>2]=0;c[m+104+24+4>>2]=0;c[m+104+24+8>>2]=0;c[m+104+24+12>>2]=0;c[m+104+40>>2]=1065353216;j=m+104+44|0;c[j>>2]=0;c[j+4>>2]=0;c[j+8>>2]=0;c[j+12>>2]=0;c[j+16>>2]=0;l=1.0;j=10;while(1){if(!j){j=15;break}j=j+-1|0;c[m+168+48>>2]=c[d+92>>2];c[m+168+48+4>>2]=c[d+92+4>>2];c[m+168+48+8>>2]=c[d+92+8>>2];c[m+168+48+12>>2]=c[d+92+12>>2];c[m+104+48>>2]=c[d+112>>2];c[m+104+48+4>>2]=c[d+112+4>>2];c[m+104+48+8>>2]=c[d+112+8>>2];c[m+104+48+12>>2]=c[d+112+12>>2];i=+g[d+92>>2]-+g[d+112>>2];k=+g[d+96>>2]-+g[d+116>>2];f=+g[d+100>>2]-+g[d+120>>2];n=c[d+8>>2]|0;g[m+4>>2]=1.0;c[m+76>>2]=0;c[m+12>>2]=0;c[m+12+4>>2]=0;c[m+12+8>>2]=0;c[m+12+12>>2]=0;c[m+12+16>>2]=0;c[m+12+20>>2]=0;c[m+12+24>>2]=0;c[m+12+28>>2]=0;c[m>>2]=7748;c[m+80>>2]=n;g[m+84>>2]=i;g[m+88>>2]=k;g[m+92>>2]=f;g[m+96>>2]=0.0;g[m+100>>2]=0.0;n=c[n+188>>2]|0;b[m+8>>1]=b[n+4>>1]|0;b[m+10>>1]=b[n+6>>1]|0;n=c[d+12>>2]|0;f=+va[c[(c[n>>2]|0)+48>>2]&15](n);n=c[d+12>>2]|0;Qa[c[(c[n>>2]|0)+44>>2]&31](n,f+ +g[d+56>>2]);if(!(a[d+170>>0]|0))Tc(e,c[d+12>>2]|0,m+168|0,m+104|0,m,+g[e+56>>2]);else yc(c[d+8>>2]|0,c[d+12>>2]|0,m+168|0,m+104|0,m,+g[e+56>>2]);n=c[d+12>>2]|0;Qa[c[(c[n>>2]|0)+44>>2]&31](n,f);k=+g[m+4>>2];l=l-k;if(k<1.0){h=+g[d+112>>2]-+g[d+92>>2];i=+g[d+116>>2]-+g[d+96>>2];k=+g[d+120>>2]-+g[d+100>>2];f=+x(+(h*h+i*i+k*k));if(f>1.1920928955078125e-07){o=+g[m+44>>2];t=+g[m+48>>2];q=+g[m+52>>2];s=(h*(1.0/f)*o+i*(1.0/f)*t+k*(1.0/f)*q)*2.0;r=1.0/+x(+((k*(1.0/f)-q*s)*(k*(1.0/f)-q*s)+((h*(1.0/f)-o*s)*(h*(1.0/f)-o*s)+(i*(1.0/f)-t*s)*(i*(1.0/f)-t*s))));p=q*(k*(1.0/f)-q*s)*r+(o*(h*(1.0/f)-o*s)*r+t*(i*(1.0/f)-t*s)*r);c[d+112>>2]=c[d+92>>2];c[d+112+4>>2]=c[d+92+4>>2];c[d+112+8>>2]=c[d+92+8>>2];c[d+112+12>>2]=c[d+92+12>>2];o=f*((h*(1.0/f)-o*s)*r-o*p)+ +g[d+112>>2];g[d+112>>2]=o;h=f*((i*(1.0/f)-t*s)*r-t*p)+ +g[d+116>>2];g[d+116>>2]=h;k=f*((k*(1.0/f)-q*s)*r-q*p)+ +g[d+120>>2];g[d+120>>2]=k;f=o}else{f=+g[d+112>>2];h=+g[d+116>>2];k=+g[d+120>>2]}i=f-+g[d+92>>2];h=h-+g[d+96>>2];f=k-+g[d+100>>2];if(!(i*i+h*h+f*f>1.1920928955078125e-07)){j=13;break}t=1.0/+x(+(i*i+h*h+f*f));if(i*t*+g[d+76>>2]+h*t*+g[d+80>>2]+f*t*+g[d+84>>2]<=0.0){j=13;break}}else{c[d+92>>2]=c[d+112>>2];c[d+92+4>>2]=c[d+112+4>>2];c[d+92+8>>2]=c[d+112+8>>2];c[d+92+12>>2]=c[d+112+12>>2]}if(!(l>.009999999776482582)){j=15;break}}if((j|0)==13){sa=m;return}else if((j|0)==15){sa=m;return}}function md(b,d,e){b=b|0;d=+d;e=+e;var f=0,h=0,i=0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0,s=0.0,t=0.0,u=0.0;r=sa;sa=sa+80|0;f=c[b+8>>2]|0;if(!f){f=c[b+4>>2]|0;if(!f){d=0.0;j=0.0;m=0.0;n=0.0;k=0.0;l=0.0}else{q=+g[f+336>>2];m=+g[b+172>>2];n=+g[f+340>>2];o=+g[b+168>>2];l=+g[b+164>>2];p=+g[f+332>>2];d=q*m-n*o;j=+g[f+316>>2];m=n*l-m*p;n=+g[f+320>>2];k=+g[f+324>>2];l=o*p-q*l}}else{q=+g[f+332>>2];m=+g[b+172>>2];n=+g[f+336>>2];o=+g[b+168>>2];l=+g[b+164>>2];p=+g[f+328>>2];d=q*m-n*o;j=+g[f+312>>2];m=n*l-m*p;n=+g[f+316>>2];k=+g[f+320>>2];l=o*p-q*l}o=j+d;q=n+m;p=k+l;f=c[b+20>>2]|0;if(!f){f=c[b+16>>2]|0;if(!f){d=0.0;j=0.0;m=0.0;n=0.0;k=0.0;l=0.0}else{s=+g[f+336>>2];m=+g[b+188>>2];n=+g[f+340>>2];u=+g[b+184>>2];l=+g[b+180>>2];t=+g[f+332>>2];d=s*m-n*u;j=+g[f+316>>2];m=n*l-m*t;n=+g[f+320>>2];k=+g[f+324>>2];l=u*t-s*l}}else{u=+g[f+332>>2];m=+g[b+188>>2];n=+g[f+336>>2];s=+g[b+184>>2];l=+g[b+180>>2];t=+g[f+328>>2];d=u*m-n*s;j=+g[f+312>>2];m=n*l-m*t;n=+g[f+316>>2];k=+g[f+320>>2];l=s*t-u*l}o=o-(j+d);m=q-(n+m);d=p-(k+l);j=+g[b+196>>2];k=+g[b+200>>2];l=+g[b+204>>2];a[r+36+32>>0]=1;c[r+36+16>>2]=0;c[r+36+16+4>>2]=0;c[r+36+16+8>>2]=0;c[r+36+16+12>>2]=0;c[r+36>>2]=c[b+72>>2];c[r+36+4>>2]=c[b+72+4>>2];c[r+36+8>>2]=c[b+72+8>>2];c[r+36+12>>2]=c[b+72+12>>2];if(j*o+m*k+d*l<0.0){s=+g[b+212>>2];t=+g[r+36>>2]+(j*(j*o+m*k+d*l)+(o-j*(j*o+m*k+d*l))*s);g[r+36>>2]=t;u=k*(j*o+m*k+d*l)+(m-k*(j*o+m*k+d*l))*s+ +g[r+36+4>>2];g[r+36+4>>2]=u;k=l*(j*o+m*k+d*l)+(d-l*(j*o+m*k+d*l))*s+ +g[r+36+8>>2];g[r+36+8>>2]=k;f=r+36+4|0;h=r+36+8|0;i=r+36|0;d=t;j=u}else{f=r+36+4|0;h=r+36+8|0;i=r+36|0;d=+g[r+36>>2];j=+g[r+36+4>>2];k=+g[r+36+8>>2]}l=(+g[b+104>>2]*d+ +g[b+108>>2]*j+ +g[b+112>>2]*k)*e;m=(d*+g[b+120>>2]+j*+g[b+124>>2]+k*+g[b+128>>2])*e;d=(d*+g[b+136>>2]+j*+g[b+140>>2]+k*+g[b+144>>2])*e;g[i>>2]=l;g[f>>2]=m;g[h>>2]=d;g[r+36+12>>2]=0.0;f=c[b+4>>2]|0;if((f|0)!=(c[b+16>>2]|0)){f=r;h=r+36|0;i=f+36|0;do{c[f>>2]=c[h>>2];f=f+4|0;h=h+4|0}while((f|0)<(i|0));u=-+g[r+4>>2];t=-+g[r+8>>2];g[r>>2]=-+g[r>>2];g[r+4>>2]=u;g[r+8>>2]=t;g[r+12>>2]=0.0;t=-+g[r+20>>2];u=-+g[r+24>>2];g[r+16>>2]=-+g[r+16>>2];g[r+20>>2]=t;g[r+24>>2]=u;g[r+28>>2]=0.0;dh(b+4|0,r,b+164|0);dh(b+16|0,r+36|0,b+180|0);sa=r;return}if(!(l==l&m==m&(d==d&0.0==0.0))){sa=r;return}u=+x(+(l*l+m*m+d*d));if(u<+g[f+368>>2]){sa=r;return}h=c[r+36+32>>2]|0;u=+g[f+372>>2];g[r+12>>2]=0.0;g[r+28>>2]=0.0;c[r+32>>2]=h;g[r>>2]=-(l*u);g[r+4>>2]=-(m*u);g[r+8>>2]=-(d*u);g[r+16>>2]=u*-0.0;g[r+20>>2]=u*-0.0;g[r+24>>2]=u*-0.0;dh(b+4|0,r,b+164|0);d=+g[(c[b+4>>2]|0)+372>>2];f=r;h=r+36|0;i=f+36|0;do{c[f>>2]=c[h>>2];f=f+4|0;h=h+4|0}while((f|0)<(i|0));g[r>>2]=d*+g[r>>2];g[r+4>>2]=d*+g[r+4>>2];g[r+8>>2]=d*+g[r+8>>2];g[r+16>>2]=d*+g[r+16>>2];g[r+20>>2]=d*+g[r+20>>2];g[r+24>>2]=d*+g[r+24>>2];dh(b+16|0,r,b+180|0);sa=r;return}function nd(b,d,e,f,h){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;var i=0,j=0,k=0.0,l=0.0,m=0.0,n=0,o=0.0,p=0.0,q=0,r=0,s=0.0,t=0.0;r=sa;sa=sa+48|0;c[r+16>>2]=c[e>>2];c[r+16+4>>2]=c[e+4>>2];c[r+16+8>>2]=c[e+8>>2];c[r+16+12>>2]=c[e+12>>2];c[r+16+16>>2]=c[f>>2];c[r+16+16+4>>2]=c[f+4>>2];c[r+16+16+8>>2]=c[f+8>>2];c[r+16+16+12>>2]=c[f+12>>2];do if((c[d+60>>2]|0)==2){h=c[d+48>>2]|0;sg(b+64|0,h)|0;i=c[b+68>>2]|0;if(i|0){c[7183]=(c[7183]|0)+1;Hc(c[i+-4>>2]|0)}c[b+68>>2]=h;c[b+76>>2]=(c[b+76>>2]|0)+-1;h=c[b+8>>2]|0;if(!h){c[7182]=(c[7182]|0)+1;h=xb(63)|0;if(!h)h=0;else{c[(h+4+15&-16)+-4>>2]=h;h=h+4+15&-16}i=h;j=i+44|0;do{c[i>>2]=0;i=i+4|0}while((i|0)<(j|0))}else c[b+8>>2]=0;c[h+32>>2]=0;c[h+36>>2]=d;c[h+40>>2]=0;c[h>>2]=c[r+16>>2];c[h+4>>2]=c[r+16+4>>2];c[h+8>>2]=c[r+16+8>>2];c[h+12>>2]=c[r+16+12>>2];c[h+16>>2]=c[r+16+16>>2];c[h+20>>2]=c[r+16+20>>2];c[h+24>>2]=c[r+16+24>>2];c[h+28>>2]=c[r+16+28>>2];ue(b+4|0,c[b+4>>2]|0,h);c[b+16>>2]=(c[b+16>>2]|0)+1;c[d+48>>2]=h;h=1}else{c[b+168>>2]=(c[b+168>>2]|0)+1;q=c[d+48>>2]|0;if(((((+g[q>>2]<=+g[r+16+16>>2]?+g[q+16>>2]>=+g[r+16>>2]:0)?+g[q+4>>2]<=+g[r+16+20>>2]:0)?+g[q+20>>2]>=+g[r+16+4>>2]:0)?+g[q+8>>2]<=+g[r+16+24>>2]:0)?+g[q+24>>2]>=+g[r+16+8>>2]:0){k=+g[d+16>>2];s=+g[e>>2]-k;l=+g[d+20>>2];o=+g[e+4>>2]-l;m=+g[d+24>>2];p=+g[e+8>>2]-m;t=+g[b+140>>2];k=(+g[d+32>>2]-k)*.5*t;l=t*(+g[d+36>>2]-l)*.5;m=t*(+g[d+40>>2]-m)*.5;g[r>>2]=k;g[r+4>>2]=l;g[r+8>>2]=m;g[r+12>>2]=0.0;if(s<0.0)g[r>>2]=-k;if(o<0.0)g[r+4>>2]=-l;if(p<0.0)g[r+8>>2]=-m;if(Bg(b+4|0,q,r+16|0,r,.05000000074505806)|0){c[b+172>>2]=(c[b+172>>2]|0)+1;h=1}else h=0;break}h=sg(b+4|0,q)|0;a:do if(h){n=c[b+12>>2]|0;if((n|0)<=-1){h=c[b+4>>2]|0;break}if(n){i=0;while(1){j=c[h+32>>2]|0;i=i+1|0;if(!j)break a;if((i|0)>=(n|0)){h=j;break}else h=j}}}else h=0;while(0);c[q>>2]=c[r+16>>2];c[q+4>>2]=c[r+16+4>>2];c[q+8>>2]=c[r+16+8>>2];c[q+12>>2]=c[r+16+12>>2];c[q+16>>2]=c[r+16+16>>2];c[q+20>>2]=c[r+16+20>>2];c[q+24>>2]=c[r+16+24>>2];c[q+28>>2]=c[r+16+28>>2];ue(b+4|0,h,q);c[b+172>>2]=(c[b+172>>2]|0)+1;h=1}while(0);i=c[d+52>>2]|0;if(!i)i=b+124+(c[d+60>>2]<<2)|0;else i=i+56|0;c[i>>2]=c[d+56>>2];i=c[d+56>>2]|0;if(i|0)c[i+52>>2]=c[d+52>>2];c[d+16>>2]=c[e>>2];c[d+16+4>>2]=c[e+4>>2];c[d+16+8>>2]=c[e+8>>2];c[d+16+12>>2]=c[e+12>>2];c[d+32>>2]=c[f>>2];c[d+32+4>>2]=c[f+4>>2];c[d+32+8>>2]=c[f+8>>2];c[d+32+12>>2]=c[f+12>>2];i=c[b+144>>2]|0;c[d+60>>2]=i;c[d+52>>2]=0;c[d+56>>2]=c[b+124+(i<<2)>>2];j=c[b+124+(i<<2)>>2]|0;if(j|0)c[j+52>>2]=d;c[b+124+(i<<2)>>2]=d;if(!h){sa=r;return}a[b+194>>0]=1;if(a[b+193>>0]|0){sa=r;return}c[r>>2]=11812;c[r+4>>2]=b;zd(b+64|0,c[b+64>>2]|0,c[d+48>>2]|0,r);zd(b+4|0,c[b+4>>2]|0,c[d+48>>2]|0,r);sa=r;return}function od(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var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+r*o+s*p)/(h*h+o*o+p*p);if(n>=1.0){l=2;h=t*t+u*u+v*v;m=0;k=1065353216;break}if(!(n<=0.0)){k=(g[j>>2]=n,c[j>>2]|0);v=q+h*n;h=r+o*n;u=s+p*n;l=3;h=u*u+(v*v+h*h);m=(g[j>>2]=1.0-n,c[j>>2]|0);break}else{l=1;h=q*q+r*r+s*s;m=1065353216;k=0;break}}else h=-1.0;while(0);if(i<0.0|h>2]=l<<1&6;c[e+4>>2]=m;c[e+8>>2]=k;g[e>>2]=0.0;i=h}}h=+g[d>>2];o=+g[d+4>>2];p=+g[d+8>>2];if(h*(F*(B-I)-E*(C-y))+o*(D*(C-y)-F*(A-G))+(E*(A-G)-D*(B-I))*p>0.0){q=+g[a>>2];r=+g[a+4>>2];s=+g[a+8>>2];do if((q-h)*(q-h)+(r-o)*(r-o)+(s-p)*(s-p)>0.0){n=-(h*(q-h)+o*(r-o)+p*(s-p))/((q-h)*(q-h)+(r-o)*(r-o)+(s-p)*(s-p));if(n>=1.0){l=2;h=q*q+r*r+s*s;m=0;k=1065353216;break}if(!(n<=0.0)){k=(g[j>>2]=n,c[j>>2]|0);l=3;h=(p+(s-p)*n)*(p+(s-p)*n)+((h+(q-h)*n)*(h+(q-h)*n)+(o+(r-o)*n)*(o+(r-o)*n));m=(g[j>>2]=1.0-n,c[j>>2]|0);break}else{l=1;h=h*h+o*o+p*p;m=1065353216;k=0;break}}else h=-1.0;while(0);if(i<0.0|h>2]=l<<2&4|(1?l>>>1:l)&1;c[e+8>>2]=m;c[e>>2]=k;g[e+4>>2]=0.0}else h=i}else h=i;if(!(h<0.0)){I=h;return +I}u=+x(+(F*F+(D*D+E*E)));v=(D*+g[a>>2]+E*+g[a+4>>2]+F*+g[a+8>>2])/(F*F+(D*D+E*E));c[f>>2]=7;s=+g[b>>2]-D*v;r=+g[b+4>>2]-E*v;t=+g[b+8>>2]-F*v;H=+x(+(((H-A)*r-(w-B)*s)*((H-A)*r-(w-B)*s)+(((w-B)*t-(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h+52>>2];l=l-+g[h+56>>2];B=n-+g[h+60>>2];n=j*+g[h+4>>2]+l*+g[h+20>>2]+B*+g[h+36>>2];A=j*+g[h+8>>2]+l*+g[h+24>>2]+B*+g[h+40>>2];B=j*+g[h+12>>2]+l*+g[h+28>>2]+B*+g[h+44>>2];g[z>>2]=r;g[z+4>>2]=s;g[z+8>>2]=t;g[z+12>>2]=0.0;g[z+16>>2]=n;g[z+20>>2]=A;g[z+24>>2]=B;g[z+28>>2]=0.0;c[z+64>>2]=c[d>>2];c[z+64+4>>2]=c[d+4>>2];c[z+64+8>>2]=c[d+8>>2];c[z+64+12>>2]=c[d+12>>2];g[z+80>>2]=f;g[z+84>>2]=0.0;g[z+88>>2]=0.0;g[z+92>>2]=0.0;c[z+112>>2]=0;a[z+116>>0]=0;c[z+120>>2]=0;c[z+120+4>>2]=0;c[z+120+8>>2]=0;c[z+120+12>>2]=0;c[z+120+16>>2]=0;c[z+120+20>>2]=0;c[z+120+24>>2]=0;c[z+120+28>>2]=0;g[z+48>>2]=k;g[z+52>>2]=m;g[z+56>>2]=p;g[z+60>>2]=0.0;c[z+32>>2]=c[e>>2];c[z+32+4>>2]=c[e+4>>2];c[z+32+8>>2]=c[e+8>>2];c[z+32+12>>2]=c[e+12>>2];i=c[o+748>>2]|0;if((i|0)>0){h=-1;e=0;j=q*q;while(1){k=+g[o+4+(e*184|0)>>2]-r;l=+g[o+4+(e*184|0)+4>>2]-s;m=+g[o+4+(e*184|0)+8>>2]-t;d=k*k+l*l+m*m>2]|0)+8>>2]|0;u=c[(c[u>>2]|0)+8>>2]|0;j=+g[i+224>>2]*+g[u+224>>2];j=j<-10.0?-10.0:j;g[z+84>>2]=j>10.0?10.0:j;g[z+92>>2]=+g[i+228>>2]*+g[u+228>>2];j=+g[i+232>>2]*+g[u+232>>2];j=j<-10.0?-10.0:j;g[z+88>>2]=j>10.0?10.0:j;j=+g[z+72>>2];if(+w(+j)>.7071067690849304){n=+g[z+68>>2];k=1.0/+x(+(j*j+n*n));m=+g[z+64>>2];l=-(m*n*k);m=m*-(j*k);f=(j*j+n*n)*k;n=n*k;j=-(j*k);k=0.0}else{A=+g[z+64>>2];B=+g[z+68>>2];k=1.0/+x(+(A*A+B*B));l=j*-(B*k);m=(A*A+B*B)*k;f=-(j*A*k);n=0.0;j=A*k;k=-(B*k)}g[z+152>>2]=k;g[z+156>>2]=j;g[z+160>>2]=n;g[z+168>>2]=f;g[z+172>>2]=l;g[z+176>>2]=m;if((v|0)!=(y|0)){h=b+24|0;d=b+28|0;e=b+16|0;i=b+20|0}else{h=b+28|0;d=b+24|0;e=b+20|0;i=b+16|0}h=c[h>>2]|0;y=c[d>>2]|0;v=c[e>>2]|0;c[z+96>>2]=c[i>>2];c[z+100>>2]=v;c[z+104>>2]=y;c[z+108>>2]=h;h=c[b+4>>2]|0;if((o|0)>-1){b=h+4+(o*184|0)+148|0;y=c[b>>2]|0;d=h+4+(o*184|0)+120|0;C=c[d>>2]|0;i=h+4+(o*184|0)+124|0;e=c[i>>2]|0;v=h+4+(o*184|0)+128|0;u=c[v>>2]|0;D=h+4+(o*184|0)+112|0;E=c[D>>2]|0;Bh(h+4+(o*184|0)|0,z|0,184)|0;c[D>>2]=E;c[d>>2]=C;c[i>>2]=e;c[v>>2]=u;c[b>>2]=y}else Ce(h,z)|0;sa=z;return}function qd(b){b=b|0;var d=0.0,e=0,f=0,h=0,i=0,j=0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0,q=0;p=sa;sa=sa+80|0;if((Fa[c[(c[b>>2]|0)+20>>2]&127](b)|0?(j=Fa[c[(c[b>>2]|0)+20>>2]&127](b)|0,(Fa[c[(c[j>>2]|0)+48>>2]&127](j)|0)&8|0):0)?(h=c[b+24>>2]|0,h=Fa[c[(c[h>>2]|0)+36>>2]&127](h)|0,c[p+64>>2]=1065353216,c[p+64+4>>2]=1065353216,c[p+64+8>>2]=0,g[p+64+12>>2]=0.0,(h|0)>0):0){e=0;do{i=c[b+24>>2]|0;i=Ha[c[(c[i>>2]|0)+40>>2]&31](i,e)|0;j=c[i+748>>2]|0;if((j|0)>0){f=0;do{q=Fa[c[(c[b>>2]|0)+20>>2]&127](b)|0;$a[c[(c[q>>2]|0)+32>>2]&1](q,i+4+(f*184|0)+32|0,i+4+(f*184|0)+64|0,+g[i+4+(f*184|0)+80>>2],c[i+4+(f*184|0)+148>>2]|0,p+64|0);f=f+1|0}while((f|0)!=(j|0))}e=e+1|0}while((e|0)!=(h|0))}if(!(Fa[c[(c[b>>2]|0)+20>>2]&127](b)|0)){sa=p;return}q=Fa[c[(c[b>>2]|0)+20>>2]&127](b)|0;if(!((Fa[c[(c[q>>2]|0)+48>>2]&127](q)|0)&3)){sa=p;return}if((c[b+8>>2]|0)<=0){sa=p;return}j=0;do{i=c[(c[b+16>>2]|0)+(j<<2)>>2]|0;if(!(c[i+204>>2]&32)){if(Fa[c[(c[b>>2]|0)+20>>2]&127](b)|0?(q=Fa[c[(c[b>>2]|0)+20>>2]&127](b)|0,(Fa[c[(c[q>>2]|0)+48>>2]&127](q)|0)&1|0):0){c[p+64>>2]=1065353216;c[p+64+4>>2]=1065353216;c[p+64+8>>2]=1065353216;g[p+64+12>>2]=0.0;switch(c[i+216>>2]|0){case 1:{e=1065353216;f=1065353216;h=1065353216;break}case 2:{e=0;f=1065353216;h=0;break}case 3:{e=1065353216;f=1065353216;h=0;break}case 4:{e=0;f=0;h=1065353216;break}case 5:{e=0;f=1065353216;h=1065353216;break}default:{e=0;f=0;h=1065353216}}c[p+64>>2]=h;c[p+64+4>>2]=f;c[p+64+8>>2]=e;g[p+64+12>>2]=0.0;ab[c[(c[b>>2]|0)+28>>2]&127](b,i+4|0,c[i+192>>2]|0,p+64|0)}e=c[b+72>>2]|0;if(e|0?(Fa[c[(c[e>>2]|0)+48>>2]&127](e)|0)&2|0:0){c[p+32>>2]=1065353216;c[p+32+4>>2]=0;c[p+32+8>>2]=0;g[p+32+12>>2]=0.0;q=c[i+192>>2]|0;ab[c[(c[q>>2]|0)+8>>2]&127](q,i+4|0,p+64|0,p+48|0);g[p+64>>2]=+g[p+64>>2]+-.019999999552965164;g[p+64+4>>2]=+g[p+64+4>>2]+-.019999999552965164;g[p+64+8>>2]=+g[p+64+8>>2]+-.019999999552965164;g[p+48>>2]=+g[p+48>>2]+.019999999552965164;g[p+48+4>>2]=+g[p+48+4>>2]+.019999999552965164;g[p+48+8>>2]=+g[p+48+8>>2]+.019999999552965164;do if((a[b+44>>0]|0?(c[i+236>>2]|0)==2:0)?(c[i+204>>2]&3|0)==0:0){q=c[i+192>>2]|0;ab[c[(c[q>>2]|0)+8>>2]&127](q,i+68|0,p+16|0,p);d=+g[p+16>>2]+-.019999999552965164;g[p+16>>2]=d;k=+g[p+16+4>>2]+-.019999999552965164;g[p+16+4>>2]=k;l=+g[p+16+8>>2]+-.019999999552965164;g[p+16+8>>2]=l;m=+g[p>>2]+.019999999552965164;g[p>>2]=m;n=+g[p+4>>2]+.019999999552965164;g[p+4>>2]=n;o=+g[p+8>>2]+.019999999552965164;g[p+8>>2]=o;if(d<+g[p+64>>2])g[p+64>>2]=d;if(k<+g[p+64+4>>2])g[p+64+4>>2]=k;if(l<+g[p+64+8>>2])g[p+64+8>>2]=l;d=+g[p+16+12>>2];if(d<+g[p+64+12>>2])g[p+64+12>>2]=d;if(+g[p+48>>2]>2]=m;if(+g[p+48+4>>2]>2]=n;if(+g[p+48+8>>2]>2]=o;d=+g[p+12>>2];if(!(+g[p+48+12>>2]>2]=d}while(0);q=c[b+72>>2]|0;ab[c[(c[q>>2]|0)+52>>2]&127](q,p+64|0,p+48|0,p+32|0)}}j=j+1|0}while((j|0)<(c[b+8>>2]|0));sa=p;return}function rd(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;l=c[b>>2]|0;m=c[b+4>>2]|0;i=c[b+8>>2]|0;n=c[a+4>>2]|0;p=bh(a,d,m,i)|0;c[p+12>>2]=c[b+12>>2];c[p+16>>2]=n+1;c[p+20>>2]=n+2;h=c[(c[a+12>>2]|0)+(c[b+12>>2]<<2)>>2]|0;e=c[h>>2]|0;f=c[h+4>>2]|0;do if((e|0)==(m|0)&(f|0)==(i|0)){e=2;o=2}else{if(!((e|0)==(i|0)&(f|0)==(m|0))){g=c[h+8>>2]|0;if((f|0)==(m|0)&(g|0)==(i|0)){e=0;o=2;break}if(!((f|0)==(i|0)&(g|0)==(m|0))){if(!((g|0)!=(m|0)|(e|0)==(i|0)^1)){e=1;o=2;break}if((g|0)!=(i|0)|(e|0)==(m|0)^1){e=12340;break}else e=1}else e=0}else e=2;e=h+12+(e<<2)|0}while(0);if((o|0)==2)e=h+12+(e<<2)|0;c[e>>2]=n;k=bh(a,d,i,l)|0;c[k+12>>2]=c[b+12+4>>2];c[k+16>>2]=n+2;c[k+20>>2]=n;h=c[(c[a+12>>2]|0)+(c[b+12+4>>2]<<2)>>2]|0;e=c[h>>2]|0;f=c[h+4>>2]|0;do if((e|0)==(i|0)&(f|0)==(l|0)){e=2;o=10}else{if(!((e|0)==(l|0)&(f|0)==(i|0))){g=c[h+8>>2]|0;if((f|0)==(i|0)&(g|0)==(l|0)){e=0;o=10;break}if(!((f|0)==(l|0)&(g|0)==(i|0))){if(!((g|0)!=(i|0)|(e|0)==(l|0)^1)){e=1;o=10;break}if((g|0)!=(l|0)|(e|0)==(i|0)^1){e=12340;break}else e=1}else e=0}else e=2;e=h+12+(e<<2)|0}while(0);if((o|0)==10)e=h+12+(e<<2)|0;c[e>>2]=n+1;j=bh(a,d,l,m)|0;c[j+12>>2]=c[b+12+8>>2];c[j+16>>2]=n;c[j+20>>2]=n+1;e=c[a+12>>2]|0;i=c[e+(c[b+12+8>>2]<<2)>>2]|0;f=c[i>>2]|0;g=c[i+4>>2]|0;do if((f|0)==(l|0)&(g|0)==(m|0)){f=2;o=18}else{if(!((f|0)==(m|0)&(g|0)==(l|0))){h=c[i+8>>2]|0;if((g|0)==(l|0)&(h|0)==(m|0)){f=0;o=18;break}if(!((g|0)==(m|0)&(h|0)==(l|0))){if(!((h|0)!=(l|0)|(f|0)==(m|0)^1)){f=1;o=18;break}if((h|0)!=(m|0)|(f|0)==(l|0)^1){f=12340;break}else f=1}else f=0}else f=2;f=i+12+(f<<2)|0}while(0);if((o|0)==18)f=i+12+(f<<2)|0;c[f>>2]=n+2;f=c[e+(c[p+12>>2]<<2)>>2]|0;if(!(((c[f>>2]|0)!=(d|0)?(c[f+4>>2]|0)!=(d|0):0)?(c[f+8>>2]|0)!=(d|0):0)){wd(e,p,f);c[(c[a+12>>2]|0)+(c[p+24>>2]<<2)>>2]=0;c[7183]=(c[7183]|0)+1;Hc(c[p+-4>>2]|0);c[(c[a+12>>2]|0)+(c[f+24>>2]<<2)>>2]=0;if(f|0){c[7183]=(c[7183]|0)+1;Hc(c[f+-4>>2]|0)}e=c[a+12>>2]|0}f=c[e+(c[k+12>>2]<<2)>>2]|0;if(!(((c[f>>2]|0)!=(d|0)?(c[f+4>>2]|0)!=(d|0):0)?(c[f+8>>2]|0)!=(d|0):0)){wd(e,k,f);c[(c[a+12>>2]|0)+(c[k+24>>2]<<2)>>2]=0;c[7183]=(c[7183]|0)+1;Hc(c[k+-4>>2]|0);c[(c[a+12>>2]|0)+(c[f+24>>2]<<2)>>2]=0;if(f|0){c[7183]=(c[7183]|0)+1;Hc(c[f+-4>>2]|0)}e=c[a+12>>2]|0}f=c[e+(c[j+12>>2]<<2)>>2]|0;if(((c[f>>2]|0)!=(d|0)?(c[f+4>>2]|0)!=(d|0):0)?(c[f+8>>2]|0)!=(d|0):0){a=e;d=b+24|0;d=c[d>>2]|0;d=a+(d<<2)|0;c[d>>2]=0;d=c[7183]|0;d=d+1|0;c[7183]=d;d=b+-4|0;d=c[d>>2]|0;Hc(d);return}wd(e,j,f);c[(c[a+12>>2]|0)+(c[j+24>>2]<<2)>>2]=0;c[7183]=(c[7183]|0)+1;Hc(c[j+-4>>2]|0);c[(c[a+12>>2]|0)+(c[f+24>>2]<<2)>>2]=0;if(f|0){c[7183]=(c[7183]|0)+1;Hc(c[f+-4>>2]|0)}a=c[a+12>>2]|0;d=b+24|0;d=c[d>>2]|0;d=a+(d<<2)|0;c[d>>2]=0;d=c[7183]|0;d=d+1|0;c[7183]=d;d=b+-4|0;d=c[d>>2]|0;Hc(d);return}function sd(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0.0,q=0.0;o=sa;sa=sa+144|0;if((c[a+16>>2]|0)<=0){n=a+76|0;c[n>>2]=c[b>>2];c[n+4>>2]=c[b+4>>2];c[n+8>>2]=c[b+8>>2];c[n+12>>2]=c[b+12>>2];n=c[a>>2]|0;n=n+68|0;n=c[n>>2]|0;Pa[n&511](a);sa=o;return}j=o+16+16|0;k=o+16+32|0;l=o+16+48|0;i=0;do{n=c[a+24>>2]|0;m=n+(i*80|0)|0;c[o+16>>2]=c[m>>2];c[o+16+4>>2]=c[m+4>>2];c[o+16+8>>2]=c[m+8>>2];c[o+16+12>>2]=c[m+12>>2];m=n+(i*80|0)+16|0;c[j>>2]=c[m>>2];c[j+4>>2]=c[m+4>>2];c[j+8>>2]=c[m+8>>2];c[j+12>>2]=c[m+12>>2];m=n+(i*80|0)+32|0;c[k>>2]=c[m>>2];c[k+4>>2]=c[m+4>>2];c[k+8>>2]=c[m+8>>2];c[k+12>>2]=c[m+12>>2];m=n+(i*80|0)+48|0;c[l>>2]=c[m>>2];c[l+4>>2]=c[m+4>>2];c[l+8>>2]=c[m+8>>2];c[l+12>>2]=c[m+12>>2];n=c[n+(i*80|0)+64>>2]|0;n=Fa[c[(c[n>>2]|0)+28>>2]&127](n)|0;c[o>>2]=c[n>>2];c[o+4>>2]=c[n+4>>2];c[o+8>>2]=c[n+8>>2];p=+g[o+4>>2]*+g[b+4>>2]/+g[a+80>>2];q=+g[o+8>>2]*+g[b+8>>2]/+g[a+84>>2];g[o>>2]=+g[o>>2]*+g[b>>2]/+g[a+76>>2];g[o+4>>2]=p;g[o+8>>2]=q;g[o+12>>2]=0.0;n=c[(c[a+24>>2]|0)+(i*80|0)+64>>2]|0;Va[c[(c[n>>2]|0)+24>>2]&127](n,o);q=+g[o+16+52>>2]*+g[b+4>>2]/+g[a+80>>2];p=+g[o+16+56>>2]*+g[b+8>>2]/+g[a+84>>2];g[o+16+48>>2]=+g[l>>2]*+g[b>>2]/+g[a+76>>2];g[o+16+52>>2]=q;g[o+16+56>>2]=p;g[o+16+60>>2]=0.0;n=c[a+24>>2]|0;m=n+(i*80|0)|0;c[m>>2]=c[o+16>>2];c[m+4>>2]=c[o+16+4>>2];c[m+8>>2]=c[o+16+8>>2];c[m+12>>2]=c[o+16+12>>2];m=n+(i*80|0)+16|0;c[m>>2]=c[j>>2];c[m+4>>2]=c[j+4>>2];c[m+8>>2]=c[j+8>>2];c[m+12>>2]=c[j+12>>2];m=n+(i*80|0)+32|0;c[m>>2]=c[k>>2];c[m+4>>2]=c[k+4>>2];c[m+8>>2]=c[k+8>>2];c[m+12>>2]=c[k+12>>2];n=n+(i*80|0)+48|0;c[n>>2]=c[l>>2];c[n+4>>2]=c[l+4>>2];c[n+8>>2]=c[l+8>>2];c[n+12>>2]=c[l+12>>2];if(c[a+64>>2]|0){m=c[(c[a+24>>2]|0)+(i*80|0)+64>>2]|0;ab[c[(c[m>>2]|0)+8>>2]&127](m,o+16|0,o+128|0,o+112|0);c[o+80>>2]=c[o+128>>2];c[o+80+4>>2]=c[o+128+4>>2];c[o+80+8>>2]=c[o+128+8>>2];c[o+80+12>>2]=c[o+128+12>>2];c[o+80+16>>2]=c[o+112>>2];c[o+80+16+4>>2]=c[o+112+4>>2];c[o+80+16+8>>2]=c[o+112+8>>2];c[o+80+16+12>>2]=c[o+112+12>>2];m=c[a+64>>2]|0;n=c[(c[a+24>>2]|0)+(i*80|0)+76>>2]|0;d=sg(m,n)|0;a:do if(d){h=c[m+8>>2]|0;if((h|0)<=-1){d=c[m>>2]|0;break}if(h){e=0;while(1){f=c[d+32>>2]|0;e=e+1|0;if(!f)break a;if((e|0)>=(h|0)){d=f;break}else d=f}}}else d=0;while(0);c[n>>2]=c[o+80>>2];c[n+4>>2]=c[o+80+4>>2];c[n+8>>2]=c[o+80+8>>2];c[n+12>>2]=c[o+80+12>>2];c[n+16>>2]=c[o+80+16>>2];c[n+20>>2]=c[o+80+20>>2];c[n+24>>2]=c[o+80+24>>2];c[n+28>>2]=c[o+80+28>>2];ue(m,d,n)}i=i+1|0}while((i|0)<(c[a+16>>2]|0));n=a+76|0;c[n>>2]=c[b>>2];c[n+4>>2]=c[b+4>>2];c[n+8>>2]=c[b+8>>2];c[n+12>>2]=c[b+12>>2];n=c[a>>2]|0;n=n+68|0;n=c[n>>2]|0;Pa[n&511](a);sa=o;return}function td(d,f,h,i,j,k){d=d|0;f=f|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0.0,m=0.0,n=0.0;c[d>>2]=11492;b[d+4>>1]=-2;b[d+6>>1]=-1;c[d+92>>2]=j;c[d+96>>2]=0;a[d+100>>0]=0;c[d+104>>2]=0;c[d+108>>2]=0;if(!j){c[7182]=(c[7182]|0)+1;j=xb(95)|0;if(!j)j=0;else{c[(j+4+15&-16)+-4>>2]=j;j=j+4+15&-16}Th(j);c[d+92>>2]=j;a[d+100>>0]=1}if(!k){c[7182]=(c[7182]|0)+1;j=xb(43)|0;if(!j)j=0;else{c[(j+4+15&-16)+-4>>2]=j;j=j+4+15&-16}k=j+4|0;c[k>>2]=0;c[k+4>>2]=0;c[k+8>>2]=0;c[k+12>>2]=0;c[k+16>>2]=0;c[j>>2]=11556;a[j+20>>0]=1;c[j+16>>2]=0;c[j+8>>2]=0;c[j+12>>2]=0;c[d+112>>2]=j;c[7182]=(c[7182]|0)+1;j=xb(215)|0;if(!j)j=0;else{c[(j+4+15&-16)+-4>>2]=j;j=j+4+15&-16}fh(j,c[d+112>>2]|0);c[d+108>>2]=j;a[j+193>>0]=1}c[d+8>>2]=c[f>>2];c[d+8+4>>2]=c[f+4>>2];c[d+8+8>>2]=c[f+8>>2];c[d+8+12>>2]=c[f+12>>2];c[d+24>>2]=c[h>>2];c[d+24+4>>2]=c[h+4>>2];c[d+24+8>>2]=c[h+8>>2];c[d+24+12>>2]=c[h+12>>2];n=+(e[d+6>>1]|0);m=n/(+g[d+28>>2]-+g[d+12>>2]);l=n/(+g[d+32>>2]-+g[d+16>>2]);g[d+40>>2]=n/(+g[d+24>>2]-+g[d+8>>2]);g[d+44>>2]=m;g[d+48>>2]=l;g[d+52>>2]=0.0;h=i+1&65535;c[7182]=(c[7182]|0)+1;j=xb(h<<6|19)|0;if(!j)f=0;else{c[(j+4+15&-16)+-4>>2]=j;f=j+4+15&-16}if(i+1<<16>>16<<16>>16){j=f+(h<<6)|0;k=f;do{c[k>>2]=0;c[k+8>>2]=0;k=k+64|0}while((k|0)!=(j|0))}c[d+60>>2]=f;b[d+58>>1]=(i&65535)+1;b[d+56>>1]=0;b[d+64>>1]=1;if((i+1&65535)>1?(b[f+112>>1]=2,i+1<<16>>16<<16>>16!=2):0){j=2;do{i=j;j=j+1|0;b[f+(i<<6)+48>>1]=j}while((j|0)!=(h|0))}b[f+(h+-1<<6)+48>>1]=0;c[7182]=(c[7182]|0)+1;j=xb((h<<3|3)+16|0)|0;if(!j)j=0;else{c[(j+4+15&-16)+-4>>2]=j;j=j+4+15&-16}c[d+80>>2]=j;c[d+68>>2]=j;c[7182]=(c[7182]|0)+1;j=xb((h<<3|3)+16|0)|0;if(!j)j=0;else{c[(j+4+15&-16)+-4>>2]=j;j=j+4+15&-16}c[d+84>>2]=j;c[d+72>>2]=j;c[7182]=(c[7182]|0)+1;j=xb((h<<3|3)+16|0)|0;if(!j){f=0;i=d+88|0;c[i>>2]=f;i=d+76|0;c[i>>2]=f;f=c[d+60>>2]|0;c[f>>2]=0;h=f+48|0;b[h>>1]=0;h=f+54|0;b[h>>1]=1;h=c[d+68>>2]|0;b[h>>1]=0;k=h+2|0;b[k>>1]=0;k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=0.0,M=0.0,N=0.0,O=0.0,P=0.0,Q=0.0,R=0.0,S=0.0,T=0.0,U=0.0,V=0,W=0.0,X=0.0;V=sa;sa=sa+240|0;f=(a[b+8>>0]|0)!=0;h=f?e:d;f=f?d:e;R=+g[h+116>>2]-+g[h+52>>2];S=+g[h+120>>2]-+g[h+56>>2];T=+g[h+124>>2]-+g[h+60>>2];U=+g[h+252>>2];if(R*R+S*S+T*T>2];H=+g[f+20>>2];I=+g[f+36>>2];J=+g[f+8>>2];K=+g[f+24>>2];L=+g[f+40>>2];M=+g[f+12>>2];N=+g[f+28>>2];O=+g[f+44>>2];j=-+g[f+52>>2];k=-+g[f+56>>2];l=-+g[f+60>>2];P=+g[h+4>>2];Q=+g[h+20>>2];R=+g[h+36>>2];S=+g[h+8>>2];T=+g[h+24>>2];U=+g[h+40>>2];o=+g[h+12>>2];p=+g[h+28>>2];q=+g[h+44>>2];v=+g[h+52>>2];u=+g[h+56>>2];t=+g[h+60>>2];r=G*j+H*k+I*l+(G*v+H*u+I*t);s=J*j+K*k+L*l+(J*v+K*u+L*t);t=M*j+N*k+O*l+(M*v+N*u+O*t);u=+g[h+68>>2];v=+g[h+84>>2];w=+g[h+100>>2];x=+g[h+72>>2];y=+g[h+88>>2];z=+g[h+104>>2];A=+g[h+76>>2];B=+g[h+92>>2];C=+g[h+108>>2];m=+g[h+116>>2];n=+g[h+120>>2];F=+g[h+124>>2];D=G*j+H*k+I*l+(G*m+H*n+I*F);E=J*j+K*k+L*l+(J*m+K*n+L*F);F=M*j+N*k+O*l+(M*m+N*n+O*F);f=c[f+192>>2]|0;if(((c[f+4>>2]|0)+-21|0)>>>0>=9){W=1.0;sa=V;return +W}g[V+224>>2]=r;g[V+224+4>>2]=s;g[V+224+8>>2]=t;g[V+224+12>>2]=0.0;if(D>2]=D;i=D}else i=r;if(E>2]=E;j=E}else j=s;if(F>2]=F;k=F}else k=t;g[V+208>>2]=r;g[V+208+4>>2]=s;g[V+208+8>>2]=t;g[V+208+12>>2]=0.0;if(r>2]=D;l=D}else l=r;if(s>2]=E;m=E}else m=s;if(t>2]=F;n=F}else n=t;X=+g[h+248>>2];g[V+224>>2]=i-X;g[V+224+4>>2]=j-X;g[V+224+8>>2]=k-X;g[V+208>>2]=X+l;g[V+208+4>>2]=X+m;g[V+208+8>>2]=X+n;c[V>>2]=6428;g[V+4>>2]=G*P+H*Q+I*R;g[V+8>>2]=G*S+H*T+I*U;g[V+12>>2]=G*o+H*p+I*q;g[V+16>>2]=0.0;g[V+20>>2]=J*P+K*Q+L*R;g[V+24>>2]=J*S+K*T+L*U;g[V+28>>2]=J*o+K*p+L*q;g[V+32>>2]=0.0;g[V+36>>2]=M*P+N*Q+O*R;g[V+40>>2]=M*S+N*T+O*U;g[V+44>>2]=M*o+N*p+O*q;g[V+48>>2]=0.0;g[V+52>>2]=r;g[V+56>>2]=s;g[V+60>>2]=t;g[V+64>>2]=0.0;g[V+68>>2]=G*u+H*v+I*w;g[V+72>>2]=G*x+H*y+I*z;g[V+76>>2]=G*A+H*B+I*C;g[V+80>>2]=0.0;g[V+84>>2]=J*u+K*v+L*w;g[V+88>>2]=J*x+K*y+L*z;g[V+92>>2]=J*A+K*B+L*C;g[V+96>>2]=0.0;g[V+100>>2]=M*u+N*v+O*w;g[V+104>>2]=M*x+N*y+O*z;g[V+108>>2]=M*A+N*B+O*C;g[V+112>>2]=0.0;g[V+116>>2]=D;g[V+120>>2]=E;g[V+124>>2]=F;g[V+128>>2]=0.0;g[V+196>>2]=X;c[V+200>>2]=c[h+244>>2];if(f|0?(ab[c[(c[f>>2]|0)+64>>2]&127](f,V,V+224|0,V+208|0),W=+g[V+200>>2],W<+g[h+244>>2]):0){g[h+244>>2]=W;X=W;sa=V;return +X}X=1.0;sa=V;return +X}function vd(b,d,e,f,h){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;var i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0,I=0.0,J=0.0,K=0.0,L=0.0,M=0.0,N=0.0,O=0.0,P=0.0,Q=0.0,R=0.0,S=0.0,T=0.0,U=0.0,V=0,W=0.0,X=0.0;V=sa;sa=sa+240|0;f=(a[b+8>>0]|0)!=0;h=f?e:d;f=f?d:e;R=+g[h+116>>2]-+g[h+52>>2];S=+g[h+120>>2]-+g[h+56>>2];T=+g[h+124>>2]-+g[h+60>>2];U=+g[h+252>>2];if(R*R+S*S+T*T>2];H=+g[f+20>>2];I=+g[f+36>>2];J=+g[f+8>>2];K=+g[f+24>>2];L=+g[f+40>>2];M=+g[f+12>>2];N=+g[f+28>>2];O=+g[f+44>>2];j=-+g[f+52>>2];k=-+g[f+56>>2];l=-+g[f+60>>2];P=+g[h+4>>2];Q=+g[h+20>>2];R=+g[h+36>>2];S=+g[h+8>>2];T=+g[h+24>>2];U=+g[h+40>>2];o=+g[h+12>>2];p=+g[h+28>>2];q=+g[h+44>>2];v=+g[h+52>>2];u=+g[h+56>>2];t=+g[h+60>>2];r=G*j+H*k+I*l+(G*v+H*u+I*t);s=J*j+K*k+L*l+(J*v+K*u+L*t);t=M*j+N*k+O*l+(M*v+N*u+O*t);u=+g[h+68>>2];v=+g[h+84>>2];w=+g[h+100>>2];x=+g[h+72>>2];y=+g[h+88>>2];z=+g[h+104>>2];A=+g[h+76>>2];B=+g[h+92>>2];C=+g[h+108>>2];m=+g[h+116>>2];n=+g[h+120>>2];F=+g[h+124>>2];D=G*j+H*k+I*l+(G*m+H*n+I*F);E=J*j+K*k+L*l+(J*m+K*n+L*F);F=M*j+N*k+O*l+(M*m+N*n+O*F);f=c[f+192>>2]|0;if(((c[f+4>>2]|0)+-21|0)>>>0>=9){W=1.0;sa=V;return +W}g[V+224>>2]=r;g[V+224+4>>2]=s;g[V+224+8>>2]=t;g[V+224+12>>2]=0.0;if(D>2]=D;i=D}else i=r;if(E>2]=E;j=E}else j=s;if(F>2]=F;k=F}else k=t;g[V+208>>2]=r;g[V+208+4>>2]=s;g[V+208+8>>2]=t;g[V+208+12>>2]=0.0;if(r>2]=D;l=D}else l=r;if(s>2]=E;m=E}else m=s;if(t>2]=F;n=F}else n=t;X=+g[h+248>>2];g[V+224>>2]=i-X;g[V+224+4>>2]=j-X;g[V+224+8>>2]=k-X;g[V+208>>2]=X+l;g[V+208+4>>2]=X+m;g[V+208+8>>2]=X+n;c[V>>2]=8344;g[V+4>>2]=G*P+H*Q+I*R;g[V+8>>2]=G*S+H*T+I*U;g[V+12>>2]=G*o+H*p+I*q;g[V+16>>2]=0.0;g[V+20>>2]=J*P+K*Q+L*R;g[V+24>>2]=J*S+K*T+L*U;g[V+28>>2]=J*o+K*p+L*q;g[V+32>>2]=0.0;g[V+36>>2]=M*P+N*Q+O*R;g[V+40>>2]=M*S+N*T+O*U;g[V+44>>2]=M*o+N*p+O*q;g[V+48>>2]=0.0;g[V+52>>2]=r;g[V+56>>2]=s;g[V+60>>2]=t;g[V+64>>2]=0.0;g[V+68>>2]=G*u+H*v+I*w;g[V+72>>2]=G*x+H*y+I*z;g[V+76>>2]=G*A+H*B+I*C;g[V+80>>2]=0.0;g[V+84>>2]=J*u+K*v+L*w;g[V+88>>2]=J*x+K*y+L*z;g[V+92>>2]=J*A+K*B+L*C;g[V+96>>2]=0.0;g[V+100>>2]=M*u+N*v+O*w;g[V+104>>2]=M*x+N*y+O*z;g[V+108>>2]=M*A+N*B+O*C;g[V+112>>2]=0.0;g[V+116>>2]=D;g[V+120>>2]=E;g[V+124>>2]=F;g[V+128>>2]=0.0;g[V+196>>2]=X;c[V+200>>2]=c[h+244>>2];if(f|0?(ab[c[(c[f>>2]|0)+64>>2]&127](f,V,V+224|0,V+208|0),W=+g[V+200>>2],W<+g[h+244>>2]):0){g[h+244>>2]=W;X=W;sa=V;return +X}X=1.0;sa=V;return +X}function wd(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;l=0;do{k=l;l=l+1|0;m=(l|0)==3;j=c[b+((m?0:l)<<2)>>2]|0;k=c[b+((((k+2|0)>>>0)%3|0)<<2)>>2]|0;e=c[d>>2]|0;f=c[d+4>>2]|0;do if((e|0)==(k|0)&(f|0)==(j|0)){e=2;n=3}else{if(!((e|0)==(j|0)&(f|0)==(k|0))){g=c[d+8>>2]|0;if((f|0)==(k|0)&(g|0)==(j|0)){e=0;n=3;break}if(!((f|0)==(j|0)&(g|0)==(k|0))){if(!((g|0)!=(k|0)|(e|0)==(j|0)^1)){e=1;n=3;break}if((g|0)!=(j|0)|(e|0)==(k|0)^1){e=12340;break}else e=1}else e=0}else e=2;e=d+12+(e<<2)|0}while(0);if((n|0)==3){n=0;e=d+12+(e<<2)|0}i=c[e>>2]|0;e=c[b>>2]|0;f=c[b+4>>2]|0;do if((e|0)==(j|0)&(f|0)==(k|0)){e=2;n=11}else{if(!((e|0)==(k|0)&(f|0)==(j|0))){g=c[b+8>>2]|0;if((f|0)==(j|0)&(g|0)==(k|0)){e=0;n=11;break}if(!((f|0)==(k|0)&(g|0)==(j|0))){if(!((g|0)!=(j|0)|(e|0)==(k|0)^1)){e=1;n=11;break}if((g|0)!=(k|0)|(e|0)==(j|0)^1){e=12340;break}else e=1}else e=0}else e=2;e=b+12+(e<<2)|0}while(0);if((n|0)==11){n=0;e=b+12+(e<<2)|0}h=c[a+(c[e>>2]<<2)>>2]|0;e=c[h>>2]|0;f=c[h+4>>2]|0;do if((e|0)==(k|0)&(f|0)==(j|0)){e=2;n=19}else{if(!((e|0)==(j|0)&(f|0)==(k|0))){g=c[h+8>>2]|0;if((f|0)==(k|0)&(g|0)==(j|0)){e=0;n=19;break}if(!((f|0)==(j|0)&(g|0)==(k|0))){if(!((g|0)!=(k|0)|(e|0)==(j|0)^1)){e=1;n=19;break}if((g|0)!=(j|0)|(e|0)==(k|0)^1){e=12340;break}else e=1}else e=0}else e=2;e=h+12+(e<<2)|0}while(0);if((n|0)==19){n=0;e=h+12+(e<<2)|0}c[e>>2]=i;e=c[b>>2]|0;f=c[b+4>>2]|0;do if((e|0)==(j|0)&(f|0)==(k|0)){e=2;n=27}else{if(!((e|0)==(k|0)&(f|0)==(j|0))){g=c[b+8>>2]|0;if((f|0)==(j|0)&(g|0)==(k|0)){e=0;n=27;break}if(!((f|0)==(k|0)&(g|0)==(j|0))){if(!((g|0)!=(j|0)|(e|0)==(k|0)^1)){e=1;n=27;break}if((g|0)!=(k|0)|(e|0)==(j|0)^1){e=12340;break}else e=1}else e=0}else e=2;e=b+12+(e<<2)|0}while(0);if((n|0)==27){n=0;e=b+12+(e<<2)|0}i=c[e>>2]|0;e=c[d>>2]|0;f=c[d+4>>2]|0;do if((e|0)==(k|0)&(f|0)==(j|0)){e=2;n=35}else{if(!((e|0)==(j|0)&(f|0)==(k|0))){g=c[d+8>>2]|0;if((f|0)==(k|0)&(g|0)==(j|0)){e=0;n=35;break}if(!((f|0)==(j|0)&(g|0)==(k|0))){if(!((g|0)!=(k|0)|(e|0)==(j|0)^1)){e=1;n=35;break}if((g|0)!=(j|0)|(e|0)==(k|0)^1){e=12340;break}else e=1}else e=0}else e=2;e=d+12+(e<<2)|0}while(0);if((n|0)==35){n=0;e=d+12+(e<<2)|0}h=c[a+(c[e>>2]<<2)>>2]|0;f=c[h>>2]|0;g=c[h+4>>2]|0;do if((f|0)==(j|0)&(g|0)==(k|0)){e=2;n=43}else{if(!((f|0)==(k|0)&(g|0)==(j|0))){e=c[h+8>>2]|0;if((g|0)==(j|0)&(e|0)==(k|0)){e=0;n=43;break}if(!((g|0)==(k|0)&(e|0)==(j|0))){if(!((e|0)!=(j|0)|(f|0)==(k|0)^1)){e=1;n=43;break}if((e|0)!=(k|0)|(f|0)==(j|0)^1){e=12340;break}else e=1}else e=0}else e=2;e=h+12+(e<<2)|0}while(0);if((n|0)==43){n=0;e=h+12+(e<<2)|0}c[e>>2]=i}while(!m);return}function xd(d,e,f,h){d=d|0;e=e|0;f=f|0;h=h|0;var i=0,k=0,l=0,m=0.0,n=0,o=0,p=0.0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0;p=+g[e>>2];i=(g[j>>2]=p,c[j>>2]|0);u=p<999999984306749440.0?i:1566444395;m=+g[e+4>>2];l=(g[j>>2]=m,c[j>>2]|0);v=m<999999984306749440.0?l:1566444395;y=+g[e+8>>2];o=(g[j>>2]=y,c[j>>2]|0);w=y<999999984306749440.0?o:1566444395;i=p>-999999984306749440.0?i:-581039253;l=m>-999999984306749440.0?l:-581039253;o=y>-999999984306749440.0?o:-581039253;y=+g[e+16>>2];t=y<(c[j>>2]=u,+g[j>>2]);k=(g[j>>2]=y,c[j>>2]|0);u=t?k:u;m=+g[e+20>>2];t=m<(c[j>>2]=v,+g[j>>2]);n=(g[j>>2]=m,c[j>>2]|0);v=t?n:v;p=+g[e+24>>2];t=p<(c[j>>2]=w,+g[j>>2]);q=(g[j>>2]=p,c[j>>2]|0);w=t?q:w;k=y>(c[j>>2]=i,+g[j>>2])?k:i;i=m>(c[j>>2]=l,+g[j>>2])?n:l;o=p>(c[j>>2]=o,+g[j>>2])?q:o;y=+g[e+32>>2];q=y<(c[j>>2]=u,+g[j>>2]);r=(g[j>>2]=y,c[j>>2]|0);m=+g[e+36>>2];s=m<(c[j>>2]=v,+g[j>>2]);t=(g[j>>2]=m,c[j>>2]|0);p=+g[e+40>>2];l=p<(c[j>>2]=w,+g[j>>2]);n=(g[j>>2]=p,c[j>>2]|0);k=y>(c[j>>2]=k,+g[j>>2])?r:k;i=m>(c[j>>2]=i,+g[j>>2])?t:i;o=p>(c[j>>2]=o,+g[j>>2])?n:o;G=(c[j>>2]=k,+g[j>>2]);H=(c[j>>2]=q?r:u,+g[j>>2]);C=(c[j>>2]=i,+g[j>>2]);D=(c[j>>2]=s?t:v,+g[j>>2]);m=(c[j>>2]=o,+g[j>>2]);z=(c[j>>2]=l?n:w,+g[j>>2]);o=c[d+8>>2]|0;F=+g[o+4>>2];B=+g[o+8>>2];p=+g[o+12>>2];E=+g[o+36>>2];A=+g[o+40>>2];y=+g[o+44>>2];o=~~(((G-H<2.0000000949949026e-03?H+-1.0000000474974513e-03:H)-F)*E)&65535&-2;q=~~(((C-D<2.0000000949949026e-03?D+-1.0000000474974513e-03:D)-B)*A)&65535&-2;r=~~(((m-z<2.0000000949949026e-03?z+-1.0000000474974513e-03:z)-p)*y)&65535&-2;s=~~(((G-H<2.0000000949949026e-03?G+1.0000000474974513e-03:G)-F)*E+1.0)&65535|1;t=~~(((C-D<2.0000000949949026e-03?C+1.0000000474974513e-03:C)-B)*A+1.0)&65535|1;e=~~(((m-z<2.0000000949949026e-03?m+1.0000000474974513e-03:m)-p)*y+1.0)&65535|1;n=c[d+4>>2]|0;i=c[n+4>>2]|0;if((i|0)==(c[n+8>>2]|0)?(x=(i|0)==0?1:i<<1,(i|0)<(x|0)):0){if(!x)l=0;else{c[7182]=(c[7182]|0)+1;i=xb((x<<4|3)+16|0)|0;if(!i)i=0;else{c[(i+4+15&-16)+-4>>2]=i;i=i+4+15&-16}l=i;i=c[n+4>>2]|0}if((i|0)>0){k=0;do{d=l+(k<<4)|0;w=(c[n+12>>2]|0)+(k<<4)|0;c[d>>2]=c[w>>2];c[d+4>>2]=c[w+4>>2];c[d+8>>2]=c[w+8>>2];c[d+12>>2]=c[w+12>>2];k=k+1|0}while((k|0)!=(i|0))}i=c[n+12>>2]|0;if(i|0){if(a[n+16>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[i+-4>>2]|0)}c[n+12>>2]=0}a[n+16>>0]=1;c[n+12>>2]=l;c[n+8>>2]=x;i=c[n+4>>2]|0}x=c[n+12>>2]|0;b[x+(i<<4)>>1]=o;b[x+(i<<4)+2>>1]=q;b[x+(i<<4)+4>>1]=r;b[x+(i<<4)+6>>1]=s;b[x+(i<<4)+8>>1]=t;b[x+(i<<4)+10>>1]=e;c[x+(i<<4)+12>>2]=f<<21|h;c[n+4>>2]=(c[n+4>>2]|0)+1;return}function yd(b,d){b=b|0;d=d|0;var e=0,f=0,h=0,i=0,j=0,k=0,l=0;l=sa;sa=sa+336|0;f=c[d+36>>2]|0;c[l+272+4>>2]=35;c[l+272+8>>2]=0;c[l+272+12>>2]=1065353216;c[l+272+16>>2]=1065353216;c[l+272+20>>2]=1065353216;g[l+272+24>>2]=0.0;c[l+272>>2]=6196;c[l+272+52>>2]=f;g[l+272+44>>2]=0.0;j=c[b+28>>2]|0;d=c[j+4>>2]|0;if(c[(c[j+8>>2]|0)+204>>2]&3|0?a[f+376>>0]|0:0){sa=l;return}if((a[26616]|0)==0?mz(26616)|0:0){if((a[26624]|0)==0?mz(26624)|0:0){c[6774]=1065353216;c[6775]=0;c[6776]=0;c[6777]=0;c[6778]=0;c[6779]=1065353216;c[6780]=0;c[6781]=0;c[6782]=0;c[6783]=0;c[6784]=1065353216;g[6785]=0.0}c[6758]=c[6774];c[6759]=c[6775];c[6760]=c[6776];c[6761]=c[6777];c[6762]=c[6778];c[6763]=c[6779];c[6764]=c[6780];c[6765]=c[6781];c[6766]=c[6782];c[6767]=c[6783];c[6768]=c[6784];c[6769]=c[6785];c[6770]=0;c[6771]=0;c[6772]=0;c[6773]=0}e=c[(c[b+28>>2]|0)+12>>2]|0;c[l>>2]=1065353216;c[l+4>>2]=0;c[l+8>>2]=0;g[l+12>>2]=0.0;if(!(!(Rc(l+272|0,27032,d,e,l,l+216|0)|0)?!(Ob(l+272|0,27032,d,e,l,l+216|0,0)|0):0))h=12;if((h|0)==12?(c[l+4>>2]=0,c[l+4+4>>2]=0,c[l+4+8>>2]=0,c[l+4+12>>2]=0,c[l+4+16>>2]=0,c[l+4+20>>2]=0,a[l+152>>0]=0,c[l>>2]=6016,j=c[(c[b+28>>2]|0)+8>>2]|0,jc(b,l+216|0,f,0,0,0,(c[j+236>>2]&2|0)==0?0:j,j,l)|0):0){c[7182]=(c[7182]|0)+1;d=xb(235)|0;if(!d)j=0;else{c[(d+4+15&-16)+-4>>2]=d;j=d+4+15&-16}e=j+4|0;d=j+152|0;mk(e|0,0,212)|0;c[j>>2]=6016;f=l+4|0;h=e+100|0;do{c[e>>2]=c[f>>2];e=e+4|0;f=f+4|0}while((e|0)<(h|0));e=j+104|0;c[e>>2]=c[l+104>>2];c[e+4>>2]=c[l+104+4>>2];c[e+8>>2]=c[l+104+8>>2];c[e+12>>2]=c[l+104+12>>2];e=j+120|0;c[e>>2]=c[l+120>>2];c[e+4>>2]=c[l+120+4>>2];c[e+8>>2]=c[l+120+8>>2];c[e+12>>2]=c[l+120+12>>2];e=j+136|0;c[e>>2]=c[l+136>>2];c[e+4>>2]=c[l+136+4>>2];c[e+8>>2]=c[l+136+8>>2];c[e+12>>2]=c[l+136+12>>2];a[d>>0]=a[l+152>>0]|0;e=j+156|0;f=l+156|0;h=e+60|0;do{c[e>>2]=c[f>>2];e=e+4|0;f=f+4|0}while((e|0)<(h|0));h=c[b+24>>2]|0;i=j;d=c[h+852>>2]|0;if((d|0)==(c[h+856>>2]|0)?(k=(d|0)==0?1:d<<1,(d|0)<(k|0)):0){if(!k)f=0;else{c[7182]=(c[7182]|0)+1;d=xb((k<<2|3)+16|0)|0;if(!d)d=0;else{c[(d+4+15&-16)+-4>>2]=d;d=d+4+15&-16}f=d;d=c[h+852>>2]|0}if((d|0)>0){e=0;do{c[f+(e<<2)>>2]=c[(c[h+860>>2]|0)+(e<<2)>>2];e=e+1|0}while((e|0)!=(d|0))}e=c[h+860>>2]|0;if(e){if(a[h+864>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[e+-4>>2]|0);d=c[h+852>>2]|0}c[h+860>>2]=0}a[h+864>>0]=1;c[h+860>>2]=f;c[h+856>>2]=k}c[(c[h+860>>2]|0)+(d<<2)>>2]=i;c[h+852>>2]=d+1;d=c[b+24>>2]|0;if(!(c[(c[(c[b+28>>2]|0)+8>>2]|0)+204>>2]&3)){b=j+64|0;g[b>>2]=+g[d+340>>2]*+g[b>>2];d=d+352|0}else{b=j+64|0;g[b>>2]=+g[d+344>>2]*+g[b>>2];d=d+356|0}b=j+68|0;g[b>>2]=+g[d>>2]*+g[b>>2]}sa=l;return}function zd(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;if(!((d|0)!=0&(e|0)!=0))return;if((c[b+24>>2]|0)<128?(c[b+28>>2]|0)<128:0){c[7182]=(c[7182]|0)+1;h=xb(1043)|0;if(!h)j=0;else{c[(h+4+15&-16)+-4>>2]=h;j=h+4+15&-16}i=c[b+24>>2]|0;if((i|0)>0){h=0;do{l=(c[b+32>>2]|0)+(h<<3)|0;m=c[l+4>>2]|0;n=j+(h<<3)|0;c[n>>2]=c[l>>2];c[n+4>>2]=m;h=h+1|0}while((h|0)!=(i|0))}h=c[b+32>>2]|0;if(h|0){if(a[b+36>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[h+-4>>2]|0)}c[b+32>>2]=0}a[b+36>>0]=1;c[b+32>>2]=j;c[b+28>>2]=128}c[b+24>>2]=128;h=c[b+32>>2]|0;c[h>>2]=d;c[h+4>>2]=e;h=1;i=124;do{n=h+-1|0;j=c[b+32>>2]|0;l=c[j+(n<<3)>>2]|0;m=c[j+(n<<3)+4>>2]|0;if((n|0)>(i|0)){k=c[b+24>>2]|0;if((k|0)<(k<<1|0)?(c[b+28>>2]|0)<(k<<1|0):0){if(k){c[7182]=(c[7182]|0)+1;i=xb((k<<4|3)+16|0)|0;if(!i)e=0;else{c[(i+4+15&-16)+-4>>2]=i;e=i+4+15&-16}j=c[b+24>>2]|0;if((j|0)>0){i=0;do{p=(c[b+32>>2]|0)+(i<<3)|0;o=c[p+4>>2]|0;d=e+(i<<3)|0;c[d>>2]=c[p>>2];c[d+4>>2]=o;i=i+1|0}while((i|0)!=(j|0));d=e;j=e}else{d=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>>2]=c[l+40>>2];c[o+(p<<3)+4>>2]=n;h=h+3|0;break}else{c[j+(n<<3)>>2]=e;c[j+(n<<3)+4>>2]=m;p=c[b+32>>2]|0;c[p+(h<<3)>>2]=c[l+40>>2];c[p+(h<<3)+4>>2]=m;h=h+1|0;break}}}else h=n;while(0)}while((h|0)!=0);return}function Ad(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,h=0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0;h=sa;sa=sa+16|0;f=xs()|0;if((a[26704]|0)==0?mz(26704)|0:0){c[h>>2]=0;c[h+4>>2]=0;c[h+8>>2]=0;c[h+12>>2]=0;Cf(27392,0.0,0,0,h)}c[6899]=c[6899]|1;g[6934]=0.0;w=+g[6944]*0.0;C=+g[6945]*0.0;g[6939]=+g[6943]*0.0;g[6940]=w;g[6941]=C;g[6942]=0.0;c[6947]=0;c[6948]=0;c[6949]=0;c[6950]=0;C=+g[6936]*0.0;w=+g[6937]*0.0;g[6988]=+g[6935]*0.0;g[6989]=C;g[6990]=w;g[6991]=0.0;c[f+4>>2]=7;c[f+8>>2]=-1;c[f+12>>2]=-1;g[f+16>>2]=3402823466385288598117041.0e14;a[f+20>>0]=1;a[f+21>>0]=0;c[f+24>>2]=-1;c[f+28>>2]=27392;c[f+32>>2]=b;g[f+36>>2]=0.0;g[f+40>>2]=.30000001192092896;c[f+44>>2]=0;c[f>>2]=7408;a[f+48>>0]=0;c[f+116>>2]=c[d>>2];c[f+116+4>>2]=c[d+4>>2];c[f+116+8>>2]=c[d+8>>2];c[f+116+12>>2]=c[d+12>>2];c[f+132>>2]=c[d+16>>2];c[f+132+4>>2]=c[d+16+4>>2];c[f+132+8>>2]=c[d+16+8>>2];c[f+132+12>>2]=c[d+16+12>>2];c[f+148>>2]=c[d+32>>2];c[f+148+4>>2]=c[d+32+4>>2];c[f+148+8>>2]=c[d+32+8>>2];c[f+148+12>>2]=c[d+32+12>>2];c[f+164>>2]=c[d+48>>2];c[f+164+4>>2]=c[d+48+4>>2];c[f+164+8>>2]=c[d+48+8>>2];c[f+164+12>>2]=c[d+48+12>>2];a[f+180>>0]=e&1;w=+g[f+116>>2];C=+g[b+4>>2];v=+g[f+132>>2];B=+g[b+8>>2];u=+g[f+148>>2];A=+g[b+12>>2];t=+g[f+120>>2];s=+g[f+136>>2];r=+g[f+152>>2];q=+g[f+124>>2];o=+g[f+140>>2];m=+g[f+156>>2];z=+g[b+20>>2];y=+g[b+24>>2];x=+g[b+28>>2];p=+g[b+36>>2];n=+g[b+40>>2];l=+g[b+44>>2];E=+g[f+164>>2];D=+g[f+168>>2];i=+g[f+172>>2];k=+g[b+52>>2]+(C*E+B*D+A*i);j=z*E+y*D+x*i+ +g[b+56>>2];i=p*E+n*D+l*i+ +g[b+60>>2];g[f+52>>2]=w*C+v*B+u*A;g[f+56>>2]=C*t+B*s+A*r;g[f+60>>2]=C*q+B*o+A*m;g[f+64>>2]=0.0;g[f+68>>2]=w*z+v*y+u*x;g[f+72>>2]=t*z+s*y+r*x;g[f+76>>2]=q*z+o*y+m*x;g[f+80>>2]=0.0;g[f+84>>2]=w*p+v*n+u*l;g[f+88>>2]=t*p+s*n+r*l;g[f+92>>2]=q*p+o*n+m*l;g[f+96>>2]=0.0;g[f+100>>2]=k;g[f+104>>2]=j;g[f+108>>2]=i;g[f+112>>2]=0.0;g[f+184>>2]=1.0;g[f+188>>2]=-1.0;g[f+192>>2]=0.0;g[f+196>>2]=0.0;g[f+200>>2]=1.0;g[f+204>>2]=.699999988079071;g[f+208>>2]=0.0;g[f+212>>2]=0.0;g[f+216>>2]=1.0;g[f+220>>2]=.699999988079071;g[f+224>>2]=0.0;g[f+228>>2]=0.0;g[f+264>>2]=1.0;g[f+268>>2]=.699999988079071;g[f+272>>2]=1.0;g[f+276>>2]=0.0;g[f+280>>2]=1.0;g[f+284>>2]=.699999988079071;g[f+288>>2]=1.0;g[f+292>>2]=0.0;g[f+232>>2]=1.0;g[f+236>>2]=.699999988079071;g[f+240>>2]=1.0;g[f+244>>2]=0.0;g[f+248>>2]=1.0;g[f+252>>2]=.699999988079071;g[f+256>>2]=1.0;g[f+260>>2]=0.0;a[f+1096>>0]=0;g[f+1116>>2]=0.0;g[f+1120>>2]=0.0;g[f+1124>>2]=0.0;c[f+300>>2]=0;c[f+1100>>2]=0;c[f+1100+4>>2]=0;c[f+1100+8>>2]=0;a[f+1100+12>>0]=0;a[f+49>>0]=1;kc(f,(c[f+28>>2]|0)+4|0,(c[f+32>>2]|0)+4|0);sa=h;return f|0}function Bd(b,d){b=b|0;d=d|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;o=c[b+92>>2]|0;if(!(Fa[c[(c[o>>2]|0)+56>>2]&127](o)|0))return;o=c[b+92>>2]|0;o=Fa[c[(c[o>>2]|0)+28>>2]&127](o)|0;f=c[o+4>>2]|0;if((f|0)>1){Ed(o,0,f+-1|0);j=c[o+4>>2]|0}else j=f;m=c[b+104>>2]|0;f=j-m|0;if((m|0)<0){if((c[o+8>>2]|0)<(f|0)){if(!f){g=0;i=j}else{c[7182]=(c[7182]|0)+1;g=xb((f<<4|3)+16|0)|0;if(!g)g=0;else{c[(g+4+15&-16)+-4>>2]=g;g=g+4+15&-16}i=c[o+4>>2]|0}if((i|0)>0){h=0;do{m=c[o+12>>2]|0;c[g+(h<<4)>>2]=c[m+(h<<4)>>2];c[g+(h<<4)+4>>2]=c[m+(h<<4)+4>>2];c[g+(h<<4)+8>>2]=c[m+(h<<4)+8>>2];c[g+(h<<4)+12>>2]=c[m+(h<<4)+12>>2];h=h+1|0}while((h|0)!=(i|0))}h=c[o+12>>2]|0;if(h|0){if(a[o+16>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[h+-4>>2]|0)}c[o+12>>2]=0}a[o+16>>0]=1;c[o+12>>2]=g;c[o+8>>2]=f;h=o+12|0}else h=o+12|0;g=j;do{m=(c[h>>2]|0)+(g<<4)|0;g=g+1|0;c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=0;c[m+12>>2]=0}while((g|0)!=(f|0))}c[o+4>>2]=f;c[b+104>>2]=0;if((f|0)>0){l=0;m=0;g=0;h=0;do{k=c[o+12>>2]|0;j=k+(l<<4)|0;p=m;m=c[j>>2]|0;k=k+(l<<4)+4|0;i=c[k>>2]|0;if(!((m|0)==(p|0)&(i|0)==(g|0))){p=m+54|0;g=m+48|0;if((((((e[p>>1]|0)>=(e[i+48>>1]|0)?(e[i+54>>1]|0)>=(e[g>>1]|0):0)?(e[p+2>>1]|0)>=(e[i+48+2>>1]|0):0)?(e[i+54+2>>1]|0)>=(e[g+2>>1]|0):0)?(e[p+4>>1]|0)>=(e[i+52>>1]|0):0)?(e[i+54+4>>1]|0)>=(e[m+52>>1]|0):0)g=i;else{f=i;n=30}}else{f=g;n=30}if((n|0)==30){n=0;h=c[b+92>>2]|0;Za[c[(c[h>>2]|0)+32>>2]&127](h,j,d);c[j>>2]=0;c[k>>2]=0;h=(c[b+104>>2]|0)+1|0;c[b+104>>2]=h;c[7158]=(c[7158]|0)+-1;g=f;f=c[o+4>>2]|0}l=l+1|0}while((l|0)<(f|0));if((f|0)>1){Ed(o,0,f+-1|0);h=c[b+104>>2]|0;g=c[o+4>>2]|0}else g=f;f=g-h|0;if((h|0)<0){if((c[o+8>>2]|0)<(f|0)){if(!f){h=0;j=g}else{c[7182]=(c[7182]|0)+1;h=xb((f<<4|3)+16|0)|0;if(!h)h=0;else{c[(h+4+15&-16)+-4>>2]=h;h=h+4+15&-16}j=c[o+4>>2]|0}if((j|0)>0){i=0;do{p=c[o+12>>2]|0;c[h+(i<<4)>>2]=c[p+(i<<4)>>2];c[h+(i<<4)+4>>2]=c[p+(i<<4)+4>>2];c[h+(i<<4)+8>>2]=c[p+(i<<4)+8>>2];c[h+(i<<4)+12>>2]=c[p+(i<<4)+12>>2];i=i+1|0}while((i|0)!=(j|0))}i=c[o+12>>2]|0;if(i|0){if(a[o+16>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[i+-4>>2]|0)}c[o+12>>2]=0}a[o+16>>0]=1;c[o+12>>2]=h;c[o+8>>2]=f}do{p=(c[o+12>>2]|0)+(g<<4)|0;g=g+1|0;c[p>>2]=0;c[p+4>>2]=0;c[p+8>>2]=0;c[p+12>>2]=0}while((g|0)!=(f|0))}}c[o+4>>2]=f;c[b+104>>2]=0;return}function Cd(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=sa;sa=sa+80|0;c[a+68>>2]=(c[a+68>>2]|0)+1;f=c[a+64>>2]|0;if(f|0){d=c[(c[a+24>>2]|0)+(b*80|0)+76>>2]|0;sg(f,d)|0;e=c[f+4>>2]|0;if(e|0){c[7183]=(c[7183]|0)+1;Hc(c[e+-4>>2]|0)}c[f+4>>2]=d;c[f+12>>2]=(c[f+12>>2]|0)+-1}f=(c[a+16>>2]|0)+-1|0;e=c[a+24>>2]|0;c[g>>2]=c[e+(b*80|0)>>2];c[g+4>>2]=c[e+(b*80|0)+4>>2];c[g+8>>2]=c[e+(b*80|0)+8>>2];c[g+12>>2]=c[e+(b*80|0)+12>>2];c[g+16>>2]=c[e+(b*80|0)+16>>2];c[g+16+4>>2]=c[e+(b*80|0)+16+4>>2];c[g+16+8>>2]=c[e+(b*80|0)+16+8>>2];c[g+16+12>>2]=c[e+(b*80|0)+16+12>>2];c[g+32>>2]=c[e+(b*80|0)+32>>2];c[g+32+4>>2]=c[e+(b*80|0)+32+4>>2];c[g+32+8>>2]=c[e+(b*80|0)+32+8>>2];c[g+32+12>>2]=c[e+(b*80|0)+32+12>>2];c[g+48>>2]=c[e+(b*80|0)+48>>2];c[g+48+4>>2]=c[e+(b*80|0)+48+4>>2];c[g+48+8>>2]=c[e+(b*80|0)+48+8>>2];c[g+48+12>>2]=c[e+(b*80|0)+48+12>>2];c[g+64>>2]=c[e+(b*80|0)+64>>2];c[g+64+4>>2]=c[e+(b*80|0)+64+4>>2];c[g+64+8>>2]=c[e+(b*80|0)+64+8>>2];c[g+64+12>>2]=c[e+(b*80|0)+64+12>>2];c[e+(b*80|0)>>2]=c[e+(f*80|0)>>2];c[e+(b*80|0)+4>>2]=c[e+(f*80|0)+4>>2];c[e+(b*80|0)+8>>2]=c[e+(f*80|0)+8>>2];c[e+(b*80|0)+12>>2]=c[e+(f*80|0)+12>>2];c[e+(b*80|0)+16>>2]=c[e+(f*80|0)+16>>2];c[e+(b*80|0)+16+4>>2]=c[e+(f*80|0)+16+4>>2];c[e+(b*80|0)+16+8>>2]=c[e+(f*80|0)+16+8>>2];c[e+(b*80|0)+16+12>>2]=c[e+(f*80|0)+16+12>>2];c[e+(b*80|0)+32>>2]=c[e+(f*80|0)+32>>2];c[e+(b*80|0)+32+4>>2]=c[e+(f*80|0)+32+4>>2];c[e+(b*80|0)+32+8>>2]=c[e+(f*80|0)+32+8>>2];c[e+(b*80|0)+32+12>>2]=c[e+(f*80|0)+32+12>>2];c[e+(b*80|0)+48>>2]=c[e+(f*80|0)+48>>2];c[e+(b*80|0)+48+4>>2]=c[e+(f*80|0)+48+4>>2];c[e+(b*80|0)+48+8>>2]=c[e+(f*80|0)+48+8>>2];c[e+(b*80|0)+48+12>>2]=c[e+(f*80|0)+48+12>>2];c[e+(b*80|0)+64>>2]=c[e+(f*80|0)+64>>2];c[e+(b*80|0)+64+4>>2]=c[e+(f*80|0)+64+4>>2];c[e+(b*80|0)+64+8>>2]=c[e+(f*80|0)+64+8>>2];c[e+(b*80|0)+64+12>>2]=c[e+(f*80|0)+64+12>>2];e=c[a+24>>2]|0;c[e+(f*80|0)>>2]=c[g>>2];c[e+(f*80|0)+4>>2]=c[g+4>>2];c[e+(f*80|0)+8>>2]=c[g+8>>2];c[e+(f*80|0)+12>>2]=c[g+12>>2];c[e+(f*80|0)+16>>2]=c[g+16>>2];c[e+(f*80|0)+16+4>>2]=c[g+16+4>>2];c[e+(f*80|0)+16+8>>2]=c[g+16+8>>2];c[e+(f*80|0)+16+12>>2]=c[g+16+12>>2];c[e+(f*80|0)+32>>2]=c[g+32>>2];c[e+(f*80|0)+32+4>>2]=c[g+32+4>>2];c[e+(f*80|0)+32+8>>2]=c[g+32+8>>2];c[e+(f*80|0)+32+12>>2]=c[g+32+12>>2];c[e+(f*80|0)+48>>2]=c[g+48>>2];c[e+(f*80|0)+48+4>>2]=c[g+48+4>>2];c[e+(f*80|0)+48+8>>2]=c[g+48+8>>2];c[e+(f*80|0)+48+12>>2]=c[g+48+12>>2];c[e+(f*80|0)+64>>2]=c[g+64>>2];c[e+(f*80|0)+64+4>>2]=c[g+64+4>>2];c[e+(f*80|0)+64+8>>2]=c[g+64+8>>2];c[e+(f*80|0)+64+12>>2]=c[g+64+12>>2];if(!(c[a+64>>2]|0)){f=c[a+16>>2]|0;f=f+-1|0;c[a+16>>2]=f;sa=g;return}c[(c[(c[a+24>>2]|0)+(b*80|0)+76>>2]|0)+36>>2]=b;f=c[a+16>>2]|0;f=f+-1|0;c[a+16>>2]=f;sa=g;return}function Dd(a,d,f,h,i,j,k,l,m){a=a|0;d=d|0;f=f|0;h=+h;i=+i;j=+j;k=k|0;l=l|0;m=m|0;var n=0,o=0,p=0,q=0,r=0.0,s=0.0,t=0.0,u=0.0,v=0,w=0,y=0,z=0,A=0,B=0,C=0,D=0.0,E=0.0,F=0,G=0,H=0,I=0.0,J=0.0,K=0.0,L=0.0,M=0.0,N=0.0,O=0.0,P=0.0,Q=0.0,R=0,S=0,T=0,U=0,V=0.0,W=0.0,X=0.0,Y=0.0,Z=0.0,_=0.0,$=0.0,aa=0.0,ba=0.0,ca=0.0,da=0.0;U=sa;sa=sa+32|0;Q=+g[f>>2];E=+g[f+4>>2];I=+g[f+8>>2];J=1.0/+x(+((h-Q)*(h-Q)+(i-E)*(i-E)+(j-I)*(j-I)));N=(h-Q)*J==0.0?999999984306749440.0:1.0/((h-Q)*J);O=(i-E)*J==0.0?999999984306749440.0:1.0/((i-E)*J);P=(j-I)*J==0.0?999999984306749440.0:1.0/((j-I)*J);da=(Q>h?h:Q)+ +g[k>>2];ca=(E>i?i:E)+ +g[k+4>>2];ba=(I>j?j:I)+ +g[k+8>>2];$=(Q>2];X=(E>2];s=(I>2];_=+g[a+4>>2];da=da<_?_:da;W=+g[a+8>>2];ca=ca>2];ba=ba>2];Y=+g[a+24>>2];r=+g[a+28>>2];Z=+g[a+36>>2];V=+g[a+40>>2];u=+g[a+44>>2];R=~~(((aa0){o=0;n=0;p=c[a+136>>2]|0;do{n=n+1|0;q=p+6|0;v=b[p>>1]|0;w=p+10|0;y=b[p+4>>1]|0;z=p+8|0;A=b[p+2>>1]|0;B=p+12|0;C=(c[B>>2]|0)>-1;do if(((F&65535)>=(v&65535)?(R&65535)<=(e[q>>1]|0):0)&(T&65535)<=(e[w>>1]|0)&(H&65535)>=(y&65535)&(S&65535)<=(e[z>>1]|0)&(G&65535)>=(A&65535)){$=+g[a+36>>2];ba=+g[a+40>>2];da=+g[a+44>>2];aa=+g[a+4>>2];ca=+g[a+8>>2];t=+g[a+12>>2];g[U+12>>2]=0.0;u=aa+ +(e[q>>1]|0)/$;r=ca+ +(e[z>>1]|0)/ba;s=t+ +(e[w>>1]|0)/da;g[U+28>>2]=0.0;g[U>>2]=+(v&65535)/$+aa-+g[l>>2];g[U+4>>2]=+(A&65535)/ba+ca-+g[l+4>>2];g[U+8>>2]=+(y&65535)/da+t-+g[l+8>>2];g[U+16>>2]=u-+g[k>>2];g[U+20>>2]=r-+g[k+4>>2];g[U+24>>2]=s-+g[k+8>>2];s=+g[f>>2];r=N*(+g[U+((N<0.0&1)<<4)>>2]-s);s=N*(+g[U+(((N<0.0^1)&1)<<4)>>2]-s);u=+g[f+4>>2];t=O*(+g[U+((O<0.0&1)<<4)+4>>2]-u);u=O*(+g[U+(((O<0.0^1)&1)<<4)+4>>2]-u);if(!(t>s|r>u)?(K=t>r?t:r,D=u>2],L=P*(+g[U+((P<0.0&1)<<4)+8>>2]-M),M=P*(+g[U+(((P<0.0^1)&1)<<4)+8>>2]-M),!(L>D|K>M)):0){q=(M0.0?(L>K?L:K)<(j-I)*(j-I)*J+((h-Q)*(h-Q)*J+(i-E)*(i-E)*J):0;if(!(C&q)){v=9;break}v=c[B>>2]|0;Za[c[(c[d>>2]|0)+8>>2]&127](d,21?v>>21:v,v&2097151);v=10;break}q=0;v=9}else{q=0;v=9}while(0);if((v|0)==9){v=0;if(C|q)v=10;else{C=c[B>>2]|0;o=o-C|0;p=p+(0-C<<4)|0}}if((v|0)==10){o=o+1|0;p=p+16|0}}while((o|0)<(m|0))}else n=0;if((c[7162]|0)>=(n|0)){sa=U;return}c[7162]=n;sa=U;return}function Ed(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;while(1){o=c[a+12>>2]|0;q=(b+d|0)/2|0;r=c[o+(q<<4)>>2]|0;p=c[o+(q<<4)+4>>2]|0;q=c[o+(q<<4)+8>>2]|0;e=d;f=b;while(1){a:do if(!r)while(1){l=o+(f<<4)|0;j=c[l>>2]|0;if(!j)g=-1;else g=c[j+12>>2]|0;k=c[o+(f<<4)+4>>2]|0;if(!k)h=-1;else h=c[k+12>>2]|0;if(!p)i=-1;else i=c[p+12>>2]|0;do if((g|0)<=-1){g=(h|0)>(i|0);if(g|(j|0)==0^1)if((j|0)==0&g)break;else break a;if((k|0)!=(p|0))break a;if((c[o+(f<<4)+8>>2]|0)>>>0<=q>>>0)break a}while(0);f=f+1|0}else{m=c[r+12>>2]|0;while(1){l=o+(f<<4)|0;j=c[l>>2]|0;if(!j)g=-1;else g=c[j+12>>2]|0;k=c[o+(f<<4)+4>>2]|0;if(!k)h=-1;else h=c[k+12>>2]|0;if(!p)i=-1;else i=c[p+12>>2]|0;do if((g|0)<=(m|0)){g=(h|0)>(i|0);if(g|(j|0)==(r|0)^1)if((j|0)==(r|0)&g)break;else break a;if((k|0)!=(p|0))break a;if((c[o+(f<<4)+8>>2]|0)>>>0<=q>>>0)break a}while(0);f=f+1|0}}while(0);b:do if(!r)while(1){g=o+(e<<4)|0;k=c[g>>2]|0;if(!k)h=-1;else h=c[k+12>>2]|0;if(!p)i=-1;else i=c[p+12>>2]|0;m=c[o+(e<<4)+4>>2]|0;if(!m)j=-1;else j=c[m+12>>2]|0;do if((h|0)>=-1){h=(i|0)>(j|0);if(h|(k|0)==0^1)if((k|0)==0&h)break;else break b;if((p|0)!=(m|0))break b;if((c[o+(e<<4)+8>>2]|0)>>>0>=q>>>0)break b}while(0);e=e+-1|0}else{n=c[r+12>>2]|0;while(1){g=o+(e<<4)|0;k=c[g>>2]|0;if(!k)h=-1;else h=c[k+12>>2]|0;if(!p)i=-1;else i=c[p+12>>2]|0;m=c[o+(e<<4)+4>>2]|0;if(!m)j=-1;else j=c[m+12>>2]|0;do if((n|0)<=(h|0)){h=(i|0)>(j|0);if(h|(r|0)==(k|0)^1)if((r|0)==(k|0)&h)break;else break b;if((p|0)!=(m|0))break b;if((c[o+(e<<4)+8>>2]|0)>>>0>=q>>>0)break b}while(0);e=e+-1|0}}while(0);if((f|0)<=(e|0)){j=c[l>>2]|0;k=c[o+(f<<4)+4>>2]|0;m=c[o+(f<<4)+8>>2]|0;n=c[o+(f<<4)+12>>2]|0;c[l>>2]=c[g>>2];c[l+4>>2]=c[g+4>>2];c[l+8>>2]=c[g+8>>2];c[l+12>>2]=c[g+12>>2];o=c[a+12>>2]|0;c[o+(e<<4)>>2]=j;c[o+(e<<4)+4>>2]=k;c[o+(e<<4)+8>>2]=m;c[o+(e<<4)+12>>2]=n;e=e+-1|0;f=f+1|0}if((f|0)>(e|0))break;o=c[a+12>>2]|0}if((e|0)>(b|0))Ed(a,b,e);if((f|0)<(d|0))b=f;else break}return}function Fd(b,d,e,f,h,i,j,k,l){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=+i;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,r=0.0,s=0.0,t=0.0,u=0.0,v=0,w=0,x=0,y=0,z=0.0,A=0.0,B=0.0,C=0.0,D=0,E=0.0;D=sa;sa=sa+32|0;if(!d){sa=D;return}m=c[b+44>>2]|0;if((m|0)<128){if((c[b+48>>2]|0)<128){c[7182]=(c[7182]|0)+1;n=xb(531)|0;if(!n)p=0;else{c[(n+4+15&-16)+-4>>2]=n;p=n+4+15&-16}o=c[b+44>>2]|0;if((o|0)>0){n=0;do{c[p+(n<<2)>>2]=c[(c[b+52>>2]|0)+(n<<2)>>2];n=n+1|0}while((n|0)!=(o|0))}n=c[b+52>>2]|0;if(n|0){if(a[b+56>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[n+-4>>2]|0)}c[b+52>>2]=0}a[b+56>>0]=1;c[b+52>>2]=p;c[b+48>>2]=128;n=b+52|0}else n=b+52|0;do{c[(c[n>>2]|0)+(m<<2)>>2]=0;m=m+1|0}while((m|0)!=128);y=b+48|0}else{n=b+52|0;y=b+48|0}c[b+44>>2]=128;c[c[n>>2]>>2]=d;o=1;m=126;do{w=o+-1|0;p=c[n>>2]|0;x=c[p+(w<<2)>>2]|0;u=+g[x+4>>2]-+g[k+4>>2];s=+g[x+8>>2]-+g[k+8>>2];g[D>>2]=+g[x>>2]-+g[k>>2];g[D+4>>2]=u;g[D+8>>2]=s;g[D+12>>2]=0.0;s=+g[x+20>>2]-+g[j+4>>2];u=+g[x+24>>2]-+g[j+8>>2];g[D+16>>2]=+g[x+16>>2]-+g[j>>2];g[D+20>>2]=s;g[D+24>>2]=u;g[D+28>>2]=0.0;v=c[h>>2]|0;u=+g[e>>2];s=+g[f>>2];t=(+g[D+(v<<4)>>2]-u)*s;u=s*(+g[D+(1-v<<4)>>2]-u);v=c[h+4>>2]|0;s=+g[e+4>>2];E=+g[f+4>>2];r=(+g[D+(v<<4)+4>>2]-s)*E;s=E*(+g[D+(1-v<<4)+4>>2]-s);do if((!(r>u|t>s)?(A=r>t?r:t,z=s>2]|0,C=+g[e+8>>2],E=+g[f+8>>2],B=(+g[D+(v<<4)+8>>2]-C)*E,C=E*(+g[D+(1-v<<4)+8>>2]-C),!(B>z|A>C)):0)?((C0.0?(B>A?B:A)>2]|0)){Va[c[(c[l>>2]|0)+12>>2]&127](l,x);o=w;break}if((w|0)>(m|0)){v=c[b+44>>2]|0;if((v|0)<(v<<1|0)){if((c[y>>2]|0)<(v<<1|0)){if(v){c[7182]=(c[7182]|0)+1;m=xb((v<<3|3)+16|0)|0;if(!m)q=0;else{c[(m+4+15&-16)+-4>>2]=m;q=m+4+15&-16}p=c[b+44>>2]|0;if((p|0)>0){m=0;do{c[q+(m<<2)>>2]=c[(c[n>>2]|0)+(m<<2)>>2];m=m+1|0}while((m|0)!=(p|0));d=q;m=q}else{d=q;m=q}}else{d=0;m=0}p=c[n>>2]|0;if(p|0){if(a[b+56>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[p+-4>>2]|0)}c[n>>2]=0}a[b+56>>0]=1;c[n>>2]=d;c[y>>2]=v<<1}else m=p;p=v;do{c[m+(p<<2)>>2]=0;p=p+1|0;m=c[n>>2]|0}while((p|0)!=(v<<1|0));p=m+(w<<2)|0}else p=p+(w<<2)|0;c[b+44>>2]=v<<1;m=(v<<1)+-2|0}else p=p+(w<<2)|0;c[p>>2]=c[x+36>>2];c[(c[n>>2]|0)+(o<<2)>>2]=c[x+40>>2];o=o+1|0}else o=w;while(0)}while((o|0)!=0);sa=D;return}function Gd(a,b,d,e,f,h,i,j,k,l,m,n){a=a|0;b=b|0;d=d|0;e=e|0;f=+f;h=+h;i=+i;j=+j;k=+k;l=l|0;m=+m;n=n|0;var o=0.0,p=0.0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0.0,B=0,C=0,D=0,E=0;E=sa;sa=sa+2560|0;Wp(E+2528|0,+g[d>>2],+g[d+4>>2],+g[d+8>>2],f);qp(E+2544|0,+g[b>>2],+g[b+4>>2],+g[b+8>>2],+g[E+2528>>2],+g[E+2528+4>>2],+g[E+2528+8>>2]);Wp(E+2496|0,+g[d>>2],+g[d+4>>2],+g[d+8>>2],f);sp(E+2512|0,+g[b>>2],+g[b+4>>2],+g[b+8>>2],+g[E+2496>>2],+g[E+2496+4>>2],+g[E+2496+8>>2]);Co(E+2464|0,+g[d>>2],+g[d+4>>2],+g[d+8>>2],+g[e>>2],+g[e+4>>2],+g[e+8>>2]);p=!(h<=-1.5707963705062866)?h:m*.01745329238474369+-1.5707963705062866;o=!(i>=1.5707963705062866)?i:1.5707963705062866-m*.01745329238474369;if(p>o){D=1;C=1;p=m*.01745329238474369+-1.5707963705062866;o=1.5707963705062866-m*.01745329238474369}else{D=!(i>=1.5707963705062866)^1;C=!(h<=-1.5707963705062866)^1}A=o-p;B=(~~(A/(m*.01745329238474369))|0)<1?2:~~(A/(m*.01745329238474369))+1|0;if(!(j>k))if(!(k-j>=6.2831854820251465)){o=k;z=0}else{o=k;z=1}else{j=m*.01745329238474369+-3.1415927410125732;o=3.1415927410125732;z=1}h=o-j;y=(~~(h/(m*.01745329238474369))|0)<1?2:~~(h/(m*.01745329238474369))+1|0;r=0;s=E+1184|0;t=E;while(1){if((r|0)>=(B|0))break;i=p+A/+(B+-1|0)*+(r|0);o=+yI(i)*f;i=+zI(i)*f;u=(r|0)==0;v=(r|0)==(B+-1|0);q=0;while(1){if((q|0)>=(y|0))break;k=j+h/+(y+-1|0)*+(q|0);m=+yI(k);k=i*+zI(k);yy(E+2400|0,k,+g[e>>2],+g[e+4>>2],+g[e+8>>2]);qp(E+2416|0,+g[b>>2],+g[b+4>>2],+g[b+8>>2],+g[E+2400>>2],+g[E+2400+4>>2],+g[E+2400+8>>2]);yy(E+2384|0,i*m,+g[E+2464>>2],+g[E+2464+4>>2],+g[E+2464+8>>2]);qp(E+2432|0,+g[E+2416>>2],+g[E+2416+4>>2],+g[E+2416+8>>2],+g[E+2384>>2],+g[E+2384+4>>2],+g[E+2384+8>>2]);yy(E+2368|0,o,+g[d>>2],+g[d+4>>2],+g[d+8>>2]);qp(E+2448|0,+g[E+2432>>2],+g[E+2432+4>>2],+g[E+2432+8>>2],+g[E+2368>>2],+g[E+2368+4>>2],+g[E+2368+8>>2]);w=t+(q<<4)|0;c[w>>2]=c[E+2448>>2];c[w+4>>2]=c[E+2448+4>>2];c[w+8>>2]=c[E+2448+8>>2];c[w+12>>2]=c[E+2448+12>>2];if(u){if(D)ab[c[(c[a>>2]|0)+8>>2]&127](a,E+2512|0,w,l)}else ab[c[(c[a>>2]|0)+8>>2]&127](a,s+(q<<4)|0,w,l);x=(q|0)==0;if(x){c[E+2480>>2]=c[t>>2];c[E+2480+4>>2]=c[t+4>>2];c[E+2480+8>>2]=c[t+8>>2];c[E+2480+12>>2]=c[t+12>>2]}else ab[c[(c[a>>2]|0)+8>>2]&127](a,t+(q+-1<<4)|0,w,l);if(v&C)ab[c[(c[a>>2]|0)+8>>2]&127](a,E+2544|0,w,l);do if(n)if(z){if((q|0)!=(y+-1|0))break;ab[c[(c[a>>2]|0)+8>>2]&127](a,E+2480|0,t+(y+-1<<4)|0,l);break}else{if(!((u|v)&(x|(q|0)==(y+-1|0))))break;ab[c[(c[a>>2]|0)+8>>2]&127](a,b,w,l);break}while(0);q=q+1|0}x=t;r=r+1|0;t=s;s=x}sa=E;return}function Hd(b,d){b=b|0;d=+d;var e=0,f=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=sa;sa=sa+16|0;n=c[b+452>>2]|0;Za[c[(c[n>>2]|0)+16>>2]&127](n,b+324|0,0);n=c[b+452>>2]|0;Fa[c[(c[n>>2]|0)+12>>2]&127](n)|0;Xb(b,d);Ki(15967);n=c[b+328>>2]|0;if((n|0)>0){f=c[b+336>>2]|0;e=0;k=0;do{m=c[(c[f+(e<<2)>>2]|0)+384>>2]|0;k=(k|0)>(m|0)?k:m;e=e+1|0}while((e|0)!=(n|0));e=0;while(1){h=c[f+(e<<2)>>2]|0;if((c[h+852>>2]|0)>0){f=0;do{m=c[(c[h+860>>2]|0)+(f<<2)>>2]|0;Ta[c[(c[m>>2]|0)+8>>2]&15](m,+g[h+452>>2],k);f=f+1|0}while((f|0)<(c[h+852>>2]|0))}e=e+1|0;if((e|0)==(n|0))break;f=c[b+336>>2]|0}if((k|0)>0){h=0;do{e=0;do{i=c[(c[b+336>>2]|0)+(e<<2)>>2]|0;j=c[i+852>>2]|0;if((j|0)>0){f=0;do{m=c[(c[i+860>>2]|0)+(f<<2)>>2]|0;Ra[c[(c[m>>2]|0)+12>>2]&7](m,+g[i+452>>2],1.0);f=f+1|0}while((f|0)!=(j|0))}e=e+1|0}while((e|0)!=(n|0));h=h+1|0}while((h|0)!=(k|0))}l=0;do{m=c[(c[b+336>>2]|0)+(l<<2)>>2]|0;if((c[m+852>>2]|0)>0){e=0;do{f=c[(c[m+860>>2]|0)+(e<<2)>>2]|0;Qa[c[(c[f>>2]|0)+16>>2]&31](f,+g[m+452>>2]);f=c[m+860>>2]|0;h=c[f+(e<<2)>>2]|0;a:do if(a[h+152>>0]|0){if(!h)k=f;else{c[7183]=(c[7183]|0)+1;Hc(c[h+-4>>2]|0);k=c[m+860>>2]|0}j=e+-1|0;f=c[m+852>>2]|0;if((f|0)>0){i=c[k+(e<<2)>>2]|0;e=0;while(1){h=k+(e<<2)|0;if((c[h>>2]|0)==(i|0))break;e=e+1|0;if((e|0)>=(f|0)){e=j;break a}}if((e|0)<(f|0)){c[h>>2]=c[k+(f+-1<<2)>>2];c[(c[m+860>>2]|0)+(f+-1<<2)>>2]=i;c[m+852>>2]=f+-1;e=j;f=f+-1|0}else e=j}else e=j}else f=c[m+852>>2]|0;while(0);e=e+1|0}while((e|0)<(f|0))}l=l+1|0}while((l|0)!=(n|0))}e=c[b+452>>2]|0;Qa[c[(c[e>>2]|0)+28>>2]&31](e,+g[e+12>>2]*d);e=c[3084]|0;n=(c[e+16>>2]|0)+-1|0;c[e+16>>2]=n;do if(!n){if(c[e+4>>2]|0){la(o|0,0)|0;n=c[7181]|0;g[e+8>>2]=+g[e+8>>2]+ +(((c[o+4>>2]|0)-(c[n+4>>2]|0)+(((c[o>>2]|0)-(c[n>>2]|0)|0)*1e6|0)-(c[e+12>>2]|0)|0)>>>0)/1.0e3;if(c[e+16>>2]|0)break;e=c[3084]|0}c[3084]=c[e+20>>2]}while(0);if((c[b+328>>2]|0)<=0){b=c[b+452>>2]|0;n=c[b>>2]|0;n=n+32|0;n=c[n>>2]|0;Pa[n&511](b);sa=o;return}e=0;do{n=c[(c[b+336>>2]|0)+(e<<2)>>2]|0;ph(n,n);e=e+1|0}while((e|0)<(c[b+328>>2]|0));b=c[b+452>>2]|0;n=c[b>>2]|0;n=n+32|0;n=c[n>>2]|0;Pa[n&511](b);sa=o;return}function Id(b,d){b=b|0;d=+d;var e=0,f=0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0,o=0,p=0,q=0,r=0,s=0,t=0.0,u=0.0,v=0.0,w=0.0,y=0.0,z=0.0;r=sa;sa=sa+32|0;e=c[b+136>>2]|0;if((e|0)>0){f=0;do{Ld(c[b+116>>2]|0,c[b+144>>2]|0,f,0);f=f+1|0;e=c[b+136>>2]|0}while((f|0)<(e|0))}q=c[b+116>>2]|0;l=+g[q+312>>2];m=+g[q+316>>2];h=+g[q+320>>2];h=+x(+(l*l+m*m+h*h))*3.5999999046325684;g[b+112>>2]=h;p=c[b+128>>2]|0;if(+g[q+4+(p<<2)>>2]*+g[q+312>>2]+ +g[q+20+(p<<2)>>2]*+g[q+316>>2]+ +g[q+36+(p<<2)>>2]*+g[q+320>>2]<0.0)g[b+112>>2]=-h;if((e|0)>0){e=0;do{+ze(b,(c[b+144>>2]|0)+(e*284|0)|0);e=e+1|0;f=c[b+136>>2]|0}while((e|0)<(f|0));i=1.0/+g[(c[b+116>>2]|0)+344>>2];if((f|0)>0){f=0;do{e=c[b+144>>2]|0;if(!(a[e+(f*284|0)+84>>0]|0))h=0.0;else{h=+g[e+(f*284|0)+272>>2];h=i*(+g[e+(f*284|0)+216>>2]*(+g[e+(f*284|0)+204>>2]-+g[e+(f*284|0)+32>>2])*+g[e+(f*284|0)+268>>2]-h*+g[(h<0.0?e+(f*284|0)+220|0:e+(f*284|0)+224|0)>>2]);h=h<0.0?0.0:h}g[e+(f*284|0)+276>>2]=h;f=f+1|0;e=c[b+136>>2]|0}while((f|0)<(e|0));if((e|0)>0){e=0;do{p=c[b+144>>2]|0;k=+g[p+(e*284|0)+276>>2];m=+g[p+(e*284|0)+248>>2];k=k>m?m:k;m=k*+g[p+(e*284|0)+4>>2]*d;l=k*+g[p+(e*284|0)+8>>2]*d;g[r+16>>2]=+g[p+(e*284|0)>>2]*k*d;g[r+16+4>>2]=m;g[r+16+8>>2]=l;g[r+16+12>>2]=0.0;q=c[b+116>>2]|0;l=+g[p+(e*284|0)+20>>2]-+g[q+56>>2];m=+g[p+(e*284|0)+24>>2]-+g[q+60>>2];g[r>>2]=+g[p+(e*284|0)+16>>2]-+g[q+52>>2];g[r+4>>2]=l;g[r+8>>2]=m;g[r+12>>2]=0.0;Bk(q,r+16|0,r);e=e+1|0}while((e|0)<(c[b+136>>2]|0))}}}Qa[c[(c[b>>2]|0)+20>>2]&31](b,d);o=c[b+136>>2]|0;if((o|0)<=0){sa=r;return}p=c[b+144>>2]|0;q=c[b+116>>2]|0;n=0;do{h=+g[p+(n*284|0)+36>>2]-+g[q+52>>2];i=+g[p+(n*284|0)+40>>2]-+g[q+56>>2];j=+g[p+(n*284|0)+44>>2]-+g[q+60>>2];k=+g[q+332>>2];l=+g[q+336>>2];m=+g[q+328>>2];if(!(a[p+(n*284|0)+84>>0]|0)){e=p+(n*284|0)+240|0;j=+g[e>>2];s=p+(n*284|0)+236|0;f=s;h=j;i=+g[s>>2]}else{e=c[b+128>>2]|0;z=+g[q+4+(e<<2)>>2];w=+g[q+20+(e<<2)>>2];u=+g[q+36+(e<<2)>>2];y=+g[p+(n*284|0)>>2];v=+g[p+(n*284|0)+4>>2];t=+g[p+(n*284|0)+8>>2];j=((i*m-h*k+ +g[q+320>>2])*(u-t*(z*y+w*v+u*t))+((k*j-i*l+ +g[q+312>>2])*(z-y*(z*y+w*v+u*t))+(h*l-j*m+ +g[q+316>>2])*(w-v*(z*y+w*v+u*t))))*d/+g[p+(n*284|0)+212>>2];e=p+(n*284|0)+240|0;g[e>>2]=j;s=p+(n*284|0)+236|0;f=s;h=+g[s>>2];i=j}g[f>>2]=h+i;g[e>>2]=j*.9900000095367432;n=n+1|0}while((n|0)!=(o|0));sa=r;return}function Jd(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var h=0,i=0,k=0,l=0,m=0,n=0,o=0.0,p=0.0,q=0.0,r=0.0,s=0,t=0,u=0,v=0,w=0,x=0.0,y=0,z=0,A=0,B=0,C=0,D=0.0;C=sa;sa=sa+32|0;p=+g[d>>2];h=(g[j>>2]=p,c[j>>2]|0);s=p<999999984306749440.0?h:1566444395;o=+g[d+4>>2];k=(g[j>>2]=o,c[j>>2]|0);t=o<999999984306749440.0?k:1566444395;D=+g[d+8>>2];m=(g[j>>2]=D,c[j>>2]|0);v=D<999999984306749440.0?m:1566444395;q=+g[d+12>>2];x=q<0.0?q:0.0;h=p>-999999984306749440.0?h:-581039253;k=o>-999999984306749440.0?k:-581039253;m=D>-999999984306749440.0?m:-581039253;q=q>0.0?q:0.0;D=+g[d+16>>2];A=D<(c[j>>2]=s,+g[j>>2]);i=(g[j>>2]=D,c[j>>2]|0);s=A?i:s;o=+g[d+20>>2];A=o<(c[j>>2]=t,+g[j>>2]);l=(g[j>>2]=o,c[j>>2]|0);t=A?l:t;p=+g[d+24>>2];A=p<(c[j>>2]=v,+g[j>>2]);n=(g[j>>2]=p,c[j>>2]|0);v=A?n:v;r=+g[d+28>>2];x=r(c[j>>2]=h,+g[j>>2])?i:h;u=o>(c[j>>2]=k,+g[j>>2])?l:k;l=p>(c[j>>2]=m,+g[j>>2])?n:m;r=q>2];A=D<(c[j>>2]=s,+g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n=y*B*J*B*r+n*C*B*r;r=1.0-(C*B*C*B*r+y*B*y*B*r);B=+g[b+(c*284|0)+68>>2];y=+g[b+(c*284|0)+72>>2];C=+g[b+(c*284|0)+76>>2];g[b+(c*284|0)+92>>2]=C*(H*t+G*s+I*r)+(B*(I*q+(G*p+H*o))+y*(I*n+(H*k+G*h)));g[b+(c*284|0)+96>>2]=w*(H*t+G*s+I*r)+(v*(I*q+(G*p+H*o))+u*(I*n+(H*k+G*h)));g[b+(c*284|0)+100>>2]=(H*t+G*s+I*r)*-e+((I*q+(G*p+H*o))*-i+(I*n+(H*k+G*h))*-f);g[b+(c*284|0)+104>>2]=0.0;g[b+(c*284|0)+108>>2]=C*(E*t+s*D+F*r)+(B*(F*q+(p*D+E*o))+y*(F*n+(E*k+D*h)));g[b+(c*284|0)+112>>2]=w*(E*t+s*D+F*r)+(v*(F*q+(p*D+E*o))+u*(F*n+(E*k+D*h)));g[b+(c*284|0)+116>>2]=(E*t+s*D+F*r)*-e+((F*q+(p*D+E*o))*-i+(F*n+(E*k+D*h))*-f);g[b+(c*284|0)+120>>2]=0.0;g[b+(c*284|0)+124>>2]=C*(l*t+j*s+m*r)+(B*(q*m+(j*p+l*o))+y*(n*m+(l*k+j*h)));g[b+(c*284|0)+128>>2]=w*(l*t+j*s+m*r)+(v*(q*m+(j*p+l*o))+u*(n*m+(l*k+j*h)));g[b+(c*284|0)+132>>2]=(l*t+j*s+m*r)*-e+((q*m+(j*p+l*o))*-i+(n*m+(l*k+j*h))*-f);g[b+(c*284|0)+136>>2]=0.0;h=+g[b+(c*284|0)+32>>2];f=f*h+ +g[b+(c*284|0)+40>>2];e=e*h+ +g[b+(c*284|0)+44>>2];g[b+(c*284|0)+140>>2]=+g[b+(c*284|0)+36>>2]+i*h;g[b+(c*284|0)+144>>2]=f;g[b+(c*284|0)+148>>2]=e;g[b+(c*284|0)+152>>2]=0.0;return}function Md(b,d,e,f,h,i,k,l){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;k=k|0;l=l|0;var m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0,t=0.0,u=0.0,v=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0;c[b+4>>2]=4;c[b+8>>2]=-1;c[b+12>>2]=-1;g[b+16>>2]=3402823466385288598117041.0e14;a[b+20>>0]=1;a[b+21>>0]=0;c[b+24>>2]=-1;c[b+28>>2]=d;c[b+32>>2]=e;g[b+36>>2]=0.0;g[b+40>>2]=.30000001192092896;c[b+44>>2]=0;c[b>>2]=7516;g[b+688>>2]=0.0;g[b+692>>2]=-1.0;g[b+696>>2]=.8999999761581421;g[b+700>>2]=.30000001192092896;g[b+704>>2]=1.0;g[b+708>>2]=0.0;g[b+712>>2]=0.0;a[b+716>>0]=0;a[b+736>>0]=0;a[b+737>>0]=0;a[b+738>>0]=0;a[b+739>>0]=1;a[b+740>>0]=l&1;c[b+748>>2]=0;c[b+600>>2]=c[f>>2];c[b+600+4>>2]=c[f+4>>2];c[b+600+8>>2]=c[f+8>>2];c[b+600+12>>2]=c[f+12>>2];m=+g[d+4>>2];n=+g[d+20>>2];o=+g[d+36>>2];p=+g[i>>2];q=+g[i+4>>2];r=+g[i+8>>2];do if(!(m*p+n*q+o*r>=.9999998807907104))if(!(m*p+n*q+o*r<=-.9999998807907104)){e=(g[j>>2]=o*q-n*r,c[j>>2]|0);s=(g[j>>2]=m*r-o*p,c[j>>2]|0);f=(g[j>>2]=n*p-m*q,c[j>>2]|0);z=r*(m*r-o*p)-q*(n*p-m*q);A=p*(n*p-m*q)-r*(o*q-n*r);y=q*(o*q-n*r)-p*(m*r-o*p);break}else{e=c[d+8>>2]|0;f=c[d+40>>2]|0;s=c[d+24>>2]|0;z=+g[d+12>>2];A=+g[d+28>>2];y=+g[d+44>>2];break}else{e=c[d+8>>2]|0;f=c[d+40>>2]|0;s=c[d+24>>2]|0;z=-+g[d+12>>2];A=-+g[d+28>>2];y=-+g[d+44>>2]}while(0);g[b+552>>2]=z;c[b+556>>2]=e;c[b+560>>2]=c[i>>2];g[b+564>>2]=0.0;g[b+568>>2]=A;c[b+572>>2]=s;c[b+576>>2]=c[i+4>>2];g[b+580>>2]=0.0;g[b+584>>2]=y;c[b+588>>2]=f;c[b+592>>2]=c[i+8>>2];g[b+596>>2]=0.0;p=+g[i+4>>2];t=+g[k+8>>2];q=+g[i+8>>2];u=+g[k+4>>2];v=+g[k>>2];m=+g[i>>2];do if(t*q+(p*u+v*m)<-.9999998807907104)if(+w(+q)>.7071067690849304){n=1.0/+x(+(p*p+q*q));o=-(q*n);r=0.0;n=p*n;m=0.0;break}else{q=1.0/+x(+(p*p+m*m));o=m*q;r=0.0;n=0.0;m=-(p*q);break}else{B=+x(+((t*q+(p*u+v*m)+1.0)*2.0));o=(q*v-t*m)*(1.0/B);r=B*.5;n=(u*m-p*v)*(1.0/B);m=(p*t-q*u)*(1.0/B)}while(0);D=z*r+y*o-A*n;q=A*r+z*n-y*m;p=y*r+A*m-z*o;C=-(z*m)-A*o-y*n;z=-m;o=-o;y=-n;B=q*y+(r*D+C*z)-p*o;A=p*z+(r*q+C*o)-D*y;z=D*o+(C*y+r*p)-q*z;c[b+664>>2]=c[h>>2];c[b+664+4>>2]=c[h+4>>2];c[b+664+8>>2]=c[h+8>>2];c[b+664+12>>2]=c[h+12>>2];g[b+616>>2]=B;g[b+620>>2]=u*z-t*A;c[b+624>>2]=c[k>>2];g[b+628>>2]=0.0;g[b+632>>2]=A;g[b+636>>2]=t*B-v*z;c[b+640>>2]=c[k+4>>2];g[b+644>>2]=0.0;g[b+648>>2]=z;g[b+652>>2]=v*A-u*B;c[b+656>>2]=c[k+8>>2];g[b+660>>2]=0.0;g[b+732>>2]=l?-1.0:1.0;return}function Nd(b,d,e,f){b=b|0;d=d|0;e=e|0;f=+f;var h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0,I=0.0;n=sa;sa=sa+16|0;m=+g[d>>2];i=+g[d+4>>2];j=+g[d+8>>2];k=+g[e>>2];l=+g[e+4>>2];h=+g[e+8>>2];if(!(a[b+228>>0]|0)){y=+g[b+100>>2];v=+g[b+116>>2];B=+g[b+132>>2];x=+g[b+104>>2];t=+g[b+120>>2];A=+g[b+136>>2];w=+g[b+108>>2];r=+g[b+124>>2];z=+g[b+140>>2];E=-+g[b+148>>2];D=-+g[b+152>>2];C=-+g[b+156>>2];I=+g[b+164>>2];H=+g[b+168>>2];q=+g[b+172>>2];G=+g[b+180>>2];F=+g[b+184>>2];p=+g[b+188>>2];u=+g[b+196>>2];s=+g[b+200>>2];o=+g[b+204>>2];q=h*(B*I+A*H+z*q)+(k*(y*I+x*H+w*q)+l*(v*I+t*H+r*q))+(I*(y*E+v*D+B*C)+(x*E+t*D+A*C)*H+(w*E+r*D+z*C)*q+ +g[b+212>>2]);p=h*(B*G+A*F+z*p)+(k*(y*G+x*F+w*p)+l*(v*G+t*F+r*p))+((y*E+v*D+B*C)*G+(x*E+t*D+A*C)*F+(w*E+r*D+z*C)*p+ +g[b+216>>2]);o=(y*E+v*D+B*C)*u+(x*E+t*D+A*C)*s+(w*E+r*D+z*C)*o+ +g[b+220>>2]+(h*(B*u+A*s+z*o)+(k*(y*u+x*s+w*o)+l*(v*u+t*s+r*o)));g[n>>2]=q;g[n+4>>2]=p;g[n+8>>2]=o;m=m*(m*f+k-q)+i*(i*f+l-p)+j*(j*f+h-o);e=n+12|0;g[e>>2]=0.0;b=b+32|0;b=c[b>>2]|0;e=c[b>>2]|0;e=e+16|0;e=c[e>>2]|0;_a[e&15](b,d,n,m);sa=n;return}else{y=+g[b+36>>2];B=+g[b+52>>2];v=+g[b+68>>2];z=+g[b+40>>2];D=+g[b+56>>2];w=+g[b+72>>2];A=+g[b+44>>2];F=+g[b+60>>2];x=+g[b+76>>2];s=-+g[b+84>>2];t=-+g[b+88>>2];u=-+g[b+92>>2];o=+g[b+164>>2];p=+g[b+168>>2];G=+g[b+172>>2];q=+g[b+180>>2];r=+g[b+184>>2];H=+g[b+188>>2];C=+g[b+196>>2];E=+g[b+200>>2];I=+g[b+204>>2];G=(j*f+h)*(v*o+w*p+x*G)+((m*f+k)*(y*o+z*p+A*G)+(i*f+l)*(B*o+D*p+F*G))+(o*(y*s+B*t+v*u)+(z*s+D*t+w*u)*p+(A*s+F*t+x*u)*G+ +g[b+212>>2]);H=(j*f+h)*(v*q+w*r+x*H)+((m*f+k)*(y*q+z*r+A*H)+(i*f+l)*(B*q+D*r+F*H))+((y*s+B*t+v*u)*q+(z*s+D*t+w*u)*r+(A*s+F*t+x*u)*H+ +g[b+216>>2]);I=(y*s+B*t+v*u)*C+(z*s+D*t+w*u)*E+(A*s+F*t+x*u)*I+ +g[b+220>>2]+((j*f+h)*(v*C+w*E+x*I)+((m*f+k)*(y*C+z*E+A*I)+(i*f+l)*(B*C+D*E+F*I)));g[n>>2]=G+m*(m*(G-k)+i*(H-l)+j*(I-h));g[n+4>>2]=H+i*(m*(G-k)+i*(H-l)+j*(I-h));g[n+8>>2]=I+j*(m*(G-k)+i*(H-l)+j*(I-h));I=m*(G-k)+i*(H-l)+j*(I-h);e=n+12|0;g[e>>2]=0.0;b=b+32|0;b=c[b>>2]|0;e=c[b>>2]|0;e=e+16|0;e=c[e>>2]|0;_a[e&15](b,d,n,I);sa=n;return}}function Od(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;if(!((a|0)!=0&(b|0)!=0))return;c[7182]=(c[7182]|0)+1;e=xb(1043)|0;if(!e)f=0;else{c[(e+4+15&-16)+-4>>2]=e;f=e+4+15&-16}c[f>>2]=a;c[f+4>>2]=b;e=1;b=124;h=128;a=f;l=128;k=f;i=f;o=f;while(1){r=e+-1|0;p=c[a+(r<<3)>>2]|0;q=c[a+(r<<3)+4>>2]|0;if((r|0)>(b|0)){n=l<<1;do if((l|0)<(n|0)&(h|0)<(n|0)){if(l){c[7182]=(c[7182]|0)+1;b=xb((l<<4|3)+16|0)|0;if(!b)f=0;else{c[(b+4+15&-16)+-4>>2]=b;f=b+4+15&-16}if((l|0)>0){b=0;do{j=a+(b<<3)|0;k=c[j+4>>2]|0;m=f+(b<<3)|0;c[m>>2]=c[j>>2];c[m+4>>2]=k;b=b+1|0}while((b|0)!=(l|0));h=f;a=f}else{h=f;b=f;s=13}}else{h=0;b=0;s=13}if((s|0)==13){s=0;if(!a){j=n;a=b;f=h;i=h;b=h;break}else a=b}if(!o){j=n;f=h;i=h;b=h}else{c[7183]=(c[7183]|0)+1;Hc(c[o+-4>>2]|0);j=n;f=h;i=h;b=h}}else{j=h;f=k;b=o}while(0);m=n+-4|0;h=j;l=n;k=f;j=b}else{m=b;j=o}do if((p|0)==(q|0))if(!(c[p+40>>2]|0))e=r;else{q=c[p+36>>2]|0;c[a+(r<<3)>>2]=q;c[a+(r<<3)+4>>2]=q;q=c[p+40>>2]|0;r=e+1|0;c[a+(e<<3)>>2]=q;c[a+(e<<3)+4>>2]=q;q=c[p+40>>2]|0;c[a+(r<<3)>>2]=c[p+36>>2];c[a+(r<<3)+4>>2]=q;e=e+2|0}else if(((((+g[p>>2]<=+g[q+16>>2]?+g[p+16>>2]>=+g[q>>2]:0)?+g[p+4>>2]<=+g[q+20>>2]:0)?+g[p+20>>2]>=+g[q+4>>2]:0)?+g[p+8>>2]<=+g[q+24>>2]:0)?+g[p+24>>2]>=+g[q+8>>2]:0){b=(c[q+40>>2]|0)!=0;if(!(c[p+40>>2]|0))if(b){o=c[q+36>>2]|0;c[a+(r<<3)>>2]=p;c[a+(r<<3)+4>>2]=o;r=c[q+40>>2]|0;c[a+(e<<3)>>2]=p;c[a+(e<<3)+4>>2]=r;e=e+1|0;break}else{Za[c[(c[d>>2]|0)+8>>2]&127](d,p,q);e=r;break}else{f=c[p+36>>2]|0;if(b){n=c[q+36>>2]|0;c[a+(r<<3)>>2]=f;c[a+(r<<3)+4>>2]=n;n=c[q+36>>2]|0;o=e+1|0;c[a+(e<<3)>>2]=c[p+40>>2];c[a+(e<<3)+4>>2]=n;n=c[q+40>>2]|0;r=e+2|0;c[a+(o<<3)>>2]=c[p+36>>2];c[a+(o<<3)+4>>2]=n;q=c[q+40>>2]|0;c[a+(r<<3)>>2]=c[p+40>>2];c[a+(r<<3)+4>>2]=q;e=e+3|0;break}else{c[a+(r<<3)>>2]=f;c[a+(r<<3)+4>>2]=q;c[a+(e<<3)>>2]=c[p+40>>2];c[a+(e<<3)+4>>2]=q;e=e+1|0;break}}}else e=r;while(0);if(!e)break;else{b=m;o=j}}if((a|0)==0|(k|0)==0)return;c[7183]=(c[7183]|0)+1;Hc(c[k+-4>>2]|0);return}function Pd(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,h=0.0,i=0.0,j=0.0,k=0.0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0,I=0,J=0;J=sa;sa=sa+32|0;if(!a){sa=J;return}E=+g[d>>2]-+g[b>>2];D=+g[d+4>>2]-+g[b+4>>2];w=+g[d+8>>2]-+g[b+8>>2];y=1.0/+x(+(E*E+D*D+w*w));z=E*y==0.0?999999984306749440.0:1.0/(E*y);A=D*y==0.0?999999984306749440.0:1.0/(D*y);B=w*y==0.0?999999984306749440.0:1.0/(w*y);c[7182]=(c[7182]|0)+1;d=xb(531)|0;if(!d)d=0;else{c[(d+4+15&-16)+-4>>2]=d;d=d+4+15&-16}mk(d+4|0,0,508)|0;c[d>>2]=a;p=1;o=126;n=128;s=d;t=128;v=d;l=d;f=d;while(1){q=p+-1|0;d=s+(q<<2)|0;u=c[d>>2]|0;c[J>>2]=c[u>>2];c[J+4>>2]=c[u+4>>2];c[J+8>>2]=c[u+8>>2];c[J+12>>2]=c[u+12>>2];c[J+16>>2]=c[u+16>>2];c[J+16+4>>2]=c[u+16+4>>2];c[J+16+8>>2]=c[u+16+8>>2];c[J+16+12>>2]=c[u+16+12>>2];i=+g[b>>2];h=z*(+g[J+((z<0.0&1)<<4)>>2]-i);i=z*(+g[J+(((z<0.0^1)&1)<<4)>>2]-i);k=+g[b+4>>2];j=A*(+g[J+((A<0.0&1)<<4)+4>>2]-k);k=A*(+g[J+(((A<0.0^1)&1)<<4)+4>>2]-k);do if((!(j>i|h>k)?(F=j>h?j:h,C=k>2],G=B*(+g[J+((B<0.0&1)<<4)+8>>2]-H),H=B*(+g[J+(((B<0.0^1)&1)<<4)+8>>2]-H),!(G>C|F>H)):0)?((H0.0?(G>F?G:F)>2]|0)){Va[c[(c[e>>2]|0)+12>>2]&127](e,u);p=q;d=s;m=t;a=v;break}if((q|0)>(o|0)){r=t<<1;if((t|0)<(r|0)){do if((n|0)<(r|0)){if(t){c[7182]=(c[7182]|0)+1;d=xb((t<<3|3)+16|0)|0;if(!d)a=0;else{c[(d+4+15&-16)+-4>>2]=d;a=d+4+15&-16}if((t|0)>0){d=0;do{c[a+(d<<2)>>2]=c[s+(d<<2)>>2];d=d+1|0}while((d|0)!=(t|0));f=a;d=a}else{f=a;d=a;I=18}}else{f=0;d=0;I=18}if((I|0)==18){I=0;if(!s){n=r;l=f;m=f;a=f;break}}if(!v){n=r;l=f;m=f;a=f}else{c[7183]=(c[7183]|0)+1;Hc(c[v+-4>>2]|0);n=r;l=f;m=f;a=f}}else{d=s;m=f;a=v}while(0);mk(d+(t<<2)|0,0,t<<2|0)|0;o=d+(q<<2)|0;f=m}else{o=d;d=s;a=v}q=r+-2|0;m=r}else{q=o;o=d;d=s;m=t;a=v}c[o>>2]=c[u+36>>2];c[d+(p<<2)>>2]=c[u+40>>2];p=p+1|0;o=q}else{p=q;d=s;m=t;a=v}while(0);if(!p)break;s=d;t=m;v=a}if((d|0)==0|(l|0)==0){sa=J;return}c[7183]=(c[7183]|0)+1;Hc(c[l+-4>>2]|0);sa=J;return}function Qd(b){b=b|0;var d=0,e=0,f=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=sa;sa=sa+16|0;Ki(16410);k=c[b+204>>2]|0;Za[c[(c[k>>2]|0)+8>>2]&127](k,b,c[b+24>>2]|0);k=c[b+308>>2]|0;if((k|0)>0){l=c[b+316>>2]|0;j=0;do{e=c[l+(j<<2)>>2]|0;d=c[e+740>>2]|0;e=c[e+744>>2]|0;if((d|0?(e|0?(c[d+204>>2]&3|0)==0:0):0)?(c[e+204>>2]&3|0)==0:0){f=c[d+208>>2]|0;d=c[e+208>>2]|0;i=c[(c[b+204>>2]|0)+16>>2]|0;e=c[i+(f<<3)>>2]|0;if((e|0)!=(f|0)){c[i+(f<<3)>>2]=c[i+(e<<3)>>2];f=c[i+(e<<3)>>2]|0;e=c[i+(f<<3)>>2]|0;if((f|0)!=(e|0)){h=i+(f<<3)|0;do{f=i+(e<<3)|0;c[h>>2]=c[f>>2];f=c[f>>2]|0;h=i+(f<<3)|0;e=c[h>>2]|0}while((f|0)!=(e|0))}}e=c[i+(d<<3)>>2]|0;if((e|0)!=(d|0)){c[i+(d<<3)>>2]=c[i+(e<<3)>>2];d=c[i+(e<<3)>>2]|0;e=c[i+(d<<3)>>2]|0;if((d|0)!=(e|0)){h=i+(d<<3)|0;do{d=i+(e<<3)|0;c[h>>2]=c[d>>2];d=c[d>>2]|0;h=i+(d<<3)|0;e=c[h>>2]|0}while((d|0)!=(e|0))}}if((f|0)!=(d|0)){c[i+(f<<3)>>2]=d;h=i+(d<<3)+4|0;c[h>>2]=(c[h>>2]|0)+(c[i+(f<<3)+4>>2]|0)}}j=j+1|0}while((j|0)!=(k|0))}k=c[b+212>>2]|0;if((k|0)>0){l=c[b+220>>2]|0;j=0;do{d=c[l+(j<<2)>>2]|0;if((a[d+20>>0]|0?(m=c[d+28>>2]|0,(c[m+204>>2]&3|0)==0):0)?(n=c[d+32>>2]|0,(c[n+204>>2]&3|0)==0):0){e=c[m+208>>2]|0;d=c[n+208>>2]|0;i=c[(c[b+204>>2]|0)+16>>2]|0;f=c[i+(e<<3)>>2]|0;if((f|0)!=(e|0)){c[i+(e<<3)>>2]=c[i+(f<<3)>>2];e=c[i+(f<<3)>>2]|0;f=c[i+(e<<3)>>2]|0;if((e|0)!=(f|0)){h=i+(e<<3)|0;do{e=i+(f<<3)|0;c[h>>2]=c[e>>2];e=c[e>>2]|0;h=i+(e<<3)|0;f=c[h>>2]|0}while((e|0)!=(f|0))}}f=c[i+(d<<3)>>2]|0;if((f|0)!=(d|0)){c[i+(d<<3)>>2]=c[i+(f<<3)>>2];d=c[i+(f<<3)>>2]|0;f=c[i+(d<<3)>>2]|0;if((d|0)!=(f|0)){h=i+(d<<3)|0;do{d=i+(f<<3)|0;c[h>>2]=c[d>>2];d=c[d>>2]|0;h=i+(d<<3)|0;f=c[h>>2]|0}while((d|0)!=(f|0))}}if((e|0)!=(d|0)){c[i+(e<<3)>>2]=d;h=i+(d<<3)+4|0;c[h>>2]=(c[h>>2]|0)+(c[i+(e<<3)+4>>2]|0)}}j=j+1|0}while((j|0)!=(k|0))}d=c[b+204>>2]|0;Va[c[(c[d>>2]|0)+12>>2]&127](d,b);d=c[3084]|0;n=(c[d+16>>2]|0)+-1|0;c[d+16>>2]=n;if(n|0){sa=o;return}do if(c[d+4>>2]|0){la(o|0,0)|0;n=c[7181]|0;g[d+8>>2]=+g[d+8>>2]+ +(((c[o+4>>2]|0)-(c[n+4>>2]|0)+(((c[o>>2]|0)-(c[n>>2]|0)|0)*1e6|0)-(c[d+12>>2]|0)|0)>>>0)/1.0e3;if(!(c[d+16>>2]|0)){d=c[3084]|0;break}else{sa=o;return}}while(0);c[3084]=c[d+20>>2];sa=o;return}function Rd(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0,G=0.0,H=0.0,I=0.0;d=sa;sa=sa+96|0;k=+g[b>>2];l=+g[a+28>>2];m=+g[b+4>>2];n=+g[a+32>>2];o=+g[b+8>>2];p=+g[a+36>>2];q=+g[a+44>>2];r=+g[a+48>>2];s=+g[a+52>>2];t=+g[a+60>>2];u=+g[a+64>>2];v=+g[a+68>>2];w=+g[a+76>>2];y=+g[a+80>>2];z=+g[a+84>>2];g[d+80>>2]=k*l+m*n+o*p+w;g[d+80+4>>2]=k*q+m*r+o*s+y;g[d+80+8>>2]=k*t+m*u+o*v+z;g[d+80+12>>2]=0.0;A=+g[b+16>>2];B=+g[b+20>>2];C=+g[b+24>>2];g[d+64>>2]=w+(l*A+n*B+p*C);g[d+64+4>>2]=y+(q*A+r*B+s*C);g[d+64+8>>2]=z+(t*A+u*B+v*C);g[d+64+12>>2]=0.0;D=+g[b+32>>2];E=+g[b+36>>2];j=+g[b+40>>2];g[d+48>>2]=w+(l*D+n*E+p*j);g[d+48+4>>2]=y+(q*D+r*E+s*j);g[d+48+8>>2]=z+(t*D+u*E+v*j);g[d+48+12>>2]=0.0;f=(k*l+m*n+o*p+w+(w+(l*A+n*B+p*C))+(w+(l*D+n*E+p*j)))*.3333333432674408;h=(k*q+m*r+o*s+y+(y+(q*A+r*B+s*C))+(y+(q*D+r*E+s*j)))*.3333333432674408;i=(k*t+m*u+o*v+z+(z+(t*A+u*B+v*C))+(z+(t*D+u*E+v*j)))*.3333333432674408;g[d+32>>2]=f;g[d+32+4>>2]=h;g[d+32+8>>2]=i;g[d+32+12>>2]=0.0;b=c[a+8>>2]|0;if(!((Fa[c[(c[b>>2]|0)+48>>2]&127](b)|0)&16384)){e=c[a+8>>2]|0;F=c[e>>2]|0;F=F+8|0;F=c[F>>2]|0;b=a+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2]=0;c[t+120+28>>2]=0;g[t+48>>2]=n;g[t+52>>2]=p;g[t+56>>2]=r;g[t+60>>2]=0.0;c[t+32>>2]=c[e>>2];c[t+32+4>>2]=c[e+4>>2];c[t+32+8>>2]=c[e+8>>2];c[t+32+12>>2]=c[e+12>>2];if((s|0)!=(l|0)){u=b+24|0;d=b+28|0;e=b+16|0;h=b+20|0;u=c[u>>2]|0;d=c[d>>2]|0;e=c[e>>2]|0;h=c[h>>2]|0;y=t+96|0;c[y>>2]=h;y=t+100|0;c[y>>2]=e;y=t+104|0;c[y>>2]=d;y=t+108|0;c[y>>2]=u;y=b+12|0;x=(s|0)!=(l|0)?y:b+8|0;x=c[x>>2]|0;s=(s|0)!=(l|0)?b+8|0:y;s=c[s>>2]|0;l=b+32|0;l=c[l>>2]|0;b=c[l>>2]|0;b=b+12|0;b=c[b>>2]|0;+Ca[b&1](l,t,x,h,d,s,e,u);sa=t;return}else{y=b+28|0;e=b+24|0;x=b+20|0;d=b+16|0;y=c[y>>2]|0;e=c[e>>2]|0;x=c[x>>2]|0;d=c[d>>2]|0;u=t+96|0;c[u>>2]=d;u=t+100|0;c[u>>2]=x;u=t+104|0;c[u>>2]=e;u=t+108|0;c[u>>2]=y;u=b+12|0;h=(s|0)!=(l|0)?u:b+8|0;h=c[h>>2]|0;u=(s|0)!=(l|0)?b+8|0:u;u=c[u>>2]|0;s=b+32|0;s=c[s>>2]|0;l=c[s>>2]|0;l=l+12|0;l=c[l>>2]|0;+Ca[l&1](s,t,h,d,e,u,x,y);sa=t;return}}function Td(b,d,e,f,h,i){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;c[b+4>>2]=6;c[b+8>>2]=-1;c[b+12>>2]=-1;g[b+16>>2]=3402823466385288598117041.0e14;a[b+20>>0]=1;a[b+21>>0]=0;c[b+24>>2]=-1;c[b+28>>2]=d;c[b+32>>2]=e;g[b+36>>2]=0.0;g[b+40>>2]=.30000001192092896;c[b+44>>2]=0;c[b>>2]=7188;c[b+48>>2]=c[f>>2];c[b+48+4>>2]=c[f+4>>2];c[b+48+8>>2]=c[f+8>>2];c[b+48+12>>2]=c[f+12>>2];c[b+64>>2]=c[f+16>>2];c[b+64+4>>2]=c[f+16+4>>2];c[b+64+8>>2]=c[f+16+8>>2];c[b+64+12>>2]=c[f+16+12>>2];c[b+80>>2]=c[f+32>>2];c[b+80+4>>2]=c[f+32+4>>2];c[b+80+8>>2]=c[f+32+8>>2];c[b+80+12>>2]=c[f+32+12>>2];c[b+96>>2]=c[f+48>>2];c[b+96+4>>2]=c[f+48+4>>2];c[b+96+8>>2]=c[f+48+8>>2];c[b+96+12>>2]=c[f+48+12>>2];c[b+112>>2]=c[h>>2];c[b+112+4>>2]=c[h+4>>2];c[b+112+8>>2]=c[h+8>>2];c[b+112+12>>2]=c[h+12>>2];c[b+128>>2]=c[h+16>>2];c[b+128+4>>2]=c[h+16+4>>2];c[b+128+8>>2]=c[h+16+8>>2];c[b+128+12>>2]=c[h+16+12>>2];c[b+144>>2]=c[h+32>>2];c[b+144+4>>2]=c[h+32+4>>2];c[b+144+8>>2]=c[h+32+8>>2];c[b+144+12>>2]=c[h+32+12>>2];c[b+160>>2]=c[h+48>>2];c[b+160+4>>2]=c[h+48+4>>2];c[b+160+8>>2]=c[h+48+8>>2];c[b+160+12>>2]=c[h+48+12>>2];d=b+680|0;e=d+48|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(e|0));c[b+740>>2]=0;c[b+740+4>>2]=0;c[b+740+8>>2]=0;c[b+740+12>>2]=0;c[b+756>>2]=1045220557;c[b+760>>2]=1045220557;c[b+764>>2]=1045220557;c[b+768>>2]=0;c[b+768+4>>2]=0;c[b+768+8>>2]=0;c[b+768+12>>2]=0;c[b+768+16>>2]=0;g[b+728>>2]=.699999988079071;g[b+732>>2]=1.0;g[b+736>>2]=.5;a[b+788>>0]=0;a[b+788+1>>0]=0;a[b+788+2>>0]=0;c[b+792>>2]=0;c[b+792+4>>2]=0;c[b+792+8>>2]=0;c[b+808>>2]=0;c[b+808+4>>2]=0;c[b+808+8>>2]=0;g[b+928>>2]=0.0;g[b+876>>2]=0.0;g[b+880>>2]=.10000000149011612;g[b+884>>2]=300.0;g[b+868>>2]=1.0;g[b+872>>2]=-1.0;g[b+896>>2]=0.0;g[b+900>>2]=.20000000298023224;g[b+904>>2]=0.0;g[b+908>>2]=0.0;g[b+888>>2]=1.0;g[b+892>>2]=.5;c[b+924>>2]=0;g[b+916>>2]=0.0;a[b+912>>0]=0;g[b+992>>2]=0.0;g[b+940>>2]=0.0;g[b+944>>2]=.10000000149011612;g[b+948>>2]=300.0;g[b+932>>2]=1.0;g[b+936>>2]=-1.0;g[b+960>>2]=0.0;g[b+964>>2]=.20000000298023224;g[b+968>>2]=0.0;g[b+972>>2]=0.0;g[b+952>>2]=1.0;g[b+956>>2]=.5;c[b+988>>2]=0;g[b+980>>2]=0.0;a[b+976>>0]=0;g[b+1056>>2]=0.0;g[b+1004>>2]=0.0;g[b+1008>>2]=.10000000149011612;g[b+1012>>2]=300.0;g[b+996>>2]=1.0;g[b+1e3>>2]=-1.0;g[b+1024>>2]=0.0;g[b+1028>>2]=.20000000298023224;g[b+1032>>2]=0.0;g[b+1036>>2]=0.0;g[b+1016>>2]=1.0;g[b+1020>>2]=.5;c[b+1052>>2]=0;g[b+1044>>2]=0.0;a[b+1040>>0]=0;a[b+1300>>0]=i&1;a[b+1301>>0]=1;c[b+1304>>2]=0;a[b+1308>>0]=0;tc(b,(c[b+28>>2]|0)+4|0,(c[b+32>>2]|0)+4|0);return}function Ud(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0.0,h=0,i=0,j=0.0;a=sa;sa=sa+144|0;switch(c[b+388>>2]&15){case 1:{c[a+112>>2]=6124;h=c[d+8>>2]|0;h=(c[h+236>>2]&2|0)==0?0:h;i=c[d+12>>2]|0;j=+g[i+48>>2];e=+g[i+52>>2];f=+g[i+56>>2];f=+x(+((j-j)*(j-j)+(e-e)*(e-e)+(f-f)*(f-f)));i=c[b+192>>2]|0;e=+va[c[(c[i>>2]|0)+48>>2]&15](i);i=c[d+4>>2]|0;ab[c[(c[i>>2]|0)+8>>2]&127](i,c[d+12>>2]|0,a+96|0,a+64|0);c[a>>2]=c[a+96>>2];c[a+4>>2]=c[a+96+4>>2];c[a+8>>2]=c[a+96+8>>2];c[a+12>>2]=c[a+96+12>>2];c[a+16>>2]=c[a+64>>2];c[a+16+4>>2]=c[a+64+4>>2];c[a+16+8>>2]=c[a+64+8>>2];c[a+16+12>>2]=c[a+64+12>>2];c[a+32>>2]=c[a>>2];c[a+32+4>>2]=c[a+4>>2];c[a+32+8>>2]=c[a+8>>2];c[a+32+12>>2]=c[a+12>>2];c[a+32+16>>2]=c[a+16>>2];c[a+32+20>>2]=c[a+20>>2];c[a+32+24>>2]=c[a+24>>2];c[a+32+28>>2]=c[a+28>>2];g[a+32>>2]=+g[a+32>>2]-e;g[a+32+4>>2]=+g[a+32+4>>2]-e;g[a+32+8>>2]=+g[a+32+8>>2]-e;g[a+32+16>>2]=e+ +g[a+32+16>>2];g[a+32+20>>2]=e+ +g[a+32+20>>2];g[a+32+24>>2]=e+ +g[a+32+24>>2];c[a+112+4>>2]=b;c[a+112+8>>2]=d;c[a+112+12>>2]=h;g[a+112+16>>2]=e+f;g[a+112+20>>2]=e;le(c[b+928>>2]|0,a+32|0,a+112|0);sa=a;return}case 2:{g[a+4>>2]=1.0;c[a+8+4>>2]=0;c[a+8+4+4>>2]=0;c[a+8+4+8>>2]=0;c[a>>2]=6160;c[a+24>>2]=b;c[a+28>>2]=d;c[a+8>>2]=c[b+456>>2];i=c[d+4>>2]|0;j=+va[c[(c[i>>2]|0)+48>>2]&15](i);i=c[b+192>>2]|0;j=j+ +va[c[(c[i>>2]|0)+48>>2]&15](i);g[a+12>>2]=j;f=+g[(c[d+8>>2]|0)+224>>2];g[a+112>>2]=f;c[a+16>>2]=c[(+g[b+316>>2]>2];i=c[d+4>>2]|0;ab[c[(c[i>>2]|0)+8>>2]&127](i,c[d+12>>2]|0,a+112|0,a+96|0);c[a+32>>2]=c[a+112>>2];c[a+32+4>>2]=c[a+112+4>>2];c[a+32+8>>2]=c[a+112+8>>2];c[a+32+12>>2]=c[a+112+12>>2];c[a+32+16>>2]=c[a+96>>2];c[a+32+16+4>>2]=c[a+96+4>>2];c[a+32+16+8>>2]=c[a+96+8>>2];c[a+32+16+12>>2]=c[a+96+12>>2];c[a+64>>2]=c[a+32>>2];c[a+64+4>>2]=c[a+32+4>>2];c[a+64+8>>2]=c[a+32+8>>2];c[a+64+12>>2]=c[a+32+12>>2];c[a+64+16>>2]=c[a+32+16>>2];c[a+64+20>>2]=c[a+32+20>>2];c[a+64+24>>2]=c[a+32+24>>2];c[a+64+28>>2]=c[a+32+28>>2];g[a+64>>2]=+g[a+64>>2]-j;g[a+64+4>>2]=+g[a+64+4>>2]-j;g[a+64+8>>2]=+g[a+64+8>>2]-j;g[a+64+16>>2]=j+ +g[a+64+16>>2];g[a+64+20>>2]=j+ +g[a+64+20>>2];g[a+64+24>>2]=j+ +g[a+64+24>>2];le(c[b+1048>>2]|0,a+64|0,a);sa=a;return}default:{sa=a;return}}}function Vd(a,e,f){a=a|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;c[e+16>>2]=c[a+20>>2];c[e+20>>2]=c[a+24>>2];c[e+24>>2]=c[a+28>>2];c[e+28>>2]=c[a+32>>2];c[e>>2]=c[a+4>>2];c[e+4>>2]=c[a+8>>2];c[e+8>>2]=c[a+12>>2];c[e+12>>2]=c[a+16>>2];c[e+32>>2]=c[a+36>>2];c[e+36>>2]=c[a+40>>2];c[e+40>>2]=c[a+44>>2];c[e+44>>2]=c[a+48>>2];c[e+48>>2]=c[a+56>>2];c[e+52>>2]=d[a+60>>0];k=c[a+88>>2]|0;c[e+56>>2]=k;if(k){k=Ha[c[(c[f>>2]|0)+28>>2]&31](f,c[a+96>>2]|0)|0;c[e+64>>2]=k;if(k|0){j=c[a+88>>2]|0;k=Ja[c[(c[f>>2]|0)+16>>2]&63](f,48,j)|0;if((j|0)>0){g=c[a+96>>2]|0;h=c[k+8>>2]|0;i=0;while(1){c[h+16>>2]=c[g+(i<<6)+16>>2];c[h+20>>2]=c[g+(i<<6)+20>>2];c[h+24>>2]=c[g+(i<<6)+24>>2];c[h+28>>2]=c[g+(i<<6)+28>>2];c[h>>2]=c[g+(i<<6)>>2];c[h+4>>2]=c[g+(i<<6)+4>>2];c[h+8>>2]=c[g+(i<<6)+8>>2];c[h+12>>2]=c[g+(i<<6)+12>>2];c[h+32>>2]=c[g+(i<<6)+32>>2];c[h+36>>2]=c[g+(i<<6)+36>>2];c[h+40>>2]=c[g+(i<<6)+40>>2];i=i+1|0;if((i|0)==(j|0))break;else h=h+48|0}}else g=c[a+96>>2]|0;eb[c[(c[f>>2]|0)+20>>2]&31](f,k,22787,1497453121,g)}}else c[e+64>>2]=0;k=c[a+128>>2]|0;c[e+60>>2]=k;if(k){k=Ha[c[(c[f>>2]|0)+28>>2]&31](f,c[a+136>>2]|0)|0;c[e+68>>2]=k;if(k|0){j=c[a+128>>2]|0;k=Ja[c[(c[f>>2]|0)+16>>2]&63](f,16,j)|0;if((j|0)>0){g=c[a+136>>2]|0;h=c[k+8>>2]|0;i=0;while(1){c[h+12>>2]=c[g+(i<<4)+12>>2];b[h+6>>1]=b[g+(i<<4)+6>>1]|0;b[h+8>>1]=b[g+(i<<4)+8>>1]|0;b[h+10>>1]=b[g+(i<<4)+10>>1]|0;b[h>>1]=b[g+(i<<4)>>1]|0;b[h+2>>1]=b[g+(i<<4)+2>>1]|0;b[h+4>>1]=b[g+(i<<4)+4>>1]|0;i=i+1|0;if((i|0)==(j|0))break;else h=h+16|0}}else g=c[a+136>>2]|0;eb[c[(c[f>>2]|0)+20>>2]&31](f,k,22810,1497453121,g)}}else c[e+68>>2]=0;c[e+76>>2]=c[a+144>>2];k=c[a+152>>2]|0;c[e+80>>2]=k;if(!k){c[e+72>>2]=0;return 22854}k=Ha[c[(c[f>>2]|0)+28>>2]&31](f,c[a+160>>2]|0)|0;c[e+72>>2]=k;if(!k)return 22854;j=c[a+152>>2]|0;k=Ja[c[(c[f>>2]|0)+16>>2]&63](f,20,j)|0;if((j|0)>0){g=c[a+160>>2]|0;h=c[k+8>>2]|0;i=0;while(1){b[h+14>>1]=b[g+(i<<5)+6>>1]|0;b[h+16>>1]=b[g+(i<<5)+8>>1]|0;b[h+18>>1]=b[g+(i<<5)+10>>1]|0;b[h+8>>1]=b[g+(i<<5)>>1]|0;b[h+10>>1]=b[g+(i<<5)+2>>1]|0;b[h+12>>1]=b[g+(i<<5)+4>>1]|0;c[h>>2]=c[g+(i<<5)+12>>2];c[h+4>>2]=c[g+(i<<5)+16>>2];i=i+1|0;if((i|0)==(j|0))break;else h=h+20|0}}else g=c[a+160>>2]|0;eb[c[(c[f>>2]|0)+20>>2]&31](f,k,22833,1497453121,g);return 22854}function Wd(a,d,f,h,i){a=a|0;d=d|0;f=f|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0.0,o=0.0,p=0.0,q=0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;c[d+16>>2]=c[f>>2];c[d+16+4>>2]=c[f+4>>2];c[d+16+8>>2]=c[f+8>>2];c[d+16+12>>2]=c[f+12>>2];c[d+32>>2]=c[h>>2];c[d+32+4>>2]=c[h+4>>2];c[d+32+8>>2]=c[h+8>>2];c[d+32+12>>2]=c[h+12>>2];B=c[a+60>>2]|0;C=c[d+12>>2]&65535;r=+g[a+8>>2];t=+g[a+12>>2];v=+g[a+16>>2];s=+g[a+40>>2];n=(+g[f>>2]-r)*s;u=+g[a+44>>2];o=(+g[f+4>>2]-t)*u;w=+g[a+48>>2];p=(+g[f+8>>2]-v)*w;if(!(n<=0.0)){z=b[a+6>>1]|0;z=b[a+4>>1]&(!(n>=+(z&65535))?~~n&65535:z)}else z=0;if(!(o<=0.0)){A=b[a+6>>1]|0;A=b[a+4>>1]&(!(o>=+(A&65535))?~~o&65535:A)}else A=0;if(!(p<=0.0)){D=b[a+6>>1]|0;D=b[a+4>>1]&(!(p>=+(D&65535))?~~p&65535:D)}else D=0;p=(+g[h>>2]-r)*s;o=(+g[h+4>>2]-t)*u;n=(+g[h+8>>2]-v)*w;if(!(p<=0.0)){q=b[a+6>>1]|0;q=b[a+4>>1]&(!(p>=+(q&65535))?~~p&65535:q)|1}else q=1;if(!(o<=0.0)){x=b[a+6>>1]|0;x=b[a+4>>1]&(!(o>=+(x&65535))?~~o&65535:x)|1}else x=1;if(!(n<=0.0)){y=b[a+6>>1]|0;y=b[a+4>>1]&(!(n>=+(y&65535))?~~n&65535:y)|1}else y=1;j=b[B+(C<<6)+48>>1]|0;k=b[B+(C<<6)+54>>1]|0;E=c[a+68>>2]|0;l=(z&65535)-(e[E+((j&65535)<<2)>>1]|0)|0;m=(q&65535)-(e[E+((k&65535)<<2)>>1]|0)|0;b[E+((j&65535)<<2)>>1]=z;b[E+((k&65535)<<2)>>1]=q;if((l|0)<0)Ng(a,0,j);if((m|0)>0)Jg(a,0,k);if((l|0)>0)Kg(a,0,j,i);if((m|0)<0)Hg(a,0,k,i);j=b[B+(C<<6)+50>>1]|0;k=b[B+(C<<6)+56>>1]|0;E=c[a+72>>2]|0;l=(A&65535)-(e[E+((j&65535)<<2)>>1]|0)|0;m=(x&65535)-(e[E+((k&65535)<<2)>>1]|0)|0;b[E+((j&65535)<<2)>>1]=A;b[E+((k&65535)<<2)>>1]=x;if((l|0)<0)Ng(a,1,j);if((m|0)>0)Jg(a,1,k);if((l|0)>0)Kg(a,1,j,i);if((m|0)<0)Hg(a,1,k,i);m=b[B+(C<<6)+52>>1]|0;j=b[B+(C<<6)+58>>1]|0;E=c[a+76>>2]|0;k=(D&65535)-(e[E+((m&65535)<<2)>>1]|0)|0;l=(y&65535)-(e[E+((j&65535)<<2)>>1]|0)|0;b[E+((m&65535)<<2)>>1]=D;b[E+((j&65535)<<2)>>1]=y;if((k|0)<0)Ng(a,2,m);if((l|0)>0)Jg(a,2,j);if((k|0)>0)Kg(a,2,m,i);if((l|0)<0)Hg(a,2,j,i);j=c[a+108>>2]|0;if(!j)return;eb[c[(c[j>>2]|0)+16>>2]&31](j,c[d+60>>2]|0,f,h,i);return}function Xd(a,b,d,e,f,h,i,j){a=a|0;b=b|0;d=d|0;e=+e;f=+f;h=+h;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0.0,q=0.0,r=0.0,s=0.0,t=0,u=0.0,v=0.0,w=0,y=0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0,I=0.0,J=0.0,K=0.0,L=0.0,M=0.0,N=0.0,O=0.0,P=0.0,Q=0.0,R=0.0,S=0.0,T=0.0,U=0;U=sa;sa=sa+32|0;A=+g[d>>2];C=+g[d+4>>2];B=+g[d+8>>2];v=+g[i>>2];s=+g[i+4>>2];q=+g[i+8>>2];p=+g[j>>2];r=+g[j+4>>2];u=+g[j+8>>2];K=1.0/+x(+((e-A)*(e-A)+(f-C)*(f-C)+(h-B)*(h-B)));L=(e-A)*K==0.0?999999984306749440.0:1.0/((e-A)*K);M=(f-C)*K==0.0?999999984306749440.0:1.0/((f-C)*K);N=(h-B)*K==0.0?999999984306749440.0:1.0/((h-B)*K);O=(A>e?e:A)+v;P=(C>f?f:C)+s;Q=(B>h?h:B)+q;R=(A>2]|0;a:do if((l|0)>0){n=c[a+96>>2]|0;k=0;y=0;w=l;while(1){k=k+1|0;c[U>>2]=c[n>>2];c[U+4>>2]=c[n+4>>2];c[U+8>>2]=c[n+8>>2];c[U+12>>2]=c[n+12>>2];t=n+16|0;c[U+16>>2]=c[t>>2];c[U+16+4>>2]=c[t+4>>2];c[U+16+8>>2]=c[t+8>>2];c[U+16+12>>2]=c[t+12>>2];g[U>>2]=+g[U>>2]-p;g[U+4>>2]=+g[U+4>>2]-r;g[U+8>>2]=+g[U+8>>2]-u;g[U+16>>2]=+g[U+16>>2]-v;g[U+20>>2]=+g[U+20>>2]-s;g[U+24>>2]=+g[U+24>>2]-q;if(!(O>+g[t>>2])?!(R<+g[n>>2]):0)l=1;else l=0;if(!(!(Q>+g[n+24>>2])?!(T<+g[n+8>>2]):0))l=0;if(((!(P>+g[n+20>>2])?!(S<+g[n+4>>2]|l^1):0)?(E=+g[d>>2],D=L*(+g[U+((L<0.0&1)<<4)>>2]-E),E=L*(+g[U+(((L<0.0^1)&1)<<4)>>2]-E),G=+g[d+4>>2],F=M*(+g[U+((M<0.0&1)<<4)+4>>2]-G),G=M*(+g[U+(((M<0.0^1)&1)<<4)+4>>2]-G),!(F>E|D>G)):0)?(H=F>D?F:D,z=G>2],I=N*(+g[U+((N<0.0&1)<<4)+8>>2]-J),J=N*(+g[U+(((N<0.0^1)&1)<<4)+8>>2]-J),!(I>z|H>J)):0){l=(J0.0?(I>H?I:H)<(h-B)*(h-B)*K+((e-A)*(e-A)*K+(f-C)*(f-C)*K):0;m=c[n+32>>2]|0;if(l&(m|0)==-1){Za[c[(c[b>>2]|0)+8>>2]&127](b,c[n+36>>2]|0,c[n+40>>2]|0);l=c[a+56>>2]|0;t=17}else{o=(m|0)==-1;t=16}}else{m=c[n+32>>2]|0;l=0;o=(m|0)==-1;t=16}if((t|0)==16){t=0;if(o|l){l=w;t=17}else{n=n+(m<<6)|0;m=m+y|0;l=w}}if((t|0)==17){n=n+64|0;m=y+1|0}if((m|0)>=(l|0))break a;y=m;w=l;p=+g[j>>2];r=+g[j+4>>2];u=+g[j+8>>2];v=+g[i>>2];s=+g[i+4>>2];q=+g[i+8>>2]}}else k=0;while(0);if((c[7162]|0)>=(k|0)){sa=U;return}c[7162]=k;sa=U;return}function Yd(a){a=a|0;var b=0,d=0,e=0,f=0,h=0,i=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0,p=0.0,q=0.0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0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*(c[j>>2]=z,+g[j>>2])+m-m;g[d+16>>2]=l+p-p;g[d+16+4>>2]=q+n-n;g[d+16+8>>2]=m;g[d+16+12>>2]=0.0;m=+g[a+316>>2];n=m*(c[j>>2]=y,+g[j>>2]);q=+g[a+320>>2];n=n+q*(c[j>>2]=x,+g[j>>2]);p=+g[a+324>>2];n=n+p*(c[j>>2]=w,+g[j>>2]);l=m*(c[j>>2]=v,+g[j>>2]);l=l+q*(c[j>>2]=u,+g[j>>2]);l=l+p*(c[j>>2]=t,+g[j>>2]);m=m*(c[j>>2]=s,+g[j>>2]);q=m+q*(c[j>>2]=r,+g[j>>2]);m=+g[f+52>>2];k=+g[f+56>>2];i=+g[f+60>>2];i=q+p*(c[j>>2]=o,+g[j>>2])+i-i;g[d>>2]=n+m-m;g[d+4>>2]=l+k-k;g[d+8>>2]=i;g[d+12>>2]=0.0;fg(a+48+(b*84|0)|0,d+80|0,d+32|0,d+16|0,d,d+128|0,h+396|0,+g[h+344>>2],f+396|0,+g[f+344>>2]);g[e>>2]=0.0;b=b+1|0}while((b|0)!=3);sa=d;return}function Zd(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0.0,h=0,i=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0;D=+g[a+452>>2];v=+g[a+304>>2];s=+g[a+300>>2];if(v>0.0|s>0.0)h=(c[a+288>>2]|0)<4;else h=0;E=c[a+720>>2]|0;z=+g[E+(d*104|0)+88>>2];if(!(z>0.0))return;o=c[c[a+684>>2]>>2]|0;if(!h)return;A=+g[E+(d*104|0)+40>>2];m=A-+g[b>>2];B=+g[E+(d*104|0)+44>>2];n=B-+g[b+4>>2];C=+g[E+(d*104|0)+48>>2];k=C-+g[b+8>>2];l=+x(+(m*m+n*n+k*k));if(!(m*m+n*n+k*k>1.1920928955078125e-07))return;u=m*(1.0/l);w=n*(1.0/l);y=k*(1.0/l);q=+g[E+(d*104|0)+72>>2];r=+g[E+(d*104|0)+76>>2];t=+g[E+(d*104|0)+80>>2];switch(c[a+288>>2]|0){case 2:{p=m*q+n*r+k*t<0.0?-1.0:1.0;f=y*t*p+(u*q*p+w*r*p);i=+g[E+(d*104|0)+92>>2]*.5;e=(c[j>>2]=o,+g[j>>2]);n=f*s*.5*e*(m*m+n*n+k*k)*i;if(f>0.0&f<.9847999811172485){k=+x(+(1.0-f*f))*v*.5*e*l*i;l=(y*(u*t*p-y*q*p)-w*(w*q*p-u*r*p))*k;m=(u*(w*q*p-u*r*p)-y*(y*r*p-w*t*p))*k;k=(w*(y*r*p-w*t*p)-u*(u*t*p-y*q*p))*k}else{l=0.0;m=0.0;k=0.0}e=D*z*-(y*n)*D*z*-(y*n)+(D*z*-(u*n)*D*z*-(u*n)+D*z*-(w*n)*D*z*-(w*n));if(e>0.0?e>=A*A+B*B+C*C:0){e=+x(+(A*A+B*B+C*C))/+x(+e)*.800000011920929;i=e*-(u*n);f=e*-(y*n);e=e*-(w*n)}else{i=-(u*n);f=-(y*n);e=-(w*n)}C=e+ +g[E+(d*104|0)+60>>2];D=f+ +g[E+(d*104|0)+64>>2];g[E+(d*104|0)+56>>2]=l+(i+ +g[E+(d*104|0)+56>>2]);g[E+(d*104|0)+60>>2]=m+C;g[E+(d*104|0)+64>>2]=k+D;return}case 1:case 3:case 0:{e=m*q+n*r+k*t<0.0?-1.0:1.0;if(!(k*t*e+(m*q*e+n*r*e)>0.0))return;p=-((m*m+n*n+k*k)*(k*t*e+(m*q*e+n*r*e))*+g[E+(d*104|0)+92>>2]*.5*(c[j>>2]=o,+g[j>>2]));i=u*s*p+(q*e*v*p+0.0);f=w*s*p+(r*e*v*p+0.0);e=y*s*p+(t*e*v*p+0.0);if(D*z*e*D*z*e+(D*z*i*D*z*i+D*z*f*D*z*f)>A*A+B*B+C*C){y=1.0/+x(+(e*e+(i*i+f*f)));g[E+(d*104|0)+56>>2]=+g[E+(d*104|0)+56>>2]-1.0/(D*z)*i*y*(C*e*y+(A*i*y+B*f*y));g[E+(d*104|0)+60>>2]=+g[E+(d*104|0)+60>>2]-1.0/(D*z)*f*y*(C*e*y+(A*i*y+B*f*y));g[E+(d*104|0)+64>>2]=+g[E+(d*104|0)+64>>2]-1.0/(D*z)*e*y*(C*e*y+(A*i*y+B*f*y));return}else{g[E+(d*104|0)+56>>2]=i+ +g[E+(d*104|0)+56>>2];g[E+(d*104|0)+60>>2]=f+ +g[E+(d*104|0)+60>>2];g[E+(d*104|0)+64>>2]=e+ +g[E+(d*104|0)+64>>2];return}}default:return}}function _d(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,h=0,i=0.0,j=0.0,k=0.0,l=0,m=0,n=0,o=0.0,p=0,q=0.0,r=0.0,s=0.0,t=0.0,u=0,v=0.0,w=0.0,y=0.0,B=0.0,C=0.0,D=0.0,E=0,F=0,G=0,H=0.0;a:while(1){F=c[e+12>>2]|0;if((b|0)>0){k=+g[d>>2];i=+g[d+4>>2];j=+g[d+8>>2];f=-1;h=0;do{do if(c[F+(h<<2)>>2]|0){if((f|0)!=-1?!(k*+g[a+(h<<4)>>2]+i*+g[a+(h<<4)+4>>2]+j*+g[a+(h<<4)+8>>2]>k*+g[a+(f<<4)>>2]+i*+g[a+(f<<4)+4>>2]+j*+g[a+(f<<4)+8>>2]):0)break;f=h}while(0);h=h+1|0}while((h|0)!=(b|0))}else f=-1;E=F+(f<<2)|0;if((c[E>>2]|0)==3){G=40;break}B=+g[d+4>>2];C=+g[d+8>>2];D=+g[d>>2];i=+x(+((B-C*0.0)*(B-C*0.0)+(C*0.0-D)*(C*0.0-D)+(D*0.0-B*0.0)*(D*0.0-B*0.0)));j=+x(+((D-B*0.0)*(D-B*0.0)+((B*0.0-C)*(B*0.0-C)+(C*0.0-D*0.0)*(C*0.0-D*0.0))));if(i>j){w=(B-C*0.0)*(1.0/i);y=(D*0.0-B*0.0)*(1.0/i);q=(C*0.0-D)*(1.0/i)}else{w=(B*0.0-C)*(1.0/j);y=(D-B*0.0)*(1.0/j);q=(C*0.0-D*0.0)*(1.0/j)}r=C*q-B*y;s=D*y-C*w;t=B*w-D*q;u=(f|0)==-1;p=0;h=-1;while(1){v=+(p|0);o=+A(+(v*.01745329238474369));k=+z(+(v*.01745329238474369));i=D+(w*o+r*k)*.02500000037252903;j=B+(q*o+s*k)*.02500000037252903;k=C+(y*o+t*k)*.02500000037252903;if((b|0)>0){l=-1;m=0;do{do if(c[F+(m<<2)>>2]|0){if((l|0)!=-1?!(i*+g[a+(m<<4)>>2]+j*+g[a+(m<<4)+4>>2]+k*+g[a+(m<<4)+8>>2]>i*+g[a+(l<<4)>>2]+j*+g[a+(l<<4)+4>>2]+k*+g[a+(l<<4)+8>>2]):0)break;l=m}while(0);m=m+1|0}while((m|0)!=(b|0))}else l=-1;if((h|0)==(f|0)&(l|0)==(f|0))break a;b:do if(!((h|0)==-1|(h|0)==(l|0))?v+-40.0<=v:0){if((b|0)<=0){i=v+-40.0;while(1){if((h|0)==(f|0)&u){f=-1;break a}i=i+5.0;if(!(i<=v))break b;else h=-1}}o=v+-40.0;while(1){k=o*.01745329238474369;H=+A(+k);k=+z(+k);i=D+(w*H+r*k)*.02500000037252903;j=B+(q*H+s*k)*.02500000037252903;k=C+(y*H+t*k)*.02500000037252903;m=-1;n=0;do{do if(c[F+(n<<2)>>2]|0){if((m|0)!=-1?!(i*+g[a+(n<<4)>>2]+j*+g[a+(n<<4)+4>>2]+k*+g[a+(n<<4)+8>>2]>i*+g[a+(m<<4)>>2]+j*+g[a+(m<<4)+4>>2]+k*+g[a+(m<<4)+8>>2]):0)break;m=n}while(0);n=n+1|0}while((n|0)!=(b|0));if((h|0)==(f|0)&(m|0)==(f|0))break a;o=o+5.0;if(!(o<=v))break;else h=m}}while(0);p=p+45|0;if(p>>>0>360)break;else h=l}c[E>>2]=0}if((G|0)==40)return f|0;c[E>>2]=3;G=f;return G|0}function $d(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0,i=0,j=0,k=0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0;if(!(c[a+204>>2]&2)){c[a+68>>2]=c[b>>2];c[a+68+4>>2]=c[b+4>>2];c[a+68+8>>2]=c[b+8>>2];c[a+68+12>>2]=c[b+12>>2];c[a+84>>2]=c[b+16>>2];c[a+84+4>>2]=c[b+16+4>>2];c[a+84+8>>2]=c[b+16+8>>2];c[a+84+12>>2]=c[b+16+12>>2];c[a+100>>2]=c[b+32>>2];c[a+100+4>>2]=c[b+32+4>>2];c[a+100+8>>2]=c[b+32+8>>2];c[a+100+12>>2]=c[b+32+12>>2];c[a+116>>2]=c[b+48>>2];c[a+116+4>>2]=c[b+48+4>>2];c[a+116+8>>2]=c[b+48+8>>2];c[a+116+12>>2]=c[b+48+12>>2];d=a+20|0;e=b+16|0;f=a+36|0;h=b+32|0;i=a+52|0;j=b+48|0;k=a+4|0}else{c[a+68>>2]=c[a+4>>2];c[a+68+4>>2]=c[a+4+4>>2];c[a+68+8>>2]=c[a+4+8>>2];c[a+68+12>>2]=c[a+4+12>>2];c[a+84>>2]=c[a+20>>2];c[a+84+4>>2]=c[a+20+4>>2];c[a+84+8>>2]=c[a+20+8>>2];c[a+84+12>>2]=c[a+20+12>>2];c[a+100>>2]=c[a+36>>2];c[a+100+4>>2]=c[a+36+4>>2];c[a+100+8>>2]=c[a+36+8>>2];c[a+100+12>>2]=c[a+36+12>>2];c[a+116>>2]=c[a+52>>2];c[a+116+4>>2]=c[a+52+4>>2];c[a+116+8>>2]=c[a+52+8>>2];c[a+116+12>>2]=c[a+52+12>>2];d=a+20|0;e=b+16|0;f=a+36|0;h=b+32|0;i=a+52|0;j=b+48|0;k=a+4|0}c[a+132>>2]=c[a+312>>2];c[a+132+4>>2]=c[a+312+4>>2];c[a+132+8>>2]=c[a+312+8>>2];c[a+132+12>>2]=c[a+312+12>>2];c[a+148>>2]=c[a+328>>2];c[a+148+4>>2]=c[a+328+4>>2];c[a+148+8>>2]=c[a+328+8>>2];c[a+148+12>>2]=c[a+328+12>>2];c[k>>2]=c[b>>2];c[k+4>>2]=c[b+4>>2];c[k+8>>2]=c[b+8>>2];c[k+12>>2]=c[b+12>>2];c[d>>2]=c[e>>2];c[d+4>>2]=c[e+4>>2];c[d+8>>2]=c[e+8>>2];c[d+12>>2]=c[e+12>>2];c[f>>2]=c[h>>2];c[f+4>>2]=c[h+4>>2];c[f+8>>2]=c[h+8>>2];c[f+12>>2]=c[h+12>>2];c[i>>2]=c[j>>2];c[i+4>>2]=c[j+4>>2];c[i+8>>2]=c[j+8>>2];c[i+12>>2]=c[j+12>>2];w=+g[a+4>>2];q=+g[a+396>>2];v=+g[a+8>>2];o=+g[a+400>>2];u=+g[a+12>>2];m=+g[a+404>>2];t=+g[a+20>>2];s=+g[a+24>>2];r=+g[a+28>>2];p=+g[a+36>>2];n=+g[a+40>>2];l=+g[a+44>>2];g[a+264>>2]=w*w*q+v*v*o+u*u*m;g[a+268>>2]=w*q*t+v*o*s+u*m*r;g[a+272>>2]=w*q*p+v*o*n+u*m*l;g[a+276>>2]=0.0;g[a+280>>2]=w*q*t+v*o*s+u*m*r;g[a+284>>2]=t*q*t+s*o*s+r*m*r;g[a+288>>2]=q*t*p+o*s*n+m*r*l;g[a+292>>2]=0.0;g[a+296>>2]=w*q*p+v*o*n+u*m*l;g[a+300>>2]=t*q*p+s*o*n+r*m*l;g[a+304>>2]=p*q*p+n*o*n+l*m*l;g[a+308>>2]=0.0;return}function ae(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,h=0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0;h=sa;sa=sa+160|0;e=c[a+4>>2]|0;f=c[e+12>>2]|0;C=+g[f>>2];B=+g[f+4>>2];A=+g[f+8>>2];z=+g[f+16>>2];y=+g[f+20>>2];x=+g[f+24>>2];q=+g[f+32>>2];o=+g[f+36>>2];m=+g[f+40>>2];e=c[(c[e+4>>2]|0)+24>>2]|0;w=+g[e+(d*80|0)>>2];v=+g[e+(d*80|0)+16>>2];u=+g[e+(d*80|0)+32>>2];t=+g[e+(d*80|0)+4>>2];s=+g[e+(d*80|0)+20>>2];r=+g[e+(d*80|0)+36>>2];p=+g[e+(d*80|0)+8>>2];n=+g[e+(d*80|0)+24>>2];l=+g[e+(d*80|0)+40>>2];E=+g[e+(d*80|0)+48>>2];D=+g[e+(d*80|0)+52>>2];i=+g[e+(d*80|0)+56>>2];k=+g[f+48>>2]+(C*E+B*D+A*i);j=+g[f+52>>2]+(z*E+y*D+x*i);i=+g[f+56>>2]+(q*E+o*D+m*i);g[h+88>>2]=C*w+B*v+A*u;g[h+88+4>>2]=C*t+B*s+A*r;g[h+88+8>>2]=C*p+B*n+A*l;g[h+88+12>>2]=0.0;g[h+88+16>>2]=z*w+y*v+x*u;g[h+88+20>>2]=z*t+y*s+x*r;g[h+88+24>>2]=z*p+y*n+x*l;g[h+88+28>>2]=0.0;g[h+88+32>>2]=q*w+o*v+m*u;g[h+88+36>>2]=q*t+o*s+m*r;g[h+88+40>>2]=q*p+o*n+m*l;g[h+88+44>>2]=0.0;g[h+88+48>>2]=k;g[h+88+52>>2]=j;g[h+88+56>>2]=i;g[h+88+60>>2]=0.0;ab[c[(c[b>>2]|0)+8>>2]&127](b,h+88|0,h+72|0,h+56|0);f=c[a+8>>2]|0;e=c[f+4>>2]|0;ab[c[(c[e>>2]|0)+8>>2]&127](e,c[f+12>>2]|0,h+40|0,h+24|0);if(!(+g[h+72>>2]>+g[h+24>>2])?!(+g[h+56>>2]<+g[h+40>>2]):0)e=1;else e=0;if(!(!(+g[h+72+8>>2]>+g[h+24+8>>2])?!(+g[h+56+8>>2]<+g[h+40+8>>2]):0))e=0;if(+g[h+72+4>>2]>+g[h+24+4>>2]){sa=h;return}if(+g[h+56+4>>2]<+g[h+40+4>>2]|e^1){sa=h;return}e=c[a+4>>2]|0;f=c[e+8>>2]|0;c[h>>2]=e;c[h+4>>2]=b;c[h+8>>2]=f;c[h+12>>2]=h+88;c[h+16>>2]=-1;c[h+20>>2]=d;if(!(c[(c[a+24>>2]|0)+(d<<2)>>2]|0)){b=c[a+12>>2]|0;b=Ka[c[(c[b>>2]|0)+8>>2]&31](b,h,c[a+8>>2]|0,c[a+28>>2]|0)|0;c[(c[a+24>>2]|0)+(d<<2)>>2]=b;b=(c[a+4>>2]|0)+8|0}else b=e+8|0;f=c[a+20>>2]|0;e=c[f+8>>2]|0;if((c[e+8>>2]|0)==(c[b>>2]|0)){c[f+8>>2]=h;Za[c[(c[f>>2]|0)+8>>2]&127](f,-1,d)}else{e=c[f+12>>2]|0;c[f+12>>2]=h;Za[c[(c[f>>2]|0)+12>>2]&127](f,-1,d)}d=c[(c[a+24>>2]|0)+(d<<2)>>2]|0;eb[c[(c[d>>2]|0)+8>>2]&31](d,h,c[a+8>>2]|0,c[a+16>>2]|0,c[a+20>>2]|0);d=c[a+20>>2]|0;c[((c[(c[d+8>>2]|0)+8>>2]|0)==(c[(c[a+4>>2]|0)+8>>2]|0)?d+8|0:d+12|0)>>2]=e;sa=h;return}function be(){if(a[26744]|0)return;if(!(mz(26744)|0))return;c[6388]=0;c[6389]=-2147483648;c[6390]=-1082130432;g[6391]=0.0;c[6392]=1060716128;c[6393]=-1090087446;c[6394]=-1092290076;g[6395]=0.0;c[6396]=-1098022214;c[6397]=-1084636126;c[6398]=-1092290076;g[6399]=0.0;c[6400]=-1083901670;c[6401]=-2147483648;c[6402]=-1092290177;g[6403]=0.0;c[6404]=-1098022214;c[6405]=1062847522;c[6406]=-1092290043;g[6407]=0.0;c[6408]=1060716128;c[6409]=1057396202;c[6410]=-1092290076;g[6411]=0.0;c[6412]=1049461434;c[6413]=-1084636126;c[6414]=1055193605;g[6415]=0.0;c[6416]=-1086767520;c[6417]=-1090087446;c[6418]=1055193572;g[6419]=0.0;c[6420]=-1086767520;c[6421]=1057396202;c[6422]=1055193572;g[6423]=0.0;c[6424]=1049461434;c[6425]=1062847522;c[6426]=1055193572;g[6427]=0.0;c[6428]=1063581978;c[6429]=0;c[6430]=1055193471;g[6431]=0.0;c[6432]=-2147483648;c[6433]=0;c[6434]=1065353216;g[6435]=0.0;c[6436]=1054458864;c[6437]=-1096927567;c[6438]=-1084636042;g[6439]=0.0;c[6440]=-1104782626;c[6441]=-1090519208;c[6442]=-1084636042;g[6443]=0.0;c[6444]=1049007812;c[6445]=-1085334679;c[6446]=-1090087228;g[6447]=0.0;c[6448]=1054458864;c[6449]=1050556081;c[6450]=-1084636042;g[6451]=0.0;c[6452]=1062847505;c[6453]=-2147483648;c[6454]=-1090087262;g[6455]=0.0;c[6456]=-1090087362;c[6457]=-2147483648;c[6458]=-1084636076;g[6459]=0.0;c[6460]=-1087361736;c[6461]=-1090519141;c[6462]=-1090087262;g[6463]=0.0;c[6464]=-1104782626;c[6465]=1056964440;c[6466]=-1084636042;g[6467]=0.0;c[6468]=-1087361736;c[6469]=1056964507;c[6470]=-1090087262;g[6471]=0.0;c[6472]=1049007812;c[6473]=1062148969;c[6474]=-1090087228;g[6475]=0.0;c[6476]=1064532105;c[6477]=1050556148;c[6478]=0;g[6479]=0.0;c[6480]=1064532105;c[6481]=-1096927500;c[6482]=0;g[6483]=0.0;c[6484]=1058437413;c[6485]=-1085334595;c[6486]=0;g[6487]=0.0;c[6488]=0;c[6489]=-1082130432;c[6490]=0;g[6491]=0.0;c[6492]=-1089046235;c[6493]=-1085334595;c[6494]=0;g[6495]=0.0;c[6496]=-1082951543;c[6497]=-1096927500;c[6498]=-2147483648;g[6499]=0.0;c[6500]=-1082951543;c[6501]=1050556148;c[6502]=-2147483648;g[6503]=0.0;c[6504]=-1089046235;c[6505]=1062149053;c[6506]=-2147483648;g[6507]=0.0;c[6508]=-2147483648;c[6509]=1065353216;c[6510]=-2147483648;g[6511]=0.0;c[6512]=1058437413;c[6513]=1062149053;c[6514]=-2147483648;g[6515]=0.0;c[6516]=1060121912;c[6517]=-1090519141;c[6518]=1057396386;g[6519]=0.0;c[6520]=-1098475836;c[6521]=-1085334679;c[6522]=1057396420;g[6523]=0.0;c[6524]=-1084636143;c[6525]=0;c[6526]=1057396386;g[6527]=0.0;c[6528]=-1098475836;c[6529]=1062148969;c[6530]=1057396420;g[6531]=0.0;c[6532]=1060121912;c[6533]=1056964507;c[6534]=1057396386;g[6535]=0.0;c[6536]=1057396286;c[6537]=0;c[6538]=1062847572;g[6539]=0.0;c[6540]=1042701022;c[6541]=-1090519208;c[6542]=1062847606;g[6543]=0.0;c[6544]=-1093024784;c[6545]=-1096927567;c[6546]=1062847606;g[6547]=0.0;c[6548]=-1093024784;c[6549]=1050556081;c[6550]=1062847606;g[6551]=0.0;c[6552]=1042701022;c[6553]=1056964440;c[6554]=1062847606;g[6555]=0.0;return}function ce(){if(a[26728]|0)return;if(!(mz(26728)|0))return;c[6116]=0;c[6117]=-2147483648;c[6118]=-1082130432;g[6119]=0.0;c[6120]=1060716128;c[6121]=-1090087446;c[6122]=-1092290076;g[6123]=0.0;c[6124]=-1098022214;c[6125]=-1084636126;c[6126]=-1092290076;g[6127]=0.0;c[6128]=-1083901670;c[6129]=-2147483648;c[6130]=-1092290177;g[6131]=0.0;c[6132]=-1098022214;c[6133]=1062847522;c[6134]=-1092290043;g[6135]=0.0;c[6136]=1060716128;c[6137]=1057396202;c[6138]=-1092290076;g[6139]=0.0;c[6140]=1049461434;c[6141]=-1084636126;c[6142]=1055193605;g[6143]=0.0;c[6144]=-1086767520;c[6145]=-1090087446;c[6146]=1055193572;g[6147]=0.0;c[6148]=-1086767520;c[6149]=1057396202;c[6150]=1055193572;g[6151]=0.0;c[6152]=1049461434;c[6153]=1062847522;c[6154]=1055193572;g[6155]=0.0;c[6156]=1063581978;c[6157]=0;c[6158]=1055193471;g[6159]=0.0;c[6160]=-2147483648;c[6161]=0;c[6162]=1065353216;g[6163]=0.0;c[6164]=1054458864;c[6165]=-1096927567;c[6166]=-1084636042;g[6167]=0.0;c[6168]=-1104782626;c[6169]=-1090519208;c[6170]=-1084636042;g[6171]=0.0;c[6172]=1049007812;c[6173]=-1085334679;c[6174]=-1090087228;g[6175]=0.0;c[6176]=1054458864;c[6177]=1050556081;c[6178]=-1084636042;g[6179]=0.0;c[6180]=1062847505;c[6181]=-2147483648;c[6182]=-1090087262;g[6183]=0.0;c[6184]=-1090087362;c[6185]=-2147483648;c[6186]=-1084636076;g[6187]=0.0;c[6188]=-1087361736;c[6189]=-1090519141;c[6190]=-1090087262;g[6191]=0.0;c[6192]=-1104782626;c[6193]=1056964440;c[6194]=-1084636042;g[6195]=0.0;c[6196]=-1087361736;c[6197]=1056964507;c[6198]=-1090087262;g[6199]=0.0;c[6200]=1049007812;c[6201]=1062148969;c[6202]=-1090087228;g[6203]=0.0;c[6204]=1064532105;c[6205]=1050556148;c[6206]=0;g[6207]=0.0;c[6208]=1064532105;c[6209]=-1096927500;c[6210]=0;g[6211]=0.0;c[6212]=1058437413;c[6213]=-1085334595;c[6214]=0;g[6215]=0.0;c[6216]=0;c[6217]=-1082130432;c[6218]=0;g[6219]=0.0;c[6220]=-1089046235;c[6221]=-1085334595;c[6222]=0;g[6223]=0.0;c[6224]=-1082951543;c[6225]=-1096927500;c[6226]=-2147483648;g[6227]=0.0;c[6228]=-1082951543;c[6229]=1050556148;c[6230]=-2147483648;g[6231]=0.0;c[6232]=-1089046235;c[6233]=1062149053;c[6234]=-2147483648;g[6235]=0.0;c[6236]=-2147483648;c[6237]=1065353216;c[6238]=-2147483648;g[6239]=0.0;c[6240]=1058437413;c[6241]=1062149053;c[6242]=-2147483648;g[6243]=0.0;c[6244]=1060121912;c[6245]=-1090519141;c[6246]=1057396386;g[6247]=0.0;c[6248]=-1098475836;c[6249]=-1085334679;c[6250]=1057396420;g[6251]=0.0;c[6252]=-1084636143;c[6253]=0;c[6254]=1057396386;g[6255]=0.0;c[6256]=-1098475836;c[6257]=1062148969;c[6258]=1057396420;g[6259]=0.0;c[6260]=1060121912;c[6261]=1056964507;c[6262]=1057396386;g[6263]=0.0;c[6264]=1057396286;c[6265]=0;c[6266]=1062847572;g[6267]=0.0;c[6268]=1042701022;c[6269]=-1090519208;c[6270]=1062847606;g[6271]=0.0;c[6272]=-1093024784;c[6273]=-1096927567;c[6274]=1062847606;g[6275]=0.0;c[6276]=-1093024784;c[6277]=1050556081;c[6278]=1062847606;g[6279]=0.0;c[6280]=1042701022;c[6281]=1056964440;c[6282]=1062847606;g[6283]=0.0;return}function de(b,d,e,f,h){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;var i=0,j=0.0,k=0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0;k=c[b+9288>>2]|0;if(!k){c[b>>2]=5;k=0;return k|0}i=c[k+48>>2]|0;if(i|0)c[i+44>>2]=c[k+44>>2];i=c[k+44>>2]|0;if(i|0)c[i+48>>2]=c[k+48>>2];if((c[b+9288>>2]|0)==(k|0))c[b+9288>>2]=c[k+48>>2];c[b+9292>>2]=(c[b+9292>>2]|0)+-1;c[k+44>>2]=0;c[k+48>>2]=c[b+9280>>2];i=c[b+9280>>2]|0;if(i|0)c[i+44>>2]=k;c[b+9280>>2]=k;c[b+9284>>2]=(c[b+9284>>2]|0)+1;a[k+55>>0]=0;c[k+20>>2]=d;c[k+24>>2]=e;c[k+28>>2]=f;j=+g[d+16>>2];n=+g[e+16>>2]-j;m=+g[d+20>>2];l=+g[e+20>>2]-m;o=+g[d+24>>2];p=+g[e+24>>2]-o;j=+g[f+16>>2]-j;m=+g[f+20>>2]-m;o=+g[f+24>>2]-o;g[k>>2]=l*o-p*m;g[k+4>>2]=p*j-n*o;g[k+8>>2]=n*m-l*j;g[k+12>>2]=0.0;j=+x(+((l*o-p*m)*(l*o-p*m)+(p*j-n*o)*(p*j-n*o)+(n*m-l*j)*(n*m-l*j)));if(!(j>9.999999747378752e-05)){c[b>>2]=2;i=c[k+48>>2]|0;if(i|0)c[i+44>>2]=c[k+44>>2];i=c[k+44>>2]|0;if(i|0)c[i+48>>2]=c[k+48>>2];if((c[b+9280>>2]|0)==(k|0))c[b+9280>>2]=c[k+48>>2];c[b+9284>>2]=(c[b+9284>>2]|0)+-1;c[k+44>>2]=0;c[k+48>>2]=c[b+9288>>2];i=c[b+9288>>2]|0;if(i|0)c[i+44>>2]=k;c[b+9288>>2]=k;c[b+9292>>2]=(c[b+9292>>2]|0)+1;k=0;return k|0}if((!(nk(+g[k>>2],+g[k+4>>2],+g[k+8>>2],+g[d+16>>2],+g[d+20>>2],+g[d+24>>2],+g[e+16>>2],+g[e+20>>2],+g[e+24>>2],k+16|0)|0)?!(nk(+g[k>>2],+g[k+4>>2],+g[k+8>>2],+g[e+16>>2],+g[e+20>>2],+g[e+24>>2],+g[f+16>>2],+g[f+20>>2],+g[f+24>>2],k+16|0)|0):0)?!(nk(+g[k>>2],+g[k+4>>2],+g[k+8>>2],+g[f+16>>2],+g[f+20>>2],+g[f+24>>2],+g[d+16>>2],+g[d+20>>2],+g[d+24>>2],k+16|0)|0):0)g[k+16>>2]=(+g[d+16>>2]*+g[k>>2]+ +g[d+20>>2]*+g[k+4>>2]+ +g[d+24>>2]*+g[k+8>>2])/j;g[k>>2]=1.0/j*+g[k>>2];g[k+4>>2]=1.0/j*+g[k+4>>2];g[k+8>>2]=1.0/j*+g[k+8>>2];if(h)return k|0;if(+g[k+16>>2]>=-9.999999747378752e-06)return k|0;c[b>>2]=3;i=c[k+48>>2]|0;if(i|0)c[i+44>>2]=c[k+44>>2];i=c[k+44>>2]|0;if(i|0)c[i+48>>2]=c[k+48>>2];if((c[b+9280>>2]|0)==(k|0))c[b+9280>>2]=c[k+48>>2];c[b+9284>>2]=(c[b+9284>>2]|0)+-1;c[k+44>>2]=0;c[k+48>>2]=c[b+9288>>2];i=c[b+9288>>2]|0;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[a+444>>2];if(e>=.05000000074505806?(q=+g[a+448>>2],q>=.05000000074505806):0){d=m<-1.0?-1.0:m;d=+C(+(d>1.0?1.0:d))*2.0;if(d>1.1920928955078125e-07){i=1.0/+x(+(p*p+(o*o+n*n)));if(+w(+(n*i))>1.1920928955078125e-07){k=o*i;j=n*i;l=p*i;e=+x(+((p*i*p*i/(n*i*n*i)+1.0)/(p*i*p*i/(n*i*n*i)/(e*e)+1.0/(q*q))))}else{k=o*i;j=n*i;l=p*i}}else{k=0.0;j=0.0;l=0.0;e=0.0}if(+w(+d)>1.1920928955078125e-07){if(!(d>e)){e=-e;if(d>2];if(k>=.05000000074505806){d=r<-1.0?-1.0:r;d=+C(+(d>1.0?1.0:d))*2.0;if(d>3.1415927410125732){d=-r<-1.0?-1.0:-r;d=+C(+(d>1.0?1.0:d))*2.0;e=-h;i=-s;j=-f}else{e=h;i=s;j=f}if(d>1.1920928955078125e-07){q=1.0/+x(+(e*e+i*i+j*j));e=e*q;i=i*q;j=j*q}if(+w(+d)>1.1920928955078125e-07){if(!(d>k)){if(d<-k)d=-k}else d=k;s=d*.5;d=+A(+s)/+x(+(j*j+(i*i+e*e)));h=e*d;f=j*d;e=+z(+s);d=i*d}else{e=r;d=s}}else{e=r;d=s}g[a+556>>2]=n*f+(m*h+o*e)-l*d;g[a+560>>2]=l*h+(m*d+n*e)-o*f;g[a+564>>2]=o*d+(m*f+l*e)-n*h;g[a+568>>2]=m*e-o*h-n*d-l*f;return}function fe(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0,i=0,j=0.0,k=0.0,l=0.0,m=0,n=0.0,o=0;o=c[a+192>>2]|0;n=+va[c[(c[o>>2]|0)+48>>2]&15](o);o=c[a+712>>2]|0;if((o|0)>0){i=0;do{m=c[a+720>>2]|0;d=m+(i*104|0)+8|0;j=+g[b>>2]*+g[d>>2];g[d>>2]=j;d=m+(i*104|0)+12|0;k=+g[b+4>>2]*+g[d>>2];g[d>>2]=k;d=m+(i*104|0)+16|0;l=+g[b+8>>2]*+g[d>>2];g[d>>2]=l;d=m+(i*104|0)+24|0;g[d>>2]=+g[b>>2]*+g[d>>2];d=m+(i*104|0)+28|0;g[d>>2]=+g[b+4>>2]*+g[d>>2];d=m+(i*104|0)+32|0;g[d>>2]=+g[b+8>>2]*+g[d>>2];m=c[m+(i*104|0)+96>>2]|0;d=sg(a+928|0,m)|0;a:do if(d){h=c[a+936>>2]|0;if((h|0)<=-1){d=c[a+928>>2]|0;break}if(h){e=0;while(1){f=c[d+32>>2]|0;e=e+1|0;if(!f)break a;if((e|0)>=(h|0)){d=f;break}else d=f}}}else d=0;while(0);g[m>>2]=j-n;g[m+4>>2]=k-n;g[m+8>>2]=l-n;g[m+12>>2]=0.0;g[m+16>>2]=n+j;g[m+20>>2]=n+k;g[m+24>>2]=n+l;g[m+28>>2]=0.0;ue(a+928|0,d,m);i=i+1|0}while((i|0)!=(o|0))}Nf(a);d=c[a+928>>2]|0;if(d){o=c[a+192>>2]|0;k=+va[c[(c[o>>2]|0)+48>>2]&15](o);n=+g[d+4>>2]-k;l=+g[d+8>>2]-k;g[a+892>>2]=+g[d>>2]-k;g[a+896>>2]=n;g[a+900>>2]=l;g[a+904>>2]=0.0;l=k+ +g[d+20>>2];n=k+ +g[d+24>>2];g[a+908>>2]=k+ +g[d+16>>2];g[a+912>>2]=l;g[a+916>>2]=n;g[a+920>>2]=0.0;d=c[a+188>>2]|0;if(d|0){o=c[a+684>>2]|0;m=c[o+32>>2]|0;eb[c[(c[m>>2]|0)+16>>2]&31](m,d,a+892|0,a+908|0,c[o+36>>2]|0)}}else{c[a+892>>2]=0;c[a+892+4>>2]=0;c[a+892+8>>2]=0;c[a+892+12>>2]=0;c[a+892+16>>2]=0;c[a+892+20>>2]=0;c[a+892+24>>2]=0;c[a+892+28>>2]=0}e=c[a+732>>2]|0;if((e|0)<=0){cf(a);return}f=c[a+740>>2]|0;d=0;do{m=c[f+(d*52|0)+8>>2]|0;o=c[f+(d*52|0)+12>>2]|0;k=+g[m+8>>2]-+g[o+8>>2];l=+g[m+12>>2]-+g[o+12>>2];n=+g[m+16>>2]-+g[o+16>>2];n=+x(+(k*k+l*l+n*n));g[f+(d*52|0)+16>>2]=n;g[f+(d*52|0)+28>>2]=n*n;d=d+1|0}while((d|0)!=(e|0));d=0;do{g[f+(d*52|0)+24>>2]=(+g[(c[f+(d*52|0)+8>>2]|0)+88>>2]+ +g[(c[f+(d*52|0)+12>>2]|0)+88>>2])/+g[(c[f+(d*52|0)+4>>2]|0)+4>>2];d=d+1|0}while((d|0)!=(e|0));cf(a);return}function ge(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;if(!b)if(!e){if(f|0){c[f>>2]=(a>>>0)%(d>>>0);c[f+4>>2]=0}e=0;f=(a>>>0)/(d>>>0)>>>0;return (P(e|0),f)|0}else{if(!f){e=0;f=0;return (P(e|0),f)|0}c[f>>2]=a|0;c[f+4>>2]=b&0;e=0;f=0;return (P(e|0),f)|0}do if(d){if(e|0){h=(M(e|0)|0)-(M(b|0)|0)|0;if(h>>>0<=31){n=h+1|0;i=a>>>((h+1|0)>>>0)&h-31>>31|b<<31-h;m=b>>>((h+1|0)>>>0)&h-31>>31;g=0;h=a<<31-h;break}if(!f){e=0;f=0;return (P(e|0),f)|0}c[f>>2]=a|0;c[f+4>>2]=b|b&0;e=0;f=0;return (P(e|0),f)|0}if(d-1&d|0){h=(M(d|0)|0)+33-(M(b|0)|0)|0;n=h;i=32-h-1>>31&b>>>((h-32|0)>>>0)|(b<<32-h|a>>>(h>>>0))&h-32>>31;m=h-32>>31&b>>>(h>>>0);g=a<<64-h&32-h>>31;h=(b<<64-h|a>>>((h-32|0)>>>0))&32-h>>31|a<<32-h&h-33>>31;break}if(f|0){c[f>>2]=d-1&a;c[f+4>>2]=0}if((d|0)==1){e=b|b&0;f=a|0|0;return (P(e|0),f)|0}else{f=eF(d|0)|0;e=b>>>(f>>>0)|0;f=b<<32-f|a>>>(f>>>0)|0;return (P(e|0),f)|0}}else{if(!e){if(f|0){c[f>>2]=(b>>>0)%(d>>>0);c[f+4>>2]=0}e=0;f=(b>>>0)/(d>>>0)>>>0;return (P(e|0),f)|0}if(!a){if(f|0){c[f>>2]=0;c[f+4>>2]=(b>>>0)%(e>>>0)}d=0;f=(b>>>0)/(e>>>0)>>>0;return (P(d|0),f)|0}if(!(e-1&e)){if(f|0){c[f>>2]=a|0;c[f+4>>2]=e-1&b|b&0}d=0;f=b>>>((eF(e|0)|0)>>>0);return (P(d|0),f)|0}h=(M(e|0)|0)-(M(b|0)|0)|0;if(h>>>0<=30){n=h+1|0;i=b<<31-h|a>>>((h+1|0)>>>0);m=b>>>((h+1|0)>>>0);g=0;h=a<<31-h;break}if(!f){e=0;f=0;return (P(e|0),f)|0}c[f>>2]=a|0;c[f+4>>2]=b|b&0;e=0;f=0;return (P(e|0),f)|0}while(0);if(!n){j=h;b=m;a=0;h=0}else{k=xv(d|0|0,e|e&0|0,-1,-1)|0;l=Q()|0;j=h;b=m;a=n;h=0;do{p=j;j=g>>>31|j<<1;g=h|g<<1;p=i<<1|p>>>31|0;o=i>>>31|b<<1|0;lv(k|0,l|0,p|0,o|0)|0;n=Q()|0;m=n>>31|((n|0)<0?-1:0)<<1;h=m&1;i=lv(p|0,o|0,m&(d|0)|0,(((n|0)<0?-1:0)>>31|((n|0)<0?-1:0)<<1)&(e|e&0)|0)|0;b=Q()|0;a=a-1|0}while((a|0)!=0);a=0}if(f|0){c[f>>2]=i;c[f+4>>2]=b}o=(g|0)>>>31|j<<1|(0<<1|g>>>31)&0|a;p=(g<<1|0>>>31)&-2|h;return (P(o|0),p)|0}function he(a,b,d,e,f,h){a=a|0;b=+b;d=+d;e=e|0;f=f|0;h=h|0;var i=0,j=0.0,k=0.0,l=0.0,m=0,n=0,o=0,p=0,q=0,r=0.0;o=sa;sa=sa+352|0;m=IH(f)|0;j=+g[m>>2];k=+g[m+4>>2];l=+g[m+8>>2];g[o+328>>2]=0.0;g[o+324>>2]=0.0;g[o+320>>2]=0.0;ns(o+336|0,o+328|0,o+324|0,o+320|0);g[(JI(o+336|0)|0)+(e<<2)>>2]=d;g[o+296>>2]=0.0;g[o+292>>2]=0.0;g[o+288>>2]=0.0;ns(o+304|0,o+296|0,o+292|0,o+288|0);m=JI(o+304|0)|0;g[m+(e<<2)>>2]=-d;g[o+264>>2]=0.0;g[o+260>>2]=0.0;g[o+256>>2]=0.0;ns(o+272|0,o+264|0,o+260|0,o+256|0);n=JI(o+272|0)|0;g[n+(e<<2)>>2]=d;i=0;while(1){if(i>>>0>=360)break;d=+(i|0)*.01745329238474369;r=+yI(d)*b;g[m+(((e+1|0)%3|0)<<2)>>2]=r;g[n+(((e+1|0)%3|0)<<2)>>2]=r;d=+zI(d)*b;g[m+(((e+2|0)%3|0)<<2)>>2]=d;g[n+(((e+2|0)%3|0)<<2)>>2]=d;p=c[(c[a>>2]|0)+8>>2]|0;q=JI(f)|0;vl(o+224|0,q,+g[o+304>>2],+g[o+304+4>>2],+g[o+304+8>>2]);qp(o+240|0,j,k,l,+g[o+224>>2],+g[o+224+4>>2],+g[o+224+8>>2]);vl(o+192|0,q,+g[o+272>>2],+g[o+272+4>>2],+g[o+272+8>>2]);qp(o+208|0,j,k,l,+g[o+192>>2],+g[o+192+4>>2],+g[o+192+8>>2]);ab[p&127](a,o+240|0,o+208|0,h);i=i+30|0}g[o+168>>2]=0.0;g[o+164>>2]=0.0;g[o+160>>2]=0.0;ns(o+176|0,o+168|0,o+164|0,o+160|0);g[(JI(o+176|0)|0)+(e<<2)>>2]=1.0;g[o+136>>2]=0.0;g[o+132>>2]=0.0;g[o+128>>2]=0.0;ns(o+144|0,o+136|0,o+132|0,o+128|0);g[(JI(o+144|0)|0)+(((e+1|0)%3|0)<<2)>>2]=1.0;q=c[(c[a>>2]|0)+60>>2]|0;p=JI(f)|0;vl(o+96|0,p,+g[o+336>>2],+g[o+336+4>>2],+g[o+336+8>>2]);sp(o+112|0,j,k,l,+g[o+96>>2],+g[o+96+4>>2],+g[o+96+8>>2]);vl(o+80|0,p,+g[o+176>>2],+g[o+176+4>>2],+g[o+176+8>>2]);vl(o+64|0,p,+g[o+144>>2],+g[o+144+4>>2],+g[o+144+8>>2]);db[q&1](a,o+112|0,o+80|0,o+64|0,b,b,0.0,6.2831854820251465,h,0,10.0);q=c[(c[a>>2]|0)+60>>2]|0;vl(o+32|0,p,+g[o+336>>2],+g[o+336+4>>2],+g[o+336+8>>2]);qp(o+48|0,j,k,l,+g[o+32>>2],+g[o+32+4>>2],+g[o+32+8>>2]);vl(o+16|0,p,+g[o+176>>2],+g[o+176+4>>2],+g[o+176+8>>2]);vl(o,p,+g[o+144>>2],+g[o+144+4>>2],+g[o+144+8>>2]);db[q&1](a,o+48|0,o+16|0,o,b,b,0.0,6.2831854820251465,h,0,10.0);sa=o;return}function ie(a,b,d,e,f,h){a=a|0;b=+b;d=+d;e=e|0;f=f|0;h=h|0;var i=0,j=0.0,k=0.0,l=0,m=0,n=0,o=0,p=0,q=0.0,r=0.0;n=sa;sa=sa+400|0;g[n+376>>2]=0.0;g[n+372>>2]=0.0;g[n+368>>2]=0.0;ns(n+384|0,n+376|0,n+372|0,n+368|0);l=JI(n+384|0)|0;g[l+(e<<2)>>2]=-d;g[n+344>>2]=0.0;g[n+340>>2]=0.0;g[n+336>>2]=0.0;ns(n+352|0,n+344|0,n+340|0,n+336|0);m=JI(n+352|0)|0;g[m+(e<<2)>>2]=d;Dq(n+272|0,f);Qv(n+256|0,f,+g[n+384>>2],+g[n+384+4>>2],+g[n+384+8>>2]);i=IH(n+272|0)|0;c[i>>2]=c[n+256>>2];c[i+4>>2]=c[n+256+4>>2];c[i+8>>2]=c[n+256+8>>2];c[i+12>>2]=c[n+256+12>>2];c[n+240>>2]=c[n+256>>2];c[n+240+4>>2]=c[n+256+4>>2];c[n+240+8>>2]=c[n+256+8>>2];c[n+240+12>>2]=c[n+256+12>>2];i=JI(n+272|0)|0;sr(n+224|0,i,(e+1|0)%3|0);sr(n+192|0,i,e);Lq(n+208|0,+g[n+192>>2],+g[n+192+4>>2],+g[n+192+8>>2]);cb[c[(c[a>>2]|0)+64>>2]&1](a,n+240|0,n+224|0,n+208|0,b,-1.5707963705062866,1.5707963705062866,-1.5707963705062866,1.5707963705062866,h,30.0,0);Dq(n+128|0,f);Qv(n+112|0,f,+g[n+352>>2],+g[n+352+4>>2],+g[n+352+8>>2]);i=IH(n+128|0)|0;c[i>>2]=c[n+112>>2];c[i+4>>2]=c[n+112+4>>2];c[i+8>>2]=c[n+112+8>>2];c[i+12>>2]=c[n+112+12>>2];c[n+96>>2]=c[n+112>>2];c[n+96+4>>2]=c[n+112+4>>2];c[n+96+8>>2]=c[n+112+8>>2];c[n+96+12>>2]=c[n+112+12>>2];i=JI(n+128|0)|0;sr(n+80|0,i,(e+1|0)%3|0);sr(n+64|0,i,e);cb[c[(c[a>>2]|0)+64>>2]&1](a,n+96|0,n+80|0,n+64|0,b,-1.5707963705062866,1.5707963705062866,-1.5707963705062866,1.5707963705062866,h,30.0,0);i=IH(f)|0;d=+g[i>>2];j=+g[i+4>>2];k=+g[i+8>>2];i=0;while(1){if(i>>>0>=360)break;q=+(i|0)*.01745329238474369;r=+yI(q)*b;g[l+(((e+1|0)%3|0)<<2)>>2]=r;g[m+(((e+1|0)%3|0)<<2)>>2]=r;q=+zI(q)*b;g[l+(((e+2|0)%3|0)<<2)>>2]=q;g[m+(((e+2|0)%3|0)<<2)>>2]=q;o=c[(c[a>>2]|0)+8>>2]|0;p=JI(f)|0;vl(n+32|0,p,+g[n+384>>2],+g[n+384+4>>2],+g[n+384+8>>2]);qp(n+48|0,d,j,k,+g[n+32>>2],+g[n+32+4>>2],+g[n+32+8>>2]);vl(n,p,+g[n+352>>2],+g[n+352+4>>2],+g[n+352+8>>2]);qp(n+16|0,d,j,k,+g[n>>2],+g[n+4>>2],+g[n+8>>2]);ab[o&127](a,n+48|0,n+16|0,h);i=i+30|0}sa=n;return}function je(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,h=0,i=0,j=0,k=0,l=0,m=0;h=c[d+8>>2]|0;if((h|0)>0){i=c[d+16>>2]|0;f=0;e=0;do{j=c[i+(f<<2)>>2]|0;if(!(c[j+204>>2]&3)){c[j+208>>2]=e;e=e+1|0}c[j+212>>2]=-1;g[j+244>>2]=1.0;f=f+1|0}while((f|0)!=(h|0));j=e}else j=0;i=c[b+8>>2]|0;if((i|0)<(j|0)){if((c[b+12>>2]|0)<(j|0)){if(!j){e=0;h=i}else{c[7182]=(c[7182]|0)+1;e=xb((j<<3|3)+16|0)|0;if(!e)e=0;else{c[(e+4+15&-16)+-4>>2]=e;e=e+4+15&-16}h=c[b+8>>2]|0}if((h|0)>0){f=0;do{m=(c[b+16>>2]|0)+(f<<3)|0;k=c[m+4>>2]|0;l=e+(f<<3)|0;c[l>>2]=c[m>>2];c[l+4>>2]=k;f=f+1|0}while((f|0)!=(h|0))}f=c[b+16>>2]|0;if(f|0){if(a[b+20>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[f+-4>>2]|0)}c[b+16>>2]=0}a[b+20>>0]=1;c[b+16>>2]=e;c[b+12>>2]=j;f=b+16|0}else f=b+16|0;e=i;do{m=(c[f>>2]|0)+(e<<3)|0;c[m>>2]=0;c[m+4>>2]=0;e=e+1|0}while((e|0)!=(j|0))}c[b+8>>2]=j;if((j|0)>0){f=c[b+16>>2]|0;e=0;do{c[f+(e<<3)>>2]=e;c[f+(e<<3)+4>>2]=1;e=e+1|0}while((e|0)!=(j|0))}e=c[d+68>>2]|0;e=Fa[c[(c[e>>2]|0)+36>>2]&127](e)|0;l=Fa[c[(c[e>>2]|0)+36>>2]&127](e)|0;if(!l)return;k=Fa[c[(c[e>>2]|0)+20>>2]&127](e)|0;if((l|0)<=0)return;d=0;do{e=c[c[k+(d<<4)>>2]>>2]|0;f=c[c[k+(d<<4)+4>>2]>>2]|0;if((e|0?(f|0?(c[e+204>>2]&7|0)==0:0):0)?(c[f+204>>2]&7|0)==0:0){h=c[e+208>>2]|0;e=c[f+208>>2]|0;j=c[b+16>>2]|0;f=c[j+(h<<3)>>2]|0;if((f|0)!=(h|0)){c[j+(h<<3)>>2]=c[j+(f<<3)>>2];h=c[j+(f<<3)>>2]|0;f=c[j+(h<<3)>>2]|0;if((h|0)!=(f|0)){i=j+(h<<3)|0;do{h=j+(f<<3)|0;c[i>>2]=c[h>>2];h=c[h>>2]|0;i=j+(h<<3)|0;f=c[i>>2]|0}while((h|0)!=(f|0))}}f=c[j+(e<<3)>>2]|0;if((f|0)!=(e|0)){c[j+(e<<3)>>2]=c[j+(f<<3)>>2];e=c[j+(f<<3)>>2]|0;f=c[j+(e<<3)>>2]|0;if((e|0)!=(f|0)){i=j+(e<<3)|0;do{e=j+(f<<3)|0;c[i>>2]=c[e>>2];e=c[e>>2]|0;i=j+(e<<3)|0;f=c[i>>2]|0}while((e|0)!=(f|0))}}if((h|0)!=(e|0)){c[j+(h<<3)>>2]=e;m=j+(e<<3)+4|0;c[m>>2]=(c[m>>2]|0)+(c[j+(h<<3)+4>>2]|0)}}d=d+1|0}while((d|0)!=(l|0));return}function ke(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var h=0;h=sa;sa=sa+48|0;c[b+8>>2]=0;g[b+12>>2]=0.0;c[b>>2]=9732;c[b+48>>2]=d;c[b+4>>2]=21;if(Fa[c[(c[d>>2]|0)+40>>2]&127](d)|0)Za[c[(c[d>>2]|0)+48>>2]&127](d,b+16|0,b+32|0);else{d=h+32+4|0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;g[h+32>>2]=1.0;Za[c[(c[b>>2]|0)+68>>2]&127](h+16|0,b,h+32|0);g[b+32>>2]=+g[h+16>>2]+ +g[b+12>>2];g[h+32>>2]=-1.0;Za[c[(c[b>>2]|0)+68>>2]&127](h,b,h+32|0);c[h+16>>2]=c[h>>2];c[h+16+4>>2]=c[h+4>>2];c[h+16+8>>2]=c[h+8>>2];c[h+16+12>>2]=c[h+12>>2];g[b+16>>2]=+g[h+16>>2]-+g[b+12>>2];c[h+32>>2]=0;c[h+32+4>>2]=0;c[h+32+8>>2]=0;c[h+32+12>>2]=0;g[d>>2]=1.0;Za[c[(c[b>>2]|0)+68>>2]&127](h+16|0,b,h+32|0);g[b+36>>2]=+g[h+16+4>>2]+ +g[b+12>>2];g[d>>2]=-1.0;Za[c[(c[b>>2]|0)+68>>2]&127](h,b,h+32|0);c[h+16>>2]=c[h>>2];c[h+16+4>>2]=c[h+4>>2];c[h+16+8>>2]=c[h+8>>2];c[h+16+12>>2]=c[h+12>>2];g[b+20>>2]=+g[h+16+4>>2]-+g[b+12>>2];c[h+32>>2]=0;c[h+32+4>>2]=0;c[h+32+8>>2]=0;c[h+32+12>>2]=0;g[h+32+8>>2]=1.0;Za[c[(c[b>>2]|0)+68>>2]&127](h+16|0,b,h+32|0);g[b+40>>2]=+g[h+16+8>>2]+ +g[b+12>>2];g[h+32+8>>2]=-1.0;Za[c[(c[b>>2]|0)+68>>2]&127](h,b,h+32|0);c[h+16>>2]=c[h>>2];c[h+16+4>>2]=c[h+4>>2];c[h+16+8>>2]=c[h+8>>2];c[h+16+12>>2]=c[h+12>>2];g[b+24>>2]=+g[h+16+8>>2]-+g[b+12>>2]}c[b>>2]=9580;c[b+52>>2]=0;c[b+56>>2]=0;a[b+60>>0]=e&1;a[b+61>>0]=0;c[b+4>>2]=21;if(!f){sa=h;return}c[7182]=(c[7182]|0)+1;d=xb(191)|0;if(!d)d=0;else{c[(d+4+15&-16)+-4>>2]=d;d=d+4+15&-16}c[d+52>>2]=282;a[d+60>>0]=0;a[d+80>>0]=1;c[d+76>>2]=0;c[d+68>>2]=0;c[d+72>>2]=0;a[d+100>>0]=1;c[d+96>>2]=0;c[d+88>>2]=0;c[d+92>>2]=0;a[d+120>>0]=1;c[d+116>>2]=0;c[d+108>>2]=0;c[d+112>>2]=0;a[d+140>>0]=1;c[d+136>>2]=0;c[d+128>>2]=0;c[d+132>>2]=0;c[d+144>>2]=0;a[d+164>>0]=1;c[d+160>>2]=0;c[d+152>>2]=0;c[d+156>>2]=0;c[d+168>>2]=0;c[d+4>>2]=-8388609;c[d+8>>2]=-8388609;c[d+12>>2]=-8388609;g[d+16>>2]=0.0;c[d+20>>2]=2139095039;c[d+24>>2]=2139095039;c[d+28>>2]=2139095039;g[d+32>>2]=0.0;c[d>>2]=10888;c[b+52>>2]=d;pc(d,c[b+48>>2]|0,(a[b+60>>0]|0)!=0,b+16|0,b+32|0);a[b+61>>0]=1;sa=h;return}function le(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0,w=0,x=0;if(!a)return;q=+g[b>>2];r=+g[b+4>>2];s=+g[b+8>>2];t=+g[b+16>>2];u=+g[b+20>>2];p=+g[b+24>>2];c[7182]=(c[7182]|0)+1;b=xb(275)|0;if(!b)b=0;else{c[(b+4+15&-16)+-4>>2]=b;b=b+4+15&-16}c[b>>2]=a;o=64;j=1;h=b;i=b;f=b;e=b;m=b;while(1){k=j+-1|0;n=c[h+(k<<2)>>2]|0;do if(((((+g[n>>2]<=t?+g[n+16>>2]>=q:0)?+g[n+4>>2]<=u:0)?+g[n+20>>2]>=r:0)?+g[n+8>>2]<=p:0)?+g[n+24>>2]>=s:0){if(!(c[n+40>>2]|0)){Va[c[(c[d>>2]|0)+12>>2]&127](d,n);a=o;b=m;break}l=c[n+36>>2]|0;do if((k|0)==(o|0)){a=(o|0)==0?1:o<<1;if((j|0)<=(a|0)){if((a|0)!=0?(c[7182]=(c[7182]|0)+1,v=xb((a<<2|3)+16|0)|0,(v|0)!=0):0){c[(v+4+15&-16)+-4>>2]=v;e=v+4+15&-16}else e=0;if((j|0)<=1){if(!h){h=e;j=e;i=e;f=e;b=e;k=0;break}}else{b=0;do{c[e+(b<<2)>>2]=c[h+(b<<2)>>2];b=b+1|0}while((b|0)!=(o|0))}if(!m){h=e;j=e;i=e;f=e;b=e;k=o}else{c[7183]=(c[7183]|0)+1;Hc(c[m+-4>>2]|0);h=e;j=e;i=e;f=e;b=e;k=o}}else{a=o;j=e;b=m;k=o}}else{a=o;j=e;b=m}while(0);c[h+(k<<2)>>2]=l;m=k+1|0;l=c[n+40>>2]|0;do if((m|0)==(a|0)?(w=(a|0)==0?1:a<<1,(a|0)<(w|0)):0){if((w|0)!=0?(c[7182]=(c[7182]|0)+1,x=xb((w<<2|3)+16|0)|0,(x|0)!=0):0){c[(x+4+15&-16)+-4>>2]=x;e=x+4+15&-16}else e=0;if((k|0)>-1){b=0;do{c[e+(b<<2)>>2]=c[h+(b<<2)>>2];b=b+1|0}while((b|0)!=(a|0));if(!j){a=w;h=e;i=e;f=e;j=e;b=e;break}}else if((h|0)==0|(j|0)==0){a=w;h=e;i=e;f=e;j=e;b=e;break}c[7183]=(c[7183]|0)+1;Hc(c[j+-4>>2]|0);a=w;h=e;i=e;f=e;j=e;b=e}while(0);c[h+(m<<2)>>2]=l;k=k+2|0;e=j}else{a=o;b=m}while(0);if((k|0)<=0)break;o=a;j=k;m=b}if((h|0)==0|(i|0)==0)return;c[7183]=(c[7183]|0)+1;Hc(c[i+-4>>2]|0);return}function me(b,d,e,f,h){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;var i=0,j=0,k=0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0,I=0.0,J=0.0;j=sa;sa=sa+64|0;k=(a[b+8>>0]|0)!=0;i=k?e:d;d=k?d:e;e=c[d+4>>2]|0;if(((c[e+4>>2]|0)+-21|0)>>>0>=9){sa=j;return}if((c[(c[i+4>>2]|0)+4>>2]|0)>=20){sa=j;return}l=+va[c[(c[e>>2]|0)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>2]|0)+64>>2]&127](e,b+12|0,b+24|0,b+40|0);d=c[h+4>>2]|0;do if(c[d+748>>2]|0){e=c[d+740>>2]|0;f=c[(c[h+8>>2]|0)+8>>2]|0;if((e|0)==(f|0)){re(d,e+4|0,(c[(c[h+12>>2]|0)+8>>2]|0)+4|0);break}else{re(d,(c[(c[h+12>>2]|0)+8>>2]|0)+4|0,f+4|0);break}}while(0);c[b+16>>2]=0;c[b+20>>2]=0;sa=j;return}function ne(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,h=0.0,i=0.0,j=0.0,k=0,l=0,m=0,n=0,o=0.0,p=0;n=sa;sa=sa+128|0;i=+g[b>>2];j=+g[b+16>>2];o=i>2];if((o+g[a+28>>2]){sa=n;return}l=i>j?b:b+16|0;if(+g[(+g[l>>2]>h?l:b+32|0)>>2]<+g[a+12>>2]){sa=n;return}h=+g[b+8>>2];i=+g[b+24>>2];o=h>2];if((o+g[a+36>>2]){sa=n;return}l=h>i?b+8|0:b+24|0;if(+g[(+g[l>>2]>j?l:b+40|0)>>2]<+g[a+20>>2]){sa=n;return}h=+g[b+4>>2];i=+g[b+20>>2];o=h>2];if((o+g[a+32>>2]){sa=n;return}l=h>i?b+4|0:b+20|0;if(+g[(+g[l>>2]>j?l:b+36|0)>>2]<+g[a+16>>2]){sa=n;return}f=c[a+4>>2]|0;if((c[(c[f+4>>2]|0)+4>>2]|0)>=20){sa=n;return}l=c[a+48>>2]|0;c[n+24+8>>2]=0;c[n+24+12>>2]=1065353216;c[n+24+16>>2]=1065353216;c[n+24+20>>2]=1065353216;g[n+24+24>>2]=0.0;c[n+24+52>>2]=0;c[n+24>>2]=6476;c[n+24+4>>2]=1;c[n+24+56>>2]=c[b>>2];c[n+24+56+4>>2]=c[b+4>>2];c[n+24+56+8>>2]=c[b+8>>2];c[n+24+56+12>>2]=c[b+12>>2];c[n+24+72>>2]=c[b+16>>2];c[n+24+72+4>>2]=c[b+16+4>>2];c[n+24+72+8>>2]=c[b+16+8>>2];c[n+24+72+12>>2]=c[b+16+12>>2];c[n+24+88>>2]=c[b+32>>2];c[n+24+88+4>>2]=c[b+32+4>>2];c[n+24+88+8>>2]=c[b+32+8>>2];c[n+24+88+12>>2]=c[b+32+12>>2];c[n+24+44>>2]=c[a+56>>2];p=c[a+8>>2]|0;b=c[p+8>>2]|0;k=c[p+12>>2]|0;c[n>>2]=p;c[n+4>>2]=n+24;c[n+8>>2]=b;c[n+12>>2]=k;c[n+16>>2]=d;c[n+20>>2]=e;k=Ka[c[(c[l>>2]|0)+8>>2]&31](l,f,n,c[a+64>>2]|0)|0;b=c[a+44>>2]|0;f=c[b+8>>2]|0;if((c[f+8>>2]|0)==(c[(c[a+8>>2]|0)+8>>2]|0)){c[b+8>>2]=n;Za[c[(c[b>>2]|0)+8>>2]&127](b,d,e)}else{f=c[b+12>>2]|0;c[b+12>>2]=n;Za[c[(c[b>>2]|0)+12>>2]&127](b,d,e)}eb[c[(c[k>>2]|0)+8>>2]&31](k,c[a+4>>2]|0,n,c[a+52>>2]|0,c[a+44>>2]|0);p=c[a+44>>2]|0;c[((c[(c[p+8>>2]|0)+8>>2]|0)==(c[(c[a+8>>2]|0)+8>>2]|0)?p+8|0:p+12|0)>>2]=f;Pa[c[c[k>>2]>>2]&511](k);Va[c[(c[l>>2]|0)+60>>2]&127](l,k);c[n+24>>2]=9932;f=c[n+24+52>>2]|0;if(f|0?(Pa[c[c[f>>2]>>2]&511](f),m=c[n+24+52>>2]|0,m|0):0){c[7183]=(c[7183]|0)+1;Hc(c[m+-4>>2]|0)}sa=n;return}function oe(b,d,e,f,h){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;var i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0,w=0.0,x=0.0,y=0.0,z=0.0;v=a[h+16>>0]&-16;a[h+16>>0]=v;w=+g[e>>2];x=+g[d>>2];n=+g[e+4>>2];o=+g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0-z/(z-i);break}if((u*i-j*k<=0.0?k-u>=0.0:0)?j-i>=0.0:0){k=(k-u)/(k-u+(j-i));g[h>>2]=w+(r-w)*k;g[h+4>>2]=n+(s-n)*k;g[h+8>>2]=p+(t-p)*k;g[h+12>>2]=0.0;a[h+16>>0]=v|6;j=k;k=1.0-k;i=0.0;break}l=1.0/(y*k-u*z+(u*i-j*k+(j*z-y*i)));m=(j*z-y*i)*l;i=(y*k-u*z)*l;g[h>>2]=(r-x)*i+(x+(w-x)*m);g[h+4>>2]=(s-o)*i+(o+(n-o)*m);g[h+8>>2]=(t-q)*i+(q+(p-q)*m);g[h+12>>2]=0.0;a[h+16>>0]=v|7;j=i;k=m;i=1.0-m-i}while(0);g[h+20>>2]=i;g[h+24>>2]=k;g[h+28>>2]=j;g[h+32>>2]=0.0;return}function pe(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,h=0.0,i=0.0,j=0.0,k=0,l=0,m=0.0,n=0.0,o=0.0,p=0.0;f=sa;sa=sa+256|0;Ki(16022);c[f+32>>2]=6820;k=f+32+36|0;c[k>>2]=c[b>>2];c[k+4>>2]=c[b+4>>2];c[k+8>>2]=c[b+8>>2];c[k+12>>2]=c[b+12>>2];l=f+32+52|0;c[l>>2]=c[d>>2];c[l+4>>2]=c[d+4>>2];c[l+8>>2]=c[d+8>>2];c[l+12>>2]=c[d+12>>2];c[f+32+212>>2]=a;c[f+32+216>>2]=e;c[f+32+68>>2]=1065353216;c[f+32+72>>2]=0;c[f+32+72+4>>2]=0;c[f+32+72+8>>2]=0;c[f+32+72+12>>2]=0;c[f+32+88>>2]=1065353216;c[f+32+92>>2]=0;c[f+32+92+4>>2]=0;c[f+32+92+8>>2]=0;c[f+32+92+12>>2]=0;c[f+32+108>>2]=1065353216;c[f+32+112>>2]=0;c[f+32+116>>2]=c[k>>2];c[f+32+116+4>>2]=c[k+4>>2];c[f+32+116+8>>2]=c[k+8>>2];c[f+32+116+12>>2]=c[k+12>>2];c[f+32+132>>2]=1065353216;c[f+32+136>>2]=0;c[f+32+136+4>>2]=0;c[f+32+136+8>>2]=0;c[f+32+136+12>>2]=0;c[f+32+152>>2]=1065353216;c[f+32+156>>2]=0;c[f+32+156+4>>2]=0;c[f+32+156+8>>2]=0;c[f+32+156+12>>2]=0;c[f+32+172>>2]=1065353216;c[f+32+176>>2]=0;c[f+32+180>>2]=c[d>>2];c[f+32+180+4>>2]=c[d+4>>2];c[f+32+180+8>>2]=c[d+8>>2];c[f+32+180+12>>2]=c[d+12>>2];m=+g[d>>2]-+g[b>>2];j=+g[d+4>>2]-+g[b+4>>2];i=+g[d+8>>2]-+g[b+8>>2];h=1.0/+x(+(m*m+j*j+i*i));p=m*h==0.0?1000000015047466219876688.0e6:1.0/(m*h);g[f+32+4>>2]=p;o=j*h==0.0?1000000015047466219876688.0e6:1.0/(j*h);g[f+32+8>>2]=o;n=i*h==0.0?1000000015047466219876688.0e6:1.0/(i*h);g[f+32+12>>2]=n;c[f+32+20>>2]=p<0.0&1;c[f+32+24>>2]=o<0.0&1;c[f+32+28>>2]=n<0.0&1;g[f+32+32>>2]=m*h*(+g[l>>2]-+g[k>>2])+j*h*(+g[f+32+56>>2]-+g[f+32+40>>2])+i*h*(+g[f+32+60>>2]-+g[f+32+44>>2]);a=c[a+68>>2]|0;e=c[(c[a>>2]|0)+24>>2]|0;c[f+16>>2]=0;c[f+16+4>>2]=0;c[f+16+8>>2]=0;c[f+16+12>>2]=0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;c[f+12>>2]=0;gb[e&7](a,b,d,f+32|0,f+16|0,f);a=c[3084]|0;e=(c[a+16>>2]|0)+-1|0;c[a+16>>2]=e;if(e|0){sa=f;return}do if(c[a+4>>2]|0){la(f+32|0,0)|0;l=c[7181]|0;g[a+8>>2]=+g[a+8>>2]+ +(((c[f+32+4>>2]|0)-(c[l+4>>2]|0)+(((c[f+32>>2]|0)-(c[l>>2]|0)|0)*1e6|0)-(c[a+12>>2]|0)|0)>>>0)/1.0e3;if(!(c[a+16>>2]|0)){a=c[3084]|0;break}else{sa=f;return}}while(0);c[3084]=c[a+20>>2];sa=f;return}function qe(a,b,f){a=a|0;b=b|0;f=f|0;var i=0,j=0.0,k=0,l=0.0,m=0.0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0.0;t=sa;sa=sa+32|0;n=c[a+4>>2]|0;kb[c[(c[n>>2]|0)+16>>2]&3](n,t+28|0,t+24|0,t+20|0,t+16|0,t+12|0,t+8|0,t+4|0,t,b);n=(c[t+12>>2]|0)+(J(c[t+8>>2]|0,f)|0)|0;r=c[a+4>>2]|0;o=c[t>>2]|0;switch(o|0){case 3:{i=e[n+4>>1]|0;break}case 2:{i=c[n+8>>2]|0;break}default:i=d[n+2>>0]|0}s=(c[t+20>>2]|0)==0;p=c[t+28>>2]|0;q=c[t+16>>2]|0;i=p+(J(q,i)|0)|0;if(s){l=+g[i+4>>2]*+g[r+8>>2];m=+g[i>>2]*+g[r+4>>2];k=i+8|0;j=+g[r+12>>2]}else{l=+g[r+8>>2]*+h[i+8>>3];m=+g[r+4>>2]*+h[i>>3];k=r+12|0;j=+h[i+16>>3]}j=+g[k>>2]*j;g[a+44>>2]=m;g[a+48>>2]=l;g[a+52>>2]=j;g[a+56>>2]=0.0;switch(o|0){case 3:{i=e[n+2>>1]|0;break}case 2:{i=c[n+4>>2]|0;break}default:i=d[n+1>>0]|0}i=p+(J(q,i)|0)|0;if(s){k=i+8|0;l=+g[i+4>>2]*+g[r+8>>2];m=+g[i>>2]*+g[r+4>>2];j=+g[r+12>>2]}else{k=r+12|0;l=+g[r+8>>2]*+h[i+8>>3];m=+g[r+4>>2]*+h[i>>3];j=+h[i+16>>3]}j=+g[k>>2]*j;g[a+28>>2]=m;g[a+32>>2]=l;g[a+36>>2]=j;g[a+40>>2]=0.0;switch(o|0){case 3:{i=e[n>>1]|0;break}case 2:{i=c[n>>2]|0;break}default:i=d[n>>0]|0}i=p+(J(q,i)|0)|0;if(s){l=+g[i+4>>2]*+g[r+8>>2];j=+g[i>>2]*+g[r+4>>2];q=i+8|0;m=+g[r+12>>2];u=+g[q>>2];m=u*m;r=a+12|0;g[r>>2]=j;r=a+16|0;g[r>>2]=l;r=a+20|0;g[r>>2]=m;r=a+24|0;g[r>>2]=0.0;r=a+8|0;r=c[r>>2]|0;q=c[r>>2]|0;q=q+8|0;q=c[q>>2]|0;s=a+12|0;ab[q&127](r,s,b,f);s=c[a+4>>2]|0;r=c[s>>2]|0;r=r+24|0;r=c[r>>2]|0;Va[r&127](s,b);sa=t;return}else{m=+g[r+8>>2]*+h[i+8>>3];l=+g[r+4>>2]*+h[i>>3];r=r+12|0;u=+h[i+16>>3];j=+g[r>>2];u=j*u;r=a+12|0;g[r>>2]=l;r=a+16|0;g[r>>2]=m;r=a+20|0;g[r>>2]=u;r=a+24|0;g[r>>2]=0.0;r=a+8|0;r=c[r>>2]|0;q=c[r>>2]|0;q=q+8|0;q=c[q>>2]|0;s=a+12|0;ab[q&127](r,s,b,f);s=c[a+4>>2]|0;r=c[s>>2]|0;r=r+24|0;r=c[r>>2]|0;Va[r&127](s,b);sa=t;return}}function re(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,h=0.0,i=0.0,j=0,k=0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0;f=c[b+748>>2]|0;if((f|0)<=0)return;do{j=f;f=f+-1|0;p=+g[b+4+(f*184|0)>>2];q=+g[b+4+(f*184|0)+4>>2];h=+g[b+4+(f*184|0)+8>>2];o=p*+g[d>>2]+q*+g[d+4>>2]+h*+g[d+8>>2]+ +g[d+48>>2];m=p*+g[d+16>>2]+q*+g[d+20>>2]+h*+g[d+24>>2]+ +g[d+52>>2];h=p*+g[d+32>>2]+q*+g[d+36>>2]+h*+g[d+40>>2]+ +g[d+56>>2];g[b+4+(f*184|0)+48>>2]=o;g[b+4+(f*184|0)+52>>2]=m;g[b+4+(f*184|0)+56>>2]=h;g[b+4+(f*184|0)+60>>2]=0.0;q=+g[b+4+(f*184|0)+16>>2];p=+g[b+4+(f*184|0)+20>>2];i=+g[b+4+(f*184|0)+24>>2];n=q*+g[e>>2]+p*+g[e+4>>2]+i*+g[e+8>>2]+ +g[e+48>>2];l=q*+g[e+16>>2]+p*+g[e+20>>2]+i*+g[e+24>>2]+ +g[e+52>>2];i=q*+g[e+32>>2]+p*+g[e+36>>2]+i*+g[e+40>>2]+ +g[e+56>>2];g[b+4+(f*184|0)+32>>2]=n;g[b+4+(f*184|0)+36>>2]=l;g[b+4+(f*184|0)+40>>2]=i;g[b+4+(f*184|0)+44>>2]=0.0;g[b+4+(f*184|0)+80>>2]=(o-n)*+g[b+4+(f*184|0)+64>>2]+(m-l)*+g[b+4+(f*184|0)+68>>2]+(h-i)*+g[b+4+(f*184|0)+72>>2];k=b+4+(f*184|0)+148|0;c[k>>2]=(c[k>>2]|0)+1}while((j|0)>1);f=c[b+748>>2]|0;if((f|0)<=0)return;j=f;do{e=j;j=j+-1|0;d=b+4+(j*184|0)|0;h=+g[b+4+(j*184|0)+80>>2];i=+g[b+752>>2];if(h<=i){o=+g[b+4+(j*184|0)+32>>2]-(+g[b+4+(j*184|0)+48>>2]-+g[b+4+(j*184|0)+64>>2]*h);p=+g[b+4+(j*184|0)+36>>2]-(+g[b+4+(j*184|0)+52>>2]-h*+g[b+4+(j*184|0)+68>>2]);q=+g[b+4+(j*184|0)+40>>2]-(+g[b+4+(j*184|0)+56>>2]-h*+g[b+4+(j*184|0)+72>>2]);if(o*o+p*p+q*q>i*i){f=f+-1|0;if((f|0)==(j|0))f=j;else{Bh(d|0,b+4+(f*184|0)|0,184)|0;c[b+4+(f*184|0)+112>>2]=0;g[b+4+(f*184|0)+120>>2]=0.0;a[b+4+(f*184|0)+116>>0]=0;g[b+4+(f*184|0)+124>>2]=0.0;g[b+4+(f*184|0)+128>>2]=0.0;c[b+4+(f*184|0)+148>>2]=0;f=(c[b+748>>2]|0)+-1|0}c[b+748>>2]=f}}else{f=f+-1|0;if((f|0)==(j|0))f=j;else{Bh(d|0,b+4+(f*184|0)|0,184)|0;c[b+4+(f*184|0)+112>>2]=0;g[b+4+(f*184|0)+120>>2]=0.0;a[b+4+(f*184|0)+116>>0]=0;g[b+4+(f*184|0)+124>>2]=0.0;g[b+4+(f*184|0)+128>>2]=0.0;c[b+4+(f*184|0)+148>>2]=0;f=(c[b+748>>2]|0)+-1|0}c[b+748>>2]=f}}while((e|0)>1);return}function se(b){b=b|0;var d=0,e=0;c[b>>2]=8032;if(a[b+20>>0]|0){d=c[b+16>>2]|0;e=c[d+16>>2]|0;if(e){c[7183]=(c[7183]|0)+1;Hc(c[e+-4>>2]|0);d=c[b+16>>2]|0}if(d|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}}if(a[b+12>>0]|0){d=c[b+8>>2]|0;e=c[d+16>>2]|0;if(e){c[7183]=(c[7183]|0)+1;Hc(c[e+-4>>2]|0);d=c[b+8>>2]|0}if(d|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}}d=c[b+32>>2]|0;Pa[c[c[d>>2]>>2]&511](d);d=c[b+32>>2]|0;if(d|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}d=c[b+36>>2]|0;Pa[c[c[d>>2]>>2]&511](d);d=c[b+36>>2]|0;if(d|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}d=c[b+40>>2]|0;Pa[c[c[d>>2]>>2]&511](d);d=c[b+40>>2]|0;if(d|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}d=c[b+44>>2]|0;Pa[c[c[d>>2]>>2]&511](d);d=c[b+44>>2]|0;if(d|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}d=c[b+48>>2]|0;Pa[c[c[d>>2]>>2]&511](d);d=c[b+48>>2]|0;if(d|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}d=c[b+52>>2]|0;Pa[c[c[d>>2]>>2]&511](d);d=c[b+52>>2]|0;if(d|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}d=c[b+56>>2]|0;Pa[c[c[d>>2]>>2]&511](d);d=c[b+56>>2]|0;if(d|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}d=c[b+60>>2]|0;Pa[c[c[d>>2]>>2]&511](d);d=c[b+60>>2]|0;if(d|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}d=c[b+76>>2]|0;Pa[c[c[d>>2]>>2]&511](d);d=c[b+76>>2]|0;if(d|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}d=c[b+80>>2]|0;Pa[c[c[d>>2]>>2]&511](d);d=c[b+80>>2]|0;if(d|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}d=c[b+72>>2]|0;Pa[c[c[d>>2]>>2]&511](d);d=c[b+72>>2]|0;if(d|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}d=c[b+88>>2]|0;Pa[c[c[d>>2]>>2]&511](d);d=c[b+88>>2]|0;if(d|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}d=c[b+84>>2]|0;Pa[c[c[d>>2]>>2]&511](d);d=c[b+84>>2]|0;if(d|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}d=c[b+24>>2]|0;if(d|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}d=c[b+28>>2]|0;Pa[c[c[d>>2]>>2]&511](d);d=c[b+28>>2]|0;if(!d)return;c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0);return} +function vb(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var h=0.0,i=0.0,k=0,l=0,m=0.0,n=0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0,E=0,G=0,H=0,I=0,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](Ea);Ca=+va[c[(c[Ea>>2]|0)+48>>2]&15](Ea);V=(V+ +va[c[(c[Ea>>2]|0)+48>>2]&15](Ea))*2.0;ba=+g[b+112>>2]-+g[b+48>>2];ca=+g[b+116>>2]-+g[b+52>>2];da=+g[b+120>>2]-+g[b+56>>2];ra=+g[Fa+48>>2];oa=+g[E>>2];pa=+g[D>>2];la=+g[f>>2];ja=+g[k>>2];ka=+g[Q>>2];L=+g[e>>2];C=+g[n>>2];K=+g[l>>2];g[Fa+468>>2]=(ta+wa)*2.0*.5;g[Fa+468+4>>2]=(ua+xa)*2.0*.5;g[Fa+468+8>>2]=ya*.5;g[Fa+456>>2]=(za+Ba)*2.0*.5;g[Fa+456+4>>2]=(Aa+Ca)*2.0*.5;g[Fa+456+8>>2]=V*.5;U=+g[Fa>>2];S=+g[Fa+16>>2];T=+g[Fa+32>>2];$=+g[Fa+4>>2];Z=+g[Fa+20>>2];_=+g[Fa+36>>2];qa=+g[Fa+8>>2];ma=+g[Fa+24>>2];na=+g[Fa+40>>2];M=+w(+(ra*U+oa*S+pa*T));W=+w(+(ra*$+oa*Z+pa*_));fa=+w(+(ra*qa+oa*ma+pa*na));N=+w(+(la*U+ja*S+ka*T));X=+w(+(la*$+ja*Z+ka*_));ga=+w(+(la*qa+ja*ma+ka*na));ha=+w(+(L*U+C*S+K*T));ia=+w(+(L*$+C*Z+K*_));Y=+w(+(L*qa+C*ma+K*na));o=+w(+(ba*ra+ca*oa+da*pa))-((ta+wa)*2.0*.5+(za+Ba)*2.0*.5*M+(Aa+Ca)*2.0*.5*W+V*.5*fa);if(o>0.0){sa=Fa;return}if(o>-3402823466385288598117041.0e14){G=Fa+48|0;a=1;H=ba*ra+ca*oa+da*pa<0.0&1}else{G=0;a=0;H=0;o=-3402823466385288598117041.0e14}h=+w(+(ba*la+ca*ja+da*ka))-((ua+xa)*2.0*.5+(za+Ba)*2.0*.5*N+(Aa+Ca)*2.0*.5*X+V*.5*ga);if(h>0.0){sa=Fa;return}if(h>o){G=f;a=2;H=ba*la+ca*ja+da*ka<0.0&1;o=h}h=+w(+(ba*L+ca*C+da*K))-(ya*.5+(za+Ba)*2.0*.5*ha+(Aa+Ca)*2.0*.5*ia+V*.5*Y);if(h>0.0){sa=Fa;return}if(h>o){G=e;a=3;H=ba*L+ca*C+da*K<0.0&1;o=h}h=+w(+(ba*U+ca*S+da*T))-((za+Ba)*2.0*.5+(ya*.5*ha+((ta+wa)*2.0*.5*M+(ua+xa)*2.0*.5*N)));if(h>0.0){sa=Fa;return}if(h>o){G=Fa;a=4;H=ba*U+ca*S+da*T<0.0&1;o=h}h=+w(+(ba*$+ca*Z+da*_))-((Aa+Ca)*2.0*.5+(ya*.5*ia+((ta+wa)*2.0*.5*W+(ua+xa)*2.0*.5*X)));if(h>0.0){sa=Fa;return}if(h>o){G=Fa+4|0;a=5;H=ba*$+ca*Z+da*_<0.0&1;o=h}h=+w(+(ba*qa+ca*ma+da*na))-(V*.5+(ya*.5*Y+((ta+wa)*2.0*.5*fa+(ua+xa)*2.0*.5*ga)));if(h>0.0){sa=Fa;return}if(h>o){G=Fa+8|0;a=6;H=ba*qa+ca*ma+da*na<0.0&1;o=h}h=(ba*L+ca*C+da*K)*(la*U+ja*S+ka*T)-(ba*la+ca*ja+da*ka)*(L*U+C*S+K*T);i=+w(+h)-(V*.5*(W+9.999999747378752e-06)+((ua+xa)*2.0*.5*(ha+9.999999747378752e-06)+ya*.5*(N+9.999999747378752e-06)+(Aa+Ca)*2.0*.5*(fa+9.999999747378752e-06)));if(i>1.1920928955078125e-07){sa=Fa;return}s=(L*U+C*S+K*T)*(L*U+C*S+K*T)+0.0;z=(la*U+ja*S+ka*T)*(la*U+ja*S+ka*T);p=+x(+(z+s));if(p>1.1920928955078125e-07?i/p*1.0499999523162842>o:0){G=0;a=7;H=h<0.0&1;o=i/p;m=0.0/p;i=-(L*U+C*S+K*T)/p;h=(la*U+ja*S+ka*T)/p}else{m=0.0;i=0.0;h=0.0}p=(ba*L+ca*C+da*K)*(la*$+ja*Z+ka*_)-(ba*la+ca*ja+da*ka)*(L*$+C*Z+K*_);q=+w(+p)-(V*.5*(M+9.999999747378752e-06)+((ua+xa)*2.0*.5*(ia+9.999999747378752e-06)+ya*.5*(X+9.999999747378752e-06)+(za+Ba)*2.0*.5*(fa+9.999999747378752e-06)));if(q>1.1920928955078125e-07){sa=Fa;return}t=(L*$+C*Z+K*_)*(L*$+C*Z+K*_)+0.0;A=(la*$+ja*Z+ka*_)*(la*$+ja*Z+ka*_);r=+x(+(A+t));if(r>1.1920928955078125e-07?q/r*1.0499999523162842>o:0){G=0;a=8;H=p<0.0&1;o=q/r;m=0.0/r;i=-(L*$+C*Z+K*_)/r;h=(la*$+ja*Z+ka*_)/r}p=(ba*L+ca*C+da*K)*(la*qa+ja*ma+ka*na)-(ba*la+ca*ja+da*ka)*(L*qa+C*ma+K*na);q=+w(+p)-((Aa+Ca)*2.0*.5*(M+9.999999747378752e-06)+((za+Ba)*2.0*.5*(W+9.999999747378752e-06)+((ua+xa)*2.0*.5*(Y+9.999999747378752e-06)+ya*.5*(ga+9.999999747378752e-06))));if(q>1.1920928955078125e-07){sa=Fa;return}v=(L*qa+C*ma+K*na)*(L*qa+C*ma+K*na)+0.0;B=(la*qa+ja*ma+ka*na)*(la*qa+ja*ma+ka*na);r=+x(+(B+v));if(r>1.1920928955078125e-07?q/r*1.0499999523162842>o:0){G=0;a=9;H=p<0.0&1;o=q/r;m=0.0/r;i=-(L*qa+C*ma+K*na)/r;h=(la*qa+ja*ma+ka*na)/r}p=(ba*ra+ca*oa+da*pa)*(L*U+C*S+K*T)-(ba*L+ca*C+da*K)*(ra*U+oa*S+pa*T);q=+w(+p)-(V*.5*(X+9.999999747378752e-06)+((ta+wa)*2.0*.5*(ha+9.999999747378752e-06)+ya*.5*(M+9.999999747378752e-06)+(Aa+Ca)*2.0*.5*(ga+9.999999747378752e-06)));if(q>1.1920928955078125e-07){sa=Fa;return}y=(ra*U+oa*S+pa*T)*(ra*U+oa*S+pa*T);r=+x(+(y+s));do if(r>1.1920928955078125e-07){if(!(q/r*1.0499999523162842>o))break;G=0;a=10;H=p<0.0&1;o=q/r;m=(L*U+C*S+K*T)/r;i=0.0/r;h=-(ra*U+oa*S+pa*T)/r}while(0);p=(ba*ra+ca*oa+da*pa)*(L*$+C*Z+K*_)-(ba*L+ca*C+da*K)*(ra*$+oa*Z+pa*_);q=+w(+p)-(V*.5*(N+9.999999747378752e-06)+((ta+wa)*2.0*.5*(ia+9.999999747378752e-06)+ya*.5*(W+9.999999747378752e-06)+(za+Ba)*2.0*.5*(ga+9.999999747378752e-06)));if(q>1.1920928955078125e-07){sa=Fa;return}u=(ra*$+oa*Z+pa*_)*(ra*$+oa*Z+pa*_);r=+x(+(u+t));do if(r>1.1920928955078125e-07){if(!(q/r*1.0499999523162842>o))break;G=0;a=11;H=p<0.0&1;o=q/r;m=(L*$+C*Z+K*_)/r;i=0.0/r;h=-(ra*$+oa*Z+pa*_)/r}while(0);p=(ba*ra+ca*oa+da*pa)*(L*qa+C*ma+K*na)-(ba*L+ca*C+da*K)*(ra*qa+oa*ma+pa*na);q=+w(+p)-((Aa+Ca)*2.0*.5*(N+9.999999747378752e-06)+((za+Ba)*2.0*.5*(X+9.999999747378752e-06)+((ta+wa)*2.0*.5*(Y+9.999999747378752e-06)+ya*.5*(fa+9.999999747378752e-06))));if(q>1.1920928955078125e-07){sa=Fa;return}s=(ra*qa+oa*ma+pa*na)*(ra*qa+oa*ma+pa*na);r=+x(+(s+v));do if(r>1.1920928955078125e-07){if(!(q/r*1.0499999523162842>o))break;G=0;a=12;H=p<0.0&1;o=q/r;m=(L*qa+C*ma+K*na)/r;i=0.0/r;h=-(ra*qa+oa*ma+pa*na)/r}while(0);q=(ba*la+ca*ja+da*ka)*(ra*U+oa*S+pa*T)-(ba*ra+ca*oa+da*pa)*(la*U+ja*S+ka*T);p=+w(+q)-(V*.5*(ia+9.999999747378752e-06)+((ta+wa)*2.0*.5*(N+9.999999747378752e-06)+(ua+xa)*2.0*.5*(M+9.999999747378752e-06)+(Aa+Ca)*2.0*.5*(Y+9.999999747378752e-06)));if(p>1.1920928955078125e-07){sa=Fa;return}r=+x(+(z+y+0.0));do if(r>1.1920928955078125e-07){if(!(p/r*1.0499999523162842>o))break;G=0;a=13;H=q<0.0&1;o=p/r;m=-(la*U+ja*S+ka*T)/r;i=(ra*U+oa*S+pa*T)/r;h=0.0/r}while(0);r=(ba*la+ca*ja+da*ka)*(ra*$+oa*Z+pa*_)-(ba*ra+ca*oa+da*pa)*(la*$+ja*Z+ka*_);p=+w(+r)-(V*.5*(ha+9.999999747378752e-06)+((ta+wa)*2.0*.5*(X+9.999999747378752e-06)+(ua+xa)*2.0*.5*(W+9.999999747378752e-06)+(za+Ba)*2.0*.5*(Y+9.999999747378752e-06)));if(p>1.1920928955078125e-07){sa=Fa;return}q=+x(+(A+u+0.0));do if(q>1.1920928955078125e-07){if(!(p/q*1.0499999523162842>o))break;G=0;a=14;H=r<0.0&1;o=p/q;m=-(la*$+ja*Z+ka*_)/q;i=(ra*$+oa*Z+pa*_)/q;h=0.0/q}while(0);r=(ba*la+ca*ja+da*ka)*(ra*qa+oa*ma+pa*na)-(ba*ra+ca*oa+da*pa)*(la*qa+ja*ma+ka*na);p=+w(+r)-((Aa+Ca)*2.0*.5*(ha+9.999999747378752e-06)+((za+Ba)*2.0*.5*(ia+9.999999747378752e-06)+((ta+wa)*2.0*.5*(ga+9.999999747378752e-06)+(ua+xa)*2.0*.5*(fa+9.999999747378752e-06))));if(p>1.1920928955078125e-07){sa=Fa;return}q=+x(+(B+s+0.0));do if(q>1.1920928955078125e-07){if(!(p/q*1.0499999523162842>o)){O=55;break}a=15;H=r<0.0&1;o=p/q;m=-(la*qa+ja*ma+ka*na)/q;i=(ra*qa+oa*ma+pa*na)/q;h=0.0/q;O=58}else O=55;while(0);do if((O|0)==55){if(!a){sa=Fa;return}if(!G){O=58;break}Da=c[G>>2]|0;I=c[G+16>>2]|0;Ea=c[G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)*u+s;g[Fa+416>>2]=h;m=U-(N*T+A*L+B*M)*u+t;o=Y+(X*T+V*L+W*M)*u+s;p=U+(N*T+A*L+B*M)*u+t;s=Y+(X*T+V*L+W*M)*u-s;t=U+(N*T+A*L+B*M)*u-t;E=c[aa+(e<<2)>>2]|0;H=c[aa+(f<<2)>>2]|0;u=(c[j>>2]=E,+g[j>>2]);do if(!(u>-q))if(u>-h){f=Fa+256|0;e=1;a=1;i=-h;O=78}else{f=Fa+256|0;e=0;i=-h;O=153}else{g[Fa+256>>2]=q;g[Fa+256+4>>2]=r;if(!(u>-h)){f=Fa+256+8|0;e=2;a=u>-h;i=-h;O=78;break}g[Fa+256+8>>2]=h;g[Fa+256+8+4>>2]=m;f=Fa+256+8|0;e=2;O=152}while(0);do if((O|0)==78){g[f+4>>2]=r+(-u-q)*((m-r)/(h-q));g[f>>2]=-u;f=f+8|0;if(!a){O=153;break}g[f>>2]=h;g[f+4>>2]=m;if(!(e+1&8)){e=e+1|0;O=152}else{e=e+1|0;O=102}}while(0);if((O|0)==152){h=+g[Fa+416>>2];f=f+8|0;i=-h;O=153}a:do if((O|0)==153){if(i-o){g[f+4>>2]=m+(-u-h)*((p-m)/(o-h));g[f>>2]=-u;e=e+1|0;if(!(e&8))f=f+8|0;else{O=102;break}}if(u>-o){g[f>>2]=o;g[f+4>>2]=p;e=e+1|0;if(e&8|0){O=102;break}f=f+8|0;if(u>-o^u>-s){a=u>-s;O=159}else{a=u>-s;O=161}}else if(u>-o^u>-s){a=u>-s;O=159}else{a=u>-s;O=161}if((O|0)==159){g[f+4>>2]=p+(-u-o)*((t-p)/(s-o));g[f>>2]=-u;e=e+1|0;if(e&8|0){O=102;break}f=f+8|0;if(a)O=162;else O=163}else if((O|0)==161)if(a)O=162;else O=163;do if((O|0)==162){g[f>>2]=s;g[f+4>>2]=t;e=e+1|0;if(e&8|0){O=102;break a}if(a^u>-q){f=f+8|0;O=165}else O=167}else if((O|0)==163){if(u>-q){O=165;break}if((e|0)>0)O=167;else{e=0;O=79}}while(0);if((O|0)==165){g[f+4>>2]=t+(-u-s)*((r-t)/(q-s));g[f>>2]=-u;e=e+1|0;if(!(e&8))O=167;else{O=102;break}}b:do if((O|0)==167){a=Fa+352|0;D=Fa+256|0;f=0;while(1){h=+g[D>>2];if(h>2]=h;c[a+4>>2]=c[D+4>>2];f=f+1|0;if(f&8|0){e=f;O=79;break b}a=a+8|0;h=+g[D>>2]}n=(e|0)>1;k=D;D=D+8|0;l=n?D:Fa+256|0;i=+g[l>>2];if(h>2];g[a+4>>2]=Ca+(u-h)*((+g[l+4>>2]-Ca)/(i-h));c[a>>2]=E;f=f+1|0;if(!(f&8))a=a+8|0;else{e=f;O=79;break b}}if(!n)break;else e=e+-1|0}if((f|0)<=0){e=0;O=79;break}o=(c[j>>2]=H,+g[j>>2]);a=Fa+256|0;D=Fa+352|0;e=0;while(1){k=D+4|0;h=+g[k>>2];if(o>-h){c[a>>2]=c[D>>2];c[a+4>>2]=c[k>>2];e=e+1|0;if(e&8|0)break b;h=+g[k>>2];a=a+8|0;m=-h}else m=-h;n=(f|0)>1;k=D;D=D+8|0;l=n?D:Fa+352|0;i=+g[l+4>>2];if(m-i){Ca=+g[k>>2];g[a>>2]=Ca+(-o-h)*((+g[l>>2]-Ca)/(i-h));g[a+4>>2]=-o;e=e+1|0;if(!(e&8))a=a+8|0;else break b}if(!n)break;else f=f+-1|0}if((e|0)<=0){e=0;O=79;break}n=e;f=Fa+352|0;D=Fa+256|0;e=0;while(1){a=D+4|0;h=+g[a>>2];if(h>2]=c[D>>2];c[f+4>>2]=c[a>>2];e=e+1|0;if(e&8|0){O=79;break b}f=f+8|0;h=+g[a>>2]}l=(n|0)>1;a=D;D=D+8|0;k=l?D:Fa+256|0;i=+g[k+4>>2];if(h>2];g[f>>2]=Ca+(o-h)*((+g[k>>2]-Ca)/(i-h));c[f+4>>2]=H;e=e+1|0;if(!(e&8))f=f+8|0;else{O=79;break b}}if(!l){O=79;break}else n=n+-1|0}}while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fa+320>>2]=-fa;g[Fa+320+4>>2]=i;g[Fa+320+8>>2]=h;g[Fa+320+12>>2]=0.0;_a[Da&15](d,Fa+320|0,Fa+352|0,-+g[Fa+128+(e<<2)>>2]);e=e+1|0;if((e|0)==(n|0))break c}}else{f=Ea+4|0;a=Ea+8|0;i=(c[j>>2]=G,+g[j>>2]);h=(c[j>>2]=I,+g[j>>2]);e=0;while(1){Da=e*3|0;Ca=+g[Fa+128+(e<<2)>>2];g[Fa+352>>2]=+g[Fa+160+(Da<<2)>>2]+ +g[Ea>>2]-Ca*fa;g[Fa+352+4>>2]=+g[Fa+160+(Da+1<<2)>>2]+ +g[f>>2]-Ca*i;g[Fa+352+8>>2]=+g[Fa+160+(Da+2<<2)>>2]+ +g[a>>2]-Ca*h;Da=c[(c[d>>2]|0)+16>>2]|0;g[Fa+320>>2]=-fa;g[Fa+320+4>>2]=-i;g[Fa+320+8>>2]=-h;g[Fa+320+12>>2]=0.0;_a[Da&15](d,Fa+320|0,Fa+352|0,-Ca);e=e+1|0;if((e|0)==(n|0))break c}}d:do if((n|0)>1){h=+g[Fa+128>>2];e=0;f=1;while(1){i=+g[Fa+128+(f<<2)>>2];a=i>h;e=a?f:e;f=f+1|0;if((f|0)==(n|0))break;else h=a?i:h}switch(n|0){case 1:{f=1;a=Fa+96|0;k=Fa+96|0;O=120;break d}case 2:{h=(+g[Fa+256+4>>2]+ +g[Fa+256+12>>2])*.5;i=(+g[Fa+256>>2]+ +g[Fa+256+8>>2])*.5;f=2;a=Fa+96|0;k=Fa+96|0;O=124;break d}default:{}}a=n+-1|0;r=0.0;s=0.0;h=0.0;f=0;do{ea=f<<1;za=+g[Fa+256+(ea<<2)>>2];Aa=+g[Fa+256+(ea+3<<2)>>2];Ba=+g[Fa+256+(ea+2<<2)>>2];Ca=+g[Fa+256+((ea|1)<<2)>>2];h=h+(za*Aa-Ba*Ca);s=s+(za+Ba)*(za*Aa-Ba*Ca);r=r+(Aa+Ca)*(za*Aa-Ba*Ca);f=f+1|0}while((f|0)!=(a|0));ea=n<<1;m=+g[Fa+256+(ea+-2<<2)>>2];o=+g[Fa+256+4>>2];p=+g[Fa+256>>2];q=+g[Fa+256+(ea+-1<<2)>>2];i=h+(m*o-p*q);ea=+w(+i)>1.1920928955078125e-07;i=ea?1.0/(i*3.0):999999984306749440.0;if((n|0)>0){h=(r+(o+q)*(m*o-p*q))*i;i=(s+(m+p)*(m*o-p*q))*i;a=Fa+96|0;k=Fa+96|0;l=Fa+352|0;O=127;break}l=e;e=Fa+96|0;f=0}else{e=0;f=n;a=Fa+96|0;k=Fa+96|0;O=120}while(0);if((O|0)==120){h=+g[Fa+256+4>>2];i=+g[Fa+256>>2];O=124}if((O|0)==124){n=f;l=Fa+352|0;O=127}if((O|0)==127){f=0;do{ea=f<<1;g[Fa+352+(f<<2)>>2]=+F(+(+g[Fa+256+((ea|1)<<2)>>2]-h),+(+g[Fa+256+(ea<<2)>>2]-i));f=f+1|0}while((f|0)!=(n|0));f=0;do{c[Fa+320+(f<<2)>>2]=1;f=f+1|0}while((f|0)!=(n|0));l=e;e=a;f=1}a=Fa+320+(l<<2)|0;c[a>>2]=0;c[e>>2]=l;e:do if((D|0)>1){o=+g[Fa+352+(l<<2)>>2];if(!f){e=1;f=Fa+96+4|0;while(1){c[f>>2]=l;c[a>>2]=0;e=e+1|0;if((e|0)==(E|0))break e;else f=f+4|0}}f=1;a=Fa+96+4|0;while(1){m=6.2831854820251465/+(E|0)*+(f|0)+o;m=m>3.1415927410125732?m+-6.2831854820251465:m;c[a>>2]=l;i=1.0e9;k=0;e=l;while(1){do if(!(c[Fa+320+(k<<2)>>2]|0))h=i;else{h=+w(+(+g[Fa+352+(k<<2)>>2]-m));h=h>3.1415927410125732?6.2831854820251465-h:h;if(!(h>2]=k;e=k}while(0);k=k+1|0;if((k|0)==(n|0))break;else i=h}c[Fa+320+(e<<2)>>2]=0;f=f+1|0;if((f|0)==(E|0))break;else a=a+4|0}}while(0);if((E|0)>0){f=Ea+4|0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0,F=0.0,G=0.0,H=0.0,I=0.0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0.0,R=0.0,S=0.0,T=0.0,U=0.0,V=0.0,W=0.0,X=0.0,Y=0.0,Z=0.0,_=0.0,$=0.0,aa=0.0;P=sa;sa=sa+448|0;if(!(a[b+527>>0]|0)){sa=P;return}J=c[b+28>>2]|0;C=+g[b+348>>2];B=+g[b+352>>2];I=+g[b+356>>2];D=+g[J+52>>2];E=C*+g[J+4>>2]+B*+g[J+8>>2]+I*+g[J+12>>2]+D;F=+g[J+56>>2];G=C*+g[J+20>>2]+B*+g[J+24>>2]+I*+g[J+28>>2]+F;H=+g[J+60>>2];I=C*+g[J+36>>2]+B*+g[J+40>>2]+I*+g[J+44>>2]+H;K=c[b+32>>2]|0;B=+g[b+412>>2];C=+g[b+416>>2];s=+g[b+420>>2];k=+g[K+52>>2];l=B*+g[K+4>>2]+C*+g[K+8>>2]+s*+g[K+12>>2]+k;m=+g[K+56>>2];n=B*+g[K+20>>2]+C*+g[K+24>>2]+s*+g[K+28>>2]+m;r=+g[K+60>>2];s=B*+g[K+36>>2]+C*+g[K+40>>2]+s*+g[K+44>>2]+r;if(!(a[b+524>>0]|0)){A=+g[d+192>>2]+ +g[d+80>>2];B=+g[d+196>>2]+ +g[d+84>>2];z=+g[d+200>>2]+ +g[d+88>>2];C=+g[e+192>>2]+ +g[e+80>>2];w=+g[e+196>>2]+ +g[e+84>>2];u=+g[e+200>>2]+ +g[e+88>>2];t=+g[d+176>>2]+ +g[d+64>>2]+((I-H)*B-(G-F)*z)-(+g[e+176>>2]+ +g[e+64>>2]+((s-r)*w-(n-m)*u));u=+g[d+180>>2]+ +g[d+68>>2]+((E-D)*z-(I-H)*A)-(+g[e+180>>2]+ +g[e+68>>2]+((l-k)*u-(s-r)*C));w=+g[d+184>>2]+ +g[d+72>>2]+((G-F)*A-(E-D)*B)-(+g[e+184>>2]+ +g[e+72>>2]+((n-m)*C-(l-k)*w));o=(c[d+240>>2]|0)==0;p=(c[e+240>>2]|0)==0;h=0;do{C=1.0/+g[b+48+(h*84|0)+80>>2];q=b+48+(h*84|0)|0;B=+g[q>>2];v=b+48+(h*84|0)+4|0;A=+g[v>>2];y=b+48+(h*84|0)+8|0;z=+g[y>>2];z=C*(((E-l)*B+(G-n)*A+(I-s)*z)*-.30000001192092896/f)-C*(t*B+u*A+w*z);g[b+36>>2]=+g[b+36>>2]+z;A=+g[y>>2];B=+g[v>>2];C=+g[q>>2];i=+g[J+344>>2];if(!o){S=((G-F)*A-(I-H)*B)*+g[J+296>>2]+((I-H)*C-(E-D)*A)*+g[J+300>>2]+((E-D)*B-(G-F)*C)*+g[J+304>>2];Q=((G-F)*A-(I-H)*B)*+g[J+280>>2]+((I-H)*C-(E-D)*A)*+g[J+284>>2]+((E-D)*B-(G-F)*C)*+g[J+288>>2];R=((G-F)*A-(I-H)*B)*+g[J+264>>2]+((I-H)*C-(E-D)*A)*+g[J+268>>2]+((E-D)*B-(G-F)*C)*+g[J+272>>2];U=z*B*i*+g[d+116>>2];T=z*A*i*+g[d+120>>2];g[d+64>>2]=z*C*i*+g[d+112>>2]+ +g[d+64>>2];g[d+68>>2]=U+ +g[d+68>>2];g[d+72>>2]=T+ +g[d+72>>2];Q=Q*z*+g[d+100>>2];i=S*z*+g[d+104>>2];g[d+80>>2]=R*z*+g[d+96>>2]+ +g[d+80>>2];g[d+84>>2]=Q+ +g[d+84>>2];g[d+88>>2]=i+ +g[d+88>>2]}i=+g[K+344>>2];if(!p){U=((n-m)*A-(s-r)*B)*+g[K+296>>2]+((s-r)*C-(l-k)*A)*+g[K+300>>2]+((l-k)*B-(n-m)*C)*+g[K+304>>2];T=((n-m)*A-(s-r)*B)*+g[K+280>>2]+((s-r)*C-(l-k)*A)*+g[K+284>>2]+((l-k)*B-(n-m)*C)*+g[K+288>>2];S=((n-m)*A-(s-r)*B)*+g[K+264>>2]+((s-r)*C-(l-k)*A)*+g[K+268>>2]+((l-k)*B-(n-m)*C)*+g[K+272>>2];Q=i*+g[v>>2]*-z*+g[e+116>>2];R=i*+g[y>>2]*-z*+g[e+120>>2];g[e+64>>2]=+g[e+112>>2]*i*+g[q>>2]*-z+ +g[e+64>>2];g[e+68>>2]=Q+ +g[e+68>>2];g[e+72>>2]=R+ +g[e+72>>2];T=T*+g[e+100>>2]*-z;U=U*+g[e+104>>2]*-z;g[e+80>>2]=S*+g[e+96>>2]*-z+ +g[e+80>>2];g[e+84>>2]=T+ +g[e+84>>2];g[e+88>>2]=U+ +g[e+88>>2]}h=h+1|0}while((h|0)!=3)}do if(!(a[b+552>>0]|0)){i=+g[b+440>>2];if(!(i>1.1920928955078125e-07)){h=d+192|0;J=d+80|0;o=d+196|0;K=d+84|0;p=d+200|0;L=d+88|0;q=e+192|0;M=e+80|0;v=e+196|0;N=e+84|0;y=e+200|0;O=e+88|0;break}t=+g[d+80>>2];u=+g[d+84>>2];w=+g[d+88>>2];k=+g[e+192>>2]+ +g[e+80>>2]-(+g[d+192>>2]+t);m=+g[e+196>>2]+ +g[e+84>>2]-(+g[d+196>>2]+u);r=+g[e+200>>2]+ +g[e+88>>2]-(+g[d+200>>2]+w);if(k*k+m*m+r*r>1.1920928955078125e-07){n=1.0/+x(+(k*k+m*m+r*r));z=+g[J+264>>2];A=+g[J+280>>2];B=+g[J+296>>2];C=+g[J+268>>2];D=+g[J+284>>2];E=+g[J+300>>2];F=+g[J+272>>2];G=+g[J+288>>2];s=+g[J+304>>2];i=i*(1.0/(k*n*(k*n*z+m*n*A+r*n*B)+m*n*(k*n*C+m*n*D+r*n*E)+r*n*(k*n*F+m*n*G+r*n*s)+(k*n*(k*n*+g[K+264>>2]+m*n*+g[K+280>>2]+r*n*+g[K+296>>2])+m*n*(k*n*+g[K+268>>2]+m*n*+g[K+284>>2]+r*n*+g[K+300>>2])+r*n*(k*n*+g[K+272>>2]+m*n*+g[K+288>>2]+r*n*+g[K+304>>2]))));n=+x(+(r*i*r*i+(k*i*k*i+m*i*m*i)));l=k*i*(1.0/n);k=m*i*(1.0/n);i=r*i*(1.0/n);if(c[d+240>>2]|0){U=n*0.0*+g[d+116>>2];T=n*0.0*+g[d+120>>2];g[d+64>>2]=n*0.0*+g[d+112>>2]+ +g[d+64>>2];g[d+68>>2]=U+ +g[d+68>>2];g[d+72>>2]=T+ +g[d+72>>2];T=(l*A+k*D+i*G)*n*+g[d+100>>2];U=(l*B+k*E+i*s)*n*+g[d+104>>2];g[d+80>>2]=t+(l*z+k*C+i*F)*n*+g[d+96>>2];g[d+84>>2]=u+T;g[d+88>>2]=w+U}if(c[e+240>>2]|0){U=l*+g[K+296>>2]+k*+g[K+300>>2]+i*+g[K+304>>2];T=l*+g[K+280>>2]+k*+g[K+284>>2]+i*+g[K+288>>2];S=l*+g[K+264>>2]+k*+g[K+268>>2]+i*+g[K+272>>2];Q=n*-0.0*+g[e+116>>2];R=n*-0.0*+g[e+120>>2];g[e+64>>2]=n*-0.0*+g[e+112>>2]+ +g[e+64>>2];g[e+68>>2]=Q+ +g[e+68>>2];g[e+72>>2]=R+ +g[e+72>>2];T=T*+g[e+100>>2]*-n;U=U*+g[e+104>>2]*-n;g[e+80>>2]=S*+g[e+96>>2]*-n+ +g[e+80>>2];g[e+84>>2]=T+ +g[e+84>>2];g[e+88>>2]=U+ +g[e+88>>2];h=d+192|0;J=d+80|0;o=d+196|0;K=d+84|0;p=d+200|0;L=d+88|0;q=e+192|0;M=e+80|0;v=e+196|0;N=e+84|0;y=e+200|0;O=e+88|0}else{h=d+192|0;J=d+80|0;o=d+196|0;K=d+84|0;p=d+200|0;L=d+88|0;q=e+192|0;M=e+80|0;v=e+196|0;N=e+84|0;y=e+200|0;O=e+88|0}}else{h=d+192|0;J=d+80|0;o=d+196|0;K=d+84|0;p=d+200|0;L=d+88|0;q=e+192|0;M=e+80|0;v=e+196|0;N=e+84|0;y=e+200|0;O=e+88|0}}else{c[P+352>>2]=c[J+4>>2];c[P+352+4>>2]=c[J+4+4>>2];c[P+352+8>>2]=c[J+4+8>>2];c[P+352+12>>2]=c[J+4+12>>2];c[P+352+16>>2]=c[J+20>>2];c[P+352+16+4>>2]=c[J+20+4>>2];c[P+352+16+8>>2]=c[J+20+8>>2];c[P+352+16+12>>2]=c[J+20+12>>2];c[P+352+32>>2]=c[J+36>>2];c[P+352+32+4>>2]=c[J+36+4>>2];c[P+352+32+8>>2]=c[J+36+8>>2];c[P+352+32+12>>2]=c[J+36+12>>2];c[P+352+48>>2]=c[J+52>>2];c[P+352+48+4>>2]=c[J+52+4>>2];c[P+352+48+8>>2]=c[J+52+8>>2];c[P+352+48+12>>2]=c[J+52+12>>2];c[P+288>>2]=c[K+4>>2];c[P+288+4>>2]=c[K+4+4>>2];c[P+288+8>>2]=c[K+4+8>>2];c[P+288+12>>2]=c[K+4+12>>2];c[P+288+16>>2]=c[K+20>>2];c[P+288+16+4>>2]=c[K+20+4>>2];c[P+288+16+8>>2]=c[K+20+8>>2];c[P+288+16+12>>2]=c[K+20+12>>2];c[P+288+32>>2]=c[K+36>>2];c[P+288+32+4>>2]=c[K+36+4>>2];c[P+288+32+8>>2]=c[K+36+8>>2];c[P+288+32+12>>2]=c[K+36+12>>2];c[P+288+48>>2]=c[K+52>>2];c[P+288+48+4>>2]=c[K+52+4>>2];c[P+288+48+8>>2]=c[K+52+8>>2];c[P+288+48+12>>2]=c[K+52+12>>2];S=+g[d+196>>2]+ +g[d+84>>2];t=+g[d+200>>2]+ +g[d+88>>2];g[P+272>>2]=+g[d+192>>2]+ +g[d+80>>2];g[P+272+4>>2]=S;g[P+272+8>>2]=t;g[P+272+12>>2]=0.0;t=+g[e+196>>2]+ +g[e+84>>2];S=+g[e+200>>2]+ +g[e+88>>2];g[P+256>>2]=+g[e+192>>2]+ +g[e+80>>2];g[P+256+4>>2]=t;g[P+256+8>>2]=S;g[P+256+12>>2]=0.0;c[P+192>>2]=1065353216;N=P+192+4|0;c[N>>2]=0;c[N+4>>2]=0;c[N+8>>2]=0;c[N+12>>2]=0;c[P+192+20>>2]=1065353216;O=P+192+24|0;c[O>>2]=0;c[O+4>>2]=0;c[O+8>>2]=0;c[O+12>>2]=0;c[P+192+40>>2]=1065353216;L=P+192+44|0;c[L>>2]=0;c[L+4>>2]=0;c[L+8>>2]=0;c[L+12>>2]=0;c[L+16>>2]=0;jg(P+352|0,0.0,0.0,0.0,P+272|0,f,P+192|0);c[P+128>>2]=1065353216;L=P+128+4|0;c[L>>2]=0;c[L+4>>2]=0;c[L+8>>2]=0;c[L+12>>2]=0;c[P+128+20>>2]=1065353216;M=P+128+24|0;c[M>>2]=0;c[M+4>>2]=0;c[M+8>>2]=0;c[M+12>>2]=0;c[P+128+40>>2]=1065353216;K=P+128+44|0;c[K>>2]=0;c[K+4>>2]=0;c[K+8>>2]=0;c[K+12>>2]=0;c[K+16>>2]=0;jg(P+288|0,0.0,0.0,0.0,P+256|0,f,P+128|0);S=+g[b+556>>2];t=+g[b+560>>2];T=+g[b+564>>2];u=+g[b+568>>2];G=S*(2.0/(S*S+t*t+T*T+u*u));B=t*(2.0/(S*S+t*t+T*T+u*u));H=T*(2.0/(S*S+t*t+T*T+u*u));W=+g[b+364>>2];V=+g[b+368>>2];Z=+g[b+372>>2];k=Z*(S*H-u*B)+(V*(S*B+u*H)+W*(1.0-(t*B+T*H)));l=Z*(t*H+u*G)+(W*(S*B-u*H)+V*(1.0-(S*G+T*H)));m=W*(S*H+u*B)+V*(t*H-u*G)+Z*(1.0-(S*G+t*B));i=+g[b+380>>2];F=+g[b+384>>2];C=+g[b+388>>2];n=(S*H-u*B)*C+(F*(S*B+u*H)+i*(1.0-(t*B+T*H)));r=(t*H+u*G)*C+(i*(S*B-u*H)+F*(1.0-(S*G+T*H)));s=i*(S*H+u*B)+F*(t*H-u*G)+C*(1.0-(S*G+t*B));Q=+g[b+396>>2];D=+g[b+400>>2];A=+g[b+404>>2];R=(1.0-(t*B+T*H))*Q+(S*B+u*H)*D+(S*H-u*B)*A;T=(S*B-u*H)*Q+(1.0-(S*G+T*H))*D+(t*H+u*G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*U+B*z)*i;g[P+28>>2]=0.0;g[P+32>>2]=(k*t+l*u+m*E)*F+(k*G+l*H+m*I)*Q+(k*S+l*U+m*z)*D;g[P+36>>2]=(n*t+r*u+s*E)*F+(n*G+r*H+s*I)*Q+(n*S+r*U+s*z)*D;g[P+40>>2]=(R*t+T*u+B*E)*F+(R*G+T*H+B*I)*Q+(R*S+T*U+B*z)*D;g[P+44>>2]=0.0;g[P+48>>2]=A;g[P+52>>2]=w;g[P+56>>2]=C;g[P+60>>2]=0.0;Se(P+352|0,P+64|0,P+424|0,P+416|0);C=+g[P+416>>2];w=1.0/f*+g[P+424>>2]*C;A=1.0/f*C*+g[P+424+4>>2];C=1.0/f*C*+g[P+424+8>>2];Se(P+288|0,P,P+424|0,P+416|0);D=+g[P+416>>2];w=w-+g[P+272>>2];A=A-+g[P+272+4>>2];C=C-+g[P+272+8>>2];z=1.0/f*+g[P+424>>2]*D-+g[P+256>>2];B=1.0/f*D*+g[P+424+4>>2]-+g[P+256+4>>2];D=1.0/f*D*+g[P+424+8>>2]-+g[P+256+8>>2];if(w*w+A*A+C*C>1.1920928955078125e-07){t=1.0/+x(+(w*w+A*A+C*C));O=c[b+28>>2]|0;n=w*t*(w*t*+g[O+264>>2]+A*t*+g[O+280>>2]+C*t*+g[O+296>>2])+A*t*(w*t*+g[O+268>>2]+A*t*+g[O+284>>2]+C*t*+g[O+300>>2])+C*t*(w*t*+g[O+272>>2]+A*t*+g[O+288>>2]+C*t*+g[O+304>>2]);k=w*t;m=A*t;t=C*t}else{n=0.0;k=0.0;m=0.0;t=0.0}if(z*z+B*B+D*D>1.1920928955078125e-07){s=1.0/+x(+(z*z+B*B+D*D));O=c[b+32>>2]|0;r=z*s*(z*s*+g[O+264>>2]+B*s*+g[O+280>>2]+D*s*+g[O+296>>2])+B*s*(z*s*+g[O+268>>2]+B*s*+g[O+284>>2]+D*s*+g[O+300>>2])+D*s*(z*s*+g[O+272>>2]+B*s*+g[O+288>>2]+D*s*+g[O+304>>2]);i=z*s;l=B*s;s=D*s}else{r=0.0;i=0.0;l=0.0;s=0.0}u=n*k+r*i;k=n*m+r*l;i=n*t+r*s;if(u*u+k*k+i*i>1.1920928955078125e-07){n=1.0/+x(+(u*u+k*k+i*i));h=c[b+28>>2]|0;l=u*n*(u*n*+g[h+264>>2]+k*n*+g[h+280>>2]+i*n*+g[h+296>>2])+k*n*(u*n*+g[h+268>>2]+k*n*+g[h+284>>2]+i*n*+g[h+300>>2])+i*n*(u*n*+g[h+272>>2]+k*n*+g[h+288>>2]+i*n*+g[h+304>>2]);o=c[b+32>>2]|0;n=u*n*(u*n*+g[o+264>>2]+k*n*+g[o+280>>2]+i*n*+g[o+296>>2])+k*n*(u*n*+g[o+268>>2]+k*n*+g[o+284>>2]+i*n*+g[o+300>>2])+i*n*(u*n*+g[o+272>>2]+k*n*+g[o+288>>2]+i*n*+g[o+304>>2]);z=(w*l-z*n)*(1.0/((l+n)*(l+n)));i=(A*l-B*n)*(1.0/((l+n)*(l+n)));n=(C*l-D*n)*(1.0/((l+n)*(l+n)));k=+g[b+572>>2];if(!(k>=0.0))k=z;else{s=(a[b+553>>0]|0)==0?k:k/l;k=+g[b+576>>2];m=+g[b+580>>2];l=+g[b+584>>2];r=+x(+((z+k)*(z+k)+(i+m)*(i+m)+(n+l)*(n+l)));if(r>s){t=m+(s*(i+m)*(1.0/r)-m);u=l+(s*(n+l)*(1.0/r)-l);w=k+(s*(z+k)*(1.0/r)-k);k=s*(z+k)*(1.0/r)-k;n=s*(n+l)*(1.0/r)-l;i=s*(i+m)*(1.0/r)-m}else{t=i+m;u=n+l;w=z+k;k=z}g[b+576>>2]=w;g[b+580>>2]=t;g[b+584>>2]=u}m=+x(+(k*k+i*i+n*n));l=k*(1.0/m);k=i*(1.0/m);i=n*(1.0/m);if(c[d+240>>2]|0){aa=l*+g[h+296>>2]+k*+g[h+300>>2]+i*+g[h+304>>2];$=l*+g[h+280>>2]+k*+g[h+284>>2]+i*+g[h+288>>2];_=l*+g[h+264>>2]+k*+g[h+268>>2]+i*+g[h+272>>2];Y=m*0.0*+g[d+116>>2];Z=m*0.0*+g[d+120>>2];g[d+64>>2]=m*0.0*+g[d+112>>2]+ +g[d+64>>2];g[d+68>>2]=Y+ +g[d+68>>2];g[d+72>>2]=Z+ +g[d+72>>2];$=$*m*+g[d+100>>2];aa=aa*m*+g[d+104>>2];g[d+80>>2]=_*m*+g[d+96>>2]+ +g[d+80>>2];g[d+84>>2]=$+ +g[d+84>>2];g[d+88>>2]=aa+ +g[d+88>>2]}if(c[e+240>>2]|0){aa=l*+g[o+296>>2]+k*+g[o+300>>2]+i*+g[o+304>>2];$=l*+g[o+280>>2]+k*+g[o+284>>2]+i*+g[o+288>>2];_=l*+g[o+264>>2]+k*+g[o+268>>2]+i*+g[o+272>>2];Y=m*-0.0*+g[e+116>>2];Z=m*-0.0*+g[e+120>>2];g[e+64>>2]=m*-0.0*+g[e+112>>2]+ +g[e+64>>2];g[e+68>>2]=Y+ +g[e+68>>2];g[e+72>>2]=Z+ +g[e+72>>2];$=$*+g[e+100>>2]*-m;aa=aa*+g[e+104>>2]*-m;g[e+80>>2]=_*+g[e+96>>2]*-m+ +g[e+80>>2];g[e+84>>2]=$+ +g[e+84>>2];g[e+88>>2]=aa+ +g[e+88>>2]}}h=d+192|0;J=d+80|0;o=d+196|0;K=d+84|0;p=d+200|0;L=d+88|0;q=e+192|0;M=e+80|0;v=e+196|0;N=e+84|0;y=e+200|0;O=e+88|0}while(0);z=+g[h>>2]+ +g[J>>2];w=+g[o>>2]+ +g[K>>2];u=+g[p>>2]+ +g[L>>2];t=+g[q>>2]+ +g[M>>2];s=+g[v>>2]+ +g[N>>2];r=+g[y>>2]+ +g[O>>2];if(a[b+526>>0]|0){k=+g[b+528>>2];i=k*+g[b+504>>2]*+g[b+432>>2]/f;l=+g[b+460>>2];m=+g[b+464>>2];n=+g[b+468>>2];if((t-z)*l+(s-w)*m+(r-u)*n>0.0)i=i+k*((t-z)*l+(s-w)*m+(r-u)*n)*+g[b+436>>2];$=+g[b+516>>2];Z=$+i*+g[b+492>>2];g[P+424>>2]=Z;g[P+416>>2]=0.0;h=c[(Z>0.0?P+424|0:P+416|0)>>2]|0;c[b+516>>2]=h;$=(c[j>>2]=h,+g[j>>2])-$;Z=+g[b+536>>2];_=+g[b+540>>2];i=+g[b+544>>2];k=l*$-Z*(l*$*Z+m*$*_+n*$*i);aa=m*$-_*(l*$*Z+m*$*_+n*$*i);m=n*$-i*(l*$*Z+m*$*_+n*$*i);i=+x(+(m*m+(k*k+aa*aa)));k=k*(1.0/i);l=aa*(1.0/i);m=m*(1.0/i);h=c[b+28>>2]|0;if(c[d+240>>2]|0){aa=k*+g[h+296>>2]+l*+g[h+300>>2]+m*+g[h+304>>2];$=k*+g[h+280>>2]+l*+g[h+284>>2]+m*+g[h+288>>2];_=k*+g[h+264>>2]+l*+g[h+268>>2]+m*+g[h+272>>2];Y=i*0.0*+g[d+116>>2];Z=i*0.0*+g[d+120>>2];g[d+64>>2]=i*0.0*+g[d+112>>2]+ +g[d+64>>2];g[d+68>>2]=Y+ +g[d+68>>2];g[d+72>>2]=Z+ +g[d+72>>2];$=$*i*+g[d+100>>2];aa=aa*i*+g[d+104>>2];g[J>>2]=_*i*+g[d+96>>2]+ +g[J>>2];g[K>>2]=$+ +g[K>>2];g[L>>2]=aa+ +g[L>>2]}h=c[b+32>>2]|0;if(c[e+240>>2]|0){aa=k*+g[h+296>>2]+l*+g[h+300>>2]+m*+g[h+304>>2];$=k*+g[h+280>>2]+l*+g[h+284>>2]+m*+g[h+288>>2];_=k*+g[h+264>>2]+l*+g[h+268>>2]+m*+g[h+272>>2];Y=i*-0.0*+g[e+116>>2];Z=i*-0.0*+g[e+120>>2];g[e+64>>2]=i*-0.0*+g[e+112>>2]+ +g[e+64>>2];g[e+68>>2]=Y+ +g[e+68>>2];g[e+72>>2]=Z+ +g[e+72>>2];$=$*+g[e+100>>2]*-i;aa=aa*+g[e+104>>2]*-i;g[M>>2]=_*+g[e+96>>2]*-i+ +g[M>>2];g[N>>2]=$+ +g[N>>2];g[O>>2]=aa+ +g[O>>2]}}if(!(a[b+525>>0]|0)){sa=P;return}n=+g[b+532>>2];m=n*+g[b+508>>2]*+g[b+432>>2]/f;l=+g[b+476>>2];k=+g[b+480>>2];i=+g[b+484>>2];if((t-z)*l+(s-w)*k+(r-u)*i>0.0)m=m+n*((t-z)*l+(s-w)*k+(r-u)*i)*+g[b+436>>2];aa=+g[b+520>>2];m=aa+m*+g[b+496>>2];g[P+424>>2]=m;g[P+416>>2]=0.0;h=c[(m>0.0?P+424|0:P+416|0)>>2]|0;c[b+520>>2]=h;m=(c[j>>2]=h,+g[j>>2])-aa;h=c[b+28>>2]|0;if(c[d+240>>2]|0){aa=l*+g[h+296>>2]+k*+g[h+300>>2]+i*+g[h+304>>2];$=l*+g[h+280>>2]+k*+g[h+284>>2]+i*+g[h+288>>2];i=l*+g[h+264>>2]+k*+g[h+268>>2]+i*+g[h+272>>2];l=m*0.0*+g[d+116>>2];k=m*0.0*+g[d+120>>2];g[d+64>>2]=m*0.0*+g[d+112>>2]+ +g[d+64>>2];g[d+68>>2]=l+ +g[d+68>>2];g[d+72>>2]=k+ +g[d+72>>2];k=$*m*+g[d+100>>2];l=aa*m*+g[d+104>>2];g[J>>2]=i*m*+g[d+96>>2]+ +g[J>>2];g[K>>2]=k+ +g[K>>2];g[L>>2]=l+ +g[L>>2];l=+g[b+476>>2];k=+g[b+480>>2];i=+g[b+484>>2]}h=c[b+32>>2]|0;if(!(c[e+240>>2]|0)){sa=P;return}aa=l*+g[h+296>>2]+k*+g[h+300>>2]+i*+g[h+304>>2];$=l*+g[h+280>>2]+k*+g[h+284>>2]+i*+g[h+288>>2];_=l*+g[h+264>>2]+k*+g[h+268>>2]+i*+g[h+272>>2];Y=m*-0.0*+g[e+116>>2];Z=m*-0.0*+g[e+120>>2];g[e+64>>2]=m*-0.0*+g[e+112>>2]+ +g[e+64>>2];g[e+68>>2]=Y+ +g[e+68>>2];g[e+72>>2]=Z+ +g[e+72>>2];$=$*+g[e+100>>2]*-m;aa=aa*+g[e+104>>2]*-m;g[M>>2]=_*+g[e+96>>2]*-m+ +g[M>>2];g[N>>2]=$+ +g[N>>2];g[O>>2]=aa+ +g[O>>2];sa=P;return}function xb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=sa;sa=sa+16|0;do if(a>>>0<245){m=a>>>0<11?16:a+11&-8;e=3?m>>>3:m;n=c[7201]|0;f=e?n>>>e:n;if(f&3|0){a=28844+((f&1^1)+e<<1<<2)|0;b=c[a+8>>2]|0;d=c[b+8>>2]|0;if((d|0)==(a|0))c[7201]=n&~(1<<(f&1^1)+e);else{c[d+12>>2]=a;c[a+8>>2]=d}c[b+4>>2]=(f&1^1)+e<<3|3;c[b+((f&1^1)+e<<3)+4>>2]=c[b+((f&1^1)+e<<3)+4>>2]|1;u=b+8|0;sa=v;return u|0}l=c[7203]|0;if(m>>>0>l>>>0){if(f|0){f=(f<>>12:f)&16;f=t?f>>>t:f;s=(5?f>>>5:f)&8;f=s?f>>>s:f;u=(2?f>>>2:f)&4;f=u?f>>>u:f;a=(1?f>>>1:f)&2;f=a?f>>>a:f;g=(1?f>>>1:f)&1;f=(s|t|u|a|g)+(g?f>>>g:f)|0;g=c[28844+(f<<1<<2)+8>>2]|0;a=c[g+8>>2]|0;if((a|0)==(28844+(f<<1<<2)|0)){c[7201]=n&~(1<>2]=28844+(f<<1<<2);c[28844+(f<<1<<2)+8>>2]=a;a=n}c[g+4>>2]=m|3;c[g+m+4>>2]=(f<<3)-m|1;c[g+(f<<3)>>2]=(f<<3)-m;if(l|0){e=c[7206]|0;d=3?l>>>3:l;if(!(a&1<>2]|0;b=28844+(d<<1<<2)+8|0}c[b>>2]=e;c[a+12>>2]=e;c[e+8>>2]=a;c[e+12>>2]=28844+(d<<1<<2)}c[7203]=(f<<3)-m;c[7206]=g+m;u=g+8|0;sa=v;return u|0}h=c[7202]|0;if(h){f=(12?((h&0-h)+-1|0)>>>12:(h&0-h)+-1|0)&16;k=f?((h&0-h)+-1|0)>>>f:(h&0-h)+-1|0;e=(5?k>>>5:k)&8;k=e?k>>>e:k;i=(2?k>>>2:k)&4;k=i?k>>>i:k;j=(1?k>>>1:k)&2;k=j?k>>>j:k;b=(1?k>>>1:k)&1;k=c[29108+((e|f|i|j|b)+(b?k>>>b:k)<<2)>>2]|0;b=k;j=k;k=(c[k+4>>2]&-8)-m|0;while(1){a=c[b+16>>2]|0;if(!a){a=c[b+20>>2]|0;if(!a)break}i=(c[a+4>>2]&-8)-m|0;f=i>>>0>>0;b=a;j=f?a:j;k=f?i:k}i=j+m|0;if(i>>>0>j>>>0){f=c[j+24>>2]|0;a=c[j+12>>2]|0;do if((a|0)==(j|0)){b=j+20|0;a=c[b>>2]|0;if(!a){b=j+16|0;a=c[b>>2]|0;if(!a){b=0;break}}while(1){e=a+20|0;d=c[e>>2]|0;if(!d){e=a+16|0;d=c[e>>2]|0;if(!d)break;else{a=d;b=e}}else{a=d;b=e}}c[b>>2]=0;b=a}else{b=c[j+8>>2]|0;c[b+12>>2]=a;c[a+8>>2]=b;b=a}while(0);do if(f|0){a=c[j+28>>2]|0;if((j|0)==(c[29108+(a<<2)>>2]|0)){c[29108+(a<<2)>>2]=b;if(!b){c[7202]=h&~(1<>2]|0)==(j|0)?f+16|0:f+20|0)>>2]=b;if(!b)break}c[b+24>>2]=f;a=c[j+16>>2]|0;if(a|0){c[b+16>>2]=a;c[a+24>>2]=b}a=c[j+20>>2]|0;if(a|0){c[b+20>>2]=a;c[a+24>>2]=b}}while(0);if(k>>>0<16){u=k+m|0;c[j+4>>2]=u|3;u=j+u+4|0;c[u>>2]=c[u>>2]|1}else{c[j+4>>2]=m|3;c[i+4>>2]=k|1;c[i+k>>2]=k;if(l|0){e=c[7206]|0;d=3?l>>>3:l;if(!(1<>2]|0;b=28844+(d<<1<<2)+8|0}c[b>>2]=e;c[a+12>>2]=e;c[e+8>>2]=a;c[e+12>>2]=28844+(d<<1<<2)}c[7203]=k;c[7206]=i}u=j+8|0;sa=v;return u|0}}}}else if(a>>>0<=4294967231){m=a+11&-8;e=c[7202]|0;if(e){a=8?(a+11|0)>>>8:a+11|0;if(a)if(m>>>0>16777215)j=31;else{n=(16?(a+1048320|0)>>>16:a+1048320|0)&8;r=(16?((a<>>16:(a<>>16:(a<>>15:a<>>(j+7|0):m)&1|j<<1}else j=0;a=c[29108+(j<<2)>>2]|0;a:do if(!a){d=0;a=0;b=0-m|0;r=61}else{h=0;b=0-m|0;i=m<<((j|0)==31?0:25-(1?j>>>1:j)|0);d=0;while(1){f=(c[a+4>>2]&-8)-m|0;if(f>>>0>>0)if(!f){f=a;b=0;d=a;r=65;break a}else{h=a;b=f}r=c[a+20>>2]|0;a=c[a+16+((31?i>>>31:i)<<2)>>2]|0;d=(r|0)==0|(r|0)==(a|0)?d:r;if(!a){a=h;r=61;break}else i=i<<1}}while(0);if((r|0)==61){if((d|0)==0&(a|0)==0){a=2<>>12:d)&16;d=i?d>>>i:d;h=(5?d>>>5:d)&8;d=h?d>>>h:d;j=(2?d>>>2:d)&4;d=j?d>>>j:d;l=(1?d>>>1:d)&2;d=l?d>>>l:d;n=(1?d>>>1:d)&1;a=0;d=c[29108+((h|i|j|l|n)+(n?d>>>n:d)<<2)>>2]|0}if(!d){i=a;h=b}else{f=a;r=65}}if((r|0)==65)while(1){n=(c[d+4>>2]&-8)-m|0;a=n>>>0>>0;b=a?n:b;f=a?d:f;a=c[d+16>>2]|0;if(!a)a=c[d+20>>2]|0;if(!a){i=f;h=b;break}else d=a}if(((i|0)!=0?h>>>0<((c[7203]|0)-m|0)>>>0:0)?(k=i+m|0,k>>>0>i>>>0):0){g=c[i+24>>2]|0;a=c[i+12>>2]|0;do if((a|0)==(i|0)){b=i+20|0;a=c[b>>2]|0;if(!a){b=i+16|0;a=c[b>>2]|0;if(!a){a=0;break}}while(1){f=a+20|0;d=c[f>>2]|0;if(!d){f=a+16|0;d=c[f>>2]|0;if(!d)break;else{a=d;b=f}}else{a=d;b=f}}c[b>>2]=0}else{u=c[i+8>>2]|0;c[u+12>>2]=a;c[a+8>>2]=u}while(0);do if(g){b=c[i+28>>2]|0;if((i|0)==(c[29108+(b<<2)>>2]|0)){c[29108+(b<<2)>>2]=a;if(!a){c[7202]=e&~(1<>2]|0)==(i|0)?g+16|0:g+20|0)>>2]=a;if(!a)break}c[a+24>>2]=g;b=c[i+16>>2]|0;if(b|0){c[a+16>>2]=b;c[b+24>>2]=a}b=c[i+20>>2]|0;if(b){c[a+20>>2]=b;c[b+24>>2]=a}}while(0);b:do if(h>>>0<16){u=h+m|0;c[i+4>>2]=u|3;u=i+u+4|0;c[u>>2]=c[u>>2]|1}else{c[i+4>>2]=m|3;c[k+4>>2]=h|1;c[k+h>>2]=h;d=3?h>>>3:h;if(h>>>0<256){a=c[7201]|0;if(!(a&1<>2]|0;b=28844+(d<<1<<2)+8|0}c[b>>2]=k;c[a+12>>2]=k;c[k+8>>2]=a;c[k+12>>2]=28844+(d<<1<<2);break}a=8?h>>>8:h;if(a)if(h>>>0>16777215)d=31;else{t=(16?(a+1048320|0)>>>16:a+1048320|0)&8;u=(16?((a<>>16:(a<>>16:(a<>>15:a<>>(d+7|0):h)&1|d<<1}else d=0;a=29108+(d<<2)|0;c[k+28>>2]=d;c[k+16+4>>2]=0;c[k+16>>2]=0;b=1<>2]=k;c[k+24>>2]=a;c[k+12>>2]=k;c[k+8>>2]=k;break}a=c[a>>2]|0;c:do if((c[a+4>>2]&-8|0)!=(h|0)){e=h<<((d|0)==31?0:25-(1?d>>>1:d)|0);while(1){d=a+16+((31?e>>>31:e)<<2)|0;b=c[d>>2]|0;if(!b)break;if((c[b+4>>2]&-8|0)==(h|0)){a=b;break c}else{e=e<<1;a=b}}c[d>>2]=k;c[k+24>>2]=a;c[k+12>>2]=k;c[k+8>>2]=k;break b}while(0);t=a+8|0;u=c[t>>2]|0;c[u+12>>2]=k;c[t>>2]=k;c[k+8>>2]=u;c[k+12>>2]=a;c[k+24>>2]=0}while(0);u=i+8|0;sa=v;return u|0}}}else m=-1;while(0);d=c[7203]|0;if(d>>>0>=m>>>0){a=d-m|0;b=c[7206]|0;if(a>>>0>15){u=b+m|0;c[7206]=u;c[7203]=a;c[u+4>>2]=a|1;c[b+d>>2]=a;c[b+4>>2]=m|3}else{c[7203]=0;c[7206]=0;c[b+4>>2]=d|3;c[b+d+4>>2]=c[b+d+4>>2]|1}u=b+8|0;sa=v;return u|0}f=c[7204]|0;if(f>>>0>m>>>0){s=f-m|0;c[7204]=s;u=c[7207]|0;t=u+m|0;c[7207]=t;c[t+4>>2]=s|1;c[u+4>>2]=m|3;u=u+8|0;sa=v;return u|0}if(!(c[7319]|0)){c[7321]=4096;c[7320]=4096;c[7322]=-1;c[7323]=-1;c[7324]=0;c[7312]=0;c[7319]=v&-16^1431655768;a=4096}else a=c[7321]|0;h=m+48|0;i=m+47|0;k=a+i|0;j=0-a|0;if((k&j)>>>0<=m>>>0){u=0;sa=v;return u|0}a=c[7311]|0;if(a|0?(n=c[7309]|0,(n+(k&j)|0)>>>0<=n>>>0?1:(n+(k&j)|0)>>>0>a>>>0):0){u=0;sa=v;return u|0}d:do if(!(c[7312]&4)){d=c[7207]|0;e:do if(d){b=29252;while(1){a=c[b>>2]|0;if(a>>>0<=d>>>0?(o=b+4|0,(a+(c[o>>2]|0)|0)>>>0>d>>>0):0)break;a=c[b+8>>2]|0;if(!a){r=128;break e}else b=a}if((k-f&j)>>>0<2147483647){a=io(k-f&j|0)|0;if((a|0)==((c[b>>2]|0)+(c[o>>2]|0)|0))if((a|0)==(-1|0))a=k-f&j;else{h=k-f&j;g=a;r=145;break d}else{e=a;d=k-f&j;r=136}}else a=0}else r=128;while(0);do if((r|0)==128){b=io(0)|0;if((b|0)!=(-1|0)?(q=c[7320]|0,q=((q+-1&b|0)==0?0:(q+-1+b&0-q)-b|0)+(k&j)|0,p=c[7309]|0,q>>>0>m>>>0&q>>>0<2147483647):0){o=c[7311]|0;if(o|0?(q+p|0)>>>0<=p>>>0|(q+p|0)>>>0>o>>>0:0){a=0;break}a=io(q|0)|0;if((a|0)==(b|0)){h=q;g=b;r=145;break d}else{e=a;d=q;r=136}}else a=0}while(0);do if((r|0)==136){b=0-d|0;if(!(h>>>0>d>>>0&(d>>>0<2147483647&(e|0)!=(-1|0))))if((e|0)==(-1|0)){a=0;break}else{h=d;g=e;r=145;break d}a=c[7321]|0;a=i-d+a&0-a;if(a>>>0>=2147483647){h=d;g=e;r=145;break d}if((io(a|0)|0)==(-1|0)){io(b|0)|0;a=0;break}else{h=a+d|0;g=e;r=145;break d}}while(0);c[7312]=c[7312]|4;r=143}else{a=0;r=143}while(0);if(((r|0)==143?(k&j)>>>0<2147483647:0)?(g=io(k&j|0)|0,s=io(0)|0,t=(s-g|0)>>>0>(m+40|0)>>>0,!((g|0)==(-1|0)|t^1|g>>>0>>0&((g|0)!=(-1|0)&(s|0)!=(-1|0))^1)):0){h=t?s-g|0:a;r=145}if((r|0)==145){a=(c[7309]|0)+h|0;c[7309]=a;if(a>>>0>(c[7310]|0)>>>0)c[7310]=a;j=c[7207]|0;f:do if(j){a=29252;while(1){b=c[a>>2]|0;d=a+4|0;e=c[d>>2]|0;if((g|0)==(b+e|0)){r=154;break}f=c[a+8>>2]|0;if(!f)break;else a=f}if(((r|0)==154?(c[a+12>>2]&8|0)==0:0)?g>>>0>j>>>0&b>>>0<=j>>>0:0){c[d>>2]=e+h;u=(c[7204]|0)+h|0;t=(j+8&7|0)==0?0:0-(j+8)&7;c[7207]=j+t;c[7204]=u-t;c[j+t+4>>2]=u-t|1;c[j+u+4>>2]=40;c[7208]=c[7323];break}if(g>>>0<(c[7205]|0)>>>0)c[7205]=g;d=g+h|0;a=29252;while(1){if((c[a>>2]|0)==(d|0)){r=162;break}b=c[a+8>>2]|0;if(!b)break;else a=b}if((r|0)==162?(c[a+12>>2]&8|0)==0:0){c[a>>2]=g;l=a+4|0;c[l>>2]=(c[l>>2]|0)+h;l=g+8|0;l=g+((l&7|0)==0?0:0-l&7)|0;a=d+((d+8&7|0)==0?0:0-(d+8)&7)|0;k=l+m|0;i=a-l-m|0;c[l+4>>2]=m|3;g:do if((j|0)==(a|0)){u=(c[7204]|0)+i|0;c[7204]=u;c[7207]=k;c[k+4>>2]=u|1}else{if((c[7206]|0)==(a|0)){u=(c[7203]|0)+i|0;c[7203]=u;c[7206]=k;c[k+4>>2]=u|1;c[k+u>>2]=u;break}h=c[a+4>>2]|0;if((h&3|0)==1){b=3?h>>>3:h;h:do if(h>>>0<256){d=c[a+8>>2]|0;e=c[a+12>>2]|0;if((e|0)==(d|0)){c[7201]=c[7201]&~(1<>2]=e;c[e+8>>2]=d;break}}else{g=c[a+24>>2]|0;b=c[a+12>>2]|0;do if((b|0)==(a|0)){b=c[a+16+4>>2]|0;if(!b){b=c[a+16>>2]|0;if(!b){b=0;break}else d=a+16|0}else d=a+16+4|0;while(1){f=b+20|0;e=c[f>>2]|0;if(!e){f=b+16|0;e=c[f>>2]|0;if(!e)break;else{b=e;d=f}}else{b=e;d=f}}c[d>>2]=0}else{u=c[a+8>>2]|0;c[u+12>>2]=b;c[b+8>>2]=u}while(0);if(!g)break;d=c[a+28>>2]|0;do if((c[29108+(d<<2)>>2]|0)!=(a|0)){c[((c[g+16>>2]|0)==(a|0)?g+16|0:g+20|0)>>2]=b;if(!b)break h}else{c[29108+(d<<2)>>2]=b;if(b|0)break;c[7202]=c[7202]&~(1<>2]=g;d=c[a+16>>2]|0;if(d|0){c[b+16>>2]=d;c[d+24>>2]=b}d=c[a+16+4>>2]|0;if(!d)break;c[b+20>>2]=d;c[d+24>>2]=b}while(0);a=a+(h&-8)|0;f=(h&-8)+i|0}else f=i;d=a+4|0;c[d>>2]=c[d>>2]&-2;c[k+4>>2]=f|1;c[k+f>>2]=f;d=3?f>>>3:f;if(f>>>0<256){a=c[7201]|0;if(!(a&1<>2]|0;b=28844+(d<<1<<2)+8|0}c[b>>2]=k;c[a+12>>2]=k;c[k+8>>2]=a;c[k+12>>2]=28844+(d<<1<<2);break}a=8?f>>>8:f;do if(!a)e=0;else{if(f>>>0>16777215){e=31;break}t=(16?(a+1048320|0)>>>16:a+1048320|0)&8;u=(16?((a<>>16:(a<>>16:(a<>>15:a<>>(e+7|0):f)&1|e<<1}while(0);a=29108+(e<<2)|0;c[k+28>>2]=e;c[k+16+4>>2]=0;c[k+16>>2]=0;b=c[7202]|0;d=1<>2]=k;c[k+24>>2]=a;c[k+12>>2]=k;c[k+8>>2]=k;break}a=c[a>>2]|0;i:do if((c[a+4>>2]&-8|0)!=(f|0)){e=f<<((e|0)==31?0:25-(1?e>>>1:e)|0);while(1){d=a+16+((31?e>>>31:e)<<2)|0;b=c[d>>2]|0;if(!b)break;if((c[b+4>>2]&-8|0)==(f|0)){a=b;break i}else{e=e<<1;a=b}}c[d>>2]=k;c[k+24>>2]=a;c[k+12>>2]=k;c[k+8>>2]=k;break g}while(0);t=a+8|0;u=c[t>>2]|0;c[u+12>>2]=k;c[t>>2]=k;c[k+8>>2]=u;c[k+12>>2]=a;c[k+24>>2]=0}while(0);u=l+8|0;sa=v;return u|0}a=29252;while(1){b=c[a>>2]|0;if(b>>>0<=j>>>0?(u=b+(c[a+4>>2]|0)|0,u>>>0>j>>>0):0)break;a=c[a+8>>2]|0}f=u+-47+((u+-47+8&7|0)==0?0:0-(u+-47+8)&7)|0;f=f>>>0<(j+16|0)>>>0?j:f;a=h+-40|0;s=g+8|0;s=(s&7|0)==0?0:0-s&7;t=g+s|0;c[7207]=t;c[7204]=a-s;c[t+4>>2]=a-s|1;c[g+a+4>>2]=40;c[7208]=c[7323];c[f+4>>2]=27;c[f+8>>2]=c[7313];c[f+8+4>>2]=c[7314];c[f+8+8>>2]=c[7315];c[f+8+12>>2]=c[7316];c[7313]=g;c[7314]=h;c[7316]=0;c[7315]=f+8;a=f+24|0;do{t=a;a=a+4|0;c[a>>2]=7}while((t+8|0)>>>0>>0);if((f|0)!=(j|0)){c[f+4>>2]=c[f+4>>2]&-2;c[j+4>>2]=f-j|1;c[f>>2]=f-j;d=3?(f-j|0)>>>3:f-j|0;if((f-j|0)>>>0<256){a=c[7201]|0;if(!(a&1<>2]|0;b=28844+(d<<1<<2)+8|0}c[b>>2]=j;c[a+12>>2]=j;c[j+8>>2]=a;c[j+12>>2]=28844+(d<<1<<2);break}a=8?(f-j|0)>>>8:f-j|0;if(a)if((f-j|0)>>>0>16777215)e=31;else{t=(16?(a+1048320|0)>>>16:a+1048320|0)&8;u=(16?((a<>>16:(a<>>16:(a<>>15:a<>>(e+7|0):f-j|0)&1|e<<1}else e=0;a=29108+(e<<2)|0;c[j+28>>2]=e;c[j+20>>2]=0;c[j+16>>2]=0;b=c[7202]|0;d=1<>2]=j;c[j+24>>2]=a;c[j+12>>2]=j;c[j+8>>2]=j;break}a=c[a>>2]|0;j:do if((c[a+4>>2]&-8|0)!=(f-j|0)){e=f-j<<((e|0)==31?0:25-(1?e>>>1:e)|0);while(1){d=a+16+((31?e>>>31:e)<<2)|0;b=c[d>>2]|0;if(!b)break;if((c[b+4>>2]&-8|0)==(f-j|0)){a=b;break j}else{e=e<<1;a=b}}c[d>>2]=j;c[j+24>>2]=a;c[j+12>>2]=j;c[j+8>>2]=j;break f}while(0);t=a+8|0;u=c[t>>2]|0;c[u+12>>2]=j;c[t>>2]=j;c[j+8>>2]=u;c[j+12>>2]=a;c[j+24>>2]=0}}else{u=c[7205]|0;if((u|0)==0|g>>>0>>0)c[7205]=g;c[7313]=g;c[7314]=h;c[7316]=0;c[7210]=c[7319];c[7209]=-1;c[7214]=28844;c[7213]=28844;c[7216]=28852;c[7215]=28852;c[7218]=28860;c[7217]=28860;c[7220]=28868;c[7219]=28868;c[7222]=28876;c[7221]=28876;c[7224]=28884;c[7223]=28884;c[7226]=28892;c[7225]=28892;c[7228]=28900;c[7227]=28900;c[7230]=28908;c[7229]=28908;c[7232]=28916;c[7231]=28916;c[7234]=28924;c[7233]=28924;c[7236]=28932;c[7235]=28932;c[7238]=28940;c[7237]=28940;c[7240]=28948;c[7239]=28948;c[7242]=28956;c[7241]=28956;c[7244]=28964;c[7243]=28964;c[7246]=28972;c[7245]=28972;c[7248]=28980;c[7247]=28980;c[7250]=28988;c[7249]=28988;c[7252]=28996;c[7251]=28996;c[7254]=29004;c[7253]=29004;c[7256]=29012;c[7255]=29012;c[7258]=29020;c[7257]=29020;c[7260]=29028;c[7259]=29028;c[7262]=29036;c[7261]=29036;c[7264]=29044;c[7263]=29044;c[7266]=29052;c[7265]=29052;c[7268]=29060;c[7267]=29060;c[7270]=29068;c[7269]=29068;c[7272]=29076;c[7271]=29076;c[7274]=29084;c[7273]=29084;c[7276]=29092;c[7275]=29092;u=h+-40|0;s=g+8|0;s=(s&7|0)==0?0:0-s&7;t=g+s|0;c[7207]=t;c[7204]=u-s;c[t+4>>2]=u-s|1;c[g+u+4>>2]=40;c[7208]=c[7323]}while(0);a=c[7204]|0;if(a>>>0>m>>>0){s=a-m|0;c[7204]=s;u=c[7207]|0;t=u+m|0;c[7207]=t;c[t+4>>2]=s|1;c[u+4>>2]=m|3;u=u+8|0;sa=v;return u|0}}c[7184]=12;u=0;sa=v;return u|0}function yb(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,K=0,L=0,M=0,N=0,O=0,P=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0;T=c[e>>2]|0;da=c[f>>2]|0;if(T|0)g=c[T+12>>2]|0;else g=b;h=c[g+88>>2]|0;j=c[g+92>>2]|0;l=c[g+96>>2]|0;if(!da)g=d;else g=c[da+12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=q;j=b;M=k;m=l;o=i;n=d;while(1){O=g;I=c[e>>2]|0;b:while(1){N=(J(L-j|0,ca)|0)+(J(K-O|0,ba)|0)+(J(M-m|0,U)|0)|0;if(!I)break;if(!(c[I+12>>2]|0))break;E=c[(c[I>>2]|0)+8>>2]|0;if((c[E+20>>2]|0)<=(c[a+100>>2]|0))break;H=c[E+12>>2]|0;F=c[H+88>>2]|0;D=F-O|0;G=c[H+92>>2]|0;C=G-j|0;H=c[H+96>>2]|0;g=H-m|0;t=Vr(X|0,Y|0,D|0,((D|0)<0)<<31>>31|0)|0;B=Q()|0;r=Vr(Z|0,_|0,C|0,((C|0)<0)<<31>>31|0)|0;B=xv(r|0,Q()|0,t|0,B|0)|0;t=Q()|0;r=Vr($|0,aa|0,g|0,((g|0)<0)<<31>>31|0)|0;r=xv(B|0,t|0,r|0,Q()|0)|0;t=Q()|0;g=(J(C,ca)|0)+(J(D,ba)|0)+(J(g,U)|0)|0;do if((r|0)==0&(t|0)==0){if((g|0)>=0)break b}else{if((t|0)>=0)break b;if((g|0)>0){D=-1;v=g;u=((g|0)<0)<<31>>31}else{v=lv(0,0,g|0,((g|0)<0)<<31>>31|0)|0;u=Q()|0;D=(g|0)!=0&1;v=g|0?v:0;u=g|0?u:0}z=lv(0,0,r|0,t|0)|0;A=Q()|0;if((N|0)>0){g=1;r=-1;B=N;C=((N|0)<0)<<31>>31}else{B=lv(0,0,N|0,((N|0)<0)<<31>>31|0)|0;C=Q()|0;g=((N|0)!=0)<<31>>31;r=(N|0)!=0&1;B=N|0?B:0;C=N|0?C:0}if((n|0)>0|(n|0)==0&o>>>0>0){r=o;t=n}else{y=(o|0)!=0|(n|0)!=0;x=lv(0,0,o|0,n|0)|0;t=Q()|0;g=y?r:g;r=y?x:0;t=y?t:0}if((D|0)==(g|0)){if(!D)break;g=Vr(r|0,0,v|0,0)|0;w=Q()|0;ha=Vr(t|0,0,v|0,0)|0;ga=Q()|0;x=Vr(r|0,0,u|0,0)|0;y=Q()|0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}if(!(c[g+12>>2]|0)){g=110;break}E=c[c[g+8>>2]>>2]|0;if((c[E+20>>2]|0)<=(c[a+100>>2]|0)){g=110;break}u=c[E+12>>2]|0;w=c[u+88>>2]|0;t=w-K|0;v=c[u+92>>2]|0;r=v-L|0;u=c[u+96>>2]|0;g=u-M|0;ha=Vr(t|0,((t|0)<0)<<31>>31|0,V|0,((V|0)<0)<<31>>31|0)|0;fa=Q()|0;ga=Vr(r|0,((r|0)<0)<<31>>31|0,W|0,((W|0)<0)<<31>>31|0)|0;fa=xv(ga|0,Q()|0,ha|0,fa|0)|0;ha=Q()|0;ga=Vr(P|0,R|0,g|0,((g|0)<0)<<31>>31|0)|0;if(!((fa|0)==(ga|0)&(ha|0)==(Q()|0))){g=110;break}y=Vr(X|0,Y|0,t|0,((t|0)<0)<<31>>31|0)|0;D=Q()|0;x=Vr(Z|0,_|0,r|0,((r|0)<0)<<31>>31|0)|0;D=xv(x|0,Q()|0,y|0,D|0)|0;y=Q()|0;x=Vr($|0,aa|0,g|0,((g|0)<0)<<31>>31|0)|0;x=xv(D|0,y|0,x|0,Q()|0)|0;y=Q()|0;g=(J(r,ca)|0)+(J(t,ba)|0)+(J(g,U)|0)|0;D=w-O|0;ga=v-j|0;C=u-m|0;D=Vr(X|0,Y|0,D|0,((D|0)<0)<<31>>31|0)|0;ha=Q()|0;ga=Vr(Z|0,_|0,ga|0,((ga|0)<0)<<31>>31|0)|0;ha=xv(ga|0,Q()|0,D|0,ha|0)|0;D=Q()|0;C=Vr($|0,aa|0,C|0,((C|0)<0)<<31>>31|0)|0;C=xv(ha|0,D|0,C|0,Q()|0)|0;D=Q()|0;if(!((D|0)>0|(D|0)==0&C>>>0>0)){g=110;break}if((x|0)==0&(y|0)==0){if((g|0)>=0){g=110;break}}else{if((y|0)>=0){g=110;break}if((g|0)>0){B=-1;u=g;t=((g|0)<0)<<31>>31}else{u=lv(0,0,g|0,((g|0)<0)<<31>>31|0)|0;t=Q()|0;B=(g|0)!=0&1;u=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:u>>>0>>0|(u|0)==(n|0)&t>>>0>>0?-1:(u>>>0>n>>>0|(u|0)==(n|0)&t>>>0>g>>>0)&1;g=J(g,B)|0}else g=B-g|0;if((g|0)<=0){g=110;break}}c[f>>2]=E;M=c[E+12>>2]|0;K=c[M+88>>2]|0;g=O;L=c[M+92>>2]|0;M=c[M+96>>2]|0;o=C;n=D}if((g|0)==110)return}if((d|0)>=0)return;E=lv(0,0,S|0,((S|0)<0)<<31>>31|0)|0;F=Q()|0;j=p;g=l;c:while(1){C=g;B=j;d:while(1){D=(J(q-b|0,ca)|0)+(J(s-h|0,ba)|0)+(J(k-C|0,U)|0)|0;do if((B|0?c[B+12>>2]|0:0)?(ea=c[(c[B+4>>2]|0)+8>>2]|0,(c[ea+20>>2]|0)>(c[a+100>>2]|0)):0){A=c[ea+12>>2]|0;y=c[A+88>>2]|0;ha=y-s|0;z=c[A+92>>2]|0;ga=z-q|0;A=c[A+96>>2]|0;g=A-k|0;l=Vr(X|0,Y|0,ha|0,((ha|0)<0)<<31>>31|0)|0;fa=Q()|0;j=Vr(Z|0,_|0,ga|0,((ga|0)<0)<<31>>31|0)|0;fa=xv(j|0,Q()|0,l|0,fa|0)|0;l=Q()|0;j=Vr($|0,aa|0,g|0,((g|0)<0)<<31>>31|0)|0;j=xv(fa|0,l|0,j|0,Q()|0)|0;l=Q()|0;g=(J(ga,ca)|0)+(J(ha,ba)|0)+(J(g,U)|0)|0;if((j|0)==0&(l|0)==0)if((g|0)>0)break d;else break;if((l|0)<0){if((g|0)>0){x=-1;n=g;m=((g|0)<0)<<31>>31}else{n=lv(0,0,g|0,((g|0)<0)<<31>>31|0)|0;m=Q()|0;x=(g|0)!=0&1;n=g|0?n:0;m=g|0?m:0}t=lv(0,0,j|0,l|0)|0;u=Q()|0;if((D|0)>0){g=1;j=-1;v=D;w=((D|0)<0)<<31>>31}else{v=lv(0,0,D|0,((D|0)<0)<<31>>31|0)|0;w=Q()|0;g=((D|0)!=0)<<31>>31;j=(D|0)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>>2]|0)){g=110;break c}w=c[(c[g+8>>2]|0)+4>>2]|0;if((c[w+20>>2]|0)<=(c[a+100>>2]|0)){g=110;break c}j=c[w+12>>2]|0;m=c[j+88>>2]|0;h=m-h|0;l=c[j+92>>2]|0;b=l-b|0;j=c[j+96>>2]|0;g=j-C|0;ha=Vr(h|0,((h|0)<0)<<31>>31|0,V|0,((V|0)<0)<<31>>31|0)|0;fa=Q()|0;ga=Vr(b|0,((b|0)<0)<<31>>31|0,W|0,((W|0)<0)<<31>>31|0)|0;fa=xv(ga|0,Q()|0,ha|0,fa|0)|0;ha=Q()|0;ga=Vr(E|0,F|0,g|0,((g|0)<0)<<31>>31|0)|0;if(!((fa|0)==(ga|0)&(ha|0)==(Q()|0))){g=110;break c}o=Vr(X|0,Y|0,h|0,((h|0)<0)<<31>>31|0)|0;v=Q()|0;n=Vr(Z|0,_|0,b|0,((b|0)<0)<<31>>31|0)|0;v=xv(n|0,Q()|0,o|0,v|0)|0;o=Q()|0;n=Vr($|0,aa|0,g|0,((g|0)<0)<<31>>31|0)|0;n=xv(v|0,o|0,n|0,Q()|0)|0;o=Q()|0;g=(J(b,ca)|0)+(J(h,ba)|0)+(J(g,U)|0)|0;v=s-m|0;ga=q-l|0;u=k-j|0;v=Vr(X|0,Y|0,v|0,((v|0)<0)<<31>>31|0)|0;ha=Q()|0;ga=Vr(Z|0,_|0,ga|0,((ga|0)<0)<<31>>31|0)|0;ha=xv(ga|0,Q()|0,v|0,ha|0)|0;v=Q()|0;u=Vr($|0,aa|0,u|0,((u|0)<0)<<31>>31|0)|0;u=xv(ha|0,v|0,u|0,Q()|0)|0;v=Q()|0;if((v|0)>=0){g=110;break c}if((n|0)==0&(o|0)==0){if((g|0)<=0){g=110;break c}}else{if((o|0)>=0){g=110;break c}if((g|0)>0){t=-1;j=g;h=((g|0)<0)<<31>>31}else{j=lv(0,0,g|0,((g|0)<0)<<31>>31|0)|0;h=Q()|0;t=(g|0)!=0&1;j=g|0?j:0;h=g|0?h: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]=0;sa=I;return}c[I+32>>2]=0;c[I+36>>2]=0;c[I+40>>2]=0;c[I+44>>2]=256;c[I+48>>2]=0;c[I+52>>2]=0;c[I+56>>2]=0;c[I+60>>2]=256;c[I+64>>2]=0;c[I+68>>2]=0;c[I+72>>2]=0;c[I+76>>2]=256;a[I+96>>0]=1;c[I+92>>2]=0;c[I+84>>2]=0;c[I+88>>2]=0;f=0;h=d;i=-246811958;q=1900671690;s=-246811958;u=1900671690;w=-246811958;x=1900671690;while(1){k=c[h>>2]|0;m=c[h+4>>2]|0;p=c[h+8>>2]|0;l=(c[j>>2]=k,+g[j>>2]);q=l<(c[j>>2]=q,+g[j>>2])?k:q;n=(c[j>>2]=m,+g[j>>2]);u=n<(c[j>>2]=u,+g[j>>2])?m:u;o=(c[j>>2]=p,+g[j>>2]);x=o<(c[j>>2]=x,+g[j>>2])?p:x;i=(c[j>>2]=i,+g[j>>2])>2]=s,+g[j>>2])>2]=w,+g[j>>2])>2]=i,+g[j>>2]);t=(c[j>>2]=q,+g[j>>2]);r=(c[j>>2]=s,+g[j>>2]);o=(c[j>>2]=u,+g[j>>2]);n=(c[j>>2]=w,+g[j>>2]);l=(c[j>>2]=x,+g[j>>2]);h=v-t>2]=h;f=v-t>>0)%3|0;c[I+104>>2]=f;q=(h^3)-f|0;c[I+108>>2]=q;y=((q+1|0)%3|0|0)==(h|0)?(v-t)*9.788566967472434e-05:-((v-t)*9.788566967472434e-05);z=((q+1|0)%3|0|0)==(h|0)?(r-o)*9.788566967472434e-05:-((r-o)*9.788566967472434e-05);A=((q+1|0)%3|0|0)==(h|0)?(n-l)*9.788566967472434e-05:-((n-l)*9.788566967472434e-05);g[I>>2]=y;g[I+4>>2]=z;g[I+8>>2]=A;g[I+12>>2]=0.0;y=y!=0.0?1.0/y:y;z=z!=0.0?1.0/z:z;A=A!=0.0?1.0/A:A;g[I+16>>2]=(v+t)*.5;g[I+20>>2]=(r+o)*.5;g[I+24>>2]=(n+l)*.5;g[I+28>>2]=0.0;q=I+144+16|0;a[q>>0]=1;s=I+144+12|0;c[s>>2]=0;c[I+144+4>>2]=0;c[I+144+8>>2]=0;c[7182]=(c[7182]|0)+1;f=xb((e<<4|3)+16|0)|0;if(!f)h=0;else{c[(f+4+15&-16)+-4>>2]=f;h=f+4+15&-16}i=c[I+144+4>>2]|0;k=c[s>>2]|0;if((i|0)<=0){if(k|0)H=25}else{f=0;do{H=h+(f<<4)|0;F=k+(f<<4)|0;c[H>>2]=c[F>>2];c[H+4>>2]=c[F+4>>2];c[H+8>>2]=c[F+8>>2];c[H+12>>2]=c[F+12>>2];f=f+1|0}while((f|0)!=(i|0));H=25}if((H|0)==25){if(a[q>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[k+-4>>2]|0)}c[s>>2]=0}a[q>>0]=1;c[s>>2]=h;c[I+144+8>>2]=e;c[h>>2]=c[I+128>>2];c[h+4>>2]=c[I+128+4>>2];c[h+8>>2]=c[I+128+8>>2];c[h+12>>2]=c[I+128+12>>2];if((e|0)!=1){f=1;do{F=(c[s>>2]|0)+(f<<4)|0;c[F>>2]=c[I+128>>2];c[F+4>>2]=c[I+128+4>>2];c[F+8>>2]=c[I+128+8>>2];c[F+12>>2]=c[I+128+12>>2];f=f+1|0}while((f|0)!=(e|0))}c[I+144+4>>2]=e;i=I+128+(c[I+108>>2]<<2)|0;k=c[s>>2]|0;m=I+128+(c[I+112>>2]<<2)|0;p=I+128+(c[I+104>>2]<<2)|0;l=+g[I+16>>2];n=+g[I+20>>2];o=+g[I+24>>2];h=0;f=d;while(1){t=z*(+g[f+4>>2]-n);v=A*(+g[f+8>>2]-o);g[I+128>>2]=y*(+g[f>>2]-l);g[I+128+4>>2]=t;g[I+128+8>>2]=v;g[I+128+12>>2]=0.0;c[k+(h<<4)>>2]=~~+g[i>>2];c[k+(h<<4)+4>>2]=~~+g[m>>2];c[k+(h<<4)+8>>2]=~~+g[p>>2];c[k+(h<<4)+12>>2]=h;h=h+1|0;if((h|0)==(e|0))break;else f=f+16|0}if((e|0)>1)pg(I+144|0,0,e+-1|0);c[I+36>>2]=c[I+32>>2];c[I+40>>2]=0;c[I+44>>2]=e;f=c[I+84>>2]|0;if((f|0)<(e|0)){if((c[I+88>>2]|0)<(e|0)){if(!e){h=0;k=f}else{c[7182]=(c[7182]|0)+1;h=xb((e<<2|3)+16|0)|0;if(!h)h=0;else{c[(h+4+15&-16)+-4>>2]=h;h=h+4+15&-16}k=c[I+84>>2]|0}if((k|0)>0){i=0;do{c[h+(i<<2)>>2]=c[(c[I+92>>2]|0)+(i<<2)>>2];i=i+1|0}while((i|0)!=(k|0))}i=c[I+92>>2]|0;if(i|0){if(a[I+96>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[i+-4>>2]|0)}c[I+92>>2]=0}a[I+96>>0]=1;c[I+92>>2]=h;c[I+88>>2]=e}do{c[(c[I+92>>2]|0)+(f<<2)>>2]=0;f=f+1|0}while((f|0)!=(e|0))}c[I+84>>2]=e;m=0;do{f=c[I+40>>2]|0;if(!f){f=c[I+36>>2]|0;if(!f){c[7182]=(c[7182]|0)+1;f=xb(31)|0;if(!f)h=0;else{c[(f+4+15&-16)+-4>>2]=f;h=f+4+15&-16}f=c[I+44>>2]|0;c[h+4>>2]=f;i=h+8|0;c[i>>2]=0;c[7182]=(c[7182]|0)+1;f=xb((f*112|3)+16|0)|0;if(!f)f=0;else{c[(f+4+15&-16)+-4>>2]=f;f=f+4+15&-16}c[h>>2]=f;c[i>>2]=c[I+32>>2];c[I+32>>2]=h}else{c[I+36>>2]=c[f+8>>2];h=f}f=c[h>>2]|0;k=c[h+4>>2]|0;if((k|0)>0?(c[f>>2]=(k|0)!=1?f+112|0:0,(k|0)!=1):0){h=1;i=f+112|0;do{h=h+1|0;F=(h|0)<(k|0);E=i;i=i+112|0;c[E>>2]=F?i:0}while(F)}}c[I+40>>2]=c[f>>2];F=f+104|0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;c[f+12>>2]=0;c[f+16>>2]=0;c[F>>2]=-1;c[f+8>>2]=0;D=(c[s>>2]|0)+(m<<4)|0;E=f+88|0;c[E>>2]=c[D>>2];c[E+4>>2]=c[D+4>>2];c[E+8>>2]=c[D+8>>2];c[E+12>>2]=c[D+12>>2];c[F>>2]=-1;c[(c[I+92>>2]|0)+(m<<2)>>2]=f;m=m+1|0}while((m|0)<(e|0));f=c[s>>2]|0;if(f|0){if(a[q>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[f+-4>>2]|0)}c[s>>2]=0}a[q>>0]=1;c[s>>2]=0;c[I+144+4>>2]=0;c[I+144+8>>2]=0;c[I+52>>2]=c[I+48>>2];c[I+56>>2]=0;c[I+60>>2]=e*6;c[I+116>>2]=0;c[I+120>>2]=0;c[I+100>>2]=-3;c[I+128>>2]=0;c[I+128+4>>2]=0;c[I+128+8>>2]=0;c[I+128+12>>2]=0;ub(I,0,e,I+128|0);c[I+124>>2]=c[I+128>>2];f=c[s>>2]|0;if(f|0){if(a[q>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[f+-4>>2]|0)}c[s>>2]=0}f=c[b+4>>2]|0;if((f|0)<0){if((c[b+8>>2]|0)<0){h=c[b+12>>2]|0;if(h|0){if(a[b+16>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[h+-4>>2]|0)}c[b+12>>2]=0}a[b+16>>0]=1;c[b+12>>2]=0;c[b+8>>2]=0}do{F=(c[b+12>>2]|0)+(f<<4)|0;c[F>>2]=c[I+144>>2];c[F+4>>2]=c[I+144+4>>2];c[F+8>>2]=c[I+144+8>>2];c[F+12>>2]=c[I+144+12>>2];f=f+1|0}while((f|0)!=0)}c[b+4>>2]=0;c[I+144>>2]=0;c[I+144+4>>2]=0;c[I+144+8>>2]=0;f=c[b+24>>2]|0;if((f|0)<0){if((c[b+28>>2]|0)<0){h=c[b+32>>2]|0;if(h|0){if(a[b+36>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[h+-4>>2]|0)}c[b+32>>2]=0}a[b+36>>0]=1;c[b+32>>2]=0;c[b+28>>2]=0}do{F=(c[b+32>>2]|0)+(f*12|0)|0;c[F>>2]=c[I+144>>2];c[F+4>>2]=c[I+144+4>>2];c[F+8>>2]=c[I+144+8>>2];f=f+1|0}while((f|0)!=0)}c[b+24>>2]=0;h=c[b+44>>2]|0;if((h|0)<0){f=c[b+52>>2]|0;if((c[b+48>>2]|0)<0){if(f|0?a[b+56>>0]|0:0){c[7183]=(c[7183]|0)+1;Hc(c[f+-4>>2]|0)}a[b+56>>0]=1;c[b+52>>2]=0;c[b+48>>2]=0;f=0}mk(f+(h<<2)|0,0,J(h,-4)|0)|0}c[b+44>>2]=0;h=c[I+124>>2]|0;if((c[h+104>>2]|0)<0){c[h+104>>2]=0;c[7182]=(c[7182]|0)+1;f=xb(23)|0;if(!f)f=0;else{c[(f+4+15&-16)+-4>>2]=f;f=f+4+15&-16}c[f>>2]=h;F=0;p=1;q=f;s=1;i=f;w=f;while(1){if((c[h+100>>2]|0)>-1){g[I+144+(c[I+108>>2]<<2)>>2]=+(c[h+88>>2]|0);g[I+144+(c[I+112>>2]<<2)>>2]=+(c[h+92>>2]|0);l=+(c[h+96>>2]|0)}else{l=+tk(h+24|0);E=h+72|0;l=l/+tk(E);g[I+144+(c[I+108>>2]<<2)>>2]=l;l=+tk(h+40|0);l=l/+tk(E);g[I+144+(c[I+112>>2]<<2)>>2]=l;l=+tk(h+56|0);l=l/+tk(E)}g[I+144+(c[I+104>>2]<<2)>>2]=l;l=+g[I+144>>2]*+g[I>>2]+ +g[I+16>>2];n=+g[I+144+4>>2]*+g[I+4>>2]+ +g[I+20>>2];o=+g[I+144+8>>2]*+g[I+8>>2]+ +g[I+24>>2];k=c[b+4>>2]|0;if((k|0)==(c[b+8>>2]|0)?(G=(k|0)==0?1:k<<1,(k|0)<(G|0)):0){if(!G)f=0;else{c[7182]=(c[7182]|0)+1;f=xb((G<<4|3)+16|0)|0;if(!f)f=0;else{c[(f+4+15&-16)+-4>>2]=f;f=f+4+15&-16}k=c[b+4>>2]|0}if((k|0)>0){m=0;do{E=f+(m<<4)|0;D=(c[b+12>>2]|0)+(m<<4)|0;c[E>>2]=c[D>>2];c[E+4>>2]=c[D+4>>2];c[E+8>>2]=c[D+8>>2];c[E+12>>2]=c[D+12>>2];m=m+1|0}while((m|0)!=(k|0))}k=c[b+12>>2]|0;if(k|0){if(a[b+16>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[k+-4>>2]|0)}c[b+12>>2]=0}a[b+16>>0]=1;c[b+12>>2]=f;c[b+8>>2]=G;f=c[b+4>>2]|0}else f=k;E=c[b+12>>2]|0;g[E+(f<<4)>>2]=l;g[E+(f<<4)+4>>2]=n;g[E+(f<<4)+8>>2]=o;g[E+(f<<4)+12>>2]=0.0;c[b+4>>2]=(c[b+4>>2]|0)+1;E=c[h+8>>2]|0;if(!E){k=p;x=q;h=s}else{C=E;D=-1;f=-1;x=p;e=q;h=s;while(1){B=C+20|0;m=c[B>>2]|0;if((m|0)<0){d=c[b+24>>2]|0;c[I+144>>2]=0;c[I+144+4>>2]=0;c[I+144+8>>2]=0;do if((d|0)==(c[b+28>>2]|0)){q=(d|0)==0?1:d<<1;if((d|0)>=(q|0)){k=d;break}if(!q){k=0;p=d}else{c[7182]=(c[7182]|0)+1;k=xb((q*12|3)+16|0)|0;if(!k)k=0;else{c[(k+4+15&-16)+-4>>2]=k;k=k+4+15&-16}p=c[b+24>>2]|0}if((p|0)>0){m=0;do{u=k+(m*12|0)|0;s=(c[b+32>>2]|0)+(m*12|0)|0;c[u>>2]=c[s>>2];c[u+4>>2]=c[s+4>>2];c[u+8>>2]=c[s+8>>2];m=m+1|0}while((m|0)!=(p|0))}m=c[b+32>>2]|0;if(m|0){if(a[b+36>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[m+-4>>2]|0)}c[b+32>>2]=0}a[b+36>>0]=1;c[b+32>>2]=k;c[b+28>>2]=q;k=c[b+24>>2]|0}else k=d;while(0);k=(c[b+32>>2]|0)+(k*12|0)|0;c[k>>2]=c[I+144>>2];c[k+4>>2]=c[I+144+4>>2];c[k+8>>2]=c[I+144+8>>2];k=(c[b+24>>2]|0)+1|0;c[b+24>>2]=k;c[I+144>>2]=0;c[I+144+4>>2]=0;c[I+144+8>>2]=0;do if((k|0)==(c[b+28>>2]|0)){q=(k|0)==0?1:k<<1;if((k|0)>=(q|0))break;if(!q)p=0;else{c[7182]=(c[7182]|0)+1;k=xb((q*12|3)+16|0)|0;if(!k)k=0;else{c[(k+4+15&-16)+-4>>2]=k;k=k+4+15&-16}p=k;k=c[b+24>>2]|0}if((k|0)>0){m=0;do{u=p+(m*12|0)|0;s=(c[b+32>>2]|0)+(m*12|0)|0;c[u>>2]=c[s>>2];c[u+4>>2]=c[s+4>>2];c[u+8>>2]=c[s+8>>2];m=m+1|0}while((m|0)!=(k|0))}k=c[b+32>>2]|0;if(k|0){if(a[b+36>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[k+-4>>2]|0)}c[b+32>>2]=0}a[b+36>>0]=1;c[b+32>>2]=p;c[b+28>>2]=q;k=c[b+24>>2]|0}while(0);u=(c[b+32>>2]|0)+(k*12|0)|0;c[u>>2]=c[I+144>>2];c[u+4>>2]=c[I+144+4>>2];c[u+8>>2]=c[I+144+8>>2];c[b+24>>2]=(c[b+24>>2]|0)+1;u=c[b+32>>2]|0;c[B>>2]=d;c[(c[C+8>>2]|0)+20>>2]=d+1;c[u+(d*12|0)+4>>2]=1;c[u+((d+1|0)*12|0)+4>>2]=-1;s=c[C+12>>2]|0;k=c[s+104>>2]|0;if((k|0)<0){c[s+104>>2]=h;do if((h|0)==(x|0)){k=(x|0)==0?1:x<<1;if((x|0)>=(k|0)){k=x;m=e;q=w;break}do if(!k)p=0;else{c[7182]=(c[7182]|0)+1;m=xb((k<<2|3)+16|0)|0;if(!m){p=0;break}c[(m+4+15&-16)+-4>>2]=m;p=m+4+15&-16}while(0);if((x|0)>0){m=0;do{c[p+(m<<2)>>2]=c[e+(m<<2)>>2];m=m+1|0}while((m|0)!=(x|0));if(!i){m=p;q=p;i=p;break}}else if((e|0)==0|(i|0)==0){m=p;q=p;i=p;break}c[7183]=(c[7183]|0)+1;Hc(c[i+-4>>2]|0);m=p;q=p;i=p}else{k=x;m=e;q=w}while(0);c[m+(h<<2)>>2]=s;s=h;h=h+1|0;p=q}else{s=k;k=x;m=e;p=w}c[u+(d*12|0)+8>>2]=s;c[u+((d+1|0)*12|0)+8>>2]=F;q=m;m=c[B>>2]|0}else{k=x;q=e;p=w}if((D|0)>-1)c[(c[b+32>>2]|0)+(m*12|0)>>2]=D-m;else f=m;C=c[C>>2]|0;if((C|0)==(E|0))break;else{D=m;x=k;e=q;w=p}}c[(c[b+32>>2]|0)+(f*12|0)>>2]=m-f;x=q;w=p}f=F+1|0;if((f|0)>=(h|0))break;F=f;p=k;q=x;s=h;h=c[x+(f<<2)>>2]|0}s=0;while(1){u=c[(c[x+(s<<2)>>2]|0)+8>>2]|0;if(u|0){q=u;do{p=q+20|0;f=c[p>>2]|0;if((f|0)>-1){h=c[b+44>>2]|0;do if((h|0)==(c[b+48>>2]|0)){m=(h|0)==0?1:h<<1;if((h|0)>=(m|0))break;if(!m)f=0;else{c[7182]=(c[7182]|0)+1;f=xb((m<<2|3)+16|0)|0;if(!f)f=0;else{c[(f+4+15&-16)+-4>>2]=f;f=f+4+15&-16}h=c[b+44>>2]|0}k=c[b+52>>2]|0;if((h|0)<=0){if(k)H=186}else{i=0;do{c[f+(i<<2)>>2]=c[k+(i<<2)>>2];i=i+1|0}while((i|0)!=(h|0));H=186}if((H|0)==186){H=0;if(a[b+56>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[k+-4>>2]|0)}c[b+52>>2]=0;h=c[b+44>>2]|0}a[b+56>>0]=1;c[b+52>>2]=f;c[b+48>>2]=m;f=c[p>>2]|0}while(0);c[(c[b+52>>2]|0)+(h<<2)>>2]=f;c[b+44>>2]=(c[b+44>>2]|0)+1;f=q;do{c[f+20>>2]=-1;f=c[(c[f+8>>2]|0)+4>>2]|0}while((f|0)!=(q|0))}q=c[q>>2]|0}while((q|0)!=(u|0))}if((s|0)==(F|0))break;else s=s+1|0}if(!((x|0)==0|(w|0)==0)){c[7183]=(c[7183]|0)+1;Hc(c[w+-4>>2]|0)}}bi(I);sa=I;return}function Ab(b){b=b|0;var d=0,e=0.0,f=0.0,h=0,i=0,j=0.0,k=0.0,l=0.0,m=0.0,n=0,o=0,p=0,q=0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0,G=0,H=0,I=0,J=0.0,K=0.0,L=0.0,M=0.0,N=0.0,O=0.0,P=0.0,Q=0.0,R=0.0,S=0.0,T=0.0,U=0.0,V=0.0,W=0;I=sa;sa=sa+64|0;if(!(a[b+356>>0]|0)){b=a[b+312>>0]|0;b=b<<24>>24!=0;sa=I;return b|0}c[b+336>>2]=0;c[b+336+4>>2]=0;c[b+336+8>>2]=0;c[b+336+12>>2]=0;a[b+336+16>>0]=0;o=a[b+332>>0]|0;a[b+332>>0]=o&-16;a[b+356>>0]=0;switch(c[b>>2]|0){case 0:{a[b+312>>0]=0;b=0;b=b<<24>>24!=0;sa=I;return b|0}case 1:{c[b+244>>2]=c[b+84>>2];c[b+244+4>>2]=c[b+84+4>>2];c[b+244+8>>2]=c[b+84+8>>2];c[b+244+12>>2]=c[b+84+12>>2];c[b+260>>2]=c[b+164>>2];c[b+260+4>>2]=c[b+164+4>>2];c[b+260+8>>2]=c[b+164+8>>2];c[b+260+12>>2]=c[b+164+12>>2];E=+g[b+248>>2]-+g[b+264>>2];F=+g[b+252>>2]-+g[b+268>>2];g[b+276>>2]=+g[b+244>>2]-+g[b+260>>2];g[b+280>>2]=E;g[b+284>>2]=F;g[b+288>>2]=0.0;a[b+352>>0]=0;a[b+332>>0]=o&-16;g[b+336>>2]=1.0;g[b+340>>2]=0.0;g[b+344>>2]=0.0;g[b+348>>2]=0.0;a[b+312>>0]=1;b=1;b=b<<24>>24!=0;sa=I;return b|0}case 2:{e=+g[b+4>>2];f=+g[b+8>>2];j=+g[b+12>>2];k=+g[b+20>>2]-e;l=+g[b+24>>2]-f;m=+g[b+28>>2]-j;if((0.0-e)*k+(0.0-f)*l+(0.0-j)*m>0.0)if((0.0-e)*k+(0.0-f)*l+(0.0-j)*m>0]=o&-16|h;e=1.0-f;g[b+336>>2]=e;g[b+340>>2]=f;g[b+344>>2]=0.0;g[b+348>>2]=0.0;A=+g[b+84>>2];C=+g[b+88>>2];E=+g[b+92>>2];A=A+f*(+g[b+100>>2]-A);C=C+f*(+g[b+104>>2]-C);E=E+f*(+g[b+108>>2]-E);g[b+244>>2]=A;g[b+248>>2]=C;g[b+252>>2]=E;g[b+256>>2]=0.0;B=+g[b+164>>2];D=+g[b+168>>2];F=+g[b+172>>2];B=B+f*(+g[b+180>>2]-B);D=D+f*(+g[b+184>>2]-D);F=F+f*(+g[b+188>>2]-F);g[b+260>>2]=B;g[b+264>>2]=D;g[b+268>>2]=F;g[b+272>>2]=0.0;g[b+276>>2]=A-B;g[b+280>>2]=C-D;g[b+284>>2]=E-F;g[b+288>>2]=0.0;if(!(h&2)){c[b>>2]=1;d=0}else d=1;if(!(h&1)){q=b+4+(d<<4)|0;G=b+84+(d<<4)|0;H=b+164+(d<<4)|0;c[b>>2]=d;c[b+4>>2]=c[q>>2];c[b+4+4>>2]=c[q+4>>2];c[b+4+8>>2]=c[q+8>>2];c[b+4+12>>2]=c[q+12>>2];c[b+84>>2]=c[G>>2];c[b+84+4>>2]=c[G+4>>2];c[b+84+8>>2]=c[G+8>>2];c[b+84+12>>2]=c[G+12>>2];c[b+164>>2]=c[H>>2];c[b+164+4>>2]=c[H+4>>2];c[b+164+8>>2]=c[H+8>>2];c[b+164+12>>2]=c[H+12>>2]}H=f>=0.0&e>=0.0&1;a[b+312>>0]=H;b=H;b=b<<24>>24!=0;sa=I;return b|0}case 3:{c[I+16>>2]=0;c[I+16+4>>2]=0;c[I+16+8>>2]=0;c[I+16+12>>2]=0;oe(I+16|0,b+4|0,b+20|0,b+36|0,b+316|0);F=+g[b+336>>2];e=+g[b+340>>2];f=+g[b+344>>2];A=+g[b+84>>2]*F+ +g[b+100>>2]*e+ +g[b+116>>2]*f;C=F*+g[b+88>>2]+e*+g[b+104>>2]+f*+g[b+120>>2];E=F*+g[b+92>>2]+e*+g[b+108>>2]+f*+g[b+124>>2];g[b+244>>2]=A;g[b+248>>2]=C;g[b+252>>2]=E;g[b+256>>2]=0.0;B=F*+g[b+164>>2]+e*+g[b+180>>2]+f*+g[b+196>>2];D=F*+g[b+168>>2]+e*+g[b+184>>2]+f*+g[b+200>>2];F=F*+g[b+172>>2]+e*+g[b+188>>2]+f*+g[b+204>>2];g[b+260>>2]=B;g[b+264>>2]=D;g[b+268>>2]=F;g[b+272>>2]=0.0;g[b+276>>2]=A-B;g[b+280>>2]=C-D;g[b+284>>2]=E-F;g[b+288>>2]=0.0;o=c[b>>2]|0;do if((o|0)>3){d=a[b+332>>0]|0;if(!(d&8)){h=b+164+(o+-1<<4)|0;n=b+84+(o+-1<<4)|0;i=b+4+(o+-1<<4)|0;c[b>>2]=o+-1;c[b+52>>2]=c[i>>2];c[b+52+4>>2]=c[i+4>>2];c[b+52+8>>2]=c[i+8>>2];c[b+52+12>>2]=c[i+12>>2];c[b+132>>2]=c[n>>2];c[b+132+4>>2]=c[n+4>>2];c[b+132+8>>2]=c[n+8>>2];c[b+132+12>>2]=c[n+12>>2];c[b+212>>2]=c[h>>2];c[b+212+4>>2]=c[h+4>>2];c[b+212+8>>2]=c[h+8>>2];c[b+212+12>>2]=c[h+12>>2];h=b+332|0;n=d;i=o+-1|0;H=19}else{h=b+332|0;n=d;i=o;H=19}}else{if((o|0)==3){h=b+332|0;n=a[b+332>>0]|0;i=3;H=19;break}if((o|0)<=1){if((o|0)==1){d=1;H=26}}else{d=2;H=22}}while(0);if((H|0)==19){d=i+-1|0;if(!(n&4)){c[b>>2]=d;c[b+36>>2]=c[b+4+(d<<4)>>2];c[b+36+4>>2]=c[b+4+(d<<4)+4>>2];c[b+36+8>>2]=c[b+4+(d<<4)+8>>2];c[b+36+12>>2]=c[b+4+(d<<4)+12>>2];c[b+116>>2]=c[b+84+(d<<4)>>2];c[b+116+4>>2]=c[b+84+(d<<4)+4>>2];c[b+116+8>>2]=c[b+84+(d<<4)+8>>2];c[b+116+12>>2]=c[b+84+(d<<4)+12>>2];c[b+196>>2]=c[b+164+(d<<4)>>2];c[b+196+4>>2]=c[b+164+(d<<4)+4>>2];c[b+196+8>>2]=c[b+164+(d<<4)+8>>2];c[b+196+12>>2]=c[b+164+(d<<4)+12>>2];H=23}else{d=i;H=22}}if((H|0)==22){h=b+332|0;H=23}if((H|0)==23){i=d+-1|0;if(!(a[h>>0]&2)){c[b>>2]=i;c[b+20>>2]=c[b+4+(i<<4)>>2];c[b+20+4>>2]=c[b+4+(i<<4)+4>>2];c[b+20+8>>2]=c[b+4+(i<<4)+8>>2];c[b+20+12>>2]=c[b+4+(i<<4)+12>>2];c[b+100>>2]=c[b+84+(i<<4)>>2];c[b+100+4>>2]=c[b+84+(i<<4)+4>>2];c[b+100+8>>2]=c[b+84+(i<<4)+8>>2];c[b+100+12>>2]=c[b+84+(i<<4)+12>>2];c[b+180>>2]=c[b+164+(i<<4)>>2];c[b+180+4>>2]=c[b+164+(i<<4)+4>>2];c[b+180+8>>2]=c[b+164+(i<<4)+8>>2];c[b+180+12>>2]=c[b+164+(i<<4)+12>>2];n=h;H=27}else H=26}if((H|0)==26){n=b+332|0;i=d;H=27}if((H|0)==27?(p=i+-1|0,(a[n>>0]&1)==0):0){c[b>>2]=p;c[b+4>>2]=c[b+4+(p<<4)>>2];c[b+4+4>>2]=c[b+4+(p<<4)+4>>2];c[b+4+8>>2]=c[b+4+(p<<4)+8>>2];c[b+4+12>>2]=c[b+4+(p<<4)+12>>2];c[b+84>>2]=c[b+84+(p<<4)>>2];c[b+84+4>>2]=c[b+84+(p<<4)+4>>2];c[b+84+8>>2]=c[b+84+(p<<4)+8>>2];c[b+84+12>>2]=c[b+84+(p<<4)+12>>2];c[b+164>>2]=c[b+164+(p<<4)>>2];c[b+164+4>>2]=c[b+164+(p<<4)+4>>2];c[b+164+8>>2]=c[b+164+(p<<4)+8>>2];c[b+164+12>>2]=c[b+164+(p<<4)+12>>2]}if((e>=0.0?!(+g[b+336>>2]>=0.0):1)|!(f>=0.0))d=0;else d=+g[b+348>>2]>=0.0&1;a[b+312>>0]=d;b=d;b=b<<24>>24!=0;sa=I;return b|0}case 4:{c[I>>2]=0;c[I+4>>2]=0;c[I+8>>2]=0;c[I+12>>2]=0;q=I+16+16|0;a[q>>0]=0;c[b+316>>2]=0;c[b+316+4>>2]=0;c[b+316+8>>2]=0;c[b+316+12>>2]=0;a[b+332>>0]=o|15;K=+g[b+20>>2];T=+g[b+4>>2];Q=+g[b+24>>2];J=+g[b+8>>2];M=+g[b+28>>2];U=+g[b+12>>2];P=+g[b+36>>2];R=+g[b+40>>2];N=+g[b+44>>2];L=+g[b+52>>2];S=+g[b+56>>2];O=+g[b+60>>2];V=((Q-J)*(N-U)-(M-U)*(R-J))*(L-T)+((M-U)*(P-T)-(K-T)*(N-U))*(S-J)+((K-T)*(R-J)-(Q-J)*(P-T))*(O-U);i=V*V<9.99999905104687e-09?-1:((0.0-T)*((Q-J)*(N-U)-(M-U)*(R-J))+(0.0-J)*((M-U)*(P-T)-(K-T)*(N-U))+((K-T)*(R-J)-(Q-J)*(P-T))*(0.0-U))*V<0.0&1;V=(M-U)*((P-T)*(S-J)-(R-J)*(L-T))+((K-T)*((R-J)*(O-U)-(N-U)*(S-J))+(Q-J)*((N-U)*(L-T)-(P-T)*(O-U)));n=V*V<9.99999905104687e-09?-1:((0.0-U)*((P-T)*(S-J)-(R-J)*(L-T))+((0.0-T)*((R-J)*(O-U)-(N-U)*(S-J))+(0.0-J)*((N-U)*(L-T)-(P-T)*(O-U))))*V<0.0&1;V=(N-U)*((Q-J)*(L-T)-(K-T)*(S-J))+((P-T)*((M-U)*(S-J)-(Q-J)*(O-U))+(R-J)*((K-T)*(O-U)-(M-U)*(L-T)));o=V*V<9.99999905104687e-09?-1:((0.0-U)*((Q-J)*(L-T)-(K-T)*(S-J))+((0.0-T)*((M-U)*(S-J)-(Q-J)*(O-U))+(0.0-J)*((K-T)*(O-U)-(M-U)*(L-T))))*V<0.0&1;J=(U-M)*((R-Q)*(L-K)-(P-K)*(S-Q))+((T-K)*((N-M)*(S-Q)-(R-Q)*(O-M))+(J-Q)*((P-K)*(O-M)-(N-M)*(L-K)));p=J*J<9.99999905104687e-09?-1:((0.0-M)*((R-Q)*(L-K)-(P-K)*(S-Q))+((0.0-K)*((N-M)*(S-Q)-(R-Q)*(O-M))+(0.0-Q)*((P-K)*(O-M)-(N-M)*(L-K))))*J<0.0&1;do if((n|i|o|p|0)<0){a[b+352>>0]=1;d=b+312|0;H=68}else{if(!(n|i|o|p)){if(a[b+352>>0]|0){d=b+312|0;H=68;break}a[b+312>>0]=1;c[b+276>>2]=0;c[b+276+4>>2]=0;c[b+276+8>>2]=0;c[b+276+12>>2]=0;d=1;break}if((i|0)!=0?(oe(I,b+4|0,b+20|0,b+36|0,I+16|0),e=+g[I+16>>2],f=+g[I+16+4>>2],j=+g[I+16+8>>2],k=e-+g[I>>2],l=f-+g[I+4>>2],m=j-+g[I+8>>2],k*k+l*l+m*m<3402823466385288598117041.0e14):0){W=c[I+16+12>>2]|0;g[b+316>>2]=e;g[b+320>>2]=f;g[b+324>>2]=j;c[b+328>>2]=W;W=a[q>>0]|0;a[b+332>>0]=W&1|a[b+332>>0]&-16|W&2|W&4;W=c[I+16+24>>2]|0;i=c[I+16+28>>2]|0;c[b+336>>2]=c[I+16+20>>2];c[b+340>>2]=W;c[b+344>>2]=i;g[b+348>>2]=0.0;e=k*k+l*l+m*m}else e=3402823466385288598117041.0e14;if((n|0)!=0?(oe(I,b+4|0,b+36|0,b+52|0,I+16|0),r=+g[I+16>>2],s=+g[I+16+4>>2],t=+g[I+16+8>>2],u=r-+g[I>>2],v=s-+g[I+4>>2],w=t-+g[I+8>>2],u*u+v*v+w*w>2]|0;g[b+316>>2]=r;g[b+320>>2]=s;g[b+324>>2]=t;c[b+328>>2]=n;n=a[q>>0]|0;a[b+332>>0]=n&1|a[b+332>>0]&-16|n<<1&4|n<<1&8;n=c[I+16+24>>2]|0;W=c[I+16+28>>2]|0;c[b+336>>2]=c[I+16+20>>2];g[b+340>>2]=0.0;c[b+344>>2]=n;c[b+348>>2]=W;e=u*u+v*v+w*w}if((o|0)!=0?(oe(I,b+4|0,b+52|0,b+20|0,I+16|0),x=+g[I+16>>2],y=+g[I+16+4>>2],z=+g[I+16+8>>2],A=x-+g[I>>2],B=y-+g[I+4>>2],C=z-+g[I+8>>2],A*A+B*B+C*C>2]|0;g[b+316>>2]=x;g[b+320>>2]=y;g[b+324>>2]=z;c[b+328>>2]=o;o=a[q>>0]|0;a[b+332>>0]=o&1|a[b+332>>0]&-16|(1?(o&255)>>>1:o&255)&2|o<<2&8;o=c[I+16+28>>2]|0;W=c[I+16+24>>2]|0;c[b+336>>2]=c[I+16+20>>2];c[b+340>>2]=o;g[b+344>>2]=0.0;c[b+348>>2]=W;e=A*A+B*B+C*C}if(p|0?(oe(I,b+20|0,b+52|0,b+36|0,I+16|0),D=+g[I+16>>2],E=+g[I+16+4>>2],F=+g[I+16+8>>2],T=D-+g[I>>2],U=E-+g[I+4>>2],V=F-+g[I+8>>2],T*T+U*U+V*V>2]|0;g[b+316>>2]=D;g[b+320>>2]=E;g[b+324>>2]=F;c[b+328>>2]=p;p=a[q>>0]|0;a[b+332>>0]=p&4|a[b+332>>0]&-16|p<<1&2|p<<2&8;p=c[I+16+20>>2]|0;q=c[I+16+28>>2]|0;W=c[I+16+24>>2]|0;g[b+336>>2]=0.0;c[b+340>>2]=p;c[b+344>>2]=q;c[b+348>>2]=W}O=+g[b+336>>2];P=+g[b+340>>2];V=+g[b+344>>2];e=+g[b+348>>2];Q=+g[b+84>>2]*O+ +g[b+100>>2]*P+ +g[b+116>>2]*V+ +g[b+132>>2]*e;S=O*+g[b+88>>2]+P*+g[b+104>>2]+V*+g[b+120>>2]+e*+g[b+136>>2];U=O*+g[b+92>>2]+P*+g[b+108>>2]+V*+g[b+124>>2]+e*+g[b+140>>2];g[b+244>>2]=Q;g[b+248>>2]=S;g[b+252>>2]=U;g[b+256>>2]=0.0;R=O*+g[b+164>>2]+P*+g[b+180>>2]+V*+g[b+196>>2]+e*+g[b+212>>2];T=O*+g[b+168>>2]+P*+g[b+184>>2]+V*+g[b+200>>2]+e*+g[b+216>>2];V=O*+g[b+172>>2]+P*+g[b+188>>2]+V*+g[b+204>>2]+e*+g[b+220>>2];g[b+260>>2]=R;g[b+264>>2]=T;g[b+268>>2]=V;g[b+272>>2]=0.0;g[b+276>>2]=Q-R;g[b+280>>2]=S-T;g[b+284>>2]=U-V;g[b+288>>2]=0.0;i=c[b>>2]|0;do if((i|0)>3){d=a[b+332>>0]|0;if(!(d&8)){h=b+164+(i+-1<<4)|0;n=b+84+(i+-1<<4)|0;H=b+4+(i+-1<<4)|0;c[b>>2]=i+-1;c[b+52>>2]=c[H>>2];c[b+52+4>>2]=c[H+4>>2];c[b+52+8>>2]=c[H+8>>2];c[b+52+12>>2]=c[H+12>>2];c[b+132>>2]=c[n>>2];c[b+132+4>>2]=c[n+4>>2];c[b+132+8>>2]=c[n+8>>2];c[b+132+12>>2]=c[n+12>>2];c[b+212>>2]=c[h>>2];c[b+212+4>>2]=c[h+4>>2];c[b+212+8>>2]=c[h+8>>2];c[b+212+12>>2]=c[h+12>>2];h=b+332|0;n=d;i=i+-1|0;H=52}else{h=b+332|0;n=d;H=52}}else{if((i|0)==3){h=b+332|0;n=a[b+332>>0]|0;i=3;H=52;break}if((i|0)<=1){if((i|0)==1){d=1;H=59}}else{d=2;H=55}}while(0);if((H|0)==52){d=i+-1|0;if(!(n&4)){c[b>>2]=d;c[b+36>>2]=c[b+4+(d<<4)>>2];c[b+36+4>>2]=c[b+4+(d<<4)+4>>2];c[b+36+8>>2]=c[b+4+(d<<4)+8>>2];c[b+36+12>>2]=c[b+4+(d<<4)+12>>2];c[b+116>>2]=c[b+84+(d<<4)>>2];c[b+116+4>>2]=c[b+84+(d<<4)+4>>2];c[b+116+8>>2]=c[b+84+(d<<4)+8>>2];c[b+116+12>>2]=c[b+84+(d<<4)+12>>2];c[b+196>>2]=c[b+164+(d<<4)>>2];c[b+196+4>>2]=c[b+164+(d<<4)+4>>2];c[b+196+8>>2]=c[b+164+(d<<4)+8>>2];c[b+196+12>>2]=c[b+164+(d<<4)+12>>2];H=56}else{d=i;H=55}}if((H|0)==55){h=b+332|0;H=56}if((H|0)==56){i=d+-1|0;if(!(a[h>>0]&2)){c[b>>2]=i;c[b+20>>2]=c[b+4+(i<<4)>>2];c[b+20+4>>2]=c[b+4+(i<<4)+4>>2];c[b+20+8>>2]=c[b+4+(i<<4)+8>>2];c[b+20+12>>2]=c[b+4+(i<<4)+12>>2];c[b+100>>2]=c[b+84+(i<<4)>>2];c[b+100+4>>2]=c[b+84+(i<<4)+4>>2];c[b+100+8>>2]=c[b+84+(i<<4)+8>>2];c[b+100+12>>2]=c[b+84+(i<<4)+12>>2];c[b+180>>2]=c[b+164+(i<<4)>>2];c[b+180+4>>2]=c[b+164+(i<<4)+4>>2];c[b+180+8>>2]=c[b+164+(i<<4)+8>>2];c[b+180+12>>2]=c[b+164+(i<<4)+12>>2];d=i;H=60}else H=59}if((H|0)==59){h=b+332|0;H=60}if((H|0)==60?(G=d+-1|0,(a[h>>0]&1)==0):0){c[b>>2]=G;c[b+4>>2]=c[b+4+(G<<4)>>2];c[b+4+4>>2]=c[b+4+(G<<4)+4>>2];c[b+4+8>>2]=c[b+4+(G<<4)+8>>2];c[b+4+12>>2]=c[b+4+(G<<4)+12>>2];c[b+84>>2]=c[b+84+(G<<4)>>2];c[b+84+4>>2]=c[b+84+(G<<4)+4>>2];c[b+84+8>>2]=c[b+84+(G<<4)+8>>2];c[b+84+12>>2]=c[b+84+(G<<4)+12>>2];c[b+164>>2]=c[b+164+(G<<4)>>2];c[b+164+4>>2]=c[b+164+(G<<4)+4>>2];c[b+164+8>>2]=c[b+164+(G<<4)+8>>2];c[b+164+12>>2]=c[b+164+(G<<4)+12>>2]}if((+g[b+336>>2]>=0.0?+g[b+340>>2]>=0.0:0)?+g[b+344>>2]>=0.0:0)d=e>=0.0&1;else d=0;a[b+312>>0]=d}while(0);if((H|0)==68){a[d>>0]=0;d=0}W=d;W=W<<24>>24!=0;sa=I;return W|0}default:{a[b+312>>0]=0;W=0;W=W<<24>>24!=0;sa=I;return W|0}}return 0}function Bb(b,d,e,f,h,i,j,k,l){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0.0,p=0,q=0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0,I=0.0,J=0.0,K=0.0,L=0.0,M=0.0,N=0.0,O=0.0,P=0.0,Q=0.0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0;Z=sa;sa=sa+256|0;c[b+188>>2]=-1;Ki(17177);c[b+184>>2]=0;if((e|0)>0){l=0;do{c[(c[d+(l<<2)>>2]|0)+212>>2]=-1;l=l+1|0}while((l|0)!=(e|0))}l=c[b+12>>2]|0;if((l|0)>(e|0)){n=b+8|0;m=l}else{if((e+1|0)!=0?(c[7182]=(c[7182]|0)+1,m=xb(((e+1|0)*244|3)+16|0)|0,(m|0)!=0):0){c[(m+4+15&-16)+-4>>2]=m;n=m+4+15&-16}else n=0;m=c[b+8>>2]|0;if((m|0)>0){l=0;do{W=n+(l*244|0)|0;X=c[b+16>>2]|0;V=X+(l*244|0)|0;c[W>>2]=c[V>>2];c[W+4>>2]=c[V+4>>2];c[W+8>>2]=c[V+8>>2];c[W+12>>2]=c[V+12>>2];W=X+(l*244|0)+16|0;V=n+(l*244|0)+16|0;c[V>>2]=c[W>>2];c[V+4>>2]=c[W+4>>2];c[V+8>>2]=c[W+8>>2];c[V+12>>2]=c[W+12>>2];V=X+(l*244|0)+32|0;W=n+(l*244|0)+32|0;c[W>>2]=c[V>>2];c[W+4>>2]=c[V+4>>2];c[W+8>>2]=c[V+8>>2];c[W+12>>2]=c[V+12>>2];W=n+(l*244|0)+48|0;V=X+(l*244|0)+48|0;c[W>>2]=c[V>>2];c[W+4>>2]=c[V+4>>2];c[W+8>>2]=c[V+8>>2];c[W+12>>2]=c[V+12>>2];Bh(n+(l*244|0)+64|0,X+(l*244|0)+64|0,180)|0;l=l+1|0}while((l|0)!=(m|0))}l=c[b+16>>2]|0;if(l|0){if(a[b+20>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[l+-4>>2]|0)}c[b+16>>2]=0}a[b+20>>0]=1;c[b+16>>2]=n;c[b+12>>2]=e+1;n=b+8|0;m=e+1|0}mk(Z|0,0,244)|0;l=c[n>>2]|0;if((l|0)<0){if((m|0)<0){m=c[b+16>>2]|0;if(m|0){if(a[b+20>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[m+-4>>2]|0)}c[b+16>>2]=0}a[b+20>>0]=1;c[b+16>>2]=0;c[b+12>>2]=0}do{X=c[b+16>>2]|0;W=X+(l*244|0)|0;c[W>>2]=c[Z>>2];c[W+4>>2]=c[Z+4>>2];c[W+8>>2]=c[Z+8>>2];c[W+12>>2]=c[Z+12>>2];W=X+(l*244|0)+16|0;c[W>>2]=c[Z+16>>2];c[W+4>>2]=c[Z+16+4>>2];c[W+8>>2]=c[Z+16+8>>2];c[W+12>>2]=c[Z+16+12>>2];W=X+(l*244|0)+32|0;c[W>>2]=c[Z+32>>2];c[W+4>>2]=c[Z+32+4>>2];c[W+8>>2]=c[Z+32+8>>2];c[W+12>>2]=c[Z+32+12>>2];W=X+(l*244|0)+48|0;c[W>>2]=c[Z+48>>2];c[W+4>>2]=c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(m*244|0)+228>>2]=+g[p+(m*244|0)+228>>2]-P;g[p+(m*244|0)+232>>2]=+g[p+(m*244|0)+232>>2]-Q}l=l+1|0}while((l|0)!=(e|0))}if((j|0)>0){l=0;do{X=c[i+(l<<2)>>2]|0;Pa[c[(c[X>>2]|0)+8>>2]&511](X);g[X+36>>2]=0.0;l=l+1|0}while((l|0)<(j|0))}m=c[b+168>>2]|0;if((m|0)<(j|0)?(c[b+172>>2]|0)<(j|0):0){if(!j)l=0;else{c[7182]=(c[7182]|0)+1;l=xb((j<<3|3)+16|0)|0;if(!l)l=0;else{c[(l+4+15&-16)+-4>>2]=l;l=l+4+15&-16}m=c[b+168>>2]|0}if((m|0)>0){n=0;do{V=(c[b+176>>2]|0)+(n<<3)|0;W=c[V+4>>2]|0;X=l+(n<<3)|0;c[X>>2]=c[V>>2];c[X+4>>2]=W;n=n+1|0}while((n|0)!=(m|0))}m=c[b+176>>2]|0;if(m|0){if(a[b+180>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[m+-4>>2]|0)}c[b+176>>2]=0}a[b+180>>0]=1;c[b+176>>2]=l;c[b+172>>2]=j}c[b+168>>2]=j;if((j|0)>0){l=0;q=0;do{p=c[b+176>>2]|0;e=p+(q<<3)|0;d=i+(q<<2)|0;m=c[d>>2]|0;n=c[m+44>>2]|0;if(n){m=n+64|0;do{c[n>>2]=0;n=n+4|0}while((n|0)<(m|0));m=c[d>>2]|0}if(!(a[m+20>>0]|0)){c[e>>2]=0;c[p+(q<<3)+4>>2]=0;m=0}else{Va[c[(c[m>>2]|0)+16>>2]&127](m,e);m=c[e>>2]|0}l=m+l|0;q=q+1|0}while((q|0)<(j|0));d=l}else d=0;m=c[b+48>>2]|0;if((m|0)<(d|0)?(c[b+52>>2]|0)<(d|0):0){if(!d)l=0;else{c[7182]=(c[7182]|0)+1;l=xb((d*152|3)+16|0)|0;if(!l)l=0;else{c[(l+4+15&-16)+-4>>2]=l;l=l+4+15&-16}m=c[b+48>>2]|0}if((m|0)>0){n=0;do{Bh(l+(n*152|0)|0,(c[b+56>>2]|0)+(n*152|0)|0,152)|0;n=n+1|0}while((n|0)!=(m|0))}m=c[b+56>>2]|0;if(m|0){if(a[b+60>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[m+-4>>2]|0)}c[b+56>>2]=0}a[b+60>>0]=1;c[b+56>>2]=l;c[b+52>>2]=d}c[b+48>>2]=d;if((j|0)>0){W=0;X=0;l=c[b+176>>2]|0;while(1){V=l+(X<<3)|0;if(!(c[V>>2]|0))m=0;else{m=c[b+56>>2]|0;d=m+(W*152|0)|0;p=i+(X<<2)|0;e=c[p>>2]|0;q=c[e+28>>2]|0;R=c[e+32>>2]|0;S=Xc(b,q,+g[k+12>>2])|0;T=Xc(b,R,+g[k+12>>2])|0;U=c[b+16>>2]|0;n=c[e+24>>2]|0;n=(n|0)>0?n:c[k+20>>2]|0;if((n|0)>(c[b+184>>2]|0))c[b+184>>2]=n;if((c[V>>2]|0)>0){l=0;do{mk(d+(l*152|0)|0,0,152)|0;g[d+(l*152|0)+120>>2]=-3402823466385288598117041.0e14;g[d+(l*152|0)+124>>2]=3402823466385288598117041.0e14;g[d+(l*152|0)+100>>2]=0.0;g[d+(l*152|0)+96>>2]=0.0;c[d+(l*152|0)+144>>2]=S;c[d+(l*152|0)+148>>2]=T;c[d+(l*152|0)+136>>2]=n;l=l+1|0}while((l|0)<(c[V>>2]|0))}c[U+(S*244|0)+64>>2]=0;c[U+(S*244|0)+64+4>>2]=0;c[U+(S*244|0)+64+8>>2]=0;c[U+(S*244|0)+64+12>>2]=0;c[U+(S*244|0)+64+16>>2]=0;c[U+(S*244|0)+64+20>>2]=0;c[U+(S*244|0)+64+24>>2]=0;c[U+(S*244|0)+64+28>>2]=0;c[U+(S*244|0)+144>>2]=0;c[U+(S*244|0)+144+4>>2]=0;c[U+(S*244|0)+144+8>>2]=0;c[U+(S*244|0)+144+12>>2]=0;c[U+(S*244|0)+144+16>>2]=0;c[U+(S*244|0)+144+20>>2]=0;c[U+(S*244|0)+144+24>>2]=0;c[U+(S*244|0)+144+28>>2]=0;c[U+(T*244|0)+64>>2]=0;c[U+(T*244|0)+64+4>>2]=0;c[U+(T*244|0)+64+8>>2]=0;c[U+(T*244|0)+64+12>>2]=0;c[U+(T*244|0)+64+16>>2]=0;c[U+(T*244|0)+64+20>>2]=0;c[U+(T*244|0)+64+24>>2]=0;c[U+(T*244|0)+64+28>>2]=0;c[U+(T*244|0)+144>>2]=0;c[U+(T*244|0)+144+4>>2]=0;c[U+(T*244|0)+144+8>>2]=0;c[U+(T*244|0)+144+12>>2]=0;c[U+(T*244|0)+144+16>>2]=0;c[U+(T*244|0)+144+20>>2]=0;c[U+(T*244|0)+144+24>>2]=0;c[U+(T*244|0)+144+28>>2]=0;g[Z>>2]=1.0/+g[k+12>>2];c[Z+4>>2]=c[k+32>>2];c[Z+8>>2]=m+(W*152|0)+16;c[Z+12>>2]=d;c[Z+16>>2]=m+(W*152|0)+48;c[Z+20>>2]=m+(W*152|0)+32;c[Z+24>>2]=38;c[Z+28>>2]=m+(W*152|0)+112;n=m+(W*152|0)+116|0;c[n>>2]=c[k+40>>2];c[Z+52>>2]=c[k+4>>2];c[Z+32>>2]=n;c[Z+36>>2]=m+(W*152|0)+120;c[Z+40>>2]=m+(W*152|0)+124;c[Z+48>>2]=c[k+20>>2];n=c[p>>2]|0;Va[c[(c[n>>2]|0)+20>>2]&127](n,Z);if((c[V>>2]|0)>0){m=0;do{l=d+(m*152|0)+124|0;o=+g[(c[p>>2]|0)+16>>2];if(+g[l>>2]>=o)g[l>>2]=o;l=d+(m*152|0)+120|0;if(+g[l>>2]<=-o)g[l>>2]=-o;c[d+(m*152|0)+132>>2]=e;n=d+(m*152|0)|0;l=c[e+28>>2]|0;o=+g[n>>2];r=+g[n+4>>2];s=+g[n+8>>2];u=(o*+g[l+280>>2]+r*+g[l+284>>2]+s*+g[l+288>>2])*+g[l+548>>2];t=(o*+g[l+296>>2]+r*+g[l+300>>2]+s*+g[l+304>>2])*+g[l+552>>2];n=d+(m*152|0)+64|0;g[n>>2]=(+g[l+264>>2]*o+ +g[l+268>>2]*r+ +g[l+272>>2]*s)*+g[l+544>>2];g[n+4>>2]=u;g[n+8>>2]=t;g[n+12>>2]=0.0;n=d+(m*152|0)+32|0;l=c[e+32>>2]|0;t=+g[n>>2];u=+g[n+4>>2];v=+g[n+8>>2];y=(t*+g[l+280>>2]+u*+g[l+284>>2]+v*+g[l+288>>2])*+g[l+548>>2];Q=(t*+g[l+296>>2]+u*+g[l+300>>2]+v*+g[l+304>>2])*+g[l+552>>2];n=d+(m*152|0)+80|0;g[n>>2]=(+g[l+264>>2]*t+ +g[l+268>>2]*u+ +g[l+272>>2]*v)*+g[l+544>>2];g[n+4>>2]=y;g[n+8>>2]=Q;g[n+12>>2]=0.0;n=d+(m*152|0)+16|0;Q=+g[q+344>>2];y=+g[n>>2];z=+g[n+4>>2];A=+g[n+8>>2];n=d+(m*152|0)+48|0;E=+g[R+344>>2];B=+g[n>>2];C=+g[n+4>>2];D=+g[n+8>>2];E=y*Q*y+z*Q*z+A*Q*A+(o*(o*+g[q+264>>2]+r*+g[q+268>>2]+s*+g[q+272>>2])+r*(o*+g[q+280>>2]+r*+g[q+284>>2]+s*+g[q+288>>2])+s*(o*+g[q+296>>2]+r*+g[q+300>>2]+s*+g[q+304>>2]))+(B*E*B+C*E*C+D*E*D)+(t*(t*+g[R+264>>2]+u*+g[R+268>>2]+v*+g[R+272>>2])+u*(t*+g[R+280>>2]+u*+g[R+284>>2]+v*+g[R+288>>2])+v*(t*+g[R+296>>2]+u*+g[R+300>>2]+v*+g[R+304>>2]));n=+w(+E)>1.1920928955078125e-07;E=n?1.0/E:0.0;g[d+(m*152|0)+108>>2]=E;if(!(c[U+(S*244|0)+240>>2]|0)){F=0.0;G=0.0;H=0.0;I=0.0;J=0.0;K=0.0}else{F=+g[U+(S*244|0)+208>>2];G=+g[U+(S*244|0)+212>>2];H=+g[U+(S*244|0)+216>>2];I=+g[U+(S*244|0)+224>>2];J=+g[U+(S*244|0)+228>>2];K=+g[U+(S*244|0)+232>>2]}if(!(c[U+(T*244|0)+240>>2]|0)){L=0.0;M=0.0;N=0.0;O=0.0;P=0.0;Q=0.0}else{L=+g[U+(T*244|0)+208>>2];M=+g[U+(T*244|0)+212>>2];N=+g[U+(T*244|0)+216>>2];O=+g[U+(T*244|0)+224>>2];P=+g[U+(T*244|0)+228>>2];Q=+g[U+(T*244|0)+232>>2]}n=d+(m*152|0)+112|0;g[n>>2]=E*+g[n>>2]+E*(0.0-+g[Z+52>>2]*(y*(F+ +g[q+312>>2])+z*(G+ +g[q+316>>2])+A*(H+ +g[q+320>>2])+(o*(I+ +g[q+328>>2])+r*(J+ +g[q+332>>2])+s*(K+ +g[q+336>>2]))+(B*(L+ +g[R+312>>2])+C*(M+ +g[R+316>>2])+D*(N+ +g[R+320>>2])+(t*(O+ +g[R+328>>2])+u*(P+ +g[R+332>>2])+v*(Q+ +g[R+336>>2])))));g[d+(m*152|0)+100>>2]=0.0;m=m+1|0}while((m|0)<(c[V>>2]|0))}l=c[b+176>>2]|0;m=c[l+(X<<3)>>2]|0}X=X+1|0;if((X|0)>=(j|0))break;else W=m+W|0}}ab[c[(c[b>>2]|0)+28>>2]&127](b,f,h,k);p=c[b+48>>2]|0;e=c[b+28>>2]|0;q=c[b+68>>2]|0;m=c[b+128>>2]|0;if((m|0)<(p|0)?(c[b+132>>2]|0)<(p|0):0){if(!p)l=0;else{c[7182]=(c[7182]|0)+1;l=xb((p<<2|3)+16|0)|0;if(!l)l=0;else{c[(l+4+15&-16)+-4>>2]=l;l=l+4+15&-16}m=c[b+128>>2]|0}d=c[b+136>>2]|0;if((m|0)<=0)if(!d)m=b+140|0;else Y=106;else{n=0;do{c[l+(n<<2)>>2]=c[d+(n<<2)>>2];n=n+1|0}while((n|0)!=(m|0));Y=106}if((Y|0)==106){if(a[b+140>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+136>>2]=0;m=b+140|0}a[m>>0]=1;c[b+136>>2]=l;c[b+132>>2]=p}c[b+128>>2]=p;if(!(c[k+64>>2]&16)){m=c[b+108>>2]|0;if((m|0)<(e|0)?(c[b+112>>2]|0)<(e|0):0){if(!e)l=0;else{c[7182]=(c[7182]|0)+1;l=xb((e<<2|3)+16|0)|0;if(!l)l=0;else{c[(l+4+15&-16)+-4>>2]=l;l=l+4+15&-16}m=c[b+108>>2]|0}d=c[b+116>>2]|0;if((m|0)<=0)if(!d)m=b+120|0;else Y=138;else{n=0;do{c[l+(n<<2)>>2]=c[d+(n<<2)>>2];n=n+1|0}while((n|0)!=(m|0));Y=138}if((Y|0)==138){if(a[b+120>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+116>>2]=0;m=b+120|0}a[m>>0]=1;c[b+116>>2]=l;c[b+112>>2]=e}c[b+108>>2]=e}else{m=c[b+108>>2]|0;if((m|0)<(e<<1|0)?(c[b+112>>2]|0)<(e<<1|0):0){if(!e)l=0;else{c[7182]=(c[7182]|0)+1;l=xb((e<<3|3)+16|0)|0;if(!l)l=0;else{c[(l+4+15&-16)+-4>>2]=l;l=l+4+15&-16}m=c[b+108>>2]|0}d=c[b+116>>2]|0;if((m|0)<=0)if(!d)m=b+120|0;else Y=122;else{n=0;do{c[l+(n<<2)>>2]=c[d+(n<<2)>>2];n=n+1|0}while((n|0)!=(m|0));Y=122}if((Y|0)==122){if(a[b+120>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+116>>2]=0;m=b+120|0}a[m>>0]=1;c[b+116>>2]=l;c[b+112>>2]=e<<1}c[b+108>>2]=e<<1}m=c[b+148>>2]|0;if((m|0)<(q|0)?(c[b+152>>2]|0)<(q|0):0){if(!q)l=0;else{c[7182]=(c[7182]|0)+1;l=xb((q<<2|3)+16|0)|0;if(!l)l=0;else{c[(l+4+15&-16)+-4>>2]=l;l=l+4+15&-16}m=c[b+148>>2]|0}d=c[b+156>>2]|0;if((m|0)<=0)if(!d)m=b+160|0;else Y=154;else{n=0;do{c[l+(n<<2)>>2]=c[d+(n<<2)>>2];n=n+1|0}while((n|0)!=(m|0));Y=154}if((Y|0)==154){if(a[b+160>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+156>>2]=0;m=b+160|0}a[m>>0]=1;c[b+156>>2]=l;c[b+152>>2]=q}c[b+148>>2]=q;if((p|0)>0){m=c[b+136>>2]|0;l=0;do{c[m+(l<<2)>>2]=l;l=l+1|0}while((l|0)!=(p|0))}if((e|0)>0){m=c[b+116>>2]|0;l=0;do{c[m+(l<<2)>>2]=l;l=l+1|0}while((l|0)!=(e|0))}if((q|0)>0){m=c[b+156>>2]|0;l=0;do{c[m+(l<<2)>>2]=l;l=l+1|0}while((l|0)!=(q|0))}l=c[3084]|0;b=(c[l+16>>2]|0)+-1|0;c[l+16>>2]=b;if(b|0){sa=Z;return 0.0}do if(c[l+4>>2]|0){la(Z|0,0)|0;b=c[7181]|0;g[l+8>>2]=+g[l+8>>2]+ +(((c[Z+4>>2]|0)-(c[b+4>>2]|0)+(((c[Z>>2]|0)-(c[b>>2]|0)|0)*1e6|0)-(c[l+12>>2]|0)|0)>>>0)/1.0e3;if(!(c[l+16>>2]|0)){l=c[3084]|0;break}else{sa=Z;return 0.0}}while(0);c[3084]=c[l+20>>2];sa=Z;return 0.0}function Cb(b,d,e,f,h){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;var i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,y=0.0,B=0.0,D=0.0,E=0.0,G=0.0,H=0.0,I=0.0,J=0.0,K=0.0,L=0.0,M=0.0,N=0.0,O=0.0,P=0.0,Q=0,R=0.0,S=0.0,T=0.0,U=0.0,V=0.0,W=0.0,X=0.0,Y=0.0,Z=0.0,_=0.0,$=0.0,aa=0.0,ba=0.0,ca=0.0,da=0.0,ea=0.0,fa=0.0,ga=0.0,ha=0.0,ia=0.0,ja=0.0,ka=0.0,la=0.0,ma=0,na=0.0,oa=0.0,pa=0.0,qa=0.0,ra=0.0;ma=sa;sa=sa+80|0;g[b+504>>2]=0.0;g[b+500>>2]=0.0;a[b+525>>0]=0;a[b+526>>0]=0;if(a[b+552>>0]|0?(a[b+527>>0]|0)==0:0){ra=+g[b+556>>2];pa=+g[b+560>>2];la=+g[b+564>>2];oa=+g[b+568>>2];aa=ra*(2.0/(ra*ra+pa*pa+la*la+oa*oa));qa=pa*(2.0/(ra*ra+pa*pa+la*la+oa*oa));na=la*(2.0/(ra*ra+pa*pa+la*la+oa*oa));ba=+g[b+300>>2];T=+g[d>>2];ca=+g[b+316>>2];U=+g[d+4>>2];da=+g[b+332>>2];V=+g[d+8>>2];fa=+g[b+304>>2];ha=+g[b+320>>2];ja=+g[b+336>>2];Z=+g[b+308>>2];_=+g[b+324>>2];$=+g[b+340>>2];W=+g[d+16>>2];X=+g[d+20>>2];Y=+g[d+24>>2];ga=+g[d+32>>2];ia=+g[d+36>>2];ka=+g[d+40>>2];r=+g[b+348>>2];q=+g[b+352>>2];p=+g[b+356>>2];v=+g[b+364>>2];l=+g[e>>2];y=+g[b+380>>2];m=+g[e+4>>2];B=+g[b+396>>2];k=+g[e+8>>2];D=+g[b+368>>2];E=+g[b+384>>2];G=+g[b+400>>2];s=+g[b+372>>2];t=+g[b+388>>2];u=+g[b+404>>2];n=+g[e+16>>2];o=+g[e+20>>2];j=+g[e+24>>2];H=+g[e+32>>2];J=+g[e+36>>2];L=+g[e+40>>2];I=+g[b+412>>2];K=+g[b+416>>2];i=+g[b+420>>2];N=(1.0-(pa*qa+la*na))*(v*l+y*m+B*k)+(ra*qa+oa*na)*(l*D+m*E+k*G)+(ra*na-oa*qa)*(l*s+m*t+k*u);O=(ra*qa-oa*na)*(v*l+y*m+B*k)+(1.0-(ra*aa+la*na))*(l*D+m*E+k*G)+(pa*na+oa*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(pa*+g[h+4>>2]+qa*+g[h+20>>2]+ra*+g[h+36>>2])+ra*(pa*+g[h+8>>2]+qa*+g[h+24>>2]+ra*+g[h+40>>2])))}}else Q=20;a:do if((Q|0)==20){E=+g[b+300>>2];G=+g[b+316>>2];H=+g[b+332>>2];I=+g[d>>2];J=+g[d+4>>2];K=+g[d+8>>2];L=+g[d+16>>2];M=+g[d+20>>2];N=+g[d+24>>2];O=+g[d+32>>2];P=+g[d+36>>2];q=+g[d+40>>2];r=+g[b+304>>2];s=+g[b+320>>2];t=+g[b+336>>2];u=+g[b+308>>2];v=+g[b+324>>2];y=+g[b+340>>2];n=+g[b+364>>2];k=+g[b+380>>2];p=+g[b+396>>2];B=n*+g[e>>2]+k*+g[e+4>>2]+p*+g[e+8>>2];D=n*+g[e+16>>2]+k*+g[e+20>>2]+p*+g[e+24>>2];p=n*+g[e+32>>2]+k*+g[e+36>>2]+p*+g[e+40>>2];k=(E*I+G*J+H*K)*B+(E*L+G*M+H*N)*D+(E*O+G*P+H*q)*p;n=(I*r+J*s+K*t)*B+(L*r+M*s+N*t)*D+(O*r+P*s+q*t)*p;m=(I*u+J*v+K*y)*B+(L*u+M*v+N*y)*D+(O*u+P*v+q*y)*p;do if(S>2];if(o>0]=1;g[b+460>>2]=-((E*O+G*P+H*q)*D-(E*L+G*M+H*N)*p);g[b+464>>2]=-((E*I+G*J+H*K)*p-(E*O+G*P+H*q)*B);g[b+468>>2]=-((E*L+G*M+H*N)*B-(E*I+G*J+H*K)*D);g[b+472>>2]=0.0;break a}if(!(+w(+k)<1.1920928955078125e-07&+w(+m)<1.1920928955078125e-07)?(a[b+526>>0]=1,o>=R):0){l=+F(+m,+k);if(l>o){m=+A(+o);l=0.0;k=+z(+o);break}if(l<-o){m=-+A(+o);l=0.0;k=+z(+o)}else l=0.0}else l=n}else if(!(+w(+k)<1.1920928955078125e-07&+w(+n)<1.1920928955078125e-07)?(a[b+526>>0]=1,S>=R):0){l=+F(+n,+k);if(l>S){m=0.0;l=+A(+S);k=+z(+S);break}if(l<-S){m=0.0;l=-+A(+S);k=+z(+S)}else{m=0.0;l=n}}else l=n;while(0);pa=(I*u+J*v+K*y)*m+((I*r+J*s+K*t)*l+(E*I+G*J+H*K)*k);oa=(L*u+M*v+N*y)*m+((L*r+M*s+N*t)*l+(E*L+G*M+H*N)*k);na=(O*u+P*v+q*y)*m+((O*r+P*s+q*t)*l+(E*O+G*P+H*q)*k);qa=1.0/+x(+(na*na+(pa*pa+oa*oa)));g[b+472>>2]=0.0;ra=+x(+((D*na*qa-p*oa*qa)*(D*na*qa-p*oa*qa)+(p*pa*qa-B*na*qa)*(p*pa*qa-B*na*qa)+(B*oa*qa-D*pa*qa)*(B*oa*qa-D*pa*qa)));g[b+504>>2]=ra;g[b+460>>2]=-((D*na*qa-p*oa*qa)*(1.0/ra));g[b+464>>2]=-((p*pa*qa-B*na*qa)*(1.0/ra));g[b+468>>2]=-((B*oa*qa-D*pa*qa)*(1.0/ra))}while(0);o=+g[b+452>>2];if(!(o>=0.0)){g[b+512>>2]=0.0;sa=ma;return}l=T<-1.0?-1.0:T;l=+C(+(l>1.0?1.0:l))*2.0;if(l>3.1415927410125732){n=-T<-1.0?-1.0:-T;k=-U;j=-j;i=-i;n=+C(+(n>1.0?1.0:n))*2.0}else{k=U;n=l}g[b+512>>2]=n;if(n>1.1920928955078125e-07){ra=1.0/+x(+(k*k+j*j+i*i));k=k*ra;m=i*ra;j=j*ra}else m=i;i=+g[b+428>>2];if(n>o*i){a[b+525>>0]=1;l=n-o*i;if(n>2]=i;g[b+508>>2]=l;qa=-k;pa=-j;na=-m;U=(ba*ea-ca*da-fa*ia-ga*ha)*qa+(ca*ha+(ea*fa+ba*ia)-da*ga)*na-(ba*ga+ea*ha+da*ia-ca*fa)*pa;ra=(ba*ga+ea*ha+da*ia-ca*fa)*qa+(ba*ea-ca*da-fa*ia-ga*ha)*pa-(ba*ca+da*ea+fa*ga-ha*ia)*na;oa=(ba*ca+da*ea+fa*ga-ha*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)-X*_);oa=-(V*_+Y*$+X*aa-W*Z);g[b+536>>2]=qa*oa+(na*ra+(V*Y-W*X-Z*aa-_*$)*ka)-pa*la;g[b+540>>2]=pa*ra+((V*Y-W*X-Z*aa-_*$)*qa+na*la)-ka*oa;g[b+544>>2]=ka*la+(na*oa+(V*Y-W*X-Z*aa-_*$)*pa)-qa*ra;g[b+548>>2]=0.0;sa=ma;return}function Db(b,d){b=b|0;d=d|0;var e=0.0,f=0.0,h=0,i=0.0,j=0.0,k=0,l=0.0,m=0,n=0.0,o=0,p=0.0,q=0,r=0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0,I=0.0,J=0.0,K=0.0,L=0.0,M=0.0,N=0.0,O=0.0,P=0.0,Q=0,R=0.0,S=0.0,T=0.0,U=0.0,V=0.0,W=0.0,X=0.0,Y=0.0,Z=0.0,_=0.0,$=0.0,aa=0.0,ba=0.0,ca=0.0,da=0.0,ea=0.0,fa=0.0,ga=0.0,ha=0.0,ia=0.0,ja=0.0,ka=0.0,la=0,ma=0,na=0;ma=c[b+28>>2]|0;na=c[b+32>>2]|0;la=c[d+24>>2]|0;if(!(a[b+739>>0]|0)){j=+g[b+552>>2];R=+g[ma+4>>2];l=+g[b+568>>2];S=+g[ma+8>>2];n=+g[b+584>>2];T=+g[ma+12>>2];p=+g[b+556>>2];s=+g[b+572>>2];t=+g[b+588>>2];U=+g[b+560>>2];V=+g[b+576>>2];W=+g[b+592>>2];X=+g[ma+20>>2];Y=+g[ma+24>>2];Z=+g[ma+28>>2];_=+g[ma+36>>2];$=+g[ma+40>>2];aa=+g[ma+44>>2];u=+g[b+600>>2];v=+g[b+604>>2];w=+g[b+608>>2];y=+g[ma+52>>2];z=+g[ma+56>>2];A=+g[ma+60>>2];B=+g[na+4>>2];C=+g[na+8>>2];D=+g[na+12>>2];E=+g[b+624>>2];F=+g[b+640>>2];G=+g[b+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$+W*aa;g[o+(la*5<<2)>>2]=-(R*U+S*V+T*W);g[o+((la*5|0)+1<<2)>>2]=-(U*X+V*Y+W*Z);g[o+((la*5|0)+2<<2)>>2]=-(U*_+V*$+W*aa);e=+g[b+688>>2];f=+g[b+692>>2];if(!((e-f)%6.2831854820251465<-3.1415927410125732))if((e-f)%6.2831854820251465>3.1415927410125732)n=(e-f)%6.2831854820251465+-6.2831854820251465;else n=(e-f)%6.2831854820251465;else n=(e-f)%6.2831854820251465+6.2831854820251465;if(!((e+f)%6.2831854820251465<-3.1415927410125732))if((e+f)%6.2831854820251465>3.1415927410125732)j=(e+f)%6.2831854820251465+-6.2831854820251465;else j=(e+f)%6.2831854820251465;else j=(e+f)%6.2831854820251465+6.2831854820251465;m=n==j;o=Q+(la*5<<2)|0;g[o>>2]=0.0;k=c[b+748>>2]|0;l=+g[((k&2|0)==0?d+4|0:b+760|0)>>2];if(!(h<<24>>24==0|q&m)){if(k&4|0)c[(c[d+32>>2]|0)+(la*5<<2)>>2]=c[b+752>>2];f=+g[b+728>>2];i=+g[b+680>>2];e=n>j?1.0:0.0;do if(!(n>=j)){e=i/(l*+g[d>>2]);if(e<0.0)if(f>=n&n-e>f){e=(n-f)/e;break}else{e=f0.0)if(f<=j&j-ej?0.0:1.0;break}else e=0.0}while(0);g[o>>2]=e*i*+g[b+732>>2]+ +g[o>>2];g[(c[d+36>>2]|0)+(la*5<<2)>>2]=-+g[b+684>>2];c[(c[d+40>>2]|0)+(la*5<<2)>>2]=c[b+684>>2]}if(!q)return;g[o>>2]=+g[o>>2]+p*l*+g[d>>2];if(k&1|0)c[(c[d+32>>2]|0)+(la*5<<2)>>2]=c[b+756>>2];do if(!m){h=(c[d+36>>2]|0)+(la*5<<2)|0;if((r|0)==1){g[h>>2]=0.0;e=3402823466385288598117041.0e14;break}else{g[h>>2]=-3402823466385288598117041.0e14;e=0.0;break}}else{g[(c[d+36>>2]|0)+(la*5<<2)>>2]=-3402823466385288598117041.0e14;e=3402823466385288598117041.0e14}while(0);g[(c[d+40>>2]|0)+(la*5<<2)>>2]=e;f=+g[b+704>>2];do if(f>0.0){e=(R*U+S*V+T*W)*+g[ma+328>>2]+(U*X+V*Y+W*Z)*+g[ma+332>>2]+(U*_+V*$+W*aa)*+g[ma+336>>2]-((R*U+S*V+T*W)*+g[na+328>>2]+(U*X+V*Y+W*Z)*+g[na+332>>2]+(U*_+V*$+W*aa)*+g[na+336>>2]);if((r|0)==1){if(!(e<0.0))break;if(!(+g[o>>2]<-(f*e)))break;g[o>>2]=-(f*e);break}else{if(!(e>0.0))break;if(!(+g[o>>2]>-(f*e)))break;g[o>>2]=-(f*e);break}}while(0);g[o>>2]=+g[b+700>>2]*+g[o>>2];return}S=+g[ma+4>>2];T=+g[ma+8>>2];U=+g[ma+12>>2];p=+g[b+556>>2];t=+g[b+572>>2];u=+g[b+588>>2];V=+g[b+560>>2];W=+g[b+576>>2];X=+g[b+592>>2];Y=+g[ma+20>>2];Z=+g[ma+24>>2];_=+g[ma+28>>2];$=+g[ma+36>>2];aa=+g[ma+40>>2];ba=+g[ma+44>>2];y=+g[b+600>>2];A=+g[b+604>>2];z=+g[b+608>>2];f=+g[ma+52>>2];s=+g[ma+56>>2];l=+g[ma+60>>2];ca=+g[na+4>>2];da=+g[na+8>>2];ea=+g[na+12>>2];fa=+g[b+624>>2];ga=+g[b+640>>2];K=+g[b+656>>2];L=+g[na+20>>2];M=+g[na+24>>2];N=+g[na+28>>2];O=+g[na+36>>2];P=+g[na+40>>2];R=+g[na+44>>2];D=+g[b+664>>2];C=+g[b+668>>2];i=+g[b+672>>2];e=+g[na+52>>2];n=+g[na+56>>2];j=+g[na+60>>2];F=e+(ca*D+da*C+ea*i)-(f+(S*y+T*A+U*z));G=L*D+M*C+N*i+n-(Y*y+Z*A+_*z+s);H=O*D+P*C+R*i+j-($*y+aa*A+ba*z+l);v=+g[(c[b+28>>2]|0)+344>>2];w=+g[(c[b+32>>2]|0)+344>>2];E=v+w>0.0?w/(v+w):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>2];p=ga;r=ga>0.0?1:2}h=a[b+737>>0]|0;q=(r|0)!=0;if(!(r|h&255))return;g[k+(la*5<<2)>>2]=ha*ka;g[k+((la*5|0)+1<<2)>>2]=ia*ka;g[k+((la*5|0)+2<<2)>>2]=ja*ka;g[m+(la*5<<2)>>2]=-(ha*ka);g[m+((la*5|0)+1<<2)>>2]=-(ia*ka);g[m+((la*5|0)+2<<2)>>2]=-(ja*ka);e=+g[b+688>>2];f=+g[b+692>>2];if(!((e-f)%6.2831854820251465<-3.1415927410125732))if((e-f)%6.2831854820251465>3.1415927410125732)n=(e-f)%6.2831854820251465+-6.2831854820251465;else n=(e-f)%6.2831854820251465;else n=(e-f)%6.2831854820251465+6.2831854820251465;if(!((e+f)%6.2831854820251465<-3.1415927410125732))if((e+f)%6.2831854820251465>3.1415927410125732)j=(e+f)%6.2831854820251465+-6.2831854820251465;else j=(e+f)%6.2831854820251465;else j=(e+f)%6.2831854820251465+6.2831854820251465;m=n==j;o=o+(la*5<<2)|0;g[o>>2]=0.0;k=c[b+748>>2]|0;l=+g[((k&2|0)==0?d+4|0:b+760|0)>>2];if(!(h<<24>>24==0|q&m)){if(k&4|0)c[(c[d+32>>2]|0)+(la*5<<2)>>2]=c[b+752>>2];f=+g[b+728>>2];i=+g[b+680>>2];e=n>j?1.0:0.0;do if(!(n>=j)){e=i/(l*+g[d>>2]);if(e<0.0)if(f>=n&n-e>f){e=(n-f)/e;break}else{e=f0.0)if(f<=j&j-ej?0.0:1.0;break}else e=0.0}while(0);g[o>>2]=e*i*+g[b+732>>2]+ +g[o>>2];g[(c[d+36>>2]|0)+(la*5<<2)>>2]=-+g[b+684>>2];c[(c[d+40>>2]|0)+(la*5<<2)>>2]=c[b+684>>2]}if(!q)return;g[o>>2]=+g[o>>2]+p*l*+g[d>>2];if(k&1|0)c[(c[d+32>>2]|0)+(la*5<<2)>>2]=c[b+756>>2];do if(!m){h=(c[d+36>>2]|0)+(la*5<<2)|0;if((r|0)==1){g[h>>2]=0.0;e=3402823466385288598117041.0e14;break}else{g[h>>2]=-3402823466385288598117041.0e14;e=0.0;break}}else{g[(c[d+36>>2]|0)+(la*5<<2)>>2]=-3402823466385288598117041.0e14;e=3402823466385288598117041.0e14}while(0);g[(c[d+40>>2]|0)+(la*5<<2)>>2]=e;f=+g[b+704>>2];do if(f>0.0){e=+g[ma+328>>2]*ha*ka+ +g[ma+332>>2]*ia*ka+ +g[ma+336>>2]*ja*ka-(+g[na+328>>2]*ha*ka+ +g[na+332>>2]*ia*ka+ +g[na+336>>2]*ja*ka);if((r|0)==1){if(!(e<0.0))break;if(!(+g[o>>2]<-(f*e)))break;g[o>>2]=-(f*e);break}else{if(!(e>0.0))break;if(!(+g[o>>2]>-(f*e)))break;g[o>>2]=-(f*e);break}}while(0);g[o>>2]=+g[b+700>>2]*+g[o>>2];return}function Eb(d,e,f,h,i,j){d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;j=+j;var k=0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0,u=0,v=0.0,w=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0,E=0,F=0,G=0.0,H=0.0,I=0.0,J=0.0,K=0.0,L=0.0,M=0.0,N=0.0,O=0.0;F=sa;sa=sa+896|0;E=c[h+4>>2]|0;D=c[h+12>>2]|0;k=c[E+4>>2]|0;if((k|0)<20){c[F+712>>2]=6448;c[F+712+168>>2]=0;g[F+712+172>>2]=j;c[F+712+164>>2]=c[i+4>>2];g[F+352+308>>2]=9.999999747378752e-05;a[F+352+332>>0]=0;c[F+288>>2]=12028;c[F+64>>2]=12096;c[F+64+4>>2]=F+352;c[F+64+8>>2]=F+288;c[F+64+12>>2]=d;c[F+64+16>>2]=E;c[F+64+20>>2]=0;if((bd(F+64|0,e,f,D,D,F+712|0)|0?(u=F+712+132|0,p=+g[u>>2],q=+g[F+712+136>>2],r=+g[F+712+140>>2],p*p+q*q+r*r>9.999999747378752e-05):0)?(s=+g[F+712+164>>2],s<+g[i+4>>2]):0){j=1.0/+x(+(p*p+q*q+r*r));g[u>>2]=p*j;g[F+712+136>>2]=q*j;g[F+712+140>>2]=r*j;c[F+16>>2]=c[h+8>>2];c[F+16+4>>2]=0;c[F+16+8>>2]=c[u>>2];c[F+16+8+4>>2]=c[u+4>>2];c[F+16+8+8>>2]=c[u+8>>2];c[F+16+8+12>>2]=c[u+12>>2];c[F+16+24>>2]=c[F+712+148>>2];c[F+16+24+4>>2]=c[F+712+148+4>>2];c[F+16+24+8>>2]=c[F+712+148+8>>2];c[F+16+24+12>>2]=c[F+712+148+12>>2];g[F+16+40>>2]=s;+ya[c[(c[i>>2]|0)+12>>2]&15](i,F+16|0,1)}sa=F;return}if((k+-21|0)>>>0>=9){if((k|0)!=31){sa=F;return}Ki(19525);if((c[E+16>>2]|0)>0){k=0;do{t=c[E+24>>2]|0;l=+g[t+(k*80|0)>>2];o=+g[t+(k*80|0)+4>>2];r=+g[t+(k*80|0)+8>>2];m=+g[t+(k*80|0)+16>>2];p=+g[t+(k*80|0)+20>>2];v=+g[t+(k*80|0)+24>>2];n=+g[t+(k*80|0)+32>>2];q=+g[t+(k*80|0)+36>>2];y=+g[t+(k*80|0)+40>>2];N=+g[t+(k*80|0)+48>>2];M=+g[t+(k*80|0)+52>>2];C=+g[t+(k*80|0)+56>>2];t=c[t+(k*80|0)+64>>2]|0;L=+g[D>>2];K=+g[D+4>>2];J=+g[D+8>>2];I=+g[D+16>>2];H=+g[D+20>>2];G=+g[D+24>>2];s=+g[D+32>>2];w=+g[D+36>>2];z=+g[D+40>>2];A=N*L+M*K+C*J+ +g[D+48>>2];B=N*I+M*H+C*G+ +g[D+52>>2];C=N*s+M*w+C*z+ +g[D+56>>2];g[F+712>>2]=l*L+m*K+n*J;g[F+712+4>>2]=o*L+p*K+q*J;g[F+712+8>>2]=r*L+v*K+y*J;g[F+712+12>>2]=0.0;g[F+712+16>>2]=l*I+m*H+n*G;g[F+712+20>>2]=o*I+p*H+q*G;g[F+712+24>>2]=r*I+v*H+y*G;g[F+712+28>>2]=0.0;g[F+712+32>>2]=l*s+m*w+n*z;g[F+712+36>>2]=o*s+p*w+q*z;g[F+712+40>>2]=r*s+v*w+y*z;g[F+712+44>>2]=0.0;g[F+712+48>>2]=A;g[F+712+52>>2]=B;g[F+712+56>>2]=C;g[F+712+60>>2]=0.0;b[F+352+8>>1]=1;b[F+352+10>>1]=-1;c[F+352>>2]=8720;c[F+352+12>>2]=i;c[F+352+16>>2]=k;c[F+352+4>>2]=c[i+4>>2];u=c[h+8>>2]|0;c[F+288>>2]=h;c[F+288+4>>2]=t;c[F+288+8>>2]=u;c[F+288+12>>2]=F+712;c[F+288+16>>2]=-1;c[F+288+20>>2]=k;Eb(d,e,f,F+288|0,F+352|0,j);k=k+1|0}while((k|0)<(c[E+16>>2]|0))}k=c[3084]|0;E=(c[k+16>>2]|0)+-1|0;c[k+16>>2]=E;if(E|0){sa=F;return}do if(c[k+4>>2]|0){la(F+712|0,0)|0;E=c[7181]|0;g[k+8>>2]=+g[k+8>>2]+ +(((c[F+712+4>>2]|0)-(c[E+4>>2]|0)+(((c[F+712>>2]|0)-(c[E>>2]|0)|0)*1e6|0)-(c[k+12>>2]|0)|0)>>>0)/1.0e3;if(!(c[k+16>>2]|0)){k=c[3084]|0;break}else{sa=F;return}}while(0);c[3084]=c[k+20>>2];sa=F;return}switch(k|0){case 21:{o=+g[D>>2];p=+g[D+16>>2];q=+g[D+32>>2];r=+g[D+4>>2];s=+g[D+20>>2];v=+g[D+36>>2];w=+g[D+8>>2];y=+g[D+24>>2];z=+g[D+40>>2];A=-+g[D+48>>2];B=-+g[D+52>>2];C=-+g[D+56>>2];n=+g[e+48>>2];m=+g[e+52>>2];l=+g[e+56>>2];g[F+352>>2]=o*A+p*B+q*C+(o*n+p*m+q*l);g[F+352+4>>2]=r*A+s*B+v*C+(r*n+s*m+v*l);g[F+352+8>>2]=w*A+y*B+z*C+(w*n+y*m+z*l);g[F+352+12>>2]=0.0;l=+g[f+48>>2];m=+g[f+52>>2];n=+g[f+56>>2];O=+g[f>>2];G=+g[f+16>>2];H=+g[f+32>>2];I=+g[f+4>>2];J=+g[f+20>>2];K=+g[f+36>>2];L=+g[f+8>>2];M=+g[f+24>>2];N=+g[f+40>>2];g[F+288>>2]=o*O+p*G+q*H;g[F+288+4>>2]=o*I+p*J+q*K;g[F+288+8>>2]=o*L+p*M+q*N;g[F+288+12>>2]=0.0;g[F+288+16>>2]=r*O+s*G+v*H;g[F+288+20>>2]=r*I+s*J+v*K;g[F+288+24>>2]=r*L+s*M+v*N;g[F+288+28>>2]=0.0;g[F+288+32>>2]=w*O+y*G+z*H;g[F+288+36>>2]=w*I+y*J+z*K;g[F+288+40>>2]=w*L+y*M+z*N;k=F+288+44|0;c[k>>2]=0;c[k+4>>2]=0;c[k+8>>2]=0;c[k+12>>2]=0;c[k+16>>2]=0;k=c[h+8>>2]|0;N=+va[c[(c[E>>2]|0)+48>>2]&15](E);c[F+64>>2]=11956;c[F+64+4>>2]=d;c[F+64+8>>2]=c[e>>2];c[F+64+8+4>>2]=c[e+4>>2];c[F+64+8+8>>2]=c[e+8>>2];c[F+64+8+12>>2]=c[e+12>>2];c[F+64+24>>2]=c[e+16>>2];c[F+64+24+4>>2]=c[e+16+4>>2];c[F+64+24+8>>2]=c[e+16+8>>2];c[F+64+24+12>>2]=c[e+16+12>>2];c[F+64+40>>2]=c[e+32>>2];c[F+64+40+4>>2]=c[e+32+4>>2];c[F+64+40+8>>2]=c[e+32+8>>2];c[F+64+40+12>>2]=c[e+32+12>>2];c[F+64+56>>2]=c[e+48>>2];c[F+64+56+4>>2]=c[e+48+4>>2];c[F+64+56+8>>2]=c[e+48+8>>2];c[F+64+56+12>>2]=c[e+48+12>>2];c[F+64+72>>2]=c[f>>2];c[F+64+72+4>>2]=c[f+4>>2];c[F+64+72+8>>2]=c[f+8>>2];c[F+64+72+12>>2]=c[f+12>>2];c[F+64+88>>2]=c[f+16>>2];c[F+64+88+4>>2]=c[f+16+4>>2];c[F+64+88+8>>2]=c[f+16+8>>2];c[F+64+88+12>>2]=c[f+16+12>>2];c[F+64+104>>2]=c[f+32>>2];c[F+64+104+4>>2]=c[f+32+4>>2];c[F+64+104+8>>2]=c[f+32+8>>2];c[F+64+104+12>>2]=c[f+32+12>>2];c[F+64+120>>2]=c[f+48>>2];c[F+64+120+4>>2]=c[f+48+4>>2];c[F+64+120+8>>2]=c[f+48+8>>2];c[F+64+120+12>>2]=c[f+48+12>>2];c[F+64+136>>2]=c[D>>2];c[F+64+136+4>>2]=c[D+4>>2];c[F+64+136+8>>2]=c[D+8>>2];c[F+64+136+12>>2]=c[D+12>>2];c[F+64+152>>2]=c[D+16>>2];c[F+64+152+4>>2]=c[D+16+4>>2];c[F+64+152+8>>2]=c[D+16+8>>2];c[F+64+152+12>>2]=c[D+16+12>>2];c[F+64+168>>2]=c[D+32>>2];c[F+64+168+4>>2]=c[D+32+4>>2];c[F+64+168+8>>2]=c[D+32+8>>2];c[F+64+168+12>>2]=c[D+32+12>>2];c[F+64+184>>2]=c[D+48>>2];c[F+64+184+4>>2]=c[D+48+4>>2];c[F+64+184+8>>2]=c[D+48+8>>2];c[F+64+184+12>>2]=c[D+48+12>>2];g[F+64+204>>2]=N;c[F+64>>2]=8672;c[F+64+212>>2]=i;c[F+64+216>>2]=k;c[F+64+220>>2]=E;c[F+64+200>>2]=c[i+4>>2];g[F+64+208>>2]=j;ab[c[(c[d>>2]|0)+8>>2]&127](d,F+288|0,F+16|0,F);k=c[E+48>>2]|0;c[F+712>>2]=9712;c[F+712+4>>2]=k;c[F+712+8>>2]=F+64;k=c[E+52>>2]|0;if(!(a[k+60>>0]|0))Xd(k,F+712|0,F+352|0,o*A+p*B+q*C+(o*l+p*m+q*n),r*A+s*B+v*C+(r*l+s*m+v*n),w*A+y*B+z*C+(w*l+y*m+z*n),F+16|0,F);else Dd(k,F+712|0,F+352|0,o*A+p*B+q*C+(o*l+p*m+q*n),r*A+s*B+v*C+(r*l+s*m+v*n),w*A+y*B+z*C+(w*l+y*m+z*n),F+16|0,F,c[k+56>>2]|0);sa=F;return}case 28:{c[F+712>>2]=6448;c[F+712+168>>2]=0;g[F+712+172>>2]=j;c[F+712+164>>2]=c[i+4>>2];c[F+352>>2]=12096;c[F+352+4>>2]=0;c[F+352+8>>2]=0;c[F+352+12>>2]=d;c[F+352+16>>2]=0;c[F+352+20>>2]=E;if((bd(F+352|0,e,f,D,D,F+712|0)|0?(t=F+712+132|0,l=+g[t>>2],m=+g[F+712+136>>2],n=+g[F+712+140>>2],l*l+m*m+n*n>9.999999747378752e-05):0)?(o=+g[F+712+164>>2],o<+g[i+4>>2]):0){O=1.0/+x(+(l*l+m*m+n*n));g[t>>2]=l*O;g[F+712+136>>2]=m*O;g[F+712+140>>2]=n*O;c[F+288>>2]=c[h+8>>2];c[F+288+4>>2]=0;c[F+288+8>>2]=c[t>>2];c[F+288+8+4>>2]=c[t+4>>2];c[F+288+8+8>>2]=c[t+8>>2];c[F+288+8+12>>2]=c[t+12>>2];c[F+288+24>>2]=c[F+712+148>>2];c[F+288+24+4>>2]=c[F+712+148+4>>2];c[F+288+24+8>>2]=c[F+712+148+8>>2];c[F+288+24+12>>2]=c[F+712+148+12>>2];g[F+288+40>>2]=o;+ya[c[(c[i>>2]|0)+12>>2]&15](i,F+288|0,1)}sa=F;return}default:{o=+g[D>>2];p=+g[D+16>>2];q=+g[D+32>>2];w=+g[D+4>>2];y=+g[D+20>>2];z=+g[D+36>>2];J=+g[D+8>>2];L=+g[D+24>>2];N=+g[D+40>>2];H=-+g[D+48>>2];G=-+g[D+52>>2];C=-+g[D+56>>2];A=+g[e+48>>2];B=+g[e+52>>2];l=+g[e+56>>2];n=o*H+p*G+q*C+(o*A+p*B+q*l);m=w*H+y*G+z*C+(w*A+y*B+z*l);l=J*H+L*G+N*C+(J*A+L*B+N*l);B=+g[f+48>>2];A=+g[f+52>>2];v=+g[f+56>>2];r=o*H+p*G+q*C+(o*B+p*A+q*v);s=w*H+y*G+z*C+(w*B+y*A+z*v);v=J*H+L*G+N*C+(J*B+L*A+N*v);A=+g[f>>2];B=+g[f+16>>2];C=+g[f+32>>2];G=+g[f+4>>2];H=+g[f+20>>2];I=+g[f+36>>2];K=+g[f+8>>2];M=+g[f+24>>2];O=+g[f+40>>2];g[F+712>>2]=o*A+p*B+q*C;g[F+712+4>>2]=o*G+p*H+q*I;g[F+712+8>>2]=o*K+p*M+q*O;g[F+712+12>>2]=0.0;g[F+712+16>>2]=w*A+y*B+z*C;g[F+712+20>>2]=w*G+y*H+z*I;g[F+712+24>>2]=w*K+y*M+z*O;g[F+712+28>>2]=0.0;g[F+712+32>>2]=J*A+L*B+N*C;g[F+712+36>>2]=J*G+L*H+N*I;g[F+712+40>>2]=J*K+L*M+N*O;u=F+712+44|0;c[u>>2]=0;c[u+4>>2]=0;c[u+8>>2]=0;c[u+12>>2]=0;c[u+16>>2]=0;h=c[h+8>>2]|0;O=+va[c[(c[E>>2]|0)+48>>2]&15](E);c[F+352>>2]=11956;c[F+352+4>>2]=d;c[F+352+8>>2]=c[e>>2];c[F+352+8+4>>2]=c[e+4>>2];c[F+352+8+8>>2]=c[e+8>>2];c[F+352+8+12>>2]=c[e+12>>2];c[F+352+24>>2]=c[e+16>>2];c[F+352+24+4>>2]=c[e+16+4>>2];c[F+352+24+8>>2]=c[e+16+8>>2];c[F+352+24+12>>2]=c[e+16+12>>2];c[F+352+40>>2]=c[e+32>>2];c[F+352+40+4>>2]=c[e+32+4>>2];c[F+352+40+8>>2]=c[e+32+8>>2];c[F+352+40+12>>2]=c[e+32+12>>2];c[F+352+56>>2]=c[e+48>>2];c[F+352+56+4>>2]=c[e+48+4>>2];c[F+352+56+8>>2]=c[e+48+8>>2];c[F+352+56+12>>2]=c[e+48+12>>2];c[F+352+72>>2]=c[f>>2];c[F+352+72+4>>2]=c[f+4>>2];c[F+352+72+8>>2]=c[f+8>>2];c[F+352+72+12>>2]=c[f+12>>2];c[F+352+88>>2]=c[f+16>>2];c[F+352+88+4>>2]=c[f+16+4>>2];c[F+352+88+8>>2]=c[f+16+8>>2];c[F+352+88+12>>2]=c[f+16+12>>2];c[F+352+104>>2]=c[f+32>>2];c[F+352+104+4>>2]=c[f+32+4>>2];c[F+352+104+8>>2]=c[f+32+8>>2];c[F+352+104+12>>2]=c[f+32+12>>2];c[F+352+120>>2]=c[f+48>>2];c[F+352+120+4>>2]=c[f+48+4>>2];c[F+352+120+8>>2]=c[f+48+8>>2];c[F+352+120+12>>2]=c[f+48+12>>2];c[F+352+136>>2]=c[D>>2];c[F+352+136+4>>2]=c[D+4>>2];c[F+352+136+8>>2]=c[D+8>>2];c[F+352+136+12>>2]=c[D+12>>2];c[F+352+152>>2]=c[D+16>>2];c[F+352+152+4>>2]=c[D+16+4>>2];c[F+352+152+8>>2]=c[D+16+8>>2];c[F+352+152+12>>2]=c[D+16+12>>2];c[F+352+168>>2]=c[D+32>>2];c[F+352+168+4>>2]=c[D+32+4>>2];c[F+352+168+8>>2]=c[D+32+8>>2];c[F+352+168+12>>2]=c[D+32+12>>2];c[F+352+184>>2]=c[D+48>>2];c[F+352+184+4>>2]=c[D+48+4>>2];c[F+352+184+8>>2]=c[D+48+8>>2];c[F+352+184+12>>2]=c[D+48+12>>2];g[F+352+204>>2]=O;c[F+352>>2]=8696;c[F+352+212>>2]=i;c[F+352+216>>2]=h;c[F+352+220>>2]=E;c[F+352+200>>2]=c[i+4>>2];g[F+352+208>>2]=j;ab[c[(c[d>>2]|0)+8>>2]&127](d,F+712|0,F+288|0,F+64|0);g[F+16>>2]=n;g[F+16+4>>2]=m;g[F+16+8>>2]=l;g[F+16+12>>2]=0.0;if(r>2]=r;o=r}else o=n;if(s>2]=s;p=s}else p=m;if(v>2]=v;q=v}else q=l;g[F>>2]=n;g[F+4>>2]=m;g[F+8>>2]=l;g[F+12>>2]=0.0;if(n>2]=r;n=r}if(m>2]=s;m=s}if(l>2]=v;l=v}g[F+16>>2]=+g[F+288>>2]+o;g[F+16+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];e=+g[b+1080>>2];f=+g[b+184>>2];k=+g[b+188>>2];l=n*+g[d>>2];do if(!(f>k))if(!(f==k)){if(m/l<0.0)if(e>=f?f-m/l>e:0){e=(f-e)/(m/l);break}else{e=e0.0)if(e<=k?k-m/lk?0.0:1.0;break}else e=0.0}else e=0.0;else e=1.0;while(0);Z=(c[d+28>>2]|0)+(_<<2<<2)|0;g[Z>>2]=+g[Z>>2]-ca*e*m;g[i>>2]=+g[i>>2]-+g[b+1104>>2]*+g[d>>2];g[u>>2]=+g[b+1104>>2]*+g[d>>2]+ +g[u>>2]}if(y){h=(c[d+28>>2]|0)+(_<<2<<2)|0;g[h>>2]=+g[h>>2]+o*n*+g[d>>2];if(c[b+300>>2]&256|0)c[(c[d+32>>2]|0)+(_<<2<<2)>>2]=c[b+244>>2];do if(!q)if((z|0)==1){g[i>>2]=-3402823466385288598117041.0e14;e=0.0;break}else{g[i>>2]=0.0;e=3402823466385288598117041.0e14;break}else{g[i>>2]=-3402823466385288598117041.0e14;e=3402823466385288598117041.0e14}while(0);g[u>>2]=e;Y=1.0-+g[b+240>>2];f=+w(+Y);do if(!(Y!=Y|0.0!=0.0|Y==0.0)){e=ca*(+g[da+312>>2]*p+ +g[da+316>>2]*r+ +g[da+320>>2]*s-(+g[ea+312>>2]*p+ +g[ea+316>>2]*r+ +g[ea+320>>2]*s));if((z|0)==1){if(!(e<0.0))break;if(!(+g[h>>2]<-(f*e)))break;g[h>>2]=-(f*e);break}else{if(!(e>0.0))break;if(!(+g[h>>2]>-(f*e)))break;g[h>>2]=-(f*e);break}}while(0);g[h>>2]=+g[b+232>>2]*+g[h>>2];h=5}else h=5}else h=4;if(!(a[b+297>>0]|0)){s=0.0;y=0}else{ca=+g[b+1088>>2];s=ca;y=ca>0.0?1:2}i=a[b+1112>>0]|0;q=(y|0)!=0;if(!(y|i&255))return;u=J(c[d+24>>2]|0,h)|0;h=c[d+12>>2]|0;c[h+(u<<2)>>2]=$;c[h+(u+1<<2)>>2]=aa;c[h+(u+2<<2)>>2]=ba;v=(c[j>>2]=$,+g[j>>2]);h=c[d+20>>2]|0;g[h+(u<<2)>>2]=-v;t=(c[j>>2]=aa,+g[j>>2]);g[h+(u+1<<2)>>2]=-t;r=(c[j>>2]=ba,+g[j>>2]);g[h+(u+2<<2)>>2]=-r;n=+g[b+192>>2];o=+g[b+196>>2];h=c[b+300>>2]|0;p=+g[((h&2048|0)==0?d+4|0:b+248|0)>>2];if(!(i<<24>>24==0|q&n==o)){if(!(h&4)){k=o;l=n}else{c[(c[d+32>>2]|0)+(u<<2)>>2]=c[b+228>>2];k=+g[b+196>>2];l=+g[b+192>>2]}e=+g[b+1084>>2];m=+g[b+1116>>2];f=p*+g[d>>2];do if(!(l>k))if(!(l==k)){if(m/f<0.0)if(e>=l?l-m/f>e:0){e=(l-e)/(m/f);break}else{e=e0.0)if(e<=k?k-m/fk?0.0:1.0;break}else e=0.0}else e=0.0;else e=1.0;while(0);g[(c[d+28>>2]|0)+(u<<2)>>2]=e*m;g[(c[d+36>>2]|0)+(u<<2)>>2]=-(+g[b+1120>>2]*+g[d>>2]);g[(c[d+40>>2]|0)+(u<<2)>>2]=+g[b+1120>>2]*+g[d>>2]}if(!q)return;i=(c[d+28>>2]|0)+(u<<2)|0;g[i>>2]=+g[i>>2]+s*p*+g[d>>2];if(h&1024|0)c[(c[d+32>>2]|0)+(u<<2)>>2]=c[b+260>>2];do if(!(n==o)){h=(c[d+36>>2]|0)+(u<<2)|0;if((y|0)==1){g[h>>2]=0.0;e=3402823466385288598117041.0e14;break}else{g[h>>2]=-3402823466385288598117041.0e14;e=0.0;break}}else{g[(c[d+36>>2]|0)+(u<<2)>>2]=-3402823466385288598117041.0e14;e=3402823466385288598117041.0e14}while(0);g[(c[d+40>>2]|0)+(u<<2)>>2]=e;ca=1.0-+g[b+256>>2];f=+w(+ca);do if(!(ca!=ca|0.0!=0.0|ca==0.0)){ea=c[b+28>>2]|0;d=c[b+32>>2]|0;e=+g[ea+328>>2]*v+ +g[ea+332>>2]*t+ +g[ea+336>>2]*r-(+g[d+328>>2]*v+ +g[d+332>>2]*t+ +g[d+336>>2]*r);if((y|0)==1){if(!(e<0.0))break;if(!(+g[i>>2]<-(f*e)))break;g[i>>2]=-(f*e);break}else{if(!(e>0.0))break;if(!(+g[i>>2]>-(f*e)))break;g[i>>2]=-(f*e);break}}while(0);g[i>>2]=+g[b+248>>2]*+g[i>>2];return}function Gb(d,e,f){d=d|0;e=e|0;f=+f;var h=0,i=0.0,j=0.0,k=0.0,l=0,m=0.0,n=0,o=0,p=0.0,q=0.0,r=0.0,s=0,t=0;s=sa;sa=sa+528|0;if((a[d+171>>0]|0)==0?+g[d+172>>2]<=0.0:0){sa=s;return}a[d+168>>0]=(Fa[c[(c[d>>2]|0)+48>>2]&127](d)|0)&1;i=+g[d+16>>2]-+g[d+44>>2]*f;g[d+16>>2]=i;if(i>0.0?(j=+g[d+28>>2],i>j):0){g[d+16>>2]=j;i=j}if(i<0.0?(q=+w(+i),k=+w(+(+g[d+24>>2])),q>k):0){g[d+16>>2]=-k;i=-k}g[d+20>>2]=i*f;o=c[d+8>>2]|0;c[s>>2]=c[o+4>>2];c[s+4>>2]=c[o+4+4>>2];c[s+8>>2]=c[o+4+8>>2];c[s+12>>2]=c[o+4+12>>2];c[s+16>>2]=c[o+20>>2];c[s+16+4>>2]=c[o+20+4>>2];c[s+16+8>>2]=c[o+20+8>>2];c[s+16+12>>2]=c[o+20+12>>2];c[s+32>>2]=c[o+36>>2];c[s+32+4>>2]=c[o+36+4>>2];c[s+32+8>>2]=c[o+36+8>>2];c[s+32+12>>2]=c[o+36+12>>2];c[s+48>>2]=c[o+52>>2];c[s+48+4>>2]=c[o+52+4>>2];c[s+48+8>>2]=c[o+52+8>>2];c[s+48+12>>2]=c[o+52+12>>2];if((a[26720]|0)==0?mz(26720)|0:0){c[6104]=1065353216;c[6105]=0;c[6106]=0;c[6107]=0;c[6108]=0;c[6109]=1065353216;c[6110]=0;c[6111]=0;c[6112]=0;c[6113]=0;c[6114]=1065353216;g[6115]=0.0}o=c[d+176>>2]|0;k=+g[d+20>>2];k=+g[d+52>>2]+(k>0.0?k:0.0);p=+g[24416+(o<<4)+4>>2]*k+ +g[d+96>>2];q=k*+g[24416+(o<<4)+8>>2]+ +g[d+100>>2];g[d+112>>2]=+g[d+92>>2]+ +g[24416+(o<<4)>>2]*k;g[d+116>>2]=p;g[d+120>>2]=q;g[d+124>>2]=0.0;c[s+456>>2]=1065353216;c[s+456+4>>2]=0;c[s+456+4+4>>2]=0;c[s+456+4+8>>2]=0;c[s+456+4+12>>2]=0;c[s+456+20>>2]=1065353216;c[s+456+24>>2]=0;c[s+456+24+4>>2]=0;c[s+456+24+8>>2]=0;c[s+456+24+12>>2]=0;c[s+456+40>>2]=1065353216;o=s+456+44|0;c[o>>2]=0;c[o+4>>2]=0;c[o+8>>2]=0;c[o+12>>2]=0;c[o+16>>2]=0;c[s+392>>2]=1065353216;c[s+392+4>>2]=0;c[s+392+4+4>>2]=0;c[s+392+4+8>>2]=0;c[s+392+4+12>>2]=0;c[s+392+20>>2]=1065353216;c[s+392+24>>2]=0;c[s+392+24+4>>2]=0;c[s+392+24+8>>2]=0;c[s+392+24+12>>2]=0;c[s+392+40>>2]=1065353216;o=s+392+44|0;c[o>>2]=0;c[o+4>>2]=0;c[o+8>>2]=0;c[o+12>>2]=0;c[o+16>>2]=0;if((a[26720]|0)==0?mz(26720)|0:0){c[6104]=1065353216;c[6105]=0;c[6106]=0;c[6107]=0;c[6108]=0;c[6109]=1065353216;c[6110]=0;c[6111]=0;c[6112]=0;c[6113]=0;c[6114]=1065353216;g[6115]=0.0}h=c[d+176>>2]|0;o=c[d+12>>2]|0;k=+va[c[(c[o>>2]|0)+48>>2]&15](o);k=k+ +g[d+56>>2];p=k*+g[24416+(h<<4)+4>>2]+ +g[d+96>>2];q=k*+g[24416+(h<<4)+8>>2]+ +g[d+100>>2];g[s+456+48>>2]=+g[24416+(h<<4)>>2]*k+ +g[d+92>>2];g[s+456+52>>2]=p;g[s+456+56>>2]=q;g[s+456+60>>2]=0.0;c[s+392+48>>2]=c[d+112>>2];c[s+392+48+4>>2]=c[d+112+4>>2];c[s+392+48+8>>2]=c[d+112+8>>2];c[s+392+48+12>>2]=c[d+112+12>>2];h=c[d+8>>2]|0;if((a[26720]|0)==0?mz(26720)|0:0){c[6104]=1065353216;c[6105]=0;c[6106]=0;c[6107]=0;c[6108]=0;c[6109]=1065353216;c[6110]=0;c[6111]=0;c[6112]=0;c[6113]=0;c[6114]=1065353216;g[6115]=0.0}o=c[d+176>>2]|0;k=-+g[24416+(o<<4)>>2];p=-+g[24416+(o<<4)+4>>2];q=-+g[24416+(o<<4)+8>>2];g[s+288+4>>2]=1.0;o=s+288+12|0;c[s+288+76>>2]=0;c[o>>2]=0;c[o+4>>2]=0;c[o+8>>2]=0;c[o+12>>2]=0;c[o+16>>2]=0;c[o+20>>2]=0;c[o+24>>2]=0;c[o+28>>2]=0;c[s+288>>2]=7748;c[s+288+80>>2]=h;g[s+288+84>>2]=k;g[s+288+88>>2]=p;g[s+288+92>>2]=q;g[s+288+96>>2]=0.0;g[s+288+100>>2]=.707099974155426;h=c[d+8>>2]|0;o=c[h+188>>2]|0;b[s+288+8>>1]=b[o+4>>1]|0;b[s+288+10>>1]=b[o+6>>1]|0;if(!(a[d+170>>0]|0))Tc(e,c[d+12>>2]|0,s+456|0,s+392|0,s+288|0,0.0);else yc(h,c[d+12>>2]|0,s+456|0,s+392|0,s+288|0,+g[e+56>>2]);if(+g[s+288+4>>2]<1.0){if((a[26720]|0)==0?mz(26720)|0:0){c[6104]=1065353216;c[6105]=0;c[6106]=0;c[6107]=0;c[6108]=0;c[6109]=1065353216;c[6110]=0;c[6111]=0;c[6112]=0;c[6113]=0;c[6114]=1065353216;g[6115]=0.0}o=c[d+176>>2]|0;do if(+g[s+288+44>>2]*+g[24416+(o<<4)>>2]+ +g[s+288+48>>2]*+g[24416+(o<<4)+4>>2]+ +g[s+288+52>>2]*+g[24416+(o<<4)+8>>2]>0.0){i=+g[s+288+4>>2];g[d+108>>2]=+g[d+52>>2]*i;if(!(a[d+180>>0]|0)){c[d+92>>2]=c[d+112>>2];c[d+92+4>>2]=c[d+112+4>>2];c[d+92+8>>2]=c[d+112+8>>2];c[d+92+12>>2]=c[d+112+12>>2];break}else{g[d+92>>2]=(1.0-i)*+g[d+92>>2]+i*+g[d+112>>2];g[d+96>>2]=(1.0-i)*+g[d+96>>2]+i*+g[d+116>>2];g[d+100>>2]=(1.0-i)*+g[d+100>>2]+i*+g[d+120>>2];break}}while(0);g[d+16>>2]=0.0;g[d+20>>2]=0.0}else{c[d+108>>2]=c[d+52>>2];c[d+92>>2]=c[d+112>>2];c[d+92+4>>2]=c[d+112+4>>2];c[d+92+8>>2]=c[d+112+8>>2];c[d+92+12>>2]=c[d+112+12>>2]}if(!(a[d+171>>0]|0)){p=+g[d+172>>2];q=p>f?f:p;g[d+172>>2]=p-f;ld(d,e,q*+g[d+60>>2],q*+g[d+64>>2],q*+g[d+68>>2])}else ld(d,e,+g[d+60>>2],+g[d+64>>2],+g[d+68>>2]);c[s+272>>2]=c[d+112>>2];c[s+272+4>>2]=c[d+112+4>>2];c[s+272+8>>2]=c[d+112+8>>2];c[s+272+12>>2]=c[d+112+12>>2];i=+g[d+16>>2];i=(i<0.0?-i:0.0)*f;do if(i>0.0?(m=+g[d+24>>2],i>m):0){if((a[d+168>>0]|0)==0?a[d+169>>0]|0:0)break;i=m}while(0);if((a[26720]|0)==0?mz(26720)|0:0){c[6104]=1065353216;c[6105]=0;c[6106]=0;c[6107]=0;c[6108]=0;c[6109]=1065353216;c[6110]=0;c[6111]=0;c[6112]=0;c[6113]=0;c[6114]=1065353216;g[6115]=0.0}h=c[d+176>>2]|0;q=i+ +g[d+108>>2];m=+g[24416+(h<<4)>>2]*q;p=q*+g[24416+(h<<4)+4>>2];q=q*+g[24416+(h<<4)+8>>2];g[d+112>>2]=+g[d+112>>2]-m;g[d+116>>2]=+g[d+116>>2]-p;g[d+120>>2]=+g[d+120>>2]-q;h=c[d+8>>2]|0;if((a[26720]|0)==0?mz(26720)|0:0){c[6104]=1065353216;c[6105]=0;c[6106]=0;c[6107]=0;c[6108]=0;c[6109]=1065353216;c[6110]=0;c[6111]=0;c[6112]=0;c[6113]=0;c[6114]=1065353216;g[6115]=0.0}l=24416+(c[d+176>>2]<<4)|0;n=c[d+40>>2]|0;o=s+168+4|0;g[o>>2]=1.0;t=s+168+12|0;c[s+168+76>>2]=0;c[t>>2]=0;c[t+4>>2]=0;c[t+8>>2]=0;c[t+12>>2]=0;c[t+16>>2]=0;c[t+20>>2]=0;c[t+24>>2]=0;c[t+28>>2]=0;c[s+168>>2]=7748;c[s+168+80>>2]=h;c[s+168+84>>2]=c[l>>2];c[s+168+84+4>>2]=c[l+4>>2];c[s+168+84+8>>2]=c[l+8>>2];c[s+168+84+12>>2]=c[l+12>>2];c[s+168+100>>2]=n;h=c[d+8>>2]|0;n=c[h+188>>2]|0;b[s+168+8>>1]=b[n+4>>1]|0;b[s+168+10>>1]=b[n+6>>1]|0;if((a[26720]|0)==0?mz(26720)|0:0){c[6104]=1065353216;c[6105]=0;c[6106]=0;c[6107]=0;c[6108]=0;c[6109]=1065353216;c[6110]=0;c[6111]=0;c[6112]=0;c[6113]=0;c[6114]=1065353216;g[6115]=0.0}n=24416+(c[d+176>>2]<<4)|0;t=c[d+40>>2]|0;g[s+64+4>>2]=1.0;l=s+64+12|0;c[s+64+76>>2]=0;c[l>>2]=0;c[l+4>>2]=0;c[l+8>>2]=0;c[l+12>>2]=0;c[l+16>>2]=0;c[l+20>>2]=0;c[l+24>>2]=0;c[l+28>>2]=0;c[s+64>>2]=7748;c[s+64+80>>2]=h;c[s+64+84>>2]=c[n>>2];c[s+64+84+4>>2]=c[n+4>>2];c[s+64+84+8>>2]=c[n+8>>2];c[s+64+84+12>>2]=c[n+12>>2];c[s+64+100>>2]=t;h=c[(c[d+8>>2]|0)+188>>2]|0;b[s+64+8>>1]=b[h+4>>1]|0;b[s+64+10>>1]=b[h+6>>1]|0;h=0;i=+g[d+112>>2];j=+g[d+116>>2];k=+g[d+120>>2];while(1){c[s+456>>2]=1065353216;c[s+456+4>>2]=0;c[s+456+4+4>>2]=0;c[s+456+4+8>>2]=0;c[s+456+4+12>>2]=0;c[s+456+20>>2]=1065353216;c[s+456+24>>2]=0;c[s+456+24+4>>2]=0;c[s+456+24+8>>2]=0;c[s+456+24+12>>2]=0;c[s+456+40>>2]=1065353216;c[s+456+44>>2]=0;c[s+392>>2]=1065353216;c[s+392+4>>2]=0;c[s+392+4+4>>2]=0;c[s+392+4+8>>2]=0;c[s+392+4+12>>2]=0;c[s+392+20>>2]=1065353216;c[s+392+24>>2]=0;c[s+392+24+4>>2]=0;c[s+392+24+8>>2]=0;c[s+392+24+12>>2]=0;c[s+392+40>>2]=1065353216;c[s+392+44>>2]=0;c[s+288>>2]=1065353216;c[s+288+4>>2]=0;c[s+288+4+4>>2]=0;c[s+288+4+8>>2]=0;c[s+288+4+12>>2]=0;c[s+288+20>>2]=1065353216;c[s+288+24>>2]=0;c[s+288+24+4>>2]=0;c[s+288+24+8>>2]=0;c[s+288+24+12>>2]=0;c[s+288+40>>2]=1065353216;c[s+288+44>>2]=0;c[s+456+48>>2]=c[d+92>>2];c[s+456+48+4>>2]=c[d+92+4>>2];c[s+456+48+8>>2]=c[d+92+8>>2];c[s+456+48+12>>2]=c[d+92+12>>2];c[s+392+48>>2]=c[d+112>>2];c[s+392+48+4>>2]=c[d+112+4>>2];c[s+392+48+8>>2]=c[d+112+8>>2];c[s+392+48+12>>2]=c[d+112+12>>2];g[s+288+48>>2]=i-m;g[s+288+52>>2]=j-p;g[s+288+56>>2]=k-q;g[s+288+60>>2]=0.0;if(!(a[d+170>>0]|0)){Tc(e,c[d+12>>2]|0,s+456|0,s+392|0,s+168|0,+g[e+56>>2]);if(!(+g[o>>2]<1.0))Tc(e,c[d+12>>2]|0,s+456|0,s+288|0,s+64|0,+g[e+56>>2])}else{yc(c[d+8>>2]|0,c[d+12>>2]|0,s+456|0,s+392|0,s+168|0,+g[e+56>>2]);if(!(+g[o>>2]<1.0))yc(c[d+8>>2]|0,c[d+12>>2]|0,s+456|0,s+288|0,s+64|0,+g[e+56>>2])}j=+g[d+16>>2];j=(j<0.0?-j:0.0)*f;n=(a[d+182>>0]|0)==0;if(!n?+g[o>>2]<1.0:0)l=1;else l=+g[s+64+4>>2]<1.0;if(!(j>0.0))break;i=+g[d+52>>2];if(h|(!(j>0]|0)==0?a[d+169>>0]|0:0){h=0;break}c[d+112>>2]=c[s+272>>2];c[d+112+4>>2]=c[s+272+4>>2];c[d+112+8>>2]=c[s+272+8>>2];c[d+112+12>>2]=c[s+272+12>>2];do if(!(a[26720]|0)){if(!(mz(26720)|0))break;c[6104]=1065353216;c[6105]=0;c[6106]=0;c[6107]=0;c[6108]=0;c[6109]=1065353216;c[6110]=0;c[6111]=0;c[6112]=0;c[6113]=0;c[6114]=1065353216;g[6115]=0.0}while(0);h=c[d+176>>2]|0;i=i+ +g[d+108>>2];j=i*+g[24416+(h<<4)+4>>2];k=i*+g[24416+(h<<4)+8>>2];i=+g[d+112>>2]-+g[24416+(h<<4)>>2]*i;g[d+112>>2]=i;j=+g[d+116>>2]-j;g[d+116>>2]=j;k=+g[d+120>>2]-k;g[d+120>>2]=k;h=1}k=+g[o>>2];if(h|k<1.0){i=+g[d+96>>2];j=(i-+g[s+168+64>>2])*.5;do if(!n)if(!(a[d+181>>0]|0)){g[d+92>>2]=(1.0-j)*+g[d+92>>2]+j*+g[d+112>>2];g[d+96>>2]=i*(1.0-j)+j*+g[d+116>>2];g[d+100>>2]=(1.0-j)*+g[d+100>>2]+j*+g[d+120>>2];h=d+181|0;break}else{g[d+92>>2]=(1.0-k)*+g[d+92>>2]+k*+g[d+112>>2];g[d+96>>2]=i*(1.0-k)+k*+g[d+116>>2];g[d+100>>2]=(1.0-k)*+g[d+100>>2]+k*+g[d+120>>2];h=d+181|0;break}else{g[d+92>>2]=(1.0-k)*+g[d+92>>2]+k*+g[d+112>>2];g[d+96>>2]=i*(1.0-k)+k*+g[d+116>>2];g[d+100>>2]=(1.0-k)*+g[d+100>>2]+k*+g[d+120>>2];h=d+181|0}while(0);a[h>>0]=0;g[d+16>>2]=0.0;g[d+20>>2]=0.0;a[d+169>>0]=0}else{a[d+181>>0]=1;do if(!n?(r=+g[d+24>>2],j>r):0){if((a[d+168>>0]|0)==0?a[d+169>>0]|0:0)break;g[d+112>>2]=m+ +g[d+112>>2];g[d+116>>2]=p+ +g[d+116>>2];g[d+120>>2]=q+ +g[d+120>>2];do if(!(a[26720]|0)){if(!(mz(26720)|0))break;c[6104]=1065353216;c[6105]=0;c[6106]=0;c[6107]=0;c[6108]=0;c[6109]=1065353216;c[6110]=0;c[6111]=0;c[6112]=0;c[6113]=0;c[6114]=1065353216;g[6115]=0.0}while(0);t=c[d+176>>2]|0;q=r+ +g[d+108>>2];f=q*+g[24416+(t<<4)+4>>2];r=q*+g[24416+(t<<4)+8>>2];g[d+112>>2]=+g[d+112>>2]-+g[24416+(t<<4)>>2]*q;g[d+116>>2]=+g[d+116>>2]-f;g[d+120>>2]=+g[d+120>>2]-r}while(0);c[d+92>>2]=c[d+112>>2];c[d+92+4>>2]=c[d+112+4>>2];c[d+92+8>>2]=c[d+112+8>>2];c[d+92+12>>2]=c[d+112+12>>2]}c[s+48>>2]=c[d+92>>2];c[s+48+4>>2]=c[d+92+4>>2];c[s+48+8>>2]=c[d+92+8>>2];c[s+48+12>>2]=c[d+92+12>>2];t=c[d+8>>2]|0;c[t+260>>2]=(c[t+260>>2]|0)+1;c[t+4>>2]=c[s>>2];c[t+4+4>>2]=c[s+4>>2];c[t+4+8>>2]=c[s+8>>2];c[t+4+12>>2]=c[s+12>>2];c[t+20>>2]=c[s+16>>2];c[t+20+4>>2]=c[s+16+4>>2];c[t+20+8>>2]=c[s+16+8>>2];c[t+20+12>>2]=c[s+16+12>>2];c[t+36>>2]=c[s+32>>2];c[t+36+4>>2]=c[s+32+4>>2];c[t+36+8>>2]=c[s+32+8>>2];c[t+36+12>>2]=c[s+32+12>>2];c[t+52>>2]=c[s+48>>2];c[t+52+4>>2]=c[s+48+4>>2];c[t+52+8>>2]=c[s+48+8>>2];c[t+52+12>>2]=c[s+48+12>>2];sa=s;return}function Hb(b,d,e,f,h){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;var i=0,j=0,k=0,l=0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0,v=0,w=0,x=0,y=0.0,z=0;z=sa;sa=sa+112|0;c[b+164>>2]=1065353216;c[b+168>>2]=1065353216;c[b+172>>2]=1065353216;g[b+176>>2]=0.0;c[b+180>>2]=0;g[b+184>>2]=999999984306749440.0;c[b+188>>2]=0;c[b+188+4>>2]=0;c[b+188+8>>2]=0;c[b+188+12>>2]=0;c[b+204>>2]=1;c[b+208>>2]=-1;c[b+212>>2]=-1;c[b+216>>2]=1;g[b+220>>2]=0.0;g[b+224>>2]=.5;g[b+228>>2]=0.0;g[b+232>>2]=0.0;c[b+236>>2]=1;c[b+240>>2]=0;g[b+244>>2]=1.0;c[b+248>>2]=0;c[b+248+4>>2]=0;c[b+248+8>>2]=0;c[b+248+12>>2]=0;c[b+4>>2]=1065353216;c[b+8>>2]=0;c[b+8+4>>2]=0;c[b+8+8>>2]=0;c[b+8+12>>2]=0;c[b+24>>2]=1065353216;c[b+28>>2]=0;c[b+28+4>>2]=0;c[b+28+8>>2]=0;c[b+28+12>>2]=0;c[b+44>>2]=1065353216;c[b+48>>2]=0;c[b+48+4>>2]=0;c[b+48+8>>2]=0;c[b+48+12>>2]=0;c[b+48+16>>2]=0;c[b>>2]=5940;a[b+280>>0]=1;c[b+276>>2]=0;c[b+268>>2]=0;c[b+272>>2]=0;c[b+284>>2]=0;a[b+408>>0]=1;c[b+404>>2]=0;c[b+396>>2]=0;c[b+400>>2]=0;a[b+428>>0]=1;c[b+424>>2]=0;c[b+416>>2]=0;c[b+420>>2]=0;a[b+448>>0]=1;c[b+444>>2]=0;c[b+436>>2]=0;c[b+440>>2]=0;a[b+496>>0]=1;c[b+492>>2]=0;c[b+484>>2]=0;c[b+488>>2]=0;a[b+516>>0]=1;c[b+512>>2]=0;c[b+504>>2]=0;c[b+508>>2]=0;c[b+684>>2]=d;a[b+704>>0]=1;c[b+700>>2]=0;c[b+692>>2]=0;c[b+696>>2]=0;a[b+724>>0]=1;c[b+720>>2]=0;c[b+712>>2]=0;c[b+716>>2]=0;a[b+744>>0]=1;c[b+740>>2]=0;c[b+732>>2]=0;c[b+736>>2]=0;a[b+764>>0]=1;c[b+760>>2]=0;c[b+752>>2]=0;c[b+756>>2]=0;a[b+784>>0]=1;c[b+780>>2]=0;c[b+772>>2]=0;c[b+776>>2]=0;a[b+804>>0]=1;c[b+800>>2]=0;c[b+792>>2]=0;c[b+796>>2]=0;a[b+824>>0]=1;c[b+820>>2]=0;c[b+812>>2]=0;c[b+816>>2]=0;a[b+844>>0]=1;c[b+840>>2]=0;c[b+832>>2]=0;c[b+836>>2]=0;a[b+864>>0]=1;c[b+860>>2]=0;c[b+852>>2]=0;c[b+856>>2]=0;a[b+884>>0]=1;c[b+880>>2]=0;c[b+872>>2]=0;c[b+876>>2]=0;a[b+964>>0]=1;c[b+960>>2]=0;c[b+952>>2]=0;c[b+956>>2]=0;a[b+984>>0]=1;c[b+980>>2]=0;c[b+972>>2]=0;c[b+976>>2]=0;c[b+928>>2]=0;c[b+932>>2]=0;c[b+936>>2]=-1;c[b+940>>2]=0;c[b+944>>2]=0;a[b+1024>>0]=1;c[b+1020>>2]=0;c[b+1012>>2]=0;c[b+1016>>2]=0;a[b+1044>>0]=1;c[b+1040>>2]=0;c[b+1032>>2]=0;c[b+1036>>2]=0;c[b+988>>2]=0;c[b+992>>2]=0;c[b+996>>2]=-1;c[b+1e3>>2]=0;c[b+1004>>2]=0;a[b+1084>>0]=1;c[b+1080>>2]=0;c[b+1072>>2]=0;c[b+1076>>2]=0;a[b+1104>>0]=1;c[b+1100>>2]=0;c[b+1092>>2]=0;c[b+1096>>2]=0;c[b+1048>>2]=0;c[b+1052>>2]=0;c[b+1056>>2]=-1;c[b+1060>>2]=0;c[b+1064>>2]=0;a[b+1124>>0]=1;c[b+1120>>2]=0;c[b+1112>>2]=0;c[b+1116>>2]=0;a[b+1144>>0]=1;c[b+1140>>2]=0;c[b+1132>>2]=0;c[b+1136>>2]=0;a[b+1248>>0]=1;c[b+1244>>2]=0;c[b+1236>>2]=0;c[b+1240>>2]=0;c[b+236>>2]=8;c[b+288>>2]=0;g[b+292>>2]=1.0;c[b+296>>2]=0;c[b+296+4>>2]=0;c[b+296+8>>2]=0;c[b+296+12>>2]=0;c[b+296+16>>2]=0;g[b+316>>2]=.20000000298023224;g[b+320>>2]=0.0;g[b+324>>2]=1.0;g[b+328>>2]=.10000000149011612;g[b+332>>2]=1.0;g[b+336>>2]=.699999988079071;g[b+340>>2]=.10000000149011612;g[b+344>>2]=1.0;g[b+348>>2]=.5;g[b+352>>2]=.5;g[b+356>>2]=.5;g[b+360>>2]=.5;g[b+364>>2]=1.0;g[b+368>>2]=1.0;c[b+372>>2]=0;c[b+376>>2]=1;c[b+380>>2]=0;c[b+384>>2]=4;c[b+388>>2]=1;a[b+472>>0]=0;a[b+473>>0]=0;g[b+476>>2]=0.0;c[b+520>>2]=0;c[b+520+4>>2]=0;c[b+520+8>>2]=0;c[b+520+12>>2]=0;c[b+536>>2]=1065353216;c[b+540>>2]=0;c[b+540+4>>2]=0;c[b+540+8>>2]=0;c[b+540+12>>2]=0;c[b+556>>2]=1065353216;c[b+560>>2]=0;c[b+560+4>>2]=0;c[b+560+8>>2]=0;c[b+560+12>>2]=0;c[b+576>>2]=1065353216;g[b+580>>2]=0.0;c[b+584>>2]=1065353216;c[b+588>>2]=0;c[b+588+4>>2]=0;c[b+588+8>>2]=0;c[b+588+12>>2]=0;c[b+604>>2]=1065353216;c[b+608>>2]=0;c[b+608+4>>2]=0;c[b+608+8>>2]=0;c[b+608+12>>2]=0;c[b+624>>2]=1065353216;g[b+628>>2]=0.0;c[b+680>>2]=0;g[b+888>>2]=0.0;a[b+924>>0]=1;c[b+892>>2]=0;c[b+892+4>>2]=0;c[b+892+8>>2]=0;c[b+892+12>>2]=0;c[b+892+16>>2]=0;c[b+892+20>>2]=0;c[b+892+24>>2]=0;c[b+892+28>>2]=0;c[b+4>>2]=1065353216;c[b+8>>2]=0;c[b+8+4>>2]=0;c[b+8+8>>2]=0;c[b+8+12>>2]=0;c[b+24>>2]=1065353216;c[b+28>>2]=0;c[b+28+4>>2]=0;c[b+28+8>>2]=0;c[b+28+12>>2]=0;c[b+44>>2]=1065353216;c[b+48>>2]=0;c[b+48+4>>2]=0;c[b+48+8>>2]=0;c[b+48+12>>2]=0;c[b+48+16>>2]=0;d=c[b+404>>2]|0;if(d|0){if(a[b+408>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+404>>2]=0}a[b+408>>0]=1;c[b+404>>2]=0;c[b+396>>2]=0;c[b+400>>2]=0;d=c[b+424>>2]|0;if(d|0){if(a[b+428>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+424>>2]=0}a[b+428>>0]=1;c[b+424>>2]=0;c[b+416>>2]=0;c[b+420>>2]=0;d=c[b+444>>2]|0;do if(d){if(!(a[b+448>>0]|0)){c[b+444>>2]=0;a[b+448>>0]=1;c[b+444>>2]=0;c[b+436>>2]=0;c[b+440>>2]=0;j=1;u=17;break}c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0);d=c[b+416>>2]|0;j=c[b+420>>2]|0;c[b+444>>2]=0;a[b+448>>0]=1;c[b+444>>2]=0;c[b+436>>2]=0;c[b+440>>2]=0;if((d|0)==(j|0))if(j)if((j|0)<(j<<1|0))if(!(j<<1)){d=0;i=j;l=j<<1;u=20}else{j=j<<1;u=17}else{i=j;d=j}else{j=1;u=17}else{i=d;d=j}}else{a[b+448>>0]=1;c[b+444>>2]=0;c[b+436>>2]=0;c[b+440>>2]=0;j=1;u=17}while(0);if((u|0)==17){c[7182]=(c[7182]|0)+1;d=xb((j<<2|3)+16|0)|0;if(!d)d=0;else{c[(d+4+15&-16)+-4>>2]=d;d=d+4+15&-16}i=c[b+416>>2]|0;l=j;u=20}if((u|0)==20){k=c[b+424>>2]|0;if((i|0)<=0){if(k)u=24}else{j=0;do{c[d+(j<<2)>>2]=c[k+(j<<2)>>2];j=j+1|0}while((j|0)!=(i|0));u=24}if((u|0)==24){if(a[b+428>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[k+-4>>2]|0);i=c[b+416>>2]|0}c[b+424>>2]=0}a[b+428>>0]=1;c[b+424>>2]=d;c[b+420>>2]=l;d=l}j=c[b+424>>2]|0;c[j+(i<<2)>>2]=1;i=i+1|0;c[b+416>>2]=i;if((i|0)==(d|0)){l=(d|0)==0?1:d<<1;if((d|0)<(l|0)){if(!l)k=0;else{c[7182]=(c[7182]|0)+1;d=xb((l<<2|3)+16|0)|0;if(!d)d=0;else{c[(d+4+15&-16)+-4>>2]=d;d=d+4+15&-16}k=d;d=c[b+416>>2]|0;j=c[b+424>>2]|0}if((d|0)<=0){if(j)u=38}else{i=0;do{c[k+(i<<2)>>2]=c[j+(i<<2)>>2];i=i+1|0}while((i|0)!=(d|0));u=38}if((u|0)==38){if(a[b+428>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[j+-4>>2]|0);d=c[b+416>>2]|0}c[b+424>>2]=0}a[b+428>>0]=1;c[b+424>>2]=k;c[b+420>>2]=l;j=k;i=d;d=l}else i=d}c[j+(i<<2)>>2]=2;i=i+1|0;c[b+416>>2]=i;if((i|0)==(d|0)){l=(d|0)==0?1:d<<1;if((d|0)<(l|0)){if(!l)k=0;else{c[7182]=(c[7182]|0)+1;d=xb((l<<2|3)+16|0)|0;if(!d)d=0;else{c[(d+4+15&-16)+-4>>2]=d;d=d+4+15&-16}k=d;d=c[b+416>>2]|0;j=c[b+424>>2]|0}if((d|0)<=0){if(j)u=52}else{i=0;do{c[k+(i<<2)>>2]=c[j+(i<<2)>>2];i=i+1|0}while((i|0)!=(d|0));u=52}if((u|0)==52){if(a[b+428>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[j+-4>>2]|0);d=c[b+416>>2]|0}c[b+424>>2]=0}a[b+428>>0]=1;c[b+424>>2]=k;c[b+420>>2]=l;i=d;d=l}else{k=j;i=d}}else k=j;c[k+(i<<2)>>2]=3;i=i+1|0;c[b+416>>2]=i;if((i|0)==(d|0)){l=(d|0)==0?1:d<<1;if((d|0)<(l|0)){if(!l)j=0;else{c[7182]=(c[7182]|0)+1;d=xb((l<<2|3)+16|0)|0;if(!d)d=0;else{c[(d+4+15&-16)+-4>>2]=d;d=d+4+15&-16}j=d;d=c[b+416>>2]|0;k=c[b+424>>2]|0}if((d|0)<=0){if(k)u=66}else{i=0;do{c[j+(i<<2)>>2]=c[k+(i<<2)>>2];i=i+1|0}while((i|0)!=(d|0));u=66}if((u|0)==66){if(a[b+428>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[k+-4>>2]|0);d=c[b+416>>2]|0}c[b+424>>2]=0}a[b+428>>0]=1;c[b+424>>2]=j;c[b+420>>2]=l}else j=k}else{j=k;d=i}c[j+(d<<2)>>2]=0;c[b+416>>2]=d+1;c[7182]=(c[7182]|0)+1;d=xb(39)|0;if(!d)d=0;else{c[(d+4+15&-16)+-4>>2]=d;d=d+4+15&-16}c[d+8>>2]=0;c[d>>2]=6048;c[d+4>>2]=32;c[d+16>>2]=b;c[b+192>>2]=d;g[d+12>>2]=.25;c[b+1148>>2]=1065353216;c[b+1152>>2]=0;c[b+1152+4>>2]=0;c[b+1152+8>>2]=0;c[b+1152+12>>2]=0;c[b+1168>>2]=1065353216;c[b+1172>>2]=0;c[b+1172+4>>2]=0;c[b+1172+8>>2]=0;c[b+1172+12>>2]=0;c[b+1188>>2]=1065353216;v=b+1192|0;w=v+36|0;do{c[v>>2]=0;v=v+4|0}while((v|0)<(w|0));g[b+1228>>2]=1.0;x=xg(b)|0;g[x+4>>2]=1.0;g[x+8>>2]=1.0;g[x+12>>2]=1.0;c[x+16>>2]=1;v=c[b+192>>2]|0;y=+va[c[(c[v>>2]|0)+48>>2]&15](v);v=z;w=v+100|0;do{c[v>>2]=0;v=v+4|0}while((v|0)<(w|0));l=c[b+712>>2]|0;if((l|0)<(e|0)){if((c[b+716>>2]|0)<(e|0)){if(!e){d=0;j=l}else{c[7182]=(c[7182]|0)+1;d=xb((e*104|3)+16|0)|0;if(!d)d=0;else{c[(d+4+15&-16)+-4>>2]=d;d=d+4+15&-16}j=c[b+712>>2]|0}if((j|0)>0){i=0;do{v=d+(i*104|0)|0;k=(c[b+720>>2]|0)+(i*104|0)|0;w=v+104|0;do{c[v>>2]=c[k>>2];v=v+4|0;k=k+4|0}while((v|0)<(w|0));i=i+1|0}while((i|0)!=(j|0))}i=c[b+720>>2]|0;if(i|0){if(a[b+724>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[i+-4>>2]|0)}c[b+720>>2]=0}a[b+724>>0]=1;c[b+720>>2]=d;c[b+716>>2]=e}d=l;do{v=c[b+720>>2]|0;c[v+(d*104|0)>>2]=0;v=v+(d*104|0)+4|0;k=z;w=v+100|0;do{c[v>>2]=c[k>>2];v=v+4|0;k=k+4|0}while((v|0)<(w|0));d=d+1|0}while((d|0)!=(e|0))}c[b+712>>2]=e;if((e|0)>0){d=f;i=h;k=0;while(1){u=c[b+720>>2]|0;f=u+(k*104|0)|0;v=f;w=v+104|0;do{c[v>>2]=0;v=v+4|0}while((v|0)<(w|0));if(!d){l=0;m=0.0;n=0.0;o=0.0;p=0.0}else{l=d+16|0;m=+g[d+12>>2];n=+g[d>>2];o=+g[d+4>>2];p=+g[d+8>>2]}w=u+(k*104|0)+8|0;g[w>>2]=n;g[u+(k*104|0)+12>>2]=o;g[u+(k*104|0)+16>>2]=p;g[u+(k*104|0)+20>>2]=m;h=u+(k*104|0)+24|0;c[h>>2]=c[w>>2];c[h+4>>2]=c[w+4>>2];c[h+8>>2]=c[w+8>>2];c[h+12>>2]=c[w+12>>2];if(!i){j=0;m=1.0}else{j=i+4|0;m=+g[i>>2]}g[u+(k*104|0)+88>>2]=m>0.0?1.0/m:0.0;r=n-y;s=o-y;t=p-y;q=y+n;n=y+o;m=y+p;d=c[b+932>>2]|0;if(!d){c[7182]=(c[7182]|0)+1;d=xb(63)|0;if(!d)d=0;else{c[(d+4+15&-16)+-4>>2]=d;d=d+4+15&-16}v=d;w=v+44|0;do{c[v>>2]=0;v=v+4|0}while((v|0)<(w|0))}else c[b+932>>2]=0;c[d+32>>2]=0;c[d+36>>2]=f;c[d+40>>2]=0;g[d>>2]=r;g[d+4>>2]=s;g[d+8>>2]=t;g[d+12>>2]=0.0;g[d+16>>2]=q;g[d+20>>2]=n;g[d+24>>2]=m;g[d+28>>2]=0.0;ue(b+928|0,c[b+928>>2]|0,d);c[b+940>>2]=(c[b+940>>2]|0)+1;c[u+(k*104|0)+96>>2]=d;c[u+(k*104|0)+4>>2]=x;k=k+1|0;if((k|0)==(e|0))break;else{d=l;i=j}}}d=c[b+928>>2]|0;if(!d){c[b+892>>2]=0;c[b+892+4>>2]=0;c[b+892+8>>2]=0;c[b+892+12>>2]=0;c[b+892+16>>2]=0;c[b+892+20>>2]=0;c[b+892+24>>2]=0;c[b+892+28>>2]=0;sa=z;return}e=c[b+192>>2]|0;s=+va[c[(c[e>>2]|0)+48>>2]&15](e);y=+g[d+4>>2]-s;t=+g[d+8>>2]-s;g[b+892>>2]=+g[d>>2]-s;g[b+896>>2]=y;g[b+900>>2]=t;g[b+904>>2]=0.0;t=s+ +g[d+20>>2];y=s+ +g[d+24>>2];g[b+908>>2]=s+ +g[d+16>>2];g[b+912>>2]=t;g[b+916>>2]=y;g[b+920>>2]=0.0;d=c[b+188>>2]|0;if(!d){sa=z;return}e=c[b+684>>2]|0;h=c[e+32>>2]|0;eb[c[(c[h>>2]|0)+16>>2]&31](h,d,b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32|0;q=m;r=p+64|0;do{c[p>>2]=c[q>>2];p=p+4|0;q=q+4|0}while((p|0)<(r|0));p=m;q=j+(i<<6)|0;r=p+64|0;do{c[p>>2]=c[q>>2];p=p+4|0;q=q+4|0}while((p|0)<(r|0));p=(c[d+76>>2]|0)+(i<<6)|0;q=J+32|0;r=p+64|0;do{c[p>>2]=c[q>>2];p=p+4|0;q=q+4|0}while((p|0)<(r|0))}else{E=c[d+116>>2]|0;F=E+(u<<4)|0;c[J+32>>2]=c[F>>2];c[J+32+4>>2]=c[F+4>>2];c[J+32+8>>2]=c[F+8>>2];c[J+32+12>>2]=c[F+12>>2];E=E+(i<<4)|0;c[F>>2]=c[E>>2];c[F+4>>2]=c[E+4>>2];c[F+8>>2]=c[E+8>>2];c[F+12>>2]=c[E+12>>2];F=(c[d+116>>2]|0)+(i<<4)|0;c[F>>2]=c[J+32>>2];c[F+4>>2]=c[J+32+4>>2];c[F+8>>2]=c[J+32+8>>2];c[F+12>>2]=c[J+32+12>>2]}i=i+1|0}u=u+1|0}while((u|0)!=(h|0))}else i=f;if(!((i|0)>(((h-f|0)/3|0)+f|0)?(i|0)<(h+-1-((h-f|0)/3|0)|0):0))i=(1?h-f>>1:h-f|0)+f|0;F=c[d+56>>2]|0;if(!(a[d+60>>0]|0)){E=(c[d+96>>2]|0)+(F<<6)|0;c[E>>2]=c[d+20>>2];c[E+4>>2]=c[d+20+4>>2];c[E+8>>2]=c[d+20+8>>2];c[E+12>>2]=c[d+20+12>>2]}else{E=c[d+136>>2]|0;L=(+g[d+24>>2]-+g[d+8>>2])*+g[d+40>>2];M=(+g[d+28>>2]-+g[d+12>>2])*+g[d+44>>2];b[E+(F<<4)>>1]=~~((+g[d+20>>2]-+g[d+4>>2])*+g[d+36>>2])&65535&-2;b[E+(F<<4)+2>>1]=~~L&65535&-2;b[E+(F<<4)+4>>1]=~~M&65535&-2}j=c[d+56>>2]|0;if(!(a[d+60>>0]|0)){E=(c[d+96>>2]|0)+(j<<6)+16|0;c[E>>2]=c[d+4>>2];c[E+4>>2]=c[d+4+4>>2];c[E+8>>2]=c[d+4+8>>2];c[E+12>>2]=c[d+4+12>>2]}else{E=c[d+136>>2]|0;K=+g[d+4>>2];L=+g[d+8>>2];M=+g[d+12>>2];L=(L-L)*+g[d+40>>2];M=(M-M)*+g[d+44>>2];b[E+(j<<4)+6>>1]=~~((K-K)*+g[d+36>>2]+1.0)&65535|1;b[E+(j<<4)+8>>1]=~~(L+1.0)&65535|1;b[E+(j<<4)+10>>1]=~~(M+1.0)&65535|1}E=c[d+56>>2]|0;if((h|0)>(f|0)){A=a[d+60>>0]|0;z=f;do{if(!(A<<24>>24)){j=c[d+76>>2]|0;l=+g[j+(z<<6)>>2];t=+g[j+(z<<6)+4>>2];x=+g[j+(z<<6)+8>>2];o=+g[j+(z<<6)+12>>2];k=+g[j+(z<<6)+16>>2];w=+g[j+(z<<6)+20>>2];n=+g[j+(z<<6)+24>>2];s=+g[j+(z<<6)+28>>2];j=c[d+96>>2]|0;if(l<+g[j+(E<<6)>>2])g[j+(E<<6)>>2]=l;if(t<+g[j+(E<<6)+4>>2])g[j+(E<<6)+4>>2]=t;if(x<+g[j+(E<<6)+8>>2])g[j+(E<<6)+8>>2]=x;if(o<+g[j+(E<<6)+12>>2])g[j+(E<<6)+12>>2]=o;if(+g[j+(E<<6)+16>>2]>2]=k;if(+g[j+(E<<6)+20>>2]>2]=w;if(+g[j+(E<<6)+24>>2]>2]=n;if(+g[j+(E<<6)+28>>2]>2]=s}else{u=c[d+116>>2]|0;s=+g[d+36>>2];y=+g[d+40>>2];K=+g[d+44>>2];t=+g[d+4>>2];B=+g[d+8>>2];L=+g[d+12>>2];w=+g[d+4>>2];C=+g[d+8>>2];M=+g[d+12>>2];o=+g[d+36>>2];x=+g[d+40>>2];D=+g[d+44>>2];j=~~((+(e[u+(z<<4)>>1]|0)/s+t-w)*o)&65535&-2;m=~~((+(e[u+(z<<4)+2>>1]|0)/y+B-C)*x)&65535&-2;p=~~((+(e[u+(z<<4)+4>>1]|0)/K+L-M)*D)&65535&-2;q=~~(o*(+(e[u+(z<<4)+6>>1]|0)/s+t-w)+1.0)&65535|1;r=~~(x*(+(e[u+(z<<4)+8>>1]|0)/y+B-C)+1.0)&65535|1;u=~~(D*(+(e[u+(z<<4)+10>>1]|0)/K+L-M)+1.0)&65535|1;v=c[d+136>>2]|0;if((e[v+(E<<4)>>1]|0)>(j&65535))b[v+(E<<4)>>1]=j;if((e[v+(E<<4)+6>>1]|0)<(q&65535))b[v+(E<<4)+6>>1]=q;if((e[v+(E<<4)+2>>1]|0)>(m&65535))b[v+(E<<4)+2>>1]=m;if((e[v+(E<<4)+8>>1]|0)<(r&65535))b[v+(E<<4)+8>>1]=r;if((e[v+(E<<4)+4>>1]|0)>(p&65535))b[v+(E<<4)+4>>1]=p;if((e[v+(E<<4)+10>>1]|0)<(u&65535))b[v+(E<<4)+10>>1]=u}z=z+1|0}while((z|0)!=(h|0))}c[d+56>>2]=E+1;Ib(d,f,i);z=c[d+56>>2]|0;Ib(d,i,h);v=(c[d+56>>2]|0)-G|0;i=a[d+60>>0]|0;if(i<<24>>24!=0&(v|0)>128){r=c[d+136>>2]|0;q=c[r+(E+1<<4)+12>>2]|0;q=(q|0)>-1?1:0-q|0;u=c[r+(z<<4)+12>>2]|0;u=(u|0)>-1?1:0-u|0;if((q|0)<129){p=c[d+152>>2]|0;if((p|0)==(c[d+156>>2]|0)?(H=(p|0)==0?1:p<<1,(p|0)<(H|0)):0){if(!H){i=0;m=p}else{c[7182]=(c[7182]|0)+1;i=xb(H<<5|19)|0;if(!i)i=0;else{c[(i+4+15&-16)+-4>>2]=i;i=i+4+15&-16}m=c[d+152>>2]|0}if((m|0)>0){j=0;do{G=i+(j<<5)|0;h=(c[d+160>>2]|0)+(j<<5)|0;c[G>>2]=c[h>>2];c[G+4>>2]=c[h+4>>2];c[G+8>>2]=c[h+8>>2];c[G+12>>2]=c[h+12>>2];c[G+16>>2]=c[h+16>>2];c[G+20>>2]=c[h+20>>2];c[G+24>>2]=c[h+24>>2];c[G+28>>2]=c[h+28>>2];j=j+1|0}while((j|0)!=(m|0))}j=c[d+160>>2]|0;if(j|0){if(a[d+164>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[j+-4>>2]|0)}c[d+160>>2]=0}a[d+164>>0]=1;c[d+160>>2]=i;c[d+156>>2]=H;i=c[d+152>>2]|0}else i=p;c[d+152>>2]=i+1;H=(c[d+160>>2]|0)+(p<<5)|0;c[H>>2]=c[J+32>>2];c[H+4>>2]=c[J+32+4>>2];c[H+8>>2]=c[J+32+8>>2];c[H+12>>2]=c[J+32+12>>2];c[H+16>>2]=c[J+32+16>>2];c[H+20>>2]=c[J+32+20>>2];c[H+24>>2]=c[J+32+24>>2];c[H+28>>2]=c[J+32+28>>2];H=c[d+160>>2]|0;b[H+(p<<5)>>1]=b[r+(E+1<<4)>>1]|0;b[H+(p<<5)+2>>1]=b[r+(E+1<<4)+2>>1]|0;b[H+(p<<5)+4>>1]=b[r+(E+1<<4)+4>>1]|0;b[H+(p<<5)+6>>1]=b[r+(E+1<<4)+6>>1]|0;b[H+(p<<5)+8>>1]=b[r+(E+1<<4)+8>>1]|0;b[H+(p<<5)+10>>1]=b[r+(E+1<<4)+10>>1]|0;c[H+(p<<5)+12>>2]=E+1;c[H+(p<<5)+16>>2]=q}if((u|0)<129){p=c[d+152>>2]|0;if((p|0)==(c[d+156>>2]|0)?(I=(p|0)==0?1:p<<1,(p|0)<(I|0)):0){if(!I){i=0;m=p}else{c[7182]=(c[7182]|0)+1;i=xb(I<<5|19)|0;if(!i)i=0;else{c[(i+4+15&-16)+-4>>2]=i;i=i+4+15&-16}m=c[d+152>>2]|0}if((m|0)>0){j=0;do{H=i+(j<<5)|0;G=(c[d+160>>2]|0)+(j<<5)|0;c[H>>2]=c[G>>2];c[H+4>>2]=c[G+4>>2];c[H+8>>2]=c[G+8>>2];c[H+12>>2]=c[G+12>>2];c[H+16>>2]=c[G+16>>2];c[H+20>>2]=c[G+20>>2];c[H+24>>2]=c[G+24>>2];c[H+28>>2]=c[G+28>>2];j=j+1|0}while((j|0)!=(m|0))}j=c[d+160>>2]|0;if(j|0){if(a[d+164>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[j+-4>>2]|0)}c[d+160>>2]=0}a[d+164>>0]=1;c[d+160>>2]=i;c[d+156>>2]=I;i=c[d+152>>2]|0}else i=p;c[d+152>>2]=i+1;i=(c[d+160>>2]|0)+(p<<5)|0;c[i>>2]=c[J+32>>2];c[i+4>>2]=c[J+32+4>>2];c[i+8>>2]=c[J+32+8>>2];c[i+12>>2]=c[J+32+12>>2];c[i+16>>2]=c[J+32+16>>2];c[i+20>>2]=c[J+32+20>>2];c[i+24>>2]=c[J+32+24>>2];c[i+28>>2]=c[J+32+28>>2];i=c[d+160>>2]|0;b[i+(p<<5)>>1]=b[r+(z<<4)>>1]|0;b[i+(p<<5)+2>>1]=b[r+(z<<4)+2>>1]|0;b[i+(p<<5)+4>>1]=b[r+(z<<4)+4>>1]|0;b[i+(p<<5)+6>>1]=b[r+(z<<4)+6>>1]|0;b[i+(p<<5)+8>>1]=b[r+(z<<4)+8>>1]|0;b[i+(p<<5)+10>>1]=b[r+(z<<4)+10>>1]|0;c[i+(p<<5)+12>>2]=z;c[i+(p<<5)+16>>2]=u;i=d+152|0}else i=d+152|0;c[d+168>>2]=c[i>>2];i=a[d+60>>0]|0}if(!(i<<24>>24)){c[(c[d+96>>2]|0)+(F<<6)+32>>2]=v;sa=J;return}else{c[(c[d+136>>2]|0)+(F<<4)+12>>2]=0-v;sa=J;return}}function Jb(b,d,e,f,h){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0,I=0.0,J=0.0,K=0.0,L=0.0,M=0.0,N=0.0,O=0.0,P=0.0,Q=0.0,R=0.0,S=0.0,T=0.0,U=0.0,V=0.0,W=0.0,X=0.0,Y=0.0,Z=0.0,_=0.0,$=0.0,aa=0.0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0.0,ia=0.0,ja=0.0,ka=0.0,la=0.0,ma=0.0,na=0.0,oa=0.0,pa=0.0,qa=0.0,ra=0.0;ga=sa;sa=sa+176|0;da=c[d+4>>2]|0;ea=c[e+4>>2]|0;if((c[da+68>>2]|0)==(c[b+40>>2]|0)?(c[ea+68>>2]|0)==(c[b+44>>2]|0):0)ca=b+8|0;else{i=c[b+8>>2]|0;k=c[i+8>>2]|0;if((k|0)>0){j=0;do{l=c[(c[i+16>>2]|0)+(j*12|0)+8>>2]|0;if(l|0){Pa[c[c[l>>2]>>2]&511](l);ca=c[b+4>>2]|0;Va[c[(c[ca>>2]|0)+60>>2]&127](ca,l)}j=j+1|0}while((j|0)!=(k|0));i=c[b+8>>2]|0}gh(i);ca=b+8|0}a[ga+128+16>>0]=1;o=ga+128+12|0;c[o>>2]=0;c[ga+128+4>>2]=0;c[ga+128+8>>2]=0;n=c[ca>>2]|0;i=c[n+8>>2]|0;if((i|0)>0){m=0;do{j=c[(c[n+16>>2]|0)+(m*12|0)+8>>2]|0;if(j){Va[c[(c[j>>2]|0)+16>>2]&127](j,ga+128|0);i=c[ga+128+4>>2]|0;if((i|0)>0){l=0;do{k=c[(c[o>>2]|0)+(l<<2)>>2]|0;if(c[k+748>>2]|0){c[h+4>>2]=k;i=c[k+740>>2]|0;j=c[(c[h+8>>2]|0)+8>>2]|0;if((i|0)==(j|0))re(k,i+4|0,(c[(c[h+12>>2]|0)+8>>2]|0)+4|0);else re(k,(c[(c[h+12>>2]|0)+8>>2]|0)+4|0,j+4|0);c[h+4>>2]=0;i=c[ga+128+4>>2]|0}l=l+1|0}while((l|0)<(i|0))}if((i|0)<0){if((c[ga+128+8>>2]|0)<0){j=c[o>>2]|0;if(j|0){if(a[ga+128+16>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[j+-4>>2]|0)}c[o>>2]=0}a[ga+128+16>>0]=1;c[o>>2]=0;c[ga+128+8>>2]=0}do{c[(c[o>>2]|0)+(i<<2)>>2]=0;i=i+1|0}while((i|0)!=0)}c[ga+128+4>>2]=0;i=c[n+8>>2]|0}m=m+1|0}while((m|0)<(i|0));i=c[o>>2]|0;if(i|0){if(a[ga+128+16>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[i+-4>>2]|0)}c[o>>2]=0}}j=c[da+64>>2]|0;k=c[ea+64>>2]|0;s=c[b+4>>2]|0;t=c[ca>>2]|0;u=c[b+32>>2]|0;c[ga+128>>2]=9064;c[ga+128+4>>2]=0;c[ga+128+8>>2]=d;c[ga+128+12>>2]=e;c[ga+128+16>>2]=s;c[ga+128+20>>2]=f;c[ga+128+24>>2]=h;c[ga+128+28>>2]=t;c[ga+128+32>>2]=u;u=c[d+12>>2]|0;F=+g[u>>2];G=+g[u+16>>2];H=+g[u+32>>2];I=+g[u+4>>2];J=+g[u+20>>2];K=+g[u+36>>2];L=+g[u+8>>2];M=+g[u+24>>2];N=+g[u+40>>2];O=-+g[u+48>>2];P=-+g[u+52>>2];Q=-+g[u+56>>2];u=c[e+12>>2]|0;R=+g[u>>2];S=+g[u+16>>2];T=+g[u+32>>2];U=+g[u+4>>2];V=+g[u+20>>2];W=+g[u+36>>2];X=+g[u+8>>2];Y=+g[u+24>>2];Z=+g[u+40>>2];_=+g[u+48>>2];$=+g[u+52>>2];aa=+g[u+56>>2];j=c[j>>2]|0;k=c[k>>2]|0;if((j|0)!=0&(k|0)!=0){c[7182]=(c[7182]|0)+1;i=xb(1043)|0;if(!i)i=0;else{c[(i+4+15&-16)+-4>>2]=i;i=i+4+15&-16}c[i>>2]=j;c[i+4>>2]=k;v=+w(+(F*R+G*S+H*T));x=+w(+(F*U+G*V+H*W));y=+w(+(F*X+G*Y+H*Z));z=+w(+(I*R+J*S+K*T));A=+w(+(I*U+J*V+K*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i=0;do{n=r+(i<<3)|0;o=c[n+4>>2]|0;h=j+(i<<3)|0;c[h>>2]=c[n>>2];c[h+4>>2]=o;i=i+1|0}while((i|0)!=(m|0));k=j;i=j}while(0);if((ba|0)==55){ba=0;if(!r){m=q;l=k;n=k;j=k;break}}if(!f){m=q;l=k;n=k;j=k}else{c[7183]=(c[7183]|0)+1;Hc(c[f+-4>>2]|0);m=q;l=k;n=k;j=k}}else{m=o;i=r;n=k;j=f}while(0);h=q+-4|0;o=m;m=q;f=j}else{h=n;i=r;n=k}j=(c[t+40>>2]|0)!=0;if(!(c[s+40>>2]|0))if(j){k=c[t+36>>2]|0;c[i+(u<<3)>>2]=s;c[i+(u<<3)+4>>2]=k;k=c[t+40>>2]|0;c[i+(p<<3)>>2]=s;c[i+(p<<3)+4>>2]=k;p=p+1|0;k=n;j=f;break}else{Za[c[(c[ga+128>>2]|0)+8>>2]&127](ga+128|0,s,t);p=u;k=n;j=f;break}else{k=c[s+36>>2]|0;if(j){j=c[t+36>>2]|0;c[i+(u<<3)>>2]=k;c[i+(u<<3)+4>>2]=j;u=c[t+36>>2]|0;j=p+1|0;c[i+(p<<3)>>2]=c[s+40>>2];c[i+(p<<3)+4>>2]=u;u=c[t+40>>2]|0;k=p+2|0;c[i+(j<<3)>>2]=c[s+36>>2];c[i+(j<<3)+4>>2]=u;j=c[t+40>>2]|0;c[i+(k<<3)>>2]=c[s+40>>2];c[i+(k<<3)+4>>2]=j;p=p+3|0;k=n;j=f;break}else{c[i+(u<<3)>>2]=k;c[i+(u<<3)+4>>2]=t;c[i+(p<<3)>>2]=c[s+40>>2];c[i+(p<<3)+4>>2]=t;p=p+1|0;k=n;j=f;break}}}else{p=u;h=n;i=r;j=f}while(0);if(!p)break;else{n=h;r=i;f=j}}if(!((i|0)==0|(l|0)==0)){c[7183]=(c[7183]|0)+1;Hc(c[l+-4>>2]|0)}}o=c[ca>>2]|0;if((c[o+8>>2]|0)>0){n=0;do{i=c[o+16>>2]|0;j=c[i+(n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U=+g[u+4>>2];V=+g[u+8>>2];W=+g[u+16>>2];X=+g[u+20>>2];Y=+g[u+24>>2];ja=+g[u+32>>2];la=+g[u+36>>2];na=+g[u+40>>2];Z=+g[s+(t*80|0)>>2];_=+g[s+(t*80|0)+16>>2];$=+g[s+(t*80|0)+32>>2];aa=+g[s+(t*80|0)+4>>2];ha=+g[s+(t*80|0)+20>>2];ia=+g[s+(t*80|0)+36>>2];ka=+g[s+(t*80|0)+8>>2];ma=+g[s+(t*80|0)+24>>2];oa=+g[s+(t*80|0)+40>>2];R=+g[s+(t*80|0)+48>>2];S=+g[s+(t*80|0)+52>>2];ra=+g[s+(t*80|0)+56>>2];pa=+g[u+48>>2]+(T*R+U*S+V*ra);qa=+g[u+52>>2]+(W*R+X*S+Y*ra);ra=+g[u+56>>2]+(ja*R+la*S+na*ra);g[ga>>2]=T*Z+U*_+V*$;g[ga+4>>2]=T*aa+U*ha+V*ia;g[ga+8>>2]=T*ka+U*ma+V*oa;g[ga+12>>2]=0.0;g[ga+16>>2]=W*Z+X*_+Y*$;g[ga+20>>2]=W*aa+X*ha+Y*ia;g[ga+24>>2]=W*ka+X*ma+Y*oa;g[ga+28>>2]=0.0;g[ga+32>>2]=ja*Z+la*_+na*$;g[ga+36>>2]=ja*aa+la*ha+na*ia;g[ga+40>>2]=ja*ka+la*ma+na*oa;g[ga+44>>2]=0.0;g[ga+48>>2]=pa;g[ga+52>>2]=qa;g[ga+56>>2]=ra;g[ga+60>>2]=0.0;ab[c[(c[ba>>2]|0)+8>>2]&127](ba,ga,ga+80|0,ga+64|0);if(!(+g[ga+112>>2]>+g[ga+64>>2])?!(+g[ga+96>>2]<+g[ga+80>>2]):0)i=1;else i=0;if(!(!(+g[ga+112+8>>2]>+g[ga+64+8>>2])?!(+g[ga+96+8>>2]<+g[ga+80+8>>2]):0))i=0;if(!(+g[ga+112+4>>2]>+g[ga+64+4>>2])?!(+g[ga+96+4>>2]<+g[ga+80+4>>2]|i^1):0)break;Pa[c[c[j>>2]>>2]&511](j);m=c[b+4>>2]|0;Va[c[(c[m>>2]|0)+60>>2]&127](m,j);m=c[o+16>>2]|0;l=c[m+(n*12|0)>>2]|0;m=c[m+(n*12|0)+4>>2]|0;j=c[b+16>>2]|0;if((j|0)==(c[b+20>>2]|0)?(fa=(j|0)==0?1:j<<1,(j|0)<(fa|0)):0){if(!fa)i=0;else{c[7182]=(c[7182]|0)+1;i=xb((fa*12|3)+16|0)|0;if(!i)i=0;else{c[(i+4+15&-16)+-4>>2]=i;i=i+4+15&-16}j=c[b+16>>2]|0}if((j|0)>0){k=0;do{ba=i+(k*12|0)|0;u=(c[b+24>>2]|0)+(k*12|0)|0;c[ba>>2]=c[u>>2];c[ba+4>>2]=c[u+4>>2];c[ba+8>>2]=c[u+8>>2];k=k+1|0}while((k|0)!=(j|0))}j=c[b+24>>2]|0;if(j|0){if(a[b+28>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[j+-4>>2]|0)}c[b+24>>2]=0}a[b+28>>0]=1;c[b+24>>2]=i;c[b+20>>2]=fa;i=c[b+16>>2]|0}else i=j;ba=c[b+24>>2]|0;c[ba+(i*12|0)>>2]=l;c[ba+(i*12|0)+4>>2]=m;c[ba+(i*12|0)+8>>2]=0;c[b+16>>2]=(c[b+16>>2]|0)+1}while(0);n=n+1|0}while((n|0)<(c[o+8>>2]|0));j=b+24|0;k=b+16|0}else{j=b+24|0;k=b+16|0}if((c[k>>2]|0)>0){i=0;do{e=c[ca>>2]|0;fa=c[j>>2]|0;Ja[c[(c[e>>2]|0)+8>>2]&63](e,c[fa+(i*12|0)>>2]|0,c[fa+(i*12|0)+4>>2]|0)|0;i=i+1|0}while((i|0)<(c[k>>2]|0))}i=c[j>>2]|0;if(!i){a[b+28>>0]=1;c[j>>2]=0;c[k>>2]=0;b=b+20|0;c[b>>2]=0;sa=ga;return}if(a[b+28>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[i+-4>>2]|0)}c[j>>2]=0;a[b+28>>0]=1;c[j>>2]=0;c[k>>2]=0;b=b+20|0;c[b>>2]=0;sa=ga;return}function Kb(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,h=0.0,i=0.0,j=0.0,k=0.0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0,I=0.0,J=0.0,K=0.0,L=0,M=0;r=sa;sa=sa+208|0;f=Fa[c[(c[a>>2]|0)+20>>2]&127](a)|0;Wa[c[(c[f>>2]|0)+56>>2]&7](f,b,1.0);f=c[d+4>>2]|0;switch(f|0){case 31:{f=c[d+16>>2]|0;if((f|0)<=0){sa=r;return}do{q=f;f=f+-1|0;p=c[d+24>>2]|0;C=+g[p+(f*80|0)>>2];z=+g[p+(f*80|0)+4>>2];w=+g[p+(f*80|0)+8>>2];B=+g[p+(f*80|0)+16>>2];y=+g[p+(f*80|0)+20>>2];u=+g[p+(f*80|0)+24>>2];A=+g[p+(f*80|0)+32>>2];x=+g[p+(f*80|0)+36>>2];s=+g[p+(f*80|0)+40>>2];K=+g[p+(f*80|0)+48>>2];J=+g[p+(f*80|0)+52>>2];k=+g[p+(f*80|0)+56>>2];p=c[p+(f*80|0)+64>>2]|0;o=c[(c[a>>2]|0)+28>>2]|0;I=+g[b>>2];H=+g[b+4>>2];G=+g[b+8>>2];F=+g[b+16>>2];E=+g[b+20>>2];D=+g[b+24>>2];v=+g[b+32>>2];t=+g[b+36>>2];h=+g[b+40>>2];i=K*I+J*H+k*G+ +g[b+48>>2];j=K*F+J*E+k*D+ +g[b+52>>2];k=K*v+J*t+k*h+ +g[b+56>>2];g[r+144>>2]=C*I+B*H+A*G;g[r+144+4>>2]=z*I+y*H+x*G;g[r+144+8>>2]=w*I+u*H+s*G;g[r+144+12>>2]=0.0;g[r+144+16>>2]=C*F+B*E+A*D;g[r+144+20>>2]=z*F+y*E+x*D;g[r+144+24>>2]=w*F+u*E+s*D;g[r+144+28>>2]=0.0;g[r+144+32>>2]=C*v+B*t+A*h;g[r+144+36>>2]=z*v+y*t+x*h;g[r+144+40>>2]=w*v+u*t+s*h;g[r+144+44>>2]=0.0;g[r+144+48>>2]=i;g[r+144+52>>2]=j;g[r+144+56>>2]=k;g[r+144+60>>2]=0.0;ab[o&127](a,r+144|0,p,e)}while((q|0)>1);sa=r;return}case 0:{c[r+144>>2]=c[d+28>>2];c[r+144+4>>2]=c[d+28+4>>2];c[r+144+8>>2]=c[d+28+8>>2];c[r+144+12>>2]=c[d+28+12>>2];I=+va[c[(c[d>>2]|0)+48>>2]&15](d);J=+va[c[(c[d>>2]|0)+48>>2]&15](d);K=+va[c[(c[d>>2]|0)+48>>2]&15](d);I=I+ +g[r+144>>2];g[r+144>>2]=I;J=J+ +g[r+144+4>>2];g[r+144+4>>2]=J;K=K+ +g[r+144+8>>2];g[r+144+8>>2]=K;d=Fa[c[(c[a>>2]|0)+20>>2]&127](a)|0;a=c[(c[d>>2]|0)+72>>2]|0;g[r+112>>2]=-I;g[r+112+4>>2]=-J;g[r+112+8>>2]=-K;g[r+112+12>>2]=0.0;eb[a&31](d,r+112|0,r+144|0,b,e);sa=r;return}case 8:{K=+va[c[(c[d>>2]|0)+48>>2]&15](d);d=Fa[c[(c[a>>2]|0)+20>>2]&127](a)|0;Ua[c[(c[d>>2]|0)+16>>2]&1](d,K,b,e);sa=r;return}case 9:{f=c[d+92>>2]|0;if((f|0)<=0){sa=r;return}do{q=f;f=f+-1|0;p=c[d+100>>2]|0;w=+g[p+(f<<4)>>2];x=+g[p+(f<<4)+4>>2];J=+g[p+(f<<4)+8>>2];p=Fa[c[(c[a>>2]|0)+20>>2]&127](a)|0;o=c[(c[p>>2]|0)+16>>2]|0;K=+g[(c[d+120>>2]|0)+(f<<2)>>2];z=+g[b>>2];A=+g[b+4>>2];y=+g[b+8>>2];C=+g[b+16>>2];D=+g[b+20>>2];B=+g[b+24>>2];F=+g[b+32>>2];G=+g[b+36>>2];E=+g[b+40>>2];H=w*z+x*A+J*y+ +g[b+48>>2];I=w*C+x*D+J*B+ +g[b+52>>2];J=w*F+x*G+J*E+ +g[b+56>>2];g[r+144>>2]=z+A*0.0+y*0.0;g[r+144+4>>2]=z*0.0+A+y*0.0;g[r+144+8>>2]=y+(z*0.0+A*0.0);g[r+144+12>>2]=0.0;g[r+144+16>>2]=C+D*0.0+B*0.0;g[r+144+20>>2]=C*0.0+D+B*0.0;g[r+144+24>>2]=B+(C*0.0+D*0.0);g[r+144+28>>2]=0.0;g[r+144+32>>2]=F+G*0.0+E*0.0;g[r+144+36>>2]=F*0.0+G+E*0.0;g[r+144+40>>2]=E+(F*0.0+G*0.0);g[r+144+44>>2]=0.0;g[r+144+48>>2]=H;g[r+144+52>>2]=I;g[r+144+56>>2]=J;g[r+144+60>>2]=0.0;Ua[o&1](p,K,r+144|0,e)}while((q|0)>1);sa=r;return}case 10:{q=c[d+52>>2]|0;J=+g[d+28+(((q+2|0)%3|0)<<2)>>2];K=+g[d+28+(q<<2)>>2];d=Fa[c[(c[a>>2]|0)+20>>2]&127](a)|0;Sa[c[(c[d>>2]|0)+76>>2]&3](d,J,K,q,b,e);sa=r;return}case 11:{J=+g[d+56>>2];K=+g[d+60>>2];d=c[d+68>>2]|0;a=Fa[c[(c[a>>2]|0)+20>>2]&127](a)|0;Sa[c[(c[a>>2]|0)+84>>2]&3](a,J,K,d,b,e);sa=r;return}case 13:{q=c[d+52>>2]|0;J=+va[c[(c[d>>2]|0)+92>>2]&15](d);c[r+128>>2]=c[d+28>>2];c[r+128+4>>2]=c[d+28+4>>2];c[r+128+8>>2]=c[d+28+8>>2];c[r+128+12>>2]=c[d+28+12>>2];H=+va[c[(c[d>>2]|0)+48>>2]&15](d);I=+va[c[(c[d>>2]|0)+48>>2]&15](d);K=+va[c[(c[d>>2]|0)+48>>2]&15](d);g[r+128>>2]=H+ +g[r+128>>2];g[r+128+4>>2]=I+ +g[r+128+4>>2];g[r+128+8>>2]=K+ +g[r+128+8>>2];K=+g[r+128+(q<<2)>>2];d=Fa[c[(c[a>>2]|0)+20>>2]&127](a)|0;Sa[c[(c[d>>2]|0)+80>>2]&3](d,J,K,q,b,e);sa=r;return}case 28:{K=+g[d+64>>2];a=Fa[c[(c[a>>2]|0)+20>>2]&127](a)|0;Ya[c[(c[a>>2]|0)+88>>2]&1](a,d+48|0,K,b,e);sa=r;return}default:{a:do if((f|0)<7){q=c[d+52>>2]|0;if(!q){if((Fa[c[(c[d>>2]|0)+100>>2]&127](d)|0)<=0)break;f=0;while(1){ab[c[(c[d>>2]|0)+104>>2]&127](d,f,r+144|0,r+112|0);K=+g[r+144>>2];x=+g[b>>2];I=+g[r+144+4>>2];y=+g[b+4>>2];G=+g[r+144+8>>2];z=+g[b+8>>2];B=+g[b+16>>2];C=+g[b+20>>2];D=+g[b+24>>2];F=+g[b+32>>2];H=+g[b+36>>2];J=+g[b+40>>2];w=+g[b+48>>2];A=+g[b+52>>2];E=+g[b+56>>2];g[r+16>>2]=K*x+I*y+G*z+w;g[r+16+4>>2]=K*B+I*C+G*D+A;g[r+16+8>>2]=K*F+I*H+G*J+E;g[r+16+12>>2]=0.0;G=+g[r+112>>2];I=+g[r+112+4>>2];K=+g[r+112+8>>2];g[r>>2]=w+(x*G+y*I+z*K);g[r+4>>2]=A+(B*G+C*I+D*K);g[r+8>>2]=E+(F*G+H*I+J*K);g[r+12>>2]=0.0;q=Fa[c[(c[a>>2]|0)+20>>2]&127](a)|0;ab[c[(c[q>>2]|0)+8>>2]&127](q,r+16|0,r,e);f=f+1|0;if((f|0)>=(Fa[c[(c[d>>2]|0)+100>>2]&127](d)|0))break a}}if((c[q+28>>2]|0)>0){p=0;do{f=c[q+36>>2]|0;o=c[f+(p*36|0)+4>>2]|0;b:do if((o|0)>0){l=c[f+(p*36|0)+12>>2]|0;f=0;m=c[l+(o+-1<<2)>>2]|0;h=0.0;i=0.0;k=0.0;while(1){n=c[l+(f<<2)>>2]|0;l=c[q+16>>2]|0;h=h+ +g[l+(n<<4)>>2];i=i+ +g[l+(n<<4)+4>>2];k=k+ +g[l+(n<<4)+8>>2];l=Fa[c[(c[a>>2]|0)+20>>2]&127](a)|0;L=c[(c[l>>2]|0)+8>>2]|0;M=c[q+16>>2]|0;K=+g[M+(m<<4)>>2];x=+g[b>>2];I=+g[M+(m<<4)+4>>2];y=+g[b+4>>2];G=+g[M+(m<<4)+8>>2];z=+g[b+8>>2];B=+g[b+16>>2];C=+g[b+20>>2];D=+g[b+24>>2];F=+g[b+32>>2];H=+g[b+36>>2];J=+g[b+40>>2];w=+g[b+48>>2];A=+g[b+52>>2];E=+g[b+56>>2];g[r+144>>2]=K*x+I*y+G*z+w;g[r+144+4>>2]=K*B+I*C+G*D+A;g[r+144+8>>2]=K*F+I*H+G*J+E;g[r+144+12>>2]=0.0;G=+g[M+(n<<4)>>2];I=+g[M+(n<<4)+4>>2];K=+g[M+(n<<4)+8>>2];g[r+112>>2]=w+(x*G+y*I+z*K);g[r+112+4>>2]=A+(B*G+C*I+D*K);g[r+112+8>>2]=E+(F*G+H*I+J*K);g[r+112+12>>2]=0.0;ab[L&127](l,r+144|0,r+112|0,e);f=f+1|0;l=c[q+36>>2]|0;if((f|0)>=(c[l+(p*36|0)+4>>2]|0))break b;m=n;l=c[l+(p*36|0)+12>>2]|0}}else{h=0.0;i=0.0;k=0.0}while(0);j=1.0/+(o|0)*h;i=1.0/+(o|0)*i;h=1.0/+(o|0)*k;M=Fa[c[(c[a>>2]|0)+20>>2]&127](a)|0;if((Fa[c[(c[M>>2]|0)+48>>2]&127](M)|0)&16384|0){c[r+144>>2]=1065353216;c[r+144+4>>2]=1065353216;c[r+144+8>>2]=0;g[r+144+12>>2]=0.0;M=c[q+36>>2]|0;E=+g[M+(p*36|0)+20>>2];G=+g[M+(p*36|0)+24>>2];I=+g[M+(p*36|0)+28>>2];M=Fa[c[(c[a>>2]|0)+20>>2]&127](a)|0;L=c[(c[M>>2]|0)+8>>2]|0;w=+g[b>>2];x=+g[b+4>>2];y=+g[b+8>>2];A=+g[b+16>>2];B=+g[b+20>>2];C=+g[b+24>>2];F=+g[b+32>>2];H=+g[b+36>>2];J=+g[b+40>>2];z=+g[b+48>>2];D=+g[b+52>>2];K=+g[b+56>>2];g[r+112>>2]=j*w+i*x+h*y+z;g[r+112+4>>2]=j*A+i*B+h*C+D;g[r+112+8>>2]=j*F+i*H+h*J+K;g[r+112+12>>2]=0.0;g[r+16>>2]=(j+E)*w+(i+G)*x+(h+I)*y+z;g[r+16+4>>2]=(j+E)*A+(i+G)*B+(h+I)*C+D;g[r+16+8>>2]=(j+E)*F+(i+G)*H+(h+I)*J+K;g[r+16+12>>2]=0.0;ab[L&127](M,r+112|0,r+16|0,r+144|0)}p=p+1|0}while((p|0)<(c[q+28>>2]|0))}}while(0);f=c[d+4>>2]|0;if((f+-21|0)>>>0<9){c[r+144>>2]=1566444395;c[r+144+4>>2]=1566444395;c[r+144+8>>2]=1566444395;g[r+144+12>>2]=0.0;c[r+112>>2]=-581039253;c[r+112+4>>2]=-581039253;c[r+112+8>>2]=-581039253;g[r+112+12>>2]=0.0;f=Fa[c[(c[a>>2]|0)+20>>2]&127](a)|0;c[r+16>>2]=8628;c[r+16+4>>2]=8652;c[r+16+8>>2]=f;c[r+16+12>>2]=c[e>>2];c[r+16+12+4>>2]=c[e+4>>2];c[r+16+12+8>>2]=c[e+8>>2];c[r+16+12+12>>2]=c[e+12>>2];c[r+16+28>>2]=c[b>>2];c[r+16+28+4>>2]=c[b+4>>2];c[r+16+28+8>>2]=c[b+8>>2];c[r+16+28+12>>2]=c[b+12>>2];c[r+16+44>>2]=c[b+16>>2];c[r+16+44+4>>2]=c[b+16+4>>2];c[r+16+44+8>>2]=c[b+16+8>>2];c[r+16+44+12>>2]=c[b+16+12>>2];c[r+16+60>>2]=c[b+32>>2];c[r+16+60+4>>2]=c[b+32+4>>2];c[r+16+60+8>>2]=c[b+32+8>>2];c[r+16+60+12>>2]=c[b+32+12>>2];c[r+16+76>>2]=c[b+48>>2];c[r+16+76+4>>2]=c[b+48+4>>2];c[r+16+76+8>>2]=c[b+48+8>>2];c[r+16+76+12>>2]=c[b+48+12>>2];ab[c[(c[d>>2]|0)+64>>2]&127](d,r+16|0,r+112|0,r+144|0);f=c[d+4>>2]|0}if((f|0)!=3){sa=r;return}c[r+144>>2]=1566444395;c[r+144+4>>2]=1566444395;c[r+144+8>>2]=1566444395;g[r+144+12>>2]=0.0;c[r+112>>2]=-581039253;c[r+112+4>>2]=-581039253;c[r+112+8>>2]=-581039253;g[r+112+12>>2]=0.0;M=Fa[c[(c[a>>2]|0)+20>>2]&127](a)|0;c[r+16>>2]=8628;c[r+16+4>>2]=8652;c[r+16+8>>2]=M;c[r+16+12>>2]=c[e>>2];c[r+16+12+4>>2]=c[e+4>>2];c[r+16+12+8>>2]=c[e+8>>2];c[r+16+12+12>>2]=c[e+12>>2];c[r+16+28>>2]=c[b>>2];c[r+16+28+4>>2]=c[b+4>>2];c[r+16+28+8>>2]=c[b+8>>2];c[r+16+28+12>>2]=c[b+12>>2];c[r+16+44>>2]=c[b+16>>2];c[r+16+44+4>>2]=c[b+16+4>>2];c[r+16+44+8>>2]=c[b+16+8>>2];c[r+16+44+12>>2]=c[b+16+12>>2];c[r+16+60>>2]=c[b+32>>2];c[r+16+60+4>>2]=c[b+32+4>>2];c[r+16+60+8>>2]=c[b+32+8>>2];c[r+16+60+12>>2]=c[b+32+12>>2];c[r+16+76>>2]=c[b+48>>2];c[r+16+76+4>>2]=c[b+48+4>>2];c[r+16+76+8>>2]=c[b+48+8>>2];c[r+16+76+12>>2]=c[b+48+12>>2];M=c[d+92>>2]|0;ab[c[(c[M>>2]|0)+8>>2]&127](M,r+16+4|0,r+112|0,r+144|0);sa=r;return}}}function Lb(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var h=0,i=0.0,j=0,k=0,l=0,m=0,n=0,o=0.0,p=0.0,q=0.0,r=0,s=0,t=0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0;t=sa;sa=sa+48|0;z=1.0/+g[b+108>>2];A=1.0/+g[b+112>>2];B=1.0/+g[b+116>>2];u=+g[b+48>>2];v=z*+g[e>>2]+u;o=+g[b+52>>2];i=A*+g[e+4>>2]+o;q=+g[b+56>>2];p=B*+g[e+8>>2]+q;u=z*+g[f>>2]+u;o=A*+g[f+4>>2]+o;q=B*+g[f+8>>2]+q;B=+g[b+16>>2];v=v>2];i=i>2];p=p>2];v=y>2];i=x>2];p=w>2]|0)+-1|0;f=(c[b+68>>2]|0)+-1|0;switch(c[b+104>>2]|0){case 0:{f=(e|0)<(f|0)?e:f;e=(h|0)>0?h:0;l=(k|0)<(l|0)?k:l;n=(n|0)>0?n:0;break}case 1:{f=(e|0)<(f|0)?e:f;e=(h|0)>0?h:0;l=(j|0)<(l|0)?j:l;n=(m|0)>0?m:0;break}case 2:{f=(k|0)<(f|0)?k:f;e=(n|0)>0?n:0;l=(j|0)<(l|0)?j:l;n=(m|0)>0?m:0;break}default:{e=0;n=0}}if((e|0)>=(f|0)){sa=t;return}r=(n|0)<(l|0);do if(r){k=(e&1|0)==0;q=+(e|0);m=e+1|0;h=n;while(1){do if(!(a[b+100>>0]|0)){if(a[b+101>>0]|0?(h+e&1|0)==0:0){s=16;break}if(!(k&(a[b+102>>0]|0)!=0)){i=+ya[c[(c[b>>2]|0)+68>>2]&15](b,h,e);switch(c[b+104>>2]|0){case 0:{i=i-+g[b+48>>2];o=+(h|0)-+g[b+80>>2]*.5;p=q-+g[b+84>>2]*.5;g[t>>2]=i;g[t+4>>2]=o;g[t+8>>2]=p;g[t+12>>2]=0.0;break}case 1:{B=+(h|0)-+g[b+80>>2]*.5;o=i-+g[b+52>>2];p=q-+g[b+84>>2]*.5;g[t>>2]=B;g[t+4>>2]=o;g[t+8>>2]=p;g[t+12>>2]=0.0;i=B;break}case 2:{B=+(h|0)-+g[b+80>>2]*.5;o=q-+g[b+84>>2]*.5;p=i-+g[b+56>>2];g[t>>2]=B;g[t+4>>2]=o;g[t+8>>2]=p;g[t+12>>2]=0.0;i=B;break}default:{i=+g[t>>2];o=+g[t+4>>2];p=+g[t+8>>2]}}g[t>>2]=i*+g[b+108>>2];g[t+4>>2]=o*+g[b+112>>2];g[t+8>>2]=p*+g[b+116>>2];i=+ya[c[(c[b>>2]|0)+68>>2]&15](b,h,m);switch(c[b+104>>2]|0){case 0:{i=i-+g[b+48>>2];o=+(h|0)-+g[b+80>>2]*.5;p=+(m|0)-+g[b+84>>2]*.5;g[t+16>>2]=i;g[t+20>>2]=o;g[t+24>>2]=p;g[t+28>>2]=0.0;break}case 1:{B=+(h|0)-+g[b+80>>2]*.5;o=i-+g[b+52>>2];p=+(m|0)-+g[b+84>>2]*.5;g[t+16>>2]=B;g[t+20>>2]=o;g[t+24>>2]=p;g[t+28>>2]=0.0;i=B;break}case 2:{B=+(h|0)-+g[b+80>>2]*.5;o=+(m|0)-+g[b+84>>2]*.5;p=i-+g[b+56>>2];g[t+16>>2]=B;g[t+20>>2]=o;g[t+24>>2]=p;g[t+28>>2]=0.0;i=B;break}default:{i=+g[t+16>>2];o=+g[t+20>>2];p=+g[t+24>>2]}}g[t+16>>2]=i*+g[b+108>>2];g[t+20>>2]=o*+g[b+112>>2];g[t+24>>2]=p*+g[b+116>>2];j=h+1|0;i=+ya[c[(c[b>>2]|0)+68>>2]&15](b,j,e);switch(c[b+104>>2]|0){case 0:{i=i-+g[b+48>>2];o=+(j|0)-+g[b+80>>2]*.5;p=q-+g[b+84>>2]*.5;g[t+32>>2]=i;g[t+36>>2]=o;g[t+40>>2]=p;g[t+44>>2]=0.0;break}case 1:{B=+(j|0)-+g[b+80>>2]*.5;o=i-+g[b+52>>2];p=q-+g[b+84>>2]*.5;g[t+32>>2]=B;g[t+36>>2]=o;g[t+40>>2]=p;g[t+44>>2]=0.0;i=B;break}case 2:{B=+(j|0)-+g[b+80>>2]*.5;o=q-+g[b+84>>2]*.5;p=i-+g[b+56>>2];g[t+32>>2]=B;g[t+36>>2]=o;g[t+40>>2]=p;g[t+44>>2]=0.0;i=B;break}default:{i=+g[t+32>>2];o=+g[t+36>>2];p=+g[t+40>>2]}}g[t+32>>2]=i*+g[b+108>>2];g[t+36>>2]=o*+g[b+112>>2];g[t+40>>2]=p*+g[b+116>>2];ab[c[(c[d>>2]|0)+8>>2]&127](d,t,h,e);i=+ya[c[(c[b>>2]|0)+68>>2]&15](b,j,e);switch(c[b+104>>2]|0){case 0:{i=i-+g[b+48>>2];o=+(j|0)-+g[b+80>>2]*.5;p=q-+g[b+84>>2]*.5;g[t>>2]=i;g[t+4>>2]=o;g[t+8>>2]=p;g[t+12>>2]=0.0;break}case 1:{B=+(j|0)-+g[b+80>>2]*.5;o=i-+g[b+52>>2];p=q-+g[b+84>>2]*.5;g[t>>2]=B;g[t+4>>2]=o;g[t+8>>2]=p;g[t+12>>2]=0.0;i=B;break}case 2:{B=+(j|0)-+g[b+80>>2]*.5;o=q-+g[b+84>>2]*.5;p=i-+g[b+56>>2];g[t>>2]=B;g[t+4>>2]=o;g[t+8>>2]=p;g[t+12>>2]=0.0;i=B;break}default:{i=+g[t>>2];o=+g[t+4>>2];p=+g[t+8>>2]}}g[t>>2]=i*+g[b+108>>2];g[t+4>>2]=o*+g[b+112>>2];g[t+8>>2]=p*+g[b+116>>2];i=+ya[c[(c[b>>2]|0)+68>>2]&15](b,j,m);switch(c[b+104>>2]|0){case 0:{i=i-+g[b+48>>2];o=+(j|0)-+g[b+80>>2]*.5;p=+(m|0)-+g[b+84>>2]*.5;g[t+32>>2]=i;g[t+36>>2]=o;g[t+40>>2]=p;g[t+44>>2]=0.0;break}case 1:{B=+(j|0)-+g[b+80>>2]*.5;o=i-+g[b+52>>2];p=+(m|0)-+g[b+84>>2]*.5;g[t+32>>2]=B;g[t+36>>2]=o;g[t+40>>2]=p;g[t+44>>2]=0.0;i=B;break}case 2:{B=+(j|0)-+g[b+80>>2]*.5;o=+(m|0)-+g[b+84>>2]*.5;p=i-+g[b+56>>2];g[t+32>>2]=B;g[t+36>>2]=o;g[t+40>>2]=p;g[t+44>>2]=0.0;i=B;break}default:{i=+g[t+32>>2];o=+g[t+36>>2];p=+g[t+40>>2]}}g[t+32>>2]=i*+g[b+108>>2];g[t+36>>2]=o*+g[b+112>>2];g[t+40>>2]=p*+g[b+116>>2];ab[c[(c[d>>2]|0)+8>>2]&127](d,t,h,e);h=j}else s=16}else s=16;while(0);if((s|0)==16){s=0;i=+ya[c[(c[b>>2]|0)+68>>2]&15](b,h,e);switch(c[b+104>>2]|0){case 0:{i=i-+g[b+48>>2];o=+(h|0)-+g[b+80>>2]*.5;p=q-+g[b+84>>2]*.5;g[t>>2]=i;g[t+4>>2]=o;g[t+8>>2]=p;g[t+12>>2]=0.0;break}case 1:{B=+(h|0)-+g[b+80>>2]*.5;o=i-+g[b+52>>2];p=q-+g[b+84>>2]*.5;g[t>>2]=B;g[t+4>>2]=o;g[t+8>>2]=p;g[t+12>>2]=0.0;i=B;break}case 2:{B=+(h|0)-+g[b+80>>2]*.5;o=q-+g[b+84>>2]*.5;p=i-+g[b+56>>2];g[t>>2]=B;g[t+4>>2]=o;g[t+8>>2]=p;g[t+12>>2]=0.0;i=B;break}default:{i=+g[t>>2];o=+g[t+4>>2];p=+g[t+8>>2]}}g[t>>2]=i*+g[b+108>>2];g[t+4>>2]=o*+g[b+112>>2];g[t+8>>2]=p*+g[b+116>>2];j=h+1|0;i=+ya[c[(c[b>>2]|0)+68>>2]&15](b,j,e);switch(c[b+104>>2]|0){case 0:{i=i-+g[b+48>>2];o=+(j|0)-+g[b+80>>2]*.5;p=q-+g[b+84>>2]*.5;g[t+16>>2]=i;g[t+20>>2]=o;g[t+24>>2]=p;g[t+28>>2]=0.0;break}case 1:{B=+(j|0)-+g[b+80>>2]*.5;o=i-+g[b+52>>2];p=q-+g[b+84>>2]*.5;g[t+16>>2]=B;g[t+20>>2]=o;g[t+24>>2]=p;g[t+28>>2]=0.0;i=B;break}case 2:{B=+(j|0)-+g[b+80>>2]*.5;o=q-+g[b+84>>2]*.5;p=i-+g[b+56>>2];g[t+16>>2]=B;g[t+20>>2]=o;g[t+24>>2]=p;g[t+28>>2]=0.0;i=B;break}default:{i=+g[t+16>>2];o=+g[t+20>>2];p=+g[t+24>>2]}}g[t+16>>2]=i*+g[b+108>>2];g[t+20>>2]=o*+g[b+112>>2];g[t+24>>2]=p*+g[b+116>>2];i=+ya[c[(c[b>>2]|0)+68>>2]&15](b,j,m);switch(c[b+104>>2]|0){case 0:{i=i-+g[b+48>>2];o=+(j|0)-+g[b+80>>2]*.5;p=+(m|0)-+g[b+84>>2]*.5;g[t+32>>2]=i;g[t+36>>2]=o;g[t+40>>2]=p;g[t+44>>2]=0.0;break}case 1:{B=+(j|0)-+g[b+80>>2]*.5;o=i-+g[b+52>>2];p=+(m|0)-+g[b+84>>2]*.5;g[t+32>>2]=B;g[t+36>>2]=o;g[t+40>>2]=p;g[t+44>>2]=0.0;i=B;break}case 2:{B=+(j|0)-+g[b+80>>2]*.5;o=+(m|0)-+g[b+84>>2]*.5;p=i-+g[b+56>>2];g[t+32>>2]=B;g[t+36>>2]=o;g[t+40>>2]=p;g[t+44>>2]=0.0;i=B;break}default:{i=+g[t+32>>2];o=+g[t+36>>2];p=+g[t+40>>2]}}g[t+32>>2]=i*+g[b+108>>2];g[t+36>>2]=o*+g[b+112>>2];g[t+40>>2]=p*+g[b+116>>2];ab[c[(c[d>>2]|0)+8>>2]&127](d,t,h,e);i=+ya[c[(c[b>>2]|0)+68>>2]&15](b,j,m);switch(c[b+104>>2]|0){case 0:{i=i-+g[b+48>>2];o=+(j|0)-+g[b+80>>2]*.5;p=+(m|0)-+g[b+84>>2]*.5;g[t+16>>2]=i;g[t+20>>2]=o;g[t+24>>2]=p;g[t+28>>2]=0.0;break}case 1:{B=+(j|0)-+g[b+80>>2]*.5;o=i-+g[b+52>>2];p=+(m|0)-+g[b+84>>2]*.5;g[t+16>>2]=B;g[t+20>>2]=o;g[t+24>>2]=p;g[t+28>>2]=0.0;i=B;break}case 2:{B=+(j|0)-+g[b+80>>2]*.5;o=+(m|0)-+g[b+84>>2]*.5;p=i-+g[b+56>>2];g[t+16>>2]=B;g[t+20>>2]=o;g[t+24>>2]=p;g[t+28>>2]=0.0;i=B;break}default:{i=+g[t+16>>2];o=+g[t+20>>2];p=+g[t+24>>2]}}g[t+16>>2]=i*+g[b+108>>2];g[t+20>>2]=o*+g[b+112>>2];g[t+24>>2]=p*+g[b+116>>2];i=+ya[c[(c[b>>2]|0)+68>>2]&15](b,h,m);switch(c[b+104>>2]|0){case 0:{i=i-+g[b+48>>2];o=+(h|0)-+g[b+80>>2]*.5;p=+(m|0)-+g[b+84>>2]*.5;g[t+32>>2]=i;g[t+36>>2]=o;g[t+40>>2]=p;g[t+44>>2]=0.0;break}case 1:{B=+(h|0)-+g[b+80>>2]*.5;o=i-+g[b+52>>2];p=+(m|0)-+g[b+84>>2]*.5;g[t+32>>2]=B;g[t+36>>2]=o;g[t+40>>2]=p;g[t+44>>2]=0.0;i=B;break}case 2:{B=+(h|0)-+g[b+80>>2]*.5;o=+(m|0)-+g[b+84>>2]*.5;p=i-+g[b+56>>2];g[t+32>>2]=B;g[t+36>>2]=o;g[t+40>>2]=p;g[t+44>>2]=0.0;i=B;break}default:{i=+g[t+32>>2];o=+g[t+36>>2];p=+g[t+40>>2]}}g[t+32>>2]=i*+g[b+108>>2];g[t+36>>2]=o*+g[b+112>>2];g[t+40>>2]=p*+g[b+116>>2];ab[c[(c[d>>2]|0)+8>>2]&127](d,t,h,e);h=j}if((h|0)==(l|0)){e=m;break}}}else e=e+1|0;while((e|0)!=(f|0));sa=t;return}function Mb(b,d){b=b|0;d=d|0;var e=0,f=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0,m=0.0,n=0.0,o=0,p=0,q=0.0,r=0.0,s=0,t=0,u=0.0,v=0.0,w=0.0,y=0.0,z=0.0,A=0,B=0,C=0.0,D=0.0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0.0;P=sa;sa=sa+192|0;O=c[d+36>>2]|0;n=+g[(+g[O+88>>2]>0.0?b+16|0:b+20|0)>>2];if(a[O+100>>0]&1){sa=P;return}L=c[b+8>>2]|0;t=c[L+4>>2]|0;M=c[L+12>>2]|0;J=c[(c[b+4>>2]|0)+684>>2]|0;C=+g[O+8>>2]-+g[M+48>>2];q=+g[O+12>>2]-+g[M+52>>2];D=+g[O+16>>2]-+g[M+56>>2];z=1.0/+g[J+76>>2];y=(C*+g[M>>2]+q*+g[M+16>>2]+D*+g[M+32>>2])*z/3.0;G=y<0.0?~~(1.0-y):0;K=~~((y+ +(G|0)-+(~~(y+ +(G|0))|0))*3.0);r=(y+ +(G|0)-+(~~(y+ +(G|0))|0))*3.0-+(K|0);G=~~(y+ +(G|0))-G|0;y=z*(C*+g[M+4>>2]+q*+g[M+20>>2]+D*+g[M+36>>2])/3.0;E=y<0.0?~~(1.0-y):0;H=~~((y+ +(E|0)-+(~~(y+ +(E|0))|0))*3.0);m=(y+ +(E|0)-+(~~(y+ +(E|0))|0))*3.0-+(H|0);E=~~(y+ +(E|0))-E|0;D=z*(C*+g[M+8>>2]+q*+g[M+24>>2]+D*+g[M+40>>2])/3.0;F=D<0.0?~~(1.0-D):0;I=~~((D+ +(F|0)-+(~~(D+ +(F|0))|0))*3.0);q=(D+ +(F|0)-+(~~(D+ +(F|0))|0))*3.0-+(I|0);F=~~(D+ +(F|0))-F|0;o=(16?G>>>16:G)<<11^(G&65535)+16^(G&65535)+16<<16;o=o+(E&65535)+(11?o>>>11:o)|0;o=o^(16?E>>>16:E)<<11^o<<16;o=o+(F&65535)+(11?o>>>11:o)|0;o=o^(16?F>>>16:F)<<11^o<<16;o=o+(t&65535)+(11?o>>>11:o)|0;o=o^(16?t>>>16:t)<<11^o<<16;o=(11?o>>>11:o)+o|0;o=(5?(o<<3^o)>>>5:o<<3^o)+(o<<3^o)|0;o=(17?(o<<4^o)>>>17:o<<4^o)+(o<<4^o)|0;o=(6?(o<<25^o)>>>6:o<<25^o)+(o<<25^o)|0;p=c[J+60>>2]|0;s=c[J+68>>2]|0;d=c[s+(((o>>>0)%(p>>>0)|0)<<2)>>2]|0;c[J+96>>2]=(c[J+96>>2]|0)+1;e=(c[J+92>>2]|0)+1|0;c[J+92>>2]=e;a:do if(!d)l=10;else while(1){if(((((c[d+272>>2]|0)==(o|0)?(c[d+256>>2]|0)==(G|0):0)?(c[d+260>>2]|0)==(E|0):0)?(c[d+264>>2]|0)==(F|0):0)?(c[d+276>>2]|0)==(t|0):0)break a;d=c[d+280>>2]|0;e=e+1|0;c[J+92>>2]=e;if(!d){l=10;break}}while(0);b:do if((l|0)==10){B=c[J+84>>2]|0;c[J+84>>2]=B+1;if((B|0)>=(c[J+88>>2]|0)){c[6832]=(c[6832]|0)+1;c:do if((p|0)>0){d=0;e=s;while(1){B=e+(d<<2)|0;e=c[B>>2]|0;c[B>>2]=0;if(e|0)do{B=e;e=c[e+280>>2]|0;GI(B)}while((e|0)!=0);d=d+1|0;if((d|0)==(p|0))break c;e=c[J+68>>2]|0}}while(0);g[J+76>>2]=.25;c[J+80>>2]=0;c[J+84>>2]=0;c[J+92>>2]=1;c[J+96>>2]=1}d=Nr(284)|0;mk(d|0,0,284)|0;c[d+280>>2]=c[s+(((o>>>0)%(p>>>0)|0)<<2)>>2];c[s+(((o>>>0)%(p>>>0)|0)<<2)>>2]=d;c[d+276>>2]=t;c[d+272>>2]=o;c[d+256>>2]=G;c[d+260>>2]=E;c[d+264>>2]=F;j=+g[J+76>>2];t=P+120+4|0;A=P+120+24|0;B=P+120+44|0;e=0;f=j;while(1){i=j*+(F|0)*3.0+f*+(e|0);l=0;while(1){h=j*+(E|0)*3.0+f*+(l|0);g[P+48>>2]=+(G|0)*3.0*j+f*0.0;g[P+48+4>>2]=h;g[P+48+8>>2]=i;g[P+48+12>>2]=0.0;o=c[d+276>>2]|0;c[P+120>>2]=1065353216;c[t>>2]=0;c[t+4>>2]=0;c[t+8>>2]=0;c[t+12>>2]=0;c[P+120+20>>2]=1065353216;c[A>>2]=0;c[A+4>>2]=0;c[A+8>>2]=0;c[A+12>>2]=0;c[P+120+40>>2]=1065353216;c[B>>2]=0;c[B+4>>2]=0;c[B+8>>2]=0;c[B+12>>2]=0;c[B+16>>2]=0;s=c[o+4>>2]|0;if((s|0)<20){f=+lc(P+48|0,o,P+120|0,P+64|0);o=c[d+276>>2]|0;p=o+4|0;s=c[o+4>>2]|0}else{f=0.0;p=o+4|0}g[d+(l<<4)+(e<<2)>>2]=f;g[P+48>>2]=+(G|0)*3.0*j+ +g[J+76>>2];g[P+48+4>>2]=h;g[P+48+8>>2]=i;g[P+48+12>>2]=0.0;c[P+120>>2]=1065353216;c[t>>2]=0;c[t+4>>2]=0;c[t+8>>2]=0;c[t+12>>2]=0;c[P+120+20>>2]=1065353216;c[A>>2]=0;c[A+4>>2]=0;c[A+8>>2]=0;c[A+12>>2]=0;c[P+120+40>>2]=1065353216;c[B>>2]=0;c[B+4>>2]=0;c[B+8>>2]=0;c[B+12>>2]=0;c[B+16>>2]=0;if((s|0)<20){f=+lc(P+48|0,o,P+120|0,P+64|0);o=c[d+276>>2]|0;p=o+4|0}else f=0.0;g[d+64+(l<<4)+(e<<2)>>2]=f;g[P+48>>2]=+(G|0)*3.0*j+ +g[J+76>>2]*2.0;g[P+48+4>>2]=h;g[P+48+8>>2]=i;g[P+48+12>>2]=0.0;c[P+120>>2]=1065353216;c[t>>2]=0;c[t+4>>2]=0;c[t+8>>2]=0;c[t+12>>2]=0;c[P+120+20>>2]=1065353216;c[A>>2]=0;c[A+4>>2]=0;c[A+8>>2]=0;c[A+12>>2]=0;c[P+120+40>>2]=1065353216;c[B>>2]=0;c[B+4>>2]=0;c[B+8>>2]=0;c[B+12>>2]=0;c[B+16>>2]=0;if((c[p>>2]|0)<20){f=+lc(P+48|0,o,P+120|0,P+64|0);o=c[d+276>>2]|0;p=o+4|0}else f=0.0;g[d+128+(l<<4)+(e<<2)>>2]=f;g[P+48>>2]=+(G|0)*3.0*j+ +g[J+76>>2]*3.0;g[P+48+4>>2]=h;g[P+48+8>>2]=i;g[P+48+12>>2]=0.0;c[P+120>>2]=1065353216;c[t>>2]=0;c[t+4>>2]=0;c[t+8>>2]=0;c[t+12>>2]=0;c[P+120+20>>2]=1065353216;c[A>>2]=0;c[A+4>>2]=0;c[A+8>>2]=0;c[A+12>>2]=0;c[P+120+40>>2]=1065353216;c[B>>2]=0;c[B+4>>2]=0;c[B+8>>2]=0;c[B+12>>2]=0;c[B+16>>2]=0;if((c[p>>2]|0)<20)f=+lc(P+48|0,o,P+120|0,P+64|0);else f=0.0;g[d+192+(l<<4)+(e<<2)>>2]=f;l=l+1|0;if((l|0)==4)break;f=+g[J+76>>2]}e=e+1|0;if((e|0)==4)break b;f=+g[J+76>>2]}}while(0);c[d+268>>2]=c[J+80>>2];f=+g[d+(K<<6)+(H<<4)+(I<<2)>>2];w=+g[d+(K+1<<6)+(H<<4)+(I<<2)>>2];u=+g[d+(K+1<<6)+(H+1<<4)+(I<<2)>>2];v=+g[d+(K<<6)+(H+1<<4)+(I<<2)>>2];D=+g[d+(K<<6)+(H<<4)+(I+1<<2)>>2];C=+g[d+(K+1<<6)+(H<<4)+(I+1<<2)>>2];y=+g[d+(K+1<<6)+(H+1<<4)+(I+1<<2)>>2];z=+g[d+(K<<6)+(H+1<<4)+(I+1<<2)>>2];h=w-f+m*(u-v-(w-f))+q*(C-D+m*(y-z-(C-D))-(w-f+m*(u-v-(w-f))));i=v-f+r*(u-w-(v-f))+q*(z-D+r*(y-C-(z-D))-(v-f+r*(u-w-(v-f))));j=D-f+r*(C-w-(D-f))+m*(z-v+r*(y-u-(z-v))-(D-f+r*(C-w-(D-f))));k=1.0/+x(+(j*j+(h*h+i*i)));f=f+r*(w-f)+m*(v+r*(u-v)-(f+r*(w-f)));f=f+q*(D+r*(C-D)+m*(z+r*(y-z)-(D+r*(C-D)))-f)-n;if(!(f<0.0)){sa=P;return}s=c[L+8>>2]|0;C=+g[M>>2]*h*k+ +g[M+4>>2]*i*k+ +g[M+8>>2]*j*k;D=h*k*+g[M+16>>2]+i*k*+g[M+20>>2]+j*k*+g[M+24>>2];z=h*k*+g[M+32>>2]+i*k*+g[M+36>>2]+j*k*+g[M+40>>2];y=-(C*(+g[O+8>>2]-f*C)+D*(+g[O+12>>2]-f*D)+z*(+g[O+16>>2]-f*z));r=+g[O+88>>2];d=c[b+12>>2]|0;if(!d)q=0.0;else q=+g[d+344>>2];if(!(r+q>0.0)){sa=P;return}if(!d)l=(c[(c[b+8>>2]|0)+8>>2]|0)+4|0;else l=d+4|0;if((a[26688]|0)==0?mz(26688)|0:0){d=27332;e=d+48|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(e|0))}e=c[b+12>>2]|0;k=+g[O+8>>2];v=k-+g[l+48>>2];m=+g[O+12>>2];w=m-+g[l+52>>2];n=+g[O+16>>2];u=n-+g[l+56>>2];if(!e){M=c[b+4>>2]|0;f=0.0;h=0.0;i=0.0;d=M;j=+g[M+452>>2]}else{i=+g[e+332>>2];h=+g[e+336>>2];Q=+g[e+328>>2];d=c[b+4>>2]|0;j=+g[d+452>>2];f=(u*i-w*h+ +g[e+312>>2])*j;h=(+g[e+316>>2]+(v*h-u*Q))*j;i=(w*Q-v*i+ +g[e+320>>2])*j}k=k-+g[O+24>>2]-f;m=m-+g[O+28>>2]-h;Q=n-+g[O+32>>2]-i;h=+g[d+316>>2]*+g[(c[(c[b+8>>2]|0)+8>>2]|0)+224>>2];_e(P+120|0,j,r,q,(e|0)==0?27332:e+264|0,v,w,u);c[P+32>>2]=c[P+120>>2];c[P+32+4>>2]=c[P+120+4>>2];c[P+32+8>>2]=c[P+120+8>>2];c[P+32+12>>2]=c[P+120+12>>2];c[P+16>>2]=c[P+120+16>>2];c[P+16+4>>2]=c[P+120+16+4>>2];c[P+16+8>>2]=c[P+120+16+8>>2];c[P+16+12>>2]=c[P+120+16+12>>2];c[P>>2]=c[P+120+32>>2];c[P+4>>2]=c[P+120+32+4>>2];c[P+8>>2]=c[P+120+32+8>>2];c[P+12>>2]=c[P+120+32+12>>2];p=c[b+4>>2]|0;f=r*+g[p+452>>2];h=(Q-z*(k*C+m*D+Q*z))*(Q-z*(k*C+m*D+Q*z))+((k-C*(k*C+m*D+Q*z))*(k-C*(k*C+m*D+Q*z))+(m-D*(k*C+m*D+Q*z))*(m-D*(k*C+m*D+Q*z)))>2]|0)+8>>2]|0)+204>>2]&3|0)==0?p+324|0:p+328|0)>>2]|0;d=c[p+812>>2]|0;if((d|0)==(c[p+816>>2]|0)?(N=(d|0)==0?1:d<<1,(d|0)<(N|0)):0){if(!N)l=0;else{c[7182]=(c[7182]|0)+1;d=xb((N*104|3)+16|0)|0;if(!d)d=0;else{c[(d+4+15&-16)+-4>>2]=d;d=d+4+15&-16}l=d;d=c[p+812>>2]|0}if((d|0)>0){e=0;do{M=l+(e*104|0)|0;L=c[p+820>>2]|0;K=L+(e*104|0)|0;c[M>>2]=c[K>>2];c[M+4>>2]=c[K+4>>2];c[M+8>>2]=c[K+8>>2];c[M+12>>2]=c[K+12>>2];c[M+16>>2]=c[K+16>>2];c[M+20>>2]=c[K+20>>2];c[M+24>>2]=c[K+24>>2];M=l+(e*104|0)+28|0;K=L+(e*104|0)+28|0;c[M>>2]=c[K>>2];c[M+4>>2]=c[K+4>>2];c[M+8>>2]=c[K+8>>2];c[M+12>>2]=c[K+12>>2];M=L+(e*104|0)+44|0;K=l+(e*104|0)+44|0;c[K>>2]=c[M>>2];c[K+4>>2]=c[M+4>>2];c[K+8>>2]=c[M+8>>2];c[K+12>>2]=c[M+12>>2];K=L+(e*104|0)+60|0;M=l+(e*104|0)+60|0;c[M>>2]=c[K>>2];c[M+4>>2]=c[K+4>>2];c[M+8>>2]=c[K+8>>2];c[M+12>>2]=c[K+12>>2];M=l+(e*104|0)+76|0;L=L+(e*104|0)+76|0;c[M>>2]=c[L>>2];c[M+4>>2]=c[L+4>>2];c[M+8>>2]=c[L+8>>2];c[M+12>>2]=c[L+12>>2];c[M+16>>2]=c[L+16>>2];c[M+20>>2]=c[L+20>>2];c[M+24>>2]=c[L+24>>2];e=e+1|0}while((e|0)!=(d|0))}d=c[p+820>>2]|0;if(d|0){if(a[p+824>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[p+820>>2]=0}a[p+824>>0]=1;c[p+820>>2]=l;c[p+816>>2]=N;d=c[p+812>>2]|0}N=c[p+820>>2]|0;c[N+(d*104|0)>>2]=s;g[N+(d*104|0)+4>>2]=C;g[N+(d*104|0)+8>>2]=D;g[N+(d*104|0)+12>>2]=z;g[N+(d*104|0)+16>>2]=0.0;g[N+(d*104|0)+20>>2]=y;c[N+(d*104|0)+24>>2]=O;O=N+(d*104|0)+28|0;c[O>>2]=c[P+32>>2];c[O+4>>2]=c[P+32+4>>2];c[O+8>>2]=c[P+32+8>>2];c[O+12>>2]=c[P+32+12>>2];O=N+(d*104|0)+44|0;c[O>>2]=c[P+16>>2];c[O+4>>2]=c[P+16+4>>2];c[O+8>>2]=c[P+16+8>>2];c[O+12>>2]=c[P+16+12>>2];O=N+(d*104|0)+60|0;c[O>>2]=c[P>>2];c[O+4>>2]=c[P+4>>2];c[O+8>>2]=c[P+8>>2];c[O+12>>2]=c[P+12>>2];O=N+(d*104|0)+76|0;g[O>>2]=v;g[N+(d*104|0)+80>>2]=w;g[N+(d*104|0)+84>>2]=u;g[N+(d*104|0)+88>>2]=0.0;g[O+16>>2]=f;g[O+20>>2]=h;c[O+24>>2]=o;c[p+812>>2]=(c[p+812>>2]|0)+1;d=c[b+12>>2]|0;if(!d){sa=P;return}if(c[d+204>>2]&3|0){sa=P;return}if((c[d+216>>2]&-2|0)!=4)c[d+216>>2]=1;g[d+220>>2]=0.0;sa=P;return}function Nb(b,d){b=b|0;d=+d;var e=0,f=0.0,h=0,i=0,j=0,k=0.0,l=0.0,m=0,n=0,o=0,p=0.0,q=0,r=0,s=0.0,t=0.0,u=0.0,v=0.0,w=0,y=0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0,I=0.0,J=0.0,K=0.0,L=0.0,M=0.0,N=0.0,O=0.0,P=0.0,Q=0.0;q=sa;sa=sa+96|0;n=c[b+136>>2]|0;if(!n){sa=q;return}e=c[b+8>>2]|0;if((e|0)<(n|0)){if((c[b+12>>2]|0)<(n|0)){c[7182]=(c[7182]|0)+1;h=xb((n<<4|3)+16|0)|0;if(!h)j=0;else{c[(h+4+15&-16)+-4>>2]=h;j=h+4+15&-16}i=c[b+8>>2]|0;if((i|0)>0){h=0;do{m=j+(h<<4)|0;r=(c[b+16>>2]|0)+(h<<4)|0;c[m>>2]=c[r>>2];c[m+4>>2]=c[r+4>>2];c[m+8>>2]=c[r+8>>2];c[m+12>>2]=c[r+12>>2];h=h+1|0}while((h|0)!=(i|0))}h=c[b+16>>2]|0;if(h|0){if(a[b+20>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[h+-4>>2]|0)}c[b+16>>2]=0}a[b+20>>0]=1;c[b+16>>2]=j;c[b+12>>2]=n;h=b+16|0}else h=b+16|0;do{r=(c[h>>2]|0)+(e<<4)|0;c[r>>2]=c[q+48>>2];c[r+4>>2]=c[q+48+4>>2];c[r+8>>2]=c[q+48+8>>2];c[r+12>>2]=c[q+48+12>>2];e=e+1|0}while((e|0)!=(n|0))}c[b+8>>2]=n;e=c[b+28>>2]|0;if((e|0)<(n|0)){if((c[b+32>>2]|0)<(n|0)){c[7182]=(c[7182]|0)+1;h=xb((n<<4|3)+16|0)|0;if(!h)j=0;else{c[(h+4+15&-16)+-4>>2]=h;j=h+4+15&-16}i=c[b+28>>2]|0;if((i|0)>0){h=0;do{r=j+(h<<4)|0;m=(c[b+36>>2]|0)+(h<<4)|0;c[r>>2]=c[m>>2];c[r+4>>2]=c[m+4>>2];c[r+8>>2]=c[m+8>>2];c[r+12>>2]=c[m+12>>2];h=h+1|0}while((h|0)!=(i|0))}h=c[b+36>>2]|0;if(h|0){if(a[b+40>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[h+-4>>2]|0)}c[b+36>>2]=0}a[b+40>>0]=1;c[b+36>>2]=j;c[b+32>>2]=n;h=b+36|0}else h=b+36|0;do{r=(c[h>>2]|0)+(e<<4)|0;c[r>>2]=c[q+48>>2];c[r+4>>2]=c[q+48+4>>2];c[r+8>>2]=c[q+48+8>>2];c[r+12>>2]=c[q+48+12>>2];e=e+1|0}while((e|0)!=(n|0))}c[b+28>>2]=n;m=c[b+48>>2]|0;if((m|0)<(n|0)){do if((c[b+52>>2]|0)<(n|0)){c[7182]=(c[7182]|0)+1;e=xb((n<<2|3)+16|0)|0;if(!e)e=0;else{c[(e+4+15&-16)+-4>>2]=e;e=e+4+15&-16}i=c[b+48>>2]|0;j=c[b+56>>2]|0;if((i|0)<=0){if(!j){a[b+60>>0]=1;c[b+56>>2]=e;c[b+52>>2]=n;h=n<<2;break}}else{h=0;do{c[e+(h<<2)>>2]=c[j+(h<<2)>>2];h=h+1|0}while((h|0)!=(i|0))}if(a[b+60>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[j+-4>>2]|0)}a[b+60>>0]=1;c[b+56>>2]=e;c[b+52>>2]=n;h=n<<2}else{h=n<<2;e=c[b+56>>2]|0}while(0);mk(e+(m<<2)|0,0,h-(m<<2)|0)|0}c[b+48>>2]=n;m=c[b+68>>2]|0;if((m|0)<(n|0)){do if((c[b+72>>2]|0)<(n|0)){c[7182]=(c[7182]|0)+1;e=xb((n<<2|3)+16|0)|0;if(!e)e=0;else{c[(e+4+15&-16)+-4>>2]=e;e=e+4+15&-16}i=c[b+68>>2]|0;j=c[b+76>>2]|0;if((i|0)<=0){if(!j){a[b+80>>0]=1;c[b+76>>2]=e;c[b+72>>2]=n;h=n<<2;break}}else{h=0;do{c[e+(h<<2)>>2]=c[j+(h<<2)>>2];h=h+1|0}while((h|0)!=(i|0))}if(a[b+80>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[j+-4>>2]|0)}a[b+80>>0]=1;c[b+76>>2]=e;c[b+72>>2]=n;h=n<<2}else{h=n<<2;e=c[b+76>>2]|0}while(0);mk(e+(m<<2)|0,0,h-(m<<2)|0)|0}c[b+68>>2]=n;e=c[b+136>>2]|0;if((e|0)<=0){sa=q;return}i=c[b+76>>2]|0;j=c[b+56>>2]|0;h=0;do{g[i+(h<<2)>>2]=0.0;g[j+(h<<2)>>2]=0.0;h=h+1|0}while((h|0)!=(e|0));j=0;do{h=c[b+144>>2]|0;i=c[h+(j*284|0)+88>>2]|0;if(i){w=h+(j*284|0)+92|0;c[q+48>>2]=c[w>>2];c[q+48+4>>2]=c[w+4>>2];c[q+48+8>>2]=c[w+8>>2];c[q+48+12>>2]=c[w+12>>2];w=h+(j*284|0)+108|0;c[q+48+16>>2]=c[w>>2];c[q+48+16+4>>2]=c[w+4>>2];c[q+48+16+8>>2]=c[w+8>>2];c[q+48+16+12>>2]=c[w+12>>2];w=h+(j*284|0)+124|0;c[q+48+32>>2]=c[w>>2];c[q+48+32+4>>2]=c[w+4>>2];c[q+48+32+8>>2]=c[w+8>>2];c[q+48+32+12>>2]=c[w+12>>2];w=c[b+120>>2]|0;e=c[q+48+16+(w<<2)>>2]|0;y=c[q+48+32+(w<<2)>>2]|0;m=c[b+36>>2]|0;c[m+(j<<4)>>2]=c[q+48+(w<<2)>>2];c[m+(j<<4)+4>>2]=e;c[m+(j<<4)+8>>2]=y;g[m+(j<<4)+12>>2]=0.0;m=c[b+36>>2]|0;y=m+(j<<4)|0;z=+g[y>>2];e=h+(j*284|0)|0;f=+g[e>>2];w=m+(j<<4)+4|0;v=+g[w>>2];r=h+(j*284|0)+4|0;k=+g[r>>2];m=m+(j<<4)+8|0;s=+g[m>>2];n=h+(j*284|0)+8|0;u=+g[n>>2];l=z-f*(z*f+v*k+s*u);t=v-k*(z*f+v*k+s*u);u=s-u*(z*f+v*k+s*u);s=1.0/+x(+(u*u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>>2]+(J*-f-C*-l)*+g[i+28>>2]+(C*-k-E*-f)*+g[i+44>>2];f=(f*(L*F-I*M+ +g[e+312>>2]-(J*B-E*K+ +g[i+312>>2]))+k*(+g[e+316>>2]+(G*M-L*H)-(+g[i+316>>2]+(C*K-J*D)))+l*(I*H-G*F+ +g[e+320>>2]-(E*D-C*B+ +g[i+320>>2])))*-.20000000298023224*(1.0/(+g[i+344>>2]+(+g[e+344>>2]+(A*A*+g[e+396>>2]+s*s*+g[e+400>>2]+t*t*+g[e+404>>2]))+(u*u*+g[i+396>>2]+v*v*+g[i+400>>2]+z*z*+g[i+404>>2])))}g[(c[b+76>>2]|0)+(j<<2)>>2]=f;e=c[b+136>>2]|0}j=j+1|0}while((j|0)<(e|0));if((e|0)<=0){sa=q;return}h=0;m=0;i=c[b+144>>2]|0;while(1){e=c[i+(m*284|0)+88>>2]|0;if(e){f=+g[i+(m*284|0)+252>>2];if(f!=0.0){f=f*d;e=i}else{M=+g[i+(m*284|0)+256>>2];M=M==0.0?0.0:M;y=c[b+116>>2]|0;w=c[b+16>>2]|0;G=+g[i+(m*284|0)+16>>2];E=+g[i+(m*284|0)+20>>2];A=+g[i+(m*284|0)+24>>2];v=+g[w+(m<<4)>>2];D=+g[w+(m<<4)+4>>2];f=+g[w+(m<<4)+8>>2];O=G-+g[y+52>>2];P=E-+g[y+56>>2];k=A-+g[y+60>>2];l=+g[y+264>>2]*(P*f-k*D)+ +g[y+280>>2]*(k*v-O*f)+(O*D-P*v)*+g[y+296>>2];Q=(P*f-k*D)*+g[y+268>>2]+(k*v-O*f)*+g[y+284>>2]+(O*D-P*v)*+g[y+300>>2];N=(P*f-k*D)*+g[y+272>>2]+(k*v-O*f)*+g[y+288>>2]+(O*D-P*v)*+g[y+304>>2];K=G-+g[e+52>>2];I=E-+g[e+56>>2];C=A-+g[e+60>>2];u=(D*K-v*I)*+g[e+296>>2]+(+g[e+264>>2]*(f*I-D*C)+ +g[e+280>>2]*(v*C-f*K));s=(f*I-D*C)*+g[e+268>>2]+(v*C-f*K)*+g[e+284>>2]+(D*K-v*I)*+g[e+300>>2];t=(f*I-D*C)*+g[e+272>>2]+(v*C-f*K)*+g[e+288>>2]+(D*K-v*I)*+g[e+304>>2];G=G-+g[y+52>>2];E=E-+g[y+56>>2];A=A-+g[y+60>>2];H=+g[y+332>>2];z=+g[y+336>>2];F=+g[y+328>>2];L=+g[e+332>>2];B=+g[e+336>>2];J=+g[e+328>>2];f=-(1.0/(+g[y+344>>2]+(f*(P*l-O*Q)+(v*(k*Q-P*N)+D*(O*N-k*l)))+(+g[e+344>>2]+(f*(I*u-K*s)+(v*(C*s-I*t)+D*(K*t-C*u)))))*((A*H-E*z+ +g[y+312>>2]-(C*L-I*B+ +g[e+312>>2]))*v+(+g[y+316>>2]+(G*z-A*F)-(+g[e+316>>2]+(K*B-C*J)))*D+(E*F-G*H+ +g[y+320>>2]-(I*J-K*L+ +g[e+320>>2]))*f));f=M>2]|0}y=(c[b+56>>2]|0)+(m<<2)|0;g[y>>2]=0.0;j=e+(m*284|0)+280|0;g[j>>2]=1.0;l=+g[i+(m*284|0)+276>>2]*d*+g[i+(m*284|0)+228>>2];g[y>>2]=f;f=f*.5;k=+g[(c[b+76>>2]|0)+(m<<2)>>2];if(f*f+k*k>l*l){Q=l/+x(+(f*f+k*k));g[j>>2]=Q*+g[j>>2];h=1}}else{g[(c[b+56>>2]|0)+(m<<2)>>2]=0.0;g[i+(m*284|0)+280>>2]=1.0;e=i}m=m+1|0;j=c[b+136>>2]|0;if((m|0)>=(j|0))break;else i=e}if(h&(j|0)>0){h=c[b+76>>2]|0;e=0;do{i=h+(e<<2)|0;if(+g[i>>2]!=0.0?(o=(c[b+144>>2]|0)+(e*284|0)+280|0,p=+g[o>>2],p<1.0):0){y=(c[b+56>>2]|0)+(e<<2)|0;g[y>>2]=p*+g[y>>2];g[i>>2]=+g[o>>2]*+g[i>>2]}e=e+1|0}while((e|0)!=(j|0))}if((j|0)<=0){sa=q;return}h=0;do{i=c[b+144>>2]|0;e=c[b+116>>2]|0;j=i+(h*284|0)+16|0;k=+g[j>>2]-+g[e+52>>2];m=i+(h*284|0)+20|0;l=+g[m>>2]-+g[e+56>>2];n=i+(h*284|0)+24|0;d=+g[n>>2]-+g[e+60>>2];g[q+48>>2]=k;g[q+48+4>>2]=l;g[q+48+8>>2]=d;g[q+48+12>>2]=0.0;f=+g[(c[b+56>>2]|0)+(h<<2)>>2];if(f!=0.0){y=c[b+16>>2]|0;P=f*+g[y+(h<<4)+4>>2];Q=f*+g[y+(h<<4)+8>>2];g[q+32>>2]=f*+g[y+(h<<4)>>2];g[q+32+4>>2]=P;g[q+32+8>>2]=Q;g[q+32+12>>2]=0.0;Bk(e,q+32|0,q+48|0)}f=+g[(c[b+76>>2]|0)+(h<<2)>>2];if(f!=0.0){y=c[(c[b+144>>2]|0)+(h*284|0)+88>>2]|0;P=+g[m>>2]-+g[y+56>>2];O=+g[n>>2]-+g[y+60>>2];g[q+32>>2]=+g[j>>2]-+g[y+52>>2];g[q+32+4>>2]=P;g[q+32+8>>2]=O;g[q+32+12>>2]=0.0;w=c[b+36>>2]|0;O=+g[w+(h<<4)>>2]*f;P=f*+g[w+(h<<4)+4>>2];Q=f*+g[w+(h<<4)+8>>2];g[q+16>>2]=O;g[q+16+4>>2]=P;g[q+16+8>>2]=Q;g[q+16+12>>2]=0.0;w=c[b+116>>2]|0;r=c[b+124>>2]|0;K=+g[w+4+(r<<2)>>2];L=+g[w+20+(r<<2)>>2];M=+g[w+36+(r<<2)>>2];N=(K*k+L*l+M*d)*(1.0-+g[i+(h*284|0)+244>>2]);g[q+48>>2]=k-K*N;g[q+48+4>>2]=l-L*N;g[q+48+8>>2]=d-M*N;Bk(w,q+16|0,q+48|0);g[q>>2]=-O;g[q+4>>2]=-P;g[q+8>>2]=-Q;g[q+12>>2]=0.0;Bk(y,q,q+32|0)}h=h+1|0}while((h|0)<(c[b+136>>2]|0));sa=q;return}function Ob(b,e,f,h,i,j,k){b=b|0;e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0.0,m=0.0,n=0.0,o=0,p=0,q=0.0,r=0.0,s=0,t=0,u=0,v=0.0,w=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0,I=0.0,J=0.0,K=0.0,L=0.0,M=0.0,N=0.0,O=0;u=sa;sa=sa+9824|0;o=j;p=o+36|0;do{c[o>>2]=0;o=o+4|0}while((o|0)<(p|0));c[u+9680>>2]=b;c[u+9680+4>>2]=f;F=+g[h>>2];L=+g[e>>2];E=+g[h+16>>2];K=+g[e+16>>2];D=+g[h+32>>2];J=+g[e+32>>2];I=+g[e+4>>2];H=+g[e+20>>2];G=+g[e+36>>2];z=+g[e+8>>2];w=+g[e+24>>2];l=+g[e+40>>2];C=+g[h+4>>2];B=+g[h+20>>2];A=+g[h+36>>2];y=+g[h+8>>2];v=+g[h+24>>2];m=+g[h+40>>2];g[u+9680+8>>2]=F*L+E*K+D*J;g[u+9680+12>>2]=F*I+E*H+D*G;g[u+9680+16>>2]=F*z+E*w+D*l;g[u+9680+20>>2]=0.0;g[u+9680+24>>2]=L*C+K*B+J*A;g[u+9680+28>>2]=I*C+H*B+G*A;g[u+9680+32>>2]=z*C+w*B+l*A;g[u+9680+36>>2]=0.0;g[u+9680+40>>2]=L*y+K*v+J*m;g[u+9680+44>>2]=I*y+H*v+G*m;g[u+9680+48>>2]=z*y+w*v+l*m;g[u+9680+52>>2]=0.0;N=+g[h+48>>2]-+g[e+48>>2];M=+g[h+52>>2]-+g[e+52>>2];q=+g[h+56>>2]-+g[e+56>>2];n=N*+g[e>>2]+M*+g[e+16>>2]+q*+g[e+32>>2];r=N*+g[e+4>>2]+M*+g[e+20>>2]+q*+g[e+36>>2];q=N*+g[e+8>>2]+M*+g[e+24>>2]+q*+g[e+40>>2];g[u+9680+56>>2]=F*L+E*K+D*J;g[u+9680+60>>2]=L*C+K*B+J*A;g[u+9680+64>>2]=L*y+K*v+J*m;g[u+9680+68>>2]=0.0;g[u+9680+72>>2]=F*I+E*H+D*G;g[u+9680+76>>2]=I*C+H*B+G*A;g[u+9680+80>>2]=I*y+H*v+G*m;g[u+9680+84>>2]=0.0;g[u+9680+88>>2]=F*z+E*w+D*l;g[u+9680+92>>2]=z*C+w*B+l*A;g[u+9680+96>>2]=z*y+w*v+l*m;g[u+9680+100>>2]=0.0;g[u+9680+104>>2]=n;g[u+9680+108>>2]=r;g[u+9680+112>>2]=q;g[u+9680+116>>2]=0.0;c[u+9680+120>>2]=k?82:81;c[u+9680+124>>2]=0;c[u+9296+364>>2]=0;c[u+9296+128>>2]=0;c[u+9296+128+4>>2]=0;c[u+9296+128+8>>2]=0;c[u+9296+128+12>>2]=0;c[u+9296+376>>2]=2;c[u+9296+368>>2]=0;g[u+9296+144>>2]=0.0;q=-+g[i+4>>2];r=-+g[i+8>>2];g[u+9808>>2]=-+g[i>>2];g[u+9808+4>>2]=q;g[u+9808+8>>2]=r;g[u+9808+12>>2]=0.0;switch(Rb(u+9296|0,u+9680|0,u+9808|0)|0){case 1:{c[u+9280>>2]=0;c[u+9280+4>>2]=0;c[u+9280+8>>2]=0;c[u+9280+12>>2]=0;c[u>>2]=9;c[u+9276>>2]=0;c[u+40>>2]=0;c[u+40+4>>2]=0;c[u+40+8>>2]=0;c[u+40+12>>2]=0;c[u+40+16>>2]=0;b=0;do{f=128-b+-1|0;c[u+2108+(f*56|0)+44>>2]=0;h=c[u+9288>>2]|0;c[u+2108+(f*56|0)+48>>2]=h;if(h|0)c[h+44>>2]=u+2108+(f*56|0);c[u+9288>>2]=u+2108+(f*56|0);b=b+1|0}while((b|0)!=128);c[u+9292>>2]=128;n=+g[i>>2];q=+g[i+4>>2];m=+g[i+8>>2];s=c[u+9296+372>>2]|0;do if((c[s+32>>2]|0)>>>0>1?dc(u+9296|0)|0:0){b=c[u+9280>>2]|0;if(b|0){o=c[u+9284>>2]|0;p=c[u+9292>>2]|0;do{f=b+44|0;k=b+48|0;h=c[k>>2]|0;if(h|0)c[h+44>>2]=c[f>>2];f=c[f>>2]|0;if(f|0)c[f+48>>2]=c[k>>2];if((c[u+9280>>2]|0)==(b|0))c[u+9280>>2]=c[k>>2];o=o+-1|0;c[b+44>>2]=0;c[k>>2]=c[u+9288>>2];f=c[u+9288>>2]|0;if(f|0)c[f+44>>2]=b;c[u+9288>>2]=b;p=p+1|0;b=c[u+9280>>2]|0}while((b|0)!=0);c[u+9284>>2]=o;c[u+9292>>2]=p}c[u>>2]=0;c[u+9276>>2]=0;b=c[s>>2]|0;f=c[s+12>>2]|0;N=+g[f+16>>2];F=+g[b+16>>2]-N;H=+g[f+20>>2];I=+g[b+20>>2]-H;K=+g[f+24>>2];L=+g[b+24>>2]-K;f=c[s+4>>2]|0;J=+g[f+16>>2]-N;M=+g[f+20>>2]-H;G=+g[f+24>>2]-K;h=c[s+8>>2]|0;N=+g[h+16>>2]-N;H=+g[h+20>>2]-H;K=+g[h+24>>2]-K;if(F*M*K+(I*G*N+L*J*H-F*G*H-I*J*K)-L*M*N<0.0){c[s>>2]=f;c[s+4>>2]=b;k=c[s+16>>2]|0;c[s+16>>2]=c[s+20>>2];c[s+20>>2]=k;k=f}else{k=b;b=f}k=de(u,k,b,h,1)|0;o=de(u,c[s+4>>2]|0,c[s>>2]|0,c[s+12>>2]|0,1)|0;p=de(u,c[s+8>>2]|0,c[s+4>>2]|0,c[s+12>>2]|0,1)|0;i=de(u,c[s>>2]|0,c[s+8>>2]|0,c[s+12>>2]|0,1)|0;if((c[u+9284>>2]|0)==4){f=c[u+9280>>2]|0;l=+g[f+16>>2];b=c[f+48>>2]|0;if(!b)b=f;else{m=l*l;while(1){l=+g[b+16>>2];h=l*l>2]|0;if(!b)break;else m=h?l*l:m}b=f;l=+g[f+16>>2]}n=+g[b>>2];r=+g[b+4>>2];q=+g[b+8>>2];m=+g[b+12>>2];O=c[b+20>>2]|0;f=c[b+24>>2]|0;h=c[b+28>>2]|0;a[k+52>>0]=0;c[k+32>>2]=o;a[o+52>>0]=0;c[o+32>>2]=k;a[k+53>>0]=0;c[k+36>>2]=p;a[p+52>>0]=1;c[p+32>>2]=k;a[k+54>>0]=0;c[k+40>>2]=i;a[i+52>>0]=2;c[i+32>>2]=k;a[o+53>>0]=2;c[o+36>>2]=i;a[i+54>>0]=1;c[i+40>>2]=o;a[o+54>>0]=1;c[o+40>>2]=p;a[p+53>>0]=2;c[p+36>>2]=o;a[p+54>>0]=1;c[p+40>>2]=i;a[i+53>>0]=2;c[i+36>>2]=p;c[u>>2]=0;i=b;s=0;o=O;p=f;k=h;while(1){f=c[u+9276>>2]|0;if(f>>>0>=64){t=45;break}c[u+9808>>2]=0;c[u+9808+4>>2]=0;c[u+9808+8>>2]=0;c[u+9276>>2]=f+1;s=s+1|0;a[i+55>>0]=s;h=i+4|0;O=i+8|0;Wg(u+9296|0,+g[i>>2],+g[h>>2],+g[O>>2],u+60+(f<<5)|0);if(!(+g[i>>2]*+g[u+60+(f<<5)+16>>2]+ +g[h>>2]*+g[u+60+(f<<5)+20>>2]+ +g[O>>2]*+g[u+60+(f<<5)+24>>2]-+g[i+16>>2]>9.999999747378752e-05)){b=7;t=44;break}b=0;do{h=Fg(u,s,u+60+(f<<5)|0,c[i+32+(b<<2)>>2]|0,d[i+52+b>>0]|0,u+9808|0)|0;b=b+1|0}while(h&b>>>0<3);if(!(h&(c[u+9808+8>>2]|0)>>>0>2)){b=4;t=44;break}h=c[u+9808>>2]|0;b=c[u+9808+4>>2]|0;a[h+53>>0]=2;c[h+36>>2]=b;a[b+54>>0]=1;c[b+40>>2]=h;b=i+44|0;h=i+48|0;f=c[h>>2]|0;if(f|0)c[f+44>>2]=c[b>>2];b=c[b>>2]|0;if(b|0)c[b+48>>2]=c[h>>2];if((c[u+9280>>2]|0)==(i|0))c[u+9280>>2]=c[h>>2];c[u+9284>>2]=(c[u+9284>>2]|0)+-1;c[i+44>>2]=0;c[h>>2]=c[u+9288>>2];b=c[u+9288>>2]|0;if(b|0)c[b+44>>2]=i;c[u+9288>>2]=i;c[u+9292>>2]=(c[u+9292>>2]|0)+1;f=c[u+9280>>2]|0;l=+g[f+16>>2];b=c[f+48>>2]|0;if(b){m=l*l;h=f;while(1){l=+g[b+16>>2];f=l*l>2]|0;if(!b)break;else m=f?l*l:m}f=h;l=+g[h+16>>2]}n=+g[f>>2];r=+g[f+4>>2];q=+g[f+8>>2];m=+g[f+12>>2];b=c[f+20>>2]|0;h=c[f+24>>2]|0;k=c[f+28>>2]|0;if(s>>>0>=255){f=k;break}else{i=f;o=b;p=h}}if((t|0)==44){c[u>>2]=b;b=o;h=p;f=k}else if((t|0)==45){c[u>>2]=6;b=o;h=p;f=k}J=n*l;H=r*l;N=q*l;g[u+40>>2]=n;g[u+44>>2]=r;g[u+48>>2]=q;g[u+52>>2]=m;g[u+56>>2]=l;c[u+36>>2]=3;c[u+4>>2]=b;c[u+8>>2]=h;c[u+12>>2]=f;O=h;K=+g[O+16>>2]-J;F=+g[O+20>>2]-H;I=+g[O+24>>2]-N;s=f;E=+g[s+16>>2]-J;G=+g[s+20>>2]-H;L=+g[s+24>>2]-N;L=+x(+((K*G-F*E)*(K*G-F*E)+((F*L-I*G)*(F*L-I*G)+(I*E-K*L)*(I*E-K*L))));g[u+20>>2]=L;K=+g[s+16>>2]-J;E=+g[s+20>>2]-H;I=+g[s+24>>2]-N;s=b;G=+g[s+16>>2]-J;F=+g[s+20>>2]-H;M=+g[s+24>>2]-N;M=+x(+((K*F-E*G)*(K*F-E*G)+((E*M-I*F)*(E*M-I*F)+(I*G-K*M)*(I*G-K*M))));g[u+24>>2]=M;K=+g[s+16>>2]-J;G=+g[s+20>>2]-H;I=+g[s+24>>2]-N;J=+g[O+16>>2]-J;H=+g[O+20>>2]-H;N=+g[O+24>>2]-N;N=+x(+((K*H-G*J)*(K*H-G*J)+((G*N-I*H)*(G*N-I*H)+(I*J-K*N)*(I*J-K*N))));g[u+20>>2]=L/(L+M+N);g[u+24>>2]=M/(L+M+N);g[u+28>>2]=N/(L+M+N);if((c[u>>2]|0)!=9)if(!(c[u+36>>2]|0)){n=0.0;m=0.0;l=0.0;break}else{k=u+36|0;t=54;break}c[j>>2]=3;O=0;sa=u;return O|0}else t=48}else t=48;while(0);if((t|0)==48){c[u>>2]=8;g[u+40>>2]=n;g[u+44>>2]=q;g[u+48>>2]=m;g[u+52>>2]=0.0;l=+x(+(n*n+q*q+m*m));if(l>0.0){g[u+40>>2]=1.0/l*n;g[u+44>>2]=1.0/l*q;g[u+48>>2]=1.0/l*m}else{c[u+40>>2]=1065353216;c[u+44>>2]=0;c[u+48>>2]=0}g[u+52>>2]=0.0;g[u+56>>2]=0.0;c[u+36>>2]=1;c[u+4>>2]=c[s>>2];g[u+20>>2]=1.0;k=u+36|0;t=54}if((t|0)==54){h=0;l=0.0;m=0.0;n=0.0;do{b=c[u+9680+120>>2]|0;O=c[u+9680+124>>2]|0;f=(c[u+9680>>2]|0)+(1?O>>1:O)|0;if(O&1)b=c[(c[f>>2]|0)+b>>2]|0;Za[b&127](u+9808|0,f,c[u+4+(h<<2)>>2]|0);N=+g[u+20+(h<<2)>>2];l=l+ +g[u+9808>>2]*N;m=m+N*+g[u+9808+4>>2];n=n+N*+g[u+9808+8>>2];h=h+1|0}while(h>>>0<(c[k>>2]|0)>>>0)}c[j>>2]=1;N=l*+g[e+16>>2]+m*+g[e+20>>2]+n*+g[e+24>>2]+ +g[e+52>>2];K=l*+g[e+32>>2]+m*+g[e+36>>2]+n*+g[e+40>>2]+ +g[e+56>>2];g[j+4>>2]=l*+g[e>>2]+m*+g[e+4>>2]+n*+g[e+8>>2]+ +g[e+48>>2];g[j+8>>2]=N;g[j+12>>2]=K;g[j+16>>2]=0.0;K=+g[u+40>>2];N=+g[u+56>>2];L=+g[u+44>>2];M=+g[u+48>>2];F=l-K*N;G=m-N*L;H=n-N*M;I=F*+g[e+16>>2]+G*+g[e+20>>2]+H*+g[e+24>>2]+ +g[e+52>>2];J=F*+g[e+32>>2]+G*+g[e+36>>2]+H*+g[e+40>>2]+ +g[e+56>>2];g[j+20>>2]=F*+g[e>>2]+G*+g[e+4>>2]+H*+g[e+8>>2]+ +g[e+48>>2];g[j+24>>2]=I;g[j+28>>2]=J;g[j+32>>2]=0.0;g[j+36>>2]=-K;g[j+40>>2]=-L;g[j+44>>2]=-M;g[j+48>>2]=0.0;g[j+52>>2]=-N;O=1;sa=u;return O|0}case 2:{c[j>>2]=2;O=0;sa=u;return O|0}default:{O=0;sa=u;return O|0}}return 0}function Pb(b){b=b|0;var d=0.0,e=0,f=0,h=0.0,i=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0,u=0.0,v=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0,I=0.0,J=0.0,K=0.0,L=0.0,M=0.0,N=0.0,O=0.0,P=0.0,Q=0.0;t=sa;sa=sa+176|0;if(!(a[b+738>>0]|0)){sa=t;return}g[b+36>>2]=0.0;g[b+744>>2]=0.0;if(!(a[b+736>>0]|0)){e=c[b+28>>2]|0;i=+g[b+600>>2];k=+g[b+604>>2];p=+g[b+608>>2];r=i*+g[e+20>>2]+k*+g[e+24>>2]+p*+g[e+28>>2]+ +g[e+56>>2];f=c[b+32>>2]|0;l=+g[b+664>>2];m=+g[b+668>>2];q=+g[b+672>>2];s=l*+g[f+20>>2]+m*+g[f+24>>2]+q*+g[f+28>>2]+ +g[f+56>>2];n=l*+g[f+36>>2]+m*+g[f+40>>2]+q*+g[f+44>>2]+ +g[f+60>>2];o=i*+g[e+4>>2]+k*+g[e+8>>2]+p*+g[e+12>>2]+ +g[e+52>>2];p=i*+g[e+36>>2]+k*+g[e+40>>2]+p*+g[e+44>>2]+ +g[e+60>>2];q=l*+g[f+4>>2]+m*+g[f+8>>2]+q*+g[f+12>>2]+ +g[f+52>>2];if((q-o)*(q-o)+(s-r)*(s-r)+(n-p)*(n-p)>1.1920928955078125e-07){h=1.0/+x(+((q-o)*(q-o)+(s-r)*(s-r)+(n-p)*(n-p)));g[t>>2]=(q-o)*h;g[t+4>>2]=(s-r)*h;g[t+8>>2]=(n-p)*h;c[t+12>>2]=0;i=(n-p)*h;d=(s-r)*h;h=(q-o)*h}else{c[t>>2]=1065353216;c[t+4>>2]=0;c[t+8>>2]=0;g[t+12>>2]=0.0;i=0.0;d=0.0;h=1.0}if(+w(+i)>.7071067690849304){v=i*i+d*d;u=1.0/+x(+v);i=-(i*u);k=d*u;m=-(h*k);l=h*i;d=v*u;h=k;k=0.0}else{u=h*h+d*d;l=1.0/+x(+u);k=-(d*l);v=h*l;m=i*k;l=u*l;d=-(i*v);h=0.0;i=v}g[t+16>>2]=k;g[t+20>>2]=i;g[t+24>>2]=h;g[t+32>>2]=d;g[t+36>>2]=m;g[t+40>>2]=l;e=c[b+28>>2]|0;c[t+128>>2]=c[e+4>>2];c[t+128+4>>2]=c[e+20>>2];c[t+128+8>>2]=c[e+36>>2];g[t+128+12>>2]=0.0;c[t+128+16>>2]=c[e+8>>2];c[t+128+20>>2]=c[e+24>>2];c[t+128+24>>2]=c[e+40>>2];g[t+128+28>>2]=0.0;c[t+128+32>>2]=c[e+12>>2];c[t+128+36>>2]=c[e+28>>2];c[t+128+40>>2]=c[e+44>>2];g[t+128+44>>2]=0.0;f=c[b+32>>2]|0;c[t+80>>2]=c[f+4>>2];c[t+80+4>>2]=c[f+20>>2];c[t+80+8>>2]=c[f+36>>2];g[t+80+12>>2]=0.0;c[t+80+16>>2]=c[f+8>>2];c[t+80+20>>2]=c[f+24>>2];c[t+80+24>>2]=c[f+40>>2];g[t+80+28>>2]=0.0;c[t+80+32>>2]=c[f+12>>2];c[t+80+36>>2]=c[f+28>>2];c[t+80+40>>2]=c[f+44>>2];g[t+80+44>>2]=0.0;v=r-+g[e+56>>2];u=p-+g[e+60>>2];g[t+64>>2]=o-+g[e+52>>2];g[t+64+4>>2]=v;g[t+64+8>>2]=u;g[t+64+12>>2]=0.0;u=s-+g[f+56>>2];v=n-+g[f+60>>2];g[t+48>>2]=q-+g[f+52>>2];g[t+48+4>>2]=u;g[t+48+8>>2]=v;g[t+48+12>>2]=0.0;fg(b+48|0,t+128|0,t+80|0,t+64|0,t+48|0,t,e+396|0,+g[e+344>>2],f+396|0,+g[f+344>>2]);f=c[b+28>>2]|0;c[t+128>>2]=c[f+4>>2];c[t+128+4>>2]=c[f+20>>2];c[t+128+8>>2]=c[f+36>>2];g[t+128+12>>2]=0.0;c[t+128+16>>2]=c[f+8>>2];c[t+128+20>>2]=c[f+24>>2];c[t+128+24>>2]=c[f+40>>2];g[t+128+28>>2]=0.0;c[t+128+32>>2]=c[f+12>>2];c[t+128+36>>2]=c[f+28>>2];c[t+128+40>>2]=c[f+44>>2];g[t+128+44>>2]=0.0;e=c[b+32>>2]|0;c[t+80>>2]=c[e+4>>2];c[t+80+4>>2]=c[e+20>>2];c[t+80+8>>2]=c[e+36>>2];g[t+80+12>>2]=0.0;c[t+80+16>>2]=c[e+8>>2];c[t+80+20>>2]=c[e+24>>2];c[t+80+24>>2]=c[e+40>>2];g[t+80+28>>2]=0.0;c[t+80+32>>2]=c[e+12>>2];c[t+80+36>>2]=c[e+28>>2];c[t+80+40>>2]=c[e+44>>2];g[t+80+44>>2]=0.0;v=r-+g[f+56>>2];u=p-+g[f+60>>2];g[t+64>>2]=o-+g[f+52>>2];g[t+64+4>>2]=v;g[t+64+8>>2]=u;g[t+64+12>>2]=0.0;u=s-+g[e+56>>2];v=n-+g[e+60>>2];g[t+48>>2]=q-+g[e+52>>2];g[t+48+4>>2]=u;g[t+48+8>>2]=v;g[t+48+12>>2]=0.0;fg(b+132|0,t+128|0,t+80|0,t+64|0,t+48|0,t+16|0,f+396|0,+g[f+344>>2],e+396|0,+g[e+344>>2]);e=c[b+28>>2]|0;c[t+128>>2]=c[e+4>>2];c[t+128+4>>2]=c[e+20>>2];c[t+128+8>>2]=c[e+36>>2];g[t+128+12>>2]=0.0;c[t+128+16>>2]=c[e+8>>2];c[t+128+20>>2]=c[e+24>>2];c[t+128+24>>2]=c[e+40>>2];g[t+128+28>>2]=0.0;c[t+128+32>>2]=c[e+12>>2];c[t+128+36>>2]=c[e+28>>2];c[t+128+40>>2]=c[e+44>>2];g[t+128+44>>2]=0.0;f=c[b+32>>2]|0;c[t+80>>2]=c[f+4>>2];c[t+80+4>>2]=c[f+20>>2];c[t+80+8>>2]=c[f+36>>2];g[t+80+12>>2]=0.0;c[t+80+16>>2]=c[f+8>>2];c[t+80+20>>2]=c[f+24>>2];c[t+80+24>>2]=c[f+40>>2];g[t+80+28>>2]=0.0;c[t+80+32>>2]=c[f+12>>2];c[t+80+36>>2]=c[f+28>>2];c[t+80+40>>2]=c[f+44>>2];g[t+80+44>>2]=0.0;v=r-+g[e+56>>2];u=p-+g[e+60>>2];g[t+64>>2]=o-+g[e+52>>2];g[t+64+4>>2]=v;g[t+64+8>>2]=u;g[t+64+12>>2]=0.0;u=s-+g[f+56>>2];v=n-+g[f+60>>2];g[t+48>>2]=q-+g[f+52>>2];g[t+48+4>>2]=u;g[t+48+8>>2]=v;g[t+48+12>>2]=0.0;fg(b+216|0,t+128|0,t+80|0,t+64|0,t+48|0,t+32|0,e+396|0,+g[e+344>>2],f+396|0,+g[f+344>>2])}e=c[b+560>>2]|0;f=c[b+576>>2]|0;p=+g[b+592>>2];if(+w(+p)>.7071067690849304){v=(c[j>>2]=f,+g[j>>2]);o=1.0/+x(+(p*p+v*v));n=(c[j>>2]=e,+g[j>>2]);d=n;h=v;i=n*-(p*o);k=(p*p+v*v)*o;l=0.0;m=o*v;n=-(o*v*n);o=-(p*o)}else{o=(c[j>>2]=e,+g[j>>2]);n=(c[j>>2]=f,+g[j>>2]);v=1.0/+x(+(o*o+n*n));d=o;h=n;i=(o*o+n*n)*v;k=-(p*v*o);l=-(v*n);m=0.0;n=p*-(v*n);o=v*o}e=c[b+28>>2]|0;Q=+g[e+4>>2];K=+g[e+8>>2];D=+g[e+12>>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>2];s=+g[e+44>>2];o=+g[f+4>>2];n=+g[f+20>>2];m=+g[f+36>>2];i=+g[f+8>>2];y=+g[f+24>>2];A=+g[f+40>>2];C=+g[f+12>>2];F=+g[f+28>>2];I=+g[f+44>>2];c[b+384>>2]=0;c[b+384+4>>2]=0;c[b+384+8>>2]=0;c[b+384+12>>2]=0;g[b+400>>2]=E*N+G*M+J*L;g[b+404>>2]=E*p+G*l+J*z;g[b+408>>2]=E*H+G*v+J*s;g[b+412>>2]=0.0;g[b+416>>2]=o*-E+n*-G+m*-J;g[b+420>>2]=i*-E+y*-G+A*-J;g[b+424>>2]=C*-E+F*-G+I*-J;g[b+428>>2]=0.0;d=(E*N+G*M+J*L)*+g[e+396>>2];D=(E*p+G*l+J*z)*+g[e+400>>2];q=(E*H+G*v+J*s)*+g[e+404>>2];g[b+432>>2]=d;g[b+436>>2]=D;g[b+440>>2]=q;g[b+444>>2]=0.0;k=(o*-E+n*-G+m*-J)*+g[f+396>>2];B=(i*-E+y*-G+A*-J)*+g[f+400>>2];K=(C*-E+F*-G+I*-J)*+g[f+404>>2];g[b+448>>2]=k;g[b+452>>2]=B;g[b+456>>2]=K;g[b+460>>2]=0.0;g[b+464>>2]=(E*N+G*M+J*L)*d+(E*p+G*l+J*z)*D+(E*H+G*v+J*s)*q+((o*-E+n*-G+m*-J)*k+(i*-E+y*-G+A*-J)*B+(C*-E+F*-G+I*-J)*K);K=+g[e+4>>2];J=+g[e+20>>2];I=+g[e+36>>2];G=+g[e+8>>2];F=+g[e+24>>2];E=+g[e+40>>2];C=+g[e+12>>2];B=+g[e+28>>2];A=+g[e+44>>2];y=+g[f+4>>2];i=+g[f+20>>2];k=+g[f+36>>2];m=+g[f+8>>2];n=+g[f+24>>2];o=+g[f+40>>2];q=+g[f+12>>2];s=+g[f+28>>2];v=+g[f+44>>2];c[b+468>>2]=0;c[b+468+4>>2]=0;c[b+468+8>>2]=0;c[b+468+12>>2]=0;g[b+484>>2]=r*K+u*J+h*I;g[b+488>>2]=r*G+u*F+h*E;g[b+492>>2]=r*C+u*B+h*A;g[b+496>>2]=0.0;g[b+500>>2]=y*-r+i*-u+k*-h;g[b+504>>2]=m*-r+n*-u+o*-h;g[b+508>>2]=q*-r+s*-u+v*-h;g[b+512>>2]=0.0;H=(r*K+u*J+h*I)*+g[e+396>>2];D=(r*G+u*F+h*E)*+g[e+400>>2];z=(r*C+u*B+h*A)*+g[e+404>>2];g[b+516>>2]=H;g[b+520>>2]=D;g[b+524>>2]=z;g[b+528>>2]=0.0;l=(y*-r+i*-u+k*-h)*+g[f+396>>2];p=(m*-r+n*-u+o*-h)*+g[f+400>>2];d=(q*-r+s*-u+v*-h)*+g[f+404>>2];g[b+532>>2]=l;g[b+536>>2]=p;g[b+540>>2]=d;g[b+544>>2]=0.0;g[b+548>>2]=(r*K+u*J+h*I)*H+(r*G+u*F+h*E)*D+(r*C+u*B+h*A)*z+((y*-r+i*-u+k*-h)*l+(m*-r+n*-u+o*-h)*p+(q*-r+s*-u+v*-h)*d);g[b+724>>2]=0.0;d=+ui(b,e+4|0,f+4|0);g[b+728>>2]=d;g[b+708>>2]=0.0;g[b+712>>2]=0.0;a[b+716>>0]=0;h=+g[b+692>>2];do if(h>=0.0){d=(d-+g[b+688>>2])%6.2831854820251465;if(!(d<-3.1415927410125732)){if(d>3.1415927410125732)d=d+-6.2831854820251465}else d=d+6.2831854820251465;if(d<-h){a[b+716>>0]=1;g[b+708>>2]=-(h+d);g[b+712>>2]=1.0;break}if(d>h){a[b+716>>0]=1;g[b+708>>2]=h-d;g[b+712>>2]=-1.0}}while(0);e=c[b+28>>2]|0;M=+g[b+560>>2];N=+g[b+576>>2];Q=+g[b+592>>2];O=M*+g[e+4>>2]+N*+g[e+8>>2]+Q*+g[e+12>>2];P=M*+g[e+20>>2]+N*+g[e+24>>2]+Q*+g[e+28>>2];Q=M*+g[e+36>>2]+N*+g[e+40>>2]+Q*+g[e+44>>2];f=c[b+32>>2]|0;g[b+720>>2]=1.0/(O*(O*+g[e+264>>2]+P*+g[e+280>>2]+Q*+g[e+296>>2])+P*(O*+g[e+268>>2]+P*+g[e+284>>2]+Q*+g[e+300>>2])+Q*(O*+g[e+272>>2]+P*+g[e+288>>2]+Q*+g[e+304>>2])+(O*(O*+g[f+264>>2]+P*+g[f+280>>2]+Q*+g[f+296>>2])+P*(O*+g[f+268>>2]+P*+g[f+284>>2]+Q*+g[f+300>>2])+Q*(O*+g[f+272>>2]+P*+g[f+288>>2]+Q*+g[f+304>>2])));sa=t;return}function Qb(b,d){b=b|0;d=d|0;var e=0,f=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=sa;sa=sa+16|0;Ki(16393);j=c[b+212>>2]|0;i=c[b+180>>2]|0;if((i|0)<(j|0)){if((c[b+184>>2]|0)<(j|0)){if(!j){e=0;h=i}else{c[7182]=(c[7182]|0)+1;e=xb((j<<2|3)+16|0)|0;if(!e)e=0;else{c[(e+4+15&-16)+-4>>2]=e;e=e+4+15&-16}h=c[b+180>>2]|0}if((h|0)>0){f=0;do{c[e+(f<<2)>>2]=c[(c[b+188>>2]|0)+(f<<2)>>2];f=f+1|0}while((f|0)!=(h|0))}f=c[b+188>>2]|0;if(f|0){if(a[b+192>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[f+-4>>2]|0)}c[b+188>>2]=0}a[b+192>>0]=1;c[b+188>>2]=e;c[b+184>>2]=j;f=b+188|0}else f=b+188|0;e=i;do{c[(c[f>>2]|0)+(e<<2)>>2]=0;e=e+1|0}while((e|0)!=(j|0))}else f=b+188|0;c[b+180>>2]=j;e=0;while(1){if((e|0)>=(Fa[c[(c[b>>2]|0)+104>>2]&127](b)|0))break;c[(c[f>>2]|0)+(e<<2)>>2]=c[(c[b+220>>2]|0)+(e<<2)>>2];e=e+1|0}e=c[b+180>>2]|0;if((e|0)>1)hg(b+176|0,0,e+-1|0);if(!(Fa[c[(c[b>>2]|0)+104>>2]&127](b)|0))e=0;else e=c[f>>2]|0;h=c[b+196>>2]|0;r=c[b+180>>2]|0;s=Fa[c[(c[b>>2]|0)+20>>2]&127](b)|0;c[h+4>>2]=d;c[h+12>>2]=e;c[h+16>>2]=r;c[h+20>>2]=s;e=c[h+32>>2]|0;if((e|0)<0){if((c[h+36>>2]|0)<0){f=c[h+40>>2]|0;if(f|0){if(a[h+44>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[f+-4>>2]|0)}c[h+40>>2]=0}a[h+44>>0]=1;c[h+40>>2]=0;c[h+36>>2]=0}do{c[(c[h+40>>2]|0)+(e<<2)>>2]=0;e=e+1|0}while((e|0)!=0)}c[h+32>>2]=0;e=c[h+52>>2]|0;if((e|0)<0){if((c[h+56>>2]|0)<0){f=c[h+60>>2]|0;if(f|0){if(a[h+64>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[f+-4>>2]|0)}c[h+60>>2]=0}a[h+64>>0]=1;c[h+60>>2]=0;c[h+56>>2]=0}do{c[(c[h+60>>2]|0)+(e<<2)>>2]=0;e=e+1|0}while((e|0)!=0)}c[h+52>>2]=0;e=c[h+72>>2]|0;if((e|0)<0){if((c[h+76>>2]|0)<0){f=c[h+80>>2]|0;if(f|0){if(a[h+84>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[f+-4>>2]|0)}c[h+80>>2]=0}a[h+84>>0]=1;c[h+80>>2]=0;c[h+76>>2]=0}do{c[(c[h+80>>2]|0)+(e<<2)>>2]=0;e=e+1|0}while((e|0)!=0)}c[h+72>>2]=0;s=c[b+200>>2]|0;e=c[(c[s>>2]|0)+8>>2]|0;p=c[b+8>>2]|0;r=c[b+24>>2]|0;r=Fa[c[(c[r>>2]|0)+36>>2]&127](r)|0;Za[e&127](s,p,r);r=c[b+204>>2]|0;p=c[b+24>>2]|0;s=c[b+196>>2]|0;Ki(18225);e=c[r+28>>2]|0;if((e|0)<0){if((c[r+32>>2]|0)<0){f=c[r+36>>2]|0;if(f|0){if(a[r+40>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[f+-4>>2]|0)}c[r+36>>2]=0}a[r+40>>0]=1;c[r+36>>2]=0;c[r+32>>2]=0}do{c[(c[r+36>>2]|0)+(e<<2)>>2]=0;e=e+1|0}while((e|0)!=0)}c[r+28>>2]=0;j=c[r+8>>2]|0;if((j|0)>0){k=c[r+16>>2]|0;i=0;do{l=k+(i<<3)|0;e=c[l>>2]|0;if((e|0)!=(i|0)){c[l>>2]=c[k+(e<<3)>>2];e=c[k+(e<<3)>>2]|0;f=c[k+(e<<3)>>2]|0;if((e|0)!=(f|0)){h=k+(e<<3)|0;do{e=k+(f<<3)|0;c[h>>2]=c[e>>2];e=c[e>>2]|0;h=k+(e<<3)|0;f=c[h>>2]|0}while((e|0)!=(f|0))}}else e=i;c[l>>2]=e;i=i+1|0}while((i|0)!=(j|0));if((j|0)>1){Qi(r+4|0,0,j+-1|0);m=c[r+8>>2]|0}else m=j;if((m|0)>0){n=c[r+16>>2]|0;k=0;while(1){o=c[n+(k<<3)>>2]|0;e=k+1|0;a:do if((e|0)<(m|0)){f=k;h=e;while(1){if((c[n+(h<<3)>>2]|0)!=(o|0)){e=h;break a}e=h+1|0;if((e|0)<(m|0)){f=h;h=e}else{f=h;break}}}else f=k;while(0);b:do if((k|0)<=(f|0)){l=c[b+16>>2]|0;h=1;j=k;while(1){i=c[l+(c[n+(j<<3)+4>>2]<<2)>>2]|0;if((c[i+208>>2]|0)==(o|0)){i=c[i+216>>2]|0;h=(i|0)!=4&(h&(i|0)!=1)}if((j|0)<(f|0))j=j+1|0;else break}if(h){h=k;while(1){i=c[l+(c[n+(h<<3)+4>>2]<<2)>>2]|0;do if((c[i+208>>2]|0)==(o|0)){if((c[i+216>>2]&-2|0)==4)break;c[i+216>>2]=2}while(0);if((h|0)>=(f|0))break b;h=h+1|0}}else{h=k;while(1){i=c[l+(c[n+(h<<3)+4>>2]<<2)>>2]|0;do if((c[i+208>>2]|0)==(o|0)){if((c[i+216>>2]|0)!=2)break;c[i+216>>2]=3;g[i+220>>2]=0.0}while(0);if((h|0)>=(f|0))break b;h=h+1|0}}}while(0);if((e|0)<(m|0))k=e;else break}}}k=Fa[c[(c[p>>2]|0)+36>>2]&127](p)|0;if((k|0)>0){j=0;do{l=Ha[c[(c[p>>2]|0)+40>>2]&31](p,j)|0;h=c[l+740>>2]|0;i=c[l+744>>2]|0;if((h|0)!=0?(c[h+216>>2]|0)!=2:0){e=c[h+204>>2]|0;if(!(e&2))f=111;else f=106}else f=101;if(((f|0)==101?(f=0,i|0):0)?(c[i+216>>2]|0)!=2:0){e=c[h+204>>2]|0;if((e&2|0)!=0?(c[h+216>>2]|0)!=2:0)f=106;else f=111}if((f|0)==106)if((e&4|0)==0?(c[i+204>>2]&3|0)==0:0){if((c[i+216>>2]&-2|0)!=4)c[i+216>>2]=1;g[i+220>>2]=0.0;f=111}else f=111;if((f|0)==111){o=c[i+204>>2]|0;if(o&2|0?((o&4|e&3|0)==0?(c[i+216>>2]|0)!=2:0):0){if((c[h+216>>2]&-2|0)!=4)c[h+216>>2]=1;g[h+220>>2]=0.0}if(a[r+64>>0]|0?Ja[c[(c[p>>2]|0)+28>>2]&63](p,h,i)|0:0){f=c[r+28>>2]|0;if((f|0)==(c[r+32>>2]|0)?(q=(f|0)==0?1:f<<1,(f|0)<(q|0)):0){if(!q)e=0;else{c[7182]=(c[7182]|0)+1;e=xb((q<<2|3)+16|0)|0;if(!e)e=0;else{c[(e+4+15&-16)+-4>>2]=e;e=e+4+15&-16}f=c[r+28>>2]|0}if((f|0)>0){h=0;do{c[e+(h<<2)>>2]=c[(c[r+36>>2]|0)+(h<<2)>>2];h=h+1|0}while((h|0)!=(f|0))}h=c[r+36>>2]|0;if(h){if(a[r+40>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[h+-4>>2]|0);f=c[r+28>>2]|0}c[r+36>>2]=0}a[r+40>>0]=1;c[r+36>>2]=e;c[r+32>>2]=q;e=f}else e=f;c[(c[r+36>>2]|0)+(e<<2)>>2]=l;c[r+28>>2]=e+1}}j=j+1|0}while((j|0)<(k|0))}e=c[3084]|0;q=(c[e+16>>2]|0)+-1|0;c[e+16>>2]=q;do if(!q){if(c[e+4>>2]|0){la(t|0,0)|0;q=c[7181]|0;g[e+8>>2]=+g[e+8>>2]+ +(((c[t+4>>2]|0)-(c[q+4>>2]|0)+(((c[t>>2]|0)-(c[q>>2]|0)|0)*1e6|0)-(c[e+12>>2]|0)|0)>>>0)/1.0e3;if(c[e+16>>2]|0)break;e=c[3084]|0}c[3084]=c[e+20>>2]}while(0);q=c[r+8>>2]|0;Ki(18253);if(a[r+64>>0]|0){p=c[r+28>>2]|0;if((p|0)>1)cg(r+24|0,0,p+-1|0);if((q|0)>0){e=0;j=1;o=0;while(1){f=c[r+16>>2]|0;n=c[f+(e<<3)>>2]|0;c:do if((e|0)<(q|0)){m=1;k=c[r+48>>2]|0;h=c[r+52>>2]|0;while(1){l=c[(c[b+16>>2]|0)+(c[f+(e<<3)+4>>2]<<2)>>2]|0;do if((k|0)==(h|0)){k=(h|0)==0?1:h<<1;if((h|0)>=(k|0)){f=h;break}if(!k)f=0;else{c[7182]=(c[7182]|0)+1;f=xb((k<<2|3)+16|0)|0;if(!f)f=0;else{c[(f+4+15&-16)+-4>>2]=f;f=f+4+15&-16}h=c[r+48>>2]|0}if((h|0)>0){i=0;do{c[f+(i<<2)>>2]=c[(c[r+56>>2]|0)+(i<<2)>>2];i=i+1|0}while((i|0)!=(h|0))}i=c[r+56>>2]|0;if(i){if(a[r+60>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[i+-4>>2]|0);h=c[r+48>>2]|0}c[r+56>>2]=0}a[r+60>>0]=1;c[r+56>>2]=f;c[r+52>>2]=k;f=h;h=k}else f=k;while(0);c[(c[r+56>>2]|0)+(f<<2)>>2]=l;k=f+1|0;c[r+48>>2]=k;i=c[l+216>>2]|0;i=m&((i|0)==5|(i|0)==2);e=e+1|0;if((e|0)>=(q|0)){m=e;break c}f=c[r+16>>2]|0;if((c[f+(e<<3)>>2]|0)!=(n|0)){m=e;break}else m=i}}else{m=e;i=1}while(0);if((o|0)<(p|0)){k=c[r+36>>2]|0;l=k+(o<<2)|0;f=c[l>>2]|0;e=c[(c[f+740>>2]|0)+208>>2]|0;if((e|0)<=-1)e=c[(c[f+744>>2]|0)+208>>2]|0;if((e|0)==(n|0)){e=o+1|0;d:do if((e|0)<(p|0))do{h=c[k+(e<<2)>>2]|0;f=c[(c[h+740>>2]|0)+208>>2]|0;if((f|0)<=-1)f=c[(c[h+744>>2]|0)+208>>2]|0;if((n|0)!=(f|0))break d;e=e+1|0}while((e|0)<(p|0));while(0);f=l;h=e-o|0;j=e}else{f=0;h=0}}else{f=0;h=0}if(!i)gb[c[(c[s>>2]|0)+8>>2]&7](s,c[r+56>>2]|0,c[r+48>>2]|0,f,h,n);o=(h|0)==0?o:j;e=c[r+48>>2]|0;if((e|0)<0){if((c[r+52>>2]|0)<0){f=c[r+56>>2]|0;if(f|0){if(a[r+60>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[f+-4>>2]|0)}c[r+56>>2]=0}a[r+60>>0]=1;c[r+56>>2]=0;c[r+52>>2]=0}do{c[(c[r+56>>2]|0)+(e<<2)>>2]=0;e=e+1|0}while((e|0)!=0)}c[r+48>>2]=0;if((m|0)>=(q|0))break;else e=m}}}else{q=Fa[c[(c[p>>2]|0)+44>>2]&127](p)|0;r=Fa[c[(c[p>>2]|0)+36>>2]&127](p)|0;gb[c[(c[s>>2]|0)+8>>2]&7](s,c[b+16>>2]|0,c[b+8>>2]|0,q,r,-1)}e=c[3084]|0;s=(c[e+16>>2]|0)+-1|0;c[e+16>>2]=s;do if(!s){if(c[e+4>>2]|0){la(t|0,0)|0;s=c[7181]|0;g[e+8>>2]=+g[e+8>>2]+ +(((c[t+4>>2]|0)-(c[s+4>>2]|0)+(((c[t>>2]|0)-(c[s>>2]|0)|0)*1e6|0)-(c[e+12>>2]|0)|0)>>>0)/1.0e3;if(c[e+16>>2]|0)break;e=c[3084]|0}c[3084]=c[e+20>>2]}while(0);wg(c[b+196>>2]|0);e=c[b+200>>2]|0;Za[c[(c[e>>2]|0)+16>>2]&127](e,d,c[b+72>>2]|0);e=c[3084]|0;d=(c[e+16>>2]|0)+-1|0;c[e+16>>2]=d;if(d|0){sa=t;return}do if(c[e+4>>2]|0){la(t|0,0)|0;d=c[7181]|0;g[e+8>>2]=+g[e+8>>2]+ +(((c[t+4>>2]|0)-(c[d+4>>2]|0)+(((c[t>>2]|0)-(c[d>>2]|0)|0)*1e6|0)-(c[e+12>>2]|0)|0)>>>0)/1.0e3;if(!(c[e+16>>2]|0)){e=c[3084]|0;break}else{sa=t;return}}while(0);c[3084]=c[e+20>>2];sa=t;return} +function Rb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0.0,h=0.0,i=0,k=0.0,l=0.0,m=0.0,n=0.0,o=0,p=0,q=0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0,D=0,E=0,F=0.0,G=0.0,H=0.0,I=0,J=0,K=0;J=sa;sa=sa+112|0;c[a+348>>2]=a+220;c[a+352>>2]=a+252;c[a+356>>2]=a+284;c[a+360>>2]=a+316;c[a+364>>2]=4;c[a+368>>2]=0;c[a+376>>2]=0;E=c[b+4>>2]|0;c[a>>2]=c[b>>2];c[a+4>>2]=E;c[a+8>>2]=c[b+8>>2];c[a+8+4>>2]=c[b+8+4>>2];c[a+8+8>>2]=c[b+8+8>>2];c[a+8+12>>2]=c[b+8+12>>2];c[a+24>>2]=c[b+24>>2];c[a+24+4>>2]=c[b+24+4>>2];c[a+24+8>>2]=c[b+24+8>>2];c[a+24+12>>2]=c[b+24+12>>2];c[a+40>>2]=c[b+40>>2];c[a+40+4>>2]=c[b+40+4>>2];c[a+40+8>>2]=c[b+40+8>>2];c[a+40+12>>2]=c[b+40+12>>2];c[a+56>>2]=c[b+56>>2];c[a+56+4>>2]=c[b+56+4>>2];c[a+56+8>>2]=c[b+56+8>>2];c[a+56+12>>2]=c[b+56+12>>2];c[a+72>>2]=c[b+72>>2];c[a+72+4>>2]=c[b+72+4>>2];c[a+72+8>>2]=c[b+72+8>>2];c[a+72+12>>2]=c[b+72+12>>2];c[a+88>>2]=c[b+88>>2];c[a+88+4>>2]=c[b+88+4>>2];c[a+88+8>>2]=c[b+88+8>>2];c[a+88+12>>2]=c[b+88+12>>2];c[a+104>>2]=c[b+104>>2];c[a+104+4>>2]=c[b+104+4>>2];c[a+104+8>>2]=c[b+104+8>>2];c[a+104+12>>2]=c[b+104+12>>2];E=c[b+124>>2]|0;c[a+120>>2]=c[b+120>>2];c[a+124>>2]=E;g[a+144>>2]=0.0;c[a+180>>2]=0;c[a+128>>2]=c[d>>2];c[a+128+4>>2]=c[d+4>>2];c[a+128+8>>2]=c[d+8>>2];c[a+128+12>>2]=c[d+12>>2];e=+g[a+128>>2];f=+g[a+132>>2];h=+g[a+136>>2];if(e*e+f*f+h*h>0.0){g[a+164>>2]=0.0;c[a+364>>2]=3;c[a+148>>2]=a+316;c[a+180>>2]=1;Wg(a,-e,-f,-h,a+316|0);b=a+148|0;d=a+164|0}else{g[a+164>>2]=0.0;c[a+364>>2]=3;c[a+148>>2]=a+316;c[a+180>>2]=1;Wg(a,1.0,0.0,0.0,a+316|0);b=a+148|0;d=a+164|0}g[d>>2]=1.0;E=(c[b>>2]|0)+16|0;c[a+128>>2]=c[E>>2];c[a+128+4>>2]=c[E+4>>2];c[a+128+8>>2]=c[E+8>>2];c[a+128+12>>2]=c[E+12>>2];c[J+16+48>>2]=c[E>>2];c[J+16+48+4>>2]=c[E+4>>2];c[J+16+48+8>>2]=c[E+8>>2];c[J+16+48+12>>2]=c[E+12>>2];c[J+16+32>>2]=c[E>>2];c[J+16+32+4>>2]=c[E+4>>2];c[J+16+32+8>>2]=c[E+8>>2];c[J+16+32+12>>2]=c[E+12>>2];c[J+16+16>>2]=c[E>>2];c[J+16+16+4>>2]=c[E+4>>2];c[J+16+16+8>>2]=c[E+8>>2];c[J+16+16+12>>2]=c[E+12>>2];c[J+16>>2]=c[E>>2];c[J+16+4>>2]=c[E+4>>2];c[J+16+8>>2]=c[E+8>>2];c[J+16+12>>2]=c[E+12>>2];E=0;F=0.0;e=e*e+f*f+h*h;D=0;C=c[a+368>>2]|0;f=+g[a+128>>2];k=+g[a+132>>2];h=+g[a+136>>2];a:while(1){b=1-C|0;o=a+148+(C*36|0)|0;l=+x(+(f*f+k*k+h*h));if(l<9.999999747378752e-05){I=6;break}q=a+148+(C*36|0)+32|0;i=c[q>>2]|0;g[a+148+(C*36|0)+16+(i<<2)>>2]=0.0;d=(c[a+364>>2]|0)+-1|0;c[a+364>>2]=d;d=c[a+348+(d<<2)>>2]|0;c[a+148+(C*36|0)+(i<<2)>>2]=d;c[q>>2]=i+1;Wg(a,-f,-k,-h,d);d=c[q>>2]|0;i=c[a+148+(C*36|0)+(d+-1<<2)>>2]|0;f=+g[i+16>>2];h=+g[i+20>>2];k=+g[i+24>>2];z=f-+g[J+16>>2];A=h-+g[J+16+4>>2];B=k-+g[J+16+8>>2];if(z*z+A*A+B*B<9.999999747378752e-05){I=9;break}z=f-+g[J+16+16>>2];A=h-+g[J+16+20>>2];B=k-+g[J+16+24>>2];if(z*z+A*A+B*B<9.999999747378752e-05){I=9;break}z=f-+g[J+16+32>>2];A=h-+g[J+16+36>>2];B=k-+g[J+16+40>>2];if(z*z+A*A+B*B<9.999999747378752e-05){I=9;break}z=f-+g[J+16+48>>2];A=h-+g[J+16+52>>2];B=k-+g[J+16+56>>2];if(z*z+A*A+B*B<9.999999747378752e-05){I=9;break}D=D+1&3;p=J+16+(D<<4)|0;c[p>>2]=c[i+16>>2];c[p+4>>2]=c[i+16+4>>2];c[p+8>>2]=c[i+16+8>>2];c[p+12>>2]=c[i+16+12>>2];B=(+g[a+128>>2]*f+ +g[a+132>>2]*h+ +g[a+136>>2]*k)/l;F=B>F?B:F;if(l-F-l*9.999999747378752e-05<=0.0){I=10;break}c[J+80>>2]=0;b:do switch(d|0){case 2:{p=c[o>>2]|0;o=c[a+148+(C*36|0)+4>>2]|0;e=+g[o+16>>2];f=+g[p+16>>2];h=+g[o+20>>2];k=+g[p+20>>2];l=+g[o+24>>2];m=+g[p+24>>2];if(!((e-f)*(e-f)+(h-k)*(h-k)+(l-m)*(l-m)>0.0)){I=46;break a}n=-(f*(e-f)+k*(h-k)+m*(l-m))/((e-f)*(e-f)+(h-k)*(h-k)+(l-m)*(l-m));if(n>=1.0){g[J>>2]=0.0;g[J+4>>2]=1.0;c[J+80>>2]=2;e=e*e+h*h+l*l;break b}if(!(n<=0.0)){g[J+4>>2]=n;g[J>>2]=1.0-n;c[J+80>>2]=3;e=(m+(l-m)*n)*(m+(l-m)*n)+((f+(e-f)*n)*(f+(e-f)*n)+(k+(h-k)*n)*(k+(h-k)*n));break b}else{g[J>>2]=1.0;g[J+4>>2]=0.0;c[J+80>>2]=1;e=f*f+k*k+m*m;break b}}case 3:{e=+od((c[o>>2]|0)+16|0,(c[a+148+(C*36|0)+4>>2]|0)+16|0,(c[a+148+(C*36|0)+8>>2]|0)+16|0,J,J+80|0);break}case 4:{d=c[o>>2]|0;i=c[a+148+(C*36|0)+4>>2]|0;o=c[a+148+(C*36|0)+8>>2]|0;p=c[a+148+(C*36|0)+12>>2]|0;r=+g[d+16>>2];s=+g[p+16>>2];t=+g[d+20>>2];u=+g[p+20>>2];v=+g[d+24>>2];w=+g[p+24>>2];f=+g[i+16>>2];h=+g[i+20>>2];k=+g[i+24>>2];y=+g[o+16>>2];z=+g[o+20>>2];A=+g[o+24>>2];B=(r-s)*(h-u)*(A-w)+((t-u)*(k-w)*(y-s)+(v-w)*(f-s)*(z-u)-(r-s)*(k-w)*(z-u)-(t-u)*(f-s)*(A-w))-(v-w)*(h-u)*(y-s);if(!(B==B&0.0==0.0&B!=0.0&B*(v*((t-h)*(f-y)-(r-f)*(h-z))+(r*((v-k)*(h-z)-(t-h)*(k-A))+t*((r-f)*(k-A)-(v-k)*(f-y))))<=0.0)){I=46;break a}c[J+88>>2]=0;c[J+88+4>>2]=0;c[J+88+8>>2]=0;c[J+84>>2]=0;if(B*(((t-u)*(k-w)-(v-w)*(h-u))*s+u*((v-w)*(f-s)-(r-s)*(k-w))+((r-s)*(h-u)-(t-u)*(f-s))*w)>0.0){e=+od(d+16|0,i+16|0,p+16|0,J+88|0,J+84|0);K=c[J+84>>2]|0;c[J+80>>2]=K&2|K<<1&8|K&1;c[J>>2]=c[J+88>>2];c[J+4>>2]=c[J+88+4>>2];g[J+8>>2]=0.0;c[J+12>>2]=c[J+88+8>>2];l=+g[p+16>>2];m=+g[p+20>>2];n=+g[p+24>>2]}else{e=-1.0;l=s;m=u;n=w}if(B*(((h-u)*(A-w)-(k-w)*(z-u))*l+m*((k-w)*(y-s)-(A-w)*(f-s))+((z-u)*(f-s)-(h-u)*(y-s))*n)>0.0?(G=+od(i+16|0,o+16|0,p+16|0,J+88|0,J+84|0),e<0.0|G>2]=c[J+84>>2]<<1&14;c[J+4>>2]=c[J+88>>2];c[J+8>>2]=c[J+88+4>>2];g[J>>2]=0.0;c[J+12>>2]=c[J+88+8>>2];e=G}if(B*(((z-u)*(v-w)-(A-w)*(t-u))*+g[p+16>>2]+ +g[p+20>>2]*((A-w)*(r-s)-(v-w)*(y-s))+((t-u)*(y-s)-(z-u)*(r-s))*+g[p+24>>2])>0.0?(H=+od(o+16|0,d+16|0,p+16|0,J+88|0,J+84|0),e<0.0|H>2]|0;c[J+80>>2]=(1?K>>>1:K)&1|K<<1&8|K<<2&4;c[J+8>>2]=c[J+88>>2];c[J>>2]=c[J+88+4>>2];g[J+4>>2]=0.0;c[J+12>>2]=c[J+88+8>>2];e=H}if(e<0.0){c[J+80>>2]=15;r=+g[o+20>>2];A=+g[i+24>>2];z=+g[p+16>>2];m=+g[o+24>>2];y=+g[i+16>>2];s=+g[p+20>>2];n=+g[o+16>>2];w=+g[p+24>>2];u=+g[i+20>>2];g[J>>2]=(r*A*z+m*y*s-s*A*n-r*y*w+w*n*u-z*m*u)/B;e=+g[d+20>>2];t=+g[d+24>>2];v=+g[d+16>>2];g[J+4>>2]=(e*m*z+t*n*s-s*m*v-e*n*w+w*v*r-z*t*r)/B;g[J+8>>2]=(u*t*z+A*v*s-s*t*y-u*v*w+w*y*e-z*A*e)/B;g[J+12>>2]=1.0-((r*A*z+m*y*s-s*A*n-r*y*w+w*n*u-z*m*u)/B+(e*m*z+t*n*s-s*m*v-e*n*w+w*v*r-z*t*r)/B+(u*t*z+A*v*s-s*t*y-u*v*w+w*y*e-z*A*e)/B);e=0.0}break}default:{}}while(0);if(!(e>=0.0)){I=46;break}c[a+148+(b*36|0)+32>>2]=0;c[a+128>>2]=0;c[a+128+4>>2]=0;c[a+128+8>>2]=0;c[a+128+12>>2]=0;c[a+368>>2]=b;p=c[q>>2]|0;q=c[J+80>>2]|0;if(p){d=a+148+(C*36|0)|0;i=c[d>>2]|0;if(!(q&1)){K=c[a+364>>2]|0;c[a+364>>2]=K+1;c[a+348+(K<<2)>>2]=i;h=0.0;k=0.0;f=0.0}else{K=c[a+148+(b*36|0)+32>>2]|0;c[a+148+(b*36|0)+(K<<2)>>2]=i;o=c[J>>2]|0;c[a+148+(b*36|0)+32>>2]=K+1;c[a+148+(b*36|0)+16+(K<<2)>>2]=o;K=c[d>>2]|0;f=(c[j>>2]=o,+g[j>>2]);k=+g[K+20>>2]*f;h=+g[K+24>>2]*f;f=+g[K+16>>2]*f+ +g[a+128>>2];g[a+128>>2]=f;k=k+ +g[a+132>>2];g[a+132>>2]=k;h=h+ +g[a+136>>2];g[a+136>>2]=h}if((p|0)!=1){o=1;do{d=a+148+(C*36|0)+(o<<2)|0;i=c[d>>2]|0;if(!(q&1<>2]|0;c[a+364>>2]=K+1;c[a+348+(K<<2)>>2]=i}else{K=c[a+148+(b*36|0)+32>>2]|0;c[a+148+(b*36|0)+(K<<2)>>2]=i;i=c[J+(o<<2)>>2]|0;c[a+148+(b*36|0)+32>>2]=K+1;c[a+148+(b*36|0)+16+(K<<2)>>2]=i;K=c[d>>2]|0;f=(c[j>>2]=i,+g[j>>2]);k=+g[K+20>>2]*f;h=+g[K+24>>2]*f;f=+g[K+16>>2]*f+ +g[a+128>>2];g[a+128>>2]=f;k=k+ +g[a+132>>2];g[a+132>>2]=k;h=h+ +g[a+136>>2];g[a+136>>2]=h}o=o+1|0}while((o|0)!=(p|0))}}else{h=0.0;k=0.0;f=0.0}if((q|0)==15)c[a+376>>2]=1;E=E+1|0;if(E>>>0>=128){I=45;break}d=c[a+376>>2]|0;if(d|0)break;else C=b}if((I|0)==6){c[a+376>>2]=1;b=C;I=48}else if((I|0)==9){b=c[a+368>>2]|0;E=(c[a+148+(b*36|0)+32>>2]|0)+-1|0;c[a+148+(b*36|0)+32>>2]=E;E=c[a+148+(b*36|0)+(E<<2)>>2]|0;K=c[a+364>>2]|0;c[a+364>>2]=K+1;c[a+348+(K<<2)>>2]=E;I=48}else if((I|0)==10){b=c[a+368>>2]|0;E=(c[a+148+(b*36|0)+32>>2]|0)+-1|0;c[a+148+(b*36|0)+32>>2]=E;E=c[a+148+(b*36|0)+(E<<2)>>2]|0;K=c[a+364>>2]|0;c[a+364>>2]=K+1;c[a+348+(K<<2)>>2]=E;I=48}else if((I|0)==45){c[a+376>>2]=2;c[a+372>>2]=a+148+(b*36|0);K=2;sa=J;return K|0}else if((I|0)==46){b=c[a+368>>2]|0;E=(c[a+148+(b*36|0)+32>>2]|0)+-1|0;c[a+148+(b*36|0)+32>>2]=E;E=c[a+148+(b*36|0)+(E<<2)>>2]|0;K=c[a+364>>2]|0;c[a+364>>2]=K+1;c[a+348+(K<<2)>>2]=E;I=48}if((I|0)==48)d=c[a+376>>2]|0;c[a+372>>2]=a+148+(b*36|0);switch(d|0){case 0:{F=+g[a+128>>2];G=+g[a+132>>2];H=+g[a+136>>2];g[a+144>>2]=+x(+(F*F+G*G+H*H));K=0;sa=J;return K|0}case 1:{g[a+144>>2]=0.0;K=1;sa=J;return K|0}default:{K=d;sa=J;return K|0}}return 0}function Sb(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0,G=0,H=0;q=sa;sa=sa+144|0;l=c[b+48>>2]|0;j=c[b+52>>2]|0;if((j|0?(k=c[j+20>>2]|0,k|0):0)?(Fa[c[(c[k>>2]|0)+48>>2]&127](k)|0)&1|0:0){c[q>>2]=1065353216;c[q+4>>2]=1065353216;c[q+8>>2]=0;g[q+12>>2]=0.0;k=c[b+8>>2]|0;p=c[(c[b+52>>2]|0)+20>>2]|0;o=c[(c[p>>2]|0)+8>>2]|0;r=+g[d>>2];A=+g[d+4>>2];s=+g[d+8>>2];y=+g[k+20>>2];t=+g[k+24>>2];B=+g[k+28>>2];u=+g[k+36>>2];D=+g[k+40>>2];v=+g[k+44>>2];w=+g[k+52>>2];C=+g[k+56>>2];z=+g[k+60>>2];g[q+120>>2]=r*+g[k+4>>2]+A*+g[k+8>>2]+s*+g[k+12>>2]+w;g[q+120+4>>2]=r*y+A*t+s*B+C;g[q+120+8>>2]=r*u+A*D+s*v+z;g[q+120+12>>2]=0.0;s=+g[d+16>>2];A=+g[d+20>>2];r=+g[d+24>>2];g[q+96>>2]=w+(s*+g[k+4>>2]+A*+g[k+8>>2]+r*+g[k+12>>2]);g[q+96+4>>2]=C+(y*s+t*A+B*r);g[q+96+8>>2]=z+(u*s+D*A+v*r);g[q+96+12>>2]=0.0;ab[o&127](p,q+120|0,q+96|0,q);p=c[(c[b+52>>2]|0)+20>>2]|0;o=c[(c[p>>2]|0)+8>>2]|0;r=+g[d+16>>2];v=+g[d+20>>2];A=+g[d+24>>2];D=+g[k+20>>2];s=+g[k+24>>2];u=+g[k+28>>2];z=+g[k+36>>2];B=+g[k+40>>2];t=+g[k+44>>2];y=+g[k+52>>2];C=+g[k+56>>2];w=+g[k+60>>2];g[q+120>>2]=r*+g[k+4>>2]+v*+g[k+8>>2]+A*+g[k+12>>2]+y;g[q+120+4>>2]=r*D+v*s+A*u+C;g[q+120+8>>2]=r*z+v*B+A*t+w;g[q+120+12>>2]=0.0;A=+g[d+32>>2];v=+g[d+36>>2];r=+g[d+40>>2];g[q+96>>2]=y+(A*+g[k+4>>2]+v*+g[k+8>>2]+r*+g[k+12>>2]);g[q+96+4>>2]=C+(D*A+s*v+u*r);g[q+96+8>>2]=w+(z*A+B*v+t*r);g[q+96+12>>2]=0.0;ab[o&127](p,q+120|0,q+96|0,q);p=c[(c[b+52>>2]|0)+20>>2]|0;o=c[(c[p>>2]|0)+8>>2]|0;r=+g[d+32>>2];t=+g[d+36>>2];v=+g[d+40>>2];B=+g[k+20>>2];A=+g[k+24>>2];z=+g[k+28>>2];w=+g[k+36>>2];u=+g[k+40>>2];s=+g[k+44>>2];D=+g[k+52>>2];C=+g[k+56>>2];y=+g[k+60>>2];g[q+120>>2]=r*+g[k+4>>2]+t*+g[k+8>>2]+v*+g[k+12>>2]+D;g[q+120+4>>2]=r*B+t*A+v*z+C;g[q+120+8>>2]=r*w+t*u+v*s+y;g[q+120+12>>2]=0.0;v=+g[d>>2];t=+g[d+4>>2];r=+g[d+8>>2];g[q+96>>2]=D+(v*+g[k+4>>2]+t*+g[k+8>>2]+r*+g[k+12>>2]);g[q+96+4>>2]=C+(B*v+A*t+z*r);g[q+96+8>>2]=y+(w*v+u*t+s*r);g[q+96+12>>2]=0.0;ab[o&127](p,q+120|0,q+96|0,q)}j=((10?(e<<21|f)+~(f<<15)>>10:(e<<21|f)+~(f<<15)|0)^(e<<21|f)+~(f<<15))*9|0;j=(6?j>>6:j)^j;j=(c[b+108>>2]|0)+-1&((16?j+~(j<<11)>>16:j+~(j<<11)|0)^j+~(j<<11));a:do if(j>>>0<(c[b+64>>2]|0)>>>0?(h=c[(c[b+72>>2]|0)+(j<<2)>>2]|0,(h|0)!=-1):0){j=c[b+132>>2]|0;while(1){if((e<<21|f|0)==(c[j+(h<<2)>>2]|0))break;h=c[(c[b+92>>2]|0)+(h<<2)>>2]|0;if((h|0)==-1)break a}j=c[b+112>>2]|0;if(j+(h<<3)|0){o=c[j+(h<<3)+4>>2]|0;p=c[b+8>>2]|0;c[o+8>>2]=c[(c[p+192>>2]|0)+8>>2];n=c[b+4>>2]|0;m=c[n+192>>2]|0;c[q>>2]=0;c[q+4>>2]=m;c[q+8>>2]=n;c[q+12>>2]=n+4;c[q+16>>2]=-1;c[q+20>>2]=-1;c[q+120>>2]=0;c[q+120+4>>2]=o;c[q+120+8>>2]=p;c[q+120+12>>2]=p+4;c[q+120+16>>2]=e;c[q+120+20>>2]=f;p=Ka[c[(c[l>>2]|0)+8>>2]&31](l,q,q+120|0,0)|0;eb[c[(c[p>>2]|0)+8>>2]&31](p,q,q+120|0,c[b+52>>2]|0,c[b+44>>2]|0);Pa[c[c[p>>2]>>2]&511](p);Va[c[(c[l>>2]|0)+60>>2]&127](l,p);sa=q;return}}while(0);t=+g[d+16>>2];E=+g[d>>2];u=+g[d+20>>2];r=+g[d+4>>2];v=+g[d+24>>2];s=+g[d+8>>2];w=+g[d+32>>2];z=+g[d+36>>2];B=+g[d+40>>2];y=(u-r)*(B-s)-(v-s)*(z-r);A=(v-s)*(w-E)-(t-E)*(B-s);C=(t-E)*(z-r)-(u-r)*(w-E);D=1.0/+x(+(C*C+(y*y+A*A)));g[q>>2]=E+y*D*.05999999865889549;g[q+4>>2]=r+A*D*.05999999865889549;g[q+8>>2]=s+C*D*.05999999865889549;g[q+12>>2]=0.0;g[q+16>>2]=t+y*D*.05999999865889549;g[q+20>>2]=u+A*D*.05999999865889549;g[q+24>>2]=v+C*D*.05999999865889549;g[q+28>>2]=0.0;g[q+32>>2]=w+y*D*.05999999865889549;g[q+36>>2]=z+A*D*.05999999865889549;g[q+40>>2]=B+C*D*.05999999865889549;g[q+44>>2]=0.0;g[q+48>>2]=E-y*D*.05999999865889549;g[q+52>>2]=r-A*D*.05999999865889549;g[q+56>>2]=s-C*D*.05999999865889549;g[q+60>>2]=0.0;g[q+64>>2]=t-y*D*.05999999865889549;g[q+68>>2]=u-A*D*.05999999865889549;g[q+72>>2]=v-C*D*.05999999865889549;g[q+76>>2]=0.0;g[q+80>>2]=w-y*D*.05999999865889549;g[q+84>>2]=z-A*D*.05999999865889549;g[q+88>>2]=B-C*D*.05999999865889549;g[q+92>>2]=0.0;c[7182]=(c[7182]|0)+1;h=xb(131)|0;if(!h)h=0;else{c[(h+4+15&-16)+-4>>2]=h;h=h+4+15&-16}Af(h,q,6,16);p=c[b+8>>2]|0;c[h+8>>2]=c[(c[p+192>>2]|0)+8>>2];o=c[b+4>>2]|0;d=c[o+192>>2]|0;c[q+120>>2]=0;c[q+120+4>>2]=d;c[q+120+8>>2]=o;c[q+120+12>>2]=o+4;c[q+120+16>>2]=-1;c[q+120+20>>2]=-1;c[q+96>>2]=0;c[q+96+4>>2]=h;c[q+96+8>>2]=p;c[q+96+12>>2]=p+4;c[q+96+16>>2]=e;c[q+96+20>>2]=f;p=Ka[c[(c[l>>2]|0)+8>>2]&31](l,q+120|0,q+96|0,0)|0;eb[c[(c[p>>2]|0)+8>>2]&31](p,q+120|0,q+96|0,c[b+52>>2]|0,c[b+44>>2]|0);Pa[c[c[p>>2]>>2]&511](p);Va[c[(c[l>>2]|0)+60>>2]&127](l,p);p=((10?(e<<21|f)+~(f<<15)>>10:(e<<21|f)+~(f<<15)|0)^(e<<21|f)+~(f<<15))*9|0;p=(6?p>>6:p)^p;p=(16?p+~(p<<11)>>16:p+~(p<<11)|0)^p+~(p<<11);l=c[b+108>>2]|0;b:do if((p&l+-1)>>>0<(c[b+64>>2]|0)>>>0?(i=c[(c[b+72>>2]|0)+((p&l+-1)<<2)>>2]|0,(i|0)!=-1):0){j=c[b+132>>2]|0;while(1){if((e<<21|f|0)==(c[j+(i<<2)>>2]|0))break;i=c[(c[b+92>>2]|0)+(i<<2)>>2]|0;if((i|0)==-1){m=20;break b}}b=c[b+112>>2]|0;c[b+(i<<3)>>2]=e<<21|f;c[b+(i<<3)+4>>2]=h}else m=20;while(0);if((m|0)==20){o=c[b+104>>2]|0;if((o|0)==(l|0)){d=(l|0)==0?1:l<<1;if((l|0)<(d|0)){if(!d){i=0;k=l}else{c[7182]=(c[7182]|0)+1;i=xb((d<<3|3)+16|0)|0;if(!i)i=0;else{c[(i+4+15&-16)+-4>>2]=i;i=i+4+15&-16}k=c[b+104>>2]|0}if((k|0)>0){j=0;do{H=(c[b+112>>2]|0)+(j<<3)|0;G=c[H+4>>2]|0;F=i+(j<<3)|0;c[F>>2]=c[H>>2];c[F+4>>2]=G;j=j+1|0}while((j|0)!=(k|0))}j=c[b+112>>2]|0;if(j|0){if(a[b+116>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[j+-4>>2]|0)}c[b+112>>2]=0}a[b+116>>0]=1;c[b+112>>2]=i;c[b+108>>2]=d;i=c[b+104>>2]|0}else i=l}else i=o;H=c[b+112>>2]|0;c[H+(i<<3)>>2]=e<<21|f;c[H+(i<<3)+4>>2]=h;c[b+104>>2]=(c[b+104>>2]|0)+1;h=c[b+124>>2]|0;if((h|0)==(c[b+128>>2]|0)?(n=(h|0)==0?1:h<<1,(h|0)<(n|0)):0){if(!n)k=0;else{c[7182]=(c[7182]|0)+1;h=xb((n<<2|3)+16|0)|0;if(!h)h=0;else{c[(h+4+15&-16)+-4>>2]=h;h=h+4+15&-16}k=h;h=c[b+124>>2]|0}j=c[b+132>>2]|0;if((h|0)<=0)if(!j)i=b+136|0;else m=45;else{i=0;do{c[k+(i<<2)>>2]=c[j+(i<<2)>>2];i=i+1|0}while((i|0)!=(h|0));m=45}if((m|0)==45){if(a[b+136>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[j+-4>>2]|0)}c[b+132>>2]=0;i=b+136|0;h=c[b+124>>2]|0}a[i>>0]=1;c[b+132>>2]=k;c[b+128>>2]=n}c[(c[b+132>>2]|0)+(h<<2)>>2]=e<<21|f;c[b+124>>2]=(c[b+124>>2]|0)+1;m=c[b+108>>2]|0;if((l|0)<(m|0)){n=c[b+64>>2]|0;if((n|0)<(m|0)){do if((c[b+68>>2]|0)<(m|0)){if(!m){h=0;j=n}else{c[7182]=(c[7182]|0)+1;h=xb((m<<2|3)+16|0)|0;if(!h)h=0;else{c[(h+4+15&-16)+-4>>2]=h;h=h+4+15&-16}j=c[b+64>>2]|0}k=c[b+72>>2]|0;if((j|0)<=0){if(!k){a[b+76>>0]=1;c[b+72>>2]=h;c[b+68>>2]=m;l=b+72|0;break}}else{i=0;do{c[h+(i<<2)>>2]=c[k+(i<<2)>>2];i=i+1|0}while((i|0)!=(j|0))}if(a[b+76>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[k+-4>>2]|0)}a[b+76>>0]=1;c[b+72>>2]=h;c[b+68>>2]=m;l=b+72|0}else{l=b+72|0;h=c[b+72>>2]|0}while(0);mk(h+(n<<2)|0,0,(m<<2)-(n<<2)|0)|0;c[b+64>>2]=m;d=c[b+84>>2]|0;if((d|0)<(m|0)){do if((c[b+88>>2]|0)<(m|0)){if(!m){h=0;j=d}else{c[7182]=(c[7182]|0)+1;h=xb((m<<2|3)+16|0)|0;if(!h)h=0;else{c[(h+4+15&-16)+-4>>2]=h;h=h+4+15&-16}j=c[b+84>>2]|0}k=c[b+92>>2]|0;if((j|0)<=0){if(!k){a[b+96>>0]=1;c[b+92>>2]=h;c[b+88>>2]=m;break}}else{i=0;do{c[h+(i<<2)>>2]=c[k+(i<<2)>>2];i=i+1|0}while((i|0)!=(j|0))}if(a[b+96>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[k+-4>>2]|0)}a[b+96>>0]=1;c[b+92>>2]=h;c[b+88>>2]=m}else h=c[b+92>>2]|0;while(0);mk(h+(d<<2)|0,0,(m<<2)-(d<<2)|0)|0}c[b+84>>2]=m;if((m|0)>0){mk(c[l>>2]|0,-1,m<<2|0)|0;mk(c[b+92>>2]|0,-1,m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<<4)>>2];q=+g[n+(k+-1<<4)+4>>2];r=+g[n+(k+-1<<4)+8>>2];m=0;l=p*-(z*D-A*C)+q*-(A*B-y*D)+r*-(y*C-z*B)-x;while(1){u=+g[n+(m<<4)>>2];v=+g[n+(m<<4)+4>>2];w=+g[n+(m<<4)+8>>2];F=c[n+(m<<4)+12>>2]|0;t=u*-(z*D-A*C)+v*-(A*B-y*D)+w*-(y*C-z*B)-x;do if(l<0.0)if(t<0.0){o=c[f+4>>2]|0;if((o|0)==(c[f+8>>2]|0)?(P=(o|0)==0?1:o<<1,(o|0)<(P|0)):0){if(!P)n=0;else{c[7182]=(c[7182]|0)+1;n=xb((P<<4|3)+16|0)|0;if(!n)n=0;else{c[(n+4+15&-16)+-4>>2]=n;n=n+4+15&-16}o=c[f+4>>2]|0}if((o|0)>0){E=0;do{$=n+(E<<4)|0;aa=(c[f+12>>2]|0)+(E<<4)|0;c[$>>2]=c[aa>>2];c[$+4>>2]=c[aa+4>>2];c[$+8>>2]=c[aa+8>>2];c[$+12>>2]=c[aa+12>>2];E=E+1|0}while((E|0)!=(o|0))}o=c[f+12>>2]|0;if(o|0){if(a[f+16>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[o+-4>>2]|0)}c[f+12>>2]=0}a[f+16>>0]=1;c[f+12>>2]=n;c[f+8>>2]=P;n=c[f+4>>2]|0}else n=o;E=c[f+12>>2]|0;g[E+(n<<4)>>2]=u;g[E+(n<<4)+4>>2]=v;g[E+(n<<4)+8>>2]=w;c[E+(n<<4)+12>>2]=F;E=83;break}else{l=l/(l-t);s=p+(u-p)*l;p=q+(v-q)*l;l=r+(w-r)*l;o=c[f+4>>2]|0;if((o|0)==(c[f+8>>2]|0)?(Q=(o|0)==0?1:o<<1,(o|0)<(Q|0)):0){if(!Q)n=0;else{c[7182]=(c[7182]|0)+1;n=xb((Q<<4|3)+16|0)|0;if(!n)n=0;else{c[(n+4+15&-16)+-4>>2]=n;n=n+4+15&-16}o=c[f+4>>2]|0}if((o|0)>0){E=0;do{aa=n+(E<<4)|0;$=(c[f+12>>2]|0)+(E<<4)|0;c[aa>>2]=c[$>>2];c[aa+4>>2]=c[$+4>>2];c[aa+8>>2]=c[$+8>>2];c[aa+12>>2]=c[$+12>>2];E=E+1|0}while((E|0)!=(o|0))}o=c[f+12>>2]|0;if(o|0){if(a[f+16>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[o+-4>>2]|0)}c[f+12>>2]=0}a[f+16>>0]=1;c[f+12>>2]=n;c[f+8>>2]=Q;n=c[f+4>>2]|0}else n=o;E=c[f+12>>2]|0;g[E+(n<<4)>>2]=s;g[E+(n<<4)+4>>2]=p;g[E+(n<<4)+8>>2]=l;g[E+(n<<4)+12>>2]=0.0;E=83;break}else if(t<0.0){l=l/(l-t);s=p+(u-p)*l;p=q+(v-q)*l;l=r+(w-r)*l;o=c[f+4>>2]|0;if((o|0)==(c[f+8>>2]|0)?(R=(o|0)==0?1:o<<1,(o|0)<(R|0)):0){if(!R)n=0;else{c[7182]=(c[7182]|0)+1;n=xb((R<<4|3)+16|0)|0;if(!n)n=0;else{c[(n+4+15&-16)+-4>>2]=n;n=n+4+15&-16}o=c[f+4>>2]|0}if((o|0)>0){E=0;do{aa=n+(E<<4)|0;$=(c[f+12>>2]|0)+(E<<4)|0;c[aa>>2]=c[$>>2];c[aa+4>>2]=c[$+4>>2];c[aa+8>>2]=c[$+8>>2];c[aa+12>>2]=c[$+12>>2];E=E+1|0}while((E|0)!=(o|0))}o=c[f+12>>2]|0;if(o|0){if(a[f+16>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[o+-4>>2]|0)}c[f+12>>2]=0}a[f+16>>0]=1;c[f+12>>2]=n;c[f+8>>2]=R;n=c[f+4>>2]|0}else n=o;o=c[f+12>>2]|0;g[o+(n<<4)>>2]=s;g[o+(n<<4)+4>>2]=p;g[o+(n<<4)+8>>2]=l;g[o+(n<<4)+12>>2]=0.0;o=(c[f+4>>2]|0)+1|0;c[f+4>>2]=o;if((o|0)==(c[f+8>>2]|0)?(S=(o|0)==0?1:o<<1,(o|0)<(S|0)):0){if(!S)n=0;else{c[7182]=(c[7182]|0)+1;n=xb((S<<4|3)+16|0)|0;if(!n)n=0;else{c[(n+4+15&-16)+-4>>2]=n;n=n+4+15&-16}o=c[f+4>>2]|0}if((o|0)>0){E=0;do{aa=n+(E<<4)|0;$=(c[f+12>>2]|0)+(E<<4)|0;c[aa>>2]=c[$>>2];c[aa+4>>2]=c[$+4>>2];c[aa+8>>2]=c[$+8>>2];c[aa+12>>2]=c[$+12>>2];E=E+1|0}while((E|0)!=(o|0))}o=c[f+12>>2]|0;if(o|0){if(a[f+16>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[o+-4>>2]|0)}c[f+12>>2]=0}a[f+16>>0]=1;c[f+12>>2]=n;c[f+8>>2]=S;n=c[f+4>>2]|0}else n=o;E=c[f+12>>2]|0;g[E+(n<<4)>>2]=u;g[E+(n<<4)+4>>2]=v;g[E+(n<<4)+8>>2]=w;c[E+(n<<4)+12>>2]=F;E=83}while(0);if((E|0)==83){E=0;c[f+4>>2]=(c[f+4>>2]|0)+1}m=m+1|0;if((m|0)==(k|0))break;l=t;p=u;r=w;q=v;n=c[G+12>>2]|0}k=c[G+4>>2]|0}if((k|0)<0){if((c[G+8>>2]|0)<0){m=c[G+12>>2]|0;if(m|0){if(a[G+16>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[m+-4>>2]|0)}c[G+12>>2]=0}a[G+16>>0]=1;c[G+12>>2]=0;c[G+8>>2]=0}do{aa=(c[G+12>>2]|0)+(k<<4)|0;c[aa>>2]=c[W>>2];c[aa+4>>2]=c[W+4>>2];c[aa+8>>2]=c[W+8>>2];c[aa+12>>2]=c[W+12>>2];k=k+1|0}while((k|0)!=0)}c[G+4>>2]=0;if((H|0)>=(K|0))break;aa=I;k=H;w=+g[e>>2];v=+g[e+4>>2];s=+g[e+8>>2];u=+g[e+16>>2];r=+g[e+20>>2];q=+g[e+24>>2];t=+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sa;sa=sa+208|0;g[b+56>>2]=0.0;G=O+192+4|0;H=O+192+8|0;c[O+192>>2]=0;c[O+192+4>>2]=0;c[O+192+8>>2]=0;c[O+192+12>>2]=0;c[O+128>>2]=c[d>>2];c[O+128+4>>2]=c[d+4>>2];c[O+128+8>>2]=c[d+8>>2];c[O+128+12>>2]=c[d+12>>2];c[O+128+16>>2]=c[d+16>>2];c[O+128+16+4>>2]=c[d+16+4>>2];c[O+128+16+8>>2]=c[d+16+8>>2];c[O+128+16+12>>2]=c[d+16+12>>2];c[O+128+32>>2]=c[d+32>>2];c[O+128+32+4>>2]=c[d+32+4>>2];c[O+128+32+8>>2]=c[d+32+8>>2];c[O+128+32+12>>2]=c[d+32+12>>2];D=O+128+48|0;c[D>>2]=c[d+48>>2];c[D+4>>2]=c[d+48+4>>2];c[D+8>>2]=c[d+48+8>>2];c[D+12>>2]=c[d+48+12>>2];c[O+64>>2]=c[d+64>>2];c[O+64+4>>2]=c[d+64+4>>2];c[O+64+8>>2]=c[d+64+8>>2];c[O+64+12>>2]=c[d+64+12>>2];c[O+64+16>>2]=c[d+80>>2];c[O+64+16+4>>2]=c[d+80+4>>2];c[O+64+16+8>>2]=c[d+80+8>>2];c[O+64+16+12>>2]=c[d+80+12>>2];c[O+64+32>>2]=c[d+96>>2];c[O+64+32+4>>2]=c[d+96+4>>2];c[O+64+32+8>>2]=c[d+96+8>>2];c[O+64+32+12>>2]=c[d+96+12>>2];E=O+64+48|0;c[E>>2]=c[d+112>>2];c[E+4>>2]=c[d+112+4>>2];c[E+8>>2]=c[d+112+8>>2];c[E+12>>2]=c[d+112+12>>2];I=+g[D>>2];J=+g[E>>2];K=+g[O+128+52>>2];L=+g[O+64+52>>2];M=+g[O+128+56>>2];N=+g[O+64+56>>2];g[D>>2]=I-(I+J)*.5;g[O+128+52>>2]=K-(K+L)*.5;g[O+128+56>>2]=M-(M+N)*.5;g[E>>2]=J-(I+J)*.5;g[O+64+52>>2]=L-(K+L)*.5;g[O+64+56>>2]=N-(M+N)*.5;if(((c[(c[b+28>>2]|0)+4>>2]|0)+-17|0)>>>0<2)D=((c[(c[b+32>>2]|0)+4>>2]|0)+-17|0)>>>0<2;else D=0;u=+g[b+44>>2];t=+g[b+48>>2];c[7167]=(c[7167]|0)+1;E=a[b+52>>0]|0;c[b+64>>2]=0;c[b+4>>2]=0;c[b+8>>2]=1065353216;c[b+12>>2]=0;g[b+16>>2]=0.0;c[b+68>>2]=0;c[b+60>>2]=-1;m=c[b+24>>2]|0;a[m+312>>0]=0;c[m>>2]=0;a[m+356>>0]=1;c[m+292>>2]=1566444395;c[m+296>>2]=1566444395;c[m+300>>2]=1566444395;g[m+304>>2]=0.0;c[m+336>>2]=0;c[m+336+4>>2]=0;c[m+336+8>>2]=0;c[m+336+12>>2]=0;a[m+336+16>>0]=0;a[m+332>>0]=a[m+332>>0]&-16;m=0;l=999999984306749440.0;do{n=+g[b+4>>2];k=+g[b+8>>2];j=+g[b+12>>2];r=+g[d+4>>2]*-n+ +g[d+20>>2]*-k+ +g[d+36>>2]*-j;s=+g[d+8>>2]*-n+ +g[d+24>>2]*-k+ +g[d+40>>2]*-j;g[O+48>>2]=+g[d>>2]*-n+ +g[d+16>>2]*-k+ +g[d+32>>2]*-j;g[O+48+4>>2]=r;g[O+48+8>>2]=s;g[O+48+12>>2]=0.0;s=n*+g[d+68>>2]+k*+g[d+84>>2]+j*+g[d+100>>2];r=n*+g[d+72>>2]+k*+g[d+88>>2]+j*+g[d+104>>2];g[O+32>>2]=n*+g[d+64>>2]+k*+g[d+80>>2]+j*+g[d+96>>2];g[O+32+4>>2]=s;g[O+32+8>>2]=r;g[O+32+12>>2]=0.0;Nc(O+16|0,c[b+28>>2]|0,O+48|0);Nc(O,c[b+32>>2]|0,O+32|0);r=+g[O+16>>2];s=+g[O+16+4>>2];j=+g[O+16+8>>2];k=r*+g[O+128>>2]+s*+g[O+128+4>>2]+j*+g[O+128+8>>2]+ +g[O+128+48>>2];n=r*+g[O+128+16>>2]+s*+g[O+128+20>>2]+j*+g[O+128+24>>2]+ +g[O+128+52>>2];j=r*+g[O+128+32>>2]+s*+g[O+128+36>>2]+j*+g[O+128+40>>2]+ +g[O+128+56>>2];s=+g[O>>2];r=+g[O+4>>2];q=+g[O+8>>2];o=s*+g[O+64>>2]+r*+g[O+64+4>>2]+q*+g[O+64+8>>2]+ +g[O+64+48>>2];p=s*+g[O+64+16>>2]+r*+g[O+64+20>>2]+q*+g[O+64+24>>2]+ +g[O+64+52>>2];q=s*+g[O+64+32>>2]+r*+g[O+64+36>>2]+q*+g[O+64+40>>2]+ +g[O+64+56>>2];r=D?0.0:q;s=D?0.0:j;q=D?0.0:j-q;j=(k-o)*+g[b+4>>2]+(n-p)*+g[b+8>>2]+q*+g[b+12>>2];if(j>0.0?j*j>l*+g[d+128>>2]:0){c[b+68>>2]=10;h=0;m=1}else S=7;do if((S|0)==7){S=0;B=c[b+24>>2]|0;C=c[B>>2]|0;if((C|0)>0){i=+g[B+308>>2];A=0;h=0;do{w=k-o-+g[B+4+(A<<4)>>2];y=n-p-+g[B+4+(A<<4)+4>>2];z=q-+g[B+4+(A<<4)+8>>2];h=h|w*w+y*y+z*z<=i;A=A+1|0}while((A|0)!=(C|0))}else h=0;if((+g[B+304>>2]==0.0?q==+g[B+300>>2]:0)?n-p==+g[B+296>>2]:0){if(k-o==+g[B+292>>2]|h)S=15}else S=14;if((S|0)==14?(S=0,h):0)S=15;if((S|0)==15){S=0;c[b+68>>2]=1;h=0;m=1;break}i=l-j;if(i<=l*9.999999974752427e-07){c[b+68>>2]=!(i<=0.0)?11:2;h=0;m=1;break}g[B+292>>2]=k-o;g[B+296>>2]=n-p;g[B+300>>2]=q;g[B+304>>2]=0.0;a[B+356>>0]=1;g[B+4+(C<<4)>>2]=k-o;g[B+4+(C<<4)+4>>2]=n-p;g[B+4+(C<<4)+8>>2]=q;g[B+4+(C<<4)+12>>2]=0.0;h=c[B>>2]|0;g[B+84+(h<<4)>>2]=k;g[B+84+(h<<4)+4>>2]=n;g[B+84+(h<<4)+8>>2]=s;g[B+84+(h<<4)+12>>2]=0.0;h=c[B>>2]|0;g[B+164+(h<<4)>>2]=o;g[B+164+(h<<4)+4>>2]=p;g[B+164+(h<<4)+8>>2]=r;g[B+164+(h<<4)+12>>2]=0.0;c[B>>2]=(c[B>>2]|0)+1;h=c[b+24>>2]|0;C=Ab(h)|0;i=+g[h+276>>2];j=+g[h+280>>2];k=+g[h+284>>2];h=c[h+288>>2]|0;if(!C){c[b+68>>2]=3;h=0;m=1;break}if(i*i+j*j+k*k<9.999999974752427e-07){g[b+4>>2]=i;g[b+8>>2]=j;g[b+12>>2]=k;c[b+16>>2]=h;c[b+68>>2]=6;h=0;m=1;break}if(l-(i*i+j*j+k*k)<=l*1.1920928955078125e-07){c[b+68>>2]=12;l=i*i+j*j+k*k;h=0;m=1;break}g[b+4>>2]=i;g[b+8>>2]=j;g[b+12>>2]=k;c[b+16>>2]=h;C=c[b+64>>2]|0;c[b+64>>2]=C+1;if((C|0)<=1e3)if((c[c[b+24>>2]>>2]|0)==4){c[b+68>>2]=13;l=i*i+j*j+k*k;h=0}else{l=i*i+j*j+k*k;h=1}else{l=i*i+j*j+k*k;h=0}}while(0)}while(h);s=E<<24>>24==0?t:0.0;r=(E<<24>>24==0?u:0.0)+s;if(m){E=c[b+24>>2]|0;Ab(E)|0;k=+g[E+260>>2];j=+g[E+264>>2];i=+g[E+268>>2];c[O+192>>2]=c[b+4>>2];c[O+192+4>>2]=c[b+4+4>>2];c[O+192+8>>2]=c[b+4+8>>2];c[O+192+12>>2]=c[b+4+12>>2];n=+g[b+4>>2];o=+g[b+8>>2];p=+g[b+12>>2];if(n*n+o*o+p*p<.0001)c[b+68>>2]=5;if(n*n+o*o+p*p>1.4210854715202004e-14){y=1.0/+x(+(n*n+o*o+p*p));g[O+192>>2]=y*+g[O+192>>2];g[G>>2]=y*+g[G>>2];g[H>>2]=y*+g[H>>2];z=s/+x(+l);l=1.0/y-r;m=1;h=1;k=z*n+k;j=z*o+j;i=z*p+i}else{l=0.0;m=0;h=2}c[b+60>>2]=h}else{l=0.0;m=0;k=0.0;j=0.0;i=0.0}if((c[b+72>>2]|0)!=0?(c[b+20>>2]|0)!=0:0)h=r+l<.01&(c[b+68>>2]|0)!=0;else h=0;A=m^1;do if(h|A?(F=c[b+20>>2]|0,(F|0)!=0):0){c[7166]=(c[7166]|0)+1;c[b+4>>2]=0;c[b+4+4>>2]=0;c[b+4+8>>2]=0;c[b+4+12>>2]=0;if(Na[c[(c[F>>2]|0)+8>>2]&3](F,c[b+24>>2]|0,c[b+28>>2]|0,c[b+32>>2]|0,O+128|0,O+64|0,b+4|0,O+48|0,O+32|0,f)|0){o=+g[O+32>>2];p=+g[O+48>>2];q=+g[O+32+4>>2];r=+g[O+48+4>>2];s=+g[O+32+8>>2];t=+g[O+48+8>>2];if(!((o-p)*(o-p)+(q-r)*(q-r)+(s-t)*(s-t)<=1.4210854715202004e-14)){n=(o-p)*(o-p)+(q-r)*(q-r)+(s-t)*(s-t);v=o-p;w=s-t;y=0.0;z=q-r}else{v=+g[b+4>>2];z=+g[b+8>>2];w=+g[b+12>>2];n=v*v+z*z+w*w;y=+g[b+16>>2]}if(n>1.4210854715202004e-14){u=1.0/+x(+n);n=-+x(+((p-o)*(p-o)+(r-q)*(r-q)+(t-s)*(t-s)));if(l>n|A){k=+g[O+32>>2];j=+g[O+32+4>>2];i=+g[O+32+8>>2];g[O+192>>2]=v*u;g[G>>2]=z*u;g[H>>2]=w*u;g[O+192+12>>2]=y;c[b+60>>2]=3;l=n;break}else h=8}else h=9;c[b+60>>2]=h;if(m)break;sa=O;return}else{o=+g[b+4>>2];p=+g[b+8>>2];q=+g[b+12>>2];if(!(o*o+p*p+q*q>0.0)){if(m)break;sa=O;return}y=+g[O+48>>2]-+g[O+32>>2];z=+g[O+48+4>>2]-+g[O+32+4>>2];n=+g[O+48+8>>2]-+g[O+32+8>>2];n=+x(+(y*y+z*z+n*n))-r;if(n>2];j=s*p+ +g[O+32+4>>2];i=s*q+ +g[O+32+8>>2];c[O+192>>2]=c[b+4>>2];c[O+192+4>>2]=c[b+4+4>>2];c[O+192+8>>2]=c[b+4+8>>2];c[O+192+12>>2]=c[b+4+12>>2];w=+g[O+192>>2];y=+g[G>>2];z=+g[H>>2];l=1.0/+x(+(w*w+y*y+z*z));g[O+192>>2]=w*l;g[G>>2]=y*l;g[H>>2]=z*l;c[b+60>>2]=6;l=n;break}c[b+60>>2]=5;if(m)break;sa=O;return}}else S=51;while(0);if((S|0)==51)if(!m){sa=O;return}if(!(l<0.0)?!(l*l<+g[d+128>>2]):0){sa=O;return}if(c[b+76>>2]|0?(S=c[b+28>>2]|0,ab[c[(c[S>>2]|0)+8>>2]&127](S,O+128|0,O+48|0,O+32|0),w=(+g[O+32>>2]+ +g[O+48>>2])*.5,y=(+g[O+32+4>>2]+ +g[O+48+4>>2])*.5,z=(+g[O+32+8>>2]+ +g[O+48+8>>2])*.5,S=c[b+32>>2]|0,ab[c[(c[S>>2]|0)+8>>2]&127](S,O+64|0,O+48|0,O+32|0),P=+g[O+192>>2],Q=+g[G>>2],R=+g[H>>2],(w-(+g[O+48>>2]+ +g[O+32>>2])*.5)*P+(y-(+g[O+48+4>>2]+ +g[O+32+4>>2])*.5)*Q+(z-(+g[O+48+8>>2]+ +g[O+32+8>>2])*.5)*R<0.0):0){g[O+192>>2]=-P;g[G>>2]=-Q;g[H>>2]=-R}c[b+4>>2]=c[O+192>>2];c[b+4+4>>2]=c[O+192+4>>2];c[b+4+8>>2]=c[O+192+8>>2];c[b+4+12>>2]=c[O+192+12>>2];g[b+56>>2]=l;S=c[(c[e>>2]|0)+16>>2]|0;g[O+48>>2]=(I+J)*.5+k;g[O+48+4>>2]=(K+L)*.5+j;g[O+48+8>>2]=(M+N)*.5+i;g[O+48+12>>2]=0.0;_a[S&15](e,O+192|0,O+48|0,l);sa=O;return}function Vb(d,e,f,h){d=d|0;e=e|0;f=f|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0;c[d+168>>2]=c[d+152>>2];c[e>>2]=11920;c[e+52>>2]=282;a[e+60>>0]=0;a[e+80>>0]=1;c[e+76>>2]=0;c[e+68>>2]=0;c[e+72>>2]=0;a[e+100>>0]=1;c[e+96>>2]=0;c[e+88>>2]=0;c[e+92>>2]=0;a[e+120>>0]=1;c[e+116>>2]=0;c[e+108>>2]=0;c[e+112>>2]=0;a[e+140>>0]=1;c[e+136>>2]=0;c[e+128>>2]=0;c[e+132>>2]=0;c[e+144>>2]=0;a[e+164>>0]=1;c[e+160>>2]=0;c[e+152>>2]=0;c[e+156>>2]=0;c[e+168>>2]=0;c[e+4>>2]=-8388609;c[e+8>>2]=-8388609;c[e+12>>2]=-8388609;g[e+16>>2]=0.0;c[e+20>>2]=2139095039;c[e+24>>2]=2139095039;c[e+28>>2]=2139095039;g[e+32>>2]=0.0;f=c[d+56>>2]|0;if(h){c[e+56>>2]=kB(f|0)|0;a[e+4>>0]=a[d+4+3>>0]|0;a[e+5>>0]=a[d+4+2>>0]|0;a[e+6>>0]=a[d+4+1>>0]|0;a[e+7>>0]=a[d+4>>0]|0;a[e+8>>0]=a[d+8+3>>0]|0;a[e+9>>0]=a[d+8+2>>0]|0;a[e+10>>0]=a[d+8+1>>0]|0;a[e+11>>0]=a[d+8>>0]|0;a[e+12>>0]=a[d+12+3>>0]|0;a[e+13>>0]=a[d+12+2>>0]|0;a[e+14>>0]=a[d+12+1>>0]|0;a[e+15>>0]=a[d+12>>0]|0;a[e+16>>0]=a[d+16+3>>0]|0;a[e+17>>0]=a[d+16+2>>0]|0;a[e+18>>0]=a[d+16+1>>0]|0;a[e+19>>0]=a[d+16>>0]|0;a[e+20>>0]=a[d+20+3>>0]|0;a[e+21>>0]=a[d+20+2>>0]|0;a[e+22>>0]=a[d+20+1>>0]|0;a[e+23>>0]=a[d+20>>0]|0;a[e+24>>0]=a[d+24+3>>0]|0;a[e+25>>0]=a[d+24+2>>0]|0;a[e+26>>0]=a[d+24+1>>0]|0;a[e+27>>0]=a[d+24>>0]|0;a[e+28>>0]=a[d+28+3>>0]|0;a[e+29>>0]=a[d+28+2>>0]|0;a[e+30>>0]=a[d+28+1>>0]|0;a[e+31>>0]=a[d+28>>0]|0;a[e+32>>0]=a[d+32+3>>0]|0;a[e+33>>0]=a[d+32+2>>0]|0;a[e+34>>0]=a[d+32+1>>0]|0;a[e+35>>0]=a[d+32>>0]|0;a[e+36>>0]=a[d+36+3>>0]|0;a[e+37>>0]=a[d+36+2>>0]|0;a[e+38>>0]=a[d+36+1>>0]|0;a[e+39>>0]=a[d+36>>0]|0;a[e+40>>0]=a[d+40+3>>0]|0;a[e+41>>0]=a[d+40+2>>0]|0;a[e+42>>0]=a[d+40+1>>0]|0;a[e+43>>0]=a[d+40>>0]|0;a[e+44>>0]=a[d+44+3>>0]|0;a[e+45>>0]=a[d+44+2>>0]|0;a[e+46>>0]=a[d+44+1>>0]|0;a[e+47>>0]=a[d+44>>0]|0;a[e+48>>0]=a[d+48+3>>0]|0;a[e+49>>0]=a[d+48+2>>0]|0;a[e+50>>0]=a[d+48+1>>0]|0;a[e+51>>0]=a[d+48>>0]|0;c[e+144>>2]=kB(c[d+144>>2]|0)|0;f=kB(c[d+168>>2]|0)|0}else{c[e+56>>2]=f;c[e+4>>2]=c[d+4>>2];c[e+4+4>>2]=c[d+4+4>>2];c[e+4+8>>2]=c[d+4+8>>2];c[e+4+12>>2]=c[d+4+12>>2];c[e+20>>2]=c[d+20>>2];c[e+20+4>>2]=c[d+20+4>>2];c[e+20+8>>2]=c[d+20+8>>2];c[e+20+12>>2]=c[d+20+12>>2];c[e+36>>2]=c[d+36>>2];c[e+36+4>>2]=c[d+36+4>>2];c[e+36+8>>2]=c[d+36+8>>2];c[e+36+12>>2]=c[d+36+12>>2];c[e+144>>2]=c[d+144>>2];f=c[d+168>>2]|0}c[e+168>>2]=f;a[e+60>>0]=a[d+60>>0]|0;k=c[d+56>>2]|0;if(!(a[d+60>>0]|0)){f=c[e+96>>2]|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+3>>0]|0;a[l+1>>0]=a[f+2>>0]|0;a[l+2>>0]=a[f+1>>0]|0;a[l+3>>0]=a[f>>0]|0;j=c[d+96>>2]|0;l=kB(c[j+(i<<6)+32>>2]|0)|0;f=c[e+96>>2]|0;c[f+(i<<6)+32>>2]=l;c[f+(i<<6)+36>>2]=kB(c[j+(i<<6)+36>>2]|0)|0;c[f+(i<<6)+40>>2]=kB(c[j+(i<<6)+40>>2]|0)|0;i=i+1|0}while((i|0)!=(k|0));i=29}else i=28;else if((k|0)>0){i=0;j=c[d+96>>2]|0;f=e+172|0;do{m=j+(i<<6)|0;n=f+(i<<6)|0;c[n>>2]=c[m>>2];c[n+4>>2]=c[m+4>>2];c[n+8>>2]=c[m+8>>2];c[n+12>>2]=c[m+12>>2];n=(c[d+96>>2]|0)+(i<<6)+16|0;f=(c[e+96>>2]|0)+(i<<6)+16|0;c[f>>2]=c[n>>2];c[f+4>>2]=c[n+4>>2];c[f+8>>2]=c[n+8>>2];c[f+12>>2]=c[n+12>>2];j=c[d+96>>2]|0;f=c[e+96>>2]|0;c[f+(i<<6)+32>>2]=c[j+(i<<6)+32>>2];c[f+(i<<6)+36>>2]=c[j+(i<<6)+36>>2];c[f+(i<<6)+40>>2]=c[j+(i<<6)+40>>2];i=i+1|0}while((i|0)!=(k|0));i=29}else i=28;if((i|0)==28){f=k<<6;i=32}else if((i|0)==29)if(f)if((a[e+100>>0]|0)==0|(f|0)==0){f=k<<6;i=32}else{c[7183]=(c[7183]|0)+1;Hc(c[f+-4>>2]|0);f=k<<6;i=32}else f=k<<6;if((i|0)==32)c[e+96>>2]=0;c[e+88>>2]=0;c[e+88+4>>2]=0;c[e+88+8>>2]=0;a[e+88+12>>0]=0}else{f=c[e+136>>2]|0;if(f|0){if(a[e+140>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[f+-4>>2]|0)}c[e+136>>2]=0}a[e+140>>0]=0;c[e+136>>2]=e+172;c[e+128>>2]=k;c[e+132>>2]=k;if(h){if((k|0)>0){i=c[d+136>>2]|0;f=0;do{b[e+172+(f<<4)>>1]=iH(b[i+(f<<4)>>1]|0)|0;b[e+172+(f<<4)+2>>1]=iH(b[i+(f<<4)+2>>1]|0)|0;b[e+172+(f<<4)+4>>1]=iH(b[i+(f<<4)+4>>1]|0)|0;b[e+172+(f<<4)+6>>1]=iH(b[i+(f<<4)+6>>1]|0)|0;b[e+172+(f<<4)+8>>1]=iH(b[i+(f<<4)+8>>1]|0)|0;b[e+172+(f<<4)+10>>1]=iH(b[i+(f<<4)+10>>1]|0)|0;c[e+172+(f<<4)+12>>2]=kB(c[i+(f<<4)+12>>2]|0)|0;f=f+1|0}while((f|0)!=(k|0))}}else if((k|0)>0){i=c[d+136>>2]|0;f=0;do{b[e+172+(f<<4)>>1]=b[i+(f<<4)>>1]|0;b[e+172+(f<<4)+2>>1]=b[i+(f<<4)+2>>1]|0;b[e+172+(f<<4)+4>>1]=b[i+(f<<4)+4>>1]|0;b[e+172+(f<<4)+6>>1]=b[i+(f<<4)+6>>1]|0;b[e+172+(f<<4)+8>>1]=b[i+(f<<4)+8>>1]|0;b[e+172+(f<<4)+10>>1]=b[i+(f<<4)+10>>1]|0;c[e+172+(f<<4)+12>>2]=c[i+(f<<4)+12>>2];f=f+1|0}while((f|0)!=(k|0))}c[e+128>>2]=0;c[e+128+4>>2]=0;c[e+128+8>>2]=0;a[e+128+12>>0]=0;f=k<<4}k=e+172+f|0;f=c[d+168>>2]|0;i=c[e+160>>2]|0;if(i|0){if(a[e+164>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[i+-4>>2]|0)}c[e+160>>2]=0}a[e+164>>0]=0;c[e+160>>2]=k;c[e+152>>2]=f;c[e+156>>2]=f;j=c[d+168>>2]|0;if(h){if((j|0)<=0){c[e>>2]=0;c[e+152>>2]=0;c[e+152+4>>2]=0;c[e+152+8>>2]=0;a[e+152+12>>0]=0;return 1}i=c[d+160>>2]|0;f=0;do{b[k+(f<<5)>>1]=iH(b[i+(f<<5)>>1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,q=0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0,A=0.0,B=0,C=0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0;B=sa;sa=sa+4224|0;if(((c[e+4>>2]|0)+-17|0)>>>0<2)z=((c[f+4>>2]|0)+-17|0)>>>0<2;else z=0;b=0;do{be();u=+g[25552+(b<<4)>>2];v=+g[25552+(b<<4)+4>>2];w=+g[25552+(b<<4)+8>>2];y=+g[h+4>>2]*-u+ +g[h+20>>2]*-v+ +g[h+36>>2]*-w;x=+g[h+8>>2]*-u+ +g[h+24>>2]*-v+ +g[h+40>>2]*-w;g[B+992+(b<<4)>>2]=+g[h>>2]*-u+ +g[h+16>>2]*-v+ +g[h+32>>2]*-w;g[B+992+(b<<4)+4>>2]=y;g[B+992+(b<<4)+8>>2]=x;g[B+992+(b<<4)+12>>2]=0.0;x=u*+g[i+4>>2]+v*+g[i+20>>2]+w*+g[i+36>>2];y=u*+g[i+8>>2]+v*+g[i+24>>2]+w*+g[i+40>>2];g[B+(b<<4)>>2]=u*+g[i>>2]+v*+g[i+16>>2]+w*+g[i+32>>2];g[B+(b<<4)+4>>2]=x;g[B+(b<<4)+8>>2]=y;g[B+(b<<4)+12>>2]=0.0;b=b+1|0}while((b|0)!=42);p=Fa[c[(c[e>>2]|0)+84>>2]&127](e)|0;if((p|0)>0){b=0;o=42;while(1){Za[c[(c[e>>2]|0)+88>>2]&127](e,b,B+4144|0);x=+g[B+4144>>2];y=+g[B+4144+4>>2];w=+g[B+4144+8>>2];v=x*+g[h+16>>2]+y*+g[h+20>>2]+w*+g[h+24>>2];u=x*+g[h+32>>2]+y*+g[h+36>>2]+w*+g[h+40>>2];g[B+4144>>2]=+g[h>>2]*x+ +g[h+4>>2]*y+ +g[h+8>>2]*w;g[B+4144+4>>2]=v;g[B+4144+8>>2]=u;g[B+4144+12>>2]=0.0;be();q=25552+(o<<4)|0;c[q>>2]=c[B+4144>>2];c[q+4>>2]=c[B+4144+4>>2];c[q+8>>2]=c[B+4144+8>>2];c[q+12>>2]=c[B+4144+12>>2];u=+g[B+4144>>2];v=+g[B+4144+4>>2];w=+g[B+4144+8>>2];y=+g[h+4>>2]*-u+ +g[h+20>>2]*-v+ +g[h+36>>2]*-w;x=+g[h+8>>2]*-u+ +g[h+24>>2]*-v+ +g[h+40>>2]*-w;g[B+992+(o<<4)>>2]=+g[h>>2]*-u+ +g[h+16>>2]*-v+ +g[h+32>>2]*-w;g[B+992+(o<<4)+4>>2]=y;g[B+992+(o<<4)+8>>2]=x;g[B+992+(o<<4)+12>>2]=0.0;x=u*+g[i+4>>2]+v*+g[i+20>>2]+w*+g[i+36>>2];y=u*+g[i+8>>2]+v*+g[i+24>>2]+w*+g[i+40>>2];g[B+(o<<4)>>2]=u*+g[i>>2]+v*+g[i+16>>2]+w*+g[i+32>>2];g[B+(o<<4)+4>>2]=x;g[B+(o<<4)+8>>2]=y;g[B+(o<<4)+12>>2]=0.0;b=b+1|0;if((b|0)==(p|0))break;else o=o+1|0}o=p+42|0}else o=42;q=Fa[c[(c[f>>2]|0)+84>>2]&127](f)|0;if((q|0)>0){b=0;p=o;while(1){Za[c[(c[f>>2]|0)+88>>2]&127](f,b,B+4144|0);x=+g[B+4144>>2];y=+g[B+4144+4>>2];w=+g[B+4144+8>>2];v=x*+g[i+16>>2]+y*+g[i+20>>2]+w*+g[i+24>>2];u=x*+g[i+32>>2]+y*+g[i+36>>2]+w*+g[i+40>>2];g[B+4144>>2]=+g[i>>2]*x+ +g[i+4>>2]*y+ +g[i+8>>2]*w;g[B+4144+4>>2]=v;g[B+4144+8>>2]=u;g[B+4144+12>>2]=0.0;be();C=25552+(p<<4)|0;c[C>>2]=c[B+4144>>2];c[C+4>>2]=c[B+4144+4>>2];c[C+8>>2]=c[B+4144+8>>2];c[C+12>>2]=c[B+4144+12>>2];u=+g[B+4144>>2];v=+g[B+4144+4>>2];w=+g[B+4144+8>>2];y=+g[h+4>>2]*-u+ +g[h+20>>2]*-v+ +g[h+36>>2]*-w;x=+g[h+8>>2]*-u+ +g[h+24>>2]*-v+ +g[h+40>>2]*-w;g[B+992+(p<<4)>>2]=+g[h>>2]*-u+ +g[h+16>>2]*-v+ +g[h+32>>2]*-w;g[B+992+(p<<4)+4>>2]=y;g[B+992+(p<<4)+8>>2]=x;g[B+992+(p<<4)+12>>2]=0.0;x=u*+g[i+4>>2]+v*+g[i+20>>2]+w*+g[i+36>>2];y=u*+g[i+8>>2]+v*+g[i+24>>2]+w*+g[i+40>>2];g[B+(p<<4)>>2]=u*+g[i>>2]+v*+g[i+16>>2]+w*+g[i+32>>2];g[B+(p<<4)+4>>2]=x;g[B+(p<<4)+8>>2]=y;g[B+(p<<4)+12>>2]=0.0;b=b+1|0;if((b|0)==(q|0))break;else p=p+1|0}o=q+o|0}ab[c[(c[e>>2]|0)+76>>2]&127](e,B+992|0,B+2976|0,o);ab[c[(c[f>>2]|0)+76>>2]&127](f,B,B+1984|0,o);if((o|0)>0){u=999999984306749440.0;b=0;x=0.0;n=0.0;w=0.0;r=0.0;while(1){be();t=+g[25552+(b<<4)>>2];v=+g[25552+(b<<4)+4>>2];s=+g[25552+(b<<4)+12>>2];y=z?0.0:+g[25552+(b<<4)+8>>2];if(t*t+v*v+y*y>.01?(E=+g[B+2976+(b<<4)>>2],D=+g[B+2976+(b<<4)+4>>2],A=+g[B+2976+(b<<4)+8>>2],H=+g[B+1984+(b<<4)>>2],G=+g[B+1984+(b<<4)+4>>2],F=+g[B+1984+(b<<4)+8>>2],A=t*(H*+g[i>>2]+G*+g[i+4>>2]+F*+g[i+8>>2]+ +g[i+48>>2]-(E*+g[h>>2]+D*+g[h+4>>2]+A*+g[h+8>>2]+ +g[h+48>>2]))+v*(H*+g[i+16>>2]+G*+g[i+20>>2]+F*+g[i+24>>2]+ +g[i+52>>2]-(E*+g[h+16>>2]+D*+g[h+20>>2]+A*+g[h+24>>2]+ +g[h+52>>2]))+y*(z?0.0:H*+g[i+32>>2]+G*+g[i+36>>2]+F*+g[i+40>>2]+ +g[i+56>>2]-(E*+g[h+32>>2]+D*+g[h+36>>2]+A*+g[h+40>>2]+ +g[h+56>>2])),A>2]|0){case 4:case 5:case 10:case 11:case 13:case 1:case 0:case 8:break;default:+va[c[(c[e>>2]|0)+48>>2]&15](e)}switch(c[f+4>>2]|0){case 4:case 5:case 10:case 11:case 13:case 1:case 0:case 8:break;default:+va[c[(c[f>>2]|0)+48>>2]&15](f)}if(u<0.0){C=0;sa=B;return C|0}switch(c[e+4>>2]|0){case 8:{n=+g[e+28>>2]*+g[e+12>>2];break}case 0:{n=+g[e+44>>2];break}case 1:{n=+g[e+44>>2];break}case 13:{n=+g[e+44>>2];break}case 11:{n=+g[e+44>>2];break}case 10:{n=+g[e+44>>2];break}case 4:case 5:{n=+g[e+44>>2];break}default:n=+va[c[(c[e>>2]|0)+48>>2]&15](e)}b=c[f+4>>2]|0;switch(b|0){case 8:{r=+g[f+28>>2]*+g[f+12>>2];b=8;break}case 0:{r=+g[f+44>>2];b=0;break}case 1:{r=+g[f+44>>2];b=1;break}case 13:{r=+g[f+44>>2];b=13;break}case 11:{r=+g[f+44>>2];b=11;break}case 10:{r=+g[f+44>>2];b=10;break}case 4:case 5:{r=+g[f+44>>2];break}default:{r=+va[c[(c[f>>2]|0)+48>>2]&15](f);b=c[f+4>>2]|0}}n=u+(n+r+.5);c[B+4144>>2]=12116;c[B+4144+4>>2]=0;c[B+4144+8>>2]=1065353216;c[B+4144+12>>2]=0;g[B+4144+16>>2]=0.0;c[B+4144+20>>2]=0;c[B+4144+24>>2]=d;c[B+4144+28>>2]=e;c[B+4144+32>>2]=f;c[B+4144+36>>2]=c[e+4>>2];c[B+4144+40>>2]=b;g[B+4144+44>>2]=+va[c[(c[e>>2]|0)+48>>2]&15](e);g[B+4144+48>>2]=+va[c[(c[f>>2]|0)+48>>2]&15](f);a[B+4144+52>>0]=0;c[B+4144+60>>2]=-1;c[B+4144+72>>2]=1;c[B+4144+76>>2]=1;F=t*n+ +g[h+48>>2];G=v*n+ +g[h+52>>2];H=w*n+ +g[h+56>>2];c[B+4012>>2]=c[h>>2];c[B+4012+4>>2]=c[h+4>>2];c[B+4012+8>>2]=c[h+8>>2];c[B+4012+12>>2]=c[h+12>>2];c[B+4012+16>>2]=c[h+16>>2];c[B+4012+16+4>>2]=c[h+16+4>>2];c[B+4012+16+8>>2]=c[h+16+8>>2];c[B+4012+16+12>>2]=c[h+16+12>>2];c[B+4012+32>>2]=c[h+32>>2];c[B+4012+32+4>>2]=c[h+32+4>>2];c[B+4012+32+8>>2]=c[h+32+8>>2];c[B+4012+32+12>>2]=c[h+32+12>>2];g[B+4012+48>>2]=F;g[B+4012+52>>2]=G;g[B+4012+56>>2]=H;g[B+4012+60>>2]=0.0;c[B+4012+64>>2]=c[i>>2];c[B+4012+64+4>>2]=c[i+4>>2];c[B+4012+64+8>>2]=c[i+8>>2];c[B+4012+64+12>>2]=c[i+12>>2];c[B+4012+80>>2]=c[i+16>>2];c[B+4012+80+4>>2]=c[i+16+4>>2];c[B+4012+80+8>>2]=c[i+16+8>>2];c[B+4012+80+12>>2]=c[i+16+12>>2];c[B+4012+96>>2]=c[i+32>>2];c[B+4012+96+4>>2]=c[i+32+4>>2];c[B+4012+96+8>>2]=c[i+32+8>>2];c[B+4012+96+12>>2]=c[i+32+12>>2];c[B+4012+112>>2]=c[i+48>>2];c[B+4012+112+4>>2]=c[i+48+4>>2];c[B+4012+112+8>>2]=c[i+48+8>>2];c[B+4012+112+12>>2]=c[i+48+12>>2];g[B+4012+128>>2]=999999984306749440.0;c[B+3968>>2]=12e3;a[B+3968+40>>0]=0;g[B+4144+4>>2]=-t;g[B+4144+8>>2]=-v;g[B+4144+12>>2]=-w;g[B+4144+16>>2]=0.0;Ub(B+4144|0,B+4012|0,B+3968|0,m,0);n=n-+g[B+3968+36>>2];b=a[B+3968+40>>0]|0;if(b<<24>>24){C=B+3968+20|0;G=+g[B+3968+24>>2]-v*n;H=+g[B+3968+28>>2]-w*n;g[k>>2]=+g[C>>2]-t*n;g[k+4>>2]=G;g[k+8>>2]=H;g[k+12>>2]=0.0;c[l>>2]=c[C>>2];c[l+4>>2]=c[C+4>>2];c[l+8>>2]=c[C+8>>2];c[l+12>>2]=c[C+12>>2];g[j>>2]=t;g[j+4>>2]=v;g[j+8>>2]=w;g[j+12>>2]=s}C=b<<24>>24!=0;sa=B;return C|0}function Xb(d,e){d=d|0;e=+e;var f=0,h=0,i=0,j=0,k=0.0,l=0.0,m=0.0,n=0.0,o=0,p=0,q=0,r=0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0,A=0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0,I=0.0,J=0.0,K=0.0,L=0.0,M=0.0;A=sa;sa=sa+464|0;Ki(16202);f=c[d+84>>2]|0;if(f|0)Qa[f&31](d,e);Qa[c[(c[d>>2]|0)+140>>2]&31](d,e);g[d+28>>2]=e;c[d+32>>2]=0;c[d+48>>2]=Fa[c[(c[d>>2]|0)+20>>2]&127](d)|0;Ki(16245);Ki(16270);f=c[d+316>>2]|0;if((c[d+308>>2]|0)>0){h=0;do{r=c[d+24>>2]|0;Va[c[(c[r>>2]|0)+16>>2]&127](r,c[f+(h<<2)>>2]|0);h=h+1|0;f=c[d+316>>2]|0}while((h|0)<(c[d+308>>2]|0))}if(f|0){if(a[d+320>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[f+-4>>2]|0)}c[d+316>>2]=0}a[d+320>>0]=1;c[d+316>>2]=0;c[d+308>>2]=0;c[d+312>>2]=0;f=c[3084]|0;r=(c[f+16>>2]|0)+-1|0;c[f+16>>2]=r;do if(!r){if(c[f+4>>2]|0){la(A+368|0,0)|0;r=c[7181]|0;g[f+8>>2]=+g[f+8>>2]+ +(((c[A+368+4>>2]|0)-(c[r+4>>2]|0)+(((c[A+368>>2]|0)-(c[r>>2]|0)|0)*1e6|0)-(c[f+12>>2]|0)|0)>>>0)/1.0e3;if(c[f+16>>2]|0)break;f=c[3084]|0}c[3084]=c[f+20>>2]}while(0);a:do if((c[d+232>>2]|0)>0){r=A+304+48|0;q=A+368+44|0;p=0;while(1){j=c[(c[d+240>>2]|0)+(p<<2)>>2]|0;g[j+244>>2]=1.0;b:do switch(c[j+216>>2]|0){case 2:case 5:break;default:if(((c[j+204>>2]&3|0)==0?(jg(j+4|0,+g[j+312>>2],+g[j+316>>2],+g[j+320>>2],j+328|0,e,A+304|0),s=+g[r>>2],t=s-+g[j+52>>2],u=+g[A+304+52>>2],v=u-+g[j+56>>2],w=+g[A+304+56>>2],x=w-+g[j+60>>2],a[d+44>>0]|0):0)?(n=+g[j+252>>2],n*n!=0.0?n*n>2]|0)+4>>2]|0)<20?(c[6847]=(c[6847]|0)+1,i=c[d+68>>2]|0,i=Fa[c[(c[i>>2]|0)+36>>2]&127](i)|0,o=c[d+24>>2]|0,g[A+368+4>>2]=1.0,c[A+368+12>>2]=c[j+52>>2],c[A+368+12+4>>2]=c[j+52+4>>2],c[A+368+12+8>>2]=c[j+52+8>>2],c[A+368+12+12>>2]=c[j+52+12>>2],c[A+368+28>>2]=c[r>>2],c[A+368+28+4>>2]=c[r+4>>2],c[A+368+28+8>>2]=c[r+8>>2],c[A+368+28+12>>2]=c[r+12>>2],c[A+368+76>>2]=0,c[A+368>>2]=7092,c[A+368+80>>2]=j,c[A+368+88>>2]=i,c[A+368+92>>2]=o,o=c[j+248>>2]|0,c[A+248+8>>2]=0,c[A+248+12>>2]=1065353216,c[A+248+16>>2]=1065353216,c[A+248+20>>2]=1065353216,g[A+248+24>>2]=0.0,c[A+248>>2]=9480,c[A+248+4>>2]=8,c[A+248+28>>2]=o,c[A+248+44>>2]=o,c[A+368+84>>2]=c[d+56>>2],o=c[j+188>>2]|0,b[A+368+8>>1]=b[o+4>>1]|0,b[A+368+10>>1]=b[o+6>>1]|0,c[A+184+48>>2]=c[r>>2],c[A+184+48+4>>2]=c[r+4>>2],c[A+184+48+8>>2]=c[r+8>>2],c[A+184+48+12>>2]=c[r+12>>2],c[A+184>>2]=c[j+4>>2],c[A+184+4>>2]=c[j+4+4>>2],c[A+184+8>>2]=c[j+4+8>>2],c[A+184+12>>2]=c[j+4+12>>2],c[A+184+16>>2]=c[j+20>>2],c[A+184+16+4>>2]=c[j+20+4>>2],c[A+184+16+8>>2]=c[j+20+8>>2],c[A+184+16+12>>2]=c[j+20+12>>2],c[A+184+32>>2]=c[j+36>>2],c[A+184+32+4>>2]=c[j+36+4>>2],c[A+184+32+8>>2]=c[j+36+8>>2],c[A+184+32+12>>2]=c[j+36+12>>2],Tc(d,A+248|0,j+4|0,A+184|0,A+368|0,0.0),y=+g[A+368+4>>2],y<1.0):0){k=y*(s-+g[j+52>>2]);l=y*(u-+g[j+56>>2]);m=y*(w-+g[j+60>>2]);n=-(l*+g[A+368+48>>2])-k*+g[q>>2]-m*+g[A+368+52>>2];o=c[d+24>>2]|0;o=Ja[c[(c[o>>2]|0)+12>>2]&63](o,j,c[A+368+76>>2]|0)|0;h=c[d+308>>2]|0;if((h|0)==(c[d+312>>2]|0)?(z=(h|0)==0?1:h<<1,(h|0)<(z|0)):0){if(!z)f=0;else{c[7182]=(c[7182]|0)+1;f=xb((z<<2|3)+16|0)|0;if(!f)f=0;else{c[(f+4+15&-16)+-4>>2]=f;f=f+4+15&-16}h=c[d+308>>2]|0}if((h|0)>0){i=0;do{c[f+(i<<2)>>2]=c[(c[d+316>>2]|0)+(i<<2)>>2];i=i+1|0}while((i|0)!=(h|0))}i=c[d+316>>2]|0;if(i){if(a[d+320>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[i+-4>>2]|0);h=c[d+308>>2]|0}c[d+316>>2]=0}a[d+320>>0]=1;c[d+316>>2]=f;c[d+312>>2]=z;f=h}else f=h;c[(c[d+316>>2]|0)+(f<<2)>>2]=o;c[d+308>>2]=f+1;k=k+ +g[j+52>>2];l=l+ +g[j+56>>2];m=m+ +g[j+60>>2];i=c[A+368+76>>2]|0;M=+g[i+4>>2];L=+g[i+20>>2];K=+g[i+36>>2];J=+g[i+8>>2];I=+g[i+24>>2];H=+g[i+40>>2];G=+g[i+12>>2];E=+g[i+28>>2];C=+g[i+44>>2];F=-+g[i+52>>2];D=-+g[i+56>>2];B=-+g[i+60>>2];c[A>>2]=0;c[A+4>>2]=0;c[A+8>>2]=0;c[A+12>>2]=0;g[A+16>>2]=k*M+l*L+m*K+(M*F+L*D+K*B);g[A+20>>2]=k*J+l*I+m*H+(J*F+I*D+H*B);g[A+24>>2]=k*G+l*E+m*C+(G*F+E*D+C*B);g[A+28>>2]=0.0;c[A+64>>2]=c[q>>2];c[A+64+4>>2]=c[q+4>>2];c[A+64+8>>2]=c[q+8>>2];c[A+64+12>>2]=c[q+12>>2];g[A+80>>2]=n;g[A+84>>2]=0.0;g[A+88>>2]=0.0;g[A+92>>2]=0.0;c[A+112>>2]=0;a[A+116>>0]=0;c[A+120>>2]=0;c[A+120+4>>2]=0;c[A+120+8>>2]=0;c[A+120+12>>2]=0;c[A+120+16>>2]=0;c[A+120+20>>2]=0;c[A+120+24>>2]=0;c[A+120+28>>2]=0;i=Ce(o,A)|0;g[o+4+(i*184|0)+92>>2]=0.0;n=+g[j+224>>2]*+g[(c[A+368+76>>2]|0)+224>>2];n=n<-10.0?-10.0:n;g[o+4+(i*184|0)+84>>2]=n>10.0?10.0:n;c[o+4+(i*184|0)+48>>2]=c[j+52>>2];c[o+4+(i*184|0)+48+4>>2]=c[j+52+4>>2];c[o+4+(i*184|0)+48+8>>2]=c[j+52+8>>2];c[o+4+(i*184|0)+48+12>>2]=c[j+52+12>>2];g[o+4+(i*184|0)+32>>2]=k;g[o+4+(i*184|0)+36>>2]=l;g[o+4+(i*184|0)+40>>2]=m;g[o+4+(i*184|0)+44>>2]=0.0}f=c[3084]|0;o=(c[f+16>>2]|0)+-1|0;c[f+16>>2]=o;if(!o){if(c[f+4>>2]|0){la(A+368|0,0)|0;o=c[7181]|0;g[f+8>>2]=+g[f+8>>2]+ +(((c[A+368+4>>2]|0)-(c[o+4>>2]|0)+(((c[A+368>>2]|0)-(c[o>>2]|0)|0)*1e6|0)-(c[f+12>>2]|0)|0)>>>0)/1.0e3;if(c[f+16>>2]|0)break b;f=c[3084]|0}c[3084]=c[f+20>>2]}}}while(0);p=p+1|0;if((p|0)>=(c[d+232>>2]|0))break a}}while(0);f=c[3084]|0;z=(c[f+16>>2]|0)+-1|0;c[f+16>>2]=z;do if(!z){if(c[f+4>>2]|0){la(A+368|0,0)|0;z=c[7181]|0;g[f+8>>2]=+g[f+8>>2]+ +(((c[A+368+4>>2]|0)-(c[z+4>>2]|0)+(((c[A+368>>2]|0)-(c[z>>2]|0)|0)*1e6|0)-(c[f+12>>2]|0)|0)>>>0)/1.0e3;if(c[f+16>>2]|0)break;f=c[3084]|0}c[3084]=c[f+20>>2]}while(0);Pa[c[(c[d>>2]|0)+44>>2]&511](d);Pa[c[(c[d>>2]|0)+148>>2]&511](d);g[d+104>>2]=e;Va[c[(c[d>>2]|0)+152>>2]&127](d,d+92|0);Qa[c[(c[d>>2]|0)+144>>2]&31](d,e);Ki(16231);if((c[d+280>>2]|0)>0){f=0;do{z=c[(c[d+288>>2]|0)+(f<<2)>>2]|0;Wa[c[(c[z>>2]|0)+8>>2]&7](z,d,e);f=f+1|0}while((f|0)<(c[d+280>>2]|0))}f=c[3084]|0;z=(c[f+16>>2]|0)+-1|0;c[f+16>>2]=z;do if(!z){if(c[f+4>>2]|0){la(A+368|0,0)|0;z=c[7181]|0;g[f+8>>2]=+g[f+8>>2]+ +(((c[A+368+4>>2]|0)-(c[z+4>>2]|0)+(((c[A+368>>2]|0)-(c[z>>2]|0)|0)*1e6|0)-(c[f+12>>2]|0)|0)>>>0)/1.0e3;if(c[f+16>>2]|0)break;f=c[3084]|0}c[3084]=c[f+20>>2]}while(0);Qa[c[(c[d>>2]|0)+156>>2]&31](d,e);f=c[d+80>>2]|0;if(f|0)Qa[f&31](d,e);f=c[3084]|0;d=(c[f+16>>2]|0)+-1|0;c[f+16>>2]=d;if(d|0){sa=A;return}do if(c[f+4>>2]|0){la(A+368|0,0)|0;d=c[7181]|0;g[f+8>>2]=+g[f+8>>2]+ +(((c[A+368+4>>2]|0)-(c[d+4>>2]|0)+(((c[A+368>>2]|0)-(c[d>>2]|0)|0)*1e6|0)-(c[f+12>>2]|0)|0)>>>0)/1.0e3;if(!(c[f+16>>2]|0)){f=c[3084]|0;break}else{sa=A;return}}while(0);c[3084]=c[f+20>>2];sa=A;return}function Yb(b){b=b|0;var d=0,e=0.0,f=0.0,h=0.0,i=0,j=0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0,D=0,E=0,F=0,G=0,H=0.0,I=0.0,J=0.0,K=0.0,L=0.0,M=0.0;G=sa;sa=sa+192|0;Ki(15341);d=c[b+1112>>2]|0;if((d|0)>0){F=0;do{E=c[(c[b+1120>>2]|0)+(F<<2)>>2]|0;D=c[E+24>>2]|0;if(D){i=G+144+4|0;j=i+44|0;do{c[i>>2]=0;i=i+4|0}while((i|0)<(j|0));g[G+144>>2]=9.999999747378752e-05;g[G+144+20>>2]=1.9999999494757503e-04;g[G+144+40>>2]=2.9999998514540493e-04;if((D|0)>0){i=c[E+32>>2]|0;j=c[E+12>>2]|0;d=0;e=0.0;f=0.0;h=0.0;do{C=c[i+(d<<2)>>2]|0;B=+g[j+(d<<2)>>2];e=e+ +g[C+8>>2]*B;f=f+B*+g[C+12>>2];h=h+B*+g[C+16>>2];d=d+1|0}while((d|0)!=(D|0))}else{h=0.0;f=0.0;e=0.0}q=+g[E+128>>2];s=e*q;r=f*q;q=h*q;g[E+228>>2]=s;g[E+232>>2]=r;g[E+236>>2]=q;g[E+240>>2]=0.0;if((D|0)>0){i=c[E+32>>2]|0;j=c[E+52>>2]|0;d=0;e=9.999999747378752e-05;f=0.0;h=0.0;k=0.0;l=1.9999999494757503e-04;m=0.0;n=0.0;o=0.0;p=2.9999998514540493e-04;do{C=c[i+(d<<2)>>2]|0;w=+g[C+8>>2]-s;x=+g[C+12>>2]-r;A=+g[C+16>>2]-q;y=+g[j+(d<<4)>>2];z=+g[j+(d<<4)+4>>2];B=+g[j+(d<<4)+8>>2];e=w*y+e;f=w*z+f;h=w*B+h;k=x*y+k;l=x*z+l;m=x*B+m;n=A*y+n;o=A*z+o;p=A*B+p;d=d+1|0}while((d|0)!=(D|0));g[G+144>>2]=e;g[G+144+4>>2]=f;g[G+144+8>>2]=h;g[G+144+16>>2]=k;g[G+144+20>>2]=l;g[G+144+24>>2]=m;g[G+144+32>>2]=n;g[G+144+36>>2]=o;g[G+144+40>>2]=p}if((a[26680]|0)==0?mz(26680)|0:0){g[6830]=9.999999747378752e-05;c[6831]=16}oc(G+144|0,G+96|0,G+48|0);c[E+108>>2]=c[E+228>>2];c[E+108+4>>2]=c[E+228+4>>2];c[E+108+8>>2]=c[E+228+8>>2];c[E+108+12>>2]=c[E+228+12>>2];c[E+60>>2]=c[G+96>>2];c[E+60+4>>2]=c[G+96+4>>2];c[E+60+8>>2]=c[G+96+8>>2];c[E+60+12>>2]=c[G+96+12>>2];c[E+76>>2]=c[G+96+16>>2];c[E+76+4>>2]=c[G+96+16+4>>2];c[E+76+8>>2]=c[G+96+16+8>>2];c[E+76+12>>2]=c[G+96+16+12>>2];c[E+92>>2]=c[G+96+32>>2];c[E+92+4>>2]=c[G+96+32+4>>2];c[E+92+8>>2]=c[G+96+32+8>>2];c[E+92+12>>2]=c[G+96+32+12>>2];l=+g[E+132>>2];J=+g[E+60>>2];m=+g[E+148>>2];I=+g[E+64>>2];n=+g[E+164>>2];z=+g[E+68>>2];o=+g[E+136>>2];p=+g[E+152>>2];q=+g[E+168>>2];r=+g[E+140>>2];s=+g[E+156>>2];B=+g[E+172>>2];H=+g[E+76>>2];e=+g[E+80>>2];A=+g[E+84>>2];k=+g[E+92>>2];h=+g[E+96>>2];f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*M);g[E+332>>2]=m;l=I*M-L*H+l;g[E+336>>2]=l;e=K*H-I*J+e;g[E+340>>2]=e;d=d+1|0}while((d|0)!=(D|0));C=E+316|0;d=E+332|0}else{C=E+316|0;d=E+332|0;p=0.0;o=0.0;n=0.0;m=0.0;l=0.0;e=0.0}L=+g[E+128>>2];M=1.0-+g[E+356>>2];g[E+316>>2]=p*L*M;g[E+320>>2]=L*o*M;g[E+324>>2]=L*n*M;g[E+328>>2]=0.0;M=1.0-+g[E+360>>2];g[d>>2]=(t*m+u*l+v*e)*M;g[E+336>>2]=(m*w+l*x+e*y)*M;g[E+340>>2]=M*(m*z+l*A+e*B);g[E+344>>2]=0.0;i=E+244|0;j=i+72|0;do{c[i>>2]=0;i=i+4|0}while((i|0)<(j|0));e=+g[E+364>>2];a:do if(e>0.0?(c[E+24>>2]|0)>0:0){d=0;while(1){j=c[(c[E+32>>2]|0)+(d<<2)>>2]|0;i=c[E+52>>2]|0;H=+g[i+(d<<4)>>2];I=+g[i+(d<<4)+4>>2];J=+g[i+(d<<4)+8>>2];K=+g[j+8>>2];L=+g[j+12>>2];M=+g[j+16>>2];L=L+e*(H*+g[E+76>>2]+I*+g[E+80>>2]+J*+g[E+84>>2]+ +g[E+112>>2]-L);M=M+e*(H*k+I*h+J*f+ +g[E+116>>2]-M);g[j+8>>2]=K+e*(H*+g[E+60>>2]+I*+g[E+64>>2]+J*+g[E+68>>2]+ +g[E+108>>2]-K);g[j+12>>2]=L;g[j+16>>2]=M;g[j+20>>2]=0.0;d=d+1|0;if((d|0)>=(c[E+24>>2]|0))break a;k=+g[E+92>>2];h=+g[E+96>>2];f=+g[E+100>>2];e=+g[E+364>>2]}}while(0);if(a[E+377>>0]|0){i=c[E+32>>2]|0;j=c[i>>2]|0;e=+g[j+8>>2];p=+g[j+12>>2];q=+g[j+16>>2];f=+g[j+20>>2];if((D|0)>1){d=1;l=e;o=e;m=f;n=q;k=f;h=p;f=p;e=q;do{j=c[i+(d<<2)>>2]|0;J=+g[j+8>>2];o=J>2];f=K>2];n=L>2];k=M>2]=o;g[G+16+4>>2]=f;g[G+16+8>>2]=n;g[G+16+12>>2]=k;g[G+16+16>>2]=l;g[G+16+20>>2]=h;g[G+16+24>>2]=e;g[G+16+28>>2]=m;d=c[E+348>>2]|0;if(!d){d=c[b+1052>>2]|0;if(!d){c[7182]=(c[7182]|0)+1;d=xb(63)|0;if(!d)d=0;else{c[(d+4+15&-16)+-4>>2]=d;d=d+4+15&-16}i=d;j=i+44|0;do{c[i>>2]=0;i=i+4|0}while((i|0)<(j|0))}else c[b+1052>>2]=0;c[d+32>>2]=0;c[d+36>>2]=E;c[d+40>>2]=0;c[d>>2]=c[G+16>>2];c[d+4>>2]=c[G+16+4>>2];c[d+8>>2]=c[G+16+8>>2];c[d+12>>2]=c[G+16+12>>2];c[d+16>>2]=c[G+16+16>>2];c[d+20>>2]=c[G+16+20>>2];c[d+24>>2]=c[G+16+24>>2];c[d+28>>2]=c[G+16+28>>2];ue(b+1048|0,c[b+1048>>2]|0,d);c[b+1060>>2]=(c[b+1060>>2]|0)+1;c[E+348>>2]=d}else{K=+g[b+452>>2];L=K*+g[E+320>>2]*3.0;M=K*+g[E+324>>2]*3.0;g[G>>2]=+g[C>>2]*K*3.0;g[G+4>>2]=L;g[G+8>>2]=M;g[G+12>>2]=0.0;Bg(b+1048|0,d,G+16|0,G,+g[b+464>>2])|0}}d=c[b+1112>>2]|0}F=F+1|0}while((F|0)<(d|0))}d=c[3084]|0;b=(c[d+16>>2]|0)+-1|0;c[d+16>>2]=b;if(b|0){sa=G;return}do if(c[d+4>>2]|0){la(G+144|0,0)|0;b=c[7181]|0;g[d+8>>2]=+g[d+8>>2]+ +(((c[G+144+4>>2]|0)-(c[b+4>>2]|0)+(((c[G+144>>2]|0)-(c[b>>2]|0)|0)*1e6|0)-(c[d+12>>2]|0)|0)>>>0)/1.0e3;if(!(c[d+16>>2]|0)){d=c[3084]|0;break}else{sa=G;return}}while(0);c[3084]=c[d+20>>2];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g[L+32>>2]=s*p+(q*n+r*o)+D;g[L+32+4>>2]=n*t+o*u+p*v+E;g[L+32+8>>2]=n*y+o*B+p*C+F;g[L+32+12>>2]=0.0;_a[c[(c[h>>2]|0)+16>>2]&15](h,L+48|0,L+32|0,m)}if((c[f+4>>2]|0)<7?(c[(c[h+4>>2]|0)+748>>2]|0)<(c[b+24>>2]|0):0){j=+g[K+56>>2];if(+w(+j)>.7071067690849304){l=+g[K+52>>2];_=1.0/+x(+(j*j+l*l));k=0.0;l=l*_;j=-(j*_)}else{_=+g[K+48>>2];k=+g[K+52>>2];j=1.0/+x(+(_*_+k*k));k=-(k*j);l=0.0;j=_*j}H=.019999999552965164/+va[c[(c[f>>2]|0)+16>>2]&15](f);H=(H>.39269909262657166?.39269909262657166:H)*.5;G=+A(+H)/+x(+(k*k+j*j+l*l));J=k*G;I=j*G;G=l*G;H=+z(+H);f=c[b+20>>2]|0;if((f|0)>0){i=0;do{t=+g[K+48>>2];_=+g[K+52>>2];D=+g[K+56>>2];B=6.2831854820251465/+(f|0)*+(i|0)*.5;Z=+A(+B)/+x(+(t*t+_*_+D*D));B=+z(+B);C=G*-(_*Z)+(J*B+H*-(t*Z))-I*-(D*Z);v=J*-(D*Z)+(I*B+H*-(_*Z))-G*-(t*Z);ca=I*-(t*Z)+(G*B+H*-(D*Z))-J*-(_*Z);F=H*B-J*-(t*Z)-I*-(_*Z)-G*-(D*Z);ha=D*Z*v+(t*Z*F+B*C)-_*Z*ca;ga=t*Z*ca+(B*v+_*Z*F)-D*Z*C;ka=_*Z*C+(D*Z*F+B*ca)-t*Z*v;ca=B*F-t*Z*C-_*Z*v-D*Z*ca;N=(a[b+16>>0]|0)!=0;aa=N?e:d;N=N?d:e;f=c[aa+4>>2]|0;$=c[N+4>>2]|0;aa=c[aa+12>>2]|0;Z=+g[aa>>2];D=+g[aa+4>>2];v=+g[aa+8>>2];_=+g[aa+16>>2];C=+g[aa+20>>2];t=+g[aa+24>>2];F=+g[aa+32>>2];B=+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>>2]=N;if($){g[L+32>>2]=q*j+r*k+s*l;g[L+32+4>>2]=j*t+k*u+l*v;g[L+32+8>>2]=j*y+k*B+l*C;g[L+32+12>>2]=0.0;g[L+16>>2]=s*p+(q*n+r*o)+D;g[L+16+4>>2]=n*t+o*u+p*v+E;g[L+16+8>>2]=n*y+o*B+p*C+F;g[L+16+12>>2]=0.0;_a[c[(c[h>>2]|0)+16>>2]&15](h,L+32|0,L+16|0,m)}i=i+1|0;f=c[b+20>>2]|0}while((i|0)<(f|0))}}do if((a[b+8>>0]|0?c[(c[b+12>>2]|0)+748>>2]|0:0)?(M=c[h+4>>2]|0,c[M+748>>2]|0):0){f=c[M+740>>2]|0;i=c[(c[h+8>>2]|0)+8>>2]|0;if((f|0)==(i|0)){re(M,f+4|0,(c[(c[h+12>>2]|0)+8>>2]|0)+4|0);break}else{re(M,(c[(c[h+12>>2]|0)+8>>2]|0)+4|0,i+4|0);break}}while(0);sa=L;return}function _b(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var h=0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,y=0.0,z=0,A=0.0,B=0.0,C=0.0,D=0.0,E=0,F=0,G=0;G=sa;sa=sa+784|0;c[G+168+8>>2]=0;c[G+168+12>>2]=1065353216;c[G+168+16>>2]=1065353216;c[G+168+20>>2]=1065353216;g[G+168+24>>2]=0.0;c[G+168>>2]=9480;c[G+168+4>>2]=8;g[G+168+28>>2]=0.0;g[G+168+44>>2]=0.0;E=c[e+4>>2]|0;F=c[e+12>>2]|0;z=c[E+4>>2]|0;if((z|0)<20){c[G+600>>2]=6448;c[G+600+168>>2]=0;g[G+600+172>>2]=0.0;c[G+600+164>>2]=c[f+4>>2];g[G+240+308>>2]=9.999999747378752e-05;a[G+240+332>>0]=0;c[G+224>>2]=7772;c[G+224+4>>2]=G+240;c[G+224+8>>2]=G+168;c[G+224+12>>2]=E;c[G+152>>2]=12048;c[G+152+4>>2]=G+240;c[G+152+8>>2]=G+168;c[G+152+12>>2]=E;E=(c[f+16>>2]&8|0)==0?G+224|0:G+152|0;if((La[c[(c[E>>2]|0)+8>>2]&3](E,b,d,F,F,G+600|0)|0?(h=G+600+132|0,i=+g[h>>2],j=+g[G+600+136>>2],k=+g[G+600+140>>2],i*i+j*j+k*k>9.999999747378752e-05):0)?(l=+g[G+600+164>>2],l<+g[f+4>>2]):0){D=1.0/+x(+(i*i+j*j+k*k));g[h>>2]=i*D;g[G+600+136>>2]=j*D;g[G+600+140>>2]=k*D;c[G+120>>2]=c[e+8>>2];c[G+120+4>>2]=0;c[G+120+8>>2]=c[h>>2];c[G+120+8+4>>2]=c[h+4>>2];c[G+120+8+8>>2]=c[h+8>>2];c[G+120+8+12>>2]=c[h+12>>2];g[G+120+24>>2]=l;+ya[c[(c[f>>2]|0)+12>>2]&15](f,G+120|0,1)}sa=G;return}if((z+-21|0)>>>0>=9){if((z|0)!=31){sa=G;return}h=c[E+64>>2]|0;e=c[e+8>>2]|0;c[G+600>>2]=8568;c[G+600+4>>2]=e;c[G+600+8>>2]=E;c[G+600+12>>2]=F;c[G+600+16>>2]=b;c[G+600+20>>2]=d;c[G+600+24>>2]=f;if(!h){b=c[E+16>>2]|0;if((b|0)>0){h=0;do{ef(G+600|0,h);h=h+1|0}while((h|0)<(b|0))}}else{C=+g[F+48>>2];n=+g[b+48>>2]-C;B=+g[F+52>>2];o=+g[b+52>>2]-B;y=+g[F+56>>2];p=+g[b+56>>2]-y;s=+g[F>>2];r=+g[F+16>>2];q=+g[F+32>>2];v=+g[F+4>>2];u=+g[F+20>>2];t=+g[F+36>>2];D=+g[F+8>>2];A=+g[F+24>>2];w=+g[F+40>>2];g[G+240>>2]=n*s+o*r+p*q;g[G+240+4>>2]=n*v+o*u+p*t;g[G+240+8>>2]=n*D+o*A+p*w;g[G+240+12>>2]=0.0;C=+g[d+48>>2]-C;B=+g[d+52>>2]-B;y=+g[d+56>>2]-y;g[G+224>>2]=q*y+(r*B+C*s);g[G+224+4>>2]=t*y+(u*B+C*v);g[G+224+8>>2]=w*y+(A*B+C*D);g[G+224+12>>2]=0.0;Pd(c[h>>2]|0,G+240|0,G+224|0,G+600|0)}sa=G;return}i=+g[F>>2];r=+g[F+16>>2];s=+g[F+32>>2];j=+g[F+4>>2];v=+g[F+20>>2];w=+g[F+36>>2];k=+g[F+8>>2];A=+g[F+24>>2];B=+g[F+40>>2];C=-+g[F+48>>2];D=-+g[F+52>>2];y=-+g[F+56>>2];o=+g[b+48>>2];p=+g[b+52>>2];l=+g[b+56>>2];g[G+152>>2]=i*C+r*D+s*y+(i*o+r*p+s*l);g[G+152+4>>2]=j*C+v*D+w*y+(j*o+v*p+w*l);g[G+152+8>>2]=k*C+A*D+B*y+(k*o+A*p+B*l);g[G+152+12>>2]=0.0;t=+g[d+48>>2];u=+g[d+52>>2];q=+g[d+56>>2];i=i*C+r*D+s*y+(i*t+r*u+s*q);j=j*C+v*D+w*y+(j*t+v*u+w*q);k=k*C+A*D+B*y+(k*t+A*u+B*q);g[G+120>>2]=i;g[G+120+4>>2]=j;g[G+120+8>>2]=k;g[G+120+12>>2]=0.0;switch(z|0){case 21:{h=c[e+8>>2]|0;e=c[f+16>>2]|0;c[G+4>>2]=c[G+152>>2];c[G+4+4>>2]=c[G+152+4>>2];c[G+4+8>>2]=c[G+152+8>>2];c[G+4+12>>2]=c[G+152+12>>2];c[G+20>>2]=c[G+120>>2];c[G+20+4>>2]=c[G+120+4>>2];c[G+20+8>>2]=c[G+120+8>>2];c[G+20+12>>2]=c[G+120+12>>2];c[G+36>>2]=e;g[G+40>>2]=1.0;c[G>>2]=8520;c[G+44>>2]=f;c[G+48>>2]=h;c[G+52>>2]=E;c[G+56>>2]=c[F>>2];c[G+56+4>>2]=c[F+4>>2];c[G+56+8>>2]=c[F+8>>2];c[G+56+12>>2]=c[F+12>>2];c[G+72>>2]=c[F+16>>2];c[G+72+4>>2]=c[F+16+4>>2];c[G+72+8>>2]=c[F+16+8>>2];c[G+72+12>>2]=c[F+16+12>>2];c[G+88>>2]=c[F+32>>2];c[G+88+4>>2]=c[F+32+4>>2];c[G+88+8>>2]=c[F+32+8>>2];c[G+88+12>>2]=c[F+32+12>>2];c[G+104>>2]=c[F+48>>2];c[G+104+4>>2]=c[F+48+4>>2];c[G+104+8>>2]=c[F+48+8>>2];c[G+104+12>>2]=c[F+48+12>>2];c[G+40>>2]=c[f+4>>2];h=c[E+48>>2]|0;c[G+224>>2]=9692;c[G+224+4>>2]=h;c[G+224+8>>2]=G;h=c[E+52>>2]|0;c[G+600>>2]=0;c[G+600+4>>2]=0;c[G+600+8>>2]=0;c[G+600+12>>2]=0;c[G+240>>2]=0;c[G+240+4>>2]=0;c[G+240+8>>2]=0;c[G+240+12>>2]=0;if(!(a[h+60>>0]|0))Xd(h,G+224|0,G+152|0,i,j,k,G+600|0,G+240|0);else Dd(h,G+224|0,G+152|0,i,j,k,G+600|0,G+240|0,c[h+56>>2]|0);break}case 25:{e=c[e+8>>2]|0;z=c[f+16>>2]|0;c[G+600+4>>2]=c[G+152>>2];c[G+600+4+4>>2]=c[G+152+4>>2];c[G+600+4+8>>2]=c[G+152+8>>2];c[G+600+4+12>>2]=c[G+152+12>>2];c[G+600+20>>2]=c[G+120>>2];c[G+600+20+4>>2]=c[G+120+4>>2];c[G+600+20+8>>2]=c[G+120+8>>2];c[G+600+20+12>>2]=c[G+120+12>>2];c[G+600+36>>2]=z;g[G+600+40>>2]=1.0;c[G+600>>2]=8520;c[G+600+44>>2]=f;c[G+600+48>>2]=e;c[G+600+52>>2]=E;c[G+600+56>>2]=c[F>>2];c[G+600+56+4>>2]=c[F+4>>2];c[G+600+56+8>>2]=c[F+8>>2];c[G+600+56+12>>2]=c[F+12>>2];c[G+600+72>>2]=c[F+16>>2];c[G+600+72+4>>2]=c[F+16+4>>2];c[G+600+72+8>>2]=c[F+16+8>>2];c[G+600+72+12>>2]=c[F+16+12>>2];c[G+600+88>>2]=c[F+32>>2];c[G+600+88+4>>2]=c[F+32+4>>2];c[G+600+88+8>>2]=c[F+32+8>>2];c[G+600+88+12>>2]=c[F+32+12>>2];c[G+600+104>>2]=c[F+48>>2];c[G+600+104+4>>2]=c[F+48+4>>2];c[G+600+104+8>>2]=c[F+48+8>>2];c[G+600+104+12>>2]=c[F+48+12>>2];c[G+600+40>>2]=c[f+4>>2];ab[c[(c[E>>2]|0)+144>>2]&127](E,G+600|0,G+152|0,G+120|0);break}default:{k=+g[F>>2];j=+g[F+4>>2];i=+g[F+8>>2];m=s*l+(r*p+o*k)+(s*y+(r*D+k*C));n=w*l+(v*p+o*j)+(w*y+(v*D+j*C));l=B*l+(A*p+o*i)+(B*y+(A*D+i*C));k=s*q+(r*u+t*k)+(s*y+(r*D+k*C));j=w*q+(v*u+t*j)+(w*y+(v*D+j*C));i=B*q+(A*u+t*i)+(B*y+(A*D+i*C));e=c[e+8>>2]|0;z=c[f+16>>2]|0;g[G+600+4>>2]=m;g[G+600+8>>2]=n;g[G+600+12>>2]=l;g[G+600+16>>2]=0.0;g[G+600+20>>2]=k;g[G+600+24>>2]=j;g[G+600+28>>2]=i;g[G+600+32>>2]=0.0;c[G+600+36>>2]=z;g[G+600+40>>2]=1.0;c[G+600>>2]=8544;c[G+600+44>>2]=f;c[G+600+48>>2]=e;c[G+600+52>>2]=E;c[G+600+56>>2]=c[F>>2];c[G+600+56+4>>2]=c[F+4>>2];c[G+600+56+8>>2]=c[F+8>>2];c[G+600+56+12>>2]=c[F+12>>2];c[G+600+72>>2]=c[F+16>>2];c[G+600+72+4>>2]=c[F+16+4>>2];c[G+600+72+8>>2]=c[F+16+8>>2];c[G+600+72+12>>2]=c[F+16+12>>2];c[G+600+88>>2]=c[F+32>>2];c[G+600+88+4>>2]=c[F+32+4>>2];c[G+600+88+8>>2]=c[F+32+8>>2];c[G+600+88+12>>2]=c[F+32+12>>2];c[G+600+104>>2]=c[F+48>>2];c[G+600+104+4>>2]=c[F+48+4>>2];c[G+600+104+8>>2]=c[F+48+8>>2];c[G+600+104+12>>2]=c[F+48+12>>2];c[G+600+40>>2]=c[f+4>>2];g[G+240>>2]=m;g[G+240+4>>2]=n;g[G+240+8>>2]=l;g[G+240+12>>2]=0.0;if(k>2]=k;if(j>2]=j;if(i>2]=i;g[G+224>>2]=m;g[G+224+4>>2]=n;g[G+224+8>>2]=l;g[G+224+12>>2]=0.0;if(m>2]=k;if(n>2]=j;if(l>2]=i;ab[c[(c[E>>2]|0)+64>>2]&127](E,G+600|0,G+240|0,G+224|0)}}sa=G;return}function $b(b,e,f,g,h,i){b=b|0;e=+e;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0.0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;z=sa;sa=sa+560|0;c[z+536>>2]=0;y=z+540+12|0;Lv(e)|0;j=Q()|0;if((j|0)<0){Lv(-e)|0;e=-e;x=1;v=23755;j=Q()|0}else{x=(h&2049|0)!=0&1;v=(h&2048|0)==0?((h&1|0)==0?23756:23761):23758}do if(0==0&(j&2146435072|0)==2146435072){j=x+3|0;vm(b,32,f,j,h&-65537);fz(b,v,x);fz(b,e!=e|0.0!=0.0?(i&32|0?23782:23786):i&32|0?23774:23778,3);vm(b,32,f,j,h^8192)}else{n=+FH(e,z+536|0)*2.0;if(n!=0.0)c[z+536>>2]=(c[z+536>>2]|0)+-1;if((i|32|0)==97){p=(i&32|0)==0?v:v+9|0;o=x|2;do if(!(g>>>0>11|(12-g|0)==0)){e=8.0;j=12-g|0;do{j=j+-1|0;e=e*16.0}while((j|0)!=0);if((a[p>>0]|0)==45){e=-(e+(-n-e));break}else{e=n+e-e;break}}else e=n;while(0);k=c[z+536>>2]|0;j=(k|0)<0?0-k|0:k;j=kl(j,((j|0)<0)<<31>>31,y)|0;if((j|0)==(y|0)){a[z+540+11>>0]=48;j=z+540+11|0}a[j+-1>>0]=((31?k>>31:k)&2)+43;m=j+-2|0;a[m>>0]=i+15;j=z;do{x=~~e;k=j+1|0;a[j>>0]=i&32|d[480+x>>0];e=(e-+(x|0))*16.0;if((k-z|0)==1?!((h&8|0)==0&((g|0)<1&e==0.0)):0){a[k>>0]=46;j=j+2|0}else j=k}while(e!=0.0);l=j;if((g|0)!=0?(-2-z+l|0)<(g|0):0){g=g+2+y-m|0;j=y;k=m}else{g=y-z-m+l|0;j=y;k=m}y=g+o|0;vm(b,32,f,y,h);fz(b,p,o);vm(b,48,f,y,h^65536);fz(b,z,l-z|0);j=j-k|0;vm(b,48,g-(l-z+j)|0,0,0);fz(b,m,j);vm(b,32,f,y,h^8192);j=y;break}k=(g|0)<0?6:g;if(n!=0.0){j=(c[z+536>>2]|0)+-28|0;c[z+536>>2]=j;e=n*268435456.0}else{e=n;j=c[z+536>>2]|0}w=(j|0)<0?z+32|0:z+32+288|0;g=w;do{t=~~e>>>0;c[g>>2]=t;g=g+4|0;e=(e-+(t>>>0))*1.0e9}while(e!=0.0);if((j|0)>0){o=w;while(1){m=(j|0)<29?j:29;j=g+-4|0;if(j>>>0>=o>>>0){l=0;do{r=it(c[j>>2]|0,0,m|0)|0;r=xv(r|0,Q()|0,l|0,0)|0;s=Q()|0;l=VA(r|0,s|0,1e9,0)|0;t=Vr(l|0,Q()|0,-1e9,-1)|0;t=xv(r|0,s|0,t|0,Q()|0)|0;Q()|0;c[j>>2]=t;j=j+-4|0}while(j>>>0>=o>>>0);if(l){t=o+-4|0;c[t>>2]=l;l=t}else l=o}else l=o;a:do if(g>>>0>l>>>0){j=g;while(1){g=j+-4|0;if(c[g>>2]|0){g=j;break a}if(g>>>0>l>>>0)j=g;else break}}while(0);j=(c[z+536>>2]|0)-m|0;c[z+536>>2]=j;if((j|0)>0)o=l;else break}}else l=w;if((j|0)<0){do{p=0-j|0;p=(p|0)<9?p:9;if(l>>>0>>0){m=p?1e9>>>p:1e9;o=0;j=l;do{t=c[j>>2]|0;c[j>>2]=(p?t>>>p:t)+o;o=J(t&(1<>>0>>0);j=(c[l>>2]|0)==0?l+4|0:l;if(!o)l=j;else{c[g>>2]=o;g=g+4|0;l=j}}else l=(c[l>>2]|0)==0?l+4|0:l;j=(i|32|0)==102?w:l;t=g-j|0;g=((2?t>>2:t)|0)>(((k+25|0)/9|0)+1|0)?j+(((k+25|0)/9|0)+1<<2)|0:g;j=(c[z+536>>2]|0)+p|0;c[z+536>>2]=j}while((j|0)<0);j=l}else j=l;if(j>>>0>>0){l=w-j|0;l=(2?l>>2:l)*9|0;o=c[j>>2]|0;if(o>>>0>=10){m=10;do{m=m*10|0;l=l+1|0}while(o>>>0>=m>>>0)}}else l=0;m=k-((i|32|0)==102?0:l)+(((k|0)!=0&(i|32|0)==103)<<31>>31)|0;t=g-w|0;if((m|0)<(((2?t>>2:t)*9|0)+-9|0)){p=w+4+(((m+9216|0)/9|0)+-1024<<2)|0;m=m+9216+(J((m+9216|0)/9|0,-9)|0)|0;if((m|0)<8){o=10;while(1){o=o*10|0;if((m|0)<7)m=m+1|0;else break}}else o=10;q=c[p>>2]|0;m=(q>>>0)/(o>>>0)|0;s=J(m,o)|0;r=(p+4|0)==(g|0);if(!(r&(q-s|0)==0)){e=(m&1|0)==0?9007199254740992.0:9007199254740994.0;t=1?o>>>1:o;n=(q-s|0)>>>0>>0?.5:r&(q-s|0)==(t|0)?1.0:1.5;if(x){t=(a[v>>0]|0)==45;n=t?-n:n;e=t?-e:e}c[p>>2]=s;if(e+n!=e){t=s+o|0;c[p>>2]=t;if(t>>>0>999999999){m=p;while(1){l=m+-4|0;c[m>>2]=0;if(l>>>0>>0){j=j+-4|0;c[j>>2]=0}t=(c[l>>2]|0)+1|0;c[l>>2]=t;if(t>>>0>999999999)m=l;else{p=l;break}}}l=w-j|0;l=(2?l>>2:l)*9|0;o=c[j>>2]|0;if(o>>>0<10)m=p;else{m=10;do{m=m*10|0;l=l+1|0}while(o>>>0>=m>>>0);m=p}}else m=p}else m=p;s=m+4|0;g=g>>>0>s>>>0?s:g;s=j}else s=j;p=0-l|0;b:do if(g>>>0>s>>>0)while(1){j=g+-4|0;if(c[j>>2]|0){t=g;r=1;break b}if(j>>>0>s>>>0)g=j;else{t=j;r=0;break}}else{t=g;r=0}while(0);do if((i|32|0)==103){if((l|0)>-5?(k+(((k|0)!=0^1)&1)|0)>(l|0):0){m=i+-1|0;k=k+(((k|0)!=0^1)&1)+-1-l|0}else{m=i+-2|0;k=k+(((k|0)!=0^1)&1)+-1|0}if(!(h&8)){if(r?(u=c[t+-4>>2]|0,(u|0)!=0):0)if(!((u>>>0)%10|0)){j=0;g=10;do{g=g*10|0;j=j+1|0}while(!((u>>>0)%(g>>>0)|0|0))}else j=0;else j=9;g=t-w|0;g=((2?g>>2:g)*9|0)+-9|0;if((m|32|0)==102){i=g-j|0;i=(i|0)>0?i:0;k=(k|0)<(i|0)?k:i;break}else{i=g+l-j|0;i=(i|0)>0?i:0;k=(k|0)<(i|0)?k:i;break}}}else m=i;while(0);q=(k|0)!=0;g=q?1:(3?h>>>3:h)&1;o=(m|32|0)==102;if(o){p=0;j=(l|0)>0?l:0}else{j=(l|0)<0?p:l;j=kl(j,((j|0)<0)<<31>>31,y)|0;if((y-j|0)<2)do{j=j+-1|0;a[j>>0]=48}while((y-j|0)<2);a[j+-1>>0]=((31?l>>31:l)&2)+43;j=j+-2|0;a[j>>0]=m;p=j;j=y-j|0}j=x+1+k+g+j|0;vm(b,32,f,j,h);fz(b,v,x);vm(b,48,f,j,h^65536);if(o){m=s>>>0>w>>>0?w:s;l=m;do{g=kl(c[l>>2]|0,0,z+9|0)|0;if((l|0)==(m|0)){if((g|0)==(z+9|0)){a[z+8>>0]=48;g=z+8|0}}else if(g>>>0>z>>>0){mk(z|0,48,g-z|0)|0;do g=g+-1|0;while(g>>>0>z>>>0)}fz(b,g,z+9-g|0);l=l+4|0}while(l>>>0<=w>>>0);if(!((h&8|0)==0&(q^1)))fz(b,23790,1);if(l>>>0>>0&(k|0)>0)while(1){g=kl(c[l>>2]|0,0,z+9|0)|0;if(g>>>0>z>>>0){mk(z|0,48,g-z|0)|0;do g=g+-1|0;while(g>>>0>z>>>0)}fz(b,g,(k|0)<9?k:9);l=l+4|0;g=k+-9|0;if(!(l>>>0>>0&(k|0)>9)){k=g;break}else k=g}vm(b,48,k+9|0,9,0)}else{o=r?t:s+4|0;if(s>>>0>>0&(k|0)>-1){m=s;do{g=kl(c[m>>2]|0,0,z+9|0)|0;if((g|0)==(z+9|0)){a[z+8>>0]=48;g=z+8|0}do if((m|0)==(s|0)){l=g+1|0;fz(b,g,1);if((h&8|0)==0&(k|0)<1){g=l;break}fz(b,23790,1);g=l}else{if(g>>>0<=z>>>0)break;mk(z|0,48,g+(0-z)|0)|0;do g=g+-1|0;while(g>>>0>z>>>0)}while(0);x=z+9-g|0;fz(b,g,(k|0)>(x|0)?x:k);k=k-x|0;m=m+4|0}while(m>>>0>>0&(k|0)>-1)}vm(b,48,k+18|0,18,0);fz(b,p,y-p|0)}vm(b,32,f,j,h^8192)}while(0);sa=z;return ((j|0)<(f|0)?f:j)|0}function ac(b,d,e,f,h,i,j,k,l,m){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;var n=0.0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0.0;h=c[b+48>>2]|0;q=c[b+28>>2]|0;r=c[b+68>>2]|0;if(c[l+64>>2]&1|0){if((h|0)>0){i=c[b+136>>2]|0;f=0;p=c[b+192>>2]|0;do{m=i+(f<<2)|0;o=c[m>>2]|0;f=f+1|0;p=(J(p,1664525)|0)+1013904223|0;if(f>>>0<65537){e=(16?p>>>16:p)^p;if(f>>>0<257){e=(8?e>>>8:e)^e;if(f>>>0<17){e=(4?e>>>4:e)^e;u=(2?e>>>2:e)^e;e=f>>>0<5?(f>>>0<3?(1?u>>>1:u):0)^u:e}}}else e=p;u=i+(((e>>>0)%(f>>>0)|0)<<2)|0;c[m>>2]=c[u>>2];c[u>>2]=o}while((f|0)!=(h|0));c[b+192>>2]=p}if((c[l+20>>2]|0)>(d|0)){if((q|0)>0){h=c[b+116>>2]|0;f=0;o=c[b+192>>2]|0;do{i=h+(f<<2)|0;m=c[i>>2]|0;f=f+1|0;o=(J(o,1664525)|0)+1013904223|0;if(f>>>0<65537){e=(16?o>>>16:o)^o;if(f>>>0<257){e=(8?e>>>8:e)^e;if(f>>>0<17){e=(4?e>>>4:e)^e;u=(2?e>>>2:e)^e;e=f>>>0<5?(f>>>0<3?(1?u>>>1:u):0)^u:e}}}else e=o;u=h+(((e>>>0)%(f>>>0)|0)<<2)|0;c[i>>2]=c[u>>2];c[u>>2]=m}while((f|0)!=(q|0));c[b+192>>2]=o}if((r|0)>0){h=c[b+156>>2]|0;f=0;o=c[b+192>>2]|0;do{i=h+(f<<2)|0;m=c[i>>2]|0;f=f+1|0;o=(J(o,1664525)|0)+1013904223|0;if(f>>>0<65537){e=(16?o>>>16:o)^o;if(f>>>0<257){e=(8?e>>>8:e)^e;if(f>>>0<17){e=(4?e>>>4:e)^e;u=(2?e>>>2:e)^e;e=f>>>0<5?(f>>>0<3?(1?u>>>1:u):0)^u:e}}}else e=o;u=h+(((e>>>0)%(f>>>0)|0)<<2)|0;c[i>>2]=c[u>>2];c[u>>2]=m}while((f|0)!=(r|0));c[b+192>>2]=o}}}e=c[b+48>>2]|0;if(!(c[l+64>>2]&256)){if((e|0)>0){i=0;do{f=c[(c[b+136>>2]|0)+(i<<2)>>2]|0;h=c[b+56>>2]|0;if((c[h+(f*152|0)+136>>2]|0)>(d|0)){e=c[b+16>>2]|0;Tf(e+((c[h+(f*152|0)+144>>2]|0)*244|0)|0,e+((c[h+(f*152|0)+148>>2]|0)*244|0)|0,h+(f*152|0)|0);e=c[b+48>>2]|0}i=i+1|0}while((i|0)<(e|0))}if((c[l+20>>2]|0)<=(d|0))return 0.0;if((k|0)>0){e=0;do{f=j+(e<<2)|0;h=c[f>>2]|0;if(a[h+20>>0]|0){s=Xc(b,c[h+28>>2]|0,+g[l+12>>2])|0;u=Xc(b,c[(c[f>>2]|0)+32>>2]|0,+g[l+12>>2])|0;t=c[b+16>>2]|0;d=c[f>>2]|0;_a[c[(c[d>>2]|0)+24>>2]&15](d,t+(s*244|0)|0,t+(u*244|0)|0,+g[l+12>>2])}e=e+1|0}while((e|0)!=(k|0))}f=c[b+28>>2]|0;if((f|0)>0){e=0;do{u=c[(c[b+116>>2]|0)+(e<<2)>>2]|0;l=c[b+36>>2]|0;k=c[b+16>>2]|0;Zf(k+((c[l+(u*152|0)+144>>2]|0)*244|0)|0,k+((c[l+(u*152|0)+148>>2]|0)*244|0)|0,l+(u*152|0)|0);e=e+1|0}while((e|0)!=(f|0))}f=c[b+68>>2]|0;if((f|0)>0){e=0;do{h=c[(c[b+156>>2]|0)+(e<<2)>>2]|0;i=c[b+76>>2]|0;n=+g[(c[b+36>>2]|0)+((c[i+(h*152|0)+140>>2]|0)*152|0)+100>>2];if(n>0.0){n=n*+g[i+(h*152|0)+104>>2];g[i+(h*152|0)+120>>2]=-n;g[i+(h*152|0)+124>>2]=n;u=c[b+16>>2]|0;Tf(u+((c[i+(h*152|0)+144>>2]|0)*244|0)|0,u+((c[i+(h*152|0)+148>>2]|0)*244|0)|0,i+(h*152|0)|0)}e=e+1|0}while((e|0)!=(f|0))}f=c[b+88>>2]|0;if((f|0)<=0)return 0.0;e=0;do{h=c[b+96>>2]|0;n=+g[(c[b+36>>2]|0)+((c[h+(e*152|0)+140>>2]|0)*152|0)+100>>2];if(n>0.0){v=+g[h+(e*152|0)+104>>2];n=n*v>v?v:n*v;g[h+(e*152|0)+120>>2]=-n;g[h+(e*152|0)+124>>2]=n;u=c[b+16>>2]|0;Tf(u+((c[h+(e*152|0)+144>>2]|0)*244|0)|0,u+((c[h+(e*152|0)+148>>2]|0)*244|0)|0,h+(e*152|0)|0)}e=e+1|0}while((e|0)!=(f|0));return 0.0}if((e|0)>0){i=0;do{f=c[(c[b+136>>2]|0)+(i<<2)>>2]|0;h=c[b+56>>2]|0;if((c[h+(f*152|0)+136>>2]|0)>(d|0)){e=c[b+16>>2]|0;Tf(e+((c[h+(f*152|0)+144>>2]|0)*244|0)|0,e+((c[h+(f*152|0)+148>>2]|0)*244|0)|0,h+(f*152|0)|0);e=c[b+48>>2]|0}i=i+1|0}while((i|0)<(e|0))}if((c[l+20>>2]|0)<=(d|0))return 0.0;if((k|0)>0){e=0;do{f=j+(e<<2)|0;h=c[f>>2]|0;if(a[h+20>>0]|0){r=Xc(b,c[h+28>>2]|0,+g[l+12>>2])|0;u=Xc(b,c[(c[f>>2]|0)+32>>2]|0,+g[l+12>>2])|0;d=c[b+16>>2]|0;q=c[f>>2]|0;_a[c[(c[q>>2]|0)+24>>2]&15](q,d+(r*244|0)|0,d+(u*244|0)|0,+g[l+12>>2])}e=e+1|0}while((e|0)!=(k|0))}e=c[l+64>>2]|0;o=c[b+28>>2]|0;if(e&512|0){f=((4?e>>>4:e)&1)+1|0;if((o|0)<=0)return 0.0;e=0;do{h=c[(c[b+116>>2]|0)+(e<<2)>>2]|0;i=c[b+36>>2]|0;m=c[b+16>>2]|0;Zf(m+((c[i+(h*152|0)+144>>2]|0)*244|0)|0,m+((c[i+(h*152|0)+148>>2]|0)*244|0)|0,i+(h*152|0)|0);n=+g[i+(h*152|0)+100>>2];h=J(e,f)|0;i=c[(c[b+156>>2]|0)+(h<<2)>>2]|0;m=c[b+76>>2]|0;if(n>0.0){v=n*+g[m+(i*152|0)+104>>2];g[m+(i*152|0)+120>>2]=-v;g[m+(i*152|0)+124>>2]=v;u=c[b+16>>2]|0;Tf(u+((c[m+(i*152|0)+144>>2]|0)*244|0)|0,u+((c[m+(i*152|0)+148>>2]|0)*244|0)|0,m+(i*152|0)|0)}if(c[l+64>>2]&16|0?(s=c[(c[b+156>>2]|0)+(h+1<<2)>>2]|0,t=c[b+76>>2]|0,n>0.0):0){v=n*+g[t+(s*152|0)+104>>2];g[t+(s*152|0)+120>>2]=-v;g[t+(s*152|0)+124>>2]=v;u=c[b+16>>2]|0;Tf(u+((c[t+(s*152|0)+144>>2]|0)*244|0)|0,u+((c[t+(s*152|0)+148>>2]|0)*244|0)|0,t+(s*152|0)|0)}e=e+1|0}while((e|0)!=(o|0));return 0.0}if((o|0)>0){e=0;do{u=c[(c[b+116>>2]|0)+(e<<2)>>2]|0;l=c[b+36>>2]|0;k=c[b+16>>2]|0;Zf(k+((c[l+(u*152|0)+144>>2]|0)*244|0)|0,k+((c[l+(u*152|0)+148>>2]|0)*244|0)|0,l+(u*152|0)|0);e=e+1|0}while((e|0)!=(o|0))}f=c[b+68>>2]|0;if((f|0)>0){e=0;do{h=c[(c[b+156>>2]|0)+(e<<2)>>2]|0;i=c[b+76>>2]|0;n=+g[(c[b+36>>2]|0)+((c[i+(h*152|0)+140>>2]|0)*152|0)+100>>2];if(n>0.0){v=n*+g[i+(h*152|0)+104>>2];g[i+(h*152|0)+120>>2]=-v;g[i+(h*152|0)+124>>2]=v;u=c[b+16>>2]|0;Tf(u+((c[i+(h*152|0)+144>>2]|0)*244|0)|0,u+((c[i+(h*152|0)+148>>2]|0)*244|0)|0,i+(h*152|0)|0)}e=e+1|0}while((e|0)!=(f|0))}f=c[b+88>>2]|0;if((f|0)<=0)return 0.0;e=0;do{h=c[b+96>>2]|0;n=+g[(c[b+36>>2]|0)+((c[h+(e*152|0)+140>>2]|0)*152|0)+100>>2];if(n>0.0){v=+g[h+(e*152|0)+104>>2];v=n*v>v?v:n*v;g[h+(e*152|0)+120>>2]=-v;g[h+(e*152|0)+124>>2]=v;u=c[b+16>>2]|0;Tf(u+((c[h+(e*152|0)+144>>2]|0)*244|0)|0,u+((c[h+(e*152|0)+148>>2]|0)*244|0)|0,h+(e*152|0)|0)}e=e+1|0}while((e|0)!=(f|0));return 0.0}function bc(d,e,f,g,i){d=d|0;e=e|0;f=f|0;g=g|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=sa;sa=sa+64|0;c[w+56>>2]=e;v=w+40|0;j=0;e=0;n=0;a:while(1){do{do if((e|0)>-1)if((j|0)>(2147483647-e|0)){c[7184]=75;e=-1;break}else{e=j+e|0;break}while(0);r=c[w+56>>2]|0;j=a[r>>0]|0;if(!(j<<24>>24)){u=93;break a}k=r;b:while(1){switch(j<<24>>24){case 37:{u=10;break b}case 0:{j=k;break b}default:{}}t=k+1|0;c[w+56>>2]=t;j=a[t>>0]|0;k=t}c:do if((u|0)==10){u=0;j=k;do{if((a[k+1>>0]|0)!=37)break c;j=j+1|0;k=k+2|0;c[w+56>>2]=k}while((a[k>>0]|0)==37)}while(0);j=j-r|0;if(d|0)fz(d,r,j)}while((j|0)!=0);k=c[w+56>>2]|0;j=a[k+1>>0]|0;if(!(RH(j)|0)){q=-1;j=1}else{t=(a[k+2>>0]|0)==36;q=t?j+-48|0:-1;n=t?1:n;j=t?3:1}l=k+j|0;c[w+56>>2]=l;j=a[l>>0]|0;if(((j<<24>>24)+-32|0)>>>0>31|(1<<(j<<24>>24)+-32&75913|0)==0)k=0;else{k=0;m=(j<<24>>24)+-32|0;j=l;while(1){k=1<>2]=l;j=a[l>>0]|0;m=(j<<24>>24)+-32|0;if(m>>>0>31|(1<>24==42){m=l+1|0;j=a[m>>0]|0;if((RH(j)|0)!=0?(a[l+2>>0]|0)==36:0){c[i+(j+-48<<2)>>2]=10;j=c[g+((a[m>>0]|0)+-48<<3)>>2]|0;n=1;m=l+3|0}else{if(n|0){e=-1;break}if(d|0){n=(c[f>>2]|0)+(4-1)&~(4-1);j=c[n>>2]|0;c[f>>2]=n+4;n=0}else{j=0;n=0}}c[w+56>>2]=m;s=(j|0)<0;t=s?0-j|0:j;k=s?k|8192:k}else{j=yo(w+56|0)|0;if((j|0)<0){e=-1;break}t=j;m=c[w+56>>2]|0}do if((a[m>>0]|0)==46){j=m+1|0;if((a[j>>0]|0)!=42){c[w+56>>2]=j;o=yo(w+56|0)|0;j=c[w+56>>2]|0;break}l=m+2|0;j=a[l>>0]|0;if(RH(j)|0?(a[m+3>>0]|0)==36:0){c[i+(j+-48<<2)>>2]=10;o=c[g+((a[l>>0]|0)+-48<<3)>>2]|0;j=m+4|0;c[w+56>>2]=j;break}if(n|0){e=-1;break a}if(d|0){s=(c[f>>2]|0)+(4-1)&~(4-1);j=c[s>>2]|0;c[f>>2]=s+4}else j=0;c[w+56>>2]=l;o=j;j=l}else{o=-1;j=m}while(0);p=0;while(1){if(((a[j>>0]|0)+-65|0)>>>0>57){e=-1;break a}l=j+1|0;c[w+56>>2]=l;m=a[(a[j>>0]|0)+-65+(16+(p*58|0))>>0]|0;if(((m&255)+-1|0)>>>0<8){p=m&255;j=l}else break}if(!(m<<24>>24)){e=-1;break}l=(q|0)>-1;do if(m<<24>>24==19)if(l){e=-1;break a}else u=52;else{if(l){c[i+(q<<2)>>2]=m&255;s=g+(q<<3)|0;u=c[s+4>>2]|0;c[w+40>>2]=c[s>>2];c[w+40+4>>2]=u;u=52;break}if(!d){e=0;break a}eg(w+40|0,m&255,f);u=53}while(0);if((u|0)==52){u=0;if(d|0)u=53;else j=0}d:do if((u|0)==53){u=0;j=a[j>>0]|0;j=(p|0)!=0&(j&15|0)==3?j&-33:j;l=k&-65537;s=(k&8192|0)==0?k:l;e:do switch(j|0){case 110:switch((p&255)<<24>>24){case 0:{c[c[w+40>>2]>>2]=e;j=0;break d}case 1:{c[c[w+40>>2]>>2]=e;j=0;break d}case 2:{j=c[w+40>>2]|0;c[j>>2]=e;c[j+4>>2]=((e|0)<0)<<31>>31;j=0;break d}case 3:{b[c[w+40>>2]>>1]=e;j=0;break d}case 4:{a[c[w+40>>2]>>0]=e;j=0;break d}case 6:{c[c[w+40>>2]>>2]=e;j=0;break d}case 7:{j=c[w+40>>2]|0;c[j>>2]=e;c[j+4>>2]=((e|0)<0)<<31>>31;j=0;break d}default:{j=0;break d}}case 112:{j=120;k=o>>>0>8?o:8;l=s|8;u=65;break}case 88:case 120:{k=o;l=s;u=65;break}case 111:{j=c[w+40>>2]|0;k=c[w+40+4>>2]|0;l=tq(j,k,w+40|0)|0;p=l;q=0;m=23738;o=(s&8|0)==0|(o|0)>(v-l|0)?o:v-l+1|0;l=s;u=71;break}case 105:case 100:{j=c[w+40>>2]|0;k=c[w+40+4>>2]|0;if((k|0)<0){j=lv(0,0,j|0,k|0)|0;k=Q()|0;c[w+40>>2]=j;c[w+40+4>>2]=k;l=1;m=23738;u=70;break e}else{l=(s&2049|0)!=0&1;m=(s&2048|0)==0?((s&1|0)==0?23738:23740):23739;u=70;break e}}case 117:{l=0;m=23738;j=c[w+40>>2]|0;k=c[w+40+4>>2]|0;u=70;break}case 99:{a[w+39>>0]=c[w+40>>2];r=w+39|0;q=0;m=23738;p=1;k=l;j=v;break}case 109:{j=QH(c[7184]|0)|0;u=75;break}case 115:{j=c[w+40>>2]|0;j=(j|0)==0?23748:j;u=75;break}case 67:{c[w+48>>2]=c[w+40>>2];c[w+48+4>>2]=0;c[w+40>>2]=w+48;o=-1;l=w+48|0;u=80;break}case 83:if(!o){vm(d,32,t,0,s);j=0;u=90;break e}else{l=c[w+40>>2]|0;u=80;break e}case 65:case 71:case 70:case 69:case 97:case 103:case 102:case 101:{j=$b(d,+h[w+40>>3],t,o,s,j)|0;break d}default:{q=0;m=23738;p=o;k=s;j=v}}while(0);f:do if((u|0)==65){r=c[w+40>>2]|0;s=c[w+40+4>>2]|0;p=tp(r,s,w+40|0,j&32)|0;m=(l&8|0)==0|(r|0)==0&(s|0)==0;q=m?0:2;m=m?23738:23738+(4?j>>>4:j)|0;o=k;j=r;k=s;u=71}else if((u|0)==70){p=kl(j,k,w+40|0)|0;q=l;l=s;u=71}else if((u|0)==75){u=0;s=yi(j,o)|0;r=j;q=0;m=23738;p=(s|0)==0?o:s-j|0;k=l;j=(s|0)==0?j+o|0:s}else if((u|0)==80){u=0;m=l;j=0;while(1){k=c[m>>2]|0;if(!k)break;k=nA(w+60|0,k)|0;if((k|0)<0|k>>>0>(o-j|0)>>>0){u=84;break}j=k+j|0;if(o>>>0>j>>>0)m=m+4|0;else break}if((u|0)==84){u=0;if((k|0)<0){e=-1;break a}}vm(d,32,t,j,s);if(!j){j=0;u=90}else{m=0;while(1){k=c[l>>2]|0;if(!k){u=90;break f}k=nA(w+60|0,k)|0;m=k+m|0;if((m|0)>(j|0)){u=90;break f}fz(d,w+60|0,k);if(m>>>0>=j>>>0){u=90;break}else l=l+4|0}}}while(0);if((u|0)==71){u=0;k=(j|0)!=0|(k|0)!=0;j=(o|0)!=0|k;k=v-p+((k^1)&1)|0;r=j?p:w+40|0;p=j?((o|0)>(k|0)?o:k):0;k=(o|0)>-1?l&-65537:l;j=v}else if((u|0)==90){u=0;vm(d,32,t,j,s^8192);j=(t|0)>(j|0)?t:j;break}o=j-r|0;p=(p|0)<(o|0)?o:p;s=p+q|0;j=(t|0)<(s|0)?s:t;vm(d,32,j,s,k);fz(d,m,q);vm(d,48,j,s,k^65536);vm(d,48,p,o,0);fz(d,r,o);vm(d,32,j,s,k^8192)}while(0)}g:do if((u|0)==93)if(!d)if(!n)e=0;else{e=1;while(1){j=c[i+(e<<2)>>2]|0;if(!j)break;eg(g+(e<<3)|0,j,f);e=e+1|0;if(e>>>0>=10){e=1;break g}}k=0;while(1){j=e+1|0;if(k|0){e=-1;break g}if(j>>>0>=10){e=1;break g}e=j;k=c[i+(j<<2)>>2]|0}}while(0);sa=w;return e|0}function cc(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var h=0,i=0,j=0,k=0,l=0.0,m=0.0,n=0.0,o=0,p=0.0,q=0,r=0,s=0.0;o=sa;sa=sa+80|0;i=c[b+28>>2]|0;d=c[f+64>>2]|0;if((d&4|0)!=0&(i|0)>0){e=c[b+36>>2]|0;h=c[b+76>>2]|0;if(!(d&16)){d=0;do{k=c[e+(d*152|0)+132>>2]|0;c[k+120>>2]=c[e+(d*152|0)+100>>2];c[k+124>>2]=c[h+((c[e+(d*152|0)+140>>2]|0)*152|0)+100>>2];d=d+1|0}while((d|0)!=(i|0))}else{d=0;do{k=c[e+(d*152|0)+132>>2]|0;c[k+120>>2]=c[e+(d*152|0)+100>>2];j=c[e+(d*152|0)+140>>2]|0;c[k+124>>2]=c[h+(j*152|0)+100>>2];c[k+128>>2]=c[h+((j+1|0)*152|0)+100>>2];d=d+1|0}while((d|0)!=(i|0))}}h=c[b+48>>2]|0;if((h|0)>0){d=0;do{i=c[b+56>>2]|0;j=c[i+(d*152|0)+132>>2]|0;k=c[j+44>>2]|0;e=i+(d*152|0)+100|0;if(k|0){n=+g[e>>2];r=c[j+28>>2]|0;m=1.0/+g[f+12>>2];l=n*+g[i+(d*152|0)+20>>2]*+g[r+352>>2]*m;p=n*+g[i+(d*152|0)+24>>2]*+g[r+356>>2]*m;g[k>>2]=+g[k>>2]+ +g[i+(d*152|0)+16>>2]*n*+g[r+348>>2]*m;g[k+4>>2]=l+ +g[k+4>>2];g[k+8>>2]=p+ +g[k+8>>2];p=+g[e>>2];q=c[j+32>>2]|0;l=1.0/+g[f+12>>2];m=p*+g[i+(d*152|0)+52>>2]*+g[q+352>>2]*l;n=p*+g[i+(d*152|0)+56>>2]*+g[q+356>>2]*l;g[k+32>>2]=+g[k+32>>2]+ +g[i+(d*152|0)+48>>2]*p*+g[q+348>>2]*l;g[k+36>>2]=m+ +g[k+36>>2];g[k+40>>2]=n+ +g[k+40>>2];n=+g[e>>2];m=1.0/+g[f+12>>2];l=+g[i+(d*152|0)+4>>2]*+g[r+548>>2]*n*m;p=n*+g[i+(d*152|0)+8>>2]*+g[r+552>>2]*m;g[k+16>>2]=+g[k+16>>2]+ +g[i+(d*152|0)>>2]*+g[r+544>>2]*n*m;g[k+20>>2]=l+ +g[k+20>>2];g[k+24>>2]=p+ +g[k+24>>2];p=+g[e>>2];l=1.0/+g[f+12>>2];m=+g[i+(d*152|0)+36>>2]*+g[q+548>>2]*p*l;n=p*+g[i+(d*152|0)+40>>2]*+g[q+552>>2]*l;g[k+48>>2]=+g[k+48>>2]+ +g[i+(d*152|0)+32>>2]*+g[q+544>>2]*p*l;g[k+52>>2]=m+ +g[k+52>>2];g[k+56>>2]=n+ +g[k+56>>2]}p=+g[e>>2];g[j+36>>2]=p;p=+w(+p);if(p>=+g[j+16>>2])a[j+20>>0]=0;d=d+1|0}while((d|0)!=(h|0))}d=c[b+8>>2]|0;if((d|0)>0){j=0;e=c[b+16>>2]|0;do{h=e+(j*244|0)|0;i=c[e+(j*244|0)+240>>2]|0;if(i){if(!(c[f+44>>2]|0)){h=e+(j*244|0)+176|0;m=+g[e+(j*244|0)+64>>2]+ +g[h>>2];g[h>>2]=m;h=e+(j*244|0)+180|0;n=+g[e+(j*244|0)+68>>2]+ +g[h>>2];g[h>>2]=n;h=e+(j*244|0)+184|0;l=+g[e+(j*244|0)+72>>2]+ +g[h>>2];g[h>>2]=l;h=e+(j*244|0)+192|0;g[h>>2]=+g[e+(j*244|0)+80>>2]+ +g[h>>2];h=e+(j*244|0)+196|0;g[h>>2]=+g[e+(j*244|0)+84>>2]+ +g[h>>2];h=e+(j*244|0)+200|0;g[h>>2]=+g[e+(j*244|0)+88>>2]+ +g[h>>2];h=e;d=i}else{l=+g[f+12>>2];m=+g[f+52>>2];d=e+(j*244|0)+176|0;g[d>>2]=+g[e+(j*244|0)+64>>2]+ +g[d>>2];d=e+(j*244|0)+180|0;g[d>>2]=+g[e+(j*244|0)+68>>2]+ +g[d>>2];d=e+(j*244|0)+184|0;g[d>>2]=+g[e+(j*244|0)+72>>2]+ +g[d>>2];d=e+(j*244|0)+192|0;g[d>>2]=+g[e+(j*244|0)+80>>2]+ +g[d>>2];d=e+(j*244|0)+196|0;g[d>>2]=+g[e+(j*244|0)+84>>2]+ +g[d>>2];d=e+(j*244|0)+200|0;g[d>>2]=+g[e+(j*244|0)+88>>2]+ +g[d>>2];n=+g[e+(j*244|0)+144>>2];d=e+(j*244|0)+148|0;if(((((!(n!=0.0)?!(+g[d>>2]!=0.0):0)?!(+g[e+(j*244|0)+152>>2]!=0.0):0)?!(+g[e+(j*244|0)+160>>2]!=0.0):0)?!(+g[e+(j*244|0)+164>>2]!=0.0):0)?!(+g[e+(j*244|0)+168>>2]!=0.0):0)d=i;else{s=+g[e+(j*244|0)+164>>2]*m;p=+g[e+(j*244|0)+168>>2]*m;g[o>>2]=+g[e+(j*244|0)+160>>2]*m;g[o+4>>2]=s;g[o+8>>2]=p;g[o+12>>2]=0.0;jg(h,n,+g[d>>2],+g[e+(j*244|0)+152>>2],o,l,o+16|0);c[h>>2]=c[o+16>>2];c[h+4>>2]=c[o+16+4>>2];c[h+8>>2]=c[o+16+8>>2];c[h+12>>2]=c[o+16+12>>2];d=e+(j*244|0)+16|0;c[d>>2]=c[o+16+16>>2];c[d+4>>2]=c[o+16+16+4>>2];c[d+8>>2]=c[o+16+16+8>>2];c[d+12>>2]=c[o+16+16+12>>2];d=e+(j*244|0)+32|0;c[d>>2]=c[o+16+32>>2];c[d+4>>2]=c[o+16+32+4>>2];c[d+8>>2]=c[o+16+32+8>>2];c[d+12>>2]=c[o+16+32+12>>2];d=e+(j*244|0)+48|0;c[d>>2]=c[o+16+48>>2];c[d+4>>2]=c[o+16+48+4>>2];c[d+8>>2]=c[o+16+48+8>>2];c[d+12>>2]=c[o+16+48+12>>2];d=c[b+16>>2]|0;e=d;d=c[d+(j*244|0)+240>>2]|0}h=e;m=+g[e+(j*244|0)+176>>2];n=+g[e+(j*244|0)+180>>2];l=+g[e+(j*244|0)+184>>2]}s=m+ +g[h+(j*244|0)+208>>2];p=n+ +g[h+(j*244|0)+212>>2];n=l+ +g[h+(j*244|0)+216>>2];q=d+260|0;c[q>>2]=(c[q>>2]|0)+1;g[d+312>>2]=s;g[d+316>>2]=p;g[d+320>>2]=n;g[d+324>>2]=0.0;q=c[b+16>>2]|0;r=c[q+(j*244|0)+240>>2]|0;n=+g[q+(j*244|0)+192>>2]+ +g[q+(j*244|0)+224>>2];p=+g[q+(j*244|0)+196>>2]+ +g[q+(j*244|0)+228>>2];s=+g[q+(j*244|0)+200>>2]+ +g[q+(j*244|0)+232>>2];c[r+260>>2]=(c[r+260>>2]|0)+1;g[r+328>>2]=n;g[r+332>>2]=p;g[r+336>>2]=s;g[r+340>>2]=0.0;if(c[f+44>>2]|0){q=c[b+16>>2]|0;r=c[q+(j*244|0)+240>>2]|0;k=q+(j*244|0)|0;c[r+260>>2]=(c[r+260>>2]|0)+1;c[r+4>>2]=c[k>>2];c[r+4+4>>2]=c[k+4>>2];c[r+4+8>>2]=c[k+8>>2];c[r+4+12>>2]=c[k+12>>2];k=q+(j*244|0)+16|0;c[r+20>>2]=c[k>>2];c[r+20+4>>2]=c[k+4>>2];c[r+20+8>>2]=c[k+8>>2];c[r+20+12>>2]=c[k+12>>2];k=q+(j*244|0)+32|0;c[r+36>>2]=c[k>>2];c[r+36+4>>2]=c[k+4>>2];c[r+36+8>>2]=c[k+8>>2];c[r+36+12>>2]=c[k+12>>2];q=q+(j*244|0)+48|0;c[r+52>>2]=c[q>>2];c[r+52+4>>2]=c[q+4>>2];c[r+52+8>>2]=c[q+8>>2];c[r+52+12>>2]=c[q+12>>2]}e=c[b+16>>2]|0;c[(c[e+(j*244|0)+240>>2]|0)+212>>2]=-1;d=c[b+8>>2]|0}j=j+1|0}while((j|0)<(d|0))}if((c[b+28>>2]|0)<0?(c[b+32>>2]|0)<0:0){d=c[b+36>>2]|0;if(d|0){if(a[b+40>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+36>>2]=0}a[b+40>>0]=1;c[b+36>>2]=0;c[b+32>>2]=0}c[b+28>>2]=0;if((c[b+48>>2]|0)<0?(c[b+52>>2]|0)<0:0){d=c[b+56>>2]|0;if(d|0){if(a[b+60>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+56>>2]=0}a[b+60>>0]=1;c[b+56>>2]=0;c[b+52>>2]=0}c[b+48>>2]=0;if((c[b+68>>2]|0)<0?(c[b+72>>2]|0)<0:0){d=c[b+76>>2]|0;if(d|0){if(a[b+80>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+76>>2]=0}a[b+80>>0]=1;c[b+76>>2]=0;c[b+72>>2]=0}c[b+68>>2]=0;if((c[b+88>>2]|0)<0?(c[b+92>>2]|0)<0:0){d=c[b+96>>2]|0;if(d|0){if(a[b+100>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+96>>2]=0}a[b+100>>0]=1;c[b+96>>2]=0;c[b+92>>2]=0}c[b+88>>2]=0;if((c[b+8>>2]|0)>=0){c[b+8>>2]=0;sa=o;return 0.0}if((c[b+12>>2]|0)>=0){c[b+8>>2]=0;sa=o;return 0.0}d=c[b+16>>2]|0;if(d|0){if(a[b+20>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+16>>2]=0}a[b+20>>0]=1;c[b+16>>2]=0;c[b+12>>2]=0;c[b+8>>2]=0;sa=o;return 0.0}function dc(a){a=a|0;var b=0.0,d=0.0,e=0.0,f=0.0,h=0.0,i=0.0,j=0,k=0,l=0,m=0.0,n=0.0,o=0.0;j=c[a+372>>2]|0;a:do switch(c[j+32>>2]|0){case 1:{g[j+20>>2]=0.0;k=(c[a+364>>2]|0)+-1|0;c[a+364>>2]=k;k=c[a+348+(k<<2)>>2]|0;c[j+4>>2]=k;c[j+32>>2]=2;Wg(a,1.0,0.0,0.0,k);if(dc(a)|0){k=1;return k|0}j=c[a+372>>2]|0;k=(c[j+32>>2]|0)+-1|0;c[j+32>>2]=k;k=c[j+(k<<2)>>2]|0;c[a+348+(c[a+364>>2]<<2)>>2]=k;j=c[a+372>>2]|0;l=c[j+32>>2]|0;g[j+16+(l<<2)>>2]=0.0;c[j+(l<<2)>>2]=k;c[j+32>>2]=l+1;Wg(a,-1.0,-0.0,-0.0,k);if(dc(a)|0){l=1;return l|0}k=c[a+372>>2]|0;l=(c[k+32>>2]|0)+-1|0;c[k+32>>2]=l;l=c[k+(l<<2)>>2]|0;c[a+348+(c[a+364>>2]<<2)>>2]=l;k=c[a+372>>2]|0;j=c[k+32>>2]|0;g[k+16+(j<<2)>>2]=0.0;c[k+(j<<2)>>2]=l;c[k+32>>2]=j+1;Wg(a,0.0,1.0,0.0,l);if(dc(a)|0){l=1;return l|0}k=c[a+372>>2]|0;l=(c[k+32>>2]|0)+-1|0;c[k+32>>2]=l;l=c[k+(l<<2)>>2]|0;c[a+348+(c[a+364>>2]<<2)>>2]=l;k=c[a+372>>2]|0;j=c[k+32>>2]|0;g[k+16+(j<<2)>>2]=0.0;c[k+(j<<2)>>2]=l;c[k+32>>2]=j+1;Wg(a,-0.0,-1.0,-0.0,l);if(dc(a)|0){l=1;return l|0}k=c[a+372>>2]|0;l=(c[k+32>>2]|0)+-1|0;c[k+32>>2]=l;l=c[k+(l<<2)>>2]|0;c[a+348+(c[a+364>>2]<<2)>>2]=l;k=c[a+372>>2]|0;j=c[k+32>>2]|0;g[k+16+(j<<2)>>2]=0.0;c[k+(j<<2)>>2]=l;c[k+32>>2]=j+1;Wg(a,0.0,0.0,1.0,l);if(dc(a)|0){l=1;return l|0}k=c[a+372>>2]|0;l=(c[k+32>>2]|0)+-1|0;c[k+32>>2]=l;l=c[k+(l<<2)>>2]|0;c[a+348+(c[a+364>>2]<<2)>>2]=l;k=c[a+372>>2]|0;j=c[k+32>>2]|0;g[k+16+(j<<2)>>2]=0.0;c[k+(j<<2)>>2]=l;c[k+32>>2]=j+1;Wg(a,-0.0,-0.0,-1.0,l);if(dc(a)|0){l=1;return l|0}else{l=c[a+372>>2]|0;k=(c[l+32>>2]|0)+-1|0;c[l+32>>2]=k;k=c[l+(k<<2)>>2]|0;l=c[a+364>>2]|0;c[a+364>>2]=l+1;c[a+348+(l<<2)>>2]=k;break a}}case 2:{k=c[j+4>>2]|0;l=c[j>>2]|0;d=+g[k+16>>2]-+g[l+16>>2];e=+g[k+20>>2]-+g[l+20>>2];f=+g[k+24>>2]-+g[l+24>>2];b=e*0.0-f*0.0;do if((d*0.0-e)*(d*0.0-e)+(b*b+(f-d*0.0)*(f-d*0.0))>0.0){g[j+24>>2]=0.0;l=(c[a+364>>2]|0)+-1|0;c[a+364>>2]=l;l=c[a+348+(l<<2)>>2]|0;c[j+8>>2]=l;c[j+32>>2]=3;Wg(a,b,f-d*0.0,d*0.0-e,l);if(dc(a)|0){l=1;return l|0}k=c[a+372>>2]|0;l=(c[k+32>>2]|0)+-1|0;c[k+32>>2]=l;l=c[k+(l<<2)>>2]|0;c[a+348+(c[a+364>>2]<<2)>>2]=l;k=c[a+372>>2]|0;j=c[k+32>>2]|0;g[k+16+(j<<2)>>2]=0.0;c[k+(j<<2)>>2]=l;c[k+32>>2]=j+1;Wg(a,-b,-(f-d*0.0),-(d*0.0-e),l);if(dc(a)|0){l=1;return l|0}else{l=c[a+372>>2]|0;k=(c[l+32>>2]|0)+-1|0;c[l+32>>2]=k;k=c[l+(k<<2)>>2]|0;l=c[a+364>>2]|0;c[a+364>>2]=l+1;c[a+348+(l<<2)>>2]=k;break}}while(0);b=f*0.0-d*0.0;do if((d-e*0.0)*(d-e*0.0)+((e*0.0-f)*(e*0.0-f)+b*b)>0.0){k=c[a+372>>2]|0;j=c[k+32>>2]|0;g[k+16+(j<<2)>>2]=0.0;l=(c[a+364>>2]|0)+-1|0;c[a+364>>2]=l;l=c[a+348+(l<<2)>>2]|0;c[k+(j<<2)>>2]=l;c[k+32>>2]=j+1;Wg(a,e*0.0-f,b,d-e*0.0,l);if(dc(a)|0){l=1;return l|0}k=c[a+372>>2]|0;l=(c[k+32>>2]|0)+-1|0;c[k+32>>2]=l;l=c[k+(l<<2)>>2]|0;c[a+348+(c[a+364>>2]<<2)>>2]=l;k=c[a+372>>2]|0;j=c[k+32>>2]|0;g[k+16+(j<<2)>>2]=0.0;c[k+(j<<2)>>2]=l;c[k+32>>2]=j+1;Wg(a,-(e*0.0-f),-b,-(d-e*0.0),l);if(dc(a)|0){l=1;return l|0}else{l=c[a+372>>2]|0;k=(c[l+32>>2]|0)+-1|0;c[l+32>>2]=k;k=c[l+(k<<2)>>2]|0;l=c[a+364>>2]|0;c[a+364>>2]=l+1;c[a+348+(l<<2)>>2]=k;break}}while(0);b=d*0.0-e*0.0;if(b*b+((e-f*0.0)*(e-f*0.0)+(f*0.0-d)*(f*0.0-d))>0.0){k=c[a+372>>2]|0;j=c[k+32>>2]|0;g[k+16+(j<<2)>>2]=0.0;l=(c[a+364>>2]|0)+-1|0;c[a+364>>2]=l;l=c[a+348+(l<<2)>>2]|0;c[k+(j<<2)>>2]=l;c[k+32>>2]=j+1;Wg(a,e-f*0.0,f*0.0-d,b,l);if(dc(a)|0){l=1;return l|0}k=c[a+372>>2]|0;l=(c[k+32>>2]|0)+-1|0;c[k+32>>2]=l;l=c[k+(l<<2)>>2]|0;c[a+348+(c[a+364>>2]<<2)>>2]=l;k=c[a+372>>2]|0;j=c[k+32>>2]|0;g[k+16+(j<<2)>>2]=0.0;c[k+(j<<2)>>2]=l;c[k+32>>2]=j+1;Wg(a,-(e-f*0.0),-(f*0.0-d),-b,l);if(dc(a)|0){l=1;return l|0}else{l=c[a+372>>2]|0;k=(c[l+32>>2]|0)+-1|0;c[l+32>>2]=k;k=c[l+(k<<2)>>2]|0;l=c[a+364>>2]|0;c[a+364>>2]=l+1;c[a+348+(l<<2)>>2]=k;break a}}break}case 3:{l=c[j+4>>2]|0;k=c[j>>2]|0;f=+g[k+16>>2];b=+g[l+16>>2]-f;h=+g[k+20>>2];d=+g[l+20>>2]-h;i=+g[k+24>>2];e=+g[l+24>>2]-i;l=c[j+8>>2]|0;f=+g[l+16>>2]-f;h=+g[l+20>>2]-h;i=+g[l+24>>2]-i;if((b*h-d*f)*(b*h-d*f)+((d*i-e*h)*(d*i-e*h)+(e*f-b*i)*(e*f-b*i))>0.0){g[j+28>>2]=0.0;l=(c[a+364>>2]|0)+-1|0;c[a+364>>2]=l;l=c[a+348+(l<<2)>>2]|0;c[j+12>>2]=l;c[j+32>>2]=4;Wg(a,d*i-e*h,e*f-b*i,b*h-d*f,l);if(dc(a)|0){l=1;return l|0}k=c[a+372>>2]|0;l=(c[k+32>>2]|0)+-1|0;c[k+32>>2]=l;l=c[k+(l<<2)>>2]|0;c[a+348+(c[a+364>>2]<<2)>>2]=l;k=c[a+372>>2]|0;j=c[k+32>>2]|0;g[k+16+(j<<2)>>2]=0.0;c[k+(j<<2)>>2]=l;c[k+32>>2]=j+1;Wg(a,-(d*i-e*h),-(e*f-b*i),-(b*h-d*f),l);if(dc(a)|0){l=1;return l|0}else{l=c[a+372>>2]|0;k=(c[l+32>>2]|0)+-1|0;c[l+32>>2]=k;k=c[l+(k<<2)>>2]|0;l=c[a+364>>2]|0;c[a+364>>2]=l+1;c[a+348+(l<<2)>>2]=k;break a}}break}case 4:{l=c[j>>2]|0;k=c[j+12>>2]|0;i=+g[k+16>>2];o=+g[l+16>>2]-i;m=+g[k+20>>2];b=+g[l+20>>2]-m;e=+g[k+24>>2];f=+g[l+24>>2]-e;l=c[j+4>>2]|0;d=+g[l+16>>2]-i;h=+g[l+20>>2]-m;n=+g[l+24>>2]-e;l=c[j+8>>2]|0;i=+g[l+16>>2]-i;m=+g[l+20>>2]-m;e=+g[l+24>>2]-e;if(!((0.0!=0.0?1:o*h*e+(b*n*i+f*d*m-o*n*m-b*d*e)-f*h*i!=o*h*e+(b*n*i+f*d*m-o*n*m-b*d*e)-f*h*i)|o*h*e+(b*n*i+f*d*m-o*n*m-b*d*e)-f*h*i==0.0)){l=1;return l|0}break}default:{}}while(0);l=0;return l|0}function ec(a,b){a=a|0;b=+b;var d=0,e=0,f=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0;n=sa;sa=sa+48|0;d=c[a+24>>2]|0;if((d|0)<=0){sa=n;return}m=0;a:while(1){l=c[(c[a+32>>2]|0)+(m<<2)>>2]|0;switch(c[l+216>>2]|0){case 2:case 5:break;default:{ad(l,0);e=c[l+732>>2]|0;if((e|0)>0){d=0;do{k=c[l+740>>2]|0;i=c[k+(d*52|0)+12>>2]|0;j=c[k+(d*52|0)+8>>2]|0;x=+g[i+24>>2]-+g[j+24>>2];w=+g[i+28>>2]-+g[j+28>>2];b=+g[i+32>>2]-+g[j+32>>2];g[k+(d*52|0)+36>>2]=x;g[k+(d*52|0)+40>>2]=w;g[k+(d*52|0)+44>>2]=b;g[k+(d*52|0)+48>>2]=0.0;g[k+(d*52|0)+32>>2]=1.0/(+g[k+(d*52|0)+24>>2]*(x*x+w*w+b*b));d=d+1|0}while((d|0)!=(e|0))}f=c[l+792>>2]|0;if((f|0)>0){d=0;b=+g[l+452>>2];do{k=c[l+800>>2]|0;e=k+(d*96|0)+20|0;i=c[e>>2]|0;A=+g[k+(d*96|0)+4>>2];z=+g[k+(d*96|0)+8>>2];x=+g[k+(d*96|0)+12>>2];y=+g[i+4>>2]*A+ +g[i+8>>2]*z+ +g[i+12>>2]*x;w=A*+g[i+20>>2]+z*+g[i+24>>2]+x*+g[i+28>>2];x=A*+g[i+36>>2]+z*+g[i+40>>2]+x*+g[i+44>>2];j=k+(d*96|0)|0;_e(n,b,+g[(c[j>>2]|0)+88>>2],+g[i+344>>2],i+264|0,y,w,x);i=k+(d*96|0)+28|0;c[i>>2]=c[n>>2];c[i+4>>2]=c[n+4>>2];c[i+8>>2]=c[n+8>>2];c[i+12>>2]=c[n+12>>2];i=k+(d*96|0)+44|0;c[i>>2]=c[n+16>>2];c[i+4>>2]=c[n+16+4>>2];c[i+8>>2]=c[n+16+8>>2];c[i+12>>2]=c[n+16+12>>2];i=k+(d*96|0)+60|0;c[i>>2]=c[n+32>>2];c[i+4>>2]=c[n+32+4>>2];c[i+8>>2]=c[n+32+8>>2];c[i+12>>2]=c[n+32+12>>2];g[k+(d*96|0)+76>>2]=y;g[k+(d*96|0)+80>>2]=w;g[k+(d*96|0)+84>>2]=x;g[k+(d*96|0)+88>>2]=0.0;b=+g[l+452>>2];g[k+(d*96|0)+92>>2]=b*+g[(c[j>>2]|0)+88>>2];e=c[e>>2]|0;if(!(c[e+204>>2]&3)){if((c[e+216>>2]&-2|0)!=4)c[e+216>>2]=1;g[e+220>>2]=0.0}d=d+1|0}while((d|0)!=(f|0))}d=c[l+372>>2]|0;if((d|0)>0){f=0;e=c[l+396>>2]|0;do{if((e|0)>0){d=0;do{Qa[((c[(c[l+404>>2]|0)+(d<<2)>>2]|0)==0?23:0)&31](l,1.0);d=d+1|0;e=c[l+396>>2]|0}while((d|0)<(e|0));d=c[l+372>>2]|0}f=f+1|0}while((f|0)<(d|0));e=c[l+712>>2]|0;if((e|0)>0){d=0;do{k=c[l+720>>2]|0;y=+g[l+452>>2];z=y*+g[k+(d*104|0)+44>>2]+ +g[k+(d*104|0)+28>>2];A=y*+g[k+(d*104|0)+48>>2]+ +g[k+(d*104|0)+32>>2];g[k+(d*104|0)+8>>2]=+g[k+(d*104|0)+40>>2]*y+ +g[k+(d*104|0)+24>>2];g[k+(d*104|0)+12>>2]=z;g[k+(d*104|0)+16>>2]=A;g[k+(d*104|0)+20>>2]=0.0;d=d+1|0}while((d|0)!=(e|0))}}d=c[l+376>>2]|0;if((d|0)>0){h=0;e=c[l+416>>2]|0;do{b=+(h|0)/+(d|0);if((e|0)>0){f=0;do{switch(c[(c[l+424>>2]|0)+(f<<2)>>2]|0){case 1:{d=2;break}case 0:{d=3;break}case 2:{d=4;break}case 3:{d=5;break}default:{v=37;break a}}Ra[d&7](l,1.0,b);f=f+1|0;e=c[l+416>>2]|0}while((f|0)<(e|0));d=c[l+376>>2]|0}h=h+1|0}while((h|0)<(d|0));b=+g[l+456>>2]*(1.0-+g[l+296>>2]);e=c[l+712>>2]|0;if((e|0)>0){d=0;do{k=c[l+720>>2]|0;z=b*(+g[k+(d*104|0)+12>>2]-+g[k+(d*104|0)+28>>2]);A=b*(+g[k+(d*104|0)+16>>2]-+g[k+(d*104|0)+32>>2]);g[k+(d*104|0)+40>>2]=b*(+g[k+(d*104|0)+8>>2]-+g[k+(d*104|0)+24>>2]);g[k+(d*104|0)+44>>2]=z;g[k+(d*104|0)+48>>2]=A;k=k+(d*104|0)+52|0;d=d+1|0;c[k>>2]=0;c[k+4>>2]=0;c[k+8>>2]=0;c[k+12>>2]=0;c[k+16>>2]=0}while((d|0)!=(e|0))}}d=c[l+380>>2]|0;if((d|0)>0){b=+g[l+292>>2]*+g[l+456>>2];e=c[l+712>>2]|0;if((e|0)>0){d=0;do{k=c[l+720>>2]|0;j=k+(d*104|0)+8|0;k=k+(d*104|0)+24|0;c[k>>2]=c[j>>2];c[k+4>>2]=c[j+4>>2];c[k+8>>2]=c[j+8>>2];c[k+12>>2]=c[j+12>>2];d=d+1|0}while((d|0)!=(e|0));d=c[l+380>>2]|0;if((d|0)>0)v=45}else v=45;if((v|0)==45){v=0;h=0;e=c[l+436>>2]|0;do{if((e|0)>0){f=0;do{switch(c[(c[l+444>>2]|0)+(f<<2)>>2]|0){case 1:{d=2;break}case 0:{d=3;break}case 2:{d=4;break}case 3:{d=5;break}default:{v=56;break a}}Ra[d&7](l,1.0,0.0);f=f+1|0;e=c[l+436>>2]|0}while((f|0)<(e|0));d=c[l+380>>2]|0}h=h+1|0}while((h|0)<(d|0))}e=c[l+712>>2]|0;if((e|0)>0){f=c[l+720>>2]|0;d=0;do{z=b*(+g[f+(d*104|0)+12>>2]-+g[f+(d*104|0)+28>>2]);A=b*(+g[f+(d*104|0)+16>>2]-+g[f+(d*104|0)+32>>2]);k=f+(d*104|0)+40|0;g[k>>2]=b*(+g[f+(d*104|0)+8>>2]-+g[f+(d*104|0)+24>>2])+ +g[k>>2];k=f+(d*104|0)+44|0;g[k>>2]=z+ +g[k>>2];k=f+(d*104|0)+48|0;g[k>>2]=A+ +g[k>>2];d=d+1|0}while((d|0)!=(e|0))}}f=c[l+1112>>2]|0;if((f|0)>0){h=c[l+1120>>2]|0;e=0;do{i=c[h+(e<<2)>>2]|0;if(+g[i+352>>2]>0.0?(o=c[i+24>>2]|0,(o|0)>0):0){j=c[i+32>>2]|0;d=0;do{k=c[j+(d<<2)>>2]|0;if(+g[k+88>>2]>0.0?(s=+g[k+24>>2]-+g[i+228>>2],u=+g[k+28>>2]-+g[i+232>>2],q=+g[k+32>>2]-+g[i+236>>2],r=+g[i+336>>2],A=+g[i+340>>2],t=+g[i+332>>2],p=+g[i+316>>2]+(r*q-u*A),q=+g[i+320>>2]+(s*A-q*t),r=u*t-s*r+ +g[i+324>>2],s=+g[k+40>>2],t=+g[k+44>>2],u=+g[k+48>>2],p*p+q*q+r*r<=s*s+t*t+u*u):0){A=+g[i+352>>2];g[k+40>>2]=s+(p-s)*A;g[k+44>>2]=t+(q-t)*A;g[k+48>>2]=u+(r-u)*A}d=d+1|0}while((d|0)!=(o|0))}e=e+1|0}while((e|0)!=(f|0))}ad(l,1);d=c[a+24>>2]|0}}m=m+1|0;if((m|0)>=(d|0)){v=3;break}}if((v|0)==3){sa=n;return}}function fc(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,y=0,z=0.0,A=0.0,B=0.0;if((d|0)<=1){y=0;return y|0}w=c[b+712>>2]|0;y=J(w,w)|0;y=CI(y>>>0>1073741823?-1:y<<2)|0;if((w|0)>0){h=0;do{i=J(h,w)|0;j=y+(h+i<<2)|0;f=0;do{k=y+((J(f,w)|0)+h<<2)|0;if((f|0)==(h|0)){c[k>>2]=0;c[j>>2]=0}else{c[k>>2]=2147483647;c[y+(f+i<<2)>>2]=2147483647}f=f+1|0}while((f|0)!=(w|0));h=h+1|0}while((h|0)!=(w|0))}h=c[b+732>>2]|0;if((h|0)>0){i=c[b+740>>2]|0;j=c[b+720>>2]|0;f=0;do{p=((c[i+(f*52|0)+8>>2]|0)-j|0)/104|0;t=((c[i+(f*52|0)+12>>2]|0)-j|0)/104|0;c[y+((J(t,w)|0)+p<<2)>>2]=1;c[y+((J(p,w)|0)+t<<2)>>2]=1;f=f+1|0}while((f|0)!=(h|0))}do if((d|0)!=2)if((w|0)>0){f=0;do{k=J(f,w)|0;h=0;do{i=h;h=h+1|0;if((h|0)<(w|0)){n=J(i,w)|0;l=y+(n+f<<2)|0;j=h;do{m=(c[l>>2]|0)+(c[y+(j+k<<2)>>2]|0)|0;o=y+(j+n<<2)|0;if((c[o>>2]|0)>>>0>m>>>0){c[y+((J(j,w)|0)+i<<2)>>2]=m;c[o>>2]=m}j=j+1|0}while((j|0)!=(w|0))}}while((h|0)!=(w|0));f=f+1|0}while((f|0)!=(w|0));q=97}else f=0;else{if((w|0)<0)ma();if((w|0)>0){c[7182]=(c[7182]|0)+1;f=xb((w*20|3)+16|0)|0;if(!f)f=0;else{c[(f+4+15&-16)+-4>>2]=f;f=f+4+15&-16}h=0;do{a[f+(h*20|0)+16>>0]=1;c[f+(h*20|0)+12>>2]=0;t=f+(h*20|0)+4|0;c[t>>2]=0;c[f+(h*20|0)+8>>2]=0;c[t>>2]=0;h=h+1|0}while((h|0)!=(w|0));t=f}else t=0;if((c[b+732>>2]|0)>0){n=0;do{m=c[b+740>>2]|0;p=c[b+720>>2]|0;o=((c[m+(n*52|0)+8>>2]|0)-p|0)/104|0;p=((c[m+(n*52|0)+12>>2]|0)-p|0)/104|0;m=t+(o*20|0)+4|0;f=c[m>>2]|0;a:do if((f|0)>0){i=c[t+(o*20|0)+12>>2]|0;h=0;while(1){if((c[i+(h<<2)>>2]|0)==(p|0))break;h=h+1|0;if((h|0)>=(f|0)){q=28;break a}}if((h|0)==(f|0))q=28}else q=28;while(0);if((q|0)==28){q=0;l=t+(o*20|0)+8|0;if((f|0)==(c[l>>2]|0)?(s=(f|0)==0?1:f<<1,(f|0)<(s|0)):0){if(!s)k=0;else{c[7182]=(c[7182]|0)+1;f=xb((s<<2|3)+16|0)|0;if(!f)f=0;else{c[(f+4+15&-16)+-4>>2]=f;f=f+4+15&-16}k=f;f=c[m>>2]|0}j=t+(o*20|0)+12|0;i=c[j>>2]|0;if((f|0)<=0)if(!i)h=t+(o*20|0)+16|0;else q=39;else{h=0;do{c[k+(h<<2)>>2]=c[i+(h<<2)>>2];h=h+1|0}while((h|0)!=(f|0));q=39}if((q|0)==39){q=0;f=t+(o*20|0)+16|0;if(a[f>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[i+-4>>2]|0)}c[j>>2]=0;h=f;f=c[m>>2]|0}a[h>>0]=1;c[j>>2]=k;c[l>>2]=s}c[(c[t+(o*20|0)+12>>2]|0)+(f<<2)>>2]=p;c[m>>2]=(c[m>>2]|0)+1}m=t+(p*20|0)+4|0;f=c[m>>2]|0;b:do if((f|0)>0){i=c[t+(p*20|0)+12>>2]|0;h=0;while(1){if((c[i+(h<<2)>>2]|0)==(o|0))break;h=h+1|0;if((h|0)>=(f|0)){q=49;break b}}if((h|0)==(f|0))q=49}else q=49;while(0);if((q|0)==49){q=0;l=t+(p*20|0)+8|0;if((f|0)==(c[l>>2]|0)?(r=(f|0)==0?1:f<<1,(f|0)<(r|0)):0){if(!r)k=0;else{c[7182]=(c[7182]|0)+1;f=xb((r<<2|3)+16|0)|0;if(!f)f=0;else{c[(f+4+15&-16)+-4>>2]=f;f=f+4+15&-16}k=f;f=c[m>>2]|0}j=t+(p*20|0)+12|0;i=c[j>>2]|0;if((f|0)<=0)if(!i)h=t+(p*20|0)+16|0;else q=60;else{h=0;do{c[k+(h<<2)>>2]=c[i+(h<<2)>>2];h=h+1|0}while((h|0)!=(f|0));q=60}if((q|0)==60){q=0;f=t+(p*20|0)+16|0;if(a[f>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[i+-4>>2]|0)}c[j>>2]=0;h=f;f=c[m>>2]|0}a[h>>0]=1;c[j>>2]=k;c[l>>2]=r}c[(c[t+(p*20|0)+12>>2]|0)+(f<<2)>>2]=o;c[m>>2]=(c[m>>2]|0)+1}n=n+1|0}while((n|0)<(c[b+732>>2]|0))}if((w|0)<=0){if(!t){f=0;break}}else{o=0;do{q=t+(o*20|0)+4|0;f=c[q>>2]|0;if((f|0)>0){r=J(o,w)|0;p=c[t+(o*20|0)+12>>2]|0;n=0;do{l=c[p+(n<<2)>>2]|0;m=t+(l*20|0)+4|0;h=c[m>>2]|0;if((h|0)>0){j=c[t+(l*20|0)+12>>2]|0;k=y+((J(l,w)|0)+o<<2)|0;i=0;f=h;do{h=c[j+(i<<2)>>2]|0;if((o|0)!=(h|0)?(v=J(h,w)|0,u=(c[y+(v+l<<2)>>2]|0)+(c[k>>2]|0)|0,v=y+(v+o<<2)|0,(c[v>>2]|0)>>>0>u>>>0):0){c[y+(h+r<<2)>>2]=u;c[v>>2]=u;f=c[m>>2]|0}i=i+1|0}while((i|0)<(f|0));f=c[q>>2]|0}n=n+1|0}while((n|0)<(f|0))}o=o+1|0}while((o|0)!=(w|0));f=0;do{i=t+(f*20|0)+4|0;j=t+(f*20|0)+12|0;k=c[j>>2]|0;h=t+(f*20|0)+16|0;if(k|0){if(a[h>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[k+-4>>2]|0)}c[j>>2]=0}a[h>>0]=1;c[j>>2]=0;c[i>>2]=0;c[t+(f*20|0)+8>>2]=0;f=f+1|0}while((f|0)!=(w|0))}c[7183]=(c[7183]|0)+1;Hc(c[t+-4>>2]|0);q=97}while(0);if((q|0)==97)if((w|0)>0){f=0;k=0;do{i=k;k=k+1|0;if((k|0)<(w|0)){j=J(i,w)|0;h=k;do{if((c[y+(h+j<<2)>>2]|0)==(d|0)){t=c[b+720>>2]|0;oh(b,e);v=(c[b+732>>2]|0)+-1|0;u=c[b+740>>2]|0;c[u+(v*52|0)+8>>2]=t+(h*104|0);c[u+(v*52|0)+12>>2]=t+(i*104|0);B=+g[t+(h*104|0)+8>>2]-+g[t+(i*104|0)+8>>2];A=+g[t+(h*104|0)+12>>2]-+g[t+(i*104|0)+12>>2];z=+g[t+(h*104|0)+16>>2]-+g[t+(i*104|0)+16>>2];g[u+(v*52|0)+16>>2]=+x(+(B*B+A*A+z*z));a[b+924>>0]=1;v=(c[b+740>>2]|0)+(v*52|0)+20|0;a[v>>0]=a[v>>0]|1;f=f+1|0}h=h+1|0}while((h|0)!=(w|0))}}while((k|0)!=(w|0))}else f=0;DI(y);y=f;return y|0}function gc(d,e){d=d|0;e=+e;var f=0,h=0.0,i=0,j=0.0,k=0.0,l=0,m=0,n=0,o=0,p=0.0,q=0.0,r=0,s=0.0,t=0;r=sa;sa=sa+304|0;Ki(16437);a:do if((c[d+232>>2]|0)>0){m=r+136+48|0;l=0;while(1){n=c[(c[d+240>>2]|0)+(l<<2)>>2]|0;g[n+244>>2]=1.0;b:do switch(c[n+216>>2]|0){case 2:case 5:break;default:if(!(c[n+204>>2]&3)){jg(n+4|0,+g[n+312>>2],+g[n+316>>2],+g[n+320>>2],n+328|0,e,r+136|0);h=+g[m>>2]-+g[n+52>>2];j=+g[r+136+52>>2]-+g[n+56>>2];k=+g[r+136+56>>2]-+g[n+60>>2];if(a[d+44>>0]|0?(s=+g[n+252>>2],s*s!=0.0?s*s>2]|0)+4>>2]|0)<20){c[6847]=(c[6847]|0)+1;f=c[d+68>>2]|0;f=Fa[c[(c[f>>2]|0)+36>>2]&127](f)|0;i=c[d+24>>2]|0;g[r+200+4>>2]=1.0;c[r+200+12>>2]=c[n+52>>2];c[r+200+12+4>>2]=c[n+52+4>>2];c[r+200+12+8>>2]=c[n+52+8>>2];c[r+200+12+12>>2]=c[n+52+12>>2];c[r+200+28>>2]=c[m>>2];c[r+200+28+4>>2]=c[m+4>>2];c[r+200+28+8>>2]=c[m+8>>2];c[r+200+28+12>>2]=c[m+12>>2];c[r+200+76>>2]=0;c[r+200>>2]=7092;c[r+200+80>>2]=n;c[r+200+88>>2]=f;c[r+200+92>>2]=i;i=c[n+248>>2]|0;c[r+80+8>>2]=0;c[r+80+12>>2]=1065353216;c[r+80+16>>2]=1065353216;c[r+80+20>>2]=1065353216;g[r+80+24>>2]=0.0;c[r+80>>2]=9480;c[r+80+4>>2]=8;c[r+80+28>>2]=i;c[r+80+44>>2]=i;c[r+200+84>>2]=c[d+56>>2];i=c[n+188>>2]|0;b[r+200+8>>1]=b[i+4>>1]|0;b[r+200+10>>1]=b[i+6>>1]|0;c[r+16+48>>2]=c[m>>2];c[r+16+48+4>>2]=c[m+4>>2];c[r+16+48+8>>2]=c[m+8>>2];c[r+16+48+12>>2]=c[m+12>>2];c[r+16>>2]=c[n+4>>2];c[r+16+4>>2]=c[n+4+4>>2];c[r+16+8>>2]=c[n+4+8>>2];c[r+16+12>>2]=c[n+4+12>>2];c[r+16+16>>2]=c[n+20>>2];c[r+16+16+4>>2]=c[n+20+4>>2];c[r+16+16+8>>2]=c[n+20+8>>2];c[r+16+16+12>>2]=c[n+20+12>>2];c[r+16+32>>2]=c[n+36>>2];c[r+16+32+4>>2]=c[n+36+4>>2];c[r+16+32+8>>2]=c[n+36+8>>2];c[r+16+32+12>>2]=c[n+36+12>>2];Tc(d,r+80|0,n+4|0,r+16|0,r+200|0,0.0);h=+g[r+200+4>>2];if(h<1.0){g[n+244>>2]=h;jg(n+4|0,+g[n+312>>2],+g[n+316>>2],+g[n+320>>2],n+328|0,h*e,r+136|0);g[n+244>>2]=0.0;$d(n,r+136|0);f=4}else f=0;if(!f)o=12}else o=12;if((o|0)==12){o=0;f=0}i=c[3084]|0;t=(c[i+16>>2]|0)+-1|0;c[i+16>>2]=t;do if(!t){if(c[i+4>>2]|0){la(r+200|0,0)|0;t=c[7181]|0;g[i+8>>2]=+g[i+8>>2]+ +(((c[r+200+4>>2]|0)-(c[t+4>>2]|0)+(((c[r+200>>2]|0)-(c[t>>2]|0)|0)*1e6|0)-(c[i+12>>2]|0)|0)>>>0)/1.0e3;if(c[i+16>>2]|0)break;i=c[3084]|0}c[3084]=c[i+20>>2]}while(0);if(f|0)break b}$d(n,r+136|0)}}while(0);l=l+1|0;if((l|0)>=(c[d+232>>2]|0))break a}}while(0);do if(a[d+275>>0]|0){Ki(16477);if((c[d+308>>2]|0)>0){n=0;do{o=c[(c[d+316>>2]|0)+(n<<2)>>2]|0;i=c[o+740>>2]|0;i=(c[i+236>>2]&2|0)==0?0:i;m=c[o+744>>2]|0;m=(c[m+236>>2]&2|0)==0?0:m;f=c[o+748>>2]|0;if((f|0)>0)if(!i){i=0;do{h=+g[57]*+g[m+228>>2];if(h>0.0?(p=+g[o+4+(i*184|0)+120>>2],p!=0.0):0){k=h*p*+g[o+4+(i*184|0)+64>>2];e=h*p*+g[o+4+(i*184|0)+68>>2];s=h*p*+g[o+4+(i*184|0)+72>>2];h=+g[o+4+(i*184|0)+36>>2]-+g[m+56>>2];j=+g[o+4+(i*184|0)+40>>2]-+g[m+60>>2];g[r+16>>2]=+g[o+4+(i*184|0)+32>>2]-+g[m+52>>2];g[r+16+4>>2]=h;g[r+16+8>>2]=j;g[r+16+12>>2]=0.0;g[r>>2]=k;g[r+4>>2]=e;g[r+8>>2]=s;g[r+12>>2]=0.0;Bk(m,r,r+16|0);f=c[o+748>>2]|0}i=i+1|0}while((i|0)<(f|0))}else{l=0;do{h=+g[i+228>>2]*+g[m+228>>2];if(h>0.0?(q=+g[o+4+(l*184|0)+120>>2],q!=0.0):0){k=h*q*+g[o+4+(l*184|0)+64>>2];e=h*q*+g[o+4+(l*184|0)+68>>2];s=h*q*+g[o+4+(l*184|0)+72>>2];g[r+200>>2]=-k;g[r+200+4>>2]=-e;g[r+200+8>>2]=-s;g[r+200+12>>2]=0.0;j=+g[o+4+(l*184|0)+52>>2]-+g[i+56>>2];h=+g[o+4+(l*184|0)+56>>2]-+g[i+60>>2];g[r+80>>2]=+g[o+4+(l*184|0)+48>>2]-+g[i+52>>2];g[r+80+4>>2]=j;g[r+80+8>>2]=h;g[r+80+12>>2]=0.0;h=+g[o+4+(l*184|0)+36>>2]-+g[m+56>>2];j=+g[o+4+(l*184|0)+40>>2]-+g[m+60>>2];g[r+16>>2]=+g[o+4+(l*184|0)+32>>2]-+g[m+52>>2];g[r+16+4>>2]=h;g[r+16+8>>2]=j;g[r+16+12>>2]=0.0;Bk(i,r+200|0,r+80|0);g[r>>2]=k;g[r+4>>2]=e;g[r+8>>2]=s;g[r+12>>2]=0.0;Bk(m,r,r+16|0);f=c[o+748>>2]|0}l=l+1|0}while((l|0)<(f|0))}n=n+1|0}while((n|0)<(c[d+308>>2]|0))}f=c[3084]|0;t=(c[f+16>>2]|0)+-1|0;c[f+16>>2]=t;if(!t){if(c[f+4>>2]|0){la(r+200|0,0)|0;t=c[7181]|0;g[f+8>>2]=+g[f+8>>2]+ +(((c[r+200+4>>2]|0)-(c[t+4>>2]|0)+(((c[r+200>>2]|0)-(c[t>>2]|0)|0)*1e6|0)-(c[f+12>>2]|0)|0)>>>0)/1.0e3;if(c[f+16>>2]|0)break;f=c[3084]|0}c[3084]=c[f+20>>2]}}while(0);f=c[3084]|0;t=(c[f+16>>2]|0)+-1|0;c[f+16>>2]=t;if(t|0){sa=r;return}do if(c[f+4>>2]|0){la(r+200|0,0)|0;t=c[7181]|0;g[f+8>>2]=+g[f+8>>2]+ +(((c[r+200+4>>2]|0)-(c[t+4>>2]|0)+(((c[r+200>>2]|0)-(c[t>>2]|0)|0)*1e6|0)-(c[f+12>>2]|0)|0)>>>0)/1.0e3;if(!(c[f+16>>2]|0)){f=c[3084]|0;break}else{sa=r;return}}while(0);c[3084]=c[f+20>>2];sa=r;return}function hc(b,d){b=b|0;d=d|0;var e=0,f=0.0,h=0.0,i=0.0,k=0,l=0.0,m=0,n=0.0,o=0.0,p=0.0,q=0,r=0.0,s=0,t=0,u=0.0,v=0.0,w=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0,D=0.0,E=0.0,F=0.0,G=0,H=0,I=0,J=0,K=0;I=sa;sa=sa+96|0;e=c[b+216>>2]|0;if(+g[e+4>>2]==0.0){H=0;sa=I;return H|0}H=c[d>>2]|0;if(!(Ha[c[(c[e>>2]|0)+8>>2]&31](e,c[H+188>>2]|0)|0)){H=1;sa=I;return H|0}d=c[H+192>>2]|0;G=c[b+216>>2]|0;if((c[d+4>>2]|0)!=32){c[I+32>>2]=0;c[I+32+4>>2]=d;c[I+32+8>>2]=H;c[I+32+12>>2]=H+4;c[I+32+16>>2]=-1;c[I+32+20>>2]=-1;_b(b+68|0,b+132|0,I+32|0,G);H=1;sa=I;return H|0}if((H|0)==0?1:(c[H+236>>2]|0)!=8){H=1;sa=I;return H|0}d=c[H+752>>2]|0;if(d)if(!(c[H+988>>2]|0)){d=c[H+988+4>>2]|0;if(d|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[H+988+4>>2]=0;c[H+988+8>>2]=-1;d=c[H+988+32>>2]|0;if(d|0){if(a[H+988+36>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[H+988+32>>2]=0}a[H+988+36>>0]=1;c[H+988+32>>2]=0;c[H+988+24>>2]=0;c[H+988+28>>2]=0;c[H+988+16>>2]=0;d=c[H+752>>2]|0;if((d|0)>0){s=0;do{m=c[H+760>>2]|0;q=m+(s*44|0)|0;t=c[m+(s*44|0)+8>>2]|0;C=c[m+(s*44|0)+12>>2]|0;d=c[m+(s*44|0)+16>>2]|0;o=+g[t+8>>2];p=+g[t+12>>2];r=+g[t+16>>2];l=+g[t+20>>2];B=+g[C+8>>2];f=B>2];n=F>2];h=E>2];i=D>2];f=D>2];n=E>2];h=F>2];i=B>2]|0;if(!d){c[7182]=(c[7182]|0)+1;d=xb(63)|0;if(!d)d=0;else{c[(d+4+15&-16)+-4>>2]=d;d=d+4+15&-16}e=d;k=e+44|0;do{c[e>>2]=0;e=e+4|0}while((e|0)<(k|0))}else c[H+988+4>>2]=0;c[d+32>>2]=0;c[d+36>>2]=q;c[d+40>>2]=0;g[d>>2]=f;g[d+4>>2]=n;g[d+8>>2]=h;g[d+12>>2]=i;g[d+16>>2]=o;g[d+20>>2]=p;g[d+24>>2]=r;g[d+28>>2]=l;ue(H+988|0,c[H+988>>2]|0,d);c[H+988+12>>2]=(c[H+988+12>>2]|0)+1;c[m+(s*44|0)+40>>2]=d;s=s+1|0;d=c[H+752>>2]|0}while((s|0)<(d|0));e=H+988|0}else e=H+988|0}else e=H+988|0;else{e=H+988|0;d=0}D=+g[b+180>>2]-+g[b+116>>2];E=+g[b+184>>2]-+g[b+120>>2];F=+g[b+188>>2]-+g[b+124>>2];e=c[e>>2]|0;if(!e)if((d|0)>0){t=c[H+760>>2]|0;s=0;e=0;q=-1;k=1065353216;m=0;h=1.0;f=1.0;do{K=c[t+(s*44|0)+8>>2]|0;J=c[t+(s*44|0)+12>>2]|0;C=c[t+(s*44|0)+16>>2]|0;i=+Yg(b+116|0,D,E,F,+g[K+8>>2],+g[K+12>>2],+g[K+16>>2],+g[J+8>>2],+g[J+12>>2],+g[J+16>>2],+g[C+8>>2],+g[C+12>>2],+g[C+16>>2],h);if(i>0.0){e=e+1|0;q=s;k=(g[j>>2]=i,c[j>>2]|0);m=3;f=i;h=i}s=s+1|0}while((s|0)!=(d|0));d=q}else{e=0;d=-1;k=1065353216;m=0;f=1.0}else{c[I+32>>2]=5980;c[I+32+4>>2]=c[b+116>>2];c[I+32+4+4>>2]=c[b+116+4>>2];c[I+32+4+8>>2]=c[b+116+8>>2];c[I+32+4+12>>2]=c[b+116+12>>2];g[I+32+36>>2]=D;g[I+32+40>>2]=E;g[I+32+44>>2]=F;g[I+32+48>>2]=0.0;c[I+32+20>>2]=c[b+180>>2];c[I+32+20+4>>2]=c[b+180+4>>2];c[I+32+20+8>>2]=c[b+180+8>>2];c[I+32+20+12>>2]=c[b+180+12>>2];c[I+32+52>>2]=1065353216;c[I+32+56>>2]=0;c[I+32+60>>2]=0;Pd(e,b+116|0,b+180|0,I+32|0);d=c[I+32+56>>2]|0;if(!d){e=0;d=-1;k=1065353216;m=0;f=1.0}else{K=c[I+32+52>>2]|0;e=1;d=(d-(c[H+760>>2]|0)|0)/44|0;k=K;m=3;f=(c[j>>2]=K,+g[j>>2])}}t=c[H+772>>2]|0;if((t|0)>0){C=c[H+780>>2]|0;s=0;do{K=c[C+(s*104|0)+8>>2]|0;w=+g[K+8>>2];z=+g[K+12>>2];B=+g[K+16>>2];K=c[C+(s*104|0)+12>>2]|0;n=+g[K+8>>2];p=+g[K+12>>2];u=+g[K+16>>2];K=c[C+(s*104|0)+16>>2]|0;v=+g[K+8>>2];y=+g[K+12>>2];A=+g[K+16>>2];h=(c[j>>2]=k,+g[j>>2]);i=+Yg(b+116|0,D,E,F,w,z,B,n,p,u,v,y,A,h);if(i>0.0){e=e+1|0;d=s;k=(g[j>>2]=i,c[j>>2]|0);m=4;h=i;f=i}K=c[C+(s*104|0)+20>>2]|0;l=+g[K+8>>2];o=+g[K+12>>2];r=+g[K+16>>2];i=+Yg(b+116|0,D,E,F,w,z,B,n,p,u,l,o,r,h);if(i>0.0){e=e+1|0;d=s;q=(g[j>>2]=i,c[j>>2]|0);m=4;h=i;f=i}else{q=k;h=(c[j>>2]=k,+g[j>>2])}i=+Yg(b+116|0,D,E,F,n,p,u,v,y,A,l,o,r,h);if(i>0.0){e=e+1|0;d=s;k=(g[j>>2]=i,c[j>>2]|0);m=4;h=i;f=i}else{k=q;h=(c[j>>2]=q,+g[j>>2])}h=+Yg(b+116|0,D,E,F,w,z,B,v,y,A,l,o,r,h);if(h>0.0){e=e+1|0;d=s;k=(g[j>>2]=h,c[j>>2]|0);m=4;f=h}s=s+1|0}while((s|0)!=(t|0));k=m;p=f}else{k=m;p=f}if(!e){K=1;sa=I;return K|0}if(!(p<=+g[G+4>>2])){K=1;sa=I;return K|0}c[I+32>>2]=0;c[I+32+4>>2]=d;l=+g[b+180>>2]-+g[b+116>>2];n=+g[b+184>>2]-+g[b+120>>2];o=+g[b+188>>2]-+g[b+124>>2];f=1.0/+x(+(l*l+n*n+o*o));if((k|0)==3){e=c[H+748+12>>2]|0;f=+g[e+(d*44|0)+20>>2];i=+g[e+(d*44|0)+24>>2];h=+g[e+(d*44|0)+28>>2];if(l*f+n*i+o*h>0.0){l=-f;i=-i;h=-h;f=0.0}else{l=f;f=+g[e+(d*44|0)+32>>2]}}else{l=-(l*f);i=-(n*f);h=-(o*f);f=0.0}c[I>>2]=H;c[I+4>>2]=I+32;g[I+8>>2]=l;g[I+12>>2]=i;g[I+16>>2]=h;g[I+20>>2]=f;g[I+24>>2]=p;+ya[c[(c[G>>2]|0)+12>>2]&15](G,I,1);K=1;sa=I;return K|0}function ic(b,d,e){b=b|0;d=d|0;e=+e;var f=0,h=0,i=0,j=0,k=0,l=0.0,m=0.0,n=0,o=0,p=0.0,q=0,r=0;r=sa;sa=sa+112|0;j=c[b+716>>2]|0;if((j|0)==(c[b+712>>2]|0)){a:do if(j){i=c[b+720>>2]|0;if((j|0)>0){f=0;h=i;while(1){h=c[h+(f*104|0)+96>>2]|0;if(h|0)c[h+36>>2]=f;f=f+1|0;if((f|0)==(j|0)){k=i;break a}h=c[b+720>>2]|0}}else k=i}else k=0;while(0);h=c[b+732>>2]|0;if((h|0)>0){f=0;do{o=(c[b+740>>2]|0)+(f*52|0)+8|0;c[o>>2]=((c[o>>2]|0)-k|0)/104|0;o=(c[b+740>>2]|0)+(f*52|0)+12|0;c[o>>2]=((c[o>>2]|0)-k|0)/104|0;f=f+1|0}while((f|0)!=(h|0))}h=c[b+752>>2]|0;if((h|0)>0){f=0;do{i=(c[b+760>>2]|0)+(f*44|0)+8|0;c[i>>2]=((c[i>>2]|0)-k|0)/104|0;i=(c[b+760>>2]|0)+(f*44|0)+12|0;c[i>>2]=((c[i>>2]|0)-k|0)/104|0;i=(c[b+760>>2]|0)+(f*44|0)+16|0;c[i>>2]=((c[i>>2]|0)-k|0)/104|0;i=c[(c[b+760>>2]|0)+(f*44|0)+40>>2]|0;if(i|0)c[i+36>>2]=f;f=f+1|0}while((f|0)!=(h|0))}h=c[b+792>>2]|0;if((h|0)>0){i=c[b+800>>2]|0;f=0;do{o=i+(f*96|0)|0;c[o>>2]=((c[o>>2]|0)-k|0)/104|0;f=f+1|0}while((f|0)!=(h|0))}j=c[b+692>>2]|0;if((j|0)>0){i=0;f=c[b+700>>2]|0;do{if((c[f+(i*60|0)+24>>2]|0)>0){h=0;do{f=f+(i*60|0)+28+(h<<2)|0;c[f>>2]=((c[f>>2]|0)-k|0)/104|0;h=h+1|0;f=c[b+700>>2]|0}while((h|0)<(c[f+(i*60|0)+24>>2]|0))}i=i+1|0}while((i|0)!=(j|0))}j=c[b+712>>2]|0;if((c[b+716>>2]|0)<(j<<1|1|0)){c[7182]=(c[7182]|0)+1;f=xb(((j<<1|1)*104|3)+16|0)|0;if(!f)i=0;else{c[(f+4+15&-16)+-4>>2]=f;i=f+4+15&-16}h=c[b+712>>2]|0;if((h|0)>0){f=0;do{n=i+(f*104|0)|0;k=(c[b+720>>2]|0)+(f*104|0)|0;o=n+104|0;do{c[n>>2]=c[k>>2];n=n+4|0;k=k+4|0}while((n|0)<(o|0));f=f+1|0}while((f|0)!=(h|0))}f=c[b+720>>2]|0;if(f|0){if(a[b+724>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[f+-4>>2]|0)}c[b+720>>2]=0}a[b+724>>0]=1;c[b+720>>2]=i;c[b+716>>2]=j<<1|1;j=c[b+712>>2]|0}b:do if(j){k=c[b+720>>2]|0;if((j|0)>0){f=0;h=k;while(1){i=c[h+(f*104|0)+96>>2]|0;if(i|0)c[i+36>>2]=h+(f*104|0);f=f+1|0;if((f|0)==(j|0))break b;h=c[b+720>>2]|0}}}else k=0;while(0);h=c[b+732>>2]|0;if((h|0)>0){f=0;do{o=(c[b+740>>2]|0)+(f*52|0)+8|0;c[o>>2]=k+((c[o>>2]|0)*104|0);o=(c[b+740>>2]|0)+(f*52|0)+12|0;c[o>>2]=k+((c[o>>2]|0)*104|0);f=f+1|0}while((f|0)!=(h|0))}h=c[b+752>>2]|0;if((h|0)>0){f=0;do{i=(c[b+760>>2]|0)+(f*44|0)+8|0;c[i>>2]=k+((c[i>>2]|0)*104|0);i=(c[b+760>>2]|0)+(f*44|0)+12|0;c[i>>2]=k+((c[i>>2]|0)*104|0);i=(c[b+760>>2]|0)+(f*44|0)+16|0;c[i>>2]=k+((c[i>>2]|0)*104|0);i=c[b+760>>2]|0;j=c[i+(f*44|0)+40>>2]|0;if(j|0)c[j+36>>2]=i+(f*44|0);f=f+1|0}while((f|0)!=(h|0))}i=c[b+792>>2]|0;if((i|0)>0){h=c[b+800>>2]|0;f=0;do{o=h+(f*96|0)|0;c[o>>2]=k+((c[o>>2]|0)*104|0);f=f+1|0}while((f|0)!=(i|0))}j=c[b+692>>2]|0;if((j|0)>0){i=0;f=c[b+700>>2]|0;do{if((c[f+(i*60|0)+24>>2]|0)>0){h=0;do{f=f+(i*60|0)+28+(h<<2)|0;c[f>>2]=k+((c[f>>2]|0)*104|0);h=h+1|0;f=c[b+700>>2]|0}while((h|0)<(c[f+(i*60|0)+24>>2]|0))}i=i+1|0}while((i|0)!=(j|0))}}n=c[b+192>>2]|0;p=+va[c[(c[n>>2]|0)+48>>2]&15](n);n=r;o=n+100|0;do{c[n>>2]=0;n=n+4|0}while((n|0)<(o|0));f=c[b+712>>2]|0;if((f|0)==(c[b+716>>2]|0)?(q=(f|0)==0?1:f<<1,(f|0)<(q|0)):0){if(!q)i=0;else{c[7182]=(c[7182]|0)+1;f=xb((q*104|3)+16|0)|0;if(!f)f=0;else{c[(f+4+15&-16)+-4>>2]=f;f=f+4+15&-16}i=f;f=c[b+712>>2]|0}if((f|0)>0){h=0;do{n=i+(h*104|0)|0;k=(c[b+720>>2]|0)+(h*104|0)|0;o=n+104|0;do{c[n>>2]=c[k>>2];n=n+4|0;k=k+4|0}while((n|0)<(o|0));h=h+1|0}while((h|0)!=(f|0))}f=c[b+720>>2]|0;if(f|0){if(a[b+724>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[f+-4>>2]|0)}c[b+720>>2]=0}a[b+724>>0]=1;c[b+720>>2]=i;c[b+716>>2]=q;f=c[b+712>>2]|0}n=c[b+720>>2]|0;c[n+(f*104|0)>>2]=0;n=n+(f*104|0)+4|0;k=r;o=n+100|0;do{c[n>>2]=c[k>>2];n=n+4|0;k=k+4|0}while((n|0)<(o|0));h=c[b+712>>2]|0;c[b+712>>2]=h+1;i=c[b+720>>2]|0;n=i+(h*104|0)|0;o=n+104|0;do{c[n>>2]=0;n=n+4|0}while((n|0)<(o|0));c[i+(h*104|0)+8>>2]=c[d>>2];c[i+(h*104|0)+8+4>>2]=c[d+4>>2];c[i+(h*104|0)+8+8>>2]=c[d+8>>2];c[i+(h*104|0)+8+12>>2]=c[d+12>>2];fp(i+(h*104|0)+24|0,d|0,16)|0;g[i+(h*104|0)+88>>2]=e>0.0?1.0/e:0.0;c[i+(h*104|0)+4>>2]=c[c[b+880>>2]>>2];e=+g[i+(h*104|0)+8>>2];l=+g[i+(h*104|0)+12>>2];m=+g[i+(h*104|0)+16>>2];f=c[b+932>>2]|0;if(f|0){c[b+932>>2]=0;d=f;q=d+32|0;c[q>>2]=0;q=d+36|0;c[q>>2]=i+(h*104|0);q=d+40|0;c[q>>2]=0;g[d>>2]=e-p;q=d+4|0;g[q>>2]=l-p;q=d+8|0;g[q>>2]=m-p;q=d+12|0;g[q>>2]=0.0;q=d+16|0;g[q>>2]=p+e;q=d+20|0;g[q>>2]=p+l;q=d+24|0;g[q>>2]=p+m;q=d+28|0;g[q>>2]=0.0;q=c[b+928>>2]|0;ue(b+928|0,q,d);b=b+940|0;q=c[b>>2]|0;q=q+1|0;c[b>>2]=q;b=i+(h*104|0)+96|0;c[b>>2]=d;sa=r;return}c[7182]=(c[7182]|0)+1;f=xb(63)|0;if(!f)f=0;else{c[(f+4+15&-16)+-4>>2]=f;f=f+4+15&-16}n=f;o=n+44|0;do{c[n>>2]=0;n=n+4|0}while((n|0)<(o|0));d=f;q=d+32|0;c[q>>2]=0;q=d+36|0;c[q>>2]=i+(h*104|0);q=d+40|0;c[q>>2]=0;g[d>>2]=e-p;q=d+4|0;g[q>>2]=l-p;q=d+8|0;g[q>>2]=m-p;q=d+12|0;g[q>>2]=0.0;q=d+16|0;g[q>>2]=p+e;q=d+20|0;g[q>>2]=p+l;q=d+24|0;g[q>>2]=p+m;q=d+28|0;g[q>>2]=0.0;q=c[b+928>>2]|0;ue(b+928|0,q,d);b=b+940|0;q=c[b>>2]|0;q=q+1|0;c[b>>2]=q;b=i+(h*104|0)+96|0;c[b>>2]=d;sa=r;return}function jc(b,d,e,f,h,i,j,k,l){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0,G=0,H=0,I=0.0,J=0.0,K=0.0,L=0.0,M=0.0,N=0.0,O=0.0,P=0.0,Q=0.0,R=0.0,S=0.0,T=0.0,U=0.0,V=0.0;H=sa;sa=sa+32|0;c[H+12>>2]=i;c[H+12+4>>2]=j;c[H+12+8>>2]=k;c[H>>2]=e;c[H+4>>2]=f;c[H+8>>2]=h;if(!(+g[d+52>>2]<+g[b+12>>2])){l=0;sa=H;return l|0}v=+g[d+36>>2];y=+g[d+40>>2];w=+g[d+44>>2];k=c[d+48>>2]|0;z=1.0/+x(+(v*v+y*y+w*w));h=Jh(H)|0;A=+g[d+4>>2]-+g[h+48>>2];B=+g[d+8>>2]-+g[h+52>>2];C=+g[d+12>>2]-+g[h+56>>2];h=Jh(H+12|0)|0;D=+g[d+20>>2]-+g[h+48>>2];E=+g[d+24>>2]-+g[h+52>>2];F=+g[d+28>>2]-+g[h+56>>2];if(!f)if(!e){m=0.0;n=0.0;q=0.0;r=0.0;o=0.0;p=0.0}else{p=+g[e+336>>2];q=+g[e+340>>2];u=+g[e+332>>2];m=C*p-B*q;n=+g[e+316>>2];q=A*q-C*u;r=+g[e+320>>2];o=+g[e+324>>2];p=B*u-A*p}else{p=+g[f+332>>2];q=+g[f+336>>2];u=+g[f+328>>2];m=C*p-B*q;n=+g[f+312>>2];q=A*q-C*u;r=+g[f+316>>2];o=+g[f+320>>2];p=B*u-A*p}u=n+m;t=r+q;s=o+p;if(!j)if(!i){o=0.0;p=0.0;q=0.0;r=0.0;m=0.0;n=0.0}else{n=+g[i+336>>2];q=+g[i+340>>2];I=+g[i+332>>2];o=F*n-E*q;p=+g[i+316>>2];q=D*q-F*I;r=+g[i+320>>2];m=+g[i+324>>2];n=E*I-D*n}else{n=+g[j+332>>2];q=+g[j+336>>2];I=+g[j+328>>2];o=F*n-E*q;p=+g[j+312>>2];q=D*q-F*I;r=+g[j+316>>2];m=+g[j+320>>2];n=E*I-D*n}p=u-(p+o);t=t-(r+q);s=s-(m+n);u=w*z*s+(y*z*t+v*z*p);I=+g[d+52>>2]-+g[b+12>>2];c[l+4>>2]=c[H>>2];c[l+4+4>>2]=c[H+4>>2];c[l+4+8>>2]=c[H+8>>2];c[l+16>>2]=c[H+12>>2];c[l+16+4>>2]=c[H+12+4>>2];c[l+16+8>>2]=c[H+12+8>>2];d=Jh(H)|0;r=A*+g[d+4>>2]+B*+g[d+20>>2]+C*+g[d+36>>2];q=A*+g[d+8>>2]+B*+g[d+24>>2]+C*+g[d+40>>2];g[l+28>>2]=A*+g[d>>2]+B*+g[d+16>>2]+C*+g[d+32>>2];g[l+32>>2]=r;g[l+36>>2]=q;g[l+40>>2]=0.0;d=Jh(H+12|0)|0;q=D*+g[d+4>>2]+E*+g[d+20>>2]+F*+g[d+36>>2];r=D*+g[d+8>>2]+E*+g[d+24>>2]+F*+g[d+40>>2];g[l+44>>2]=D*+g[d>>2]+E*+g[d+16>>2]+F*+g[d+32>>2];g[l+48>>2]=q;g[l+52>>2]=r;g[l+56>>2]=0.0;g[l+164>>2]=A;g[l+168>>2]=B;g[l+172>>2]=C;g[l+176>>2]=0.0;g[l+180>>2]=D;g[l+184>>2]=E;g[l+188>>2]=F;g[l+192>>2]=0.0;g[l+60>>2]=1.0;g[l+64>>2]=1.0;c[l+156>>2]=0;c[l+160>>2]=0;g[l+68>>2]=1.0;g[l+72>>2]=v*z*I;g[l+76>>2]=y*z*I;g[l+80>>2]=w*z*I;g[l+84>>2]=0.0;g[l+196>>2]=v*z;g[l+200>>2]=y*z;g[l+204>>2]=w*z;c[l+208>>2]=k;a[l+152>>0]=0;I=+g[b+16>>2];g[l+212>>2]=(s-w*z*u)*(s-w*z*u)+((p-v*z*u)*(p-v*z*u)+(t-y*z*u)*(t-y*z*u))>2]|0;if(!k){k=c[H>>2]|0;if(!k)n=0.0;else{k=k+128|0;G=14}}else{k=k+344|0;G=14}if((G|0)==14)n=+g[k>>2];if((a[26656]|0)==0?mz(26656)|0:0){k=27192;h=k+48|0;do{c[k>>2]=0;k=k+4|0}while((k|0)<(h|0))}k=c[H+4>>2]|0;if(!k){e=c[H>>2]|0;e=(e|0)==0?27192:e+180|0}else e=k+264|0;k=c[H+12+4>>2]|0;if(!k){k=c[H+12>>2]|0;if(!k)m=0.0;else{k=k+128|0;G=25}}else{k=k+344|0;G=25}if((G|0)==25)m=+g[k>>2];if((a[26656]|0)==0?mz(26656)|0:0){k=27192;h=k+48|0;do{c[k>>2]=0;k=k+4|0}while((k|0)<(h|0))}k=c[H+12+4>>2]|0;if(!k){k=c[H+12>>2]|0;k=(k|0)==0?27192:k+180|0}else k=k+264|0;V=+g[l+172>>2];N=+g[l+168>>2];M=+g[l+164>>2];U=+g[e>>2];T=+g[e+16>>2];S=+g[e+32>>2];R=+g[e+4>>2];Q=+g[e+20>>2];P=+g[e+36>>2];O=+g[e+8>>2];L=+g[e+24>>2];K=+g[e+40>>2];B=+g[l+188>>2];u=+g[l+184>>2];v=+g[l+180>>2];J=+g[k>>2];o=+g[k+16>>2];p=+g[k+32>>2];q=+g[k+4>>2];r=+g[k+20>>2];s=+g[k+36>>2];t=+g[k+8>>2];I=+g[k+24>>2];w=+g[k+40>>2];D=n-((U*0.0+T*-V+N*S)*0.0+V*(R*0.0+Q*-V+N*P)+(O*0.0+L*-V+N*K)*-N)+(m-((J*0.0+o*-B+u*p)*0.0+B*(q*0.0+r*-B+u*s)+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-u+v*o+p*0.0)+(q*-u+v*r+s*0.0)*-v+(t*-u+v*I+w*0.0)*0.0));I=1.0/(y*(B*E-C*A)+(D*(C*w-z*B)+F*(z*A-w*E)));g[l+104>>2]=(C*w-z*B)*I;g[l+108>>2]=(B*y-w*F)*I;g[l+112>>2]=(z*F-C*y)*I;g[l+116>>2]=0.0;g[l+120>>2]=(z*A-w*E)*I;g[l+124>>2]=(w*D-A*y)*I;g[l+128>>2]=(E*y-z*D)*I;g[l+132>>2]=0.0;g[l+136>>2]=(B*E-C*A)*I;g[l+140>>2]=(A*F-B*D)*I;g[l+144>>2]=(C*D-E*F)*I;g[l+148>>2]=0.0;l=1;sa=H;return l|0}function kc(b,d,e){b=b|0;d=d|0;e=e|0;var f=0.0,h=0.0,i=0.0,k=0,l=0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0,I=0.0,J=0.0,K=0.0;w=(a[b+180>>0]|0)==0;if(w?(a[b+48>>0]|0)!=0:0){r=+g[b+116>>2];h=+g[e>>2];J=+g[b+132>>2];f=+g[e+4>>2];K=+g[b+148>>2];z=+g[e+8>>2];s=+g[b+120>>2];H=+g[b+136>>2];I=+g[b+152>>2];t=+g[b+124>>2];G=+g[b+140>>2];u=+g[b+156>>2];x=+g[e+16>>2];y=+g[e+20>>2];A=+g[e+24>>2];F=+g[e+32>>2];v=+g[e+36>>2];B=+g[e+40>>2];m=+g[b+164>>2];i=+g[b+168>>2];E=+g[b+172>>2];D=+g[e+48>>2]+(h*m+f*i+z*E);C=x*m+y*i+A*E+ +g[e+52>>2];E=F*m+v*i+B*E+ +g[e+56>>2];g[b+824>>2]=r*h+J*f+K*z;g[b+828>>2]=h*s+f*H+z*I;g[b+832>>2]=h*t+f*G+z*u;g[b+836>>2]=0.0;g[b+840>>2]=r*x+J*y+K*A;g[b+844>>2]=s*x+H*y+I*A;g[b+848>>2]=t*x+G*y+u*A;g[b+852>>2]=0.0;g[b+856>>2]=r*F+J*v+K*B;g[b+860>>2]=s*F+H*v+I*B;g[b+864>>2]=t*F+G*v+u*B;g[b+868>>2]=0.0;g[b+872>>2]=D;g[b+876>>2]=C;g[b+880>>2]=E;g[b+884>>2]=0.0;E=+g[b+52>>2];C=+g[d>>2];D=+g[b+68>>2];B=+g[d+4>>2];u=+g[b+84>>2];v=+g[d+8>>2];G=+g[b+56>>2];F=+g[b+72>>2];t=+g[b+88>>2];I=+g[b+60>>2];H=+g[b+76>>2];s=+g[b+92>>2];K=+g[d+16>>2];J=+g[d+20>>2];r=+g[d+24>>2];A=+g[d+32>>2];y=+g[d+36>>2];x=+g[d+40>>2];z=+g[b+100>>2];f=+g[b+104>>2];h=+g[b+108>>2];k=b+856|0;l=b+840|0;i=K*z+J*f+r*h;m=I*A+H*y+s*x;n=G*A+F*y+t*x;o=E*A+D*y+u*x;p=I*K+H*J+s*r;q=G*K+F*J+t*r;r=E*K+D*J+u*r;s=C*I+B*H+v*s;t=C*G+B*F+v*t;u=E*C+D*B+u*v;v=C*z+B*f+v*h;f=A*z+y*f;h=x*h}else{r=+g[b+52>>2];h=+g[d>>2];y=+g[b+68>>2];f=+g[d+4>>2];x=+g[b+84>>2];I=+g[d+8>>2];s=+g[b+56>>2];A=+g[b+72>>2];z=+g[b+88>>2];t=+g[b+60>>2];B=+g[b+76>>2];u=+g[b+92>>2];K=+g[d+16>>2];J=+g[d+20>>2];H=+g[d+24>>2];C=+g[d+32>>2];v=+g[d+36>>2];G=+g[d+40>>2];m=+g[b+100>>2];i=+g[b+104>>2];D=+g[b+108>>2];E=+g[d+48>>2]+(h*m+f*i+I*D);F=K*m+J*i+H*D+ +g[d+52>>2];D=C*m+v*i+G*D+ +g[d+56>>2];g[b+824>>2]=r*h+y*f+x*I;g[b+828>>2]=h*s+f*A+I*z;g[b+832>>2]=h*t+f*B+I*u;g[b+836>>2]=0.0;g[b+840>>2]=r*K+y*J+x*H;g[b+844>>2]=s*K+A*J+z*H;g[b+848>>2]=t*K+B*J+u*H;g[b+852>>2]=0.0;g[b+856>>2]=r*C+y*v+x*G;g[b+860>>2]=s*C+A*v+z*G;g[b+864>>2]=t*C+B*v+u*G;g[b+868>>2]=0.0;g[b+872>>2]=E;g[b+876>>2]=F;g[b+880>>2]=D;g[b+884>>2]=0.0;D=+g[b+116>>2];F=+g[e>>2];E=+g[b+132>>2];G=+g[e+4>>2];u=+g[b+148>>2];v=+g[e+8>>2];B=+g[b+120>>2];C=+g[b+136>>2];t=+g[b+152>>2];z=+g[b+124>>2];A=+g[b+140>>2];s=+g[b+156>>2];x=+g[e+16>>2];y=+g[e+20>>2];r=+g[e+24>>2];H=+g[e+32>>2];J=+g[e+36>>2];K=+g[e+40>>2];I=+g[b+164>>2];f=+g[b+168>>2];h=+g[b+172>>2];k=b+856|0;l=b+840|0;i=x*I+y*f+r*h;m=z*H+A*J+s*K;n=B*H+C*J+t*K;o=D*H+E*J+u*K;p=z*x+A*y+s*r;q=B*x+C*y+t*r;r=D*x+E*y+u*r;s=F*z+G*A+v*s;t=F*B+G*C+v*t;u=D*F+E*G+u*v;v=F*I+G*f+v*h;d=e;f=H*I+J*f;h=K*h}K=+g[d+48>>2]+v;i=i+ +g[d+52>>2];f=f+h+ +g[d+56>>2];g[b+888>>2]=u;g[b+892>>2]=t;g[b+896>>2]=s;g[b+900>>2]=0.0;g[b+904>>2]=r;g[b+908>>2]=q;g[b+912>>2]=p;g[b+916>>2]=0.0;g[b+920>>2]=o;g[b+924>>2]=n;g[b+928>>2]=m;g[b+932>>2]=0.0;g[b+936>>2]=K;g[b+940>>2]=i;g[b+944>>2]=f;g[b+948>>2]=0.0;c[b+968>>2]=c[b+872>>2];c[b+968+4>>2]=c[b+872+4>>2];c[b+968+8>>2]=c[b+872+8>>2];c[b+968+12>>2]=c[b+872+12>>2];c[b+984>>2]=c[b+936>>2];c[b+984+4>>2]=c[b+936+4>>2];c[b+984+8>>2]=c[b+936+8>>2];c[b+984+12>>2]=c[b+936+12>>2];d=c[b+824>>2]|0;e=c[l>>2]|0;l=c[k>>2]|0;c[b+952>>2]=d;c[b+956>>2]=e;c[b+960>>2]=l;g[b+964>>2]=0.0;f=(c[j>>2]=d,+g[j>>2]);h=(c[j>>2]=e,+g[j>>2]);i=(c[j>>2]=l,+g[j>>2]);if(w?(a[b+48>>0]|0)==0:0){B=+g[b+968>>2];C=+g[b+972>>2];D=+g[b+976>>2];I=D-+g[b+992>>2];G=C-+g[b+988>>2];F=B-+g[b+984>>2];w=b+1016|0;g[w>>2]=F;w=b+1020|0;g[w>>2]=G;w=b+1024|0;g[w>>2]=I;w=b+1028|0;g[w>>2]=0.0;K=F*f;E=G*h;E=K+E;K=I*i;K=E+K;E=K*f;H=K*h;J=K*i;E=B+E;H=C+H;J=D+J;w=b+1e3|0;g[w>>2]=E;w=b+1004|0;g[w>>2]=H;w=b+1008|0;g[w>>2]=J;w=b+1012|0;g[w>>2]=0.0;w=b+1032|0;g[w>>2]=K;w=b+828|0;l=b+844|0;k=b+860|0;K=+g[w>>2];J=+g[l>>2];H=+g[k>>2];K=F*K;J=G*J;J=K+J;H=I*H;H=J+H;k=b+1036|0;g[k>>2]=H;k=b+832|0;l=b+848|0;w=b+864|0;H=+g[k>>2];J=+g[l>>2];K=+g[w>>2];H=F*H;J=G*J;J=H+J;K=I*K;K=J+K;w=b+1040|0;g[w>>2]=K;return}B=+g[b+968>>2];C=+g[b+972>>2];D=+g[b+976>>2];I=+g[b+992>>2]-D;G=+g[b+988>>2]-C;F=+g[b+984>>2]-B;w=b+1016|0;g[w>>2]=F;w=b+1020|0;g[w>>2]=G;w=b+1024|0;g[w>>2]=I;w=b+1028|0;g[w>>2]=0.0;K=F*f;E=G*h;E=K+E;K=I*i;K=E+K;E=K*f;H=K*h;J=K*i;E=B+E;H=C+H;J=D+J;w=b+1e3|0;g[w>>2]=E;w=b+1004|0;g[w>>2]=H;w=b+1008|0;g[w>>2]=J;w=b+1012|0;g[w>>2]=0.0;w=b+1032|0;g[w>>2]=K;w=b+828|0;l=b+844|0;k=b+860|0;K=+g[w>>2];J=+g[l>>2];H=+g[k>>2];K=F*K;J=G*J;J=K+J;H=I*H;H=J+H;k=b+1036|0;g[k>>2]=H;k=b+832|0;l=b+848|0;w=b+864|0;H=+g[k>>2];J=+g[l>>2];K=+g[w>>2];H=F*H;J=G*J;J=H+J;K=I*K;K=J+K;w=b+1040|0;g[w>>2]=K;return}function lc(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0.0,h=0.0,i=0.0,j=0.0,k=0,l=0.0,m=0.0,n=0.0,o=0,p=0.0,q=0.0,r=0.0,s=0,t=0,u=0.0,v=0.0,w=0;t=sa;sa=sa+672|0;c[t+448+8>>2]=0;c[t+448+12>>2]=1065353216;c[t+448+16>>2]=1065353216;c[t+448+20>>2]=1065353216;g[t+448+24>>2]=0.0;c[t+448>>2]=9480;c[t+448+4>>2]=8;g[t+448+28>>2]=0.0;g[t+448+44>>2]=0.0;g[t+384>>2]=1.0;c[t+384+4>>2]=0;c[t+384+4+4>>2]=0;c[t+384+4+8>>2]=0;c[t+384+4+12>>2]=0;g[t+384+20>>2]=1.0;c[t+384+24>>2]=0;c[t+384+24+4>>2]=0;c[t+384+24+8>>2]=0;c[t+384+24+12>>2]=0;g[t+384+40>>2]=1.0;g[t+384+44>>2]=0.0;c[t+384+48>>2]=c[a>>2];c[t+384+48+4>>2]=c[a+4>>2];c[t+384+48+8>>2]=c[a+8>>2];c[t+384+48+12>>2]=c[a+12>>2];a=e;k=a+36|0;do{c[a>>2]=0;a=a+4|0}while((a|0)<(k|0));c[t+504>>2]=b;c[t+504+4>>2]=t+448;v=+g[d>>2];u=+g[d+16>>2];f=+g[d+32>>2];h=+g[d+4>>2];i=+g[d+20>>2];j=+g[d+36>>2];m=+g[d+8>>2];p=+g[d+24>>2];r=+g[d+40>>2];g[t+504+8>>2]=v+u*0.0+f*0.0;g[t+504+12>>2]=h+i*0.0+j*0.0;g[t+504+16>>2]=m+p*0.0+r*0.0;g[t+504+20>>2]=0.0;g[t+504+24>>2]=v*0.0+u+f*0.0;g[t+504+28>>2]=h*0.0+i+j*0.0;g[t+504+32>>2]=m*0.0+p+r*0.0;g[t+504+36>>2]=0.0;g[t+504+40>>2]=v*0.0+u*0.0+f;g[t+504+44>>2]=h*0.0+i*0.0+j;g[t+504+48>>2]=m*0.0+p*0.0+r;g[t+504+52>>2]=0.0;l=+g[t+384+48>>2]-+g[d+48>>2];n=+g[t+384+52>>2]-+g[d+52>>2];q=+g[t+384+56>>2]-+g[d+56>>2];g[t+504+56>>2]=v+u*0.0+f*0.0;g[t+504+60>>2]=v*0.0+u+f*0.0;g[t+504+64>>2]=v*0.0+u*0.0+f;g[t+504+68>>2]=0.0;g[t+504+72>>2]=h+i*0.0+j*0.0;g[t+504+76>>2]=h*0.0+i+j*0.0;g[t+504+80>>2]=h*0.0+i*0.0+j;g[t+504+84>>2]=0.0;g[t+504+88>>2]=m+p*0.0+r*0.0;g[t+504+92>>2]=m*0.0+p+r*0.0;g[t+504+96>>2]=m*0.0+p*0.0+r;g[t+504+100>>2]=0.0;g[t+504+104>>2]=l*v+n*u+q*f;g[t+504+108>>2]=l*h+n*i+q*j;g[t+504+112>>2]=l*m+n*p+q*r;g[t+504+116>>2]=0.0;c[t+504+120>>2]=81;c[t+504+124>>2]=0;c[t+364>>2]=0;c[t+128>>2]=0;c[t+128+4>>2]=0;c[t+128+8>>2]=0;c[t+128+12>>2]=0;c[t+376>>2]=2;c[t+368>>2]=0;g[t+144>>2]=0.0;c[t+648>>2]=1065353216;c[t+648+4>>2]=1065353216;c[t+648+8>>2]=1065353216;g[t+648+12>>2]=0.0;switch(Rb(t,t+504|0,t+648|0)|0){case 0:{a=c[t+372>>2]|0;if(!(c[a+32>>2]|0)){j=0.0;i=0.0;f=0.0;p=0.0;n=0.0;h=0.0}else{s=0;f=0.0;i=0.0;j=0.0;h=0.0;n=0.0;p=0.0;do{r=+g[a+16+(s<<2)>>2];k=c[t+504+120>>2]|0;w=c[t+504+124>>2]|0;o=(c[t+504>>2]|0)+(1?w>>1:w)|0;if(w&1)k=c[(c[o>>2]|0)+k>>2]|0;Za[k&127](t+648|0,o,c[a+(s<<2)>>2]|0);f=f+r*+g[t+648>>2];i=i+r*+g[t+648+4>>2];j=j+r*+g[t+648+8>>2];a=c[(c[t+372>>2]|0)+(s<<2)>>2]|0;l=-+g[a>>2];m=-+g[a+4>>2];q=-+g[a+8>>2];a=c[t+504+120>>2]|0;w=c[t+504+124>>2]|0;k=(c[t+504+4>>2]|0)+(1?w>>1:w)|0;if(w&1)a=c[(c[k>>2]|0)+a>>2]|0;v=+g[t+504+24>>2]*l+ +g[t+504+28>>2]*m+ +g[t+504+32>>2]*q;u=+g[t+504+40>>2]*l+ +g[t+504+44>>2]*m+ +g[t+504+48>>2]*q;g[t+632>>2]=+g[t+504+8>>2]*l+ +g[t+504+12>>2]*m+ +g[t+504+16>>2]*q;g[t+632+4>>2]=v;g[t+632+8>>2]=u;g[t+632+12>>2]=0.0;Za[a&127](t+648|0,k,t+632|0);q=+g[t+648>>2];u=+g[t+648+4>>2];v=+g[t+648+8>>2];h=h+r*(q*+g[t+504+56>>2]+u*+g[t+504+60>>2]+v*+g[t+504+64>>2]+ +g[t+504+104>>2]);n=n+r*(q*+g[t+504+72>>2]+u*+g[t+504+76>>2]+v*+g[t+504+80>>2]+ +g[t+504+108>>2]);p=p+r*(q*+g[t+504+88>>2]+u*+g[t+504+92>>2]+v*+g[t+504+96>>2]+ +g[t+504+112>>2]);s=s+1|0;a=c[t+372>>2]|0}while(s>>>0<(c[a+32>>2]|0)>>>0)}q=f*+g[d>>2]+i*+g[d+4>>2]+j*+g[d+8>>2]+ +g[d+48>>2];r=f*+g[d+16>>2]+i*+g[d+20>>2]+j*+g[d+24>>2]+ +g[d+52>>2];j=f*+g[d+32>>2]+i*+g[d+36>>2]+j*+g[d+40>>2]+ +g[d+56>>2];g[e+4>>2]=q;g[e+8>>2]=r;g[e+12>>2]=j;g[e+16>>2]=0.0;l=h*+g[d>>2]+n*+g[d+4>>2]+p*+g[d+8>>2]+ +g[d+48>>2];m=h*+g[d+16>>2]+n*+g[d+20>>2]+p*+g[d+24>>2]+ +g[d+52>>2];i=h*+g[d+32>>2]+n*+g[d+36>>2]+p*+g[d+40>>2]+ +g[d+56>>2];g[e+20>>2]=l;g[e+24>>2]=m;g[e+28>>2]=i;g[e+32>>2]=0.0;switch(c[b+4>>2]|0){case 8:{f=+g[b+28>>2]*+g[b+12>>2];break}case 0:{f=+g[b+44>>2];break}case 1:{f=+g[b+44>>2];break}case 13:{f=+g[b+44>>2];break}case 11:{f=+g[b+44>>2];break}case 10:{f=+g[b+44>>2];break}case 4:case 5:{f=+g[b+44>>2];break}default:f=+va[c[(c[b>>2]|0)+48>>2]&15](b)}switch(c[t+448+4>>2]|0){case 8:{h=+g[t+448+28>>2]*+g[t+448+12>>2];break}case 0:{h=+g[t+448+44>>2];break}case 1:{h=+g[t+448+44>>2];break}case 13:{h=+g[t+448+44>>2];break}case 11:{h=+g[t+448+44>>2];break}case 10:{h=+g[t+448+44>>2];break}case 4:case 5:{h=+g[t+448+44>>2];break}default:h=+va[c[(c[t+448>>2]|0)+48>>2]&15](t+448|0)}v=f+h;u=+x(+((l-q)*(l-q)+(m-r)*(m-r)+(i-j)*(i-j)));g[e+36>>2]=(l-q)*(1.0/u);g[e+40>>2]=(m-r)*(1.0/u);g[e+44>>2]=(i-j)*(1.0/u);g[e+48>>2]=0.0;g[e+4>>2]=v*(l-q)*(1.0/u)+ +g[e+4>>2];g[e+8>>2]=v*(m-r)*(1.0/u)+ +g[e+8>>2];g[e+12>>2]=v*(i-j)*(1.0/u)+ +g[e+12>>2];v=u-v;sa=t;return +v}case 1:{if(!(Ob(b,d,t+448|0,t+384|0,t+128|0,e,1)|0)){v=3402823466385288598117041.0e14;sa=t;return +v}f=+g[e+4>>2]-+g[e+20>>2];h=+g[e+8>>2]-+g[e+24>>2];i=+g[e+12>>2]-+g[e+28>>2];j=+x(+(f*f+h*h+i*i));if(j>=1.1920928955078125e-07){g[e+36>>2]=f*(1.0/j);g[e+40>>2]=h*(1.0/j);g[e+44>>2]=i*(1.0/j);g[e+48>>2]=0.0}v=-j;sa=t;return +v}default:{v=3402823466385288598117041.0e14;sa=t;return +v}}return 0.0}function mc(b,d,e,f,h){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0,I=0.0,J=0.0,K=0.0,L=0.0,M=0.0,N=0.0,O=0.0;q=sa;sa=sa+224|0;o=(a[b+28>>0]|0)!=0;n=o?e:d;o=o?d:e;p=c[n+4>>2]|0;if((c[p+68>>2]|0)!=(c[b+40>>2]|0)){j=c[b+12>>2]|0;if((j|0)>0){i=0;do{k=c[(c[b+20>>2]|0)+(i<<2)>>2]|0;if(k|0){Pa[c[c[k>>2]>>2]&511](k);l=c[b+4>>2]|0;Va[c[(c[l>>2]|0)+60>>2]&127](l,c[(c[b+20>>2]|0)+(i<<2)>>2]|0)}i=i+1|0}while((i|0)!=(j|0))}ug(b,d,e)}l=c[p+64>>2]|0;k=c[b+4>>2]|0;i=c[b+20>>2]|0;d=c[b+32>>2]|0;c[q+192>>2]=9e3;c[q+192+4>>2]=n;c[q+192+8>>2]=o;c[q+192+12>>2]=k;c[q+192+16>>2]=f;c[q+192+20>>2]=h;c[q+192+24>>2]=i;c[q+192+28>>2]=d;a[q+128+16>>0]=1;f=q+128+12|0;c[f>>2]=0;c[q+128+4>>2]=0;c[q+128+8>>2]=0;d=c[b+12>>2]|0;if((d|0)>0){k=0;while(1){i=c[i+(k<<2)>>2]|0;if(i){Va[c[(c[i>>2]|0)+16>>2]&127](i,q+128|0);i=c[q+128+4>>2]|0;if((i|0)>0){j=0;do{e=c[(c[f>>2]|0)+(j<<2)>>2]|0;if(c[e+748>>2]|0){c[h+4>>2]=e;i=c[e+740>>2]|0;d=c[(c[h+8>>2]|0)+8>>2]|0;if((i|0)==(d|0))re(e,i+4|0,(c[(c[h+12>>2]|0)+8>>2]|0)+4|0);else re(e,(c[(c[h+12>>2]|0)+8>>2]|0)+4|0,d+4|0);c[h+4>>2]=0;i=c[q+128+4>>2]|0}j=j+1|0}while((j|0)<(i|0))}if((i|0)<0){if((c[q+128+8>>2]|0)<0){d=c[f>>2]|0;if(d|0){if(a[q+128+16>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[f>>2]=0}a[q+128+16>>0]=1;c[f>>2]=0;c[q+128+8>>2]=0}do{c[(c[f>>2]|0)+(i<<2)>>2]=0;i=i+1|0}while((i|0)!=0)}c[q+128+4>>2]=0;d=c[b+12>>2]|0}i=k+1|0;if((i|0)>=(d|0))break;k=i;i=c[b+20>>2]|0}i=c[f>>2]|0;if(i|0){if(a[q+128+16>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[i+-4>>2]|0)}c[f>>2]=0}}if(!l){d=c[b+12>>2]|0;if((d|0)>0){i=0;do{ae(q+192|0,c[(c[p+24>>2]|0)+(i*80|0)+64>>2]|0,i);i=i+1|0}while((i|0)<(d|0));m=40}}else{m=c[n+12>>2]|0;F=+g[m>>2];E=+g[m+16>>2];D=+g[m+32>>2];C=+g[m+4>>2];B=+g[m+20>>2];A=+g[m+36>>2];w=+g[m+8>>2];u=+g[m+24>>2];s=+g[m+40>>2];z=-+g[m+48>>2];y=-+g[m+52>>2];x=-+g[m+56>>2];m=c[o+12>>2]|0;O=+g[m>>2];N=+g[m+16>>2];M=+g[m+32>>2];L=+g[m+4>>2];K=+g[m+20>>2];J=+g[m+36>>2];I=+g[m+8>>2];H=+g[m+24>>2];G=+g[m+40>>2];v=+g[m+48>>2];t=+g[m+52>>2];r=+g[m+56>>2];g[q+48>>2]=F*O+E*N+D*M;g[q+48+4>>2]=F*L+E*K+D*J;g[q+48+8>>2]=F*I+E*H+D*G;g[q+48+12>>2]=0.0;g[q+48+16>>2]=C*O+B*N+A*M;g[q+48+20>>2]=C*L+B*K+A*J;g[q+48+24>>2]=C*I+B*H+A*G;g[q+48+28>>2]=0.0;g[q+48+32>>2]=w*O+u*N+s*M;g[q+48+36>>2]=w*L+u*K+s*J;g[q+48+40>>2]=w*I+u*H+s*G;g[q+48+44>>2]=0.0;g[q+48+48>>2]=F*z+E*y+D*x+(F*v+E*t+D*r);g[q+48+52>>2]=C*z+B*y+A*x+(C*v+B*t+A*r);g[q+48+56>>2]=w*z+u*y+s*x+(w*v+u*t+s*r);g[q+48+60>>2]=0.0;m=c[o+4>>2]|0;ab[c[(c[m>>2]|0)+8>>2]&127](m,q+48|0,q+128|0,q+112|0);c[q+16>>2]=c[q+128>>2];c[q+16+4>>2]=c[q+128+4>>2];c[q+16+8>>2]=c[q+128+8>>2];c[q+16+12>>2]=c[q+128+12>>2];c[q+16+16>>2]=c[q+112>>2];c[q+16+16+4>>2]=c[q+112+4>>2];c[q+16+16+8>>2]=c[q+112+8>>2];c[q+16+16+12>>2]=c[q+112+12>>2];le(c[l>>2]|0,q+16|0,q+192|0);m=40}if((m|0)==40)d=c[b+12>>2]|0;if((d|0)<=0){sa=q;return}e=0;do{do if(c[(c[b+20>>2]|0)+(e<<2)>>2]|0){l=c[p+24>>2]|0;m=c[l+(e*80|0)+64>>2]|0;h=c[n+12>>2]|0;u=+g[h>>2];v=+g[h+4>>2];w=+g[h+8>>2];x=+g[h+16>>2];y=+g[h+20>>2];z=+g[h+24>>2];G=+g[h+32>>2];I=+g[h+36>>2];K=+g[h+40>>2];A=+g[l+(e*80|0)>>2];B=+g[l+(e*80|0)+16>>2];C=+g[l+(e*80|0)+32>>2];D=+g[l+(e*80|0)+4>>2];E=+g[l+(e*80|0)+20>>2];F=+g[l+(e*80|0)+36>>2];H=+g[l+(e*80|0)+8>>2];J=+g[l+(e*80|0)+24>>2];L=+g[l+(e*80|0)+40>>2];s=+g[l+(e*80|0)+48>>2];t=+g[l+(e*80|0)+52>>2];O=+g[l+(e*80|0)+56>>2];M=+g[h+48>>2]+(u*s+v*t+w*O);N=+g[h+52>>2]+(x*s+y*t+z*O);O=+g[h+56>>2]+(G*s+I*t+K*O);g[q+128>>2]=u*A+v*B+w*C;g[q+128+4>>2]=u*D+v*E+w*F;g[q+128+8>>2]=u*H+v*J+w*L;g[q+128+12>>2]=0.0;g[q+128+16>>2]=x*A+y*B+z*C;g[q+128+20>>2]=x*D+y*E+z*F;g[q+128+24>>2]=x*H+y*J+z*L;g[q+128+28>>2]=0.0;g[q+128+32>>2]=G*A+I*B+K*C;g[q+128+36>>2]=G*D+I*E+K*F;g[q+128+40>>2]=G*H+I*J+K*L;g[q+128+44>>2]=0.0;g[q+128+48>>2]=M;g[q+128+52>>2]=N;g[q+128+56>>2]=O;g[q+128+60>>2]=0.0;ab[c[(c[m>>2]|0)+8>>2]&127](m,q+128|0,q+112|0,q+48|0);m=c[o+4>>2]|0;ab[c[(c[m>>2]|0)+8>>2]&127](m,c[o+12>>2]|0,q+16|0,q);if(!(+g[q+112>>2]>+g[q>>2])?!(+g[q+48>>2]<+g[q+16>>2]):0)i=1;else i=0;if(!(!(+g[q+112+8>>2]>+g[q+8>>2])?!(+g[q+48+8>>2]<+g[q+16+8>>2]):0))i=0;if(!(+g[q+112+4>>2]>+g[q+4>>2])?!(+g[q+48+4>>2]<+g[q+16+4>>2]|i^1):0)break;m=c[(c[b+20>>2]|0)+(e<<2)>>2]|0;Pa[c[c[m>>2]>>2]&511](m);m=c[b+4>>2]|0;Va[c[(c[m>>2]|0)+60>>2]&127](m,c[(c[b+20>>2]|0)+(e<<2)>>2]|0);c[(c[b+20>>2]|0)+(e<<2)>>2]=0}while(0);e=e+1|0}while((e|0)<(d|0));sa=q;return}function nc(a,b,f,i){a=a|0;b=b|0;f=f|0;i=i|0;var j=0.0,k=0.0,l=0.0,m=0,n=0,o=0.0,p=0.0,q=0,r=0,s=0,t=0;n=sa;sa=sa+80|0;m=Fa[c[(c[a>>2]|0)+28>>2]&127](a)|0;j=+g[a+4>>2];k=+g[a+8>>2];l=+g[a+12>>2];if((m|0)<=0){sa=n;return}i=0;do{kb[c[(c[a>>2]|0)+16>>2]&3](a,n+76|0,n+52|0,n+64|0,n+56|0,n+72|0,n+68|0,n+48|0,n+60|0,i);a:do switch(c[n+64>>2]|0){case 0:{switch(c[n+60>>2]|0){case 2:{if((c[n+48>>2]|0)<=0)break a;f=0;do{r=(c[n+72>>2]|0)+(J(c[n+68>>2]|0,f)|0)|0;s=c[n+76>>2]|0;q=c[n+56>>2]|0;t=s+(J(q,c[r>>2]|0)|0)|0;p=k*+g[t+4>>2];o=l*+g[t+8>>2];g[n>>2]=j*+g[t>>2];g[n+4>>2]=p;g[n+8>>2]=o;g[n+12>>2]=0.0;t=s+(J(c[r+4>>2]|0,q)|0)|0;o=k*+g[t+4>>2];p=l*+g[t+8>>2];g[n+16>>2]=j*+g[t>>2];g[n+20>>2]=o;g[n+24>>2]=p;g[n+28>>2]=0.0;q=s+(J(c[r+8>>2]|0,q)|0)|0;p=k*+g[q+4>>2];o=l*+g[q+8>>2];g[n+32>>2]=j*+g[q>>2];g[n+36>>2]=p;g[n+40>>2]=o;g[n+44>>2]=0.0;ab[c[(c[b>>2]|0)+8>>2]&127](b,n,i,f);f=f+1|0}while((f|0)<(c[n+48>>2]|0));break}case 3:{if((c[n+48>>2]|0)<=0)break a;f=0;do{t=(c[n+72>>2]|0)+(J(c[n+68>>2]|0,f)|0)|0;r=c[n+76>>2]|0;s=c[n+56>>2]|0;q=r+(J(s,e[t>>1]|0)|0)|0;o=k*+g[q+4>>2];p=l*+g[q+8>>2];g[n>>2]=j*+g[q>>2];g[n+4>>2]=o;g[n+8>>2]=p;g[n+12>>2]=0.0;q=r+(J(s,e[t+2>>1]|0)|0)|0;p=k*+g[q+4>>2];o=l*+g[q+8>>2];g[n+16>>2]=j*+g[q>>2];g[n+20>>2]=p;g[n+24>>2]=o;g[n+28>>2]=0.0;t=r+(J(s,e[t+4>>1]|0)|0)|0;o=k*+g[t+4>>2];p=l*+g[t+8>>2];g[n+32>>2]=j*+g[t>>2];g[n+36>>2]=o;g[n+40>>2]=p;g[n+44>>2]=0.0;ab[c[(c[b>>2]|0)+8>>2]&127](b,n,i,f);f=f+1|0}while((f|0)<(c[n+48>>2]|0));break}case 5:{if((c[n+48>>2]|0)<=0)break a;f=0;do{t=(c[n+72>>2]|0)+(J(c[n+68>>2]|0,f)|0)|0;r=c[n+76>>2]|0;s=c[n+56>>2]|0;q=r+(J(s,d[t>>0]|0)|0)|0;o=k*+g[q+4>>2];p=l*+g[q+8>>2];g[n>>2]=j*+g[q>>2];g[n+4>>2]=o;g[n+8>>2]=p;g[n+12>>2]=0.0;q=r+(J(s,d[t+1>>0]|0)|0)|0;p=k*+g[q+4>>2];o=l*+g[q+8>>2];g[n+16>>2]=j*+g[q>>2];g[n+20>>2]=p;g[n+24>>2]=o;g[n+28>>2]=0.0;t=r+(J(s,d[t+2>>0]|0)|0)|0;o=k*+g[t+4>>2];p=l*+g[t+8>>2];g[n+32>>2]=j*+g[t>>2];g[n+36>>2]=o;g[n+40>>2]=p;g[n+44>>2]=0.0;ab[c[(c[b>>2]|0)+8>>2]&127](b,n,i,f);f=f+1|0}while((f|0)<(c[n+48>>2]|0));break}default:break a}break}case 1:{switch(c[n+60>>2]|0){case 2:{if((c[n+48>>2]|0)<=0)break a;f=0;do{s=(c[n+72>>2]|0)+(J(c[n+68>>2]|0,f)|0)|0;r=c[n+76>>2]|0;t=c[n+56>>2]|0;q=r+(J(t,c[s>>2]|0)|0)|0;o=k*+h[q+8>>3];p=l*+h[q+16>>3];g[n>>2]=j*+h[q>>3];g[n+4>>2]=o;g[n+8>>2]=p;g[n+12>>2]=0.0;q=r+(J(c[s+4>>2]|0,t)|0)|0;p=k*+h[q+8>>3];o=l*+h[q+16>>3];g[n+16>>2]=j*+h[q>>3];g[n+20>>2]=p;g[n+24>>2]=o;g[n+28>>2]=0.0;t=r+(J(c[s+8>>2]|0,t)|0)|0;o=k*+h[t+8>>3];p=l*+h[t+16>>3];g[n+32>>2]=j*+h[t>>3];g[n+36>>2]=o;g[n+40>>2]=p;g[n+44>>2]=0.0;ab[c[(c[b>>2]|0)+8>>2]&127](b,n,i,f);f=f+1|0}while((f|0)<(c[n+48>>2]|0));break}case 3:{if((c[n+48>>2]|0)<=0)break a;f=0;do{t=(c[n+72>>2]|0)+(J(c[n+68>>2]|0,f)|0)|0;r=c[n+76>>2]|0;s=c[n+56>>2]|0;q=r+(J(s,e[t>>1]|0)|0)|0;o=k*+h[q+8>>3];p=l*+h[q+16>>3];g[n>>2]=j*+h[q>>3];g[n+4>>2]=o;g[n+8>>2]=p;g[n+12>>2]=0.0;q=r+(J(s,e[t+2>>1]|0)|0)|0;p=k*+h[q+8>>3];o=l*+h[q+16>>3];g[n+16>>2]=j*+h[q>>3];g[n+20>>2]=p;g[n+24>>2]=o;g[n+28>>2]=0.0;t=r+(J(s,e[t+4>>1]|0)|0)|0;o=k*+h[t+8>>3];p=l*+h[t+16>>3];g[n+32>>2]=j*+h[t>>3];g[n+36>>2]=o;g[n+40>>2]=p;g[n+44>>2]=0.0;ab[c[(c[b>>2]|0)+8>>2]&127](b,n,i,f);f=f+1|0}while((f|0)<(c[n+48>>2]|0));break}case 5:{if((c[n+48>>2]|0)<=0)break a;f=0;do{t=(c[n+72>>2]|0)+(J(c[n+68>>2]|0,f)|0)|0;r=c[n+76>>2]|0;s=c[n+56>>2]|0;q=r+(J(s,d[t>>0]|0)|0)|0;o=k*+h[q+8>>3];p=l*+h[q+16>>3];g[n>>2]=j*+h[q>>3];g[n+4>>2]=o;g[n+8>>2]=p;g[n+12>>2]=0.0;q=r+(J(s,d[t+1>>0]|0)|0)|0;p=k*+h[q+8>>3];o=l*+h[q+16>>3];g[n+16>>2]=j*+h[q>>3];g[n+20>>2]=p;g[n+24>>2]=o;g[n+28>>2]=0.0;t=r+(J(s,d[t+2>>0]|0)|0)|0;o=k*+h[t+8>>3];p=l*+h[t+16>>3];g[n+32>>2]=j*+h[t>>3];g[n+36>>2]=o;g[n+40>>2]=p;g[n+44>>2]=0.0;ab[c[(c[b>>2]|0)+8>>2]&127](b,n,i,f);f=f+1|0}while((f|0)<(c[n+48>>2]|0));break}default:break a}break}default:{}}while(0);Va[c[(c[a>>2]|0)+24>>2]&127](a,i);i=i+1|0}while((i|0)!=(m|0));sa=n;return}function oc(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,h=0,i=0,j=0,k=0,l=0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,x=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0,I=0.0,J=0.0,K=0.0,L=0.0,M=0.0,N=0.0,O=0.0,P=0.0,Q=0.0,R=0.0,S=0.0,T=0.0,U=0.0,V=0.0,W=0.0;c[b>>2]=c[a>>2];c[b+4>>2]=c[a+4>>2];c[b+8>>2]=c[a+8>>2];c[b+12>>2]=c[a+12>>2];c[b+16>>2]=c[a+16>>2];c[b+16+4>>2]=c[a+16+4>>2];c[b+16+8>>2]=c[a+16+8>>2];c[b+16+12>>2]=c[a+16+12>>2];c[b+32>>2]=c[a+32>>2];c[b+32+4>>2]=c[a+32+4>>2];c[b+32+8>>2]=c[a+32+8>>2];c[b+32+12>>2]=c[a+32+12>>2];q=+g[a+20>>2];m=+g[a+40>>2];r=+g[a+24>>2];n=+g[a+36>>2];o=+g[a+32>>2];s=+g[a+16>>2];t=+g[a>>2];p=+g[a+4>>2];u=+g[a+8>>2];v=1.0/((q*m-r*n)*t+p*(r*o-m*s)+(n*s-q*o)*u);g[d>>2]=(q*m-r*n)*v;g[d+4>>2]=(n*u-m*p)*v;g[d+8>>2]=(r*p-q*u)*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d+28>>2]=0.0;g[d+32>>2]=U;g[d+36>>2]=V;W=W*.5;g[d+40>>2]=W;g[d+44>>2]=0.0;return}function pc(d,e,f,h,i){d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;var j=0.0,k=0,l=0.0,m=0,n=0,o=0.0,p=0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0;x=sa;sa=sa+128|0;a[d+60>>0]=f&1;if(f){s=+g[h>>2]+-1.0;t=+g[h+4>>2]+-1.0;u=+g[h+8>>2]+-1.0;g[d+4>>2]=s;g[d+8>>2]=t;g[d+12>>2]=u;g[d+16>>2]=0.0;q=+g[i>>2]+1.0;l=+g[i+4>>2]+1.0;v=+g[i+8>>2]+1.0;g[d+20>>2]=q;g[d+24>>2]=l;g[d+28>>2]=v;g[d+32>>2]=0.0;g[d+36>>2]=65533.0/(q-s);g[d+40>>2]=65533.0/(l-t);g[d+44>>2]=65533.0/(v-u);g[d+48>>2]=0.0;a[d+60>>0]=1;j=s+ +(~~((s-s)*(65533.0/(q-s)))&65535&-2&65535)/(65533.0/(q-s))+-1.0;o=t+ +(~~((t-t)*(65533.0/(l-t)))&65535&-2&65535)/(65533.0/(l-t))+-1.0;r=u+ +(~~((u-u)*(65533.0/(v-u)))&65535&-2&65535)/(65533.0/(v-u))+-1.0;if(j>2]=j;w=j}else w=s;if(o>2]=o;else o=t;if(r>2]=r;j=v-r}else{j=v-u;r=u}s=w+ +((~~(65533.0/(q-s)*(q-w)+1.0)&65535|1)&65535)/(65533.0/(q-s))+1.0;t=o+ +((~~(65533.0/(l-t)*(l-o)+1.0)&65535|1)&65535)/(65533.0/(l-t))+1.0;u=r+ +((~~(65533.0/(v-u)*j+1.0)&65535|1)&65535)/(65533.0/(v-u))+1.0;if(q>2]=s;q=s}if(l>2]=t;l=t}if(v>2]=u;j=u-r}g[d+36>>2]=65533.0/(q-w);g[d+40>>2]=65533.0/(l-o);g[d+44>>2]=65533.0/j;g[d+48>>2]=0.0;c[x+96>>2]=10928;c[x+96+4>>2]=d+104;c[x+96+8>>2]=d;ab[c[(c[e>>2]|0)+8>>2]&127](e,x+96|0,d+4|0,d+20|0);f=c[d+108>>2]|0;c[x+80>>2]=0;c[x+80+4>>2]=0;c[x+80+8>>2]=0;c[x+80+12>>2]=0;k=c[d+128>>2]|0;if((k|0)<(f<<1|0)){if((c[d+132>>2]|0)<(f<<1|0)){if(!f){h=0;e=k}else{c[7182]=(c[7182]|0)+1;h=xb(f<<5|19)|0;if(!h)h=0;else{c[(h+4+15&-16)+-4>>2]=h;h=h+4+15&-16}e=c[d+128>>2]|0}if((e|0)>0){i=0;do{p=h+(i<<4)|0;n=(c[d+136>>2]|0)+(i<<4)|0;c[p>>2]=c[n>>2];c[p+4>>2]=c[n+4>>2];c[p+8>>2]=c[n+8>>2];c[p+12>>2]=c[n+12>>2];i=i+1|0}while((i|0)!=(e|0))}i=c[d+136>>2]|0;if(i|0){if(a[d+140>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[i+-4>>2]|0)}c[d+136>>2]=0}a[d+140>>0]=1;c[d+136>>2]=h;c[d+132>>2]=f<<1;i=d+136|0}else i=d+136|0;h=k;do{p=(c[i>>2]|0)+(h<<4)|0;c[p>>2]=c[x+80>>2];c[p+4>>2]=c[x+80+4>>2];c[p+8>>2]=c[x+80+8>>2];c[p+12>>2]=c[x+80+12>>2];h=h+1|0}while((h|0)!=(f<<1|0))}c[d+128>>2]=f<<1}else{c[x+96>>2]=10948;c[x+96+4>>2]=d+64;c[x+80>>2]=-581039253;c[x+80+4>>2]=-581039253;c[x+80+8>>2]=-581039253;g[x+80+12>>2]=0.0;c[x+64>>2]=1566444395;c[x+64+4>>2]=1566444395;c[x+64+8>>2]=1566444395;g[x+64+12>>2]=0.0;ab[c[(c[e>>2]|0)+8>>2]&127](e,x+96|0,x+80|0,x+64|0);f=c[d+68>>2]|0;k=x;n=k+64|0;do{c[k>>2]=0;k=k+4|0}while((k|0)<(n|0));p=c[d+88>>2]|0;if((p|0)<(f<<1|0)){if((c[d+92>>2]|0)<(f<<1|0)){if(!f){h=0;e=p}else{c[7182]=(c[7182]|0)+1;h=xb(f<<7|19)|0;if(!h)h=0;else{c[(h+4+15&-16)+-4>>2]=h;h=h+4+15&-16}e=c[d+88>>2]|0}if((e|0)>0){i=0;do{k=h+(i<<6)|0;m=(c[d+96>>2]|0)+(i<<6)|0;n=k+64|0;do{c[k>>2]=c[m>>2];k=k+4|0;m=m+4|0}while((k|0)<(n|0));i=i+1|0}while((i|0)!=(e|0))}i=c[d+96>>2]|0;if(i|0){if(a[d+100>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[i+-4>>2]|0)}c[d+96>>2]=0}a[d+100>>0]=1;c[d+96>>2]=h;c[d+92>>2]=f<<1;i=d+96|0}else i=d+96|0;h=p;do{k=(c[i>>2]|0)+(h<<6)|0;m=x;n=k+64|0;do{c[k>>2]=c[m>>2];k=k+4|0;m=m+4|0}while((k|0)<(n|0));h=h+1|0}while((h|0)!=(f<<1|0))}c[d+88>>2]=f<<1}c[d+56>>2]=0;Ib(d,0,f);if(a[d+60>>0]|0?(c[d+152>>2]|0)==0:0){if(!(c[d+156>>2]|0)){c[7182]=(c[7182]|0)+1;f=xb(51)|0;if(!f)e=0;else{c[(f+4+15&-16)+-4>>2]=f;e=f+4+15&-16}h=c[d+152>>2]|0;if((h|0)>0){f=0;do{p=e+(f<<5)|0;n=(c[d+160>>2]|0)+(f<<5)|0;c[p>>2]=c[n>>2];c[p+4>>2]=c[n+4>>2];c[p+8>>2]=c[n+8>>2];c[p+12>>2]=c[n+12>>2];c[p+16>>2]=c[n+16>>2];c[p+20>>2]=c[n+20>>2];c[p+24>>2]=c[n+24>>2];c[p+28>>2]=c[n+28>>2];f=f+1|0}while((f|0)!=(h|0))}f=c[d+160>>2]|0;if(f|0){if(a[d+164>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[f+-4>>2]|0)}c[d+160>>2]=0}a[d+164>>0]=1;c[d+160>>2]=e;c[d+156>>2]=1;h=d+160|0;i=(c[d+152>>2]|0)+1|0;f=e}else{h=d+160|0;i=1;f=c[d+160>>2]|0}c[d+152>>2]=i;c[f>>2]=c[x+96>>2];c[f+4>>2]=c[x+96+4>>2];c[f+8>>2]=c[x+96+8>>2];c[f+12>>2]=c[x+96+12>>2];c[f+16>>2]=c[x+96+16>>2];c[f+20>>2]=c[x+96+20>>2];c[f+24>>2]=c[x+96+24>>2];c[f+28>>2]=c[x+96+28>>2];p=c[h>>2]|0;n=c[d+136>>2]|0;b[p>>1]=b[n>>1]|0;b[p+2>>1]=b[n+2>>1]|0;b[p+4>>1]=b[n+4>>1]|0;b[p+6>>1]=b[n+6>>1]|0;b[p+8>>1]=b[n+8>>1]|0;b[p+10>>1]=b[n+10>>1]|0;c[p+12>>2]=0;n=c[n+12>>2]|0;c[p+16>>2]=(n|0)>-1?1:0-n|0}c[d+168>>2]=c[d+152>>2];f=c[d+116>>2]|0;if(f|0){if(a[d+120>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[f+-4>>2]|0)}c[d+116>>2]=0}a[d+120>>0]=1;c[d+116>>2]=0;c[d+108>>2]=0;c[d+112>>2]=0;f=c[d+76>>2]|0;if(!f){a[d+80>>0]=1;c[d+76>>2]=0;c[d+68>>2]=0;d=d+72|0;c[d>>2]=0;sa=x;return}if(a[d+80>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[f+-4>>2]|0)}c[d+76>>2]=0;a[d+80>>0]=1;c[d+76>>2]=0;c[d+68>>2]=0;d=d+72|0;c[d>>2]=0;sa=x;return}function qc(b,d,e,f,h,i,k,l,m,n,o){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;k=k|0;l=l|0;m=+m;n=+n;o=+o;var p=0,q=0,r=0,s=0.0,t=0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0,I=0.0,J=0.0,K=0.0,L=0.0,M=0,N=0,O=0.0,P=0.0,Q=0.0,R=0.0;N=c[b+68>>2]|0;if((N|0)==(c[b+72>>2]|0)?(t=(N|0)==0?1:N<<1,(N|0)<(t|0)):0){if(!t){p=0;r=N}else{c[7182]=(c[7182]|0)+1;p=xb((t*152|3)+16|0)|0;if(!p)p=0;else{c[(p+4+15&-16)+-4>>2]=p;p=p+4+15&-16}r=c[b+68>>2]|0}if((r|0)>0){q=0;do{Bh(p+(q*152|0)|0,(c[b+76>>2]|0)+(q*152|0)|0,152)|0;q=q+1|0}while((q|0)!=(r|0))}q=c[b+76>>2]|0;if(q|0){if(a[b+80>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[q+-4>>2]|0)}c[b+76>>2]=0}a[b+80>>0]=1;c[b+76>>2]=p;c[b+72>>2]=t;p=c[b+68>>2]|0}else p=N;c[b+68>>2]=p+1;M=c[b+76>>2]|0;c[M+(N*152|0)+140>>2]=h;r=c[b+16>>2]|0;p=c[r+(e*244|0)+240>>2]|0;t=c[r+(f*244|0)+240>>2]|0;c[M+(N*152|0)+144>>2]=e;c[M+(N*152|0)+148>>2]=f;q=c[i+84>>2]|0;c[M+(N*152|0)+104>>2]=q;c[M+(N*152|0)+132>>2]=0;g[M+(N*152|0)+100>>2]=0.0;g[M+(N*152|0)+96>>2]=0.0;L=(c[j>>2]=q,+g[j>>2]);if(p|0){c[M+(N*152|0)+16>>2]=c[d>>2];c[M+(N*152|0)+16+4>>2]=c[d+4>>2];c[M+(N*152|0)+16+8>>2]=c[d+8>>2];c[M+(N*152|0)+16+12>>2]=c[d+12>>2];K=+g[k+4>>2];D=+g[M+(N*152|0)+24>>2];H=+g[k+8>>2];I=+g[M+(N*152|0)+20>>2];E=+g[M+(N*152|0)+16>>2];J=+g[k>>2];g[M+(N*152|0)>>2]=K*D-H*I;g[M+(N*152|0)+4>>2]=H*E-D*J;g[M+(N*152|0)+8>>2]=I*J-K*E;g[M+(N*152|0)+12>>2]=0.0;v=((K*D-H*I)*+g[p+264>>2]+(H*E-D*J)*+g[p+268>>2]+(I*J-K*E)*+g[p+272>>2])*+g[p+544>>2];s=((K*D-H*I)*+g[p+280>>2]+(H*E-D*J)*+g[p+284>>2]+(I*J-K*E)*+g[p+288>>2])*+g[p+548>>2];u=((K*D-H*I)*+g[p+296>>2]+(H*E-D*J)*+g[p+300>>2]+(I*J-K*E)*+g[p+304>>2])*+g[p+552>>2];g[M+(N*152|0)+64>>2]=v;g[M+(N*152|0)+68>>2]=s;g[M+(N*152|0)+72>>2]=u;g[M+(N*152|0)+76>>2]=0.0;z=E;A=I;B=D;C=K*D-H*I;D=H*E-D*J;E=I*J-K*E}else{c[M+(N*152|0)+64>>2]=0;c[M+(N*152|0)+64+4>>2]=0;c[M+(N*152|0)+64+8>>2]=0;c[M+(N*152|0)+64+12>>2]=0;c[M+(N*152|0)>>2]=0;c[M+(N*152|0)+4>>2]=0;c[M+(N*152|0)+8>>2]=0;c[M+(N*152|0)+12>>2]=0;c[M+(N*152|0)+16>>2]=0;c[M+(N*152|0)+20>>2]=0;c[M+(N*152|0)+24>>2]=0;c[M+(N*152|0)+28>>2]=0;s=0.0;u=0.0;v=0.0;z=0.0;A=0.0;B=0.0;C=0.0;D=0.0;E=0.0}if(t|0){K=-+g[d>>2];P=-+g[d+4>>2];J=-+g[d+8>>2];g[M+(N*152|0)+48>>2]=K;g[M+(N*152|0)+52>>2]=P;g[M+(N*152|0)+56>>2]=J;g[M+(N*152|0)+60>>2]=0.0;O=+g[l+4>>2];R=+g[l+8>>2];Q=+g[l>>2];g[M+(N*152|0)+32>>2]=O*J-R*P;g[M+(N*152|0)+36>>2]=R*K-Q*J;g[M+(N*152|0)+40>>2]=Q*P-O*K;g[M+(N*152|0)+44>>2]=0.0;w=((O*J-R*P)*+g[t+264>>2]+(R*K-Q*J)*+g[t+268>>2]+(Q*P-O*K)*+g[t+272>>2])*+g[t+544>>2];x=((O*J-R*P)*+g[t+280>>2]+(R*K-Q*J)*+g[t+284>>2]+(Q*P-O*K)*+g[t+288>>2])*+g[t+548>>2];y=((O*J-R*P)*+g[t+296>>2]+(R*K-Q*J)*+g[t+300>>2]+(Q*P-O*K)*+g[t+304>>2])*+g[t+552>>2];g[M+(N*152|0)+80>>2]=w;g[M+(N*152|0)+84>>2]=x;g[M+(N*152|0)+88>>2]=y;g[M+(N*152|0)+92>>2]=0.0;F=K;G=P;H=J;I=O*J-R*P;J=R*K-Q*J;K=Q*P-O*K}else{c[M+(N*152|0)+80>>2]=0;c[M+(N*152|0)+80+4>>2]=0;c[M+(N*152|0)+80+8>>2]=0;c[M+(N*152|0)+80+12>>2]=0;c[M+(N*152|0)+32>>2]=0;c[M+(N*152|0)+32+4>>2]=0;c[M+(N*152|0)+32+8>>2]=0;c[M+(N*152|0)+32+12>>2]=0;c[M+(N*152|0)+32+16>>2]=0;c[M+(N*152|0)+32+20>>2]=0;c[M+(N*152|0)+32+24>>2]=0;c[M+(N*152|0)+32+28>>2]=0;w=0.0;x=0.0;y=0.0;F=0.0;G=0.0;H=0.0;I=0.0;J=0.0;K=0.0}if(p|0){P=+g[k+8>>2];Q=+g[k+4>>2];R=+g[k>>2];u=+g[p+344>>2]+((s*P-u*Q)*+g[d>>2]+(u*R-P*v)*+g[d+4>>2]+(Q*v-s*R)*+g[d+8>>2])}else u=0.0;if(t|0){Q=-w;s=-x;y=-y;O=+g[l+8>>2];P=+g[l+4>>2];R=+g[l>>2];s=+g[t+344>>2]+((O*s-P*y)*+g[d>>2]+(R*y-O*Q)*+g[d+4>>2]+(P*Q-R*s)*+g[d+8>>2])}else s=0.0;x=m/(u+s);g[M+(N*152|0)+108>>2]=x;if(p|0){u=+g[r+(e*244|0)+192>>2];v=+g[r+(e*244|0)+196>>2];w=+g[r+(e*244|0)+200>>2];s=(+g[r+(e*244|0)+176>>2]+ +g[r+(e*244|0)+208>>2])*z+(+g[r+(e*244|0)+180>>2]+ +g[r+(e*244|0)+212>>2])*A+(+g[r+(e*244|0)+184>>2]+ +g[r+(e*244|0)+216>>2])*B}else{u=0.0;v=0.0;w=0.0;s=z*0.0+A*0.0+B*0.0}s=s+(u*C+v*D+w*E);if(t|0){O=+g[r+(f*244|0)+192>>2];P=+g[r+(f*244|0)+196>>2];R=+g[r+(f*244|0)+200>>2];Q=(+g[r+(f*244|0)+176>>2]+ +g[r+(f*244|0)+208>>2])*F+(+g[r+(f*244|0)+180>>2]+ +g[r+(f*244|0)+212>>2])*G+(+g[r+(f*244|0)+184>>2]+ +g[r+(f*244|0)+216>>2])*H;O=O*I;P=P*J;P=O+P;R=R*K;R=P+R;R=Q+R;R=s+R;R=n-R;R=x*R;f=M+(N*152|0)+112|0;g[f>>2]=R;f=M+(N*152|0)+116|0;g[f>>2]=o;R=-L;f=M+(N*152|0)+120|0;g[f>>2]=R;f=M+(N*152|0)+124|0;c[f>>2]=q;return}else{O=0.0;P=0.0;R=0.0;Q=F*0.0+G*0.0+H*0.0;O=O*I;P=P*J;P=O+P;R=R*K;R=P+R;R=Q+R;R=s+R;R=n-R;R=x*R;f=M+(N*152|0)+112|0;g[f>>2]=R;f=M+(N*152|0)+116|0;g[f>>2]=o;R=-L;f=M+(N*152|0)+120|0;g[f>>2]=R;f=M+(N*152|0)+124|0;c[f>>2]=q;return}}function rc(b,d,e,f,h,i){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;var j=0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0,s=0.0,t=0.0,u=0,v=0.0,w=0,y=0.0,z=0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0,I=0.0,J=0,K=0.0,L=0.0,M=0.0,N=0.0,O=0.0,P=0.0,Q=0.0,R=0.0,S=0.0,T=0.0,U=0.0,V=0.0,W=0.0,X=0.0,Y=0.0,Z=0.0,_=0.0,$=0.0,aa=0,ba=0.0,ca=0.0,da=0.0,ea=0,fa=0.0;ea=sa;sa=sa+32|0;J=c[b+4>>2]|0;a[J+312>>0]=0;c[J>>2]=0;a[J+356>>0]=1;c[J+292>>2]=1566444395;c[J+296>>2]=1566444395;c[J+300>>2]=1566444395;g[J+304>>2]=0.0;c[J+336>>2]=0;c[J+336+4>>2]=0;c[J+336+8>>2]=0;c[J+336+12>>2]=0;a[J+336+16>>0]=0;a[J+332>>0]=a[J+332>>0]&-16;o=+g[d+48>>2];q=+g[d+52>>2];t=+g[d+56>>2];n=+g[f+48>>2];p=+g[f+52>>2];s=+g[f+56>>2];L=+g[d>>2];X=+g[d+4>>2];Z=+g[d+8>>2];$=+g[d+16>>2];N=+g[d+20>>2];P=+g[d+24>>2];R=+g[d+32>>2];T=+g[d+36>>2];V=+g[d+40>>2];K=+g[f>>2];W=+g[f+4>>2];Y=+g[f+8>>2];_=+g[f+16>>2];M=+g[f+20>>2];O=+g[f+24>>2];Q=+g[f+32>>2];S=+g[f+36>>2];U=+g[f+40>>2];ba=+g[e+48>>2]-o-(+g[h+48>>2]-n);ca=+g[e+52>>2]-q-(+g[h+52>>2]-p);da=+g[e+56>>2]-t-(+g[h+56>>2]-s);J=c[b+8>>2]|0;z=c[(c[J>>2]|0)+64>>2]|0;g[ea>>2]=L*-ba+$*-ca+R*-da;g[ea+4>>2]=X*-ba+N*-ca+T*-da;g[ea+8>>2]=Z*-ba+P*-ca+V*-da;g[ea+12>>2]=0.0;Za[z&127](ea+16|0,J,ea);H=+g[ea+16>>2];I=+g[ea+16+4>>2];G=+g[ea+16+8>>2];l=H*+g[d>>2]+I*+g[d+4>>2]+G*+g[d+8>>2]+ +g[d+48>>2];v=H*+g[d+16>>2]+I*+g[d+20>>2]+G*+g[d+24>>2]+ +g[d+52>>2];G=H*+g[d+32>>2]+I*+g[d+36>>2]+G*+g[d+40>>2]+ +g[d+56>>2];J=c[b+12>>2]|0;z=c[(c[J>>2]|0)+64>>2]|0;I=ba*+g[f+4>>2]+ca*+g[f+20>>2]+da*+g[f+36>>2];H=ba*+g[f+8>>2]+ca*+g[f+24>>2]+da*+g[f+40>>2];g[ea>>2]=ba*+g[f>>2]+ca*+g[f+16>>2]+da*+g[f+32>>2];g[ea+4>>2]=I;g[ea+8>>2]=H;g[ea+12>>2]=0.0;Za[z&127](ea+16|0,J,ea);H=+g[ea+16>>2];I=+g[ea+16+4>>2];m=+g[ea+16+8>>2];l=l-(H*+g[f>>2]+I*+g[f+4>>2]+m*+g[f+8>>2]+ +g[f+48>>2]);v=v-(H*+g[f+16>>2]+I*+g[f+20>>2]+m*+g[f+24>>2]+ +g[f+52>>2]);m=G-(H*+g[f+32>>2]+I*+g[f+36>>2]+m*+g[f+40>>2]+ +g[f+56>>2]);a:do if(l*l+v*v+m*m>9.999999747378752e-05){k=0.0;J=32;I=l;j=0;H=m;r=0;A=n;n=0.0;m=0.0;l=0.0;while(1){if(!J)break a;J=J+-1|0;z=c[b+8>>2]|0;w=c[(c[z>>2]|0)+64>>2]|0;D=-I;fa=-v;y=-H;g[ea>>2]=L*D+$*fa+R*y;g[ea+4>>2]=X*D+N*fa+T*y;g[ea+8>>2]=Z*D+P*fa+V*y;g[ea+12>>2]=0.0;Za[w&127](ea+16|0,z,ea);y=+g[ea+16>>2];fa=+g[ea+16+4>>2];D=+g[ea+16+8>>2];B=o+(L*y+X*fa+Z*D);C=q+($*y+N*fa+P*D);D=t+(R*y+T*fa+V*D);z=c[b+12>>2]|0;w=c[(c[z>>2]|0)+64>>2]|0;g[ea>>2]=K*I+_*v+Q*H;g[ea+4>>2]=W*I+M*v+S*H;g[ea+8>>2]=Y*I+O*v+U*H;g[ea+12>>2]=0.0;Za[w&127](ea+16|0,z,ea);fa=+g[ea+16>>2];y=+g[ea+16+4>>2];G=+g[ea+16+8>>2];E=A+(K*fa+W*y+Y*G);F=p+(_*fa+M*y+O*G);G=s+(Q*fa+S*y+U*G);y=(B-E)*I+(C-F)*v+(D-G)*H;if(k>1.0){j=0;aa=24;break}if(y>0.0){l=ba*I+ca*v+da*H;if(l>=-1.4210854715202004e-14){j=0;aa=24;break}t=k-y/l;k=t;j=r;A=(1.0-t)*+g[f+48>>2]+t*+g[h+48>>2];o=(1.0-t)*+g[d+48>>2]+t*+g[e+48>>2];p=(1.0-t)*+g[f+52>>2]+t*+g[h+52>>2];q=(1.0-t)*+g[d+52>>2]+t*+g[e+52>>2];s=(1.0-t)*+g[f+56>>2]+t*+g[h+56>>2];t=(1.0-t)*+g[d+56>>2]+t*+g[e+56>>2];l=I;m=v;n=H}r=c[b+4>>2]|0;z=c[r>>2]|0;if((z|0)>0){v=+g[r+308>>2];w=0;u=0;do{H=B-E-+g[r+4+(w<<4)>>2];I=C-F-+g[r+4+(w<<4)+4>>2];fa=D-G-+g[r+4+(w<<4)+8>>2];u=u|H*H+I*I+fa*fa<=v;w=w+1|0}while((w|0)!=(z|0))}else u=0;if((+g[r+304>>2]==0.0?D-G==+g[r+300>>2]:0)?C-F==+g[r+296>>2]:0){if(!(B-E==+g[r+292>>2]|u))aa=16}else if(!u)aa=16;if((aa|0)==16){aa=0;g[r+292>>2]=B-E;g[r+296>>2]=C-F;g[r+300>>2]=D-G;g[r+304>>2]=0.0;a[r+356>>0]=1;g[r+4+(z<<4)>>2]=B-E;g[r+4+(z<<4)+4>>2]=C-F;g[r+4+(z<<4)+8>>2]=D-G;g[r+4+(z<<4)+12>>2]=0.0;z=c[r>>2]|0;g[r+84+(z<<4)>>2]=B;g[r+84+(z<<4)+4>>2]=C;g[r+84+(z<<4)+8>>2]=D;g[r+84+(z<<4)+12>>2]=0.0;z=c[r>>2]|0;g[r+164+(z<<4)>>2]=E;g[r+164+(z<<4)+4>>2]=F;g[r+164+(z<<4)+8>>2]=G;g[r+164+(z<<4)+12>>2]=0.0;c[r>>2]=(c[r>>2]|0)+1;r=c[b+4>>2]|0}z=Ab(r)|0;I=+g[r+276>>2];v=+g[r+280>>2];H=+g[r+284>>2];if(!z)break a;if(!(I*I+v*v+H*H>9.999999747378752e-05))break a;else r=c[r+288>>2]|0}if((aa|0)==24){sa=ea;return j|0}}else{k=0.0;n=0.0;m=0.0;l=0.0;j=0}while(0);g[i+164>>2]=k;k=l*l+m*m+n*n;if(!(k>=1.4210854715202004e-14)){c[i+132>>2]=0;c[i+132+4>>2]=0;c[i+132+8>>2]=0;c[i+132+12>>2]=0;k=0.0;l=0.0;m=0.0}else{fa=1.0/+x(+k);k=l*fa;l=m*fa;m=n*fa;g[i+132>>2]=k;g[i+136>>2]=l;g[i+140>>2]=m;c[i+144>>2]=j}if(ba*k+ca*l+da*m>=-+g[i+172>>2]){i=0;sa=ea;return i|0}b=c[b+4>>2]|0;Ab(b)|0;fp(i+148|0,b+260|0,16)|0;i=1;sa=ea;return i|0}function sc(b,d,e,f,h,i,j,k,l,m,n){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;var o=0,p=0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0,y=0,z=0,A=0,B=0,C=0.0,D=0,E=0;if((j|0)<2|(k|0)<2){m=0;return m|0}w=J(k,j)|0;c[7182]=(c[7182]|0)+1;b=xb(w>>>0>268435455?18:(w<<4|3)+16|0)|0;if(!b)y=0;else{c[(b+4+15&-16)+-4>>2]=b;y=b+4+15&-16}z=CI(w>>>0>1073741823?-1:w<<2)|0;b=0;do{C=+(b|0)/+(k+-1|0);q=+g[e>>2];q=q+C*(+g[h>>2]-q);r=+g[e+4>>2];r=r+C*(+g[h+4>>2]-r);s=+g[e+8>>2];s=s+C*(+g[h+8>>2]-s);t=+g[f>>2];u=+g[f+4>>2];v=+g[f+8>>2];t=t+C*(+g[i>>2]-t)-q;u=u+C*(+g[i+4>>2]-u)-r;v=v+C*(+g[i+8>>2]-v)-s;p=J(b,j)|0;o=0;do{C=+(o|0)/+(j+-1|0);B=o+p|0;g[y+(B<<4)>>2]=q+t*C;g[y+(B<<4)+4>>2]=r+u*C;g[y+(B<<4)+8>>2]=s+v*C;g[y+(B<<4)+12>>2]=0.0;g[z+(B<<2)>>2]=1.0;o=o+1|0}while((o|0)!=(j|0));b=b+1|0}while((b|0)!=(k|0));c[7182]=(c[7182]|0)+1;b=xb(1271)|0;if(!b)b=0;else{c[(b+4+15&-16)+-4>>2]=b;b=b+4+15&-16}Hb(b,d,w,y,z);if(l&1|0){g[(c[b+720>>2]|0)+88>>2]=0.0;a[b+924>>0]=1}if(l&2|0){g[(c[b+720>>2]|0)+((j+-1|0)*104|0)+88>>2]=0.0;a[b+924>>0]=1}if(l&4|0){B=J(k+-1|0,j)|0;g[(c[b+720>>2]|0)+(B*104|0)+88>>2]=0.0;a[b+924>>0]=1}if(l&8|0){B=j+-1+(J(k+-1|0,j)|0)|0;g[(c[b+720>>2]|0)+(B*104|0)+88>>2]=0.0;a[b+924>>0]=1}if(l&16|0){g[(c[b+720>>2]|0)+(((j+-1|0)/2|0)*104|0)+88>>2]=0.0;a[b+924>>0]=1}if(l&32|0){B=J((k+-1|0)/2|0,j)|0;g[(c[b+720>>2]|0)+(B*104|0)+88>>2]=0.0;a[b+924>>0]=1}if(l&64|0){B=j+-1+(J((k+-1|0)/2|0,j)|0)|0;g[(c[b+720>>2]|0)+(B*104|0)+88>>2]=0.0;a[b+924>>0]=1}if(l&128|0){B=(J(k+-1|0,j)|0)+((j+-1|0)/2|0)|0;g[(c[b+720>>2]|0)+(B*104|0)+88>>2]=0.0;a[b+924>>0]=1}if(!(l&256)){A=b+720|0;B=b+924|0}else{B=(J((k+-1|0)/2|0,j)|0)+((j+-1|0)/2|0)|0;A=b+720|0;g[(c[A>>2]|0)+(B*104|0)+88>>2]=0.0;B=b+924|0;a[B>>0]=1}c[7183]=(c[7183]|0)+1;Hc(c[y+-4>>2]|0);DI(z);z=b+732|0;l=b+740|0;o=0;d=0;do{p=d;d=d+1|0;a:do if((j|0)>0){y=J(p,j)|0;w=J(d,j)|0;r=1.0/+(k+-1|0)*+(k+-1-p|0);q=1.0/+(k+-1|0)*+(k+-2-p|0);if((d|0)>=(k|0)){p=0;while(1){e=p;p=p+1|0;if((p|0)<(j|0)){h=p+y|0;f=c[A>>2]|0;oh(b,0);w=(c[z>>2]|0)+-1|0;i=c[l>>2]|0;c[i+(w*52|0)+8>>2]=f+((e+y|0)*104|0);c[i+(w*52|0)+12>>2]=f+(h*104|0);u=+g[f+((e+y|0)*104|0)+8>>2]-+g[f+(h*104|0)+8>>2];v=+g[f+((e+y|0)*104|0)+12>>2]-+g[f+(h*104|0)+12>>2];C=+g[f+((e+y|0)*104|0)+16>>2]-+g[f+(h*104|0)+16>>2];g[i+(w*52|0)+16>>2]=+x(+(u*u+v*v+C*C));a[B>>0]=1}if((p|0)==(j|0))break a}}i=0;do{p=i;i=i+1|0;e=i+y|0;f=i+w|0;h=c[A>>2]|0;if((i|0)<(j|0)){oh(b,0);E=(c[z>>2]|0)+-1|0;D=c[l>>2]|0;c[D+(E*52|0)+8>>2]=h+((p+y|0)*104|0);c[D+(E*52|0)+12>>2]=h+(e*104|0);C=+g[h+((p+y|0)*104|0)+8>>2]-+g[h+(e*104|0)+8>>2];v=+g[h+((p+y|0)*104|0)+12>>2]-+g[h+(e*104|0)+12>>2];u=+g[h+((p+y|0)*104|0)+16>>2]-+g[h+(e*104|0)+16>>2];g[D+(E*52|0)+16>>2]=+x(+(C*C+v*v+u*u));a[B>>0]=1;E=c[A>>2]|0;oh(b,0);h=(c[z>>2]|0)+-1|0;D=c[l>>2]|0;c[D+(h*52|0)+8>>2]=E+((p+y|0)*104|0);c[D+(h*52|0)+12>>2]=E+((p+w|0)*104|0);u=+g[E+((p+y|0)*104|0)+8>>2]-+g[E+((p+w|0)*104|0)+8>>2];v=+g[E+((p+y|0)*104|0)+12>>2]-+g[E+((p+w|0)*104|0)+12>>2];C=+g[E+((p+y|0)*104|0)+16>>2]-+g[E+((p+w|0)*104|0)+16>>2];g[D+(h*52|0)+16>>2]=+x(+(u*u+v*v+C*C));a[B>>0]=1;mf(b,p+y|0,p+w|0,f,0);if(!n)mf(b,f,e,p+y|0,0);else{C=1.0/+(j+-1|0)*+(p|0);g[n+(o<<2)>>2]=C;g[n+(o+1<<2)>>2]=r;g[n+(o+2<<2)>>2]=C;g[n+(o+3<<2)>>2]=q;v=1.0/+(j+-1|0)*+(i|0);g[n+(o+4<<2)>>2]=v;g[n+(o+5<<2)>>2]=q;mf(b,f,e,p+y|0,0);g[n+(o+6<<2)>>2]=v;g[n+(o+7<<2)>>2]=q;g[n+(o+8<<2)>>2]=v;g[n+(o+9<<2)>>2]=r;g[n+(o+10<<2)>>2]=C;g[n+(o+11<<2)>>2]=r}if(m){h=c[A>>2]|0;oh(b,0);E=(c[z>>2]|0)+-1|0;D=c[l>>2]|0;c[D+(E*52|0)+8>>2]=h+((p+y|0)*104|0);c[D+(E*52|0)+12>>2]=h+(f*104|0);u=+g[h+((p+y|0)*104|0)+8>>2]-+g[h+(f*104|0)+8>>2];v=+g[h+((p+y|0)*104|0)+12>>2]-+g[h+(f*104|0)+12>>2];C=+g[h+((p+y|0)*104|0)+16>>2]-+g[h+(f*104|0)+16>>2];g[D+(E*52|0)+16>>2]=+x(+(u*u+v*v+C*C));a[B>>0]=1}o=o+12|0}else{oh(b,0);E=(c[z>>2]|0)+-1|0;D=c[l>>2]|0;c[D+(E*52|0)+8>>2]=h+((p+y|0)*104|0);c[D+(E*52|0)+12>>2]=h+((p+w|0)*104|0);u=+g[h+((p+y|0)*104|0)+8>>2]-+g[h+((p+w|0)*104|0)+8>>2];v=+g[h+((p+y|0)*104|0)+12>>2]-+g[h+((p+w|0)*104|0)+12>>2];C=+g[h+((p+y|0)*104|0)+16>>2]-+g[h+((p+w|0)*104|0)+16>>2];g[D+(E*52|0)+16>>2]=+x(+(u*u+v*v+C*C));a[B>>0]=1}}while((i|0)!=(j|0))}while(0)}while((d|0)!=(k|0));return b|0}function tc(b,d,e){b=b|0;d=d|0;e=e|0;var f=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,E=0.0,G=0.0,H=0.0,I=0.0,J=0.0;B=+g[b+48>>2];i=+g[d>>2];C=+g[b+64>>2];j=+g[d+4>>2];J=+g[b+80>>2];p=+g[d+8>>2];s=+g[b+52>>2];r=+g[b+68>>2];q=+g[b+84>>2];w=+g[b+56>>2];I=+g[b+72>>2];y=+g[b+88>>2];v=+g[d+16>>2];u=+g[d+20>>2];t=+g[d+24>>2];H=+g[d+32>>2];E=+g[d+36>>2];G=+g[d+40>>2];k=+g[b+96>>2];h=+g[b+100>>2];A=+g[b+104>>2];z=+g[d+48>>2]+(i*k+j*h+p*A);f=v*k+u*h+t*A+ +g[d+52>>2];A=H*k+E*h+G*A+ +g[d+56>>2];g[b+1064>>2]=B*i+C*j+J*p;g[b+1068>>2]=i*s+j*r+p*q;g[b+1072>>2]=i*w+j*I+p*y;g[b+1076>>2]=0.0;g[b+1080>>2]=B*v+C*u+J*t;g[b+1084>>2]=s*v+r*u+q*t;g[b+1088>>2]=w*v+I*u+y*t;g[b+1092>>2]=0.0;g[b+1096>>2]=B*H+C*E+J*G;g[b+1100>>2]=s*H+r*E+q*G;g[b+1104>>2]=w*H+I*E+y*G;g[b+1108>>2]=0.0;g[b+1112>>2]=z;g[b+1116>>2]=f;g[b+1120>>2]=A;g[b+1124>>2]=0.0;A=+g[b+112>>2];f=+g[e>>2];z=+g[b+128>>2];G=+g[e+4>>2];y=+g[b+144>>2];E=+g[e+8>>2];I=+g[b+116>>2];H=+g[b+132>>2];w=+g[b+148>>2];q=+g[b+120>>2];r=+g[b+136>>2];s=+g[b+152>>2];J=+g[e+16>>2];C=+g[e+20>>2];B=+g[e+24>>2];t=+g[e+32>>2];u=+g[e+36>>2];v=+g[e+40>>2];p=+g[b+160>>2];j=+g[b+164>>2];i=+g[b+168>>2];h=+g[e+48>>2]+(f*p+G*j+E*i);k=J*p+C*j+B*i+ +g[e+52>>2];i=t*p+u*j+v*i+ +g[e+56>>2];g[b+1128>>2]=A*f+z*G+y*E;g[b+1132>>2]=f*I+G*H+E*w;g[b+1136>>2]=f*q+G*r+E*s;g[b+1140>>2]=0.0;g[b+1144>>2]=A*J+z*C+y*B;g[b+1148>>2]=I*J+H*C+w*B;g[b+1152>>2]=q*J+r*C+s*B;g[b+1156>>2]=0.0;g[b+1160>>2]=A*t+z*u+y*v;g[b+1164>>2]=I*t+H*u+w*v;g[b+1168>>2]=q*t+r*u+s*v;g[b+1172>>2]=0.0;g[b+1176>>2]=h;g[b+1180>>2]=k;g[b+1184>>2]=i;g[b+1188>>2]=0.0;h=h-+g[b+1112>>2];k=k-+g[b+1116>>2];i=i-+g[b+1120>>2];w=+g[b+1084>>2];H=+g[b+1104>>2];I=+g[b+1088>>2];y=+g[b+1100>>2];z=+g[b+1096>>2];A=+g[b+1080>>2];B=+g[b+1064>>2];C=+g[b+1068>>2];J=+g[b+1072>>2];E=1.0/((w*H-I*y)*B+C*(I*z-H*A)+(y*A-w*z)*J);G=(y*A-w*z)*E;f=i*(I*C-w*J)*E+(h*(w*H-I*y)*E+k*(y*J-H*C)*E);j=i*(A*J-I*B)*E+(h*(I*z-H*A)*E+k*(H*B-z*J)*E);k=i*(w*B-A*C)*E+(h*G+k*(z*C-y*B)*E);g[b+1256>>2]=f;g[b+1260>>2]=j;g[b+1264>>2]=k;g[b+1268>>2]=0.0;g[b+840>>2]=f;h=+g[b+680>>2];i=+g[b+696>>2];do if(!(h>i)){if(h>f){c[b+856>>2]=2;f=f-h;break}if(i>2]=1;f=f-i;break}else{c[b+856>>2]=0;f=0.0;break}}else{c[b+856>>2]=0;f=0.0}while(0);g[b+824>>2]=f;g[b+844>>2]=j;f=+g[b+684>>2];h=+g[b+700>>2];do if(!(f>h)){if(f>j){c[b+860>>2]=2;f=j-f;break}if(h>2]=1;f=j-h;break}else{c[b+860>>2]=0;f=0.0;break}}else{c[b+860>>2]=0;f=0.0}while(0);g[b+828>>2]=f;g[b+848>>2]=k;f=+g[b+688>>2];h=+g[b+704>>2];do if(!(f>h)){if(f>k){c[b+864>>2]=2;f=k-f;break}if(h>2]=1;f=k-h;break}else{c[b+864>>2]=0;f=0.0;break}}else{c[b+864>>2]=0;f=0.0}while(0);g[b+832>>2]=f;n=+g[b+1128>>2];o=+g[b+1144>>2];p=+g[b+1160>>2];h=+g[b+1132>>2];i=+g[b+1148>>2];j=+g[b+1164>>2];k=(w*H-I*y)*E*h+(y*J-H*C)*E*i+(I*C-w*J)*E*j;l=h*(I*z-H*A)*E+(H*B-z*J)*E*i+(A*J-I*B)*E*j;m=p*(w*B-A*C)*E+(n*G+o*(z*C-y*B)*E);f=G*+g[b+1136>>2]+(z*C-y*B)*E*+g[b+1152>>2]+(w*B-A*C)*E*(q*t+r*u+s*v);do if(m<1.0)if(m>-1.0){g[b+1192>>2]=+F(+-(h*G+(z*C-y*B)*E*i+(w*B-A*C)*E*j),+f);f=m<-1.0?-1.0:m;g[b+1196>>2]=+D(+(f>1.0?1.0:f));f=+F(+-(p*(A*J-I*B)*E+(n*(I*z-H*A)*E+o*(H*B-z*J)*E)),+(p*(I*C-w*J)*E+(n*(w*H-I*y)*E+o*(y*J-H*C)*E)));break}else{g[b+1192>>2]=-+F(+k,+l);g[b+1196>>2]=-1.5707963705062866;f=0.0;break}else{g[b+1192>>2]=+F(+k,+l);g[b+1196>>2]=1.5707963705062866;f=0.0}while(0);g[b+1200>>2]=f;g[b+1236>>2]=0.0;y=H*(n*H-p*J)-I*(o*J-n*I);z=J*(o*J-n*I)-H*(p*I-o*H);A=I*(p*I-o*H)-J*(n*H-p*J);g[b+1220>>2]=0.0;C=o*(o*J-n*I)-p*(n*H-p*J);E=p*(p*I-o*H)-n*(o*J-n*I);G=n*(n*H-p*J)-o*(p*I-o*H);g[b+1252>>2]=0.0;B=1.0/+x(+(y*y+z*z+A*A));g[b+1208>>2]=y*B;g[b+1212>>2]=z*B;g[b+1216>>2]=A*B;B=1.0/+x(+((o*J-n*I)*(o*J-n*I)+((n*H-p*J)*(n*H-p*J)+(p*I-o*H)*(p*I-o*H))));g[b+1224>>2]=(p*I-o*H)*B;g[b+1228>>2]=(n*H-p*J)*B;g[b+1232>>2]=(o*J-n*I)*B;J=1.0/+x(+(C*C+E*E+G*G));g[b+1240>>2]=C*J;g[b+1244>>2]=E*J;g[b+1248>>2]=G*J;if(!(a[b+1301>>0]|0))return;I=+g[(c[b+28>>2]|0)+344>>2];J=+g[(c[b+32>>2]|0)+344>>2];a[b+1280>>0]=(I<1.1920928955078125e-07|J<1.1920928955078125e-07)&1;J=I+J>0.0?J/(I+J):.5;g[b+1272>>2]=J;g[b+1276>>2]=1.0-J;return}function uc(b,d){b=b|0;d=d|0;var e=0,f=0,h=0,i=0.0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;q=sa;sa=sa+32|0;uf(b+4|0,((J(c[b+152>>2]|0,c[b+16>>2]|0)|0)/100|0)+1|0);if(c[b+164>>2]|0){o=((J(c[b+148>>2]|0,c[b+76>>2]|0)|0)/100|0)+1|0;uf(b+64|0,o);o=(c[b+164>>2]|0)-o|0;c[b+164>>2]=(o|0)>0?o:0}f=((c[b+144>>2]|0)+1|0)%2|0;c[b+144>>2]=f;f=c[b+124+(f<<2)>>2]|0;if(f|0){do{j=f+56|0;l=f;f=c[j>>2]|0;h=c[l+52>>2]|0;if(!h)h=b+124+(c[l+60>>2]<<2)|0;else h=h+56|0;c[h>>2]=f;h=c[j>>2]|0;if(h|0)c[h+52>>2]=c[l+52>>2];c[l+52>>2]=0;c[j>>2]=c[b+132>>2];h=c[b+132>>2]|0;if(h|0)c[h+52>>2]=l;c[b+132>>2]=l;h=c[l+48>>2]|0;sg(b+4|0,h)|0;j=c[b+8>>2]|0;if(j|0){c[7183]=(c[7183]|0)+1;Hc(c[j+-4>>2]|0)}c[b+8>>2]=h;c[b+16>>2]=(c[b+16>>2]|0)+-1;c[q>>2]=c[l+16>>2];c[q+4>>2]=c[l+16+4>>2];c[q+8>>2]=c[l+16+8>>2];c[q+12>>2]=c[l+16+12>>2];c[q+16>>2]=c[l+32>>2];c[q+16+4>>2]=c[l+32+4>>2];c[q+16+8>>2]=c[l+32+8>>2];c[q+16+12>>2]=c[l+32+12>>2];h=c[b+68>>2]|0;if(!h){c[7182]=(c[7182]|0)+1;h=xb(63)|0;if(!h)h=0;else{c[(h+4+15&-16)+-4>>2]=h;h=h+4+15&-16}j=h;k=j+44|0;do{c[j>>2]=0;j=j+4|0}while((j|0)<(k|0))}else c[b+68>>2]=0;c[h+32>>2]=0;c[h+36>>2]=l;c[h+40>>2]=0;c[h>>2]=c[q>>2];c[h+4>>2]=c[q+4>>2];c[h+8>>2]=c[q+8>>2];c[h+12>>2]=c[q+12>>2];c[h+16>>2]=c[q+16>>2];c[h+20>>2]=c[q+20>>2];c[h+24>>2]=c[q+24>>2];c[h+28>>2]=c[q+28>>2];ue(b+64|0,c[b+64>>2]|0,h);j=(c[b+76>>2]|0)+1|0;c[b+76>>2]=j;c[l+48>>2]=h;c[l+60>>2]=2}while((f|0)!=0);c[b+164>>2]=j;a[b+194>>0]=1}c[q>>2]=11812;c[q+4>>2]=b;if(a[b+193>>0]|0?(zd(b+4|0,c[b+4>>2]|0,c[b+64>>2]|0,q),a[b+193>>0]|0):0){o=c[b+4>>2]|0;zd(b+4|0,o,o,q)}if(a[b+194>>0]|0?(m=c[b+136>>2]|0,m=Fa[c[(c[m>>2]|0)+28>>2]&127](m)|0,e=c[m+4>>2]|0,(e|0)>0):0){f=(J(c[b+156>>2]|0,e)|0)/100|0;o=c[b+160>>2]|0;f=(o|0)>(f|0)?o:f;f=(e|0)<(f|0)?e:f;if((f|0)>0){h=0;do{k=((c[b+184>>2]|0)+h|0)%(e|0)|0;n=c[m+12>>2]|0;j=c[n+(k<<4)>>2]|0;k=c[n+(k<<4)+4>>2]|0;n=c[j+48>>2]|0;o=c[k+48>>2]|0;if(!(((((+g[n>>2]<=+g[o+16>>2]?+g[n+16>>2]>=+g[o>>2]:0)?+g[n+4>>2]<=+g[o+20>>2]:0)?+g[n+20>>2]>=+g[o+4>>2]:0)?+g[n+8>>2]<=+g[o+24>>2]:0)?+g[n+24>>2]>=+g[o+8>>2]:0)){e=c[b+136>>2]|0;Ka[c[(c[e>>2]|0)+12>>2]&31](e,j,k,d)|0;h=h+-1|0;f=f+-1|0;e=c[m+4>>2]|0}h=h+1|0}while((h|0)<(f|0));if((e|0)>0)p=37;else e=0}else p=37;if((p|0)==37)e=((c[b+184>>2]|0)+f|0)%(e|0)|0;c[b+184>>2]=e}c[b+180>>2]=(c[b+180>>2]|0)+1;c[b+160>>2]=1;a[b+194>>0]=0;f=c[b+168>>2]|0;e=c[b+172>>2]|0;if(!f)i=0.0;else i=+(e>>>0)/+(f>>>0);g[b+176>>2]=i;c[b+172>>2]=1?e>>>1:e;c[b+168>>2]=1?f>>>1:f;o=c[b+136>>2]|0;if(!(Fa[c[(c[o>>2]|0)+56>>2]&127](o)|0)){sa=q;return}o=c[b+136>>2]|0;o=Fa[c[(c[o>>2]|0)+28>>2]&127](o)|0;e=c[o+4>>2]|0;if((e|0)>1){Ed(o,0,e+-1|0);e=c[o+4>>2]|0}if((e|0)>0){m=0;l=0;n=0;f=0;while(1){j=c[o+12>>2]|0;h=j+(m<<4)|0;r=n;n=c[h>>2]|0;j=j+(m<<4)+4|0;k=c[j>>2]|0;if(!((n|0)==(r|0)&(k|0)==(f|0))){f=c[n+48>>2]|0;r=c[k+48>>2]|0;if(((((+g[f>>2]<=+g[r+16>>2]?+g[f+16>>2]>=+g[r>>2]:0)?+g[f+4>>2]<=+g[r+20>>2]:0)?+g[f+20>>2]>=+g[r+4>>2]:0)?+g[f+8>>2]<=+g[r+24>>2]:0)?+g[f+24>>2]>=+g[r+8>>2]:0){h=l;f=k}else{f=k;p=53}}else p=53;if((p|0)==53){p=0;e=c[b+136>>2]|0;Za[c[(c[e>>2]|0)+32>>2]&127](e,h,d);c[h>>2]=0;c[j>>2]=0;h=l+1|0;e=c[o+4>>2]|0}m=m+1|0;if((m|0)>=(e|0))break;else l=h}if((e|0)>1){Ed(o,0,e+-1|0);e=c[o+4>>2]|0}k=e-h|0;if((h|0)<0){if((c[o+8>>2]|0)<(k|0)){if(!k){f=0;j=e}else{c[7182]=(c[7182]|0)+1;f=xb((k<<4|3)+16|0)|0;if(!f)f=0;else{c[(f+4+15&-16)+-4>>2]=f;f=f+4+15&-16}j=c[o+4>>2]|0}if((j|0)>0){h=0;do{r=c[o+12>>2]|0;c[f+(h<<4)>>2]=c[r+(h<<4)>>2];c[f+(h<<4)+4>>2]=c[r+(h<<4)+4>>2];c[f+(h<<4)+8>>2]=c[r+(h<<4)+8>>2];c[f+(h<<4)+12>>2]=c[r+(h<<4)+12>>2];h=h+1|0}while((h|0)!=(j|0))}h=c[o+12>>2]|0;if(h|0){if(a[o+16>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[h+-4>>2]|0)}c[o+12>>2]=0}a[o+16>>0]=1;c[o+12>>2]=f;c[o+8>>2]=k}do{r=(c[o+12>>2]|0)+(e<<4)|0;e=e+1|0;c[r>>2]=0;c[r+4>>2]=0;c[r+8>>2]=0;c[r+12>>2]=0}while((e|0)!=(k|0));e=k}else e=k}c[o+4>>2]=e;sa=q;return}function vc(a,d,f,h,i,j,k,l,m){a=a|0;d=d|0;f=f|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0.0,t=0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0,D=0,E=0,F=0,G=0;w=+g[a+8>>2];y=+g[a+12>>2];A=+g[a+16>>2];x=+g[a+40>>2];s=(+g[d>>2]-w)*x;z=+g[a+44>>2];u=(+g[d+4>>2]-y)*z;B=+g[a+48>>2];v=(+g[d+8>>2]-A)*B;if(!(s<=0.0)){t=b[a+6>>1]|0;t=b[a+4>>1]&(!(s>=+(t&65535))?~~s&65535:t)}else t=0;if(!(u<=0.0)){r=b[a+6>>1]|0;r=b[a+4>>1]&(!(u>=+(r&65535))?~~u&65535:r)}else r=0;if(!(v<=0.0)){q=b[a+6>>1]|0;q=b[a+4>>1]&(!(v>=+(q&65535))?~~v&65535:q)}else q=0;v=(+g[f>>2]-w)*x;u=(+g[f+4>>2]-y)*z;s=(+g[f+8>>2]-A)*B;if(!(v<=0.0)){p=b[a+6>>1]|0;p=b[a+4>>1]&(!(v>=+(p&65535))?~~v&65535:p)|1}else p=1;if(!(u<=0.0)){o=b[a+6>>1]|0;o=b[a+4>>1]&(!(u>=+(o&65535))?~~u&65535:o)|1}else o=1;if(!(s<=0.0)){n=b[a+6>>1]|0;n=b[a+4>>1]&(!(s>=+(n&65535))?~~s&65535:n)|1}else n=1;D=b[a+64>>1]|0;C=c[a+60>>2]|0;b[a+64>>1]=b[C+((D&65535)<<6)+48>>1]|0;E=(b[a+56>>1]|0)+1<<16>>16;b[a+56>>1]=E;c[C+((D&65535)<<6)+12>>2]=D&65535;c[C+((D&65535)<<6)>>2]=i;b[C+((D&65535)<<6)+4>>1]=j;b[C+((D&65535)<<6)+6>>1]=k;c[C+((D&65535)<<6)+8>>2]=m;m=(E&65535)<<1&65534;b[C+54>>1]=(e[C+54>>1]|0)+2;F=c[a+68>>2]|0;G=e[F+(m+-1<<2)>>1]|e[F+(m+-1<<2)+2>>1]<<16;b[F+((m|1)<<2)>>1]=G;b[F+((m|1)<<2)+2>>1]=G>>>16;F=c[a+68>>2]|0;b[F+(m+-1<<2)>>1]=t;b[F+(m+-1<<2)+2>>1]=D;b[F+(m<<2)>>1]=p;b[F+(m<<2)+2>>1]=D;b[C+((D&65535)<<6)+48>>1]=m+-1;b[C+((D&65535)<<6)+54>>1]=(E&65535)<<1;p=(c[a+60>>2]|0)+56|0;b[p>>1]=(e[p>>1]|0)+2;p=c[a+72>>2]|0;t=e[p+(m+-1<<2)>>1]|e[p+(m+-1<<2)+2>>1]<<16;b[p+((m|1)<<2)>>1]=t;b[p+((m|1)<<2)+2>>1]=t>>>16;p=c[a+72>>2]|0;b[p+(m+-1<<2)>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;while(1){G=e[q+-2>>1]|0;p=(o&1)==0?p+(G<<6)+48|0:p+(G<<6)+54|0;b[p>>1]=(b[p>>1]|0)+1<<16>>16;b[t>>1]=(b[t>>1]|0)+-1<<16>>16;p=e[q>>1]|e[q+2>>1]<<16;o=e[n>>1]|e[n+2>>1]<<16;b[q>>1]=o;b[q+2>>1]=o>>>16;b[n>>1]=p;b[n+2>>1]=p>>>16;p=q+-4|0;n=n+-4|0;o=b[n>>1]|0;if((e[p>>1]|0)>=(o&65535))break a;q=p;p=c[a+60>>2]|0}}while(0);o=c[a+72>>2]|0;p=e[C+((D&65535)<<6)+50>>1]|0;t=c[a+60>>2]|0;q=b[o+(p<<2)+-4>>1]|0;if((e[o+(p<<2)>>1]|0)<(q&65535)){m=t+((e[o+(p<<2)+2>>1]|0)<<6)+50|0;n=o+(p<<2)+-4|0;r=o+(p<<2)|0;p=q;o=t;while(1){G=e[r+-2>>1]|0;o=(p&1)==0?o+(G<<6)+50|0:o+(G<<6)+56|0;b[o>>1]=(b[o>>1]|0)+1<<16>>16;b[m>>1]=(b[m>>1]|0)+-1<<16>>16;o=e[r>>1]|e[r+2>>1]<<16;p=e[n>>1]|e[n+2>>1]<<16;b[r>>1]=p;b[r+2>>1]=p>>>16;b[n>>1]=o;b[n+2>>1]=o>>>16;o=r+-4|0;n=n+-4|0;p=b[n>>1]|0;if((e[o>>1]|0)>=(p&65535))break;r=o;o=c[a+60>>2]|0}o=c[a+72>>2]|0}n=e[C+((D&65535)<<6)+56>>1]|0;p=o+(n<<2)|0;r=b[p+-4>>1]|0;b:do if((e[p>>1]|0)<(r&65535)){G=c[a+60>>2]|0;t=G+((e[o+(n<<2)+2>>1]|0)<<6)+56|0;n=p+-4|0;q=p;o=r;p=G;while(1){G=e[q+-2>>1]|0;p=(o&1)==0?p+(G<<6)+50|0:p+(G<<6)+56|0;b[p>>1]=(b[p>>1]|0)+1<<16>>16;b[t>>1]=(b[t>>1]|0)+-1<<16>>16;p=e[q>>1]|e[q+2>>1]<<16;o=e[n>>1]|e[n+2>>1]<<16;b[q>>1]=o;b[q+2>>1]=o>>>16;b[n>>1]=p;b[n+2>>1]=p>>>16;p=q+-4|0;n=n+-4|0;o=b[n>>1]|0;if((e[p>>1]|0)>=(o&65535))break b;q=p;p=c[a+60>>2]|0}}while(0);Ng(a,2,b[C+((D&65535)<<6)+52>>1]|0);Hg(a,2,b[C+((D&65535)<<6)+58>>1]|0,l);o=c[a+60>>2]|0;n=c[a+108>>2]|0;if(!n){G=o+((D&65535)<<6)|0;return G|0}c[o+((D&65535)<<6)+60>>2]=Ma[c[(c[n>>2]|0)+8>>2]&3](n,d,f,h,i,j,k,l,0)|0;G=o+((D&65535)<<6)|0;return G|0}function wc(b){b=b|0;var d=0,e=0.0,f=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0,s=0,t=0.0,u=0.0,v=0;r=sa;sa=sa+176|0;if(!(a[b+527>>0]|0)){sa=r;return}g[b+36>>2]=0.0;g[b+520>>2]=0.0;g[b+516>>2]=0.0;c[b+576>>2]=0;c[b+576+4>>2]=0;c[b+576+8>>2]=0;c[b+576+12>>2]=0;if(!(a[b+524>>0]|0)){s=c[b+28>>2]|0;h=+g[b+348>>2];i=+g[b+352>>2];n=+g[b+356>>2];p=h*+g[s+20>>2]+i*+g[s+24>>2]+n*+g[s+28>>2]+ +g[s+56>>2];d=c[b+32>>2]|0;j=+g[b+412>>2];k=+g[b+416>>2];o=+g[b+420>>2];q=j*+g[d+20>>2]+k*+g[d+24>>2]+o*+g[d+28>>2]+ +g[d+56>>2];l=j*+g[d+36>>2]+k*+g[d+40>>2]+o*+g[d+44>>2]+ +g[d+60>>2];m=h*+g[s+4>>2]+i*+g[s+8>>2]+n*+g[s+12>>2]+ +g[s+52>>2];n=h*+g[s+36>>2]+i*+g[s+40>>2]+n*+g[s+44>>2]+ +g[s+60>>2];o=j*+g[d+4>>2]+k*+g[d+8>>2]+o*+g[d+12>>2]+ +g[d+52>>2];if((o-m)*(o-m)+(q-p)*(q-p)+(l-n)*(l-n)>1.1920928955078125e-07){f=1.0/+x(+((o-m)*(o-m)+(q-p)*(q-p)+(l-n)*(l-n)));g[r>>2]=(o-m)*f;g[r+4>>2]=(q-p)*f;g[r+8>>2]=(l-n)*f;c[r+12>>2]=0;h=(l-n)*f;e=(q-p)*f;f=(o-m)*f}else{c[r>>2]=1065353216;c[r+4>>2]=0;c[r+8>>2]=0;g[r+12>>2]=0.0;h=0.0;e=0.0;f=1.0}if(+w(+h)>.7071067690849304){u=h*h+e*e;t=1.0/+x(+u);h=-(h*t);i=e*t;k=-(f*i);j=f*h;e=u*t;f=i;i=0.0}else{t=f*f+e*e;j=1.0/+x(+t);i=-(e*j);u=f*j;k=h*i;j=t*j;e=-(h*u);f=0.0;h=u}g[r+16>>2]=i;g[r+20>>2]=h;g[r+24>>2]=f;g[r+32>>2]=e;g[r+36>>2]=k;g[r+40>>2]=j;s=c[b+28>>2]|0;c[r+128>>2]=c[s+4>>2];c[r+128+4>>2]=c[s+20>>2];c[r+128+8>>2]=c[s+36>>2];g[r+128+12>>2]=0.0;c[r+128+16>>2]=c[s+8>>2];c[r+128+20>>2]=c[s+24>>2];c[r+128+24>>2]=c[s+40>>2];g[r+128+28>>2]=0.0;c[r+128+32>>2]=c[s+12>>2];c[r+128+36>>2]=c[s+28>>2];c[r+128+40>>2]=c[s+44>>2];g[r+128+44>>2]=0.0;d=c[b+32>>2]|0;c[r+80>>2]=c[d+4>>2];c[r+80+4>>2]=c[d+20>>2];c[r+80+8>>2]=c[d+36>>2];g[r+80+12>>2]=0.0;c[r+80+16>>2]=c[d+8>>2];c[r+80+20>>2]=c[d+24>>2];c[r+80+24>>2]=c[d+40>>2];g[r+80+28>>2]=0.0;c[r+80+32>>2]=c[d+12>>2];c[r+80+36>>2]=c[d+28>>2];c[r+80+40>>2]=c[d+44>>2];g[r+80+44>>2]=0.0;u=p-+g[s+56>>2];t=n-+g[s+60>>2];g[r+64>>2]=m-+g[s+52>>2];g[r+64+4>>2]=u;g[r+64+8>>2]=t;g[r+64+12>>2]=0.0;t=q-+g[d+56>>2];u=l-+g[d+60>>2];g[r+48>>2]=o-+g[d+52>>2];g[r+48+4>>2]=t;g[r+48+8>>2]=u;g[r+48+12>>2]=0.0;fg(b+48|0,r+128|0,r+80|0,r+64|0,r+48|0,r,s+396|0,+g[s+344>>2],d+396|0,+g[d+344>>2]);d=c[b+28>>2]|0;c[r+128>>2]=c[d+4>>2];c[r+128+4>>2]=c[d+20>>2];c[r+128+8>>2]=c[d+36>>2];g[r+128+12>>2]=0.0;c[r+128+16>>2]=c[d+8>>2];c[r+128+20>>2]=c[d+24>>2];c[r+128+24>>2]=c[d+40>>2];g[r+128+28>>2]=0.0;c[r+128+32>>2]=c[d+12>>2];c[r+128+36>>2]=c[d+28>>2];c[r+128+40>>2]=c[d+44>>2];g[r+128+44>>2]=0.0;s=c[b+32>>2]|0;c[r+80>>2]=c[s+4>>2];c[r+80+4>>2]=c[s+20>>2];c[r+80+8>>2]=c[s+36>>2];g[r+80+12>>2]=0.0;c[r+80+16>>2]=c[s+8>>2];c[r+80+20>>2]=c[s+24>>2];c[r+80+24>>2]=c[s+40>>2];g[r+80+28>>2]=0.0;c[r+80+32>>2]=c[s+12>>2];c[r+80+36>>2]=c[s+28>>2];c[r+80+40>>2]=c[s+44>>2];g[r+80+44>>2]=0.0;u=p-+g[d+56>>2];t=n-+g[d+60>>2];g[r+64>>2]=m-+g[d+52>>2];g[r+64+4>>2]=u;g[r+64+8>>2]=t;g[r+64+12>>2]=0.0;t=q-+g[s+56>>2];u=l-+g[s+60>>2];g[r+48>>2]=o-+g[s+52>>2];g[r+48+4>>2]=t;g[r+48+8>>2]=u;g[r+48+12>>2]=0.0;fg(b+132|0,r+128|0,r+80|0,r+64|0,r+48|0,r+16|0,d+396|0,+g[d+344>>2],s+396|0,+g[s+344>>2]);s=c[b+28>>2]|0;c[r+128>>2]=c[s+4>>2];c[r+128+4>>2]=c[s+20>>2];c[r+128+8>>2]=c[s+36>>2];g[r+128+12>>2]=0.0;c[r+128+16>>2]=c[s+8>>2];c[r+128+20>>2]=c[s+24>>2];c[r+128+24>>2]=c[s+40>>2];g[r+128+28>>2]=0.0;c[r+128+32>>2]=c[s+12>>2];c[r+128+36>>2]=c[s+28>>2];c[r+128+40>>2]=c[s+44>>2];g[r+128+44>>2]=0.0;d=c[b+32>>2]|0;c[r+80>>2]=c[d+4>>2];c[r+80+4>>2]=c[d+20>>2];c[r+80+8>>2]=c[d+36>>2];g[r+80+12>>2]=0.0;c[r+80+16>>2]=c[d+8>>2];c[r+80+20>>2]=c[d+24>>2];c[r+80+24>>2]=c[d+40>>2];g[r+80+28>>2]=0.0;c[r+80+32>>2]=c[d+12>>2];c[r+80+36>>2]=c[d+28>>2];c[r+80+40>>2]=c[d+44>>2];g[r+80+44>>2]=0.0;u=p-+g[s+56>>2];t=n-+g[s+60>>2];g[r+64>>2]=m-+g[s+52>>2];g[r+64+4>>2]=u;g[r+64+8>>2]=t;g[r+64+12>>2]=0.0;t=q-+g[d+56>>2];u=l-+g[d+60>>2];g[r+48>>2]=o-+g[d+52>>2];g[r+48+4>>2]=t;g[r+48+8>>2]=u;g[r+48+12>>2]=0.0;fg(b+216|0,r+128|0,r+80|0,r+64|0,r+48|0,r+32|0,s+396|0,+g[s+344>>2],d+396|0,+g[d+344>>2]);d=b+32|0}else d=b+32|0;v=c[b+28>>2]|0;s=c[d>>2]|0;Cb(b,v+4|0,s+4|0,v+264|0,s+264|0);sa=r;return}function xc(b,d){b=b|0;d=d|0;var e=0.0,f=0,h=0,i=0,j=0,k=0.0,l=0.0,m=0,n=0.0,o=0.0,p=0,q=0,r=0,s=0,t=0.0,u=0.0,v=0.0,w=0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0;m=c[b+28>>2]|0;p=c[b+32>>2]|0;Cb(b,m+4|0,p+4|0,m+264|0,p+264|0);s=c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>2]|0;g[h>>2]=l*(u+ +g[p+52>>2]-t-+g[m+52>>2]);g[f>>2]=-3402823466385288598117041.0e14;g[i>>2]=3402823466385288598117041.0e14;if(!(r&1)){g[h+(j<<2)>>2]=l*(e+ +g[p+56>>2]-n-+g[m+56>>2]);g[f+(j<<2)>>2]=-3402823466385288598117041.0e14;g[i+(j<<2)>>2]=3402823466385288598117041.0e14;g[h+(j<<1<<2)>>2]=l*(k+ +g[p+60>>2]-o-+g[m+60>>2]);g[f+(j<<1<<2)>>2]=-3402823466385288598117041.0e14;g[i+(j<<1<<2)>>2]=3402823466385288598117041.0e14}else{w=c[d+32>>2]|0;c[w>>2]=c[b+596>>2];g[h+(j<<2)>>2]=l*(e+ +g[p+56>>2]-n-+g[m+56>>2]);g[f+(j<<2)>>2]=-3402823466385288598117041.0e14;g[i+(j<<2)>>2]=3402823466385288598117041.0e14;c[w+(j<<2)>>2]=c[b+596>>2];g[h+(j<<1<<2)>>2]=l*(k+ +g[p+60>>2]-o-+g[m+60>>2]);g[f+(j<<1<<2)>>2]=-3402823466385288598117041.0e14;g[i+(j<<1<<2)>>2]=3402823466385288598117041.0e14;c[w+(j<<1<<2)>>2]=c[b+596>>2]}do if(!(a[b+526>>0]|0))j=j*3|0;else{v=+g[b+456>>2];if(+g[b+444>>2]>2]>2];z=+g[m+8>>2];y=+g[m+12>>2];E=+g[b+304>>2];D=+g[b+320>>2];C=+g[b+336>>2];l=+g[b+308>>2];o=+g[b+324>>2];u=+g[b+340>>2];x=+g[m+20>>2];e=+g[m+24>>2];k=+g[m+28>>2];n=+g[m+36>>2];t=+g[m+40>>2];v=+g[m+44>>2];g[s+(j*3<<2)>>2]=A*E+z*D+y*C;g[s+((j*3|0)+1<<2)>>2]=E*x+D*e+C*k;g[s+((j*3|0)+2<<2)>>2]=E*n+D*t+C*v;g[s+(j<<2<<2)>>2]=A*l+z*o+y*u;g[s+((j<<2|1)<<2)>>2]=l*x+o*e+u*k;g[s+((j<<2|2)<<2)>>2]=l*n+o*t+u*v;g[q+(j*3<<2)>>2]=-(A*E+z*D+y*C);g[q+((j*3|0)+1<<2)>>2]=-(E*x+D*e+C*k);g[q+((j*3|0)+2<<2)>>2]=-(E*n+D*t+C*v);g[q+(j<<2<<2)>>2]=-(A*l+z*o+y*u);g[q+((j<<2|1)<<2)>>2]=-(l*x+o*e+u*k);g[q+((j<<2|2)<<2)>>2]=-(l*n+o*t+u*v);B=+g[d>>2]*+g[b+436>>2];h=c[d+28>>2]|0;g[h+(j*3<<2)>>2]=B*((A*E+z*D+y*C)*+g[b+460>>2]+(E*x+D*e+C*k)*+g[b+464>>2]+(E*n+D*t+C*v)*+g[b+468>>2]);g[h+(j<<2<<2)>>2]=B*((A*l+z*o+y*u)*+g[b+460>>2]+(l*x+o*e+u*k)*+g[b+464>>2]+(l*n+o*t+u*v)*+g[b+468>>2]);f=c[d+36>>2]|0;g[f+(j*3<<2)>>2]=-3402823466385288598117041.0e14;i=c[d+40>>2]|0;g[i+(j*3<<2)>>2]=3402823466385288598117041.0e14;g[f+(j<<2<<2)>>2]=-3402823466385288598117041.0e14;g[i+(j<<2<<2)>>2]=3402823466385288598117041.0e14;j=j*5|0;break}E=+g[b+436>>2];C=E*+g[b+460>>2]*E;D=E*E*+g[b+464>>2];E=E*E*+g[b+468>>2];g[s+(j*3<<2)>>2]=C;g[s+((j*3|0)+1<<2)>>2]=D;g[s+((j*3|0)+2<<2)>>2]=E;g[q+(j*3<<2)>>2]=-C;g[q+((j*3|0)+1<<2)>>2]=-D;g[q+((j*3|0)+2<<2)>>2]=-E;g[h+(j*3<<2)>>2]=+g[d>>2]*+g[b+432>>2]*+g[b+504>>2];if(r&4|0)c[(c[d+32>>2]|0)+(j*3<<2)>>2]=c[b+604>>2];g[f+(j*3<<2)>>2]=0.0;g[i+(j*3<<2)>>2]=3402823466385288598117041.0e14;j=j<<2}while(0);if(!(a[b+525>>0]|0))return;E=+g[b+436>>2];C=E*+g[b+476>>2]*E;D=E*E*+g[b+480>>2];E=E*E*+g[b+484>>2];g[s+(j<<2)>>2]=C;p=j+1|0;g[s+(p<<2)>>2]=D;w=j+2|0;g[s+(w<<2)>>2]=E;g[q+(j<<2)>>2]=-C;g[q+(p<<2)>>2]=-D;g[q+(w<<2)>>2]=-E;g[h+(j<<2)>>2]=+g[d>>2]*+g[b+432>>2]*+g[b+508>>2];if(r&4|0)c[(c[d+32>>2]|0)+(j<<2)>>2]=c[b+604>>2];do if(+g[b+452>>2]>0.0){f=f+(j<<2)|0;if(+g[b+508>>2]>0.0){g[f>>2]=0.0;e=3402823466385288598117041.0e14;break}else{g[f>>2]=-3402823466385288598117041.0e14;e=0.0;break}}else{g[f+(j<<2)>>2]=-3402823466385288598117041.0e14;e=3402823466385288598117041.0e14}while(0);g[i+(j<<2)>>2]=e;return}function yc(a,b,d,e,f,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;h=+h;var i=0.0,j=0.0,k=0,l=0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0,z=0,A=0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0,G=0;A=sa;sa=sa+272|0;c[A+128>>2]=c[d>>2];c[A+128+4>>2]=c[d+4>>2];c[A+128+8>>2]=c[d+8>>2];c[A+128+12>>2]=c[d+12>>2];c[A+128+16>>2]=c[d+16>>2];c[A+128+16+4>>2]=c[d+16+4>>2];c[A+128+16+8>>2]=c[d+16+8>>2];c[A+128+16+12>>2]=c[d+16+12>>2];c[A+128+32>>2]=c[d+32>>2];c[A+128+32+4>>2]=c[d+32+4>>2];c[A+128+32+8>>2]=c[d+32+8>>2];c[A+128+32+12>>2]=c[d+32+12>>2];c[A+128+48>>2]=c[d+48>>2];c[A+128+48+4>>2]=c[d+48+4>>2];c[A+128+48+8>>2]=c[d+48+8>>2];c[A+128+48+12>>2]=c[d+48+12>>2];c[A+64>>2]=c[e>>2];c[A+64+4>>2]=c[e+4>>2];c[A+64+8>>2]=c[e+8>>2];c[A+64+12>>2]=c[e+12>>2];c[A+64+16>>2]=c[e+16>>2];c[A+64+16+4>>2]=c[e+16+4>>2];c[A+64+16+8>>2]=c[e+16+8>>2];c[A+64+16+12>>2]=c[e+16+12>>2];c[A+64+32>>2]=c[e+32>>2];c[A+64+32+4>>2]=c[e+32+4>>2];c[A+64+32+8>>2]=c[e+32+8>>2];c[A+64+32+12>>2]=c[e+32+12>>2];c[A+64+48>>2]=c[e+48>>2];c[A+64+48+4>>2]=c[e+48+4>>2];c[A+64+48+8>>2]=c[e+48+8>>2];c[A+64+48+12>>2]=c[e+48+12>>2];i=+g[A+64+52>>2]-+g[A+128+52>>2];F=+g[A+64+56>>2]-+g[A+128+56>>2];g[A+16>>2]=+g[A+64+48>>2]-+g[A+128+48>>2];g[A+16+4>>2]=i;g[A+16+8>>2]=F;g[A+16+12>>2]=0.0;Se(A+128|0,A+64|0,A+208|0,A+192|0);F=+g[A+192>>2];i=F*+g[A+208+4>>2];C=F*+g[A+208+8>>2];g[A>>2]=+g[A+208>>2]*F;g[A+4>>2]=i;g[A+8>>2]=C;g[A+12>>2]=0.0;c[A+208+48>>2]=0;c[A+208+48+4>>2]=0;c[A+208+48+8>>2]=0;c[A+208+48+12>>2]=0;Og(A+128|0,A+192|0);C=+g[A+192>>2];i=+g[A+192+4>>2];F=+g[A+192+8>>2];D=+g[A+192+12>>2];B=C*(2.0/(C*C+i*i+F*F+D*D));j=i*(2.0/(C*C+i*i+F*F+D*D));E=F*(2.0/(C*C+i*i+F*F+D*D));g[A+208>>2]=1.0-(i*j+F*E);g[A+208+4>>2]=C*j-D*E;g[A+208+8>>2]=C*E+D*j;g[A+208+12>>2]=0.0;g[A+208+16>>2]=C*j+D*E;g[A+208+20>>2]=1.0-(C*B+F*E);g[A+208+24>>2]=i*E-D*B;g[A+208+28>>2]=0.0;g[A+208+32>>2]=C*E-D*j;g[A+208+36>>2]=i*E+D*B;g[A+208+40>>2]=1.0-(C*B+i*j);g[A+208+44>>2]=0.0;zg(b,A+208|0,A+16|0,A,A+48|0,A+32|0);if((c[a+268>>2]|0)<=0){sa=A;return}k=0;do{l=c[(c[a+276>>2]|0)+(k<<2)>>2]|0;if(Ha[c[(c[f>>2]|0)+8>>2]&31](f,c[l+188>>2]|0)|0?(y=c[l+192>>2]|0,ab[c[(c[y>>2]|0)+8>>2]&127](y,l+4|0,A+192|0,A+16|0),m=+g[A+192>>2]+ +g[A+48>>2],n=+g[A+192+4>>2]+ +g[A+48+4>>2],o=+g[A+192+8>>2]+ +g[A+48+8>>2],g[A+192>>2]=m,g[A+192+4>>2]=n,g[A+192+8>>2]=o,g[A+192+12>>2]=0.0,p=+g[A+16>>2]+ +g[A+32>>2],q=+g[A+16+4>>2]+ +g[A+32+4>>2],r=+g[A+16+8>>2]+ +g[A+32+8>>2],g[A+16>>2]=p,g[A+16+4>>2]=q,g[A+16+8>>2]=r,g[A+16+12>>2]=0.0,s=+g[d+48>>2]-(p+m)*.5,t=+g[d+52>>2]-(q+n)*.5,u=+g[d+56>>2]-(r+o)*.5,v=+g[e+48>>2]-(p+m)*.5,w=+g[e+52>>2]-(q+n)*.5,x=+g[e+56>>2]-(r+o)*.5,y=(s>(p-m)*.5?8:0)|s<-((p-m)*.5)|(t<-((q-n)*.5)?2:0)|(t>(q-n)*.5?16:0)|(u<-((r-o)*.5)?4:0)|(u>(r-o)*.5?32:0),z=(v>(p-m)*.5?8:0)|v<-((p-m)*.5)|(w<-((q-n)*.5)?2:0)|(w>(q-n)*.5?16:0)|(x<-((r-o)*.5)?4:0)|(x>(r-o)*.5?32:0),(z&y|0)==0):0){if(s<-((p-m)*.5))if(!((-s-(p-m)*.5)/(v-s)>=0.0)){i=0.0;j=1.0}else{i=(-s-(p-m)*.5)/(v-s);j=1.0}else if(v<-((p-m)*.5)?(-s-(p-m)*.5)/(v-s)<1.0:0){i=0.0;j=(-s-(p-m)*.5)/(v-s)}else{i=0.0;j=1.0}if(t<-((q-n)*.5)){if(i<=(-t-(q-n)*.5)/(w-t))i=(-t-(q-n)*.5)/(w-t)}else if(w<-((q-n)*.5)?(-t-(q-n)*.5)/(w-t)(p-m)*.5){if(i<=((p-m)*.5-s)/(v-s))i=((p-m)*.5-s)/(v-s)}else if(v>(p-m)*.5?((p-m)*.5-s)/(v-s)(q-n)*.5){if(i<=((q-n)*.5-t)/(w-t))i=((q-n)*.5-t)/(w-t)}else if(w>(q-n)*.5?((q-n)*.5-t)/(w-t)>2]|0;c[A+208>>2]=0;c[A+208+4>>2]=G;c[A+208+8>>2]=l;c[A+208+12>>2]=l+4;c[A+208+16>>2]=-1;c[A+208+20>>2]=-1;Eb(b,A+128|0,A+64|0,A+208|0,f,h)}}k=k+1|0}while((k|0)<(c[a+268>>2]|0));sa=A;return}function zc(b,d,e,f,h,i,j,k,l,m){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,y=0.0,z=0,A=0,B=0.0,C=0,D=0;if((j|0)<2|(k|0)<2){m=0;return m|0}p=J(k,j)|0;c[7182]=(c[7182]|0)+1;b=xb(p>>>0>268435455?18:(p<<4|3)+16|0)|0;if(!b)q=0;else{c[(b+4+15&-16)+-4>>2]=b;q=b+4+15&-16}r=CI(p>>>0>1073741823?-1:p<<2)|0;b=0;do{B=+(b|0)/+(k+-1|0);s=+g[e>>2];s=s+B*(+g[h>>2]-s);t=+g[e+4>>2];t=t+B*(+g[h+4>>2]-t);u=+g[e+8>>2];u=u+B*(+g[h+8>>2]-u);v=+g[f>>2];w=+g[f+4>>2];y=+g[f+8>>2];v=v+B*(+g[i>>2]-v)-s;w=w+B*(+g[i+4>>2]-w)-t;y=y+B*(+g[i+8>>2]-y)-u;o=J(b,j)|0;n=0;do{B=+(n|0)/+(j+-1|0);A=n+o|0;g[q+(A<<4)>>2]=s+v*B;g[q+(A<<4)+4>>2]=t+w*B;g[q+(A<<4)+8>>2]=u+y*B;g[q+(A<<4)+12>>2]=0.0;g[r+(A<<2)>>2]=1.0;n=n+1|0}while((n|0)!=(j|0));b=b+1|0}while((b|0)!=(k|0));c[7182]=(c[7182]|0)+1;b=xb(1271)|0;if(!b)b=0;else{c[(b+4+15&-16)+-4>>2]=b;b=b+4+15&-16}Hb(b,d,p,q,r);if(l&1|0){g[(c[b+720>>2]|0)+88>>2]=0.0;a[b+924>>0]=1}if(l&2|0){g[(c[b+720>>2]|0)+((j+-1|0)*104|0)+88>>2]=0.0;a[b+924>>0]=1}if(l&4|0){A=J(k+-1|0,j)|0;g[(c[b+720>>2]|0)+(A*104|0)+88>>2]=0.0;a[b+924>>0]=1}if(!(l&8)){z=b+720|0;A=b+924|0}else{A=j+-1+(J(k+-1|0,j)|0)|0;z=b+720|0;g[(c[z>>2]|0)+(A*104|0)+88>>2]=0.0;A=b+924|0;a[A>>0]=1}c[7183]=(c[7183]|0)+1;Hc(c[q+-4>>2]|0);DI(r);r=b+732|0;l=b+740|0;n=0;do a:do if((j|0)>0){q=J(n,j)|0;d=n+1|0;f=J(d,j)|0;if((d|0)>=(k|0)){n=0;while(1){o=n;n=n+1|0;if((n|0)<(j|0)){h=n+q|0;f=c[z>>2]|0;oh(b,0);p=(c[r>>2]|0)+-1|0;i=c[l>>2]|0;c[i+(p*52|0)+8>>2]=f+((o+q|0)*104|0);c[i+(p*52|0)+12>>2]=f+(h*104|0);w=+g[f+((o+q|0)*104|0)+8>>2]-+g[f+(h*104|0)+8>>2];y=+g[f+((o+q|0)*104|0)+12>>2]-+g[f+(h*104|0)+12>>2];B=+g[f+((o+q|0)*104|0)+16>>2]-+g[f+(h*104|0)+16>>2];g[i+(p*52|0)+16>>2]=+x(+(w*w+y*y+B*B));a[A>>0]=1}if((n|0)==(j|0)){n=d;break a}}}o=0;do{h=o+q|0;e=o;o=o+1|0;do if((o|0)<(j|0)){i=o+q|0;C=c[z>>2]|0;oh(b,0);D=(c[r>>2]|0)+-1|0;p=c[l>>2]|0;c[p+(D*52|0)+8>>2]=C+(h*104|0);c[p+(D*52|0)+12>>2]=C+(i*104|0);B=+g[C+(h*104|0)+8>>2]-+g[C+(i*104|0)+8>>2];y=+g[C+(h*104|0)+12>>2]-+g[C+(i*104|0)+12>>2];w=+g[C+(h*104|0)+16>>2]-+g[C+(i*104|0)+16>>2];g[p+(D*52|0)+16>>2]=+x(+(B*B+y*y+w*w));a[A>>0]=1;D=c[z>>2]|0;oh(b,0);p=(c[r>>2]|0)+-1|0;C=c[l>>2]|0;c[C+(p*52|0)+8>>2]=D+(h*104|0);c[C+(p*52|0)+12>>2]=D+((e+f|0)*104|0);w=+g[D+(h*104|0)+8>>2]-+g[D+((e+f|0)*104|0)+8>>2];y=+g[D+(h*104|0)+12>>2]-+g[D+((e+f|0)*104|0)+12>>2];B=+g[D+(h*104|0)+16>>2]-+g[D+((e+f|0)*104|0)+16>>2];g[C+(p*52|0)+16>>2]=+x(+(w*w+y*y+B*B));a[A>>0]=1;if(!(e+n&1)){mf(b,e+f|0,h,i,0);mf(b,e+f|0,i,o+f|0,0);if(!m)break;p=c[z>>2]|0;oh(b,0);D=(c[r>>2]|0)+-1|0;C=c[l>>2]|0;c[C+(D*52|0)+8>>2]=p+(i*104|0);c[C+(D*52|0)+12>>2]=p+((e+f|0)*104|0);w=+g[p+(i*104|0)+8>>2]-+g[p+((e+f|0)*104|0)+8>>2];y=+g[p+(i*104|0)+12>>2]-+g[p+((e+f|0)*104|0)+12>>2];B=+g[p+(i*104|0)+16>>2]-+g[p+((e+f|0)*104|0)+16>>2];g[C+(D*52|0)+16>>2]=+x(+(w*w+y*y+B*B));a[A>>0]=1;break}else{p=o+f|0;mf(b,h,i,p,0);mf(b,h,p,e+f|0,0);if(!m)break;i=c[z>>2]|0;oh(b,0);D=(c[r>>2]|0)+-1|0;C=c[l>>2]|0;c[C+(D*52|0)+8>>2]=i+(h*104|0);c[C+(D*52|0)+12>>2]=i+(p*104|0);w=+g[i+(h*104|0)+8>>2]-+g[i+(p*104|0)+8>>2];y=+g[i+(h*104|0)+12>>2]-+g[i+(p*104|0)+12>>2];B=+g[i+(h*104|0)+16>>2]-+g[i+(p*104|0)+16>>2];g[C+(D*52|0)+16>>2]=+x(+(w*w+y*y+B*B));a[A>>0]=1;break}}else{p=c[z>>2]|0;oh(b,0);D=(c[r>>2]|0)+-1|0;C=c[l>>2]|0;c[C+(D*52|0)+8>>2]=p+(h*104|0);c[C+(D*52|0)+12>>2]=p+((e+f|0)*104|0);w=+g[p+(h*104|0)+8>>2]-+g[p+((e+f|0)*104|0)+8>>2];y=+g[p+(h*104|0)+12>>2]-+g[p+((e+f|0)*104|0)+12>>2];B=+g[p+(h*104|0)+16>>2]-+g[p+((e+f|0)*104|0)+16>>2];g[C+(D*52|0)+16>>2]=+x(+(w*w+y*y+B*B));a[A>>0]=1}while(0)}while((o|0)!=(j|0));n=d}else n=n+1|0;while(0);while((n|0)!=(k|0));return b|0}function Ac(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;d=c[a+8>>2]|0;if((d|0)<=0)return;f=0;do{e=c[(c[a+16>>2]|0)+(f<<2)>>2]|0;if((c[e+236>>2]|0)==1){Va[c[(c[e>>2]|0)+24>>2]&127](e,b);d=c[a+8>>2]|0}f=f+1|0}while((f|0)<(d|0));h=d;if((h|0)<=0)return;i=0;o=0;s=0;r=0;g=0;f=0;y=0;x=0;w=0;e=0;q=0;p=0;d=0;l=0;n=0;while(1){z=c[(c[(c[a+16>>2]|0)+(i<<2)>>2]|0)+192>>2]|0;t=((10?~(z<<15)+z>>10:~(z<<15)+z|0)^~(z<<15)+z)*9|0;t=(6?t>>6:t)^t;t=(16?t+~(t<<11)>>16:t+~(t<<11)|0)^t+~(t<<11);j=t&p+-1;a:do if(j>>>0>>0?(A=c[f+(j<<2)>>2]|0,(A|0)!=-1):0){j=A;while(1){if((c[g+(j<<3)>>2]|0)==(z|0))break;j=c[e+(j<<2)>>2]|0;if((j|0)==-1){F=14;break a}}if(d+(j<<2)|0){j=y;m=x;k=w}else F=14}else F=14;while(0);if((F|0)==14){F=0;m=t&p+-1;b:do if(m>>>0>>0?(B=c[f+(m<<2)>>2]|0,(B|0)!=-1):0){h=B;while(1){if((c[g+(h<<3)>>2]|0)==(z|0))break;h=c[e+(h<<2)>>2]|0;if((h|0)==-1){F=20;break b}}c[d+(h<<2)>>2]=z;j=y;m=x;k=w}else F=20;while(0);if((F|0)==20){F=0;do if((q|0)==(p|0)){j=(p|0)==0?1:p<<1;if((p|0)<(j|0)){if((j|0)!=0?(c[7182]=(c[7182]|0)+1,E=xb((j<<2|3)+16|0)|0,(E|0)!=0):0){c[(E+4+15&-16)+-4>>2]=E;k=E+4+15&-16}else k=0;if((p|0)<=0){if(!d){v=j;d=k;h=p;break}}else{h=0;do{c[k+(h<<2)>>2]=c[d+(h<<2)>>2];h=h+1|0}while((h|0)!=(p|0))}c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0);v=j;d=k;h=p}else{v=p;h=p}}else{v=p;h=q}while(0);c[d+(h<<2)>>2]=z;u=h+1|0;do if((s|0)==(r|0)){j=(s|0)==0?1:s<<1;if((s|0)<(j|0)){if((j|0)!=0?(c[7182]=(c[7182]|0)+1,C=xb((j<<3|3)+16|0)|0,(C|0)!=0):0){c[(C+4+15&-16)+-4>>2]=C;k=C+4+15&-16}else k=0;if((s|0)<=0){if(!g){r=j;g=k;break}}else{h=0;do{H=g+(h<<3)|0;G=c[H+4>>2]|0;r=k+(h<<3)|0;c[r>>2]=c[H>>2];c[r+4>>2]=G;h=h+1|0}while((h|0)!=(s|0))}c[7183]=(c[7183]|0)+1;Hc(c[g+-4>>2]|0);r=j;g=k}else r=s}while(0);H=g+(s<<3)|0;c[H>>2]=z;c[H+4>>2]=0;s=s+1|0;if((p|0)<(v|0)){if((y|0)<(v|0)){do if((o|0)<(v|0)){if((v|0)!=0?(c[7182]=(c[7182]|0)+1,D=xb((v<<2|3)+16|0)|0,(D|0)!=0):0){c[(D+4+15&-16)+-4>>2]=D;j=D+4+15&-16}else j=0;if((y|0)<=0){if(!f){o=v;f=j;n=j;break}}else{h=0;do{c[j+(h<<2)>>2]=c[f+(h<<2)>>2];h=h+1|0}while((h|0)!=(y|0))}c[7183]=(c[7183]|0)+1;Hc(c[f+-4>>2]|0);o=v;f=j;n=j}while(0);m=v<<2;mk(f+(y<<2)|0,0,m-(y<<2)|0)|0;if((x|0)<(v|0)){do if((w|0)<(v|0)){do if(!v)j=0;else{c[7182]=(c[7182]|0)+1;h=xb((m|3)+16|0)|0;if(!h){j=0;break}c[(h+4+15&-16)+-4>>2]=h;j=h+4+15&-16}while(0);if((x|0)<=0){if(!e){k=v;e=j;h=j;break}}else{h=0;do{c[j+(h<<2)>>2]=c[e+(h<<2)>>2];h=h+1|0}while((h|0)!=(x|0))}c[7183]=(c[7183]|0)+1;Hc(c[e+-4>>2]|0);k=v;e=j;h=j}else{k=w;h=l}while(0);mk(e+(x<<2)|0,0,m-(x<<2)|0)|0;l=h}else k=w;if((v|0)>0){mk(n|0,-1,m|0)|0;mk(l|0,-1,m|0)|0}if((y|0)>0){j=v+-1|0;h=0;do{H=c[g+(h<<3)>>2]|0;H=((10?H+~(H<<15)>>10:H+~(H<<15)|0)^H+~(H<<15))*9|0;H=(6?H>>6:H)^H;H=f+((((16?H+~(H<<11)>>16:H+~(H<<11)|0)^H+~(H<<11))&j)<<2)|0;c[e+(h<<2)>>2]=c[H>>2];c[H>>2]=h;h=h+1|0}while((h|0)!=(y|0));j=v;m=v;h=n}else{j=v;m=v;h=n}}else{j=y;m=x;k=w;h=n}p=t&v+-1}else{p=m;j=y;m=x;k=w;h=n}p=f+(p<<2)|0;c[e+(q<<2)>>2]=c[p>>2];c[p>>2]=q;q=u;p=v;n=h}Va[c[(c[z>>2]|0)+60>>2]&127](z,b);h=c[a+8>>2]|0}i=i+1|0;if((i|0)>=(h|0))break;y=j;x=m;w=k}if(g|0){c[7183]=(c[7183]|0)+1;Hc(c[g+-4>>2]|0)}if(d|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}if(e|0){c[7183]=(c[7183]|0)+1;Hc(c[e+-4>>2]|0)}if(!f)return;c[7183]=(c[7183]|0)+1;Hc(c[f+-4>>2]|0);return}function Bc(a,d,f){a=a|0;d=d|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;g=c[a+108>>2]|0;if(g|0)Za[c[(c[g>>2]|0)+12>>2]&127](g,c[d+60>>2]|0,f);o=c[d+12>>2]|0;m=c[a+60>>2]|0;n=c[a+92>>2]|0;if(!(Fa[c[(c[n>>2]|0)+56>>2]&127](n)|0)){n=c[a+92>>2]|0;Za[c[(c[n>>2]|0)+16>>2]&127](n,m+((o&65535)<<6)|0,f)}n=e[a+56>>1]|0;d=c[a+60>>2]|0;b[d+54>>1]=(e[d+54>>1]|0)+65534;b[d+56>>1]=(e[d+56>>1]|0)+65534;b[d+58>>1]=(e[d+58>>1]|0)+65534;l=c[a+68>>2]|0;g=b[a+6>>1]|0;f=e[m+((o&65535)<<6)+54>>1]|0;b[l+(f<<2)>>1]=g;h=b[l+(f<<2)+6>>1]|0;if(!(h<<16>>16))f=l;else{j=d+((e[l+(f<<2)+2>>1]|0)<<6)+54|0;i=l+(f<<2)|0;while(1){f=i;i=i+4|0;d=b[i>>1]|0;if((g&65535)<(d&65535))break;g=c[a+60>>2]|0;k=h&65535;d=(d&1)==0?g+(k<<6)+48|0:g+(k<<6)+54|0;b[d>>1]=(b[d>>1]|0)+-1<<16>>16;b[j>>1]=(b[j>>1]|0)+1<<16>>16;d=e[f>>1]|e[f+2>>1]<<16;k=e[i>>1]|e[i+2>>1]<<16;b[f>>1]=k;b[f+2>>1]=k>>>16;b[i>>1]=d;b[i+2>>1]=d>>>16;h=b[f+10>>1]|0;if(!(h<<16>>16))break;else g=d&65535}g=b[a+6>>1]|0;f=c[a+68>>2]|0}d=e[m+((o&65535)<<6)+48>>1]|0;b[l+(d<<2)>>1]=g;i=f+(d<<2)|0;h=b[i+6>>1]|0;if(h<<16>>16){k=(c[a+60>>2]|0)+((e[f+(d<<2)+2>>1]|0)<<6)+48|0;j=i;f=b[i>>1]|0;while(1){g=j;j=j+4|0;d=b[j>>1]|0;if((f&65535)<(d&65535))break;f=c[a+60>>2]|0;i=h&65535;d=(d&1)==0?f+(i<<6)+48|0:f+(i<<6)+54|0;b[d>>1]=(b[d>>1]|0)+-1<<16>>16;b[k>>1]=(b[k>>1]|0)+1<<16>>16;d=e[g>>1]|e[g+2>>1]<<16;i=e[j>>1]|e[j+2>>1]<<16;b[g>>1]=i;b[g+2>>1]=i>>>16;b[j>>1]=d;b[j+2>>1]=d>>>16;h=b[g+10>>1]|0;if(!(h<<16>>16))break;else f=d&65535}g=b[a+6>>1]|0}b[l+((n<<1)+-1<<2)+2>>1]=0;b[l+((n<<1)+-1<<2)>>1]=g;l=c[a+72>>2]|0;d=e[m+((o&65535)<<6)+56>>1]|0;b[l+(d<<2)>>1]=g;f=b[l+(d<<2)+6>>1]|0;if(!(f<<16>>16))f=l;else{j=(c[a+60>>2]|0)+((e[l+(d<<2)+2>>1]|0)<<6)+56|0;i=l+(d<<2)|0;while(1){h=i;i=i+4|0;d=b[i>>1]|0;if((g&65535)<(d&65535))break;g=c[a+60>>2]|0;k=f&65535;d=(d&1)==0?g+(k<<6)+50|0:g+(k<<6)+56|0;b[d>>1]=(b[d>>1]|0)+-1<<16>>16;b[j>>1]=(b[j>>1]|0)+1<<16>>16;d=e[h>>1]|e[h+2>>1]<<16;k=e[i>>1]|e[i+2>>1]<<16;b[h>>1]=k;b[h+2>>1]=k>>>16;b[i>>1]=d;b[i+2>>1]=d>>>16;f=b[h+10>>1]|0;if(!(f<<16>>16))break;else g=d&65535}g=b[a+6>>1]|0;f=c[a+72>>2]|0}d=e[m+((o&65535)<<6)+50>>1]|0;b[l+(d<<2)>>1]=g;h=f+(d<<2)|0;i=b[h+6>>1]|0;if(i<<16>>16){k=(c[a+60>>2]|0)+((e[f+(d<<2)+2>>1]|0)<<6)+50|0;j=h;f=b[h>>1]|0;h=i;while(1){g=j;j=j+4|0;d=b[j>>1]|0;if((f&65535)<(d&65535))break;f=c[a+60>>2]|0;i=h&65535;d=(d&1)==0?f+(i<<6)+50|0:f+(i<<6)+56|0;b[d>>1]=(b[d>>1]|0)+-1<<16>>16;b[k>>1]=(b[k>>1]|0)+1<<16>>16;d=e[g>>1]|e[g+2>>1]<<16;i=e[j>>1]|e[j+2>>1]<<16;b[g>>1]=i;b[g+2>>1]=i>>>16;b[j>>1]=d;b[j+2>>1]=d>>>16;h=b[g+10>>1]|0;if(!(h<<16>>16))break;else f=d&65535}g=b[a+6>>1]|0}b[l+((n<<1)+-1<<2)+2>>1]=0;b[l+((n<<1)+-1<<2)>>1]=g;l=c[a+76>>2]|0;d=e[m+((o&65535)<<6)+58>>1]|0;b[l+(d<<2)>>1]=g;f=b[l+(d<<2)+6>>1]|0;if(!(f<<16>>16))f=l;else{j=(c[a+60>>2]|0)+((e[l+(d<<2)+2>>1]|0)<<6)+58|0;i=l+(d<<2)|0;while(1){h=i;i=i+4|0;d=b[i>>1]|0;if((g&65535)<(d&65535))break;g=c[a+60>>2]|0;k=f&65535;d=(d&1)==0?g+(k<<6)+52|0:g+(k<<6)+58|0;b[d>>1]=(b[d>>1]|0)+-1<<16>>16;b[j>>1]=(b[j>>1]|0)+1<<16>>16;d=e[h>>1]|e[h+2>>1]<<16;k=e[i>>1]|e[i+2>>1]<<16;b[h>>1]=k;b[h+2>>1]=k>>>16;b[i>>1]=d;b[i+2>>1]=d>>>16;f=b[h+10>>1]|0;if(!(f<<16>>16))break;else g=d&65535}g=b[a+6>>1]|0;f=c[a+76>>2]|0}d=e[m+((o&65535)<<6)+52>>1]|0;b[l+(d<<2)>>1]=g;h=f+(d<<2)|0;i=b[h+6>>1]|0;if(!(i<<16>>16)){k=g;m=l+((n<<1)+-1<<2)+2|0;b[m>>1]=0;m=l+((n<<1)+-1<<2)|0;b[m>>1]=k;m=c[a+60>>2]|0;n=a+64|0;l=b[n>>1]|0;m=m+((o&65535)<<6)+48|0;b[m>>1]=l;b[n>>1]=o;o=b[a+56>>1]|0;o=o+-1<<16>>16;b[a+56>>1]=o;return}k=(c[a+60>>2]|0)+((e[f+(d<<2)+2>>1]|0)<<6)+52|0;j=h;f=b[h>>1]|0;h=i;while(1){g=j;j=j+4|0;d=b[j>>1]|0;if((f&65535)<(d&65535))break;i=c[a+60>>2]|0;m=h&65535;d=(d&1)==0?i+(m<<6)+52|0:i+(m<<6)+58|0;b[d>>1]=(b[d>>1]|0)+-1<<16>>16;b[k>>1]=(b[k>>1]|0)+1<<16>>16;d=e[g>>1]|e[g+2>>1]<<16;m=e[j>>1]|e[j+2>>1]<<16;b[g>>1]=m;b[g+2>>1]=m>>>16;b[j>>1]=d;b[j+2>>1]=d>>>16;h=b[g+10>>1]|0;if(!(h<<16>>16))break;else f=d&65535}k=b[a+6>>1]|0;m=l+((n<<1)+-1<<2)+2|0;b[m>>1]=0;m=l+((n<<1)+-1<<2)|0;b[m>>1]=k;m=c[a+60>>2]|0;n=a+64|0;l=b[n>>1]|0;m=m+((o&65535)<<6)+48|0;b[m>>1]=l;b[n>>1]=o;o=b[a+56>>1]|0;o=o+-1<<16>>16;b[a+56>>1]=o;return}function Cc(d,e){d=d|0;e=e|0;var f=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=sa;sa=sa+64|0;g[d+20>>2]=+h[e+32>>3];g[d+24>>2]=+h[e+40>>3];g[d+28>>2]=+h[e+48>>3];g[d+32>>2]=+h[e+56>>3];g[d+4>>2]=+h[e>>3];g[d+8>>2]=+h[e+8>>3];g[d+12>>2]=+h[e+16>>3];g[d+16>>2]=+h[e+24>>3];g[d+36>>2]=+h[e+64>>3];g[d+40>>2]=+h[e+72>>3];g[d+44>>2]=+h[e+80>>3];g[d+48>>2]=+h[e+88>>3];c[d+56>>2]=c[e+96>>2];a[d+60>>0]=(c[e+100>>2]|0)!=0&1;o=c[e+104>>2]|0;k=p;m=k+64|0;do{c[k>>2]=0;k=k+4|0}while((k|0)<(m|0));n=c[d+88>>2]|0;if((n|0)<(o|0)){if((c[d+92>>2]|0)<(o|0)){if(!o){f=0;j=n}else{c[7182]=(c[7182]|0)+1;f=xb(o<<6|19)|0;if(!f)f=0;else{c[(f+4+15&-16)+-4>>2]=f;f=f+4+15&-16}j=c[d+88>>2]|0}if((j|0)>0){i=0;do{k=f+(i<<6)|0;l=(c[d+96>>2]|0)+(i<<6)|0;m=k+64|0;do{c[k>>2]=c[l>>2];k=k+4|0;l=l+4|0}while((k|0)<(m|0));i=i+1|0}while((i|0)!=(j|0))}i=c[d+96>>2]|0;if(i|0){if(a[d+100>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[i+-4>>2]|0)}c[d+96>>2]=0}a[d+100>>0]=1;c[d+96>>2]=f;c[d+92>>2]=o;i=d+96|0}else i=d+96|0;f=n;do{k=(c[i>>2]|0)+(f<<6)|0;l=p;m=k+64|0;do{c[k>>2]=c[l>>2];k=k+4|0;l=l+4|0}while((k|0)<(m|0));f=f+1|0}while((f|0)!=(o|0))}c[d+88>>2]=o;if((o|0)>0){j=c[d+96>>2]|0;f=c[e+112>>2]|0;i=0;while(1){g[j+(i<<6)+16>>2]=+h[f+32>>3];g[j+(i<<6)+20>>2]=+h[f+40>>3];g[j+(i<<6)+24>>2]=+h[f+48>>3];g[j+(i<<6)+28>>2]=+h[f+56>>3];g[j+(i<<6)>>2]=+h[f>>3];g[j+(i<<6)+4>>2]=+h[f+8>>3];g[j+(i<<6)+8>>2]=+h[f+16>>3];g[j+(i<<6)+12>>2]=+h[f+24>>3];c[j+(i<<6)+32>>2]=c[f+64>>2];c[j+(i<<6)+36>>2]=c[f+68>>2];c[j+(i<<6)+40>>2]=c[f+72>>2];i=i+1|0;if((i|0)==(o|0))break;else f=f+80|0}}l=c[e+108>>2]|0;c[p>>2]=0;c[p+4>>2]=0;c[p+8>>2]=0;c[p+12>>2]=0;k=c[d+128>>2]|0;if((k|0)<(l|0)){if((c[d+132>>2]|0)<(l|0)){if(!l){f=0;j=k}else{c[7182]=(c[7182]|0)+1;f=xb((l<<4|3)+16|0)|0;if(!f)f=0;else{c[(f+4+15&-16)+-4>>2]=f;f=f+4+15&-16}j=c[d+128>>2]|0}if((j|0)>0){i=0;do{o=f+(i<<4)|0;n=(c[d+136>>2]|0)+(i<<4)|0;c[o>>2]=c[n>>2];c[o+4>>2]=c[n+4>>2];c[o+8>>2]=c[n+8>>2];c[o+12>>2]=c[n+12>>2];i=i+1|0}while((i|0)!=(j|0))}i=c[d+136>>2]|0;if(i|0){if(a[d+140>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[i+-4>>2]|0)}c[d+136>>2]=0}a[d+140>>0]=1;c[d+136>>2]=f;c[d+132>>2]=l;i=d+136|0}else i=d+136|0;f=k;do{o=(c[i>>2]|0)+(f<<4)|0;c[o>>2]=c[p>>2];c[o+4>>2]=c[p+4>>2];c[o+8>>2]=c[p+8>>2];c[o+12>>2]=c[p+12>>2];f=f+1|0}while((f|0)!=(l|0))}c[d+128>>2]=l;if((l|0)>0){j=c[d+136>>2]|0;f=0;i=c[e+116>>2]|0;while(1){c[j+(f<<4)+12>>2]=c[i+12>>2];b[j+(f<<4)+6>>1]=b[i+6>>1]|0;b[j+(f<<4)+8>>1]=b[i+8>>1]|0;b[j+(f<<4)+10>>1]=b[i+10>>1]|0;b[j+(f<<4)>>1]=b[i>>1]|0;b[j+(f<<4)+2>>1]=b[i+2>>1]|0;b[j+(f<<4)+4>>1]=b[i+4>>1]|0;f=f+1|0;if((f|0)==(l|0))break;else i=i+16|0}}c[d+144>>2]=c[e+120>>2];l=c[e+124>>2]|0;k=c[d+152>>2]|0;if((k|0)<(l|0)){if((c[d+156>>2]|0)<(l|0)){if(!l){f=0;j=k}else{c[7182]=(c[7182]|0)+1;f=xb(l<<5|19)|0;if(!f)f=0;else{c[(f+4+15&-16)+-4>>2]=f;f=f+4+15&-16}j=c[d+152>>2]|0}if((j|0)>0){i=0;do{o=f+(i<<5)|0;n=(c[d+160>>2]|0)+(i<<5)|0;c[o>>2]=c[n>>2];c[o+4>>2]=c[n+4>>2];c[o+8>>2]=c[n+8>>2];c[o+12>>2]=c[n+12>>2];c[o+16>>2]=c[n+16>>2];c[o+20>>2]=c[n+20>>2];c[o+24>>2]=c[n+24>>2];c[o+28>>2]=c[n+28>>2];i=i+1|0}while((i|0)!=(j|0))}i=c[d+160>>2]|0;if(i|0){if(a[d+164>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[i+-4>>2]|0)}c[d+160>>2]=0}a[d+164>>0]=1;c[d+160>>2]=f;c[d+156>>2]=l;i=d+160|0}else i=d+160|0;f=k;do{o=(c[i>>2]|0)+(f<<5)|0;c[o>>2]=c[p>>2];c[o+4>>2]=c[p+4>>2];c[o+8>>2]=c[p+8>>2];c[o+12>>2]=c[p+12>>2];c[o+16>>2]=c[p+16>>2];c[o+20>>2]=c[p+20>>2];c[o+24>>2]=c[p+24>>2];c[o+28>>2]=c[p+28>>2];f=f+1|0}while((f|0)!=(l|0))}c[d+152>>2]=l;if((l|0)<=0){sa=p;return}j=c[d+160>>2]|0;i=0;f=c[e+128>>2]|0;while(1){b[j+(i<<5)+6>>1]=b[f+14>>1]|0;b[j+(i<<5)+8>>1]=b[f+16>>1]|0;b[j+(i<<5)+10>>1]=b[f+18>>1]|0;b[j+(i<<5)>>1]=b[f+8>>1]|0;b[j+(i<<5)+2>>1]=b[f+10>>1]|0;b[j+(i<<5)+4>>1]=b[f+12>>1]|0;c[j+(i<<5)+12>>2]=c[f>>2];c[j+(i<<5)+16>>2]=c[f+4>>2];i=i+1|0;if((i|0)==(l|0))break;else f=f+20|0}sa=p;return}function Dc(b,d,e){b=b|0;d=d|0;e=e|0;var f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s*s+A*A+u*u),C=C<0.0?0.0:C>1.0?1.0:C,p=(S-L+u*C)*(S-L+u*C)+((Q-K+s*C)*(Q-K+s*C)+(R-M+A*C)*(R-M+A*C)),p<3402823466385288598117041.0e14):0){n=Q-K+s*C;m=S-L+u*C;k=R-M+A*C}else{p=3402823466385288598117041.0e14;n=0.0;m=0.0;k=0.0}f=(T-K-(N-K))*(T-K-(N-K))+(U-M-(O-M))*(U-M-(O-M))+(V-L-(P-L))*(V-L-(P-L));if(f>1.1920928955078125e-07?(G=-((N-K)*(T-K-(N-K))+(O-M)*(U-M-(O-M))+(P-L)*(V-L-(P-L)))/f,G=G<0.0?0.0:G>1.0?1.0:G,F=N-K+(T-K-(N-K))*G,H=O-M+(U-M-(O-M))*G,G=P-L+(V-L-(P-L))*G,G*G+(F*F+H*H)1.1920928955078125e-07?(J=-((T-K)*(Q-K-(T-K))+(U-M)*(R-M-(U-M))+(V-L)*(S-L-(V-L)))/f,J=J<0.0?0.0:J>1.0?1.0:J,I=T-K+(Q-K-(T-K))*J,l=U-M+(R-M-(U-M))*J,J=V-L+(S-L-(V-L))*J,J*J+(I*I+l*l)>2];J=M-+g[Y+28>>2];u=L-+g[Y+32>>2];u=+g[b+12>>2]+ +x(+(I*I+J*J+u*u))*2.0;if(!(p>2];V=+g[h+88>>2];f=+g[d+88>>2];U=+g[e+88>>2];f=!(V<=0.0)&!(f<=0.0)&!(U<=0.0)?U*t*(1.0/(r+(t+s)))+(V*s*(1.0/(r+(t+s)))+f*r*(1.0/(r+(t+s)))):0.0;if(!(k+f>0.0))return;V=1.0/-+x(+p);q=n*V;p=V*l;n=V*m;o=c[b+4>>2]|0;d=c[b+8>>2]|0;m=+g[o+316>>2];l=+g[d+316>>2];l=m>l?m:l;m=k/(k+f)*+g[o+332>>2];f=f/(k+f)*+g[d+332>>2];d=c[o+832>>2]|0;if((d|0)==(c[o+836>>2]|0)?(X=(d|0)==0?1:d<<1,(d|0)<(X|0)):0){if(!X)j=0;else{c[7182]=(c[7182]|0)+1;d=xb((X*56|3)+16|0)|0;if(!d)d=0;else{c[(d+4+15&-16)+-4>>2]=d;d=d+4+15&-16}j=d;d=c[o+832>>2]|0}if((d|0)>0){e=0;do{h=j+(e*56|0)|0;b=(c[o+840>>2]|0)+(e*56|0)|0;i=h+56|0;do{c[h>>2]=c[b>>2];h=h+4|0;b=b+4|0}while((h|0)<(i|0));e=e+1|0}while((e|0)!=(d|0))}d=c[o+840>>2]|0;if(d|0){if(a[o+844>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[o+840>>2]=0}a[o+844>>0]=1;c[o+840>>2]=j;c[o+836>>2]=X;d=c[o+832>>2]|0}X=c[o+840>>2]|0;c[X+(d*56|0)>>2]=Y;c[X+(d*56|0)+4>>2]=W;g[X+(d*56|0)+8>>2]=s*(1.0/(r+(t+s)));g[X+(d*56|0)+12>>2]=r*(1.0/(r+(t+s)));g[X+(d*56|0)+16>>2]=t*(1.0/(r+(t+s)));g[X+(d*56|0)+20>>2]=0.0;g[X+(d*56|0)+24>>2]=q;g[X+(d*56|0)+28>>2]=p;g[X+(d*56|0)+32>>2]=n;g[X+(d*56|0)+36>>2]=0.0;g[X+(d*56|0)+40>>2]=u;g[X+(d*56|0)+44>>2]=l;g[X+(d*56|0)+48>>2]=m;g[X+(d*56|0)+52>>2]=f;c[o+832>>2]=(c[o+832>>2]|0)+1;return}function Ec(b,d){b=b|0;d=+d;var e=0,f=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;q=sa;sa=sa+1136|0;h=c[b+44>>2]|0;h=Fa[c[(c[h>>2]|0)+84>>2]&127](h)|0;if((h|0)>0){e=0;f=42;while(1){o=c[b+44>>2]|0;Za[c[(c[o>>2]|0)+88>>2]&127](o,e,q);ce();o=24464+(f<<4)|0;c[o>>2]=c[q>>2];c[o+4>>2]=c[q+4>>2];c[o+8>>2]=c[q+8>>2];c[o+12>>2]=c[q+12>>2];e=e+1|0;if((e|0)==(h|0))break;else f=f+1|0}f=h+42|0}else f=42;e=0;do{o=c[b+44>>2]|0;n=c[(c[o>>2]|0)+64>>2]|0;ce();Za[n&127](q+1104|0,o,24464+(e<<4)|0);o=q+(e<<4)|0;c[o>>2]=c[q+1104>>2];c[o+4>>2]=c[q+1104+4>>2];c[o+8>>2]=c[q+1104+8>>2];c[o+12>>2]=c[q+1104+12>>2];e=e+1|0}while(e>>>0>>0);g[q+1104+16>>2]=1.0000000474974513e-03;c[q+1104+20>>2]=4096;c[q+1104+24>>2]=4096;c[q+1104>>2]=1;c[q+1104+4>>2]=f;c[q+1104+8>>2]=q;c[q+1104+12>>2]=16;a[q+1064+16>>0]=1;c[q+1064+12>>2]=0;c[q+1064+4>>2]=0;c[q+1064+8>>2]=0;a[q+1064+36>>0]=1;c[q+1064+32>>2]=0;c[q+1064+24>>2]=0;c[q+1064+28>>2]=0;a[q+1008+24>>0]=1;o=q+1008+20|0;c[o>>2]=0;c[q+1008+12>>2]=0;c[q+1008+16>>2]=0;m=q+1008+52|0;a[m>>0]=1;n=q+1008+48|0;c[n>>2]=0;c[q+1008+40>>2]=0;c[q+1008+44>>2]=0;a[q+1008>>0]=1;l=q+1008+4|0;c[l>>2]=0;c[q+1008+28>>2]=0;c[q+1008+32>>2]=0;if((ob(q+1064|0,q+1104|0,q+1008|0)|0)!=1){j=c[l>>2]|0;i=c[b+4>>2]|0;if((i|0)<(j|0)){if((c[b+8>>2]|0)<(j|0)){if(!j){e=0;h=i}else{c[7182]=(c[7182]|0)+1;e=xb((j<<4|3)+16|0)|0;if(!e)e=0;else{c[(e+4+15&-16)+-4>>2]=e;e=e+4+15&-16}h=c[b+4>>2]|0}if((h|0)>0){f=0;do{k=e+(f<<4)|0;r=(c[b+12>>2]|0)+(f<<4)|0;c[k>>2]=c[r>>2];c[k+4>>2]=c[r+4>>2];c[k+8>>2]=c[r+8>>2];c[k+12>>2]=c[r+12>>2];f=f+1|0}while((f|0)!=(h|0))}f=c[b+12>>2]|0;if(f|0){if(a[b+16>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[f+-4>>2]|0)}c[b+12>>2]=0}a[b+16>>0]=1;c[b+12>>2]=e;c[b+8>>2]=j;f=b+12|0}else f=b+12|0;e=i;do{r=(c[f>>2]|0)+(e<<4)|0;c[r>>2]=c[q+992>>2];c[r+4>>2]=c[q+992+4>>2];c[r+8>>2]=c[q+992+8>>2];c[r+12>>2]=c[q+992+12>>2];e=e+1|0}while((e|0)!=(j|0));e=c[l>>2]|0}else e=j;c[b+4>>2]=j;if((e|0)>0){f=c[o>>2]|0;e=0;do{k=f+(e<<4)|0;r=(c[b+12>>2]|0)+(e<<4)|0;c[r>>2]=c[k>>2];c[r+4>>2]=c[k+4>>2];c[r+8>>2]=c[k+8>>2];c[r+12>>2]=c[k+12>>2];e=e+1|0}while((e|0)<(c[l>>2]|0))}k=c[q+1008+32>>2]|0;c[b+40>>2]=k;j=c[b+24>>2]|0;if((k|0)>(j|0)){do if((c[b+28>>2]|0)<(k|0)){if(!k){e=0;h=j}else{c[7182]=(c[7182]|0)+1;e=xb((k<<2|3)+16|0)|0;if(!e)e=0;else{c[(e+4+15&-16)+-4>>2]=e;e=e+4+15&-16}h=c[b+24>>2]|0}i=c[b+32>>2]|0;if((h|0)<=0){if(!i){a[b+36>>0]=1;c[b+32>>2]=e;c[b+28>>2]=k;break}}else{f=0;do{c[e+(f<<2)>>2]=c[i+(f<<2)>>2];f=f+1|0}while((f|0)!=(h|0))}if(a[b+36>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[i+-4>>2]|0)}a[b+36>>0]=1;c[b+32>>2]=e;c[b+28>>2]=k}else e=c[b+32>>2]|0;while(0);mk(e+(j<<2)|0,0,k-j<<2|0)|0;e=c[b+40>>2]|0}else e=k;c[b+24>>2]=k;if((e|0)>0){f=c[n>>2]|0;h=c[b+32>>2]|0;e=0;do{c[h+(e<<2)>>2]=c[f+(e<<2)>>2];e=e+1|0}while((e|0)<(c[b+40>>2]|0))}if(c[q+1008+12>>2]|0){c[l>>2]=0;e=c[o>>2]|0;if(e|0){if(a[q+1008+24>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[e+-4>>2]|0)}c[o>>2]=0}a[q+1008+24>>0]=1;c[o>>2]=0;c[q+1008+12>>2]=0;c[q+1008+16>>2]=0}if(!(c[q+1008+40>>2]|0)){f=1;p=60}else{c[q+1008+32>>2]=0;e=c[n>>2]|0;if(e|0){if(a[m>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[e+-4>>2]|0)}c[n>>2]=0}a[m>>0]=1;c[n>>2]=0;c[q+1008+40>>2]=0;c[q+1008+44>>2]=0;f=1}}else{f=0;p=60}if((p|0)==60){e=c[n>>2]|0;if(e){if(a[m>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[e+-4>>2]|0)}c[n>>2]=0}}a[m>>0]=1;c[n>>2]=0;c[q+1008+40>>2]=0;c[q+1008+44>>2]=0;e=c[o>>2]|0;if(e|0){if(a[q+1008+24>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[e+-4>>2]|0)}c[o>>2]=0}e=c[q+1064+32>>2]|0;if(e|0){if(a[q+1064+36>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[e+-4>>2]|0)}c[q+1064+32>>2]=0}a[q+1064+36>>0]=1;c[q+1064+32>>2]=0;c[q+1064+24>>2]=0;c[q+1064+28>>2]=0;e=c[q+1064+12>>2]|0;if(!e){sa=q;return f|0}if(a[q+1064+16>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[e+-4>>2]|0)}c[q+1064+12>>2]=0;sa=q;return f|0}function Fc(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;c[b>>2]=5940;d=c[b+192>>2]|0;if(d|0)Pa[c[(c[d>>2]|0)+4>>2]&511](d);a:do if((c[b+1112>>2]|0)>0)do{h=c[c[b+1120>>2]>>2]|0;d=c[h+348>>2]|0;if(d|0){sg(b+1048|0,d)|0;e=c[b+1052>>2]|0;if(e|0){c[7183]=(c[7183]|0)+1;Hc(c[e+-4>>2]|0)}c[b+1052>>2]=d;c[b+1060>>2]=(c[b+1060>>2]|0)+-1}d=c[h+52>>2]|0;if(d|0){if(a[h+56>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[h+52>>2]=0}a[h+56>>0]=1;c[h+52>>2]=0;c[h+44>>2]=0;c[h+48>>2]=0;d=c[h+32>>2]|0;if(d|0){if(a[h+36>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[h+32>>2]=0}a[h+36>>0]=1;c[h+32>>2]=0;c[h+24>>2]=0;c[h+28>>2]=0;d=c[h+12>>2]|0;if(d|0){if(a[h+16>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[h+12>>2]=0}a[h+16>>0]=1;c[h+12>>2]=0;c[h+4>>2]=0;c[h+8>>2]=0;c[7183]=(c[7183]|0)+1;Hc(c[h+-4>>2]|0);d=c[b+1112>>2]|0;if((d|0)<=0)break a;g=c[b+1120>>2]|0;e=0;do{f=g+(e<<2)|0;if((c[f>>2]|0)==(h|0)){i=25;break}e=e+1|0}while((e|0)<(d|0));if((i|0)==25){i=0;if((e|0)<(d|0)){c[f>>2]=c[g+(d+-1<<2)>>2];c[(c[b+1120>>2]|0)+(d+-1<<2)>>2]=h;c[b+1112>>2]=d+-1;d=d+-1|0}}}while((d|0)>0);while(0);d=c[b+872>>2]|0;if((d|0)>0){f=0;do{e=c[(c[b+880>>2]|0)+(f<<2)>>2]|0;if(e){c[7183]=(c[7183]|0)+1;Hc(c[e+-4>>2]|0);d=c[b+872>>2]|0}f=f+1|0}while((f|0)<(d|0))}d=c[b+852>>2]|0;if((d|0)>0){f=0;do{e=c[(c[b+860>>2]|0)+(f<<2)>>2]|0;if(e){c[7183]=(c[7183]|0)+1;Hc(c[e+-4>>2]|0);d=c[b+852>>2]|0}f=f+1|0}while((f|0)<(d|0))}d=c[b+1244>>2]|0;if(d|0){if(a[b+1248>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+1244>>2]=0}a[b+1248>>0]=1;c[b+1244>>2]=0;c[b+1236>>2]=0;c[b+1240>>2]=0;d=c[b+1140>>2]|0;if(d|0){if(a[b+1144>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+1140>>2]=0}a[b+1144>>0]=1;c[b+1140>>2]=0;c[b+1132>>2]=0;c[b+1136>>2]=0;d=c[b+1120>>2]|0;if(d|0){if(a[b+1124>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+1120>>2]=0}a[b+1124>>0]=1;c[b+1120>>2]=0;c[b+1112>>2]=0;c[b+1116>>2]=0;yh(b+1048|0);yh(b+988|0);yh(b+928|0);d=c[b+880>>2]|0;if(d|0){if(a[b+884>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+880>>2]=0}a[b+884>>0]=1;c[b+880>>2]=0;c[b+872>>2]=0;c[b+876>>2]=0;d=c[b+860>>2]|0;if(d|0){if(a[b+864>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+860>>2]=0}a[b+864>>0]=1;c[b+860>>2]=0;c[b+852>>2]=0;c[b+856>>2]=0;d=c[b+840>>2]|0;if(d|0){if(a[b+844>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+840>>2]=0}a[b+844>>0]=1;c[b+840>>2]=0;c[b+832>>2]=0;c[b+836>>2]=0;d=c[b+820>>2]|0;if(d|0){if(a[b+824>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+820>>2]=0}a[b+824>>0]=1;c[b+820>>2]=0;c[b+812>>2]=0;c[b+816>>2]=0;d=c[b+800>>2]|0;if(d|0){if(a[b+804>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+800>>2]=0}a[b+804>>0]=1;c[b+800>>2]=0;c[b+792>>2]=0;c[b+796>>2]=0;d=c[b+780>>2]|0;if(d|0){if(a[b+784>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+780>>2]=0}a[b+784>>0]=1;c[b+780>>2]=0;c[b+772>>2]=0;c[b+776>>2]=0;d=c[b+760>>2]|0;if(d|0){if(a[b+764>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+760>>2]=0}a[b+764>>0]=1;c[b+760>>2]=0;c[b+752>>2]=0;c[b+756>>2]=0;d=c[b+740>>2]|0;if(d|0){if(a[b+744>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+740>>2]=0}a[b+744>>0]=1;c[b+740>>2]=0;c[b+732>>2]=0;c[b+736>>2]=0;d=c[b+720>>2]|0;if(d|0){if(a[b+724>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+720>>2]=0}a[b+724>>0]=1;c[b+720>>2]=0;c[b+712>>2]=0;c[b+716>>2]=0;d=c[b+700>>2]|0;if(d|0){if(a[b+704>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+700>>2]=0}a[b+704>>0]=1;c[b+700>>2]=0;c[b+692>>2]=0;c[b+696>>2]=0;d=c[b+512>>2]|0;if(d|0){if(a[b+516>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+512>>2]=0}a[b+516>>0]=1;c[b+512>>2]=0;c[b+504>>2]=0;c[b+508>>2]=0;d=c[b+492>>2]|0;if(d|0){if(a[b+496>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+492>>2]=0}a[b+496>>0]=1;c[b+492>>2]=0;c[b+484>>2]=0;c[b+488>>2]=0;wu(b+288|0);d=c[b+276>>2]|0;if(!d){a[b+280>>0]=1;c[b+276>>2]=0;c[b+268>>2]=0;i=b+272|0;c[i>>2]=0;c[b>>2]=7816;return}if(a[b+280>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+276>>2]=0;a[b+280>>0]=1;c[b+276>>2]=0;c[b+268>>2]=0;i=b+272|0;c[i>>2]=0;c[b>>2]=7816;return}function Gc(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;n=sa;sa=sa+64|0;c[d+20>>2]=c[e+16>>2];c[d+24>>2]=c[e+20>>2];c[d+28>>2]=c[e+24>>2];c[d+32>>2]=c[e+28>>2];c[d+4>>2]=c[e>>2];c[d+8>>2]=c[e+4>>2];c[d+12>>2]=c[e+8>>2];c[d+16>>2]=c[e+12>>2];c[d+36>>2]=c[e+32>>2];c[d+40>>2]=c[e+36>>2];c[d+44>>2]=c[e+40>>2];c[d+48>>2]=c[e+44>>2];c[d+56>>2]=c[e+48>>2];a[d+60>>0]=(c[e+52>>2]|0)!=0&1;m=c[e+56>>2]|0;i=n;k=i+64|0;do{c[i>>2]=0;i=i+4|0}while((i|0)<(k|0));l=c[d+88>>2]|0;if((l|0)<(m|0)){if((c[d+92>>2]|0)<(m|0)){if(!m){f=0;h=l}else{c[7182]=(c[7182]|0)+1;f=xb(m<<6|19)|0;if(!f)f=0;else{c[(f+4+15&-16)+-4>>2]=f;f=f+4+15&-16}h=c[d+88>>2]|0}if((h|0)>0){g=0;do{i=f+(g<<6)|0;j=(c[d+96>>2]|0)+(g<<6)|0;k=i+64|0;do{c[i>>2]=c[j>>2];i=i+4|0;j=j+4|0}while((i|0)<(k|0));g=g+1|0}while((g|0)!=(h|0))}g=c[d+96>>2]|0;if(g|0){if(a[d+100>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[g+-4>>2]|0)}c[d+96>>2]=0}a[d+100>>0]=1;c[d+96>>2]=f;c[d+92>>2]=m;g=d+96|0}else g=d+96|0;f=l;do{i=(c[g>>2]|0)+(f<<6)|0;j=n;k=i+64|0;do{c[i>>2]=c[j>>2];i=i+4|0;j=j+4|0}while((i|0)<(k|0));f=f+1|0}while((f|0)!=(m|0))}c[d+88>>2]=m;if((m|0)>0){h=c[d+96>>2]|0;f=c[e+64>>2]|0;g=0;while(1){c[h+(g<<6)+16>>2]=c[f+16>>2];c[h+(g<<6)+20>>2]=c[f+20>>2];c[h+(g<<6)+24>>2]=c[f+24>>2];c[h+(g<<6)+28>>2]=c[f+28>>2];c[h+(g<<6)>>2]=c[f>>2];c[h+(g<<6)+4>>2]=c[f+4>>2];c[h+(g<<6)+8>>2]=c[f+8>>2];c[h+(g<<6)+12>>2]=c[f+12>>2];c[h+(g<<6)+32>>2]=c[f+32>>2];c[h+(g<<6)+36>>2]=c[f+36>>2];c[h+(g<<6)+40>>2]=c[f+40>>2];g=g+1|0;if((g|0)==(m|0))break;else f=f+48|0}}j=c[e+60>>2]|0;c[n>>2]=0;c[n+4>>2]=0;c[n+8>>2]=0;c[n+12>>2]=0;i=c[d+128>>2]|0;if((i|0)<(j|0)){if((c[d+132>>2]|0)<(j|0)){if(!j){f=0;h=i}else{c[7182]=(c[7182]|0)+1;f=xb((j<<4|3)+16|0)|0;if(!f)f=0;else{c[(f+4+15&-16)+-4>>2]=f;f=f+4+15&-16}h=c[d+128>>2]|0}if((h|0)>0){g=0;do{m=f+(g<<4)|0;l=(c[d+136>>2]|0)+(g<<4)|0;c[m>>2]=c[l>>2];c[m+4>>2]=c[l+4>>2];c[m+8>>2]=c[l+8>>2];c[m+12>>2]=c[l+12>>2];g=g+1|0}while((g|0)!=(h|0))}g=c[d+136>>2]|0;if(g|0){if(a[d+140>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[g+-4>>2]|0)}c[d+136>>2]=0}a[d+140>>0]=1;c[d+136>>2]=f;c[d+132>>2]=j;g=d+136|0}else g=d+136|0;f=i;do{m=(c[g>>2]|0)+(f<<4)|0;c[m>>2]=c[n>>2];c[m+4>>2]=c[n+4>>2];c[m+8>>2]=c[n+8>>2];c[m+12>>2]=c[n+12>>2];f=f+1|0}while((f|0)!=(j|0))}c[d+128>>2]=j;if((j|0)>0){h=c[d+136>>2]|0;f=0;g=c[e+68>>2]|0;while(1){c[h+(f<<4)+12>>2]=c[g+12>>2];b[h+(f<<4)+6>>1]=b[g+6>>1]|0;b[h+(f<<4)+8>>1]=b[g+8>>1]|0;b[h+(f<<4)+10>>1]=b[g+10>>1]|0;b[h+(f<<4)>>1]=b[g>>1]|0;b[h+(f<<4)+2>>1]=b[g+2>>1]|0;b[h+(f<<4)+4>>1]=b[g+4>>1]|0;f=f+1|0;if((f|0)==(j|0))break;else g=g+16|0}}c[d+144>>2]=c[e+76>>2];j=c[e+80>>2]|0;i=c[d+152>>2]|0;if((i|0)<(j|0)){if((c[d+156>>2]|0)<(j|0)){if(!j){f=0;h=i}else{c[7182]=(c[7182]|0)+1;f=xb(j<<5|19)|0;if(!f)f=0;else{c[(f+4+15&-16)+-4>>2]=f;f=f+4+15&-16}h=c[d+152>>2]|0}if((h|0)>0){g=0;do{m=f+(g<<5)|0;l=(c[d+160>>2]|0)+(g<<5)|0;c[m>>2]=c[l>>2];c[m+4>>2]=c[l+4>>2];c[m+8>>2]=c[l+8>>2];c[m+12>>2]=c[l+12>>2];c[m+16>>2]=c[l+16>>2];c[m+20>>2]=c[l+20>>2];c[m+24>>2]=c[l+24>>2];c[m+28>>2]=c[l+28>>2];g=g+1|0}while((g|0)!=(h|0))}g=c[d+160>>2]|0;if(g|0){if(a[d+164>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[g+-4>>2]|0)}c[d+160>>2]=0}a[d+164>>0]=1;c[d+160>>2]=f;c[d+156>>2]=j;g=d+160|0}else g=d+160|0;f=i;do{m=(c[g>>2]|0)+(f<<5)|0;c[m>>2]=c[n>>2];c[m+4>>2]=c[n+4>>2];c[m+8>>2]=c[n+8>>2];c[m+12>>2]=c[n+12>>2];c[m+16>>2]=c[n+16>>2];c[m+20>>2]=c[n+20>>2];c[m+24>>2]=c[n+24>>2];c[m+28>>2]=c[n+28>>2];f=f+1|0}while((f|0)!=(j|0))}c[d+152>>2]=j;if((j|0)<=0){sa=n;return}h=c[d+160>>2]|0;g=0;f=c[e+72>>2]|0;while(1){b[h+(g<<5)+6>>1]=b[f+14>>1]|0;b[h+(g<<5)+8>>1]=b[f+16>>1]|0;b[h+(g<<5)+10>>1]=b[f+18>>1]|0;b[h+(g<<5)>>1]=b[f+8>>1]|0;b[h+(g<<5)+2>>1]=b[f+10>>1]|0;b[h+(g<<5)+4>>1]=b[f+12>>1]|0;c[h+(g<<5)+12>>2]=c[f>>2];c[h+(g<<5)+16>>2]=c[f+4>>2];g=g+1|0;if((g|0)==(j|0))break;else f=f+20|0}sa=n;return}function Hc(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(!a)return;b=c[7205]|0;d=c[a+-4>>2]|0;j=a+-8+(d&-8)|0;do if(!(d&1)){e=c[a+-8>>2]|0;if(!(d&3))return;h=a+-8+(0-e)|0;g=e+(d&-8)|0;if(h>>>0>>0)return;if((c[7206]|0)==(h|0)){b=c[j+4>>2]|0;if((b&3|0)!=3){i=h;b=g;break}c[7203]=g;c[j+4>>2]=b&-2;c[h+4>>2]=g|1;c[h+g>>2]=g;return}d=3?e>>>3:e;if(e>>>0<256){b=c[h+8>>2]|0;a=c[h+12>>2]|0;if((a|0)==(b|0)){c[7201]=c[7201]&~(1<>2]=a;c[a+8>>2]=b;i=h;b=g;break}}f=c[h+24>>2]|0;b=c[h+12>>2]|0;do if((b|0)==(h|0)){b=c[h+16+4>>2]|0;if(!b){b=c[h+16>>2]|0;if(!b){b=0;break}else a=h+16|0}else a=h+16+4|0;while(1){e=b+20|0;d=c[e>>2]|0;if(!d){e=b+16|0;d=c[e>>2]|0;if(!d)break;else{b=d;a=e}}else{b=d;a=e}}c[a>>2]=0}else{i=c[h+8>>2]|0;c[i+12>>2]=b;c[b+8>>2]=i}while(0);if(f){a=c[h+28>>2]|0;if((c[29108+(a<<2)>>2]|0)==(h|0)){c[29108+(a<<2)>>2]=b;if(!b){c[7202]=c[7202]&~(1<>2]|0)==(h|0)?f+16|0:f+20|0)>>2]=b;if(!b){i=h;b=g;break}}c[b+24>>2]=f;a=c[h+16>>2]|0;if(a|0){c[b+16>>2]=a;c[a+24>>2]=b}a=c[h+16+4>>2]|0;if(a){c[b+20>>2]=a;c[a+24>>2]=b;i=h;b=g}else{i=h;b=g}}else{i=h;b=g}}else{i=a+-8|0;b=d&-8;h=a+-8|0}while(0);if(h>>>0>=j>>>0)return;a=c[j+4>>2]|0;if(!(a&1))return;if(!(a&2)){if((c[7207]|0)==(j|0)){j=(c[7204]|0)+b|0;c[7204]=j;c[7207]=i;c[i+4>>2]=j|1;if((i|0)!=(c[7206]|0))return;c[7206]=0;c[7203]=0;return}if((c[7206]|0)==(j|0)){j=(c[7203]|0)+b|0;c[7203]=j;c[7206]=h;c[i+4>>2]=j|1;c[h+j>>2]=j;return}f=(a&-8)+b|0;d=3?a>>>3:a;do if(a>>>0<256){a=c[j+8>>2]|0;b=c[j+12>>2]|0;if((b|0)==(a|0)){c[7201]=c[7201]&~(1<>2]=b;c[b+8>>2]=a;break}}else{g=c[j+24>>2]|0;b=c[j+12>>2]|0;do if((b|0)==(j|0)){b=c[j+16+4>>2]|0;if(!b){b=c[j+16>>2]|0;if(!b){a=0;break}else a=j+16|0}else a=j+16+4|0;while(1){e=b+20|0;d=c[e>>2]|0;if(!d){e=b+16|0;d=c[e>>2]|0;if(!d)break;else{b=d;a=e}}else{b=d;a=e}}c[a>>2]=0;a=b}else{a=c[j+8>>2]|0;c[a+12>>2]=b;c[b+8>>2]=a;a=b}while(0);if(g|0){b=c[j+28>>2]|0;if((c[29108+(b<<2)>>2]|0)==(j|0)){c[29108+(b<<2)>>2]=a;if(!a){c[7202]=c[7202]&~(1<>2]|0)==(j|0)?g+16|0:g+20|0)>>2]=a;if(!a)break}c[a+24>>2]=g;b=c[j+16>>2]|0;if(b|0){c[a+16>>2]=b;c[b+24>>2]=a}b=c[j+16+4>>2]|0;if(b|0){c[a+20>>2]=b;c[b+24>>2]=a}}}while(0);c[i+4>>2]=f|1;c[h+f>>2]=f;if((i|0)==(c[7206]|0)){c[7203]=f;return}}else{c[j+4>>2]=a&-2;c[i+4>>2]=b|1;c[h+b>>2]=b;f=b}d=3?f>>>3:f;if(f>>>0<256){b=c[7201]|0;if(!(b&1<>2]|0;a=28844+(d<<1<<2)+8|0}c[a>>2]=i;c[b+12>>2]=i;c[i+8>>2]=b;c[i+12>>2]=28844+(d<<1<<2);return}b=8?f>>>8:f;if(b)if(f>>>0>16777215)e=31;else{h=(16?(b+1048320|0)>>>16:b+1048320|0)&8;j=(16?((b<>>16:(b<>>16:(b<>>15:b<>>(e+7|0):f)&1|e<<1}else e=0;b=29108+(e<<2)|0;c[i+28>>2]=e;c[i+20>>2]=0;c[i+16>>2]=0;a=c[7202]|0;d=1<>2]=i;c[i+24>>2]=b;c[i+12>>2]=i;c[i+8>>2]=i}else{b=c[b>>2]|0;b:do if((c[b+4>>2]&-8|0)!=(f|0)){e=f<<((e|0)==31?0:25-(1?e>>>1:e)|0);while(1){d=b+16+((31?e>>>31:e)<<2)|0;a=c[d>>2]|0;if(!a)break;if((c[a+4>>2]&-8|0)==(f|0)){b=a;break b}else{e=e<<1;b=a}}c[d>>2]=i;c[i+24>>2]=b;c[i+12>>2]=i;c[i+8>>2]=i;break a}while(0);h=b+8|0;j=c[h>>2]|0;c[j+12>>2]=i;c[h>>2]=i;c[i+8>>2]=j;c[i+12>>2]=b;c[i+24>>2]=0}while(0);j=(c[7209]|0)+-1|0;c[7209]=j;if(j|0)return;b=29260;while(1){b=c[b>>2]|0;if(!b)break;else b=b+8|0}c[7209]=-1;return}function Ic(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D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|0)>=0)if(!j)break;else break a;else{c[h>>2]=v;c[h+4>>2]=k;c[h+8>>2]=o;c[h+8+4>>2]=n;c[h+16>>2]=l;i=C;break a}}while(0);j=(c[i+4>>2]|0)==(C|0);if((c[i>>2]|0)==(C|0))if(j){G=c[e+8>>2]|0;D=J(G,z)|0;u=c[e+4>>2]|0;D=D-(J(u,B)|0)|0;F=c[e>>2]|0;G=(J(F,B)|0)-(J(G,x)|0)|0;F=(J(u,x)|0)-(J(F,z)|0)|0;u=c[i+12>>2]|0;j=c[(c[C+8>>2]|0)+12>>2]|0;B=c[j+88>>2]|0;x=(c[u+88>>2]|0)-B|0;v=c[j+92>>2]|0;z=(c[u+92>>2]|0)-v|0;j=c[j+96>>2]|0;u=(c[u+96>>2]|0)-j|0;E=(J(A-j|0,z)|0)-(J(u,y-v|0)|0)|0;j=(J(u,w-B|0)|0)-(J(A-j|0,x)|0)|0;B=(J(y-v|0,x)|0)-(J(z,w-B|0)|0)|0;D=Vr(E|0,((E|0)<0)<<31>>31|0,D|0,((D|0)<0)<<31>>31|0)|0;E=Q()|0;G=Vr(j|0,((j|0)<0)<<31>>31|0,G|0,((G|0)<0)<<31>>31|0)|0;j=Q()|0;F=Vr(B|0,((B|0)<0)<<31>>31|0,F|0,((F|0)<0)<<31>>31|0)|0;F=xv(D|0,E|0,F|0,Q()|0)|0;j=xv(F|0,Q()|0,G|0,j|0)|0;G=Q()|0;j=(G|0)>0|(G|0)==0&j>>>0>0?2:1}else j=2;else j=j&1;i=(j|0)==2^b?i:C}while(0);j=c[d+8>>2]|0}C=c[C>>2]|0}while((C|0)!=(j|0));return i|0}function Jc(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0.0,u=0.0,v=0.0,w=0;q=sa;sa=sa+176|0;c[q+96>>2]=1;c[q+96+4>>2]=e;c[q+96+8>>2]=d;c[q+96+12>>2]=16;g[q+96+16>>2]=1.0000000474974513e-03;a[q+40+24>>0]=1;p=q+40+20|0;c[p>>2]=0;c[q+40+12>>2]=0;c[q+40+16>>2]=0;n=q+40+52|0;a[n>>0]=1;o=q+40+48|0;c[o>>2]=0;c[q+40+40>>2]=0;c[q+40+44>>2]=0;a[q+40>>0]=1;c[q+40+4>>2]=0;c[q+40+28>>2]=0;c[q+40+32>>2]=0;a[q+16>>0]=1;c[q+12>>2]=0;c[q+4>>2]=0;c[q+8>>2]=0;a[q+36>>0]=1;c[q+32>>2]=0;c[q+24>>2]=0;c[q+28>>2]=0;c[q+96+20>>2]=e;ob(q,q+96|0,q+40|0)|0;c[7182]=(c[7182]|0)+1;d=xb(1271)|0;if(!d)m=0;else{c[(d+4+15&-16)+-4>>2]=d;m=d+4+15&-16}Hb(m,b,c[q+40+4>>2]|0,c[p>>2]|0,0);if((c[q+40+28>>2]|0)>0){e=m+720|0;b=m+732|0;h=m+740|0;i=m+924|0;d=0;do{l=d*3|0;r=c[o>>2]|0;j=c[r+(l<<2)>>2]|0;k=c[r+(l+1<<2)>>2]|0;l=c[r+(l+2<<2)>>2]|0;if((j|0)<(k|0)){w=c[e>>2]|0;oh(m,0);r=(c[b>>2]|0)+-1|0;s=c[h>>2]|0;c[s+(r*52|0)+8>>2]=w+(j*104|0);c[s+(r*52|0)+12>>2]=w+(k*104|0);v=+g[w+(j*104|0)+8>>2]-+g[w+(k*104|0)+8>>2];u=+g[w+(j*104|0)+12>>2]-+g[w+(k*104|0)+12>>2];t=+g[w+(j*104|0)+16>>2]-+g[w+(k*104|0)+16>>2];g[s+(r*52|0)+16>>2]=+x(+(v*v+u*u+t*t));a[i>>0]=1}if((k|0)<(l|0)){r=c[e>>2]|0;oh(m,0);w=(c[b>>2]|0)+-1|0;s=c[h>>2]|0;c[s+(w*52|0)+8>>2]=r+(k*104|0);c[s+(w*52|0)+12>>2]=r+(l*104|0);t=+g[r+(k*104|0)+8>>2]-+g[r+(l*104|0)+8>>2];u=+g[r+(k*104|0)+12>>2]-+g[r+(l*104|0)+12>>2];v=+g[r+(k*104|0)+16>>2]-+g[r+(l*104|0)+16>>2];g[s+(w*52|0)+16>>2]=+x(+(t*t+u*u+v*v));a[i>>0]=1}if((l|0)<(j|0)){r=c[e>>2]|0;oh(m,0);w=(c[b>>2]|0)+-1|0;s=c[h>>2]|0;c[s+(w*52|0)+8>>2]=r+(l*104|0);c[s+(w*52|0)+12>>2]=r+(j*104|0);t=+g[r+(l*104|0)+8>>2]-+g[r+(j*104|0)+8>>2];u=+g[r+(l*104|0)+12>>2]-+g[r+(j*104|0)+12>>2];v=+g[r+(l*104|0)+16>>2]-+g[r+(j*104|0)+16>>2];g[s+(w*52|0)+16>>2]=+x(+(t*t+u*u+v*v));a[i>>0]=1}mf(m,j,k,l,0);d=d+1|0}while((d|0)<(c[q+40+28>>2]|0))}if(c[q+40+12>>2]|0){c[q+40+4>>2]=0;d=c[p>>2]|0;if(d|0){if(a[q+40+24>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[p>>2]=0}a[q+40+24>>0]=1;c[p>>2]=0;c[q+40+12>>2]=0;c[q+40+16>>2]=0}if(c[q+40+40>>2]|0){c[q+40+32>>2]=0;d=c[o>>2]|0;if(d|0){if(a[n>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[o>>2]=0}a[n>>0]=1;c[o>>2]=0;c[q+40+40>>2]=0;c[q+40+44>>2]=0}if(f){b=c[m+732>>2]|0;if((b|0)>0){h=m+740|0;d=243703;e=0;do{i=c[h>>2]|0;j=i+(e*52|0)|0;d=(J(d,1664525)|0)+1013904223|0;k=q+124|0;l=j;f=k+52|0;do{c[k>>2]=c[l>>2];k=k+4|0;l=l+4|0}while((k|0)<(f|0));k=j;l=i+(((d>>>0)%(b>>>0)|0)*52|0)|0;f=k+52|0;do{c[k>>2]=c[l>>2];k=k+4|0;l=l+4|0}while((k|0)<(f|0));k=i+(((d>>>0)%(b>>>0)|0)*52|0)|0;l=q+124|0;f=k+52|0;do{c[k>>2]=c[l>>2];k=k+4|0;l=l+4|0}while((k|0)<(f|0));e=e+1|0}while((e|0)!=(b|0))}else d=243703;i=c[m+752>>2]|0;if((i|0)>0){j=m+760|0;e=0;do{h=c[j>>2]|0;b=h+(e*44|0)|0;d=(J(d,1664525)|0)+1013904223|0;h=h+(((d>>>0)%(i>>>0)|0)*44|0)|0;k=q+124|0;l=b;f=k+44|0;do{c[k>>2]=c[l>>2];k=k+4|0;l=l+4|0}while((k|0)<(f|0));k=b;l=h;f=k+44|0;do{c[k>>2]=c[l>>2];k=k+4|0;l=l+4|0}while((k|0)<(f|0));k=h;l=q+124|0;f=k+44|0;do{c[k>>2]=c[l>>2];k=k+4|0;l=l+4|0}while((k|0)<(f|0));e=e+1|0}while((e|0)!=(i|0))}}d=c[q+32>>2]|0;if(d|0){if(a[q+36>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[q+32>>2]=0}a[q+36>>0]=1;c[q+32>>2]=0;c[q+24>>2]=0;c[q+28>>2]=0;d=c[q+12>>2]|0;if(d|0){if(a[q+16>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[q+12>>2]=0}d=c[o>>2]|0;if(d|0){if(a[n>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[o>>2]=0}a[n>>0]=1;c[o>>2]=0;c[q+40+40>>2]=0;c[q+40+44>>2]=0;d=c[p>>2]|0;if(!d){sa=q;return m|0}if(a[q+40+24>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[p>>2]=0;sa=q;return m|0} +function hi(){var b=0;b=fs(284)|0;c[b+164>>2]=1065353216;c[b+168>>2]=1065353216;c[b+172>>2]=1065353216;g[b+176>>2]=0.0;c[b+180>>2]=0;g[b+184>>2]=999999984306749440.0;c[b+188>>2]=0;c[b+188+4>>2]=0;c[b+188+8>>2]=0;c[b+188+12>>2]=0;c[b+204>>2]=1;c[b+208>>2]=-1;c[b+212>>2]=-1;c[b+216>>2]=1;g[b+220>>2]=0.0;g[b+224>>2]=.5;g[b+228>>2]=0.0;g[b+232>>2]=0.0;c[b+240>>2]=0;g[b+244>>2]=1.0;c[b+248>>2]=0;c[b+248+4>>2]=0;c[b+248+8>>2]=0;c[b+248+12>>2]=0;c[b+4>>2]=1065353216;c[b+8>>2]=0;c[b+8+4>>2]=0;c[b+8+8>>2]=0;c[b+8+12>>2]=0;c[b+24>>2]=1065353216;c[b+28>>2]=0;c[b+28+4>>2]=0;c[b+28+8>>2]=0;c[b+28+12>>2]=0;c[b+44>>2]=1065353216;c[b+48>>2]=0;c[b+48+4>>2]=0;c[b+48+8>>2]=0;c[b+48+12>>2]=0;c[b+48+16>>2]=0;c[b>>2]=7852;a[b+280>>0]=1;c[b+276>>2]=0;c[b+268>>2]=0;c[b+272>>2]=0;c[b+236>>2]=4;return b|0}function ii(b,d){b=b|0;d=d|0;var e=0,f=0,h=0,i=0.0,j=0.0,k=0,l=0;f=sa;sa=sa+48|0;if((c[b+136>>2]|0)<=0){sa=f;return}e=0;do{l=c[b+144>>2]|0;c[f+32>>2]=(a[l+(e*284|0)+84>>0]|0)==0?1065353216:0;c[f+32+4>>2]=0;c[f+32+8>>2]=1065353216;g[f+32+12>>2]=0.0;k=l+(e*284|0)+140|0;c[f+16>>2]=c[k>>2];c[f+16+4>>2]=c[k+4>>2];c[f+16+8>>2]=c[k+8>>2];c[f+16+12>>2]=c[k+12>>2];k=c[b+120>>2]|0;h=c[(c[d>>2]|0)+8>>2]|0;j=+g[l+(e*284|0)+108+(k<<2)>>2]+ +g[f+16+4>>2];i=+g[l+(e*284|0)+124+(k<<2)>>2]+ +g[f+16+8>>2];g[f>>2]=+g[l+(e*284|0)+92+(k<<2)>>2]+ +g[f+16>>2];g[f+4>>2]=j;g[f+8>>2]=i;g[f+12>>2]=0.0;ab[h&127](d,f+16|0,f,f+32|0);ab[c[(c[d>>2]|0)+8>>2]&127](d,f+16|0,(c[b+144>>2]|0)+(e*284|0)+16|0,f+32|0);e=e+1|0}while((e|0)<(c[b+136>>2]|0));sa=f;return}function ji(a,b,d,e){a=a|0;b=b|0;d=+d;e=e|0;switch(b|0){case 2:{if((e|0)<1){g[a+232>>2]=d;c[a+300>>2]=c[a+300>>2]|512;return}if((e|0)<3){g[a+264>>2]=d;c[a+300>>2]=c[a+300>>2]|32;return}if((e|0)==3){g[a+248>>2]=d;c[a+300>>2]=c[a+300>>2]|2048;return}if((e|0)>=6)return;g[a+280>>2]=d;c[a+300>>2]=c[a+300>>2]|128;return}case 3:{if((e|0)<1){g[a+212>>2]=d;c[a+300>>2]=c[a+300>>2]|1;return}if((e|0)!=3)return;g[a+228>>2]=d;c[a+300>>2]=c[a+300>>2]|4;return}case 4:{if((e|0)<1){g[a+244>>2]=d;c[a+300>>2]=c[a+300>>2]|256;return}if((e|0)<3){g[a+276>>2]=d;c[a+300>>2]=c[a+300>>2]|16;return}if((e|0)==3){g[a+260>>2]=d;c[a+300>>2]=c[a+300>>2]|1024;return}if((e|0)>=6)return;g[a+292>>2]=d;c[a+300>>2]=c[a+300>>2]|64;return}default:return}}function ki(a,b,d){a=a|0;b=+b;d=d|0;var e=0,f=0.0,h=0.0,i=0.0,j=0.0,k=0;e=sa;sa=sa+96|0;c[e+32>>2]=1065353216;c[e+32+4>>2]=0;c[e+32+4+4>>2]=0;c[e+32+4+8>>2]=0;c[e+32+4+12>>2]=0;c[e+32+20>>2]=1065353216;c[e+32+24>>2]=0;c[e+32+24+4>>2]=0;c[e+32+24+8>>2]=0;c[e+32+24+12>>2]=0;c[e+32+40>>2]=1065353216;k=e+32+44|0;c[k>>2]=0;c[k+4>>2]=0;c[k+8>>2]=0;c[k+12>>2]=0;c[k+16>>2]=0;ab[c[(c[a>>2]|0)+8>>2]&127](a,e+32|0,e+16|0,e);i=(+g[e>>2]-+g[e+16>>2])*.5;h=(+g[e+4>>2]-+g[e+16+4>>2])*.5;j=(+g[e+8>>2]-+g[e+16+8>>2])*.5;f=+va[c[(c[a>>2]|0)+48>>2]&15](a);g[d>>2]=b*.0833333283662796*((h+f)*2.0*(h+f)*2.0+(j+f)*2.0*(j+f)*2.0);g[d+4>>2]=b*.0833333283662796*((i+f)*2.0*(i+f)*2.0+(j+f)*2.0*(j+f)*2.0);g[d+8>>2]=b*.0833333283662796*((i+f)*2.0*(i+f)*2.0+(h+f)*2.0*(h+f)*2.0);g[d+12>>2]=0.0;sa=e;return}function li(b,d,e,f,h){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;var i=0,j=0,k=0,l=0,m=0.0,n=0.0,o=0.0;l=c[b+720>>2]|0;a:do if(h?(k=c[b+732>>2]|0,(k|0)>0):0){i=c[b+740>>2]|0;h=0;while(1){j=c[i+(h*52|0)+8>>2]|0;if((j|0)==(l+(d*104|0)|0)?(c[i+(h*52|0)+12>>2]|0)==(l+(e*104|0)|0):0){h=10;break}if((j|0)==(l+(e*104|0)|0)?(c[i+(h*52|0)+12>>2]|0)==(l+(d*104|0)|0):0){h=10;break}h=h+1|0;if((h|0)>=(k|0))break a}if((h|0)==10)return}while(0);oh(b,f);f=(c[b+732>>2]|0)+-1|0;k=c[b+740>>2]|0;c[k+(f*52|0)+8>>2]=l+(d*104|0);c[k+(f*52|0)+12>>2]=l+(e*104|0);o=+g[l+(d*104|0)+8>>2]-+g[l+(e*104|0)+8>>2];n=+g[l+(d*104|0)+12>>2]-+g[l+(e*104|0)+12>>2];m=+g[l+(d*104|0)+16>>2]-+g[l+(e*104|0)+16>>2];g[k+(f*52|0)+16>>2]=+x(+(o*o+n*n+m*m));a[b+924>>0]=1;return}function mi(){var b=0;b=vs()|0;c[b>>2]=1025;c[b+116>>2]=0;a[b+120>>0]=0;c[b+124>>2]=0;c[b+124+4>>2]=0;c[b+124+8>>2]=0;c[b+124+12>>2]=0;c[b+124+16>>2]=0;c[b+124+20>>2]=0;c[b+124+24>>2]=0;c[b+124+28>>2]=0;c[b+300>>2]=0;a[b+304>>0]=0;c[b+308>>2]=0;c[b+308+4>>2]=0;c[b+308+8>>2]=0;c[b+308+12>>2]=0;c[b+308+16>>2]=0;c[b+308+20>>2]=0;c[b+308+24>>2]=0;c[b+308+28>>2]=0;c[b+484>>2]=0;a[b+488>>0]=0;c[b+492>>2]=0;c[b+492+4>>2]=0;c[b+492+8>>2]=0;c[b+492+12>>2]=0;c[b+492+16>>2]=0;c[b+492+20>>2]=0;c[b+492+24>>2]=0;c[b+492+28>>2]=0;c[b+668>>2]=0;a[b+672>>0]=0;c[b+676>>2]=0;c[b+676+4>>2]=0;c[b+676+8>>2]=0;c[b+676+12>>2]=0;c[b+676+16>>2]=0;c[b+676+20>>2]=0;c[b+676+24>>2]=0;c[b+676+28>>2]=0;c[b+740>>2]=0;c[b+744>>2]=0;c[b+748>>2]=0;c[b+768>>2]=0;return b|0}function ni(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;c[a>>2]=6612;if((c[a+104>>2]|0)<=0){a=a+60|0;Ai(a);Bi(a);return}k=0;do{j=c[(c[a+4>>2]|0)+684>>2]|0;i=(c[a+112>>2]|0)+(k<<3)+4|0;b=c[i>>2]|0;d=c[j+60>>2]|0;if((d|0)>0){h=0;do{g=(c[j+68>>2]|0)+(h<<2)|0;e=c[g>>2]|0;if(e){f=0;while(1){d=e;e=c[e+280>>2]|0;if((c[d+276>>2]|0)==(b|0)){c[((f|0)==0?g:f+280|0)>>2]=e;GI(d);d=f}if(!e)break;else f=d}d=c[j+60>>2]|0}h=h+1|0}while((h|0)<(d|0));b=c[i>>2]|0}if(b|0)Pa[c[(c[b>>2]|0)+4>>2]&511](b);k=k+1|0}while((k|0)<(c[a+104>>2]|0));a=a+60|0;Ai(a);Bi(a);return}function oi(b,d,e){b=b|0;d=d|0;e=e|0;var f=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0;if(!(a[b+84>>0]|0)){c[b+32>>2]=c[b+204>>2];g[b+272>>2]=0.0;o=-+g[b+56>>2];p=-+g[b+60>>2];g[b>>2]=-+g[b+52>>2];g[b+4>>2]=o;g[b+8>>2]=p;g[b+12>>2]=0.0;p=1.0;d=b+268|0;g[d>>2]=p;return}p=+g[b>>2];f=+g[b+4>>2];h=+g[b+8>>2];i=p*+g[b+52>>2]+f*+g[b+56>>2]+h*+g[b+60>>2];j=+g[b+16>>2]-+g[d+52>>2];k=+g[b+20>>2]-+g[d+56>>2];l=+g[b+24>>2]-+g[d+60>>2];m=+g[d+332>>2];n=+g[d+336>>2];o=+g[d+328>>2];if(!(i>=-.10000000149011612)){g[b+272>>2]=-1.0/i*(p*(m*l-k*n+ +g[d+312>>2])+f*(j*n-l*o+ +g[d+316>>2])+h*(k*o-j*m+ +g[d+320>>2]));p=-1.0/i;d=b+268|0;g[d>>2]=p;return}else{g[b+272>>2]=0.0;p=10.0;d=b+268|0;g[d>>2]=p;return}}function pi(b,d){b=b|0;d=d|0;var e=0,f=0;if(a[b+1308>>0]|0){c[d>>2]=0;c[d+4>>2]=0;return}tc(b,(c[b+28>>2]|0)+4|0,(c[b+32>>2]|0)+4|0);c[d>>2]=0;c[d+4>>2]=6;if((c[b+856>>2]|0)==0?(a[b+788>>0]|0)==0:0){e=0;f=6}else{c[d>>2]=1;c[d+4>>2]=5;e=1;f=5}if(!((c[b+860>>2]|0)==0?(a[b+789>>0]|0)==0:0)){e=e+1|0;c[d>>2]=e;f=f+-1|0;c[d+4>>2]=f}if(!((c[b+864>>2]|0)==0?!(a[b+790>>0]|0):0)){c[d>>2]=e+1;c[d+4>>2]=f+-1}if(of(b,0)|0){c[d>>2]=(c[d>>2]|0)+1;c[d+4>>2]=(c[d+4>>2]|0)+-1}if(of(b,1)|0){c[d>>2]=(c[d>>2]|0)+1;c[d+4>>2]=(c[d+4>>2]|0)+-1}if(!(of(b,2)|0))return;c[d>>2]=(c[d>>2]|0)+1;c[d+4>>2]=(c[d+4>>2]|0)+-1;return}function qi(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;f=c[b+212>>2]|0;if((f|0)==(c[b+216>>2]|0)?(i=(f|0)==0?1:f<<1,(f|0)<(i|0)):0){if(!i)h=0;else{c[7182]=(c[7182]|0)+1;f=xb((i<<2|3)+16|0)|0;if(!f)f=0;else{c[(f+4+15&-16)+-4>>2]=f;f=f+4+15&-16}h=f;f=c[b+212>>2]|0}if((f|0)>0){g=0;do{c[h+(g<<2)>>2]=c[(c[b+220>>2]|0)+(g<<2)>>2];g=g+1|0}while((g|0)!=(f|0))}g=c[b+220>>2]|0;if(g){if(a[b+224>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[g+-4>>2]|0);f=c[b+212>>2]|0}c[b+220>>2]=0}a[b+224>>0]=1;c[b+220>>2]=h;c[b+216>>2]=i}c[(c[b+220>>2]|0)+(f<<2)>>2]=d;c[b+212>>2]=f+1;if(!e)return;Rh(c[d+28>>2]|0,d);Rh(c[d+32>>2]|0,d);return}function ri(a,b,c,d){a=a|0;b=b|0;c=c|0;d=+d;var e=0,f=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0;e=sa;sa=sa+96|0;j=+g[c>>2];k=+g[c+4>>2];l=+g[c+8>>2];Wp(e+80|0,j,k,l,+Xx(j,k,l,+g[b>>2],+g[b+4>>2],+g[b+8>>2]));l=+g[e+80>>2];k=+g[e+80+4>>2];j=+g[e+80+8>>2];sp(e+64|0,+g[b>>2],+g[b+4>>2],+g[b+8>>2],l,k,j);Co(e+48|0,+g[c>>2],+g[c+4>>2],+g[c+8>>2],+g[b>>2],+g[b+4>>2],+g[b+8>>2]);i=+g[e+48>>2];h=+g[e+48+4>>2];f=+g[e+48+8>>2];m=+zI(d);Wp(e+16|0,+g[e+64>>2],+g[e+64+4>>2],+g[e+64+8>>2],m);qp(e+32|0,l,k,j,+g[e+16>>2],+g[e+16+4>>2],+g[e+16+8>>2]);Wp(e,i,h,f,+yI(d));qp(a,+g[e+32>>2],+g[e+32+4>>2],+g[e+32+8>>2],+g[e>>2],+g[e+4>>2],+g[e+8>>2]);sa=e;return}function si(a,b,d,e,f,h,i,j,k,l){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0;m=sa;sa=sa+16|0;Ki(17206);+Da[c[(c[a>>2]|0)+44>>2]&3](a,b,d,e,f,h,i,j,k);+Da[c[(c[a>>2]|0)+48>>2]&3](a,b,d,e,f,h,i,j,k);+Aa[c[(c[a>>2]|0)+36>>2]&1](a,b,d,j);l=c[3084]|0;k=(c[l+16>>2]|0)+-1|0;c[l+16>>2]=k;if(k|0){sa=m;return 0.0}do if(c[l+4>>2]|0){la(m|0,0)|0;k=c[7181]|0;g[l+8>>2]=+g[l+8>>2]+ +(((c[m+4>>2]|0)-(c[k+4>>2]|0)+(((c[m>>2]|0)-(c[k>>2]|0)|0)*1e6|0)-(c[l+12>>2]|0)|0)>>>0)/1.0e3;if(!(c[l+16>>2]|0)){l=c[3084]|0;break}else{sa=m;return 0.0}}while(0);c[3084]=c[l+20>>2];sa=m;return 0.0}function ti(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0;e=c[a+4>>2]|0;if(e|0)Bk(e,b,d);a=c[a>>2]|0;if(!a)return;m=+g[b>>2];k=+g[a+128>>2];l=+g[b+4>>2];j=+g[b+8>>2];f=+g[d+4>>2];o=+g[d+8>>2];n=+g[d>>2];i=+g[a+180>>2]*(j*f-l*o)+ +g[a+184>>2]*(m*o-j*n)+(l*n-m*f)*+g[a+188>>2];h=(j*f-l*o)*+g[a+196>>2]+(m*o-j*n)*+g[a+200>>2]+(l*n-m*f)*+g[a+204>>2];f=(j*f-l*o)*+g[a+212>>2]+(m*o-j*n)*+g[a+216>>2]+(l*n-m*f)*+g[a+220>>2];g[a+276>>2]=m*k+ +g[a+276>>2];g[a+280>>2]=k*l+ +g[a+280>>2];g[a+284>>2]=k*j+ +g[a+284>>2];g[a+292>>2]=i+ +g[a+292>>2];g[a+296>>2]=h+ +g[a+296>>2];g[a+300>>2]=f+ +g[a+300>>2];c[a+312>>2]=(c[a+312>>2]|0)+1;return}function ui(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0.0,f=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0;v=+g[a+552>>2];u=+g[a+568>>2];t=+g[a+584>>2];s=+g[b>>2];r=+g[b+4>>2];q=+g[b+8>>2];o=+g[b+16>>2];n=+g[b+20>>2];m=+g[b+24>>2];k=+g[b+32>>2];i=+g[b+36>>2];f=+g[b+40>>2];j=+g[a+556>>2];h=+g[a+572>>2];e=+g[a+588>>2];x=+g[a+620>>2];w=+g[a+636>>2];d=+g[a+652>>2];p=x*+g[c>>2]+w*+g[c+4>>2]+d*+g[c+8>>2];l=x*+g[c+16>>2]+w*+g[c+20>>2]+d*+g[c+24>>2];d=x*+g[c+32>>2]+w*+g[c+36>>2]+d*+g[c+40>>2];d=+F(+((v*s+u*r+t*q)*p+(v*o+u*n+t*m)*l+(v*k+u*i+t*f)*d),+((s*j+r*h+q*e)*p+(o*j+n*h+m*e)*l+(k*j+i*h+f*e)*d));return +(d*+g[a+732>>2])}function vi(b){b=b|0;var d=0,e=0,f=0,h=0,i=0;i=sa;sa=sa+16|0;Ki(19302);d=c[b+8>>2]|0;if((d|0)>0){f=0;do{e=c[(c[b+16>>2]|0)+(f<<2)>>2]|0;if(!(a[b+76>>0]|0))switch(c[e+216>>2]|0){case 2:case 5:break;default:h=11}else h=11;if((h|0)==11){h=0;Me(b,e);d=c[b+8>>2]|0}f=f+1|0}while((f|0)<(d|0))}d=c[3084]|0;h=(c[d+16>>2]|0)+-1|0;c[d+16>>2]=h;if(h|0){sa=i;return}do if(c[d+4>>2]|0){la(i|0,0)|0;h=c[7181]|0;g[d+8>>2]=+g[d+8>>2]+ +(((c[i+4>>2]|0)-(c[h+4>>2]|0)+(((c[i>>2]|0)-(c[h>>2]|0)|0)*1e6|0)-(c[d+12>>2]|0)|0)>>>0)/1.0e3;if(!(c[d+16>>2]|0)){d=c[3084]|0;break}else{sa=i;return}}while(0);c[3084]=c[d+20>>2];sa=i;return}function wi(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;d=c[a+8>>2]|0;if((d|0)>0){f=0;do{e=c[(c[a+16>>2]|0)+(f<<2)>>2]|0;if(c[e+236>>2]&2){g=Fa[c[(c[e>>2]|0)+16>>2]&127](e)|0;g=Ja[c[(c[b>>2]|0)+16>>2]&63](b,g,1)|0;d=Ja[c[(c[e>>2]|0)+20>>2]&63](e,c[g+8>>2]|0,b)|0;eb[c[(c[b>>2]|0)+20>>2]&31](b,g,d,1497645650,e);d=c[a+8>>2]|0}f=f+1|0}while((f|0)<(d|0))}if((c[a+212>>2]|0)<=0)return;d=0;do{g=c[(c[a+220>>2]|0)+(d<<2)>>2]|0;e=Fa[c[(c[g>>2]|0)+36>>2]&127](g)|0;e=Ja[c[(c[b>>2]|0)+16>>2]&63](b,e,1)|0;f=Ja[c[(c[g>>2]|0)+40>>2]&63](g,c[e+8>>2]|0,b)|0;eb[c[(c[b>>2]|0)+20>>2]&31](b,e,f,1397641027,g);d=d+1|0}while((d|0)<(c[a+212>>2]|0));return}function xi(a){a=a|0;var b=0.0,d=0,e=0,f=0,h=0;e=sa;sa=sa+32|0;c[a+32>>2]=1566444395;c[a+36>>2]=1566444395;c[a+40>>2]=1566444395;g[a+44>>2]=0.0;c[a+48>>2]=-581039253;c[a+52>>2]=-581039253;c[a+56>>2]=-581039253;g[a+60>>2]=0.0;if((c[a+16>>2]|0)<=0){sa=e;return}d=0;do{f=c[a+24>>2]|0;h=c[f+(d*80|0)+64>>2]|0;ab[c[(c[h>>2]|0)+8>>2]&127](h,f+(d*80|0)|0,e+16|0,e);b=+g[e+16>>2];if(+g[a+32>>2]>b)g[a+32>>2]=b;b=+g[e>>2];if(+g[a+48>>2]>2]=b;b=+g[e+16+4>>2];if(+g[a+36>>2]>b)g[a+36>>2]=b;b=+g[e+4>>2];if(+g[a+52>>2]>2]=b;b=+g[e+16+8>>2];if(+g[a+40>>2]>b)g[a+40>>2]=b;b=+g[e+8>>2];if(+g[a+56>>2]>2]=b;d=d+1|0}while((d|0)<(c[a+16>>2]|0));sa=e;return}function yi(b,d){b=b|0;d=d|0;var e=0,f=0;a:do if((d|0)!=0&(b&3|0)!=0){e=d;while(1){if(!(a[b>>0]|0))break a;b=b+1|0;d=e+-1|0;if((d|0)!=0&(b&3|0)!=0)e=d;else{e=b;b=d;d=(d|0)!=0;f=5;break}}}else{e=b;b=d;d=(d|0)!=0;f=5}while(0);b:do if((f|0)==5){do if(d){if(!(a[e>>0]|0))if(!b)break;else{b=e;break b}c:do if(b>>>0>3)while(1){d=c[e>>2]|0;if((d&-2139062144^-2139062144)&d+-16843009|0)break c;e=e+4|0;b=b+-4|0;if(b>>>0<=3){f=11;break}}else f=11;while(0);if((f|0)==11)if(!b)break;while(1){if(!(a[e>>0]|0)){b=e;break b}b=b+-1|0;if(!b)break;else e=e+1|0}}while(0);b=0}while(0);return b|0}function zi(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0;i=sa;sa=sa+64|0;h=c[d>>2]|0;g=d+(c[h+-8>>2]|0)|0;h=c[h+-4>>2]|0;c[i>>2]=e;c[i+4>>2]=d;c[i+8>>2]=5192;d=RC(h,e)|0;e=i+12|0;f=e+40|0;do{c[e>>2]=0;e=e+4|0}while((e|0)<(f|0));b[i+12+40>>1]=0;a[i+12+42>>0]=0;a:do if(d){c[i+48>>2]=1;gb[c[(c[h>>2]|0)+20>>2]&7](h,i,g,g,1,0);d=(c[i+24>>2]|0)==1?g:0}else{eb[c[(c[h>>2]|0)+24>>2]&31](h,i,g,1,0);switch(c[i+36>>2]|0){case 0:{d=((c[i+40>>2]|0)==1?(c[i+28>>2]|0)==1:0)&(c[i+32>>2]|0)==1?c[i+20>>2]|0:0;break a}case 1:break;default:{d=0;break a}}if((c[i+24>>2]|0)!=1?!(((c[i+40>>2]|0)==0?(c[i+28>>2]|0)==1:0)&(c[i+32>>2]|0)==1):0){d=0;break}d=c[i+16>>2]|0}while(0);sa=i;return d|0}function Ai(b){b=b|0;var d=0;d=c[b+12>>2]|0;if(d|0){if(a[b+16>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+12>>2]=0}a[b+16>>0]=1;c[b+12>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;d=c[b+32>>2]|0;if(d|0){if(a[b+36>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+32>>2]=0}a[b+36>>0]=1;c[b+32>>2]=0;c[b+24>>2]=0;c[b+28>>2]=0;d=c[b+52>>2]|0;if(d|0){if(a[b+56>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+52>>2]=0}a[b+56>>0]=1;c[b+52>>2]=0;c[b+44>>2]=0;c[b+48>>2]=0;d=c[b+72>>2]|0;if(!d){a[b+76>>0]=1;c[b+72>>2]=0;c[b+64>>2]=0;b=b+68|0;c[b>>2]=0;return}if(a[b+76>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+72>>2]=0;a[b+76>>0]=1;c[b+72>>2]=0;c[b+64>>2]=0;b=b+68|0;c[b>>2]=0;return}function Bi(b){b=b|0;var d=0;d=c[b+72>>2]|0;if(d|0){if(a[b+76>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+72>>2]=0}a[b+76>>0]=1;c[b+72>>2]=0;c[b+64>>2]=0;c[b+68>>2]=0;d=c[b+52>>2]|0;if(d|0){if(a[b+56>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+52>>2]=0}a[b+56>>0]=1;c[b+52>>2]=0;c[b+44>>2]=0;c[b+48>>2]=0;d=c[b+32>>2]|0;if(d|0){if(a[b+36>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+32>>2]=0}a[b+36>>0]=1;c[b+32>>2]=0;c[b+24>>2]=0;c[b+28>>2]=0;d=c[b+12>>2]|0;if(!d){a[b+16>>0]=1;c[b+12>>2]=0;c[b+4>>2]=0;b=b+8|0;c[b>>2]=0;return}if(a[b+16>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+12>>2]=0;a[b+16>>0]=1;c[b+12>>2]=0;c[b+4>>2]=0;b=b+8|0;c[b>>2]=0;return}function Ci(a,b,d){a=a|0;b=+b;d=d|0;var e=0,f=0.0,h=0.0,i=0.0,j=0;e=sa;sa=sa+96|0;i=+va[c[(c[a>>2]|0)+48>>2]&15](a);c[e+32>>2]=1065353216;c[e+32+4>>2]=0;c[e+32+4+4>>2]=0;c[e+32+4+8>>2]=0;c[e+32+4+12>>2]=0;c[e+32+20>>2]=1065353216;c[e+32+24>>2]=0;c[e+32+24+4>>2]=0;c[e+32+24+8>>2]=0;c[e+32+24+12>>2]=0;c[e+32+40>>2]=1065353216;j=e+32+44|0;c[j>>2]=0;c[j+4>>2]=0;c[j+8>>2]=0;c[j+12>>2]=0;c[j+16>>2]=0;ab[c[(c[a>>2]|0)+8>>2]&127](a,e+32|0,e+16|0,e);h=(i+(+g[e>>2]-+g[e+16>>2])*.5)*2.0;f=(i+(+g[e+4>>2]-+g[e+16+4>>2])*.5)*2.0;i=(i+(+g[e+8>>2]-+g[e+16+8>>2])*.5)*2.0;g[d>>2]=b*.0833333283662796*(f*f+i*i);g[d+4>>2]=b*.0833333283662796*(h*h+i*i);g[d+8>>2]=b*.0833333283662796*(h*h+f*f);g[d+12>>2]=0.0;sa=e;return}function Di(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=c[b+12>>2]|0;if(!e)return;if(!(a[b+8>>0]|0))return;f=c[d+4>>2]|0;if((f|0)==(c[d+8>>2]|0)?(h=(f|0)==0?1:f<<1,(f|0)<(h|0)):0){if(!h)e=0;else{c[7182]=(c[7182]|0)+1;e=xb((h<<2|3)+16|0)|0;if(!e)e=0;else{c[(e+4+15&-16)+-4>>2]=e;e=e+4+15&-16}f=c[d+4>>2]|0}if((f|0)>0){g=0;do{c[e+(g<<2)>>2]=c[(c[d+12>>2]|0)+(g<<2)>>2];g=g+1|0}while((g|0)!=(f|0))}g=c[d+12>>2]|0;if(g){if(a[d+16>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[g+-4>>2]|0);f=c[d+4>>2]|0}c[d+12>>2]=0}a[d+16>>0]=1;c[d+12>>2]=e;c[d+8>>2]=h;e=c[b+12>>2]|0}c[(c[d+12>>2]|0)+(f<<2)>>2]=e;c[d+4>>2]=f+1;return}function Ei(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;g=c[b+328>>2]|0;if((g|0)==(c[b+332>>2]|0)?(j=(g|0)==0?1:g<<1,(g|0)<(j|0)):0){if(!j)i=0;else{c[7182]=(c[7182]|0)+1;g=xb((j<<2|3)+16|0)|0;if(!g)g=0;else{c[(g+4+15&-16)+-4>>2]=g;g=g+4+15&-16}i=g;g=c[b+328>>2]|0}if((g|0)>0){h=0;do{c[i+(h<<2)>>2]=c[(c[b+336>>2]|0)+(h<<2)>>2];h=h+1|0}while((h|0)!=(g|0))}h=c[b+336>>2]|0;if(h){if(a[b+340>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[h+-4>>2]|0);g=c[b+328>>2]|0}c[b+336>>2]=0}a[b+340>>0]=1;c[b+336>>2]=i;c[b+332>>2]=j}c[(c[b+336>>2]|0)+(g<<2)>>2]=d;c[b+328>>2]=g+1;c[d+284>>2]=c[b+452>>2];$f(b,d,e,f);return}function Fi(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=c[b+20>>2]|0;if(!e)return;if(!(a[b+16>>0]|0))return;f=c[d+4>>2]|0;if((f|0)==(c[d+8>>2]|0)?(h=(f|0)==0?1:f<<1,(f|0)<(h|0)):0){if(!h)e=0;else{c[7182]=(c[7182]|0)+1;e=xb((h<<2|3)+16|0)|0;if(!e)e=0;else{c[(e+4+15&-16)+-4>>2]=e;e=e+4+15&-16}f=c[d+4>>2]|0}if((f|0)>0){g=0;do{c[e+(g<<2)>>2]=c[(c[d+12>>2]|0)+(g<<2)>>2];g=g+1|0}while((g|0)!=(f|0))}g=c[d+12>>2]|0;if(g){if(a[d+16>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[g+-4>>2]|0);f=c[d+4>>2]|0}c[d+12>>2]=0}a[d+16>>0]=1;c[d+12>>2]=e;c[d+8>>2]=h;e=c[b+20>>2]|0}c[(c[d+12>>2]|0)+(f<<2)>>2]=e;c[d+4>>2]=f+1;return}function Gi(a,b){a=a|0;b=+b;var d=0,e=0,f=0,h=0.0,i=0.0,j=0.0,k=0,l=0,m=0,n=0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0;e=c[a+732>>2]|0;if((e|0)<=0)return;d=c[a+740>>2]|0;a=0;do{n=c[d+(a*52|0)+8>>2]|0;f=c[d+(a*52|0)+12>>2]|0;s=+g[n+40>>2];q=+g[n+44>>2];o=+g[n+48>>2];k=d+(a*52|0)+36|0;r=+g[k>>2];m=d+(a*52|0)+40|0;p=+g[m>>2];l=d+(a*52|0)+44|0;h=+g[l>>2];j=-(+g[d+(a*52|0)+32>>2]*((s-+g[f+40>>2])*r+(q-+g[f+44>>2])*p+(o-+g[f+48>>2])*h)*b);i=+g[n+88>>2]*j;g[n+40>>2]=s+r*i;g[n+44>>2]=q+p*i;g[n+48>>2]=o+h*i;j=+g[f+88>>2]*j;i=j*+g[m>>2];h=j*+g[l>>2];g[f+40>>2]=+g[f+40>>2]-+g[k>>2]*j;g[f+44>>2]=+g[f+44>>2]-i;g[f+48>>2]=+g[f+48>>2]-h;a=a+1|0}while((a|0)!=(e|0));return}function Hi(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0.0,h=0.0,i=0.0,j=0.0,k=0.0;k=+g[a+24>>2];i=+g[a+28>>2];j=+g[a+32>>2];f=k*+g[b>>2]+i*+g[b+4>>2]+j*+g[b+8>>2];h=+g[a+20>>2];if(f>h){g[a+20>>2]=f;c[a+4>>2]=c[b>>2];c[a+4+4>>2]=c[b+4>>2];c[a+4+8>>2]=c[b+8>>2];c[a+4+12>>2]=c[b+12>>2]}else f=h;h=k*+g[b+16>>2]+i*+g[b+20>>2]+j*+g[b+24>>2];if(h>f){g[a+20>>2]=h;c[a+4>>2]=c[b+16>>2];c[a+4+4>>2]=c[b+16+4>>2];c[a+4+8>>2]=c[b+16+8>>2];c[a+4+12>>2]=c[b+16+12>>2]}else h=f;f=k*+g[b+32>>2]+i*+g[b+36>>2]+j*+g[b+40>>2];if(!(f>h))return;g[a+20>>2]=f;c[a+4>>2]=c[b+32>>2];c[a+4+4>>2]=c[b+32+4>>2];c[a+4+8>>2]=c[b+32+8>>2];c[a+4+12>>2]=c[b+32+12>>2];return}function Ii(b){b=b|0;var d=0;d=Gs()|0;c[d+8>>2]=0;c[d>>2]=9100;a[d+28>>0]=1;c[d+24>>2]=0;c[d+16>>2]=0;c[d+20>>2]=0;c[d+32>>2]=1566444395;c[d+36>>2]=1566444395;c[d+40>>2]=1566444395;g[d+44>>2]=0.0;c[d+48>>2]=-581039253;c[d+52>>2]=-581039253;c[d+56>>2]=-581039253;g[d+60>>2]=0.0;c[d+64>>2]=0;c[d+68>>2]=1;g[d+72>>2]=0.0;c[d+76>>2]=1065353216;c[d+80>>2]=1065353216;c[d+84>>2]=1065353216;g[d+88>>2]=0.0;c[d+4>>2]=31;if(!b)return d|0;c[7182]=(c[7182]|0)+1;b=xb(79)|0;if(!b)b=0;else{c[(b+4+15&-16)+-4>>2]=b;b=b+4+15&-16}a[b+36>>0]=1;c[b+32>>2]=0;c[b+24>>2]=0;c[b+28>>2]=0;a[b+56>>0]=1;c[b+52>>2]=0;c[b+44>>2]=0;c[b+48>>2]=0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=-1;c[b+12>>2]=0;c[b+16>>2]=0;c[d+64>>2]=b;return d|0}function Ji(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0.0,h=0.0,i=0.0,j=0.0,k=0.0;k=+g[a+88>>2];i=+g[a+92>>2];j=+g[a+96>>2];f=k*+g[b>>2]+i*+g[b+4>>2]+j*+g[b+8>>2];h=+g[a+84>>2];if(f>h){g[a+84>>2]=f;c[a+4>>2]=c[b>>2];c[a+4+4>>2]=c[b+4>>2];c[a+4+8>>2]=c[b+8>>2];c[a+4+12>>2]=c[b+12>>2]}else f=h;h=k*+g[b+16>>2]+i*+g[b+20>>2]+j*+g[b+24>>2];if(h>f){g[a+84>>2]=h;c[a+4>>2]=c[b+16>>2];c[a+4+4>>2]=c[b+16+4>>2];c[a+4+8>>2]=c[b+16+8>>2];c[a+4+12>>2]=c[b+16+12>>2]}else h=f;f=k*+g[b+32>>2]+i*+g[b+36>>2]+j*+g[b+40>>2];if(!(f>h))return;g[a+84>>2]=f;c[a+4>>2]=c[b+32>>2];c[a+4+4>>2]=c[b+32+4>>2];c[a+4+8>>2]=c[b+32+8>>2];c[a+4+12>>2]=c[b+32+12>>2];return}function Ki(a){a=a|0;var b=0,d=0,e=0,f=0;f=sa;sa=sa+16|0;d=c[3084]|0;if((c[d>>2]|0)==(a|0))b=d;else{b=c[d+24>>2]|0;a:do if(!b)e=6;else while(1){if((c[b>>2]|0)==(a|0))break a;b=c[b+28>>2]|0;if(!b){e=6;break}}while(0);if((e|0)==6){b=Nr(36)|0;c[b>>2]=a;c[b+4>>2]=0;c[b+4+4>>2]=0;c[b+4+8>>2]=0;c[b+4+12>>2]=0;c[b+20>>2]=d;c[b+24>>2]=0;c[b+28>>2]=0;c[b+32>>2]=0;er(b);c[b+28>>2]=c[d+24>>2];c[d+24>>2]=b}c[3084]=b}d=b+4|0;c[d>>2]=(c[d>>2]|0)+1;d=b+16|0;e=c[d>>2]|0;c[d>>2]=e+1;if(e|0){sa=f;return}la(f|0,0)|0;e=c[7181]|0;c[b+12>>2]=(c[f+4>>2]|0)-(c[e+4>>2]|0)+(((c[f>>2]|0)-(c[e>>2]|0)|0)*1e6|0);sa=f;return}function Li(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0;h=+va[c[(c[a>>2]|0)+48>>2]&15](a);l=h+ +g[a+28>>2];j=h+ +g[a+32>>2];h=h+ +g[a+36>>2];u=+w(+(+g[b>>2]));t=+w(+(+g[b+4>>2]));s=+w(+(+g[b+8>>2]));q=+w(+(+g[b+16>>2]));p=+w(+(+g[b+20>>2]));o=+w(+(+g[b+24>>2]));k=+w(+(+g[b+32>>2]));i=+w(+(+g[b+36>>2]));f=+w(+(+g[b+40>>2]));r=+g[b+48>>2];n=+g[b+52>>2];m=+g[b+56>>2];g[d>>2]=r-(l*u+j*t+h*s);g[d+4>>2]=n-(l*q+j*p+h*o);g[d+8>>2]=m-(l*k+j*i+h*f);g[d+12>>2]=0.0;g[e>>2]=l*u+j*t+h*s+r;g[e+4>>2]=l*q+j*p+h*o+n;g[e+8>>2]=m+(l*k+j*i+h*f);g[e+12>>2]=0.0;return}function Mi(b){b=b|0;var d=0;c[b>>2]=11492;if(c[b+108>>2]|0){d=c[b+112>>2]|0;Pa[c[c[d>>2]>>2]&511](d);d=c[b+112>>2]|0;if(d|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}d=c[b+108>>2]|0;Pa[c[c[d>>2]>>2]&511](d);d=c[b+108>>2]|0;if(d|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}}d=c[b+88>>2]|0;if(d|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}d=c[b+84>>2]|0;if(d|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}d=c[b+80>>2]|0;if(d|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}d=c[b+60>>2]|0;if(d|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}if(!(a[b+100>>0]|0))return;d=c[b+92>>2]|0;Pa[c[c[d>>2]>>2]&511](d);d=c[b+92>>2]|0;if(!d)return;c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0);return}function Ni(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=c[b+76>>2]|0;if(!e)return;f=c[d+4>>2]|0;if((f|0)==(c[d+8>>2]|0)?(h=(f|0)==0?1:f<<1,(f|0)<(h|0)):0){if(!h)e=0;else{c[7182]=(c[7182]|0)+1;e=xb((h<<2|3)+16|0)|0;if(!e)e=0;else{c[(e+4+15&-16)+-4>>2]=e;e=e+4+15&-16}f=c[d+4>>2]|0}if((f|0)>0){g=0;do{c[e+(g<<2)>>2]=c[(c[d+12>>2]|0)+(g<<2)>>2];g=g+1|0}while((g|0)!=(f|0))}g=c[d+12>>2]|0;if(g){if(a[d+16>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[g+-4>>2]|0);f=c[d+4>>2]|0}c[d+12>>2]=0}a[d+16>>0]=1;c[d+12>>2]=e;c[d+8>>2]=h;e=c[b+76>>2]|0}c[(c[d+12>>2]|0)+(f<<2)>>2]=e;c[d+4>>2]=f+1;return}function Oi(b){b=b|0;var d=0,e=0,f=0,h=0.0;e=sa;sa=sa+96|0;a[b+88>>0]=1;if((a[26736]|0)==0?mz(26736)|0:0){c[6364]=1065353216;c[6365]=0;c[6366]=0;c[6367]=0;c[6368]=0;c[6369]=1065353216;c[6370]=0;c[6371]=0;c[6372]=0;c[6373]=0;c[6374]=1065353216;g[6375]=0.0;c[6376]=-1082130432;c[6377]=0;c[6378]=0;c[6379]=0;c[6380]=0;c[6381]=-1082130432;c[6382]=0;c[6383]=0;c[6384]=0;c[6385]=0;c[6386]=-1082130432;g[6387]=0.0}d=e;f=d+96|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(f|0));ab[c[(c[b>>2]|0)+76>>2]&127](b,25456,e,6);h=+g[b+44>>2];g[b+72>>2]=+g[e>>2]+h;g[b+56>>2]=+g[e+48>>2]-h;g[b+76>>2]=+g[e+20>>2]+h;g[b+60>>2]=+g[e+68>>2]-h;g[b+80>>2]=+g[e+40>>2]+h;g[b+64>>2]=+g[e+88>>2]-h;sa=e;return}function Pi(a,b,d){a=a|0;b=+b;d=+d;var e=0,f=0,h=0,i=0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0;f=c[a+732>>2]|0;if((f|0)<=0)return;e=c[a+740>>2]|0;a=0;do{d=+g[e+(a*52|0)+24>>2];if(d>0.0?(h=c[e+(a*52|0)+8>>2]|0,i=c[e+(a*52|0)+12>>2]|0,j=+g[h+8>>2],k=+g[i+8>>2]-j,l=+g[h+12>>2],m=+g[i+12>>2]-l,n=+g[h+16>>2],o=+g[i+16>>2]-n,p=+g[e+(a*52|0)+28>>2],p+(k*k+m*m+o*o)>1.1920928955078125e-07):0){d=(p-(k*k+m*m+o*o))/(d*(p+(k*k+m*m+o*o)))*b;q=d*+g[h+88>>2];g[h+8>>2]=j-k*q;g[h+12>>2]=l-m*q;g[h+16>>2]=n-o*q;d=d*+g[i+88>>2];g[i+8>>2]=+g[i+8>>2]+k*d;g[i+12>>2]=m*d+ +g[i+12>>2];g[i+16>>2]=o*d+ +g[i+16>>2]}a=a+1|0}while((a|0)!=(f|0));return}function Qi(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;while(1){j=c[a+12>>2]|0;l=c[j+(((b+d|0)/2|0)<<3)>>2]|0;f=d;e=b;while(1){while(1){i=j+(e<<3)|0;k=e+1|0;if((c[i>>2]|0)<(l|0))e=k;else break}while(1){g=j+(f<<3)|0;h=f+-1|0;if((c[g>>2]|0)>(l|0))f=h;else break}if((e|0)<=(f|0)){j=c[i>>2]|0;e=c[i+4>>2]|0;m=c[g+4>>2]|0;c[i>>2]=c[g>>2];c[i+4>>2]=m;f=(c[a+12>>2]|0)+(f<<3)|0;c[f>>2]=j;c[f+4>>2]=e;f=h;e=k}if((e|0)>(f|0))break;j=c[a+12>>2]|0}if((f|0)>(b|0))Qi(a,b,f);if((e|0)<(d|0))b=e;else break}return}function Ri(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0;e=sa;sa=sa+96|0;c[e+32>>2]=1065353216;c[e+32+4>>2]=0;c[e+32+4+4>>2]=0;c[e+32+4+8>>2]=0;c[e+32+4+12>>2]=0;c[e+32+20>>2]=1065353216;c[e+32+24>>2]=0;c[e+32+24+4>>2]=0;c[e+32+24+8>>2]=0;c[e+32+24+12>>2]=0;c[e+32+40>>2]=1065353216;m=e+32+44|0;c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=0;c[m+12>>2]=0;c[m+16>>2]=0;ab[c[(c[a>>2]|0)+8>>2]&127](a,e+32|0,e+16|0,e);l=+g[e>>2];k=+g[e+16>>2];j=+g[e+4>>2];i=+g[e+16+4>>2];h=+g[e+8>>2];f=+g[e+16+8>>2];g[d>>2]=+x(+((l-k)*(l-k)+(j-i)*(j-i)+(h-f)*(h-f)))*.5;g[b>>2]=(l+k)*.5;g[b+4>>2]=(j+i)*.5;g[b+8>>2]=(h+f)*.5;g[b+12>>2]=0.0;sa=e;return}function Si(){var b=0,d=0;d=Gs()|0;c[d+8>>2]=0;c[d>>2]=9100;a[d+28>>0]=1;c[d+24>>2]=0;c[d+16>>2]=0;c[d+20>>2]=0;c[d+32>>2]=1566444395;c[d+36>>2]=1566444395;c[d+40>>2]=1566444395;g[d+44>>2]=0.0;c[d+48>>2]=-581039253;c[d+52>>2]=-581039253;c[d+56>>2]=-581039253;g[d+60>>2]=0.0;c[d+64>>2]=0;c[d+68>>2]=1;g[d+72>>2]=0.0;c[d+76>>2]=1065353216;c[d+80>>2]=1065353216;c[d+84>>2]=1065353216;g[d+88>>2]=0.0;c[d+4>>2]=31;c[7182]=(c[7182]|0)+1;b=xb(79)|0;if(!b)b=0;else{c[(b+4+15&-16)+-4>>2]=b;b=b+4+15&-16}a[b+36>>0]=1;c[b+32>>2]=0;c[b+24>>2]=0;c[b+28>>2]=0;a[b+56>>0]=1;c[b+52>>2]=0;c[b+44>>2]=0;c[b+48>>2]=0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=-1;c[b+12>>2]=0;c[b+16>>2]=0;c[d+64>>2]=b;return d|0}function Ti(a,d,f,h){a=a|0;d=d|0;f=f|0;h=h|0;var i=0,j=0,k=0,l=0,m=0;i=c[a+108>>2]|0;if(i|0){ab[c[(c[i>>2]|0)+28>>2]&127](i,d,f,h);return}i=b[a+56>>1]|0;if(!(i<<16>>16))return;m=1;k=1;do{j=c[a+68>>2]|0;if(b[j+(k<<2)>>1]&1){l=c[a+60>>2]|0;k=e[j+(k<<2)+2>>1]|0;if(!(+g[d>>2]>+g[l+(k<<6)+32>>2])?!(+g[f>>2]<+g[l+(k<<6)+16>>2]):0)j=1;else j=0;if(!(!(+g[d+8>>2]>+g[l+(k<<6)+40>>2])?!(+g[f+8>>2]<+g[l+(k<<6)+24>>2]):0))j=0;if(!(+g[d+4>>2]>+g[l+(k<<6)+36>>2])?!(+g[f+4>>2]<+g[l+(k<<6)+20>>2]|j^1):0){Ha[c[(c[h>>2]|0)+8>>2]&31](h,l+(k<<6)|0)|0;i=b[a+56>>1]|0}}m=m+1<<16>>16;k=m&65535}while(((i&65535)<<1|1)>>>0>k>>>0);return}function Ui(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0.0,h=0.0,i=0.0,j=0.0,k=0;h=+g[b>>2];i=+g[b+16>>2];j=h>2];if((j+g[a+24>>2])return;k=h>i?b:b+16|0;if(+g[(+g[k>>2]>f?k:b+32|0)>>2]<+g[a+8>>2])return;f=+g[b+8>>2];h=+g[b+24>>2];j=f>2];if((j+g[a+32>>2])return;k=f>h?b+8|0:b+24|0;if(+g[(+g[k>>2]>i?k:b+40|0)>>2]<+g[a+16>>2])return;f=+g[b+4>>2];h=+g[b+20>>2];j=f>2];if((j+g[a+28>>2])return;k=f>h?b+4|0:b+20|0;if(+g[(+g[k>>2]>i?k:b+36|0)>>2]<+g[a+12>>2])return;k=c[a+4>>2]|0;ab[c[(c[k>>2]|0)+8>>2]&127](k,b,d,e);return}function Vi(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,h=0.0,i=0;f=sa;sa=sa+16|0;c[a+4>>2]=c[b+24>>2];e=c[b>>2]|0;c[a+8>>2]=e;if(d){c[a+52>>2]=c[b+8>>2];c[a+52+4>>2]=c[b+8+4>>2];c[a+52+8>>2]=c[b+8+8>>2];c[a+52+12>>2]=c[b+8+12>>2];i=a+68|0;d=a+20|0;e=a+36|0;h=+g[b+24>>2];pp(i,d,e,h);h=+g[b+24>>2];sa=f;return +h}else{d=JI(oI(e)|0)|0;vl(f,d,+g[b+8>>2],+g[b+12>>2],+g[b+16>>2]);c[a+52>>2]=c[f>>2];c[a+52+4>>2]=c[f+4>>2];c[a+52+8>>2]=c[f+8>>2];c[a+52+12>>2]=c[f+12>>2];d=a+68|0;e=a+20|0;i=a+36|0;h=+g[b+24>>2];pp(d,e,i,h);h=+g[b+24>>2];sa=f;return +h}return 0.0}function Wi(b,d,e,f){b=b|0;d=d|0;e=e|0;f=+f;var h=0,i=0.0,j=0.0,k=0.0;h=sa;sa=sa+16|0;g[b+32>>2]=f;c[b+8>>2]=c[d>>2];c[b+8+4>>2]=c[d+4>>2];c[b+8+8>>2]=c[d+8>>2];c[b+8+12>>2]=c[d+12>>2];i=+g[b+28>>2];k=+g[e+4>>2]-i*+g[d+4>>2];j=+g[e+8>>2]-i*+g[d+8>>2];g[h>>2]=+g[e>>2]-+g[d>>2]*i;g[h+4>>2]=k;g[h+8>>2]=j;g[h+12>>2]=0.0;f=i+ +g[b+24>>2]+f;g[b+32>>2]=f;if(!(f<0.0)){b=b+4|0;b=c[b>>2]|0;e=c[b>>2]|0;e=e+16|0;e=c[e>>2]|0;_a[e&15](b,d,h,f);sa=h;return}a[b+36>>0]=1;b=b+4|0;b=c[b>>2]|0;e=c[b>>2]|0;e=e+16|0;e=c[e>>2]|0;_a[e&15](b,d,h,f);sa=h;return}function Xi(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;c[b>>2]=9036;d=c[b+8>>2]|0;g=c[d+8>>2]|0;if((g|0)>0){e=0;do{f=c[(c[d+16>>2]|0)+(e*12|0)+8>>2]|0;if(f|0){Pa[c[c[f>>2]>>2]&511](f);h=c[b+4>>2]|0;Va[c[(c[h>>2]|0)+60>>2]&127](h,f)}e=e+1|0}while((e|0)!=(g|0));d=c[b+8>>2]|0}gh(d);d=c[b+8>>2]|0;Pa[c[c[d>>2]>>2]&511](d);d=c[b+8>>2]|0;if(d|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}d=c[b+24>>2]|0;if(!d){a[b+28>>0]=1;c[b+24>>2]=0;c[b+16>>2]=0;h=b+20|0;c[h>>2]=0;return}if(a[b+28>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+24>>2]=0;a[b+28>>0]=1;c[b+24>>2]=0;c[b+16>>2]=0;h=b+20|0;c[h>>2]=0;return}function Yi(b,d){b=b|0;d=d|0;c[b+204>>2]=c[d+48>>2];c[b+208>>2]=c[d+52>>2];c[b+212>>2]=c[d+56>>2];c[b+216>>2]=c[d+60>>2];c[b+220>>2]=c[d+64>>2];c[b+224>>2]=c[d+68>>2];c[b+156>>2]=c[d>>2];c[b+156+4>>2]=c[d+4>>2];c[b+156+8>>2]=c[d+8>>2];c[b+156+12>>2]=c[d+12>>2];c[b+172>>2]=c[d+16>>2];c[b+172+4>>2]=c[d+16+4>>2];c[b+172+8>>2]=c[d+16+8>>2];c[b+172+12>>2]=c[d+16+12>>2];c[b+188>>2]=c[d+32>>2];c[b+188+4>>2]=c[d+32+4>>2];c[b+188+8>>2]=c[d+32+8>>2];c[b+188+12>>2]=c[d+32+12>>2];c[b+228>>2]=c[d+72>>2];g[b+232>>2]=0.0;g[b+252>>2]=0.0;g[b+236>>2]=0.0;g[b+240>>2]=0.0;g[b+256>>2]=0.0;g[b+244>>2]=.10000000149011612;a[b+260>>0]=a[d+80>>0]&1;c[b+248>>2]=c[d+76>>2];return}function Zi(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;h=sa;sa=sa+224|0;f=h+160|0;g=f+40|0;do{c[f>>2]=0;f=f+4|0}while((f|0)<(g|0));c[h+208>>2]=c[e>>2];if((bc(0,d,h+208|0,h+80|0,h+160|0)|0)<0)e=-1;else{g=c[b>>2]|0;if((a[b+74>>0]|0)<1)c[b>>2]=g&-33;if(!(c[b+48>>2]|0)){f=c[b+44>>2]|0;c[b+44>>2]=h;c[b+28>>2]=h;c[b+20>>2]=h;c[b+48>>2]=80;c[b+16>>2]=h+80;e=bc(b,d,h+208|0,h+80|0,h+160|0)|0;if(f){Ja[c[b+36>>2]&63](b,0,0)|0;e=(c[b+20>>2]|0)==0?-1:e;c[b+44>>2]=f;c[b+48>>2]=0;c[b+16>>2]=0;c[b+28>>2]=0;c[b+20>>2]=0}}else e=bc(b,d,h+208|0,h+80|0,h+160|0)|0;d=c[b>>2]|0;c[b>>2]=d|g&32;e=(d&32|0)==0?e:-1}sa=h;return e|0}function _i(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,h=0.0,i=0.0;f=sa;sa=sa+16|0;c[b+4>>2]=d;c[b>>2]=7356;c[b+8>>2]=-1;c[b+12>>2]=-1;g[b+16>>2]=3402823466385288598117041.0e14;a[b+20>>0]=1;a[b+21>>0]=0;c[b+24>>2]=-1;c[b+28>>2]=e;if((a[26704]|0)==0?mz(26704)|0:0){c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;c[f+12>>2]=0;Cf(27392,0.0,0,0,f)}c[6899]=c[6899]|1;g[6934]=0.0;h=+g[6944]*0.0;i=+g[6945]*0.0;g[6939]=+g[6943]*0.0;g[6940]=h;g[6941]=i;g[6942]=0.0;c[6947]=0;c[6948]=0;c[6949]=0;c[6950]=0;i=+g[6936]*0.0;h=+g[6937]*0.0;g[6988]=+g[6935]*0.0;g[6989]=i;g[6990]=h;g[6991]=0.0;c[b+32>>2]=27392;g[b+36>>2]=0.0;g[b+40>>2]=.30000001192092896;c[b+44>>2]=0;sa=f;return}function $i(a){a=a|0;var b=0;c[a>>2]=5828;b=c[a+92>>2]|0;Pa[c[c[b>>2]>>2]&511](b);b=c[a+92>>2]|0;if(b|0){c[7183]=(c[7183]|0)+1;Hc(c[b+-4>>2]|0)}b=c[a+96>>2]|0;Pa[c[c[b>>2]>>2]&511](b);b=c[a+96>>2]|0;if(b|0){c[7183]=(c[7183]|0)+1;Hc(c[b+-4>>2]|0)}b=c[a+100>>2]|0;Pa[c[c[b>>2]>>2]&511](b);b=c[a+100>>2]|0;if(b|0){c[7183]=(c[7183]|0)+1;Hc(c[b+-4>>2]|0)}b=c[a+104>>2]|0;Pa[c[c[b>>2]>>2]&511](b);b=c[a+104>>2]|0;if(b|0){c[7183]=(c[7183]|0)+1;Hc(c[b+-4>>2]|0)}b=c[a+108>>2]|0;Pa[c[c[b>>2]>>2]&511](b);b=c[a+108>>2]|0;if(!b){se(a);return}c[7183]=(c[7183]|0)+1;Hc(c[b+-4>>2]|0);se(a);return}function aj(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;if((c[d+60>>2]|0)==2){g=c[d+48>>2]|0;sg(b+64|0,g)|0;f=c[b+68>>2]|0;if(f|0){c[7183]=(c[7183]|0)+1;Hc(c[f+-4>>2]|0)}c[b+68>>2]=g;c[b+76>>2]=(c[b+76>>2]|0)+-1}else{f=c[d+48>>2]|0;sg(b+4|0,f)|0;g=c[b+8>>2]|0;if(g|0){c[7183]=(c[7183]|0)+1;Hc(c[g+-4>>2]|0)}c[b+8>>2]=f;c[b+16>>2]=(c[b+16>>2]|0)+-1}f=c[d+52>>2]|0;if(!f)f=b+124+(c[d+60>>2]<<2)|0;else f=f+56|0;c[f>>2]=c[d+56>>2];f=c[d+56>>2]|0;if(f|0)c[f+52>>2]=c[d+52>>2];g=c[b+136>>2]|0;Za[c[(c[g>>2]|0)+16>>2]&127](g,d,e);c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0);a[b+194>>0]=1;return}function bj(a){a=a|0;var b=0.0,c=0.0,d=0.0,e=0.0,f=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0;n=+g[a+4>>2];h=+g[a+396>>2];m=+g[a+8>>2];e=+g[a+400>>2];l=+g[a+12>>2];c=+g[a+404>>2];k=+g[a+20>>2];j=+g[a+24>>2];i=+g[a+28>>2];f=+g[a+36>>2];d=+g[a+40>>2];b=+g[a+44>>2];g[a+264>>2]=n*h*n+m*e*m+l*c*l;g[a+268>>2]=n*h*k+m*e*j+l*c*i;g[a+272>>2]=n*h*f+m*e*d+l*c*b;g[a+276>>2]=0.0;g[a+280>>2]=h*k*n+e*j*m+c*i*l;g[a+284>>2]=h*k*k+e*j*j+c*i*i;g[a+288>>2]=h*k*f+e*j*d+c*i*b;g[a+292>>2]=0.0;g[a+296>>2]=h*f*n+e*d*m+c*b*l;g[a+300>>2]=h*f*k+e*d*j+c*b*i;g[a+304>>2]=h*f*f+e*d*d+c*b*b;g[a+308>>2]=0.0;return}function cj(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;c[b>>2]=8440;e=c[b+8>>2]|0;d=c[b+16>>2]|0;if((e|0)>0){h=0;do{f=(c[d+(h<<2)>>2]|0)+188|0;g=c[f>>2]|0;if(g){e=c[b+68>>2]|0;e=Fa[c[(c[e>>2]|0)+36>>2]&127](e)|0;Za[c[(c[e>>2]|0)+40>>2]&127](e,g,c[b+24>>2]|0);e=c[b+68>>2]|0;Za[c[(c[e>>2]|0)+12>>2]&127](e,g,c[b+24>>2]|0);c[f>>2]=0;e=c[b+8>>2]|0;d=c[b+16>>2]|0}h=h+1|0}while((h|0)<(e|0))}if(!d){a[b+20>>0]=1;c[b+16>>2]=0;c[b+8>>2]=0;b=b+12|0;c[b>>2]=0;return}if(a[b+20>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+16>>2]=0;a[b+20>>0]=1;c[b+16>>2]=0;c[b+8>>2]=0;b=b+12|0;c[b>>2]=0;return}function dj(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0.0,h=0,i=0.0,j=0,k=0.0,l=0,m=0.0;j=c[b+52>>2]|0;l=c[j+32>>2]|0;b=c[l>>2]|0;m=+g[d>>2];k=+g[d+4>>2];i=+g[d+8>>2];j=c[j+24>>2]|0;if((j|0)<=1){l=b;l=l+8|0;c[a>>2]=c[l>>2];c[a+4>>2]=c[l+4>>2];c[a+8>>2]=c[l+8>>2];c[a+12>>2]=c[l+12>>2];return}d=0;h=1;e=m*+g[b+8>>2]+k*+g[b+12>>2]+i*+g[b+16>>2];while(1){b=c[l+(h<<2)>>2]|0;f=m*+g[b+8>>2]+k*+g[b+12>>2]+i*+g[b+16>>2];b=f>e;d=b?h:d;h=h+1|0;if((h|0)==(j|0))break;else e=b?f:e}l=c[l+(d<<2)>>2]|0;l=l+8|0;c[a>>2]=c[l>>2];c[a+4>>2]=c[l+4>>2];c[a+8>>2]=c[l+8>>2];c[a+12>>2]=c[l+12>>2];return}function ej(a,b){a=a|0;b=b|0;var d=0,e=0.0,f=0,h=0,i=0.0,j=0.0;c[a+248>>2]=c[b>>2];c[a+248+4>>2]=c[b+4>>2];c[a+248+8>>2]=c[b+8>>2];c[a+248+12>>2]=c[b+12>>2];d=c[a+232>>2]|0;if((d|0)<=0)return;h=0;do{f=c[(c[a+240>>2]|0)+(h<<2)>>2]|0;switch(c[f+216>>2]|0){case 2:case 5:break;default:if(!(c[f+504>>2]&1)){e=+g[f+344>>2];if(e!=0.0){j=1.0/e*+g[b+4>>2];i=1.0/e*+g[b+8>>2];g[f+364>>2]=1.0/e*+g[b>>2];g[f+368>>2]=j;g[f+372>>2]=i;g[f+376>>2]=0.0}c[f+380>>2]=c[b>>2];c[f+380+4>>2]=c[b+4>>2];c[f+380+8>>2]=c[b+8>>2];c[f+380+12>>2]=c[b+12>>2];d=c[a+232>>2]|0}}h=h+1|0}while((h|0)<(d|0));return}function fj(b,d){b=b|0;d=d|0;var e=0.0,f=0.0,h=0;if(a[b+738>>0]|0){c[d>>2]=0;c[d+4>>2]=0;return}c[d>>2]=5;c[d+4>>2]=1;e=+ui(b,(c[b+28>>2]|0)+4|0,(c[b+32>>2]|0)+4|0);g[b+728>>2]=e;g[b+708>>2]=0.0;g[b+712>>2]=0.0;a[b+716>>0]=0;f=+g[b+692>>2];do if(f>=0.0){e=(e-+g[b+688>>2])%6.2831854820251465;if(!(e<-3.1415927410125732)){if(e>3.1415927410125732)e=e+-6.2831854820251465}else e=e+6.2831854820251465;if(e<-f){a[b+716>>0]=1;g[b+708>>2]=-(f+e);g[b+712>>2]=1.0;break}if(e>f){a[b+716>>0]=1;g[b+708>>2]=f-e;g[b+712>>2]=-1.0}else h=12}else h=12;while(0);if((h|0)==12?(a[b+737>>0]|0)==0:0)return;c[d>>2]=6;c[d+4>>2]=0;return}function gj(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=sa;sa=sa+96|0;g=c[b+192>>2]|0;c[f+64>>2]=0;c[f+64+4>>2]=g;c[f+64+8>>2]=b;c[f+64+12>>2]=b+4;c[f+64+16>>2]=-1;c[f+64+20>>2]=-1;b=c[d+192>>2]|0;c[f+40>>2]=0;c[f+40+4>>2]=b;c[f+40+8>>2]=d;c[f+40+12>>2]=d+4;c[f+40+16>>2]=-1;c[f+40+20>>2]=-1;b=c[a+24>>2]|0;b=Ka[c[(c[b>>2]|0)+8>>2]&31](b,f+64|0,f+40|0,0)|0;if(!b){sa=f;return}c[f+4>>2]=0;c[f+8>>2]=f+64;c[f+12>>2]=f+40;c[f>>2]=8784;c[f+32>>2]=e;eb[c[(c[b>>2]|0)+8>>2]&31](b,f+64|0,f+40|0,a+28|0,f);Pa[c[c[b>>2]>>2]&511](b);g=c[a+24>>2]|0;Va[c[(c[g>>2]|0)+60>>2]&127](g,b);sa=f;return}function hj(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=c[b+8>>2]|0;if((k|0)<=0)return;j=c[b+16>>2]|0;i=0;b=0;do{h=c[j+(i<<2)>>2]|0;if(!(c[h+204>>2]&3)){g=c[a+16>>2]|0;d=g+(b<<3)|0;e=c[d>>2]|0;if((e|0)!=(b|0)){c[d>>2]=c[g+(e<<3)>>2];d=c[g+(e<<3)>>2]|0;e=c[g+(d<<3)>>2]|0;if((d|0)!=(e|0)){f=g+(d<<3)|0;do{d=g+(e<<3)|0;c[f>>2]=c[d>>2];d=c[d>>2]|0;f=g+(d<<3)|0;e=c[f>>2]|0}while((d|0)!=(e|0))}}else d=b;c[h+208>>2]=d;c[g+(b<<3)+4>>2]=i;c[h+212>>2]=-1;b=b+1|0}else{c[h+208>>2]=-1;c[h+212>>2]=-2}i=i+1|0}while((i|0)!=(k|0));return}function ij(a,b,d){a=a|0;b=+b;d=d|0;var e=0,f=0,h=0.0,i=0.0,k=0.0;e=c[a+204>>2]|0;if(b==0.0){c[a+204>>2]=e|1;h=0.0}else{c[a+204>>2]=e&-2;h=1.0/b}g[a+344>>2]=h;k=+g[a+384>>2]*b;i=+g[a+388>>2]*b;g[a+364>>2]=+g[a+380>>2]*b;g[a+368>>2]=k;g[a+372>>2]=i;g[a+376>>2]=0.0;b=+g[d>>2];f=b!=0.0?(g[j>>2]=1.0/b,c[j>>2]|0):0;b=+g[d+4>>2];e=b!=0.0?(g[j>>2]=1.0/b,c[j>>2]|0):0;b=+g[d+8>>2];d=b!=0.0?(g[j>>2]=1.0/b,c[j>>2]|0):0;c[a+396>>2]=f;c[a+400>>2]=e;c[a+404>>2]=d;g[a+408>>2]=0.0;i=h*+g[a+352>>2];k=h*+g[a+356>>2];g[a+560>>2]=+g[a+348>>2]*h;g[a+564>>2]=i;g[a+568>>2]=k;g[a+572>>2]=0.0;return}function jj(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=c[b+280>>2]|0;if((e|0)==(c[b+284>>2]|0)?(h=(e|0)==0?1:e<<1,(e|0)<(h|0)):0){if(!h)g=0;else{c[7182]=(c[7182]|0)+1;e=xb((h<<2|3)+16|0)|0;if(!e)e=0;else{c[(e+4+15&-16)+-4>>2]=e;e=e+4+15&-16}g=e;e=c[b+280>>2]|0}if((e|0)>0){f=0;do{c[g+(f<<2)>>2]=c[(c[b+288>>2]|0)+(f<<2)>>2];f=f+1|0}while((f|0)!=(e|0))}f=c[b+288>>2]|0;if(f){if(a[b+292>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[f+-4>>2]|0);e=c[b+280>>2]|0}c[b+288>>2]=0}a[b+292>>0]=1;c[b+288>>2]=g;c[b+284>>2]=h}c[(c[b+288>>2]|0)+(e<<2)>>2]=d;c[b+280>>2]=e+1;return}function kj(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0.0,h=0,i=0.0,j=0,k=0.0,l=0;k=+g[b+60>>2]*.5;l=c[b+68>>2]|0;e=+g[d>>2];f=+g[d+4>>2];i=+g[d+8>>2];i=+x(+(e*e+f*f+i*i));h=c[b+64>>2]|0;if(+g[d+(l<<2)>>2]>+g[b+52>>2]*i){g[a+(h<<2)>>2]=0.0;g[a+(l<<2)>>2]=k;k=0.0;l=c[b+72>>2]|0;l=a+(l<<2)|0;g[l>>2]=k;return}i=+g[d+(h<<2)>>2];j=c[b+72>>2]|0;e=+g[d+(j<<2)>>2];f=+x(+(i*i+e*e));if(f>1.1920928955078125e-07){f=+g[b+56>>2]/f;g[a+(h<<2)>>2]=i*f;g[a+(l<<2)>>2]=-k;k=e*f;l=j;l=a+(l<<2)|0;g[l>>2]=k;return}else{g[a+(h<<2)>>2]=0.0;g[a+(l<<2)>>2]=-k;k=0.0;l=j;l=a+(l<<2)|0;g[l>>2]=k;return}}function lj(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;f=c[e+16>>2]|0;if(!f)if(!(_n(e)|0)){g=c[e+16>>2]|0;h=5}else f=0;else{g=f;h=5}a:do if((h|0)==5){f=c[e+20>>2]|0;if((g-f|0)>>>0>>0){f=Ja[c[e+36>>2]&63](e,b,d)|0;break}b:do if((a[e+75>>0]|0)<0|(d|0)==0){i=0;g=b}else{h=d;while(1){g=h+-1|0;if((a[b+g>>0]|0)==10)break;if(!g){i=0;g=b;break b}else h=g}f=Ja[c[e+36>>2]&63](e,b,h)|0;if(f>>>0>>0)break a;i=h;g=b+h|0;d=d-h|0;f=c[e+20>>2]|0}while(0);Bh(f|0,g|0,d|0)|0;c[e+20>>2]=(c[e+20>>2]|0)+d;f=i+d|0}while(0);return f|0}function mj(a,b,d){a=a|0;b=+b;d=d|0;var e=0,f=0.0,h=0.0,i=0.0,j=0;e=sa;sa=sa+96|0;c[e+32>>2]=1065353216;c[e+32+4>>2]=0;c[e+32+4+4>>2]=0;c[e+32+4+8>>2]=0;c[e+32+4+12>>2]=0;c[e+32+20>>2]=1065353216;c[e+32+24>>2]=0;c[e+32+24+4>>2]=0;c[e+32+24+8>>2]=0;c[e+32+24+12>>2]=0;c[e+32+40>>2]=1065353216;j=e+32+44|0;c[j>>2]=0;c[j+4>>2]=0;c[j+8>>2]=0;c[j+12>>2]=0;c[j+16>>2]=0;ab[c[(c[a>>2]|0)+8>>2]&127](a,e+32|0,e+16|0,e);h=(+g[e>>2]-+g[e+16>>2])*.5*2.0;f=(+g[e+4>>2]-+g[e+16+4>>2])*.5*2.0;i=(+g[e+8>>2]-+g[e+16+8>>2])*.5*2.0;g[d>>2]=b/12.0*(f*f+i*i);g[d+4>>2]=b/12.0*(h*h+i*i);g[d+8>>2]=b/12.0*(h*h+f*f);sa=e;return}function nj(b,d){b=b|0;d=d|0;var e=0,f=0.0,h=0.0,i=0.0,j=0.0,k=0.0;e=rs()|0;_i(e,3,b);c[e>>2]=7304;c[e+300>>2]=c[d>>2];c[e+300+4>>2]=c[d+4>>2];c[e+300+8>>2]=c[d+8>>2];c[e+300+12>>2]=c[d+12>>2];k=+g[d>>2];j=+g[d+4>>2];i=+g[d+8>>2];h=k*+g[b+20>>2]+j*+g[b+24>>2]+i*+g[b+28>>2]+ +g[b+56>>2];f=k*+g[b+36>>2]+j*+g[b+40>>2]+i*+g[b+44>>2]+ +g[b+60>>2];g[e+316>>2]=k*+g[b+4>>2]+j*+g[b+8>>2]+i*+g[b+12>>2]+ +g[b+52>>2];g[e+320>>2]=h;g[e+324>>2]=f;g[e+328>>2]=0.0;c[e+332>>2]=0;a[e+344>>0]=0;g[e+348>>2]=.30000001192092896;g[e+352>>2]=1.0;g[e+356>>2]=0.0;return e|0}function oj(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0.0,h=0.0,i=0.0,j=0.0,k=0.0;e=sa;sa=sa+16|0;Za[c[(c[b>>2]|0)+68>>2]&127](e,b,d);c[a>>2]=c[e>>2];c[a+4>>2]=c[e+4>>2];c[a+8>>2]=c[e+8>>2];c[a+12>>2]=c[e+12>>2];if(!(+va[c[(c[b>>2]|0)+48>>2]&15](b)!=0.0)){sa=e;return}i=+g[d>>2];f=+g[d+4>>2];h=+g[d+8>>2];k=i*i+f*f+h*h<1.4210854715202004e-14?-1.0:i;j=i*i+f*f+h*h<1.4210854715202004e-14?-1.0:f;h=i*i+f*f+h*h<1.4210854715202004e-14?-1.0:h;f=1.0/+x(+(h*h+(k*k+j*j)));i=+va[c[(c[b>>2]|0)+48>>2]&15](b);g[a>>2]=+g[a>>2]+i*k*f;g[a+4>>2]=+g[a+4>>2]+i*j*f;g[a+8>>2]=+g[a+8>>2]+i*h*f;sa=e;return}function pj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0;a:do switch(b|0){case 2:{if((c|0)<1){d=+g[a+232>>2];break a}if((c|0)<3){d=+g[a+264>>2];break a}if((c|0)==3){d=+g[a+248>>2];break a}if((c|0)<6)d=+g[a+280>>2];else d=3402823466385288598117041.0e14;break}case 3:{if((c|0)<1){d=+g[a+212>>2];break a}if((c|0)==3)d=+g[a+228>>2];else d=3402823466385288598117041.0e14;break}case 4:{if((c|0)<1){d=+g[a+244>>2];break a}if((c|0)<3){d=+g[a+276>>2];break a}if((c|0)==3){d=+g[a+260>>2];break a}if((c|0)<6)d=+g[a+292>>2];else d=3402823466385288598117041.0e14;break}default:d=3402823466385288598117041.0e14}while(0);return +d}function qj(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0,h=0.0,i=0,j=0.0,k=0.0,l=0.0,m=0.0,n=0,o=0.0,p=0.0;n=c[b+96>>2]|0;if((n|0)<=0){c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;return}o=+g[b+12>>2];p=+g[d>>2]*o;k=+g[b+16>>2];l=+g[d+4>>2]*k;m=+g[b+20>>2];j=+g[d+8>>2]*m;f=c[b+104>>2]|0;d=-1;b=0;e=-3402823466385288598117041.0e14;while(1){h=p*+g[f+(b<<4)>>2]+l*+g[f+(b<<4)+4>>2]+j*+g[f+(b<<4)+8>>2];i=h>e;d=i?b:d;b=b+1|0;if((b|0)==(n|0))break;else e=i?h:e}l=k*+g[f+(d<<4)+4>>2];p=m*+g[f+(d<<4)+8>>2];g[a>>2]=o*+g[f+(d<<4)>>2];g[a+4>>2]=l;g[a+8>>2]=p;g[a+12>>2]=0.0;return}function rj(){var b=0;b=_r()|0;c[b>>2]=7568;a[b+20>>0]=1;c[b+16>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;a[b+40>>0]=1;c[b+36>>2]=0;c[b+28>>2]=0;c[b+32>>2]=0;a[b+60>>0]=1;c[b+56>>2]=0;c[b+48>>2]=0;c[b+52>>2]=0;a[b+80>>0]=1;c[b+76>>2]=0;c[b+68>>2]=0;c[b+72>>2]=0;a[b+100>>0]=1;c[b+96>>2]=0;c[b+88>>2]=0;c[b+92>>2]=0;a[b+120>>0]=1;c[b+116>>2]=0;c[b+108>>2]=0;c[b+112>>2]=0;a[b+140>>0]=1;c[b+136>>2]=0;c[b+128>>2]=0;c[b+132>>2]=0;a[b+160>>0]=1;c[b+156>>2]=0;c[b+148>>2]=0;c[b+152>>2]=0;a[b+180>>0]=1;c[b+176>>2]=0;c[b+168>>2]=0;c[b+172>>2]=0;c[b+192>>2]=0;return b|0}function sj(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;c[7161]=(c[7161]|0)+1;f=(c[b+12>>2]|0)>(c[d+12>>2]|0);g=c[(f?d:b)+12>>2]|0;f=c[(f?b:d)+12>>2]|0;b=(f<<16|g)+~((f<<16|g)<<15)|0;b=((10?b>>10:b)^b)*9|0;b=(6?b>>6:b)^b;b=((16?b+~(b<<11)>>16:b+~(b<<11)|0)^b+~(b<<11))&(c[a+12>>2]|0)+-1;if((b|0)>=(c[a+36>>2]|0)){g=0;return g|0}b=c[(c[a+44>>2]|0)+(b<<2)>>2]|0;if((b|0)==-1){g=0;return g|0}e=c[a+16>>2]|0;d=b;while(1){b=e+(d<<4)|0;if((c[(c[b>>2]|0)+12>>2]|0)==(g|0)?(c[(c[e+(d<<4)+4>>2]|0)+12>>2]|0)==(f|0):0){d=7;break}d=c[(c[a+64>>2]|0)+(d<<2)>>2]|0;if((d|0)==-1){b=0;d=7;break}}if((d|0)==7)return b|0;return 0}function tj(a,b,d){a=a|0;b=+b;d=d|0;var e=0.0,f=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0;e=+g[a+28>>2];i=+g[a+32>>2];k=+g[a+36>>2];l=+va[c[(c[a>>2]|0)+48>>2]&15](a);j=+va[c[(c[a>>2]|0)+48>>2]&15](a);k=+va[c[(c[a>>2]|0)+48>>2]&15](a)+k;switch(c[a+52>>2]|0){case 0:{h=b*.25*(j+i)*(j+i)+b/12.0*(l+e)*(l+e)*4.0;f=h;e=b*.5*(j+i)*(j+i);break}case 2:{f=b*.5*(l+e)*(l+e);h=b*.25*(l+e)*(l+e)+b/12.0*k*k*4.0;e=b*.25*(l+e)*(l+e)+b/12.0*k*k*4.0;break}default:{k=b*.25*(l+e)*(l+e)+b/12.0*(j+i)*(j+i)*4.0;f=k;h=b*.5*(l+e)*(l+e);e=k}}g[d>>2]=e;g[d+4>>2]=h;g[d+8>>2]=f;g[d+12>>2]=0.0;return}function uj(b){b=b|0;var d=0;c[b>>2]=6632;if(a[b+456>>0]|0?(d=c[b+452>>2]|0,Pa[c[c[d>>2]>>2]&511](d),d=c[b+452>>2]|0,d|0):0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}d=c[b+420>>2]|0;if(d|0){if(a[b+424>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+420>>2]=0}a[b+424>>0]=1;c[b+420>>2]=0;c[b+412>>2]=0;c[b+416>>2]=0;d=c[b+336>>2]|0;if(!d){a[b+340>>0]=1;c[b+336>>2]=0;c[b+328>>2]=0;d=b+332|0;c[d>>2]=0;ag(b);return}if(a[b+340>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+336>>2]=0;a[b+340>>0]=1;c[b+336>>2]=0;c[b+328>>2]=0;d=b+332|0;c[d>>2]=0;ag(b);return}function vj(a,b){a=a|0;b=b|0;var d=0,e=0.0,f=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0;d=sa;sa=sa+64|0;c[d+48>>2]=0;c[d+48+4>>2]=0;c[d+48+8>>2]=0;c[d+48+12>>2]=0;i=+g[b>>2];f=+g[b+4>>2];l=+g[b+8>>2];j=+g[b+12>>2];h=i*(2.0/(i*i+f*f+l*l+j*j));e=f*(2.0/(i*i+f*f+l*l+j*j));k=l*(2.0/(i*i+f*f+l*l+j*j));g[d>>2]=1.0-(f*e+l*k);g[d+4>>2]=i*e-j*k;g[d+8>>2]=i*k+j*e;g[d+12>>2]=0.0;g[d+16>>2]=i*e+j*k;g[d+20>>2]=1.0-(i*h+l*k);g[d+24>>2]=f*k-j*h;g[d+28>>2]=0.0;g[d+32>>2]=i*k-j*e;g[d+36>>2]=f*k+j*h;g[d+40>>2]=1.0-(i*h+f*e);g[d+44>>2]=0.0;Vc(a,d);sa=d;return}function wj(a,b){a=a|0;b=+b;var d=0,e=0,f=0;e=sa;sa=sa+16|0;Ki(16231);if((c[a+280>>2]|0)>0){d=0;do{f=c[(c[a+288>>2]|0)+(d<<2)>>2]|0;Wa[c[(c[f>>2]|0)+8>>2]&7](f,a,b);d=d+1|0}while((d|0)<(c[a+280>>2]|0))}d=c[3084]|0;f=(c[d+16>>2]|0)+-1|0;c[d+16>>2]=f;if(f|0){sa=e;return}do if(c[d+4>>2]|0){la(e|0,0)|0;f=c[7181]|0;g[d+8>>2]=+g[d+8>>2]+ +(((c[e+4>>2]|0)-(c[f+4>>2]|0)+(((c[e>>2]|0)-(c[f>>2]|0)|0)*1e6|0)-(c[d+12>>2]|0)|0)>>>0)/1.0e3;if(!(c[d+16>>2]|0)){d=c[3084]|0;break}else{sa=e;return}}while(0);c[3084]=c[d+20>>2];sa=e;return}function xj(b,d,e,f){b=b|0;d=d|0;e=+e;f=f|0;var h=0;h=cs()|0;c[h>>2]=7684;a[h+144>>0]=1;c[h+140>>2]=0;c[h+132>>2]=0;c[h+136>>2]=0;c[h+176>>2]=f;g[h+56>>2]=.019999999552965164;c[h+60>>2]=0;c[h+60+4>>2]=0;c[h+60+8>>2]=0;c[h+60+12>>2]=0;a[h+170>>0]=1;c[h+8>>2]=b;g[h+52>>2]=e;g[h+48>>2]=0.0;c[h+12>>2]=d;a[h+171>>0]=1;g[h+172>>2]=0.0;g[h+16>>2]=0.0;g[h+20>>2]=0.0;g[h+44>>2]=29.399999618530273;g[h+24>>2]=55.0;g[h+28>>2]=10.0;a[h+168>>0]=0;a[h+169>>0]=0;a[h+180>>0]=1;g[h+36>>2]=.7853981852531433;g[h+40>>2]=.7071067690849304;g[h+108>>2]=0.0;a[h+181>>0]=0;a[h+182>>0]=0;return h|0}function yj(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,h=0.0,i=0.0,k=0.0,l=0,m=0,n=0;f=sa;sa=sa+48|0;Za[c[(c[a>>2]|0)+124>>2]&127](a,f+32|0,e);n=c[f+32>>2]|0;m=c[f+32+4>>2]|0;l=c[f+32+8>>2]|0;c[b>>2]=n;c[b+4>>2]=m;c[b+8>>2]=l;g[b+12>>2]=0.0;e=c[(c[a>>2]|0)+64>>2]|0;k=-(c[j>>2]=n,+g[j>>2]);i=-(c[j>>2]=m,+g[j>>2]);h=-(c[j>>2]=l,+g[j>>2]);g[f>>2]=k;g[f+4>>2]=i;g[f+8>>2]=h;g[f+12>>2]=0.0;Za[e&127](f+16|0,a,f);c[d>>2]=c[f+16>>2];c[d+4>>2]=c[f+16+4>>2];c[d+8>>2]=c[f+16+8>>2];c[d+12>>2]=c[f+16+12>>2];sa=f;return}function zj(b,d){b=b|0;d=d|0;var e=0,f=0;e=c[b+28>>2]|0;f=c[b+32>>2]|0;if(!(a[b+1301>>0]|0)){yf(b,d,hf(b,d,0,e+4|0,f+4|0,e+312|0,f+312|0,e+328|0,f+328|0)|0,e+4|0,f+4|0,e+312|0,f+312|0,e+328|0,f+328|0)|0;return}else{hf(b,d,yf(b,d,0,e+4|0,f+4|0,e+312|0,f+312|0,e+328|0,f+328|0)|0,e+4|0,f+4|0,e+312|0,f+312|0,e+328|0,f+328|0)|0;return}}function Aj(a,b,d){a=a|0;b=b|0;d=d|0;do if(!((b|0)==8&(d|0)==8)){if((b|0)==8&(d|0)==1){a=a+76|0;break}if((b|0)==1&(d|0)==8){a=a+80|0;break}if(!(d|b)){a=a+72|0;break}if((b|0)<20&(d|0)==28){a=a+88|0;break}if((b|0)==28&(d|0)<20){a=a+84|0;break}if((b|0)<20){if((d|0)<20){a=a+32|0;break}if((d+-21|0)>>>0<9){a=a+36|0;break}}else{if((d|0)<20&(b+-21|0)>>>0<9){a=a+40|0;break}if((b|0)==31)if((d|0)==31){a=a+48|0;break}else{a=a+44|0;break}}if((d|0)==31){a=a+52|0;break}else{a=a+56|0;break}}else a=a+60|0;while(0);return c[a>>2]|0}function Bj(a,b,d,e,f){a=a|0;b=b|0;d=+d;e=e|0;f=f|0;var h=0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0;h=sa;sa=sa+48|0;c[h+32>>2]=e;c[h+32+4>>2]=f;m=+g[b>>2];l=+g[b+4>>2];i=+g[b+8>>2];k=+g[a+56>>2]*m+ +g[a+60>>2]*l+ +g[a+64>>2]*i;j=m*+g[a+72>>2]+l*+g[a+76>>2]+i*+g[a+80>>2];i=m*+g[a+88>>2]+l*+g[a+92>>2]+i*+g[a+96>>2];c[h>>2]=c[a+48>>2];c[h+4>>2]=h+32;g[h+8>>2]=k;g[h+12>>2]=j;g[h+16>>2]=i;g[h+20>>2]=0.0;g[h+24>>2]=d;f=c[a+44>>2]|0;d=+ya[c[(c[f>>2]|0)+12>>2]&15](f,h,1);sa=h;return +d}function Cj(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=sa;sa=sa+16|0;c[a+4>>2]=c[b+40>>2];e=c[b>>2]|0;c[a+76>>2]=e;if(d){c[a+44>>2]=c[b+8>>2];c[a+44+4>>2]=c[b+8+4>>2];c[a+44+8>>2]=c[b+8+8>>2];c[a+44+12>>2]=c[b+8+12>>2]}else{e=JI(oI(e)|0)|0;vl(f,e,+g[b+8>>2],+g[b+12>>2],+g[b+16>>2]);c[a+44>>2]=c[f>>2];c[a+44+4>>2]=c[f+4>>2];c[a+44+8>>2]=c[f+8>>2];c[a+44+12>>2]=c[f+12>>2]}c[a+60>>2]=c[b+24>>2];c[a+60+4>>2]=c[b+24+4>>2];c[a+60+8>>2]=c[b+24+8>>2];c[a+60+12>>2]=c[b+24+12>>2];sa=f;return +(+g[b+40>>2])}function Dj(a,b,d,e){a=a|0;b=b|0;d=+d;e=e|0;if(e>>>0<3)switch(b|0){case 2:{g[a+756+(e<<2)>>2]=d;c[a+1304>>2]=c[a+1304>>2]|4<>2]=d;c[a+1304>>2]=c[a+1304>>2]|2<>2]=d;c[a+1304>>2]=c[a+1304>>2]|1<>>0>=3)return;switch(b|0){case 2:{g[a+868+(e+-3<<6)+32>>2]=d;c[a+1304>>2]=c[a+1304>>2]|4<>2]=d;c[a+1304>>2]=c[a+1304>>2]|2<>2]=d;c[a+1304>>2]=c[a+1304>>2]|1<>2]=7684;a[f+144>>0]=1;c[f+140>>2]=0;c[f+132>>2]=0;c[f+136>>2]=0;c[f+176>>2]=1;g[f+56>>2]=.019999999552965164;c[f+60>>2]=0;c[f+60+4>>2]=0;c[f+60+8>>2]=0;c[f+60+12>>2]=0;a[f+170>>0]=1;c[f+8>>2]=b;g[f+52>>2]=e;g[f+48>>2]=0.0;c[f+12>>2]=d;a[f+171>>0]=1;g[f+172>>2]=0.0;g[f+16>>2]=0.0;g[f+20>>2]=0.0;g[f+44>>2]=29.399999618530273;g[f+24>>2]=55.0;g[f+28>>2]=10.0;a[f+168>>0]=0;a[f+169>>0]=0;a[f+180>>0]=1;g[f+36>>2]=.7853981852531433;g[f+40>>2]=.7071067690849304;g[f+108>>2]=0.0;a[f+181>>0]=0;a[f+182>>0]=0;return f|0}function Fj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0.0,f=0.0,h=0.0;a=JI(a)|0;d=+g[a+8>>2];if(+xI(d)>.7071067690849304){f=+g[a+4>>2];e=1.0/+wI(f*f+d*d);b=JI(b)|0;g[b>>2]=0.0;g[b+4>>2]=-(+g[a+8>>2]*e);g[b+8>>2]=+g[a+4>>2]*e;c=JI(c)|0;g[c>>2]=(f*f+d*d)*e;g[c+4>>2]=-(+g[a>>2]*+g[b+8>>2]);g[c+8>>2]=+g[a>>2]*+g[b+4>>2];return}else{d=+g[a>>2];e=+g[a+4>>2];f=1.0/+wI(d*d+e*e);b=JI(b)|0;g[b>>2]=-(e*f);h=+g[a>>2]*f;g[b+4>>2]=h;g[b+8>>2]=0.0;h=-(+g[a+8>>2]*h);c=JI(c)|0;g[c>>2]=h;g[c+4>>2]=+g[a+8>>2]*+g[b>>2];g[c+8>>2]=(d*d+e*e)*f;return}}function Gj(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var h=0;h=rs()|0;c[h+4>>2]=3;c[h+8>>2]=-1;c[h+12>>2]=-1;g[h+16>>2]=3402823466385288598117041.0e14;a[h+20>>0]=1;a[h+21>>0]=0;c[h+24>>2]=-1;c[h+28>>2]=b;c[h+32>>2]=d;g[h+36>>2]=0.0;g[h+40>>2]=.30000001192092896;c[h+44>>2]=0;c[h>>2]=7304;c[h+300>>2]=c[e>>2];c[h+300+4>>2]=c[e+4>>2];c[h+300+8>>2]=c[e+8>>2];c[h+300+12>>2]=c[e+12>>2];c[h+316>>2]=c[f>>2];c[h+316+4>>2]=c[f+4>>2];c[h+316+8>>2]=c[f+8>>2];c[h+316+12>>2]=c[f+12>>2];c[h+332>>2]=0;a[h+344>>0]=0;g[h+348>>2]=.30000001192092896;g[h+352>>2]=1.0;g[h+356>>2]=0.0;return h|0}function Hj(b){b=b|0;var d=0;c[b>>2]=11632;d=c[b+64>>2]|0;if(d|0){if(a[b+68>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+64>>2]=0}a[b+68>>0]=1;c[b+64>>2]=0;c[b+56>>2]=0;c[b+60>>2]=0;d=c[b+44>>2]|0;if(d|0){if(a[b+48>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+44>>2]=0}a[b+48>>0]=1;c[b+44>>2]=0;c[b+36>>2]=0;c[b+40>>2]=0;d=c[b+16>>2]|0;if(!d){a[b+20>>0]=1;c[b+16>>2]=0;c[b+8>>2]=0;b=b+12|0;c[b>>2]=0;return}if(a[b+20>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+16>>2]=0;a[b+20>>0]=1;c[b+16>>2]=0;c[b+8>>2]=0;b=b+12|0;c[b>>2]=0;return}function Ij(b){b=b|0;var d=0;c[b>>2]=7116;d=c[b+80>>2]|0;if(d|0){if(a[b+84>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+80>>2]=0}a[b+84>>0]=1;c[b+80>>2]=0;c[b+72>>2]=0;c[b+76>>2]=0;d=c[b+60>>2]|0;if(d|0){if(a[b+64>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+60>>2]=0}a[b+64>>0]=1;c[b+60>>2]=0;c[b+52>>2]=0;c[b+56>>2]=0;d=c[b+40>>2]|0;if(!d){a[b+44>>0]=1;c[b+40>>2]=0;c[b+32>>2]=0;b=b+36|0;c[b>>2]=0;return}if(a[b+44>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+40>>2]=0;a[b+44>>0]=1;c[b+40>>2]=0;c[b+32>>2]=0;b=b+36|0;c[b>>2]=0;return}function Jj(b){b=b|0;var d=0;c[b>>2]=8264;d=c[b+56>>2]|0;if(d|0){if(a[b+60>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+56>>2]=0}a[b+60>>0]=1;c[b+56>>2]=0;c[b+48>>2]=0;c[b+52>>2]=0;d=c[b+36>>2]|0;if(d|0){if(a[b+40>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+36>>2]=0}a[b+40>>0]=1;c[b+36>>2]=0;c[b+28>>2]=0;c[b+32>>2]=0;d=c[b+16>>2]|0;if(!d){d=b+12|0;a[b+20>>0]=1;c[b+16>>2]=0;c[b+8>>2]=0;c[d>>2]=0;return}if(a[b+20>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+16>>2]=0;d=b+12|0;a[b+20>>0]=1;c[b+16>>2]=0;c[b+8>>2]=0;c[d>>2]=0;return}function Kj(b){b=b|0;var d=0;c[b>>2]=12232;d=c[b+60>>2]|0;if(d|0){if(a[b+64>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+60>>2]=0}a[b+64>>0]=1;c[b+60>>2]=0;c[b+52>>2]=0;c[b+56>>2]=0;d=c[b+40>>2]|0;if(d|0){if(a[b+44>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+40>>2]=0}a[b+44>>0]=1;c[b+40>>2]=0;c[b+32>>2]=0;c[b+36>>2]=0;d=c[b+16>>2]|0;if(!d){a[b+20>>0]=1;c[b+16>>2]=0;c[b+8>>2]=0;b=b+12|0;c[b>>2]=0;return}if(a[b+20>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+16>>2]=0;a[b+20>>0]=1;c[b+16>>2]=0;c[b+8>>2]=0;b=b+12|0;c[b>>2]=0;return}function Lj(){var a=0,b=0,d=0,e=0;e=sa;sa=sa+48|0;a=Gr()|0;if(a|0?(d=c[a>>2]|0,d|0):0){b=c[d+48>>2]|0;a=c[d+48+4>>2]|0;if(!((b&-256|0)==1126902528&(a|0)==1129074247)){c[e+24>>2]=23928;Hu(23878,e+24|0)}if((b|0)==1126902529&(a|0)==1129074247)a=c[d+44>>2]|0;else a=d+80|0;c[e+36>>2]=a;d=c[d>>2]|0;a=c[d+4>>2]|0;if(Ek(5168,d,e+36|0)|0){d=c[e+36>>2]|0;d=Fa[c[(c[d>>2]|0)+8>>2]&127](d)|0;c[e>>2]=23928;c[e+4>>2]=a;c[e+8>>2]=d;Hu(23792,e)}else{c[e+16>>2]=23928;c[e+16+4>>2]=a;Hu(23837,e+16|0)}}Hu(23916,e+32|0)}function Mj(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;b=c[d>>2]|0;b=Ha[c[(c[b>>2]|0)+56>>2]&31](b,156)|0;d=c[d>>2]|0;c[b+4>>2]=d;c[b>>2]=6400;a[b+8>>0]=1;c[b+12>>2]=6612;c[b+60>>2]=d;c[b+64>>2]=0;a[b+88>>0]=1;c[b+84>>2]=0;c[b+76>>2]=0;c[b+80>>2]=0;a[b+108>>0]=1;c[b+104>>2]=0;c[b+96>>2]=0;c[b+100>>2]=0;a[b+128>>0]=1;c[b+124>>2]=0;c[b+116>>2]=0;c[b+120>>2]=0;a[b+148>>0]=1;c[b+144>>2]=0;c[b+136>>2]=0;c[b+140>>2]=0;c[b+16>>2]=c[f+8>>2];c[b+20>>2]=c[e+8>>2];Ai(b+72|0);return b|0}function Nj(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;b=c[d>>2]|0;b=Ha[c[(c[b>>2]|0)+56>>2]&31](b,156)|0;d=c[d>>2]|0;c[b+4>>2]=d;c[b>>2]=6400;a[b+8>>0]=0;c[b+12>>2]=6612;c[b+60>>2]=d;c[b+64>>2]=0;a[b+88>>0]=1;c[b+84>>2]=0;c[b+76>>2]=0;c[b+80>>2]=0;a[b+108>>0]=1;c[b+104>>2]=0;c[b+96>>2]=0;c[b+100>>2]=0;a[b+128>>0]=1;c[b+124>>2]=0;c[b+116>>2]=0;c[b+120>>2]=0;a[b+148>>0]=1;c[b+144>>2]=0;c[b+136>>2]=0;c[b+140>>2]=0;c[b+16>>2]=c[e+8>>2];c[b+20>>2]=c[f+8>>2];Ai(b+72|0);return b|0}function Oj(a,b,d,e){a=a|0;b=+b;d=d|0;e=e|0;var f=0,h=0;f=sa;sa=sa+64|0;h=IH(d)|0;c[f+48>>2]=c[h>>2];c[f+48+4>>2]=c[h+4>>2];c[f+48+8>>2]=c[h+8>>2];c[f+48+12>>2]=c[h+12>>2];d=JI(d)|0;sr(f+32|0,d,1);sr(f+16|0,d,0);cb[c[(c[a>>2]|0)+64>>2]&1](a,f+48|0,f+32|0,f+16|0,b,-1.5707963705062866,1.5707963705062866,-1.5707963705062866,1.5707963705062866,e,30.0,0);d=c[(c[a>>2]|0)+64>>2]|0;Lq(f,+g[f+16>>2],+g[f+16+4>>2],+g[f+16+8>>2]);cb[d&1](a,f+48|0,f+32|0,f,b,-1.5707963705062866,1.5707963705062866,-1.5707963705062866,1.5707963705062866,e,30.0,0);sa=f;return}function Pj(a,b,d,e,f,h){a=a|0;b=b|0;d=d|0;e=+e;f=f|0;h=h|0;var i=0;i=sa;sa=sa+64|0;c[i+48>>2]=f;c[i+48+4>>2]=h;f=c[a+212>>2]|0;if(!(+g[f+4>>2]>=e)){sa=i;return +e}c[i>>2]=c[a+216>>2];c[i+4>>2]=i+48;c[i+8>>2]=c[b>>2];c[i+8+4>>2]=c[b+4>>2];c[i+8+8>>2]=c[b+8>>2];c[i+8+12>>2]=c[b+12>>2];c[i+24>>2]=c[d>>2];c[i+24+4>>2]=c[d+4>>2];c[i+24+8>>2]=c[d+8>>2];c[i+24+12>>2]=c[d+12>>2];g[i+40>>2]=e;e=+ya[c[(c[f>>2]|0)+12>>2]&15](f,i,0);sa=i;return +e}function Qj(a,b,d,e,f,h){a=a|0;b=b|0;d=d|0;e=+e;f=f|0;h=h|0;var i=0;i=sa;sa=sa+64|0;c[i+48>>2]=f;c[i+48+4>>2]=h;f=c[a+212>>2]|0;if(!(+g[f+4>>2]>=e)){sa=i;return +e}c[i>>2]=c[a+216>>2];c[i+4>>2]=i+48;c[i+8>>2]=c[b>>2];c[i+8+4>>2]=c[b+4>>2];c[i+8+8>>2]=c[b+8>>2];c[i+8+12>>2]=c[b+12>>2];c[i+24>>2]=c[d>>2];c[i+24+4>>2]=c[d+4>>2];c[i+24+8>>2]=c[d+8>>2];c[i+24+12>>2]=c[d+12>>2];g[i+40>>2]=e;e=+ya[c[(c[f>>2]|0)+12>>2]&15](f,i,1);sa=i;return +e}function Rj(a,b){a=a|0;b=b|0;var c=0,d=0.0,e=0.0,f=0.0,h=0.0,i=0.0;c=sa;sa=sa+48|0;d=2.0/+dF(b);f=+g[(JI(b)|0)>>2];e=+g[(oI(b)|0)>>2];i=+g[(nI(b)|0)>>2];h=+g[(mI(b)|0)>>2];g[c+32>>2]=1.0-(e*e*d+i*i*d);g[c+28>>2]=f*e*d-h*i*d;g[c+24>>2]=f*i*d+h*e*d;g[c+20>>2]=f*e*d+h*i*d;g[c+16>>2]=1.0-(f*f*d+i*i*d);g[c+12>>2]=e*i*d-h*f*d;g[c+8>>2]=f*i*d-h*e*d;g[c+4>>2]=e*i*d+h*f*d;g[c>>2]=1.0-(f*f*d+e*e*d);Lo(a,c+32|0,c+28|0,c+24|0,c+20|0,c+16|0,c+12|0,c+8|0,c+4|0,c);sa=c;return}function Sj(b,d){b=b|0;d=d|0;do if(b){if(d>>>0<128){a[b>>0]=d;b=1;break}if(!(c[7195]|0))if((d&-128|0)==57216){a[b>>0]=d;b=1;break}else{c[7184]=84;b=-1;break}if(d>>>0<2048){a[b>>0]=(6?d>>>6:d)|192;a[b+1>>0]=d&63|128;b=2;break}if(d>>>0<55296|(d&-8192|0)==57344){a[b>>0]=(12?d>>>12:d)|224;a[b+1>>0]=(6?d>>>6:d)&63|128;a[b+2>>0]=d&63|128;b=3;break}if((d+-65536|0)>>>0<1048576){a[b>>0]=(18?d>>>18:d)|240;a[b+1>>0]=(12?d>>>12:d)&63|128;a[b+2>>0]=(6?d>>>6:d)&63|128;a[b+3>>0]=d&63|128;b=4;break}else{c[7184]=84;b=-1;break}}else b=1;while(0);return b|0}function Tj(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0.0,h=0.0,i=0.0,j=0.0,k=0.0;e=sa;sa=sa+16|0;Za[c[(c[b>>2]|0)+68>>2]&127](e,b,d);c[a>>2]=c[e>>2];c[a+4>>2]=c[e+4>>2];c[a+8>>2]=c[e+8>>2];c[a+12>>2]=c[e+12>>2];i=+g[d>>2];f=+g[d+4>>2];h=+g[d+8>>2];k=i*i+f*f+h*h<1.4210854715202004e-14?-1.0:i;j=i*i+f*f+h*h<1.4210854715202004e-14?-1.0:f;h=i*i+f*f+h*h<1.4210854715202004e-14?-1.0:h;f=1.0/+x(+(h*h+(k*k+j*j)));i=+va[c[(c[b>>2]|0)+48>>2]&15](b);g[a>>2]=+g[a>>2]+i*k*f;g[a+4>>2]=+g[a+4>>2]+i*j*f;g[a+8>>2]=+g[a+8>>2]+i*h*f;sa=e;return}function Uj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=sa;sa=sa+48|0;e=xG(b,0)|0;g[d+32>>2]=+Fo(c,e);g[d+28>>2]=+bo(c,e);g[d+24>>2]=+ao(c,e);e=xG(b,1)|0;g[d+20>>2]=+Fo(c,e);g[d+16>>2]=+bo(c,e);g[d+12>>2]=+ao(c,e);b=xG(b,2)|0;g[d+8>>2]=+Fo(c,b);g[d+4>>2]=+bo(c,b);g[d>>2]=+ao(c,b);Zp(a,d+32|0,d+28|0,d+24|0,d+20|0,d+16|0,d+12|0,d+8|0,d+4|0,d);sa=d;return}function Vj(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;d=c[b+188>>2]|0;if(d|0){g=c[a+68>>2]|0;g=Fa[c[(c[g>>2]|0)+36>>2]&127](g)|0;Za[c[(c[g>>2]|0)+40>>2]&127](g,d,c[a+24>>2]|0);g=c[a+68>>2]|0;Za[c[(c[g>>2]|0)+12>>2]&127](g,d,c[a+24>>2]|0);c[b+188>>2]=0}f=c[a+8>>2]|0;if((f|0)<=0)return;g=c[a+16>>2]|0;d=0;while(1){e=g+(d<<2)|0;if((c[e>>2]|0)==(b|0))break;d=d+1|0;if((d|0)>=(f|0)){h=9;break}}if((h|0)==9)return;if((d|0)>=(f|0))return;c[e>>2]=c[g+(f+-1<<2)>>2];c[(c[a+16>>2]|0)+(f+-1<<2)>>2]=b;c[a+8>>2]=f+-1;return}function Wj(a,b,d,f){a=a|0;b=b|0;d=d|0;f=f|0;var g=0,h=0,i=0;while(1){g=c[a+12>>2]|0;if(!(((e[f>>1]|0)>=(e[a>>1]|0)?(e[d>>1]|0)<=(e[a+6>>1]|0):0)&(e[d+4>>1]|0)<=(e[a+10>>1]|0)&(e[f+4>>1]|0)>=(e[a+4>>1]|0)&(e[d+2>>1]|0)<=(e[a+8>>1]|0)&(e[f+2>>1]|0)>=(e[a+2>>1]|0))){h=6;break}if((g|0)>-1)break;i=a+16|0;Wj(i,b,d,f);g=c[a+28>>2]|0;a=(g|0)>-1?a+32|0:i+(0-g<<4)|0}if((h|0)==6)return;Za[c[(c[b>>2]|0)+8>>2]&127](b,21?g>>>21:g,g&2097151);return}function Xj(a,b,c,d){a=a|0;b=b|0;c=+c;d=+d;var e=0.0,f=0.0,h=0.0,i=0.0,j=0.0,k=0.0;i=+z(+c);h=+A(+c);c=+g[b+444>>2];if(+w(+i)>1.1920928955078125e-07){j=+g[b+448>>2];e=h*h;f=i*i;c=+x(+((h*h/(i*i)+1.0)/(1.0/(j*j)+h*h/(i*i)/(c*c))))}else{e=h*h;f=i*i}c=c*.5;j=+A(+c)/+x(+(e+(f+0.0)));c=+z(+c);k=c*d+i*j*0.0-h*j*-0.0;f=c*0.0-h*j*d-j*0.0*0.0;e=c*0.0+j*0.0*0.0-i*j*d;d=-(j*0.0*d)-i*j*0.0-h*j*-0.0;g[a>>2]=h*j*f+(c*k+d*-(j*0.0))-e*-(i*j);g[a+4>>2]=e*-(j*0.0)+(c*f+d*-(i*j))-h*j*k;g[a+8>>2]=k*-(i*j)+(h*j*d+c*e)-f*-(j*0.0);g[a+12>>2]=0.0;return}function Yj(b,d){b=b|0;d=d|0;var e=0,f=0,h=0;g[b+16>>2]=0.0;g[b+20>>2]=0.0;a[b+168>>0]=0;a[b+169>>0]=0;g[b+172>>2]=0.0;c[b+60>>2]=0;c[b+60+4>>2]=0;c[b+60+8>>2]=0;c[b+60+12>>2]=0;b=c[(c[b+8>>2]|0)+284>>2]|0;if((c[(Fa[c[(c[b>>2]|0)+28>>2]&127](b)|0)+4>>2]|0)<=0)return;do{f=c[b>>2]|0;h=c[f+12>>2]|0;f=c[c[(Fa[c[f+28>>2]&127](b)|0)+12>>2]>>2]|0;e=c[(c[(Fa[c[(c[b>>2]|0)+28>>2]&127](b)|0)+12>>2]|0)+4>>2]|0;Ka[h&31](b,f,e,c[d+24>>2]|0)|0}while((c[(Fa[c[(c[b>>2]|0)+28>>2]&127](b)|0)+4>>2]|0)>0);return}function Zj(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;c[7157]=(c[7157]|0)+-1;Va[c[(c[a>>2]|0)+20>>2]&127](a,b);e=c[b+768>>2]|0;d=(c[a+12>>2]|0)+-1|0;g=c[a+20>>2]|0;f=c[g+(e<<2)>>2]|0;c[g+(e<<2)>>2]=c[g+(d<<2)>>2];c[(c[a+20>>2]|0)+(d<<2)>>2]=f;c[(c[(c[a+20>>2]|0)+(e<<2)>>2]|0)+768>>2]=e;c[a+12>>2]=d;a=c[a+68>>2]|0;if(!b)return;g=c[a+16>>2]|0;if(g>>>0<=b>>>0?(g+(J(c[a>>2]|0,c[a+4>>2]|0)|0)|0)>>>0>b>>>0:0){c[b>>2]=c[a+12>>2];c[a+12>>2]=b;c[a+8>>2]=(c[a+8>>2]|0)+1;return}c[7183]=(c[7183]|0)+1;Hc(c[b+-4>>2]|0);return}function _j(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,h=0,i=0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0;if((e|0)<=0)return;f=0;do{n=+g[b+(f<<4)>>2];m=+g[b+(f<<4)+4>>2];j=+g[b+(f<<4)+8>>2];k=n*+g[a+56>>2]+m*+g[a+60>>2]+j*+g[a+64>>2];l=n*+g[a+72>>2]+m*+g[a+76>>2]+j*+g[a+80>>2];j=n*+g[a+88>>2]+m*+g[a+92>>2]+j*+g[a+96>>2];i=a+56+((k>2]=c[i>>2];c[h+4>>2]=c[i+4>>2];c[h+8>>2]=c[i+8>>2];c[h+12>>2]=c[i+12>>2];f=f+1|0}while((f|0)!=(e|0));return}function $j(a,b){a=a|0;b=+b;var d=0,e=0;d=sa;sa=sa+16|0;te(a,b);Ki(15988);a=c[a+452>>2]|0;Qa[c[(c[a>>2]|0)+24>>2]&31](a,b);a=c[3084]|0;e=(c[a+16>>2]|0)+-1|0;c[a+16>>2]=e;if(e|0){sa=d;return}do if(c[a+4>>2]|0){la(d|0,0)|0;e=c[7181]|0;g[a+8>>2]=+g[a+8>>2]+ +(((c[d+4>>2]|0)-(c[e+4>>2]|0)+(((c[d>>2]|0)-(c[e>>2]|0)|0)*1e6|0)-(c[a+12>>2]|0)|0)>>>0)/1.0e3;if(!(c[a+16>>2]|0)){a=c[3084]|0;break}else{sa=d;return}}while(0);c[3084]=c[a+20>>2];sa=d;return}function ak(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;do switch(b|0){case 0:{b=1;f=0;break}case 1:{b=2;f=0;break}case 2:{b=3;f=1;break}case 3:{b=3;f=2;break}case 4:{b=4;f=0;break}case 5:{b=5;f=1;break}case 6:{b=6;f=2;break}case 7:{b=7;f=3;break}case 8:{b=5;f=4;break}case 9:{b=6;f=4;break}case 10:{b=7;f=5;break}case 11:{b=7;f=6;break}default:{b=0;f=0}}while(0);Za[c[(c[a>>2]|0)+108>>2]&127](a,f,d);Za[c[(c[a>>2]|0)+108>>2]&127](a,b,e);return}function bk(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0;h=+g[a+56>>2];k=+g[a+72>>2]-h;j=+g[a+60>>2];i=+g[a+76>>2]-j;l=+g[a+64>>2];m=+g[a+80>>2]-l;h=+g[a+88>>2]-h;j=+g[a+92>>2]-j;l=+g[a+96>>2]-l;g[d+12>>2]=0.0;f=1.0/+x(+((k*j-i*h)*(k*j-i*h)+((i*l-m*j)*(i*l-m*j)+(m*h-k*l)*(m*h-k*l))));g[d>>2]=(i*l-m*j)*f;g[d+4>>2]=(m*h-k*l)*f;g[d+8>>2]=(k*j-i*h)*f;c[e>>2]=c[a+56>>2];c[e+4>>2]=c[a+56+4>>2];c[e+8>>2]=c[a+56+8>>2];c[e+12>>2]=c[a+56+12>>2];return}function ck(b){b=b|0;var d=0,e=0,f=0;c[b>>2]=8972;e=c[b+12>>2]|0;if((e|0)>0){d=0;do{f=c[(c[b+20>>2]|0)+(d<<2)>>2]|0;if(f|0){Pa[c[c[f>>2]>>2]&511](f);f=c[b+4>>2]|0;Va[c[(c[f>>2]|0)+60>>2]&127](f,c[(c[b+20>>2]|0)+(d<<2)>>2]|0)}d=d+1|0}while((d|0)!=(e|0))}d=c[b+20>>2]|0;if(!d){a[b+24>>0]=1;c[b+20>>2]=0;c[b+12>>2]=0;b=b+16|0;c[b>>2]=0;return}if(a[b+24>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+20>>2]=0;a[b+24>>0]=1;c[b+20>>2]=0;c[b+12>>2]=0;b=b+16|0;c[b>>2]=0;return}function dk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0.0,f=0.0,h=0.0,i=0.0,j=0.0,k=0.0;i=+g[a+56>>2];k=+g[a+72>>2]-i;j=+g[a+60>>2];f=+g[a+76>>2]-j;d=+g[a+64>>2];h=+g[a+80>>2]-d;i=+g[a+88>>2]-i;j=+g[a+92>>2]-j;d=+g[a+96>>2]-d;g[c+12>>2]=0.0;e=1.0/+x(+((k*j-f*i)*(k*j-f*i)+((f*d-h*j)*(f*d-h*j)+(h*i-k*d)*(h*i-k*d))));g[c>>2]=(f*d-h*j)*e;g[c+4>>2]=(h*i-k*d)*e;g[c+8>>2]=(k*j-f*i)*e;if(!b)return;g[c>>2]=-((f*d-h*j)*e);g[c+4>>2]=-((h*i-k*d)*e);g[c+8>>2]=-((k*j-f*i)*e);return}function ek(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;h=c[a+720>>2]|0;g=c[a+752>>2]|0;if((g|0)<=0){h=0;return h|0}f=c[a+760>>2]|0;a=0;while(1){i=c[f+(a*44|0)+8>>2]|0;if(((i|0)==(h+(e*104|0)|0)|((i|0)==(h+(b*104|0)|0)|(i|0)==(h+(d*104|0)|0))?(i=c[f+(a*44|0)+12>>2]|0,(i|0)==(h+(e*104|0)|0)|((i|0)==(h+(b*104|0)|0)|(i|0)==(h+(d*104|0)|0))):0)?(i=c[f+(a*44|0)+16>>2]|0,(i|0)==(h+(e*104|0)|0)|((i|0)==(h+(b*104|0)|0)|(i|0)==(h+(d*104|0)|0))):0){a=1;f=7;break}a=a+1|0;if((a|0)>=(g|0)){a=0;f=7;break}}if((f|0)==7)return a|0;return 0}function fk(a,b){a=a|0;b=b|0;var c=0;c=sa;sa=sa+48|0;g[c+32>>2]=+Fo(b,a);g[c+28>>2]=+bo(b,a);g[c+24>>2]=+ao(b,a);g[c+20>>2]=+Fo(b,a+16|0);g[c+16>>2]=+bo(b,a+16|0);g[c+12>>2]=+ao(b,a+16|0);g[c+8>>2]=+Fo(b,a+32|0);g[c+4>>2]=+bo(b,a+32|0);g[c>>2]=+ao(b,a+32|0);Lo(a,c+32|0,c+28|0,c+24|0,c+20|0,c+16|0,c+12|0,c+8|0,c+4|0,c);sa=c;return}function gk(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0.0,h=0.0,i=0,j=0;i=c[a+96>>2]|0;j=c[a+104>>2]|0;f=+g[j+(((b|0)%(i|0)|0)<<4)+4>>2]*+g[a+16>>2];h=+g[j+(((b|0)%(i|0)|0)<<4)+8>>2]*+g[a+20>>2];g[d>>2]=+g[j+(((b|0)%(i|0)|0)<<4)>>2]*+g[a+12>>2];g[d+4>>2]=f;g[d+8>>2]=h;g[d+12>>2]=0.0;d=c[a+104>>2]|0;h=+g[d+(((b+1|0)%(i|0)|0)<<4)+4>>2]*+g[a+16>>2];f=+g[d+(((b+1|0)%(i|0)|0)<<4)+8>>2]*+g[a+20>>2];g[e>>2]=+g[d+(((b+1|0)%(i|0)|0)<<4)>>2]*+g[a+12>>2];g[e+4>>2]=h;g[e+8>>2]=f;g[e+12>>2]=0.0;return}function hk(a,b){a=a|0;b=b|0;var d=0,e=0,f=0.0,h=0,i=0;e=sa;sa=sa+32|0;d=c[a+184>>2]|0;if(+g[d+4>>2]==0.0){d=0;sa=e;return d|0}b=c[b>>2]|0;if(!(Ha[c[(c[d>>2]|0)+8>>2]&31](d,c[b+188>>2]|0)|0)){d=1;sa=e;return d|0}h=c[a+192>>2]|0;i=c[b+192>>2]|0;d=c[a+184>>2]|0;f=+g[a+188>>2];c[e>>2]=0;c[e+4>>2]=i;c[e+8>>2]=b;c[e+12>>2]=b+4;c[e+16>>2]=-1;c[e+20>>2]=-1;Eb(h,a+36|0,a+100|0,e,d,f);d=1;sa=e;return d|0}function ik(a,b){a=a|0;b=b|0;var d=0;d=sa;sa=sa+16|0;c[d>>2]=c[b>>2];c[d+4>>2]=c[b+4>>2];c[d+8>>2]=c[b+8>>2];c[d+12>>2]=c[b+12>>2];b=c[a+8>>2]|0;c[b+260>>2]=(c[b+260>>2]|0)+1;c[b+4>>2]=1065353216;c[b+8>>2]=0;c[b+8+4>>2]=0;c[b+8+8>>2]=0;c[b+8+12>>2]=0;c[b+24>>2]=1065353216;c[b+28>>2]=0;c[b+28+4>>2]=0;c[b+28+8>>2]=0;c[b+28+12>>2]=0;c[b+44>>2]=1065353216;c[b+48>>2]=0;c[b+52>>2]=c[d>>2];c[b+52+4>>2]=c[d+4>>2];c[b+52+8>>2]=c[d+8>>2];c[b+52+12>>2]=c[d+12>>2];sa=d;return}function jk(a){a=a|0;var b=0,d=0;b=sa;sa=sa+16|0;Ki(19276);d=c[a+68>>2]|0;Va[c[(c[d>>2]|0)+32>>2]&127](d,c[a+24>>2]|0);a=c[3084]|0;d=(c[a+16>>2]|0)+-1|0;c[a+16>>2]=d;if(d|0){sa=b;return}do if(c[a+4>>2]|0){la(b|0,0)|0;d=c[7181]|0;g[a+8>>2]=+g[a+8>>2]+ +(((c[b+4>>2]|0)-(c[d+4>>2]|0)+(((c[b>>2]|0)-(c[d>>2]|0)|0)*1e6|0)-(c[a+12>>2]|0)|0)>>>0)/1.0e3;if(!(c[a+16>>2]|0)){a=c[3084]|0;break}else{sa=b;return}}while(0);c[3084]=c[a+20>>2];sa=b;return}function kk(a,b){a=a|0;b=b|0;var d=0.0,e=0.0,f=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0;k=+va[c[(c[a>>2]|0)+48>>2]&15](a);h=+va[c[(c[a>>2]|0)+48>>2]&15](a);d=+va[c[(c[a>>2]|0)+48>>2]&15](a);m=(k+ +g[a+28>>2])/+g[a+12>>2];j=(h+ +g[a+32>>2])/+g[a+16>>2];f=(d+ +g[a+36>>2])/+g[a+20>>2];l=+w(+(+g[b>>2]));i=+w(+(+g[b+4>>2]));e=+w(+(+g[b+8>>2]));g[a+12>>2]=l;g[a+16>>2]=i;g[a+20>>2]=e;g[a+24>>2]=0.0;g[a+28>>2]=m*l-k;g[a+32>>2]=j*i-h;g[a+36>>2]=f*e-d;g[a+40>>2]=0.0;return}function lk(b,d){b=b|0;d=d|0;var e=0,f=0,h=0.0,i=0,j=0;if(a[b+527>>0]|0){c[d>>2]=0;c[d+4>>2]=0;return}c[d>>2]=3;c[d+4>>2]=3;j=c[b+28>>2]|0;i=c[b+32>>2]|0;Cb(b,j+4|0,i+4|0,j+264|0,i+264|0);if((a[b+526>>0]|0?(e=c[d>>2]|0,c[d>>2]=e+1,f=c[d+4>>2]|0,c[d+4>>2]=f+-1,h=+g[b+456>>2],+g[b+444>>2]>2]>2]=e+2;c[d+4>>2]=f+-2}if(!(a[b+525>>0]|0))return;c[d>>2]=(c[d>>2]|0)+1;c[d+4>>2]=(c[d+4>>2]|0)+-1;return}function mk(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;f=b+e|0;d=d&255;if((e|0)>=67){while(b&3){a[b>>0]=d;b=b+1|0}g=d|d<<8|d<<16|d<<24;while((b|0)<=((f&-4)-64|0)){c[b>>2]=g;c[b+4>>2]=g;c[b+8>>2]=g;c[b+12>>2]=g;c[b+16>>2]=g;c[b+20>>2]=g;c[b+24>>2]=g;c[b+28>>2]=g;c[b+32>>2]=g;c[b+36>>2]=g;c[b+40>>2]=g;c[b+44>>2]=g;c[b+48>>2]=g;c[b+52>>2]=g;c[b+56>>2]=g;c[b+60>>2]=g;b=b+64|0}while((b|0)<(f&-4|0)){c[b>>2]=g;b=b+4|0}}while((b|0)<(f|0)){a[b>>0]=d;b=b+1|0}return f-e|0}function nk(a,b,c,d,e,f,h,i,j,k){a=+a;b=+b;c=+c;d=+d;e=+e;f=+f;h=+h;i=+i;j=+j;k=k|0;if(!(((h-d)*b-(i-e)*a)*f+(((i-e)*c-(j-f)*b)*d+((j-f)*a-(h-d)*c)*e)<0.0)){k=0;return k|0}do if(!((h-d)*d+(i-e)*e+(j-f)*f>0.0))if((h-d)*h+(i-e)*i+(j-f)*j<0.0){a=h*h+i*i+j*j;break}else{a=((h*h+i*i+j*j)*(d*d+e*e+f*f)-(h*d+i*e+j*f)*(h*d+i*e+j*f))/((h-d)*(h-d)+(i-e)*(i-e)+(j-f)*(j-f));a=a>0.0?a:0.0;break}else a=d*d+e*e+f*f;while(0);g[k>>2]=+x(+a);k=1;return k|0}function ok(a,b){a=a|0;b=b|0;var d=0.0,e=0.0,f=0,h=0,i=0;b=c[b+36>>2]|0;i=c[b+8>>2]|0;h=c[b+12>>2]|0;f=c[b+16>>2]|0;e=+g[a+52>>2];d=+Yg(a+4|0,+g[a+36>>2],+g[a+40>>2],+g[a+44>>2],+g[i+8>>2],+g[i+12>>2],+g[i+16>>2],+g[h+8>>2],+g[h+12>>2],+g[h+16>>2],+g[f+8>>2],+g[f+12>>2],+g[f+16>>2],e);if(!(d>0.0&d>2]|0;h=h+1|0;c[i>>2]=h;return}g[a+52>>2]=d;c[a+56>>2]=b;i=a+60|0;h=c[i>>2]|0;h=h+1|0;c[i>>2]=h;return}function pk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0;a:do if(c>>>0>=3)if((c+-3|0)>>>0<3)switch(b|0){case 2:{d=+g[a+868+(c+-3<<6)+32>>2];break a}case 4:{d=+g[a+868+(c+-3<<6)+36>>2];break a}case 3:{d=+g[a+868+(c+-3<<6)+28>>2];break a}default:{d=0.0;break a}}else d=0.0;else switch(b|0){case 2:{d=+g[a+756+(c<<2)>>2];break a}case 4:{d=+g[a+772+(c<<2)>>2];break a}case 3:{d=+g[a+740+(c<<2)>>2];break a}default:{d=0.0;break a}}while(0);return +d}function qk(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0.0,h=0.0,i=0.0,j=0.0;Za[c[(c[b>>2]|0)+68>>2]&127](a,b,d);if(!(+va[c[(c[b>>2]|0)+48>>2]&15](b)!=0.0))return;h=+g[d>>2];e=+g[d+4>>2];f=+g[d+8>>2];j=h*h+e*e+f*f<1.4210854715202004e-14?-1.0:h;i=h*h+e*e+f*f<1.4210854715202004e-14?-1.0:e;f=h*h+e*e+f*f<1.4210854715202004e-14?-1.0:f;e=1.0/+x(+(f*f+(j*j+i*i)));h=+va[c[(c[b>>2]|0)+48>>2]&15](b);g[a>>2]=+g[a>>2]+h*j*e;g[a+4>>2]=+g[a+4>>2]+h*i*e;g[a+8>>2]=+g[a+8>>2]+h*f*e;return}function rk(b,d,e){b=b|0;d=d|0;e=+e;var f=0.0,h=0.0,i=0.0,j=0.0,k=0.0;a[b+171>>0]=0;c[b+60>>2]=c[d>>2];c[b+60+4>>2]=c[d+4>>2];c[b+60+8>>2]=c[d+8>>2];c[b+60+12>>2]=c[d+12>>2];f=+g[b+60>>2];h=+g[b+64>>2];i=+g[b+68>>2];j=1.0/+x(+(f*f+h*h+i*i));if(+x(+(i*j*i*j+(f*j*f*j+h*j*h*j)))<1.1920928955078125e-07){k=0.0;h=0.0;f=0.0;d=0}else{k=f*j;h=h*j;f=i*j;d=c[b+72>>2]|0}g[b+76>>2]=k;g[b+80>>2]=h;g[b+84>>2]=f;c[b+88>>2]=d;g[b+172>>2]=+g[b+172>>2]+e;return}function sk(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;do if(!(RC(b,c[d+8>>2]|0)|0)){if(RC(b,c[d>>2]|0)|0){if((c[d+16>>2]|0)!=(e|0)?(c[d+20>>2]|0)!=(e|0):0){c[d+32>>2]=f;c[d+20>>2]=e;c[d+40>>2]=(c[d+40>>2]|0)+1;if((c[d+36>>2]|0)==1?(c[d+24>>2]|0)==2:0)a[d+54>>0]=1;c[d+44>>2]=4;break}if((f|0)==1)c[d+32>>2]=1}}else Er(d,e,f);while(0);return}function tk(a){a=a|0;var b=0,d=0,e=0,f=0.0,g=0,h=0,i=0;e=sa;sa=sa+16|0;b=c[a+8>>2]|0;d=c[a+8+4>>2]|0;if((d|0)>-1|(d|0)==-1&b>>>0>4294967295){f=(+(b>>>0)+4294967296.0*+(d>>>0))*18446744073709551616.0+(+((c[a>>2]|0)>>>0)+4294967296.0*+((c[a+4>>2]|0)>>>0));sa=e;return +f}else{i=c[a>>2]|0;h=c[a+4>>2]|0;g=lv(0,0,i|0,h|0)|0;a=Q()|0;b=xv((i|0)==0&(h|0)==0&1|0,0,~b|0,~d|0)|0;d=Q()|0;c[e>>2]=g;c[e+4>>2]=a;c[e+8>>2]=b;c[e+8+4>>2]=d;f=-+tk(e);sa=e;return +f}return 0.0}function uk(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;a:do if(!(RC(b,c[d+8>>2]|0)|0)){h=c[b+12>>2]|0;In(b+16|0,d,e,f);if((h|0)>1){g=b+24|0;do{In(g,d,e,f);if(a[d+54>>0]|0)break a;g=g+8|0}while(g>>>0<(b+16+(h<<3)|0)>>>0)}}else sm(d,e,f);while(0);return}function vk(b,d,e,f,h){b=b|0;d=+d;e=e|0;f=f|0;h=h|0;g[b>>2]=d;c[b+4>>2]=e;c[b+72>>2]=f;c[b+76>>2]=c[h>>2];c[b+76+4>>2]=c[h+4>>2];c[b+76+8>>2]=c[h+8>>2];c[b+76+12>>2]=c[h+12>>2];g[b+92>>2]=0.0;g[b+96>>2]=0.0;g[b+100>>2]=.5;g[b+104>>2]=0.0;g[b+108>>2]=0.0;g[b+112>>2]=.800000011920929;g[b+116>>2]=1.0;a[b+120>>0]=0;g[b+124>>2]=.004999999888241291;g[b+128>>2]=.009999999776482582;g[b+132>>2]=.009999999776482582;g[b+136>>2]=.009999999776482582;sq(b+8|0);return}function wk(b,d,e){b=b|0;d=d|0;e=e|0;b=Nr(152)|0;c[b>>2]=7628;a[b+20>>0]=1;c[b+16>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;a[b+40>>0]=1;c[b+36>>2]=0;c[b+28>>2]=0;c[b+32>>2]=0;a[b+60>>0]=1;c[b+56>>2]=0;c[b+48>>2]=0;c[b+52>>2]=0;a[b+80>>0]=1;c[b+76>>2]=0;c[b+68>>2]=0;c[b+72>>2]=0;c[b+100>>2]=e;g[b+104>>2]=0.0;a[b+148>>0]=1;c[b+144>>2]=0;c[b+136>>2]=0;c[b+140>>2]=0;c[b+116>>2]=d;c[b+120>>2]=0;c[b+124>>2]=2;c[b+128>>2]=1;g[b+112>>2]=0.0;g[b+108>>2]=0.0;return b|0}function xk(b){b=b|0;var d=0,e=0,f=0;e=Nr(5260)|0;c[e>>2]=7940;c[e+4>>2]=2;a[e+24>>0]=1;c[e+20>>2]=0;c[e+12>>2]=0;c[e+16>>2]=0;c[e+28>>2]=8412;c[e+5256>>2]=b;c[e+60>>2]=80;c[e+64>>2]=Fa[c[(c[b>>2]|0)+12>>2]&127](b)|0;c[e+68>>2]=Fa[c[(c[b>>2]|0)+8>>2]&127](b)|0;b=0;do{d=0;do{f=c[e+5256>>2]|0;c[e+72+(b*144|0)+(d<<2)>>2]=Ja[c[(c[f>>2]|0)+16>>2]&63](f,b,d)|0;d=d+1|0}while(d>>>0<36);b=b+1|0}while(b>>>0<36);return e|0}function yk(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=Ha[c[(c[d>>2]|0)+40>>2]&31](d,a)|0;f=Ha[c[(c[d>>2]|0)+28>>2]&31](d,e)|0;c[b>>2]=f;if(f|0)Va[c[(c[d>>2]|0)+48>>2]&127](d,e);c[b+4>>2]=c[a+4>>2];c[b+28>>2]=c[a+28>>2];c[b+32>>2]=c[a+32>>2];c[b+36>>2]=c[a+36>>2];c[b+40>>2]=c[a+40>>2];c[b+12>>2]=c[a+12>>2];c[b+16>>2]=c[a+16>>2];c[b+20>>2]=c[a+20>>2];c[b+24>>2]=c[a+24>>2];c[b+44>>2]=c[a+44>>2];c[b+52>>2]=c[a+52>>2];return 22186}function zk(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=Ha[c[(c[d>>2]|0)+40>>2]&31](d,a)|0;f=Ha[c[(c[d>>2]|0)+28>>2]&31](d,e)|0;c[b>>2]=f;if(f|0)Va[c[(c[d>>2]|0)+48>>2]&127](d,e);c[b+4>>2]=c[a+4>>2];c[b+28>>2]=c[a+28>>2];c[b+32>>2]=c[a+32>>2];c[b+36>>2]=c[a+36>>2];c[b+40>>2]=c[a+40>>2];c[b+12>>2]=c[a+12>>2];c[b+16>>2]=c[a+16>>2];c[b+20>>2]=c[a+20>>2];c[b+24>>2]=c[a+24>>2];c[b+44>>2]=c[a+44>>2];c[b+52>>2]=c[a+52>>2];return 21730}function Ak(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=Ha[c[(c[d>>2]|0)+40>>2]&31](d,a)|0;f=Ha[c[(c[d>>2]|0)+28>>2]&31](d,e)|0;c[b>>2]=f;if(f|0)Va[c[(c[d>>2]|0)+48>>2]&127](d,e);c[b+4>>2]=c[a+4>>2];c[b+28>>2]=c[a+28>>2];c[b+32>>2]=c[a+32>>2];c[b+36>>2]=c[a+36>>2];c[b+40>>2]=c[a+40>>2];c[b+12>>2]=c[a+12>>2];c[b+16>>2]=c[a+16>>2];c[b+20>>2]=c[a+20>>2];c[b+24>>2]=c[a+24>>2];c[b+44>>2]=c[a+44>>2];c[b+52>>2]=c[a+68>>2];return 20750}function Bk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=sa;sa=sa+32|0;if(!(+g[a+344>>2]!=0.0)){sa=d;return}An(a,+g[b>>2],+g[b+4>>2],+g[b+8>>2]);if(!(JI(a+544|0)|0)){sa=d;return}rp(d,+g[b>>2],+g[b+4>>2],+g[b+8>>2],+g[a+348>>2],+g[a+352>>2],+g[a+356>>2]);Co(d+16|0,+g[c>>2],+g[c+4>>2],+g[c+8>>2],+g[d>>2],+g[d+4>>2],+g[d+8>>2]);Bn(a,+g[d+16>>2],+g[d+16+4>>2],+g[d+16+8>>2]);sa=d;return}function Ck(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;a[b+53>>0]=1;do if((c[b+4>>2]|0)==(e|0)){a[b+52>>0]=1;e=c[b+16>>2]|0;if(!e){c[b+16>>2]=d;c[b+24>>2]=f;c[b+36>>2]=1;if(!((f|0)==1?(c[b+48>>2]|0)==1:0))break;a[b+54>>0]=1;break}if((e|0)!=(d|0)){c[b+36>>2]=(c[b+36>>2]|0)+1;a[b+54>>0]=1;break}e=c[b+24>>2]|0;if((e|0)==2){c[b+24>>2]=f;e=f}if((e|0)==1?(c[b+48>>2]|0)==1:0)a[b+54>>0]=1}while(0);return}function Dk(a,b,d){a=a|0;b=+b;d=d|0;var e=0,f=0.0,h=0.0,i=0.0,j=0,k=0;e=sa;sa=sa+16|0;j=c[a+52>>2]|0;k=c[a+28+(((j+2|0)%3|0)<<2)>>2]|0;c[e>>2]=k;c[e+4>>2]=k;c[e+8>>2]=k;g[e+12>>2]=0.0;g[e+(j<<2)>>2]=+g[a+28+(j<<2)>>2]+ +g[e+(j<<2)>>2];h=(+g[e>>2]+.03999999910593033)*2.0;f=(+g[e+4>>2]+.03999999910593033)*2.0;i=(+g[e+8>>2]+.03999999910593033)*2.0;g[d>>2]=b*.0833333283662796*(f*f+i*i);g[d+4>>2]=b*.0833333283662796*(h*h+i*i);g[d+8>>2]=b*.0833333283662796*(h*h+f*f);sa=e;return}function Ek(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;g=sa;sa=sa+64|0;if(!(RC(a,b)|0))if((b|0)!=0?(f=zi(b,5176)|0,(f|0)!=0):0){b=g+4|0;e=b+52|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(e|0));c[g>>2]=f;c[g+8>>2]=a;c[g+12>>2]=-1;c[g+48>>2]=1;ab[c[(c[f>>2]|0)+28>>2]&127](f,g,c[d>>2]|0,1);if((c[g+24>>2]|0)==1){c[d>>2]=c[g+16>>2];b=1}else b=0}else b=0;else b=1;sa=g;return b|0}function Fk(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0.0,f=0.0,h=0.0,i=0,j=0.0,k=0.0,l=0.0,m=0;if((d|0)<=0)return;m=0;do{e=+g[a+32>>2];h=+g[a+28>>2];i=b+(m<<4)|0;k=+g[b+(m<<4)+4>>2];f=+g[b+(m<<4)+8>>2];l=+x(+(k*k+f*f));if(l!=0.0){j=f*(e/l);f=+g[i>>2]<0.0?-h:h;e=k*(e/l)}else{j=0.0;f=+g[i>>2]<0.0?-h:h}g[c+(m<<4)>>2]=f;g[c+(m<<4)+4>>2]=e;g[c+(m<<4)+8>>2]=j;m=m+1|0}while((m|0)!=(d|0));return}function Gk(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;j=c[b>>2]|0;if(!e)e=c[a+188>>2]|0;i=c[a+268>>2]|0;if((i|0)<=0)return;h=c[a+276>>2]|0;f=0;while(1){g=h+(f<<2)|0;if((c[g>>2]|0)==(j|0))break;f=f+1|0;if((f|0)>=(i|0)){k=9;break}}if((k|0)==9)return;if((f|0)>=(i|0))return;c[g>>2]=c[h+(i+-1<<2)>>2];c[a+268>>2]=i+-1;k=c[a+284>>2]|0;Ka[c[(c[k>>2]|0)+12>>2]&31](k,e,b,d)|0;return}function Hk(b,d){b=b|0;d=d|0;var e=0;e=Bs()|0;c[e+8>>2]=0;c[e+12>>2]=1065353216;c[e+16>>2]=1065353216;c[e+20>>2]=1065353216;g[e+24>>2]=0.0;g[e+44>>2]=.03999999910593033;c[e+52>>2]=0;c[e+56>>2]=1065353216;c[e+60>>2]=1065353216;c[e+64>>2]=1065353216;g[e+68>>2]=0.0;c[e+72>>2]=-1082130432;c[e+76>>2]=-1082130432;c[e+80>>2]=-1082130432;g[e+84>>2]=0.0;a[e+88>>0]=0;c[e>>2]=10600;c[e+92>>2]=b;c[e+4>>2]=3;if(!d)return e|0;Oi(e);return e|0}function Ik(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;e=sa;sa=sa+32|0;d=c[a+216>>2]|0;if(+g[d+4>>2]==0.0){d=0;sa=e;return d|0}b=c[b>>2]|0;if(!(Ha[c[(c[d>>2]|0)+8>>2]&31](d,c[b+188>>2]|0)|0)){d=1;sa=e;return d|0}f=c[b+192>>2]|0;d=c[a+216>>2]|0;c[e>>2]=0;c[e+4>>2]=f;c[e+8>>2]=b;c[e+12>>2]=b+4;c[e+16>>2]=-1;c[e+20>>2]=-1;_b(a+68|0,a+132|0,e,d);d=1;sa=e;return d|0}function Jk(b,d,e,f,h){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;var i=0;i=ds()|0;Td(i,b,d,e,f,h);c[i>>2]=7244;c[i+4>>2]=9;a[i+1309>>0]=0;a[i+1309+1>>0]=0;a[i+1309+2>>0]=0;a[i+1309+3>>0]=0;a[i+1309+4>>0]=0;a[i+1309+5>>0]=0;b=i+1316|0;d=b+48|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(d|0));g[i+1364>>2]=1.0;g[i+1368>>2]=1.0;g[i+1372>>2]=1.0;g[i+1376>>2]=1.0;g[i+1380>>2]=1.0;g[i+1384>>2]=1.0;return i|0}function Kk(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=Ha[c[(c[d>>2]|0)+40>>2]&31](d,a)|0;f=Ha[c[(c[d>>2]|0)+28>>2]&31](d,e)|0;c[b>>2]=f;if(f|0)Va[c[(c[d>>2]|0)+48>>2]&127](d,e);c[b+4>>2]=c[a+4>>2];c[b+28>>2]=c[a+28>>2];c[b+32>>2]=c[a+32>>2];c[b+36>>2]=c[a+36>>2];c[b+40>>2]=c[a+40>>2];c[b+12>>2]=c[a+12>>2];c[b+16>>2]=c[a+16>>2];c[b+20>>2]=c[a+20>>2];c[b+24>>2]=c[a+24>>2];c[b+44>>2]=c[a+44>>2];return 15391}function Lk(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=Ha[c[(c[d>>2]|0)+40>>2]&31](d,a)|0;f=Ha[c[(c[d>>2]|0)+28>>2]&31](d,e)|0;c[b>>2]=f;if(f|0)Va[c[(c[d>>2]|0)+48>>2]&127](d,e);c[b+4>>2]=c[a+4>>2];c[b+12>>2]=c[a+68>>2];c[b+16>>2]=c[a+72>>2];c[b+20>>2]=c[a+76>>2];c[b+24>>2]=c[a+80>>2];c[b+28>>2]=c[a+48>>2];c[b+32>>2]=c[a+52>>2];c[b+36>>2]=c[a+56>>2];c[b+40>>2]=c[a+60>>2];c[b+44>>2]=c[a+64>>2];return 21427}function Mk(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0.0,f=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0;if((d|0)<=0)return;l=0;do{e=+g[a+28>>2];h=+g[a+36>>2];j=+g[b+(l<<4)>>2];f=+g[b+(l<<4)+4>>2];k=+x(+(j*j+f*f));if(k!=0.0){i=f*(e/k);f=+g[b+(l<<4)+8>>2]<0.0?-h:h;e=j*(e/k)}else{i=0.0;f=+g[b+(l<<4)+8>>2]<0.0?-h:h}g[c+(l<<4)>>2]=e;g[c+(l<<4)+4>>2]=i;g[c+(l<<4)+8>>2]=f;l=l+1|0}while((l|0)!=(d|0));return}function Nk(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0.0,f=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0;if((d|0)<=0)return;l=0;do{e=+g[a+28>>2];h=+g[a+32>>2];j=+g[b+(l<<4)>>2];f=+g[b+(l<<4)+8>>2];k=+x(+(j*j+f*f));if(k!=0.0){i=f*(e/k);f=+g[b+(l<<4)+4>>2]<0.0?-h:h;e=j*(e/k)}else{i=0.0;f=+g[b+(l<<4)+4>>2]<0.0?-h:h}g[c+(l<<4)>>2]=e;g[c+(l<<4)+4>>2]=f;g[c+(l<<4)+8>>2]=i;l=l+1|0}while((l|0)!=(d|0));return}function Ok(b,d){b=b|0;d=d|0;var e=0.0,f=0.0,h=0.0,i=0.0,j=0.0;a[b+171>>0]=1;c[b+60>>2]=c[d>>2];c[b+60+4>>2]=c[d+4>>2];c[b+60+8>>2]=c[d+8>>2];c[b+60+12>>2]=c[d+12>>2];e=+g[b+60>>2];f=+g[b+64>>2];h=+g[b+68>>2];i=1.0/+x(+(e*e+f*f+h*h));if(+x(+(h*i*h*i+(e*i*e*i+f*i*f*i)))<1.1920928955078125e-07){j=0.0;f=0.0;e=0.0;d=0}else{j=e*i;f=f*i;e=h*i;d=c[b+72>>2]|0}g[b+76>>2]=j;g[b+80>>2]=f;g[b+84>>2]=e;c[b+88>>2]=d;return}function Pk(a,b){a=a|0;b=b|0;var d=0.0,e=0.0,f=0.0,h=0,i=0,j=0;j=c[a+68>>2]|0;i=c[a+64>>2]|0;h=c[a+72>>2]|0;e=+g[a+60>>2]*(+g[b+(j<<2)>>2]/+g[a+12+(j<<2)>>2]);g[a+60>>2]=e;f=+g[a+56>>2]*(+g[b+(i<<2)>>2]/+g[a+12+(i<<2)>>2]+ +g[b+(h<<2)>>2]/+g[a+12+(h<<2)>>2])*.5;g[a+56>>2]=f;g[a+52>>2]=f/+x(+(e*e+f*f));f=+w(+(+g[b>>2]));e=+w(+(+g[b+4>>2]));d=+w(+(+g[b+8>>2]));g[a+12>>2]=f;g[a+16>>2]=e;g[a+20>>2]=d;g[a+24>>2]=0.0;return}function Qk(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=sa;sa=sa+48|0;c[f+32>>2]=11848;c[f+32+4>>2]=e;c[f>>2]=c[b>>2];c[f+4>>2]=c[b+4>>2];c[f+8>>2]=c[b+8>>2];c[f+12>>2]=c[b+12>>2];c[f+16>>2]=c[d>>2];c[f+16+4>>2]=c[d+4>>2];c[f+16+8>>2]=c[d+8>>2];c[f+16+12>>2]=c[d+12>>2];le(c[a+4>>2]|0,f,f+32|0);le(c[a+64>>2]|0,f,f+32|0);sa=f;return}function Rk(b,d){b=b|0;d=+d;var e=0,f=0,h=0.0;d=1.0/+g[(c[b+116>>2]|0)+344>>2];if((c[b+136>>2]|0)<=0)return;e=0;do{f=c[b+144>>2]|0;if(!(a[f+(e*284|0)+84>>0]|0))h=0.0;else{h=+g[f+(e*284|0)+272>>2];h=d*(+g[f+(e*284|0)+216>>2]*(+g[f+(e*284|0)+204>>2]-+g[f+(e*284|0)+32>>2])*+g[f+(e*284|0)+268>>2]-h*+g[(h<0.0?f+(e*284|0)+220|0:f+(e*284|0)+224|0)>>2]);h=h<0.0?0.0:h}g[f+(e*284|0)+276>>2]=h;e=e+1|0}while((e|0)<(c[b+136>>2]|0));return}function Sk(a,b,c,d){a=a|0;b=+b;c=+c;d=+d;var e=0,f=0.0,h=0.0,i=0.0;e=sa;sa=sa+48|0;f=+zI(b);h=+zI(c);i=+zI(d);b=+yI(b);c=+yI(c);d=+yI(d);g[e+32>>2]=h*i;g[e+28>>2]=c*b*i-f*d;g[e+24>>2]=c*f*i+b*d;g[e+20>>2]=h*d;g[e+16>>2]=c*b*d+f*i;g[e+12>>2]=c*f*d-b*i;g[e+8>>2]=-c;g[e+4>>2]=h*b;g[e>>2]=h*f;Lo(a,e+32|0,e+28|0,e+24|0,e+20|0,e+16|0,e+12|0,e+8|0,e+4|0,e);sa=e;return}function Tk(a,d,f,g,h,i){a=a|0;d=d|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0;j=c[a+108>>2]|0;if(j|0){gb[c[(c[j>>2]|0)+24>>2]&7](j,d,f,g,h,i);return}d=b[a+56>>1]|0;if(!(d<<16>>16))return;h=1;i=1;do{f=c[a+68>>2]|0;if(b[f+(i<<2)>>1]&1){Ha[c[(c[g>>2]|0)+8>>2]&31](g,(c[a+60>>2]|0)+((e[f+(i<<2)+2>>1]|0)<<6)|0)|0;d=b[a+56>>1]|0}h=h+1<<16>>16;i=h&65535}while(((d&65535)<<1|1)>>>0>i>>>0);return}function Uk(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;b=c[d>>2]|0;b=Ha[c[(c[b>>2]|0)+56>>2]&31](b,80)|0;d=c[d>>2]|0;c[b+4>>2]=d;c[b>>2]=8316;a[b+8>>0]=1;c[b+12>>2]=8364;c[b+60>>2]=d;c[b+64>>2]=0;c[b+16>>2]=f;c[b+20>>2]=e;f=Ja[c[(c[d>>2]|0)+12>>2]&63](d,c[f+8>>2]|0,c[e+8>>2]|0)|0;c[b+76>>2]=f;e=c[b+60>>2]|0;Va[c[(c[e>>2]|0)+20>>2]&127](e,f);return b|0}function Vk(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0,h=0.0,i=0.0;e=+g[a+28>>2];i=+g[a+32>>2];h=+g[a+36>>2];switch(d|0){case 0:{a=0;d=0;f=1065353216;break}case 1:{a=0;d=0;f=-1082130432;break}case 2:{a=0;d=1065353216;f=0;e=i;break}case 3:{a=0;d=-1082130432;f=0;e=i;break}case 4:{a=1065353216;d=0;f=0;e=h;break}case 5:{a=-1082130432;d=0;f=0;e=h;break}default:return}c[b>>2]=f;c[b+4>>2]=d;c[b+8>>2]=a;g[b+12>>2]=-e;return}function Wk(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;b=c[d>>2]|0;b=Ha[c[(c[b>>2]|0)+56>>2]&31](b,80)|0;d=c[d>>2]|0;c[b+4>>2]=d;c[b>>2]=8316;a[b+8>>0]=0;c[b+12>>2]=8364;c[b+60>>2]=d;c[b+64>>2]=0;c[b+16>>2]=e;c[b+20>>2]=f;f=Ja[c[(c[d>>2]|0)+12>>2]&63](d,c[e+8>>2]|0,c[f+8>>2]|0)|0;c[b+76>>2]=f;e=c[b+60>>2]|0;Va[c[(c[e>>2]|0)+20>>2]&127](e,f);return b|0}function Xk(b){b=b|0;var d=0;c[b>>2]=7896;d=c[b+284>>2]|0;Pa[c[c[d>>2]>>2]&511](d);d=c[b+284>>2]|0;if(d|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b>>2]=7852;d=c[b+276>>2]|0;if(!d){a[b+280>>0]=1;c[b+276>>2]=0;c[b+268>>2]=0;d=b+272|0;c[d>>2]=0;c[b>>2]=7816;return}if(a[b+280>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+276>>2]=0;a[b+280>>0]=1;c[b+276>>2]=0;c[b+268>>2]=0;d=b+272|0;c[d>>2]=0;c[b>>2]=7816;return}function Yk(a){a=a|0;var b=0,d=0,e=0,f=0.0,h=0.0;e=c[a+232>>2]|0;if((e|0)<=0)return;b=c[a+240>>2]|0;a=0;do{d=c[b+(a<<2)>>2]|0;switch(c[d+216>>2]|0){case 2:case 5:break;default:if(!(c[d+204>>2]&3)){h=+g[d+368>>2]*+g[d+352>>2];f=+g[d+372>>2]*+g[d+356>>2];g[d+412>>2]=+g[d+364>>2]*+g[d+348>>2]+ +g[d+412>>2];g[d+416>>2]=h+ +g[d+416>>2];g[d+420>>2]=f+ +g[d+420>>2]}}a=a+1|0}while((a|0)!=(e|0));return}function Zk(a,b){a=a|0;b=b|0;var c=0,d=0.0,e=0.0,f=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0;c=sa;sa=sa+16|0;l=+g[a+12>>2];i=+g[(JI(b)|0)>>2];j=+g[a>>2];k=+g[b+12>>2];h=+g[a+4>>2];d=+g[(nI(b)|0)>>2];e=+g[a+8>>2];f=+g[(oI(b)|0)>>2];g[c+12>>2]=l*i+j*k+h*d-e*f;g[c+8>>2]=l*f+h*k+e*i-j*d;g[c+4>>2]=l*d+e*k+j*f-h*i;g[c>>2]=l*k-j*i-h*f-e*d;tr(a,c+12|0,c+8|0,c+4|0,c);sa=c;return a|0}function _k(b){b=b|0;var d=0;d=Bs()|0;c[d+8>>2]=0;c[d+12>>2]=1065353216;c[d+16>>2]=1065353216;c[d+20>>2]=1065353216;g[d+24>>2]=0.0;g[d+44>>2]=.03999999910593033;c[d+52>>2]=0;c[d+56>>2]=1065353216;c[d+60>>2]=1065353216;c[d+64>>2]=1065353216;g[d+68>>2]=0.0;c[d+72>>2]=-1082130432;c[d+76>>2]=-1082130432;c[d+80>>2]=-1082130432;g[d+84>>2]=0.0;a[d+88>>0]=0;c[d>>2]=10600;c[d+92>>2]=b;c[d+4>>2]=3;Oi(d);return d|0}function $k(a,b){a=a|0;b=+b;var d=0.0,e=0.0,f=0.0,h=0.0,i=0.0;h=+va[c[(c[a>>2]|0)+48>>2]&15](a);e=+va[c[(c[a>>2]|0)+48>>2]&15](a);i=+va[c[(c[a>>2]|0)+48>>2]&15](a);h=h+ +g[a+28>>2];e=e+ +g[a+32>>2];i=i+ +g[a+36>>2];g[a+44>>2]=b;f=+va[c[(c[a>>2]|0)+48>>2]&15](a);d=+va[c[(c[a>>2]|0)+48>>2]&15](a);b=i-+va[c[(c[a>>2]|0)+48>>2]&15](a);g[a+28>>2]=h-f;g[a+32>>2]=e-d;g[a+36>>2]=b;g[a+40>>2]=0.0;return}function al(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;f=ds()|0;fd(f,b,d,e);c[f>>2]=7244;c[f+4>>2]=9;a[f+1309>>0]=0;a[f+1309+1>>0]=0;a[f+1309+2>>0]=0;a[f+1309+3>>0]=0;a[f+1309+4>>0]=0;a[f+1309+5>>0]=0;b=f+1316|0;d=b+48|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(d|0));g[f+1364>>2]=1.0;g[f+1368>>2]=1.0;g[f+1372>>2]=1.0;g[f+1376>>2]=1.0;g[f+1380>>2]=1.0;g[f+1384>>2]=1.0;return f|0}function bl(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;f=(a[b+16>>0]|0)==0;h=c[(f?d:e)+8>>2]|0;e=f?e:d;f=c[e+8>>2]|0;g=c[h+268>>2]|0;a:do if((g|0)>0){d=c[h+276>>2]|0;b=0;while(1){if((c[d+(b<<2)>>2]|0)==(f|0))break;b=b+1|0;if((b|0)>=(g|0))break a}if((b|0)!=(g|0))return}while(0);d=c[h+284>>2]|0;Za[c[(c[d>>2]|0)+36>>2]&127](d,h,e);return}function cl(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;b=c[d>>2]|0;b=Ha[c[(c[b>>2]|0)+56>>2]&31](b,16)|0;d=c[d>>2]|0;c[b+4>>2]=d;c[b>>2]=8384;a[b+8>>0]=0;c[b+12>>2]=0;if(!(Ja[c[(c[d>>2]|0)+24>>2]&63](d,c[e+8>>2]|0,c[f+8>>2]|0)|0))return b|0;d=c[b+4>>2]|0;c[b+12>>2]=Ja[c[(c[d>>2]|0)+12>>2]&63](d,c[e+8>>2]|0,c[f+8>>2]|0)|0;a[b+8>>0]=1;return b|0}function dl(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0.0,h=0.0,i=0.0,j=0.0,k=0.0;i=+va[c[(c[a>>2]|0)+48>>2]&15](a);h=+va[c[(c[a>>2]|0)+48>>2]&15](a);f=+va[c[(c[a>>2]|0)+48>>2]&15](a);k=+g[b+52>>2]-h;j=+g[b+56>>2]-f;g[d>>2]=+g[b+48>>2]-i;g[d+4>>2]=k;g[d+8>>2]=j;g[d+12>>2]=0.0;h=h+ +g[b+52>>2];f=f+ +g[b+56>>2];g[e>>2]=i+ +g[b+48>>2];g[e+4>>2]=h;g[e+8>>2]=f;g[e+12>>2]=0.0;return}function el(b,d){b=b|0;d=d|0;var e=0;a[b+148>>0]=0;a:do if(kd(b,d)|0){e=0;while(1){a[b+148>>0]=1;if(e>>>0>3)break a;if(kd(b,d)|0)e=e+1|0;else break}}while(0);d=(c[b+8>>2]|0)+52|0;c[b+92>>2]=c[d>>2];c[b+92+4>>2]=c[d+4>>2];c[b+92+8>>2]=c[d+8>>2];c[b+92+12>>2]=c[d+12>>2];fp(b+112|0,d|0,16)|0;return}function fl(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;g=c[a+720>>2]|0;h=c[a+732>>2]|0;if((h|0)<=0){h=0;return h|0}e=c[a+740>>2]|0;a=0;while(1){f=c[e+(a*52|0)+8>>2]|0;if((f|0)==(g+(b*104|0)|0)?(c[e+(a*52|0)+12>>2]|0)==(g+(d*104|0)|0):0){a=1;e=8;break}if((f|0)==(g+(d*104|0)|0)?(c[e+(a*52|0)+12>>2]|0)==(g+(b*104|0)|0):0){a=1;e=8;break}a=a+1|0;if((a|0)>=(h|0)){a=0;e=8;break}}if((e|0)==8)return a|0;return 0}function gl(a){a=a|0;var b=0,d=0,e=0.0,f=0.0;if((c[a+136>>2]|0)<=0)return;b=0;do{d=c[a+144>>2]|0;c[d+(b*284|0)+32>>2]=c[d+(b*284|0)+204>>2];g[d+(b*284|0)+272>>2]=0.0;f=-+g[d+(b*284|0)+56>>2];e=-+g[d+(b*284|0)+60>>2];g[d+(b*284|0)>>2]=-+g[d+(b*284|0)+52>>2];g[d+(b*284|0)+4>>2]=f;g[d+(b*284|0)+8>>2]=e;g[d+(b*284|0)+12>>2]=0.0;g[d+(b*284|0)+268>>2]=1.0;b=b+1|0}while((b|0)<(c[a+136>>2]|0));return}function hl(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;g=c[d>>2]|0;g=Ha[c[(c[g>>2]|0)+56>>2]&31](g,20)|0;h=c[d+4>>2]|0;i=a[b+4>>0]|0;b=c[d>>2]|0;c[g+4>>2]=b;c[g>>2]=8812;a[g+8>>0]=0;c[g+12>>2]=h;a[g+16>>0]=i;if(h|0)return g|0;c[g+12>>2]=Ja[c[(c[b>>2]|0)+12>>2]&63](b,c[e+8>>2]|0,c[f+8>>2]|0)|0;a[g+8>>0]=1;return g|0}function il(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0.0,h=0.0,i=0.0,j=0.0;j=+g[d>>2];i=+g[d+4>>2];e=+g[d+8>>2];f=j*+g[b+56>>2]+i*+g[b+60>>2]+e*+g[b+64>>2];h=j*+g[b+72>>2]+i*+g[b+76>>2]+e*+g[b+80>>2];e=j*+g[b+88>>2]+i*+g[b+92>>2]+e*+g[b+96>>2];d=b+56+((f>2]=c[d>>2];c[a+4>>2]=c[d+4>>2];c[a+8>>2]=c[d+8>>2];c[a+12>>2]=c[d+12>>2];return}function jl(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;b=c[d>>2]|0;b=Ha[c[(c[b>>2]|0)+56>>2]&31](b,44)|0;c[b+4>>2]=c[d>>2];c[b>>2]=8972;a[b+24>>0]=1;c[b+20>>2]=0;c[b+12>>2]=0;c[b+16>>2]=0;a[b+28>>0]=1;c[b+32>>2]=c[d+4>>2];a[b+36>>0]=0;c[b+40>>2]=c[(c[f+4>>2]|0)+68>>2];ug(b,e,f);return b|0}function kl(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;if(c>>>0>0|(c|0)==0&b>>>0>4294967295){do{e=b;b=VA(b|0,c|0,10,0)|0;f=c;c=Q()|0;g=Vr(b|0,c|0,-10,-1)|0;g=xv(e|0,f|0,g|0,Q()|0)|0;Q()|0;d=d+-1|0;a[d>>0]=g&255|48}while(f>>>0>9|(f|0)==9&e>>>0>4294967295);c=b}else c=b;if(c)do{g=c;c=(c>>>0)/10|0;d=d+-1|0;a[d>>0]=g+(J(c,-10)|0)|48}while(g>>>0>=10);return d|0}function ll(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0,h=0.0,i=0.0,j=0.0,k=0.0;k=+g[a+28>>2];i=+g[a+32>>2];e=+g[a+36>>2];j=+va[c[(c[a>>2]|0)+48>>2]&15](a);h=+va[c[(c[a>>2]|0)+48>>2]&15](a);e=e+ +va[c[(c[a>>2]|0)+48>>2]&15](a);f=(1?b>>>1:b)&1;a=(2?b>>>2:b)&1;g[d>>2]=(k+j)*+(b&1^1|0)-(k+j)*+(b&1|0);g[d+4>>2]=(i+h)*+(f^1|0)-(i+h)*+(f|0);g[d+8>>2]=e*+(a^1|0)-e*+(a|0);g[d+12>>2]=0.0;return}function ml(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;b=c[d>>2]|0;b=Ha[c[(c[b>>2]|0)+56>>2]&31](b,44)|0;c[b+4>>2]=c[d>>2];c[b>>2]=8972;a[b+24>>0]=1;c[b+20>>2]=0;c[b+12>>2]=0;c[b+16>>2]=0;a[b+28>>0]=0;c[b+32>>2]=c[d+4>>2];a[b+36>>0]=0;c[b+40>>2]=c[(c[e+4>>2]|0)+68>>2];ug(b,e,f);return b|0}function nl(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;f=c[d>>2]|0;f=Ha[c[(c[f>>2]|0)+56>>2]&31](f,36)|0;h=c[d+4>>2]|0;j=c[b+12>>2]|0;i=c[b+8>>2]|0;g=c[b+16>>2]|0;e=c[b+20>>2]|0;c[f+4>>2]=c[d>>2];c[f>>2]=8860;c[f+8>>2]=j;c[f+12>>2]=i;a[f+16>>0]=0;c[f+20>>2]=h;a[f+24>>0]=0;c[f+28>>2]=g;c[f+32>>2]=e;return f|0}function ol(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=sa;sa=sa+48|0;c[f>>2]=9836;c[f+4>>2]=b;c[f+8>>2]=c[d>>2];c[f+8+4>>2]=c[d+4>>2];c[f+8+8>>2]=c[d+8>>2];c[f+8+12>>2]=c[d+12>>2];c[f+24>>2]=c[e>>2];c[f+24+4>>2]=c[e+4>>2];c[f+24+8>>2]=c[e+8>>2];c[f+24+12>>2]=c[e+12>>2];b=c[a+48>>2]|0;ab[c[(c[b>>2]|0)+8>>2]&127](b,f,d,e);sa=f;return}function pl(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;do if((c[d+76>>2]|0)>=0?(MI()|0)!=0:0){if((b&255|0)!=(a[d+75>>0]|0)?(f=c[d+20>>2]|0,f>>>0<(c[d+16>>2]|0)>>>0):0){c[d+20>>2]=f+1;a[f>>0]=b;b=b&255;break}b=sl(d,b)|0}else g=3;while(0);do if((g|0)==3){if((b&255|0)!=(a[d+75>>0]|0)?(e=c[d+20>>2]|0,e>>>0<(c[d+16>>2]|0)>>>0):0){c[d+20>>2]=e+1;a[e>>0]=b;b=b&255;break}b=sl(d,b)|0}while(0);return b|0}function ql(a,b,d){a=a|0;b=+b;d=d|0;var e=0.0,f=0.0,h=0.0,i=0.0,j=0.0;i=+g[a+28>>2];f=+g[a+32>>2];j=+g[a+36>>2];h=+va[c[(c[a>>2]|0)+48>>2]&15](a);e=+va[c[(c[a>>2]|0)+48>>2]&15](a);j=(j+ +va[c[(c[a>>2]|0)+48>>2]&15](a))*2.0;g[d>>2]=b/12.0*((f+e)*2.0*(f+e)*2.0+j*j);g[d+4>>2]=b/12.0*((i+h)*2.0*(i+h)*2.0+j*j);g[d+8>>2]=b/12.0*((i+h)*2.0*(i+h)*2.0+(f+e)*2.0*(f+e)*2.0);g[d+12>>2]=0.0;return}function rl(a,b){a=a|0;b=+b;var d=0,e=0.0,f=0.0,h=0.0,i=0.0;d=zs()|0;c[d+4>>2]=35;c[d+8>>2]=0;g[d+12>>2]=0.0;c[d>>2]=9856;i=+g[a>>2];h=+g[a+4>>2];f=+g[a+8>>2];a=c[a+12>>2]|0;e=1.0/+x(+(i*i+h*h+f*f));g[d+48>>2]=i*e;g[d+52>>2]=h*e;g[d+56>>2]=f*e;c[d+60>>2]=a;g[d+64>>2]=b;c[d+68>>2]=0;c[d+68+4>>2]=0;c[d+68+8>>2]=0;c[d+68+12>>2]=0;c[d+4>>2]=28;return d|0}function sl(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0;i=sa;sa=sa+16|0;a[i>>0]=e;f=c[b+16>>2]|0;if(!f)if(!(_n(b)|0)){g=c[b+16>>2]|0;h=4}else f=-1;else{g=f;h=4}do if((h|0)==4){f=c[b+20>>2]|0;if(f>>>0>>0?(e&255|0)!=(a[b+75>>0]|0):0){c[b+20>>2]=f+1;a[f>>0]=e;f=e&255;break}if((Ja[c[b+36>>2]&63](b,i,1)|0)==1)f=d[i>>0]|0;else f=-1}while(0);sa=i;return f|0}function tl(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=sa;sa=sa+32|0;Ap(a,+g[b>>2],+g[b+4>>2],+g[b+8>>2]);rp(d,+g[b>>2],+g[b+4>>2],+g[b+8>>2],+g[a+348>>2],+g[a+352>>2],+g[a+356>>2]);Co(d+16|0,+g[c>>2],+g[c+4>>2],+g[c+8>>2],+g[d>>2],+g[d+4>>2],+g[d+8>>2]);Fp(a,+g[d+16>>2],+g[d+16+4>>2],+g[d+16+8>>2]);sa=d;return}function ul(a,b){a=a|0;b=b|0;var d=0;d=sa;sa=sa+64|0;c[d>>2]=1065353216;c[d+4>>2]=0;c[d+4+4>>2]=0;c[d+4+8>>2]=0;c[d+4+12>>2]=0;c[d+20>>2]=1065353216;c[d+24>>2]=0;c[d+24+4>>2]=0;c[d+24+8>>2]=0;c[d+24+12>>2]=0;c[d+40>>2]=1065353216;c[d+44>>2]=0;c[d+48>>2]=c[b>>2];c[d+48+4>>2]=c[b+4>>2];c[d+48+8>>2]=c[b+8>>2];c[d+48+12>>2]=c[b+12>>2];Vc(a,d);sa=d;return}function vl(a,b,c,d,e){a=a|0;b=b|0;c=+c;d=+d;e=+e;var f=0,h=0;f=sa;sa=sa+16|0;h=xG(b,0)|0;g[f+8>>2]=+Xx(+g[h>>2],+g[h+4>>2],+g[h+8>>2],c,d,e);h=xG(b,1)|0;g[f+4>>2]=+Xx(+g[h>>2],+g[h+4>>2],+g[h+8>>2],c,d,e);b=xG(b,2)|0;g[f>>2]=+Xx(+g[b>>2],+g[b+4>>2],+g[b+8>>2],c,d,e);ns(a,f+8|0,f+4|0,f);sa=f;return}function wl(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;if((d|0)==0?1:(c[d+236>>2]&2|0)==0){g=1;return g|0}g=c[b+488>>2]|0;if((g|0)<=0){g=1;return g|0}e=c[b+496>>2]|0;b=0;while(1){f=c[e+(b<<2)>>2]|0;if(a[f+20>>0]|0){if((c[f+28>>2]|0)==(d|0)){b=0;e=8;break}if((c[f+32>>2]|0)==(d|0)){b=0;e=8;break}}b=b+1|0;if((b|0)>=(g|0)){b=1;e=8;break}}if((e|0)==8)return b|0;return 0}function xl(a,b,c,d,e){a=a|0;b=b|0;c=+c;d=+d;e=+e;var f=0,h=0,i=0,j=0;f=sa;sa=sa+16|0;j=xG(b,0)|0;i=xG(b,1)|0;h=xG(b,2)|0;im(f,c,d,e,+g[j>>2],+g[j+4>>2],+g[j+8>>2],+g[i>>2],+g[i+4>>2],+g[i+8>>2],+g[h>>2],+g[h+4>>2],+g[h+8>>2]);qp(a,+g[f>>2],+g[f+4>>2],+g[f+8>>2],+g[b+48>>2],+g[b+52>>2],+g[b+56>>2]);sa=f;return}function yl(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0.0,h=0.0,i=0.0,j=0.0;i=+g[b+28>>2];j=+g[b+32>>2];e=+g[b+36>>2];h=+va[c[(c[b>>2]|0)+48>>2]&15](b);f=+va[c[(c[b>>2]|0)+48>>2]&15](b);e=e+ +va[c[(c[b>>2]|0)+48>>2]&15](b);f=+g[d+4>>2]>=0.0?j+f:-(j+f);e=+g[d+8>>2]>=0.0?e:-e;g[a>>2]=+g[d>>2]>=0.0?i+h:-(i+h);g[a+4>>2]=f;g[a+8>>2]=e;g[a+12>>2]=0.0;return}function zl(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0.0,h=0.0,i=0.0;if((d|0)<=0)return;e=0;do{i=+g[a+28>>2];h=+g[a+32>>2];h=+g[b+(e<<4)+4>>2]>=0.0?h:-h;f=+g[a+36>>2];f=+g[b+(e<<4)+8>>2]>=0.0?f:-f;g[c+(e<<4)>>2]=+g[b+(e<<4)>>2]>=0.0?i:-i;g[c+(e<<4)+4>>2]=h;g[c+(e<<4)+8>>2]=f;g[c+(e<<4)+12>>2]=0.0;e=e+1|0}while((e|0)!=(d|0));return}function Al(a,b,d,e,f,g,h,i,j,k){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;a=c[a+32>>2]|0;c[d>>2]=c[a+(k<<5)+12>>2];c[b>>2]=c[a+(k<<5)+16>>2];c[e>>2]=c[a+(k<<5)+28>>2];c[f>>2]=c[a+(k<<5)+20>>2];c[i>>2]=c[a+(k<<5)>>2];c[g>>2]=c[a+(k<<5)+4>>2];c[h>>2]=c[a+(k<<5)+8>>2];c[j>>2]=c[a+(k<<5)+24>>2];return}function Bl(b){b=b|0;var d=0,e=0;c[b>>2]=9100;d=c[b+64>>2]|0;if(d|0?(yh(d),e=c[b+64>>2]|0,e|0):0){c[7183]=(c[7183]|0)+1;Hc(c[e+-4>>2]|0)}d=c[b+24>>2]|0;if(!d){a[b+28>>0]=1;c[b+24>>2]=0;c[b+16>>2]=0;b=b+20|0;c[b>>2]=0;return}if(a[b+28>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+24>>2]=0;a[b+28>>0]=1;c[b+24>>2]=0;c[b+16>>2]=0;b=b+20|0;c[b>>2]=0;return}function Cl(b){b=b|0;var d=0,e=0;c[b>>2]=10164;d=c[b+104>>2]|0;if(d|0){if(a[b+108>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+104>>2]=0}a[b+108>>0]=1;c[b+104>>2]=0;c[b+96>>2]=0;c[b+100>>2]=0;c[b>>2]=9932;d=c[b+52>>2]|0;if(d|0?(Pa[c[c[d>>2]>>2]&511](d),e=c[b+52>>2]|0,e|0):0){c[7183]=(c[7183]|0)+1;Hc(c[e+-4>>2]|0)}c[7183]=(c[7183]|0)+1;Hc(c[b+-4>>2]|0);return}function Dl(a,b){a=+a;b=+b;var d=0;d=Ts()|0;c[d+8>>2]=0;c[d>>2]=10064;c[d+12>>2]=1065353216;c[d+16>>2]=1065353216;c[d+20>>2]=1065353216;g[d+24>>2]=0.0;g[d+44>>2]=.03999999910593033;g[d+56>>2]=a;g[d+60>>2]=b;c[d+4>>2]=11;g[d+52>>2]=a/+x(+(a*a+b*b));c[d>>2]=9280;c[d+64>>2]=0;c[d+68>>2]=2;c[d+72>>2]=1;g[d+28>>2]=a;g[d+36>>2]=b;g[d+32>>2]=a;return d|0}function El(a,b){a=+a;b=+b;var d=0;d=Ts()|0;c[d+8>>2]=0;c[d>>2]=10064;c[d+12>>2]=1065353216;c[d+16>>2]=1065353216;c[d+20>>2]=1065353216;g[d+24>>2]=0.0;g[d+44>>2]=.03999999910593033;g[d+56>>2]=a;g[d+60>>2]=b;c[d+4>>2]=11;g[d+52>>2]=a/+x(+(a*a+b*b));c[d>>2]=9380;c[d+64>>2]=1;c[d+68>>2]=0;c[d+72>>2]=2;g[d+32>>2]=a;g[d+28>>2]=b;g[d+36>>2]=a;return d|0}function Fl(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;switch(b|0){case 0:{a=0;b=0;e=1065353216;break}case 1:{a=0;b=0;e=-1082130432;break}case 2:{a=0;b=1065353216;e=0;break}case 3:{a=0;b=-1082130432;e=0;break}case 4:{a=1065353216;b=0;e=0;break}case 5:{a=-1082130432;b=0;e=0;break}default:return}c[d>>2]=e;c[d+4>>2]=b;c[d+8>>2]=a;g[d+12>>2]=0.0;return}function Gl(a,b){a=+a;b=b|0;var d=0,e=0,f=0;h[j>>3]=a;d=c[j>>2]|0;e=c[j+4>>2]|0;f=xt(d|0,e|0,52)|0;Q()|0;switch(f&2047){case 0:{if(a!=0.0){a=+Gl(a*18446744073709551616.0,b);d=(c[b>>2]|0)+-64|0}else d=0;c[b>>2]=d;break}case 2047:break;default:{c[b>>2]=(f&2047)+-1022;c[j>>2]=d;c[j+4>>2]=e&-2146435073|1071644672;a=+h[j>>3]}}return +a}function Hl(b,d,e,f){b=b|0;d=d|0;e=e|0;f=+f;c[b+4>>2]=c[d>>2];c[b+4+4>>2]=c[d+4>>2];c[b+4+8>>2]=c[d+8>>2];c[b+4+12>>2]=c[d+12>>2];c[b+20>>2]=c[e>>2];c[b+20+4>>2]=c[e+4>>2];c[b+20+8>>2]=c[e+8>>2];c[b+20+12>>2]=c[e+12>>2];g[b+36>>2]=f;a[b+40>>0]=1;return}function Il(a,e,f){a=a|0;e=e|0;f=f|0;var h=0.0;switch(c[a+96>>2]|0){case 0:{h=+g[(c[a+92>>2]|0)+((J(c[a+64>>2]|0,f)|0)+e<<2)>>2];return +h}case 5:{h=+(d[(c[a+92>>2]|0)+((J(c[a+64>>2]|0,f)|0)+e)>>0]|0)*+g[a+88>>2];return +h}case 3:{h=+(b[(c[a+92>>2]|0)+((J(c[a+64>>2]|0,f)|0)+e<<1)>>1]|0)*+g[a+88>>2];return +h}default:{h=0.0;return +h}}return 0.0}function Jl(a,b){a=a|0;b=b|0;c[a>>2]=c[b>>2];c[a+4>>2]=c[b+4>>2];c[a+8>>2]=c[b+8>>2];c[a+12>>2]=c[b+12>>2];c[a+16>>2]=c[b+16>>2];c[a+20>>2]=c[b+20>>2];c[a+24>>2]=c[b+24>>2];bm(a+28|0,b+28|0);c[a+76>>2]=c[b+76>>2];c[a+76+4>>2]=c[b+76+4>>2];c[a+76+8>>2]=c[b+76+8>>2];c[a+76+12>>2]=c[b+76+12>>2];c[a+76+16>>2]=c[b+76+16>>2];return}function Kl(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;if((c[a+8>>2]|0)<=0)return;e=0;do{f=c[a+16>>2]|0;g=f+(e<<4)|0;if(Ha[c[(c[b>>2]|0)+8>>2]&31](b,g)|0){Ka[c[(c[a>>2]|0)+12>>2]&31](a,c[g>>2]|0,c[f+(e<<4)+4>>2]|0,d)|0;c[7158]=(c[7158]|0)+-1}else e=e+1|0}while((e|0)<(c[a+8>>2]|0));return}function Ll(a,b){a=a|0;b=b|0;var c=0.0,d=0;d=sa;sa=sa+32|0;c=+g[b+12>>2];if(1.0-c*c<1.1920928955078125e-06){g[d+20>>2]=1.0;g[d+16>>2]=0.0;g[d+12>>2]=0.0;ns(a,d+20|0,d+16|0,d+12|0);sa=d;return}else{c=1.0/+wI(1.0-c*c);g[d+8>>2]=+g[b>>2]*c;g[d+4>>2]=+g[b+4>>2]*c;g[d>>2]=+g[b+8>>2]*c;ns(a,d+8|0,d+4|0,d);sa=d;return}}function Ml(a,b,d,e,f,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;d=sa;sa=sa+16|0;c[d>>2]=11884;c[d+4>>2]=e;Fd(a+4|0,c[a+4>>2]|0,b,e+4|0,e+20|0,+g[e+32>>2],f,h,d);Fd(a+64|0,c[a+64>>2]|0,b,e+4|0,e+20|0,+g[e+32>>2],f,h,d);sa=d;return}function Nl(b){b=b|0;var d=0;c[b>>2]=10164;d=c[b+104>>2]|0;if(d|0){if(a[b+108>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+104>>2]=0}a[b+108>>0]=1;c[b+104>>2]=0;c[b+96>>2]=0;c[b+100>>2]=0;c[b>>2]=9932;d=c[b+52>>2]|0;if(!d)return;Pa[c[c[d>>2]>>2]&511](d);d=c[b+52>>2]|0;if(!d)return;c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0);return}function Ol(a,b){a=+a;b=+b;var d=0;d=Ts()|0;c[d+8>>2]=0;c[d+12>>2]=1065353216;c[d+16>>2]=1065353216;c[d+20>>2]=1065353216;g[d+24>>2]=0.0;g[d+44>>2]=.03999999910593033;c[d>>2]=9180;g[d+56>>2]=a;g[d+60>>2]=b;c[d+4>>2]=11;c[d+64>>2]=0;c[d+68>>2]=1;c[d+72>>2]=2;g[d+28>>2]=a;g[d+32>>2]=b;g[d+36>>2]=a;g[d+52>>2]=a/+x(+(a*a+b*b));return d|0}function Pl(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0.0,g=0;e=sa;sa=sa+16|0;c[e>>2]=-1;c[e+4>>2]=c[a+16>>2];if(!(c[b+4>>2]|0))c[b+4>>2]=e;g=c[a+12>>2]|0;f=+ya[c[(c[g>>2]|0)+12>>2]&15](g,b,d);c[a+4>>2]=c[(c[a+12>>2]|0)+4>>2];sa=e;return +f}function Ql(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=JI(c[a+4>>2]|0)|0;if((e|0)>(b|0)){c[a+4>>2]=b;return}if((e|0)<(b|0))xn(a,b);while(1){if((e|0)>=(b|0))break;f=(c[a+12>>2]|0)+(e*104|0)|0;g=d;h=f+104|0;do{c[f>>2]=c[g>>2];f=f+4|0;g=g+4|0}while((f|0)<(h|0));e=e+1|0}c[a+4>>2]=b;return}function Rl(a,b){a=a|0;b=b|0;var d=0;d=sa;sa=sa+16|0;c[a+348>>2]=c[b>>2];c[a+348+4>>2]=c[b+4>>2];c[a+348+8>>2]=c[b+8>>2];c[a+348+12>>2]=c[b+12>>2];Wp(d,+g[a+348>>2],+g[a+352>>2],+g[a+356>>2],+g[a+344>>2]);c[a+560>>2]=c[d>>2];c[a+560+4>>2]=c[d+4>>2];c[a+560+8>>2]=c[d+8>>2];c[a+560+12>>2]=c[d+12>>2];sa=d;return}function Sl(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=JI(c[a+4>>2]|0)|0;if((e|0)>(b|0)){c[a+4>>2]=b;return}if((e|0)<(b|0))Pn(a,b);while(1){if((e|0)>=(b|0))break;f=JI((c[a+12>>2]|0)+(e<<4)|0)|0;c[f>>2]=c[d>>2];c[f+4>>2]=c[d+4>>2];c[f+8>>2]=c[d+8>>2];c[f+12>>2]=c[d+12>>2];e=e+1|0}c[a+4>>2]=b;return}function Tl(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;g=c[a+268>>2]|0;if((g|0)<=0)return;b=c[b>>2]|0;f=c[a+276>>2]|0;d=0;while(1){e=f+(d<<2)|0;if((c[e>>2]|0)==(b|0))break;d=d+1|0;if((d|0)>=(g|0)){h=7;break}}if((h|0)==7)return;if((d|0)>=(g|0))return;c[e>>2]=c[f+(g+-1<<2)>>2];c[a+268>>2]=g+-1;return}function Ul(a,b,c,d){a=a|0;b=+b;c=+c;d=+d;var e=0,f=0.0,h=0.0,i=0.0;e=sa;sa=sa+16|0;f=+zI(b*.5);b=+yI(b*.5);h=+zI(c*.5);c=+yI(c*.5);i=+zI(d*.5);d=+yI(d*.5);g[e+12>>2]=d*h*f-i*c*b;g[e+8>>2]=i*c*f+d*h*b;g[e+4>>2]=i*h*b-d*c*f;g[e>>2]=i*h*f+d*c*b;tr(a,e+12|0,e+8|0,e+4|0,e);sa=e;return}function Vl(a,b,d,e,f,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;h=+h;c[a>>2]=b;c[a+4>>2]=d;c[a+8>>2]=c[e>>2];c[a+8+4>>2]=c[e+4>>2];c[a+8+8>>2]=c[e+8>>2];c[a+8+12>>2]=c[e+12>>2];c[a+24>>2]=c[f>>2];c[a+24+4>>2]=c[f+4>>2];c[a+24+8>>2]=c[f+8>>2];c[a+24+12>>2]=c[f+12>>2];g[a+40>>2]=h;return}function Wl(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;f=c[a+280>>2]|0;if((f|0)<=0)return;g=c[a+288>>2]|0;d=0;while(1){e=g+(d<<2)|0;if((c[e>>2]|0)==(b|0))break;d=d+1|0;if((d|0)>=(f|0)){h=7;break}}if((h|0)==7)return;if((d|0)>=(f|0))return;c[e>>2]=c[g+(f+-1<<2)>>2];c[(c[a+288>>2]|0)+(f+-1<<2)>>2]=b;c[a+280>>2]=f+-1;return}function Xl(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=JI(c[a+4>>2]|0)|0;if((e|0)>(b|0)){d=b;while(1){if((d|0)>=(e|0))break;RG((c[a+12>>2]|0)+(d*36|0)|0);d=d+1|0}c[a+4>>2]=b;return}if((e|0)<(b|0))Om(a,b);while(1){if((e|0)>=(b|0))break;wq((c[a+12>>2]|0)+(e*36|0)|0,d);e=e+1|0}c[a+4>>2]=b;return}function Yl(){var b=0;b=sa;sa=sa+48|0;if(a[26624]|0){sa=b;return}if(!(mz(26624)|0)){sa=b;return}g[b+32>>2]=1.0;g[b+28>>2]=0.0;g[b+24>>2]=0.0;g[b+20>>2]=0.0;g[b+16>>2]=1.0;g[b+12>>2]=0.0;g[b+8>>2]=0.0;g[b+4>>2]=0.0;g[b>>2]=1.0;Zp(27096,b+32|0,b+28|0,b+24|0,b+20|0,b+16|0,b+12|0,b+8|0,b+4|0,b);sa=b;return}function Zl(a){a=a|0;var b=0;b=sa;sa=sa+32|0;g[a>>2]=1.2000000476837158;g[a+4>>2]=0.0;g[a+8>>2]=0.0;g[a+12>>2]=1.0e3;g[b+20>>2]=0.0;g[b+16>>2]=0.0;g[b+12>>2]=0.0;ns(a+16|0,b+20|0,b+16|0,b+12|0);c[a+32>>2]=0;c[a+36>>2]=0;g[b+8>>2]=0.0;g[b+4>>2]=-10.0;g[b>>2]=0.0;ns(a+40|0,b+8|0,b+4|0,b);SG(a+56|0);sa=b;return}function _l(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;e=c[a+712>>2]|0;if((e|0)<=0)return;d=c[a+720>>2]|0;a=0;do{if(+g[d+(a*104|0)+88>>2]>0.0){f=d+(a*104|0)+56|0;g[f>>2]=+g[b>>2]+ +g[f>>2];f=d+(a*104|0)+60|0;g[f>>2]=+g[b+4>>2]+ +g[f>>2];f=d+(a*104|0)+64|0;g[f>>2]=+g[b+8>>2]+ +g[f>>2]}a=a+1|0}while((a|0)!=(e|0));return}function $l(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0.0,g=0;e=sa;sa=sa+16|0;c[e>>2]=-1;c[e+4>>2]=c[a+24>>2];if(!(c[b+4>>2]|0))c[b+4>>2]=e;g=c[a+20>>2]|0;f=+ya[c[(c[g>>2]|0)+12>>2]&15](g,b,d);c[a+4>>2]=c[(c[a+20>>2]|0)+4>>2];sa=e;return +f}function am(a,b,c){a=a|0;b=b|0;c=+c;var d=0,e=0.0;d=sa;sa=sa+16|0;e=+lA(+g[b>>2],+g[b+4>>2],+g[b+8>>2]);e=+yI(c*.5)/e;g[d+12>>2]=+g[(JI(b)|0)>>2]*e;g[d+8>>2]=+g[(oI(b)|0)>>2]*e;g[d+4>>2]=+g[(nI(b)|0)>>2]*e;g[d>>2]=+zI(c*.5);tr(a,d+12|0,d+8|0,d+4|0,d);sa=d;return}function bm(a,b){a=a|0;b=b|0;c[a>>2]=c[b>>2];c[a+4>>2]=c[b+4>>2];c[a+8>>2]=c[b+8>>2];c[a+12>>2]=c[b+12>>2];c[a+16>>2]=c[b+16>>2];c[a+16+4>>2]=c[b+16+4>>2];c[a+16+8>>2]=c[b+16+8>>2];c[a+16+12>>2]=c[b+16+12>>2];c[a+32>>2]=c[b+32>>2];c[a+32+4>>2]=c[b+32+4>>2];c[a+32+8>>2]=c[b+32+8>>2];c[a+32+12>>2]=c[b+32+12>>2];return}function cm(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0;a:do switch(b|0){case 2:case 1:{if(c>>>0<3){d=+g[a+600>>2];break a}if((c+-3|0)>>>0<3)d=+g[a+432>>2];else d=0.0;break}case 4:case 3:{if(c>>>0<3){d=+g[a+596>>2];break a}if((c+-3|0)>>>0<3)d=+g[a+604>>2];else d=0.0;break}default:d=0.0}while(0);return +d}function dm(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;b=c[d>>2]|0;b=Ha[c[(c[b>>2]|0)+56>>2]&31](b,16)|0;d=c[d>>2]|0;c[b+4>>2]=d;c[b>>2]=12164;a[b+8>>0]=0;c[b+12>>2]=0;c[b+12>>2]=Ja[c[(c[d>>2]|0)+12>>2]&63](d,c[e+8>>2]|0,c[f+8>>2]|0)|0;a[b+8>>0]=1;return b|0}function em(a,b){a=a|0;b=b|0;var d=0,e=0;d=c[a+56>>2]|0;if(!d)return;e=Fa[c[(c[d>>2]|0)+8>>2]&127](d)|0;e=Ja[c[(c[b>>2]|0)+16>>2]&63](b,e,1)|0;d=c[a+56>>2]|0;d=Ja[c[(c[d>>2]|0)+12>>2]&63](d,c[e+8>>2]|0,b)|0;eb[c[(c[b>>2]|0)+20>>2]&31](b,e,d,1346456916,c[a+56>>2]|0);return}function fm(a,b,d,e){a=a|0;b=b|0;d=+d;e=e|0;switch(b|0){case 2:case 1:if(e>>>0<3){g[a+600>>2]=d;c[a+592>>2]=c[a+592>>2]|2;return}else{g[a+432>>2]=d;return}case 4:case 3:if(e>>>0<3){g[a+596>>2]=d;c[a+592>>2]=c[a+592>>2]|1;return}else{g[a+604>>2]=d;c[a+592>>2]=c[a+592>>2]|4;return}default:return}}function gm(a,b){a=a|0;b=b|0;var d=0,e=0;d=c[a+52>>2]|0;if(!d)return;e=Fa[c[(c[d>>2]|0)+12>>2]&127](d)|0;e=Ja[c[(c[b>>2]|0)+16>>2]&63](b,e,1)|0;d=c[a+52>>2]|0;d=Ja[c[(c[d>>2]|0)+16>>2]&63](d,c[e+8>>2]|0,b)|0;eb[c[(c[b>>2]|0)+20>>2]&31](b,e,d,1213612625,c[a+52>>2]|0);return}function hm(b,e){b=b|0;e=e|0;var f=0,g=0;f=0;while(1){if((d[496+f>>0]|0)==(b|0)){g=4;break}f=f+1|0;if((f|0)==87){b=87;g=5;break}}if((g|0)==4)if(!f)f=592;else{b=f;g=5}if((g|0)==5){f=592;do{do{g=f;f=f+1|0}while((a[g>>0]|0)!=0);b=b+-1|0}while((b|0)!=0)}return NG(f,c[e+20>>2]|0)|0}function im(a,b,c,d,e,f,h,i,j,k,l,m,n){a=a|0;b=+b;c=+c;d=+d;e=+e;f=+f;h=+h;i=+i;j=+j;k=+k;l=+l;m=+m;n=+n;var o=0;o=sa;sa=sa+16|0;g[o+8>>2]=+Xx(b,c,d,e,f,h);g[o+4>>2]=+Xx(b,c,d,i,j,k);g[o>>2]=+Xx(b,c,d,l,m,n);ns(a,o+8|0,o+4|0,o);sa=o;return}function jm(a,b,c){a=a|0;b=b|0;c=+c;var d=0.0,e=0.0,f=0.0,h=0.0;e=+g[a+28>>2];f=+g[a+32>>2];h=+g[a+36>>2];d=+g[b>>2];if(!(d<=e+c)){b=0;return b|0}if(!(d>=-e-c)){b=0;return b|0}d=+g[b+4>>2];if(!(d<=f+c)){b=0;return b|0}if(!(d>=-f-c)){b=0;return b|0}d=+g[b+8>>2];if(!(d<=h+c)){b=0;return b|0}b=d>=-h-c;return b|0}function km(a,b,d){a=a|0;b=b|0;d=d|0;Fv(a);c[a>>2]=5708;c[a+12>>2]=c[b>>2];c[a+12+4>>2]=c[b+4>>2];c[a+12+8>>2]=c[b+8>>2];c[a+12+12>>2]=c[b+12>>2];c[a+28>>2]=c[d>>2];c[a+28+4>>2]=c[d+4>>2];c[a+28+8>>2]=c[d+8>>2];c[a+28+12>>2]=c[d+12>>2];c[a+76>>2]=0;return}function lm(b,d,e,f){b=b|0;d=d|0;e=e|0;f=+f;if(!(+g[b+36>>2]>f))return;a[b+40>>0]=1;c[b+4>>2]=c[d>>2];c[b+4+4>>2]=c[d+4>>2];c[b+4+8>>2]=c[d+8>>2];c[b+4+12>>2]=c[d+12>>2];c[b+20>>2]=c[e>>2];c[b+20+4>>2]=c[e+4>>2];c[b+20+8>>2]=c[e+8>>2];c[b+20+12>>2]=c[e+12>>2];g[b+36>>2]=f;return}function mm(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0.0,f=0.0,h=0.0,i=0.0,j=0.0;d=+g[b+28>>2];f=+g[b+36>>2];j=+g[c>>2];e=+g[c+4>>2];i=+x(+(j*j+e*e));if(i!=0.0){h=e*(d/i);e=+g[c+8>>2]<0.0?-f:f;d=j*(d/i)}else{h=0.0;e=+g[c+8>>2]<0.0?-f:f}g[a>>2]=d;g[a+8>>2]=e;g[a+4>>2]=h;return}function nm(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0.0,f=0.0,h=0.0,i=0.0,j=0.0;d=+g[b+28>>2];f=+g[b+32>>2];j=+g[c>>2];e=+g[c+8>>2];i=+x(+(j*j+e*e));if(i!=0.0){h=e*(d/i);e=+g[c+4>>2]<0.0?-f:f;d=j*(d/i)}else{h=0.0;e=+g[c+4>>2]<0.0?-f:f}g[a>>2]=d;g[a+4>>2]=e;g[a+8>>2]=h;return}function om(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0.0,f=0.0,h=0.0,i=0.0,j=0.0;d=+g[b+32>>2];f=+g[b+28>>2];j=+g[c+4>>2];e=+g[c+8>>2];i=+x(+(j*j+e*e));if(i!=0.0){h=e*(d/i);e=+g[c>>2]<0.0?-f:f;d=j*(d/i)}else{h=0.0;e=+g[c>>2]<0.0?-f:f}g[a+4>>2]=d;g[a>>2]=e;g[a+8>>2]=h;return}function pm(a,b){a=a|0;b=+b;var c=0,d=0.0;c=sa;sa=sa+16|0;if(!(+g[a+68>>2]>0.0)){sa=c;return}d=-+g[a+92>>2];b=-+g[a+96>>2];g[c>>2]=-+g[a+88>>2];g[c+4>>2]=d;g[c+8>>2]=b;g[c+12>>2]=0.0;ti(a+4|0,c,a+164|0);ti(a+16|0,a+88|0,a+180|0);sa=c;return}function qm(a){a=a|0;var b=0.0,d=0.0,e=0.0;d=+g[(c[a+28>>2]|0)+344>>2];e=+g[(c[a+32>>2]|0)+344>>2];e=e==0.0?1.0:d/(d+e);d=+g[a+1116>>2]*e+(1.0-e)*+g[a+1180>>2];b=e*+g[a+1120>>2]+(1.0-e)*+g[a+1184>>2];g[a+1284>>2]=+g[a+1112>>2]*e+ +g[a+1176>>2]*(1.0-e);g[a+1288>>2]=d;g[a+1292>>2]=b;g[a+1296>>2]=0.0;return}function rm(a,b){a=a|0;b=b|0;var d=0.0,e=0.0,f=0.0;d=+g[a+344>>2];if(d!=0.0){f=1.0/d*+g[b+4>>2];e=1.0/d*+g[b+8>>2];g[a+364>>2]=1.0/d*+g[b>>2];g[a+368>>2]=f;g[a+372>>2]=e;g[a+376>>2]=0.0}c[a+380>>2]=c[b>>2];c[a+380+4>>2]=c[b+4>>2];c[a+380+8>>2]=c[b+8>>2];c[a+380+12>>2]=c[b+12>>2];return}function sm(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;f=c[b+16>>2]|0;do if(f){if((f|0)!=(d|0)){c[b+36>>2]=(c[b+36>>2]|0)+1;c[b+24>>2]=2;a[b+54>>0]=1;break}if((c[b+24>>2]|0)==2)c[b+24>>2]=e}else{c[b+16>>2]=d;c[b+24>>2]=e;c[b+36>>2]=1}while(0);return}function tm(a,d){a=a|0;d=d|0;var e=0,f=0;e=c[d>>2]|0;f=c[a+80>>2]|0;if((e|0)==(f|0)){f=0;return f|0}if(!((b[a+10>>1]&b[d+4>>1])<<16>>16)){f=0;return f|0}if(!((b[d+6>>1]&b[a+8>>1])<<16>>16)){f=0;return f|0}d=c[a+92>>2]|0;f=Ja[c[(c[d>>2]|0)+28>>2]&63](d,f,e)|0;return f|0}function um(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=c[a+8>>2]|0;a=c[f+8>>2]|0;if((a|0)<=0)return;e=0;do{d=c[(c[f+16>>2]|0)+(e*12|0)+8>>2]|0;if(d){Va[c[(c[d>>2]|0)+16>>2]&127](d,b);a=c[f+8>>2]|0}e=e+1|0}while((e|0)<(a|0));return}function vm(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=sa;sa=sa+256|0;if((c|0)>(d|0)&(e&73728|0)==0){mk(f|0,b<<24>>24|0,((c-d|0)>>>0<256?c-d|0:256)|0)|0;if((c-d|0)>>>0>255){b=c-d|0;do{fz(a,f,256);b=b+-256|0}while(b>>>0>255);b=c-d&255}else b=c-d|0;fz(a,f,b)}sa=f;return}function wm(a,b,d,e){a=a|0;b=b|0;d=+d;e=e|0;switch(e|0){case 5:case -1:break;default:return}switch(b|0){case 2:{g[a+760>>2]=d;c[a+748>>2]=c[a+748>>2]|2;return}case 4:{g[a+756>>2]=d;c[a+748>>2]=c[a+748>>2]|1;return}case 3:{g[a+752>>2]=d;c[a+748>>2]=c[a+748>>2]|4;return}default:return}}function xm(a,b,d){a=a|0;b=b|0;d=d|0;ct(a);c[a>>2]=5536;c[a+20>>2]=c[b>>2];c[a+20+4>>2]=c[b+4>>2];c[a+20+8>>2]=c[b+8>>2];c[a+20+12>>2]=c[b+12>>2];c[a+36>>2]=c[d>>2];c[a+36+4>>2]=c[d+4>>2];c[a+36+8>>2]=c[d+8>>2];c[a+36+12>>2]=c[d+12>>2];return}function ym(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=c[d>>2]|0;a=Kx(c[b>>2]|0)|0;f=Kx(f)|0;if(a|0)ab[c[(c[a>>2]|0)+32>>2]&127](a,d,e,b);if(!f)return 0;ab[c[(c[f>>2]|0)+32>>2]&127](f,b,e,d);return 0}function zm(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=sa;sa=sa+48|0;f=c[b+192>>2]|0;ab[c[(c[f>>2]|0)+8>>2]&127](f,b+4|0,e+32|0,e+16|0);c[e>>2]=8764;c[e+4>>2]=b;c[e+8>>2]=a;c[e+12>>2]=d;d=c[a+68>>2]|0;ab[c[(c[d>>2]|0)+28>>2]&127](d,e+32|0,e+16|0,e);sa=e;return}function Am(a,b,d){a=a|0;b=b|0;d=d|0;a:do switch(c[b+216>>2]|0){case 2:case 5:{switch(c[d+216>>2]|0){case 2:case 5:{a=0;break}default:break a}return a|0}default:{}}while(0);if(c[b+256>>2]|0?!(Ha[c[c[b>>2]>>2]&31](b,d)|0):0){d=0;return d|0}d=1;return d|0}function Bm(a,b,d){a=a|0;b=b|0;d=d|0;ih(a,b,d)|0;c[b+52>>2]=c[a+300>>2];c[b+56>>2]=c[a+304>>2];c[b+60>>2]=c[a+308>>2];c[b+64>>2]=c[a+312>>2];c[b+68>>2]=c[a+316>>2];c[b+72>>2]=c[a+320>>2];c[b+76>>2]=c[a+324>>2];c[b+80>>2]=c[a+328>>2];return 16880}function Cm(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;f=sa;sa=sa+112|0;d=JI(c[b+4>>2]|0)|0;e=f;g=e+104|0;do{c[e>>2]=0;e=e+4|0}while((e|0)<(g|0));mG(f);Ql(a,d,f);Nn(b,d,c[a+12>>2]|0);sa=f;return}function Dm(a){a=a|0;c[6726]=c[a>>2];c[6727]=c[a+4>>2];c[6728]=c[a+8>>2];c[6729]=c[a+12>>2];c[6730]=c[a+16>>2];c[6731]=c[a+20>>2];c[6732]=c[a+24>>2];bm(26932,a+28|0);c[6745]=c[a+76>>2];c[6746]=c[a+76+4>>2];c[6747]=c[a+76+8>>2];c[6748]=c[a+76+12>>2];c[6749]=c[a+76+16>>2];return}function Em(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0;e=sa;sa=sa+16|0;c=+dF(a);c=+wI(c*+dF(b));d=+Io(a,b);if(d<0.0){Rn(e,b);d=+AA(+Io(a,e)/c);d=d*2.0;sa=e;return +d}else{d=+AA(d/c);d=d*2.0;sa=e;return +d}return 0.0}function Fm(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;j=JI(b)|0;i=JI(b+16|0)|0;h=JI(b+32|0)|0;g=oI(b)|0;f=oI(b+16|0)|0;e=oI(b+32|0)|0;d=nI(b)|0;c=nI(b+16|0)|0;Zp(a,j,i,h,g,f,e,d,c,nI(b+32|0)|0);return}function Gm(a,b){a=a|0;b=b|0;var d=0;if(c[b+40>>2]|0){Gm(a,c[b+36>>2]|0);Gm(a,c[b+40>>2]|0)}if((c[a>>2]|0)==(b|0))c[a>>2]=0;d=c[a+4>>2]|0;if(!d){c[a+4>>2]=b;return}c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0);c[a+4>>2]=b;return}function Hm(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0;g=c[a+32>>2]|0;c[g>>2]=(c[g>>2]|0)+1;Of(a,Yc(a,b,f)|0);Of(a,Yc(a,d,f)|0);Of(a,Yc(a,e,f)|0);return}function Im(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;if(RC(a,c[b+8>>2]|0)|0)Ck(b,d,e,f);else{a=c[a+8>>2]|0;gb[c[(c[a>>2]|0)+20>>2]&7](a,b,d,e,f,g)}return}function Jm(a){a=a|0;var b=0;b=sa;sa=sa+48|0;g[b+32>>2]=1.0;g[b+28>>2]=0.0;g[b+24>>2]=0.0;g[b+20>>2]=0.0;g[b+16>>2]=1.0;g[b+12>>2]=0.0;g[b+8>>2]=0.0;g[b+4>>2]=0.0;g[b>>2]=1.0;Lo(a,b+32|0,b+28|0,b+24|0,b+20|0,b+16|0,b+12|0,b+8|0,b+4|0,b);sa=b;return}function Km(a,b){a=a|0;b=b|0;var d=0,e=0;d=c[a+4>>2]|0;e=JI(d)|0;if((e|0)==(JI(c[a+8>>2]|0)|0)){qn(a,zB(e)|0);d=c[a+4>>2]|0}Jl((c[a+12>>2]|0)+(d*96|0)|0,b);c[a+4>>2]=(c[a+4>>2]|0)+1;return}function Lm(a,b){a=a|0;b=b|0;var d=0,e=0;c[a+68>>2]=(c[a+68>>2]|0)+1;d=c[a+16>>2]|0;if((d|0)>0)do{e=d;d=d+-1|0;if((c[(c[a+24>>2]|0)+(d*80|0)+64>>2]|0)==(b|0))Cd(a,d)}while((e|0)>1);Pa[c[(c[a>>2]|0)+68>>2]&511](a);return}function Mm(a,b){a=+a;b=+b;var d=0;d=Xs()|0;c[d+8>>2]=0;c[d+12>>2]=1065353216;c[d+16>>2]=1065353216;c[d+20>>2]=1065353216;g[d+24>>2]=0.0;g[d+44>>2]=.03999999910593033;c[d+4>>2]=10;c[d>>2]=10500;c[d+52>>2]=2;g[d+28>>2]=a;g[d+32>>2]=a;g[d+36>>2]=b*.5;g[d+40>>2]=0.0;return d|0}function Nm(a,b){a=+a;b=+b;var d=0;d=Xs()|0;c[d+8>>2]=0;c[d+12>>2]=1065353216;c[d+16>>2]=1065353216;c[d+20>>2]=1065353216;g[d+24>>2]=0.0;g[d+44>>2]=.03999999910593033;c[d+4>>2]=10;c[d>>2]=10400;c[d+52>>2]=0;g[d+28>>2]=b*.5;g[d+32>>2]=a;g[d+36>>2]=a;g[d+40>>2]=0.0;return d|0}function Om(b,d){b=b|0;d=d|0;var e=0;if((JI(c[b+8>>2]|0)|0)>=(d|0))return;e=zu(d)|0;Oq(b,JI(c[b+4>>2]|0)|0,e);bs(b,JI(c[b+4>>2]|0)|0);Os(b);a[b+16>>0]=1;c[b+12>>2]=e;c[b+8>>2]=d;return}function Pm(a,b){a=+a;b=+b;var d=0;d=Xs()|0;c[d+8>>2]=0;c[d+12>>2]=1065353216;c[d+16>>2]=1065353216;c[d+20>>2]=1065353216;g[d+24>>2]=0.0;g[d+44>>2]=.03999999910593033;c[d>>2]=10300;c[d+4>>2]=10;c[d+52>>2]=1;g[d+28>>2]=a;g[d+32>>2]=b*.5;g[d+36>>2]=a;g[d+40>>2]=0.0;return d|0}function Qm(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0;a:do switch(c|0){case 5:case -1:switch(b|0){case 2:{d=+g[a+760>>2];break a}case 4:{d=+g[a+756>>2];break a}case 3:{d=+g[a+752>>2];break a}default:{d=0.0;break a}}default:d=0.0}while(0);return +d}function Rm(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=sa;sa=sa+16|0;c[f>>2]=a;c[f+4>>2]=e;e=c[a+72+((c[(c[b+4>>2]|0)+4>>2]|0)*144|0)+(c[(c[d+4>>2]|0)+4>>2]<<2)>>2]|0;e=Ka[c[(c[e>>2]|0)+8>>2]&31](e,f,b,d)|0;sa=f;return e|0}function Sm(a,b){a=a|0;b=b|0;var d=0;a=c[a+64>>2]|0;if(!b)return;d=c[a+16>>2]|0;if(d>>>0<=b>>>0?(d+(J(c[a>>2]|0,c[a+4>>2]|0)|0)|0)>>>0>b>>>0:0){c[b>>2]=c[a+12>>2];c[a+12>>2]=b;c[a+8>>2]=(c[a+8>>2]|0)+1;return}c[7183]=(c[7183]|0)+1;Hc(c[b+-4>>2]|0);return}function Tm(a){a=a|0;var b=0,d=0;if((c[a+232>>2]|0)<=0)return;b=0;do{d=(c[(c[a+240>>2]|0)+(b<<2)>>2]|0)+412|0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;c[d+12>>2]=0;c[d+16>>2]=0;c[d+20>>2]=0;c[d+24>>2]=0;c[d+28>>2]=0;b=b+1|0}while((b|0)<(c[a+232>>2]|0));return}function Um(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=JI(c[a+4>>2]|0)|0;if((e|0)>(b|0)){c[a+4>>2]=b;return}if((e|0)<(b|0))qn(a,b);while(1){if((e|0)>=(b|0))break;Jl((c[a+12>>2]|0)+(e*96|0)|0,d);e=e+1|0}c[a+4>>2]=b;return}function Vm(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;f=sa;sa=sa+48|0;d=JI(c[b+4>>2]|0)|0;e=f;g=e+36|0;do{c[e>>2]=0;e=e+4|0}while((e|0)<(g|0));SG(f);Xl(a,d,f);RG(f);Oq(b,d,c[a+12>>2]|0);sa=f;return}function Wm(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;f=sa;sa=sa+96|0;d=JI(c[b+4>>2]|0)|0;e=f;g=e+96|0;do{c[e>>2]=0;e=e+4|0}while((e|0)<(g|0));Um(a,d,f);dq(b,d,c[a+12>>2]|0);sa=f;return}function Xm(a,d){a=a|0;d=d|0;var f=0,g=0;if(b[a+56>>1]|0)return;b[a+64>>1]=1;d=b[a+58>>1]|0;g=c[a+60>>2]|0;if((d&65535)>1){f=1;do{d=f;f=f+1|0;b[g+(d<<6)+48>>1]=f;d=e[a+58>>1]|0}while(f>>>0>>0)}else d=d&65535;b[g+(d+-1<<6)+48>>1]=0;return}function Ym(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=c[a+12>>2]|0;if((d|0)<=0)return;f=0;do{e=c[(c[a+20>>2]|0)+(f<<2)>>2]|0;if(e){Va[c[(c[e>>2]|0)+16>>2]&127](e,b);d=c[a+12>>2]|0}f=f+1|0}while((f|0)<(d|0));return}function Zm(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=c[a+32>>2]|0;c[f>>2]=(c[f>>2]|0)+1;Of(a,Yc(a,b,0)|0);Of(a,Yc(a,d,0)|0);Of(a,Yc(a,e,0)|0);return}function _m(a,b,d){a=a|0;b=b|0;d=d|0;c[a+52>>2]=c[b>>2];c[a+52+4>>2]=c[b+4>>2];c[a+52+8>>2]=c[b+8>>2];c[a+52+12>>2]=c[b+12>>2];c[a+68>>2]=c[d>>2];c[a+68+4>>2]=c[d+4>>2];c[a+68+8>>2]=c[d+8>>2];c[a+68+12>>2]=c[d+12>>2];c[a+48>>2]=1;return}function $m(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=c[d>>2]|0;a=Kx(c[b>>2]|0)|0;e=Kx(e)|0;if(a|0)Za[c[(c[a>>2]|0)+28>>2]&127](a,d,b);if(!e)return 0;Za[c[(c[e>>2]|0)+28>>2]&127](e,b,d);return 0}function an(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=a;e=b;f=d+104|0;do{c[d>>2]=c[e>>2];d=d+4|0;e=e+4|0}while((d|0)<(f|0));Iw(a+104|0,b+104|0);Jw(a+124|0,b+124|0);Jw(a+144|0,b+144|0);return}function bn(a,b,c){a=+a;b=b|0;c=c|0;var d=0,e=0;e=sa;sa=sa+32|0;d=Nr(140)|0;g[e+8>>2]=0.0;g[e+4>>2]=0.0;g[e>>2]=0.0;ns(e+16|0,e+8|0,e+4|0,e);vk(d,a,b,c,e+16|0);sa=e;return d|0}function cn(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;c[d>>2]=c[b+16>>2];c[d+4>>2]=c[b+16+4>>2];c[d+8>>2]=c[b+16+8>>2];c[d+12>>2]=c[b+16+12>>2];c[e>>2]=c[b+32>>2];c[e+4>>2]=c[b+32+4>>2];c[e+8>>2]=c[b+32+8>>2];c[e+12>>2]=c[b+32+12>>2];return}function dn(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;i=c[a+4>>2]|0;h=8?i>>8:i;if(i&1)h=c[(c[e>>2]|0)+h>>2]|0;a=c[a>>2]|0;gb[c[(c[a>>2]|0)+20>>2]&7](a,b,d,e+h|0,(i&2|0)==0?2:f,g);return}function en(a,b){a=a|0;b=b|0;var d=0;a=c[a+64>>2]|0;d=c[a+8>>2]|0;if(d|0){b=c[a+12>>2]|0;c[a+12>>2]=c[b>>2];c[a+8>>2]=d+-1;return b|0}c[7182]=(c[7182]|0)+1;a=xb(b+19|0)|0;if(!a){b=0;return b|0}c[(a+4+15&-16)+-4>>2]=a;b=a+4+15&-16;return b|0}function fn(a,b,d){a=a|0;b=b|0;d=d|0;a=c[a+720>>2]|0;if(!(+g[a+(d*104|0)+88>>2]>0.0))return;g[a+(d*104|0)+56>>2]=+g[b>>2]+ +g[a+(d*104|0)+56>>2];g[a+(d*104|0)+60>>2]=+g[b+4>>2]+ +g[a+(d*104|0)+60>>2];g[a+(d*104|0)+64>>2]=+g[b+8>>2]+ +g[a+(d*104|0)+64>>2];return}function gn(a,b,d){a=a|0;b=+b;d=+d;var e=0;e=sa;sa=sa+16|0;g[e+12>>2]=b;g[e+8>>2]=d;g[e+4>>2]=0.0;g[e>>2]=1.0;c[a+444>>2]=c[(b<0.0?e+4|0:b>1.0?e:e+12|0)>>2];g[e+4>>2]=0.0;g[e>>2]=1.0;c[a+448>>2]=c[(d<0.0?e+4|0:d>1.0?e:e+8|0)>>2];sa=e;return}function hn(){var b=0;b=sa;sa=sa+32|0;if(a[26616]|0){sa=b;return}if(!(mz(26616)|0)){sa=b;return}Yl();g[b+8>>2]=0.0;g[b+4>>2]=0.0;g[b>>2]=0.0;ns(b+16|0,b+8|0,b+4|0,b);bq(27032,27096,b+16|0);sa=b;return}function jn(a,b){a=a|0;b=b|0;var d=0,e=0;d=c[(c[b>>2]|0)+16>>2]|0;e=Fa[c[(c[a>>2]|0)+16>>2]&127](a)|0;e=Ja[d&63](b,e,1)|0;d=Ja[c[(c[a>>2]|0)+20>>2]&63](a,c[e+8>>2]|0,b)|0;eb[c[(c[b>>2]|0)+20>>2]&31](b,e,d,1497645650,a);return}function kn(a,b,c,d,e,f){a=a|0;b=+b;c=+c;d=+d;e=+e;f=+f;g[a+692>>2]=(c-b)*.5;b=((c-b)*.5+b)%6.2831854820251465;if(!(b<-3.1415927410125732)){if(b>3.1415927410125732)b=b+-6.2831854820251465}else b=b+6.2831854820251465;g[a+688>>2]=b;g[a+696>>2]=d;g[a+700>>2]=e;g[a+704>>2]=f;return}function ln(a,b,c,d){a=a|0;b=+b;c=+c;d=+d;var e=0;e=sa;sa=sa+32|0;vl(e,JI(a+4|0)|0,b,c,d);rp(e+16|0,+g[e>>2],+g[e+4>>2],+g[e+8>>2],+g[a+348>>2],+g[a+352>>2],+g[a+356>>2]);Hr(a+412|0,e+16|0)|0;sa=e;return}function mn(a,b,d){a=a|0;b=b|0;d=d|0;c[b>>2]=c[a+52>>2];c[b+4>>2]=c[a+52+4>>2];c[b+8>>2]=c[a+52+8>>2];c[b+12>>2]=c[a+52+12>>2];c[d>>2]=c[a+68>>2];c[d+4>>2]=c[a+68+4>>2];c[d+8>>2]=c[a+68+8>>2];c[d+12>>2]=c[a+68+12>>2];return}function nn(a){a=a|0;var b=0,d=0,e=0;b=c[a+24>>2]|0;if((b|0)<=0)return;e=0;do{d=c[(c[a+32>>2]|0)+(e<<2)>>2]|0;switch(c[d+216>>2]|0){case 2:case 5:break;default:{Nf(d);b=c[a+24>>2]|0}}e=e+1|0}while((e|0)<(b|0));return}function on(a,b){a=a|0;b=b|0;var d=0,e=0;e=Fa[c[(c[a>>2]|0)+16>>2]&127](a)|0;e=Ja[c[(c[b>>2]|0)+16>>2]&63](b,e,1)|0;d=Ja[c[(c[a>>2]|0)+20>>2]&63](a,c[e+8>>2]|0,b)|0;eb[c[(c[b>>2]|0)+20>>2]&31](b,e,d,1245859651,a);return}function pn(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;if(RC(a,c[b+8>>2]|0)|0)sm(b,d,e);else{a=c[a+8>>2]|0;ab[c[(c[a>>2]|0)+28>>2]&127](a,b,d,e)}return}function qn(b,d){b=b|0;d=d|0;var e=0;if((JI(c[b+8>>2]|0)|0)>=(d|0))return;e=jt(d)|0;dq(b,JI(c[b+4>>2]|0)|0,e);Os(b);a[b+16>>0]=1;c[b+12>>2]=e;c[b+8>>2]=d;return}function rn(a,b,c){a=a|0;b=b|0;c=+c;var d=0;d=sa;sa=sa+16|0;g[d+12>>2]=+g[(JI(b)|0)>>2]*c;g[d+8>>2]=+g[(oI(b)|0)>>2]*c;g[d+4>>2]=+g[(nI(b)|0)>>2]*c;g[d>>2]=+g[b+12>>2]*c;rv(a,d+12|0,d+8|0,d+4|0,d);sa=d;return}function sn(a,b,d){a=a|0;b=b|0;d=d|0;c[b>>2]=c[a+8>>2];c[b+4>>2]=c[a+8+4>>2];c[b+8>>2]=c[a+8+8>>2];c[b+12>>2]=c[a+8+12>>2];c[d>>2]=c[a+24>>2];c[d+4>>2]=c[a+24+4>>2];c[d+8>>2]=c[a+24+8>>2];c[d+12>>2]=c[a+24+12>>2];return}function tn(a,b){a=a|0;b=b|0;var d=0,e=0;e=Fa[c[(c[a>>2]|0)+52>>2]&127](a)|0;e=Ja[c[(c[b>>2]|0)+16>>2]&63](b,e,1)|0;d=Ja[c[(c[a>>2]|0)+56>>2]&63](a,c[e+8>>2]|0,b)|0;eb[c[(c[b>>2]|0)+20>>2]&31](b,e,d,1346455635,a);return}function un(a,b,c,d){a=a|0;b=+b;c=+c;d=+d;var e=0;e=sa;sa=sa+32|0;vl(e,JI(a+4|0)|0,b,c,d);rp(e+16|0,+g[e>>2],+g[e+4>>2],+g[e+8>>2],+g[a+544>>2],+g[a+548>>2],+g[a+552>>2]);Hr(a+428|0,e+16|0)|0;sa=e;return}function vn(a,b){a=a|0;b=b|0;var c=0;c=sa;sa=sa+80|0;Fm(c+32|0,b);Lq(c,+g[b+48>>2],+g[b+52>>2],+g[b+56>>2]);vl(c+16|0,c+32|0,+g[c>>2],+g[c+4>>2],+g[c+8>>2]);bq(a,c+32|0,c+16|0);sa=c;return}function wn(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;h=c[a+4>>2]|0;g=8?h>>8:h;if(h&1)g=c[(c[d>>2]|0)+g>>2]|0;a=c[a>>2]|0;eb[c[(c[a>>2]|0)+24>>2]&31](a,b,d+g|0,(h&2|0)==0?2:e,f);return}function xn(b,d){b=b|0;d=d|0;var e=0;if((JI(c[b+8>>2]|0)|0)>=(d|0))return;e=nt(d)|0;Nn(b,JI(c[b+4>>2]|0)|0,e);Os(b);a[b+16>>0]=1;c[b+12>>2]=e;c[b+8>>2]=d;return}function yn(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;e=0;while(1){if((e|0)>=(b|0))break;f=JI(d+(e<<4)|0)|0;g=(c[a+12>>2]|0)+(e<<4)|0;c[f>>2]=c[g>>2];c[f+4>>2]=c[g+4>>2];c[f+8>>2]=c[g+8>>2];c[f+12>>2]=c[g+12>>2];e=e+1|0}return}function zn(b){b=b|0;var d=0;c[b>>2]=7852;d=c[b+276>>2]|0;if(d|0){if(a[b+280>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+276>>2]=0}a[b+280>>0]=1;c[b+276>>2]=0;c[b+268>>2]=0;c[b+272>>2]=0;c[b>>2]=7816;c[7183]=(c[7183]|0)+1;Hc(c[b+-4>>2]|0);return}function An(a,b,c,d){a=a|0;b=+b;c=+c;d=+d;var e=0;e=sa;sa=sa+32|0;rp(e,b,c,d,+g[a+348>>2],+g[a+352>>2],+g[a+356>>2]);Wp(e+16|0,+g[e>>2],+g[e+4>>2],+g[e+8>>2],+g[a+344>>2]);Hr(a+312|0,e+16|0)|0;sa=e;return}function Bn(a,b,c,d){a=a|0;b=+b;c=+c;d=+d;var e=0;e=sa;sa=sa+32|0;vl(e,a+264|0,b,c,d);rp(e+16|0,+g[e>>2],+g[e+4>>2],+g[e+8>>2],+g[a+544>>2],+g[a+548>>2],+g[a+552>>2]);Hr(a+328|0,e+16|0)|0;sa=e;return}function Cn(a,b,d){a=a|0;b=b|0;d=d|0;c[a+164>>2]=c[b>>2];c[a+164+4>>2]=c[b+4>>2];c[a+164+8>>2]=c[b+8>>2];c[a+164+12>>2]=c[b+12>>2];b=JI(b)|0;if((!(+g[b>>2]!=1.0)?!(+g[b+4>>2]!=1.0):0)?!(+g[b+8>>2]!=1.0):0)d=0;c[a+180>>2]=d;return}function Dn(b){b=b|0;var d=0;c[b>>2]=6868;d=c[b+496>>2]|0;if(d|0){if(a[b+500>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+496>>2]=0}a[b+500>>0]=1;c[b+496>>2]=0;c[b+488>>2]=0;c[b+492>>2]=0;c[b>>2]=7816;c[7183]=(c[7183]|0)+1;Hc(c[b+-4>>2]|0);return}function En(a,b,d){a=a|0;b=b|0;d=d|0;c[b>>2]=c[a+892>>2];c[b+4>>2]=c[a+892+4>>2];c[b+8>>2]=c[a+892+8>>2];c[b+12>>2]=c[a+892+12>>2];c[d>>2]=c[a+908>>2];c[d+4>>2]=c[a+908+4>>2];c[d+8>>2]=c[a+908+8>>2];c[d+12>>2]=c[a+908+12>>2];return}function Fn(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=JI(c[a+4>>2]|0)|0;if((e|0)>(b|0)){c[a+4>>2]=b;return}if((e|0)<(b|0))co(a,b);while(1){if((e|0)>=(b|0))break;c[(c[a+12>>2]|0)+(e<<2)>>2]=c[d>>2];e=e+1|0}c[a+4>>2]=b;return}function Gn(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0;a:do if((c|0)==-1)switch(b|0){case 2:case 1:{d=+g[a+336>>2];break a}case 4:case 3:{d=+g[a+340>>2];break a}default:{d=3402823466385288598117041.0e14;break a}}else d=3402823466385288598117041.0e14;while(0);return +d}function Hn(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0.0,f=0.0;f=+g[b+28>>2];e=+g[b+32>>2];e=+g[c+4>>2]>=0.0?e:-e;d=+g[b+36>>2];d=+g[c+8>>2]>=0.0?d:-d;g[a>>2]=+g[c>>2]>=0.0?f:-f;g[a+4>>2]=e;g[a+8>>2]=d;g[a+12>>2]=0.0;return}function In(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;g=c[a+4>>2]|0;f=8?g>>8:g;if(g&1)f=c[(c[d>>2]|0)+f>>2]|0;a=c[a>>2]|0;ab[c[(c[a>>2]|0)+28>>2]&127](a,b,d+f|0,(g&2|0)==0?2:e);return}function Jn(b){b=b|0;var d=0;c[b>>2]=7684;d=c[b+140>>2]|0;if(d|0){if(a[b+144>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+140>>2]=0}a[b+144>>0]=1;c[b+140>>2]=0;c[b+132>>2]=0;c[b+136>>2]=0;c[7183]=(c[7183]|0)+1;Hc(c[b+-4>>2]|0);return}function Kn(b){b=b|0;var d=0;d=sa;sa=sa+16|0;if(!(a[26600]|0))mz(26600)|0;Do(d,c[b+116>>2]|0,c[b+128>>2]|0);c[6750]=c[d>>2];c[6751]=c[d+4>>2];c[6752]=c[d+8>>2];c[6753]=c[d+12>>2];sa=d;return 27e3}function Ln(b){b=b|0;var d=0;c[b>>2]=12276;d=c[b+32>>2]|0;if(d|0){if(a[b+36>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+32>>2]=0}a[b+36>>0]=1;c[b+32>>2]=0;c[b+24>>2]=0;c[b+28>>2]=0;c[7183]=(c[7183]|0)+1;Hc(c[b+-4>>2]|0);return}function Mn(a,b){a=a|0;b=b|0;var d=0;d=c[a+4>>2]|0;if((c[b>>2]|0)!=(d|0)?(c[b+4>>2]|0)!=(d|0):0)return 0;d=c[a+8>>2]|0;Za[c[(c[d>>2]|0)+32>>2]&127](d,b,c[a+12>>2]|0);return 0}function Nn(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=0;while(1){if((e|0)>=(b|0))break;f=d+(e*104|0)|0;g=(c[a+12>>2]|0)+(e*104|0)|0;h=f+104|0;do{c[f>>2]=c[g>>2];f=f+4|0;g=g+4|0}while((f|0)<(h|0));e=e+1|0}return}function On(a){a=a|0;var b=0.0,d=0.0;if(c[a+204>>2]&3|0)return;d=+g[a+368>>2]*+g[a+352>>2];b=+g[a+372>>2]*+g[a+356>>2];g[a+412>>2]=+g[a+364>>2]*+g[a+348>>2]+ +g[a+412>>2];g[a+416>>2]=d+ +g[a+416>>2];g[a+420>>2]=b+ +g[a+420>>2];return}function Pn(b,d){b=b|0;d=d|0;var e=0;if((JI(c[b+8>>2]|0)|0)>=(d|0))return;e=mu(d)|0;yn(b,JI(c[b+4>>2]|0)|0,e);Os(b);a[b+16>>0]=1;c[b+12>>2]=e;c[b+8>>2]=d;return}function Qn(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=Ha[c[(c[d>>2]|0)+40>>2]&31](d,a)|0;f=Ha[c[(c[d>>2]|0)+28>>2]&31](d,e)|0;c[b>>2]=f;if(f|0)Va[c[(c[d>>2]|0)+48>>2]&127](d,e);c[b+4>>2]=c[a+4>>2];return 21546}function Rn(a,b){a=a|0;b=b|0;var c=0;c=sa;sa=sa+16|0;g[c+12>>2]=-+g[(JI(b)|0)>>2];g[c+8>>2]=-+g[(oI(b)|0)>>2];g[c+4>>2]=-+g[(nI(b)|0)>>2];g[c>>2]=-+g[b+12>>2];rv(a,c+12|0,c+8|0,c+4|0,c);sa=c;return}function Sn(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0.0,h=0;h=c[a+104>>2]|0;f=+g[h+(b<<4)+4>>2]*+g[a+16>>2];e=+g[h+(b<<4)+8>>2]*+g[a+20>>2];g[d>>2]=+g[h+(b<<4)>>2]*+g[a+12>>2];g[d+4>>2]=f;g[d+8>>2]=e;g[d+12>>2]=0.0;return}function Tn(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=sa;sa=sa+32|0;c[e>>2]=c[a+60>>2];c[e+4>>2]=0;c[e+8>>2]=b;c[e+12>>2]=e+20;c[e+16>>2]=d;if((pC(_(140,e|0)|0)|0)<0){c[e+20>>2]=-1;a=-1}else a=c[e+20>>2]|0;sa=e;return a|0}function Un(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;f=c[d>>2]|0;f=Ha[c[(c[f>>2]|0)+56>>2]&31](f,20)|0;e=a[b+4>>0]|0;c[f+4>>2]=c[d>>2];c[f>>2]=6372;a[f+16>>0]=e;return f|0}function Vn(b,c){b=b|0;c=c|0;var d=0,e=0;d=a[b>>0]|0;e=a[c>>0]|0;if(d<<24>>24==0?1:d<<24>>24!=e<<24>>24)b=e;else{do{b=b+1|0;c=c+1|0;d=a[b>>0]|0;e=a[c>>0]|0}while(!(d<<24>>24==0?1:d<<24>>24!=e<<24>>24));b=e}return (d&255)-(b&255)|0}function Wn(a,b){a=a|0;b=b|0;var c=0.0;c=+g[(JI(b)|0)>>2];g[a>>2]=+g[a>>2]+c;c=+g[(oI(b)|0)>>2];g[a+4>>2]=+g[a+4>>2]+c;c=+g[(nI(b)|0)>>2];g[a+8>>2]=+g[a+8>>2]+c;g[a+12>>2]=+g[a+12>>2]+ +g[b+12>>2];return a|0}function Xn(a,b){a=a|0;b=b|0;var c=0.0;c=+g[(JI(b)|0)>>2];g[a>>2]=+g[a>>2]-c;c=+g[(oI(b)|0)>>2];g[a+4>>2]=+g[a+4>>2]-c;c=+g[(nI(b)|0)>>2];g[a+8>>2]=+g[a+8>>2]-c;g[a+12>>2]=+g[a+12>>2]-+g[b+12>>2];return a|0}function Yn(b){b=b|0;var d=0;d=sa;sa=sa+16|0;if(!(a[26584]|0))mz(26584)|0;Va[c[(c[b>>2]|0)+76>>2]&127](d,b);c[6722]=c[d>>2];c[6723]=c[d+4>>2];c[6724]=c[d+8>>2];c[6725]=c[d+12>>2];sa=d;return 26888}function Zn(b){b=b|0;var d=0;d=sa;sa=sa+16|0;if(!(a[26640]|0))mz(26640)|0;Va[c[(c[b>>2]|0)+76>>2]&127](d,b);c[6790]=c[d>>2];c[6791]=c[d+4>>2];c[6792]=c[d+8>>2];c[6793]=c[d+12>>2];sa=d;return 27160}function _n(b){b=b|0;var d=0;d=a[b+74>>0]|0;a[b+74>>0]=d+255|d;d=c[b>>2]|0;if(!(d&8)){c[b+8>>2]=0;c[b+4>>2]=0;d=c[b+44>>2]|0;c[b+28>>2]=d;c[b+20>>2]=d;c[b+16>>2]=d+(c[b+48>>2]|0);b=0}else{c[b>>2]=d|32;b=-1}return b|0}function $n(a,b,d,e){a=a|0;b=b|0;d=+d;e=e|0;if((e|0)!=-1)return;switch(b|0){case 2:case 1:{g[a+336>>2]=d;c[a+332>>2]=c[a+332>>2]|1;return}case 4:case 3:{g[a+340>>2]=d;c[a+332>>2]=c[a+332>>2]|2;return}default:return}}function ao(a,b){a=a|0;b=b|0;var c=0.0,d=0.0;c=+g[(nI(a)|0)>>2];c=c*+g[(JI(b)|0)>>2];d=+g[(nI(a+16|0)|0)>>2];d=c+d*+g[(oI(b)|0)>>2];c=+g[(nI(a+32|0)|0)>>2];return +(d+c*+g[(nI(b)|0)>>2])}function bo(a,b){a=a|0;b=b|0;var c=0.0,d=0.0;c=+g[(oI(a)|0)>>2];c=c*+g[(JI(b)|0)>>2];d=+g[(oI(a+16|0)|0)>>2];d=c+d*+g[(oI(b)|0)>>2];c=+g[(oI(a+32|0)|0)>>2];return +(d+c*+g[(nI(b)|0)>>2])}function co(b,d){b=b|0;d=d|0;var e=0;if((JI(c[b+8>>2]|0)|0)>=(d|0))return;e=dv(d)|0;pr(b,JI(c[b+4>>2]|0)|0,e);Os(b);a[b+16>>0]=1;c[b+12>>2]=e;c[b+8>>2]=d;return}function eo(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;if((b|0)==(d|0))return;e=c[(c[a+4>>2]|0)+136>>2]|0;Ja[c[(c[e>>2]|0)+8>>2]&63](e,c[b+36>>2]|0,c[d+36>>2]|0)|0;d=(c[a+4>>2]|0)+160|0;c[d>>2]=(c[d>>2]|0)+1;return}function fo(b,d,e){b=b|0;d=d|0;e=+e;var f=0;f=sa;sa=sa+16|0;if(!(a[26608]|0))mz(26608)|0;ri(f,b,d,e);c[6754]=c[f>>2];c[6755]=c[f+4>>2];c[6756]=c[f+8>>2];c[6757]=c[f+12>>2];sa=f;return 27016}function go(b,d,e){b=b|0;d=d|0;e=+e;var f=0;f=sa;sa=sa+16|0;if(!(a[26648]|0))mz(26648)|0;ri(f,b,d,e);c[6794]=c[f>>2];c[6795]=c[f+4>>2];c[6796]=c[f+8>>2];c[6797]=c[f+12>>2];sa=f;return 27176}function ho(a){a=a|0;var b=0.0,d=0,e=0.0,f=0.0;d=sa;sa=sa+32|0;Za[c[(c[a>>2]|0)+12>>2]&127](a,d+8|0,d);f=+g[d+8>>2];e=+g[d+8+4>>2];b=+g[d+8+8>>2];b=+x(+(f*f+e*e+b*b));sa=d;return +(+g[d>>2]+b)}function io(a){a=a|0;var b=0;b=c[i>>2]|0;if((a|0)>0&(b+a|0)<(b|0)|(b+a|0)<0){R()|0;Z(12);return -1}if((b+a|0)>(ia()|0)){if(!(ka(b+a|0)|0)){Z(12);return -1}}else c[i>>2]=b+a;return b|0}function jo(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=sa;sa=sa+16|0;c[f>>2]=8012;c[f+4>>2]=d;c[f+8>>2]=a;Za[c[(c[b>>2]|0)+48>>2]&127](b,f,e);sa=f;return}function ko(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=+g;ab[c[(c[a>>2]|0)+8>>2]&127](a,b,d,f);ab[c[(c[a>>2]|0)+8>>2]&127](a,d,e,f);ab[c[(c[a>>2]|0)+8>>2]&127](a,e,b,f);return}function lo(a,b,d){a=a|0;b=b|0;d=d|0;a=c[b+8>>2]|0;if(!((d|0)!=0&(a|0)!=0))return;Pa[c[c[a>>2]>>2]&511](a);Va[c[(c[d>>2]|0)+60>>2]&127](d,c[b+8>>2]|0);c[b+8>>2]=0;return}function mo(b){b=b|0;var d=0;c[b>>2]=7852;d=c[b+276>>2]|0;if(d|0){if(a[b+280>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+276>>2]=0}a[b+280>>0]=1;c[b+276>>2]=0;c[b+268>>2]=0;c[b+272>>2]=0;c[b>>2]=7816;return}function no(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=sa;sa=sa+16|0;c[e>>2]=11708;c[e+4>>2]=b;c[e+8>>2]=a;c[e+12>>2]=d;Za[c[(c[a>>2]|0)+48>>2]&127](a,e,d);sa=e;return}function oo(b){b=b|0;var d=0;c[b>>2]=9580;if(a[b+61>>0]|0?(d=c[b+52>>2]|0,Pa[c[c[d>>2]>>2]&511](d),d=c[b+52>>2]|0,d|0):0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[7183]=(c[7183]|0)+1;Hc(c[b+-4>>2]|0);return}function po(b){b=b|0;var d=0;c[b>>2]=6868;d=c[b+496>>2]|0;if(d|0){if(a[b+500>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+496>>2]=0}a[b+500>>0]=1;c[b+496>>2]=0;c[b+488>>2]=0;c[b+492>>2]=0;c[b>>2]=7816;return}function qo(a,b,c,d){a=+a;b=+b;c=+c;d=+d;var e=0,f=0;f=sa;sa=sa+16|0;g[f+12>>2]=a;g[f+8>>2]=b;g[f+4>>2]=c;g[f>>2]=d;e=Zs()|0;Zt(e,f+12|0,f+8|0,f+4|0,f);sa=f;return e|0}function ro(a,b,c,d){a=+a;b=+b;c=+c;d=+d;var e=0,f=0;f=sa;sa=sa+16|0;g[f+12>>2]=a;g[f+8>>2]=b;g[f+4>>2]=c;g[f>>2]=d;e=Nr(16)|0;rv(e,f+12|0,f+8|0,f+4|0,f);sa=f;return e|0}function so(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;if(RC(a,c[b+8>>2]|0)|0)Ck(b,d,e,f);return}function to(a){a=a|0;var b=0.0,d=0,e=0,f=0.0;e=c[a+712>>2]|0;if((e|0)<=0){b=0.0;return +b}d=c[a+720>>2]|0;a=0;b=0.0;do{f=+g[d+(a*104|0)+88>>2];b=b+(f>0.0?1.0/f:0.0);a=a+1|0}while((a|0)!=(e|0));return +b}function uo(a){a=a|0;var b=0;c[a>>2]=8316;c[a+12>>2]=8364;b=c[a+60>>2]|0;Va[c[(c[b>>2]|0)+20>>2]&127](b,c[a+76>>2]|0);b=c[a+60>>2]|0;Va[c[(c[b>>2]|0)+16>>2]&127](b,c[a+76>>2]|0);GI(a);return}function vo(b){b=b|0;var d=0;c[b>>2]=7684;d=c[b+140>>2]|0;if(d|0){if(a[b+144>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+140>>2]=0}a[b+144>>0]=1;c[b+140>>2]=0;c[b+132>>2]=0;c[b+136>>2]=0;return}function wo(b){b=b|0;var d=0;d=sa;sa=sa+16|0;if(!(a[26576]|0))mz(26576)|0;Zz(d,b);c[6718]=c[d>>2];c[6719]=c[d+4>>2];c[6720]=c[d+8>>2];c[6721]=c[d+12>>2];sa=d;return 26872}function xo(b){b=b|0;var d=0;d=sa;sa=sa+16|0;if(!(a[26560]|0))mz(26560)|0;Dy(d,b);c[6698]=c[d>>2];c[6699]=c[d+4>>2];c[6700]=c[d+8>>2];c[6701]=c[d+12>>2];sa=d;return 26792}function yo(b){b=b|0;var d=0,e=0,f=0;e=c[b>>2]|0;f=a[e>>0]|0;if(!(RH(f<<24>>24)|0))d=0;else{d=0;do{d=(d*10|0)+-48+(f<<24>>24)|0;e=e+1|0;c[b>>2]=e;f=a[e>>0]|0}while((RH(f<<24>>24)|0)!=0)}return d|0}function zo(a,b,d){a=a|0;b=+b;d=d|0;b=b*.4000000059604645*+va[c[(c[a>>2]|0)+48>>2]&15](a);b=b*+va[c[(c[a>>2]|0)+48>>2]&15](a);g[d>>2]=b;g[d+4>>2]=b;g[d+8>>2]=b;g[d+12>>2]=0.0;return}function Ao(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;e=c[b>>2]|0;e=Ha[c[(c[e>>2]|0)+56>>2]&31](e,24)|0;c[e+4>>2]=c[b>>2];c[e>>2]=6840;return e|0}function Bo(a,b){a=a|0;b=b|0;var d=0,e=0;d=sa;sa=sa+16|0;Aw(a);e=JI(c[b+4>>2]|0)|0;c[d>>2]=0;Fn(a,e,d);pr(b,e,c[a+12>>2]|0);sa=d;return}function Co(a,b,c,d,e,f,h){a=a|0;b=+b;c=+c;d=+d;e=+e;f=+f;h=+h;var i=0;i=sa;sa=sa+16|0;g[i+8>>2]=c*h-d*f;g[i+4>>2]=d*e-b*h;g[i>>2]=b*f-c*e;ns(a,i+8|0,i+4|0,i);sa=i;return}function Do(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;b=JI(b+4|0)|0;e=(JI(xG(b,0)|0)|0)+(c<<2)|0;d=(JI(xG(b,1)|0)|0)+(c<<2)|0;ns(a,e,d,(JI(xG(b,2)|0)|0)+(c<<2)|0);return}function Eo(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;c[d>>2]=-581039253;c[d+4>>2]=-581039253;c[d+8>>2]=-581039253;g[d+12>>2]=0.0;c[e>>2]=1566444395;c[e+4>>2]=1566444395;c[e+8>>2]=1566444395;g[e+12>>2]=0.0;return}function Fo(a,b){a=a|0;b=b|0;var c=0.0,d=0.0;c=+g[(JI(a)|0)>>2];c=c*+g[(JI(b)|0)>>2];d=+g[(JI(a+16|0)|0)>>2];d=c+d*+g[(oI(b)|0)>>2];c=+g[(JI(a+32|0)|0)>>2];return +(d+c*+g[(nI(b)|0)>>2])}function Go(b){b=b|0;var d=0;d=sa;sa=sa+16|0;if(!(a[26544]|0))mz(26544)|0;up(d,b);c[6690]=c[d>>2];c[6691]=c[d+4>>2];c[6692]=c[d+8>>2];c[6693]=c[d+12>>2];sa=d;return 26760}function Ho(b){b=b|0;var d=0;d=sa;sa=sa+16|0;if(!(a[26552]|0))mz(26552)|0;Ll(d,b);c[6694]=c[d>>2];c[6695]=c[d+4>>2];c[6696]=c[d+8>>2];c[6697]=c[d+12>>2];sa=d;return 26776}function Io(a,b){a=a|0;b=b|0;var c=0.0,d=0.0;c=+g[a>>2];c=c*+g[(JI(b)|0)>>2];d=+g[a+4>>2];d=c+d*+g[(oI(b)|0)>>2];c=+g[a+8>>2];c=d+c*+g[(nI(b)|0)>>2];return +(c+ +g[a+12>>2]*+g[b+12>>2])}function Jo(b){b=b|0;var d=0;c[b>>2]=11748;if(a[b+192>>0]|0?(d=c[b+136>>2]|0,Pa[c[c[d>>2]>>2]&511](d),d=c[b+136>>2]|0,d|0):0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}yh(b+64|0);yh(b+4|0);return}function Ko(b){b=b|0;var d=0;c[b>>2]=12276;d=c[b+32>>2]|0;if(d|0){if(a[b+36>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+32>>2]=0}a[b+36>>0]=1;c[b+32>>2]=0;c[b+24>>2]=0;c[b+28>>2]=0;return}function Lo(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;ns(a,b,c,d);ns(a+16|0,e,f,g);ns(a+32|0,h,i,j);return}function Mo(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=sa;sa=sa+64|0;Uj(d+16|0,b,c);xl(d,b,+g[c+48>>2],+g[c+52>>2],+g[c+56>>2]);bq(a,d+16|0,d);sa=d;return}function No(a){a=a|0;var b=0;c[a>>2]=8316;c[a+12>>2]=8364;b=c[a+60>>2]|0;Va[c[(c[b>>2]|0)+20>>2]&127](b,c[a+76>>2]|0);b=c[a+60>>2]|0;Va[c[(c[b>>2]|0)+16>>2]&127](b,c[a+76>>2]|0);return}function Oo(b){b=b|0;var d=0;c[b>>2]=5756;d=c[b+32>>2]|0;if(d|0){if(a[b+36>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+32>>2]=0}a[b+36>>0]=1;c[b+32>>2]=0;c[b+24>>2]=0;c[b+28>>2]=0;return}function Po(a){a=a|0;var b=0,d=0;c[a>>2]=9932;b=c[a+52>>2]|0;if(b|0?(Pa[c[c[b>>2]>>2]&511](b),d=c[a+52>>2]|0,d|0):0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[7183]=(c[7183]|0)+1;Hc(c[a+-4>>2]|0);return}function Qo(a,b){a=a|0;b=b|0;var d=0;d=(c[a+92>>2]|0)+4|0;c[d>>2]=c[b>>2];c[d+4>>2]=c[b+4>>2];c[d+8>>2]=c[b+8>>2];c[d+12>>2]=c[b+12>>2];Oi(a);return}function Ro(b,d){b=b|0;d=d|0;var e=0;if(a[b+273>>0]|0?(e=c[b+200>>2]|0,e|0):0){c[7183]=(c[7183]|0)+1;Hc(c[e+-4>>2]|0)}a[b+273>>0]=0;c[b+200>>2]=d;c[(c[b+196>>2]|0)+8>>2]=d;return}function So(b){b=b|0;var d=0;c[b>>2]=7940;d=c[b+20>>2]|0;if(d|0){if(a[b+24>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+20>>2]=0}a[b+24>>0]=1;c[b+20>>2]=0;c[b+12>>2]=0;c[b+16>>2]=0;return}function To(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;e=c[b>>2]|0;e=Ha[c[(c[e>>2]|0)+56>>2]&31](e,8)|0;c[e+4>>2]=c[b>>2];c[e>>2]=12136;return e|0}function Uo(a,b){a=a|0;b=+b;c[a+8>>2]=0;c[a+12>>2]=1065353216;c[a+16>>2]=1065353216;c[a+20>>2]=1065353216;g[a+24>>2]=0.0;g[a+44>>2]=.03999999910593033;c[a>>2]=9480;c[a+4>>2]=8;jG(a+28|0,b);g[a+44>>2]=b;return}function Vo(b){b=b|0;var d=0;d=Ss()|0;c[d+44>>2]=b;a[d+16>>0]=1;c[d+12>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;a[d+36>>0]=1;c[d+32>>2]=0;c[d+24>>2]=0;c[d+28>>2]=0;c[d+40>>2]=0;return d|0}function Wo(b){b=b|0;var d=0;c[b>>2]=11556;d=c[b+16>>2]|0;if(d|0){if(a[b+20>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[b+16>>2]=0}a[b+20>>0]=1;c[b+16>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;return}function Xo(a,b,c,d,e){a=a|0;b=+b;c=+c;d=+d;e=+e;var f=0;f=sa;sa=sa+16|0;g[f+12>>2]=b;g[f+8>>2]=c;g[f+4>>2]=d;g[f>>2]=e;tr(a,f+12|0,f+8|0,f+4|0,f);sa=f;return}function Yo(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;f=c[b+8>>2]|0;e=c[f+284>>2]|0;Za[c[(c[e>>2]|0)+40>>2]&127](e,f,c[d+8>>2]|0);return}function Zo(b){b=b|0;var d=0,e=0;c[b>>2]=8812;if(!(a[b+8>>0]|0)){GI(b);return}d=c[b+12>>2]|0;if(!d){GI(b);return}e=c[b+4>>2]|0;Va[c[(c[e>>2]|0)+16>>2]&127](e,d);GI(b);return}function _o(a,b){a=a|0;b=b|0;var d=0,e=0;d=sa;sa=sa+16|0;e=JI(c[b+4>>2]|0)|0;Sl(a,e,d);yn(b,e,c[a+12>>2]|0);sa=d;return}function $o(b){b=b|0;var d=0,e=0;c[b>>2]=12164;if(!(a[b+8>>0]|0)){GI(b);return}d=c[b+12>>2]|0;if(!d){GI(b);return}e=c[b+4>>2]|0;Va[c[(c[e>>2]|0)+16>>2]&127](e,d);GI(b);return}function ap(b){b=b|0;var d=0,e=0;c[b>>2]=8288;if(!(a[b+8>>0]|0)){GI(b);return}d=c[b+12>>2]|0;if(!d){GI(b);return}e=c[b+4>>2]|0;Va[c[(c[e>>2]|0)+16>>2]&127](e,d);GI(b);return}function bp(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=sa;sa=sa+16|0;c[e>>2]=11728;c[e+4>>2]=b;Za[c[(c[a>>2]|0)+48>>2]&127](a,e,d);sa=e;return}function cp(b){b=b|0;var d=0;c[b>>2]=9580;if(!(a[b+61>>0]|0))return;d=c[b+52>>2]|0;Pa[c[c[d>>2]>>2]&511](d);b=c[b+52>>2]|0;if(!b)return;c[7183]=(c[7183]|0)+1;Hc(c[b+-4>>2]|0);return}function dp(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=J(b&65535,a&65535)|0;e=(c>>>16)+(J(b&65535,a>>>16)|0)|0;d=J(b>>>16,a&65535)|0;return (P((e>>>16)+(J(b>>>16,a>>>16)|0)+(((e&65535)+d|0)>>>16)|0),e+d<<16|c&65535|0)|0}function ep(b){b=b|0;var d=0,e=0;c[b>>2]=8384;if(!(a[b+8>>0]|0)){GI(b);return}d=c[b+12>>2]|0;if(!d){GI(b);return}e=c[b+4>>2]|0;Va[c[(c[e>>2]|0)+16>>2]&127](e,d);GI(b);return}function fp(b,c,d){b=b|0;c=c|0;d=d|0;var e=0;if((c|0)<(b|0)&(b|0)<(c+d|0)){e=b;c=c+d|0;b=b+d|0;while((d|0)>0){b=b-1|0;c=c-1|0;d=d-1|0;a[b>>0]=a[c>>0]|0}b=e}else Bh(b,c,d)|0;return b|0}function gp(){var a=0,b=0;b=sa;sa=sa+32|0;a=Nr(112)|0;et(b);Df(a,b);sa=b;return a|0}function hp(a,b){a=a|0;b=b|0;var d=0,e=0;d=sa;sa=sa+16|0;e=JI(c[b+4>>2]|0)|0;c[d>>2]=0;Fn(a,e,d);pr(b,e,c[a+12>>2]|0);sa=d;return}function ip(b){b=b|0;var d=0,e=0;c[b>>2]=8860;if(!(a[b+16>>0]|0)){GI(b);return}d=c[b+20>>2]|0;if(!d){GI(b);return}e=c[b+4>>2]|0;Va[c[(c[e>>2]|0)+16>>2]&127](e,d);GI(b);return}function jp(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0;e=+w(+(+g[b>>2]));d=+w(+(+g[b+4>>2]));c=+w(+(+g[b+8>>2]));g[a+12>>2]=e;g[a+16>>2]=d;g[a+20>>2]=c;g[a+24>>2]=0.0;return}function kp(a,b,d,e){a=a|0;b=b|0;d=+d;e=e|0;var f=0;f=sa;sa=sa+64|0;sq(f);Fr(f,b);Ua[c[(c[a>>2]|0)+16>>2]&1](a,d,f,e);sa=f;return}function lp(a,b){a=a|0;b=b|0;ef(a,c[b+36>>2]|0);return}function mp(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;if(RC(a,c[b+8>>2]|0)|0)sm(b,d,e);return}function np(a){a=a|0;var b=0;c[a>>2]=8364;b=c[a+48>>2]|0;Va[c[(c[b>>2]|0)+20>>2]&127](b,c[a+64>>2]|0);b=c[a+48>>2]|0;Va[c[(c[b>>2]|0)+16>>2]&127](b,c[a+64>>2]|0);GI(a);return}function op(a,b,c,d,e,f,g,h,i,j,k,l,m){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=+f;g=+g;h=+h;i=+i;j=+j;k=k|0;l=+l;m=m|0;cb[a&1](b|0,c|0,d|0,e|0,+f,+g,+h,+i,+j,k|0,+l,m|0)}function pp(a,b,c,d){a=a|0;b=b|0;c=c|0;d=+d;g[a>>2]=(1.0-d)*+g[b>>2]+ +g[c>>2]*d;g[a+4>>2]=(1.0-d)*+g[b+4>>2]+ +g[c+4>>2]*d;g[a+8>>2]=(1.0-d)*+g[b+8>>2]+ +g[c+8>>2]*d;return}function qp(a,b,c,d,e,f,h){a=a|0;b=+b;c=+c;d=+d;e=+e;f=+f;h=+h;var i=0;i=sa;sa=sa+16|0;g[i+8>>2]=b+e;g[i+4>>2]=c+f;g[i>>2]=d+h;ns(a,i+8|0,i+4|0,i);sa=i;return}function rp(a,b,c,d,e,f,h){a=a|0;b=+b;c=+c;d=+d;e=+e;f=+f;h=+h;var i=0;i=sa;sa=sa+16|0;g[i+8>>2]=b*e;g[i+4>>2]=c*f;g[i>>2]=d*h;ns(a,i+8|0,i+4|0,i);sa=i;return}function sp(a,b,c,d,e,f,h){a=a|0;b=+b;c=+c;d=+d;e=+e;f=+f;h=+h;var i=0;i=sa;sa=sa+16|0;g[i+8>>2]=b-e;g[i+4>>2]=c-f;g[i>>2]=d-h;ns(a,i+8|0,i+4|0,i);sa=i;return}function tp(b,c,e,f){b=b|0;c=c|0;e=e|0;f=f|0;if(!((b|0)==0&(c|0)==0))do{e=e+-1|0;a[e>>0]=d[480+(b&15)>>0]|0|f;b=xt(b|0,c|0,4)|0;c=Q()|0}while(!((b|0)==0&(c|0)==0));return e|0}function up(a,b){a=a|0;b=b|0;var c=0;c=sa;sa=sa+16|0;g[c+8>>2]=-+g[b>>2];g[c+4>>2]=-+g[b+4>>2];g[c>>2]=-+g[b+8>>2];rv(a,c+8|0,c+4|0,c,b+12|0);sa=c;return}function vp(a){a=a|0;var b=0;c[a>>2]=9932;b=c[a+52>>2]|0;if(!b)return;Pa[c[c[b>>2]>>2]&511](b);a=c[a+52>>2]|0;if(!a)return;c[7183]=(c[7183]|0)+1;Hc(c[a+-4>>2]|0);return}function wp(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;return +(+ca(6,a|0,b|0,c|0,d|0,e|0,f|0,g|0,h|0))}function xp(a,b){a=a|0;b=b|0;if((b|0)==0?1:(c[b+236>>2]&2|0)==0){Vj(a,b);return}else{Va[c[(c[a>>2]|0)+92>>2]&127](a,b);return}}function yp(a){a=a|0;var b=0;c[a>>2]=8364;b=c[a+48>>2]|0;Va[c[(c[b>>2]|0)+20>>2]&127](b,c[a+64>>2]|0);b=c[a+48>>2]|0;Va[c[(c[b>>2]|0)+16>>2]&127](b,c[a+64>>2]|0);return}function zp(){var b=0;b=Nr(40)|0;g[b+12>>2]=1.0;c[b+8>>2]=0;c[b+4>>2]=5;c[b>>2]=5756;a[b+36>>0]=1;c[b+32>>2]=0;c[b+24>>2]=0;c[b+28>>2]=0;a[b+16>>0]=1;return b|0}function Ap(a,b,c,d){a=a|0;b=+b;c=+c;d=+d;var e=0;e=sa;sa=sa+16|0;rp(e,b,c,d,+g[a+348>>2],+g[a+352>>2],+g[a+356>>2]);Hr(a+412|0,e)|0;sa=e;return}function Bp(a,b,c){a=+a;b=+b;c=+c;var d=0,e=0;e=sa;sa=sa+16|0;g[e+8>>2]=a;g[e+4>>2]=b;g[e>>2]=c;d=Zs()|0;ns(d,e+8|0,e+4|0,e);sa=e;return d|0}function Cp(a,b){a=a|0;b=b|0;c[a+12>>2]=c[b>>2];c[a+12+4>>2]=c[b+4>>2];c[a+12+8>>2]=c[b+8>>2];c[a+12+12>>2]=c[b+12>>2];Oi(a);return}function Dp(a,b,c,d,e,f,g,h,i,j,k){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;return Na[a&3](b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0,j|0,k|0)|0}function Ep(a,b){a=a|0;b=b|0;a=c[a+12>>2]|0;return Ha[c[(c[a>>2]|0)+8>>2]&31](a,b)|0}function Fp(a,b,c,d){a=a|0;b=+b;c=+c;d=+d;var e=0;e=sa;sa=sa+16|0;rp(e,b,c,d,+g[a+544>>2],+g[a+548>>2],+g[a+552>>2]);Hr(a+428|0,e)|0;sa=e;return}function Gp(a,b,c,d,e,f,g,h,i,j,k){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;return +Ea[a&3](b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0,j|0,k|0)}function Hp(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=Cs()|0;Md(h,a,b,c,d,e,f,g);return h|0}function Ip(){var a=0,b=0;a=Gr()|0;if((a|0?(b=c[a>>2]|0,b|0):0)?((c[b+48>>2]&-256|0)==1126902528?(c[b+48+4>>2]|0)==1129074247:0):0)Cx(c[b+12>>2]|0);Cx(RE()|0)}function Jp(a,b,d){a=a|0;b=b|0;d=d|0;Dz(a,b);c[a+48>>2]=c[d>>2];c[a+48+4>>2]=c[d+4>>2];c[a+48+8>>2]=c[d+8>>2];c[a+48+12>>2]=c[d+12>>2];return}function Kp(a,b){a=a|0;b=b|0;var c=0;c=sa;sa=sa+16|0;vl(c,a,+g[b+48>>2],+g[b+52>>2],+g[b+56>>2]);Hr(a+48|0,c)|0;fk(a,b);sa=c;return a|0}function Lp(a,b){a=a|0;b=b|0;c[a+260>>2]=(c[a+260>>2]|0)+1;c[a+328>>2]=c[b>>2];c[a+328+4>>2]=c[b+4>>2];c[a+328+8>>2]=c[b+8>>2];c[a+328+12>>2]=c[b+12>>2];return}function Mp(){var a=0,b=0;b=sa;sa=sa+32|0;a=Nr(92)|0;et(b);ed(a,b);sa=b;return a|0}function Np(a,b,d){a=a|0;b=b|0;d=d|0;c[d>>2]=c[a+56+(b<<4)>>2];c[d+4>>2]=c[a+56+(b<<4)+4>>2];c[d+8>>2]=c[a+56+(b<<4)+8>>2];c[d+12>>2]=c[a+56+(b<<4)+12>>2];return}function Op(a,b){a=a|0;b=b|0;c[a+260>>2]=(c[a+260>>2]|0)+1;c[a+312>>2]=c[b>>2];c[a+312+4>>2]=c[b+4>>2];c[a+312+8>>2]=c[b+8>>2];c[a+312+12>>2]=c[b+12>>2];return}function Pp(b,d){b=b|0;d=d|0;if(!(a[26632]|0))mz(26632)|0;d=xG(b,d)|0;c[6786]=c[d>>2];c[6787]=c[d+4>>2];c[6788]=c[d+8>>2];c[6789]=c[d+12>>2];return 27144}function Qp(a,b){a=a|0;b=b|0;c[a+260>>2]=(c[a+260>>2]|0)+1;c[a+544>>2]=c[b>>2];c[a+544+4>>2]=c[b+4>>2];c[a+544+8>>2]=c[b+8>>2];c[a+544+12>>2]=c[b+12>>2];return}function Rp(a,b,c,d,e,f,g,h,i,j,k,l){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=+f;g=+g;h=+h;i=+i;j=j|0;k=k|0;l=+l;db[a&1](b|0,c|0,d|0,e|0,+f,+g,+h,+i,j|0,k|0,+l)}function Sp(a){a=a|0;var b=0.0,d=0.0;d=+g[a+32>>2];+va[c[(c[a>>2]|0)+48>>2]&15](a);b=+va[c[(c[a>>2]|0)+48>>2]&15](a);+va[c[(c[a>>2]|0)+48>>2]&15](a);return +(d+b)}function Tp(a){a=a|0;var b=0.0,d=0.0;d=+g[a+28>>2];b=+va[c[(c[a>>2]|0)+48>>2]&15](a);+va[c[(c[a>>2]|0)+48>>2]&15](a);+va[c[(c[a>>2]|0)+48>>2]&15](a);return +(d+b)}function Up(a,b,c,d,e,f,g,h,i,j,k){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;kb[a&3](b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0,j|0,k|0)}function Vp(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=sa;sa=sa+16|0;c[e>>2]=c[d>>2];a=Ja[c[(c[a>>2]|0)+16>>2]&63](a,b,e)|0;if(a)c[d>>2]=c[e>>2];sa=e;return a&1|0}function Wp(a,b,c,d,e){a=a|0;b=+b;c=+c;d=+d;e=+e;var f=0;f=sa;sa=sa+16|0;g[f+8>>2]=b*e;g[f+4>>2]=c*e;g[f>>2]=d*e;ns(a,f+8|0,f+4|0,f);sa=f;return}function Xp(a,b){a=a|0;b=b|0;g[a>>2]=+g[a>>2]*+g[b>>2];g[a+4>>2]=+g[a+4>>2]*+g[b>>2];g[a+8>>2]=+g[a+8>>2]*+g[b>>2];g[a+12>>2]=+g[a+12>>2]*+g[b>>2];return a|0}function Yp(){var a=0;a=Nr(8)|0;c[7181]=a;la(a|0,0)|0;c[7171]=23733;c[7172]=0;c[7173]=0;c[7174]=0;c[7175]=0;c[7176]=0;c[7177]=0;c[7178]=0;c[7179]=0;er(28684);return}function Zp(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;Lo(a,b,c,d,e,f,g,h,i,j);return}function _p(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;d=fs(324)|0;jd(d,a,b,c);return d|0}function $p(b){b=b|0;var d=0;c[b>>2]=5756;d=c[b+32>>2]|0;if(!d){GI(b);return}if(!(a[b+36>>0]|0)){GI(b);return}c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0);GI(b);return}function aq(a,b,d){a=a|0;b=b|0;d=d|0;b=c[b+204>>2]|0;if(b&4|0)return 0;a=c[d+204>>2]|0;if(!(a&4))return (b&3|0)==0|(a&3|0)==0|0;else return 0;return 0}function bq(a,b,d){a=a|0;b=b|0;d=d|0;bm(a,b);c[a+48>>2]=c[d>>2];c[a+48+4>>2]=c[d+4>>2];c[a+48+8>>2]=c[d+8>>2];c[a+48+12>>2]=c[d+12>>2];return}function cq(b){b=b|0;var d=0;c[b>>2]=8812;if(!(a[b+8>>0]|0))return;d=c[b+12>>2]|0;if(!d)return;b=c[b+4>>2]|0;Va[c[(c[b>>2]|0)+16>>2]&127](b,d);return}function dq(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=0;while(1){if((e|0)>=(b|0))break;Jl(d+(e*96|0)|0,(c[a+12>>2]|0)+(e*96|0)|0);e=e+1|0}return}function eq(b){b=b|0;var d=0;c[b>>2]=12164;if(!(a[b+8>>0]|0))return;d=c[b+12>>2]|0;if(!d)return;b=c[b+4>>2]|0;Va[c[(c[b>>2]|0)+16>>2]&127](b,d);return}function fq(b){b=b|0;var d=0;c[b>>2]=7940;d=c[b+20>>2]|0;if(!d){GI(b);return}if(!(a[b+24>>0]|0)){GI(b);return}c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0);GI(b);return}function gq(a,b){a=a|0;b=b|0;var c=0;c=sa;sa=sa+128|0;vn(c,a+68|0);Mo(c+64|0,c,a+4|0);Dq(b,c+64|0);sa=c;return}function hq(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=Cs()|0;Md(g,a,b,c,d,e,f,0);return g|0}function iq(b){b=b|0;var d=0;c[b>>2]=8288;if(!(a[b+8>>0]|0))return;d=c[b+12>>2]|0;if(!d)return;b=c[b+4>>2]|0;Va[c[(c[b>>2]|0)+16>>2]&127](b,d);return}function jq(a,b){a=a|0;b=b|0;a=c[a+4>>2]|0;return ((c[b>>2]|0)==(a|0)?1:(c[b+4>>2]|0)==(a|0))|0}function kq(b){b=b|0;var d=0;c[b>>2]=11556;d=c[b+16>>2]|0;if(!d){GI(b);return}if(!(a[b+20>>0]|0)){GI(b);return}c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0);GI(b);return}function lq(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=ps()|0;Td(f,a,b,c,d,e);return f|0}function mq(a,b){a=a|0;b=b|0;a=c[a+20>>2]|0;return Ha[c[(c[a>>2]|0)+8>>2]&31](a,b)|0}function nq(a,b,c,d){a=a|0;b=+b;c=+c;d=+d;var e=0;e=sa;sa=sa+16|0;g[e+8>>2]=b;g[e+4>>2]=c;g[e>>2]=d;ns(a,e+8|0,e+4|0,e);sa=e;return}function oq(b){b=b|0;var d=0;c[b>>2]=8384;if(!(a[b+8>>0]|0))return;d=c[b+12>>2]|0;if(!d)return;b=c[b+4>>2]|0;Va[c[(c[b>>2]|0)+16>>2]&127](b,d);return}function pq(a,b,d,e,f,g,h,i,j){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=+j;fb[c[(c[a>>2]|0)+28>>2]&1](a,b,d,e,i,j);return}function qq(a,b,d){a=a|0;b=b|0;d=d|0;qH(a);c[a>>2]=5640;Dq(a+4|0,b);Dq(a+68|0,d);Dq(a+132|0,b);c[a+196>>2]=0;return}function rq(b){b=b|0;var d=0;c[b>>2]=8860;if(!(a[b+16>>0]|0))return;d=c[b+20>>2]|0;if(!d)return;b=c[b+4>>2]|0;Va[c[(c[b>>2]|0)+16>>2]&127](b,d);return}function sq(a){a=a|0;var b=0;b=sa;sa=sa+16|0;Jm(a);g[b+8>>2]=0.0;g[b+4>>2]=0.0;g[b>>2]=0.0;ns(a+48|0,b+8|0,b+4|0,b);sa=b;return}function tq(b,c,d){b=b|0;c=c|0;d=d|0;if(!((b|0)==0&(c|0)==0))do{d=d+-1|0;a[d>>0]=b&7|48;b=xt(b|0,c|0,3)|0;c=Q()|0}while(!((b|0)==0&(c|0)==0));return d|0}function uq(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;return Ma[a&3](b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0,j|0)|0}function vq(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;var f=0;f=Nr(44)|0;Vl(f,a,b,c,d,e);return f|0}function wq(a,b){a=a|0;b=b|0;Bo(a,b);c[a+20>>2]=c[b+20>>2];c[a+20+4>>2]=c[b+20+4>>2];c[a+20+8>>2]=c[b+20+8>>2];c[a+20+12>>2]=c[b+20+12>>2];return}function xq(a,b,c){a=a|0;b=b|0;c=+c;switch(b|0){case 3:{g[a+452>>2]=c;return}case 4:{g[a+448>>2]=c;return}case 5:{g[a+444>>2]=c;return}default:return}}function yq(a,b){a=a|0;b=b|0;b=c[b+36>>2]|0;ae(a,c[(c[(c[(c[a+4>>2]|0)+4>>2]|0)+24>>2]|0)+(b*80|0)+64>>2]|0,b);return}function zq(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;return +Da[a&3](b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0,j|0)}function Aq(a,b){a=a|0;b=b|0;var c=0;c=0;while(1){if((c|0)==3)break;g[a+868+(c<<6)+4>>2]=+As(+g[(JI(b)|0)+(c<<2)>>2]);c=c+1|0}return}function Bq(a,b,c,d){a=+a;b=b|0;c=c|0;d=d|0;var e=0;e=Nr(140)|0;vk(e,a,b,c,d);return e|0}function Cq(a,b,d,e,f,g,h,i){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;return +(+Ca[c[(c[a>>2]|0)+12>>2]&1](a,b,d,e,f,g,h,i))}function Dq(a,b){a=a|0;b=b|0;bm(a,b);c[a+48>>2]=c[b+48>>2];c[a+48+4>>2]=c[b+48+4>>2];c[a+48+8>>2]=c[b+48+8>>2];c[a+48+12>>2]=c[b+48+12>>2];return}function Eq(a,b){a=a|0;b=b|0;ns(a,b,b+16|0,b+32|0);ns(a+16|0,b+4|0,b+20|0,b+36|0);ns(a+32|0,b+8|0,b+24|0,b+40|0);return}function Fq(a,b){a=a|0;b=b|0;var c=0;c=0;while(1){if((c|0)==3)break;g[a+868+(c<<6)>>2]=+As(+g[(JI(b)|0)+(c<<2)>>2]);c=c+1|0}return}function Gq(a,b){a=a|0;b=b|0;Pa[c[(c[b>>2]|0)+32>>2]&511](b);Ac(a,b);Pa[c[(c[b>>2]|0)+36>>2]&511](b);return}function Hq(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;jb[a&1](b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0,j|0)}function Iq(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;Za[c[(c[a>>2]|0)+108>>2]&127](a,b,d);Za[c[(c[a>>2]|0)+108>>2]&127](a,(b+1|0)%3|0,e);return}function Jq(a){a=a|0;var b=0.0,c=0;c=+Io(a,a)<0.0;b=+g[a+12>>2];if(c){b=+AA(b);b=b*2.0;return +b}else{b=+AA(-b);b=b*2.0;return +b}return 0.0}function Kq(){var a=0,b=0;b=Vr(c[6688]|0,c[6689]|0,1284865837,1481765933)|0;b=xv(b|0,Q()|0,1,0)|0;a=Q()|0;c[6688]=b;c[6689]=a;a=xt(b|0,a|0,33)|0;Q()|0;return a|0}function Lq(a,b,c,d){a=a|0;b=+b;c=+c;d=+d;var e=0;e=sa;sa=sa+16|0;g[e+8>>2]=-b;g[e+4>>2]=-c;g[e>>2]=-d;ns(a,e+8|0,e+4|0,e);sa=e;return}function Mq(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=ss()|0;td(f,a,b,c&65535,d,e);return f|0}function Nq(a){a=a|0;c[7182]=(c[7182]|0)+1;a=xb((a*104|3)+16|0)|0;if(!a){a=0;return a|0}c[(a+4+15&-16)+-4>>2]=a;a=a+4+15&-16;return a|0}function Oq(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=0;while(1){if((e|0)>=(b|0))break;wq(d+(e*36|0)|0,(c[a+12>>2]|0)+(e*36|0)|0);e=e+1|0}return}function Pq(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=+j;ib[a&1](b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0,+j)}function Qq(a,b){a=a|0;b=b|0;c[a+12>>2]=c[b>>2];c[a+12+4>>2]=c[b+4>>2];c[a+12+8>>2]=c[b+8>>2];c[a+12+12>>2]=c[b+12>>2];return}function Rq(a,b){a=a|0;b=b|0;c[a+44>>2]=c[b>>2];c[a+44+4>>2]=c[b+4>>2];c[a+44+8>>2]=c[b+8>>2];c[a+44+12>>2]=c[b+12>>2];return}function Sq(a,c){a=a|0;c=c|0;if(!((b[c+4>>1]&b[a+6>>1])<<16>>16)){c=0;return c|0}c=(b[a+4>>1]&b[c+6>>1])<<16>>16!=0;return c|0}function Tq(a,c){a=a|0;c=c|0;if(!((b[c+4>>1]&b[a+10>>1])<<16>>16)){c=0;return c|0}c=(b[a+8>>1]&b[c+6>>1])<<16>>16!=0;return c|0}function Uq(a,b){a=a|0;b=b|0;c[a+696>>2]=c[b>>2];c[a+696+4>>2]=c[b+4>>2];c[a+696+8>>2]=c[b+8>>2];c[a+696+12>>2]=c[b+12>>2];return}function Vq(a,b){a=a|0;b=b|0;c[a+680>>2]=c[b>>2];c[a+680+4>>2]=c[b+4>>2];c[a+680+8>>2]=c[b+8>>2];c[a+680+12>>2]=c[b+12>>2];return}function Wq(a,b){a=a|0;b=b|0;c[a+60>>2]=c[b>>2];c[a+60+4>>2]=c[b+4>>2];c[a+60+8>>2]=c[b+8>>2];c[a+60+12>>2]=c[b+12>>2];return}function Xq(a,b){a=a|0;b=b|0;c[a+28>>2]=c[b>>2];c[a+28+4>>2]=c[b+4>>2];c[a+28+8>>2]=c[b+8>>2];c[a+28+12>>2]=c[b+12>>2];return}function Yq(a,b){a=a|0;b=b|0;c[a+156>>2]=c[b>>2];c[a+156+4>>2]=c[b+4>>2];c[a+156+8>>2]=c[b+8>>2];c[a+156+12>>2]=c[b+12>>2];return}function Zq(b,c,d){b=b|0;c=c|0;d=d|0;a[b+1309+c>>0]=d&1;if((c|0)<3){a[b+788+c>>0]=d&1;return}else{a[b+868+(c+-3<<6)+44>>0]=d&1;return}}function _q(a,c){a=a|0;c=c|0;if(!((b[c+4>>1]&b[a+14>>1])<<16>>16)){c=0;return c|0}c=(b[a+12>>1]&b[c+6>>1])<<16>>16!=0;return c|0}function $q(a,b){a=a|0;b=b|0;c[a+108>>2]=c[b>>2];c[a+108+4>>2]=c[b+4>>2];c[a+108+8>>2]=c[b+8>>2];c[a+108+12>>2]=c[b+12>>2];return}function ar(b){b=b|0;if(a[26672]|0)return 27304;if(!(mz(26672)|0))return 27304;c[6826]=1065353216;c[6827]=1065353216;c[6828]=1065353216;g[6829]=0.0;return 27304}function br(a){a=a|0;c[7182]=(c[7182]|0)+1;a=xb(a*96|19)|0;if(!a){a=0;return a|0}c[(a+4+15&-16)+-4>>2]=a;a=a+4+15&-16;return a|0}function cr(a,b){a=a|0;b=b|0;c[a+20>>2]=c[b>>2];c[a+20+4>>2]=c[b+4>>2];c[a+20+8>>2]=c[b+8>>2];c[a+20+12>>2]=c[b+12>>2];return}function dr(a){a=a|0;c[7182]=(c[7182]|0)+1;a=xb((a<<4|3)+16|0)|0;if(!a){a=0;return a|0}c[(a+4+15&-16)+-4>>2]=a;a=a+4+15&-16;return a|0}function er(a){a=a|0;var b=0;do{c[a+4>>2]=0;g[a+8>>2]=0.0;b=c[a+24>>2]|0;if(b|0)er(b);a=c[a+28>>2]|0}while((a|0)!=0);return}function fr(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=+f;Tc(a,b,c,d,e,f);return}function gr(b){b=b|0;var c=0;c=sa;sa=sa+64|0;if(!(a[26568]|0))mz(26568)|0;vn(c,b);Dq(26808,c);sa=c;return 26808}function hr(a){a=a|0;c[7182]=(c[7182]|0)+1;a=xb((a*36|3)+16|0)|0;if(!a){a=0;return a|0}c[(a+4+15&-16)+-4>>2]=a;a=a+4+15&-16;return a|0}function ir(a,b){a=a|0;b=b|0;c[a+172>>2]=c[b>>2];c[a+172+4>>2]=c[b+4>>2];c[a+172+8>>2]=c[b+8>>2];c[a+172+12>>2]=c[b+12>>2];return}function jr(a,b){a=a|0;b=b|0;c[a+32>>2]=c[b>>2];c[a+32+4>>2]=c[b+4>>2];c[a+32+8>>2]=c[b+8>>2];c[a+32+12>>2]=c[b+12>>2];return}function kr(a){a=a|0;g[a>>2]=5.880000114440918;g[a+4>>2]=.8299999833106995;g[a+8>>2]=.8799999952316284;g[a+12>>2]=500.0;g[a+16>>2]=10.5;g[a+20>>2]=6.0e3;return}function lr(a,b){a=a|0;b=b|0;c[a+316>>2]=c[b>>2];c[a+316+4>>2]=c[b+4>>2];c[a+316+8>>2]=c[b+8>>2];c[a+316+12>>2]=c[b+12>>2];return}function mr(a,b){a=a|0;b=b|0;c[a+300>>2]=c[b>>2];c[a+300+4>>2]=c[b+4>>2];c[a+300+8>>2]=c[b+8>>2];c[a+300+12>>2]=c[b+12>>2];return}function nr(a,b){a=a|0;b=b|0;c[a+64>>2]=c[b>>2];c[a+64+4>>2]=c[b+4>>2];c[a+64+8>>2]=c[b+8>>2];c[a+64+12>>2]=c[b+12>>2];return}function or(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=ss()|0;td(e,a,b,c&65535,d,0);return e|0}function pr(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=0;while(1){if((e|0)>=(b|0))break;c[d+(e<<2)>>2]=c[(c[a+12>>2]|0)+(e<<2)>>2];e=e+1|0}return}function qr(a,b){a=a|0;b=b|0;c[a+52>>2]=c[b>>2];c[a+52+4>>2]=c[b+4>>2];c[a+52+8>>2]=c[b+8>>2];c[a+52+12>>2]=c[b+12>>2];return}function rr(a,b){a=a|0;b=b|0;c[a+188>>2]=c[b>>2];c[a+188+4>>2]=c[b+4>>2];c[a+188+8>>2]=c[b+8>>2];c[a+188+12>>2]=c[b+12>>2];return}function sr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=(JI(b)|0)+(c<<2)|0;d=(JI(b+16|0)|0)+(c<<2)|0;ns(a,e,d,(JI(b+32|0)|0)+(c<<2)|0);return}function tr(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;c[a>>2]=c[b>>2];c[a+4>>2]=c[d>>2];c[a+8>>2]=c[e>>2];c[a+12>>2]=c[f>>2];return}function ur(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;return +Ca[a&1](b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0)}function vr(a,b){a=a|0;b=b|0;c[a+16>>2]=c[b>>2];c[a+16+4>>2]=c[b+4>>2];c[a+16+8>>2]=c[b+8>>2];c[a+16+12>>2]=c[b+12>>2];return}function wr(a,b,d){a=a|0;b=b|0;d=+d;Va[c[(c[a>>2]|0)+32>>2]&127](a,b);Wa[c[(c[a>>2]|0)+36>>2]&7](a,b,d);return}function xr(a){a=a|0;c[7182]=(c[7182]|0)+1;a=xb((a<<2|3)+16|0)|0;if(!a){a=0;return a|0}c[(a+4+15&-16)+-4>>2]=a;a=a+4+15&-16;return a|0}function yr(a,b){a=a|0;b=b|0;c[a+68>>2]=c[b>>2];c[a+68+4>>2]=c[b+4>>2];c[a+68+8>>2]=c[b+8>>2];c[a+68+12>>2]=c[b+12>>2];return}function zr(a,b){a=a|0;b=b|0;c[a+36>>2]=c[b>>2];c[a+36+4>>2]=c[b+4>>2];c[a+36+8>>2]=c[b+8>>2];c[a+36+12>>2]=c[b+12>>2];return}function Ar(a,b){a=a|0;b=b|0;c[a>>2]=c[b+248>>2];c[a+4>>2]=c[b+248+4>>2];c[a+8>>2]=c[b+248+8>>2];c[a+12>>2]=c[b+248+12>>2];return}function Br(b,d){b=b|0;d=d|0;if(!(a[26592]|0))mz(26592)|0;Dm(AB(c[b+12>>2]|0,d)|0);return 26904}function Cr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=ps()|0;fd(d,a,b,c);return d|0}function Dr(){var a=0;a=ws()|0;hn();hn();qq(a,27032,27032);return a|0}function Er(a,b,d){a=a|0;b=b|0;d=d|0;if((c[a+4>>2]|0)==(b|0)?(c[a+28>>2]|0)!=1:0)c[a+28>>2]=d;return}function Fr(a,b){a=a|0;b=b|0;c[a+48>>2]=c[b>>2];c[a+48+4>>2]=c[b+4>>2];c[a+48+8>>2]=c[b+8>>2];c[a+48+12>>2]=c[b+12>>2];return}function Gr(){var a=0,b=0;a=sa;sa=sa+16|0;if(!(pa(29300,3)|0)){b=na(c[7326]|0)|0;sa=a;return b|0}else Hu(24067,a);return 0}function Hr(a,b){a=a|0;b=b|0;g[a>>2]=+g[a>>2]+ +g[b>>2];g[a+4>>2]=+g[a+4>>2]+ +g[b+4>>2];g[a+8>>2]=+g[a+8>>2]+ +g[b+8>>2];return a|0}function Ir(a,b){a=a|0;b=b|0;g[a>>2]=+g[a>>2]-+g[b>>2];g[a+4>>2]=+g[a+4>>2]-+g[b+4>>2];g[a+8>>2]=+g[a+8>>2]-+g[b+8>>2];return a|0}function Jr(a,b){a=a|0;b=b|0;var c=0;c=sa;sa=sa+64|0;Mo(c,b,a+68|0);Dq(a+4|0,c);sa=c;return}function Kr(a){a=a|0;var b=0;b=Nr(112)|0;Df(b,a);return b|0}function Lr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=ss()|0;td(d,a,b,c&65535,0,0);return d|0}function Mr(a,b){a=a|0;b=b|0;c[a+76>>2]=c[b>>2];c[a+76+4>>2]=c[b+4>>2];c[a+76+8>>2]=c[b+8>>2];c[a+76+12>>2]=c[b+12>>2];return}function Nr(a){a=a|0;var b=0;b=(a|0)==0?1:a;while(1){a=xb(b)|0;if(a|0)break;a=HE()|0;if(!a){a=0;break}Oa[a&3]()}return a|0}function Or(a,b){a=a|0;b=b|0;c[a+4>>2]=c[b>>2];c[a+4+4>>2]=c[b+4>>2];c[a+4+8>>2]=c[b+8>>2];c[a+4+12>>2]=c[b+12>>2];return}function Pr(a,b){a=a|0;b=b|0;c[a>>2]=c[b>>2];c[a+4>>2]=c[b+4>>2];c[a+8>>2]=c[b+8>>2];c[a+12>>2]=c[b+12>>2];return}function Qr(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=fs(1252)|0;Hb(e,a,b,c,d);return e|0}function Rr(a,b){a=a|0;b=b|0;c[a+40>>2]=c[b>>2];c[a+40+4>>2]=c[b+4>>2];c[a+40+8>>2]=c[b+8>>2];c[a+40+12>>2]=c[b+12>>2];return}function Sr(a,b){a=a|0;b=b|0;c[a+24>>2]=c[b>>2];c[a+24+4>>2]=c[b+4>>2];c[a+24+8>>2]=c[b+8>>2];c[a+24+12>>2]=c[b+12>>2];return}function Tr(a,b){a=a|0;b=b|0;c[a+72>>2]=c[b>>2];c[a+72+4>>2]=c[b+4>>2];c[a+72+8>>2]=c[b+8>>2];c[a+72+12>>2]=c[b+12>>2];return}function Ur(a,b){a=a|0;b=b|0;c[a+56>>2]=c[b>>2];c[a+56+4>>2]=c[b+4>>2];c[a+56+8>>2]=c[b+8>>2];c[a+56+12>>2]=c[b+12>>2];return}function Vr(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=dp(a,c)|0;f=Q()|0;return (P((J(b,c)|0)+(J(d,a)|0)+f|f&0|0),e|0|0)|0}function Wr(a,b){a=a|0;b=b|0;g[a>>2]=+g[a>>2]*+g[b>>2];g[a+4>>2]=+g[a+4>>2]*+g[b>>2];g[a+8>>2]=+g[a+8>>2]*+g[b>>2];return a|0}function Xr(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;g[a+(c[b+52>>2]<<2)>>2]=1.0;return}function Yr(a){a=a|0;var b=0;b=sa;sa=sa+16|0;Hc(a);if(!(qa(c[7326]|0,0)|0)){sa=b;return}else Hu(24166,b)}function Zr(a,b){a=a|0;b=b|0;c[a+8>>2]=c[b>>2];c[a+8+4>>2]=c[b+4>>2];c[a+8+8>>2]=c[b+8>>2];c[a+8+12>>2]=c[b+12>>2];return}function _r(){var a=0;c[7182]=(c[7182]|0)+1;a=xb(215)|0;if(!a){a=0;return a|0}c[(a+4+15&-16)+-4>>2]=a;a=a+4+15&-16;return a|0}function $r(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Ts()|0;ke(d,a,b,c);return d|0}function as(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return Jc(b,c,d,e)|0}function bs(a,b){a=a|0;b=b|0;var d=0;d=0;while(1){if((d|0)>=(b|0))break;RG((c[a+12>>2]|0)+(d*36|0)|0);d=d+1|0}return}function cs(){var a=0;c[7182]=(c[7182]|0)+1;a=xb(203)|0;if(!a){a=0;return a|0}c[(a+4+15&-16)+-4>>2]=a;a=a+4+15&-16;return a|0}function ds(){var a=0;c[7182]=(c[7182]|0)+1;a=xb(1407)|0;if(!a){a=0;return a|0}c[(a+4+15&-16)+-4>>2]=a;a=a+4+15&-16;return a|0}function es(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=+e;f=f|0;g=g|0;$a[c[(c[a>>2]|0)+32>>2]&1](a,b,d,e,f,g);return}function fs(a){a=a|0;c[7182]=(c[7182]|0)+1;a=xb(a+19|0)|0;if(!a){a=0;return a|0}c[(a+4+15&-16)+-4>>2]=a;a=a+4+15&-16;return a|0}function gs(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=+d;e=e|0;f=f|0;ga(1,a|0,b|0,c|0,+d,e|0,f|0)|0;return}function hs(a){a=a|0;var b=0;b=ws()|0;hn();qq(b,a,27032);return b|0}function is(){var a=0;c[7182]=(c[7182]|0)+1;a=xb(191)|0;if(!a){a=0;return a|0}c[(a+4+15&-16)+-4>>2]=a;a=a+4+15&-16;return a|0}function js(a){a=a|0;bs(a,JI(c[a+4>>2]|0)|0);Os(a);Aw(a);return}function ks(a,b){a=a|0;b=b|0;if(!b?c[a+204>>2]&3|0:0)return;if((c[a+216>>2]&-2|0)!=4)c[a+216>>2]=1;g[a+220>>2]=0.0;return}function ls(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;ab[c[(c[a+-4>>2]|0)+8>>2]&127](a+-4|0,b,d,e);return}function ms(a,b){a=a|0;b=b|0;var c=0.0;c=+dF(a);c=+wI(c*+dF(b));return +(+AA(+Io(a,b)/c))}function ns(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;c[a>>2]=c[b>>2];c[a+4>>2]=c[d>>2];c[a+8>>2]=c[e>>2];g[a+12>>2]=0.0;return}function os(){var a=0;c[7182]=(c[7182]|0)+1;a=xb(143)|0;if(!a){a=0;return a|0}c[(a+4+15&-16)+-4>>2]=a;a=a+4+15&-16;return a|0}function ps(){var a=0;c[7182]=(c[7182]|0)+1;a=xb(1331)|0;if(!a){a=0;return a|0}c[(a+4+15&-16)+-4>>2]=a;a=a+4+15&-16;return a|0}function qs(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;hb[a&1](b|0,c|0,d|0,e|0,f|0,g|0,h|0)}function rs(){var a=0;c[7182]=(c[7182]|0)+1;a=xb(379)|0;if(!a){a=0;return a|0}c[(a+4+15&-16)+-4>>2]=a;a=a+4+15&-16;return a|0}function ss(){var a=0;c[7182]=(c[7182]|0)+1;a=xb(135)|0;if(!a){a=0;return a|0}c[(a+4+15&-16)+-4>>2]=a;a=a+4+15&-16;return a|0}function ts(){var a=0;c[7182]=(c[7182]|0)+1;a=xb(627)|0;if(!a){a=0;return a|0}c[(a+4+15&-16)+-4>>2]=a;a=a+4+15&-16;return a|0}function us(a,b){a=a|0;b=b|0;var c=0;c=ss()|0;td(c,a,b,16384,0,0);return c|0}function vs(){var a=0;c[7182]=(c[7182]|0)+1;a=xb(791)|0;if(!a){a=0;return a|0}c[(a+4+15&-16)+-4>>2]=a;a=a+4+15&-16;return a|0}function ws(){var a=0;c[7182]=(c[7182]|0)+1;a=xb(219)|0;if(!a){a=0;return a|0}c[(a+4+15&-16)+-4>>2]=a;a=a+4+15&-16;return a|0}function xs(){var a=0;c[7182]=(c[7182]|0)+1;a=xb(1147)|0;if(!a){a=0;return a|0}c[(a+4+15&-16)+-4>>2]=a;a=a+4+15&-16;return a|0}function ys(a,b){a=a|0;b=b|0;var c=0;c=Nr(80)|0;km(c,a,b);return c|0}function zs(){var a=0;c[7182]=(c[7182]|0)+1;a=xb(103)|0;if(!a){a=0;return a|0}c[(a+4+15&-16)+-4>>2]=a;a=a+4+15&-16;return a|0}function As(a){a=+a;a=+_H(a);if(a<-3.1415927410125732){a=a+6.2831854820251465;return +a}if(!(a>3.1415927410125732))return +a;a=a+-6.2831854820251465;return +a}function Bs(){var a=0;c[7182]=(c[7182]|0)+1;a=xb(115)|0;if(!a){a=0;return a|0}c[(a+4+15&-16)+-4>>2]=a;a=a+4+15&-16;return a|0}function Cs(){var a=0;c[7182]=(c[7182]|0)+1;a=xb(783)|0;if(!a){a=0;return a|0}c[(a+4+15&-16)+-4>>2]=a;a=a+4+15&-16;return a|0}function Ds(){var a=0;c[7182]=(c[7182]|0)+1;a=xb(131)|0;if(!a){a=0;return a|0}c[(a+4+15&-16)+-4>>2]=a;a=a+4+15&-16;return a|0}function Es(a,b){a=a|0;b=b|0;c[a+348>>2]=c[b>>2];c[a+348+4>>2]=c[b+4>>2];c[a+348+8>>2]=c[b+8>>2];return}function Fs(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if((d|0)<=0)return;mk(c|0,0,d<<4|0)|0;return}function Gs(){var a=0;c[7182]=(c[7182]|0)+1;a=xb(111)|0;if(!a){a=0;return a|0}c[(a+4+15&-16)+-4>>2]=a;a=a+4+15&-16;return a|0}function Hs(a,b){a=a|0;b=b|0;c[a+480>>2]=b;if(!b)return;Va[c[(c[b>>2]|0)+8>>2]&127](b,a+4|0);return}function Is(a,b){a=a|0;b=b|0;var c=0;c=Ts()|0;ke(c,a,b,1);return c|0}function Js(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=c[a+192>>2]|0;ab[c[(c[e>>2]|0)+8>>2]&127](e,a+4|0,b,d);return}function Ks(a){a=a|0;var b=0;b=Nr(92)|0;ed(b,a);return b|0}function Ls(a,b){a=a|0;b=b|0;c[a>>2]=1065353216;c[a+4>>2]=1065353216;c[a+8>>2]=1065353216;g[a+12>>2]=0.0;return}function Ms(b){b=b|0;if(!(Fa[c[(c[b>>2]|0)+40>>2]&127](b)|0))return;c[b+16>>2]=c[b+28>>2];a[b+169>>0]=1;return}function Ns(a,b){a=a|0;b=b|0;var d=0;d=c[a+8>>2]|0;Za[c[d+60>>2]&127](b,d,c[a+4>>2]|0);return 0}function Os(b){b=b|0;var d=0;d=c[b+12>>2]|0;if(!d)return;if(a[b+16>>0]&1)Sx(d);c[b+12>>2]=0;return}function Ps(){var a=0;c[7182]=(c[7182]|0)+1;a=xb(71)|0;if(!a){a=0;return a|0}c[(a+4+15&-16)+-4>>2]=a;a=a+4+15&-16;return a|0}function Qs(a,b){a=a|0;b=b|0;var d=0;d=a+92|0;do{c[a>>2]=c[b>>2];a=a+4|0;b=b+4|0}while((a|0)<(d|0));return}function Rs(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;$f(a,b,c,d);return}function Ss(){var a=0;c[7182]=(c[7182]|0)+1;a=xb(67)|0;if(!a){a=0;return a|0}c[(a+4+15&-16)+-4>>2]=a;a=a+4+15&-16;return a|0}function Ts(){var a=0;c[7182]=(c[7182]|0)+1;a=xb(95)|0;if(!a){a=0;return a|0}c[(a+4+15&-16)+-4>>2]=a;a=a+4+15&-16;return a|0}function Us(a,b){a=a|0;b=b|0;return +(+Xx(+g[a>>2],+g[a+4>>2],+g[a+8>>2],+g[b>>2],+g[b+4>>2],+g[b+8>>2]))}function Vs(a,b){a=a|0;b=b|0;var c=0;c=Nr(84)|0;xm(c,a,b);return c|0}function Ws(a,b,d){a=a|0;b=b|0;d=d|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;return}function Xs(){var a=0;c[7182]=(c[7182]|0)+1;a=xb(75)|0;if(!a){a=0;return a|0}c[(a+4+15&-16)+-4>>2]=a;a=a+4+15&-16;return a|0}function Ys(a){a=a|0;var b=0;b=sa;sa=sa+16|0;c[b>>2]=JI(c[a+60>>2]|0)|0;a=pC(aa(6,b|0)|0)|0;sa=b;return a|0}function Zs(){var a=0;c[7182]=(c[7182]|0)+1;a=xb(35)|0;if(!a){a=0;return a|0}c[(a+4+15&-16)+-4>>2]=a;a=a+4+15&-16;return a|0}function _s(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;return La[a&3](b|0,c|0,d|0,e|0,f|0,g|0)|0}function $s(a){a=a|0;var b=0;b=Xs()|0;ci(b,a);c[b>>2]=11256;c[b+52>>2]=2;return b|0}function at(a){a=a|0;var b=0;b=Xs()|0;ci(b,a);c[b>>2]=11152;c[b+52>>2]=0;return b|0}function bt(a){a=a|0;zf(a);if(!a)return;c[7183]=(c[7183]|0)+1;Hc(c[a+-4>>2]|0);return}function ct(a){a=a|0;c[a>>2]=5560;g[a+4>>2]=1.0;c[a+8>>2]=0;b[a+12>>1]=1;b[a+14>>1]=-1;c[a+16>>2]=0;return}function dt(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;ab[c[(c[a>>2]|0)+8>>2]&127](a,b,d,e);return}function et(a){a=a|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=4096;c[a+12>>2]=4096;c[a+16>>2]=0;c[a+20>>2]=1;return}function ft(a,b,d){a=a|0;b=b|0;d=d|0;Ld(c[a+116>>2]|0,c[a+144>>2]|0,b,d);return}function gt(a,b){a=a|0;b=+b;var c=0;c=sa;sa=sa+16|0;g[c>>2]=b;a=Xp(a,c)|0;sa=c;return a|0}function ht(a,b){a=a|0;b=b|0;var c=0;c=ws()|0;qq(c,a,b);return c|0}function it(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)<32){P(b<>>32-c|0);return a<>2]|0)+64>>2]&127](a,b,d);return}function lt(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return 0.0}function mt(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;ab[c[(c[a>>2]|0)+80>>2]&127](a,b,d,e);return}function nt(a){a=a|0;if(!a){a=0;return a|0}a=Nq(a)|0;return a|0}function ot(){var a=0;a=sa;sa=sa+16|0;if(!(oa(29304,268)|0)){sa=a;return}else Hu(24116,a)}function pt(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;f=f|0;g=g|0;return +za[a&3](b|0,c|0,d|0,+e,f|0,g|0)}function qt(a,b){a=a|0;b=+b;var c=0;c=sa;sa=sa+16|0;g[c>>2]=b;a=Wr(a,c)|0;sa=c;return a|0}function rt(a){a=a|0;if(c[a+204>>2]&3|0)return;if((c[a+216>>2]&-2|0)!=4)c[a+216>>2]=1;g[a+220>>2]=0.0;return}function st(a,b){a=a|0;b=b|0;ln(a,+g[b>>2],+g[b+4>>2],+g[b+8>>2]);return}function tt(){var a=0;a=Nr(8)|0;c[a>>2]=0;c[a+4>>2]=0;Uy(a);return a|0}function ut(a,b){a=a|0;b=b|0;a=c[a+4>>2]|0;Ha[c[(c[a>>2]|0)+8>>2]&31](a,c[b+36>>2]|0)|0;return}function vt(a,b){a=a|0;b=b|0;Eq(a,b);ns(a+48|0,b+48|0,b+52|0,b+56|0);return}function wt(a,b,d){a=a|0;b=b|0;d=d|0;dg(c[a+116>>2]|0,b,d);return}function xt(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)<32){P(b>>>c|0);return a>>>c|(b&(1<>>c-32|0}function yt(a,b){a=a|0;b=b|0;c[a+260>>2]=(c[a+260>>2]|0)+1;c[a+192>>2]=b;c[a+200>>2]=b;return}function zt(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;gb[a&7](b|0,c|0,d|0,e|0,f|0,g|0)}function At(a,b,c,d,e,f,g,h,i,j,k,l){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;f=+f;g=+g;h=+h;i=+i;j=j|0;k=+k;l=l|0;N(35)}function Bt(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;ab[c[(c[a>>2]|0)+24>>2]&127](a,b,d,e);return}function Ct(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;ab[c[(c[a>>2]|0)+88>>2]&127](a,b,d,e);return}function Dt(a,b,d){a=a|0;b=b|0;d=d|0;Za[c[(c[b>>2]|0)+68>>2]&127](a,b,d);return}function Et(b,d){b=b|0;d=d|0;b=(a[b+344>>0]|0)==0?3:0;c[d>>2]=b;c[d+4>>2]=b;return}function Ft(a,b){a=a|0;b=+b;var c=0;c=sa;sa=sa+16|0;g[c>>2]=1.0/b;a=Xp(a,c)|0;sa=c;return a|0}function Gt(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;ab[c[(c[a>>2]|0)+36>>2]&127](a,b,d,e);return}function Ht(a,b,d){a=a|0;b=+b;d=d|0;return Ga[c[(c[a>>2]|0)+52>>2]&1](a,b,d,.01666666753590107)|0}function It(a,b,d){a=a|0;b=+b;d=d|0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;c[d+12>>2]=0;return}function Jt(a,b){a=a|0;b=b|0;An(a,+g[b>>2],+g[b+4>>2],+g[b+8>>2]);return}function Kt(a,b,d,e){a=a|0;b=+b;d=d|0;e=+e;return Ga[c[(c[a>>2]|0)+52>>2]&1](a,b,d,e)|0}function Lt(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=1065353216;g[a+12>>2]=0.0;return}function Mt(a,b){a=a|0;b=b|0;c[a>>2]=1065353216;c[a+4>>2]=0;c[a+8>>2]=0;g[a+12>>2]=0.0;return}function Nt(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;ab[c[(c[a>>2]|0)+28>>2]&127](a,b,d,e);return}function Ot(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=1065353216;c[a+8>>2]=0;g[a+12>>2]=0.0;return}function Pt(a,b){a=a|0;b=b|0;Za[c[(c[a>>2]|0)+8>>2]&127](a,b,c[(c[a+8>>2]|0)+48>>2]|0);return}function Qt(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=+g;fb[a&1](b|0,c|0,d|0,e|0,f|0,+g)}function Rt(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;f=f|0;g=g|0;$a[a&1](b|0,c|0,d|0,+e,f|0,g|0)}function St(a,b){a=a|0;b=b|0;Bn(a,+g[b>>2],+g[b+4>>2],+g[b+8>>2]);return}function Tt(b,d,e){b=b|0;d=d|0;e=+e;g[(c[b+720>>2]|0)+(d*104|0)+88>>2]=e>0.0?1.0/e:0.0;a[b+924>>0]=1;return}function Ut(a,b,d){a=a|0;b=b|0;d=+d;Wa[c[(c[a>>2]|0)+20>>2]&7](a,b,d);return}function Vt(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;ab[c[(c[a>>2]|0)+124>>2]&127](a,e,b,d);return}function Wt(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;c[a+120>>2]=b;c[a+124>>2]=d;c[a+128>>2]=e;return}function Xt(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;Ka[c[(c[a>>2]|0)+8>>2]&31](a,b,d,e)|0;return}function Yt(a,b){a=a|0;b=b|0;Ap(a,+g[b>>2],+g[b+4>>2],+g[b+8>>2]);return}function Zt(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;ns(a,b,d,e);c[a+12>>2]=c[f>>2];return}function _t(b,c,d,e){b=b|0;c=c|0;d=+d;e=+e;a[b+737>>0]=c&1;g[b+680>>2]=d;g[b+684>>2]=e;return}function $t(a,b){a=a|0;b=b|0;un(a,+g[b>>2],+g[b+4>>2],+g[b+8>>2]);return}function au(a,b,c,d,e,f){a=a|0;b=+b;c=+c;d=+d;e=+e;f=+f;kn(a,b,c,d,e,f);return}function bu(a){a=a|0;uj(a);if(!a)return;c[7183]=(c[7183]|0)+1;Hc(c[a+-4>>2]|0);return}function cu(a){a=a|0;Xk(a);if(!a)return;c[7183]=(c[7183]|0)+1;Hc(c[a+-4>>2]|0);return}function du(a,b,c,d,e,f,g){a=a|0;b=b|0;c=+c;d=+d;e=e|0;f=f|0;g=g|0;Sa[a&3](b|0,+c,+d,e|0,f|0,g|0)}function eu(a,b,d){a=a|0;b=b|0;d=d|0;ab[c[(c[a>>2]|0)+36>>2]&127](a,b,d,-3);return}function fu(a,b){a=a|0;b=b|0;var c=0;c=Ds()|0;Af(c,a,b,16);return c|0}function gu(a,b){a=a|0;b=b|0;if(!b)b=0;else b=di(c[b>>2]|0,c[b+4>>2]|0,a)|0;return ((b|0)==0?a:b)|0}function hu(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return 1.0}function iu(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return}function ju(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;N(18);return 0}function ku(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;ab[c[(c[a>>2]|0)+32>>2]&127](a,b,d,e);return}function lu(a){a=a|0;ag(a);if(!a)return;c[7183]=(c[7183]|0)+1;Hc(c[a+-4>>2]|0);return}function mu(a){a=a|0;if(!a){a=0;return a|0}a=dr(a)|0;return a|0}function nu(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;N(9);return 0.0}function ou(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;li(a,b,c,d,e);return}function pu(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;mf(a,b,c,d,e);return}function qu(a,b,d,e){a=a|0;b=b|0;d=+d;e=e|0;Xa[c[(c[a>>2]|0)+28>>2]&7](a,b,d,e);return}function ru(a,b){a=a|0;b=b|0;ee(a,b);return}function su(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;ab[c[(c[a>>2]|0)+8>>2]&127](a,b,d,e);return}function tu(a,b,c,d,e,f,g,h,i,j,k){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;f=+f;g=+g;h=+h;i=i|0;j=j|0;k=+k;N(36)}function uu(a,b){a=a|0;b=b|0;dg(c[a+116>>2]|0,b,1);return}function vu(a,b){a=a|0;b=b|0;c[a+260>>2]=(c[a+260>>2]|0)+1;Dq(a+4|0,b);return}function wu(a){a=a|0;uE(a+144|0);uE(a+124|0);uE(a+104|0);return}function xu(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return +Ba[a&15](b|0,c|0,d|0,e|0,f|0)}function yu(a,b){a=a|0;b=b|0;var c=0;c=is()|0;sf(c,a,b);return c|0}function zu(a){a=a|0;if(!a){a=0;return a|0}a=hr(a)|0;return a|0}function Au(a,b){a=a|0;b=b|0;Fp(a,+g[b>>2],+g[b+4>>2],+g[b+8>>2]);return}function Bu(a,b,d){a=a|0;b=b|0;d=d|0;ab[c[(c[a>>2]|0)+36>>2]&127](a,b,d,-1);return}function Cu(a,b){a=a|0;b=+b;var c=0;c=sa;sa=sa+16|0;g[c>>2]=1.0/b;Wr(a,c)|0;sa=c;return}function Du(a,b){a=a|0;b=+b;return Ga[c[(c[a>>2]|0)+52>>2]&1](a,b,1,.01666666753590107)|0}function Eu(a){a=a|0;var b=0;b=Nr(8)|0;wv(b,a);return b|0}function Fu(a,b,d){a=a|0;b=b|0;d=d|0;Za[c[(c[a>>2]|0)+56>>2]&127](a,b,d);return}function Gu(a,b,d){a=a|0;b=b|0;d=+d;Wa[c[(c[a>>2]|0)+36>>2]&7](a,b,d);return}function Hu(a,b){a=a|0;b=b|0;var d=0;d=sa;sa=sa+16|0;c[d>>2]=b;Zi(12344,a,d)|0;pl(10,12344)|0;ba()}function Iu(a){a=a|0;Dh(a);if(!a)return;c[7183]=(c[7183]|0)+1;Hc(c[a+-4>>2]|0);return}function Ju(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;N(43)}function Ku(a){a=a|0;Mi(a);if(!a)return;c[7183]=(c[7183]|0)+1;Hc(c[a+-4>>2]|0);return}function Lu(a,b,c,d,e){a=a|0;b=+b;c=+c;d=+d;e=+e;kn(a,b,c,d,e,1.0);return}function Mu(a){a=a|0;c[a>>2]=10968;if(!a)return;c[7183]=(c[7183]|0)+1;Hc(c[a+-4>>2]|0);return}function Nu(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=+d;e=e|0;f=f|0;return +xa[a&3](b|0,c|0,+d,e|0,f|0)}function Ou(a,b,c,d){a=a|0;b=b|0;c=+c;d=+d;_t(a,b,c,d);return}function Pu(a,b){a=a|0;b=b|0;return c[(BB(c[a+24>>2]|0,b)|0)+64>>2]|0}function Qu(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;eb[a&31](b|0,c|0,d|0,e|0,f|0)}function Ru(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;ha(0,a|0,b|0,c|0,d|0)|0;return}function Su(a){a=a|0;if(!(c[a+12>>2]|0)){a=0;return a|0}a=c[a+20>>2]|0;return a|0}function Tu(a){a=a|0;Bl(a);if(!a)return;c[7183]=(c[7183]|0)+1;Hc(c[a+-4>>2]|0);return}function Uu(a,b){a=a|0;b=b|0;var c=0;c=Nr(64)|0;Jp(c,a,b);return c|0}function Vu(){var a=0;a=Nr(24)|0;et(a);return a|0}function Wu(a,b,d){a=a|0;b=b|0;d=+d;Qa[c[(c[a>>2]|0)+16>>2]&31](a,d);return}function Xu(a,b,c){a=a|0;b=b|0;c=c|0;Cn(a,b,c);return}function Yu(a,b){a=a|0;b=b|0;ab[c[(c[a>>2]|0)+36>>2]&127](a,b,2,-3);return}function Zu(a){a=a|0;var b=0;b=Ds()|0;Af(b,a,0,16);return b|0}function _u(a,b,d){a=a|0;b=+b;d=d|0;Ta[c[(c[a>>2]|0)+32>>2]&15](a,b,d);return}function $u(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;return}function av(a){a=a|0;Eh(a);if(!a)return;c[7183]=(c[7183]|0)+1;Hc(c[a+-4>>2]|0);return}function bv(a){a=a|0;Fh(a);if(!a)return;c[7183]=(c[7183]|0)+1;Hc(c[a+-4>>2]|0);return}function cv(a,b,d){a=a|0;b=b|0;d=d|0;return +(+ya[c[(c[a>>2]|0)+32>>2]&15](a,b,d))}function dv(a){a=a|0;if(!a){a=0;return a|0}a=xr(a)|0;return a|0}function ev(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=+f;bb[a&1](b|0,c|0,d|0,e|0,+f)}function fv(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=+d;e=e|0;f=f|0;Ya[a&1](b|0,c|0,+d,e|0,f|0)}function gv(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;N(17);return 0}function hv(a){a=a|0;if(!(+g[a+16>>2]==0.0)){a=0;return a|0}a=+g[a+20>>2]==0.0;return a|0}function iv(a){a=a|0;c[a>>2]=7356;if(!a)return;c[7183]=(c[7183]|0)+1;Hc(c[a+-4>>2]|0);return}function jv(a){a=a|0;c[a>>2]=7816;if(!a)return;c[7183]=(c[7183]|0)+1;Hc(c[a+-4>>2]|0);return}function kv(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;N(8);return 0.0}function lv(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;d=b-d-(c>>>0>a>>>0|0)>>>0;return (P(d|0),a-c>>>0|0)|0}function mv(a,b){a=a|0;b=b|0;Va[c[(c[a>>2]|0)+52>>2]&127](a,b);return}function nv(a,b){a=a|0;b=b|0;return Ha[c[(c[a>>2]|0)+92>>2]&31](a,b)|0}function ov(a,b,d){a=a|0;b=b|0;d=+d;Wa[c[(c[a>>2]|0)+8>>2]&7](a,b,d);return}function pv(a,b){a=a|0;b=b|0;Sz(a,b);return}function qv(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Vb(a,b,c,d)|0;return 1}function rv(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;tr(a,b,c,d,e);return}function sv(a,b,d){a=a|0;b=b|0;d=d|0;Za[c[(c[a>>2]|0)+40>>2]&127](a,b,d);return}function tv(a){a=a|0;var b=0;b=is()|0;sf(b,a,1);return b|0}function uv(a,b,d){a=a|0;b=+b;d=d|0;g[(c[a+144>>2]|0)+(d*284|0)+232>>2]=b;return}function vv(a,b,d){a=a|0;b=+b;d=d|0;g[(c[a+144>>2]|0)+(d*284|0)+252>>2]=b;return}function wv(a,b){a=a|0;b=b|0;aH(a);c[a>>2]=7664;c[a+4>>2]=b;return}function xv(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return (P(b+d+(a+c>>>0>>>0>>0|0)>>>0|0),a+c>>>0|0)|0}function yv(a,b){a=a|0;b=b|0;Aq(a,b);return}function zv(a,b){a=a|0;b=b|0;Fq(a,b);return}function Av(a,b){a=a|0;b=b|0;ab[c[(c[a>>2]|0)+36>>2]&127](a,b,1,-1);return}function Bv(a,b,c){a=a|0;b=b|0;c=c|0;ph(b,c);return}function Cv(a,b){a=a|0;b=b|0;Wm(a,b);return}function Dv(a){a=a|0;Fc(a);if(!a)return;c[7183]=(c[7183]|0)+1;Hc(c[a+-4>>2]|0);return}function Ev(a){a=a|0;var b=0;b=((c[a+52>>2]|0)+2|0)%3|0;return +(+g[(JI(a+28|0)|0)+(b<<2)>>2])}function Fv(a){a=a|0;c[a>>2]=5732;g[a+4>>2]=1.0;b[a+8>>1]=1;b[a+10>>1]=-1;return}function Gv(a,b){a=a|0;b=b|0;if((c[a+216>>2]&-2|0)==4)return;c[a+216>>2]=b;return}function Hv(a,b){a=a|0;b=b|0;Uq(a,b);return}function Iv(a,b){a=a|0;b=b|0;Vq(a,b);return}function Jv(a,b){a=a|0;b=b|0;Za[c[(c[a>>2]|0)+56>>2]&127](a,b,0);return}function Kv(a,b){a=a|0;b=+b;Dx(a,b);return}function Lv(a){a=+a;var b=0;h[j>>3]=a;b=c[j>>2]|0;P(c[j+4>>2]|0);return b|0}function Mv(a,b){a=a|0;b=b|0;return Ha[c[(c[a>>2]|0)+40>>2]&31](a,b)|0}function Nv(a,b){a=a|0;b=b|0;Va[c[(c[a>>2]|0)+60>>2]&127](a,b);return}function Ov(a,b,d){a=a|0;b=b|0;d=+d;Va[c[(c[a>>2]|0)+12>>2]&127](a,b);return}function Pv(a,b){a=a|0;b=b|0;Va[c[(c[a>>2]|0)+92>>2]&127](a,b);return}function Qv(a,b,c,d,e){a=a|0;b=b|0;c=+c;d=+d;e=+e;xl(a,b,c,d,e);return}function Rv(a,b){a=a|0;b=b|0;Cm(a,b);return}function Sv(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return Ka[a&31](b|0,c|0,d|0,e|0)|0}function Tv(a,b){a=a|0;b=b|0;Va[c[(c[a>>2]|0)+32>>2]&127](a,b);return}function Uv(a){a=a|0;var b=0;b=Xs()|0;ci(b,a);return b|0}function Vv(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;N(42)}function Wv(a,b){a=a|0;b=b|0;Va[c[(c[a>>2]|0)+40>>2]&127](a,b);return}function Xv(a,b){a=a|0;b=b|0;return c[(aF(c[a+276>>2]|0,b)|0)>>2]|0}function Yv(a,b,c){a=a|0;b=b|0;c=c|0;Zd(a,b,c);return}function Zv(a,b,d){a=a|0;b=+b;d=d|0;g[(c[a+144>>2]|0)+(d*284|0)+256>>2]=b;return}function _v(a,b){a=a|0;b=b|0;Va[c[(c[a>>2]|0)+84>>2]&127](a,b);return}function $v(a,b,c,d){a=a|0;b=+b;c=+c;d=+d;Ul(a,b,c,d);return}function aw(a,b){a=a|0;b=b|0;Va[c[(c[a>>2]|0)+28>>2]&127](a,b);return}function bw(a,b){a=a|0;b=+b;c[a+260>>2]=(c[a+260>>2]|0)+1;g[a+232>>2]=b;return}function cw(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return +Aa[a&1](b|0,c|0,d|0,e|0)}function dw(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=+i;N(41)}function ew(a,b){a=a|0;b=b|0;Va[c[(c[a>>2]|0)+72>>2]&127](a,b);return}function fw(){var a=0;a=Ds()|0;Af(a,0,0,16);return a|0}function gw(a){a=a|0;var b=0;b=Nr(284)|0;Yi(b,a);return b|0}function hw(a){a=a|0;if(!a)return;Pa[c[(c[a>>2]|0)+8>>2]&511](a);return}function iw(a,b){a=a|0;b=+b;g[a+36>>2]=b;g[a+40>>2]=+z(+b);return}function jw(a){a=a|0;if(!a)return;Pa[c[(c[a>>2]|0)+4>>2]&511](a);return}function kw(a,b){a=a|0;b=+b;return +(+va[c[(c[a>>2]|0)+16>>2]&15](a)*b)}function lw(a){a=a|0;Cu(a,+lA(+g[a>>2],+g[a+4>>2],+g[a+8>>2]));return}function mw(a,b){a=a|0;b=b|0;Qw(a+868|0,b);return}function nw(a,b){a=a|0;b=+b;c[a+260>>2]=(c[a+260>>2]|0)+1;g[a+228>>2]=b;return}function ow(a,b){a=a|0;b=b|0;$d(a,b);return}function pw(a,b){a=a|0;b=b|0;Va[c[(c[a>>2]|0)+8>>2]&127](a,b);return}function qw(a,b){a=a|0;b=b|0;Va[c[(c[a>>2]|0)+16>>2]&127](a,b);return}function rw(a,b){a=a|0;b=b|0;Va[c[(c[a>>2]|0)+36>>2]&127](a,b);return}function sw(a,b){a=a|0;b=b|0;b=(b|0)<2?b:2;c[a+176>>2]=(b|0)>0?b:0;return}function tw(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;N(7);return 0.0}function uw(a,b,c){a=a|0;b=b|0;c=c|0;Mh(a,b,c);return}function vw(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;ab[a&127](b|0,c|0,d|0,e|0)}function ww(a,b){a=a|0;b=b|0;Va[c[(c[a>>2]|0)+12>>2]&127](a,b);return}function xw(a,b,c){a=a|0;b=b|0;c=c|0;Bk(a,b,c);return}function yw(a,b){a=a|0;b=b|0;Me(a,b);return}function zw(a,b){a=a|0;b=b|0;Va[c[(c[a>>2]|0)+68>>2]&127](a,b);return}function Aw(b){b=b|0;a[b+16>>0]=1;c[b+12>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;return}function Bw(a,b){a=a|0;b=+b;c[a+260>>2]=(c[a+260>>2]|0)+1;g[a+224>>2]=b;return}function Cw(a,b,c){a=a|0;b=b|0;c=c|0;fa(3,a|0,b|0,c|0)|0;return}function Dw(){var a=0;a=is()|0;sf(a,1,1);return a|0}function Ew(a){a=a|0;return JE(c[a+204>>2]|0)|0}function Fw(a,b,c){a=a|0;b=+b;c=+c;zx(a,b,c);return}function Gw(a,b){a=a|0;b=+b;Qa[c[(c[a>>2]|0)+20>>2]&31](a,b);return}function Hw(a,b,c,d){a=a|0;b=+b;c=+c;d=+d;Sk(a,b,c,d);return}function Iw(a,b){a=a|0;b=b|0;hp(a,b);return}function Jw(a,b){a=a|0;b=b|0;hp(a,b);return}function Kw(a,b){a=a|0;b=b|0;c[b>>2]=6;c[b+4>>2]=6;return}function Lw(a,b){a=a|0;b=b|0;Cv(a+788|0,b);return}function Mw(a,b){a=a|0;b=+b;Qa[c[(c[a>>2]|0)+16>>2]&31](a,b);return}function Nw(a,b){a=a|0;b=b|0;return +(+g[(c[a+144>>2]|0)+(b*284|0)+232>>2])}function Ow(){var a=0;a=Nr(196)|0;fh(a,0);return a|0}function Pw(a,b){a=a|0;b=b|0;Va[c[(c[a>>2]|0)+24>>2]&127](a,b);return}function Qw(a,b){a=a|0;b=b|0;hp(a,b);return}function Rw(a,b,d){a=a|0;b=b|0;d=d|0;c[a+20>>2]=b;c[a+28>>2]=d;return}function Sw(a,b,d){a=a|0;b=b|0;d=d|0;c[a+16>>2]=b;c[a+24>>2]=d;return}function Tw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return 0}function Uw(a,b,c,d,e){a=a|0;b=b|0;c=+c;d=d|0;e=+e;return Ga[a&1](b|0,+c,d|0,+e)|0}function Vw(a,b,c){a=a|0;b=b|0;c=+c;am(a,b,c);return}function Ww(a,b){a=a|0;b=b|0;return c[(aF(c[a+12>>2]|0,b)|0)>>2]|0}function Xw(a,b){a=a|0;b=b|0;Va[c[(c[a>>2]|0)+64>>2]&127](a,b);return}function Yw(a){a=a|0;var b=0;b=((JI(c[a+236>>2]|0)|0)&2|0)==0;return (b?0:a)|0}function Zw(a,b){a=a|0;b=b|0;return MB(c[a+12>>2]|0,b)|0}function _w(a,b,c){a=a|0;b=b|0;c=c|0;tl(a,b,c);return}function $w(a,b,c){a=a|0;b=b|0;c=+c;g[a+1340+(b<<2)>>2]=c;return}function ax(a){a=a|0;if(!a)return;sC(a);GI(a);return}function bx(a,b){a=a|0;b=b|0;Va[c[(c[a>>2]|0)+44>>2]&127](a,b);return}function cx(a,b,c){a=a|0;b=b|0;c=c|0;return nb(a,b,c)|0}function dx(a,b){a=a|0;b=b|0;sw(a,b);return}function ex(a,b,c){a=a|0;b=b|0;c=+c;xq(a,b,c);return}function fx(a){a=a|0;c[a>>2]=6400;ni(a+12|0);GI(a);return}function gx(a,b){a=a|0;b=b|0;Km(a,b);return}function hx(a,b){a=a|0;b=b|0;Rv(a+708|0,b);return}function ix(a){a=a|0;if(!a)return;lG(a);GI(a);return}function jx(a,b,c){a=a|0;b=b|0;c=+c;g[a+1364+(b<<2)>>2]=c;return}function kx(a,b){a=a|0;b=b|0;rx(a+4|0,b);return}function lx(a,b){a=a|0;b=b|0;Cd(a,b);return}function mx(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;_a[a&15](b|0,c|0,d|0,+e)}function nx(a){a=+a;var b=0;b=Ps()|0;Uo(b,a);return b|0}function ox(a,b){a=a|0;b=b|0;vu(a,b);return}function px(a,b){a=a|0;b=+b;g[a+132>>2]=b;return}function qx(a,b){a=a|0;b=+b;My(a,b);return}function rx(a,b){a=a|0;b=b|0;_o(a,b);return}function sx(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=+d;e=e|0;Xa[a&7](b|0,c|0,+d,e|0)}function tx(a,b,c,d,e){a=a|0;b=b|0;c=+c;d=d|0;e=e|0;Ua[a&1](b|0,+c,d|0,e|0)}function ux(a,b){a=a|0;b=+b;g[a+128>>2]=b;return}function vx(a,b){a=a|0;b=b|0;lr(a,b);return}function wx(a,b){a=a|0;b=b|0;mr(a,b);return}function xx(a){a=a|0;var b=0;b=JI(a+28|0)|0;return +(+g[b+(c[a+52>>2]<<2)>>2])}function yx(a,b){a=a|0;b=b|0;c[a+24>>2]=b;return}function zx(a,b,c){a=a|0;b=+b;c=+c;g[a+472>>2]=b;g[a+476>>2]=c;return}function Ax(a,b){a=a|0;b=b|0;return dC(a,b)|0}function Bx(a,b){a=a|0;b=b|0;g[a+48>>2]=+(b|0);return}function Cx(a){a=a|0;var b=0;b=sa;sa=sa+16|0;Oa[a&3]();Hu(24219,b)}function Dx(b,c){b=b|0;c=+c;g[b+572>>2]=c;a[b+553>>0]=1;return}function Ex(a,b){a=a|0;b=b|0;return c[(c[a+20>>2]|0)+(b<<2)>>2]|0}function Fx(a){a=a|0;if(!a)return;uE(a);GI(a);return}function Gx(a){a=a|0;return +(+TH(+g[a+16>>2]))}function Hx(a){a=a|0;return Fa[c[(c[a>>2]|0)+40>>2]&127](a)|0}function Ix(a,b){a=a|0;b=b|0;Tx(a+24|0,b);return}function Jx(a){a=a|0;Os(a);Aw(a);return}function Kx(a){a=a|0;var b=0;b=(JI(c[a+236>>2]|0)|0)==4;return (b?a:0)|0}function Lx(a){a=a|0;return +(+lA(+g[a>>2],+g[a+4>>2],+g[a+8>>2]))}function Mx(a,b){a=a|0;b=+b;CB(a,b);return}function Nx(a,b){a=a|0;b=b|0;yB(a,b);return}function Ox(a,b){a=a|0;b=+b;Qa[c[(c[a>>2]|0)+44>>2]&31](a,b);return}function Px(a,b){a=a|0;b=b|0;Lp(a,b);return}function Qx(a,b){a=a|0;b=+b;g[a+136>>2]=b;return}function Rx(a){a=a|0;return RF(+g[a+4>>2])|0}function Sx(a){a=a|0;if(!a)return;c[7183]=(c[7183]|0)+1;Hc(c[a+-4>>2]|0);return}function Tx(a,b){a=a|0;b=b|0;Vm(a,b);return}function Ux(a,b){a=a|0;b=b|0;JC(a,b);return}function Vx(a,b){a=a|0;b=b|0;return (c[a+144>>2]|0)+(b*284|0)+92|0}function Wx(a,b){a=a|0;b=b|0;return Xv(a,b)|0}function Xx(a,b,c,d,e,f){a=+a;b=+b;c=+c;d=+d;e=+e;f=+f;return +(a*d+b*e+c*f)}function Yx(a){a=a|0;c[a>>2]=5512;b[a+4>>1]=1;b[a+6>>1]=-1;return}function Zx(a){a=a|0;var b=0;b=(JI(c[a+236>>2]|0)|0)==8;return (b?a:0)|0}function _x(){var a=0;a=Nr(24)|0;kr(a);return a|0}function $x(a,b){a=a|0;b=b|0;Op(a,b);return}function ay(a,b){a=a|0;b=+b;rC(a,b);return}function by(a,b){a=a|0;b=b|0;return KD(c[a+12>>2]|0,b)|0}function cy(a){a=a|0;g[a>>2]=.30000001192092896;g[a+4>>2]=1.0;g[a+8>>2]=0.0;return}function dy(a,b){a=a|0;b=+b;PB(a,b);return}function ey(a,b){a=a|0;b=b|0;KC(a,b);return}function fy(a){a=a|0;Pa[c[(c[a>>2]|0)+44>>2]&511](a);return}function gy(a,b){a=a|0;b=b|0;Dq(a+4|0,b);return}function hy(a){a=a|0;return oF(c[a+204>>2]|0)|0}function iy(a,b){a=a|0;b=+b;tC(a,b);return}function jy(a,b){a=a|0;b=+b;vz(a,b);return}function ky(a,b){a=a|0;b=+b;uC(a,b);return}function ly(a,b){a=a|0;b=+b;wz(a,b);return}function my(a,b){a=a|0;b=b|0;Hs(a,b);return}function ny(a,b){a=a|0;b=b|0;Qp(a,b);return}function oy(a){a=a|0;return +(+TH(+g[a+112>>2]))}function py(b,c){b=b|0;c=c|0;a[b+32>>0]=c&1;return}function qy(a){a=a|0;return Fa[c[(c[a>>2]|0)+96>>2]&127](a)|0}function ry(a){a=a|0;return iF(c[a+8>>2]|0)|0}function sy(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Ja[a&63](b|0,c|0,d|0)|0}function ty(a,b){a=a|0;b=+b;oE(a,b);return}function uy(a,b){a=a|0;b=b|0;return +(+Em(a,b))}function vy(a,b){a=a|0;b=b|0;Mh(a,b,1);return}function wy(a,b){a=a|0;b=b|0;ZB(a,b);return}function xy(a){a=a|0;if(!a)a=0;else a=(zi(a,5248)|0)!=0&1;return a|0}function yy(a,b,c,d,e){a=a|0;b=+b;c=+c;d=+d;e=+e;Wp(a,c,d,e,b);return}function zy(a){a=a|0;$i(a);GI(a);return}function Ay(a,b){a=a|0;b=b|0;Rl(a,b);return}function By(a,b){a=a|0;b=+b;g[a+116>>2]=b;return}function Cy(a){a=a|0;return Fa[c[(c[a>>2]|0)+20>>2]&127](a)|0}function Dy(a,b){a=a|0;b=b|0;MA(a,b,+TD(b));return}function Ey(a){a=a|0;c[a>>2]=6400;ni(a+12|0);return}function Fy(a,b){a=a|0;b=b|0;qC(a,b);return}function Gy(a,b){a=a|0;b=b|0;vt(a,b);return}function Hy(){var a=0;a=Nr(100)|0;Zl(a);return a|0}function Iy(a,b){a=a|0;b=+b;g[a+112>>2]=b;return}function Jy(a,b){a=a|0;b=+b;g[a+124>>2]=b;return}function Ky(a,b){a=a|0;b=b|0;eC(a,b);return}function Ly(a,b){a=a|0;b=b|0;return c[(c[a+220>>2]|0)+(b<<2)>>2]|0}function My(b,c){b=b|0;c=+c;g[b+572>>2]=c;a[b+553>>0]=0;return}function Ny(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return +ya[a&15](b|0,c|0,d|0)}function Oy(a,b){a=a|0;b=b|0;fC(a,b);return}function Py(a,b){a=a|0;b=b|0;return nb(a,b,8192)|0}function Qy(b,c){b=b|0;c=c|0;a[b+120>>0]=c&1;return}function Ry(a){a=a|0;Pa[c[(c[a>>2]|0)+24>>2]&511](a);return}function Sy(){var a=0;a=Nr(12)|0;cy(a);return a|0}function Ty(a){a=a|0;if(!a)return;wu(a);GI(a);return}function Uy(a){a=a|0;Yx(a);c[a>>2]=5488;return}function Vy(a){a=a|0;return TF(a)|0}function Wy(a,b){a=a|0;b=+b;bw(a,b);return}function Xy(a,b){a=a|0;b=b|0;return +(+ze(a,b))}function Yy(a){a=a|0;return +(+TH(+g[a+120>>2]))}function Zy(){var a=0;a=Nr(4)|0;qB(a);return a|0}function _y(a,b,c,d){a=a|0;b=b|0;c=c|0;d=+d;return}function $y(a){a=a|0;return NF(c[a+204>>2]|0)|0}function az(a,b){a=a|0;b=+b;cD(a,b);return}function bz(a,b){a=a|0;b=b|0;Og(a,b);return}function cz(a){a=a|0;Oi(a);return}function dz(a,b){a=a|0;b=+b;aD(a,b);return}function ez(a){a=a|0;return Fa[c[(c[a>>2]|0)+28>>2]&127](a)|0}function fz(a,b,d){a=a|0;b=b|0;d=d|0;if(!(c[a>>2]&32))lj(b,d,a)|0;return}function gz(a,b){a=a|0;b=b|0;return Pu(a,b)|0}function hz(){var a=0;a=Nr(4)|0;c[a>>2]=0;NE(a);return a|0}function iz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=+d;return Ia[a&7](b|0,c|0,+d)|0}function jz(a){a=a|0;return +(+g[a+132>>2])}function kz(a){a=a|0;return Mz(c[a+68>>2]|0)|0}function lz(a){a=a|0;return Fa[c[(c[a>>2]|0)+48>>2]&127](a)|0}function mz(b){b=b|0;if((a[b>>0]|0)==1)b=0;else{a[b>>0]=1;b=1}return b|0}function nz(a,b){a=a|0;b=b|0;hp(a,b);return}function oz(b,c){b=b|0;c=c|0;a[b+80>>0]=c&1;return}function pz(a){a=a|0;return +(+g[a+128>>2])}function qz(a,b){a=a|0;b=b|0;return (c[a+144>>2]|0)+(b*284|0)|0}function rz(a,b){a=a|0;b=b|0;AC(a,b);return}function sz(a){a=a|0;c[a+4>>2]=(c[a+4>>2]|0)+-1;return}function tz(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;N(40)}function uz(a){a=a|0;return $C(a)|0}function vz(a,b){a=a|0;b=+b;g[a+196>>2]=+As(b);return}function wz(a,b){a=a|0;b=+b;g[a+192>>2]=+As(b);return}function xz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Za[a&127](b|0,c|0,d|0)}function yz(a,b){a=a|0;b=b|0;Dq(a+92|0,b);return}function zz(a){a=a|0;Xi(a);GI(a);return}function Az(a,b){a=a|0;b=+b;g[a+268>>2]=b;return}function Bz(a){a=a|0;return +(+TH(+g[a+80>>2]))}function Cz(a,b){a=a|0;b=b|0;c[b+748>>2]=0;return}function Dz(a,b){a=a|0;b=b|0;Rj(a,b);return}function Ez(a,b){a=a|0;b=b|0;return xG(c[a+12>>2]|0,b)|0}function Fz(a){a=a|0;return yG(a)|0}function Gz(a,b){a=a|0;b=+b;nw(a,b);return}function Hz(a,b){a=a|0;b=+b;g[a+96>>2]=b;return}function Iz(a,b,c){a=a|0;b=b|0;c=+c;g[a+20+(b<<2)>>2]=c;return}function Jz(a){a=a|0;return +(+va[c[(c[a>>2]|0)+48>>2]&15](a))}function Kz(a,c){a=a|0;c=c|0;b[a+10>>1]=c;return}function Lz(a,c){a=a|0;c=c|0;b[a+8>>1]=c;return}function Mz(a){a=a|0;return Fa[c[(c[a>>2]|0)+36>>2]&127](a)|0}function Nz(a){a=a|0;var b=0;b=sa;sa=sa+a|0;sa=sa+15&-16;return b|0}function Oz(a,b){a=a|0;b=b|0;Vc(a,b);return}function Pz(a,b){a=a|0;b=b|0;bD(a,b);return}function Qz(a){a=a|0;return +(+g[a+136>>2])}function Rz(b){b=b|0;return (a[b+32>>0]&1)!=0|0}function Sz(b,c){b=b|0;c=c|0;a[b+170>>0]=c&1;return}function Tz(a,b){a=a|0;b=b|0;ea(2,a|0,b|0)|0;return}function Uz(a,b){a=a|0;b=b|0;Fr(a,b);return}function Vz(a,b){a=a|0;b=b|0;an(a+288|0,b);return}function Wz(a,b){a=a|0;b=b|0;return Yw(b)|0}function Xz(a,b){a=a|0;b=+b;g[a+108>>2]=b;return}function Yz(a,c){a=a|0;c=c|0;b[a+12>>1]=c;return}function Zz(a,b){a=a|0;b=b|0;Og(b,a);return}function _z(a,b){a=a|0;b=+b;g[a+272>>2]=b;return}function $z(a){a=a|0;return CG(a)|0}function aA(a){a=a|0;return DG(a)|0}function bA(a){a=a|0;return IG(a)|0}function cA(a){a=a|0;if(!a)return;RG(a);GI(a);return}function dA(a,c){a=a|0;c=c|0;b[a+4>>1]=c;return}function eA(a,c){a=a|0;c=c|0;b[a+14>>1]=c;return}function fA(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;N(16);return 0}function gA(a){a=a|0;sz(a);return}function hA(a,b){a=a|0;b=b|0;Dz(a,b);return}function iA(a,b){a=a|0;b=b|0;return Zx(b)|0}function jA(a,b){a=a|0;b=b|0;c[a+44>>2]=b&1;return}function kA(a,c){a=a|0;c=c|0;b[a+6>>1]=c;return}function lA(a,b,c){a=+a;b=+b;c=+c;return +(+wI(+zA(a,b,c)))}function mA(a,b,c,d){a=a|0;b=b|0;c=+c;d=d|0;Ta[a&15](b|0,+c,d|0)}function nA(a,b){a=a|0;b=b|0;if(!a)a=0;else a=Sj(a,b)|0;return a|0}function oA(a,b){a=a|0;b=+b;g[a+220>>2]=b;return}function pA(a,b){a=a|0;b=+b;g[a+100>>2]=b;return}function qA(b){b=b|0;return (a[b+120>>0]&1)!=0|0}function rA(b,c){b=b|0;c=c|0;a[b+24>>0]=c&1;return}function sA(a){a=a|0;return ~~+g[a+48>>2]|0}function tA(b,c){b=b|0;c=c|0;a[b+180>>0]=c&1;return}function uA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=+d;Wa[a&7](b|0,c|0,+d)}function vA(a,b){a=a|0;b=+b;g[a+224>>2]=b;return}function wA(a,b){a=a|0;b=+b;Bw(a,b);return}function xA(a){a=a|0;return bC(c[a+216>>2]|0)|0}function yA(a,b){a=a|0;b=b|0;nz(a,b);return}function zA(a,b,c){a=+a;b=+b;c=+c;return +(+Xx(a,b,c,a,b,c))}function AA(a){a=+a;if(!(a<-1.0)){if(a>1.0)a=1.0}else a=-1.0;return +(+C(+a))}function BA(a){a=a|0;return +(+g[a+116>>2])}function CA(a){a=a|0;return +(+Jq(a))}function DA(b,c){b=b|0;c=c|0;a[b+16>>0]=c&1;return}function EA(a){a=a|0;return SD(a)|0}function FA(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=+d;e=e|0;f=f|0;N(4);return 0.0}function GA(a,b){a=a|0;b=+b;g[a+276>>2]=b;return}function HA(a,b){a=a|0;b=+b;g[a+204>>2]=b;return}function IA(a,b){a=a|0;b=+b;g[a+208>>2]=b;return}function JA(a){a=a|0;return +(+g[a+112>>2])}function KA(a){a=a|0;return +(+g[a+124>>2])}function LA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return}function MA(a,b,c){a=a|0;b=b|0;c=+c;rn(a,b,1.0/c);return}function NA(a){a=a|0;se(a);GI(a);return}function OA(a,b){a=a|0;b=b|0;var c=0;c=kB(a|0)|0;return ((b|0)==0?a:c)|0}function PA(a,b){a=a|0;b=b|0;ea(4,a|0,b|0)|0;return}function QA(a,b){a=a|0;b=+b;g[a+216>>2]=b;return}function RA(b){b=b|0;return (a[b+80>>0]&1)!=0|0}function SA(a){a=a|0;if(!a)return;Sx(a);return}function TA(a,b){a=a|0;b=b|0;c[a+36>>2]=b;return}function UA(a,b){a=a|0;b=b|0;c[a+32>>2]=b;return}function VA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ge(a,b,c,d,0)|0}function WA(b,c){b=b|0;c=c|0;a[b+260>>0]=c&1;return}function XA(b,c){b=b|0;c=c|0;a[b+25>>0]=c&1;return}function YA(a,b,c){a=a|0;b=+b;c=c|0;return}function ZA(a,b){a=a|0;b=b|0;c[a+72>>2]=b;return}function _A(a){a=a|0;Ft(a,+TD(a))|0;return}function $A(a,b,c,d){a=a|0;b=b|0;c=+c;d=+d;Ra[a&7](b|0,+c,+d)}function aB(a){a=a|0;return +(+eH(+g[a+12>>2]))}function bB(a,b){a=a|0;b=b|0;c[a+8>>2]=b;return}function cB(a){a=a|0;return ZG(a)|0}function dB(a,b){a=a|0;b=b|0;return +(+ms(a,b))}function eB(a,b){a=a|0;b=b|0;c[a+216>>2]=b;return}function fB(b,c){b=b|0;c=c|0;a[b+26>>0]=c&1;return}function gB(b,c){b=b|0;c=c|0;a[b+84>>0]=c&1;return}function hB(a){a=a|0;Hj(a);GI(a);return}function iB(a){a=a|0;ck(a);GI(a);return}function jB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;N(39)}function kB(a){a=a|0;return (a&255)<<24|(a>>8&255)<<16|(a>>16&255)<<8|a>>>24|0}function lB(a){a=a|0;return fH(a)|0}function mB(a){a=a|0;return sE(a)|0}function nB(a){a=a|0;return (c[a+116>>2]|0)+4|0}function oB(a,b){a=a|0;b=b|0;c[a+4>>2]=b;return}function pB(a,b){a=a|0;b=b|0;bm(a+28|0,b);return}function qB(a){a=a|0;kG(a);c[a>>2]=5584;return}function rB(a,b,c){a=a|0;b=b|0;c=c|0;return Ha[a&31](b|0,c|0)|0}function sB(a,b){a=a|0;b=+b;g[a+244>>2]=b;return}function tB(a,b){a=a|0;b=+b;g[a+240>>2]=b;return}function uB(a){a=a|0;return +(+g[a+104>>2])}function vB(a,b){a=a|0;b=b|0;return Zk(a,b)|0}function wB(a){a=a|0;return lH(a)|0}function xB(a){a=a|0;Ij(a);GI(a);return}function yB(b,c){b=b|0;c=c|0;a[b+524>>0]=c&1;return}function zB(a){a=a|0;return ((a|0)==0?1:a<<1)|0}function AB(a,b){a=a|0;b=b|0;return a+(b*96|0)|0}function BB(a,b){a=a|0;b=b|0;return a+(b*80|0)|0}function CB(a,b){a=a|0;b=+b;g[a+248>>2]=b;return}function DB(a,b){a=a|0;b=+b;g[a+212>>2]=b;return}function EB(a,b){a=a|0;b=+b;g[a+228>>2]=b;return}function FB(a){a=a|0;return +(+g[a+268>>2])}function GB(a){a=a|0;return KE(a)|0}function HB(a){a=a|0;return JI(c[a+84>>2]|0)|0}function IB(a,b){a=a|0;b=b|0;return Xn(a,b)|0}function JB(a,b){a=a|0;b=b|0;return Wn(a,b)|0}function KB(a,b){a=a|0;b=b|0;return +(+Io(a,b))}function LB(a){a=a|0;return +(+xx(a))}function MB(a,b){a=a|0;b=b|0;return a+(b*104|0)|0}function NB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=+f;N(38)}function OB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=+d;e=e|0;f=f|0;N(32)}function PB(a,b){a=a|0;b=+b;g[a+252>>2]=b;return}function QB(a){a=a|0;return +(+g[a+96>>2])}function RB(a,b){a=a|0;b=b|0;return +(+g[a+20+(b<<2)>>2])}function SB(a){a=a|0;return vH(a)|0}function TB(a){a=a|0;return (c[a+44>>2]|0)!=0|0}function UB(a){a=a|0;ni(a);GI(a);return}function VB(a,b){a=a|0;b=b|0;return Kp(a,b)|0}function WB(a){a=a|0;return JI(c[a+88>>2]|0)|0}function XB(a){a=a|0;return JI(c[a+748>>2]|0)|0}function YB(b){b=b|0;return (a[b+24>>0]&1)!=0|0}function ZB(b,c){b=b|0;c=c|0;a[b+552>>0]=c&1;return}function _B(a,b,c){a=a|0;b=b|0;c=c|0;return 0}function $B(a){a=a|0;return xF(a)|0}function aC(a){a=a|0;return +(+g[a+108>>2])}function bC(a){a=a|0;a=JI(a)|0;return (a|0)!=2&(a|0)!=5|0}function cC(a){a=a|0;Jj(a);GI(a);return}function dC(a,b){a=a|0;b=b|0;return a+4+(b*184|0)|0}function eC(b,c){b=b|0;c=c|0;a[b+736>>0]=c&1;return}function fC(a,b){a=a|0;b=b|0;c[a+204>>2]=b;return}function gC(a,b,c,d,e,f){a=a|0;b=+b;c=+c;d=d|0;e=e|0;f=f|0;N(23)}function hC(a,b){a=a|0;b=+b;g[a+232>>2]=b;return}function iC(a,b){a=a|0;b=+b;g[a+280>>2]=b;return}function jC(a,b){a=a|0;b=+b;g[a+236>>2]=b;return}function kC(a){a=a|0;return +(+g[a+272>>2])}function lC(a,b){a=a|0;b=+b;return Ft(a,b)|0}function mC(b){b=b|0;return (a[b+16>>0]&1)!=0|0}function nC(a){a=a|0;return b[a+10>>1]|0}function oC(a){a=a|0;return b[a+8>>1]|0}function pC(a){a=a|0;if(a>>>0>4294963200){c[7184]=0-a;a=-1}return a|0}function qC(b,c){b=b|0;c=c|0;a[b+21>>0]=c&1;return}function rC(a,b){a=a|0;b=+b;g[a+684>>2]=b;return}function sC(a){a=a|0;js(a);return}function tC(a,b){a=a|0;b=+b;g[a+188>>2]=b;return}function uC(a,b){a=a|0;b=+b;g[a+184>>2]=b;return}function vC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;N(6);return 0.0}function wC(a){a=a|0;return +(+g[a+220>>2])}function xC(a){a=a|0;return +(+g[a+100>>2])}function yC(a){a=a|0;return JI(c[a+128>>2]|0)|0}function zC(a){a=a|0;return b[a+12>>1]|0}function AC(b,c){b=b|0;c=c|0;a[b+737>>0]=c&1;return}function BC(a,b){a=a|0;b=+b;g[a+256>>2]=b;return}function CC(a){a=a|0;return +(+g[a+224>>2])}function DC(a,b){a=a|0;b=b|0;return Ir(a,b)|0}function EC(a,b){a=a|0;b=b|0;return Hr(a,b)|0}function FC(a){a=a|0;return xg(a)|0}function GC(a){a=a|0;return JI(c[a+188>>2]|0)|0}function HC(a){a=a|0;return b[a+4>>1]|0}function IC(a){a=a|0;return b[a+14>>1]|0}function JC(a,b){a=a|0;b=b|0;c[a+84>>2]=b;return}function KC(a,b){a=a|0;b=b|0;c[a+88>>2]=b;return}function LC(a,b){a=a|0;b=b|0;c[a+92>>2]=b;return}function MC(a,b){a=a|0;b=b|0;c[a+100>>2]=b;return}function NC(a,b){a=a|0;b=b|0;c[a+96>>2]=b;return}function OC(a){a=a|0;return (c[a+48>>2]|0)==1|0}function PC(a){a=a|0;Kj(a);GI(a);return}function QC(a,b,c,d){a=a|0;b=b|0;c=+c;d=d|0;return}function RC(a,b){a=a|0;b=b|0;return (a|0)==(b|0)|0}function SC(a,b){a=a|0;b=b|0;if(!k){k=a;l=b}}function TC(b){b=b|0;return (a[b+260>>0]&1)!=0|0}function UC(a){a=a|0;return JI(c[a+116>>2]|0)|0}function VC(a){a=a|0;return JI(c[a+120>>2]|0)|0}function WC(a){a=a|0;return JI(c[a+744>>2]|0)|0}function XC(a){a=a|0;return JI(c[a+740>>2]|0)|0}function YC(b){b=b|0;return (a[b+25>>0]&1)!=0|0}function ZC(a){a=a|0;return b[a+6>>1]|0}function _C(a){a=a|0;return (c[a+92>>2]|0)+4|0}function $C(a){a=a|0;return JI(c[a+268>>2]|0)|0}function aD(a,b){a=a|0;b=+b;g[a+440>>2]=b;return}function bD(a,b){a=a|0;b=b|0;c[a+240>>2]=b;return}function cD(a,b){a=a|0;b=+b;g[a+104>>2]=b;return}function dD(a,b,c){a=a|0;b=b|0;c=c|0;Va[a&127](b|0,c|0)}function eD(a,b,c){a=a|0;b=b|0;c=+c;return +wa[a&1](b|0,+c)}function fD(a,b,c,d,e){a=a|0;b=b|0;c=+c;d=d|0;e=e|0;N(2);return 0.0}function gD(a){a=a|0;return +(+g[a+276>>2])}function hD(a){a=a|0;return +(+g[a+208>>2])}function iD(a){a=a|0;return JI(c[a+192>>2]|0)|0}function jD(a){a=a|0;return JI(c[a+204>>2]|0)|0}function kD(a){a=a|0;return JI(c[a+24>>2]|0)|0}function lD(a){a=a|0;return JI(c[a+68>>2]|0)|0}function mD(a){a=a|0;return +(+Ev(a))}function nD(a,b){a=a|0;b=b|0;c[a+16>>2]=b;return}function oD(a,b){a=a|0;b=+b;g[a+64>>2]=b;return}function pD(a,b){a=a|0;b=+b;g[a+68>>2]=b;return}function qD(a){a=a|0;if(!a)return;GI(a);return}function rD(a){a=a|0;return +(+g[a+216>>2])}function sD(a){a=a|0;return JI(c[a+480>>2]|0)|0}function tD(a){a=a|0;return JI(c[a+124>>2]|0)|0}function uD(a,b){a=a|0;b=+b;pF(a,b);return}function vD(b){b=b|0;return (a[b+26>>0]&1)!=0|0}function wD(b){b=b|0;return (a[b+84>>0]&1)!=0|0}function xD(a,b){a=a|0;b=+b;g[a+80>>2]=b;return}function yD(a,b){a=a|0;b=+b;g[a+76>>2]=b;return}function zD(a){a=a|0;return +(+g[a+28>>2]*+g[a+12>>2])}function AD(a){a=a|0;return +(+g[a+248>>2])}function BD(a){a=a|0;return JI(c[a+240>>2]|0)|0}function CD(a){a=a|0;return xH(a)|0}function DD(a,b){a=a|0;b=+b;g[a+60>>2]=b;return}function ED(a,b){a=a|0;b=+b;g[a+52>>2]=b;return}function FD(a,b){a=a|0;b=+b;g[a+56>>2]=b;return}function GD(a,b){a=a|0;b=b|0;c[a+20>>2]=b;return}function HD(a,b,c){a=a|0;b=b|0;c=+c;return 0}function ID(a){a=a|0;return +(+g[a+204>>2])}function JD(a){a=a|0;sq(a);return}function KD(a,b){a=a|0;b=b|0;return a+(b*36|0)|0}function LD(a,b){a=a|0;b=+b;OF(a,b);return}function MD(a,b){a=a|0;b=+b;PF(a,b);return}function ND(a,b){a=a|0;b=+b;jG(a,b);return}function OD(a){a=a|0;return c[a+36>>2]|0}function PD(a){a=a|0;return c[a+32>>2]|0}function QD(a){a=a|0;return JI(c[a+52>>2]|0)|0}function RD(a){a=a|0;return (c[a+48>>2]|0)+4|0}function SD(a){a=a|0;return JI(c[a+16>>2]|0)|0}function TD(a){a=a|0;return +(+wI(+dF(a)))}function UD(a){a=a|0;return a+44|0}function VD(a){a=a|0;return c[a+68>>2]|0}function WD(a,b,c){a=a|0;b=b|0;c=+c;Qa[a&31](b|0,+c)}function XD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;N(37)}function YD(a){a=a|0;return +(+g[(nI(a)|0)>>2])}function ZD(a){a=a|0;return +(+g[(oI(a)|0)>>2])}function _D(a){a=a|0;return +(+g[(mI(a)|0)>>2])}function $D(a){a=a|0;return IH(a)|0}function aE(a){a=a|0;_A(a);return}function bE(a){a=a|0;return c[a+8>>2]|0}function cE(a,b){a=a|0;b=+b;g[a+92>>2]=b;return}function dE(a,b){a=a|0;b=+b;g[a+40>>2]=b;return}function eE(a,b){a=a|0;b=+b;g[a+36>>2]=b;return}function fE(a,b){a=a|0;b=+b;g[a+48>>2]=b;return}function gE(a){a=a|0;return a+60|0}function hE(a){a=a|0;return c[a+200>>2]|0}function iE(a){a=a|0;return +(+g[a+244>>2])}function jE(a){a=a|0;return +(+g[a+240>>2])}function kE(a){a=a|0;return +(+dF(a))}function lE(a,b){a=a|0;b=+b;g[a+24>>2]=b;return}function mE(a,b){a=a|0;b=+b;g[a+20>>2]=b;return}function nE(a,b){a=a|0;b=+b;g[a+32>>2]=b;return}function oE(a,b){a=a|0;b=+b;g[a+16>>2]=b;return}function pE(a,b){a=a|0;b=+b;g[a+28>>2]=b;return}function qE(a,b){a=a|0;b=b|0;c[a>>2]=b;return}function rE(a){a=a|0;return c[a+212>>2]|0}function sE(a){a=a|0;return JI(c[a+136>>2]|0)|0}function tE(a){a=a|0;c[a+192>>2]=0;return}function uE(a){a=a|0;Jx(a);return}function vE(a,b,c){a=a|0;b=b|0;c=c|0;return}function wE(a,b){a=a|0;b=+b;g[a+72>>2]=b;return}function xE(a){a=a|0;return +(+g[a+212>>2])}function yE(a){a=a|0;return +(+g[a+228>>2])}function zE(a,b){a=a|0;b=+b;g[a+88>>2]=b;return}function AE(a){a=a|0;return c[a+24>>2]|0}function BE(a){a=a|0;Aw(a);return}function CE(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;N(34)}function DE(a,b,c,d,e){a=a|0;b=b|0;c=+c;d=d|0;e=e|0;N(29)}function EE(a){a=a|0;return +(+g[a+252>>2])}function FE(a){a=a|0;return oI(a)|0}function GE(a){a=a|0;return +(+TD(a))}function HE(){var a=0;a=c[7327]|0;c[7327]=a+0;return a|0}function IE(a,b,c){a=a|0;b=b|0;c=c|0;return 0.0}function JE(a){a=a|0;return (a&3|0)!=0|0}function KE(a){a=a|0;return JI(c[a+12>>2]|0)|0}function LE(a){a=a|0;return c[a+136>>2]|0}function ME(a,b){a=a|0;b=+b;g[a+44>>2]=b;return}function NE(a){a=a|0;tH(a);c[a>>2]=5288;return}function OE(a){a=a|0;return a+156|0}function PE(a){a=a|0;return a+20|0}function QE(a){a=a|0;return da(5,a|0)|0}function RE(){var a=0;a=c[3117]|0;c[3117]=a+0;return a|0}function SE(a){a=a|0;Hh(a);GI(a);return}function TE(a){a=a|0;Jo(a);GI(a);return}function UE(a){a=a|0;cj(a);GI(a);return}function VE(a){a=a|0;return +(+g[a+232>>2])}function WE(a){a=a|0;return +(+g[a+280>>2])}function XE(a){a=a|0;return +(+g[a+236>>2])}function YE(a){a=a|0;return 348}function ZE(a){a=a|0;return c[a+12>>2]|0}function _E(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;N(15);return 0}function $E(a){a=a|0;lw(a);return}function aF(a,b){a=a|0;b=b|0;return a+(b<<2)|0}function bF(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;N(5);return 0.0}function cF(a){a=a|0;return JI(c[a+4>>2]|0)|0}function dF(a){a=a|0;return +(+Io(a,a))}function eF(a){a=a|0;return (a?31-(M(a^a-1)|0)|0:32)|0}function fF(a){a=a|0;return +(+g[a+256>>2])}function gF(a){a=a|0;return a+348|0}function hF(a){a=a|0;return +(+g[a>>2])}function iF(a){a=a|0;return (a|0)!=0|0}function jF(a,b){a=a|0;b=b|0;return Fa[a&127](b|0)|0}function kF(a){a=a|0;T(a|0)|0;Ip()}function lF(a){a=a|0;return a+64|0}function mF(a){a=a|0;return +(+g[a+64>>2])}function nF(a){a=a|0;return +(+g[a+68>>2])}function oF(a){a=a|0;return (a&2|0)!=0|0}function pF(a,b){a=a|0;b=+b;g[a+12>>2]=b;return}function qF(a){a=a|0;return a+172|0}function rF(a){a=a|0;return c[a+4>>2]|0}function sF(a){a=a|0;return c[a+84>>2]|0}function tF(a){a=a|0;return c[a+88>>2]|0}function uF(a){a=a|0;return c[a+92>>2]|0}function vF(a){a=a|0;return c[a+100>>2]|0}function wF(a){a=a|0;return 252}function xF(a){a=a|0;return c[a+240>>2]|0}function yF(a,b,c,d){a=a|0;b=+b;c=c|0;d=+d;N(11);return 0}function zF(a){a=a|0;return +(+g[(JI(a)|0)>>2])}function AF(a){a=a|0;return a+52|0}function BF(a){a=a|0;return +(+g[a+80>>2])}function CF(a){a=a|0;return +(+g[a+76>>2])}function DF(a){a=a|0;return 28}function EF(a){a=a|0;return c[a+72>>2]|0}function FF(a,b){a=a|0;b=b|0;return +va[a&15](b|0)}function GF(a){a=a|0;return c[a+16>>2]|0}function HF(a){a=a|0;return +(+g[a+60>>2])}function IF(a){a=a|0;return +(+g[a+52>>2])}function JF(a){a=a|0;return +(+g[a+56>>2])}function KF(a){a=a|0;return a+108|0}function LF(a){a=a|0;return 212}function MF(a){a=a|0;return c[a+96>>2]|0}function NF(a){a=a|0;return (a&1|0)!=0|0}function OF(a,b){a=a|0;b=+b;g[a+8>>2]=b;return}function PF(a,b){a=a|0;b=+b;g[a+4>>2]=b;return}function QF(a){a=a|0;return a+16|0}function RF(a){a=+a;return a<1.0|0}function SF(a,b){a=a|0;b=b|0;return 1}function TF(a){a=a|0;return a+324|0}function UF(a){a=a|0;mH(a);return}function VF(a,b){a=a|0;b=b|0;sa=a;ta=b}function WF(a){a=a|0;return a+188|0}function XF(a){a=a|0;return c[a+20>>2]|0}function YF(a){a=a|0;return 204}function ZF(a,b){a=a|0;b=b|0;return}function _F(a){a=a|0;c[a>>2]=10968;return}function $F(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;N(33)}function aG(a){a=a|0;return a+36|0}function bG(a){a=a|0;return +(+g[a+92>>2])}function cG(a){a=a|0;return +(+g[a+44>>2])}function dG(a){a=a|0;return +(+g[a+40>>2])}function eG(a){a=a|0;return +(+g[a+36>>2])}function fG(a){a=a|0;return +(+g[a+48>>2])}function gG(a){a=a|0;return 220}function hG(a){a=a|0;return 256}function iG(a){a=a|0;return +(+g[a+72>>2])}function jG(a,b){a=a|0;b=+b;g[a>>2]=b;return}function kG(a){a=a|0;c[a>>2]=5612;return}function lG(a){a=a|0;RG(a+56|0);return}function mG(a){a=a|0;UF(a);return}function nG(a){a=a|0;return +(+g[a+24>>2])}function oG(a){a=a|0;return +(+g[a+4>>2])}function pG(a){a=a|0;return +(+g[a+20>>2])}function qG(a){a=a|0;return +(+g[a+32>>2])}function rG(a){a=a|0;return +(+g[a+16>>2])}function sG(a){a=a|0;return +(+g[a+12>>2])}function tG(a){a=a|0;return +(+g[a+28>>2])}function uG(a){a=a|0;return 52}function vG(a){a=a|0;return 68}function wG(a){a=a|0;return 84}function xG(a,b){a=a|0;b=b|0;return a+(b<<4)|0}function yG(a){a=a|0;return a+352|0}function zG(a){a=a|0;return a+868|0}function AG(a){a=a|0;return +(+g[a+88>>2])}function BG(a){a=a|0;return +(+g[a+8>>2])}function CG(a){a=a|0;return a+316|0}function DG(a){a=a|0;return a+300|0}function EG(a,b){a=a|0;b=b|0;Pa[a&511](b|0)}function FG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=+d;N(31)}function GG(a,b,c,d){a=a|0;b=b|0;c=+c;d=d|0;N(28)}function HG(a,b,c,d){a=a|0;b=+b;c=c|0;d=d|0;N(25)}function IG(a){a=a|0;return a+32|0}function JG(a){a=a|0;return 24}function KG(a,b){a=a|0;b=+b;return}function LG(a){a=a|0;return a+788|0}function MG(a){a=a|0;return c[a>>2]|0}function NG(a,b){a=a|0;b=b|0;return gu(a,b)|0}function OG(a){a=a|0;return a+68|0}function PG(a){a=a|0;Sx(a);return}function QG(a){a=a|0;GI(a+-4|0);return}function RG(a){a=a|0;uE(a);return}function SG(a){a=a|0;BE(a);return}function TG(a){a=a|0;Fh(a);return}function UG(a){a=a|0;return JI(a)|0}function VG(a){a=a|0;return a+708|0}function WG(a){a=a|0;return 488}function XG(a,b,c){a=a|0;b=b|0;c=c|0;N(14);return 0}function YG(a){a=a|0;return 32}function ZG(a){a=a|0;return a+328|0}function _G(a){a=a|0;return 60}function $G(a){a=a|0;return 428}function aH(a){a=a|0;c[a>>2]=5688;return}function bH(a,b,c){a=a|0;b=b|0;c=c|0;N(3);return 0.0}function cH(a){a=a|0;return a+288|0}function dH(){return Nr(1)|0}function eH(a){a=+a;return +(+AA(a)*2.0)}function fH(a){a=a|0;return a+312|0}function gH(a){a=a|0;c[a>>2]=7356;return}function hH(a){a=a|0;c[a>>2]=7816;return}function iH(a){a=a|0;return (a&255)<<8|a>>8&255|0}function jH(a,b,c){a=a|0;b=b|0;c=+c;N(13);return 0}function kH(a){a=a|0;return 15417}function lH(a){a=a|0;return a+92|0}function mH(a){a=a|0;c[a>>2]=0;return}function nH(a){a=a|0;return 4}function oH(a){a=a|0;return 22146}function pH(a){a=a|0;return 21862}function qH(a){a=a|0;c[a>>2]=5664;return}function rH(){return Zs()|0}function sH(a){a=a|0;return 15305}function tH(a){a=a|0;c[a>>2]=5388;return}function uH(a){a=a|0;return a+76|0}function vH(a){a=a|0;return a+28|0}function wH(a){a=a|0;return 21008}function xH(a){a=a|0;return a+380|0}function yH(a){a=a|0;return a+40|0}function zH(a){a=a|0;return a+24|0}function AH(a){a=a|0;return a+72|0}function BH(a){a=a|0;return a+56|0}function CH(a,b,c){a=a|0;b=b|0;c=c|0;N(30)}function DH(a){a=a|0;return 21392}function EH(a){a=a|0;return 0}function FH(a,b){a=+a;b=b|0;return +(+Gl(a,b))}function GH(){return Nr(64)|0}function HH(a){a=a|0;return 21450}function IH(a){a=a|0;return a+48|0}function JH(a){a=a|0;return 21648}function KH(a){a=a|0;return 1}function LH(a,b,c){a=a|0;b=b|0;c=+c;N(27)}function MH(a,b,c){a=a|0;b=+b;c=c|0;N(24)}function NH(a){a=a|0;return 22263}function OH(a){a=a|0;return 22234}function PH(a){a=a|0;return 3}function QH(a){a=a|0;return hm(a,28780)|0}function RH(a){a=a|0;return (a+-48|0)>>>0<10|0}function SH(a){a=a|0;return 15684}function TH(a){a=+a;return +a}function UH(a){a=a|0;return 22206}function VH(a){a=a|0;return 20723}function WH(a){a=a|0;return 21806}function XH(a){a=a|0;return 21779}function YH(a){a=a|0;return 21749}function ZH(a){a=a|0;return 8}function _H(a){a=+a;return +(a%6.2831854820251465)}function $H(a,b,c){a=a|0;b=+b;c=+c;N(22)}function aI(a){a=a|0;return 20827}function bI(a,b){a=a|0;b=b|0;N(12);return 0}function cI(a){a=a|0;return 20785}function dI(a){a=a|0;return 20806}function eI(a){a=a|0;return 6}function fI(a){a=a|0;return 12}function gI(){return 4}function hI(a){a=a|0;return 20766}function iI(a){a=a|0;return 2}function jI(a){a=a|0;return 21921}function kI(a,b){a=a|0;b=+b;N(1);return 0.0}function lI(){c[6688]=1805;c[6689]=0;return}function mI(a){a=a|0;return a+12|0}function nI(a){a=a|0;return a+8|0}function oI(a){a=a|0;return a+4|0}function pI(a){a=a|0;Oa[a&3]()}function qI(){return 2}function rI(a){a=a|0;ma()}function sI(){return 5}function tI(){return 3}function uI(){return 0}function vI(){W()}function wI(a){a=+a;return +(+x(+a))}function xI(a){a=+a;return +(+w(+a))}function yI(a){a=+a;return +(+A(+a))}function zI(a){a=+a;return +(+z(+a))}function AI(a,b){a=a|0;b=b|0;N(26)}function BI(a,b){a=a|0;b=+b;N(21)}function CI(a){a=a|0;return Nr(a)|0}function DI(a){a=a|0;GI(a);return}function EI(a){a=a|0;return}function FI(a){a=a|0;sa=a}function GI(a){a=a|0;Hc(a);return}function HI(a){a=a|0;N(10);return 0}function II(a){a=a|0;N(0);return 0.0}function JI(a){a=a|0;return a|0}function KI(){return sa|0}function LI(a){a=a|0;N(20)}function MI(){return 1}function NI(){N(19)} +function lb(d,f){d=d|0;f=f|0;var h=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0,y=0,z=0,A=0,B=0,C=0,D=0.0,E=0.0,F=0.0,G=0,H=0,I=0.0,J=0.0,K=0.0,L=0.0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0.0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0;ia=sa;sa=sa+192|0;i=c[d+52>>2]|0;if(i|0?(Pa[c[c[i>>2]>>2]&511](i),h=c[d+52>>2]|0,h|0):0){c[7183]=(c[7183]|0)+1;Hc(c[h+-4>>2]|0)}c[7182]=(c[7182]|0)+1;h=xb(151)|0;if(!h)h=0;else{c[(h+4+15&-16)+-4>>2]=h;h=h+4+15&-16}c[h>>2]=12260;a[h+20>>0]=1;c[h+16>>2]=0;c[h+8>>2]=0;c[h+12>>2]=0;a[h+40>>0]=1;c[h+36>>2]=0;c[h+28>>2]=0;c[h+32>>2]=0;a[h+60>>0]=1;c[h+56>>2]=0;c[h+48>>2]=0;c[h+52>>2]=0;c[d+52>>2]=h;m=0;n=0;ha=0;H=0;h=0;while(1){if((m|0)>=(Fa[c[(c[d>>2]|0)+96>>2]&127](d)|0))break;do if((H|0)==(n|0)){i=(n|0)==0?1:n<<1;if((n|0)<(i|0)){if((i|0)!=0?(c[7182]=(c[7182]|0)+1,o=xb((i<<4|3)+16|0)|0,(o|0)!=0):0){c[(o+4+15&-16)+-4>>2]=o;k=o+4+15&-16}else k=0;if((n|0)<=0){if(!ha){l=k;h=k;k=n;break}}else{h=0;do{ga=k+(h<<4)|0;fa=ha+(h<<4)|0;c[ga>>2]=c[fa>>2];c[ga+4>>2]=c[fa+4>>2];c[ga+8>>2]=c[fa+8>>2];c[ga+12>>2]=c[fa+12>>2];h=h+1|0}while((h|0)!=(n|0))}c[7183]=(c[7183]|0)+1;Hc(c[ha+-4>>2]|0);l=k;h=k;k=n}else{i=n;l=ha;k=n}}else{i=n;l=ha;k=H}while(0);n=l+(H<<4)|0;c[n>>2]=c[ia>>2];c[n+4>>2]=c[ia+4>>2];c[n+8>>2]=c[ia+8>>2];c[n+12>>2]=c[ia+12>>2];Za[c[(c[d>>2]|0)+108>>2]&127](d,m,n);m=m+1|0;n=i;ha=l;H=k+1|0}a[ia+124+16>>0]=1;ga=ia+124+12|0;c[ga>>2]=0;c[ia+124+4>>2]=0;c[ia+124+8>>2]=0;a[ia+124+36>>0]=1;fa=ia+124+32|0;c[fa>>2]=0;c[ia+124+24>>2]=0;c[ia+124+28>>2]=0;a[ia+124+56>>0]=1;ea=ia+124+52|0;c[ea>>2]=0;c[ia+124+44>>2]=0;c[ia+124+48>>2]=0;if(f){if((H|0)>0){G=0;i=0;k=0;l=0;while(1){h=G;G=G+1|0;a:do if((G|0)<(H|0)){B=ha+(h<<4)|0;C=ha+(h<<4)+4|0;A=ha+(h<<4)+8|0;m=G;h=l;while(1){z=m+1|0;b:do if((z|0)<(H|0)){v=ha+(m<<4)|0;y=ha+(m<<4)+4|0;f=ha+(m<<4)+8|0;l=z;while(1){p=+g[B>>2];I=+g[v>>2]-p;q=+g[C>>2];J=+g[y>>2]-q;r=+g[A>>2];E=+g[f>>2]-r;K=+g[ha+(l<<4)>>2]-p;L=+g[ha+(l<<4)+4>>2]-q;F=+g[ha+(l<<4)+8>>2]-r;D=(I*L-J*K)*(I*L-J*K)+((J*F-E*L)*(J*F-E*L)+(E*K-I*F)*(E*K-I*F));c:do if(D>9.999999747378752e-05){u=1.0/+x(+D);s=(J*F-E*L)*u;t=(E*K-I*F)*u;u=(I*L-J*K)*u;d:do if((h|0)>0){m=0;while(1){if(s*+g[k+(m<<4)>>2]+t*+g[k+(m<<4)+4>>2]+u*+g[k+(m<<4)+8>>2]>.9990000128746033)break d;m=m+1|0;if((m|0)>=(h|0)){ca=34;break}}}else ca=34;while(0);e:do if((ca|0)==34){ca=0;m=0;do{if(s*+g[ha+(m<<4)>>2]+t*+g[ha+(m<<4)+4>>2]+u*+g[ha+(m<<4)+8>>2]-(s*p+t*q+u*r)+-.009999999776482582>0.0)break e;m=m+1|0}while((m|0)<(H|0));do if((h|0)==(i|0)){o=(i|0)==0?1:i<<1;if((i|0)<(o|0)){do if(!o)n=0;else{c[7182]=(c[7182]|0)+1;m=xb((o<<4|3)+16|0)|0;if(!m){n=0;break}c[(m+4+15&-16)+-4>>2]=m;n=m+4+15&-16}while(0);if((i|0)<=0){if(!k){m=o;k=n;break}}else{m=0;do{ba=n+(m<<4)|0;aa=k+(m<<4)|0;c[ba>>2]=c[aa>>2];c[ba+4>>2]=c[aa+4>>2];c[ba+8>>2]=c[aa+8>>2];c[ba+12>>2]=c[aa+12>>2];m=m+1|0}while((m|0)!=(i|0))}c[7183]=(c[7183]|0)+1;Hc(c[k+-4>>2]|0);m=o;k=n}else m=i}else{m=i;i=h}while(0);g[k+(i<<4)>>2]=s;g[k+(i<<4)+4>>2]=t;g[k+(i<<4)+8>>2]=u;g[k+(i<<4)+12>>2]=-(s*p+t*q+u*r);i=m;h=h+1|0}while(0);if(D>9.999999747378752e-05){q=1.0/+x(+D);s=-((J*F-E*L)*q);r=-((E*K-I*F)*q);q=-((I*L-J*K)*q);if((h|0)>0){m=0;do{if(+g[k+(m<<4)>>2]*s+ +g[k+(m<<4)+4>>2]*r+ +g[k+(m<<4)+8>>2]*q>.9990000128746033)break c;m=m+1|0}while((m|0)<(h|0))}p=+g[B>>2]*s+ +g[C>>2]*r+ +g[A>>2]*q;m=0;do{if(+g[ha+(m<<4)>>2]*s+ +g[ha+(m<<4)+4>>2]*r+ +g[ha+(m<<4)+8>>2]*q-p+-.009999999776482582>0.0)break c;m=m+1|0}while((m|0)<(H|0));do if((h|0)==(i|0)){o=(i|0)==0?1:i<<1;if((i|0)>=(o|0)){m=i;break}do if(!o)n=0;else{c[7182]=(c[7182]|0)+1;m=xb((o<<4|3)+16|0)|0;if(!m){n=0;break}c[(m+4+15&-16)+-4>>2]=m;n=m+4+15&-16}while(0);if((i|0)<=0){if(!k){m=o;k=n;break}}else{m=0;do{ba=n+(m<<4)|0;aa=k+(m<<4)|0;c[ba>>2]=c[aa>>2];c[ba+4>>2]=c[aa+4>>2];c[ba+8>>2]=c[aa+8>>2];c[ba+12>>2]=c[aa+12>>2];m=m+1|0}while((m|0)!=(i|0))}c[7183]=(c[7183]|0)+1;Hc(c[k+-4>>2]|0);m=o;k=n}else{m=i;i=h}while(0);g[k+(i<<4)>>2]=s;g[k+(i<<4)+4>>2]=r;g[k+(i<<4)+8>>2]=q;g[k+(i<<4)+12>>2]=-p;i=m;h=h+1|0}}while(0);l=l+1|0;if((l|0)==(H|0))break b}}while(0);if((z|0)==(H|0))break a;m=z}}else h=l;while(0);if((G|0)==(H|0)){f=h;break}else l=h}if((f|0)>0){h=0;n=0;o=0;while(1){ba=k+(o<<4)|0;c[ia>>2]=c[ba>>2];c[ia+4>>2]=c[ba+4>>2];c[ia+8>>2]=c[ba+8>>2];p=+g[k+(o<<4)+12>>2];p=p-+va[c[(c[d>>2]|0)+48>>2]&15](d);do if((o|0)==(h|0)){m=(h|0)==0?1:h<<1;if((h|0)<(m|0)){if((m|0)!=0?(c[7182]=(c[7182]|0)+1,M=xb((m<<4|3)+16|0)|0,(M|0)!=0):0){c[(M+4+15&-16)+-4>>2]=M;l=M+4+15&-16}else l=0;if((h|0)<=0){if(!n)break}else{i=0;do{ba=l+(i<<4)|0;aa=n+(i<<4)|0;c[ba>>2]=c[aa>>2];c[ba+4>>2]=c[aa+4>>2];c[ba+8>>2]=c[aa+8>>2];c[ba+12>>2]=c[aa+12>>2];i=i+1|0}while((i|0)!=(h|0))}c[7183]=(c[7183]|0)+1;Hc(c[n+-4>>2]|0)}else{m=h;l=n}}else{m=h;l=n;h=o}while(0);ba=l+(h<<4)|0;c[ba>>2]=c[ia>>2];c[ba+4>>2]=c[ia+4>>2];c[ba+8>>2]=c[ia+8>>2];g[l+(h<<4)+12>>2]=p;o=o+1|0;if((o|0)<(f|0)){h=m;n=l}else break}M=0;n=0;m=0;i=0;h=0;do{H=M;M=M+1|0;f:do if((M|0)<(o|0)){f=M;while(1){G=f+1|0;g:do if((G|0)<(o|0)){A=l+(f<<4)+4|0;B=l+(f<<4)+8|0;C=l+(f<<4)|0;z=l+(f<<4)+12|0;f=G;while(1){s=+g[A>>2];p=+g[l+(f<<4)+8>>2];q=+g[B>>2];t=+g[l+(f<<4)+4>>2];u=+g[l+(f<<4)>>2];D=+g[C>>2];r=+g[l+(H<<4)+8>>2];E=+g[l+(H<<4)+4>>2];F=+g[l+(H<<4)>>2];h:do if((((t*D-s*u)*(t*D-s*u)+((s*p-q*t)*(s*p-q*t)+(q*u-p*D)*(q*u-p*D))>9.999999747378752e-05?(u*E-t*F)*(u*E-t*F)+((t*r-p*E)*(t*r-p*E)+(p*F-u*r)*(p*F-u*r))>9.999999747378752e-05:0)?(s*F-D*E)*(s*F-D*E)+((q*E-s*r)*(q*E-s*r)+(D*r-q*F)*(D*r-q*F))>9.999999747378752e-05:0)?(W=r*(t*D-s*u)+(E*(q*u-p*D)+(s*p-q*t)*F),+w(+W)>9.999999974752427e-07):0){K=+g[l+(H<<4)+12>>2];L=+g[z>>2];J=+g[l+(f<<4)+12>>2];I=-1.0/W*((q*E-s*r)*J+((s*p-q*t)*K+(t*r-p*E)*L));q=-1.0/W*((D*r-q*F)*J+((q*u-p*D)*K+(p*F-u*r)*L));p=-1.0/W*((s*F-D*E)*J+((t*D-s*u)*K+(u*E-t*F)*L));v=0;do{if(+g[l+(v<<4)+12>>2]+(I*+g[l+(v<<4)>>2]+q*+g[l+(v<<4)+4>>2]+p*+g[l+(v<<4)+8>>2])+-.009999999776482582>0.0)break h;v=v+1|0}while((v|0)<(o|0));do if((i|0)==(n|0)){y=(n|0)==0?1:n<<1;if((n|0)>=(y|0)){y=n;break}do if(!y)v=0;else{c[7182]=(c[7182]|0)+1;h=xb((y<<4|3)+16|0)|0;if(!h){v=0;break}c[(h+4+15&-16)+-4>>2]=h;v=h+4+15&-16}while(0);if((n|0)<=0){if(!m){m=v;h=v;break}}else{h=0;do{ba=v+(h<<4)|0;aa=m+(h<<4)|0;c[ba>>2]=c[aa>>2];c[ba+4>>2]=c[aa+4>>2];c[ba+8>>2]=c[aa+8>>2];c[ba+12>>2]=c[aa+12>>2];h=h+1|0}while((h|0)!=(n|0))}c[7183]=(c[7183]|0)+1;Hc(c[m+-4>>2]|0);m=v;h=v}else{y=n;n=i}while(0);g[m+(n<<4)>>2]=I;g[m+(n<<4)+4>>2]=q;g[m+(n<<4)+8>>2]=p;g[m+(n<<4)+12>>2]=0.0;n=y;i=i+1|0}while(0);f=f+1|0;if((f|0)==(o|0))break g}}while(0);if((G|0)==(o|0))break f;f=G}}while(0)}while((M|0)!=(o|0))}else{m=0;l=0;i=0;h=0}}else{m=0;l=0;k=0;i=0;h=0}zb(ia+124|0,h,i);if(m|0){c[7183]=(c[7183]|0)+1;Hc(c[m+-4>>2]|0)}if(l|0){c[7183]=(c[7183]|0)+1;Hc(c[l+-4>>2]|0)}if(k|0){c[7183]=(c[7183]|0)+1;Hc(c[k+-4>>2]|0)}}else zb(ia+124|0,h,H);G=c[ia+124+44>>2]|0;if((G|0)>0){c[7182]=(c[7182]|0)+1;h=xb((G<<4|3)+16|0)|0;if(!h)i=0;else{c[(h+4+15&-16)+-4>>2]=h;i=h+4+15&-16}h=0;do{ba=i+(h<<4)|0;c[ba>>2]=c[ia>>2];c[ba+4>>2]=c[ia+4>>2];c[ba+8>>2]=c[ia+8>>2];c[ba+12>>2]=c[ia+12>>2];h=h+1|0}while((h|0)!=(G|0));ba=i;$=i}else{ba=0;$=0}a[ia+104+16>>0]=1;aa=ia+104+12|0;c[aa>>2]=0;_=ia+104+4|0;c[_>>2]=0;c[ia+104+8>>2]=0;k=ia;m=k+19|0;do{a[k>>0]=0;k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|0)==2){I=+g[ia+4>>2];J=+g[ia+24>>2];K=+g[ia+8>>2];L=+g[ia+20>>2];F=+g[ia+16>>2];E=+g[ia>>2];Y=ba+(C<<4)+4|0;Z=ba+(C<<4)+8|0;g[ba+(C<<4)+12>>2]=0.0;W=1.0/+x(+((L*E-I*F)*(L*E-I*F)+((I*J-K*L)*(I*J-K*L)+(K*F-J*E)*(K*F-J*E))));g[ba+(C<<4)>>2]=(I*J-K*L)*W;g[Y>>2]=(K*F-J*E)*W;g[Z>>2]=(L*E-I*F)*W;m=c[aa>>2]|0;g[m+(C*36|0)+20>>2]=(I*J-K*L)*W;c[m+(C*36|0)+24>>2]=c[Y>>2];c[m+(C*36|0)+28>>2]=c[Z>>2];g[m+(C*36|0)+32>>2]=1000000015047466219876688.0e6}else{m=ba+(C<<4)|0;c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=0;c[m+12>>2]=0;m=c[aa>>2]|0}i=c[m+(C*36|0)+4>>2]|0;if((i|0)>0){k=c[(c[d+52>>2]|0)+16>>2]|0;q=+g[ba+(C<<4)>>2];r=+g[ba+(C<<4)+4>>2];s=+g[ba+(C<<4)+8>>2];l=c[m+(C*36|0)+12>>2]|0;Z=c[l>>2]|0;p=+g[k+(Z<<4)>>2]*q+ +g[k+(Z<<4)+4>>2]*r+ +g[k+(Z<<4)+8>>2]*s;p=p<1000000015047466219876688.0e6?p:1000000015047466219876688.0e6;if((i|0)!=1){h=1;do{Z=c[l+(h<<2)>>2]|0;W=+g[k+(Z<<4)>>2]*q+ +g[k+(Z<<4)+4>>2]*r+ +g[k+(Z<<4)+8>>2]*s;p=p>W?W:p;h=h+1|0}while((h|0)<(i|0))}}else p=1000000015047466219876688.0e6;g[m+(C*36|0)+32>>2]=-p;C=C+1|0}while((C|0)!=(G|0))}i:do if((c[_>>2]|0)>0){h=0;m=0;l=0;i=0;n=0;while(1){do if((n|0)==(h|0)){h=(n|0)==0;k=h?1:n<<1;if((n|0)<(k|0)){if((k|0)!=0?(c[7182]=(c[7182]|0)+1,O=xb((k<<2|3)+16|0)|0,(O|0)!=0):0){c[(O+4+15&-16)+-4>>2]=O;l=O+4+15&-16}else l=0;if(h){if(!m){h=1;m=l;Q=l;i=l;break}}else{h=0;do{c[l+(h<<2)>>2]=c[m+(h<<2)>>2];h=h+1|0}while((h|0)!=(n|0))}if(!i){h=k;m=l;Q=l;i=l}else{c[7183]=(c[7183]|0)+1;Hc(c[i+-4>>2]|0);h=k;m=l;Q=l;i=l}}else{h=n;Q=l}}else Q=l;while(0);c[m+(n<<2)>>2]=n;n=n+1|0;if((n|0)>=(c[_>>2]|0))break;else l=Q}N=ia+84+12|0;O=ia+84+4|0;P=ia+48+12|0;h=n;while(1){o=h+-1|0;k=c[m+(o<<2)>>2]|0;c[7182]=(c[7182]|0)+1;i=xb(23)|0;if(!i)n=0;else{c[(i+4+15&-16)+-4>>2]=i;n=i+4+15&-16}c[n>>2]=k;l=c[aa>>2]|0;q=+g[l+(k*36|0)+20>>2];r=+g[l+(k*36|0)+24>>2];p=+g[l+(k*36|0)+28>>2];do if((h|0)>1){B=h+-2|0;f=1;i=n;A=1;h=o;o=n;v=n;while(1){z=c[m+(B<<2)>>2]|0;j:do if(q*+g[l+(z*36|0)+20>>2]+r*+g[l+(z*36|0)+24>>2]+p*+g[l+(z*36|0)+28>>2]>.9990000128746033){do if((A|0)==(f|0)){l=(f|0)==0?1:f<<1;if((f|0)>=(l|0)){l=f;y=o;break}do if(!l)n=0;else{c[7182]=(c[7182]|0)+1;k=xb((l<<2|3)+16|0)|0;if(!k){n=0;break}c[(k+4+15&-16)+-4>>2]=k;n=k+4+15&-16}while(0);if((f|0)>0){k=0;do{c[n+(k<<2)>>2]=c[i+(k<<2)>>2];k=k+1|0}while((k|0)!=(f|0));if(!v){i=n;y=n;v=n;break}}else if((i|0)==0|(v|0)==0){i=n;y=n;v=n;break}c[7183]=(c[7183]|0)+1;Hc(c[v+-4>>2]|0);i=n;y=n;v=n}else{l=f;y=o}while(0);c[i+(A<<2)>>2]=z;A=A+1|0;if((h|0)>0){k=0;while(1){n=m+(k<<2)|0;if((c[n>>2]|0)==(z|0))break;k=k+1|0;if((k|0)>=(h|0)){M=y;k=v;break j}}f=h+-1|0;o=m+(f<<2)|0;if((k|0)>=(h|0)){M=y;k=v;break}c[n>>2]=c[o>>2];c[o>>2]=z;h=f;M=y;k=v}else{M=y;k=v}}else{l=f;M=o;k=v}while(0);if((B|0)<=0)break;B=B+-1|0;f=l;o=M;l=c[aa>>2]|0;v=k}if((A|0)<=1)if((A|0)==1){k=M;A=1;ca=344;break}else{k=M;break}a[ia+84+16>>0]=1;c[N>>2]=0;c[O>>2]=0;c[ia+84+8>>2]=0;C=0;k=0;p=0.0;q=0.0;r=0.0;do{z=c[i+(C<<2)>>2]|0;B=c[aa>>2]|0;p=+g[B+(z*36|0)+20>>2]+p;q=+g[B+(z*36|0)+24>>2]+q;r=+g[B+(z*36|0)+28>>2]+r;l=c[B+(z*36|0)+4>>2]|0;if((l|0)>0){y=0;do{v=c[(c[B+(z*36|0)+12>>2]|0)+(y<<2)>>2]|0;Z=(c[(c[d+52>>2]|0)+16>>2]|0)+(v<<4)|0;c[ia>>2]=c[Z>>2];c[ia+4>>2]=c[Z+4>>2];c[ia+8>>2]=c[Z+8>>2];c[ia+12>>2]=c[Z+12>>2];k:do if((k|0)>0){o=c[N>>2]|0;n=0;while(1){if((c[o+(n*24|0)+20>>2]|0)==(v|0))break k;n=n+1|0;if((n|0)>=(k|0)){ca=224;break}}}else ca=224;while(0);if((ca|0)==224){ca=0;c[ia+48>>2]=c[ia>>2];c[ia+48+4>>2]=c[ia+4>>2];c[ia+48+8>>2]=c[ia+8>>2];c[ia+48+12>>2]=c[ia+12>>2];do if((k|0)==(c[ia+84+8>>2]|0)){f=(k|0)==0?1:k<<1;if((k|0)>=(f|0))break;if(!f)o=0;else{c[7182]=(c[7182]|0)+1;k=xb((f*24|3)+16|0)|0;if(!k)k=0;else{c[(k+4+15&-16)+-4>>2]=k;k=k+4+15&-16}o=k;k=c[O>>2]|0}n=c[N>>2]|0;if((k|0)<=0){if(n)ca=234}else{l=0;do{ca=o+(l*24|0)|0;Z=n+(l*24|0)|0;c[ca>>2]=c[Z>>2];c[ca+4>>2]=c[Z+4>>2];c[ca+8>>2]=c[Z+8>>2];c[ca+12>>2]=c[Z+12>>2];c[ca+16>>2]=c[Z+16>>2];c[ca+20>>2]=c[Z+20>>2];l=l+1|0}while((l|0)!=(k|0));ca=234}if((ca|0)==234){ca=0;if(a[ia+84+16>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[n+-4>>2]|0);k=c[O>>2]|0}c[N>>2]=0}a[ia+84+16>>0]=1;c[N>>2]=o;c[ia+84+8>>2]=f}while(0);l=c[N>>2]|0;Z=l+(k*24|0)|0;c[Z>>2]=c[ia+48>>2];c[Z+4>>2]=c[ia+48+4>>2];c[Z+8>>2]=c[ia+48+8>>2];c[Z+12>>2]=c[ia+48+12>>2];c[Z+16>>2]=c[ia+48+16>>2];c[l+(k*24|0)+20>>2]=v;k=(c[O>>2]|0)+1|0;c[O>>2]=k;l=c[B+(z*36|0)+4>>2]|0}y=y+1|0}while((y|0)<(l|0))}C=C+1|0}while((C|0)!=(A|0));a[ia+48+16>>0]=1;c[P>>2]=0;c[ia+48+4>>2]=0;c[ia+48+8>>2]=0;Z=c[i>>2]|0;Y=c[aa>>2]|0;c[ia+48+20>>2]=c[Y+(Z*36|0)+20>>2];c[ia+48+24>>2]=c[Y+(Z*36|0)+24>>2];c[ia+48+28>>2]=c[Y+(Z*36|0)+28>>2];c[ia+48+32>>2]=c[Y+(Z*36|0)+32>>2];D=1.0/+x(+(p*p+q*q+r*r));F=p*D;E=q*D;D=r*D;if(+w(+D)>.7071067690849304){u=1.0/+x(+(D*D+E*E));s=0.0;t=E*u;u=-(D*u)}else{u=1.0/+x(+(F*F+E*E));s=-(E*u);t=0.0;u=F*u}o=c[O>>2]|0;do if((o|0)<2)if((o|0)==1){l=0;o=0;y=0;f=1;while(1){z=c[N>>2]|0;do if((l|0)==(o|0)){v=(o|0)==0?1:o<<1;if((o|0)>=(v|0)){v=o;k=y;n=o;break}do if(!v)k=0;else{c[7182]=(c[7182]|0)+1;k=xb((v*24|3)+16|0)|0;if(!k){k=0;o=l;break}c[(k+4+15&-16)+-4>>2]=k;k=k+4+15&-16;o=l}while(0);if((o|0)<=0){if(y|0)ca=255}else{n=0;do{ca=k+(n*24|0)|0;Z=y+(n*24|0)|0;c[ca>>2]=c[Z>>2];c[ca+4>>2]=c[Z+4>>2];c[ca+8>>2]=c[Z+8>>2];c[ca+12>>2]=c[Z+12>>2];c[ca+16>>2]=c[Z+16>>2];c[ca+20>>2]=c[Z+20>>2];n=n+1|0}while((n|0)!=(o|0));ca=255}if((ca|0)==255){ca=0;c[7183]=(c[7183]|0)+1;Hc(c[y+-4>>2]|0)}n=l;f=c[O>>2]|0}else{v=o;k=y;n=l}while(0);Z=k+(n*24|0)|0;c[Z>>2]=c[z>>2];c[Z+4>>2]=c[z+4>>2];c[Z+8>>2]=c[z+8>>2];c[Z+12>>2]=c[z+12>>2];c[Z+16>>2]=c[z+16>>2];c[Z+20>>2]=c[z+20>>2];l=l+1|0;if((l|0)<(f|0)){o=v;y=k}else{ca=289;break}}}else{k=0;ca=331}else{n=c[N>>2]|0;k=0;do{l=n+(k*24|0)|0;if(s*+g[l>>2]+u*+g[n+(k*24|0)+4>>2]+t*+g[n+(k*24|0)+8>>2]>2]+u*+g[n+4>>2]+t*+g[n+8>>2]){c[ia>>2]=c[n>>2];c[ia+4>>2]=c[n+4>>2];c[ia+8>>2]=c[n+8>>2];c[ia+12>>2]=c[n+12>>2];c[ia+16>>2]=c[n+16>>2];c[ia+20>>2]=c[n+20>>2];c[n>>2]=c[l>>2];c[n+4>>2]=c[l+4>>2];c[n+8>>2]=c[l+8>>2];c[n+12>>2]=c[l+12>>2];c[n+16>>2]=c[l+16>>2];c[n+20>>2]=c[l+20>>2];ca=n+(k*24|0)|0;c[ca>>2]=c[ia>>2];c[ca+4>>2]=c[ia+4>>2];c[ca+8>>2]=c[ia+8>>2];c[ca+12>>2]=c[ia+12>>2];c[ca+16>>2]=c[ia+16>>2];c[ca+20>>2]=c[ia+20>>2]}k=k+1|0}while((k|0)<(o|0));g[n+16>>2]=-1000000015047466219876688.0e6;if((o|0)>1){p=+g[n>>2];q=+g[n+4>>2];r=+g[n+8>>2];k=1;do{K=+g[n+(k*24|0)>>2]-p;L=+g[n+(k*24|0)+4>>2]-q;W=+g[n+(k*24|0)+8>>2]-r;g[n+(k*24|0)+16>>2]=((s*L-u*K)*D+(F*(u*W-t*L)+E*(t*K-s*W)))/+x(+(K*K+L*L+W*W));k=k+1|0}while((k|0)!=(o|0))}c[ia>>2]=c[n>>2];c[ia+4>>2]=c[n+4>>2];c[ia+8>>2]=c[n+8>>2];c[ia+12>>2]=c[n+12>>2];Fe(ia+84|0,ia,1,o+-1|0);l=c[N>>2]|0;c[7182]=(c[7182]|0)+1;k=xb(43)|0;if(!k)n=0;else{c[(k+4+15&-16)+-4>>2]=k;n=k+4+15&-16}o=c[N>>2]|0;c[n>>2]=c[l>>2];c[n+4>>2]=c[l+4>>2];c[n+8>>2]=c[l+8>>2];c[n+12>>2]=c[l+12>>2];c[n+16>>2]=c[l+16>>2];c[n+20>>2]=c[l+20>>2];c[7182]=(c[7182]|0)+1;k=xb(67)|0;if(!k)k=0;else{c[(k+4+15&-16)+-4>>2]=k;k=k+4+15&-16}c[k>>2]=c[n>>2];c[k+4>>2]=c[n+4>>2];c[k+8>>2]=c[n+8>>2];c[k+12>>2]=c[n+12>>2];c[k+16>>2]=c[n+16>>2];c[k+20>>2]=c[n+20>>2];if(n|0){c[7183]=(c[7183]|0)+1;Hc(c[n+-4>>2]|0)}n=k+24|0;c[n>>2]=c[o+24>>2];c[n+4>>2]=c[o+24+4>>2];c[n+8>>2]=c[o+24+8>>2];c[n+12>>2]=c[o+24+12>>2];c[n+16>>2]=c[o+24+16>>2];c[n+20>>2]=c[o+24+20>>2];n=c[O>>2]|0;if((n|0)==2){l=2;ca=289;break}z=2;l=2;y=2;o=2;while(1){l:do if((o|0)>1){ca=c[N>>2]|0;v=ca+(z*24|0)|0;p=+g[v>>2];q=+g[ca+(z*24|0)+4>>2];r=+g[ca+(z*24|0)+8>>2];while(1){ca=o+-2|0;f=o+-1|0;K=+g[k+(ca*24|0)>>2];L=K-+g[k+(f*24|0)>>2];I=+g[k+(ca*24|0)+4>>2];u=I-+g[k+(f*24|0)+4>>2];W=+g[k+(ca*24|0)+8>>2];J=W-+g[k+(f*24|0)+8>>2];if((L*(I-q)-u*(K-p))*D+(F*(u*(W-r)-J*(I-q))+E*(J*(K-p)-L*(W-r)))>0.0)break;if((o|0)>2){l=f;o=f}else{l=f;f=y;o=1;break l}}do if((o|0)==(y|0)){f=y<<1;if((y|0)>=(f|0)){f=y;o=y;break}c[7182]=(c[7182]|0)+1;n=xb((y*48|3)+16|0)|0;if(!n)o=0;else{c[(n+4+15&-16)+-4>>2]=n;o=n+4+15&-16}if((l|0)>0){n=0;do{ca=o+(n*24|0)|0;Z=k+(n*24|0)|0;c[ca>>2]=c[Z>>2];c[ca+4>>2]=c[Z+4>>2];c[ca+8>>2]=c[Z+8>>2];c[ca+12>>2]=c[Z+12>>2];c[ca+16>>2]=c[Z+16>>2];c[ca+20>>2]=c[Z+20>>2];n=n+1|0}while((n|0)!=(l|0))}c[7183]=(c[7183]|0)+1;Hc(c[k+-4>>2]|0);n=c[O>>2]|0;k=o;o=l}else f=y;while(0);o=k+(o*24|0)|0;c[o>>2]=c[v>>2];c[o+4>>2]=c[v+4>>2];c[o+8>>2]=c[v+8>>2];c[o+12>>2]=c[v+12>>2];c[o+16>>2]=c[v+16>>2];c[o+20>>2]=c[v+20>>2];o=l+1|0;l=o}else f=y;while(0);z=z+1|0;if((z|0)==(n|0))break;else y=f}if((l|0)>0)ca=289;else ca=291}while(0);if((ca|0)==289){ca=0;H=0;o=c[ia+48+4>>2]|0;n=c[ia+48+8>>2]|0;y=a[ia+48+16>>0]|0;while(1){G=k+(H*24|0)+20|0;do if((o|0)==(n|0)){B=(n|0)==0?1:n<<1;if((n|0)>=(B|0)){C=y;o=n;B=n;break}do if(!B)v=0;else{c[7182]=(c[7182]|0)+1;o=xb((B<<2|3)+16|0)|0;if(!o){v=0;break}c[(o+4+15&-16)+-4>>2]=o;v=o+4+15&-16}while(0);f=c[P>>2]|0;if((n|0)<=0){if(f)ca=321}else{o=0;do{c[v+(o<<2)>>2]=c[f+(o<<2)>>2];o=o+1|0}while((o|0)!=(n|0));ca=321}if((ca|0)==321){ca=0;if(y<<24>>24){c[7183]=(c[7183]|0)+1;Hc(c[f+-4>>2]|0)}c[P>>2]=0;n=c[ia+48+4>>2]|0}c[P>>2]=v;c[ia+48+8>>2]=B;C=1;o=n}else{C=y;B=n}while(0);c[(c[P>>2]|0)+(o<<2)>>2]=c[G>>2];o=o+1|0;c[ia+48+4>>2]=o;n=c[O>>2]|0;m:do if((n|0)>0){z=c[N>>2]|0;v=c[G>>2]|0;f=0;while(1){y=z+(f*24|0)+20|0;f=f+1|0;if((c[y>>2]|0)==(v|0))break;if((f|0)>=(n|0))break m}c[y>>2]=-1}while(0);H=H+1|0;if((H|0)>=(l|0))break;else{n=B;y=C}}a[ia+48+16>>0]=C;ca=291}n:do if((ca|0)==291){ca=0;if((n|0)>0){z=c[N>>2]|0;B=c[_>>2]|0;C=c[aa>>2]|0;G=(A|0)>0;if((B|0)<=0){ca=331;break}y=0;while(1){H=c[z+(y*24|0)+20>>2]|0;o:do if((H|0)!=-1){if(!G){o=0;while(1){f=c[C+(o*36|0)+4>>2]|0;if((f|0)>0){v=c[C+(o*36|0)+12>>2]|0;l=0;do{if((c[v+(l<<2)>>2]|0)==(H|0)){l=1;break n}l=l+1|0}while((l|0)<(f|0))}o=o+1|0;if((o|0)>=(B|0))break o}}v=0;do{l=0;while(1){if((c[i+(l<<2)>>2]|0)==(v|0))break;l=l+1|0;if((l|0)>=(A|0)){ca=306;break}}do if((ca|0)==306){ca=0;o=c[C+(v*36|0)+4>>2]|0;if((o|0)<=0)break;f=c[C+(v*36|0)+12>>2]|0;l=0;do{if((c[f+(l<<2)>>2]|0)==(H|0)){l=1;break n}l=l+1|0}while((l|0)<(o|0))}while(0);v=v+1|0}while((v|0)<(B|0))}while(0);y=y+1|0;if((y|0)>=(n|0)){ca=331;break}}}else ca=331}while(0);if((ca|0)==331){ca=0;yg((c[d+52>>2]|0)+24|0,ia+48|0);l=0}if(k|0){c[7183]=(c[7183]|0)+1;Hc(c[k+-4>>2]|0)}k=c[P>>2]|0;if(k|0){if(a[ia+48+16>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[k+-4>>2]|0)}c[P>>2]=0}k=c[N>>2]|0;if(k|0){if(a[ia+84+16>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[k+-4>>2]|0)}c[N>>2]=0}if(l&(A|0)>0){k=M;ca=344}else k=M}else{k=n;i=n;A=1;h=o;ca=344}while(0);if((ca|0)==344){ca=0;v=0;do{y=c[i+(v<<2)>>2]|0;z=c[aa>>2]|0;a[ia+16>>0]=1;c[ia+12>>2]=0;c[ia+4>>2]=0;c[ia+8>>2]=0;f=c[z+(y*36|0)+4>>2]|0;if((f|0)>0){c[7182]=(c[7182]|0)+1;n=xb((f<<2|3)+16|0)|0;do if(!n){l=0;o=0}else{c[(n+4+15&-16)+-4>>2]=n;l=c[ia+12>>2]|0;if((l|0)==0|(a[ia+16>>0]|0)==0){l=n+4+15&-16;o=n+4+15&-16;break}c[7183]=(c[7183]|0)+1;Hc(c[l+-4>>2]|0);l=n+4+15&-16;o=n+4+15&-16}while(0);a[ia+16>>0]=1;c[ia+12>>2]=l;c[ia+8>>2]=f;mk(l|0,0,f<<2|0)|0;c[ia+4>>2]=f;n=c[z+(y*36|0)+12>>2]|0;l=0;do{c[o+(l<<2)>>2]=c[n+(l<<2)>>2];l=l+1|0}while((l|0)!=(f|0));l=c[ia+12>>2]|0}else{c[ia+4>>2]=f;l=0}c[ia+20>>2]=c[z+(y*36|0)+20>>2];c[ia+20+4>>2]=c[z+(y*36|0)+20+4>>2];c[ia+20+8>>2]=c[z+(y*36|0)+20+8>>2];c[ia+20+12>>2]=c[z+(y*36|0)+20+12>>2];yg((c[d+52>>2]|0)+24|0,ia);if(l|0){if(a[ia+16>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[l+-4>>2]|0)}c[ia+12>>2]=0}v=v+1|0}while((v|0)<(A|0))}if(!((i|0)==0|(k|0)==0)){c[7183]=(c[7183]|0)+1;Hc(c[k+-4>>2]|0)}if(!h){Z=Q;Y=m;break i}}}else{Z=0;Y=0}while(0);X=c[d+52>>2]|0;c[X+64>>2]=0;c[X+64+4>>2]=0;c[X+64+8>>2]=0;c[X+64+12>>2]=0;h=c[X+28>>2]|0;if((h|0)>0){V=0;v=0;i=0;k=0;H=0;C=0;o=0;l=0;G=0;f=0;m=0;A=0;z=0;y=0;n=0;while(1){B=c[X+36>>2]|0;U=c[B+(V*36|0)+4>>2]|0;if((U|0)>0){T=V&65535;S=V|-65536;N=0;d=H;O=f;h=B;M=n;while(1){R=N+1|0;P=c[h+(V*36|0)+12>>2]|0;f=c[P+(N<<2)>>2]&65535;N=c[P+(((R|0)==(U|0)?0:R)<<2)>>2]&65535;P=N<<16>>16>f<<16>>16?f:N;Q=N<<16>>16>f<<16>>16?N:f;n=N<<16>>16>f<<16>>16?f:N;f=N<<16>>16>f<<16>>16?N:f;N=O+-1|0;p:do if((((n&65535)<<16)+(f<<16>>16)&N)>>>0>>0?(da=c[k+((((n&65535)<<16)+(f<<16>>16)&N)<<2)>>2]|0,(da|0)!=-1):0){h=da;while(1){if(f<<16>>16==(b[i+(h<<2)>>1]|0)?n<<16>>16==(b[i+(h<<2)+2>>1]|0):0)break;h=c[l+(h<<2)>>2]|0;if((h|0)==-1){H=0;break p}}H=m+(h<<2)|0}else H=0;while(0);h=c[X+16>>2]|0;u=+g[h+(n<<16>>16<<4)>>2]-+g[h+(f<<16>>16<<4)>>2];D=+g[h+(n<<16>>16<<4)+4>>2]-+g[h+(f<<16>>16<<4)+4>>2];s=+g[h+(n<<16>>16<<4)+8>>2]-+g[h+(f<<16>>16<<4)+8>>2];t=1.0/+x(+(u*u+D*D+s*s));h=c[X+48>>2]|0;q:do if((h|0)>0){f=c[X+56>>2]|0;n=0;while(1){p=+g[f+(n<<4)>>2];q=+g[f+(n<<4)+4>>2];r=+g[f+(n<<4)+8>>2];do if(!(+w(+(p-u*t))>1.0e-06)){if(+w(+(q-D*t))>1.0e-06)break;if(!(+w(+(r-s*t))>1.0e-06))break q}while(0);do if(!(+w(+(u*t+p))>1.0e-06)){if(+w(+(D*t+q))>1.0e-06)break;if(!(+w(+(s*t+r))>1.0e-06))break q}while(0);n=n+1|0;if((n|0)>=(h|0)){ca=387;break}}}else ca=387;while(0);if((ca|0)==387){ca=0;do if((h|0)==(c[X+52>>2]|0)){B=(h|0)==0?1:h<<1;if((h|0)>=(B|0))break;if(!B)f=0;else{c[7182]=(c[7182]|0)+1;h=xb((B<<4|3)+16|0)|0;if(!h)h=0;else{c[(h+4+15&-16)+-4>>2]=h;h=h+4+15&-16}f=h;h=c[X+48>>2]|0}if((h|0)>0){n=0;do{ja=f+(n<<4)|0;ka=(c[X+56>>2]|0)+(n<<4)|0;c[ja>>2]=c[ka>>2];c[ja+4>>2]=c[ka+4>>2];c[ja+8>>2]=c[ka+8>>2];c[ja+12>>2]=c[ka+12>>2];n=n+1|0}while((n|0)!=(h|0))}h=c[X+56>>2]|0;if(h|0){if(a[X+60>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[h+-4>>2]|0)}c[X+56>>2]=0}a[X+60>>0]=1;c[X+56>>2]=f;c[X+52>>2]=B;h=c[X+48>>2]|0}while(0);ka=c[X+56>>2]|0;g[ka+(h<<4)>>2]=u*t;g[ka+(h<<4)+4>>2]=D*t;g[ka+(h<<4)+8>>2]=s*t;g[ka+(h<<4)+12>>2]=0.0;c[X+48>>2]=(c[X+48>>2]|0)+1}r:do if(!H){H=((P&65535)<<16)+(Q<<16>>16)&N;s:do if(H>>>0>>0){h=c[k+(H<<2)>>2]|0;if((h|0)==-1)break;while(1){if(Q<<16>>16==(b[i+(h<<2)>>1]|0)?P<<16>>16==(b[i+(h<<2)+2>>1]|0):0)break;h=c[l+(h<<2)>>2]|0;if((h|0)==-1)break s}B=m+(h<<2)|0;b[B>>1]=S;b[B+2>>1]=S>>>16;B=d;f=O;h=A;n=M;break r}while(0);do if((G|0)==(O|0)){f=(G|0)==0?1:G<<1;if((G|0)>=(f|0)){f=G;break}do if(!f)n=0;else{c[7182]=(c[7182]|0)+1;h=xb((f<<2|3)+16|0)|0;if(!h){n=0;break}c[(h+4+15&-16)+-4>>2]=h;n=h+4+15&-16}while(0);if((G|0)<=0){if(!m){m=n;break}}else{h=0;do{ka=n+(h<<2)|0;ja=m+(h<<2)|0;ja=e[ja>>1]|e[ja+2>>1]<<16;b[ka>>1]=ja;b[ka+2>>1]=ja>>>16;h=h+1|0}while((h|0)!=(G|0))}c[7183]=(c[7183]|0)+1;Hc(c[m+-4>>2]|0);m=n}else f=O;while(0);N=m+(G<<2)|0;b[N>>1]=S;b[N+2>>1]=S>>>16;N=G+1|0;do if((z|0)==(v|0)){v=(z|0)==0?1:z<<1;if((z|0)>=(v|0)){v=z;break}do if(!v)n=0;else{c[7182]=(c[7182]|0)+1;h=xb((v<<2|3)+16|0)|0;if(!h){n=0;break}c[(h+4+15&-16)+-4>>2]=h;n=h+4+15&-16}while(0);if((z|0)<=0){if(!i){i=n;break}}else{h=0;do{ka=n+(h<<2)|0;ja=i+(h<<2)|0;ja=e[ja>>1]|e[ja+2>>1]<<16;b[ka>>1]=ja;b[ka+2>>1]=ja>>>16;h=h+1|0}while((h|0)!=(z|0))}c[7183]=(c[7183]|0)+1;Hc(c[i+-4>>2]|0);i=n}while(0);ka=i+(z<<2)|0;b[ka>>1]=(P&65535)<<16|Q&65535;b[ka+2>>1]=((P&65535)<<16|Q&65535)>>>16;z=z+1|0;if((O|0)<(f|0)){do if((d|0)<(f|0)){do if((A|0)<(f|0)){do if(!f)n=0;else{c[7182]=(c[7182]|0)+1;h=xb((f<<2|3)+16|0)|0;if(!h){n=0;break}c[(h+4+15&-16)+-4>>2]=h;n=h+4+15&-16}while(0);if((d|0)<=0){if(!k){k=n;H=f;M=n;break}}else{h=0;do{c[n+(h<<2)>>2]=c[k+(h<<2)>>2];h=h+1|0}while((h|0)!=(d|0))}c[7183]=(c[7183]|0)+1;Hc(c[k+-4>>2]|0);k=n;H=f;M=n}else H=A;while(0);A=f<<2;mk(k+(d<<2)|0,0,A-(d<<2)|0)|0;if((C|0)<(f|0)){do if((o|0)<(f|0)){do if(!f)n=0;else{c[7182]=(c[7182]|0)+1;h=xb((A|3)+16|0)|0;if(!h){n=0;break}c[(h+4+15&-16)+-4>>2]=h;n=h+4+15&-16}while(0);if((C|0)<=0){if(!l){o=f;l=n;h=n;break}}else{h=0;do{c[n+(h<<2)>>2]=c[l+(h<<2)>>2];h=h+1|0}while((h|0)!=(C|0))}c[7183]=(c[7183]|0)+1;Hc(c[l+-4>>2]|0);o=f;l=n;h=n}else h=y;while(0);mk(l+(C<<2)|0,0,A-(C<<2)|0)|0;y=h}if((f|0)>0){mk(M|0,-1,A|0)|0;mk(y|0,-1,A|0)|0}if((d|0)<=0){B=f;C=f;h=H;n=M;break}n=f+-1|0;h=0;do{ka=k+(((e[i+(h<<2)+2>>1]<<16)+(b[i+(h<<2)>>1]|0)&n)<<2)|0;c[l+(h<<2)>>2]=c[ka>>2];c[ka>>2]=h;h=h+1|0}while((h|0)!=(d|0));B=f;C=f;h=H;n=M}else{B=d;h=A;n=M}while(0);H=((P&65535)<<16)+(Q<<16>>16)&f+-1}else{B=d;h=A;n=M}ka=k+(H<<2)|0;c[l+(G<<2)>>2]=c[ka>>2];c[ka>>2]=G;G=N}else{b[H+2>>1]=T;B=d;f=O;h=A;n=M}while(0);if((R|0)>=(U|0))break;N=R;d=B;O=f;A=h;h=c[X+36>>2]|0;M=n}A=h;h=c[X+28>>2]|0}else B=H;V=V+1|0;if((V|0)>=(h|0))break;else H=B}if((h|0)>0){z=c[X+36>>2]|0;A=c[X+16>>2]|0;y=0;p=0.0;do{o=c[z+(y*36|0)+4>>2]|0;f=c[z+(y*36|0)+12>>2]|0;v=c[f>>2]|0;if((o|0)>=3){n=1;q=+g[X+64>>2];r=+g[X+68>>2];s=+g[X+72>>2];do{ja=c[f+(n<<2)>>2]|0;n=n+1|0;ka=c[f+(((n|0)%(o|0)|0)<<2)>>2]|0;t=+g[A+(v<<4)>>2];u=+g[A+(ja<<4)>>2];E=+g[A+(v<<4)+4>>2];F=+g[A+(ja<<4)+4>>2];J=+g[A+(v<<4)+8>>2];K=+g[A+(ja<<4)+8>>2];D=+g[A+(ka<<4)>>2];I=+g[A+(ka<<4)+4>>2];L=+g[A+(ka<<4)+8>>2];W=+x(+(((t-u)*(E-I)-(E-F)*(t-D))*((t-u)*(E-I)-(E-F)*(t-D))+(((E-F)*(J-L)-(J-K)*(E-I))*((E-F)*(J-L)-(J-K)*(E-I))+((J-K)*(t-D)-(t-u)*(J-L))*((J-K)*(t-D)-(t-u)*(J-L)))))*.5;q=q+(t+u+D)*.3333333432674408*W;g[X+64>>2]=q;r=r+(E+F+I)*.3333333432674408*W;g[X+68>>2]=r;s=s+(J+K+L)*.3333333432674408*W;g[X+72>>2]=s;p=p+W}while((n|0)!=(o+-1|0))}y=y+1|0}while((y|0)!=(h|0));n=X+64|0;f=i;o=k;i=1}else ca=365}else{i=0;k=0;l=0;m=0;ca=365}if((ca|0)==365){p=0.0;n=X+64|0;f=i;o=k;i=0}s=1.0/p;t=s*+g[n>>2];g[n>>2]=t;r=s*+g[X+68>>2];g[X+68>>2]=r;s=s*+g[X+72>>2];g[X+72>>2]=s;g[X+96>>2]=3402823466385288598117041.0e14;if(i){k=c[X+36>>2]|0;i=0;q=3402823466385288598117041.0e14;while(1){p=+w(+(+g[k+(i*36|0)+32>>2]+(t*+g[k+(i*36|0)+20>>2]+r*+g[k+(i*36|0)+24>>2]+s*+g[k+(i*36|0)+28>>2])));if(p>2]=p;else p=q;i=i+1|0;if((i|0)==(h|0)){D=p;break}else q=p}}else D=3402823466385288598117041.0e14;i=c[X+8>>2]|0;if((i|0)>0){k=c[X+16>>2]|0;h=0;t=-3402823466385288598117041.0e14;u=-3402823466385288598117041.0e14;s=-3402823466385288598117041.0e14;r=3402823466385288598117041.0e14;q=3402823466385288598117041.0e14;p=3402823466385288598117041.0e14;do{W=+g[k+(h<<4)>>2];p=Ws?W:s;W=+g[k+(h<<4)+4>>2];q=Wu?W:u;W=+g[k+(h<<4)+8>>2];r=Wt?W:t;h=h+1|0}while((h|0)!=(i|0))}else{t=-3402823466385288598117041.0e14;u=-3402823466385288598117041.0e14;s=-3402823466385288598117041.0e14;r=3402823466385288598117041.0e14;q=3402823466385288598117041.0e14;p=3402823466385288598117041.0e14}g[X+100>>2]=p+s;g[X+104>>2]=q+u;g[X+108>>2]=r+t;g[X+112>>2]=0.0;W=s-p;q=u-q;p=t-r;g[X+116>>2]=W;g[X+120>>2]=q;g[X+124>>2]=p;g[X+128>>2]=0.0;r=D/1.7320507764816284;n=W>2]*.5-r)*.0009765625;g[X+88>>2]=r;g[X+84>>2]=r;g[X+80>>2]=r;q=+g[X+116+(n<<2)>>2]*.5;g[X+80+(n<<2)>>2]=q;h=0;while(1){if(qg(X)|0){ca=478;break}q=q-p;g[X+80+(n<<2)>>2]=q;h=h+1|0;if(h>>>0>=1024){ca=477;break}}t:do if((ca|0)==477){g[X+88>>2]=r;g[X+84>>2]=r;g[X+80>>2]=r}else if((ca|0)==478){p=(+g[X+96>>2]-r)*.0009765625;h=0;k=c[X+80+((1<<(1<>2]|0;while(1){i=c[X+80+((1<>2]|0;g[X+80+((1<>2]=p+(c[j>>2]=i,+g[j>>2]);q=p+ +g[X+80+((1<<(1<>2];g[X+80+((1<<(1<>2]=q;h=h+1|0;if(!(qg(X)|0))break;if(h>>>0>=1024)break t;else k=(g[j>>2]=q,c[j>>2]|0)}c[X+80+((1<>2]=i;c[X+80+((1<<(1<>2]=k}while(0);if(f|0){c[7183]=(c[7183]|0)+1;Hc(c[f+-4>>2]|0)}if(m|0){c[7183]=(c[7183]|0)+1;Hc(c[m+-4>>2]|0)}if(l|0){c[7183]=(c[7183]|0)+1;Hc(c[l+-4>>2]|0)}if(o|0){c[7183]=(c[7183]|0)+1;Hc(c[o+-4>>2]|0)}if(!((Y|0)==0|(Z|0)==0)){c[7183]=(c[7183]|0)+1;Hc(c[Z+-4>>2]|0)}n=c[_>>2]|0;o=c[aa>>2]|0;if((n|0)<=0){if(o|0)ca=500}else{h=0;do{k=o+(h*36|0)+4|0;l=o+(h*36|0)+12|0;m=c[l>>2]|0;i=o+(h*36|0)+16|0;if(m|0){if(a[i>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[m+-4>>2]|0)}c[l>>2]=0}a[i>>0]=1;c[l>>2]=0;c[k>>2]=0;c[o+(h*36|0)+8>>2]=0;h=h+1|0}while((h|0)!=(n|0));ca=500}if((ca|0)==500){if(a[ia+104+16>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[o+-4>>2]|0)}c[aa>>2]=0}if(!((ba|0)==0|($|0)==0)){c[7183]=(c[7183]|0)+1;Hc(c[$+-4>>2]|0)}h=c[ea>>2]|0;if(h|0){if(a[ia+124+56>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[h+-4>>2]|0)}c[ea>>2]=0}a[ia+124+56>>0]=1;c[ea>>2]=0;c[ia+124+44>>2]=0;c[ia+124+48>>2]=0;h=c[fa>>2]|0;if(h|0){if(a[ia+124+36>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[h+-4>>2]|0)}c[fa>>2]=0}a[ia+124+36>>0]=1;c[fa>>2]=0;c[ia+124+24>>2]=0;c[ia+124+28>>2]=0;h=c[ga>>2]|0;if(h|0){if(a[ia+124+16>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[h+-4>>2]|0)}c[ga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=I-+g[b+48>>2];B=L-+g[b+52>>2];C=N-+g[b+56>>2];l=1.0-(D*n+F*p+E*r)*(D*n+F*p+E*r);if(!(l==0.0)){l=(D*v+F*B+E*C-(D*n+F*p+E*r)*(n*v+p*B+r*C))/l;if(!(l<-s)){if(l>s)l=s}else l=-s}else l=0.0;m=(D*n+F*p+E*r)*l-(n*v+p*B+r*C);if(m<-o){l=(D*n+F*p+E*r)*-o+(D*v+F*B+E*C);if(!(l<-s))if(l>s){m=-o;l=s}else m=-o;else{m=-o;l=-s}}else if(m>o){l=o*(D*n+F*p+E*r)+(D*v+F*B+E*C);if(!(l<-s))if(l>s){m=o;l=s}else m=o;else{m=o;l=-s}}u=n*m;s=p*m;r=r*m;m=u+(v-D*l);o=s+(B-F*l);l=r+(C-E*l);p=+x(+(l*l+(m*m+o*o)));if(!(p-P-O>Q)){do if(l*l+(m*m+o*o)<=1.4210854715202004e-14)if(+w(+E)>.7071067690849304){l=1.0/+x(+(F*F+E*E));g[wa+280>>2]=0.0;g[wa+280+4>>2]=-(E*l);g[wa+280+8>>2]=F*l;n=0.0;m=-(E*l);l=F*l;break}else{m=1.0/+x(+(D*D+F*F));g[wa+280>>2]=-(F*m);g[wa+280+4>>2]=D*m;g[wa+280+8>>2]=0.0;n=-(F*m);m=D*m;l=0.0;break}else{g[wa+280>>2]=m*-(1.0/p);g[wa+280+4>>2]=o*-(1.0/p);g[wa+280+8>>2]=l*-(1.0/p);g[wa+280+12>>2]=0.0;n=m*-(1.0/p);m=o*-(1.0/p);l=l*-(1.0/p)}while(0);g[wa+264>>2]=I+u+O*n;g[wa+264+4>>2]=L+s+O*m;g[wa+264+8>>2]=N+r+O*l;g[wa+264+12>>2]=0.0}if(p-P-O>2]|0)+16>>2]&15](h,wa+280|0,wa+264|0,p-P-O);i=c[h+4>>2]|0;if(!(c[i+748>>2]|0)){sa=wa;return}j=c[i+740>>2]|0;k=c[(c[h+8>>2]|0)+8>>2]|0;if((j|0)==(k|0)){re(i,j+4|0,(c[(c[h+12>>2]|0)+8>>2]|0)+4|0);sa=wa;return}else{re(i,(c[(c[h+12>>2]|0)+8>>2]|0)+4|0,k+4|0);sa=wa;return}}g[wa+128+128>>2]=999999984306749440.0;i=c[b+8>>2]|0;t=c[b+12>>2]|0;c[wa+48>>2]=12116;c[wa+48+4>>2]=0;c[wa+48+8>>2]=1065353216;c[wa+48+12>>2]=0;g[wa+48+16>>2]=0.0;c[wa+48+20>>2]=t;c[wa+48+24>>2]=i;c[wa+48+28>>2]=ra;c[wa+48+32>>2]=ta;c[wa+48+36>>2]=j;c[wa+48+40>>2]=k;g[wa+48+44>>2]=+va[c[(c[ra>>2]|0)+48>>2]&15](ra);g[wa+48+48>>2]=+va[c[(c[ta>>2]|0)+48>>2]&15](ta);a[wa+48+52>>0]=0;c[wa+48+60>>2]=-1;c[wa+48+72>>2]=1;c[wa+48+76>>2]=1;c[wa+48+28>>2]=ra;c[wa+48+32>>2]=ta;oa=+va[c[(c[ra>>2]|0)+48>>2]&15](ra);qa=+va[c[(c[ta>>2]|0)+48>>2]&15](ta);qa=oa+qa+ +g[(c[b+20>>2]|0)+752>>2];g[wa+128+128>>2]=qa*qa;i=c[d+12>>2]|0;c[wa+128>>2]=c[i>>2];c[wa+128+4>>2]=c[i+4>>2];c[wa+128+8>>2]=c[i+8>>2];c[wa+128+12>>2]=c[i+12>>2];k=wa+128+16|0;c[k>>2]=c[i+16>>2];c[k+4>>2]=c[i+16+4>>2];c[k+8>>2]=c[i+16+8>>2];c[k+12>>2]=c[i+16+12>>2];t=wa+128+32|0;c[t>>2]=c[i+32>>2];c[t+4>>2]=c[i+32+4>>2];c[t+8>>2]=c[i+32+8>>2];c[t+12>>2]=c[i+32+12>>2];y=wa+128+48|0;c[y>>2]=c[i+48>>2];c[y+4>>2]=c[i+48+4>>2];c[y+8>>2]=c[i+48+8>>2];c[y+12>>2]=c[i+48+12>>2];i=c[e+12>>2]|0;G=wa+128+64|0;c[G>>2]=c[i>>2];c[G+4>>2]=c[i+4>>2];c[G+8>>2]=c[i+8>>2];c[G+12>>2]=c[i+12>>2];H=wa+128+80|0;c[H>>2]=c[i+16>>2];c[H+4>>2]=c[i+16+4>>2];c[H+8>>2]=c[i+16+8>>2];c[H+12>>2]=c[i+16+12>>2];J=wa+128+96|0;c[J>>2]=c[i+32>>2];c[J+4>>2]=c[i+32+4>>2];c[J+8>>2]=c[i+32+8>>2];c[J+12>>2]=c[i+32+12>>2];K=wa+128+112|0;c[K>>2]=c[i+48>>2];c[K+4>>2]=c[i+48+4>>2];c[K+8>>2]=c[i+48+8>>2];c[K+12>>2]=c[i+48+12>>2];i=c[ra+4>>2]|0;if((i|0)<7?(q=c[ta+4>>2]|0,(q|0)<7):0){c[wa+40>>2]=8888;if(!i){i=q;m=0.0}else{m=+va[c[(c[ra>>2]|0)+48>>2]&15](ra);i=c[ta+4>>2]|0}if(!i)l=0.0;else l=+va[c[(c[ta>>2]|0)+48>>2]&15](ta);c[wa>>2]=8916;c[wa+4>>2]=h;g[wa+24>>2]=m;g[wa+28>>2]=l;a[wa+36>>0]=0;T=c[ra+52>>2]|0;a:do if(T|0){la=c[ta+52>>2]|0;do if(!la){if((c[ta+4>>2]|0)!=1)break a;y=wa+624+16|0;a[y>>0]=1;G=wa+624+12|0;c[G>>2]=0;t=wa+624+4|0;c[t>>2]=0;q=wa+624+8|0;c[q>>2]=0;i=c[e+12>>2]|0;oa=+g[ta+56>>2];qa=+g[ta+56+4>>2];m=+g[ta+56+8>>2];n=oa*+g[i>>2]+qa*+g[i+4>>2]+m*+g[i+8>>2]+ +g[i+48>>2];l=oa*+g[i+16>>2]+qa*+g[i+20>>2]+m*+g[i+24>>2]+ +g[i+52>>2];m=oa*+g[i+32>>2]+qa*+g[i+36>>2]+m*+g[i+40>>2]+ +g[i+56>>2];c[7182]=(c[7182]|0)+1;i=xb(35)|0;if(!i)j=0;else{c[(i+4+15&-16)+-4>>2]=i;j=i+4+15&-16}i=c[G>>2]|0;if(!i)i=0;else{c[7183]=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[ta+56+40>>2];l=oa*+g[ua>>2]+qa*+g[ua+4>>2]+n*+g[ua+8>>2]+ +g[ua+48>>2];m=oa*+g[ua+16>>2]+qa*+g[ua+20>>2]+n*+g[ua+24>>2]+ +g[ua+52>>2];n=oa*+g[ua+32>>2]+qa*+g[ua+36>>2]+n*+g[ua+40>>2]+ +g[ua+56>>2];if((i|0)==(c[q>>2]|0)?(R=(i|0)==0?1:i<<1,(i|0)<(R|0)):0){if(!R)k=0;else{c[7182]=(c[7182]|0)+1;i=xb((R<<4|3)+16|0)|0;if(!i)i=0;else{c[(i+4+15&-16)+-4>>2]=i;i=i+4+15&-16}k=i;i=c[t>>2]|0}if((i|0)>0){j=0;do{ua=k+(j<<4)|0;e=(c[G>>2]|0)+(j<<4)|0;c[ua>>2]=c[e>>2];c[ua+4>>2]=c[e+4>>2];c[ua+8>>2]=c[e+8>>2];c[ua+12>>2]=c[e+12>>2];j=j+1|0}while((j|0)!=(i|0))}i=c[G>>2]|0;if(i|0){if(a[y>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[i+-4>>2]|0)}c[G>>2]=0}a[y>>0]=1;c[G>>2]=k;c[q>>2]=R;i=c[t>>2]|0}ua=c[G>>2]|0;g[ua+(i<<4)>>2]=l;g[ua+(i<<4)+4>>2]=m;g[ua+(i<<4)+8>>2]=n;g[ua+(i<<4)+12>>2]=0.0;c[t>>2]=(c[t>>2]|0)+1;o=+g[(c[b+20>>2]|0)+752>>2];Ub(wa+48|0,wa+128|0,wa+40|0,c[f+20>>2]|0,0);l=+g[wa+48+4>>2];m=+g[wa+48+8>>2];n=+g[wa+48+12>>2];if(l*l+m*m+n*n>1.1920928955078125e-07){oa=1.0/(l*l+m*m+n*n);g[wa+384>>2]=l*oa;g[wa+384+4>>2]=m*oa;g[wa+384+8>>2]=n*oa;g[wa+384+12>>2]=0.0;oa=+g[wa+48+56>>2];qa=+va[c[(c[ra>>2]|0)+48>>2]&15](ra);qa=oa-qa-+va[c[(c[ta>>2]|0)+48>>2]&15](ta);Tb(wa+384|0,c[ra+52>>2]|0,c[d+12>>2]|0,wa+624|0,qa-o,o,h)}do if(a[b+16>>0]|0?(S=c[h+4>>2]|0,c[S+748>>2]|0):0){i=c[S+740>>2]|0;j=c[(c[h+8>>2]|0)+8>>2]|0;if((i|0)==(j|0)){re(S,i+4|0,(c[(c[h+12>>2]|0)+8>>2]|0)+4|0);break}else{re(S,(c[(c[h+12>>2]|0)+8>>2]|0)+4|0,j+4|0);break}}while(0);i=c[G>>2]|0;if(i|0){if(a[y>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[i+-4>>2]|0)}c[G>>2]=0}}else{qa=+g[(c[b+20>>2]|0)+752>>2];b:do if(!(a[f+24>>0]|0)){Ub(wa+48|0,wa+128|0,wa,c[f+20>>2]|0,0);l=+g[wa+32>>2];if(l<0.0&(a[wa+36>>0]|0)!=0){m=+g[wa+8>>2];n=+g[wa+12>>2];o=+g[wa+16>>2];i=c[wa+20>>2]|0;pa=112}}else{G=c[d+12>>2]|0;H=c[e+12>>2]|0;c[7165]=(c[7165]|0)+1;ga=+g[T+64>>2];ha=+g[T+68>>2];p=+g[G+4>>2];ia=+g[T+72>>2];r=+g[G+8>>2];u=+g[G+16>>2];B=+g[G+20>>2];D=+g[G+24>>2];E=+g[G+32>>2];C=+g[G+36>>2];v=+g[G+40>>2];ja=+g[la+64>>2];ka=+g[la+68>>2];oa=+g[la+72>>2];ma=ga*+g[G>>2]+ha*p+ia*r+ +g[G+48>>2]-(ja*+g[H>>2]+ka*+g[H+4>>2]+oa*+g[H+8>>2]+ +g[H+48>>2]);na=ga*u+ha*B+ia*D+ +g[G+52>>2]-(ja*+g[H+16>>2]+ka*+g[H+20>>2]+oa*+g[H+24>>2]+ +g[H+52>>2]);oa=ga*E+ha*C+ia*v+ +g[G+56>>2]-(ja*+g[H+32>>2]+ka*+g[H+36>>2]+oa*+g[H+40>>2]+ +g[H+56>>2]);k=c[T+28>>2]|0;c:do if((k|0)>0){l=3402823466385288598117041.0e14;i=0;s=0.0;m=0.0;n=0.0;o=0.0;F=u;while(1){f=c[T+36>>2]|0;ia=+g[f+(i*36|0)+20>>2];ja=+g[f+(i*36|0)+24>>2];ka=+g[f+(i*36|0)+28>>2];u=ia*+g[G>>2]+ja*p+ka*r;r=ia*F+ja*B+ka*D;p=ia*E+ja*C+ka*v;g[wa+296>>2]=u;g[wa+296+4>>2]=r;g[wa+296+8>>2]=p;g[wa+296+12>>2]=0.0;if(u*ma+r*na+p*oa<0.0){g[wa+296>>2]=-u;g[wa+296+4>>2]=-r;g[wa+296+8>>2]=-p;D=-u;r=-r;p=-p}else D=u;c[7163]=(c[7163]|0)+1;if(Vh(G,H,ma,na,oa,D,r,p,T,la,l)|0){c[7164]=(c[7164]|0)+1;rg(T,G,wa+296|0,wa+624|0,wa+384|0,wa+360|0,wa+344|0);rg(la,H,wa+296|0,wa+380|0,wa+376|0,wa+328|0,wa+312|0);u=+g[wa+384>>2];v=+g[wa+380>>2];do if(u>2];C=+g[wa+624>>2];if(B=(k|0))break c;p=+g[G+4>>2];r=+g[G+8>>2];F=+g[G+16>>2];B=+g[G+20>>2];D=+g[G+24>>2];E=+g[G+32>>2];C=+g[G+36>>2];v=+g[G+40>>2]}break b}else{l=3402823466385288598117041.0e14;m=0.0;n=0.0;o=0.0}while(0);k=c[la+28>>2]|0;d:do if((k|0)>0){j=0;u=0.0;while(1){f=c[la+36>>2]|0;ja=+g[f+(j*36|0)+20>>2];ka=+g[f+(j*36|0)+24>>2];s=+g[f+(j*36|0)+28>>2];p=ja*+g[H>>2]+ka*+g[H+4>>2]+s*+g[H+8>>2];r=ja*+g[H+16>>2]+ka*+g[H+20>>2]+s*+g[H+24>>2];s=ja*+g[H+32>>2]+ka*+g[H+36>>2]+s*+g[H+40>>2];g[wa+296>>2]=p;g[wa+296+4>>2]=r;g[wa+296+8>>2]=s;g[wa+296+12>>2]=0.0;if(p*ma+r*na+s*oa<0.0){g[wa+296>>2]=-p;g[wa+296+4>>2]=-r;g[wa+296+8>>2]=-s;p=-p;r=-r;s=-s}c[7163]=(c[7163]|0)+1;if(Vh(G,H,ma,na,oa,p,r,s,T,la,l)|0){c[7164]=(c[7164]|0)+1;rg(T,G,wa+296|0,wa+624|0,wa+384|0,wa+360|0,wa+344|0);rg(la,H,wa+296|0,wa+380|0,wa+376|0,wa+328|0,wa+312|0);v=+g[wa+384>>2];B=+g[wa+380>>2];do if(v>2];D=+g[wa+624>>2];if(C=(k|0))break d}break b}while(0);k=c[T+48>>2]|0;e:do if((k|0)>0){y=0;j=-1;i=-1;s=0.0;C=0.0;U=0.0;V=0.0;D=0.0;E=0.0;Q=0.0;P=0.0;r=0.0;B=0.0;O=0.0;p=0.0;v=0.0;L=0.0;N=0.0;W=0.0;u=0.0;F=0.0;I=0.0;q=c[la+48>>2]|0;f:while(1){f=c[T+56>>2]|0;ga=+g[f+(y<<4)>>2];ha=+g[f+(y<<4)+4>>2];ka=+g[f+(y<<4)+8>>2];ia=ga*+g[G>>2]+ha*+g[G+4>>2]+ka*+g[G+8>>2];ja=ga*+g[G+16>>2]+ha*+g[G+20>>2]+ka*+g[G+24>>2];ka=ga*+g[G+32>>2]+ha*+g[G+36>>2]+ka*+g[G+40>>2];if((q|0)>0){t=0;ga=s;ha=m;Y=C;aa=D;ba=E;fa=n;ea=o;da=W;while(1){f=c[la+56>>2]|0;_=+g[f+(t<<4)>>2];ca=+g[f+(t<<4)+4>>2];$=+g[f+(t<<4)+8>>2];W=_*+g[H>>2]+ca*+g[H+4>>2]+$*+g[H+8>>2];X=_*+g[H+16>>2]+ca*+g[H+20>>2]+$*+g[H+24>>2];$=_*+g[H+32>>2]+ca*+g[H+36>>2]+$*+g[H+40>>2];g[wa+296>>2]=ja*$-ka*X;g[wa+296+4>>2]=ka*W-ia*$;g[wa+296+8>>2]=ia*X-ja*W;g[wa+296+12>>2]=0.0;do if(!(+w(+(ja*$-ka*X))>1.0e-06)){if(+w(+(ka*W-ia*$))>1.0e-06){pa=76;break}if(!(+w(+(ia*X-ja*W))>1.0e-06)){s=ga;m=ha;Z=U;_=V;ca=Q;n=fa;o=ea;W=da}else pa=76}else pa=76;while(0);do if((pa|0)==76){pa=0;o=1.0/+x(+((ia*X-ja*W)*(ia*X-ja*W)+((ja*$-ka*X)*(ja*$-ka*X)+(ka*W-ia*$)*(ka*W-ia*$))));m=(ja*$-ka*X)*o;g[wa+296>>2]=m;n=(ka*W-ia*$)*o;g[wa+296+4>>2]=n;o=(ia*X-ja*W)*o;g[wa+296+8>>2]=o;if(m*ma+n*na+oa*o<0.0){g[wa+296>>2]=-m;g[wa+296+4>>2]=-n;g[wa+296+8>>2]=-o;m=-m;n=-n;o=-o}c[7163]=(c[7163]|0)+1;if(!(Vh(G,H,ma,na,oa,m,n,o,T,la,l)|0)){s=ga;m=ha;Z=U;_=V;ca=Q;n=fa;o=ea;W=da;break}c[7164]=(c[7164]|0)+1;rg(T,G,wa+296|0,wa+624|0,wa+384|0,wa+360|0,wa+344|0);rg(la,H,wa+296|0,wa+380|0,wa+376|0,wa+328|0,wa+312|0);s=+g[wa+384>>2];C=+g[wa+380>>2];do if(!(s>2];E=+g[wa+624>>2];if(D>2];U=+g[wa+328+4>>2];V=+g[wa+328+8>>2];C=+g[wa+344>>2];E=+g[wa+344+4>>2];Q=+g[wa+344+8>>2];break}else{k=1;s=D-E;D=+g[wa+312>>2];U=+g[wa+312+4>>2];V=+g[wa+312+8>>2];C=+g[wa+360>>2];E=+g[wa+360+4>>2];Q=+g[wa+360+8>>2];break}}else{k=0;s=ga;D=Y;C=aa;E=ba}while(0);if(!k)break f;if(!(s>2]|0;if((t|0)>=(q|0))break;else{ga=s;ha=m;U=Z;V=_;Q=ca;fa=n;ea=o;da=W}}C=Y;U=Z;V=_;D=aa;E=ba;Q=ca;k=c[T+48>>2]|0}y=y+1|0;if((y|0)>=(k|0)){l=W;break e}}break b}else{j=-1;i=-1;P=0.0;r=0.0;B=0.0;O=0.0;p=0.0;v=0.0;L=0.0;N=0.0;l=0.0;u=0.0;F=0.0;I=0.0}while(0);if((j|i|0)>-1){C=P-r;D=N-p;E=I-l;r=B*O+v*L+u*F;s=C*O+D*L+E*F;l=C*B+D*v+E*u;do if(1.0-r*r==0.0)p=0.0;else{if((s-l*r)/(1.0-r*r)<-1000000015047466219876688.0e6){p=-1000000015047466219876688.0e6;break}if(!((s-l*r)/(1.0-r*r)>1000000015047466219876688.0e6)){p=(s-l*r)/(1.0-r*r);break}p=1000000015047466219876688.0e6}while(0);l=r*p-l;do if(l<-1000000015047466219876688.0e6){if(s-r*1000000015047466219876688.0e6<-1000000015047466219876688.0e6){l=-1000000015047466219876688.0e6;p=-1000000015047466219876688.0e6;break}if(!(s-r*1000000015047466219876688.0e6>1000000015047466219876688.0e6)){l=-1000000015047466219876688.0e6;p=s-r*1000000015047466219876688.0e6;break}l=-1000000015047466219876688.0e6;p=1000000015047466219876688.0e6}else{if(!(l>1000000015047466219876688.0e6))break;if(s+r*1000000015047466219876688.0e6<-1000000015047466219876688.0e6){l=1000000015047466219876688.0e6;p=-1000000015047466219876688.0e6;break}if(!(s+r*1000000015047466219876688.0e6>1000000015047466219876688.0e6)){l=1000000015047466219876688.0e6;p=s+r*1000000015047466219876688.0e6;break}l=1000000015047466219876688.0e6;p=1000000015047466219876688.0e6}while(0);B=B*l;v=v*l;u=u*l;s=B+(C-O*p);r=v+(D-L*p);l=u+(E-F*p);g[wa+624>>2]=s;g[wa+624+4>>2]=r;g[wa+624+8>>2]=l;g[wa+624+12>>2]=0.0;if(l*l+(s*s+r*r)>1.1920928955078125e-07){p=+x(+(l*l+(s*s+r*r)));g[wa+624>>2]=s*(1.0/p);g[wa+624+4>>2]=r*(1.0/p);g[wa+624+8>>2]=l*(1.0/p);if(s*(1.0/p)*ma+r*(1.0/p)*na+l*(1.0/p)*oa<0.0){g[wa+624>>2]=-(s*(1.0/p));g[wa+624+4>>2]=-(r*(1.0/p));g[wa+624+8>>2]=-(l*(1.0/p))}g[wa+384>>2]=P+B;g[wa+384+4>>2]=N+v;g[wa+384+8>>2]=I+u;g[wa+384+12>>2]=0.0;_a[c[(c[h>>2]|0)+16>>2]&15](h,wa+624|0,wa+384|0,-p)}}if(ma*m+na*n+oa*o<0.0){l=-1000000015047466219876688.0e6;m=-m;n=-n;o=-o;i=0;pa=112}else{l=-1000000015047466219876688.0e6;i=0;pa=112}}while(0);if((pa|0)==112){T=c[ra+52>>2]|0;f=c[ta+52>>2]|0;S=c[d+12>>2]|0;R=c[e+12>>2]|0;N=l-qa;F=1.0/+x(+(m*m+n*n+o*o));L=m*F;I=n*F;F=o*F;g[wa+624>>2]=L;g[wa+624+4>>2]=I;g[wa+624+8>>2]=F;c[wa+624+12>>2]=i;k=c[f+28>>2]|0;t=c[f+36>>2]|0;if((k|0)>0){m=+g[R>>2];n=+g[R+4>>2];o=+g[R+8>>2];p=+g[R+16>>2];r=+g[R+20>>2];s=+g[R+24>>2];u=+g[R+32>>2];v=+g[R+36>>2];B=+g[R+40>>2];l=-3402823466385288598117041.0e14;j=0;i=-1;while(1){C=+g[t+(j*36|0)+20>>2];D=+g[t+(j*36|0)+24>>2];E=+g[t+(j*36|0)+28>>2];q=L*(C*m+D*n+E*o)+I*(C*p+D*r+E*s)+F*(C*u+D*v+E*B)>l;i=q?j:i;j=j+1|0;if((j|0)==(k|0)){H=i;break}else l=q?L*(C*m+D*n+E*o)+I*(C*p+D*r+E*s)+F*(C*u+D*v+E*B):l}}else H=-1;a[wa+384+16>>0]=1;M=wa+384+12|0;c[M>>2]=0;J=wa+384+4|0;c[J>>2]=0;c[wa+384+8>>2]=0;K=c[t+(H*36|0)+4>>2]|0;g:do if((K|0)>0){G=t+(H*36|0)+12|0;i=0;j=0;k=0;while(1){d=c[(c[G>>2]|0)+(i<<2)>>2]|0;e=c[f+16>>2]|0;na=+g[e+(d<<4)>>2];oa=+g[e+(d<<4)+4>>2];n=+g[e+(d<<4)+8>>2];l=na*+g[R>>2]+oa*+g[R+4>>2]+n*+g[R+8>>2]+ +g[R+48>>2];m=na*+g[R+16>>2]+oa*+g[R+20>>2]+n*+g[R+24>>2]+ +g[R+52>>2];n=na*+g[R+32>>2]+oa*+g[R+36>>2]+n*+g[R+40>>2]+ +g[R+56>>2];if((j|0)==(k|0)){y=(k|0)==0?1:k<<1;if((k|0)<(y|0)){if(!y){t=0;j=k}else{c[7182]=(c[7182]|0)+1;j=xb((y<<4|3)+16|0)|0;if(!j)j=0;else{c[(j+4+15&-16)+-4>>2]=j;j=j+4+15&-16}t=j;j=c[J>>2]|0}q=c[M>>2]|0;if((j|0)<=0){if(q)pa=128}else{k=0;do{d=t+(k<<4)|0;e=q+(k<<4)|0;c[d>>2]=c[e>>2];c[d+4>>2]=c[e+4>>2];c[d+8>>2]=c[e+8>>2];c[d+12>>2]=c[e+12>>2];k=k+1|0}while((k|0)!=(j|0));pa=128}if((pa|0)==128){pa=0;if(a[wa+384+16>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[q+-4>>2]|0);j=c[J>>2]|0}c[M>>2]=0}a[wa+384+16>>0]=1;c[M>>2]=t;c[wa+384+8>>2]=y}else j=k}d=c[M>>2]|0;g[d+(j<<4)>>2]=l;g[d+(j<<4)+4>>2]=m;g[d+(j<<4)+8>>2]=n;g[d+(j<<4)+12>>2]=0.0;j=(c[J>>2]|0)+1|0;c[J>>2]=j;i=i+1|0;if((i|0)>=(K|0))break g;k=c[wa+384+8>>2]|0}}while(0);if((H|0)>-1)Tb(wa+624|0,T,S,wa+384|0,N,qa,h);i=c[M>>2]|0;if(i|0){if(a[wa+384+16>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[i+-4>>2]|0)}c[M>>2]=0}}if(a[b+16>>0]|0?(ua=c[h+4>>2]|0,c[ua+748>>2]|0):0){i=c[ua+740>>2]|0;j=c[(c[h+8>>2]|0)+8>>2]|0;if((i|0)==(j|0)){re(ua,i+4|0,(c[(c[h+12>>2]|0)+8>>2]|0)+4|0);break}else{re(ua,(c[(c[h+12>>2]|0)+8>>2]|0)+4|0,j+4|0);break}}}while(0);sa=wa;return}while(0)}Ub(wa+48|0,wa+128|0,h,c[f+20>>2]|0,0);if((c[b+28>>2]|0?(c[(c[h+4>>2]|0)+748>>2]|0)<(c[b+32>>2]|0):0)?(F=+g[wa+48+4>>2],I=+g[wa+48+8>>2],L=+g[wa+48+12>>2],F*F+I*I+L*L>1.1920928955078125e-07):0){E=1.0/(F*F+I*I+L*L);if(+w(+(L*E))>.7071067690849304){n=1.0/+x(+(L*E*L*E+I*E*I*E));m=0.0;o=I*E*n;n=-(L*E*n)}else{n=1.0/+x(+(F*E*F*E+I*E*I*E));m=-(I*E*n);o=0.0;n=F*E*n}D=+va[c[(c[ra>>2]|0)+16>>2]&15](ra);B=+va[c[(c[ta>>2]|0)+16>>2]&15](ta);l=.019999999552965164/(D>2]=c[wa+128>>2];c[wa+624+4>>2]=c[wa+128+4>>2];c[wa+624+8>>2]=c[wa+128+8>>2];c[wa+624+12>>2]=c[wa+128+12>>2];c[wa+624+16>>2]=c[k>>2];c[wa+624+16+4>>2]=c[k+4>>2];c[wa+624+16+8>>2]=c[k+8>>2];c[wa+624+16+12>>2]=c[k+12>>2];c[wa+624+32>>2]=c[t>>2];c[wa+624+32+4>>2]=c[t+4>>2];c[wa+624+32+8>>2]=c[t+8>>2];c[wa+624+32+12>>2]=c[t+12>>2];c[wa+624+48>>2]=c[y>>2];c[wa+624+48+4>>2]=c[y+4>>2];c[wa+624+48+8>>2]=c[y+8>>2];c[wa+624+48+12>>2]=c[y+12>>2]}else{c[wa+624>>2]=c[G>>2];c[wa+624+4>>2]=c[G+4>>2];c[wa+624+8>>2]=c[G+8>>2];c[wa+624+12>>2]=c[G+12>>2];c[wa+624+16>>2]=c[H>>2];c[wa+624+16+4>>2]=c[H+4>>2];c[wa+624+16+8>>2]=c[H+8>>2];c[wa+624+16+12>>2]=c[H+12>>2];c[wa+624+32>>2]=c[J>>2];c[wa+624+32+4>>2]=c[J+4>>2];c[wa+624+32+8>>2]=c[J+8>>2];c[wa+624+32+12>>2]=c[J+12>>2];c[wa+624+48>>2]=c[K>>2];c[wa+624+48+4>>2]=c[K+4>>2];c[wa+624+48+8>>2]=c[K+8>>2];c[wa+624+48+12>>2]=c[K+12>>2]}i=c[b+28>>2]|0;if((i|0)>0){C=m*m+n*n+o*o;p=+x(+C);r=(l>.39269909262657166?.39269909262657166:l)*.5;p=+A(+r)/p;v=m*p;u=n*p;p=o*p;r=+z(+r);s=+x(+(L*E*L*E+(F*E*F*E+I*E*I*E)));j=0;do{if(C>1.1920928955078125e-07){o=6.2831854820251465/+(i|0)*+(j|0)*.5;n=+A(+o)/s;l=F*E*n;m=I*E*n;n=L*E*n;o=+z(+o);if(D>2]|0;aa=+g[ua>>2];ba=+g[ua+16>>2];ca=+g[ua+32>>2];da=+g[ua+4>>2];ea=+g[ua+20>>2];fa=+g[ua+36>>2];ga=+g[ua+8>>2];ja=+g[ua+24>>2];qa=+g[ua+40>>2];g[wa+128>>2]=(1.0-(na*oa+$*ha))*aa+(ka*oa-ia*ha)*ba+(ka*ha+ia*oa)*ca;g[wa+128+4>>2]=(1.0-(na*oa+$*ha))*da+(ka*oa-ia*ha)*ea+(ka*ha+ia*oa)*fa;g[wa+128+8>>2]=(1.0-(na*oa+$*ha))*ga+(ka*oa-ia*ha)*ja+(ka*ha+ia*oa)*qa;g[wa+128+12>>2]=0.0;g[wa+128+16>>2]=(ka*oa+ia*ha)*aa+(1.0-(ka*ma+$*ha))*ba+(na*ha-ia*ma)*ca;g[wa+128+20>>2]=(ka*oa+ia*ha)*da+(1.0-(ka*ma+$*ha))*ea+(na*ha-ia*ma)*fa;g[wa+128+24>>2]=(ka*oa+ia*ha)*ga+(1.0-(ka*ma+$*ha))*ja+(na*ha-ia*ma)*qa;g[wa+128+28>>2]=0.0;g[wa+128+32>>2]=(ka*ha-ia*oa)*aa+(na*ha+ia*ma)*ba+(1.0-(ka*ma+na*oa))*ca;g[wa+128+36>>2]=(ka*ha-ia*oa)*da+(na*ha+ia*ma)*ea+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ia*ma)*ja+(1.0-(ka*ma+na*oa))*qa;g[wa+128+108>>2]=0.0}i=c[f+20>>2]|0;c[wa+384>>2]=8944;c[wa+384+32>>2]=h;c[wa+384+36>>2]=c[wa+128>>2];c[wa+384+36+4>>2]=c[wa+128+4>>2];c[wa+384+36+8>>2]=c[wa+128+8>>2];c[wa+384+36+12>>2]=c[wa+128+12>>2];c[wa+384+52>>2]=c[k>>2];c[wa+384+52+4>>2]=c[k+4>>2];c[wa+384+52+8>>2]=c[k+8>>2];c[wa+384+52+12>>2]=c[k+12>>2];c[wa+384+68>>2]=c[t>>2];c[wa+384+68+4>>2]=c[t+4>>2];c[wa+384+68+8>>2]=c[t+8>>2];c[wa+384+68+12>>2]=c[t+12>>2];c[wa+384+84>>2]=c[y>>2];c[wa+384+84+4>>2]=c[y+4>>2];c[wa+384+84+8>>2]=c[y+8>>2];c[wa+384+84+12>>2]=c[y+12>>2];c[wa+384+100>>2]=c[G>>2];c[wa+384+100+4>>2]=c[G+4>>2];c[wa+384+100+8>>2]=c[G+8>>2];c[wa+384+100+12>>2]=c[G+12>>2];c[wa+384+116>>2]=c[H>>2];c[wa+384+116+4>>2]=c[H+4>>2];c[wa+384+116+8>>2]=c[H+8>>2];c[wa+384+116+12>>2]=c[H+12>>2];c[wa+384+132>>2]=c[J>>2];c[wa+384+132+4>>2]=c[J+4>>2];c[wa+384+132+8>>2]=c[J+8>>2];c[wa+384+132+12>>2]=c[J+12>>2];c[wa+384+148>>2]=c[K>>2];c[wa+384+148+4>>2]=c[K+4>>2];c[wa+384+148+8>>2]=c[K+8>>2];c[wa+384+148+12>>2]=c[K+12>>2];c[wa+384+164>>2]=c[wa+624>>2];c[wa+384+164+4>>2]=c[wa+624+4>>2];c[wa+384+164+8>>2]=c[wa+624+8>>2];c[wa+384+164+12>>2]=c[wa+624+12>>2];c[wa+384+180>>2]=c[wa+624+16>>2];c[wa+384+180+4>>2]=c[wa+624+16+4>>2];c[wa+384+180+8>>2]=c[wa+624+16+8>>2];c[wa+384+180+12>>2]=c[wa+624+16+12>>2];c[wa+384+196>>2]=c[wa+624+32>>2];c[wa+384+196+4>>2]=c[wa+624+32+4>>2];c[wa+384+196+8>>2]=c[wa+624+32+8>>2];c[wa+384+196+12>>2]=c[wa+624+32+12>>2];c[wa+384+212>>2]=c[wa+624+48>>2];c[wa+384+212+4>>2]=c[wa+624+48+4>>2];c[wa+384+212+8>>2]=c[wa+624+48+8>>2];c[wa+384+212+12>>2]=c[wa+624+48+12>>2];a[wa+384+228>>0]=D>2]=i;Ub(wa+48|0,wa+128|0,wa+384|0,i,0);i=c[b+28>>2]|0}j=j+1|0}while((j|0)<(i|0))}}if(!(a[b+16>>0]|0)){sa=wa;return}i=c[h+4>>2]|0;if(!(c[i+748>>2]|0)){sa=wa;return}j=c[i+740>>2]|0;k=c[(c[h+8>>2]|0)+8>>2]|0;if((j|0)==(k|0)){re(i,j+4|0,(c[(c[h+12>>2]|0)+8>>2]|0)+4|0);sa=wa;return}else{re(i,(c[(c[h+12>>2]|0)+8>>2]|0)+4|0,k+4|0);sa=wa;return}}function nb(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,h=0,i=0,j=0,k=0.0,l=0.0,m=0,n=0.0,o=0.0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,K=0,L=0,M=0,N=0.0,O=0.0,P=0.0,Q=0.0;M=sa;sa=sa+16|0;f=c[b+1112>>2]|0;a:do if((f|0)>0)while(1){m=c[c[b+1120>>2]>>2]|0;f=c[m+348>>2]|0;if(f|0){sg(b+1048|0,f)|0;h=c[b+1052>>2]|0;if(h|0){c[7183]=(c[7183]|0)+1;Hc(c[h+-4>>2]|0)}c[b+1052>>2]=f;c[b+1060>>2]=(c[b+1060>>2]|0)+-1}f=c[m+52>>2]|0;if(f|0){if(a[m+56>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[f+-4>>2]|0)}c[m+52>>2]=0}a[m+56>>0]=1;c[m+52>>2]=0;c[m+44>>2]=0;c[m+48>>2]=0;f=c[m+32>>2]|0;if(f|0){if(a[m+36>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[f+-4>>2]|0)}c[m+32>>2]=0}a[m+36>>0]=1;c[m+32>>2]=0;c[m+24>>2]=0;c[m+28>>2]=0;f=c[m+12>>2]|0;if(f|0){if(a[m+16>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[f+-4>>2]|0)}c[m+12>>2]=0}a[m+16>>0]=1;c[m+12>>2]=0;c[m+4>>2]=0;c[m+8>>2]=0;c[7183]=(c[7183]|0)+1;Hc(c[m+-4>>2]|0);f=c[b+1112>>2]|0;if((f|0)<=0){h=f;break a}j=c[b+1120>>2]|0;h=0;do{i=j+(h<<2)|0;if((c[i>>2]|0)==(m|0)){L=23;break}h=h+1|0}while((h|0)<(f|0));if((L|0)==23){L=0;if((h|0)<(f|0)){c[i>>2]=c[j+(f+-1<<2)>>2];c[(c[b+1120>>2]|0)+(f+-1<<2)>>2]=m;c[b+1112>>2]=f+-1;f=f+-1|0}}if((f|0)<=0){h=f;break}}else h=f;while(0);f=c[b+712>>2]|0;f=(f|0)>(d|0)?d:f;if((h|0)<(f|0)){if((c[b+1116>>2]|0)<(f|0)){if(f){c[7182]=(c[7182]|0)+1;i=xb((f<<2|3)+16|0)|0;if(!i)i=0;else{c[(i+4+15&-16)+-4>>2]=i;i=i+4+15&-16}m=c[b+1112>>2]|0;if((m|0)>0){j=0;do{c[i+(j<<2)>>2]=c[(c[b+1120>>2]|0)+(j<<2)>>2];j=j+1|0}while((j|0)!=(m|0));j=i;i=b+1120|0}else{j=i;i=b+1120|0}}else{j=0;i=b+1120|0}m=c[i>>2]|0;if(m|0){if(a[b+1124>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[m+-4>>2]|0)}c[i>>2]=0}a[b+1124>>0]=1;c[i>>2]=j;c[b+1116>>2]=f}else i=b+1120|0;do{c[(c[i>>2]|0)+(h<<2)>>2]=0;h=h+1|0}while((h|0)!=(f|0))}c[b+1112>>2]=f;if((f|0)>0){h=0;do{c[7182]=(c[7182]|0)+1;f=xb(403)|0;if(!f)f=0;else{c[(f+4+15&-16)+-4>>2]=f;f=f+4+15&-16}a[f+16>>0]=1;c[f+12>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;a[f+36>>0]=1;c[f+32>>2]=0;c[f+24>>2]=0;c[f+28>>2]=0;a[f+56>>0]=1;c[f+52>>2]=0;c[f+44>>2]=0;c[f+48>>2]=0;j=f+348|0;c[j>>2]=0;c[j+4>>2]=0;c[j+8>>2]=0;c[j+12>>2]=0;c[j+16>>2]=0;g[f+368>>2]=100.0;g[f+372>>2]=.009999999776482582;a[f+376>>0]=0;c[(c[b+1120>>2]|0)+(h<<2)>>2]=f;j=c[b+1120>>2]|0;a[(c[j+(h<<2)>>2]|0)+377>>0]=1;h=h+1|0;f=c[b+1112>>2]|0}while((h|0)<(f|0));if((f|0)>0){i=c[b+712>>2]|0;if((i|0)>0){h=0;k=0.0;l=0.0;n=0.0;m=f;while(1){p=c[b+720>>2]|0;o=k+ +g[p+(h*104|0)+8>>2];l=l+ +g[p+(h*104|0)+12>>2];x=n+ +g[p+(h*104|0)+16>>2];d=c[j+(((h*29873|0)%(m|0)|0)<<2)>>2]|0;p=p+(h*104|0)|0;j=c[d+24>>2]|0;if((j|0)==(c[d+28>>2]|0)?(q=(j|0)==0?1:j<<1,(j|0)<(q|0)):0){if(!q)i=0;else{c[7182]=(c[7182]|0)+1;i=xb((q<<2|3)+16|0)|0;if(!i)i=0;else{c[(i+4+15&-16)+-4>>2]=i;i=i+4+15&-16}j=c[d+24>>2]|0}if((j|0)>0){m=0;do{c[i+(m<<2)>>2]=c[(c[d+32>>2]|0)+(m<<2)>>2];m=m+1|0}while((m|0)!=(j|0))}m=c[d+32>>2]|0;if(m){if(a[d+36>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[m+-4>>2]|0);j=c[d+24>>2]|0}c[d+32>>2]=0}a[d+36>>0]=1;c[d+32>>2]=i;c[d+28>>2]=q;i=c[b+712>>2]|0}c[(c[d+32>>2]|0)+(j<<2)>>2]=p;c[d+24>>2]=j+1;h=h+1|0;if((h|0)>=(i|0))break;k=o;n=x;m=c[b+1112>>2]|0;j=c[b+1120>>2]|0}k=1.0/+(i|0);if((f|0)>=0)if(!f){i=0;n=o*k;l=l*k;k=x*k;L=72}else{n=o*k;l=l*k;k=x*k;L=70}else{C=b+720|0;G=0;F=0}}else{n=1.0/+(i|0)*0.0;l=1.0/+(i|0)*0.0;k=1.0/+(i|0)*0.0;L=70}if((L|0)==70){c[7182]=(c[7182]|0)+1;h=xb((f<<4|3)+16|0)|0;if(!h){i=0;L=72}else{c[(h+4+15&-16)+-4>>2]=h;i=h+4+15&-16;L=72}}if((L|0)==72){h=0;do{g[i+(h<<4)>>2]=n;g[i+(h<<4)+4>>2]=l;g[i+(h<<4)+8>>2]=k;g[i+(h<<4)+12>>2]=0.0;h=h+1|0}while((h|0)!=(f|0));C=b+720|0;G=i;F=i}t=G+4|0;u=G+8|0;s=0;do{z=+(s|0)*.0625;z=2.0-(z>1.0?1.0:z);m=0;d=0;while(1){h=c[(c[b+1120>>2]|0)+(d<<2)>>2]|0;j=c[h+24>>2]|0;if((j|0)>0){i=c[h+32>>2]|0;L=c[i>>2]|0;n=+g[L+8>>2]+0.0;l=+g[L+12>>2]+0.0;k=+g[L+16>>2]+0.0;if((j|0)==1)L=82;else{h=1;do{L=c[i+(h<<2)>>2]|0;n=n+ +g[L+8>>2];l=l+ +g[L+12>>2];k=k+ +g[L+16>>2];h=h+1|0}while((h|0)<(j|0));L=80}}else{k=0.0;l=0.0;n=0.0;L=80}if((L|0)==80){L=0;if(!j)r=m;else L=82}if((L|0)==82){L=0;r=G+(d<<4)|0;o=+g[r>>2];v=G+(d<<4)+4|0;x=+g[v>>2];h=G+(d<<4)+8|0;y=+g[h>>2];n=o+z*(n*(1.0/+(j|0))-o);l=x+z*(l*(1.0/+(j|0))-x);k=y+z*(k*(1.0/+(j|0))-y);g[r>>2]=n;g[v>>2]=l;g[h>>2]=k;g[G+(d<<4)+12>>2]=0.0;j=c[(c[b+1120>>2]|0)+(d<<2)>>2]|0;h=c[j+24>>2]|0;if((h|0)<0){if((c[j+28>>2]|0)<0){i=c[j+32>>2]|0;if(i|0){if(a[j+36>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[i+-4>>2]|0)}c[j+32>>2]=0}a[j+36>>0]=1;c[j+32>>2]=0;c[j+28>>2]=0}do{c[(c[j+32>>2]|0)+(h<<2)>>2]=0;h=h+1|0}while((h|0)!=0)}c[j+24>>2]=0;r=m|(n-o)*(n-o)+(l-x)*(l-x)+(k-y)*(k-y)>1.1920928955078125e-07}d=d+1|0;if((d|0)>=(f|0))break;else m=r}s=s+1|0;h=c[b+712>>2]|0;b:do if((h|0)>0){if((f|0)<=1){p=0;while(1){m=c[c[b+1120>>2]>>2]|0;d=(c[C>>2]|0)+(p*104|0)|0;i=c[m+24>>2]|0;if((i|0)==(c[m+28>>2]|0)?(E=(i|0)==0?1:i<<1,(i|0)<(E|0)):0){if(!E)h=0;else{c[7182]=(c[7182]|0)+1;h=xb((E<<2|3)+16|0)|0;if(!h)h=0;else{c[(h+4+15&-16)+-4>>2]=h;h=h+4+15&-16}i=c[m+24>>2]|0}if((i|0)>0){j=0;do{c[h+(j<<2)>>2]=c[(c[m+32>>2]|0)+(j<<2)>>2];j=j+1|0}while((j|0)!=(i|0))}j=c[m+32>>2]|0;if(j){if(a[m+36>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[j+-4>>2]|0);i=c[m+24>>2]|0}c[m+32>>2]=0}a[m+36>>0]=1;c[m+32>>2]=h;c[m+28>>2]=E;h=c[b+712>>2]|0}c[(c[m+32>>2]|0)+(i<<2)>>2]=d;c[m+24>>2]=i+1;p=p+1|0;if((p|0)>=(h|0))break b}}q=0;do{d=c[C>>2]|0;l=+g[d+(q*104|0)+8>>2];n=+g[d+(q*104|0)+12>>2];o=+g[d+(q*104|0)+16>>2];i=1;k=+w(+(+g[G>>2]-l))+ +w(+(+g[t>>2]-n))+ +w(+(+g[u>>2]-o));j=0;while(1){x=+w(+(+g[G+(i<<4)>>2]-l))+ +w(+(+g[G+(i<<4)+4>>2]-n))+ +w(+(+g[G+(i<<4)+8>>2]-o));m=x>2]|0)+(j<<2)>>2]|0;m=d+(q*104|0)|0;i=c[p+24>>2]|0;if((i|0)==(c[p+28>>2]|0)?(D=(i|0)==0?1:i<<1,(i|0)<(D|0)):0){if(!D)h=0;else{c[7182]=(c[7182]|0)+1;h=xb((D<<2|3)+16|0)|0;if(!h)h=0;else{c[(h+4+15&-16)+-4>>2]=h;h=h+4+15&-16}i=c[p+24>>2]|0}if((i|0)>0){j=0;do{c[h+(j<<2)>>2]=c[(c[p+32>>2]|0)+(j<<2)>>2];j=j+1|0}while((j|0)!=(i|0))}j=c[p+32>>2]|0;if(j){if(a[p+36>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[j+-4>>2]|0);i=c[p+24>>2]|0}c[p+32>>2]=0}a[p+36>>0]=1;c[p+32>>2]=h;c[p+28>>2]=D;h=c[b+712>>2]|0}c[(c[p+32>>2]|0)+(i<<2)>>2]=m;c[p+24>>2]=i+1;q=q+1|0}while((q|0)<(h|0))}while(0)}while((s|0)<(e|0)&r);if((h|0)>0){h=h<<2;c[7182]=(c[7182]|0)+1;f=xb((h|3)+16|0)|0;if(!f)f=0;else{c[(f+4+15&-16)+-4>>2]=f;f=f+4+15&-16}mk(f|0,-1,h|0)|0;v=f;u=f}else{v=0;u=0}f=c[b+1112>>2]|0;if((f|0)>0){d=c[b+1120>>2]|0;m=0;do{j=c[d+(m<<2)>>2]|0;if((c[j+24>>2]|0)>0){h=c[C>>2]|0;i=c[j+32>>2]|0;c[v+((((c[i>>2]|0)-h|0)/104|0)<<2)>>2]=m;if((c[j+24>>2]|0)>1){f=1;do{c[v+((((c[i+(f<<2)>>2]|0)-h|0)/104|0)<<2)>>2]=m;f=f+1|0}while((f|0)<(c[j+24>>2]|0))}f=c[b+1112>>2]|0}m=m+1|0}while((m|0)<(f|0))}if((c[b+752>>2]|0)>0){r=0;do{E=c[b+760>>2]|0;d=c[C>>2]|0;f=((c[E+(r*44|0)+8>>2]|0)-d|0)/104|0;c[M>>2]=f;c[M+4>>2]=((c[E+(r*44|0)+12>>2]|0)-d|0)/104|0;c[M+8>>2]=((c[E+(r*44|0)+16>>2]|0)-d|0)/104|0;d=0;while(1){p=c[v+(f<<2)>>2]|0;q=d+1|0;f=c[M+(((q|0)==3?0:q)<<2)>>2]|0;c:do if((c[v+(f<<2)>>2]|0)!=(p|0)){m=c[(c[b+1120>>2]|0)+(p<<2)>>2]|0;j=(c[C>>2]|0)+(f*104|0)|0;h=c[m+24>>2]|0;d:do if((h|0)>0){i=c[m+32>>2]|0;f=0;while(1){if((c[i+(f<<2)>>2]|0)==(j|0))break;f=f+1|0;if((f|0)>=(h|0))break d}if((f|0)!=(h|0))break c}while(0);if((h|0)==(c[m+28>>2]|0)?(I=(h|0)==0?1:h<<1,(h|0)<(I|0)):0){if(!I)f=0;else{c[7182]=(c[7182]|0)+1;f=xb((I<<2|3)+16|0)|0;if(!f)f=0;else{c[(f+4+15&-16)+-4>>2]=f;f=f+4+15&-16}h=c[m+24>>2]|0}if((h|0)>0){i=0;do{c[f+(i<<2)>>2]=c[(c[m+32>>2]|0)+(i<<2)>>2];i=i+1|0}while((i|0)!=(h|0))}i=c[m+32>>2]|0;if(i){if(a[m+36>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[i+-4>>2]|0);h=c[m+24>>2]|0}c[m+32>>2]=0}a[m+36>>0]=1;c[m+32>>2]=f;c[m+28>>2]=I;f=h}else f=h;c[(c[m+32>>2]|0)+(f<<2)>>2]=j;c[m+24>>2]=f+1}while(0);f=c[M+((((d+2|0)>>>0)%3|0)<<2)>>2]|0;e:do if((c[v+(f<<2)>>2]|0)!=(p|0)){m=c[(c[b+1120>>2]|0)+(p<<2)>>2]|0;j=(c[C>>2]|0)+(f*104|0)|0;h=c[m+24>>2]|0;f:do if((h|0)>0){i=c[m+32>>2]|0;f=0;while(1){if((c[i+(f<<2)>>2]|0)==(j|0))break;f=f+1|0;if((f|0)>=(h|0))break f}if((f|0)!=(h|0))break e}while(0);if((h|0)==(c[m+28>>2]|0)?(H=(h|0)==0?1:h<<1,(h|0)<(H|0)):0){if(!H)f=0;else{c[7182]=(c[7182]|0)+1;f=xb((H<<2|3)+16|0)|0;if(!f)f=0;else{c[(f+4+15&-16)+-4>>2]=f;f=f+4+15&-16}h=c[m+24>>2]|0}if((h|0)>0){i=0;do{c[f+(i<<2)>>2]=c[(c[m+32>>2]|0)+(i<<2)>>2];i=i+1|0}while((i|0)!=(h|0))}i=c[m+32>>2]|0;if(i){if(a[m+36>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[i+-4>>2]|0);h=c[m+24>>2]|0}c[m+32>>2]=0}a[m+36>>0]=1;c[m+32>>2]=f;c[m+28>>2]=H;f=h}else f=h;c[(c[m+32>>2]|0)+(f<<2)>>2]=j;c[m+24>>2]=f+1}while(0);if(q>>>0>=3)break;d=q;f=c[M+(q<<2)>>2]|0}r=r+1|0}while((r|0)<(c[b+752>>2]|0));f=c[b+1112>>2]|0}if((f|0)>1){c[7182]=(c[7182]|0)+1;f=xb(403)|0;if(!f)f=0;else{c[(f+4+15&-16)+-4>>2]=f;f=f+4+15&-16}a[f+16>>0]=1;c[f+12>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;p=f+36|0;a[p>>0]=1;q=f+32|0;c[q>>2]=0;r=f+24|0;c[r>>2]=0;s=f+28|0;c[s>>2]=0;a[f+56>>0]=1;c[f+52>>2]=0;c[f+44>>2]=0;c[f+48>>2]=0;t=f+348|0;c[t>>2]=0;c[t+4>>2]=0;c[t+8>>2]=0;c[t+12>>2]=0;c[t+16>>2]=0;g[f+368>>2]=100.0;g[f+372>>2]=.009999999776482582;a[f+376>>0]=0;t=f;a[f+377>>0]=0;j=c[b+712>>2]|0;if((j|0)>0){c[7182]=(c[7182]|0)+1;f=xb((j<<2|3)+16|0)|0;if(!f)i=0;else{c[(f+4+15&-16)+-4>>2]=f;i=f+4+15&-16}h=c[r>>2]|0;if((h|0)>0){f=0;do{c[i+(f<<2)>>2]=c[(c[q>>2]|0)+(f<<2)>>2];f=f+1|0}while((f|0)!=(h|0))}f=c[q>>2]|0;if(f|0){if(a[p>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[f+-4>>2]|0)}c[q>>2]=0}a[p>>0]=1;c[q>>2]=i;c[s>>2]=j;f=c[b+712>>2]|0;if((f|0)>0){d=0;i=c[r>>2]|0;h=j;while(1){m=(c[C>>2]|0)+(d*104|0)|0;do if((i|0)==(h|0)){j=(h|0)==0?1:h<<1;if((h|0)>=(j|0)){j=h;break}if(!j)f=0;else{c[7182]=(c[7182]|0)+1;f=xb((j<<2|3)+16|0)|0;if(!f)f=0;else{c[(f+4+15&-16)+-4>>2]=f;f=f+4+15&-16}h=c[r>>2]|0}if((h|0)>0){i=0;do{c[f+(i<<2)>>2]=c[(c[q>>2]|0)+(i<<2)>>2];i=i+1|0}while((i|0)!=(h|0))}i=c[q>>2]|0;if(i){if(a[p>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[i+-4>>2]|0);h=c[r>>2]|0}c[q>>2]=0}a[p>>0]=1;c[q>>2]=f;c[s>>2]=j;f=c[b+712>>2]|0}else{j=h;h=i}while(0);c[(c[q>>2]|0)+(h<<2)>>2]=m;i=h+1|0;c[r>>2]=i;d=d+1|0;if((d|0)>=(f|0))break;else h=j}}}f=c[b+1112>>2]|0;if((f|0)==(c[b+1116>>2]|0)?(K=(f|0)==0?1:f<<1,(f|0)<(K|0)):0){if(!K)i=0;else{c[7182]=(c[7182]|0)+1;f=xb((K<<2|3)+16|0)|0;if(!f)f=0;else{c[(f+4+15&-16)+-4>>2]=f;f=f+4+15&-16}i=f;f=c[b+1112>>2]|0}if((f|0)>0){h=0;do{c[i+(h<<2)>>2]=c[(c[b+1120>>2]|0)+(h<<2)>>2];h=h+1|0}while((h|0)!=(f|0))}h=c[b+1120>>2]|0;if(h){if(a[b+1124>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[h+-4>>2]|0);f=c[b+1112>>2]|0}c[b+1120>>2]=0}a[b+1124>>0]=1;c[b+1120>>2]=i;c[b+1116>>2]=K}c[(c[b+1120>>2]|0)+(f<<2)>>2]=t;K=f+1|0;c[b+1112>>2]=K;H=c[b+1120>>2]|0;f=H+(f<<2)|0;I=c[H>>2]|0;c[H>>2]=c[f>>2];c[f>>2]=I;f=K}if((f|0)>0){h=0;do{d=c[(c[b+1120>>2]|0)+(h<<2)>>2]|0;g:do if(!(c[d+24>>2]|0)){h=h+-1|0;f=c[d+348>>2]|0;if(f|0){sg(b+1048|0,f)|0;i=c[b+1052>>2]|0;if(i|0){c[7183]=(c[7183]|0)+1;Hc(c[i+-4>>2]|0)}c[b+1052>>2]=f;c[b+1060>>2]=(c[b+1060>>2]|0)+-1}f=c[d+52>>2]|0;if(f|0){if(a[d+56>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[f+-4>>2]|0)}c[d+52>>2]=0}a[d+56>>0]=1;c[d+52>>2]=0;c[d+44>>2]=0;c[d+48>>2]=0;f=c[d+32>>2]|0;if(f|0){if(a[d+36>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[f+-4>>2]|0)}c[d+32>>2]=0}a[d+36>>0]=1;c[d+32>>2]=0;c[d+24>>2]=0;c[d+28>>2]=0;f=c[d+12>>2]|0;if(f|0){if(a[d+16>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[f+-4>>2]|0)}c[d+12>>2]=0}a[d+16>>0]=1;c[d+12>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0);f=c[b+1112>>2]|0;if((f|0)>0){m=c[b+1120>>2]|0;i=0;while(1){j=m+(i<<2)|0;if((c[j>>2]|0)==(d|0))break;i=i+1|0;if((i|0)>=(f|0))break g}if((i|0)>=(f|0))break;c[j>>2]=c[m+(f+-1<<2)>>2];c[(c[b+1120>>2]|0)+(f+-1<<2)>>2]=d;c[b+1112>>2]=f+-1;f=f+-1|0}}while(0);h=h+1|0}while((h|0)<(f|0))}if(!((v|0)==0|(u|0)==0)){c[7183]=(c[7183]|0)+1;Hc(c[u+-4>>2]|0)}if(!((G|0)==0|(F|0)==0)){c[7183]=(c[7183]|0)+1;Hc(c[F+-4>>2]|0)}}else L=244}else L=244;h:do if((L|0)==244){m=c[b+772>>2]|0;if(!m){m=c[b+752>>2]|0;if((f|0)<(m|0)){if((c[b+1116>>2]|0)<(m|0)){if(m){c[7182]=(c[7182]|0)+1;h=xb((m<<2|3)+16|0)|0;if(!h)h=0;else{c[(h+4+15&-16)+-4>>2]=h;h=h+4+15&-16}j=c[b+1112>>2]|0;if((j|0)>0){i=0;do{c[h+(i<<2)>>2]=c[(c[b+1120>>2]|0)+(i<<2)>>2];i=i+1|0}while((i|0)!=(j|0));j=b+1120|0}else j=b+1120|0}else{h=0;j=b+1120|0}i=c[j>>2]|0;if(i|0){if(a[b+1124>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[i+-4>>2]|0)}c[j>>2]=0}a[b+1124>>0]=1;c[j>>2]=h;c[b+1116>>2]=m}do{c[(c[b+1120>>2]|0)+(f<<2)>>2]=0;f=f+1|0}while((f|0)!=(m|0))}c[b+1112>>2]=m;if((m|0)>0){h=0;do{c[7182]=(c[7182]|0)+1;f=xb(403)|0;if(!f)f=0;else{c[(f+4+15&-16)+-4>>2]=f;f=f+4+15&-16}a[f+16>>0]=1;c[f+12>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;a[f+36>>0]=1;c[f+32>>2]=0;c[f+24>>2]=0;c[f+28>>2]=0;a[f+56>>0]=1;c[f+52>>2]=0;c[f+44>>2]=0;c[f+48>>2]=0;L=f+348|0;c[L>>2]=0;c[L+4>>2]=0;c[L+8>>2]=0;c[L+12>>2]=0;c[L+16>>2]=0;g[f+368>>2]=100.0;g[f+372>>2]=.009999999776482582;a[f+376>>0]=0;c[(c[b+1120>>2]|0)+(h<<2)>>2]=f;a[(c[(c[b+1120>>2]|0)+(h<<2)>>2]|0)+377>>0]=1;h=h+1|0}while((h|0)<(c[b+1112>>2]|0))}if((c[b+752>>2]|0)<=0)break;d=0;while(1){j=c[(c[b+1120>>2]|0)+(d<<2)>>2]|0;m=(c[b+760>>2]|0)+(d*44|0)+8|0;h=c[j+24>>2]|0;if((h|0)==(c[j+28>>2]|0)?(p=(h|0)==0?1:h<<1,(h|0)<(p|0)):0){if(!p)f=0;else{c[7182]=(c[7182]|0)+1;f=xb((p<<2|3)+16|0)|0;if(!f)f=0;else{c[(f+4+15&-16)+-4>>2]=f;f=f+4+15&-16}h=c[j+24>>2]|0}if((h|0)>0){i=0;do{c[f+(i<<2)>>2]=c[(c[j+32>>2]|0)+(i<<2)>>2];i=i+1|0}while((i|0)!=(h|0))}i=c[j+32>>2]|0;if(i){if(a[j+36>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[i+-4>>2]|0);h=c[j+24>>2]|0}c[j+32>>2]=0}a[j+36>>0]=1;c[j+32>>2]=f;c[j+28>>2]=p;f=h}else f=h;c[(c[j+32>>2]|0)+(f<<2)>>2]=c[m>>2];c[j+24>>2]=f+1;j=c[(c[b+1120>>2]|0)+(d<<2)>>2]|0;m=(c[b+760>>2]|0)+(d*44|0)+12|0;h=c[j+24>>2]|0;if((h|0)==(c[j+28>>2]|0)?(r=(h|0)==0?1:h<<1,(h|0)<(r|0)):0){if(!r)f=0;else{c[7182]=(c[7182]|0)+1;f=xb((r<<2|3)+16|0)|0;if(!f)f=0;else{c[(f+4+15&-16)+-4>>2]=f;f=f+4+15&-16}h=c[j+24>>2]|0}if((h|0)>0){i=0;do{c[f+(i<<2)>>2]=c[(c[j+32>>2]|0)+(i<<2)>>2];i=i+1|0}while((i|0)!=(h|0))}i=c[j+32>>2]|0;if(i){if(a[j+36>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[i+-4>>2]|0);h=c[j+24>>2]|0}c[j+32>>2]=0}a[j+36>>0]=1;c[j+32>>2]=f;c[j+28>>2]=r;f=h}else f=h;c[(c[j+32>>2]|0)+(f<<2)>>2]=c[m>>2];c[j+24>>2]=f+1;j=c[(c[b+1120>>2]|0)+(d<<2)>>2]|0;m=(c[b+760>>2]|0)+(d*44|0)+16|0;h=c[j+24>>2]|0;if((h|0)==(c[j+28>>2]|0)?(s=(h|0)==0?1:h<<1,(h|0)<(s|0)):0){if(!s)f=0;else{c[7182]=(c[7182]|0)+1;f=xb((s<<2|3)+16|0)|0;if(!f)f=0;else{c[(f+4+15&-16)+-4>>2]=f;f=f+4+15&-16}h=c[j+24>>2]|0}if((h|0)>0){i=0;do{c[f+(i<<2)>>2]=c[(c[j+32>>2]|0)+(i<<2)>>2];i=i+1|0}while((i|0)!=(h|0))}i=c[j+32>>2]|0;if(i){if(a[j+36>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[i+-4>>2]|0);h=c[j+24>>2]|0}c[j+32>>2]=0}a[j+36>>0]=1;c[j+32>>2]=f;c[j+28>>2]=s;f=h}else f=h;c[(c[j+32>>2]|0)+(f<<2)>>2]=c[m>>2];c[j+24>>2]=f+1;d=d+1|0;if((d|0)>=(c[b+752>>2]|0))break h}}if((f|0)<(m|0)){if((c[b+1116>>2]|0)<(m|0)){c[7182]=(c[7182]|0)+1;h=xb((m<<2|3)+16|0)|0;if(!h)j=0;else{c[(h+4+15&-16)+-4>>2]=h;j=h+4+15&-16}i=c[b+1112>>2]|0;if((i|0)>0){h=0;do{c[j+(h<<2)>>2]=c[(c[b+1120>>2]|0)+(h<<2)>>2];h=h+1|0}while((h|0)!=(i|0))}h=c[b+1120>>2]|0;if(h|0){if(a[b+1124>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[h+-4>>2]|0)}c[b+1120>>2]=0}a[b+1124>>0]=1;c[b+1120>>2]=j;c[b+1116>>2]=m;h=b+1120|0}else h=b+1120|0;do{c[(c[h>>2]|0)+(f<<2)>>2]=0;f=f+1|0}while((f|0)!=(m|0))}c[b+1112>>2]=m;if((m|0)>0){h=0;do{c[7182]=(c[7182]|0)+1;f=xb(403)|0;if(!f)f=0;else{c[(f+4+15&-16)+-4>>2]=f;f=f+4+15&-16}a[f+16>>0]=1;c[f+12>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;a[f+36>>0]=1;c[f+32>>2]=0;c[f+24>>2]=0;c[f+28>>2]=0;a[f+56>>0]=1;c[f+52>>2]=0;c[f+44>>2]=0;c[f+48>>2]=0;L=f+348|0;c[L>>2]=0;c[L+4>>2]=0;c[L+8>>2]=0;c[L+12>>2]=0;c[L+16>>2]=0;g[f+368>>2]=100.0;g[f+372>>2]=.009999999776482582;a[f+376>>0]=0;c[(c[b+1120>>2]|0)+(h<<2)>>2]=f;a[(c[(c[b+1120>>2]|0)+(h<<2)>>2]|0)+377>>0]=1;h=h+1|0}while((h|0)<(c[b+1112>>2]|0))}if((c[b+772>>2]|0)>0){d=0;do{j=c[(c[b+1120>>2]|0)+(d<<2)>>2]|0;m=(c[b+780>>2]|0)+(d*104|0)+8|0;h=c[j+24>>2]|0;if((h|0)==(c[j+28>>2]|0)?(C=(h|0)==0?1:h<<1,(h|0)<(C|0)):0){if(!C)f=0;else{c[7182]=(c[7182]|0)+1;f=xb((C<<2|3)+16|0)|0;if(!f)f=0;else{c[(f+4+15&-16)+-4>>2]=f;f=f+4+15&-16}h=c[j+24>>2]|0}if((h|0)>0){i=0;do{c[f+(i<<2)>>2]=c[(c[j+32>>2]|0)+(i<<2)>>2];i=i+1|0}while((i|0)!=(h|0))}i=c[j+32>>2]|0;if(i){if(a[j+36>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[i+-4>>2]|0);h=c[j+24>>2]|0}c[j+32>>2]=0}a[j+36>>0]=1;c[j+32>>2]=f;c[j+28>>2]=C;f=h}else f=h;c[(c[j+32>>2]|0)+(f<<2)>>2]=c[m>>2];c[j+24>>2]=f+1;j=c[(c[b+1120>>2]|0)+(d<<2)>>2]|0;m=(c[b+780>>2]|0)+(d*104|0)+12|0;h=c[j+24>>2]|0;if((h|0)==(c[j+28>>2]|0)?(t=(h|0)==0?1:h<<1,(h|0)<(t|0)):0){if(!t)f=0;else{c[7182]=(c[7182]|0)+1;f=xb((t<<2|3)+16|0)|0;if(!f)f=0;else{c[(f+4+15&-16)+-4>>2]=f;f=f+4+15&-16}h=c[j+24>>2]|0}if((h|0)>0){i=0;do{c[f+(i<<2)>>2]=c[(c[j+32>>2]|0)+(i<<2)>>2];i=i+1|0}while((i|0)!=(h|0))}i=c[j+32>>2]|0;if(i){if(a[j+36>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[i+-4>>2]|0);h=c[j+24>>2]|0}c[j+32>>2]=0}a[j+36>>0]=1;c[j+32>>2]=f;c[j+28>>2]=t;f=h}else f=h;c[(c[j+32>>2]|0)+(f<<2)>>2]=c[m>>2];c[j+24>>2]=f+1;j=c[(c[b+1120>>2]|0)+(d<<2)>>2]|0;m=(c[b+780>>2]|0)+(d*104|0)+16|0;h=c[j+24>>2]|0;if((h|0)==(c[j+28>>2]|0)?(u=(h|0)==0?1:h<<1,(h|0)<(u|0)):0){if(!u)f=0;else{c[7182]=(c[7182]|0)+1;f=xb((u<<2|3)+16|0)|0;if(!f)f=0;else{c[(f+4+15&-16)+-4>>2]=f;f=f+4+15&-16}h=c[j+24>>2]|0}if((h|0)>0){i=0;do{c[f+(i<<2)>>2]=c[(c[j+32>>2]|0)+(i<<2)>>2];i=i+1|0}while((i|0)!=(h|0))}i=c[j+32>>2]|0;if(i){if(a[j+36>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[i+-4>>2]|0);h=c[j+24>>2]|0}c[j+32>>2]=0}a[j+36>>0]=1;c[j+32>>2]=f;c[j+28>>2]=u;f=h}else f=h;c[(c[j+32>>2]|0)+(f<<2)>>2]=c[m>>2];c[j+24>>2]=f+1;j=c[(c[b+1120>>2]|0)+(d<<2)>>2]|0;m=(c[b+780>>2]|0)+(d*104|0)+20|0;h=c[j+24>>2]|0;if((h|0)==(c[j+28>>2]|0)?(v=(h|0)==0?1:h<<1,(h|0)<(v|0)):0){if(!v)f=0;else{c[7182]=(c[7182]|0)+1;f=xb((v<<2|3)+16|0)|0;if(!f)f=0;else{c[(f+4+15&-16)+-4>>2]=f;f=f+4+15&-16}h=c[j+24>>2]|0}if((h|0)>0){i=0;do{c[f+(i<<2)>>2]=c[(c[j+32>>2]|0)+(i<<2)>>2];i=i+1|0}while((i|0)!=(h|0))}i=c[j+32>>2]|0;if(i){if(a[j+36>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[i+-4>>2]|0);h=c[j+24>>2]|0}c[j+32>>2]=0}a[j+36>>0]=1;c[j+32>>2]=f;c[j+28>>2]=v;f=h}else f=h;c[(c[j+32>>2]|0)+(f<<2)>>2]=c[m>>2];c[j+24>>2]=f+1;d=d+1|0}while((d|0)<(c[b+772>>2]|0))}}while(0);f=c[b+1112>>2]|0;if(!f){b=0;sa=M;return b|0}if((f|0)>0){q=0;do{r=c[(c[b+1120>>2]|0)+(q<<2)>>2]|0;g[r+128>>2]=0.0;d=c[r+24>>2]|0;m=c[r+4>>2]|0;if((d|0)>(m|0)){do if((c[r+8>>2]|0)<(d|0)){if(!d){f=0;i=m}else{c[7182]=(c[7182]|0)+1;f=xb((d<<2|3)+16|0)|0;if(!f)f=0;else{c[(f+4+15&-16)+-4>>2]=f;f=f+4+15&-16}i=c[r+4>>2]|0}j=c[r+12>>2]|0;if((i|0)<=0){if(!j){a[r+16>>0]=1;c[r+12>>2]=f;c[r+8>>2]=d;break}}else{h=0;do{c[f+(h<<2)>>2]=c[j+(h<<2)>>2];h=h+1|0}while((h|0)!=(i|0))}if(a[r+16>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[j+-4>>2]|0)}a[r+16>>0]=1;c[r+12>>2]=f;c[r+8>>2]=d}else f=c[r+12>>2]|0;while(0);mk(f+(m<<2)|0,0,d-m<<2|0)|0;p=c[r+24>>2]|0}else p=d;c[r+4>>2]=d;m=(p|0)>0;if(m){h=c[r+32>>2]|0;i=c[r+12>>2]|0;f=0;do{k=+g[(c[h+(f<<2)>>2]|0)+88>>2];if(k==0.0){a[r+376>>0]=1;k=999999984306749440.0}else k=1.0/k;g[i+(f<<2)>>2]=k;l=k+ +g[r+128>>2];g[r+128>>2]=l;f=f+1|0}while((f|0)!=(p|0));g[r+128>>2]=1.0/l;f=0;k=0.0;n=0.0;o=0.0;do{L=c[h+(f<<2)>>2]|0;B=+g[i+(f<<2)>>2];k=k+ +g[L+8>>2]*B;n=n+B*+g[L+12>>2];o=o+B*+g[L+16>>2];f=f+1|0}while((f|0)!=(p|0));l=1.0/l}else{l=1.0/+g[r+128>>2];g[r+128>>2]=l;o=0.0;n=0.0;k=0.0}B=l*k;A=l*n;z=l*o;g[r+228>>2]=B;g[r+232>>2]=A;g[r+236>>2]=z;g[r+240>>2]=0.0;f=r+316|0;h=f+36|0;do{c[f>>2]=0;f=f+4|0}while((f|0)<(h|0));f=r+132|0;h=f+48|0;do{c[f>>2]=0;f=f+4|0}while((f|0)<(h|0));if(m){h=c[r+32>>2]|0;i=c[r+12>>2]|0;f=0;k=0.0;l=0.0;n=0.0;o=0.0;x=0.0;y=0.0;do{L=c[h+(f<<2)>>2]|0;Q=+g[L+8>>2]-B;O=+g[L+12>>2]-A;P=+g[L+16>>2]-z;N=+g[i+(f<<2)>>2];k=k+N*(O*O+P*P);g[r+132>>2]=k;l=N*(Q*Q+P*P)+l;g[r+152>>2]=l;n=(Q*Q+O*O)*N+n;g[r+172>>2]=n;o=o-O*Q*N;g[r+136>>2]=o;x=x-P*Q*N;g[r+140>>2]=x;y=y-P*O*N;g[r+156>>2]=y;f=f+1|0}while((f|0)!=(p|0));f=r+136|0;h=r+140|0;i=r+156|0;j=r+152|0}else{f=r+136|0;h=r+140|0;i=r+156|0;j=r+152|0;y=0.0;x=0.0;o=0.0;n=0.0;l=0.0;k=0.0}B=l*n-y*y;N=y*x-n*o;O=y*o-l*x;Q=1.0/(B*k+o*N+O*x);P=(o*x-y*k)*Q;g[r+132>>2]=B*Q;g[f>>2]=N*Q;g[h>>2]=O*Q;g[r+144>>2]=0.0;g[r+148>>2]=N*Q;g[j>>2]=(n*k-x*x)*Q;g[i>>2]=P;g[r+160>>2]=0.0;g[r+164>>2]=O*Q;g[r+168>>2]=P;g[r+172>>2]=(l*k-o*o)*Q;g[r+176>>2]=0.0;c[r+60>>2]=1065353216;c[r+64>>2]=0;c[r+64+4>>2]=0;c[r+64+8>>2]=0;c[r+64+12>>2]=0;c[r+80>>2]=1065353216;c[r+84>>2]=0;c[r+84+4>>2]=0;c[r+84+8>>2]=0;c[r+84+12>>2]=0;c[r+100>>2]=1065353216;c[r+104>>2]=0;c[r+108>>2]=c[r+228>>2];c[r+108+4>>2]=c[r+228+4>>2];c[r+108+8>>2]=c[r+228+8>>2];c[r+108+12>>2]=c[r+228+12>>2];j=c[r+44>>2]|0;if((j|0)<(p|0)){if((c[r+48>>2]|0)<(p|0)){if(!p){f=0;i=j}else{c[7182]=(c[7182]|0)+1;f=xb((p<<4|3)+16|0)|0;if(!f)f=0;else{c[(f+4+15&-16)+-4>>2]=f;f=f+4+15&-16}i=c[r+44>>2]|0}if((i|0)>0){h=0;do{L=f+(h<<4)|0;K=(c[r+52>>2]|0)+(h<<4)|0;c[L>>2]=c[K>>2];c[L+4>>2]=c[K+4>>2];c[L+8>>2]=c[K+8>>2];c[L+12>>2]=c[K+12>>2];h=h+1|0}while((h|0)!=(i|0))}h=c[r+52>>2]|0;if(h|0){if(a[r+56>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[h+-4>>2]|0)}c[r+52>>2]=0}a[r+56>>0]=1;c[r+52>>2]=f;c[r+48>>2]=p;h=r+52|0}else h=r+52|0;f=j;do{L=(c[h>>2]|0)+(f<<4)|0;c[L>>2]=c[M>>2];c[L+4>>2]=c[M+4>>2];c[L+8>>2]=c[M+8>>2];c[L+12>>2]=c[M+12>>2];f=f+1|0}while((f|0)!=(p|0))}c[r+44>>2]=p;if(m){f=0;do{K=c[(c[r+32>>2]|0)+(f<<2)>>2]|0;P=+g[K+12>>2]-+g[r+232>>2];Q=+g[K+16>>2]-+g[r+236>>2];L=c[r+52>>2]|0;g[L+(f<<4)>>2]=+g[K+8>>2]-+g[r+228>>2];g[L+(f<<4)+4>>2]=P;g[L+(f<<4)+8>>2]=Q;g[L+(f<<4)+12>>2]=0.0;f=f+1|0}while((f|0)<(c[r+44>>2]|0))}q=q+1|0}while((q|0)<(c[b+1112>>2]|0))}Yb(b);f=c[b+1112>>2]|0;d=J(f,f)|0;m=c[b+1132>>2]|0;if((d|0)>(m|0)){do if((c[b+1136>>2]|0)<(d|0)){if(!d){f=0;i=m}else{c[7182]=(c[7182]|0)+1;f=xb(d+19|0)|0;if(!f)f=0;else{c[(f+4+15&-16)+-4>>2]=f;f=f+4+15&-16}i=c[b+1132>>2]|0}j=c[b+1140>>2]|0;if((i|0)<=0){if(!j){a[b+1144>>0]=1;c[b+1140>>2]=f;c[b+1136>>2]=d;break}}else{h=0;do{a[f+h>>0]=a[j+h>>0]|0;h=h+1|0}while((h|0)!=(i|0))}if(a[b+1144>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[j+-4>>2]|0)}a[b+1144>>0]=1;c[b+1140>>2]=f;c[b+1136>>2]=d}else f=c[b+1140>>2]|0;while(0);mk(f+m|0,0,d-m|0)|0;f=c[b+1112>>2]|0}c[b+1132>>2]=d;if((f|0)<=0){b=f;sa=M;return b|0}v=c[b+1120>>2]|0;s=c[b+1140>>2]|0;r=0;do{t=c[v+(r<<2)>>2]|0;c[t+380>>2]=r;u=c[t+24>>2]|0;q=0;do{p=c[v+(q<<2)>>2]|0;d=0;while(1){if((d|0)>=(u|0)){h=0;break}i=c[p+24>>2]|0;i:do if((i|0)>0){j=c[(c[t+32>>2]|0)+(d<<2)>>2]|0;m=c[p+32>>2]|0;h=0;while(1){if((j|0)==(c[m+(h<<2)>>2]|0)){h=1;break i}h=h+1|0;if((h|0)>=(i|0)){h=0;break}}}else h=0;while(0);if(h){h=1;break}else d=d+1|0}a[s+((J(q,f)|0)+r)>>0]=h;q=q+1|0}while((q|0)!=(f|0));r=r+1|0}while((r|0)!=(f|0));sa=M;return f|0}function ob(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,h=0,i=0,j=0,k=0,l=0.0,m=0.0,n=0.0,o=0.0,p=0,q=0.0,r=0,s=0.0,t=0,u=0,v=0.0,y=0.0,z=0,A=0.0,B=0,C=0.0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0,I=0.0,K=0,L=0,M=0,N=0,O=0,P=0.0,Q=0.0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0;Z=sa;sa=sa+96|0;f=c[d+4>>2]|0;i=f>>>0>8?f:8;if((i|0)>0){c[7182]=(c[7182]|0)+1;f=xb((i<<4|3)+16|0)|0;if(!f)h=0;else{c[(f+4+15&-16)+-4>>2]=f;h=f+4+15&-16}f=0;do{Y=h+(f<<4)|0;c[Y>>2]=c[Z>>2];c[Y+4>>2]=c[Z+4>>2];c[Y+8>>2]=c[Z+8>>2];c[Y+12>>2]=c[Z+12>>2];f=f+1|0}while((f|0)!=(i|0));Y=h;X=h;f=c[d+4>>2]|0}else{Y=0;X=0}j=c[d+8>>2]|0;z=c[d+12>>2]|0;D=+g[d+16>>2];do if(!f){h=1;f=0}else{i=c[b+24>>2]|0;if((i|0)<0){h=c[b+32>>2]|0;if((c[b+28>>2]|0)<0){if(h|0?a[b+36>>0]|0:0){c[7183]=(c[7183]|0)+1;Hc(c[h+-4>>2]|0)}a[b+36>>0]=1;c[b+32>>2]=0;c[b+28>>2]=0;h=0}mk(h+(i<<2)|0,0,J(i,-4)|0)|0}c[b+24>>2]=0;h=j;i=0;o=3402823466385288598117041.0e14;l=-3402823466385288598117041.0e14;q=3402823466385288598117041.0e14;m=-3402823466385288598117041.0e14;s=3402823466385288598117041.0e14;n=-3402823466385288598117041.0e14;while(1){Q=+g[h>>2];o=Ql?Q:l;Q=+g[h+4>>2];q=Qm?Q:m;Q=+g[h+8>>2];s=Qn?Q:n;i=i+1|0;if((i|0)==(f|0))break;else h=h+z|0}P=l-o;Q=m-q;n=n-s;C=o+P*.5;A=q+Q*.5;y=s+n*.5;do if(f>>>0<3|(P<9.999999974752427e-07|Q<9.999999974752427e-07|n<9.999999974752427e-07)){o=P>9.999999974752427e-07&P<3402823466385288598117041.0e14?P:3402823466385288598117041.0e14;o=Q>9.999999974752427e-07&Q9.999999974752427e-07&n>2]=Q;g[Y+4>>2]=I;g[Y+8>>2]=l;g[Y+16>>2]=P;g[Y+20>>2]=I;g[Y+24>>2]=l;g[Y+32>>2]=P;g[Y+36>>2]=m;g[Y+40>>2]=l;g[Y+48>>2]=Q;g[Y+52>>2]=m;g[Y+56>>2]=l;g[Y+64>>2]=Q;g[Y+68>>2]=I;g[Y+72>>2]=o;g[Y+80>>2]=P;g[Y+84>>2]=I;g[Y+88>>2]=o;g[Y+96>>2]=P;g[Y+100>>2]=m;g[Y+104>>2]=o;g[Y+112>>2]=Q;g[Y+116>>2]=m;g[Y+120>>2]=o;o=1.0;m=1.0;l=1.0;U=8;W=57}else{r=0;u=0;t=j;i=0;while(1){q=1.0/P*+g[t>>2];s=1.0/Q*+g[t+4>>2];v=1.0/n*+g[t+8>>2];t=t+z|0;if(r){h=0;do{j=Y+(h<<4)|0;l=+g[j>>2];k=Y+(h<<4)+4|0;m=+g[k>>2];p=Y+(h<<4)+8|0;o=+g[p>>2];if(+w(+(l-q))>>0>>0);if((W|0)==28){W=0;if((q-1.0/P*C)*(q-1.0/P*C)+(s-1.0/Q*A)*(s-1.0/Q*A)+(v-1.0/n*y)*(v-1.0/n*y)>(l-1.0/P*C)*(l-1.0/P*C)+(m-1.0/Q*A)*(m-1.0/Q*A)+(o-1.0/n*y)*(o-1.0/n*y)){g[j>>2]=q;g[k>>2]=s;g[p>>2]=v}}if((h|0)==(r|0))W=32;else{p=h;K=r}}else{h=0;W=32}if((W|0)==32){W=0;g[Y+(h<<4)>>2]=q;g[Y+(h<<4)+4>>2]=s;g[Y+(h<<4)+8>>2]=v;p=h;K=h+1|0}if((i|0)==(c[b+28>>2]|0)?(B=(i|0)==0?1:i<<1,(i|0)<(B|0)):0){if(!B)h=0;else{c[7182]=(c[7182]|0)+1;h=xb((B<<2|3)+16|0)|0;if(!h)h=0;else{c[(h+4+15&-16)+-4>>2]=h;h=h+4+15&-16}i=c[b+24>>2]|0}k=c[b+32>>2]|0;if((i|0)<=0){if(k)W=43}else{j=0;do{c[h+(j<<2)>>2]=c[k+(j<<2)>>2];j=j+1|0}while((j|0)!=(i|0));W=43}if((W|0)==43){W=0;if(a[b+36>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[k+-4>>2]|0)}c[b+32>>2]=0;i=c[b+24>>2]|0}a[b+36>>0]=1;c[b+32>>2]=h;c[b+28>>2]=B;h=i}else h=i;c[(c[b+32>>2]|0)+(h<<2)>>2]=p;i=(c[b+24>>2]|0)+1|0;c[b+24>>2]=i;u=u+1|0;if((u|0)==(f|0))break;else r=K}t=(K|0)==0;if(t){f=1;v=3402823466385288598117041.0e14;o=-3402823466385288598117041.0e14;s=3402823466385288598117041.0e14;m=-3402823466385288598117041.0e14;q=3402823466385288598117041.0e14;l=-3402823466385288598117041.0e14}else{f=0;A=3402823466385288598117041.0e14;v=3402823466385288598117041.0e14;C=-3402823466385288598117041.0e14;o=-3402823466385288598117041.0e14;E=3402823466385288598117041.0e14;s=3402823466385288598117041.0e14;F=-3402823466385288598117041.0e14;m=-3402823466385288598117041.0e14;H=3402823466385288598117041.0e14;q=3402823466385288598117041.0e14;I=-3402823466385288598117041.0e14;l=-3402823466385288598117041.0e14;while(1){y=+g[Y+(f<<4)>>2];h=yC;o=i?y:o;D=+g[Y+(f<<4)+4>>2];j=DF;m=k?D:m;G=+g[Y+(f<<4)+8>>2];p=GI;l=r?G:l;f=f+1|0;if((f|0)==(K|0))break;else{A=h?y:A;C=i?y:C;E=j?D:E;F=k?D:F;H=p?G:H;I=r?G:I}}f=K>>>0<3}A=o-v;m=m-s;o=l-q;if(!(f|(A<9.999999974752427e-07|m<9.999999974752427e-07|o<9.999999974752427e-07))){if(!t){o=P;m=Q;l=n;U=K;W=57;break}break}y=v+A*.5;v=s+m*.5;s=q+o*.5;q=A>=9.999999974752427e-07&A<3402823466385288598117041.0e14?A:3402823466385288598117041.0e14;q=m>=9.999999974752427e-07&m=9.999999974752427e-07&o>2]=I;g[Y+4>>2]=H;g[Y+8>>2]=G;g[Y+16>>2]=l;g[Y+20>>2]=H;g[Y+24>>2]=G;g[Y+32>>2]=l;g[Y+36>>2]=m;g[Y+40>>2]=G;g[Y+48>>2]=I;g[Y+52>>2]=m;g[Y+56>>2]=G;g[Y+64>>2]=I;g[Y+68>>2]=H;g[Y+72>>2]=o;g[Y+80>>2]=l;g[Y+84>>2]=H;g[Y+88>>2]=o;g[Y+96>>2]=l;g[Y+100>>2]=m;g[Y+104>>2]=o;g[Y+112>>2]=I;g[Y+116>>2]=m;g[Y+120>>2]=o;o=P;m=Q;l=n;U=8;W=57}while(0);if((W|0)==57){f=0;do{V=Y+(f<<4)|0;g[V>>2]=o*+g[V>>2];V=Y+(f<<4)+4|0;g[V>>2]=m*+g[V>>2];V=Y+(f<<4)+8|0;g[V>>2]=l*+g[V>>2];f=f+1|0}while(f>>>0>>0);M=c[d+20>>2]|0;if((U|0)>=4){l=+g[Y>>2];o=+g[Y+4>>2];m=+g[Y+8>>2];V=U<<2;c[7182]=(c[7182]|0)+1;f=xb((V|3)+16|0)|0;if(!f)i=0;else{c[(f+4+15&-16)+-4>>2]=f;i=f+4+15&-16}a[Z+52+16>>0]=1;R=Z+52+12|0;c[R>>2]=0;c[Z+52+4>>2]=0;B=Z+52+8|0;c[B>>2]=0;c[7182]=(c[7182]|0)+1;h=xb((V|3)+16|0)|0;if(h){c[(h+4+15&-16)+-4>>2]=h;f=c[R>>2]|0;if(!f){f=h+4+15&-16;W=63}else{c[7183]=(c[7183]|0)+1;Hc(c[f+-4>>2]|0);a[Z+52+16>>0]=1;c[R>>2]=h+4+15&-16;c[B>>2]=U;z=R}}else{f=0;W=63}if((W|0)==63){a[Z+52+16>>0]=1;c[R>>2]=f;c[B>>2]=U;z=R}u=0;f=0;y=l;v=m;n=m;p=U;t=i;q=o;s=o;k=i;h=U;r=i;while(1){if((f|0)==(h|0)?(L=(f|0)==0?1:f<<1,(f|0)<(L|0)):0){if((L|0)!=0?(c[7182]=(c[7182]|0)+1,S=xb((L<<2|3)+16|0)|0,(S|0)!=0):0){c[(S+4+15&-16)+-4>>2]=S;j=S+4+15&-16}else j=0;i=c[R>>2]|0;if((f|0)<=0){if(i)W=75}else{h=0;do{c[j+(h<<2)>>2]=c[i+(h<<2)>>2];h=h+1|0}while((h|0)!=(f|0));W=75}if((W|0)==75){W=0;c[7183]=(c[7183]|0)+1;Hc(c[i+-4>>2]|0);c[R>>2]=0;f=c[Z+52+4>>2]|0}c[z>>2]=j;c[B>>2]=L}c[(c[R>>2]|0)+(f<<2)>>2]=1;c[Z+52+4>>2]=f+1;do if((u|0)==(p|0)){f=(u|0)==0;h=f?1:u<<1;if((u|0)<(h|0)){if((h|0)!=0?(c[7182]=(c[7182]|0)+1,T=xb((h<<2|3)+16|0)|0,(T|0)!=0):0){c[(T+4+15&-16)+-4>>2]=T;i=T+4+15&-16}else i=0;if(f){if(!t){h=1;N=i;O=i;break}}else{f=0;do{c[i+(f<<2)>>2]=c[t+(f<<2)>>2];f=f+1|0}while((f|0)!=(u|0))}if(!r){N=i;O=i}else{c[7183]=(c[7183]|0)+1;Hc(c[r+-4>>2]|0);N=i;O=i}}else{h=u;N=t;O=k;i=r}}else{h=p;N=t;O=k;i=r}while(0);c[N+(u<<2)>>2]=0;f=u+1|0;P=+g[Y+(u<<4)>>2];o=P>2];s=Q>2];n=m=(U|0))break;u=f;f=c[Z+52+4>>2]|0;y=l;l=o;v=m;p=h;t=N;k=O;h=c[B>>2]|0;r=i}a[Z+52+16>>0]=1;E=+x(+((l-o)*(l-o)+(q-s)*(q-s)+(m-n)*(m-n)))*1.0000000474974513e-03;c[Z>>2]=1008981770;c[Z+4>>2]=1017370378;c[Z+8>>2]=1065353216;g[Z+12>>2]=0.0;K=_d(Y,U,Z,Z+52|0)|0;g[Z+72>>2]=-.009999999776482582;g[Z+72+4>>2]=-.019999999552965164;g[Z+72+8>>2]=-1.0;g[Z+72+12>>2]=0.0;L=_d(Y,U,Z+72|0,Z+52|0)|0;p=Y+(K<<4)|0;r=Y+(L<<4)|0;q=+g[p>>2]-+g[r>>2];t=Y+(K<<4)+4|0;u=Y+(L<<4)+4|0;s=+g[t>>2]-+g[u>>2];z=Y+(K<<4)+8|0;B=Y+(L<<4)+8|0;v=+g[z>>2]-+g[B>>2];g[Z>>2]=q;g[Z+4>>2]=s;g[Z+8>>2]=v;g[Z+12>>2]=0.0;a:do if((K|0)!=(L|0)?!(v==0.0&s==0.0&q==0.0):0){l=v*.019999999552965164-s*0.0;g[Z+16>>2]=l;g[Z+20>>2]=q*0.0-v;g[Z+24>>2]=s-q*.019999999552965164;g[Z+28>>2]=0.0;g[Z+32>>2]=v-s*0.0;g[Z+36>>2]=v*.019999999552965164+q*0.0;g[Z+40>>2]=s*-.019999999552965164-q;g[Z+44>>2]=0.0;m=+x(+(l*l+(q*0.0-v)*(q*0.0-v)+(s-q*.019999999552965164)*(s-q*.019999999552965164)));if(m>+x(+((v-s*0.0)*(v-s*0.0)+(v*.019999999552965164+q*0.0)*(v*.019999999552965164+q*0.0)+(s*-.019999999552965164-q)*(s*-.019999999552965164-q)))){g[Z+16>>2]=l*(1.0/m);g[Z+20>>2]=(q*0.0-v)*(1.0/m);o=(s-q*.019999999552965164)*(1.0/m);n=l*(1.0/m);l=(q*0.0-v)*(1.0/m)}else{c[Z+16>>2]=c[Z+32>>2];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)*P-(y-F)*s)*((q-v)*P-(y-F)*s)+((y-F)*G-(H-I)*P)*((y-F)*G-(H-I)*P))));if(!((+g[p>>2]-F)*(Q==0.0?0.0:((H-I)*s-(q-v)*G)*(1.0/Q))+((+g[j>>2]-I)*(Q==0.0?1.0:((q-v)*P-(y-F)*s)*(1.0/Q))+(+g[k>>2]-v)*(Q==0.0?0.0:((y-F)*G-(H-I)*P)*(1.0/Q)))>E*.009999999776482582))break;rd(b,i,t)}while(0);if(!f)break;i=c[b+12>>2]|0}f=c[b+4>>2]|0;if(!f)break;i=f;c:do{i=i+-1|0;k=c[b+12>>2]|0;p=c[k+(i<<2)>>2]|0;do if(p){r=c[p>>2]|0;do if((r|0)!=(t|0)){j=c[p+4>>2]|0;if((j|0)==(t|0)){j=t;break}if((c[p+8>>2]|0)!=(t|0))break c}else j=c[p+4>>2]|0;while(0);T=c[p+8>>2]|0;H=+g[Y+(j<<4)>>2];I=+g[Y+(r<<4)>>2];q=+g[Y+(j<<4)+4>>2];v=+g[Y+(r<<4)+4>>2];y=+g[Y+(j<<4)+8>>2];F=+g[Y+(r<<4)+8>>2];G=+g[Y+(T<<4)>>2]-H;s=+g[Y+(T<<4)+4>>2]-q;P=+g[Y+(T<<4)+8>>2]-y;Q=+x(+(((H-I)*s-(q-v)*G)*((H-I)*s-(q-v)*G)+(((q-v)*P-(y-F)*s)*((q-v)*P-(y-F)*s)+((y-F)*G-(H-I)*P)*((y-F)*G-(H-I)*P))));if(!(QE*.009999999776482582))break;rd(b,c[k+(c[p+12>>2]<<2)>>2]|0,t);f=c[b+4>>2]|0;i=f}while(0)}while((i|0)!=0);if(!f)break;do{f=f+-1|0;j=c[(c[b+12>>2]|0)+(f<<2)>>2]|0;if(j|0){if((c[j+28>>2]|0)>-1)break b;S=c[j>>2]|0;M=c[j+4>>2]|0;T=c[j+8>>2]|0;q=+g[Y+(M<<4)>>2];n=q-+g[Y+(S<<4)>>2];s=+g[Y+(M<<4)+4>>2];o=s-+g[Y+(S<<4)+4>>2];m=+g[Y+(M<<4)+8>>2];l=m-+g[Y+(S<<4)+8>>2];q=+g[Y+(T<<4)>>2]-q;s=+g[Y+(T<<4)+4>>2]-s;m=+g[Y+(T<<4)+8>>2]-m;v=+x(+((n*s-o*q)*(n*s-o*q)+((o*m-l*s)*(o*m-l*s)+(l*q-n*m)*(l*q-n*m))));if(v==0.0){c[Z>>2]=1065353216;c[Z+4>>2]=0;c[Z+8>>2]=0;y=1.0;m=0.0;l=0.0}else{g[Z>>2]=(o*m-l*s)*(1.0/v);g[Z+4>>2]=(l*q-n*m)*(1.0/v);g[Z+8>>2]=(n*s-o*q)*(1.0/v);y=(o*m-l*s)*(1.0/v);m=(l*q-n*m)*(1.0/v);l=(n*s-o*q)*(1.0/v)}g[Z+12>>2]=0.0;i=_d(Y,U,Z,Z+52|0)|0;c[j+28>>2]=i;if(!(c[N+(i<<2)>>2]|0)){T=c[j>>2]|0;g[j+32>>2]=(+g[Y+(i<<4)>>2]-+g[Y+(T<<4)>>2])*y+(+g[Y+(i<<4)+4>>2]-+g[Y+(T<<4)+4>>2])*m+(+g[Y+(i<<4)+8>>2]-+g[Y+(T<<4)+8>>2])*l}else c[j+28>>2]=-1}}while((f|0)!=0)}while(0);if((h|0)<=1){f=1;break a}h=h+-1|0;f=c[b+4>>2]|0}else f=1}else f=0}else W=101}else W=101}else W=101;while(0);if((W|0)==101)f=0;h=c[R>>2]|0;if(h|0){c[7183]=(c[7183]|0)+1;Hc(c[h+-4>>2]|0);c[R>>2]=0}if(!((N|0)==0|(O|0)==0)){c[7183]=(c[7183]|0)+1;Hc(c[O+-4>>2]|0)}if(f){h=c[b+4>>2]|0;if((h|0)>0){B=0;r=0;j=0;p=0;u=0;i=0;while(1){k=c[(c[b+12>>2]|0)+(B<<2)>>2]|0;if(!k)f=u;else{do if((p|0)==(r|0)){h=(r|0)==0?1:r<<1;if((r|0)>=(h|0)){h=r;break}do if(!h)i=0;else{c[7182]=(c[7182]|0)+1;f=xb((h<<2|3)+16|0)|0;if(!f){i=0;break}c[(f+4+15&-16)+-4>>2]=f;i=f+4+15&-16}while(0);if((r|0)>0){f=0;do{c[i+(f<<2)>>2]=c[j+(f<<2)>>2];f=f+1|0}while((f|0)!=(r|0));if(!u){j=i;u=i;break}}else if((j|0)==0|(u|0)==0){j=i;u=i;break}c[7183]=(c[7183]|0)+1;Hc(c[u+-4>>2]|0);j=i;u=i}else h=r;while(0);c[j+(p<<2)>>2]=c[k>>2];r=p+1|0;t=(c[(c[b+12>>2]|0)+(B<<2)>>2]|0)+4|0;do if((r|0)==(h|0)){k=(h|0)==0?1:h<<1;if((h|0)>=(k|0)){z=u;break}do if(!k)i=0;else{c[7182]=(c[7182]|0)+1;f=xb((k<<2|3)+16|0)|0;if(!f){i=0;break}c[(f+4+15&-16)+-4>>2]=f;i=f+4+15&-16}while(0);if((h|0)>0){f=0;do{c[i+(f<<2)>>2]=c[j+(f<<2)>>2];f=f+1|0}while((f|0)!=(h|0));if(!u){h=k;j=i;z=i;break}}else if((j|0)==0|(u|0)==0){h=k;j=i;z=i;break}c[7183]=(c[7183]|0)+1;Hc(c[u+-4>>2]|0);h=k;j=i;z=i}else z=u;while(0);c[j+(r<<2)>>2]=c[t>>2];t=p+2|0;u=(c[(c[b+12>>2]|0)+(B<<2)>>2]|0)+8|0;do if((t|0)==(h|0)){k=(h|0)==0?1:h<<1;if((h|0)>=(k|0)){k=z;break}do if(!k)r=0;else{c[7182]=(c[7182]|0)+1;f=xb((k<<2|3)+16|0)|0;if(!f){r=0;break}c[(f+4+15&-16)+-4>>2]=f;r=f+4+15&-16}while(0);if((h|0)>0){f=0;do{c[r+(f<<2)>>2]=c[j+(f<<2)>>2];f=f+1|0}while((f|0)!=(h|0));if(!z){h=k;j=r;i=r;k=r;break}}else if((j|0)==0|(z|0)==0){h=k;j=r;i=r;k=r;break}c[7183]=(c[7183]|0)+1;Hc(c[z+-4>>2]|0);h=k;j=r;i=r;k=r}else k=z;while(0);c[j+(t<<2)>>2]=c[u>>2];T=c[b+12>>2]|0;f=c[T+(B<<2)>>2]|0;c[T+(c[f+24>>2]<<2)>>2]=0;if(f|0){c[7183]=(c[7183]|0)+1;Hc(c[f+-4>>2]|0)}r=h;p=p+3|0;h=c[b+4>>2]|0;f=k}B=B+1|0;if((B|0)>=(h|0))break;else u=f}c[Z+48>>2]=(p|0)/3|0;if((p|0)>0){c[7182]=(c[7182]|0)+1;f=xb((p<<2|3)+16|0)|0;if(!f)h=0;else{c[(f+4+15&-16)+-4>>2]=f;h=f+4+15&-16}mk(h|0,0,p<<2|0)|0;f=0;do{c[h+(f<<2)>>2]=c[j+(f<<2)>>2];f=f+1|0}while((f|0)!=(p|0));k=h;f=h}else{k=0;f=0}r=i;O=p;h=c[b+4>>2]|0;K=k}else{c[Z+48>>2]=0;r=0;j=0;f=0;O=0;K=0}if((h|0)<0){if((c[b+8>>2]|0)<0){i=c[b+12>>2]|0;if(i|0){if(a[b+16>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[i+-4>>2]|0)}c[b+12>>2]=0}a[b+16>>0]=1;c[b+12>>2]=0;c[b+8>>2]=0}do{c[(c[b+12>>2]|0)+(h<<2)>>2]=0;h=h+1|0}while((h|0)!=0)}c[b+4>>2]=0;if(!((j|0)==0|(r|0)==0)){c[7183]=(c[7183]|0)+1;Hc(c[r+-4>>2]|0)}N=c[Z+48>>2]|0;k=(U|0)>0;if(k){c[7182]=(c[7182]|0)+1;h=xb((U<<4|3)+16|0)|0;if(!h)i=0;else{c[(h+4+15&-16)+-4>>2]=h;i=h+4+15&-16}h=0;do{T=i+(h<<4)|0;c[T>>2]=c[Z>>2];c[T+4>>2]=c[Z+4>>2];c[T+8>>2]=c[Z+8>>2];c[T+12>>2]=c[Z+12>>2];h=h+1|0}while((h|0)!=(U|0));M=i;L=i}else{M=0;L=0}i=c[b+24>>2]|0;do if((i|0)>0){c[7182]=(c[7182]|0)+1;h=xb((i<<2|3)+16|0)|0;if(!h)j=0;else{c[(h+4+15&-16)+-4>>2]=h;j=h+4+15&-16}mk(j|0,0,i<<2|0)|0;if((c[b+24>>2]|0)<=0){B=j;z=j;break}i=c[b+32>>2]|0;h=0;do{c[j+(h<<2)>>2]=c[i+(h<<2)>>2];h=h+1|0}while((h|0)<(c[b+24>>2]|0));B=j;z=j}else{B=0;z=0}while(0);if(k){c[7182]=(c[7182]|0)+1;h=xb((V|3)+16|0)|0;if(!h)h=0;else{c[(h+4+15&-16)+-4>>2]=h;h=h+4+15&-16}mk(h|0,0,V|0)|0;t=h;u=h}else{t=0;u=0}mk(u|0,0,V|0)|0;if((N|0)<=0)if(!t)r=0;else{h=0;W=241}else{r=0;h=0;do{i=f+(r<<2)|0;k=c[i>>2]|0;p=t+(k<<2)|0;j=c[p>>2]|0;if(!j){c[i>>2]=h;c[M+(h<<4)>>2]=c[X+(k<<4)>>2];c[M+(h<<4)+4>>2]=c[X+(k<<4)+4>>2];c[M+(h<<4)+8>>2]=c[X+(k<<4)+8>>2];i=c[b+24>>2]|0;if((i|0)>0){j=0;do{if((c[B+(j<<2)>>2]|0)==(k|0)){c[(c[b+32>>2]|0)+(j<<2)>>2]=h;i=c[b+24>>2]|0}j=j+1|0}while((j|0)<(i|0))}h=h+1|0;c[p>>2]=h}else c[i>>2]=j+-1;r=r+1|0}while((r|0)!=(N*3|0));W=241}do if((W|0)==241){if(!u){r=h;break}c[7183]=(c[7183]|0)+1;Hc(c[u+-4>>2]|0);r=h}while(0);if(!((B|0)==0|(z|0)==0)){c[7183]=(c[7183]|0)+1;Hc(c[z+-4>>2]|0)}do if(!(c[d>>2]&1)){a[e>>0]=1;c[e+4>>2]=r;k=c[e+12>>2]|0;if((k|0)<(r|0)){if((c[e+16>>2]|0)<(r|0)){if(!r){h=0;j=k}else{c[7182]=(c[7182]|0)+1;h=xb((r<<4|3)+16|0)|0;if(!h)h=0;else{c[(h+4+15&-16)+-4>>2]=h;h=h+4+15&-16}j=c[e+12>>2]|0}if((j|0)>0){i=0;do{b=h+(i<<4)|0;W=(c[e+20>>2]|0)+(i<<4)|0;c[b>>2]=c[W>>2];c[b+4>>2]=c[W+4>>2];c[b+8>>2]=c[W+8>>2];c[b+12>>2]=c[W+12>>2];i=i+1|0}while((i|0)!=(j|0))}i=c[e+20>>2]|0;if(i|0){if(a[e+24>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[i+-4>>2]|0)}c[e+20>>2]=0}a[e+24>>0]=1;c[e+20>>2]=h;c[e+16>>2]=r;i=e+20|0}else i=e+20|0;h=k;do{b=(c[i>>2]|0)+(h<<4)|0;c[b>>2]=c[Z>>2];c[b+4>>2]=c[Z+4>>2];c[b+8>>2]=c[Z+8>>2];c[b+12>>2]=c[Z+12>>2];h=h+1|0}while((h|0)!=(r|0))}c[e+12>>2]=r;c[e+28>>2]=N;c[e+32>>2]=N<<2;p=c[e+40>>2]|0;if((N<<2|0)>(p|0)){d:do if((c[e+44>>2]|0)<(N<<2|0)){if(!(N<<2)){h=0;j=p}else{c[7182]=(c[7182]|0)+1;h=xb((N<<4|3)+16|0)|0;if(!h)h=0;else{c[(h+4+15&-16)+-4>>2]=h;h=h+4+15&-16}j=c[e+40>>2]|0}k=c[e+48>>2]|0;do if((j|0)>0){i=0;do{c[h+(i<<2)>>2]=c[k+(i<<2)>>2];i=i+1|0}while((i|0)!=(j|0))}else{if(k|0)break;a[e+52>>0]=1;c[e+48>>2]=h;c[e+44>>2]=N<<2;break d}while(0);if(a[e+52>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[k+-4>>2]|0)}a[e+52>>0]=1;c[e+48>>2]=h;c[e+44>>2]=N<<2}else h=c[e+48>>2]|0;while(0);mk(h+(p<<2)|0,0,(N<<2)-p<<2|0)|0}c[e+40>>2]=N<<2;Bh(c[e+20>>2]|0,L|0,r<<4|0)|0;if(!N)break;k=0;h=c[e+48>>2]|0;i=f;while(1){c[h>>2]=3;if(!(c[d>>2]&2)){c[h+4>>2]=c[i>>2];j=i+8|0}else{c[h+4>>2]=c[i+8>>2];j=i}c[h+8>>2]=c[i+4>>2];c[h+12>>2]=c[j>>2];k=k+1|0;if((k|0)==(N|0))break;else{h=h+16|0;i=i+12|0}}}else{a[e>>0]=0;c[e+4>>2]=r;k=c[e+12>>2]|0;if((k|0)<(r|0)){if((c[e+16>>2]|0)<(r|0)){if(!r){h=0;j=k}else{c[7182]=(c[7182]|0)+1;h=xb((r<<4|3)+16|0)|0;if(!h)h=0;else{c[(h+4+15&-16)+-4>>2]=h;h=h+4+15&-16}j=c[e+12>>2]|0}if((j|0)>0){i=0;do{b=h+(i<<4)|0;W=(c[e+20>>2]|0)+(i<<4)|0;c[b>>2]=c[W>>2];c[b+4>>2]=c[W+4>>2];c[b+8>>2]=c[W+8>>2];c[b+12>>2]=c[W+12>>2];i=i+1|0}while((i|0)!=(j|0))}i=c[e+20>>2]|0;if(i|0){if(a[e+24>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[i+-4>>2]|0)}c[e+20>>2]=0}a[e+24>>0]=1;c[e+20>>2]=h;c[e+16>>2]=r;i=e+20|0}else i=e+20|0;h=k;do{b=(c[i>>2]|0)+(h<<4)|0;c[b>>2]=c[Z>>2];c[b+4>>2]=c[Z+4>>2];c[b+8>>2]=c[Z+8>>2];c[b+12>>2]=c[Z+12>>2];h=h+1|0}while((h|0)!=(r|0))}c[e+12>>2]=r;c[e+28>>2]=N;c[e+32>>2]=N*3;p=c[e+40>>2]|0;if((p|0)<(N*3|0)){e:do if((c[e+44>>2]|0)<(N*3|0)){if(!N){h=0;j=p}else{c[7182]=(c[7182]|0)+1;h=xb((N*12|3)+16|0)|0;if(!h)h=0;else{c[(h+4+15&-16)+-4>>2]=h;h=h+4+15&-16}j=c[e+40>>2]|0}k=c[e+48>>2]|0;do if((j|0)>0){i=0;do{c[h+(i<<2)>>2]=c[k+(i<<2)>>2];i=i+1|0}while((i|0)!=(j|0))}else{if(k|0)break;a[e+52>>0]=1;c[e+48>>2]=h;c[e+44>>2]=N*3;break e}while(0);if(a[e+52>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[k+-4>>2]|0)}a[e+52>>0]=1;c[e+48>>2]=h;c[e+44>>2]=N*3}else h=c[e+48>>2]|0;while(0);mk(h+(p<<2)|0,0,(N*12|0)-(p<<2)|0)|0}c[e+40>>2]=N*3;Bh(c[e+20>>2]|0,L|0,r<<4|0)|0;if(!(c[d>>2]&2)){Bh(c[e+48>>2]|0,K|0,N*12|0)|0;break}if(!N)break;j=0;h=c[e+48>>2]|0;i=f;while(1){c[h>>2]=c[i+8>>2];c[h+4>>2]=c[i+4>>2];c[h+8>>2]=c[i>>2];j=j+1|0;if((j|0)==(N|0))break;else{h=h+12|0;i=i+12|0}}}while(0);do if(O){if(!f){f=0;break}c[7183]=(c[7183]|0)+1;Hc(c[f+-4>>2]|0);f=0}while(0);if((M|0)==0|(L|0)==0){h=0;break}c[7183]=(c[7183]|0)+1;Hc(c[L+-4>>2]|0);h=0;break}}}h=1;f=0}while(0);if(!((Y|0)==0|(X|0)==0)){c[7183]=(c[7183]|0)+1;Hc(c[X+-4>>2]|0)}if(!f){sa=Z;return h|0}c[7183]=(c[7183]|0)+1;Hc(c[f+-4>>2]|0);sa=Z;return h|0}function pb(b){b=b|0;var d=0,e=0,f=0,h=0,i=0.0,j=0.0,k=0.0,l=0,m=0,n=0,o=0,p=0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0.0,W=0.0,X=0.0,Y=0.0,Z=0.0,_=0.0,$=0.0,aa=0.0,ba=0.0,ca=0.0,da=0.0,ea=0.0;U=sa;sa=sa+176|0;rb(b);if(!(Fa[c[(c[b>>2]|0)+20>>2]&127](b)|0)){sa=U;return}if((c[b+328>>2]|0)<=0){sa=U;return}S=U+96+32|0;T=U+96+52|0;L=0;do{O=c[(c[b+336>>2]|0)+(L<<2)>>2]|0;if(Fa[c[(c[b>>2]|0)+20>>2]&127](b)|0?(K=Fa[c[(c[b>>2]|0)+20>>2]&127](b)|0,(Fa[c[(c[K>>2]|0)+48>>2]&127](K)|0)&1|0):0){e=c[b+72>>2]|0;if(!(a[O+473>>0]|0))K=e;else{c[U+80>>2]=c[O+520>>2];c[U+80+4>>2]=c[O+520+4>>2];c[U+80+8>>2]=c[O+520+8>>2];c[U+80+12>>2]=c[O+520+12>>2];i=+g[O+584>>2];j=+g[O+536>>2];k=+g[O+600>>2];q=+g[O+540>>2];r=+g[O+616>>2];s=+g[O+544>>2];t=+g[O+588>>2];u=+g[O+604>>2];v=+g[O+620>>2];w=+g[O+592>>2];y=+g[O+608>>2];z=+g[O+624>>2];A=+g[O+552>>2];B=+g[O+556>>2];C=+g[O+560>>2];D=+g[O+568>>2];E=+g[O+572>>2];F=+g[O+576>>2];ea=i*j+k*q+r*s+(j*t+q*u+s*v)*0.0+(j*w+q*y+s*z)*0.0;ca=(w*A+y*B+z*C)*0.0+(i*A+k*B+r*C+(t*A+u*B+v*C)*0.0);ba=(w*D+y*E+z*F)*0.0+(i*D+k*E+r*F+(t*D+u*E+v*F)*0.0);da=1.0/+x(+(ea*ea+ca*ca+ba*ba));aa=(i*j+k*q+r*s)*0.0+(j*t+q*u+s*v)+(j*w+q*y+s*z)*0.0;_=(w*A+y*B+z*C)*0.0+(t*A+u*B+v*C+(i*A+k*B+r*C)*0.0);Z=(w*D+y*E+z*F)*0.0+(t*D+u*E+v*F+(i*D+k*E+r*F)*0.0);$=1.0/+x(+(aa*aa+_*_+Z*Z));Y=(i*j+k*q+r*s)*0.0+(j*t+q*u+s*v)*0.0+(j*w+q*y+s*z);W=w*A+y*B+z*C+((i*A+k*B+r*C)*0.0+(t*A+u*B+v*C)*0.0);V=w*D+y*E+z*F+((i*D+k*E+r*F)*0.0+(t*D+u*E+v*F)*0.0);X=1.0/+x(+(Y*Y+W*W+V*V));K=c[(c[e>>2]|0)+8>>2]|0;ca=+g[U+80+4>>2]+ca*da*10.0;ba=+g[U+80+8>>2]+ba*da*10.0;g[U+160>>2]=+g[U+80>>2]+ea*da*10.0;g[U+160+4>>2]=ca;g[U+160+8>>2]=ba;g[U+160+12>>2]=0.0;c[U+96>>2]=1065353216;c[U+96+4>>2]=0;c[U+96+8>>2]=0;g[U+96+12>>2]=0.0;ab[K&127](e,U+80|0,U+160|0,U+96|0);K=c[(c[e>>2]|0)+8>>2]|0;_=_*$*10.0+ +g[U+80+4>>2];Z=Z*$*10.0+ +g[U+80+8>>2];g[U+160>>2]=aa*$*10.0+ +g[U+80>>2];g[U+160+4>>2]=_;g[U+160+8>>2]=Z;g[U+160+12>>2]=0.0;c[U+96>>2]=0;c[U+96+4>>2]=1065353216;c[U+96+8>>2]=0;g[U+96+12>>2]=0.0;ab[K&127](e,U+80|0,U+160|0,U+96|0);K=c[(c[e>>2]|0)+8>>2]|0;W=W*X*10.0+ +g[U+80+4>>2];V=V*X*10.0+ +g[U+80+8>>2];g[U+160>>2]=Y*X*10.0+ +g[U+80>>2];g[U+160+4>>2]=W;g[U+160+8>>2]=V;g[U+160+12>>2]=0.0;c[U+96>>2]=0;c[U+96+4>>2]=0;c[U+96+8>>2]=1065353216;g[U+96+12>>2]=0.0;ab[K&127](e,U+80|0,U+160|0,U+96|0);if((c[O+484>>2]|0)>0){d=0;do{K=c[O+492>>2]|0;aa=+g[K+(d<<4)>>2];ba=+g[K+(d<<4)+4>>2];ea=+g[K+(d<<4)+8>>2];ca=+g[U+80>>2]+((i*j+k*q+r*s)*aa+(j*t+q*u+s*v)*ba+(j*w+q*y+s*z)*ea);da=+g[U+80+4>>2]+((i*A+k*B+r*C)*aa+(t*A+u*B+v*C)*ba+(w*A+y*B+z*C)*ea);ea=(i*D+k*E+r*F)*aa+(t*D+u*E+v*F)*ba+(w*D+y*E+z*F)*ea+ +g[U+80+8>>2];c[U+64>>2]=1065353216;c[U+64+4>>2]=0;c[U+64+8>>2]=1065353216;g[U+64+12>>2]=0.0;K=c[(c[e>>2]|0)+8>>2]|0;g[U+160>>2]=ca+-.10000000149011612;g[U+160+4>>2]=da;g[U+160+8>>2]=ea;g[U+160+12>>2]=0.0;g[U+96>>2]=ca+.10000000149011612;g[U+96+4>>2]=da+0.0;g[U+96+8>>2]=ea+0.0;g[U+96+12>>2]=0.0;ab[K&127](e,U+160|0,U+96|0,U+64|0);K=c[(c[e>>2]|0)+8>>2]|0;g[U+160>>2]=ca;g[U+160+4>>2]=da+-.10000000149011612;g[U+160+8>>2]=ea;g[U+160+12>>2]=0.0;g[U+96>>2]=ca+0.0;g[U+96+4>>2]=da+.10000000149011612;g[U+96+8>>2]=ea+0.0;g[U+96+12>>2]=0.0;ab[K&127](e,U+160|0,U+96|0,U+64|0);K=c[(c[e>>2]|0)+8>>2]|0;g[U+160>>2]=ca;g[U+160+4>>2]=da;g[U+160+8>>2]=ea+-.10000000149011612;g[U+160+12>>2]=0.0;g[U+96>>2]=ca+0.0;g[U+96+4>>2]=da+0.0;g[U+96+8>>2]=ea+.10000000149011612;g[U+96+12>>2]=0.0;ab[K&127](e,U+160|0,U+96|0,U+64|0);d=d+1|0}while((d|0)<(c[O+484>>2]|0))}K=c[b+72>>2]|0}J=c[b+344>>2]|0;c[U+80>>2]=0;c[U+80+4>>2]=0;c[U+80+8>>2]=0;c[U+80+12>>2]=0;c[U+64>>2]=1065353216;c[U+64+4>>2]=1065353216;c[U+64+8>>2]=1065353216;g[U+64+12>>2]=0.0;c[U+48>>2]=1065353216;c[U+48+4>>2]=0;c[U+48+8>>2]=0;g[U+48+12>>2]=0.0;if(!(J&256)){if(J&1|0?(P=c[O+712>>2]|0,(P|0)>0):0){f=0;d=P;do{e=c[O+720>>2]|0;if(c[(c[e+(f*104|0)+4>>2]|0)+16>>2]&1){d=c[(c[K>>2]|0)+8>>2]|0;I=e+(f*104|0)+8|0;G=e+(f*104|0)+12|0;o=c[G>>2]|0;H=e+(f*104|0)+16|0;p=c[H>>2]|0;g[U+160>>2]=+g[I>>2]+-.10000000149011612;c[U+160+4>>2]=o;c[U+160+8>>2]=p;g[U+160+12>>2]=0.0;da=+g[G>>2]+0.0;ea=+g[H>>2]+0.0;g[U+96>>2]=+g[I>>2]+.10000000149011612;g[U+96+4>>2]=da;g[U+96+8>>2]=ea;g[U+96+12>>2]=0.0;c[U+32>>2]=1065353216;c[U+32+4>>2]=0;c[U+32+8>>2]=0;g[U+32+12>>2]=0.0;ab[d&127](K,U+160|0,U+96|0,U+32|0);d=c[(c[K>>2]|0)+8>>2]|0;ea=+g[G>>2]+-.10000000149011612;p=c[H>>2]|0;c[U+160>>2]=c[I>>2];g[U+160+4>>2]=ea;c[U+160+8>>2]=p;g[U+160+12>>2]=0.0;ea=+g[G>>2]+.10000000149011612;da=+g[H>>2]+0.0;g[U+96>>2]=+g[I>>2]+0.0;g[U+96+4>>2]=ea;g[U+96+8>>2]=da;g[U+96+12>>2]=0.0;c[U+32>>2]=0;c[U+32+4>>2]=1065353216;c[U+32+8>>2]=0;g[U+32+12>>2]=0.0;ab[d&127](K,U+160|0,U+96|0,U+32|0);d=c[(c[K>>2]|0)+8>>2]|0;p=c[G>>2]|0;da=+g[H>>2]+-.10000000149011612;c[U+160>>2]=c[I>>2];c[U+160+4>>2]=p;g[U+160+8>>2]=da;g[U+160+12>>2]=0.0;da=+g[G>>2]+0.0;ea=+g[H>>2]+.10000000149011612;g[U+96>>2]=+g[I>>2]+0.0;g[U+96+4>>2]=da;g[U+96+8>>2]=ea;g[U+96+12>>2]=0.0;c[U+32>>2]=0;c[U+32+4>>2]=0;c[U+32+8>>2]=1065353216;g[U+32+12>>2]=0.0;ab[d&127](K,U+160|0,U+96|0,U+32|0);d=c[O+712>>2]|0}f=f+1|0}while((f|0)<(d|0))}if(J&2|0?(Q=c[O+732>>2]|0,(Q|0)>0):0){f=0;d=Q;do{e=c[O+740>>2]|0;if(c[(c[e+(f*52|0)+4>>2]|0)+16>>2]&1){ab[c[(c[K>>2]|0)+8>>2]&127](K,(c[e+(f*52|0)+8>>2]|0)+8|0,(c[e+(f*52|0)+12>>2]|0)+8|0,U+80|0);d=c[O+732>>2]|0}f=f+1|0}while((f|0)<(d|0))}if(J&16|0?(R=c[O+712>>2]|0,(R|0)>0):0){f=0;d=R;do{e=c[O+720>>2]|0;if(c[(c[e+(f*104|0)+4>>2]|0)+16>>2]&1){ca=+g[e+(f*104|0)+72>>2]*.5;ea=+g[e+(f*104|0)+76>>2]*.5;da=+g[e+(f*104|0)+80>>2]*.5;I=c[(c[K>>2]|0)+8>>2]|0;d=e+(f*104|0)+8|0;G=e+(f*104|0)+12|0;aa=ea+ +g[G>>2];H=e+(f*104|0)+16|0;ba=da+ +g[H>>2];g[U+160>>2]=ca+ +g[d>>2];g[U+160+4>>2]=aa;g[U+160+8>>2]=ba;g[U+160+12>>2]=0.0;ab[I&127](K,d,U+160|0,U+64|0);I=c[(c[K>>2]|0)+8>>2]|0;ea=+g[G>>2]-ea;da=+g[H>>2]-da;g[U+160>>2]=+g[d>>2]-ca;g[U+160+4>>2]=ea;g[U+160+8>>2]=da;g[U+160+12>>2]=0.0;da=+g[U+64+4>>2]*.5;ea=+g[U+64+8>>2]*.5;g[U+96>>2]=+g[U+64>>2]*.5;g[U+96+4>>2]=da;g[U+96+8>>2]=ea;g[U+96+12>>2]=0.0;ab[I&127](K,d,U+160|0,U+96|0);d=c[O+712>>2]|0}f=f+1|0}while((f|0)<(d|0))}if(J&32|0){if((a[26696]|0)==0?mz(26696)|0:0){c[6092]=1065353216;c[6093]=0;c[6094]=0;c[6095]=0;c[6096]=0;c[6097]=1065353216;c[6098]=0;c[6099]=0;c[6100]=0;c[6101]=0;c[6102]=1065353216;g[6103]=0.0}if((c[O+812>>2]|0)>0){d=0;do{I=c[O+820>>2]|0;G=c[I+(d*104|0)+24>>2]|0;A=+g[G+8>>2];H=I+(d*104|0)+4|0;B=+g[H>>2];C=+g[G+12>>2];p=I+(d*104|0)+8|0;D=+g[p>>2];V=+g[G+16>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4>>2];ea=+g[G>>2]*.5*3.0+ +g[U+160+8>>2];g[U+96>>2]=+g[H>>2]*.5*3.0+ +g[U+160>>2];g[U+96+4>>2]=da;g[U+96+8>>2]=ea;g[U+96+12>>2]=0.0;c[U+32>>2]=1065353216;c[U+32+4>>2]=1065353216;c[U+32+8>>2]=0;g[U+32+12>>2]=0.0;ab[I&127](K,U+160|0,U+96|0,U+32|0);d=d+1|0}while((d|0)<(c[O+812>>2]|0))}}if(J&4|0?(c[U+160>>2]=0,c[U+160+4>>2]=1060320051,c[U+160+8>>2]=0,g[U+160+12>>2]=0.0,M=c[O+752>>2]|0,(M|0)>0):0){f=0;d=M;do{e=c[O+760>>2]|0;if(c[(c[e+(f*44|0)+4>>2]|0)+16>>2]&1){d=c[e+(f*44|0)+8>>2]|0;Y=+g[d+8>>2];$=+g[d+12>>2];ca=+g[d+16>>2];d=c[e+(f*44|0)+12>>2]|0;Z=+g[d+8>>2];aa=+g[d+12>>2];da=+g[d+16>>2];d=c[e+(f*44|0)+16>>2]|0;_=+g[d+8>>2];ba=+g[d+12>>2];ea=+g[d+16>>2];d=c[(c[K>>2]|0)+28>>2]|0;g[U+96>>2]=(Y+Z+_)*.3333333432674408+(Y-(Y+Z+_)*.3333333432674408)*.800000011920929;g[U+96+4>>2]=($+aa+ba)*.3333333432674408+($-($+aa+ba)*.3333333432674408)*.800000011920929;g[U+96+8>>2]=(ca+da+ea)*.3333333432674408+(ca-(ca+da+ea)*.3333333432674408)*.800000011920929;g[U+96+12>>2]=0.0;g[U+32>>2]=(Y+Z+_)*.3333333432674408+(Z-(Y+Z+_)*.3333333432674408)*.800000011920929;g[U+32+4>>2]=($+aa+ba)*.3333333432674408+(aa-($+aa+ba)*.3333333432674408)*.800000011920929;g[U+32+8>>2]=(ca+da+ea)*.3333333432674408+(da-(ca+da+ea)*.3333333432674408)*.800000011920929;g[U+32+12>>2]=0.0;g[U+16>>2]=(Y+Z+_)*.3333333432674408+(_-(Y+Z+_)*.3333333432674408)*.800000011920929;g[U+16+4>>2]=($+aa+ba)*.3333333432674408+(ba-($+aa+ba)*.3333333432674408)*.800000011920929;g[U+16+8>>2]=(ca+da+ea)*.3333333432674408+(ea-(ca+da+ea)*.3333333432674408)*.800000011920929;g[U+16+12>>2]=0.0;fb[d&1](K,U+96|0,U+32|0,U+16|0,U+160|0,1.0);d=c[O+752>>2]|0}f=f+1|0}while((f|0)<(d|0))}if(J&8|0?(c[U+160>>2]=1050253722,c[U+160+4>>2]=1050253722,c[U+160+8>>2]=1060320051,g[U+160+12>>2]=0.0,N=c[O+772>>2]|0,(N|0)>0):0){f=0;d=N;do{e=c[O+780>>2]|0;if(c[(c[e+(f*104|0)+4>>2]|0)+16>>2]&1){d=c[e+(f*104|0)+8>>2]|0;w=+g[d+8>>2];A=+g[d+12>>2];D=+g[d+16>>2];d=c[e+(f*104|0)+12>>2]|0;y=+g[d+8>>2];B=+g[d+12>>2];E=+g[d+16>>2];d=c[e+(f*104|0)+16>>2]|0;z=+g[d+8>>2];C=+g[d+12>>2];F=+g[d+16>>2];d=c[e+(f*104|0)+20>>2]|0;ca=+g[d+8>>2];da=+g[d+12>>2];ea=+g[d+16>>2];d=c[(c[K>>2]|0)+28>>2]|0;$=(w+y+z+ca)*.25+(w-(w+y+z+ca)*.25)*.800000011920929;aa=(A+B+C+da)*.25+(A-(A+B+C+da)*.25)*.800000011920929;ba=(D+E+F+ea)*.25+(D-(D+E+F+ea)*.25)*.800000011920929;g[U+96>>2]=$;g[U+96+4>>2]=aa;g[U+96+8>>2]=ba;g[U+96+12>>2]=0.0;V=(w+y+z+ca)*.25+(y-(w+y+z+ca)*.25)*.800000011920929;W=(A+B+C+da)*.25+(B-(A+B+C+da)*.25)*.800000011920929;X=(D+E+F+ea)*.25+(E-(D+E+F+ea)*.25)*.800000011920929;g[U+32>>2]=V;g[U+32+4>>2]=W;g[U+32+8>>2]=X;g[U+32+12>>2]=0.0;Y=(w+y+z+ca)*.25+(z-(w+y+z+ca)*.25)*.800000011920929;Z=(A+B+C+da)*.25+(C-(A+B+C+da)*.25)*.800000011920929;_=(D+E+F+ea)*.25+(F-(D+E+F+ea)*.25)*.800000011920929;g[U+16>>2]=Y;g[U+16+4>>2]=Z;g[U+16+8>>2]=_;g[U+16+12>>2]=0.0;fb[d&1](K,U+96|0,U+32|0,U+16|0,U+160|0,1.0);d=c[(c[K>>2]|0)+28>>2]|0;g[U+96>>2]=$;g[U+96+4>>2]=aa;g[U+96+8>>2]=ba;g[U+96+12>>2]=0.0;g[U+32>>2]=V;g[U+32+4>>2]=W;g[U+32+8>>2]=X;g[U+32+12>>2]=0.0;ca=(w+y+z+ca)*.25+(ca-(w+y+z+ca)*.25)*.800000011920929;da=(A+B+C+da)*.25+(da-(A+B+C+da)*.25)*.800000011920929;ea=(D+E+F+ea)*.25+(ea-(D+E+F+ea)*.25)*.800000011920929;g[U+16>>2]=ca;g[U+16+4>>2]=da;g[U+16+8>>2]=ea;g[U+16+12>>2]=0.0;fb[d&1](K,U+96|0,U+32|0,U+16|0,U+160|0,1.0);d=c[(c[K>>2]|0)+28>>2]|0;g[U+96>>2]=V;g[U+96+4>>2]=W;g[U+96+8>>2]=X;g[U+96+12>>2]=0.0;g[U+32>>2]=Y;g[U+32+4>>2]=Z;g[U+32+8>>2]=_;g[U+32+12>>2]=0.0;g[U+16>>2]=ca;g[U+16+4>>2]=da;g[U+16+8>>2]=ea;g[U+16+12>>2]=0.0;fb[d&1](K,U+96|0,U+32|0,U+16|0,U+160|0,1.0);d=c[(c[K>>2]|0)+28>>2]|0;g[U+96>>2]=Y;g[U+96+4>>2]=Z;g[U+96+8>>2]=_;g[U+96+12>>2]=0.0;g[U+32>>2]=$;g[U+32+4>>2]=aa;g[U+32+8>>2]=ba;g[U+32+12>>2]=0.0;g[U+16>>2]=ca;g[U+16+4>>2]=da;g[U+16+8>>2]=ea;g[U+16+12>>2]=0.0;fb[d&1](K,U+96|0,U+32|0,U+16|0,U+160|0,1.0);d=c[O+772>>2]|0}f=f+1|0}while((f|0)<(d|0))}}else{lI();d=c[O+1112>>2]|0;if((d|0)>0){I=0;do{if(a[(c[(c[O+1120>>2]|0)+(I<<2)>>2]|0)+377>>0]|0){ba=+(Kq()|0)*4.656612873077393e-10;ca=+(Kq()|0)*4.656612873077393e-10;da=+(Kq()|0)*4.656612873077393e-10;ea=1.0/+x(+(da*da+(ba*ba+ca*ca)));g[U+160>>2]=ba*ea*.75;g[U+160+4>>2]=ca*ea*.75;g[U+160+8>>2]=da*ea*.75;g[U+160+12>>2]=0.0;f=c[(c[(c[O+1120>>2]|0)+(I<<2)>>2]|0)+24>>2]|0;if((f|0)>0){c[7182]=(c[7182]|0)+1;d=xb((f<<4|3)+16|0)|0;if(!d)e=0;else{c[(d+4+15&-16)+-4>>2]=d;e=d+4+15&-16}d=0;do{H=e+(d<<4)|0;c[H>>2]=c[U+96>>2];c[H+4>>2]=c[U+96+4>>2];c[H+8>>2]=c[U+96+8>>2];c[H+12>>2]=c[U+96+12>>2];d=d+1|0}while((d|0)!=(f|0));d=0;do{G=(c[(c[(c[(c[O+1120>>2]|0)+(I<<2)>>2]|0)+32>>2]|0)+(d<<2)>>2]|0)+8|0;H=e+(d<<4)|0;c[H>>2]=c[G>>2];c[H+4>>2]=c[G+4>>2];c[H+8>>2]=c[G+8>>2];c[H+12>>2]=c[G+12>>2];d=d+1|0}while((d|0)!=(f|0));H=e;G=e}else{H=0;G=0}a[U+96+16>>0]=1;c[U+96+12>>2]=0;c[U+96+4>>2]=0;c[U+96+8>>2]=0;a[U+96+36>>0]=1;c[S>>2]=0;c[U+96+24>>2]=0;c[U+96+28>>2]=0;a[U+96+56>>0]=1;c[T>>2]=0;c[U+96+44>>2]=0;c[U+96+48>>2]=0;zb(U+96|0,G,f);o=c[U+96+44>>2]|0;if((o|0)>0){m=c[S>>2]|0;l=0;do{p=c[(c[T>>2]|0)+(l<<2)>>2]|0;e=c[m+(p*12|0)+4>>2]|0;d=m+(p*12|0)+(e*12|0)+((c[m+(p*12|0)+(e*12|0)>>2]|0)*12|0)|0;if((d|0)!=(m+(p*12|0)|0)){n=c[U+96+12>>2]|0;e=c[m+(p*12|0)+(e*12|0)+8>>2]|0;f=c[m+(p*12|0)+8>>2]|0;while(1){h=c[d+8>>2]|0;fb[c[(c[K>>2]|0)+28>>2]&1](K,n+(e<<4)|0,n+(f<<4)|0,n+(h<<4)|0,U+160|0,1.0);e=d+((c[d+4>>2]|0)*12|0)|0;d=e+((c[e>>2]|0)*12|0)|0;if((d|0)==(m+(p*12|0)|0))break;else{e=f;f=h}}}l=l+1|0}while((l|0)<(o|0))}d=c[T>>2]|0;if(d|0){if(a[U+96+56>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[T>>2]=0}a[U+96+56>>0]=1;c[T>>2]=0;c[U+96+44>>2]=0;c[U+96+48>>2]=0;d=c[S>>2]|0;if(d|0){if(a[U+96+36>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[S>>2]=0}a[U+96+36>>0]=1;c[S>>2]=0;c[U+96+24>>2]=0;c[U+96+28>>2]=0;d=c[U+96+12>>2]|0;if(d|0){if(a[U+96+16>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[d+-4>>2]|0)}c[U+96+12>>2]=0}if(!((H|0)==0|(G|0)==0)){c[7183]=(c[7183]|0)+1;Hc(c[G+-4>>2]|0)}d=c[O+1112>>2]|0}I=I+1|0}while((I|0)<(d|0))}}if(J&64|0){if((c[O+792>>2]|0)>0){d=0;do{I=c[O+800>>2]|0;G=c[I+(d*96|0)+20>>2]|0;aa=+g[I+(d*96|0)+4>>2];ba=+g[I+(d*96|0)+8>>2];ca=+g[I+(d*96|0)+12>>2];da=aa*+g[G+20>>2]+ba*+g[G+24>>2]+ca*+g[G+28>>2]+ +g[G+56>>2];ea=aa*+g[G+36>>2]+ba*+g[G+40>>2]+ca*+g[G+44>>2]+ +g[G+60>>2];g[U+32>>2]=aa*+g[G+4>>2]+ba*+g[G+8>>2]+ca*+g[G+12>>2]+ +g[G+52>>2];g[U+32+4>>2]=da;g[U+32+8>>2]=ea;g[U+32+12>>2]=0.0;I=I+(d*96|0)|0;G=c[I>>2]|0;c[U+16>>2]=1065353216;c[U+16+4>>2]=0;c[U+16+8>>2]=0;g[U+16+12>>2]=0.0;H=c[(c[K>>2]|0)+8>>2]|0;ea=+g[G+8>>2];da=+g[G+12>>2];ca=+g[G+16>>2];g[U+160>>2]=ea+-.25;g[U+160+4>>2]=da;g[U+160+8>>2]=ca;g[U+160+12>>2]=0.0;g[U+96>>2]=ea+.25;g[U+96+4>>2]=da+0.0;g[U+96+8>>2]=ca+0.0;g[U+96+12>>2]=0.0;ab[H&127](K,U+160|0,U+96|0,U+16|0);H=c[(c[K>>2]|0)+8>>2]|0;ca=+g[G+8>>2];da=+g[G+12>>2];ea=+g[G+16>>2];g[U+160>>2]=ca;g[U+160+4>>2]=da+-.25;g[U+160+8>>2]=ea;g[U+160+12>>2]=0.0;g[U+96>>2]=ca+0.0;g[U+96+4>>2]=da+.25;g[U+96+8>>2]=ea+0.0;g[U+96+12>>2]=0.0;ab[H&127](K,U+160|0,U+96|0,U+16|0);H=c[(c[K>>2]|0)+8>>2]|0;ea=+g[G+8>>2];da=+g[G+12>>2];ca=+g[G+16>>2];g[U+160>>2]=ea;g[U+160+4>>2]=da;g[U+160+8>>2]=ca+-.25;g[U+160+12>>2]=0.0;g[U+96>>2]=ea+0.0;g[U+96+4>>2]=da+0.0;g[U+96+8>>2]=ca+.25;g[U+96+12>>2]=0.0;ab[H&127](K,U+160|0,U+96|0,U+16|0);c[U+16>>2]=0;c[U+16+4>>2]=1065353216;c[U+16+8>>2]=0;g[U+16+12>>2]=0.0;H=c[(c[K>>2]|0)+8>>2]|0;ca=+g[U+32>>2];da=+g[U+32+4>>2];ea=+g[U+32+8>>2];g[U+160>>2]=ca+-.25;g[U+160+4>>2]=da;g[U+160+8>>2]=ea;g[U+160+12>>2]=0.0;g[U+96>>2]=ca+.25;g[U+96+4>>2]=da+0.0;g[U+96+8>>2]=ea+0.0;g[U+96+12>>2]=0.0;ab[H&127](K,U+160|0,U+96|0,U+16|0);H=c[(c[K>>2]|0)+8>>2]|0;ea=+g[U+32>>2];da=+g[U+32+4>>2];ca=+g[U+32+8>>2];g[U+160>>2]=ea;g[U+160+4>>2]=da+-.25;g[U+160+8>>2]=ca;g[U+160+12>>2]=0.0;g[U+96>>2]=ea+0.0;g[U+96+4>>2]=da+.25;g[U+96+8>>2]=ca+0.0;g[U+96+12>>2]=0.0;ab[H&127](K,U+160|0,U+96|0,U+16|0);H=c[(c[K>>2]|0)+8>>2]|0;ca=+g[U+32>>2];da=+g[U+32+4>>2];ea=+g[U+32+8>>2];g[U+160>>2]=ca;g[U+160+4>>2]=da;g[U+160+8>>2]=ea+-.25;g[U+160+12>>2]=0.0;g[U+96>>2]=ca+0.0;g[U+96+4>>2]=da+0.0;g[U+96+8>>2]=ea+.25;g[U+96+12>>2]=0.0;ab[H&127](K,U+160|0,U+96|0,U+16|0);H=c[(c[K>>2]|0)+8>>2]|0;I=(c[I>>2]|0)+8|0;c[U+160>>2]=1065353216;c[U+160+4>>2]=1065353216;c[U+160+8>>2]=1065353216;g[U+160+12>>2]=0.0;ab[H&127](K,I,U+32|0,U+160|0);d=d+1|0}while((d|0)<(c[O+792>>2]|0))}d=c[O+712>>2]|0;if((d|0)>0){f=0;do{e=c[O+720>>2]|0;if((c[(c[e+(f*104|0)+4>>2]|0)+16>>2]&1|0)!=0?+g[e+(f*104|0)+88>>2]<=0.0:0){c[U+32>>2]=1065353216;c[U+32+4>>2]=0;c[U+32+8>>2]=0;g[U+32+12>>2]=0.0;d=c[(c[K>>2]|0)+8>>2]|0;G=e+(f*104|0)+8|0;ca=+g[G>>2];H=e+(f*104|0)+12|0;da=+g[H>>2];I=e+(f*104|0)+16|0;ea=+g[I>>2];g[U+160>>2]=ca+-.25;g[U+160+4>>2]=da;g[U+160+8>>2]=ea;g[U+160+12>>2]=0.0;g[U+96>>2]=ca+.25;g[U+96+4>>2]=da+0.0;g[U+96+8>>2]=ea+0.0;g[U+96+12>>2]=0.0;ab[d&127](K,U+160|0,U+96|0,U+32|0);d=c[(c[K>>2]|0)+8>>2]|0;ea=+g[G>>2];da=+g[H>>2];ca=+g[I>>2];g[U+160>>2]=ea;g[U+160+4>>2]=da+-.25;g[U+160+8>>2]=ca;g[U+160+12>>2]=0.0;g[U+96>>2]=ea+0.0;g[U+96+4>>2]=da+.25;g[U+96+8>>2]=ca+0.0;g[U+96+12>>2]=0.0;ab[d&127](K,U+160|0,U+96|0,U+32|0);d=c[(c[K>>2]|0)+8>>2]|0;ca=+g[G>>2];da=+g[H>>2];ea=+g[I>>2];g[U+160>>2]=ca;g[U+160+4>>2]=da;g[U+160+8>>2]=ea+-.25;g[U+160+12>>2]=0.0;g[U+96>>2]=ca+0.0;g[U+96+4>>2]=da+0.0;g[U+96+8>>2]=ea+.25;g[U+96+12>>2]=0.0;ab[d&127](K,U+160|0,U+96|0,U+32|0);d=c[O+712>>2]|0}f=f+1|0}while((f|0)<(d|0))}}if(J&128|0?(c[O+692>>2]|0)>0:0){e=0;do{f=c[O+700>>2]|0;h=f+(e*60|0)+8|0;c[U+160>>2]=c[h>>2];c[U+160+4>>2]=c[h+4>>2];c[U+160+8>>2]=c[h+8>>2];c[U+160+12>>2]=c[h+12>>2];h=c[f+(e*60|0)+24>>2]|0;if((h|0)>0){d=0;i=+g[U+160>>2];j=+g[U+160+4>>2];k=+g[U+160+8>>2];do{I=c[f+(e*60|0)+28+(d<<2)>>2]|0;ea=+g[f+(e*60|0)+44+(d<<2)>>2];i=+g[I+8>>2]*ea+i;j=ea*+g[I+12>>2]+j;k=ea*+g[I+16>>2]+k;g[U+160+8>>2]=k;d=d+1|0}while((d|0)!=(h|0));g[U+160>>2]=i;g[U+160+4>>2]=j}Za[c[(c[K>>2]|0)+40>>2]&127](K,U+160|0,c[f+(e*60|0)+4>>2]|0);e=e+1|0}while((e|0)<(c[O+692>>2]|0))}if(J&512|0){I=c[O+928>>2]|0;c[U+160>>2]=1065353216;c[U+160+4>>2]=0;c[U+160+8>>2]=1065353216;g[U+160+12>>2]=0.0;c[U+96>>2]=1065353216;c[U+96+4>>2]=1065353216;c[U+96+8>>2]=1065353216;g[U+96+12>>2]=0.0;Xe(K,I,0,U+160|0,U+96|0)}if(J&1024|0){I=c[O+988>>2]|0;c[U+160>>2]=0;c[U+160+4>>2]=1065353216;c[U+160+8>>2]=0;g[U+160+12>>2]=0.0;c[U+96>>2]=1065353216;c[U+96+4>>2]=0;c[U+96+8>>2]=0;g[U+96+12>>2]=0.0;Xe(K,I,0,U+160|0,U+96|0)}if(J&2048|0){I=c[O+1048>>2]|0;c[U+160>>2]=0;c[U+160+4>>2]=1065353216;c[U+160+8>>2]=1065353216;g[U+160+12>>2]=0.0;c[U+96>>2]=1065353216;c[U+96+4>>2]=0;c[U+96+8>>2]=0;g[U+96+12>>2]=0.0;Xe(K,I,0,U+160|0,U+96|0)}a:do if(J&4096|0?(c[O+852>>2]|0)>0:0){d=0;while(1){e=c[(c[O+860>>2]|0)+(d<<2)>>2]|0;switch(Fa[c[(c[e>>2]|0)+20>>2]&127](e)|0){case 0:{J=Jh(e+4|0)|0;ea=+g[e+28>>2];da=+g[e+32>>2];ca=+g[e+36>>2];ba=ea*+g[J+16>>2]+da*+g[J+20>>2]+ca*+g[J+24>>2]+ +g[J+52>>2];aa=ea*+g[J+32>>2]+da*+g[J+36>>2]+ca*+g[J+40>>2]+ +g[J+56>>2];g[U+32>>2]=ea*+g[J>>2]+da*+g[J+4>>2]+ca*+g[J+8>>2]+ +g[J+48>>2];g[U+32+4>>2]=ba;g[U+32+8>>2]=aa;g[U+32+12>>2]=0.0;J=Jh(e+16|0)|0;aa=+g[e+44>>2];ba=+g[e+48>>2];ca=+g[e+52>>2];da=aa*+g[J+16>>2]+ba*+g[J+20>>2]+ca*+g[J+24>>2]+ +g[J+52>>2];ea=aa*+g[J+32>>2]+ba*+g[J+36>>2]+ca*+g[J+40>>2]+ +g[J+56>>2];g[U+16>>2]=aa*+g[J>>2]+ba*+g[J+4>>2]+ca*+g[J+8>>2]+ +g[J+48>>2];g[U+16+4>>2]=da;g[U+16+8>>2]=ea;g[U+16+12>>2]=0.0;J=c[(c[K>>2]|0)+8>>2]|0;I=(Jh(e+4|0)|0)+48|0;c[U+160>>2]=1065353216;c[U+160+4>>2]=1065353216;c[U+160+8>>2]=0;g[U+160+12>>2]=0.0;ab[J&127](K,I,U+32|0,U+160|0);I=c[(c[K>>2]|0)+8>>2]|0;J=(Jh(e+16|0)|0)+48|0;c[U+160>>2]=0;c[U+160+4>>2]=1065353216;c[U+160+8>>2]=1065353216;g[U+160+12>>2]=0.0;ab[I&127](K,J,U+16|0,U+160|0);c[U>>2]=1065353216;c[U+4>>2]=1065353216;c[U+8>>2]=0;g[U+12>>2]=0.0;J=c[(c[K>>2]|0)+8>>2]|0;ea=+g[U+32>>2];da=+g[U+32+4>>2];ca=+g[U+32+8>>2];g[U+160>>2]=ea+-.25;g[U+160+4>>2]=da;g[U+160+8>>2]=ca;g[U+160+12>>2]=0.0;g[U+96>>2]=ea+.25;g[U+96+4>>2]=da+0.0;g[U+96+8>>2]=ca+0.0;g[U+96+12>>2]=0.0;ab[J&127](K,U+160|0,U+96|0,U);J=c[(c[K>>2]|0)+8>>2]|0;ca=+g[U+32>>2];da=+g[U+32+4>>2];ea=+g[U+32+8>>2];g[U+160>>2]=ca;g[U+160+4>>2]=da+-.25;g[U+160+8>>2]=ea;g[U+160+12>>2]=0.0;g[U+96>>2]=ca+0.0;g[U+96+4>>2]=da+.25;g[U+96+8>>2]=ea+0.0;g[U+96+12>>2]=0.0;ab[J&127](K,U+160|0,U+96|0,U);J=c[(c[K>>2]|0)+8>>2]|0;ea=+g[U+32>>2];da=+g[U+32+4>>2];ca=+g[U+32+8>>2];g[U+160>>2]=ea;g[U+160+4>>2]=da;g[U+160+8>>2]=ca+-.25;g[U+160+12>>2]=0.0;g[U+96>>2]=ea+0.0;g[U+96+4>>2]=da+0.0;g[U+96+8>>2]=ca+.25;g[U+96+12>>2]=0.0;ab[J&127](K,U+160|0,U+96|0,U);c[U>>2]=0;c[U+4>>2]=1065353216;c[U+8>>2]=1065353216;g[U+12>>2]=0.0;J=c[(c[K>>2]|0)+8>>2]|0;ca=+g[U+16>>2];da=+g[U+16+4>>2];ea=+g[U+16+8>>2];g[U+160>>2]=ca+-.25;g[U+160+4>>2]=da;g[U+160+8>>2]=ea;g[U+160+12>>2]=0.0;g[U+96>>2]=ca+.25;g[U+96+4>>2]=da+0.0;g[U+96+8>>2]=ea+0.0;g[U+96+12>>2]=0.0;ab[J&127](K,U+160|0,U+96|0,U);J=c[(c[K>>2]|0)+8>>2]|0;ea=+g[U+16>>2];da=+g[U+16+4>>2];ca=+g[U+16+8>>2];g[U+160>>2]=ea;g[U+160+4>>2]=da+-.25;g[U+160+8>>2]=ca;g[U+160+12>>2]=0.0;g[U+96>>2]=ea+0.0;g[U+96+4>>2]=da+.25;g[U+96+8>>2]=ca+0.0;g[U+96+12>>2]=0.0;ab[J&127](K,U+160|0,U+96|0,U);J=c[(c[K>>2]|0)+8>>2]|0;ca=+g[U+16>>2];da=+g[U+16+4>>2];ea=+g[U+16+8>>2];g[U+160>>2]=ca;g[U+160+4>>2]=da;g[U+160+8>>2]=ea+-.25;g[U+160+12>>2]=0.0;g[U+96>>2]=ca+0.0;g[U+96+4>>2]=da+0.0;g[U+96+8>>2]=ea+.25;g[U+96+12>>2]=0.0;ab[J&127](K,U+160|0,U+96|0,U);break}case 1:{J=(Jh(e+4|0)|0)+48|0;c[U+160>>2]=c[J>>2];c[U+160+4>>2]=c[J+4>>2];c[U+160+8>>2]=c[J+8>>2];c[U+160+12>>2]=c[J+12>>2];J=(Jh(e+16|0)|0)+48|0;c[U+96>>2]=c[J>>2];c[U+96+4>>2]=c[J+4>>2];c[U+96+8>>2]=c[J+8>>2];c[U+96+12>>2]=c[J+12>>2];J=Jh(e+4|0)|0;_=+g[e+28>>2];Z=+g[e+32>>2];ba=+g[e+36>>2];$=+g[J>>2]*_+ +g[J+4>>2]*Z+ +g[J+8>>2]*ba;aa=_*+g[J+16>>2]+Z*+g[J+20>>2]+ba*+g[J+24>>2];ba=_*+g[J+32>>2]+Z*+g[J+36>>2]+ba*+g[J+40>>2];J=Jh(e+16|0)|0;Z=+g[e+44>>2];_=+g[e+48>>2];ea=+g[e+52>>2];ca=+g[J>>2]*Z+ +g[J+4>>2]*_+ +g[J+8>>2]*ea;da=Z*+g[J+16>>2]+_*+g[J+20>>2]+ea*+g[J+24>>2];ea=Z*+g[J+32>>2]+_*+g[J+36>>2]+ea*+g[J+40>>2];J=c[(c[K>>2]|0)+8>>2]|0;_=aa*10.0+ +g[U+160+4>>2];Z=ba*10.0+ +g[U+160+8>>2];g[U+32>>2]=$*10.0+ +g[U+160>>2];g[U+32+4>>2]=_;g[U+32+8>>2]=Z;g[U+32+12>>2]=0.0;c[U+16>>2]=1065353216;c[U+16+4>>2]=1065353216;c[U+16+8>>2]=0;g[U+16+12>>2]=0.0;ab[J&127](K,U+160|0,U+32|0,U+16|0);J=c[(c[K>>2]|0)+8>>2]|0;Z=da*10.0+ +g[U+160+4>>2];_=ea*10.0+ +g[U+160+8>>2];g[U+32>>2]=ca*10.0+ +g[U+160>>2];g[U+32+4>>2]=Z;g[U+32+8>>2]=_;g[U+32+12>>2]=0.0;c[U+16>>2]=1065353216;c[U+16+4>>2]=1065353216;c[U+16+8>>2]=0;g[U+16+12>>2]=0.0;ab[J&127](K,U+160|0,U+32|0,U+16|0);J=c[(c[K>>2]|0)+8>>2]|0;aa=aa*10.0+ +g[U+96+4>>2];ba=ba*10.0+ +g[U+96+8>>2];g[U+32>>2]=$*10.0+ +g[U+96>>2];g[U+32+4>>2]=aa;g[U+32+8>>2]=ba;g[U+32+12>>2]=0.0;c[U+16>>2]=0;c[U+16+4>>2]=1065353216;c[U+16+8>>2]=1065353216;g[U+16+12>>2]=0.0;ab[J&127](K,U+96|0,U+32|0,U+16|0);J=c[(c[K>>2]|0)+8>>2]|0;da=da*10.0+ +g[U+96+4>>2];ea=ea*10.0+ +g[U+96+8>>2];g[U+32>>2]=ca*10.0+ +g[U+96>>2];g[U+32+4>>2]=da;g[U+32+8>>2]=ea;g[U+32+12>>2]=0.0;c[U+16>>2]=0;c[U+16+4>>2]=1065353216;c[U+16+8>>2]=1065353216;g[U+16+12>>2]=0.0;ab[J&127](K,U+96|0,U+32|0,U+16|0);break}default:{}}d=d+1|0;if((d|0)>=(c[O+852>>2]|0))break a}}while(0)}d=c[b+72>>2]|0;if(d|0?(Fa[c[(c[d>>2]|0)+48>>2]&127](d)|0)&2|0:0){if(a[b+348>>0]|0){J=c[b+72>>2]|0;K=c[O+928>>2]|0;c[U+160>>2]=1065353216;c[U+160+4>>2]=0;c[U+160+8>>2]=1065353216;g[U+160+12>>2]=0.0;c[U+96>>2]=1065353216;c[U+96+4>>2]=1065353216;c[U+96+8>>2]=1065353216;g[U+96+12>>2]=0.0;Xe(J,K,0,U+160|0,U+96|0)}if(a[b+349>>0]|0){J=c[b+72>>2]|0;K=c[O+988>>2]|0;c[U+160>>2]=0;c[U+160+4>>2]=1065353216;c[U+160+8>>2]=0;g[U+160+12>>2]=0.0;c[U+96>>2]=1065353216;c[U+96+4>>2]=0;c[U+96+8>>2]=0;g[U+96+12>>2]=0.0;Xe(J,K,0,U+160|0,U+96|0)}if(a[b+350>>0]|0){K=c[b+72>>2]|0;O=c[O+1048>>2]|0;c[U+160>>2]=0;c[U+160+4>>2]=1065353216;c[U+160+8>>2]=1065353216;g[U+160+12>>2]=0.0;c[U+96>>2]=1065353216;c[U+96+4>>2]=0;c[U+96+8>>2]=0;g[U+96+12>>2]=0.0;Xe(K,O,0,U+160|0,U+96|0)}}L=L+1|0}while((L|0)<(c[b+328>>2]|0));sa=U;return}function qb(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var h=0,i=0,j=0,k=0,l=0.0,m=0.0,n=0,o=0,p=0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0,I=0.0,J=0.0,K=0.0,L=0.0,M=0.0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0.0,ea=0.0;ca=sa;sa=sa+80|0;if((e|0)<=0){sa=ca;return}T=0;do{W=c[d+(T<<2)>>2]|0;X=c[W+740>>2]|0;Y=c[W+744>>2]|0;Z=Xc(b,X,+g[f+12>>2])|0;_=Xc(b,Y,+g[f+12>>2])|0;$=c[b+16>>2]|0;if(!(((((+g[$+(Z*244|0)+128>>2]==0.0?+g[$+(Z*244|0)+132>>2]==0.0:0)?+g[$+(Z*244|0)+136>>2]==0.0:0)?+g[$+(_*244|0)+128>>2]==0.0:0)?+g[$+(_*244|0)+132>>2]==0.0:0)?+g[$+(_*244|0)+136>>2]==0.0:0))ba=9;if((ba|0)==9?(ba=0,aa=c[W+748>>2]|0,(aa|0)>0):0){U=0;h=1;i=aa;do{R=W+4+(U*184|0)|0;n=W+4+(U*184|0)+80|0;if(+g[n>>2]<=+g[W+756>>2]){S=c[b+28>>2]|0;if((S|0)==(c[b+32>>2]|0)?(V=(S|0)==0?1:S<<1,(S|0)<(V|0)):0){if(!V){i=0;k=S}else{c[7182]=(c[7182]|0)+1;i=xb((V*152|3)+16|0)|0;if(!i)i=0;else{c[(i+4+15&-16)+-4>>2]=i;i=i+4+15&-16}k=c[b+28>>2]|0}if((k|0)>0){j=0;do{Bh(i+(j*152|0)|0,(c[b+36>>2]|0)+(j*152|0)|0,152)|0;j=j+1|0}while((j|0)!=(k|0))}j=c[b+36>>2]|0;if(j|0){if(a[b+40>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[j+-4>>2]|0)}c[b+36>>2]=0}a[b+40>>0]=1;c[b+36>>2]=i;c[b+32>>2]=V;i=c[b+28>>2]|0}else i=S;c[b+28>>2]=i+1;Q=c[b+36>>2]|0;o=(c[X+236>>2]&2|0)==0?0:X;p=(c[Y+236>>2]&2|0)==0?0:Y;c[Q+(S*152|0)+144>>2]=Z;c[Q+(S*152|0)+148>>2]=_;c[Q+(S*152|0)+132>>2]=R;A=+g[W+4+(U*184|0)+48>>2]-+g[X+52>>2];B=+g[W+4+(U*184|0)+52>>2]-+g[X+56>>2];z=+g[W+4+(U*184|0)+56>>2]-+g[X+60>>2];g[ca+64>>2]=A;g[ca+64+4>>2]=B;g[ca+64+8>>2]=z;g[ca+64+12>>2]=0.0;E=+g[W+4+(U*184|0)+32>>2]-+g[Y+52>>2];F=+g[W+4+(U*184|0)+36>>2]-+g[Y+56>>2];D=+g[W+4+(U*184|0)+40>>2]-+g[Y+60>>2];g[ca+48>>2]=E;g[ca+48+4>>2]=F;g[ca+48+8>>2]=D;g[ca+48+12>>2]=0.0;if(!(c[$+(Z*244|0)+240>>2]|0)){m=0.0;r=0.0;t=0.0}else{M=+g[$+(Z*244|0)+192>>2]+ +g[$+(Z*244|0)+224>>2];t=+g[$+(Z*244|0)+196>>2]+ +g[$+(Z*244|0)+228>>2];r=+g[$+(Z*244|0)+200>>2]+ +g[$+(Z*244|0)+232>>2];m=+g[$+(Z*244|0)+176>>2]+ +g[$+(Z*244|0)+208>>2]+(z*t-B*r);r=+g[$+(Z*244|0)+180>>2]+ +g[$+(Z*244|0)+212>>2]+(A*r-z*M);t=+g[$+(Z*244|0)+184>>2]+ +g[$+(Z*244|0)+216>>2]+(B*M-A*t)}if(!(c[$+(_*244|0)+240>>2]|0)){l=0.0;q=0.0;s=0.0}else{M=+g[$+(_*244|0)+192>>2]+ +g[$+(_*244|0)+224>>2];s=+g[$+(_*244|0)+196>>2]+ +g[$+(_*244|0)+228>>2];q=+g[$+(_*244|0)+200>>2]+ +g[$+(_*244|0)+232>>2];l=+g[$+(_*244|0)+176>>2]+ +g[$+(_*244|0)+208>>2]+(D*s-F*q);q=+g[$+(_*244|0)+180>>2]+ +g[$+(_*244|0)+212>>2]+(E*q-D*M);s=+g[$+(_*244|0)+184>>2]+ +g[$+(_*244|0)+216>>2]+(F*M-E*s)}M=m-l;L=r-q;H=t-s;N=W+4+(U*184|0)+64|0;I=+g[N>>2];O=W+4+(U*184|0)+68|0;J=+g[O>>2];P=W+4+(U*184|0)+72|0;K=+g[P>>2];k=c[b+16>>2]|0;i=c[k+(Z*244|0)+240>>2]|0;j=c[k+(_*244|0)+240>>2]|0;if(i|0){l=((B*K-z*J)*+g[i+264>>2]+(z*I-K*A)*+g[i+268>>2]+(J*A-B*I)*+g[i+272>>2])*+g[i+544>>2];m=((B*K-z*J)*+g[i+280>>2]+(z*I-K*A)*+g[i+284>>2]+(J*A-B*I)*+g[i+288>>2])*+g[i+548>>2];q=((B*K-z*J)*+g[i+296>>2]+(z*I-K*A)*+g[i+300>>2]+(J*A-B*I)*+g[i+304>>2])*+g[i+552>>2]}else{l=0.0;m=0.0;q=0.0}g[Q+(S*152|0)+64>>2]=l;g[Q+(S*152|0)+68>>2]=m;g[Q+(S*152|0)+72>>2]=q;g[Q+(S*152|0)+76>>2]=0.0;u=+g[P>>2];v=+g[O>>2];y=+g[N>>2];if(j|0){r=(+g[j+264>>2]*-(F*u-D*v)+ +g[j+268>>2]*-(D*y-u*E)+ +g[j+272>>2]*-(v*E-F*y))*+g[j+544>>2];s=(+g[j+280>>2]*-(F*u-D*v)+ +g[j+284>>2]*-(D*y-u*E)+ +g[j+288>>2]*-(v*E-F*y))*+g[j+548>>2];t=(+g[j+296>>2]*-(F*u-D*v)+ +g[j+300>>2]*-(D*y-u*E)+ +g[j+304>>2]*-(v*E-F*y))*+g[j+552>>2]}else{r=0.0;s=0.0;t=0.0}g[Q+(S*152|0)+80>>2]=r;g[Q+(S*152|0)+84>>2]=s;g[Q+(S*152|0)+88>>2]=t;g[Q+(S*152|0)+92>>2]=0.0;if(i|0)m=+g[i+344>>2]+((m*z-q*B)*+g[N>>2]+(q*A-z*l)*+g[O>>2]+(B*l-m*A)*+g[P>>2]);else m=0.0;if(j|0){G=-r;l=-s;t=-t;l=+g[j+344>>2]+((D*l-F*t)*+g[N>>2]+(E*t-D*G)*+g[O>>2]+(F*G-E*l)*+g[P>>2])}else l=0.0;g[Q+(S*152|0)+108>>2]=1.0/(m+l);if(i|0){c[Q+(S*152|0)+16>>2]=c[N>>2];c[Q+(S*152|0)+16+4>>2]=c[N+4>>2];c[Q+(S*152|0)+16+8>>2]=c[N+8>>2];c[Q+(S*152|0)+16+12>>2]=c[N+12>>2];g[Q+(S*152|0)>>2]=B*K-z*J;g[Q+(S*152|0)+4>>2]=z*I-K*A;g[Q+(S*152|0)+8>>2]=J*A-B*I;g[Q+(S*152|0)+12>>2]=0.0}else{c[Q+(S*152|0)>>2]=0;c[Q+(S*152|0)+4>>2]=0;c[Q+(S*152|0)+8>>2]=0;c[Q+(S*152|0)+12>>2]=0;c[Q+(S*152|0)+16>>2]=0;c[Q+(S*152|0)+20>>2]=0;c[Q+(S*152|0)+24>>2]=0;c[Q+(S*152|0)+28>>2]=0}if(j|0){t=-+g[O>>2];G=-+g[P>>2];g[Q+(S*152|0)+48>>2]=-+g[N>>2];g[Q+(S*152|0)+52>>2]=t;g[Q+(S*152|0)+56>>2]=G;g[Q+(S*152|0)+60>>2]=0.0;g[Q+(S*152|0)+32>>2]=-(F*u-D*v);g[Q+(S*152|0)+36>>2]=-(D*y-u*E);g[Q+(S*152|0)+40>>2]=-(v*E-F*y);g[Q+(S*152|0)+44>>2]=0.0}else{c[Q+(S*152|0)+32>>2]=0;c[Q+(S*152|0)+32+4>>2]=0;c[Q+(S*152|0)+32+8>>2]=0;c[Q+(S*152|0)+32+12>>2]=0;c[Q+(S*152|0)+32+16>>2]=0;c[Q+(S*152|0)+32+20>>2]=0;c[Q+(S*152|0)+32+24>>2]=0;c[Q+(S*152|0)+32+28>>2]=0}G=+g[n>>2]+ +g[f+56>>2];if(i|0){r=+g[i+332>>2];s=+g[i+336>>2];y=+g[i+328>>2];t=r*z-s*B+ +g[i+312>>2];s=+g[i+316>>2]+(s*A-z*y);r=B*y-r*A+ +g[i+320>>2]}else{t=0.0;s=0.0;r=0.0}if(j|0){l=+g[j+332>>2];m=+g[j+336>>2];B=+g[j+328>>2];q=l*D-m*F+ +g[j+312>>2];m=+g[j+316>>2]+(m*E-D*B);l=F*B-l*E+ +g[j+320>>2]}else{q=0.0;m=0.0;l=0.0}D=(t-q)*+g[N>>2]+(s-m)*+g[O>>2]+(r-l)*+g[P>>2];c[Q+(S*152|0)+104>>2]=c[W+4+(U*184|0)+84>>2];D=D*+g[W+4+(U*184|0)+92>>2];D=D>=-0.0?0.0:-D;do if(!(c[f+64>>2]&4))g[Q+(S*152|0)+100>>2]=0.0;else{l=+g[W+4+(U*184|0)+120>>2]*+g[f+60>>2];g[Q+(S*152|0)+100>>2]=l;do if(i|0){if(!(c[k+(Z*244|0)+240>>2]|0))break;F=l*+g[Q+(S*152|0)+20>>2]*+g[k+(Z*244|0)+132>>2]*+g[i+352>>2]*+g[k+(Z*244|0)+116>>2];E=l*+g[Q+(S*152|0)+24>>2]*+g[k+(Z*244|0)+136>>2]*+g[i+356>>2]*+g[k+(Z*244|0)+120>>2];g[k+(Z*244|0)+64>>2]=+g[k+(Z*244|0)+112>>2]*l*+g[Q+(S*152|0)+16>>2]*+g[k+(Z*244|0)+128>>2]*+g[i+348>>2]+ +g[k+(Z*244|0)+64>>2];g[k+(Z*244|0)+68>>2]=F+ +g[k+(Z*244|0)+68>>2];g[k+(Z*244|0)+72>>2]=E+ +g[k+(Z*244|0)+72>>2];E=l*+g[k+(Z*244|0)+100>>2]*+g[Q+(S*152|0)+68>>2];F=l*+g[k+(Z*244|0)+104>>2]*+g[Q+(S*152|0)+72>>2];g[k+(Z*244|0)+80>>2]=l*+g[k+(Z*244|0)+96>>2]*+g[Q+(S*152|0)+64>>2]+ +g[k+(Z*244|0)+80>>2];g[k+(Z*244|0)+84>>2]=E+ +g[k+(Z*244|0)+84>>2];g[k+(Z*244|0)+88>>2]=F+ +g[k+(Z*244|0)+88>>2]}while(0);if(!j)break;l=+g[Q+(S*152|0)+100>>2];if(!(c[k+(_*244|0)+240>>2]|0))break;F=+g[Q+(S*152|0)+88>>2];E=+g[Q+(S*152|0)+84>>2];B=+g[Q+(S*152|0)+80>>2];z=l*+g[Q+(S*152|0)+52>>2]*+g[k+(_*244|0)+132>>2]*+g[j+352>>2]*+g[k+(_*244|0)+116>>2];A=l*+g[Q+(S*152|0)+56>>2]*+g[k+(_*244|0)+136>>2]*+g[j+356>>2]*+g[k+(_*244|0)+120>>2];g[k+(_*244|0)+64>>2]=+g[k+(_*244|0)+112>>2]*l*+g[Q+(S*152|0)+48>>2]*+g[k+(_*244|0)+128>>2]*+g[j+348>>2]+ +g[k+(_*244|0)+64>>2];g[k+(_*244|0)+68>>2]=z+ +g[k+(_*244|0)+68>>2];g[k+(_*244|0)+72>>2]=A+ +g[k+(_*244|0)+72>>2];E=E*+g[k+(_*244|0)+100>>2]*-l;F=F*+g[k+(_*244|0)+104>>2]*-l;g[k+(_*244|0)+80>>2]=+g[k+(_*244|0)+80>>2]-B*+g[k+(_*244|0)+96>>2]*-l;g[k+(_*244|0)+84>>2]=+g[k+(_*244|0)+84>>2]-E;g[k+(_*244|0)+88>>2]=+g[k+(_*244|0)+88>>2]-F}while(0);g[Q+(S*152|0)+96>>2]=0.0;if(!(c[k+(Z*244|0)+240>>2]|0)){l=0.0;m=0.0;q=0.0;r=0.0;s=0.0;t=0.0}else{l=+g[k+(Z*244|0)+208>>2];m=+g[k+(Z*244|0)+212>>2];q=+g[k+(Z*244|0)+216>>2];r=+g[k+(Z*244|0)+224>>2];s=+g[k+(Z*244|0)+228>>2];t=+g[k+(Z*244|0)+232>>2]}if(!(c[k+(_*244|0)+240>>2]|0)){u=0.0;v=0.0;y=0.0;z=0.0;A=0.0;B=0.0}else{u=+g[k+(_*244|0)+208>>2];v=+g[k+(_*244|0)+212>>2];y=+g[k+(_*244|0)+216>>2];z=+g[k+(_*244|0)+224>>2];A=+g[k+(_*244|0)+228>>2];B=+g[k+(_*244|0)+232>>2]}l=D-((l+ +g[k+(Z*244|0)+176>>2])*+g[Q+(S*152|0)+16>>2]+(m+ +g[k+(Z*244|0)+180>>2])*+g[Q+(S*152|0)+20>>2]+(q+ +g[k+(Z*244|0)+184>>2])*+g[Q+(S*152|0)+24>>2]+((r+ +g[k+(Z*244|0)+192>>2])*+g[Q+(S*152|0)>>2]+(s+ +g[k+(Z*244|0)+196>>2])*+g[Q+(S*152|0)+4>>2]+(t+ +g[k+(Z*244|0)+200>>2])*+g[Q+(S*152|0)+8>>2])+((u+ +g[k+(_*244|0)+176>>2])*+g[Q+(S*152|0)+48>>2]+(v+ +g[k+(_*244|0)+180>>2])*+g[Q+(S*152|0)+52>>2]+(y+ +g[k+(_*244|0)+184>>2])*+g[Q+(S*152|0)+56>>2]+((z+ +g[k+(_*244|0)+192>>2])*+g[Q+(S*152|0)+32>>2]+(A+ +g[k+(_*244|0)+196>>2])*+g[Q+(S*152|0)+36>>2]+(B+ +g[k+(_*244|0)+200>>2])*+g[Q+(S*152|0)+40>>2])));i=(c[f+44>>2]|0)==0;if(G>0.0){l=l-G/+g[f+12>>2];m=0.0}else m=-(G*(i|G>+g[f+48>>2]?+g[f+32>>2]:+g[f+36>>2]))/+g[f+12>>2];E=+g[Q+(S*152|0)+108>>2];F=m*E;E=l*E;C=i|G>+g[f+48>>2];g[Q+(S*152|0)+112>>2]=C?F+E:E;g[Q+(S*152|0)+128>>2]=C?0.0:F;g[Q+(S*152|0)+116>>2]=0.0;g[Q+(S*152|0)+120>>2]=0.0;g[Q+(S*152|0)+124>>2]=1.0e10;c[Q+(S*152|0)+140>>2]=c[b+68>>2];if(!o){m=0.0;t=0.0;u=0.0}else{m=+g[o+328>>2];t=+g[o+332>>2];u=+g[o+336>>2]}if(!p){l=0.0;q=0.0;r=0.0}else{l=+g[p+328>>2];q=+g[p+332>>2];r=+g[p+336>>2]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m*m+l*l))>.001))break;Oc(b,ca+32|0,Z,_,S,R);break}Oc(b,N,Z,_,S,R);l=+g[P>>2];if(+w(+l)>.7071067690849304){G=+g[O>>2];m=1.0/+x(+(l*l+G*G));g[ca+16>>2]=0.0;g[ca+16+4>>2]=-(l*m);g[ca+16+8>>2]=G*m;g[ca>>2]=(l*l+G*G)*m;F=+g[N>>2];g[ca+4>>2]=-(F*G*m);u=F*-(l*m);r=-(l*m);s=G*m;q=(l*l+G*G)*m;m=-(F*G*m);l=0.0}else{q=+g[N>>2];F=+g[O>>2];G=1.0/+x(+(q*q+F*F));g[ca+16>>2]=-(F*G);g[ca+16+4>>2]=q*G;g[ca+16+8>>2]=0.0;g[ca>>2]=-(l*q*G);g[ca+4>>2]=l*-(F*G);u=(q*q+F*F)*G;r=q*G;s=0.0;q=-(l*q*G);m=l*-(F*G);l=-(F*G)}g[ca+8>>2]=u;j=(c[X+180>>2]&2|0)==0;if(!j){da=+g[X+4>>2];y=+g[X+20>>2];B=+g[X+36>>2];t=+g[X+8>>2];z=+g[X+24>>2];E=+g[X+40>>2];v=+g[X+12>>2];A=+g[X+28>>2];G=+g[X+44>>2];D=(da*l+y*r+B*s)*+g[X+164>>2];F=(l*t+r*z+s*E)*+g[X+168>>2];s=(l*v+r*A+s*G)*+g[X+172>>2];g[ca+16>>2]=da*D+t*F+v*s;g[ca+16+4>>2]=y*D+z*F+A*s;g[ca+16+8>>2]=B*D+E*F+G*s;g[ca+16+12>>2]=0.0;l=da*D+t*F+v*s;r=y*D+z*F+A*s;s=B*D+E*F+G*s}i=(c[Y+180>>2]&2|0)==0;if(i)t=l;else{v=+g[Y+4>>2];z=+g[Y+20>>2];D=+g[Y+36>>2];y=+g[Y+8>>2];A=+g[Y+24>>2];F=+g[Y+40>>2];t=+g[Y+12>>2];B=+g[Y+28>>2];da=+g[Y+44>>2];E=(v*l+z*r+D*s)*+g[Y+164>>2];G=(l*y+r*A+s*F)*+g[Y+168>>2];s=(l*t+r*B+s*da)*+g[Y+172>>2];g[ca+16>>2]=v*E+y*G+t*s;g[ca+16+4>>2]=z*E+A*G+B*s;g[ca+16+8>>2]=D*E+F*G+da*s;g[ca+16+12>>2]=0.0;t=v*E+y*G+t*s;r=z*E+A*G+B*s;s=D*E+F*G+da*s}if(j)l=u;else{ea=+g[X+4>>2];z=+g[X+20>>2];D=+g[X+36>>2];v=+g[X+8>>2];A=+g[X+24>>2];F=+g[X+40>>2];y=+g[X+12>>2];B=+g[X+28>>2];da=+g[X+44>>2];E=(ea*q+z*m+u*D)*+g[X+164>>2];G=(q*v+m*A+u*F)*+g[X+168>>2];l=(q*y+m*B+u*da)*+g[X+172>>2];g[ca>>2]=ea*E+v*G+y*l;g[ca+4>>2]=z*E+A*G+B*l;g[ca+8>>2]=D*E+F*G+da*l;g[ca+12>>2]=0.0;q=ea*E+v*G+y*l;m=z*E+A*G+B*l;l=D*E+F*G+da*l}if(!i){v=+g[Y+4>>2];A=+g[Y+20>>2];E=+g[Y+36>>2];y=+g[Y+8>>2];B=+g[Y+24>>2];G=+g[Y+40>>2];z=+g[Y+12>>2];D=+g[Y+28>>2];ea=+g[Y+44>>2];F=(v*q+A*m+E*l)*+g[Y+164>>2];da=(q*y+m*B+l*G)*+g[Y+168>>2];l=(q*z+m*D+l*ea)*+g[Y+172>>2];g[ca>>2]=v*F+y*da+z*l;g[ca+4>>2]=A*F+B*da+D*l;g[ca+8>>2]=E*F+G*da+ea*l;g[ca+12>>2]=0.0;q=v*F+y*da+z*l;m=A*F+B*da+D*l;l=E*F+G*da+ea*l}if(+x(+(t*t+r*r+s*s))>.001)Oc(b,ca+16|0,Z,_,S,R);if(+x(+(q*q+m*m+l*l))>.001)Oc(b,ca,Z,_,S,R)}while(0);do if(!(c[f+64>>2]&32))ba=93;else{if(!(a[W+4+(U*184|0)+116>>0]|0)){ba=93;break}qc(b,W+4+(U*184|0)+152|0,Z,_,S,R,ca+64|0,ca+48|0,1.0,+g[W+4+(U*184|0)+132>>2],+g[W+4+(U*184|0)+140>>2]);if(!(c[f+64>>2]&16))break;qc(b,W+4+(U*184|0)+168|0,Z,_,S,R,ca+64|0,ca+48|0,1.0,+g[W+4+(U*184|0)+136>>2],+g[W+4+(U*184|0)+144>>2])}while(0);do if((ba|0)==93){ba=0;l=+g[N>>2];v=+g[O>>2];u=+g[P>>2];m=M-(M*I+L*J+H*K)*l;s=L-(M*I+L*J+H*K)*v;r=H-(M*I+L*J+H*K)*u;C=W+4+(U*184|0)+152|0;g[W+4+(U*184|0)+152>>2]=m;i=W+4+(U*184|0)+156|0;g[i>>2]=s;o=W+4+(U*184|0)+160|0;g[o>>2]=r;p=W+4+(U*184|0)+164|0;g[p>>2]=0.0;if((c[f+64>>2]&64|0)==0?m*m+s*s+r*r>1.1920928955078125e-07:0){l=1.0/+x(+(m*m+s*s+r*r));g[C>>2]=m*l;g[i>>2]=s*l;g[o>>2]=r*l;if(!(c[X+180>>2]&1)){q=m*l;m=s*l;l=r*l}else{F=+g[X+4>>2];H=+g[X+20>>2];K=+g[X+36>>2];G=+g[X+8>>2];I=+g[X+24>>2];M=+g[X+40>>2];q=+g[X+12>>2];J=+g[X+28>>2];ea=+g[X+44>>2];L=(m*l*F+s*l*H+r*l*K)*+g[X+164>>2];da=(m*l*G+s*l*I+r*l*M)*+g[X+168>>2];l=(m*l*q+s*l*J+r*l*ea)*+g[X+172>>2];g[C>>2]=F*L+G*da+q*l;g[i>>2]=H*L+I*da+J*l;g[o>>2]=K*L+M*da+ea*l;g[p>>2]=0.0;q=F*L+G*da+q*l;m=H*L+I*da+J*l;l=K*L+M*da+ea*l}if(c[Y+180>>2]&1|0){D=+g[Y+4>>2];G=+g[Y+20>>2];J=+g[Y+36>>2];E=+g[Y+8>>2];H=+g[Y+24>>2];L=+g[Y+40>>2];F=+g[Y+12>>2];I=+g[Y+28>>2];da=+g[Y+44>>2];K=(D*q+G*m+J*l)*+g[Y+164>>2];M=(q*E+m*H+l*L)*+g[Y+168>>2];ea=(q*F+m*I+l*da)*+g[Y+172>>2];g[C>>2]=D*K+E*M+F*ea;g[i>>2]=G*K+H*M+I*ea;g[o>>2]=J*K+L*M+da*ea;g[p>>2]=0.0}qc(b,C,Z,_,S,R,ca+64|0,ca+48|0,1.0,0.0,0.0);if(!(c[f+64>>2]&16))break;da=+g[i>>2];q=+g[P>>2];K=+g[o>>2];L=+g[O>>2];ea=+g[N>>2];M=+g[C>>2];n=W+4+(U*184|0)+168|0;g[W+4+(U*184|0)+168>>2]=da*q-K*L;i=W+4+(U*184|0)+172|0;j=W+4+(U*184|0)+176|0;k=W+4+(U*184|0)+180|0;g[k>>2]=0.0;m=1.0/+x(+((da*q-K*L)*(da*q-K*L)+(K*ea-q*M)*(K*ea-q*M)+(L*M-da*ea)*(L*M-da*ea)));l=(da*q-K*L)*m;g[n>>2]=l;q=(K*ea-q*M)*m;g[i>>2]=q;m=(L*M-da*ea)*m;g[j>>2]=m;if(c[X+180>>2]&1){E=+g[X+4>>2];H=+g[X+20>>2];K=+g[X+36>>2];F=+g[X+8>>2];I=+g[X+24>>2];M=+g[X+40>>2];G=+g[X+12>>2];J=+g[X+28>>2];ea=+g[X+44>>2];L=(l*E+q*H+m*K)*+g[X+164>>2];da=(l*F+q*I+m*M)*+g[X+168>>2];m=(l*G+q*J+m*ea)*+g[X+172>>2];g[n>>2]=E*L+F*da+G*m;g[i>>2]=H*L+I*da+J*m;g[j>>2]=K*L+M*da+ea*m;g[k>>2]=0.0;l=E*L+F*da+G*m;q=H*L+I*da+J*m;m=K*L+M*da+ea*m}if(c[Y+180>>2]&1|0){D=+g[Y+4>>2];G=+g[Y+20>>2];J=+g[Y+36>>2];E=+g[Y+8>>2];H=+g[Y+24>>2];L=+g[Y+40>>2];F=+g[Y+12>>2];I=+g[Y+28>>2];da=+g[Y+44>>2];K=(D*l+G*q+J*m)*+g[Y+164>>2];M=(l*E+q*H+m*L)*+g[Y+168>>2];ea=(l*F+q*I+m*da)*+g[Y+172>>2];g[n>>2]=D*K+E*M+F*ea;g[i>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g[p>>2]=0.0}qc(b,C,Z,_,S,R,ca+64|0,ca+48|0,1.0,0.0,0.0);i=c[f+64>>2]|0;if(i&16){if(c[X+180>>2]&1|0){D=+g[X+4>>2];A=+g[n>>2];G=+g[X+20>>2];B=+g[k>>2];J=+g[X+36>>2];ea=+g[j>>2];E=+g[X+8>>2];H=+g[X+24>>2];L=+g[X+40>>2];F=+g[X+12>>2];I=+g[X+28>>2];da=+g[X+44>>2];K=(D*A+G*B+J*ea)*+g[X+164>>2];M=(A*E+B*H+ea*L)*+g[X+168>>2];ea=(A*F+B*I+ea*da)*+g[X+172>>2];g[n>>2]=D*K+E*M+F*ea;g[k>>2]=G*K+H*M+I*ea;g[j>>2]=J*K+L*M+da*ea;g[W+4+(U*184|0)+180>>2]=0.0}if(c[Y+180>>2]&1|0){D=+g[Y+4>>2];A=+g[n>>2];G=+g[Y+20>>2];B=+g[k>>2];J=+g[Y+36>>2];ea=+g[j>>2];E=+g[Y+8>>2];H=+g[Y+24>>2];L=+g[Y+40>>2];F=+g[Y+12>>2];I=+g[Y+28>>2];da=+g[Y+44>>2];K=(D*A+G*B+J*ea)*+g[Y+164>>2];M=(A*E+B*H+ea*L)*+g[Y+168>>2];ea=(A*F+B*I+ea*da)*+g[Y+172>>2];g[n>>2]=D*K+E*M+F*ea;g[k>>2]=G*K+H*M+I*ea;g[j>>2]=J*K+L*M+da*ea;g[W+4+(U*184|0)+180>>2]=0.0}qc(b,n,Z,_,S,R,ca+64|0,ca+48|0,1.0,0.0,0.0);i=c[f+64>>2]|0}if((i&80|0)!=80)break;a[W+4+(U*184|0)+116>>0]=1}while(0);n=c[b+16>>2]|0;o=c[n+(Z*244|0)+240>>2]|0;p=c[n+(_*244|0)+240>>2]|0;j=c[Q+(S*152|0)+140>>2]|0;k=c[b+76>>2]|0;i=c[f+64>>2]|0;do if(!(i&4))g[k+(j*152|0)+100>>2]=0.0;else{l=+g[W+4+(U*184|0)+124>>2]*+g[f+60>>2];g[k+(j*152|0)+100>>2]=l;if(o|0){M=+g[o+344>>2];ea=l*M*+g[k+(j*152|0)+20>>2]*+g[o+352>>2]*+g[n+(Z*244|0)+116>>2];da=l*M*+g[k+(j*152|0)+24>>2]*+g[o+356>>2]*+g[n+(Z*244|0)+120>>2];g[n+(Z*244|0)+64>>2]=l*M*+g[k+(j*152|0)+16>>2]*+g[o+348>>2]*+g[n+(Z*244|0)+112>>2]+ +g[n+(Z*244|0)+64>>2];g[n+(Z*244|0)+68>>2]=ea+ +g[n+(Z*244|0)+68>>2];g[n+(Z*244|0)+72>>2]=da+ +g[n+(Z*244|0)+72>>2];da=l*+g[n+(Z*244|0)+100>>2]*+g[k+(j*152|0)+68>>2];ea=l*+g[n+(Z*244|0)+104>>2]*+g[k+(j*152|0)+72>>2];g[n+(Z*244|0)+80>>2]=l*+g[n+(Z*244|0)+96>>2]*+g[k+(j*152|0)+64>>2]+ +g[n+(Z*244|0)+80>>2];g[n+(Z*244|0)+84>>2]=da+ +g[n+(Z*244|0)+84>>2];g[n+(Z*244|0)+88>>2]=ea+ +g[n+(Z*244|0)+88>>2]}if(!p)break;I=+g[p+344>>2];L=+g[k+(j*152|0)+80>>2];da=+g[k+(j*152|0)+84>>2];ea=+g[k+(j*152|0)+88>>2];M=+g[k+(j*152|0)+100>>2];J=+g[k+(j*152|0)+52>>2]*I*+g[p+352>>2]*M*+g[n+(_*244|0)+116>>2];K=+g[k+(j*152|0)+56>>2]*I*+g[p+356>>2]*M*+g[n+(_*244|0)+120>>2];g[n+(_*244|0)+64>>2]=+g[k+(j*152|0)+48>>2]*I*+g[p+348>>2]*M*+g[n+(_*244|0)+112>>2]+ +g[n+(_*244|0)+64>>2];g[n+(_*244|0)+68>>2]=J+ +g[n+(_*244|0)+68>>2];g[n+(_*244|0)+72>>2]=K+ +g[n+(_*244|0)+72>>2];da=da*+g[n+(_*244|0)+100>>2]*-M;ea=ea*+g[n+(_*244|0)+104>>2]*-M;g[n+(_*244|0)+80>>2]=+g[n+(_*244|0)+80>>2]-L*+g[n+(_*244|0)+96>>2]*-M;g[n+(_*244|0)+84>>2]=+g[n+(_*244|0)+84>>2]-da;g[n+(_*244|0)+88>>2]=+g[n+(_*244|0)+88>>2]-ea}while(0);do if(i&16|0){if(!(i&4)){g[k+((j+1|0)*152|0)+100>>2]=0.0;break}l=+g[W+4+(U*184|0)+128>>2]*+g[f+60>>2];g[k+((j+1|0)*152|0)+100>>2]=l;if(o|0){M=+g[o+344>>2];ea=l*M*+g[k+((j+1|0)*152|0)+20>>2]*+g[n+(Z*244|0)+116>>2];da=l*M*+g[k+((j+1|0)*152|0)+24>>2]*+g[n+(Z*244|0)+120>>2];g[n+(Z*244|0)+64>>2]=l*M*+g[k+((j+1|0)*152|0)+16>>2]*+g[n+(Z*244|0)+112>>2]+ +g[n+(Z*244|0)+64>>2];g[n+(Z*244|0)+68>>2]=ea+ +g[n+(Z*244|0)+68>>2];g[n+(Z*244|0)+72>>2]=da+ +g[n+(Z*244|0)+72>>2];da=l*+g[n+(Z*244|0)+100>>2]*+g[k+((j+1|0)*152|0)+68>>2];ea=l*+g[n+(Z*244|0)+104>>2]*+g[k+((j+1|0)*152|0)+72>>2];g[n+(Z*244|0)+80>>2]=l*+g[n+(Z*244|0)+96>>2]*+g[k+((j+1|0)*152|0)+64>>2]+ +g[n+(Z*244|0)+80>>2];g[n+(Z*244|0)+84>>2]=da+ +g[n+(Z*244|0)+84>>2];g[n+(Z*244|0)+88>>2]=ea+ +g[n+(Z*244|0)+88>>2]}if(!p)break;I=+g[p+344>>2];L=+g[k+((j+1|0)*152|0)+80>>2];da=+g[k+((j+1|0)*152|0)+84>>2];ea=+g[k+((j+1|0)*152|0)+88>>2];M=+g[k+((j+1|0)*152|0)+100>>2];J=+g[k+((j+1|0)*152|0)+52>>2]*I*M*+g[n+(_*244|0)+116>>2];K=+g[k+((j+1|0)*152|0)+56>>2]*I*M*+g[n+(_*244|0)+120>>2];g[n+(_*244|0)+64>>2]=+g[k+((j+1|0)*152|0)+48>>2]*I*M*+g[n+(_*244|0)+112>>2]+ +g[n+(_*244|0)+64>>2];g[n+(_*244|0)+68>>2]=J+ +g[n+(_*244|0)+68>>2];g[n+(_*244|0)+72>>2]=K+ +g[n+(_*244|0)+72>>2];da=da*+g[n+(_*244|0)+100>>2]*-M;ea=ea*+g[n+(_*244|0)+104>>2]*-M;g[n+(_*244|0)+80>>2]=+g[n+(_*244|0)+80>>2]-L*+g[n+(_*244|0)+96>>2]*-M;g[n+(_*244|0)+84>>2]=+g[n+(_*244|0)+84>>2]-da;g[n+(_*244|0)+88>>2]=+g[n+(_*244|0)+88>>2]-ea}while(0);i=c[W+748>>2]|0}U=U+1|0}while((U|0)<(i|0))}T=T+1|0}while((T|0)!=(e|0));sa=ca;return}function rb(b){b=b|0;var d=0,e=0,f=0.0,h=0.0,i=0.0,k=0,l=0,m=0,n=0,o=0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,B=0.0,C=0.0,D=0,E=0.0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0.0,$=0.0,aa=0.0,ba=0.0,ca=0.0,da=0.0,ea=0.0,fa=0.0,ga=0.0,ha=0.0,ia=0.0,ja=0,ka=0,ma=0;Z=sa;sa=sa+176|0;Ki(16605);qd(b);if((Fa[c[(c[b>>2]|0)+20>>2]&127](b)|0?(X=Fa[c[(c[b>>2]|0)+20>>2]&127](b)|0,(Fa[c[(c[X>>2]|0)+48>>2]&127](X)|0)&6144|0):0)?(d=Fa[c[(c[b>>2]|0)+104>>2]&127](b)|0,(d|0)>0):0){Q=Z+112+44|0;L=Z+112+4|0;N=Z+112+8|0;O=Z+112+16|0;P=Z+112+20|0;G=Z+112+24|0;H=Z+112+32|0;I=Z+112+36|0;J=Z+112+40|0;F=Z+112+48|0;K=Z+112+52|0;M=Z+112+56|0;R=Z+112+16|0;S=Z+112+32|0;T=Z+112+48|0;U=Z+112+16|0;V=Z+112+32|0;W=Z+112+48|0;X=Z+112+48|0;do{D=d;d=d+-1|0;o=Ha[c[(c[b>>2]|0)+108>>2]&31](b,d)|0;e=Fa[c[(c[b>>2]|0)+20>>2]&127](b)|0;e=((Fa[c[(c[e>>2]|0)+48>>2]&127](e)|0)&2048|0)!=0;n=Fa[c[(c[b>>2]|0)+20>>2]&127](b)|0;n=((Fa[c[(c[n>>2]|0)+48>>2]&127](n)|0)&4096|0)!=0;E=+g[o+40>>2];a:do if(!(E<=0.0))switch(c[o+4>>2]|0){case 3:{c[Z+112>>2]=1065353216;c[Z+112+4>>2]=0;c[Z+112+4+4>>2]=0;c[Z+112+4+8>>2]=0;c[Z+112+4+12>>2]=0;c[Z+112+20>>2]=1065353216;c[Z+112+24>>2]=0;c[Z+112+24+4>>2]=0;c[Z+112+24+8>>2]=0;c[Z+112+24+12>>2]=0;c[Z+112+40>>2]=1065353216;c[Q>>2]=0;c[Q+4>>2]=0;c[Q+8>>2]=0;c[Q+12>>2]=0;c[Q+16>>2]=0;C=+g[o+300>>2];B=+g[o+304>>2];y=+g[o+308>>2];n=c[o+28>>2]|0;x=C*+g[n+20>>2]+B*+g[n+24>>2]+y*+g[n+28>>2]+ +g[n+56>>2];w=C*+g[n+36>>2]+B*+g[n+40>>2]+y*+g[n+44>>2]+ +g[n+60>>2];g[Z+112+48>>2]=C*+g[n+4>>2]+B*+g[n+8>>2]+y*+g[n+12>>2]+ +g[n+52>>2];g[Z+112+52>>2]=x;g[Z+112+56>>2]=w;g[Z+112+60>>2]=0.0;n=Fa[c[(c[b>>2]|0)+20>>2]&127](b)|0;Wa[c[(c[n>>2]|0)+56>>2]&7](n,Z+112|0,E);w=+g[o+316>>2];x=+g[o+320>>2];y=+g[o+324>>2];o=c[o+32>>2]|0;B=w*+g[o+20>>2]+x*+g[o+24>>2]+y*+g[o+28>>2]+ +g[o+56>>2];C=w*+g[o+36>>2]+x*+g[o+40>>2]+y*+g[o+44>>2]+ +g[o+60>>2];g[Z+112+48>>2]=w*+g[o+4>>2]+x*+g[o+8>>2]+y*+g[o+12>>2]+ +g[o+52>>2];g[Z+112+52>>2]=B;g[Z+112+56>>2]=C;g[Z+112+60>>2]=0.0;if(e){o=Fa[c[(c[b>>2]|0)+20>>2]&127](b)|0;Wa[c[(c[o>>2]|0)+56>>2]&7](o,Z+112|0,E)}break a}case 4:{m=c[o+28>>2]|0;f=+g[o+552>>2];da=+g[m+4>>2];h=+g[o+552+16>>2];ca=+g[m+8>>2];i=+g[o+552+32>>2];ba=+g[m+12>>2];p=+g[o+552+4>>2];q=+g[o+552+20>>2];r=+g[o+552+36>>2];s=+g[o+552+8>>2];u=+g[o+552+24>>2];w=+g[o+552+40>>2];aa=+g[m+20>>2];$=+g[m+24>>2];_=+g[m+28>>2];t=+g[m+36>>2];v=+g[m+40>>2];x=+g[m+44>>2];fa=+g[o+552+48>>2];ea=+g[o+552+52>>2];C=+g[o+552+56>>2];y=+g[m+52>>2]+(da*fa+ca*ea+ba*C);B=aa*fa+$*ea+_*C+ +g[m+56>>2];C=t*fa+v*ea+x*C+ +g[m+60>>2];g[Z+112>>2]=f*da+h*ca+i*ba;g[Z+112+4>>2]=da*p+ca*q+ba*r;g[Z+112+8>>2]=da*s+ca*u+ba*w;g[Z+112+12>>2]=0.0;g[Z+112+16>>2]=f*aa+h*$+i*_;g[Z+112+20>>2]=p*aa+q*$+r*_;g[Z+112+24>>2]=s*aa+u*$+w*_;g[Z+112+28>>2]=0.0;g[Z+112+32>>2]=f*t+h*v+i*x;g[Z+112+36>>2]=p*t+q*v+r*x;g[Z+112+40>>2]=s*t+u*v+w*x;g[Z+112+44>>2]=0.0;g[Z+112+48>>2]=y;g[Z+112+52>>2]=B;g[Z+112+56>>2]=C;g[Z+112+60>>2]=0.0;if(e){m=Fa[c[(c[b>>2]|0)+20>>2]&127](b)|0;Wa[c[(c[m>>2]|0)+56>>2]&7](m,Z+112|0,E);m=c[o+32>>2]|0;u=+g[o+616>>2];i=+g[m+4>>2];v=+g[o+616+16>>2];p=+g[m+8>>2];w=+g[o+616+32>>2];q=+g[m+12>>2];x=+g[o+616+4>>2];y=+g[o+616+20>>2];B=+g[o+616+36>>2];C=+g[o+616+8>>2];$=+g[o+616+24>>2];ba=+g[o+616+40>>2];r=+g[m+20>>2];s=+g[m+24>>2];t=+g[m+28>>2];_=+g[m+36>>2];aa=+g[m+40>>2];ca=+g[m+44>>2];f=+g[o+616+48>>2];h=+g[o+616+52>>2];fa=+g[o+616+56>>2];da=+g[m+52>>2]+(i*f+p*h+q*fa);ea=r*f+s*h+t*fa+ +g[m+56>>2];fa=_*f+aa*h+ca*fa+ +g[m+60>>2];g[Z+112>>2]=u*i+v*p+w*q;g[Z+112+4>>2]=i*x+p*y+q*B;g[Z+112+8>>2]=i*C+p*$+q*ba;g[Z+112+12>>2]=0.0;g[Z+112+16>>2]=u*r+v*s+w*t;g[Z+112+20>>2]=x*r+y*s+B*t;g[Z+112+24>>2]=C*r+$*s+ba*t;g[Z+112+28>>2]=0.0;g[Z+112+32>>2]=u*_+v*aa+w*ca;g[Z+112+36>>2]=x*_+y*aa+B*ca;g[Z+112+40>>2]=C*_+$*aa+ba*ca;g[Z+112+44>>2]=0.0;g[Z+112+48>>2]=da;g[Z+112+52>>2]=ea;g[Z+112+56>>2]=fa;g[Z+112+60>>2]=0.0;m=Fa[c[(c[b>>2]|0)+20>>2]&127](b)|0;Wa[c[(c[m>>2]|0)+56>>2]&7](m,Z+112|0,E)}else{m=c[o+32>>2]|0;u=+g[o+616>>2];i=+g[m+4>>2];v=+g[o+616+16>>2];p=+g[m+8>>2];w=+g[o+616+32>>2];q=+g[m+12>>2];x=+g[o+616+4>>2];y=+g[o+616+20>>2];B=+g[o+616+36>>2];C=+g[o+616+8>>2];$=+g[o+616+24>>2];ba=+g[o+616+40>>2];r=+g[m+20>>2];s=+g[m+24>>2];t=+g[m+28>>2];_=+g[m+36>>2];aa=+g[m+40>>2];ca=+g[m+44>>2];f=+g[o+616+48>>2];h=+g[o+616+52>>2];fa=+g[o+616+56>>2];da=+g[m+52>>2]+(i*f+p*h+q*fa);ea=r*f+s*h+t*fa+ +g[m+56>>2];fa=_*f+aa*h+ca*fa+ +g[m+60>>2];g[Z+112>>2]=u*i+v*p+w*q;g[Z+112+4>>2]=i*x+p*y+q*B;g[Z+112+8>>2]=i*C+p*$+q*ba;g[Z+112+12>>2]=0.0;g[Z+112+16>>2]=u*r+v*s+w*t;g[Z+112+20>>2]=x*r+y*s+B*t;g[Z+112+24>>2]=C*r+$*s+ba*t;g[Z+112+28>>2]=0.0;g[Z+112+32>>2]=u*_+v*aa+w*ca;g[Z+112+36>>2]=x*_+y*aa+B*ca;g[Z+112+40>>2]=C*_+$*aa+ba*ca;g[Z+112+44>>2]=0.0;g[Z+112+48>>2]=da;g[Z+112+52>>2]=ea;g[Z+112+56>>2]=fa;g[Z+112+60>>2]=0.0}i=+g[o+688>>2];f=+g[o+688+4>>2];if(!((i-f)%6.2831854820251465<-3.1415927410125732))if((i-f)%6.2831854820251465>3.1415927410125732)h=(i-f)%6.2831854820251465+-6.2831854820251465;else h=(i-f)%6.2831854820251465;else h=(i-f)%6.2831854820251465+6.2831854820251465;if(!((i+f)%6.2831854820251465<-3.1415927410125732))if((i+f)%6.2831854820251465>3.1415927410125732)f=(i+f)%6.2831854820251465+-6.2831854820251465;else f=(i+f)%6.2831854820251465;else f=(i+f)%6.2831854820251465+6.2831854820251465;if(!(h==f)?(Y=h>f,n):0){c[Z+96>>2]=c[Z+112+8>>2];c[Z+96+4>>2]=c[Z+112+24>>2];c[Z+96+8>>2]=c[Z+112+40>>2];g[Z+96+12>>2]=0.0;c[Z+80>>2]=c[Z+112>>2];c[Z+80+4>>2]=c[Z+112+16>>2];c[Z+80+8>>2]=c[Z+112+32>>2];g[Z+80+12>>2]=0.0;o=Fa[c[(c[b>>2]|0)+20>>2]&127](b)|0;n=c[(c[o>>2]|0)+60>>2]|0;c[Z+64>>2]=0;c[Z+64+4>>2]=0;c[Z+64+8>>2]=0;c[Z+64+12>>2]=0;db[n&1](o,Z+112+48|0,Z+96|0,Z+80|0,E,E,Y?0.0:h,Y?6.2831854820251465:f,Z+64|0,Y^1,10.0)}break a}case 5:{m=c[o+28>>2]|0;u=+g[o+300>>2];i=+g[m+4>>2];v=+g[o+300+16>>2];p=+g[m+8>>2];w=+g[o+300+32>>2];q=+g[m+12>>2];x=+g[o+300+4>>2];y=+g[o+300+20>>2];B=+g[o+300+36>>2];C=+g[o+300+8>>2];$=+g[o+300+24>>2];ba=+g[o+300+40>>2];r=+g[m+20>>2];s=+g[m+24>>2];t=+g[m+28>>2];_=+g[m+36>>2];aa=+g[m+40>>2];ca=+g[m+44>>2];f=+g[o+300+48>>2];h=+g[o+300+52>>2];fa=+g[o+300+56>>2];da=+g[m+52>>2]+(i*f+p*h+q*fa);ea=r*f+s*h+t*fa+ +g[m+56>>2];fa=_*f+aa*h+ca*fa+ +g[m+60>>2];g[Z+112>>2]=u*i+v*p+w*q;g[L>>2]=i*x+p*y+q*B;g[N>>2]=i*C+p*$+q*ba;g[Z+112+12>>2]=0.0;g[O>>2]=u*r+v*s+w*t;g[P>>2]=x*r+y*s+B*t;g[G>>2]=C*r+$*s+ba*t;g[Z+112+28>>2]=0.0;g[H>>2]=u*_+v*aa+w*ca;g[I>>2]=x*_+y*aa+B*ca;g[J>>2]=C*_+$*aa+ba*ca;g[Z+112+44>>2]=0.0;g[F>>2]=da;g[K>>2]=ea;g[M>>2]=fa;g[Z+112+60>>2]=0.0;if(e){m=Fa[c[(c[b>>2]|0)+20>>2]&127](b)|0;Wa[c[(c[m>>2]|0)+56>>2]&7](m,Z+112|0,E);m=c[o+32>>2]|0;u=+g[o+364>>2];i=+g[m+4>>2];v=+g[o+364+16>>2];p=+g[m+8>>2];w=+g[o+364+32>>2];q=+g[m+12>>2];x=+g[o+364+4>>2];y=+g[o+364+20>>2];B=+g[o+364+36>>2];C=+g[o+364+8>>2];$=+g[o+364+24>>2];ba=+g[o+364+40>>2];r=+g[m+20>>2];s=+g[m+24>>2];t=+g[m+28>>2];_=+g[m+36>>2];aa=+g[m+40>>2];ca=+g[m+44>>2];f=+g[o+364+48>>2];h=+g[o+364+52>>2];fa=+g[o+364+56>>2];da=+g[m+52>>2]+(i*f+p*h+q*fa);ea=r*f+s*h+t*fa+ +g[m+56>>2];fa=_*f+aa*h+ca*fa+ +g[m+60>>2];g[Z+112>>2]=u*i+v*p+w*q;g[L>>2]=i*x+p*y+q*B;g[N>>2]=i*C+p*$+q*ba;g[Z+112+12>>2]=0.0;g[O>>2]=u*r+v*s+w*t;g[P>>2]=x*r+y*s+B*t;g[G>>2]=C*r+$*s+ba*t;g[Z+112+28>>2]=0.0;g[H>>2]=u*_+v*aa+w*ca;g[I>>2]=x*_+y*aa+B*ca;g[J>>2]=C*_+$*aa+ba*ca;g[Z+112+44>>2]=0.0;g[F>>2]=da;g[K>>2]=ea;g[M>>2]=fa;g[Z+112+60>>2]=0.0;m=Fa[c[(c[b>>2]|0)+20>>2]&127](b)|0;Wa[c[(c[m>>2]|0)+56>>2]&7](m,Z+112|0,E)}else{m=c[o+32>>2]|0;u=+g[o+364>>2];i=+g[m+4>>2];v=+g[o+364+16>>2];p=+g[m+8>>2];w=+g[o+364+32>>2];q=+g[m+12>>2];x=+g[o+364+4>>2];y=+g[o+364+20>>2];B=+g[o+364+36>>2];C=+g[o+364+8>>2];$=+g[o+364+24>>2];ba=+g[o+364+40>>2];r=+g[m+20>>2];s=+g[m+24>>2];t=+g[m+28>>2];_=+g[m+36>>2];aa=+g[m+40>>2];ca=+g[m+44>>2];f=+g[o+364+48>>2];h=+g[o+364+52>>2];fa=+g[o+364+56>>2];da=+g[m+52>>2]+(i*f+p*h+q*fa);ea=r*f+s*h+t*fa+ +g[m+56>>2];fa=_*f+aa*h+ca*fa+ +g[m+60>>2];g[Z+112>>2]=u*i+v*p+w*q;g[L>>2]=i*x+p*y+q*B;g[N>>2]=i*C+p*$+q*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>2]=0;c[Z+64+8>>2]=0;c[Z+64+12>>2]=0;ab[m&127](n,X,Z+80|0,Z+64|0)}c[Z+96>>2]=c[Z+80>>2];c[Z+96+4>>2]=c[Z+80+4>>2];c[Z+96+8>>2]=c[Z+80+8>>2];c[Z+96+12>>2]=c[Z+80+12>>2];e=e+1|0}while((e|0)!=32);B=+g[o+452>>2];C=+g[o+512>>2];e=c[o+32>>2]|0;if(+g[e+344>>2]>0.0){ba=+g[o+364>>2];ca=+g[e+4>>2];da=+g[o+364+16>>2];ea=+g[e+8>>2];fa=+g[o+364+32>>2];w=+g[e+12>>2];$=+g[o+364+4>>2];aa=+g[o+364+20>>2];v=+g[o+364+36>>2];ga=+g[o+364+8>>2];_=+g[o+364+24>>2];u=+g[o+364+40>>2];ia=+g[e+20>>2];ha=+g[e+24>>2];t=+g[e+28>>2];s=+g[e+36>>2];r=+g[e+40>>2];q=+g[e+44>>2];i=+g[o+364+48>>2];f=+g[o+364+52>>2];h=+g[o+364+56>>2];x=ia*i+ha*f+t*h;y=ca*i+ea*f+w*h;f=s*i+r*f;h=q*h;i=ga*s+_*r+u*q;p=$*s+aa*r+v*q;q=ba*s+da*r+fa*q;r=ga*ia+_*ha+u*t;s=$*ia+aa*ha+v*t;t=ba*ia+da*ha+fa*t;u=ca*ga+ea*_+w*u;v=ca*$+ea*aa+w*v;w=ba*ca+da*ea+fa*w}else{e=c[o+28>>2]|0;ea=+g[o+300>>2];fa=+g[e+4>>2];ga=+g[o+300+16>>2];ha=+g[e+8>>2];ia=+g[o+300+32>>2];w=+g[e+12>>2];ca=+g[o+300+4>>2];da=+g[o+300+20>>2];v=+g[o+300+36>>2];aa=+g[o+300+8>>2];ba=+g[o+300+24>>2];u=+g[o+300+40>>2];_=+g[e+20>>2];$=+g[e+24>>2];t=+g[e+28>>2];s=+g[e+36>>2];r=+g[e+40>>2];q=+g[e+44>>2];i=+g[o+300+48>>2];f=+g[o+300+52>>2];h=+g[o+300+56>>2];x=_*i+$*f+t*h;y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2]=c[l+4>>2];c[S+8>>2]=c[l+8>>2];c[S+12>>2]=c[l+12>>2];m=o+1064+48|0;c[T>>2]=c[m>>2];c[T+4>>2]=c[m+4>>2];c[T+8>>2]=c[m+8>>2];c[T+12>>2]=c[m+12>>2];if(e){e=Fa[c[(c[b>>2]|0)+20>>2]&127](b)|0;Wa[c[(c[e>>2]|0)+56>>2]&7](e,Z+112|0,E);c[Z+112>>2]=c[o+1128>>2];c[Z+112+4>>2]=c[o+1128+4>>2];c[Z+112+8>>2]=c[o+1128+8>>2];c[Z+112+12>>2]=c[o+1128+12>>2];c[R>>2]=c[o+1128+16>>2];c[R+4>>2]=c[o+1128+16+4>>2];c[R+8>>2]=c[o+1128+16+8>>2];c[R+12>>2]=c[o+1128+16+12>>2];c[S>>2]=c[o+1128+32>>2];c[S+4>>2]=c[o+1128+32+4>>2];c[S+8>>2]=c[o+1128+32+8>>2];c[S+12>>2]=c[o+1128+32+12>>2];c[T>>2]=c[o+1128+48>>2];c[T+4>>2]=c[o+1128+48+4>>2];c[T+8>>2]=c[o+1128+48+8>>2];c[T+12>>2]=c[o+1128+48+12>>2];e=Fa[c[(c[b>>2]|0)+20>>2]&127](b)|0;Wa[c[(c[e>>2]|0)+56>>2]&7](e,Z+112|0,E)}else{c[Z+112>>2]=c[o+1128>>2];c[Z+112+4>>2]=c[o+1128+4>>2];c[Z+112+8>>2]=c[o+1128+8>>2];c[Z+112+12>>2]=c[o+1128+12>>2];c[R>>2]=c[o+1128+16>>2];c[R+4>>2]=c[o+1128+16+4>>2];c[R+8>>2]=c[o+1128+16+8>>2];c[R+12>>2]=c[o+1128+16+12>>2];c[S>>2]=c[o+1128+32>>2];c[S+4>>2]=c[o+1128+32+4>>2];c[S+8>>2]=c[o+1128+32+8>>2];c[S+12>>2]=c[o+1128+32+12>>2];c[T>>2]=c[o+1128+48>>2];c[T+4>>2]=c[o+1128+48+4>>2];c[T+8>>2]=c[o+1128+48+8>>2];c[T+12>>2]=c[o+1128+48+12>>2]}if(n){c[Z+112>>2]=c[o+1064>>2];c[Z+112+4>>2]=c[o+1064+4>>2];c[Z+112+8>>2]=c[o+1064+8>>2];c[Z+112+12>>2]=c[o+1064+12>>2];c[R>>2]=c[k>>2];c[R+4>>2]=c[k+4>>2];c[R+8>>2]=c[k+8>>2];c[R+12>>2]=c[k+12>>2];c[S>>2]=c[l>>2];c[S+4>>2]=c[l+4>>2];c[S+8>>2]=c[l+8>>2];c[S+12>>2]=c[l+12>>2];c[T>>2]=c[m>>2];c[T+4>>2]=c[m+4>>2];c[T+8>>2]=c[m+8>>2];c[T+12>>2]=c[m+12>>2];e=o+1128+48|0;c[Z+96>>2]=c[Z+112+8>>2];c[Z+96+4>>2]=c[Z+112+24>>2];c[Z+96+8>>2]=c[Z+112+40>>2];g[Z+96+12>>2]=0.0;c[Z+80>>2]=c[Z+112>>2];c[Z+80+4>>2]=c[Z+112+16>>2];c[Z+80+8>>2]=c[Z+112+32>>2];g[Z+80+12>>2]=0.0;ea=+g[o+932>>2];f=+g[o+932+4>>2];ha=+g[o+996>>2];ga=+g[o+996+4>>2];ja=Fa[c[(c[b>>2]|0)+20>>2]&127](b)|0;n=c[(c[ja>>2]|0)+64>>2]|0;c[Z+64>>2]=0;c[Z+64+4>>2]=0;c[Z+64+8>>2]=0;c[Z+64+12>>2]=0;cb[n&1](ja,e,Z+96|0,Z+80|0,E*.8999999761581421,ea,f,ha,ga,Z+64|0,10.0,1);ja=c[Z+112+20>>2]|0;n=c[Z+112+36>>2]|0;c[Z+80>>2]=c[Z+112+4>>2];c[Z+80+4>>2]=ja;c[Z+80+8>>2]=n;g[Z+80+12>>2]=0.0;ga=+g[o+1196>>2];ha=+g[o+1200>>2];f=+z(+ga);ga=+A(+ga);ea=+z(+ha);ha=+A(+ha);fa=+g[Z+80>>2];ia=+g[Z+80+4>>2];h=+g[Z+80+8>>2];g[Z+64>>2]=f*ea*fa+f*ha*ia-ga*h;g[Z+64+4>>2]=ea*ia-ha*fa;g[Z+64+8>>2]=ga*ea*fa+ga*ha*ia+f*h;c[Z+112>>2]=c[o+1128>>2];c[Z+112+4>>2]=c[o+1128+4>>2];c[Z+112+8>>2]=c[o+1128+8>>2];c[Z+112+12>>2]=c[o+1128+12>>2];c[R>>2]=c[o+1128+16>>2];c[R+4>>2]=c[o+1128+16+4>>2];c[R+8>>2]=c[o+1128+16+8>>2];c[R+12>>2]=c[o+1128+16+12>>2];c[S>>2]=c[o+1128+32>>2];c[S+4>>2]=c[o+1128+32+4>>2];c[S+8>>2]=c[o+1128+32+8>>2];c[S+12>>2]=c[o+1128+32+12>>2];c[T>>2]=c[e>>2];c[T+4>>2]=c[e+4>>2];c[T+8>>2]=c[e+8>>2];c[T+12>>2]=c[e+12>>2];h=-+g[Z+112+16>>2];f=-+g[Z+112+32>>2];g[Z+48>>2]=-+g[Z+112>>2];g[Z+48+4>>2]=h;g[Z+48+8>>2]=f;g[Z+48+12>>2]=0.0;f=+g[o+868>>2];h=+g[o+868+4>>2];if(!(f>h)){if(f>2]|0)+20>>2]&127](b)|0;n=c[(c[ja>>2]|0)+60>>2]|0;c[Z+32>>2]=0;c[Z+32+4>>2]=0;c[Z+32+8>>2]=0;c[Z+32+12>>2]=0;db[n&1](ja,e,Z+48|0,Z+64|0,E,E,f,h,Z+32|0,1,10.0)}}else{ja=Fa[c[(c[b>>2]|0)+20>>2]&127](b)|0;n=c[(c[ja>>2]|0)+60>>2]|0;c[Z+32>>2]=0;c[Z+32+4>>2]=0;c[Z+32+8>>2]=0;c[Z+32+12>>2]=0;db[n&1](ja,e,Z+48|0,Z+64|0,E,E,-3.1415927410125732,3.1415927410125732,Z+32|0,0,10.0)}c[Z+112>>2]=c[o+1064>>2];c[Z+112+4>>2]=c[o+1064+4>>2];c[Z+112+8>>2]=c[o+1064+8>>2];c[Z+112+12>>2]=c[o+1064+12>>2];c[R>>2]=c[k>>2];c[R+4>>2]=c[k+4>>2];c[R+8>>2]=c[k+8>>2];c[R+12>>2]=c[k+12>>2];c[S>>2]=c[l>>2];c[S+4>>2]=c[l+4>>2];c[S+8>>2]=c[l+8>>2];c[S+12>>2]=c[l+12>>2];c[T>>2]=c[m>>2];c[T+4>>2]=c[m+4>>2];c[T+8>>2]=c[m+8>>2];c[T+12>>2]=c[m+12>>2];c[Z+32>>2]=c[o+680>>2];c[Z+32+4>>2]=c[o+680+4>>2];c[Z+32+8>>2]=c[o+680+8>>2];c[Z+32+12>>2]=c[o+680+12>>2];c[Z+16>>2]=c[o+680+16>>2];c[Z+16+4>>2]=c[o+680+16+4>>2];c[Z+16+8>>2]=c[o+680+16+8>>2];c[Z+16+12>>2]=c[o+680+16+12>>2];ja=Fa[c[(c[b>>2]|0)+20>>2]&127](b)|0;o=c[(c[ja>>2]|0)+72>>2]|0;c[Z>>2]=0;c[Z+4>>2]=0;c[Z+8>>2]=0;c[Z+12>>2]=0;eb[o&31](ja,Z+32|0,Z+16|0,Z+112|0,Z)}break a}case 7:{c[Z+112>>2]=c[o+824>>2];c[Z+112+4>>2]=c[o+824+4>>2];c[Z+112+8>>2]=c[o+824+8>>2];c[Z+112+12>>2]=c[o+824+12>>2];c[U>>2]=c[o+824+16>>2];c[U+4>>2]=c[o+824+16+4>>2];c[U+8>>2]=c[o+824+16+8>>2];c[U+12>>2]=c[o+824+16+12>>2];c[V>>2]=c[o+824+32>>2];c[V+4>>2]=c[o+824+32+4>>2];c[V+8>>2]=c[o+824+32+8>>2];c[V+12>>2]=c[o+824+32+12>>2];c[W>>2]=c[o+824+48>>2];c[W+4>>2]=c[o+824+48+4>>2];c[W+8>>2]=c[o+824+48+8>>2];c[W+12>>2]=c[o+824+48+12>>2];if(e){ja=Fa[c[(c[b>>2]|0)+20>>2]&127](b)|0;Wa[c[(c[ja>>2]|0)+56>>2]&7](ja,Z+112|0,E);c[Z+112>>2]=c[o+888>>2];c[Z+112+4>>2]=c[o+888+4>>2];c[Z+112+8>>2]=c[o+888+8>>2];c[Z+112+12>>2]=c[o+888+12>>2];c[U>>2]=c[o+888+16>>2];c[U+4>>2]=c[o+888+16+4>>2];c[U+8>>2]=c[o+888+16+8>>2];c[U+12>>2]=c[o+888+16+12>>2];c[V>>2]=c[o+888+32>>2];c[V+4>>2]=c[o+888+32+4>>2];c[V+8>>2]=c[o+888+32+8>>2];c[V+12>>2]=c[o+888+32+12>>2];c[W>>2]=c[o+888+48>>2];c[W+4>>2]=c[o+888+48+4>>2];c[W+8>>2]=c[o+888+48+8>>2];c[W+12>>2]=c[o+888+48+12>>2];ja=Fa[c[(c[b>>2]|0)+20>>2]&127](b)|0;Wa[c[(c[ja>>2]|0)+56>>2]&7](ja,Z+112|0,E)}else{c[Z+112>>2]=c[o+888>>2];c[Z+112+4>>2]=c[o+888+4>>2];c[Z+112+8>>2]=c[o+888+8>>2];c[Z+112+12>>2]=c[o+888+12>>2];c[U>>2]=c[o+888+16>>2];c[U+4>>2]=c[o+888+16+4>>2];c[U+8>>2]=c[o+888+16+8>>2];c[U+12>>2]=c[o+888+16+12>>2];c[V>>2]=c[o+888+32>>2];c[V+4>>2]=c[o+888+32+4>>2];c[V+8>>2]=c[o+888+32+8>>2];c[V+12>>2]=c[o+888+32+12>>2];c[W>>2]=c[o+888+48>>2];c[W+4>>2]=c[o+888+48+4>>2];c[W+8>>2]=c[o+888+48+8>>2];c[W+12>>2]=c[o+888+48+12>>2]}if(n){ka=(a[o+180>>0]|0)==0?o+888|0:o+824|0;e=c[ka>>2]|0;m=c[ka+4>>2]|0;k=c[ka+16>>2]|0;n=c[ka+20>>2]|0;l=c[ka+32>>2]|0;ja=c[ka+36>>2]|0;B=+g[ka+48>>2];aa=+g[ka+52>>2];ea=+g[ka+56>>2];ia=+g[o+184>>2];$=(c[j>>2]=e,+g[j>>2]);_=(c[j>>2]=m,+g[j>>2])*0.0;C=+g[ka+8>>2]*0.0;da=(c[j>>2]=k,+g[j>>2]);ca=(c[j>>2]=n,+g[j>>2])*0.0;ba=+g[ka+24>>2]*0.0;ha=(c[j>>2]=l,+g[j>>2]);ga=(c[j>>2]=ja,+g[j>>2])*0.0;fa=+g[ka+40>>2]*0.0;g[Z+96>>2]=B+(C+(_+ia*$));g[Z+96+4>>2]=aa+(ba+(ca+ia*da));g[Z+96+8>>2]=ea+(fa+(ga+ia*ha));g[Z+96+12>>2]=0.0;ia=+g[o+188>>2];g[Z+80>>2]=B+(C+(_+ia*$));g[Z+80+4>>2]=aa+(ba+(ca+ia*da));g[Z+80+8>>2]=ea+(fa+(ga+ia*ha));g[Z+80+12>>2]=0.0;ka=Fa[c[(c[b>>2]|0)+20>>2]&127](b)|0;ma=c[(c[ka>>2]|0)+8>>2]|0;c[Z+64>>2]=0;c[Z+64+4>>2]=0;c[Z+64+8>>2]=0;c[Z+64+12>>2]=0;ab[ma&127](ka,Z+96|0,Z+80|0,Z+64|0);c[Z+64>>2]=e;c[Z+64+4>>2]=k;c[Z+64+8>>2]=l;g[Z+64+12>>2]=0.0;c[Z+48>>2]=m;c[Z+48+4>>2]=n;c[Z+48+8>>2]=ja;g[Z+48+12>>2]=0.0;ha=+g[o+192>>2];ia=+g[o+196>>2];ja=Fa[c[(c[b>>2]|0)+20>>2]&127](b)|0;n=c[(c[ja>>2]|0)+60>>2]|0;c[Z+32>>2]=0;c[Z+32+4>>2]=0;c[Z+32+8>>2]=0;c[Z+32+12>>2]=0;db[n&1](ja,o+888+48|0,Z+64|0,Z+48|0,E,E,ha,ia,Z+32|0,1,10.0)}break a}default:break a}while(0)}while((D|0)>1)}if((((Fa[c[(c[b>>2]|0)+20>>2]&127](b)|0?(ma=Fa[c[(c[b>>2]|0)+20>>2]&127](b)|0,(Fa[c[(c[ma>>2]|0)+48>>2]&127](ma)|0)&16387|0):0)?Fa[c[(c[b>>2]|0)+20>>2]&127](b)|0:0)?(ma=Fa[c[(c[b>>2]|0)+20>>2]&127](b)|0,Fa[c[(c[ma>>2]|0)+48>>2]&127](ma)|0):0)?(c[b+280>>2]|0)>0:0){d=0;do{ma=c[(c[b+288>>2]|0)+(d<<2)>>2]|0;Va[c[(c[ma>>2]|0)+12>>2]&127](ma,c[b+72>>2]|0);d=d+1|0}while((d|0)<(c[b+280>>2]|0))}d=c[3084]|0;ma=(c[d+16>>2]|0)+-1|0;c[d+16>>2]=ma;if(ma|0){sa=Z;return}do if(c[d+4>>2]|0){la(Z+112|0,0)|0;ma=c[7181]|0;g[d+8>>2]=+g[d+8>>2]+ +(((c[Z+112+4>>2]|0)-(c[ma+4>>2]|0)+(((c[Z+112>>2]|0)-(c[ma>>2]|0)|0)*1e6|0)-(c[d+12>>2]|0)|0)>>>0)/1.0e3;if(!(c[d+16>>2]|0)){d=c[3084]|0;break}else{sa=Z;return}}while(0);c[3084]=c[d+20>>2];sa=Z;return}function sb(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;ve(b,e,f)|0;F=c[b+872>>2]|0;c[e+292>>2]=F;if(F){F=Ha[c[(c[f>>2]|0)+28>>2]&31](f,b+868|0)|0;c[e+260>>2]=F;if(F|0){j=c[e+292>>2]|0;m=Ja[c[(c[f>>2]|0)+16>>2]&63](f,4,j)|0;if((j|0)>0){g=c[m+8>>2]|0;h=0;while(1){k=c[(c[b+880>>2]|0)+(h<<2)>>2]|0;if(!k){i=0;l=0}else{i=k;l=Ha[c[(c[f>>2]|0)+28>>2]&31](f,k)|0}c[g>>2]=l;if(!(Ha[c[(c[f>>2]|0)+24>>2]&31](f,i)|0)){F=Ja[c[(c[f>>2]|0)+16>>2]&63](f,16,1)|0;E=c[F+8>>2]|0;c[E+12>>2]=c[k+16>>2];c[E+4>>2]=c[k+8>>2];c[E>>2]=c[k+4>>2];c[E+8>>2]=c[k+12>>2];eb[c[(c[f>>2]|0)+20>>2]&31](f,F,15001,1414349395,i)}h=h+1|0;if((h|0)>=(j|0)){g=f;break}else g=g+4|0}}else g=f;eb[c[(c[g>>2]|0)+20>>2]&31](f,m,15001,1497453121,b+868|0)}}else c[e+260>>2]=0;F=c[b+712>>2]|0;c[e+296>>2]=F;if(F){F=Ha[c[(c[f>>2]|0)+28>>2]&31](f,b+708|0)|0;c[e+264>>2]=F;if(!F){x=0;h=0;i=0;j=0;k=0}else{E=c[e+296>>2]|0;F=Ja[c[(c[f>>2]|0)+16>>2]&63](f,100,E)|0;if((E|0)>0){C=0;D=c[F+8>>2]|0;p=0;t=0;u=0;g=0;h=0;q=0;y=0;w=0;i=0;r=0;j=0;k=0;B=0;x=0;while(1){m=c[b+720>>2]|0;c[D+52>>2]=c[m+(C*104|0)+56>>2];c[D+56>>2]=c[m+(C*104|0)+60>>2];c[D+60>>2]=c[m+(C*104|0)+64>>2];c[D+64>>2]=c[m+(C*104|0)+68>>2];c[D+88>>2]=c[m+(C*104|0)+92>>2];l=a[m+(C*104|0)+100>>0]<<7&255;c[D+92>>2]=(7?l<<24>>24>>7:l<<24>>24)<<24>>24;c[D+84>>2]=c[m+(C*104|0)+88>>2];l=c[m+(C*104|0)+4>>2]|0;if(!l)l=0;else{l=Ha[c[(c[f>>2]|0)+28>>2]&31](f,l)|0;m=c[b+720>>2]|0}c[D>>2]=l;o=m+(C*104|0)|0;c[D+68>>2]=c[m+(C*104|0)+72>>2];c[D+72>>2]=c[m+(C*104|0)+76>>2];c[D+76>>2]=c[m+(C*104|0)+80>>2];c[D+80>>2]=c[m+(C*104|0)+84>>2];c[D+4>>2]=c[m+(C*104|0)+8>>2];c[D+8>>2]=c[m+(C*104|0)+12>>2];c[D+12>>2]=c[m+(C*104|0)+16>>2];c[D+16>>2]=c[m+(C*104|0)+20>>2];c[D+20>>2]=c[m+(C*104|0)+24>>2];c[D+24>>2]=c[m+(C*104|0)+28>>2];c[D+28>>2]=c[m+(C*104|0)+32>>2];c[D+32>>2]=c[m+(C*104|0)+36>>2];c[D+36>>2]=c[m+(C*104|0)+40>>2];c[D+40>>2]=c[m+(C*104|0)+44>>2];c[D+44>>2]=c[m+(C*104|0)+48>>2];c[D+48>>2]=c[m+(C*104|0)+52>>2];v=((10?o+~(o<<15)>>10:o+~(o<<15)|0)^o+~(o<<15))*9|0;v=(6?v>>6:v)^v;v=(16?v+~(v<<11)>>16:v+~(v<<11)|0)^v+~(v<<11);s=v&j+-1;a:do if(s>>>0>>0?(G=c[h+(s<<2)>>2]|0,(G|0)!=-1):0){l=G;while(1){if((c[g+(l<<3)>>2]|0)==(o|0))break;l=c[i+(l<<2)>>2]|0;if((l|0)==-1){J=27;break a}}c[k+(l<<2)>>2]=C;s=u;o=y;m=w;n=B;l=x}else J=27;while(0);if((J|0)==27){J=0;do if((r|0)==(j|0)){m=(j|0)==0?1:j<<1;if((j|0)<(m|0)){if((m|0)!=0?(c[7182]=(c[7182]|0)+1,H=xb((m<<2|3)+16|0)|0,(H|0)!=0):0){c[(H+4+15&-16)+-4>>2]=H;n=H+4+15&-16}else n=0;if((j|0)<=0){if(!k){A=m;k=n;l=j;break}}else{l=0;do{c[n+(l<<2)>>2]=c[k+(l<<2)>>2];l=l+1|0}while((l|0)!=(j|0))}c[7183]=(c[7183]|0)+1;Hc(c[k+-4>>2]|0);A=m;k=n;l=j}else{A=j;l=j}}else{A=j;l=r}while(0);c[k+(l<<2)>>2]=C;z=r+1|0;do if((t|0)==(u|0)){m=(t|0)==0?1:t<<1;if((t|0)<(m|0)){if((m|0)!=0?(c[7182]=(c[7182]|0)+1,I=xb((m<<3|3)+16|0)|0,(I|0)!=0):0){c[(I+4+15&-16)+-4>>2]=I;n=I+4+15&-16}else n=0;if((t|0)<=0){if(!g){u=m;g=n;break}}else{l=0;do{L=g+(l<<3)|0;K=c[L+4>>2]|0;u=n+(l<<3)|0;c[u>>2]=c[L>>2];c[u+4>>2]=K;l=l+1|0}while((l|0)!=(t|0))}c[7183]=(c[7183]|0)+1;Hc(c[g+-4>>2]|0);u=m;g=n}else u=t}while(0);c[g+(t<<3)>>2]=o;t=t+1|0;if((j|0)<(A|0)){if((q|0)<(A|0)){do if((p|0)<(A|0)){do if(!A)l=0;else{c[7182]=(c[7182]|0)+1;j=xb((A<<2|3)+16|0)|0;if(!j){l=0;break}c[(j+4+15&-16)+-4>>2]=j;l=j+4+15&-16}while(0);if((q|0)<=0){if(!h){p=A;h=l;s=l;break}}else{j=0;do{c[l+(j<<2)>>2]=c[h+(j<<2)>>2];j=j+1|0}while((j|0)!=(q|0))}c[7183]=(c[7183]|0)+1;Hc(c[h+-4>>2]|0);p=A;h=l;s=l}else s=x;while(0);o=A<<2;mk(h+(q<<2)|0,0,o-(q<<2)|0)|0;if((y|0)<(A|0)){do if((w|0)<(A|0)){do if(!A)l=0;else{c[7182]=(c[7182]|0)+1;j=xb((o|3)+16|0)|0;if(!j){l=0;break}c[(j+4+15&-16)+-4>>2]=j;l=j+4+15&-16}while(0);if((y|0)<=0){if(!i){m=A;i=l;j=l;break}}else{j=0;do{c[l+(j<<2)>>2]=c[i+(j<<2)>>2];j=j+1|0}while((j|0)!=(y|0))}c[7183]=(c[7183]|0)+1;Hc(c[i+-4>>2]|0);m=A;i=l;j=l}else{m=w;j=B}while(0);mk(i+(y<<2)|0,0,o-(y<<2)|0)|0;n=j}else{m=w;n=B}if((A|0)>0){mk(s|0,-1,o|0)|0;mk(n|0,-1,o|0)|0}if((q|0)>0){l=A+-1|0;j=0;do{L=c[g+(j<<3)>>2]|0;L=((10?L+~(L<<15)>>10:L+~(L<<15)|0)^L+~(L<<15))*9|0;L=(6?L>>6:L)^L;L=h+((((16?L+~(L<<11)>>16:L+~(L<<11)|0)^L+~(L<<11))&l)<<2)|0;c[i+(j<<2)>>2]=c[L>>2];c[L>>2]=j;j=j+1|0}while((j|0)!=(q|0));l=A;o=A;j=s}else{l=A;o=A;j=s}}else{l=q;o=y;m=w;n=B;j=x}s=v&A+-1;q=l;l=j}else{o=y;m=w;n=B;l=x}s=h+(s<<2)|0;c[i+(r<<2)>>2]=c[s>>2];c[s>>2]=r;s=u;r=z;j=A}C=C+1|0;if((C|0)>=(E|0))break;else{D=D+100|0;u=s;y=o;w=m;B=n;x=l}}}else{g=0;h=0;i=0;j=0;k=0}eb[c[(c[f>>2]|0)+20>>2]&31](f,F,15022,1145979475,b+708|0);x=g}}else{c[e+264>>2]=0;x=0;h=0;i=0;j=0;k=0}L=c[b+732>>2]|0;c[e+300>>2]=L;if(L){L=Ha[c[(c[f>>2]|0)+28>>2]&31](f,c[b+740>>2]|0)|0;c[e+268>>2]=L;if(L|0){p=c[e+300>>2]|0;q=Ja[c[(c[f>>2]|0)+16>>2]&63](f,20,p)|0;if((p|0)>0){m=c[b+740>>2]|0;n=c[q+8>>2]|0;o=0;g=m;while(1){l=a[m+(o*52|0)+20>>0]<<7&255;c[n+16>>2]=(7?l<<24>>24>>7:l<<24>>24)<<24>>24;l=c[m+(o*52|0)+4>>2]|0;if(!l)l=0;else{l=Ha[c[(c[f>>2]|0)+28>>2]&31](f,l)|0;m=c[b+740>>2]|0;g=m}c[n>>2]=l;l=c[m+(o*52|0)+8>>2]|0;if(!l)l=-1;else l=(l-(c[b+720>>2]|0)|0)/104|0;c[n+4>>2]=l;l=c[m+(o*52|0)+12>>2]|0;if(!l)l=-1;else l=(l-(c[b+720>>2]|0)|0)/104|0;c[n+8>>2]=l;c[n+12>>2]=c[m+(o*52|0)+16>>2];o=o+1|0;if((o|0)>=(p|0))break;else n=n+20|0}}else g=c[b+740>>2]|0;eb[c[(c[f>>2]|0)+20>>2]&31](f,q,15039,1497453121,g)}}else c[e+268>>2]=0;L=c[b+752>>2]|0;c[e+304>>2]=L;if(L){L=Ha[c[(c[f>>2]|0)+28>>2]&31](f,c[b+760>>2]|0)|0;c[e+272>>2]=L;if(L|0){p=c[e+304>>2]|0;q=Ja[c[(c[f>>2]|0)+16>>2]&63](f,36,p)|0;if((p|0)>0){m=c[b+760>>2]|0;n=c[q+8>>2]|0;o=0;g=m;while(1){l=c[m+(o*44|0)+4>>2]|0;if(!l)l=0;else{l=Ha[c[(c[f>>2]|0)+28>>2]&31](f,l)|0;m=c[b+760>>2]|0;g=m}c[n+16>>2]=l;c[n>>2]=c[m+(o*44|0)+20>>2];c[n+4>>2]=c[m+(o*44|0)+24>>2];c[n+8>>2]=c[m+(o*44|0)+28>>2];c[n+12>>2]=c[m+(o*44|0)+32>>2];l=c[m+(o*44|0)+8>>2]|0;if(!l)l=-1;else l=(l-(c[b+720>>2]|0)|0)/104|0;c[n+20>>2]=l;l=c[m+(o*44|0)+12>>2]|0;if(!l)l=-1;else l=(l-(c[b+720>>2]|0)|0)/104|0;c[n+24>>2]=l;l=c[m+(o*44|0)+16>>2]|0;if(!l)l=-1;else l=(l-(c[b+720>>2]|0)|0)/104|0;c[n+28>>2]=l;c[n+32>>2]=c[m+(o*44|0)+36>>2];o=o+1|0;if((o|0)>=(p|0))break;else n=n+36|0}}else g=c[b+760>>2]|0;eb[c[(c[f>>2]|0)+20>>2]&31](f,q,15056,1497453121,g)}}else c[e+272>>2]=0;L=c[b+772>>2]|0;c[e+308>>2]=L;if(L){L=Ha[c[(c[f>>2]|0)+28>>2]&31](f,c[b+780>>2]|0)|0;c[e+276>>2]=L;if(L|0){p=c[e+308>>2]|0;q=Ja[c[(c[f>>2]|0)+16>>2]&63](f,100,p)|0;if((p|0)>0){m=c[b+780>>2]|0;n=c[q+8>>2]|0;o=0;g=m;while(1){c[n>>2]=c[m+(o*104|0)+32>>2];c[n+4>>2]=c[m+(o*104|0)+36>>2];c[n+8>>2]=c[m+(o*104|0)+40>>2];c[n+12>>2]=c[m+(o*104|0)+44>>2];l=c[m+8>>2]|0;if(!l)l=-1;else l=(l-(c[b+720>>2]|0)|0)/104|0;c[n+68>>2]=l;c[n+16>>2]=c[m+(o*104|0)+48>>2];c[n+20>>2]=c[m+(o*104|0)+52>>2];c[n+24>>2]=c[m+(o*104|0)+56>>2];c[n+28>>2]=c[m+(o*104|0)+60>>2];l=c[m+116>>2]|0;if(!l)l=-1;else l=(l-(c[b+720>>2]|0)|0)/104|0;c[n+72>>2]=l;c[n+32>>2]=c[m+(o*104|0)+64>>2];c[n+36>>2]=c[m+(o*104|0)+68>>2];c[n+40>>2]=c[m+(o*104|0)+72>>2];c[n+44>>2]=c[m+(o*104|0)+76>>2];l=c[m+224>>2]|0;if(!l)l=-1;else l=(l-(c[b+720>>2]|0)|0)/104|0;c[n+76>>2]=l;c[n+48>>2]=c[m+(o*104|0)+80>>2];c[n+52>>2]=c[m+(o*104|0)+84>>2];c[n+56>>2]=c[m+(o*104|0)+88>>2];c[n+60>>2]=c[m+(o*104|0)+92>>2];l=c[m+332>>2]|0;if(!l)l=-1;else l=(l-(c[b+720>>2]|0)|0)/104|0;c[n+80>>2]=l;c[n+88>>2]=c[m+(o*104|0)+96>>2];c[n+92>>2]=c[m+(o*104|0)+100>>2];l=c[m+(o*104|0)+4>>2]|0;if(!l)l=0;else{l=Ha[c[(c[f>>2]|0)+28>>2]&31](f,l)|0;m=c[b+780>>2]|0;g=m}c[n+64>>2]=l;c[n+84>>2]=c[m+(o*104|0)+24>>2];o=o+1|0;if((o|0)>=(p|0))break;else n=n+100|0}}else g=c[b+780>>2]|0;eb[c[(c[f>>2]|0)+20>>2]&31](f,q,15073,1497453121,g)}}else c[e+276>>2]=0;L=c[b+792>>2]|0;c[e+312>>2]=L;if(L){L=Ha[c[(c[f>>2]|0)+28>>2]&31](f,c[b+800>>2]|0)|0;c[e+280>>2]=L;if(!L)w=f;else{o=c[e+312>>2]|0;p=Ja[c[(c[f>>2]|0)+16>>2]&63](f,92,o)|0;if((o|0)>0){m=c[p+8>>2]|0;n=0;while(1){l=c[b+800>>2]|0;c[m>>2]=c[l+(n*96|0)+28>>2];c[m+4>>2]=c[l+(n*96|0)+32>>2];c[m+8>>2]=c[l+(n*96|0)+36>>2];c[m+12>>2]=c[l+(n*96|0)+40>>2];c[m+16>>2]=c[l+(n*96|0)+44>>2];c[m+20>>2]=c[l+(n*96|0)+48>>2];c[m+24>>2]=c[l+(n*96|0)+52>>2];c[m+28>>2]=c[l+(n*96|0)+56>>2];c[m+32>>2]=c[l+(n*96|0)+60>>2];c[m+36>>2]=c[l+(n*96|0)+64>>2];c[m+40>>2]=c[l+(n*96|0)+68>>2];c[m+44>>2]=c[l+(n*96|0)+72>>2];c[m+48>>2]=c[l+(n*96|0)+76>>2];c[m+52>>2]=c[l+(n*96|0)+80>>2];c[m+56>>2]=c[l+(n*96|0)+84>>2];c[m+60>>2]=c[l+(n*96|0)+88>>2];c[m+88>>2]=c[l+(n*96|0)+92>>2];c[m+64>>2]=c[l+(n*96|0)+4>>2];c[m+68>>2]=c[l+(n*96|0)+8>>2];c[m+72>>2]=c[l+(n*96|0)+12>>2];c[m+76>>2]=c[l+(n*96|0)+16>>2];g=c[l+(n*96|0)>>2]|0;if(!g)g=-1;else g=(g-(c[b+720>>2]|0)|0)/104|0;c[m+84>>2]=g;g=c[l+(n*96|0)+20>>2]|0;if(!g)g=0;else g=Ha[c[(c[f>>2]|0)+28>>2]&31](f,g)|0;c[m+80>>2]=g;n=n+1|0;if((n|0)>=(o|0))break;else m=m+92|0}}eb[c[(c[f>>2]|0)+20>>2]&31](f,p,15091,1497453121,c[b+800>>2]|0);w=f}}else{c[e+280>>2]=0;w=f}c[e+352>>2]=c[b+316>>2];c[e+328>>2]=c[b+292>>2];c[e+344>>2]=c[b+308>>2];c[e+324>>2]=c[b+288>>2];c[e+340>>2]=c[b+304>>2];c[e+336>>2]=c[b+300>>2];c[e+412>>2]=c[b+376>>2];c[e+416>>2]=c[b+380>>2];c[e+420>>2]=c[b+384>>2];c[e+408>>2]=c[b+372>>2];q=c[b+364>>2]|0;c[e+332>>2]=c[b+296>>2];c[e+356>>2]=c[b+320>>2];c[e+424>>2]=c[b+388>>2];c[e+348>>2]=c[b+312>>2];c[e+360>>2]=c[b+324>>2];c[e+364>>2]=c[b+328>>2];c[e+368>>2]=c[b+332>>2];c[e+372>>2]=c[b+336>>2];c[e+404>>2]=c[b+368>>2];c[e+400>>2]=q;c[e+376>>2]=c[b+340>>2];c[e+380>>2]=c[b+344>>2];c[e+384>>2]=c[b+348>>2];c[e+388>>2]=c[b+352>>2];c[e+392>>2]=c[b+356>>2];c[e+396>>2]=c[b+360>>2];c[e+256>>2]=Ha[c[(c[w>>2]|0)+28>>2]&31](f,b+472|0)|0;q=Ja[c[(c[f>>2]|0)+16>>2]&63](f,192,1)|0;p=c[q+8>>2]|0;c[p+96>>2]=c[b+632>>2];c[p+100>>2]=c[b+636>>2];c[p+104>>2]=c[b+640>>2];c[p+108>>2]=c[b+644>>2];c[p+112>>2]=c[b+648>>2];c[p+116>>2]=c[b+652>>2];c[p+120>>2]=c[b+656>>2];c[p+124>>2]=c[b+660>>2];c[p+128>>2]=c[b+664>>2];c[p+132>>2]=c[b+668>>2];c[p+136>>2]=c[b+672>>2];c[p+140>>2]=c[b+676>>2];c[p+180>>2]=d[b+473>>0];c[p+176>>2]=d[b+472>>0];c[p+144>>2]=c[b+520>>2];c[p+148>>2]=c[b+524>>2];c[p+152>>2]=c[b+528>>2];c[p+156>>2]=c[b+532>>2];L=c[b+484>>2]|0;c[p+168>>2]=L;if(L){L=Ha[c[(c[w>>2]|0)+28>>2]&31](f,c[b+492>>2]|0)|0;n=c[p+168>>2]|0;c[p+160>>2]=L;if(n|0){o=Ja[c[(c[f>>2]|0)+16>>2]&63](f,16,n)|0;if((n|0)>0){g=c[b+492>>2]|0;l=c[o+8>>2]|0;m=0;while(1){c[l>>2]=c[g+(m<<4)>>2];c[l+4>>2]=c[g+(m<<4)+4>>2];c[l+8>>2]=c[g+(m<<4)+8>>2];c[l+12>>2]=c[g+(m<<4)+12>>2];m=m+1|0;if((m|0)==(n|0))break;else l=l+16|0}}else g=c[b+492>>2]|0;eb[c[(c[f>>2]|0)+20>>2]&31](f,o,23625,1497453121,g)}}else c[p+160>>2]=0;c[p+184>>2]=c[b+476>>2];c[p>>2]=c[b+536>>2];c[p+4>>2]=c[b+540>>2];c[p+8>>2]=c[b+544>>2];c[p+12>>2]=c[b+548>>2];c[p+16>>2]=c[b+552>>2];c[p+20>>2]=c[b+556>>2];c[p+24>>2]=c[b+560>>2];c[p+28>>2]=c[b+564>>2];c[p+32>>2]=c[b+568>>2];c[p+36>>2]=c[b+572>>2];c[p+40>>2]=c[b+576>>2];c[p+44>>2]=c[b+580>>2];c[p+48>>2]=c[b+584>>2];c[p+52>>2]=c[b+588>>2];c[p+56>>2]=c[b+592>>2];c[p+60>>2]=c[b+596>>2];c[p+64>>2]=c[b+600>>2];c[p+68>>2]=c[b+604>>2];c[p+72>>2]=c[b+608>>2];c[p+76>>2]=c[b+612>>2];c[p+80>>2]=c[b+616>>2];c[p+84>>2]=c[b+620>>2];c[p+88>>2]=c[b+624>>2];c[p+92>>2]=c[b+628>>2];L=c[b+504>>2]|0;c[p+172>>2]=L;if(L){L=Ha[c[(c[w>>2]|0)+28>>2]&31](f,c[b+512>>2]|0)|0;n=c[p+172>>2]|0;c[p+164>>2]=L;if(n|0){o=Ja[c[(c[f>>2]|0)+16>>2]&63](f,4,n)|0;if((n|0)>0){g=c[b+512>>2]|0;l=0;m=c[o+8>>2]|0;while(1){c[m>>2]=c[g+(l<<2)>>2];l=l+1|0;if((l|0)==(n|0))break;else m=m+4|0}}else g=c[b+512>>2]|0;eb[c[(c[f>>2]|0)+20>>2]&31](f,o,15111,1497453121,g)}}else c[p+164>>2]=0;eb[c[(c[f>>2]|0)+20>>2]&31](f,q,15117,1497453121,b+472|0);L=c[b+1112>>2]|0;c[e+316>>2]=L;if(L){L=Ha[c[(c[w>>2]|0)+28>>2]&31](f,c[c[b+1120>>2]>>2]|0)|0;u=c[e+316>>2]|0;c[e+284>>2]=L;if(u|0){v=Ja[c[(c[f>>2]|0)+16>>2]&63](f,348,u)|0;if((u|0)>0){t=j+-1|0;r=0;s=c[v+8>>2]|0;while(1){j=c[(c[b+1120>>2]|0)+(r<<2)>>2]|0;L=s+320|0;c[L>>2]=c[j+360>>2];c[s+256>>2]=c[j+332>>2];c[s+260>>2]=c[j+336>>2];c[s+264>>2]=c[j+340>>2];c[s+268>>2]=c[j+344>>2];c[s+344>>2]=c[j+380>>2];c[s+340>>2]=d[j+377>>0];c[s+160>>2]=c[j+228>>2];c[s+164>>2]=c[j+232>>2];c[s+168>>2]=c[j+236>>2];c[s+172>>2]=c[j+240>>2];c[s+336>>2]=d[j+376>>0];c[s+208>>2]=c[j+276>>2];c[s+212>>2]=c[j+280>>2];c[s+216>>2]=c[j+284>>2];c[s+220>>2]=c[j+288>>2];c[s+224>>2]=c[j+292>>2];c[s+228>>2]=c[j+296>>2];c[s+232>>2]=c[j+300>>2];c[s+236>>2]=c[j+304>>2];c[s>>2]=c[j+60>>2];c[s+4>>2]=c[j+64>>2];c[s+8>>2]=c[j+68>>2];c[s+12>>2]=c[j+72>>2];c[s+16>>2]=c[j+76>>2];c[s+20>>2]=c[j+80>>2];c[s+24>>2]=c[j+84>>2];c[s+28>>2]=c[j+88>>2];c[s+32>>2]=c[j+92>>2];c[s+36>>2]=c[j+96>>2];c[s+40>>2]=c[j+100>>2];c[s+44>>2]=c[j+104>>2];c[s+48>>2]=c[j+108>>2];c[s+52>>2]=c[j+112>>2];c[s+56>>2]=c[j+116>>2];c[s+60>>2]=c[j+120>>2];c[s+296>>2]=c[j+124>>2];c[s+300>>2]=c[j+128>>2];c[s+112>>2]=c[j+180>>2];c[s+116>>2]=c[j+184>>2];c[s+120>>2]=c[j+188>>2];c[s+124>>2]=c[j+192>>2];c[s+128>>2]=c[j+196>>2];c[s+132>>2]=c[j+200>>2];c[s+136>>2]=c[j+204>>2];c[s+140>>2]=c[j+208>>2];c[s+144>>2]=c[j+212>>2];c[s+148>>2]=c[j+216>>2];c[s+152>>2]=c[j+220>>2];c[s+156>>2]=c[j+224>>2];g=s+316|0;c[g>>2]=c[j+356>>2];c[s+64>>2]=c[j+132>>2];c[s+68>>2]=c[j+136>>2];c[s+72>>2]=c[j+140>>2];c[s+76>>2]=c[j+144>>2];c[s+80>>2]=c[j+148>>2];c[s+84>>2]=c[j+152>>2];c[s+88>>2]=c[j+156>>2];c[s+92>>2]=c[j+160>>2];c[s+96>>2]=c[j+164>>2];c[s+100>>2]=c[j+168>>2];c[s+104>>2]=c[j+172>>2];c[s+108>>2]=c[j+176>>2];c[s+240>>2]=c[j+316>>2];c[s+244>>2]=c[j+320>>2];c[s+248>>2]=c[j+324>>2];c[s+252>>2]=c[j+328>>2];c[s+324>>2]=c[j+364>>2];c[s+328>>2]=c[j+368>>2];c[s+312>>2]=c[j+352>>2];c[g>>2]=c[j+356>>2];c[L>>2]=c[j+360>>2];c[s+332>>2]=c[j+372>>2];L=c[j+44>>2]|0;g=s+284|0;c[g>>2]=L;p=s+292|0;c[p>>2]=c[j+4>>2];q=s+288|0;c[q>>2]=c[j+24>>2];c[s+304>>2]=c[j+308>>2];c[s+176>>2]=c[j+244>>2];c[s+180>>2]=c[j+248>>2];c[s+184>>2]=c[j+252>>2];c[s+188>>2]=c[j+256>>2];c[s+192>>2]=c[j+260>>2];c[s+196>>2]=c[j+264>>2];c[s+200>>2]=c[j+268>>2];c[s+204>>2]=c[j+272>>2];c[s+308>>2]=c[j+312>>2];if(L){L=Ha[c[(c[w>>2]|0)+28>>2]&31](f,c[j+52>>2]|0)|0;c[s+272>>2]=L;if(L|0){m=c[g>>2]|0;o=Ja[c[(c[f>>2]|0)+16>>2]&63](f,16,m)|0;if((m|0)>0){g=(c[(c[b+1120>>2]|0)+(r<<2)>>2]|0)+52|0;n=c[g>>2]|0;j=0;l=c[o+8>>2]|0;while(1){c[l>>2]=c[n+(j<<4)>>2];c[l+4>>2]=c[n+(j<<4)+4>>2];c[l+8>>2]=c[n+(j<<4)+8>>2];c[l+12>>2]=c[n+(j<<4)+12>>2];j=j+1|0;if((j|0)==(m|0))break;else l=l+16|0}}else g=(c[(c[b+1120>>2]|0)+(r<<2)>>2]|0)+52|0;eb[c[(c[f>>2]|0)+20>>2]&31](f,o,23625,1497453121,c[g>>2]|0)}}else c[s+272>>2]=0;if(c[p>>2]|0){L=Ha[c[(c[w>>2]|0)+28>>2]&31](f,c[(c[(c[b+1120>>2]|0)+(r<<2)>>2]|0)+12>>2]|0)|0;c[s+280>>2]=L;if(L|0){m=c[p>>2]|0;o=Ja[c[(c[f>>2]|0)+16>>2]&63](f,4,m)|0;if((m|0)>0){g=(c[(c[b+1120>>2]|0)+(r<<2)>>2]|0)+12|0;n=c[g>>2]|0;j=0;l=c[o+8>>2]|0;while(1){c[l>>2]=c[n+(j<<2)>>2];j=j+1|0;if((j|0)==(m|0))break;else l=l+4|0}}else g=(c[(c[b+1120>>2]|0)+(r<<2)>>2]|0)+12|0;eb[c[(c[f>>2]|0)+20>>2]&31](f,o,15111,1497453121,c[g>>2]|0)}}else c[s+280>>2]=0;if(c[q>>2]|0){L=Ha[c[(c[w>>2]|0)+28>>2]&31](f,(c[(c[b+1120>>2]|0)+(r<<2)>>2]|0)+20|0)|0;c[s+276>>2]=L;if(L|0){p=c[p>>2]|0;q=Ja[c[(c[f>>2]|0)+16>>2]&63](f,4,p)|0;if((p|0)>0){g=c[(c[b+1120>>2]|0)+(r<<2)>>2]|0;o=c[g+32>>2]|0;m=0;n=c[q+8>>2]|0;while(1){l=c[o+(m<<2)>>2]|0;j=((10?~(l<<15)+l>>10:~(l<<15)+l|0)^~(l<<15)+l)*9|0;j=(6?j>>6:j)^j;j=c[h+((((16?j+~(j<<11)>>16:j+~(j<<11)|0)^j+~(j<<11))&t)<<2)>>2]|0;if((c[x+(j<<3)>>2]|0)!=(l|0))do j=c[i+(j<<2)>>2]|0;while((c[x+(j<<3)>>2]|0)!=(l|0));c[n>>2]=c[k+(j<<2)>>2];m=m+1|0;if((m|0)==(p|0))break;else n=n+4|0}}else g=c[(c[b+1120>>2]|0)+(r<<2)>>2]|0;eb[c[(c[f>>2]|0)+20>>2]&31](f,q,15154,1497453121,g+20|0)}}else c[s+276>>2]=0;r=r+1|0;if((r|0)>=(u|0))break;else s=s+348|0}}eb[c[(c[f>>2]|0)+20>>2]&31](f,v,15134,1497453121,c[c[b+1120>>2]>>2]|0)}}else c[e+284>>2]=0;L=c[b+852>>2]|0;c[e+320>>2]=L;if(L){L=Ha[c[(c[w>>2]|0)+28>>2]&31](f,c[b+860>>2]|0)|0;c[e+288>>2]=L;if(L|0){n=c[b+852>>2]|0;o=Ja[c[(c[f>>2]|0)+16>>2]&63](f,104,n)|0;if((n|0)>0){l=0;m=c[o+8>>2]|0;while(1){g=c[(c[b+860>>2]|0)+(l<<2)>>2]|0;c[m+96>>2]=Fa[c[(c[g>>2]|0)+20>>2]&127](g)|0;g=(c[b+860>>2]|0)+(l<<2)|0;L=c[g>>2]|0;c[m+8>>2]=c[L+28>>2];c[m+12>>2]=c[L+32>>2];c[m+16>>2]=c[L+36>>2];c[m+20>>2]=c[L+40>>2];c[m+24>>2]=c[L+44>>2];c[m+28>>2]=c[L+48>>2];c[m+32>>2]=c[L+52>>2];c[m+36>>2]=c[L+56>>2];c[m+40>>2]=c[L+60>>2];c[m+44>>2]=c[L+64>>2];c[m+48>>2]=c[L+68>>2];c[m+52>>2]=d[L+152>>0];L=m+56|0;c[m>>2]=0;p=m+4|0;c[p>>2]=0;c[L>>2]=0;c[L+4>>2]=0;c[L+8>>2]=0;c[L+12>>2]=0;c[L+16>>2]=0;c[L+20>>2]=0;c[L+24>>2]=0;c[L+28>>2]=0;g=c[(c[g>>2]|0)+4>>2]|0;if(g|0){c[m+88>>2]=1;c[m>>2]=Ha[c[(c[w>>2]|0)+28>>2]&31](f,g)|0}g=c[(c[b+860>>2]|0)+(l<<2)>>2]|0;j=c[g+12>>2]|0;if(j){c[m+88>>2]=3;c[m>>2]=Ha[c[(c[w>>2]|0)+28>>2]&31](f,j)|0;g=c[(c[b+860>>2]|0)+(l<<2)>>2]|0}j=c[g+8>>2]|0;if(j){c[m+88>>2]=2;c[m>>2]=Ha[c[(c[w>>2]|0)+28>>2]&31](f,j)|0;g=c[(c[b+860>>2]|0)+(l<<2)>>2]|0}j=c[g+16>>2]|0;if(j){c[m+92>>2]=1;c[p>>2]=Ha[c[(c[w>>2]|0)+28>>2]&31](f,j)|0;g=c[(c[b+860>>2]|0)+(l<<2)>>2]|0}j=c[g+24>>2]|0;if(j){c[m+92>>2]=3;c[p>>2]=Ha[c[(c[w>>2]|0)+28>>2]&31](f,j)|0;g=c[(c[b+860>>2]|0)+(l<<2)>>2]|0}g=c[g+20>>2]|0;if(g|0){c[m+92>>2]=2;c[p>>2]=Ha[c[(c[w>>2]|0)+28>>2]&31](f,g)|0}l=l+1|0;if((l|0)>=(n|0))break;else m=m+104|0}}eb[c[(c[f>>2]|0)+20>>2]&31](f,o,15158,1497453121,c[b+860>>2]|0)}}else c[e+288>>2]=0;if(x|0){c[7183]=(c[7183]|0)+1;Hc(c[x+-4>>2]|0)}if(k|0){c[7183]=(c[7183]|0)+1;Hc(c[k+-4>>2]|0)}if(i|0){c[7183]=(c[7183]|0)+1;Hc(c[i+-4>>2]|0)}if(!h)return 15178;c[7183]=(c[7183]|0)+1;Hc(c[h+-4>>2]|0);return 15178}function tb(b,d){b=b|0;d=+d;var e=0,f=0,h=0,i=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0,u=0.0,v=0.0,y=0,z=0,A=0,B=0.0,C=0.0,D=0.0,E=0.0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0.0,P=0.0,Q=0.0,R=0,S=0,T=0.0,U=0.0,V=0.0,W=0.0,X=0,Y=0.0,Z=0.0,_=0.0,$=0.0,aa=0.0,ba=0.0,ca=0.0,da=0.0,ea=0.0,fa=0.0,ga=0.0,ha=0.0,ia=0.0;X=sa;sa=sa+240|0;e=c[b+24>>2]|0;if((e|0)<=0){sa=X;return}H=X+128+76|0;I=X+80+16|0;J=X+80+32|0;G=0;do{F=c[(c[b+32>>2]|0)+(G<<2)>>2]|0;switch(c[F+216>>2]|0){case 2:case 5:break;default:{if(a[F+924>>0]|0){a[F+924>>0]=0;f=c[F+732>>2]|0;if((f|0)>0){h=c[F+740>>2]|0;e=0;do{z=c[h+(e*52|0)+8>>2]|0;A=c[h+(e*52|0)+12>>2]|0;C=+g[z+8>>2]-+g[A+8>>2];D=+g[z+12>>2]-+g[A+12>>2];E=+g[z+16>>2]-+g[A+16>>2];E=+x(+(C*C+D*D+E*E));g[h+(e*52|0)+16>>2]=E;g[h+(e*52|0)+28>>2]=E*E;e=e+1|0}while((e|0)!=(f|0));e=0;do{g[h+(e*52|0)+24>>2]=(+g[(c[h+(e*52|0)+8>>2]|0)+88>>2]+ +g[(c[h+(e*52|0)+12>>2]|0)+88>>2])/+g[(c[h+(e*52|0)+4>>2]|0)+4>>2];e=e+1|0}while((e|0)!=(f|0))}cf(F);e=c[F+988>>2]|0;if(e|0)Gm(F+988|0,e);e=c[F+992>>2]|0;if(e|0){c[7183]=(c[7183]|0)+1;Hc(c[e+-4>>2]|0)}c[F+992>>2]=0;c[F+996>>2]=-1;e=c[F+1020>>2]|0;if(e|0){if(a[F+1024>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[e+-4>>2]|0)}c[F+1020>>2]=0}a[F+1024>>0]=1;c[F+1020>>2]=0;c[F+1012>>2]=0;c[F+1016>>2]=0;c[F+1004>>2]=0;if(c[F+388>>2]&16|0){e=c[F+988>>2]|0;if(e|0)Gm(F+988|0,e);e=c[F+992>>2]|0;if(e|0){c[7183]=(c[7183]|0)+1;Hc(c[e+-4>>2]|0)}c[F+992>>2]=0;c[F+996>>2]=-1;e=c[F+1020>>2]|0;if(e|0){if(a[F+1024>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[e+-4>>2]|0)}c[F+1020>>2]=0}a[F+1024>>0]=1;c[F+1020>>2]=0;c[F+1012>>2]=0;c[F+1016>>2]=0;c[F+1004>>2]=0;if((c[F+752>>2]|0)>0){f=0;do{h=c[F+760>>2]|0;t=h+(f*44|0)|0;z=c[h+(f*44|0)+8>>2]|0;A=c[h+(f*44|0)+12>>2]|0;e=c[h+(f*44|0)+16>>2]|0;o=+g[z+8>>2];p=+g[z+12>>2];q=+g[z+16>>2];m=+g[z+20>>2];B=+g[A+8>>2];i=B>2];n=E>2];k=D>2];l=C>2];i=C>2];n=D>2];k=E>2];l=B>2]|0;if(!e){c[7182]=(c[7182]|0)+1;e=xb(63)|0;if(!e)e=0;else{c[(e+4+15&-16)+-4>>2]=e;e=e+4+15&-16}y=e;z=y+44|0;do{c[y>>2]=0;y=y+4|0}while((y|0)<(z|0))}else c[F+992>>2]=0;c[e+32>>2]=0;c[e+36>>2]=t;c[e+40>>2]=0;g[e>>2]=i;g[e+4>>2]=n;g[e+8>>2]=k;g[e+12>>2]=l;g[e+16>>2]=o;g[e+20>>2]=p;g[e+24>>2]=q;g[e+28>>2]=m;ue(F+988|0,c[F+988>>2]|0,e);c[F+1e3>>2]=(c[F+1e3>>2]|0)+1;c[h+(f*44|0)+40>>2]=e;f=f+1|0}while((f|0)<(c[F+752>>2]|0))}}}l=+g[F+368>>2]*d;g[F+452>>2]=l;g[F+456>>2]=1.0/l;g[F+460>>2]=l*3.0;f=c[F+192>>2]|0;l=+va[c[(c[f>>2]|0)+48>>2]&15](f);g[F+464>>2]=l;g[F+468>>2]=l*.25;f=c[F+684>>2]|0;l=+g[F+452>>2];i=+g[f+40>>2]*l;k=l*+g[f+44>>2];l=l*+g[f+48>>2];f=c[F+712>>2]|0;if((f|0)>0){h=c[F+720>>2]|0;e=0;do{if(+g[h+(e*104|0)+88>>2]>0.0){A=h+(e*104|0)+40|0;g[A>>2]=i+ +g[A>>2];A=h+(e*104|0)+44|0;g[A>>2]=k+ +g[A>>2];A=h+(e*104|0)+48|0;g[A>>2]=l+ +g[A>>2]}e=e+1|0}while((e|0)!=(f|0))}Ki(15356);n=+g[F+308>>2];o=+g[F+312>>2];t=+g[F+304>>2]>0.0?1:+g[F+300>>2]>0.0;y=c[F+712>>2]|0;if(n!=0.0|o>0.0){if((y|0)>0){f=c[F+720>>2]|0;k=+g[f+8>>2];l=+g[f+12>>2];m=+g[f+16>>2];f=c[F+752>>2]|0;if((f|0)>0){h=c[F+760>>2]|0;e=0;i=0.0;do{A=c[h+(e*44|0)+8>>2]|0;z=c[h+(e*44|0)+12>>2]|0;D=+g[z+8>>2]-k;u=+g[z+12>>2]-l;B=+g[z+16>>2]-m;z=c[h+(e*44|0)+16>>2]|0;C=+g[z+8>>2]-k;v=+g[z+12>>2]-l;E=+g[z+16>>2]-m;i=i+((+g[A+16>>2]-m)*(D*v-u*C)+((+g[A+8>>2]-k)*(u*E-B*v)+(+g[A+12>>2]-l)*(B*C-D*E)));e=e+1|0}while((e|0)!=(f|0))}else i=0.0;i=i/6.0}else i=0.0;k=n*(1.0/+w(+i));i=o*(+g[F+476>>2]-i)}else{i=0.0;k=0.0}if((y|0)>0)if(t){e=0;do{f=c[F+720>>2]|0;if(+g[f+(e*104|0)+88>>2]>0.0){Zd(F,F+1212|0,e);if(n!=0.0){C=k*+g[f+(e*104|0)+92>>2];D=C*+g[f+(e*104|0)+76>>2];E=C*+g[f+(e*104|0)+80>>2];A=f+(e*104|0)+56|0;g[A>>2]=+g[f+(e*104|0)+72>>2]*C+ +g[A>>2];A=f+(e*104|0)+60|0;g[A>>2]=D+ +g[A>>2];A=f+(e*104|0)+64|0;g[A>>2]=E+ +g[A>>2]}if(o>0.0){C=i*+g[f+(e*104|0)+92>>2];D=C*+g[f+(e*104|0)+76>>2];E=C*+g[f+(e*104|0)+80>>2];A=f+(e*104|0)+56|0;g[A>>2]=+g[f+(e*104|0)+72>>2]*C+ +g[A>>2];A=f+(e*104|0)+60|0;g[A>>2]=D+ +g[A>>2];A=f+(e*104|0)+64|0;g[A>>2]=E+ +g[A>>2]}}e=e+1|0}while((e|0)!=(y|0))}else{f=c[F+720>>2]|0;e=0;do{if(+g[f+(e*104|0)+88>>2]>0.0){if(n!=0.0){C=k*+g[f+(e*104|0)+92>>2];D=C*+g[f+(e*104|0)+76>>2];E=C*+g[f+(e*104|0)+80>>2];A=f+(e*104|0)+56|0;g[A>>2]=+g[f+(e*104|0)+72>>2]*C+ +g[A>>2];A=f+(e*104|0)+60|0;g[A>>2]=D+ +g[A>>2];A=f+(e*104|0)+64|0;g[A>>2]=E+ +g[A>>2]}if(o>0.0){C=i*+g[f+(e*104|0)+92>>2];D=C*+g[f+(e*104|0)+76>>2];E=C*+g[f+(e*104|0)+80>>2];A=f+(e*104|0)+56|0;g[A>>2]=+g[f+(e*104|0)+72>>2]*C+ +g[A>>2];A=f+(e*104|0)+60|0;g[A>>2]=D+ +g[A>>2];A=f+(e*104|0)+64|0;g[A>>2]=E+ +g[A>>2]}}e=e+1|0}while((e|0)!=(y|0))}f=c[F+752>>2]|0;if((f|0)>0){e=0;do{B=+g[F+452>>2];p=+g[F+304>>2];m=+g[F+300>>2];a:do if((p>0.0|m>0.0?(K=c[F+288>>2]|0,(K|0)>3):0)?(L=c[F+760>>2]|0,M=c[L+(e*44|0)+8>>2]|0,N=c[L+(e*44|0)+12>>2]|0,O=+g[M+40>>2],P=+g[M+44>>2],Q=+g[M+48>>2],R=c[L+(e*44|0)+16>>2]|0,S=c[c[F+684>>2]>>2]|0,T=(O+ +g[N+40>>2]+ +g[R+40>>2])*.3333333432674408-+g[F+1212>>2],U=(P+ +g[N+44>>2]+ +g[R+44>>2])*.3333333432674408-+g[F+1216>>2],V=(Q+ +g[N+48>>2]+ +g[R+48>>2])*.3333333432674408-+g[F+1220>>2],W=+x(+(T*T+U*U+V*V)),T*T+U*U+V*V>1.1920928955078125e-07):0){s=T*(1.0/W);u=U*(1.0/W);v=V*(1.0/W);o=+g[L+(e*44|0)+20>>2];q=+g[L+(e*44|0)+24>>2];r=+g[L+(e*44|0)+28>>2];switch(K|0){case 5:break;case 4:case 6:{i=T*o+U*q+V*r<0.0?-1.0:1.0;if(!(V*r*i+(T*o*i+U*q*i)>0.0))break a;n=-((T*T+U*U+V*V)*(V*r*i+(T*o*i+U*q*i))*+g[L+(e*44|0)+36>>2]*(c[j>>2]=S,+g[j>>2]));s=(s*m*n+(o*i*p*n+0.0))*.3333333432674408;q=(u*m*n+(q*i*p*n+0.0))*.3333333432674408;n=(v*m*n+(r*i*p*n+0.0))*.3333333432674408;o=1.0/+x(+(n*n+(s*s+q*q)));i=B*+g[M+88>>2];if(n*i*n*i+(s*i*s*i+q*i*q*i)>O*O+P*P+Q*Q){g[M+56>>2]=+g[M+56>>2]-1.0/i*s*o*(s*o*O+q*o*P+n*o*Q);g[M+60>>2]=+g[M+60>>2]-1.0/i*q*o*(s*o*O+q*o*P+n*o*Q);g[M+64>>2]=+g[M+64>>2]-1.0/i*n*o*(s*o*O+q*o*P+n*o*Q)}else{g[M+56>>2]=s+ +g[M+56>>2];g[M+60>>2]=q+ +g[M+60>>2];g[M+64>>2]=n+ +g[M+64>>2]}i=B*+g[N+88>>2];k=+g[N+40>>2];l=+g[N+44>>2];m=+g[N+48>>2];if(n*i*n*i+(s*i*s*i+q*i*q*i)>k*k+l*l+m*m){g[N+56>>2]=+g[N+56>>2]-1.0/i*s*o*(s*o*k+q*o*l+n*o*m);g[N+60>>2]=+g[N+60>>2]-1.0/i*q*o*(s*o*k+q*o*l+n*o*m);g[N+64>>2]=+g[N+64>>2]-1.0/i*n*o*(s*o*k+q*o*l+n*o*m)}else{g[N+56>>2]=s+ +g[N+56>>2];g[N+60>>2]=q+ +g[N+60>>2];g[N+64>>2]=n+ +g[N+64>>2]}i=B*+g[R+88>>2];k=+g[R+40>>2];l=+g[R+44>>2];m=+g[R+48>>2];if(n*i*n*i+(s*i*s*i+q*i*q*i)>k*k+l*l+m*m){g[R+56>>2]=+g[R+56>>2]-1.0/i*s*o*(s*o*k+q*o*l+n*o*m);g[R+60>>2]=+g[R+60>>2]-1.0/i*q*o*(s*o*k+q*o*l+n*o*m);g[R+64>>2]=+g[R+64>>2]-1.0/i*n*o*(s*o*k+q*o*l+n*o*m);break a}else{g[R+56>>2]=s+ +g[R+56>>2];g[R+60>>2]=q+ +g[R+60>>2];g[R+64>>2]=n+ +g[R+64>>2];break a}}default:break a}n=T*o+U*q+V*r<0.0?-1.0:1.0;i=v*r*n+(s*o*n+u*q*n);k=+g[L+(e*44|0)+36>>2]*.5;l=(c[j>>2]=S,+g[j>>2]);m=i*(T*T+U*U+V*V)*m*.5*l*k;if(i>0.0&i<.9847999811172485){C=+x(+(1.0-i*i))*p*.5*l*W*k;D=(v*(s*r*n-v*o*n)-u*(u*o*n-s*q*n))*C*.3333333432674408;E=(s*(u*o*n-s*q*n)-v*(v*q*n-u*r*n))*C*.3333333432674408;C=(u*(v*q*n-u*r*n)-s*(s*r*n-v*o*n))*C*.3333333432674408}else{D=0.0;E=0.0;C=0.0}i=+g[M+88>>2];if(i>0.0){i=v*m*-.3333333432674408*i*B*v*m*-.3333333432674408*i*B+(s*m*-.3333333432674408*i*B*s*m*-.3333333432674408*i*B+u*m*-.3333333432674408*i*B*u*m*-.3333333432674408*i*B);if(i>0.0?i>=O*O+P*P+Q*Q:0){i=+x(+(O*O+P*P+Q*Q))/+x(+i)*.800000011920929;l=s*m*-.3333333432674408*i;k=u*m*-.3333333432674408*i;i=v*m*-.3333333432674408*i}else{l=s*m*-.3333333432674408;k=u*m*-.3333333432674408;i=v*m*-.3333333432674408}v=k+ +g[M+60>>2];B=i+ +g[M+64>>2];g[M+56>>2]=D+(l+ +g[M+56>>2]);g[M+60>>2]=E+v;g[M+64>>2]=C+B}else{l=s*m*-.3333333432674408;k=u*m*-.3333333432674408;i=v*m*-.3333333432674408}m=+g[N+88>>2];if(m>0.0){n=+g[F+452>>2];q=l*m*n;r=k*m*n;m=i*m*n;n=+g[N+40>>2];o=+g[N+44>>2];p=+g[N+48>>2];if(m*m+(q*q+r*r)>0.0?m*m+(q*q+r*r)>=n*n+o*o+p*p:0){B=+x(+(n*n+o*o+p*p))/+x(+(m*m+(q*q+r*r)))*.800000011920929;l=l*B;k=k*B;i=i*B}v=k+ +g[N+60>>2];B=i+ +g[N+64>>2];g[N+56>>2]=D+(l+ +g[N+56>>2]);g[N+60>>2]=E+v;g[N+64>>2]=C+B}m=+g[R+88>>2];if(m>0.0){n=+g[F+452>>2];q=l*m*n;r=k*m*n;m=i*m*n;n=+g[R+40>>2];o=+g[R+44>>2];p=+g[R+48>>2];if(m*m+(q*q+r*r)>0.0?m*m+(q*q+r*r)>=n*n+o*o+p*p:0){B=+x(+(n*n+o*o+p*p))/+x(+(m*m+(q*q+r*r)))*.800000011920929;l=l*B;k=k*B;i=i*B}v=k+ +g[R+60>>2];B=i+ +g[R+64>>2];g[R+56>>2]=D+(l+ +g[R+56>>2]);g[R+60>>2]=E+v;g[R+64>>2]=C+B}}while(0);e=e+1|0}while((e|0)!=(f|0))}e=c[3084]|0;A=(c[e+16>>2]|0)+-1|0;c[e+16>>2]=A;do if(!A){if(c[e+4>>2]|0){la(X+128|0,0)|0;A=c[7181]|0;g[e+8>>2]=+g[e+8>>2]+ +(((c[X+128+4>>2]|0)-(c[A+4>>2]|0)+(((c[X+128>>2]|0)-(c[A>>2]|0)|0)*1e6|0)-(c[e+12>>2]|0)|0)>>>0)/1.0e3;if(c[e+16>>2]|0)break;e=c[3084]|0}c[3084]=c[e+20>>2]}while(0);f=c[F+712>>2]|0;if((f|0)>0){e=0;do{z=c[F+720>>2]|0;y=z+(e*104|0)+8|0;A=z+(e*104|0)+24|0;c[A>>2]=c[y>>2];c[A+4>>2]=c[y+4>>2];c[A+8>>2]=c[y+8>>2];c[A+12>>2]=c[y+12>>2];A=z+(e*104|0)+56|0;D=+g[z+(e*104|0)+88>>2];E=+g[F+452>>2];B=+g[A>>2]*D*E;C=D*+g[z+(e*104|0)+60>>2]*E;D=E*D*+g[z+(e*104|0)+64>>2];E=+g[(c[F+684>>2]|0)+12>>2]/E;B=B>E?E:B;C=C>E?E:C;D=D>E?E:D;t=z+(e*104|0)+40|0;B=(B<-E?-E:B)+ +g[t>>2];g[t>>2]=B;t=z+(e*104|0)+44|0;C=(C<-E?-E:C)+ +g[t>>2];g[t>>2]=C;t=z+(e*104|0)+48|0;D=(D<-E?-E:D)+ +g[t>>2];g[t>>2]=D;E=+g[F+452>>2];g[y>>2]=B*E+ +g[y>>2];y=z+(e*104|0)+12|0;g[y>>2]=C*E+ +g[y>>2];z=z+(e*104|0)+16|0;g[z>>2]=D*E+ +g[z>>2];c[A>>2]=0;c[A+4>>2]=0;c[A+8>>2]=0;c[A+12>>2]=0;e=e+1|0}while((e|0)!=(f|0))}Yb(F);e=c[F+928>>2]|0;if(e){A=c[F+192>>2]|0;C=+va[c[(c[A>>2]|0)+48>>2]&15](A);E=+g[e+4>>2]-C;D=+g[e+8>>2]-C;g[F+892>>2]=+g[e>>2]-C;g[F+896>>2]=E;g[F+900>>2]=D;g[F+904>>2]=0.0;D=C+ +g[e+20>>2];E=C+ +g[e+24>>2];g[F+908>>2]=C+ +g[e+16>>2];g[F+912>>2]=D;g[F+916>>2]=E;g[F+920>>2]=0.0;e=c[F+188>>2]|0;if(e|0){A=c[F+684>>2]|0;z=c[A+32>>2]|0;eb[c[(c[z>>2]|0)+16>>2]&31](z,e,F+892|0,F+908|0,c[A+36>>2]|0)}}else{c[F+892>>2]=0;c[F+892+4>>2]=0;c[F+892+8>>2]=0;c[F+892+12>>2]=0;c[F+892+16>>2]=0;c[F+892+20>>2]=0;c[F+892+24>>2]=0;c[F+892+28>>2]=0}f=c[F+712>>2]|0;if((f|0)>0){e=0;do{z=c[F+720>>2]|0;D=+g[F+464>>2];B=+g[z+(e*104|0)+8>>2];E=+g[z+(e*104|0)+12>>2];C=+g[z+(e*104|0)+16>>2];g[X>>2]=B-D;g[X+4>>2]=E-D;g[X+8>>2]=C-D;g[X+12>>2]=0.0;g[X+16>>2]=D+B;g[X+20>>2]=D+E;g[X+24>>2]=D+C;g[X+28>>2]=0.0;A=c[z+(e*104|0)+96>>2]|0;C=+g[F+460>>2];D=C*+g[z+(e*104|0)+44>>2];E=C*+g[z+(e*104|0)+48>>2];g[X+128>>2]=+g[z+(e*104|0)+40>>2]*C;g[X+128+4>>2]=D;g[X+128+8>>2]=E;g[X+128+12>>2]=0.0;Bg(F+928|0,A,X,X+128|0,+g[F+468>>2])|0;e=e+1|0}while((e|0)!=(f|0))}if(c[F+988>>2]|0?(c[F+752>>2]|0)>0:0){e=0;do{A=c[F+760>>2]|0;t=c[A+(e*44|0)+8>>2]|0;y=c[A+(e*44|0)+12>>2]|0;z=c[A+(e*44|0)+16>>2]|0;B=(+g[t+40>>2]+ +g[y+40>>2]+ +g[z+40>>2])*.3333333432674408;C=(+g[t+44>>2]+ +g[y+44>>2]+ +g[z+44>>2])*.3333333432674408;D=(+g[t+48>>2]+ +g[y+48>>2]+ +g[z+48>>2])*.3333333432674408;r=+g[F+464>>2];o=+g[t+8>>2];q=+g[t+12>>2];u=+g[t+16>>2];E=+g[t+20>>2];v=+g[y+8>>2];i=v>2];k=s>2];l=p>2];m=n>2];p=+g[z+12>>2];s=+g[z+16>>2];v=+g[z+20>>2];g[X>>2]=(n>2]=(p>2]=(s>2]=v>2]=r+(o>2]=r+(q>2]=r+(u>2]=E>2]|0;E=+g[F+460>>2];g[X+128>>2]=B*E;g[X+128+4>>2]=C*E;g[X+128+8>>2]=D*E;g[X+128+12>>2]=0.0;Bg(F+988|0,A,X,X+128|0,+g[F+468>>2])|0;e=e+1|0}while((e|0)<(c[F+752>>2]|0))}do if(a[F+473>>0]|0){A=c[F+712>>2]|0;if((A|0)>0){f=c[F+720>>2]|0;h=c[F+512>>2]|0;e=0;i=0.0;k=0.0;l=0.0;do{E=+g[h+(e<<2)>>2];i=i+ +g[f+(e*104|0)+8>>2]*E;k=k+E*+g[f+(e*104|0)+12>>2];l=l+E*+g[f+(e*104|0)+16>>2];e=e+1|0}while((e|0)!=(A|0))}else{i=0.0;k=0.0;l=0.0}g[F+520>>2]=i;g[F+524>>2]=k;g[F+528>>2]=l;g[F+532>>2]=0.0;y=X+128+4|0;z=y+44|0;do{c[y>>2]=0;y=y+4|0}while((y|0)<(z|0));g[X+128>>2]=1.1920928955078125e-07;g[X+128+20>>2]=2.384185791015625e-07;g[X+128+40>>2]=3.5762786865234375e-07;if((A|0)>0){f=c[F+512>>2]|0;h=c[F+720>>2]|0;t=c[F+492>>2]|0;e=0;m=1.1920928955078125e-07;n=0.0;o=0.0;p=0.0;q=2.384185791015625e-07;r=0.0;s=0.0;u=0.0;v=3.5762786865234375e-07;do{D=+g[f+(e<<2)>>2];Z=(+g[h+(e*104|0)+8>>2]-i)*D;Y=(+g[h+(e*104|0)+12>>2]-k)*D;D=D*(+g[h+(e*104|0)+16>>2]-l);B=+g[t+(e<<4)>>2];C=+g[t+(e<<4)+4>>2];E=+g[t+(e<<4)+8>>2];m=Z*B+m;n=Z*C+n;o=Z*E+o;p=Y*B+p;q=Y*C+q;r=Y*E+r;s=D*B+s;u=D*C+u;v=D*E+v;e=e+1|0}while((e|0)!=(A|0));g[X+128>>2]=m;g[X+128+4>>2]=n;g[X+128+8>>2]=o;g[X+128+16>>2]=p;g[X+128+20>>2]=q;g[X+128+24>>2]=r;g[X+128+32>>2]=s;g[X+128+36>>2]=u;g[X+128+40>>2]=v}if((a[26680]|0)==0?mz(26680)|0:0){g[6830]=9.999999747378752e-05;c[6831]=16}oc(X+128|0,X+80|0,X+32|0);c[F+536>>2]=c[X+80>>2];c[F+536+4>>2]=c[X+80+4>>2];c[F+536+8>>2]=c[X+80+8>>2];c[F+536+12>>2]=c[X+80+12>>2];c[F+552>>2]=c[I>>2];c[F+552+4>>2]=c[I+4>>2];c[F+552+8>>2]=c[I+8>>2];c[F+552+12>>2]=c[I+12>>2];c[F+568>>2]=c[J>>2];c[F+568+4>>2]=c[J+4>>2];c[F+568+8>>2]=c[J+8>>2];c[F+568+12>>2]=c[J+12>>2];ca=+g[X+80>>2];_=+g[I>>2];C=+g[J>>2];ba=+g[X+80+4>>2];u=+g[X+80+20>>2];E=+g[X+80+36>>2];aa=+g[X+80+8>>2];v=+g[X+80+24>>2];Z=+g[X+80+40>>2];n=+g[F+632>>2];m=+g[F+636>>2];l=+g[F+640>>2];ia=+g[F+648>>2];ha=+g[F+652>>2];o=+g[F+656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>2]=k*ia;g[F+592>>2]=l*ia;g[F+596>>2]=0.0;g[F+600>>2]=m*ia;g[F+604>>2]=n*ia;g[F+608>>2]=o*ia;g[F+612>>2]=0.0;g[F+616>>2]=p*ia;g[F+620>>2]=q*ia;g[F+624>>2]=r*ia;g[F+628>>2]=0.0}if(a[F+473>>0]|0){if(!(+g[F+320>>2]>0.0))break;i=+g[F+536>>2];n=+g[F+540>>2];o=+g[F+544>>2];p=+g[F+552>>2];q=+g[F+556>>2];r=+g[F+560>>2];k=+g[F+568>>2];l=+g[F+572>>2];m=+g[F+576>>2];f=c[F+712>>2]|0;if((f|0)<=0)break;e=0;do{h=c[F+720>>2]|0;if(+g[h+(e*104|0)+88>>2]>0.0){y=c[F+492>>2]|0;da=+g[y+(e<<4)>>2];ea=+g[y+(e<<4)+4>>2];fa=+g[y+(e<<4)+8>>2];ca=+g[F+320>>2];y=h+(e*104|0)+8|0;ga=+g[y>>2];z=h+(e*104|0)+12|0;ha=+g[z>>2];A=h+(e*104|0)+16|0;ia=+g[A>>2];ha=ha+ca*(p*da+q*ea+r*fa+ +g[F+524>>2]-ha);ia=ia+ca*(k*da+l*ea+m*fa+ +g[F+528>>2]-ia);g[y>>2]=ga+ca*(+g[F+520>>2]+(i*da+n*ea+o*fa)-ga);g[z>>2]=ha;g[A>>2]=ia;g[h+(e*104|0)+20>>2]=0.0}e=e+1|0}while((e|0)!=(f|0))}}while(0);y=X+128|0;z=y+104|0;do{c[y>>2]=0;y=y+4|0}while((y|0)<(z|0));e=c[F+812>>2]|0;if((e|0)<0){if((c[F+816>>2]|0)<0){f=c[F+820>>2]|0;if(f|0){if(a[F+824>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[f+-4>>2]|0)}c[F+820>>2]=0}a[F+824>>0]=1;c[F+820>>2]=0;c[F+816>>2]=0}do{A=c[F+820>>2]|0;z=A+(e*104|0)|0;c[z>>2]=c[X+128>>2];c[z+4>>2]=c[X+128+4>>2];c[z+8>>2]=c[X+128+8>>2];c[z+12>>2]=c[X+128+12>>2];c[z+16>>2]=c[X+128+16>>2];c[z+20>>2]=c[X+128+20>>2];c[z+24>>2]=c[X+128+24>>2];z=A+(e*104|0)+28|0;c[z>>2]=c[X+128+28>>2];c[z+4>>2]=c[X+128+28+4>>2];c[z+8>>2]=c[X+128+28+8>>2];c[z+12>>2]=c[X+128+28+12>>2];z=A+(e*104|0)+44|0;c[z>>2]=c[X+128+44>>2];c[z+4>>2]=c[X+128+44+4>>2];c[z+8>>2]=c[X+128+44+8>>2];c[z+12>>2]=c[X+128+44+12>>2];z=A+(e*104|0)+60|0;c[z>>2]=c[X+128+60>>2];c[z+4>>2]=c[X+128+60+4>>2];c[z+8>>2]=c[X+128+60+8>>2];c[z+12>>2]=c[X+128+60+12>>2];A=A+(e*104|0)+76|0;c[A>>2]=c[H>>2];c[A+4>>2]=c[H+4>>2];c[A+8>>2]=c[H+8>>2];c[A+12>>2]=c[H+12>>2];c[A+16>>2]=c[H+16>>2];c[A+20>>2]=c[H+20>>2];c[A+24>>2]=c[H+24>>2];e=e+1|0}while((e|0)!=0)}c[F+812>>2]=0;y=X+128|0;z=y+56|0;do{c[y>>2]=0;y=y+4|0}while((y|0)<(z|0));e=c[F+832>>2]|0;if((e|0)<0){if((c[F+836>>2]|0)<0){f=c[F+840>>2]|0;if(f|0){if(a[F+844>>0]|0){c[7183]=(c[7183]|0)+1;Hc(c[f+-4>>2]|0)}c[F+840>>2]=0}a[F+844>>0]=1;c[F+840>>2]=0;c[F+836>>2]=0}do{y=(c[F+840>>2]|0)+(e*56|0)|0;f=X+128|0;z=y+56|0;do{c[y>>2]=c[f>>2];y=y+4|0;f=f+4|0}while((y|0)<(z|0));e=e+1|0}while((e|0)!=0)}c[F+832>>2]=0;uf(F+928|0,1);uf(F+988|0,1);uf(F+1048|0,1);e=c[b+24>>2]|0}}G=G+1|0}while((G|0)<(e|0));sa=X;return}function ub(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,K=0,L=0,M=0,N=0,O=0;K=sa;sa=sa+144|0;a:do switch(d-b|0){case 0:{c[e>>2]=0;c[e+4>>2]=0;c[e+8>>2]=0;c[e+12>>2]=0;sa=K;return}case 2:{f=c[(c[a+92>>2]|0)+(b<<2)>>2]|0;i=c[f+88>>2]|0;j=c[f+200>>2]|0;h=c[f+92>>2]|0;g=c[f+204>>2]|0;if((i|0)==(j|0)&(h|0)==(g|0))if((c[f+96>>2]|0)==(c[f+208>>2]|0))break a;else g=h;g=h-g|0;do if(g|i-j){c[f>>2]=f+112;c[f+4>>2]=f+112;c[f+112>>2]=f;c[f+116>>2]=f;I=(i-j|0)<0|(i-j|0)==0&(g|0)<0;c[e>>2]=I?f:f+112|0;c[e+4>>2]=I?f+112|0:f;if((g|0)<0|(i-j|0)<0&(g|0)==0){c[e+8>>2]=f;g=f;h=f+112|0;f=f+112|0;break}else{c[e+8>>2]=f+112;g=f;h=f+112|0;break}}else{h=(c[f+96>>2]|0)>(c[f+208>>2]|0);I=h?f+112|0:f;c[I>>2]=I;c[I+4>>2]=I;c[e>>2]=I;c[e+4>>2]=I;c[e+8>>2]=I;g=I;h=h?f:f+112|0;f=I}while(0);c[e+12>>2]=f;a=df(a,g,h)|0;c[a>>2]=a;c[a+4>>2]=a;c[g+8>>2]=a;a=c[a+8>>2]|0;c[a>>2]=a;c[a+4>>2]=a;c[h+8>>2]=a;sa=K;return}case 1:{f=c[(c[a+92>>2]|0)+(b<<2)>>2]|0;break}default:{m=((d-b|0)/2|0)+b|0;l=c[a+92>>2]|0;k=c[l+(m+-1<<2)>>2]|0;i=c[k+88>>2]|0;j=c[k+92>>2]|0;k=c[k+96>>2]|0;b:do if((m|0)<(d|0)){f=m;do{h=c[l+(f<<2)>>2]|0;if((c[h+88>>2]|0)!=(i|0))break b;if((c[h+92>>2]|0)!=(j|0))break b;if((c[h+96>>2]|0)!=(k|0))break b;f=f+1|0}while((f|0)<(d|0))}else f=m;while(0);ub(a,b,m,e);c[K+96>>2]=0;c[K+96+4>>2]=0;c[K+96+8>>2]=0;c[K+96+12>>2]=0;ub(a,f,d,K+96|0);j=c[K+96+4>>2]|0;c:do if(j|0){z=c[e+4>>2]|0;if(!z){c[e>>2]=c[K+96>>2];c[e+4>>2]=c[K+96+4>>2];c[e+8>>2]=c[K+96+8>>2];c[e+12>>2]=c[K+96+12>>2];break}c[a+100>>2]=(c[a+100>>2]|0)+-1;l=c[e+12>>2]|0;h=c[K+96+8>>2]|0;i=c[l+88>>2]|0;d:do if((i|0)==(c[h+88>>2]|0)?(g=c[l+92>>2]|0,(g|0)==(c[h+92>>2]|0)):0){k=c[h+4>>2]|0;if((k|0)==(h|0)){f=c[h+8>>2]|0;if(!f)f=i;else{h=c[f+12>>2]|0;f=c[h+88>>2]|0;g=c[h+92>>2]|0}k=h;j=f+1|0;d=l;m=c[h+96>>2]|0;f=l;b=h;break}i=c[h>>2]|0;c[k>>2]=i;c[i+4>>2]=k;if((h|0)==(c[K+96>>2]|0)){f=c[i+88>>2]|0;g=c[k+88>>2]|0;do if((f|0)<(g|0))f=i;else{if((f|0)==(g|0)?(c[i+92>>2]|0)<(c[k+92>>2]|0):0){f=i;break}f=k}while(0);c[K+96>>2]=f}if((h|0)==(j|0)){f=c[i+88>>2]|0;g=c[k+88>>2]|0;do if((f|0)<=(g|0)){if((f|0)==(g|0)?(c[i+92>>2]|0)>(c[k+92>>2]|0):0)break;c[K+96+4>>2]=k;i=k;G=39;break d}while(0);c[K+96+4>>2]=i;G=39}else{i=j;G=39}}else{i=j;G=39}while(0);if((G|0)==39){x=c[e>>2]|0;y=c[K+96>>2]|0;d=z;j=0;b=0;v=1;w=0;n=i;while(1){h=c[n+88>>2]|0;m=c[d+88>>2]|0;g=J(h-m|0,v)|0;e:do if((g|0)<=0){if((g|0)<0){u=(w|0)!=0;k=d;f=n;l=c[d+92>>2]|0;t=c[n+92>>2]|0;while(1){q=c[(u?f+4|0:f)>>2]|0;r=(q|0)==(f|0);s=f+88|0;while(1){d=k+88|0;p=t-l|0;if(!r?(A=c[q+88>>2]|0,B=J(A-h|0,v)|0,C=c[q+92>>2]|0,D=C-t|0,(D|0)>-1):0){if(!B)break;if((B|0)<0?(J(D,g)|0)<=(J(B,p)|0):0)break}o=c[(u?k+4|0:k)>>2]|0;if((o|0)==(k|0))break e;F=c[o+88>>2]|0;m=J(F-(c[d>>2]|0)|0,v)|0;n=c[o+92>>2]|0;l=n-l|0;h=c[s>>2]|0;d=J(h-F|0,v)|0;if(!((l|0)>0&(d|0)<0))break e;if(m|0){if((m|0)>=0)break e;if((J(l,g)|0)>=(J(m,p)|0))break e}k=o;g=d;l=n}f=q;g=J(A-(c[d>>2]|0)|0,v)|0;t=C;h=A}}f=c[d+92>>2]|0;l=(w|0)!=0;g=c[(l?d:d+4|0)>>2]|0;f:do if((g|0)!=(d|0))if(l){h=d;k=f;while(1){if((c[g+88>>2]|0)!=(m|0)){k=h;break f}F=k;k=c[g+92>>2]|0;if((k|0)>(F|0)){k=h;break f}f=c[g>>2]|0;if((f|0)==(d|0)){k=g;break}else{h=g;g=f}}}else{h=d;k=f;while(1){if((c[g+88>>2]|0)!=(m|0)){k=h;break f}F=k;k=c[g+92>>2]|0;if((k|0)>(F|0)){k=h;break f}f=c[g+4>>2]|0;if((f|0)==(d|0)){k=g;break}else{h=g;g=f}}}else k=d;while(0);f=c[n+92>>2]|0;h=c[(l?n+4|0:n)>>2]|0;if((h|0)!=(n|0))if(l){g=f;f=n;while(1){if((c[h+88>>2]|0)!=(m|0))break e;F=g;g=c[h+92>>2]|0;if((g|0)<(F|0))break e;f=c[h+4>>2]|0;if((f|0)==(n|0)){f=h;break}else{F=h;h=f;f=F}}}else{g=f;f=n;while(1){if((c[h+88>>2]|0)!=(m|0))break e;F=g;g=c[h+92>>2]|0;if((g|0)<(F|0))break e;f=c[h>>2]|0;if((f|0)==(n|0)){f=h;break}else{F=h;h=f;f=F}}}else f=n}else{r=(w|0)!=0;h=d;f=n;q=c[n+92>>2]|0;while(1){o=f+88|0;k=h;h=c[h+92>>2]|0;while(1){p=q-h|0;l=c[(r?k:k+4|0)>>2]|0;if((l|0)==(k|0))break;d=c[l+88>>2]|0;m=J(d-(c[k+88>>2]|0)|0,v)|0;n=c[l+92>>2]|0;h=n-h|0;if((h|0)>=1)break;if(m|0){if((m|0)>=0)break;if((J(h,g)|0)>(J(m,p)|0))break}g=J((c[o>>2]|0)-d|0,v)|0;k=l;h=n}n=c[(r?f:f+4|0)>>2]|0;if((n|0)==(f|0))break e;l=c[n+88>>2]|0;d=J(l-(c[o>>2]|0)|0,v)|0;m=c[n+92>>2]|0;h=m-q|0;l=J(l-(c[k+88>>2]|0)|0,v)|0;if(!((h|0)<0&(l|0)>0))break e;if(d|0){if((d|0)>=0)break e;if((J(h,g)|0)>=(J(d,p)|0))break e}g=l;h=k;f=n;q=m}}while(0);g=(w|0)==0;b=g?f:b;j=g?k:j;n=g?y:f;d=g?x:k;w=w+1|0;if((w|0)==2)break;else v=g?-1:v}c[d+4>>2]=n;c[n>>2]=d;c[j>>2]=b;c[b+4>>2]=j;if((c[y+88>>2]|0)<(c[x+88>>2]|0))c[e>>2]=y;if((c[i+88>>2]|0)>=(c[z+88>>2]|0))c[e+4>>2]=i;c[e+12>>2]=c[K+96+12>>2];g=j;k=b;l=b+88|0;v=c[l>>2]|0;q=c[j+88>>2]|0;i=b+92|0;w=c[i>>2]|0;x=c[j+92>>2]|0;h=b+96|0;y=c[h>>2]|0;r=c[j+96>>2]|0;z=((w-x|0)<0)<<31>>31;A=0-(v-q)|0;B=lv(0,0,A|0,((A|0)<0)<<31>>31|0)|0;B=Vr(B|0,Q()|0,y-r|0,((y-r|0)<0)<<31>>31|0)|0;C=Q()|0;D=Vr(y-r|0,((y-r|0)<0)<<31>>31|0,w-x|0,z|0)|0;e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Q()|0;if((L|0)>0|(L|0)==0&M>>>0>0)break g}while(0);f=p}while(0);p=c[p>>2]|0}while((p|0)!=(s|0));c[K+120>>2]=f;s=f}p=c[b+8>>2]|0;c[K+72>>2]=0;if(!p)f=0;else{q=lv(0,0,w-x|0,z|0)|0;r=Q()|0;o=p;f=0;do{n=c[o+12>>2]|0;d=c[n+88>>2]|0;m=c[n+92>>2]|0;n=c[n+96>>2]|0;M=Vr(m-w|0,((m-w|0)<0)<<31>>31|0,A|0,((A|0)<0)<<31>>31|0)|0;O=Q()|0;N=Vr(q|0,r|0,d-v|0,((d-v|0)<0)<<31>>31|0)|0;do if((M|0)==(N|0)&(O|0)==(Q()|0)?(N=Vr(B|0,C|0,d-v|0,((d-v|0)<0)<<31>>31|0)|0,M=Q()|0,O=Vr(D|0,e|0,m-w|0,((m-w|0)<0)<<31>>31|0)|0,M=xv(O|0,Q()|0,N|0,M|0)|0,N=Q()|0,O=Vr(E|0,F|0,n-y|0,((n-y|0)<0)<<31>>31|0)|0,O=xv(M|0,N|0,O|0,Q()|0)|0,N=Q()|0,(N|0)>0|(N|0)==0&O>>>0>0):0){if(f|0){if((c[f>>2]|0)!=(o|0))break;if((c[f+4>>2]|0)==(o|0)?(N=c[f+12>>2]|0,L=c[(c[o+8>>2]|0)+12>>2]|0,O=c[L+88>>2]|0,M=c[L+92>>2]|0,L=c[L+96>>2]|0,u=(c[N+96>>2]|0)-L|0,M=(J(n-L|0,(c[N+92>>2]|0)-M|0)|0)-(J(u,m-M|0)|0)|0,O=(J(u,d-O|0)|0)-(J(n-L|0,(c[N+88>>2]|0)-O|0)|0)|0,M=Vr(M|0,((M|0)<0)<<31>>31|0,w-x|0,z|0)|0,N=Q()|0,O=Vr(O|0,((O|0)<0)<<31>>31|0,A|0,((A|0)<0)<<31>>31|0)|0,O=xv(M|0,N|0,O|0,Q()|0)|0,N=Q()|0,!((N|0)>0|(N|0)==0&O>>>0>0)):0)break}f=o}while(0);o=c[o>>2]|0}while((o|0)!=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0,q|0,0)|0;O=Q()|0;N=xv(L|0,0,M|0,N|0)|0;r=xv(N|0,Q()|0,r|0,0)|0;O=xv(r|0,Q()|0,O|0,0)|0;r=Q()|0;o=xv(0,q|0,p|0,o|0)|0;p=Q()|0;q=xv(O|0,r|0,(p>>>0>>0|(p|0)==(q|0)&o>>>0<0)&1|0,0)|0;r=Q()|0;if(n>>>0>>0|(n|0)==(r|0)&d>>>0>>0)j=-1;else j=n>>>0>r>>>0|(n|0)==(r|0)&d>>>0>q>>>0?1:l>>>0

>>0|(l|0)==(p|0)&j>>>0>>0?-1:(l>>>0>p>>>0|(l|0)==(p|0)&j>>>0>o>>>0)&1;o=J(j,s)|0}}else o=j;while(0);do if(!E)if((o|0)>-1)if((c[K+16>>2]|0)<0&((c[K+8>>2]|0)==0?(c[K+8+4>>2]|0)==0:0)){n=y;break}else{G=139;break}else if((c[K+24+16>>2]|0)<0&((c[K+24+8>>2]|0)==0?(c[K+24+8+4>>2]|0)==0:0)){n=y;break}else{G=139;break}else G=139;while(0);if((G|0)==139){G=0;l=df(a,t,u)|0;if(!v)h=l;else c[v+4>>2]=l;c[l>>2]=v;j=c[l+8>>2]|0;if(!y)i=j;else c[y>>2]=j;c[j+4>>2]=y;v=l;n=j}c[K+116>>2]=C;c[K+112>>2]=w;if(!o){yb(a,x,k,K+116|0,K+112|0);j=c[K+112>>2]|0}else j=w;if((o|0)>-1&(j|0)!=0){d=(A|0)!=0;if(d?(H=c[A>>2]|0,(H|0)!=(w|0)):0){j=H;do{l=j;j=c[j>>2]|0;m=c[l+8>>2]|0;if((j|0)==(l|0))g=0;else{c[j+4>>2]=c[l+4>>2];c[c[l+4>>2]>>2]=j;g=j}c[(c[m+12>>2]|0)+8>>2]=g;g=c[m>>2]|0;if((g|0)==(m|0)){c[(c[l+12>>2]|0)+8>>2]=0;g=m+4|0}else{c[g+4>>2]=c[m+4>>2];c[c[m+4>>2]>>2]=g;c[(c[l+12>>2]|0)+8>>2]=g;g=m+4|0}c[l+4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=e;h=0;break}else{g=c[C>>2]|0;c[h>>2]=g;c[g+4>>2]=h;c[C>>2]=v;c[v+4>>2]=C;g=h;h=0;break}else g=d?e:C;while(0);O=x;x=c[K+116>>2]|0;r=c[x+8>>2]|0;p=g;v=0;w=c[O+88>>2]|0;x=c[x+12>>2]|0;y=c[O+96>>2]|0;g=c[O+92>>2]|0}else{r=D;p=e;w=j;y=m}if((f|0)==(x|0)&(b|0)==(k|0)){if(r){o=r+4|0;j=c[o>>2]|0;if((j|0)!=(p|0))do{m=j+4|0;d=j;j=c[m>>2]|0;l=c[d>>2]|0;n=c[d+8>>2]|0;if((l|0)==(d|0))l=0;else{c[l+4>>2]=j;c[c[m>>2]>>2]=l}c[(c[n+12>>2]|0)+8>>2]=l;l=c[n>>2]|0;if((l|0)==(n|0)){c[(c[d+12>>2]|0)+8>>2]=0;l=n+4|0}else{c[l+4>>2]=c[n+4>>2];c[c[n+4>>2]>>2]=l;c[(c[d+12>>2]|0)+8>>2]=l;l=n+4|0}c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=0;c[m+12>>2]=0;c[d>>2]=c[a+56>>2];c[a+56>>2]=d;c[l>>2]=0;c[l+4>>2]=0;c[l+8>>2]=0;c[l+12>>2]=0;c[n>>2]=c[a+56>>2];c[a+56>>2]=n;c[a+116>>2]=(c[a+116>>2]|0)+-1}while((j|0)!=(p|0));if(v|0){c[h>>2]=r;c[o>>2]=h;c[p>>2]=v;c[v+4>>2]=p}}else{c[h>>2]=v;c[v+4>>2]=h;c[x+8>>2]=v}if(!s){c[A>>2]=i;c[i+4>>2]=A;c[b+8>>2]=A;u=0;t=E;s=0;n=v;o=A;d=k;j=w;l=x;m=y;break}j=c[s>>2]|0;if((j|0)!=(q|0))do{d=j;j=c[j>>2]|0;m=c[d+8>>2]|0;if((j|0)==(d|0))l=0;else{c[j+4>>2]=c[d+4>>2];c[c[d+4>>2]>>2]=j;l=j}c[(c[m+12>>2]|0)+8>>2]=l;l=c[m>>2]|0;if((l|0)==(m|0)){c[(c[d+12>>2]|0)+8>>2]=0;l=m+4|0}else{c[l+4>>2]=c[m+4>>2];c[c[m+4>>2]>>2]=l;c[(c[d+12>>2]|0)+8>>2]=l;l=m+4|0}c[d+4>>2]=0;c[d+4+4>>2]=0;c[d+4+8>>2]=0;c[d+4+12>>2]=0;c[d>>2]=c[a+56>>2];c[a+56>>2]=d;c[l>>2]=0;c[l+4>>2]=0;c[l+8>>2]=0;c[l+12>>2]=0;c[m>>2]=c[a+56>>2];c[a+56>>2]=m;c[a+116>>2]=(c[a+116>>2]|0)+-1}while((j|0)!=(q|0));if(!A){u=0;t=E;n=v;o=0;d=k;j=w;l=x;m=y}else{c[s>>2]=i;c[i+4>>2]=s;c[A>>2]=q;c[q+4>>2]=A;u=0;t=E;n=v;o=A;d=k;j=w;l=x;m=y}}else{u=1;t=0;n=v;o=A;d=k;j=w;l=x;m=y}}else{r=df(a,t,u)|0;c[r>>2]=r;c[r+4>>2]=r;c[t+8>>2]=r;t=c[r+8>>2]|0;c[t>>2]=t;c[t+4>>2]=t;c[u+8>>2]=t;u=0;t=E;r=D;s=A;p=e;n=v;q=B;o=y;d=k;j=z;l=x}while(0);if(!u)break c;D=r;e=p;v=n;E=t;A=s;B=q;y=o;k=d;z=j;x=l;u=d;t=l}}while(0);sa=K;return}}while(0);c[f+8>>2]=0;c[f>>2]=f;c[f+4>>2]=f;c[e>>2]=f;c[e+4>>2]=f;c[e+8>>2]=f;c[e+12>>2]=f;sa=K;return} + +// EMSCRIPTEN_END_FUNCS +var va=[II,ho,sG,Jz,cG,iG,zD,Tp,Sp,Tp,II,II,II,II,II,II];var wa=[kI,kw];var xa=[fD,Bj,Bj,fD];var ya=[bH,Vi,Cj,Kh,IE,pk,Gn,pj,cm,Qm,Xg,$l,Pl,Il,bH,bH];var za=[FA,Qj,Pj,FA];var Aa=[bF,cc];var Ba=[vC,hu,ud,hu,hu,vd,hu,hu,jf,Je,lt,hu,hu,vC,vC,vC];var Ca=[tw,wp];var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$F,$F,$F,$F,$F,$F,$F,$F,$F,$F,$F,$F,$F,$F,$F,$F,$F,$F,$F,$F,$F,$F,$F,$F,$F,$F,$F,$F,$F,$F,$F,$F,$F,$F,$F,$F,$F,$F,$F];var bb=[CE,$u];var cb=[At,Gd];var db=[tu,nf];var eb=[XD,dt,cd,og,bl,xf,Yo,Zb,me,gf,bf,mb,mc,Jb,Wd,nd,Ub,iu,If,vb,dd,sk,xh,we,XD,XD,XD,XD,XD,XD,XD,XD];var fb=[NB,ko];var gb=[jB,hd,Tk,Ml,so,Im,gi,jB];var hb=[tz,lg];var ib=[dw,pq];var jb=[Vv,_g];var kb=[Ju,Al,Al,Ju];return{__GLOBAL__sub_I_btQuickprof_cpp:Yp,___cxa_can_catch:Vp,___cxa_is_pointer_type:xy,___muldi3:Vr,___udivdi3:VA,_bitshift64Lshr:xt,_bitshift64Shl:it,_emscripten_bind_Anchor___destroy___0:qD,_emscripten_bind_Anchor_get_m_body_0:XF,_emscripten_bind_Anchor_get_m_c0_0:vH,_emscripten_bind_Anchor_get_m_c1_0:uH,_emscripten_bind_Anchor_get_m_c2_0:bG,_emscripten_bind_Anchor_get_m_influence_0:nG,_emscripten_bind_Anchor_get_m_local_0:oI,_emscripten_bind_Anchor_get_m_node_0:MG,_emscripten_bind_Anchor_set_m_body_1:GD,_emscripten_bind_Anchor_set_m_c0_1:pB,_emscripten_bind_Anchor_set_m_c1_1:Mr,_emscripten_bind_Anchor_set_m_c2_1:cE,_emscripten_bind_Anchor_set_m_influence_1:lE,_emscripten_bind_Anchor_set_m_local_1:Or,_emscripten_bind_Anchor_set_m_node_1:qE,_emscripten_bind_ClosestConvexResultCallback_ClosestConvexResultCallback_2:ys,_emscripten_bind_ClosestConvexResultCallback___destroy___0:jw,_emscripten_bind_ClosestConvexResultCallback_get_m_closestHitFraction_0:oG,_emscripten_bind_ClosestConvexResultCallback_get_m_collisionFilterGroup_0:oC,_emscripten_bind_ClosestConvexResultCallback_get_m_collisionFilterMask_0:nC,_emscripten_bind_ClosestConvexResultCallback_get_m_convexFromWorld_0:mI,_emscripten_bind_ClosestConvexResultCallback_get_m_convexToWorld_0:vH,_emscripten_bind_ClosestConvexResultCallback_get_m_hitNormalWorld_0:UD,_emscripten_bind_ClosestConvexResultCallback_get_m_hitPointWorld_0:gE,_emscripten_bind_ClosestConvexResultCallback_hasHit_0:Rx,_emscripten_bind_ClosestConvexResultCallback_set_m_closestHitFraction_1:PF,_emscripten_bind_ClosestConvexResultCallback_set_m_collisionFilterGroup_1:Lz,_emscripten_bind_ClosestConvexResultCallback_set_m_collisionFilterMask_1:Kz,_emscripten_bind_ClosestConvexResultCallback_set_m_convexFromWorld_1:Qq,_emscripten_bind_ClosestConvexResultCallback_set_m_convexToWorld_1:Xq,_emscripten_bind_ClosestConvexResultCallback_set_m_hitNormalWorld_1:Rq,_emscripten_bind_ClosestConvexResultCallback_set_m_hitPointWorld_1:Wq,_emscripten_bind_ClosestRayResultCallback_ClosestRayResultCallback_2:Vs,_emscripten_bind_ClosestRayResultCallback___destroy___0:jw,_emscripten_bind_ClosestRayResultCallback_get_m_closestHitFraction_0:oG,_emscripten_bind_ClosestRayResultCallback_get_m_collisionFilterGroup_0:zC,_emscripten_bind_ClosestRayResultCallback_get_m_collisionFilterMask_0:IC,_emscripten_bind_ClosestRayResultCallback_get_m_collisionObject_0:bE,_emscripten_bind_ClosestRayResultCallback_get_m_hitNormalWorld_0:AF,_emscripten_bind_ClosestRayResultCallback_get_m_hitPointWorld_0:OG,_emscripten_bind_ClosestRayResultCallback_get_m_rayFromWorld_0:PE,_emscripten_bind_ClosestRayResultCallback_get_m_rayToWorld_0:aG,_emscripten_bind_ClosestRayResultCallback_hasHit_0:ry,_emscripten_bind_ClosestRayResultCallback_set_m_closestHitFraction_1:PF,_emscripten_bind_ClosestRayResultCallback_set_m_collisionFilterGroup_1:Yz,_emscripten_bind_ClosestRayResultCallback_set_m_collisionFilterMask_1:eA,_emscripten_bind_ClosestRayResultCallback_set_m_collisionObject_1:bB,_emscripten_bind_ClosestRayResultCallback_set_m_hitNormalWorld_1:qr,_emscripten_bind_ClosestRayResultCallback_set_m_hitPointWorld_1:yr,_emscripten_bind_ClosestRayResultCallback_set_m_rayFromWorld_1:cr,_emscripten_bind_ClosestRayResultCallback_set_m_rayToWorld_1:zr,_emscripten_bind_ConcreteContactResultCallback_ConcreteContactResultCallback_0:tt,_emscripten_bind_ConcreteContactResultCallback___destroy___0:jw,_emscripten_bind_ConcreteContactResultCallback_addSingleResult_7:Cq,_emscripten_bind_Config___destroy___0:Ty,_emscripten_bind_Config_get_citerations_0:MF,_emscripten_bind_Config_get_collisions_0:vF,_emscripten_bind_Config_get_diterations_0:uF,_emscripten_bind_Config_get_kAHR_0:fG,_emscripten_bind_Config_get_kCHR_0:eG,_emscripten_bind_Config_get_kDF_0:tG,_emscripten_bind_Config_get_kDG_0:sG,_emscripten_bind_Config_get_kDP_0:BG,_emscripten_bind_Config_get_kKHR_0:dG,_emscripten_bind_Config_get_kLF_0:rG,_emscripten_bind_Config_get_kMT_0:qG,_emscripten_bind_Config_get_kPR_0:pG,_emscripten_bind_Config_get_kSHR_0:cG,_emscripten_bind_Config_get_kSKHR_CL_0:JF,_emscripten_bind_Config_get_kSK_SPLT_CL_0:nF,_emscripten_bind_Config_get_kSRHR_CL_0:IF,_emscripten_bind_Config_get_kSR_SPLT_CL_0:mF,_emscripten_bind_Config_get_kSSHR_CL_0:HF,_emscripten_bind_Config_get_kSS_SPLT_CL_0:iG,_emscripten_bind_Config_get_kVCF_0:oG,_emscripten_bind_Config_get_kVC_0:nG,_emscripten_bind_Config_get_maxvolume_0:CF,_emscripten_bind_Config_get_piterations_0:tF,_emscripten_bind_Config_get_timescale_0:BF,_emscripten_bind_Config_get_viterations_0:sF,_emscripten_bind_Config_set_citerations_1:NC,_emscripten_bind_Config_set_collisions_1:MC,_emscripten_bind_Config_set_diterations_1:LC,_emscripten_bind_Config_set_kAHR_1:fE,_emscripten_bind_Config_set_kCHR_1:eE,_emscripten_bind_Config_set_kDF_1:pE,_emscripten_bind_Config_set_kDG_1:pF,_emscripten_bind_Config_set_kDP_1:OF,_emscripten_bind_Config_set_kKHR_1:dE,_emscripten_bind_Config_set_kLF_1:oE,_emscripten_bind_Config_set_kMT_1:nE,_emscripten_bind_Config_set_kPR_1:mE,_emscripten_bind_Config_set_kSHR_1:ME,_emscripten_bind_Config_set_kSKHR_CL_1:FD,_emscripten_bind_Config_set_kSK_SPLT_CL_1:pD,_emscripten_bind_Config_set_kSRHR_CL_1:ED,_emscripten_bind_Config_set_kSR_SPLT_CL_1:oD,_emscripten_bind_Config_set_kSSHR_CL_1:DD,_emscripten_bind_Config_set_kSS_SPLT_CL_1:wE,_emscripten_bind_Config_set_kVCF_1:PF,_emscripten_bind_Config_set_kVC_1:lE,_emscripten_bind_Config_set_maxvolume_1:yD,_emscripten_bind_Config_set_piterations_1:KC,_emscripten_bind_Config_set_timescale_1:xD,_emscripten_bind_Config_set_viterations_1:JC,_emscripten_bind_ContactResultCallback___destroy___0:jw,_emscripten_bind_ContactResultCallback_addSingleResult_7:Cq,_emscripten_bind_ConvexResultCallback___destroy___0:jw,_emscripten_bind_ConvexResultCallback_get_m_closestHitFraction_0:oG,_emscripten_bind_ConvexResultCallback_get_m_collisionFilterGroup_0:oC,_emscripten_bind_ConvexResultCallback_get_m_collisionFilterMask_0:nC,_emscripten_bind_ConvexResultCallback_hasHit_0:Rx,_emscripten_bind_ConvexResultCallback_set_m_closestHitFraction_1:PF,_emscripten_bind_ConvexResultCallback_set_m_collisionFilterGroup_1:Lz,_emscripten_bind_ConvexResultCallback_set_m_collisionFilterMask_1:Kz,_emscripten_bind_DebugDrawer_DebugDrawer_0:hz,_emscripten_bind_DebugDrawer___destroy___0:jw,_emscripten_bind_DebugDrawer_draw3dText_2:sv,_emscripten_bind_DebugDrawer_drawContactPoint_5:es,_emscripten_bind_DebugDrawer_drawLine_3:su,_emscripten_bind_DebugDrawer_getDebugMode_0:lz,_emscripten_bind_DebugDrawer_reportErrorWarning_1:rw,_emscripten_bind_DebugDrawer_setDebugMode_1:bx,_emscripten_bind_LocalConvexResult_LocalConvexResult_5:vq,_emscripten_bind_LocalConvexResult___destroy___0:qD,_emscripten_bind_LocalConvexResult_get_m_hitCollisionObject_0:MG,_emscripten_bind_LocalConvexResult_get_m_hitFraction_0:dG,_emscripten_bind_LocalConvexResult_get_m_hitNormalLocal_0:nI,_emscripten_bind_LocalConvexResult_get_m_hitPointLocal_0:zH,_emscripten_bind_LocalConvexResult_get_m_localShapeInfo_0:rF,_emscripten_bind_LocalConvexResult_set_m_hitCollisionObject_1:qE,_emscripten_bind_LocalConvexResult_set_m_hitFraction_1:dE,_emscripten_bind_LocalConvexResult_set_m_hitNormalLocal_1:Zr,_emscripten_bind_LocalConvexResult_set_m_hitPointLocal_1:Sr,_emscripten_bind_LocalConvexResult_set_m_localShapeInfo_1:oB,_emscripten_bind_LocalShapeInfo___destroy___0:qD,_emscripten_bind_LocalShapeInfo_get_m_shapePart_0:MG,_emscripten_bind_LocalShapeInfo_get_m_triangleIndex_0:rF,_emscripten_bind_LocalShapeInfo_set_m_shapePart_1:qE,_emscripten_bind_LocalShapeInfo_set_m_triangleIndex_1:oB,_emscripten_bind_Material___destroy___0:qD,_emscripten_bind_Material_get_m_flags_0:GF,_emscripten_bind_Material_get_m_kAST_0:BG,_emscripten_bind_Material_get_m_kLST_0:oG,_emscripten_bind_Material_get_m_kVST_0:sG,_emscripten_bind_Material_set_m_flags_1:nD,_emscripten_bind_Material_set_m_kAST_1:OF,_emscripten_bind_Material_set_m_kLST_1:PF,_emscripten_bind_Material_set_m_kVST_1:pF,_emscripten_bind_Node___destroy___0:qD,_emscripten_bind_Node_get_m_area_0:bG,_emscripten_bind_Node_get_m_f_0:BH,_emscripten_bind_Node_get_m_im_0:AG,_emscripten_bind_Node_get_m_n_0:AH,_emscripten_bind_Node_get_m_q_0:zH,_emscripten_bind_Node_get_m_v_0:yH,_emscripten_bind_Node_get_m_x_0:nI,_emscripten_bind_Node_set_m_area_1:cE,_emscripten_bind_Node_set_m_f_1:Ur,_emscripten_bind_Node_set_m_im_1:zE,_emscripten_bind_Node_set_m_n_1:Tr,_emscripten_bind_Node_set_m_q_1:Sr,_emscripten_bind_Node_set_m_v_1:Rr,_emscripten_bind_Node_set_m_x_1:Zr,_emscripten_bind_RayResultCallback___destroy___0:jw,_emscripten_bind_RayResultCallback_get_m_closestHitFraction_0:oG,_emscripten_bind_RayResultCallback_get_m_collisionFilterGroup_0:zC,_emscripten_bind_RayResultCallback_get_m_collisionFilterMask_0:IC,_emscripten_bind_RayResultCallback_get_m_collisionObject_0:bE,_emscripten_bind_RayResultCallback_hasHit_0:ry,_emscripten_bind_RayResultCallback_set_m_closestHitFraction_1:PF,_emscripten_bind_RayResultCallback_set_m_collisionFilterGroup_1:Yz,_emscripten_bind_RayResultCallback_set_m_collisionFilterMask_1:eA,_emscripten_bind_RayResultCallback_set_m_collisionObject_1:bB,_emscripten_bind_RaycastInfo___destroy___0:qD,_emscripten_bind_RaycastInfo_get_m_contactNormalWS_0:JI,_emscripten_bind_RaycastInfo_get_m_contactPointWS_0:QF,_emscripten_bind_RaycastInfo_get_m_groundObject_0:tF,_emscripten_bind_RaycastInfo_get_m_hardPointWS_0:aG,_emscripten_bind_RaycastInfo_get_m_isInContact_0:wD,_emscripten_bind_RaycastInfo_get_m_suspensionLength_0:qG,_emscripten_bind_RaycastInfo_get_m_wheelAxleWS_0:OG,_emscripten_bind_RaycastInfo_get_m_wheelDirectionWS_0:AF,_emscripten_bind_RaycastInfo_set_m_contactNormalWS_1:Pr,_emscripten_bind_RaycastInfo_set_m_contactPointWS_1:vr,_emscripten_bind_RaycastInfo_set_m_groundObject_1:KC,_emscripten_bind_RaycastInfo_set_m_hardPointWS_1:zr,_emscripten_bind_RaycastInfo_set_m_isInContact_1:gB,_emscripten_bind_RaycastInfo_set_m_suspensionLength_1:nE,_emscripten_bind_RaycastInfo_set_m_wheelAxleWS_1:yr,_emscripten_bind_RaycastInfo_set_m_wheelDirectionWS_1:qr,_emscripten_bind_VoidPtr___destroy___0:qD,_emscripten_bind_btActionInterface___destroy___0:jw,_emscripten_bind_btActionInterface_updateAction_2:ov,_emscripten_bind_btAxisSweep3___destroy___0:jw,_emscripten_bind_btAxisSweep3_btAxisSweep3_2:us,_emscripten_bind_btAxisSweep3_btAxisSweep3_3:Lr,_emscripten_bind_btAxisSweep3_btAxisSweep3_4:or,_emscripten_bind_btAxisSweep3_btAxisSweep3_5:Mq,_emscripten_bind_btBoxShape___destroy___0:jw,_emscripten_bind_btBoxShape_btBoxShape_1:ai,_emscripten_bind_btBoxShape_calculateLocalInertia_2:_u,_emscripten_bind_btBoxShape_getLocalScaling_0:ez,_emscripten_bind_btBoxShape_getMargin_0:Jz,_emscripten_bind_btBoxShape_setLocalScaling_1:Pw,_emscripten_bind_btBoxShape_setMargin_1:Ox,_emscripten_bind_btBroadphaseInterface___destroy___0:jw,_emscripten_bind_btBroadphaseProxy___destroy___0:SA,_emscripten_bind_btBroadphaseProxy_get_m_collisionFilterGroup_0:HC,_emscripten_bind_btBroadphaseProxy_get_m_collisionFilterMask_0:ZC,_emscripten_bind_btBroadphaseProxy_set_m_collisionFilterGroup_1:dA,_emscripten_bind_btBroadphaseProxy_set_m_collisionFilterMask_1:kA,_emscripten_bind_btBvhTriangleMeshShape___destroy___0:jw,_emscripten_bind_btBvhTriangleMeshShape_btBvhTriangleMeshShape_2:Is,_emscripten_bind_btBvhTriangleMeshShape_btBvhTriangleMeshShape_3:$r,_emscripten_bind_btBvhTriangleMeshShape_calculateLocalInertia_2:_u,_emscripten_bind_btBvhTriangleMeshShape_getLocalScaling_0:ez,_emscripten_bind_btBvhTriangleMeshShape_setLocalScaling_1:Pw,_emscripten_bind_btCapsuleShapeX___destroy___0:jw,_emscripten_bind_btCapsuleShapeX_btCapsuleShapeX_2:Nm,_emscripten_bind_btCapsuleShapeX_calculateLocalInertia_2:_u,_emscripten_bind_btCapsuleShapeX_getHalfHeight_0:LB,_emscripten_bind_btCapsuleShapeX_getLocalScaling_0:ez,_emscripten_bind_btCapsuleShapeX_getMargin_0:Jz,_emscripten_bind_btCapsuleShapeX_getRadius_0:mD,_emscripten_bind_btCapsuleShapeX_getUpAxis_0:QD,_emscripten_bind_btCapsuleShapeX_setLocalScaling_1:Pw,_emscripten_bind_btCapsuleShapeX_setMargin_1:Ox,_emscripten_bind_btCapsuleShapeZ___destroy___0:jw,_emscripten_bind_btCapsuleShapeZ_btCapsuleShapeZ_2:Mm,_emscripten_bind_btCapsuleShapeZ_calculateLocalInertia_2:_u,_emscripten_bind_btCapsuleShapeZ_getHalfHeight_0:LB,_emscripten_bind_btCapsuleShapeZ_getLocalScaling_0:ez,_emscripten_bind_btCapsuleShapeZ_getMargin_0:Jz,_emscripten_bind_btCapsuleShapeZ_getRadius_0:mD,_emscripten_bind_btCapsuleShapeZ_getUpAxis_0:QD,_emscripten_bind_btCapsuleShapeZ_setLocalScaling_1:Pw,_emscripten_bind_btCapsuleShapeZ_setMargin_1:Ox,_emscripten_bind_btCapsuleShape___destroy___0:jw,_emscripten_bind_btCapsuleShape_btCapsuleShape_2:Pm,_emscripten_bind_btCapsuleShape_calculateLocalInertia_2:_u,_emscripten_bind_btCapsuleShape_getHalfHeight_0:LB,_emscripten_bind_btCapsuleShape_getLocalScaling_0:ez,_emscripten_bind_btCapsuleShape_getMargin_0:Jz,_emscripten_bind_btCapsuleShape_getRadius_0:mD,_emscripten_bind_btCapsuleShape_getUpAxis_0:QD,_emscripten_bind_btCapsuleShape_setLocalScaling_1:Pw,_emscripten_bind_btCapsuleShape_setMargin_1:Ox,_emscripten_bind_btCollisionConfiguration___destroy___0:jw,_emscripten_bind_btCollisionDispatcher___destroy___0:jw,_emscripten_bind_btCollisionDispatcher_btCollisionDispatcher_1:xk,_emscripten_bind_btCollisionDispatcher_getManifoldByIndexInternal_1:Mv,_emscripten_bind_btCollisionDispatcher_getNumManifolds_0:Mz,_emscripten_bind_btCollisionObject___destroy___0:hw,_emscripten_bind_btCollisionObject_activate_0:rt,_emscripten_bind_btCollisionObject_activate_1:ks,_emscripten_bind_btCollisionObject_forceActivationState_1:eB,_emscripten_bind_btCollisionObject_getCollisionFlags_0:jD,_emscripten_bind_btCollisionObject_getCollisionShape_0:iD,_emscripten_bind_btCollisionObject_getUserIndex_0:$B,_emscripten_bind_btCollisionObject_getUserPointer_0:BD,_emscripten_bind_btCollisionObject_getWorldTransform_0:FE,_emscripten_bind_btCollisionObject_isActive_0:xA,_emscripten_bind_btCollisionObject_isKinematicObject_0:hy,_emscripten_bind_btCollisionObject_isStaticObject_0:$y,_emscripten_bind_btCollisionObject_isStaticOrKinematicObject_0:Ew,_emscripten_bind_btCollisionObject_setActivationState_1:Gv,_emscripten_bind_btCollisionObject_setAnisotropicFriction_2:Xu,_emscripten_bind_btCollisionObject_setCcdMotionThreshold_1:dy,_emscripten_bind_btCollisionObject_setCcdSweptSphereRadius_1:Mx,_emscripten_bind_btCollisionObject_setCollisionFlags_1:Oy,_emscripten_bind_btCollisionObject_setCollisionShape_1:ww,_emscripten_bind_btCollisionObject_setContactProcessingThreshold_1:ky,_emscripten_bind_btCollisionObject_setFriction_1:wA,_emscripten_bind_btCollisionObject_setRestitution_1:Gz,_emscripten_bind_btCollisionObject_setRollingFriction_1:Wy,_emscripten_bind_btCollisionObject_setUserIndex_1:Pz,_emscripten_bind_btCollisionObject_setUserPointer_1:Pz,_emscripten_bind_btCollisionObject_setWorldTransform_1:ox,_emscripten_bind_btCollisionShape___destroy___0:jw,_emscripten_bind_btCollisionShape_calculateLocalInertia_2:_u,_emscripten_bind_btCollisionShape_getLocalScaling_0:ez,_emscripten_bind_btCollisionShape_getMargin_0:Jz,_emscripten_bind_btCollisionShape_setLocalScaling_1:Pw,_emscripten_bind_btCollisionShape_setMargin_1:Ox,_emscripten_bind_btCollisionWorld___destroy___0:jw,_emscripten_bind_btCollisionWorld_addCollisionObject_1:Av,_emscripten_bind_btCollisionWorld_addCollisionObject_2:Bu,_emscripten_bind_btCollisionWorld_addCollisionObject_3:Gt,_emscripten_bind_btCollisionWorld_contactPairTest_3:gj,_emscripten_bind_btCollisionWorld_contactTest_2:zm,_emscripten_bind_btCollisionWorld_convexSweepTest_5:fr,_emscripten_bind_btCollisionWorld_debugDrawObject_3:Nt,_emscripten_bind_btCollisionWorld_debugDrawWorld_0:Ry,_emscripten_bind_btCollisionWorld_getBroadphase_0:lD,_emscripten_bind_btCollisionWorld_getDebugDrawer_0:Cy,_emscripten_bind_btCollisionWorld_getDispatchInfo_0:SB,_emscripten_bind_btCollisionWorld_getDispatcher_0:kD,_emscripten_bind_btCollisionWorld_getPairCache_0:kz,_emscripten_bind_btCollisionWorld_rayTest_3:ku,_emscripten_bind_btCollisionWorld_removeCollisionObject_1:Wv,_emscripten_bind_btCollisionWorld_setDebugDrawer_1:qw,_emscripten_bind_btCollisionWorld_updateSingleAabb_1:yw,_emscripten_bind_btCompoundShape___destroy___0:jw,_emscripten_bind_btCompoundShape_addChildShape_2:_c,_emscripten_bind_btCompoundShape_btCompoundShape_0:Si,_emscripten_bind_btCompoundShape_btCompoundShape_1:Ii,_emscripten_bind_btCompoundShape_calculateLocalInertia_2:_u,_emscripten_bind_btCompoundShape_getChildShape_1:gz,_emscripten_bind_btCompoundShape_getLocalScaling_0:ez,_emscripten_bind_btCompoundShape_getMargin_0:Jz,_emscripten_bind_btCompoundShape_getNumChildShapes_0:EA,_emscripten_bind_btCompoundShape_removeChildShapeByIndex_1:lx,_emscripten_bind_btCompoundShape_setLocalScaling_1:Pw,_emscripten_bind_btCompoundShape_setMargin_1:Ox,_emscripten_bind_btConcaveShape___destroy___0:jw,_emscripten_bind_btConcaveShape_calculateLocalInertia_2:_u,_emscripten_bind_btConcaveShape_getLocalScaling_0:ez,_emscripten_bind_btConcaveShape_setLocalScaling_1:Pw,_emscripten_bind_btConeShapeX___destroy___0:jw,_emscripten_bind_btConeShapeX_btConeShapeX_2:El,_emscripten_bind_btConeShapeX_calculateLocalInertia_2:_u,_emscripten_bind_btConeShapeX_getLocalScaling_0:ez,_emscripten_bind_btConeShapeX_setLocalScaling_1:Pw,_emscripten_bind_btConeShapeZ___destroy___0:jw,_emscripten_bind_btConeShapeZ_btConeShapeZ_2:Dl,_emscripten_bind_btConeShapeZ_calculateLocalInertia_2:_u,_emscripten_bind_btConeShapeZ_getLocalScaling_0:ez,_emscripten_bind_btConeShapeZ_setLocalScaling_1:Pw,_emscripten_bind_btConeShape___destroy___0:jw,_emscripten_bind_btConeShape_btConeShape_2:Ol,_emscripten_bind_btConeShape_calculateLocalInertia_2:_u,_emscripten_bind_btConeShape_getLocalScaling_0:ez,_emscripten_bind_btConeShape_setLocalScaling_1:Pw,_emscripten_bind_btConeTwistConstraint___destroy___0:jw,_emscripten_bind_btConeTwistConstraint_btConeTwistConstraint_2:kg,_emscripten_bind_btConeTwistConstraint_btConeTwistConstraint_4:Pf,_emscripten_bind_btConeTwistConstraint_enableFeedback_1:Fy,_emscripten_bind_btConeTwistConstraint_enableMotor_1:wy,_emscripten_bind_btConeTwistConstraint_getBreakingImpulseThreshold_0:Gx,_emscripten_bind_btConeTwistConstraint_getParam_2:cv,_emscripten_bind_btConeTwistConstraint_setAngularOnly_1:Nx,_emscripten_bind_btConeTwistConstraint_setBreakingImpulseThreshold_1:ty,_emscripten_bind_btConeTwistConstraint_setDamping_1:dz,_emscripten_bind_btConeTwistConstraint_setLimit_2:ex,_emscripten_bind_btConeTwistConstraint_setMaxMotorImpulseNormalized_1:Kv,_emscripten_bind_btConeTwistConstraint_setMaxMotorImpulse_1:qx,_emscripten_bind_btConeTwistConstraint_setMotorTargetInConstraintSpace_1:ru,_emscripten_bind_btConeTwistConstraint_setMotorTarget_1:wh,_emscripten_bind_btConeTwistConstraint_setParam_3:qu,_emscripten_bind_btConstraintSetting___destroy___0:qD,_emscripten_bind_btConstraintSetting_btConstraintSetting_0:Sy,_emscripten_bind_btConstraintSetting_get_m_damping_0:oG,_emscripten_bind_btConstraintSetting_get_m_impulseClamp_0:BG,_emscripten_bind_btConstraintSetting_get_m_tau_0:hF,_emscripten_bind_btConstraintSetting_set_m_damping_1:PF,_emscripten_bind_btConstraintSetting_set_m_impulseClamp_1:OF,_emscripten_bind_btConstraintSetting_set_m_tau_1:jG,_emscripten_bind_btConstraintSolver___destroy___0:jw,_emscripten_bind_btContactSolverInfo___destroy___0:qD,_emscripten_bind_btContactSolverInfo_get_m_numIterations_0:XF,_emscripten_bind_btContactSolverInfo_get_m_splitImpulsePenetrationThreshold_0:sA,_emscripten_bind_btContactSolverInfo_get_m_splitImpulse_0:TB,_emscripten_bind_btContactSolverInfo_set_m_numIterations_1:GD,_emscripten_bind_btContactSolverInfo_set_m_splitImpulsePenetrationThreshold_1:Bx,_emscripten_bind_btContactSolverInfo_set_m_splitImpulse_1:jA,_emscripten_bind_btConvexHullShape___destroy___0:jw,_emscripten_bind_btConvexHullShape_addPoint_1:vy,_emscripten_bind_btConvexHullShape_addPoint_2:uw,_emscripten_bind_btConvexHullShape_btConvexHullShape_0:fw,_emscripten_bind_btConvexHullShape_btConvexHullShape_1:Zu,_emscripten_bind_btConvexHullShape_btConvexHullShape_2:fu,_emscripten_bind_btConvexHullShape_calculateLocalInertia_2:_u,_emscripten_bind_btConvexHullShape_getConvexPolyhedron_0:QD,_emscripten_bind_btConvexHullShape_getLocalScaling_0:ez,_emscripten_bind_btConvexHullShape_getMargin_0:Jz,_emscripten_bind_btConvexHullShape_getNumVertices_0:qy,_emscripten_bind_btConvexHullShape_initializePolyhedralFeatures_1:nv,_emscripten_bind_btConvexHullShape_recalcLocalAabb_0:cz,_emscripten_bind_btConvexHullShape_setLocalScaling_1:Pw,_emscripten_bind_btConvexHullShape_setMargin_1:Ox,_emscripten_bind_btConvexPolyhedron___destroy___0:jw,_emscripten_bind_btConvexPolyhedron_get_m_faces_0:zH,_emscripten_bind_btConvexPolyhedron_get_m_vertices_0:oI,_emscripten_bind_btConvexPolyhedron_set_m_faces_1:Ix,_emscripten_bind_btConvexPolyhedron_set_m_vertices_1:kx,_emscripten_bind_btConvexShape___destroy___0:jw,_emscripten_bind_btConvexShape_calculateLocalInertia_2:_u,_emscripten_bind_btConvexShape_getLocalScaling_0:ez,_emscripten_bind_btConvexShape_getMargin_0:Jz,_emscripten_bind_btConvexShape_setLocalScaling_1:Pw,_emscripten_bind_btConvexShape_setMargin_1:Ox,_emscripten_bind_btConvexTriangleMeshShape___destroy___0:jw,_emscripten_bind_btConvexTriangleMeshShape_btConvexTriangleMeshShape_1:_k,_emscripten_bind_btConvexTriangleMeshShape_btConvexTriangleMeshShape_2:Hk,_emscripten_bind_btConvexTriangleMeshShape_calculateLocalInertia_2:_u,_emscripten_bind_btConvexTriangleMeshShape_getLocalScaling_0:ez,_emscripten_bind_btConvexTriangleMeshShape_getMargin_0:Jz,_emscripten_bind_btConvexTriangleMeshShape_setLocalScaling_1:Pw,_emscripten_bind_btConvexTriangleMeshShape_setMargin_1:Ox,_emscripten_bind_btCylinderShapeX___destroy___0:jw,_emscripten_bind_btCylinderShapeX_btCylinderShapeX_1:at,_emscripten_bind_btCylinderShapeX_calculateLocalInertia_2:_u,_emscripten_bind_btCylinderShapeX_getLocalScaling_0:ez,_emscripten_bind_btCylinderShapeX_getMargin_0:Jz,_emscripten_bind_btCylinderShapeX_setLocalScaling_1:Pw,_emscripten_bind_btCylinderShapeX_setMargin_1:Ox,_emscripten_bind_btCylinderShapeZ___destroy___0:jw,_emscripten_bind_btCylinderShapeZ_btCylinderShapeZ_1:$s,_emscripten_bind_btCylinderShapeZ_calculateLocalInertia_2:_u,_emscripten_bind_btCylinderShapeZ_getLocalScaling_0:ez,_emscripten_bind_btCylinderShapeZ_getMargin_0:Jz,_emscripten_bind_btCylinderShapeZ_setLocalScaling_1:Pw,_emscripten_bind_btCylinderShapeZ_setMargin_1:Ox,_emscripten_bind_btCylinderShape___destroy___0:jw,_emscripten_bind_btCylinderShape_btCylinderShape_1:Uv,_emscripten_bind_btCylinderShape_calculateLocalInertia_2:_u,_emscripten_bind_btCylinderShape_getLocalScaling_0:ez,_emscripten_bind_btCylinderShape_getMargin_0:Jz,_emscripten_bind_btCylinderShape_setLocalScaling_1:Pw,_emscripten_bind_btCylinderShape_setMargin_1:Ox,_emscripten_bind_btDbvtBroadphase___destroy___0:jw,_emscripten_bind_btDbvtBroadphase_btDbvtBroadphase_0:Ow,_emscripten_bind_btDefaultCollisionConfiguration___destroy___0:jw,_emscripten_bind_btDefaultCollisionConfiguration_btDefaultCollisionConfiguration_0:Mp,_emscripten_bind_btDefaultCollisionConfiguration_btDefaultCollisionConfiguration_1:Ks,_emscripten_bind_btDefaultCollisionConstructionInfo___destroy___0:qD,_emscripten_bind_btDefaultCollisionConstructionInfo_btDefaultCollisionConstructionInfo_0:Vu,_emscripten_bind_btDefaultMotionState___destroy___0:jw,_emscripten_bind_btDefaultMotionState_btDefaultMotionState_0:Dr,_emscripten_bind_btDefaultMotionState_btDefaultMotionState_1:hs,_emscripten_bind_btDefaultMotionState_btDefaultMotionState_2:ht,_emscripten_bind_btDefaultMotionState_getWorldTransform_1:pw,_emscripten_bind_btDefaultMotionState_get_m_graphicsWorldTrans_0:oI,_emscripten_bind_btDefaultMotionState_setWorldTransform_1:ww,_emscripten_bind_btDefaultMotionState_set_m_graphicsWorldTrans_1:gy,_emscripten_bind_btDefaultSoftBodySolver___destroy___0:jw,_emscripten_bind_btDefaultSoftBodySolver_btDefaultSoftBodySolver_0:zp,_emscripten_bind_btDefaultVehicleRaycaster___destroy___0:jw,_emscripten_bind_btDefaultVehicleRaycaster_btDefaultVehicleRaycaster_1:Eu,_emscripten_bind_btDefaultVehicleRaycaster_castRay_3:Xt,_emscripten_bind_btDiscreteDynamicsWorld___destroy___0:jw,_emscripten_bind_btDiscreteDynamicsWorld_addAction_1:Xw,_emscripten_bind_btDiscreteDynamicsWorld_addCollisionObject_1:Yu,_emscripten_bind_btDiscreteDynamicsWorld_addCollisionObject_2:eu,_emscripten_bind_btDiscreteDynamicsWorld_addCollisionObject_3:Gt,_emscripten_bind_btDiscreteDynamicsWorld_addConstraint_1:Jv,_emscripten_bind_btDiscreteDynamicsWorld_addConstraint_2:Fu,_emscripten_bind_btDiscreteDynamicsWorld_addRigidBody_1:_v,_emscripten_bind_btDiscreteDynamicsWorld_addRigidBody_3:Ct,_emscripten_bind_btDiscreteDynamicsWorld_btDiscreteDynamicsWorld_4:_p,_emscripten_bind_btDiscreteDynamicsWorld_contactPairTest_3:gj,_emscripten_bind_btDiscreteDynamicsWorld_contactTest_2:zm,_emscripten_bind_btDiscreteDynamicsWorld_convexSweepTest_5:fr,_emscripten_bind_btDiscreteDynamicsWorld_debugDrawObject_3:Nt,_emscripten_bind_btDiscreteDynamicsWorld_debugDrawWorld_0:Ry,_emscripten_bind_btDiscreteDynamicsWorld_getBroadphase_0:lD,_emscripten_bind_btDiscreteDynamicsWorld_getDebugDrawer_0:Cy,_emscripten_bind_btDiscreteDynamicsWorld_getDispatchInfo_0:SB,_emscripten_bind_btDiscreteDynamicsWorld_getDispatcher_0:kD,_emscripten_bind_btDiscreteDynamicsWorld_getGravity_0:Zn,_emscripten_bind_btDiscreteDynamicsWorld_getPairCache_0:kz,_emscripten_bind_btDiscreteDynamicsWorld_getSolverInfo_0:wB,_emscripten_bind_btDiscreteDynamicsWorld_rayTest_3:ku,_emscripten_bind_btDiscreteDynamicsWorld_removeAction_1:zw,_emscripten_bind_btDiscreteDynamicsWorld_removeCollisionObject_1:Wv,_emscripten_bind_btDiscreteDynamicsWorld_removeConstraint_1:Nv,_emscripten_bind_btDiscreteDynamicsWorld_removeRigidBody_1:Pv,_emscripten_bind_btDiscreteDynamicsWorld_setDebugDrawer_1:qw,_emscripten_bind_btDiscreteDynamicsWorld_setGravity_1:ew,_emscripten_bind_btDiscreteDynamicsWorld_stepSimulation_1:Du,_emscripten_bind_btDiscreteDynamicsWorld_stepSimulation_2:Ht,_emscripten_bind_btDiscreteDynamicsWorld_stepSimulation_3:Kt,_emscripten_bind_btDiscreteDynamicsWorld_updateSingleAabb_1:yw,_emscripten_bind_btDispatcherInfo___destroy___0:qD,_emscripten_bind_btDispatcherInfo_get_m_allowedCcdPenetration_0:tG,_emscripten_bind_btDispatcherInfo_get_m_convexConservativeDistanceThreshold_0:eG,_emscripten_bind_btDispatcherInfo_get_m_dispatchFunc_0:bE,_emscripten_bind_btDispatcherInfo_get_m_enableSPU_0:YC,_emscripten_bind_btDispatcherInfo_get_m_enableSatConvex_0:YB,_emscripten_bind_btDispatcherInfo_get_m_stepCount_0:rF,_emscripten_bind_btDispatcherInfo_get_m_timeOfImpact_0:sG,_emscripten_bind_btDispatcherInfo_get_m_timeStep_0:hF,_emscripten_bind_btDispatcherInfo_get_m_useContinuous_0:mC,_emscripten_bind_btDispatcherInfo_get_m_useConvexConservativeDistanceUtil_0:Rz,_emscripten_bind_btDispatcherInfo_get_m_useEpa_0:vD,_emscripten_bind_btDispatcherInfo_set_m_allowedCcdPenetration_1:pE,_emscripten_bind_btDispatcherInfo_set_m_convexConservativeDistanceThreshold_1:eE,_emscripten_bind_btDispatcherInfo_set_m_dispatchFunc_1:bB,_emscripten_bind_btDispatcherInfo_set_m_enableSPU_1:XA,_emscripten_bind_btDispatcherInfo_set_m_enableSatConvex_1:rA,_emscripten_bind_btDispatcherInfo_set_m_stepCount_1:oB,_emscripten_bind_btDispatcherInfo_set_m_timeOfImpact_1:pF,_emscripten_bind_btDispatcherInfo_set_m_timeStep_1:jG,_emscripten_bind_btDispatcherInfo_set_m_useContinuous_1:DA,_emscripten_bind_btDispatcherInfo_set_m_useConvexConservativeDistanceUtil_1:py,_emscripten_bind_btDispatcherInfo_set_m_useEpa_1:fB,_emscripten_bind_btDispatcher___destroy___0:jw,_emscripten_bind_btDispatcher_getManifoldByIndexInternal_1:Mv,_emscripten_bind_btDispatcher_getNumManifolds_0:Mz,_emscripten_bind_btDynamicsWorld___destroy___0:jw,_emscripten_bind_btDynamicsWorld_addAction_1:Xw,_emscripten_bind_btDynamicsWorld_addCollisionObject_1:Av,_emscripten_bind_btDynamicsWorld_addCollisionObject_2:Bu,_emscripten_bind_btDynamicsWorld_addCollisionObject_3:Gt,_emscripten_bind_btDynamicsWorld_contactPairTest_3:gj,_emscripten_bind_btDynamicsWorld_contactTest_2:zm,_emscripten_bind_btDynamicsWorld_convexSweepTest_5:fr,_emscripten_bind_btDynamicsWorld_debugDrawObject_3:Nt,_emscripten_bind_btDynamicsWorld_debugDrawWorld_0:Ry,_emscripten_bind_btDynamicsWorld_getBroadphase_0:lD,_emscripten_bind_btDynamicsWorld_getDebugDrawer_0:Cy,_emscripten_bind_btDynamicsWorld_getDispatchInfo_0:SB,_emscripten_bind_btDynamicsWorld_getDispatcher_0:kD,_emscripten_bind_btDynamicsWorld_getPairCache_0:kz,_emscripten_bind_btDynamicsWorld_getSolverInfo_0:wB,_emscripten_bind_btDynamicsWorld_rayTest_3:ku,_emscripten_bind_btDynamicsWorld_removeAction_1:zw,_emscripten_bind_btDynamicsWorld_removeCollisionObject_1:Wv,_emscripten_bind_btDynamicsWorld_setDebugDrawer_1:qw,_emscripten_bind_btDynamicsWorld_updateSingleAabb_1:yw,_emscripten_bind_btFaceArray___destroy___0:ax,_emscripten_bind_btFaceArray_at_1:by,_emscripten_bind_btFaceArray_size_0:cF,_emscripten_bind_btFace___destroy___0:cA,_emscripten_bind_btFace_get_m_indices_0:JI,_emscripten_bind_btFace_get_m_plane_1:RB,_emscripten_bind_btFace_set_m_indices_1:yA,_emscripten_bind_btFace_set_m_plane_2:Iz,_emscripten_bind_btFixedConstraint___destroy___0:jw,_emscripten_bind_btFixedConstraint_btFixedConstraint_4:Ah,_emscripten_bind_btFixedConstraint_enableFeedback_1:Fy,_emscripten_bind_btFixedConstraint_getBreakingImpulseThreshold_0:Gx,_emscripten_bind_btFixedConstraint_getParam_2:cv,_emscripten_bind_btFixedConstraint_setBreakingImpulseThreshold_1:ty,_emscripten_bind_btFixedConstraint_setParam_3:qu,_emscripten_bind_btGeneric6DofConstraint___destroy___0:jw,_emscripten_bind_btGeneric6DofConstraint_btGeneric6DofConstraint_3:Cr,_emscripten_bind_btGeneric6DofConstraint_btGeneric6DofConstraint_5:lq,_emscripten_bind_btGeneric6DofConstraint_enableFeedback_1:Fy,_emscripten_bind_btGeneric6DofConstraint_getBreakingImpulseThreshold_0:Gx,_emscripten_bind_btGeneric6DofConstraint_getFrameOffsetA_0:$D,_emscripten_bind_btGeneric6DofConstraint_getParam_2:cv,_emscripten_bind_btGeneric6DofConstraint_setAngularLowerLimit_1:zv,_emscripten_bind_btGeneric6DofConstraint_setAngularUpperLimit_1:yv,_emscripten_bind_btGeneric6DofConstraint_setBreakingImpulseThreshold_1:ty,_emscripten_bind_btGeneric6DofConstraint_setLinearLowerLimit_1:Iv,_emscripten_bind_btGeneric6DofConstraint_setLinearUpperLimit_1:Hv,_emscripten_bind_btGeneric6DofConstraint_setParam_3:qu,_emscripten_bind_btGeneric6DofSpringConstraint___destroy___0:jw,_emscripten_bind_btGeneric6DofSpringConstraint_btGeneric6DofSpringConstraint_3:al,_emscripten_bind_btGeneric6DofSpringConstraint_btGeneric6DofSpringConstraint_5:Jk,_emscripten_bind_btGeneric6DofSpringConstraint_enableFeedback_1:Fy,_emscripten_bind_btGeneric6DofSpringConstraint_enableSpring_2:Zq,_emscripten_bind_btGeneric6DofSpringConstraint_getBreakingImpulseThreshold_0:Gx,_emscripten_bind_btGeneric6DofSpringConstraint_getFrameOffsetA_0:$D,_emscripten_bind_btGeneric6DofSpringConstraint_getParam_2:cv,_emscripten_bind_btGeneric6DofSpringConstraint_setAngularLowerLimit_1:zv,_emscripten_bind_btGeneric6DofSpringConstraint_setAngularUpperLimit_1:yv,_emscripten_bind_btGeneric6DofSpringConstraint_setBreakingImpulseThreshold_1:ty,_emscripten_bind_btGeneric6DofSpringConstraint_setDamping_2:jx,_emscripten_bind_btGeneric6DofSpringConstraint_setLinearLowerLimit_1:Iv,_emscripten_bind_btGeneric6DofSpringConstraint_setLinearUpperLimit_1:Hv,_emscripten_bind_btGeneric6DofSpringConstraint_setParam_3:qu,_emscripten_bind_btGeneric6DofSpringConstraint_setStiffness_2:$w,_emscripten_bind_btGhostObject___destroy___0:hw,_emscripten_bind_btGhostObject_activate_0:rt,_emscripten_bind_btGhostObject_activate_1:ks,_emscripten_bind_btGhostObject_btGhostObject_0:hi,_emscripten_bind_btGhostObject_forceActivationState_1:eB,_emscripten_bind_btGhostObject_getCollisionFlags_0:jD,_emscripten_bind_btGhostObject_getCollisionShape_0:iD,_emscripten_bind_btGhostObject_getNumOverlappingObjects_0:uz,_emscripten_bind_btGhostObject_getOverlappingObject_1:Wx,_emscripten_bind_btGhostObject_getUserIndex_0:$B,_emscripten_bind_btGhostObject_getUserPointer_0:BD,_emscripten_bind_btGhostObject_getWorldTransform_0:FE,_emscripten_bind_btGhostObject_isActive_0:xA,_emscripten_bind_btGhostObject_isKinematicObject_0:hy,_emscripten_bind_btGhostObject_isStaticObject_0:$y,_emscripten_bind_btGhostObject_isStaticOrKinematicObject_0:Ew,_emscripten_bind_btGhostObject_setActivationState_1:Gv,_emscripten_bind_btGhostObject_setAnisotropicFriction_2:Xu,_emscripten_bind_btGhostObject_setCcdMotionThreshold_1:dy,_emscripten_bind_btGhostObject_setCcdSweptSphereRadius_1:Mx,_emscripten_bind_btGhostObject_setCollisionFlags_1:Oy,_emscripten_bind_btGhostObject_setCollisionShape_1:ww,_emscripten_bind_btGhostObject_setContactProcessingThreshold_1:ky,_emscripten_bind_btGhostObject_setFriction_1:wA,_emscripten_bind_btGhostObject_setRestitution_1:Gz,_emscripten_bind_btGhostObject_setRollingFriction_1:Wy,_emscripten_bind_btGhostObject_setUserIndex_1:Pz,_emscripten_bind_btGhostObject_setUserPointer_1:Pz,_emscripten_bind_btGhostObject_setWorldTransform_1:ox,_emscripten_bind_btGhostPairCallback___destroy___0:jw,_emscripten_bind_btGhostPairCallback_btGhostPairCallback_0:Zy,_emscripten_bind_btHeightfieldTerrainShape___destroy___0:jw,_emscripten_bind_btHeightfieldTerrainShape_btHeightfieldTerrainShape_9:bg,_emscripten_bind_btHeightfieldTerrainShape_calculateLocalInertia_2:_u,_emscripten_bind_btHeightfieldTerrainShape_getLocalScaling_0:ez,_emscripten_bind_btHeightfieldTerrainShape_getMargin_0:Jz,_emscripten_bind_btHeightfieldTerrainShape_setLocalScaling_1:Pw,_emscripten_bind_btHeightfieldTerrainShape_setMargin_1:Ox,_emscripten_bind_btHingeConstraint___destroy___0:jw,_emscripten_bind_btHingeConstraint_btHingeConstraint_2:vf,_emscripten_bind_btHingeConstraint_btHingeConstraint_3:tf,_emscripten_bind_btHingeConstraint_btHingeConstraint_4:Xf,_emscripten_bind_btHingeConstraint_btHingeConstraint_5:Uf,_emscripten_bind_btHingeConstraint_btHingeConstraint_6:hq,_emscripten_bind_btHingeConstraint_btHingeConstraint_7:Hp,_emscripten_bind_btHingeConstraint_enableAngularMotor_3:Ou,_emscripten_bind_btHingeConstraint_enableFeedback_1:Fy,_emscripten_bind_btHingeConstraint_enableMotor_1:rz,_emscripten_bind_btHingeConstraint_getBreakingImpulseThreshold_0:Gx,_emscripten_bind_btHingeConstraint_getParam_2:cv,_emscripten_bind_btHingeConstraint_setAngularOnly_1:Ky,_emscripten_bind_btHingeConstraint_setBreakingImpulseThreshold_1:ty,_emscripten_bind_btHingeConstraint_setLimit_4:Lu,_emscripten_bind_btHingeConstraint_setLimit_5:au,_emscripten_bind_btHingeConstraint_setMaxMotorImpulse_1:ay,_emscripten_bind_btHingeConstraint_setMotorTarget_2:ei,_emscripten_bind_btHingeConstraint_setParam_3:qu,_emscripten_bind_btIDebugDraw___destroy___0:jw,_emscripten_bind_btIDebugDraw_draw3dText_2:sv,_emscripten_bind_btIDebugDraw_drawContactPoint_5:es,_emscripten_bind_btIDebugDraw_drawLine_3:su,_emscripten_bind_btIDebugDraw_getDebugMode_0:lz,_emscripten_bind_btIDebugDraw_reportErrorWarning_1:rw,_emscripten_bind_btIDebugDraw_setDebugMode_1:bx,_emscripten_bind_btIntArray___destroy___0:Fx,_emscripten_bind_btIntArray_at_1:Ww,_emscripten_bind_btIntArray_size_0:cF,_emscripten_bind_btKinematicCharacterController___destroy___0:jw,_emscripten_bind_btKinematicCharacterController_btKinematicCharacterController_3:Ej,_emscripten_bind_btKinematicCharacterController_btKinematicCharacterController_4:xj,_emscripten_bind_btKinematicCharacterController_canJump_0:Hx,_emscripten_bind_btKinematicCharacterController_getGhostObject_0:bE,_emscripten_bind_btKinematicCharacterController_getGravity_0:cG,_emscripten_bind_btKinematicCharacterController_getMaxSlope_0:eG,_emscripten_bind_btKinematicCharacterController_jump_0:fy,_emscripten_bind_btKinematicCharacterController_onGround_0:lz,_emscripten_bind_btKinematicCharacterController_playerStep_2:Gu,_emscripten_bind_btKinematicCharacterController_preStep_1:Tv,_emscripten_bind_btKinematicCharacterController_setFallSpeed_1:lE,_emscripten_bind_btKinematicCharacterController_setGravity_1:ME,_emscripten_bind_btKinematicCharacterController_setJumpSpeed_1:pE,_emscripten_bind_btKinematicCharacterController_setMaxJumpHeight_1:nE,_emscripten_bind_btKinematicCharacterController_setMaxSlope_1:iw,_emscripten_bind_btKinematicCharacterController_setUpAxis_1:dx,_emscripten_bind_btKinematicCharacterController_setUpInterpolate_1:mv,_emscripten_bind_btKinematicCharacterController_setUseGhostSweepTest_1:pv,_emscripten_bind_btKinematicCharacterController_setVelocityForTimeInterval_2:Ut,_emscripten_bind_btKinematicCharacterController_setWalkDirection_1:qw,_emscripten_bind_btKinematicCharacterController_updateAction_2:ov,_emscripten_bind_btKinematicCharacterController_warp_1:aw,_emscripten_bind_btManifoldPoint___destroy___0:qD,_emscripten_bind_btManifoldPoint_getAppliedImpulse_0:Yy,_emscripten_bind_btManifoldPoint_getDistance_0:Bz,_emscripten_bind_btManifoldPoint_getPositionWorldOnA_0:$D,_emscripten_bind_btManifoldPoint_getPositionWorldOnB_0:bA,_emscripten_bind_btManifoldPoint_get_m_localPointA_0:JI,_emscripten_bind_btManifoldPoint_get_m_localPointB_0:QF,_emscripten_bind_btManifoldPoint_get_m_normalWorldOnB_0:lF,_emscripten_bind_btManifoldPoint_get_m_positionWorldOnA_0:IH,_emscripten_bind_btManifoldPoint_get_m_positionWorldOnB_0:IG,_emscripten_bind_btManifoldPoint_set_m_localPointA_1:Pr,_emscripten_bind_btManifoldPoint_set_m_localPointB_1:vr,_emscripten_bind_btManifoldPoint_set_m_normalWorldOnB_1:nr,_emscripten_bind_btManifoldPoint_set_m_positionWorldOnA_1:Fr,_emscripten_bind_btManifoldPoint_set_m_positionWorldOnB_1:jr,_emscripten_bind_btMatrix3x3___destroy___0:qD,_emscripten_bind_btMatrix3x3_getRotation_1:bz,_emscripten_bind_btMatrix3x3_getRow_1:Pp,_emscripten_bind_btMatrix3x3_setEulerZYX_3:Hw,_emscripten_bind_btMotionState___destroy___0:jw,_emscripten_bind_btMotionState_getWorldTransform_1:pw,_emscripten_bind_btMotionState_setWorldTransform_1:ww,_emscripten_bind_btOverlappingPairCache___destroy___0:jw,_emscripten_bind_btOverlappingPairCache_setInternalGhostPairCallback_1:Nv,_emscripten_bind_btOverlappingPairCallback___destroy___0:jw,_emscripten_bind_btPairCachingGhostObject___destroy___0:hw,_emscripten_bind_btPairCachingGhostObject_activate_0:rt,_emscripten_bind_btPairCachingGhostObject_activate_1:ks,_emscripten_bind_btPairCachingGhostObject_btPairCachingGhostObject_0:kh,_emscripten_bind_btPairCachingGhostObject_forceActivationState_1:eB,_emscripten_bind_btPairCachingGhostObject_getCollisionFlags_0:jD,_emscripten_bind_btPairCachingGhostObject_getCollisionShape_0:iD,_emscripten_bind_btPairCachingGhostObject_getNumOverlappingObjects_0:uz,_emscripten_bind_btPairCachingGhostObject_getOverlappingObject_1:Wx,_emscripten_bind_btPairCachingGhostObject_getUserIndex_0:$B,_emscripten_bind_btPairCachingGhostObject_getUserPointer_0:BD,_emscripten_bind_btPairCachingGhostObject_getWorldTransform_0:FE,_emscripten_bind_btPairCachingGhostObject_isActive_0:xA,_emscripten_bind_btPairCachingGhostObject_isKinematicObject_0:hy,_emscripten_bind_btPairCachingGhostObject_isStaticObject_0:$y,_emscripten_bind_btPairCachingGhostObject_isStaticOrKinematicObject_0:Ew,_emscripten_bind_btPairCachingGhostObject_setActivationState_1:Gv,_emscripten_bind_btPairCachingGhostObject_setAnisotropicFriction_2:Xu,_emscripten_bind_btPairCachingGhostObject_setCcdMotionThreshold_1:dy,_emscripten_bind_btPairCachingGhostObject_setCcdSweptSphereRadius_1:Mx,_emscripten_bind_btPairCachingGhostObject_setCollisionFlags_1:Oy,_emscripten_bind_btPairCachingGhostObject_setCollisionShape_1:ww,_emscripten_bind_btPairCachingGhostObject_setContactProcessingThreshold_1:ky,_emscripten_bind_btPairCachingGhostObject_setFriction_1:wA,_emscripten_bind_btPairCachingGhostObject_setRestitution_1:Gz,_emscripten_bind_btPairCachingGhostObject_setRollingFriction_1:Wy,_emscripten_bind_btPairCachingGhostObject_setUserIndex_1:Pz,_emscripten_bind_btPairCachingGhostObject_setUserPointer_1:Pz,_emscripten_bind_btPairCachingGhostObject_setWorldTransform_1:ox,_emscripten_bind_btPersistentManifold___destroy___0:SA,_emscripten_bind_btPersistentManifold_btPersistentManifold_0:mi,_emscripten_bind_btPersistentManifold_getBody0_0:XC,_emscripten_bind_btPersistentManifold_getBody1_0:WC,_emscripten_bind_btPersistentManifold_getContactPoint_1:Ax,_emscripten_bind_btPersistentManifold_getNumContacts_0:XB,_emscripten_bind_btPoint2PointConstraint___destroy___0:jw,_emscripten_bind_btPoint2PointConstraint_btPoint2PointConstraint_2:nj,_emscripten_bind_btPoint2PointConstraint_btPoint2PointConstraint_4:Gj,_emscripten_bind_btPoint2PointConstraint_enableFeedback_1:Fy,_emscripten_bind_btPoint2PointConstraint_getBreakingImpulseThreshold_0:Gx,_emscripten_bind_btPoint2PointConstraint_getParam_2:cv,_emscripten_bind_btPoint2PointConstraint_getPivotInA_0:aA,_emscripten_bind_btPoint2PointConstraint_getPivotInB_0:$z,_emscripten_bind_btPoint2PointConstraint_get_m_setting_0:gF,_emscripten_bind_btPoint2PointConstraint_setBreakingImpulseThreshold_1:ty,_emscripten_bind_btPoint2PointConstraint_setParam_3:qu,_emscripten_bind_btPoint2PointConstraint_setPivotA_1:wx,_emscripten_bind_btPoint2PointConstraint_setPivotB_1:vx,_emscripten_bind_btPoint2PointConstraint_set_m_setting_1:Es,_emscripten_bind_btQuadWord___destroy___0:qD,_emscripten_bind_btQuadWord_setW_1:uD,_emscripten_bind_btQuadWord_setX_1:ND,_emscripten_bind_btQuadWord_setY_1:MD,_emscripten_bind_btQuadWord_setZ_1:LD,_emscripten_bind_btQuadWord_w_0:_D,_emscripten_bind_btQuadWord_x_0:zF,_emscripten_bind_btQuadWord_y_0:ZD,_emscripten_bind_btQuadWord_z_0:YD,_emscripten_bind_btQuaternion___destroy___0:qD,_emscripten_bind_btQuaternion_angleShortestPath_1:uy,_emscripten_bind_btQuaternion_angle_1:dB,_emscripten_bind_btQuaternion_btQuaternion_4:ro,_emscripten_bind_btQuaternion_dot_1:KB,_emscripten_bind_btQuaternion_getAngleShortestPath_0:CA,_emscripten_bind_btQuaternion_getAngle_0:aB,_emscripten_bind_btQuaternion_getAxis_0:Ho,_emscripten_bind_btQuaternion_inverse_0:Go,_emscripten_bind_btQuaternion_length2_0:kE,_emscripten_bind_btQuaternion_length_0:GE,_emscripten_bind_btQuaternion_normalize_0:aE,_emscripten_bind_btQuaternion_normalized_0:xo,_emscripten_bind_btQuaternion_op_add_1:JB,_emscripten_bind_btQuaternion_op_div_1:lC,_emscripten_bind_btQuaternion_op_mul_1:gt,_emscripten_bind_btQuaternion_op_mulq_1:vB,_emscripten_bind_btQuaternion_op_sub_1:IB,_emscripten_bind_btQuaternion_setEulerZYX_3:$v,_emscripten_bind_btQuaternion_setRotation_2:Vw,_emscripten_bind_btQuaternion_setValue_4:Xo,_emscripten_bind_btQuaternion_setW_1:uD,_emscripten_bind_btQuaternion_setX_1:ND,_emscripten_bind_btQuaternion_setY_1:MD,_emscripten_bind_btQuaternion_setZ_1:LD,_emscripten_bind_btQuaternion_w_0:_D,_emscripten_bind_btQuaternion_x_0:zF,_emscripten_bind_btQuaternion_y_0:ZD,_emscripten_bind_btQuaternion_z_0:YD,_emscripten_bind_btRaycastVehicle___destroy___0:jw,_emscripten_bind_btRaycastVehicle_addWheel_7:gd,_emscripten_bind_btRaycastVehicle_applyEngineForce_2:vv,_emscripten_bind_btRaycastVehicle_btRaycastVehicle_3:wk,_emscripten_bind_btRaycastVehicle_getChassisWorldTransform_0:nB,_emscripten_bind_btRaycastVehicle_getCurrentSpeedKmHour_0:oy,_emscripten_bind_btRaycastVehicle_getForwardAxis_0:yC,_emscripten_bind_btRaycastVehicle_getForwardVector_0:Kn,_emscripten_bind_btRaycastVehicle_getNumWheels_0:mB,_emscripten_bind_btRaycastVehicle_getRightAxis_0:VC,_emscripten_bind_btRaycastVehicle_getRigidBody_0:UC,_emscripten_bind_btRaycastVehicle_getSteeringValue_1:Nw,_emscripten_bind_btRaycastVehicle_getUpAxis_0:tD,_emscripten_bind_btRaycastVehicle_getUserConstraintId_0:WB,_emscripten_bind_btRaycastVehicle_getUserConstraintType_0:HB,_emscripten_bind_btRaycastVehicle_getWheelInfo_1:qz,_emscripten_bind_btRaycastVehicle_getWheelTransformWS_1:Vx,_emscripten_bind_btRaycastVehicle_rayCast_1:Xy,_emscripten_bind_btRaycastVehicle_resetSuspension_0:gl,_emscripten_bind_btRaycastVehicle_setBrake_2:Zv,_emscripten_bind_btRaycastVehicle_setCoordinateSystem_3:Bt,_emscripten_bind_btRaycastVehicle_setPitchControl_1:az,_emscripten_bind_btRaycastVehicle_setSteeringValue_2:uv,_emscripten_bind_btRaycastVehicle_setUserConstraintId_1:ey,_emscripten_bind_btRaycastVehicle_setUserConstraintType_1:Ux,_emscripten_bind_btRaycastVehicle_updateAction_2:ov,_emscripten_bind_btRaycastVehicle_updateFriction_1:Gw,_emscripten_bind_btRaycastVehicle_updateSuspension_1:Rk,_emscripten_bind_btRaycastVehicle_updateVehicle_1:Mw,_emscripten_bind_btRaycastVehicle_updateWheelTransform_2:ft,_emscripten_bind_btRaycastVehicle_updateWheelTransformsWS_1:uu,_emscripten_bind_btRaycastVehicle_updateWheelTransformsWS_2:wt,_emscripten_bind_btRigidBodyConstructionInfo___destroy___0:qD,_emscripten_bind_btRigidBodyConstructionInfo_btRigidBodyConstructionInfo_3:bn,_emscripten_bind_btRigidBodyConstructionInfo_btRigidBodyConstructionInfo_4:Bq,_emscripten_bind_btRigidBodyConstructionInfo_get_m_additionalAngularDampingFactor_0:Qz,_emscripten_bind_btRigidBodyConstructionInfo_get_m_additionalAngularDampingThresholdSqr_0:jz,_emscripten_bind_btRigidBodyConstructionInfo_get_m_additionalDampingFactor_0:KA,_emscripten_bind_btRigidBodyConstructionInfo_get_m_additionalDamping_0:qA,_emscripten_bind_btRigidBodyConstructionInfo_get_m_additionalLinearDampingThresholdSqr_0:pz,_emscripten_bind_btRigidBodyConstructionInfo_get_m_angularDamping_0:QB,_emscripten_bind_btRigidBodyConstructionInfo_get_m_angularSleepingThreshold_0:BA,_emscripten_bind_btRigidBodyConstructionInfo_get_m_friction_0:xC,_emscripten_bind_btRigidBodyConstructionInfo_get_m_linearDamping_0:bG,_emscripten_bind_btRigidBodyConstructionInfo_get_m_linearSleepingThreshold_0:JA,_emscripten_bind_btRigidBodyConstructionInfo_get_m_restitution_0:aC,_emscripten_bind_btRigidBodyConstructionInfo_get_m_rollingFriction_0:uB,_emscripten_bind_btRigidBodyConstructionInfo_set_m_additionalAngularDampingFactor_1:Qx,_emscripten_bind_btRigidBodyConstructionInfo_set_m_additionalAngularDampingThresholdSqr_1:px,_emscripten_bind_btRigidBodyConstructionInfo_set_m_additionalDampingFactor_1:Jy,_emscripten_bind_btRigidBodyConstructionInfo_set_m_additionalDamping_1:Qy,_emscripten_bind_btRigidBodyConstructionInfo_set_m_additionalLinearDampingThresholdSqr_1:ux,_emscripten_bind_btRigidBodyConstructionInfo_set_m_angularDamping_1:Hz,_emscripten_bind_btRigidBodyConstructionInfo_set_m_angularSleepingThreshold_1:By,_emscripten_bind_btRigidBodyConstructionInfo_set_m_friction_1:pA,_emscripten_bind_btRigidBodyConstructionInfo_set_m_linearDamping_1:cE,_emscripten_bind_btRigidBodyConstructionInfo_set_m_linearSleepingThreshold_1:Iy,_emscripten_bind_btRigidBodyConstructionInfo_set_m_restitution_1:Xz,_emscripten_bind_btRigidBodyConstructionInfo_set_m_rollingFriction_1:cD,_emscripten_bind_btRigidBody___destroy___0:hw,_emscripten_bind_btRigidBody_activate_0:rt,_emscripten_bind_btRigidBody_activate_1:ks,_emscripten_bind_btRigidBody_applyCentralForce_1:Yt,_emscripten_bind_btRigidBody_applyCentralImpulse_1:Jt,_emscripten_bind_btRigidBody_applyCentralLocalForce_1:st,_emscripten_bind_btRigidBody_applyForce_2:_w,_emscripten_bind_btRigidBody_applyGravity_0:On,_emscripten_bind_btRigidBody_applyImpulse_2:xw,_emscripten_bind_btRigidBody_applyLocalTorque_1:$t,_emscripten_bind_btRigidBody_applyTorqueImpulse_1:St,_emscripten_bind_btRigidBody_applyTorque_1:Au,_emscripten_bind_btRigidBody_btRigidBody_1:Wh,_emscripten_bind_btRigidBody_forceActivationState_1:eB,_emscripten_bind_btRigidBody_getAabb_2:Js,_emscripten_bind_btRigidBody_getAngularVelocity_0:cB,_emscripten_bind_btRigidBody_getBroadphaseProxy_0:GC,_emscripten_bind_btRigidBody_getCenterOfMassTransform_0:FE,_emscripten_bind_btRigidBody_getCollisionFlags_0:jD,_emscripten_bind_btRigidBody_getCollisionShape_0:iD,_emscripten_bind_btRigidBody_getGravity_0:CD,_emscripten_bind_btRigidBody_getLinearVelocity_0:lB,_emscripten_bind_btRigidBody_getMotionState_0:sD,_emscripten_bind_btRigidBody_getUserIndex_0:$B,_emscripten_bind_btRigidBody_getUserPointer_0:BD,_emscripten_bind_btRigidBody_getWorldTransform_0:FE,_emscripten_bind_btRigidBody_isActive_0:xA,_emscripten_bind_btRigidBody_isKinematicObject_0:hy,_emscripten_bind_btRigidBody_isStaticObject_0:$y,_emscripten_bind_btRigidBody_isStaticOrKinematicObject_0:Ew,_emscripten_bind_btRigidBody_setActivationState_1:Gv,_emscripten_bind_btRigidBody_setAngularFactor_1:ny,_emscripten_bind_btRigidBody_setAngularVelocity_1:Px,_emscripten_bind_btRigidBody_setAnisotropicFriction_2:Xu,_emscripten_bind_btRigidBody_setCcdMotionThreshold_1:dy,_emscripten_bind_btRigidBody_setCcdSweptSphereRadius_1:Mx,_emscripten_bind_btRigidBody_setCenterOfMassTransform_1:ow,_emscripten_bind_btRigidBody_setCollisionFlags_1:Oy,_emscripten_bind_btRigidBody_setCollisionShape_1:ww,_emscripten_bind_btRigidBody_setContactProcessingThreshold_1:ky,_emscripten_bind_btRigidBody_setDamping_2:gn,_emscripten_bind_btRigidBody_setFriction_1:wA,_emscripten_bind_btRigidBody_setGravity_1:rm,_emscripten_bind_btRigidBody_setLinearFactor_1:Ay,_emscripten_bind_btRigidBody_setLinearVelocity_1:$x,_emscripten_bind_btRigidBody_setMassProps_2:ij,_emscripten_bind_btRigidBody_setMotionState_1:my,_emscripten_bind_btRigidBody_setRestitution_1:Gz,_emscripten_bind_btRigidBody_setRollingFriction_1:Wy,_emscripten_bind_btRigidBody_setSleepingThresholds_2:Fw,_emscripten_bind_btRigidBody_setUserIndex_1:Pz,_emscripten_bind_btRigidBody_setUserPointer_1:Pz,_emscripten_bind_btRigidBody_setWorldTransform_1:ox,_emscripten_bind_btRigidBody_upcast_1:Wz,_emscripten_bind_btRigidBody_updateInertiaTensor_0:bj,_emscripten_bind_btSequentialImpulseConstraintSolver___destroy___0:jw,_emscripten_bind_btSequentialImpulseConstraintSolver_btSequentialImpulseConstraintSolver_0:rj,_emscripten_bind_btShapeHull___destroy___0:Ug,_emscripten_bind_btShapeHull_btShapeHull_1:Vo,_emscripten_bind_btShapeHull_buildHull_1:Ec,_emscripten_bind_btShapeHull_getVertexPointer_0:GB,_emscripten_bind_btShapeHull_numVertices_0:rF,_emscripten_bind_btSliderConstraint___destroy___0:jw,_emscripten_bind_btSliderConstraint_btSliderConstraint_3:Ad,_emscripten_bind_btSliderConstraint_btSliderConstraint_5:Ke,_emscripten_bind_btSliderConstraint_enableFeedback_1:Fy,_emscripten_bind_btSliderConstraint_getBreakingImpulseThreshold_0:Gx,_emscripten_bind_btSliderConstraint_getParam_2:cv,_emscripten_bind_btSliderConstraint_setBreakingImpulseThreshold_1:ty,_emscripten_bind_btSliderConstraint_setLowerAngLimit_1:ly,_emscripten_bind_btSliderConstraint_setLowerLinLimit_1:ky,_emscripten_bind_btSliderConstraint_setParam_3:qu,_emscripten_bind_btSliderConstraint_setUpperAngLimit_1:jy,_emscripten_bind_btSliderConstraint_setUpperLinLimit_1:iy,_emscripten_bind_btSoftBodyArray___destroy___0:Fx,_emscripten_bind_btSoftBodyArray_at_1:Ww,_emscripten_bind_btSoftBodyArray_size_0:cF,_emscripten_bind_btSoftBodyHelpers_CreateEllipsoid_4:tg,_emscripten_bind_btSoftBodyHelpers_CreateFromConvexHull_4:as,_emscripten_bind_btSoftBodyHelpers_CreateFromTriMesh_5:Wc,_emscripten_bind_btSoftBodyHelpers_CreatePatchUV_10:sc,_emscripten_bind_btSoftBodyHelpers_CreatePatch_9:zc,_emscripten_bind_btSoftBodyHelpers_CreateRope_5:Yf,_emscripten_bind_btSoftBodyHelpers___destroy___0:qD,_emscripten_bind_btSoftBodyHelpers_btSoftBodyHelpers_0:dH,_emscripten_bind_btSoftBodyRigidBodyCollisionConfiguration___destroy___0:jw,_emscripten_bind_btSoftBodyRigidBodyCollisionConfiguration_btSoftBodyRigidBodyCollisionConfiguration_0:gp,_emscripten_bind_btSoftBodyRigidBodyCollisionConfiguration_btSoftBodyRigidBodyCollisionConfiguration_1:Kr,_emscripten_bind_btSoftBodySolver___destroy___0:jw,_emscripten_bind_btSoftBodyWorldInfo___destroy___0:ix,_emscripten_bind_btSoftBodyWorldInfo_btSoftBodyWorldInfo_0:Hy,_emscripten_bind_btSoftBodyWorldInfo_get_air_density_0:hF,_emscripten_bind_btSoftBodyWorldInfo_get_m_broadphase_0:PD,_emscripten_bind_btSoftBodyWorldInfo_get_m_dispatcher_0:OD,_emscripten_bind_btSoftBodyWorldInfo_get_m_gravity_0:yH,_emscripten_bind_btSoftBodyWorldInfo_get_m_maxDisplacement_0:sG,_emscripten_bind_btSoftBodyWorldInfo_get_water_density_0:oG,_emscripten_bind_btSoftBodyWorldInfo_get_water_normal_0:QF,_emscripten_bind_btSoftBodyWorldInfo_get_water_offset_0:BG,_emscripten_bind_btSoftBodyWorldInfo_set_air_density_1:jG,_emscripten_bind_btSoftBodyWorldInfo_set_m_broadphase_1:UA,_emscripten_bind_btSoftBodyWorldInfo_set_m_dispatcher_1:TA,_emscripten_bind_btSoftBodyWorldInfo_set_m_gravity_1:Rr,_emscripten_bind_btSoftBodyWorldInfo_set_m_maxDisplacement_1:pF,_emscripten_bind_btSoftBodyWorldInfo_set_water_density_1:PF,_emscripten_bind_btSoftBodyWorldInfo_set_water_normal_1:vr,_emscripten_bind_btSoftBodyWorldInfo_set_water_offset_1:OF,_emscripten_bind_btSoftBody___destroy___0:hw,_emscripten_bind_btSoftBody_activate_0:rt,_emscripten_bind_btSoftBody_activate_1:ks,_emscripten_bind_btSoftBody_addAeroForceToNode_2:Yv,_emscripten_bind_btSoftBody_addForce_1:_l,_emscripten_bind_btSoftBody_addForce_2:fn,_emscripten_bind_btSoftBody_appendAnchor_4:lf,_emscripten_bind_btSoftBody_appendFace_4:pu,_emscripten_bind_btSoftBody_appendLink_4:ou,_emscripten_bind_btSoftBody_appendMaterial_0:FC,_emscripten_bind_btSoftBody_appendNode_2:ic,_emscripten_bind_btSoftBody_appendTetra_5:Ye,_emscripten_bind_btSoftBody_btSoftBody_4:Qr,_emscripten_bind_btSoftBody_checkFace_3:ek,_emscripten_bind_btSoftBody_checkLink_2:fl,_emscripten_bind_btSoftBody_forceActivationState_1:eB,_emscripten_bind_btSoftBody_generateBendingConstraints_2:fc,_emscripten_bind_btSoftBody_generateClusters_1:Py,_emscripten_bind_btSoftBody_generateClusters_2:cx,_emscripten_bind_btSoftBody_getCollisionFlags_0:jD,_emscripten_bind_btSoftBody_getCollisionShape_0:iD,_emscripten_bind_btSoftBody_getTotalMass_0:to,_emscripten_bind_btSoftBody_getUserIndex_0:$B,_emscripten_bind_btSoftBody_getUserPointer_0:BD,_emscripten_bind_btSoftBody_getWorldTransform_0:FE,_emscripten_bind_btSoftBody_get_m_anchors_0:LG,_emscripten_bind_btSoftBody_get_m_cfg_0:cH,_emscripten_bind_btSoftBody_get_m_materials_0:zG,_emscripten_bind_btSoftBody_get_m_nodes_0:VG,_emscripten_bind_btSoftBody_isActive_0:xA,_emscripten_bind_btSoftBody_isKinematicObject_0:hy,_emscripten_bind_btSoftBody_isStaticObject_0:$y,_emscripten_bind_btSoftBody_isStaticOrKinematicObject_0:Ew,_emscripten_bind_btSoftBody_rotate_1:vj,_emscripten_bind_btSoftBody_scale_1:fe,_emscripten_bind_btSoftBody_setActivationState_1:Gv,_emscripten_bind_btSoftBody_setAnisotropicFriction_2:Xu,_emscripten_bind_btSoftBody_setCcdMotionThreshold_1:dy,_emscripten_bind_btSoftBody_setCcdSweptSphereRadius_1:Mx,_emscripten_bind_btSoftBody_setCollisionFlags_1:Oy,_emscripten_bind_btSoftBody_setCollisionShape_1:ww,_emscripten_bind_btSoftBody_setContactProcessingThreshold_1:ky,_emscripten_bind_btSoftBody_setFriction_1:wA,_emscripten_bind_btSoftBody_setMass_2:Tt,_emscripten_bind_btSoftBody_setRestitution_1:Gz,_emscripten_bind_btSoftBody_setRollingFriction_1:Wy,_emscripten_bind_btSoftBody_setTotalMass_2:Ag,_emscripten_bind_btSoftBody_setUserIndex_1:Pz,_emscripten_bind_btSoftBody_setUserPointer_1:Pz,_emscripten_bind_btSoftBody_setWorldTransform_1:ox,_emscripten_bind_btSoftBody_set_m_anchors_1:Lw,_emscripten_bind_btSoftBody_set_m_cfg_1:Vz,_emscripten_bind_btSoftBody_set_m_materials_1:mw,_emscripten_bind_btSoftBody_set_m_nodes_1:hx,_emscripten_bind_btSoftBody_transform_1:Oz,_emscripten_bind_btSoftBody_translate_1:ul,_emscripten_bind_btSoftBody_upcast_1:iA,_emscripten_bind_btSoftRigidDynamicsWorld___destroy___0:jw,_emscripten_bind_btSoftRigidDynamicsWorld_addAction_1:Xw,_emscripten_bind_btSoftRigidDynamicsWorld_addCollisionObject_1:Yu,_emscripten_bind_btSoftRigidDynamicsWorld_addCollisionObject_2:eu,_emscripten_bind_btSoftRigidDynamicsWorld_addCollisionObject_3:Gt,_emscripten_bind_btSoftRigidDynamicsWorld_addConstraint_1:Jv,_emscripten_bind_btSoftRigidDynamicsWorld_addConstraint_2:Fu,_emscripten_bind_btSoftRigidDynamicsWorld_addRigidBody_1:_v,_emscripten_bind_btSoftRigidDynamicsWorld_addRigidBody_3:Ct,_emscripten_bind_btSoftRigidDynamicsWorld_addSoftBody_3:Ei,_emscripten_bind_btSoftRigidDynamicsWorld_btSoftRigidDynamicsWorld_5:Ne,_emscripten_bind_btSoftRigidDynamicsWorld_contactPairTest_3:gj,_emscripten_bind_btSoftRigidDynamicsWorld_contactTest_2:zm,_emscripten_bind_btSoftRigidDynamicsWorld_convexSweepTest_5:fr,_emscripten_bind_btSoftRigidDynamicsWorld_debugDrawObject_3:Nt,_emscripten_bind_btSoftRigidDynamicsWorld_debugDrawWorld_0:Ry,_emscripten_bind_btSoftRigidDynamicsWorld_getBroadphase_0:lD,_emscripten_bind_btSoftRigidDynamicsWorld_getDebugDrawer_0:Cy,_emscripten_bind_btSoftRigidDynamicsWorld_getDispatchInfo_0:SB,_emscripten_bind_btSoftRigidDynamicsWorld_getDispatcher_0:kD,_emscripten_bind_btSoftRigidDynamicsWorld_getGravity_0:Yn,_emscripten_bind_btSoftRigidDynamicsWorld_getPairCache_0:kz,_emscripten_bind_btSoftRigidDynamicsWorld_getSoftBodyArray_0:Vy,_emscripten_bind_btSoftRigidDynamicsWorld_getSolverInfo_0:wB,_emscripten_bind_btSoftRigidDynamicsWorld_getWorldInfo_0:Fz,_emscripten_bind_btSoftRigidDynamicsWorld_rayTest_3:ku,_emscripten_bind_btSoftRigidDynamicsWorld_removeAction_1:zw,_emscripten_bind_btSoftRigidDynamicsWorld_removeCollisionObject_1:Wv,_emscripten_bind_btSoftRigidDynamicsWorld_removeConstraint_1:Nv,_emscripten_bind_btSoftRigidDynamicsWorld_removeRigidBody_1:Pv,_emscripten_bind_btSoftRigidDynamicsWorld_removeSoftBody_1:$h,_emscripten_bind_btSoftRigidDynamicsWorld_setDebugDrawer_1:qw,_emscripten_bind_btSoftRigidDynamicsWorld_setGravity_1:ew,_emscripten_bind_btSoftRigidDynamicsWorld_stepSimulation_1:Du,_emscripten_bind_btSoftRigidDynamicsWorld_stepSimulation_2:Ht,_emscripten_bind_btSoftRigidDynamicsWorld_stepSimulation_3:Kt,_emscripten_bind_btSoftRigidDynamicsWorld_updateSingleAabb_1:yw,_emscripten_bind_btSphereShape___destroy___0:jw,_emscripten_bind_btSphereShape_btSphereShape_1:nx,_emscripten_bind_btSphereShape_calculateLocalInertia_2:_u,_emscripten_bind_btSphereShape_getLocalScaling_0:ez,_emscripten_bind_btSphereShape_getMargin_0:Jz,_emscripten_bind_btSphereShape_setLocalScaling_1:Pw,_emscripten_bind_btSphereShape_setMargin_1:Ox,_emscripten_bind_btStaticPlaneShape___destroy___0:jw,_emscripten_bind_btStaticPlaneShape_btStaticPlaneShape_2:rl,_emscripten_bind_btStaticPlaneShape_calculateLocalInertia_2:_u,_emscripten_bind_btStaticPlaneShape_getLocalScaling_0:ez,_emscripten_bind_btStaticPlaneShape_setLocalScaling_1:Pw,_emscripten_bind_btStridingMeshInterface___destroy___0:jw,_emscripten_bind_btTransform___destroy___0:qD,_emscripten_bind_btTransform_btTransform_0:GH,_emscripten_bind_btTransform_btTransform_2:Uu,_emscripten_bind_btTransform_getBasis_0:UG,_emscripten_bind_btTransform_getOrigin_0:$D,_emscripten_bind_btTransform_getRotation_0:wo,_emscripten_bind_btTransform_inverse_0:gr,_emscripten_bind_btTransform_op_mul_1:VB,_emscripten_bind_btTransform_setFromOpenGLMatrix_1:Gy,_emscripten_bind_btTransform_setIdentity_0:JD,_emscripten_bind_btTransform_setOrigin_1:Uz,_emscripten_bind_btTransform_setRotation_1:hA,_emscripten_bind_btTriangleMeshShape___destroy___0:jw,_emscripten_bind_btTriangleMeshShape_calculateLocalInertia_2:_u,_emscripten_bind_btTriangleMeshShape_getLocalScaling_0:ez,_emscripten_bind_btTriangleMeshShape_setLocalScaling_1:Pw,_emscripten_bind_btTriangleMesh___destroy___0:jw,_emscripten_bind_btTriangleMesh_addTriangle_3:Zm,_emscripten_bind_btTriangleMesh_addTriangle_4:Hm,_emscripten_bind_btTriangleMesh_btTriangleMesh_0:Dw,_emscripten_bind_btTriangleMesh_btTriangleMesh_1:tv,_emscripten_bind_btTriangleMesh_btTriangleMesh_2:yu,_emscripten_bind_btTypedConstraint___destroy___0:jw,_emscripten_bind_btTypedConstraint_enableFeedback_1:Fy,_emscripten_bind_btTypedConstraint_getBreakingImpulseThreshold_0:Gx,_emscripten_bind_btTypedConstraint_getParam_2:cv,_emscripten_bind_btTypedConstraint_setBreakingImpulseThreshold_1:ty,_emscripten_bind_btTypedConstraint_setParam_3:qu,_emscripten_bind_btVector3Array___destroy___0:Fx,_emscripten_bind_btVector3Array_at_1:Ez,_emscripten_bind_btVector3Array_size_0:cF,_emscripten_bind_btVector3___destroy___0:SA,_emscripten_bind_btVector3_btVector3_0:rH,_emscripten_bind_btVector3_btVector3_3:Bp,_emscripten_bind_btVector3_dot_1:Us,_emscripten_bind_btVector3_length_0:Lx,_emscripten_bind_btVector3_normalize_0:$E,_emscripten_bind_btVector3_op_add_1:EC,_emscripten_bind_btVector3_op_mul_1:qt,_emscripten_bind_btVector3_op_sub_1:DC,_emscripten_bind_btVector3_rotate_2:go,_emscripten_bind_btVector3_setValue_3:nq,_emscripten_bind_btVector3_setX_1:ND,_emscripten_bind_btVector3_setY_1:MD,_emscripten_bind_btVector3_setZ_1:LD,_emscripten_bind_btVector3_x_0:zF,_emscripten_bind_btVector3_y_0:ZD,_emscripten_bind_btVector3_z_0:YD,_emscripten_bind_btVector4___destroy___0:SA,_emscripten_bind_btVector4_btVector4_0:rH,_emscripten_bind_btVector4_btVector4_4:qo,_emscripten_bind_btVector4_dot_1:Us,_emscripten_bind_btVector4_length_0:Lx,_emscripten_bind_btVector4_normalize_0:$E,_emscripten_bind_btVector4_op_add_1:EC,_emscripten_bind_btVector4_op_mul_1:qt,_emscripten_bind_btVector4_op_sub_1:DC,_emscripten_bind_btVector4_rotate_2:fo,_emscripten_bind_btVector4_setValue_4:Xo,_emscripten_bind_btVector4_setX_1:ND,_emscripten_bind_btVector4_setY_1:MD,_emscripten_bind_btVector4_setZ_1:LD,_emscripten_bind_btVector4_w_0:_D,_emscripten_bind_btVector4_x_0:zF,_emscripten_bind_btVector4_y_0:ZD,_emscripten_bind_btVector4_z_0:YD,_emscripten_bind_btVehicleRaycasterResult___destroy___0:qD,_emscripten_bind_btVehicleRaycasterResult_get_m_distFraction_0:qG,_emscripten_bind_btVehicleRaycasterResult_get_m_hitNormalInWorld_0:QF,_emscripten_bind_btVehicleRaycasterResult_get_m_hitPointInWorld_0:JI,_emscripten_bind_btVehicleRaycasterResult_set_m_distFraction_1:nE,_emscripten_bind_btVehicleRaycasterResult_set_m_hitNormalInWorld_1:vr,_emscripten_bind_btVehicleRaycasterResult_set_m_hitPointInWorld_1:Pr,_emscripten_bind_btVehicleRaycaster___destroy___0:jw,_emscripten_bind_btVehicleRaycaster_castRay_3:Xt,_emscripten_bind_btVehicleTuning_btVehicleTuning_0:_x,_emscripten_bind_btVehicleTuning_get_m_frictionSlip_0:rG,_emscripten_bind_btVehicleTuning_get_m_maxSuspensionForce_0:pG,_emscripten_bind_btVehicleTuning_get_m_maxSuspensionTravelCm_0:sG,_emscripten_bind_btVehicleTuning_get_m_suspensionCompression_0:oG,_emscripten_bind_btVehicleTuning_get_m_suspensionDamping_0:BG,_emscripten_bind_btVehicleTuning_get_m_suspensionStiffness_0:hF,_emscripten_bind_btVehicleTuning_set_m_frictionSlip_1:oE,_emscripten_bind_btVehicleTuning_set_m_maxSuspensionForce_1:mE,_emscripten_bind_btVehicleTuning_set_m_maxSuspensionTravelCm_1:pF,_emscripten_bind_btVehicleTuning_set_m_suspensionCompression_1:PF,_emscripten_bind_btVehicleTuning_set_m_suspensionDamping_1:OF,_emscripten_bind_btVehicleTuning_set_m_suspensionStiffness_1:jG,_emscripten_bind_btWheelInfoConstructionInfo___destroy___0:qD,_emscripten_bind_btWheelInfoConstructionInfo_get_m_bIsFrontWheel_0:RA,_emscripten_bind_btWheelInfoConstructionInfo_get_m_chassisConnectionCS_0:JI,_emscripten_bind_btWheelInfoConstructionInfo_get_m_frictionSlip_0:iG,_emscripten_bind_btWheelInfoConstructionInfo_get_m_maxSuspensionForce_0:CF,_emscripten_bind_btWheelInfoConstructionInfo_get_m_maxSuspensionTravelCm_0:IF,_emscripten_bind_btWheelInfoConstructionInfo_get_m_suspensionRestLength_0:fG,_emscripten_bind_btWheelInfoConstructionInfo_get_m_suspensionStiffness_0:HF,_emscripten_bind_btWheelInfoConstructionInfo_get_m_wheelAxleCS_0:IG,_emscripten_bind_btWheelInfoConstructionInfo_get_m_wheelDirectionCS_0:QF,_emscripten_bind_btWheelInfoConstructionInfo_get_m_wheelRadius_0:JF,_emscripten_bind_btWheelInfoConstructionInfo_get_m_wheelsDampingCompression_0:mF,_emscripten_bind_btWheelInfoConstructionInfo_get_m_wheelsDampingRelaxation_0:nF,_emscripten_bind_btWheelInfoConstructionInfo_set_m_bIsFrontWheel_1:oz,_emscripten_bind_btWheelInfoConstructionInfo_set_m_chassisConnectionCS_1:Pr,_emscripten_bind_btWheelInfoConstructionInfo_set_m_frictionSlip_1:wE,_emscripten_bind_btWheelInfoConstructionInfo_set_m_maxSuspensionForce_1:yD,_emscripten_bind_btWheelInfoConstructionInfo_set_m_maxSuspensionTravelCm_1:ED,_emscripten_bind_btWheelInfoConstructionInfo_set_m_suspensionRestLength_1:fE,_emscripten_bind_btWheelInfoConstructionInfo_set_m_suspensionStiffness_1:DD,_emscripten_bind_btWheelInfoConstructionInfo_set_m_wheelAxleCS_1:jr,_emscripten_bind_btWheelInfoConstructionInfo_set_m_wheelDirectionCS_1:vr,_emscripten_bind_btWheelInfoConstructionInfo_set_m_wheelRadius_1:FD,_emscripten_bind_btWheelInfoConstructionInfo_set_m_wheelsDampingCompression_1:oD,_emscripten_bind_btWheelInfoConstructionInfo_set_m_wheelsDampingRelaxation_1:pD,_emscripten_bind_btWheelInfo___destroy___0:qD,_emscripten_bind_btWheelInfo_btWheelInfo_1:gw,_emscripten_bind_btWheelInfo_getSuspensionRestLength_0:ID,_emscripten_bind_btWheelInfo_get_m_bIsFrontWheel_0:TC,_emscripten_bind_btWheelInfo_get_m_brake_0:fF,_emscripten_bind_btWheelInfo_get_m_chassisConnectionPointCS_0:OE,_emscripten_bind_btWheelInfo_get_m_clippedInvContactDotSuspension_0:FB,_emscripten_bind_btWheelInfo_get_m_deltaRotation_0:jE,_emscripten_bind_btWheelInfo_get_m_engineForce_0:EE,_emscripten_bind_btWheelInfo_get_m_frictionSlip_0:yE,_emscripten_bind_btWheelInfo_get_m_maxSuspensionForce_0:AD,_emscripten_bind_btWheelInfo_get_m_maxSuspensionTravelCm_0:hD,_emscripten_bind_btWheelInfo_get_m_raycastInfo_0:JI,_emscripten_bind_btWheelInfo_get_m_rollInfluence_0:iE,_emscripten_bind_btWheelInfo_get_m_rotation_0:XE,_emscripten_bind_btWheelInfo_get_m_skidInfo_0:WE,_emscripten_bind_btWheelInfo_get_m_steering_0:VE,_emscripten_bind_btWheelInfo_get_m_suspensionRelativeVelocity_0:kC,_emscripten_bind_btWheelInfo_get_m_suspensionRestLength1_0:ID,_emscripten_bind_btWheelInfo_get_m_suspensionStiffness_0:rD,_emscripten_bind_btWheelInfo_get_m_wheelAxleCS_0:WF,_emscripten_bind_btWheelInfo_get_m_wheelDirectionCS_0:qF,_emscripten_bind_btWheelInfo_get_m_wheelsDampingCompression_0:wC,_emscripten_bind_btWheelInfo_get_m_wheelsDampingRelaxation_0:CC,_emscripten_bind_btWheelInfo_get_m_wheelsRadius_0:xE,_emscripten_bind_btWheelInfo_get_m_wheelsSuspensionForce_0:gD,_emscripten_bind_btWheelInfo_get_m_worldTransform_0:lH,_emscripten_bind_btWheelInfo_set_m_bIsFrontWheel_1:WA,_emscripten_bind_btWheelInfo_set_m_brake_1:BC,_emscripten_bind_btWheelInfo_set_m_chassisConnectionPointCS_1:Yq,_emscripten_bind_btWheelInfo_set_m_clippedInvContactDotSuspension_1:Az,_emscripten_bind_btWheelInfo_set_m_deltaRotation_1:tB,_emscripten_bind_btWheelInfo_set_m_engineForce_1:PB,_emscripten_bind_btWheelInfo_set_m_frictionSlip_1:EB,_emscripten_bind_btWheelInfo_set_m_maxSuspensionForce_1:CB,_emscripten_bind_btWheelInfo_set_m_maxSuspensionTravelCm_1:IA,_emscripten_bind_btWheelInfo_set_m_raycastInfo_1:Qs,_emscripten_bind_btWheelInfo_set_m_rollInfluence_1:sB,_emscripten_bind_btWheelInfo_set_m_rotation_1:jC,_emscripten_bind_btWheelInfo_set_m_skidInfo_1:iC,_emscripten_bind_btWheelInfo_set_m_steering_1:hC,_emscripten_bind_btWheelInfo_set_m_suspensionRelativeVelocity_1:_z,_emscripten_bind_btWheelInfo_set_m_suspensionRestLength1_1:HA,_emscripten_bind_btWheelInfo_set_m_suspensionStiffness_1:QA,_emscripten_bind_btWheelInfo_set_m_wheelAxleCS_1:rr,_emscripten_bind_btWheelInfo_set_m_wheelDirectionCS_1:ir,_emscripten_bind_btWheelInfo_set_m_wheelsDampingCompression_1:oA,_emscripten_bind_btWheelInfo_set_m_wheelsDampingRelaxation_1:vA,_emscripten_bind_btWheelInfo_set_m_wheelsRadius_1:DB,_emscripten_bind_btWheelInfo_set_m_wheelsSuspensionForce_1:GA,_emscripten_bind_btWheelInfo_set_m_worldTransform_1:yz,_emscripten_bind_btWheelInfo_updateWheel_2:oi,_emscripten_bind_tAnchorArray___destroy___0:Fx,_emscripten_bind_tAnchorArray_at_1:Br,_emscripten_bind_tAnchorArray_clear_0:uE,_emscripten_bind_tAnchorArray_pop_back_0:gA,_emscripten_bind_tAnchorArray_push_back_1:gx,_emscripten_bind_tAnchorArray_size_0:cF,_emscripten_bind_tMaterialArray___destroy___0:Fx,_emscripten_bind_tMaterialArray_at_1:Ww,_emscripten_bind_tMaterialArray_size_0:cF,_emscripten_bind_tNodeArray___destroy___0:Fx,_emscripten_bind_tNodeArray_at_1:Zw,_emscripten_bind_tNodeArray_size_0:cF,_emscripten_enum_PHY_ScalarType_PHY_DOUBLE:MI,_emscripten_enum_PHY_ScalarType_PHY_FIXEDPOINT88:gI,_emscripten_enum_PHY_ScalarType_PHY_FLOAT:uI,_emscripten_enum_PHY_ScalarType_PHY_INTEGER:qI,_emscripten_enum_PHY_ScalarType_PHY_SHORT:tI,_emscripten_enum_PHY_ScalarType_PHY_UCHAR:sI,_emscripten_enum_btConstraintParams_BT_CONSTRAINT_CFM:tI,_emscripten_enum_btConstraintParams_BT_CONSTRAINT_ERP:MI,_emscripten_enum_btConstraintParams_BT_CONSTRAINT_STOP_CFM:gI,_emscripten_enum_btConstraintParams_BT_CONSTRAINT_STOP_ERP:qI,_free:Hc,_i64Add:xv,_i64Subtract:lv,_llvm_bswap_i16:iH,_llvm_bswap_i32:kB,_malloc:xb,_memcpy:Bh,_memmove:fp,_memset:mk,_sbrk:io,dynCall_di:FF,dynCall_did:eD,dynCall_diidii:Nu,dynCall_diii:Ny,dynCall_diiidii:pt,dynCall_diiii:cw,dynCall_diiiii:xu,dynCall_diiiiiiii:ur,dynCall_diiiiiiiii:zq,dynCall_diiiiiiiiii:Gp,dynCall_ii:jF,dynCall_iidid:Uw,dynCall_iii:rB,dynCall_iiid:iz,dynCall_iiii:sy,dynCall_iiiii:Sv,dynCall_iiiiiii:_s,dynCall_iiiiiiiiii:uq,dynCall_iiiiiiiiiii:Dp,dynCall_v:pI,dynCall_vi:EG,dynCall_vid:WD,dynCall_vidd:$A,dynCall_viddiii:du,dynCall_vidi:mA,dynCall_vidii:tx,dynCall_vii:dD,dynCall_viid:uA,dynCall_viidi:sx,dynCall_viidii:fv,dynCall_viii:xz,dynCall_viiid:mx,dynCall_viiidii:Rt,dynCall_viiii:vw,dynCall_viiiid:ev,dynCall_viiiidddddidi:op,dynCall_viiiiddddiid:Rp,dynCall_viiiii:Qu,dynCall_viiiiid:Qt,dynCall_viiiiii:zt,dynCall_viiiiiii:qs,dynCall_viiiiiiiid:Pq,dynCall_viiiiiiiii:Hq,dynCall_viiiiiiiiii:Up,establishStackSpace:VF,setThrew:SC,stackAlloc:Nz,stackRestore:FI,stackSave:KI}}) + + +// EMSCRIPTEN_END_ASM +(eb,d.Ba,buffer),Oa=d.__GLOBAL__sub_I_btQuickprof_cpp=h.__GLOBAL__sub_I_btQuickprof_cpp;d.___cxa_can_catch=h.___cxa_can_catch;d.___cxa_is_pointer_type=h.___cxa_is_pointer_type; +d.___muldi3=h.___muldi3;d.___udivdi3=h.___udivdi3;d._bitshift64Lshr=h._bitshift64Lshr;d._bitshift64Shl=h._bitshift64Shl; +var gb=d._emscripten_bind_Anchor___destroy___0=h._emscripten_bind_Anchor___destroy___0,hb=d._emscripten_bind_Anchor_get_m_body_0=h._emscripten_bind_Anchor_get_m_body_0,ib=d._emscripten_bind_Anchor_get_m_c0_0=h._emscripten_bind_Anchor_get_m_c0_0,jb=d._emscripten_bind_Anchor_get_m_c1_0=h._emscripten_bind_Anchor_get_m_c1_0,kb=d._emscripten_bind_Anchor_get_m_c2_0=h._emscripten_bind_Anchor_get_m_c2_0,lb=d._emscripten_bind_Anchor_get_m_influence_0=h._emscripten_bind_Anchor_get_m_influence_0,mb=d._emscripten_bind_Anchor_get_m_local_0= +h._emscripten_bind_Anchor_get_m_local_0,nb=d._emscripten_bind_Anchor_get_m_node_0=h._emscripten_bind_Anchor_get_m_node_0,ob=d._emscripten_bind_Anchor_set_m_body_1=h._emscripten_bind_Anchor_set_m_body_1,pb=d._emscripten_bind_Anchor_set_m_c0_1=h._emscripten_bind_Anchor_set_m_c0_1,qb=d._emscripten_bind_Anchor_set_m_c1_1=h._emscripten_bind_Anchor_set_m_c1_1,rb=d._emscripten_bind_Anchor_set_m_c2_1=h._emscripten_bind_Anchor_set_m_c2_1,sb=d._emscripten_bind_Anchor_set_m_influence_1=h._emscripten_bind_Anchor_set_m_influence_1, +tb=d._emscripten_bind_Anchor_set_m_local_1=h._emscripten_bind_Anchor_set_m_local_1,ub=d._emscripten_bind_Anchor_set_m_node_1=h._emscripten_bind_Anchor_set_m_node_1,vb=d._emscripten_bind_ClosestConvexResultCallback_ClosestConvexResultCallback_2=h._emscripten_bind_ClosestConvexResultCallback_ClosestConvexResultCallback_2,wb=d._emscripten_bind_ClosestConvexResultCallback___destroy___0=h._emscripten_bind_ClosestConvexResultCallback___destroy___0,xb=d._emscripten_bind_ClosestConvexResultCallback_get_m_closestHitFraction_0= +h._emscripten_bind_ClosestConvexResultCallback_get_m_closestHitFraction_0,yb=d._emscripten_bind_ClosestConvexResultCallback_get_m_collisionFilterGroup_0=h._emscripten_bind_ClosestConvexResultCallback_get_m_collisionFilterGroup_0,zb=d._emscripten_bind_ClosestConvexResultCallback_get_m_collisionFilterMask_0=h._emscripten_bind_ClosestConvexResultCallback_get_m_collisionFilterMask_0,Ab=d._emscripten_bind_ClosestConvexResultCallback_get_m_convexFromWorld_0=h._emscripten_bind_ClosestConvexResultCallback_get_m_convexFromWorld_0, +Bb=d._emscripten_bind_ClosestConvexResultCallback_get_m_convexToWorld_0=h._emscripten_bind_ClosestConvexResultCallback_get_m_convexToWorld_0,Cb=d._emscripten_bind_ClosestConvexResultCallback_get_m_hitNormalWorld_0=h._emscripten_bind_ClosestConvexResultCallback_get_m_hitNormalWorld_0,Db=d._emscripten_bind_ClosestConvexResultCallback_get_m_hitPointWorld_0=h._emscripten_bind_ClosestConvexResultCallback_get_m_hitPointWorld_0,Eb=d._emscripten_bind_ClosestConvexResultCallback_hasHit_0=h._emscripten_bind_ClosestConvexResultCallback_hasHit_0, +Fb=d._emscripten_bind_ClosestConvexResultCallback_set_m_closestHitFraction_1=h._emscripten_bind_ClosestConvexResultCallback_set_m_closestHitFraction_1,Gb=d._emscripten_bind_ClosestConvexResultCallback_set_m_collisionFilterGroup_1=h._emscripten_bind_ClosestConvexResultCallback_set_m_collisionFilterGroup_1,Hb=d._emscripten_bind_ClosestConvexResultCallback_set_m_collisionFilterMask_1=h._emscripten_bind_ClosestConvexResultCallback_set_m_collisionFilterMask_1,Ib=d._emscripten_bind_ClosestConvexResultCallback_set_m_convexFromWorld_1= +h._emscripten_bind_ClosestConvexResultCallback_set_m_convexFromWorld_1,Jb=d._emscripten_bind_ClosestConvexResultCallback_set_m_convexToWorld_1=h._emscripten_bind_ClosestConvexResultCallback_set_m_convexToWorld_1,Kb=d._emscripten_bind_ClosestConvexResultCallback_set_m_hitNormalWorld_1=h._emscripten_bind_ClosestConvexResultCallback_set_m_hitNormalWorld_1,Mb=d._emscripten_bind_ClosestConvexResultCallback_set_m_hitPointWorld_1=h._emscripten_bind_ClosestConvexResultCallback_set_m_hitPointWorld_1,Nb=d._emscripten_bind_ClosestRayResultCallback_ClosestRayResultCallback_2= +h._emscripten_bind_ClosestRayResultCallback_ClosestRayResultCallback_2,Ob=d._emscripten_bind_ClosestRayResultCallback___destroy___0=h._emscripten_bind_ClosestRayResultCallback___destroy___0,Pb=d._emscripten_bind_ClosestRayResultCallback_get_m_closestHitFraction_0=h._emscripten_bind_ClosestRayResultCallback_get_m_closestHitFraction_0,Qb=d._emscripten_bind_ClosestRayResultCallback_get_m_collisionFilterGroup_0=h._emscripten_bind_ClosestRayResultCallback_get_m_collisionFilterGroup_0,Rb=d._emscripten_bind_ClosestRayResultCallback_get_m_collisionFilterMask_0= +h._emscripten_bind_ClosestRayResultCallback_get_m_collisionFilterMask_0,Sb=d._emscripten_bind_ClosestRayResultCallback_get_m_collisionObject_0=h._emscripten_bind_ClosestRayResultCallback_get_m_collisionObject_0,Tb=d._emscripten_bind_ClosestRayResultCallback_get_m_hitNormalWorld_0=h._emscripten_bind_ClosestRayResultCallback_get_m_hitNormalWorld_0,Ub=d._emscripten_bind_ClosestRayResultCallback_get_m_hitPointWorld_0=h._emscripten_bind_ClosestRayResultCallback_get_m_hitPointWorld_0,Vb=d._emscripten_bind_ClosestRayResultCallback_get_m_rayFromWorld_0= +h._emscripten_bind_ClosestRayResultCallback_get_m_rayFromWorld_0,Wb=d._emscripten_bind_ClosestRayResultCallback_get_m_rayToWorld_0=h._emscripten_bind_ClosestRayResultCallback_get_m_rayToWorld_0,Xb=d._emscripten_bind_ClosestRayResultCallback_hasHit_0=h._emscripten_bind_ClosestRayResultCallback_hasHit_0,Yb=d._emscripten_bind_ClosestRayResultCallback_set_m_closestHitFraction_1=h._emscripten_bind_ClosestRayResultCallback_set_m_closestHitFraction_1,Zb=d._emscripten_bind_ClosestRayResultCallback_set_m_collisionFilterGroup_1= +h._emscripten_bind_ClosestRayResultCallback_set_m_collisionFilterGroup_1,$b=d._emscripten_bind_ClosestRayResultCallback_set_m_collisionFilterMask_1=h._emscripten_bind_ClosestRayResultCallback_set_m_collisionFilterMask_1,ac=d._emscripten_bind_ClosestRayResultCallback_set_m_collisionObject_1=h._emscripten_bind_ClosestRayResultCallback_set_m_collisionObject_1,bc=d._emscripten_bind_ClosestRayResultCallback_set_m_hitNormalWorld_1=h._emscripten_bind_ClosestRayResultCallback_set_m_hitNormalWorld_1,cc=d._emscripten_bind_ClosestRayResultCallback_set_m_hitPointWorld_1= +h._emscripten_bind_ClosestRayResultCallback_set_m_hitPointWorld_1,dc=d._emscripten_bind_ClosestRayResultCallback_set_m_rayFromWorld_1=h._emscripten_bind_ClosestRayResultCallback_set_m_rayFromWorld_1,ec=d._emscripten_bind_ClosestRayResultCallback_set_m_rayToWorld_1=h._emscripten_bind_ClosestRayResultCallback_set_m_rayToWorld_1,fc=d._emscripten_bind_ConcreteContactResultCallback_ConcreteContactResultCallback_0=h._emscripten_bind_ConcreteContactResultCallback_ConcreteContactResultCallback_0,hc=d._emscripten_bind_ConcreteContactResultCallback___destroy___0= +h._emscripten_bind_ConcreteContactResultCallback___destroy___0,ic=d._emscripten_bind_ConcreteContactResultCallback_addSingleResult_7=h._emscripten_bind_ConcreteContactResultCallback_addSingleResult_7,jc=d._emscripten_bind_Config___destroy___0=h._emscripten_bind_Config___destroy___0,kc=d._emscripten_bind_Config_get_citerations_0=h._emscripten_bind_Config_get_citerations_0,lc=d._emscripten_bind_Config_get_collisions_0=h._emscripten_bind_Config_get_collisions_0,mc=d._emscripten_bind_Config_get_diterations_0= +h._emscripten_bind_Config_get_diterations_0,nc=d._emscripten_bind_Config_get_kAHR_0=h._emscripten_bind_Config_get_kAHR_0,oc=d._emscripten_bind_Config_get_kCHR_0=h._emscripten_bind_Config_get_kCHR_0,pc=d._emscripten_bind_Config_get_kDF_0=h._emscripten_bind_Config_get_kDF_0,qc=d._emscripten_bind_Config_get_kDG_0=h._emscripten_bind_Config_get_kDG_0,rc=d._emscripten_bind_Config_get_kDP_0=h._emscripten_bind_Config_get_kDP_0,sc=d._emscripten_bind_Config_get_kKHR_0=h._emscripten_bind_Config_get_kKHR_0,tc= +d._emscripten_bind_Config_get_kLF_0=h._emscripten_bind_Config_get_kLF_0,uc=d._emscripten_bind_Config_get_kMT_0=h._emscripten_bind_Config_get_kMT_0,vc=d._emscripten_bind_Config_get_kPR_0=h._emscripten_bind_Config_get_kPR_0,wc=d._emscripten_bind_Config_get_kSHR_0=h._emscripten_bind_Config_get_kSHR_0,xc=d._emscripten_bind_Config_get_kSKHR_CL_0=h._emscripten_bind_Config_get_kSKHR_CL_0,yc=d._emscripten_bind_Config_get_kSK_SPLT_CL_0=h._emscripten_bind_Config_get_kSK_SPLT_CL_0,zc=d._emscripten_bind_Config_get_kSRHR_CL_0= +h._emscripten_bind_Config_get_kSRHR_CL_0,Ac=d._emscripten_bind_Config_get_kSR_SPLT_CL_0=h._emscripten_bind_Config_get_kSR_SPLT_CL_0,Bc=d._emscripten_bind_Config_get_kSSHR_CL_0=h._emscripten_bind_Config_get_kSSHR_CL_0,Cc=d._emscripten_bind_Config_get_kSS_SPLT_CL_0=h._emscripten_bind_Config_get_kSS_SPLT_CL_0,Dc=d._emscripten_bind_Config_get_kVCF_0=h._emscripten_bind_Config_get_kVCF_0,Ec=d._emscripten_bind_Config_get_kVC_0=h._emscripten_bind_Config_get_kVC_0,Fc=d._emscripten_bind_Config_get_maxvolume_0= +h._emscripten_bind_Config_get_maxvolume_0,Gc=d._emscripten_bind_Config_get_piterations_0=h._emscripten_bind_Config_get_piterations_0,Hc=d._emscripten_bind_Config_get_timescale_0=h._emscripten_bind_Config_get_timescale_0,Ic=d._emscripten_bind_Config_get_viterations_0=h._emscripten_bind_Config_get_viterations_0,Jc=d._emscripten_bind_Config_set_citerations_1=h._emscripten_bind_Config_set_citerations_1,Kc=d._emscripten_bind_Config_set_collisions_1=h._emscripten_bind_Config_set_collisions_1,Lc=d._emscripten_bind_Config_set_diterations_1= +h._emscripten_bind_Config_set_diterations_1,Mc=d._emscripten_bind_Config_set_kAHR_1=h._emscripten_bind_Config_set_kAHR_1,Nc=d._emscripten_bind_Config_set_kCHR_1=h._emscripten_bind_Config_set_kCHR_1,Oc=d._emscripten_bind_Config_set_kDF_1=h._emscripten_bind_Config_set_kDF_1,Pc=d._emscripten_bind_Config_set_kDG_1=h._emscripten_bind_Config_set_kDG_1,Qc=d._emscripten_bind_Config_set_kDP_1=h._emscripten_bind_Config_set_kDP_1,Rc=d._emscripten_bind_Config_set_kKHR_1=h._emscripten_bind_Config_set_kKHR_1,Sc= +d._emscripten_bind_Config_set_kLF_1=h._emscripten_bind_Config_set_kLF_1,Tc=d._emscripten_bind_Config_set_kMT_1=h._emscripten_bind_Config_set_kMT_1,Uc=d._emscripten_bind_Config_set_kPR_1=h._emscripten_bind_Config_set_kPR_1,Vc=d._emscripten_bind_Config_set_kSHR_1=h._emscripten_bind_Config_set_kSHR_1,Wc=d._emscripten_bind_Config_set_kSKHR_CL_1=h._emscripten_bind_Config_set_kSKHR_CL_1,Xc=d._emscripten_bind_Config_set_kSK_SPLT_CL_1=h._emscripten_bind_Config_set_kSK_SPLT_CL_1,Yc=d._emscripten_bind_Config_set_kSRHR_CL_1= +h._emscripten_bind_Config_set_kSRHR_CL_1,Zc=d._emscripten_bind_Config_set_kSR_SPLT_CL_1=h._emscripten_bind_Config_set_kSR_SPLT_CL_1,$c=d._emscripten_bind_Config_set_kSSHR_CL_1=h._emscripten_bind_Config_set_kSSHR_CL_1,ad=d._emscripten_bind_Config_set_kSS_SPLT_CL_1=h._emscripten_bind_Config_set_kSS_SPLT_CL_1,bd=d._emscripten_bind_Config_set_kVCF_1=h._emscripten_bind_Config_set_kVCF_1,cd=d._emscripten_bind_Config_set_kVC_1=h._emscripten_bind_Config_set_kVC_1,dd=d._emscripten_bind_Config_set_maxvolume_1= +h._emscripten_bind_Config_set_maxvolume_1,ed=d._emscripten_bind_Config_set_piterations_1=h._emscripten_bind_Config_set_piterations_1,fd=d._emscripten_bind_Config_set_timescale_1=h._emscripten_bind_Config_set_timescale_1,gd=d._emscripten_bind_Config_set_viterations_1=h._emscripten_bind_Config_set_viterations_1,hd=d._emscripten_bind_ContactResultCallback___destroy___0=h._emscripten_bind_ContactResultCallback___destroy___0,id=d._emscripten_bind_ContactResultCallback_addSingleResult_7=h._emscripten_bind_ContactResultCallback_addSingleResult_7, +jd=d._emscripten_bind_ConvexResultCallback___destroy___0=h._emscripten_bind_ConvexResultCallback___destroy___0,kd=d._emscripten_bind_ConvexResultCallback_get_m_closestHitFraction_0=h._emscripten_bind_ConvexResultCallback_get_m_closestHitFraction_0,ld=d._emscripten_bind_ConvexResultCallback_get_m_collisionFilterGroup_0=h._emscripten_bind_ConvexResultCallback_get_m_collisionFilterGroup_0,md=d._emscripten_bind_ConvexResultCallback_get_m_collisionFilterMask_0=h._emscripten_bind_ConvexResultCallback_get_m_collisionFilterMask_0, +nd=d._emscripten_bind_ConvexResultCallback_hasHit_0=h._emscripten_bind_ConvexResultCallback_hasHit_0,od=d._emscripten_bind_ConvexResultCallback_set_m_closestHitFraction_1=h._emscripten_bind_ConvexResultCallback_set_m_closestHitFraction_1,pd=d._emscripten_bind_ConvexResultCallback_set_m_collisionFilterGroup_1=h._emscripten_bind_ConvexResultCallback_set_m_collisionFilterGroup_1,qd=d._emscripten_bind_ConvexResultCallback_set_m_collisionFilterMask_1=h._emscripten_bind_ConvexResultCallback_set_m_collisionFilterMask_1, +rd=d._emscripten_bind_DebugDrawer_DebugDrawer_0=h._emscripten_bind_DebugDrawer_DebugDrawer_0,sd=d._emscripten_bind_DebugDrawer___destroy___0=h._emscripten_bind_DebugDrawer___destroy___0,td=d._emscripten_bind_DebugDrawer_draw3dText_2=h._emscripten_bind_DebugDrawer_draw3dText_2,ud=d._emscripten_bind_DebugDrawer_drawContactPoint_5=h._emscripten_bind_DebugDrawer_drawContactPoint_5,vd=d._emscripten_bind_DebugDrawer_drawLine_3=h._emscripten_bind_DebugDrawer_drawLine_3,wd=d._emscripten_bind_DebugDrawer_getDebugMode_0= +h._emscripten_bind_DebugDrawer_getDebugMode_0,xd=d._emscripten_bind_DebugDrawer_reportErrorWarning_1=h._emscripten_bind_DebugDrawer_reportErrorWarning_1,yd=d._emscripten_bind_DebugDrawer_setDebugMode_1=h._emscripten_bind_DebugDrawer_setDebugMode_1,zd=d._emscripten_bind_LocalConvexResult_LocalConvexResult_5=h._emscripten_bind_LocalConvexResult_LocalConvexResult_5,Ad=d._emscripten_bind_LocalConvexResult___destroy___0=h._emscripten_bind_LocalConvexResult___destroy___0,Bd=d._emscripten_bind_LocalConvexResult_get_m_hitCollisionObject_0= +h._emscripten_bind_LocalConvexResult_get_m_hitCollisionObject_0,Cd=d._emscripten_bind_LocalConvexResult_get_m_hitFraction_0=h._emscripten_bind_LocalConvexResult_get_m_hitFraction_0,Dd=d._emscripten_bind_LocalConvexResult_get_m_hitNormalLocal_0=h._emscripten_bind_LocalConvexResult_get_m_hitNormalLocal_0,Ed=d._emscripten_bind_LocalConvexResult_get_m_hitPointLocal_0=h._emscripten_bind_LocalConvexResult_get_m_hitPointLocal_0,Fd=d._emscripten_bind_LocalConvexResult_get_m_localShapeInfo_0=h._emscripten_bind_LocalConvexResult_get_m_localShapeInfo_0, +Gd=d._emscripten_bind_LocalConvexResult_set_m_hitCollisionObject_1=h._emscripten_bind_LocalConvexResult_set_m_hitCollisionObject_1,Hd=d._emscripten_bind_LocalConvexResult_set_m_hitFraction_1=h._emscripten_bind_LocalConvexResult_set_m_hitFraction_1,Id=d._emscripten_bind_LocalConvexResult_set_m_hitNormalLocal_1=h._emscripten_bind_LocalConvexResult_set_m_hitNormalLocal_1,Jd=d._emscripten_bind_LocalConvexResult_set_m_hitPointLocal_1=h._emscripten_bind_LocalConvexResult_set_m_hitPointLocal_1,Kd=d._emscripten_bind_LocalConvexResult_set_m_localShapeInfo_1= +h._emscripten_bind_LocalConvexResult_set_m_localShapeInfo_1,Ld=d._emscripten_bind_LocalShapeInfo___destroy___0=h._emscripten_bind_LocalShapeInfo___destroy___0,Md=d._emscripten_bind_LocalShapeInfo_get_m_shapePart_0=h._emscripten_bind_LocalShapeInfo_get_m_shapePart_0,Nd=d._emscripten_bind_LocalShapeInfo_get_m_triangleIndex_0=h._emscripten_bind_LocalShapeInfo_get_m_triangleIndex_0,Od=d._emscripten_bind_LocalShapeInfo_set_m_shapePart_1=h._emscripten_bind_LocalShapeInfo_set_m_shapePart_1,Pd=d._emscripten_bind_LocalShapeInfo_set_m_triangleIndex_1= +h._emscripten_bind_LocalShapeInfo_set_m_triangleIndex_1,Qd=d._emscripten_bind_Material___destroy___0=h._emscripten_bind_Material___destroy___0,Rd=d._emscripten_bind_Material_get_m_flags_0=h._emscripten_bind_Material_get_m_flags_0,Sd=d._emscripten_bind_Material_get_m_kAST_0=h._emscripten_bind_Material_get_m_kAST_0,Td=d._emscripten_bind_Material_get_m_kLST_0=h._emscripten_bind_Material_get_m_kLST_0,Ud=d._emscripten_bind_Material_get_m_kVST_0=h._emscripten_bind_Material_get_m_kVST_0,Vd=d._emscripten_bind_Material_set_m_flags_1= +h._emscripten_bind_Material_set_m_flags_1,Wd=d._emscripten_bind_Material_set_m_kAST_1=h._emscripten_bind_Material_set_m_kAST_1,Xd=d._emscripten_bind_Material_set_m_kLST_1=h._emscripten_bind_Material_set_m_kLST_1,Yd=d._emscripten_bind_Material_set_m_kVST_1=h._emscripten_bind_Material_set_m_kVST_1,Zd=d._emscripten_bind_Node___destroy___0=h._emscripten_bind_Node___destroy___0,$d=d._emscripten_bind_Node_get_m_area_0=h._emscripten_bind_Node_get_m_area_0,ae=d._emscripten_bind_Node_get_m_f_0=h._emscripten_bind_Node_get_m_f_0, +be=d._emscripten_bind_Node_get_m_im_0=h._emscripten_bind_Node_get_m_im_0,ce=d._emscripten_bind_Node_get_m_n_0=h._emscripten_bind_Node_get_m_n_0,de=d._emscripten_bind_Node_get_m_q_0=h._emscripten_bind_Node_get_m_q_0,ee=d._emscripten_bind_Node_get_m_v_0=h._emscripten_bind_Node_get_m_v_0,fe=d._emscripten_bind_Node_get_m_x_0=h._emscripten_bind_Node_get_m_x_0,ge=d._emscripten_bind_Node_set_m_area_1=h._emscripten_bind_Node_set_m_area_1,he=d._emscripten_bind_Node_set_m_f_1=h._emscripten_bind_Node_set_m_f_1, +ie=d._emscripten_bind_Node_set_m_im_1=h._emscripten_bind_Node_set_m_im_1,je=d._emscripten_bind_Node_set_m_n_1=h._emscripten_bind_Node_set_m_n_1,ke=d._emscripten_bind_Node_set_m_q_1=h._emscripten_bind_Node_set_m_q_1,le=d._emscripten_bind_Node_set_m_v_1=h._emscripten_bind_Node_set_m_v_1,me=d._emscripten_bind_Node_set_m_x_1=h._emscripten_bind_Node_set_m_x_1,ne=d._emscripten_bind_RayResultCallback___destroy___0=h._emscripten_bind_RayResultCallback___destroy___0,oe=d._emscripten_bind_RayResultCallback_get_m_closestHitFraction_0= +h._emscripten_bind_RayResultCallback_get_m_closestHitFraction_0,pe=d._emscripten_bind_RayResultCallback_get_m_collisionFilterGroup_0=h._emscripten_bind_RayResultCallback_get_m_collisionFilterGroup_0,qe=d._emscripten_bind_RayResultCallback_get_m_collisionFilterMask_0=h._emscripten_bind_RayResultCallback_get_m_collisionFilterMask_0,re=d._emscripten_bind_RayResultCallback_get_m_collisionObject_0=h._emscripten_bind_RayResultCallback_get_m_collisionObject_0,se=d._emscripten_bind_RayResultCallback_hasHit_0= +h._emscripten_bind_RayResultCallback_hasHit_0,te=d._emscripten_bind_RayResultCallback_set_m_closestHitFraction_1=h._emscripten_bind_RayResultCallback_set_m_closestHitFraction_1,ue=d._emscripten_bind_RayResultCallback_set_m_collisionFilterGroup_1=h._emscripten_bind_RayResultCallback_set_m_collisionFilterGroup_1,ve=d._emscripten_bind_RayResultCallback_set_m_collisionFilterMask_1=h._emscripten_bind_RayResultCallback_set_m_collisionFilterMask_1,we=d._emscripten_bind_RayResultCallback_set_m_collisionObject_1= +h._emscripten_bind_RayResultCallback_set_m_collisionObject_1,xe=d._emscripten_bind_RaycastInfo___destroy___0=h._emscripten_bind_RaycastInfo___destroy___0,ye=d._emscripten_bind_RaycastInfo_get_m_contactNormalWS_0=h._emscripten_bind_RaycastInfo_get_m_contactNormalWS_0,ze=d._emscripten_bind_RaycastInfo_get_m_contactPointWS_0=h._emscripten_bind_RaycastInfo_get_m_contactPointWS_0,Ae=d._emscripten_bind_RaycastInfo_get_m_groundObject_0=h._emscripten_bind_RaycastInfo_get_m_groundObject_0,Be=d._emscripten_bind_RaycastInfo_get_m_hardPointWS_0= +h._emscripten_bind_RaycastInfo_get_m_hardPointWS_0,Ce=d._emscripten_bind_RaycastInfo_get_m_isInContact_0=h._emscripten_bind_RaycastInfo_get_m_isInContact_0,De=d._emscripten_bind_RaycastInfo_get_m_suspensionLength_0=h._emscripten_bind_RaycastInfo_get_m_suspensionLength_0,Ee=d._emscripten_bind_RaycastInfo_get_m_wheelAxleWS_0=h._emscripten_bind_RaycastInfo_get_m_wheelAxleWS_0,Fe=d._emscripten_bind_RaycastInfo_get_m_wheelDirectionWS_0=h._emscripten_bind_RaycastInfo_get_m_wheelDirectionWS_0,Ge=d._emscripten_bind_RaycastInfo_set_m_contactNormalWS_1= +h._emscripten_bind_RaycastInfo_set_m_contactNormalWS_1,He=d._emscripten_bind_RaycastInfo_set_m_contactPointWS_1=h._emscripten_bind_RaycastInfo_set_m_contactPointWS_1,Ie=d._emscripten_bind_RaycastInfo_set_m_groundObject_1=h._emscripten_bind_RaycastInfo_set_m_groundObject_1,Je=d._emscripten_bind_RaycastInfo_set_m_hardPointWS_1=h._emscripten_bind_RaycastInfo_set_m_hardPointWS_1,Ke=d._emscripten_bind_RaycastInfo_set_m_isInContact_1=h._emscripten_bind_RaycastInfo_set_m_isInContact_1,Le=d._emscripten_bind_RaycastInfo_set_m_suspensionLength_1= +h._emscripten_bind_RaycastInfo_set_m_suspensionLength_1,Me=d._emscripten_bind_RaycastInfo_set_m_wheelAxleWS_1=h._emscripten_bind_RaycastInfo_set_m_wheelAxleWS_1,Ne=d._emscripten_bind_RaycastInfo_set_m_wheelDirectionWS_1=h._emscripten_bind_RaycastInfo_set_m_wheelDirectionWS_1,Oe=d._emscripten_bind_VoidPtr___destroy___0=h._emscripten_bind_VoidPtr___destroy___0,Pe=d._emscripten_bind_btActionInterface___destroy___0=h._emscripten_bind_btActionInterface___destroy___0,Qe=d._emscripten_bind_btActionInterface_updateAction_2= +h._emscripten_bind_btActionInterface_updateAction_2,Re=d._emscripten_bind_btAxisSweep3___destroy___0=h._emscripten_bind_btAxisSweep3___destroy___0,Se=d._emscripten_bind_btAxisSweep3_btAxisSweep3_2=h._emscripten_bind_btAxisSweep3_btAxisSweep3_2,Te=d._emscripten_bind_btAxisSweep3_btAxisSweep3_3=h._emscripten_bind_btAxisSweep3_btAxisSweep3_3,Ue=d._emscripten_bind_btAxisSweep3_btAxisSweep3_4=h._emscripten_bind_btAxisSweep3_btAxisSweep3_4,Ve=d._emscripten_bind_btAxisSweep3_btAxisSweep3_5=h._emscripten_bind_btAxisSweep3_btAxisSweep3_5, +We=d._emscripten_bind_btBoxShape___destroy___0=h._emscripten_bind_btBoxShape___destroy___0,Xe=d._emscripten_bind_btBoxShape_btBoxShape_1=h._emscripten_bind_btBoxShape_btBoxShape_1,Ye=d._emscripten_bind_btBoxShape_calculateLocalInertia_2=h._emscripten_bind_btBoxShape_calculateLocalInertia_2,Ze=d._emscripten_bind_btBoxShape_getLocalScaling_0=h._emscripten_bind_btBoxShape_getLocalScaling_0,$e=d._emscripten_bind_btBoxShape_getMargin_0=h._emscripten_bind_btBoxShape_getMargin_0,af=d._emscripten_bind_btBoxShape_setLocalScaling_1= +h._emscripten_bind_btBoxShape_setLocalScaling_1,bf=d._emscripten_bind_btBoxShape_setMargin_1=h._emscripten_bind_btBoxShape_setMargin_1,cf=d._emscripten_bind_btBroadphaseInterface___destroy___0=h._emscripten_bind_btBroadphaseInterface___destroy___0,df=d._emscripten_bind_btBroadphaseProxy___destroy___0=h._emscripten_bind_btBroadphaseProxy___destroy___0,ef=d._emscripten_bind_btBroadphaseProxy_get_m_collisionFilterGroup_0=h._emscripten_bind_btBroadphaseProxy_get_m_collisionFilterGroup_0,ff=d._emscripten_bind_btBroadphaseProxy_get_m_collisionFilterMask_0= +h._emscripten_bind_btBroadphaseProxy_get_m_collisionFilterMask_0,gf=d._emscripten_bind_btBroadphaseProxy_set_m_collisionFilterGroup_1=h._emscripten_bind_btBroadphaseProxy_set_m_collisionFilterGroup_1,hf=d._emscripten_bind_btBroadphaseProxy_set_m_collisionFilterMask_1=h._emscripten_bind_btBroadphaseProxy_set_m_collisionFilterMask_1,jf=d._emscripten_bind_btBvhTriangleMeshShape___destroy___0=h._emscripten_bind_btBvhTriangleMeshShape___destroy___0,kf=d._emscripten_bind_btBvhTriangleMeshShape_btBvhTriangleMeshShape_2= +h._emscripten_bind_btBvhTriangleMeshShape_btBvhTriangleMeshShape_2,lf=d._emscripten_bind_btBvhTriangleMeshShape_btBvhTriangleMeshShape_3=h._emscripten_bind_btBvhTriangleMeshShape_btBvhTriangleMeshShape_3,mf=d._emscripten_bind_btBvhTriangleMeshShape_calculateLocalInertia_2=h._emscripten_bind_btBvhTriangleMeshShape_calculateLocalInertia_2,nf=d._emscripten_bind_btBvhTriangleMeshShape_getLocalScaling_0=h._emscripten_bind_btBvhTriangleMeshShape_getLocalScaling_0,of=d._emscripten_bind_btBvhTriangleMeshShape_setLocalScaling_1= +h._emscripten_bind_btBvhTriangleMeshShape_setLocalScaling_1,pf=d._emscripten_bind_btCapsuleShapeX___destroy___0=h._emscripten_bind_btCapsuleShapeX___destroy___0,qf=d._emscripten_bind_btCapsuleShapeX_btCapsuleShapeX_2=h._emscripten_bind_btCapsuleShapeX_btCapsuleShapeX_2,rf=d._emscripten_bind_btCapsuleShapeX_calculateLocalInertia_2=h._emscripten_bind_btCapsuleShapeX_calculateLocalInertia_2,sf=d._emscripten_bind_btCapsuleShapeX_getHalfHeight_0=h._emscripten_bind_btCapsuleShapeX_getHalfHeight_0,tf=d._emscripten_bind_btCapsuleShapeX_getLocalScaling_0= +h._emscripten_bind_btCapsuleShapeX_getLocalScaling_0,uf=d._emscripten_bind_btCapsuleShapeX_getMargin_0=h._emscripten_bind_btCapsuleShapeX_getMargin_0,vf=d._emscripten_bind_btCapsuleShapeX_getRadius_0=h._emscripten_bind_btCapsuleShapeX_getRadius_0,wf=d._emscripten_bind_btCapsuleShapeX_getUpAxis_0=h._emscripten_bind_btCapsuleShapeX_getUpAxis_0,xf=d._emscripten_bind_btCapsuleShapeX_setLocalScaling_1=h._emscripten_bind_btCapsuleShapeX_setLocalScaling_1,yf=d._emscripten_bind_btCapsuleShapeX_setMargin_1= +h._emscripten_bind_btCapsuleShapeX_setMargin_1,zf=d._emscripten_bind_btCapsuleShapeZ___destroy___0=h._emscripten_bind_btCapsuleShapeZ___destroy___0,Af=d._emscripten_bind_btCapsuleShapeZ_btCapsuleShapeZ_2=h._emscripten_bind_btCapsuleShapeZ_btCapsuleShapeZ_2,Bf=d._emscripten_bind_btCapsuleShapeZ_calculateLocalInertia_2=h._emscripten_bind_btCapsuleShapeZ_calculateLocalInertia_2,Cf=d._emscripten_bind_btCapsuleShapeZ_getHalfHeight_0=h._emscripten_bind_btCapsuleShapeZ_getHalfHeight_0,Df=d._emscripten_bind_btCapsuleShapeZ_getLocalScaling_0= +h._emscripten_bind_btCapsuleShapeZ_getLocalScaling_0,Ef=d._emscripten_bind_btCapsuleShapeZ_getMargin_0=h._emscripten_bind_btCapsuleShapeZ_getMargin_0,Ff=d._emscripten_bind_btCapsuleShapeZ_getRadius_0=h._emscripten_bind_btCapsuleShapeZ_getRadius_0,Gf=d._emscripten_bind_btCapsuleShapeZ_getUpAxis_0=h._emscripten_bind_btCapsuleShapeZ_getUpAxis_0,Hf=d._emscripten_bind_btCapsuleShapeZ_setLocalScaling_1=h._emscripten_bind_btCapsuleShapeZ_setLocalScaling_1,If=d._emscripten_bind_btCapsuleShapeZ_setMargin_1= +h._emscripten_bind_btCapsuleShapeZ_setMargin_1,Jf=d._emscripten_bind_btCapsuleShape___destroy___0=h._emscripten_bind_btCapsuleShape___destroy___0,Kf=d._emscripten_bind_btCapsuleShape_btCapsuleShape_2=h._emscripten_bind_btCapsuleShape_btCapsuleShape_2,Lf=d._emscripten_bind_btCapsuleShape_calculateLocalInertia_2=h._emscripten_bind_btCapsuleShape_calculateLocalInertia_2,Mf=d._emscripten_bind_btCapsuleShape_getHalfHeight_0=h._emscripten_bind_btCapsuleShape_getHalfHeight_0,Nf=d._emscripten_bind_btCapsuleShape_getLocalScaling_0= +h._emscripten_bind_btCapsuleShape_getLocalScaling_0,Of=d._emscripten_bind_btCapsuleShape_getMargin_0=h._emscripten_bind_btCapsuleShape_getMargin_0,Pf=d._emscripten_bind_btCapsuleShape_getRadius_0=h._emscripten_bind_btCapsuleShape_getRadius_0,Qf=d._emscripten_bind_btCapsuleShape_getUpAxis_0=h._emscripten_bind_btCapsuleShape_getUpAxis_0,Rf=d._emscripten_bind_btCapsuleShape_setLocalScaling_1=h._emscripten_bind_btCapsuleShape_setLocalScaling_1,Sf=d._emscripten_bind_btCapsuleShape_setMargin_1=h._emscripten_bind_btCapsuleShape_setMargin_1, +Tf=d._emscripten_bind_btCollisionConfiguration___destroy___0=h._emscripten_bind_btCollisionConfiguration___destroy___0,Uf=d._emscripten_bind_btCollisionDispatcher___destroy___0=h._emscripten_bind_btCollisionDispatcher___destroy___0,Vf=d._emscripten_bind_btCollisionDispatcher_btCollisionDispatcher_1=h._emscripten_bind_btCollisionDispatcher_btCollisionDispatcher_1,Wf=d._emscripten_bind_btCollisionDispatcher_getManifoldByIndexInternal_1=h._emscripten_bind_btCollisionDispatcher_getManifoldByIndexInternal_1, +Xf=d._emscripten_bind_btCollisionDispatcher_getNumManifolds_0=h._emscripten_bind_btCollisionDispatcher_getNumManifolds_0,Yf=d._emscripten_bind_btCollisionObject___destroy___0=h._emscripten_bind_btCollisionObject___destroy___0,Zf=d._emscripten_bind_btCollisionObject_activate_0=h._emscripten_bind_btCollisionObject_activate_0,$f=d._emscripten_bind_btCollisionObject_activate_1=h._emscripten_bind_btCollisionObject_activate_1,ag=d._emscripten_bind_btCollisionObject_forceActivationState_1=h._emscripten_bind_btCollisionObject_forceActivationState_1, +bg=d._emscripten_bind_btCollisionObject_getCollisionFlags_0=h._emscripten_bind_btCollisionObject_getCollisionFlags_0,cg=d._emscripten_bind_btCollisionObject_getCollisionShape_0=h._emscripten_bind_btCollisionObject_getCollisionShape_0,dg=d._emscripten_bind_btCollisionObject_getUserIndex_0=h._emscripten_bind_btCollisionObject_getUserIndex_0,eg=d._emscripten_bind_btCollisionObject_getUserPointer_0=h._emscripten_bind_btCollisionObject_getUserPointer_0,fg=d._emscripten_bind_btCollisionObject_getWorldTransform_0= +h._emscripten_bind_btCollisionObject_getWorldTransform_0,gg=d._emscripten_bind_btCollisionObject_isActive_0=h._emscripten_bind_btCollisionObject_isActive_0,hg=d._emscripten_bind_btCollisionObject_isKinematicObject_0=h._emscripten_bind_btCollisionObject_isKinematicObject_0,ig=d._emscripten_bind_btCollisionObject_isStaticObject_0=h._emscripten_bind_btCollisionObject_isStaticObject_0,jg=d._emscripten_bind_btCollisionObject_isStaticOrKinematicObject_0=h._emscripten_bind_btCollisionObject_isStaticOrKinematicObject_0, +kg=d._emscripten_bind_btCollisionObject_setActivationState_1=h._emscripten_bind_btCollisionObject_setActivationState_1,lg=d._emscripten_bind_btCollisionObject_setAnisotropicFriction_2=h._emscripten_bind_btCollisionObject_setAnisotropicFriction_2,mg=d._emscripten_bind_btCollisionObject_setCcdMotionThreshold_1=h._emscripten_bind_btCollisionObject_setCcdMotionThreshold_1,ng=d._emscripten_bind_btCollisionObject_setCcdSweptSphereRadius_1=h._emscripten_bind_btCollisionObject_setCcdSweptSphereRadius_1,og= +d._emscripten_bind_btCollisionObject_setCollisionFlags_1=h._emscripten_bind_btCollisionObject_setCollisionFlags_1,pg=d._emscripten_bind_btCollisionObject_setCollisionShape_1=h._emscripten_bind_btCollisionObject_setCollisionShape_1,qg=d._emscripten_bind_btCollisionObject_setContactProcessingThreshold_1=h._emscripten_bind_btCollisionObject_setContactProcessingThreshold_1,rg=d._emscripten_bind_btCollisionObject_setFriction_1=h._emscripten_bind_btCollisionObject_setFriction_1,sg=d._emscripten_bind_btCollisionObject_setRestitution_1= +h._emscripten_bind_btCollisionObject_setRestitution_1,tg=d._emscripten_bind_btCollisionObject_setRollingFriction_1=h._emscripten_bind_btCollisionObject_setRollingFriction_1,ug=d._emscripten_bind_btCollisionObject_setUserIndex_1=h._emscripten_bind_btCollisionObject_setUserIndex_1,vg=d._emscripten_bind_btCollisionObject_setUserPointer_1=h._emscripten_bind_btCollisionObject_setUserPointer_1,wg=d._emscripten_bind_btCollisionObject_setWorldTransform_1=h._emscripten_bind_btCollisionObject_setWorldTransform_1, +xg=d._emscripten_bind_btCollisionShape___destroy___0=h._emscripten_bind_btCollisionShape___destroy___0,yg=d._emscripten_bind_btCollisionShape_calculateLocalInertia_2=h._emscripten_bind_btCollisionShape_calculateLocalInertia_2,zg=d._emscripten_bind_btCollisionShape_getLocalScaling_0=h._emscripten_bind_btCollisionShape_getLocalScaling_0,Ag=d._emscripten_bind_btCollisionShape_getMargin_0=h._emscripten_bind_btCollisionShape_getMargin_0,Bg=d._emscripten_bind_btCollisionShape_setLocalScaling_1=h._emscripten_bind_btCollisionShape_setLocalScaling_1, +Cg=d._emscripten_bind_btCollisionShape_setMargin_1=h._emscripten_bind_btCollisionShape_setMargin_1,Dg=d._emscripten_bind_btCollisionWorld___destroy___0=h._emscripten_bind_btCollisionWorld___destroy___0,Eg=d._emscripten_bind_btCollisionWorld_addCollisionObject_1=h._emscripten_bind_btCollisionWorld_addCollisionObject_1,Fg=d._emscripten_bind_btCollisionWorld_addCollisionObject_2=h._emscripten_bind_btCollisionWorld_addCollisionObject_2,Gg=d._emscripten_bind_btCollisionWorld_addCollisionObject_3=h._emscripten_bind_btCollisionWorld_addCollisionObject_3, +Hg=d._emscripten_bind_btCollisionWorld_contactPairTest_3=h._emscripten_bind_btCollisionWorld_contactPairTest_3,Ig=d._emscripten_bind_btCollisionWorld_contactTest_2=h._emscripten_bind_btCollisionWorld_contactTest_2,Jg=d._emscripten_bind_btCollisionWorld_convexSweepTest_5=h._emscripten_bind_btCollisionWorld_convexSweepTest_5,Kg=d._emscripten_bind_btCollisionWorld_debugDrawObject_3=h._emscripten_bind_btCollisionWorld_debugDrawObject_3,Lg=d._emscripten_bind_btCollisionWorld_debugDrawWorld_0=h._emscripten_bind_btCollisionWorld_debugDrawWorld_0, +Mg=d._emscripten_bind_btCollisionWorld_getBroadphase_0=h._emscripten_bind_btCollisionWorld_getBroadphase_0,Ng=d._emscripten_bind_btCollisionWorld_getDebugDrawer_0=h._emscripten_bind_btCollisionWorld_getDebugDrawer_0,Og=d._emscripten_bind_btCollisionWorld_getDispatchInfo_0=h._emscripten_bind_btCollisionWorld_getDispatchInfo_0,Pg=d._emscripten_bind_btCollisionWorld_getDispatcher_0=h._emscripten_bind_btCollisionWorld_getDispatcher_0,Qg=d._emscripten_bind_btCollisionWorld_getPairCache_0=h._emscripten_bind_btCollisionWorld_getPairCache_0, +Rg=d._emscripten_bind_btCollisionWorld_rayTest_3=h._emscripten_bind_btCollisionWorld_rayTest_3,Sg=d._emscripten_bind_btCollisionWorld_removeCollisionObject_1=h._emscripten_bind_btCollisionWorld_removeCollisionObject_1,Tg=d._emscripten_bind_btCollisionWorld_setDebugDrawer_1=h._emscripten_bind_btCollisionWorld_setDebugDrawer_1,Ug=d._emscripten_bind_btCollisionWorld_updateSingleAabb_1=h._emscripten_bind_btCollisionWorld_updateSingleAabb_1,Vg=d._emscripten_bind_btCompoundShape___destroy___0=h._emscripten_bind_btCompoundShape___destroy___0, +Wg=d._emscripten_bind_btCompoundShape_addChildShape_2=h._emscripten_bind_btCompoundShape_addChildShape_2,Xg=d._emscripten_bind_btCompoundShape_btCompoundShape_0=h._emscripten_bind_btCompoundShape_btCompoundShape_0,Yg=d._emscripten_bind_btCompoundShape_btCompoundShape_1=h._emscripten_bind_btCompoundShape_btCompoundShape_1,Zg=d._emscripten_bind_btCompoundShape_calculateLocalInertia_2=h._emscripten_bind_btCompoundShape_calculateLocalInertia_2,$g=d._emscripten_bind_btCompoundShape_getChildShape_1=h._emscripten_bind_btCompoundShape_getChildShape_1, +ah=d._emscripten_bind_btCompoundShape_getLocalScaling_0=h._emscripten_bind_btCompoundShape_getLocalScaling_0,bh=d._emscripten_bind_btCompoundShape_getMargin_0=h._emscripten_bind_btCompoundShape_getMargin_0,ch=d._emscripten_bind_btCompoundShape_getNumChildShapes_0=h._emscripten_bind_btCompoundShape_getNumChildShapes_0,dh=d._emscripten_bind_btCompoundShape_removeChildShapeByIndex_1=h._emscripten_bind_btCompoundShape_removeChildShapeByIndex_1,eh=d._emscripten_bind_btCompoundShape_setLocalScaling_1=h._emscripten_bind_btCompoundShape_setLocalScaling_1, +fh=d._emscripten_bind_btCompoundShape_setMargin_1=h._emscripten_bind_btCompoundShape_setMargin_1,gh=d._emscripten_bind_btConcaveShape___destroy___0=h._emscripten_bind_btConcaveShape___destroy___0,hh=d._emscripten_bind_btConcaveShape_calculateLocalInertia_2=h._emscripten_bind_btConcaveShape_calculateLocalInertia_2,ih=d._emscripten_bind_btConcaveShape_getLocalScaling_0=h._emscripten_bind_btConcaveShape_getLocalScaling_0,jh=d._emscripten_bind_btConcaveShape_setLocalScaling_1=h._emscripten_bind_btConcaveShape_setLocalScaling_1, +kh=d._emscripten_bind_btConeShapeX___destroy___0=h._emscripten_bind_btConeShapeX___destroy___0,lh=d._emscripten_bind_btConeShapeX_btConeShapeX_2=h._emscripten_bind_btConeShapeX_btConeShapeX_2,mh=d._emscripten_bind_btConeShapeX_calculateLocalInertia_2=h._emscripten_bind_btConeShapeX_calculateLocalInertia_2,nh=d._emscripten_bind_btConeShapeX_getLocalScaling_0=h._emscripten_bind_btConeShapeX_getLocalScaling_0,oh=d._emscripten_bind_btConeShapeX_setLocalScaling_1=h._emscripten_bind_btConeShapeX_setLocalScaling_1, +ph=d._emscripten_bind_btConeShapeZ___destroy___0=h._emscripten_bind_btConeShapeZ___destroy___0,qh=d._emscripten_bind_btConeShapeZ_btConeShapeZ_2=h._emscripten_bind_btConeShapeZ_btConeShapeZ_2,rh=d._emscripten_bind_btConeShapeZ_calculateLocalInertia_2=h._emscripten_bind_btConeShapeZ_calculateLocalInertia_2,sh=d._emscripten_bind_btConeShapeZ_getLocalScaling_0=h._emscripten_bind_btConeShapeZ_getLocalScaling_0,th=d._emscripten_bind_btConeShapeZ_setLocalScaling_1=h._emscripten_bind_btConeShapeZ_setLocalScaling_1, +uh=d._emscripten_bind_btConeShape___destroy___0=h._emscripten_bind_btConeShape___destroy___0,vh=d._emscripten_bind_btConeShape_btConeShape_2=h._emscripten_bind_btConeShape_btConeShape_2,wh=d._emscripten_bind_btConeShape_calculateLocalInertia_2=h._emscripten_bind_btConeShape_calculateLocalInertia_2,xh=d._emscripten_bind_btConeShape_getLocalScaling_0=h._emscripten_bind_btConeShape_getLocalScaling_0,yh=d._emscripten_bind_btConeShape_setLocalScaling_1=h._emscripten_bind_btConeShape_setLocalScaling_1, +zh=d._emscripten_bind_btConeTwistConstraint___destroy___0=h._emscripten_bind_btConeTwistConstraint___destroy___0,Ah=d._emscripten_bind_btConeTwistConstraint_btConeTwistConstraint_2=h._emscripten_bind_btConeTwistConstraint_btConeTwistConstraint_2,Bh=d._emscripten_bind_btConeTwistConstraint_btConeTwistConstraint_4=h._emscripten_bind_btConeTwistConstraint_btConeTwistConstraint_4,Ch=d._emscripten_bind_btConeTwistConstraint_enableFeedback_1=h._emscripten_bind_btConeTwistConstraint_enableFeedback_1,Dh= +d._emscripten_bind_btConeTwistConstraint_enableMotor_1=h._emscripten_bind_btConeTwistConstraint_enableMotor_1,Eh=d._emscripten_bind_btConeTwistConstraint_getBreakingImpulseThreshold_0=h._emscripten_bind_btConeTwistConstraint_getBreakingImpulseThreshold_0,Fh=d._emscripten_bind_btConeTwistConstraint_getParam_2=h._emscripten_bind_btConeTwistConstraint_getParam_2,Gh=d._emscripten_bind_btConeTwistConstraint_setAngularOnly_1=h._emscripten_bind_btConeTwistConstraint_setAngularOnly_1,Hh=d._emscripten_bind_btConeTwistConstraint_setBreakingImpulseThreshold_1= +h._emscripten_bind_btConeTwistConstraint_setBreakingImpulseThreshold_1,Ih=d._emscripten_bind_btConeTwistConstraint_setDamping_1=h._emscripten_bind_btConeTwistConstraint_setDamping_1,Jh=d._emscripten_bind_btConeTwistConstraint_setLimit_2=h._emscripten_bind_btConeTwistConstraint_setLimit_2,Kh=d._emscripten_bind_btConeTwistConstraint_setMaxMotorImpulseNormalized_1=h._emscripten_bind_btConeTwistConstraint_setMaxMotorImpulseNormalized_1,Lh=d._emscripten_bind_btConeTwistConstraint_setMaxMotorImpulse_1= +h._emscripten_bind_btConeTwistConstraint_setMaxMotorImpulse_1,Mh=d._emscripten_bind_btConeTwistConstraint_setMotorTargetInConstraintSpace_1=h._emscripten_bind_btConeTwistConstraint_setMotorTargetInConstraintSpace_1,Nh=d._emscripten_bind_btConeTwistConstraint_setMotorTarget_1=h._emscripten_bind_btConeTwistConstraint_setMotorTarget_1,Oh=d._emscripten_bind_btConeTwistConstraint_setParam_3=h._emscripten_bind_btConeTwistConstraint_setParam_3,Ph=d._emscripten_bind_btConstraintSetting___destroy___0=h._emscripten_bind_btConstraintSetting___destroy___0, +Qh=d._emscripten_bind_btConstraintSetting_btConstraintSetting_0=h._emscripten_bind_btConstraintSetting_btConstraintSetting_0,Rh=d._emscripten_bind_btConstraintSetting_get_m_damping_0=h._emscripten_bind_btConstraintSetting_get_m_damping_0,Sh=d._emscripten_bind_btConstraintSetting_get_m_impulseClamp_0=h._emscripten_bind_btConstraintSetting_get_m_impulseClamp_0,Th=d._emscripten_bind_btConstraintSetting_get_m_tau_0=h._emscripten_bind_btConstraintSetting_get_m_tau_0,Uh=d._emscripten_bind_btConstraintSetting_set_m_damping_1= +h._emscripten_bind_btConstraintSetting_set_m_damping_1,Vh=d._emscripten_bind_btConstraintSetting_set_m_impulseClamp_1=h._emscripten_bind_btConstraintSetting_set_m_impulseClamp_1,Wh=d._emscripten_bind_btConstraintSetting_set_m_tau_1=h._emscripten_bind_btConstraintSetting_set_m_tau_1,Xh=d._emscripten_bind_btConstraintSolver___destroy___0=h._emscripten_bind_btConstraintSolver___destroy___0,Yh=d._emscripten_bind_btContactSolverInfo___destroy___0=h._emscripten_bind_btContactSolverInfo___destroy___0,Zh= +d._emscripten_bind_btContactSolverInfo_get_m_numIterations_0=h._emscripten_bind_btContactSolverInfo_get_m_numIterations_0,$h=d._emscripten_bind_btContactSolverInfo_get_m_splitImpulsePenetrationThreshold_0=h._emscripten_bind_btContactSolverInfo_get_m_splitImpulsePenetrationThreshold_0,ai=d._emscripten_bind_btContactSolverInfo_get_m_splitImpulse_0=h._emscripten_bind_btContactSolverInfo_get_m_splitImpulse_0,bi=d._emscripten_bind_btContactSolverInfo_set_m_numIterations_1=h._emscripten_bind_btContactSolverInfo_set_m_numIterations_1, +ci=d._emscripten_bind_btContactSolverInfo_set_m_splitImpulsePenetrationThreshold_1=h._emscripten_bind_btContactSolverInfo_set_m_splitImpulsePenetrationThreshold_1,di=d._emscripten_bind_btContactSolverInfo_set_m_splitImpulse_1=h._emscripten_bind_btContactSolverInfo_set_m_splitImpulse_1,ei=d._emscripten_bind_btConvexHullShape___destroy___0=h._emscripten_bind_btConvexHullShape___destroy___0,fi=d._emscripten_bind_btConvexHullShape_addPoint_1=h._emscripten_bind_btConvexHullShape_addPoint_1,gi=d._emscripten_bind_btConvexHullShape_addPoint_2= +h._emscripten_bind_btConvexHullShape_addPoint_2,hi=d._emscripten_bind_btConvexHullShape_btConvexHullShape_0=h._emscripten_bind_btConvexHullShape_btConvexHullShape_0,ii=d._emscripten_bind_btConvexHullShape_btConvexHullShape_1=h._emscripten_bind_btConvexHullShape_btConvexHullShape_1,ji=d._emscripten_bind_btConvexHullShape_btConvexHullShape_2=h._emscripten_bind_btConvexHullShape_btConvexHullShape_2,ki=d._emscripten_bind_btConvexHullShape_calculateLocalInertia_2=h._emscripten_bind_btConvexHullShape_calculateLocalInertia_2, +li=d._emscripten_bind_btConvexHullShape_getConvexPolyhedron_0=h._emscripten_bind_btConvexHullShape_getConvexPolyhedron_0,mi=d._emscripten_bind_btConvexHullShape_getLocalScaling_0=h._emscripten_bind_btConvexHullShape_getLocalScaling_0,ni=d._emscripten_bind_btConvexHullShape_getMargin_0=h._emscripten_bind_btConvexHullShape_getMargin_0,oi=d._emscripten_bind_btConvexHullShape_getNumVertices_0=h._emscripten_bind_btConvexHullShape_getNumVertices_0,pi=d._emscripten_bind_btConvexHullShape_initializePolyhedralFeatures_1= +h._emscripten_bind_btConvexHullShape_initializePolyhedralFeatures_1,qi=d._emscripten_bind_btConvexHullShape_recalcLocalAabb_0=h._emscripten_bind_btConvexHullShape_recalcLocalAabb_0,ri=d._emscripten_bind_btConvexHullShape_setLocalScaling_1=h._emscripten_bind_btConvexHullShape_setLocalScaling_1,si=d._emscripten_bind_btConvexHullShape_setMargin_1=h._emscripten_bind_btConvexHullShape_setMargin_1,ti=d._emscripten_bind_btConvexPolyhedron___destroy___0=h._emscripten_bind_btConvexPolyhedron___destroy___0, +ui=d._emscripten_bind_btConvexPolyhedron_get_m_faces_0=h._emscripten_bind_btConvexPolyhedron_get_m_faces_0,vi=d._emscripten_bind_btConvexPolyhedron_get_m_vertices_0=h._emscripten_bind_btConvexPolyhedron_get_m_vertices_0,wi=d._emscripten_bind_btConvexPolyhedron_set_m_faces_1=h._emscripten_bind_btConvexPolyhedron_set_m_faces_1,xi=d._emscripten_bind_btConvexPolyhedron_set_m_vertices_1=h._emscripten_bind_btConvexPolyhedron_set_m_vertices_1,yi=d._emscripten_bind_btConvexShape___destroy___0=h._emscripten_bind_btConvexShape___destroy___0, +zi=d._emscripten_bind_btConvexShape_calculateLocalInertia_2=h._emscripten_bind_btConvexShape_calculateLocalInertia_2,Ai=d._emscripten_bind_btConvexShape_getLocalScaling_0=h._emscripten_bind_btConvexShape_getLocalScaling_0,Bi=d._emscripten_bind_btConvexShape_getMargin_0=h._emscripten_bind_btConvexShape_getMargin_0,Ci=d._emscripten_bind_btConvexShape_setLocalScaling_1=h._emscripten_bind_btConvexShape_setLocalScaling_1,Di=d._emscripten_bind_btConvexShape_setMargin_1=h._emscripten_bind_btConvexShape_setMargin_1, +Ei=d._emscripten_bind_btConvexTriangleMeshShape___destroy___0=h._emscripten_bind_btConvexTriangleMeshShape___destroy___0,Fi=d._emscripten_bind_btConvexTriangleMeshShape_btConvexTriangleMeshShape_1=h._emscripten_bind_btConvexTriangleMeshShape_btConvexTriangleMeshShape_1,Gi=d._emscripten_bind_btConvexTriangleMeshShape_btConvexTriangleMeshShape_2=h._emscripten_bind_btConvexTriangleMeshShape_btConvexTriangleMeshShape_2,Hi=d._emscripten_bind_btConvexTriangleMeshShape_calculateLocalInertia_2=h._emscripten_bind_btConvexTriangleMeshShape_calculateLocalInertia_2, +Ii=d._emscripten_bind_btConvexTriangleMeshShape_getLocalScaling_0=h._emscripten_bind_btConvexTriangleMeshShape_getLocalScaling_0,Ji=d._emscripten_bind_btConvexTriangleMeshShape_getMargin_0=h._emscripten_bind_btConvexTriangleMeshShape_getMargin_0,Ki=d._emscripten_bind_btConvexTriangleMeshShape_setLocalScaling_1=h._emscripten_bind_btConvexTriangleMeshShape_setLocalScaling_1,Li=d._emscripten_bind_btConvexTriangleMeshShape_setMargin_1=h._emscripten_bind_btConvexTriangleMeshShape_setMargin_1,Mi=d._emscripten_bind_btCylinderShapeX___destroy___0= +h._emscripten_bind_btCylinderShapeX___destroy___0,Ni=d._emscripten_bind_btCylinderShapeX_btCylinderShapeX_1=h._emscripten_bind_btCylinderShapeX_btCylinderShapeX_1,Oi=d._emscripten_bind_btCylinderShapeX_calculateLocalInertia_2=h._emscripten_bind_btCylinderShapeX_calculateLocalInertia_2,Pi=d._emscripten_bind_btCylinderShapeX_getLocalScaling_0=h._emscripten_bind_btCylinderShapeX_getLocalScaling_0,Qi=d._emscripten_bind_btCylinderShapeX_getMargin_0=h._emscripten_bind_btCylinderShapeX_getMargin_0,Ri=d._emscripten_bind_btCylinderShapeX_setLocalScaling_1= +h._emscripten_bind_btCylinderShapeX_setLocalScaling_1,Si=d._emscripten_bind_btCylinderShapeX_setMargin_1=h._emscripten_bind_btCylinderShapeX_setMargin_1,Ti=d._emscripten_bind_btCylinderShapeZ___destroy___0=h._emscripten_bind_btCylinderShapeZ___destroy___0,Ui=d._emscripten_bind_btCylinderShapeZ_btCylinderShapeZ_1=h._emscripten_bind_btCylinderShapeZ_btCylinderShapeZ_1,Vi=d._emscripten_bind_btCylinderShapeZ_calculateLocalInertia_2=h._emscripten_bind_btCylinderShapeZ_calculateLocalInertia_2,Wi=d._emscripten_bind_btCylinderShapeZ_getLocalScaling_0= +h._emscripten_bind_btCylinderShapeZ_getLocalScaling_0,Xi=d._emscripten_bind_btCylinderShapeZ_getMargin_0=h._emscripten_bind_btCylinderShapeZ_getMargin_0,Yi=d._emscripten_bind_btCylinderShapeZ_setLocalScaling_1=h._emscripten_bind_btCylinderShapeZ_setLocalScaling_1,Zi=d._emscripten_bind_btCylinderShapeZ_setMargin_1=h._emscripten_bind_btCylinderShapeZ_setMargin_1,$i=d._emscripten_bind_btCylinderShape___destroy___0=h._emscripten_bind_btCylinderShape___destroy___0,aj=d._emscripten_bind_btCylinderShape_btCylinderShape_1= +h._emscripten_bind_btCylinderShape_btCylinderShape_1,bj=d._emscripten_bind_btCylinderShape_calculateLocalInertia_2=h._emscripten_bind_btCylinderShape_calculateLocalInertia_2,cj=d._emscripten_bind_btCylinderShape_getLocalScaling_0=h._emscripten_bind_btCylinderShape_getLocalScaling_0,dj=d._emscripten_bind_btCylinderShape_getMargin_0=h._emscripten_bind_btCylinderShape_getMargin_0,ej=d._emscripten_bind_btCylinderShape_setLocalScaling_1=h._emscripten_bind_btCylinderShape_setLocalScaling_1,fj=d._emscripten_bind_btCylinderShape_setMargin_1= +h._emscripten_bind_btCylinderShape_setMargin_1,gj=d._emscripten_bind_btDbvtBroadphase___destroy___0=h._emscripten_bind_btDbvtBroadphase___destroy___0,hj=d._emscripten_bind_btDbvtBroadphase_btDbvtBroadphase_0=h._emscripten_bind_btDbvtBroadphase_btDbvtBroadphase_0,ij=d._emscripten_bind_btDefaultCollisionConfiguration___destroy___0=h._emscripten_bind_btDefaultCollisionConfiguration___destroy___0,jj=d._emscripten_bind_btDefaultCollisionConfiguration_btDefaultCollisionConfiguration_0=h._emscripten_bind_btDefaultCollisionConfiguration_btDefaultCollisionConfiguration_0, +kj=d._emscripten_bind_btDefaultCollisionConfiguration_btDefaultCollisionConfiguration_1=h._emscripten_bind_btDefaultCollisionConfiguration_btDefaultCollisionConfiguration_1,lj=d._emscripten_bind_btDefaultCollisionConstructionInfo___destroy___0=h._emscripten_bind_btDefaultCollisionConstructionInfo___destroy___0,mj=d._emscripten_bind_btDefaultCollisionConstructionInfo_btDefaultCollisionConstructionInfo_0=h._emscripten_bind_btDefaultCollisionConstructionInfo_btDefaultCollisionConstructionInfo_0,nj=d._emscripten_bind_btDefaultMotionState___destroy___0= +h._emscripten_bind_btDefaultMotionState___destroy___0,oj=d._emscripten_bind_btDefaultMotionState_btDefaultMotionState_0=h._emscripten_bind_btDefaultMotionState_btDefaultMotionState_0,pj=d._emscripten_bind_btDefaultMotionState_btDefaultMotionState_1=h._emscripten_bind_btDefaultMotionState_btDefaultMotionState_1,qj=d._emscripten_bind_btDefaultMotionState_btDefaultMotionState_2=h._emscripten_bind_btDefaultMotionState_btDefaultMotionState_2,rj=d._emscripten_bind_btDefaultMotionState_getWorldTransform_1= +h._emscripten_bind_btDefaultMotionState_getWorldTransform_1,sj=d._emscripten_bind_btDefaultMotionState_get_m_graphicsWorldTrans_0=h._emscripten_bind_btDefaultMotionState_get_m_graphicsWorldTrans_0,tj=d._emscripten_bind_btDefaultMotionState_setWorldTransform_1=h._emscripten_bind_btDefaultMotionState_setWorldTransform_1,uj=d._emscripten_bind_btDefaultMotionState_set_m_graphicsWorldTrans_1=h._emscripten_bind_btDefaultMotionState_set_m_graphicsWorldTrans_1,vj=d._emscripten_bind_btDefaultSoftBodySolver___destroy___0= +h._emscripten_bind_btDefaultSoftBodySolver___destroy___0,wj=d._emscripten_bind_btDefaultSoftBodySolver_btDefaultSoftBodySolver_0=h._emscripten_bind_btDefaultSoftBodySolver_btDefaultSoftBodySolver_0,xj=d._emscripten_bind_btDefaultVehicleRaycaster___destroy___0=h._emscripten_bind_btDefaultVehicleRaycaster___destroy___0,yj=d._emscripten_bind_btDefaultVehicleRaycaster_btDefaultVehicleRaycaster_1=h._emscripten_bind_btDefaultVehicleRaycaster_btDefaultVehicleRaycaster_1,zj=d._emscripten_bind_btDefaultVehicleRaycaster_castRay_3= +h._emscripten_bind_btDefaultVehicleRaycaster_castRay_3,Aj=d._emscripten_bind_btDiscreteDynamicsWorld___destroy___0=h._emscripten_bind_btDiscreteDynamicsWorld___destroy___0,Bj=d._emscripten_bind_btDiscreteDynamicsWorld_addAction_1=h._emscripten_bind_btDiscreteDynamicsWorld_addAction_1,Cj=d._emscripten_bind_btDiscreteDynamicsWorld_addCollisionObject_1=h._emscripten_bind_btDiscreteDynamicsWorld_addCollisionObject_1,Dj=d._emscripten_bind_btDiscreteDynamicsWorld_addCollisionObject_2=h._emscripten_bind_btDiscreteDynamicsWorld_addCollisionObject_2, +Ej=d._emscripten_bind_btDiscreteDynamicsWorld_addCollisionObject_3=h._emscripten_bind_btDiscreteDynamicsWorld_addCollisionObject_3,Fj=d._emscripten_bind_btDiscreteDynamicsWorld_addConstraint_1=h._emscripten_bind_btDiscreteDynamicsWorld_addConstraint_1,Gj=d._emscripten_bind_btDiscreteDynamicsWorld_addConstraint_2=h._emscripten_bind_btDiscreteDynamicsWorld_addConstraint_2,Hj=d._emscripten_bind_btDiscreteDynamicsWorld_addRigidBody_1=h._emscripten_bind_btDiscreteDynamicsWorld_addRigidBody_1,Ij=d._emscripten_bind_btDiscreteDynamicsWorld_addRigidBody_3= +h._emscripten_bind_btDiscreteDynamicsWorld_addRigidBody_3,Jj=d._emscripten_bind_btDiscreteDynamicsWorld_btDiscreteDynamicsWorld_4=h._emscripten_bind_btDiscreteDynamicsWorld_btDiscreteDynamicsWorld_4,Kj=d._emscripten_bind_btDiscreteDynamicsWorld_contactPairTest_3=h._emscripten_bind_btDiscreteDynamicsWorld_contactPairTest_3,Lj=d._emscripten_bind_btDiscreteDynamicsWorld_contactTest_2=h._emscripten_bind_btDiscreteDynamicsWorld_contactTest_2,Mj=d._emscripten_bind_btDiscreteDynamicsWorld_convexSweepTest_5= +h._emscripten_bind_btDiscreteDynamicsWorld_convexSweepTest_5,Nj=d._emscripten_bind_btDiscreteDynamicsWorld_debugDrawObject_3=h._emscripten_bind_btDiscreteDynamicsWorld_debugDrawObject_3,Oj=d._emscripten_bind_btDiscreteDynamicsWorld_debugDrawWorld_0=h._emscripten_bind_btDiscreteDynamicsWorld_debugDrawWorld_0,Pj=d._emscripten_bind_btDiscreteDynamicsWorld_getBroadphase_0=h._emscripten_bind_btDiscreteDynamicsWorld_getBroadphase_0,Qj=d._emscripten_bind_btDiscreteDynamicsWorld_getDebugDrawer_0=h._emscripten_bind_btDiscreteDynamicsWorld_getDebugDrawer_0, +Rj=d._emscripten_bind_btDiscreteDynamicsWorld_getDispatchInfo_0=h._emscripten_bind_btDiscreteDynamicsWorld_getDispatchInfo_0,Sj=d._emscripten_bind_btDiscreteDynamicsWorld_getDispatcher_0=h._emscripten_bind_btDiscreteDynamicsWorld_getDispatcher_0,Tj=d._emscripten_bind_btDiscreteDynamicsWorld_getGravity_0=h._emscripten_bind_btDiscreteDynamicsWorld_getGravity_0,Uj=d._emscripten_bind_btDiscreteDynamicsWorld_getPairCache_0=h._emscripten_bind_btDiscreteDynamicsWorld_getPairCache_0,Vj=d._emscripten_bind_btDiscreteDynamicsWorld_getSolverInfo_0= +h._emscripten_bind_btDiscreteDynamicsWorld_getSolverInfo_0,Wj=d._emscripten_bind_btDiscreteDynamicsWorld_rayTest_3=h._emscripten_bind_btDiscreteDynamicsWorld_rayTest_3,Xj=d._emscripten_bind_btDiscreteDynamicsWorld_removeAction_1=h._emscripten_bind_btDiscreteDynamicsWorld_removeAction_1,Yj=d._emscripten_bind_btDiscreteDynamicsWorld_removeCollisionObject_1=h._emscripten_bind_btDiscreteDynamicsWorld_removeCollisionObject_1,Zj=d._emscripten_bind_btDiscreteDynamicsWorld_removeConstraint_1=h._emscripten_bind_btDiscreteDynamicsWorld_removeConstraint_1, +ak=d._emscripten_bind_btDiscreteDynamicsWorld_removeRigidBody_1=h._emscripten_bind_btDiscreteDynamicsWorld_removeRigidBody_1,bk=d._emscripten_bind_btDiscreteDynamicsWorld_setDebugDrawer_1=h._emscripten_bind_btDiscreteDynamicsWorld_setDebugDrawer_1,ck=d._emscripten_bind_btDiscreteDynamicsWorld_setGravity_1=h._emscripten_bind_btDiscreteDynamicsWorld_setGravity_1,dk=d._emscripten_bind_btDiscreteDynamicsWorld_stepSimulation_1=h._emscripten_bind_btDiscreteDynamicsWorld_stepSimulation_1,ek=d._emscripten_bind_btDiscreteDynamicsWorld_stepSimulation_2= +h._emscripten_bind_btDiscreteDynamicsWorld_stepSimulation_2,fk=d._emscripten_bind_btDiscreteDynamicsWorld_stepSimulation_3=h._emscripten_bind_btDiscreteDynamicsWorld_stepSimulation_3,gk=d._emscripten_bind_btDiscreteDynamicsWorld_updateSingleAabb_1=h._emscripten_bind_btDiscreteDynamicsWorld_updateSingleAabb_1,hk=d._emscripten_bind_btDispatcherInfo___destroy___0=h._emscripten_bind_btDispatcherInfo___destroy___0,ik=d._emscripten_bind_btDispatcherInfo_get_m_allowedCcdPenetration_0=h._emscripten_bind_btDispatcherInfo_get_m_allowedCcdPenetration_0, +jk=d._emscripten_bind_btDispatcherInfo_get_m_convexConservativeDistanceThreshold_0=h._emscripten_bind_btDispatcherInfo_get_m_convexConservativeDistanceThreshold_0,kk=d._emscripten_bind_btDispatcherInfo_get_m_dispatchFunc_0=h._emscripten_bind_btDispatcherInfo_get_m_dispatchFunc_0,lk=d._emscripten_bind_btDispatcherInfo_get_m_enableSPU_0=h._emscripten_bind_btDispatcherInfo_get_m_enableSPU_0,mk=d._emscripten_bind_btDispatcherInfo_get_m_enableSatConvex_0=h._emscripten_bind_btDispatcherInfo_get_m_enableSatConvex_0, +nk=d._emscripten_bind_btDispatcherInfo_get_m_stepCount_0=h._emscripten_bind_btDispatcherInfo_get_m_stepCount_0,ok=d._emscripten_bind_btDispatcherInfo_get_m_timeOfImpact_0=h._emscripten_bind_btDispatcherInfo_get_m_timeOfImpact_0,pk=d._emscripten_bind_btDispatcherInfo_get_m_timeStep_0=h._emscripten_bind_btDispatcherInfo_get_m_timeStep_0,qk=d._emscripten_bind_btDispatcherInfo_get_m_useContinuous_0=h._emscripten_bind_btDispatcherInfo_get_m_useContinuous_0,rk=d._emscripten_bind_btDispatcherInfo_get_m_useConvexConservativeDistanceUtil_0= +h._emscripten_bind_btDispatcherInfo_get_m_useConvexConservativeDistanceUtil_0,sk=d._emscripten_bind_btDispatcherInfo_get_m_useEpa_0=h._emscripten_bind_btDispatcherInfo_get_m_useEpa_0,tk=d._emscripten_bind_btDispatcherInfo_set_m_allowedCcdPenetration_1=h._emscripten_bind_btDispatcherInfo_set_m_allowedCcdPenetration_1,uk=d._emscripten_bind_btDispatcherInfo_set_m_convexConservativeDistanceThreshold_1=h._emscripten_bind_btDispatcherInfo_set_m_convexConservativeDistanceThreshold_1,vk=d._emscripten_bind_btDispatcherInfo_set_m_dispatchFunc_1= +h._emscripten_bind_btDispatcherInfo_set_m_dispatchFunc_1,wk=d._emscripten_bind_btDispatcherInfo_set_m_enableSPU_1=h._emscripten_bind_btDispatcherInfo_set_m_enableSPU_1,xk=d._emscripten_bind_btDispatcherInfo_set_m_enableSatConvex_1=h._emscripten_bind_btDispatcherInfo_set_m_enableSatConvex_1,yk=d._emscripten_bind_btDispatcherInfo_set_m_stepCount_1=h._emscripten_bind_btDispatcherInfo_set_m_stepCount_1,zk=d._emscripten_bind_btDispatcherInfo_set_m_timeOfImpact_1=h._emscripten_bind_btDispatcherInfo_set_m_timeOfImpact_1, +Ak=d._emscripten_bind_btDispatcherInfo_set_m_timeStep_1=h._emscripten_bind_btDispatcherInfo_set_m_timeStep_1,Bk=d._emscripten_bind_btDispatcherInfo_set_m_useContinuous_1=h._emscripten_bind_btDispatcherInfo_set_m_useContinuous_1,Ck=d._emscripten_bind_btDispatcherInfo_set_m_useConvexConservativeDistanceUtil_1=h._emscripten_bind_btDispatcherInfo_set_m_useConvexConservativeDistanceUtil_1,Dk=d._emscripten_bind_btDispatcherInfo_set_m_useEpa_1=h._emscripten_bind_btDispatcherInfo_set_m_useEpa_1,Ek=d._emscripten_bind_btDispatcher___destroy___0= +h._emscripten_bind_btDispatcher___destroy___0,Fk=d._emscripten_bind_btDispatcher_getManifoldByIndexInternal_1=h._emscripten_bind_btDispatcher_getManifoldByIndexInternal_1,Gk=d._emscripten_bind_btDispatcher_getNumManifolds_0=h._emscripten_bind_btDispatcher_getNumManifolds_0,Hk=d._emscripten_bind_btDynamicsWorld___destroy___0=h._emscripten_bind_btDynamicsWorld___destroy___0,Ik=d._emscripten_bind_btDynamicsWorld_addAction_1=h._emscripten_bind_btDynamicsWorld_addAction_1,Jk=d._emscripten_bind_btDynamicsWorld_addCollisionObject_1= +h._emscripten_bind_btDynamicsWorld_addCollisionObject_1,Kk=d._emscripten_bind_btDynamicsWorld_addCollisionObject_2=h._emscripten_bind_btDynamicsWorld_addCollisionObject_2,Lk=d._emscripten_bind_btDynamicsWorld_addCollisionObject_3=h._emscripten_bind_btDynamicsWorld_addCollisionObject_3,Mk=d._emscripten_bind_btDynamicsWorld_contactPairTest_3=h._emscripten_bind_btDynamicsWorld_contactPairTest_3,Nk=d._emscripten_bind_btDynamicsWorld_contactTest_2=h._emscripten_bind_btDynamicsWorld_contactTest_2,Ok=d._emscripten_bind_btDynamicsWorld_convexSweepTest_5= +h._emscripten_bind_btDynamicsWorld_convexSweepTest_5,Pk=d._emscripten_bind_btDynamicsWorld_debugDrawObject_3=h._emscripten_bind_btDynamicsWorld_debugDrawObject_3,Qk=d._emscripten_bind_btDynamicsWorld_debugDrawWorld_0=h._emscripten_bind_btDynamicsWorld_debugDrawWorld_0,Rk=d._emscripten_bind_btDynamicsWorld_getBroadphase_0=h._emscripten_bind_btDynamicsWorld_getBroadphase_0,Sk=d._emscripten_bind_btDynamicsWorld_getDebugDrawer_0=h._emscripten_bind_btDynamicsWorld_getDebugDrawer_0,Tk=d._emscripten_bind_btDynamicsWorld_getDispatchInfo_0= +h._emscripten_bind_btDynamicsWorld_getDispatchInfo_0,Uk=d._emscripten_bind_btDynamicsWorld_getDispatcher_0=h._emscripten_bind_btDynamicsWorld_getDispatcher_0,Vk=d._emscripten_bind_btDynamicsWorld_getPairCache_0=h._emscripten_bind_btDynamicsWorld_getPairCache_0,Wk=d._emscripten_bind_btDynamicsWorld_getSolverInfo_0=h._emscripten_bind_btDynamicsWorld_getSolverInfo_0,Xk=d._emscripten_bind_btDynamicsWorld_rayTest_3=h._emscripten_bind_btDynamicsWorld_rayTest_3,Yk=d._emscripten_bind_btDynamicsWorld_removeAction_1= +h._emscripten_bind_btDynamicsWorld_removeAction_1,Zk=d._emscripten_bind_btDynamicsWorld_removeCollisionObject_1=h._emscripten_bind_btDynamicsWorld_removeCollisionObject_1,$k=d._emscripten_bind_btDynamicsWorld_setDebugDrawer_1=h._emscripten_bind_btDynamicsWorld_setDebugDrawer_1,al=d._emscripten_bind_btDynamicsWorld_updateSingleAabb_1=h._emscripten_bind_btDynamicsWorld_updateSingleAabb_1,bl=d._emscripten_bind_btFaceArray___destroy___0=h._emscripten_bind_btFaceArray___destroy___0,cl=d._emscripten_bind_btFaceArray_at_1= +h._emscripten_bind_btFaceArray_at_1,dl=d._emscripten_bind_btFaceArray_size_0=h._emscripten_bind_btFaceArray_size_0,el=d._emscripten_bind_btFace___destroy___0=h._emscripten_bind_btFace___destroy___0,fl=d._emscripten_bind_btFace_get_m_indices_0=h._emscripten_bind_btFace_get_m_indices_0,gl=d._emscripten_bind_btFace_get_m_plane_1=h._emscripten_bind_btFace_get_m_plane_1,hl=d._emscripten_bind_btFace_set_m_indices_1=h._emscripten_bind_btFace_set_m_indices_1,il=d._emscripten_bind_btFace_set_m_plane_2=h._emscripten_bind_btFace_set_m_plane_2, +jl=d._emscripten_bind_btFixedConstraint___destroy___0=h._emscripten_bind_btFixedConstraint___destroy___0,kl=d._emscripten_bind_btFixedConstraint_btFixedConstraint_4=h._emscripten_bind_btFixedConstraint_btFixedConstraint_4,ll=d._emscripten_bind_btFixedConstraint_enableFeedback_1=h._emscripten_bind_btFixedConstraint_enableFeedback_1,ml=d._emscripten_bind_btFixedConstraint_getBreakingImpulseThreshold_0=h._emscripten_bind_btFixedConstraint_getBreakingImpulseThreshold_0,nl=d._emscripten_bind_btFixedConstraint_getParam_2= +h._emscripten_bind_btFixedConstraint_getParam_2,ol=d._emscripten_bind_btFixedConstraint_setBreakingImpulseThreshold_1=h._emscripten_bind_btFixedConstraint_setBreakingImpulseThreshold_1,pl=d._emscripten_bind_btFixedConstraint_setParam_3=h._emscripten_bind_btFixedConstraint_setParam_3,ql=d._emscripten_bind_btGeneric6DofConstraint___destroy___0=h._emscripten_bind_btGeneric6DofConstraint___destroy___0,rl=d._emscripten_bind_btGeneric6DofConstraint_btGeneric6DofConstraint_3=h._emscripten_bind_btGeneric6DofConstraint_btGeneric6DofConstraint_3, +sl=d._emscripten_bind_btGeneric6DofConstraint_btGeneric6DofConstraint_5=h._emscripten_bind_btGeneric6DofConstraint_btGeneric6DofConstraint_5,tl=d._emscripten_bind_btGeneric6DofConstraint_enableFeedback_1=h._emscripten_bind_btGeneric6DofConstraint_enableFeedback_1,ul=d._emscripten_bind_btGeneric6DofConstraint_getBreakingImpulseThreshold_0=h._emscripten_bind_btGeneric6DofConstraint_getBreakingImpulseThreshold_0,vl=d._emscripten_bind_btGeneric6DofConstraint_getFrameOffsetA_0=h._emscripten_bind_btGeneric6DofConstraint_getFrameOffsetA_0, +wl=d._emscripten_bind_btGeneric6DofConstraint_getParam_2=h._emscripten_bind_btGeneric6DofConstraint_getParam_2,xl=d._emscripten_bind_btGeneric6DofConstraint_setAngularLowerLimit_1=h._emscripten_bind_btGeneric6DofConstraint_setAngularLowerLimit_1,yl=d._emscripten_bind_btGeneric6DofConstraint_setAngularUpperLimit_1=h._emscripten_bind_btGeneric6DofConstraint_setAngularUpperLimit_1,zl=d._emscripten_bind_btGeneric6DofConstraint_setBreakingImpulseThreshold_1=h._emscripten_bind_btGeneric6DofConstraint_setBreakingImpulseThreshold_1, +Al=d._emscripten_bind_btGeneric6DofConstraint_setLinearLowerLimit_1=h._emscripten_bind_btGeneric6DofConstraint_setLinearLowerLimit_1,Bl=d._emscripten_bind_btGeneric6DofConstraint_setLinearUpperLimit_1=h._emscripten_bind_btGeneric6DofConstraint_setLinearUpperLimit_1,Cl=d._emscripten_bind_btGeneric6DofConstraint_setParam_3=h._emscripten_bind_btGeneric6DofConstraint_setParam_3,Dl=d._emscripten_bind_btGeneric6DofSpringConstraint___destroy___0=h._emscripten_bind_btGeneric6DofSpringConstraint___destroy___0, +El=d._emscripten_bind_btGeneric6DofSpringConstraint_btGeneric6DofSpringConstraint_3=h._emscripten_bind_btGeneric6DofSpringConstraint_btGeneric6DofSpringConstraint_3,Fl=d._emscripten_bind_btGeneric6DofSpringConstraint_btGeneric6DofSpringConstraint_5=h._emscripten_bind_btGeneric6DofSpringConstraint_btGeneric6DofSpringConstraint_5,Gl=d._emscripten_bind_btGeneric6DofSpringConstraint_enableFeedback_1=h._emscripten_bind_btGeneric6DofSpringConstraint_enableFeedback_1,Hl=d._emscripten_bind_btGeneric6DofSpringConstraint_enableSpring_2= +h._emscripten_bind_btGeneric6DofSpringConstraint_enableSpring_2,Il=d._emscripten_bind_btGeneric6DofSpringConstraint_getBreakingImpulseThreshold_0=h._emscripten_bind_btGeneric6DofSpringConstraint_getBreakingImpulseThreshold_0,Jl=d._emscripten_bind_btGeneric6DofSpringConstraint_getFrameOffsetA_0=h._emscripten_bind_btGeneric6DofSpringConstraint_getFrameOffsetA_0,Kl=d._emscripten_bind_btGeneric6DofSpringConstraint_getParam_2=h._emscripten_bind_btGeneric6DofSpringConstraint_getParam_2,Ll=d._emscripten_bind_btGeneric6DofSpringConstraint_setAngularLowerLimit_1= +h._emscripten_bind_btGeneric6DofSpringConstraint_setAngularLowerLimit_1,Ml=d._emscripten_bind_btGeneric6DofSpringConstraint_setAngularUpperLimit_1=h._emscripten_bind_btGeneric6DofSpringConstraint_setAngularUpperLimit_1,Nl=d._emscripten_bind_btGeneric6DofSpringConstraint_setBreakingImpulseThreshold_1=h._emscripten_bind_btGeneric6DofSpringConstraint_setBreakingImpulseThreshold_1,Ol=d._emscripten_bind_btGeneric6DofSpringConstraint_setDamping_2=h._emscripten_bind_btGeneric6DofSpringConstraint_setDamping_2, +Pl=d._emscripten_bind_btGeneric6DofSpringConstraint_setLinearLowerLimit_1=h._emscripten_bind_btGeneric6DofSpringConstraint_setLinearLowerLimit_1,Ql=d._emscripten_bind_btGeneric6DofSpringConstraint_setLinearUpperLimit_1=h._emscripten_bind_btGeneric6DofSpringConstraint_setLinearUpperLimit_1,Rl=d._emscripten_bind_btGeneric6DofSpringConstraint_setParam_3=h._emscripten_bind_btGeneric6DofSpringConstraint_setParam_3,Sl=d._emscripten_bind_btGeneric6DofSpringConstraint_setStiffness_2=h._emscripten_bind_btGeneric6DofSpringConstraint_setStiffness_2, +Tl=d._emscripten_bind_btGhostObject___destroy___0=h._emscripten_bind_btGhostObject___destroy___0,Ul=d._emscripten_bind_btGhostObject_activate_0=h._emscripten_bind_btGhostObject_activate_0,Vl=d._emscripten_bind_btGhostObject_activate_1=h._emscripten_bind_btGhostObject_activate_1,Wl=d._emscripten_bind_btGhostObject_btGhostObject_0=h._emscripten_bind_btGhostObject_btGhostObject_0,Xl=d._emscripten_bind_btGhostObject_forceActivationState_1=h._emscripten_bind_btGhostObject_forceActivationState_1,Yl=d._emscripten_bind_btGhostObject_getCollisionFlags_0= +h._emscripten_bind_btGhostObject_getCollisionFlags_0,Zl=d._emscripten_bind_btGhostObject_getCollisionShape_0=h._emscripten_bind_btGhostObject_getCollisionShape_0,$l=d._emscripten_bind_btGhostObject_getNumOverlappingObjects_0=h._emscripten_bind_btGhostObject_getNumOverlappingObjects_0,am=d._emscripten_bind_btGhostObject_getOverlappingObject_1=h._emscripten_bind_btGhostObject_getOverlappingObject_1,bm=d._emscripten_bind_btGhostObject_getUserIndex_0=h._emscripten_bind_btGhostObject_getUserIndex_0,cm= +d._emscripten_bind_btGhostObject_getUserPointer_0=h._emscripten_bind_btGhostObject_getUserPointer_0,dm=d._emscripten_bind_btGhostObject_getWorldTransform_0=h._emscripten_bind_btGhostObject_getWorldTransform_0,em=d._emscripten_bind_btGhostObject_isActive_0=h._emscripten_bind_btGhostObject_isActive_0,fm=d._emscripten_bind_btGhostObject_isKinematicObject_0=h._emscripten_bind_btGhostObject_isKinematicObject_0,gm=d._emscripten_bind_btGhostObject_isStaticObject_0=h._emscripten_bind_btGhostObject_isStaticObject_0, +hm=d._emscripten_bind_btGhostObject_isStaticOrKinematicObject_0=h._emscripten_bind_btGhostObject_isStaticOrKinematicObject_0,im=d._emscripten_bind_btGhostObject_setActivationState_1=h._emscripten_bind_btGhostObject_setActivationState_1,jm=d._emscripten_bind_btGhostObject_setAnisotropicFriction_2=h._emscripten_bind_btGhostObject_setAnisotropicFriction_2,km=d._emscripten_bind_btGhostObject_setCcdMotionThreshold_1=h._emscripten_bind_btGhostObject_setCcdMotionThreshold_1,lm=d._emscripten_bind_btGhostObject_setCcdSweptSphereRadius_1= +h._emscripten_bind_btGhostObject_setCcdSweptSphereRadius_1,mm=d._emscripten_bind_btGhostObject_setCollisionFlags_1=h._emscripten_bind_btGhostObject_setCollisionFlags_1,nm=d._emscripten_bind_btGhostObject_setCollisionShape_1=h._emscripten_bind_btGhostObject_setCollisionShape_1,om=d._emscripten_bind_btGhostObject_setContactProcessingThreshold_1=h._emscripten_bind_btGhostObject_setContactProcessingThreshold_1,pm=d._emscripten_bind_btGhostObject_setFriction_1=h._emscripten_bind_btGhostObject_setFriction_1, +qm=d._emscripten_bind_btGhostObject_setRestitution_1=h._emscripten_bind_btGhostObject_setRestitution_1,rm=d._emscripten_bind_btGhostObject_setRollingFriction_1=h._emscripten_bind_btGhostObject_setRollingFriction_1,sm=d._emscripten_bind_btGhostObject_setUserIndex_1=h._emscripten_bind_btGhostObject_setUserIndex_1,tm=d._emscripten_bind_btGhostObject_setUserPointer_1=h._emscripten_bind_btGhostObject_setUserPointer_1,um=d._emscripten_bind_btGhostObject_setWorldTransform_1=h._emscripten_bind_btGhostObject_setWorldTransform_1, +wm=d._emscripten_bind_btGhostPairCallback___destroy___0=h._emscripten_bind_btGhostPairCallback___destroy___0,xm=d._emscripten_bind_btGhostPairCallback_btGhostPairCallback_0=h._emscripten_bind_btGhostPairCallback_btGhostPairCallback_0,ym=d._emscripten_bind_btHeightfieldTerrainShape___destroy___0=h._emscripten_bind_btHeightfieldTerrainShape___destroy___0,zm=d._emscripten_bind_btHeightfieldTerrainShape_btHeightfieldTerrainShape_9=h._emscripten_bind_btHeightfieldTerrainShape_btHeightfieldTerrainShape_9, +Am=d._emscripten_bind_btHeightfieldTerrainShape_calculateLocalInertia_2=h._emscripten_bind_btHeightfieldTerrainShape_calculateLocalInertia_2,Bm=d._emscripten_bind_btHeightfieldTerrainShape_getLocalScaling_0=h._emscripten_bind_btHeightfieldTerrainShape_getLocalScaling_0,Cm=d._emscripten_bind_btHeightfieldTerrainShape_getMargin_0=h._emscripten_bind_btHeightfieldTerrainShape_getMargin_0,Dm=d._emscripten_bind_btHeightfieldTerrainShape_setLocalScaling_1=h._emscripten_bind_btHeightfieldTerrainShape_setLocalScaling_1, +Em=d._emscripten_bind_btHeightfieldTerrainShape_setMargin_1=h._emscripten_bind_btHeightfieldTerrainShape_setMargin_1,Fm=d._emscripten_bind_btHingeConstraint___destroy___0=h._emscripten_bind_btHingeConstraint___destroy___0,Gm=d._emscripten_bind_btHingeConstraint_btHingeConstraint_2=h._emscripten_bind_btHingeConstraint_btHingeConstraint_2,Hm=d._emscripten_bind_btHingeConstraint_btHingeConstraint_3=h._emscripten_bind_btHingeConstraint_btHingeConstraint_3,Im=d._emscripten_bind_btHingeConstraint_btHingeConstraint_4= +h._emscripten_bind_btHingeConstraint_btHingeConstraint_4,Jm=d._emscripten_bind_btHingeConstraint_btHingeConstraint_5=h._emscripten_bind_btHingeConstraint_btHingeConstraint_5,Km=d._emscripten_bind_btHingeConstraint_btHingeConstraint_6=h._emscripten_bind_btHingeConstraint_btHingeConstraint_6,Lm=d._emscripten_bind_btHingeConstraint_btHingeConstraint_7=h._emscripten_bind_btHingeConstraint_btHingeConstraint_7,Mm=d._emscripten_bind_btHingeConstraint_enableAngularMotor_3=h._emscripten_bind_btHingeConstraint_enableAngularMotor_3, +Nm=d._emscripten_bind_btHingeConstraint_enableFeedback_1=h._emscripten_bind_btHingeConstraint_enableFeedback_1,Om=d._emscripten_bind_btHingeConstraint_enableMotor_1=h._emscripten_bind_btHingeConstraint_enableMotor_1,Pm=d._emscripten_bind_btHingeConstraint_getBreakingImpulseThreshold_0=h._emscripten_bind_btHingeConstraint_getBreakingImpulseThreshold_0,Qm=d._emscripten_bind_btHingeConstraint_getParam_2=h._emscripten_bind_btHingeConstraint_getParam_2,Rm=d._emscripten_bind_btHingeConstraint_setAngularOnly_1= +h._emscripten_bind_btHingeConstraint_setAngularOnly_1,Sm=d._emscripten_bind_btHingeConstraint_setBreakingImpulseThreshold_1=h._emscripten_bind_btHingeConstraint_setBreakingImpulseThreshold_1,Tm=d._emscripten_bind_btHingeConstraint_setLimit_4=h._emscripten_bind_btHingeConstraint_setLimit_4,Um=d._emscripten_bind_btHingeConstraint_setLimit_5=h._emscripten_bind_btHingeConstraint_setLimit_5,Vm=d._emscripten_bind_btHingeConstraint_setMaxMotorImpulse_1=h._emscripten_bind_btHingeConstraint_setMaxMotorImpulse_1, +Wm=d._emscripten_bind_btHingeConstraint_setMotorTarget_2=h._emscripten_bind_btHingeConstraint_setMotorTarget_2,Xm=d._emscripten_bind_btHingeConstraint_setParam_3=h._emscripten_bind_btHingeConstraint_setParam_3,Ym=d._emscripten_bind_btIDebugDraw___destroy___0=h._emscripten_bind_btIDebugDraw___destroy___0,Zm=d._emscripten_bind_btIDebugDraw_draw3dText_2=h._emscripten_bind_btIDebugDraw_draw3dText_2,$m=d._emscripten_bind_btIDebugDraw_drawContactPoint_5=h._emscripten_bind_btIDebugDraw_drawContactPoint_5, +an=d._emscripten_bind_btIDebugDraw_drawLine_3=h._emscripten_bind_btIDebugDraw_drawLine_3,bn=d._emscripten_bind_btIDebugDraw_getDebugMode_0=h._emscripten_bind_btIDebugDraw_getDebugMode_0,cn=d._emscripten_bind_btIDebugDraw_reportErrorWarning_1=h._emscripten_bind_btIDebugDraw_reportErrorWarning_1,dn=d._emscripten_bind_btIDebugDraw_setDebugMode_1=h._emscripten_bind_btIDebugDraw_setDebugMode_1,en=d._emscripten_bind_btIntArray___destroy___0=h._emscripten_bind_btIntArray___destroy___0,fn=d._emscripten_bind_btIntArray_at_1= +h._emscripten_bind_btIntArray_at_1,gn=d._emscripten_bind_btIntArray_size_0=h._emscripten_bind_btIntArray_size_0,hn=d._emscripten_bind_btKinematicCharacterController___destroy___0=h._emscripten_bind_btKinematicCharacterController___destroy___0,jn=d._emscripten_bind_btKinematicCharacterController_btKinematicCharacterController_3=h._emscripten_bind_btKinematicCharacterController_btKinematicCharacterController_3,kn=d._emscripten_bind_btKinematicCharacterController_btKinematicCharacterController_4=h._emscripten_bind_btKinematicCharacterController_btKinematicCharacterController_4, +ln=d._emscripten_bind_btKinematicCharacterController_canJump_0=h._emscripten_bind_btKinematicCharacterController_canJump_0,mn=d._emscripten_bind_btKinematicCharacterController_getGhostObject_0=h._emscripten_bind_btKinematicCharacterController_getGhostObject_0,nn=d._emscripten_bind_btKinematicCharacterController_getGravity_0=h._emscripten_bind_btKinematicCharacterController_getGravity_0,on=d._emscripten_bind_btKinematicCharacterController_getMaxSlope_0=h._emscripten_bind_btKinematicCharacterController_getMaxSlope_0, +pn=d._emscripten_bind_btKinematicCharacterController_jump_0=h._emscripten_bind_btKinematicCharacterController_jump_0,qn=d._emscripten_bind_btKinematicCharacterController_onGround_0=h._emscripten_bind_btKinematicCharacterController_onGround_0,rn=d._emscripten_bind_btKinematicCharacterController_playerStep_2=h._emscripten_bind_btKinematicCharacterController_playerStep_2,sn=d._emscripten_bind_btKinematicCharacterController_preStep_1=h._emscripten_bind_btKinematicCharacterController_preStep_1,tn=d._emscripten_bind_btKinematicCharacterController_setFallSpeed_1= +h._emscripten_bind_btKinematicCharacterController_setFallSpeed_1,un=d._emscripten_bind_btKinematicCharacterController_setGravity_1=h._emscripten_bind_btKinematicCharacterController_setGravity_1,vn=d._emscripten_bind_btKinematicCharacterController_setJumpSpeed_1=h._emscripten_bind_btKinematicCharacterController_setJumpSpeed_1,wn=d._emscripten_bind_btKinematicCharacterController_setMaxJumpHeight_1=h._emscripten_bind_btKinematicCharacterController_setMaxJumpHeight_1,xn=d._emscripten_bind_btKinematicCharacterController_setMaxSlope_1= +h._emscripten_bind_btKinematicCharacterController_setMaxSlope_1,yn=d._emscripten_bind_btKinematicCharacterController_setUpAxis_1=h._emscripten_bind_btKinematicCharacterController_setUpAxis_1,zn=d._emscripten_bind_btKinematicCharacterController_setUpInterpolate_1=h._emscripten_bind_btKinematicCharacterController_setUpInterpolate_1,An=d._emscripten_bind_btKinematicCharacterController_setUseGhostSweepTest_1=h._emscripten_bind_btKinematicCharacterController_setUseGhostSweepTest_1,Bn=d._emscripten_bind_btKinematicCharacterController_setVelocityForTimeInterval_2= +h._emscripten_bind_btKinematicCharacterController_setVelocityForTimeInterval_2,Cn=d._emscripten_bind_btKinematicCharacterController_setWalkDirection_1=h._emscripten_bind_btKinematicCharacterController_setWalkDirection_1,Dn=d._emscripten_bind_btKinematicCharacterController_updateAction_2=h._emscripten_bind_btKinematicCharacterController_updateAction_2,En=d._emscripten_bind_btKinematicCharacterController_warp_1=h._emscripten_bind_btKinematicCharacterController_warp_1,Fn=d._emscripten_bind_btManifoldPoint___destroy___0= +h._emscripten_bind_btManifoldPoint___destroy___0,Gn=d._emscripten_bind_btManifoldPoint_getAppliedImpulse_0=h._emscripten_bind_btManifoldPoint_getAppliedImpulse_0,Hn=d._emscripten_bind_btManifoldPoint_getDistance_0=h._emscripten_bind_btManifoldPoint_getDistance_0,In=d._emscripten_bind_btManifoldPoint_getPositionWorldOnA_0=h._emscripten_bind_btManifoldPoint_getPositionWorldOnA_0,Jn=d._emscripten_bind_btManifoldPoint_getPositionWorldOnB_0=h._emscripten_bind_btManifoldPoint_getPositionWorldOnB_0,Kn=d._emscripten_bind_btManifoldPoint_get_m_localPointA_0= +h._emscripten_bind_btManifoldPoint_get_m_localPointA_0,Ln=d._emscripten_bind_btManifoldPoint_get_m_localPointB_0=h._emscripten_bind_btManifoldPoint_get_m_localPointB_0,Mn=d._emscripten_bind_btManifoldPoint_get_m_normalWorldOnB_0=h._emscripten_bind_btManifoldPoint_get_m_normalWorldOnB_0,Nn=d._emscripten_bind_btManifoldPoint_get_m_positionWorldOnA_0=h._emscripten_bind_btManifoldPoint_get_m_positionWorldOnA_0,On=d._emscripten_bind_btManifoldPoint_get_m_positionWorldOnB_0=h._emscripten_bind_btManifoldPoint_get_m_positionWorldOnB_0, +Pn=d._emscripten_bind_btManifoldPoint_set_m_localPointA_1=h._emscripten_bind_btManifoldPoint_set_m_localPointA_1,Qn=d._emscripten_bind_btManifoldPoint_set_m_localPointB_1=h._emscripten_bind_btManifoldPoint_set_m_localPointB_1,Rn=d._emscripten_bind_btManifoldPoint_set_m_normalWorldOnB_1=h._emscripten_bind_btManifoldPoint_set_m_normalWorldOnB_1,Sn=d._emscripten_bind_btManifoldPoint_set_m_positionWorldOnA_1=h._emscripten_bind_btManifoldPoint_set_m_positionWorldOnA_1,Tn=d._emscripten_bind_btManifoldPoint_set_m_positionWorldOnB_1= +h._emscripten_bind_btManifoldPoint_set_m_positionWorldOnB_1,Un=d._emscripten_bind_btMatrix3x3___destroy___0=h._emscripten_bind_btMatrix3x3___destroy___0,Vn=d._emscripten_bind_btMatrix3x3_getRotation_1=h._emscripten_bind_btMatrix3x3_getRotation_1,Wn=d._emscripten_bind_btMatrix3x3_getRow_1=h._emscripten_bind_btMatrix3x3_getRow_1,Xn=d._emscripten_bind_btMatrix3x3_setEulerZYX_3=h._emscripten_bind_btMatrix3x3_setEulerZYX_3,Yn=d._emscripten_bind_btMotionState___destroy___0=h._emscripten_bind_btMotionState___destroy___0, +Zn=d._emscripten_bind_btMotionState_getWorldTransform_1=h._emscripten_bind_btMotionState_getWorldTransform_1,$n=d._emscripten_bind_btMotionState_setWorldTransform_1=h._emscripten_bind_btMotionState_setWorldTransform_1,ao=d._emscripten_bind_btOverlappingPairCache___destroy___0=h._emscripten_bind_btOverlappingPairCache___destroy___0,bo=d._emscripten_bind_btOverlappingPairCache_setInternalGhostPairCallback_1=h._emscripten_bind_btOverlappingPairCache_setInternalGhostPairCallback_1,co=d._emscripten_bind_btOverlappingPairCallback___destroy___0= +h._emscripten_bind_btOverlappingPairCallback___destroy___0,eo=d._emscripten_bind_btPairCachingGhostObject___destroy___0=h._emscripten_bind_btPairCachingGhostObject___destroy___0,fo=d._emscripten_bind_btPairCachingGhostObject_activate_0=h._emscripten_bind_btPairCachingGhostObject_activate_0,go=d._emscripten_bind_btPairCachingGhostObject_activate_1=h._emscripten_bind_btPairCachingGhostObject_activate_1,ho=d._emscripten_bind_btPairCachingGhostObject_btPairCachingGhostObject_0=h._emscripten_bind_btPairCachingGhostObject_btPairCachingGhostObject_0, +io=d._emscripten_bind_btPairCachingGhostObject_forceActivationState_1=h._emscripten_bind_btPairCachingGhostObject_forceActivationState_1,jo=d._emscripten_bind_btPairCachingGhostObject_getCollisionFlags_0=h._emscripten_bind_btPairCachingGhostObject_getCollisionFlags_0,ko=d._emscripten_bind_btPairCachingGhostObject_getCollisionShape_0=h._emscripten_bind_btPairCachingGhostObject_getCollisionShape_0,lo=d._emscripten_bind_btPairCachingGhostObject_getNumOverlappingObjects_0=h._emscripten_bind_btPairCachingGhostObject_getNumOverlappingObjects_0, +mo=d._emscripten_bind_btPairCachingGhostObject_getOverlappingObject_1=h._emscripten_bind_btPairCachingGhostObject_getOverlappingObject_1,no=d._emscripten_bind_btPairCachingGhostObject_getUserIndex_0=h._emscripten_bind_btPairCachingGhostObject_getUserIndex_0,oo=d._emscripten_bind_btPairCachingGhostObject_getUserPointer_0=h._emscripten_bind_btPairCachingGhostObject_getUserPointer_0,po=d._emscripten_bind_btPairCachingGhostObject_getWorldTransform_0=h._emscripten_bind_btPairCachingGhostObject_getWorldTransform_0, +qo=d._emscripten_bind_btPairCachingGhostObject_isActive_0=h._emscripten_bind_btPairCachingGhostObject_isActive_0,ro=d._emscripten_bind_btPairCachingGhostObject_isKinematicObject_0=h._emscripten_bind_btPairCachingGhostObject_isKinematicObject_0,so=d._emscripten_bind_btPairCachingGhostObject_isStaticObject_0=h._emscripten_bind_btPairCachingGhostObject_isStaticObject_0,to=d._emscripten_bind_btPairCachingGhostObject_isStaticOrKinematicObject_0=h._emscripten_bind_btPairCachingGhostObject_isStaticOrKinematicObject_0, +uo=d._emscripten_bind_btPairCachingGhostObject_setActivationState_1=h._emscripten_bind_btPairCachingGhostObject_setActivationState_1,vo=d._emscripten_bind_btPairCachingGhostObject_setAnisotropicFriction_2=h._emscripten_bind_btPairCachingGhostObject_setAnisotropicFriction_2,wo=d._emscripten_bind_btPairCachingGhostObject_setCcdMotionThreshold_1=h._emscripten_bind_btPairCachingGhostObject_setCcdMotionThreshold_1,xo=d._emscripten_bind_btPairCachingGhostObject_setCcdSweptSphereRadius_1=h._emscripten_bind_btPairCachingGhostObject_setCcdSweptSphereRadius_1, +yo=d._emscripten_bind_btPairCachingGhostObject_setCollisionFlags_1=h._emscripten_bind_btPairCachingGhostObject_setCollisionFlags_1,zo=d._emscripten_bind_btPairCachingGhostObject_setCollisionShape_1=h._emscripten_bind_btPairCachingGhostObject_setCollisionShape_1,Ao=d._emscripten_bind_btPairCachingGhostObject_setContactProcessingThreshold_1=h._emscripten_bind_btPairCachingGhostObject_setContactProcessingThreshold_1,Bo=d._emscripten_bind_btPairCachingGhostObject_setFriction_1=h._emscripten_bind_btPairCachingGhostObject_setFriction_1, +Co=d._emscripten_bind_btPairCachingGhostObject_setRestitution_1=h._emscripten_bind_btPairCachingGhostObject_setRestitution_1,Do=d._emscripten_bind_btPairCachingGhostObject_setRollingFriction_1=h._emscripten_bind_btPairCachingGhostObject_setRollingFriction_1,Eo=d._emscripten_bind_btPairCachingGhostObject_setUserIndex_1=h._emscripten_bind_btPairCachingGhostObject_setUserIndex_1,Fo=d._emscripten_bind_btPairCachingGhostObject_setUserPointer_1=h._emscripten_bind_btPairCachingGhostObject_setUserPointer_1, +Go=d._emscripten_bind_btPairCachingGhostObject_setWorldTransform_1=h._emscripten_bind_btPairCachingGhostObject_setWorldTransform_1,Ho=d._emscripten_bind_btPersistentManifold___destroy___0=h._emscripten_bind_btPersistentManifold___destroy___0,Io=d._emscripten_bind_btPersistentManifold_btPersistentManifold_0=h._emscripten_bind_btPersistentManifold_btPersistentManifold_0,Jo=d._emscripten_bind_btPersistentManifold_getBody0_0=h._emscripten_bind_btPersistentManifold_getBody0_0,Ko=d._emscripten_bind_btPersistentManifold_getBody1_0= +h._emscripten_bind_btPersistentManifold_getBody1_0,Lo=d._emscripten_bind_btPersistentManifold_getContactPoint_1=h._emscripten_bind_btPersistentManifold_getContactPoint_1,Mo=d._emscripten_bind_btPersistentManifold_getNumContacts_0=h._emscripten_bind_btPersistentManifold_getNumContacts_0,No=d._emscripten_bind_btPoint2PointConstraint___destroy___0=h._emscripten_bind_btPoint2PointConstraint___destroy___0,Oo=d._emscripten_bind_btPoint2PointConstraint_btPoint2PointConstraint_2=h._emscripten_bind_btPoint2PointConstraint_btPoint2PointConstraint_2, +Po=d._emscripten_bind_btPoint2PointConstraint_btPoint2PointConstraint_4=h._emscripten_bind_btPoint2PointConstraint_btPoint2PointConstraint_4,Qo=d._emscripten_bind_btPoint2PointConstraint_enableFeedback_1=h._emscripten_bind_btPoint2PointConstraint_enableFeedback_1,Ro=d._emscripten_bind_btPoint2PointConstraint_getBreakingImpulseThreshold_0=h._emscripten_bind_btPoint2PointConstraint_getBreakingImpulseThreshold_0,So=d._emscripten_bind_btPoint2PointConstraint_getParam_2=h._emscripten_bind_btPoint2PointConstraint_getParam_2, +To=d._emscripten_bind_btPoint2PointConstraint_getPivotInA_0=h._emscripten_bind_btPoint2PointConstraint_getPivotInA_0,Uo=d._emscripten_bind_btPoint2PointConstraint_getPivotInB_0=h._emscripten_bind_btPoint2PointConstraint_getPivotInB_0,Vo=d._emscripten_bind_btPoint2PointConstraint_get_m_setting_0=h._emscripten_bind_btPoint2PointConstraint_get_m_setting_0,Wo=d._emscripten_bind_btPoint2PointConstraint_setBreakingImpulseThreshold_1=h._emscripten_bind_btPoint2PointConstraint_setBreakingImpulseThreshold_1, +Xo=d._emscripten_bind_btPoint2PointConstraint_setParam_3=h._emscripten_bind_btPoint2PointConstraint_setParam_3,Yo=d._emscripten_bind_btPoint2PointConstraint_setPivotA_1=h._emscripten_bind_btPoint2PointConstraint_setPivotA_1,Zo=d._emscripten_bind_btPoint2PointConstraint_setPivotB_1=h._emscripten_bind_btPoint2PointConstraint_setPivotB_1,$o=d._emscripten_bind_btPoint2PointConstraint_set_m_setting_1=h._emscripten_bind_btPoint2PointConstraint_set_m_setting_1,ap=d._emscripten_bind_btQuadWord___destroy___0= +h._emscripten_bind_btQuadWord___destroy___0,bp=d._emscripten_bind_btQuadWord_setW_1=h._emscripten_bind_btQuadWord_setW_1,cp=d._emscripten_bind_btQuadWord_setX_1=h._emscripten_bind_btQuadWord_setX_1,dp=d._emscripten_bind_btQuadWord_setY_1=h._emscripten_bind_btQuadWord_setY_1,ep=d._emscripten_bind_btQuadWord_setZ_1=h._emscripten_bind_btQuadWord_setZ_1,fp=d._emscripten_bind_btQuadWord_w_0=h._emscripten_bind_btQuadWord_w_0,gp=d._emscripten_bind_btQuadWord_x_0=h._emscripten_bind_btQuadWord_x_0,hp=d._emscripten_bind_btQuadWord_y_0= +h._emscripten_bind_btQuadWord_y_0,ip=d._emscripten_bind_btQuadWord_z_0=h._emscripten_bind_btQuadWord_z_0,jp=d._emscripten_bind_btQuaternion___destroy___0=h._emscripten_bind_btQuaternion___destroy___0,kp=d._emscripten_bind_btQuaternion_angleShortestPath_1=h._emscripten_bind_btQuaternion_angleShortestPath_1,lp=d._emscripten_bind_btQuaternion_angle_1=h._emscripten_bind_btQuaternion_angle_1,mp=d._emscripten_bind_btQuaternion_btQuaternion_4=h._emscripten_bind_btQuaternion_btQuaternion_4,np=d._emscripten_bind_btQuaternion_dot_1= +h._emscripten_bind_btQuaternion_dot_1,op=d._emscripten_bind_btQuaternion_getAngleShortestPath_0=h._emscripten_bind_btQuaternion_getAngleShortestPath_0,pp=d._emscripten_bind_btQuaternion_getAngle_0=h._emscripten_bind_btQuaternion_getAngle_0,qp=d._emscripten_bind_btQuaternion_getAxis_0=h._emscripten_bind_btQuaternion_getAxis_0,rp=d._emscripten_bind_btQuaternion_inverse_0=h._emscripten_bind_btQuaternion_inverse_0,sp=d._emscripten_bind_btQuaternion_length2_0=h._emscripten_bind_btQuaternion_length2_0, +tp=d._emscripten_bind_btQuaternion_length_0=h._emscripten_bind_btQuaternion_length_0,up=d._emscripten_bind_btQuaternion_normalize_0=h._emscripten_bind_btQuaternion_normalize_0,vp=d._emscripten_bind_btQuaternion_normalized_0=h._emscripten_bind_btQuaternion_normalized_0,wp=d._emscripten_bind_btQuaternion_op_add_1=h._emscripten_bind_btQuaternion_op_add_1,xp=d._emscripten_bind_btQuaternion_op_div_1=h._emscripten_bind_btQuaternion_op_div_1,yp=d._emscripten_bind_btQuaternion_op_mul_1=h._emscripten_bind_btQuaternion_op_mul_1, +zp=d._emscripten_bind_btQuaternion_op_mulq_1=h._emscripten_bind_btQuaternion_op_mulq_1,Ap=d._emscripten_bind_btQuaternion_op_sub_1=h._emscripten_bind_btQuaternion_op_sub_1,Bp=d._emscripten_bind_btQuaternion_setEulerZYX_3=h._emscripten_bind_btQuaternion_setEulerZYX_3,Cp=d._emscripten_bind_btQuaternion_setRotation_2=h._emscripten_bind_btQuaternion_setRotation_2,Dp=d._emscripten_bind_btQuaternion_setValue_4=h._emscripten_bind_btQuaternion_setValue_4,Ep=d._emscripten_bind_btQuaternion_setW_1=h._emscripten_bind_btQuaternion_setW_1, +Fp=d._emscripten_bind_btQuaternion_setX_1=h._emscripten_bind_btQuaternion_setX_1,Gp=d._emscripten_bind_btQuaternion_setY_1=h._emscripten_bind_btQuaternion_setY_1,Hp=d._emscripten_bind_btQuaternion_setZ_1=h._emscripten_bind_btQuaternion_setZ_1,Ip=d._emscripten_bind_btQuaternion_w_0=h._emscripten_bind_btQuaternion_w_0,Jp=d._emscripten_bind_btQuaternion_x_0=h._emscripten_bind_btQuaternion_x_0,Kp=d._emscripten_bind_btQuaternion_y_0=h._emscripten_bind_btQuaternion_y_0,Lp=d._emscripten_bind_btQuaternion_z_0= +h._emscripten_bind_btQuaternion_z_0,Mp=d._emscripten_bind_btRaycastVehicle___destroy___0=h._emscripten_bind_btRaycastVehicle___destroy___0,Np=d._emscripten_bind_btRaycastVehicle_addWheel_7=h._emscripten_bind_btRaycastVehicle_addWheel_7,Op=d._emscripten_bind_btRaycastVehicle_applyEngineForce_2=h._emscripten_bind_btRaycastVehicle_applyEngineForce_2,Pp=d._emscripten_bind_btRaycastVehicle_btRaycastVehicle_3=h._emscripten_bind_btRaycastVehicle_btRaycastVehicle_3,Qp=d._emscripten_bind_btRaycastVehicle_getChassisWorldTransform_0= +h._emscripten_bind_btRaycastVehicle_getChassisWorldTransform_0,Rp=d._emscripten_bind_btRaycastVehicle_getCurrentSpeedKmHour_0=h._emscripten_bind_btRaycastVehicle_getCurrentSpeedKmHour_0,Sp=d._emscripten_bind_btRaycastVehicle_getForwardAxis_0=h._emscripten_bind_btRaycastVehicle_getForwardAxis_0,Tp=d._emscripten_bind_btRaycastVehicle_getForwardVector_0=h._emscripten_bind_btRaycastVehicle_getForwardVector_0,Up=d._emscripten_bind_btRaycastVehicle_getNumWheels_0=h._emscripten_bind_btRaycastVehicle_getNumWheels_0, +Vp=d._emscripten_bind_btRaycastVehicle_getRightAxis_0=h._emscripten_bind_btRaycastVehicle_getRightAxis_0,Wp=d._emscripten_bind_btRaycastVehicle_getRigidBody_0=h._emscripten_bind_btRaycastVehicle_getRigidBody_0,Xp=d._emscripten_bind_btRaycastVehicle_getSteeringValue_1=h._emscripten_bind_btRaycastVehicle_getSteeringValue_1,Yp=d._emscripten_bind_btRaycastVehicle_getUpAxis_0=h._emscripten_bind_btRaycastVehicle_getUpAxis_0,Zp=d._emscripten_bind_btRaycastVehicle_getUserConstraintId_0=h._emscripten_bind_btRaycastVehicle_getUserConstraintId_0, +$p=d._emscripten_bind_btRaycastVehicle_getUserConstraintType_0=h._emscripten_bind_btRaycastVehicle_getUserConstraintType_0,aq=d._emscripten_bind_btRaycastVehicle_getWheelInfo_1=h._emscripten_bind_btRaycastVehicle_getWheelInfo_1,bq=d._emscripten_bind_btRaycastVehicle_getWheelTransformWS_1=h._emscripten_bind_btRaycastVehicle_getWheelTransformWS_1,cq=d._emscripten_bind_btRaycastVehicle_rayCast_1=h._emscripten_bind_btRaycastVehicle_rayCast_1,dq=d._emscripten_bind_btRaycastVehicle_resetSuspension_0=h._emscripten_bind_btRaycastVehicle_resetSuspension_0, +eq=d._emscripten_bind_btRaycastVehicle_setBrake_2=h._emscripten_bind_btRaycastVehicle_setBrake_2,fq=d._emscripten_bind_btRaycastVehicle_setCoordinateSystem_3=h._emscripten_bind_btRaycastVehicle_setCoordinateSystem_3,gq=d._emscripten_bind_btRaycastVehicle_setPitchControl_1=h._emscripten_bind_btRaycastVehicle_setPitchControl_1,hq=d._emscripten_bind_btRaycastVehicle_setSteeringValue_2=h._emscripten_bind_btRaycastVehicle_setSteeringValue_2,iq=d._emscripten_bind_btRaycastVehicle_setUserConstraintId_1= +h._emscripten_bind_btRaycastVehicle_setUserConstraintId_1,jq=d._emscripten_bind_btRaycastVehicle_setUserConstraintType_1=h._emscripten_bind_btRaycastVehicle_setUserConstraintType_1,kq=d._emscripten_bind_btRaycastVehicle_updateAction_2=h._emscripten_bind_btRaycastVehicle_updateAction_2,lq=d._emscripten_bind_btRaycastVehicle_updateFriction_1=h._emscripten_bind_btRaycastVehicle_updateFriction_1,mq=d._emscripten_bind_btRaycastVehicle_updateSuspension_1=h._emscripten_bind_btRaycastVehicle_updateSuspension_1, +nq=d._emscripten_bind_btRaycastVehicle_updateVehicle_1=h._emscripten_bind_btRaycastVehicle_updateVehicle_1,oq=d._emscripten_bind_btRaycastVehicle_updateWheelTransform_2=h._emscripten_bind_btRaycastVehicle_updateWheelTransform_2,pq=d._emscripten_bind_btRaycastVehicle_updateWheelTransformsWS_1=h._emscripten_bind_btRaycastVehicle_updateWheelTransformsWS_1,qq=d._emscripten_bind_btRaycastVehicle_updateWheelTransformsWS_2=h._emscripten_bind_btRaycastVehicle_updateWheelTransformsWS_2,rq=d._emscripten_bind_btRigidBodyConstructionInfo___destroy___0= +h._emscripten_bind_btRigidBodyConstructionInfo___destroy___0,sq=d._emscripten_bind_btRigidBodyConstructionInfo_btRigidBodyConstructionInfo_3=h._emscripten_bind_btRigidBodyConstructionInfo_btRigidBodyConstructionInfo_3,tq=d._emscripten_bind_btRigidBodyConstructionInfo_btRigidBodyConstructionInfo_4=h._emscripten_bind_btRigidBodyConstructionInfo_btRigidBodyConstructionInfo_4,uq=d._emscripten_bind_btRigidBodyConstructionInfo_get_m_additionalAngularDampingFactor_0=h._emscripten_bind_btRigidBodyConstructionInfo_get_m_additionalAngularDampingFactor_0, +vq=d._emscripten_bind_btRigidBodyConstructionInfo_get_m_additionalAngularDampingThresholdSqr_0=h._emscripten_bind_btRigidBodyConstructionInfo_get_m_additionalAngularDampingThresholdSqr_0,wq=d._emscripten_bind_btRigidBodyConstructionInfo_get_m_additionalDampingFactor_0=h._emscripten_bind_btRigidBodyConstructionInfo_get_m_additionalDampingFactor_0,xq=d._emscripten_bind_btRigidBodyConstructionInfo_get_m_additionalDamping_0=h._emscripten_bind_btRigidBodyConstructionInfo_get_m_additionalDamping_0,yq=d._emscripten_bind_btRigidBodyConstructionInfo_get_m_additionalLinearDampingThresholdSqr_0= +h._emscripten_bind_btRigidBodyConstructionInfo_get_m_additionalLinearDampingThresholdSqr_0,zq=d._emscripten_bind_btRigidBodyConstructionInfo_get_m_angularDamping_0=h._emscripten_bind_btRigidBodyConstructionInfo_get_m_angularDamping_0,Aq=d._emscripten_bind_btRigidBodyConstructionInfo_get_m_angularSleepingThreshold_0=h._emscripten_bind_btRigidBodyConstructionInfo_get_m_angularSleepingThreshold_0,Bq=d._emscripten_bind_btRigidBodyConstructionInfo_get_m_friction_0=h._emscripten_bind_btRigidBodyConstructionInfo_get_m_friction_0, +Cq=d._emscripten_bind_btRigidBodyConstructionInfo_get_m_linearDamping_0=h._emscripten_bind_btRigidBodyConstructionInfo_get_m_linearDamping_0,Dq=d._emscripten_bind_btRigidBodyConstructionInfo_get_m_linearSleepingThreshold_0=h._emscripten_bind_btRigidBodyConstructionInfo_get_m_linearSleepingThreshold_0,Eq=d._emscripten_bind_btRigidBodyConstructionInfo_get_m_restitution_0=h._emscripten_bind_btRigidBodyConstructionInfo_get_m_restitution_0,Fq=d._emscripten_bind_btRigidBodyConstructionInfo_get_m_rollingFriction_0= +h._emscripten_bind_btRigidBodyConstructionInfo_get_m_rollingFriction_0,Gq=d._emscripten_bind_btRigidBodyConstructionInfo_set_m_additionalAngularDampingFactor_1=h._emscripten_bind_btRigidBodyConstructionInfo_set_m_additionalAngularDampingFactor_1,Hq=d._emscripten_bind_btRigidBodyConstructionInfo_set_m_additionalAngularDampingThresholdSqr_1=h._emscripten_bind_btRigidBodyConstructionInfo_set_m_additionalAngularDampingThresholdSqr_1,Iq=d._emscripten_bind_btRigidBodyConstructionInfo_set_m_additionalDampingFactor_1= +h._emscripten_bind_btRigidBodyConstructionInfo_set_m_additionalDampingFactor_1,Jq=d._emscripten_bind_btRigidBodyConstructionInfo_set_m_additionalDamping_1=h._emscripten_bind_btRigidBodyConstructionInfo_set_m_additionalDamping_1,Kq=d._emscripten_bind_btRigidBodyConstructionInfo_set_m_additionalLinearDampingThresholdSqr_1=h._emscripten_bind_btRigidBodyConstructionInfo_set_m_additionalLinearDampingThresholdSqr_1,Lq=d._emscripten_bind_btRigidBodyConstructionInfo_set_m_angularDamping_1=h._emscripten_bind_btRigidBodyConstructionInfo_set_m_angularDamping_1, +Mq=d._emscripten_bind_btRigidBodyConstructionInfo_set_m_angularSleepingThreshold_1=h._emscripten_bind_btRigidBodyConstructionInfo_set_m_angularSleepingThreshold_1,Nq=d._emscripten_bind_btRigidBodyConstructionInfo_set_m_friction_1=h._emscripten_bind_btRigidBodyConstructionInfo_set_m_friction_1,Oq=d._emscripten_bind_btRigidBodyConstructionInfo_set_m_linearDamping_1=h._emscripten_bind_btRigidBodyConstructionInfo_set_m_linearDamping_1,Pq=d._emscripten_bind_btRigidBodyConstructionInfo_set_m_linearSleepingThreshold_1= +h._emscripten_bind_btRigidBodyConstructionInfo_set_m_linearSleepingThreshold_1,Qq=d._emscripten_bind_btRigidBodyConstructionInfo_set_m_restitution_1=h._emscripten_bind_btRigidBodyConstructionInfo_set_m_restitution_1,Rq=d._emscripten_bind_btRigidBodyConstructionInfo_set_m_rollingFriction_1=h._emscripten_bind_btRigidBodyConstructionInfo_set_m_rollingFriction_1,Sq=d._emscripten_bind_btRigidBody___destroy___0=h._emscripten_bind_btRigidBody___destroy___0,Tq=d._emscripten_bind_btRigidBody_activate_0=h._emscripten_bind_btRigidBody_activate_0, +Uq=d._emscripten_bind_btRigidBody_activate_1=h._emscripten_bind_btRigidBody_activate_1,Vq=d._emscripten_bind_btRigidBody_applyCentralForce_1=h._emscripten_bind_btRigidBody_applyCentralForce_1,Wq=d._emscripten_bind_btRigidBody_applyCentralImpulse_1=h._emscripten_bind_btRigidBody_applyCentralImpulse_1,Xq=d._emscripten_bind_btRigidBody_applyCentralLocalForce_1=h._emscripten_bind_btRigidBody_applyCentralLocalForce_1,Yq=d._emscripten_bind_btRigidBody_applyForce_2=h._emscripten_bind_btRigidBody_applyForce_2, +Zq=d._emscripten_bind_btRigidBody_applyGravity_0=h._emscripten_bind_btRigidBody_applyGravity_0,$q=d._emscripten_bind_btRigidBody_applyImpulse_2=h._emscripten_bind_btRigidBody_applyImpulse_2,ar=d._emscripten_bind_btRigidBody_applyLocalTorque_1=h._emscripten_bind_btRigidBody_applyLocalTorque_1,br=d._emscripten_bind_btRigidBody_applyTorqueImpulse_1=h._emscripten_bind_btRigidBody_applyTorqueImpulse_1,cr=d._emscripten_bind_btRigidBody_applyTorque_1=h._emscripten_bind_btRigidBody_applyTorque_1,dr=d._emscripten_bind_btRigidBody_btRigidBody_1= +h._emscripten_bind_btRigidBody_btRigidBody_1,er=d._emscripten_bind_btRigidBody_forceActivationState_1=h._emscripten_bind_btRigidBody_forceActivationState_1,fr=d._emscripten_bind_btRigidBody_getAabb_2=h._emscripten_bind_btRigidBody_getAabb_2,gr=d._emscripten_bind_btRigidBody_getAngularVelocity_0=h._emscripten_bind_btRigidBody_getAngularVelocity_0,hr=d._emscripten_bind_btRigidBody_getBroadphaseProxy_0=h._emscripten_bind_btRigidBody_getBroadphaseProxy_0,ir=d._emscripten_bind_btRigidBody_getCenterOfMassTransform_0= +h._emscripten_bind_btRigidBody_getCenterOfMassTransform_0,jr=d._emscripten_bind_btRigidBody_getCollisionFlags_0=h._emscripten_bind_btRigidBody_getCollisionFlags_0,kr=d._emscripten_bind_btRigidBody_getCollisionShape_0=h._emscripten_bind_btRigidBody_getCollisionShape_0,lr=d._emscripten_bind_btRigidBody_getGravity_0=h._emscripten_bind_btRigidBody_getGravity_0,mr=d._emscripten_bind_btRigidBody_getLinearVelocity_0=h._emscripten_bind_btRigidBody_getLinearVelocity_0,nr=d._emscripten_bind_btRigidBody_getMotionState_0= +h._emscripten_bind_btRigidBody_getMotionState_0,or=d._emscripten_bind_btRigidBody_getUserIndex_0=h._emscripten_bind_btRigidBody_getUserIndex_0,pr=d._emscripten_bind_btRigidBody_getUserPointer_0=h._emscripten_bind_btRigidBody_getUserPointer_0,qr=d._emscripten_bind_btRigidBody_getWorldTransform_0=h._emscripten_bind_btRigidBody_getWorldTransform_0,rr=d._emscripten_bind_btRigidBody_isActive_0=h._emscripten_bind_btRigidBody_isActive_0,sr=d._emscripten_bind_btRigidBody_isKinematicObject_0=h._emscripten_bind_btRigidBody_isKinematicObject_0, +tr=d._emscripten_bind_btRigidBody_isStaticObject_0=h._emscripten_bind_btRigidBody_isStaticObject_0,ur=d._emscripten_bind_btRigidBody_isStaticOrKinematicObject_0=h._emscripten_bind_btRigidBody_isStaticOrKinematicObject_0,vr=d._emscripten_bind_btRigidBody_setActivationState_1=h._emscripten_bind_btRigidBody_setActivationState_1,wr=d._emscripten_bind_btRigidBody_setAngularFactor_1=h._emscripten_bind_btRigidBody_setAngularFactor_1,xr=d._emscripten_bind_btRigidBody_setAngularVelocity_1=h._emscripten_bind_btRigidBody_setAngularVelocity_1, +yr=d._emscripten_bind_btRigidBody_setAnisotropicFriction_2=h._emscripten_bind_btRigidBody_setAnisotropicFriction_2,zr=d._emscripten_bind_btRigidBody_setCcdMotionThreshold_1=h._emscripten_bind_btRigidBody_setCcdMotionThreshold_1,Ar=d._emscripten_bind_btRigidBody_setCcdSweptSphereRadius_1=h._emscripten_bind_btRigidBody_setCcdSweptSphereRadius_1,Br=d._emscripten_bind_btRigidBody_setCenterOfMassTransform_1=h._emscripten_bind_btRigidBody_setCenterOfMassTransform_1,Cr=d._emscripten_bind_btRigidBody_setCollisionFlags_1= +h._emscripten_bind_btRigidBody_setCollisionFlags_1,Dr=d._emscripten_bind_btRigidBody_setCollisionShape_1=h._emscripten_bind_btRigidBody_setCollisionShape_1,Er=d._emscripten_bind_btRigidBody_setContactProcessingThreshold_1=h._emscripten_bind_btRigidBody_setContactProcessingThreshold_1,Fr=d._emscripten_bind_btRigidBody_setDamping_2=h._emscripten_bind_btRigidBody_setDamping_2,Gr=d._emscripten_bind_btRigidBody_setFriction_1=h._emscripten_bind_btRigidBody_setFriction_1,Hr=d._emscripten_bind_btRigidBody_setGravity_1= +h._emscripten_bind_btRigidBody_setGravity_1,Ir=d._emscripten_bind_btRigidBody_setLinearFactor_1=h._emscripten_bind_btRigidBody_setLinearFactor_1,Jr=d._emscripten_bind_btRigidBody_setLinearVelocity_1=h._emscripten_bind_btRigidBody_setLinearVelocity_1,Kr=d._emscripten_bind_btRigidBody_setMassProps_2=h._emscripten_bind_btRigidBody_setMassProps_2,Lr=d._emscripten_bind_btRigidBody_setMotionState_1=h._emscripten_bind_btRigidBody_setMotionState_1,Mr=d._emscripten_bind_btRigidBody_setRestitution_1=h._emscripten_bind_btRigidBody_setRestitution_1, +Nr=d._emscripten_bind_btRigidBody_setRollingFriction_1=h._emscripten_bind_btRigidBody_setRollingFriction_1,Or=d._emscripten_bind_btRigidBody_setSleepingThresholds_2=h._emscripten_bind_btRigidBody_setSleepingThresholds_2,Pr=d._emscripten_bind_btRigidBody_setUserIndex_1=h._emscripten_bind_btRigidBody_setUserIndex_1,Qr=d._emscripten_bind_btRigidBody_setUserPointer_1=h._emscripten_bind_btRigidBody_setUserPointer_1,Rr=d._emscripten_bind_btRigidBody_setWorldTransform_1=h._emscripten_bind_btRigidBody_setWorldTransform_1, +Sr=d._emscripten_bind_btRigidBody_upcast_1=h._emscripten_bind_btRigidBody_upcast_1,Tr=d._emscripten_bind_btRigidBody_updateInertiaTensor_0=h._emscripten_bind_btRigidBody_updateInertiaTensor_0,Ur=d._emscripten_bind_btSequentialImpulseConstraintSolver___destroy___0=h._emscripten_bind_btSequentialImpulseConstraintSolver___destroy___0,Vr=d._emscripten_bind_btSequentialImpulseConstraintSolver_btSequentialImpulseConstraintSolver_0=h._emscripten_bind_btSequentialImpulseConstraintSolver_btSequentialImpulseConstraintSolver_0, +Wr=d._emscripten_bind_btShapeHull___destroy___0=h._emscripten_bind_btShapeHull___destroy___0,Xr=d._emscripten_bind_btShapeHull_btShapeHull_1=h._emscripten_bind_btShapeHull_btShapeHull_1,Yr=d._emscripten_bind_btShapeHull_buildHull_1=h._emscripten_bind_btShapeHull_buildHull_1,Zr=d._emscripten_bind_btShapeHull_getVertexPointer_0=h._emscripten_bind_btShapeHull_getVertexPointer_0,$r=d._emscripten_bind_btShapeHull_numVertices_0=h._emscripten_bind_btShapeHull_numVertices_0,as=d._emscripten_bind_btSliderConstraint___destroy___0= +h._emscripten_bind_btSliderConstraint___destroy___0,bs=d._emscripten_bind_btSliderConstraint_btSliderConstraint_3=h._emscripten_bind_btSliderConstraint_btSliderConstraint_3,cs=d._emscripten_bind_btSliderConstraint_btSliderConstraint_5=h._emscripten_bind_btSliderConstraint_btSliderConstraint_5,ds=d._emscripten_bind_btSliderConstraint_enableFeedback_1=h._emscripten_bind_btSliderConstraint_enableFeedback_1,es=d._emscripten_bind_btSliderConstraint_getBreakingImpulseThreshold_0=h._emscripten_bind_btSliderConstraint_getBreakingImpulseThreshold_0, +gs=d._emscripten_bind_btSliderConstraint_getParam_2=h._emscripten_bind_btSliderConstraint_getParam_2,hs=d._emscripten_bind_btSliderConstraint_setBreakingImpulseThreshold_1=h._emscripten_bind_btSliderConstraint_setBreakingImpulseThreshold_1,is=d._emscripten_bind_btSliderConstraint_setLowerAngLimit_1=h._emscripten_bind_btSliderConstraint_setLowerAngLimit_1,js=d._emscripten_bind_btSliderConstraint_setLowerLinLimit_1=h._emscripten_bind_btSliderConstraint_setLowerLinLimit_1,ks=d._emscripten_bind_btSliderConstraint_setParam_3= +h._emscripten_bind_btSliderConstraint_setParam_3,ls=d._emscripten_bind_btSliderConstraint_setUpperAngLimit_1=h._emscripten_bind_btSliderConstraint_setUpperAngLimit_1,ms=d._emscripten_bind_btSliderConstraint_setUpperLinLimit_1=h._emscripten_bind_btSliderConstraint_setUpperLinLimit_1,ns=d._emscripten_bind_btSoftBodyArray___destroy___0=h._emscripten_bind_btSoftBodyArray___destroy___0,ps=d._emscripten_bind_btSoftBodyArray_at_1=h._emscripten_bind_btSoftBodyArray_at_1,qs=d._emscripten_bind_btSoftBodyArray_size_0= +h._emscripten_bind_btSoftBodyArray_size_0,rs=d._emscripten_bind_btSoftBodyHelpers_CreateEllipsoid_4=h._emscripten_bind_btSoftBodyHelpers_CreateEllipsoid_4,ss=d._emscripten_bind_btSoftBodyHelpers_CreateFromConvexHull_4=h._emscripten_bind_btSoftBodyHelpers_CreateFromConvexHull_4,ts=d._emscripten_bind_btSoftBodyHelpers_CreateFromTriMesh_5=h._emscripten_bind_btSoftBodyHelpers_CreateFromTriMesh_5,us=d._emscripten_bind_btSoftBodyHelpers_CreatePatchUV_10=h._emscripten_bind_btSoftBodyHelpers_CreatePatchUV_10, +vs=d._emscripten_bind_btSoftBodyHelpers_CreatePatch_9=h._emscripten_bind_btSoftBodyHelpers_CreatePatch_9,xs=d._emscripten_bind_btSoftBodyHelpers_CreateRope_5=h._emscripten_bind_btSoftBodyHelpers_CreateRope_5,ys=d._emscripten_bind_btSoftBodyHelpers___destroy___0=h._emscripten_bind_btSoftBodyHelpers___destroy___0,zs=d._emscripten_bind_btSoftBodyHelpers_btSoftBodyHelpers_0=h._emscripten_bind_btSoftBodyHelpers_btSoftBodyHelpers_0,As=d._emscripten_bind_btSoftBodyRigidBodyCollisionConfiguration___destroy___0= +h._emscripten_bind_btSoftBodyRigidBodyCollisionConfiguration___destroy___0,Bs=d._emscripten_bind_btSoftBodyRigidBodyCollisionConfiguration_btSoftBodyRigidBodyCollisionConfiguration_0=h._emscripten_bind_btSoftBodyRigidBodyCollisionConfiguration_btSoftBodyRigidBodyCollisionConfiguration_0,Cs=d._emscripten_bind_btSoftBodyRigidBodyCollisionConfiguration_btSoftBodyRigidBodyCollisionConfiguration_1=h._emscripten_bind_btSoftBodyRigidBodyCollisionConfiguration_btSoftBodyRigidBodyCollisionConfiguration_1, +Ds=d._emscripten_bind_btSoftBodySolver___destroy___0=h._emscripten_bind_btSoftBodySolver___destroy___0,Es=d._emscripten_bind_btSoftBodyWorldInfo___destroy___0=h._emscripten_bind_btSoftBodyWorldInfo___destroy___0,Fs=d._emscripten_bind_btSoftBodyWorldInfo_btSoftBodyWorldInfo_0=h._emscripten_bind_btSoftBodyWorldInfo_btSoftBodyWorldInfo_0,Gs=d._emscripten_bind_btSoftBodyWorldInfo_get_air_density_0=h._emscripten_bind_btSoftBodyWorldInfo_get_air_density_0,Hs=d._emscripten_bind_btSoftBodyWorldInfo_get_m_broadphase_0= +h._emscripten_bind_btSoftBodyWorldInfo_get_m_broadphase_0,Is=d._emscripten_bind_btSoftBodyWorldInfo_get_m_dispatcher_0=h._emscripten_bind_btSoftBodyWorldInfo_get_m_dispatcher_0,Js=d._emscripten_bind_btSoftBodyWorldInfo_get_m_gravity_0=h._emscripten_bind_btSoftBodyWorldInfo_get_m_gravity_0,Ks=d._emscripten_bind_btSoftBodyWorldInfo_get_m_maxDisplacement_0=h._emscripten_bind_btSoftBodyWorldInfo_get_m_maxDisplacement_0,Ls=d._emscripten_bind_btSoftBodyWorldInfo_get_water_density_0=h._emscripten_bind_btSoftBodyWorldInfo_get_water_density_0, +Ms=d._emscripten_bind_btSoftBodyWorldInfo_get_water_normal_0=h._emscripten_bind_btSoftBodyWorldInfo_get_water_normal_0,Ns=d._emscripten_bind_btSoftBodyWorldInfo_get_water_offset_0=h._emscripten_bind_btSoftBodyWorldInfo_get_water_offset_0,Os=d._emscripten_bind_btSoftBodyWorldInfo_set_air_density_1=h._emscripten_bind_btSoftBodyWorldInfo_set_air_density_1,Ps=d._emscripten_bind_btSoftBodyWorldInfo_set_m_broadphase_1=h._emscripten_bind_btSoftBodyWorldInfo_set_m_broadphase_1,Qs=d._emscripten_bind_btSoftBodyWorldInfo_set_m_dispatcher_1= +h._emscripten_bind_btSoftBodyWorldInfo_set_m_dispatcher_1,Rs=d._emscripten_bind_btSoftBodyWorldInfo_set_m_gravity_1=h._emscripten_bind_btSoftBodyWorldInfo_set_m_gravity_1,Ss=d._emscripten_bind_btSoftBodyWorldInfo_set_m_maxDisplacement_1=h._emscripten_bind_btSoftBodyWorldInfo_set_m_maxDisplacement_1,Ts=d._emscripten_bind_btSoftBodyWorldInfo_set_water_density_1=h._emscripten_bind_btSoftBodyWorldInfo_set_water_density_1,Us=d._emscripten_bind_btSoftBodyWorldInfo_set_water_normal_1=h._emscripten_bind_btSoftBodyWorldInfo_set_water_normal_1, +Vs=d._emscripten_bind_btSoftBodyWorldInfo_set_water_offset_1=h._emscripten_bind_btSoftBodyWorldInfo_set_water_offset_1,Ws=d._emscripten_bind_btSoftBody___destroy___0=h._emscripten_bind_btSoftBody___destroy___0,Xs=d._emscripten_bind_btSoftBody_activate_0=h._emscripten_bind_btSoftBody_activate_0,Ys=d._emscripten_bind_btSoftBody_activate_1=h._emscripten_bind_btSoftBody_activate_1,Zs=d._emscripten_bind_btSoftBody_addAeroForceToNode_2=h._emscripten_bind_btSoftBody_addAeroForceToNode_2,$s=d._emscripten_bind_btSoftBody_addForce_1= +h._emscripten_bind_btSoftBody_addForce_1,at=d._emscripten_bind_btSoftBody_addForce_2=h._emscripten_bind_btSoftBody_addForce_2,bt=d._emscripten_bind_btSoftBody_appendAnchor_4=h._emscripten_bind_btSoftBody_appendAnchor_4,ct=d._emscripten_bind_btSoftBody_appendFace_4=h._emscripten_bind_btSoftBody_appendFace_4,dt=d._emscripten_bind_btSoftBody_appendLink_4=h._emscripten_bind_btSoftBody_appendLink_4,et=d._emscripten_bind_btSoftBody_appendMaterial_0=h._emscripten_bind_btSoftBody_appendMaterial_0,ft=d._emscripten_bind_btSoftBody_appendNode_2= +h._emscripten_bind_btSoftBody_appendNode_2,gt=d._emscripten_bind_btSoftBody_appendTetra_5=h._emscripten_bind_btSoftBody_appendTetra_5,ht=d._emscripten_bind_btSoftBody_btSoftBody_4=h._emscripten_bind_btSoftBody_btSoftBody_4,it=d._emscripten_bind_btSoftBody_checkFace_3=h._emscripten_bind_btSoftBody_checkFace_3,jt=d._emscripten_bind_btSoftBody_checkLink_2=h._emscripten_bind_btSoftBody_checkLink_2,kt=d._emscripten_bind_btSoftBody_forceActivationState_1=h._emscripten_bind_btSoftBody_forceActivationState_1, +lt=d._emscripten_bind_btSoftBody_generateBendingConstraints_2=h._emscripten_bind_btSoftBody_generateBendingConstraints_2,mt=d._emscripten_bind_btSoftBody_generateClusters_1=h._emscripten_bind_btSoftBody_generateClusters_1,nt=d._emscripten_bind_btSoftBody_generateClusters_2=h._emscripten_bind_btSoftBody_generateClusters_2,ot=d._emscripten_bind_btSoftBody_getCollisionFlags_0=h._emscripten_bind_btSoftBody_getCollisionFlags_0,pt=d._emscripten_bind_btSoftBody_getCollisionShape_0=h._emscripten_bind_btSoftBody_getCollisionShape_0, +qt=d._emscripten_bind_btSoftBody_getTotalMass_0=h._emscripten_bind_btSoftBody_getTotalMass_0,rt=d._emscripten_bind_btSoftBody_getUserIndex_0=h._emscripten_bind_btSoftBody_getUserIndex_0,st=d._emscripten_bind_btSoftBody_getUserPointer_0=h._emscripten_bind_btSoftBody_getUserPointer_0,tt=d._emscripten_bind_btSoftBody_getWorldTransform_0=h._emscripten_bind_btSoftBody_getWorldTransform_0,ut=d._emscripten_bind_btSoftBody_get_m_anchors_0=h._emscripten_bind_btSoftBody_get_m_anchors_0,vt=d._emscripten_bind_btSoftBody_get_m_cfg_0= +h._emscripten_bind_btSoftBody_get_m_cfg_0,wt=d._emscripten_bind_btSoftBody_get_m_materials_0=h._emscripten_bind_btSoftBody_get_m_materials_0,xt=d._emscripten_bind_btSoftBody_get_m_nodes_0=h._emscripten_bind_btSoftBody_get_m_nodes_0,yt=d._emscripten_bind_btSoftBody_isActive_0=h._emscripten_bind_btSoftBody_isActive_0,zt=d._emscripten_bind_btSoftBody_isKinematicObject_0=h._emscripten_bind_btSoftBody_isKinematicObject_0,At=d._emscripten_bind_btSoftBody_isStaticObject_0=h._emscripten_bind_btSoftBody_isStaticObject_0, +Bt=d._emscripten_bind_btSoftBody_isStaticOrKinematicObject_0=h._emscripten_bind_btSoftBody_isStaticOrKinematicObject_0,Ct=d._emscripten_bind_btSoftBody_rotate_1=h._emscripten_bind_btSoftBody_rotate_1,Dt=d._emscripten_bind_btSoftBody_scale_1=h._emscripten_bind_btSoftBody_scale_1,Et=d._emscripten_bind_btSoftBody_setActivationState_1=h._emscripten_bind_btSoftBody_setActivationState_1,Ft=d._emscripten_bind_btSoftBody_setAnisotropicFriction_2=h._emscripten_bind_btSoftBody_setAnisotropicFriction_2,Gt=d._emscripten_bind_btSoftBody_setCcdMotionThreshold_1= +h._emscripten_bind_btSoftBody_setCcdMotionThreshold_1,Ht=d._emscripten_bind_btSoftBody_setCcdSweptSphereRadius_1=h._emscripten_bind_btSoftBody_setCcdSweptSphereRadius_1,It=d._emscripten_bind_btSoftBody_setCollisionFlags_1=h._emscripten_bind_btSoftBody_setCollisionFlags_1,Jt=d._emscripten_bind_btSoftBody_setCollisionShape_1=h._emscripten_bind_btSoftBody_setCollisionShape_1,Kt=d._emscripten_bind_btSoftBody_setContactProcessingThreshold_1=h._emscripten_bind_btSoftBody_setContactProcessingThreshold_1, +Lt=d._emscripten_bind_btSoftBody_setFriction_1=h._emscripten_bind_btSoftBody_setFriction_1,Mt=d._emscripten_bind_btSoftBody_setMass_2=h._emscripten_bind_btSoftBody_setMass_2,Nt=d._emscripten_bind_btSoftBody_setRestitution_1=h._emscripten_bind_btSoftBody_setRestitution_1,Ot=d._emscripten_bind_btSoftBody_setRollingFriction_1=h._emscripten_bind_btSoftBody_setRollingFriction_1,Pt=d._emscripten_bind_btSoftBody_setTotalMass_2=h._emscripten_bind_btSoftBody_setTotalMass_2,Qt=d._emscripten_bind_btSoftBody_setUserIndex_1= +h._emscripten_bind_btSoftBody_setUserIndex_1,Rt=d._emscripten_bind_btSoftBody_setUserPointer_1=h._emscripten_bind_btSoftBody_setUserPointer_1,St=d._emscripten_bind_btSoftBody_setWorldTransform_1=h._emscripten_bind_btSoftBody_setWorldTransform_1,Tt=d._emscripten_bind_btSoftBody_set_m_anchors_1=h._emscripten_bind_btSoftBody_set_m_anchors_1,Ut=d._emscripten_bind_btSoftBody_set_m_cfg_1=h._emscripten_bind_btSoftBody_set_m_cfg_1,Vt=d._emscripten_bind_btSoftBody_set_m_materials_1=h._emscripten_bind_btSoftBody_set_m_materials_1, +Wt=d._emscripten_bind_btSoftBody_set_m_nodes_1=h._emscripten_bind_btSoftBody_set_m_nodes_1,Xt=d._emscripten_bind_btSoftBody_transform_1=h._emscripten_bind_btSoftBody_transform_1,Yt=d._emscripten_bind_btSoftBody_translate_1=h._emscripten_bind_btSoftBody_translate_1,Zt=d._emscripten_bind_btSoftBody_upcast_1=h._emscripten_bind_btSoftBody_upcast_1,$t=d._emscripten_bind_btSoftRigidDynamicsWorld___destroy___0=h._emscripten_bind_btSoftRigidDynamicsWorld___destroy___0,au=d._emscripten_bind_btSoftRigidDynamicsWorld_addAction_1= +h._emscripten_bind_btSoftRigidDynamicsWorld_addAction_1,bu=d._emscripten_bind_btSoftRigidDynamicsWorld_addCollisionObject_1=h._emscripten_bind_btSoftRigidDynamicsWorld_addCollisionObject_1,cu=d._emscripten_bind_btSoftRigidDynamicsWorld_addCollisionObject_2=h._emscripten_bind_btSoftRigidDynamicsWorld_addCollisionObject_2,du=d._emscripten_bind_btSoftRigidDynamicsWorld_addCollisionObject_3=h._emscripten_bind_btSoftRigidDynamicsWorld_addCollisionObject_3,eu=d._emscripten_bind_btSoftRigidDynamicsWorld_addConstraint_1= +h._emscripten_bind_btSoftRigidDynamicsWorld_addConstraint_1,fu=d._emscripten_bind_btSoftRigidDynamicsWorld_addConstraint_2=h._emscripten_bind_btSoftRigidDynamicsWorld_addConstraint_2,gu=d._emscripten_bind_btSoftRigidDynamicsWorld_addRigidBody_1=h._emscripten_bind_btSoftRigidDynamicsWorld_addRigidBody_1,hu=d._emscripten_bind_btSoftRigidDynamicsWorld_addRigidBody_3=h._emscripten_bind_btSoftRigidDynamicsWorld_addRigidBody_3,iu=d._emscripten_bind_btSoftRigidDynamicsWorld_addSoftBody_3=h._emscripten_bind_btSoftRigidDynamicsWorld_addSoftBody_3, +ju=d._emscripten_bind_btSoftRigidDynamicsWorld_btSoftRigidDynamicsWorld_5=h._emscripten_bind_btSoftRigidDynamicsWorld_btSoftRigidDynamicsWorld_5,ku=d._emscripten_bind_btSoftRigidDynamicsWorld_contactPairTest_3=h._emscripten_bind_btSoftRigidDynamicsWorld_contactPairTest_3,lu=d._emscripten_bind_btSoftRigidDynamicsWorld_contactTest_2=h._emscripten_bind_btSoftRigidDynamicsWorld_contactTest_2,mu=d._emscripten_bind_btSoftRigidDynamicsWorld_convexSweepTest_5=h._emscripten_bind_btSoftRigidDynamicsWorld_convexSweepTest_5, +nu=d._emscripten_bind_btSoftRigidDynamicsWorld_debugDrawObject_3=h._emscripten_bind_btSoftRigidDynamicsWorld_debugDrawObject_3,ou=d._emscripten_bind_btSoftRigidDynamicsWorld_debugDrawWorld_0=h._emscripten_bind_btSoftRigidDynamicsWorld_debugDrawWorld_0,pu=d._emscripten_bind_btSoftRigidDynamicsWorld_getBroadphase_0=h._emscripten_bind_btSoftRigidDynamicsWorld_getBroadphase_0,qu=d._emscripten_bind_btSoftRigidDynamicsWorld_getDebugDrawer_0=h._emscripten_bind_btSoftRigidDynamicsWorld_getDebugDrawer_0,ru= +d._emscripten_bind_btSoftRigidDynamicsWorld_getDispatchInfo_0=h._emscripten_bind_btSoftRigidDynamicsWorld_getDispatchInfo_0,su=d._emscripten_bind_btSoftRigidDynamicsWorld_getDispatcher_0=h._emscripten_bind_btSoftRigidDynamicsWorld_getDispatcher_0,tu=d._emscripten_bind_btSoftRigidDynamicsWorld_getGravity_0=h._emscripten_bind_btSoftRigidDynamicsWorld_getGravity_0,uu=d._emscripten_bind_btSoftRigidDynamicsWorld_getPairCache_0=h._emscripten_bind_btSoftRigidDynamicsWorld_getPairCache_0,vu=d._emscripten_bind_btSoftRigidDynamicsWorld_getSoftBodyArray_0= +h._emscripten_bind_btSoftRigidDynamicsWorld_getSoftBodyArray_0,wu=d._emscripten_bind_btSoftRigidDynamicsWorld_getSolverInfo_0=h._emscripten_bind_btSoftRigidDynamicsWorld_getSolverInfo_0,xu=d._emscripten_bind_btSoftRigidDynamicsWorld_getWorldInfo_0=h._emscripten_bind_btSoftRigidDynamicsWorld_getWorldInfo_0,yu=d._emscripten_bind_btSoftRigidDynamicsWorld_rayTest_3=h._emscripten_bind_btSoftRigidDynamicsWorld_rayTest_3,zu=d._emscripten_bind_btSoftRigidDynamicsWorld_removeAction_1=h._emscripten_bind_btSoftRigidDynamicsWorld_removeAction_1, +Au=d._emscripten_bind_btSoftRigidDynamicsWorld_removeCollisionObject_1=h._emscripten_bind_btSoftRigidDynamicsWorld_removeCollisionObject_1,Bu=d._emscripten_bind_btSoftRigidDynamicsWorld_removeConstraint_1=h._emscripten_bind_btSoftRigidDynamicsWorld_removeConstraint_1,Cu=d._emscripten_bind_btSoftRigidDynamicsWorld_removeRigidBody_1=h._emscripten_bind_btSoftRigidDynamicsWorld_removeRigidBody_1,Du=d._emscripten_bind_btSoftRigidDynamicsWorld_removeSoftBody_1=h._emscripten_bind_btSoftRigidDynamicsWorld_removeSoftBody_1, +Eu=d._emscripten_bind_btSoftRigidDynamicsWorld_setDebugDrawer_1=h._emscripten_bind_btSoftRigidDynamicsWorld_setDebugDrawer_1,Fu=d._emscripten_bind_btSoftRigidDynamicsWorld_setGravity_1=h._emscripten_bind_btSoftRigidDynamicsWorld_setGravity_1,Gu=d._emscripten_bind_btSoftRigidDynamicsWorld_stepSimulation_1=h._emscripten_bind_btSoftRigidDynamicsWorld_stepSimulation_1,Hu=d._emscripten_bind_btSoftRigidDynamicsWorld_stepSimulation_2=h._emscripten_bind_btSoftRigidDynamicsWorld_stepSimulation_2,Iu=d._emscripten_bind_btSoftRigidDynamicsWorld_stepSimulation_3= +h._emscripten_bind_btSoftRigidDynamicsWorld_stepSimulation_3,Ju=d._emscripten_bind_btSoftRigidDynamicsWorld_updateSingleAabb_1=h._emscripten_bind_btSoftRigidDynamicsWorld_updateSingleAabb_1,Ku=d._emscripten_bind_btSphereShape___destroy___0=h._emscripten_bind_btSphereShape___destroy___0,Lu=d._emscripten_bind_btSphereShape_btSphereShape_1=h._emscripten_bind_btSphereShape_btSphereShape_1,Mu=d._emscripten_bind_btSphereShape_calculateLocalInertia_2=h._emscripten_bind_btSphereShape_calculateLocalInertia_2, +Nu=d._emscripten_bind_btSphereShape_getLocalScaling_0=h._emscripten_bind_btSphereShape_getLocalScaling_0,Ou=d._emscripten_bind_btSphereShape_getMargin_0=h._emscripten_bind_btSphereShape_getMargin_0,Pu=d._emscripten_bind_btSphereShape_setLocalScaling_1=h._emscripten_bind_btSphereShape_setLocalScaling_1,Qu=d._emscripten_bind_btSphereShape_setMargin_1=h._emscripten_bind_btSphereShape_setMargin_1,Ru=d._emscripten_bind_btStaticPlaneShape___destroy___0=h._emscripten_bind_btStaticPlaneShape___destroy___0, +Su=d._emscripten_bind_btStaticPlaneShape_btStaticPlaneShape_2=h._emscripten_bind_btStaticPlaneShape_btStaticPlaneShape_2,Tu=d._emscripten_bind_btStaticPlaneShape_calculateLocalInertia_2=h._emscripten_bind_btStaticPlaneShape_calculateLocalInertia_2,Uu=d._emscripten_bind_btStaticPlaneShape_getLocalScaling_0=h._emscripten_bind_btStaticPlaneShape_getLocalScaling_0,Vu=d._emscripten_bind_btStaticPlaneShape_setLocalScaling_1=h._emscripten_bind_btStaticPlaneShape_setLocalScaling_1,Wu=d._emscripten_bind_btStridingMeshInterface___destroy___0= +h._emscripten_bind_btStridingMeshInterface___destroy___0,Xu=d._emscripten_bind_btTransform___destroy___0=h._emscripten_bind_btTransform___destroy___0,Yu=d._emscripten_bind_btTransform_btTransform_0=h._emscripten_bind_btTransform_btTransform_0,Zu=d._emscripten_bind_btTransform_btTransform_2=h._emscripten_bind_btTransform_btTransform_2,$u=d._emscripten_bind_btTransform_getBasis_0=h._emscripten_bind_btTransform_getBasis_0,av=d._emscripten_bind_btTransform_getOrigin_0=h._emscripten_bind_btTransform_getOrigin_0, +bv=d._emscripten_bind_btTransform_getRotation_0=h._emscripten_bind_btTransform_getRotation_0,cv=d._emscripten_bind_btTransform_inverse_0=h._emscripten_bind_btTransform_inverse_0,dv=d._emscripten_bind_btTransform_op_mul_1=h._emscripten_bind_btTransform_op_mul_1,ev=d._emscripten_bind_btTransform_setFromOpenGLMatrix_1=h._emscripten_bind_btTransform_setFromOpenGLMatrix_1,fv=d._emscripten_bind_btTransform_setIdentity_0=h._emscripten_bind_btTransform_setIdentity_0,gv=d._emscripten_bind_btTransform_setOrigin_1= +h._emscripten_bind_btTransform_setOrigin_1,hv=d._emscripten_bind_btTransform_setRotation_1=h._emscripten_bind_btTransform_setRotation_1,iv=d._emscripten_bind_btTriangleMeshShape___destroy___0=h._emscripten_bind_btTriangleMeshShape___destroy___0,jv=d._emscripten_bind_btTriangleMeshShape_calculateLocalInertia_2=h._emscripten_bind_btTriangleMeshShape_calculateLocalInertia_2,kv=d._emscripten_bind_btTriangleMeshShape_getLocalScaling_0=h._emscripten_bind_btTriangleMeshShape_getLocalScaling_0,lv=d._emscripten_bind_btTriangleMeshShape_setLocalScaling_1= +h._emscripten_bind_btTriangleMeshShape_setLocalScaling_1,mv=d._emscripten_bind_btTriangleMesh___destroy___0=h._emscripten_bind_btTriangleMesh___destroy___0,nv=d._emscripten_bind_btTriangleMesh_addTriangle_3=h._emscripten_bind_btTriangleMesh_addTriangle_3,ov=d._emscripten_bind_btTriangleMesh_addTriangle_4=h._emscripten_bind_btTriangleMesh_addTriangle_4,pv=d._emscripten_bind_btTriangleMesh_btTriangleMesh_0=h._emscripten_bind_btTriangleMesh_btTriangleMesh_0,qv=d._emscripten_bind_btTriangleMesh_btTriangleMesh_1= +h._emscripten_bind_btTriangleMesh_btTriangleMesh_1,rv=d._emscripten_bind_btTriangleMesh_btTriangleMesh_2=h._emscripten_bind_btTriangleMesh_btTriangleMesh_2,sv=d._emscripten_bind_btTypedConstraint___destroy___0=h._emscripten_bind_btTypedConstraint___destroy___0,tv=d._emscripten_bind_btTypedConstraint_enableFeedback_1=h._emscripten_bind_btTypedConstraint_enableFeedback_1,uv=d._emscripten_bind_btTypedConstraint_getBreakingImpulseThreshold_0=h._emscripten_bind_btTypedConstraint_getBreakingImpulseThreshold_0, +vv=d._emscripten_bind_btTypedConstraint_getParam_2=h._emscripten_bind_btTypedConstraint_getParam_2,wv=d._emscripten_bind_btTypedConstraint_setBreakingImpulseThreshold_1=h._emscripten_bind_btTypedConstraint_setBreakingImpulseThreshold_1,xv=d._emscripten_bind_btTypedConstraint_setParam_3=h._emscripten_bind_btTypedConstraint_setParam_3,yv=d._emscripten_bind_btVector3Array___destroy___0=h._emscripten_bind_btVector3Array___destroy___0,zv=d._emscripten_bind_btVector3Array_at_1=h._emscripten_bind_btVector3Array_at_1, +Av=d._emscripten_bind_btVector3Array_size_0=h._emscripten_bind_btVector3Array_size_0,Bv=d._emscripten_bind_btVector3___destroy___0=h._emscripten_bind_btVector3___destroy___0,Cv=d._emscripten_bind_btVector3_btVector3_0=h._emscripten_bind_btVector3_btVector3_0,Dv=d._emscripten_bind_btVector3_btVector3_3=h._emscripten_bind_btVector3_btVector3_3,Ev=d._emscripten_bind_btVector3_dot_1=h._emscripten_bind_btVector3_dot_1,Fv=d._emscripten_bind_btVector3_length_0=h._emscripten_bind_btVector3_length_0,Gv=d._emscripten_bind_btVector3_normalize_0= +h._emscripten_bind_btVector3_normalize_0,Hv=d._emscripten_bind_btVector3_op_add_1=h._emscripten_bind_btVector3_op_add_1,Iv=d._emscripten_bind_btVector3_op_mul_1=h._emscripten_bind_btVector3_op_mul_1,Jv=d._emscripten_bind_btVector3_op_sub_1=h._emscripten_bind_btVector3_op_sub_1,Kv=d._emscripten_bind_btVector3_rotate_2=h._emscripten_bind_btVector3_rotate_2,Lv=d._emscripten_bind_btVector3_setValue_3=h._emscripten_bind_btVector3_setValue_3,Mv=d._emscripten_bind_btVector3_setX_1=h._emscripten_bind_btVector3_setX_1, +Nv=d._emscripten_bind_btVector3_setY_1=h._emscripten_bind_btVector3_setY_1,Ov=d._emscripten_bind_btVector3_setZ_1=h._emscripten_bind_btVector3_setZ_1,Pv=d._emscripten_bind_btVector3_x_0=h._emscripten_bind_btVector3_x_0,Qv=d._emscripten_bind_btVector3_y_0=h._emscripten_bind_btVector3_y_0,Rv=d._emscripten_bind_btVector3_z_0=h._emscripten_bind_btVector3_z_0,Sv=d._emscripten_bind_btVector4___destroy___0=h._emscripten_bind_btVector4___destroy___0,Tv=d._emscripten_bind_btVector4_btVector4_0=h._emscripten_bind_btVector4_btVector4_0, +Uv=d._emscripten_bind_btVector4_btVector4_4=h._emscripten_bind_btVector4_btVector4_4,Vv=d._emscripten_bind_btVector4_dot_1=h._emscripten_bind_btVector4_dot_1,Wv=d._emscripten_bind_btVector4_length_0=h._emscripten_bind_btVector4_length_0,Xv=d._emscripten_bind_btVector4_normalize_0=h._emscripten_bind_btVector4_normalize_0,Yv=d._emscripten_bind_btVector4_op_add_1=h._emscripten_bind_btVector4_op_add_1,Zv=d._emscripten_bind_btVector4_op_mul_1=h._emscripten_bind_btVector4_op_mul_1,$v=d._emscripten_bind_btVector4_op_sub_1= +h._emscripten_bind_btVector4_op_sub_1,aw=d._emscripten_bind_btVector4_rotate_2=h._emscripten_bind_btVector4_rotate_2,bw=d._emscripten_bind_btVector4_setValue_4=h._emscripten_bind_btVector4_setValue_4,cw=d._emscripten_bind_btVector4_setX_1=h._emscripten_bind_btVector4_setX_1,dw=d._emscripten_bind_btVector4_setY_1=h._emscripten_bind_btVector4_setY_1,ew=d._emscripten_bind_btVector4_setZ_1=h._emscripten_bind_btVector4_setZ_1,fw=d._emscripten_bind_btVector4_w_0=h._emscripten_bind_btVector4_w_0,gw=d._emscripten_bind_btVector4_x_0= +h._emscripten_bind_btVector4_x_0,hw=d._emscripten_bind_btVector4_y_0=h._emscripten_bind_btVector4_y_0,iw=d._emscripten_bind_btVector4_z_0=h._emscripten_bind_btVector4_z_0,jw=d._emscripten_bind_btVehicleRaycasterResult___destroy___0=h._emscripten_bind_btVehicleRaycasterResult___destroy___0,kw=d._emscripten_bind_btVehicleRaycasterResult_get_m_distFraction_0=h._emscripten_bind_btVehicleRaycasterResult_get_m_distFraction_0,lw=d._emscripten_bind_btVehicleRaycasterResult_get_m_hitNormalInWorld_0=h._emscripten_bind_btVehicleRaycasterResult_get_m_hitNormalInWorld_0, +mw=d._emscripten_bind_btVehicleRaycasterResult_get_m_hitPointInWorld_0=h._emscripten_bind_btVehicleRaycasterResult_get_m_hitPointInWorld_0,nw=d._emscripten_bind_btVehicleRaycasterResult_set_m_distFraction_1=h._emscripten_bind_btVehicleRaycasterResult_set_m_distFraction_1,ow=d._emscripten_bind_btVehicleRaycasterResult_set_m_hitNormalInWorld_1=h._emscripten_bind_btVehicleRaycasterResult_set_m_hitNormalInWorld_1,pw=d._emscripten_bind_btVehicleRaycasterResult_set_m_hitPointInWorld_1=h._emscripten_bind_btVehicleRaycasterResult_set_m_hitPointInWorld_1, +qw=d._emscripten_bind_btVehicleRaycaster___destroy___0=h._emscripten_bind_btVehicleRaycaster___destroy___0,rw=d._emscripten_bind_btVehicleRaycaster_castRay_3=h._emscripten_bind_btVehicleRaycaster_castRay_3,sw=d._emscripten_bind_btVehicleTuning_btVehicleTuning_0=h._emscripten_bind_btVehicleTuning_btVehicleTuning_0,tw=d._emscripten_bind_btVehicleTuning_get_m_frictionSlip_0=h._emscripten_bind_btVehicleTuning_get_m_frictionSlip_0,uw=d._emscripten_bind_btVehicleTuning_get_m_maxSuspensionForce_0=h._emscripten_bind_btVehicleTuning_get_m_maxSuspensionForce_0, +vw=d._emscripten_bind_btVehicleTuning_get_m_maxSuspensionTravelCm_0=h._emscripten_bind_btVehicleTuning_get_m_maxSuspensionTravelCm_0,ww=d._emscripten_bind_btVehicleTuning_get_m_suspensionCompression_0=h._emscripten_bind_btVehicleTuning_get_m_suspensionCompression_0,xw=d._emscripten_bind_btVehicleTuning_get_m_suspensionDamping_0=h._emscripten_bind_btVehicleTuning_get_m_suspensionDamping_0,yw=d._emscripten_bind_btVehicleTuning_get_m_suspensionStiffness_0=h._emscripten_bind_btVehicleTuning_get_m_suspensionStiffness_0, +zw=d._emscripten_bind_btVehicleTuning_set_m_frictionSlip_1=h._emscripten_bind_btVehicleTuning_set_m_frictionSlip_1,Aw=d._emscripten_bind_btVehicleTuning_set_m_maxSuspensionForce_1=h._emscripten_bind_btVehicleTuning_set_m_maxSuspensionForce_1,Bw=d._emscripten_bind_btVehicleTuning_set_m_maxSuspensionTravelCm_1=h._emscripten_bind_btVehicleTuning_set_m_maxSuspensionTravelCm_1,Cw=d._emscripten_bind_btVehicleTuning_set_m_suspensionCompression_1=h._emscripten_bind_btVehicleTuning_set_m_suspensionCompression_1, +Dw=d._emscripten_bind_btVehicleTuning_set_m_suspensionDamping_1=h._emscripten_bind_btVehicleTuning_set_m_suspensionDamping_1,Ew=d._emscripten_bind_btVehicleTuning_set_m_suspensionStiffness_1=h._emscripten_bind_btVehicleTuning_set_m_suspensionStiffness_1,Fw=d._emscripten_bind_btWheelInfoConstructionInfo___destroy___0=h._emscripten_bind_btWheelInfoConstructionInfo___destroy___0,Gw=d._emscripten_bind_btWheelInfoConstructionInfo_get_m_bIsFrontWheel_0=h._emscripten_bind_btWheelInfoConstructionInfo_get_m_bIsFrontWheel_0, +Hw=d._emscripten_bind_btWheelInfoConstructionInfo_get_m_chassisConnectionCS_0=h._emscripten_bind_btWheelInfoConstructionInfo_get_m_chassisConnectionCS_0,Iw=d._emscripten_bind_btWheelInfoConstructionInfo_get_m_frictionSlip_0=h._emscripten_bind_btWheelInfoConstructionInfo_get_m_frictionSlip_0,Jw=d._emscripten_bind_btWheelInfoConstructionInfo_get_m_maxSuspensionForce_0=h._emscripten_bind_btWheelInfoConstructionInfo_get_m_maxSuspensionForce_0,Kw=d._emscripten_bind_btWheelInfoConstructionInfo_get_m_maxSuspensionTravelCm_0= +h._emscripten_bind_btWheelInfoConstructionInfo_get_m_maxSuspensionTravelCm_0,Lw=d._emscripten_bind_btWheelInfoConstructionInfo_get_m_suspensionRestLength_0=h._emscripten_bind_btWheelInfoConstructionInfo_get_m_suspensionRestLength_0,Mw=d._emscripten_bind_btWheelInfoConstructionInfo_get_m_suspensionStiffness_0=h._emscripten_bind_btWheelInfoConstructionInfo_get_m_suspensionStiffness_0,Nw=d._emscripten_bind_btWheelInfoConstructionInfo_get_m_wheelAxleCS_0=h._emscripten_bind_btWheelInfoConstructionInfo_get_m_wheelAxleCS_0, +Ow=d._emscripten_bind_btWheelInfoConstructionInfo_get_m_wheelDirectionCS_0=h._emscripten_bind_btWheelInfoConstructionInfo_get_m_wheelDirectionCS_0,Pw=d._emscripten_bind_btWheelInfoConstructionInfo_get_m_wheelRadius_0=h._emscripten_bind_btWheelInfoConstructionInfo_get_m_wheelRadius_0,Qw=d._emscripten_bind_btWheelInfoConstructionInfo_get_m_wheelsDampingCompression_0=h._emscripten_bind_btWheelInfoConstructionInfo_get_m_wheelsDampingCompression_0,Rw=d._emscripten_bind_btWheelInfoConstructionInfo_get_m_wheelsDampingRelaxation_0= +h._emscripten_bind_btWheelInfoConstructionInfo_get_m_wheelsDampingRelaxation_0,Sw=d._emscripten_bind_btWheelInfoConstructionInfo_set_m_bIsFrontWheel_1=h._emscripten_bind_btWheelInfoConstructionInfo_set_m_bIsFrontWheel_1,Tw=d._emscripten_bind_btWheelInfoConstructionInfo_set_m_chassisConnectionCS_1=h._emscripten_bind_btWheelInfoConstructionInfo_set_m_chassisConnectionCS_1,Uw=d._emscripten_bind_btWheelInfoConstructionInfo_set_m_frictionSlip_1=h._emscripten_bind_btWheelInfoConstructionInfo_set_m_frictionSlip_1, +Vw=d._emscripten_bind_btWheelInfoConstructionInfo_set_m_maxSuspensionForce_1=h._emscripten_bind_btWheelInfoConstructionInfo_set_m_maxSuspensionForce_1,Ww=d._emscripten_bind_btWheelInfoConstructionInfo_set_m_maxSuspensionTravelCm_1=h._emscripten_bind_btWheelInfoConstructionInfo_set_m_maxSuspensionTravelCm_1,Xw=d._emscripten_bind_btWheelInfoConstructionInfo_set_m_suspensionRestLength_1=h._emscripten_bind_btWheelInfoConstructionInfo_set_m_suspensionRestLength_1,Yw=d._emscripten_bind_btWheelInfoConstructionInfo_set_m_suspensionStiffness_1= +h._emscripten_bind_btWheelInfoConstructionInfo_set_m_suspensionStiffness_1,Zw=d._emscripten_bind_btWheelInfoConstructionInfo_set_m_wheelAxleCS_1=h._emscripten_bind_btWheelInfoConstructionInfo_set_m_wheelAxleCS_1,$w=d._emscripten_bind_btWheelInfoConstructionInfo_set_m_wheelDirectionCS_1=h._emscripten_bind_btWheelInfoConstructionInfo_set_m_wheelDirectionCS_1,ax=d._emscripten_bind_btWheelInfoConstructionInfo_set_m_wheelRadius_1=h._emscripten_bind_btWheelInfoConstructionInfo_set_m_wheelRadius_1,bx=d._emscripten_bind_btWheelInfoConstructionInfo_set_m_wheelsDampingCompression_1= +h._emscripten_bind_btWheelInfoConstructionInfo_set_m_wheelsDampingCompression_1,cx=d._emscripten_bind_btWheelInfoConstructionInfo_set_m_wheelsDampingRelaxation_1=h._emscripten_bind_btWheelInfoConstructionInfo_set_m_wheelsDampingRelaxation_1,dx=d._emscripten_bind_btWheelInfo___destroy___0=h._emscripten_bind_btWheelInfo___destroy___0,ex=d._emscripten_bind_btWheelInfo_btWheelInfo_1=h._emscripten_bind_btWheelInfo_btWheelInfo_1,fx=d._emscripten_bind_btWheelInfo_getSuspensionRestLength_0=h._emscripten_bind_btWheelInfo_getSuspensionRestLength_0, +gx=d._emscripten_bind_btWheelInfo_get_m_bIsFrontWheel_0=h._emscripten_bind_btWheelInfo_get_m_bIsFrontWheel_0,hx=d._emscripten_bind_btWheelInfo_get_m_brake_0=h._emscripten_bind_btWheelInfo_get_m_brake_0,ix=d._emscripten_bind_btWheelInfo_get_m_chassisConnectionPointCS_0=h._emscripten_bind_btWheelInfo_get_m_chassisConnectionPointCS_0,jx=d._emscripten_bind_btWheelInfo_get_m_clippedInvContactDotSuspension_0=h._emscripten_bind_btWheelInfo_get_m_clippedInvContactDotSuspension_0,kx=d._emscripten_bind_btWheelInfo_get_m_deltaRotation_0= +h._emscripten_bind_btWheelInfo_get_m_deltaRotation_0,lx=d._emscripten_bind_btWheelInfo_get_m_engineForce_0=h._emscripten_bind_btWheelInfo_get_m_engineForce_0,mx=d._emscripten_bind_btWheelInfo_get_m_frictionSlip_0=h._emscripten_bind_btWheelInfo_get_m_frictionSlip_0,nx=d._emscripten_bind_btWheelInfo_get_m_maxSuspensionForce_0=h._emscripten_bind_btWheelInfo_get_m_maxSuspensionForce_0,ox=d._emscripten_bind_btWheelInfo_get_m_maxSuspensionTravelCm_0=h._emscripten_bind_btWheelInfo_get_m_maxSuspensionTravelCm_0, +px=d._emscripten_bind_btWheelInfo_get_m_raycastInfo_0=h._emscripten_bind_btWheelInfo_get_m_raycastInfo_0,qx=d._emscripten_bind_btWheelInfo_get_m_rollInfluence_0=h._emscripten_bind_btWheelInfo_get_m_rollInfluence_0,rx=d._emscripten_bind_btWheelInfo_get_m_rotation_0=h._emscripten_bind_btWheelInfo_get_m_rotation_0,sx=d._emscripten_bind_btWheelInfo_get_m_skidInfo_0=h._emscripten_bind_btWheelInfo_get_m_skidInfo_0,tx=d._emscripten_bind_btWheelInfo_get_m_steering_0=h._emscripten_bind_btWheelInfo_get_m_steering_0, +ux=d._emscripten_bind_btWheelInfo_get_m_suspensionRelativeVelocity_0=h._emscripten_bind_btWheelInfo_get_m_suspensionRelativeVelocity_0,vx=d._emscripten_bind_btWheelInfo_get_m_suspensionRestLength1_0=h._emscripten_bind_btWheelInfo_get_m_suspensionRestLength1_0,wx=d._emscripten_bind_btWheelInfo_get_m_suspensionStiffness_0=h._emscripten_bind_btWheelInfo_get_m_suspensionStiffness_0,xx=d._emscripten_bind_btWheelInfo_get_m_wheelAxleCS_0=h._emscripten_bind_btWheelInfo_get_m_wheelAxleCS_0,yx=d._emscripten_bind_btWheelInfo_get_m_wheelDirectionCS_0= +h._emscripten_bind_btWheelInfo_get_m_wheelDirectionCS_0,zx=d._emscripten_bind_btWheelInfo_get_m_wheelsDampingCompression_0=h._emscripten_bind_btWheelInfo_get_m_wheelsDampingCompression_0,Ax=d._emscripten_bind_btWheelInfo_get_m_wheelsDampingRelaxation_0=h._emscripten_bind_btWheelInfo_get_m_wheelsDampingRelaxation_0,Bx=d._emscripten_bind_btWheelInfo_get_m_wheelsRadius_0=h._emscripten_bind_btWheelInfo_get_m_wheelsRadius_0,Cx=d._emscripten_bind_btWheelInfo_get_m_wheelsSuspensionForce_0=h._emscripten_bind_btWheelInfo_get_m_wheelsSuspensionForce_0, +Dx=d._emscripten_bind_btWheelInfo_get_m_worldTransform_0=h._emscripten_bind_btWheelInfo_get_m_worldTransform_0,Ex=d._emscripten_bind_btWheelInfo_set_m_bIsFrontWheel_1=h._emscripten_bind_btWheelInfo_set_m_bIsFrontWheel_1,Fx=d._emscripten_bind_btWheelInfo_set_m_brake_1=h._emscripten_bind_btWheelInfo_set_m_brake_1,Gx=d._emscripten_bind_btWheelInfo_set_m_chassisConnectionPointCS_1=h._emscripten_bind_btWheelInfo_set_m_chassisConnectionPointCS_1,Hx=d._emscripten_bind_btWheelInfo_set_m_clippedInvContactDotSuspension_1= +h._emscripten_bind_btWheelInfo_set_m_clippedInvContactDotSuspension_1,Ix=d._emscripten_bind_btWheelInfo_set_m_deltaRotation_1=h._emscripten_bind_btWheelInfo_set_m_deltaRotation_1,Jx=d._emscripten_bind_btWheelInfo_set_m_engineForce_1=h._emscripten_bind_btWheelInfo_set_m_engineForce_1,Kx=d._emscripten_bind_btWheelInfo_set_m_frictionSlip_1=h._emscripten_bind_btWheelInfo_set_m_frictionSlip_1,Lx=d._emscripten_bind_btWheelInfo_set_m_maxSuspensionForce_1=h._emscripten_bind_btWheelInfo_set_m_maxSuspensionForce_1, +Mx=d._emscripten_bind_btWheelInfo_set_m_maxSuspensionTravelCm_1=h._emscripten_bind_btWheelInfo_set_m_maxSuspensionTravelCm_1,Nx=d._emscripten_bind_btWheelInfo_set_m_raycastInfo_1=h._emscripten_bind_btWheelInfo_set_m_raycastInfo_1,Ox=d._emscripten_bind_btWheelInfo_set_m_rollInfluence_1=h._emscripten_bind_btWheelInfo_set_m_rollInfluence_1,Px=d._emscripten_bind_btWheelInfo_set_m_rotation_1=h._emscripten_bind_btWheelInfo_set_m_rotation_1,Qx=d._emscripten_bind_btWheelInfo_set_m_skidInfo_1=h._emscripten_bind_btWheelInfo_set_m_skidInfo_1, +Rx=d._emscripten_bind_btWheelInfo_set_m_steering_1=h._emscripten_bind_btWheelInfo_set_m_steering_1,Sx=d._emscripten_bind_btWheelInfo_set_m_suspensionRelativeVelocity_1=h._emscripten_bind_btWheelInfo_set_m_suspensionRelativeVelocity_1,Tx=d._emscripten_bind_btWheelInfo_set_m_suspensionRestLength1_1=h._emscripten_bind_btWheelInfo_set_m_suspensionRestLength1_1,Ux=d._emscripten_bind_btWheelInfo_set_m_suspensionStiffness_1=h._emscripten_bind_btWheelInfo_set_m_suspensionStiffness_1,Vx=d._emscripten_bind_btWheelInfo_set_m_wheelAxleCS_1= +h._emscripten_bind_btWheelInfo_set_m_wheelAxleCS_1,Wx=d._emscripten_bind_btWheelInfo_set_m_wheelDirectionCS_1=h._emscripten_bind_btWheelInfo_set_m_wheelDirectionCS_1,Xx=d._emscripten_bind_btWheelInfo_set_m_wheelsDampingCompression_1=h._emscripten_bind_btWheelInfo_set_m_wheelsDampingCompression_1,Yx=d._emscripten_bind_btWheelInfo_set_m_wheelsDampingRelaxation_1=h._emscripten_bind_btWheelInfo_set_m_wheelsDampingRelaxation_1,Zx=d._emscripten_bind_btWheelInfo_set_m_wheelsRadius_1=h._emscripten_bind_btWheelInfo_set_m_wheelsRadius_1, +$x=d._emscripten_bind_btWheelInfo_set_m_wheelsSuspensionForce_1=h._emscripten_bind_btWheelInfo_set_m_wheelsSuspensionForce_1,ay=d._emscripten_bind_btWheelInfo_set_m_worldTransform_1=h._emscripten_bind_btWheelInfo_set_m_worldTransform_1,by=d._emscripten_bind_btWheelInfo_updateWheel_2=h._emscripten_bind_btWheelInfo_updateWheel_2,cy=d._emscripten_bind_tAnchorArray___destroy___0=h._emscripten_bind_tAnchorArray___destroy___0,dy=d._emscripten_bind_tAnchorArray_at_1=h._emscripten_bind_tAnchorArray_at_1, +ey=d._emscripten_bind_tAnchorArray_clear_0=h._emscripten_bind_tAnchorArray_clear_0,fy=d._emscripten_bind_tAnchorArray_pop_back_0=h._emscripten_bind_tAnchorArray_pop_back_0,gy=d._emscripten_bind_tAnchorArray_push_back_1=h._emscripten_bind_tAnchorArray_push_back_1,hy=d._emscripten_bind_tAnchorArray_size_0=h._emscripten_bind_tAnchorArray_size_0,iy=d._emscripten_bind_tMaterialArray___destroy___0=h._emscripten_bind_tMaterialArray___destroy___0,jy=d._emscripten_bind_tMaterialArray_at_1=h._emscripten_bind_tMaterialArray_at_1, +ky=d._emscripten_bind_tMaterialArray_size_0=h._emscripten_bind_tMaterialArray_size_0,ly=d._emscripten_bind_tNodeArray___destroy___0=h._emscripten_bind_tNodeArray___destroy___0,my=d._emscripten_bind_tNodeArray_at_1=h._emscripten_bind_tNodeArray_at_1,ny=d._emscripten_bind_tNodeArray_size_0=h._emscripten_bind_tNodeArray_size_0,oy=d._emscripten_enum_PHY_ScalarType_PHY_DOUBLE=h._emscripten_enum_PHY_ScalarType_PHY_DOUBLE,py=d._emscripten_enum_PHY_ScalarType_PHY_FIXEDPOINT88=h._emscripten_enum_PHY_ScalarType_PHY_FIXEDPOINT88, +qy=d._emscripten_enum_PHY_ScalarType_PHY_FLOAT=h._emscripten_enum_PHY_ScalarType_PHY_FLOAT,ry=d._emscripten_enum_PHY_ScalarType_PHY_INTEGER=h._emscripten_enum_PHY_ScalarType_PHY_INTEGER,sy=d._emscripten_enum_PHY_ScalarType_PHY_SHORT=h._emscripten_enum_PHY_ScalarType_PHY_SHORT,ty=d._emscripten_enum_PHY_ScalarType_PHY_UCHAR=h._emscripten_enum_PHY_ScalarType_PHY_UCHAR,uy=d._emscripten_enum_btConstraintParams_BT_CONSTRAINT_CFM=h._emscripten_enum_btConstraintParams_BT_CONSTRAINT_CFM,vy=d._emscripten_enum_btConstraintParams_BT_CONSTRAINT_ERP= +h._emscripten_enum_btConstraintParams_BT_CONSTRAINT_ERP,wy=d._emscripten_enum_btConstraintParams_BT_CONSTRAINT_STOP_CFM=h._emscripten_enum_btConstraintParams_BT_CONSTRAINT_STOP_CFM,xy=d._emscripten_enum_btConstraintParams_BT_CONSTRAINT_STOP_ERP=h._emscripten_enum_btConstraintParams_BT_CONSTRAINT_STOP_ERP,fb=d._free=h._free;d._i64Add=h._i64Add;d._i64Subtract=h._i64Subtract;d._llvm_bswap_i16=h._llvm_bswap_i16;d._llvm_bswap_i32=h._llvm_bswap_i32;var Ua=d._malloc=h._malloc;d._memcpy=h._memcpy; +d._memmove=h._memmove;d._memset=h._memset;d._sbrk=h._sbrk;d.establishStackSpace=h.establishStackSpace;d.setThrew=h.setThrew;d.stackAlloc=h.stackAlloc;d.stackRestore=h.stackRestore;d.stackSave=h.stackSave;d.dynCall_di=h.dynCall_di;d.dynCall_did=h.dynCall_did;d.dynCall_diidii=h.dynCall_diidii;d.dynCall_diii=h.dynCall_diii;d.dynCall_diiidii=h.dynCall_diiidii;d.dynCall_diiii=h.dynCall_diiii;d.dynCall_diiiii=h.dynCall_diiiii;d.dynCall_diiiiiiii=h.dynCall_diiiiiiii;d.dynCall_diiiiiiiii=h.dynCall_diiiiiiiii; +d.dynCall_diiiiiiiiii=h.dynCall_diiiiiiiiii;d.dynCall_ii=h.dynCall_ii;d.dynCall_iidid=h.dynCall_iidid;d.dynCall_iii=h.dynCall_iii;d.dynCall_iiid=h.dynCall_iiid;d.dynCall_iiii=h.dynCall_iiii;d.dynCall_iiiii=h.dynCall_iiiii;d.dynCall_iiiiiii=h.dynCall_iiiiiii;d.dynCall_iiiiiiiiii=h.dynCall_iiiiiiiiii;d.dynCall_iiiiiiiiiii=h.dynCall_iiiiiiiiiii;d.dynCall_v=h.dynCall_v;d.dynCall_vi=h.dynCall_vi;d.dynCall_vid=h.dynCall_vid;d.dynCall_vidd=h.dynCall_vidd;d.dynCall_viddiii=h.dynCall_viddiii; +d.dynCall_vidi=h.dynCall_vidi;d.dynCall_vidii=h.dynCall_vidii;d.dynCall_vii=h.dynCall_vii;d.dynCall_viid=h.dynCall_viid;d.dynCall_viidi=h.dynCall_viidi;d.dynCall_viidii=h.dynCall_viidii;d.dynCall_viii=h.dynCall_viii;d.dynCall_viiid=h.dynCall_viiid;d.dynCall_viiidii=h.dynCall_viiidii;d.dynCall_viiii=h.dynCall_viiii;d.dynCall_viiiid=h.dynCall_viiiid;d.dynCall_viiiidddddidi=h.dynCall_viiiidddddidi;d.dynCall_viiiiddddiid=h.dynCall_viiiiddddiid;d.dynCall_viiiii=h.dynCall_viiiii;d.dynCall_viiiiid=h.dynCall_viiiiid; +d.dynCall_viiiiii=h.dynCall_viiiiii;d.dynCall_viiiiiii=h.dynCall_viiiiiii;d.dynCall_viiiiiiiid=h.dynCall_viiiiiiiid;d.dynCall_viiiiiiiii=h.dynCall_viiiiiiiii;d.dynCall_viiiiiiiiii=h.dynCall_viiiiiiiiii;d.asm=h;d.Pointer_stringify=function(a,b){if(0===b||!a)return"";for(var e=0,f,g=0;;){f=wa[a+g>>0];e|=f;if(0==f&&!b)break;g++;if(b&&g==b)break}b||(b=g);f="";if(128>e){for(;0=c.size?(assert(0>=1;break;case 4:e>>=2;break;case 8:e>>= +3}for(var f=0;f=f&&(f=65536+((f&1023)<<10)|a.charCodeAt(++e)&1023);127>=f?++b:b=2047>=f?b+2:65535>=f?b+3:2097151>=f?b+4:67108863>=f?b+5:b+6}b=Array(b+1);f=b.length;e=0;if(0=n){var A=a.charCodeAt(++g);n=65536+((n&1023)<<10)|A&1023}if(127>=n){if(e>=f)break;b[e++]=n}else{if(2047>=n){if(e+1>=f)break;b[e++]=192|n>>6}else{if(65535>= +n){if(e+2>=f)break;b[e++]=224|n>>12}else{if(e+3>=f)break;b[e++]=240|n>>18;b[e++]=128|n>>12&63}b[e++]=128|n>>6&63}b[e++]=128|n&63}}b[e]=0}a=c.fa(b,va);c.copy(b,va,a)}return a}function Hy(a){if("object"===typeof a){var b=c.fa(a,ya);c.copy(a,ya,b);return b}return a}function Iy(){throw"cannot construct a btCollisionWorld, no constructor in IDL";}Iy.prototype=Object.create(k.prototype);Iy.prototype.constructor=Iy;Iy.prototype.K=Iy;Iy.L={};d.btCollisionWorld=Iy; +Iy.prototype.getDispatcher=function(){return m(Pg(this.J),Jy)};Iy.prototype.rayTest=function(a,b,e){var f=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);Rg(f,a,b,e)};Iy.prototype.getPairCache=function(){return m(Qg(this.J),Ky)};Iy.prototype.getDispatchInfo=function(){return m(Og(this.J),p)}; +Iy.prototype.addCollisionObject=function(a,b,e){var f=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);void 0===b?Eg(f,a):void 0===e?Fg(f,a,b):Gg(f,a,b,e)};Iy.prototype.removeCollisionObject=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Sg(b,a)};Iy.prototype.getBroadphase=function(){return m(Mg(this.J),Ly)}; +Iy.prototype.convexSweepTest=function(a,b,e,f,g){var n=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);f&&"object"===typeof f&&(f=f.J);g&&"object"===typeof g&&(g=g.J);Jg(n,a,b,e,f,g)};Iy.prototype.contactPairTest=function(a,b,e){var f=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);Hg(f,a,b,e)}; +Iy.prototype.contactTest=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);Ig(e,a,b)};Iy.prototype.updateSingleAabb=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Ug(b,a)};Iy.prototype.setDebugDrawer=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Tg(b,a)};Iy.prototype.getDebugDrawer=function(){return m(Ng(this.J),My)};Iy.prototype.debugDrawWorld=function(){Lg(this.J)}; +Iy.prototype.debugDrawObject=function(a,b,e){var f=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);Kg(f,a,b,e)};Iy.prototype.__destroy__=function(){Dg(this.J)};function q(){throw"cannot construct a btCollisionShape, no constructor in IDL";}q.prototype=Object.create(k.prototype);q.prototype.constructor=q;q.prototype.K=q;q.L={};d.btCollisionShape=q;q.prototype.setLocalScaling=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Bg(b,a)}; +q.prototype.getLocalScaling=function(){return m(zg(this.J),r)};q.prototype.calculateLocalInertia=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);yg(e,a,b)};q.prototype.setMargin=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Cg(b,a)};q.prototype.getMargin=function(){return Ag(this.J)};q.prototype.__destroy__=function(){xg(this.J)};function t(){throw"cannot construct a btCollisionObject, no constructor in IDL";}t.prototype=Object.create(k.prototype); +t.prototype.constructor=t;t.prototype.K=t;t.L={};d.btCollisionObject=t;t.prototype.setAnisotropicFriction=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);lg(e,a,b)};t.prototype.getCollisionShape=function(){return m(cg(this.J),q)};t.prototype.setContactProcessingThreshold=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);qg(b,a)};t.prototype.setActivationState=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);kg(b,a)}; +t.prototype.forceActivationState=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);ag(b,a)};t.prototype.activate=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);void 0===a?Zf(b):$f(b,a)};t.prototype.isActive=function(){return!!gg(this.J)};t.prototype.isKinematicObject=function(){return!!hg(this.J)};t.prototype.isStaticObject=function(){return!!ig(this.J)};t.prototype.isStaticOrKinematicObject=function(){return!!jg(this.J)}; +t.prototype.setRestitution=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);sg(b,a)};t.prototype.setFriction=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);rg(b,a)};t.prototype.setRollingFriction=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);tg(b,a)};t.prototype.getWorldTransform=function(){return m(fg(this.J),u)};t.prototype.getCollisionFlags=function(){return bg(this.J)};t.prototype.setCollisionFlags=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);og(b,a)}; +t.prototype.setWorldTransform=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);wg(b,a)};t.prototype.setCollisionShape=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);pg(b,a)};t.prototype.setCcdMotionThreshold=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);mg(b,a)};t.prototype.setCcdSweptSphereRadius=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);ng(b,a)};t.prototype.getUserIndex=function(){return dg(this.J)}; +t.prototype.setUserIndex=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);ug(b,a)};t.prototype.getUserPointer=function(){return m(eg(this.J),Ny)};t.prototype.setUserPointer=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);vg(b,a)};t.prototype.__destroy__=function(){Yf(this.J)};function v(){throw"cannot construct a btDynamicsWorld, no constructor in IDL";}v.prototype=Object.create(Iy.prototype);v.prototype.constructor=v;v.prototype.K=v;v.L={};d.btDynamicsWorld=v; +v.prototype.addAction=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Ik(b,a)};v.prototype.removeAction=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Yk(b,a)};v.prototype.getSolverInfo=function(){return m(Wk(this.J),w)};v.prototype.getDispatcher=function(){return m(Uk(this.J),Jy)};v.prototype.rayTest=function(a,b,e){var f=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);Xk(f,a,b,e)}; +v.prototype.getPairCache=function(){return m(Vk(this.J),Ky)};v.prototype.getDispatchInfo=function(){return m(Tk(this.J),p)};v.prototype.addCollisionObject=function(a,b,e){var f=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);void 0===b?Jk(f,a):void 0===e?Kk(f,a,b):Lk(f,a,b,e)};v.prototype.removeCollisionObject=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Zk(b,a)};v.prototype.getBroadphase=function(){return m(Rk(this.J),Ly)}; +v.prototype.convexSweepTest=function(a,b,e,f,g){var n=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);f&&"object"===typeof f&&(f=f.J);g&&"object"===typeof g&&(g=g.J);Ok(n,a,b,e,f,g)};v.prototype.contactPairTest=function(a,b,e){var f=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);Mk(f,a,b,e)}; +v.prototype.contactTest=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);Nk(e,a,b)};v.prototype.updateSingleAabb=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);al(b,a)};v.prototype.setDebugDrawer=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);$k(b,a)};v.prototype.getDebugDrawer=function(){return m(Sk(this.J),My)};v.prototype.debugDrawWorld=function(){Qk(this.J)}; +v.prototype.debugDrawObject=function(a,b,e){var f=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);Pk(f,a,b,e)};v.prototype.__destroy__=function(){Hk(this.J)};function Oy(){throw"cannot construct a btTypedConstraint, no constructor in IDL";}Oy.prototype=Object.create(k.prototype);Oy.prototype.constructor=Oy;Oy.prototype.K=Oy;Oy.L={};d.btTypedConstraint=Oy; +Oy.prototype.enableFeedback=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);tv(b,a)};Oy.prototype.getBreakingImpulseThreshold=function(){return uv(this.J)};Oy.prototype.setBreakingImpulseThreshold=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);wv(b,a)};Oy.prototype.getParam=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);return vv(e,a,b)}; +Oy.prototype.setParam=function(a,b,e){var f=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);xv(f,a,b,e)};Oy.prototype.__destroy__=function(){sv(this.J)};function Py(){throw"cannot construct a btConcaveShape, no constructor in IDL";}Py.prototype=Object.create(q.prototype);Py.prototype.constructor=Py;Py.prototype.K=Py;Py.L={};d.btConcaveShape=Py;Py.prototype.setLocalScaling=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);jh(b,a)}; +Py.prototype.getLocalScaling=function(){return m(ih(this.J),r)};Py.prototype.calculateLocalInertia=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);hh(e,a,b)};Py.prototype.__destroy__=function(){gh(this.J)};function Qy(a,b){a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);this.J=Kf(a,b);l(Qy)[this.J]=this}Qy.prototype=Object.create(q.prototype);Qy.prototype.constructor=Qy;Qy.prototype.K=Qy;Qy.L={};d.btCapsuleShape=Qy; +Qy.prototype.setMargin=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Sf(b,a)};Qy.prototype.getMargin=function(){return Of(this.J)};Qy.prototype.getUpAxis=function(){return Qf(this.J)};Qy.prototype.getRadius=function(){return Pf(this.J)};Qy.prototype.getHalfHeight=function(){return Mf(this.J)};Qy.prototype.setLocalScaling=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Rf(b,a)};Qy.prototype.getLocalScaling=function(){return m(Nf(this.J),r)}; +Qy.prototype.calculateLocalInertia=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);Lf(e,a,b)};Qy.prototype.__destroy__=function(){Jf(this.J)};function My(){throw"cannot construct a btIDebugDraw, no constructor in IDL";}My.prototype=Object.create(k.prototype);My.prototype.constructor=My;My.prototype.K=My;My.L={};d.btIDebugDraw=My; +My.prototype.drawLine=function(a,b,e){var f=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);an(f,a,b,e)};My.prototype.drawContactPoint=function(a,b,e,f,g){var n=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);f&&"object"===typeof f&&(f=f.J);g&&"object"===typeof g&&(g=g.J);$m(n,a,b,e,f,g)}; +My.prototype.reportErrorWarning=function(a){var b=this.J;c.M();a=a&&"object"===typeof a?a.J:Gy(a);cn(b,a)};My.prototype.draw3dText=function(a,b){var e=this.J;c.M();a&&"object"===typeof a&&(a=a.J);b=b&&"object"===typeof b?b.J:Gy(b);Zm(e,a,b)};My.prototype.setDebugMode=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);dn(b,a)};My.prototype.getDebugMode=function(){return bn(this.J)};My.prototype.__destroy__=function(){Ym(this.J)}; +function Ry(a){a&&"object"===typeof a&&(a=a.J);this.J=void 0===a?jj():kj(a);l(Ry)[this.J]=this}Ry.prototype=Object.create(k.prototype);Ry.prototype.constructor=Ry;Ry.prototype.K=Ry;Ry.L={};d.btDefaultCollisionConfiguration=Ry;Ry.prototype.__destroy__=function(){ij(this.J)};function x(){throw"cannot construct a ConvexResultCallback, no constructor in IDL";}x.prototype=Object.create(k.prototype);x.prototype.constructor=x;x.prototype.K=x;x.L={};d.ConvexResultCallback=x;x.prototype.hasHit=function(){return!!nd(this.J)}; +x.prototype.get_m_collisionFilterGroup=x.prototype.N=function(){return ld(this.J)};x.prototype.set_m_collisionFilterGroup=x.prototype.P=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);pd(b,a)};Object.defineProperty(x.prototype,"m_collisionFilterGroup",{get:x.prototype.N,set:x.prototype.P});x.prototype.get_m_collisionFilterMask=x.prototype.O=function(){return md(this.J)};x.prototype.set_m_collisionFilterMask=x.prototype.R=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);qd(b,a)}; +Object.defineProperty(x.prototype,"m_collisionFilterMask",{get:x.prototype.O,set:x.prototype.R});x.prototype.get_m_closestHitFraction=x.prototype.S=function(){return kd(this.J)};x.prototype.set_m_closestHitFraction=x.prototype.T=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);od(b,a)};Object.defineProperty(x.prototype,"m_closestHitFraction",{get:x.prototype.S,set:x.prototype.T});x.prototype.__destroy__=function(){jd(this.J)}; +function Sy(){throw"cannot construct a btTriangleMeshShape, no constructor in IDL";}Sy.prototype=Object.create(Py.prototype);Sy.prototype.constructor=Sy;Sy.prototype.K=Sy;Sy.L={};d.btTriangleMeshShape=Sy;Sy.prototype.setLocalScaling=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);lv(b,a)};Sy.prototype.getLocalScaling=function(){return m(kv(this.J),r)};Sy.prototype.calculateLocalInertia=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);jv(e,a,b)}; +Sy.prototype.__destroy__=function(){iv(this.J)};function y(){this.J=Wl();l(y)[this.J]=this}y.prototype=Object.create(t.prototype);y.prototype.constructor=y;y.prototype.K=y;y.L={};d.btGhostObject=y;y.prototype.getNumOverlappingObjects=function(){return $l(this.J)};y.prototype.getOverlappingObject=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);return m(am(b,a),t)}; +y.prototype.setAnisotropicFriction=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);jm(e,a,b)};y.prototype.getCollisionShape=function(){return m(Zl(this.J),q)};y.prototype.setContactProcessingThreshold=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);om(b,a)};y.prototype.setActivationState=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);im(b,a)}; +y.prototype.forceActivationState=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Xl(b,a)};y.prototype.activate=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);void 0===a?Ul(b):Vl(b,a)};y.prototype.isActive=function(){return!!em(this.J)};y.prototype.isKinematicObject=function(){return!!fm(this.J)};y.prototype.isStaticObject=function(){return!!gm(this.J)};y.prototype.isStaticOrKinematicObject=function(){return!!hm(this.J)}; +y.prototype.setRestitution=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);qm(b,a)};y.prototype.setFriction=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);pm(b,a)};y.prototype.setRollingFriction=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);rm(b,a)};y.prototype.getWorldTransform=function(){return m(dm(this.J),u)};y.prototype.getCollisionFlags=function(){return Yl(this.J)};y.prototype.setCollisionFlags=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);mm(b,a)}; +y.prototype.setWorldTransform=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);um(b,a)};y.prototype.setCollisionShape=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);nm(b,a)};y.prototype.setCcdMotionThreshold=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);km(b,a)};y.prototype.setCcdSweptSphereRadius=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);lm(b,a)};y.prototype.getUserIndex=function(){return bm(this.J)}; +y.prototype.setUserIndex=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);sm(b,a)};y.prototype.getUserPointer=function(){return m(cm(this.J),Ny)};y.prototype.setUserPointer=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);tm(b,a)};y.prototype.__destroy__=function(){Tl(this.J)};function Ty(a,b){a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);this.J=vh(a,b);l(Ty)[this.J]=this}Ty.prototype=Object.create(q.prototype);Ty.prototype.constructor=Ty;Ty.prototype.K=Ty;Ty.L={}; +d.btConeShape=Ty;Ty.prototype.setLocalScaling=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);yh(b,a)};Ty.prototype.getLocalScaling=function(){return m(xh(this.J),r)};Ty.prototype.calculateLocalInertia=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);wh(e,a,b)};Ty.prototype.__destroy__=function(){uh(this.J)};function Uy(){throw"cannot construct a btActionInterface, no constructor in IDL";}Uy.prototype=Object.create(k.prototype); +Uy.prototype.constructor=Uy;Uy.prototype.K=Uy;Uy.L={};d.btActionInterface=Uy;Uy.prototype.updateAction=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);Qe(e,a,b)};Uy.prototype.__destroy__=function(){Pe(this.J)}; +function r(a,b,e){a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);this.J=void 0===a?Cv():void 0===b?_emscripten_bind_btVector3_btVector3_1(a):void 0===e?_emscripten_bind_btVector3_btVector3_2(a,b):Dv(a,b,e);l(r)[this.J]=this}r.prototype=Object.create(k.prototype);r.prototype.constructor=r;r.prototype.K=r;r.L={};d.btVector3=r;r.prototype.length=r.prototype.length=function(){return Fv(this.J)};r.prototype.x=r.prototype.x=function(){return Pv(this.J)}; +r.prototype.y=r.prototype.y=function(){return Qv(this.J)};r.prototype.z=r.prototype.z=function(){return Rv(this.J)};r.prototype.setX=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Mv(b,a)};r.prototype.setY=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Nv(b,a)};r.prototype.setZ=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Ov(b,a)}; +r.prototype.setValue=function(a,b,e){var f=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);Lv(f,a,b,e)};r.prototype.normalize=r.prototype.normalize=function(){Gv(this.J)};r.prototype.rotate=r.prototype.rotate=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);return m(Kv(e,a,b),r)};r.prototype.dot=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);return Ev(b,a)}; +r.prototype.op_mul=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);return m(Iv(b,a),r)};r.prototype.op_add=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);return m(Hv(b,a),r)};r.prototype.op_sub=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);return m(Jv(b,a),r)};r.prototype.__destroy__=function(){Bv(this.J)};function Vy(){throw"cannot construct a btVehicleRaycaster, no constructor in IDL";}Vy.prototype=Object.create(k.prototype);Vy.prototype.constructor=Vy; +Vy.prototype.K=Vy;Vy.L={};d.btVehicleRaycaster=Vy;Vy.prototype.castRay=function(a,b,e){var f=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);rw(f,a,b,e)};Vy.prototype.__destroy__=function(){qw(this.J)};function Wy(){throw"cannot construct a btQuadWord, no constructor in IDL";}Wy.prototype=Object.create(k.prototype);Wy.prototype.constructor=Wy;Wy.prototype.K=Wy;Wy.L={};d.btQuadWord=Wy;Wy.prototype.x=Wy.prototype.x=function(){return gp(this.J)}; +Wy.prototype.y=Wy.prototype.y=function(){return hp(this.J)};Wy.prototype.z=Wy.prototype.z=function(){return ip(this.J)};Wy.prototype.w=Wy.prototype.za=function(){return fp(this.J)};Wy.prototype.setX=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);cp(b,a)};Wy.prototype.setY=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);dp(b,a)};Wy.prototype.setZ=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);ep(b,a)}; +Wy.prototype.setW=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);bp(b,a)};Wy.prototype.__destroy__=function(){ap(this.J)};function Xy(a){a&&"object"===typeof a&&(a=a.J);this.J=aj(a);l(Xy)[this.J]=this}Xy.prototype=Object.create(q.prototype);Xy.prototype.constructor=Xy;Xy.prototype.K=Xy;Xy.L={};d.btCylinderShape=Xy;Xy.prototype.setMargin=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);fj(b,a)};Xy.prototype.getMargin=function(){return dj(this.J)}; +Xy.prototype.setLocalScaling=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);ej(b,a)};Xy.prototype.getLocalScaling=function(){return m(cj(this.J),r)};Xy.prototype.calculateLocalInertia=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);bj(e,a,b)};Xy.prototype.__destroy__=function(){$i(this.J)}; +function z(a,b,e,f){a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);f&&"object"===typeof f&&(f=f.J);this.J=Jj(a,b,e,f);l(z)[this.J]=this}z.prototype=Object.create(v.prototype);z.prototype.constructor=z;z.prototype.K=z;z.L={};d.btDiscreteDynamicsWorld=z;z.prototype.setGravity=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);ck(b,a)};z.prototype.getGravity=function(){return m(Tj(this.J),r)}; +z.prototype.addRigidBody=function(a,b,e){var f=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);void 0===b?Hj(f,a):void 0===e?_emscripten_bind_btDiscreteDynamicsWorld_addRigidBody_2(f,a,b):Ij(f,a,b,e)};z.prototype.removeRigidBody=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);ak(b,a)};z.prototype.addConstraint=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);void 0===b?Fj(e,a):Gj(e,a,b)}; +z.prototype.removeConstraint=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Zj(b,a)};z.prototype.stepSimulation=function(a,b,e){var f=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);return void 0===b?dk(f,a):void 0===e?ek(f,a,b):fk(f,a,b,e)};z.prototype.getDispatcher=function(){return m(Sj(this.J),Jy)}; +z.prototype.rayTest=function(a,b,e){var f=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);Wj(f,a,b,e)};z.prototype.getPairCache=function(){return m(Uj(this.J),Ky)};z.prototype.getDispatchInfo=function(){return m(Rj(this.J),p)};z.prototype.addCollisionObject=function(a,b,e){var f=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);void 0===b?Cj(f,a):void 0===e?Dj(f,a,b):Ej(f,a,b,e)}; +z.prototype.removeCollisionObject=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Yj(b,a)};z.prototype.getBroadphase=function(){return m(Pj(this.J),Ly)};z.prototype.convexSweepTest=function(a,b,e,f,g){var n=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);f&&"object"===typeof f&&(f=f.J);g&&"object"===typeof g&&(g=g.J);Mj(n,a,b,e,f,g)}; +z.prototype.contactPairTest=function(a,b,e){var f=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);Kj(f,a,b,e)};z.prototype.contactTest=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);Lj(e,a,b)};z.prototype.updateSingleAabb=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);gk(b,a)};z.prototype.setDebugDrawer=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);bk(b,a)}; +z.prototype.getDebugDrawer=function(){return m(Qj(this.J),My)};z.prototype.debugDrawWorld=function(){Oj(this.J)};z.prototype.debugDrawObject=function(a,b,e){var f=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);Nj(f,a,b,e)};z.prototype.addAction=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Bj(b,a)};z.prototype.removeAction=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Xj(b,a)}; +z.prototype.getSolverInfo=function(){return m(Vj(this.J),w)};z.prototype.__destroy__=function(){Aj(this.J)};function Yy(){throw"cannot construct a btConvexShape, no constructor in IDL";}Yy.prototype=Object.create(q.prototype);Yy.prototype.constructor=Yy;Yy.prototype.K=Yy;Yy.L={};d.btConvexShape=Yy;Yy.prototype.setLocalScaling=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Ci(b,a)};Yy.prototype.getLocalScaling=function(){return m(Ai(this.J),r)}; +Yy.prototype.calculateLocalInertia=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);zi(e,a,b)};Yy.prototype.setMargin=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Di(b,a)};Yy.prototype.getMargin=function(){return Bi(this.J)};Yy.prototype.__destroy__=function(){yi(this.J)};function Jy(){throw"cannot construct a btDispatcher, no constructor in IDL";}Jy.prototype=Object.create(k.prototype);Jy.prototype.constructor=Jy;Jy.prototype.K=Jy;Jy.L={}; +d.btDispatcher=Jy;Jy.prototype.getNumManifolds=function(){return Gk(this.J)};Jy.prototype.getManifoldByIndexInternal=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);return m(Fk(b,a),Zy)};Jy.prototype.__destroy__=function(){Ek(this.J)}; +function $y(a,b,e,f,g){a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);f&&"object"===typeof f&&(f=f.J);g&&"object"===typeof g&&(g=g.J);this.J=void 0===f?rl(a,b,e):void 0===g?_emscripten_bind_btGeneric6DofConstraint_btGeneric6DofConstraint_4(a,b,e,f):sl(a,b,e,f,g);l($y)[this.J]=this}$y.prototype=Object.create(Oy.prototype);$y.prototype.constructor=$y;$y.prototype.K=$y;$y.L={};d.btGeneric6DofConstraint=$y; +$y.prototype.setLinearLowerLimit=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Al(b,a)};$y.prototype.setLinearUpperLimit=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Bl(b,a)};$y.prototype.setAngularLowerLimit=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);xl(b,a)};$y.prototype.setAngularUpperLimit=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);yl(b,a)};$y.prototype.getFrameOffsetA=function(){return m(vl(this.J),u)}; +$y.prototype.enableFeedback=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);tl(b,a)};$y.prototype.getBreakingImpulseThreshold=function(){return ul(this.J)};$y.prototype.setBreakingImpulseThreshold=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);zl(b,a)};$y.prototype.getParam=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);return wl(e,a,b)}; +$y.prototype.setParam=function(a,b,e){var f=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);Cl(f,a,b,e)};$y.prototype.__destroy__=function(){ql(this.J)};function az(){throw"cannot construct a btStridingMeshInterface, no constructor in IDL";}az.prototype=Object.create(k.prototype);az.prototype.constructor=az;az.prototype.K=az;az.L={};d.btStridingMeshInterface=az;az.prototype.__destroy__=function(){Wu(this.J)}; +function bz(){throw"cannot construct a btMotionState, no constructor in IDL";}bz.prototype=Object.create(k.prototype);bz.prototype.constructor=bz;bz.prototype.K=bz;bz.L={};d.btMotionState=bz;bz.prototype.getWorldTransform=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Zn(b,a)};bz.prototype.setWorldTransform=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);$n(b,a)};bz.prototype.__destroy__=function(){Yn(this.J)}; +function cz(){throw"cannot construct a ContactResultCallback, no constructor in IDL";}cz.prototype=Object.create(k.prototype);cz.prototype.constructor=cz;cz.prototype.K=cz;cz.L={};d.ContactResultCallback=cz; +cz.prototype.addSingleResult=function(a,b,e,f,g,n,A){var Q=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);f&&"object"===typeof f&&(f=f.J);g&&"object"===typeof g&&(g=g.J);n&&"object"===typeof n&&(n=n.J);A&&"object"===typeof A&&(A=A.J);return id(Q,a,b,e,f,g,n,A)};cz.prototype.__destroy__=function(){hd(this.J)};function dz(){throw"cannot construct a btSoftBodySolver, no constructor in IDL";}dz.prototype=Object.create(k.prototype); +dz.prototype.constructor=dz;dz.prototype.K=dz;dz.L={};d.btSoftBodySolver=dz;dz.prototype.__destroy__=function(){Ds(this.J)};function B(){throw"cannot construct a RayResultCallback, no constructor in IDL";}B.prototype=Object.create(k.prototype);B.prototype.constructor=B;B.prototype.K=B;B.L={};d.RayResultCallback=B;B.prototype.hasHit=function(){return!!se(this.J)};B.prototype.get_m_collisionFilterGroup=B.prototype.N=function(){return pe(this.J)}; +B.prototype.set_m_collisionFilterGroup=B.prototype.P=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);ue(b,a)};Object.defineProperty(B.prototype,"m_collisionFilterGroup",{get:B.prototype.N,set:B.prototype.P});B.prototype.get_m_collisionFilterMask=B.prototype.O=function(){return qe(this.J)};B.prototype.set_m_collisionFilterMask=B.prototype.R=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);ve(b,a)};Object.defineProperty(B.prototype,"m_collisionFilterMask",{get:B.prototype.O,set:B.prototype.R}); +B.prototype.get_m_closestHitFraction=B.prototype.S=function(){return oe(this.J)};B.prototype.set_m_closestHitFraction=B.prototype.T=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);te(b,a)};Object.defineProperty(B.prototype,"m_closestHitFraction",{get:B.prototype.S,set:B.prototype.T});B.prototype.get_m_collisionObject=B.prototype.ia=function(){return m(re(this.J),t)};B.prototype.set_m_collisionObject=B.prototype.ra=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);we(b,a)}; +Object.defineProperty(B.prototype,"m_collisionObject",{get:B.prototype.ia,set:B.prototype.ra});B.prototype.__destroy__=function(){ne(this.J)};function ez(){throw"cannot construct a btMatrix3x3, no constructor in IDL";}ez.prototype=Object.create(k.prototype);ez.prototype.constructor=ez;ez.prototype.K=ez;ez.L={};d.btMatrix3x3=ez;ez.prototype.setEulerZYX=function(a,b,e){var f=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);Xn(f,a,b,e)}; +ez.prototype.getRotation=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Vn(b,a)};ez.prototype.getRow=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);return m(Wn(b,a),r)};ez.prototype.__destroy__=function(){Un(this.J)};function p(){throw"cannot construct a btDispatcherInfo, no constructor in IDL";}p.prototype=Object.create(k.prototype);p.prototype.constructor=p;p.prototype.K=p;p.L={};d.btDispatcherInfo=p;p.prototype.get_m_timeStep=p.prototype.Rc=function(){return pk(this.J)}; +p.prototype.set_m_timeStep=p.prototype.Af=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Ak(b,a)};Object.defineProperty(p.prototype,"m_timeStep",{get:p.prototype.Rc,set:p.prototype.Af});p.prototype.get_m_stepCount=p.prototype.Ic=function(){return nk(this.J)};p.prototype.set_m_stepCount=p.prototype.rf=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);yk(b,a)};Object.defineProperty(p.prototype,"m_stepCount",{get:p.prototype.Ic,set:p.prototype.rf}); +p.prototype.get_m_dispatchFunc=p.prototype.Cb=function(){return kk(this.J)};p.prototype.set_m_dispatchFunc=p.prototype.ke=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);vk(b,a)};Object.defineProperty(p.prototype,"m_dispatchFunc",{get:p.prototype.Cb,set:p.prototype.ke});p.prototype.get_m_timeOfImpact=p.prototype.Qc=function(){return ok(this.J)};p.prototype.set_m_timeOfImpact=p.prototype.zf=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);zk(b,a)}; +Object.defineProperty(p.prototype,"m_timeOfImpact",{get:p.prototype.Qc,set:p.prototype.zf});p.prototype.get_m_useContinuous=p.prototype.Tc=function(){return!!qk(this.J)};p.prototype.set_m_useContinuous=p.prototype.Cf=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Bk(b,a)};Object.defineProperty(p.prototype,"m_useContinuous",{get:p.prototype.Tc,set:p.prototype.Cf});p.prototype.get_m_enableSatConvex=p.prototype.Gb=function(){return!!mk(this.J)}; +p.prototype.set_m_enableSatConvex=p.prototype.oe=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);xk(b,a)};Object.defineProperty(p.prototype,"m_enableSatConvex",{get:p.prototype.Gb,set:p.prototype.oe});p.prototype.get_m_enableSPU=p.prototype.Fb=function(){return!!lk(this.J)};p.prototype.set_m_enableSPU=p.prototype.ne=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);wk(b,a)};Object.defineProperty(p.prototype,"m_enableSPU",{get:p.prototype.Fb,set:p.prototype.ne}); +p.prototype.get_m_useEpa=p.prototype.Vc=function(){return!!sk(this.J)};p.prototype.set_m_useEpa=p.prototype.Ef=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Dk(b,a)};Object.defineProperty(p.prototype,"m_useEpa",{get:p.prototype.Vc,set:p.prototype.Ef});p.prototype.get_m_allowedCcdPenetration=p.prototype.gb=function(){return ik(this.J)};p.prototype.set_m_allowedCcdPenetration=p.prototype.Pd=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);tk(b,a)}; +Object.defineProperty(p.prototype,"m_allowedCcdPenetration",{get:p.prototype.gb,set:p.prototype.Pd});p.prototype.get_m_useConvexConservativeDistanceUtil=p.prototype.Uc=function(){return!!rk(this.J)};p.prototype.set_m_useConvexConservativeDistanceUtil=p.prototype.Df=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Ck(b,a)};Object.defineProperty(p.prototype,"m_useConvexConservativeDistanceUtil",{get:p.prototype.Uc,set:p.prototype.Df}); +p.prototype.get_m_convexConservativeDistanceThreshold=p.prototype.xb=function(){return jk(this.J)};p.prototype.set_m_convexConservativeDistanceThreshold=p.prototype.fe=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);uk(b,a)};Object.defineProperty(p.prototype,"m_convexConservativeDistanceThreshold",{get:p.prototype.xb,set:p.prototype.fe});p.prototype.__destroy__=function(){hk(this.J)};function C(){throw"cannot construct a Material, no constructor in IDL";}C.prototype=Object.create(k.prototype); +C.prototype.constructor=C;C.prototype.K=C;C.L={};d.Material=C;C.prototype.get_m_kLST=C.prototype.bc=function(){return Td(this.J)};C.prototype.set_m_kLST=C.prototype.Ke=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Xd(b,a)};Object.defineProperty(C.prototype,"m_kLST",{get:C.prototype.bc,set:C.prototype.Ke});C.prototype.get_m_kAST=C.prototype.ac=function(){return Sd(this.J)};C.prototype.set_m_kAST=C.prototype.Je=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Wd(b,a)}; +Object.defineProperty(C.prototype,"m_kAST",{get:C.prototype.ac,set:C.prototype.Je});C.prototype.get_m_kVST=C.prototype.cc=function(){return Ud(this.J)};C.prototype.set_m_kVST=C.prototype.Le=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Yd(b,a)};Object.defineProperty(C.prototype,"m_kVST",{get:C.prototype.cc,set:C.prototype.Le});C.prototype.get_m_flags=C.prototype.Kb=function(){return Rd(this.J)}; +C.prototype.set_m_flags=C.prototype.se=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Vd(b,a)};Object.defineProperty(C.prototype,"m_flags",{get:C.prototype.Kb,set:C.prototype.se});C.prototype.__destroy__=function(){Qd(this.J)};function D(){throw"cannot construct a btWheelInfoConstructionInfo, no constructor in IDL";}D.prototype=Object.create(k.prototype);D.prototype.constructor=D;D.prototype.K=D;D.L={};d.btWheelInfoConstructionInfo=D; +D.prototype.get_m_chassisConnectionCS=D.prototype.sb=function(){return m(Hw(this.J),r)};D.prototype.set_m_chassisConnectionCS=D.prototype.ae=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Tw(b,a)};Object.defineProperty(D.prototype,"m_chassisConnectionCS",{get:D.prototype.sb,set:D.prototype.ae});D.prototype.get_m_wheelDirectionCS=D.prototype.ma=function(){return m(Ow(this.J),r)}; +D.prototype.set_m_wheelDirectionCS=D.prototype.va=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);$w(b,a)};Object.defineProperty(D.prototype,"m_wheelDirectionCS",{get:D.prototype.ma,set:D.prototype.va});D.prototype.get_m_wheelAxleCS=D.prototype.la=function(){return m(Nw(this.J),r)};D.prototype.set_m_wheelAxleCS=D.prototype.ua=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Zw(b,a)};Object.defineProperty(D.prototype,"m_wheelAxleCS",{get:D.prototype.la,set:D.prototype.ua}); +D.prototype.get_m_suspensionRestLength=D.prototype.Nc=function(){return Lw(this.J)};D.prototype.set_m_suspensionRestLength=D.prototype.wf=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Xw(b,a)};Object.defineProperty(D.prototype,"m_suspensionRestLength",{get:D.prototype.Nc,set:D.prototype.wf});D.prototype.get_m_maxSuspensionTravelCm=D.prototype.W=function(){return Kw(this.J)}; +D.prototype.set_m_maxSuspensionTravelCm=D.prototype.ba=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Ww(b,a)};Object.defineProperty(D.prototype,"m_maxSuspensionTravelCm",{get:D.prototype.W,set:D.prototype.ba});D.prototype.get_m_wheelRadius=D.prototype.$c=function(){return Pw(this.J)};D.prototype.set_m_wheelRadius=D.prototype.Jf=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);ax(b,a)};Object.defineProperty(D.prototype,"m_wheelRadius",{get:D.prototype.$c,set:D.prototype.Jf}); +D.prototype.get_m_suspensionStiffness=D.prototype.X=function(){return Mw(this.J)};D.prototype.set_m_suspensionStiffness=D.prototype.da=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Yw(b,a)};Object.defineProperty(D.prototype,"m_suspensionStiffness",{get:D.prototype.X,set:D.prototype.da});D.prototype.get_m_wheelsDampingCompression=D.prototype.na=function(){return Qw(this.J)}; +D.prototype.set_m_wheelsDampingCompression=D.prototype.wa=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);bx(b,a)};Object.defineProperty(D.prototype,"m_wheelsDampingCompression",{get:D.prototype.na,set:D.prototype.wa});D.prototype.get_m_wheelsDampingRelaxation=D.prototype.oa=function(){return Rw(this.J)};D.prototype.set_m_wheelsDampingRelaxation=D.prototype.xa=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);cx(b,a)}; +Object.defineProperty(D.prototype,"m_wheelsDampingRelaxation",{get:D.prototype.oa,set:D.prototype.xa});D.prototype.get_m_frictionSlip=D.prototype.U=function(){return Iw(this.J)};D.prototype.set_m_frictionSlip=D.prototype.$=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Uw(b,a)};Object.defineProperty(D.prototype,"m_frictionSlip",{get:D.prototype.U,set:D.prototype.$});D.prototype.get_m_maxSuspensionForce=D.prototype.V=function(){return Jw(this.J)}; +D.prototype.set_m_maxSuspensionForce=D.prototype.aa=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Vw(b,a)};Object.defineProperty(D.prototype,"m_maxSuspensionForce",{get:D.prototype.V,set:D.prototype.aa});D.prototype.get_m_bIsFrontWheel=D.prototype.ha=function(){return!!Gw(this.J)};D.prototype.set_m_bIsFrontWheel=D.prototype.qa=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Sw(b,a)};Object.defineProperty(D.prototype,"m_bIsFrontWheel",{get:D.prototype.ha,set:D.prototype.qa}); +D.prototype.__destroy__=function(){Fw(this.J)};function fz(a,b){a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);this.J=void 0===b?Fi(a):Gi(a,b);l(fz)[this.J]=this}fz.prototype=Object.create(Yy.prototype);fz.prototype.constructor=fz;fz.prototype.K=fz;fz.L={};d.btConvexTriangleMeshShape=fz;fz.prototype.setLocalScaling=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Ki(b,a)};fz.prototype.getLocalScaling=function(){return m(Ii(this.J),r)}; +fz.prototype.calculateLocalInertia=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);Hi(e,a,b)};fz.prototype.setMargin=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Li(b,a)};fz.prototype.getMargin=function(){return Ji(this.J)};fz.prototype.__destroy__=function(){Ei(this.J)};function Ly(){throw"cannot construct a btBroadphaseInterface, no constructor in IDL";}Ly.prototype=Object.create(k.prototype);Ly.prototype.constructor=Ly;Ly.prototype.K=Ly; +Ly.L={};d.btBroadphaseInterface=Ly;Ly.prototype.__destroy__=function(){cf(this.J)};function E(a,b,e,f){a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);f&&"object"===typeof f&&(f=f.J);this.J=void 0===f?sq(a,b,e):tq(a,b,e,f);l(E)[this.J]=this}E.prototype=Object.create(k.prototype);E.prototype.constructor=E;E.prototype.K=E;E.L={};d.btRigidBodyConstructionInfo=E;E.prototype.get_m_linearDamping=E.prototype.dc=function(){return Cq(this.J)}; +E.prototype.set_m_linearDamping=E.prototype.Me=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Oq(b,a)};Object.defineProperty(E.prototype,"m_linearDamping",{get:E.prototype.dc,set:E.prototype.Me});E.prototype.get_m_angularDamping=E.prototype.ib=function(){return zq(this.J)};E.prototype.set_m_angularDamping=E.prototype.Rd=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Lq(b,a)};Object.defineProperty(E.prototype,"m_angularDamping",{get:E.prototype.ib,set:E.prototype.Rd}); +E.prototype.get_m_friction=E.prototype.Lb=function(){return Bq(this.J)};E.prototype.set_m_friction=E.prototype.te=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Nq(b,a)};Object.defineProperty(E.prototype,"m_friction",{get:E.prototype.Lb,set:E.prototype.te});E.prototype.get_m_rollingFriction=E.prototype.Ac=function(){return Fq(this.J)};E.prototype.set_m_rollingFriction=E.prototype.hf=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Rq(b,a)}; +Object.defineProperty(E.prototype,"m_rollingFriction",{get:E.prototype.Ac,set:E.prototype.hf});E.prototype.get_m_restitution=E.prototype.yc=function(){return Eq(this.J)};E.prototype.set_m_restitution=E.prototype.ff=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Qq(b,a)};Object.defineProperty(E.prototype,"m_restitution",{get:E.prototype.yc,set:E.prototype.ff});E.prototype.get_m_linearSleepingThreshold=E.prototype.ec=function(){return Dq(this.J)}; +E.prototype.set_m_linearSleepingThreshold=E.prototype.Ne=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Pq(b,a)};Object.defineProperty(E.prototype,"m_linearSleepingThreshold",{get:E.prototype.ec,set:E.prototype.Ne});E.prototype.get_m_angularSleepingThreshold=E.prototype.jb=function(){return Aq(this.J)};E.prototype.set_m_angularSleepingThreshold=E.prototype.Sd=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Mq(b,a)}; +Object.defineProperty(E.prototype,"m_angularSleepingThreshold",{get:E.prototype.jb,set:E.prototype.Sd});E.prototype.get_m_additionalDamping=E.prototype.cb=function(){return!!xq(this.J)};E.prototype.set_m_additionalDamping=E.prototype.Md=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Jq(b,a)};Object.defineProperty(E.prototype,"m_additionalDamping",{get:E.prototype.cb,set:E.prototype.Md});E.prototype.get_m_additionalDampingFactor=E.prototype.eb=function(){return wq(this.J)}; +E.prototype.set_m_additionalDampingFactor=E.prototype.Nd=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Iq(b,a)};Object.defineProperty(E.prototype,"m_additionalDampingFactor",{get:E.prototype.eb,set:E.prototype.Nd});E.prototype.get_m_additionalLinearDampingThresholdSqr=E.prototype.fb=function(){return yq(this.J)};E.prototype.set_m_additionalLinearDampingThresholdSqr=E.prototype.Od=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Kq(b,a)}; +Object.defineProperty(E.prototype,"m_additionalLinearDampingThresholdSqr",{get:E.prototype.fb,set:E.prototype.Od});E.prototype.get_m_additionalAngularDampingThresholdSqr=E.prototype.bb=function(){return vq(this.J)};E.prototype.set_m_additionalAngularDampingThresholdSqr=E.prototype.Ld=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Hq(b,a)};Object.defineProperty(E.prototype,"m_additionalAngularDampingThresholdSqr",{get:E.prototype.bb,set:E.prototype.Ld}); +E.prototype.get_m_additionalAngularDampingFactor=E.prototype.ab=function(){return uq(this.J)};E.prototype.set_m_additionalAngularDampingFactor=E.prototype.Kd=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Gq(b,a)};Object.defineProperty(E.prototype,"m_additionalAngularDampingFactor",{get:E.prototype.ab,set:E.prototype.Kd});E.prototype.__destroy__=function(){rq(this.J)};function gz(){throw"cannot construct a btCollisionConfiguration, no constructor in IDL";}gz.prototype=Object.create(k.prototype); +gz.prototype.constructor=gz;gz.prototype.K=gz;gz.L={};d.btCollisionConfiguration=gz;gz.prototype.__destroy__=function(){Tf(this.J)};function Zy(){this.J=Io();l(Zy)[this.J]=this}Zy.prototype=Object.create(k.prototype);Zy.prototype.constructor=Zy;Zy.prototype.K=Zy;Zy.L={};d.btPersistentManifold=Zy;Zy.prototype.getBody0=function(){return m(Jo(this.J),t)};Zy.prototype.getBody1=function(){return m(Ko(this.J),t)};Zy.prototype.getNumContacts=function(){return Mo(this.J)}; +Zy.prototype.getContactPoint=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);return m(Lo(b,a),F)};Zy.prototype.__destroy__=function(){Ho(this.J)};function hz(a){a&&"object"===typeof a&&(a=a.J);this.J=void 0===a?Xg():Yg(a);l(hz)[this.J]=this}hz.prototype=Object.create(q.prototype);hz.prototype.constructor=hz;hz.prototype.K=hz;hz.L={};d.btCompoundShape=hz;hz.prototype.addChildShape=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);Wg(e,a,b)}; +hz.prototype.removeChildShapeByIndex=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);dh(b,a)};hz.prototype.getNumChildShapes=function(){return ch(this.J)};hz.prototype.getChildShape=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);return m($g(b,a),q)};hz.prototype.setMargin=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);fh(b,a)};hz.prototype.getMargin=function(){return bh(this.J)}; +hz.prototype.setLocalScaling=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);eh(b,a)};hz.prototype.getLocalScaling=function(){return m(ah(this.J),r)};hz.prototype.calculateLocalInertia=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);Zg(e,a,b)};hz.prototype.__destroy__=function(){Vg(this.J)};function G(a,b){a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);this.J=vb(a,b);l(G)[this.J]=this}G.prototype=Object.create(x.prototype); +G.prototype.constructor=G;G.prototype.K=G;G.L={};d.ClosestConvexResultCallback=G;G.prototype.hasHit=function(){return!!Eb(this.J)};G.prototype.get_m_convexFromWorld=G.prototype.yb=function(){return m(Ab(this.J),r)};G.prototype.set_m_convexFromWorld=G.prototype.ge=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Ib(b,a)};Object.defineProperty(G.prototype,"m_convexFromWorld",{get:G.prototype.yb,set:G.prototype.ge}); +G.prototype.get_m_convexToWorld=G.prototype.zb=function(){return m(Bb(this.J),r)};G.prototype.set_m_convexToWorld=G.prototype.he=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Jb(b,a)};Object.defineProperty(G.prototype,"m_convexToWorld",{get:G.prototype.zb,set:G.prototype.he});G.prototype.get_m_hitNormalWorld=G.prototype.ja=function(){return m(Cb(this.J),r)};G.prototype.set_m_hitNormalWorld=G.prototype.sa=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Kb(b,a)}; +Object.defineProperty(G.prototype,"m_hitNormalWorld",{get:G.prototype.ja,set:G.prototype.sa});G.prototype.get_m_hitPointWorld=G.prototype.ka=function(){return m(Db(this.J),r)};G.prototype.set_m_hitPointWorld=G.prototype.ta=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Mb(b,a)};Object.defineProperty(G.prototype,"m_hitPointWorld",{get:G.prototype.ka,set:G.prototype.ta});G.prototype.get_m_collisionFilterGroup=G.prototype.N=function(){return yb(this.J)}; +G.prototype.set_m_collisionFilterGroup=G.prototype.P=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Gb(b,a)};Object.defineProperty(G.prototype,"m_collisionFilterGroup",{get:G.prototype.N,set:G.prototype.P});G.prototype.get_m_collisionFilterMask=G.prototype.O=function(){return zb(this.J)};G.prototype.set_m_collisionFilterMask=G.prototype.R=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Hb(b,a)};Object.defineProperty(G.prototype,"m_collisionFilterMask",{get:G.prototype.O,set:G.prototype.R}); +G.prototype.get_m_closestHitFraction=G.prototype.S=function(){return xb(this.J)};G.prototype.set_m_closestHitFraction=G.prototype.T=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Fb(b,a)};Object.defineProperty(G.prototype,"m_closestHitFraction",{get:G.prototype.S,set:G.prototype.T});G.prototype.__destroy__=function(){wb(this.J)};function iz(){throw"cannot construct a tMaterialArray, no constructor in IDL";}iz.prototype=Object.create(k.prototype);iz.prototype.constructor=iz; +iz.prototype.K=iz;iz.L={};d.tMaterialArray=iz;iz.prototype.size=iz.prototype.size=function(){return ky(this.J)};iz.prototype.at=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);return m(jy(b,a),C)};iz.prototype.__destroy__=function(){iy(this.J)};function jz(a){a&&"object"===typeof a&&(a=a.J);this.J=yj(a);l(jz)[this.J]=this}jz.prototype=Object.create(Vy.prototype);jz.prototype.constructor=jz;jz.prototype.K=jz;jz.L={};d.btDefaultVehicleRaycaster=jz; +jz.prototype.castRay=function(a,b,e){var f=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);zj(f,a,b,e)};jz.prototype.__destroy__=function(){xj(this.J)};function H(){this.J=Qh();l(H)[this.J]=this}H.prototype=Object.create(k.prototype);H.prototype.constructor=H;H.prototype.K=H;H.L={};d.btConstraintSetting=H;H.prototype.get_m_tau=H.prototype.Pc=function(){return Th(this.J)}; +H.prototype.set_m_tau=H.prototype.yf=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Wh(b,a)};Object.defineProperty(H.prototype,"m_tau",{get:H.prototype.Pc,set:H.prototype.yf});H.prototype.get_m_damping=H.prototype.Ab=function(){return Rh(this.J)};H.prototype.set_m_damping=H.prototype.ie=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Uh(b,a)};Object.defineProperty(H.prototype,"m_damping",{get:H.prototype.Ab,set:H.prototype.ie});H.prototype.get_m_impulseClamp=H.prototype.Xb=function(){return Sh(this.J)}; +H.prototype.set_m_impulseClamp=H.prototype.Fe=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Vh(b,a)};Object.defineProperty(H.prototype,"m_impulseClamp",{get:H.prototype.Xb,set:H.prototype.Fe});H.prototype.__destroy__=function(){Ph(this.J)};function kz(){throw"cannot construct a LocalShapeInfo, no constructor in IDL";}kz.prototype=Object.create(k.prototype);kz.prototype.constructor=kz;kz.prototype.K=kz;kz.L={};d.LocalShapeInfo=kz;kz.prototype.get_m_shapePart=kz.prototype.Dc=function(){return Md(this.J)}; +kz.prototype.set_m_shapePart=kz.prototype.lf=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Od(b,a)};Object.defineProperty(kz.prototype,"m_shapePart",{get:kz.prototype.Dc,set:kz.prototype.lf});kz.prototype.get_m_triangleIndex=kz.prototype.Sc=function(){return Nd(this.J)};kz.prototype.set_m_triangleIndex=kz.prototype.Bf=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Pd(b,a)};Object.defineProperty(kz.prototype,"m_triangleIndex",{get:kz.prototype.Sc,set:kz.prototype.Bf}); +kz.prototype.__destroy__=function(){Ld(this.J)};function I(a){a&&"object"===typeof a&&(a=a.J);this.J=dr(a);l(I)[this.J]=this}I.prototype=Object.create(t.prototype);I.prototype.constructor=I;I.prototype.K=I;I.L={};d.btRigidBody=I;I.prototype.getCenterOfMassTransform=function(){return m(ir(this.J),u)};I.prototype.setCenterOfMassTransform=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Br(b,a)}; +I.prototype.setSleepingThresholds=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);Or(e,a,b)};I.prototype.setDamping=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);Fr(e,a,b)};I.prototype.setMassProps=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);Kr(e,a,b)};I.prototype.setLinearFactor=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Ir(b,a)}; +I.prototype.applyTorque=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);cr(b,a)};I.prototype.applyLocalTorque=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);ar(b,a)};I.prototype.applyForce=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);Yq(e,a,b)};I.prototype.applyCentralForce=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Vq(b,a)}; +I.prototype.applyCentralLocalForce=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Xq(b,a)};I.prototype.applyTorqueImpulse=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);br(b,a)};I.prototype.applyImpulse=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);$q(e,a,b)};I.prototype.applyCentralImpulse=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Wq(b,a)};I.prototype.updateInertiaTensor=function(){Tr(this.J)}; +I.prototype.getLinearVelocity=function(){return m(mr(this.J),r)};I.prototype.getAngularVelocity=function(){return m(gr(this.J),r)};I.prototype.setLinearVelocity=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Jr(b,a)};I.prototype.setAngularVelocity=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);xr(b,a)};I.prototype.getMotionState=function(){return m(nr(this.J),bz)};I.prototype.setMotionState=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Lr(b,a)}; +I.prototype.setAngularFactor=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);wr(b,a)};I.prototype.upcast=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);return m(Sr(b,a),I)};I.prototype.getAabb=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);fr(e,a,b)};I.prototype.applyGravity=function(){Zq(this.J)};I.prototype.getGravity=function(){return m(lr(this.J),r)}; +I.prototype.setGravity=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Hr(b,a)};I.prototype.getBroadphaseProxy=function(){return m(hr(this.J),lz)};I.prototype.setAnisotropicFriction=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);yr(e,a,b)};I.prototype.getCollisionShape=function(){return m(kr(this.J),q)};I.prototype.setContactProcessingThreshold=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Er(b,a)}; +I.prototype.setActivationState=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);vr(b,a)};I.prototype.forceActivationState=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);er(b,a)};I.prototype.activate=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);void 0===a?Tq(b):Uq(b,a)};I.prototype.isActive=function(){return!!rr(this.J)};I.prototype.isKinematicObject=function(){return!!sr(this.J)};I.prototype.isStaticObject=function(){return!!tr(this.J)}; +I.prototype.isStaticOrKinematicObject=function(){return!!ur(this.J)};I.prototype.setRestitution=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Mr(b,a)};I.prototype.setFriction=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Gr(b,a)};I.prototype.setRollingFriction=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Nr(b,a)};I.prototype.getWorldTransform=function(){return m(qr(this.J),u)};I.prototype.getCollisionFlags=function(){return jr(this.J)}; +I.prototype.setCollisionFlags=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Cr(b,a)};I.prototype.setWorldTransform=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Rr(b,a)};I.prototype.setCollisionShape=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Dr(b,a)};I.prototype.setCcdMotionThreshold=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);zr(b,a)};I.prototype.setCcdSweptSphereRadius=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Ar(b,a)}; +I.prototype.getUserIndex=function(){return or(this.J)};I.prototype.setUserIndex=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Pr(b,a)};I.prototype.getUserPointer=function(){return m(pr(this.J),Ny)};I.prototype.setUserPointer=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Qr(b,a)};I.prototype.__destroy__=function(){Sq(this.J)};function mz(){throw"cannot construct a btConvexPolyhedron, no constructor in IDL";}mz.prototype=Object.create(k.prototype);mz.prototype.constructor=mz; +mz.prototype.K=mz;mz.L={};d.btConvexPolyhedron=mz;mz.prototype.get_m_vertices=mz.prototype.Xc=function(){return m(vi(this.J),nz)};mz.prototype.set_m_vertices=mz.prototype.Gf=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);xi(b,a)};Object.defineProperty(mz.prototype,"m_vertices",{get:mz.prototype.Xc,set:mz.prototype.Gf});mz.prototype.get_m_faces=mz.prototype.Jb=function(){return m(ui(this.J),oz)}; +mz.prototype.set_m_faces=mz.prototype.re=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);wi(b,a)};Object.defineProperty(mz.prototype,"m_faces",{get:mz.prototype.Jb,set:mz.prototype.re});mz.prototype.__destroy__=function(){ti(this.J)};function pz(){this.J=hj();l(pz)[this.J]=this}pz.prototype=Object.create(k.prototype);pz.prototype.constructor=pz;pz.prototype.K=pz;pz.L={};d.btDbvtBroadphase=pz;pz.prototype.__destroy__=function(){gj(this.J)}; +function qz(a,b,e,f,g,n,A,Q,ha){a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);f&&"object"===typeof f&&(f=f.J);g&&"object"===typeof g&&(g=g.J);n&&"object"===typeof n&&(n=n.J);A&&"object"===typeof A&&(A=A.J);Q&&"object"===typeof Q&&(Q=Q.J);ha&&"object"===typeof ha&&(ha=ha.J);this.J=zm(a,b,e,f,g,n,A,Q,ha);l(qz)[this.J]=this}qz.prototype=Object.create(Py.prototype);qz.prototype.constructor=qz;qz.prototype.K=qz;qz.L={};d.btHeightfieldTerrainShape=qz; +qz.prototype.setMargin=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Em(b,a)};qz.prototype.getMargin=function(){return Cm(this.J)};qz.prototype.setLocalScaling=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Dm(b,a)};qz.prototype.getLocalScaling=function(){return m(Bm(this.J),r)};qz.prototype.calculateLocalInertia=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);Am(e,a,b)};qz.prototype.__destroy__=function(){ym(this.J)}; +function rz(){this.J=wj();l(rz)[this.J]=this}rz.prototype=Object.create(dz.prototype);rz.prototype.constructor=rz;rz.prototype.K=rz;rz.L={};d.btDefaultSoftBodySolver=rz;rz.prototype.__destroy__=function(){vj(this.J)};function sz(a){a&&"object"===typeof a&&(a=a.J);this.J=Vf(a);l(sz)[this.J]=this}sz.prototype=Object.create(Jy.prototype);sz.prototype.constructor=sz;sz.prototype.K=sz;sz.L={};d.btCollisionDispatcher=sz;sz.prototype.getNumManifolds=function(){return Xf(this.J)}; +sz.prototype.getManifoldByIndexInternal=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);return m(Wf(b,a),Zy)};sz.prototype.__destroy__=function(){Uf(this.J)};function tz(a,b,e,f,g){a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);f&&"object"===typeof f&&(f=f.J);g&&"object"===typeof g&&(g=g.J);this.J=void 0===e?Se(a,b):void 0===f?Te(a,b,e):void 0===g?Ue(a,b,e,f):Ve(a,b,e,f,g);l(tz)[this.J]=this}tz.prototype=Object.create(k.prototype); +tz.prototype.constructor=tz;tz.prototype.K=tz;tz.L={};d.btAxisSweep3=tz;tz.prototype.__destroy__=function(){Re(this.J)};function J(){this.J=Fs();l(J)[this.J]=this}J.prototype=Object.create(k.prototype);J.prototype.constructor=J;J.prototype.K=J;J.L={};d.btSoftBodyWorldInfo=J;J.prototype.get_air_density=J.prototype.Fa=function(){return Gs(this.J)};J.prototype.set_air_density=J.prototype.od=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Os(b,a)}; +Object.defineProperty(J.prototype,"air_density",{get:J.prototype.Fa,set:J.prototype.od});J.prototype.get_water_density=J.prototype.kd=function(){return Ls(this.J)};J.prototype.set_water_density=J.prototype.Sf=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Ts(b,a)};Object.defineProperty(J.prototype,"water_density",{get:J.prototype.kd,set:J.prototype.Sf});J.prototype.get_water_offset=J.prototype.md=function(){return Ns(this.J)}; +J.prototype.set_water_offset=J.prototype.Uf=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Vs(b,a)};Object.defineProperty(J.prototype,"water_offset",{get:J.prototype.md,set:J.prototype.Uf});J.prototype.get_m_maxDisplacement=J.prototype.lc=function(){return Ks(this.J)};J.prototype.set_m_maxDisplacement=J.prototype.Te=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Ss(b,a)};Object.defineProperty(J.prototype,"m_maxDisplacement",{get:J.prototype.lc,set:J.prototype.Te}); +J.prototype.get_water_normal=J.prototype.ld=function(){return m(Ms(this.J),r)};J.prototype.set_water_normal=J.prototype.Tf=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Us(b,a)};Object.defineProperty(J.prototype,"water_normal",{get:J.prototype.ld,set:J.prototype.Tf});J.prototype.get_m_broadphase=J.prototype.nb=function(){return m(Hs(this.J),Ly)};J.prototype.set_m_broadphase=J.prototype.Wd=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Ps(b,a)}; +Object.defineProperty(J.prototype,"m_broadphase",{get:J.prototype.nb,set:J.prototype.Wd});J.prototype.get_m_dispatcher=J.prototype.Db=function(){return m(Is(this.J),Jy)};J.prototype.set_m_dispatcher=J.prototype.le=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Qs(b,a)};Object.defineProperty(J.prototype,"m_dispatcher",{get:J.prototype.Db,set:J.prototype.le});J.prototype.get_m_gravity=J.prototype.Nb=function(){return m(Js(this.J),r)}; +J.prototype.set_m_gravity=J.prototype.ve=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Rs(b,a)};Object.defineProperty(J.prototype,"m_gravity",{get:J.prototype.Nb,set:J.prototype.ve});J.prototype.__destroy__=function(){Es(this.J)}; +function uz(a,b,e,f){a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);f&&"object"===typeof f&&(f=f.J);this.J=void 0===e?Ah(a,b):void 0===f?_emscripten_bind_btConeTwistConstraint_btConeTwistConstraint_3(a,b,e):Bh(a,b,e,f);l(uz)[this.J]=this}uz.prototype=Object.create(Oy.prototype);uz.prototype.constructor=uz;uz.prototype.K=uz;uz.L={};d.btConeTwistConstraint=uz; +uz.prototype.setLimit=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);Jh(e,a,b)};uz.prototype.setAngularOnly=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Gh(b,a)};uz.prototype.setDamping=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Ih(b,a)};uz.prototype.enableMotor=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Dh(b,a)};uz.prototype.setMaxMotorImpulse=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Lh(b,a)}; +uz.prototype.setMaxMotorImpulseNormalized=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Kh(b,a)};uz.prototype.setMotorTarget=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Nh(b,a)};uz.prototype.setMotorTargetInConstraintSpace=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Mh(b,a)};uz.prototype.enableFeedback=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Ch(b,a)};uz.prototype.getBreakingImpulseThreshold=function(){return Eh(this.J)}; +uz.prototype.setBreakingImpulseThreshold=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Hh(b,a)};uz.prototype.getParam=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);return Fh(e,a,b)};uz.prototype.setParam=function(a,b,e){var f=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);Oh(f,a,b,e)};uz.prototype.__destroy__=function(){zh(this.J)}; +function vz(a,b,e,f,g,n,A){a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);f&&"object"===typeof f&&(f=f.J);g&&"object"===typeof g&&(g=g.J);n&&"object"===typeof n&&(n=n.J);A&&"object"===typeof A&&(A=A.J);this.J=void 0===e?Gm(a,b):void 0===f?Hm(a,b,e):void 0===g?Im(a,b,e,f):void 0===n?Jm(a,b,e,f,g):void 0===A?Km(a,b,e,f,g,n):Lm(a,b,e,f,g,n,A);l(vz)[this.J]=this}vz.prototype=Object.create(Oy.prototype);vz.prototype.constructor=vz;vz.prototype.K=vz; +vz.L={};d.btHingeConstraint=vz;vz.prototype.setLimit=function(a,b,e,f,g){var n=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);f&&"object"===typeof f&&(f=f.J);g&&"object"===typeof g&&(g=g.J);void 0===g?Tm(n,a,b,e,f):Um(n,a,b,e,f,g)};vz.prototype.enableAngularMotor=function(a,b,e){var f=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);Mm(f,a,b,e)}; +vz.prototype.setAngularOnly=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Rm(b,a)};vz.prototype.enableMotor=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Om(b,a)};vz.prototype.setMaxMotorImpulse=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Vm(b,a)};vz.prototype.setMotorTarget=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);Wm(e,a,b)}; +vz.prototype.enableFeedback=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Nm(b,a)};vz.prototype.getBreakingImpulseThreshold=function(){return Pm(this.J)};vz.prototype.setBreakingImpulseThreshold=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Sm(b,a)};vz.prototype.getParam=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);return Qm(e,a,b)}; +vz.prototype.setParam=function(a,b,e){var f=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);Xm(f,a,b,e)};vz.prototype.__destroy__=function(){Fm(this.J)};function wz(a,b){a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);this.J=qh(a,b);l(wz)[this.J]=this}wz.prototype=Object.create(Ty.prototype);wz.prototype.constructor=wz;wz.prototype.K=wz;wz.L={};d.btConeShapeZ=wz; +wz.prototype.setLocalScaling=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);th(b,a)};wz.prototype.getLocalScaling=function(){return m(sh(this.J),r)};wz.prototype.calculateLocalInertia=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);rh(e,a,b)};wz.prototype.__destroy__=function(){ph(this.J)};function xz(a,b){a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);this.J=lh(a,b);l(xz)[this.J]=this}xz.prototype=Object.create(Ty.prototype); +xz.prototype.constructor=xz;xz.prototype.K=xz;xz.L={};d.btConeShapeX=xz;xz.prototype.setLocalScaling=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);oh(b,a)};xz.prototype.getLocalScaling=function(){return m(nh(this.J),r)};xz.prototype.calculateLocalInertia=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);mh(e,a,b)};xz.prototype.__destroy__=function(){kh(this.J)}; +function yz(a,b){a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);this.J=void 0===a?pv():void 0===b?qv(a):rv(a,b);l(yz)[this.J]=this}yz.prototype=Object.create(az.prototype);yz.prototype.constructor=yz;yz.prototype.K=yz;yz.L={};d.btTriangleMesh=yz;yz.prototype.addTriangle=function(a,b,e,f){var g=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);f&&"object"===typeof f&&(f=f.J);void 0===f?nv(g,a,b,e):ov(g,a,b,e,f)}; +yz.prototype.__destroy__=function(){mv(this.J)};function zz(a,b){c.M();"object"==typeof a&&(a=Hy(a));b&&"object"===typeof b&&(b=b.J);this.J=void 0===a?hi():void 0===b?ii(a):ji(a,b);l(zz)[this.J]=this}zz.prototype=Object.create(q.prototype);zz.prototype.constructor=zz;zz.prototype.K=zz;zz.L={};d.btConvexHullShape=zz;zz.prototype.addPoint=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);void 0===b?fi(e,a):gi(e,a,b)}; +zz.prototype.setMargin=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);si(b,a)};zz.prototype.getMargin=function(){return ni(this.J)};zz.prototype.getNumVertices=function(){return oi(this.J)};zz.prototype.initializePolyhedralFeatures=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);return!!pi(b,a)};zz.prototype.recalcLocalAabb=function(){qi(this.J)};zz.prototype.getConvexPolyhedron=function(){return m(li(this.J),mz)}; +zz.prototype.setLocalScaling=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);ri(b,a)};zz.prototype.getLocalScaling=function(){return m(mi(this.J),r)};zz.prototype.calculateLocalInertia=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);ki(e,a,b)};zz.prototype.__destroy__=function(){ei(this.J)};function K(){this.J=sw();l(K)[this.J]=this}K.prototype=Object.create(k.prototype);K.prototype.constructor=K;K.prototype.K=K;K.L={};d.btVehicleTuning=K; +K.prototype.get_m_suspensionStiffness=K.prototype.X=function(){return yw(this.J)};K.prototype.set_m_suspensionStiffness=K.prototype.da=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Ew(b,a)};Object.defineProperty(K.prototype,"m_suspensionStiffness",{get:K.prototype.X,set:K.prototype.da});K.prototype.get_m_suspensionCompression=K.prototype.Jc=function(){return ww(this.J)}; +K.prototype.set_m_suspensionCompression=K.prototype.sf=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Cw(b,a)};Object.defineProperty(K.prototype,"m_suspensionCompression",{get:K.prototype.Jc,set:K.prototype.sf});K.prototype.get_m_suspensionDamping=K.prototype.Kc=function(){return xw(this.J)};K.prototype.set_m_suspensionDamping=K.prototype.tf=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Dw(b,a)};Object.defineProperty(K.prototype,"m_suspensionDamping",{get:K.prototype.Kc,set:K.prototype.tf}); +K.prototype.get_m_maxSuspensionTravelCm=K.prototype.W=function(){return vw(this.J)};K.prototype.set_m_maxSuspensionTravelCm=K.prototype.ba=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Bw(b,a)};Object.defineProperty(K.prototype,"m_maxSuspensionTravelCm",{get:K.prototype.W,set:K.prototype.ba});K.prototype.get_m_frictionSlip=K.prototype.U=function(){return tw(this.J)};K.prototype.set_m_frictionSlip=K.prototype.$=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);zw(b,a)}; +Object.defineProperty(K.prototype,"m_frictionSlip",{get:K.prototype.U,set:K.prototype.$});K.prototype.get_m_maxSuspensionForce=K.prototype.V=function(){return uw(this.J)};K.prototype.set_m_maxSuspensionForce=K.prototype.aa=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Aw(b,a)};Object.defineProperty(K.prototype,"m_maxSuspensionForce",{get:K.prototype.V,set:K.prototype.aa});function Az(){throw"cannot construct a btCollisionObjectWrapper, no constructor in IDL";}Az.prototype=Object.create(k.prototype); +Az.prototype.constructor=Az;Az.prototype.K=Az;Az.L={};d.btCollisionObjectWrapper=Az;function Bz(a){a&&"object"===typeof a&&(a=a.J);this.J=Xr(a);l(Bz)[this.J]=this}Bz.prototype=Object.create(k.prototype);Bz.prototype.constructor=Bz;Bz.prototype.K=Bz;Bz.L={};d.btShapeHull=Bz;Bz.prototype.buildHull=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);return!!Yr(b,a)};Bz.prototype.numVertices=function(){return $r(this.J)};Bz.prototype.getVertexPointer=function(){return m(Zr(this.J),r)}; +Bz.prototype.__destroy__=function(){Wr(this.J)};function Cz(a,b){a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);this.J=void 0===a?oj():void 0===b?pj(a):qj(a,b);l(Cz)[this.J]=this}Cz.prototype=Object.create(bz.prototype);Cz.prototype.constructor=Cz;Cz.prototype.K=Cz;Cz.L={};d.btDefaultMotionState=Cz;Cz.prototype.getWorldTransform=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);rj(b,a)}; +Cz.prototype.setWorldTransform=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);tj(b,a)};Cz.prototype.get_m_graphicsWorldTrans=Cz.prototype.Mb=function(){return m(sj(this.J),u)};Cz.prototype.set_m_graphicsWorldTrans=Cz.prototype.ue=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);uj(b,a)};Object.defineProperty(Cz.prototype,"m_graphicsWorldTrans",{get:Cz.prototype.Mb,set:Cz.prototype.ue});Cz.prototype.__destroy__=function(){nj(this.J)}; +function L(a){a&&"object"===typeof a&&(a=a.J);this.J=ex(a);l(L)[this.J]=this}L.prototype=Object.create(k.prototype);L.prototype.constructor=L;L.prototype.K=L;L.L={};d.btWheelInfo=L;L.prototype.getSuspensionRestLength=function(){return fx(this.J)};L.prototype.updateWheel=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);by(e,a,b)};L.prototype.get_m_suspensionStiffness=L.prototype.X=function(){return wx(this.J)}; +L.prototype.set_m_suspensionStiffness=L.prototype.da=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Ux(b,a)};Object.defineProperty(L.prototype,"m_suspensionStiffness",{get:L.prototype.X,set:L.prototype.da});L.prototype.get_m_frictionSlip=L.prototype.U=function(){return mx(this.J)};L.prototype.set_m_frictionSlip=L.prototype.$=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Kx(b,a)};Object.defineProperty(L.prototype,"m_frictionSlip",{get:L.prototype.U,set:L.prototype.$}); +L.prototype.get_m_engineForce=L.prototype.Hb=function(){return lx(this.J)};L.prototype.set_m_engineForce=L.prototype.pe=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Jx(b,a)};Object.defineProperty(L.prototype,"m_engineForce",{get:L.prototype.Hb,set:L.prototype.pe});L.prototype.get_m_rollInfluence=L.prototype.zc=function(){return qx(this.J)};L.prototype.set_m_rollInfluence=L.prototype.gf=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Ox(b,a)}; +Object.defineProperty(L.prototype,"m_rollInfluence",{get:L.prototype.zc,set:L.prototype.gf});L.prototype.get_m_suspensionRestLength1=L.prototype.Oc=function(){return vx(this.J)};L.prototype.set_m_suspensionRestLength1=L.prototype.xf=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Tx(b,a)};Object.defineProperty(L.prototype,"m_suspensionRestLength1",{get:L.prototype.Oc,set:L.prototype.xf});L.prototype.get_m_wheelsRadius=L.prototype.ad=function(){return Bx(this.J)}; +L.prototype.set_m_wheelsRadius=L.prototype.Kf=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Zx(b,a)};Object.defineProperty(L.prototype,"m_wheelsRadius",{get:L.prototype.ad,set:L.prototype.Kf});L.prototype.get_m_wheelsDampingCompression=L.prototype.na=function(){return zx(this.J)};L.prototype.set_m_wheelsDampingCompression=L.prototype.wa=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Xx(b,a)};Object.defineProperty(L.prototype,"m_wheelsDampingCompression",{get:L.prototype.na,set:L.prototype.wa}); +L.prototype.get_m_wheelsDampingRelaxation=L.prototype.oa=function(){return Ax(this.J)};L.prototype.set_m_wheelsDampingRelaxation=L.prototype.xa=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Yx(b,a)};Object.defineProperty(L.prototype,"m_wheelsDampingRelaxation",{get:L.prototype.oa,set:L.prototype.xa});L.prototype.get_m_steering=L.prototype.Hc=function(){return tx(this.J)};L.prototype.set_m_steering=L.prototype.qf=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Rx(b,a)}; +Object.defineProperty(L.prototype,"m_steering",{get:L.prototype.Hc,set:L.prototype.qf});L.prototype.get_m_maxSuspensionForce=L.prototype.V=function(){return nx(this.J)};L.prototype.set_m_maxSuspensionForce=L.prototype.aa=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Lx(b,a)};Object.defineProperty(L.prototype,"m_maxSuspensionForce",{get:L.prototype.V,set:L.prototype.aa});L.prototype.get_m_maxSuspensionTravelCm=L.prototype.W=function(){return ox(this.J)}; +L.prototype.set_m_maxSuspensionTravelCm=L.prototype.ba=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Mx(b,a)};Object.defineProperty(L.prototype,"m_maxSuspensionTravelCm",{get:L.prototype.W,set:L.prototype.ba});L.prototype.get_m_wheelsSuspensionForce=L.prototype.bd=function(){return Cx(this.J)};L.prototype.set_m_wheelsSuspensionForce=L.prototype.Lf=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);$x(b,a)}; +Object.defineProperty(L.prototype,"m_wheelsSuspensionForce",{get:L.prototype.bd,set:L.prototype.Lf});L.prototype.get_m_bIsFrontWheel=L.prototype.ha=function(){return!!gx(this.J)};L.prototype.set_m_bIsFrontWheel=L.prototype.qa=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Ex(b,a)};Object.defineProperty(L.prototype,"m_bIsFrontWheel",{get:L.prototype.ha,set:L.prototype.qa});L.prototype.get_m_raycastInfo=L.prototype.xc=function(){return m(px(this.J),M)}; +L.prototype.set_m_raycastInfo=L.prototype.ef=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Nx(b,a)};Object.defineProperty(L.prototype,"m_raycastInfo",{get:L.prototype.xc,set:L.prototype.ef});L.prototype.get_m_chassisConnectionPointCS=L.prototype.tb=function(){return m(ix(this.J),r)};L.prototype.set_m_chassisConnectionPointCS=L.prototype.be=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Gx(b,a)}; +Object.defineProperty(L.prototype,"m_chassisConnectionPointCS",{get:L.prototype.tb,set:L.prototype.be});L.prototype.get_m_worldTransform=L.prototype.cd=function(){return m(Dx(this.J),u)};L.prototype.set_m_worldTransform=L.prototype.Mf=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);ay(b,a)};Object.defineProperty(L.prototype,"m_worldTransform",{get:L.prototype.cd,set:L.prototype.Mf});L.prototype.get_m_wheelDirectionCS=L.prototype.ma=function(){return m(yx(this.J),r)}; +L.prototype.set_m_wheelDirectionCS=L.prototype.va=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Wx(b,a)};Object.defineProperty(L.prototype,"m_wheelDirectionCS",{get:L.prototype.ma,set:L.prototype.va});L.prototype.get_m_wheelAxleCS=L.prototype.la=function(){return m(xx(this.J),r)};L.prototype.set_m_wheelAxleCS=L.prototype.ua=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Vx(b,a)};Object.defineProperty(L.prototype,"m_wheelAxleCS",{get:L.prototype.la,set:L.prototype.ua}); +L.prototype.get_m_rotation=L.prototype.Bc=function(){return rx(this.J)};L.prototype.set_m_rotation=L.prototype.jf=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Px(b,a)};Object.defineProperty(L.prototype,"m_rotation",{get:L.prototype.Bc,set:L.prototype.jf});L.prototype.get_m_deltaRotation=L.prototype.Bb=function(){return kx(this.J)};L.prototype.set_m_deltaRotation=L.prototype.je=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Ix(b,a)}; +Object.defineProperty(L.prototype,"m_deltaRotation",{get:L.prototype.Bb,set:L.prototype.je});L.prototype.get_m_brake=L.prototype.mb=function(){return hx(this.J)};L.prototype.set_m_brake=L.prototype.Vd=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Fx(b,a)};Object.defineProperty(L.prototype,"m_brake",{get:L.prototype.mb,set:L.prototype.Vd});L.prototype.get_m_clippedInvContactDotSuspension=L.prototype.ub=function(){return jx(this.J)}; +L.prototype.set_m_clippedInvContactDotSuspension=L.prototype.ce=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Hx(b,a)};Object.defineProperty(L.prototype,"m_clippedInvContactDotSuspension",{get:L.prototype.ub,set:L.prototype.ce});L.prototype.get_m_suspensionRelativeVelocity=L.prototype.Mc=function(){return ux(this.J)};L.prototype.set_m_suspensionRelativeVelocity=L.prototype.vf=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Sx(b,a)}; +Object.defineProperty(L.prototype,"m_suspensionRelativeVelocity",{get:L.prototype.Mc,set:L.prototype.vf});L.prototype.get_m_skidInfo=L.prototype.Ec=function(){return sx(this.J)};L.prototype.set_m_skidInfo=L.prototype.mf=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Qx(b,a)};Object.defineProperty(L.prototype,"m_skidInfo",{get:L.prototype.Ec,set:L.prototype.mf});L.prototype.__destroy__=function(){dx(this.J)}; +function N(a,b,e,f){a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);f&&"object"===typeof f&&(f=f.J);this.J=void 0===a?Tv():void 0===b?_emscripten_bind_btVector4_btVector4_1(a):void 0===e?_emscripten_bind_btVector4_btVector4_2(a,b):void 0===f?_emscripten_bind_btVector4_btVector4_3(a,b,e):Uv(a,b,e,f);l(N)[this.J]=this}N.prototype=Object.create(r.prototype);N.prototype.constructor=N;N.prototype.K=N;N.L={};d.btVector4=N;N.prototype.w=N.prototype.za=function(){return fw(this.J)}; +N.prototype.setValue=function(a,b,e,f){var g=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);f&&"object"===typeof f&&(f=f.J);bw(g,a,b,e,f)};N.prototype.length=N.prototype.length=function(){return Wv(this.J)};N.prototype.x=N.prototype.x=function(){return gw(this.J)};N.prototype.y=N.prototype.y=function(){return hw(this.J)};N.prototype.z=N.prototype.z=function(){return iw(this.J)}; +N.prototype.setX=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);cw(b,a)};N.prototype.setY=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);dw(b,a)};N.prototype.setZ=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);ew(b,a)};N.prototype.normalize=N.prototype.normalize=function(){Xv(this.J)};N.prototype.rotate=N.prototype.rotate=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);return m(aw(e,a,b),r)}; +N.prototype.dot=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);return Vv(b,a)};N.prototype.op_mul=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);return m(Zv(b,a),r)};N.prototype.op_add=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);return m(Yv(b,a),r)};N.prototype.op_sub=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);return m($v(b,a),r)};N.prototype.__destroy__=function(){Sv(this.J)};function Dz(){this.J=mj();l(Dz)[this.J]=this}Dz.prototype=Object.create(k.prototype); +Dz.prototype.constructor=Dz;Dz.prototype.K=Dz;Dz.L={};d.btDefaultCollisionConstructionInfo=Dz;Dz.prototype.__destroy__=function(){lj(this.J)};function O(){throw"cannot construct a Anchor, no constructor in IDL";}O.prototype=Object.create(k.prototype);O.prototype.constructor=O;O.prototype.K=O;O.L={};d.Anchor=O;O.prototype.get_m_node=O.prototype.nc=function(){return m(nb(this.J),Node)};O.prototype.set_m_node=O.prototype.Ve=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);ub(b,a)}; +Object.defineProperty(O.prototype,"m_node",{get:O.prototype.nc,set:O.prototype.Ve});O.prototype.get_m_local=O.prototype.fc=function(){return m(mb(this.J),r)};O.prototype.set_m_local=O.prototype.Oe=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);tb(b,a)};Object.defineProperty(O.prototype,"m_local",{get:O.prototype.fc,set:O.prototype.Oe});O.prototype.get_m_body=O.prototype.lb=function(){return m(hb(this.J),I)}; +O.prototype.set_m_body=O.prototype.Ud=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);ob(b,a)};Object.defineProperty(O.prototype,"m_body",{get:O.prototype.lb,set:O.prototype.Ud});O.prototype.get_m_influence=O.prototype.Zb=function(){return lb(this.J)};O.prototype.set_m_influence=O.prototype.He=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);sb(b,a)};Object.defineProperty(O.prototype,"m_influence",{get:O.prototype.Zb,set:O.prototype.He}); +O.prototype.get_m_c0=O.prototype.ob=function(){return m(ib(this.J),ez)};O.prototype.set_m_c0=O.prototype.Xd=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);pb(b,a)};Object.defineProperty(O.prototype,"m_c0",{get:O.prototype.ob,set:O.prototype.Xd});O.prototype.get_m_c1=O.prototype.pb=function(){return m(jb(this.J),r)};O.prototype.set_m_c1=O.prototype.Yd=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);qb(b,a)};Object.defineProperty(O.prototype,"m_c1",{get:O.prototype.pb,set:O.prototype.Yd}); +O.prototype.get_m_c2=O.prototype.qb=function(){return kb(this.J)};O.prototype.set_m_c2=O.prototype.Zd=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);rb(b,a)};Object.defineProperty(O.prototype,"m_c2",{get:O.prototype.qb,set:O.prototype.Zd});O.prototype.__destroy__=function(){gb(this.J)};function P(){throw"cannot construct a btVehicleRaycasterResult, no constructor in IDL";}P.prototype=Object.create(k.prototype);P.prototype.constructor=P;P.prototype.K=P;P.L={};d.btVehicleRaycasterResult=P; +P.prototype.get_m_hitPointInWorld=P.prototype.Ub=function(){return m(mw(this.J),r)};P.prototype.set_m_hitPointInWorld=P.prototype.Ce=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);pw(b,a)};Object.defineProperty(P.prototype,"m_hitPointInWorld",{get:P.prototype.Ub,set:P.prototype.Ce});P.prototype.get_m_hitNormalInWorld=P.prototype.Sb=function(){return m(lw(this.J),r)};P.prototype.set_m_hitNormalInWorld=P.prototype.Ae=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);ow(b,a)}; +Object.defineProperty(P.prototype,"m_hitNormalInWorld",{get:P.prototype.Sb,set:P.prototype.Ae});P.prototype.get_m_distFraction=P.prototype.Eb=function(){return kw(this.J)};P.prototype.set_m_distFraction=P.prototype.me=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);nw(b,a)};Object.defineProperty(P.prototype,"m_distFraction",{get:P.prototype.Eb,set:P.prototype.me});P.prototype.__destroy__=function(){jw(this.J)}; +function nz(){throw"cannot construct a btVector3Array, no constructor in IDL";}nz.prototype=Object.create(k.prototype);nz.prototype.constructor=nz;nz.prototype.K=nz;nz.L={};d.btVector3Array=nz;nz.prototype.size=nz.prototype.size=function(){return Av(this.J)};nz.prototype.at=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);return m(zv(b,a),r)};nz.prototype.__destroy__=function(){yv(this.J)};function Ez(){throw"cannot construct a btConstraintSolver, no constructor in IDL";}Ez.prototype=Object.create(k.prototype); +Ez.prototype.constructor=Ez;Ez.prototype.K=Ez;Ez.L={};d.btConstraintSolver=Ez;Ez.prototype.__destroy__=function(){Xh(this.J)};function R(a,b,e){a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);this.J=Pp(a,b,e);l(R)[this.J]=this}R.prototype=Object.create(Uy.prototype);R.prototype.constructor=R;R.prototype.K=R;R.L={};d.btRaycastVehicle=R; +R.prototype.applyEngineForce=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);Op(e,a,b)};R.prototype.setSteeringValue=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);hq(e,a,b)};R.prototype.getWheelTransformWS=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);return m(bq(b,a),u)}; +R.prototype.updateWheelTransform=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);oq(e,a,b)};R.prototype.addWheel=function(a,b,e,f,g,n,A){var Q=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);f&&"object"===typeof f&&(f=f.J);g&&"object"===typeof g&&(g=g.J);n&&"object"===typeof n&&(n=n.J);A&&"object"===typeof A&&(A=A.J);return m(Np(Q,a,b,e,f,g,n,A),L)};R.prototype.getNumWheels=function(){return Up(this.J)}; +R.prototype.getRigidBody=function(){return m(Wp(this.J),I)};R.prototype.getWheelInfo=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);return m(aq(b,a),L)};R.prototype.setBrake=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);eq(e,a,b)};R.prototype.setCoordinateSystem=function(a,b,e){var f=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);fq(f,a,b,e)};R.prototype.getCurrentSpeedKmHour=function(){return Rp(this.J)}; +R.prototype.getChassisWorldTransform=function(){return m(Qp(this.J),u)};R.prototype.rayCast=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);return cq(b,a)};R.prototype.updateVehicle=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);nq(b,a)};R.prototype.resetSuspension=function(){dq(this.J)};R.prototype.getSteeringValue=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);return Xp(b,a)}; +R.prototype.updateWheelTransformsWS=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);void 0===b?pq(e,a):qq(e,a,b)};R.prototype.setPitchControl=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);gq(b,a)};R.prototype.updateSuspension=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);mq(b,a)};R.prototype.updateFriction=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);lq(b,a)};R.prototype.getRightAxis=function(){return Vp(this.J)}; +R.prototype.getUpAxis=function(){return Yp(this.J)};R.prototype.getForwardAxis=function(){return Sp(this.J)};R.prototype.getForwardVector=function(){return m(Tp(this.J),r)};R.prototype.getUserConstraintType=function(){return $p(this.J)};R.prototype.setUserConstraintType=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);jq(b,a)};R.prototype.setUserConstraintId=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);iq(b,a)};R.prototype.getUserConstraintId=function(){return Zp(this.J)}; +R.prototype.updateAction=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);kq(e,a,b)};R.prototype.__destroy__=function(){Mp(this.J)};function Fz(a){a&&"object"===typeof a&&(a=a.J);this.J=Ni(a);l(Fz)[this.J]=this}Fz.prototype=Object.create(Xy.prototype);Fz.prototype.constructor=Fz;Fz.prototype.K=Fz;Fz.L={};d.btCylinderShapeX=Fz;Fz.prototype.setMargin=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Si(b,a)};Fz.prototype.getMargin=function(){return Qi(this.J)}; +Fz.prototype.setLocalScaling=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Ri(b,a)};Fz.prototype.getLocalScaling=function(){return m(Pi(this.J),r)};Fz.prototype.calculateLocalInertia=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);Oi(e,a,b)};Fz.prototype.__destroy__=function(){Mi(this.J)};function Gz(a){a&&"object"===typeof a&&(a=a.J);this.J=Ui(a);l(Gz)[this.J]=this}Gz.prototype=Object.create(Xy.prototype);Gz.prototype.constructor=Gz; +Gz.prototype.K=Gz;Gz.L={};d.btCylinderShapeZ=Gz;Gz.prototype.setMargin=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Zi(b,a)};Gz.prototype.getMargin=function(){return Xi(this.J)};Gz.prototype.setLocalScaling=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Yi(b,a)};Gz.prototype.getLocalScaling=function(){return m(Wi(this.J),r)};Gz.prototype.calculateLocalInertia=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);Vi(e,a,b)}; +Gz.prototype.__destroy__=function(){Ti(this.J)};function Hz(){this.J=Vr();l(Hz)[this.J]=this}Hz.prototype=Object.create(k.prototype);Hz.prototype.constructor=Hz;Hz.prototype.K=Hz;Hz.L={};d.btSequentialImpulseConstraintSolver=Hz;Hz.prototype.__destroy__=function(){Ur(this.J)};function Iz(){throw"cannot construct a tAnchorArray, no constructor in IDL";}Iz.prototype=Object.create(k.prototype);Iz.prototype.constructor=Iz;Iz.prototype.K=Iz;Iz.L={};d.tAnchorArray=Iz; +Iz.prototype.size=Iz.prototype.size=function(){return hy(this.J)};Iz.prototype.at=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);return m(dy(b,a),O)};Iz.prototype.clear=Iz.prototype.clear=function(){ey(this.J)};Iz.prototype.push_back=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);gy(b,a)};Iz.prototype.pop_back=function(){fy(this.J)};Iz.prototype.__destroy__=function(){cy(this.J)};function M(){throw"cannot construct a RaycastInfo, no constructor in IDL";}M.prototype=Object.create(k.prototype); +M.prototype.constructor=M;M.prototype.K=M;M.L={};d.RaycastInfo=M;M.prototype.get_m_contactNormalWS=M.prototype.vb=function(){return m(ye(this.J),r)};M.prototype.set_m_contactNormalWS=M.prototype.de=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Ge(b,a)};Object.defineProperty(M.prototype,"m_contactNormalWS",{get:M.prototype.vb,set:M.prototype.de});M.prototype.get_m_contactPointWS=M.prototype.wb=function(){return m(ze(this.J),r)}; +M.prototype.set_m_contactPointWS=M.prototype.ee=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);He(b,a)};Object.defineProperty(M.prototype,"m_contactPointWS",{get:M.prototype.wb,set:M.prototype.ee});M.prototype.get_m_suspensionLength=M.prototype.Lc=function(){return De(this.J)};M.prototype.set_m_suspensionLength=M.prototype.uf=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Le(b,a)};Object.defineProperty(M.prototype,"m_suspensionLength",{get:M.prototype.Lc,set:M.prototype.uf}); +M.prototype.get_m_hardPointWS=M.prototype.Pb=function(){return m(Be(this.J),r)};M.prototype.set_m_hardPointWS=M.prototype.xe=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Je(b,a)};Object.defineProperty(M.prototype,"m_hardPointWS",{get:M.prototype.Pb,set:M.prototype.xe});M.prototype.get_m_wheelDirectionWS=M.prototype.Zc=function(){return m(Fe(this.J),r)};M.prototype.set_m_wheelDirectionWS=M.prototype.If=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Ne(b,a)}; +Object.defineProperty(M.prototype,"m_wheelDirectionWS",{get:M.prototype.Zc,set:M.prototype.If});M.prototype.get_m_wheelAxleWS=M.prototype.Yc=function(){return m(Ee(this.J),r)};M.prototype.set_m_wheelAxleWS=M.prototype.Hf=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Me(b,a)};Object.defineProperty(M.prototype,"m_wheelAxleWS",{get:M.prototype.Yc,set:M.prototype.Hf});M.prototype.get_m_isInContact=M.prototype.$b=function(){return!!Ce(this.J)}; +M.prototype.set_m_isInContact=M.prototype.Ie=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Ke(b,a)};Object.defineProperty(M.prototype,"m_isInContact",{get:M.prototype.$b,set:M.prototype.Ie});M.prototype.get_m_groundObject=M.prototype.Ob=function(){return Ae(this.J)};M.prototype.set_m_groundObject=M.prototype.we=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Ie(b,a)};Object.defineProperty(M.prototype,"m_groundObject",{get:M.prototype.Ob,set:M.prototype.we}); +M.prototype.__destroy__=function(){xe(this.J)};function Jz(){throw"cannot construct a tNodeArray, no constructor in IDL";}Jz.prototype=Object.create(k.prototype);Jz.prototype.constructor=Jz;Jz.prototype.K=Jz;Jz.L={};d.tNodeArray=Jz;Jz.prototype.size=Jz.prototype.size=function(){return ny(this.J)};Jz.prototype.at=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);return m(my(b,a),Node)};Jz.prototype.__destroy__=function(){ly(this.J)}; +function S(a,b,e,f){c.M();a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);"object"==typeof f&&(f=Hy(f));this.J=ht(a,b,e,f);l(S)[this.J]=this}S.prototype=Object.create(t.prototype);S.prototype.constructor=S;S.prototype.K=S;S.L={};d.btSoftBody=S;S.prototype.checkLink=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);return!!jt(e,a,b)}; +S.prototype.checkFace=function(a,b,e){var f=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);return!!it(f,a,b,e)};S.prototype.appendMaterial=function(){return m(et(this.J),C)};S.prototype.appendNode=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);ft(e,a,b)}; +S.prototype.appendLink=function(a,b,e,f){var g=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);f&&"object"===typeof f&&(f=f.J);dt(g,a,b,e,f)};S.prototype.appendFace=function(a,b,e,f){var g=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);f&&"object"===typeof f&&(f=f.J);ct(g,a,b,e,f)}; +S.prototype.appendTetra=function(a,b,e,f,g){var n=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);f&&"object"===typeof f&&(f=f.J);g&&"object"===typeof g&&(g=g.J);gt(n,a,b,e,f,g)};S.prototype.appendAnchor=function(a,b,e,f){var g=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);f&&"object"===typeof f&&(f=f.J);bt(g,a,b,e,f)}; +S.prototype.addForce=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);void 0===b?$s(e,a):at(e,a,b)};S.prototype.addAeroForceToNode=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);Zs(e,a,b)};S.prototype.getTotalMass=function(){return qt(this.J)};S.prototype.setTotalMass=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);Pt(e,a,b)}; +S.prototype.setMass=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);Mt(e,a,b)};S.prototype.transform=S.prototype.transform=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Xt(b,a)};S.prototype.translate=S.prototype.translate=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Yt(b,a)};S.prototype.rotate=S.prototype.rotate=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Ct(b,a)}; +S.prototype.scale=S.prototype.scale=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Dt(b,a)};S.prototype.generateClusters=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);return void 0===b?mt(e,a):nt(e,a,b)};S.prototype.generateBendingConstraints=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);return lt(e,a,b)};S.prototype.upcast=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);return m(Zt(b,a),S)}; +S.prototype.setAnisotropicFriction=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);Ft(e,a,b)};S.prototype.getCollisionShape=function(){return m(pt(this.J),q)};S.prototype.setContactProcessingThreshold=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Kt(b,a)};S.prototype.setActivationState=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Et(b,a)}; +S.prototype.forceActivationState=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);kt(b,a)};S.prototype.activate=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);void 0===a?Xs(b):Ys(b,a)};S.prototype.isActive=function(){return!!yt(this.J)};S.prototype.isKinematicObject=function(){return!!zt(this.J)};S.prototype.isStaticObject=function(){return!!At(this.J)};S.prototype.isStaticOrKinematicObject=function(){return!!Bt(this.J)}; +S.prototype.setRestitution=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Nt(b,a)};S.prototype.setFriction=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Lt(b,a)};S.prototype.setRollingFriction=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Ot(b,a)};S.prototype.getWorldTransform=function(){return m(tt(this.J),u)};S.prototype.getCollisionFlags=function(){return ot(this.J)};S.prototype.setCollisionFlags=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);It(b,a)}; +S.prototype.setWorldTransform=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);St(b,a)};S.prototype.setCollisionShape=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Jt(b,a)};S.prototype.setCcdMotionThreshold=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Gt(b,a)};S.prototype.setCcdSweptSphereRadius=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Ht(b,a)};S.prototype.getUserIndex=function(){return rt(this.J)}; +S.prototype.setUserIndex=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Qt(b,a)};S.prototype.getUserPointer=function(){return m(st(this.J),Ny)};S.prototype.setUserPointer=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Rt(b,a)};S.prototype.get_m_cfg=S.prototype.rb=function(){return m(vt(this.J),T)};S.prototype.set_m_cfg=S.prototype.$d=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Ut(b,a)};Object.defineProperty(S.prototype,"m_cfg",{get:S.prototype.rb,set:S.prototype.$d}); +S.prototype.get_m_nodes=S.prototype.oc=function(){return m(xt(this.J),Jz)};S.prototype.set_m_nodes=S.prototype.We=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Wt(b,a)};Object.defineProperty(S.prototype,"m_nodes",{get:S.prototype.oc,set:S.prototype.We});S.prototype.get_m_materials=S.prototype.kc=function(){return m(wt(this.J),iz)};S.prototype.set_m_materials=S.prototype.Se=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Vt(b,a)}; +Object.defineProperty(S.prototype,"m_materials",{get:S.prototype.kc,set:S.prototype.Se});S.prototype.get_m_anchors=S.prototype.hb=function(){return m(ut(this.J),Iz)};S.prototype.set_m_anchors=S.prototype.Qd=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Tt(b,a)};Object.defineProperty(S.prototype,"m_anchors",{get:S.prototype.hb,set:S.prototype.Qd});S.prototype.__destroy__=function(){Ws(this.J)};function Kz(){throw"cannot construct a btIntArray, no constructor in IDL";}Kz.prototype=Object.create(k.prototype); +Kz.prototype.constructor=Kz;Kz.prototype.K=Kz;Kz.L={};d.btIntArray=Kz;Kz.prototype.size=Kz.prototype.size=function(){return gn(this.J)};Kz.prototype.at=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);return fn(b,a)};Kz.prototype.__destroy__=function(){en(this.J)};function T(){throw"cannot construct a Config, no constructor in IDL";}T.prototype=Object.create(k.prototype);T.prototype.constructor=T;T.prototype.K=T;T.L={};d.Config=T;T.prototype.get_kVCF=T.prototype.$a=function(){return Dc(this.J)}; +T.prototype.set_kVCF=T.prototype.Jd=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);bd(b,a)};Object.defineProperty(T.prototype,"kVCF",{get:T.prototype.$a,set:T.prototype.Jd});T.prototype.get_kDP=T.prototype.Na=function(){return rc(this.J)};T.prototype.set_kDP=T.prototype.wd=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Qc(b,a)};Object.defineProperty(T.prototype,"kDP",{get:T.prototype.Na,set:T.prototype.wd});T.prototype.get_kDG=T.prototype.Ma=function(){return qc(this.J)}; +T.prototype.set_kDG=T.prototype.vd=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Pc(b,a)};Object.defineProperty(T.prototype,"kDG",{get:T.prototype.Ma,set:T.prototype.vd});T.prototype.get_kLF=T.prototype.Pa=function(){return tc(this.J)};T.prototype.set_kLF=T.prototype.yd=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Sc(b,a)};Object.defineProperty(T.prototype,"kLF",{get:T.prototype.Pa,set:T.prototype.yd});T.prototype.get_kPR=T.prototype.Ra=function(){return vc(this.J)}; +T.prototype.set_kPR=T.prototype.Ad=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Uc(b,a)};Object.defineProperty(T.prototype,"kPR",{get:T.prototype.Ra,set:T.prototype.Ad});T.prototype.get_kVC=T.prototype.Za=function(){return Ec(this.J)};T.prototype.set_kVC=T.prototype.Id=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);cd(b,a)};Object.defineProperty(T.prototype,"kVC",{get:T.prototype.Za,set:T.prototype.Id});T.prototype.get_kDF=T.prototype.La=function(){return pc(this.J)}; +T.prototype.set_kDF=T.prototype.ud=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Oc(b,a)};Object.defineProperty(T.prototype,"kDF",{get:T.prototype.La,set:T.prototype.ud});T.prototype.get_kMT=T.prototype.Qa=function(){return uc(this.J)};T.prototype.set_kMT=T.prototype.zd=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Tc(b,a)};Object.defineProperty(T.prototype,"kMT",{get:T.prototype.Qa,set:T.prototype.zd});T.prototype.get_kCHR=T.prototype.Ka=function(){return oc(this.J)}; +T.prototype.set_kCHR=T.prototype.td=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Nc(b,a)};Object.defineProperty(T.prototype,"kCHR",{get:T.prototype.Ka,set:T.prototype.td});T.prototype.get_kKHR=T.prototype.Oa=function(){return sc(this.J)};T.prototype.set_kKHR=T.prototype.xd=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Rc(b,a)};Object.defineProperty(T.prototype,"kKHR",{get:T.prototype.Oa,set:T.prototype.xd});T.prototype.get_kSHR=T.prototype.Sa=function(){return wc(this.J)}; +T.prototype.set_kSHR=T.prototype.Bd=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Vc(b,a)};Object.defineProperty(T.prototype,"kSHR",{get:T.prototype.Sa,set:T.prototype.Bd});T.prototype.get_kAHR=T.prototype.Ja=function(){return nc(this.J)};T.prototype.set_kAHR=T.prototype.sd=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Mc(b,a)};Object.defineProperty(T.prototype,"kAHR",{get:T.prototype.Ja,set:T.prototype.sd});T.prototype.get_kSRHR_CL=T.prototype.Va=function(){return zc(this.J)}; +T.prototype.set_kSRHR_CL=T.prototype.Ed=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Yc(b,a)};Object.defineProperty(T.prototype,"kSRHR_CL",{get:T.prototype.Va,set:T.prototype.Ed});T.prototype.get_kSKHR_CL=T.prototype.Ta=function(){return xc(this.J)};T.prototype.set_kSKHR_CL=T.prototype.Cd=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Wc(b,a)};Object.defineProperty(T.prototype,"kSKHR_CL",{get:T.prototype.Ta,set:T.prototype.Cd});T.prototype.get_kSSHR_CL=T.prototype.Xa=function(){return Bc(this.J)}; +T.prototype.set_kSSHR_CL=T.prototype.Gd=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);$c(b,a)};Object.defineProperty(T.prototype,"kSSHR_CL",{get:T.prototype.Xa,set:T.prototype.Gd});T.prototype.get_kSR_SPLT_CL=T.prototype.Wa=function(){return Ac(this.J)};T.prototype.set_kSR_SPLT_CL=T.prototype.Fd=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Zc(b,a)};Object.defineProperty(T.prototype,"kSR_SPLT_CL",{get:T.prototype.Wa,set:T.prototype.Fd}); +T.prototype.get_kSK_SPLT_CL=T.prototype.Ua=function(){return yc(this.J)};T.prototype.set_kSK_SPLT_CL=T.prototype.Dd=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Xc(b,a)};Object.defineProperty(T.prototype,"kSK_SPLT_CL",{get:T.prototype.Ua,set:T.prototype.Dd});T.prototype.get_kSS_SPLT_CL=T.prototype.Ya=function(){return Cc(this.J)};T.prototype.set_kSS_SPLT_CL=T.prototype.Hd=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);ad(b,a)}; +Object.defineProperty(T.prototype,"kSS_SPLT_CL",{get:T.prototype.Ya,set:T.prototype.Hd});T.prototype.get_maxvolume=T.prototype.ed=function(){return Fc(this.J)};T.prototype.set_maxvolume=T.prototype.Of=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);dd(b,a)};Object.defineProperty(T.prototype,"maxvolume",{get:T.prototype.ed,set:T.prototype.Of});T.prototype.get_timescale=T.prototype.hd=function(){return Hc(this.J)}; +T.prototype.set_timescale=T.prototype.Qf=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);fd(b,a)};Object.defineProperty(T.prototype,"timescale",{get:T.prototype.hd,set:T.prototype.Qf});T.prototype.get_viterations=T.prototype.jd=function(){return Ic(this.J)};T.prototype.set_viterations=T.prototype.Rf=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);gd(b,a)};Object.defineProperty(T.prototype,"viterations",{get:T.prototype.jd,set:T.prototype.Rf}); +T.prototype.get_piterations=T.prototype.gd=function(){return Gc(this.J)};T.prototype.set_piterations=T.prototype.Pf=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);ed(b,a)};Object.defineProperty(T.prototype,"piterations",{get:T.prototype.gd,set:T.prototype.Pf});T.prototype.get_diterations=T.prototype.Ia=function(){return mc(this.J)};T.prototype.set_diterations=T.prototype.rd=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Lc(b,a)}; +Object.defineProperty(T.prototype,"diterations",{get:T.prototype.Ia,set:T.prototype.rd});T.prototype.get_citerations=T.prototype.Ga=function(){return kc(this.J)};T.prototype.set_citerations=T.prototype.pd=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Jc(b,a)};Object.defineProperty(T.prototype,"citerations",{get:T.prototype.Ga,set:T.prototype.pd});T.prototype.get_collisions=T.prototype.Ha=function(){return lc(this.J)}; +T.prototype.set_collisions=T.prototype.qd=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Kc(b,a)};Object.defineProperty(T.prototype,"collisions",{get:T.prototype.Ha,set:T.prototype.qd});T.prototype.__destroy__=function(){jc(this.J)};function Node(){throw"cannot construct a Node, no constructor in IDL";}Node.prototype=Object.create(k.prototype);Node.prototype.constructor=Node;Node.prototype.K=Node;Node.L={};d.Node=Node; +Node.prototype.get_m_x=Node.prototype.dd=function(){return m(fe(this.J),r)};Node.prototype.set_m_x=Node.prototype.Nf=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);me(b,a)};Object.defineProperty(Node.prototype,"m_x",{get:Node.prototype.dd,set:Node.prototype.Nf});Node.prototype.get_m_q=Node.prototype.uc=function(){return m(de(this.J),r)};Node.prototype.set_m_q=Node.prototype.bf=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);ke(b,a)}; +Object.defineProperty(Node.prototype,"m_q",{get:Node.prototype.uc,set:Node.prototype.bf});Node.prototype.get_m_v=Node.prototype.Wc=function(){return m(ee(this.J),r)};Node.prototype.set_m_v=Node.prototype.Ff=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);le(b,a)};Object.defineProperty(Node.prototype,"m_v",{get:Node.prototype.Wc,set:Node.prototype.Ff});Node.prototype.get_m_f=Node.prototype.Ib=function(){return m(ae(this.J),r)}; +Node.prototype.set_m_f=Node.prototype.qe=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);he(b,a)};Object.defineProperty(Node.prototype,"m_f",{get:Node.prototype.Ib,set:Node.prototype.qe});Node.prototype.get_m_n=Node.prototype.mc=function(){return m(ce(this.J),r)};Node.prototype.set_m_n=Node.prototype.Ue=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);je(b,a)};Object.defineProperty(Node.prototype,"m_n",{get:Node.prototype.mc,set:Node.prototype.Ue}); +Node.prototype.get_m_im=Node.prototype.Wb=function(){return be(this.J)};Node.prototype.set_m_im=Node.prototype.Ee=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);ie(b,a)};Object.defineProperty(Node.prototype,"m_im",{get:Node.prototype.Wb,set:Node.prototype.Ee});Node.prototype.get_m_area=Node.prototype.kb=function(){return $d(this.J)};Node.prototype.set_m_area=Node.prototype.Td=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);ge(b,a)}; +Object.defineProperty(Node.prototype,"m_area",{get:Node.prototype.kb,set:Node.prototype.Td});Node.prototype.__destroy__=function(){Zd(this.J)};function Lz(){this.J=xm();l(Lz)[this.J]=this}Lz.prototype=Object.create(k.prototype);Lz.prototype.constructor=Lz;Lz.prototype.K=Lz;Lz.L={};d.btGhostPairCallback=Lz;Lz.prototype.__destroy__=function(){wm(this.J)};function Mz(){throw"cannot construct a btOverlappingPairCallback, no constructor in IDL";}Mz.prototype=Object.create(k.prototype); +Mz.prototype.constructor=Mz;Mz.prototype.K=Mz;Mz.L={};d.btOverlappingPairCallback=Mz;Mz.prototype.__destroy__=function(){co(this.J)};function U(a,b,e,f){a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);f&&"object"===typeof f&&(f=f.J);this.J=void 0===f?jn(a,b,e):kn(a,b,e,f);l(U)[this.J]=this}U.prototype=Object.create(Uy.prototype);U.prototype.constructor=U;U.prototype.K=U;U.L={};d.btKinematicCharacterController=U; +U.prototype.setUpAxis=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);yn(b,a)};U.prototype.setWalkDirection=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Cn(b,a)};U.prototype.setVelocityForTimeInterval=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);Bn(e,a,b)};U.prototype.warp=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);En(b,a)};U.prototype.preStep=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);sn(b,a)}; +U.prototype.playerStep=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);rn(e,a,b)};U.prototype.setFallSpeed=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);tn(b,a)};U.prototype.setJumpSpeed=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);vn(b,a)};U.prototype.setMaxJumpHeight=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);wn(b,a)};U.prototype.canJump=function(){return!!ln(this.J)};U.prototype.jump=function(){pn(this.J)}; +U.prototype.setGravity=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);un(b,a)};U.prototype.getGravity=function(){return nn(this.J)};U.prototype.setMaxSlope=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);xn(b,a)};U.prototype.getMaxSlope=function(){return on(this.J)};U.prototype.getGhostObject=function(){return m(mn(this.J),V)};U.prototype.setUseGhostSweepTest=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);An(b,a)};U.prototype.onGround=function(){return!!qn(this.J)}; +U.prototype.setUpInterpolate=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);zn(b,a)};U.prototype.updateAction=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);Dn(e,a,b)};U.prototype.__destroy__=function(){hn(this.J)};function Nz(){throw"cannot construct a btSoftBodyArray, no constructor in IDL";}Nz.prototype=Object.create(k.prototype);Nz.prototype.constructor=Nz;Nz.prototype.K=Nz;Nz.L={};d.btSoftBodyArray=Nz;Nz.prototype.size=Nz.prototype.size=function(){return qs(this.J)}; +Nz.prototype.at=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);return m(ps(b,a),S)};Nz.prototype.__destroy__=function(){ns(this.J)};function oz(){throw"cannot construct a btFaceArray, no constructor in IDL";}oz.prototype=Object.create(k.prototype);oz.prototype.constructor=oz;oz.prototype.K=oz;oz.L={};d.btFaceArray=oz;oz.prototype.size=oz.prototype.size=function(){return dl(this.J)};oz.prototype.at=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);return m(cl(b,a),Oz)}; +oz.prototype.__destroy__=function(){bl(this.J)};function Pz(a,b){a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);this.J=Su(a,b);l(Pz)[this.J]=this}Pz.prototype=Object.create(Py.prototype);Pz.prototype.constructor=Pz;Pz.prototype.K=Pz;Pz.L={};d.btStaticPlaneShape=Pz;Pz.prototype.setLocalScaling=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Vu(b,a)};Pz.prototype.getLocalScaling=function(){return m(Uu(this.J),r)}; +Pz.prototype.calculateLocalInertia=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);Tu(e,a,b)};Pz.prototype.__destroy__=function(){Ru(this.J)};function Ky(){throw"cannot construct a btOverlappingPairCache, no constructor in IDL";}Ky.prototype=Object.create(k.prototype);Ky.prototype.constructor=Ky;Ky.prototype.K=Ky;Ky.L={};d.btOverlappingPairCache=Ky;Ky.prototype.setInternalGhostPairCallback=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);bo(b,a)}; +Ky.prototype.__destroy__=function(){ao(this.J)};function W(a,b,e,f,g){a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);f&&"object"===typeof f&&(f=f.J);g&&"object"===typeof g&&(g=g.J);this.J=ju(a,b,e,f,g);l(W)[this.J]=this}W.prototype=Object.create(z.prototype);W.prototype.constructor=W;W.prototype.K=W;W.L={};d.btSoftRigidDynamicsWorld=W; +W.prototype.addSoftBody=function(a,b,e){var f=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);iu(f,a,b,e)};W.prototype.removeSoftBody=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Du(b,a)};W.prototype.removeCollisionObject=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Au(b,a)};W.prototype.getWorldInfo=function(){return m(xu(this.J),J)};W.prototype.getSoftBodyArray=function(){return m(vu(this.J),Nz)}; +W.prototype.getDispatcher=function(){return m(su(this.J),Jy)};W.prototype.rayTest=function(a,b,e){var f=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);yu(f,a,b,e)};W.prototype.getPairCache=function(){return m(uu(this.J),Ky)};W.prototype.getDispatchInfo=function(){return m(ru(this.J),p)}; +W.prototype.addCollisionObject=function(a,b,e){var f=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);void 0===b?bu(f,a):void 0===e?cu(f,a,b):du(f,a,b,e)};W.prototype.getBroadphase=function(){return m(pu(this.J),Ly)}; +W.prototype.convexSweepTest=function(a,b,e,f,g){var n=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);f&&"object"===typeof f&&(f=f.J);g&&"object"===typeof g&&(g=g.J);mu(n,a,b,e,f,g)};W.prototype.contactPairTest=function(a,b,e){var f=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);ku(f,a,b,e)}; +W.prototype.contactTest=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);lu(e,a,b)};W.prototype.updateSingleAabb=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Ju(b,a)};W.prototype.setDebugDrawer=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Eu(b,a)};W.prototype.getDebugDrawer=function(){return m(qu(this.J),My)};W.prototype.debugDrawWorld=function(){ou(this.J)}; +W.prototype.debugDrawObject=function(a,b,e){var f=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);nu(f,a,b,e)};W.prototype.setGravity=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Fu(b,a)};W.prototype.getGravity=function(){return m(tu(this.J),r)}; +W.prototype.addRigidBody=function(a,b,e){var f=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);void 0===b?gu(f,a):void 0===e?_emscripten_bind_btSoftRigidDynamicsWorld_addRigidBody_2(f,a,b):hu(f,a,b,e)};W.prototype.removeRigidBody=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Cu(b,a)};W.prototype.addConstraint=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);void 0===b?eu(e,a):fu(e,a,b)}; +W.prototype.removeConstraint=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Bu(b,a)};W.prototype.stepSimulation=function(a,b,e){var f=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);return void 0===b?Gu(f,a):void 0===e?Hu(f,a,b):Iu(f,a,b,e)};W.prototype.addAction=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);au(b,a)};W.prototype.removeAction=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);zu(b,a)}; +W.prototype.getSolverInfo=function(){return m(wu(this.J),w)};W.prototype.__destroy__=function(){$t(this.J)};function Qz(a,b,e,f){a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);f&&"object"===typeof f&&(f=f.J);this.J=kl(a,b,e,f);l(Qz)[this.J]=this}Qz.prototype=Object.create(Oy.prototype);Qz.prototype.constructor=Qz;Qz.prototype.K=Qz;Qz.L={};d.btFixedConstraint=Qz; +Qz.prototype.enableFeedback=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);ll(b,a)};Qz.prototype.getBreakingImpulseThreshold=function(){return ml(this.J)};Qz.prototype.setBreakingImpulseThreshold=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);ol(b,a)};Qz.prototype.getParam=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);return nl(e,a,b)}; +Qz.prototype.setParam=function(a,b,e){var f=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);pl(f,a,b,e)};Qz.prototype.__destroy__=function(){jl(this.J)};function u(a,b){a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);this.J=void 0===a?Yu():void 0===b?_emscripten_bind_btTransform_btTransform_1(a):Zu(a,b);l(u)[this.J]=this}u.prototype=Object.create(k.prototype);u.prototype.constructor=u;u.prototype.K=u;u.L={};d.btTransform=u; +u.prototype.setIdentity=function(){fv(this.J)};u.prototype.setOrigin=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);gv(b,a)};u.prototype.setRotation=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);hv(b,a)};u.prototype.getOrigin=function(){return m(av(this.J),r)};u.prototype.getRotation=function(){return m(bv(this.J),X)};u.prototype.getBasis=function(){return m($u(this.J),ez)};u.prototype.setFromOpenGLMatrix=function(a){var b=this.J;c.M();"object"==typeof a&&(a=Hy(a));ev(b,a)}; +u.prototype.inverse=u.prototype.inverse=function(){return m(cv(this.J),u)};u.prototype.op_mul=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);return m(dv(b,a),u)};u.prototype.__destroy__=function(){Xu(this.J)};function Y(a,b){a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);this.J=Nb(a,b);l(Y)[this.J]=this}Y.prototype=Object.create(B.prototype);Y.prototype.constructor=Y;Y.prototype.K=Y;Y.L={};d.ClosestRayResultCallback=Y;Y.prototype.hasHit=function(){return!!Xb(this.J)}; +Y.prototype.get_m_rayFromWorld=Y.prototype.vc=function(){return m(Vb(this.J),r)};Y.prototype.set_m_rayFromWorld=Y.prototype.cf=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);dc(b,a)};Object.defineProperty(Y.prototype,"m_rayFromWorld",{get:Y.prototype.vc,set:Y.prototype.cf});Y.prototype.get_m_rayToWorld=Y.prototype.wc=function(){return m(Wb(this.J),r)};Y.prototype.set_m_rayToWorld=Y.prototype.df=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);ec(b,a)}; +Object.defineProperty(Y.prototype,"m_rayToWorld",{get:Y.prototype.wc,set:Y.prototype.df});Y.prototype.get_m_hitNormalWorld=Y.prototype.ja=function(){return m(Tb(this.J),r)};Y.prototype.set_m_hitNormalWorld=Y.prototype.sa=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);bc(b,a)};Object.defineProperty(Y.prototype,"m_hitNormalWorld",{get:Y.prototype.ja,set:Y.prototype.sa});Y.prototype.get_m_hitPointWorld=Y.prototype.ka=function(){return m(Ub(this.J),r)}; +Y.prototype.set_m_hitPointWorld=Y.prototype.ta=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);cc(b,a)};Object.defineProperty(Y.prototype,"m_hitPointWorld",{get:Y.prototype.ka,set:Y.prototype.ta});Y.prototype.get_m_collisionFilterGroup=Y.prototype.N=function(){return Qb(this.J)};Y.prototype.set_m_collisionFilterGroup=Y.prototype.P=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Zb(b,a)};Object.defineProperty(Y.prototype,"m_collisionFilterGroup",{get:Y.prototype.N,set:Y.prototype.P}); +Y.prototype.get_m_collisionFilterMask=Y.prototype.O=function(){return Rb(this.J)};Y.prototype.set_m_collisionFilterMask=Y.prototype.R=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);$b(b,a)};Object.defineProperty(Y.prototype,"m_collisionFilterMask",{get:Y.prototype.O,set:Y.prototype.R});Y.prototype.get_m_closestHitFraction=Y.prototype.S=function(){return Pb(this.J)};Y.prototype.set_m_closestHitFraction=Y.prototype.T=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Yb(b,a)}; +Object.defineProperty(Y.prototype,"m_closestHitFraction",{get:Y.prototype.S,set:Y.prototype.T});Y.prototype.get_m_collisionObject=Y.prototype.ia=function(){return m(Sb(this.J),t)};Y.prototype.set_m_collisionObject=Y.prototype.ra=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);ac(b,a)};Object.defineProperty(Y.prototype,"m_collisionObject",{get:Y.prototype.ia,set:Y.prototype.ra});Y.prototype.__destroy__=function(){Ob(this.J)}; +function Rz(a){a&&"object"===typeof a&&(a=a.J);this.J=void 0===a?Bs():Cs(a);l(Rz)[this.J]=this}Rz.prototype=Object.create(Ry.prototype);Rz.prototype.constructor=Rz;Rz.prototype.K=Rz;Rz.L={};d.btSoftBodyRigidBodyCollisionConfiguration=Rz;Rz.prototype.__destroy__=function(){As(this.J)};function Sz(){this.J=fc();l(Sz)[this.J]=this}Sz.prototype=Object.create(cz.prototype);Sz.prototype.constructor=Sz;Sz.prototype.K=Sz;Sz.L={};d.ConcreteContactResultCallback=Sz; +Sz.prototype.addSingleResult=function(a,b,e,f,g,n,A){var Q=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);f&&"object"===typeof f&&(f=f.J);g&&"object"===typeof g&&(g=g.J);n&&"object"===typeof n&&(n=n.J);A&&"object"===typeof A&&(A=A.J);return ic(Q,a,b,e,f,g,n,A)};Sz.prototype.__destroy__=function(){hc(this.J)}; +function Tz(a,b,e){a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);this.J=void 0===e?kf(a,b):lf(a,b,e);l(Tz)[this.J]=this}Tz.prototype=Object.create(Sy.prototype);Tz.prototype.constructor=Tz;Tz.prototype.K=Tz;Tz.L={};d.btBvhTriangleMeshShape=Tz;Tz.prototype.setLocalScaling=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);of(b,a)};Tz.prototype.getLocalScaling=function(){return m(nf(this.J),r)}; +Tz.prototype.calculateLocalInertia=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);mf(e,a,b)};Tz.prototype.__destroy__=function(){jf(this.J)}; +function Uz(a,b,e,f,g){a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);f&&"object"===typeof f&&(f=f.J);g&&"object"===typeof g&&(g=g.J);this.J=void 0===f?bs(a,b,e):void 0===g?_emscripten_bind_btSliderConstraint_btSliderConstraint_4(a,b,e,f):cs(a,b,e,f,g);l(Uz)[this.J]=this}Uz.prototype=Object.create(Oy.prototype);Uz.prototype.constructor=Uz;Uz.prototype.K=Uz;Uz.L={};d.btSliderConstraint=Uz; +Uz.prototype.setLowerLinLimit=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);js(b,a)};Uz.prototype.setUpperLinLimit=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);ms(b,a)};Uz.prototype.setLowerAngLimit=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);is(b,a)};Uz.prototype.setUpperAngLimit=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);ls(b,a)};Uz.prototype.enableFeedback=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);ds(b,a)}; +Uz.prototype.getBreakingImpulseThreshold=function(){return es(this.J)};Uz.prototype.setBreakingImpulseThreshold=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);hs(b,a)};Uz.prototype.getParam=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);return gs(e,a,b)};Uz.prototype.setParam=function(a,b,e){var f=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);ks(f,a,b,e)};Uz.prototype.__destroy__=function(){as(this.J)}; +function V(){this.J=ho();l(V)[this.J]=this}V.prototype=Object.create(y.prototype);V.prototype.constructor=V;V.prototype.K=V;V.L={};d.btPairCachingGhostObject=V;V.prototype.setAnisotropicFriction=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);vo(e,a,b)};V.prototype.getCollisionShape=function(){return m(ko(this.J),q)};V.prototype.setContactProcessingThreshold=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Ao(b,a)}; +V.prototype.setActivationState=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);uo(b,a)};V.prototype.forceActivationState=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);io(b,a)};V.prototype.activate=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);void 0===a?fo(b):go(b,a)};V.prototype.isActive=function(){return!!qo(this.J)};V.prototype.isKinematicObject=function(){return!!ro(this.J)};V.prototype.isStaticObject=function(){return!!so(this.J)}; +V.prototype.isStaticOrKinematicObject=function(){return!!to(this.J)};V.prototype.setRestitution=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Co(b,a)};V.prototype.setFriction=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Bo(b,a)};V.prototype.setRollingFriction=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Do(b,a)};V.prototype.getWorldTransform=function(){return m(po(this.J),u)};V.prototype.getCollisionFlags=function(){return jo(this.J)}; +V.prototype.setCollisionFlags=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);yo(b,a)};V.prototype.setWorldTransform=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Go(b,a)};V.prototype.setCollisionShape=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);zo(b,a)};V.prototype.setCcdMotionThreshold=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);wo(b,a)};V.prototype.setCcdSweptSphereRadius=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);xo(b,a)}; +V.prototype.getUserIndex=function(){return no(this.J)};V.prototype.setUserIndex=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Eo(b,a)};V.prototype.getUserPointer=function(){return m(oo(this.J),Ny)};V.prototype.setUserPointer=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Fo(b,a)};V.prototype.getNumOverlappingObjects=function(){return lo(this.J)};V.prototype.getOverlappingObject=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);return m(mo(b,a),t)}; +V.prototype.__destroy__=function(){eo(this.J)};function F(){throw"cannot construct a btManifoldPoint, no constructor in IDL";}F.prototype=Object.create(k.prototype);F.prototype.constructor=F;F.prototype.K=F;F.L={};d.btManifoldPoint=F;F.prototype.getPositionWorldOnA=function(){return m(In(this.J),r)};F.prototype.getPositionWorldOnB=function(){return m(Jn(this.J),r)};F.prototype.getAppliedImpulse=function(){return Gn(this.J)};F.prototype.getDistance=function(){return Hn(this.J)}; +F.prototype.get_m_localPointA=F.prototype.hc=function(){return m(Kn(this.J),r)};F.prototype.set_m_localPointA=F.prototype.Pe=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Pn(b,a)};Object.defineProperty(F.prototype,"m_localPointA",{get:F.prototype.hc,set:F.prototype.Pe});F.prototype.get_m_localPointB=F.prototype.ic=function(){return m(Ln(this.J),r)};F.prototype.set_m_localPointB=F.prototype.Qe=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Qn(b,a)}; +Object.defineProperty(F.prototype,"m_localPointB",{get:F.prototype.ic,set:F.prototype.Qe});F.prototype.get_m_positionWorldOnB=F.prototype.tc=function(){return m(On(this.J),r)};F.prototype.set_m_positionWorldOnB=F.prototype.af=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Tn(b,a)};Object.defineProperty(F.prototype,"m_positionWorldOnB",{get:F.prototype.tc,set:F.prototype.af});F.prototype.get_m_positionWorldOnA=F.prototype.sc=function(){return m(Nn(this.J),r)}; +F.prototype.set_m_positionWorldOnA=F.prototype.$e=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Sn(b,a)};Object.defineProperty(F.prototype,"m_positionWorldOnA",{get:F.prototype.sc,set:F.prototype.$e});F.prototype.get_m_normalWorldOnB=F.prototype.pc=function(){return m(Mn(this.J),r)};F.prototype.set_m_normalWorldOnB=F.prototype.Xe=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Rn(b,a)};Object.defineProperty(F.prototype,"m_normalWorldOnB",{get:F.prototype.pc,set:F.prototype.Xe}); +F.prototype.__destroy__=function(){Fn(this.J)};function Vz(a,b,e,f){a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);f&&"object"===typeof f&&(f=f.J);this.J=void 0===e?Oo(a,b):void 0===f?_emscripten_bind_btPoint2PointConstraint_btPoint2PointConstraint_3(a,b,e):Po(a,b,e,f);l(Vz)[this.J]=this}Vz.prototype=Object.create(Oy.prototype);Vz.prototype.constructor=Vz;Vz.prototype.K=Vz;Vz.L={};d.btPoint2PointConstraint=Vz; +Vz.prototype.setPivotA=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Yo(b,a)};Vz.prototype.setPivotB=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Zo(b,a)};Vz.prototype.getPivotInA=function(){return m(To(this.J),r)};Vz.prototype.getPivotInB=function(){return m(Uo(this.J),r)};Vz.prototype.enableFeedback=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Qo(b,a)};Vz.prototype.getBreakingImpulseThreshold=function(){return Ro(this.J)}; +Vz.prototype.setBreakingImpulseThreshold=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Wo(b,a)};Vz.prototype.getParam=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);return So(e,a,b)};Vz.prototype.setParam=function(a,b,e){var f=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);Xo(f,a,b,e)};Vz.prototype.get_m_setting=Vz.prototype.Cc=function(){return m(Vo(this.J),H)}; +Vz.prototype.set_m_setting=Vz.prototype.kf=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);$o(b,a)};Object.defineProperty(Vz.prototype,"m_setting",{get:Vz.prototype.Cc,set:Vz.prototype.kf});Vz.prototype.__destroy__=function(){No(this.J)};function Wz(){this.J=zs();l(Wz)[this.J]=this}Wz.prototype=Object.create(k.prototype);Wz.prototype.constructor=Wz;Wz.prototype.K=Wz;Wz.L={};d.btSoftBodyHelpers=Wz; +Wz.prototype.CreateRope=function(a,b,e,f,g){var n=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);f&&"object"===typeof f&&(f=f.J);g&&"object"===typeof g&&(g=g.J);return m(xs(n,a,b,e,f,g),S)}; +Wz.prototype.CreatePatch=function(a,b,e,f,g,n,A,Q,ha){var Lb=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);f&&"object"===typeof f&&(f=f.J);g&&"object"===typeof g&&(g=g.J);n&&"object"===typeof n&&(n=n.J);A&&"object"===typeof A&&(A=A.J);Q&&"object"===typeof Q&&(Q=Q.J);ha&&"object"===typeof ha&&(ha=ha.J);return m(vs(Lb,a,b,e,f,g,n,A,Q,ha),S)}; +Wz.prototype.CreatePatchUV=function(a,b,e,f,g,n,A,Q,ha,Lb){var cA=this.J;c.M();a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);f&&"object"===typeof f&&(f=f.J);g&&"object"===typeof g&&(g=g.J);n&&"object"===typeof n&&(n=n.J);A&&"object"===typeof A&&(A=A.J);Q&&"object"===typeof Q&&(Q=Q.J);ha&&"object"===typeof ha&&(ha=ha.J);"object"==typeof Lb&&(Lb=Hy(Lb));return m(us(cA,a,b,e,f,g,n,A,Q,ha,Lb),S)}; +Wz.prototype.CreateEllipsoid=function(a,b,e,f){var g=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);f&&"object"===typeof f&&(f=f.J);return m(rs(g,a,b,e,f),S)}; +Wz.prototype.CreateFromTriMesh=function(a,b,e,f,g){var n=this.J;c.M();a&&"object"===typeof a&&(a=a.J);"object"==typeof b&&(b=Hy(b));if("object"==typeof e&&"object"===typeof e){var A=c.fa(e,xa);c.copy(e,xa,A);e=A}f&&"object"===typeof f&&(f=f.J);g&&"object"===typeof g&&(g=g.J);return m(ts(n,a,b,e,f,g),S)}; +Wz.prototype.CreateFromConvexHull=function(a,b,e,f){var g=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);f&&"object"===typeof f&&(f=f.J);return m(ss(g,a,b,e,f),S)};Wz.prototype.__destroy__=function(){ys(this.J)};function Ny(){throw"cannot construct a VoidPtr, no constructor in IDL";}Ny.prototype=Object.create(k.prototype);Ny.prototype.constructor=Ny;Ny.prototype.K=Ny;Ny.L={};d.VoidPtr=Ny;Ny.prototype.__destroy__=function(){Oe(this.J)}; +function lz(){throw"cannot construct a btBroadphaseProxy, no constructor in IDL";}lz.prototype=Object.create(k.prototype);lz.prototype.constructor=lz;lz.prototype.K=lz;lz.L={};d.btBroadphaseProxy=lz;lz.prototype.get_m_collisionFilterGroup=lz.prototype.N=function(){return ef(this.J)};lz.prototype.set_m_collisionFilterGroup=lz.prototype.P=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);gf(b,a)};Object.defineProperty(lz.prototype,"m_collisionFilterGroup",{get:lz.prototype.N,set:lz.prototype.P}); +lz.prototype.get_m_collisionFilterMask=lz.prototype.O=function(){return ff(this.J)};lz.prototype.set_m_collisionFilterMask=lz.prototype.R=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);hf(b,a)};Object.defineProperty(lz.prototype,"m_collisionFilterMask",{get:lz.prototype.O,set:lz.prototype.R});lz.prototype.__destroy__=function(){df(this.J)};function Xz(a){a&&"object"===typeof a&&(a=a.J);this.J=Xe(a);l(Xz)[this.J]=this}Xz.prototype=Object.create(q.prototype);Xz.prototype.constructor=Xz; +Xz.prototype.K=Xz;Xz.L={};d.btBoxShape=Xz;Xz.prototype.setMargin=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);bf(b,a)};Xz.prototype.getMargin=function(){return $e(this.J)};Xz.prototype.setLocalScaling=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);af(b,a)};Xz.prototype.getLocalScaling=function(){return m(Ze(this.J),r)};Xz.prototype.calculateLocalInertia=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);Ye(e,a,b)}; +Xz.prototype.__destroy__=function(){We(this.J)};function Oz(){throw"cannot construct a btFace, no constructor in IDL";}Oz.prototype=Object.create(k.prototype);Oz.prototype.constructor=Oz;Oz.prototype.K=Oz;Oz.L={};d.btFace=Oz;Oz.prototype.get_m_indices=Oz.prototype.Yb=function(){return m(fl(this.J),Kz)};Oz.prototype.set_m_indices=Oz.prototype.Ge=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);hl(b,a)};Object.defineProperty(Oz.prototype,"m_indices",{get:Oz.prototype.Yb,set:Oz.prototype.Ge}); +Oz.prototype.get_m_plane=Oz.prototype.rc=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);return gl(b,a)};Oz.prototype.set_m_plane=Oz.prototype.Ze=function(a,b){var e=this.J;c.M();a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);il(e,a,b)};Object.defineProperty(Oz.prototype,"m_plane",{get:Oz.prototype.rc,set:Oz.prototype.Ze});Oz.prototype.__destroy__=function(){el(this.J)};function Yz(){this.J=rd();l(Yz)[this.J]=this}Yz.prototype=Object.create(My.prototype); +Yz.prototype.constructor=Yz;Yz.prototype.K=Yz;Yz.L={};d.DebugDrawer=Yz;Yz.prototype.drawLine=function(a,b,e){var f=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);vd(f,a,b,e)};Yz.prototype.drawContactPoint=function(a,b,e,f,g){var n=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);f&&"object"===typeof f&&(f=f.J);g&&"object"===typeof g&&(g=g.J);ud(n,a,b,e,f,g)}; +Yz.prototype.reportErrorWarning=function(a){var b=this.J;c.M();a=a&&"object"===typeof a?a.J:Gy(a);xd(b,a)};Yz.prototype.draw3dText=function(a,b){var e=this.J;c.M();a&&"object"===typeof a&&(a=a.J);b=b&&"object"===typeof b?b.J:Gy(b);td(e,a,b)};Yz.prototype.setDebugMode=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);yd(b,a)};Yz.prototype.getDebugMode=function(){return wd(this.J)};Yz.prototype.__destroy__=function(){sd(this.J)}; +function Zz(a,b){a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);this.J=qf(a,b);l(Zz)[this.J]=this}Zz.prototype=Object.create(Qy.prototype);Zz.prototype.constructor=Zz;Zz.prototype.K=Zz;Zz.L={};d.btCapsuleShapeX=Zz;Zz.prototype.setMargin=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);yf(b,a)};Zz.prototype.getMargin=function(){return uf(this.J)};Zz.prototype.getUpAxis=function(){return wf(this.J)};Zz.prototype.getRadius=function(){return vf(this.J)}; +Zz.prototype.getHalfHeight=function(){return sf(this.J)};Zz.prototype.setLocalScaling=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);xf(b,a)};Zz.prototype.getLocalScaling=function(){return m(tf(this.J),r)};Zz.prototype.calculateLocalInertia=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);rf(e,a,b)};Zz.prototype.__destroy__=function(){pf(this.J)}; +function X(a,b,e,f){a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);f&&"object"===typeof f&&(f=f.J);this.J=mp(a,b,e,f);l(X)[this.J]=this}X.prototype=Object.create(Wy.prototype);X.prototype.constructor=X;X.prototype.K=X;X.L={};d.btQuaternion=X;X.prototype.setValue=function(a,b,e,f){var g=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);f&&"object"===typeof f&&(f=f.J);Dp(g,a,b,e,f)}; +X.prototype.setEulerZYX=function(a,b,e){var f=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);Bp(f,a,b,e)};X.prototype.setRotation=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);Cp(e,a,b)};X.prototype.normalize=X.prototype.normalize=function(){up(this.J)};X.prototype.length2=function(){return sp(this.J)};X.prototype.length=X.prototype.length=function(){return tp(this.J)}; +X.prototype.dot=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);return np(b,a)};X.prototype.normalized=function(){return m(vp(this.J),X)};X.prototype.getAxis=function(){return m(qp(this.J),r)};X.prototype.inverse=X.prototype.inverse=function(){return m(rp(this.J),X)};X.prototype.getAngle=function(){return pp(this.J)};X.prototype.getAngleShortestPath=function(){return op(this.J)};X.prototype.angle=X.prototype.angle=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);return lp(b,a)}; +X.prototype.angleShortestPath=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);return kp(b,a)};X.prototype.op_add=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);return m(wp(b,a),X)};X.prototype.op_sub=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);return m(Ap(b,a),X)};X.prototype.op_mul=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);return m(yp(b,a),X)};X.prototype.op_mulq=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);return m(zp(b,a),X)}; +X.prototype.op_div=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);return m(xp(b,a),X)};X.prototype.x=X.prototype.x=function(){return Jp(this.J)};X.prototype.y=X.prototype.y=function(){return Kp(this.J)};X.prototype.z=X.prototype.z=function(){return Lp(this.J)};X.prototype.w=X.prototype.za=function(){return Ip(this.J)};X.prototype.setX=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Fp(b,a)};X.prototype.setY=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Gp(b,a)}; +X.prototype.setZ=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Hp(b,a)};X.prototype.setW=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Ep(b,a)};X.prototype.__destroy__=function(){jp(this.J)};function $z(a,b){a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);this.J=Af(a,b);l($z)[this.J]=this}$z.prototype=Object.create(Qy.prototype);$z.prototype.constructor=$z;$z.prototype.K=$z;$z.L={};d.btCapsuleShapeZ=$z; +$z.prototype.setMargin=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);If(b,a)};$z.prototype.getMargin=function(){return Ef(this.J)};$z.prototype.getUpAxis=function(){return Gf(this.J)};$z.prototype.getRadius=function(){return Ff(this.J)};$z.prototype.getHalfHeight=function(){return Cf(this.J)};$z.prototype.setLocalScaling=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Hf(b,a)};$z.prototype.getLocalScaling=function(){return m(Df(this.J),r)}; +$z.prototype.calculateLocalInertia=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);Bf(e,a,b)};$z.prototype.__destroy__=function(){zf(this.J)};function w(){throw"cannot construct a btContactSolverInfo, no constructor in IDL";}w.prototype=Object.create(k.prototype);w.prototype.constructor=w;w.prototype.K=w;w.L={};d.btContactSolverInfo=w;w.prototype.get_m_splitImpulse=w.prototype.Fc=function(){return!!ai(this.J)}; +w.prototype.set_m_splitImpulse=w.prototype.nf=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);di(b,a)};Object.defineProperty(w.prototype,"m_splitImpulse",{get:w.prototype.Fc,set:w.prototype.nf});w.prototype.get_m_splitImpulsePenetrationThreshold=w.prototype.Gc=function(){return $h(this.J)};w.prototype.set_m_splitImpulsePenetrationThreshold=w.prototype.pf=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);ci(b,a)}; +Object.defineProperty(w.prototype,"m_splitImpulsePenetrationThreshold",{get:w.prototype.Gc,set:w.prototype.pf});w.prototype.get_m_numIterations=w.prototype.qc=function(){return Zh(this.J)};w.prototype.set_m_numIterations=w.prototype.Ye=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);bi(b,a)};Object.defineProperty(w.prototype,"m_numIterations",{get:w.prototype.qc,set:w.prototype.Ye});w.prototype.__destroy__=function(){Yh(this.J)}; +function aA(a,b,e,f,g){a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);f&&"object"===typeof f&&(f=f.J);g&&"object"===typeof g&&(g=g.J);this.J=void 0===f?El(a,b,e):void 0===g?_emscripten_bind_btGeneric6DofSpringConstraint_btGeneric6DofSpringConstraint_4(a,b,e,f):Fl(a,b,e,f,g);l(aA)[this.J]=this}aA.prototype=Object.create($y.prototype);aA.prototype.constructor=aA;aA.prototype.K=aA;aA.L={};d.btGeneric6DofSpringConstraint=aA; +aA.prototype.enableSpring=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);Hl(e,a,b)};aA.prototype.setStiffness=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);Sl(e,a,b)};aA.prototype.setDamping=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);Ol(e,a,b)};aA.prototype.setLinearLowerLimit=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Pl(b,a)}; +aA.prototype.setLinearUpperLimit=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Ql(b,a)};aA.prototype.setAngularLowerLimit=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Ll(b,a)};aA.prototype.setAngularUpperLimit=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Ml(b,a)};aA.prototype.getFrameOffsetA=function(){return m(Jl(this.J),u)};aA.prototype.enableFeedback=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Gl(b,a)};aA.prototype.getBreakingImpulseThreshold=function(){return Il(this.J)}; +aA.prototype.setBreakingImpulseThreshold=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Nl(b,a)};aA.prototype.getParam=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);return Kl(e,a,b)};aA.prototype.setParam=function(a,b,e){var f=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);Rl(f,a,b,e)};aA.prototype.__destroy__=function(){Dl(this.J)}; +function bA(a){a&&"object"===typeof a&&(a=a.J);this.J=Lu(a);l(bA)[this.J]=this}bA.prototype=Object.create(q.prototype);bA.prototype.constructor=bA;bA.prototype.K=bA;bA.L={};d.btSphereShape=bA;bA.prototype.setMargin=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Qu(b,a)};bA.prototype.getMargin=function(){return Ou(this.J)};bA.prototype.setLocalScaling=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Pu(b,a)};bA.prototype.getLocalScaling=function(){return m(Nu(this.J),r)}; +bA.prototype.calculateLocalInertia=function(a,b){var e=this.J;a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);Mu(e,a,b)};bA.prototype.__destroy__=function(){Ku(this.J)};function Z(a,b,e,f,g){a&&"object"===typeof a&&(a=a.J);b&&"object"===typeof b&&(b=b.J);e&&"object"===typeof e&&(e=e.J);f&&"object"===typeof f&&(f=f.J);g&&"object"===typeof g&&(g=g.J);this.J=zd(a,b,e,f,g);l(Z)[this.J]=this}Z.prototype=Object.create(k.prototype);Z.prototype.constructor=Z;Z.prototype.K=Z;Z.L={}; +d.LocalConvexResult=Z;Z.prototype.get_m_hitCollisionObject=Z.prototype.Qb=function(){return m(Bd(this.J),t)};Z.prototype.set_m_hitCollisionObject=Z.prototype.ye=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Gd(b,a)};Object.defineProperty(Z.prototype,"m_hitCollisionObject",{get:Z.prototype.Qb,set:Z.prototype.ye});Z.prototype.get_m_localShapeInfo=Z.prototype.jc=function(){return m(Fd(this.J),kz)}; +Z.prototype.set_m_localShapeInfo=Z.prototype.Re=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Kd(b,a)};Object.defineProperty(Z.prototype,"m_localShapeInfo",{get:Z.prototype.jc,set:Z.prototype.Re});Z.prototype.get_m_hitNormalLocal=Z.prototype.Tb=function(){return m(Dd(this.J),r)};Z.prototype.set_m_hitNormalLocal=Z.prototype.Be=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Id(b,a)};Object.defineProperty(Z.prototype,"m_hitNormalLocal",{get:Z.prototype.Tb,set:Z.prototype.Be}); +Z.prototype.get_m_hitPointLocal=Z.prototype.Vb=function(){return m(Ed(this.J),r)};Z.prototype.set_m_hitPointLocal=Z.prototype.De=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Jd(b,a)};Object.defineProperty(Z.prototype,"m_hitPointLocal",{get:Z.prototype.Vb,set:Z.prototype.De});Z.prototype.get_m_hitFraction=Z.prototype.Rb=function(){return Cd(this.J)};Z.prototype.set_m_hitFraction=Z.prototype.ze=function(a){var b=this.J;a&&"object"===typeof a&&(a=a.J);Hd(b,a)}; +Object.defineProperty(Z.prototype,"m_hitFraction",{get:Z.prototype.Rb,set:Z.prototype.ze});Z.prototype.__destroy__=function(){Ad(this.J)};(function(){function a(){d.BT_CONSTRAINT_ERP=vy();d.BT_CONSTRAINT_STOP_ERP=xy();d.BT_CONSTRAINT_CFM=uy();d.BT_CONSTRAINT_STOP_CFM=wy();d.PHY_FLOAT=qy();d.PHY_DOUBLE=oy();d.PHY_INTEGER=ry();d.PHY_SHORT=sy();d.PHY_FIXEDPOINT88=py();d.PHY_UCHAR=ty()}d.calledRun?a():Ea.unshift(a)})();this.Ammo=d; + + + + return Ammo; +} +); +}; + +export default /* @__PURE__ */ _Ammo() diff --git a/src/animation/MMDPhysics.js b/src/animation/MMDPhysics.js index 966b438a..41594074 100644 --- a/src/animation/MMDPhysics.js +++ b/src/animation/MMDPhysics.js @@ -12,6 +12,7 @@ import { SphereGeometry, Vector3, } from 'three' +import Ammo from '../_polyfill/Ammo' /** * Dependencies @@ -24,8 +25,6 @@ import { * - Physics in Worker */ -/* global Ammo */ - class MMDPhysics { /** * @param {THREE.SkinnedMesh} mesh @@ -37,10 +36,6 @@ class MMDPhysics { * @param {Vector3} params.gravity - Default is ( 0, - 9.8 * 10, 0 ) */ constructor(mesh, rigidBodyParams, constraintParams = [], params = {}) { - if (typeof Ammo === 'undefined') { - throw new Error('THREE.MMDPhysics: Import ammo.js https://github.com/kripken/ammo.js') - } - this.manager = new ResourceManager() this.mesh = mesh