x_ite
Version:
X_ITE X3D Browser, view and manipulate X3D, VRML, glTF and other 3D sources in HTML.
2 lines • 1.75 MB
JavaScript
/* X_ITE v12.0.4 */
const t=window[Symbol.for("X_ITE.X3D-12.0.4")];(()=>{var e={447:()=>{},923:()=>{}},n={};function o(t){var i=n[t];if(void 0!==i)return i.exports;var _=n[t]={exports:{}};return e[t](_,_.exports,o),_.exports}o.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return o.d(e,{a:e}),e},o.d=(t,e)=>{for(var i in e)o.o(e,i)&&!o.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{const e=t.Components;var n=o.n(e);const _=t.Fields;var r=o.n(_);const s=t.X3DFieldDefinition;var p=o.n(s);const c=t.FieldDefinitionArray;var a=o.n(c);const b=t.X3DNode;var d=o.n(b);const l=t.X3DConstants;var A=o.n(l);const f=t.X3DCast;var u=o.n(f);const m=t.Matrix4;var h=o.n(m);const y=t.Namespace;var g=o.n(y);function C(t){d().call(this,t),this.addType(A().X3DRigidJointNode),this.addChildObjects(A().inputOutput,"collection",new(r().SFNode)),this.initialInverseMatrix1=new(h()),this.initialInverseMatrix2=new(h()),this.output=!1}Object.assign(Object.setPrototypeOf(C.prototype,d().prototype),{initialize(){d().prototype.initialize.call(this),this._forceOutput.addInterest("set_forceOutput__",this),this._body1.addInterest("set_body1__",this),this._body2.addInterest("set_body2__",this),this.set_forceOutput__(),this.set_body1__(),this.set_body2__()},setCollection(t){this.removeJoint(),this._collection=t,this.addJoint()},getCollection(){return this._collection.getValue()},getBody1(){return this.bodyNode1},getBody2(){return this.bodyNode2},getInitialInverseMatrix1(){return this.initialInverseMatrix1},getInitialInverseMatrix2(){return this.initialInverseMatrix2},setOutput(t){this.output=t,t?(this.bodyNode1&&this.bodyNode1.addInterest("update1",this),this.bodyNode2&&this.bodyNode2.addInterest("update2",this)):(this.bodyNode1&&this.bodyNode1.removeInterest("update1",this),this.bodyNode2&&this.bodyNode2.removeInterest("update2",this))},addJoint(){},removeJoint(){},set_forceOutput__(){},set_joint__(){this.removeJoint(),this.addJoint()},set_body1__(){this.removeJoint(),this.bodyNode1&&(this.bodyNode1.removeInterest("update1",this),this.bodyNode1._collection.removeInterest("set_joint__",this)),this.bodyNode1=u()(A().RigidBody,this._body1),this.bodyNode1&&(this.bodyNode1._collection.addInterest("set_joint__",this),this.initialize1(),this.addJoint(),this.setOutput(this.output))},set_body2__(){this.removeJoint(),this.bodyNode2&&(this.bodyNode2.removeInterest("update2",this),this.bodyNode2._collection.removeInterest("set_joint__",this)),this.bodyNode2=u()(A().RigidBody,this._body2),this.bodyNode2&&(this.bodyNode2._collection.addInterest("set_joint__",this),this.initialize2(),this.addJoint(),this.setOutput(this.output))},initialize1(){this.initialInverseMatrix1.set(this.bodyNode1._position.getValue(),this.bodyNode1._orientation.getValue()),this.initialInverseMatrix1.inverse()},initialize2(){this.initialInverseMatrix2.set(this.bodyNode2._position.getValue(),this.bodyNode2._orientation.getValue()),this.initialInverseMatrix2.inverse()},update1(){},update2(){},dispose(){this.removeJoint(),d().prototype.dispose.call(this)}}),Object.defineProperties(C,d().getStaticProperties("X3DRigidJointNode","RigidBodyPhysics",2));const v=C,S=g().add("X3DRigidJointNode",v),w=t.Vector3;var k,R=o.n(w);const j=(k="undefined"!=typeof document&&document.currentScript?document.currentScript.src:void 0,function(t){var e,i,n,_,r,s=void 0!==(t=t||{})?t:{},p={};for(e in s)s.hasOwnProperty(e)&&(p[e]=s[e]);s.arguments=[],s.thisProgram="./this.program",s.quit=function(t,e){throw e},s.preRun=[],s.postRun=[],i="object"==typeof window,n="function"==typeof importScripts,_="object"==typeof process&&!i&&!n,r=!i&&!_&&!n;var c,a,b="";_?(b="//",s.read=function(t,e){var i;return(i=ot(t))||(c||(c=o(447)),a||(a=o(923)),t=a.normalize(t),i=c.readFileSync(t)),e?i:i.toString()},s.readBinary=function(t){var e=s.read(t,!0);return e.buffer||(e=new Uint8Array(e)),m(e.buffer),e},process.argv.length>1&&(s.thisProgram=process.argv[1].replace(/\\/g,"/")),s.arguments=process.argv.slice(2),process.on("uncaughtException",function(t){if(!(t instanceof uS))throw t}),process.on("unhandledRejection",hS),s.quit=function(t){process.exit(t)},s.inspect=function(){return"[Emscripten Module object]"}):r?("undefined"!=typeof read&&(s.read=function(t){var e=ot(t);return e?it(e):read(t)}),s.readBinary=function(t){var e;return(e=ot(t))?e:"function"==typeof readbuffer?new Uint8Array(readbuffer(t)):(m("object"==typeof(e=read(t,"binary"))),e)},"undefined"!=typeof scriptArgs?s.arguments=scriptArgs:void 0!==arguments&&(s.arguments=arguments),"function"==typeof quit&&(s.quit=function(t){quit(t)})):(i||n)&&(n?b=self.location.href:document.currentScript&&(b=document.currentScript.src),k&&(b=k),b=0!==b.indexOf("blob:")?b.substr(0,b.lastIndexOf("/")+1):"",s.read=function(t){try{var e=new XMLHttpRequest;return e.open("GET",t,!1),e.send(null),e.responseText}catch(e){var i=ot(t);if(i)return it(i);throw e}},n&&(s.readBinary=function(t){try{var e=new XMLHttpRequest;return e.open("GET",t,!1),e.responseType="arraybuffer",e.send(null),new Uint8Array(e.response)}catch(e){var i=ot(t);if(i)return i;throw e}}),s.readAsync=function(t,e,i){var n=new XMLHttpRequest;n.open("GET",t,!0),n.responseType="arraybuffer",n.onload=function(){if(200==n.status||0==n.status&&n.response)e(n.response);else{var o=ot(t);o?e(o.buffer):i()}},n.onerror=i,n.send(null)},s.setWindowTitle=function(t){document.title=t});var d=s.print||("undefined"!=typeof console?console.log.bind(console):"undefined"!=typeof print?print:null),l=s.printErr||("undefined"!=typeof printErr?printErr:"undefined"!=typeof console&&console.warn.bind(console)||d);for(e in p)p.hasOwnProperty(e)&&(s[e]=p[e]);p=void 0,new Array(0);var A=0,f=function(t){A=t},u=!1;function m(t,e){t||hS("Assertion failed: "+e)}var h,y,g,C,v,S="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function w(t,e,i){for(var n=e+i,o=e;t[o]&&!(o>=n);)++o;if(o-e>16&&t.subarray&&S)return S.decode(t.subarray(e,o));for(var _="";e<o;){var r=t[e++];if(128&r){var s=63&t[e++];if(192!=(224&r)){var p=63&t[e++];if((r=224==(240&r)?(15&r)<<12|s<<6|p:(7&r)<<18|s<<12|p<<6|63&t[e++])<65536)_+=String.fromCharCode(r);else{var c=r-65536;_+=String.fromCharCode(55296|c>>10,56320|1023&c)}}else _+=String.fromCharCode((31&r)<<6|s)}else _+=String.fromCharCode(r)}return _}function R(t,e){return t?w(g,t,e):""}function j(t,e,i,n){if(!(n>0))return 0;for(var o=i,_=i+n-1,r=0;r<t.length;++r){var s=t.charCodeAt(r);if(s>=55296&&s<=57343&&(s=65536+((1023&s)<<10)|1023&t.charCodeAt(++r)),s<=127){if(i>=_)break;e[i++]=s}else if(s<=2047){if(i+1>=_)break;e[i++]=192|s>>6,e[i++]=128|63&s}else if(s<=65535){if(i+2>=_)break;e[i++]=224|s>>12,e[i++]=128|s>>6&63,e[i++]=128|63&s}else{if(i+3>=_)break;e[i++]=240|s>>18,e[i++]=128|s>>12&63,e[i++]=128|s>>6&63,e[i++]=128|63&s}}return e[i]=0,i-o}function D(t,e){return t%e>0&&(t+=e-t%e),t}function I(){s.HEAP8=y=new Int8Array(h),s.HEAP16=new Int16Array(h),s.HEAP32=C=new Int32Array(h),s.HEAPU8=g=new Uint8Array(h),s.HEAPU16=new Uint16Array(h),s.HEAPU32=new Uint32Array(h),s.HEAPF32=v=new Float32Array(h),s.HEAPF64=new Float64Array(h)}"undefined"!=typeof TextDecoder&&new TextDecoder("utf-16le");var B=27136,W=5242880,F=s.TOTAL_MEMORY||67108864;function O(t){for(;t.length>0;){var e=t.shift();if("function"!=typeof e){var i=e.func;"number"==typeof i?void 0===e.arg?s.dynCall_v(i):s.dynCall_vi(i,e.arg):i(void 0===e.arg?null:e.arg)}else e()}}F<W&&l("TOTAL_MEMORY should be larger than TOTAL_STACK, was "+F+"! (TOTAL_STACK="+W+")"),h=s.buffer?s.buffer:new ArrayBuffer(F),I(),C[B>>2]=5270272;var x=[],T=[],P=[],V=[],M=!1;function G(t){x.unshift(t)}function L(t){V.unshift(t)}Math.imul&&-5===Math.imul(4294967295,5)||(Math.imul=function(t,e){var i=65535&t,n=65535&e;return i*n+((t>>>16)*n+i*(e>>>16)<<16)|0}),Math.clz32||(Math.clz32=function(t){var e=32,i=t>>16;return i&&(e-=16,t=i),(i=t>>8)&&(e-=8,t=i),(i=t>>4)&&(e-=4,t=i),(i=t>>2)&&(e-=2,t=i),(i=t>>1)?e-2:e-t}),Math.trunc||(Math.trunc=function(t){return t<0?Math.ceil(t):Math.floor(t)}),Math.abs,Math.ceil,Math.floor,Math.min;var N=0,Q=null,E=null;s.preloadedImages={},s.preloadedAudios={};var H=null,Z="data:application/octet-stream;base64,";function U(t){return String.prototype.startsWith?t.startsWith(Z):0===t.indexOf(Z)}var Y=[function(t,e,i,n){var o=s.getCache(s.DebugDrawer)[t];if(!o.hasOwnProperty("drawLine"))throw"a JSImplementation must implement all functions, you forgot DebugDrawer::drawLine.";o.drawLine(e,i,n)},function(t,e,i,n,o,_){var r=s.getCache(s.DebugDrawer)[t];if(!r.hasOwnProperty("drawContactPoint"))throw"a JSImplementation must implement all functions, you forgot DebugDrawer::drawContactPoint.";r.drawContactPoint(e,i,n,o,_)},function(t,e){var i=s.getCache(s.DebugDrawer)[t];if(!i.hasOwnProperty("reportErrorWarning"))throw"a JSImplementation must implement all functions, you forgot DebugDrawer::reportErrorWarning.";i.reportErrorWarning(e)},function(t,e,i){var n=s.getCache(s.DebugDrawer)[t];if(!n.hasOwnProperty("draw3dText"))throw"a JSImplementation must implement all functions, you forgot DebugDrawer::draw3dText.";n.draw3dText(e,i)},function(t,e){var i=s.getCache(s.DebugDrawer)[t];if(!i.hasOwnProperty("setDebugMode"))throw"a JSImplementation must implement all functions, you forgot DebugDrawer::setDebugMode.";i.setDebugMode(e)},function(t){var e=s.getCache(s.DebugDrawer)[t];if(!e.hasOwnProperty("getDebugMode"))throw"a JSImplementation must implement all functions, you forgot DebugDrawer::getDebugMode.";return e.getDebugMode()},function(t,e,i,n,o,_,r,p){var c=s.getCache(s.ConcreteContactResultCallback)[t];if(!c.hasOwnProperty("addSingleResult"))throw"a JSImplementation must implement all functions, you forgot ConcreteContactResultCallback::addSingleResult.";return c.addSingleResult(e,i,n,o,_,r,p)}];function J(){return!!J.uncaught_exception}function X(t){try{return cS(t)}catch(t){}}T.push({func:function(){ct()}}),H="data:application/octet-stream;base64,AAAAAAAAAAARAAoAERERAAAAAAUAAAAAAAAJAAAAAAsAAAAAAAAAABEADwoREREDCgcAARMJCwsAAAkGCwAACwAGEQAAABEREQAAAAAAAAAAAAAAAAAAAAALAAAAAAAAAAARAAoKERERAAoAAAIACQsAAAAJAAsAAAsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAAAAAAAAAAAAADAAAAAAMAAAAAAkMAAAAAAAMAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAA0AAAAEDQAAAAAJDgAAAAAADgAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAPAAAAAA8AAAAACRAAAAAAABAAABAAABIAAAASEhIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEgAAABISEgAAAAAAAAkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAsAAAAAAAAAAAAAAAoAAAAACgAAAAAJCwAAAAAACwAACwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAAAAAAAAAMAAAAAAwAAAAACQwAAAAAAAwAAAwAADAxMjM0NTY3ODlBQkNERUZsKQAAJi8AAAACAAAAAAAARCkAADQvAABsKQAAazAAABgCAAAAAAAARCkAAIswAABsKQAAtzAAADACAAAAAAAARCkAAOYwAABsKQAADjEAAEgCAAAAAAAARCkAACQxAABsKQAAQDEAAGACAAAAAAAARCkAAFcxAABEKQAAZzEAAGwpAAB8MQAAgAIAAAAAAABEKQAArjEAAGwpAADZMQAAmAIAAAAAAABEKQAA8zEAAGwpAAAGMgAAEAYAAAAAAABsKQAAMjIAAMACAAAAAAAARCkAAG0yAABsKQAAjjIAAMACAAAAAAAAbCkAAMIyAADAAgAAAAAAAGwpAADwMgAAwAIAAAAAAABsKQAA4jMAAMAFAAAAAAAAbCkAAO8zAAAYAwAAAAAAAEQpAAAPNAAARCkAACI0AABsKQAANzQAACADAAAAAAAAbCkAAFY0AABACgAAAAAAAGwpAADnNAAAaAMAAAAAAABsKQAAyTQAAMAJAAAAAAAAbCkAAAk1AAAYAwAAAAAAAGwpAAAqNQAAGAMAAAAAAABsKQAATTUAABgDAAAAAAAAbCkAAG81AABoAwAAAAAAAGwpAACRNQAAuAMAAAAAAABEKQAAsTUAAGwpAAC9NgAAuAMAAAAAAABsKQAAADYAAOAJAAAAAAAAbCkAANE1AACICQAAAAAAAEQpAADjNQAAbCkAAKA2AADgCQAAAAAAAGwpAABxNwAAYAQAAAAAAABsKQAAIjcAACgEAAAAAAAAbCkAADw3AAA4BAAAAAAAAEQpAABWNwAAbCkAAIw3AAC4AwAAAAAAAGwpAADANwAAwAUAAAAAAABsKQAAcDkAAIAEAAAAAAAAbCkAAFI4AABwAgAAAAAAAGwpAACKOQAAOAcAAAAAAABsKQAAnDkAAKAEAAAAAAAARCkAALo5AABsKQAA6DkAAOgEAAAAAAAAbCkAABg6AADoBAAAAAAAAGwpAABUOgAAuAQAAAAAAABsKQAAlToAAOgEAAAAAAAAlCkAAMo6AAAAAAAAAQAAAAAFAAACBAAARCkAAN46AABsKQAABTsAAOgEAAAAAAAAbCkAADQ7AADoBAAAAAAAAGwpAABnOwAA6AQAAAAAAABsKQAAxTsAAEgFAAAAAAAARCkAAOs7AABsKQAAADwAAGAFAAAAAAAARCkAABM8AABsKQAAJzwAAGgCAAAAAAAAbCkAAHE8AACYBQAAAAAAAGwpAABDPAAAcAIAAAAAAABsKQAAkjwAAGAFAAAAAAAAbCkAALM8AAC4BQAAAAAAAEQpAADMPAAARCkAAPY8AABsKQAACj0AAMAFAAAAAAAAbCkAABo9AADIBQAAAAAAAGwpAABjPQAAmAsAAAAAAABsKQAANT0AAAgGAAAAAAAARCkAAE89AABsKQAAez0AACAGAAAAAAAARCkAAJ09AABsKQAAuD0AAMACAAAAAAAAbCkAAOg9AADAAgAAAAAAAGwpAAATPgAAwAIAAAAAAABsKQAARj4AAMACAAAAAAAAbCkAAHc+AADAAgAAAAAAAGwpAACYPgAAwAIAAAAAAABsKQAAzD4AAMACAAAAAAAAbCkAAAE/AADAAgAAAAAAAGwpAAAuPwAAwAIAAAAAAABsKQAAZz8AAMACAAAAAAAARCkAAJk/AABsKQAA4D8AALgDAAAAAAAAbCkAALtAAABIDAAAAAAAAGwpAAACQAAA4AkAAAAAAABsKQAAoEAAAOAJAAAAAAAAbCkAAN9AAABIDAAAAAAAAGwpAAD8QAAAMAcAAAAAAABEKQAAD0EAAEQpAAC2RAAAbCkAAKZDAAAoBAAAAAAAAGwpAAB7QQAAMAIAAAAAAABsKQAAAEIAABgDAAAAAAAAbCkAAH5CAACoCwAAAAAAAGwpAAATQwAAqAsAAAAAAACUKQAAvEMAAAAAAAACAAAA4AkAAAIAAADoCQAAAgQAAGwpAADdRAAAgAIAAAAAAABsKQAAekUAALgLAAAAAAAAbCkAACtGAAC4CwAAAAAAAGwpAADqRgAAKAQAAAAAAABsKQAAHEcAADgEAAAAAAAAbCkAAAJHAAAgBwAAAAAAAGwpAAA2RwAASAwAAAAAAABsKQAAokgAAMACAAAAAAAAbCkAAIhIAABIDAAAAAAAAGwpAABbRwAAIAcAAAAAAABsKQAAdkcAADAHAAAAAAAAbCkAAANIAAAwBwAAAAAAAGwpAADjSAAASAwAAAAAAABsKQAAykgAABgDAAAAAAAAbCkAACNJAABIDAAAAAAAAGwpAAACSQAAGAMAAAAAAABsKQAAgEkAAKgJAAAAAAAAbCkAAKdJAADACQAAAAAAAGwpAAC7SQAAwAgAAAAAAABsKQAA0EkAAMAIAAAAAAAAbCkAAOZJAADACQAAAAAAAGwpAACkSgAASAkAAAAAAABsKQAA9kkAACAJAAAAAAAARCkAAGRKAABsKQAAvUoAACAJAAAAAAAAbCkAACVLAAAgCQAAAAAAAGwpAAAhTAAAQAoAAAAAAABsKQAAlksAAOAJAAAAAAAAbCkAAK5LAADoCQAAAAAAAGwpAABaTAAAQAoAAAAAAABsKQAAb0wAAMAJAAAAAAAAbCkAAIlMAACICQAAAAAAAEQpAADDTAAAbCkAANZMAACoCQAAAAAAAGwpAADmTAAAsAkAAAAAAABsKQAAG00AAJgJAAAAAAAARCkAAC9NAABEKQAARE0AAGwpAACGTQAAwAkAAAAAAABsKQAAoE0AAPAJAAAAAAAAbCkAALtNAADwCQAAAAAAAGwpAAD4TQAAmAkAAAAAAABsKQAAzU0AAOgJAAAAAAAAbCkAABROAACoCQAAAAAAAGwpAAApTgAAiAkAAAAAAABsKQAANk4AAKALAAAAAAAAbCkAAEdOAADoCQAAAAAAAGwpAACiTgAA6AkAAAAAAABsKQAAEk8AAEAKAAAAAAAAbCkAAExPAADACQAAAAAAAGwpAABoTwAAoAoAAAAAAABsKQAAhU8AAKAKAAAAAAAAbCkAAJhPAACoDAAAAAAAAGwpAADbTwAA8AoAAAAAAABsKQAAqU8AAAALAAAAAAAARCkAAMNPAABsKQAA6k8AABgLAAAAAAAAbCkAAPxPAABIAgAAAAAAAGwpAAAEUQAAGAsAAAAAAABsKQAAFVAAAAgGAAAAAAAAbCkAAINQAAAIBgAAAAAAAGwpAABlUQAAAAsAAAAAAABsKQAAI1EAABgDAAAAAAAAbCkAADhRAAAYAwAAAAAAAGwpAABPUQAAGAMAAAAAAABEKQAAeFEAAEQpAADiUQAAbCkAAPNRAADgCQAAAAAAAGwpAAAPUgAA4AkAAAAAAABsKQAA2VIAAOgLAAAAAAAAbCkAAC5SAAAwBwAAAAAAAEQpAAD9UgAAbCkAAB5TAADoCwAAAAAAAGwpAABSUwAAuAUAAAAAAABsKQAAP1MAADAHAAAAAAAAbCkAAGRTAAC4BQAAAAAAAGwpAACCUwAAQAwAAAAAAABEKQAAllMAAGwpAAC9UwAAuAMAAAAAAABsKQAA3lMAALgDAAAAAAAAbCkAAPFTAABIDAAAAAAAAGwpAAAUVAAAQAwAAAAAAABsKQAAJ1QAAEAMAAAAAAAARCkAAEBUAABEKQAAWlQAAGwpAABvVAAAuAwAAAAAAABEKQAAH1UAAGwpAADHVQAA0AwAAAAAAABsKQAAdFUAAOAMAAAAAAAARCkAAJVVAABsKQAAolUAAMAMAAAAAAAAbCkAAD5WAADQDAAAAAAAAGwpAAAaVgAA+AwAAAAAAABsKQAAYFYAAMAMAAAAAAAAAAAAAPABAAABAAAAAgAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAIAAAABAAAAAgAAAAEAAAABAAAAAQAAAAMAAAACAAAAAQAAAAIAAAADAAAAAQAAAAAAAAAAAgAAAwAAAAQAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAIAAAABAAAAAQAAAAEAAAADAAAAAgAAAAEAAAACAAAAAwAAAAEAAAAAAAAACAIAAAUAAAAGAAAAAQAAAAEAAAAAAAAAGAIAAAcAAAAIAAAAAQAAAAEAAAAAAAAAIAIAAAkAAAAKAAAAAgAAAAEAAAAAAAAAMAIAAAsAAAAMAAAAAgAAAAEAAAAAAAAAOAIAAA0AAAAOAAAAAQAAAAEAAAACAAAAAAAAAEgCAAAPAAAAEAAAAAEAAAABAAAAAQAAAAAAAABQAgAAEQAAABIAAAADAAAABAAAAAAAAABgAgAAEwAAABQAAAABAAAAAQAAAAAAAABoAgAAFQAAABYAAAABAAAAAAAAAHACAAAXAAAAGAAAAAMAAAACAAAAAAAAAIACAAAZAAAAGgAAAAMAAAABAAAAAAAAAIgCAAAbAAAAHAAAAAIAAAADAAAAAwAAAAUAAAABAAAAAgAAAB0AAAAEAAAABQAAAAYAAAAEAAAABwAAAAUAAAAGAAAAAAAAAKACAAAeAAAAHwAAAAYAAAAHAAAAAgAAAAgAAAAAAAAA6AIAACAAAAAhAAAAAgAAAAAAAADYAgAAIAAAACIAAAADAAAAAAAAAMgCAAAgAAAAIwAAAAQAAAAAAAAAsAIAACAAAAAkAAAABQAAAAAAAAD4AgAABAAAACUAAAAmAAAACAAAAAkAAAADAAAACQAAAAcAAAAAAAAACAMAACcAAAAoAAAACAAAAAoAAAACAAAABQAAAAYAAAAAAAAAKAMAACkAAAAqAAAAAQAAAAEAAAADAAAACgAAAAAAAAA4AwAAKwAAACwAAAAEAAAACQAAAAEAAAABAAAACwAAAAsAAAACAAAADAAAAAwAAAAEAAAAAgAAAA0AAAAEAAAADQAAAAUAAAAAAAAAeAMAACcAAAAtAAAACAAAAA4AAAACAAAABQAAAAYAAAAAAAAASAMAACcAAAAuAAAACAAAAA8AAAACAAAABQAAAAYAAAAAAAAAWAMAAC8AAAAwAAAABgAAAAkAAAABAAAAAQAAABAAAAAOAAAAAwAAAA8AAAAMAAAABQAAAAMAAAAQAAAABQAAAA0AAAAKAAAACwAAAAMAAAAHAAAACAAAABEAAAAMAAAAEgAAAAAAAACYAwAAJwAAADEAAAANAAAAEQAAAAIAAAAFAAAABgAAAAAAAACIAwAAJwAAADIAAAAOAAAAEQAAAAIAAAAFAAAABgAAAAAAAACoAwAAMwAAADQAAAAEAAAAAQAAABIAAAAAAAAAwAMAADUAAAA2AAAABQAAAAIAAAATAAAAAAAAANADAAA3AAAAOAAAAAkAAAAAAAAA8AMAAAYAAAAUAAAADwAAADkAAAA6AAAAAAAAAOADAAA7AAAAPAAAAAoAAAAJAAAAAQAAAAEAAAAQAAAADgAAAAQAAAATAAAADAAAAAcAAAAEAAAAEAAAAAUAAAANAAAAEAAAABEAAAADAAAACwAAAAgAAAAUAAAAEgAAAAcAAAAVAAAAFgAAAAwAAAATAAAAFwAAAA0AAAABAAAADgAAAAAAAAD4AwAAPQAAAD4AAAAPAAAAAAAAAAgEAAA/AAAAQAAAAEEAAABCAAAAFQAAABgAAABDAAAAEAAAABEAAAASAAAAFgAAAEQAAAAXAAAAAQAAABQAAAAYAAAAGQAAABoAAAAbAAAAHAAAAEUAAAAdAAAAEwAAAB4AAAAfAAAAGQAAABoAAAAIAAAACQAAABsAAABGAAAAIAAAACEAAAAiAAAAIwAAAAgAAAAJAAAARwAAACQAAAAKAAAACwAAAAwAAABIAAAAJQAAAA0AAAAAAAAAGAQAAEkAAABKAAAACgAAAAAAAABABAAASwAAAEwAAAAGAAAAAwAAACYAAAAAAAAAUAQAAAsAAABNAAAATgAAACcAAAAcAAAABgAAACgAAAAAAAAAYAQAAE8AAABQAAAAQQAAAEIAAAAVAAAAGAAAAFEAAAAQAAAAFAAAABIAAAApAAAARAAAACoAAAABAAAAFAAAABgAAAAZAAAAGgAAABsAAAAcAAAARQAAAB0AAAATAAAAHgAAAB8AAAAZAAAAGgAAAAgAAAAJAAAAHQAAAEYAAAAgAAAAIQAAACIAAAAjAAAADgAAAAkAAABHAAAAJAAAAAoAAAAPAAAADAAAAEgAAAAlAAAADQAAAAAAAABwBAAAGQAAAFIAAAAMAAAAAwAAAAAAAACQBAAAUwAAAFQAAAABAAAAAAAAAKgEAABVAAAAVgAAAFcAAAABAAAAKwAAACwAAAABAAAAAgAAAAQAAAAeAAAABwAAAAAAAAC4BAAAWAAAAFkAAABaAAAAAQAAAC0AAAAuAAAAAQAAAAMAAAAFAAAAHwAAAAgAAABbAAAAAAAAAMgEAABYAAAAXAAAAFoAAAABAAAALQAAAC8AAAABAAAAAwAAAAUAAAAgAAAACQAAAFsAAAAVAAAAAAAAANgEAABYAAAAXQAAAF4AAAABAAAAMAAAADEAAAABAAAABAAAAAYAAAAhAAAACgAAAAAAAADoBAAAWAAAAF8AAABXAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAHgAAAAcAAAAAAAAACAUAAFgAAABgAAAAVwAAAAEAAAAyAAAAMwAAAAEAAAAFAAAABwAAACIAAAALAAAAAAAAABgFAABYAAAAYQAAAGIAAAABAAAANAAAADUAAAACAAAABgAAAAgAAAAjAAAADAAAABYAAAAAAAAAKAUAAFgAAABjAAAAZAAAAAEAAAA2AAAANwAAAAEAAAAHAAAACQAAACQAAAANAAAAAAAAADgFAABlAAAAZgAAABcAAAABAAAAGAAAAGcAAAAlAAAAFQAAAAEAAAABAAAAAgAAAAEAAAACAAAAAAAAAFAFAABoAAAAaQAAAAMAAAA4AAAAEAAAABEAAAAWAAAAAAAAAGgFAAAVAAAAagAAAAYAAAAAAAAAeAUAAGsAAABsAAAABAAAADkAAAA6AAAABQAAADsAAAA8AAAAPQAAAAYAAAAmAAAAbQAAACcAAAA+AAAAAAAAAIgFAAAZAAAAbgAAAAMAAAAKAAAAAAAAAKgFAABvAAAAcAAAAAEAAAABAAAAAgAAAAAAAAACAAAAAAAAAAEAAAAAAAAAwAUAAAQAAABxAAAAcgAAACcAAAAoAAAADgAAAAkAAAAAAAAAyAUAAAQAAABzAAAAdAAAACcAAAAoAAAADgAAAAkAAAAZAAAAFwAAAAAAAADYBQAABAAAAHUAAAB2AAAAJwAAACgAAAAOAAAACQAAABoAAAAYAAAAAAAAAOgFAAB3AAAAeAAAAAcAAAAPAAAAPwAAAEAAAAAQAAAAEQAAABkAAAApAAAADQAAACoAAAArAAAALAAAAA4AAABBAAAAAAAAAPgFAAB5AAAAegAAAA8AAAAAAAAAEAYAAHsAAAB8AAAABgAAAAcAAAASAAAACAAAAAAAAAC4BgAAIAAAAH0AAAAIAAAAAAAAAKgGAAAgAAAAfgAAAAkAAAAAAAAAmAYAACAAAAB/AAAACgAAAAAAAACIBgAAIAAAAIAAAAALAAAAAAAAAHgGAAAgAAAAgQAAAAwAAAAAAAAAaAYAACAAAACCAAAADQAAAAAAAABYBgAAIAAAAIMAAAAOAAAAAAAAAEgGAAAgAAAAhAAAAA8AAAAAAAAAOAYAACAAAACFAAAAEAAAAAAAAAAoBgAAIAAAAIYAAAARAAAAAAAAAMgGAACHAAAAiAAAABsAAABCAAAAAAAAANAGAACJAAAAigAAAAcAAAAEAAAAQwAAAAAAAADgBgAAiwAAAIwAAAAIAAAABQAAAEQAAAAAAAAA8AYAADcAAACNAAAAGgAAAAAAAAAABwAAjgAAAI8AAAAbAAAAAAAAABAHAACQAAAAkQAAAAkAAAAGAAAARQAAAAAAAAAgBwAAkgAAAJMAAAAcAAAAHQAAAAMAAAAAAAAAOAcAAJQAAACVAAAAQQAAAEIAAAAVAAAAGAAAAJYAAAAQAAAAFAAAABwAAABGAAAARAAAAEcAAAAAAAAAQAcAAEkAAACXAAAAEAAAAAAAAACABwAANwAAAJgAAAAdAAAAAQAAAAAAAABwBwAANwAAAJkAAAAdAAAAAgAAAAAAAABgBwAAJwAAAJoAAAAIAAAASAAAAAIAAAAFAAAABgAAAAAAAABQBwAACwAAAJsAAAARAAAACwAAAAAAAACQBwAAnAAAAJ0AAAAeAAAAHwAAAPz///+QBwAAngAAAJ8AAAAgAAAAAAAAANAHAAA3AAAAoAAAACEAAAABAAAAAAAAAMAHAAA3AAAAoQAAACEAAAACAAAAAAAAALAHAAAZAAAAogAAABIAAAAMAAAAAAAAAOAHAABJAAAAowAAABMAAAAAAAAA8AcAAEkAAACkAAAAFAAAAAAAAAAACAAAkgAAAKUAAAAcAAAAHQAAAAQAAAAAAAAAEAgAAKYAAACnAAAACgAAAAcAAABJAAAAAAAAACAIAACoAAAAqQAAABIAAAAAAAAAMAgAAKoAAACrAAAACwAAAAgAAABKAAAAAAAAAGAIAACSAAAArAAAAB4AAAAfAAAABQAAAAAAAABQCAAAkgAAAK0AAAAgAAAAIQAAAAYAAAAAAAAAQAgAAJIAAACuAAAAHAAAAB0AAAAHAAAAAAAAAHAIAACvAAAAsAAAAAwAAAAJAAAASwAAAAAAAACACAAAJwAAALEAAAAIAAAATAAAAAIAAAAFAAAABgAAAAAAAACQCAAAsgAAALMAAAANAAAACgAAAE0AAAAAAAAAoAgAACcAAAC0AAAAIgAAABEAAAACAAAABQAAAAYAAAAAAAAAsAgAALUAAAC2AAAAIgAAAAkAAAABAAAAAQAAAE4AAAAtAAAABQAAAC4AAAAMAAAAEgAAAAUAAAAvAAAAEwAAAA0AAABPAAAAtwAAAAAAAADACAAALwAAALgAAAAjAAAACQAAAAEAAAABAAAAUAAAAA4AAAAGAAAAMAAAAFEAAAAHAAAABAAAADEAAAAUAAAADQAAACMAAAAkAAAAAwAAACQAAAAIAAAAEQAAAAwAAAAAAAAA0AgAAC8AAAC5AAAAIwAAAAkAAAABAAAAAQAAAFAAAAAOAAAABgAAADIAAABSAAAABwAAAAQAAAAxAAAAFAAAAA0AAAAjAAAAJAAAAAMAAAAkAAAACAAAABEAAAAMAAAAAAAAAOAIAAAvAAAAugAAACMAAAAJAAAAAQAAAAEAAABQAAAADgAAAAYAAAAzAAAAUwAAAAcAAAAEAAAAMQAAABQAAAANAAAAIwAAACQAAAADAAAAJAAAAAgAAAARAAAADAAAAAAAAADwCAAALwAAALsAAAAlAAAACQAAAAEAAAABAAAAEAAAAA4AAAAHAAAANAAAAAwAAAATAAAABgAAABAAAAAFAAAADQAAACUAAAAmAAAAAwAAACYAAAAIAAAAEQAAAAwAAAAAAAAAAAkAALwAAAC9AAAAJwAAAAkAAAABAAAAAQAAAFQAAAA1AAAACAAAADYAAAAMAAAABAAAAAIAAAA3AAAAFQAAAA0AAAAoAAAAJwAAACgAAABVAAAAVgAAAAAAAAAQCQAAvgAAAL8AAAApAAAAAAAAACgJAAC+AAAAwAAAACoAAAAAAAAAOAkAAL4AAADBAAAAKwAAAAAAAABICQAAwgAAAMMAAAAnAAAACQAAAAEAAAABAAAAVwAAADUAAAAIAAAAOAAAAAwAAAAEAAAAAgAAAA0AAAAEAAAADQAAACkAAAAnAAAAKAAAAAAAAABYCQAANwAAAMQAAAAqAAAAAAAAAGgJAADFAAAAxgAAACsAAAAAAAAAeAkAAMcAAADIAAAALAAAAAkAAAABAAAAAQAAAFgAAAA5AAAACQAAADoAAAAMAAAABAAAAAIAAAA7AAAAFgAAAA0AAAAtAAAAAAAAAIgJAAA7AAAAyQAAACMAAAAJAAAAAQAAAAEAAAAQAAAADgAAAAoAAAABAAAADAAAAAcAAAAEAAAAEAAAAAUAAAANAAAAEAAAACwAAAADAAAALgAAAAgAAAARAAAADAAAAAcAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAAAAAMAJAAAvAAAAygAAACMAAAAJAAAAAQAAAAEAAAAQAAAADgAAAAEAAAABAAAADAAAAAcAAAAEAAAAEAAAAAUAAAANAAAAEAAAAAEAAAADAAAAAQAAAAgAAAARAAAADAAAAAAAAADQCQAAywAAAMwAAAAvAAAACQAAAAEAAAABAAAAWQAAAA4AAAAKAAAAPAAAAAwAAAAHAAAABAAAAD0AAAAXAAAADQAAAC0AAAAuAAAAAwAAADAAAAAIAAAAEQAAAAwAAAAHAAAAPgAAAD8AAAAxAAAALwAAAEAAAAAyAAAAAgAAAAEAAAAAAAAA8AkAAC8AAADNAAAAMwAAAAkAAAABAAAAAQAAAFoAAAAOAAAACwAAAEEAAABbAAAAFAAAAAQAAABCAAAAGAAAAA0AAAAQAAAAMAAAAAMAAAA0AAAACAAAABEAAAAMAAAAAAAAAAAKAAAvAAAAzgAAADMAAAAJAAAAAQAAAAEAAABaAAAADgAAAAsAAABDAAAAWwAAABQAAAAEAAAAQgAAABgAAAANAAAAEAAAADAAAAADAAAANAAAAAgAAAARAAAADAAAAAAAAAAQCgAALwAAAM8AAAAzAAAACQAAAAEAAAABAAAAWgAAAA4AAAALAAAARAAAAFsAAAAUAAAABAAAAEIAAAAYAAAADQAAABAAAAAwAAAAAwAAADQAAAAIAAAAEQAAAAwAAAAAAAAAIAoAADsAAADQAAAALwAAAAkAAAABAAAAAQAAAFwAAABFAAAACgAAAEYAAAAMAAAABwAAAAQAAAAQAAAABQAAAA0AAAAxAAAAMgAAAAMAAAA1AAAACAAAABEAAAAMAAAABwAAAEcAAABIAAAANgAAADMAAABJAAAANwAAAAMAAAAAAAAAMAoAAMUAAADRAAAAOAAAAAAAAABQCgAAOwAAANIAAAA5AAAACQAAAAEAAAABAAAAXQAAAA4AAAAMAAAASgAAAAwAAAAVAAAABAAAABAAAAAFAAAADQAAADQAAAA1AAAAAwAAADoAAAAIAAAASwAAADYAAAAHAAAATAAAAE0AAAA7AAAANwAAAE4AAAA8AAAABAAAADgAAAAAAAAAYAoAANMAAADUAAAAEwAAAE8AAAAZAAAAXgAAAF8AAAAUAAAAAAAAAIAKAADFAAAA1QAAAD0AAAAAAAAAcAoAAMUAAADWAAAAPgAAAAAAAACQCgAA1wAAANgAAAA/AAAACQAAAAEAAAABAAAAYAAAAFAAAAANAAAAUQAAAAwAAAAEAAAAAgAAAA0AAAAEAAAADQAAAEAAAAANAAAAAAAAAKAKAAAvAAAA2QAAAEEAAAAJAAAAAQAAAAEAAABhAAAADgAAAA4AAABSAAAAYgAAABYAAAAEAAAAUwAAABoAAAANAAAAOQAAADoAAAADAAAAQgAAAAgAAAARAAAADAAAAAcAAAAAAAAAsAoAAC8AAADaAAAAQQAAAAkAAAABAAAAAQAAAGEAAAAOAAAADgAAAFQAAABiAAAAFgAAAAQAAABTAAAAGgAAAA0AAAA5AAAAOwAAAAMAAABDAAAACAAAABEAAAAMAAAACAAAAAAAAADACgAALwAAANsAAABBAAAACQAAAAEAAAABAAAAYQAAAA4AAAAOAAAAVQAAAGIAAAAWAAAABAAAAFMAAAAaAAAADQAAADkAAAA8AAAAAwAAAEQAAAAIAAAAEQAAAAwAAAAJAAAAAAAAANAKAADcAAAA3QAAAEUAAAABAAAAAgAAAGMAAABkAAAAVgAAAGUAAABmAAAAVwAAAD0AAAA+AAAAWAAAABsAAAAAAAAA4AoAAN4AAADfAAAAAQAAAD8AAAAOAAAARgAAAAIAAABHAAAAZwAAAFkAAABaAAAAQAAAAGgAAADgAAAAAAAAAPAKAADeAAAA4QAAAAEAAAA/AAAADgAAAEYAAAACAAAARwAAAGcAAABZAAAAWgAAAEAAAABoAAAA4AAAAAAAAAAICwAA4gAAAOMAAAAcAAAAFQAAAEEAAABbAAAAXAAAAF0AAABCAAAAXgAAAEMAAABpAAAARAAAAB0AAABfAAAAagAAAGsAAAAAAAAAKAsAAOQAAADlAAAAHgAAABYAAABFAAAAYAAAAGEAAABiAAAARgAAAGMAAABHAAAAbAAAAEgAAAAfAAAAZAAAAG0AAABuAAAAAAAAADgLAAB5AAAA5gAAABUAAAAAAAAASAsAAHkAAADnAAAAFgAAAAAAAABYCwAA6AAAAOkAAAACAAAASQAAAA8AAABIAAAAAwAAAEkAAABvAAAAZQAAAGYAAABKAAAAcAAAAOoAAAAAAAAAaAsAACcAAADrAAAASwAAAHEAAAACAAAABQAAAAYAAAAAAAAAeAsAACcAAADsAAAACAAAAHIAAAACAAAABQAAAAYAAAAAAAAAiAsAACcAAADtAAAACAAAAHMAAAACAAAABQAAAAYAAAAAAAAAoAsAAO4AAADvAAAAEwAAAE8AAAAZAAAAXgAAAF8AAAAAAAAAuAsAADcAAADwAAAAIQAAAAEAAAAAAAAAyAsAAPEAAADyAAAAAQAAAAAAAADYCwAAkgAAAPMAAABMAAAATQAAAAgAAAAAAAAA8AsAAPEAAAD0AAAAAgAAAAAAAAAADAAAbwAAAPUAAAACAAAAAAAAABAMAACSAAAA9gAAAE4AAABPAAAACQAAAAAAAAAgDAAAbwAAAPcAAAADAAAAAAAAADAMAAD4AAAA+QAAABAAAAAAAAAAWAwAAPoAAAD7AAAAEQAAAAsAAAB0AAAAAAAAAGgMAAD8AAAA/QAAABIAAAAMAAAAdQAAAAAAAAB4DAAA+AAAAP4AAAATAAAAAAAAAIgMAAD4AAAA/wAAABQAAAAAAAAAmAwAAAABAAABAQAAIAAAACEAAABnAAAAAAAAAKAMAAACAQAAAwEAAAAAAACoDAAABAEAAAUBAABFAAAAAQAAAAIAAABjAAAAZAAAAFYAAAB2AAAAdwAAAFcAAAA9AAAAPgAAAFgAAAAbAAAAbGcAAP////8FAAAAAAAAAAAAAABoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAiAAAAIwAAAOFpAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAAAD//////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAMAAAGAQAABwEAAAgBAAAJAQAAJAAAAAQAAAAVAAAASgAAAAAAAADoDAAABgEAAAoBAAAIAQAACQEAACQAAAAFAAAAFgAAAEsAAAAAAAAAGA0AAAYBAAALAQAACAEAAAkBAAAkAAAABgAAABcAAABMAAAAeyB2YXIgc2VsZiA9IE1vZHVsZVsnZ2V0Q2FjaGUnXShNb2R1bGVbJ0RlYnVnRHJhd2VyJ10pWyQwXTsgaWYgKCFzZWxmLmhhc093blByb3BlcnR5KCdnZXREZWJ1Z01vZGUnKSkgdGhyb3cgJ2EgSlNJbXBsZW1lbnRhdGlvbiBtdXN0IGltcGxlbWVudCBhbGwgZnVuY3Rpb25zLCB5b3UgZm9yZ290IERlYnVnRHJhd2VyOjpnZXREZWJ1Z01vZGUuJzsgcmV0dXJuIHNlbGZbJ2dldERlYnVnTW9kZSddKCk7IH0AeyB2YXIgc2VsZiA9IE1vZHVsZVsnZ2V0Q2FjaGUnXShNb2R1bGVbJ0RlYnVnRHJhd2VyJ10pWyQwXTsgaWYgKCFzZWxmLmhhc093blByb3BlcnR5KCdzZXREZWJ1Z01vZGUnKSkgdGhyb3cgJ2EgSlNJbXBsZW1lbnRhdGlvbiBtdXN0IGltcGxlbWVudCBhbGwgZnVuY3Rpb25zLCB5b3UgZm9yZ290IERlYnVnRHJhd2VyOjpzZXREZWJ1Z01vZGUuJzsgc2VsZlsnc2V0RGVidWdNb2RlJ10oJDEpOyB9AHsgdmFyIHNlbGYgPSBNb2R1bGVbJ2dldENhY2hlJ10oTW9kdWxlWydEZWJ1Z0RyYXdlciddKVskMF07IGlmICghc2VsZi5oYXNPd25Qcm9wZXJ0eSgnZHJhdzNkVGV4dCcpKSB0aHJvdyAnYSBKU0ltcGxlbWVudGF0aW9uIG11c3QgaW1wbGVtZW50IGFsbCBmdW5jdGlvbnMsIHlvdSBmb3Jnb3QgRGVidWdEcmF3ZXI6OmRyYXczZFRleHQuJzsgc2VsZlsnZHJhdzNkVGV4dCddKCQxLCQyKTsgfQB7IHZhciBzZWxmID0gTW9kdWxlWydnZXRDYWNoZSddKE1vZHVsZVsnRGVidWdEcmF3ZXInXSlbJDBdOyBpZiAoIXNlbGYuaGFzT3duUHJvcGVydHkoJ3JlcG9ydEVycm9yV2FybmluZycpKSB0aHJvdyAnYSBKU0ltcGxlbWVudGF0aW9uIG11c3QgaW1wbGVtZW50IGFsbCBmdW5jdGlvbnMsIHlvdSBmb3Jnb3QgRGVidWdEcmF3ZXI6OnJlcG9ydEVycm9yV2FybmluZy4nOyBzZWxmWydyZXBvcnRFcnJvcldhcm5pbmcnXSgkMSk7IH0AeyB2YXIgc2VsZiA9IE1vZHVsZVsnZ2V0Q2FjaGUnXShNb2R1bGVbJ0RlYnVnRHJhd2VyJ10pWyQwXTsgaWYgKCFzZWxmLmhhc093blByb3BlcnR5KCdkcmF3Q29udGFjdFBvaW50JykpIHRocm93ICdhIEpTSW1wbGVtZW50YXRpb24gbXVzdCBpbXBsZW1lbnQgYWxsIGZ1bmN0aW9ucywgeW91IGZvcmdvdCBEZWJ1Z0RyYXdlcjo6ZHJhd0NvbnRhY3RQb2ludC4nOyBzZWxmWydkcmF3Q29udGFjdFBvaW50J10oJDEsJDIsJDMsJDQsJDUpOyB9AHsgdmFyIHNlbGYgPSBNb2R1bGVbJ2dldENhY2hlJ10oTW9kdWxlWydEZWJ1Z0RyYXdlciddKVskMF07IGlmICghc2VsZi5oYXNPd25Qcm9wZXJ0eSgnZHJhd0xpbmUnKSkgdGhyb3cgJ2EgSlNJbXBsZW1lbnRhdGlvbiBtdXN0IGltcGxlbWVudCBhbGwgZnVuY3Rpb25zLCB5b3UgZm9yZ290IERlYnVnRHJhd2VyOjpkcmF3TGluZS4nOyBzZWxmWydkcmF3TGluZSddKCQxLCQyLCQzKTsgfQAxMURlYnVnRHJhd2VyADEyYnRJRGVidWdEcmF3AHsgdmFyIHNlbGYgPSBNb2R1bGVbJ2dldENhY2hlJ10oTW9kdWxlWydDb25jcmV0ZUNvbnRhY3RSZXN1bHRDYWxsYmFjayddKVskMF07IGlmICghc2VsZi5oYXNPd25Qcm9wZXJ0eSgnYWRkU2luZ2xlUmVzdWx0JykpIHRocm93ICdhIEpTSW1wbGVtZW50YXRpb24gbXVzdCBpbXBsZW1lbnQgYWxsIGZ1bmN0aW9ucywgeW91IGZvcmdvdCBDb25jcmV0ZUNvbnRhY3RSZXN1bHRDYWxsYmFjazo6YWRkU2luZ2xlUmVzdWx0Lic7IHJldHVybiBzZWxmWydhZGRTaW5nbGVSZXN1bHQnXSgkMSwkMiwkMywkNCwkNSwkNiwkNyk7IH0AMjlDb25jcmV0ZUNvbnRhY3RSZXN1bHRDYWxsYmFjawBOMTZidENvbGxpc2lvbldvcmxkMjFDb250YWN0UmVzdWx0Q2FsbGJhY2tFAE4xNmJ0Q29sbGlzaW9uV29ybGQyNENsb3Nlc3RSYXlSZXN1bHRDYWxsYmFja0UATjE2YnRDb2xsaXNpb25Xb3JsZDE3UmF5UmVzdWx0Q2FsbGJhY2tFADE5YnRHaG9zdFBhaXJDYWxsYmFjawAyNWJ0T3ZlcmxhcHBpbmdQYWlyQ2FsbGJhY2sAMjBidERlZmF1bHRNb3Rpb25TdGF0ZQAxM2J0TW90aW9uU3RhdGUAMThidFZlaGljbGVSYXljYXN0ZXIATjE2YnRDb2xsaXNpb25Xb3JsZDI3Q2xvc2VzdENvbnZleFJlc3VsdENhbGxiYWNrRQBOMTZidENvbGxpc2lvbldvcmxkMjBDb252ZXhSZXN1bHRDYWxsYmFja0UAMjNidERlZmF1bHRTb2Z0Qm9keVNvbHZlcgAxNmJ0U29mdEJvZHlTb2x2ZXIANDFidFNvZnRCb2R5UmlnaWRCb2R5Q29sbGlzaW9uQ29uZmlndXJhdGlvbgBOMzVidFNvZnRCb2R5Q29uY2F2ZUNvbGxpc2lvbkFsZ29yaXRobTE3U3dhcHBlZENyZWF0ZUZ1bmNFADMwYnRDb2xsaXNpb25BbGdvcml0aG1DcmVhdGVGdW5jAE4zNWJ0U29mdEJvZHlDb25jYXZlQ29sbGlzaW9uQWxnb3JpdGhtMTBDcmVhdGVGdW5jRQBOMjlidFNvZnRSaWdpZENvbGxpc2lvbkFsZ29yaXRobTEwQ3JlYXRlRnVuY0UATjI4YnRTb2Z0U29mdENvbGxpc2lvbkFsZ29yaXRobTEwQ3JlYXRlRnVuY0UAU29mdEJvZHlNYXRlcmlhbERhdGEAU29mdEJvZHlOb2RlRGF0YQBTb2Z0Qm9keUxpbmtEYXRhAFNvZnRCb2R5RmFjZURhdGEAU29mdEJvZHlUZXRyYURhdGEAU29mdFJpZ2lkQW5jaG9yRGF0YQBmbG9hdABTb2Z0Qm9keVBvc2VEYXRhAFNvZnRCb2R5Q2x1c3RlckRhdGEAaW50AGJ0U29mdEJvZHlKb2ludERhdGEAYnRTb2Z0Qm9keUZsb2F0RGF0YQAxMGJ0U29mdEJvZHkATjEwYnRTb2Z0Qm9keTE1UmF5RnJvbVRvQ2FzdGVyRQBONmJ0RGJ2dDhJQ29sbGlkZUUATjEwYnRTb2Z0Qm9keTVKb2ludEUATjEwYnRTb2Z0Qm9keTZDSm9pbnRFAFNvZnRCb2R5ADI0YnRTb2Z0Qm9keUNvbGxpc2lvblNoYXBlAFVwZGF0ZUNsdXN0ZXJzAFNvZnRCb2R5IGFwcGx5Rm9yY2VzAEFwcGx5Q2x1c3RlcnMAYnRDb252ZXhJbnRlcm5hbFNoYXBlRGF0YQBTT0ZUQ0xVU1RFUgAyN2J0U29mdENsdXN0ZXJDb2xsaXNpb25TaGFwZQBOMTVidFNvZnRDb2xsaWRlcnMxMkNvbGxpZGVDTF9SU0UATjE1YnRTb2Z0Q29sbGlkZXJzMTFDbHVzdGVyQmFzZUUATjE1YnRTb2Z0Q29sbGlkZXJzMTNDb2xsaWRlU0RGX1JTRQBOMTVidFNvZnRDb2xsaWRlcnMxMkNvbGxpZGVWRl9TU0UATjE1YnRTb2Z0Q29sbGlkZXJzMTJDb2xsaWRlQ0xfU1NFADI5YnRTb2Z0UmlnaWRDb2xsaXNpb25BbGdvcml0aG0AMjBidENvbGxpc2lvbkFsZ29yaXRobQBUcmlhbmdsZQAxNWJ0VHJpYW5nbGVTaGFwZQBOMTJidENvbnZleENhc3QxMENhc3RSZXN1bHRFAFpOMzVidFNvZnRCb2R5Q29uY2F2ZUNvbGxpc2lvbkFsZ29yaXRobTIxY2FsY3VsYXRlVGltZU9mSW1wYWN0RVAxN2J0Q29sbGlzaW9uT2JqZWN0UzFfUksxNmJ0RGlzcGF0Y2hlckluZm9QMTZidE1hbmlmb2xkUmVzdWx0RTMxTG9jYWxUcmlhbmdsZVNwaGVyZUNhc3RDYWxsYmFjawAyNmJ0U29mdEJvZHlUcmlhbmdsZUNhbGxiYWNrADM1YnRTb2Z0Qm9keUNvbmNhdmVDb2xsaXNpb25BbGdvcml0aG0Ac29sdmVTb2Z0Q29uc3RyYWludHMAcHJlZGljdFVuY29uc3RyYWludE1vdGlvblNvZnRCb2R5AHJheVRlc3QAMjNidFNvZnRTaW5nbGVSYXlDYWxsYmFjawAyM2J0QnJvYWRwaGFzZVJheUNhbGxiYWNrADI0YnRCcm9hZHBoYXNlQWFiYkNhbGxiYWNrADI0YnRTb2Z0UmlnaWREeW5hbWljc1dvcmxkADI4YnRTb2Z0U29mdENvbGxpc2lvbkFsZ29yaXRobQBidFJpZ2lkQm9keUZsb2F0RGF0YQAxMWJ0UmlnaWRCb2R5AGludGVybmFsU2luZ2xlU3RlcFNpbXVsYXRpb24AdXBkYXRlQWN0aW9ucwBjcmVhdGVQcmVkaWN0aXZlQ29udGFjdHMAcmVsZWFzZSBwcmVkaWN0aXZlIGNvbnRhY3QgbWFuaWZvbGRzAHByZWRpY3RpdmUgY29udmV4U3dlZXBUZXN0ADM0YnRDbG9zZXN0Tm90TWVDb252ZXhSZXN1bHRDYWxsYmFjawB1cGRhdGVBY3RpdmF0aW9uU3RhdGUAc29sdmVDb25zdHJhaW50cwBjYWxjdWxhdGVTaW11bGF0aW9uSXNsYW5kcwBpbnRlZ3JhdGVUcmFuc2Zvcm1zAENDRCBtb3Rpb24gY2xhbXBpbmcAYXBwbHkgc3BlY3VsYXRpdmUgY29udGFjdCByZXN0aXR1dGlvbgBwcmVkaWN0VW5jb25zdHJhaW50TW90aW9uAHN5bmNocm9uaXplTW90aW9uU3RhdGVzAHN0ZXBTaW11bGF0aW9uAGJ0RHluYW1pY3NXb3JsZEZsb2F0RGF0YQBkZWJ1Z0RyYXdXb3JsZAAyM2J0RGlzY3JldGVEeW5hbWljc1dvcmxkADE1YnREeW5hbWljc1dvcmxkADI3SW5wbGFjZVNvbHZlcklzbGFuZENhbGxiYWNrAE4yNWJ0U2ltdWxhdGlvbklzbGFuZE1hbmFnZXIxNElzbGFuZENhbGxiYWNrRQAxN2J0Rml4ZWRDb25zdHJhaW50AGJ0R2VuZXJpYzZEb2ZDb25zdHJhaW50RGF0YQAyM2J0R2VuZXJpYzZEb2ZDb25zdHJhaW50AGJ0R2VuZXJpYzZEb2ZTcHJpbmdDb25zdHJhaW50RGF0YQAyOWJ0R2VuZXJpYzZEb2ZTcHJpbmdDb25zdHJhaW50AGJ0UG9pbnQyUG9pbnRDb25zdHJhaW50RmxvYXREYXRhADIzYnRQb2ludDJQb2ludENvbnN0cmFpbnQAYnRUeXBlZENvbnN0cmFpbnRGbG9hdERhdGEAMTdidFR5cGVkQ29uc3RyYWludAAxM2J0VHlwZWRPYmplY3QAYnRTbGlkZXJDb25zdHJhaW50RGF0YQAxOGJ0U2xpZGVyQ29uc3RyYWludABidENvbmVUd2lzdENvbnN0cmFpbnREYXRhADIxYnRDb25lVHdpc3RDb25zdHJhaW50AGJ0SGluZ2VDb25zdHJhaW50RmxvYXREYXRhADE3YnRIaW5nZUNvbnN0cmFpbnQAc29sdmVHcm91cENhY2hlRnJpZW5kbHlJdGVyYXRpb25zAHNvbHZlR3JvdXBDYWNoZUZyaWVuZGx5U2V0dXAAc29sdmVHcm91cAAzNWJ0U2VxdWVudGlhbEltcHVsc2VDb25zdHJhaW50U29sdmVyADE4YnRDb25zdHJhaW50U29sdmVyADE2YnRSYXljYXN0VmVoaWNsZQAxN2J0QWN0aW9uSW50ZXJmYWNlADI1YnREZWZhdWx0VmVoaWNsZVJheWNhc3RlcgA0M2J0S2luZW1hdGljQ2xvc2VzdE5vdE1lQ29udmV4UmVzdWx0Q2FsbGJhY2sAMzBidEtpbmVtYXRpY0NoYXJhY3RlckNvbnRyb2xsZXIAMzBidENoYXJhY3RlckNvbnRyb2xsZXJJbnRlcmZhY2UAMjJidFN1YnNpbXBsZXhDb252ZXhDYXN0ADEyYnRDb252ZXhDYXN0AGJ0Q29sbGlzaW9uT2JqZWN0RmxvYXREYXRhADE3YnRDb2xsaXNpb25PYmplY3QAMTNidEdob3N0T2JqZWN0ADI0YnRQYWlyQ2FjaGluZ0dob3N0T2JqZWN0ADIzYnRDb2xsaXNpb25QYWlyQ2FsbGJhY2sAMTdidE92ZXJsYXBDYWxsYmFjawAyMWJ0Q29sbGlzaW9uRGlzcGF0Y2hlcgAzMWJ0RGVmYXVsdENvbGxpc2lvbkNvbmZpZ3VyYXRpb24AMjRidENvbGxpc2lvbkNvbmZpZ3VyYXRpb24ATjMxYnRDb252ZXhQbGFuZUNvbGxpc2lvbkFsZ29yaXRobTEwQ3JlYXRlRnVuY0UATjI2YnRCb3hCb3hDb2xsaXNpb25BbGdvcml0aG0xMENyZWF0ZUZ1bmNFAE4zNGJ0U3BoZXJlVHJpYW5nbGVDb2xsaXNpb25BbGdvcml0aG0xMENyZWF0ZUZ1bmNFAE4zMmJ0U3BoZXJlU3BoZXJlQ29sbGlzaW9uQWxnb3JpdGhtMTBDcmVhdGVGdW5jRQBOMTZidEVtcHR5QWxnb3JpdGhtMTBDcmVhdGVGdW5jRQBOMjhidENvbXBvdW5kQ29sbGlzaW9uQWxnb3JpdGhtMTdTd2FwcGVkQ3JlYXRlRnVuY0UATjM2YnRDb21wb3VuZENvbXBvdW5kQ29sbGlzaW9uQWxnb3JpdGhtMTBDcmVhdGVGdW5jRQBOMjhidENvbXBvdW5kQ29sbGlzaW9uQWxnb3JpdGhtMTBDcmVhdGVGdW5jRQBOMzNidENvbnZleENvbmNhdmVDb2xsaXNpb25BbGdvcml0aG0xN1N3YXBwZWRDcmVhdGVGdW5jRQBOMzNidENvbnZleENvbmNhdmVDb2xsaXNpb25BbGdvcml0aG0xMENyZWF0ZUZ1bmNFADI1YnRTaW11bGF0aW9uSXNsYW5kTWFuYWdlcgBpc2xhbmRVbmlvbkZpbmRBbmRRdWlja1NvcnQAcHJvY2Vzc0lzbGFuZHMAMzFidENvbnZleFBsYW5lQ29sbGlzaW9uQWxnb3JpdGhtAFpOMzNidENvbnZleENvbmNhdmVDb2xsaXNpb25BbGdvcml0aG0yMWNhbGN1bGF0ZVRpbWVPZkltcGFjdEVQMTdidENvbGxpc2lvbk9iamVjdFMxX1JLMTZidERpc3BhdGNoZXJJbmZvUDE2YnRNYW5pZm9sZFJlc3VsdEUzMUxvY2FsVHJpYW5nbGVTcGhlcmVDYXN0Q2FsbGJhY2sAMjRidENvbnZleFRyaWFuZ2xlQ2FsbGJhY2sAMzNidENvbnZleENvbmNhdmVDb2xsaXNpb25BbGdvcml0aG0AMjZidEJveEJveENvbGxpc2lvbkFsZ29yaXRobQAxNmJ0TWFuaWZvbGRSZXN1bHQATjM2YnREaXNjcmV0ZUNvbGxpc2lvbkRldGVjdG9ySW50ZXJmYWNlNlJlc3VsdEUAcGVyZm9ybURpc2NyZXRlQ29sbGlzaW9uRGV0ZWN0aW9uAGRpc3BhdGNoQWxsQ29sbGlzaW9uUGFpcnMAWk4xNmJ0Q29sbGlzaW9uV29ybGQyMXJheVRlc3RTaW5nbGVJbnRlcm5hbEVSSzExYnRUcmFuc2Zvcm1TMl9QSzI0YnRDb2xsaXNpb25PYmplY3RXcmFwcGVyUk5TXzE3UmF5UmVzdWx0Q2FsbGJhY2tFRTE1TG9jYWxJbmZvQWRkZXIyAFpOMTZidENvbGxpc2lvbldvcmxkMjFyYXlUZXN0U2luZ2xlSW50ZXJuYWxFUksxMWJ0VHJhbnNmb3JtUzJfUEsyNGJ0Q29sbGlzaW9uT2JqZWN0V3JhcHBlclJOU18xN1JheVJlc3VsdENhbGxiYWNrRUU5UmF5VGVzdGVyAFpOMTZidENvbGxpc2lvbldvcmxkMjFyYXlUZXN0U2luZ2xlSW50ZXJuYWxFUksxMWJ0VHJhbnNmb3JtUzJfUEsyNGJ0Q29sbGlzaW9uT2JqZWN0V3JhcHBlclJOU18xN1JheVJlc3VsdENhbGxiYWNrRUUyOUJyaWRnZVRyaWFuZ2xlUmF5Y2FzdENhbGxiYWNrXzAAWk4xNmJ0Q29sbGlzaW9uV29ybGQyMXJheVRlc3RTaW5nbGVJbnRlcm5hbEVSSzExYnRUcmFuc2Zvcm1TMl9QSzI0YnRDb2xsaXNpb25PYmplY3RXcmFwcGVyUk5TXzE3UmF5UmVzdWx0Q2FsbGJhY2tFRTI5QnJpZGdlVHJpYW5nbGVSYXljYXN0Q2FsbGJhY2sAMTlidFNpbmdsZVJheUNhbGxiYWNrADE3RGVidWdEcmF3Y2FsbGJhY2sAY2FsY3VsYXRlT3ZlcmxhcHBpbmdQYWlycwB1cGRhdGVBYWJicwABT3ZlcmZsb3cgaW4gQUFCQiwgb2JqZWN0IHJlbW92ZWQgZnJvbSBzaW11bGF0aW9uAElmIHlvdSBjYW4gcmVwcm9kdWNlIHRoaXMsIHBsZWFzZSBlbWFpbCBidWdzQGNvbnRpbnVvdXNwaHlzaWNzLmNvbQoAUGxlYXNlIGluY2x1ZGUgYWJvdmUgaW5mb3JtYXRpb24sIHlvdXIgUGxhdGZvcm0sIHZlcnNpb24gb2YgT1MuCgBUaGFua3MuCgAxNmJ0Q29sbGlzaW9uV29ybGQAY29udmV4U3dlZXBDb21wb3VuZABaTjE2YnRDb2xsaXNpb25Xb3JsZDI1b2JqZWN0UXVlcnlTaW5nbGVJbnRlcm5hbEVQSzEzYnRDb252ZXhTaGFwZVJLMTFidFRyYW5zZm9ybVM1X1BLMjRidENvbGxpc2lvbk9iamVjdFdyYXBwZXJSTlNfMjBDb252ZXhSZXN1bHRDYWxsYmFja0VmRTE0TG9jYWxJbmZvQWRkZXIAWk4xNmJ0Q29sbGlzaW9uV29ybGQyNW9iamVjdFF1ZXJ5U2luZ2xlSW50ZXJuYWxFUEsxM2J0Q29udmV4U2hhcGVSSzExYnRUcmFuc2Zvcm1TNV9QSzI0YnRDb2xsaXNpb25PYmplY3RXcmFwcGVyUk5TXzIwQ29udmV4UmVzdWx0Q2FsbGJhY2tFZkUzMkJyaWRnZVRyaWFuZ2xlQ29udmV4Y2FzdENhbGxiYWNrXzAAWk4xNmJ0Q29sbGlzaW9uV29ybGQyNW9iamVjdFF1ZXJ5U2luZ2xlSW50ZXJuYWxFUEsxM2J0Q29udmV4U2hhcGVSSzExYnRUcmFuc2Zvcm1TNV9QSzI0YnRDb2xsaXNpb25PYmplY3RXcmFwcGVyUk5TXzIwQ29udmV4UmVzdWx0Q2FsbGJhY2tFZkUzMkJyaWRnZVRyaWFuZ2xlQ29udmV4Y2FzdENhbGxiYWNrAGNvbnZleFN3ZWVwVGVzdAAyMWJ0U2luZ2xlU3dlZXBDYWxsYmFjawAyM2J0QnJpZGdlZE1hbmlmb2xkUmVzdWx0ADIzYnRTaW5nbGVDb250YWN0Q2FsbGJhY2sAMzRidFNwaGVyZVRyaWFuZ2xlQ29sbGlzaW9uQWxnb3JpdGhtADI0YnRQZXJ0dXJiZWRDb250YWN0UmVzdWx0AFpOMjNidENvbnZleENvbnZleEFsZ29yaXRobTE2cHJvY2Vzc0NvbGxpc2lvbkVQSzI0YnRDb2xsaXNpb25PYmplY3RXcmFwcGVyUzJfUksxNmJ0RGlzcGF0Y2hlckluZm9QMTZidE1hbmlmb2xkUmVzdWx0RTIxYnRXaXRob3V0TWFyZ2luUmVzdWx0AFpOMjNidENvbnZleENvbnZleEFsZ29yaXRobTE2cHJvY2Vzc0NvbGxpc2lvbkVQSzI0YnRDb2xsaXNpb25PYmplY3RXcmFwcGVyUzJfUksxNmJ0RGlzcGF0Y2hlckluZm9QMTZidE1hbmlmb2xkUmVzdWx0RTEzYnREdW1teVJlc3VsdAAyM2J0Q29udmV4Q29udmV4QWxnb3JpdGhtAE4yM2J0Q29udmV4Q29udmV4QWxnb3JpdGhtMTBDcmVhdGVGdW5jRQAyMmJ0Q29tcG91bmRMZWFmQ2FsbGJhY2sAMjhidENvbXBvdW5kQ29sbGlzaW9uQWxnb3JpdGhtADMwYnRDb21wb3VuZENvbXBvdW5kTGVhZkNhbGxiYWNrADM2YnRDb21wb3VuZENvbXBvdW5kQ29sbGlzaW9uQWxnb3JpdGhtAGJ0Q29tcG91bmRTaGFwZUNoaWxkRGF0YQBidENvbXBvdW5kU2hhcGVEYXRhAENvbXBvdW5kADE1YnRDb21wb3VuZFNoYXBlAGJ0Q29uZVNoYXBlRGF0YQBDb25lADExYnRDb25lU2hhcGUAQ29uZVoAMTJidENvbmVTaGFwZVoAQ29uZVgAMTJidENvbmVTaGFwZVgAU1BIRVJFADEzYnRTcGhlcmVTaGFwZQBaTksyMmJ0QnZoVHJpYW5nbGVNZXNoU2hhcGUxOXByb2Nlc3NBbGxUcmlhbmdsZXNFUDE4YnRUcmlhbmdsZUNhbGxiYWNrUks5YnRWZWN0b3IzUzRfRTIxTXlOb2RlT3ZlcmxhcENhbGxiYWNrADIxYnROb2RlT3ZlcmxhcENhbGxiYWNrAGJ0VHJpYW5nbGVNZXNoU2hhcGVEYXRhAEJWSFRSSUFOR0xFTUVTSAAyMmJ0QnZoVHJpYW5nbGVNZXNoU2hhcGUAWk4yMmJ0QnZoVHJpYW5nbGVNZXNoU2hhcGUxNHBlcmZvcm1SYXljYXN0RVAxOGJ0VHJpYW5nbGVDYWxsYmFja1JLOWJ0VmVjdG9yM1M0X0UyMU15Tm9kZU92ZXJsYXBDYWxsYmFjawBaTjIyYnRCdmhUcmlhbmdsZU1lc2hTaGFwZTE3cGVyZm9ybUNvbnZleGNhc3RFUDE4YnRUcmlhbmdsZUNhbGxiYWNrUks5YnRWZWN0b3IzUzRfUzRfUzRfRTIxTXlOb2RlT3ZlcmxhcENhbGxiYWNrADIxU3VwcG9ydFZlcnRleENhbGxiYWNrAFpOSzE5YnRUcmlhbmdsZU1lc2hTaGFwZTE5cHJvY2Vzc0FsbFRyaWFuZ2xlc0VQMThidFRyaWFuZ2xlQ2FsbGJhY2tSSzlidFZlY3RvcjNTNF9FMTZGaWx0ZXJlZENhbGxiYWNrAFRSSUFOR0xFTUVTSAAxOWJ0VHJpYW5nbGVNZXNoU2hhcGUAYnRTdGF0aWNQbGFuZVNoYXBlRGF0YQBTVEFUSUNQTEFORQAxOGJ0U3RhdGljUGxhbmVTaGFwZQAyM2J0UG9seWhlZHJhbENvbnZleFNoYXBlADM0YnRQb2x5aGVkcmFsQ29udmV4QWFiYkNhY2hpbmdTaGFwZQBidENvbGxpc2lvblNoYXBlRGF0YQAxNmJ0Q29sbGlzaW9uU2hhcGUAMTNidENvbnZleFNoYXBlADIxYnRDb252ZXhJbnRlcm5hbFNoYXBlAGJ0Q29udmV4SHVsbFNoYXBlRGF0YQBDb252ZXgAMTdidENvbnZleEh1bGxTaGFwZQAxOGJ0VHJpYW5nbGVDYWxsYmFjawAzMWJ0SW50ZXJuYWxUcmlhbmdsZUluZGV4Q2FsbGJhY2sAYnRDYXBzdWxlU2hhcGVEYXRhAENhcHN1bGVTaGFwZQAxNGJ0Q2Fwc3VsZVNoYXBlAENhcHN1bGVYADE1YnRDYXBzdWxlU2hhcGVYAENhcHN1bGVaADE1YnRDYXBzdWxlU2hhcGVaADI2TG9jYWxTdXBwb3J0VmVydGV4Q2FsbGJhY2sAQ29udmV4VHJpbWVzaAAyNWJ0Q29udmV4VHJpYW5nbGVNZXNoU2hhcGUAMTRidENvbmNhdmVTaGFwZQBCb3gAMTBidEJveFNoYXBlADE0YnRPcHRpbWl6ZWRCdmgAWk4xNGJ0T3B0aW1pemVkQnZoNWJ1aWxkRVAyM2J0U3RyaWRpbmdNZXNoSW50ZXJmYWNlYlJLOWJ0VmVjdG9yM1M0X0UyME5vZGVUcmlhbmdsZUNhbGxiYWNrAFpOMTRidE9wdGltaXplZEJ2aDVidWlsZEVQMjNidFN0cmlkaW5nTWVzaEludGVyZmFjZWJSSzlidFZlY3RvcjNTNF9FMjlRdWFudGl6ZWROb2RlVHJpYW5nbGVDYWxsYmFjawBIRUlHSFRGSUVMRAAyNWJ0SGVpZ2h0ZmllbGRUZXJyYWluU2hhcGUAYnRDeWxpbmRlclNoYXBlRGF0YQBDeWxpbmRlclkAMTVidEN5bGluZGVyU2hhcGUAQ3lsaW5kZXJYADE2YnRDeWxpbmRlclNoYXBlWABDeWxpbmRlcloAMTZidEN5bGluZGVyU2hhcGVaADE0YnRUcmlhbmdsZU1lc2gAMjBidEF4aXNTd2VlcDNJbnRlcm5hbEl0RQAyMWJ0QnJvYWRwaGFzZUludGVyZmFjZQAxMmJ0QXhpc1N3ZWVwMwAxNWJ0TnVsbFBhaXJDYWNoZQAyMmJ0T3ZlcmxhcHBpbmdQYWlyQ2FjaGUAWk4yOGJ0SGFzaGVkT3ZlcmxhcHBpbmdQYWlyQ2FjaGUxOWNsZWFuUHJveHlGcm9tUGFpcnNFUDE3YnRCcm9hZHBoYXNlUHJveHlQMTJidERpc3BhdGNoZXJFMTdDbGVhblBhaXJDYWxsYmFjawBaTjI4YnRIYXNoZWRPdmVybGFwcGluZ1BhaXJDYWNoZTM3cmVtb3ZlT3ZlcmxhcHBpbmdQYWlyc0NvbnRhaW5pbmdQcm94eUVQMTdidEJyb2FkcGhhc2VQcm94eVAxMmJ0RGlzcGF0Y2hlckUxOFJlbW92ZVBhaXJDYWxsYmFjawAyOGJ0SGFzaGVkT3ZlcmxhcHBpbmdQYWlyQ2FjaGUAMThidERidnRUcmVlQ29sbGlkZXIAMjBCcm9hZHBoYXNlQWFiYlRlc3RlcgAxOUJyb2FkcGhhc2VSYXlUZXN0ZXIAMTZidERidnRCcm9hZHBoYXNlADEyYnREaXNwYXRjaGVyAGJ0T3B0aW1pemVkQnZoTm9kZURhdGEAYnRRdWFudGl6ZWRCdmhOb2RlRGF0YQBidEJ2aFN1YnRyZWVJbmZvRGF0YQBidFF1YW50aXplZEJ2aEZsb2F0RGF0YQAxNGJ0UXVhbnRpemVkQnZoADI1YnRUcmlhbmdsZVJheWNhc3RDYWxsYmFjawAyOGJ0VHJpYW5nbGVDb252ZXhjYXN0Q2FsbGJhY2sAWk4zM2J0TWlua293c2tpUGVuZXRyYXRpb25EZXB0aFNvbHZlcjEyY2FsY1BlbkRlcHRoRVIyMmJ0Vm9yb25vaVNpbXBsZXhTb2x2ZXJQSzEzYnRDb252ZXhTaGFwZVM0X1JLMTFidFRyYW5zZm9ybVM3X1I5YnRWZWN0b3IzUzlfUzlfUDEyYnRJRGVidWdEcmF3RTIwYnRJbnRlcm1lZGlhdGVSZXN1bHQAMzNidE1pbmtvd3NraVBlbmV0cmF0aW9uRGVwdGhTb2x2ZXIAMzBidENvbnZleFBlbmV0cmF0aW9uRGVwdGhTb2x2ZXIAMzBidEdqa0VwYVBlbmV0cmF0aW9uRGVwdGhTb2x2ZXIAMTZidFBvaW50Q29sbGVjdG9yADE1YnRHamtDb252ZXhDYXN0ADI3YnRDb250aW51b3VzQ29udmV4Q29sbGlzaW9uADE3YnRHamtQYWlyRGV0ZWN0b3IAMzZidERpc2NyZXRlQ29sbGlzaW9uRGV0ZWN0b3JJbnRlcmZhY2UAMzBidEFjdGl2YXRpbmdDb2xsaXNpb25BbGdvcml0aG0AMTZidEVtcHR5QWxnb3JpdGhtADMyYnRTcGhlcmVTcGhlcmVDb2xsaXNpb25BbGdvcml0aG0AMTZidEJveEJveERldGVjdG9yADIyU3BoZXJlVHJpYW5nbGVEZXRlY3RvcgAyM2J0SGFzaGVkU2ltcGxlUGFpckNhY2hlADE4YnRDb252ZXhQb2x5aGVkcm9uADI2YnRUcmlhbmdsZUluZGV4VmVydGV4QXJyYXkAYnRJbnRJbmRleERhdGEAYnRTaG9ydEludEluZGV4VHJpcGxldERhdGEAYnRDaGFySW5kZXhUcmlwbGV0RGF0YQBidFZlY3RvcjNGbG9hdERhdGEAYnRWZWN0b3IzRG91YmxlRGF0YQBidE1lc2hQYXJ0RGF0YQBidFN0cmlkaW5nTWVzaEludGVyZmFjZURhdGEAMjNidFN0cmlkaW5nTWVzaEludGVyZmFjZQBSb290AC0rICAgMFgweAAobnVsbCkALTBYKzBYIDBYLTB4KzB4IDB4AGluZgBJTkYAbmFuAE5BTgAuAE4xMF9fY3h4YWJpdjExNl9fc2hpbV90eXBlX2luZm9FAFN0OXR5cGVfaW5mbwBOMTBfX2N4eGFiaXYxMjBfX3NpX2NsYXNzX3R5cGVfaW5mb0UATjEwX19jeHhhYml2MTE3X19jbGFzc190eXBlX2luZm9FAHB0aHJlYWRfb25jZSBmYWlsdXJlIGluIF9fY3hhX2dldF9nbG9iYWxzX2Zhc3QoKQBOMTBfX2N4eGFiaXYxMTlfX3BvaW50ZXJfdHlwZV9pbmZvRQBOMTBfX2N4eGFiaXYxMTdfX3BiYXNlX3R5cGVfaW5mb0UATjEwX19jeHhhYml2MTIxX192bWlfY2xhc3NfdHlwZV9pbmZvRQ==";var z={last:0,caught:[],infos:{},deAdjust:function(t){if(!t||z.infos[t])return t;for(var e in z.infos)for(var i=+e,n=z.infos[i].adjusted,o=n.length,_=0;_<o;_++)if(n[_]===t)return i;return t},addRef:function(t){t&&z.infos[t].refcount++},decRef:function(t){if(t){var e=z.infos[t];m(e.refcount>0),e.refcount--,0!==e.refcount||e.rethrown||(e.destructor&&s.dynCall_vi(e.destructor,t),delete z.infos[t],X(t))}},clearRef:function(t){t&&(z.infos[t].refcount=0)}},K={buffers:[null,[],[]],printChar:function(t,e){var i=K.buffers[t];0===e||10===e?((1===t?d:l)(w(i,0)),i.length=0):i.push(e)},varargs:0,get:function(t){return K.varargs+=4,C[K.varargs-4>>2]},getStr:function(){return R(K.get())},get64:function(){var t=K.get();return K.get(),t},getZero:function(){K.get()}};function q(){return y.length}function $(t){try{var e=new ArrayBuffer(t);if(e.byteLength!=t)return!1;new Int8Array(e).set(y)}catch(t){return!1}return s._emscripten_replace_memory(e),y=new Int8Array(e),new Int16Array(e),C=new Int32Array(e),g=new Uint8Array(e),new Uint16Array(e),new Uint32Array(e),v=new Float32Array(e),new Float64Array(e),h=e,e}function tt(t){var e=q(),i=16777216,n=2130706432;if(t>n)return!1;for(var o=Math.max(e,16777216);o<t;)o=o<=536870912?D(2*o,i):Math.min(D((3*o+2147483648)/4,i),n);var _=$(o);return!(!_||_.byteLength!=o||(I(),0))}var et=!1;function it(t){for(var e=[],i=0;i<t.length;i++){var n=t[i];n>255&&(et&&m(!1,"Character code "+n+" ("+String.fromCharCode(n)+") at offset "+i+" not in 0x00-0xFF."),n&=255),e.push(String.fromCharCode(n))}return e.join("")}var nt="function"==typeof atob?atob:function(t){var e,i,n,o,_,r,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",p="",c=0;t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"");do{e=s.indexOf(t.charAt(c++))<<2|(o=s.indexOf(t.charAt(c++)))>>4,i=(15&o)<<4|(_=s.indexOf(t.charAt(c++)))>>2,n=(3&_)<<6|(r=s.indexOf(t.charAt(c++))),p+=String.fromCharCode(e),64!==_&&(p+=String.fromCharCode(i)),64!==r&&(p+=String.fromCharCode(n))}while(c<t.length);return p};function ot(t){if(U(t))return function(t){if("boolean"==typeof _&&_){var e;try{e=Buffer.from(t,"base64")}catch(i){e=new Buffer(t,"base64")}return new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}try{for(var i=nt(t),n=new Uint8Array(i.length),o=0;o<i.length;++o)n[o]=i.charCodeAt(o);return n}catch(t){throw new Error("Converting base64 string to bytes failed.")}}(t.slice(Z.length))}var _t,rt={Math,Int8Array,Int16Array,Int32Array,Uint8Array,Uint16Array,Float32Array,Float64Array},st={a:hS,b:f,c:function(){return A},d:J,e:function(t){var e=z.infos[t];return e&&!e.caught&&(e.caught=!0,J.uncaught_exception--),e&&(e.rethrown=!1),z.caught.push(t),z.addRef(z.deAdjust(t)),t},f:function t(){var e=z.last;if(!e)return 0|(f(0),0);var i=z.infos[e],n=i.type;if(!n)return 0|(f(0),e);var o=Array.prototype.slice.call(arguments);s.___cxa_is_pointer_type(n),t.buffer||(t.buffer=aS(4)),C[t.buffer>>2]=e,e=t.buffer;for(var _=0;_<o.length;_++)if(o[_]&&s.___cxa_can_catch(o[_],n,e))return e=C[e>>2],i.adjusted.push(e),0|(f(o[_]),e);return e=C[e>>2],0|(f(n),e)},g:X,h:function(){throw u=!0,"Pure virtual function called!"},i:function(){},j:function(t){throw z.last||(z.last=t),t},k:function(t){return s.___errno_location&&(C[s.___errno_location()>>2]=t),t},l:function(t,e){K.varargs=e;try{var i=K.getStreamFromFD(),n=(K.get(),K.get()),o=K.get(),_=K.get(),r=n;return FS.llseek(i,r,_),C[o>>2]=i.position,i.getdents&&0===r&&0===_&&(i.getdents=null),0}catch(t){return"undefined"!=typeof FS&&t instanceof FS.ErrnoError||hS(t),-t.errno}},m:function(t,e){K.varargs=e;try{for(var i=K.get(),n=K.get(),o=K.get(),_=0,r=0;r<o;r++){for(var s=C[n+8*r>>2],p=C[n+(8*r+4)>>2],c=0;c<p;c++)K.printChar(i,g[s+c]);_+=p}return _}catch(t){return"undefined"!=typeof FS&&t instanceof FS.ErrnoError||hS(t),-t.errno}},n:function(t,e){K.varargs=e;try{var i=K.getStreamFromFD();return FS.close(i),0}catch(t){return"undefined"!=typeof FS&&t instanceof FS.ErrnoError||hS(t),-t.errno}},o:function(){s.abort()},p:function(t,e,i,n,o,_,r,s,p){return Y[t](e,i,n,o,_,r,s,p)},q:function(t,e){return Y[t](e)},r:function(t,e,i){return Y[t](e,i)},s:function(t,e,i,n){return Y[t](e,i,n)},t:function(t,e,i,n,o,_,r){return Y[t](e,i,n,o,_,r)},u:function(t,e,i,n,o){return Y[t](e,i,n,o)},v:q,w:function(t,e,i){g.set(g.subarray(e,e+i),t)},x:tt,y:function(t){var e=Date.now();return C[t>>2]=e/1e3|0,C[t+4>>2]=e%1e3*1e3|0,0},z:function(){hS("trap!")},A:function(t){hS("OOM")},B:$,C:function(){var t=s._fflush;t&&t(0);var e=K.buffers;e[1].length&&K.printChar(1,10),e[2].length&&K.printChar(2,10)},D:27376,E:B},pt=function(t,e,i){var n=new t.Int8Array(i),o=new t.Int16Array(i),_=new t.Int32Array(i),r=new t.Uint8Array(i),s=new t.Uint16Array(i),p=new t.Float32Array(i),c=new t.Float64Array(i),a=0|e.D,b=0|e.E,d=t.Math.abs,l=t.Math.sqrt,A=t.Math.pow,f=t.Math.cos,u=t.Math.sin,m=t.Math.acos,h=t.Math.asin,y=t.Math.atan2,g=t.Math.imul,C=t.Math.clz32,v=e.a,S=e.b,w=e.c,k=e.h,R=e.k,j=e.l,D=e.m,I=e.n,B=e.p,W=e.q,F=e.r,O=e.s,x=e.t,T=e.u,P=e.v,V=e.w,M=e.x,G=e.y,L=e.z,N=e.A,Q=27392;function E(t,e,i){e|=0,i|=0;var o=0,r=0,s=0,c=0,a=0,b=0,d=0,l=0,A=0,f=0,u=0;if(!((0|(o=0|_[748+(t|=0)>>2]))<=0)){do{c=o,f=+p[t+4+(184*(o=o+-1|0)|0)>>2],u=+p[t+4+(184*o|0)+4>>2],r=+p[t+4+(184*o|0)+8>>2],A=f*+p[e>>2]+u*+p[e+4>>2]+r*+p[e+8>>2]+ +p[e+48>>2],d=f*+p[e+16>>2]+u*+p[e+20>>2]+r*+p[e+24>>2]+ +p[e+52>>2],r=f*+p[e+32>>2]+u*+p[e+36>>2]+r*+p[e+40>>2]+ +p[e+56>>2],p[t+4+(184*o|0)+48>>2]=A,p[t+4+(184*o|0)+52>>2]=d,p[t+4+(184*o|0)+56>>2]=r,p[t+4+(184*o|0)+60>>2]=0,u=+p[t+4+(184*o|0)+16>>2],f=+p[t+4+(184*o|0)+20>>2],s=+p[t+4+(184*o|0)+24>>2],l=u*+p[i>>2]+f*+p[i+4>>2]+s*+p[i+8>>2]+ +p[i+48>>2],b=u*+p[i+16>>2]+f*+p[i+20>>2]+s*+p[i+24>>2]+ +p[i+52>>2],s=u*+p[i+32>>2]+f*+p[i+36>>2]+s*+p[i+40>>2]+ +p[i+56>>2],p[t+4+(184*o|0)+32>>2]=l,p[t+4+(184*o|0)+36>>2]=b,p[t+4+(184*o|0)+40>>2]=s,p[t+4+(184*o|0)+44>>2]=0,p[t+4+(184*o|0)+80>>2]=(A-l)*+p[t+4+(184*o|0)+64>>2]+(d-b)*+p[t+4+(184*o|0)+68>>2]+(r-s)*+p[t+4+(184*o|0)+72>>2],_[(a=t+4+(184*o|0)+148|0)>>2]=1+(0|_[a>>2])}while((0|c)>1);if(!((0|(o=0|_[t+748>>2]))<=0)){c=o;do{i=c,e=t+4+(184*(c=c+-1|0)|0)|0,(r=+p[t+4+(184*c|0)+80>>2])<=(s=+p[t+752>>2])?(A=+p[t+4+(184*c|0)+32>>2]-(+p[t+4+(184*c|0)+48>>2]-+p[t+4+(184*c|0)+64>>2]*r))*A+(f=+p[t+4+(184*c|0)+36>>2]-(+p[t+4+(184*c|0)+52>>2]-r*+p[t+4+(184*c|0)+68>>2]))*f+(u=+p[t+4+(184*c|0)+40>>2]-(+p[t+4+(184*c|0)+56>>2]-r*+p[t+4+(184*c|0)+72>>2]))*u>s*s&&((0|(o=o+-1|0))==(0|c)?o=c:(_e(0|e,t+4+(184*o|0)|0,184),_[t+4+(184*o|0)+112>>2]=0,p[t+4+(184*o|0)+120>>2]=0,n[t+4+(184*o|0)+116|0]=0,p[t+4+(184*o|0)+124>>2]=0,p[t+4+(184*o|0)+128>>2]=0,_[t+4+(184*o|0)+148>>2]=0,o=(0|_[t+748>>2])-1|0),_[t+748>>2]=o):((0|(o=o+-1|0))==(0|c)?o=c:(_e(0|e,t+4+(184*o|0)|0,184),_[t+4+(184*o|0)+112>>2]=0,p[t+4+(184*o|0)+120>>2]=0,n[t+4+(184*o|0)+116|0]=0,p[t+4+(184*o|0)+124>>2]=0,p[t+4+(184*o|0)+128>>2]=0,_[t+4+(184*o|0)+148>>2]=0,o=(0|_[t+748>>2])-1|0),_[t+748>>2]=o)}while((0|i)>1)}}}function H(t){var e=0,i=0;_[(t|=0)>>2]=6120,0|n[t+20|0]&&(e=0|_[t+16>>2],(i=0|_[e+16>>2])&&(_[6631]=1+(0|_[6631]),Li(0|_[i+-4>>2]),e=0|_[t+16>>2]),0|e&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2]))),0|n[t+12|0]&&(e=0|_[t+8>>2],(i=0|_[e+16>>2])&&(_[6631]=1+(0|_[6631]),Li(0|_[i+-4>>2]),e=0|_[t+8>>2]),0|e&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2]))),e=0|_[t+32>>2],zb[511&_[_[e>>2]>>2]](e),0|(e=0|_[t+32>>2])&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),e=0|_[t+36>>2],zb[511&_[_[e>>2]>>2]](e),0|(e=0|_[t+36>>2])&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),e=0|_[t+40>>2],zb[511&_[_[e>>2]>>2]](e),0|(e=0|_[t+40>>2])&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),e=0|_[t+44>>2],zb[511&_[_[e>>2]>>2]](e),0|(e=0|_[t+44>>2])&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),e=0|_[t+48>>2],zb[511&_[_[e>>2]>>2]](e),0|(e=0|_[t+48>>2])&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),e=0|_[t+52>>2],zb[511&_[_[e>>2]>>2]](e),0|(e=0|_[t+52>>2])&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),e=0|_[t+56>>2],zb[511&_[_[e>>2]>>2]](e),0|(e=0|_[t+56>>2])&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),e=0|_[t+60>>2],zb[511&_[_[e>>2]>>2]](e),0|(e=0|_[t+60>>2])&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),e=0|_[t+76>>2],zb[511&_[_[e>>2]>>2]](e),0|(e=0|_[t+76>>2])&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),e=0|_[t+80>>2],zb[511&_[_[e>>2]>>2]](e),0|(e=0|_[t+80>>2])&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),e=0|_[t+72>>2],zb[511&_[_[e>>2]>>2]](e),0|(e=0|_[t+72>>2])&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),e=0|_[t+88>>2],zb[511&_[_[e>>2]>>2]](e),0|(e=0|_[t+88>>2])&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),e=0|_[t+84>>2],zb[511&_[_[e>>2]>>2]](e),0|(e=0|_[t+84>>2])&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),0|(e=0|_[t+24>>2])&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),e=0|_[t+28>>2],zb[511&_[_[e>>2]>>2]](e),(e=0|_[t+28>>2])&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2]))}function Z(t,e){t|=0,e=+e;var i,o=0,r=0,s=0,c=0,a=0,b=0,d=0,f=0,u=0,m=0,h=0,y=0,g=0;if(i=Q,Q=Q+16|0,$i(14599),(0|(o=0|_[t+232>>2]))>0){y=0;do{if(h=0|_[(0|_[t+240>>2])+(y<<2)>>2],!(3&_[h+204>>2])){u=+p[h+444>>2],s=+A(+(1-u),+e),c=+p[h+312>>2]*s,p[h+312>>2]=c,r=s*+p[h+316>>2],p[h+316>>2]=r,s*=+p[h+320>>2],p[h+320>>2]=s,m=+p[h+448>>2],b=+A(+(1-m),+e),a=+p[h+328>>2]*b,p[h+328>>2]=a,d=b*+p[h+332>>2],p[h+332>>2]=d,b*=+p[h+336>>2],p[h+336>>2]=b;do{if(0|n[h+452|0]){a*a+d*d+b*b<+p[h+464>>2]&&c*c+r*r+s*s<+p[h+460>>2]?(g=+p[h+456>>2],p[h+328>>2]=a*g,p[h+332>>2]=d*g,p[h+336>>2]=b*g,p[h+312>>2]=c*g,p[h+316>>2]=r*g,p[h+320>>2]=s*g,r*=g,f=s*g,a*=g,d*=g,b*=g,c*=g):f=s,s=+l(+(c*c+r*r+f*f));do{if(s<u){if(s>.004999999888241291){p[h+312>>2]=c-c*(1/s)*.004999999888241291,p[h+316>>2]=r-r*(1/s)*.004999999888241291,p[h+320>>2]=f-f*(1/s)*.004999999888241291;break}_[h+312>>2]=0,_[h+312+4>>2]=0,_[h+312+8>>2]=0,_[h+312+12>>2]=0;break}}while(0);if((r=+l(+(a*a+d*d+b*b)))<m){if(r>.004999999888241291){p[h+328>>2]=a-a*(1/r)*.004999999888241291,p[h+332>>2]=d-d*(1/r)*.004999999888241291,p[h+336>>2]=b-b*(1/r)*.004999999888241291;break}_[h+328>>2]=0,_[h+328+4>>2]=0,_[h+328+8>>2]=0,_[h+328+12>>2]=0;break}}}while(0);Bt(h+4|0,+p[h+312>>2],+p[h+316>>2],+p[h+320>>2],h+328|0,e,h+68|0),o=0|_[t+232>>2]}y=y+1|0}while((0|y)<(0|o))}if(o=0|_[2606],t=(0|_[o+16>>2])-1|0,_[o+16>>2]=t,0|t)Q=i;else{do{if(0|_[o+4>>2]){if(G(0|i,0),t=0|_[6629],p[o+8>>2]=+p[o+8>>2]+ +(((0|_[i+4>>2])-(0|_[t+4>>2])+(1e6*((0|_[i>>2])-(0|_[t>>2])|0)|0)-(0|_[o+12>>2])|0)>>>0)/1e3,0|_[o+16>>2])return void(Q=i);o=0|_[2606];break}}while(0);_[2606]=_[o+20>>2],Q=i}}function U(t,e,i){e|=0,i|=0;var n=0,o=0,r=0,s=0,c=0,a=0,b=0,l=0,A=0;if(!(0|_[(t|=0)>>2]))return _[t>>2]=i,void(_[i+32>>2]=0);if(o=0|_[e+40>>2]){n=+p[i>>2]+ +p[i+16>>2],c=+p[i+4>>2]+ +p[i+20>>2],a=+p[i+8>>2]+ +p[i+24>>2];do{l=0|_[e+36>>2],e=e+36+((1&!((A=+d(+(n-(+p[l>>2]+ +p[l+16>>2])))+ +d(+(c-(+p[l+4>>2]+ +p[l+20>>2])))+ +d(+(a-(+p[l+8>>2]+ +p[l+24>>2]))))<+d(+(n-(+p[o>>2]+ +p[o+16>>2])))+ +d(+(c-(+p[o+4>>2]+ +p[o+20>>2])))+ +d(+(a-(+p[o+8>>2]+ +p[o+24>>2])))))<<2)|0,e=0|_[e>>2],o=0|_[e+40>>2]}while(0|o);b=e}else b=e;if(r=0|_[(l=b+32|0)>>2],e=0|_[t+4>>2])_[t+4>>2]=0;else{_[6630]=1+(0|_[6630]),(e=0|di(63))?(_[(e+4+15&-16)-4>>2]=e,e=e+4+15&-16):e=0,s=(o=e)+44|0;do{_[o>>2]=0,o=o+4|0}while((0|o)<(0|s))}if(_[e+32>>2]=r,_[e+36>>2]=0,_[(o=e+40|0)>>2]=0,A=+p[i>>2],a=+p[b>>2],p[e>>2]=A<a?A:a,a=+p[i+16>>2],A=+p[b+16>>2],p[e+16>>2]=a>A?a:A,A=+p[i+4>>2],a=+p[b+4>>2],p[e+4>>2]=A<a?A:a,a=+p[i+20>>2],A=+p[b+20>>2],p[e+20>>2]=a>A?a:A,A=+p[i+8>>2],a=+p[b+8>>2],p[e+8>>2]=A<a?A:a,a=+p[i+24>>2],A=+p[b+24>>2],p[e+24>>2]=a>A?a:A,!r)return _[e+36>>2]=b,_[l>>2]=e,_[o>>2]=i,_[i+32>>2]=e,void(_[t>>2]=e);for(_[r+36+(((0|_[40+(0|_[l>>2])>>2])==(0|b)&1)<<2)>>2]=e,_[e+36>>2]=b,_[l>>2]=e,_[o>>2]=i,_[i+32>>2]=e,o=e,n=+p[e>>2];;){if(e=r+4|0,+p[r>>2]<=n&&+p[e>>2]<=+p[o+4>>2]&&+p[r+8>>2]<=+p[o+8>>2]&&+p[r+16>>2]>=+p[o+16>>2]&&+p[r+20>>2]>=+p[o+20>>2]&&+p[r+24>>2]>=+p[o+24>>2]){e=21;break}if(t=0|_[r+36>>2],i=0|_[r+40>>2],n=(a=+p[t>>2])<(n=+p[i>>2])?a:n,p[r>>2]=n,a=+p[t+16>>2],A=+p[i+16>>2],p[r+16>>2]=a>A?a:A,A=+p[t+4>>2],a=+p[i+4>>2],p[e>>2]=A<a?A:a,a=+p[t+20>>2],A=+p[i+20>>2],p[r+20>>2]=a>A?a:A,A=+p[t+8>>2],a=+p[i+8>>2],p[r+8>>2]=A<a?A:a,a=+p[t+24>>2],A=+p[i+24>>2],p[r+24>>2]=a>A?a:A,!(e=0|_[r+32>>2])){e=21;break}o=r,r=e}}function Y(t,e,i){t|=0,i|=0;var n=0,o=0;return _[16+(e|=0)>>2]=_[t+4>>2],_[e+20>>2]=_[t+8>>2],_[e+24>>2]=_[t+12>>2],_[e+28>>2]=_[t+16>>2],_[e+32>>2]=_[t+20>>2],_[e+36>>2]=_[t+24>>2],_[e+40>>2]=_[t+28>>2],_[e+44>>2]=_[t+32>>2],_[e+48>>2]=_[t+36>>2],_[e+52>>2]=_[t+40>>2],_[e+56>>2]=_[t+44>>2],_[e+60>>2]=_[t+48>>2],_[e+64>>2]=_[t+52>>2],_[e+68>>2]=_[t+56>>2],_[e+72>>2]=_[t+60>>2],_[e+76>>2]=_[t+64>>2],_[e+80>>2]=_[t+68>>2],_[e+84>>2]=_[t+72>>2],_[e+88>>2]=_[t+76>>2],_[e+92>>2]=_[t+80>>2],_[e+96>>2]=_[t+84>>2],_[e+100>>2]=_[t+88>>2],_[e+104>>2]=_[t+92>>2],_[e+108>>2]=_[t+96>>2],_[e+112>>2]=_[t+100>>2],_[e+116>>2]=_[t+104>>2],_[e+120>>2]=_[t+108>>2],_[e+124>>2]=_[t+112>>2],_[e+128>>2]=_[t+116>>2],_[e+132>>2]=_[t+120>>2],_[e+136>>2]=_[t+124>>2],_[e+140>>2]=_[t+128>>2],_[e+144>>2]=_[t+132>>2],_[e+148>>2]=_[t+136>>2],_[e+152>>2]=_[t+140>>2],_[e+156>>2]=_[t+144>>2],_[e+160>>2]=_[t+148>>2],_[e+164>>2]=_[t+152>>2],_[e+168>>2]=_[t+156>>2],_[e+172>>2]=_[t+160>>2],_[e+176>>2]=_[t+164>>2],_[e+180>>2]=_[t+168>>2],_[e+184>>2]=_[t+172>>2],_[e+188>>2]=_[t+176>>2],_[e+224>>2]=_[t+180>>2],_[e+192>>2]=_[t+184>>2],_[e>>2]=0,n=0|Qb[31&_[28+(0|_[i>>2])>>2]](i,0|_[t+192>>2]),_[e+4>>2]=n,_[e+8>>2]=0,_[e+228>>2]=_[t+204>>2],_[e+232>>2]=_[t+208>>2],_[e+236>>2]=_[t+212>>2],_[e+240>>2]=_[t+216>>2],_[e+196>>2]=_[t+220>>2],_[e+200>>2]=_[t+224>>2],_[e+204>>2]=_[t+232>>2],_[e+208>>2]=_[t+228>>2],_[e+244>>2]=_[t+236>>2],n=0|Qb[31&_[40+(0|_[i>>2])>>2]](i,t),o=0|Qb[31&_[28+(0|_[i>>2])>>2]](i,n),_[e+12>>2]=o,o?(id[127&_[48+(0|_[i>>2])>>2]](i,n),o=0|_[(o=t+244|0)>>2],_[(i=e+212|0)>>2]=o,i=0|_[(i=t+248|0)>>2],_[(o=e+216|0)>>2]=i,o=0|_[(o=t+252|0)>>2],_[(i=e+220|0)>>2]=o,i=0|_[(i=t+256|0)>>2],_[(o=e+248|0)>>2]=i,15579):(o=0|_[(o=t+244|0)>>2],_[(i=e+212|0)>>2]=o,i=0|_[(i=t+248|0)>>2],_[(o=e+216|0)>>2]=i,o=0|_[(o=t+252|0)>>2],_[(i=e+220|0)>>2]=o,i=0|_[(i=t+256|0)>>2],_[(o=e+248|0)>>2]=i,15579)}function J(t,e){e|=0;var i,o,r,s,c,a,b,d=0,l=0,A=0,f=0,u=0,m=0;return b=Q,Q=Q+64|0,jt(0|_[116+(t|=0)>>2],e,0),f=(d=+p[e+204>>2]+ +p[e+212>>2])*+p[e+56>>2]+ +p[e+40>>2],u=d*+p[e+60>>2]+ +p[e+44>>2],p[e+16>>2]=+p[e+52>>2]*d+ +p[e+36>>2],p[e+20>>2]=f,p[e+24>>2]=u,p[e+28>>2]=0,p[b+32>>2]=-1,m=0|_[t+100>>2],m=0|Zb[31&_[8+(0|_[m>>2])>>2]](m,e+36|0,e+16|0,b),_[e+88>>2]=0,m?(u=d*+p[b+32>>2],_[e>>2]=_[b+16>>2],_[e+4>>2]=_[b+16+4>>2],_[e+8>>2]=_[b+16+8>>2],_[e+12>>2]=_[b+16+12>>2],n[e+84|0]=1,!(0|n[24504])&&0|Qs(24504)&&(_[b+40>>2]=0,_[b+40+4>>2]=0,_[b+40+8>>2]=0,_[b+40+12>>2]=0,ut(25804,0,0,0,b+40|0)),_[6502]=1|_[6502],p[6537]=0,f=0*+p[6547],d=0*+p[6548],p[6542]=0*+p[6546],p[6543]=f,p[6544]=d,p[6545]=0,_[6550]=0,_[6551]=0,_[6552]=0,_[6553]=0,d=0*+p[6539],f=0*+p[6540],p[6591]=0*+p[6538],p[6592]=d,p[6593]=f,p[6594]=0,_[e+88>>2]=25804,f=u-+p[e+212>>2],p[e+32>>2]=f,f<(d=+p[e+204>>2])-(l=.009999999776482582*+p[e+208>>2])|(A=f<d-l?d-l:f)>d+l&&(p[e+32>>2]=A>d+l?d+l:A),_[e+16>>2]=_[b>>2],_[e+16+4>>2]=_[b+4>>2],_[e+16+8>>2]=_[b+8>>2],_[e+16+12>>2]=_[b+12>>2],s=+p[e>>2],c=+p[e+4>>2],a=+p[e+8>>2],f=s*+p[e+52>>2]+c*+p[e+56>>2]+a*+p[e+60>>2],t=0|_[t+116>>2],A=+p[e+16>>2]-+p[t+52>>2],i=+p[e+20>>2]-+p[t+56>>2],o=+p[e+24>>2]-+p[t+60>>2],r=+p[t+332>>2],d=+p[t+336>>2],l=+p[t+328>>2],f>=-.10000000149011612?(p[e+272>>2]=0,f=10,p[(m=e+268|0)>>2]=f,Q=b,+u):(p[e+272>>2]=-1/f*(s*(r*o-i*d+ +p[t+312>>2])+c*(A*d-o*l+ +p[t+316>>2])+a*(i*l-A*r+ +p[t+320>>2])),f=-1/f,p[(m=e+268|0)>>2]=f,Q=b,+u)):(_[e+32>>2]=_[e+204>>2],p[e+272>>2]=0,f=-+p[e+56>>2],u=-+p[e+60>>2],p[e>>2]=-+p[e+52>>2],p[e+4>>2]=f,p[e+8>>2]=u,p[e+12>>2]=0,u=-1,f=1,p[(m=e+268|0)>>2]=f,Q=b,+u)}function X(t,e){e|=0;var i=0,n=0,o=0,r=0,s=0,c=0,a=0,b=0,l=0,A=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0,k=0;return 4!=(0|(i=0|_[748+(t|=0)>>2]))?(_[t+748>>2]=i+1,_e(0|(t=t+4+(184*(k=(w=(0|(k=i))>0)?k:0)|0)|0),0|e,184),0|k):(a=+p[e+80>>2],v=(S=+p[t+84>>2])<a?S:a,g=(C=+p[t+268>>2])<v?C:v,y=+p[t+452>>2],i=(k=+p[t+636>>2]<(y<g?y:g))?3:y<g?2:C<v?1:(S<a^1)<<31>>31,a=+p[e>>2],i?(A=+p[t+188>>2],r=+p[e+4>>2],m=+p[t+192>>2],c=+p[e+8>>2],u=+p[t+196>>2],l=+p[t+556>>2],y=+p[t+372>>2],s=((a-A)*((o=+p[t+560>>2])-(f=+p[t+376>>2]))-(r-m)*(l-y))*((a-A)*(o-f)-(r-m)*(l-y))+(((r-m)*((n=+p[t+564>>2])-(b=+p[t+380>>2]))-(c-u)*(o-f))*((r-m)*(n-b)-(c-u)*(o-f))+((c-u)*(l-y)-(a-A)*(n-b))*((c-u)*(l-y)-(a-A)*(n-b))),1==(0|i)?(a-=+p[t+4>>2],C=r-+p[t+8>>2],g=c-+p[t+12>>2],r=0,c=u,w=7):(g=l-y,C=o-f,h=n-b,w=6)):(g=(l=+p[t+556>>2])-(y=+p[t+372>>2]),C=(o=+p[t+560>>2])-(f=+p[t+376>>2]),h=(n=+p[t+564>>2])-(b=+p[t+380>>2]),A=+p[t+188>>2],m=+p[t+192>>2],u=+p[t+196>>2],s=0,r=+p[e+4>>2],c=+p[e+8>>2],w=6),6==(0|w)&&(a-=+p[t+4>>2],S=(r-=+p[t+8>>2])*h-(c-=+p[t+12>>2])*C,v=c*g-a*h,h=a*C-r*g,2==(0|i)?(C=r,g=c,l=f,c=u,o=b,n=0,r=h*h+(S*S+v*v),w=8):(C=r,g=c,r=h*h+(S*S+v*v),c=u,w=7)),7==(0|w)&&(h=C*(n-=c)-g*(S=o-m),n=g*(u=l-A)-a*n,u=a*S-C*u,k?(n=u*u+(h*h+n*n),o=0):(l=f,o=b,n=u*u+(h*h+n*n),w=8)),8==(0|w)&&(v=y-A,S=C*(o-=c)-g*(y=l-m),o=g*v-a*o,o=(v=a*y-C*v)*v+(S*S+o*o)),S=+d(+s),C=+d(+r),y=+d(+n),_e(0|(t=t+4+(184*(k=(w=(0|(k=(h=+d(+o))>(y>(g=C>(v=S>-0xde0b6b000000000?S:-0xde0b6b000000000)?C:v)?y:g)?3:y>g?2:C>v?1:(S>-0xde0b6b000000000^1)<<31>>31))>0)?k:0)|0)|0),0|e,184),0|k)}function z(t,e,i,n){e|=0,i|=0,n|=0;var o,r,s,c,a,b,d=0,l=0,A=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0;for(b=Q,Q=Q+32|0,S=0|_[12+(t|=0)>>2],o=+p[S+(24*((n+i|0)/2|0)|0)>>2],s=+p[S+(24*((n+i|0)/2|0)|0)+4>>2],c=+p[S+(24*((n+i|0)/2|0)|0)+8>>2],a=+p[S+(24*((n+i|0)/2|0)|0)+16>>2],r=0|_[S+(24*((n+i|0)/2|0)|0)+20>>2],d=n,l=i;;){v=(o-(y=+p[e>>2]))*(o-y)+(s-(g=+p[e+4>>2]))*(s-g)+(c-(C=+p[e+8>>2]))*(c-C);t:for(;;){h=S+(24*l|0)|0,A=+p[S+(24*l|0)+16>>2];do{if(A==a){if((A=+p[h>>2]-y)*A+(f=+p[S+(24*l|0)+4>>2]-g)*f+(u=+p[S+(24*l|0)+8>>2]-C)*u!=v){if(A*A+f*f+u*u<v)break;break t}if((0|_[S+(24*l|0)+20>>2])<(0|r))break;break t}if(!(A<a))break t}while(0);l=l+1|0}t:for(;;){m=S+(24*d|0)|0,A=+p[S+(24*d|0)+16>>2];do{if(a==A){if(v!=(A=+p[m>>2]-y)*A+(f=+p[S+(24*d|0)+4>>2]-g)*f+(u=+p[S+(24*d|0)+8>>2]-C)*u){if(v<A*A+f*f+u*u)break;break t}if((0|r)<(0|_[S+(24*d|0)+20>>2]))break;break t}if(!(a<A))break t}while(0);d=d+-1|0}if((0|l)<=(0|d)&&(_[b>>2]=_[h>>2],_[b+4>>2]=_[h+4>>2],_[b+8>>2]=_[h+8>>2],_[b+12>>2]=_[h+12>>2],_[b+16>>2]=_[h+16>>2],_[b+20>>2]=_[h+20>>2],_[h>>2]=_[m>>2],_[h+4>>2]=_[m+4>>2],_[h+8>>2]=_[m+8>>2],_[h+12>>2]=_[m+12>>2],_[h+16>>2]=_[m+16>>2],_[h+20>>2]=_[m+20>>2],S=(0|_[t+12>>2])+(24*d|0)|0,_[S>>2]=_[b>>2],_[S+4>>2]=_[b+4>>2],_[S+8>>2]=_[b+8>>2],_[S+12>>2]=_[b+12>>2],_[S+16>>2]=_[b+16>>2],_[S+20>>2]=_[b+20>>2],d=d+-1|0,l=l+1|0),(0|l)>(0|d))break;S=0|_[t+12>>2]}(0|d)>(0|i)&&z(t,e,i,d),(0|l)>=(0|n)||z(t,e,l,n),Q=b}function K(t,e){t|=0;var i,o=0,r=0,s=0,c=0,a=0,b=0,d=0,l=0;if(i=Q,Q=Q+64|0,o=0|_[192+(e|=0)>>2],cd[127&_[8+(0|_[o>>2])>>2]](o,e+4|0,i+48|0,i+32|0),r=+p[i+48>>2]-.019999999552965164,p[i+48>>2]=r,c=+p[i+48+4>>2]-.019999999552965164,p[i+48+4>>2]=c,a=+p[i+48+8>>2]-.019999999552965164,p[i+48+8>>2]=a,s=+p[i+32>>2]+.019999999552965164,p[i+32>>2]=s,b=+p[i+32+4>>2]+.019999999552965164,p[i+32+4>>2]=b,d=+p[i+32+8>>2]+.019999999552965164,p[i+32+8>>2]=d,0|n[t+44|0]&&2==(0|_[e+236>>2])&&!(3&_[e+204>>2])&&(o=0|_[e+192>>2],cd[127&_[8+(0|_[o>>2])>>2]](o,e+68|0,i+16|0,i),r=+p[i+16>>2]-.019999999552965164,p[i+16>>2]=r,a=+p[i+16+4>>2]-.019999999552965164,p[i+16+4>>2]=a,b=+p[i+16+8>>2]-.019999999552965164,p[i+16+8>>2]=b,s=+p[i>>2]+.019999999552965164,p[i>>2]=s,d=+p[i+4>>2]+.019999999552965164,p[i+4>>2]=d,l=+p[i+8>>2]+.019999999552965164,p[i+8>>2]=l,r<(c=+p[i+48>>2])?p[i+48>>2]=r:r=c,a<(c=+p[i+48+4>>2])&&(p[i+48+4>>2]=a,c=a),b<(a=+p[i+48+8>>2])&&(p[i+48+8>>2]=b,a=b),(b=+p[i+16+12>>2])<+p[i+48+12>>2]&&(p[i+48+12>>2]=b),(b=+p[i+32>>2])<s?p[i+32>>2]=s:s=b,(b=+p[i+32+4>>2])<d&&(p[i+32+4>>2]=d,b=d),(d=+p[i+32+8>>2])<l&&(p[i+32+8>>2]=l,d=l),l=+p[i+12>>2],+p[i+32+12>>2]<l&&(p[i+32+12>>2]=l)),o=0|_[t+68>>2],!(1&_[e+204>>2]||(s-=r)*s+(b-=c)*b+(l=d-a)*l<999999995904))return 4!=(-2&_[e+216>>2])&&(_[e+216>>2]=5),0|n[17398]&&(o=0|_[t+72>>2])?(n[17398]=0,id[127&_[36+(0|_[o>>2])>>2]](o,17399),e=0|_[t+72>>2],id[127&_[36+(0|_[e>>2])>>2]](e,17448),e=0|_[t+72>>2],id[127&_[36+(0|_[e>>2])>>2]](e,17516),t=0|_[t+72>>2],id[127&_[36+(0|_[t>>2])>>2]](t,17581),void(Q=i)):void(Q=i);ld[31&_[16+(0|_[o>>2])>>2]](o,0|_[e+188>>2],i+48|0,i+32|0,0|_[t+24>>2]),Q=i}function q(t,e){e|=0;var i,o=0,r=0,s=0,p=0,c=0,a=0,b=0;if((0|(i=0|_[4+(t|=0)>>2]))==(0|_[t+8>>2])&&(0|i)<(0|(p=0|i?i<<1:1))){if(p?(_[6630]=1+(0|_[6630]),(o=0|di(16+(244*p|3)|0))?(_[(o+4+15&-16)-4>>2]=o,o=o+4+15&-16):o=0,s=0|_[t+4>>2]):(o=0,s=i),(0|s)>0){r=0;do{a=o+(244*r|0)|0,b=(c=0|_[t+12>>2])+(244*r|0)|0,_[a>>2]=_[b>>2],_[a+4>>2]=_[b+4>>2],_[a+8>>2]=_[b+8>>2],_[a+12>>2]=_[b+12>>2],a=c+(244*r|0)+16|0,_[(b=o+(244*r|0)+16|0)>>2]=_[a>>2],_[b+4>>2]=_[a+4>>2],_[b+8>>2]=_[a+8>>2],_[b+12>>2]=_[a+12>>2],b=c+(244*r|0)+32|0,_[(a=o+(244*r|0)+32|0)>>2]=_[b>>2],_[a+4>>2]=_[b+4>>2],_[a+8>>2]=_[b+8>>2],_[a+12>>2]=_[b+12>>2],b=c+(244*r|0)+48|0,_[(a=o+(244*r|0)+48|0)>>2]=_[b>>2],_[a+4>>2]=_[b+4>>2],_[a+8>>2]=_[b+8>>2],_[a+12>>2]=_[b+12>>2],_e(o+(244*r|0)+64|0,c+(244*r|0)+64|0,180),r=r+1|0}while((0|r)!=(0|s))}0|(r=0|_[t+12>>2])&&(0|n[t+16|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[r+-4>>2])),_[t+12>>2]=0),n[t+16|0]=1,_[t+12>>2]=o,_[t+8>>2]=p,o=0|_[t+4>>2]}else o=i;return _[t+4>>2]=o+1,b=0|_[t+12>>2],_[b+(244*i|0)>>2]=_[e>>2],_[b+(244*i|0)+4>>2]=_[e+4>>2],_[b+(244*i|0)+8>>2]=_[e+8>>2],_[b+(244*i|0)+12>>2]=_[e+12>>2],_[b+(244*i|0)+16>>2]=_[e+16>>2],_[b+(244*i|0)+16+4>>2]=_[e+16+4>>2],_[b+(244*i|0)+16+8>>2]=_[e+16+8>>2],_[b+(244*i|0)+16+12>>2]=_[e+16+12>>2],_[b+(244*i|0)+32>>2]=_[e+32>>2],_[b+(244*i|0)+32+4>>2]=_[e+32+4>>2],_[b+(244*i|0)+32+8>>2]=_[e+32+8>>2],_[b+(244*i|0)+32+12>>2]=_[e+32+12>>2],_[b+(244*i|0)+48>>2]=_[e+48>>2],_[b+(244*i|0)+48+4>>2]=_[e+48+4>>2],_[b+(244*i|0)+48+8>>2]=_[e+48+8>>2],_[b+(244*i|0)+48+12>>2]=_[e+48+12>>2],_e(b+(244*i|0)+64|0,e+64|0,180),(0|_[t+12>>2])+(244*i|0)|0}function $(t,e,i,n){e|=0,i|=0,n|=0;var o,r,s,c,a,b,d,A,f,u,h,y,g,C,v=0,S=0,w=0,k=0,R=0,j=0;return o=Q,Q=Q+64|0,r=+p[20+(t|=0)>>2],f=+p[t+40>>2],c=+p[t+24>>2],d=+p[t+36>>2],A=+p[t+32>>2],R=+p[t+16>>2],S=1/((r*f-c*d)*(k=+p[t>>2])+(w=+p[t+4>>2])*(c*A-f*R)+(d*R-r*A)*(a=+p[t+8>>2])),C=+p[e>>2],g=+p[e+4>>2],j=+p[e+8>>2],y=+p[e+16>>2],h=+p[e+20>>2],u=+p[e+24>>2],b=+p[e+32>>2],s=+p[e+36>>2],v=+p[e+40>>2],p[o+16>>2]=j*((d*R-r*A)*S)+(C*((r*f-c*d)*S)+g*((c*A-f*R)*S)),p[o+16+4>>2]=j*((A*w-d*k)*S)+(C*((d*a-f*w)*S)+g*((f*k-A*a)*S)),p[o+16+8>>2]=j*((r*k-R*w)*S)+(C*((c*w-r*a)*S)+g*((R*a-c*k)*S)),p[o+16+12>>2]=0,p[o+16+16>>2]=(r*f-c*d)*S*y+(c*A-f*R)*S*h+(d*R-r*A)*S*u,p[o+16+20>>2]=(d*a-f*w)*S*y+(f*k-A*a)*S*h+(A*w-d*k)*S*u,p[o+16+24>>2]=(c*w-r*a)*S*y+(R*a-c*k)*S*h+(r*k-R*w)*S*u,p[o+16+28>>2]=0,p[o+16+32>>2]=(r*f-c*d)*S*b+(c*A-f*R)*S*s+(d*R-r*A)*S*v,p[o+16+36>>2]=(d*a-f*w)*S*b+(f*k-A*a)*S*s+(A*w-d*k)*S*v,p[o+16+40>>2]=(c*w-r*a)*S*b+(R*a-c*k)*S*s+(r*k-R*w)*S*v,p[o+16+44>>2]=0,Qt(o+16|0,o),v=+p[o>>2],S=+p[o+4>>2],w=+p[o+8>>2],R=+p[o+12>>2],k=1/+l(+(v*v+S*S+w*w+R*R)),p[o>>2]=v*k,p[o+4>>2]=S*k,p[o+8>>2]=w*k,p[o+12>>2]=R*k,R=2*+m(+((R=R*k<-1?-1:R*k)>1?1:R)),p[n>>2]=R,p[i>>2]=v*k,p[i+4>>2]=S*k,p[i+8>>2]=w*k,p[i+12>>2]=0,v*k*(v*k)+S*k*(S*k)+w*k*(w*k)<14210854715202004e-30?(_[i>>2]=1065353216,_[i+4>>2]=0,_[i+8>>2]=0,p[i+12>>2]=0,void(Q=o)):(j=1/+l(+(v*k*(v*k)+S*k*(S*k)+w*k*(w*k))),p[i>>2]=v*k*j,p[i+4>>2]=S*k*j,p[i+8>>2]=w*k*j,void(Q=o))}function tt(t){var e,i,o=0,r=0,s=0,p=0,c=0,a=0;if(a=0|_[12+(t|=0)>>2],!((0|(i=0|_[t+36>>2]))>=(0|a))){do{if((0|_[t+40>>2])<(0|a)){if(a?(_[6630]=1+(0|_[6630]),(o=0|di(16+(a<<2|3)|0))?(_[(o+4+15&-16)-4>>2]=o,o=o+4+15&-16):o=0,s=0|_[t+36>>2]):(o=0,s=i),p=0|_[t+44>>2],(0|s)<=0){if(!p){n[t+48|0]=1,_[t+44>>2]=o,_[t+40>>2]=a,c=t+44|0;break}}else{r=0;do{_[o+(r<<2)>>2]=_[p+(r<<2)>>2],r=r+1|0}while((0|r)!=(0|s))}0|n[t+48|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[p+-4>>2])),n[t+48|0]=1,_[t+44>>2]=o,_[t+40>>2]=a,c=t+44|0}else c=t+44|0,o=0|_[t+44>>2]}while(0);if(wn(o+(i<<2)|0,0,(a<<2)-(i<<2)|0),_[t+36>>2]=a,(0|(e=0|_[t+56>>2]))<(0|a)){do{if((0|_[t+60>>2])<(0|a)){if(a?(_[6630]=1+(0|_[6630]),(o=0|di(16+(a<<2|3)|0))?(_[(o+4+15&-16)-4>>2]=o,o=o+4+15&-16):o=0,s=0|_[t+56>>2]):(o=0,s=e),p=0|_[t+64>>2],(0|s)<=0){if(!p){n[t+68|0]=1,_[t+64>>2]=o,_[t+60>>2]=a;break}}else{r=0;do{_[o+(r<<2)>>2]=_[p+(r<<2)>>2],r=r+1|0}while((0|r)!=(0|s))}0|n[t+68|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[p+-4>>2])),n[t+68|0]=1,_[t+64>>2]=o,_[t+60>>2]=a}else o=0|_[t+64>>2]}while(0);wn(o+(e<<2)|0,0,(a<<2)-(e<<2)|0)}if(_[t+56>>2]=a,(0|a)>0&&(wn(0|_[c>>2],-1,a<<2),wn(0|_[t+64>>2],-1,a<<2)),!((0|i)<=0)){p=0|_[t+16>>2],r=0|_[c>>2],s=0|_[t+64>>2],o=0;do{a=9*((a=_[12+(0|_[p+(o<<4)+4>>2])>>2]<<16|_[12+(0|_[p+(o<<4)>>2])>>2])+~(a<<15)>>10^a+~(a<<15))|0,a=r+((((a^=a>>6)+~(a<<11)>>16^a+~(a<<11))&(0|_[t+12>>2])-1)<<2)|0,_[s+(o<<2)>>2]=_[a>>2],_[a>>2]=o,o=o+1|0}while((0|o)!=(0|i))}}}function et(t){var e,i,o=0,r=0,s=0,p=0,c=0,a=0;if(a=0|_[12+(t|=0)>>2],!((0|(i=0|_[t+32>>2]))>=(0|a))){do{if((0|_[t+36>>2])<(0|a)){if(a?(_[6630]=1+(0|_[6630]),(o=0|di(16+(a<<2|3)|0))?(_[(o+4+15&-16)-4>>2]=o,o=o+4+15&-16):o=0,s=0|_[t+32>>2]):(o=0,s=i),p=0|_[t+40>>2],(0|s)<=0){if(!p){n[t+44|0]=1,_[t+40>>2]=o,_[t+36>>2]=a,c=t+40|0;break}}else{r=0;do{_[o+(r<<2)>>2]=_[p+(r<<2)>>2],r=r+1|0}while((0|r)!=(0|s))}0|n[t+44|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[p+-4>>2])),n[t+44|0]=1,_[t+40>>2]=o,_[t+36>>2]=a,c=t+40|0}else c=t+40|0,o=0|_[t+40>>2]}while(0);if(wn(o+(i<<2)|0,0,(a<<2)-(i<<2)|0),_[t+32>>2]=a,(0|(e=0|_[t+52>>2]))<(0|a)){do{if((0|_[t+56>>2])<(0|a)){if(a?(_[6630]=1+(0|_[6630]),(o=0|di(16+(a<<2|3)|0))?(_[(o+4+15&-16)-4>>2]=o,o=o+4+15&-16):o=0,s=0|_[t+52>>2]):(o=0,s=e),p=0|_[t+60>>2],(0|s)<=0){if(!p){n[t+64|0]=1,_[t+60>>2]=o,_[t+56>>2]=a;break}}else{r=0;do{_[o+(r<<2)>>2]=_[p+(r<<2)>>2],r=r+1|0}while((0|r)!=(0|s))}0|n[t+64|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[p+-4>>2])),n[t+64|0]=1,_[t+60>>2]=o,_[t+56>>2]=a}else o=0|_[t+60>>2]}while(0);wn(o+(e<<2)|0,0,(a<<2)-(e<<2)|0)}if(_[t+52>>2]=a,(0|a)>0&&(wn(0|_[c>>2],-1,a<<2),wn(0|_[t+60>>2],-1,a<<2)),!((0|i)<=0)){p=0|_[t+16>>2],r=0|_[c>>2],s=0|_[t+60>>2],o=0;do{a=9*((a=_[p+(12*o|0)+4>>2]<<16|_[p+(12*o|0)>>2])+~(a<<15)>>10^a+~(a<<15))|0,a=r+((((a^=a>>6)+~(a<<11)>>16^a+~(a<<11))&(0|_[t+12>>2])-1)<<2)|0,_[s+(o<<2)>>2]=_[a>>2],_[a>>2]=o,o=o+1|0}while((0|o)!=(0|i))}}}function it(t,e,i,n,o){t|=0,i|=0,n|=0,o|=0;var r,s,c,a,b,d,l,A=0,f=0,u=0;r=Q,Q=Q+128|0,(e|=0)?(0|_[e+40>>2]&&(it(t,0|_[e+36>>2],i+1|0,n,o),it(t,0|_[e+40>>2],i+1|0,n,o)),(0|i)<0||(s=.5*((u=+p[e>>2])+(l=+p[e+16>>2]))-.5*(l-u),c=.5*((f=+p[e+4>>2])+(d=+p[e+20>>2]))-.5*(d-f),a=.5*((A=+p[e+8>>2])+(b=+p[e+24>>2]))-.5*(b-A),u=.5*(u+l)+.5*(l-u),f=.5*(f+d)+.5*(d-f),A=.5*(A+b)+.5*(b-A),o=0|_[e+40>>2]?n:o,p[r>>2]=s,p[r+4>>2]=c,p[r+8>>2]=a,p[r+12>>2]=0,p[r+16>>2]=u,p[r+20>>2]=c,p[r+24>>2]=a,p[r+28>>2]=0,p[r+32>>2]=u,p[r+36>>2]=f,p[r+40>>2]=a,p[r+44>>2]=0,p[r+48>>2]=s,p[r+52>>2]=f,p[r+56>>2]=a,p[r+60>>2]=0,p[r+64>>2]=s,p[r+68>>2]=c,p[r+72>>2]=A,p[r+76>>2]=0,p[r+80>>2]=u,p[r+84>>2]=c,p[r+88>>2]=A,p[r+92>>2]=0,p[r+96>>2]=u,p[r+100>>2]=f,p[r+104>>2]=A,p[r+108>>2]=0,p[r+112>>2]=s,p[r+116>>2]=f,p[r+120>>2]=A,p[r+124>>2]=0,cd[127&_[8+(0|_[t>>2])>>2]](t,r,r+16|0,o),cd[127&_[8+(0|_[t>>2])>>2]](t,r+16|0,r+32|0,o),cd[127&_[8+(0|_[t>>2])>>2]](t,r+32|0,r+48|0,o),cd[127&_[8+(0|_[t>>2])>>2]](t,r+48|0,r,o),cd[127&_[8+(0|_[t>>2])>>2]](t,r+64|0,r+80|0,o),cd[127&_[8+(0|_[t>>2])>>2]](t,r+80|0,r+96|0,o),cd[127&_[8+(0|_[t>>2])>>2]](t,r+96|0,r+112|0,o),cd[127&_[8+(0|_[t>>2])>>2]](t,r+112|0,r+64|0,o),cd[127&_[8+(0|_[t>>2])>>2]](t,r,r+64|0,o),cd[127&_[8+(0|_[t>>2])>>2]](t,r+16|0,r+80|0,o),cd[127&_[8+(0|_[t>>2])>>2]](t,r+32|0,r+96|0,o),cd[127&_[8+(0|_[t>>2])>>2]](t,r+48|0,r+112|0,o)),Q=r):Q=r}function nt(t,e,i,n,o,_,r,s){var c,a,b,d,l,A,f,u,m,h,y,g,C,v,S,w;t|=0,e=+e,i=+i,_=+_,r=+r,s=+s,c=(n=+n)-(0*(0*(w=+p[(o|=0)>>2])+(S=+p[o+16>>2])*-s+(v=+p[o+32>>2])*r)+(0*(C=+p[o+4>>2])+(g=+p[o+20>>2])*-s+(y=+p[o+36>>2])*r)*s+(0*(h=+p[o+8>>2])+(m=+p[o+24>>2])*-s+(u=+p[o+40>>2])*r)*-r)+i,A=0-((0*w+S*-s+v*r)*-s+0*(0*C+g*-s+y*r)+(0*h+m*-s+u*r)*_)+0,d=0-(0*(w*s+0*S+v*-_)+(C*s+0*g+y*-_)*s+(h*s+0*m+u*-_)*-r)+0,l=n-((w*s+0*S+v*-_)*-s+0*(C*s+0*g+y*-_)+(h*s+0*m+u*-_)*_)+i,a=0-((w*s+0*S+v*-_)*r+(C*s+0*g+y*-_)*-_+0*(h*s+0*m+u*-_))+0,f=0-(0*(w*-r+S*_+0*v)+(C*-r+g*_+0*y)*s+(h*-r+m*_+0*u)*-r)+0,n=1/((b=0-((0*w+S*-s+v*r)*r+(0*C+g*-s+y*r)*-_+0*(0*h+m*-s+u*r))+0)*((s=0-((w*-r+S*_+0*v)*-s+0*(C*-r+g*_+0*y)+(h*-r+m*_+0*u)*_)+0)*d-l*f)+(c*(l*(i=n-((w*-r+S*_+0*v)*r+(C*-r+g*_+0*y)*-_+0*(h*-r+m*_+0*u))+i)-a*s)+A*(a*f-i*d))),p[t>>2]=(s*d-l*f)*n*0+(1/e*((l*i-a*s)*n)+(a*f-i*d)*n*0),p[t+4>>2]=(f*A-s*c)*n*0+(1/e*((s*b-i*A)*n)+(i*c-f*b)*n*0),p[t+8>>2]=(l*c-d*A)*n*0+(1/e*((a*A-l*b)*n)+(d*b-a*c)*n*0),p[t+12>>2]=0,p[t+16>>2]=(s*d-l*f)*n*0+((l*i-a*s)*n*0+1/e*((a*f-i*d)*n)),p[t+20>>2]=(f*A-s*c)*n*0+((s*b-i*A)*n*0+1/e*((i*c-f*b)*n)),p[t+24>>2]=(l*c-d*A)*n*0+((a*A-l*b)*n*0+1/e*((d*b-a*c)*n)),p[t+28>>2]=0,p[t+32>>2]=1/e*((s*d-l*f)*n)+((l*i-a*s)*n*0+(a*f-i*d)*n*0),p[t+36>>2]=1/e*((f*A-s*c)*n)+((s*b-i*A)*n*0+(i*c-f*b)*n*0),p[t+40>>2]=1/e*((l*c-d*A)*n)+((a*A-l*b)*n*0+(d*b-a*c)*n*0),p[t+44>>2]=0}function ot(t,e,i,o){t|=0,e|=0,i|=0,o|=0;var r=0;o=Q,Q=Q+784|0,_[o+712>>2]=1065353216,_[o+712+4>>2]=0,_[o+712+4+4>>2]=0,_[o+712+4+8>>2]=0,_[o+712+4+12>>2]=0,_[o+712+20>>2]=1065353216,_[o+712+24>>2]=0,_[o+712+24+4>>2]=0,_[o+712+24+8>>2]=0,_[o+712+24+12>>2]=0,_[o+712+40>>2]=1065353216,_[(i=o+712+44|0)>>2]=0,_[i+4>>2]=0,_[i+8>>2]=0,_[i+12>>2]=0,_[i+16>>2]=0,_[o+536>>2]=4536,_[o+536+168>>2]=0,p[o+536+172>>2]=0,_[o+536+164>>2]=_[t+200>>2],i=0|_[t+196>>2],_[o+480+8>>2]=0,_[o+480+12>>2]=1065353216,_[o+480+16>>2]=1065353216,_[o+480+20>>2]=1065353216,p[o+480+24>>2]=0,_[o+480>>2]=7568,_[o+480+4>>2]=8,_[o+480+28>>2]=i,_[o+480+44>>2]=i,_[o+376+8>>2]=0,_[o+376+12>>2]=1065353216,_[o+376+16>>2]=1065353216,_[o+376+20>>2]=1065353216,p[o+376+24>>2]=0,p[o+376+44>>2]=.03999999910593033,_[o+376+52>>2]=0,_[o+376>>2]=4564,_[o+376+4>>2]=1,_[o+376+56>>2]=_[e>>2],_[o+376+56+4>>2]=_[e+4>>2],_[o+376+56+8>>2]=_[e+8>>2],_[o+376+56+12>>2]=_[e+12>>2],_[o+376+72>>2]=_[e+16>>2],_[o+376+72+4>>2]=_[e+16+4>>2],_[o+376+72+8>>2]=_[e+16+8>>2],_[o+376+72+12>>2]=_[e+16+12>>2],_[o+376+88>>2]=_[e+32>>2],_[o+376+88+4>>2]=_[e+32+4>>2],_[o+376+88+8>>2]=_[e+32+8>>2],_[o+376+88+12>>2]=_[e+32+12>>2],p[o+16+308>>2]=9999999747378752e-20,n[o+16+332|0]=0,_[o>>2]=5860,_[o+4>>2]=o+16,_[o+8>>2]=o+480,_[o+12>>2]=o+376,0|Ti(o,t+4|0,t+68|0,o+712|0,o+712|0,o+536|0)&&(r=+p[o+536+164>>2],+p[t+200>>2]>r)&&(p[t+200>>2]=r),_[o+376>>2]=8020,(i=0|_[o+376+52>>2])?(zb[511&_[_[i>>2]>>2]](i),(i=0|_[o+376+52>>2])?(_[6631]=1+(0|_[6631]),Li(0|_[i+-4>>2]),Q=o):Q=o):Q=o}function _t(t){var e=0,i=0,n=0,o=0,r=0,s=0,c=0,a=0,b=0,A=0,f=0,u=0,m=0,h=0;if((0|(i=0|_[752+(t|=0)>>2]))>0){n=0|_[t+760>>2],e=0;do{o=0|_[n+(44*e|0)+8>>2],r=0|_[n+(44*e|0)+12>>2],s=0|_[n+(44*e|0)+16>>2],b=+p[o+8>>2],f=+p[o+12>>2],c=+p[o+16>>2],a=+p[r+8>>2]-b,u=+p[r+12>>2]-f,A=+p[r+16>>2]-c,b=+p[s+8>>2]-b,f=+p[s+12>>2]-f,c=+p[s+16>>2]-c,c=+l(+((a*f-u*b)*(a*f-u*b)+((u*c-A*f)*(u*c-A*f)+(A*b-a*c)*(A*b-a*c)))),p[n+(44*e|0)+36>>2]=c,e=e+1|0}while((0|e)!=(0|i))}if((0|(i=0|_[t+712>>2]))>0)if(_[6630]=1+(0|_[6630]),(e=0|di(16+(i<<2|3)|0))?(_[(e+4+15&-16)-4>>2]=e,n=e+4+15&-16):n=0,wn(0|n,0,i<<2),(0|(o=0|_[t+712>>2]))>0){i=0|_[t+720>>2],e=0;do{p[i+(104*e|0)+92>>2]=0,e=e+1|0}while((0|e)!=(0|o));s=n,r=n,e=o}else s=n,r=n,e=o;else s=0,r=0,e=i;if((0|(o=0|_[t+752>>2]))>0){i=0|_[t+760>>2],n=0|_[t+720>>2],e=0;do{u=+d(+ +p[i+(44*e|0)+36>>2]),m=0|_[i+(44*e|0)+8>>2],_[(h=s+((m-n|0)/104<<2)|0)>>2]=1+(0|_[h>>2]),p[m+92>>2]=u+ +p[m+92>>2],m=0|_[i+(44*e|0)+12>>2],_[(h=s+((m-n|0)/104<<2)|0)>>2]=1+(0|_[h>>2]),p[m+92>>2]=u+ +p[m+92>>2],m=0|_[i+(44*e|0)+16>>2],_[(h=s+((m-n|0)/104<<2)|0)>>2]=1+(0|_[h>>2]),p[m+92>>2]=u+ +p[m+92>>2],e=e+1|0}while((0|e)!=(0|o));e=0|_[t+712>>2]}if((0|e)>0){i=0;do{(0|(n=0|_[s+(i<<2)>>2]))>0?(h=(0|_[t+720>>2])+(104*i|0)+92|0,p[h>>2]=+p[h>>2]/+(0|n)):p[(0|_[t+720>>2])+(104*i|0)+92>>2]=0,i=i+1|0}while((0|i)!=(0|e));if(!r)return}else if(!(0|s)|!(0|r))return;_[6631]=1+(0|_[6631]),Li(0|_[r+-4>>2])}function rt(t,e,i){e|=0,i|=0;var n=0,o=0,r=0,s=0,p=0,c=0,a=0;if(n=0|_[56+(t|=0)>>2])s=n;else if((n=0|_[t+52>>2])?_[t+52>>2]=_[n+8>>2]:(_[6630]=1+(0|_[6630]),(n=0|di(31))?(_[(n+4+15&-16)-4>>2]=n,n=n+4+15&-16):n=0,o=0|_[t+60>>2],_[n+4>>2]=o,_[(r=n+8|0)>>2]=0,_[6630]=1+(0|_[6630]),(o=0|di(16+(24*o|3)|0))?(_[(o+4+15&-16)-4>>2]=o,o=o+4+15&-16):o=0,_[n>>2]=o,_[r>>2]=_[t+48>>2],_[t+48>>2]=n),s=0|_[n>>2],(0|(r=0|_[n+4>>2]))>0&&(_[s>>2]=1!=(0|r)?s+24|0:0,1!=(0|r))){n=1,o=s+24|0;do{p=(0|(n=n+1|0))<(0|r),c=o,o=o+24|0,_[c>>2]=p?o:0}while(p)}if(_[t+56>>2]=_[s>>2],_[s>>2]=0,_[s+4>>2]=0,_[s+8>>2]=0,_[s+12>>2]=0,_[s+16>>2]=0,_[s+20>>2]=0,!(n=0|_[t+56>>2])&&((n=0|_[t+52>>2])?(_[t+52>>2]=_[n+8>>2],o=n):(_[6630]=1+(0|_[6630]),(n=0|di(31))?(_[(n+4+15&-16)-4>>2]=n,o=n+4+15&-16):o=0,n=0|_[t+60>>2],_[o+4>>2]=n,_[(r=o+8|0)>>2]=0,_[6630]=1+(0|_[6630]),(n=0|di(16+(24*n|3)|0))?(_[(n+4+15&-16)-4>>2]=n,n=n+4+15&-16):n=0,_[o>>2]=n,_[r>>2]=_[t+48>>2],_[t+48>>2]=o),n=0|_[o>>2],(0|(p=0|_[o+4>>2]))>0&&(_[n>>2]=1!=(0|p)?n+24|0:0,1!=(0|p)))){o=1,r=n+24|0;do{c=(0|(o=o+1|0))<(0|p),a=r,r=r+24|0,_[a>>2]=c?r:0}while(c)}return _[t+56>>2]=_[n>>2],_[(a=n)>>2]=0,_[a+4>>2]=0,_[s+8>>2]=n,_[n+8>>2]=s,a=0|_[t+100>>2],_[s+20>>2]=a,_[n+20>>2]=a,_[s+12>>2]=i,_[n+12>>2]=e,_[s+16>>2]=0,_[n+16>>2]=0,n=0|_[t+116>>2],_[t+116>>2]=n+1,(0|n)<(0|_[t+120>>2])||(_[t+120>>2]=n+1),0|s}function st(t,e){e|=0;var i,n,r,s,c,a,b,d,l,A,f,u,m,h,y,g,C,v,S,w,k,R,j,D,I,B=0,W=0;i=Q,Q=Q+128|0,I=0|_[24+(0|_[8+(t|=0)>>2])>>2],n=0|_[I+(80*e|0)+64>>2],B=0|_[t+12>>2],g=+p[I+(80*e|0)>>2],R=+p[B>>2],y=+p[I+(80*e|0)+16>>2],k=+p[B+4>>2],h=+p[I+(80*e|0)+32>>2],w=+p[B+8>>2],m=+p[I+(80*e|0)+4>>2],u=+p[I+(80*e|0)+20>>2],f=+p[I+(80*e|0)+36>>2],A=+p[I+(80*e|0)+8>>2],d=+p[I+(80*e|0)+24>>2],a=+p[I+(80*e|0)+40>>2],S=+p[B+16>>2],v=+p[B+20>>2],C=+p[B+24>>2],l=+p[B+32>>2],b=+p[B+36>>2],c=+p[B+40>>2],D=+p[I+(80*e|0)+48>>2],j=+p[I+(80*e|0)+52>>2],W=+p[I+(80*e|0)+56>>2],s=+p[B+48>>2]+(R*D+k*j+w*W),r=S*D+v*j+C*W+ +p[B+52>>2],W=l*D+b*j+c*W+ +p[B+56>>2],p[i+56>>2]=g*R+y*k+h*w,p[i+56+4>>2]=R*m+k*u+w*f,p[i+56+8>>2]=R*A+k*d+w*a,p[i+56+12>>2]=0,p[i+56+16>>2]=g*S+y*v+h*C,p[i+56+20>>2]=m*S+u*v+f*C,p[i+56+24>>2]=A*S+d*v+a*C,p[i+56+28>>2]=0,p[i+56+32>>2]=g*l+y*b+h*c,p[i+56+36>>2]=m*l+u*b+f*c,p[i+56+40>>2]=A*l+d*b+a*c,p[i+56+44>>2]=0,p[i+56+48>>2]=s,p[i+56+52>>2]=r,p[i+56+56>>2]=W,p[i+56+60>>2]=0,B=0|_[t+4>>2],_[i+32>>2]=0,_[i+32+4>>2]=n,_[i+32+8>>2]=B,_[i+32+12>>2]=i+56,_[i+32+16>>2]=-1,_[i+32+20>>2]=e,B=0|_[t+24>>2],p[i+4>>2]=1,_[i+8>>2]=0,o[i+12>>1]=1,o[i+14>>1]=-1,_[i+16>>2]=0,_[i>>2]=6692,_[i+20>>2]=B,_[i+24>>2]=e,_[i+4>>2]=_[B+4>>2],_[i+16>>2]=_[B+16>>2],ji(0|_[t+16>>2],0|_[t+20>>2],i+32|0,i),Q=i}function pt(t,e,i,o,r,s,c,a,b){t|=0,e|=0,i|=0,o|=0,r|=0,s|=0,c|=0,a|=0,b|=0;var d,l=0,A=0,f=0,u=0;d=Q,Q=Q+80|0,p[d+16+60>>2]=0,p[d+16+8>>2]=0,p[d+16+12>>2]=.10000000149011612,p[d+16+16>>2]=300,p[d+16>>2]=1,p[d+16+4>>2]=-1,p[d+16+28>>2]=0,p[d+16+32>>2]=.20000000298023224,p[d+16+36>>2]=0,p[d+16+40>>2]=0,p[d+16+20>>2]=1,p[d+16+24>>2]=.5,_[d+16+56>>2]=0,p[d+16+48>>2]=0,n[d+16+44|0]=0,f=0;do{A=0|_[t+856+(f<<2)>>2],l=0|n[t+788+f|0],A?u=5:l<<24>>24&&(l=1,u=5),5==(0|u)&&(u=0,p[d+16+40>>2]=0,_[d+16+56>>2]=A,_[d+16+52>>2]=_[t+840+(f<<2)>>2],_[d+16+48>>2]=_[t+824+(f<<2)>>2],_[d+16+20>>2]=_[t+732>>2],n[d+16+44|0]=l,_[d+16+4>>2]=_[t+696+(f<<2)>>2],_[d+16+24>>2]=_[t+728>>2],_[d+16>>2]=_[t+680+(f<<2)>>2],p[d+16+16>>2]=0,_[d+16+12>>2]=_[t+808+(f<<2)>>2],_[d+16+8>>2]=_[t+792+(f<<2)>>2],_[d>>2]=_[t+1064+(f<<2)>>2],_[d+4>>2]=_[t+1080+(f<<2)>>2],_[d+8>>2]=_[t+1096+(f<<2)>>2],p[d+12>>2]=0,A=0|_[t+1304>>2],l=1&(A=(l=3*f|0)?A>>l:A)?t+740+(f<<2)|0:0|_[e+32>>2],_[d+16+28>>2]=_[l>>2],l=2&A?t+772+(f<<2)|0:0|_[e+32>>2],_[d+16+36>>2]=_[l>>2],_[d+16+32>>2]=_[(4&A?t+756+(f<<2):e+4)>>2],i=(0|he(t,d+16|0,o,r,s,c,a,b,e,i,d,0,l=0|n[t+1301|0]?0|_[t+868+((3==(0|(A=f+1|0))?0:A)<<6)+56>>2]?1&!(0|_[t+868+(((f+2|0)>>>0)%3<<6)+56>>2]):1:0))+i|0),f=f+1|0}while(3!=(0|f));return Q=d,0|i}function ct(t,e,i,o,r){t|=0,r|=0;var s,c,a,b,d=0,A=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0,v=0;if(s=Q,Q=Q+48|0,(0|(o|=0))==(0|(e|=0))|(0|e)==(0|(i|=0))|(0|i)==(0|o))Q=s;else{u=(f=s)+36|0;do{_[f>>2]=0,f=f+4|0}while((0|f)<(0|u));if(h=r||0|_[_[t+880>>2]>>2],(0|(r=0|_[t+752>>2]))==(0|_[t+756>>2])&&(0|r)<(0|(y=0|r?r<<1:1))){if(y?(_[6630]=1+(0|_[6630]),(r=0|di(16+(44*y|3)|0))?(_[(r+4+15&-16)-4>>2]=r,r=r+4+15&-16):r=0,m=r,r=0|_[t+752>>2]):m=0,(0|r)>0){d=0;do{f=m+(44*d|0)|0,A=(0|_[t+760>>2])+(44*d|0)|0,u=f+44|0;do{_[f>>2]=_[A>>2],f=f+4|0,A=A+4|0}while((0|f)<(0|u));d=d+1|0}while((0|d)!=(0|r))}0|(r=0|_[t+760>>2])&&(0|n[t+764|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[r+-4>>2])),_[t+760>>2]=0),n[t+764|0]=1,_[t+760>>2]=m,_[t+756>>2]=y,r=0|_[t+752>>2]}f=0|_[t+760>>2],_[f+(44*r|0)>>2]=0,_[f+(44*r|0)+4>>2]=h,A=s,u=36+(f=f+(44*r|0)+8|0)|0;do{_[f>>2]=_[A>>2],f=f+4|0,A=A+4|0}while((0|f)<(0|u));y=0|_[t+752>>2],_[t+752>>2]=y+1,h=0|_[t+760>>2],f=0|_[t+720>>2],_[h+(44*y|0)+8>>2]=f+(104*e|0),u=0|_[t+720>>2],_[h+(44*y|0)+12>>2]=u+(104*i|0),m=0|_[t+720>>2],_[h+(44*y|0)+16>>2]=m+(104*o|0),C=+p[f+(104*e|0)+8>>2],v=+p[f+(104*e|0)+12>>2],g=+p[f+(104*e|0)+16>>2],c=+p[u+(104*i|0)+8>>2]-C,b=+p[u+(104*i|0)+12>>2]-v,a=+p[u+(104*i|0)+16>>2]-g,C=+p[m+(104*o|0)+8>>2]-C,v=+p[m+(104*o|0)+12>>2]-v,g=+p[m+(104*o|0)+16>>2]-g,g=+l(+((c*v-b*C)*(c*v-b*C)+((b*g-a*v)*(b*g-a*v)+(a*C-c*g)*(a*C-c*g)))),p[h+(44*y|0)+36>>2]=g,n[t+924|0]=1,Q=s}}function at(t,e){var i,o,r=0,s=0,c=0,a=0;r=+p[1192+(t|=0)+((e|=0)<<2)>>2],i=+p[t+868+(e<<6)>>2],o=+p[t+868+(e<<6)+4>>2];do{if(!(i>=o)){if(r<i){r=(s=+d(+((i-r)%6.2831854820251465<-3.1415927410125732?(i-r)%6.2831854820251465+6.2831854820251465:(i-r)%6.2831854820251465>3.1415927410125732?(i-r)%6.2831854820251465-6.2831854820251465:(i-r)%6.2831854820251465)))<+d(+((o-r)%6.2831854820251465<-3.1415927410125732?(o-r)%6.2831854820251465+6.2831854820251465:(o-r)%6.2831854820251465>3.1415927410125732?(o-r)%6.2831854820251465-6.2831854820251465:(o-r)%6.2831854820251465))?r:r+6.2831854820251465;break}r>o&&(s=+d(+((r-o)%6.2831854820251465<-3.1415927410125732?(r-o)%6.2831854820251465+6.2831854820251465:(r-o)%6.2831854820251465>3.1415927410125732?(r-o)%6.2831854820251465-6.2831854820251465:(r-o)%6.2831854820251465)),r=+d(+((r-i)%6.2831854820251465<-3.1415927410125732?(r-i)%6.2831854820251465+6.2831854820251465:(r-i)%6.2831854820251465>3.1415927410125732?(r-i)%6.2831854820251465-6.2831854820251465:(r-i)%6.2831854820251465))<s?r+-6.2831854820251465:r)}}while(0);p[t+868+(e<<6)+52>>2]=r;do{if(i>o)c=t+868+(e<<6)+56|0,a=34;else{if(i>r){if(_[t+868+(e<<6)+56>>2]=1,r-=i,p[t+868+(e<<6)+48>>2]=r,r>3.1415927410125732){p[t+868+(e<<6)+48>>2]=r+-6.2831854820251465;break}if(!(r<-3.1415927410125732))break;p[t+868+(e<<6)+48>>2]=r+6.2831854820251465;break}if(o<r){if(_[t+868+(e<<6)+56>>2]=2,r-=o,p[t+868+(e<<6)+48>>2]=r,r>3.1415927410125732){p[t+868+(e<<6)+48>>2]=r+-6.2831854820251465;break}r<-3.1415927410125732&&(p[t+868+(e<<6)+48>>2]=r+6.2831854820251465)}else c=t+868+(e<<6)+56|0,a=34}}while(0);return 34!=(0|a)||(_[c>>2]=0,0|n[t+868+(e<<6)+44|0])?1:0}function bt(t,e,i){e|=0,i|=0;var o=0,r=0,s=0;if(_[4+(t|=0)>>2]=1065353216,_[t+8>>2]=1065353216,_[t+12>>2]=1065353216,p[t+16>>2]=0,n[t+36|0]=1,_[t+32>>2]=0,_[t+24>>2]=0,_[t+28>>2]=0,_[t+48>>2]=0,_[t>>2]=9448,n[t+100|0]=1,_[t+96>>2]=0,_[t+88>>2]=0,_[t+92>>2]=0,n[t+120|0]=1,_[t+116>>2]=0,_[t+108>>2]=0,_[t+112>>2]=0,n[t+140|0]=1,_[t+136>>2]=0,_[t+128>>2]=0,_[t+132>>2]=0,n[t+160|0]=1,_[t+156>>2]=0,_[t+148>>2]=0,_[t+152>>2]=0,n[t+164|0]=1&e,n[t+165|0]=1&i,p[t+168>>2]=0,_[6630]=1+(0|_[6630]),(e=0|di(51))?(_[(e+4+15&-16)-4>>2]=e,o=e+4+15&-16):o=0,(0|(i=0|_[t+24>>2]))>0){e=0;do{r=o+(e<<5)|0,s=(0|_[t+32>>2])+(e<<5)|0,_[r>>2]=_[s>>2],_[r+4>>2]=_[s+4>>2],_[r+8>>2]=_[s+8>>2],_[r+12>>2]=_[s+12>>2],_[r+16>>2]=_[s+16>>2],_[r+20>>2]=_[s+20>>2],_[r+24>>2]=_[s+24>>2],_[r+28>>2]=_[s+28>>2],e=e+1|0}while((0|e)!=(0|i))}return 0|(e=0|_[t+32>>2])&&(0|n[t+36|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+32>>2]=0),n[t+36|0]=1,_[t+32>>2]=o,_[t+28>>2]=1,s=0|_[t+24>>2],_[o+(s<<5)>>2]=0,_[o+(s<<5)+4>>2]=0,_[o+(s<<5)+8>>2]=12,_[o+(s<<5)+12>>2]=0,_[o+(s<<5)+16>>2]=0,_[o+(s<<5)+20>>2]=16,_[o+(s<<5)+24>>2]=2,_[o+(s<<5)+28>>2]=0,_[t+24>>2]=1+(0|_[t+24>>2]),s=!(0|n[t+164|0]),e=0|_[t+32>>2],_[e>>2]=(0|_[(s?t+148:t+128)>>2])/3|0,_[e+4>>2]=0,_[e+24>>2]=s?3:2,_[e+8>>2]=s?6:12,0|n[t+165|0]?(r=16,t=0|_[t+88>>2],_[(s=e+12|0)>>2]=t,_[(s=e+16|0)>>2]=0,void(_[(s=e+20|0)>>2]=r)):(r=12,t=(0|_[t+108>>2])/3|0,_[(s=e+12|0)>>2]=t,_[(s=e+16|0)>>2]=0,void(_[(s=e+20|0)>>2]=r))}function dt(t,e){t|=0;var i,n=0,o=0,r=0,s=0,p=0,c=0,a=0,b=0,d=0;if(i=Q,Q=Q+32|0,(0|(e|=0))<0&&(e=0|_[t+12>>2]),(0|e)>0&!!(0|(n=0|_[t>>2]))){for(;;){if(0|_[(o=n+40|0)>>2])for(d=0;(p=0|_[(s=n+32|0)>>2])>>>0>n>>>0&&(c=(0|_[p+40>>2])==(0|n),a=0|_[p+36+((1&(1^c))<<2)>>2],r=(b=0|_[p+32>>2])?b+36+(((0|_[b+40>>2])==(0|p)&1)<<2)|0:t,_[r>>2]=n,_[a+32>>2]=n,_[p+32>>2]=n,_[s>>2]=b,b=n+36|0,_[p+36>>2]=_[b>>2],_[p+40>>2]=_[o>>2],_[32+(0|_[b>>2])>>2]=p,_[32+(0|_[o>>2])>>2]=p,_[n+36+((1&c)<<2)>>2]=p,_[n+36+((1&(1^c))<<2)>>2]=a,_[i>>2]=_[p>>2],_[i+4>>2]=_[p+4>>2],_[i+8>>2]=_[p+8>>2],_[i+12>>2]=_[p+12>>2],_[i+16>>2]=_[p+16>>2],_[i+20>>2]=_[p+20>>2],_[i+24>>2]=_[p+24>>2],_[i+28>>2]=_[p+28>>2],_[p>>2]=_[n>>2],_[p+4>>2]=_[n+4>>2],_[p+8>>2]=_[n+8>>2],_[p+12>>2]=_[n+12>>2],_[p+16>>2]=_[n+16>>2],_[p+20>>2]=_[n+20>>2],_[p+24>>2]=_[n+24>>2],_[p+28>>2]=_[n+28>>2],_[n>>2]=_[i>>2],_[n+4>>2]=_[i+4>>2],_[n+8>>2]=_[i+8>>2],_[n+12>>2]=_[i+12>>2],_[n+16>>2]=_[i+16>>2],_[n+20>>2]=_[i+20>>2],_[n+24>>2]=_[i+24>>2],_[n+28>>2]=_[i+28>>2],n=p),o=0|_[t+16>>2],n=0|_[n+36+((1&(d?o>>>d:o))<<2)>>2],0|_[(o=n+40|0)>>2];)d=d+1&31;if(U(t,o=0|Tt(t,n)?0|_[t>>2]:0,n),_[t+16>>2]=1+(0|_[t+16>>2]),!(e=e+-1|0))break;n=0|_[t>>2]}Q=i}else Q=i}function lt(t,e,i,o,r,s,p,c,a){e|=0,i|=0,o|=0,r|=0,s|=0,p|=0,c|=0,a|=0;var b,d=0;return b=Q,Q=Q+16|0,(0|_[924+(t|=0)>>2]||0|n[t+912|0])&&(_[b>>2]=_[t+1208>>2],_[b+4>>2]=_[t+1208+4>>2],_[b+8>>2]=_[t+1208+8>>2],_[b+12>>2]=_[t+1208+12>>2],512&(d=0|_[t+1304>>2])||(_[t+896>>2]=_[_[e+32>>2]>>2]),1024&d||(_[t+904>>2]=_[_[e+32>>2]>>2]),2048&d||(_[t+900>>2]=_[e+4>>2]),i=(0|he(t,t+868|0,o,r,s,p,c,a,e,i,b,1,0))+i|0),(0|_[t+988>>2]||0|n[t+976|0])&&(_[b>>2]=_[t+1224>>2],_[b+4>>2]=_[t+1224+4>>2],_[b+8>>2]=_[t+1224+8>>2],_[b+12>>2]=_[t+1224+12>>2],4096&(d=0|_[t+1304>>2])||(_[t+960>>2]=_[_[e+32>>2]>>2]),8192&d||(_[t+968>>2]=_[_[e+32>>2]>>2]),16384&d||(_[t+964>>2]=_[e+4>>2]),i=(0|he(t,t+932|0,o,r,s,p,c,a,e,i,b,1,0))+i|0),0|_[t+1052>>2]||0|n[t+1040|0]?(_[b>>2]=_[t+1240>>2],_[b+4>>2]=_[t+1240+4>>2],_[b+8>>2]=_[t+1240+8>>2],_[b+12>>2]=_[t+1240+12>>2],32768&(d=0|_[t+1304>>2])||(_[t+1024>>2]=_[_[e+32>>2]>>2]),65536&d||(_[t+1032>>2]=_[_[e+32>>2]>>2]),131072&d||(_[t+1028>>2]=_[e+4>>2]),a=(0|he(t,t+996|0,o,r,s,p,c,a,e,i,b,1,0))+i|0,Q=b,0|a):(Q=b,0|(a=i))}function At(t){var e=0;if(_[(t|=0)>>2]=5656,0|(e=0|_[t+176>>2])&&(0|n[t+180|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+176>>2]=0),n[t+180|0]=1,_[t+176>>2]=0,_[t+168>>2]=0,_[t+172>>2]=0,0|(e=0|_[t+156>>2])&&(0|n[t+160|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+156>>2]=0),n[t+160|0]=1,_[t+156>>2]=0,_[t+148>>2]=0,_[t+152>>2]=0,0|(e=0|_[t+136>>2])&&(0|n[t+140|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+136>>2]=0),n[t+140|0]=1,_[t+136>>2]=0,_[t+128>>2]=0,_[t+132>>2]=0,0|(e=0|_[t+116>>2])&&(0|n[t+120|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+116>>2]=0),n[t+120|0]=1,_[t+116>>2]=0,_[t+108>>2]=0,_[t+112>>2]=0,0|(e=0|_[t+96>>2])&&(0|n[t+100|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+96>>2]=0),n[t+100|0]=1,_[t+96>>2]=0,_[t+88>>2]=0,_[t+92>>2]=0,0|(e=0|_[t+76>>2])&&(0|n[t+80|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+76>>2]=0),n[t+80|0]=1,_[t+76>>2]=0,_[t+68>>2]=0,_[t+72>>2]=0,0|(e=0|_[t+56>>2])&&(0|n[t+60|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+56>>2]=0),n[t+60|0]=1,_[t+56>>2]=0,_[t+48>>2]=0,_[t+52>>2]=0,0|(e=0|_[t+36>>2])&&(0|n[t+40|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+36>>2]=0),n[t+40|0]=1,_[t+36>>2]=0,_[t+28>>2]=0,_[t+32>>2]=0,!(e=0|_[t+16>>2]))return n[t+20|0]=1,_[t+16>>2]=0,_[t+8>>2]=0,void(_[(t=t+12|0)>>2]=0);0|n[t+20|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+16>>2]=0,n[t+20|0]=1,_[t+16>>2]=0,_[t+8>>2]=0,_[(t=t+12|0)>>2]=0}function ft(t,e,i,o){e|=0,i|=0,o|=0;var r,s,c=0,a=0,b=0,d=0;if(s=Q,Q=Q+16|0,_[8+(t|=0)>>2]=0,_[t+12>>2]=1065353216,_[t+16>>2]=1065353216,_[t+20>>2]=1065353216,p[t+24>>2]=0,p[t+44>>2]=.03999999910593033,_[t+52>>2]=0,_[t+56>>2]=1065353216,_[t+60>>2]=1065353216,_[t+64>>2]=1065353216,p[t+68>>2]=0,_[t+72>>2]=-1082130432,_[t+76>>2]=-1082130432,_[t+80>>2]=-1082130432,p[t+84>>2]=0,n[t+88|0]=0,_[t>>2]=8252,n[t+108|0]=1,_[t+104>>2]=0,_[t+96>>2]=0,_[t+100>>2]=0,_[t+4>>2]=4,(0|i)<=0)return _[t+96>>2]=i,nn(t),void(Q=s);if(_[6630]=1+(0|_[6630]),(c=0|di(16+(i<<4|3)|0))?(_[(c+4+15&-16)-4>>2]=c,a=c+4+15&-16):a=0,(0|(r=0|_[t+96>>2]))>0){c=0;do{b=a+(c<<4)|0,d=(0|_[t+104>>2])+(c<<4)|0,_[b>>2]=_[d>>2],_[b+4>>2]=_[d+4>>2],_[b+8>>2]=_[d+8>>2],_[b+12>>2]=_[d+12>>2],c=c+1|0}while((0|c)!=(0|r))}if(0|(c=0|_[t+104>>2])&&(0|n[t+108|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[c+-4>>2])),_[t+104>>2]=0),n[t+108|0]=1,_[t+104>>2]=a,_[t+100>>2]=i,_[a>>2]=_[s>>2],_[a+4>>2]=_[s+4>>2],_[a+8>>2]=_[s+8>>2],_[a+12>>2]=_[s+12>>2],1!=(0|i)){c=1;do{d=(0|_[t+104>>2])+(c<<4)|0,_[d>>2]=_[s>>2],_[d+4>>2]=_[s+4>>2],_[d+8>>2]=_[s+8>>2],_[d+12>>2]=_[s+12>>2],c=c+1|0}while((0|c)!=(0|i))}for(_[t+96>>2]=i,c=0;a=0|_[e+4>>2],b=0|_[e+8>>2],d=0|_[t+104>>2],_[d+(c<<4)>>2]=_[e>>2],_[d+(c<<4)+4>>2]=a,_[d+(c<<4)+8>>2]=b,p[d+(c<<4)+12>>2]=0,(0|(c=c+1|0))!=(0|i);)e=e+o|0;nn(t),Q=s}function ut(t,e,i,o,r){var s;e=+e,i|=0,o|=0,r|=0,s=Q,Q=Q+144|0,_[164+(t|=0)>>2]=1065353216,_[t+168>>2]=1065353216,_[t+172>>2]=1065353216,p[t+176>>2]=0,_[t+180>>2]=0,p[t+184>>2]=0xde0b6b000000000,_[t+188>>2]=0,_[t+188+4>>2]=0,_[t+188+8>>2]=0,_[t+188+12>>2]=0,_[t+204>>2]=1,_[t+208>>2]=-1,_[t+212>>2]=-1,_[t+216>>2]=1,p[t+220>>2]=0,p[t+224>>2]=.5,p[t+228>>2]=0,p[t+232>>2]=0,_[t+236>>2]=1,_[t+240>>2]=0,p[t+244>>2]=1,_[t+248>>2]=0,_[t+248+4>>2]=0,_[t+248+8>>2]=0,_[t+248+12>>2]=0,_[t+4>>2]=1065353216,_[t+8>>2]=0,_[t+8+4>>2]=0,_[t+8+8>>2]=0,_[t+8+12>>2]=0,_[t+24>>2]=1065353216,_[t+28>>2]=0,_[t+28+4>>2]=0,_[t+28+8>>2]=0,_[t+28+12>>2]=0,_[t+44>>2]=1065353216,_[t+48>>2]=0,_[t+48+4>>2]=0,_[t+48+8>>2]=0,_[t+48+12>>2]=0,_[t+48+16>>2]=0,_[t>>2]=4956,n[t+500|0]=1,_[t+496>>2]=0,_[t+488>>2]=0,_[t+492>>2]=0,p[s>>2]=e,_[s+4>>2]=i,_[s+72>>2]=o,_[s+76>>2]=_[r>>2],_[s+76+4>>2]=_[r+4>>2],_[s+76+8>>2]=_[r+8>>2],_[s+76+12>>2]=_[r+12>>2],p[s+92>>2]=0,p[s+96>>2]=0,p[s+100>>2]=.5,p[s+104>>2]=0,p[s+108>>2]=0,p[s+112>>2]=.800000011920929,p[s+116>>2]=1,n[s+120|0]=0,p[s+124>>2]=.004999999888241291,p[s+128>>2]=.009999999776482582,p[s+132>>2]=.009999999776482582,p[s+136>>2]=.009999999776482582,_[s+8>>2]=1065353216,_[s+12>>2]=0,_[s+12+4>>2]=0,_[s+12+8>>2]=0,_[s+12+12>>2]=0,_[s+28>>2]=1065353216,_[s+32>>2]=0,_[s+32+4>>2]=0,_[s+32+8>>2]=0,_[s+32+12>>2]=0,_[s+48>>2]=1065353216,_[s+52>>2]=0,_[s+52+4>>2]=0,_[s+52+8>>2]=0,_[s+52+12>>2]=0,_[s+52+16>>2]=0,Ce(t,s),Q=s}function mt(t,e){var i=0,o=0,r=0,s=0,p=0,c=0;if(We(t|=0,e|=0),_[t>>2]=3916,_[6630]=1+(0|_[6630]),i=0|di(27),_[(p=i+4+15&-16)-4>>2]=i,n[p+4|0]=0,_[(i+4+15&-16)>>2]=3948,_[t+92>>2]=p,_[6630]=1+(0|_[6630]),p=0|di(27),_[(i=p+4+15&-16)-4>>2]=p,n[i+4|0]=0,_[(p+4+15&-16)>>2]=3968,_[t+96>>2]=i,_[6630]=1+(0|_[6630]),(i=0|di(27))?(_[(i+4+15&-16)-4>>2]=i,i=i+4+15&-16):i=0,_[i>>2]=3968,_[t+100>>2]=i,n[i+4|0]=1,_[6630]=1+(0|_[6630]),p=0|di(27),_[(i=p+4+15&-16)-4>>2]=p,n[i+4|0]=0,_[(p+4+15&-16)>>2]=3988,_[t+104>>2]=i,_[6630]=1+(0|_[6630]),(i=0|di(27))?(_[(i+4+15&-16)-4>>2]=i,i=i+4+15&-16):i=0,_[i>>2]=4008,_[t+108>>2]=i,n[i+4|0]=1,0|n[t+20|0]&&(i=0|_[t+16>>2])&&!((0|_[i>>2])>=156)){if((o=0|_[i+16>>2])?(_[6631]=1+(0|_[6631]),Li(0|_[o+-4>>2]),(i=0|_[t+16>>2])?(o=t+16|0,r=11):p=t+16|0):(o=t+16|0,r=11),11==(0|r)&&(_[6631]=1+(0|_[6631]),Li(0|_[i+-4>>2]),p=o),_[6630]=1+(0|_[6630]),(i=0|di(39))?(_[(i+4+15&-16)-4>>2]=i,s=i+4+15&-16):s=0,i=0|_[e+12>>2],_[s>>2]=156,_[(o=s+4|0)>>2]=i,_[6630]=1+(0|_[6630]),(i=0|di(16+(156*i|3)|0))?(_[(i+4+15&-16)-4>>2]=i,i=i+4+15&-16):i=0,_[s+16>>2]=i,_[s+12>>2]=i,t=0|_[o>>2],_[s+8>>2]=t,t+-1|0){r=0|_[s>>2],o=i,e=t+-1|0;do{c=o,o=o+r|0,_[c>>2]=o,e=e+-1|0}while(0|e);i=i+(0|g(r,t+-1|0))|0}_[i>>2]=0,_[p>>2]=s}}function ht(t){var e=0,i=0,n=0,o=0,r=0,s=0,c=0,a=0,b=0,d=0,A=0,f=0,u=0;if((0|(i=0|_[712+(t|=0)>>2]))>0){e=0;do{b=(0|_[t+720>>2])+(104*e|0)+72|0,e=e+1|0,_[b>>2]=0,_[b+4>>2]=0,_[b+8>>2]=0,_[b+12>>2]=0}while((0|e)!=(0|i))}if((0|(i=0|_[t+752>>2]))>0){e=0;do{f=0|_[t+760>>2],c=0|_[f+(44*e|0)+12>>2],r=0|_[f+(44*e|0)+8>>2],a=+p[r+8>>2],n=+p[c+8>>2]-a,o=+p[r+12>>2],s=+p[c+12>>2]-o,d=+p[r+16>>2],A=+p[c+16>>2]-d,b=0|_[f+(44*e|0)+16>>2],a=+p[b+8>>2]-a,o=+p[b+12>>2]-o,d=+p[b+16>>2]-d,u=1/+l(+((n*o-s*a)*(n*o-s*a)+((s*d-A*o)*(s*d-A*o)+(A*a-n*d)*(A*a-n*d)))),p[f+(44*e|0)+20>>2]=(s*d-A*o)*u,p[f+(44*e|0)+24>>2]=(A*a-n*d)*u,p[f+(44*e|0)+28>>2]=(n*o-s*a)*u,_[f+(44*e|0)+32>>2]=0,p[r+72>>2]=s*d-A*o+ +p[r+72>>2],p[r+76>>2]=A*a-n*d+ +p[r+76>>2],p[r+80>>2]=n*o-s*a+ +p[r+80>>2],p[c+72>>2]=s*d-A*o+ +p[c+72>>2],p[c+76>>2]=A*a-n*d+ +p[c+76>>2],p[c+80>>2]=n*o-s*a+ +p[c+80>>2],p[b+72>>2]=s*d-A*o+ +p[b+72>>2],p[b+76>>2]=A*a-n*d+ +p[b+76>>2],p[b+80>>2]=n*o-s*a+ +p[b+80>>2],e=e+1|0}while((0|e)!=(0|i))}if(!((0|(b=0|_[t+712>>2]))<=0)){t=0|_[t+720>>2],e=0;do{s=+p[(r=t+(104*e|0)+72|0)>>2],a=+p[(c=t+(104*e|0)+76|0)>>2],n=+p[(i=t+(104*e|0)+80|0)>>2],(o=+l(+(s*s+a*a+n*n)))>1.1920928955078125e-7&&(p[r>>2]=s*(1/o),p[c>>2]=a*(1/o),p[i>>2]=n*(1/o)),e=e+1|0}while((0|e)!=(0|b))}}function yt(t,e){e|=0;var i=0,r=0,s=0,p=0,c=0,a=0,b=0;if(0|n[164+(t|=0)|0]){if((0|(i=0|_[t+128>>2]))==(0|_[t+132>>2])&&(0|i)<(0|(c=0|i?i<<1:1))){if(c?(_[6630]=1+(0|_[6630]),(i=0|di(16+(c<<2|3)|0))?(_[(i+4+15&-16)-4>>2]=i,i=i+4+15&-16):i=0,p=i,i=0|_[t+128>>2]):p=0,s=0|_[t+136>>2],(0|i)<=0)s?b=13:r=t+140|0;else{r=0;do{_[p+(r<<2)>>2]=_[s+(r<<2)>>2],r=r+1|0}while((0|r)!=(0|i));b=13}13==(0|b)&&(0|n[t+140|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[s+-4>>2])),_[t+136>>2]=0,r=t+140|0,i=0|_[t+128>>2]),n[0|r]=1,_[t+136>>2]=p,_[t+132>>2]=c}return b=0|_[t+136>>2],_[b+(i<<2)>>2]=e,_[t+128>>2]=1+(0|_[t+128>>2]),void(_[4+(0|_[t+32>>2])>>2]=b)}if((0|(i=0|_[t+148>>2]))==(0|_[t+152>>2])&&(0|i)<(0|(a=0|i?i<<1:1))){if(a?(_[6630]=1+(0|_[6630]),(i=0|di(19+(a<<1)|0))?(_[(i+4+15&-16)-4>>2]=i,i=i+4+15&-16):i=0,p=i,i=0|_[t+148>>2]):p=0,s=0|_[t+156>>2],(0|i)<=0)s?b=29:r=t+160|0;else{r=0;do{o[p+(r<<1)>>1]=0|o[s+(r<<1)>>1],r=r+1|0}while((0|r)!=(0|i));b=29}29==(0|b)&&(0|n[t+160|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[s+-4>>2]),i=0|_[t+148>>2]),_[t+156>>2]=0,r=t+160|0),n[0|r]=1,_[t+156>>2]=p,_[t+152>>2]=a}return b=0|_[t+156>>2],o[b+(i<<1)>>1]=e,_[t+148>>2]=i+1,void(_[4+(0|_[t+32>>2])>>2]=b)}function gt(t,e,i){t|=0,e|=0;var n,o,r,s=0,c=0,a=0,b=0;0!=(s=+p[128+(i|=0)>>2])&&(_[6450]=1+(0|_[6450]),a=+p[i+96>>2],n=+p[i+16>>2],o=+p[i+20>>2],r=+p[i+24>>2],c=+p[i+108>>2],s=a+(c=s-a*+p[i+116>>2]-(n*+p[t+144>>2]+o*+p[t+148>>2]+r*+p[t+152>>2]+(+p[i>>2]*+p[t+160>>2]+ +p[i+4>>2]*+p[t+164>>2]+ +p[i+8>>2]*+p[t+168>>2]))*c-c*(+p[i+48>>2]*+p[e+144>>2]+ +p[i+52>>2]*+p[e+148>>2]+ +p[i+56>>2]*+p[e+152>>2]+(+p[i+32>>2]*+p[e+160>>2]+ +p[i+36>>2]*+p[e+164>>2]+ +p[i+40>>2]*+p[e+168>>2])))<(b=+p[i+120>>2])?b-a:c,p[i+96>>2]=a+c<b?b:a+c,0|_[t+240>>2]&&(b=s*(o*+p[t+132>>2])*+p[t+116>>2],a=s*(r*+p[t+136>>2])*+p[t+120>>2],p[t+144>>2]=+p[t+112>>2]*(s*(n*+p[t+128>>2]))+ +p[t+144>>2],p[t+148>>2]=b+ +p[t+148>>2],p[t+152>>2]=a+ +p[t+152>>2],a=s*+p[t+100>>2]*+p[i+68>>2],b=s*+p[t+104>>2]*+p[i+72>>2],p[t+160>>2]=s*+p[t+96>>2]*+p[i+64>>2]+ +p[t+160>>2],p[t+164>>2]=a+ +p[t+164>>2],p[t+168>>2]=b+ +p[t+168>>2]),0|_[e+240>>2]&&(b=s*(+p[i+52>>2]*+p[e+132>>2])*+p[e+116>>2],a=s*(+p[i+56>>2]*+p[e+136>>2])*+p[e+120>>2],p[e+144>>2]=+p[e+112>>2]*(s*(+p[i+48>>2]*+p[e+128>>2]))+ +p[e+144>>2],p[e+148>>2]=b+ +p[e+148>>2],p[e+152>>2]=a+ +p[e+152>>2],a=s*+p[e+100>>2]*+p[i+84>>2],b=s*+p[e+104>>2]*+p[i+88>>2],p[e+160>>2]=s*+p[e+96>>2]*+p[i+80>>2]+ +p[e+160>>2],p[e+164>>2]=a+ +p[e+164>>2],p[e+168>>2]=b+ +p[e+168>>2]))}function Ct(t,e,i){t|=0,e|=0;var n,o,r=0,s=0,c=0,a=0,b=0;n=+p[100+(i|=0)>>2],o=+p[i+16>>2],a=+p[i+20>>2],b=+p[i+24>>2],s=+p[i+108>>2],n+(s=+p[i+112>>2]-n*+p[i+116>>2]-(o*+p[t+64>>2]+a*+p[t+68>>2]+b*+p[t+72>>2]+(+p[i>>2]*+p[t+80>>2]+ +p[i+4>>2]*+p[t+84>>2]+ +p[i+8>>2]*+p[t+88>>2]))*s-s*(+p[i+48>>2]*+p[e+64>>2]+ +p[i+52>>2]*+p[e+68>>2]+ +p[i+56>>2]*+p[e+72>>2]+(+p[i+32>>2]*+p[e+80>>2]+ +p[i+36>>2]*+p[e+84>>2]+ +p[i+40>>2]*+p[e+88>>2])))<(r=+p[i+120>>2])||n+s>(r=+p[i+124>>2])?c=r-n:(c=s,r=n+s),p[i+100>>2]=r,0|_[t+240>>2]&&(s=c*(a*+p[t+132>>2])*+p[t+116>>2],a=c*(b*+p[t+136>>2])*+p[t+120>>2],p[t+64>>2]=+p[t+112>>2]*(c*(o*+p[t+128>>2]))+ +p[t+64>>2],p[t+68>>2]=s+ +p[t+68>>2],p[t+72>>2]=a+ +p[t+72>>2],a=c*+p[t+100>>2]*+p[i+68>>2],b=c*+p[t+104>>2]*+p[i+72>>2],p[t+80>>2]=c*+p[t+96>>2]*+p[i+64>>2]+ +p[t+80>>2],p[t+84>>2]=a+ +p[t+84>>2],p[t+88>>2]=b+ +p[t+88>>2]),0|_[e+240>>2]&&(b=c*(+p[i+52>>2]*+p[e+132>>2])*+p[e+116>>2],a=c*(+p[i+56>>2]*+p[e+136>>2])*+p[e+120>>2],p[e+64>>2]=+p[e+112>>2]*(c*(+p[i+48>>2]*+p[e+128>>2]))+ +p[e+64>>2],p[e+68>>2]=b+ +p[e+68>>2],p[e+72>>2]=a+ +p[e+72>>2],a=c*+p[e+100>>2]*+p[i+84>>2],b=c*+p[e+104>>2]*+p[i+88>>2],p[e+80>>2]=c*+p[e+96>>2]*+p[i+80>>2]+ +p[e+80>>2],p[e+84>>2]=a+ +p[e+84>>2],p[e+88>>2]=b+ +p[e+88>>2])}function vt(t,e,i){t|=0,e|=0;var n,o,r,s,c=0,a=0,b=0;a=+p[100+(i|=0)>>2],o=+p[i+16>>2],r=+p[i+20>>2],s=+p[i+24>>2],c=+p[i+108>>2],n=a+(c=+p[i+112>>2]-a*+p[i+116>>2]-(o*+p[t+64>>2]+r*+p[t+68>>2]+s*+p[t+72>>2]+(+p[i>>2]*+p[t+80>>2]+ +p[i+4>>2]*+p[t+84>>2]+ +p[i+8>>2]*+p[t+88>>2]))*c-c*(+p[i+48>>2]*+p[e+64>>2]+ +p[i+52>>2]*+p[e+68>>2]+ +p[i+56>>2]*+p[e+72>>2]+(+p[i+32>>2]*+p[e+80>>2]+ +p[i+36>>2]*+p[e+84>>2]+ +p[i+40>>2]*+p[e+88>>2])))<(b=+p[i+120>>2])?b-a:c,p[i+100>>2]=a+c<b?b:a+c,0|_[t+240>>2]&&(b=n*(r*+p[t+132>>2])*+p[t+116>>2],a=n*(s*+p[t+136>>2])*+p[t+120>>2],p[t+64>>2]=+p[t+112>>2]*(n*(o*+p[t+128>>2]))+ +p[t+64>>2],p[t+68>>2]=b+ +p[t+68>>2],p[t+72>>2]=a+ +p[t+72>>2],a=n*+p[t+100>>2]*+p[i+68>>2],b=n*+p[t+104>>2]*+p[i+72>>2],p[t+80>>2]=n*+p[t+96>>2]*+p[i+64>>2]+ +p[t+80>>2],p[t+84>>2]=a+ +p[t+84>>2],p[t+88>>2]=b+ +p[t+88>>2]),0|_[e+240>>2]&&(b=n*(+p[i+52>>2]*+p[e+132>>2])*+p[e+116>>2],a=n*(+p[i+56>>2]*+p[e+136>>2])*+p[e+120>>2],p[e+64>>2]=+p[e+112>>2]*(n*(+p[i+48>>2]*+p[e+128>>2]))+ +p[e+64>>2],p[e+68>>2]=b+ +p[e+68>>2],p[e+72>>2]=a+ +p[e+72>>2],a=n*+p[e+100>>2]*+p[i+84>>2],b=n*+p[e+104>>2]*+p[i+88>>2],p[e+80>>2]=n*+p[e+96>>2]*+p[i+80>>2]+ +p[e+80>>2],p[e+84>>2]=a+ +p[e+84>>2],p[e+88>>2]=b+ +p[e+88>>2])}function St(t,e,i,o){e|=0,i|=0,o|=0;var r,s=0,p=0,c=0,a=0;if(r=Q,Q=Q+96|0,(0|(s=0|_[8+(t|=0)>>2]))==(0|_[t+12>>2])&&(0|s)<(0|(a=0|s?s<<1:1))){if(a?(_[6630]=1+(0|_[6630]),(s=0|di(16+(a<<2|3)|0))?(_[(s+4+15&-16)-4>>2]=s,s=s+4+15&-16):s=0,c=s,s=0|_[t+8>>2]):c=0,(0|s)>0){p=0;do{_[c+(p<<2)>>2]=_[(0|_[t+16>>2])+(p<<2)>>2],p=p+1|0}while((0|p)!=(0|s))}(p=0|_[t+16>>2])&&(0|n[t+20|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[p+-4>>2]),s=0|_[t+8>>2]),_[t+16>>2]=0),n[t+20|0]=1,_[t+16>>2]=c,_[t+12>>2]=a}_[(0|_[t+16>>2])+(s<<2)>>2]=e,_[t+8>>2]=s+1,_[r+32>>2]=_[e+4>>2],_[r+32+4>>2]=_[e+4+4>>2],_[r+32+8>>2]=_[e+4+8>>2],_[r+32+12>>2]=_[e+4+12>>2],_[r+32+16>>2]=_[e+20>>2],_[r+32+16+4>>2]=_[e+20+4>>2],_[r+32+16+8>>2]=_[e+20+8>>2],_[r+32+16+12>>2]=_[e+20+12>>2],_[r+32+32>>2]=_[e+36>>2],_[r+32+32+4>>2]=_[e+36+4>>2],_[r+32+32+8>>2]=_[e+36+8>>2],_[r+32+32+12>>2]=_[e+36+12>>2],_[r+32+48>>2]=_[e+52>>2],_[r+32+48+4>>2]=_[e+52+4>>2],_[r+32+48+8>>2]=_[e+52+8>>2],_[r+32+48+12>>2]=_[e+52+12>>2],a=0|_[e+192>>2],cd[127&_[8+(0|_[a>>2])>>2]](a,r+32|0,r+16|0,r),a=0|_[t+68>>2],o=0|Yb[3&_[8+(0|_[a>>2])>>2]](a,r+16|0,r,0|_[4+(0|_[e+192>>2])>>2],e,i,o,0|_[t+24>>2],0),_[e+188>>2]=o,Q=r}function wt(t,e,i,n){var o,r,s,c,a,b,d,l,A,f,u,m,h,y,g,C,v,S,w,k,R,j,D,I,B,W,F,O,x,T;e|=0,i|=0,n|=0,T=+p[4+(t|=0)>>2],x=+p[t+20>>2],O=+p[t+36>>2],W=+p[t+8>>2],B=+p[t+24>>2],I=+p[t+40>>2],j=+p[t+12>>2],k=+p[t+28>>2],S=+p[t+44>>2],g=+p[e+4>>2],y=+p[e+20>>2],h=+p[e+36>>2],u=+p[e+8>>2],f=+p[e+24>>2],A=+p[e+40>>2],d=+p[e+12>>2],a=+p[e+28>>2],s=+p[e+44>>2],_[i>>2]=0,_[i+4>>2]=0,_[i+8>>2]=0,_[i+12>>2]=0,R=+p[n>>2],w=+p[n+4>>2],v=+p[n+8>>2],p[i+16>>2]=T*R+x*w+O*v,p[i+20>>2]=W*R+B*w+I*v,p[i+24>>2]=j*R+k*w+S*v,p[i+28>>2]=0,b=-+p[n>>2],c=-+p[n+4>>2],r=-+p[n+8>>2],p[i+32>>2]=g*b+y*c+h*r,p[i+36>>2]=u*b+f*c+A*r,p[i+40>>2]=d*b+a*c+s*r,p[i+44>>2]=0,F=(T*R+x*w+O*v)*+p[t+396>>2],D=(W*R+B*w+I*v)*+p[t+400>>2],C=(j*R+k*w+S*v)*+p[t+404>>2],p[i+48>>2]=F,p[i+52>>2]=D,p[i+56>>2]=C,p[i+60>>2]=0,m=(g*b+y*c+h*r)*+p[e+396>>2],l=(u*b+f*c+A*r)*+p[e+400>>2],o=(d*b+a*c+s*r)*+p[e+404>>2],p[i+64>>2]=m,p[i+68>>2]=l,p[i+72>>2]=o,p[i+76>>2]=0,p[i+80>>2]=(T*R+x*w+O*v)*F+(W*R+B*w+I*v)*D+(j*R+k*w+S*v)*C+((g*b+y*c+h*r)*m+(u*b+f*c+A*r)*l+(d*b+a*c+s*r)*o)}function kt(t){var e=0,i=0,o=0;if(_[(t|=0)>>2]=4992,0|n[t+272|0]&&(e=0|_[t+204>>2],zb[511&_[_[e>>2]>>2]](e),0|(e=0|_[t+204>>2]))&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),0|(e=0|_[t+196>>2])&&(zb[511&_[_[e>>2]>>2]](e),0|(i=0|_[t+196>>2]))&&(_[6631]=1+(0|_[6631]),Li(0|_[i+-4>>2])),0|n[t+273|0]&&(o=0|_[t+200>>2],zb[511&_[_[o>>2]>>2]](o),0|(o=0|_[t+200>>2]))&&(_[6631]=1+(0|_[6631]),Li(0|_[o+-4>>2])),0|(e=0|_[t+316>>2])&&(0|n[t+320|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+316>>2]=0),n[t+320|0]=1,_[t+316>>2]=0,_[t+308>>2]=0,_[t+312>>2]=0,0|(e=0|_[t+288>>2])&&(0|n[t+292|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+288>>2]=0),n[t+292|0]=1,_[t+288>>2]=0,_[t+280>>2]=0,_[t+284>>2]=0,0|(e=0|_[t+240>>2])&&(0|n[t+244|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+240>>2]=0),n[t+244|0]=1,_[t+240>>2]=0,_[t+232>>2]=0,_[t+236>>2]=0,0|(e=0|_[t+220>>2])&&(0|n[t+224|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+220>>2]=0),n[t+224|0]=1,_[t+220>>2]=0,_[t+212>>2]=0,_[t+216>>2]=0,!(e=0|_[t+188>>2]))return n[t+192|0]=1,_[t+188>>2]=0,_[t+180>>2]=0,_[(o=t+184|0)>>2]=0,void cn(t);0|n[t+192|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+188>>2]=0,n[t+192|0]=1,_[t+188>>2]=0,_[t+180>>2]=0,_[(o=t+184|0)>>2]=0,cn(t)}function Rt(t,e,i){t|=0,e|=0,i|=0;for(var n=0,o=0,r=0,s=0,p=0,c=0,a=0,b=0,d=0,l=0;;){for(d=0|_[t+12>>2],l=0|_[d+((e+i|0)/2<<2)>>2],n=e,o=i;;){if((0|(b=0|_[208+(0|_[l+740>>2])>>2]))>-1)for(;;){if(s=0|_[(p=d+(n<<2)|0)>>2],(0|(r=0|_[208+(0|_[s+740>>2])>>2]))<=-1&&(r=0|_[208+(0|_[s+744>>2])>>2]),!((0|r)<(0|b))){a=p;break}n=n+1|0}else for(p=0|_[208+(0|_[l+744>>2])>>2];;){if(s=0|_[(c=d+(n<<2)|0)>>2],(0|(r=0|_[208+(0|_[s+740>>2])>>2]))<=-1&&(r=0|_[208+(0|_[s+744>>2])>>2]),!((0|r)<(0|p))){a=c;break}n=n+1|0}if((0|b)>-1)for(;p=0|_[(r=d+(o<<2)|0)>>2],(0|(s=0|_[208+(0|_[p+740>>2])>>2]))<=-1&&(s=0|_[208+(0|_[p+744>>2])>>2]),(0|b)<(0|s);)o=o+-1|0;else for(c=0|_[208+(0|_[l+744>>2])>>2];p=0|_[(r=d+(o<<2)|0)>>2],(0|(s=0|_[208+(0|_[p+740>>2])>>2]))<=-1&&(s=0|_[208+(0|_[p+744>>2])>>2]),(0|c)<(0|s);)o=o+-1|0;if((0|n)<=(0|o)&&(d=0|_[a>>2],_[a>>2]=_[r>>2],_[(0|_[t+12>>2])+(o<<2)>>2]=d,n=n+1|0,o=o+-1|0),(0|n)>(0|o))break;d=0|_[t+12>>2]}if((0|o)>(0|e)&&Rt(t,e,o),!((0|n)<(0|i)))break;e=n}}function jt(t,e,i){t|=0,i|=0;var o,r,s,c,a,b,d,l,A,f,u,m,h=0,y=0,g=0,C=0;o=Q,Q=Q+64|0,n[84+(e|=0)|0]=0,_[o>>2]=_[t+4>>2],_[o+4>>2]=_[t+4+4>>2],_[o+8>>2]=_[t+4+8>>2],_[o+12>>2]=_[t+4+12>>2],_[o+16>>2]=_[t+20>>2],_[o+16+4>>2]=_[t+20+4>>2],_[o+16+8>>2]=_[t+20+8>>2],_[o+16+12>>2]=_[t+20+12>>2],_[o+32>>2]=_[t+36>>2],_[o+32+4>>2]=_[t+36+4>>2],_[o+32+8>>2]=_[t+36+8>>2],_[o+32+12>>2]=_[t+36+12>>2],_[o+48>>2]=_[t+52>>2],_[o+48+4>>2]=_[t+52+4>>2],_[o+48+8>>2]=_[t+52+8>>2],_[o+48+12>>2]=_[t+52+12>>2],i&&0|(h=0|_[t+480>>2])&&id[127&_[8+(0|_[h>>2])>>2]](h,o),m=+p[e+156>>2],f=+p[o>>2],u=+p[e+160>>2],A=+p[o+4>>2],C=+p[e+164>>2],l=+p[o+8>>2],d=+p[o+16>>2],b=+p[o+20>>2],a=+p[o+24>>2],c=+p[o+32>>2],s=+p[o+36>>2],r=+p[o+40>>2],g=m*d+u*b+C*a+ +p[o+52>>2],y=m*c+u*s+C*r+ +p[o+56>>2],p[e+36>>2]=m*f+u*A+C*l+ +p[o+48>>2],p[e+40>>2]=g,p[e+44>>2]=y,p[e+48>>2]=0,y=+p[e+172>>2],g=+p[e+176>>2],C=+p[e+180>>2],p[e+52>>2]=f*y+A*g+l*C,p[e+56>>2]=y*d+g*b+C*a,p[e+60>>2]=y*c+g*s+C*r,p[e+64>>2]=0,C=+p[e+188>>2],g=+p[e+192>>2],y=+p[e+196>>2],p[e+68>>2]=f*C+A*g+l*y,p[e+72>>2]=d*C+b*g+a*y,p[e+76>>2]=c*C+s*g+r*y,p[e+80>>2]=0,Q=o}function Dt(t,e,i,n,o,r,s,c,a,b){e|=0,i|=0,n|=0,o|=0,r|=0,s|=0,c=+c,a|=0,b=+b;var d,l,A,f,u,m=0,h=0,y=0,g=0,C=0,v=0,S=0;_[(t|=0)>>2]=_[r>>2],_[t+4>>2]=_[r+4>>2],_[t+8>>2]=_[r+8>>2],_[t+12>>2]=_[r+12>>2],C=+p[n+4>>2],y=+p[t+8>>2],h=+p[n+8>>2],v=+p[t+4>>2],m=+p[t>>2],S=+p[n>>2],u=(C*y-h*v)*+p[e>>2]+ +p[e+4>>2]*(h*m-y*S)+(v*S-C*m)*+p[e+8>>2],f=(C*y-h*v)*+p[e+16>>2]+(h*m-y*S)*+p[e+20>>2]+(v*S-C*m)*+p[e+24>>2],C=(C*y-h*v)*+p[e+32>>2]+(h*m-y*S)*+p[e+36>>2]+(v*S-C*m)*+p[e+40>>2],p[t+16>>2]=u,p[t+20>>2]=f,p[t+24>>2]=C,p[t+28>>2]=0,S=+p[o+4>>2],h=+p[o+8>>2],g=+p[o>>2],A=+p[i>>2]*(S*-y-h*-v)+ +p[i+4>>2]*(h*-m-g*-y)+(g*-v-S*-m)*+p[i+8>>2],l=(S*-y-h*-v)*+p[i+16>>2]+(h*-m-g*-y)*+p[i+20>>2]+(g*-v-S*-m)*+p[i+24>>2],m=(S*-y-h*-v)*+p[i+32>>2]+(h*-m-g*-y)*+p[i+36>>2]+(g*-v-S*-m)*+p[i+40>>2],p[t+32>>2]=A,p[t+36>>2]=l,p[t+40>>2]=m,p[t+44>>2]=0,S=+p[s>>2]*u,v=+p[s+4>>2]*f,g=+p[s+8>>2]*C,p[t+48>>2]=S,p[t+52>>2]=v,p[t+56>>2]=g,p[t+60>>2]=0,y=+p[a>>2]*A,h=+p[a+4>>2]*l,d=+p[a+8>>2]*m,p[t+64>>2]=y,p[t+68>>2]=h,p[t+72>>2]=d,p[t+76>>2]=0,p[t+80>>2]=u*S+f*v+C*g+c+b+(A*y+l*h+m*d)}function It(t,e,i){t|=0,e|=0,i|=0;for(var n=0,o=0,r=0,s=0,p=0,c=0,a=0,b=0,d=0;;){for(b=0|_[t+12>>2],d=0|_[b+((e+i|0)/2<<2)>>2],n=e,o=i;;){if((0|(a=0|_[208+(0|_[d+28>>2])>>2]))>-1)for(;;){if(s=0|_[(p=b+(n<<2)|0)>>2],(0|(r=0|_[208+(0|_[s+28>>2])>>2]))<=-1&&(r=0|_[208+(0|_[s+32>>2])>>2]),!((0|r)<(0|a))){c=p;break}n=n+1|0}else for(p=0|_[208+(0|_[d+32>>2])>>2];s=0|_[(c=b+(n<<2)|0)>>2],(0|(r=0|_[208+(0|_[s+28>>2])>>2]))<=-1&&(r=0|_[208+(0|_[s+32>>2])>>2]),(0|r)<(0|p);)n=n+1|0;if((0|a)>-1)for(;p=0|_[(r=b+(o<<2)|0)>>2],(0|(s=0|_[208+(0|_[p+28>>2])>>2]))<=-1&&(s=0|_[208+(0|_[p+32>>2])>>2]),(0|a)<(0|s);)o=o+-1|0;else for(a=0|_[208+(0|_[d+32>>2])>>2];p=0|_[(r=b+(o<<2)|0)>>2],(0|(s=0|_[208+(0|_[p+28>>2])>>2]))<=-1&&(s=0|_[208+(0|_[p+32>>2])>>2]),(0|a)<(0|s);)o=o+-1|0;if((0|n)<=(0|o)&&(b=0|_[c>>2],_[c>>2]=_[r>>2],_[(0|_[t+12>>2])+(o<<2)>>2]=b,n=n+1|0,o=o+-1|0),(0|n)>(0|o))break;b=0|_[t+12>>2]}if((0|o)>(0|e)&&It(t,e,o),!((0|n)<(0|i)))break;e=n}}function Bt(t,e,i,n,o,_,r){e=+e,n=+n,o|=0,r|=0;var s,c,a,b,d,A,m,h=0,y=0;s=Q,Q=Q+16|0,y=(i=+i)*(_=+_)+ +p[52+(t|=0)>>2],h=n*_+ +p[t+56>>2],p[r+48>>2]=e*_+ +p[t+48>>2],p[r+52>>2]=y,p[r+56>>2]=h,p[r+60>>2]=0,h=+p[o>>2],y=+p[o+4>>2],a=(n=+p[o+8>>2])*(i=(e=(e=+l(+(h*h+y*y+n*n)))*_>.7853981852531433?.7853981852531433/_:e)<.0010000000474974513?.5*_-e*(_*_*_*.02083333395421505*e):+u(.5*e*_)/e),b=y*i,d=h*i,m=+f(+e*_*.5),Qt(t,s),e=+p[s>>2],A=+p[s+12>>2],h=+p[s+8>>2],y=(a*e+(b*A+m*(_=+p[s+4>>2]))-d*h)*(i=1/+l(+((m*A-d*e-b*_-a*h)*(m*A-d*e-b*_-a*h)+((a*A+m*h+d*_-b*e)*(a*A+m*h+d*_-b*e)+((m*e+d*A+b*h-a*_)*(m*e+d*A+b*h-a*_)+(a*e+(b*A+m*_)-d*h)*(a*e+(b*A+m*_)-d*h)))))),c=(a*A+m*h+d*_-b*e)*i,h=(n=(m*e+d*A+b*h-a*_)*i)*(2/((i*=m*A-d*e-b*_-a*h)*i+(c*c+(n*n+y*y)))),_=y*(2/(i*i+(c*c+(n*n+y*y)))),e=c*(2/(i*i+(c*c+(n*n+y*y)))),p[r>>2]=1-(y*_+c*e),p[r+4>>2]=n*_-i*e,p[r+8>>2]=n*e+i*_,p[r+12>>2]=0,p[r+16>>2]=n*_+i*e,p[r+20>>2]=1-(n*h+c*e),p[r+24>>2]=y*e-i*h,p[r+28>>2]=0,p[r+32>>2]=n*e-i*_,p[r+36>>2]=y*e+i*h,p[r+40>>2]=1-(n*h+y*_),p[r+44>>2]=0,Q=s}function Wt(t,e){var i,n;e|=0,i=Q,Q=Q+48|0,n=4+(0|_[48+(t|=0)>>2])|0,_[n>>2]=_[e>>2],_[n+4>>2]=_[e+4>>2],_[n+8>>2]=_[e+8>>2],_[n+12>>2]=_[e+12>>2],_[(e=i+32+4|0)>>2]=0,_[e+4>>2]=0,_[e+8>>2]=0,p[i+32>>2]=1,rd[127&_[68+(0|_[t>>2])>>2]](i+16|0,t,i+32|0),p[t+32>>2]=+p[i+16>>2]+ +p[t+12>>2],p[i+32>>2]=-1,rd[127&_[68+(0|_[t>>2])>>2]](i,t,i+32|0),_[i+16>>2]=_[i>>2],_[i+16+4>>2]=_[i+4>>2],_[i+16+8>>2]=_[i+8>>2],_[i+16+12>>2]=_[i+12>>2],p[t+16>>2]=+p[i+16>>2]-+p[t+12>>2],_[i+32>>2]=0,_[i+32+4>>2]=0,_[i+32+8>>2]=0,_[i+32+12>>2]=0,p[e>>2]=1,rd[127&_[68+(0|_[t>>2])>>2]](i+16|0,t,i+32|0),p[t+36>>2]=+p[i+16+4>>2]+ +p[t+12>>2],p[e>>2]=-1,rd[127&_[68+(0|_[t>>2])>>2]](i,t,i+32|0),_[i+16>>2]=_[i>>2],_[i+16+4>>2]=_[i+4>>2],_[i+16+8>>2]=_[i+8>>2],_[i+16+12>>2]=_[i+12>>2],p[t+20>>2]=+p[i+16+4>>2]-+p[t+12>>2],_[i+32>>2]=0,_[i+32+4>>2]=0,_[i+32+8>>2]=0,_[i+32+12>>2]=0,p[i+32+8>>2]=1,rd[127&_[68+(0|_[t>>2])>>2]](i+16|0,t,i+32|0),p[t+40>>2]=+p[i+16+8>>2]+ +p[t+12>>2],p[i+32+8>>2]=-1,rd[127&_[68+(0|_[t>>2])>>2]](i,t,i+32|0),_[i+16>>2]=_[i>>2],_[i+16+4>>2]=_[i+4>>2],_[i+16+8>>2]=_[i+8>>2],_[i+16+12>>2]=_[i+12>>2],p[t+24>>2]=+p[i+16+8>>2]-+p[t+12>>2],Q=i}function Ft(t,e,i){e|=0,i|=0;var n,o,r,s,p=0,c=0,a=0,b=0,d=0,l=0;for(s=Q,Q=Q+16|0,l=0|_[12+(t|=0)>>2],n=0|_[l+((i+e|0)/2<<4)>>2],o=0|_[l+((i+e|0)/2<<4)+4>>2],r=0|_[l+((i+e|0)/2<<4)+8>>2],c=i,p=e;;){for(;;){if(d=l+(p<<4)|0,(0|(a=0|_[l+(p<<4)+4>>2]))>=(0|o)){if((0|a)!=(0|o))break;if((0|(a=0|_[d>>2]))>=(0|n)){if((0|a)!=(0|n))break;if((0|_[l+(p<<4)+8>>2])>=(0|r))break}}p=p+1|0}for(;;){if(b=l+(c<<4)|0,(0|o)>=(0|(a=0|_[l+(c<<4)+4>>2]))){if((0|o)!=(0|a))break;if((0|n)>=(0|(a=0|_[b>>2]))){if((0|n)!=(0|a))break;if((0|r)>=(0|_[l+(c<<4)+8>>2]))break}}c=c+-1|0}if((0|p)<=(0|c)&&(_[s>>2]=_[d>>2],_[s+4>>2]=_[d+4>>2],_[s+8>>2]=_[d+8>>2],_[s+12>>2]=_[d+12>>2],_[d>>2]=_[b>>2],_[d+4>>2]=_[b+4>>2],_[d+8>>2]=_[b+8>>2],_[d+12>>2]=_[b+12>>2],l=(0|_[t+12>>2])+(c<<4)|0,_[l>>2]=_[s>>2],_[l+4>>2]=_[s+4>>2],_[l+8>>2]=_[s+8>>2],_[l+12>>2]=_[s+12>>2],c=c+-1|0,p=p+1|0),(0|p)>(0|c))break;l=0|_[t+12>>2]}(0|c)>(0|e)&&Ft(t,e,c),(0|p)>=(0|i)||Ft(t,p,i),Q=s}function Ot(t){var e,i=0,n=0,o=0,r=0,s=0,c=0;e=0|_[28+(t|=0)>>2],o=0,r=0,s=0,c=0;t:for(;;){switch(2147483647&c){case 0:o=+p[t+80>>2]+ +p[t+64>>2],r=+p[t+84>>2]+ +p[t+68>>2],s=+p[t+88>>2]+ +p[t+72>>2];break;case 1:o=+p[t+80>>2]+ +p[t+64>>2],r=+p[t+84>>2]+ +p[t+68>>2],s=+p[t+72>>2]-+p[t+88>>2];break;case 2:o=+p[t+80>>2]+ +p[t+64>>2],r=+p[t+68>>2]-+p[t+84>>2],s=+p[t+88>>2]+ +p[t+72>>2];break;case 3:o=+p[t+80>>2]+ +p[t+64>>2],r=+p[t+68>>2]-+p[t+84>>2],s=+p[t+72>>2]-+p[t+88>>2];break;case 4:o=+p[t+64>>2]-+p[t+80>>2],r=+p[t+84>>2]+ +p[t+68>>2],s=+p[t+88>>2]+ +p[t+72>>2];break;case 5:o=+p[t+64>>2]-+p[t+80>>2],r=+p[t+84>>2]+ +p[t+68>>2],s=+p[t+72>>2]-+p[t+88>>2];break;case 6:o=+p[t+64>>2]-+p[t+80>>2],r=+p[t+68>>2]-+p[t+84>>2],s=+p[t+88>>2]+ +p[t+72>>2];break;case 7:o=+p[t+64>>2]-+p[t+80>>2],r=+p[t+68>>2]-+p[t+84>>2],s=+p[t+72>>2]-+p[t+88>>2]}if((0|e)>0){n=0|_[t+36>>2],i=0;do{if(+p[n+(36*i|0)+32>>2]+(o*+p[n+(36*i|0)+20>>2]+r*+p[n+(36*i|0)+24>>2]+s*+p[n+(36*i|0)+28>>2])>0){i=0,n=16;break t}i=i+1|0}while((0|i)<(0|e))}if((c=c+1|0)>>>0>=8){i=1,n=16;break}}return 16==(0|n)?0|i:0}function xt(t,e,i,n,o,r,s){t|=0,e|=0,i|=0,o|=0,r|=0,s|=0;var c,b,d=0,l=0,A=0,f=0,u=0,m=0,h=0;if(b=Q,Q=Q+16|0,p[(n|=0)>>2]=34028234663852886e22,p[o>>2]=-34028234663852886e22,(0|(c=0|_[t+8>>2]))>0){A=0;do{h=0|_[t+16>>2],m=+p[h+(A<<4)>>2],u=+p[h+(A<<4)+4>>2],f=+p[h+(A<<4)+8>>2],d=m*+p[e>>2]+u*+p[e+4>>2]+f*+p[e+8>>2]+ +p[e+48>>2],l=m*+p[e+16>>2]+u*+p[e+20>>2]+f*+p[e+24>>2]+ +p[e+52>>2],f=m*+p[e+32>>2]+u*+p[e+36>>2]+f*+p[e+40>>2]+ +p[e+56>>2],(u=d*+p[i>>2]+l*+p[i+4>>2]+f*+p[i+8>>2])<+p[n>>2]&&(p[n>>2]=u,p[r>>2]=d,p[r+4>>2]=l,p[r+8>>2]=f,p[r+12>>2]=0),u>+p[o>>2]&&(p[o>>2]=u,p[s>>2]=d,p[s+4>>2]=l,p[s+8>>2]=f,p[s+12>>2]=0),A=A+1|0}while((0|A)!=(0|c));l=m=+p[o>>2],p[a>>2]=m,A=0|_[a>>2]}else l=-34028234663852886e22,A=-8388609;(d=+p[n>>2])>l?(_[n>>2]=A,p[o>>2]=d,_[b>>2]=_[r>>2],_[b+4>>2]=_[r+4>>2],_[b+8>>2]=_[r+8>>2],_[b+12>>2]=_[r+12>>2],_[r>>2]=_[s>>2],_[r+4>>2]=_[s+4>>2],_[r+8>>2]=_[s+8>>2],_[r+12>>2]=_[s+12>>2],_[s>>2]=_[b>>2],_[s+4>>2]=_[b+4>>2],_[s+8>>2]=_[b+8>>2],_[s+12>>2]=_[b+12>>2],Q=b):Q=b}function Tt(t,e){e|=0;var i=0,n=0,o=0,r=0,s=0,c=0,a=0,b=0,d=0,l=0,A=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0;if((0|_[(t|=0)>>2])==(0|e))return _[t>>2]=0,0|(t=0);if(n=0|_[e+32>>2],i=0|_[n+32>>2],e=0|_[n+36+(((0|_[n+40>>2])!=(0|e)&1)<<2)>>2],!i)return _[t>>2]=e,_[e+32>>2]=0,(i=0|_[t+4>>2])?(_[6631]=1+(0|_[6631]),Li(0|_[i+-4>>2]),i=0|_[t>>2]):i=e,_[t+4>>2]=n,0|(t=i);_[i+36+(((0|_[i+40>>2])==(0|n)&1)<<2)>>2]=e,_[e+32>>2]=i,0|(e=0|_[t+4>>2])&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+4>>2]=n;do{if(u=+p[i>>2],A=+p[(S=i+4|0)>>2],d=+p[(C=i+8|0)>>2],h=+p[(w=i+16|0)>>2],a=+p[(v=i+20|0)>>2],s=+p[(n=i+24|0)>>2],g=0|_[i+36>>2],e=0|_[i+40>>2],f=(y=+p[g>>2])<(f=+p[e>>2])?y:f,p[i>>2]=f,m=(y=+p[g+16>>2])>(m=+p[e+16>>2])?y:m,p[w>>2]=m,l=(y=+p[g+4>>2])<(l=+p[e+4>>2])?y:l,p[S>>2]=l,c=(y=+p[g+20>>2])>(c=+p[e+20>>2])?y:c,p[v>>2]=c,b=(y=+p[g+8>>2])<(b=+p[e+8>>2])?y:b,p[C>>2]=b,r=(y=+p[g+24>>2])>(r=+p[e+24>>2])?y:r,p[n>>2]=r,!(h!=m|u!=f|A!=l|d!=b||a!=c|s!=r)){o=14;break}i=0|_[i+32>>2]}while(0|i);return 14==(0|o)?0|i:0|(w=0|_[t>>2])}function Pt(t,e,i){e|=0,i|=0;var o,r,s,p,c=0,a=0,b=0;if(p=Q,Q=Q+32|0,s=(b=!!(0|n[28+(t|=0)|0]))?i:e,b=b?e:i,o=0|_[s+4>>2],r=0|_[o+16>>2],(0|(a=0|_[t+12>>2]))<(0|r)){if((0|_[t+16>>2])<(0|r)){if(r?(_[6630]=1+(0|_[6630]),(e=0|di(16+(r<<2|3)|0))?(_[(e+4+15&-16)-4>>2]=e,e=e+4+15&-16):e=0,c=0|_[t+12>>2]):(e=0,c=a),(0|c)>0){i=0;do{_[e+(i<<2)>>2]=_[(0|_[t+20>>2])+(i<<2)>>2],i=i+1|0}while((0|i)!=(0|c))}0|(i=0|_[t+20>>2])&&(0|n[t+24|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[i+-4>>2])),_[t+20>>2]=0),n[t+24|0]=1,_[t+20>>2]=e,_[t+16>>2]=r,i=t+20|0}else i=t+20|0;e=a;do{_[(0|_[i>>2])+(e<<2)>>2]=0,e=e+1|0}while((0|e)!=(0|r))}if(_[t+12>>2]=r,(0|r)<=0)Q=p;else{e=0;do{0|_[o+64>>2]?_[(0|_[t+20>>2])+(e<<2)>>2]=0:(i=0|_[(0|_[o+24>>2])+(80*e|0)+64>>2],c=0|_[s+8>>2],a=0|_[s+12>>2],_[p>>2]=s,_[p+4>>2]=i,_[p+8>>2]=c,_[p+12>>2]=a,_[p+16>>2]=-1,_[p+20>>2]=e,a=0|_[t+4>>2],a=0|Zb[31&_[8+(0|_[a>>2])>>2]](a,p,b,0|_[t+32>>2]),_[(0|_[t+20>>2])+(e<<2)>>2]=a),e=e+1|0}while((0|e)!=(0|r));Q=p}}function Vt(t){var e,i,o=0,r=0,s=0,p=0,c=0;if(s=(r=0|_[32+(t|=0)>>2])?0|_[t+40>>2]:0,p=(e=0|_[t+52>>2])?0|_[t+60>>2]:0,c=(o=0|_[t+72>>2])?0|_[t+80>>2]:0,i=0|_[t+8>>2],Gb[3&_[12+(0|_[i>>2])>>2]](i,s,r,p,e,c,o,0|_[t+4>>2],0|_[t+20>>2],0|_[t+24>>2]),(0|(o=0|_[t+32>>2]))<0){(0|_[t+36>>2])<0&&(0|(r=0|_[t+40>>2])&&(0|n[t+44|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[r+-4>>2])),_[t+40>>2]=0),n[t+44|0]=1,_[t+40>>2]=0,_[t+36>>2]=0);do{_[(0|_[t+40>>2])+(o<<2)>>2]=0,o=o+1|0}while(0|o)}if(_[t+32>>2]=0,(0|(o=0|_[t+52>>2]))<0){(0|_[t+56>>2])<0&&(0|(r=0|_[t+60>>2])&&(0|n[t+64|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[r+-4>>2])),_[t+60>>2]=0),n[t+64|0]=1,_[t+60>>2]=0,_[t+56>>2]=0);do{_[(0|_[t+60>>2])+(o<<2)>>2]=0,o=o+1|0}while(0|o)}if(_[t+52>>2]=0,(0|(o=0|_[t+72>>2]))>=0)_[t+72>>2]=0;else{(0|_[t+76>>2])<0&&(0|(r=0|_[t+80>>2])&&(0|n[t+84|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[r+-4>>2])),_[t+80>>2]=0),n[t+84|0]=1,_[t+80>>2]=0,_[t+76>>2]=0);do{_[(0|_[t+80>>2])+(o<<2)>>2]=0,o=o+1|0}while(0|o);_[t+72>>2]=0}}function Mt(t){t|=0;var e,i=0,o=0,r=0,s=0,p=0;if(_[6630]=1+(0|_[6630]),(i=0|di(39))?(_[(i+4+15&-16)-4>>2]=i,s=i+4+15&-16):s=0,e=s,_[s>>2]=0,_[s+4>>2]=0,_[s+8>>2]=0,_[s+12>>2]=0,_[s+16>>2]=0,(0|_[t+872>>2])>0?(p=0|_[_[t+880>>2]>>2],_[s>>2]=_[p>>2],_[s+4>>2]=_[p+4>>2],_[s+8>>2]=_[p+8>>2],_[s+12>>2]=_[p+12>>2],_[s+16>>2]=_[p+16>>2]):(_[s>>2]=0,_[s+4>>2]=0,_[s+8>>2]=0,_[s+12>>2]=0,_[s+16>>2]=0),(0|(o=0|_[t+872>>2]))!=(0|_[t+876>>2]))return p=o,r=0|_[(r=t+880|0)>>2],_[(r=r+(p<<2)|0)>>2]=e,p=p+1|0,_[t+872>>2]=p,0|s;if((0|o)>=(0|(p=0|o?o<<1:1)))return p=o,r=0|_[(r=t+880|0)>>2],_[(r=r+(p<<2)|0)>>2]=e,p=p+1|0,_[t+872>>2]=p,0|s;if(p?(_[6630]=1+(0|_[6630]),(i=0|di(16+(p<<2|3)|0))?(_[(i+4+15&-16)-4>>2]=i,i=i+4+15&-16):i=0,o=0|_[t+872>>2]):i=0,(0|o)>0){r=0;do{_[i+(r<<2)>>2]=_[(0|_[t+880>>2])+(r<<2)>>2],r=r+1|0}while((0|r)!=(0|o))}return(r=0|_[t+880>>2])&&(0|n[t+884|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[r+-4>>2]),o=0|_[t+872>>2]),_[t+880>>2]=0),n[t+884|0]=1,_[t+880>>2]=i,_[t+876>>2]=p,p=o,r=0|_[(r=t+880|0)>>2],_[(r=r+(p<<2)|0)>>2]=e,p=p+1|0,_[t+872>>2]=p,0|s}function Gt(t,e){e|=0;var i,o,r,s,p,c,a=0,b=0,d=0,l=0,A=0,f=0;if((0|(a=0|_[4+(t|=0)>>2]))==(0|_[t+8>>2])&&(Zn(t,0|a?a<<1:1),a=0|_[t+4>>2]),c=0|_[t+12>>2],n[0|(o=c+(36*a|0)+16|0)]=1,_[(r=c+(36*a|0)+12|0)>>2]=0,_[(s=c+(36*a|0)+4|0)>>2]=0,_[(p=c+(36*a|0)+8|0)>>2]=0,(0|(f=0|_[e+4>>2]))<=0)return _[s>>2]=f,e=e+20|0,_[(f=c+(36*a|0)+20|0)>>2]=_[e>>2],_[f+4>>2]=_[e+4>>2],_[f+8>>2]=_[e+8>>2],_[f+12>>2]=_[e+12>>2],e=1+(e=0|_[t+4>>2])|0,void(_[t+4>>2]=e);if(_[6630]=1+(0|_[6630]),(b=0|di(16+(f<<2|3)|0))?(_[(b+4+15&-16)-4>>2]=b,d=b+4+15&-16):d=0,l=0|_[s>>2],i=0|_[r>>2],(0|l)<=0)0|i&&(A=10);else{b=0;do{_[d+(b<<2)>>2]=_[i+(b<<2)>>2],b=b+1|0}while((0|b)!=(0|l));A=10}10==(0|A)&&0|n[0|o]&&(_[6631]=1+(0|_[6631]),Li(0|_[i+-4>>2])),n[0|o]=1,_[r>>2]=d,_[p>>2]=f,wn(0|d,0,f<<2),_[s>>2]=f,d=0|_[r>>2],l=0|_[e+12>>2],b=0;do{_[d+(b<<2)>>2]=_[l+(b<<2)>>2],b=b+1|0}while((0|b)!=(0|f));e=e+20|0,_[(f=c+(36*a|0)+20|0)>>2]=_[e>>2],_[f+4>>2]=_[e+4>>2],_[f+8>>2]=_[e+8>>2],_[f+12>>2]=_[e+12>>2],e=1+(e=0|_[t+4>>2])|0,_[t+4>>2]=e}function Lt(t,e,i,n,o,r){e|=0,i|=0,n|=0,o|=0,r|=0;var s,c=0,b=0,d=0,A=0,f=0,u=0,m=0;cd[127&_[8+(0|_[(t|=0)>>2])>>2]](t,e,o,r),f=0|_[r>>2],b=0|_[r+4>>2],e=0|_[r+8>>2],d=0|_[o>>2],s=0|_[o+4>>2],c=0|_[o+8>>2],A=+p[i>>2],u=+p[i+4>>2],m=+p[i+8>>2],A>0?(p[a>>2]=A+(_[a>>2]=f,+p[a>>2]),f=0|_[a>>2]):(p[a>>2]=A+(_[a>>2]=d,+p[a>>2]),d=0|_[a>>2]),u>0?(i=s,p[a>>2]=u+(_[a>>2]=b,+p[a>>2]),b=0|_[a>>2]):(p[a>>2]=u+(_[a>>2]=s,+p[a>>2]),i=0|_[a>>2]),m>0?(p[a>>2]=m+(_[a>>2]=e,+p[a>>2]),e=0|_[a>>2]):(p[a>>2]=m+(_[a>>2]=c,+p[a>>2]),c=0|_[a>>2]),A=+p[n>>2],u=+p[n+4>>2],m=+p[n+8>>2],m=+l(+(A*A+u*u+m*m)),m*=+Bb[15&_[16+(0|_[t>>2])>>2]](t),_[o>>2]=d,_[o+4>>2]=i,_[o+8>>2]=c,p[o+12>>2]=0,_[r>>2]=f,_[r+4>>2]=b,_[r+8>>2]=e,p[r+12>>2]=0,p[o>>2]=+p[o>>2]-m,p[o+4>>2]=+p[o+4>>2]-m,p[o+8>>2]=+p[o+8>>2]-m,p[r>>2]=m+ +p[r>>2],p[r+4>>2]=m+ +p[r+4>>2],p[r+8>>2]=m+ +p[r+8>>2]}function Nt(t,e,i,n,o){t|=0,e|=0,n|=0,o=+o;var r,s,c,a,b,d=0,l=0,A=0,f=0,u=0;if(u=+p[(i|=0)>>2],+p[e>>2]<=u){if(A=+p[i+4>>2],+p[e+4>>2]<=A&&+p[e+8>>2]<=+p[i+8>>2]&&+p[e+16>>2]>=+p[i+16>>2]&&+p[e+20>>2]>=+p[i+20>>2]&&+p[e+24>>2]>=+p[i+24>>2])return 0|(i=0);d=i+4|0}else d=i+4|0,A=+p[i+4>>2];p[i>>2]=u-o,s=A-o,p[d>>2]=s,A=+p[i+8>>2]-o,p[i+8>>2]=A,b=+p[i+16>>2]+o,p[i+16>>2]=b,c=+p[i+20>>2]+o,p[i+20>>2]=c,r=+p[i+24>>2]+o,p[i+24>>2]=r,a=+p[n>>2],p[(a>0?i+16:i)>>2]=(a>0?b:u-o)+a,u=+p[n+4>>2],p[(u>0?i+20:d)>>2]=(u>0?c:s)+u,u=+p[n+8>>2],p[(u>0?i+24:i+8)>>2]=(u>0?r:A)+u,d=0|Tt(t,e);t:do{if(d){if((0|(f=0|_[t+8>>2]))<=-1){d=0|_[t>>2];break}if(f)for(n=0;;){if(n=n+1|0,!(l=0|_[d+32>>2]))break t;if((0|n)>=(0|f)){d=l;break}d=l}}else d=0}while(0);return _[e>>2]=_[i>>2],_[e+4>>2]=_[i+4>>2],_[e+8>>2]=_[i+8>>2],_[e+12>>2]=_[i+12>>2],_[e+16>>2]=_[i+16>>2],_[e+20>>2]=_[i+20>>2],_[e+24>>2]=_[i+24>>2],_[e+28>>2]=_[i+28>>2],U(t,d,e),0|(i=1)}function Qt(t,e){e|=0;var i,n,o=0,_=0,r=0,s=0,c=0,a=0;return n=Q,Q=Q+16|0,r=0|vb(t|=0),o=+p[r>>2],r=0|pb(t+16|0),_=+p[r>>2],r=0|sb(t+32|0),o+_+(i=+p[r>>2])>0?(_=+db(o+_+i+1),p[n+12>>2]=.5*_,s=0|pb(t+32|0),o=+p[s>>2],s=0|sb(t+16|0),p[n>>2]=(o-+p[s>>2])*(.5/_),s=0|sb(t),o=+p[s>>2],s=0|vb(t+32|0),p[n+4>>2]=(o-+p[s>>2])*(.5/_),s=0|vb(t+16|0),o=+p[s>>2],s=0|pb(t),p[n+8>>2]=(o-+p[s>>2])*(.5/_),n_(e,c=n,s=n+4|0,t=n+8|0,r=n+12|0),void(Q=n)):(s=0|vb(t+((r=o<_?_<i?2:1:o<i?2:0)<<4)|0),_=+p[s+(r<<2)>>2],a=0|vb(t+(((r+1|0)>>>0)%3<<4)|0),_-=+p[a+(((r+1|0)>>>0)%3<<2)>>2],c=0|vb(t+(((r+2|0)>>>0)%3<<4)|0),_=+db(_-+p[c+(((r+2|0)>>>0)%3<<2)>>2]+1),p[n+(r<<2)>>2]=.5*_,p[n+12>>2]=(+p[c+(((r+1|0)>>>0)%3<<2)>>2]-+p[a+(((r+2|0)>>>0)%3<<2)>>2])*(.5/_),p[n+(((r+1|0)>>>0)%3<<2)>>2]=(+p[a+(r<<2)>>2]+ +p[s+(((r+1|0)>>>0)%3<<2)>>2])*(.5/_),p[n+(((r+2|0)>>>0)%3<<2)>>2]=(+p[c+(r<<2)>>2]+ +p[s+(((r+2|0)>>>0)%3<<2)>>2])*(.5/_),n_(e,t=n,r=n+4|0,s=n+8|0,c=n+12|0),void(Q=n))}function Et(t,e,i,o,s,c){var a;return t|=0,e|=0,i|=0,s|=0,c|=0,(0|r[55+(o|=0)|0])==(0|e)?0|(o=0):(a=0|_[5872+(s<<2)>>2],+p[o>>2]*+p[i+16>>2]+ +p[o+4>>2]*+p[i+20>>2]+ +p[o+8>>2]*+p[i+24>>2]-+p[o+16>>2]<-9999999747378752e-21?(e=0|_i(t,0|_[o+20+(a<<2)>>2],0|_[o+20+(s<<2)>>2],i,0))?(n[e+52|0]=s,_[e+32>>2]=o,n[o+52+s|0]=0,_[o+32+(s<<2)>>2]=e,(s=0|_[c>>2])?(n[s+53|0]=2,_[s+36>>2]=e,n[e+54|0]=1,_[e+40>>2]=s):_[c+4>>2]=e,_[c>>2]=e,_[c+8>>2]=1+(0|_[c+8>>2]),0|(o=1)):0|(o=0):(s=0|_[5884+(s<<2)>>2],n[o+55|0]=e,0|Et(t,e,i,0|_[o+32+(a<<2)>>2],0|r[o+52+a|0],c)&&0|Et(t,e,i,0|_[o+32+(s<<2)>>2],0|r[o+52+s|0],c)?(0|(s=0|_[o+48>>2])&&(_[s+44>>2]=_[o+44>>2]),0|(s=0|_[o+44>>2])&&(_[s+48>>2]=_[o+48>>2]),(0|_[t+9280>>2])==(0|o)&&(_[t+9280>>2]=_[o+48>>2]),_[t+9284>>2]=(0|_[t+9284>>2])-1,_[o+44>>2]=0,_[o+48>>2]=_[t+9288>>2],0|(s=0|_[t+9288>>2])&&(_[s+44>>2]=o),_[t+9288>>2]=o,_[t+9292>>2]=1+(0|_[t+9292>>2]),0|(o=1)):0|(o=0)))}function Ht(t,e,i,n){i|=0,n|=0;var r,p=0,c=0,a=0,b=0,d=0,l=0,A=0,f=0;if(c=0|_[68+(t|=0)+((e|=0)<<2)>>2],a=0|o[c+((65535&i)<<2)+-4>>1],!((0|s[c+((65535&i)<<2)>>1])>=(65535&a)))for(r=(b=0|_[t+60>>2])+(s[c+((65535&i)<<2)+2>>1]<<6)+54+(e<<1)|0,p=c+((65535&i)<<2)+-4|0,d=c+((65535&i)<<2)|0;c=0|s[d+-2>>1],1&a?i=b+(c<<6)+54+(e<<1)|0:(i=0|s[d+2>>1],(0|s[b+(i<<6)+54+((1<<e&3)<<1)>>1])>=(0|s[b+(c<<6)+48+((1<<e&3)<<1)>>1])&&(0|s[b+(c<<6)+54+((1<<e&3)<<1)>>1])>=(0|s[b+(i<<6)+48+((1<<e&3)<<1)>>1])&&(0|s[b+(i<<6)+54+((1<<(1<<e&3)&3)<<1)>>1])>=(0|s[b+(c<<6)+48+((1<<(1<<e&3)&3)<<1)>>1])&&(0|s[b+(c<<6)+54+((1<<(1<<e&3)&3)<<1)>>1])>=(0|s[b+(i<<6)+48+((1<<(1<<e&3)&3)<<1)>>1])&&(f=0|_[t+92>>2],l=b+(i<<6)|0,A=b+(c<<6)|0,Zb[31&_[12+(0|_[f>>2])>>2]](f,l,A,n),0|(f=0|_[t+96>>2]))&&Zb[31&_[12+(0|_[f>>2])>>2]](f,l,A,n),i=b+(c<<6)+48+(e<<1)|0),o[i>>1]=1+(0|o[i>>1])<<16>>16,o[r>>1]=(0|o[r>>1])-1<<16>>16,i=s[d>>1]|s[d+2>>1]<<16,a=s[p>>1]|s[p+2>>1]<<16,o[d>>1]=a,o[d+2>>1]=a>>>16,o[p>>1]=i,o[p+2>>1]=i>>>16,i=d+-4|0,a=0|o[(p=p+-4|0)>>1],!((0|s[i>>1])>=(65535&a));)d=i,b=0|_[t+60>>2]}function Zt(t,e,i){i|=0;var n,r,p=0,c=0,a=0,b=0,d=0,l=0,A=0;if(p=0|_[68+(t|=0)+((e|=0)<<2)>>2],n=0|_[t+60>>2],r=0|s[p+((65535&i)<<2)+2>>1],(c=0|o[p+((65535&i)<<2)+6>>1])<<16>>16)for(d=p+((65535&i)<<2)|0;;){if(b=d,p=0|o[(d=d+4|0)>>1],(0|s[b>>1])<(65535&p)){i=14;break}if(a=0|_[t+60>>2],i=65535&c,1&p?i=a+(i<<6)+54+(e<<1)|0:((0|s[n+(r<<6)+54+((1<<e&3)<<1)>>1])>=(0|s[a+(i<<6)+48+((1<<e&3)<<1)>>1])&&(0|s[a+(i<<6)+54+((1<<e&3)<<1)>>1])>=(0|s[n+(r<<6)+48+((1<<e&3)<<1)>>1])&&(0|s[n+(r<<6)+54+((1<<(1<<e&3)&3)<<1)>>1])>=(0|s[a+(i<<6)+48+((1<<(1<<e&3)&3)<<1)>>1])&&(0|s[a+(i<<6)+54+((1<<(1<<e&3)&3)<<1)>>1])>=(0|s[n+(r<<6)+48+((1<<(1<<e&3)&3)<<1)>>1])&&(A=0|_[t+92>>2],l=a+(s[b+2>>1]<<6)|0,Hb[63&_[8+(0|_[A>>2])>>2]](A,l,a+(i<<6)|0),0|(A=0|_[t+96>>2]))&&Hb[63&_[8+(0|_[A>>2])>>2]](A,l,a+(i<<6)|0),i=a+(i<<6)+48+(e<<1)|0),o[i>>1]=(0|o[i>>1])-1<<16>>16,o[n+(r<<6)+54+(e<<1)>>1]=1+(0|o[n+(r<<6)+54+(e<<1)>>1])<<16>>16,c=s[b>>1]|s[b+2>>1]<<16,a=s[d>>1]|s[d+2>>1]<<16,o[b>>1]=a,o[b+2>>1]=a>>>16,o[d>>1]=c,o[d+2>>1]=c>>>16,!((c=0|o[b+10>>1])<<16>>16)){i=14;break}}}function Ut(t,e,i,n){i|=0,n|=0;var r,p=0,c=0,a=0,b=0,d=0,l=0;if(p=0|_[68+(t|=0)+((e|=0)<<2)>>2],(c=0|o[p+((65535&i)<<2)+6>>1])<<16>>16)for(r=(0|_[t+60>>2])+(s[p+((65535&i)<<2)+2>>1]<<6)+48+(e<<1)|0,d=p+((65535&i)<<2)|0;;){if(b=d,i=0|o[(d=d+4|0)>>1],(0|s[b>>1])<(65535&i)){i=14;break}if(a=0|_[t+60>>2],p=65535&c,1&i?(i=0|s[b+2>>1],(0|s[a+(i<<6)+54+((1<<e&3)<<1)>>1])>=(0|s[a+(p<<6)+48+((1<<e&3)<<1)>>1])&&(0|s[a+(p<<6)+54+((1<<e&3)<<1)>>1])>=(0|s[a+(i<<6)+48+((1<<e&3)<<1)>>1])&&(0|s[a+(i<<6)+54+((1<<(1<<e&3)&3)<<1)>>1])>=(0|s[a+(p<<6)+48+((1<<(1<<e&3)&3)<<1)>>1])&&(0|s[a+(p<<6)+54+((1<<(1<<e&3)&3)<<1)>>1])>=(0|s[a+(i<<6)+48+((1<<(1<<e&3)&3)<<1)>>1])&&(l=0|_[t+92>>2],Zb[31&_[12+(0|_[l>>2])>>2]](l,a+(i<<6)|0,a+(p<<6)|0,n),0|(l=0|_[t+96>>2]))&&Zb[31&_[12+(0|_[l>>2])>>2]](l,a+(i<<6)|0,a+(p<<6)|0,n),i=a+(p<<6)+54+(e<<1)|0):i=a+(p<<6)+48+(e<<1)|0,o[i>>1]=(0|o[i>>1])-1<<16>>16,o[r>>1]=1+(0|o[r>>1])<<16>>16,c=s[b>>1]|s[b+2>>1]<<16,a=s[d>>1]|s[d+2>>1]<<16,o[b>>1]=a,o[b+2>>1]=a>>>16,o[d>>1]=c,o[d+2>>1]=c>>>16,!((c=0|o[b+10>>1])<<16>>16)){i=14;break}}}function Yt(t,e,i){i|=0;var n,r,p=0,c=0,a=0,b=0,d=0,l=0;if(c=0|_[68+(t|=0)+((e|=0)<<2)>>2],n=0|_[t+60>>2],r=0|s[c+((65535&i)<<2)+2>>1],a=0|o[c+((65535&i)<<2)+-4>>1],!((0|s[c+((65535&i)<<2)>>1])>=(65535&a)))for(p=c+((65535&i)<<2)+-4|0,b=c+((65535&i)<<2)|0,c=n;i=0|s[b+-2>>1],1&a?((0|s[n+(r<<6)+54+((1<<e&3)<<1)>>1])>=(0|s[c+(i<<6)+48+((1<<e&3)<<1)>>1])&&(0|s[c+(i<<6)+54+((1<<e&3)<<1)>>1])>=(0|s[n+(r<<6)+48+((1<<e&3)<<1)>>1])&&(0|s[n+(r<<6)+54+((1<<(1<<e&3)&3)<<1)>>1])>=(0|s[c+(i<<6)+48+((1<<(1<<e&3)&3)<<1)>>1])&&(0|s[c+(i<<6)+54+((1<<(1<<e&3)&3)<<1)>>1])>=(0|s[n+(r<<6)+48+((1<<(1<<e&3)&3)<<1)>>1])&&(l=0|_[t+92>>2],d=c+(i<<6)|0,Hb[63&_[8+(0|_[l>>2])>>2]](l,n+(r<<6)|0,d),0|(l=0|_[t+96>>2]))&&Hb[63&_[8+(0|_[l>>2])>>2]](l,n+(r<<6)|0,d),i=c+(i<<6)+54+(e<<1)|0):i=c+(i<<6)+48+(e<<1)|0,o[i>>1]=1+(0|o[i>>1])<<16>>16,o[n+(r<<6)+48+(e<<1)>>1]=(0|o[n+(r<<6)+48+(e<<1)>>1])-1<<16>>16,i=s[b>>1]|s[b+2>>1]<<16,a=s[p>>1]|s[p+2>>1]<<16,o[b>>1]=a,o[b+2>>1]=a>>>16,o[p>>1]=i,o[p+2>>1]=i>>>16,i=b+-4|0,a=0|o[(p=p+-4|0)>>1],!((0|s[i>>1])>=(65535&a));)b=i,c=0|_[t+60>>2]}function Jt(t,e,i,n,o,r,s,c,a,b){var d;t|=0,e|=0,i|=0,n|=0,o=+o,r=+r,s=+s,c=+c,a=+a,b=+b,d=Q,Q=Q+128|0,_[d+80>>2]=_[t+4>>2],_[d+80+4>>2]=_[t+20>>2],_[d+80+8>>2]=_[t+36>>2],p[d+80+12>>2]=0,_[d+80+16>>2]=_[t+8>>2],_[d+80+20>>2]=_[t+24>>2],_[d+80+24>>2]=_[t+40>>2],p[d+80+28>>2]=0,_[d+80+32>>2]=_[t+12>>2],_[d+80+36>>2]=_[t+28>>2],_[d+80+40>>2]=_[t+44>>2],p[d+80+44>>2]=0,_[d+32>>2]=_[e+4>>2],_[d+32+4>>2]=_[e+20>>2],_[d+32+8>>2]=_[e+36>>2],p[d+32+12>>2]=0,_[d+32+16>>2]=_[e+8>>2],_[d+32+20>>2]=_[e+24>>2],_[d+32+24>>2]=_[e+40>>2],p[d+32+28>>2]=0,_[d+32+32>>2]=_[e+12>>2],_[d+32+36>>2]=_[e+28>>2],_[d+32+40>>2]=_[e+44>>2],p[d+32+44>>2]=0,r-=+p[t+56>>2],s-=+p[t+60>>2],p[d+16>>2]=o-+p[t+52>>2],p[d+16+4>>2]=r,p[d+16+8>>2]=s,p[d+16+12>>2]=0,s=a-+p[e+56>>2],b-=+p[e+60>>2],p[d>>2]=c-+p[e+52>>2],p[d+4>>2]=s,p[d+8>>2]=b,p[d+12>>2]=0,Dt(i,d+80|0,d+32|0,d+16|0,d,n,t+396|0,+p[t+344>>2],e+396|0,+p[e+344>>2]),Q=d}function Xt(t,e,i,n,o){t|=0,o|=0;var r,s=0,c=0,a=0,b=0,d=0;r=Q,Q=Q+48|0,b=1/+l(+((e=+e)*e+(i=+i)*i+(n=+n)*n)),p[o>>2]=b*e,p[o+4>>2]=b*i,p[o+8>>2]=b*n,p[o+12>>2]=0,s=0|_[t+120>>2],a=0|_[t+124>>2],c=(0|_[t>>2])+(a>>1)|0,1&a&&(s=0|_[(0|_[c>>2])+s>>2]),rd[127&s](r,c,o),e=-+p[o>>2],i=-+p[o+4>>2],n=-+p[o+8>>2],s=0|_[t+120>>2],a=0|_[t+124>>2],c=(0|_[t+4>>2])+(a>>1)|0,1&a&&(s=0|_[(0|_[c>>2])+s>>2]),b=+p[t+24>>2]*e+ +p[t+28>>2]*i+ +p[t+32>>2]*n,d=+p[t+40>>2]*e+ +p[t+44>>2]*i+ +p[t+48>>2]*n,p[r+16>>2]=+p[t+8>>2]*e+ +p[t+12>>2]*i+ +p[t+16>>2]*n,p[r+16+4>>2]=b,p[r+16+8>>2]=d,p[r+16+12>>2]=0,rd[127&s](r+32|0,c,r+16|0),d=+p[r+32>>2],e=+p[r+32+4>>2],i=+p[r+32+8>>2],n=+p[r+4>>2]-(d*+p[t+72>>2]+e*+p[t+76>>2]+i*+p[t+80>>2]+ +p[t+108>>2]),b=+p[r+8>>2]-(d*+p[t+88>>2]+e*+p[t+92>>2]+i*+p[t+96>>2]+ +p[t+112>>2]),p[o+16>>2]=+p[r>>2]-(d*+p[t+56>>2]+e*+p[t+60>>2]+i*+p[t+64>>2]+ +p[t+104>>2]),p[o+20>>2]=n,p[o+24>>2]=b,p[o+28>>2]=0,Q=r}function zt(t,e,i,n,o,_,r,s,c,a,b,l,A,f){t|=0,f=+f;var u,m,h,y,g,C=0,v=0;return+d(+((C=((s=+s)-(o=+o))*((l=+l)-(_=+_))-((c=+c)-_)*((b=+b)-o))*(n=+n)+((m=(c-_)*((A=+A)-(r=+r))-((a=+a)-r)*(l-_))*(e=+e)+(h=(a-r)*(b-o)-(s-o)*(A-r))*(i=+i))))<1.1920928955078125e-7?+(C=-1):(u=-(m*(y=+p[t>>2])+h*(v=+p[t+4>>2])+C*(g=+p[t+8>>2])-(C*r+(m*o+h*_)))/(C*n+(m*e+h*i)))>11920928955078125e-22&u<f&&C*((c-(v+u*i))*(o-(y+u*e))-(_-(v+u*i))*(s-(y+u*e)))+(m*((_-(v+u*i))*(a-(g+u*n))-(r-(g+u*n))*(c-(v+u*i)))+h*((r-(g+u*n))*(s-(y+u*e))-(a-(g+u*n))*(o-(y+u*e))))>-11920928955078125e-22&&C*((l-(v+u*i))*(s-(y+u*e))-(c-(v+u*i))*(b-(y+u*e)))+(m*((c-(v+u*i))*(A-(g+u*n))-(a-(g+u*n))*(l-(v+u*i)))+h*((a-(g+u*n))*(b-(y+u*e))-(A-(g+u*n))*(s-(y+u*e))))>-11920928955078125e-22&&C*((_-(v+u*i))*(b-(y+u*e))-(l-(v+u*i))*(o-(y+u*e)))+(m*((l-(v+u*i))*(r-(g+u*n))-(A-(g+u*n))*(_-(v+u*i)))+h*((A-(g+u*n))*(o-(y+u*e))-(r-(g+u*n))*(b-(y+u*e))))>-11920928955078125e-22?+(v=u):+(v=-1)}function Kt(t,e,i,o){t|=0,e|=0,i|=0,o|=0;var r=0,s=0,c=0;if(_[6630]=1+(0|_[6630]),(r=0|di(55))?(_[(r+4+15&-16)-4>>2]=r,c=r+4+15&-16):c=0,_[c>>2]=e,_[c+4>>2]=i,_[c+8>>2]=o,_[c+12>>2]=-1,_[c+16>>2]=-1,_[c+20>>2]=-1,_[c+28>>2]=-1,p[c+32>>2]=0,o=c,e=0|_[t+4>>2],_[c+24>>2]=e,(0|e)!=(0|_[t+8>>2]))return s=e,i=0|_[(i=t+12|0)>>2],_[(i=i+(s<<2)|0)>>2]=o,s=s+1|0,_[t+4>>2]=s,0|c;if((0|e)>=(0|(s=0|e?e<<1:1)))return s=e,i=0|_[(i=t+12|0)>>2],_[(i=i+(s<<2)|0)>>2]=o,s=s+1|0,_[t+4>>2]=s,0|c;if(s?(_[6630]=1+(0|_[6630]),(r=0|di(16+(s<<2|3)|0))?(_[(r+4+15&-16)-4>>2]=r,r=r+4+15&-16):r=0,e=0|_[t+4>>2]):r=0,(0|e)>0){i=0;do{_[r+(i<<2)>>2]=_[(0|_[t+12>>2])+(i<<2)>>2],i=i+1|0}while((0|i)!=(0|e))}return(i=0|_[t+12>>2])&&(0|n[t+16|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[i+-4>>2]),e=0|_[t+4>>2]),_[t+12>>2]=0),n[t+16|0]=1,_[t+12>>2]=r,_[t+8>>2]=s,s=e,i=0|_[(i=t+12|0)>>2],_[(i=i+(s<<2)|0)>>2]=o,s=s+1|0,_[t+4>>2]=s,0|c}function qt(t,e,i){t|=0,i|=0;var o=0,r=0,s=0,c=0,a=0,b=0,d=0,l=0,A=0,f=0;1&n[32+(e|=0)|0]&&(0|(o=0|_[t+4>>2])&&Dn(o,e,i),0|(o=0|_[t>>2])&&(l=+p[e>>2],b=+p[o+128>>2],d=+p[e+4>>2],a=+p[e+8>>2],r=+p[i+4>>2],f=+p[i+8>>2],A=+p[i>>2],c=+p[o+180>>2]*(a*r-d*f)+ +p[o+184>>2]*(l*f-a*A)+(d*A-l*r)*+p[o+188>>2],s=(a*r-d*f)*+p[o+196>>2]+(l*f-a*A)*+p[o+200>>2]+(d*A-l*r)*+p[o+204>>2],r=(a*r-d*f)*+p[o+212>>2]+(l*f-a*A)*+p[o+216>>2]+(d*A-l*r)*+p[o+220>>2],p[o+244>>2]=l*b+ +p[o+244>>2],p[o+248>>2]=b*d+ +p[o+248>>2],p[o+252>>2]=b*a+ +p[o+252>>2],p[o+316>>2]=l*b+ +p[o+316>>2],p[o+320>>2]=b*d+ +p[o+320>>2],p[o+324>>2]=b*a+ +p[o+324>>2],p[o+260>>2]=c+ +p[o+260>>2],p[o+264>>2]=s+ +p[o+264>>2],p[o+268>>2]=r+ +p[o+268>>2],p[o+332>>2]=c+ +p[o+332>>2],p[o+336>>2]=s+ +p[o+336>>2],p[o+340>>2]=r+ +p[o+340>>2],_[o+308>>2]=1+(0|_[o+308>>2]))),2&n[e+32|0]&&Ui(t,e+16|0,i)}function $t(t,e){e|=0;var i=0;if(_[(t|=0)>>2]=9836,n[t+40|0]=1,_[t+36>>2]=0,_[t+28>>2]=0,_[t+32>>2]=0,n[t+60|0]=1,_[t+56>>2]=0,_[t+48>>2]=0,_[t+52>>2]=0,_[t+4>>2]=0,_[t+8>>2]=0,_[t+12>>2]=-1,_[t+16>>2]=0,_[t+20>>2]=0,n[t+100|0]=1,_[t+96>>2]=0,_[t+88>>2]=0,_[t+92>>2]=0,n[t+120|0]=1,_[t+116>>2]=0,_[t+108>>2]=0,_[t+112>>2]=0,_[t+64>>2]=0,_[t+68>>2]=0,_[t+72>>2]=-1,_[t+76>>2]=0,_[t+80>>2]=0,n[t+193|0]=0,n[t+194|0]=1,n[t+192|0]=1&(1^!!(0|e)),p[t+140>>2]=0,_[t+144>>2]=0,_[t+164>>2]=0,_[t+148>>2]=1,_[t+152>>2]=0,_[t+156>>2]=10,_[t+160>>2]=1,_[t+168>>2]=0,_[t+172>>2]=0,p[t+176>>2]=0,0|e)return i=e,_[(e=t+136|0)>>2]=i,_[(e=t+188|0)>>2]=0,_[(e=t+180|0)>>2]=0,_[(e=t+184|0)>>2]=0,_[(t=t+124|0)>>2]=0,_[t+4>>2]=0,void(_[t+8>>2]=0);_[6630]=1+(0|_[6630]),(e=0|di(95))?(_[(e+4+15&-16)-4>>2]=e,e=e+4+15&-16):e=0,Ae(e),_[(i=t+136|0)>>2]=e,_[(i=t+188|0)>>2]=0,_[(i=t+180|0)>>2]=0,_[(i=t+184|0)>>2]=0,_[(i=t+124|0)>>2]=0,_[i+4>>2]=0,_[i+8>>2]=0}function te(t){var e,i=0,o=0,r=0,s=0;if(0|(i=0|_[16+(t|=0)>>2])&&(0|n[t+20|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[i+-4>>2])),_[t+16>>2]=0),n[t+20|0]=1,_[t+16>>2]=0,_[t+8>>2]=0,_[t+12>>2]=0,0|(i=0|_[t+40>>2])&&(0|n[t+44|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[i+-4>>2])),_[t+40>>2]=0),n[t+44|0]=1,_[t+40>>2]=0,_[t+32>>2]=0,_[t+36>>2]=0,0|(i=0|_[t+60>>2])&&(0|n[t+64|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[i+-4>>2])),_[t+60>>2]=0),n[t+64|0]=1,_[t+60>>2]=0,_[t+52>>2]=0,_[t+56>>2]=0,(0|_[t+12>>2])>=2)et(t);else{if(_[6630]=1+(0|_[6630]),(i=0|di(43))?(_[(i+4+15&-16)-4>>2]=i,o=i+4+15&-16):o=0,(0|(e=0|_[t+8>>2]))>0){i=0;do{r=o+(12*i|0)|0,s=(0|_[t+16>>2])+(12*i|0)|0,_[r>>2]=_[s>>2],_[r+4>>2]=_[s+4>>2],_[r+8>>2]=_[s+8>>2],i=i+1|0}while((0|i)!=(0|e))}0|(i=0|_[t+16>>2])&&(0|n[t+20|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[i+-4>>2])),_[t+16>>2]=0),n[t+20|0]=1,_[t+16>>2]=o,_[t+12>>2]=2,et(t)}}function ee(t,e,i){t|=0,e|=0;var n=0,o=0;if(n=0|Qb[31&_[28+(0|_[(i|=0)>>2])>>2]](i,0|_[t+28>>2]),_[e>>2]=n,n=0|Qb[31&_[28+(0|_[i>>2])>>2]](i,0|_[t+32>>2]),_[e+4>>2]=n,n=0|Qb[31&_[40+(0|_[i>>2])>>2]](i,t),o=0|Qb[31&_[28+(0|_[i>>2])>>2]](i,n),_[e+8>>2]=o,0|o&&id[127&_[48+(0|_[i>>2])>>2]](i,n),_[e+12>>2]=_[t+4>>2],_[e+24>>2]=r[t+21|0],_[e+40>>2]=_[t+24>>2],_[e+44>>2]=_[t+16>>2],_[e+48>>2]=r[t+20|0],_[e+20>>2]=_[t+12>>2],_[e+16>>2]=_[t+8>>2],_[e+28>>2]=_[t+36>>2],_[e+32>>2]=_[t+40>>2],_[e+36>>2]=0,n=0|_[t+28>>2],(0|(o=0|_[n+488>>2]))>0&&(i=0|_[n+496>>2],(0|_[i>>2])==(0|t)&&(_[e+36>>2]=1),(0|o)>1)){n=1;do{(0|_[i+(n<<2)>>2])==(0|t)&&(_[e+36>>2]=1),n=n+1|0}while((0|n)!=(0|o))}if(n=0|_[t+32>>2],(0|(o=0|_[n+488>>2]))<=0)return 15023;if(i=0|_[n+496>>2],(0|_[i>>2])==(0|t)&&(_[e+36>>2]=1),(0|o)<=1)return 15023;n=1;do{(0|_[i+(n<<2)>>2])==(0|t)&&(_[e+36>>2]=1),n=n+1|0}while((0|n)!=(0|o));return 15023}function ie(t,e){t|=0;var i,n=0,o=0,r=0;switch(i=Q,Q=Q+32|0,n=0|_[388+(e|=0)>>2],48&_[t+388>>2]&n&63){case 32:return(0|t)==(0|e)&!(64&n)||(p[i+4>>2]=1,_[i+8+4>>2]=0,_[i+8+4+4>>2]=0,_[i+8+4+8>>2]=0,_[i>>2]=4388,_[i+8>>2]=_[t+456>>2],n=0|_[t+192>>2],r=+Bb[15&_[48+(0|_[n>>2])>>2]](n),n=0|_[e+192>>2],r+=+Bb[15&_[48+(0|_[n>>2])>>2]](n),p[i+12>>2]=r,r=+p[t+316>>2],o=+p[e+316>>2],p[i+16>>2]=r<o?r:o,_[i+24>>2]=t,_[i+28>>2]=e,ze(0|_[t+1048>>2],0|_[e+1048>>2],i)),void(Q=i);case 16:return(0|t)==(0|e)||(_[i>>2]=4424,n=0|_[t+192>>2],r=+Bb[15&_[48+(0|_[n>>2])>>2]](n),n=0|_[e+192>>2],r+=+Bb[15&_[48+(0|_[n>>2])>>2]](n),p[i+12>>2]=r,_[i+4>>2]=t,_[i+8>>2]=e,ze(0|_[t+928>>2],0|_[e+988>>2],i),_[i+4>>2]=e,_[i+8>>2]=t,ze(0|_[e+928>>2],0|_[t+988>>2],i)),void(Q=i);default:return void(Q=i)}}function ne(t,e){t|=0,e|=0;var i,o=0,r=0,s=0,p=0,c=0,a=0,b=0;i=Q,Q=Q+48|0,p=(s=i)+44|0;do{_[s>>2]=0,s=s+4|0}while((0|s)<(0|p));if(a=e||0|_[_[t+880>>2]>>2],(0|(e=0|_[t+732>>2]))==(0|_[t+736>>2])&&(0|e)<(0|(b=0|e?e<<1:1))){if(b?(_[6630]=1+(0|_[6630]),(e=0|di(16+(52*b|3)|0))?(_[(e+4+15&-16)-4>>2]=e,e=e+4+15&-16):e=0,c=e,e=0|_[t+732>>2]):c=0,(0|e)>0){o=0;do{s=c+(52*o|0)|0,r=(0|_[t+740>>2])+(52*o|0)|0,p=s+52|0;do{_[s>>2]=_[r>>2],s=s+4|0,r=r+4|0}while((0|s)<(0|p));o=o+1|0}while((0|o)!=(0|e))}0|(e=0|_[t+740>>2])&&(0|n[t+744|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+740>>2]=0),n[t+744|0]=1,_[t+740>>2]=c,_[t+736>>2]=b,e=0|_[t+732>>2]}s=0|_[t+740>>2],_[s+(52*e|0)>>2]=0,_[s+(52*e|0)+4>>2]=a,r=i,p=44+(s=s+(52*e|0)+8|0)|0;do{_[s>>2]=_[r>>2],s=s+4|0,r=r+4|0}while((0|s)<(0|p));_[t+732>>2]=1+(0|_[t+732>>2]),Q=i}function oe(t){var e=0;return 0|(e=0|_[(t|=0)>>2])&&Yn(t,e),0|(e=0|_[t+4>>2])&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+4>>2]=0,_[t+8>>2]=-1,0|(e=0|_[t+32>>2])&&(0|n[t+36|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+32>>2]=0),n[t+36|0]=1,_[t+32>>2]=0,_[t+24>>2]=0,_[t+28>>2]=0,_[t+16>>2]=0,(e=0|_[t+52>>2])&&0|n[t+56|0]?(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2]),e=0|_[t+32>>2],n[t+56|0]=1,_[t+52>>2]=0,_[t+44>>2]=0,_[t+48>>2]=0,e?(0|n[t+36|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+32>>2]=0,n[t+36|0]=1,_[t+32>>2]=0,_[t+24>>2]=0,void(_[t+28>>2]=0)):(n[t+36|0]=1,_[t+32>>2]=0,_[t+24>>2]=0,void(_[t+28>>2]=0))):(n[t+56|0]=1,_[t+52>>2]=0,_[t+44>>2]=0,_[t+48>>2]=0,n[t+36|0]=1,_[t+32>>2]=0,_[t+24>>2]=0,void(_[t+28>>2]=0))}function _e(t,e,i){t|=0,e|=0;var o,r,s=0;if((0|(i|=0))>=8192)return V(0|t,0|e,0|i),0|t;if(r=0|t,o=t+i|0,(3&t)==(3&e)){for(;3&t;){if(!i)return 0|r;n[0|t]=0|n[0|e],t=t+1|0,e=e+1|0,i=i-1|0}for(s=(i=-4&o)-64|0;(0|t)<=(0|s);)_[t>>2]=_[e>>2],_[t+4>>2]=_[e+4>>2],_[t+8>>2]=_[e+8>>2],_[t+12>>2]=_[e+12>>2],_[t+16>>2]=_[e+16>>2],_[t+20>>2]=_[e+20>>2],_[t+24>>2]=_[e+24>>2],_[t+28>>2]=_[e+28>>2],_[t+32>>2]=_[e+32>>2],_[t+36>>2]=_[e+36>>2],_[t+40>>2]=_[e+40>>2],_[t+44>>2]=_[e+44>>2],_[t+48>>2]=_[e+48>>2],_[t+52>>2]=_[e+52>>2],_[t+56>>2]=_[e+56>>2],_[t+60>>2]=_[e+60>>2],t=t+64|0,e=e+64|0;for(;(0|t)<(0|i);)_[t>>2]=_[e>>2],t=t+4|0,e=e+4|0}else for(i=o-4|0;(0|t)<(0|i);)n[0|t]=0|n[0|e],n[t+1|0]=0|n[e+1|0],n[t+2|0]=0|n[e+2|0],n[t+3|0]=0|n[e+3|0],t=t+4|0,e=e+4|0;for(;(0|t)<(0|o);)n[0|t]=0|n[0|e],t=t+1|0,e=e+1|0;return 0|r}function re(t){var e,i=0,o=0,r=0,s=0,p=0,c=0;if(_[(t|=0)>>2]=10348,0|(i=0|_[t+56>>2])&&(0|n[t+60|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[i+-4>>2])),_[t+56>>2]=0),n[t+60|0]=1,_[t+56>>2]=0,_[t+48>>2]=0,_[t+52>>2]=0,(0|(e=0|_[t+28>>2]))>0){i=0;do{s=(r=0|_[t+36>>2])+(36*i|0)+4|0,o=r+(36*i|0)+16|0,0|(c=0|_[(p=r+(36*i|0)+12|0)>>2])&&(0|n[0|o]&&(_[6631]=1+(0|_[6631]),Li(0|_[c+-4>>2])),_[p>>2]=0),n[0|o]=1,_[p>>2]=0,_[s>>2]=0,_[r+(36*i|0)+8>>2]=0,i=i+1|0}while((0|i)!=(0|e))}if(0|(i=0|_[t+36>>2])&&(0|n[t+40|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[i+-4>>2])),_[t+36>>2]=0),n[t+40|0]=1,_[t+36>>2]=0,_[t+28>>2]=0,_[t+32>>2]=0,!(i=0|_[t+16>>2]))return n[t+20|0]=1,_[t+16>>2]=0,_[t+8>>2]=0,void(_[(t=t+12|0)>>2]=0);0|n[t+20|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[i+-4>>2])),_[t+16>>2]=0,n[t+20|0]=1,_[t+16>>2]=0,_[t+8>>2]=0,_[(t=t+12|0)>>2]=0}function se(t){var e=0;if(_[(t|=0)>>2]=9448,0|(e=0|_[t+156>>2])&&(0|n[t+160|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+156>>2]=0),n[t+160|0]=1,_[t+156>>2]=0,_[t+148>>2]=0,_[t+152>>2]=0,0|(e=0|_[t+136>>2])&&(0|n[t+140|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+136>>2]=0),n[t+140|0]=1,_[t+136>>2]=0,_[t+128>>2]=0,_[t+132>>2]=0,0|(e=0|_[t+116>>2])&&(0|n[t+120|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+116>>2]=0),n[t+120|0]=1,_[t+116>>2]=0,_[t+108>>2]=0,_[t+112>>2]=0,0|(e=0|_[t+96>>2])&&(0|n[t+100|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+96>>2]=0),n[t+100|0]=1,_[t+96>>2]=0,_[t+88>>2]=0,_[t+92>>2]=0,_[t>>2]=10364,!(e=0|_[t+32>>2]))return n[t+36|0]=1,_[t+32>>2]=0,_[t+24>>2]=0,void(_[(t=t+28|0)>>2]=0);0|n[t+36|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+32>>2]=0,n[t+36|0]=1,_[t+32>>2]=0,_[t+24>>2]=0,_[(t=t+28|0)>>2]=0}function pe(t){var e=0;if(_[(t|=0)>>2]=10008,0|(e=0|_[t+160>>2])&&(0|n[t+164|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+160>>2]=0),n[t+164|0]=1,_[t+160>>2]=0,_[t+152>>2]=0,_[t+156>>2]=0,0|(e=0|_[t+136>>2])&&(0|n[t+140|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+136>>2]=0),n[t+140|0]=1,_[t+136>>2]=0,_[t+128>>2]=0,_[t+132>>2]=0,0|(e=0|_[t+116>>2])&&(0|n[t+120|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+116>>2]=0),n[t+120|0]=1,_[t+116>>2]=0,_[t+108>>2]=0,_[t+112>>2]=0,0|(e=0|_[t+96>>2])&&(0|n[t+100|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+96>>2]=0),n[t+100|0]=1,_[t+96>>2]=0,_[t+88>>2]=0,_[t+92>>2]=0,!(e=0|_[t+76>>2]))return n[t+80|0]=1,_[t+76>>2]=0,_[t+68>>2]=0,void(_[(t=t+72|0)>>2]=0);0|n[t+80|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+76>>2]=0,n[t+80|0]=1,_[t+76>>2]=0,_[t+68>>2]=0,_[(t=t+72|0)>>2]=0}function ce(t){var e=0;if(_[(t|=0)>>2]=5716,0|(e=0|_[t+144>>2])&&(0|n[t+148|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+144>>2]=0),n[t+148|0]=1,_[t+144>>2]=0,_[t+136>>2]=0,_[t+140>>2]=0,0|(e=0|_[t+76>>2])&&(0|n[t+80|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+76>>2]=0),n[t+80|0]=1,_[t+76>>2]=0,_[t+68>>2]=0,_[t+72>>2]=0,0|(e=0|_[t+56>>2])&&(0|n[t+60|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+56>>2]=0),n[t+60|0]=1,_[t+56>>2]=0,_[t+48>>2]=0,_[t+52>>2]=0,0|(e=0|_[t+36>>2])&&(0|n[t+40|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+36>>2]=0),n[t+40|0]=1,_[t+36>>2]=0,_[t+28>>2]=0,_[t+32>>2]=0,!(e=0|_[t+16>>2]))return n[t+20|0]=1,_[t+16>>2]=0,_[t+8>>2]=0,void(_[(t=t+12|0)>>2]=0);0|n[t+20|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+16>>2]=0,n[t+20|0]=1,_[t+16>>2]=0,_[t+8>>2]=0,_[(t=t+12|0)>>2]=0}function ae(t){t|=0;var e=0;return!(0|n[24456])&&0|Qs(24456)&&(!(0|n[24408])&&0|Qs(24408)&&(!(0|n[24416])&&0|Qs(24416)&&(_[6222]=1065353216,_[6223]=0,_[6224]=0,_[6225]=0,_[6226]=0,_[6227]=1065353216,_[6228]=0,_[6229]=0,_[6230]=0,_[6231]=0,_[6232]=1065353216,p[6233]=0),_[6206]=_[6222],_[6207]=_[6223],_[6208]=_[6224],_[6209]=_[6225],_[6210]=_[6226],_[6211]=_[6227],_[6212]=_[6228],_[6213]=_[6229],_[6214]=_[6230],_[6215]=_[6231],_[6216]=_[6232],_[6217]=_[6233],_[6218]=0,_[6219]=0,_[6220]=0,_[6221]=0),_[6258]=_[6206],_[6259]=_[6207],_[6260]=_[6208],_[6261]=_[6209],_[6262]=_[6210],_[6263]=_[6211],_[6264]=_[6212],_[6265]=_[6213],_[6266]=_[6214],_[6267]=_[6215],_[6268]=_[6216],_[6269]=_[6217],_[6270]=_[6218],_[6271]=_[6219],_[6272]=_[6220],_[6273]=_[6221]),(e=0|_[t+8>>2])?e+4|0:0|(0|(e=0|_[t>>2])?e+60:25032)}function be(t,e,i){e|=0,i|=0;var o=0,r=0,s=0,p=0,c=0,a=0;if((0|(o=0|_[96+(t|=0)>>2]))==(0|_[t+100>>2])&&(0|o)<(0|(p=0|o?o<<1:1))){if(p?(_[6630]=1+(0|_[6630]),(o=0|di(16+(p<<4|3)|0))?(_[(o+4+15&-16)-4>>2]=o,o=o+4+15&-16):o=0,s=o,o=0|_[t+96>>2]):s=0,(0|o)>0){r=0;do{c=s+(r<<4)|0,a=(0|_[t+104>>2])+(r<<4)|0,_[c>>2]=_[a>>2],_[c+4>>2]=_[a+4>>2],_[c+8>>2]=_[a+8>>2],_[c+12>>2]=_[a+12>>2],r=r+1|0}while((0|r)!=(0|o))}0|(o=0|_[t+104>>2])&&(0|n[t+108|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[o+-4>>2])),_[t+104>>2]=0),n[t+108|0]=1,_[t+104>>2]=s,_[t+100>>2]=p,o=0|_[t+96>>2]}a=(0|_[t+104>>2])+(o<<4)|0,_[a>>2]=_[e>>2],_[a+4>>2]=_[e+4>>2],_[a+8>>2]=_[e+8>>2],_[a+12>>2]=_[e+12>>2],_[t+96>>2]=1+(0|_[t+96>>2]),i&&nn(t)}function de(t){var e=0,i=0,o=0,r=0;if(_[32+(t|=0)>>2]=262144,(0|(e=0|_[t+4>>2]))<2383){if((0|_[t+8>>2])<2383){if(_[6630]=1+(0|_[6630]),(i=0|di(9551))?(_[(i+4+15&-16)-4>>2]=i,r=i+4+15&-16):r=0,(0|(o=0|_[t+4>>2]))>0){i=0;do{_[r+(i<<2)>>2]=_[(0|_[t+12>>2])+(i<<2)>>2],i=i+1|0}while((0|i)!=(0|o))}0|(i=0|_[t+12>>2])&&(0|n[t+16|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[i+-4>>2])),_[t+12>>2]=0),n[t+16|0]=1,_[t+12>>2]=r,_[t+8>>2]=2383,i=t+12|0}else i=t+12|0;do{_[(0|_[i>>2])+(e<<2)>>2]=0,e=e+1|0}while(2383!=(0|e))}_[t+4>>2]=2383,i=0;do{if(r=(0|_[t+12>>2])+(i<<2)|0,e=0|_[r>>2],_[r>>2]=0,0|e)do{r=e,e=0|_[e+280>>2],gb(r)}while(0|e);i=i+1|0}while(2383!=(0|i));p[t+20>>2]=.25,_[t+24>>2]=0,_[t+28>>2]=0,_[t+36>>2]=1,_[t+40>>2]=1}function le(t,e){e|=0;var i=0,o=0,r=0,s=0;i=0|_[488+(t|=0)>>2];t:do{if((0|i)>0){for(r=0|_[t+496>>2],o=0;(0|_[r+(o<<2)>>2])!=(0|e);)if((0|(o=o+1|0))>=(0|i))break t;if((0|o)!=(0|i))return void(_[(e=t+256|0)>>2]=1)}}while(0);if((0|i)==(0|_[t+492>>2])&&(0|i)<(0|(s=0|i?i<<1:1))){if(s?(_[6630]=1+(0|_[6630]),(i=0|di(16+(s<<2|3)|0))?(_[(i+4+15&-16)-4>>2]=i,i=i+4+15&-16):i=0,r=i,i=0|_[t+488>>2]):r=0,(0|i)>0){o=0;do{_[r+(o<<2)>>2]=_[(0|_[t+496>>2])+(o<<2)>>2],o=o+1|0}while((0|o)!=(0|i))}(o=0|_[t+496>>2])&&(0|n[t+500|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[o+-4>>2]),i=0|_[t+488>>2]),_[t+496>>2]=0),n[t+500|0]=1,_[t+496>>2]=r,_[t+492>>2]=s}_[(0|_[t+496>>2])+(i<<2)>>2]=e,_[t+488>>2]=i+1,_[(e=t+256|0)>>2]=1}function Ae(t){var e,i=0,o=0,r=0;if(_[(t|=0)>>2]=9720,n[t+20|0]=1,_[t+16>>2]=0,_[t+8>>2]=0,_[t+12>>2]=0,_[t+24>>2]=0,n[t+28|0]=0,n[t+48|0]=1,_[t+44>>2]=0,_[t+36>>2]=0,_[t+40>>2]=0,n[t+68|0]=1,_[t+64>>2]=0,_[t+56>>2]=0,_[t+60>>2]=0,_[t+72>>2]=0,_[6630]=1+(0|_[6630]),(i=0|di(51))?(_[(i+4+15&-16)-4>>2]=i,o=i+4+15&-16):o=0,(0|(e=0|_[t+8>>2]))>0){i=0;do{r=0|_[t+16>>2],_[o+(i<<4)>>2]=_[r+(i<<4)>>2],_[o+(i<<4)+4>>2]=_[r+(i<<4)+4>>2],_[o+(i<<4)+8>>2]=_[r+(i<<4)+8>>2],_[o+(i<<4)+12>>2]=_[r+(i<<4)+12>>2],i=i+1|0}while((0|i)!=(0|e))}if(!(i=0|_[t+16>>2]))return n[t+20|0]=1,_[t+16>>2]=o,_[t+12>>2]=2,void tt(t);0|n[t+20|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[i+-4>>2])),_[t+16>>2]=0,n[t+20|0]=1,_[t+16>>2]=o,_[t+12>>2]=2,tt(t)}function fe(t,e,i,n,o,_,r,s,c,a,b){e|=0,i=+i,n=+n,o=+o,_=+_,r=+r,s=+s,c|=0,a|=0,b=+b;var d,l,A,f,u,m,h,y,g=0,C=0,v=0,S=0;return y=+p[(t|=0)>>2]*_+ +p[t+16>>2]*r+ +p[t+32>>2]*s,m=+p[t+4>>2]*_+ +p[t+20>>2]*r+ +p[t+36>>2]*s,f=+p[t+8>>2]*_+ +p[t+24>>2]*r+ +p[t+40>>2]*s,A=+p[e>>2]*_+ +p[e+16>>2]*r+ +p[e+32>>2]*s,d=+p[e+4>>2]*_+ +p[e+20>>2]*r+ +p[e+36>>2]*s,v=+p[e+8>>2]*_+ +p[e+24>>2]*r+ +p[e+40>>2]*s,h=+p[c+80>>2],u=+p[c+84>>2],S=+p[c+88>>2],l=+p[a+80>>2],g=+p[a+84>>2],C=+p[a+88>>2],C=A*(A<0?-l:l)+d*(d<0?-g:g)+v*(v<0?-C:C),0|!((i*_+n*r+o*s+(g=((S=y*(y<0?-h:h)+m*(m<0?-u:u)+f*(f<0?-S:S))>(v=+p[c+96>>2])?S:v)+(C>(g=+p[a+96>>2])?C:g))<g-(i*_+n*r+o*s)?i*_+n*r+o*s+g:g-(i*_+n*r+o*s))>b)}function ue(t,e,i,o){t|=0,e|=0,i|=0,o|=0;var r,s,c,a,b=0,d=0,A=0,f=0,u=0,m=0,h=0,y=0,C=0,v=0,S=0,w=0;if(a=Q,Q=Q+176|0,_[a+96>>2]=1,_[a+96+4>>2]=i,_[a+96+8>>2]=e,_[a+96+12>>2]=16,p[a+96+16>>2]=.0010000000474974513,n[a+40+24|0]=1,_[(c=a+40+20|0)>>2]=0,_[a+40+12>>2]=0,_[a+40+16>>2]=0,n[0|(r=a+40+52|0)]=1,_[(s=a+40+48|0)>>2]=0,_[a+40+40>>2]=0,_[a+40+44>>2]=0,n[a+40|0]=1,_[a+40+4>>2]=0,_[a+40+28>>2]=0,_[a+40+32>>2]=0,n[a+16|0]=1,_[a+12>>2]=0,_[a+4>>2]=0,_[a+8>>2]=0,n[a+36|0]=1,_[a+32>>2]=0,_[a+24>>2]=0,_[a+28>>2]=0,_[a+96+20>>2]=i,jb(a,a+96|0,a+40|0),_[6630]=1+(0|_[6630]),(e=0|di(1271))?(_[(e+4+15&-16)-4>>2]=e,m=e+4+15&-16):m=0,hi(m,t,0|_[a+40+4>>2],0|_[c>>2],0),(0|_[a+40+28>>2])>0){i=m+720|0,t=m+732|0,b=m+740|0,d=m+924|0,e=0;do{u=3*e|0,h=0|_[s>>2],A=0|_[h+(u<<2)>>2],f=0|_[h+(u+1<<2)>>2],u=0|_[h+(u+2<<2)>>2],(0|A)<(0|f)&&(w=0|_[i>>2],ne(m,0),h=(0|_[t>>2])-1|0,y=0|_[b>>2],_[y+(52*h|0)+8>>2]=w+(104*A|0),_[y+(52*h|0)+12>>2]=w+(104*f|0),S=+p[w+(104*A|0)+8>>2]-+p[w+(104*f|0)+8>>2],v=+p[w+(104*A|0)+12>>2]-+p[w+(104*f|0)+12>>2],C=+p[w+(104*A|0)+16>>2]-+p[w+(104*f|0)+16>>2],C=+l(+(S*S+v*v+C*C)),p[y+(52*h|0)+16>>2]=C,n[0|d]=1),(0|f)<(0|u)&&(h=0|_[i>>2],ne(m,0),w=(0|_[t>>2])-1|0,y=0|_[b>>2],_[y+(52*w|0)+8>>2]=h+(104*f|0),_[y+(52*w|0)+12>>2]=h+(104*u|0),C=+p[h+(104*f|0)+8>>2]-+p[h+(104*u|0)+8>>2],v=+p[h+(104*f|0)+12>>2]-+p[h+(104*u|0)+12>>2],S=+p[h+(104*f|0)+16>>2]-+p[h+(104*u|0)+16>>2],S=+l(+(C*C+v*v+S*S)),p[y+(52*w|0)+16>>2]=S,n[0|d]=1),(0|u)<(0|A)&&(h=0|_[i>>2],ne(m,0),w=(0|_[t>>2])-1|0,y=0|_[b>>2],_[y+(52*w|0)+8>>2]=h+(104*u|0),_[y+(52*w|0)+12>>2]=h+(104*A|0),C=+p[h+(104*u|0)+8>>2]-+p[h+(104*A|0)+8>>2],v=+p[h+(104*u|0)+12>>2]-+p[h+(104*A|0)+12>>2],S=+p[h+(104*u|0)+16>>2]-+p[h+(104*A|0)+16>>2],S=+l(+(C*C+v*v+S*S)),p[y+(52*w|0)+16>>2]=S,n[0|d]=1),ct(m,A,f,u,0),e=e+1|0}while((0|e)<(0|_[a+40+28>>2]))}if(0|_[a+40+12>>2]&&(_[a+40+4>>2]=0,0|(e=0|_[c>>2])&&(0|n[a+40+24|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[c>>2]=0),n[a+40+24|0]=1,_[c>>2]=0,_[a+40+12>>2]=0,_[a+40+16>>2]=0),0|_[a+40+40>>2]&&(_[a+40+32>>2]=0,0|(e=0|_[s>>2])&&(0|n[0|r]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[s>>2]=0),n[0|r]=1,_[s>>2]=0,_[a+40+40>>2]=0,_[a+40+44>>2]=0),o){if((0|(t=0|_[m+732>>2]))>0){b=m+740|0,e=243703,i=0;do{A=(d=0|_[b>>2])+(52*i|0)|0,e=1013904223+(0|g(e,1664525))|0,u=A,o=52+(f=a+124|0)|0;do{_[f>>2]=_[u>>2],f=f+4|0,u=u+4|0}while((0|f)<(0|o));u=d+(52*((e>>>0)%(t>>>0)|0)|0)|0,o=(f=A)+52|0;do{_[f>>2]=_[u>>2],f=f+4|0,u=u+4|0}while((0|f)<(0|o));u=a+124|0,o=52+(f=d+(52*((e>>>0)%(t>>>0)|0)|0)|0)|0;do{_[f>>2]=_[u>>2],f=f+4|0,u=u+4|0}while((0|f)<(0|o));i=i+1|0}while((0|i)!=(0|t))}else e=243703;if((0|(d=0|_[m+752>>2]))>0){A=m+760|0,i=0;do{t=(b=0|_[A>>2])+(44*i|0)|0,b=b+(44*(((e=1013904223+(0|g(e,1664525))|0)>>>0)%(d>>>0)|0)|0)|0,u=t,o=44+(f=a+124|0)|0;do{_[f>>2]=_[u>>2],f=f+4|0,u=u+4|0}while((0|f)<(0|o));u=b,o=(f=t)+44|0;do{_[f>>2]=_[u>>2],f=f+4|0,u=u+4|0}while((0|f)<(0|o));u=a+124|0,o=(f=b)+44|0;do{_[f>>2]=_[u>>2],f=f+4|0,u=u+4|0}while((0|f)<(0|o));i=i+1|0}while((0|i)!=(0|d))}}return 0|(e=0|_[a+32>>2])&&(0|n[a+36|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[a+32>>2]=0),n[a+36|0]=1,_[a+32>>2]=0,_[a+24>>2]=0,_[a+28>>2]=0,0|(e=0|_[a+12>>2])&&(0|n[a+16|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[a+12>>2]=0),0|(e=0|_[s>>2])&&(0|n[0|r]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[s>>2]=0),n[0|r]=1,_[s>>2]=0,_[a+40+40>>2]=0,_[a+40+44>>2]=0,(e=0|_[c>>2])?(0|n[a+40+24|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[c>>2]=0,Q=a,0|m):(Q=a,0|m)}function me(t,e,i,o,r,s){e|=0,i|=0,o|=0,r|=0,s|=0;var c,b,d,l,A=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0;if(l=Q,Q=Q+288|0,y=0|_[4+(t|=0)>>2],n[y+312|0]=0,_[y>>2]=0,n[y+356|0]=1,_[y+292>>2]=1566444395,_[y+296>>2]=1566444395,_[y+300>>2]=1566444395,p[y+304>>2]=0,_[y+336>>2]=0,_[y+336+4>>2]=0,_[y+336+8>>2]=0,_[y+336+12>>2]=0,n[y+336+16|0]=0,n[y+332|0]=-16&n[y+332|0],c=+p[i+48>>2]-+p[e+48>>2]-(+p[r+48>>2]-+p[o+48>>2]),b=+p[i+52>>2]-+p[e+52>>2]-(+p[r+52>>2]-+p[o+52>>2]),d=+p[i+56>>2]-+p[e+56>>2]-(+p[r+56>>2]-+p[o+56>>2]),_[l+216>>2]=10156,p[l+216+36>>2]=0xde0b6b000000000,n[l+216+40|0]=0,y=0|_[t+8>>2],h=0|_[t+12>>2],m=0|_[t+4>>2],_[l+136>>2]=10204,_[l+136+4>>2]=0,_[l+136+8>>2]=1065353216,_[l+136+12>>2]=0,p[l+136+16>>2]=0,_[l+136+20>>2]=0,_[l+136+24>>2]=m,_[l+136+28>>2]=y,_[l+136+32>>2]=h,_[l+136+36>>2]=_[y+4>>2],_[l+136+40>>2]=_[h+4>>2],u=+Bb[15&_[48+(0|_[y>>2])>>2]](y),p[l+136+44>>2]=u,u=+Bb[15&_[48+(0|_[h>>2])>>2]](h),p[l+136+48>>2]=u,n[l+136+52|0]=0,_[l+136+60>>2]=-1,_[l+136+72>>2]=1,_[l+136+76>>2]=1,p[l+128>>2]=0xde0b6b000000000,_[l>>2]=_[e>>2],_[l+4>>2]=_[e+4>>2],_[l+8>>2]=_[e+8>>2],_[l+12>>2]=_[e+12>>2],_[l+16>>2]=_[e+16>>2],_[l+16+4>>2]=_[e+16+4>>2],_[l+16+8>>2]=_[e+16+8>>2],_[l+16+12>>2]=_[e+16+12>>2],_[l+32>>2]=_[e+32>>2],_[l+32+4>>2]=_[e+32+4>>2],_[l+32+8>>2]=_[e+32+8>>2],_[l+32+12>>2]=_[e+32+12>>2],_[l+48>>2]=_[e+48>>2],_[l+48+4>>2]=_[e+48+4>>2],_[l+48+8>>2]=_[e+48+8>>2],_[l+48+12>>2]=_[e+48+12>>2],_[l+64>>2]=_[o>>2],_[l+64+4>>2]=_[o+4>>2],_[l+64+8>>2]=_[o+8>>2],_[l+64+12>>2]=_[o+12>>2],_[l+80>>2]=_[o+16>>2],_[l+80+4>>2]=_[o+16+4>>2],_[l+80+8>>2]=_[o+16+8>>2],_[l+80+12>>2]=_[o+16+12>>2],_[l+96>>2]=_[o+32>>2],_[l+96+4>>2]=_[o+32+4>>2],_[l+96+8>>2]=_[o+32+8>>2],_[l+96+12>>2]=_[o+32+12>>2],_[l+112>>2]=_[o+48>>2],_[l+112+4>>2]=_[o+48+4>>2],_[l+112+8>>2]=_[o+48+8>>2],_[l+112+12>>2]=_[o+48+12>>2],Si(l+136|0,l,l+216|0,0,0),h=!(0|n[l+216+40|0]),y=l+216+20|0,_[l+264>>2]=_[y>>2],_[l+264+4>>2]=_[y+4>>2],_[l+264+8>>2]=_[y+8>>2],_[l+264+12>>2]=_[y+12>>2],h)return Q=l,0|(s=0);u=+p[l+216+36>>2],A=+p[l+216+16>>2],t=0|_[l+216+12>>2],f=0|_[l+216+8>>2],m=0|_[l+216+4>>2];do{if(u>.0010000000474974513){for(h=0,A=0;;){if(h>>>0>31){t=0,h=13;break}if(C=c*(_[a>>2]=m,+p[a>>2]),C=b*(_[a>>2]=f,+p[a>>2])+C,g=A,!(!((A-=u/(d*(_[a>>2]=t,+p[a>>2])+C))<=g)&!(A<0)&!(A>1))){t=0,h=13;break}if(Kb[31&_[_[s>>2]>>2]](s,A),C=1-A,p[l+48>>2]=C*+p[e+48>>2]+A*+p[i+48>>2],p[l+52>>2]=C*+p[e+52>>2]+A*+p[i+52>>2],p[l+56>>2]=C*+p[e+56>>2]+A*+p[i+56>>2],p[l+112>>2]=C*+p[o+48>>2]+A*+p[r+48>>2],p[l+116>>2]=C*+p[o+52>>2]+A*+p[r+52>>2],p[l+120>>2]=C*+p[o+56>>2]+A*+p[r+56>>2],Si(l+136|0,l,l+216|0,0,0),!(0|n[l+216+40|0])){t=0,h=13;break}if((u=+p[l+216+36>>2])<0){h=8;break}if(_[l+264>>2]=_[y>>2],_[l+264+4>>2]=_[y+4>>2],_[l+264+8>>2]=_[y+8>>2],_[l+264+12>>2]=_[y+12>>2],t=0|_[l+216+12>>2],f=0|_[l+216+8>>2],m=0|_[l+216+4>>2],!(u>.0010000000474974513)){h=10;break}h=h+1|0}if(8==(0|h))return p[s+164>>2]=A,i=0|_[l+216+8>>2],o=0|_[l+216+12>>2],r=0|_[l+216+16>>2],_[s+132>>2]=_[l+216+4>>2],_[s+136>>2]=i,_[s+140>>2]=o,_[s+144>>2]=r,_[s+148>>2]=_[y>>2],_[s+148+4>>2]=_[y+4>>2],_[s+148+8>>2]=_[y+8>>2],_[s+148+12>>2]=_[y+12>>2],Q=l,0|(s=1);if(10==(0|h)){u=A,A=+p[l+216+16>>2];break}if(13==(0|h))return Q=l,0|t}else u=0}while(0);return C=c*(_[a>>2]=m,+p[a>>2]),C=b*(_[a>>2]=f,+p[a>>2])+C,d*(_[a>>2]=t,+p[a>>2])+C>=-+p[s+172>>2]?(Q=l,0|(s=0)):(p[s+164>>2]=u,_[s+132>>2]=m,_[s+136>>2]=f,_[s+140>>2]=t,p[s+144>>2]=A,_[s+148>>2]=_[l+264>>2],_[s+148+4>>2]=_[l+264+4>>2],_[s+148+8>>2]=_[l+264+8>>2],_[s+148+12>>2]=_[l+264+12>>2],Q=l,0|(s=1))}function he(t,e,i,o,r,s,c,a,b,d,l,A,f){t|=0,e|=0,i|=0,o|=0,r|=0,s|=0,c|=0,a|=0,d|=0,l|=0,A|=0,f|=0;var u,m,h,y=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0,O=0,x=0,T=0,P=0,V=0;if(m=0|g(0|_[24+(b|=0)>>2],d),!(!!((u=0|n[e+44|0])<<24>>24)|!!(0|(h=0|_[e+56>>2]))))return 0|(b=0);I=0|_[(0|A?b+12:b+8)>>2],d=0|_[(0|A?b+20:b+16)>>2],_[I+(m<<2)>>2]=_[l>>2],_[I+(m+1<<2)>>2]=_[l+4>>2],_[I+(m+2<<2)>>2]=_[l+8>>2],p[d+(m<<2)>>2]=-+p[l>>2],p[d+(m+1<<2)>>2]=-+p[l+4>>2],p[d+(m+2<<2)>>2]=-+p[l+8>>2];do{if(!A){if(y=+p[t+1176>>2],!(0|n[t+1301|0])){S=y-+p[i+48>>2],R=+p[t+1180>>2]-+p[i+52>>2],j=+p[t+1184>>2]-+p[i+56>>2],k=+p[l+8>>2],v=+p[l+4>>2],w=+p[l>>2],I=0|_[b+12>>2],p[I+(m<<2)>>2]=R*k-j*v,p[I+(m+1<<2)>>2]=j*w-S*k,p[I+(m+2<<2)>>2]=S*v-R*w,w=+p[t+1176>>2]-+p[o+48>>2],R=+p[t+1180>>2]-+p[o+52>>2],v=+p[t+1184>>2]-+p[o+56>>2],S=+p[l+8>>2],k=+p[l+4>>2],j=+p[l>>2],I=0|_[b+20>>2],p[I+(m<<2)>>2]=-(R*S-v*k),p[I+(m+1<<2)>>2]=-(v*j-w*S),p[I+(m+2<<2)>>2]=-(w*k-R*j);break}T=y-+p[o+48>>2],O=+p[t+1180>>2]-+p[o+52>>2],W=+p[t+1184>>2]-+p[o+56>>2],x=+p[l>>2],F=+p[l+4>>2],B=+p[l+8>>2],P=x*(x*(V=+p[t+1112>>2]-+p[i+48>>2])+F*(v=+p[t+1116>>2]-+p[i+52>>2])+B*(S=+p[t+1120>>2]-+p[i+56>>2]))+x*(C=+p[e+52>>2]-+p[e+48>>2])-x*(T*x+O*F+W*B),y=F*(x*V+F*v+B*S)+F*C-F*(T*x+O*F+W*B),C=B*(x*V+F*v+B*S)+B*C-B*(T*x+O*F+W*B),w=B*(v-F*(x*V+F*v+B*S)+(R=+p[t+1272>>2])*y)-F*(S-B*(x*V+F*v+B*S)+R*C),k=x*(S-B*(x*V+F*v+B*S)+R*C)-B*(V-x*(x*V+F*v+B*S)+R*P),S=F*(V-x*(x*V+F*v+B*S)+R*P)-x*(v-F*(x*V+F*v+B*S)+R*y),v=B*(O-F*(T*x+O*F+W*B)-(j=+p[t+1276>>2])*y)-F*(W-B*(T*x+O*F+W*B)-j*C),C=x*(W-B*(T*x+O*F+W*B)-j*C)-B*(T-x*(T*x+O*F+W*B)-j*P),y=F*(T-x*(T*x+O*F+W*B)-j*P)-x*(O-F*(T*x+O*F+W*B)-j*y),!!(0|f)|!(0|n[t+1280|0])||(w*=R,k*=R,S*=R,v*=j,C*=j,y*=j),I=(0|_[b+12>>2])+(m<<2)|0,p[I>>2]=w,p[I+4>>2]=k,p[I+8>>2]=S,I=0|_[b+20>>2],p[I+(m<<2)>>2]=-v,p[I+(m+1<<2)>>2]=-C,p[I+(m+2<<2)>>2]=-y}}while(0);0|h&&+p[e>>2]==+p[e+4>>2]?(i=(0|_[b+28>>2])+(m<<2)|0,p[i>>2]=0,y=0):D=11;do{if(11==(0|D)){if(d=(0|_[b+28>>2])+(m<<2)|0,p[d>>2]=0,!(u<<24>>24)){if(0|h){i=d,y=0;break}return 0|(s=1)}if(_[(0|_[b+32>>2])+(m<<2)>>2]=_[e+28>>2],0|h){i=d,y=+p[d>>2];break}k=+p[e+8>>2],y=0|A?k:-k,C=+p[e+52>>2],v=+p[e>>2],S=+p[e+4>>2],w=+p[b>>2]*+p[e+32>>2];do{if(v>S)y=1;else if(v!=S){if(y/w<0){if(C>=v&&v-y/w>C){y=(v-C)/(y/w);break}y=C<v?0:1;break}if(y/w>0){if(C<=S&&S-y/w<C){y=(S-C)/(y/w);break}y=C>S?0:1;break}y=0}else y=0}while(0);return p[d>>2]=y*k+ +p[d>>2],p[(0|_[b+36>>2])+(m<<2)>>2]=-+p[e+12>>2],_[(0|_[b+40>>2])+(m<<2)>>2]=_[e+12>>2],0|(I=1)}}while(0);return V=+p[b>>2]*+p[e+32>>2]*+p[e+48>>2],p[i>>2]=y+(0|A?-V:V),_[(0|_[b+32>>2])+(m<<2)>>2]=_[e+36>>2],+p[e>>2]==+p[e+4>>2]?(p[(0|_[b+36>>2])+(m<<2)>>2]=-34028234663852886e22,p[(0|_[b+40>>2])+(m<<2)>>2]=34028234663852886e22,0|(I=1)):(p[(0|_[b+36>>2])+(m<<2)>>2]=1==(0|h)?0:-34028234663852886e22,p[(0|_[b+40>>2])+(m<<2)>>2]=1==(0|h)?34028234663852886e22:0,(k=+p[e+40>>2])>0?(0|A?(V=+p[l>>2],C=+p[l+4>>2],v=y=+p[l+8>>2],S=C,w=V,s=a,C=+p[c>>2]*V+ +p[c+4>>2]*C,y=+p[c+8>>2]*y):(V=+p[l>>2],C=+p[l+4>>2],v=y=+p[l+8>>2],S=C,w=V,C=+p[r>>2]*V+ +p[r+4>>2]*C,y=+p[r+8>>2]*y),y=C+y-(w*+p[s>>2]+S*+p[s+4>>2]+v*+p[s+8>>2]),1==(0|h)?y<0&&+p[i>>2]<-k*y?(p[i>>2]=-k*y,0|(I=1)):0|(I=1):y>0&&+p[i>>2]>-k*y?(p[i>>2]=-k*y,0|(I=1)):0|(I=1)):0|(I=1))}function ye(t,e,i){t|=0,i|=0;var n,o=0,r=0,s=0,c=0,b=0,d=0,A=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0,k=0;switch(n=Q,Q=Q+48|0,0|_[4+(e|=0)>>2]){case 8:return _[t>>2]=0,_[t+4>>2]=0,_[t+8>>2]=0,_[t+12>>2]=0,void(Q=n);case 0:return S=+p[e+28>>2],w=+p[e+28+4>>2],w=+p[i+4>>2]>=0?w:-w,k=+p[e+28+8>>2],k=+p[i+8>>2]>=0?k:-k,p[t>>2]=+p[i>>2]>=0?S:-S,p[t+4>>2]=w,p[t+8>>2]=k,p[t+12>>2]=0,void(Q=n);case 1:return C=+p[i>>2],v=+p[i+4>>2],k=+p[i+8>>2],w=C*+p[e+56>>2]+v*+p[e+56+4>>2]+k*+p[e+56+8>>2],S=C*+p[e+56+16>>2]+v*+p[e+56+20>>2]+k*+p[e+56+24>>2],k=C*+p[e+56+32>>2]+v*+p[e+56+36>>2]+k*+p[e+56+40>>2],u=0|_[e+56+((f=w<S?S<k?2:1:w<k?2:0)<<4)+4>>2],y=0|_[e+56+(f<<4)+8>>2],_[t>>2]=_[e+56+(f<<4)>>2],_[t+4>>2]=u,_[t+8>>2]=y,p[t+12>>2]=0,void(Q=n);case 13:switch(_[n+32>>2]=_[e+28>>2],_[n+32+4>>2]=_[e+28+4>>2],_[n+32+8>>2]=_[e+28+8>>2],_[n+32+12>>2]=_[e+28+12>>2],_[n+16>>2]=_[i>>2],o=0|_[i+4>>2],_[n+16+4>>2]=o,y=0|_[i+8>>2],_[n+16+8>>2]=y,p[n+16+12>>2]=0,i=0|_[e+52>>2],_[a>>2]=y,r=+p[a>>2],0|i){case 2:e=0,f=2,u=1,_[a>>2]=o,s=+p[a>>2];break;case 1:e=0,f=1,u=2,s=r;break;default:e=1,f=0,u=2,s=r}return r=+p[n+32+(e<<2)>>2],c=+p[n+32+(i<<2)>>2],A=+p[n+16+(e<<2)>>2],0!=(d=+l(+(A*A+s*s)))?(b=s*(r/d),s=+p[n+16+(f<<2)>>2]<0?-c:c,r=A*(r/d)):(b=0,s=+p[n+16+(f<<2)>>2]<0?-c:c),p[n+(e<<2)>>2]=r,p[n+(f<<2)>>2]=s,p[n+(u<<2)>>2]=b,_[t>>2]=_[n>>2],_[t+4>>2]=_[n+4>>2],_[t+8>>2]=_[n+8>>2],p[t+12>>2]=0,void(Q=n);case 10:return r=+p[i>>2],s=+p[i+4>>2],c=+p[i+8>>2],o=0|_[e+52>>2],w=+p[e+28+(o<<2)>>2],b=+p[e+28+((o+2|0)%3<<2)>>2],r*r+s*s+c*c<9999999747378752e-20?(k=1,S=0,v=0):(k=r*(v=1/+l(+(r*r+s*s+c*c))),S=s*v,v*=c),_[n+32>>2]=0,_[n+32+4>>2]=0,_[n+32+8>>2]=0,_[n+32+12>>2]=0,p[n+32+(o<<2)>>2]=w,g=b*k,C=b*S,h=b*v,d=k*(m=+p[e+44>>2]),A=S*m,m*=v,b=g+ +p[n+32>>2]-d,r=C+ +p[n+32+4>>2]-A,(c=v*(s=h+ +p[n+32+8>>2]-m)+(k*b+S*r))>-0xde0b6b000000000?(p[a>>2]=s,u=0|_[a>>2],p[a>>2]=r,y=0|_[a>>2],p[a>>2]=b,f=0|_[a>>2]):(c=-0xde0b6b000000000,f=0,u=0,y=0),_[n+32>>2]=0,_[n+32+4>>2]=0,_[n+32+8>>2]=0,_[n+32+12>>2]=0,p[n+32+(o<<2)>>2]=-w,o=k*(g=g+ +p[n+32>>2]-d)+S*(w=C+ +p[n+32+4>>2]-A)+v*(r=h+ +p[n+32+8>>2]-m)>c,p[a>>2]=g,i=0|_[a>>2],p[a>>2]=w,e=0|_[a>>2],u=o?(p[a>>2]=r,0|_[a>>2]):u,_[t>>2]=o?i:f,_[t+4>>2]=o?e:y,_[t+8>>2]=u,p[t+12>>2]=0,void(Q=n);case 5:if(u=0|_[e+92>>2],f=0|_[e+96>>2],m=+p[e+12>>2],h=+p[e+16>>2],A=+p[e+20>>2],b=+p[i>>2]*m,d=+p[i+4>>2]*h,s=+p[i+8>>2]*A,(0|f)>0)for(o=-1,i=0,r=-34028234663852886e22;o=(e=(c=b*+p[u+(i<<4)>>2]+d*+p[u+(i<<4)+4>>2]+s*+p[u+(i<<4)+8>>2])>r)?i:o,(0|(i=i+1|0))!=(0|f);)r=e?c:r;else o=-1;return w=h*+p[u+(o<<4)+4>>2],k=A*+p[u+(o<<4)+8>>2],p[t>>2]=m*+p[u+(o<<4)>>2],p[t+4>>2]=w,p[t+8>>2]=k,p[t+12>>2]=0,void(Q=n);case 4:if(u=0|_[e+104>>2],f=0|_[e+96>>2],m=+p[e+12>>2],h=+p[e+16>>2],A=+p[e+20>>2],b=+p[i>>2]*m,d=+p[i+4>>2]*h,s=+p[i+8>>2]*A,(0|f)>0)for(o=-1,i=0,r=-34028234663852886e22;o=(e=(c=b*+p[u+(i<<4)>>2]+d*+p[u+(i<<4)+4>>2]+s*+p[u+(i<<4)+8>>2])>r)?i:o,(0|(i=i+1|0))!=(0|f);)r=e?c:r;else o=-1;return w=h*+p[u+(o<<4)+4>>2],k=A*+p[u+(o<<4)+8>>2],p[t>>2]=m*+p[u+(o<<4)>>2],p[t+4>>2]=w,p[t+8>>2]=k,p[t+12>>2]=0,void(Q=n);default:return rd[127&_[68+(0|_[e>>2])>>2]](t,e,i),void(Q=n)}}function ge(t,e,i,o,r,s){e|=0,i|=0,o|=0,r|=0,s|=0;var c,b,d,l,A=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0;if((0|(I=0|_[88+(t|=0)>>2]))==(0|_[t+92>>2])&&(0|I)<(0|(h=0|I?I<<1:1))){if(h?(_[6630]=1+(0|_[6630]),(A=0|di(16+(152*h|3)|0))?(_[(A+4+15&-16)-4>>2]=A,A=A+4+15&-16):A=0,u=0|_[t+88>>2]):(A=0,u=I),(0|u)>0){f=0;do{_e(A+(152*f|0)|0,(0|_[t+96>>2])+(152*f|0)|0,152),f=f+1|0}while((0|f)!=(0|u))}0|(f=0|_[t+96>>2])&&(0|n[t+100|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[f+-4>>2])),_[t+96>>2]=0),n[t+100|0]=1,_[t+96>>2]=A,_[t+92>>2]=h,A=0|_[t+88>>2]}else A=I;if(_[t+88>>2]=A+1,l=0|_[t+96>>2],_[l+(152*I|0)+140>>2]=r,_[l+(152*I|0)+16>>2]=0,_[l+(152*I|0)+16+4>>2]=0,_[l+(152*I|0)+16+8>>2]=0,_[l+(152*I|0)+16+12>>2]=0,p[l+(152*I|0)+48>>2]=-0,p[l+(152*I|0)+52>>2]=-0,p[l+(152*I|0)+56>>2]=-0,p[l+(152*I|0)+60>>2]=0,r=0|_[t+16>>2],h=0|_[r+(244*i|0)+240>>2],d=0|_[r+(244*o|0)+240>>2],_[l+(152*I|0)+144>>2]=i,_[l+(152*I|0)+148>>2]=o,t=0|_[s+88>>2],_[l+(152*I|0)+104>>2]=t,_[l+(152*I|0)+132>>2]=0,p[l+(152*I|0)+100>>2]=0,p[l+(152*I|0)+96>>2]=0,k=-+p[e>>2],R=-+p[e+4>>2],j=-+p[e+8>>2],p[l+(152*I|0)>>2]=k,p[l+(152*I|0)+4>>2]=R,p[l+(152*I|0)+8>>2]=j,p[l+(152*I|0)+12>>2]=0,_[a>>2]=t,D=+p[a>>2],0|h?(p[a>>2]=(+p[h+264>>2]*k+ +p[h+268>>2]*R+ +p[h+272>>2]*j)*+p[h+544>>2],A=0|_[a>>2],p[a>>2]=(+p[h+280>>2]*k+ +p[h+284>>2]*R+ +p[h+288>>2]*j)*+p[h+548>>2],f=0|_[a>>2],p[a>>2]=(+p[h+296>>2]*k+ +p[h+300>>2]*R+ +p[h+304>>2]*j)*+p[h+552>>2],u=0|_[a>>2]):(A=0,f=0,u=0),_[l+(152*I|0)+64>>2]=A,_[l+(152*I|0)+68>>2]=f,_[l+(152*I|0)+72>>2]=u,p[l+(152*I|0)+76>>2]=0,c=+p[e>>2],w=+p[e+4>>2],b=+p[e+8>>2],e=0|_[e+12>>2],p[l+(152*I|0)+32>>2]=c,p[l+(152*I|0)+36>>2]=w,p[l+(152*I|0)+40>>2]=b,_[l+(152*I|0)+44>>2]=e,0|d?(p[a>>2]=(c*+p[d+264>>2]+w*+p[d+268>>2]+b*+p[d+272>>2])*+p[d+544>>2],A=0|_[a>>2],p[a>>2]=(c*+p[d+280>>2]+w*+p[d+284>>2]+b*+p[d+288>>2])*+p[d+548>>2],f=0|_[a>>2],p[a>>2]=(c*+p[d+296>>2]+w*+p[d+300>>2]+b*+p[d+304>>2])*+p[d+552>>2],u=0|_[a>>2]):(A=0,f=0,u=0),_[l+(152*I|0)+80>>2]=A,_[l+(152*I|0)+84>>2]=f,_[l+(152*I|0)+88>>2]=u,p[l+(152*I|0)+92>>2]=0,0|h?(m=+p[h+264>>2]*k+ +p[h+268>>2]*R+ +p[h+272>>2]*j,y=+p[h+280>>2]*k+ +p[h+284>>2]*R+ +p[h+288>>2]*j,g=+p[h+296>>2]*k+ +p[h+300>>2]*R+ +p[h+304>>2]*j):(m=0,y=0,g=0),0|d?(C=+p[d+264>>2]*c+ +p[d+268>>2]*w+ +p[d+272>>2]*b,v=c*+p[d+280>>2]+w*+p[d+284>>2]+b*+p[d+288>>2],S=c*+p[d+296>>2]+w*+p[d+300>>2]+b*+p[d+304>>2]):(C=0,v=0,S=0),v=1/(m*k+y*R+g*j+0+(C*c+v*w+S*b)),p[l+(152*I|0)+108>>2]=v,0|h?(y=+p[r+(244*i|0)+192>>2],g=+p[r+(244*i|0)+196>>2],C=+p[r+(244*i|0)+200>>2],m=0*(+p[r+(244*i|0)+176>>2]+ +p[r+(244*i|0)+208>>2])+0*(+p[r+(244*i|0)+180>>2]+ +p[r+(244*i|0)+212>>2])+0*(+p[r+(244*i|0)+184>>2]+ +p[r+(244*i|0)+216>>2])):(y=0,g=0,C=0,m=0),m+=C*j+(g*R+y*k),!d)return j=0,k=0,j=0-(j=m+(j=(R=-0)+(j=(k*=b)+(j=(w*=S=0)+(j*=c))))),j*=v,p[(o=l+(152*I|0)+112|0)>>2]=j,p[(o=l+(152*I|0)+116|0)>>2]=0,D=-D,p[(o=l+(152*I|0)+120|0)>>2]=D,void(_[(I=l+(152*I|0)+124|0)>>2]=t);j=+p[r+(244*o|0)+192>>2],S=+p[r+(244*o|0)+196>>2],k=+p[r+(244*o|0)+200>>2],j=0-(j=m+(j=(R=-0*(+p[r+(244*o|0)+176>>2]+ +p[r+(244*o|0)+208>>2])+-0*(+p[r+(244*o|0)+180>>2]+ +p[r+(244*o|0)+212>>2])+-0*(+p[r+(244*o|0)+184>>2]+ +p[r+(244*o|0)+216>>2]))+(j=(k*=b)+(j=(w*=S)+(j*=c))))),j*=v,p[(o=l+(152*I|0)+112|0)>>2]=j,p[(o=l+(152*I|0)+116|0)>>2]=0,D=-D,p[(o=l+(152*I|0)+120|0)>>2]=D,_[(I=l+(152*I|0)+124|0)>>2]=t}function Ce(t,e){e|=0;var i,o,r,s,c,b,d,l,A=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0;i=Q,Q=Q+16|0,_[236+(t|=0)>>2]=2,_[t+312>>2]=0,_[t+312+4>>2]=0,_[t+312+8>>2]=0,_[t+312+12>>2]=0,_[t+312+16>>2]=0,_[t+312+20>>2]=0,_[t+312+24>>2]=0,_[t+312+28>>2]=0,_[t+544>>2]=1065353216,_[t+548>>2]=1065353216,_[t+552>>2]=1065353216,p[t+556>>2]=0,_[t+348>>2]=1065353216,_[t+352>>2]=1065353216,_[t+356>>2]=1065353216,u=36+(A=t+360|0)|0;do{_[A>>2]=0,A=A+4|0}while((0|A)<(0|u));_[t+412>>2]=0,_[t+412+4>>2]=0,_[t+412+8>>2]=0,_[t+412+12>>2]=0,_[t+412+16>>2]=0,_[t+412+20>>2]=0,_[t+412+24>>2]=0,_[t+412+28>>2]=0,f=+p[e+92>>2],y=+p[e+96>>2],p[i+12>>2]=f,p[i+8>>2]=y,p[i+4>>2]=0,p[i>>2]=1,_[t+444>>2]=_[(f<0?i+4:f>1?i:i+12)>>2],p[i+4>>2]=0,p[i>>2]=1,_[t+448>>2]=_[(y<0?i+4:y>1?i:i+8)>>2],_[t+472>>2]=_[e+112>>2],_[t+476>>2]=_[e+116>>2],A=0|_[e+4>>2],_[t+480>>2]=A,_[t+608>>2]=0,_[t+612>>2]=0,n[t+452|0]=0|n[e+120|0],_[t+456>>2]=_[e+124>>2],_[t+460>>2]=_[e+128>>2],_[t+464>>2]=_[e+132>>2],_[t+468>>2]=_[e+136>>2],A?(id[127&_[8+(0|_[A>>2])>>2]](A,t+4|0),A=t+20|0,u=t+36|0,m=t+52|0,h=t+4|0):(_[t+4>>2]=_[e+8>>2],_[t+4+4>>2]=_[e+8+4>>2],_[t+4+8>>2]=_[e+8+8>>2],_[t+4+12>>2]=_[e+8+12>>2],_[t+20>>2]=_[e+24>>2],_[t+20+4>>2]=_[e+24+4>>2],_[t+20+8>>2]=_[e+24+8>>2],_[t+20+12>>2]=_[e+24+12>>2],_[t+36>>2]=_[e+40>>2],_[t+36+4>>2]=_[e+40+4>>2],_[t+36+8>>2]=_[e+40+8>>2],_[t+36+12>>2]=_[e+40+12>>2],_[t+52>>2]=_[e+56>>2],_[t+52+4>>2]=_[e+56+4>>2],_[t+52+8>>2]=_[e+56+8>>2],_[t+52+12>>2]=_[e+56+12>>2],A=t+20|0,u=t+36|0,m=t+52|0,h=t+4|0),_[t+68>>2]=_[h>>2],_[t+68+4>>2]=_[h+4>>2],_[t+68+8>>2]=_[h+8>>2],_[t+68+12>>2]=_[h+12>>2],_[t+84>>2]=_[A>>2],_[t+84+4>>2]=_[A+4>>2],_[t+84+8>>2]=_[A+8>>2],_[t+84+12>>2]=_[A+12>>2],_[t+100>>2]=_[u>>2],_[t+100+4>>2]=_[u+4>>2],_[t+100+8>>2]=_[u+8>>2],_[t+100+12>>2]=_[u+12>>2],_[t+116>>2]=_[m>>2],_[t+116+4>>2]=_[m+4>>2],_[t+116+8>>2]=_[m+8>>2],_[t+116+12>>2]=_[m+12>>2],_[t+132>>2]=0,_[t+132+4>>2]=0,_[t+132+8>>2]=0,_[t+132+12>>2]=0,_[t+132+16>>2]=0,_[t+132+20>>2]=0,_[t+132+24>>2]=0,_[t+132+28>>2]=0,_[t+224>>2]=_[e+100>>2],_[t+232>>2]=_[e+104>>2],_[t+228>>2]=_[e+108>>2],id[127&_[12+(0|_[t>>2])>>2]](t,0|_[e+72>>2]),A=0|_[6294],_[6294]=A+1,_[t+508>>2]=A,f=+p[e>>2],A=0|_[t+204>>2],0==f?(_[t+204>>2]=1|A,y=0):(_[t+204>>2]=-2&A,y=1/f),p[t+344>>2]=y,C=f*+p[t+384>>2],g=f*+p[t+388>>2],p[t+364>>2]=f*+p[t+380>>2],p[t+368>>2]=C,p[t+372>>2]=g,p[t+376>>2]=0,u=0!=(f=+p[e+76>>2])?(p[a>>2]=1/f,0|_[a>>2]):0,A=0!=(f=+p[e+80>>2])?(p[a>>2]=1/f,0|_[a>>2]):0,e=0!=(f=+p[e+84>>2])?(p[a>>2]=1/f,0|_[a>>2]):0,_[t+396>>2]=u,_[t+400>>2]=A,_[t+404>>2]=e,p[t+408>>2]=0,v=y*+p[t+352>>2],S=y*+p[t+356>>2],p[t+560>>2]=y*+p[t+348>>2],p[t+564>>2]=v,p[t+568>>2]=S,p[t+572>>2]=0,S=+p[t+4>>2],_[a>>2]=u,v=+p[a>>2],l=+p[t+8>>2],_[a>>2]=A,f=+p[a>>2],d=+p[t+12>>2],_[a>>2]=e,g=+p[a>>2],b=+p[t+20>>2],c=+p[t+24>>2],s=+p[t+28>>2],r=+p[t+36>>2],o=+p[t+40>>2],C=+p[t+44>>2],p[t+264>>2]=S*(S*v)+l*(l*f)+d*(d*g),p[t+268>>2]=S*v*b+l*f*c+d*g*s,p[t+272>>2]=S*v*r+l*f*o+d*g*C,p[t+276>>2]=0,p[t+280>>2]=S*(b*v)+l*(c*f)+d*(s*g),p[t+284>>2]=b*(b*v)+c*(c*f)+s*(s*g),p[t+288>>2]=b*v*r+c*f*o+s*g*C,p[t+292>>2]=0,p[t+296>>2]=S*(r*v)+l*(o*f)+d*(C*g),p[t+300>>2]=b*(r*v)+c*(o*f)+s*(C*g),p[t+304>>2]=r*(r*v)+o*(o*f)+C*(C*g),p[t+308>>2]=0,_[t+504>>2]=0,_[t+512>>2]=0,_[t+512+4>>2]=0,_[t+512+8>>2]=0,_[t+512+12>>2]=0,_[t+512+16>>2]=0,_[t+512+20>>2]=0,_[t+512+24>>2]=0,_[t+512+28>>2]=0,g=y*+p[t+352>>2],C=y*+p[t+356>>2],p[t+560>>2]=y*+p[t+348>>2],p[t+564>>2]=g,p[t+568>>2]=C,u=36+(A=t+572|0)|0;do{_[A>>2]=0,A=A+4|0}while((0|A)<(0|u));Q=i}function ve(t,e,i,o){e|=0,i|=0,o|=0;var r,s=0,c=0,a=0,b=0,d=0,l=0,A=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0,O=0,x=0,T=0,P=0,V=0,M=0,G=0;return r=Q,Q=Q+240|0,0|_[16+(t|=0)>>2]?(M=0|_[t+4>>2],n[M+312|0]=0,_[M>>2]=0,n[M+356|0]=1,_[M+292>>2]=1566444395,_[M+296>>2]=1566444395,_[M+300>>2]=1566444395,p[M+304>>2]=0,_[M+336>>2]=0,_[M+336+4>>2]=0,_[M+336+8>>2]=0,_[M+336+12>>2]=0,n[M+336+16|0]=0,n[M+332|0]=-16&n[M+332|0],M=0|_[t+12>>2],V=0|_[t+16>>2],P=0|_[M+4>>2],T=0|_[V+4>>2],O=+Bb[15&_[48+(0|_[M>>2])>>2]](M),G=0|_[t+16>>2],x=+Bb[15&_[48+(0|_[G>>2])>>2]](G),G=0|_[t+4>>2],t=0|_[t+8>>2],_[r+152>>2]=10204,_[r+152+4>>2]=0,_[r+152+8>>2]=1065353216,_[r+152+12>>2]=0,p[r+152+16>>2]=0,_[r+152+20>>2]=t,_[r+152+24>>2]=G,_[r+152+28>>2]=M,_[r+152+32>>2]=V,_[r+152+36>>2]=P,_[r+152+40>>2]=T,p[r+152+44>>2]=O,p[r+152+48>>2]=x,n[r+152+52|0]=0,_[r+152+60>>2]=-1,_[r+152+72>>2]=1,_[r+152+76>>2]=1,p[r+16+128>>2]=0xde0b6b000000000,_[r+16>>2]=_[e>>2],_[r+16+4>>2]=_[e+4>>2],_[r+16+8>>2]=_[e+8>>2],_[r+16+12>>2]=_[e+12>>2],_[r+16+16>>2]=_[e+16>>2],_[r+16+16+4>>2]=_[e+16+4>>2],_[r+16+16+8>>2]=_[e+16+8>>2],_[r+16+16+12>>2]=_[e+16+12>>2],_[r+16+32>>2]=_[e+32>>2],_[r+16+32+4>>2]=_[e+32+4>>2],_[r+16+32+8>>2]=_[e+32+8>>2],_[r+16+32+12>>2]=_[e+32+12>>2],_[r+16+48>>2]=_[e+48>>2],_[r+16+48+4>>2]=_[e+48+4>>2],_[r+16+48+8>>2]=_[e+48+8>>2],_[r+16+48+12>>2]=_[e+48+12>>2],_[r+16+64>>2]=_[i>>2],_[r+16+64+4>>2]=_[i+4>>2],_[r+16+64+8>>2]=_[i+8>>2],_[r+16+64+12>>2]=_[i+12>>2],_[r+16+80>>2]=_[i+16>>2],_[r+16+80+4>>2]=_[i+16+4>>2],_[r+16+80+8>>2]=_[i+16+8>>2],_[r+16+80+12>>2]=_[i+16+12>>2],_[r+16+96>>2]=_[i+32>>2],_[r+16+96+4>>2]=_[i+32+4>>2],_[r+16+96+8>>2]=_[i+32+8>>2],_[r+16+96+12>>2]=_[i+32+12>>2],_[r+16+112>>2]=_[i+48>>2],_[r+16+112+4>>2]=_[i+48+4>>2],_[r+16+112+8>>2]=_[i+48+8>>2],_[r+16+112+12>>2]=_[i+48+12>>2],Si(r+152|0,r+16|0,o,0,0),void(Q=r)):(T=0|_[t+12>>2],t=0|_[t+20>>2],v=+p[e>>2],f=+p[e+4>>2],y=+p[e+8>>2],c=+p[e+16>>2],u=+p[e+20>>2],s=+p[e+24>>2],b=+p[e+32>>2],m=+p[e+36>>2],d=+p[e+40>>2],B=+p[e+48>>2],I=+p[e+52>>2],D=+p[e+56>>2],x=+p[i>>2],O=+p[i+16>>2],w=+p[i+32>>2],F=+p[i+4>>2],W=+p[i+20>>2],S=+p[i+36>>2],g=+p[i+8>>2],a=+p[i+24>>2],A=+p[i+40>>2],j=-+p[i+48>>2],R=-+p[i+52>>2],C=-+p[i+56>>2],e=0|_[64+(0|_[T>>2])>>2],k=-+p[t+48>>2],h=-+p[t+52>>2],l=-+p[t+56>>2],p[r+16>>2]=(v*x+c*O+b*w)*k+(v*F+c*W+b*S)*h+(v*g+c*a+b*A)*l,p[r+16+4>>2]=(f*x+u*O+m*w)*k+(f*F+u*W+m*S)*h+(f*g+u*a+m*A)*l,p[r+16+8>>2]=(y*x+s*O+d*w)*k+(y*F+s*W+d*S)*h+(y*g+s*a+d*A)*l,p[r+16+12>>2]=0,rd[127&e](r+152|0,T,r+16|0),w=B*x+I*O+D*w+(x*j+O*R+w*C)+((v*x+c*O+b*w)*(l=+p[r+152>>2])+(f*x+u*O+m*w)*(h=+p[r+152+4>>2])+(y*x+s*O+d*w)*(k=+p[r+152+8>>2])),S=B*F+I*W+D*S+(F*j+W*R+S*C)+((v*F+c*W+b*S)*l+(f*F+u*W+m*S)*h+(y*F+s*W+d*S)*k),k=B*g+I*a+D*A+(g*j+a*R+A*C)+((v*g+c*a+b*A)*l+(f*g+u*a+m*A)*h+(y*g+s*a+d*A)*k),A=+p[t+48>>2],d=+p[t+52>>2],s=(a=+p[t+56>>2])*k+(A*w+d*S)-+p[t+64>>2],g=+p[i>>2],y=+p[i+4>>2],h=+p[i+8>>2],m=+p[i+16>>2],u=+p[i+20>>2],f=+p[i+24>>2],l=+p[i+32>>2],b=+p[i+36>>2],c=+p[i+40>>2],v=(w-A*s)*m+(S-d*s)*u+(k-a*s)*f+ +p[i+52>>2],C=(w-A*s)*l+(S-d*s)*b+(k-a*s)*c+ +p[i+56>>2],p[r+16>>2]=h*(k-a*s)+(g*(w-A*s)+y*(S-d*s))+ +p[i+48>>2],p[r+16+4>>2]=v,p[r+16+8>>2]=C,p[r+16+12>>2]=0,p[r>>2]=A*g+d*y+a*h,p[r+4>>2]=A*m+d*u+a*f,p[r+8>>2]=A*l+d*b+a*c,p[r+12>>2]=0,sd[15&_[16+(0|_[o>>2])>>2]](o,r,r+16|0,s),void(Q=r))}function Se(t,e,i,n,o,r){t|=0,e|=0,i|=0,n|=0,o|=0;var s,c,a,b,d,A,f,u,m,h,y=0,g=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0,O=0,x=0;s=Q,Q=Q+544|0,C=36+(g=r|=0)|0;do{_[g>>2]=0,g=g+4|0}while((0|g)<(0|C));if(_[s+384>>2]=t,_[s+384+4>>2]=i,A=+p[n>>2],F=+p[e>>2],d=+p[n+16>>2],W=+p[e+16>>2],b=+p[n+32>>2],h=+p[e+32>>2],m=+p[e+4>>2],u=+p[e+20>>2],f=+p[e+36>>2],v=+p[e+8>>2],w=+p[e+24>>2],R=+p[e+40>>2],a=+p[n+4>>2],c=+p[n+20>>2],y=+p[n+36>>2],S=+p[n+8>>2],k=+p[n+24>>2],j=+p[n+40>>2],p[s+384+8>>2]=A*F+d*W+b*h,p[s+384+12>>2]=A*m+d*u+b*f,p[s+384+16>>2]=A*v+d*w+b*R,p[s+384+20>>2]=0,p[s+384+24>>2]=F*a+W*c+h*y,p[s+384+28>>2]=m*a+u*c+f*y,p[s+384+32>>2]=v*a+w*c+R*y,p[s+384+36>>2]=0,p[s+384+40>>2]=F*S+W*k+h*j,p[s+384+44>>2]=m*S+u*k+f*j,p[s+384+48>>2]=v*S+w*k+R*j,p[s+384+52>>2]=0,x=+p[n+48>>2]-+p[e+48>>2],O=+p[n+52>>2]-+p[e+52>>2],B=+p[n+56>>2]-+p[e+56>>2],D=x*+p[e>>2]+O*+p[e+16>>2]+B*+p[e+32>>2],I=x*+p[e+4>>2]+O*+p[e+20>>2]+B*+p[e+36>>2],B=x*+p[e+8>>2]+O*+p[e+24>>2]+B*+p[e+40>>2],p[s+384+56>>2]=A*F+d*W+b*h,p[s+384+60>>2]=F*a+W*c+h*y,p[s+384+64>>2]=F*S+W*k+h*j,p[s+384+68>>2]=0,p[s+384+72>>2]=A*m+d*u+b*f,p[s+384+76>>2]=m*a+u*c+f*y,p[s+384+80>>2]=m*S+u*k+f*j,p[s+384+84>>2]=0,p[s+384+88>>2]=A*v+d*w+b*R,p[s+384+92>>2]=v*a+w*c+R*y,p[s+384+96>>2]=v*S+w*k+R*j,p[s+384+100>>2]=0,p[s+384+104>>2]=D,p[s+384+108>>2]=I,p[s+384+112>>2]=B,p[s+384+116>>2]=0,_[s+384+120>>2]=81,_[s+384+124>>2]=0,_[s+364>>2]=0,_[s+128>>2]=0,_[s+128+4>>2]=0,_[s+128+8>>2]=0,_[s+128+12>>2]=0,_[s+376>>2]=2,_[s+368>>2]=0,p[s+144>>2]=0,0|(t=0|Ci(s,s+384|0,o)))return _[r>>2]=1==(0|t)?1:2,Q=s,0|(r=0);if(t=0|_[s+372>>2],0|_[t+32>>2]){o=0,w=0,k=0,R=0,y=0,v=0,S=0;do{B=+p[t+16+(o<<2)>>2],i=0|_[s+384+120>>2],C=0|_[s+384+124>>2],n=(0|_[s+384>>2])+(C>>1)|0,1&C&&(i=0|_[(0|_[n>>2])+i>>2]),rd[127&i](s+528|0,n,0|_[t+(o<<2)>>2]),w+=B*+p[s+528>>2],k+=B*+p[s+528+4>>2],R+=B*+p[s+528+8>>2],t=0|_[(0|_[s+372>>2])+(o<<2)>>2],j=-+p[t>>2],D=-+p[t+4>>2],I=-+p[t+8>>2],t=0|_[s+384+120>>2],C=0|_[s+384+124>>2],i=(0|_[s+384+4>>2])+(C>>1)|0,1&C&&(t=0|_[(0|_[i>>2])+t>>2]),O=+p[s+384+24>>2]*j+ +p[s+384+28>>2]*D+ +p[s+384+32>>2]*I,F=+p[s+384+40>>2]*j+ +p[s+384+44>>2]*D+ +p[s+384+48>>2]*I,p[s+512>>2]=+p[s+384+8>>2]*j+ +p[s+384+12>>2]*D+ +p[s+384+16>>2]*I,p[s+512+4>>2]=O,p[s+512+8>>2]=F,p[s+512+12>>2]=0,rd[127&t](s+528|0,i,s+512|0),F=+p[s+528>>2],O=+p[s+528+4>>2],x=+p[s+528+8>>2],y+=B*(F*+p[s+384+56>>2]+O*+p[s+384+60>>2]+x*+p[s+384+64>>2]+ +p[s+384+104>>2]),v+=B*(F*+p[s+384+72>>2]+O*+p[s+384+76>>2]+x*+p[s+384+80>>2]+ +p[s+384+108>>2]),S+=B*(F*+p[s+384+88>>2]+O*+p[s+384+92>>2]+x*+p[s+384+96>>2]+ +p[s+384+112>>2]),o=o+1|0,t=0|_[s+372>>2]}while(o>>>0<(0|_[t+32>>2])>>>0)}else R=0,k=0,w=0,S=0,v=0,y=0;return W=w*+p[e+16>>2]+k*+p[e+20>>2]+R*+p[e+24>>2]+ +p[e+52>>2],F=w*+p[e+32>>2]+k*+p[e+36>>2]+R*+p[e+40>>2]+ +p[e+56>>2],p[r+4>>2]=w*+p[e>>2]+k*+p[e+4>>2]+R*+p[e+8>>2]+ +p[e+48>>2],p[r+8>>2]=W,p[r+12>>2]=F,p[r+16>>2]=0,F=y*+p[e+16>>2]+v*+p[e+20>>2]+S*+p[e+24>>2]+ +p[e+52>>2],W=y*+p[e+32>>2]+v*+p[e+36>>2]+S*+p[e+40>>2]+ +p[e+56>>2],p[r+20>>2]=y*+p[e>>2]+v*+p[e+4>>2]+S*+p[e+8>>2]+ +p[e+48>>2],p[r+24>>2]=F,p[r+28>>2]=W,p[r+32>>2]=0,W=w-y,F=k-v,O=R-S,p[r+48>>2]=0,x=+l(+(W*W+F*F+O*O)),p[r+52>>2]=x,x=x>9999999747378752e-20?1/x:1,p[r+36>>2]=W*x,p[r+40>>2]=F*x,p[r+44>>2]=O*x,Q=s,0|(r=1)}function we(t,e,i,n,o,r){t|=0,e|=0,i|=0,n|=0,o|=0,r=+r;var s,c,a,b=0,d=0,A=0,f=0,u=0,m=0,h=0,y=0;if(s=Q,Q=Q+464|0,$i(18138),_[s+128>>2]=_[i>>2],_[s+128+4>>2]=_[i+4>>2],_[s+128+8>>2]=_[i+8>>2],_[s+128+12>>2]=_[i+12>>2],_[s+128+16>>2]=_[i+16>>2],_[s+128+16+4>>2]=_[i+16+4>>2],_[s+128+16+8>>2]=_[i+16+8>>2],_[s+128+16+12>>2]=_[i+16+12>>2],_[s+128+32>>2]=_[i+32>>2],_[s+128+32+4>>2]=_[i+32+4>>2],_[s+128+32+8>>2]=_[i+32+8>>2],_[s+128+32+12>>2]=_[i+32+12>>2],_[(a=s+128+48|0)>>2]=_[i+48>>2],_[a+4>>2]=_[i+48+4>>2],_[a+8>>2]=_[i+48+8>>2],_[a+12>>2]=_[i+48+12>>2],_[s+64>>2]=_[n>>2],_[s+64+4>>2]=_[n+4>>2],_[s+64+8>>2]=_[n+8>>2],_[s+64+12>>2]=_[n+12>>2],_[s+64+16>>2]=_[n+16>>2],_[s+64+16+4>>2]=_[n+16+4>>2],_[s+64+16+8>>2]=_[n+16+8>>2],_[s+64+16+12>>2]=_[n+16+12>>2],_[s+64+32>>2]=_[n+32>>2],_[s+64+32+4>>2]=_[n+32+4>>2],_[s+64+32+8>>2]=_[n+32+8>>2],_[s+64+32+12>>2]=_[n+32+12>>2],_[(c=s+64+48|0)>>2]=_[n+48>>2],_[c+4>>2]=_[n+48+4>>2],_[c+8>>2]=_[n+48+8>>2],_[c+12>>2]=_[n+48+12>>2],$(s+128|0,s+64|0,s+256|0,s+192|0),b=(y=+p[s+192>>2])*+p[s+256+4>>2],m=y*+p[s+256+8>>2],p[s+16>>2]=+p[s+256>>2]*y,p[s+16+4>>2]=b,p[s+16+8>>2]=m,p[s+16+12>>2]=0,_[s+256>>2]=0,_[s+256+4>>2]=0,_[s+256+8>>2]=0,_[s+256+12>>2]=0,_[s+192+48>>2]=0,_[s+192+48+4>>2]=0,_[s+192+48+8>>2]=0,_[s+192+48+12>>2]=0,Qt(s+128|0,s),A=(m=+p[s>>2])*(2/(m*m+(b=+p[s+4>>2])*b+(y=+p[s+8>>2])*y+(u=+p[s+12>>2])*u)),d=b*(2/(m*m+b*b+y*y+u*u)),f=y*(2/(m*m+b*b+y*y+u*u)),p[s+192>>2]=1-(b*d+y*f),p[s+192+4>>2]=m*d-u*f,p[s+192+8>>2]=m*f+u*d,p[s+192+12>>2]=0,p[s+192+16>>2]=m*d+u*f,p[s+192+20>>2]=1-(m*A+y*f),p[s+192+24>>2]=b*f-u*A,p[s+192+28>>2]=0,p[s+192+32>>2]=m*f-u*d,p[s+192+36>>2]=b*f+u*A,p[s+192+40>>2]=1-(m*A+b*d),p[s+192+44>>2]=0,Lt(e,s+192|0,s+256|0,s+16|0,s+48|0,s+32|0),_[s+256>>2]=6832,_[s+256+36>>2]=_[i>>2],_[s+256+36+4>>2]=_[i+4>>2],_[s+256+36+8>>2]=_[i+8>>2],_[s+256+36+12>>2]=_[i+12>>2],_[s+256+52>>2]=_[i+16>>2],_[s+256+52+4>>2]=_[i+16+4>>2],_[s+256+52+8>>2]=_[i+16+8>>2],_[s+256+52+12>>2]=_[i+16+12>>2],_[s+256+68>>2]=_[i+32>>2],_[s+256+68+4>>2]=_[i+32+4>>2],_[s+256+68+8>>2]=_[i+32+8>>2],_[s+256+68+12>>2]=_[i+32+12>>2],_[(h=s+256+84|0)>>2]=_[i+48>>2],_[h+4>>2]=_[i+48+4>>2],_[h+8>>2]=_[i+48+8>>2],_[h+12>>2]=_[i+48+12>>2],_[s+256+100>>2]=_[n>>2],_[s+256+100+4>>2]=_[n+4>>2],_[s+256+100+8>>2]=_[n+8>>2],_[s+256+100+12>>2]=_[n+12>>2],_[s+256+116>>2]=_[n+16>>2],_[s+256+116+4>>2]=_[n+16+4>>2],_[s+256+116+8>>2]=_[n+16+8>>2],_[s+256+116+12>>2]=_[n+16+12>>2],_[s+256+132>>2]=_[n+32>>2],_[s+256+132+4>>2]=_[n+32+4>>2],_[s+256+132+8>>2]=_[n+32+8>>2],_[s+256+132+12>>2]=_[n+32+12>>2],_[(i=s+256+148|0)>>2]=_[n+48>>2],_[i+4>>2]=_[n+48+4>>2],_[i+8>>2]=_[n+48+8>>2],_[i+12>>2]=_[n+48+12>>2],_[s+256+180>>2]=t,_[s+256+184>>2]=o,p[s+256+188>>2]=r,_[s+256+192>>2]=e,d=+p[i>>2]-+p[h>>2],b=+p[s+256+152>>2]-+p[s+256+88>>2],A=+p[s+256+156>>2]-+p[s+256+92>>2],m=d*(r=1/+l(+(d*d+b*b+A*A)))==0?0xde0b6b000000000:1/(d*r),p[s+256+4>>2]=m,u=b*r==0?0xde0b6b000000000:1/(b*r),p[s+256+8>>2]=u,f=A*r==0?0xde0b6b000000000:1/(A*r),p[s+256+12>>2]=f,_[s+256+20>>2]=m<0&1,_[s+256+24>>2]=u<0&1,_[s+256+28>>2]=f<0&1,p[s+256+32>>2]=A*(A*r)+(d*(d*r)+b*(b*r)),t=0|_[t+68>>2],fd[7&_[24+(0|_[t>>2])>>2]](t,a,c,s+256|0,s+48|0,s+32|0),t=0|_[2606],o=(0|_[t+16>>2])-1|0,_[t+16>>2]=o,0|o)Q=s;else{do{if(0|_[t+4>>2]){if(G(s+256|0,0),h=0|_[6629],p[t+8>>2]=+p[t+8>>2]+ +(((0|_[s+256+4>>2])-(0|_[h+4>>2])+(1e6*((0|_[s+256>>2])-(0|_[h>>2])|0)|0)-(0|_[t+12>>2])|0)>>>0)/1e3,0|_[t+16>>2])return void(Q=s);t=0|_[2606];break}}while(0);_[2606]=_[t+20>>2],Q=s}}function ke(t,e){e|=0;var i,n=0,o=0,r=0,s=0,c=0,a=0,b=0,d=0,A=0,f=0,u=0,m=0,h=0,y=0,g=0;if(f=0|_[192+(t|=0)>>2],i=+Bb[15&_[48+(0|_[f>>2])>>2]](f),(0|(f=0|_[t+712>>2]))>0){c=0;do{A=0|_[t+720>>2],m=+p[(r=A+(104*c|0)+8|0)>>2],u=+p[(s=A+(104*c|0)+12|0)>>2],d=+p[(n=A+(104*c|0)+16|0)>>2],a=m*+p[e>>2]+u*+p[e+4>>2]+d*+p[e+8>>2]+ +p[e+48>>2],b=m*+p[e+16>>2]+u*+p[e+20>>2]+d*+p[e+24>>2]+ +p[e+52>>2],d=m*+p[e+32>>2]+u*+p[e+36>>2]+d*+p[e+40>>2]+ +p[e+56>>2],p[r>>2]=a,p[s>>2]=b,p[n>>2]=d,p[A+(104*c|0)+20>>2]=0,u=+p[(n=A+(104*c|0)+24|0)>>2],m=+p[(s=A+(104*c|0)+28|0)>>2],h=+p[(r=A+(104*c|0)+32|0)>>2],y=u*+p[e+16>>2]+m*+p[e+20>>2]+h*+p[e+24>>2]+ +p[e+52>>2],g=u*+p[e+32>>2]+m*+p[e+36>>2]+h*+p[e+40>>2]+ +p[e+56>>2],p[n>>2]=u*+p[e>>2]+m*+p[e+4>>2]+h*+p[e+8>>2]+ +p[e+48>>2],p[s>>2]=y,p[r>>2]=g,p[A+(104*c|0)+36>>2]=0,g=+p[(r=A+(104*c|0)+72|0)>>2],y=+p[(s=A+(104*c|0)+76|0)>>2],h=+p[(n=A+(104*c|0)+80|0)>>2],m=g*+p[e+16>>2]+y*+p[e+20>>2]+h*+p[e+24>>2],u=g*+p[e+32>>2]+y*+p[e+36>>2]+h*+p[e+40>>2],p[r>>2]=+p[e>>2]*g+ +p[e+4>>2]*y+ +p[e+8>>2]*h,p[s>>2]=m,p[n>>2]=u,p[A+(104*c|0)+84>>2]=0,n=0|Tt(t+928|0,A=0|_[A+(104*c|0)+96>>2]);t:do{if(n){if((0|(s=0|_[t+936>>2]))<=-1){n=0|_[t+928>>2];break}if(s)for(o=0;;){if(o=o+1|0,!(r=0|_[n+32>>2]))break t;if((0|o)>=(0|s)){n=r;break}n=r}}else n=0}while(0);p[A>>2]=a-i,p[A+4>>2]=b-i,p[A+8>>2]=d-i,p[A+12>>2]=0,p[A+16>>2]=i+a,p[A+20>>2]=i+b,p[A+24>>2]=i+d,p[A+28>>2]=0,U(t+928|0,n,A),c=c+1|0}while((0|c)!=(0|f))}if(ht(t),(n=0|_[t+928>>2])?(f=0|_[t+192>>2],h=+Bb[15&_[48+(0|_[f>>2])>>2]](f),g=+p[n+4>>2]-h,y=+p[n+8>>2]-h,p[t+892>>2]=+p[n>>2]-h,p[t+896>>2]=g,p[t+900>>2]=y,p[t+904>>2]=0,y=h+ +p[n+20>>2],g=h+ +p[n+24>>2],p[t+908>>2]=h+ +p[n+16>>2],p[t+912>>2]=y,p[t+916>>2]=g,p[t+920>>2]=0,0|(n=0|_[t+188>>2])&&(f=0|_[t+684>>2],A=0|_[f+32>>2],ld[31&_[16+(0|_[A>>2])>>2]](A,n,t+892|0,t+908|0,0|_[f+36>>2]))):(_[t+892>>2]=0,_[t+892+4>>2]=0,_[t+892+8>>2]=0,_[t+892+12>>2]=0,_[t+892+16>>2]=0,_[t+892+20>>2]=0,_[t+892+24>>2]=0,_[t+892+28>>2]=0),(0|(o=0|_[t+732>>2]))<=0)return _t(t),_[(f=t+1148|0)>>2]=_[e>>2],_[f+4>>2]=_[e+4>>2],_[f+8>>2]=_[e+8>>2],_[f+12>>2]=_[e+12>>2],f=e+16|0,_[(A=t+1164|0)>>2]=_[f>>2],_[A+4>>2]=_[f+4>>2],_[A+8>>2]=_[f+8>>2],_[A+12>>2]=_[f+12>>2],A=e+32|0,_[(f=t+1180|0)>>2]=_[A>>2],_[f+4>>2]=_[A+4>>2],_[f+8>>2]=_[A+8>>2],_[f+12>>2]=_[A+12>>2],f=e+48|0,_[(e=t+1196|0)>>2]=_[f>>2],_[e+4>>2]=_[f+4>>2],_[e+8>>2]=_[f+8>>2],void(_[e+12>>2]=_[f+12>>2]);r=0|_[t+740>>2],n=0;do{A=0|_[r+(52*n|0)+8>>2],f=0|_[r+(52*n|0)+12>>2],h=+p[A+8>>2]-+p[f+8>>2],y=+p[A+12>>2]-+p[f+12>>2],g=+p[A+16>>2]-+p[f+16>>2],g=+l(+(h*h+y*y+g*g)),p[r+(52*n|0)+16>>2]=g,p[r+(52*n|0)+28>>2]=g*g,n=n+1|0}while((0|n)!=(0|o));n=0;do{p[r+(52*n|0)+24>>2]=(+p[88+(0|_[r+(52*n|0)+8>>2])>>2]+ +p[88+(0|_[r+(52*n|0)+12>>2])>>2])/+p[4+(0|_[r+(52*n|0)+4>>2])>>2],n=n+1|0}while((0|n)!=(0|o));_t(t),_[(f=t+1148|0)>>2]=_[e>>2],_[f+4>>2]=_[e+4>>2],_[f+8>>2]=_[e+8>>2],_[f+12>>2]=_[e+12>>2],f=e+16|0,_[(A=t+1164|0)>>2]=_[f>>2],_[A+4>>2]=_[f+4>>2],_[A+8>>2]=_[f+8>>2],_[A+12>>2]=_[f+12>>2],A=e+32|0,_[(f=t+1180|0)>>2]=_[A>>2],_[f+4>>2]=_[A+4>>2],_[f+8>>2]=_[A+8>>2],_[f+12>>2]=_[A+12>>2],f=e+48|0,_[(e=t+1196|0)>>2]=_[f>>2],_[e+4>>2]=_[f+4>>2],_[e+8>>2]=_[f+8>>2],_[e+12>>2]=_[f+12>>2]}function Re(t,e,i){t|=0,i=+i;var n,o=0,r=0,s=0,c=0,a=0,b=0,d=0,l=0;if(n=Q,Q=Q+256|0,(0|(o=0|_[212+(e|=0)>>2]))>-1)return Q=n,0|(e=o);o=(s=!(2&_[e+236>>2]))?0:e;do{if(!s){if(0==+p[o+344>>2]&&!(2&_[o+204>>2]))break;if(s=0|_[t+8>>2],wn(0|n,0,244),t=0|q(t+4|0,n),o=(r=!(2&_[e+236>>2]))?0:e,_[t+64>>2]=0,_[t+64+4>>2]=0,_[t+64+8>>2]=0,_[t+64+12>>2]=0,_[t+64+16>>2]=0,_[t+64+20>>2]=0,_[t+64+24>>2]=0,_[t+64+28>>2]=0,_[t+144>>2]=0,_[t+144+4>>2]=0,_[t+144+8>>2]=0,_[t+144+12>>2]=0,_[t+144+16>>2]=0,_[t+144+20>>2]=0,_[t+144+24>>2]=0,_[t+144+28>>2]=0,r){_[t>>2]=1065353216,_[t+4>>2]=0,_[t+4+4>>2]=0,_[t+4+8>>2]=0,_[t+4+12>>2]=0,_[t+20>>2]=1065353216,_[t+24>>2]=0,_[t+24+4>>2]=0,_[t+24+8>>2]=0,_[t+24+12>>2]=0,_[t+40>>2]=1065353216,_[t+44>>2]=0,_[t+44+4>>2]=0,_[t+44+8>>2]=0,_[t+44+12>>2]=0,_[t+44+16>>2]=0,_[t+240>>2]=0,_[t+128>>2]=0,_[t+128+4>>2]=0,_[t+128+8>>2]=0,_[t+128+12>>2]=0,_[t+96>>2]=1065353216,_[t+100>>2]=1065353216,_[t+104>>2]=1065353216,p[t+108>>2]=0,_[t+112>>2]=1065353216,_[t+116>>2]=1065353216,_[t+120>>2]=1065353216,p[t+124>>2]=0,r=60+(o=t+176|0)|0;do{_[o>>2]=0,o=o+4|0}while((0|o)<(0|r))}else _[t>>2]=_[o+4>>2],_[t+4>>2]=_[o+4+4>>2],_[t+8>>2]=_[o+4+8>>2],_[t+12>>2]=_[o+4+12>>2],_[t+16>>2]=_[o+20>>2],_[t+16+4>>2]=_[o+20+4>>2],_[t+16+8>>2]=_[o+20+8>>2],_[t+16+12>>2]=_[o+20+12>>2],_[t+32>>2]=_[o+36>>2],_[t+32+4>>2]=_[o+36+4>>2],_[t+32+8>>2]=_[o+36+8>>2],_[t+32+12>>2]=_[o+36+12>>2],_[t+48>>2]=_[o+52>>2],_[t+48+4>>2]=_[o+52+4>>2],_[t+48+8>>2]=_[o+52+8>>2],_[t+48+12>>2]=_[o+52+12>>2],d=(l=+p[o+344>>2])*+p[o+352>>2],b=l*+p[o+356>>2],p[t+128>>2]=l*+p[o+348>>2],p[t+132>>2]=d,p[t+136>>2]=b,p[t+140>>2]=0,_[t+240>>2]=o,_[t+96>>2]=_[o+544>>2],_[t+96+4>>2]=_[o+544+4>>2],_[t+96+8>>2]=_[o+544+8>>2],_[t+96+12>>2]=_[o+544+12>>2],_[t+112>>2]=_[o+348>>2],_[t+112+4>>2]=_[o+348+4>>2],_[t+112+8>>2]=_[o+348+8>>2],_[t+112+12>>2]=_[o+348+12>>2],_[t+176>>2]=_[o+312>>2],_[t+176+4>>2]=_[o+312+4>>2],_[t+176+8>>2]=_[o+312+8>>2],_[t+176+12>>2]=_[o+312+12>>2],_[t+192>>2]=_[o+328>>2],_[t+192+4>>2]=_[o+328+4>>2],_[t+192+8>>2]=_[o+328+8>>2],_[t+192+12>>2]=_[o+328+12>>2],d=(b=+p[o+344>>2])*+p[o+416>>2]*i,l=b*+p[o+420>>2]*i,p[t+208>>2]=b*+p[o+412>>2]*i,p[t+212>>2]=d,p[t+216>>2]=l,p[t+220>>2]=0,l=+p[o+428>>2],d=+p[o+432>>2],b=+p[o+436>>2],a=(l*+p[o+268>>2]+d*+p[o+284>>2]+b*+p[o+300>>2])*i,c=(l*+p[o+272>>2]+d*+p[o+288>>2]+b*+p[o+304>>2])*i,p[t+224>>2]=(+p[o+264>>2]*l+ +p[o+280>>2]*d+ +p[o+296>>2]*b)*i,p[t+228>>2]=a,p[t+232>>2]=c;return p[t+236>>2]=0,_[e+212>>2]=s,Q=n,0|(e=s)}}while(0);if((0|(o=0|_[t+188>>2]))>=0)return Q=n,0|(e=o);_[t+188>>2]=_[t+8>>2],wn(0|n,0,244),o=0|q(t+4|0,n),_[o+64>>2]=0,_[o+64+4>>2]=0,_[o+64+8>>2]=0,_[o+64+12>>2]=0,_[o+64+16>>2]=0,_[o+64+20>>2]=0,_[o+64+24>>2]=0,_[o+64+28>>2]=0,_[o+144>>2]=0,_[o+144+4>>2]=0,_[o+144+8>>2]=0,_[o+144+12>>2]=0,_[o+144+16>>2]=0,_[o+144+20>>2]=0,_[o+144+24>>2]=0,_[o+144+28>>2]=0,_[o>>2]=1065353216,_[o+4>>2]=0,_[o+4+4>>2]=0,_[o+4+8>>2]=0,_[o+4+12>>2]=0,_[o+20>>2]=1065353216,_[o+24>>2]=0,_[o+24+4>>2]=0,_[o+24+8>>2]=0,_[o+24+12>>2]=0,_[o+40>>2]=1065353216,_[o+44>>2]=0,_[o+44+4>>2]=0,_[o+44+8>>2]=0,_[o+44+12>>2]=0,_[o+44+16>>2]=0,_[o+240>>2]=0,_[o+128>>2]=0,_[o+128+4>>2]=0,_[o+128+8>>2]=0,_[o+128+12>>2]=0,_[o+96>>2]=1065353216,_[o+100>>2]=1065353216,_[o+104>>2]=1065353216,p[o+108>>2]=0,_[o+112>>2]=1065353216,_[o+116>>2]=1065353216,_[o+120>>2]=1065353216,p[o+124>>2]=0,r=64+(o=o+176|0)|0;do{_[o>>2]=0,o=o+4|0}while((0|o)<(0|r));return e=0|_[t+188>>2],Q=n,0|e}function je(t,e,i){e|=0,i|=0;var o=0,r=0,s=0,c=0,a=0,b=0,d=0,l=0,A=0,f=0,u=0,m=0,h=0;if(0|n[165+(t|=0)|0]){r=0|_[t+88>>2];t:do{if((0|r)>0&i){for(o=0|_[t+96>>2],a=+p[e>>2],b=+p[e+4>>2],d=+p[e+8>>2],l=+p[t+168>>2],i=0;!((h=+p[o+(i<<4)>>2]-a)*h+(m=+p[o+(i<<4)+4>>2]-b)*m+(u=+p[o+(i<<4)+8>>2]-d)*u<=l);)if((0|(i=i+1|0))>=(0|r))break t;return 0|i}}while(0);if(f=12+(0|_[t+32>>2])|0,_[f>>2]=1+(0|_[f>>2]),(0|r)==(0|_[t+92>>2])&&(0|r)<(0|(s=0|r?r<<1:1))){if(s?(_[6630]=1+(0|_[6630]),(i=0|di(16+(s<<4|3)|0))?(_[(i+4+15&-16)-4>>2]=i,i=i+4+15&-16):i=0,r=0|_[t+88>>2]):i=0,(0|r)>0){o=0;do{f=i+(o<<4)|0,A=(0|_[t+96>>2])+(o<<4)|0,_[f>>2]=_[A>>2],_[f+4>>2]=_[A+4>>2],_[f+8>>2]=_[A+8>>2],_[f+12>>2]=_[A+12>>2],o=o+1|0}while((0|o)!=(0|r))}0|(o=0|_[t+96>>2])&&(0|n[t+100|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[o+-4>>2])),_[t+96>>2]=0),n[t+100|0]=1,_[t+96>>2]=i,_[t+92>>2]=s,i=0|_[t+88>>2]}else i=r;return f=(0|_[t+96>>2])+(i<<4)|0,_[f>>2]=_[e>>2],_[f+4>>2]=_[e+4>>2],_[f+8>>2]=_[e+8>>2],_[f+12>>2]=_[e+12>>2],e=0|_[t+88>>2],_[t+88>>2]=e+1,_[16+(0|_[t+32>>2])>>2]=_[t+96>>2],0|e}c=0|_[t+108>>2];t:do{if((0|c)>0&i){for(o=0|_[t+116>>2],a=+p[e>>2],b=+p[e+4>>2],d=+p[e+8>>2],l=+p[t+168>>2],i=0;r=i+3|0,!((u=+p[o+(i<<2)>>2]-a)*u+(m=+p[o+(i+1<<2)>>2]-b)*m+(h=+p[o+(i+2<<2)>>2]-d)*h<=l);){if(!((0|r)<(0|c)))break t;i=r}return 0|(e=(i>>>0)/3|0)}}while(0);if((0|c)==(0|(i=0|_[t+112>>2])))if((0|c)<(0|(i=0|c?c<<1:1))){if(i?(_[6630]=1+(0|_[6630]),(o=0|di(16+(i<<2|3)|0))?(_[(o+4+15&-16)-4>>2]=o,o=o+4+15&-16):o=0,c=0|_[t+108>>2]):o=0,s=0|_[t+116>>2],(0|c)<=0)s?f=36:(s=t+120|0,r=c);else{r=0;do{_[o+(r<<2)>>2]=_[s+(r<<2)>>2],r=r+1|0}while((0|r)!=(0|c));f=36}36==(0|f)&&(0|n[t+120|0]?(_[6631]=1+(0|_[6631]),Li(0|_[s+-4>>2]),r=0|_[t+108>>2]):r=c,_[t+116>>2]=0,s=t+120|0),n[0|s]=1,_[t+116>>2]=o,_[t+112>>2]=i}else r=c,i=c;else r=c;if(c=0|_[t+116>>2],_[c+(r<<2)>>2]=_[e>>2],o=r+1|0,_[t+108>>2]=o,(0|o)==(0|i))if((0|i)<(0|(A=0|i?i<<1:1))){if(A?(_[6630]=1+(0|_[6630]),(i=0|di(16+(A<<2|3)|0))?(_[(i+4+15&-16)-4>>2]=i,i=i+4+15&-16):i=0,s=i,i=0|_[t+108>>2],r=0|_[t+116>>2]):(s=0,r=c),(0|i)<=0)r?f=51:o=t+120|0;else{o=0;do{_[s+(o<<2)>>2]=_[r+(o<<2)>>2],o=o+1|0}while((0|o)!=(0|i));f=51}51==(0|f)&&(0|n[t+120|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[r+-4>>2]),i=0|_[t+108>>2]),_[t+116>>2]=0,o=t+120|0),n[0|o]=1,_[t+116>>2]=s,_[t+112>>2]=A,o=i,i=A}else s=c,o=i;else s=c;if(_[s+(o<<2)>>2]=_[e+4>>2],o=o+1|0,_[t+108>>2]=o,(0|o)==(0|i))if((0|i)<(0|(c=0|i?i<<1:1))){if(c?(_[6630]=1+(0|_[6630]),(i=0|di(16+(c<<2|3)|0))?(_[(i+4+15&-16)-4>>2]=i,i=i+4+15&-16):i=0,r=i,i=0|_[t+108>>2],s=0|_[t+116>>2]):r=0,(0|i)<=0)s?f=66:o=t+120|0;else{o=0;do{_[r+(o<<2)>>2]=_[s+(o<<2)>>2],o=o+1|0}while((0|o)!=(0|i));f=66}66==(0|f)&&(0|n[t+120|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[s+-4>>2]),i=0|_[t+108>>2]),_[t+116>>2]=0,o=t+120|0),n[0|o]=1,_[t+116>>2]=r,_[t+112>>2]=c}else r=s;else r=s,i=o;return _[r+(i<<2)>>2]=_[e+8>>2],e=i+1|0,_[t+108>>2]=e,t=0|_[t+32>>2],_[t+12>>2]=1+(0|_[t+12>>2]),_[t+16>>2]=r,0|(e=((0|e)/3|0)-1|0)}function De(t,e){t|=0,e|=0;var i,n,o=0,r=0,s=0,c=0,a=0,b=0,d=0,l=0,A=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0;if(n=Q,Q=Q+16|0,$i(13461),(0|(i=0|_[t+712>>2]))>0?(_[6630]=1+(0|_[6630]),(o=0|di(16+(i<<4|3)|0))?(_[(o+4+15&-16)-4>>2]=o,c=o+4+15&-16):c=0,wn(0|c,0,i<<4),(0|(s=0|_[t+712>>2]))>0?(_[6630]=1+(0|_[6630]),(o=0|di(16+(s<<2|3)|0))?(_[(o+4+15&-16)-4>>2]=o,o=o+4+15&-16):o=0,wn(0|o,0,s<<2),B=o,W=c,D=o,j=c):(B=0,W=c,D=0,j=c)):(B=0,W=0,D=0,j=0),R=0|_[t+1112>>2],e){if((0|R)>0){s=0|_[t+1120>>2],o=0;do{c=0|_[s+(o<<2)>>2],0|(a=0|_[c+312>>2])&&(p[c+276>>2]=1/+(0|a)*+p[c+276>>2],p[c+280>>2]=1/+(0|a)*+p[c+280>>2],p[c+284>>2]=1/+(0|a)*+p[c+284>>2],p[c+292>>2]=1/+(0|a)*+p[c+292>>2],p[c+296>>2]=1/+(0|a)*+p[c+296>>2],p[c+300>>2]=1/+(0|a)*+p[c+300>>2]),o=o+1|0}while((0|o)!=(0|R));I=14}}else I=14;if(14==(0|I)&&(0|R)>0)if(d=0|_[t+1120>>2],e){s=0;do{if(e=0|_[d+(s<<2)>>2],(0|_[e+312>>2])>0&&(w=+p[t+452>>2],y=+p[e+276>>2]*w,g=w*+p[e+280>>2],C=w*+p[e+284>>2],v=w*+p[e+292>>2],S=w*+p[e+296>>2],w*=+p[e+300>>2],(0|(k=0|_[e+24>>2]))>0)){b=0|_[e+32>>2],c=0|_[t+720>>2],a=0|_[e+12>>2],o=0;do{h=0|_[b+(o<<2)>>2],m=+p[a+(o<<2)>>2],u=+p[h+8>>2]-+p[e+228>>2],f=+p[h+12>>2]-+p[e+232>>2],A=+p[h+16>>2]-+p[e+236>>2],p[(F=W+((h-c|0)/104<<4)|0)>>2]=+p[F>>2]+m*(y+(S*A-w*f)),p[(F=W+((h-c|0)/104<<4)+4|0)>>2]=+p[F>>2]+m*(g+(w*u-v*A)),p[(F=W+((h-c|0)/104<<4)+8|0)>>2]=m*(C+(v*f-S*u))+ +p[F>>2],p[(h=B+((h-c|0)/104<<2)|0)>>2]=m+ +p[h>>2],o=o+1|0}while((0|o)!=(0|k))}s=s+1|0}while((0|s)!=(0|R))}else{s=0;do{if(c=0|_[d+(s<<2)>>2],(0|_[c+308>>2])>0&&(m=+p[t+452>>2],r=+p[c+244>>2]*m,l=m*+p[c+248>>2],A=m*+p[c+252>>2],f=m*+p[c+260>>2],u=m*+p[c+264>>2],m*=+p[c+268>>2],(0|(h=0|_[c+24>>2]))>0)){a=0|_[c+32>>2],e=0|_[t+720>>2],b=0|_[c+12>>2],o=0;do{F=0|_[a+(o<<2)>>2],w=+p[b+(o<<2)>>2],S=+p[F+8>>2]-+p[c+228>>2],v=+p[F+12>>2]-+p[c+232>>2],C=+p[F+16>>2]-+p[c+236>>2],p[(k=W+((F-e|0)/104<<4)|0)>>2]=+p[k>>2]+w*(r+(u*C-m*v)),p[(k=W+((F-e|0)/104<<4)+4|0)>>2]=+p[k>>2]+w*(l+(m*S-f*C)),p[(k=W+((F-e|0)/104<<4)+8|0)>>2]=w*(A+(f*v-u*S))+ +p[k>>2],p[(F=B+((F-e|0)/104<<2)|0)>>2]=w+ +p[F>>2],o=o+1|0}while((0|o)!=(0|h))}s=s+1|0}while((0|s)!=(0|R))}if((0|i)>0){o=0;do{(r=+p[B+(o<<2)>>2])>0&&(S=1/r*+p[W+(o<<4)+4>>2],w=1/r*+p[W+(o<<4)+8>>2],F=0|_[t+720>>2],p[(R=F+(104*o|0)+8|0)>>2]=1/r*+p[W+(o<<4)>>2]+ +p[R>>2],p[(R=F+(104*o|0)+12|0)>>2]=S+ +p[R>>2],p[(F=F+(104*o|0)+16|0)>>2]=w+ +p[F>>2]),o=o+1|0}while((0|o)!=(0|i));0|D&&(I=35)}else!(0|B)|!(0|D)||(I=35);if(35==(0|I)&&(_[6631]=1+(0|_[6631]),Li(0|_[D+-4>>2])),!(0|W)|!(0|j)||(_[6631]=1+(0|_[6631]),Li(0|_[j+-4>>2])),o=0|_[2606],F=(0|_[o+16>>2])-1|0,_[o+16>>2]=F,0|F)Q=n;else{do{if(0|_[o+4>>2]){if(G(0|n,0),F=0|_[6629],p[o+8>>2]=+p[o+8>>2]+ +(((0|_[n+4>>2])-(0|_[F+4>>2])+(1e6*((0|_[n>>2])-(0|_[F>>2])|0)|0)-(0|_[o+12>>2])|0)>>>0)/1e3,0|_[o+16>>2])return void(Q=n);o=0|_[2606];break}}while(0);_[2606]=_[o+20>>2],Q=n}}function Ie(t,e,i,o,r,s){t|=0,e|=0,o|=0,r|=0,s|=0;var c,b,d,A,f,u,m,h,y,g=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0;if(y=Q,Q=Q+272|0,u=+p[48+(i|=0)>>2]-+p[e+48>>2],m=+p[i+52>>2]-+p[e+52>>2],h=+p[i+56>>2]-+p[e+56>>2],$(e,i,y+256|0,y+208|0),D=+p[y+208>>2],c=+p[y+256>>2]*D,b=D*+p[y+256+4>>2],D*=+p[y+256+8>>2],p[y+192>>2]=c,p[y+192+4>>2]=b,p[y+192+8>>2]=D,p[y+192+12>>2]=0,d=+p[r+48>>2]-+p[o+48>>2],A=+p[r+52>>2]-+p[o+52>>2],f=+p[r+56>>2]-+p[o+56>>2],$(o,r,y+256|0,y+208|0),R=+p[y+208>>2],w=+p[y+256>>2]*R,k=R*+p[y+256+4>>2],R*=+p[y+256+8>>2],p[y+176>>2]=w,p[y+176+4>>2]=k,p[y+176+8>>2]=R,p[y+176+12>>2]=0,i=0|_[t+12>>2],j=+Bb[15&_[16+(0|_[i>>2])>>2]](i),C=(i=0|_[t+16>>2])?+Bb[15&_[16+(0|_[i>>2])>>2]](i):0,(j=j*+l(+(c*c+b*b+D*D))+C*+l(+(w*w+k*k+R*R)))+ +l(+((d-u)*(d-u)+(A-m)*(A-m)+(f-h)*(f-h)))==0)return Q=y,0|(s=0);_[y+208>>2]=10156,p[y+208+36>>2]=0xde0b6b000000000,n[y+208+40|0]=0,ve(t,e,o,y+208|0),r=!(0|n[y+208+40|0]),_[y+256>>2]=_[y+208+20>>2],_[y+256+4>>2]=_[y+208+20+4>>2],_[y+256+8>>2]=_[y+208+20+8>>2],_[y+256+12>>2]=_[y+208+20+12>>2];t:do{if(r||(S=0|_[y+208+4>>2],g=0|_[y+208+8>>2],v=0|_[y+208+12>>2],D=(d-u)*(_[a>>2]=S,+p[a>>2]),D+=(A-m)*(_[a>>2]=g,+p[a>>2]),j+(D+(f-h)*(_[a>>2]=v,+p[a>>2]))<=1.1920928955078125e-7))g=0;else{C=+p[y+208+16>>2],w=+p[s+172>>2]+ +p[y+208+36>>2];e:do{if(w>.0010000000474974513){for(r=0,k=0,R=w;;){if(0|(i=0|_[s+168>>2])&&(I=0|_[20+(0|_[i>>2])>>2],_[y+112>>2]=1065353216,_[y+112+4>>2]=1065353216,_[y+112+8>>2]=1065353216,p[y+112+12>>2]=0,od[7&I](i,y+256|0,.20000000298023224,y+112|0)),C=(d-u)*(_[a>>2]=S,+p[a>>2]),(C=j+((C+=(A-m)*(_[a>>2]=g,+p[a>>2]))+(f-h)*(_[a>>2]=v,+p[a>>2])))<=1.1920928955078125e-7){g=0;break t}if(!(!((w=k+R/C)<=k)&!(w<0)&!(w>1))){g=0;break t}if(Bt(e,u,m,h,y+192|0,w,y+112|0),Bt(o,d,A,f,y+176|0,w,y+48|0),0|(g=0|_[s+168>>2])&&(I=0|_[20+(0|_[g>>2])>>2],_[y>>2]=1065353216,_[y+4>>2]=0,_[y+8>>2]=0,p[y+12>>2]=0,od[7&I](g,y+112+48|0,.20000000298023224,y)),Kb[31&_[_[s>>2]>>2]](s,w),_[y>>2]=10156,p[y+36>>2]=0xde0b6b000000000,n[y+40|0]=0,ve(t,y+112|0,y+48|0,y),!(0|n[y+40|0])){g=17;break}if(R=+p[y+36>>2]+ +p[s+172>>2],_[y+256>>2]=_[y+20>>2],_[y+256+4>>2]=_[y+20+4>>2],_[y+256+8>>2]=_[y+20+8>>2],_[y+256+12>>2]=_[y+20+12>>2],S=0|_[y+4>>2],g=0|_[y+8>>2],v=0|_[y+12>>2],i=r+1|0,r>>>0>63){g=18;break}if(!(R>.0010000000474974513)){C=+p[y+16>>2];break e}r=i,k=w}17==(0|g)?rd[127&_[8+(0|_[s>>2])>>2]](s,-1,r):18==(0|g)&&rd[127&_[8+(0|_[s>>2])>>2]](s,-2,i),g=0;break t}w=0}while(0);p[s+164>>2]=w,_[s+132>>2]=S,_[s+136>>2]=g,_[s+140>>2]=v,p[s+144>>2]=C,_[s+148>>2]=_[y+256>>2],_[s+148+4>>2]=_[y+256+4>>2],_[s+148+8>>2]=_[y+256+8>>2],_[s+148+12>>2]=_[y+256+12>>2],g=1}}while(0);return Q=y,0|(I=g)}function Be(t,e,i,n,o){t|=0,i|=0,n|=0,o|=0;var r,s=0,c=0,a=0,b=0,d=0,A=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0,W=0;if(r=Q,Q=Q+32|0,j=+p[48+(e|=0)>>2]-+p[e+112>>2],s=+p[e+52>>2]-+p[e+116>>2],B=+p[e+56>>2]-+p[e+120>>2],D=j*+p[e+64>>2]+s*+p[e+80>>2]+B*+p[e+96>>2],I=j*+p[e+68>>2]+s*+p[e+84>>2]+B*+p[e+100>>2],B=j*+p[e+72>>2]+s*+p[e+88>>2]+B*+p[e+104>>2],n=0|_[t+8>>2],R=0|_[t+4>>2],j=(s=+p[R+28>>2]*+p[R+12>>2])+ +p[t+12>>2],u=+p[n+72>>2],m=+p[n+56>>2],h=+p[n+76>>2],y=+p[n+60>>2],g=+p[n+80>>2],C=+p[n+64>>2],v=+p[n+88>>2],S=+p[n+92>>2],w=+p[n+96>>2],(c=(f=(u-m)*(S-y)-(h-y)*(v-m))*(A=1/+l(+(f*f+((a=(h-y)*(w-C)-(g-C)*(S-y))*a+(d=(g-C)*(v-m)-(u-m)*(w-C))*d))))*(B-C)+(a*A*(D-m)+d*A*(I-y)))<0?(k=-c,b=-a*A,c=-d*A,a=-f*A):(k=c,b=a*A,c=d*A,a=f*A),k<j){if(f=(B-C)*(c*(u-m)-b*(h-y))+((D-m)*(a*(h-y)-c*(g-C))+(I-y)*(b*(g-C)-a*(u-m))),g=(B-g)*(c*(v-u)-b*(S-h))+((D-u)*(a*(S-h)-c*(w-g))+(I-h)*(b*(w-g)-a*(v-u))),(w=(B-w)*(c*(m-v)-b*(y-S))+((D-v)*(a*(y-S)-c*(C-w))+(I-S)*(b*(C-w)-a*(m-v))))>0&f>0&g>0|w<=0&f<=0&g<=0)u=j*j,y=D-k*b,h=B-k*a,m=I-k*c;else{if((0|Lb[127&_[100+(0|_[n>>2])>>2]](n))<=0)return void(Q=r);n=0,R=0,y=0,h=0,m=0;do{W=0|_[t+8>>2],cd[127&_[104+(0|_[W>>2])>>2]](W,R,r+16|0,r),u=+p[r+16>>2],w=+p[r+16+4>>2],C=+p[r+16+8>>2],g=+p[r>>2]-u,k=+p[r+4>>2]-w,v=+p[r+8>>2]-C;do{if((D-u)*g+(I-w)*k+(B-C)*v>0){if((D-u)*g+(I-w)*k+(B-C)*v<g*g+k*k+v*v){S=f=((D-u)*g+(I-w)*k+(B-C)*v)/(g*g+k*k+v*v),d=D-u-g*f,A=I-w-k*f,f=B-C-v*f;break}S=1,d=D-u-g,A=I-w-k,f=B-C-v;break}S=0,d=D-u,A=I-w,f=B-C}while(0);d*d+A*A+f*f<j*j&&(n=1,y=u+g*S,h=C+v*S,m=w+k*S),R=R+1|0,W=0|_[t+8>>2]}while((0|R)<(0|Lb[127&_[100+(0|_[W>>2])>>2]](W)));if(!(1&n))return void(Q=r);u=j*j}if((A=D-y)*A+(f=I-m)*f+(d=B-h)*d<u)return A*A+f*f+d*d>1.1920928955078125e-7&&(s-=c=+l(+(A*A+f*f+d*d)),b=A*(1/c),a=d*(1/c),c=f*(1/c)),s=-s,o?(D=(w=+p[e+64>>2])*b+(k=+p[e+68>>2])*c+(j=+p[e+72>>2])*a,I=b*(f=+p[e+80>>2])+c*(u=+p[e+84>>2])+a*(g=+p[e+88>>2]),B=b*(C=+p[e+96>>2])+c*(v=+p[e+100>>2])+a*(S=+p[e+104>>2]),p[r+16>>2]=-D,p[r+16+4>>2]=-I,p[r+16+8>>2]=-B,p[r+16+12>>2]=0,I=y*f+m*u+h*g+ +p[e+116>>2]+I*s,B=y*C+m*v+h*S+ +p[e+120>>2]+B*s,p[r>>2]=y*w+m*k+h*j+ +p[e+112>>2]+D*s,p[r+4>>2]=I,p[r+8>>2]=B,p[r+12>>2]=0,sd[15&_[16+(0|_[i>>2])>>2]](i,r+16|0,r,s),void(Q=r)):(W=0|_[16+(0|_[i>>2])>>2],k=+p[e+64>>2],j=+p[e+68>>2],D=+p[e+72>>2],C=+p[e+80>>2],v=+p[e+84>>2],I=+p[e+88>>2],S=+p[e+96>>2],w=+p[e+100>>2],B=+p[e+104>>2],p[r+16>>2]=k*b+j*c+D*a,p[r+16+4>>2]=b*C+c*v+a*I,p[r+16+8>>2]=b*S+c*w+a*B,p[r+16+12>>2]=0,I=y*C+m*v+h*I+ +p[e+116>>2],B=y*S+m*w+h*B+ +p[e+120>>2],p[r>>2]=y*k+m*j+h*D+ +p[e+112>>2],p[r+4>>2]=I,p[r+8>>2]=B,p[r+12>>2]=0,sd[15&W](i,r+16|0,r,s),void(Q=r));Q=r}else Q=r}function We(t,e){e|=0;var i=0,o=0,r=0,s=0,c=0,a=0,b=0,d=0;if(_[(t|=0)>>2]=6120,_[6630]=1+(0|_[6630]),(i=0|di(379))?(_[(i+4+15&-16)-4>>2]=i,i=i+4+15&-16):i=0,p[i+308>>2]=9999999747378752e-20,n[0|(b=i+332|0)]=-16&n[0|b],_[t+24>>2]=i,b=!(0|_[e+20>>2]),_[6630]=1+(0|_[6630]),i=0|di(23),_[(i+4+15&-16)-4>>2]=i,_[(i+4+15&-16)>>2]=b?10068:10116,_[t+28>>2]=i+4+15&-16,_[6630]=1+(0|_[6630]),(i=0|di(43))?(_[(i+4+15&-16)-4>>2]=i,i=i+4+15&-16):i=0,a=0|_[t+24>>2],b=0|_[t+28>>2],n[i+4|0]=0,_[i>>2]=6928,_[i+16>>2]=0,_[i+20>>2]=3,_[i+12>>2]=a,_[i+8>>2]=b,_[t+32>>2]=i,_[6630]=1+(0|_[6630]),(i=0|di(27))?(_[(i+4+15&-16)-4>>2]=i,i=i+4+15&-16):i=0,n[i+4|0]=0,_[i>>2]=6152,_[t+36>>2]=i,_[6630]=1+(0|_[6630]),(i=0|di(27))?(_[(i+4+15&-16)-4>>2]=i,i=i+4+15&-16):i=0,n[i+4|0]=0,_[i>>2]=6172,_[t+40>>2]=i,_[6630]=1+(0|_[6630]),(i=0|di(27))?(_[(i+4+15&-16)-4>>2]=i,i=i+4+15&-16):i=0,n[i+4|0]=0,_[i>>2]=6192,_[t+44>>2]=i,_[6630]=1+(0|_[6630]),(i=0|di(27))?(_[(i+4+15&-16)-4>>2]=i,i=i+4+15&-16):i=0,n[i+4|0]=0,_[i>>2]=6212,_[t+48>>2]=i,_[6630]=1+(0|_[6630]),(i=0|di(27))?(_[(i+4+15&-16)-4>>2]=i,i=i+4+15&-16):i=0,n[i+4|0]=0,_[i>>2]=6232,_[t+52>>2]=i,_[6630]=1+(0|_[6630]),(i=0|di(27))?(_[(i+4+15&-16)-4>>2]=i,i=i+4+15&-16):i=0,n[i+4|0]=0,_[i>>2]=6252,_[t+56>>2]=i,_[6630]=1+(0|_[6630]),(i=0|di(27))?(_[(i+4+15&-16)-4>>2]=i,i=i+4+15&-16):i=0,n[i+4|0]=0,_[i>>2]=6272,_[t+60>>2]=i,_[6630]=1+(0|_[6630]),(i=0|di(27))?(_[(i+4+15&-16)-4>>2]=i,i=i+4+15&-16):i=0,n[i+4|0]=0,_[i>>2]=6292,_[t+76>>2]=i,_[6630]=1+(0|_[6630]),(i=0|di(27))?(_[(i+4+15&-16)-4>>2]=i,i=i+4+15&-16):i=0,_[i>>2]=6292,_[t+80>>2]=i,n[i+4|0]=1,_[6630]=1+(0|_[6630]),(i=0|di(27))?(_[(i+4+15&-16)-4>>2]=i,i=i+4+15&-16):i=0,n[i+4|0]=0,_[i>>2]=6312,_[t+72>>2]=i,_[6630]=1+(0|_[6630]),(i=0|di(35))?(_[(i+4+15&-16)-4>>2]=i,i=i+4+15&-16):i=0,n[i+4|0]=0,_[i>>2]=6332,_[i+8>>2]=1,_[i+12>>2]=0,_[t+88>>2]=i,_[6630]=1+(0|_[6630]),(i=0|di(35))?(_[(i+4+15&-16)-4>>2]=i,i=i+4+15&-16):i=0,_[i>>2]=6332,_[i+8>>2]=1,_[i+12>>2]=0,_[t+84>>2]=i,n[i+4|0]=1,b=(0|(b=0|_[e+16>>2]))>80?b:80,i=0|_[e>>2])n[t+12|0]=0,_[t+8>>2]=i;else{if(n[t+12|0]=1,_[6630]=1+(0|_[6630]),(i=0|di(39))?(_[(i+4+15&-16)-4>>2]=i,a=i+4+15&-16):a=0,i=0|_[e+8>>2],_[a>>2]=772,_[(o=a+4|0)>>2]=i,_[6630]=1+(0|_[6630]),(i=0|di(16+(772*i|3)|0))?(_[(i+4+15&-16)-4>>2]=i,i=i+4+15&-16):i=0,_[a+16>>2]=i,_[a+12>>2]=i,r=0|_[o>>2],_[a+8>>2]=r,r+-1|0){s=0|_[a>>2],o=i,c=r+-1|0;do{d=o,o=o+s|0,_[d>>2]=o,c=c+-1|0}while(0|c);i=i+(0|g(s,r+-1|0))|0}_[i>>2]=0,_[t+8>>2]=a}if(0|(i=0|_[e+4>>2]))return n[t+20|0]=0,void(_[t+16>>2]=i);if(n[t+20|0]=1,_[6630]=1+(0|_[6630]),(i=0|di(39))?(_[(i+4+15&-16)-4>>2]=i,a=i+4+15&-16):a=0,i=0|_[e+12>>2],_[a>>2]=b,_[(o=a+4|0)>>2]=i,i=0|g(i,b),_[6630]=1+(0|_[6630]),(i=0|di(i+19|0))?(_[(i+4+15&-16)-4>>2]=i,i=i+4+15&-16):i=0,_[a+16>>2]=i,_[a+12>>2]=i,r=0|_[o>>2],_[a+8>>2]=r,r+-1|0){s=0|_[a>>2],o=i,c=r+-1|0;do{d=o,o=o+s|0,_[d>>2]=o,c=c+-1|0}while(0|c);i=i+(0|g(s,r+-1|0))|0}_[i>>2]=0,_[t+16>>2]=a}function Fe(t,e,i,o){t|=0,e|=0,i|=0,o|=0;var r,s,c,a,b,d,l,A,f,u,m,h,y,g,C,v,S,w,k,R,j,D,I,B=0,W=0;s=Q,Q=Q+16|0,!(0|n[24496])&&0|Qs(24496)&&(_[s>>2]=0,_[s+4>>2]=0,_[s+8>>2]=0,_[s+12>>2]=0,ut(25184,0,0,0,s)),_[6347]=1|_[6347],p[6382]=0,B=0*+p[6392],W=0*+p[6393],p[6387]=0*+p[6391],p[6388]=B,p[6389]=W,p[6390]=0,_[6395]=0,_[6396]=0,_[6397]=0,_[6398]=0,W=0*+p[6384],B=0*+p[6385],p[6436]=0*+p[6383],p[6437]=W,p[6438]=B,p[6439]=0,_[t+4>>2]=6,_[t+8>>2]=-1,_[t+12>>2]=-1,p[t+16>>2]=34028234663852886e22,n[t+20|0]=1,n[t+21|0]=0,_[t+24>>2]=-1,_[t+28>>2]=25184,_[t+32>>2]=e,p[t+36>>2]=0,p[t+40>>2]=.30000001192092896,_[t+44>>2]=0,_[t>>2]=5276,_[t+112>>2]=_[i>>2],_[t+112+4>>2]=_[i+4>>2],_[t+112+8>>2]=_[i+8>>2],_[t+112+12>>2]=_[i+12>>2],_[t+128>>2]=_[i+16>>2],_[t+128+4>>2]=_[i+16+4>>2],_[t+128+8>>2]=_[i+16+8>>2],_[t+128+12>>2]=_[i+16+12>>2],_[t+144>>2]=_[i+32>>2],_[t+144+4>>2]=_[i+32+4>>2],_[t+144+8>>2]=_[i+32+8>>2],_[t+144+12>>2]=_[i+32+12>>2],_[t+160>>2]=_[i+48>>2],_[t+160+4>>2]=_[i+48+4>>2],_[t+160+8>>2]=_[i+48+8>>2],_[t+160+12>>2]=_[i+48+12>>2],r=48+(i=t+680|0)|0;do{_[i>>2]=0,i=i+4|0}while((0|i)<(0|r));_[t+740>>2]=0,_[t+740+4>>2]=0,_[t+740+8>>2]=0,_[t+740+12>>2]=0,_[t+756>>2]=1045220557,_[t+760>>2]=1045220557,_[t+764>>2]=1045220557,_[t+768>>2]=0,_[t+768+4>>2]=0,_[t+768+8>>2]=0,_[t+768+12>>2]=0,_[t+768+16>>2]=0,p[t+728>>2]=.699999988079071,p[t+732>>2]=1,p[t+736>>2]=.5,n[t+788|0]=0,n[t+788+1|0]=0,n[t+788+2|0]=0,_[t+792>>2]=0,_[t+792+4>>2]=0,_[t+792+8>>2]=0,_[t+808>>2]=0,_[t+808+4>>2]=0,_[t+808+8>>2]=0,p[t+928>>2]=0,p[t+876>>2]=0,p[t+880>>2]=.10000000149011612,p[t+884>>2]=300,p[t+868>>2]=1,p[t+872>>2]=-1,p[t+896>>2]=0,p[t+900>>2]=.20000000298023224,p[t+904>>2]=0,p[t+908>>2]=0,p[t+888>>2]=1,p[t+892>>2]=.5,_[t+924>>2]=0,p[t+916>>2]=0,n[t+912|0]=0,p[t+992>>2]=0,p[t+940>>2]=0,p[t+944>>2]=.10000000149011612,p[t+948>>2]=300,p[t+932>>2]=1,p[t+936>>2]=-1,p[t+960>>2]=0,p[t+964>>2]=.20000000298023224,p[t+968>>2]=0,p[t+972>>2]=0,p[t+952>>2]=1,p[t+956>>2]=.5,_[t+988>>2]=0,p[t+980>>2]=0,n[t+976|0]=0,p[t+1056>>2]=0,p[t+1004>>2]=0,p[t+1008>>2]=.10000000149011612,p[t+1012>>2]=300,p[t+996>>2]=1,p[t+1e3>>2]=-1,p[t+1024>>2]=0,p[t+1028>>2]=.20000000298023224,p[t+1032>>2]=0,p[t+1036>>2]=0,p[t+1016>>2]=1,p[t+1020>>2]=.5,_[t+1052>>2]=0,p[t+1044>>2]=0,n[t+1040|0]=0,n[t+1300|0]=1&o,n[t+1301|0]=1,_[t+1304>>2]=0,n[t+1308|0]=0,C=+p[t+112>>2],j=+p[e+4>>2],g=+p[t+128>>2],R=+p[e+8>>2],y=+p[t+144>>2],k=+p[e+12>>2],h=+p[t+116>>2],m=+p[t+132>>2],u=+p[t+148>>2],f=+p[t+120>>2],l=+p[t+136>>2],b=+p[t+152>>2],w=+p[e+20>>2],S=+p[e+24>>2],v=+p[e+28>>2],A=+p[e+36>>2],d=+p[e+40>>2],a=+p[e+44>>2],I=+p[t+160>>2],D=+p[t+164>>2],W=+p[t+168>>2],c=+p[e+52>>2]+(j*I+R*D+k*W),B=w*I+S*D+v*W+ +p[e+56>>2],W=A*I+d*D+a*W+ +p[e+60>>2],p[t+48>>2]=C*j+g*R+y*k,p[t+52>>2]=j*h+R*m+k*u,p[t+56>>2]=j*f+R*l+k*b,p[t+60>>2]=0,p[t+64>>2]=C*w+g*S+y*v,p[t+68>>2]=h*w+m*S+u*v,p[t+72>>2]=f*w+l*S+b*v,p[t+76>>2]=0,p[t+80>>2]=C*A+g*d+y*a,p[t+84>>2]=h*A+m*d+u*a,p[t+88>>2]=f*A+l*d+b*a,p[t+92>>2]=0,p[t+96>>2]=c,p[t+100>>2]=B,p[t+104>>2]=W,p[t+108>>2]=0,Pi(t,4+(0|_[t+28>>2])|0,4+(0|_[t+32>>2])|0),Q=s}function Oe(t,e){e|=0;var i,o=0,r=0,s=0,c=0,a=0,b=0,d=0,l=0,A=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0;if(i=Q,Q=Q+96|0,h=0|_[12+(t|=0)>>2],cd[127&_[8+(0|_[h>>2])>>2]](h,4+(0|_[t+8>>2])|0,i+80|0,i+64|0),h=0|_[e+68>>2],ld[31&_[16+(0|_[h>>2])>>2]](h,0|_[188+(0|_[t+8>>2])>>2],i+80|0,i+64|0,0|_[e+24>>2]),h=0|_[e+24>>2],cd[127&_[32+(0|_[h>>2])>>2]](h,0|_[284+(0|_[t+8>>2])>>2],e+28|0,h),h=0|_[t+8>>2],_[t+92>>2]=_[h+52>>2],_[t+92+4>>2]=_[h+52+4>>2],_[t+92+8>>2]=_[h+52+8>>2],_[t+92+12>>2]=_[h+52+12>>2],h=0|_[h+284>>2],(0|Lb[127&_[36+(0|_[h>>2])>>2]](h))>0){e=0,r=0,h=0;do{if((0|(o=0|_[t+132>>2]))<0){(0|_[t+136>>2])<0&&(0|(s=0|_[t+140>>2])&&(0|n[t+144|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[s+-4>>2])),_[t+140>>2]=0),n[t+144|0]=1,_[t+140>>2]=0,_[t+136>>2]=0);do{_[(0|_[t+140>>2])+(o<<2)>>2]=0,o=o+1|0}while(0|o)}_[t+132>>2]=0,o=0|_[284+(0|_[t+8>>2])>>2],o=12+(0|Lb[127&_[28+(0|_[o>>2])>>2]](o))|0,o=0|_[o>>2],m=0|_[_[o+(h<<4)>>2]>>2],s=0|_[_[o+(h<<4)+4>>2]>>2],0|m&&4&_[m+204>>2]||(y=15);do{if(15==(0|y)){if(y=0,0|s&&4&_[s+204>>2])break;if(0|(o=0|_[o+(h<<4)+8>>2])&&id[127&_[16+(0|_[o>>2])>>2]](o,t+128|0),(0|(m=0|_[t+132>>2]))>0){f=0|_[t+140>>2],u=0|_[t+8>>2],A=0;do{if(d=0|_[f+(A<<2)>>2],l=(0|_[d+740>>2])==(0|u)?-1:1,(0|(o=0|_[d+748>>2]))>0){b=0;do{(a=+p[d+4+(184*b|0)+80>>2])<0&&(c=d+4+(184*b|0)+64|0,a<r?(g=l*+p[(e=d+4+(184*b|0)+68|0)>>2],r=l*+p[(s=d+4+(184*b|0)+72|0)>>2],p[t+152>>2]=l*+p[c>>2],p[t+156>>2]=g,p[t+160>>2]=r,p[t+164>>2]=0,r=a,o=0|_[d+748>>2]):(e=d+4+(184*b|0)+68|0,s=d+4+(184*b|0)+72|0),C=a*(l*+p[e>>2])*.20000000298023224,g=a*(l*+p[s>>2])*.20000000298023224,p[t+92>>2]=a*(l*+p[c>>2])*.20000000298023224+ +p[t+92>>2],p[t+96>>2]=C+ +p[t+96>>2],p[t+100>>2]=g+ +p[t+100>>2],e=1),b=b+1|0}while((0|b)<(0|o))}A=A+1|0}while((0|A)!=(0|m))}}}while(0);h=h+1|0,m=0|_[284+(0|_[t+8>>2])>>2]}while((0|h)<(0|Lb[127&_[36+(0|_[m>>2])>>2]](m)))}else e=0;return y=0|_[t+8>>2],_[i>>2]=_[y+4>>2],_[i+4>>2]=_[y+4+4>>2],_[i+8>>2]=_[y+4+8>>2],_[i+12>>2]=_[y+4+12>>2],_[i+16>>2]=_[y+20>>2],_[i+16+4>>2]=_[y+20+4>>2],_[i+16+8>>2]=_[y+20+8>>2],_[i+16+12>>2]=_[y+20+12>>2],_[i+32>>2]=_[y+36>>2],_[i+32+4>>2]=_[y+36+4>>2],_[i+32+8>>2]=_[y+36+8>>2],_[i+32+12>>2]=_[y+36+12>>2],_[i+48>>2]=_[t+92>>2],_[i+48+4>>2]=_[t+92+4>>2],_[i+48+8>>2]=_[t+92+8>>2],_[i+48+12>>2]=_[t+92+12>>2],_[y+260>>2]=1+(0|_[y+260>>2]),_[y+4>>2]=_[i>>2],_[y+4+4>>2]=_[i+4>>2],_[y+4+8>>2]=_[i+8>>2],_[y+4+12>>2]=_[i+12>>2],_[y+20>>2]=_[i+16>>2],_[y+20+4>>2]=_[i+16+4>>2],_[y+20+8>>2]=_[i+16+8>>2],_[y+20+12>>2]=_[i+16+12>>2],_[y+36>>2]=_[i+32>>2],_[y+36+4>>2]=_[i+32+4>>2],_[y+36+8>>2]=_[i+32+8>>2],_[y+36+12>>2]=_[i+32+12>>2],_[y+52>>2]=_[i+48>>2],_[y+52+4>>2]=_[i+48+4>>2],_[y+52+8>>2]=_[i+48+8>>2],_[y+52+12>>2]=_[i+48+12>>2],Q=i,0|e}function xe(t,e,i,o){e|=0,i|=0,o|=0;var r=0;if(n[20+(t|=0)|0]=1,_[t+16>>2]=0,_[t+8>>2]=0,_[t+12>>2]=0,_[t+24>>2]=e,p[t+28>>2]=0,_[t+32>>2]=0,_[t+36>>2]=1,p[t+40>>2]=1,n[t+44|0]=1,_[t+48>>2]=0,n[t+52|0]=0,n[t+53|0]=1,n[t+54|0]=1,p[t+56>>2]=.03999999910593033,n[t+60|0]=0,p[t+64>>2]=0,_[t+68>>2]=i,_[t+72>>2]=0,n[t+76|0]=1,_[t+80>>2]=0,_[t+84>>2]=0,_[t+88>>2]=0,p[t+92>>2]=.6000000238418579,p[t+96>>2]=1,p[t+100>>2]=.30000001192092896,p[t+104>>2]=.01666666753590107,p[t+108>>2]=0,p[t+116>>2]=20,_[t+112>>2]=10,p[t+124>>2]=.20000000298023224,p[t+128>>2]=.800000011920929,p[t+132>>2]=0,p[t+120>>2]=1,_[t+136>>2]=1,p[t+140>>2]=-.03999999910593033,p[t+144>>2]=.10000000149011612,p[t+148>>2]=0,p[t+152>>2]=.8500000238418579,_[t+156>>2]=260,_[t+160>>2]=2,_[t+164>>2]=128,p[t+168>>2]=100,p[t+172>>2]=1.0000000150474662e30,_[t>>2]=4992,n[t+192|0]=1,_[t+188>>2]=0,_[t+180>>2]=0,_[t+184>>2]=0,_[t+196>>2]=0,_[t+200>>2]=o,n[t+224|0]=1,_[t+220>>2]=0,_[t+212>>2]=0,_[t+216>>2]=0,n[t+244|0]=1,_[t+240>>2]=0,_[t+232>>2]=0,_[t+236>>2]=0,_[t+248>>2]=0,_[t+252>>2]=-1054867456,n[t+274|0]=0,n[t+275|0]=0,_[t+256>>2]=0,_[t+256+4>>2]=0,_[t+256+8>>2]=0,_[t+256+12>>2]=0,n[t+292|0]=1,_[t+288>>2]=0,_[t+280>>2]=0,_[t+284>>2]=0,_[t+296>>2]=0,n[t+300|0]=1,n[t+320|0]=1,_[t+316>>2]=0,_[t+308>>2]=0,_[t+312>>2]=0,o?i=0:(_[6630]=1+(0|_[6630]),(i=0|di(215))?(_[(i+4+15&-16)-4>>2]=i,i=i+4+15&-16):i=0,_[i>>2]=5656,n[i+20|0]=1,_[i+16>>2]=0,_[i+8>>2]=0,_[i+12>>2]=0,n[i+40|0]=1,_[i+36>>2]=0,_[i+28>>2]=0,_[i+32>>2]=0,n[i+60|0]=1,_[i+56>>2]=0,_[i+48>>2]=0,_[i+52>>2]=0,n[i+80|0]=1,_[i+76>>2]=0,_[i+68>>2]=0,_[i+72>>2]=0,n[i+100|0]=1,_[i+96>>2]=0,_[i+88>>2]=0,_[i+92>>2]=0,n[i+120|0]=1,_[i+116>>2]=0,_[i+108>>2]=0,_[i+112>>2]=0,n[i+140|0]=1,_[i+136>>2]=0,_[i+128>>2]=0,_[i+132>>2]=0,n[i+160|0]=1,_[i+156>>2]=0,_[i+148>>2]=0,_[i+152>>2]=0,n[i+180|0]=1,_[i+176>>2]=0,_[i+168>>2]=0,_[i+172>>2]=0,_[i+192>>2]=0,_[t+200>>2]=i,i=1),n[t+273|0]=i,_[6630]=1+(0|_[6630]),(i=0|di(87))?(_[(i+4+15&-16)-4>>2]=i,i=i+4+15&-16):i=0,_[i>>2]=6352,n[i+20|0]=1,_[i+16>>2]=0,_[i+8>>2]=0,_[i+12>>2]=0,n[i+40|0]=1,_[i+36>>2]=0,_[i+28>>2]=0,_[i+32>>2]=0,n[i+60|0]=1,_[i+56>>2]=0,_[i+48>>2]=0,_[i+52>>2]=0,n[i+64|0]=1,_[t+204>>2]=i,n[t+272|0]=1,_[6630]=1+(0|_[6630]),!(i=0|di(107)))return o=0,r=0|_[t+200>>2],_[o>>2]=5204,_[(i=o+4|0)>>2]=0,_[(i=o+8|0)>>2]=r,_[(i=o+12|0)>>2]=0,_[(i=o+16|0)>>2]=0,_[(i=o+20|0)>>2]=0,_[(i=o+24|0)>>2]=e,n[0|(e=o+44|0)]=1,_[(e=o+40|0)>>2]=0,_[(e=o+32|0)>>2]=0,_[(e=o+36|0)>>2]=0,n[0|(e=o+64|0)]=1,_[(e=o+60|0)>>2]=0,_[(e=o+52|0)>>2]=0,_[(e=o+56|0)>>2]=0,n[0|(e=o+84|0)]=1,_[(e=o+80|0)>>2]=0,_[(e=o+72|0)>>2]=0,_[(e=o+76|0)>>2]=0,void(_[t+196>>2]=o);_[(i+4+15&-16)-4>>2]=i,r=i+4+15&-16,i=0|_[t+200>>2],_[r>>2]=5204,_[(o=r+4|0)>>2]=0,_[(o=r+8|0)>>2]=i,_[(o=r+12|0)>>2]=0,_[(o=r+16|0)>>2]=0,_[(o=r+20|0)>>2]=0,_[(o=r+24|0)>>2]=e,n[0|(e=r+44|0)]=1,_[(e=r+40|0)>>2]=0,_[(e=r+32|0)>>2]=0,_[(e=r+36|0)>>2]=0,n[0|(e=r+64|0)]=1,_[(e=r+60|0)>>2]=0,_[(e=r+52|0)>>2]=0,_[(e=r+56|0)>>2]=0,n[0|(e=r+84|0)]=1,_[(e=r+80|0)>>2]=0,_[(e=r+72|0)>>2]=0,_[(e=r+76|0)>>2]=0,_[t+196>>2]=r}function Te(t,e,i,r,s){e|=0,i=+i,r=+r,s=+s;var c,a=0,b=0,d=0,A=0,f=0,u=0,m=0,h=0,y=0,g=0;for(c=Q,Q=Q+240|0,b=+p[96+(t|=0)>>2]+r,d=+p[t+100>>2]+s,p[t+112>>2]=+p[t+92>>2]+i,p[t+116>>2]=b,p[t+120>>2]=d,p[t+124>>2]=0,_[c+168>>2]=1065353216,_[c+168+4>>2]=0,_[c+168+4+4>>2]=0,_[c+168+4+8>>2]=0,_[c+168+4+12>>2]=0,_[c+168+20>>2]=1065353216,_[c+168+24>>2]=0,_[c+168+24+4>>2]=0,_[c+168+24+8>>2]=0,_[c+168+24+12>>2]=0,_[c+168+40>>2]=1065353216,_[(a=c+168+44|0)>>2]=0,_[a+4>>2]=0,_[a+8>>2]=0,_[a+12>>2]=0,_[a+16>>2]=0,_[c+104>>2]=1065353216,_[c+104+4>>2]=0,_[c+104+4+4>>2]=0,_[c+104+4+8>>2]=0,_[c+104+4+12>>2]=0,_[c+104+20>>2]=1065353216,_[c+104+24>>2]=0,_[c+104+24+4>>2]=0,_[c+104+24+8>>2]=0,_[c+104+24+12>>2]=0,_[c+104+40>>2]=1065353216,_[(a=c+104+44|0)>>2]=0,_[a+4>>2]=0,_[a+8>>2]=0,_[a+12>>2]=0,_[a+16>>2]=0,d=1,a=10;;){if(!a){a=15;break}if(a=a+-1|0,_[c+168+48>>2]=_[t+92>>2],_[c+168+48+4>>2]=_[t+92+4>>2],_[c+168+48+8>>2]=_[t+92+8>>2],_[c+168+48+12>>2]=_[t+92+12>>2],_[c+104+48>>2]=_[t+112>>2],_[c+104+48+4>>2]=_[t+112+4>>2],_[c+104+48+8>>2]=_[t+112+8>>2],_[c+104+48+12>>2]=_[t+112+12>>2],s=+p[t+92>>2]-+p[t+112>>2],b=+p[t+96>>2]-+p[t+116>>2],i=+p[t+100>>2]-+p[t+120>>2],A=0|_[t+8>>2],p[c+4>>2]=1,_[c+76>>2]=0,_[c+12>>2]=0,_[c+12+4>>2]=0,_[c+12+8>>2]=0,_[c+12+12>>2]=0,_[c+12+16>>2]=0,_[c+12+20>>2]=0,_[c+12+24>>2]=0,_[c+12+28>>2]=0,_[c>>2]=5836,_[c+80>>2]=A,p[c+84>>2]=s,p[c+88>>2]=b,p[c+92>>2]=i,p[c+96>>2]=0,p[c+100>>2]=0,A=0|_[A+188>>2],o[c+8>>1]=0|o[A+4>>1],o[c+10>>1]=0|o[A+6>>1],A=0|_[t+12>>2],i=+Bb[15&_[48+(0|_[A>>2])>>2]](A),A=0|_[t+12>>2],Kb[31&_[44+(0|_[A>>2])>>2]](A,i+ +p[t+56>>2]),0|n[t+170|0]?Vi(0|_[t+8>>2],0|_[t+12>>2],c+168|0,c+104|0,c,+p[e+56>>2]):we(e,0|_[t+12>>2],c+168|0,c+104|0,c,+p[e+56>>2]),A=0|_[t+12>>2],Kb[31&_[44+(0|_[A>>2])>>2]](A,i),d-=b=+p[c+4>>2],b<1){if(r=+p[t+112>>2]-+p[t+92>>2],s=+p[t+116>>2]-+p[t+96>>2],b=+p[t+120>>2]-+p[t+100>>2],(i=+l(+(r*r+s*s+b*b)))>1.1920928955078125e-7?(f=+p[c+44>>2],g=+p[c+48>>2],u=(m=+p[c+52>>2])*((b*(1/i)-m*(y=2*(r*(1/i)*f+s*(1/i)*g+b*(1/i)*m)))*(h=1/+l(+((b*(1/i)-m*y)*(b*(1/i)-m*y)+((r*(1/i)-f*y)*(r*(1/i)-f*y)+(s*(1/i)-g*y)*(s*(1/i)-g*y))))))+(f*((r*(1/i)-f*y)*h)+g*((s*(1/i)-g*y)*h)),_[t+112>>2]=_[t+92>>2],_[t+112+4>>2]=_[t+92+4>>2],_[t+112+8>>2]=_[t+92+8>>2],_[t+112+12>>2]=_[t+92+12>>2],f=i*((r*(1/i)-f*y)*h-f*u)+ +p[t+112>>2],p[t+112>>2]=f,r=i*((s*(1/i)-g*y)*h-g*u)+ +p[t+116>>2],p[t+116>>2]=r,b=i*((b*(1/i)-m*y)*h-m*u)+ +p[t+120>>2],p[t+120>>2]=b,i=f):(i=+p[t+112>>2],r=+p[t+116>>2],b=+p[t+120>>2]),!((s=i-+p[t+92>>2])*s+(r-=+p[t+96>>2])*r+(i=b-+p[t+100>>2])*i>1.1920928955078125e-7)){a=13;break}if(s*(g=1/+l(+(s*s+r*r+i*i)))*+p[t+76>>2]+r*g*+p[t+80>>2]+i*g*+p[t+84>>2]<=0){a=13;break}}else _[t+92>>2]=_[t+112>>2],_[t+92+4>>2]=_[t+112+4>>2],_[t+92+8>>2]=_[t+112+8>>2],_[t+92+12>>2]=_[t+112+12>>2];if(!(d>.009999999776482582)){a=15;break}}13!=(0|a)&&15!=(0|a)||(Q=c)}function Pe(t,e,i,n,o){e|=0,i|=0,n|=0,o|=0;var r,s,c,b,d,A,f,u,m=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0,O=0,x=0;if(u=+p[(t|=0)>>2],O=+p[e>>2],x=+p[t+4>>2],W=+p[e+4>>2],r=+p[t+8>>2],F=+p[e+8>>2],s=+p[i>>2],!((f=(u-O)*(W-(c=+p[i+4>>2]))-(x-W)*(O-s))*f+((d=(x-W)*(F-(b=+p[i+8>>2]))-(r-F)*(W-c))*d+(A=(r-F)*(O-s)-(u-O)*(F-b))*A)>0))return+(x=-1);if(u*(f*(x-W)-A*(r-F))+x*(d*(r-F)-f*(u-O))+(A*(u-O)-d*(x-W))*r>0){do{if((O-u)*(O-u)+(W-x)*(W-x)+(F-r)*(F-r)>0){if((m=-(u*(O-u)+x*(W-x)+r*(F-r))/((O-u)*(O-u)+(W-x)*(W-x)+(F-r)*(F-r)))>=1){g=2,h=O*O+W*W+F*F,C=0,y=1065353216;break}if(m<=0){g=1,h=u*u+x*x+r*r,C=1065353216,y=0;break}p[a>>2]=m,y=0|_[a>>2],g=3,h=(r+(F-r)*m)*(r+(F-r)*m)+((u+(O-u)*m)*(u+(O-u)*m)+(x+(W-x)*m)*(x+(W-x)*m)),p[a>>2]=1-m,C=0|_[a>>2];break}g=0,h=-1,C=0,y=0}while(0);_[o>>2]=g,_[n>>2]=C,_[n+4>>2]=y,p[n+8>>2]=0,k=+p[e>>2],R=+p[e+4>>2],j=+p[e+8>>2]}else h=-1,g=0,C=0,y=0,k=O,R=W,j=F;if(k*(f*(W-c)-A*(F-b))+R*(d*(F-b)-f*(O-s))+(A*(O-s)-d*(W-c))*j>0){m=(D=+p[i>>2])-k,S=(I=+p[i+4>>2])-R,w=(B=+p[i+8>>2])-j;do{if(m*m+S*S+w*w>0){if((v=-(k*m+R*S+j*w)/(m*m+S*S+w*w))>=1){g=2,m=D*D+I*I+B*B,C=0,y=1065353216;break}if(v<=0){g=1,m=k*k+R*R+j*j,C=1065353216,y=0;break}p[a>>2]=v,y=0|_[a>>2],g=3,m=(I=j+w*v)*I+((B=k+m*v)*B+(m=R+S*v)*m),p[a>>2]=1-v,C=0|_[a>>2];break}m=-1}while(0);h<0|m<h&&(_[o>>2]=g<<1&6,_[n+4>>2]=C,_[n+8>>2]=y,p[n>>2]=0,h=m)}if((m=+p[i>>2])*(f*(c-x)-A*(b-r))+(S=+p[i+4>>2])*(d*(b-r)-f*(s-u))+(A*(s-u)-d*(c-x))*(w=+p[i+8>>2])>0){k=+p[t>>2],R=+p[t+4>>2],j=+p[t+8>>2];do{if((k-m)*(k-m)+(R-S)*(R-S)+(j-w)*(j-w)>0){if((v=-(m*(k-m)+S*(R-S)+w*(j-w))/((k-m)*(k-m)+(R-S)*(R-S)+(j-w)*(j-w)))>=1){g=2,m=k*k+R*R+j*j,C=0,y=1065353216;break}if(v<=0){g=1,m=m*m+S*S+w*w,C=1065353216,y=0;break}p[a>>2]=v,y=0|_[a>>2],g=3,m=(w+(j-w)*v)*(w+(j-w)*v)+((m+(k-m)*v)*(m+(k-m)*v)+(S+(R-S)*v)*(S+(R-S)*v)),p[a>>2]=1-v,C=0|_[a>>2];break}m=-1}while(0);h<0|m<h?(_[o>>2]=g<<2&4|g>>>1&1,_[n+8>>2]=C,_[n>>2]=y,p[n+4>>2]=0):m=h}else m=h;return m<0?(I=+l(+(f*f+(d*d+A*A))),B=(d*+p[t>>2]+A*+p[t+4>>2]+f*+p[t+8>>2])/(f*f+(d*d+A*A)),_[o>>2]=7,j=+p[e>>2]-d*B,R=+p[e+4>>2]-A*B,D=+p[e+8>>2]-f*B,O=+l(+(((O-s)*R-(W-c)*j)*((O-s)*R-(W-c)*j)+(((W-c)*D-(F-b)*R)*((W-c)*D-(F-b)*R)+((F-b)*j-(O-s)*D)*((F-b)*j-(O-s)*D))))/I,p[n>>2]=O,W=+p[i>>2]-d*B,D=+p[i+4>>2]-A*B,F=+p[i+8>>2]-f*B,x=+l(+(((s-u)*D-(c-x)*W)*((s-u)*D-(c-x)*W)+(((c-x)*F-(b-r)*D)*((c-x)*F-(b-r)*D)+((b-r)*W-(s-u)*F)*((b-r)*W-(s-u)*F))))/I,p[n+4>>2]=x,p[n+8>>2]=1-(O+x),+(x=f*B*(f*B)+(d*B*(d*B)+A*B*(A*B)))):+(x=m)}function Ve(t){var e,i=0,o=0,r=0,s=0,c=0,a=0,b=0,d=0,l=0,A=0,f=0,u=0;if(e=Q,Q=Q+80|0,0|Lb[127&_[20+(0|_[(t|=0)>>2])>>2]](t)&&(a=0|Lb[127&_[20+(0|_[t>>2])>>2]](t),8&Lb[127&_[48+(0|_[a>>2])>>2]](a))&&(s=0|_[t+24>>2],s=0|Lb[127&_[36+(0|_[s>>2])>>2]](s),_[e+64>>2]=1065353216,_[e+64+4>>2]=1065353216,_[e+64+8>>2]=0,p[e+64+12>>2]=0,(0|s)>0)){o=0;do{if(c=0|_[t+24>>2],c=0|Qb[31&_[40+(0|_[c>>2])>>2]](c,o),(0|(a=0|_[c+748>>2]))>0){r=0;do{u=0|Lb[127&_[20+(0|_[t>>2])>>2]](t),pd[1&_[32+(0|_[u>>2])>>2]](u,c+4+(184*r|0)+32|0,c+4+(184*r|0)+64|0,+p[c+4+(184*r|0)+80>>2],0|_[c+4+(184*r|0)+148>>2],e+64|0),r=r+1|0}while((0|r)!=(0|a))}o=o+1|0}while((0|o)!=(0|s))}if(0|Lb[127&_[20+(0|_[t>>2])>>2]](t))if(u=0|Lb[127&_[20+(0|_[t>>2])>>2]](t),3&Lb[127&_[48+(0|_[u>>2])>>2]](u))if((0|_[t+8>>2])<=0)Q=e;else{a=0;do{if(c=0|_[(0|_[t+16>>2])+(a<<2)>>2],!(32&_[c+204>>2])){if(0|Lb[127&_[20+(0|_[t>>2])>>2]](t)&&(u=0|Lb[127&_[20+(0|_[t>>2])>>2]](t),1&Lb[127&_[48+(0|_[u>>2])>>2]](u))){switch(_[e+64>>2]=1065353216,_[e+64+4>>2]=1065353216,_[e+64+8>>2]=1065353216,p[e+64+12>>2]=0,0|_[c+216>>2]){case 1:o=1065353216,r=1065353216,s=1065353216;break;case 2:o=0,r=1065353216,s=0;break;case 3:o=1065353216,r=1065353216,s=0;break;case 4:default:o=0,r=0,s=1065353216;break;case 5:o=0,r=1065353216,s=1065353216}_[e+64>>2]=s,_[e+64+4>>2]=r,_[e+64+8>>2]=o,p[e+64+12>>2]=0,cd[127&_[28+(0|_[t>>2])>>2]](t,c+4|0,0|_[c+192>>2],e+64|0)}if(0|(o=0|_[t+72>>2])&&2&Lb[127&_[48+(0|_[o>>2])>>2]](o)){_[e+32>>2]=1065353216,_[e+32+4>>2]=0,_[e+32+8>>2]=0,p[e+32+12>>2]=0,u=0|_[c+192>>2],cd[127&_[8+(0|_[u>>2])>>2]](u,c+4|0,e+64|0,e+48|0),p[e+64>>2]=+p[e+64>>2]-.019999999552965164,p[e+64+4>>2]=+p[e+64+4>>2]-.019999999552965164,p[e+64+8>>2]=+p[e+64+8>>2]-.019999999552965164,p[e+48>>2]=+p[e+48>>2]+.019999999552965164,p[e+48+4>>2]=+p[e+48+4>>2]+.019999999552965164,p[e+48+8>>2]=+p[e+48+8>>2]+.019999999552965164;do{if(0|n[t+44|0]&&2==(0|_[c+236>>2])&&!(3&_[c+204>>2])){if(u=0|_[c+192>>2],cd[127&_[8+(0|_[u>>2])>>2]](u,c+68|0,e+16|0,e),i=+p[e+16>>2]-.019999999552965164,p[e+16>>2]=i,b=+p[e+16+4>>2]-.019999999552965164,p[e+16+4>>2]=b,d=+p[e+16+8>>2]-.019999999552965164,p[e+16+8>>2]=d,l=+p[e>>2]+.019999999552965164,p[e>>2]=l,A=+p[e+4>>2]+.019999999552965164,p[e+4>>2]=A,f=+p[e+8>>2]+.019999999552965164,p[e+8>>2]=f,i<+p[e+64>>2]&&(p[e+64>>2]=i),b<+p[e+64+4>>2]&&(p[e+64+4>>2]=b),d<+p[e+64+8>>2]&&(p[e+64+8>>2]=d),(i=+p[e+16+12>>2])<+p[e+64+12>>2]&&(p[e+64+12>>2]=i),+p[e+48>>2]<l&&(p[e+48>>2]=l),+p[e+48+4>>2]<A&&(p[e+48+4>>2]=A),+p[e+48+8>>2]<f&&(p[e+48+8>>2]=f),i=+p[e+12>>2],!(+p[e+48+12>>2]<i))break;p[e+48+12>>2]=i}}while(0);u=0|_[t+72>>2],cd[127&_[52+(0|_[u>>2])>>2]](u,e+64|0,e+48|0,e+32|0)}}a=a+1|0}while((0|a)<(0|_[t+8>>2]));Q=e}else Q=e;else Q=e}function Me(t,e,i){t|=0,i|=0;var n,o,r,s,p,c,a=0,b=0,d=0,l=0,A=0,f=0;r=0|_[(e|=0)>>2],s=0|_[e+4>>2],A=0|_[e+8>>2],p=0|_[t+4>>2],c=0|Kt(t,i,s,A),_[c+12>>2]=_[e+12>>2],_[c+16>>2]=p+1,_[c+20>>2]=p+2,l=0|_[(0|_[t+12>>2])+(_[e+12>>2]<<2)>>2],a=0|_[l>>2],b=0|_[l+4>>2];do{if((0|a)==(0|s)&(0|b)==(0|A))a=2,f=2;else{if((0|a)==(0|A)&(0|b)==(0|s))a=2;else{if((0|b)==(0|s)&(0|(d=0|_[l+8>>2]))==(0|A)){a=0,f=2;break}if((0|b)==(0|A)&(0|d)==(0|s))a=0;else{if(!((0|d)!=(0|s)|(0|a)==(0|A)^1)){a=1,f=2;break}if((0|d)!=(0|A)|(0|a)==(0|s)^1){a=10428;break}a=1}}a=l+12+(a<<2)|0}}while(0);2==(0|f)&&(a=l+12+(a<<2)|0),_[a>>2]=p,o=0|Kt(t,i,A,r),_[o+12>>2]=_[e+12+4>>2],_[o+16>>2]=p+2,_[o+20>>2]=p,l=0|_[(0|_[t+12>>2])+(_[e+12+4>>2]<<2)>>2],a=0|_[l>>2],b=0|_[l+4>>2];do{if((0|a)==(0|A)&(0|b)==(0|r))a=2,f=10;else{if((0|a)==(0|r)&(0|b)==(0|A))a=2;else{if((0|b)==(0|A)&(0|(d=0|_[l+8>>2]))==(0|r)){a=0,f=10;break}if((0|b)==(0|r)&(0|d)==(0|A))a=0;else{if(!((0|d)!=(0|A)|(0|a)==(0|r)^1)){a=1,f=10;break}if((0|d)!=(0|r)|(0|a)==(0|A)^1){a=10428;break}a=1}}a=l+12+(a<<2)|0}}while(0);10==(0|f)&&(a=l+12+(a<<2)|0),_[a>>2]=p+1,n=0|Kt(t,i,r,s),_[n+12>>2]=_[e+12+8>>2],_[n+16>>2]=p,_[n+20>>2]=p+1,a=0|_[t+12>>2],A=0|_[a+(_[e+12+8>>2]<<2)>>2],b=0|_[A>>2],d=0|_[A+4>>2];do{if((0|b)==(0|r)&(0|d)==(0|s))b=2,f=18;else{if((0|b)==(0|s)&(0|d)==(0|r))b=2;else{if((0|d)==(0|r)&(0|(l=0|_[A+8>>2]))==(0|s)){b=0,f=18;break}if((0|d)==(0|s)&(0|l)==(0|r))b=0;else{if(!((0|l)!=(0|r)|(0|b)==(0|s)^1)){b=1,f=18;break}if((0|l)!=(0|s)|(0|b)==(0|r)^1){b=10428;break}b=1}}b=A+12+(b<<2)|0}}while(0);if(18==(0|f)&&(b=A+12+(b<<2)|0),_[b>>2]=p+2,b=0|_[a+(_[c+12>>2]<<2)>>2],(0|_[b>>2])!=(0|i)&&(0|_[b+4>>2])!=(0|i)&&(0|_[b+8>>2])!=(0|i)||(Le(a,c,b),_[(0|_[t+12>>2])+(_[c+24>>2]<<2)>>2]=0,_[6631]=1+(0|_[6631]),Li(0|_[c+-4>>2]),_[(0|_[t+12>>2])+(_[b+24>>2]<<2)>>2]=0,0|b&&(_[6631]=1+(0|_[6631]),Li(0|_[b+-4>>2])),a=0|_[t+12>>2]),b=0|_[a+(_[o+12>>2]<<2)>>2],(0|_[b>>2])!=(0|i)&&(0|_[b+4>>2])!=(0|i)&&(0|_[b+8>>2])!=(0|i)||(Le(a,o,b),_[(0|_[t+12>>2])+(_[o+24>>2]<<2)>>2]=0,_[6631]=1+(0|_[6631]),Li(0|_[o+-4>>2]),_[(0|_[t+12>>2])+(_[b+24>>2]<<2)>>2]=0,0|b&&(_[6631]=1+(0|_[6631]),Li(0|_[b+-4>>2])),a=0|_[t+12>>2]),b=0|_[a+(_[n+12>>2]<<2)>>2],(0|_[b>>2])!=(0|i)&&(0|_[b+4>>2])!=(0|i)&&(0|_[b+8>>2])!=(0|i))return t=a,i=0|_[(i=e+24|0)>>2],_[(i=t+(i<<2)|0)>>2]=0,i=1+(i=0|_[6631])|0,_[6631]=i,void Li(i=0|_[(i=e+-4|0)>>2]);Le(a,n,b),_[(0|_[t+12>>2])+(_[n+24>>2]<<2)>>2]=0,_[6631]=1+(0|_[6631]),Li(0|_[n+-4>>2]),_[(0|_[t+12>>2])+(_[b+24>>2]<<2)>>2]=0,0|b&&(_[6631]=1+(0|_[6631]),Li(0|_[b+-4>>2])),t=0|_[t+12>>2],i=0|_[(i=e+24|0)>>2],_[(i=t+(i<<2)|0)>>2]=0,i=1+(i=0|_[6631])|0,_[6631]=i,Li(i=0|_[(i=e+-4|0)>>2])}function Ge(t,e,i,r,c,a){var b,d,l;if(e|=0,i|=0,r|=0,c|=0,a|=0,_[(t|=0)>>2]=9580,o[t+4>>1]=-2,o[t+6>>1]=-1,_[t+92>>2]=c,_[t+96>>2]=0,n[t+100|0]=0,_[t+104>>2]=0,_[t+108>>2]=0,c||(_[6630]=1+(0|_[6630]),(c=0|di(95))?(_[(c+4+15&-16)-4>>2]=c,c=c+4+15&-16):c=0,Ae(c),_[t+92>>2]=c,n[t+100|0]=1),a||(_[6630]=1+(0|_[6630]),(c=0|di(43))?(_[(c+4+15&-16)-4>>2]=c,c=c+4+15&-16):c=0,_[(a=c+4|0)>>2]=0,_[a+4>>2]=0,_[a+8>>2]=0,_[a+12>>2]=0,_[a+16>>2]=0,_[c>>2]=9644,n[c+20|0]=1,_[c+16>>2]=0,_[c+8>>2]=0,_[c+12>>2]=0,_[t+112>>2]=c,_[6630]=1+(0|_[6630]),(c=0|di(215))?(_[(c+4+15&-16)-4>>2]=c,c=c+4+15&-16):c=0,$t(c,0|_[t+112>>2]),_[t+108>>2]=c,n[c+193|0]=1),_[t+8>>2]=_[e>>2],_[t+8+4>>2]=_[e+4>>2],_[t+8+8>>2]=_[e+8>>2],_[t+8+12>>2]=_[e+12>>2],_[t+24>>2]=_[i>>2],_[t+24+4>>2]=_[i+4>>2],_[t+24+8>>2]=_[i+8>>2],_[t+24+12>>2]=_[i+12>>2],d=(l=+(0|s[t+6>>1]))/(+p[t+28>>2]-+p[t+12>>2]),b=l/(+p[t+32>>2]-+p[t+16>>2]),p[t+40>>2]=l/(+p[t+24>>2]-+p[t+8>>2]),p[t+44>>2]=d,p[t+48>>2]=b,p[t+52>>2]=0,i=r+1&65535,_[6630]=1+(0|_[6630]),(c=0|di(i<<6|19))?(_[(c+4+15&-16)-4>>2]=c,e=c+4+15&-16):e=0,r+1<<16>>16<<16>>16){c=e+(i<<6)|0,a=e;do{_[a>>2]=0,_[a+8>>2]=0,a=a+64|0}while((0|a)!=(0|c))}if(_[t+60>>2]=e,o[t+58>>1]=1+(65535&r),o[t+56>>1]=0,o[t+64>>1]=1,(r+1&65535)>1&&(o[e+112>>1]=2,r+1<<16>>16<<16>>16!=2)){c=2;do{r=c,c=c+1|0,o[e+(r<<6)+48>>1]=c}while((0|c)!=(0|i))}if(o[e+(i+-1<<6)+48>>1]=0,_[6630]=1+(0|_[6630]),(c=0|di(16+(i<<3|3)|0))?(_[(c+4+15&-16)-4>>2]=c,c=c+4+15&-16):c=0,_[t+80>>2]=c,_[t+68>>2]=c,_[6630]=1+(0|_[6630]),(c=0|di(16+(i<<3|3)|0))?(_[(c+4+15&-16)-4>>2]=c,c=c+4+15&-16):c=0,_[t+84>>2]=c,_[t+72>>2]=c,_[6630]=1+(0|_[6630]),!(c=0|di(16+(i<<3|3)|0)))return e=0,_[(r=t+88|0)>>2]=e,_[(r=t+76|0)>>2]=e,e=0|_[t+60>>2],_[e>>2]=0,o[(i=e+48|0)>>1]=0,o[(i=e+54|0)>>1]=1,i=0|_[t+68>>2],o[i>>1]=0,o[(a=i+2|0)>>1]=0,a=0|o[t+6>>1],o[(c=i+4|0)>>1]=a,o[(i=i+6|0)>>1]=0,o[(i=e+50|0)>>1]=0,o[(i=e+56|0)>>1]=1,i=0|_[t+72>>2],o[i>>1]=0,o[(c=i+2|0)>>1]=0,c=0|o[t+6>>1],o[(a=i+4|0)>>1]=c,o[(i=i+6|0)>>1]=0,o[(i=e+52|0)>>1]=0,o[(e=e+58|0)>>1]=1,r=0|_[r>>2],o[r>>1]=0,o[(e=r+2|0)>>1]=0,e=0|o[t+6>>1],o[(i=r+4|0)>>1]=e,o[(r=r+6|0)>>1]=0,void(_[t>>2]=9516);_[(c+4+15&-16)-4>>2]=c,e=c+4+15&-16,_[(r=t+88|0)>>2]=e,_[(r=t+76|0)>>2]=e,e=0|_[t+60>>2],_[e>>2]=0,o[(i=e+48|0)>>1]=0,o[(i=e+54|0)>>1]=1,i=0|_[t+68>>2],o[i>>1]=0,o[(a=i+2|0)>>1]=0,a=0|o[t+6>>1],o[(c=i+4|0)>>1]=a,o[(i=i+6|0)>>1]=0,o[(i=e+50|0)>>1]=0,o[(i=e+56|0)>>1]=1,i=0|_[t+72>>2],o[i>>1]=0,o[(c=i+2|0)>>1]=0,c=0|o[t+6>>1],o[(a=i+4|0)>>1]=c,o[(i=i+6|0)>>1]=0,o[(i=e+52|0)>>1]=0,o[(e=e+58|0)>>1]=1,r=0|_[r>>2],o[r>>1]=0,o[(e=r+2|0)>>1]=0,e=0|o[t+6>>1],o[(i=r+4|0)>>1]=e,o[(r=r+6|0)>>1]=0,_[t>>2]=9516}function Le(t,e,i){t|=0,e|=0,i|=0;var n=0,o=0,r=0,s=0,p=0,c=0,a=0,b=0,d=0,l=0;b=0;do{a=b,c=0|_[e+(((d=3==(0|(b=b+1|0)))?0:b)<<2)>>2],a=0|_[e+(((a+2|0)>>>0)%3<<2)>>2],n=0|_[i>>2],o=0|_[i+4>>2];do{if((0|n)==(0|a)&(0|o)==(0|c))n=2,l=3;else{if((0|n)==(0|c)&(0|o)==(0|a))n=2;else{if((0|o)==(0|a)&(0|(r=0|_[i+8>>2]))==(0|c)){n=0,l=3;break}if((0|o)==(0|c)&(0|r)==(0|a))n=0;else{if(!((0|r)!=(0|a)|(0|n)==(0|c)^1)){n=1,l=3;break}if((0|r)!=(0|c)|(0|n)==(0|a)^1){n=10428;break}n=1}}n=i+12+(n<<2)|0}}while(0);3==(0|l)&&(l=0,n=i+12+(n<<2)|0),p=0|_[n>>2],n=0|_[e>>2],o=0|_[e+4>>2];do{if((0|n)==(0|c)&(0|o)==(0|a))n=2,l=11;else{if((0|n)==(0|a)&(0|o)==(0|c))n=2;else{if((0|o)==(0|c)&(0|(r=0|_[e+8>>2]))==(0|a)){n=0,l=11;break}if((0|o)==(0|a)&(0|r)==(0|c))n=0;else{if(!((0|r)!=(0|c)|(0|n)==(0|a)^1)){n=1,l=11;break}if((0|r)!=(0|a)|(0|n)==(0|c)^1){n=10428;break}n=1}}n=e+12+(n<<2)|0}}while(0);11==(0|l)&&(l=0,n=e+12+(n<<2)|0),s=0|_[t+(_[n>>2]<<2)>>2],n=0|_[s>>2],o=0|_[s+4>>2];do{if((0|n)==(0|a)&(0|o)==(0|c))n=2,l=19;else{if((0|n)==(0|c)&(0|o)==(0|a))n=2;else{if((0|o)==(0|a)&(0|(r=0|_[s+8>>2]))==(0|c)){n=0,l=19;break}if((0|o)==(0|c)&(0|r)==(0|a))n=0;else{if(!((0|r)!=(0|a)|(0|n)==(0|c)^1)){n=1,l=19;break}if((0|r)!=(0|c)|(0|n)==(0|a)^1){n=10428;break}n=1}}n=s+12+(n<<2)|0}}while(0);19==(0|l)&&(l=0,n=s+12+(n<<2)|0),_[n>>2]=p,n=0|_[e>>2],o=0|_[e+4>>2];do{if((0|n)==(0|c)&(0|o)==(0|a))n=2,l=27;else{if((0|n)==(0|a)&(0|o)==(0|c))n=2;else{if((0|o)==(0|c)&(0|(r=0|_[e+8>>2]))==(0|a)){n=0,l=27;break}if((0|o)==(0|a)&(0|r)==(0|c))n=0;else{if(!((0|r)!=(0|c)|(0|n)==(0|a)^1)){n=1,l=27;break}if((0|r)!=(0|a)|(0|n)==(0|c)^1){n=10428;break}n=1}}n=e+12+(n<<2)|0}}while(0);27==(0|l)&&(l=0,n=e+12+(n<<2)|0),p=0|_[n>>2],n=0|_[i>>2],o=0|_[i+4>>2];do{if((0|n)==(0|a)&(0|o)==(0|c))n=2,l=35;else{if((0|n)==(0|c)&(0|o)==(0|a))n=2;else{if((0|o)==(0|a)&(0|(r=0|_[i+8>>2]))==(0|c)){n=0,l=35;break}if((0|o)==(0|c)&(0|r)==(0|a))n=0;else{if(!((0|r)!=(0|a)|(0|n)==(0|c)^1)){n=1,l=35;break}if((0|r)!=(0|c)|(0|n)==(0|a)^1){n=10428;break}n=1}}n=i+12+(n<<2)|0}}while(0);35==(0|l)&&(l=0,n=i+12+(n<<2)|0),s=0|_[t+(_[n>>2]<<2)>>2],o=0|_[s>>2],r=0|_[s+4>>2];do{if((0|o)==(0|c)&(0|r)==(0|a))n=2,l=43;else{if((0|o)==(0|a)&(0|r)==(0|c))n=2;else{if((0|r)==(0|c)&(0|(n=0|_[s+8>>2]))==(0|a)){n=0,l=43;break}if((0|r)==(0|a)&(0|n)==(0|c))n=0;else{if(!((0|n)!=(0|c)|(0|o)==(0|a)^1)){n=1,l=43;break}if((0|n)!=(0|a)|(0|o)==(0|c)^1){n=10428;break}n=1}}n=s+12+(n<<2)|0}}while(0);43==(0|l)&&(l=0,n=s+12+(n<<2)|0),_[n>>2]=p}while(!d)}function Ne(t,e,i,o){t|=0,o|=0;var r=0,s=0,c=0,a=0,b=0,d=0,l=0,A=0,f=0;if(!!(0|(e|=0))&!!(0|(i|=0))){if((0|_[t+24>>2])<128&&(0|_[t+28>>2])<128){if(_[6630]=1+(0|_[6630]),(r=0|di(1043))?(_[(r+4+15&-16)-4>>2]=r,c=r+4+15&-16):c=0,(0|(s=0|_[t+24>>2]))>0){r=0;do{b=(0|_[t+32>>2])+(r<<3)|0,d=0|_[b+4>>2],_[(l=c+(r<<3)|0)>>2]=_[b>>2],_[l+4>>2]=d,r=r+1|0}while((0|r)!=(0|s))}0|(r=0|_[t+32>>2])&&(0|n[t+36|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[r+-4>>2])),_[t+32>>2]=0),n[t+36|0]=1,_[t+32>>2]=c,_[t+28>>2]=128}_[t+24>>2]=128,r=0|_[t+32>>2],_[r>>2]=e,_[r+4>>2]=i,r=1,s=124;do{if(l=r+-1|0,c=0|_[t+32>>2],b=0|_[c+(l<<3)>>2],d=0|_[c+(l<<3)+4>>2],(0|l)>(0|s)){if((0|(a=0|_[t+24>>2]))<a<<1&&(0|_[t+28>>2])<a<<1){if(a)if(_[6630]=1+(0|_[6630]),(s=0|di(16+(a<<4|3)|0))?(_[(s+4+15&-16)-4>>2]=s,i=s+4+15&-16):i=0,(0|(c=0|_[t+24>>2]))>0){s=0;do{f=(0|_[t+32>>2])+(s<<3)|0,A=0|_[f+4>>2],_[(e=i+(s<<3)|0)>>2]=_[f>>2],_[e+4>>2]=A,s=s+1|0}while((0|s)!=(0|c));e=i,c=i}else e=i,c=i;else e=0,c=0;0|(s=0|_[t+32>>2])&&(0|n[t+36|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[s+-4>>2])),_[t+32>>2]=0),n[t+36|0]=1,_[t+32>>2]=e,_[t+28>>2]=a<<1}_[t+24>>2]=a<<1,s=(a<<1)-4|0}do{if((0|b)==(0|d))0|_[b+40>>2]?(A=0|_[b+36>>2],_[c+(l<<3)>>2]=A,_[c+(l<<3)+4>>2]=A,A=0|_[b+40>>2],f=r+1|0,l=0|_[t+32>>2],_[l+(r<<3)>>2]=A,_[l+(r<<3)+4>>2]=A,l=0|_[b+40>>2],A=0|_[t+32>>2],_[A+(f<<3)>>2]=_[b+36>>2],_[A+(f<<3)+4>>2]=l,r=r+2|0):r=l;else{if(+p[b>>2]<=+p[d+16>>2]&&+p[b+16>>2]>=+p[d>>2]&&+p[b+4>>2]<=+p[d+20>>2]&&+p[b+20>>2]>=+p[d+4>>2]&&+p[b+8>>2]<=+p[d+24>>2]&&+p[b+24>>2]>=+p[d+8>>2]){if(e=!!(0|_[d+40>>2]),0|_[b+40>>2]){if(i=0|_[b+36>>2],e){f=0|_[d+36>>2],_[c+(l<<3)>>2]=i,_[c+(l<<3)+4>>2]=f,f=0|_[d+36>>2],l=r+1|0,a=0|_[t+32>>2],_[a+(r<<3)>>2]=_[b+40>>2],_[a+(r<<3)+4>>2]=f,a=0|_[d+40>>2],f=r+2|0,A=0|_[t+32>>2],_[A+(l<<3)>>2]=_[b+36>>2],_[A+(l<<3)+4>>2]=a,l=0|_[d+40>>2],A=0|_[t+32>>2],_[A+(f<<3)>>2]=_[b+40>>2],_[A+(f<<3)+4>>2]=l,r=r+3|0;break}_[c+(l<<3)>>2]=i,_[c+(l<<3)+4>>2]=d,f=0|_[t+32>>2],_[f+(r<<3)>>2]=_[b+40>>2],_[f+(r<<3)+4>>2]=d,r=r+1|0;break}if(e){A=0|_[d+36>>2],_[c+(l<<3)>>2]=b,_[c+(l<<3)+4>>2]=A,A=0|_[d+40>>2],f=0|_[t+32>>2],_[f+(r<<3)>>2]=b,_[f+(r<<3)+4>>2]=A,r=r+1|0;break}rd[127&_[8+(0|_[o>>2])>>2]](o,b,d),r=l;break}r=l}}while(0)}while(0|r)}}function Qe(t,e){e|=0;var i,n=0,o=0,r=0;if(i=Q,Q=Q+80|0,_[68+(t|=0)>>2]=1+(0|_[t+68>>2]),0|(r=0|_[t+64>>2])&&(Tt(r,n=0|_[(0|_[t+24>>2])+(80*e|0)+76>>2]),0|(o=0|_[r+4>>2])&&(_[6631]=1+(0|_[6631]),Li(0|_[o+-4>>2])),_[r+4>>2]=n,_[r+12>>2]=(0|_[r+12>>2])-1),r=(0|_[t+16>>2])-1|0,o=0|_[t+24>>2],_[i>>2]=_[o+(80*e|0)>>2],_[i+4>>2]=_[o+(80*e|0)+4>>2],_[i+8>>2]=_[o+(80*e|0)+8>>2],_[i+12>>2]=_[o+(80*e|0)+12>>2],_[i+16>>2]=_[o+(80*e|0)+16>>2],_[i+16+4>>2]=_[o+(80*e|0)+16+4>>2],_[i+16+8>>2]=_[o+(80*e|0)+16+8>>2],_[i+16+12>>2]=_[o+(80*e|0)+16+12>>2],_[i+32>>2]=_[o+(80*e|0)+32>>2],_[i+32+4>>2]=_[o+(80*e|0)+32+4>>2],_[i+32+8>>2]=_[o+(80*e|0)+32+8>>2],_[i+32+12>>2]=_[o+(80*e|0)+32+12>>2],_[i+48>>2]=_[o+(80*e|0)+48>>2],_[i+48+4>>2]=_[o+(80*e|0)+48+4>>2],_[i+48+8>>2]=_[o+(80*e|0)+48+8>>2],_[i+48+12>>2]=_[o+(80*e|0)+48+12>>2],_[i+64>>2]=_[o+(80*e|0)+64>>2],_[i+64+4>>2]=_[o+(80*e|0)+64+4>>2],_[i+64+8>>2]=_[o+(80*e|0)+64+8>>2],_[i+64+12>>2]=_[o+(80*e|0)+64+12>>2],_[o+(80*e|0)>>2]=_[o+(80*r|0)>>2],_[o+(80*e|0)+4>>2]=_[o+(80*r|0)+4>>2],_[o+(80*e|0)+8>>2]=_[o+(80*r|0)+8>>2],_[o+(80*e|0)+12>>2]=_[o+(80*r|0)+12>>2],_[o+(80*e|0)+16>>2]=_[o+(80*r|0)+16>>2],_[o+(80*e|0)+16+4>>2]=_[o+(80*r|0)+16+4>>2],_[o+(80*e|0)+16+8>>2]=_[o+(80*r|0)+16+8>>2],_[o+(80*e|0)+16+12>>2]=_[o+(80*r|0)+16+12>>2],_[o+(80*e|0)+32>>2]=_[o+(80*r|0)+32>>2],_[o+(80*e|0)+32+4>>2]=_[o+(80*r|0)+32+4>>2],_[o+(80*e|0)+32+8>>2]=_[o+(80*r|0)+32+8>>2],_[o+(80*e|0)+32+12>>2]=_[o+(80*r|0)+32+12>>2],_[o+(80*e|0)+48>>2]=_[o+(80*r|0)+48>>2],_[o+(80*e|0)+48+4>>2]=_[o+(80*r|0)+48+4>>2],_[o+(80*e|0)+48+8>>2]=_[o+(80*r|0)+48+8>>2],_[o+(80*e|0)+48+12>>2]=_[o+(80*r|0)+48+12>>2],_[o+(80*e|0)+64>>2]=_[o+(80*r|0)+64>>2],_[o+(80*e|0)+64+4>>2]=_[o+(80*r|0)+64+4>>2],_[o+(80*e|0)+64+8>>2]=_[o+(80*r|0)+64+8>>2],_[o+(80*e|0)+64+12>>2]=_[o+(80*r|0)+64+12>>2],o=0|_[t+24>>2],_[o+(80*r|0)>>2]=_[i>>2],_[o+(80*r|0)+4>>2]=_[i+4>>2],_[o+(80*r|0)+8>>2]=_[i+8>>2],_[o+(80*r|0)+12>>2]=_[i+12>>2],_[o+(80*r|0)+16>>2]=_[i+16>>2],_[o+(80*r|0)+16+4>>2]=_[i+16+4>>2],_[o+(80*r|0)+16+8>>2]=_[i+16+8>>2],_[o+(80*r|0)+16+12>>2]=_[i+16+12>>2],_[o+(80*r|0)+32>>2]=_[i+32>>2],_[o+(80*r|0)+32+4>>2]=_[i+32+4>>2],_[o+(80*r|0)+32+8>>2]=_[i+32+8>>2],_[o+(80*r|0)+32+12>>2]=_[i+32+12>>2],_[o+(80*r|0)+48>>2]=_[i+48>>2],_[o+(80*r|0)+48+4>>2]=_[i+48+4>>2],_[o+(80*r|0)+48+8>>2]=_[i+48+8>>2],_[o+(80*r|0)+48+12>>2]=_[i+48+12>>2],_[o+(80*r|0)+64>>2]=_[i+64>>2],_[o+(80*r|0)+64+4>>2]=_[i+64+4>>2],_[o+(80*r|0)+64+8>>2]=_[i+64+8>>2],_[o+(80*r|0)+64+12>>2]=_[i+64+12>>2],!(0|_[t+64>>2]))return r=(r=0|_[t+16>>2])-1|0,_[t+16>>2]=r,void(Q=i);_[36+(0|_[(0|_[t+24>>2])+(80*e|0)+76>>2])>>2]=e,r=(r=0|_[t+16>>2])-1|0,_[t+16>>2]=r,Q=i}function Ee(t,e,i,n,r,c,a,b,d){t|=0,e|=0,n=+n,r=+r,c=+c,a|=0,b|=0,d|=0;var A,f,u,m,h,y,g,C,v,S,w,k,R,j,D,I,B,W,F,O=0,x=0,T=0,P=0,V=0,M=0,G=0,L=0,N=0,E=0,H=0,Z=0,U=0,Y=0,J=0,X=0,z=0,K=0,q=0,$=0,tt=0,et=0,it=0,nt=0,ot=0;if(j=Q,Q=Q+32|0,S=+p[(i|=0)>>2],A=+p[i+4>>2],h=+p[i+8>>2],g=(n-S)*(y=1/+l(+((n-S)*(n-S)+(r-A)*(r-A)+(c-h)*(c-h))))==0?0xde0b6b000000000:1/((n-S)*y),C=(r-A)*y==0?0xde0b6b000000000:1/((r-A)*y),v=(c-h)*y==0?0xde0b6b000000000:1/((c-h)*y),ot=(S>n?n:S)+ +p[a>>2],nt=(A>r?r:A)+ +p[a+4>>2],it=(h>c?c:h)+ +p[a+8>>2],tt=(S<n?n:S)+ +p[b>>2],$=(A<r?r:A)+ +p[b+4>>2],M=(h<c?c:h)+ +p[b+8>>2],ot=ot<(F=+p[t+4>>2])?F:ot,nt=nt<(I=+p[t+8>>2])?I:nt,it=it<(G=+p[t+12>>2])?G:it,et=+p[t+20>>2],B=+p[t+24>>2],V=+p[t+28>>2],w=((et<ot?et:ot)-F)*(W=+p[t+36>>2])&65535&-2,k=((B<nt?B:nt)-I)*(D=+p[t+40>>2])&65535&-2,R=((V<it?V:it)-G)*(L=+p[t+44>>2])&65535&-2,f=((et<(tt=tt<F?F:tt)?et:tt)-F)*W+1&65535|1,u=((B<($=$<I?I:$)?B:$)-I)*D+1&65535|1,m=((V<(M=M<G?G:M)?V:M)-G)*L+1&65535|1,(0|d)>0){x=0,O=0,T=0|_[t+136>>2];do{O=O+1|0,P=T+6|0,N=0|o[T>>1],E=T+10|0,H=0|o[T+4>>1],Z=T+8|0,U=0|o[T+2>>1],J=(0|_[(Y=T+12|0)>>2])>-1;do{if(((65535&f)>=(65535&N)?(65535&w)<=(0|s[P>>1]):0)&(65535&R)<=(0|s[E>>1])&(65535&m)>=(65535&H)&(65535&k)<=(0|s[Z>>1])&(65535&u)>=(65535&U)){if(tt=+p[t+36>>2],it=+p[t+40>>2],ot=+p[t+44>>2],et=+p[t+4>>2],nt=+p[t+8>>2],G=+p[t+12>>2],p[j+12>>2]=0,L=et+ +(0|s[P>>1])/tt,V=nt+ +(0|s[Z>>1])/it,M=G+ +(0|s[E>>1])/ot,p[j+28>>2]=0,p[j>>2]=+(65535&N)/tt+et-+p[b>>2],p[j+4>>2]=+(65535&U)/it+nt-+p[b+4>>2],p[j+8>>2]=+(65535&H)/ot+G-+p[b+8>>2],p[j+16>>2]=L-+p[a>>2],p[j+20>>2]=V-+p[a+4>>2],p[j+24>>2]=M-+p[a+8>>2],M=+p[i>>2],V=g*(+p[j+((g<0&1)<<4)>>2]-M),M=g*(+p[j+((1&(g<0^1))<<4)>>2]-M),L=+p[i+4>>2],!((G=C*(+p[j+((C<0&1)<<4)+4>>2]-L))>M|V>(L=C*(+p[j+((1&(C<0^1))<<4)+4>>2]-L))||(z=G>V?G:V,X=L<M?L:M,q=+p[i+8>>2],(K=v*(+p[j+((v<0&1)<<4)+8>>2]-q))>X|z>(q=v*(+p[j+((1&(v<0^1))<<4)+8>>2]-q))))){if(!(J&(P=(q<X?q:X)>0?(K>z?K:z)<(c-h)*y*(c-h)+((n-S)*y*(n-S)+(r-A)*y*(r-A)):0))){N=9;break}N=0|_[Y>>2],rd[127&_[8+(0|_[e>>2])>>2]](e,N>>21,2097151&N),N=10;break}P=0,N=9}else P=0,N=9}while(0);9==(0|N)&&(N=0,J|P?N=10:(x=x-(J=0|_[Y>>2])|0,T=T+(0-J<<4)|0)),10==(0|N)&&(x=x+1|0,T=T+16|0)}while((0|x)<(0|d))}else O=0;(0|_[6610])>=(0|O)||(_[6610]=O),Q=j}function He(t,e,i){t|=0,e|=0,i|=0;for(var n=0,o=0,r=0,s=0,p=0,c=0,a=0,b=0,d=0,l=0,A=0,f=0,u=0,m=0;;){for(A=0|_[t+12>>2],m=0|_[A+((u=(e+i|0)/2|0)<<4)>>2],f=0|_[A+(u<<4)+4>>2],u=0|_[A+(u<<4)+8>>2],n=i,o=e;;){t:do{if(m)for(d=0|_[m+12>>2];;){r=(c=0|_[(b=A+(o<<4)|0)>>2])?0|_[c+12>>2]:-1,s=(a=0|_[A+(o<<4)+4>>2])?0|_[a+12>>2]:-1,p=f?0|_[f+12>>2]:-1;do{if((0|r)<=(0|d)){if((r=(0|s)>(0|p))|(0|c)==(0|m)^1){if((0|c)==(0|m)&r)break;break t}if((0|a)!=(0|f))break t;if((0|_[A+(o<<4)+8>>2])>>>0<=u>>>0)break t}}while(0);o=o+1|0}else for(;;){r=(c=0|_[(b=A+(o<<4)|0)>>2])?0|_[c+12>>2]:-1,s=(a=0|_[A+(o<<4)+4>>2])?0|_[a+12>>2]:-1,p=f?0|_[f+12>>2]:-1;do{if((0|r)<=-1){if((r=(0|s)>(0|p))|1^!(0|c)){if(!(0|c)&r)break;break t}if((0|a)!=(0|f))break t;if((0|_[A+(o<<4)+8>>2])>>>0<=u>>>0)break t}}while(0);o=o+1|0}}while(0);t:do{if(m)for(l=0|_[m+12>>2];;){s=(a=0|_[(r=A+(n<<4)|0)>>2])?0|_[a+12>>2]:-1,p=f?0|_[f+12>>2]:-1,c=(d=0|_[A+(n<<4)+4>>2])?0|_[d+12>>2]:-1;do{if((0|l)<=(0|s)){if((s=(0|p)>(0|c))|(0|m)==(0|a)^1){if((0|m)==(0|a)&s)break;break t}if((0|f)!=(0|d))break t;if((0|_[A+(n<<4)+8>>2])>>>0>=u>>>0)break t}}while(0);n=n+-1|0}else for(;;){s=(a=0|_[(r=A+(n<<4)|0)>>2])?0|_[a+12>>2]:-1,p=f?0|_[f+12>>2]:-1,c=(d=0|_[A+(n<<4)+4>>2])?0|_[d+12>>2]:-1;do{if((0|s)>=-1){if((s=(0|p)>(0|c))|1^!(0|a)){if(!(0|a)&s)break;break t}if((0|f)!=(0|d))break t;if((0|_[A+(n<<4)+8>>2])>>>0>=u>>>0)break t}}while(0);n=n+-1|0}}while(0);if((0|o)<=(0|n)&&(c=0|_[b>>2],a=0|_[A+(o<<4)+4>>2],d=0|_[A+(o<<4)+8>>2],l=0|_[A+(o<<4)+12>>2],_[b>>2]=_[r>>2],_[b+4>>2]=_[r+4>>2],_[b+8>>2]=_[r+8>>2],_[b+12>>2]=_[r+12>>2],A=0|_[t+12>>2],_[A+(n<<4)>>2]=c,_[A+(n<<4)+4>>2]=a,_[A+(n<<4)+8>>2]=d,_[A+(n<<4)+12>>2]=l,n=n+-1|0,o=o+1|0),(0|o)>(0|n))break;A=0|_[t+12>>2]}if((0|n)>(0|e)&&He(t,e,n),!((0|o)<(0|i)))break;e=o}}function Ze(t,e,i,o,r,s,c,a,b){t|=0,i|=0,o|=0,r|=0,s=+s,c|=0,a|=0,b|=0;var d,l=0,A=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0;if(d=Q,Q=Q+32|0,e|=0){if((0|(l=0|_[t+44>>2]))<128){if((0|_[t+48>>2])<128){if(_[6630]=1+(0|_[6630]),(A=0|di(531))?(_[(A+4+15&-16)-4>>2]=A,u=A+4+15&-16):u=0,(0|(f=0|_[t+44>>2]))>0){A=0;do{_[u+(A<<2)>>2]=_[(0|_[t+52>>2])+(A<<2)>>2],A=A+1|0}while((0|A)!=(0|f))}0|(A=0|_[t+52>>2])&&(0|n[t+56|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[A+-4>>2])),_[t+52>>2]=0),n[t+56|0]=1,_[t+52>>2]=u,_[t+48>>2]=128,A=t+52|0}else A=t+52|0;do{_[(0|_[A>>2])+(l<<2)>>2]=0,l=l+1|0}while(128!=(0|l));k=t+48|0}else A=t+52|0,k=t+48|0;_[t+44>>2]=128,_[_[A>>2]>>2]=e,f=1,l=126;do{S=f+-1|0,u=0|_[A>>2],w=0|_[u+(S<<2)>>2],C=+p[w+4>>2]-+p[a+4>>2],y=+p[w+8>>2]-+p[a+8>>2],p[d>>2]=+p[w>>2]-+p[a>>2],p[d+4>>2]=C,p[d+8>>2]=y,p[d+12>>2]=0,y=+p[w+20>>2]-+p[c+4>>2],C=+p[w+24>>2]-+p[c+8>>2],p[d+16>>2]=+p[w+16>>2]-+p[c>>2],p[d+20>>2]=y,p[d+24>>2]=C,p[d+28>>2]=0,v=0|_[r>>2],C=+p[i>>2],y=+p[o>>2],g=(+p[d+(v<<4)>>2]-C)*y,C=y*(+p[d+(1-v<<4)>>2]-C),v=0|_[r+4>>2],y=+p[i+4>>2],B=+p[o+4>>2],h=(+p[d+(v<<4)+4>>2]-y)*B,y=B*(+p[d+(1-v<<4)+4>>2]-y);do{if(h>C|g>y||(j=h>g?h:g,R=y<C?y:C,v=0|_[r+8>>2],I=+p[i+8>>2],B=+p[o+8>>2],(D=(+p[d+(v<<4)+8>>2]-I)*B)>R|j>(I=B*(+p[d+(1-v<<4)+8>>2]-I)))||!((I<R?I:R)>0&&(D>j?D:j)<s))f=S;else{if(!(0|_[w+40>>2])){id[127&_[12+(0|_[b>>2])>>2]](b,w),f=S;break}if((0|S)>(0|l)){if((0|(v=0|_[t+44>>2]))<v<<1){if((0|_[k>>2])<v<<1){if(v)if(_[6630]=1+(0|_[6630]),(l=0|di(16+(v<<3|3)|0))?(_[(l+4+15&-16)-4>>2]=l,m=l+4+15&-16):m=0,(0|(u=0|_[t+44>>2]))>0){l=0;do{_[m+(l<<2)>>2]=_[(0|_[A>>2])+(l<<2)>>2],l=l+1|0}while((0|l)!=(0|u));e=m,l=m}else e=m,l=m;else e=0,l=0;0|(u=0|_[A>>2])&&(0|n[t+56|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[u+-4>>2])),_[A>>2]=0),n[t+56|0]=1,_[A>>2]=e,_[k>>2]=v<<1}else l=u;u=v;do{_[l+(u<<2)>>2]=0,u=u+1|0,l=0|_[A>>2]}while((0|u)!=v<<1);u=l+(S<<2)|0}else u=u+(S<<2)|0;_[t+44>>2]=v<<1,l=(v<<1)-2|0}else u=u+(S<<2)|0;_[u>>2]=_[w+36>>2],_[(0|_[A>>2])+(f<<2)>>2]=_[w+40>>2],f=f+1|0}}while(0)}while(0|f);Q=d}else Q=d}function Ue(t,e,i,n){var o,_,r,s,c,a,b,d,A,m,h,y,g,C,v,S,w,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0,O=0,x=0,T=0;jt(t|=0,(e|=0)+(284*(i|=0)|0)|0,n|=0),o=+p[e+(284*i|0)+52>>2],R=+p[e+(284*i|0)+56>>2],k=+p[e+(284*i|0)+60>>2],w=+p[e+(284*i|0)+76>>2],O=+p[e+(284*i|0)+72>>2],T=+p[e+(284*i|0)+68>>2],m=(w*-R-O*-k)*(F=1/+l(+((O*-o-T*-R)*(O*-o-T*-R)+((w*-R-O*-k)*(w*-R-O*-k)+(T*-k-w*-o)*(T*-k-w*-o))))),A=(T*-k-w*-o)*F,F*=O*-o-T*-R,D=.5*+p[e+(284*i|0)+232>>2],v=1-((B=+u(+D)/+l(+(o*o+R*R+k*k)))*-R*(B*-R*(I=2/((D=+f(+D))*D+(B*-k*(B*-k)+(B*-o*(B*-o)+B*-R*(B*-R))))))+B*-k*(B*-k*I)),C=B*-o*(B*-R*I)-D*(B*-k*I),S=B*-o*(B*-k*I)+D*(B*-R*I),y=B*-o*(B*-R*I)+D*(B*-k*I),h=1-(B*-o*(B*-o*I)+B*-k*(B*-k*I)),g=B*-R*(B*-k*I)-D*(B*-o*I),r=B*-o*(B*-k*I)-D*(B*-R*I),D=B*-R*(B*-k*I)+D*(B*-o*I),I=1-(B*-o*(B*-o*I)+B*-R*(B*-R*I)),B=-.5*+p[e+(284*i|0)+236>>2],s=1-(O*(x=+u(+B)/+l(+(w*w+(O*O+T*T))))*(O*x*(W=2/((B=+f(+B))*B+(w*x*(w*x)+(T*x*(T*x)+O*x*(O*x))))))+w*x*(w*x*W)),_=T*x*(O*x*W)-B*(w*x*W),d=T*x*(w*x*W)+B*(O*x*W),c=T*x*(O*x*W)+B*(w*x*W),j=1-(T*x*(T*x*W)+w*x*(w*x*W)),b=O*x*(w*x*W)-B*(T*x*W),a=T*x*(w*x*W)-B*(O*x*W),B=O*x*(w*x*W)+B*(T*x*W),W=1-(T*x*(T*x*W)+O*x*(O*x*W)),x=+p[e+(284*i|0)+68>>2],O=+p[e+(284*i|0)+72>>2],T=+p[e+(284*i|0)+76>>2],p[e+(284*i|0)+92>>2]=T*(v*d+C*b+S*W)+(x*(S*a+(C*c+v*s))+O*(S*B+(v*_+C*j))),p[e+(284*i|0)+96>>2]=F*(v*d+C*b+S*W)+(m*(S*a+(C*c+v*s))+A*(S*B+(v*_+C*j))),p[e+(284*i|0)+100>>2]=(v*d+C*b+S*W)*-k+((S*a+(C*c+v*s))*-o+(S*B+(v*_+C*j))*-R),p[e+(284*i|0)+104>>2]=0,p[e+(284*i|0)+108>>2]=T*(y*d+b*h+g*W)+(x*(g*a+(c*h+y*s))+O*(g*B+(y*_+h*j))),p[e+(284*i|0)+112>>2]=F*(y*d+b*h+g*W)+(m*(g*a+(c*h+y*s))+A*(g*B+(y*_+h*j))),p[e+(284*i|0)+116>>2]=(y*d+b*h+g*W)*-k+((g*a+(c*h+y*s))*-o+(g*B+(y*_+h*j))*-R),p[e+(284*i|0)+120>>2]=0,p[e+(284*i|0)+124>>2]=T*(r*d+D*b+I*W)+(x*(a*I+(D*c+r*s))+O*(B*I+(r*_+D*j))),p[e+(284*i|0)+128>>2]=F*(r*d+D*b+I*W)+(m*(a*I+(D*c+r*s))+A*(B*I+(r*_+D*j))),p[e+(284*i|0)+132>>2]=(r*d+D*b+I*W)*-k+((a*I+(D*c+r*s))*-o+(B*I+(r*_+D*j))*-R),p[e+(284*i|0)+136>>2]=0,R=R*(j=+p[e+(284*i|0)+32>>2])+ +p[e+(284*i|0)+40>>2],k=k*j+ +p[e+(284*i|0)+44>>2],p[e+(284*i|0)+140>>2]=+p[e+(284*i|0)+36>>2]+o*j,p[e+(284*i|0)+144>>2]=R,p[e+(284*i|0)+148>>2]=k,p[e+(284*i|0)+152>>2]=0}function Ye(t,e,i){e|=0,i|=0;var n,o,r=0,a=0,b=0,d=0,l=0,A=0,f=0,u=0,m=0;return o=Q,Q=Q+80|0,f=0|_[4+(t|=0)>>2],yd[3&_[16+(0|_[f>>2])>>2]](f,o+76|0,o+72|0,o+68|0,o+64|0,o+60|0,o+56|0,o+52|0,o+48|0,e),f=(0|_[o+60>>2])+(0|g(0|_[o+56>>2],i))|0,m=0|_[t+4>>2],u=!(0|_[o+68>>2]),n=0|_[o+76>>2],3==(0|_[o+48>>2])?(A=0|_[o+64>>2],d=n+(0|g(A,0|s[f+4>>1]))|0,u?(a=+p[d+4>>2]*+p[m+8>>2],b=+p[d>>2]*+p[m+4>>2],l=d+8|0,r=+p[m+12>>2]):(a=+p[m+8>>2]*+c[d+8>>3],b=+p[m+4>>2]*+c[d>>3],l=m+12|0,r=+c[d+16>>3]),r=+p[l>>2]*r,p[o+32>>2]=b,p[o+36>>2]=a,p[o+40>>2]=r,p[o+44>>2]=0,d=n+(0|g(A,0|s[f+2>>1]))|0,u?(a=+p[d+4>>2]*+p[m+8>>2],b=+p[d>>2]*+p[m+4>>2],l=d+8|0,r=+p[m+12>>2]):(a=+p[m+8>>2]*+c[d+8>>3],b=+p[m+4>>2]*+c[d>>3],l=m+12|0,r=+c[d+16>>3]),r=+p[l>>2]*r,p[o+16>>2]=b,p[o+20>>2]=a,p[o+24>>2]=r,p[o+28>>2]=0,l=n+(0|g(A,0|s[f>>1]))|0,u?(a=+p[l+4>>2]*+p[m+8>>2],b=+p[l>>2]*+p[m+4>>2],d=l+8|0,r=+p[m+12>>2]):(a=+p[m+8>>2]*+c[l+8>>3],b=+p[m+4>>2]*+c[l>>3],d=m+12|0,r=+c[l+16>>3]),r=+p[d>>2]*r,p[o>>2]=b,p[(m=o+4|0)>>2]=a,p[(m=o+8|0)>>2]=r,p[(m=o+12|0)>>2]=0,m=0|_[(m=t+8|0)>>2],u=0|_[m>>2],u=0|_[(u=u+8|0)>>2],cd[127&u](m,o,e,i),i=0|_[t+4>>2],t=0|_[i>>2],t=0|_[(t=t+24|0)>>2],id[127&t](i,e),void(Q=o)):(A=0|_[o+64>>2],d=n+(0|g(A,0|_[f+8>>2]))|0,u?(l=d+8|0,a=+p[d+4>>2]*+p[m+8>>2],b=+p[d>>2]*+p[m+4>>2],r=+p[m+12>>2]):(l=m+12|0,a=+p[m+8>>2]*+c[d+8>>3],b=+p[m+4>>2]*+c[d>>3],r=+c[d+16>>3]),r=+p[l>>2]*r,p[o+32>>2]=b,p[o+36>>2]=a,p[o+40>>2]=r,p[o+44>>2]=0,d=n+(0|g(A,0|_[f+4>>2]))|0,u?(a=+p[d+4>>2]*+p[m+8>>2],b=+p[d>>2]*+p[m+4>>2],l=d+8|0,r=+p[m+12>>2]):(a=+p[m+8>>2]*+c[d+8>>3],b=+p[m+4>>2]*+c[d>>3],l=m+12|0,r=+c[d+16>>3]),r=+p[l>>2]*r,p[o+16>>2]=b,p[o+20>>2]=a,p[o+24>>2]=r,p[o+28>>2]=0,l=n+(0|g(A,0|_[f>>2]))|0,u?(a=+p[l+4>>2]*+p[m+8>>2],b=+p[l>>2]*+p[m+4>>2],d=l+8|0,r=+p[m+12>>2]):(a=+p[m+8>>2]*+c[l+8>>3],b=+p[m+4>>2]*+c[l>>3],d=m+12|0,r=+c[l+16>>3]),r=+p[d>>2]*r,p[o>>2]=b,p[(m=o+4|0)>>2]=a,p[(m=o+8|0)>>2]=r,p[(m=o+12|0)>>2]=0,m=0|_[(m=t+8|0)>>2],u=0|_[m>>2],u=0|_[(u=u+8|0)>>2],cd[127&u](m,o,e,i),i=0|_[t+4>>2],t=0|_[i>>2],t=0|_[(t=t+24|0)>>2],id[127&t](i,e),void(Q=o))}function Je(t,e,i,o,r,s,c,b){e|=0,i|=0,o|=0,r|=0,s|=0,c|=0,b|=0;var A,f,u,m,h,y=0,g=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0;_[4+(t|=0)>>2]=4,_[t+8>>2]=-1,_[t+12>>2]=-1,p[t+16>>2]=34028234663852886e22,n[t+20|0]=1,n[t+21|0]=0,_[t+24>>2]=-1,_[t+28>>2]=e,_[t+32>>2]=i,p[t+36>>2]=0,p[t+40>>2]=.30000001192092896,_[t+44>>2]=0,_[t>>2]=5604,p[t+688>>2]=0,p[t+692>>2]=-1,p[t+696>>2]=.8999999761581421,p[t+700>>2]=.30000001192092896,p[t+704>>2]=1,p[t+708>>2]=0,p[t+712>>2]=0,n[t+716|0]=0,n[t+736|0]=0,n[t+737|0]=0,n[t+738|0]=0,n[t+739|0]=1,n[t+740|0]=1&b,_[t+748>>2]=0,_[t+600>>2]=_[o>>2],_[t+600+4>>2]=_[o+4>>2],_[t+600+8>>2]=_[o+8>>2],_[t+600+12>>2]=_[o+12>>2],y=+p[e+4>>2],g=+p[e+20>>2],C=+p[e+36>>2],v=+p[s>>2],S=+p[s+4>>2],w=+p[s+8>>2];do{if(!(y*v+g*S+C*w>=.9999998807907104)){if(y*v+g*S+C*w<=-.9999998807907104){i=0|_[e+8>>2],o=0|_[e+40>>2],k=0|_[e+24>>2],j=+p[e+12>>2],D=+p[e+28>>2],R=+p[e+44>>2];break}p[a>>2]=C*S-g*w,i=0|_[a>>2],p[a>>2]=y*w-C*v,k=0|_[a>>2],p[a>>2]=g*v-y*S,o=0|_[a>>2],j=w*(y*w-C*v)-S*(g*v-y*S),D=v*(g*v-y*S)-w*(C*S-g*w),R=S*(C*S-g*w)-v*(y*w-C*v);break}i=0|_[e+8>>2],o=0|_[e+40>>2],k=0|_[e+24>>2],j=-+p[e+12>>2],D=-+p[e+28>>2],R=-+p[e+44>>2]}while(0);p[t+552>>2]=j,_[t+556>>2]=i,_[t+560>>2]=_[s>>2],p[t+564>>2]=0,p[t+568>>2]=D,_[t+572>>2]=k,_[t+576>>2]=_[s+4>>2],p[t+580>>2]=0,p[t+584>>2]=R,_[t+588>>2]=o,_[t+592>>2]=_[s+8>>2],p[t+596>>2]=0,v=+p[s+4>>2],A=+p[c+8>>2],S=+p[s+8>>2],f=+p[c+4>>2],u=+p[c>>2],y=+p[s>>2];do{if(A*S+(v*f+u*y)<-.9999998807907104){if(+d(+S)>.7071067690849304){C=-S*(g=1/+l(+(v*v+S*S))),w=0,g*=v,y=0;break}C=y*(S=1/+l(+(v*v+y*y))),w=0,g=0,y=-v*S;break}C=1/(I=+l(2*(A*S+(v*f+u*y)+1)))*(S*u-A*y),w=.5*I,g=1/I*(f*y-v*u),y=1/I*(v*A-S*f)}while(0);h=j*w+R*C-D*g,v=R*w+D*y-j*C,m=-j*y-D*C-R*g,I=(S=D*w+j*g-R*y)*(R=-g)+(w*h+m*(j=-y))-v*(C=-C),D=v*j+(w*S+m*C)-h*R,j=h*C+(m*R+w*v)-S*j,_[t+664>>2]=_[r>>2],_[t+664+4>>2]=_[r+4>>2],_[t+664+8>>2]=_[r+8>>2],_[t+664+12>>2]=_[r+12>>2],p[t+616>>2]=I,p[t+620>>2]=f*j-A*D,_[t+624>>2]=_[c>>2],p[t+628>>2]=0,p[t+632>>2]=D,p[t+636>>2]=A*I-u*j,_[t+640>>2]=_[c+4>>2],p[t+644>>2]=0,p[t+648>>2]=j,p[t+652>>2]=u*D-f*I,_[t+656>>2]=_[c+8>>2],p[t+660>>2]=0,p[t+732>>2]=b?-1:1}function Xe(t,e,i,n){e|=0,i|=0,n|=0;var o,r,s,c,a,b,d,A,f=0,u=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0,O=0,x=0,T=0;if(A=Q,Q=Q+32|0,t|=0){for(d=+p[i>>2]-+p[e>>2],b=+p[i+4>>2]-+p[e+4>>2],o=+p[i+8>>2]-+p[e+8>>2],s=d*(r=1/+l(+(d*d+b*b+o*o)))==0?0xde0b6b000000000:1/(d*r),c=b*r==0?0xde0b6b000000000:1/(b*r),a=o*r==0?0xde0b6b000000000:1/(o*r),_[6630]=1+(0|_[6630]),(i=0|di(531))?(_[(i+4+15&-16)-4>>2]=i,i=i+4+15&-16):i=0,wn(i+4|0,0,508),_[i>>2]=t,w=1,S=126,v=128,j=i,D=128,B=i,g=i,f=i;;){I=0|_[(i=j+((k=w+-1|0)<<2)|0)>>2],_[A>>2]=_[I>>2],_[A+4>>2]=_[I+4>>2],_[A+8>>2]=_[I+8>>2],_[A+12>>2]=_[I+12>>2],_[A+16>>2]=_[I+16>>2],_[A+16+4>>2]=_[I+16+4>>2],_[A+16+8>>2]=_[I+16+8>>2],_[A+16+12>>2]=_[I+16+12>>2],m=+p[e>>2],u=s*(+p[A+((s<0&1)<<4)>>2]-m),m=s*(+p[A+((1&(s<0^1))<<4)>>2]-m),y=+p[e+4>>2],h=c*(+p[A+((c<0&1)<<4)+4>>2]-y),y=c*(+p[A+((1&(c<0^1))<<4)+4>>2]-y);do{if(h>m|u>y||(F=h>u?h:u,W=y<m?y:m,x=+p[e+8>>2],(O=a*(+p[A+((a<0&1)<<4)+8>>2]-x))>W|F>(x=a*(+p[A+((1&(a<0^1))<<4)+8>>2]-x)))||!((x<W?x:W)>0&&(O>F?O:F)<o*(o*r)+(d*(d*r)+b*(b*r))))w=k,i=j,C=D,t=B;else{if(!(0|_[I+40>>2])){id[127&_[12+(0|_[n>>2])>>2]](n,I),w=k,i=j,C=D,t=B;break}if((0|k)>(0|S)){if((0|D)<(0|(R=D<<1))){do{if((0|v)<(0|R)){if(D)if(_[6630]=1+(0|_[6630]),(i=0|di(16+(D<<3|3)|0))?(_[(i+4+15&-16)-4>>2]=i,t=i+4+15&-16):t=0,(0|D)>0){i=0;do{_[t+(i<<2)>>2]=_[j+(i<<2)>>2],i=i+1|0}while((0|i)!=(0|D));f=t,i=t}else f=t,i=t,T=18;else f=0,i=0,T=18;if(18==(0|T)&&(T=0,!j)){v=R,g=f,C=f,t=f;break}B?(_[6631]=1+(0|_[6631]),Li(0|_[B+-4>>2]),v=R,g=f,C=f,t=f):(v=R,g=f,C=f,t=f)}else i=j,C=f,t=B}while(0);wn(i+(D<<2)|0,0,D<<2),S=i+(k<<2)|0,f=C}else S=i,i=j,t=B;k=R+-2|0,C=R}else k=S,S=i,i=j,C=D,t=B;_[S>>2]=_[I+36>>2],_[i+(w<<2)>>2]=_[I+40>>2],w=w+1|0,S=k}}while(0);if(!w)break;j=i,D=C,B=t}!(0|i)|!(0|g)||(_[6631]=1+(0|_[6631]),Li(0|_[g+-4>>2])),Q=A}else Q=A}function ze(t,e,i){i|=0;var n=0,o=0,r=0,s=0,c=0,a=0,b=0,d=0,l=0,A=0,f=0,u=0,m=0;if(!!(0|(t|=0))&!!(0|(e|=0))){for(_[6630]=1+(0|_[6630]),(n=0|di(1043))?(_[(n+4+15&-16)-4>>2]=n,o=n+4+15&-16):o=0,_[o>>2]=t,_[o+4>>2]=e,n=1,e=124,r=128,t=o,a=128,c=o,l=o;;){if(A=0|_[t+((u=n+-1|0)<<3)>>2],f=0|_[t+(u<<3)+4>>2],(0|u)>(0|e)){d=a<<1;do{if((0|a)<(0|d)&(0|r)<(0|d)){if(a)if(_[6630]=1+(0|_[6630]),(e=0|di(16+(a<<4|3)|0))?(_[(e+4+15&-16)-4>>2]=e,o=e+4+15&-16):o=0,(0|a)>0){e=0;do{c=0|_[4+(s=t+(e<<3)|0)>>2],_[(b=o+(e<<3)|0)>>2]=_[s>>2],_[b+4>>2]=c,e=e+1|0}while((0|e)!=(0|a));r=o,t=o}else r=o,e=o,m=13;else r=0,e=0,m=13;if(13==(0|m)){if(m=0,!t){s=d,t=e,o=r,e=r;break}t=e}l?(_[6631]=1+(0|_[6631]),Li(0|_[l+-4>>2]),s=d,o=r,e=r):(s=d,o=r,e=r)}else s=r,o=c,e=l}while(0);b=d+-4|0,r=s,a=d,c=o,s=e}else b=e,s=l;do{if((0|A)==(0|f))0|_[A+40>>2]?(f=0|_[A+36>>2],_[t+(u<<3)>>2]=f,_[t+(u<<3)+4>>2]=f,f=0|_[A+40>>2],u=n+1|0,_[t+(n<<3)>>2]=f,_[t+(n<<3)+4>>2]=f,f=0|_[A+40>>2],_[t+(u<<3)>>2]=_[A+36>>2],_[t+(u<<3)+4>>2]=f,n=n+2|0):n=u;else{if(+p[A>>2]<=+p[f+16>>2]&&+p[A+16>>2]>=+p[f>>2]&&+p[A+4>>2]<=+p[f+20>>2]&&+p[A+20>>2]>=+p[f+4>>2]&&+p[A+8>>2]<=+p[f+24>>2]&&+p[A+24>>2]>=+p[f+8>>2]){if(e=!!(0|_[f+40>>2]),0|_[A+40>>2]){if(o=0|_[A+36>>2],e){d=0|_[f+36>>2],_[t+(u<<3)>>2]=o,_[t+(u<<3)+4>>2]=d,d=0|_[f+36>>2],l=n+1|0,_[t+(n<<3)>>2]=_[A+40>>2],_[t+(n<<3)+4>>2]=d,d=0|_[f+40>>2],u=n+2|0,_[t+(l<<3)>>2]=_[A+36>>2],_[t+(l<<3)+4>>2]=d,f=0|_[f+40>>2],_[t+(u<<3)>>2]=_[A+40>>2],_[t+(u<<3)+4>>2]=f,n=n+3|0;break}_[t+(u<<3)>>2]=o,_[t+(u<<3)+4>>2]=f,_[t+(n<<3)>>2]=_[A+40>>2],_[t+(n<<3)+4>>2]=f,n=n+1|0;break}if(e){l=0|_[f+36>>2],_[t+(u<<3)>>2]=A,_[t+(u<<3)+4>>2]=l,u=0|_[f+40>>2],_[t+(n<<3)>>2]=A,_[t+(n<<3)+4>>2]=u,n=n+1|0;break}rd[127&_[8+(0|_[i>>2])>>2]](i,A,f),n=u;break}n=u}}while(0);if(!n)break;e=b,l=s}!(0|t)|!(0|c)||(_[6631]=1+(0|_[6631]),Li(0|_[c+-4>>2]))}}function Ke(t,e,i,o,r,s){e|=0,i|=0,o|=0,r|=0,s|=0,_[4+(t|=0)>>2]=6,_[t+8>>2]=-1,_[t+12>>2]=-1,p[t+16>>2]=34028234663852886e22,n[t+20|0]=1,n[t+21|0]=0,_[t+24>>2]=-1,_[t+28>>2]=e,_[t+32>>2]=i,p[t+36>>2]=0,p[t+40>>2]=.30000001192092896,_[t+44>>2]=0,_[t>>2]=5276,_[t+48>>2]=_[o>>2],_[t+48+4>>2]=_[o+4>>2],_[t+48+8>>2]=_[o+8>>2],_[t+48+12>>2]=_[o+12>>2],_[t+64>>2]=_[o+16>>2],_[t+64+4>>2]=_[o+16+4>>2],_[t+64+8>>2]=_[o+16+8>>2],_[t+64+12>>2]=_[o+16+12>>2],_[t+80>>2]=_[o+32>>2],_[t+80+4>>2]=_[o+32+4>>2],_[t+80+8>>2]=_[o+32+8>>2],_[t+80+12>>2]=_[o+32+12>>2],_[t+96>>2]=_[o+48>>2],_[t+96+4>>2]=_[o+48+4>>2],_[t+96+8>>2]=_[o+48+8>>2],_[t+96+12>>2]=_[o+48+12>>2],_[t+112>>2]=_[r>>2],_[t+112+4>>2]=_[r+4>>2],_[t+112+8>>2]=_[r+8>>2],_[t+112+12>>2]=_[r+12>>2],_[t+128>>2]=_[r+16>>2],_[t+128+4>>2]=_[r+16+4>>2],_[t+128+8>>2]=_[r+16+8>>2],_[t+128+12>>2]=_[r+16+12>>2],_[t+144>>2]=_[r+32>>2],_[t+144+4>>2]=_[r+32+4>>2],_[t+144+8>>2]=_[r+32+8>>2],_[t+144+12>>2]=_[r+32+12>>2],_[t+160>>2]=_[r+48>>2],_[t+160+4>>2]=_[r+48+4>>2],_[t+160+8>>2]=_[r+48+8>>2],_[t+160+12>>2]=_[r+48+12>>2],i=48+(e=t+680|0)|0;do{_[e>>2]=0,e=e+4|0}while((0|e)<(0|i));_[t+740>>2]=0,_[t+740+4>>2]=0,_[t+740+8>>2]=0,_[t+740+12>>2]=0,_[t+756>>2]=1045220557,_[t+760>>2]=1045220557,_[t+764>>2]=1045220557,_[t+768>>2]=0,_[t+768+4>>2]=0,_[t+768+8>>2]=0,_[t+768+12>>2]=0,_[t+768+16>>2]=0,p[t+728>>2]=.699999988079071,p[t+732>>2]=1,p[t+736>>2]=.5,n[t+788|0]=0,n[t+788+1|0]=0,n[t+788+2|0]=0,_[t+792>>2]=0,_[t+792+4>>2]=0,_[t+792+8>>2]=0,_[t+808>>2]=0,_[t+808+4>>2]=0,_[t+808+8>>2]=0,p[t+928>>2]=0,p[t+876>>2]=0,p[t+880>>2]=.10000000149011612,p[t+884>>2]=300,p[t+868>>2]=1,p[t+872>>2]=-1,p[t+896>>2]=0,p[t+900>>2]=.20000000298023224,p[t+904>>2]=0,p[t+908>>2]=0,p[t+888>>2]=1,p[t+892>>2]=.5,_[t+924>>2]=0,p[t+916>>2]=0,n[t+912|0]=0,p[t+992>>2]=0,p[t+940>>2]=0,p[t+944>>2]=.10000000149011612,p[t+948>>2]=300,p[t+932>>2]=1,p[t+936>>2]=-1,p[t+960>>2]=0,p[t+964>>2]=.20000000298023224,p[t+968>>2]=0,p[t+972>>2]=0,p[t+952>>2]=1,p[t+956>>2]=.5,_[t+988>>2]=0,p[t+980>>2]=0,n[t+976|0]=0,p[t+1056>>2]=0,p[t+1004>>2]=0,p[t+1008>>2]=.10000000149011612,p[t+1012>>2]=300,p[t+996>>2]=1,p[t+1e3>>2]=-1,p[t+1024>>2]=0,p[t+1028>>2]=.20000000298023224,p[t+1032>>2]=0,p[t+1036>>2]=0,p[t+1016>>2]=1,p[t+1020>>2]=.5,_[t+1052>>2]=0,p[t+1044>>2]=0,n[t+1040|0]=0,n[t+1300|0]=1&s,n[t+1301|0]=1,_[t+1304>>2]=0,n[t+1308|0]=0,Pi(t,4+(0|_[t+28>>2])|0,4+(0|_[t+32>>2])|0)}function qe(t,e,i){e|=0,i|=0;var n,o,r,s,c,b,d,A,f,u,m,h,y=0,g=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0;if(B=+p[452+(t|=0)>>2],C=(d=+p[t+304>>2])>0|(s=+p[t+300>>2])>0?(0|_[t+288>>2])<4:0,h=0|_[t+720>>2],(f=+p[h+(104*i|0)+88>>2])>0&&(n=0|_[_[t+684>>2]>>2],C&&(k=(u=+p[h+(104*i|0)+40>>2])-+p[e>>2],R=(m=+p[h+(104*i|0)+44>>2])-+p[e+4>>2],S=(I=+p[h+(104*i|0)+48>>2])-+p[e+8>>2],w=+l(+(k*k+R*R+S*S)),k*k+R*R+S*S>1.1920928955078125e-7)))switch(b=k*(1/w),A=R*(1/w),D=S*(1/w),o=+p[h+(104*i|0)+72>>2],r=+p[h+(104*i|0)+76>>2],c=+p[h+(104*i|0)+80>>2],0|_[t+288>>2]){case 2:return g=D*(c*(j=k*o+R*r+S*c<0?-1:1))+(b*(o*j)+A*(r*j)),v=.5*+p[h+(104*i|0)+92>>2],_[a>>2]=n,R=g*(.5*s*(y=+p[a>>2])*(k*k+R*R+S*S)*v),g>0&g<.9847999811172485?(w=(D*(b*(c*j)-D*(o*j))-A*(A*(o*j)-b*(r*j)))*(S=+l(+(1-g*g))*(.5*d*y*w*v)),k=(b*(A*(o*j)-b*(r*j))-D*(D*(r*j)-A*(c*j)))*S,S*=A*(D*(r*j)-A*(c*j))-b*(b*(c*j)-D*(o*j))):(w=0,k=0,S=0),(y=B*(f*(-D*R))*(B*(f*(-D*R)))+(B*(f*(-b*R))*(B*(f*(-b*R)))+B*(f*(-A*R))*(B*(f*(-A*R)))))>0&&y>=u*u+m*m+I*I?(v=(y=+l(+(u*u+m*m+I*I))/+l(+y)*.800000011920929)*(-b*R),g=y*(-D*R),y*=-A*R):(v=-b*R,g=-D*R,y=-A*R),I=y+ +p[h+(104*i|0)+60>>2],B=g+ +p[h+(104*i|0)+64>>2],p[h+(104*i|0)+56>>2]=w+(v+ +p[h+(104*i|0)+56>>2]),p[h+(104*i|0)+60>>2]=k+I,void(p[h+(104*i|0)+64>>2]=S+B);case 1:case 3:case 0:if(!(S*(c*(y=k*o+R*r+S*c<0?-1:1))+(k*(o*y)+R*(r*y))>0))return;return v=b*(s*(j=-(k*k+R*R+S*S)*((S*(c*y)+(k*(o*y)+R*(r*y)))*+p[h+(104*i|0)+92>>2])*.5*(_[a>>2]=n,+p[a>>2])))+(o*y*(d*j)+0),g=A*(s*j)+(r*y*(d*j)+0),B*f*(y=D*(s*j)+(c*y*(d*j)+0))*(B*f*y)+(B*f*v*(B*f*v)+B*f*g*(B*f*g))>u*u+m*m+I*I?(D=1/+l(+(y*y+(v*v+g*g))),p[h+(104*i|0)+56>>2]=+p[h+(104*i|0)+56>>2]-1/(B*f)*(v*D*(I*(y*D)+(u*(v*D)+m*(g*D)))),p[h+(104*i|0)+60>>2]=+p[h+(104*i|0)+60>>2]-1/(B*f)*(g*D*(I*(y*D)+(u*(v*D)+m*(g*D)))),void(p[h+(104*i|0)+64>>2]=+p[h+(104*i|0)+64>>2]-1/(B*f)*(y*D*(I*(y*D)+(u*(v*D)+m*(g*D)))))):(p[h+(104*i|0)+56>>2]=v+ +p[h+(104*i|0)+56>>2],p[h+(104*i|0)+60>>2]=g+ +p[h+(104*i|0)+60>>2],void(p[h+(104*i|0)+64>>2]=y+ +p[h+(104*i|0)+64>>2]));default:return}}function $e(t,e,i,n,o,r,s,c){t|=0,e|=0,n=+n,o=+o,r=+r,s|=0,c|=0;var a,b,d,A,f,u,m,h,y,g,C,v,S,w,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0,O=0,x=0,T=0,P=0,V=0,M=0,G=0,L=0,N=0,E=0,H=0,Z=0,U=0,Y=0;w=Q,Q=Q+32|0,a=+p[(i|=0)>>2],d=+p[i+4>>2],b=+p[i+8>>2],P=+p[s>>2],O=+p[s+4>>2],W=+p[s+8>>2],B=+p[c>>2],F=+p[c+4>>2],T=+p[c+8>>2],f=(n-a)*(A=1/+l(+((n-a)*(n-a)+(o-d)*(o-d)+(r-b)*(r-b))))==0?0xde0b6b000000000:1/((n-a)*A),u=(o-d)*A==0?0xde0b6b000000000:1/((o-d)*A),m=(r-b)*A==0?0xde0b6b000000000:1/((r-b)*A),h=(a>n?n:a)+P,y=(d>o?o:d)+O,g=(b>r?r:b)+W,C=(a<n?n:a)+B,v=(d<o?o:d)+F,S=(b<r?r:b)+T,R=0|_[t+56>>2];t:do{if((0|R)>0)for(D=0|_[t+96>>2],k=0,M=0,V=R;;){if(k=k+1|0,_[w>>2]=_[D>>2],_[w+4>>2]=_[D+4>>2],_[w+8>>2]=_[D+8>>2],_[w+12>>2]=_[D+12>>2],x=D+16|0,_[w+16>>2]=_[x>>2],_[w+16+4>>2]=_[x+4>>2],_[w+16+8>>2]=_[x+8>>2],_[w+16+12>>2]=_[x+12>>2],p[w>>2]=+p[w>>2]-B,p[w+4>>2]=+p[w+4>>2]-F,p[w+8>>2]=+p[w+8>>2]-T,p[w+16>>2]=+p[w+16>>2]-P,p[w+20>>2]=+p[w+20>>2]-O,p[w+24>>2]=+p[w+24>>2]-W,R=h>+p[x>>2]||C<+p[D>>2]?0:1,(g>+p[D+24>>2]||S<+p[D+8>>2])&&(R=0),y>+p[D+20>>2]||v<+p[D+4>>2]|1^R||(N=+p[i>>2],L=f*(+p[w+((f<0&1)<<4)>>2]-N),N=f*(+p[w+((1&(f<0^1))<<4)>>2]-N),H=+p[i+4>>2],(E=u*(+p[w+((u<0&1)<<4)+4>>2]-H))>N|L>(H=u*(+p[w+((1&(u<0^1))<<4)+4>>2]-H)))||(Z=E>L?E:L,G=H<N?H:N,Y=+p[i+8>>2],(U=m*(+p[w+((m<0&1)<<4)+8>>2]-Y))>G|Z>(Y=m*(+p[w+((1&(m<0^1))<<4)+8>>2]-Y)))?(R=0,I=-1==(0|(j=0|_[D+32>>2])),x=16):(R=(Y<G?Y:G)>0?(U>Z?U:Z)<(r-b)*A*(r-b)+((n-a)*A*(n-a)+(o-d)*A*(o-d)):0)&-1==(0|(j=0|_[D+32>>2]))?(rd[127&_[8+(0|_[e>>2])>>2]](e,0|_[D+36>>2],0|_[D+40>>2]),R=0|_[t+56>>2],x=17):(I=-1==(0|j),x=16),16==(0|x)&&(x=0,I|R?(R=V,x=17):(D=D+(j<<6)|0,j=j+M|0,R=V)),17==(0|x)&&(D=D+64|0,j=M+1|0),(0|j)>=(0|R))break t;M=j,V=R,B=+p[c>>2],F=+p[c+4>>2],T=+p[c+8>>2],P=+p[s>>2],O=+p[s+4>>2],W=+p[s+8>>2]}else k=0}while(0);(0|_[6610])>=(0|k)||(_[6610]=k),Q=w}function ti(t,e){e|=0;var i,n,o,r,s,c,a,b,d,l,A,f,u=0,m=0,h=0,y=0,g=0,C=0,v=0;2&_[204+(t|=0)>>2]?(_[t+68>>2]=_[t+4>>2],_[t+68+4>>2]=_[t+4+4>>2],_[t+68+8>>2]=_[t+4+8>>2],_[t+68+12>>2]=_[t+4+12>>2],_[t+84>>2]=_[t+20>>2],_[t+84+4>>2]=_[t+20+4>>2],_[t+84+8>>2]=_[t+20+8>>2],_[t+84+12>>2]=_[t+20+12>>2],_[t+100>>2]=_[t+36>>2],_[t+100+4>>2]=_[t+36+4>>2],_[t+100+8>>2]=_[t+36+8>>2],_[t+100+12>>2]=_[t+36+12>>2],_[t+116>>2]=_[t+52>>2],_[t+116+4>>2]=_[t+52+4>>2],_[t+116+8>>2]=_[t+52+8>>2],_[t+116+12>>2]=_[t+52+12>>2],u=t+20|0,m=e+16|0,h=t+36|0,y=e+32|0,g=t+52|0,C=e+48|0,v=t+4|0):(_[t+68>>2]=_[e>>2],_[t+68+4>>2]=_[e+4>>2],_[t+68+8>>2]=_[e+8>>2],_[t+68+12>>2]=_[e+12>>2],_[t+84>>2]=_[e+16>>2],_[t+84+4>>2]=_[e+16+4>>2],_[t+84+8>>2]=_[e+16+8>>2],_[t+84+12>>2]=_[e+16+12>>2],_[t+100>>2]=_[e+32>>2],_[t+100+4>>2]=_[e+32+4>>2],_[t+100+8>>2]=_[e+32+8>>2],_[t+100+12>>2]=_[e+32+12>>2],_[t+116>>2]=_[e+48>>2],_[t+116+4>>2]=_[e+48+4>>2],_[t+116+8>>2]=_[e+48+8>>2],_[t+116+12>>2]=_[e+48+12>>2],u=t+20|0,m=e+16|0,h=t+36|0,y=e+32|0,g=t+52|0,C=e+48|0,v=t+4|0),_[t+132>>2]=_[t+312>>2],_[t+132+4>>2]=_[t+312+4>>2],_[t+132+8>>2]=_[t+312+8>>2],_[t+132+12>>2]=_[t+312+12>>2],_[t+148>>2]=_[t+328>>2],_[t+148+4>>2]=_[t+328+4>>2],_[t+148+8>>2]=_[t+328+8>>2],_[t+148+12>>2]=_[t+328+12>>2],_[v>>2]=_[e>>2],_[v+4>>2]=_[e+4>>2],_[v+8>>2]=_[e+8>>2],_[v+12>>2]=_[e+12>>2],_[u>>2]=_[m>>2],_[u+4>>2]=_[m+4>>2],_[u+8>>2]=_[m+8>>2],_[u+12>>2]=_[m+12>>2],_[h>>2]=_[y>>2],_[h+4>>2]=_[y+4>>2],_[h+8>>2]=_[y+8>>2],_[h+12>>2]=_[y+12>>2],_[g>>2]=_[C>>2],_[g+4>>2]=_[C+4>>2],_[g+8>>2]=_[C+8>>2],_[g+12>>2]=_[C+12>>2],f=+p[t+4>>2],c=+p[t+396>>2],A=+p[t+8>>2],r=+p[t+400>>2],l=+p[t+12>>2],n=+p[t+404>>2],d=+p[t+20>>2],b=+p[t+24>>2],a=+p[t+28>>2],s=+p[t+36>>2],o=+p[t+40>>2],i=+p[t+44>>2],p[t+264>>2]=f*(f*c)+A*(A*r)+l*(l*n),p[t+268>>2]=f*c*d+A*r*b+l*n*a,p[t+272>>2]=f*c*s+A*r*o+l*n*i,p[t+276>>2]=0,p[t+280>>2]=f*(c*d)+A*(r*b)+l*(n*a),p[t+284>>2]=d*(c*d)+b*(r*b)+a*(n*a),p[t+288>>2]=c*d*s+r*b*o+n*a*i,p[t+292>>2]=0,p[t+296>>2]=f*(c*s)+A*(r*o)+l*(n*i),p[t+300>>2]=d*(c*s)+b*(r*o)+a*(n*i),p[t+304>>2]=s*(c*s)+o*(r*o)+i*(n*i),p[t+308>>2]=0}function ei(t,e,i,n){t|=0,e|=0,i|=0,n|=0;var o=0,r=0,s=0,c=0,a=0,b=0,d=0,A=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0,O=0;t:for(;;){if(W=0|_[n+12>>2],(0|e)>0){a=+p[i>>2],s=+p[i+4>>2],c=+p[i+8>>2],o=-1,r=0;do{do{if(0|_[W+(r<<2)>>2]){if(-1!=(0|o)&&!(a*+p[t+(r<<4)>>2]+s*+p[t+(r<<4)+4>>2]+c*+p[t+(r<<4)+8>>2]>a*+p[t+(o<<4)>>2]+s*+p[t+(o<<4)+4>>2]+c*+p[t+(o<<4)+8>>2]))break;o=r}}while(0);r=r+1|0}while((0|r)!=(0|e))}else o=-1;if(3==(0|_[(B=W+(o<<2)|0)>>2])){F=40;break}for(j=+p[i+4>>2],D=+p[i+8>>2],I=+p[i>>2],(s=+l(+((j-0*D)*(j-0*D)+(0*D-I)*(0*D-I)+(0*I-0*j)*(0*I-0*j))))>(c=+l(+((I-0*j)*(I-0*j)+((0*j-D)*(0*j-D)+(0*D-0*I)*(0*D-0*I)))))?(k=1/s*(j-0*D),R=1/s*(0*I-0*j),y=1/s*(0*D-I)):(k=1/c*(0*j-D),R=1/c*(I-0*j),y=1/c*(0*D-0*I)),g=D*y-j*R,C=I*R-D*k,v=j*k-I*y,S=-1==(0|o),h=0,r=-1;;){if(s=I+.02500000037252903*(k*(m=+u(.01745329238474369*(w=+(0|h))))+g*(a=+f(.01745329238474369*w))),c=j+.02500000037252903*(y*m+C*a),a=D+.02500000037252903*(R*m+v*a),(0|e)>0){b=-1,d=0;do{do{if(0|_[W+(d<<2)>>2]){if(-1!=(0|b)&&!(s*+p[t+(d<<4)>>2]+c*+p[t+(d<<4)+4>>2]+a*+p[t+(d<<4)+8>>2]>s*+p[t+(b<<4)>>2]+c*+p[t+(b<<4)+4>>2]+a*+p[t+(b<<4)+8>>2]))break;b=d}}while(0);d=d+1|0}while((0|d)!=(0|e))}else b=-1;if((0|r)==(0|o)&(0|b)==(0|o))break t;e:do{if(!(-1==(0|r)|(0|r)==(0|b))&&w+-40<=w){if((0|e)<=0)for(s=w+-40;;){if((0|r)==(0|o)&S){o=-1;break t}if(!((s+=5)<=w))break e;r=-1}for(m=w+-40;;){s=I+.02500000037252903*(k*(O=+u(+(a=.01745329238474369*m)))+g*(a=+f(+a))),c=j+.02500000037252903*(y*O+C*a),a=D+.02500000037252903*(R*O+v*a),d=-1,A=0;do{do{if(0|_[W+(A<<2)>>2]){if(-1!=(0|d)&&!(s*+p[t+(A<<4)>>2]+c*+p[t+(A<<4)+4>>2]+a*+p[t+(A<<4)+8>>2]>s*+p[t+(d<<4)>>2]+c*+p[t+(d<<4)+4>>2]+a*+p[t+(d<<4)+8>>2]))break;d=A}}while(0);A=A+1|0}while((0|A)!=(0|e));if((0|r)==(0|o)&(0|d)==(0|o))break t;if(!((m+=5)<=w))break;r=d}}}while(0);if((h=h+45|0)>>>0>360)break;r=b}_[B>>2]=0}return 40==(0|F)?0|o:(_[B>>2]=3,0|(F=o))}function ii(t,e,i){e|=0,i|=0;var n,o,r,s,c,a,b,d,l,A,f,u,m,h,y,g,C,v,S,w,k,R,j,D=0,I=0,B=0;n=Q,Q=Q+160|0,D=0|_[4+(t|=0)>>2],I=0|_[D+12>>2],k=+p[I>>2],w=+p[I+4>>2],S=+p[I+8>>2],v=+p[I+16>>2],C=+p[I+20>>2],g=+p[I+24>>2],l=+p[I+32>>2],b=+p[I+36>>2],c=+p[I+40>>2],D=0|_[24+(0|_[D+4>>2])>>2],y=+p[D+(80*i|0)>>2],h=+p[D+(80*i|0)+16>>2],m=+p[D+(80*i|0)+32>>2],u=+p[D+(80*i|0)+4>>2],f=+p[D+(80*i|0)+20>>2],A=+p[D+(80*i|0)+36>>2],d=+p[D+(80*i|0)+8>>2],a=+p[D+(80*i|0)+24>>2],s=+p[D+(80*i|0)+40>>2],j=+p[D+(80*i|0)+48>>2],R=+p[D+(80*i|0)+52>>2],B=+p[D+(80*i|0)+56>>2],r=+p[I+48>>2]+(k*j+w*R+S*B),o=+p[I+52>>2]+(v*j+C*R+g*B),B=+p[I+56>>2]+(l*j+b*R+c*B),p[n+88>>2]=k*y+w*h+S*m,p[n+88+4>>2]=k*u+w*f+S*A,p[n+88+8>>2]=k*d+w*a+S*s,p[n+88+12>>2]=0,p[n+88+16>>2]=v*y+C*h+g*m,p[n+88+20>>2]=v*u+C*f+g*A,p[n+88+24>>2]=v*d+C*a+g*s,p[n+88+28>>2]=0,p[n+88+32>>2]=l*y+b*h+c*m,p[n+88+36>>2]=l*u+b*f+c*A,p[n+88+40>>2]=l*d+b*a+c*s,p[n+88+44>>2]=0,p[n+88+48>>2]=r,p[n+88+52>>2]=o,p[n+88+56>>2]=B,p[n+88+60>>2]=0,cd[127&_[8+(0|_[e>>2])>>2]](e,n+88|0,n+72|0,n+56|0),I=0|_[t+8>>2],D=0|_[I+4>>2],cd[127&_[8+(0|_[D>>2])>>2]](D,0|_[I+12>>2],n+40|0,n+24|0),D=+p[n+72>>2]>+p[n+24>>2]||+p[n+56>>2]<+p[n+40>>2]?0:1,(+p[n+72+8>>2]>+p[n+24+8>>2]||+p[n+56+8>>2]<+p[n+40+8>>2])&&(D=0),+p[n+72+4>>2]>+p[n+24+4>>2]||+p[n+56+4>>2]<+p[n+40+4>>2]|1^D||(D=0|_[t+4>>2],I=0|_[D+8>>2],_[n>>2]=D,_[n+4>>2]=e,_[n+8>>2]=I,_[n+12>>2]=n+88,_[n+16>>2]=-1,_[n+20>>2]=i,0|_[(0|_[t+24>>2])+(i<<2)>>2]?e=D+8|0:(e=0|_[t+12>>2],e=0|Zb[31&_[8+(0|_[e>>2])>>2]](e,n,0|_[t+8>>2],0|_[t+28>>2]),_[(0|_[t+24>>2])+(i<<2)>>2]=e,e=8+(0|_[t+4>>2])|0),I=0|_[t+20>>2],D=0|_[I+8>>2],(0|_[D+8>>2])==(0|_[e>>2])?(_[I+8>>2]=n,rd[127&_[8+(0|_[I>>2])>>2]](I,-1,i)):(D=0|_[I+12>>2],_[I+12>>2]=n,rd[127&_[12+(0|_[I>>2])>>2]](I,-1,i)),i=0|_[(0|_[t+24>>2])+(i<<2)>>2],ld[31&_[8+(0|_[i>>2])>>2]](i,n,0|_[t+8>>2],0|_[t+16>>2],0|_[t+20>>2]),i=0|_[t+20>>2],_[((0|_[8+(0|_[i+8>>2])>>2])==(0|_[8+(0|_[t+4>>2])>>2])?i+8:i+12)>>2]=D),Q=n}function ni(){0|n[24536]||0|Qs(24536)&&(_[5836]=0,_[5837]=-2147483648,_[5838]=-1082130432,p[5839]=0,_[5840]=1060716128,_[5841]=-1090087446,_[5842]=-1092290076,p[5843]=0,_[5844]=-1098022214,_[5845]=-1084636126,_[5846]=-1092290076,p[5847]=0,_[5848]=-1083901670,_[5849]=-2147483648,_[5850]=-1092290177,p[5851]=0,_[5852]=-1098022214,_[5853]=1062847522,_[5854]=-1092290043,p[5855]=0,_[5856]=1060716128,_[5857]=1057396202,_[5858]=-1092290076,p[5859]=0,_[5860]=1049461434,_[5861]=-1084636126,_[5862]=1055193605,p[5863]=0,_[5864]=-1086767520,_[5865]=-1090087446,_[5866]=1055193572,p[5867]=0,_[5868]=-1086767520,_[5869]=1057396202,_[5870]=1055193572,p[5871]=0,_[5872]=1049461434,_[5873]=1062847522,_[5874]=1055193572,p[5875]=0,_[5876]=1063581978,_[5877]=0,_[5878]=1055193471,p[5879]=0,_[5880]=-2147483648,_[5881]=0,_[5882]=1065353216,p[5883]=0,_[5884]=1054458864,_[5885]=-1096927567,_[5886]=-1084636042,p[5887]=0,_[5888]=-1104782626,_[5889]=-1090519208,_[5890]=-1084636042,p[5891]=0,_[5892]=1049007812,_[5893]=-1085334679,_[5894]=-1090087228,p[5895]=0,_[5896]=1054458864,_[5897]=1050556081,_[5898]=-1084636042,p[5899]=0,_[5900]=1062847505,_[5901]=-2147483648,_[5902]=-1090087262,p[5903]=0,_[5904]=-1090087362,_[5905]=-2147483648,_[5906]=-1084636076,p[5907]=0,_[5908]=-1087361736,_[5909]=-1090519141,_[5910]=-1090087262,p[5911]=0,_[5912]=-1104782626,_[5913]=1056964440,_[5914]=-1084636042,p[5915]=0,_[5916]=-1087361736,_[5917]=1056964507,_[5918]=-1090087262,p[5919]=0,_[5920]=1049007812,_[5921]=1062148969,_[5922]=-1090087228,p[5923]=0,_[5924]=1064532105,_[5925]=1050556148,_[5926]=0,p[5927]=0,_[5928]=1064532105,_[5929]=-1096927500,_[5930]=0,p[5931]=0,_[5932]=1058437413,_[5933]=-1085334595,_[5934]=0,p[5935]=0,_[5936]=0,_[5937]=-1082130432,_[5938]=0,p[5939]=0,_[5940]=-1089046235,_[5941]=-1085334595,_[5942]=0,p[5943]=0,_[5944]=-1082951543,_[5945]=-1096927500,_[5946]=-2147483648,p[5947]=0,_[5948]=-1082951543,_[5949]=1050556148,_[5950]=-2147483648,p[5951]=0,_[5952]=-1089046235,_[5953]=1062149053,_[5954]=-2147483648,p[5955]=0,_[5956]=-2147483648,_[5957]=1065353216,_[5958]=-2147483648,p[5959]=0,_[5960]=1058437413,_[5961]=1062149053,_[5962]=-2147483648,p[5963]=0,_[5964]=1060121912,_[5965]=-1090519141,_[5966]=1057396386,p[5967]=0,_[5968]=-1098475836,_[5969]=-1085334679,_[5970]=1057396420,p[5971]=0,_[5972]=-1084636143,_[5973]=0,_[5974]=1057396386,p[5975]=0,_[5976]=-1098475836,_[5977]=1062148969,_[5978]=1057396420,p[5979]=0,_[5980]=1060121912,_[5981]=1056964507,_[5982]=1057396386,p[5983]=0,_[5984]=1057396286,_[5985]=0,_[5986]=1062847572,p[5987]=0,_[5988]=1042701022,_[5989]=-1090519208,_[5990]=1062847606,p[5991]=0,_[5992]=-1093024784,_[5993]=-1096927567,_[5994]=1062847606,p[5995]=0,_[5996]=-1093024784,_[5997]=1050556081,_[5998]=1062847606,p[5999]=0,_[6e3]=1042701022,_[6001]=1056964440,_[6002]=1062847606,p[6003]=0)}function oi(){0|n[24520]||0|Qs(24520)&&(_[5564]=0,_[5565]=-2147483648,_[5566]=-1082130432,p[5567]=0,_[5568]=1060716128,_[5569]=-1090087446,_[5570]=-1092290076,p[5571]=0,_[5572]=-1098022214,_[5573]=-1084636126,_[5574]=-1092290076,p[5575]=0,_[5576]=-1083901670,_[5577]=-2147483648,_[5578]=-1092290177,p[5579]=0,_[5580]=-1098022214,_[5581]=1062847522,_[5582]=-1092290043,p[5583]=0,_[5584]=1060716128,_[5585]=1057396202,_[5586]=-1092290076,p[5587]=0,_[5588]=1049461434,_[5589]=-1084636126,_[5590]=1055193605,p[5591]=0,_[5592]=-1086767520,_[5593]=-1090087446,_[5594]=1055193572,p[5595]=0,_[5596]=-1086767520,_[5597]=1057396202,_[5598]=1055193572,p[5599]=0,_[5600]=1049461434,_[5601]=1062847522,_[5602]=1055193572,p[5603]=0,_[5604]=1063581978,_[5605]=0,_[5606]=1055193471,p[5607]=0,_[5608]=-2147483648,_[5609]=0,_[5610]=1065353216,p[5611]=0,_[5612]=1054458864,_[5613]=-1096927567,_[5614]=-1084636042,p[5615]=0,_[5616]=-1104782626,_[5617]=-1090519208,_[5618]=-1084636042,p[5619]=0,_[5620]=1049007812,_[5621]=-1085334679,_[5622]=-1090087228,p[5623]=0,_[5624]=1054458864,_[5625]=1050556081,_[5626]=-1084636042,p[5627]=0,_[5628]=1062847505,_[5629]=-2147483648,_[5630]=-1090087262,p[5631]=0,_[5632]=-1090087362,_[5633]=-2147483648,_[5634]=-1084636076,p[5635]=0,_[5636]=-1087361736,_[5637]=-1090519141,_[5638]=-1090087262,p[5639]=0,_[5640]=-1104782626,_[5641]=1056964440,_[5642]=-1084636042,p[5643]=0,_[5644]=-1087361736,_[5645]=1056964507,_[5646]=-1090087262,p[5647]=0,_[5648]=1049007812,_[5649]=1062148969,_[5650]=-1090087228,p[5651]=0,_[5652]=1064532105,_[5653]=1050556148,_[5654]=0,p[5655]=0,_[5656]=1064532105,_[5657]=-1096927500,_[5658]=0,p[5659]=0,_[5660]=1058437413,_[5661]=-1085334595,_[5662]=0,p[5663]=0,_[5664]=0,_[5665]=-1082130432,_[5666]=0,p[5667]=0,_[5668]=-1089046235,_[5669]=-1085334595,_[5670]=0,p[5671]=0,_[5672]=-1082951543,_[5673]=-1096927500,_[5674]=-2147483648,p[5675]=0,_[5676]=-1082951543,_[5677]=1050556148,_[5678]=-2147483648,p[5679]=0,_[5680]=-1089046235,_[5681]=1062149053,_[5682]=-2147483648,p[5683]=0,_[5684]=-2147483648,_[5685]=1065353216,_[5686]=-2147483648,p[5687]=0,_[5688]=1058437413,_[5689]=1062149053,_[5690]=-2147483648,p[5691]=0,_[5692]=1060121912,_[5693]=-1090519141,_[5694]=1057396386,p[5695]=0,_[5696]=-1098475836,_[5697]=-1085334679,_[5698]=1057396420,p[5699]=0,_[5700]=-1084636143,_[5701]=0,_[5702]=1057396386,p[5703]=0,_[5704]=-1098475836,_[5705]=1062148969,_[5706]=1057396420,p[5707]=0,_[5708]=1060121912,_[5709]=1056964507,_[5710]=1057396386,p[5711]=0,_[5712]=1057396286,_[5713]=0,_[5714]=1062847572,p[5715]=0,_[5716]=1042701022,_[5717]=-1090519208,_[5718]=1062847606,p[5719]=0,_[5720]=-1093024784,_[5721]=-1096927567,_[5722]=1062847606,p[5723]=0,_[5724]=-1093024784,_[5725]=1050556081,_[5726]=1062847606,p[5727]=0,_[5728]=1042701022,_[5729]=1056964440,_[5730]=1062847606,p[5731]=0)}function _i(t,e,i,o,r){e|=0,i|=0,o|=0,r|=0;var s,c,a,b=0,d=0,A=0,f=0,u=0;return(A=0|_[9288+(t|=0)>>2])?(0|(b=0|_[A+48>>2])&&(_[b+44>>2]=_[A+44>>2]),0|(b=0|_[A+44>>2])&&(_[b+48>>2]=_[A+48>>2]),(0|_[t+9288>>2])==(0|A)&&(_[t+9288>>2]=_[A+48>>2]),_[t+9292>>2]=(0|_[t+9292>>2])-1,_[A+44>>2]=0,_[A+48>>2]=_[t+9280>>2],0|(b=0|_[t+9280>>2])&&(_[b+44>>2]=A),_[t+9280>>2]=A,_[t+9284>>2]=1+(0|_[t+9284>>2]),n[A+55|0]=0,_[A+20>>2]=e,_[A+24>>2]=i,_[A+28>>2]=o,d=+p[e+16>>2],c=+p[i+16>>2]-d,f=+p[e+20>>2],s=+p[i+20>>2]-f,u=+p[e+24>>2],a=+p[i+24>>2]-u,d=+p[o+16>>2]-d,f=+p[o+20>>2]-f,u=+p[o+24>>2]-u,p[A>>2]=s*u-a*f,p[A+4>>2]=a*d-c*u,p[A+8>>2]=c*f-s*d,p[A+12>>2]=0,(d=+l(+((s*u-a*f)*(s*u-a*f)+(a*d-c*u)*(a*d-c*u)+(c*f-s*d)*(c*f-s*d))))>9999999747378752e-20?(0|vn(+p[A>>2],+p[A+4>>2],+p[A+8>>2],+p[e+16>>2],+p[e+20>>2],+p[e+24>>2],+p[i+16>>2],+p[i+20>>2],+p[i+24>>2],A+16|0)||0|vn(+p[A>>2],+p[A+4>>2],+p[A+8>>2],+p[i+16>>2],+p[i+20>>2],+p[i+24>>2],+p[o+16>>2],+p[o+20>>2],+p[o+24>>2],A+16|0)||0|vn(+p[A>>2],+p[A+4>>2],+p[A+8>>2],+p[o+16>>2],+p[o+20>>2],+p[o+24>>2],+p[e+16>>2],+p[e+20>>2],+p[e+24>>2],A+16|0)||(p[A+16>>2]=(+p[e+16>>2]*+p[A>>2]+ +p[e+20>>2]*+p[A+4>>2]+ +p[e+24>>2]*+p[A+8>>2])/d),p[A>>2]=1/d*+p[A>>2],p[A+4>>2]=1/d*+p[A+4>>2],p[A+8>>2]=1/d*+p[A+8>>2],r||+p[A+16>>2]>=-9999999747378752e-21?0|A:(_[t>>2]=3,0|(b=0|_[A+48>>2])&&(_[b+44>>2]=_[A+44>>2]),0|(b=0|_[A+44>>2])&&(_[b+48>>2]=_[A+48>>2]),(0|_[t+9280>>2])==(0|A)&&(_[t+9280>>2]=_[A+48>>2]),_[t+9284>>2]=(0|_[t+9284>>2])-1,_[A+44>>2]=0,_[A+48>>2]=_[t+9288>>2],0|(b=0|_[t+9288>>2])&&(_[b+44>>2]=A),_[t+9288>>2]=A,_[t+9292>>2]=1+(0|_[t+9292>>2]),0|(A=0))):(_[t>>2]=2,0|(b=0|_[A+48>>2])&&(_[b+44>>2]=_[A+44>>2]),0|(b=0|_[A+44>>2])&&(_[b+48>>2]=_[A+48>>2]),(0|_[t+9280>>2])==(0|A)&&(_[t+9280>>2]=_[A+48>>2]),_[t+9284>>2]=(0|_[t+9284>>2])-1,_[A+44>>2]=0,_[A+48>>2]=_[t+9288>>2],0|(b=0|_[t+9288>>2])&&(_[b+44>>2]=A),_[t+9288>>2]=A,_[t+9292>>2]=1+(0|_[t+9292>>2]),0|(A=0))):(_[t>>2]=5,0|(A=0))}function ri(t,e){e|=0;var i,n=0,o=0,r=0,s=0,c=0,a=0,b=0,A=0,h=0,y=0,g=0,C=0,v=0,S=0;_[556+(t|=0)>>2]=_[e>>2],_[t+556+4>>2]=_[e+4>>2],_[t+556+8>>2]=_[e+8>>2],_[t+556+12>>2]=_[e+12>>2],b=+p[t+568>>2],A=+p[t+560>>2],o=((c=+p[t+564>>2])+0*b-0*(a=+p[t+556>>2]))*-c+(b*(b+0*A-0*c)+(n=-a-0*A-0*c)*-a)-(0*b+0*a-A)*-A,r=(0*b+0*a-A)*-a+(b*(c+0*b-0*a)+n*-A)-(b+0*A-0*c)*-c,0*(n=(b+0*A-0*c)*-A+(n*-c+b*(0*b+0*a-A))-(c+0*b-0*a)*-a)+(0*r+o)<-.9999998807907104?(s=1,n=-0,o=0,r=0):(s=1/(S=+l(2*(0*n+(0*r+o)+1)))*(0*o-n),n=1/S*(0*n-0*r),o=1/S*(r-0*o),r=.5*S),g=n*(h=1/+l(+(n*n+s*s+o*o+r*r))),i=o*h,s=(c*-(y=s*h)+(a*(h*=r)+b*-g)-A*-i)*(v=1/+l(+((b*h-a*-g-A*-y-c*-i)*(b*h-a*-g-A*-y-c*-i)+((A*-g+(c*h+b*-i)-a*-y)*(A*-g+(c*h+b*-i)-a*-y)+((c*-y+(a*h+b*-g)-A*-i)*(c*-y+(a*h+b*-g)-A*-i)+(a*-i+(b*-y+A*h)-c*-g)*(a*-i+(b*-y+A*h)-c*-g)))))),S=(a*-i+(b*-y+A*h)-c*-g)*v,r=(A*-g+(c*h+b*-i)-a*-y)*v,v*=b*h-a*-g-A*-y-c*-i,(o=+p[t+444>>2])>=.05000000074505806&&(C=+p[t+448>>2])>=.05000000074505806?((n=2*+m(+((n=h<-1?-1:h)>1?1:n)))>1.1920928955078125e-7?(c=1/+l(+(i*i+(g*g+y*y))),+d(+y*c)>1.1920928955078125e-7?(b=g*c,a=y*c,A=i*c,o=+l(+(i*c*(i*c)/(y*c*(y*c))+1)/(i*c*(i*c)/(y*c*(y*c))/(o*o)+1/(C*C)))):(b=g*c,a=y*c,A=i*c)):(b=0,a=0,A=0,o=0),+d(+n)>1.1920928955078125e-7?((n>o||n<(o=-o))&&(n=o),y=a*(C=+u(+(h=.5*n))/+l(+(b*b+a*a+A*A))),h=+f(+h),g=b*C,A*=C):A=i):A=i,(b=+p[t+452>>2])>=.05000000074505806?((n=2*+m(+((n=v<-1?-1:v)>1?1:n)))>3.1415927410125732?(n=2*+m(+((n=-v<-1?-1:-v)>1?1:n)),o=-s,c=-S,a=-r):(o=s,c=S,a=r),n>1.1920928955078125e-7&&(o*=C=1/+l(+(o*o+c*c+a*a)),c*=C,a*=C),+d(+n)>1.1920928955078125e-7?(n>b?n=b:n<-b&&(n=-b),s=o*(n=+u(+(S=.5*n))/+l(+(a*a+(c*c+o*o)))),r=a*n,o=+f(+S),n*=c):(o=v,n=S)):(o=v,n=S),p[t+556>>2]=y*r+(h*s+g*o)-A*n,p[t+560>>2]=A*s+(h*n+y*o)-g*r,p[t+564>>2]=g*n+(h*r+A*o)-y*s,p[t+568>>2]=h*o-g*s-y*n-A*r}function si(t,e,i,n,o){t|=0,i|=0,n|=0,o|=0;var r=0,s=0,p=0,c=0,a=0,b=0,d=0,l=0,A=0,f=0;if(!(e|=0))return n?o?(_[o>>2]=0|t,_[o+4>>2]=0&e,o=0,0|(S(0|(n=0)),o)):(o=0,0|(S(0|(n=0)),o)):(0|o&&(_[o>>2]=(t>>>0)%(i>>>0),_[o+4>>2]=0),o=(t>>>0)/(i>>>0)>>>0,0|(S(0|(n=0)),o));do{if(i){if(0|n){if((s=(0|C(0|n))-(0|C(0|e))|0)>>>0<=31){l=s+1|0,p=t>>>((s+1|0)>>>0)&s-31>>31|e<<31-s,d=e>>>((s+1|0)>>>0)&s-31>>31,r=0,s=t<<31-s;break}return o?(_[o>>2]=0|t,_[o+4>>2]=e|0&e,o=0,0|(S(0|(n=0)),o)):(o=0,0|(S(0|(n=0)),o))}if(i-1&i){l=s=33+(0|C(0|i))-(0|C(0|e))|0,p=32-s-1>>31&e>>>((s-32|0)>>>0)|(e<<32-s|t>>>(s>>>0))&s-32>>31,d=s-32>>31&e>>>(s>>>0),r=t<<64-s&32-s>>31,s=(e<<64-s|t>>>((s-32|0)>>>0))&32-s>>31|t<<32-s&s-33>>31;break}return 0|o&&(_[o>>2]=i-1&t,_[o+4>>2]=0),1==(0|i)?(o=0|t,0|(S(0|(n=e|0&e)),o)):(n=e>>>((o=0|Gc(0|i))>>>0)|0,o=e<<32-o|t>>>(o>>>0),0|(S(0|n),o))}if(!n)return 0|o&&(_[o>>2]=(e>>>0)%(i>>>0),_[o+4>>2]=0),o=(e>>>0)/(i>>>0)>>>0,0|(S(0|(n=0)),o);if(!t)return 0|o&&(_[o>>2]=0,_[o+4>>2]=(e>>>0)%(n>>>0)),o=(e>>>0)/(n>>>0)>>>0,0|(S(0|(i=0)),o);if(!(n-1&n))return 0|o&&(_[o>>2]=0|t,_[o+4>>2]=n-1&e|0&e),i=0,o=e>>>((0|Gc(0|n))>>>0),0|(S(0|i),o);if((s=(0|C(0|n))-(0|C(0|e))|0)>>>0<=30){l=s+1|0,p=e<<31-s|t>>>((s+1|0)>>>0),d=e>>>((s+1|0)>>>0),r=0,s=t<<31-s;break}return o?(_[o>>2]=0|t,_[o+4>>2]=e|0&e,o=0,0|(S(0|(n=0)),o)):(o=0,0|(S(0|(n=0)),o))}while(0);if(l){a=0|Or(0|i,n|0&n,-1,-1),b=0|w(),c=s,e=d,t=l,s=0;do{f=c,c=r>>>31|c<<1,r=s|r<<1,Ir(0|a,0|b,0|(f=p<<1|f>>>31),0|(A=p>>>31|e<<1)),s=1&(d=(l=0|w())>>31|((0|l)<0?-1:0)<<1),p=0|Ir(0|f,0|A,d&(0|i),(((0|l)<0?-1:0)>>31|((0|l)<0?-1:0)<<1)&(n|0&n)),e=0|w(),t=t-1|0}while(0|t);t=0}else c=s,e=d,t=0,s=0;return 0|o&&(_[o>>2]=p,_[o+4>>2]=e),f=r<<1&-2|s,0|(S(0|(A=(0|r)>>>31|c<<1|r>>>31&0|t)),f)}function pi(t,e,i,o){var r;e|=0,i|=0,o|=0,r=Q,Q=Q+48|0,_[8+(t|=0)>>2]=0,p[t+12>>2]=0,_[t>>2]=7820,_[t+48>>2]=e,_[t+4>>2]=21,0|Lb[127&_[40+(0|_[e>>2])>>2]](e)?rd[127&_[48+(0|_[e>>2])>>2]](e,t+16|0,t+32|0):(_[(e=r+32+4|0)>>2]=0,_[e+4>>2]=0,_[e+8>>2]=0,p[r+32>>2]=1,rd[127&_[68+(0|_[t>>2])>>2]](r+16|0,t,r+32|0),p[t+32>>2]=+p[r+16>>2]+ +p[t+12>>2],p[r+32>>2]=-1,rd[127&_[68+(0|_[t>>2])>>2]](r,t,r+32|0),_[r+16>>2]=_[r>>2],_[r+16+4>>2]=_[r+4>>2],_[r+16+8>>2]=_[r+8>>2],_[r+16+12>>2]=_[r+12>>2],p[t+16>>2]=+p[r+16>>2]-+p[t+12>>2],_[r+32>>2]=0,_[r+32+4>>2]=0,_[r+32+8>>2]=0,_[r+32+12>>2]=0,p[e>>2]=1,rd[127&_[68+(0|_[t>>2])>>2]](r+16|0,t,r+32|0),p[t+36>>2]=+p[r+16+4>>2]+ +p[t+12>>2],p[e>>2]=-1,rd[127&_[68+(0|_[t>>2])>>2]](r,t,r+32|0),_[r+16>>2]=_[r>>2],_[r+16+4>>2]=_[r+4>>2],_[r+16+8>>2]=_[r+8>>2],_[r+16+12>>2]=_[r+12>>2],p[t+20>>2]=+p[r+16+4>>2]-+p[t+12>>2],_[r+32>>2]=0,_[r+32+4>>2]=0,_[r+32+8>>2]=0,_[r+32+12>>2]=0,p[r+32+8>>2]=1,rd[127&_[68+(0|_[t>>2])>>2]](r+16|0,t,r+32|0),p[t+40>>2]=+p[r+16+8>>2]+ +p[t+12>>2],p[r+32+8>>2]=-1,rd[127&_[68+(0|_[t>>2])>>2]](r,t,r+32|0),_[r+16>>2]=_[r>>2],_[r+16+4>>2]=_[r+4>>2],_[r+16+8>>2]=_[r+8>>2],_[r+16+12>>2]=_[r+12>>2],p[t+24>>2]=+p[r+16+8>>2]-+p[t+12>>2]),_[t>>2]=7668,_[t+52>>2]=0,_[t+56>>2]=0,n[t+60|0]=1&i,n[t+61|0]=0,_[t+4>>2]=21,o?(_[6630]=1+(0|_[6630]),(e=0|di(191))?(_[(e+4+15&-16)-4>>2]=e,e=e+4+15&-16):e=0,_[e+52>>2]=282,n[e+60|0]=0,n[e+80|0]=1,_[e+76>>2]=0,_[e+68>>2]=0,_[e+72>>2]=0,n[e+100|0]=1,_[e+96>>2]=0,_[e+88>>2]=0,_[e+92>>2]=0,n[e+120|0]=1,_[e+116>>2]=0,_[e+108>>2]=0,_[e+112>>2]=0,n[e+140|0]=1,_[e+136>>2]=0,_[e+128>>2]=0,_[e+132>>2]=0,_[e+144>>2]=0,n[e+164|0]=1,_[e+160>>2]=0,_[e+152>>2]=0,_[e+156>>2]=0,_[e+168>>2]=0,_[e+4>>2]=-8388609,_[e+8>>2]=-8388609,_[e+12>>2]=-8388609,p[e+16>>2]=0,_[e+20>>2]=2139095039,_[e+24>>2]=2139095039,_[e+28>>2]=2139095039,p[e+32>>2]=0,_[e>>2]=8976,_[t+52>>2]=e,Oi(e,0|_[t+48>>2],!!(0|n[t+60|0]),t+16|0,t+32|0),n[t+61|0]=1,Q=r):Q=r}function ci(t,e,i){e|=0,i|=0;var n,o,r,s,c,a,b=0,d=0,l=0,A=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0,v=0;if(t|=0){for(o=+p[e>>2],r=+p[e+4>>2],s=+p[e+8>>2],c=+p[e+16>>2],a=+p[e+20>>2],n=+p[e+24>>2],_[6630]=1+(0|_[6630]),(e=0|di(275))?(_[(e+4+15&-16)-4>>2]=e,e=e+4+15&-16):e=0,_[e>>2]=t,y=64,A=1,d=e,l=e,b=e,m=e;;){h=0|_[d+((f=A+-1|0)<<2)>>2];do{if(+p[h>>2]<=c&&+p[h+16>>2]>=o&&+p[h+4>>2]<=a&&+p[h+20>>2]>=r&&+p[h+8>>2]<=n&&+p[h+24>>2]>=s){if(!(0|_[h+40>>2])){id[127&_[12+(0|_[i>>2])>>2]](i,h),t=y,e=m;break}u=0|_[h+36>>2];do{if((0|f)==(0|y))if((0|A)<=(0|(t=0|y?y<<1:1))){if(0|t&&(_[6630]=1+(0|_[6630]),0|(g=0|di(16+(t<<2|3)|0)))?(_[(g+4+15&-16)-4>>2]=g,b=g+4+15&-16):b=0,(0|A)<=1){if(!d){d=b,A=b,l=b,e=b,f=0;break}}else{e=0;do{_[b+(e<<2)>>2]=_[d+(e<<2)>>2],e=e+1|0}while((0|e)!=(0|y))}m?(_[6631]=1+(0|_[6631]),Li(0|_[m+-4>>2]),d=b,A=b,l=b,e=b,f=y):(d=b,A=b,l=b,e=b,f=y)}else t=y,A=b,e=m,f=y;else t=y,A=b,e=m}while(0);_[d+(f<<2)>>2]=u,m=f+1|0,u=0|_[h+40>>2];do{if((0|m)==(0|t)&&(0|t)<(0|(C=0|t?t<<1:1))){if(0|C&&(_[6630]=1+(0|_[6630]),0|(v=0|di(16+(C<<2|3)|0)))?(_[(v+4+15&-16)-4>>2]=v,b=v+4+15&-16):b=0,(0|f)>-1){e=0;do{_[b+(e<<2)>>2]=_[d+(e<<2)>>2],e=e+1|0}while((0|e)!=(0|t));if(!A){t=C,d=b,l=b,A=b,e=b;break}}else if(!(0|d)|!(0|A)){t=C,d=b,l=b,A=b,e=b;break}_[6631]=1+(0|_[6631]),Li(0|_[A+-4>>2]),t=C,d=b,l=b,A=b,e=b}}while(0);_[d+(m<<2)>>2]=u,f=f+2|0,b=A}else t=y,e=m}while(0);if((0|f)<=0)break;y=t,A=f,m=e}!(0|d)|!(0|l)||(_[6631]=1+(0|_[6631]),Li(0|_[l+-4>>2]))}}function ai(t,e,i,o,r){t|=0,e|=0,i|=0,o|=0;var s,c,a,b,d,l,A,f,u,m,h,y,g=0,C=0,v=0,S=0,w=0,k=0;f=-16&n[16+(r|=0)|0],n[r+16|0]=f,u=+p[i>>2],m=+p[e>>2],s=+p[i+4>>2],c=+p[e+4>>2],a=+p[i+8>>2],b=+p[e+8>>2],d=+p[o>>2],l=+p[o+4>>2],A=+p[o+8>>2],h=(u-m)*((S=+p[t>>2])-m)+(s-c)*((w=+p[t+4>>2])-c)+(a-b)*((g=+p[t+8>>2])-b),y=(d-m)*(S-m)+(l-c)*(w-c)+(A-b)*(g-b);do{if(h<=0&y<=0)_[r>>2]=_[e>>2],_[r+4>>2]=_[e+4>>2],_[r+8>>2]=_[e+8>>2],_[r+12>>2]=_[e+12>>2],n[r+16|0]=1|f,C=0,v=0,g=1;else{if(!(!((k=(u-m)*(S-u)+(s-c)*(w-s)+(a-b)*(g-a))>=0)|!((v=(d-m)*(S-u)+(l-c)*(w-s)+(A-b)*(g-a))<=k))){_[r>>2]=_[i>>2],_[r+4>>2]=_[i+4>>2],_[r+8>>2]=_[i+8>>2],_[r+12>>2]=_[i+12>>2],n[r+16|0]=2|f,C=0,v=1,g=0;break}if(k<=0&(h>=0?h*v-k*y<=0:0)){p[r>>2]=m+h/(h-k)*(u-m),p[r+4>>2]=c+h/(h-k)*(s-c),p[r+8>>2]=b+h/(h-k)*(a-b),p[r+12>>2]=0,n[r+16|0]=3|f,C=0,v=h/(h-k),g=1-h/(h-k);break}if(C=(u-m)*(S-d)+(s-c)*(w-l)+(a-b)*(g-A),!(!((g=(d-m)*(S-d)+(l-c)*(w-l)+(A-b)*(g-A))>=0)|!(C<=g))){_[r>>2]=_[o>>2],_[r+4>>2]=_[o+4>>2],_[r+8>>2]=_[o+8>>2],_[r+12>>2]=_[o+12>>2],n[r+16|0]=4|f,C=1,v=0,g=0;break}if(g<=0&(y>=0?C*y-h*g<=0:0)){p[r>>2]=m+y/(y-g)*(d-m),p[r+4>>2]=c+y/(y-g)*(l-c),p[r+8>>2]=b+y/(y-g)*(A-b),p[r+12>>2]=0,n[r+16|0]=5|f,C=y/(y-g),v=0,g=1-y/(y-g);break}if(k*g-C*v<=0&&v-k>=0&&C-g>=0){v=(v-k)/(v-k+(C-g)),p[r>>2]=u+(d-u)*v,p[r+4>>2]=s+(l-s)*v,p[r+8>>2]=a+(A-a)*v,p[r+12>>2]=0,n[r+16|0]=6|f,C=v,v=1-v,g=0;break}w=(C*y-h*g)*(S=1/(h*v-k*y+(k*g-C*v+(C*y-h*g)))),g=(h*v-k*y)*S,p[r>>2]=(d-m)*g+(m+(u-m)*w),p[r+4>>2]=(l-c)*g+(c+(s-c)*w),p[r+8>>2]=(A-b)*g+(b+(a-b)*w),p[r+12>>2]=0,n[r+16|0]=7|f,C=g,v=w,g=1-w-g}}while(0);p[r+20>>2]=g,p[r+24>>2]=v,p[r+28>>2]=C,p[r+32>>2]=0}function bi(t,e,i,n,o){t|=0,e|=0,i|=0,n|=0,o|=0;var r,s,c,b,A,f,u,m,h,C,v,S,w,k,R,j,D=0,I=0,B=0,W=0,F=0,O=0,x=0,T=0,P=0,V=0,M=0,G=0,L=0,N=0,E=0,H=0,Z=0,U=0,Y=0,J=0,X=0,z=0,K=0,q=0,$=0,tt=0,et=0,it=0,nt=0,ot=0,_t=0,rt=0,st=0,pt=0,ct=0,at=0,bt=0,dt=0,lt=0,At=0,ft=0,ut=0,mt=0,ht=0,yt=0,gt=0,Ct=0,vt=0,St=0,wt=0,kt=0,Rt=0,jt=0,Dt=0,It=0,Bt=0;if(j=Q,Q=Q+480|0,_[j+48>>2]=_[e>>2],_[j>>2]=_[e+64>>2],_[(o=j+48+4|0)>>2]=_[e+4>>2],_[j+4>>2]=_[e+68>>2],_[(n=j+48+8|0)>>2]=_[e+8>>2],_[j+8>>2]=_[e+72>>2],_[(X=j+48+16|0)>>2]=_[e+16>>2],_[j+16>>2]=_[e+80>>2],_[(B=j+48+20|0)>>2]=_[e+20>>2],_[j+20>>2]=_[e+84>>2],_[(O=j+48+24|0)>>2]=_[e+24>>2],_[j+24>>2]=_[e+88>>2],_[(J=j+48+32|0)>>2]=_[e+32>>2],_[j+32>>2]=_[e+96>>2],_[(_t=j+48+36|0)>>2]=_[e+36>>2],_[j+36>>2]=_[e+100>>2],_[(W=j+48+40|0)>>2]=_[e+40>>2],_[j+40>>2]=_[e+104>>2],Bt=0|_[t+4>>2],S=+p[Bt+28>>2],w=+p[Bt+32>>2],wt=+p[Bt+36>>2],k=+Bb[15&_[48+(0|_[Bt>>2])>>2]](Bt),R=+Bb[15&_[48+(0|_[Bt>>2])>>2]](Bt),wt=2*(wt+ +Bb[15&_[48+(0|_[Bt>>2])>>2]](Bt)),Bt=0|_[t+8>>2],kt=+p[Bt+28>>2],Rt=+p[Bt+32>>2],ct=+p[Bt+36>>2],jt=+Bb[15&_[48+(0|_[Bt>>2])>>2]](Bt),Dt=+Bb[15&_[48+(0|_[Bt>>2])>>2]](Bt),ct=2*(ct+ +Bb[15&_[48+(0|_[Bt>>2])>>2]](Bt)),mt=+p[e+112>>2]-+p[e+48>>2],ht=+p[e+116>>2]-+p[e+52>>2],yt=+p[e+120>>2]-+p[e+56>>2],St=+p[j+48>>2],C=+p[X>>2],v=+p[J>>2],u=+p[o>>2],A=+p[B>>2],f=+p[_t>>2],tt=+p[n>>2],Y=+p[O>>2],$=+p[W>>2],p[j+468>>2]=2*(S+k)*.5,p[j+468+4>>2]=2*(w+R)*.5,p[j+468+8>>2]=.5*wt,p[j+456>>2]=2*(kt+jt)*.5,p[j+456+4>>2]=2*(Rt+Dt)*.5,p[j+456+8>>2]=.5*ct,pt=+p[j>>2],rt=+p[j+16>>2],st=+p[j+32>>2],ft=+p[j+4>>2],lt=+p[j+20>>2],At=+p[j+36>>2],vt=+p[j+8>>2],m=+p[j+24>>2],h=+p[j+40>>2],et=+d(+(St*pt+C*rt+v*st)),at=+d(+(St*ft+C*lt+v*At)),Ct=+d(+(St*vt+C*m+v*h)),it=+d(+(u*pt+A*rt+f*st)),bt=+d(+(u*ft+A*lt+f*At)),s=+d(+(u*vt+A*m+f*h)),c=+d(+(tt*pt+Y*rt+$*st)),b=+d(+(tt*ft+Y*lt+$*At)),dt=+d(+(tt*vt+Y*m+$*h)),(x=+d(+(mt*St+ht*C+yt*v))-(2*(S+k)*.5+2*(kt+jt)*.5*et+2*(Rt+Dt)*.5*at+.5*ct*Ct))>0)Q=j;else if(x>-34028234663852886e22?(z=j+48|0,t=1,K=mt*St+ht*C+yt*v<0&1):(z=0,t=0,K=0,x=-34028234663852886e22),(D=+d(+(mt*u+ht*A+yt*f))-(2*(w+R)*.5+2*(kt+jt)*.5*it+2*(Rt+Dt)*.5*bt+.5*ct*s))>0)Q=j;else if(D>x&&(z=o,t=2,K=mt*u+ht*A+yt*f<0&1,x=D),(D=+d(+(mt*tt+ht*Y+yt*$))-(.5*wt+2*(kt+jt)*.5*c+2*(Rt+Dt)*.5*b+.5*ct*dt))>0)Q=j;else if(D>x&&(z=n,t=3,K=mt*tt+ht*Y+yt*$<0&1,x=D),(D=+d(+(mt*pt+ht*rt+yt*st))-(2*(kt+jt)*.5+(.5*wt*c+(2*(S+k)*.5*et+2*(w+R)*.5*it))))>0)Q=j;else if(D>x&&(z=j,t=4,K=mt*pt+ht*rt+yt*st<0&1,x=D),(D=+d(+(mt*ft+ht*lt+yt*At))-(2*(Rt+Dt)*.5+(.5*wt*b+(2*(S+k)*.5*at+2*(w+R)*.5*bt))))>0)Q=j;else if(D>x&&(z=j+4|0,t=5,K=mt*ft+ht*lt+yt*At<0&1,x=D),(D=+d(+(mt*vt+ht*m+yt*h))-(.5*ct+(.5*wt*dt+(2*(S+k)*.5*Ct+2*(w+R)*.5*s))))>0)Q=j;else if(D>x&&(z=j+8|0,t=6,K=mt*vt+ht*m+yt*h<0&1,x=D),(I=+d(+(D=(mt*tt+ht*Y+yt*$)*(u*pt+A*rt+f*st)-(mt*u+ht*A+yt*f)*(tt*pt+Y*rt+$*st)))-(.5*ct*(at+9999999747378752e-21)+(2*(w+R)*.5*(c+9999999747378752e-21)+.5*wt*(it+9999999747378752e-21)+2*(Rt+Dt)*.5*(Ct+9999999747378752e-21))))>1.1920928955078125e-7)Q=j;else if((T=+l(+((H=(u*pt+A*rt+f*st)*(u*pt+A*rt+f*st))+(M=(tt*pt+Y*rt+$*st)*(tt*pt+Y*rt+$*st)+0))))>1.1920928955078125e-7&&I/T*1.0499999523162842>x?(z=0,t=7,K=D<0&1,x=I/T,F=0/T,I=-(tt*pt+Y*rt+$*st)/T,D=(u*pt+A*rt+f*st)/T):(F=0,I=0,D=0),(P=+d(+(T=(mt*tt+ht*Y+yt*$)*(u*ft+A*lt+f*At)-(mt*u+ht*A+yt*f)*(tt*ft+Y*lt+$*At)))-(.5*ct*(et+9999999747378752e-21)+(2*(w+R)*.5*(b+9999999747378752e-21)+.5*wt*(bt+9999999747378752e-21)+2*(kt+jt)*.5*(Ct+9999999747378752e-21))))>1.1920928955078125e-7)Q=j;else if((V=+l(+((Z=(u*ft+A*lt+f*At)*(u*ft+A*lt+f*At))+(G=(tt*ft+Y*lt+$*At)*(tt*ft+Y*lt+$*At)+0))))>1.1920928955078125e-7&&P/V*1.0499999523162842>x&&(z=0,t=8,K=T<0&1,x=P/V,F=0/V,I=-(tt*ft+Y*lt+$*At)/V,D=(u*ft+A*lt+f*At)/V),(P=+d(+(T=(mt*tt+ht*Y+yt*$)*(u*vt+A*m+f*h)-(mt*u+ht*A+yt*f)*(tt*vt+Y*m+$*h)))-(2*(Rt+Dt)*.5*(et+9999999747378752e-21)+(2*(kt+jt)*.5*(at+9999999747378752e-21)+(2*(w+R)*.5*(dt+9999999747378752e-21)+.5*wt*(s+9999999747378752e-21)))))>1.1920928955078125e-7)Q=j;else if((V=+l(+((U=(u*vt+A*m+f*h)*(u*vt+A*m+f*h))+(N=(tt*vt+Y*m+$*h)*(tt*vt+Y*m+$*h)+0))))>1.1920928955078125e-7&&P/V*1.0499999523162842>x&&(z=0,t=9,K=T<0&1,x=P/V,F=0/V,I=-(tt*vt+Y*m+$*h)/V,D=(u*vt+A*m+f*h)/V),(P=+d(+(T=(mt*St+ht*C+yt*v)*(tt*pt+Y*rt+$*st)-(mt*tt+ht*Y+yt*$)*(St*pt+C*rt+v*st)))-(.5*ct*(bt+9999999747378752e-21)+(2*(S+k)*.5*(c+9999999747378752e-21)+.5*wt*(et+9999999747378752e-21)+2*(Rt+Dt)*.5*(s+9999999747378752e-21))))>1.1920928955078125e-7)Q=j;else{V=+l(+((E=(St*pt+C*rt+v*st)*(St*pt+C*rt+v*st))+M));do{if(V>1.1920928955078125e-7){if(!(P/V*1.0499999523162842>x))break;z=0,t=10,K=T<0&1,x=P/V,F=(tt*pt+Y*rt+$*st)/V,I=0/V,D=-(St*pt+C*rt+v*st)/V}}while(0);if((P=+d(+(T=(mt*St+ht*C+yt*v)*(tt*ft+Y*lt+$*At)-(mt*tt+ht*Y+yt*$)*(St*ft+C*lt+v*At)))-(.5*ct*(it+9999999747378752e-21)+(2*(S+k)*.5*(b+9999999747378752e-21)+.5*wt*(at+9999999747378752e-21)+2*(kt+jt)*.5*(s+9999999747378752e-21))))>1.1920928955078125e-7)Q=j;else{V=+l(+((L=(St*ft+C*lt+v*At)*(St*ft+C*lt+v*At))+G));do{if(V>1.1920928955078125e-7){if(!(P/V*1.0499999523162842>x))break;z=0,t=11,K=T<0&1,x=P/V,F=(tt*ft+Y*lt+$*At)/V,I=0/V,D=-(St*ft+C*lt+v*At)/V}}while(0);if((P=+d(+(T=(mt*St+ht*C+yt*v)*(tt*vt+Y*m+$*h)-(mt*tt+ht*Y+yt*$)*(St*vt+C*m+v*h)))-(2*(Rt+Dt)*.5*(it+9999999747378752e-21)+(2*(kt+jt)*.5*(bt+9999999747378752e-21)+(2*(S+k)*.5*(dt+9999999747378752e-21)+.5*wt*(Ct+9999999747378752e-21)))))>1.1920928955078125e-7)Q=j;else{V=+l(+((M=(St*vt+C*m+v*h)*(St*vt+C*m+v*h))+N));do{if(V>1.1920928955078125e-7){if(!(P/V*1.0499999523162842>x))break;z=0,t=12,K=T<0&1,x=P/V,F=(tt*vt+Y*m+$*h)/V,I=0/V,D=-(St*vt+C*m+v*h)/V}}while(0);if((T=+d(+(P=(mt*u+ht*A+yt*f)*(St*pt+C*rt+v*st)-(mt*St+ht*C+yt*v)*(u*pt+A*rt+f*st)))-(.5*ct*(b+9999999747378752e-21)+(2*(S+k)*.5*(it+9999999747378752e-21)+2*(w+R)*.5*(et+9999999747378752e-21)+2*(Rt+Dt)*.5*(dt+9999999747378752e-21))))>1.1920928955078125e-7)Q=j;else{V=+l(+(H+E+0));do{if(V>1.1920928955078125e-7){if(!(T/V*1.0499999523162842>x))break;z=0,t=13,K=P<0&1,x=T/V,F=-(u*pt+A*rt+f*st)/V,I=(St*pt+C*rt+v*st)/V,D=0/V}}while(0);if((T=+d(+(V=(mt*u+ht*A+yt*f)*(St*ft+C*lt+v*At)-(mt*St+ht*C+yt*v)*(u*ft+A*lt+f*At)))-(.5*ct*(c+9999999747378752e-21)+(2*(S+k)*.5*(bt+9999999747378752e-21)+2*(w+R)*.5*(at+9999999747378752e-21)+2*(kt+jt)*.5*(dt+9999999747378752e-21))))>1.1920928955078125e-7)Q=j;else{P=+l(+(Z+L+0));do{if(P>1.1920928955078125e-7){if(!(T/P*1.0499999523162842>x))break;z=0,t=14,K=V<0&1,x=T/P,F=-(u*ft+A*lt+f*At)/P,I=(St*ft+C*lt+v*At)/P,D=0/P}}while(0);if((T=+d(+(V=(mt*u+ht*A+yt*f)*(St*vt+C*m+v*h)-(mt*St+ht*C+yt*v)*(u*vt+A*m+f*h)))-(2*(Rt+Dt)*.5*(c+9999999747378752e-21)+(2*(kt+jt)*.5*(b+9999999747378752e-21)+(2*(S+k)*.5*(s+9999999747378752e-21)+2*(w+R)*.5*(Ct+9999999747378752e-21)))))>1.1920928955078125e-7)Q=j;else{P=+l(+(U+M+0));do{if(P>1.1920928955078125e-7){if(!(T/P*1.0499999523162842>x)){nt=55;break}t=15,K=V<0&1,x=T/P,F=-(u*vt+A*m+f*h)/P,I=(St*vt+C*m+v*h)/P,D=0/P,nt=58}else nt=55}while(0);do{if(55==(0|nt)){if(!t)return void(Q=j);if(!z){nt=58;break}It=0|_[z>>2],q=0|_[z+16>>2],Bt=0|_[z+32>>2],_[a>>2]=It,D=+p[a>>2],_[a>>2]=q,I=+p[a>>2],ot=t,it=x,t=It,z=q,q=Bt,_[a>>2]=Bt,F=+p[a>>2]}}while(0);if(58==(0|nt)&&(vt=St*F+I*+p[o>>2]+D*+p[n>>2],p[a>>2]=vt,q=0|_[a>>2],St=F*+p[X>>2]+I*+p[B>>2]+D*+p[O>>2],p[a>>2]=St,z=0|_[a>>2],F=F*+p[J>>2]+I*+p[_t>>2]+D*+p[W>>2],ot=t,it=x,t=q,p[a>>2]=F,q=0|_[a>>2],D=vt,I=St),K&&(p[a>>2]=-D,t=0|_[a>>2],p[a>>2]=-I,z=0|_[a>>2],p[a>>2]=-F,q=0|_[a>>2]),(0|ot)>6)return _[a>>2]=t,et=+p[a>>2],_[a>>2]=z,tt=+p[a>>2],_[a>>2]=q,$=+p[a>>2],D=2*(S+k)*.5*((G=+p[j+48>>2])*et+(N=+p[X>>2])*tt+(T=+p[J>>2])*$>0?1:-1),H=2*(w+R)*.5*((I=+p[o>>2])*et+(L=+p[B>>2])*tt+(M=+p[_t>>2])*$>0?1:-1),F=.5*wt*((Z=+p[n>>2])*et+(U=+p[O>>2])*tt+(Y=+p[W>>2])*$>0?1:-1),Z=+p[e+48>>2]+D*G+H*I+F*Z,U=+p[e+52>>2]+D*N+H*L+F*U,Y=+p[e+56>>2]+D*T+H*M+F*Y,_[j+352>>2]=_[e+112>>2],_[j+352+4>>2]=_[e+112+4>>2],_[j+352+8>>2]=_[e+112+8>>2],T=2*(kt+jt)*.5*((F=+p[j>>2])*et+(M=+p[j+16>>2])*tt+(H=+p[j+32>>2])*$>0?-1:1),I=2*(Rt+Dt)*.5*((D=+p[j+4>>2])*et+(L=+p[j+20>>2])*tt+(N=+p[j+36>>2])*$>0?-1:1),L=+p[j+352+4>>2]+T*M+I*L,N=+p[j+352+8>>2]+T*H+I*N,E=((H=+p[j+8>>2])*et+(M=+p[j+24>>2])*tt+(G=+p[j+40>>2])*$>0?-1:1)*+p[j+456+8>>2],H=+p[j+352>>2]+T*F+I*D+E*H,p[j+352>>2]=H,p[j+352+4>>2]=L+E*M,p[j+352+8>>2]=N+E*G,D=+p[j+48+((0|(Bt=ot+-7|0))/3<<2)>>2],I=+p[j+48+(4+((0|Bt)/3|0)<<2)>>2],F=+p[j+48+(8+((0|Bt)/3|0)<<2)>>2],Bt=Bt+(0|g((0|Bt)/3|0,-3))|0,D=(x=1-(D*(T=+p[j+(Bt<<2)>>2])+I*(P=+p[j+(Bt+4<<2)>>2])+F*(V=+p[j+(Bt+8<<2)>>2]))*(D*T+I*P+F*V))<=9999999747378752e-20?0:1/x*(((H-Z)*D+(L+E*M-U)*I+(N+E*G-Y)*F)*(D*T+I*P+F*V)-((H-Z)*T+(L+E*M-U)*P+(N+E*G-Y)*V)),p[j+352>>2]=H+D*T,p[j+352+4>>2]=L+E*M+D*P,p[j+352+8>>2]=N+E*G+D*V,Bt=0|_[16+(0|_[i>>2])>>2],p[j+320>>2]=-et,p[j+320+4>>2]=-tt,p[j+320+8>>2]=-$,p[j+320+12>>2]=0,sd[15&Bt](i,j+320|0,j+352|0,it),void(Q=j);switch(It=(0|ot)<4,_[a>>2]=t,Ct=+p[a>>2],It?(_[a>>2]=z,ht=+p[a>>2],nt=j+456|0,ut=j+468|0,K=e+112|0,Bt=e+48|0,X=j+16|0,J=j+32|0,gt=j,e=j+48|0,O=j+24|0,W=j+40|0,B=j+20|0,t=j+36|0,o=j+4|0,n=j+8|0,mt=Ct,_[a>>2]=q,yt=+p[a>>2]):(_[a>>2]=z,ht=-+p[a>>2],nt=j+468|0,ut=j+456|0,K=e+48|0,Bt=e+112|0,gt=j+48|0,e=j,t=_t,mt=-Ct,_[a>>2]=q,yt=-+p[a>>2]),N=mt*+p[gt>>2]+ht*+p[X>>2]+yt*+p[J>>2],p[j+440>>2]=N,E=mt*+p[o>>2]+ht*+p[B>>2]+yt*+p[t>>2],p[j+440+4>>2]=E,H=mt*+p[n>>2]+ht*+p[O>>2]+yt*+p[W>>2],p[j+440+8>>2]=H,N=+d(+N),E=+d(+E),H=+d(+H),r=(E>N?E>H:N>H)?2:1,F=+p[nt+((n=E>N?E>H?1:2:N>H?0:2)<<2)>>2],D=+p[K>>2]-+p[Bt>>2],I=F*+p[gt+(n<<2)>>2],+p[j+440+(n<<2)>>2]<0?(ft=+p[K+8>>2]-+p[Bt+8>>2]+F*+p[gt+((8|n)<<2)>>2],At=D+I,lt=+p[K+4>>2]-+p[Bt+4>>2]+F*+p[gt+((4|n)<<2)>>2]):(ft=+p[K+8>>2]-+p[Bt+8>>2]-F*+p[gt+((8|n)<<2)>>2],At=D-I,lt=+p[K+4>>2]-+p[Bt+4>>2]-F*+p[gt+((4|n)<<2)>>2]),0|(ot=(It?-1:-4)+ot|0)){case 0:o=2,n=1;break;case 1:o=2,n=0;break;default:o=1,n=0}dt=At*(bt=+p[(_t=e+(n<<2)|0)>>2])+lt*(ct=+p[_t+16>>2])+ft*(at=+p[_t+32>>2]),pt=At*(it=+p[(e=e+(o<<2)|0)>>2])+lt*(Z=+p[e+16>>2])+ft*(U=+p[e+32>>2]),st=+p[(e=gt+((N>H&(E>N^1)&1)<<2)|0)>>2],tt=+p[e+16>>2],et=+p[e+32>>2],rt=+p[(_t=gt+(r<<2)|0)>>2],Y=+p[_t+16>>2],$=+p[_t+32>>2],P=dt-(bt*st+ct*tt+at*et)*(L=+p[nt+((N>H&(E>N^1)&1)<<2)>>2])-(M=(bt*rt+ct*Y+at*$)*(G=+p[nt+(r<<2)>>2])),V=pt-(it*st+Z*tt+U*et)*L-(G*=it*rt+Z*Y+U*$),D=dt-(bt*st+ct*tt+at*et)*L+M,p[j+416>>2]=D,F=pt-(it*st+Z*tt+U*et)*L+G,x=dt+(bt*st+ct*tt+at*et)*L+M,T=pt+(it*st+Z*tt+U*et)*L+G,M=dt+(bt*st+ct*tt+at*et)*L-M,G=pt+(it*st+Z*tt+U*et)*L-G,X=0|_[ut+(n<<2)>>2],K=0|_[ut+(o<<2)>>2],_[a>>2]=X,L=+p[a>>2];do{if(L>-P){if(p[j+256>>2]=P,p[j+256+4>>2]=V,!(L>-D)){o=j+256+8|0,n=2,t=L>-D,I=-D,nt=78;break}p[j+256+8>>2]=D,p[j+256+8+4>>2]=F,o=j+256+8|0,n=2,nt=152}else L>-D?(o=j+256|0,n=1,t=1,I=-D,nt=78):(o=j+256|0,n=0,I=-D,nt=153)}while(0);do{if(78==(0|nt)){if(p[o+4>>2]=V+(F-V)/(D-P)*(-L-P),p[o>>2]=-L,o=o+8|0,!t){nt=153;break}p[o>>2]=D,p[o+4>>2]=F,n+1&8?(n=n+1|0,nt=102):(n=n+1|0,nt=152)}}while(0);152==(0|nt)&&(o=o+8|0,I=-(D=+p[j+416>>2]),nt=153);t:do{if(153==(0|nt)){if(I<L^L>-x){if(p[o+4>>2]=F+(T-F)/(x-D)*(-L-D),p[o>>2]=-L,8&(n=n+1|0)){nt=102;break}o=o+8|0}if(L>-x){if(p[o>>2]=x,p[o+4>>2]=T,8&(n=n+1|0)){nt=102;break}o=o+8|0,L>-x^L>-M?(t=L>-M,nt=159):(t=L>-M,nt=161)}else L>-x^L>-M?(t=L>-M,nt=159):(t=L>-M,nt=161);if(159==(0|nt)){if(p[o+4>>2]=T+(G-T)/(M-x)*(-L-x),p[o>>2]=-L,8&(n=n+1|0)){nt=102;break}o=o+8|0,nt=t?162:163}else 161==(0|nt)&&(nt=t?162:163);do{if(162==(0|nt)){if(p[o>>2]=M,p[o+4>>2]=G,8&(n=n+1|0)){nt=102;break t}t^L>-P?(o=o+8|0,nt=165):nt=167}else if(163==(0|nt)){if(L>-P){nt=165;break}(0|n)>0?nt=167:(n=0,nt=79)}}while(0);if(165==(0|nt)){if(p[o+4>>2]=G+(V-G)/(P-M)*(-L-M),p[o>>2]=-L,8&(n=n+1|0)){nt=102;break}nt=167}e:do{if(167==(0|nt)){for(t=j+352|0,J=j+256|0,o=0;;){if((D=+p[J>>2])<L){if(p[t>>2]=D,_[t+4>>2]=_[J+4>>2],8&(o=o+1|0)){n=o,nt=79;break e}t=t+8|0,D=+p[J>>2]}if(B=J,J=J+8|0,D<L^(I=+p[(W=(O=(0|n)>1)?J:j+256|0)>>2])<L){if(Dt=+p[B+4>>2],p[t+4>>2]=Dt+(L-D)*((+p[W+4>>2]-Dt)/(I-D)),_[t>>2]=X,8&(o=o+1|0)){n=o,nt=79;break e}t=t+8|0}if(!O)break;n=n+-1|0}if((0|o)<=0){n=0,nt=79;break}for(_[a>>2]=K,x=+p[a>>2],t=j+256|0,J=j+352|0,n=0;;){if(x>-(D=+p[(B=J+4|0)>>2])){if(_[t>>2]=_[J>>2],_[t+4>>2]=_[B>>2],8&(n=n+1|0))break e;t=t+8|0,F=-(D=+p[B>>2])}else F=-D;if(B=J,J=J+8|0,F<x^x>-(I=+p[(W=(O=(0|o)>1)?J:j+352|0)+4>>2])){if(Dt=+p[B>>2],p[t>>2]=Dt+(-x-D)*((+p[W>>2]-Dt)/(I-D)),p[t+4>>2]=-x,8&(n=n+1|0))break e;t=t+8|0}if(!O)break;o=o+-1|0}if((0|n)<=0){n=0,nt=79;break}for(O=n,o=j+352|0,J=j+256|0,n=0;;){if((D=+p[(t=J+4|0)>>2])<x){if(_[o>>2]=_[J>>2],_[o+4>>2]=_[t>>2],8&(n=n+1|0)){nt=79;break e}o=o+8|0,D=+p[t>>2]}if(t=J,J=J+8|0,D<x^(I=+p[(B=(W=(0|O)>1)?J:j+256|0)+4>>2])<x){if(Dt=+p[t>>2],p[o>>2]=Dt+(x-D)*((+p[B>>2]-Dt)/(I-D)),_[o+4>>2]=K,8&(n=n+1|0)){nt=79;break e}o=o+8|0}if(!W){nt=79;break}O=O+-1|0}}}while(0);79==(0|nt)&&_e(j+256|0,j+352|0,n<<3),(0|n)>=1&&(nt=104)}}while(0);if(102==(0|nt)&&(nt=104),104==(0|nt)){L=1/((bt*st+ct*tt+at*et)*(it*rt+Z*Y+U*$)-(it*st+Z*tt+U*et)*(bt*rt+ct*Y+at*$)),G=+p[ut+(ot<<2)>>2],M=+p[e>>2],T=+p[_t>>2],P=+p[gt+((N>H&(E>N^1)&1|4)<<2)>>2],V=+p[gt+((4|r)<<2)>>2],x=+p[gt+((N>H&(E>N^1)&1|8)<<2)>>2],F=+p[gt+((8|r)<<2)>>2],O=0,t=0;do{Rt=At+(kt=(it*rt+Z*Y+U*$)*L*((D=+p[j+256+((o=t<<1)<<2)>>2])-dt)-(bt*rt+ct*Y+at*$)*L*((I=+p[j+256+((1|o)<<2)>>2])-pt))*M+(Dt=(bt*st+ct*tt+at*et)*L*(I-pt)-(it*st+Z*tt+U*et)*L*(D-dt))*T,p[j+160+((o=3*O|0)<<2)>>2]=Rt,jt=lt+kt*P+Dt*V,p[j+160+(o+1<<2)>>2]=jt,Dt=ft+kt*x+Dt*F,p[j+160+(o+2<<2)>>2]=Dt,Dt=G-(mt*Rt+ht*jt+yt*Dt),p[j+128+(O<<2)>>2]=Dt,o=O<<1,Dt>=0&&(p[j+256+(o<<2)>>2]=D,p[j+256+((1|o)<<2)>>2]=I,O=O+1|0),t=t+1|0}while((0|t)!=(0|n));t:do{if((0|O)>=1){if((0|O)<=(0|(X=(0|(J=(0|O)<4?O:4))>1?J:1)))if(It){for(o=Bt+4|0,t=Bt+8|0,_[a>>2]=z,I=-+p[a>>2],_[a>>2]=q,D=-+p[a>>2],n=0;;)if(It=3*n|0,p[j+352>>2]=+p[j+160+(It<<2)>>2]+ +p[Bt>>2],p[j+352+4>>2]=+p[j+160+(It+1<<2)>>2]+ +p[o>>2],p[j+352+8>>2]=+p[j+160+(It+2<<2)>>2]+ +p[t>>2],It=0|_[16+(0|_[i>>2])>>2],p[j+320>>2]=-Ct,p[j+320+4>>2]=I,p[j+320+8>>2]=D,p[j+320+12>>2]=0,sd[15&It](i,j+320|0,j+352|0,-+p[j+128+(n<<2)>>2]),(0|(n=n+1|0))==(0|O))break t}else for(o=Bt+4|0,t=Bt+8|0,_[a>>2]=z,I=+p[a>>2],_[a>>2]=q,D=+p[a>>2],n=0;;)if(It=3*n|0,Dt=+p[j+128+(n<<2)>>2],p[j+352>>2]=+p[j+160+(It<<2)>>2]+ +p[Bt>>2]-Dt*Ct,p[j+352+4>>2]=+p[j+160+(It+1<<2)>>2]+ +p[o>>2]-Dt*I,p[j+352+8>>2]=+p[j+160+(It+2<<2)>>2]+ +p[t>>2]-Dt*D,It=0|_[16+(0|_[i>>2])>>2],p[j+320>>2]=-Ct,p[j+320+4>>2]=-I,p[j+320+8>>2]=-D,p[j+320+12>>2]=0,sd[15&It](i,j+320|0,j+352|0,-Dt),(0|(n=n+1|0))==(0|O))break t;e:do{if((0|O)>1){for(D=+p[j+128>>2],n=0,o=1;n=(t=(I=+p[j+128+(o<<2)>>2])>D)?o:n,(0|(o=o+1|0))!=(0|O);)D=t?I:D;switch(0|O){case 1:o=1,t=j+96|0,B=j+96|0,nt=120;break e;case 2:D=.5*(+p[j+256+4>>2]+ +p[j+256+12>>2]),I=.5*(+p[j+256>>2]+ +p[j+256+8>>2]),o=2,t=j+96|0,B=j+96|0,nt=124;break e}t=O+-1|0,V=0,M=0,D=0,o=0;do{D+=(kt=+p[j+256+((gt=o<<1)<<2)>>2])*(Rt=+p[j+256+(gt+3<<2)>>2])-(jt=+p[j+256+(gt+2<<2)>>2])*(Dt=+p[j+256+((1|gt)<<2)>>2]),M+=(kt+jt)*(kt*Rt-jt*Dt),V+=(Rt+Dt)*(kt*Rt-jt*Dt),o=o+1|0}while((0|o)!=(0|t));if(F=+p[j+256+((gt=O<<1)-2<<2)>>2],x=+p[j+256+4>>2],T=+p[j+256>>2],P=+p[j+256+(gt+-1<<2)>>2],I=(gt=+d(+(I=D+(F*x-T*P)))>1.1920928955078125e-7)?1/(3*I):0xde0b6b000000000,(0|O)>0){D=(V+(x+P)*(F*x-T*P))*I,I*=M+(F+T)*(F*x-T*P),t=j+96|0,B=j+96|0,W=j+352|0,nt=127;break}W=n,n=j+96|0,o=0}else n=0,o=O,t=j+96|0,B=j+96|0,nt=120}while(0);if(120==(0|nt)&&(D=+p[j+256+4>>2],I=+p[j+256>>2],nt=124),124==(0|nt)&&(O=o,W=j+352|0,nt=127),127==(0|nt)){o=0;do{Dt=+y(+(+p[j+256+((1|(gt=o<<1))<<2)>>2]-D),+(+p[j+256+(gt<<2)>>2]-I)),p[j+352+(o<<2)>>2]=Dt,o=o+1|0}while((0|o)!=(0|O));o=0;do{_[j+320+(o<<2)>>2]=1,o=o+1|0}while((0|o)!=(0|O));W=n,n=t,o=1}_[(t=j+320+(W<<2)|0)>>2]=0,_[n>>2]=W;e:do{if((0|J)>1){if(x=+p[j+352+(W<<2)>>2],!o)for(n=1,o=j+96+4|0;;){if(_[o>>2]=W,_[t>>2]=0,(0|(n=n+1|0))==(0|X))break e;o=o+4|0}for(o=1,t=j+96+4|0;;){for(F=(F=6.2831854820251465/+(0|X)*+(0|o)+x)>3.1415927410125732?F+-6.2831854820251465:F,_[t>>2]=W,I=1e9,B=0,n=W;;){do{if(0|_[j+320+(B<<2)>>2]){if(!((D=(D=+d(+(+p[j+352+(B<<2)>>2]-F)))>3.1415927410125732?6.2831854820251465-D:D)<I)){D=I;break}_[t>>2]=B,n=B}else D=I}while(0);if((0|(B=B+1|0))==(0|O))break;I=D}if(_[j+320+(n<<2)>>2]=0,(0|(o=o+1|0))==(0|X))break;t=t+4|0}}}while(0);if((0|X)>0)if(o=Bt+4|0,t=Bt+8|0,_[a>>2]=z,I=+p[a>>2],_[a>>2]=q,D=+p[a>>2],It){n=0;do{It=0|_[j+96+(n<<2)>>2],p[j+352>>2]=+p[j+160+(3*It<<2)>>2]+ +p[Bt>>2],p[j+352+4>>2]=+p[j+160+(1+(3*It|0)<<2)>>2]+ +p[o>>2],p[j+352+8>>2]=+p[j+160+(2+(3*It|0)<<2)>>2]+ +p[t>>2],gt=0|_[16+(0|_[i>>2])>>2],p[j+320>>2]=-Ct,p[j+320+4>>2]=-I,p[j+320+8>>2]=-D,p[j+320+12>>2]=0,sd[15>](i,j+320|0,j+352|0,-+p[j+128+(It<<2)>>2]),n=n+1|0}while(n>>>0<X>>>0)}else{n=0;do{gt=0|_[j+96+(n<<2)>>2],kt=+p[j+160+(3*gt<<2)>>2]+ +p[Bt>>2],p[j+352>>2]=kt,Rt=+p[j+160+(1+(3*gt|0)<<2)>>2]+ +p[o>>2],p[j+352+4>>2]=Rt,jt=+p[j+160+(2+(3*gt|0)<<2)>>2]+ +p[t>>2],p[j+352+8>>2]=jt,It=0|_[16+(0|_[i>>2])>>2],p[j+320>>2]=-Ct,p[j+320+4>>2]=-I,p[j+320+8>>2]=-D,p[j+320+12>>2]=0,Dt=+p[j+128+(gt<<2)>>2],p[j+424>>2]=kt-Dt*Ct,p[j+424+4>>2]=Rt-Dt*I,p[j+424+8>>2]=jt-Dt*D,p[j+424+12>>2]=0,sd[15&It](i,j+320|0,j+424|0,-Dt),n=n+1|0}while(n>>>0<X>>>0)}}}while(0)}Q=j}}}}}}}function di(t){t|=0;var e,i=0,n=0,o=0,r=0,s=0,p=0,c=0,a=0,b=0,d=0,l=0,A=0,f=0,u=0,m=0;e=Q,Q=Q+16|0;do{if(t>>>0<245){if(o=(d=t>>>0<11?16:t+11&-8)>>>3,l=0|_[6648],3&(r=o?l>>>o:l))return i=0|_[8+(t=26632+((1&r^1)+o<<1<<2)|0)>>2],(0|(n=0|_[i+8>>2]))==(0|t)?_[6648]=l&~(1<<(1&r^1)+o):(_[n+12>>2]=t,_[t+8>>2]=n),_[i+4>>2]=(1&r^1)+o<<3|3,_[i+((1&r^1)+o<<3)+4>>2]=1|_[i+((1&r^1)+o<<3)+4>>2],Q=e,0|(m=i+8|0);if(d>>>0>(b=0|_[6650])>>>0){if(0|r)return s=0|_[26632+((r=((f=(r=(u=(r=(r<<o&(2<<o|0-(2<<o))&0-(r<<o&(2<<o|0-(2<<o))))-1|0)>>>12&16)?r>>>u:r)>>>5&8)|u|(m=(r=f?r>>>f:r)>>>2&4)|(t=(r=m?r>>>m:r)>>>1&2)|(s=(r=t?r>>>t:r)>>>1&1))+(s?r>>>s:r)|0)<<1<<2)+8>>2],(0|(t=0|_[s+8>>2]))==(26632+(r<<1<<2)|0)?(_[6648]=l&~(1<<r),t=l&~(1<<r)):(_[t+12>>2]=26632+(r<<1<<2),_[26632+(r<<1<<2)+8>>2]=t,t=l),_[s+4>>2]=3|d,_[s+d+4>>2]=(r<<3)-d|1,_[s+(r<<3)>>2]=(r<<3)-d,0|b&&(o=0|_[6653],t&1<<(n=b>>>3)?(t=0|_[26632+(n<<1<<2)+8>>2],i=26632+(n<<1<<2)+8|0):(_[6648]=t|1<<n,t=26632+(n<<1<<2)|0,i=26632+(n<<1<<2)+8|0),_[i>>2]=o,_[t+12>>2]=o,_[o+8>>2]=t,_[o+12>>2]=26632+(n<<1<<2)),_[6650]=(r<<3)-d,_[6653]=s+d,Q=e,0|(m=s+8|0);if(s=0|_[6649]){for(n=a=0|_[26896+(((o=(a=(r=((s&0-s)-1|0)>>>12&16)?((s&0-s)-1|0)>>>r:(s&0-s)-1|0)>>>5&8)|r|(p=(a=o?a>>>o:a)>>>2&4)|(c=(a=p?a>>>p:a)>>>1&2)|(n=(a=c?a>>>c:a)>>>1&1))+(n?a>>>n:a)<<2)>>2],c=a,a=(-8&_[a+4>>2])-d|0;(t=0|_[n+16>>2])||(t=0|_[n+20>>2]);)n=t,c=(r=(p=(-8&_[t+4>>2])-d|0)>>>0<a>>>0)?t:c,a=r?p:a;if((p=c+d|0)>>>0>c>>>0){r=0|_[c+24>>2],t=0|_[c+12>>2];do{if((0|t)==(0|c)){if(!(t=0|_[(i=c+20|0)>>2])&&!(t=0|_[(i=c+16|0)>>2])){i=0;break}for(;;)if(n=0|_[(o=t+20|0)>>2])t=n,i=o;else{if(!(n=0|_[(o=t+16|0)>>2]))break;t=n,i=o}_[i>>2]=0,i=t}else i=0|_[c+8>>2],_[i+12>>2]=t,_[t+8>>2]=i,i=t}while(0);do{if(0|r){if(t=0|_[c+28>>2],(0|c)==(0|_[26896+(t<<2)>>2])){if(_[26896+(t<<2)>>2]=i,!i){_[6649]=s&~(1<<t);break}}else if(_[((0|_[r+16>>2])==(0|c)?r+16:r+20)>>2]=i,!i)break;_[i+24>>2]=r,0|(t=0|_[c+16>>2])&&(_[i+16>>2]=t,_[t+24>>2]=i),0|(t=0|_[c+20>>2])&&(_[i+20>>2]=t,_[t+24>>2]=i)}}while(0);return a>>>0<16?(m=a+d|0,_[c+4>>2]=3|m,_[(m=c+m+4|0)>>2]=1|_[m>>2]):(_[c+4>>2]=3|d,_[p+4>>2]=1|a,_[p+a>>2]=a,0|b&&(o=0|_[6653],1<<(n=b>>>3)&l?(t=0|_[26632+(n<<1<<2)+8>>2],i=26632+(n<<1<<2)+8|0):(_[6648]=1<<n|l,t=26632+(n<<1<<2)|0,i=26632+(n<<1<<2)+8|0),_[i>>2]=o,_[t+12>>2]=o,_[o+8>>2]=t,_[o+12>>2]=26632+(n<<1<<2)),_[6650]=a,_[6653]=p),Q=e,0|(m=c+8|0)}}}}else if(t>>>0<=4294967231){if(d=t+11&-8,o=0|_[6649]){a=(t=(t+11|0)>>>8)?d>>>0>16777215?31:1&(7+(a=14-((u=(520192+(t<<(l=(t+1048320|0)>>>16&8))|0)>>>16&4)|l|(a=(245760+(t<<l<<u)|0)>>>16&2))+(t<<l<<u<<a>>>15)|0)|0?d>>>(a+7|0):d)|a<<1:0,t=0|_[26896+(a<<2)>>2];t:do{if(t)for(p=0,n=0-d|0,c=d<<(31==(0|a)?0:25-(a>>>1)|0),r=0;;){if((s=(-8&_[t+4>>2])-d|0)>>>0<n>>>0){if(!s){s=t,n=0,r=t,u=65;break t}p=t,n=s}if(r=!(0|(u=0|_[t+20>>2]))|(0|u)==(0|(t=0|_[t+16+(c>>>31<<2)>>2]))?r:u,!t){t=p,u=61;break}c<<=1}else r=0,t=0,n=0-d|0,u=61}while(0);if(61==(0|u)){if(!(0|r)&!(0|t)){if(!(((t=2<<a)|0-t)&o))break;r=((t|0-t)&o&0-((t|0-t)&o))-1|0,t=0,r=0|_[26896+(((s=(r=(p=r>>>12&16)?r>>>p:r)>>>5&8)|p|(c=(r=s?r>>>s:r)>>>2&4)|(a=(r=c?r>>>c:r)>>>1&2)|(l=(r=a?r>>>a:r)>>>1&1))+(l?r>>>l:r)<<2)>>2]}r?(s=t,u=65):(s=t,c=n)}if(65==(0|u))for(;;){if(n=(t=(l=(-8&_[r+4>>2])-d|0)>>>0<n>>>0)?l:n,s=t?r:s,(t=0|_[r+16>>2])||(t=0|_[r+20>>2]),!t){c=n;break}r=t}if(0|s&&c>>>0<((0|_[6650])-d|0)>>>0&&(b=s+d|0)>>>0>s>>>0){p=0|_[s+24>>2],t=0|_[s+12>>2];do{if((0|t)==(0|s)){if(!(t=0|_[(i=s+20|0)>>2])&&!(t=0|_[(i=s+16|0)>>2])){t=0;break}for(;;)if(n=0|_[(r=t+20|0)>>2])t=n,i=r;else{if(!(n=0|_[(r=t+16|0)>>2]))break;t=n,i=r}_[i>>2]=0}else m=0|_[s+8>>2],_[m+12>>2]=t,_[t+8>>2]=m}while(0);do{if(p){if(i=0|_[s+28>>2],(0|s)==(0|_[26896+(i<<2)>>2])){if(_[26896+(i<<2)>>2]=t,!t){_[6649]=o&~(1<<i),o&=~(1<<i);break}}else if(_[((0|_[p+16>>2])==(0|s)?p+16:p+20)>>2]=t,!t)break;_[t+24>>2]=p,0|(i=0|_[s+16>>2])&&(_[t+16>>2]=i,_[i+24>>2]=t),(i=0|_[s+20>>2])&&(_[t+20>>2]=i,_[i+24>>2]=t)}}while(0);t:do{if(c>>>0<16)m=c+d|0,_[s+4>>2]=3|m,_[(m=s+m+4|0)>>2]=1|_[m>>2];else{if(_[s+4>>2]=3|d,_[b+4>>2]=1|c,_[b+c>>2]=c,n=c>>>3,c>>>0<256){(t=0|_[6648])&1<<n?(t=0|_[26632+(n<<1<<2)+8>>2],i=26632+(n<<1<<2)+8|0):(_[6648]=t|1<<n,t=26632+(n<<1<<2)|0,i=26632+(n<<1<<2)+8|0),_[i>>2]=b,_[t+12>>2]=b,_[b+8>>2]=t,_[b+12>>2]=26632+(n<<1<<2);break}if(t=26896+((n=(t=c>>>8)?c>>>0>16777215?31:1&(7+(n=14-((m=(520192+(t<<(u=(t+1048320|0)>>>16&8))|0)>>>16&4)|u|(n=(245760+(t<<u<<m)|0)>>>16&2))+(t<<u<<m<<n>>>15)|0)|0?c>>>(n+7|0):c)|n<<1:0)<<2)|0,_[b+28>>2]=n,_[b+16+4>>2]=0,_[b+16>>2]=0,!(o&(i=1<<n))){_[6649]=o|i,_[t>>2]=b,_[b+24>>2]=t,_[b+12>>2]=b,_[b+8>>2]=b;break}t=0|_[t>>2];e:do{if((-8&_[t+4>>2])!=(0|c)){for(o=c<<(31==(0|n)?0:25-(n>>>1)|0);i=0|_[(n=t+16+(o>>>31<<2)|0)>>2];){if((-8&_[i+4>>2])==(0|c)){t=i;break e}o<<=1,t=i}_[n>>2]=b,_[b+24>>2]=t,_[b+12>>2]=b,_[b+8>>2]=b;break t}}while(0);m=0|_[(u=t+8|0)>>2],_[m+12>>2]=b,_[u>>2]=b,_[b+8>>2]=m,_[b+12>>2]=t,_[b+24>>2]=0}}while(0);return Q=e,0|(m=s+8|0)}}}else d=-1}while(0);if((n=0|_[6650])>>>0>=d>>>0)return t=n-d|0,i=0|_[6653],t>>>0>15?(m=i+d|0,_[6653]=m,_[6650]=t,_[m+4>>2]=1|t,_[i+n>>2]=t,_[i+4>>2]=3|d):(_[6650]=0,_[6653]=0,_[i+4>>2]=3|n,_[i+n+4>>2]=1|_[i+n+4>>2]),Q=e,0|(m=i+8|0);if((r=0|_[6651])>>>0>d>>>0)return f=r-d|0,_[6651]=f,u=(m=0|_[6654])+d|0,_[6654]=u,_[u+4>>2]=1|f,_[m+4>>2]=3|d,Q=e,0|(m=m+8|0);if(0|_[6766]?t=0|_[6768]:(_[6768]=4096,_[6767]=4096,_[6769]=-1,_[6770]=-1,_[6771]=0,_[6759]=0,_[6766]=-16&e^1431655768,t=4096),s=d+48|0,((a=t+(p=d+47|0)|0)&(c=0-t|0))>>>0<=d>>>0)return Q=e,0|(m=0);if(0|(t=0|_[6758])&&(((l=0|_[6756])+(a&c)|0)>>>0<=l>>>0||(l+(a&c)|0)>>>0>t>>>0))return Q=e,0|(m=0);t:do{if(4&_[6759])t=0,u=143;else{o=0|_[6654];e:do{if(o){for(t=27040;!((n=0|_[t>>2])>>>0<=o>>>0&&(n+(0|_[(A=t+4|0)>>2])|0)>>>0>o>>>0);)if(!(t=0|_[t+8>>2])){u=128;break e}if((a-r&c)>>>0<2147483647)if((0|(o=0|yo(a-r&c|0)))==((0|_[t>>2])+(0|_[A>>2])|0)){if(-1!=(0|o)){p=a-r&c;break t}t=a-r&c}else i=a-r&c,u=136;else t=0}else u=128}while(0);do{if(128==(0|u))if(-1!=(0|(t=0|yo(0)))&&(i=((i=0|_[6767])-1&t?(i+-1+t&0-i)-t|0:0)+(a&c)|0,f=0|_[6756],i>>>0>d>>>0&i>>>0<2147483647)){if(0|(A=0|_[6758])&&(i+f|0)>>>0<=f>>>0|(i+f|0)>>>0>A>>>0){t=0;break}if((0|(o=0|yo(0|i)))==(0|t)){p=i,o=t;break t}u=136}else t=0}while(0);do{if(136==(0|u)){if(n=0-i|0,!(s>>>0>i>>>0&i>>>0<2147483647&-1!=(0|o))){if(-1==(0|o)){t=0;break}p=i;break t}if((t=p-i+(t=0|_[6768])&0-t)>>>0>=2147483647){p=i;break t}if(-1==(0|yo(0|t))){yo(0|n),t=0;break}p=t+i|0;break t}}while(0);_[6759]=4|_[6759],u=143}}while(0);if(143==(0|u)){if((a&c)>>>0>=2147483647)return Q=e,0|(m=0);if(-1==(0|(o=0|yo(a&c|0)))|1^(n=((i=0|yo(0))-o|0)>>>0>(d+40|0)>>>0)|o>>>0<i>>>0&-1!=(0|o)&-1!=(0|i)^1)return Q=e,0|(m=0);p=n?i-o|0:t}t=(0|_[6756])+p|0,_[6756]=t,t>>>0>(0|_[6757])>>>0&&(_[6757]=t),a=0|_[6654];t:do{if(a){for(t=27040;;){if((0|o)==((i=0|_[t>>2])+(r=0|_[(n=t+4|0)>>2])|0)){u=154;break}if(!(s=0|_[t+8>>2]))break;t=s}if(!(154!=(0|u)||8&_[t+12>>2])&&o>>>0>a>>>0&i>>>0<=a>>>0){_[n>>2]=r+p,m=(0|_[6651])+p|0,u=a+8&7?0-(a+8)&7:0,_[6654]=a+u,_[6651]=m-u,_[a+u+4>>2]=m-u|1,_[a+m+4>>2]=40,_[6655]=_[6770];break}for(o>>>0<(0|_[6652])>>>0&&(_[6652]=o),n=o+p|0,t=27040;;){if((0|_[t>>2])==(0|n)){u=162;break}if(!(i=0|_[t+8>>2]))break;t=i}if(162==(0|u)&&!(8&_[t+12>>2])){_[t>>2]=o,_[(l=t+4|0)>>2]=(0|_[l>>2])+p,b=(l=o+(7&(l=o+8|0)?0-l&7:0)|0)+d|0,c=(t=n+(n+8&7?0-(n+8)&7:0)|0)-l-d|0,_[l+4>>2]=3|d;e:do{if((0|a)==(0|t))m=(0|_[6651])+c|0,_[6651]=m,_[6654]=b,_[b+4>>2]=1|m;else{if((0|_[6653])==(0|t)){m=(0|_[6650])+c|0,_[6650]=m,_[6653]=b,_[b+4>>2]=1|m,_[b+m>>2]=m;break}if(1==(3&(p=0|_[t+4>>2]))){i=p>>>3;i:do{if(p>>>0<256){if(n=0|_[t+8>>2],(0|(o=0|_[t+12>>2]))==(0|n)){_[6648]=_[6648]&~(1<<i);break}_[n+12>>2]=o,_[o+8>>2]=n;break}s=0|_[t+24>>2],i=0|_[t+12>>2];do{if((0|i)==(0|t)){if(i=0|_[t+16+4>>2])n=t+16+4|0;else{if(!(i=0|_[t+16>>2])){i=0;break}n=t+16|0}for(;;)if(o=0|_[(r=i+20|0)>>2])i=o,n=r;else{if(!(o=0|_[(r=i+16|0)>>2]))break;i=o,n=r}_[n>>2]=0}else m=0|_[t+8>>2],_[m+12>>2]=i,_[i+8>>2]=m}while(0);if(!s)break;n=0|_[t+28>>2];do{if((0|_[26896+(n<<2)>>2])==(0|t)){if(_[26896+(n<<2)>>2]=i,0|i)break;_[6649]=_[6649]&~(1<<n);break i}if(_[((0|_[s+16>>2])==(0|t)?s+16:s+20)>>2]=i,!i)break i}while(0);if(_[i+24>>2]=s,0|(n=0|_[t+16>>2])&&(_[i+16>>2]=n,_[n+24>>2]=i),!(n=0|_[t+16+4>>2]))break;_[i+20>>2]=n,_[n+24>>2]=i}while(0);t=t+(-8&p)|0,r=(-8&p)+c|0}else r=c;if(_[(n=t+4|0)>>2]=-2&_[n>>2],_[b+4>>2]=1|r,_[b+r>>2]=r,n=r>>>3,r>>>0<256){(t=0|_[6648])&1<<n?(t=0|_[26632+(n<<1<<2)+8>>2],i=26632+(n<<1<<2)+8|0):(_[6648]=t|1<<n,t=26632+(n<<1<<2)|0,i=26632+(n<<1<<2)+8|0),_[i>>2]=b,_[t+12>>2]=b,_[b+8>>2]=t,_[b+12>>2]=26632+(n<<1<<2);break}t=r>>>8;do{if(t){if(r>>>0>16777215){o=31;break}o=1&(7+(o=14-((m=(520192+(t<<(u=(t+1048320|0)>>>16&8))|0)>>>16&4)|u|(o=(245760+(t<<u<<m)|0)>>>16&2))+(t<<u<<m<<o>>>15)|0)|0?r>>>(o+7|0):r)|o<<1}else o=0}while(0);if(t=26896+(o<<2)|0,_[b+28>>2]=o,_[b+16+4>>2]=0,_[b+16>>2]=0,!((i=0|_[6649])&(n=1<<o))){_[6649]=i|n,_[t>>2]=b,_[b+24>>2]=t,_[b+12>>2]=b,_[b+8>>2]=b;break}t=0|_[t>>2];i:do{if((-8&_[t+4>>2])!=(0|r)){for(o=r<<(31==(0|o)?0:25-(o>>>1)|0);i=0|_[(n=t+16+(o>>>31<<2)|0)>>2];){if((-8&_[i+4>>2])==(0|r)){t=i;break i}o<<=1,t=i}_[n>>2]=b,_[b+24>>2]=t,_[b+12>>2]=b,_[b+8>>2]=b;break e}}while(0);m=0|_[(u=t+8|0)>>2],_[m+12>>2]=b,_[u>>2]=b,_[b+8>>2]=m,_[b+12>>2]=t,_[b+24>>2]=0}}while(0);return Q=e,0|(m=l+8|0)}for(t=27040;!((i=0|_[t>>2])>>>0<=a>>>0&&(m=i+(0|_[t+4>>2])|0)>>>0>a>>>0);)t=0|_[t+8>>2];r=(r=m+-47+(m+-47+8&7?0-(m+-47+8)&7:0)|0)>>>0<(a+16|0)>>>0?a:r,t=p+-40|0,u=o+(f=7&(f=o+8|0)?0-f&7:0)|0,_[6654]=u,_[6651]=t-f,_[u+4>>2]=t-f|1,_[o+t+4>>2]=40,_[6655]=_[6770],_[r+4>>2]=27,_[r+8>>2]=_[6760],_[r+8+4>>2]=_[6761],_[r+8+8>>2]=_[6762],_[r+8+12>>2]=_[6763],_[6760]=o,_[6761]=p,_[6763]=0,_[6762]=r+8,t=r+24|0;do{u=t,_[(t=t+4|0)>>2]=7}while((u+8|0)>>>0<m>>>0);if((0|r)!=(0|a)){if(_[r+4>>2]=-2&_[r+4>>2],_[a+4>>2]=r-a|1,_[r>>2]=r-a,n=(r-a|0)>>>3,(r-a|0)>>>0<256){(t=0|_[6648])&1<<n?(t=0|_[26632+(n<<1<<2)+8>>2],i=26632+(n<<1<<2)+8|0):(_[6648]=t|1<<n,t=26632+(n<<1<<2)|0,i=26632+(n<<1<<2)+8|0),_[i>>2]=a,_[t+12>>2]=a,_[a+8>>2]=t,_[a+12>>2]=26632+(n<<1<<2);break}if(t=26896+((o=(t=(r-a|0)>>>8)?(r-a|0)>>>0>16777215?31:1&(7+(o=14-((m=(520192+(t<<(u=(t+1048320|0)>>>16&8))|0)>>>16&4)|u|(o=(245760+(t<<u<<m)|0)>>>16&2))+(t<<u<<m<<o>>>15)|0)|0?(r-a|0)>>>(o+7|0):r-a)|o<<1:0)<<2)|0,_[a+28>>2]=o,_[a+20>>2]=0,_[a+16>>2]=0,!((i=0|_[6649])&(n=1<<o))){_[6649]=i|n,_[t>>2]=a,_[a+24>>2]=t,_[a+12>>2]=a,_[a+8>>2]=a;break}t=0|_[t>>2];e:do{if((-8&_[t+4>>2])!=(r-a|0)){for(o=r-a<<(31==(0|o)?0:25-(o>>>1)|0);i=0|_[(n=t+16+(o>>>31<<2)|0)>>2];){if((-8&_[i+4>>2])==(r-a|0)){t=i;break e}o<<=1,t=i}_[n>>2]=a,_[a+24>>2]=t,_[a+12>>2]=a,_[a+8>>2]=a;break t}}while(0);m=0|_[(u=t+8|0)>>2],_[m+12>>2]=a,_[u>>2]=a,_[a+8>>2]=m,_[a+12>>2]=t,_[a+24>>2]=0}}else!(0|(m=0|_[6652]))|o>>>0<m>>>0&&(_[6652]=o),_[6760]=o,_[6761]=p,_[6763]=0,_[6657]=_[6766],_[6656]=-1,_[6661]=26632,_[6660]=26632,_[6663]=26640,_[6662]=26640,_[6665]=26648,_[6664]=26648,_[6667]=26656,_[6666]=26656,_[6669]=26664,_[6668]=26664,_[6671]=26672,_[6670]=26672,_[6673]=26680,_[6672]=26680,_[6675]=26688,_[6674]=26688,_[6677]=26696,_[6676]=26696,_[6679]=26704,_[6678]=26704,_[6681]=26712,_[6680]=26712,_[6683]=26720,_[6682]=26720,_[6685]=26728,_[6684]=26728,_[6687]=26736,_[6686]=26736,_[6689]=26744,_[6688]=26744,_[6691]=26752,_[6690]=26752,_[6693]=26760,_[6692]=26760,_[6695]=26768,_[6694]=26768,_[6697]=26776,_[6696]=26776,_[6699]=26784,_[6698]=26784,_[6701]=26792,_[6700]=26792,_[6703]=26800,_[6702]=26800,_[6705]=26808,_[6704]=26808,_[6707]=26816,_[6706]=26816,_[6709]=26824,_[6708]=26824,_[6711]=26832,_[6710]=26832,_[6713]=26840,_[6712]=26840,_[6715]=26848,_[6714]=26848,_[6717]=26856,_[6716]=26856,_[6719]=26864,_[6718]=26864,_[6721]=26872,_[6720]=26872,_[6723]=26880,_[6722]=26880,m=p+-40|0,u=o+(f=7&(f=o+8|0)?0-f&7:0)|0,_[6654]=u,_[6651]=m-f,_[u+4>>2]=m-f|1,_[o+m+4>>2]=40,_[6655]=_[6770]}while(0);return(t=0|_[6651])>>>0<=d>>>0?(Q=e,0|(m=0)):(f=t-d|0,_[6651]=f,u=(m=0|_[6654])+d|0,_[6654]=u,_[u+4>>2]=1|f,_[m+4>>2]=3|d,Q=e,0|(m=m+8|0))}function li(t,e,i,n,o){t|=0,e|=0,i|=0,o|=0;var r,s,p,c,a,b=0,d=0,l=0,A=0,f=0,u=0,m=0,h=0,y=0,C=0,v=0,S=0,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0,O=0,x=0,T=0,P=0,V=0,M=0,G=0,L=0,N=0,Q=0,E=0,H=0,Z=0,U=0,Y=0,J=0,X=0,z=0,K=0,q=0,$=0,tt=0,et=0,it=0,nt=0,ot=0,_t=0,rt=0,st=0;if(z=0|_[(n|=0)>>2],a=0|_[o>>2],b=0|z?0|_[z+12>>2]:e,d=0|_[b+88>>2],A=0|_[b+92>>2],u=0|_[b+96>>2],b=a?0|_[a+12>>2]:i,k=0|_[b+88>>2],v=0|_[b+92>>2],f=0|_[b+96>>2],q=0|_[e+88>>2],p=(0|_[i+88>>2])-q|0,j=0|_[e+92>>2],c=(0|_[i+92>>2])-j|0,l=0|_[e+96>>2],r=(0|_[i+96>>2])-l|0,K=0|_[(0|z?z:a)+12>>2],$=(0|_[K+88>>2])-q|0,X=(0|_[K+92>>2])-j|0,K=(0|_[K+96>>2])-l|0,s=(0|g(X,r))-(0|g(K,c))|0,K=(0|g(K,p))-(0|g($,r))|0,X=(0|g($,c))-(0|g(X,p))|0,q=0|f_(0|s,((0|s)<0)<<31>>31,0|q,((0|q)<0)<<31>>31),$=0|w(),j=0|f_(0|K,((0|K)<0)<<31>>31,0|j,((0|j)<0)<<31>>31),R=0|w(),l=0|Or(0|q,0|$,0|(l=0|f_(0|X,((0|X)<0)<<31>>31,0|l,((0|l)<0)<<31>>31)),0|w()),R=0|Or(0|l,0|w(),0|j,0|R),j=0|w(),q=0|Ir(0|(l=0|f_(0|X,((0|X)<0)<<31>>31,0|c,((0|c)<0)<<31>>31)),0|($=0|w()),0|(q=0|f_(0|K,((0|K)<0)<<31>>31,0|r,((0|r)<0)<<31>>31)),0|w()),$=0|w(),tt=0|Ir(0|(l=0|f_(0|s,((0|s)<0)<<31>>31,0|r,((0|r)<0)<<31>>31)),0|(et=0|w()),0|(tt=0|f_(0|X,((0|X)<0)<<31>>31,0|p,((0|p)<0)<<31>>31)),0|w()),et=0|w(),it=0|Ir(0|(l=0|f_(0|K,((0|K)<0)<<31>>31,0|p,((0|p)<0)<<31>>31)),0|(nt=0|w()),0|(it=0|f_(0|s,((0|s)<0)<<31>>31,0|c,((0|c)<0)<<31>>31)),0|w()),nt=0|w(),l=0|f_(0|q,0|$,0|d,((0|d)<0)<<31>>31),J=0|w(),J=0|Or(0|(m=0|f_(0|tt,0|et,0|A,((0|A)<0)<<31>>31)),0|w(),0|l,0|J),m=0|Or(0|J,0|(l=0|w()),0|(m=0|f_(0|it,0|nt,0|u,((0|u)<0)<<31>>31)),0|w()),l=0|w(),0|z&&0|_[z+12>>2]){for(b=d,e=A,i=u,h=z,y=l;;){if(h=0|_[4+(0|_[h+8>>2])>>2],A=0|_[(u=h+12|0)>>2],Y=0|f_(0|(d=0|_[A+88>>2]),((0|d)<0)<<31>>31,0|s,((0|s)<0)<<31>>31),U=0|w(),U=0|Or(0|(J=0|f_(0|(l=0|_[A+92>>2]),((0|l)<0)<<31>>31,0|K,((0|K)<0)<<31>>31)),0|w(),0|Y,0|U),J=0|Or(0|U,0|(Y=0|w()),0|(J=0|f_(0|(A=0|_[A+96>>2]),((0|A)<0)<<31>>31,0|X,((0|X)<0)<<31>>31)),0|w()),(0|(Y=0|w()))<(0|j)|(0|Y)==(0|j)&J>>>0<R>>>0){A=m,l=y;break}if((0|_[h+20>>2])==(0|_[t+100>>2])){A=m,l=y;break}if(Y=0|f_(0|q,0|$,0|d,((0|d)<0)<<31>>31),J=0|w(),J=0|Or(0|(l=0|f_(0|tt,0|et,0|l,((0|l)<0)<<31>>31)),0|w(),0|Y,0|J),A=0|Or(0|J,0|(l=0|w()),0|(A=0|f_(0|it,0|nt,0|A,((0|A)<0)<<31>>31)),0|w()),!((0|(l=0|w()))>(0|y)|(0|l)==(0|y)&A>>>0>m>>>0)){A=m,l=y;break}if(_[n>>2]=h,J=0|_[u>>2],b=0|_[J+88>>2],e=0|_[J+92>>2],i=0|_[J+96>>2],!J)break;y=l,m=A}d=b,u=i,h=0|_[o>>2]}else e=A,h=a,A=m;b=0|f_(0|q,0|$,0|k,((0|k)<0)<<31>>31),J=0|w(),J=0|Or(0|(i=0|f_(0|tt,0|et,0|v,((0|v)<0)<<31>>31)),0|w(),0|b,0|J),i=0|Or(0|J,0|(b=0|w()),0|(i=0|f_(0|it,0|nt,0|f,((0|f)<0)<<31>>31)),0|w()),b=0|w();t:do{if(h)if(0|_[h+12>>2])for(C=h;;){if(S=0|_[_[C+8>>2]>>2],y=0|_[S+12>>2],Y=0|f_(0|(m=0|_[y+88>>2]),((0|m)<0)<<31>>31,0|s,((0|s)<0)<<31>>31),U=0|w(),U=0|Or(0|(J=0|f_(0|(h=0|_[y+92>>2]),((0|h)<0)<<31>>31,0|K,((0|K)<0)<<31>>31)),0|w(),0|Y,0|U),J=0|Or(0|U,0|(Y=0|w()),0|(J=0|f_(0|(y=0|_[y+96>>2]),((0|y)<0)<<31>>31,0|X,((0|X)<0)<<31>>31)),0|w()),(0|(Y=0|w()))<(0|j)|(0|Y)==(0|j)&J>>>0<R>>>0)break t;if((0|_[S+20>>2])==(0|_[t+100>>2]))break t;if(m=0|f_(0|q,0|$,0|m,((0|m)<0)<<31>>31),J=0|w(),J=0|Or(0|(h=0|f_(0|tt,0|et,0|h,((0|h)<0)<<31>>31)),0|w(),0|m,0|J),m=0|Or(0|J,0|(h=0|w()),0|(m=0|f_(0|it,0|nt,0|y,((0|y)<0)<<31>>31)),0|w()),!((0|(h=0|w()))>(0|b)|(0|h)==(0|b)&m>>>0>i>>>0))break t;if(_[o>>2]=S,J=0|_[S+12>>2],b=0|_[J+88>>2],i=0|_[J+92>>2],f=0|_[J+96>>2],!J){k=b,v=i,C=S,i=m,b=h;break}k=b,v=i,C=S,b=h,i=m}else C=h;else C=0}while(0);if(l=0|Ir(0|i,0|b,0|A,0|l),(0|(i=0|w()))>0|!(0|i)&l>>>0>0){for(Y=0|Ir(0,0,0|X,((0|X)<0)<<31>>31),J=0|w(),Q=k,b=d,E=v,A=e,H=f,m=u,y=l,h=i;;){U=b,N=0|_[n>>2];t:for(;Z=(0|g(E-A|0,c))+(0|g(Q-U|0,p))+(0|g(H-m|0,r))|0,N&&0|_[N+12>>2]&&(V=0|_[8+(0|_[N>>2])>>2],!((0|_[V+20>>2])<=(0|_[t+100>>2])));){L=0|_[V+12>>2],P=(M=0|_[L+88>>2])-U|0,T=(G=0|_[L+92>>2])-A|0,b=(L=0|_[L+96>>2])-m|0,R=0|f_(0|q,0|$,0|P,((0|P)<0)<<31>>31),x=0|w(),x=0|Or(0|(S=0|f_(0|tt,0|et,0|T,((0|T)<0)<<31>>31)),0|w(),0|R,0|x),S=0|Or(0|x,0|(R=0|w()),0|(S=0|f_(0|it,0|nt,0|b,((0|b)<0)<<31>>31)),0|w()),R=0|w(),b=(0|g(T,c))+(0|g(P,p))+(0|g(b,r))|0;do{if(!(0|S)&!(0|R)){if((0|b)>=0)break t}else{if((0|R)>=0)break t;if((0|b)>0?(P=-1,D=b,j=((0|b)<0)<<31>>31):(D=0|Ir(0,0,0|b,((0|b)<0)<<31>>31),j=0|w(),P=1&!!(0|b),D=0|b?D:0,j=0|b?j:0),F=0|Ir(0,0,0|S,0|R),O=0|w(),(0|Z)>0?(b=1,S=-1,x=Z,T=((0|Z)<0)<<31>>31):(x=0|Ir(0,0,0|Z,((0|Z)<0)<<31>>31),T=0|w(),b=!!(0|Z)<<31>>31,S=1&!!(0|Z),x=0|Z?x:0,T=0|Z?T:0),(0|h)>0|!(0|h)&y>>>0>0?(S=y,R=h):(W=!!(0|y)|!!(0|h),B=0|Ir(0,0,0|y,0|h),R=0|w(),b=W?S:b,S=W?B:0,R=W?R:0),(0|P)==(0|b)){if(!P)break;b=0|f_(0|S,0,0|D,0),I=0|w(),st=0|f_(0|R,0,0|D,0),rt=0|w(),B=0|f_(0|S,0,0|j,0),W=0|w(),_t=0|f_(0|R,0,0|j,0),D=0|w(),B=0|Or(0|st,0,0|B,0),S=0|w(),D=0|Or(0|rt,0,0|_t,0|D),W=0|Or(0|D,0|w(),0|W,0),S=0|Or(0|W,0|w(),0|S,0),W=0|w(),D=0|Or(0,0|B,0|b,0|I),B=0|Or(0|S,0|W,1&((I=0|w())>>>0<B>>>0|(0|I)==(0|B)&D>>>0<0),0),W=0|w(),S=0|f_(0|x,0,0|F,0),b=0|w(),_t=0|f_(0|T,0,0|F,0),F=0|w(),R=0|f_(0|x,0,0|O,0),j=0|w(),O=0|f_(0|T,0,0|O,0),x=0|w(),R=0|Or(0|_t,0,0|R,0),T=0|w(),x=0|Or(0|F,0,0|O,0|x),j=0|Or(0|x,0|w(),0|j,0),T=0|Or(0|j,0|w(),0|T,0),j=0|w(),b=0|Or(0,0|R,0|S,0|b),R=0|Or(0|T,0|j,1&((S=0|w())>>>0<R>>>0|(0|S)==(0|R)&b>>>0<0),0),j=0|w(),b=0|g(b=W>>>0<j>>>0|(0|W)==(0|j)&B>>>0<R>>>0?-1:W>>>0>j>>>0|(0|W)==(0|j)&B>>>0>R>>>0?1:I>>>0<S>>>0|(0|I)==(0|S)&D>>>0<b>>>0?-1:1&(I>>>0>S>>>0|(0|I)==(0|S)&D>>>0>b>>>0),P)}else b=P-b|0;if((0|b)<=-1)break t}}while(0);U=E-G|0,y=H-L|0,h=0|f_(0|q,0|$,0|(h=Q-M|0),((0|h)<0)<<31>>31),st=0|w(),st=0|Or(0|(U=0|f_(0|tt,0|et,0|U,((0|U)<0)<<31>>31)),0|w(),0|h,0|st),y=0|Or(0|st,0|(h=0|w()),0|(y=0|f_(0|it,0|nt,0|y,((0|y)<0)<<31>>31)),0|w()),h=0|w(),st=(0|N)==(0|z)?0:V,_[n>>2]=st,U=M,A=G,m=L,N=st}if(!(b=0|_[o>>2])){b=110;break}if(!(0|_[b+12>>2])){b=110;break}if(V=0|_[_[b+8>>2]>>2],(0|_[V+20>>2])<=(0|_[t+100>>2])){b=110;break}if(j=0|_[V+12>>2],R=(I=0|_[j+88>>2])-Q|0,S=(D=0|_[j+92>>2])-E|0,b=(j=0|_[j+96>>2])-H|0,st=0|f_(0|R,((0|R)<0)<<31>>31,0|s,((0|s)<0)<<31>>31),_t=0|w(),_t=0|Or(0|(rt=0|f_(0|S,((0|S)<0)<<31>>31,0|K,((0|K)<0)<<31>>31)),0|w(),0|st,0|_t),st=0|w(),!((0|_t)==(0|(rt=0|f_(0|Y,0|J,0|b,((0|b)<0)<<31>>31)))&(0|st)==(0|w()))){b=110;break}if(W=0|f_(0|q,0|$,0|R,((0|R)<0)<<31>>31),P=0|w(),P=0|Or(0|(B=0|f_(0|tt,0|et,0|S,((0|S)<0)<<31>>31)),0|w(),0|W,0|P),B=0|Or(0|P,0|(W=0|w()),0|(B=0|f_(0|it,0|nt,0|b,((0|b)<0)<<31>>31)),0|w()),W=0|w(),b=(0|g(S,c))+(0|g(R,p))+(0|g(b,r))|0,rt=D-A|0,T=j-m|0,P=0|f_(0|q,0|$,0|(P=I-U|0),((0|P)<0)<<31>>31),st=0|w(),st=0|Or(0|(rt=0|f_(0|tt,0|et,0|rt,((0|rt)<0)<<31>>31)),0|w(),0|P,0|st),T=0|Or(0|st,0|(P=0|w()),0|(T=0|f_(0|it,0|nt,0|T,((0|T)<0)<<31>>31)),0|w()),!((0|(P=0|w()))>0|!(0|P)&T>>>0>0)){b=110;break}if(!(0|B)&!(0|W)){if((0|b)>=0){b=110;break}}else{if((0|W)>=0){b=110;break}if((0|b)>0?(x=-1,j=b,R=((0|b)<0)<<31>>31):(j=0|Ir(0,0,0|b,((0|b)<0)<<31>>31),R=0|w(),x=1&!!(0|b),j=0|b?j:0,R=0|b?R:0),W=0|Ir(0,0,0|B,0|W),F=0|w(),(0|Z)>0?(b=1,S=-1,O=Z,B=((0|Z)<0)<<31>>31):(O=0|Ir(0,0,0|Z,((0|Z)<0)<<31>>31),B=0|w(),b=!!(0|Z)<<31>>31,S=1&!!(0|Z),O=0|Z?O:0,B=0|Z?B:0),(0|h)>0|!(0|h)&y>>>0>0||(st=!!(0|y)|!!(0|h),y=0|Ir(0,0,0|y,0|h),h=0|w(),b=st?S:b,y=st?y:0,h=st?h:0),(0|x)==(0|b)){if(!x){b=110;break}st=0|f_(0|y,0,0|j,0),b=0|w(),S=0|f_(0|h,0,0|j,0),Z=0|w(),D=0|f_(0|y,0,0|R,0),I=0|w(),j=0|f_(0|h,0,0|R,0),R=0|w(),D=0|Or(0|S,0,0|D,0),h=0|w(),R=0|Or(0|Z,0,0|j,0|R),I=0|Or(0|R,0|w(),0|I,0),h=0|Or(0|I,0|w(),0|h,0),I=0|w(),R=0|Or(0,0|D,0|st,0|b),D=0|Or(0|h,0|I,1&((j=0|w())>>>0<D>>>0|(0|j)==(0|D)&R>>>0<0),0),I=0|w(),h=0|f_(0|O,0,0|W,0),b=0|w(),st=0|f_(0|B,0,0|W,0),Z=0|w(),y=0|f_(0|O,0,0|F,0),S=0|w(),_t=0|f_(0|B,0,0|F,0),rt=0|w(),y=0|Or(0|st,0,0|y,0),st=0|w(),rt=0|Or(0|Z,0,0|_t,0|rt),S=0|Or(0|rt,0|w(),0|S,0),st=0|Or(0|S,0|w(),0|st,0),S=0|w(),b=0|Or(0,0|y,0|h,0|b),y=0|Or(0|st,0|S,1&((h=0|w())>>>0<y>>>0|(0|h)==(0|y)&b>>>0<0),0),S=0|w(),b=0|g(b=I>>>0<S>>>0|(0|I)==(0|S)&D>>>0<y>>>0?-1:I>>>0>S>>>0|(0|I)==(0|S)&D>>>0>y>>>0?1:j>>>0<h>>>0|(0|j)==(0|h)&R>>>0<b>>>0?-1:1&(j>>>0>h>>>0|(0|j)==(0|h)&R>>>0>b>>>0),x)}else b=x-b|0;if((0|b)<=0){b=110;break}}_[o>>2]=V,H=0|_[V+12>>2],Q=0|_[H+88>>2],b=U,E=0|_[H+92>>2],H=0|_[H+96>>2],y=T,h=P}if(110==(0|b))return}if(!((0|i)>=0)){V=0|Ir(0,0,0|X,((0|X)<0)<<31>>31),M=0|w(),A=C,b=u;t:for(;;){T=b,x=A;e:for(;;){P=(0|g(v-e|0,c))+(0|g(k-d|0,p))+(0|g(f-T|0,r))|0;do{if(0|x&&0|_[x+12>>2]&&(ot=0|_[8+(0|_[x+4>>2])>>2],(0|_[ot+20>>2])>(0|_[t+100>>2]))){if(O=0|_[ot+12>>2],st=(W=0|_[O+88>>2])-k|0,rt=(F=0|_[O+92>>2])-v|0,b=(O=0|_[O+96>>2])-f|0,u=0|f_(0|q,0|$,0|st,((0|st)<0)<<31>>31),_t=0|w(),_t=0|Or(0|(A=0|f_(0|tt,0|et,0|rt,((0|rt)<0)<<31>>31)),0|w(),0|u,0|_t),A=0|Or(0|_t,0|(u=0|w()),0|(A=0|f_(0|it,0|nt,0|b,((0|b)<0)<<31>>31)),0|w()),u=0|w(),b=(0|g(rt,c))+(0|g(st,p))+(0|g(b,r))|0,!(0|A)&!(0|u)){if((0|b)>0)break e;break}if((0|u)<0){if((0|b)>0?(B=-1,h=b,m=((0|b)<0)<<31>>31):(h=0|Ir(0,0,0|b,((0|b)<0)<<31>>31),m=0|w(),B=1&!!(0|b),h=0|b?h:0,m=0|b?m:0),R=0|Ir(0,0,0|A,0|u),j=0|w(),(0|P)>0?(b=1,A=-1,D=P,I=((0|P)<0)<<31>>31):(D=0|Ir(0,0,0|P,((0|P)<0)<<31>>31),I=0|w(),b=!!(0|P)<<31>>31,A=1&!!(0|P),D=0|P?D:0,I=0|P?I:0),(0|i)>0|!(0|i)&l>>>0>0?(A=l,u=i):(st=!!(0|l)|!!(0|i),rt=0|Ir(0,0,0|l,0|i),u=0|w(),b=st?A:b,A=st?rt:0,u=st?u:0),(0|B)==(0|b)){if(!B)break e;b=0|f_(0|A,0,0|h,0),y=0|w(),_t=0|f_(0|u,0,0|h,0),z=0|w(),C=0|f_(0|A,0,0|m,0),S=0|w(),st=0|f_(0|u,0,0|m,0),h=0|w(),C=0|Or(0|_t,0,0|C,0),A=0|w(),h=0|Or(0|z,0,0|st,0|h),S=0|Or(0|h,0|w(),0|S,0),A=0|Or(0|S,0|w(),0|A,0),S=0|w(),h=0|Or(0,0|C,0|b,0|y),C=0|Or(0|A,0|S,1&((y=0|w())>>>0<C>>>0|(0|y)==(0|C)&h>>>0<0),0),S=0|w(),A=0|f_(0|D,0,0|R,0),b=0|w(),st=0|f_(0|I,0,0|R,0),z=0|w(),u=0|f_(0|D,0,0|j,0),m=0|w(),_t=0|f_(0|I,0,0|j,0),rt=0|w(),u=0|Or(0|st,0,0|u,0),st=0|w(),rt=0|Or(0|z,0,0|_t,0|rt),m=0|Or(0|rt,0|w(),0|m,0),st=0|Or(0|m,0|w(),0|st,0),m=0|w(),b=0|Or(0,0|u,0|A,0|b),u=0|Or(0|st,0|m,1&((A=0|w())>>>0<u>>>0|(0|A)==(0|u)&b>>>0<0),0),m=0|w(),b=0|g(b=S>>>0<m>>>0|(0|S)==(0|m)&C>>>0<u>>>0?-1:S>>>0>m>>>0|(0|S)==(0|m)&C>>>0>u>>>0?1:y>>>0<A>>>0|(0|y)==(0|A)&h>>>0<b>>>0?-1:1&(y>>>0>A>>>0|(0|y)==(0|A)&h>>>0>b>>>0),B)}else b=B-b|0;if((0|b)<1)break e}}}while(0);if(!(b=0|_[n>>2])){b=110;break t}if(!(0|_[b+12>>2])){b=110;break t}if(I=0|_[4+(0|_[b+8>>2])>>2],(0|_[I+20>>2])<=(0|_[t+100>>2])){b=110;break t}if(A=0|_[I+12>>2],d=(m=0|_[A+88>>2])-d|0,e=(u=0|_[A+92>>2])-e|0,b=(A=0|_[A+96>>2])-T|0,st=0|f_(0|d,((0|d)<0)<<31>>31,0|s,((0|s)<0)<<31>>31),_t=0|w(),_t=0|Or(0|(rt=0|f_(0|e,((0|e)<0)<<31>>31,0|K,((0|K)<0)<<31>>31)),0|w(),0|st,0|_t),st=0|w(),!((0|_t)==(0|(rt=0|f_(0|V,0|M,0|b,((0|b)<0)<<31>>31)))&(0|st)==(0|w()))){b=110;break t}if(y=0|f_(0|q,0|$,0|d,((0|d)<0)<<31>>31),D=0|w(),D=0|Or(0|(h=0|f_(0|tt,0|et,0|e,((0|e)<0)<<31>>31)),0|w(),0|y,0|D),h=0|Or(0|D,0|(y=0|w()),0|(h=0|f_(0|it,0|nt,0|b,((0|b)<0)<<31>>31)),0|w()),y=0|w(),b=(0|g(e,c))+(0|g(d,p))+(0|g(b,r))|0,rt=v-u|0,j=f-A|0,D=0|f_(0|q,0|$,0|(D=k-m|0),((0|D)<0)<<31>>31),st=0|w(),st=0|Or(0|(rt=0|f_(0|tt,0|et,0|rt,((0|rt)<0)<<31>>31)),0|w(),0|D,0|st),j=0|Or(0|st,0|(D=0|w()),0|(j=0|f_(0|it,0|nt,0|j,((0|j)<0)<<31>>31)),0|w()),(0|(D=0|w()))>=0){b=110;break t}if(!(0|h)&!(0|y)){if((0|b)<=0){b=110;break t}}else{if((0|y)>=0){b=110;break t}if((0|b)>0?(R=-1,A=b,d=((0|b)<0)<<31>>31):(A=0|Ir(0,0,0|b,((0|b)<0)<<31>>31),d=0|w(),R=1&!!(0|b),A=0|b?A:0,d=0|b?d:0),C=0|Ir(0,0,0|h,0|y),S=0|w(),(0|P)>0?(e=1,h=P,y=((0|P)<0)<<31>>31,b=-1):(h=0|Ir(0,0,0|P,((0|P)<0)<<31>>31),y=0|w(),e=!!(0|P)<<31>>31,h=0|P?h:0,y=0|P?y:0,b=1&!!(0|P)),(0|i)>0|!(0|i)&l>>>0>0||(st=!!(0|l)|!!(0|i),l=0|Ir(0,0,0|l,0|i),i=0|w(),e=st?b:e,l=st?l:0,i=st?i:0),(0|R)==(0|e)){if(!R){b=110;break t}m=0|f_(0|l,0,0|A,0),u=0|w(),e=0|f_(0|i,0,0|A,0),z=0|w(),l=0|f_(0|l,0,0|d,0),A=0|w(),st=0|f_(0|i,0,0|d,0),b=0|w(),l=0|Or(0|e,0,0|l,0),e=0|w(),b=0|Or(0|z,0,0|st,0|b),A=0|Or(0|b,0|w(),0|A,0),e=0|Or(0|A,0|w(),0|e,0),A=0|w(),u=0|Or(0,0|l,0|m,0|u),l=0|Or(0|e,0|A,1&((m=0|w())>>>0<l>>>0|(0|m)==(0|l)&u>>>0<0),0),A=0|w(),e=0|f_(0|h,0,0|C,0),b=0|w(),st=0|f_(0|y,0,0|C,0),z=0|w(),i=0|f_(0|h,0,0|S,0),d=0|w(),_t=0|f_(0|y,0,0|S,0),rt=0|w(),i=0|Or(0|st,0,0|i,0),st=0|w(),rt=0|Or(0|z,0,0|_t,0|rt),d=0|Or(0|rt,0|w(),0|d,0),st=0|Or(0|d,0|w(),0|st,0),d=0|w(),b=0|Or(0,0|i,0|e,0|b),i=0|Or(0|st,0|d,1&((e=0|w())>>>0<i>>>0|(0|e)==(0|i)&b>>>0<0),0),d=0|w(),b=0|g(b=A>>>0<d>>>0|(0|A)==(0|d)&l>>>0<i>>>0?-1:A>>>0>d>>>0|(0|A)==(0|d)&l>>>0>i>>>0?1:m>>>0<e>>>0|(0|m)==(0|e)&u>>>0<b>>>0?-1:1&(m>>>0>e>>>0|(0|m)==(0|e)&u>>>0>b>>>0),R)}else b=R-e|0;if((0|b)>=0){b=110;break t}}_[n>>2]=I,T=0|_[I+12>>2],d=0|_[T+88>>2],e=0|_[T+92>>2],T=0|_[T+96>>2],x=0|_[o>>2],i=D,l=j}k=F-e|0,l=O-T|0,i=0|f_(0|q,0|$,0|(i=W-d|0),((0|i)<0)<<31>>31),A=0|w(),A=0|Or(0|(k=0|f_(0|tt,0|et,0|k,((0|k)<0)<<31>>31)),0|w(),0|i,0|A),l=0|Or(0|A,0|(i=0|w()),0|(l=0|f_(0|it,0|nt,0|l,((0|l)<0)<<31>>31)),0|w()),i=0|w(),A=(0|x)==(0|a)?0:ot,_[o>>2]=A,k=W,v=F,f=O,b=T}}}function Ai(t,e,i){t|=0,e|=0;var o,r=0,s=0,c=0,b=0,d=0,l=0,A=0,f=0,u=0,m=0,h=0,y=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0,O=0,x=0,T=0;if(o=Q,Q=Q+176|0,(0|(i|=0))<1)return 0|(r=0|_[t+12>>2])&&(0|n[t+16|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[r+-4>>2])),_[t+12>>2]=0),n[t+16|0]=1,_[t+12>>2]=0,_[t+4>>2]=0,_[t+8>>2]=0,0|(r=0|_[t+32>>2])&&(0|n[t+36|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[r+-4>>2])),_[t+32>>2]=0),n[t+36|0]=1,_[t+32>>2]=0,_[t+24>>2]=0,_[t+28>>2]=0,0|(r=0|_[t+52>>2])&&(0|n[t+56|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[r+-4>>2])),_[t+52>>2]=0),n[t+56|0]=1,_[t+52>>2]=0,_[t+44>>2]=0,_[t+48>>2]=0,void(Q=o);for(_[o+32>>2]=0,_[o+36>>2]=0,_[o+40>>2]=0,_[o+44>>2]=256,_[o+48>>2]=0,_[o+52>>2]=0,_[o+56>>2]=0,_[o+60>>2]=256,_[o+64>>2]=0,_[o+68>>2]=0,_[o+72>>2]=0,_[o+76>>2]=256,n[o+96|0]=1,_[o+92>>2]=0,_[o+84>>2]=0,_[o+88>>2]=0,r=0,s=e,c=-246811958,m=1900671690,y=-246811958,v=1900671690,w=-246811958,k=1900671690;b=0|_[s>>2],l=0|_[s+4>>2],u=0|_[s+8>>2],_[a>>2]=b,m=(d=+p[a>>2])<(_[a>>2]=m,+p[a>>2])?b:m,_[a>>2]=l,v=(A=+p[a>>2])<(_[a>>2]=v,+p[a>>2])?l:v,_[a>>2]=u,k=(f=+p[a>>2])<(_[a>>2]=k,+p[a>>2])?u:k,_[a>>2]=c,c=+p[a>>2]<d?b:c,_[a>>2]=y,y=+p[a>>2]<A?l:y,_[a>>2]=w,w=+p[a>>2]<f?u:w,(0|(r=r+1|0))!=(0|i);)s=s+16|0;if(_[a>>2]=c,S=+p[a>>2],_[a>>2]=m,C=+p[a>>2],_[a>>2]=y,h=+p[a>>2],_[a>>2]=v,f=+p[a>>2],_[a>>2]=w,A=+p[a>>2],_[a>>2]=k,d=+p[a>>2],s=S-C<h-f?h-f<A-d?2:1:S-C<A-d?2:0,_[o+112>>2]=s,(0|(r=S-C<h-f?S-C<A-d?0:2:h-f<A-d?1:2))==(0|s)&&(r=((s+1|0)>>>0)%3|0),_[o+104>>2]=r,m=(3^s)-r|0,_[o+108>>2]=m,R=((m+1|0)%3|0)==(0|s)?9788566967472434e-20*(S-C):-9788566967472434e-20*(S-C),j=((m+1|0)%3|0)==(0|s)?9788566967472434e-20*(h-f):-9788566967472434e-20*(h-f),D=((m+1|0)%3|0)==(0|s)?9788566967472434e-20*(A-d):-9788566967472434e-20*(A-d),p[o>>2]=R,p[o+4>>2]=j,p[o+8>>2]=D,p[o+12>>2]=0,R=0!=R?1/R:R,j=0!=j?1/j:j,D=0!=D?1/D:D,p[o+16>>2]=.5*(S+C),p[o+20>>2]=.5*(h+f),p[o+24>>2]=.5*(A+d),p[o+28>>2]=0,n[0|(m=o+144+16|0)]=1,_[(y=o+144+12|0)>>2]=0,_[o+144+4>>2]=0,_[o+144+8>>2]=0,_[6630]=1+(0|_[6630]),(r=0|di(16+(i<<4|3)|0))?(_[(r+4+15&-16)-4>>2]=r,s=r+4+15&-16):s=0,c=0|_[o+144+4>>2],b=0|_[y>>2],(0|c)<=0)0|b&&(T=25);else{r=0;do{O=b+(r<<4)|0,_[(T=s+(r<<4)|0)>>2]=_[O>>2],_[T+4>>2]=_[O+4>>2],_[T+8>>2]=_[O+8>>2],_[T+12>>2]=_[O+12>>2],r=r+1|0}while((0|r)!=(0|c));T=25}if(25==(0|T)&&(0|n[0|m]&&(_[6631]=1+(0|_[6631]),Li(0|_[b+-4>>2])),_[y>>2]=0),n[0|m]=1,_[y>>2]=s,_[o+144+8>>2]=i,_[s>>2]=_[o+128>>2],_[s+4>>2]=_[o+128+4>>2],_[s+8>>2]=_[o+128+8>>2],_[s+12>>2]=_[o+128+12>>2],1!=(0|i)){r=1;do{O=(0|_[y>>2])+(r<<4)|0,_[O>>2]=_[o+128>>2],_[O+4>>2]=_[o+128+4>>2],_[O+8>>2]=_[o+128+8>>2],_[O+12>>2]=_[o+128+12>>2],r=r+1|0}while((0|r)!=(0|i))}for(_[o+144+4>>2]=i,c=o+128+(_[o+108>>2]<<2)|0,b=0|_[y>>2],l=o+128+(_[o+112>>2]<<2)|0,u=o+128+(_[o+104>>2]<<2)|0,d=+p[o+16>>2],A=+p[o+20>>2],f=+p[o+24>>2],s=0,r=e;C=j*(+p[r+4>>2]-A),S=D*(+p[r+8>>2]-f),p[o+128>>2]=R*(+p[r>>2]-d),p[o+128+4>>2]=C,p[o+128+8>>2]=S,p[o+128+12>>2]=0,_[b+(s<<4)>>2]=~~+p[c>>2],_[b+(s<<4)+4>>2]=~~+p[l>>2],_[b+(s<<4)+8>>2]=~~+p[u>>2],_[b+(s<<4)+12>>2]=s,(0|(s=s+1|0))!=(0|i);)r=r+16|0;if((0|i)>1&&Ft(o+144|0,0,i+-1|0),_[o+36>>2]=_[o+32>>2],_[o+40>>2]=0,_[o+44>>2]=i,(0|(r=0|_[o+84>>2]))<(0|i)){if((0|_[o+88>>2])<(0|i)){if(i?(_[6630]=1+(0|_[6630]),(s=0|di(16+(i<<2|3)|0))?(_[(s+4+15&-16)-4>>2]=s,s=s+4+15&-16):s=0,b=0|_[o+84>>2]):(s=0,b=r),(0|b)>0){c=0;do{_[s+(c<<2)>>2]=_[(0|_[o+92>>2])+(c<<2)>>2],c=c+1|0}while((0|c)!=(0|b))}0|(c=0|_[o+92>>2])&&(0|n[o+96|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[c+-4>>2])),_[o+92>>2]=0),n[o+96|0]=1,_[o+92>>2]=s,_[o+88>>2]=i}do{_[(0|_[o+92>>2])+(r<<2)>>2]=0,r=r+1|0}while((0|r)!=(0|i))}_[o+84>>2]=i,l=0;do{if(!(r=0|_[o+40>>2])&&((r=0|_[o+36>>2])?(_[o+36>>2]=_[r+8>>2],s=r):(_[6630]=1+(0|_[6630]),(r=0|di(31))?(_[(r+4+15&-16)-4>>2]=r,s=r+4+15&-16):s=0,r=0|_[o+44>>2],_[s+4>>2]=r,_[(c=s+8|0)>>2]=0,_[6630]=1+(0|_[6630]),(r=0|di(16+(112*r|3)|0))?(_[(r+4+15&-16)-4>>2]=r,r=r+4+15&-16):r=0,_[s>>2]=r,_[c>>2]=_[o+32>>2],_[o+32>>2]=s),r=0|_[s>>2],(0|(b=0|_[s+4>>2]))>0&&(_[r>>2]=1!=(0|b)?r+112|0:0,1!=(0|b)))){s=1,c=r+112|0;do{O=(0|(s=s+1|0))<(0|b),F=c,c=c+112|0,_[F>>2]=O?c:0}while(O)}_[o+40>>2]=_[r>>2],O=r+104|0,_[r>>2]=0,_[r+4>>2]=0,_[r+8>>2]=0,_[r+12>>2]=0,_[r+16>>2]=0,_[O>>2]=-1,_[r+8>>2]=0,W=(0|_[y>>2])+(l<<4)|0,_[(F=r+88|0)>>2]=_[W>>2],_[F+4>>2]=_[W+4>>2],_[F+8>>2]=_[W+8>>2],_[F+12>>2]=_[W+12>>2],_[O>>2]=-1,_[(0|_[o+92>>2])+(l<<2)>>2]=r,l=l+1|0}while((0|l)<(0|i));if(0|(r=0|_[y>>2])&&(0|n[0|m]&&(_[6631]=1+(0|_[6631]),Li(0|_[r+-4>>2])),_[y>>2]=0),n[0|m]=1,_[y>>2]=0,_[o+144+4>>2]=0,_[o+144+8>>2]=0,_[o+52>>2]=_[o+48>>2],_[o+56>>2]=0,_[o+60>>2]=6*i,_[o+116>>2]=0,_[o+120>>2]=0,_[o+100>>2]=-3,_[o+128>>2]=0,_[o+128+4>>2]=0,_[o+128+8>>2]=0,_[o+128+12>>2]=0,Ib(o,0,i,o+128|0),_[o+124>>2]=_[o+128>>2],0|(r=0|_[y>>2])&&(0|n[0|m]&&(_[6631]=1+(0|_[6631]),Li(0|_[r+-4>>2])),_[y>>2]=0),(0|(r=0|_[t+4>>2]))<0){(0|_[t+8>>2])<0&&(0|(s=0|_[t+12>>2])&&(0|n[t+16|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[s+-4>>2])),_[t+12>>2]=0),n[t+16|0]=1,_[t+12>>2]=0,_[t+8>>2]=0);do{O=(0|_[t+12>>2])+(r<<4)|0,_[O>>2]=_[o+144>>2],_[O+4>>2]=_[o+144+4>>2],_[O+8>>2]=_[o+144+8>>2],_[O+12>>2]=_[o+144+12>>2],r=r+1|0}while(0|r)}if(_[t+4>>2]=0,_[o+144>>2]=0,_[o+144+4>>2]=0,_[o+144+8>>2]=0,(0|(r=0|_[t+24>>2]))<0){(0|_[t+28>>2])<0&&(0|(s=0|_[t+32>>2])&&(0|n[t+36|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[s+-4>>2])),_[t+32>>2]=0),n[t+36|0]=1,_[t+32>>2]=0,_[t+28>>2]=0);do{O=(0|_[t+32>>2])+(12*r|0)|0,_[O>>2]=_[o+144>>2],_[O+4>>2]=_[o+144+4>>2],_[O+8>>2]=_[o+144+8>>2],r=r+1|0}while(0|r)}if(_[t+24>>2]=0,(0|(s=0|_[t+44>>2]))<0&&(r=0|_[t+52>>2],(0|_[t+48>>2])<0&&(0|r&&0|n[t+56|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[r+-4>>2])),n[t+56|0]=1,_[t+52>>2]=0,_[t+48>>2]=0,r=0),wn(r+(s<<2)|0,0,0|g(s,-4))),_[t+44>>2]=0,s=0|_[o+124>>2],(0|_[s+104>>2])<0){for(_[s+104>>2]=0,_[6630]=1+(0|_[6630]),(r=0|di(23))?(_[(r+4+15&-16)-4>>2]=r,r=r+4+15&-16):r=0,_[r>>2]=s,O=0,u=1,m=r,y=1,c=r,w=r;;){if((0|_[s+100>>2])>-1?(p[o+144+(_[o+108>>2]<<2)>>2]=+(0|_[s+88>>2]),p[o+144+(_[o+112>>2]<<2)>>2]=+(0|_[s+92>>2]),d=+(0|_[s+96>>2])):(d=+Rn(s+24|0),d/=+Rn(F=s+72|0),p[o+144+(_[o+108>>2]<<2)>>2]=d,d=+Rn(s+40|0),d/=+Rn(F),p[o+144+(_[o+112>>2]<<2)>>2]=d,d=+Rn(s+56|0),d/=+Rn(F)),p[o+144+(_[o+104>>2]<<2)>>2]=d,d=+p[o+144>>2]*+p[o>>2]+ +p[o+16>>2],A=+p[o+144+4>>2]*+p[o+4>>2]+ +p[o+20>>2],f=+p[o+144+8>>2]*+p[o+8>>2]+ +p[o+24>>2],(0|(b=0|_[t+4>>2]))==(0|_[t+8>>2])&&(0|b)<(0|(x=0|b?b<<1:1))){if(x?(_[6630]=1+(0|_[6630]),(r=0|di(16+(x<<4|3)|0))?(_[(r+4+15&-16)-4>>2]=r,r=r+4+15&-16):r=0,b=0|_[t+4>>2]):r=0,(0|b)>0){l=0;do{F=r+(l<<4)|0,W=(0|_[t+12>>2])+(l<<4)|0,_[F>>2]=_[W>>2],_[F+4>>2]=_[W+4>>2],_[F+8>>2]=_[W+8>>2],_[F+12>>2]=_[W+12>>2],l=l+1|0}while((0|l)!=(0|b))}0|(b=0|_[t+12>>2])&&(0|n[t+16|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[b+-4>>2])),_[t+12>>2]=0),n[t+16|0]=1,_[t+12>>2]=r,_[t+8>>2]=x,r=0|_[t+4>>2]}else r=b;if(F=0|_[t+12>>2],p[F+(r<<4)>>2]=d,p[F+(r<<4)+4>>2]=A,p[F+(r<<4)+8>>2]=f,p[F+(r<<4)+12>>2]=0,_[t+4>>2]=1+(0|_[t+4>>2]),F=0|_[s+8>>2]){for(B=F,W=-1,r=-1,k=u,i=m,s=y;;){if((0|(l=0|_[(I=B+20|0)>>2]))<0){e=0|_[t+24>>2],_[o+144>>2]=0,_[o+144+4>>2]=0,_[o+144+8>>2]=0;do{if((0|e)==(0|_[t+28>>2])){if((0|e)>=(0|(m=0|e?e<<1:1))){b=e;break}if(m?(_[6630]=1+(0|_[6630]),(b=0|di(16+(12*m|3)|0))?(_[(b+4+15&-16)-4>>2]=b,b=b+4+15&-16):b=0,u=0|_[t+24>>2]):(b=0,u=e),(0|u)>0){l=0;do{v=b+(12*l|0)|0,y=(0|_[t+32>>2])+(12*l|0)|0,_[v>>2]=_[y>>2],_[v+4>>2]=_[y+4>>2],_[v+8>>2]=_[y+8>>2],l=l+1|0}while((0|l)!=(0|u))}0|(l=0|_[t+32>>2])&&(0|n[t+36|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[l+-4>>2])),_[t+32>>2]=0),n[t+36|0]=1,_[t+32>>2]=b,_[t+28>>2]=m,b=0|_[t+24>>2]}else b=e}while(0);b=(0|_[t+32>>2])+(12*b|0)|0,_[b>>2]=_[o+144>>2],_[b+4>>2]=_[o+144+4>>2],_[b+8>>2]=_[o+144+8>>2],b=1+(0|_[t+24>>2])|0,_[t+24>>2]=b,_[o+144>>2]=0,_[o+144+4>>2]=0,_[o+144+8>>2]=0;do{if((0|b)==(0|_[t+28>>2])){if((0|b)>=(0|(m=0|b?b<<1:1)))break;if(m?(_[6630]=1+(0|_[6630]),(b=0|di(16+(12*m|3)|0))?(_[(b+4+15&-16)-4>>2]=b,b=b+4+15&-16):b=0,u=b,b=0|_[t+24>>2]):u=0,(0|b)>0){l=0;do{v=u+(12*l|0)|0,y=(0|_[t+32>>2])+(12*l|0)|0,_[v>>2]=_[y>>2],_[v+4>>2]=_[y+4>>2],_[v+8>>2]=_[y+8>>2],l=l+1|0}while((0|l)!=(0|b))}0|(b=0|_[t+32>>2])&&(0|n[t+36|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[b+-4>>2])),_[t+32>>2]=0),n[t+36|0]=1,_[t+32>>2]=u,_[t+28>>2]=m,b=0|_[t+24>>2]}}while(0);if(v=(0|_[t+32>>2])+(12*b|0)|0,_[v>>2]=_[o+144>>2],_[v+4>>2]=_[o+144+4>>2],_[v+8>>2]=_[o+144+8>>2],_[t+24>>2]=1+(0|_[t+24>>2]),v=0|_[t+32>>2],_[I>>2]=e,_[20+(0|_[B+8>>2])>>2]=e+1,_[v+(12*e|0)+4>>2]=1,_[v+(12*(e+1|0)|0)+4>>2]=-1,y=0|_[B+12>>2],(0|(b=0|_[y+104>>2]))<0){_[y+104>>2]=s;do{if((0|s)==(0|k)){if((0|k)>=(0|(b=0|k?k<<1:1))){b=k,l=i,m=w;break}do{if(b){if(_[6630]=1+(0|_[6630]),!(l=0|di(16+(b<<2|3)|0))){u=0;break}_[(l+4+15&-16)-4>>2]=l,u=l+4+15&-16}else u=0}while(0);if((0|k)>0){l=0;do{_[u+(l<<2)>>2]=_[i+(l<<2)>>2],l=l+1|0}while((0|l)!=(0|k));if(!c){l=u,m=u,c=u;break}}else if(!(0|i)|!(0|c)){l=u,m=u,c=u;break}_[6631]=1+(0|_[6631]),Li(0|_[c+-4>>2]),l=u,m=u,c=u}else b=k,l=i,m=w}while(0);_[l+(s<<2)>>2]=y,y=s,s=s+1|0,u=m}else y=b,b=k,l=i,u=w;_[v+(12*e|0)+8>>2]=y,_[v+(12*(e+1|0)|0)+8>>2]=O,m=l,l=0|_[I>>2]}else b=k,m=i,u=w;if((0|W)>-1?_[(0|_[t+32>>2])+(12*l|0)>>2]=W-l:r=l,(0|(B=0|_[B>>2]))==(0|F))break;W=l,k=b,i=m,w=u}_[(0|_[t+32>>2])+(12*r|0)>>2]=l-r,k=m,w=u}else b=u,k=m,s=y;if((0|(r=O+1|0))>=(0|s))break;O=r,u=b,m=k,y=s,s=0|_[k+(r<<2)>>2]}for(y=0;;){if(0|(v=0|_[8+(0|_[k+(y<<2)>>2])>>2])){m=v;do{if((0|(r=0|_[(u=m+20|0)>>2]))>-1){s=0|_[t+44>>2];do{if((0|s)==(0|_[t+48>>2])){if((0|s)>=(0|(l=0|s?s<<1:1)))break;if(l?(_[6630]=1+(0|_[6630]),(r=0|di(16+(l<<2|3)|0))?(_[(r+4+15&-16)-4>>2]=r,r=r+4+15&-16):r=0,s=0|_[t+44>>2]):r=0,b=0|_[t+52>>2],(0|s)<=0)b&&(T=186);else{c=0;do{_[r+(c<<2)>>2]=_[b+(c<<2)>>2],c=c+1|0}while((0|c)!=(0|s));T=186}186==(0|T)&&(T=0,0|n[t+56|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[b+-4>>2])),_[t+52>>2]=0,s=0|_[t+44>>2]),n[t+56|0]=1,_[t+52>>2]=r,_[t+48>>2]=l,r=0|_[u>>2]}}while(0);_[(0|_[t+52>>2])+(s<<2)>>2]=r,_[t+44>>2]=1+(0|_[t+44>>2]),r=m;do{_[r+20>>2]=-1,r=0|_[4+(0|_[r+8>>2])>>2]}while((0|r)!=(0|m))}m=0|_[m>>2]}while((0|m)!=(0|v))}if((0|y)==(0|O))break;y=y+1|0}!(0|k)|!(0|w)||(_[6631]=1+(0|_[6631]),Li(0|_[w+-4>>2]))}!function(t){var e=0,i=0;if(0|(e=0|_[(t|=0)+92>>2])&&(0|n[t+96|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+92>>2]=0),n[t+96|0]=1,_[t+92>>2]=0,_[t+84>>2]=0,_[t+88>>2]=0,0|(e=0|_[t+64>>2]))do{_[t+64>>2]=_[e+8>>2],0|(i=0|_[e>>2])&&(_[6631]=1+(0|_[6631]),Li(0|_[i+-4>>2])),_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2]),e=0|_[t+64>>2]}while(0|e);if(0|(e=0|_[t+48>>2]))do{_[t+48>>2]=_[e+8>>2],0|(i=0|_[e>>2])&&(_[6631]=1+(0|_[6631]),Li(0|_[i+-4>>2])),_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2]),e=0|_[t+48>>2]}while(0|e);if(e=0|_[t+32>>2])do{_[t+32>>2]=_[e+8>>2],0|(i=0|_[e>>2])&&(_[6631]=1+(0|_[6631]),Li(0|_[i+-4>>2])),_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2]),e=0|_[t+32>>2]}while(0|e)}(o),Q=o}function fi(t){var e,i=0,o=0,r=0,s=0,c=0,a=0,b=0,d=0,l=0,A=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0,O=0,x=0,T=0,P=0,V=0,M=0,G=0,L=0,N=0,E=0,H=0,Z=0,U=0,Y=0,J=0,X=0;if(e=Q,Q=Q+64|0,!(0|n[356+(t|=0)|0]))return t=0|n[t+312|0],Q=e,0|(t=!!(t<<24>>24));switch(_[t+336>>2]=0,_[t+336+4>>2]=0,_[t+336+8>>2]=0,_[t+336+12>>2]=0,n[t+336+16|0]=0,f=0|n[t+332|0],n[t+332|0]=-16&f,n[t+356|0]=0,0|_[t>>2]){case 0:return n[t+312|0]=0,Q=e,0|(t=!!((t=0)<<24>>24));case 1:return _[t+244>>2]=_[t+84>>2],_[t+244+4>>2]=_[t+84+4>>2],_[t+244+8>>2]=_[t+84+8>>2],_[t+244+12>>2]=_[t+84+12>>2],_[t+260>>2]=_[t+164>>2],_[t+260+4>>2]=_[t+164+4>>2],_[t+260+8>>2]=_[t+164+8>>2],_[t+260+12>>2]=_[t+164+12>>2],W=+p[t+248>>2]-+p[t+264>>2],F=+p[t+252>>2]-+p[t+268>>2],p[t+276>>2]=+p[t+244>>2]-+p[t+260>>2],p[t+280>>2]=W,p[t+284>>2]=F,p[t+288>>2]=0,n[t+352|0]=0,n[t+332|0]=-16&f,p[t+336>>2]=1,p[t+340>>2]=0,p[t+344>>2]=0,p[t+348>>2]=0,n[t+312|0]=1,Q=e,0|(t=!!((t=1)<<24>>24));case 2:return o=+p[t+4>>2],r=+p[t+8>>2],a=+p[t+12>>2],(0-o)*(b=+p[t+20>>2]-o)+(0-r)*(d=+p[t+24>>2]-r)+(0-a)*(l=+p[t+28>>2]-a)>0?(0-o)*b+(0-r)*d+(0-a)*l<b*b+d*d+l*l?(r=((0-o)*b+(0-r)*d+(0-a)*l)/(b*b+d*d+l*l),s=3):(r=1,s=2):(r=0,s=1),n[t+332|0]=-16&f|s,o=1-r,p[t+336>>2]=o,p[t+340>>2]=r,p[t+344>>2]=0,p[t+348>>2]=0,j=+p[t+84>>2],I=+p[t+88>>2],W=+p[t+92>>2],j+=r*(+p[t+100>>2]-j),I+=r*(+p[t+104>>2]-I),W+=r*(+p[t+108>>2]-W),p[t+244>>2]=j,p[t+248>>2]=I,p[t+252>>2]=W,p[t+256>>2]=0,D=+p[t+164>>2],B=+p[t+168>>2],F=+p[t+172>>2],D+=r*(+p[t+180>>2]-D),B+=r*(+p[t+184>>2]-B),F+=r*(+p[t+188>>2]-F),p[t+260>>2]=D,p[t+264>>2]=B,p[t+268>>2]=F,p[t+272>>2]=0,p[t+276>>2]=j-D,p[t+280>>2]=I-B,p[t+284>>2]=W-F,p[t+288>>2]=0,2&s?i=1:(_[t>>2]=1,i=0),1&s||(m=t+4+(i<<4)|0,O=t+84+(i<<4)|0,x=t+164+(i<<4)|0,_[t>>2]=i,_[t+4>>2]=_[m>>2],_[t+4+4>>2]=_[m+4>>2],_[t+4+8>>2]=_[m+8>>2],_[t+4+12>>2]=_[m+12>>2],_[t+84>>2]=_[O>>2],_[t+84+4>>2]=_[O+4>>2],_[t+84+8>>2]=_[O+8>>2],_[t+84+12>>2]=_[O+12>>2],_[t+164>>2]=_[x>>2],_[t+164+4>>2]=_[x+4>>2],_[t+164+8>>2]=_[x+8>>2],_[t+164+12>>2]=_[x+12>>2]),x=r>=0&o>=0&1,n[t+312|0]=x,Q=e,0|(t=!!((t=x)<<24>>24));case 3:_[e+16>>2]=0,_[e+16+4>>2]=0,_[e+16+8>>2]=0,_[e+16+12>>2]=0,ai(e+16|0,t+4|0,t+20|0,t+36|0,t+316|0),F=+p[t+336>>2],o=+p[t+340>>2],r=+p[t+344>>2],j=+p[t+84>>2]*F+ +p[t+100>>2]*o+ +p[t+116>>2]*r,I=F*+p[t+88>>2]+o*+p[t+104>>2]+r*+p[t+120>>2],W=F*+p[t+92>>2]+o*+p[t+108>>2]+r*+p[t+124>>2],p[t+244>>2]=j,p[t+248>>2]=I,p[t+252>>2]=W,p[t+256>>2]=0,D=F*+p[t+164>>2]+o*+p[t+180>>2]+r*+p[t+196>>2],B=F*+p[t+168>>2]+o*+p[t+184>>2]+r*+p[t+200>>2],F=F*+p[t+172>>2]+o*+p[t+188>>2]+r*+p[t+204>>2],p[t+260>>2]=D,p[t+264>>2]=B,p[t+268>>2]=F,p[t+272>>2]=0,p[t+276>>2]=j-D,p[t+280>>2]=I-B,p[t+284>>2]=W-F,p[t+288>>2]=0,f=0|_[t>>2];do{if((0|f)>3)8&(i=0|n[t+332|0])?(s=t+332|0,A=i,c=f,x=19):(s=t+164+(f+-1<<4)|0,A=t+84+(f+-1<<4)|0,c=t+4+(f+-1<<4)|0,_[t>>2]=f+-1,_[t+52>>2]=_[c>>2],_[t+52+4>>2]=_[c+4>>2],_[t+52+8>>2]=_[c+8>>2],_[t+52+12>>2]=_[c+12>>2],_[t+132>>2]=_[A>>2],_[t+132+4>>2]=_[A+4>>2],_[t+132+8>>2]=_[A+8>>2],_[t+132+12>>2]=_[A+12>>2],_[t+212>>2]=_[s>>2],_[t+212+4>>2]=_[s+4>>2],_[t+212+8>>2]=_[s+8>>2],_[t+212+12>>2]=_[s+12>>2],s=t+332|0,A=i,c=f+-1|0,x=19);else{if(3==(0|f)){s=t+332|0,A=0|n[t+332|0],c=3,x=19;break}(0|f)<=1?1==(0|f)&&(i=1,x=26):(i=2,x=22)}}while(0);return 19==(0|x)&&(i=c+-1|0,4&A?(i=c,x=22):(_[t>>2]=i,_[t+36>>2]=_[t+4+(i<<4)>>2],_[t+36+4>>2]=_[t+4+(i<<4)+4>>2],_[t+36+8>>2]=_[t+4+(i<<4)+8>>2],_[t+36+12>>2]=_[t+4+(i<<4)+12>>2],_[t+116>>2]=_[t+84+(i<<4)>>2],_[t+116+4>>2]=_[t+84+(i<<4)+4>>2],_[t+116+8>>2]=_[t+84+(i<<4)+8>>2],_[t+116+12>>2]=_[t+84+(i<<4)+12>>2],_[t+196>>2]=_[t+164+(i<<4)>>2],_[t+196+4>>2]=_[t+164+(i<<4)+4>>2],_[t+196+8>>2]=_[t+164+(i<<4)+8>>2],_[t+196+12>>2]=_[t+164+(i<<4)+12>>2],x=23)),22==(0|x)&&(s=t+332|0,x=23),23==(0|x)&&(c=i+-1|0,2&n[0|s]?x=26:(_[t>>2]=c,_[t+20>>2]=_[t+4+(c<<4)>>2],_[t+20+4>>2]=_[t+4+(c<<4)+4>>2],_[t+20+8>>2]=_[t+4+(c<<4)+8>>2],_[t+20+12>>2]=_[t+4+(c<<4)+12>>2],_[t+100>>2]=_[t+84+(c<<4)>>2],_[t+100+4>>2]=_[t+84+(c<<4)+4>>2],_[t+100+8>>2]=_[t+84+(c<<4)+8>>2],_[t+100+12>>2]=_[t+84+(c<<4)+12>>2],_[t+180>>2]=_[t+164+(c<<4)>>2],_[t+180+4>>2]=_[t+164+(c<<4)+4>>2],_[t+180+8>>2]=_[t+164+(c<<4)+8>>2],_[t+180+12>>2]=_[t+164+(c<<4)+12>>2],A=s,x=27)),26==(0|x)&&(A=t+332|0,c=i,x=27),27!=(0|x)||(u=c+-1|0,1&n[0|A])||(_[t>>2]=u,_[t+4>>2]=_[t+4+(u<<4)>>2],_[t+4+4>>2]=_[t+4+(u<<4)+4>>2],_[t+4+8>>2]=_[t+4+(u<<4)+8>>2],_[t+4+12>>2]=_[t+4+(u<<4)+12>>2],_[t+84>>2]=_[t+84+(u<<4)>>2],_[t+84+4>>2]=_[t+84+(u<<4)+4>>2],_[t+84+8>>2]=_[t+84+(u<<4)+8>>2],_[t+84+12>>2]=_[t+84+(u<<4)+12>>2],_[t+164>>2]=_[t+164+(u<<4)>>2],_[t+164+4>>2]=_[t+164+(u<<4)+4>>2],_[t+164+8>>2]=_[t+164+(u<<4)+8>>2],_[t+164+12>>2]=_[t+164+(u<<4)+12>>2]),i=(o>=0?!(+p[t+336>>2]>=0):1)|!(r>=0)?0:+p[t+348>>2]>=0&1,n[t+312|0]=i,Q=e,0|(t=!!((t=i)<<24>>24));case 4:_[e>>2]=0,_[e+4>>2]=0,_[e+8>>2]=0,_[e+12>>2]=0,n[0|(m=e+16+16|0)]=0,_[t+316>>2]=0,_[t+316+4>>2]=0,_[t+316+8>>2]=0,_[t+316+12>>2]=0,n[t+332|0]=15|f,P=+p[t+20>>2],U=+p[t+4>>2],E=+p[t+24>>2],T=+p[t+8>>2],M=+p[t+28>>2],Y=+p[t+12>>2],N=+p[t+36>>2],H=+p[t+40>>2],c=(J=((E-T)*((G=+p[t+44>>2])-Y)-(M-Y)*(H-T))*((V=+p[t+52>>2])-U)+((M-Y)*(N-U)-(P-U)*(G-Y))*((Z=+p[t+56>>2])-T)+((P-U)*(H-T)-(E-T)*(N-U))*((L=+p[t+60>>2])-Y))*J<9.99999905104687e-9?-1:((0-U)*((E-T)*(G-Y)-(M-Y)*(H-T))+(0-T)*((M-Y)*(N-U)-(P-U)*(G-Y))+((P-U)*(H-T)-(E-T)*(N-U))*(0-Y))*J<0&1,A=(J=(M-Y)*((N-U)*(Z-T)-(H-T)*(V-U))+((P-U)*((H-T)*(L-Y)-(G-Y)*(Z-T))+(E-T)*((G-Y)*(V-U)-(N-U)*(L-Y))))*J<9.99999905104687e-9?-1:((0-Y)*((N-U)*(Z-T)-(H-T)*(V-U))+((0-U)*((H-T)*(L-Y)-(G-Y)*(Z-T))+(0-T)*((G-Y)*(V-U)-(N-U)*(L-Y))))*J<0&1,f=(J=(G-Y)*((E-T)*(V-U)-(P-U)*(Z-T))+((N-U)*((M-Y)*(Z-T)-(E-T)*(L-Y))+(H-T)*((P-U)*(L-Y)-(M-Y)*(V-U))))*J<9.99999905104687e-9?-1:((0-Y)*((E-T)*(V-U)-(P-U)*(Z-T))+((0-U)*((M-Y)*(Z-T)-(E-T)*(L-Y))+(0-T)*((P-U)*(L-Y)-(M-Y)*(V-U))))*J<0&1,u=(T=(Y-M)*((H-E)*(V-P)-(N-P)*(Z-E))+((U-P)*((G-M)*(Z-E)-(H-E)*(L-M))+(T-E)*((N-P)*(L-M)-(G-M)*(V-P))))*T<9.99999905104687e-9?-1:((0-M)*((H-E)*(V-P)-(N-P)*(Z-E))+((0-P)*((G-M)*(Z-E)-(H-E)*(L-M))+(0-E)*((N-P)*(L-M)-(G-M)*(V-P))))*T<0&1;do{if((A|c|f|u|0)<0)n[t+352|0]=1,i=t+312|0,x=68;else{if(!(A|c|f|u)){if(0|n[t+352|0]){i=t+312|0,x=68;break}n[t+312|0]=1,_[t+276>>2]=0,_[t+276+4>>2]=0,_[t+276+8>>2]=0,_[t+276+12>>2]=0,i=1;break}0|c&&(ai(e,t+4|0,t+20|0,t+36|0,e+16|0),o=+p[e+16>>2],r=+p[e+16+4>>2],a=+p[e+16+8>>2],(b=o-+p[e>>2])*b+(d=r-+p[e+4>>2])*d+(l=a-+p[e+8>>2])*l<34028234663852886e22)?(X=0|_[e+16+12>>2],p[t+316>>2]=o,p[t+320>>2]=r,p[t+324>>2]=a,_[t+328>>2]=X,X=0|n[0|m],n[t+332|0]=1&X|-16&n[t+332|0]|2&X|4&X,X=0|_[e+16+24>>2],c=0|_[e+16+28>>2],_[t+336>>2]=_[e+16+20>>2],_[t+340>>2]=X,_[t+344>>2]=c,p[t+348>>2]=0,o=b*b+d*d+l*l):o=34028234663852886e22,0|A&&(ai(e,t+4|0,t+36|0,t+52|0,e+16|0),h=+p[e+16>>2],y=+p[e+16+4>>2],g=+p[e+16+8>>2],(C=h-+p[e>>2])*C+(v=y-+p[e+4>>2])*v+(S=g-+p[e+8>>2])*S<o)&&(A=0|_[e+16+12>>2],p[t+316>>2]=h,p[t+320>>2]=y,p[t+324>>2]=g,_[t+328>>2]=A,A=0|n[0|m],n[t+332|0]=1&A|-16&n[t+332|0]|A<<1&4|A<<1&8,A=0|_[e+16+24>>2],X=0|_[e+16+28>>2],_[t+336>>2]=_[e+16+20>>2],p[t+340>>2]=0,_[t+344>>2]=A,_[t+348>>2]=X,o=C*C+v*v+S*S),0|f&&(ai(e,t+4|0,t+52|0,t+20|0,e+16|0),w=+p[e+16>>2],k=+p[e+16+4>>2],R=+p[e+16+8>>2],(j=w-+p[e>>2])*j+(D=k-+p[e+4>>2])*D+(I=R-+p[e+8>>2])*I<o)&&(f=0|_[e+16+12>>2],p[t+316>>2]=w,p[t+320>>2]=k,p[t+324>>2]=R,_[t+328>>2]=f,f=0|n[0|m],n[t+332|0]=1&f|-16&n[t+332|0]|(255&f)>>>1&2|f<<2&8,f=0|_[e+16+28>>2],X=0|_[e+16+24>>2],_[t+336>>2]=_[e+16+20>>2],_[t+340>>2]=f,p[t+344>>2]=0,_[t+348>>2]=X,o=j*j+D*D+I*I),0|u&&(ai(e,t+20|0,t+52|0,t+36|0,e+16|0),B=+p[e+16>>2],W=+p[e+16+4>>2],F=+p[e+16+8>>2],(U=B-+p[e>>2])*U+(Y=W-+p[e+4>>2])*Y+(J=F-+p[e+8>>2])*J<o)&&(u=0|_[e+16+12>>2],p[t+316>>2]=B,p[t+320>>2]=W,p[t+324>>2]=F,_[t+328>>2]=u,u=0|n[0|m],n[t+332|0]=4&u|-16&n[t+332|0]|u<<1&2|u<<2&8,u=0|_[e+16+20>>2],m=0|_[e+16+28>>2],X=0|_[e+16+24>>2],p[t+336>>2]=0,_[t+340>>2]=u,_[t+344>>2]=m,_[t+348>>2]=X),L=+p[t+336>>2],N=+p[t+340>>2],J=+p[t+344>>2],o=+p[t+348>>2],E=+p[t+84>>2]*L+ +p[t+100>>2]*N+ +p[t+116>>2]*J+ +p[t+132>>2]*o,Z=L*+p[t+88>>2]+N*+p[t+104>>2]+J*+p[t+120>>2]+o*+p[t+136>>2],Y=L*+p[t+92>>2]+N*+p[t+108>>2]+J*+p[t+124>>2]+o*+p[t+140>>2],p[t+244>>2]=E,p[t+248>>2]=Z,p[t+252>>2]=Y,p[t+256>>2]=0,H=L*+p[t+164>>2]+N*+p[t+180>>2]+J*+p[t+196>>2]+o*+p[t+212>>2],U=L*+p[t+168>>2]+N*+p[t+184>>2]+J*+p[t+200>>2]+o*+p[t+216>>2],J=L*+p[t+172>>2]+N*+p[t+188>>2]+J*+p[t+204>>2]+o*+p[t+220>>2],p[t+260>>2]=H,p[t+264>>2]=U,p[t+268>>2]=J,p[t+272>>2]=0,p[t+276>>2]=E-H,p[t+280>>2]=Z-U,p[t+284>>2]=Y-J,p[t+288>>2]=0,c=0|_[t>>2];do{if((0|c)>3)8&(i=0|n[t+332|0])?(s=t+332|0,A=i,x=52):(s=t+164+(c+-1<<4)|0,A=t+84+(c+-1<<4)|0,x=t+4+(c+-1<<4)|0,_[t>>2]=c+-1,_[t+52>>2]=_[x>>2],_[t+52+4>>2]=_[x+4>>2],_[t+52+8>>2]=_[x+8>>2],_[t+52+12>>2]=_[x+12>>2],_[t+132>>2]=_[A>>2],_[t+132+4>>2]=_[A+4>>2],_[t+132+8>>2]=_[A+8>>2],_[t+132+12>>2]=_[A+12>>2],_[t+212>>2]=_[s>>2],_[t+212+4>>2]=_[s+4>>2],_[t+212+8>>2]=_[s+8>>2],_[t+212+12>>2]=_[s+12>>2],s=t+332|0,A=i,c=c+-1|0,x=52);else{if(3==(0|c)){s=t+332|0,A=0|n[t+332|0],c=3,x=52;break}(0|c)<=1?1==(0|c)&&(i=1,x=59):(i=2,x=55)}}while(0);52==(0|x)&&(i=c+-1|0,4&A?(i=c,x=55):(_[t>>2]=i,_[t+36>>2]=_[t+4+(i<<4)>>2],_[t+36+4>>2]=_[t+4+(i<<4)+4>>2],_[t+36+8>>2]=_[t+4+(i<<4)+8>>2],_[t+36+12>>2]=_[t+4+(i<<4)+12>>2],_[t+116>>2]=_[t+84+(i<<4)>>2],_[t+116+4>>2]=_[t+84+(i<<4)+4>>2],_[t+116+8>>2]=_[t+84+(i<<4)+8>>2],_[t+116+12>>2]=_[t+84+(i<<4)+12>>2],_[t+196>>2]=_[t+164+(i<<4)>>2],_[t+196+4>>2]=_[t+164+(i<<4)+4>>2],_[t+196+8>>2]=_[t+164+(i<<4)+8>>2],_[t+196+12>>2]=_[t+164+(i<<4)+12>>2],x=56)),55==(0|x)&&(s=t+332|0,x=56),56==(0|x)&&(c=i+-1|0,2&n[0|s]?x=59:(_[t>>2]=c,_[t+20>>2]=_[t+4+(c<<4)>>2],_[t+20+4>>2]=_[t+4+(c<<4)+4>>2],_[t+20+8>>2]=_[t+4+(c<<4)+8>>2],_[t+20+12>>2]=_[t+4+(c<<4)+12>>2],_[t+100>>2]=_[t+84+(c<<4)>>2],_[t+100+4>>2]=_[t+84+(c<<4)+4>>2],_[t+100+8>>2]=_[t+84+(c<<4)+8>>2],_[t+100+12>>2]=_[t+84+(c<<4)+12>>2],_[t+180>>2]=_[t+164+(c<<4)>>2],_[t+180+4>>2]=_[t+164+(c<<4)+4>>2],_[t+180+8>>2]=_[t+164+(c<<4)+8>>2],_[t+180+12>>2]=_[t+164+(c<<4)+12>>2],i=c,x=60)),59==(0|x)&&(s=t+332|0,x=60),60!=(0|x)||(O=i+-1|0,1&n[0|s])||(_[t>>2]=O,_[t+4>>2]=_[t+4+(O<<4)>>2],_[t+4+4>>2]=_[t+4+(O<<4)+4>>2],_[t+4+8>>2]=_[t+4+(O<<4)+8>>2],_[t+4+12>>2]=_[t+4+(O<<4)+12>>2],_[t+84>>2]=_[t+84+(O<<4)>>2],_[t+84+4>>2]=_[t+84+(O<<4)+4>>2],_[t+84+8>>2]=_[t+84+(O<<4)+8>>2],_[t+84+12>>2]=_[t+84+(O<<4)+12>>2],_[t+164>>2]=_[t+164+(O<<4)>>2],_[t+164+4>>2]=_[t+164+(O<<4)+4>>2],_[t+164+8>>2]=_[t+164+(O<<4)+8>>2],_[t+164+12>>2]=_[t+164+(O<<4)+12>>2]),i=+p[t+336>>2]>=0&&+p[t+340>>2]>=0&&+p[t+344>>2]>=0?o>=0&1:0,n[t+312|0]=i}}while(0);return 68==(0|x)&&(n[0|i]=0,i=0),Q=e,0|(X=!!((X=i)<<24>>24));default:return n[t+312|0]=0,Q=e,0|(X=!!((X=0)<<24>>24))}return 0}function ui(t,e,i,o,r){e|=0,i|=0,o|=0,r|=0;var s,c=0,a=0,b=0,A=0,h=0,g=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0,O=0,x=0,T=0,P=0,V=0,M=0,G=0,L=0,N=0,E=0,H=0,Z=0,U=0,Y=0,J=0,X=0,z=0,K=0,q=0,$=0,tt=0,et=0,it=0,nt=0,ot=0,_t=0,rt=0,st=0,pt=0,ct=0,at=0,bt=0,dt=0,lt=0,At=0,ft=0,ut=0,mt=0,ht=0;if(s=Q,Q=Q+80|0,p[504+(t|=0)>>2]=0,p[t+500>>2]=0,n[t+525|0]=0,n[t+526|0]=0,0|n[t+552|0]&&!(0|n[t+527|0]))return it=(ht=+p[t+556>>2])*(2/(ht*ht+(ut=+p[t+560>>2])*ut+(lt=+p[t+564>>2])*lt+(ft=+p[t+568>>2])*ft)),mt=ut*(2/(ht*ht+ut*ut+lt*lt+ft*ft)),At=lt*(2/(ht*ht+ut*ut+lt*lt+ft*ft)),nt=+p[t+300>>2],Y=+p[e>>2],ot=+p[t+316>>2],J=+p[e+4>>2],_t=+p[t+332>>2],X=+p[e+8>>2],st=+p[t+304>>2],ct=+p[t+320>>2],bt=+p[t+336>>2],$=+p[t+308>>2],tt=+p[t+324>>2],et=+p[t+340>>2],z=+p[e+16>>2],K=+p[e+20>>2],q=+p[e+24>>2],pt=+p[e+32>>2],at=+p[e+36>>2],dt=+p[e+40>>2],w=+p[t+348>>2],S=+p[t+352>>2],v=+p[t+356>>2],D=+p[t+364>>2],A=+p[i>>2],I=+p[t+380>>2],h=+p[i+4>>2],B=+p[t+396>>2],b=+p[i+8>>2],W=+p[t+368>>2],F=+p[t+384>>2],O=+p[t+400>>2],k=+p[t+372>>2],R=+p[t+388>>2],j=+p[t+404>>2],g=+p[i+16>>2],C=+p[i+20>>2],a=+p[i+24>>2],x=+p[i+32>>2],P=+p[i+36>>2],M=+p[i+40>>2],T=+p[t+412>>2],V=+p[t+416>>2],c=+p[t+420>>2],L=(1-(ut*mt+lt*At))*(D*A+I*h+B*b)+(ht*mt+ft*At)*(A*W+h*F+b*O)+(ht*At-ft*mt)*(A*k+h*R+b*j),N=(ht*mt-ft*At)*(D*A+I*h+B*b)+(1-(ht*it+lt*At))*(A*W+h*F+b*O)+(ut*At+ft*it)*(A*k+h*R+b*j),G=(ht*At+ft*mt)*(D*A+I*h+B*b)+(ut*At-ft*it)*(A*W+h*F+b*O)+(1-(ht*it+ut*mt))*(A*k+h*R+b*j),Z=(ht*At-ft*mt)*(k*g+R*C+j*a)+((1-(ut*mt+lt*At))*(D*g+I*C+B*a)+(ht*mt+ft*At)*(W*g+F*C+O*a)),U=(ut*At+ft*it)*(k*g+R*C+j*a)+((ht*mt-ft*At)*(D*g+I*C+B*a)+(1-(ht*it+lt*At))*(W*g+F*C+O*a)),E=(1-(ht*it+ut*mt))*(k*g+R*C+j*a)+((ht*At+ft*mt)*(D*g+I*C+B*a)+(ut*At-ft*it)*(W*g+F*C+O*a)),rt=(ht*At-ft*mt)*(k*x+R*P+j*M)+((1-(ut*mt+lt*At))*(D*x+I*P+B*M)+(ht*mt+ft*At)*(W*x+F*P+O*M)),lt=(ut*At+ft*it)*(k*x+R*P+j*M)+((ht*mt-ft*At)*(D*x+I*P+B*M)+(1-(ht*it+lt*At))*(W*x+F*P+O*M)),it=(1-(ht*it+ut*mt))*(k*x+R*P+j*M)+((ht*At+ft*mt)*(D*x+I*P+B*M)+(ut*At-ft*it)*(W*x+F*P+O*M)),S=(nt*Y+ot*J+_t*X)*(ft=-(+p[e+48>>2]+(Y*w+J*S+X*v)))+(nt*z+ot*K+_t*q)*(At=-(z*w+K*S+q*v+ +p[e+52>>2]))+(nt*pt+ot*at+_t*dt)*(v=-(pt*w+at*S+dt*v+ +p[e+56>>2])),w=(Y*st+J*ct+X*bt)*ft+(st*z+ct*K+bt*q)*At+(st*pt+ct*at+bt*dt)*v,b=(v=(Y*$+J*tt+X*et)*ft+($*z+tt*K+et*q)*At+($*pt+tt*at+et*dt)*v)*G+(S*L+w*N)+(0*(D*A+I*h+B*b)+0*(A*W+h*F+b*O)+0*(A*k+h*R+b*j)+(+p[i+48>>2]+(A*T+h*V+b*c))),a=v*E+(S*Z+w*U)+(0*(k*g+R*C+j*a)+(0*(D*g+I*C+B*a)+0*(W*g+F*C+O*a))+(g*T+C*V+a*c+ +p[i+52>>2])),c=v*it+(S*rt+w*lt)+(0*(k*x+R*P+j*M)+(0*(D*x+I*P+B*M)+0*(W*x+F*P+O*M))+(x*T+P*V+M*c+ +p[i+56>>2])),p[s+16>>2]=(Y*$+J*tt+X*et)*G+((nt*Y+ot*J+_t*X)*L+(Y*st+J*ct+X*bt)*N),p[s+16+4>>2]=($*z+tt*K+et*q)*G+((nt*z+ot*K+_t*q)*L+(st*z+ct*K+bt*q)*N),p[s+16+8>>2]=($*pt+tt*at+et*dt)*G+((nt*pt+ot*at+_t*dt)*L+(st*pt+ct*at+bt*dt)*N),p[s+16+12>>2]=0,p[s+16+16>>2]=(Y*$+J*tt+X*et)*E+((nt*Y+ot*J+_t*X)*Z+(Y*st+J*ct+X*bt)*U),p[s+16+20>>2]=($*z+tt*K+et*q)*E+((nt*z+ot*K+_t*q)*Z+(st*z+ct*K+bt*q)*U),p[s+16+24>>2]=($*pt+tt*at+et*dt)*E+((nt*pt+ot*at+_t*dt)*Z+(st*pt+ct*at+bt*dt)*U),p[s+16+28>>2]=0,p[s+16+32>>2]=(Y*$+J*tt+X*et)*it+((nt*Y+ot*J+_t*X)*rt+(Y*st+J*ct+X*bt)*lt),p[s+16+36>>2]=($*z+tt*K+et*q)*it+((nt*z+ot*K+_t*q)*rt+(st*z+ct*K+bt*q)*lt),p[s+16+40>>2]=($*pt+tt*at+et*dt)*it+((nt*pt+ot*at+_t*dt)*rt+(st*pt+ct*at+bt*dt)*lt),p[s+16+44>>2]=0,p[s+16+48>>2]=b,p[s+16+52>>2]=a,p[s+16+56>>2]=c,p[s+16+60>>2]=0,Qt(s+16|0,s),c=+p[s>>2],a=+p[s+4>>2],b=+p[s+8>>2],+d(+(c*c+a*a+b*b))<1.1920928955078125e-7||(p[t+472>>2]=0,ht=1/+l(+(c*c+a*a+b*b)),p[t+460>>2]=ht*c,p[t+464>>2]=ht*a,p[t+468>>2]=ht*b,ht=+p[s+12>>2],ht=2*+m(+((ht=ht<-1?-1:ht)>1?1:ht)),p[t+504>>2]=ht,+d(+ht)<1.1920928955078125e-7)||(n[t+526|0]=1),void(Q=s);Qt(e,s+16|0),Qt(t+300|0,s),X=+p[s+16+12>>2],z=+p[s>>2],K=+p[s+16>>2],q=+p[s+12>>2],$=+p[s+16+4>>2],tt=+p[s+8>>2],et=+p[s+16+8>>2],it=+p[s+4>>2],Qt(i,s+16|0),Qt(t+364|0,s),a=((S=(z*et+(q*$+X*it)-K*tt)*(bt=-((nt=+p[s+16+12>>2])*(ot=+p[s>>2])+(_t=+p[s+16>>2])*(rt=+p[s+12>>2])+(st=+p[s+16+4>>2])*(pt=+p[s+8>>2])-(ct=+p[s+16+8>>2])*(at=+p[s+4>>2])))+((X*tt+q*et+K*it-z*$)*(nt*rt-ot*_t-st*at-pt*ct)+(X*q-z*K-$*it-tt*et)*(lt=-(nt*pt+rt*ct+_t*at-ot*st)))-(X*z+K*q+$*tt-et*it)*(dt=-(ot*ct+(rt*st+nt*at)-_t*pt)))+0*(w=(X*q-z*K-$*it-tt*et)*(nt*rt-ot*_t-st*at-pt*ct)-(X*z+K*q+$*tt-et*it)*bt-(z*et+(q*$+X*it)-K*tt)*dt-(X*tt+q*et+K*it-z*$)*lt)-0*(C=(X*q-z*K-$*it-tt*et)*bt+(X*z+K*q+$*tt-et*it)*(nt*rt-ot*_t-st*at-pt*ct)+(X*tt+q*et+K*it-z*$)*dt-(z*et+(q*$+X*it)-K*tt)*lt))*-S+(w*(w+0*(v=(X*z+K*q+$*tt-et*it)*lt+((z*et+(q*$+X*it)-K*tt)*(nt*rt-ot*_t-st*at-pt*ct)+(X*q-z*K-$*it-tt*et)*dt)-(X*tt+q*et+K*it-z*$)*bt)-0*S)+(c=-C-0*v-0*S)*-C)-(0*w+0*C-v)*-v,b=(0*w+0*C-v)*-C+(w*(S+0*w-0*C)+c*-v)-(w+0*v-0*S)*-S,(c=(w+0*v-0*S)*-v+(w*(0*w+0*C-v)+c*-S)-(S+0*w-0*C)*-C)*(A=1/+l(+(c*c+(a*a+b*b))))*0+(b*A*0+a*A)<-.9999998807907104?(g=1,h=-0,c=0,a=0):(g=1/(ht=+l(2*(c*A*0+(b*A*0+a*A)+1)))*(a*A*0-c*A),h=1/ht*(c*A*0-b*A*0),c=1/ht*(b*A-a*A*0),a=.5*ht),A=h*(b=1/+l(+(h*h+g*g+c*c+a*a))),k=c*b,J=(S*-(R=g*b)+(C*(b*=a)+w*-A)-v*-k)*(Y=1/+l(+((w*b-C*-A-v*-R-S*-k)*(w*b-C*-A-v*-R-S*-k)+((v*-A+(S*b+w*-k)-C*-R)*(v*-A+(S*b+w*-k)-C*-R)+((S*-R+(C*b+w*-A)-v*-k)*(S*-R+(C*b+w*-A)-v*-k)+(C*-k+(w*-R+v*b)-S*-A)*(C*-k+(w*-R+v*b)-S*-A)))))),a=(C*-k+(w*-R+v*b)-S*-A)*Y,c=(v*-A+(S*b+w*-k)-C*-R)*Y,Y*=w*b-C*-A-v*-R-S*-k,(U=+p[t+444>>2])>=(Z=+p[t+456>>2])&&(j=+p[t+448>>2])>=Z?((S=2*+m(+((S=b<-1?-1:b)>1?1:S)))>1.1920928955078125e-7?(g=1/+l(+(k*k+(A*A+R*R))),+d(+R*g)>1.1920928955078125e-7?(h=A*g,A=k*g,b=R*g,C=+l(+(k*g*(k*g)/(R*g*(R*g))+1)/(k*g*(k*g)/(R*g*(R*g))/(U*U)+1/(j*j)))):(h=A*g,A=k*g,b=R*g,C=U)):(h=0,A=0,b=0,C=0),S>(v=C*(g=+p[t+428>>2]))&&(n[t+526|0]=1,g=S<C&g<.9999998807907104?(S-v)/(C-v):1,p[t+528>>2]=g,p[t+504>>2]=S-v,+d(+b)>1.1920928955078125e-7&&(ht=+d(j/U*(-A/b)*+b),h*=ht=1/+l(+(h*h+b*b+(A=A<-0?ht:-ht)*A)),A=-A*ht,b*=ht),U=(nt*rt-ot*_t-st*at-pt*ct)*(mt=-h)+(ot*ct+(rt*st+nt*at)-_t*pt)*(At=-A)-(nt*pt+rt*ct+_t*at-ot*st)*(ut=-b),ft=(nt*ot+_t*rt+st*pt-ct*at)*ut+(nt*rt-ot*_t-st*at-pt*ct)*At-(ot*ct+(rt*st+nt*at)-_t*pt)*mt,ut=(ht=(nt*pt+rt*ct+_t*at-ot*st)*mt+(nt*rt-ot*_t-st*at-pt*ct)*ut-(nt*ot+_t*rt+st*pt-ct*at)*At)*lt+((At=-(nt*ot+_t*rt+st*pt-ct*at)*mt-(ot*ct+(rt*st+nt*at)-_t*pt)*ut-(nt*pt+rt*ct+_t*at-ot*st)*At)*bt+(nt*rt-ot*_t-st*at-pt*ct)*U)-ft*dt,mt=ft*bt+((nt*rt-ot*_t-st*at-pt*ct)*ht+At*dt)-U*lt,ht=U*dt+(At*lt+(nt*rt-ot*_t-st*at-pt*ct)*ft)-ht*bt,p[t+460>>2]=ut,p[t+464>>2]=mt,p[t+468>>2]=ht,p[t+472>>2]=0,_[t+536>>2]=0,_[t+536+4>>2]=0,_[t+536+8>>2]=0,_[t+536+12>>2]=0,p[t+492>>2]=1/(ut*(+p[o>>2]*ut+ +p[o+16>>2]*mt+ +p[o+32>>2]*ht)+mt*(ut*+p[o+4>>2]+mt*+p[o+20>>2]+ht*+p[o+36>>2])+ht*(ut*+p[o+8>>2]+mt*+p[o+24>>2]+ht*+p[o+40>>2])+(ut*(ut*+p[r>>2]+mt*+p[r+16>>2]+ht*+p[r+32>>2])+mt*(ut*+p[r+4>>2]+mt*+p[r+20>>2]+ht*+p[r+36>>2])+ht*(ut*+p[r+8>>2]+mt*+p[r+24>>2]+ht*+p[r+40>>2]))))):H=20;t:do{if(20==(0|H)){F=+p[t+300>>2],O=+p[t+316>>2],x=+p[t+332>>2],T=+p[e>>2],P=+p[e+4>>2],V=+p[e+8>>2],M=+p[e+16>>2],G=+p[e+20>>2],L=+p[e+24>>2],N=+p[e+32>>2],E=+p[e+36>>2],S=+p[e+40>>2],w=+p[t+304>>2],k=+p[t+320>>2],R=+p[t+336>>2],j=+p[t+308>>2],D=+p[t+324>>2],I=+p[t+340>>2],g=+p[t+364>>2],b=+p[t+380>>2],v=+p[t+396>>2],b=(F*T+O*P+x*V)*(B=g*+p[i>>2]+b*+p[i+4>>2]+v*+p[i+8>>2])+(F*M+O*G+x*L)*(W=g*+p[i+16>>2]+b*+p[i+20>>2]+v*+p[i+24>>2])+(F*N+O*E+x*S)*(v=g*+p[i+32>>2]+b*+p[i+36>>2]+v*+p[i+40>>2]),g=(T*w+P*k+V*R)*B+(M*w+G*k+L*R)*W+(N*w+E*k+S*R)*v,h=(T*j+P*D+V*I)*B+(M*j+G*D+L*I)*W+(N*j+E*D+S*I)*v;do{if(U<Z){if((C=+p[t+448>>2])<Z){if(+d(+g)<1.1920928955078125e-7&+d(+h)<1.1920928955078125e-7)break t;n[t+526|0]=1,p[t+460>>2]=-((F*N+O*E+x*S)*W-(F*M+O*G+x*L)*v),p[t+464>>2]=-((F*T+O*P+x*V)*v-(F*N+O*E+x*S)*B),p[t+468>>2]=-((F*M+O*G+x*L)*B-(F*T+O*P+x*V)*W),p[t+472>>2]=0;break t}if(!(+d(+b)<1.1920928955078125e-7&+d(+h)<1.1920928955078125e-7)&&(n[t+526|0]=1,C>=Z)){if((A=+y(+h,+b))>C){h=+u(+C),A=0,b=+f(+C);break}A<-C?(h=-+u(+C),A=0,b=+f(+C)):A=0}else A=g}else if(!(+d(+b)<1.1920928955078125e-7&+d(+g)<1.1920928955078125e-7)&&(n[t+526|0]=1,U>=Z)){if((A=+y(+g,+b))>U){h=0,A=+u(+U),b=+f(+U);break}A<-U?(h=0,A=-+u(+U),b=+f(+U)):(h=0,A=g)}else A=g}while(0);mt=1/+l(+((At=(N*j+E*D+S*I)*h+((N*w+E*k+S*R)*A+(F*N+O*E+x*S)*b))*At+((ut=(T*j+P*D+V*I)*h+((T*w+P*k+V*R)*A+(F*T+O*P+x*V)*b))*ut+(ft=(M*j+G*D+L*I)*h+((M*w+G*k+L*R)*A+(F*M+O*G+x*L)*b))*ft))),p[t+472>>2]=0,ht=+l(+((W*(At*mt)-v*(ft*mt))*(W*(At*mt)-v*(ft*mt))+(v*(ut*mt)-B*(At*mt))*(v*(ut*mt)-B*(At*mt))+(B*(ft*mt)-W*(ut*mt))*(B*(ft*mt)-W*(ut*mt)))),p[t+504>>2]=ht,p[t+460>>2]=-1/ht*(W*(At*mt)-v*(ft*mt)),p[t+464>>2]=-1/ht*(v*(ut*mt)-B*(At*mt)),p[t+468>>2]=-1/ht*(B*(ft*mt)-W*(ut*mt))}}while(0);if(!((C=+p[t+452>>2])>=0))return p[t+512>>2]=0,void(Q=s);(A=2*+m(+((A=Y<-1?-1:Y)>1?1:A)))>3.1415927410125732?(b=-J,a=-a,c=-c,g=2*+m(+((g=-Y<-1?-1:-Y)>1?1:g))):(b=J,g=A),p[t+512>>2]=g,g>1.1920928955078125e-7?(b*=ht=1/+l(+(b*b+a*a+c*c)),h=c*ht,a*=ht):h=c,g>C*(c=+p[t+428>>2])&&(n[t+525|0]=1,A=g-C*c,c=g<C&c<.9999998807907104?A/(C-C*c):1,p[t+532>>2]=c,p[t+508>>2]=A,J=(nt*rt-ot*_t-st*at-pt*ct)*(mt=-b)+(ot*ct+(rt*st+nt*at)-_t*pt)*(At=-h)-(nt*pt+rt*ct+_t*at-ot*st)*(ut=-a),ft=(nt*ot+_t*rt+st*pt-ct*at)*ut+(nt*rt-ot*_t-st*at-pt*ct)*At-(ot*ct+(rt*st+nt*at)-_t*pt)*mt,ut=(ht=(nt*pt+rt*ct+_t*at-ot*st)*mt+(nt*rt-ot*_t-st*at-pt*ct)*ut-(nt*ot+_t*rt+st*pt-ct*at)*At)*lt+((At=-(nt*ot+_t*rt+st*pt-ct*at)*mt-(ot*ct+(rt*st+nt*at)-_t*pt)*ut-(nt*pt+rt*ct+_t*at-ot*st)*At)*bt+(nt*rt-ot*_t-st*at-pt*ct)*J)-ft*dt,mt=ft*bt+((nt*rt-ot*_t-st*at-pt*ct)*ht+At*dt)-J*lt,ht=J*dt+(At*lt+(nt*rt-ot*_t-st*at-pt*ct)*ft)-ht*bt,p[t+476>>2]=ut,p[t+480>>2]=mt,p[t+484>>2]=ht,p[t+488>>2]=0,p[t+496>>2]=1/(ut*(+p[o>>2]*ut+ +p[o+16>>2]*mt+ +p[o+32>>2]*ht)+mt*(ut*+p[o+4>>2]+mt*+p[o+20>>2]+ht*+p[o+36>>2])+ht*(ut*+p[o+8>>2]+mt*+p[o+24>>2]+ht*+p[o+40>>2])+(ut*(ut*+p[r>>2]+mt*+p[r+16>>2]+ht*+p[r+32>>2])+mt*(ut*+p[r+4>>2]+mt*+p[r+20>>2]+ht*+p[r+36>>2])+ht*(ut*+p[r+8>>2]+mt*+p[r+24>>2]+ht*+p[r+40>>2])))),0|n[t+526|0]?(dt=(X*q-z*K-$*it-tt*et)*(lt=-b)+(z*et+(q*$+X*it)-K*tt)*(At=-h)-(X*tt+q*et+K*it-z*$)*(ht=-a),mt=(X*tt+q*et+K*it-z*$)*lt+(X*q-z*K-$*it-tt*et)*ht-(X*z+K*q+$*tt-et*it)*At,ut=(X*z+K*q+$*tt-et*it)*ht+(X*q-z*K-$*it-tt*et)*At-(z*et+(q*$+X*it)-K*tt)*lt,At=-(X*z+K*q+$*tt-et*it)*lt-(z*et+(q*$+X*it)-K*tt)*ht-(X*tt+q*et+K*it-z*$)*At,ht=-(X*z+K*q+$*tt-et*it),lt=-(z*et+(q*$+X*it)-K*tt),ft=-(X*tt+q*et+K*it-z*$),p[t+536>>2]=mt*ft+(At*ht+(X*q-z*K-$*it-tt*et)*dt)-ut*lt,p[t+540>>2]=ut*ht+((X*q-z*K-$*it-tt*et)*mt+At*lt)-dt*ft,p[t+544>>2]=dt*lt+(At*ft+(X*q-z*K-$*it-tt*et)*ut)-mt*ht,p[t+548>>2]=0,Q=s):Q=s}function mi(t,e,i,r,s,c){t|=0,e|=0,i|=0,s|=0,c=+c;var a,b,d=0,A=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0,O=0,x=0,T=0,P=0,V=0,M=0,L=0,N=0;if(b=Q,Q=Q+896|0,W=0|_[4+(r|=0)>>2],a=0|_[r+12>>2],(0|(d=0|_[W+4>>2]))<20)return _[b+712>>2]=4536,_[b+712+168>>2]=0,p[b+712+172>>2]=c,_[b+712+164>>2]=_[s+4>>2],p[b+352+308>>2]=9999999747378752e-20,n[b+352+332|0]=0,_[b+288>>2]=10116,_[b+64>>2]=10184,_[b+64+4>>2]=b+352,_[b+64+8>>2]=b+288,_[b+64+12>>2]=t,_[b+64+16>>2]=W,_[b+64+20>>2]=0,0|Ie(b+64|0,e,i,a,a,b+712|0)&&(h=+p[(S=b+712+132|0)>>2])*h+(y=+p[b+712+136>>2])*y+(g=+p[b+712+140>>2])*g>9999999747378752e-20&&(C=+p[b+712+164>>2])<+p[s+4>>2]&&(c=1/+l(+(h*h+y*y+g*g)),p[S>>2]=h*c,p[b+712+136>>2]=y*c,p[b+712+140>>2]=g*c,_[b+16>>2]=_[r+8>>2],_[b+16+4>>2]=0,_[b+16+8>>2]=_[S>>2],_[b+16+8+4>>2]=_[S+4>>2],_[b+16+8+8>>2]=_[S+8>>2],_[b+16+8+12>>2]=_[S+12>>2],_[b+16+24>>2]=_[b+712+148>>2],_[b+16+24+4>>2]=_[b+712+148+4>>2],_[b+16+24+8>>2]=_[b+712+148+8>>2],_[b+16+24+12>>2]=_[b+712+148+12>>2],p[b+16+40>>2]=C,Ob[15&_[12+(0|_[s>>2])>>2]](s,b+16|0,1)),void(Q=b);if((d+-21|0)>>>0>=9){if(31!=(0|d))return void(Q=b);if($i(17609),(0|_[W+16>>2])>0){d=0;do{v=0|_[W+24>>2],A=+p[v+(80*d|0)>>2],m=+p[v+(80*d|0)+4>>2],g=+p[v+(80*d|0)+8>>2],f=+p[v+(80*d|0)+16>>2],h=+p[v+(80*d|0)+20>>2],w=+p[v+(80*d|0)+24>>2],u=+p[v+(80*d|0)+32>>2],y=+p[v+(80*d|0)+36>>2],R=+p[v+(80*d|0)+40>>2],L=+p[v+(80*d|0)+48>>2],M=+p[v+(80*d|0)+52>>2],B=+p[v+(80*d|0)+56>>2],v=0|_[v+(80*d|0)+64>>2],V=+p[a>>2],P=+p[a+4>>2],T=+p[a+8>>2],x=+p[a+16>>2],O=+p[a+20>>2],F=+p[a+24>>2],C=+p[a+32>>2],k=+p[a+36>>2],j=+p[a+40>>2],D=L*V+M*P+B*T+ +p[a+48>>2],I=L*x+M*O+B*F+ +p[a+52>>2],B=L*C+M*k+B*j+ +p[a+56>>2],p[b+712>>2]=A*V+f*P+u*T,p[b+712+4>>2]=m*V+h*P+y*T,p[b+712+8>>2]=g*V+w*P+R*T,p[b+712+12>>2]=0,p[b+712+16>>2]=A*x+f*O+u*F,p[b+712+20>>2]=m*x+h*O+y*F,p[b+712+24>>2]=g*x+w*O+R*F,p[b+712+28>>2]=0,p[b+712+32>>2]=A*C+f*k+u*j,p[b+712+36>>2]=m*C+h*k+y*j,p[b+712+40>>2]=g*C+w*k+R*j,p[b+712+44>>2]=0,p[b+712+48>>2]=D,p[b+712+52>>2]=I,p[b+712+56>>2]=B,p[b+712+60>>2]=0,o[b+352+8>>1]=1,o[b+352+10>>1]=-1,_[b+352>>2]=6808,_[b+352+12>>2]=s,_[b+352+16>>2]=d,_[b+352+4>>2]=_[s+4>>2],S=0|_[r+8>>2],_[b+288>>2]=r,_[b+288+4>>2]=v,_[b+288+8>>2]=S,_[b+288+12>>2]=b+712,_[b+288+16>>2]=-1,_[b+288+20>>2]=d,mi(t,e,i,b+288|0,b+352|0,c),d=d+1|0}while((0|d)<(0|_[W+16>>2]))}if(d=0|_[2606],W=(0|_[d+16>>2])-1|0,_[d+16>>2]=W,0|W)return void(Q=b);do{if(0|_[d+4>>2]){if(G(b+712|0,0),W=0|_[6629],p[d+8>>2]=+p[d+8>>2]+ +(((0|_[b+712+4>>2])-(0|_[W+4>>2])+(1e6*((0|_[b+712>>2])-(0|_[W>>2])|0)|0)-(0|_[d+12>>2])|0)>>>0)/1e3,0|_[d+16>>2])return void(Q=b);d=0|_[2606];break}}while(0);return _[2606]=_[d+20>>2],void(Q=b)}switch(0|d){case 21:return m=+p[a>>2],h=+p[a+16>>2],y=+p[a+32>>2],g=+p[a+4>>2],C=+p[a+20>>2],w=+p[a+36>>2],k=+p[a+8>>2],R=+p[a+24>>2],j=+p[a+40>>2],D=-+p[a+48>>2],I=-+p[a+52>>2],B=-+p[a+56>>2],u=+p[e+48>>2],f=+p[e+52>>2],A=+p[e+56>>2],p[b+352>>2]=m*D+h*I+y*B+(m*u+h*f+y*A),p[b+352+4>>2]=g*D+C*I+w*B+(g*u+C*f+w*A),p[b+352+8>>2]=k*D+R*I+j*B+(k*u+R*f+j*A),p[b+352+12>>2]=0,A=+p[i+48>>2],f=+p[i+52>>2],u=+p[i+56>>2],N=+p[i>>2],F=+p[i+16>>2],O=+p[i+32>>2],x=+p[i+4>>2],T=+p[i+20>>2],P=+p[i+36>>2],V=+p[i+8>>2],M=+p[i+24>>2],L=+p[i+40>>2],p[b+288>>2]=m*N+h*F+y*O,p[b+288+4>>2]=m*x+h*T+y*P,p[b+288+8>>2]=m*V+h*M+y*L,p[b+288+12>>2]=0,p[b+288+16>>2]=g*N+C*F+w*O,p[b+288+20>>2]=g*x+C*T+w*P,p[b+288+24>>2]=g*V+C*M+w*L,p[b+288+28>>2]=0,p[b+288+32>>2]=k*N+R*F+j*O,p[b+288+36>>2]=k*x+R*T+j*P,p[b+288+40>>2]=k*V+R*M+j*L,_[(d=b+288+44|0)>>2]=0,_[d+4>>2]=0,_[d+8>>2]=0,_[d+12>>2]=0,_[d+16>>2]=0,d=0|_[r+8>>2],L=+Bb[15&_[48+(0|_[W>>2])>>2]](W),_[b+64>>2]=10044,_[b+64+4>>2]=t,_[b+64+8>>2]=_[e>>2],_[b+64+8+4>>2]=_[e+4>>2],_[b+64+8+8>>2]=_[e+8>>2],_[b+64+8+12>>2]=_[e+12>>2],_[b+64+24>>2]=_[e+16>>2],_[b+64+24+4>>2]=_[e+16+4>>2],_[b+64+24+8>>2]=_[e+16+8>>2],_[b+64+24+12>>2]=_[e+16+12>>2],_[b+64+40>>2]=_[e+32>>2],_[b+64+40+4>>2]=_[e+32+4>>2],_[b+64+40+8>>2]=_[e+32+8>>2],_[b+64+40+12>>2]=_[e+32+12>>2],_[b+64+56>>2]=_[e+48>>2],_[b+64+56+4>>2]=_[e+48+4>>2],_[b+64+56+8>>2]=_[e+48+8>>2],_[b+64+56+12>>2]=_[e+48+12>>2],_[b+64+72>>2]=_[i>>2],_[b+64+72+4>>2]=_[i+4>>2],_[b+64+72+8>>2]=_[i+8>>2],_[b+64+72+12>>2]=_[i+12>>2],_[b+64+88>>2]=_[i+16>>2],_[b+64+88+4>>2]=_[i+16+4>>2],_[b+64+88+8>>2]=_[i+16+8>>2],_[b+64+88+12>>2]=_[i+16+12>>2],_[b+64+104>>2]=_[i+32>>2],_[b+64+104+4>>2]=_[i+32+4>>2],_[b+64+104+8>>2]=_[i+32+8>>2],_[b+64+104+12>>2]=_[i+32+12>>2],_[b+64+120>>2]=_[i+48>>2],_[b+64+120+4>>2]=_[i+48+4>>2],_[b+64+120+8>>2]=_[i+48+8>>2],_[b+64+120+12>>2]=_[i+48+12>>2],_[b+64+136>>2]=_[a>>2],_[b+64+136+4>>2]=_[a+4>>2],_[b+64+136+8>>2]=_[a+8>>2],_[b+64+136+12>>2]=_[a+12>>2],_[b+64+152>>2]=_[a+16>>2],_[b+64+152+4>>2]=_[a+16+4>>2],_[b+64+152+8>>2]=_[a+16+8>>2],_[b+64+152+12>>2]=_[a+16+12>>2],_[b+64+168>>2]=_[a+32>>2],_[b+64+168+4>>2]=_[a+32+4>>2],_[b+64+168+8>>2]=_[a+32+8>>2],_[b+64+168+12>>2]=_[a+32+12>>2],_[b+64+184>>2]=_[a+48>>2],_[b+64+184+4>>2]=_[a+48+4>>2],_[b+64+184+8>>2]=_[a+48+8>>2],_[b+64+184+12>>2]=_[a+48+12>>2],p[b+64+204>>2]=L,_[b+64>>2]=6760,_[b+64+212>>2]=s,_[b+64+216>>2]=d,_[b+64+220>>2]=W,_[b+64+200>>2]=_[s+4>>2],p[b+64+208>>2]=c,cd[127&_[8+(0|_[t>>2])>>2]](t,b+288|0,b+16|0,b),d=0|_[W+48>>2],_[b+712>>2]=7800,_[b+712+4>>2]=d,_[b+712+8>>2]=b+64,d=0|_[W+52>>2],0|n[d+60|0]?Ee(d,b+712|0,b+352|0,m*D+h*I+y*B+(m*A+h*f+y*u),g*D+C*I+w*B+(g*A+C*f+w*u),k*D+R*I+j*B+(k*A+R*f+j*u),b+16|0,b,0|_[d+56>>2]):$e(d,b+712|0,b+352|0,m*D+h*I+y*B+(m*A+h*f+y*u),g*D+C*I+w*B+(g*A+C*f+w*u),k*D+R*I+j*B+(k*A+R*f+j*u),b+16|0,b),void(Q=b);case 28:return _[b+712>>2]=4536,_[b+712+168>>2]=0,p[b+712+172>>2]=c,_[b+712+164>>2]=_[s+4>>2],_[b+352>>2]=10184,_[b+352+4>>2]=0,_[b+352+8>>2]=0,_[b+352+12>>2]=t,_[b+352+16>>2]=0,_[b+352+20>>2]=W,0|Ie(b+352|0,e,i,a,a,b+712|0)&&(A=+p[(v=b+712+132|0)>>2])*A+(f=+p[b+712+136>>2])*f+(u=+p[b+712+140>>2])*u>9999999747378752e-20&&(m=+p[b+712+164>>2])<+p[s+4>>2]&&(N=1/+l(+(A*A+f*f+u*u)),p[v>>2]=A*N,p[b+712+136>>2]=f*N,p[b+712+140>>2]=u*N,_[b+288>>2]=_[r+8>>2],_[b+288+4>>2]=0,_[b+288+8>>2]=_[v>>2],_[b+288+8+4>>2]=_[v+4>>2],_[b+288+8+8>>2]=_[v+8>>2],_[b+288+8+12>>2]=_[v+12>>2],_[b+288+24>>2]=_[b+712+148>>2],_[b+288+24+4>>2]=_[b+712+148+4>>2],_[b+288+24+8>>2]=_[b+712+148+8>>2],_[b+288+24+12>>2]=_[b+712+148+12>>2],p[b+288+40>>2]=m,Ob[15&_[12+(0|_[s>>2])>>2]](s,b+288|0,1)),void(Q=b);default:return m=+p[a>>2],h=+p[a+16>>2],y=+p[a+32>>2],k=+p[a+4>>2],R=+p[a+20>>2],j=+p[a+36>>2],T=+p[a+8>>2],V=+p[a+24>>2],L=+p[a+40>>2],u=m*(O=-+p[a+48>>2])+h*(F=-+p[a+52>>2])+y*(B=-+p[a+56>>2])+(m*(D=+p[e+48>>2])+h*(I=+p[e+52>>2])+y*(A=+p[e+56>>2])),f=k*O+R*F+j*B+(k*D+R*I+j*A),A=T*O+V*F+L*B+(T*D+V*I+L*A),g=m*O+h*F+y*B+(m*(I=+p[i+48>>2])+h*(D=+p[i+52>>2])+y*(w=+p[i+56>>2])),C=k*O+R*F+j*B+(k*I+R*D+j*w),w=T*O+V*F+L*B+(T*I+V*D+L*w),D=+p[i>>2],I=+p[i+16>>2],B=+p[i+32>>2],F=+p[i+4>>2],O=+p[i+20>>2],x=+p[i+36>>2],P=+p[i+8>>2],M=+p[i+24>>2],N=+p[i+40>>2],p[b+712>>2]=m*D+h*I+y*B,p[b+712+4>>2]=m*F+h*O+y*x,p[b+712+8>>2]=m*P+h*M+y*N,p[b+712+12>>2]=0,p[b+712+16>>2]=k*D+R*I+j*B,p[b+712+20>>2]=k*F+R*O+j*x,p[b+712+24>>2]=k*P+R*M+j*N,p[b+712+28>>2]=0,p[b+712+32>>2]=T*D+V*I+L*B,p[b+712+36>>2]=T*F+V*O+L*x,p[b+712+40>>2]=T*P+V*M+L*N,_[(S=b+712+44|0)>>2]=0,_[S+4>>2]=0,_[S+8>>2]=0,_[S+12>>2]=0,_[S+16>>2]=0,r=0|_[r+8>>2],N=+Bb[15&_[48+(0|_[W>>2])>>2]](W),_[b+352>>2]=10044,_[b+352+4>>2]=t,_[b+352+8>>2]=_[e>>2],_[b+352+8+4>>2]=_[e+4>>2],_[b+352+8+8>>2]=_[e+8>>2],_[b+352+8+12>>2]=_[e+12>>2],_[b+352+24>>2]=_[e+16>>2],_[b+352+24+4>>2]=_[e+16+4>>2],_[b+352+24+8>>2]=_[e+16+8>>2],_[b+352+24+12>>2]=_[e+16+12>>2],_[b+352+40>>2]=_[e+32>>2],_[b+352+40+4>>2]=_[e+32+4>>2],_[b+352+40+8>>2]=_[e+32+8>>2],_[b+352+40+12>>2]=_[e+32+12>>2],_[b+352+56>>2]=_[e+48>>2],_[b+352+56+4>>2]=_[e+48+4>>2],_[b+352+56+8>>2]=_[e+48+8>>2],_[b+352+56+12>>2]=_[e+48+12>>2],_[b+352+72>>2]=_[i>>2],_[b+352+72+4>>2]=_[i+4>>2],_[b+352+72+8>>2]=_[i+8>>2],_[b+352+72+12>>2]=_[i+12>>2],_[b+352+88>>2]=_[i+16>>2],_[b+352+88+4>>2]=_[i+16+4>>2],_[b+352+88+8>>2]=_[i+16+8>>2],_[b+352+88+12>>2]=_[i+16+12>>2],_[b+352+104>>2]=_[i+32>>2],_[b+352+104+4>>2]=_[i+32+4>>2],_[b+352+104+8>>2]=_[i+32+8>>2],_[b+352+104+12>>2]=_[i+32+12>>2],_[b+352+120>>2]=_[i+48>>2],_[b+352+120+4>>2]=_[i+48+4>>2],_[b+352+120+8>>2]=_[i+48+8>>2],_[b+352+120+12>>2]=_[i+48+12>>2],_[b+352+136>>2]=_[a>>2],_[b+352+136+4>>2]=_[a+4>>2],_[b+352+136+8>>2]=_[a+8>>2],_[b+352+136+12>>2]=_[a+12>>2],_[b+352+152>>2]=_[a+16>>2],_[b+352+152+4>>2]=_[a+16+4>>2],_[b+352+152+8>>2]=_[a+16+8>>2],_[b+352+152+12>>2]=_[a+16+12>>2],_[b+352+168>>2]=_[a+32>>2],_[b+352+168+4>>2]=_[a+32+4>>2],_[b+352+168+8>>2]=_[a+32+8>>2],_[b+352+168+12>>2]=_[a+32+12>>2],_[b+352+184>>2]=_[a+48>>2],_[b+352+184+4>>2]=_[a+48+4>>2],_[b+352+184+8>>2]=_[a+48+8>>2],_[b+352+184+12>>2]=_[a+48+12>>2],p[b+352+204>>2]=N,_[b+352>>2]=6784,_[b+352+212>>2]=s,_[b+352+216>>2]=r,_[b+352+220>>2]=W,_[b+352+200>>2]=_[s+4>>2],p[b+352+208>>2]=c,cd[127&_[8+(0|_[t>>2])>>2]](t,b+712|0,b+288|0,b+64|0),p[b+16>>2]=u,p[b+16+4>>2]=f,p[b+16+8>>2]=A,p[b+16+12>>2]=0,g<u?(p[b+16>>2]=g,m=g):m=u,C<f?(p[b+16+4>>2]=C,h=C):h=f,w<A?(p[b+16+8>>2]=w,y=w):y=A,p[b>>2]=u,p[b+4>>2]=f,p[b+8>>2]=A,p[b+12>>2]=0,u<g&&(p[b>>2]=g,u=g),f<C&&(p[b+4>>2]=C,f=C),A<w&&(p[b+8>>2]=w,A=w),p[b+16>>2]=+p[b+288>>2]+m,p[b+16+4>>2]=+p[b+288+4>>2]+h,p[b+16+8>>2]=+p[b+288+8>>2]+y,p[b>>2]=+p[b+64>>2]+u,p[b+4>>2]=+p[b+64+4>>2]+f,p[b+8>>2]=+p[b+64+8>>2]+A,cd[127&_[64+(0|_[W>>2])>>2]](W,b+352|0,b+16|0,b),void(Q=b)}}function hi(t,e,i,o,r){e|=0,i|=0,o|=0,r|=0;var s,c,a=0,b=0,d=0,l=0,A=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0,k=0;c=Q,Q=Q+112|0,_[164+(t|=0)>>2]=1065353216,_[t+168>>2]=1065353216,_[t+172>>2]=1065353216,p[t+176>>2]=0,_[t+180>>2]=0,p[t+184>>2]=0xde0b6b000000000,_[t+188>>2]=0,_[t+188+4>>2]=0,_[t+188+8>>2]=0,_[t+188+12>>2]=0,_[t+204>>2]=1,_[t+208>>2]=-1,_[t+212>>2]=-1,_[t+216>>2]=1,p[t+220>>2]=0,p[t+224>>2]=.5,p[t+228>>2]=0,p[t+232>>2]=0,_[t+236>>2]=1,_[t+240>>2]=0,p[t+244>>2]=1,_[t+248>>2]=0,_[t+248+4>>2]=0,_[t+248+8>>2]=0,_[t+248+12>>2]=0,_[t+4>>2]=1065353216,_[t+8>>2]=0,_[t+8+4>>2]=0,_[t+8+8>>2]=0,_[t+8+12>>2]=0,_[t+24>>2]=1065353216,_[t+28>>2]=0,_[t+28+4>>2]=0,_[t+28+8>>2]=0,_[t+28+12>>2]=0,_[t+44>>2]=1065353216,_[t+48>>2]=0,_[t+48+4>>2]=0,_[t+48+8>>2]=0,_[t+48+12>>2]=0,_[t+48+16>>2]=0,_[t>>2]=4028,n[t+280|0]=1,_[t+276>>2]=0,_[t+268>>2]=0,_[t+272>>2]=0,_[t+284>>2]=0,n[t+408|0]=1,_[t+404>>2]=0,_[t+396>>2]=0,_[t+400>>2]=0,n[t+428|0]=1,_[t+424>>2]=0,_[t+416>>2]=0,_[t+420>>2]=0,n[t+448|0]=1,_[t+444>>2]=0,_[t+436>>2]=0,_[t+440>>2]=0,n[t+496|0]=1,_[t+492>>2]=0,_[t+484>>2]=0,_[t+488>>2]=0,n[t+516|0]=1,_[t+512>>2]=0,_[t+504>>2]=0,_[t+508>>2]=0,_[t+684>>2]=e,n[t+704|0]=1,_[t+700>>2]=0,_[t+692>>2]=0,_[t+696>>2]=0,n[t+724|0]=1,_[t+720>>2]=0,_[t+712>>2]=0,_[t+716>>2]=0,n[t+744|0]=1,_[t+740>>2]=0,_[t+732>>2]=0,_[t+736>>2]=0,n[t+764|0]=1,_[t+760>>2]=0,_[t+752>>2]=0,_[t+756>>2]=0,n[t+784|0]=1,_[t+780>>2]=0,_[t+772>>2]=0,_[t+776>>2]=0,n[t+804|0]=1,_[t+800>>2]=0,_[t+792>>2]=0,_[t+796>>2]=0,n[t+824|0]=1,_[t+820>>2]=0,_[t+812>>2]=0,_[t+816>>2]=0,n[t+844|0]=1,_[t+840>>2]=0,_[t+832>>2]=0,_[t+836>>2]=0,n[t+864|0]=1,_[t+860>>2]=0,_[t+852>>2]=0,_[t+856>>2]=0,n[t+884|0]=1,_[t+880>>2]=0,_[t+872>>2]=0,_[t+876>>2]=0,n[t+964|0]=1,_[t+960>>2]=0,_[t+952>>2]=0,_[t+956>>2]=0,n[t+984|0]=1,_[t+980>>2]=0,_[t+972>>2]=0,_[t+976>>2]=0,_[t+928>>2]=0,_[t+932>>2]=0,_[t+936>>2]=-1,_[t+940>>2]=0,_[t+944>>2]=0,n[t+1024|0]=1,_[t+1020>>2]=0,_[t+1012>>2]=0,_[t+1016>>2]=0,n[t+1044|0]=1,_[t+1040>>2]=0,_[t+1032>>2]=0,_[t+1036>>2]=0,_[t+988>>2]=0,_[t+992>>2]=0,_[t+996>>2]=-1,_[t+1e3>>2]=0,_[t+1004>>2]=0,n[t+1084|0]=1,_[t+1080>>2]=0,_[t+1072>>2]=0,_[t+1076>>2]=0,n[t+1104|0]=1,_[t+1100>>2]=0,_[t+1092>>2]=0,_[t+1096>>2]=0,_[t+1048>>2]=0,_[t+1052>>2]=0,_[t+1056>>2]=-1,_[t+1060>>2]=0,_[t+1064>>2]=0,n[t+1124|0]=1,_[t+1120>>2]=0,_[t+1112>>2]=0,_[t+1116>>2]=0,n[t+1144|0]=1,_[t+1140>>2]=0,_[t+1132>>2]=0,_[t+1136>>2]=0,n[t+1248|0]=1,_[t+1244>>2]=0,_[t+1236>>2]=0,_[t+1240>>2]=0,_[t+236>>2]=8,_[t+288>>2]=0,p[t+292>>2]=1,_[t+296>>2]=0,_[t+296+4>>2]=0,_[t+296+8>>2]=0,_[t+296+12>>2]=0,_[t+296+16>>2]=0,p[t+316>>2]=.20000000298023224,p[t+320>>2]=0,p[t+324>>2]=1,p[t+328>>2]=.10000000149011612,p[t+332>>2]=1,p[t+336>>2]=.699999988079071,p[t+340>>2]=.10000000149011612,p[t+344>>2]=1,p[t+348>>2]=.5,p[t+352>>2]=.5,p[t+356>>2]=.5,p[t+360>>2]=.5,p[t+364>>2]=1,p[t+368>>2]=1,_[t+372>>2]=0,_[t+376>>2]=1,_[t+380>>2]=0,_[t+384>>2]=4,_[t+388>>2]=1,n[t+472|0]=0,n[t+473|0]=0,p[t+476>>2]=0,_[t+520>>2]=0,_[t+520+4>>2]=0,_[t+520+8>>2]=0,_[t+520+12>>2]=0,_[t+536>>2]=1065353216,_[t+540>>2]=0,_[t+540+4>>2]=0,_[t+540+8>>2]=0,_[t+540+12>>2]=0,_[t+556>>2]=1065353216,_[t+560>>2]=0,_[t+560+4>>2]=0,_[t+560+8>>2]=0,_[t+560+12>>2]=0,_[t+576>>2]=1065353216,p[t+580>>2]=0,_[t+584>>2]=1065353216,_[t+588>>2]=0,_[t+588+4>>2]=0,_[t+588+8>>2]=0,_[t+588+12>>2]=0,_[t+604>>2]=1065353216,_[t+608>>2]=0,_[t+608+4>>2]=0,_[t+608+8>>2]=0,_[t+608+12>>2]=0,_[t+624>>2]=1065353216,p[t+628>>2]=0,_[t+680>>2]=0,p[t+888>>2]=0,n[t+924|0]=1,_[t+892>>2]=0,_[t+892+4>>2]=0,_[t+892+8>>2]=0,_[t+892+12>>2]=0,_[t+892+16>>2]=0,_[t+892+20>>2]=0,_[t+892+24>>2]=0,_[t+892+28>>2]=0,_[t+4>>2]=1065353216,_[t+8>>2]=0,_[t+8+4>>2]=0,_[t+8+8>>2]=0,_[t+8+12>>2]=0,_[t+24>>2]=1065353216,_[t+28>>2]=0,_[t+28+4>>2]=0,_[t+28+8>>2]=0,_[t+28+12>>2]=0,_[t+44>>2]=1065353216,_[t+48>>2]=0,_[t+48+4>>2]=0,_[t+48+8>>2]=0,_[t+48+12>>2]=0,_[t+48+16>>2]=0,0|(e=0|_[t+404>>2])&&(0|n[t+408|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+404>>2]=0),n[t+408|0]=1,_[t+404>>2]=0,_[t+396>>2]=0,_[t+400>>2]=0,0|(e=0|_[t+424>>2])&&(0|n[t+428|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+424>>2]=0),n[t+428|0]=1,_[t+424>>2]=0,_[t+416>>2]=0,_[t+420>>2]=0,e=0|_[t+444>>2];do{if(e){if(!(0|n[t+448|0])){_[t+444>>2]=0,n[t+448|0]=1,_[t+444>>2]=0,_[t+436>>2]=0,_[t+440>>2]=0,b=1,v=17;break}_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2]),e=0|_[t+416>>2],b=0|_[t+420>>2],_[t+444>>2]=0,n[t+448|0]=1,_[t+444>>2]=0,_[t+436>>2]=0,_[t+440>>2]=0,(0|e)==(0|b)?b?(0|b)<b<<1?b<<1?(b<<=1,v=17):(e=0,a=b,l=b<<1,v=20):(a=b,e=b):(b=1,v=17):(a=e,e=b)}else n[t+448|0]=1,_[t+444>>2]=0,_[t+436>>2]=0,_[t+440>>2]=0,b=1,v=17}while(0);if(17==(0|v)&&(_[6630]=1+(0|_[6630]),(e=0|di(16+(b<<2|3)|0))?(_[(e+4+15&-16)-4>>2]=e,e=e+4+15&-16):e=0,a=0|_[t+416>>2],l=b,v=20),20==(0|v)){if(d=0|_[t+424>>2],(0|a)<=0)d&&(v=24);else{b=0;do{_[e+(b<<2)>>2]=_[d+(b<<2)>>2],b=b+1|0}while((0|b)!=(0|a));v=24}24==(0|v)&&(0|n[t+428|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[d+-4>>2]),a=0|_[t+416>>2]),_[t+424>>2]=0),n[t+428|0]=1,_[t+424>>2]=e,_[t+420>>2]=l,e=l}if(b=0|_[t+424>>2],_[b+(a<<2)>>2]=1,a=a+1|0,_[t+416>>2]=a,(0|a)==(0|e))if((0|e)<(0|(l=0|e?e<<1:1))){if(l?(_[6630]=1+(0|_[6630]),(e=0|di(16+(l<<2|3)|0))?(_[(e+4+15&-16)-4>>2]=e,e=e+4+15&-16):e=0,d=e,e=0|_[t+416>>2],b=0|_[t+424>>2]):d=0,(0|e)<=0)b&&(v=38);else{a=0;do{_[d+(a<<2)>>2]=_[b+(a<<2)>>2],a=a+1|0}while((0|a)!=(0|e));v=38}38==(0|v)&&(0|n[t+428|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[b+-4>>2]),e=0|_[t+416>>2]),_[t+424>>2]=0),n[t+428|0]=1,_[t+424>>2]=d,_[t+420>>2]=l,b=d,a=e,e=l}else a=e;if(_[b+(a<<2)>>2]=2,a=a+1|0,_[t+416>>2]=a,(0|a)==(0|e))if((0|e)<(0|(l=0|e?e<<1:1))){if(l?(_[6630]=1+(0|_[6630]),(e=0|di(16+(l<<2|3)|0))?(_[(e+4+15&-16)-4>>2]=e,e=e+4+15&-16):e=0,d=e,e=0|_[t+416>>2],b=0|_[t+424>>2]):d=0,(0|e)<=0)b&&(v=52);else{a=0;do{_[d+(a<<2)>>2]=_[b+(a<<2)>>2],a=a+1|0}while((0|a)!=(0|e));v=52}52==(0|v)&&(0|n[t+428|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[b+-4>>2]),e=0|_[t+416>>2]),_[t+424>>2]=0),n[t+428|0]=1,_[t+424>>2]=d,_[t+420>>2]=l,a=e,e=l}else d=b,a=e;else d=b;if(_[d+(a<<2)>>2]=3,a=a+1|0,_[t+416>>2]=a,(0|a)==(0|e))if((0|e)<(0|(l=0|e?e<<1:1))){if(l?(_[6630]=1+(0|_[6630]),(e=0|di(16+(l<<2|3)|0))?(_[(e+4+15&-16)-4>>2]=e,e=e+4+15&-16):e=0,b=e,e=0|_[t+416>>2],d=0|_[t+424>>2]):b=0,(0|e)<=0)d&&(v=66);else{a=0;do{_[b+(a<<2)>>2]=_[d+(a<<2)>>2],a=a+1|0}while((0|a)!=(0|e));v=66}66==(0|v)&&(0|n[t+428|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[d+-4>>2]),e=0|_[t+416>>2]),_[t+424>>2]=0),n[t+428|0]=1,_[t+424>>2]=b,_[t+420>>2]=l}else b=d;else b=d,e=a;_[b+(e<<2)>>2]=0,_[t+416>>2]=e+1,_[6630]=1+(0|_[6630]),(e=0|di(39))?(_[(e+4+15&-16)-4>>2]=e,e=e+4+15&-16):e=0,_[e+8>>2]=0,_[e>>2]=4136,_[e+4>>2]=32,_[e+16>>2]=t,_[t+192>>2]=e,p[e+12>>2]=.25,_[t+1148>>2]=1065353216,_[t+1152>>2]=0,_[t+1152+4>>2]=0,_[t+1152+8>>2]=0,_[t+1152+12>>2]=0,_[t+1168>>2]=1065353216,_[t+1172>>2]=0,_[t+1172+4>>2]=0,_[t+1172+8>>2]=0,_[t+1172+12>>2]=0,_[t+1188>>2]=1065353216,w=36+(S=t+1192|0)|0;do{_[S>>2]=0,S=S+4|0}while((0|S)<(0|w));p[t+1228>>2]=1,s=0|Mt(t),p[s+4>>2]=1,p[s+8>>2]=1,p[s+12>>2]=1,_[s+16>>2]=1,S=0|_[t+192>>2],k=+Bb[15&_[48+(0|_[S>>2])>>2]](S),w=(S=c)+100|0;do{_[S>>2]=0,S=S+4|0}while((0|S)<(0|w));if((0|(l=0|_[t+712>>2]))<(0|i)){if((0|_[t+716>>2])<(0|i)){if(i?(_[6630]=1+(0|_[6630]),(e=0|di(16+(104*i|3)|0))?(_[(e+4+15&-16)-4>>2]=e,e=e+4+15&-16):e=0,b=0|_[t+712>>2]):(e=0,b=l),(0|b)>0){a=0;do{S=e+(104*a|0)|0,d=(0|_[t+720>>2])+(104*a|0)|0,w=S+104|0;do{_[S>>2]=_[d>>2],S=S+4|0,d=d+4|0}while((0|S)<(0|w));a=a+1|0}while((0|a)!=(0|b))}0|(a=0|_[t+720>>2])&&(0|n[t+724|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[a+-4>>2])),_[t+720>>2]=0),n[t+724|0]=1,_[t+720>>2]=e,_[t+716>>2]=i}e=l;do{S=0|_[t+720>>2],_[S+(104*e|0)>>2]=0,d=c,w=100+(S=S+(104*e|0)+4|0)|0;do{_[S>>2]=_[d>>2],S=S+4|0,d=d+4|0}while((0|S)<(0|w));e=e+1|0}while((0|e)!=(0|i))}if(_[t+712>>2]=i,(0|i)>0)for(e=o,a=r,d=0;;){w=104+(S=o=(v=0|_[t+720>>2])+(104*d|0)|0)|0;do{_[S>>2]=0,S=S+4|0}while((0|S)<(0|w));if(e?(l=e+16|0,A=+p[e+12>>2],f=+p[e>>2],u=+p[e+4>>2],m=+p[e+8>>2]):(l=0,A=0,f=0,u=0,m=0),p[(w=v+(104*d|0)+8|0)>>2]=f,p[v+(104*d|0)+12>>2]=u,p[v+(104*d|0)+16>>2]=m,p[v+(104*d|0)+20>>2]=A,_[(r=v+(104*d|0)+24|0)>>2]=_[w>>2],_[r+4>>2]=_[w+4>>2],_[r+8>>2]=_[w+8>>2],_[r+12>>2]=_[w+12>>2],a?(b=a+4|0,A=+p[a>>2]):(b=0,A=1),p[v+(104*d|0)+88>>2]=A>0?1/A:0,y=f-k,g=u-k,C=m-k,h=k+f,f=k+u,A=k+m,e=0|_[t+932>>2])_[t+932>>2]=0;else{_[6630]=1+(0|_[6630]),(e=0|di(63))?(_[(e+4+15&-16)-4>>2]=e,e=e+4+15&-16):e=0,w=(S=e)+44|0;do{_[S>>2]=0,S=S+4|0}while((0|S)<(0|w))}if(_[e+32>>2]=0,_[e+36>>2]=o,_[e+40>>2]=0,p[e>>2]=y,p[e+4>>2]=g,p[e+8>>2]=C,p[e+12>>2]=0,p[e+16>>2]=h,p[e+20>>2]=f,p[e+24>>2]=A,p[e+28>>2]=0,U(t+928|0,0|_[t+928>>2],e),_[t+940>>2]=1+(0|_[t+940>>2]),_[v+(104*d|0)+96>>2]=e,_[v+(104*d|0)+4>>2]=s,(0|(d=d+1|0))==(0|i))break;e=l,a=b}if(!(e=0|_[t+928>>2]))return _[t+892>>2]=0,_[t+892+4>>2]=0,_[t+892+8>>2]=0,_[t+892+12>>2]=0,_[t+892+16>>2]=0,_[t+892+20>>2]=0,_[t+892+24>>2]=0,_[t+892+28>>2]=0,void(Q=c);i=0|_[t+192>>2],g=+Bb[15&_[48+(0|_[i>>2])>>2]](i),k=+p[e+4>>2]-g,C=+p[e+8>>2]-g,p[t+892>>2]=+p[e>>2]-g,p[t+896>>2]=k,p[t+900>>2]=C,p[t+904>>2]=0,C=g+ +p[e+20>>2],k=g+ +p[e+24>>2],p[t+908>>2]=g+ +p[e+16>>2],p[t+912>>2]=C,p[t+916>>2]=k,p[t+920>>2]=0,(e=0|_[t+188>>2])?(i=0|_[t+684>>2],r=0|_[i+32>>2],ld[31&_[16+(0|_[r>>2])>>2]](r,e,t+892|0,t+908|0,0|_[i+36>>2]),Q=c):Q=c}function yi(t,e,i){e|=0,i|=0;var r,c=0,a=0,b=0,d=0,l=0,A=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0,O=0,x=0,T=0,P=0,V=0,M=0;if(r=Q,Q=Q+96|0,O=0|_[56+(t|=0)>>2],1==(i-e|0)){if(0|n[t+60|0])x=(0|_[t+116>>2])+(e<<4)|0,T=(0|_[t+136>>2])+(O<<4)|0,_[T>>2]=_[x>>2],_[T+4>>2]=_[x+4>>2],_[T+8>>2]=_[x+8>>2],_[T+12>>2]=_[x+12>>2];else{u=(0|_[t+96>>2])+(O<<6)|0,m=(0|_[t+76>>2])+(e<<6)|0,h=u+64|0;do{_[u>>2]=_[m>>2],u=u+4|0,m=m+4|0}while((0|u)<(0|h))}return _[t+56>>2]=1+(0|_[t+56>>2]),void(Q=r)}if((0|i)>(0|e)){if(l=!(0|n[t+60|0])){a=0|_[t+76>>2],c=e,b=0,d=0,A=0;do{b+=.5*(+p[a+(c<<6)+16>>2]+ +p[a+(c<<6)>>2]),d+=.5*(+p[a+(c<<6)+20>>2]+ +p[a+(c<<6)+4>>2]),A+=.5*(+p[a+(c<<6)+24>>2]+ +p[a+(c<<6)+8>>2]),c=c+1|0}while((0|c)!=(0|i))}else{a=0|_[t+116>>2],f=+p[t+36>>2],y=+p[t+40>>2],g=+p[t+44>>2],S=+p[t+4>>2],w=+p[t+8>>2],k=+p[t+12>>2],c=e,b=0,d=0,A=0;do{b+=.5*(+(0|s[a+(c<<4)+6>>1])/f+S+(+(0|s[a+(c<<4)>>1])/f+S)),d+=.5*(+(0|s[a+(c<<4)+8>>1])/y+w+(+(0|s[a+(c<<4)+2>>1])/y+w)),A+=.5*(+(0|s[a+(c<<4)+10>>1])/g+k+(+(0|s[a+(c<<4)+4>>1])/g+k)),c=c+1|0}while((0|c)!=(0|i))}if(B=(D=1/+(i-e|0))*b,I=D*d,D*=A,l){a=0|_[t+76>>2],c=e,b=0,A=0,f=0;do{b+=(S=.5*(+p[a+(c<<6)+16>>2]+ +p[a+(c<<6)>>2])-B)*S,A+=(w=.5*(+p[a+(c<<6)+20>>2]+ +p[a+(c<<6)+4>>2])-I)*w,f+=(k=.5*(+p[a+(c<<6)+24>>2]+ +p[a+(c<<6)+8>>2])-D)*k,c=c+1|0}while((0|c)!=(0|i));d=+(i-e|0)}else{a=0|_[t+116>>2],d=+p[t+36>>2],y=+p[t+40>>2],g=+p[t+44>>2],S=+p[t+4>>2],w=+p[t+8>>2],k=+p[t+12>>2],c=e,b=0,A=0,f=0;do{b+=(M=.5*(+(0|s[a+(c<<4)+6>>1])/d+S+(+(0|s[a+(c<<4)>>1])/d+S))-B)*M,A+=(V=.5*(+(0|s[a+(c<<4)+8>>1])/y+w+(+(0|s[a+(c<<4)+2>>1])/y+w))-I)*V,f+=(P=.5*(+(0|s[a+(c<<4)+10>>1])/g+k+(+(0|s[a+(c<<4)+4>>1])/g+k))-D)*P,c=c+1|0}while((0|c)!=(0|i));d=+(i-e|0)}}else f=0,A=0,b=0,d=+(i-e|0);if(V=(M=1/(d+-1))*b,P=M*A,M*=f,v=V<P?P<M?2:1:V<M?2:0,_[r+16>>2]=0,_[r+16+4>>2]=0,_[r+16+8>>2]=0,_[r+16+12>>2]=0,(0|i)>(0|e)){if(0|n[t+60|0]){a=0|_[t+116>>2],f=+p[t+36>>2],y=+p[t+40>>2],g=+p[t+44>>2],S=+p[t+4>>2],w=+p[t+8>>2],k=+p[t+12>>2],c=e,A=0,d=0,b=0;do{A=.5*(+(0|s[a+(c<<4)+6>>1])/f+S+(+(0|s[a+(c<<4)>>1])/f+S))+A,d=.5*(+(0|s[a+(c<<4)+8>>1])/y+w+(+(0|s[a+(c<<4)+2>>1])/y+w))+d,b=.5*(+(0|s[a+(c<<4)+10>>1])/g+k+(+(0|s[a+(c<<4)+4>>1])/g+k))+b,c=c+1|0}while((0|c)!=(0|i))}else{a=0|_[t+76>>2],c=e,A=0,d=0,b=0;do{A=.5*(+p[a+(c<<6)+16>>2]+ +p[a+(c<<6)>>2])+A,d=.5*(+p[a+(c<<6)+20>>2]+ +p[a+(c<<6)+4>>2])+d,b=.5*(+p[a+(c<<6)+24>>2]+ +p[a+(c<<6)+8>>2])+b,c=c+1|0}while((0|c)!=(0|i))}p[r+16>>2]=A,p[r+16+4>>2]=d,p[r+16+8>>2]=b,c=r+16|0}else c=r+16|0,A=0,d=0,b=0;if(p[c>>2]=1/+(i-e|0)*A,p[r+16+4>>2]=1/+(i-e|0)*d,p[r+16+8>>2]=1/+(i-e|0)*b,S=+p[r+16+(v<<2)>>2],(0|i)>(0|e)){c=e,C=e;do{if((a=!(0|n[t+60|0]))?(F=0|_[t+76>>2],b=+p[F+(C<<6)>>2],d=+p[F+(C<<6)+16>>2],A=+p[F+(C<<6)+4>>2],f=+p[F+(C<<6)+20>>2],y=+p[F+(C<<6)+8>>2],g=+p[F+(C<<6)+24>>2]):(F=0|_[t+116>>2],A=+p[t+36>>2],y=+p[t+40>>2],M=+p[t+44>>2],d=+p[t+4>>2],f=+p[t+8>>2],g=+p[t+12>>2],b=+(0|s[F+(C<<4)>>1])/A+d,d=+(0|s[F+(C<<4)+6>>1])/A+d,A=+(0|s[F+(C<<4)+2>>1])/y+f,f=+(0|s[F+(C<<4)+8>>1])/y+f,y=+(0|s[F+(C<<4)+4>>1])/M+g,g=+(0|s[F+(C<<4)+10>>1])/M+g),p[r>>2]=.5*(d+b),p[r+4>>2]=.5*(f+A),p[r+8>>2]=.5*(g+y),p[r+12>>2]=0,+p[r+(v<<2)>>2]>S){if(a){m=l=(a=0|_[t+76>>2])+(C<<6)|0,h=64+(u=r+32|0)|0;do{_[u>>2]=_[m>>2],u=u+4|0,m=m+4|0}while((0|u)<(0|h));m=a+(c<<6)|0,h=(u=l)+64|0;do{_[u>>2]=_[m>>2],u=u+4|0,m=m+4|0}while((0|u)<(0|h));m=r+32|0,h=64+(u=(0|_[t+76>>2])+(c<<6)|0)|0;do{_[u>>2]=_[m>>2],u=u+4|0,m=m+4|0}while((0|u)<(0|h))}else F=(W=0|_[t+116>>2])+(C<<4)|0,_[r+32>>2]=_[F>>2],_[r+32+4>>2]=_[F+4>>2],_[r+32+8>>2]=_[F+8>>2],_[r+32+12>>2]=_[F+12>>2],W=W+(c<<4)|0,_[F>>2]=_[W>>2],_[F+4>>2]=_[W+4>>2],_[F+8>>2]=_[W+8>>2],_[F+12>>2]=_[W+12>>2],F=(0|_[t+116>>2])+(c<<4)|0,_[F>>2]=_[r+32>>2],_[F+4>>2]=_[r+32+4>>2],_[F+8>>2]=_[r+32+8>>2],_[F+12>>2]=_[r+32+12>>2];c=c+1|0}C=C+1|0}while((0|C)!=(0|i))}else c=e;if((0|c)>(((i-e|0)/3|0)+e|0)&&(0|c)<(i+-1-((i-e|0)/3|0)|0)||(c=(i-e>>1)+e|0),F=0|_[t+56>>2],0|n[t+60|0]?(W=0|_[t+136>>2],V=(+p[t+24>>2]-+p[t+8>>2])*+p[t+40>>2],M=(+p[t+28>>2]-+p[t+12>>2])*+p[t+44>>2],o[W+(F<<4)>>1]=(+p[t+20>>2]-+p[t+4>>2])*+p[t+36>>2]&65535&-2,o[W+(F<<4)+2>>1]=65535&V&-2,o[W+(F<<4)+4>>1]=65535&M&-2):(W=(0|_[t+96>>2])+(F<<6)|0,_[W>>2]=_[t+20>>2],_[W+4>>2]=_[t+20+4>>2],_[W+8>>2]=_[t+20+8>>2],_[W+12>>2]=_[t+20+12>>2]),a=0|_[t+56>>2],0|n[t+60|0]?(W=0|_[t+136>>2],P=+p[t+4>>2],V=+p[t+8>>2],M=+p[t+12>>2],V=(V-V)*+p[t+40>>2],M=(M-M)*+p[t+44>>2],o[W+(a<<4)+6>>1]=(P-P)*+p[t+36>>2]+1&65535|1,o[W+(a<<4)+8>>1]=V+1&65535|1,o[W+(a<<4)+10>>1]=M+1&65535|1):(W=(0|_[t+96>>2])+(a<<6)+16|0,_[W>>2]=_[t+4>>2],_[W+4>>2]=_[t+4+4>>2],_[W+8>>2]=_[t+4+8>>2],_[W+12>>2]=_[t+4+12>>2]),W=0|_[t+56>>2],(0|i)>(0|e)){j=0|n[t+60|0],R=e;do{j<<24>>24?(C=0|_[t+116>>2],y=+p[t+36>>2],k=+p[t+40>>2],P=+p[t+44>>2],g=+p[t+4>>2],D=+p[t+8>>2],V=+p[t+12>>2],S=+p[t+4>>2],I=+p[t+8>>2],M=+p[t+12>>2],f=+p[t+36>>2],w=+p[t+40>>2],B=+p[t+44>>2],a=(+(0|s[C+(R<<4)>>1])/y+g-S)*f&65535&-2,l=(+(0|s[C+(R<<4)+2>>1])/k+D-I)*w&65535&-2,u=(+(0|s[C+(R<<4)+4>>1])/P+V-M)*B&65535&-2,m=f*(+(0|s[C+(R<<4)+6>>1])/y+g-S)+1&65535|1,h=w*(+(0|s[C+(R<<4)+8>>1])/k+D-I)+1&65535|1,C=B*(+(0|s[C+(R<<4)+10>>1])/P+V-M)+1&65535|1,v=0|_[t+136>>2],(0|s[v+(W<<4)>>1])>(65535&a)&&(o[v+(W<<4)>>1]=a),(0|s[v+(W<<4)+6>>1])<(65535&m)&&(o[v+(W<<4)+6>>1]=m),(0|s[v+(W<<4)+2>>1])>(65535&l)&&(o[v+(W<<4)+2>>1]=l),(0|s[v+(W<<4)+8>>1])<(65535&h)&&(o[v+(W<<4)+8>>1]=h),(0|s[v+(W<<4)+4>>1])>(65535&u)&&(o[v+(W<<4)+4>>1]=u),(0|s[v+(W<<4)+10>>1])<(65535&C)&&(o[v+(W<<4)+10>>1]=C)):(a=0|_[t+76>>2],d=+p[a+(R<<6)>>2],g=+p[a+(R<<6)+4>>2],w=+p[a+(R<<6)+8>>2],f=+p[a+(R<<6)+12>>2],b=+p[a+(R<<6)+16>>2],S=+p[a+(R<<6)+20>>2],A=+p[a+(R<<6)+24>>2],y=+p[a+(R<<6)+28>>2],a=0|_[t+96>>2],d<+p[a+(W<<6)>>2]&&(p[a+(W<<6)>>2]=d),g<+p[a+(W<<6)+4>>2]&&(p[a+(W<<6)+4>>2]=g),w<+p[a+(W<<6)+8>>2]&&(p[a+(W<<6)+8>>2]=w),f<+p[a+(W<<6)+12>>2]&&(p[a+(W<<6)+12>>2]=f),+p[a+(W<<6)+16>>2]<b&&(p[a+(W<<6)+16>>2]=b),+p[a+(W<<6)+20>>2]<S&&(p[a+(W<<6)+20>>2]=S),+p[a+(W<<6)+24>>2]<A&&(p[a+(W<<6)+24>>2]=A),+p[a+(W<<6)+28>>2]<y&&(p[a+(W<<6)+28>>2]=y)),R=R+1|0}while((0|R)!=(0|i))}if(_[t+56>>2]=W+1,yi(t,e,c),R=0|_[t+56>>2],yi(t,c,i),v=(0|_[t+56>>2])-O|0,!!((c=0|n[t+60|0])<<24>>24)&(0|v)>128){if(h=0|_[t+136>>2],m=(0|(m=0|_[h+(W+1<<4)+12>>2]))>-1?1:0-m|0,C=(0|(C=0|_[h+(R<<4)+12>>2]))>-1?1:0-C|0,(0|m)<129){if((0|(u=0|_[t+152>>2]))==(0|_[t+156>>2])&&(0|u)<(0|(x=0|u?u<<1:1))){if(x?(_[6630]=1+(0|_[6630]),(c=0|di(x<<5|19))?(_[(c+4+15&-16)-4>>2]=c,c=c+4+15&-16):c=0,l=0|_[t+152>>2]):(c=0,l=u),(0|l)>0){a=0;do{O=c+(a<<5)|0,i=(0|_[t+160>>2])+(a<<5)|0,_[O>>2]=_[i>>2],_[O+4>>2]=_[i+4>>2],_[O+8>>2]=_[i+8>>2],_[O+12>>2]=_[i+12>>2],_[O+16>>2]=_[i+16>>2],_[O+20>>2]=_[i+20>>2],_[O+24>>2]=_[i+24>>2],_[O+28>>2]=_[i+28>>2],a=a+1|0}while((0|a)!=(0|l))}0|(a=0|_[t+160>>2])&&(0|n[t+164|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[a+-4>>2])),_[t+160>>2]=0),n[t+164|0]=1,_[t+160>>2]=c,_[t+156>>2]=x,c=0|_[t+152>>2]}else c=u;_[t+152>>2]=c+1,x=(0|_[t+160>>2])+(u<<5)|0,_[x>>2]=_[r+32>>2],_[x+4>>2]=_[r+32+4>>2],_[x+8>>2]=_[r+32+8>>2],_[x+12>>2]=_[r+32+12>>2],_[x+16>>2]=_[r+32+16>>2],_[x+20>>2]=_[r+32+20>>2],_[x+24>>2]=_[r+32+24>>2],_[x+28>>2]=_[r+32+28>>2],x=0|_[t+160>>2],o[x+(u<<5)>>1]=0|o[h+(W+1<<4)>>1],o[x+(u<<5)+2>>1]=0|o[h+(W+1<<4)+2>>1],o[x+(u<<5)+4>>1]=0|o[h+(W+1<<4)+4>>1],o[x+(u<<5)+6>>1]=0|o[h+(W+1<<4)+6>>1],o[x+(u<<5)+8>>1]=0|o[h+(W+1<<4)+8>>1],o[x+(u<<5)+10>>1]=0|o[h+(W+1<<4)+10>>1],_[x+(u<<5)+12>>2]=W+1,_[x+(u<<5)+16>>2]=m}if((0|C)<129){if((0|(u=0|_[t+152>>2]))==(0|_[t+156>>2])&&(0|u)<(0|(T=0|u?u<<1:1))){if(T?(_[6630]=1+(0|_[6630]),(c=0|di(T<<5|19))?(_[(c+4+15&-16)-4>>2]=c,c=c+4+15&-16):c=0,l=0|_[t+152>>2]):(c=0,l=u),(0|l)>0){a=0;do{x=c+(a<<5)|0,O=(0|_[t+160>>2])+(a<<5)|0,_[x>>2]=_[O>>2],_[x+4>>2]=_[O+4>>2],_[x+8>>2]=_[O+8>>2],_[x+12>>2]=_[O+12>>2],_[x+16>>2]=_[O+16>>2],_[x+20>>2]=_[O+20>>2],_[x+24>>2]=_[O+24>>2],_[x+28>>2]=_[O+28>>2],a=a+1|0}while((0|a)!=(0|l))}0|(a=0|_[t+160>>2])&&(0|n[t+164|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[a+-4>>2])),_[t+160>>2]=0),n[t+164|0]=1,_[t+160>>2]=c,_[t+156>>2]=T,c=0|_[t+152>>2]}else c=u;_[t+152>>2]=c+1,c=(0|_[t+160>>2])+(u<<5)|0,_[c>>2]=_[r+32>>2],_[c+4>>2]=_[r+32+4>>2],_[c+8>>2]=_[r+32+8>>2],_[c+12>>2]=_[r+32+12>>2],_[c+16>>2]=_[r+32+16>>2],_[c+20>>2]=_[r+32+20>>2],_[c+24>>2]=_[r+32+24>>2],_[c+28>>2]=_[r+32+28>>2],c=0|_[t+160>>2],o[c+(u<<5)>>1]=0|o[h+(R<<4)>>1],o[c+(u<<5)+2>>1]=0|o[h+(R<<4)+2>>1],o[c+(u<<5)+4>>1]=0|o[h+(R<<4)+4>>1],o[c+(u<<5)+6>>1]=0|o[h+(R<<4)+6>>1],o[c+(u<<5)+8>>1]=0|o[h+(R<<4)+8>>1],o[c+(u<<5)+10>>1]=0|o[h+(R<<4)+10>>1],_[c+(u<<5)+12>>2]=R,_[c+(u<<5)+16>>2]=C,c=t+152|0}else c=t+152|0;_[t+168>>2]=_[c>>2],c=0|n[t+60|0]}return c<<24>>24?(_[(0|_[t+136>>2])+(F<<4)+12>>2]=0-v,void(Q=r)):(_[(0|_[t+96>>2])+(F<<6)+32>>2]=v,void(Q=r))}function gi(t,e,i,o,s,c,a){t|=0,e|=0,i|=0,o|=0,s|=0,a|=0;var b,d,A,f,u,m,h,y,g,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0,O=0,x=0,T=0,P=0,V=0,M=0,G=0,L=0;b=Q,Q=Q+9824|0,k=36+(w=c|=0)|0;do{_[w>>2]=0,w=w+4|0}while((0|w)<(0|k));switch(_[b+9680>>2]=t,_[b+9680+4>>2]=i,W=+p[o>>2],V=+p[e>>2],B=+p[o+16>>2],P=+p[e+16>>2],g=+p[o+32>>2],T=+p[e+32>>2],x=+p[e+4>>2],O=+p[e+20>>2],F=+p[e+36>>2],u=+p[e+8>>2],A=+p[e+24>>2],C=+p[e+40>>2],y=+p[o+4>>2],h=+p[o+20>>2],m=+p[o+36>>2],f=+p[o+8>>2],d=+p[o+24>>2],v=+p[o+40>>2],p[b+9680+8>>2]=W*V+B*P+g*T,p[b+9680+12>>2]=W*x+B*O+g*F,p[b+9680+16>>2]=W*u+B*A+g*C,p[b+9680+20>>2]=0,p[b+9680+24>>2]=V*y+P*h+T*m,p[b+9680+28>>2]=x*y+O*h+F*m,p[b+9680+32>>2]=u*y+A*h+C*m,p[b+9680+36>>2]=0,p[b+9680+40>>2]=V*f+P*d+T*v,p[b+9680+44>>2]=x*f+O*d+F*v,p[b+9680+48>>2]=u*f+A*d+C*v,p[b+9680+52>>2]=0,G=+p[o+48>>2]-+p[e+48>>2],M=+p[o+52>>2]-+p[e+52>>2],R=+p[o+56>>2]-+p[e+56>>2],S=G*+p[e>>2]+M*+p[e+16>>2]+R*+p[e+32>>2],j=G*+p[e+4>>2]+M*+p[e+20>>2]+R*+p[e+36>>2],R=G*+p[e+8>>2]+M*+p[e+24>>2]+R*+p[e+40>>2],p[b+9680+56>>2]=W*V+B*P+g*T,p[b+9680+60>>2]=V*y+P*h+T*m,p[b+9680+64>>2]=V*f+P*d+T*v,p[b+9680+68>>2]=0,p[b+9680+72>>2]=W*x+B*O+g*F,p[b+9680+76>>2]=x*y+O*h+F*m,p[b+9680+80>>2]=x*f+O*d+F*v,p[b+9680+84>>2]=0,p[b+9680+88>>2]=W*u+B*A+g*C,p[b+9680+92>>2]=u*y+A*h+C*m,p[b+9680+96>>2]=u*f+A*d+C*v,p[b+9680+100>>2]=0,p[b+9680+104>>2]=S,p[b+9680+108>>2]=j,p[b+9680+112>>2]=R,p[b+9680+116>>2]=0,_[b+9680+120>>2]=a?82:81,_[b+9680+124>>2]=0,_[b+9296+364>>2]=0,_[b+9296+128>>2]=0,_[b+9296+128+4>>2]=0,_[b+9296+128+8>>2]=0,_[b+9296+128+12>>2]=0,_[b+9296+376>>2]=2,_[b+9296+368>>2]=0,p[b+9296+144>>2]=0,R=-+p[s+4>>2],j=-+p[s+8>>2],p[b+9808>>2]=-+p[s>>2],p[b+9808+4>>2]=R,p[b+9808+8>>2]=j,p[b+9808+12>>2]=0,0|Ci(b+9296|0,b+9680|0,b+9808|0)){case 1:_[b+9280>>2]=0,_[b+9280+4>>2]=0,_[b+9280+8>>2]=0,_[b+9280+12>>2]=0,_[b>>2]=9,_[b+9276>>2]=0,_[b+40>>2]=0,_[b+40+4>>2]=0,_[b+40+8>>2]=0,_[b+40+12>>2]=0,_[b+40+16>>2]=0,t=0;do{_[b+2108+(56*(i=128-t-1|0)|0)+44>>2]=0,o=0|_[b+9288>>2],_[b+2108+(56*i|0)+48>>2]=o,0|o&&(_[o+44>>2]=b+2108+(56*i|0)),_[b+9288>>2]=b+2108+(56*i|0),t=t+1|0}while(128!=(0|t));_[b+9292>>2]=128,S=+p[s>>2],R=+p[s+4>>2],v=+p[s+8>>2],D=0|_[b+9296+372>>2];do{if((0|_[D+32>>2])>>>0>1&&0|Di(b+9296|0)){if(0|(t=0|_[b+9280>>2])){w=0|_[b+9284>>2],k=0|_[b+9292>>2];do{i=t+44|0,0|(o=0|_[(a=t+48|0)>>2])&&(_[o+44>>2]=_[i>>2]),0|(i=0|_[i>>2])&&(_[i+48>>2]=_[a>>2]),(0|_[b+9280>>2])==(0|t)&&(_[b+9280>>2]=_[a>>2]),w=w+-1|0,_[t+44>>2]=0,_[a>>2]=_[b+9288>>2],0|(i=0|_[b+9288>>2])&&(_[i+44>>2]=t),_[b+9288>>2]=t,k=k+1|0,t=0|_[b+9280>>2]}while(0|t);_[b+9284>>2]=w,_[b+9292>>2]=k}if(_[b>>2]=0,_[b+9276>>2]=0,t=0|_[D>>2],i=0|_[D+12>>2],G=+p[i+16>>2],W=+p[t+16>>2]-G,O=+p[i+20>>2],x=+p[t+20>>2]-O,P=+p[i+24>>2],V=+p[t+24>>2]-P,i=0|_[D+4>>2],T=+p[i+16>>2]-G,M=+p[i+20>>2]-O,F=+p[i+24>>2]-P,o=0|_[D+8>>2],G=+p[o+16>>2]-G,O=+p[o+20>>2]-O,W*M*(P=+p[o+24>>2]-P)+(x*F*G+V*T*O-W*F*O-x*T*P)-V*M*G<0?(_[D>>2]=i,_[D+4>>2]=t,a=0|_[D+16>>2],_[D+16>>2]=_[D+20>>2],_[D+20>>2]=a,a=i):(a=t,t=i),a=0|_i(b,a,t,o,1),w=0|_i(b,0|_[D+4>>2],0|_[D>>2],0|_[D+12>>2],1),k=0|_i(b,0|_[D+8>>2],0|_[D+4>>2],0|_[D+12>>2],1),s=0|_i(b,0|_[D>>2],0|_[D+8>>2],0|_[D+12>>2],1),4==(0|_[b+9284>>2])){if(i=0|_[b+9280>>2],C=+p[i+16>>2],t=0|_[i+48>>2]){for(v=C*C;i=(o=(C=+p[t+16>>2])*C<v)?t:i,t=0|_[t+48>>2];)v=o?C*C:v;t=i,C=+p[i+16>>2]}else t=i;for(S=+p[t>>2],j=+p[t+4>>2],R=+p[t+8>>2],v=+p[t+12>>2],L=0|_[t+20>>2],i=0|_[t+24>>2],o=0|_[t+28>>2],n[a+52|0]=0,_[a+32>>2]=w,n[w+52|0]=0,_[w+32>>2]=a,n[a+53|0]=0,_[a+36>>2]=k,n[k+52|0]=1,_[k+32>>2]=a,n[a+54|0]=0,_[a+40>>2]=s,n[s+52|0]=2,_[s+32>>2]=a,n[w+53|0]=2,_[w+36>>2]=s,n[s+54|0]=1,_[s+40>>2]=w,n[w+54|0]=1,_[w+40>>2]=k,n[k+53|0]=2,_[k+36>>2]=w,n[k+54|0]=1,_[k+40>>2]=s,n[s+53|0]=2,_[s+36>>2]=k,_[b>>2]=0,s=t,D=0,w=L,k=i,a=o;;){if((i=0|_[b+9276>>2])>>>0>=64){I=45;break}if(_[b+9808>>2]=0,_[b+9808+4>>2]=0,_[b+9808+8>>2]=0,_[b+9276>>2]=i+1,D=D+1|0,n[s+55|0]=D,o=s+4|0,L=s+8|0,Xt(b+9296|0,+p[s>>2],+p[o>>2],+p[L>>2],b+60+(i<<5)|0),!(+p[s>>2]*+p[b+60+(i<<5)+16>>2]+ +p[o>>2]*+p[b+60+(i<<5)+20>>2]+ +p[L>>2]*+p[b+60+(i<<5)+24>>2]-+p[s+16>>2]>9999999747378752e-20)){t=7,I=44;break}t=0;do{o=0|Et(b,D,b+60+(i<<5)|0,0|_[s+32+(t<<2)>>2],0|r[s+52+t|0],b+9808|0),t=t+1|0}while(o&t>>>0<3);if(!(o&(0|_[b+9808+8>>2])>>>0>2)){t=4,I=44;break}if(o=0|_[b+9808>>2],t=0|_[b+9808+4>>2],n[o+53|0]=2,_[o+36>>2]=t,n[t+54|0]=1,_[t+40>>2]=o,t=s+44|0,0|(i=0|_[(o=s+48|0)>>2])&&(_[i+44>>2]=_[t>>2]),0|(t=0|_[t>>2])&&(_[t+48>>2]=_[o>>2]),(0|_[b+9280>>2])==(0|s)&&(_[b+9280>>2]=_[o>>2]),_[b+9284>>2]=(0|_[b+9284>>2])-1,_[s+44>>2]=0,_[o>>2]=_[b+9288>>2],0|(t=0|_[b+9288>>2])&&(_[t+44>>2]=s),_[b+9288>>2]=s,_[b+9292>>2]=1+(0|_[b+9292>>2]),i=0|_[b+9280>>2],C=+p[i+16>>2],t=0|_[i+48>>2]){for(v=C*C,o=i;o=(i=(C=+p[t+16>>2])*C<v)?t:o,t=0|_[t+48>>2];)v=i?C*C:v;i=o,C=+p[o+16>>2]}if(S=+p[i>>2],j=+p[i+4>>2],R=+p[i+8>>2],v=+p[i+12>>2],t=0|_[i+20>>2],o=0|_[i+24>>2],a=0|_[i+28>>2],D>>>0>=255){i=a;break}s=i,w=t,k=o}if(44==(0|I)?(_[b>>2]=t,t=w,o=k,i=a):45==(0|I)&&(_[b>>2]=6,t=w,o=k,i=a),T=S*C,O=j*C,G=R*C,p[b+40>>2]=S,p[b+44>>2]=j,p[b+48>>2]=R,p[b+52>>2]=v,p[b+56>>2]=C,_[b+36>>2]=3,_[b+4>>2]=t,_[b+8>>2]=o,_[b+12>>2]=i,P=+p[(L=o)+16>>2]-T,W=+p[L+20>>2]-O,x=+p[L+24>>2]-G,B=+p[(D=i)+16>>2]-T,F=+p[D+20>>2]-O,V=+p[D+24>>2]-G,V=+l(+((P*F-W*B)*(P*F-W*B)+((W*V-x*F)*(W*V-x*F)+(x*B-P*V)*(x*B-P*V)))),p[b+20>>2]=V,P=+p[D+16>>2]-T,B=+p[D+20>>2]-O,x=+p[D+24>>2]-G,F=+p[(D=t)+16>>2]-T,W=+p[D+20>>2]-O,M=+p[D+24>>2]-G,M=+l(+((P*W-B*F)*(P*W-B*F)+((B*M-x*W)*(B*M-x*W)+(x*F-P*M)*(x*F-P*M)))),p[b+24>>2]=M,P=+p[D+16>>2]-T,F=+p[D+20>>2]-O,x=+p[D+24>>2]-G,T=+p[L+16>>2]-T,O=+p[L+20>>2]-O,G=+p[L+24>>2]-G,G=+l(+((P*O-F*T)*(P*O-F*T)+((F*G-x*O)*(F*G-x*O)+(x*T-P*G)*(x*T-P*G)))),p[b+20>>2]=V/(V+M+G),p[b+24>>2]=M/(V+M+G),p[b+28>>2]=G/(V+M+G),9!=(0|_[b>>2])){if(0|_[b+36>>2]){a=b+36|0,I=54;break}S=0,v=0,C=0;break}return _[c>>2]=3,Q=b,0|(L=0)}I=48}else I=48}while(0);if(48==(0|I)&&(_[b>>2]=8,p[b+40>>2]=S,p[b+44>>2]=R,p[b+48>>2]=v,p[b+52>>2]=0,(C=+l(+(S*S+R*R+v*v)))>0?(p[b+40>>2]=1/C*S,p[b+44>>2]=1/C*R,p[b+48>>2]=1/C*v):(_[b+40>>2]=1065353216,_[b+44>>2]=0,_[b+48>>2]=0),p[b+52>>2]=0,p[b+56>>2]=0,_[b+36>>2]=1,_[b+4>>2]=_[D>>2],p[b+20>>2]=1,a=b+36|0,I=54),54==(0|I)){o=0,C=0,v=0,S=0;do{t=0|_[b+9680+120>>2],L=0|_[b+9680+124>>2],i=(0|_[b+9680>>2])+(L>>1)|0,1&L&&(t=0|_[(0|_[i>>2])+t>>2]),rd[127&t](b+9808|0,i,0|_[b+4+(o<<2)>>2]),G=+p[b+20+(o<<2)>>2],C+=+p[b+9808>>2]*G,v+=G*+p[b+9808+4>>2],S+=G*+p[b+9808+8>>2],o=o+1|0}while(o>>>0<(0|_[a>>2])>>>0)}return _[c>>2]=1,G=C*+p[e+16>>2]+v*+p[e+20>>2]+S*+p[e+24>>2]+ +p[e+52>>2],P=C*+p[e+32>>2]+v*+p[e+36>>2]+S*+p[e+40>>2]+ +p[e+56>>2],p[c+4>>2]=C*+p[e>>2]+v*+p[e+4>>2]+S*+p[e+8>>2]+ +p[e+48>>2],p[c+8>>2]=G,p[c+12>>2]=P,p[c+16>>2]=0,P=+p[b+40>>2],F=v-(G=+p[b+56>>2])*(V=+p[b+44>>2]),O=S-G*(M=+p[b+48>>2]),x=(W=C-P*G)*+p[e+16>>2]+F*+p[e+20>>2]+O*+p[e+24>>2]+ +p[e+52>>2],T=W*+p[e+32>>2]+F*+p[e+36>>2]+O*+p[e+40>>2]+ +p[e+56>>2],p[c+20>>2]=W*+p[e>>2]+F*+p[e+4>>2]+O*+p[e+8>>2]+ +p[e+48>>2],p[c+24>>2]=x,p[c+28>>2]=T,p[c+32>>2]=0,p[c+36>>2]=-P,p[c+40>>2]=-V,p[c+44>>2]=-M,p[c+48>>2]=0,p[c+52>>2]=-G,Q=b,0|(L=1);case 2:return _[c>>2]=2,Q=b,0|(L=0);default:return Q=b,0|(L=0)}return 0}function Ci(t,e,i){e|=0,i|=0;var n,o=0,r=0,s=0,c=0,b=0,d=0,A=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0,O=0,x=0,T=0,P=0;n=Q,Q=Q+112|0,_[348+(t|=0)>>2]=t+220,_[t+352>>2]=t+252,_[t+356>>2]=t+284,_[t+360>>2]=t+316,_[t+364>>2]=4,_[t+368>>2]=0,_[t+376>>2]=0,W=0|_[e+4>>2],_[t>>2]=_[e>>2],_[t+4>>2]=W,_[t+8>>2]=_[e+8>>2],_[t+8+4>>2]=_[e+8+4>>2],_[t+8+8>>2]=_[e+8+8>>2],_[t+8+12>>2]=_[e+8+12>>2],_[t+24>>2]=_[e+24>>2],_[t+24+4>>2]=_[e+24+4>>2],_[t+24+8>>2]=_[e+24+8>>2],_[t+24+12>>2]=_[e+24+12>>2],_[t+40>>2]=_[e+40>>2],_[t+40+4>>2]=_[e+40+4>>2],_[t+40+8>>2]=_[e+40+8>>2],_[t+40+12>>2]=_[e+40+12>>2],_[t+56>>2]=_[e+56>>2],_[t+56+4>>2]=_[e+56+4>>2],_[t+56+8>>2]=_[e+56+8>>2],_[t+56+12>>2]=_[e+56+12>>2],_[t+72>>2]=_[e+72>>2],_[t+72+4>>2]=_[e+72+4>>2],_[t+72+8>>2]=_[e+72+8>>2],_[t+72+12>>2]=_[e+72+12>>2],_[t+88>>2]=_[e+88>>2],_[t+88+4>>2]=_[e+88+4>>2],_[t+88+8>>2]=_[e+88+8>>2],_[t+88+12>>2]=_[e+88+12>>2],_[t+104>>2]=_[e+104>>2],_[t+104+4>>2]=_[e+104+4>>2],_[t+104+8>>2]=_[e+104+8>>2],_[t+104+12>>2]=_[e+104+12>>2],W=0|_[e+124>>2],_[t+120>>2]=_[e+120>>2],_[t+124>>2]=W,p[t+144>>2]=0,_[t+180>>2]=0,_[t+128>>2]=_[i>>2],_[t+128+4>>2]=_[i+4>>2],_[t+128+8>>2]=_[i+8>>2],_[t+128+12>>2]=_[i+12>>2],(o=+p[t+128>>2])*o+(r=+p[t+132>>2])*r+(s=+p[t+136>>2])*s>0?(p[t+164>>2]=0,_[t+364>>2]=3,_[t+148>>2]=t+316,_[t+180>>2]=1,Xt(t,-o,-r,-s,t+316|0),e=t+148|0,i=t+164|0):(p[t+164>>2]=0,_[t+364>>2]=3,_[t+148>>2]=t+316,_[t+180>>2]=1,Xt(t,1,0,0,t+316|0),e=t+148|0,i=t+164|0),p[i>>2]=1,W=16+(0|_[e>>2])|0,_[t+128>>2]=_[W>>2],_[t+128+4>>2]=_[W+4>>2],_[t+128+8>>2]=_[W+8>>2],_[t+128+12>>2]=_[W+12>>2],_[n+16+48>>2]=_[W>>2],_[n+16+48+4>>2]=_[W+4>>2],_[n+16+48+8>>2]=_[W+8>>2],_[n+16+48+12>>2]=_[W+12>>2],_[n+16+32>>2]=_[W>>2],_[n+16+32+4>>2]=_[W+4>>2],_[n+16+32+8>>2]=_[W+8>>2],_[n+16+32+12>>2]=_[W+12>>2],_[n+16+16>>2]=_[W>>2],_[n+16+16+4>>2]=_[W+4>>2],_[n+16+16+8>>2]=_[W+8>>2],_[n+16+16+12>>2]=_[W+12>>2],_[n+16>>2]=_[W>>2],_[n+16+4>>2]=_[W+4>>2],_[n+16+8>>2]=_[W+8>>2],_[n+16+12>>2]=_[W+12>>2],W=0,F=0,o=o*o+r*r+s*s,B=0,I=0|_[t+368>>2],r=+p[t+128>>2],b=+p[t+132>>2],s=+p[t+136>>2];t:for(;;){if(e=1-I|0,u=t+148+(36*I|0)|0,(d=+l(+(r*r+b*b+s*s)))<9999999747378752e-20){T=6;break}if(c=0|_[(h=t+148+(36*I|0)+32|0)>>2],p[t+148+(36*I|0)+16+(c<<2)>>2]=0,i=(0|_[t+364>>2])-1|0,_[t+364>>2]=i,i=0|_[t+348+(i<<2)>>2],_[t+148+(36*I|0)+(c<<2)>>2]=i,_[h>>2]=c+1,Xt(t,-r,-b,-s,i),i=0|_[h>>2],c=0|_[t+148+(36*I|0)+(i+-1<<2)>>2],r=+p[c+16>>2],s=+p[c+20>>2],b=+p[c+24>>2],(R=r-+p[n+16>>2])*R+(j=s-+p[n+16+4>>2])*j+(D=b-+p[n+16+8>>2])*D<9999999747378752e-20){T=9;break}if((R=r-+p[n+16+16>>2])*R+(j=s-+p[n+16+20>>2])*j+(D=b-+p[n+16+24>>2])*D<9999999747378752e-20){T=9;break}if((R=r-+p[n+16+32>>2])*R+(j=s-+p[n+16+36>>2])*j+(D=b-+p[n+16+40>>2])*D<9999999747378752e-20){T=9;break}if((R=r-+p[n+16+48>>2])*R+(j=s-+p[n+16+52>>2])*j+(D=b-+p[n+16+56>>2])*D<9999999747378752e-20){T=9;break}if(_[(m=n+16+((B=B+1&3)<<4)|0)>>2]=_[c+16>>2],_[m+4>>2]=_[c+16+4>>2],_[m+8>>2]=_[c+16+8>>2],_[m+12>>2]=_[c+16+12>>2],d-(F=(D=(+p[t+128>>2]*r+ +p[t+132>>2]*s+ +p[t+136>>2]*b)/d)>F?D:F)-9999999747378752e-20*d<=0){T=10;break}_[n+80>>2]=0;e:do{switch(0|i){case 2:if(m=0|_[u>>2],u=0|_[t+148+(36*I|0)+4>>2],!(((o=+p[u+16>>2])-(r=+p[m+16>>2]))*(o-r)+((s=+p[u+20>>2])-(b=+p[m+20>>2]))*(s-b)+((d=+p[u+24>>2])-(A=+p[m+24>>2]))*(d-A)>0)){T=46;break t}if((f=-(r*(o-r)+b*(s-b)+A*(d-A))/((o-r)*(o-r)+(s-b)*(s-b)+(d-A)*(d-A)))>=1){p[n>>2]=0,p[n+4>>2]=1,_[n+80>>2]=2,o=o*o+s*s+d*d;break e}if(f<=0){p[n>>2]=1,p[n+4>>2]=0,_[n+80>>2]=1,o=r*r+b*b+A*A;break e}p[n+4>>2]=f,p[n>>2]=1-f,_[n+80>>2]=3,o=(A+(d-A)*f)*(A+(d-A)*f)+((r+(o-r)*f)*(r+(o-r)*f)+(b+(s-b)*f)*(b+(s-b)*f));break e;case 3:o=+Pe(16+(0|_[u>>2])|0,16+(0|_[t+148+(36*I|0)+4>>2])|0,16+(0|_[t+148+(36*I|0)+8>>2])|0,n,n+80|0);break;case 4:if(i=0|_[u>>2],c=0|_[t+148+(36*I|0)+4>>2],u=0|_[t+148+(36*I|0)+8>>2],m=0|_[t+148+(36*I|0)+12>>2],y=+p[i+16>>2],g=+p[m+16>>2],C=+p[i+20>>2],v=+p[m+20>>2],S=+p[i+24>>2],w=+p[m+24>>2],r=+p[c+16>>2],s=+p[c+20>>2],b=+p[c+24>>2],k=+p[u+16>>2],R=+p[u+20>>2],!((D=(y-g)*(s-v)*((j=+p[u+24>>2])-w)+((C-v)*(b-w)*(k-g)+(S-w)*(r-g)*(R-v)-(y-g)*(b-w)*(R-v)-(C-v)*(r-g)*(j-w))-(S-w)*(s-v)*(k-g))==D&!0&0!=D&D*(S*((C-s)*(r-k)-(y-r)*(s-R))+(y*((S-b)*(s-R)-(C-s)*(b-j))+C*((y-r)*(b-j)-(S-b)*(r-k))))<=0)){T=46;break t}_[n+88>>2]=0,_[n+88+4>>2]=0,_[n+88+8>>2]=0,_[n+84>>2]=0,D*(((C-v)*(b-w)-(S-w)*(s-v))*g+v*((S-w)*(r-g)-(y-g)*(b-w))+((y-g)*(s-v)-(C-v)*(r-g))*w)>0?(o=+Pe(i+16|0,c+16|0,m+16|0,n+88|0,n+84|0),P=0|_[n+84>>2],_[n+80>>2]=2&P|P<<1&8|1&P,_[n>>2]=_[n+88>>2],_[n+4>>2]=_[n+88+4>>2],p[n+8>>2]=0,_[n+12>>2]=_[n+88+8>>2],d=+p[m+16>>2],A=+p[m+20>>2],f=+p[m+24>>2]):(o=-1,d=g,A=v,f=w),D*(((s-v)*(j-w)-(b-w)*(R-v))*d+A*((b-w)*(k-g)-(j-w)*(r-g))+((R-v)*(r-g)-(s-v)*(k-g))*f)>0&&o<0|(O=+Pe(c+16|0,u+16|0,m+16|0,n+88|0,n+84|0))<o&&(_[n+80>>2]=_[n+84>>2]<<1&14,_[n+4>>2]=_[n+88>>2],_[n+8>>2]=_[n+88+4>>2],p[n>>2]=0,_[n+12>>2]=_[n+88+8>>2],o=O),D*(((R-v)*(S-w)-(j-w)*(C-v))*+p[m+16>>2]+ +p[m+20>>2]*((j-w)*(y-g)-(S-w)*(k-g))+((C-v)*(k-g)-(R-v)*(y-g))*+p[m+24>>2])>0&&o<0|(x=+Pe(u+16|0,i+16|0,m+16|0,n+88|0,n+84|0))<o&&(P=0|_[n+84>>2],_[n+80>>2]=P>>>1&1|P<<1&8|P<<2&4,_[n+8>>2]=_[n+88>>2],_[n>>2]=_[n+88+4>>2],p[n+4>>2]=0,_[n+12>>2]=_[n+88+8>>2],o=x),o<0&&(_[n+80>>2]=15,y=+p[u+20>>2],j=+p[c+24>>2],R=+p[m+16>>2],A=+p[u+24>>2],k=+p[c+16>>2],g=+p[m+20>>2],f=+p[u+16>>2],w=+p[m+24>>2],v=+p[c+20>>2],p[n>>2]=(y*j*R+A*k*g-g*(j*f)-y*k*w+w*(f*v)-R*(A*v))/D,o=+p[i+20>>2],C=+p[i+24>>2],S=+p[i+16>>2],p[n+4>>2]=(o*A*R+C*f*g-g*(A*S)-o*f*w+w*(S*y)-R*(C*y))/D,p[n+8>>2]=(v*C*R+j*S*g-g*(C*k)-v*S*w+w*(k*o)-R*(j*o))/D,p[n+12>>2]=1-((y*j*R+A*k*g-g*(j*f)-y*k*w+w*(f*v)-R*(A*v))/D+(o*A*R+C*f*g-g*(A*S)-o*f*w+w*(S*y)-R*(C*y))/D+(v*C*R+j*S*g-g*(C*k)-v*S*w+w*(k*o)-R*(j*o))/D),o=0)}}while(0);if(!(o>=0)){T=46;break}if(_[t+148+(36*e|0)+32>>2]=0,_[t+128>>2]=0,_[t+128+4>>2]=0,_[t+128+8>>2]=0,_[t+128+12>>2]=0,_[t+368>>2]=e,m=0|_[h>>2],h=0|_[n+80>>2],m){if(c=0|_[(i=t+148+(36*I|0)|0)>>2],1&h?(P=0|_[t+148+(36*e|0)+32>>2],_[t+148+(36*e|0)+(P<<2)>>2]=c,u=0|_[n>>2],_[t+148+(36*e|0)+32>>2]=P+1,_[t+148+(36*e|0)+16+(P<<2)>>2]=u,P=0|_[i>>2],_[a>>2]=u,r=+p[a>>2],b=+p[P+20>>2]*r,s=+p[P+24>>2]*r,r=+p[P+16>>2]*r+ +p[t+128>>2],p[t+128>>2]=r,b+=+p[t+132>>2],p[t+132>>2]=b,s+=+p[t+136>>2],p[t+136>>2]=s):(P=0|_[t+364>>2],_[t+364>>2]=P+1,_[t+348+(P<<2)>>2]=c,s=0,b=0,r=0),1!=(0|m)){u=1;do{c=0|_[(i=t+148+(36*I|0)+(u<<2)|0)>>2],h&1<<u?(P=0|_[t+148+(36*e|0)+32>>2],_[t+148+(36*e|0)+(P<<2)>>2]=c,c=0|_[n+(u<<2)>>2],_[t+148+(36*e|0)+32>>2]=P+1,_[t+148+(36*e|0)+16+(P<<2)>>2]=c,P=0|_[i>>2],_[a>>2]=c,r=+p[a>>2],b=+p[P+20>>2]*r,s=+p[P+24>>2]*r,r=+p[P+16>>2]*r+ +p[t+128>>2],p[t+128>>2]=r,b+=+p[t+132>>2],p[t+132>>2]=b,s+=+p[t+136>>2],p[t+136>>2]=s):(P=0|_[t+364>>2],_[t+364>>2]=P+1,_[t+348+(P<<2)>>2]=c),u=u+1|0}while((0|u)!=(0|m))}}else s=0,b=0,r=0;if(15==(0|h)&&(_[t+376>>2]=1),(W=W+1|0)>>>0>=128){T=45;break}if(0|(i=0|_[t+376>>2]))break;I=e}if(6==(0|T))_[t+376>>2]=1,e=I,T=48;else if(9==(0|T))e=0|_[t+368>>2],W=(0|_[t+148+(36*e|0)+32>>2])-1|0,_[t+148+(36*e|0)+32>>2]=W,W=0|_[t+148+(36*e|0)+(W<<2)>>2],P=0|_[t+364>>2],_[t+364>>2]=P+1,_[t+348+(P<<2)>>2]=W,T=48;else if(10==(0|T))e=0|_[t+368>>2],W=(0|_[t+148+(36*e|0)+32>>2])-1|0,_[t+148+(36*e|0)+32>>2]=W,W=0|_[t+148+(36*e|0)+(W<<2)>>2],P=0|_[t+364>>2],_[t+364>>2]=P+1,_[t+348+(P<<2)>>2]=W,T=48;else{if(45==(0|T))return _[t+376>>2]=2,_[t+372>>2]=t+148+(36*e|0),Q=n,0|(P=2);46==(0|T)&&(e=0|_[t+368>>2],W=(0|_[t+148+(36*e|0)+32>>2])-1|0,_[t+148+(36*e|0)+32>>2]=W,W=0|_[t+148+(36*e|0)+(W<<2)>>2],P=0|_[t+364>>2],_[t+364>>2]=P+1,_[t+348+(P<<2)>>2]=W,T=48)}switch(48==(0|T)&&(i=0|_[t+376>>2]),_[t+372>>2]=t+148+(36*e|0),0|i){case 0:return F=+p[t+128>>2],O=+p[t+132>>2],x=+p[t+136>>2],x=+l(+(F*F+O*O+x*x)),p[t+144>>2]=x,Q=n,0|(P=0);case 1:return p[t+144>>2]=0,Q=n,0|(P=1);default:return Q=n,0|(P=i)}return 0}function vi(t,e,i,o,r,s,c){t|=0,e|=0,i|=0,o|=0,r=+r,s=+s,c|=0;var a,b,d=0,l=0,A=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0,O=0,x=0,T=0,P=0,V=0,M=0,G=0,L=0,N=0,E=0,H=0,Z=0,U=0,Y=0,J=0,X=0,z=0,K=0,q=0,$=0,tt=0,et=0;if(b=Q,Q=Q+48|0,n[b+16+16|0]=1,_[(a=b+16+12|0)>>2]=0,_[b+16+4>>2]=0,_[b+16+8>>2]=0,(0|(u=0|_[o+4>>2]))>0){if(_[6630]=1+(0|_[6630]),(d=0|di(16+(u<<4|3)|0))?(_[(d+4+15&-16)-4>>2]=d,f=d+4+15&-16):f=0,(0|(A=0|_[b+16+4>>2]))>0){d=0;do{X=f+(d<<4)|0,J=(0|_[a>>2])+(d<<4)|0,_[X>>2]=_[J>>2],_[X+4>>2]=_[J+4>>2],_[X+8>>2]=_[J+8>>2],_[X+12>>2]=_[J+12>>2],d=d+1|0}while((0|d)!=(0|A))}0|(d=0|_[a>>2])&&(0|n[b+16+16|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[d+-4>>2])),_[a>>2]=0),n[b+16+16|0]=1,_[a>>2]=f,_[b+16+8>>2]=u}if((0|(A=0|_[e+28>>2]))>0){for(X=0|_[e+36>>2],w=+p[i>>2],S=+p[i+4>>2],g=+p[i+8>>2],v=+p[i+16>>2],y=+p[i+20>>2],h=+p[i+24>>2],C=+p[i+32>>2],m=+p[i+36>>2],l=+p[i+40>>2],R=+p[t>>2],j=+p[t+4>>2],D=+p[t+8>>2],J=-1,k=34028234663852886e22,d=0;J=(f=((I=+p[X+(36*d|0)+20>>2])*w+(B=+p[X+(36*d|0)+24>>2])*S+(W=+p[X+(36*d|0)+28>>2])*g)*R+(I*v+B*y+W*h)*j+(I*C+B*m+W*l)*D<k)?d:J,(0|(d=d+1|0))!=(0|A);)k=f?(I*w+B*S+W*g)*R+(I*v+B*y+W*h)*j+(I*C+B*m+W*l)*D:k;if((0|J)>=0){if((0|(M=0|_[X+(36*J|0)+4>>2]))>0){for(G=X+(36*J|0)+12|0,L=X+(36*J|0)+20|0,N=X+(36*J|0)+24|0,E=X+(36*J|0)+28|0,d=0,V=b+16|0,P=o;;){if(x=0|_[G>>2],O=0|_[x+(d<<2)>>2],o=0|_[e+16>>2],x=0|_[x+(((0|(T=d+1|0))==(0|M)?0:T)<<2)>>2],R=(q=(K=+p[o+(O<<4)>>2])-+p[o+(x<<4)>>2])*w+($=(z=+p[o+(O<<4)+4>>2])-+p[o+(x<<4)+4>>2])*S+(D=(k=+p[o+(O<<4)+8>>2])-+p[o+(x<<4)+8>>2])*g,j=q*v+$*y+D*h,D=q*C+$*m+D*l,I=w*($=+p[L>>2])+S*(q=+p[N>>2])+g*(W=+p[E>>2]),B=v*$+y*q+h*W,W=C*$+m*q+l*W,k=(K*w+z*S+k*g+ +p[i+48>>2])*-(j*W-D*B)+(K*v+z*y+k*h+ +p[i+52>>2])*-(D*I-R*W)+(K*C+z*m+k*l+ +p[i+56>>2])*-(R*B-j*I),o=V,(0|(d=0|_[(x=P)+4>>2]))>=2){for(f=0|_[x+12>>2],A=0,l=(m=+p[f+(d+-1<<4)>>2])*-(j*W-D*B)+(h=+p[f+(d+-1<<4)+4>>2])*-(D*I-R*W)+(y=+p[f+(d+-1<<4)+8>>2])*-(R*B-j*I)-k;;){v=+p[f+(A<<4)>>2],S=+p[f+(A<<4)+4>>2],w=+p[f+(A<<4)+8>>2],O=0|_[f+(A<<4)+12>>2],C=v*-(j*W-D*B)+S*-(D*I-R*W)+w*-(R*B-j*I)-k;do{if(l<0){if(C<0){if((0|(u=0|_[o+4>>2]))==(0|_[o+8>>2])&&(0|u)<(0|(H=0|u?u<<1:1))){if(H?(_[6630]=1+(0|_[6630]),(f=0|di(16+(H<<4|3)|0))?(_[(f+4+15&-16)-4>>2]=f,f=f+4+15&-16):f=0,u=0|_[o+4>>2]):f=0,(0|u)>0){F=0;do{tt=f+(F<<4)|0,et=(0|_[o+12>>2])+(F<<4)|0,_[tt>>2]=_[et>>2],_[tt+4>>2]=_[et+4>>2],_[tt+8>>2]=_[et+8>>2],_[tt+12>>2]=_[et+12>>2],F=F+1|0}while((0|F)!=(0|u))}0|(u=0|_[o+12>>2])&&(0|n[o+16|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[u+-4>>2])),_[o+12>>2]=0),n[o+16|0]=1,_[o+12>>2]=f,_[o+8>>2]=H,f=0|_[o+4>>2]}else f=u;F=0|_[o+12>>2],p[F+(f<<4)>>2]=v,p[F+(f<<4)+4>>2]=S,p[F+(f<<4)+8>>2]=w,_[F+(f<<4)+12>>2]=O,F=83;break}if(g=m+(v-m)*(l/=l-C),m=h+(S-h)*l,l=y+(w-y)*l,(0|(u=0|_[o+4>>2]))==(0|_[o+8>>2])&&(0|u)<(0|(Z=0|u?u<<1:1))){if(Z?(_[6630]=1+(0|_[6630]),(f=0|di(16+(Z<<4|3)|0))?(_[(f+4+15&-16)-4>>2]=f,f=f+4+15&-16):f=0,u=0|_[o+4>>2]):f=0,(0|u)>0){F=0;do{et=f+(F<<4)|0,tt=(0|_[o+12>>2])+(F<<4)|0,_[et>>2]=_[tt>>2],_[et+4>>2]=_[tt+4>>2],_[et+8>>2]=_[tt+8>>2],_[et+12>>2]=_[tt+12>>2],F=F+1|0}while((0|F)!=(0|u))}0|(u=0|_[o+12>>2])&&(0|n[o+16|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[u+-4>>2])),_[o+12>>2]=0),n[o+16|0]=1,_[o+12>>2]=f,_[o+8>>2]=Z,f=0|_[o+4>>2]}else f=u;F=0|_[o+12>>2],p[F+(f<<4)>>2]=g,p[F+(f<<4)+4>>2]=m,p[F+(f<<4)+8>>2]=l,p[F+(f<<4)+12>>2]=0,F=83;break}if(C<0){if(g=m+(v-m)*(l/=l-C),m=h+(S-h)*l,l=y+(w-y)*l,(0|(u=0|_[o+4>>2]))==(0|_[o+8>>2])&&(0|u)<(0|(U=0|u?u<<1:1))){if(U?(_[6630]=1+(0|_[6630]),(f=0|di(16+(U<<4|3)|0))?(_[(f+4+15&-16)-4>>2]=f,f=f+4+15&-16):f=0,u=0|_[o+4>>2]):f=0,(0|u)>0){F=0;do{et=f+(F<<4)|0,tt=(0|_[o+12>>2])+(F<<4)|0,_[et>>2]=_[tt>>2],_[et+4>>2]=_[tt+4>>2],_[et+8>>2]=_[tt+8>>2],_[et+12>>2]=_[tt+12>>2],F=F+1|0}while((0|F)!=(0|u))}0|(u=0|_[o+12>>2])&&(0|n[o+16|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[u+-4>>2])),_[o+12>>2]=0),n[o+16|0]=1,_[o+12>>2]=f,_[o+8>>2]=U,f=0|_[o+4>>2]}else f=u;if(u=0|_[o+12>>2],p[u+(f<<4)>>2]=g,p[u+(f<<4)+4>>2]=m,p[u+(f<<4)+8>>2]=l,p[u+(f<<4)+12>>2]=0,u=1+(0|_[o+4>>2])|0,_[o+4>>2]=u,(0|u)==(0|_[o+8>>2])&&(0|u)<(0|(Y=0|u?u<<1:1))){if(Y?(_[6630]=1+(0|_[6630]),(f=0|di(16+(Y<<4|3)|0))?(_[(f+4+15&-16)-4>>2]=f,f=f+4+15&-16):f=0,u=0|_[o+4>>2]):f=0,(0|u)>0){F=0;do{et=f+(F<<4)|0,tt=(0|_[o+12>>2])+(F<<4)|0,_[et>>2]=_[tt>>2],_[et+4>>2]=_[tt+4>>2],_[et+8>>2]=_[tt+8>>2],_[et+12>>2]=_[tt+12>>2],F=F+1|0}while((0|F)!=(0|u))}0|(u=0|_[o+12>>2])&&(0|n[o+16|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[u+-4>>2])),_[o+12>>2]=0),n[o+16|0]=1,_[o+12>>2]=f,_[o+8>>2]=Y,f=0|_[o+4>>2]}else f=u;F=0|_[o+12>>2],p[F+(f<<4)>>2]=v,p[F+(f<<4)+4>>2]=S,p[F+(f<<4)+8>>2]=w,_[F+(f<<4)+12>>2]=O,F=83}}while(0);if(83==(0|F)&&(F=0,_[o+4>>2]=1+(0|_[o+4>>2])),(0|(A=A+1|0))==(0|d))break;l=C,m=v,y=w,h=S,f=0|_[x+12>>2]}d=0|_[x+4>>2]}if((0|d)<0){(0|_[x+8>>2])<0&&(0|(A=0|_[x+12>>2])&&(0|n[x+16|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[A+-4>>2])),_[x+12>>2]=0),n[x+16|0]=1,_[x+12>>2]=0,_[x+8>>2]=0);do{et=(0|_[x+12>>2])+(d<<4)|0,_[et>>2]=_[b>>2],_[et+4>>2]=_[b+4>>2],_[et+8>>2]=_[b+8>>2],_[et+12>>2]=_[b+12>>2],d=d+1|0}while(0|d)}if(_[x+4>>2]=0,(0|T)>=(0|M))break;et=P,d=T,w=+p[i>>2],S=+p[i+4>>2],g=+p[i+8>>2],v=+p[i+16>>2],y=+p[i+20>>2],h=+p[i+24>>2],C=+p[i+32>>2],m=+p[i+36>>2],l=+p[i+40>>2],P=V,V=et}f=L,A=N,d=E,u=i+48|0,F=i+52|0,O=i+56|0,x=o+4|0,w=+p[i>>2],S=+p[i+4>>2],g=+p[i+8>>2],v=+p[i+16>>2],y=+p[i+20>>2],h=+p[i+24>>2],C=+p[i+32>>2],m=+p[i+36>>2],l=+p[i+40>>2]}else f=X+(36*J|0)+20|0,A=X+(36*J|0)+24|0,d=X+(36*J|0)+28|0,u=i+48|0,F=i+52|0,O=i+56|0,x=o+4|0;if(g=(K=+p[f>>2])*w+(q=+p[A>>2])*S+($=+p[d>>2])*g,y=K*v+q*y+$*h,h=K*C+q*m+$*l,m=+p[X+(36*J|0)+32>>2]-(g*+p[u>>2]+y*+p[F>>2]+h*+p[O>>2]),(0|(d=0|_[x>>2]))>0){u=o+12|0,f=0;do{et=0|_[u>>2],(l=(l=m+(g*+p[(A=et+(f<<4)|0)>>2]+y*+p[et+(f<<4)+4>>2]+h*+p[et+(f<<4)+8>>2]))<=r?r:l)<=s&&(_[b>>2]=_[A>>2],_[b+4>>2]=_[A+4>>2],_[b+8>>2]=_[A+8>>2],_[b+12>>2]=_[A+12>>2],sd[15&_[16+(0|_[c>>2])>>2]](c,t,b,l),d=0|_[x>>2]),f=f+1|0}while((0|f)<(0|d))}}}(d=0|_[a>>2])?(0|n[b+16+16|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[d+-4>>2])),_[a>>2]=0,Q=b):Q=b}function Si(t,e,i,o,r){e|=0,i|=0,o|=0,r|=0;var s,c,a,b,d,A,f,u,m,h=0,y=0,g=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0,O=0,x=0,T=0,P=0,V=0,M=0,G=0,L=0,N=0,E=0,H=0,Z=0;m=Q,Q=Q+208|0,p[56+(t|=0)>>2]=0,s=m+192+4|0,c=m+192+8|0,_[m+192>>2]=0,_[m+192+4>>2]=0,_[m+192+8>>2]=0,_[m+192+12>>2]=0,_[m+128>>2]=_[e>>2],_[m+128+4>>2]=_[e+4>>2],_[m+128+8>>2]=_[e+8>>2],_[m+128+12>>2]=_[e+12>>2],_[m+128+16>>2]=_[e+16>>2],_[m+128+16+4>>2]=_[e+16+4>>2],_[m+128+16+8>>2]=_[e+16+8>>2],_[m+128+16+12>>2]=_[e+16+12>>2],_[m+128+32>>2]=_[e+32>>2],_[m+128+32+4>>2]=_[e+32+4>>2],_[m+128+32+8>>2]=_[e+32+8>>2],_[m+128+32+12>>2]=_[e+32+12>>2],_[(M=m+128+48|0)>>2]=_[e+48>>2],_[M+4>>2]=_[e+48+4>>2],_[M+8>>2]=_[e+48+8>>2],_[M+12>>2]=_[e+48+12>>2],_[m+64>>2]=_[e+64>>2],_[m+64+4>>2]=_[e+64+4>>2],_[m+64+8>>2]=_[e+64+8>>2],_[m+64+12>>2]=_[e+64+12>>2],_[m+64+16>>2]=_[e+80>>2],_[m+64+16+4>>2]=_[e+80+4>>2],_[m+64+16+8>>2]=_[e+80+8>>2],_[m+64+16+12>>2]=_[e+80+12>>2],_[m+64+32>>2]=_[e+96>>2],_[m+64+32+4>>2]=_[e+96+4>>2],_[m+64+32+8>>2]=_[e+96+8>>2],_[m+64+32+12>>2]=_[e+96+12>>2],_[(G=m+64+48|0)>>2]=_[e+112>>2],_[G+4>>2]=_[e+112+4>>2],_[G+8>>2]=_[e+112+8>>2],_[G+12>>2]=_[e+112+12>>2],a=+p[M>>2],b=+p[G>>2],d=+p[m+128+52>>2],A=+p[m+64+52>>2],f=+p[m+128+56>>2],u=+p[m+64+56>>2],p[M>>2]=a-.5*(a+b),p[m+128+52>>2]=d-.5*(d+A),p[m+128+56>>2]=f-.5*(f+u),p[G>>2]=b-.5*(a+b),p[m+64+52>>2]=A-.5*(d+A),p[m+64+56>>2]=u-.5*(f+u),M=((0|_[4+(0|_[t+28>>2])>>2])-17|0)>>>0<2?((0|_[4+(0|_[t+32>>2])>>2])-17|0)>>>0<2:0,B=+p[t+44>>2],I=+p[t+48>>2],_[6615]=1+(0|_[6615]),G=0|n[t+52|0],_[t+64>>2]=0,_[t+4>>2]=0,_[t+8>>2]=1065353216,_[t+12>>2]=0,p[t+16>>2]=0,_[t+68>>2]=0,_[t+60>>2]=-1,v=0|_[t+24>>2],n[v+312|0]=0,_[v>>2]=0,n[v+356|0]=1,_[v+292>>2]=1566444395,_[v+296>>2]=1566444395,_[v+300>>2]=1566444395,p[v+304>>2]=0,_[v+336>>2]=0,_[v+336+4>>2]=0,_[v+336+8>>2]=0,_[v+336+12>>2]=0,n[v+336+16|0]=0,n[v+332|0]=-16&n[v+332|0],v=0,C=0xde0b6b000000000;do{S=+p[t+4>>2],g=+p[t+8>>2],y=+p[t+12>>2],j=+p[e+4>>2]*-S+ +p[e+20>>2]*-g+ +p[e+36>>2]*-y,D=+p[e+8>>2]*-S+ +p[e+24>>2]*-g+ +p[e+40>>2]*-y,p[m+48>>2]=+p[e>>2]*-S+ +p[e+16>>2]*-g+ +p[e+32>>2]*-y,p[m+48+4>>2]=j,p[m+48+8>>2]=D,p[m+48+12>>2]=0,D=S*+p[e+68>>2]+g*+p[e+84>>2]+y*+p[e+100>>2],j=S*+p[e+72>>2]+g*+p[e+88>>2]+y*+p[e+104>>2],p[m+32>>2]=S*+p[e+64>>2]+g*+p[e+80>>2]+y*+p[e+96>>2],p[m+32+4>>2]=D,p[m+32+8>>2]=j,p[m+32+12>>2]=0,ye(m+16|0,0|_[t+28>>2],m+48|0),ye(m,0|_[t+32>>2],m+32|0),j=+p[m+16>>2],D=+p[m+16+4>>2],y=+p[m+16+8>>2],g=j*+p[m+128>>2]+D*+p[m+128+4>>2]+y*+p[m+128+8>>2]+ +p[m+128+48>>2],S=j*+p[m+128+16>>2]+D*+p[m+128+20>>2]+y*+p[m+128+24>>2]+ +p[m+128+52>>2],y=j*+p[m+128+32>>2]+D*+p[m+128+36>>2]+y*+p[m+128+40>>2]+ +p[m+128+56>>2],D=+p[m>>2],j=+p[m+4>>2],R=+p[m+8>>2],w=D*+p[m+64>>2]+j*+p[m+64+4>>2]+R*+p[m+64+8>>2]+ +p[m+64+48>>2],k=D*+p[m+64+16>>2]+j*+p[m+64+20>>2]+R*+p[m+64+24>>2]+ +p[m+64+52>>2],R=D*+p[m+64+32>>2]+j*+p[m+64+36>>2]+R*+p[m+64+40>>2]+ +p[m+64+56>>2],j=M?0:R,D=M?0:y,R=M?0:y-R,(y=(g-w)*+p[t+4>>2]+(S-k)*+p[t+8>>2]+R*+p[t+12>>2])>0&&y*y>C*+p[e+128>>2]?(_[t+68>>2]=10,r=0,v=1):Z=7;do{if(7==(0|Z)){if(Z=0,P=0|_[t+24>>2],(0|(V=0|_[P>>2]))>0){h=+p[P+308>>2],T=0,r=0;do{r|=(F=g-w-+p[P+4+(T<<4)>>2])*F+(O=S-k-+p[P+4+(T<<4)+4>>2])*O+(x=R-+p[P+4+(T<<4)+8>>2])*x<=h,T=T+1|0}while((0|T)!=(0|V))}else r=0;if(0==+p[P+304>>2]&&R==+p[P+300>>2]&&S-k==+p[P+296>>2]?g-w==+p[P+292>>2]|r&&(Z=15):Z=14,14==(0|Z)&&(Z=0,r)&&(Z=15),15==(0|Z)){Z=0,_[t+68>>2]=1,r=0,v=1;break}if((h=C-y)<=9.999999974752427e-7*C){_[t+68>>2]=h<=0?2:11,r=0,v=1;break}if(p[P+292>>2]=g-w,p[P+296>>2]=S-k,p[P+300>>2]=R,p[P+304>>2]=0,n[P+356|0]=1,p[P+4+(V<<4)>>2]=g-w,p[P+4+(V<<4)+4>>2]=S-k,p[P+4+(V<<4)+8>>2]=R,p[P+4+(V<<4)+12>>2]=0,r=0|_[P>>2],p[P+84+(r<<4)>>2]=g,p[P+84+(r<<4)+4>>2]=S,p[P+84+(r<<4)+8>>2]=D,p[P+84+(r<<4)+12>>2]=0,r=0|_[P>>2],p[P+164+(r<<4)>>2]=w,p[P+164+(r<<4)+4>>2]=k,p[P+164+(r<<4)+8>>2]=j,p[P+164+(r<<4)+12>>2]=0,_[P>>2]=1+(0|_[P>>2]),V=0|fi(r=0|_[t+24>>2]),h=+p[r+276>>2],y=+p[r+280>>2],g=+p[r+284>>2],r=0|_[r+288>>2],!V){_[t+68>>2]=3,r=0,v=1;break}if(h*h+y*y+g*g<9.999999974752427e-7){p[t+4>>2]=h,p[t+8>>2]=y,p[t+12>>2]=g,_[t+16>>2]=r,_[t+68>>2]=6,r=0,v=1;break}if(C-(h*h+y*y+g*g)<=1.1920928955078125e-7*C){_[t+68>>2]=12,C=h*h+y*y+g*g,r=0,v=1;break}p[t+4>>2]=h,p[t+8>>2]=y,p[t+12>>2]=g,_[t+16>>2]=r,V=0|_[t+64>>2],_[t+64>>2]=V+1,(0|V)<=1e3?4==(0|_[_[t+24>>2]>>2])?(_[t+68>>2]=13,C=h*h+y*y+g*g,r=0):(C=h*h+y*y+g*g,r=1):(C=h*h+y*y+g*g,r=0)}}while(0)}while(r);j=(G<<24>>24?0:B)+(D=G<<24>>24?0:I),v?(fi(G=0|_[t+24>>2]),g=+p[G+260>>2],y=+p[G+264>>2],h=+p[G+268>>2],_[m+192>>2]=_[t+4>>2],_[m+192+4>>2]=_[t+4+4>>2],_[m+192+8>>2]=_[t+4+8>>2],_[m+192+12>>2]=_[t+4+12>>2],(S=+p[t+4>>2])*S+(w=+p[t+8>>2])*w+(k=+p[t+12>>2])*k<1e-4&&(_[t+68>>2]=5),S*S+w*w+k*k>14210854715202004e-30?(O=1/+l(+(S*S+w*w+k*k)),p[m+192>>2]=O*+p[m+192>>2],p[s>>2]=O*+p[s>>2],p[c>>2]=O*+p[c>>2],x=D/+l(+C),C=1/O-j,v=1,r=1,g=x*S+g,y=x*w+y,h=x*k+h):(C=0,v=0,r=2),_[t+60>>2]=r):(C=0,v=0,g=0,y=0,h=0),r=0|_[t+72>>2]&&0|_[t+20>>2]?j+C<.01&!!(0|_[t+68>>2]):0,T=1^v;do{if(r|T&&0|(L=0|_[t+20>>2])){if(_[6614]=1+(0|_[6614]),_[t+4>>2]=0,_[t+4+4>>2]=0,_[t+4+8>>2]=0,_[t+4+12>>2]=0,0|Jb[3&_[8+(0|_[L>>2])>>2]](L,0|_[t+24>>2],0|_[t+28>>2],0|_[t+32>>2],m+128|0,m+64|0,t+4|0,m+48|0,m+32|0,o)){if(((w=+p[m+32>>2])-(k=+p[m+48>>2]))*(w-k)+((R=+p[m+32+4>>2])-(j=+p[m+48+4>>2]))*(R-j)+((D=+p[m+32+8>>2])-(I=+p[m+48+8>>2]))*(D-I)<=14210854715202004e-30?(S=(W=+p[t+4>>2])*W+(x=+p[t+8>>2])*x+(F=+p[t+12>>2])*F,O=+p[t+16>>2]):(S=(w-k)*(w-k)+(R-j)*(R-j)+(D-I)*(D-I),W=w-k,F=D-I,O=0,x=R-j),S>14210854715202004e-30){if(B=1/+l(+S),C>(S=-+l(+((k-w)*(k-w)+(j-R)*(j-R)+(I-D)*(I-D))))|T){g=+p[m+32>>2],y=+p[m+32+4>>2],h=+p[m+32+8>>2],p[m+192>>2]=W*B,p[s>>2]=x*B,p[c>>2]=F*B,p[m+192+12>>2]=O,_[t+60>>2]=3,C=S;break}r=8}else r=9;if(_[t+60>>2]=r,v)break;return void(Q=m)}if(!((w=+p[t+4>>2])*w+(k=+p[t+8>>2])*k+(R=+p[t+12>>2])*R>0)){if(v)break;return void(Q=m)}if(O=+p[m+48>>2]-+p[m+32>>2],x=+p[m+48+4>>2]-+p[m+32+4>>2],S=+p[m+48+8>>2]-+p[m+32+8>>2],(S=+l(+(O*O+x*x+S*S))-j)<C|T){g=D*w+ +p[m+32>>2],y=D*k+ +p[m+32+4>>2],h=D*R+ +p[m+32+8>>2],_[m+192>>2]=_[t+4>>2],_[m+192+4>>2]=_[t+4+4>>2],_[m+192+8>>2]=_[t+4+8>>2],_[m+192+12>>2]=_[t+4+12>>2],F=+p[m+192>>2],O=+p[s>>2],x=+p[c>>2],C=1/+l(+(F*F+O*O+x*x)),p[m+192>>2]=F*C,p[s>>2]=O*C,p[c>>2]=x*C,_[t+60>>2]=6,C=S;break}if(_[t+60>>2]=5,v)break;return void(Q=m)}Z=51}while(0);(51!=(0|Z)||v)&&(C<0||C*C<+p[e+128>>2])?(0|_[t+76>>2]&&(Z=0|_[t+28>>2],cd[127&_[8+(0|_[Z>>2])>>2]](Z,m+128|0,m+48|0,m+32|0),F=.5*(+p[m+32>>2]+ +p[m+48>>2]),O=.5*(+p[m+32+4>>2]+ +p[m+48+4>>2]),x=.5*(+p[m+32+8>>2]+ +p[m+48+8>>2]),Z=0|_[t+32>>2],cd[127&_[8+(0|_[Z>>2])>>2]](Z,m+64|0,m+48|0,m+32|0),N=+p[m+192>>2],E=+p[s>>2],H=+p[c>>2],(F-.5*(+p[m+48>>2]+ +p[m+32>>2]))*N+(O-.5*(+p[m+48+4>>2]+ +p[m+32+4>>2]))*E+(x-.5*(+p[m+48+8>>2]+ +p[m+32+8>>2]))*H<0)&&(p[m+192>>2]=-N,p[s>>2]=-E,p[c>>2]=-H),_[t+4>>2]=_[m+192>>2],_[t+4+4>>2]=_[m+192+4>>2],_[t+4+8>>2]=_[m+192+8>>2],_[t+4+12>>2]=_[m+192+12>>2],p[t+56>>2]=C,Z=0|_[16+(0|_[i>>2])>>2],p[m+48>>2]=.5*(a+b)+g,p[m+48+4>>2]=.5*(d+A)+y,p[m+48+8>>2]=.5*(f+u)+h,p[m+48+12>>2]=0,sd[15&Z](i,m+192|0,m+48|0,C),Q=m):Q=m}function wi(t,e,i,r){e|=0,i|=0,r|=0;var s=0,c=0,a=0,b=0,d=0,l=0;if(_[168+(t|=0)>>2]=_[t+152>>2],_[e>>2]=10008,_[e+52>>2]=282,n[e+60|0]=0,n[e+80|0]=1,_[e+76>>2]=0,_[e+68>>2]=0,_[e+72>>2]=0,n[e+100|0]=1,_[e+96>>2]=0,_[e+88>>2]=0,_[e+92>>2]=0,n[e+120|0]=1,_[e+116>>2]=0,_[e+108>>2]=0,_[e+112>>2]=0,n[e+140|0]=1,_[e+136>>2]=0,_[e+128>>2]=0,_[e+132>>2]=0,_[e+144>>2]=0,n[e+164|0]=1,_[e+160>>2]=0,_[e+152>>2]=0,_[e+156>>2]=0,_[e+168>>2]=0,_[e+4>>2]=-8388609,_[e+8>>2]=-8388609,_[e+12>>2]=-8388609,p[e+16>>2]=0,_[e+20>>2]=2139095039,_[e+24>>2]=2139095039,_[e+28>>2]=2139095039,p[e+32>>2]=0,i=0|_[t+56>>2],r?(i=0|Ap(0|i),_[e+56>>2]=i,n[e+4|0]=0|n[t+4+3|0],n[e+5|0]=0|n[t+4+2|0],n[e+6|0]=0|n[t+4+1|0],n[e+7|0]=0|n[t+4|0],n[e+8|0]=0|n[t+8+3|0],n[e+9|0]=0|n[t+8+2|0],n[e+10|0]=0|n[t+8+1|0],n[e+11|0]=0|n[t+8|0],n[e+12|0]=0|n[t+12+3|0],n[e+13|0]=0|n[t+12+2|0],n[e+14|0]=0|n[t+12+1|0],n[e+15|0]=0|n[t+12|0],n[e+16|0]=0|n[t+16+3|0],n[e+17|0]=0|n[t+16+2|0],n[e+18|0]=0|n[t+16+1|0],n[e+19|0]=0|n[t+16|0],n[e+20|0]=0|n[t+20+3|0],n[e+21|0]=0|n[t+20+2|0],n[e+22|0]=0|n[t+20+1|0],n[e+23|0]=0|n[t+20|0],n[e+24|0]=0|n[t+24+3|0],n[e+25|0]=0|n[t+24+2|0],n[e+26|0]=0|n[t+24+1|0],n[e+27|0]=0|n[t+24|0],n[e+28|0]=0|n[t+28+3|0],n[e+29|0]=0|n[t+28+2|0],n[e+30|0]=0|n[t+28+1|0],n[e+31|0]=0|n[t+28|0],n[e+32|0]=0|n[t+32+3|0],n[e+33|0]=0|n[t+32+2|0],n[e+34|0]=0|n[t+32+1|0],n[e+35|0]=0|n[t+32|0],n[e+36|0]=0|n[t+36+3|0],n[e+37|0]=0|n[t+36+2|0],n[e+38|0]=0|n[t+36+1|0],n[e+39|0]=0|n[t+36|0],n[e+40|0]=0|n[t+40+3|0],n[e+41|0]=0|n[t+40+2|0],n[e+42|0]=0|n[t+40+1|0],n[e+43|0]=0|n[t+40|0],n[e+44|0]=0|n[t+44+3|0],n[e+45|0]=0|n[t+44+2|0],n[e+46|0]=0|n[t+44+1|0],n[e+47|0]=0|n[t+44|0],n[e+48|0]=0|n[t+48+3|0],n[e+49|0]=0|n[t+48+2|0],n[e+50|0]=0|n[t+48+1|0],n[e+51|0]=0|n[t+48|0],i=0|Ap(0|_[t+144>>2]),_[e+144>>2]=i,i=0|Ap(0|_[t+168>>2])):(_[e+56>>2]=i,_[e+4>>2]=_[t+4>>2],_[e+4+4>>2]=_[t+4+4>>2],_[e+4+8>>2]=_[t+4+8>>2],_[e+4+12>>2]=_[t+4+12>>2],_[e+20>>2]=_[t+20>>2],_[e+20+4>>2]=_[t+20+4>>2],_[e+20+8>>2]=_[t+20+8>>2],_[e+20+12>>2]=_[t+20+12>>2],_[e+36>>2]=_[t+36>>2],_[e+36+4>>2]=_[t+36+4>>2],_[e+36+8>>2]=_[t+36+8>>2],_[e+36+12>>2]=_[t+36+12>>2],_[e+144>>2]=_[t+144>>2],i=0|_[t+168>>2]),_[e+168>>2]=i,n[e+60|0]=0|n[t+60|0],a=0|_[t+56>>2],0|n[t+60|0]){if(0|(i=0|_[e+136>>2])&&(0|n[e+140|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[i+-4>>2])),_[e+136>>2]=0),n[e+140|0]=0,_[e+136>>2]=e+172,_[e+128>>2]=a,_[e+132>>2]=a,r){if((0|a)>0){s=0|_[t+136>>2],i=0;do{l=0|Va(0|o[s+(i<<4)>>1]),o[e+172+(i<<4)>>1]=l,l=0|Va(0|o[s+(i<<4)+2>>1]),o[e+172+(i<<4)+2>>1]=l,l=0|Va(0|o[s+(i<<4)+4>>1]),o[e+172+(i<<4)+4>>1]=l,l=0|Va(0|o[s+(i<<4)+6>>1]),o[e+172+(i<<4)+6>>1]=l,l=0|Va(0|o[s+(i<<4)+8>>1]),o[e+172+(i<<4)+8>>1]=l,l=0|Va(0|o[s+(i<<4)+10>>1]),o[e+172+(i<<4)+10>>1]=l,l=0|Ap(0|_[s+(i<<4)+12>>2]),_[e+172+(i<<4)+12>>2]=l,i=i+1|0}while((0|i)!=(0|a))}}else if((0|a)>0){s=0|_[t+136>>2],i=0;do{o[e+172+(i<<4)>>1]=0|o[s+(i<<4)>>1],o[e+172+(i<<4)+2>>1]=0|o[s+(i<<4)+2>>1],o[e+172+(i<<4)+4>>1]=0|o[s+(i<<4)+4>>1],o[e+172+(i<<4)+6>>1]=0|o[s+(i<<4)+6>>1],o[e+172+(i<<4)+8>>1]=0|o[s+(i<<4)+8>>1],o[e+172+(i<<4)+10>>1]=0|o[s+(i<<4)+10>>1],_[e+172+(i<<4)+12>>2]=_[s+(i<<4)+12>>2],i=i+1|0}while((0|i)!=(0|a))}_[e+128>>2]=0,_[e+128+4>>2]=0,_[e+128+8>>2]=0,n[e+128+12|0]=0,i=a<<4}else{if(0|(i=0|_[e+96>>2])&&(0|n[e+100|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[i+-4>>2])),_[e+96>>2]=0),n[e+100|0]=0,_[e+96>>2]=e+172,_[e+88>>2]=a,_[e+92>>2]=a,r)if((0|a)>0){s=0,c=0|_[t+96>>2],i=e+172|0;do{b=c+(s<<6)|0,n[0|(l=i+(s<<6)|0)]=0|n[b+3|0],n[l+1|0]=0|n[b+2|0],n[l+2|0]=0|n[b+1|0],n[l+3|0]=0|n[0|b],l=c+(s<<6)+4|0,n[0|(b=i+(s<<6)+4|0)]=0|n[l+3|0],n[b+1|0]=0|n[l+2|0],n[b+2|0]=0|n[l+1|0],n[b+3|0]=0|n[0|l],b=c+(s<<6)+8|0,n[0|(l=i+(s<<6)+8|0)]=0|n[b+3|0],n[l+1|0]=0|n[b+2|0],n[l+2|0]=0|n[b+1|0],n[l+3|0]=0|n[0|b],l=c+(s<<6)+12|0,n[0|(i=i+(s<<6)+12|0)]=0|n[l+3|0],n[i+1|0]=0|n[l+2|0],n[i+2|0]=0|n[l+1|0],n[i+3|0]=0|n[0|l],l=(i=0|_[t+96>>2])+(s<<6)+16|0,b=0|_[e+96>>2],n[0|(d=b+(s<<6)+16|0)]=0|n[l+3|0],n[d+1|0]=0|n[l+2|0],n[d+2|0]=0|n[l+1|0],n[d+3|0]=0|n[0|l],d=i+(s<<6)+20|0,n[0|(l=b+(s<<6)+20|0)]=0|n[d+3|0],n[l+1|0]=0|n[d+2|0],n[l+2|0]=0|n[d+1|0],n[l+3|0]=0|n[0|d],l=i+(s<<6)+24|0,n[0|(d=b+(s<<6)+24|0)]=0|n[l+3|0],n[d+1|0]=0|n[l+2|0],n[d+2|0]=0|n[l+1|0],n[d+3|0]=0|n[0|l],i=i+(s<<6)+28|0,n[0|(b=b+(s<<6)+28|0)]=0|n[i+3|0],n[b+1|0]=0|n[i+2|0],n[b+2|0]=0|n[i+1|0],n[b+3|0]=0|n[0|i],c=0|_[t+96>>2],b=0|Ap(0|_[c+(s<<6)+32>>2]),i=0|_[e+96>>2],_[i+(s<<6)+32>>2]=b,b=0|Ap(0|_[c+(s<<6)+36>>2]),_[i+(s<<6)+36>>2]=b,b=0|Ap(0|_[c+(s<<6)+40>>2]),_[i+(s<<6)+40>>2]=b,s=s+1|0}while((0|s)!=(0|a));s=29}else s=28;else if((0|a)>0){s=0,c=0|_[t+96>>2],i=e+172|0;do{d=c+(s<<6)|0,_[(l=i+(s<<6)|0)>>2]=_[d>>2],_[l+4>>2]=_[d+4>>2],_[l+8>>2]=_[d+8>>2],_[l+12>>2]=_[d+12>>2],l=(0|_[t+96>>2])+(s<<6)+16|0,i=(0|_[e+96>>2])+(s<<6)+16|0,_[i>>2]=_[l>>2],_[i+4>>2]=_[l+4>>2],_[i+8>>2]=_[l+8>>2],_[i+12>>2]=_[l+12>>2],c=0|_[t+96>>2],i=0|_[e+96>>2],_[i+(s<<6)+32>>2]=_[c+(s<<6)+32>>2],_[i+(s<<6)+36>>2]=_[c+(s<<6)+36>>2],_[i+(s<<6)+40>>2]=_[c+(s<<6)+40>>2],s=s+1|0}while((0|s)!=(0|a));s=29}else s=28;28==(0|s)?(i=a<<6,s=32):29==(0|s)&&(i?!(0|n[e+100|0])|!(0|i)?(i=a<<6,s=32):(_[6631]=1+(0|_[6631]),Li(0|_[i+-4>>2]),i=a<<6,s=32):i=a<<6),32==(0|s)&&(_[e+96>>2]=0),_[e+88>>2]=0,_[e+88+4>>2]=0,_[e+88+8>>2]=0,n[e+88+12|0]=0}if(a=e+172+i|0,i=0|_[t+168>>2],0|(s=0|_[e+160>>2])&&(0|n[e+164|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[s+-4>>2])),_[e+160>>2]=0),n[e+164|0]=0,_[e+160>>2]=a,_[e+152>>2]=i,_[e+156>>2]=i,c=0|_[t+168>>2],r){if((0|c)<=0)return _[e>>2]=0,_[e+152>>2]=0,_[e+152+4>>2]=0,_[e+152+8>>2]=0,n[e+152+12|0]=0,1;s=0|_[t+160>>2],i=0;do{l=0|Va(0|o[s+(i<<5)>>1]),o[a+(i<<5)>>1]=l,l=0|Va(0|o[s+(i<<5)+2>>1]),o[a+(i<<5)+2>>1]=l,l=0|Va(0|o[s+(i<<5)+4>>1]),o[a+(i<<5)+4>>1]=l,l=0|Va(0|o[s+(i<<5)+6>>1]),o[a+(i<<5)+6>>1]=l,l=0|Va(0|o[s+(i<<5)+8>>1]),o[a+(i<<5)+8>>1]=l,l=0|Va(0|o[s+(i<<5)+10>>1]),o[a+(i<<5)+10>>1]=l,l=0|Ap(0|_[s+(i<<5)+12>>2]),_[a+(i<<5)+12>>2]=l,l=0|Ap(0|_[s+(i<<5)+16>>2]),_[a+(i<<5)+16>>2]=l,i=i+1|0}while((0|i)!=(0|c));return _[e>>2]=0,_[e+152>>2]=0,_[e+152+4>>2]=0,_[e+152+8>>2]=0,n[e+152+12|0]=0,1}if((0|c)<=0)return _[e>>2]=0,_[e+152>>2]=0,_[e+152+4>>2]=0,_[e+152+8>>2]=0,n[e+152+12|0]=0,1;s=0|_[t+160>>2],i=0;do{o[a+(i<<5)>>1]=0|o[s+(i<<5)>>1],o[a+(i<<5)+2>>1]=0|o[s+(i<<5)+2>>1],o[a+(i<<5)+4>>1]=0|o[s+(i<<5)+4>>1],o[a+(i<<5)+6>>1]=0|o[s+(i<<5)+6>>1],o[a+(i<<5)+8>>1]=0|o[s+(i<<5)+8>>1],o[a+(i<<5)+10>>1]=0|o[s+(i<<5)+10>>1],_[a+(i<<5)+12>>2]=_[s+(i<<5)+12>>2],_[a+(i<<5)+16>>2]=_[s+(i<<5)+16>>2],_[a+(i<<5)+20>>2]=0,_[a+(i<<5)+24>>2]=0,_[a+(i<<5)+28>>2]=0,i=i+1|0}while((0|i)<(0|_[t+168>>2]));return _[e>>2]=0,_[e+152>>2]=0,_[e+152+4>>2]=0,_[e+152+8>>2]=0,n[e+152+12|0]=0,1}function ki(t,e){t|=0,e=+e;var i,r=0,s=0,c=0,a=0,b=0,d=0,l=0,A=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0,O=0,x=0,T=0,P=0,V=0,M=0;if(i=Q,Q=Q+464|0,$i(14286),0|(r=0|_[t+84>>2])&&Kb[31&r](t,e),Kb[31&_[140+(0|_[t>>2])>>2]](t,e),p[t+28>>2]=e,_[t+32>>2]=0,r=0|Lb[127&_[20+(0|_[t>>2])>>2]](t),_[t+48>>2]=r,$i(14329),$i(14354),r=0|_[t+316>>2],(0|_[t+308>>2])>0){s=0;do{h=0|_[t+24>>2],id[127&_[16+(0|_[h>>2])>>2]](h,0|_[r+(s<<2)>>2]),s=s+1|0,r=0|_[t+316>>2]}while((0|s)<(0|_[t+308>>2]))}0|r&&(0|n[t+320|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[r+-4>>2])),_[t+316>>2]=0),n[t+320|0]=1,_[t+316>>2]=0,_[t+308>>2]=0,_[t+312>>2]=0,r=0|_[2606],h=(0|_[r+16>>2])-1|0,_[r+16>>2]=h;do{if(!h){if(0|_[r+4>>2]){if(G(i+368|0,0),h=0|_[6629],p[r+8>>2]=+p[r+8>>2]+ +(((0|_[i+368+4>>2])-(0|_[h+4>>2])+(1e6*((0|_[i+368>>2])-(0|_[h>>2])|0)|0)-(0|_[r+12>>2])|0)>>>0)/1e3,0|_[r+16>>2])break;r=0|_[2606]}_[2606]=_[r+20>>2]}}while(0);t:do{if((0|_[t+232>>2])>0)for(h=i+304+48|0,m=i+368+44|0,u=0;;){a=0|_[(0|_[t+240>>2])+(u<<2)>>2],p[a+244>>2]=1;e:do{switch(0|_[a+216>>2]){case 2:case 5:break;default:if(!(3&_[a+204>>2])&&(Bt(a+4|0,+p[a+312>>2],+p[a+316>>2],+p[a+320>>2],a+328|0,e,i+304|0),g=(y=+p[h>>2])-+p[a+52>>2],v=(C=+p[i+304+52>>2])-+p[a+56>>2],w=(S=+p[i+304+56>>2])-+p[a+60>>2],0|n[t+44|0])&&(A=+p[a+252>>2])*A!=0&&A*A<g*g+v*v+w*w){if($i(14391),(0|_[4+(0|_[a+192>>2])>>2])<20&&(_[6295]=1+(0|_[6295]),c=0|_[t+68>>2],c=0|Lb[127&_[36+(0|_[c>>2])>>2]](c),f=0|_[t+24>>2],p[i+368+4>>2]=1,_[i+368+12>>2]=_[a+52>>2],_[i+368+12+4>>2]=_[a+52+4>>2],_[i+368+12+8>>2]=_[a+52+8>>2],_[i+368+12+12>>2]=_[a+52+12>>2],_[i+368+28>>2]=_[h>>2],_[i+368+28+4>>2]=_[h+4>>2],_[i+368+28+8>>2]=_[h+8>>2],_[i+368+28+12>>2]=_[h+12>>2],_[i+368+76>>2]=0,_[i+368>>2]=5180,_[i+368+80>>2]=a,_[i+368+88>>2]=c,_[i+368+92>>2]=f,f=0|_[a+248>>2],_[i+248+8>>2]=0,_[i+248+12>>2]=1065353216,_[i+248+16>>2]=1065353216,_[i+248+20>>2]=1065353216,p[i+248+24>>2]=0,_[i+248>>2]=7568,_[i+248+4>>2]=8,_[i+248+28>>2]=f,_[i+248+44>>2]=f,_[i+368+84>>2]=_[t+56>>2],f=0|_[a+188>>2],o[i+368+8>>1]=0|o[f+4>>1],o[i+368+10>>1]=0|o[f+6>>1],_[i+184+48>>2]=_[h>>2],_[i+184+48+4>>2]=_[h+4>>2],_[i+184+48+8>>2]=_[h+8>>2],_[i+184+48+12>>2]=_[h+12>>2],_[i+184>>2]=_[a+4>>2],_[i+184+4>>2]=_[a+4+4>>2],_[i+184+8>>2]=_[a+4+8>>2],_[i+184+12>>2]=_[a+4+12>>2],_[i+184+16>>2]=_[a+20>>2],_[i+184+16+4>>2]=_[a+20+4>>2],_[i+184+16+8>>2]=_[a+20+8>>2],_[i+184+16+12>>2]=_[a+20+12>>2],_[i+184+32>>2]=_[a+36>>2],_[i+184+32+4>>2]=_[a+36+4>>2],_[i+184+32+8>>2]=_[a+36+8>>2],_[i+184+32+12>>2]=_[a+36+12>>2],we(t,i+248|0,a+4|0,i+184|0,i+368|0,0),(k=+p[i+368+4>>2])<1)){if(b=k*(y-+p[a+52>>2]),d=k*(C-+p[a+56>>2]),l=k*(S-+p[a+60>>2]),A=-d*+p[i+368+48>>2]-b*+p[m>>2]-l*+p[i+368+52>>2],f=0|_[t+24>>2],f=0|Hb[63&_[12+(0|_[f>>2])>>2]](f,a,0|_[i+368+76>>2]),(0|(s=0|_[t+308>>2]))==(0|_[t+312>>2])&&(0|s)<(0|(R=0|s?s<<1:1))){if(R?(_[6630]=1+(0|_[6630]),(r=0|di(16+(R<<2|3)|0))?(_[(r+4+15&-16)-4>>2]=r,r=r+4+15&-16):r=0,s=0|_[t+308>>2]):r=0,(0|s)>0){c=0;do{_[r+(c<<2)>>2]=_[(0|_[t+316>>2])+(c<<2)>>2],c=c+1|0}while((0|c)!=(0|s))}(c=0|_[t+316>>2])&&(0|n[t+320|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[c+-4>>2]),s=0|_[t+308>>2]),_[t+316>>2]=0),n[t+320|0]=1,_[t+316>>2]=r,_[t+312>>2]=R,r=s}else r=s;_[(0|_[t+316>>2])+(r<<2)>>2]=f,_[t+308>>2]=r+1,b+=+p[a+52>>2],d+=+p[a+56>>2],l+=+p[a+60>>2],c=0|_[i+368+76>>2],M=+p[c+4>>2],V=+p[c+20>>2],P=+p[c+36>>2],T=+p[c+8>>2],x=+p[c+24>>2],O=+p[c+40>>2],F=+p[c+12>>2],B=+p[c+28>>2],D=+p[c+44>>2],W=-+p[c+52>>2],I=-+p[c+56>>2],j=-+p[c+60>>2],_[i>>2]=0,_[i+4>>2]=0,_[i+8>>2]=0,_[i+12>>2]=0,p[i+16>>2]=b*M+d*V+l*P+(M*W+V*I+P*j),p[i+20>>2]=b*T+d*x+l*O+(T*W+x*I+O*j),p[i+24>>2]=b*F+d*B+l*D+(F*W+B*I+D*j),p[i+28>>2]=0,_[i+64>>2]=_[m>>2],_[i+64+4>>2]=_[m+4>>2],_[i+64+8>>2]=_[m+8>>2],_[i+64+12>>2]=_[m+12>>2],p[i+80>>2]=A,p[i+84>>2]=0,p[i+88>>2]=0,p[i+92>>2]=0,_[i+112>>2]=0,n[i+116|0]=0,_[i+120>>2]=0,_[i+120+4>>2]=0,_[i+120+8>>2]=0,_[i+120+12>>2]=0,_[i+120+16>>2]=0,_[i+120+20>>2]=0,_[i+120+24>>2]=0,_[i+120+28>>2]=0,c=0|X(f,i),p[f+4+(184*c|0)+92>>2]=0,A=(A=+p[a+224>>2]*+p[224+(0|_[i+368+76>>2])>>2])<-10?-10:A,p[f+4+(184*c|0)+84>>2]=A>10?10:A,_[f+4+(184*c|0)+48>>2]=_[a+52>>2],_[f+4+(184*c|0)+48+4>>2]=_[a+52+4>>2],_[f+4+(184*c|0)+48+8>>2]=_[a+52+8>>2],_[f+4+(184*c|0)+48+12>>2]=_[a+52+12>>2],p[f+4+(184*c|0)+32>>2]=b,p[f+4+(184*c|0)+36>>2]=d,p[f+4+(184*c|0)+40>>2]=l,p[f+4+(184*c|0)+44>>2]=0}if(r=0|_[2606],f=(0|_[r+16>>2])-1|0,_[r+16>>2]=f,!f){if(0|_[r+4>>2]){if(G(i+368|0,0),f=0|_[6629],p[r+8>>2]=+p[r+8>>2]+ +(((0|_[i+368+4>>2])-(0|_[f+4>>2])+(1e6*((0|_[i+368>>2])-(0|_[f>>2])|0)|0)-(0|_[r+12>>2])|0)>>>0)/1e3,0|_[r+16>>2])break e;r=0|_[2606]}_[2606]=_[r+20>>2]}}}}while(0);if((0|(u=u+1|0))>=(0|_[t+232>>2]))break t}}while(0);r=0|_[2606],R=(0|_[r+16>>2])-1|0,_[r+16>>2]=R;do{if(!R){if(0|_[r+4>>2]){if(G(i+368|0,0),R=0|_[6629],p[r+8>>2]=+p[r+8>>2]+ +(((0|_[i+368+4>>2])-(0|_[R+4>>2])+(1e6*((0|_[i+368>>2])-(0|_[R>>2])|0)|0)-(0|_[r+12>>2])|0)>>>0)/1e3,0|_[r+16>>2])break;r=0|_[2606]}_[2606]=_[r+20>>2]}}while(0);if(zb[511&_[44+(0|_[t>>2])>>2]](t),zb[511&_[148+(0|_[t>>2])>>2]](t),p[t+104>>2]=e,id[127&_[152+(0|_[t>>2])>>2]](t,t+92|0),Kb[31&_[144+(0|_[t>>2])>>2]](t,e),$i(14315),(0|_[t+280>>2])>0){r=0;do{R=0|_[(0|_[t+288>>2])+(r<<2)>>2],nd[7&_[8+(0|_[R>>2])>>2]](R,t,e),r=r+1|0}while((0|r)<(0|_[t+280>>2]))}r=0|_[2606],R=(0|_[r+16>>2])-1|0,_[r+16>>2]=R;do{if(!R){if(0|_[r+4>>2]){if(G(i+368|0,0),R=0|_[6629],p[r+8>>2]=+p[r+8>>2]+ +(((0|_[i+368+4>>2])-(0|_[R+4>>2])+(1e6*((0|_[i+368>>2])-(0|_[R>>2])|0)|0)-(0|_[r+12>>2])|0)>>>0)/1e3,0|_[r+16>>2])break;r=0|_[2606]}_[2606]=_[r+20>>2]}}while(0);if(Kb[31&_[156+(0|_[t>>2])>>2]](t,e),0|(r=0|_[t+80>>2])&&Kb[31&r](t,e),r=0|_[2606],t=(0|_[r+16>>2])-1|0,_[r+16>>2]=t,0|t)Q=i;else{do{if(0|_[r+4>>2]){if(G(i+368|0,0),t=0|_[6629],p[r+8>>2]=+p[r+8>>2]+ +(((0|_[i+368+4>>2])-(0|_[t+4>>2])+(1e6*((0|_[i+368>>2])-(0|_[t>>2])|0)|0)-(0|_[r+12>>2])|0)>>>0)/1e3,0|_[r+16>>2])return void(Q=i);r=0|_[2606];break}}while(0);_[2606]=_[r+20>>2],Q=i}}function Ri(t){t|=0;var e,i=0,o=0,r=0,s=0,c=0,a=0,b=0,d=0,l=0,A=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0,O=0,x=0,T=0,P=0,V=0,M=0;if(e=Q,Q=Q+192|0,$i(13425),(0|(i=0|_[t+1112>>2]))>0){F=0;do{if(W=0|_[(0|_[t+1120>>2])+(F<<2)>>2],B=0|_[W+24>>2]){a=44+(c=e+144+4|0)|0;do{_[c>>2]=0,c=c+4|0}while((0|c)<(0|a));if(p[e+144>>2]=9999999747378752e-20,p[e+144+20>>2]=.00019999999494757503,p[e+144+40>>2]=.00029999998514540493,(0|B)>0){c=0|_[W+32>>2],a=0|_[W+12>>2],i=0,o=0,r=0,s=0;do{I=0|_[c+(i<<2)>>2],D=+p[a+(i<<2)>>2],o+=+p[I+8>>2]*D,r+=D*+p[I+12>>2],s+=D*+p[I+16>>2],i=i+1|0}while((0|i)!=(0|B))}else s=0,r=0,o=0;if(y=o*(m=+p[W+128>>2]),h=r*m,m*=s,p[W+228>>2]=y,p[W+232>>2]=h,p[W+236>>2]=m,p[W+240>>2]=0,(0|B)>0){c=0|_[W+32>>2],a=0|_[W+52>>2],i=0,o=9999999747378752e-20,r=0,s=0,b=0,d=.00019999999494757503,l=0,A=0,f=0,u=.00029999998514540493;do{I=0|_[c+(i<<2)>>2],S=+p[I+8>>2]-y,w=+p[I+12>>2]-h,j=+p[I+16>>2]-m,o=S*(k=+p[a+(i<<4)>>2])+o,r=S*(R=+p[a+(i<<4)+4>>2])+r,s=S*(D=+p[a+(i<<4)+8>>2])+s,b=w*k+b,d=w*R+d,l=w*D+l,A=j*k+A,f=j*R+f,u=j*D+u,i=i+1|0}while((0|i)!=(0|B));p[e+144>>2]=o,p[e+144+4>>2]=r,p[e+144+8>>2]=s,p[e+144+16>>2]=b,p[e+144+20>>2]=d,p[e+144+24>>2]=l,p[e+144+32>>2]=A,p[e+144+36>>2]=f,p[e+144+40>>2]=u}if(!(0|n[24472])&&0|Qs(24472)&&(p[6278]=9999999747378752e-20,_[6279]=16),Fi(e+144|0,e+96|0,e+48|0),_[W+108>>2]=_[W+228>>2],_[W+108+4>>2]=_[W+228+4>>2],_[W+108+8>>2]=_[W+228+8>>2],_[W+108+12>>2]=_[W+228+12>>2],_[W+60>>2]=_[e+96>>2],_[W+60+4>>2]=_[e+96+4>>2],_[W+60+8>>2]=_[e+96+8>>2],_[W+60+12>>2]=_[e+96+12>>2],_[W+76>>2]=_[e+96+16>>2],_[W+76+4>>2]=_[e+96+16+4>>2],_[W+76+8>>2]=_[e+96+16+8>>2],_[W+76+12>>2]=_[e+96+16+12>>2],_[W+92>>2]=_[e+96+32>>2],_[W+92+4>>2]=_[e+96+32+4>>2],_[W+92+8>>2]=_[e+96+32+8>>2],_[W+92+12>>2]=_[e+96+32+12>>2],g=((d=+p[W+132>>2])*(T=+p[W+60>>2])+(l=+p[W+148>>2])*(x=+p[W+64>>2])+(A=+p[W+164>>2])*(R=+p[W+68>>2]))*T+(T*(f=+p[W+136>>2])+x*(u=+p[W+152>>2])+R*(m=+p[W+168>>2]))*x+(T*(h=+p[W+140>>2])+x*(y=+p[W+156>>2])+R*(D=+p[W+172>>2]))*R,C=(d*T+l*x+A*R)*(O=+p[W+76>>2])+(T*f+x*u+R*m)*(o=+p[W+80>>2])+(T*h+x*y+R*D)*(j=+p[W+84>>2]),v=(d*T+l*x+A*R)*(b=+p[W+92>>2])+(T*f+x*u+R*m)*(s=+p[W+96>>2])+(T*h+x*y+R*D)*(r=+p[W+100>>2]),S=(d*O+l*o+A*j)*T+(f*O+u*o+m*j)*x+(h*O+y*o+D*j)*R,w=(d*O+l*o+A*j)*O+(f*O+u*o+m*j)*o+(h*O+y*o+D*j)*j,k=(d*O+l*o+A*j)*b+(f*O+u*o+m*j)*s+(h*O+y*o+D*j)*r,R=T*(d*b+l*s+A*r)+(f*b+u*s+m*r)*x+(h*b+y*s+D*r)*R,j=O*(d*b+l*s+A*r)+(f*b+u*s+m*r)*o+(h*b+y*s+D*r)*j,D=(d*b+l*s+A*r)*b+(f*b+u*s+m*r)*s+(h*b+y*s+D*r)*r,p[W+180>>2]=g,p[W+184>>2]=C,p[W+188>>2]=v,p[W+192>>2]=0,p[W+196>>2]=S,p[W+200>>2]=w,p[W+204>>2]=k,p[W+208>>2]=0,p[W+212>>2]=R,p[W+216>>2]=j,p[W+220>>2]=D,p[W+224>>2]=0,_[W+316>>2]=0,_[W+316+4>>2]=0,_[W+316+8>>2]=0,_[W+316+12>>2]=0,_[W+316+16>>2]=0,_[W+316+20>>2]=0,_[W+316+24>>2]=0,_[W+316+28>>2]=0,(0|B)>0){c=0|_[W+32>>2],a=0|_[W+12>>2],m=+p[W+228>>2],h=+p[W+232>>2],y=+p[W+236>>2],i=0,u=0,f=0,A=0,l=0,d=0,o=0;do{I=0|_[c+(i<<2)>>2],V=+p[a+(i<<2)>>2],x=+p[I+40>>2]*V,P=V*+p[I+44>>2],V*=+p[I+48>>2],u=x+u,p[W+316>>2]=u,f=P+f,p[W+320>>2]=f,A=V+A,p[W+324>>2]=A,O=+p[I+8>>2]-m,l+=V*(T=+p[I+12>>2]-h)-P*(M=+p[I+16>>2]-y),p[W+332>>2]=l,d=x*M-V*O+d,p[W+336>>2]=d,o=P*O-x*T+o,p[W+340>>2]=o,i=i+1|0}while((0|i)!=(0|B));I=W+316|0,i=W+332|0}else I=W+316|0,i=W+332|0,u=0,f=0,A=0,l=0,d=0,o=0;V=+p[W+128>>2],M=1-+p[W+356>>2],p[W+316>>2]=u*V*M,p[W+320>>2]=V*f*M,p[W+324>>2]=V*A*M,p[W+328>>2]=0,M=1-+p[W+360>>2],p[i>>2]=(g*l+C*d+v*o)*M,p[W+336>>2]=(l*S+d*w+o*k)*M,p[W+340>>2]=M*(l*R+d*j+o*D),p[W+344>>2]=0,a=72+(c=W+244|0)|0;do{_[c>>2]=0,c=c+4|0}while((0|c)<(0|a));o=+p[W+364>>2];t:do{if(o>0&&(0|_[W+24>>2])>0)for(i=0;;){if(a=0|_[(0|_[W+32>>2])+(i<<2)>>2],c=0|_[W+52>>2],O=+p[c+(i<<4)>>2],x=+p[c+(i<<4)+4>>2],T=+p[c+(i<<4)+8>>2],P=+p[a+8>>2],V=+p[a+12>>2],M=+p[a+16>>2],V+=o*(O*+p[W+76>>2]+x*+p[W+80>>2]+T*+p[W+84>>2]+ +p[W+112>>2]-V),M+=o*(O*b+x*s+T*r+ +p[W+116>>2]-M),p[a+8>>2]=P+o*(O*+p[W+60>>2]+x*+p[W+64>>2]+T*+p[W+68>>2]+ +p[W+108>>2]-P),p[a+12>>2]=V,p[a+16>>2]=M,p[a+20>>2]=0,(0|(i=i+1|0))>=(0|_[W+24>>2]))break t;b=+p[W+92>>2],s=+p[W+96>>2],r=+p[W+100>>2],o=+p[W+364>>2]}}while(0);if(0|n[W+377|0]){if(c=0|_[W+32>>2],a=0|_[c>>2],o=+p[a+8>>2],u=+p[a+12>>2],m=+p[a+16>>2],r=+p[a+20>>2],(0|B)>1){i=1,d=o,f=o,l=r,A=m,b=r,s=u,r=u,o=m;do{a=0|_[c+(i<<2)>>2],f=(T=+p[a+8>>2])<f?T:f,r=(P=+p[a+12>>2])<r?P:r,A=(V=+p[a+16>>2])<A?V:A,b=(M=+p[a+20>>2])<b?M:b,d=d<T?T:d,s=s<P?P:s,o=o<V?V:o,l=l<M?M:l,i=i+1|0}while((0|i)!=(0|B))}else d=o,f=o,l=r,A=m,b=r,s=u,r=u,o=m;if(p[e+16>>2]=f,p[e+16+4>>2]=r,p[e+16+8>>2]=A,p[e+16+12>>2]=b,p[e+16+16>>2]=d,p[e+16+20>>2]=s,p[e+16+24>>2]=o,p[e+16+28>>2]=l,i=0|_[W+348>>2])V=(P=+p[t+452>>2])*+p[W+320>>2]*3,M=P*+p[W+324>>2]*3,p[e>>2]=+p[I>>2]*P*3,p[e+4>>2]=V,p[e+8>>2]=M,p[e+12>>2]=0,Nt(t+1048|0,i,e+16|0,e,+p[t+464>>2]);else{if(i=0|_[t+1052>>2])_[t+1052>>2]=0;else{_[6630]=1+(0|_[6630]),(i=0|di(63))?(_[(i+4+15&-16)-4>>2]=i,i=i+4+15&-16):i=0,a=(c=i)+44|0;do{_[c>>2]=0,c=c+4|0}while((0|c)<(0|a))}_[i+32>>2]=0,_[i+36>>2]=W,_[i+40>>2]=0,_[i>>2]=_[e+16>>2],_[i+4>>2]=_[e+16+4>>2],_[i+8>>2]=_[e+16+8>>2],_[i+12>>2]=_[e+16+12>>2],_[i+16>>2]=_[e+16+16>>2],_[i+20>>2]=_[e+16+20>>2],_[i+24>>2]=_[e+16+24>>2],_[i+28>>2]=_[e+16+28>>2],U(t+1048|0,0|_[t+1048>>2],i),_[t+1060>>2]=1+(0|_[t+1060>>2]),_[W+348>>2]=i}}i=0|_[t+1112>>2]}F=F+1|0}while((0|F)<(0|i))}if(i=0|_[2606],t=(0|_[i+16>>2])-1|0,_[i+16>>2]=t,0|t)Q=e;else{do{if(0|_[i+4>>2]){if(G(e+144|0,0),t=0|_[6629],p[i+8>>2]=+p[i+8>>2]+ +(((0|_[e+144+4>>2])-(0|_[t+4>>2])+(1e6*((0|_[e+144>>2])-(0|_[t>>2])|0)|0)-(0|_[i+12>>2])|0)>>>0)/1e3,0|_[i+16>>2])return void(Q=e);i=0|_[2606];break}}while(0);_[2606]=_[i+20>>2],Q=e}}function ji(t,e,i,o){t|=0,e|=0,i|=0,o|=0;var r,s,c=0,a=0,b=0,d=0,A=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0;if(s=Q,Q=Q+784|0,_[s+168+8>>2]=0,_[s+168+12>>2]=1065353216,_[s+168+16>>2]=1065353216,_[s+168+20>>2]=1065353216,p[s+168+24>>2]=0,_[s+168>>2]=7568,_[s+168+4>>2]=8,p[s+168+28>>2]=0,p[s+168+44>>2]=0,F=0|_[i+4>>2],r=0|_[i+12>>2],(0|(j=0|_[F+4>>2]))<20)return _[s+600>>2]=4536,_[s+600+168>>2]=0,p[s+600+172>>2]=0,_[s+600+164>>2]=_[o+4>>2],p[s+240+308>>2]=9999999747378752e-20,n[s+240+332|0]=0,_[s+224>>2]=5860,_[s+224+4>>2]=s+240,_[s+224+8>>2]=s+168,_[s+224+12>>2]=F,_[s+152>>2]=10136,_[s+152+4>>2]=s+240,_[s+152+8>>2]=s+168,_[s+152+12>>2]=F,F=8&_[o+16>>2]?s+152|0:s+224|0,0|Ub[3&_[8+(0|_[F>>2])>>2]](F,t,e,r,r,s+600|0)&&(a=+p[(c=s+600+132|0)>>2])*a+(b=+p[s+600+136>>2])*b+(d=+p[s+600+140>>2])*d>9999999747378752e-20&&(A=+p[s+600+164>>2])<+p[o+4>>2]&&(W=1/+l(+(a*a+b*b+d*d)),p[c>>2]=a*W,p[s+600+136>>2]=b*W,p[s+600+140>>2]=d*W,_[s+120>>2]=_[i+8>>2],_[s+120+4>>2]=0,_[s+120+8>>2]=_[c>>2],_[s+120+8+4>>2]=_[c+4>>2],_[s+120+8+8>>2]=_[c+8>>2],_[s+120+8+12>>2]=_[c+12>>2],p[s+120+24>>2]=A,Ob[15&_[12+(0|_[o>>2])>>2]](o,s+120|0,1)),void(Q=s);if((j+-21|0)>>>0>=9){if(31!=(0|j))return void(Q=s);if(c=0|_[F+64>>2],i=0|_[i+8>>2],_[s+600>>2]=6656,_[s+600+4>>2]=i,_[s+600+8>>2]=F,_[s+600+12>>2]=r,_[s+600+16>>2]=t,_[s+600+20>>2]=e,_[s+600+24>>2]=o,c)B=+p[r+48>>2],u=+p[t+48>>2]-B,I=+p[r+52>>2],m=+p[t+52>>2]-I,R=+p[r+56>>2],h=+p[t+56>>2]-R,C=+p[r>>2],g=+p[r+16>>2],y=+p[r+32>>2],w=+p[r+4>>2],S=+p[r+20>>2],v=+p[r+36>>2],W=+p[r+8>>2],D=+p[r+24>>2],k=+p[r+40>>2],p[s+240>>2]=u*C+m*g+h*y,p[s+240+4>>2]=u*w+m*S+h*v,p[s+240+8>>2]=u*W+m*D+h*k,p[s+240+12>>2]=0,B=+p[e+48>>2]-B,I=+p[e+52>>2]-I,R=+p[e+56>>2]-R,p[s+224>>2]=y*R+(g*I+B*C),p[s+224+4>>2]=v*R+(S*I+B*w),p[s+224+8>>2]=k*R+(D*I+B*W),p[s+224+12>>2]=0,Xe(0|_[c>>2],s+240|0,s+224|0,s+600|0);else if((0|(t=0|_[F+16>>2]))>0){c=0;do{st(s+600|0,c),c=c+1|0}while((0|c)<(0|t))}Q=s}else{switch(a=+p[r>>2],g=+p[r+16>>2],C=+p[r+32>>2],b=+p[r+4>>2],w=+p[r+20>>2],k=+p[r+36>>2],d=+p[r+8>>2],D=+p[r+24>>2],I=+p[r+40>>2],B=-+p[r+48>>2],W=-+p[r+52>>2],R=-+p[r+56>>2],m=+p[t+48>>2],h=+p[t+52>>2],A=+p[t+56>>2],p[s+152>>2]=a*B+g*W+C*R+(a*m+g*h+C*A),p[s+152+4>>2]=b*B+w*W+k*R+(b*m+w*h+k*A),p[s+152+8>>2]=d*B+D*W+I*R+(d*m+D*h+I*A),p[s+152+12>>2]=0,a=a*B+g*W+C*R+(a*(v=+p[e+48>>2])+g*(S=+p[e+52>>2])+C*(y=+p[e+56>>2])),b=b*B+w*W+k*R+(b*v+w*S+k*y),d=d*B+D*W+I*R+(d*v+D*S+I*y),p[s+120>>2]=a,p[s+120+4>>2]=b,p[s+120+8>>2]=d,p[s+120+12>>2]=0,0|j){case 21:c=0|_[i+8>>2],i=0|_[o+16>>2],_[s+4>>2]=_[s+152>>2],_[s+4+4>>2]=_[s+152+4>>2],_[s+4+8>>2]=_[s+152+8>>2],_[s+4+12>>2]=_[s+152+12>>2],_[s+20>>2]=_[s+120>>2],_[s+20+4>>2]=_[s+120+4>>2],_[s+20+8>>2]=_[s+120+8>>2],_[s+20+12>>2]=_[s+120+12>>2],_[s+36>>2]=i,p[s+40>>2]=1,_[s>>2]=6608,_[s+44>>2]=o,_[s+48>>2]=c,_[s+52>>2]=F,_[s+56>>2]=_[r>>2],_[s+56+4>>2]=_[r+4>>2],_[s+56+8>>2]=_[r+8>>2],_[s+56+12>>2]=_[r+12>>2],_[s+72>>2]=_[r+16>>2],_[s+72+4>>2]=_[r+16+4>>2],_[s+72+8>>2]=_[r+16+8>>2],_[s+72+12>>2]=_[r+16+12>>2],_[s+88>>2]=_[r+32>>2],_[s+88+4>>2]=_[r+32+4>>2],_[s+88+8>>2]=_[r+32+8>>2],_[s+88+12>>2]=_[r+32+12>>2],_[s+104>>2]=_[r+48>>2],_[s+104+4>>2]=_[r+48+4>>2],_[s+104+8>>2]=_[r+48+8>>2],_[s+104+12>>2]=_[r+48+12>>2],_[s+40>>2]=_[o+4>>2],c=0|_[F+48>>2],_[s+224>>2]=7780,_[s+224+4>>2]=c,_[s+224+8>>2]=s,c=0|_[F+52>>2],_[s+600>>2]=0,_[s+600+4>>2]=0,_[s+600+8>>2]=0,_[s+600+12>>2]=0,_[s+240>>2]=0,_[s+240+4>>2]=0,_[s+240+8>>2]=0,_[s+240+12>>2]=0,0|n[c+60|0]?Ee(c,s+224|0,s+152|0,a,b,d,s+600|0,s+240|0,0|_[c+56>>2]):$e(c,s+224|0,s+152|0,a,b,d,s+600|0,s+240|0);break;case 25:i=0|_[i+8>>2],j=0|_[o+16>>2],_[s+600+4>>2]=_[s+152>>2],_[s+600+4+4>>2]=_[s+152+4>>2],_[s+600+4+8>>2]=_[s+152+8>>2],_[s+600+4+12>>2]=_[s+152+12>>2],_[s+600+20>>2]=_[s+120>>2],_[s+600+20+4>>2]=_[s+120+4>>2],_[s+600+20+8>>2]=_[s+120+8>>2],_[s+600+20+12>>2]=_[s+120+12>>2],_[s+600+36>>2]=j,p[s+600+40>>2]=1,_[s+600>>2]=6608,_[s+600+44>>2]=o,_[s+600+48>>2]=i,_[s+600+52>>2]=F,_[s+600+56>>2]=_[r>>2],_[s+600+56+4>>2]=_[r+4>>2],_[s+600+56+8>>2]=_[r+8>>2],_[s+600+56+12>>2]=_[r+12>>2],_[s+600+72>>2]=_[r+16>>2],_[s+600+72+4>>2]=_[r+16+4>>2],_[s+600+72+8>>2]=_[r+16+8>>2],_[s+600+72+12>>2]=_[r+16+12>>2],_[s+600+88>>2]=_[r+32>>2],_[s+600+88+4>>2]=_[r+32+4>>2],_[s+600+88+8>>2]=_[r+32+8>>2],_[s+600+88+12>>2]=_[r+32+12>>2],_[s+600+104>>2]=_[r+48>>2],_[s+600+104+4>>2]=_[r+48+4>>2],_[s+600+104+8>>2]=_[r+48+8>>2],_[s+600+104+12>>2]=_[r+48+12>>2],_[s+600+40>>2]=_[o+4>>2],cd[127&_[144+(0|_[F>>2])>>2]](F,s+600|0,s+152|0,s+120|0);break;default:f=C*A+(g*h+m*(d=+p[r>>2]))+(C*R+(g*W+d*B)),u=k*A+(w*h+m*(b=+p[r+4>>2]))+(k*R+(w*W+b*B)),A=I*A+(D*h+m*(a=+p[r+8>>2]))+(I*R+(D*W+a*B)),d=C*y+(g*S+v*d)+(C*R+(g*W+d*B)),b=k*y+(w*S+v*b)+(k*R+(w*W+b*B)),a=I*y+(D*S+v*a)+(I*R+(D*W+a*B)),i=0|_[i+8>>2],j=0|_[o+16>>2],p[s+600+4>>2]=f,p[s+600+8>>2]=u,p[s+600+12>>2]=A,p[s+600+16>>2]=0,p[s+600+20>>2]=d,p[s+600+24>>2]=b,p[s+600+28>>2]=a,p[s+600+32>>2]=0,_[s+600+36>>2]=j,p[s+600+40>>2]=1,_[s+600>>2]=6632,_[s+600+44>>2]=o,_[s+600+48>>2]=i,_[s+600+52>>2]=F,_[s+600+56>>2]=_[r>>2],_[s+600+56+4>>2]=_[r+4>>2],_[s+600+56+8>>2]=_[r+8>>2],_[s+600+56+12>>2]=_[r+12>>2],_[s+600+72>>2]=_[r+16>>2],_[s+600+72+4>>2]=_[r+16+4>>2],_[s+600+72+8>>2]=_[r+16+8>>2],_[s+600+72+12>>2]=_[r+16+12>>2],_[s+600+88>>2]=_[r+32>>2],_[s+600+88+4>>2]=_[r+32+4>>2],_[s+600+88+8>>2]=_[r+32+8>>2],_[s+600+88+12>>2]=_[r+32+12>>2],_[s+600+104>>2]=_[r+48>>2],_[s+600+104+4>>2]=_[r+48+4>>2],_[s+600+104+8>>2]=_[r+48+8>>2],_[s+600+104+12>>2]=_[r+48+12>>2],_[s+600+40>>2]=_[o+4>>2],p[s+240>>2]=f,p[s+240+4>>2]=u,p[s+240+8>>2]=A,p[s+240+12>>2]=0,d<f&&(p[s+240>>2]=d),b<u&&(p[s+240+4>>2]=b),a<A&&(p[s+240+8>>2]=a),p[s+224>>2]=f,p[s+224+4>>2]=u,p[s+224+8>>2]=A,p[s+224+12>>2]=0,f<d&&(p[s+224>>2]=d),u<b&&(p[s+224+4>>2]=b),A<a&&(p[s+224+8>>2]=a),cd[127&_[64+(0|_[F>>2])>>2]](F,s+600|0,s+240|0,s+224|0)}Q=s}}function Di(t){var e=0,i=0,n=0,o=0,r=0,s=0,c=0,a=0,b=0,d=0,l=0,A=0;c=0|_[372+(t|=0)>>2];t:do{switch(0|_[c+32>>2]){case 1:if(p[c+20>>2]=0,a=(0|_[t+364>>2])-1|0,_[t+364>>2]=a,a=0|_[t+348+(a<<2)>>2],_[c+4>>2]=a,_[c+32>>2]=2,Xt(t,1,0,0,a),0|Di(t))return 0|(a=1);if(c=0|_[t+372>>2],a=(0|_[c+32>>2])-1|0,_[c+32>>2]=a,a=0|_[c+(a<<2)>>2],_[t+348+(_[t+364>>2]<<2)>>2]=a,c=0|_[t+372>>2],b=0|_[c+32>>2],p[c+16+(b<<2)>>2]=0,_[c+(b<<2)>>2]=a,_[c+32>>2]=b+1,Xt(t,-1,-0,-0,a),0|Di(t))return 0|(b=1);if(a=0|_[t+372>>2],b=(0|_[a+32>>2])-1|0,_[a+32>>2]=b,b=0|_[a+(b<<2)>>2],_[t+348+(_[t+364>>2]<<2)>>2]=b,a=0|_[t+372>>2],c=0|_[a+32>>2],p[a+16+(c<<2)>>2]=0,_[a+(c<<2)>>2]=b,_[a+32>>2]=c+1,Xt(t,0,1,0,b),0|Di(t))return 0|(b=1);if(a=0|_[t+372>>2],b=(0|_[a+32>>2])-1|0,_[a+32>>2]=b,b=0|_[a+(b<<2)>>2],_[t+348+(_[t+364>>2]<<2)>>2]=b,a=0|_[t+372>>2],c=0|_[a+32>>2],p[a+16+(c<<2)>>2]=0,_[a+(c<<2)>>2]=b,_[a+32>>2]=c+1,Xt(t,-0,-1,-0,b),0|Di(t))return 0|(b=1);if(a=0|_[t+372>>2],b=(0|_[a+32>>2])-1|0,_[a+32>>2]=b,b=0|_[a+(b<<2)>>2],_[t+348+(_[t+364>>2]<<2)>>2]=b,a=0|_[t+372>>2],c=0|_[a+32>>2],p[a+16+(c<<2)>>2]=0,_[a+(c<<2)>>2]=b,_[a+32>>2]=c+1,Xt(t,0,0,1,b),0|Di(t))return 0|(b=1);if(a=0|_[t+372>>2],b=(0|_[a+32>>2])-1|0,_[a+32>>2]=b,b=0|_[a+(b<<2)>>2],_[t+348+(_[t+364>>2]<<2)>>2]=b,a=0|_[t+372>>2],c=0|_[a+32>>2],p[a+16+(c<<2)>>2]=0,_[a+(c<<2)>>2]=b,_[a+32>>2]=c+1,Xt(t,-0,-0,-1,b),0|Di(t))return 0|(b=1);b=0|_[t+372>>2],a=(0|_[b+32>>2])-1|0,_[b+32>>2]=a,a=0|_[b+(a<<2)>>2],b=0|_[t+364>>2],_[t+364>>2]=b+1,_[t+348+(b<<2)>>2]=a;break t;case 2:a=0|_[c+4>>2],b=0|_[c>>2],i=+p[a+16>>2]-+p[b+16>>2],e=0*(n=+p[a+20>>2]-+p[b+20>>2])-0*(o=+p[a+24>>2]-+p[b+24>>2]);do{if((0*i-n)*(0*i-n)+(e*e+(o-0*i)*(o-0*i))>0){if(p[c+24>>2]=0,b=(0|_[t+364>>2])-1|0,_[t+364>>2]=b,b=0|_[t+348+(b<<2)>>2],_[c+8>>2]=b,_[c+32>>2]=3,Xt(t,e,o-0*i,0*i-n,b),0|Di(t))return 0|(b=1);if(a=0|_[t+372>>2],b=(0|_[a+32>>2])-1|0,_[a+32>>2]=b,b=0|_[a+(b<<2)>>2],_[t+348+(_[t+364>>2]<<2)>>2]=b,a=0|_[t+372>>2],c=0|_[a+32>>2],p[a+16+(c<<2)>>2]=0,_[a+(c<<2)>>2]=b,_[a+32>>2]=c+1,Xt(t,-e,-(o-0*i),-(0*i-n),b),0|Di(t))return 0|(b=1);b=0|_[t+372>>2],a=(0|_[b+32>>2])-1|0,_[b+32>>2]=a,a=0|_[b+(a<<2)>>2],b=0|_[t+364>>2],_[t+364>>2]=b+1,_[t+348+(b<<2)>>2]=a;break}}while(0);e=0*o-0*i;do{if((i-0*n)*(i-0*n)+((0*n-o)*(0*n-o)+e*e)>0){if(a=0|_[t+372>>2],c=0|_[a+32>>2],p[a+16+(c<<2)>>2]=0,b=(0|_[t+364>>2])-1|0,_[t+364>>2]=b,b=0|_[t+348+(b<<2)>>2],_[a+(c<<2)>>2]=b,_[a+32>>2]=c+1,Xt(t,0*n-o,e,i-0*n,b),0|Di(t))return 0|(b=1);if(a=0|_[t+372>>2],b=(0|_[a+32>>2])-1|0,_[a+32>>2]=b,b=0|_[a+(b<<2)>>2],_[t+348+(_[t+364>>2]<<2)>>2]=b,a=0|_[t+372>>2],c=0|_[a+32>>2],p[a+16+(c<<2)>>2]=0,_[a+(c<<2)>>2]=b,_[a+32>>2]=c+1,Xt(t,-(0*n-o),-e,-(i-0*n),b),0|Di(t))return 0|(b=1);b=0|_[t+372>>2],a=(0|_[b+32>>2])-1|0,_[b+32>>2]=a,a=0|_[b+(a<<2)>>2],b=0|_[t+364>>2],_[t+364>>2]=b+1,_[t+348+(b<<2)>>2]=a;break}}while(0);if((e=0*i-0*n)*e+((n-0*o)*(n-0*o)+(0*o-i)*(0*o-i))>0){if(a=0|_[t+372>>2],c=0|_[a+32>>2],p[a+16+(c<<2)>>2]=0,b=(0|_[t+364>>2])-1|0,_[t+364>>2]=b,b=0|_[t+348+(b<<2)>>2],_[a+(c<<2)>>2]=b,_[a+32>>2]=c+1,Xt(t,n-0*o,0*o-i,e,b),0|Di(t))return 0|(b=1);if(a=0|_[t+372>>2],b=(0|_[a+32>>2])-1|0,_[a+32>>2]=b,b=0|_[a+(b<<2)>>2],_[t+348+(_[t+364>>2]<<2)>>2]=b,a=0|_[t+372>>2],c=0|_[a+32>>2],p[a+16+(c<<2)>>2]=0,_[a+(c<<2)>>2]=b,_[a+32>>2]=c+1,Xt(t,-(n-0*o),-(0*o-i),-e,b),0|Di(t))return 0|(b=1);b=0|_[t+372>>2],a=(0|_[b+32>>2])-1|0,_[b+32>>2]=a,a=0|_[b+(a<<2)>>2],b=0|_[t+364>>2],_[t+364>>2]=b+1,_[t+348+(b<<2)>>2]=a;break t}break;case 3:if(b=0|_[c+4>>2],a=0|_[c>>2],o=+p[a+16>>2],e=+p[b+16>>2]-o,r=+p[a+20>>2],i=+p[b+20>>2]-r,s=+p[a+24>>2],n=+p[b+24>>2]-s,b=0|_[c+8>>2],o=+p[b+16>>2]-o,(e*(r=+p[b+20>>2]-r)-i*o)*(e*r-i*o)+((i*(s=+p[b+24>>2]-s)-n*r)*(i*s-n*r)+(n*o-e*s)*(n*o-e*s))>0){if(p[c+28>>2]=0,b=(0|_[t+364>>2])-1|0,_[t+364>>2]=b,b=0|_[t+348+(b<<2)>>2],_[c+12>>2]=b,_[c+32>>2]=4,Xt(t,i*s-n*r,n*o-e*s,e*r-i*o,b),0|Di(t))return 0|(b=1);if(a=0|_[t+372>>2],b=(0|_[a+32>>2])-1|0,_[a+32>>2]=b,b=0|_[a+(b<<2)>>2],_[t+348+(_[t+364>>2]<<2)>>2]=b,a=0|_[t+372>>2],c=0|_[a+32>>2],p[a+16+(c<<2)>>2]=0,_[a+(c<<2)>>2]=b,_[a+32>>2]=c+1,Xt(t,-(i*s-n*r),-(n*o-e*s),-(e*r-i*o),b),0|Di(t))return 0|(b=1);b=0|_[t+372>>2],a=(0|_[b+32>>2])-1|0,_[b+32>>2]=a,a=0|_[b+(a<<2)>>2],b=0|_[t+364>>2],_[t+364>>2]=b+1,_[t+348+(b<<2)>>2]=a;break t}break;case 4:if(b=0|_[c>>2],a=0|_[c+12>>2],s=+p[a+16>>2],A=+p[b+16>>2]-s,d=+p[a+20>>2],e=+p[b+20>>2]-d,n=+p[a+24>>2],o=+p[b+24>>2]-n,b=0|_[c+4>>2],i=+p[b+16>>2]-s,r=+p[b+20>>2]-d,l=+p[b+24>>2]-n,b=0|_[c+8>>2],s=+p[b+16>>2]-s,d=+p[b+20>>2]-d,!(A*r*(n=+p[b+24>>2]-n)+(e*l*s+o*i*d-A*l*d-e*i*n)-o*r*s!=A*r*n+(e*l*s+o*i*d-A*l*d-e*i*n)-o*r*s|A*r*n+(e*l*s+o*i*d-A*l*d-e*i*n)-o*r*s==0))return 0|(b=1)}}while(0);return 0|(b=0)}function Ii(t,e,i,o,r,s,c,a,b){t|=0,e|=0,i|=0,o|=0,r|=0,s|=0,c|=0,a|=0,b|=0;var d,A,f,u,m,h,y,g,C,v,S,w,k,R,j=0,D=0,I=0,B=0,W=0,F=0,O=0,x=0,T=0,P=0,V=0,M=0,G=0,L=0,N=0,E=0,H=0,Z=0,U=0,Y=0,J=0;if(d=Q,Q=Q+32|0,_[d+12>>2]=s,_[d+12+4>>2]=c,_[d+12+8>>2]=a,_[d>>2]=i,_[d+4>>2]=o,_[d+8>>2]=r,!(+p[e+52>>2]<+p[t+12>>2]))return Q=d,0|(b=0);if(P=+p[e+36>>2],M=+p[e+40>>2],V=+p[e+44>>2],a=0|_[e+48>>2],G=1/+l(+(P*P+M*M+V*V)),r=0|ae(d),L=+p[e+4>>2]-+p[r+48>>2],N=+p[e+8>>2]-+p[r+52>>2],E=+p[e+12>>2]-+p[r+56>>2],r=0|ae(d+12|0),H=+p[e+20>>2]-+p[r+48>>2],Z=+p[e+24>>2]-+p[r+52>>2],U=+p[e+28>>2]-+p[r+56>>2],o?(B=+p[o+332>>2],W=+p[o+336>>2],T=+p[o+328>>2],j=E*B-N*W,D=+p[o+312>>2],W=L*W-E*T,F=+p[o+316>>2],I=+p[o+320>>2],B=N*T-L*B):i?(B=+p[i+336>>2],W=+p[i+340>>2],T=+p[i+332>>2],j=E*B-N*W,D=+p[i+316>>2],W=L*W-E*T,F=+p[i+320>>2],I=+p[i+324>>2],B=N*T-L*B):(j=0,D=0,W=0,F=0,I=0,B=0),T=D+j,x=F+W,O=I+B,c?(D=+p[c+332>>2],W=+p[c+336>>2],J=+p[c+328>>2],I=U*D-Z*W,B=+p[c+312>>2],W=H*W-U*J,F=+p[c+316>>2],j=+p[c+320>>2],D=Z*J-H*D):s?(D=+p[s+336>>2],W=+p[s+340>>2],J=+p[s+332>>2],I=U*D-Z*W,B=+p[s+316>>2],W=H*W-U*J,F=+p[s+320>>2],j=+p[s+324>>2],D=Z*J-H*D):(I=0,B=0,W=0,F=0,j=0,D=0),T=V*G*(O-=j+D)+(M*G*(x-=F+W)+P*G*(B=T-(B+I))),J=+p[e+52>>2]-+p[t+12>>2],_[b+4>>2]=_[d>>2],_[b+4+4>>2]=_[d+4>>2],_[b+4+8>>2]=_[d+8>>2],_[b+16>>2]=_[d+12>>2],_[b+16+4>>2]=_[d+12+4>>2],_[b+16+8>>2]=_[d+12+8>>2],e=0|ae(d),F=L*+p[e+4>>2]+N*+p[e+20>>2]+E*+p[e+36>>2],W=L*+p[e+8>>2]+N*+p[e+24>>2]+E*+p[e+40>>2],p[b+28>>2]=L*+p[e>>2]+N*+p[e+16>>2]+E*+p[e+32>>2],p[b+32>>2]=F,p[b+36>>2]=W,p[b+40>>2]=0,e=0|ae(d+12|0),W=H*+p[e+4>>2]+Z*+p[e+20>>2]+U*+p[e+36>>2],F=H*+p[e+8>>2]+Z*+p[e+24>>2]+U*+p[e+40>>2],p[b+44>>2]=H*+p[e>>2]+Z*+p[e+16>>2]+U*+p[e+32>>2],p[b+48>>2]=W,p[b+52>>2]=F,p[b+56>>2]=0,p[b+164>>2]=L,p[b+168>>2]=N,p[b+172>>2]=E,p[b+176>>2]=0,p[b+180>>2]=H,p[b+184>>2]=Z,p[b+188>>2]=U,p[b+192>>2]=0,p[b+60>>2]=1,p[b+64>>2]=1,_[b+156>>2]=0,_[b+160>>2]=0,p[b+68>>2]=1,p[b+72>>2]=P*G*J,p[b+76>>2]=M*G*J,p[b+80>>2]=V*G*J,p[b+84>>2]=0,p[b+196>>2]=P*G,p[b+200>>2]=M*G,p[b+204>>2]=V*G,_[b+208>>2]=a,n[b+152|0]=0,J=+p[t+16>>2],p[b+212>>2]=(O-V*G*T)*(O-V*G*T)+((B-P*G*T)*(B-P*G*T)+(x-M*G*T)*(x-M*G*T))<J*(T*(T*J))?1:J,(a=0|_[d+4>>2])?(a=a+344|0,Y=14):(a=0|_[d>>2])?(a=a+128|0,Y=14):D=0,14==(0|Y)&&(D=+p[a>>2]),!(0|n[24448])&&0|Qs(24448)){r=48+(a=24984)|0;do{_[a>>2]=0,a=a+4|0}while((0|a)<(0|r))}if(i=(a=0|_[d+4>>2])?a+264|0:0|(i=0|_[d>>2])?i+180|0:24984,(a=0|_[d+12+4>>2])?(a=a+344|0,Y=25):(a=0|_[d+12>>2])?(a=a+128|0,Y=25):j=0,25==(0|Y)&&(j=+p[a>>2]),!(0|n[24448])&&0|Qs(24448)){r=48+(a=24984)|0;do{_[a>>2]=0,a=a+4|0}while((0|a)<(0|r))}return a=(a=0|_[d+12+4>>2])?a+264|0:0|(a=0|_[d+12>>2])?a+180|0:24984,R=+p[b+172>>2],h=+p[b+168>>2],m=+p[b+164>>2],k=+p[i>>2],w=+p[i+16>>2],S=+p[i+32>>2],v=+p[i+4>>2],C=+p[i+20>>2],g=+p[i+36>>2],y=+p[i+8>>2],u=+p[i+24>>2],f=+p[i+40>>2],N=+p[b+188>>2],T=+p[b+184>>2],P=+p[b+180>>2],H=D-(0*(0*k+w*-R+h*S)+R*(0*v+C*-R+h*g)+(0*y+u*-R+h*f)*-h)+(j-(0*(0*(A=+p[a>>2])+(I=+p[a+16>>2])*-N+T*(B=+p[a+32>>2]))+N*(0*(W=+p[a+4>>2])+(F=+p[a+20>>2])*-N+T*(O=+p[a+36>>2]))+(0*(x=+p[a+8>>2])+(J=+p[a+24>>2])*-N+T*(V=+p[a+40>>2]))*-T)),U=0-((0*k+w*-R+h*S)*-R+0*(0*v+C*-R+h*g)+m*(0*y+u*-R+h*f))+(0-((0*A+I*-N+T*B)*-N+0*(0*W+F*-N+T*O)+P*(0*x+J*-N+T*V))),Z=0-(0*(R*k+0*w+S*-m)+R*(R*v+0*C+g*-m)+(R*y+0*u+f*-m)*-h)+(0-(0*(N*A+0*I+B*-P)+N*(N*W+0*F+O*-P)+(N*x+0*J+V*-P)*-T)),E=D-((R*k+0*w+S*-m)*-R+0*(R*v+0*C+g*-m)+m*(R*y+0*u+f*-m))+(j-((N*A+0*I+B*-P)*-N+0*(N*W+0*F+O*-P)+P*(N*x+0*J+V*-P))),G=0-(h*(R*k+0*w+S*-m)+(R*v+0*C+g*-m)*-m+0*(R*y+0*u+f*-m))+(0-(T*(N*A+0*I+B*-P)+(N*W+0*F+O*-P)*-P+0*(N*x+0*J+V*-P))),L=0-(0*(k*-h+m*w+0*S)+R*(v*-h+m*C+0*g)+(y*-h+m*u+0*f)*-h)+(0-(0*(A*-T+P*I+0*B)+N*(W*-T+P*F+0*O)+(x*-T+P*J+0*V)*-T)),J=1/((M=0-(h*(0*k+w*-R+h*S)+(0*v+C*-R+h*g)*-m+0*(0*y+u*-R+h*f))+(0-(T*(0*A+I*-N+T*B)+(0*W+F*-N+T*O)*-P+0*(0*x+J*-N+T*V))))*((N=0-((k*-h+m*w+0*S)*-R+0*(v*-h+m*C+0*g)+m*(y*-h+m*u+0*f))+(0-((A*-T+P*I+0*B)*-N+0*(W*-T+P*F+0*O)+P*(x*-T+P*J+0*V))))*Z-E*L)+(H*(E*(V=D-(h*(k*-h+m*w+0*S)+(v*-h+m*C+0*g)*-m+0*(y*-h+m*u+0*f))+(j-(T*(A*-T+P*I+0*B)+(W*-T+P*F+0*O)*-P+0*(x*-T+P*J+0*V))))-G*N)+U*(G*L-V*Z))),p[b+104>>2]=(E*V-G*N)*J,p[b+108>>2]=(N*M-V*U)*J,p[b+112>>2]=(G*U-E*M)*J,p[b+116>>2]=0,p[b+120>>2]=(G*L-V*Z)*J,p[b+124>>2]=(V*H-L*M)*J,p[b+128>>2]=(Z*M-G*H)*J,p[b+132>>2]=0,p[b+136>>2]=(N*Z-E*L)*J,p[b+140>>2]=(L*U-N*H)*J,p[b+144>>2]=(E*H-Z*U)*J,p[b+148>>2]=0,Q=d,0|(b=1)}function Bi(t,e,i){e|=0,i|=0;var o=0,r=0,s=0,c=0,b=0,d=0,l=0,A=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0,O=0,x=0,T=0,P=0;if((v=!(0|n[180+(t|=0)|0]))&&0|n[t+48|0]?(m=+p[t+116>>2],r=+p[i>>2],T=+p[t+132>>2],o=+p[i+4>>2],P=+p[t+148>>2],k=+p[i+8>>2],h=+p[t+120>>2],O=+p[t+136>>2],x=+p[t+152>>2],y=+p[t+124>>2],F=+p[t+140>>2],g=+p[t+156>>2],S=+p[i+16>>2],w=+p[i+20>>2],R=+p[i+24>>2],W=+p[i+32>>2],C=+p[i+36>>2],j=+p[i+40>>2],d=+p[t+164>>2],s=+p[t+168>>2],B=+p[t+172>>2],I=+p[i+48>>2]+(r*d+o*s+k*B),D=S*d+w*s+R*B+ +p[i+52>>2],B=W*d+C*s+j*B+ +p[i+56>>2],p[t+824>>2]=m*r+T*o+P*k,p[t+828>>2]=r*h+o*O+k*x,p[t+832>>2]=r*y+o*F+k*g,p[t+836>>2]=0,p[t+840>>2]=m*S+T*w+P*R,p[t+844>>2]=h*S+O*w+x*R,p[t+848>>2]=y*S+F*w+g*R,p[t+852>>2]=0,p[t+856>>2]=m*W+T*C+P*j,p[t+860>>2]=h*W+O*C+x*j,p[t+864>>2]=y*W+F*C+g*j,p[t+868>>2]=0,p[t+872>>2]=I,p[t+876>>2]=D,p[t+880>>2]=B,p[t+884>>2]=0,B=+p[t+52>>2],D=+p[e>>2],I=+p[t+68>>2],j=+p[e+4>>2],g=+p[t+84>>2],C=+p[e+8>>2],F=+p[t+56>>2],W=+p[t+72>>2],y=+p[t+88>>2],x=+p[t+60>>2],O=+p[t+76>>2],h=+p[t+92>>2],P=+p[e+16>>2],T=+p[e+20>>2],m=+p[e+24>>2],R=+p[e+32>>2],w=+p[e+36>>2],S=+p[e+40>>2],c=t+856|0,b=t+840|0,s=P*(k=+p[t+100>>2])+T*(o=+p[t+104>>2])+m*(r=+p[t+108>>2]),d=x*R+O*w+h*S,l=F*R+W*w+y*S,A=B*R+I*w+g*S,f=x*P+O*T+h*m,u=F*P+W*T+y*m,m=B*P+I*T+g*m,h=D*x+j*O+C*h,y=D*F+j*W+C*y,g=B*D+I*j+g*C,C=D*k+j*o+C*r,o=R*k+w*o,r*=S):(m=+p[t+52>>2],r=+p[e>>2],w=+p[t+68>>2],o=+p[e+4>>2],S=+p[t+84>>2],x=+p[e+8>>2],h=+p[t+56>>2],R=+p[t+72>>2],k=+p[t+88>>2],y=+p[t+60>>2],j=+p[t+76>>2],g=+p[t+92>>2],P=+p[e+16>>2],T=+p[e+20>>2],O=+p[e+24>>2],D=+p[e+32>>2],C=+p[e+36>>2],F=+p[e+40>>2],d=+p[t+100>>2],s=+p[t+104>>2],I=+p[t+108>>2],B=+p[e+48>>2]+(r*d+o*s+x*I),W=P*d+T*s+O*I+ +p[e+52>>2],I=D*d+C*s+F*I+ +p[e+56>>2],p[t+824>>2]=m*r+w*o+S*x,p[t+828>>2]=r*h+o*R+x*k,p[t+832>>2]=r*y+o*j+x*g,p[t+836>>2]=0,p[t+840>>2]=m*P+w*T+S*O,p[t+844>>2]=h*P+R*T+k*O,p[t+848>>2]=y*P+j*T+g*O,p[t+852>>2]=0,p[t+856>>2]=m*D+w*C+S*F,p[t+860>>2]=h*D+R*C+k*F,p[t+864>>2]=y*D+j*C+g*F,p[t+868>>2]=0,p[t+872>>2]=B,p[t+876>>2]=W,p[t+880>>2]=I,p[t+884>>2]=0,I=+p[t+116>>2],W=+p[i>>2],B=+p[t+132>>2],F=+p[i+4>>2],g=+p[t+148>>2],C=+p[i+8>>2],j=+p[t+120>>2],D=+p[t+136>>2],y=+p[t+152>>2],k=+p[t+124>>2],R=+p[t+140>>2],h=+p[t+156>>2],S=+p[i+16>>2],w=+p[i+20>>2],m=+p[i+24>>2],O=+p[i+32>>2],T=+p[i+36>>2],P=+p[i+40>>2],c=t+856|0,b=t+840|0,s=S*(x=+p[t+164>>2])+w*(o=+p[t+168>>2])+m*(r=+p[t+172>>2]),d=k*O+R*T+h*P,l=j*O+D*T+y*P,A=I*O+B*T+g*P,f=k*S+R*w+h*m,u=j*S+D*w+y*m,m=I*S+B*w+g*m,h=W*k+F*R+C*h,y=W*j+F*D+C*y,g=I*W+B*F+g*C,C=W*x+F*o+C*r,e=i,o=O*x+T*o,r*=P),P=+p[e+48>>2]+C,s+=+p[e+52>>2],o=o+r+ +p[e+56>>2],p[t+888>>2]=g,p[t+892>>2]=y,p[t+896>>2]=h,p[t+900>>2]=0,p[t+904>>2]=m,p[t+908>>2]=u,p[t+912>>2]=f,p[t+916>>2]=0,p[t+920>>2]=A,p[t+924>>2]=l,p[t+928>>2]=d,p[t+932>>2]=0,p[t+936>>2]=P,p[t+940>>2]=s,p[t+944>>2]=o,p[t+948>>2]=0,_[t+968>>2]=_[t+872>>2],_[t+968+4>>2]=_[t+872+4>>2],_[t+968+8>>2]=_[t+872+8>>2],_[t+968+12>>2]=_[t+872+12>>2],_[t+984>>2]=_[t+936>>2],_[t+984+4>>2]=_[t+936+4>>2],_[t+984+8>>2]=_[t+936+8>>2],_[t+984+12>>2]=_[t+936+12>>2],e=0|_[t+824>>2],i=0|_[b>>2],b=0|_[c>>2],_[t+952>>2]=e,_[t+956>>2]=i,_[t+960>>2]=b,p[t+964>>2]=0,_[a>>2]=e,o=+p[a>>2],_[a>>2]=i,r=+p[a>>2],_[a>>2]=b,s=+p[a>>2],v&&!(0|n[t+48|0]))return j=+p[t+968>>2],D=+p[t+972>>2],x=(I=+p[t+976>>2])-+p[t+992>>2],F=D-+p[t+988>>2],W=j-+p[t+984>>2],p[(v=t+1016|0)>>2]=W,p[(v=t+1020|0)>>2]=F,p[(v=t+1024|0)>>2]=x,p[(v=t+1028|0)>>2]=0,B=j+(B=(P=(B=(P=W*o)+(B=F*r))+(P=x*s))*o),O=D+(O=P*r),T=I+(T=P*s),p[(v=t+1e3|0)>>2]=B,p[(v=t+1004|0)>>2]=O,p[(v=t+1008|0)>>2]=T,p[(v=t+1012|0)>>2]=0,p[(v=t+1032|0)>>2]=P,b=t+844|0,c=t+860|0,P=+p[(v=t+828|0)>>2],T=+p[b>>2],O=+p[c>>2],O=(T=(P*=W)+(T*=F))+(O*=x),p[(c=t+1036|0)>>2]=O,b=t+848|0,v=t+864|0,O=+p[(c=t+832|0)>>2],T=+p[b>>2],P=+p[v>>2],P=(T=(O*=W)+(T*=F))+(P*=x),void(p[(v=t+1040|0)>>2]=P);j=+p[t+968>>2],D=+p[t+972>>2],I=+p[t+976>>2],x=+p[t+992>>2]-I,F=+p[t+988>>2]-D,W=+p[t+984>>2]-j,p[(v=t+1016|0)>>2]=W,p[(v=t+1020|0)>>2]=F,p[(v=t+1024|0)>>2]=x,p[(v=t+1028|0)>>2]=0,B=j+(B=(P=(B=(P=W*o)+(B=F*r))+(P=x*s))*o),O=D+(O=P*r),T=I+(T=P*s),p[(v=t+1e3|0)>>2]=B,p[(v=t+1004|0)>>2]=O,p[(v=t+1008|0)>>2]=T,p[(v=t+1012|0)>>2]=0,p[(v=t+1032|0)>>2]=P,b=t+844|0,c=t+860|0,P=+p[(v=t+828|0)>>2],T=+p[b>>2],O=+p[c>>2],O=(T=(P*=W)+(T*=F))+(O*=x),p[(c=t+1036|0)>>2]=O,b=t+848|0,v=t+864|0,O=+p[(c=t+832|0)>>2],T=+p[b>>2],P=+p[v>>2],P=(T=(O*=W)+(T*=F))+(P*=x),p[(v=t+1040|0)>>2]=P}function Wi(t,e,i,n){t|=0,e|=0,i|=0,n|=0;var o,r=0,s=0,c=0,a=0,b=0,d=0,A=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0;o=Q,Q=Q+672|0,_[o+448+8>>2]=0,_[o+448+12>>2]=1065353216,_[o+448+16>>2]=1065353216,_[o+448+20>>2]=1065353216,p[o+448+24>>2]=0,_[o+448>>2]=7568,_[o+448+4>>2]=8,p[o+448+28>>2]=0,p[o+448+44>>2]=0,p[o+384>>2]=1,_[o+384+4>>2]=0,_[o+384+4+4>>2]=0,_[o+384+4+8>>2]=0,_[o+384+4+12>>2]=0,p[o+384+20>>2]=1,_[o+384+24>>2]=0,_[o+384+24+4>>2]=0,_[o+384+24+8>>2]=0,_[o+384+24+12>>2]=0,p[o+384+40>>2]=1,p[o+384+44>>2]=0,_[o+384+48>>2]=_[t>>2],_[o+384+48+4>>2]=_[t+4>>2],_[o+384+48+8>>2]=_[t+8>>2],_[o+384+48+12>>2]=_[t+12>>2],b=(t=n)+36|0;do{_[t>>2]=0,t=t+4|0}while((0|t)<(0|b));switch(_[o+504>>2]=e,_[o+504+4>>2]=o+448,v=+p[i>>2],C=+p[i+16>>2],r=+p[i+32>>2],s=+p[i+4>>2],c=+p[i+20>>2],a=+p[i+36>>2],A=+p[i+8>>2],m=+p[i+24>>2],y=+p[i+40>>2],p[o+504+8>>2]=v+0*C+0*r,p[o+504+12>>2]=s+0*c+0*a,p[o+504+16>>2]=A+0*m+0*y,p[o+504+20>>2]=0,p[o+504+24>>2]=0*v+C+0*r,p[o+504+28>>2]=0*s+c+0*a,p[o+504+32>>2]=0*A+m+0*y,p[o+504+36>>2]=0,p[o+504+40>>2]=0*v+0*C+r,p[o+504+44>>2]=0*s+0*c+a,p[o+504+48>>2]=0*A+0*m+y,p[o+504+52>>2]=0,d=+p[o+384+48>>2]-+p[i+48>>2],f=+p[o+384+52>>2]-+p[i+52>>2],h=+p[o+384+56>>2]-+p[i+56>>2],p[o+504+56>>2]=v+0*C+0*r,p[o+504+60>>2]=0*v+C+0*r,p[o+504+64>>2]=0*v+0*C+r,p[o+504+68>>2]=0,p[o+504+72>>2]=s+0*c+0*a,p[o+504+76>>2]=0*s+c+0*a,p[o+504+80>>2]=0*s+0*c+a,p[o+504+84>>2]=0,p[o+504+88>>2]=A+0*m+0*y,p[o+504+92>>2]=0*A+m+0*y,p[o+504+96>>2]=0*A+0*m+y,p[o+504+100>>2]=0,p[o+504+104>>2]=d*v+f*C+h*r,p[o+504+108>>2]=d*s+f*c+h*a,p[o+504+112>>2]=d*A+f*m+h*y,p[o+504+116>>2]=0,_[o+504+120>>2]=81,_[o+504+124>>2]=0,_[o+364>>2]=0,_[o+128>>2]=0,_[o+128+4>>2]=0,_[o+128+8>>2]=0,_[o+128+12>>2]=0,_[o+376>>2]=2,_[o+368>>2]=0,p[o+144>>2]=0,_[o+648>>2]=1065353216,_[o+648+4>>2]=1065353216,_[o+648+8>>2]=1065353216,p[o+648+12>>2]=0,0|Ci(o,o+504|0,o+648|0)){case 0:if(t=0|_[o+372>>2],0|_[t+32>>2]){g=0,r=0,c=0,a=0,s=0,f=0,m=0;do{y=+p[t+16+(g<<2)>>2],b=0|_[o+504+120>>2],S=0|_[o+504+124>>2],u=(0|_[o+504>>2])+(S>>1)|0,1&S&&(b=0|_[(0|_[u>>2])+b>>2]),rd[127&b](o+648|0,u,0|_[t+(g<<2)>>2]),r+=y*+p[o+648>>2],c+=y*+p[o+648+4>>2],a+=y*+p[o+648+8>>2],t=0|_[(0|_[o+372>>2])+(g<<2)>>2],d=-+p[t>>2],A=-+p[t+4>>2],h=-+p[t+8>>2],t=0|_[o+504+120>>2],S=0|_[o+504+124>>2],b=(0|_[o+504+4>>2])+(S>>1)|0,1&S&&(t=0|_[(0|_[b>>2])+t>>2]),v=+p[o+504+24>>2]*d+ +p[o+504+28>>2]*A+ +p[o+504+32>>2]*h,C=+p[o+504+40>>2]*d+ +p[o+504+44>>2]*A+ +p[o+504+48>>2]*h,p[o+632>>2]=+p[o+504+8>>2]*d+ +p[o+504+12>>2]*A+ +p[o+504+16>>2]*h,p[o+632+4>>2]=v,p[o+632+8>>2]=C,p[o+632+12>>2]=0,rd[127&t](o+648|0,b,o+632|0),h=+p[o+648>>2],C=+p[o+648+4>>2],v=+p[o+648+8>>2],s+=y*(h*+p[o+504+56>>2]+C*+p[o+504+60>>2]+v*+p[o+504+64>>2]+ +p[o+504+104>>2]),f+=y*(h*+p[o+504+72>>2]+C*+p[o+504+76>>2]+v*+p[o+504+80>>2]+ +p[o+504+108>>2]),m+=y*(h*+p[o+504+88>>2]+C*+p[o+504+92>>2]+v*+p[o+504+96>>2]+ +p[o+504+112>>2]),g=g+1|0,t=0|_[o+372>>2]}while(g>>>0<(0|_[t+32>>2])>>>0)}else a=0,c=0,r=0,m=0,f=0,s=0;switch(h=r*+p[i>>2]+c*+p[i+4>>2]+a*+p[i+8>>2]+ +p[i+48>>2],y=r*+p[i+16>>2]+c*+p[i+20>>2]+a*+p[i+24>>2]+ +p[i+52>>2],a=r*+p[i+32>>2]+c*+p[i+36>>2]+a*+p[i+40>>2]+ +p[i+56>>2],p[n+4>>2]=h,p[n+8>>2]=y,p[n+12>>2]=a,p[n+16>>2]=0,d=s*+p[i>>2]+f*+p[i+4>>2]+m*+p[i+8>>2]+ +p[i+48>>2],A=s*+p[i+16>>2]+f*+p[i+20>>2]+m*+p[i+24>>2]+ +p[i+52>>2],c=s*+p[i+32>>2]+f*+p[i+36>>2]+m*+p[i+40>>2]+ +p[i+56>>2],p[n+20>>2]=d,p[n+24>>2]=A,p[n+28>>2]=c,p[n+32>>2]=0,0|_[e+4>>2]){case 8:r=+p[e+28>>2]*+p[e+12>>2];break;case 0:case 1:case 13:case 11:case 10:case 4:case 5:r=+p[e+44>>2];break;default:r=+Bb[15&_[48+(0|_[e>>2])>>2]](e)}switch(0|_[o+448+4>>2]){case 8:s=+p[o+448+28>>2]*+p[o+448+12>>2];break;case 0:case 1:case 13:case 11:case 10:case 4:case 5:s=+p[o+448+44>>2];break;default:s=+Bb[15&_[48+(0|_[o+448>>2])>>2]](o+448|0)}return v=r+s,C=+l(+((d-h)*(d-h)+(A-y)*(A-y)+(c-a)*(c-a))),p[n+36>>2]=1/C*(d-h),p[n+40>>2]=1/C*(A-y),p[n+44>>2]=1/C*(c-a),p[n+48>>2]=0,p[n+4>>2]=v*(1/C*(d-h))+ +p[n+4>>2],p[n+8>>2]=v*(1/C*(A-y))+ +p[n+8>>2],p[n+12>>2]=v*(1/C*(c-a))+ +p[n+12>>2],Q=o,+(v=C-v);case 1:return 0|gi(e,i,o+448|0,o+384|0,o+128|0,n,1)?(r=+p[n+4>>2]-+p[n+20>>2],s=+p[n+8>>2]-+p[n+24>>2],c=+p[n+12>>2]-+p[n+28>>2],(a=+l(+(r*r+s*s+c*c)))>=1.1920928955078125e-7&&(p[n+36>>2]=r*(1/a),p[n+40>>2]=s*(1/a),p[n+44>>2]=c*(1/a),p[n+48>>2]=0),Q=o,+(v=-a)):(Q=o,+(v=34028234663852886e22));default:return Q=o,+(v=34028234663852886e22)}return 0}function Fi(t,e,i){t|=0,i|=0;var n=0,o=0,r=0,s=0,c=0,a=0,b=0,l=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0,O=0,x=0,T=0,P=0,V=0,M=0,G=0,L=0,N=0,Q=0,E=0,H=0,Z=0,U=0,Y=0,J=0;_[(e|=0)>>2]=_[t>>2],_[e+4>>2]=_[t+4>>2],_[e+8>>2]=_[t+8>>2],_[e+12>>2]=_[t+12>>2],_[e+16>>2]=_[t+16>>2],_[e+16+4>>2]=_[t+16+4>>2],_[e+16+8>>2]=_[t+16+8>>2],_[e+16+12>>2]=_[t+16+12>>2],_[e+32>>2]=_[t+32>>2],_[e+32+4>>2]=_[t+32+4>>2],_[e+32+8>>2]=_[t+32+8>>2],_[e+32+12>>2]=_[t+32+12>>2],h=+p[t+20>>2],l=+p[t+40>>2],y=+p[t+24>>2],f=+p[t+36>>2],u=+p[t+32>>2],g=+p[t+16>>2],S=1/((h*l-y*f)*(C=+p[t>>2])+(m=+p[t+4>>2])*(y*u-l*g)+(f*g-h*u)*(v=+p[t+8>>2])),p[i>>2]=(h*l-y*f)*S,p[i+4>>2]=(f*v-l*m)*S,p[i+8>>2]=(y*m-h*v)*S,p[i+12>>2]=0,p[i+16>>2]=(y*u-l*g)*S,p[i+20>>2]=(l*C-u*v)*S,p[i+24>>2]=(g*v-y*C)*S,p[i+28>>2]=0,p[i+32>>2]=(f*g-h*u)*S,p[i+36>>2]=(u*m-f*C)*S,p[i+40>>2]=(h*C-g*m)*S,p[i+44>>2]=0;t:do{if(0|_[6279]){for(n=0,B=(h*C-g*m)*S,W=(h*l-y*f)*S,F=(y*u-l*g)*S,O=(f*g-h*u)*S,x=(f*v-l*m)*S,I=(l*C-u*v)*S,D=(u*m-f*C)*S,j=(y*m-h*v)*S,R=(g*v-y*C)*S;;){if(u=+d(+W),f=+d(+F),G=+d(+O),J=+d(+x),L=+d(+I),M=+d(+D),Q=+d(+j),N=+d(+R),w=+d(+B),E=u+f+G>J+L+M?u+f+G:J+L+M,L=u+J+Q>f+L+N?u+J+Q:f+L+N,f=+p[e>>2],J=+d(+f),u=+p[e+16>>2],Z=+d(+u),m=+p[e+32>>2],P=+d(+m),h=+p[e+4>>2],Y=+d(+h),y=+p[e+20>>2],H=+d(+y),g=+p[e+36>>2],T=+d(+g),C=+p[e+8>>2],U=+d(+C),v=+p[e+24>>2],V=+d(+v),S=+p[e+40>>2],(w=(E>Q+N+w?E:Q+N+w)*(L>G+M+w?L:G+M+w))<1.1920928955078125e-7|(k=(l=(l=J+Z+P>Y+H+T?J+Z+P:Y+H+T)>U+V+(k=+d(+S))?l:U+V+k)*((V=J+Y+U>Z+H+V?J+Y+U:Z+H+V)>P+T+k?V:P+T+k))<1.1920928955078125e-7){n=e+20|0,o=e+36|0,r=e+8|0,s=e+24|0,c=e+40|0,a=e,b=e+4|0;break t}if(L=.5*(f*((J=+A(+w/k,.25))-2)+1/J*W),Q=.5*(h*(J+-2)+1/J*F),H=.5*(C*(J+-2)+1/J*O),N=.5*(u*(J+-2)+1/J*x),E=.5*(y*(J+-2)+1/J*I),Z=.5*(v*(J+-2)+1/J*D),U=.5*(m*(J+-2)+1/J*j),Y=.5*(g*(J+-2)+1/J*R),J=.5*(S*(J+-2)+1/J*B),p[e>>2]=f+L,p[e+4>>2]=h+Q,p[e+8>>2]=C+H,p[e+12>>2]=0,p[e+16>>2]=u+N,p[e+20>>2]=y+E,p[e+24>>2]=v+Z,p[e+28>>2]=0,p[e+32>>2]=m+U,p[e+36>>2]=g+Y,p[e+40>>2]=S+J,p[e+44>>2]=0,W=((y+E)*(S+J)-(v+Z)*(g+Y))*(G=1/((C+H)*((u+N)*(g+Y)-(y+E)*(m+U))+((f+L)*((y+E)*(S+J)-(v+Z)*(g+Y))+(h+Q)*((v+Z)*(m+U)-(u+N)*(S+J))))),x=((C+H)*(g+Y)-(h+Q)*(S+J))*G,j=((h+Q)*(v+Z)-(C+H)*(y+E))*G,F=((v+Z)*(m+U)-(u+N)*(S+J))*G,I=((f+L)*(S+J)-(C+H)*(m+U))*G,R=((C+H)*(u+N)-(f+L)*(v+Z))*G,O=((u+N)*(g+Y)-(y+E)*(m+U))*G,D=((h+Q)*(m+U)-(f+L)*(g+Y))*G,B=((f+L)*(y+E)-(h+Q)*(u+N))*G,p[i>>2]=W,p[i+4>>2]=x,p[i+8>>2]=j,p[i+12>>2]=0,p[i+16>>2]=F,p[i+20>>2]=I,p[i+24>>2]=R,p[i+28>>2]=0,p[i+32>>2]=O,p[i+36>>2]=D,p[i+40>>2]=B,p[i+44>>2]=0,((Y=(U=+d(+L)+ +d(+N)+ +d(+U))>(Y=+d(+Q)+ +d(+E)+ +d(+Y))?U:Y)>(J=+d(+H)+ +d(+Z)+ +d(+J))?Y:J)<=l*+p[6278])break;if((n=n+1|0)>>>0>=(0|_[6279])>>>0){n=e+20|0,o=e+36|0,r=e+8|0,s=e+24|0,c=e+40|0,a=e,b=e+4|0;break t}}return M=+p[e>>2],L=+p[e+16>>2],Q=+p[e+32>>2],P=+p[e+4>>2],V=+p[e+20>>2],H=+p[e+36>>2],W=+p[e+8>>2],F=+p[e+24>>2],U=+p[e+40>>2],G=+p[t>>2],N=+p[t+16>>2],E=+p[t+32>>2],O=+p[t+4>>2],x=+p[t+20>>2],T=+p[t+36>>2],J=W*(D=+p[t+8>>2])+F*(I=+p[t+24>>2])+U*(B=+p[t+40>>2])+(W*D+F*I+U*B),Y=P*D+V*I+H*B+(W*O+F*x+U*T),Z=P*O+V*x+H*T+(P*O+V*x+H*T),U=M*D+L*I+Q*B+(W*G+F*N+U*E),H=M*O+L*x+Q*T+(P*G+V*N+H*E),E=M*G+L*N+Q*E+(M*G+L*N+Q*E),Y*=.5,U*=.5,H*=.5,E*=.5,p[i>>2]=E,p[i+4>>2]=H,p[i+8>>2]=U,p[i+12>>2]=0,p[i+16>>2]=H,Z*=.5,p[i+20>>2]=Z,p[i+24>>2]=Y,p[i+28>>2]=0,p[i+32>>2]=U,p[i+36>>2]=Y,J*=.5,p[i+40>>2]=J,void(p[i+44>>2]=0)}n=e+20|0,o=e+36|0,r=e+8|0,s=e+24|0,c=e+40|0,a=e,b=e+4|0}while(0);M=+p[a>>2],L=+p[e+16>>2],Q=+p[e+32>>2],P=+p[b>>2],V=+p[n>>2],H=+p[o>>2],W=+p[r>>2],F=+p[s>>2],U=+p[c>>2],G=+p[t>>2],N=+p[t+16>>2],E=+p[t+32>>2],O=+p[t+4>>2],x=+p[t+20>>2],T=+p[t+36>>2],J=W*(D=+p[t+8>>2])+F*(I=+p[t+24>>2])+U*(B=+p[t+40>>2])+(W*D+F*I+U*B),Y=P*D+V*I+H*B+(W*O+F*x+U*T),Z=P*O+V*x+H*T+(P*O+V*x+H*T),U=M*D+L*I+Q*B+(W*G+F*N+U*E),H=M*O+L*x+Q*T+(P*G+V*N+H*E),E=M*G+L*N+Q*E+(M*G+L*N+Q*E),Y*=.5,U*=.5,H*=.5,E*=.5,p[i>>2]=E,p[i+4>>2]=H,p[i+8>>2]=U,p[i+12>>2]=0,p[i+16>>2]=H,Z*=.5,p[i+20>>2]=Z,p[i+24>>2]=Y,p[i+28>>2]=0,p[i+32>>2]=U,p[i+36>>2]=Y,J*=.5,p[i+40>>2]=J,p[i+44>>2]=0}function Oi(t,e,i,r,s){e|=0,i|=0,r|=0,s|=0;var c,a=0,b=0,d=0,l=0,A=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0;if(c=Q,Q=Q+128|0,n[60+(t|=0)|0]=1&i,i){if(y=+p[r>>2]-1,g=+p[r+4>>2]-1,C=+p[r+8>>2]-1,p[t+4>>2]=y,p[t+8>>2]=g,p[t+12>>2]=C,p[t+16>>2]=0,m=+p[s>>2]+1,d=+p[s+4>>2]+1,v=+p[s+8>>2]+1,p[t+20>>2]=m,p[t+24>>2]=d,p[t+28>>2]=v,p[t+32>>2]=0,p[t+36>>2]=65533/(m-y),p[t+40>>2]=65533/(d-g),p[t+44>>2]=65533/(v-C),p[t+48>>2]=0,n[t+60|0]=1,f=g+ +(65533/(d-g)*(g-g)&65535&-2&65535)/(65533/(d-g))+-1,h=C+ +(65533/(v-C)*(C-C)&65535&-2&65535)/(65533/(v-C))+-1,(a=y+ +(65533/(m-y)*(y-y)&65535&-2&65535)/(65533/(m-y))+-1)<y?(p[t+4>>2]=a,S=a):S=y,f<g?p[t+8>>2]=f:f=g,h<C?(p[t+12>>2]=h,a=v-h):(a=v-C,h=C),g=f+ +(65535&65533/(d-g)*(d-f)+1|1)/(65533/(d-g))+1,C=h+ +(65535&65533/(v-C)*a+1|1)/(65533/(v-C))+1,m<(y=S+ +(65535&65533/(m-y)*(m-S)+1|1)/(65533/(m-y))+1)&&(p[t+20>>2]=y,m=y),d<g&&(p[t+24>>2]=g,d=g),v<C&&(p[t+28>>2]=C,a=C-h),p[t+36>>2]=65533/(m-S),p[t+40>>2]=65533/(d-f),p[t+44>>2]=65533/a,p[t+48>>2]=0,_[c+96>>2]=9016,_[c+96+4>>2]=t+104,_[c+96+8>>2]=t,cd[127&_[8+(0|_[e>>2])>>2]](e,c+96|0,t+4|0,t+20|0),i=0|_[t+108>>2],_[c+80>>2]=0,_[c+80+4>>2]=0,_[c+80+8>>2]=0,_[c+80+12>>2]=0,(0|(b=0|_[t+128>>2]))<i<<1){if((0|_[t+132>>2])<i<<1){if(i?(_[6630]=1+(0|_[6630]),(r=0|di(i<<5|19))?(_[(r+4+15&-16)-4>>2]=r,r=r+4+15&-16):r=0,e=0|_[t+128>>2]):(r=0,e=b),(0|e)>0){s=0;do{u=r+(s<<4)|0,A=(0|_[t+136>>2])+(s<<4)|0,_[u>>2]=_[A>>2],_[u+4>>2]=_[A+4>>2],_[u+8>>2]=_[A+8>>2],_[u+12>>2]=_[A+12>>2],s=s+1|0}while((0|s)!=(0|e))}0|(s=0|_[t+136>>2])&&(0|n[t+140|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[s+-4>>2])),_[t+136>>2]=0),n[t+140|0]=1,_[t+136>>2]=r,_[t+132>>2]=i<<1,s=t+136|0}else s=t+136|0;r=b;do{u=(0|_[s>>2])+(r<<4)|0,_[u>>2]=_[c+80>>2],_[u+4>>2]=_[c+80+4>>2],_[u+8>>2]=_[c+80+8>>2],_[u+12>>2]=_[c+80+12>>2],r=r+1|0}while((0|r)!=i<<1)}_[t+128>>2]=i<<1}else{_[c+96>>2]=9036,_[c+96+4>>2]=t+64,_[c+80>>2]=-581039253,_[c+80+4>>2]=-581039253,_[c+80+8>>2]=-581039253,p[c+80+12>>2]=0,_[c+64>>2]=1566444395,_[c+64+4>>2]=1566444395,_[c+64+8>>2]=1566444395,p[c+64+12>>2]=0,cd[127&_[8+(0|_[e>>2])>>2]](e,c+96|0,c+80|0,c+64|0),i=0|_[t+68>>2],A=(b=c)+64|0;do{_[b>>2]=0,b=b+4|0}while((0|b)<(0|A));if((0|(u=0|_[t+88>>2]))<i<<1){if((0|_[t+92>>2])<i<<1){if(i?(_[6630]=1+(0|_[6630]),(r=0|di(i<<7|19))?(_[(r+4+15&-16)-4>>2]=r,r=r+4+15&-16):r=0,e=0|_[t+88>>2]):(r=0,e=u),(0|e)>0){s=0;do{b=r+(s<<6)|0,l=(0|_[t+96>>2])+(s<<6)|0,A=b+64|0;do{_[b>>2]=_[l>>2],b=b+4|0,l=l+4|0}while((0|b)<(0|A));s=s+1|0}while((0|s)!=(0|e))}0|(s=0|_[t+96>>2])&&(0|n[t+100|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[s+-4>>2])),_[t+96>>2]=0),n[t+100|0]=1,_[t+96>>2]=r,_[t+92>>2]=i<<1,s=t+96|0}else s=t+96|0;r=u;do{l=c,A=64+(b=(0|_[s>>2])+(r<<6)|0)|0;do{_[b>>2]=_[l>>2],b=b+4|0,l=l+4|0}while((0|b)<(0|A));r=r+1|0}while((0|r)!=i<<1)}_[t+88>>2]=i<<1}if(_[t+56>>2]=0,yi(t,0,i),0|n[t+60|0]&&!(0|_[t+152>>2])){if(0|_[t+156>>2])r=t+160|0,s=1,i=0|_[t+160>>2];else{if(_[6630]=1+(0|_[6630]),(i=0|di(51))?(_[(i+4+15&-16)-4>>2]=i,e=i+4+15&-16):e=0,(0|(r=0|_[t+152>>2]))>0){i=0;do{u=e+(i<<5)|0,A=(0|_[t+160>>2])+(i<<5)|0,_[u>>2]=_[A>>2],_[u+4>>2]=_[A+4>>2],_[u+8>>2]=_[A+8>>2],_[u+12>>2]=_[A+12>>2],_[u+16>>2]=_[A+16>>2],_[u+20>>2]=_[A+20>>2],_[u+24>>2]=_[A+24>>2],_[u+28>>2]=_[A+28>>2],i=i+1|0}while((0|i)!=(0|r))}0|(i=0|_[t+160>>2])&&(0|n[t+164|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[i+-4>>2])),_[t+160>>2]=0),n[t+164|0]=1,_[t+160>>2]=e,_[t+156>>2]=1,r=t+160|0,s=1+(0|_[t+152>>2])|0,i=e}_[t+152>>2]=s,_[i>>2]=_[c+96>>2],_[i+4>>2]=_[c+96+4>>2],_[i+8>>2]=_[c+96+8>>2],_[i+12>>2]=_[c+96+12>>2],_[i+16>>2]=_[c+96+16>>2],_[i+20>>2]=_[c+96+20>>2],_[i+24>>2]=_[c+96+24>>2],_[i+28>>2]=_[c+96+28>>2],u=0|_[r>>2],A=0|_[t+136>>2],o[u>>1]=0|o[A>>1],o[u+2>>1]=0|o[A+2>>1],o[u+4>>1]=0|o[A+4>>1],o[u+6>>1]=0|o[A+6>>1],o[u+8>>1]=0|o[A+8>>1],o[u+10>>1]=0|o[A+10>>1],_[u+12>>2]=0,A=0|_[A+12>>2],_[u+16>>2]=(0|A)>-1?1:0-A|0}if(_[t+168>>2]=_[t+152>>2],0|(i=0|_[t+116>>2])&&(0|n[t+120|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[i+-4>>2])),_[t+116>>2]=0),n[t+120|0]=1,_[t+116>>2]=0,_[t+108>>2]=0,_[t+112>>2]=0,!(i=0|_[t+76>>2]))return n[t+80|0]=1,_[t+76>>2]=0,_[t+68>>2]=0,_[(t=t+72|0)>>2]=0,void(Q=c);0|n[t+80|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[i+-4>>2])),_[t+76>>2]=0,n[t+80|0]=1,_[t+76>>2]=0,_[t+68>>2]=0,_[(t=t+72|0)>>2]=0,Q=c}function xi(t,e,i,o,r,s,c,b,d,l,A){e|=0,i|=0,o|=0,r|=0,s|=0,c|=0,b|=0,d=+d,l=+l,A=+A;var f,u,m=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0,O=0,x=0,T=0,P=0,V=0,M=0,G=0,L=0,N=0,Q=0,E=0;if((0|(u=0|_[68+(t|=0)>>2]))==(0|_[t+72>>2])&&(0|u)<(0|(C=0|u?u<<1:1))){if(C?(_[6630]=1+(0|_[6630]),(m=0|di(16+(152*C|3)|0))?(_[(m+4+15&-16)-4>>2]=m,m=m+4+15&-16):m=0,y=0|_[t+68>>2]):(m=0,y=u),(0|y)>0){h=0;do{_e(m+(152*h|0)|0,(0|_[t+76>>2])+(152*h|0)|0,152),h=h+1|0}while((0|h)!=(0|y))}0|(h=0|_[t+76>>2])&&(0|n[t+80|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[h+-4>>2])),_[t+76>>2]=0),n[t+80|0]=1,_[t+76>>2]=m,_[t+72>>2]=C,m=0|_[t+68>>2]}else m=u;return _[t+68>>2]=m+1,f=0|_[t+76>>2],_[f+(152*u|0)+140>>2]=r,y=0|_[t+16>>2],m=0|_[y+(244*i|0)+240>>2],C=0|_[y+(244*o|0)+240>>2],_[f+(152*u|0)+144>>2]=i,_[f+(152*u|0)+148>>2]=o,h=0|_[s+84>>2],_[f+(152*u|0)+104>>2]=h,_[f+(152*u|0)+132>>2]=0,p[f+(152*u|0)+100>>2]=0,p[f+(152*u|0)+96>>2]=0,_[a>>2]=h,G=+p[a>>2],0|m?(_[f+(152*u|0)+16>>2]=_[e>>2],_[f+(152*u|0)+16+4>>2]=_[e+4>>2],_[f+(152*u|0)+16+8>>2]=_[e+8>>2],_[f+(152*u|0)+16+12>>2]=_[e+12>>2],M=+p[c+4>>2],W=+p[f+(152*u|0)+24>>2],T=+p[c+8>>2],P=+p[f+(152*u|0)+20>>2],F=+p[f+(152*u|0)+16>>2],V=+p[c>>2],p[f+(152*u|0)>>2]=M*W-T*P,p[f+(152*u|0)+4>>2]=T*F-W*V,p[f+(152*u|0)+8>>2]=P*V-M*F,p[f+(152*u|0)+12>>2]=0,S=((M*W-T*P)*+p[m+264>>2]+(T*F-W*V)*+p[m+268>>2]+(P*V-M*F)*+p[m+272>>2])*+p[m+544>>2],g=((M*W-T*P)*+p[m+280>>2]+(T*F-W*V)*+p[m+284>>2]+(P*V-M*F)*+p[m+288>>2])*+p[m+548>>2],v=((M*W-T*P)*+p[m+296>>2]+(T*F-W*V)*+p[m+300>>2]+(P*V-M*F)*+p[m+304>>2])*+p[m+552>>2],p[f+(152*u|0)+64>>2]=S,p[f+(152*u|0)+68>>2]=g,p[f+(152*u|0)+72>>2]=v,p[f+(152*u|0)+76>>2]=0,j=F,D=P,I=W,B=M*W-T*P,W=T*F-W*V,F=P*V-M*F):(_[f+(152*u|0)+64>>2]=0,_[f+(152*u|0)+64+4>>2]=0,_[f+(152*u|0)+64+8>>2]=0,_[f+(152*u|0)+64+12>>2]=0,_[f+(152*u|0)>>2]=0,_[f+(152*u|0)+4>>2]=0,_[f+(152*u|0)+8>>2]=0,_[f+(152*u|0)+12>>2]=0,_[f+(152*u|0)+16>>2]=0,_[f+(152*u|0)+20>>2]=0,_[f+(152*u|0)+24>>2]=0,_[f+(152*u|0)+28>>2]=0,g=0,v=0,S=0,j=0,D=0,I=0,B=0,W=0,F=0),0|C?(M=-+p[e>>2],N=-+p[e+4>>2],V=-+p[e+8>>2],p[f+(152*u|0)+48>>2]=M,p[f+(152*u|0)+52>>2]=N,p[f+(152*u|0)+56>>2]=V,p[f+(152*u|0)+60>>2]=0,L=+p[b+4>>2],E=+p[b+8>>2],Q=+p[b>>2],p[f+(152*u|0)+32>>2]=L*V-E*N,p[f+(152*u|0)+36>>2]=E*M-Q*V,p[f+(152*u|0)+40>>2]=Q*N-L*M,p[f+(152*u|0)+44>>2]=0,w=((L*V-E*N)*+p[C+264>>2]+(E*M-Q*V)*+p[C+268>>2]+(Q*N-L*M)*+p[C+272>>2])*+p[C+544>>2],k=((L*V-E*N)*+p[C+280>>2]+(E*M-Q*V)*+p[C+284>>2]+(Q*N-L*M)*+p[C+288>>2])*+p[C+548>>2],R=((L*V-E*N)*+p[C+296>>2]+(E*M-Q*V)*+p[C+300>>2]+(Q*N-L*M)*+p[C+304>>2])*+p[C+552>>2],p[f+(152*u|0)+80>>2]=w,p[f+(152*u|0)+84>>2]=k,p[f+(152*u|0)+88>>2]=R,p[f+(152*u|0)+92>>2]=0,O=M,x=N,T=V,P=L*V-E*N,V=E*M-Q*V,M=Q*N-L*M):(_[f+(152*u|0)+80>>2]=0,_[f+(152*u|0)+80+4>>2]=0,_[f+(152*u|0)+80+8>>2]=0,_[f+(152*u|0)+80+12>>2]=0,_[f+(152*u|0)+32>>2]=0,_[f+(152*u|0)+32+4>>2]=0,_[f+(152*u|0)+32+8>>2]=0,_[f+(152*u|0)+32+12>>2]=0,_[f+(152*u|0)+32+16>>2]=0,_[f+(152*u|0)+32+20>>2]=0,_[f+(152*u|0)+32+24>>2]=0,_[f+(152*u|0)+32+28>>2]=0,w=0,k=0,R=0,O=0,x=0,T=0,P=0,V=0,M=0),0|m?(N=+p[c+8>>2],Q=+p[c+4>>2],E=+p[c>>2],v=+p[m+344>>2]+((g*N-v*Q)*+p[e>>2]+(v*E-N*S)*+p[e+4>>2]+(Q*S-g*E)*+p[e+8>>2])):v=0,0|C?(Q=-w,g=-k,R=-R,L=+p[b+8>>2],N=+p[b+4>>2],E=+p[b>>2],g=+p[C+344>>2]+((L*g-N*R)*+p[e>>2]+(E*R-L*Q)*+p[e+4>>2]+(N*Q-E*g)*+p[e+8>>2])):g=0,k=d/(v+g),p[f+(152*u|0)+108>>2]=k,0|m?(v=+p[y+(244*i|0)+192>>2],S=+p[y+(244*i|0)+196>>2],w=+p[y+(244*i|0)+200>>2],g=(+p[y+(244*i|0)+176>>2]+ +p[y+(244*i|0)+208>>2])*j+(+p[y+(244*i|0)+180>>2]+ +p[y+(244*i|0)+212>>2])*D+(+p[y+(244*i|0)+184>>2]+ +p[y+(244*i|0)+216>>2])*I):(v=0,S=0,w=0,g=0*j+0*D+0*I),g+=v*B+S*W+w*F,0|C?(L=+p[y+(244*o|0)+192>>2],N=+p[y+(244*o|0)+196>>2],E=+p[y+(244*o|0)+200>>2],E=l-(E=g+(E=(Q=(+p[y+(244*o|0)+176>>2]+ +p[y+(244*o|0)+208>>2])*O+(+p[y+(244*o|0)+180>>2]+ +p[y+(244*o|0)+212>>2])*x+(+p[y+(244*o|0)+184>>2]+ +p[y+(244*o|0)+216>>2])*T)+(E=(N=(L*=P)+(N*=V))+(E*=M)))),E*=k,p[(o=f+(152*u|0)+112|0)>>2]=E,p[(o=f+(152*u|0)+116|0)>>2]=A,E=-G,p[(o=f+(152*u|0)+120|0)>>2]=E,void(_[(o=f+(152*u|0)+124|0)>>2]=h)):(L=0,N=0,E=0,E=l-(E=g+(E=(Q=0*O+0*x+0*T)+(E=(N=(L*=P)+(N*=V))+(E*=M)))),E*=k,p[(o=f+(152*u|0)+112|0)>>2]=E,p[(o=f+(152*u|0)+116|0)>>2]=A,E=-G,p[(o=f+(152*u|0)+120|0)>>2]=E,void(_[(o=f+(152*u|0)+124|0)>>2]=h))}function Ti(t,e,i,o,r,s){e|=0,i|=0,o|=0,r|=0,s|=0;var c,a,b,d,A,f,u,m,h,y,g,C,v,S,w,k,R,j,D,I,B,W,F=0,O=0,x=0,T=0,P=0,V=0,M=0,G=0,L=0,N=0,E=0,H=0,Z=0,U=0,Y=0,J=0,X=0,z=0,K=0,q=0,$=0,tt=0,et=0,it=0,nt=0,ot=0,_t=0,rt=0;W=Q,Q=Q+32|0,ot=0|_[4+(t|=0)>>2],n[ot+312|0]=0,_[ot>>2]=0,n[ot+356|0]=1,_[ot+292>>2]=1566444395,_[ot+296>>2]=1566444395,_[ot+300>>2]=1566444395,p[ot+304>>2]=0,_[ot+336>>2]=0,_[ot+336+4>>2]=0,_[ot+336+8>>2]=0,_[ot+336+12>>2]=0,n[ot+336+16|0]=0,n[ot+332|0]=-16&n[ot+332|0],V=+p[e+48>>2],G=+p[e+52>>2],E=+p[e+56>>2],P=+p[o+48>>2],M=+p[o+52>>2],N=+p[o+56>>2],a=+p[e>>2],S=+p[e+4>>2],k=+p[e+8>>2],j=+p[e+16>>2],d=+p[e+20>>2],f=+p[e+24>>2],m=+p[e+32>>2],y=+p[e+36>>2],C=+p[e+40>>2],c=+p[o>>2],v=+p[o+4>>2],w=+p[o+8>>2],R=+p[o+16>>2],b=+p[o+20>>2],A=+p[o+24>>2],u=+p[o+32>>2],h=+p[o+36>>2],g=+p[o+40>>2],D=+p[i+48>>2]-V-(+p[r+48>>2]-P),I=+p[i+52>>2]-G-(+p[r+52>>2]-M),B=+p[i+56>>2]-E-(+p[r+56>>2]-N),ot=0|_[t+8>>2],J=0|_[64+(0|_[ot>>2])>>2],p[W>>2]=a*-D+j*-I+m*-B,p[W+4>>2]=S*-D+d*-I+y*-B,p[W+8>>2]=k*-D+f*-I+C*-B,p[W+12>>2]=0,rd[127&J](W+16|0,ot,W),it=+p[W+16>>2],nt=+p[W+16+4>>2],et=+p[W+16+8>>2],x=it*+p[e>>2]+nt*+p[e+4>>2]+et*+p[e+8>>2]+ +p[e+48>>2],Z=it*+p[e+16>>2]+nt*+p[e+20>>2]+et*+p[e+24>>2]+ +p[e+52>>2],et=it*+p[e+32>>2]+nt*+p[e+36>>2]+et*+p[e+40>>2]+ +p[e+56>>2],ot=0|_[t+12>>2],J=0|_[64+(0|_[ot>>2])>>2],nt=D*+p[o+4>>2]+I*+p[o+20>>2]+B*+p[o+36>>2],it=D*+p[o+8>>2]+I*+p[o+24>>2]+B*+p[o+40>>2],p[W>>2]=D*+p[o>>2]+I*+p[o+16>>2]+B*+p[o+32>>2],p[W+4>>2]=nt,p[W+8>>2]=it,p[W+12>>2]=0,rd[127&J](W+16|0,ot,W),it=+p[W+16>>2],nt=+p[W+16+4>>2],T=+p[W+16+8>>2],x-=it*+p[o>>2]+nt*+p[o+4>>2]+T*+p[o+8>>2]+ +p[o+48>>2],Z-=it*+p[o+16>>2]+nt*+p[o+20>>2]+T*+p[o+24>>2]+ +p[o+52>>2],T=et-(it*+p[o+32>>2]+nt*+p[o+36>>2]+T*+p[o+40>>2]+ +p[o+56>>2]);t:do{if(x*x+Z*Z+T*T>9999999747378752e-20){for(O=0,ot=32,nt=x,F=0,it=T,L=0,X=P,P=0,T=0,x=0;;){if(!ot)break t;if(ot=ot+-1|0,J=0|_[t+8>>2],U=0|_[64+(0|_[J>>2])>>2],q=-nt,rt=-Z,Y=-it,p[W>>2]=a*q+j*rt+m*Y,p[W+4>>2]=S*q+d*rt+y*Y,p[W+8>>2]=k*q+f*rt+C*Y,p[W+12>>2]=0,rd[127&U](W+16|0,J,W),z=V+(a*(Y=+p[W+16>>2])+S*(rt=+p[W+16+4>>2])+k*(q=+p[W+16+8>>2])),K=G+(j*Y+d*rt+f*q),q=E+(m*Y+y*rt+C*q),J=0|_[t+12>>2],U=0|_[64+(0|_[J>>2])>>2],p[W>>2]=c*nt+R*Z+u*it,p[W+4>>2]=v*nt+b*Z+h*it,p[W+8>>2]=w*nt+A*Z+g*it,p[W+12>>2]=0,rd[127&U](W+16|0,J,W),Y=(z-($=X+(c*(rt=+p[W+16>>2])+v*(Y=+p[W+16+4>>2])+w*(et=+p[W+16+8>>2]))))*nt+(K-(tt=M+(R*rt+b*Y+A*et)))*Z+(q-(et=N+(u*rt+h*Y+g*et)))*it,O>1){F=0,_t=24;break}if(Y>0){if((x=D*nt+I*Z+B*it)>=-14210854715202004e-30){F=0,_t=24;break}O=E=O-Y/x,F=L,X=(1-E)*+p[o+48>>2]+E*+p[r+48>>2],V=(1-E)*+p[e+48>>2]+E*+p[i+48>>2],M=(1-E)*+p[o+52>>2]+E*+p[r+52>>2],G=(1-E)*+p[e+52>>2]+E*+p[i+52>>2],N=(1-E)*+p[o+56>>2]+E*+p[r+56>>2],E=(1-E)*+p[e+56>>2]+E*+p[i+56>>2],x=nt,T=Z,P=it}if(L=0|_[t+4>>2],(0|(J=0|_[L>>2]))>0){Z=+p[L+308>>2],U=0,H=0;do{H|=(it=z-$-+p[L+4+(U<<4)>>2])*it+(nt=K-tt-+p[L+4+(U<<4)+4>>2])*nt+(rt=q-et-+p[L+4+(U<<4)+8>>2])*rt<=Z,U=U+1|0}while((0|U)!=(0|J))}else H=0;if(0==+p[L+304>>2]&&q-et==+p[L+300>>2]&&K-tt==+p[L+296>>2]?z-$==+p[L+292>>2]|H||(_t=16):H||(_t=16),16==(0|_t)&&(_t=0,p[L+292>>2]=z-$,p[L+296>>2]=K-tt,p[L+300>>2]=q-et,p[L+304>>2]=0,n[L+356|0]=1,p[L+4+(J<<4)>>2]=z-$,p[L+4+(J<<4)+4>>2]=K-tt,p[L+4+(J<<4)+8>>2]=q-et,p[L+4+(J<<4)+12>>2]=0,J=0|_[L>>2],p[L+84+(J<<4)>>2]=z,p[L+84+(J<<4)+4>>2]=K,p[L+84+(J<<4)+8>>2]=q,p[L+84+(J<<4)+12>>2]=0,J=0|_[L>>2],p[L+164+(J<<4)>>2]=$,p[L+164+(J<<4)+4>>2]=tt,p[L+164+(J<<4)+8>>2]=et,p[L+164+(J<<4)+12>>2]=0,_[L>>2]=1+(0|_[L>>2]),L=0|_[t+4>>2]),J=0|fi(L),nt=+p[L+276>>2],Z=+p[L+280>>2],it=+p[L+284>>2],!J)break t;if(!(nt*nt+Z*Z+it*it>9999999747378752e-20))break t;L=0|_[L+288>>2]}if(24==(0|_t))return Q=W,0|F}else O=0,P=0,T=0,x=0,F=0}while(0);return p[s+164>>2]=O,(O=x*x+T*T+P*P)>=14210854715202004e-30?(O=x*(rt=1/+l(+O)),x=T*rt,T=P*rt,p[s+132>>2]=O,p[s+136>>2]=x,p[s+140>>2]=T,_[s+144>>2]=F):(_[s+132>>2]=0,_[s+132+4>>2]=0,_[s+132+8>>2]=0,_[s+132+12>>2]=0,O=0,x=0,T=0),D*O+I*x+B*T>=-+p[s+172>>2]?(Q=W,0|(s=0)):(fi(t=0|_[t+4>>2]),Do(s+148|0,t+260|0,16),Q=W,0|(s=1))}function Pi(t,e,i){e|=0,i|=0;var o,r,s,c,a=0,b=0,d=0,A=0,f=0,u=0,m=0,g=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0,O=0,x=0,T=0;I=+p[48+(t|=0)>>2],d=+p[e>>2],B=+p[t+64>>2],A=+p[e+4>>2],T=+p[t+80>>2],u=+p[e+8>>2],C=+p[t+52>>2],g=+p[t+68>>2],m=+p[t+84>>2],k=+p[t+56>>2],x=+p[t+72>>2],R=+p[t+88>>2],w=+p[e+16>>2],S=+p[e+20>>2],v=+p[e+24>>2],O=+p[e+32>>2],W=+p[e+36>>2],F=+p[e+40>>2],f=+p[t+96>>2],b=+p[t+100>>2],D=+p[t+104>>2],j=+p[e+48>>2]+(d*f+A*b+u*D),a=w*f+S*b+v*D+ +p[e+52>>2],D=O*f+W*b+F*D+ +p[e+56>>2],p[t+1064>>2]=I*d+B*A+T*u,p[t+1068>>2]=d*C+A*g+u*m,p[t+1072>>2]=d*k+A*x+u*R,p[t+1076>>2]=0,p[t+1080>>2]=I*w+B*S+T*v,p[t+1084>>2]=C*w+g*S+m*v,p[t+1088>>2]=k*w+x*S+R*v,p[t+1092>>2]=0,p[t+1096>>2]=I*O+B*W+T*F,p[t+1100>>2]=C*O+g*W+m*F,p[t+1104>>2]=k*O+x*W+R*F,p[t+1108>>2]=0,p[t+1112>>2]=j,p[t+1116>>2]=a,p[t+1120>>2]=D,p[t+1124>>2]=0,D=+p[t+112>>2],a=+p[i>>2],j=+p[t+128>>2],F=+p[i+4>>2],R=+p[t+144>>2],W=+p[i+8>>2],x=+p[t+116>>2],O=+p[t+132>>2],k=+p[t+148>>2],m=+p[t+120>>2],g=+p[t+136>>2],C=+p[t+152>>2],T=+p[i+16>>2],B=+p[i+20>>2],I=+p[i+24>>2],v=+p[i+32>>2],S=+p[i+36>>2],w=+p[i+40>>2],u=+p[t+160>>2],A=+p[t+164>>2],d=+p[t+168>>2],b=+p[i+48>>2]+(a*u+F*A+W*d),f=T*u+B*A+I*d+ +p[i+52>>2],d=v*u+S*A+w*d+ +p[i+56>>2],p[t+1128>>2]=D*a+j*F+R*W,p[t+1132>>2]=a*x+F*O+W*k,p[t+1136>>2]=a*m+F*g+W*C,p[t+1140>>2]=0,p[t+1144>>2]=D*T+j*B+R*I,p[t+1148>>2]=x*T+O*B+k*I,p[t+1152>>2]=m*T+g*B+C*I,p[t+1156>>2]=0,p[t+1160>>2]=D*v+j*S+R*w,p[t+1164>>2]=x*v+O*S+k*w,p[t+1168>>2]=m*v+g*S+C*w,p[t+1172>>2]=0,p[t+1176>>2]=b,p[t+1180>>2]=f,p[t+1184>>2]=d,p[t+1188>>2]=0,b-=+p[t+1112>>2],f-=+p[t+1116>>2],d-=+p[t+1120>>2],k=+p[t+1084>>2],O=+p[t+1104>>2],x=+p[t+1088>>2],R=+p[t+1100>>2],j=+p[t+1096>>2],D=+p[t+1080>>2],I=+p[t+1064>>2],a=d*((x*(B=+p[t+1068>>2])-k*(T=+p[t+1072>>2]))*(W=1/((k*O-x*R)*I+B*(x*j-O*D)+(R*D-k*j)*T)))+(b*((k*O-x*R)*W)+f*((R*T-O*B)*W)),A=d*((D*T-x*I)*W)+(b*((x*j-O*D)*W)+f*((O*I-j*T)*W)),f=d*((k*I-D*B)*W)+(b*(F=(R*D-k*j)*W)+f*((j*B-R*I)*W)),p[t+1256>>2]=a,p[t+1260>>2]=A,p[t+1264>>2]=f,p[t+1268>>2]=0,p[t+840>>2]=a,b=+p[t+680>>2],d=+p[t+696>>2];do{if(!(b>d)){if(b>a){_[t+856>>2]=2,a-=b;break}if(d<a){_[t+856>>2]=1,a-=d;break}_[t+856>>2]=0,a=0;break}_[t+856>>2]=0,a=0}while(0);p[t+824>>2]=a,p[t+844>>2]=A,a=+p[t+684>>2],b=+p[t+700>>2];do{if(!(a>b)){if(a>A){_[t+860>>2]=2,a=A-a;break}if(b<A){_[t+860>>2]=1,a=A-b;break}_[t+860>>2]=0,a=0;break}_[t+860>>2]=0,a=0}while(0);p[t+828>>2]=a,p[t+848>>2]=f,a=+p[t+688>>2],b=+p[t+704>>2];do{if(!(a>b)){if(a>f){_[t+864>>2]=2,a=f-a;break}if(b<f){_[t+864>>2]=1,a=f-b;break}_[t+864>>2]=0,a=0;break}_[t+864>>2]=0,a=0}while(0);p[t+832>>2]=a,s=+p[t+1128>>2],c=+p[t+1144>>2],u=+p[t+1160>>2],f=(k*O-x*R)*W*(b=+p[t+1132>>2])+(R*T-O*B)*W*(d=+p[t+1148>>2])+(x*B-k*T)*W*(A=+p[t+1164>>2]),o=b*((x*j-O*D)*W)+(O*I-j*T)*W*d+(D*T-x*I)*W*A,r=u*((k*I-D*B)*W)+(s*F+c*((j*B-R*I)*W)),a=F*+p[t+1136>>2]+(j*B-R*I)*W*+p[t+1152>>2]+(k*I-D*B)*W*(m*v+g*S+C*w);do{if(r<1){if(r>-1){a=+y(+-(b*F+(j*B-R*I)*W*d+(k*I-D*B)*W*A),+a),p[t+1192>>2]=a,a=+h(+((a=r<-1?-1:r)>1?1:a)),p[t+1196>>2]=a,a=+y(+-(u*((D*T-x*I)*W)+(s*((x*j-O*D)*W)+c*((O*I-j*T)*W))),+(u*((x*B-k*T)*W)+(s*((k*O-x*R)*W)+c*((R*T-O*B)*W))));break}a=-+y(+f,+o),p[t+1192>>2]=a,p[t+1196>>2]=-1.5707963705062866,a=0;break}a=+y(+f,+o),p[t+1192>>2]=a,p[t+1196>>2]=1.5707963705062866,a=0}while(0);p[t+1200>>2]=a,p[t+1236>>2]=0,R=O*(s*O-u*T)-x*(c*T-s*x),j=T*(c*T-s*x)-O*(u*x-c*O),D=x*(u*x-c*O)-T*(s*O-u*T),p[t+1220>>2]=0,B=c*(c*T-s*x)-u*(s*O-u*T),W=u*(u*x-c*O)-s*(c*T-s*x),F=s*(s*O-u*T)-c*(u*x-c*O),p[t+1252>>2]=0,I=1/+l(+(R*R+j*j+D*D)),p[t+1208>>2]=R*I,p[t+1212>>2]=j*I,p[t+1216>>2]=D*I,I=1/+l(+((c*T-s*x)*(c*T-s*x)+((s*O-u*T)*(s*O-u*T)+(u*x-c*O)*(u*x-c*O)))),p[t+1224>>2]=(u*x-c*O)*I,p[t+1228>>2]=(s*O-u*T)*I,p[t+1232>>2]=(c*T-s*x)*I,T=1/+l(+(B*B+W*W+F*F)),p[t+1240>>2]=B*T,p[t+1244>>2]=W*T,p[t+1248>>2]=F*T,0|n[t+1301|0]&&(x=+p[344+(0|_[t+28>>2])>>2],T=+p[344+(0|_[t+32>>2])>>2],n[t+1280|0]=1&(x<1.1920928955078125e-7|T<1.1920928955078125e-7),T=x+T>0?T/(x+T):.5,p[t+1272>>2]=T,p[t+1276>>2]=1-T)}function Vi(t,e,i,n,o,r){t|=0,e|=0,i|=0,n|=0,o|=0,r=+r;var s,c,a,b,d=0,l=0,A=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0;if(s=Q,Q=Q+272|0,_[s+128>>2]=_[i>>2],_[s+128+4>>2]=_[i+4>>2],_[s+128+8>>2]=_[i+8>>2],_[s+128+12>>2]=_[i+12>>2],_[s+128+16>>2]=_[i+16>>2],_[s+128+16+4>>2]=_[i+16+4>>2],_[s+128+16+8>>2]=_[i+16+8>>2],_[s+128+16+12>>2]=_[i+16+12>>2],_[s+128+32>>2]=_[i+32>>2],_[s+128+32+4>>2]=_[i+32+4>>2],_[s+128+32+8>>2]=_[i+32+8>>2],_[s+128+32+12>>2]=_[i+32+12>>2],_[s+128+48>>2]=_[i+48>>2],_[s+128+48+4>>2]=_[i+48+4>>2],_[s+128+48+8>>2]=_[i+48+8>>2],_[s+128+48+12>>2]=_[i+48+12>>2],_[s+64>>2]=_[n>>2],_[s+64+4>>2]=_[n+4>>2],_[s+64+8>>2]=_[n+8>>2],_[s+64+12>>2]=_[n+12>>2],_[s+64+16>>2]=_[n+16>>2],_[s+64+16+4>>2]=_[n+16+4>>2],_[s+64+16+8>>2]=_[n+16+8>>2],_[s+64+16+12>>2]=_[n+16+12>>2],_[s+64+32>>2]=_[n+32>>2],_[s+64+32+4>>2]=_[n+32+4>>2],_[s+64+32+8>>2]=_[n+32+8>>2],_[s+64+32+12>>2]=_[n+32+12>>2],_[s+64+48>>2]=_[n+48>>2],_[s+64+48+4>>2]=_[n+48+4>>2],_[s+64+48+8>>2]=_[n+48+8>>2],_[s+64+48+12>>2]=_[n+48+12>>2],d=+p[s+64+52>>2]-+p[s+128+52>>2],W=+p[s+64+56>>2]-+p[s+128+56>>2],p[s+16>>2]=+p[s+64+48>>2]-+p[s+128+48>>2],p[s+16+4>>2]=d,p[s+16+8>>2]=W,p[s+16+12>>2]=0,$(s+128|0,s+64|0,s+208|0,s+192|0),d=(W=+p[s+192>>2])*+p[s+208+4>>2],B=W*+p[s+208+8>>2],p[s>>2]=+p[s+208>>2]*W,p[s+4>>2]=d,p[s+8>>2]=B,p[s+12>>2]=0,_[s+208+48>>2]=0,_[s+208+48+4>>2]=0,_[s+208+48+8>>2]=0,_[s+208+48+12>>2]=0,Qt(s+128|0,s+192|0),c=(B=+p[s+192>>2])*(2/(B*B+(d=+p[s+192+4>>2])*d+(W=+p[s+192+8>>2])*W+(a=+p[s+192+12>>2])*a)),l=d*(2/(B*B+d*d+W*W+a*a)),b=W*(2/(B*B+d*d+W*W+a*a)),p[s+208>>2]=1-(d*l+W*b),p[s+208+4>>2]=B*l-a*b,p[s+208+8>>2]=B*b+a*l,p[s+208+12>>2]=0,p[s+208+16>>2]=B*l+a*b,p[s+208+20>>2]=1-(B*c+W*b),p[s+208+24>>2]=d*b-a*c,p[s+208+28>>2]=0,p[s+208+32>>2]=B*b-a*l,p[s+208+36>>2]=d*b+a*c,p[s+208+40>>2]=1-(B*c+d*l),p[s+208+44>>2]=0,Lt(e,s+208|0,s+16|0,s,s+48|0,s+32|0),(0|_[t+268>>2])<=0)Q=s;else{A=0;do{f=0|_[(0|_[t+276>>2])+(A<<2)>>2],0|Qb[31&_[8+(0|_[o>>2])>>2]](o,0|_[f+188>>2])&&(D=0|_[f+192>>2],cd[127&_[8+(0|_[D>>2])>>2]](D,f+4|0,s+192|0,s+16|0),u=+p[s+192>>2]+ +p[s+48>>2],m=+p[s+192+4>>2]+ +p[s+48+4>>2],h=+p[s+192+8>>2]+ +p[s+48+8>>2],p[s+192>>2]=u,p[s+192+4>>2]=m,p[s+192+8>>2]=h,p[s+192+12>>2]=0,y=+p[s+16>>2]+ +p[s+32>>2],g=+p[s+16+4>>2]+ +p[s+32+4>>2],C=+p[s+16+8>>2]+ +p[s+32+8>>2],p[s+16>>2]=y,p[s+16+4>>2]=g,p[s+16+8>>2]=C,p[s+16+12>>2]=0,v=+p[i+48>>2]-.5*(y+u),S=+p[i+52>>2]-.5*(g+m),w=+p[i+56>>2]-.5*(C+h),!((I=((k=+p[n+48>>2]-.5*(y+u))>.5*(y-u)?8:0)|k<-.5*(y-u)|((R=+p[n+52>>2]-.5*(g+m))<-.5*(g-m)?2:0)|(R>.5*(g-m)?16:0)|((j=+p[n+56>>2]-.5*(C+h))<-.5*(C-h)?4:0)|(j>.5*(C-h)?32:0))&(D=(v>.5*(y-u)?8:0)|v<-.5*(y-u)|(S<-.5*(g-m)?2:0)|(S>.5*(g-m)?16:0)|(w<-.5*(C-h)?4:0)|(w>.5*(C-h)?32:0))))&&(v<-.5*(y-u)?(-v-.5*(y-u))/(k-v)>=0?(d=(-v-.5*(y-u))/(k-v),l=1):(d=0,l=1):k<-.5*(y-u)&&(-v-.5*(y-u))/(k-v)<1?(d=0,l=(-v-.5*(y-u))/(k-v)):(d=0,l=1),S<-.5*(g-m)?d<=(-S-.5*(g-m))/(R-S)&&(d=(-S-.5*(g-m))/(R-S)):R<-.5*(g-m)&&(-S-.5*(g-m))/(R-S)<l&&(l=(-S-.5*(g-m))/(R-S)),w<-.5*(C-h)?d<=(-w-.5*(C-h))/(j-w)&&(d=(-w-.5*(C-h))/(j-w)):j<-.5*(C-h)&&(-w-.5*(C-h))/(j-w)<l&&(l=(-w-.5*(C-h))/(j-w)),v>.5*(y-u)?d<=(.5*(y-u)-v)/(k-v)&&(d=(.5*(y-u)-v)/(k-v)):k>.5*(y-u)&&(.5*(y-u)-v)/(k-v)<l&&(l=(.5*(y-u)-v)/(k-v)),S>.5*(g-m)?d<=(.5*(g-m)-S)/(R-S)&&(d=(.5*(g-m)-S)/(R-S)):R>.5*(g-m)&&(.5*(g-m)-S)/(R-S)<l&&(l=(.5*(g-m)-S)/(R-S)),32&D?d<=(.5*(C-h)-w)/(j-w)&&(d=(.5*(C-h)-w)/(j-w)):32&I&&(.5*(C-h)-w)/(j-w)<l&&(l=(.5*(C-h)-w)/(j-w)),d<=l&&(F=0|_[f+192>>2],_[s+208>>2]=0,_[s+208+4>>2]=F,_[s+208+8>>2]=f,_[s+208+12>>2]=f+4,_[s+208+16>>2]=-1,_[s+208+20>>2]=-1,mi(e,s+128|0,s+64|0,s+208|0,o,r))),A=A+1|0}while((0|A)<(0|_[t+268>>2]));Q=s}}function Mi(t,e){e|=0;var i=0,n=0,o=0,r=0,s=0,p=0,c=0,a=0,b=0,d=0,l=0,A=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0,O=0;if(!((0|(i=0|_[8+(t|=0)>>2]))<=0)){o=0;do{n=0|_[(0|_[t+16>>2])+(o<<2)>>2],1==(0|_[n+236>>2])&&(id[127&_[24+(0|_[n>>2])>>2]](n,e),i=0|_[t+8>>2]),o=o+1|0}while((0|o)<(0|i));if(!((0|(s=i))<=0)){for(p=0,A=0,h=0,m=0,r=0,o=0,w=0,S=0,v=0,n=0,u=0,f=0,i=0,b=0,l=0;;){y=9*(~((k=0|_[192+(0|_[(0|_[t+16>>2])+(p<<2)>>2])>>2])<<15)+k>>10^~(k<<15)+k)|0,c=(y=(y^=y>>6)+~(y<<11)>>16^y+~(y<<11))&f+-1;t:do{if(c>>>0<w>>>0&&(R=0|_[o+(c<<2)>>2],-1!=(0|R))){for(c=R;(0|_[r+(c<<3)>>2])!=(0|k);)if(-1==(0|(c=0|_[n+(c<<2)>>2]))){W=14;break t}i+(c<<2)|0?(c=w,d=S,a=v):W=14}else W=14}while(0);if(14==(0|W)){W=0,d=y&f+-1;t:do{if(d>>>0<w>>>0&&(j=0|_[o+(d<<2)>>2],-1!=(0|j))){for(s=j;(0|_[r+(s<<3)>>2])!=(0|k);)if(-1==(0|(s=0|_[n+(s<<2)>>2]))){W=20;break t}_[i+(s<<2)>>2]=k,c=w,d=S,a=v}else W=20}while(0);if(20==(0|W)){W=0;do{if((0|u)==(0|f))if((0|f)<(0|(c=0|f?f<<1:1))){if(0|c&&(_[6630]=1+(0|_[6630]),0|(B=0|di(16+(c<<2|3)|0)))?(_[(B+4+15&-16)-4>>2]=B,a=B+4+15&-16):a=0,(0|f)<=0){if(!i){C=c,i=a,s=f;break}}else{s=0;do{_[a+(s<<2)>>2]=_[i+(s<<2)>>2],s=s+1|0}while((0|s)!=(0|f))}_[6631]=1+(0|_[6631]),Li(0|_[i+-4>>2]),C=c,i=a,s=f}else C=f,s=f;else C=f,s=u}while(0);_[i+(s<<2)>>2]=k,g=s+1|0;do{if((0|h)==(0|m))if((0|h)<(0|(c=0|h?h<<1:1))){if(0|c&&(_[6630]=1+(0|_[6630]),0|(D=0|di(16+(c<<3|3)|0)))?(_[(D+4+15&-16)-4>>2]=D,a=D+4+15&-16):a=0,(0|h)<=0){if(!r){m=c,r=a;break}}else{s=0;do{F=0|_[4+(O=r+(s<<3)|0)>>2],_[(m=a+(s<<3)|0)>>2]=_[O>>2],_[m+4>>2]=F,s=s+1|0}while((0|s)!=(0|h))}_[6631]=1+(0|_[6631]),Li(0|_[r+-4>>2]),m=c,r=a}else m=h}while(0);if(_[(O=r+(h<<3)|0)>>2]=k,_[O+4>>2]=0,h=h+1|0,(0|f)<(0|C)){if((0|w)<(0|C)){do{if((0|A)<(0|C)){if(0|C&&(_[6630]=1+(0|_[6630]),0|(I=0|di(16+(C<<2|3)|0)))?(_[(I+4+15&-16)-4>>2]=I,c=I+4+15&-16):c=0,(0|w)<=0){if(!o){A=C,o=c,l=c;break}}else{s=0;do{_[c+(s<<2)>>2]=_[o+(s<<2)>>2],s=s+1|0}while((0|s)!=(0|w))}_[6631]=1+(0|_[6631]),Li(0|_[o+-4>>2]),A=C,o=c,l=c}}while(0);if(wn(o+(w<<2)|0,0,(d=C<<2)-(w<<2)|0),(0|S)<(0|C)){do{if((0|v)<(0|C)){do{if(C){if(_[6630]=1+(0|_[6630]),!(s=0|di(16+(3|d)|0))){c=0;break}_[(s+4+15&-16)-4>>2]=s,c=s+4+15&-16}else c=0}while(0);if((0|S)<=0){if(!n){a=C,n=c,s=c;break}}else{s=0;do{_[c+(s<<2)>>2]=_[n+(s<<2)>>2],s=s+1|0}while((0|s)!=(0|S))}_[6631]=1+(0|_[6631]),Li(0|_[n+-4>>2]),a=C,n=c,s=c}else a=v,s=b}while(0);wn(n+(S<<2)|0,0,d-(S<<2)|0),b=s}else a=v;if((0|C)>0&&(wn(0|l,-1,0|d),wn(0|b,-1,0|d)),(0|w)>0){c=C+-1|0,s=0;do{O=9*((O=0|_[r+(s<<3)>>2])+~(O<<15)>>10^O+~(O<<15))|0,O=o+((((O^=O>>6)+~(O<<11)>>16^O+~(O<<11))&c)<<2)|0,_[n+(s<<2)>>2]=_[O>>2],_[O>>2]=s,s=s+1|0}while((0|s)!=(0|w));c=C,d=C,s=l}else c=C,d=C,s=l}else c=w,d=S,a=v,s=l;f=y&C+-1}else f=d,c=w,d=S,a=v,s=l;f=o+(f<<2)|0,_[n+(u<<2)>>2]=_[f>>2],_[f>>2]=u,u=g,f=C,l=s}id[127&_[60+(0|_[k>>2])>>2]](k,e),s=0|_[t+8>>2]}if((0|(p=p+1|0))>=(0|s))break;w=c,S=d,v=a}0|r&&(_[6631]=1+(0|_[6631]),Li(0|_[r+-4>>2])),0|i&&(_[6631]=1+(0|_[6631]),Li(0|_[i+-4>>2])),0|n&&(_[6631]=1+(0|_[6631]),Li(0|_[n+-4>>2])),o&&(_[6631]=1+(0|_[6631]),Li(0|_[o+-4>>2]))}}}function Gi(t){var e=0,i=0,o=0,r=0,s=0,p=0;_[(t|=0)>>2]=4028,0|(e=0|_[t+192>>2])&&zb[511&_[4+(0|_[e>>2])>>2]](e);t:do{if((0|_[t+1112>>2])>0)do{if(s=0|_[_[t+1120>>2]>>2],0|(e=0|_[s+348>>2])&&(Tt(t+1048|0,e),0|(i=0|_[t+1052>>2])&&(_[6631]=1+(0|_[6631]),Li(0|_[i+-4>>2])),_[t+1052>>2]=e,_[t+1060>>2]=(0|_[t+1060>>2])-1),0|(e=0|_[s+52>>2])&&(0|n[s+56|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[s+52>>2]=0),n[s+56|0]=1,_[s+52>>2]=0,_[s+44>>2]=0,_[s+48>>2]=0,0|(e=0|_[s+32>>2])&&(0|n[s+36|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[s+32>>2]=0),n[s+36|0]=1,_[s+32>>2]=0,_[s+24>>2]=0,_[s+28>>2]=0,0|(e=0|_[s+12>>2])&&(0|n[s+16|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[s+12>>2]=0),n[s+16|0]=1,_[s+12>>2]=0,_[s+4>>2]=0,_[s+8>>2]=0,_[6631]=1+(0|_[6631]),Li(0|_[s+-4>>2]),(0|(e=0|_[t+1112>>2]))<=0)break t;r=0|_[t+1120>>2],i=0;do{if((0|_[(o=r+(i<<2)|0)>>2])==(0|s)){p=25;break}i=i+1|0}while((0|i)<(0|e));25==(0|p)&&(p=0,(0|i)<(0|e)&&(_[o>>2]=_[r+(e+-1<<2)>>2],_[(0|_[t+1120>>2])+(e+-1<<2)>>2]=s,_[t+1112>>2]=e+-1,e=e+-1|0))}while((0|e)>0)}while(0);if((0|(e=0|_[t+872>>2]))>0){o=0;do{(i=0|_[(0|_[t+880>>2])+(o<<2)>>2])&&(_[6631]=1+(0|_[6631]),Li(0|_[i+-4>>2]),e=0|_[t+872>>2]),o=o+1|0}while((0|o)<(0|e))}if((0|(e=0|_[t+852>>2]))>0){o=0;do{(i=0|_[(0|_[t+860>>2])+(o<<2)>>2])&&(_[6631]=1+(0|_[6631]),Li(0|_[i+-4>>2]),e=0|_[t+852>>2]),o=o+1|0}while((0|o)<(0|e))}if(0|(e=0|_[t+1244>>2])&&(0|n[t+1248|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+1244>>2]=0),n[t+1248|0]=1,_[t+1244>>2]=0,_[t+1236>>2]=0,_[t+1240>>2]=0,0|(e=0|_[t+1140>>2])&&(0|n[t+1144|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+1140>>2]=0),n[t+1144|0]=1,_[t+1140>>2]=0,_[t+1132>>2]=0,_[t+1136>>2]=0,0|(e=0|_[t+1120>>2])&&(0|n[t+1124|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+1120>>2]=0),n[t+1124|0]=1,_[t+1120>>2]=0,_[t+1112>>2]=0,_[t+1116>>2]=0,oe(t+1048|0),oe(t+988|0),oe(t+928|0),0|(e=0|_[t+880>>2])&&(0|n[t+884|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+880>>2]=0),n[t+884|0]=1,_[t+880>>2]=0,_[t+872>>2]=0,_[t+876>>2]=0,0|(e=0|_[t+860>>2])&&(0|n[t+864|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+860>>2]=0),n[t+864|0]=1,_[t+860>>2]=0,_[t+852>>2]=0,_[t+856>>2]=0,0|(e=0|_[t+840>>2])&&(0|n[t+844|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+840>>2]=0),n[t+844|0]=1,_[t+840>>2]=0,_[t+832>>2]=0,_[t+836>>2]=0,0|(e=0|_[t+820>>2])&&(0|n[t+824|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+820>>2]=0),n[t+824|0]=1,_[t+820>>2]=0,_[t+812>>2]=0,_[t+816>>2]=0,0|(e=0|_[t+800>>2])&&(0|n[t+804|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+800>>2]=0),n[t+804|0]=1,_[t+800>>2]=0,_[t+792>>2]=0,_[t+796>>2]=0,0|(e=0|_[t+780>>2])&&(0|n[t+784|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+780>>2]=0),n[t+784|0]=1,_[t+780>>2]=0,_[t+772>>2]=0,_[t+776>>2]=0,0|(e=0|_[t+760>>2])&&(0|n[t+764|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+760>>2]=0),n[t+764|0]=1,_[t+760>>2]=0,_[t+752>>2]=0,_[t+756>>2]=0,0|(e=0|_[t+740>>2])&&(0|n[t+744|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+740>>2]=0),n[t+744|0]=1,_[t+740>>2]=0,_[t+732>>2]=0,_[t+736>>2]=0,0|(e=0|_[t+720>>2])&&(0|n[t+724|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+720>>2]=0),n[t+724|0]=1,_[t+720>>2]=0,_[t+712>>2]=0,_[t+716>>2]=0,0|(e=0|_[t+700>>2])&&(0|n[t+704|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+700>>2]=0),n[t+704|0]=1,_[t+700>>2]=0,_[t+692>>2]=0,_[t+696>>2]=0,0|(e=0|_[t+512>>2])&&(0|n[t+516|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+512>>2]=0),n[t+516|0]=1,_[t+512>>2]=0,_[t+504>>2]=0,_[t+508>>2]=0,0|(e=0|_[t+492>>2])&&(0|n[t+496|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+492>>2]=0),n[t+496|0]=1,_[t+492>>2]=0,_[t+484>>2]=0,_[t+488>>2]=0,fr(t+288|0),!(e=0|_[t+276>>2]))return n[t+280|0]=1,_[t+276>>2]=0,_[t+268>>2]=0,_[(p=t+272|0)>>2]=0,void(_[t>>2]=5904);0|n[t+280|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+276>>2]=0,n[t+280|0]=1,_[t+276>>2]=0,_[t+268>>2]=0,_[(p=t+272|0)>>2]=0,_[t>>2]=5904}function Li(t){var e=0,i=0,n=0,o=0,r=0,s=0,p=0,c=0;if(t|=0){e=0|_[6652],c=t+-8+(-8&(i=0|_[t+-4>>2]))|0;do{if(1&i)p=t+-8|0,e=-8&i,s=t+-8|0;else{if(n=0|_[t+-8>>2],!(3&i))return;if(r=n+(-8&i)|0,(s=t+-8+(0-n)|0)>>>0<e>>>0)return;if((0|_[6653])==(0|s)){if(3&~(e=0|_[c+4>>2])){p=s,e=r;break}return _[6650]=r,_[c+4>>2]=-2&e,_[s+4>>2]=1|r,void(_[s+r>>2]=r)}if(i=n>>>3,n>>>0<256){if(e=0|_[s+8>>2],(0|(t=0|_[s+12>>2]))==(0|e)){_[6648]=_[6648]&~(1<<i),p=s,e=r;break}_[e+12>>2]=t,_[t+8>>2]=e,p=s,e=r;break}o=0|_[s+24>>2],e=0|_[s+12>>2];do{if((0|e)==(0|s)){if(e=0|_[s+16+4>>2])t=s+16+4|0;else{if(!(e=0|_[s+16>>2])){e=0;break}t=s+16|0}for(;;)if(i=0|_[(n=e+20|0)>>2])e=i,t=n;else{if(!(i=0|_[(n=e+16|0)>>2]))break;e=i,t=n}_[t>>2]=0}else p=0|_[s+8>>2],_[p+12>>2]=e,_[e+8>>2]=p}while(0);if(o){if(t=0|_[s+28>>2],(0|_[26896+(t<<2)>>2])==(0|s)){if(_[26896+(t<<2)>>2]=e,!e){_[6649]=_[6649]&~(1<<t),p=s,e=r;break}}else if(_[((0|_[o+16>>2])==(0|s)?o+16:o+20)>>2]=e,!e){p=s,e=r;break}_[e+24>>2]=o,0|(t=0|_[s+16>>2])&&(_[e+16>>2]=t,_[t+24>>2]=e),(t=0|_[s+16+4>>2])?(_[e+20>>2]=t,_[t+24>>2]=e,p=s,e=r):(p=s,e=r)}else p=s,e=r}}while(0);if(!(s>>>0>=c>>>0)&&1&(t=0|_[c+4>>2])){if(2&t)_[c+4>>2]=-2&t,_[p+4>>2]=1|e,_[s+e>>2]=e,o=e;else{if((0|_[6654])==(0|c)){if(c=(0|_[6651])+e|0,_[6651]=c,_[6654]=p,_[p+4>>2]=1|c,(0|p)!=(0|_[6653]))return;return _[6653]=0,void(_[6650]=0)}if((0|_[6653])==(0|c))return c=(0|_[6650])+e|0,_[6650]=c,_[6653]=s,_[p+4>>2]=1|c,void(_[s+c>>2]=c);o=(-8&t)+e|0,i=t>>>3;do{if(t>>>0<256){if(t=0|_[c+8>>2],(0|(e=0|_[c+12>>2]))==(0|t)){_[6648]=_[6648]&~(1<<i);break}_[t+12>>2]=e,_[e+8>>2]=t;break}r=0|_[c+24>>2],e=0|_[c+12>>2];do{if((0|e)==(0|c)){if(e=0|_[c+16+4>>2])t=c+16+4|0;else{if(!(e=0|_[c+16>>2])){t=0;break}t=c+16|0}for(;;)if(i=0|_[(n=e+20|0)>>2])e=i,t=n;else{if(!(i=0|_[(n=e+16|0)>>2]))break;e=i,t=n}_[t>>2]=0,t=e}else t=0|_[c+8>>2],_[t+12>>2]=e,_[e+8>>2]=t,t=e}while(0);if(0|r){if(e=0|_[c+28>>2],(0|_[26896+(e<<2)>>2])==(0|c)){if(_[26896+(e<<2)>>2]=t,!t){_[6649]=_[6649]&~(1<<e);break}}else if(_[((0|_[r+16>>2])==(0|c)?r+16:r+20)>>2]=t,!t)break;_[t+24>>2]=r,0|(e=0|_[c+16>>2])&&(_[t+16>>2]=e,_[e+24>>2]=t),0|(e=0|_[c+16+4>>2])&&(_[t+20>>2]=e,_[e+24>>2]=t)}}while(0);if(_[p+4>>2]=1|o,_[s+o>>2]=o,(0|p)==(0|_[6653]))return void(_[6650]=o)}if(i=o>>>3,o>>>0<256)return(e=0|_[6648])&1<<i?(e=0|_[26632+(i<<1<<2)+8>>2],t=26632+(i<<1<<2)+8|0):(_[6648]=e|1<<i,e=26632+(i<<1<<2)|0,t=26632+(i<<1<<2)+8|0),_[t>>2]=p,_[e+12>>2]=p,_[p+8>>2]=e,void(_[p+12>>2]=26632+(i<<1<<2));e=26896+((n=(e=o>>>8)?o>>>0>16777215?31:1&(7+(n=14-((c=(520192+(e<<(s=(e+1048320|0)>>>16&8))|0)>>>16&4)|s|(n=(245760+(e<<s<<c)|0)>>>16&2))+(e<<s<<c<<n>>>15)|0)|0?o>>>(n+7|0):o)|n<<1:0)<<2)|0,_[p+28>>2]=n,_[p+20>>2]=0,_[p+16>>2]=0,t=0|_[6649],i=1<<n;t:do{if(t&i){e=0|_[e>>2];e:do{if((-8&_[e+4>>2])!=(0|o)){for(n=o<<(31==(0|n)?0:25-(n>>>1)|0);t=0|_[(i=e+16+(n>>>31<<2)|0)>>2];){if((-8&_[t+4>>2])==(0|o)){e=t;break e}n<<=1,e=t}_[i>>2]=p,_[p+24>>2]=e,_[p+12>>2]=p,_[p+8>>2]=p;break t}}while(0);c=0|_[(s=e+8|0)>>2],_[c+12>>2]=p,_[s>>2]=p,_[p+8>>2]=c,_[p+12>>2]=e,_[p+24>>2]=0}else _[6649]=t|i,_[e>>2]=p,_[p+24>>2]=e,_[p+12>>2]=p,_[p+8>>2]=p}while(0);if(c=(0|_[6656])-1|0,_[6656]=c,!(0|c)){for(e=27048;e=0|_[e>>2];)e=e+8|0;_[6656]=-1}}}}function Ni(t,e,i,n,o,r,s){t|=0,e|=0,n|=0,o|=0,r|=0,s|=0;var p=0,c=0,a=0,b=0,d=0,l=0,A=0,f=0,u=0,m=0,h=0,y=0,C=0,v=0,S=0,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0,O=0,x=0;if(!(c=0|_[8+(i|=0)>>2]))return 0|(s=0);p=0,B=c;do{if((0|_[B+20>>2])>(0|_[t+100>>2])){D=0|_[B+12>>2],k=(S=0|_[D+88>>2])-(0|_[i+88>>2])|0,j=(R=0|_[D+92>>2])-(0|_[i+92>>2])|0,I=(D=0|_[D+96>>2])-(0|_[i+96>>2])|0,a=0|f_(0|_[r>>2],0|_[r+4>>2],0|k,((0|k)<0)<<31>>31),f=0|w(),f=0|Or(0|(c=0|f_(0|_[r+8>>2],0|_[r+8+4>>2],0|j,((0|j)<0)<<31>>31)),0|w(),0|a,0|f),c=0|Or(0|f,0|(a=0|w()),0|(c=0|f_(0|_[r+16>>2],0|_[r+16+4>>2],0|I,((0|I)<0)<<31>>31)),0|w()),a=0|w(),f=0|f_(0|_[o>>2],0|_[o+4>>2],0|k,((0|k)<0)<<31>>31),v=0|w(),v=0|Or(0|(A=0|f_(0|_[o+8>>2],0|_[o+8+4>>2],0|j,((0|j)<0)<<31>>31)),0|w(),0|f,0|v),A=0|Or(0|v,0|(f=0|w()),0|(A=0|f_(0|_[o+16>>2],0|_[o+16+4>>2],0|I,((0|I)<0)<<31>>31)),0|w()),f=0|w(),(0|a)>0|!(0|a)&c>>>0>0?(b=1,d=-1,v=c):(v=0|Ir(0,0,0|c,0|a),C=0|w(),b=(!!(0|c)|!!(0|a))<<31>>31,d=1&(!!(0|c)|!!(0|a)),v=!!(0|c)|!!(0|a)?v:0,a=!!(0|c)|!!(0|a)?C:0),(0|f)>0|!(0|f)&A>>>0>0?(l=f,u=8):(c=0|Ir(0,0,0|A,0|f),l=0|w(),!(0|(!!(0|A)|!!(0|f)?d:b))&!(0|(c=!!(0|A)|!!(0|f)?c:0))&!(0|(l=!!(0|A)|!!(0|f)?l:0))||(b=!!(0|A)|!!(0|f)?d:b,A=c,u=8));t:do{if(8==(0|u)){if(u=0,!p){_[s>>2]=v,_[s+4>>2]=a,_[s+8>>2]=A,_[s+8+4>>2]=l,_[s+16>>2]=b,p=B;break}(0|b)==(0|(c=0|_[s+16>>2]))?0|b&&(f=0|_[s+8>>2],h=0|_[s+8+4>>2],d=0|f_(0|f,0,0|v,0),c=0|w(),y=0|f_(0|h,0,0|v,0),m=0|w(),f=0|f_(0|f,0,0|a,0),u=0|w(),h=0|f_(0|h,0,0|a,0),O=0|w(),f=0|Or(0|y,0,0|f,0),y=0|w(),O=0|Or(0|m,0,0|h,0|O),u=0|Or(0|O,0|w(),0|u,0),y=0|Or(0|u,0|w(),0|y,0),u=0|w(),c=0|Or(0,0|f,0|d,0|c),f=0|Or(0|y,0|u,1&((d=0|w())>>>0<f>>>0|(0|d)==(0|f)&c>>>0<0),0),u=0|w(),y=0|_[s>>2],O=0|_[s+4>>2],h=0|f_(0|y,0,0|A,0),m=0|w(),W=0|f_(0|O,0,0|A,0),x=0|w(),y=0|f_(0|y,0,0|l,0),C=0|w(),O=0|f_(0|O,0,0|l,0),F=0|w(),y=0|Or(0|W,0,0|y,0),W=0|w(),F=0|Or(0|x,0,0|O,0|F),C=0|Or(0|F,0|w(),0|C,0),W=0|Or(0|C,0|w(),0|W,0),C=0|w(),m=0|Or(0,0|y,0|h,0|m),y=0|Or(0|W,0|C,1&((h=0|w())>>>0<y>>>0|(0|h)==(0|y)&m>>>0<0),0),C=0|w(),c=0|g(c=u>>>0<C>>>0|(0|u)==(0|C)&f>>>0<y>>>0?-1:u>>>0>C>>>0|(0|u)==(0|C)&f>>>0>y>>>0?1:d>>>0<h>>>0|(0|d)==(0|h)&c>>>0<m>>>0?-1:1&(d>>>0>h>>>0|(0|d)==(0|h)&c>>>0>m>>>0),b),u=17):(c=b-c|0,u=17);do{if(17==(0|u)){if(u=0,(0|c)>=0){if(c)break t;break}_[s>>2]=v,_[s+4>>2]=a,_[s+8>>2]=A,_[s+8+4>>2]=l,_[s+16>>2]=b,p=B;break t}}while(0);c=(0|_[p+4>>2])==(0|B),(0|_[p>>2])==(0|B)?c?(x=0|_[n+8>>2],W=0|g(x,j),C=0|_[n+4>>2],W=W-(0|g(C,I))|0,O=0|_[n>>2],x=(0|g(O,I))-(0|g(x,k))|0,O=(0|g(C,k))-(0|g(O,j))|0,C=0|_[p+12>>2],c=0|_[12+(0|_[B+8>>2])>>2],I=0|_[c+88>>2],k=(0|_[C+88>>2])-I|0,v=0|_[c+92>>2],j=(0|_[C+92>>2])-v|0,c=0|_[c+96>>2],C=(0|_[C+96>>2])-c|0,F=(0|g(D-c|0,j))-(0|g(C,R-v|0))|0,c=(0|g(C,S-I|0))-(0|g(D-c|0,k))|0,I=(0|g(R-v|0,k))-(0|g(j,S-I|0))|0,W=0|f_(0|F,((0|F)<0)<<31>>31,0|W,((0|W)<0)<<31>>31),F=0|w(),x=0|f_(0|c,((0|c)<0)<<31>>31,0|x,((0|x)<0)<<31>>31),c=0|w(),O=0|Or(0|W,0|F,0|(O=0|f_(0|I,((0|I)<0)<<31>>31,0|O,((0|O)<0)<<31>>31)),0|w()),c=0|Or(0|O,0|w(),0|x,0|c),c=(0|(x=0|w()))>0|!(0|x)&c>>>0>0?2:1):c=2:c&=1,p=2==(0|c)^e?p:B}}while(0);c=0|_[i+8>>2]}B=0|_[B>>2]}while((0|B)!=(0|c));return 0|p}function Qi(t,e){e|=0;var i=0,n=0,o=0,r=0,s=0;_[4+(t|=0)>>2]=35,_[t+8>>2]=0,_[t+12>>2]=1065353216,_[t+16>>2]=1065353216,_[t+20>>2]=1065353216,p[t+24>>2]=0,p[t+44>>2]=.03999999910593033,_[t>>2]=9136,_[t+52>>2]=1,o=+p[e>>2],n=+p[e+4>>2],i=+p[e+8>>2],(i=.10000000149011612*+p[e+((o<n?o<i?0:2:n<i?1:2)<<2)>>2])<.03999999910593033&&(s=+ca(t),r=+ca(t),o=+ca(t),s+=+p[t+28>>2],r+=+p[t+32>>2],o+=+p[t+36>>2],p[t+44>>2]=i,i=+ca(t),n=+ca(t),o-=+ca(t),p[t+28>>2]=s-i,p[t+32>>2]=r-n,p[t+36>>2]=o,p[t+40>>2]=0),o=+ca(t),r=+ca(t),s=+ca(t),r=+p[e+4>>2]-r,s=+p[e+8>>2]-s,p[t+28>>2]=+p[e>>2]-o,p[t+32>>2]=r,p[t+36>>2]=s,p[t+40>>2]=0,_[t+4>>2]=13}function Ei(t,e,i,o,r){e|=0,i|=0,o|=0,r|=0;var s,c,a,b=0,d=0,A=0,f=0;s=0|_[720+(t|=0)>>2];t:do{if(r&&(A=0|_[t+732>>2],(0|A)>0)){for(b=0|_[t+740>>2],r=0;;){if((0|(d=0|_[b+(52*r|0)+8>>2]))==(s+(104*e|0)|0)&&(0|_[b+(52*r|0)+12>>2])==(s+(104*i|0)|0)){r=10;break}if((0|d)==(s+(104*i|0)|0)&&(0|_[b+(52*r|0)+12>>2])==(s+(104*e|0)|0)){r=10;break}if((0|(r=r+1|0))>=(0|A))break t}if(10==(0|r))return}}while(0);ne(t,o),o=(0|_[t+732>>2])-1|0,A=0|_[t+740>>2],_[A+(52*o|0)+8>>2]=s+(104*e|0),_[A+(52*o|0)+12>>2]=s+(104*i|0),a=+p[s+(104*e|0)+8>>2]-+p[s+(104*i|0)+8>>2],c=+p[s+(104*e|0)+12>>2]-+p[s+(104*i|0)+12>>2],f=+p[s+(104*e|0)+16>>2]-+p[s+(104*i|0)+16>>2],f=+l(+(a*a+c*c+f*f)),p[A+(52*o|0)+16>>2]=f,n[t+924|0]=1}function Hi(t){var e=0,i=0,n=0,o=0,r=0,s=0,p=0,c=0,a=0;if(_[(t|=0)>>2]=4700,(0|_[t+104>>2])<=0)return zi(t=t+60|0),void Ki(t);a=0;do{if(c=0|_[684+(0|_[t+4>>2])>>2],p=(0|_[t+112>>2])+(a<<3)+4|0,e=0|_[p>>2],(0|(i=0|_[c+60>>2]))>0){s=0;do{if(r=(0|_[c+68>>2])+(s<<2)|0,n=0|_[r>>2]){for(o=0;i=n,n=0|_[n+280>>2],(0|_[i+276>>2])==(0|e)&&(_[(0|o?o+280:r)>>2]=n,gb(i),i=o),n;)o=i;i=0|_[c+60>>2]}s=s+1|0}while((0|s)<(0|i));e=0|_[p>>2]}0|e&&zb[511&_[4+(0|_[e>>2])>>2]](e),a=a+1|0}while((0|a)<(0|_[t+104>>2]));zi(t=t+60|0),Ki(t)}function Zi(t,e,i,n){t|=0,e|=0,n=+n;var o,_,r,s,c,a=0,b=0,d=0;o=Q,Q=Q+96|0,Mo(o+80|0,a=+p[(i|=0)>>2],b=+p[i+4>>2],d=+p[i+8>>2],+vs(a,b,d,+p[e>>2],+p[e+4>>2],+p[e+8>>2])),d=+p[o+80>>2],b=+p[o+80+4>>2],a=+p[o+80+8>>2],Fo(o+64|0,+p[e>>2],+p[e+4>>2],+p[e+8>>2],d,b,a),go(o+48|0,+p[i>>2],+p[i+4>>2],+p[i+8>>2],+p[e>>2],+p[e+4>>2],+p[e+8>>2]),s=+p[o+48>>2],r=+p[o+48+4>>2],_=+p[o+48+8>>2],c=+Ab(n),Mo(o+16|0,+p[o+64>>2],+p[o+64+4>>2],+p[o+64+8>>2],c),Bo(o+32|0,d,b,a,+p[o+16>>2],+p[o+16+4>>2],+p[o+16+8>>2]),Mo(o,s,r,_,+lb(n)),Bo(t,+p[o+32>>2],+p[o+32+4>>2],+p[o+32+8>>2],+p[o>>2],+p[o+4>>2],+p[o+8>>2]),Q=o}function Ui(t,e,i){e|=0,i|=0;var n,o,r,s,c,a,b,d,l,A=0;0|(n=0|_[4+(t|=0)>>2])&&Dn(n,e,i),(t=0|_[t>>2])&&(b=+p[e>>2],c=+p[t+128>>2],a=+p[e+4>>2],s=+p[e+8>>2],A=+p[i+4>>2],l=+p[i+8>>2],d=+p[i>>2],r=+p[t+180>>2]*(s*A-a*l)+ +p[t+184>>2]*(b*l-s*d)+(a*d-b*A)*+p[t+188>>2],o=(s*A-a*l)*+p[t+196>>2]+(b*l-s*d)*+p[t+200>>2]+(a*d-b*A)*+p[t+204>>2],A=(s*A-a*l)*+p[t+212>>2]+(b*l-s*d)*+p[t+216>>2]+(a*d-b*A)*+p[t+220>>2],p[t+276>>2]=b*c+ +p[t+276>>2],p[t+280>>2]=c*a+ +p[t+280>>2],p[t+284>>2]=c*s+ +p[t+284>>2],p[t+292>>2]=r+ +p[t+292>>2],p[t+296>>2]=o+ +p[t+296>>2],p[t+300>>2]=A+ +p[t+300>>2],_[t+312>>2]=1+(0|_[t+312>>2]))}function Yi(t,e,i){e|=0,i|=0;var n,o,_,r,s,c,a,b,d,l,A,f,u,m,h,g,C,v,S,w=0;return C=+p[552+(t|=0)>>2],g=+p[t+568>>2],h=+p[t+584>>2],m=+p[e>>2],u=+p[e+4>>2],f=+p[e+8>>2],l=+p[e+16>>2],d=+p[e+20>>2],b=+p[e+24>>2],c=+p[e+32>>2],r=+p[e+36>>2],o=+p[e+40>>2],s=+p[t+556>>2],_=+p[t+572>>2],n=+p[t+588>>2],S=+p[t+620>>2],v=+p[t+636>>2],w=+p[t+652>>2],A=S*+p[i>>2]+v*+p[i+4>>2]+w*+p[i+8>>2],a=S*+p[i+16>>2]+v*+p[i+20>>2]+w*+p[i+24>>2],w=S*+p[i+32>>2]+v*+p[i+36>>2]+w*+p[i+40>>2],+(w=+y(+((C*m+g*u+h*f)*A+(C*l+g*d+h*b)*a+(C*c+g*r+h*o)*w),+((m*s+u*_+f*n)*A+(l*s+d*_+b*n)*a+(c*s+r*_+o*n)*w)))*+p[t+732>>2]}function Ji(t,e){e|=0;var i=0,n=0,o=0,r=0;if((0|(i=0|_[8+(t|=0)>>2]))>0){o=0;do{n=0|_[(0|_[t+16>>2])+(o<<2)>>2],2&_[n+236>>2]&&(r=0|Lb[127&_[16+(0|_[n>>2])>>2]](n),r=0|Hb[63&_[16+(0|_[e>>2])>>2]](e,r,1),i=0|Hb[63&_[20+(0|_[n>>2])>>2]](n,0|_[r+8>>2],e),ld[31&_[20+(0|_[e>>2])>>2]](e,r,i,1497645650,n),i=0|_[t+8>>2]),o=o+1|0}while((0|o)<(0|i))}if(!((0|_[t+212>>2])<=0)){i=0;do{r=0|_[(0|_[t+220>>2])+(i<<2)>>2],n=0|Lb[127&_[36+(0|_[r>>2])>>2]](r),n=0|Hb[63&_[16+(0|_[e>>2])>>2]](e,n,1),o=0|Hb[63&_[40+(0|_[r>>2])>>2]](r,0|_[n+8>>2],e),ld[31&_[20+(0|_[e>>2])>>2]](e,n,o,1397641027,r),i=i+1|0}while((0|i)<(0|_[t+212>>2]))}}function Xi(t,e){e|=0;var i,r,s,p=0;s=Q,Q=Q+64|0,p=0|_[(t|=0)>>2],r=t+(0|_[p+-8>>2])|0,p=0|_[p+-4>>2],_[s>>2]=e,_[s+4>>2]=t,_[s+8>>2]=3280,t=0|Np(p,e),i=40+(e=s+12|0)|0;do{_[e>>2]=0,e=e+4|0}while((0|e)<(0|i));o[s+12+40>>1]=0,n[s+12+42|0]=0;t:do{if(t)_[s+48>>2]=1,fd[7&_[20+(0|_[p>>2])>>2]](p,s,r,r,1,0),t=1==(0|_[s+24>>2])?r:0;else{switch(ld[31&_[24+(0|_[p>>2])>>2]](p,s,r,1,0),0|_[s+36>>2]){case 0:t=(1==(0|_[s+40>>2])?1==(0|_[s+28>>2]):0)&1==(0|_[s+32>>2])?0|_[s+20>>2]:0;break t;case 1:break;default:t=0;break t}if(1!=(0|_[s+24>>2])&&!((0|_[s+40>>2]?0:1==(0|_[s+28>>2]))&1==(0|_[s+32>>2]))){t=0;break}t=0|_[s+16>>2]}}while(0);return Q=s,0|t}function zi(t){var e=0;if(0|(e=0|_[12+(t|=0)>>2])&&(0|n[t+16|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+12>>2]=0),n[t+16|0]=1,_[t+12>>2]=0,_[t+4>>2]=0,_[t+8>>2]=0,0|(e=0|_[t+32>>2])&&(0|n[t+36|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+32>>2]=0),n[t+36|0]=1,_[t+32>>2]=0,_[t+24>>2]=0,_[t+28>>2]=0,0|(e=0|_[t+52>>2])&&(0|n[t+56|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+52>>2]=0),n[t+56|0]=1,_[t+52>>2]=0,_[t+44>>2]=0,_[t+48>>2]=0,!(e=0|_[t+72>>2]))return n[t+76|0]=1,_[t+72>>2]=0,_[t+64>>2]=0,void(_[(t=t+68|0)>>2]=0);0|n[t+76|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+72>>2]=0,n[t+76|0]=1,_[t+72>>2]=0,_[t+64>>2]=0,_[(t=t+68|0)>>2]=0}function Ki(t){var e=0;if(0|(e=0|_[72+(t|=0)>>2])&&(0|n[t+76|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+72>>2]=0),n[t+76|0]=1,_[t+72>>2]=0,_[t+64>>2]=0,_[t+68>>2]=0,0|(e=0|_[t+52>>2])&&(0|n[t+56|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+52>>2]=0),n[t+56|0]=1,_[t+52>>2]=0,_[t+44>>2]=0,_[t+48>>2]=0,0|(e=0|_[t+32>>2])&&(0|n[t+36|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+32>>2]=0),n[t+36|0]=1,_[t+32>>2]=0,_[t+24>>2]=0,_[t+28>>2]=0,!(e=0|_[t+12>>2]))return n[t+16|0]=1,_[t+12>>2]=0,_[t+4>>2]=0,void(_[(t=t+8|0)>>2]=0);0|n[t+16|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+12>>2]=0,n[t+16|0]=1,_[t+12>>2]=0,_[t+4>>2]=0,_[(t=t+8|0)>>2]=0}function qi(t,e){e|=0;var i=0,o=0,r=0,s=0;if((i=0|_[12+(t|=0)>>2])&&0|n[t+8|0]){if((0|(o=0|_[e+4>>2]))==(0|_[e+8>>2])&&(0|o)<(0|(s=0|o?o<<1:1))){if(s?(_[6630]=1+(0|_[6630]),(i=0|di(16+(s<<2|3)|0))?(_[(i+4+15&-16)-4>>2]=i,i=i+4+15&-16):i=0,o=0|_[e+4>>2]):i=0,(0|o)>0){r=0;do{_[i+(r<<2)>>2]=_[(0|_[e+12>>2])+(r<<2)>>2],r=r+1|0}while((0|r)!=(0|o))}(r=0|_[e+12>>2])&&(0|n[e+16|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[r+-4>>2]),o=0|_[e+4>>2]),_[e+12>>2]=0),n[e+16|0]=1,_[e+12>>2]=i,_[e+8>>2]=s,i=0|_[t+12>>2]}_[(0|_[e+12>>2])+(o<<2)>>2]=i,_[e+4>>2]=o+1}}function $i(t){t|=0;var e,i=0,n=0,o=0;if(e=Q,Q=Q+16|0,n=0|_[2606],(0|_[n>>2])==(0|t))i=n;else{i=0|_[n+24>>2];t:do{if(i)for(;;){if((0|_[i>>2])==(0|t))break t;if(!(i=0|_[i+28>>2])){o=6;break}}else o=6}while(0);6==(0|o)&&(i=0|a_(36),_[i>>2]=t,_[i+4>>2]=0,_[i+4+4>>2]=0,_[i+4+8>>2]=0,_[i+4+12>>2]=0,_[i+20>>2]=n,_[i+24>>2]=0,_[i+28>>2]=0,_[i+32>>2]=0,qo(i),_[i+28>>2]=_[n+24>>2],_[n+24>>2]=i),_[2606]=i}_[(n=i+4|0)>>2]=1+(0|_[n>>2]),o=0|_[(n=i+16|0)>>2],_[n>>2]=o+1,0|o||(G(0|e,0),o=0|_[6629],_[i+12>>2]=(0|_[e+4>>2])-(0|_[o+4>>2])+(1e6*((0|_[e>>2])-(0|_[o>>2])|0)|0)),Q=e}function tn(t,e,i,n){e|=0,i|=0,n|=0;var o,r,s,c,a,b,l,A,f,u,m,h,y,g,C=0;a=(C=+Bb[15&_[48+(0|_[(t|=0)>>2])>>2]](t))+ +p[t+28>>2],s=C+ +p[t+32>>2],C+=+p[t+36>>2],g=+d(+ +p[e>>2]),y=+d(+ +p[e+4>>2]),h=+d(+ +p[e+8>>2]),u=+d(+ +p[e+16>>2]),f=+d(+ +p[e+20>>2]),A=+d(+ +p[e+24>>2]),c=+d(+ +p[e+32>>2]),r=+d(+ +p[e+36>>2]),o=+d(+ +p[e+40>>2]),m=+p[e+48>>2],l=+p[e+52>>2],b=+p[e+56>>2],p[i>>2]=m-(a*g+s*y+C*h),p[i+4>>2]=l-(a*u+s*f+C*A),p[i+8>>2]=b-(a*c+s*r+C*o),p[i+12>>2]=0,p[n>>2]=a*g+s*y+C*h+m,p[n+4>>2]=a*u+s*f+C*A+l,p[n+8>>2]=b+(a*c+s*r+C*o),p[n+12>>2]=0}function en(t){var e=0;_[(t|=0)>>2]=9580,0|_[t+108>>2]&&(e=0|_[t+112>>2],zb[511&_[_[e>>2]>>2]](e),0|(e=0|_[t+112>>2])&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),e=0|_[t+108>>2],zb[511&_[_[e>>2]>>2]](e),0|(e=0|_[t+108>>2])&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2]))),0|(e=0|_[t+88>>2])&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),0|(e=0|_[t+84>>2])&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),0|(e=0|_[t+80>>2])&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),0|(e=0|_[t+60>>2])&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),0|n[t+100|0]&&(e=0|_[t+92>>2],zb[511&_[_[e>>2]>>2]](e),(e=0|_[t+92>>2])&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])))}function nn(t){var e,i,o,r=0;e=Q,Q=Q+96|0,n[88+(t|=0)|0]=1,!(0|n[24528])&&0|Qs(24528)&&(_[5812]=1065353216,_[5813]=0,_[5814]=0,_[5815]=0,_[5816]=0,_[5817]=1065353216,_[5818]=0,_[5819]=0,_[5820]=0,_[5821]=0,_[5822]=1065353216,p[5823]=0,_[5824]=-1082130432,_[5825]=0,_[5826]=0,_[5827]=0,_[5828]=0,_[5829]=-1082130432,_[5830]=0,_[5831]=0,_[5832]=0,_[5833]=0,_[5834]=-1082130432,p[5835]=0),i=(r=e)+96|0;do{_[r>>2]=0,r=r+4|0}while((0|r)<(0|i));cd[127&_[76+(0|_[t>>2])>>2]](t,23248,e,6),o=+p[t+44>>2],p[t+72>>2]=+p[e>>2]+o,p[t+56>>2]=+p[e+48>>2]-o,p[t+76>>2]=+p[e+20>>2]+o,p[t+60>>2]=+p[e+68>>2]-o,p[t+80>>2]=+p[e+40>>2]+o,p[t+64>>2]=+p[e+88>>2]-o,Q=e}function on(t,e,i){t|=0,e|=0,i|=0;for(var n=0,o=0,r=0,s=0,p=0,c=0,a=0,b=0,d=0;;){for(c=0|_[t+12>>2],b=0|_[c+((e+i|0)/2<<3)>>2],o=i,n=e;;){for(;a=n+1|0,(0|_[(p=c+(n<<3)|0)>>2])<(0|b);)n=a;for(;s=o+-1|0,(0|_[(r=c+(o<<3)|0)>>2])>(0|b);)o=s;if((0|n)<=(0|o)&&(c=0|_[p>>2],n=0|_[p+4>>2],d=0|_[r+4>>2],_[p>>2]=_[r>>2],_[p+4>>2]=d,o=(0|_[t+12>>2])+(o<<3)|0,_[o>>2]=c,_[o+4>>2]=n,o=s,n=a),(0|n)>(0|o))break;c=0|_[t+12>>2]}if((0|o)>(0|e)&&on(t,e,o),!((0|n)<(0|i)))break;e=n}}function _n(t){var e,i=0,o=0,r=0,s=0;if(_[(t|=0)>>2]=7124,i=0|_[t+8>>2],(0|(e=0|_[i+8>>2]))>0){o=0;do{0|(r=0|_[(0|_[i+16>>2])+(12*o|0)+8>>2])&&(zb[511&_[_[r>>2]>>2]](r),s=0|_[t+4>>2],id[127&_[60+(0|_[s>>2])>>2]](s,r)),o=o+1|0}while((0|o)!=(0|e));i=0|_[t+8>>2]}if(te(i),i=0|_[t+8>>2],zb[511&_[_[i>>2]>>2]](i),0|(i=0|_[t+8>>2])&&(_[6631]=1+(0|_[6631]),Li(0|_[i+-4>>2])),!(i=0|_[t+24>>2]))return n[t+28|0]=1,_[t+24>>2]=0,_[t+16>>2]=0,void(_[(s=t+20|0)>>2]=0);0|n[t+28|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[i+-4>>2])),_[t+24>>2]=0,n[t+28|0]=1,_[t+24>>2]=0,_[t+16>>2]=0,_[(s=t+20|0)>>2]=0}function rn(t,e){e|=0,_[204+(t|=0)>>2]=_[e+48>>2],_[t+208>>2]=_[e+52>>2],_[t+212>>2]=_[e+56>>2],_[t+216>>2]=_[e+60>>2],_[t+220>>2]=_[e+64>>2],_[t+224>>2]=_[e+68>>2],_[t+156>>2]=_[e>>2],_[t+156+4>>2]=_[e+4>>2],_[t+156+8>>2]=_[e+8>>2],_[t+156+12>>2]=_[e+12>>2],_[t+172>>2]=_[e+16>>2],_[t+172+4>>2]=_[e+16+4>>2],_[t+172+8>>2]=_[e+16+8>>2],_[t+172+12>>2]=_[e+16+12>>2],_[t+188>>2]=_[e+32>>2],_[t+188+4>>2]=_[e+32+4>>2],_[t+188+8>>2]=_[e+32+8>>2],_[t+188+12>>2]=_[e+32+12>>2],_[t+228>>2]=_[e+72>>2],p[t+232>>2]=0,p[t+252>>2]=0,p[t+236>>2]=0,p[t+240>>2]=0,p[t+256>>2]=0,p[t+244>>2]=.10000000149011612,n[t+260|0]=1&n[e+80|0],_[t+248>>2]=_[e+76>>2]}function sn(t,e,i){e|=0,i|=0;var o,r=0,s=0;o=Q,Q=Q+16|0,_[4+(t|=0)>>2]=e,_[t>>2]=5444,_[t+8>>2]=-1,_[t+12>>2]=-1,p[t+16>>2]=34028234663852886e22,n[t+20|0]=1,n[t+21|0]=0,_[t+24>>2]=-1,_[t+28>>2]=i,!(0|n[24496])&&0|Qs(24496)&&(_[o>>2]=0,_[o+4>>2]=0,_[o+8>>2]=0,_[o+12>>2]=0,ut(25184,0,0,0,o)),_[6347]=1|_[6347],p[6382]=0,r=0*+p[6392],s=0*+p[6393],p[6387]=0*+p[6391],p[6388]=r,p[6389]=s,p[6390]=0,_[6395]=0,_[6396]=0,_[6397]=0,_[6398]=0,s=0*+p[6384],r=0*+p[6385],p[6436]=0*+p[6383],p[6437]=s,p[6438]=r,p[6439]=0,_[t+32>>2]=25184,p[t+36>>2]=0,p[t+40>>2]=.30000001192092896,_[t+44>>2]=0,Q=o}function pn(t){var e=0;_[(t|=0)>>2]=3916,e=0|_[t+92>>2],zb[511&_[_[e>>2]>>2]](e),0|(e=0|_[t+92>>2])&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),e=0|_[t+96>>2],zb[511&_[_[e>>2]>>2]](e),0|(e=0|_[t+96>>2])&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),e=0|_[t+100>>2],zb[511&_[_[e>>2]>>2]](e),0|(e=0|_[t+100>>2])&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),e=0|_[t+104>>2],zb[511&_[_[e>>2]>>2]](e),0|(e=0|_[t+104>>2])&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),e=0|_[t+108>>2],zb[511&_[_[e>>2]>>2]](e),(e=0|_[t+108>>2])?(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2]),H(t)):H(t)}function cn(t){var e=0,i=0,o=0,r=0,s=0;if(_[(t|=0)>>2]=6528,i=0|_[t+8>>2],e=0|_[t+16>>2],(0|i)>0){s=0;do{o=188+(0|_[e+(s<<2)>>2])|0,(r=0|_[o>>2])&&(i=0|_[t+68>>2],i=0|Lb[127&_[36+(0|_[i>>2])>>2]](i),rd[127&_[40+(0|_[i>>2])>>2]](i,r,0|_[t+24>>2]),i=0|_[t+68>>2],rd[127&_[12+(0|_[i>>2])>>2]](i,r,0|_[t+24>>2]),_[o>>2]=0,i=0|_[t+8>>2],e=0|_[t+16>>2]),s=s+1|0}while((0|s)<(0|i))}if(!e)return n[t+20|0]=1,_[t+16>>2]=0,_[t+8>>2]=0,void(_[(t=t+12|0)>>2]=0);0|n[t+20|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+16>>2]=0,n[t+20|0]=1,_[t+16>>2]=0,_[t+8>>2]=0,_[(t=t+12|0)>>2]=0}function an(t,e,i,n){t|=0,i|=0,n|=0;var o,r=0;o=Q,Q=Q+96|0,r=0|_[192+(e|=0)>>2],_[o+64>>2]=0,_[o+64+4>>2]=r,_[o+64+8>>2]=e,_[o+64+12>>2]=e+4,_[o+64+16>>2]=-1,_[o+64+20>>2]=-1,e=0|_[i+192>>2],_[o+40>>2]=0,_[o+40+4>>2]=e,_[o+40+8>>2]=i,_[o+40+12>>2]=i+4,_[o+40+16>>2]=-1,_[o+40+20>>2]=-1,e=0|_[t+24>>2],(e=0|Zb[31&_[8+(0|_[e>>2])>>2]](e,o+64|0,o+40|0,0))?(_[o+4>>2]=0,_[o+8>>2]=o+64,_[o+12>>2]=o+40,_[o>>2]=6872,_[o+32>>2]=n,ld[31&_[8+(0|_[e>>2])>>2]](e,o+64|0,o+40|0,t+28|0,o),zb[511&_[_[e>>2]>>2]](e),r=0|_[t+24>>2],id[127&_[60+(0|_[r>>2])>>2]](r,e),Q=o):Q=o}function bn(t){var e=0;if(_[(t|=0)>>2]=4720,0|n[t+456|0]&&(e=0|_[t+452>>2],zb[511&_[_[e>>2]>>2]](e),0|(e=0|_[t+452>>2]))&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),0|(e=0|_[t+420>>2])&&(0|n[t+424|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+420>>2]=0),n[t+424|0]=1,_[t+420>>2]=0,_[t+412>>2]=0,_[t+416>>2]=0,!(e=0|_[t+336>>2]))return n[t+340|0]=1,_[t+336>>2]=0,_[t+328>>2]=0,_[(e=t+332|0)>>2]=0,void kt(t);0|n[t+340|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+336>>2]=0,n[t+340|0]=1,_[t+336>>2]=0,_[t+328>>2]=0,_[(e=t+332|0)>>2]=0,kt(t)}function dn(t,e){var i,o;return e|=0,i=0|_[28+(t|=0)>>2],o=0|_[t+32>>2],0|n[t+1301|0]?void pt(t,e,0|lt(t,e,0,i+4|0,o+4|0,i+312|0,o+312|0,i+328|0,o+328|0),i+4|0,o+4|0,i+312|0,o+312|0,i+328|0,o+328|0):void lt(t,e,0|pt(t,e,0,i+4|0,o+4|0,i+312|0,o+312|0,i+328|0,o+328|0),i+4|0,o+4|0,i+312|0,o+312|0,i+328|0,o+328|0)}function ln(t,e,i,n,o){t|=0,e|=0,i=+i,n|=0,o|=0;var r,s,c,a,b,d=0;return r=Q,Q=Q+48|0,_[r+32>>2]=n,_[r+32+4>>2]=o,b=+p[e>>2],a=+p[e+4>>2],d=+p[e+8>>2],c=+p[t+56>>2]*b+ +p[t+60>>2]*a+ +p[t+64>>2]*d,s=b*+p[t+72>>2]+a*+p[t+76>>2]+d*+p[t+80>>2],d=b*+p[t+88>>2]+a*+p[t+92>>2]+d*+p[t+96>>2],_[r>>2]=_[t+48>>2],_[r+4>>2]=r+32,p[r+8>>2]=c,p[r+12>>2]=s,p[r+16>>2]=d,p[r+20>>2]=0,p[r+24>>2]=i,o=0|_[t+44>>2],i=+Ob[15&_[12+(0|_[o>>2])>>2]](o,r,1),Q=r,+i}function An(t){var e=0;if(_[(t|=0)>>2]=5204,0|(e=0|_[t+80>>2])&&(0|n[t+84|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+80>>2]=0),n[t+84|0]=1,_[t+80>>2]=0,_[t+72>>2]=0,_[t+76>>2]=0,0|(e=0|_[t+60>>2])&&(0|n[t+64|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+60>>2]=0),n[t+64|0]=1,_[t+60>>2]=0,_[t+52>>2]=0,_[t+56>>2]=0,!(e=0|_[t+40>>2]))return n[t+44|0]=1,_[t+40>>2]=0,_[t+32>>2]=0,void(_[(t=t+36|0)>>2]=0);0|n[t+44|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+40>>2]=0,n[t+44|0]=1,_[t+40>>2]=0,_[t+32>>2]=0,_[(t=t+36|0)>>2]=0}function fn(t){var e=0;if(_[(t|=0)>>2]=9720,0|(e=0|_[t+64>>2])&&(0|n[t+68|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+64>>2]=0),n[t+68|0]=1,_[t+64>>2]=0,_[t+56>>2]=0,_[t+60>>2]=0,0|(e=0|_[t+44>>2])&&(0|n[t+48|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+44>>2]=0),n[t+48|0]=1,_[t+44>>2]=0,_[t+36>>2]=0,_[t+40>>2]=0,!(e=0|_[t+16>>2]))return n[t+20|0]=1,_[t+16>>2]=0,_[t+8>>2]=0,void(_[(t=t+12|0)>>2]=0);0|n[t+20|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+16>>2]=0,n[t+20|0]=1,_[t+16>>2]=0,_[t+8>>2]=0,_[(t=t+12|0)>>2]=0}function un(t){var e=0;if(_[(t|=0)>>2]=6352,0|(e=0|_[t+56>>2])&&(0|n[t+60|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+56>>2]=0),n[t+60|0]=1,_[t+56>>2]=0,_[t+48>>2]=0,_[t+52>>2]=0,0|(e=0|_[t+36>>2])&&(0|n[t+40|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+36>>2]=0),n[t+40|0]=1,_[t+36>>2]=0,_[t+28>>2]=0,_[t+32>>2]=0,!(e=0|_[t+16>>2]))return e=t+12|0,n[t+20|0]=1,_[t+16>>2]=0,_[t+8>>2]=0,void(_[e>>2]=0);0|n[t+20|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+16>>2]=0,e=t+12|0,n[t+20|0]=1,_[t+16>>2]=0,_[t+8>>2]=0,_[e>>2]=0}function mn(t){var e=0;if(_[(t|=0)>>2]=10320,0|(e=0|_[t+60>>2])&&(0|n[t+64|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+60>>2]=0),n[t+64|0]=1,_[t+60>>2]=0,_[t+52>>2]=0,_[t+56>>2]=0,0|(e=0|_[t+40>>2])&&(0|n[t+44|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+40>>2]=0),n[t+44|0]=1,_[t+40>>2]=0,_[t+32>>2]=0,_[t+36>>2]=0,!(e=0|_[t+16>>2]))return n[t+20|0]=1,_[t+16>>2]=0,_[t+8>>2]=0,void(_[(t=t+12|0)>>2]=0);0|n[t+20|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+16>>2]=0,n[t+20|0]=1,_[t+16>>2]=0,_[t+8>>2]=0,_[(t=t+12|0)>>2]=0}function hn(t,e){t|=0;var i,n=0,o=0,r=0,s=0;if(0|(n=0|_[188+(e|=0)>>2])&&(r=0|_[t+68>>2],r=0|Lb[127&_[36+(0|_[r>>2])>>2]](r),rd[127&_[40+(0|_[r>>2])>>2]](r,n,0|_[t+24>>2]),r=0|_[t+68>>2],rd[127&_[12+(0|_[r>>2])>>2]](r,n,0|_[t+24>>2]),_[e+188>>2]=0),!((0|(i=0|_[t+8>>2]))<=0)){for(r=0|_[t+16>>2],n=0;(0|_[(o=r+(n<<2)|0)>>2])!=(0|e);)if((0|(n=n+1|0))>=(0|i)){s=9;break}9!=(0|s)&&((0|n)>=(0|i)||(_[o>>2]=_[r+(i+-1<<2)>>2],_[(0|_[t+16>>2])+(i+-1<<2)>>2]=e,_[t+8>>2]=i+-1))}}function yn(t,e,i,n){t|=0,e|=0,i|=0,n|=0;for(var o=0,r=0,p=0;;){if(o=0|_[t+12>>2],!(((0|s[n>>1])>=(0|s[t>>1])?(0|s[i>>1])<=(0|s[t+6>>1]):0)&(0|s[i+4>>1])<=(0|s[t+10>>1])&(0|s[n+4>>1])>=(0|s[t+4>>1])&(0|s[i+2>>1])<=(0|s[t+8>>1])&(0|s[n+2>>1])>=(0|s[t+2>>1]))){r=6;break}if((0|o)>-1)break;yn(p=t+16|0,e,i,n),t=(0|(o=0|_[t+28>>2]))>-1?t+32|0:p+(0-o<<4)|0}6!=(0|r)&&rd[127&_[8+(0|_[e>>2])>>2]](e,o>>>21,2097151&o)}function gn(t,e,i,n){t|=0,e|=0,n=+n;var o,_,r,s=0,c=0,a=0;_=+f(+(i=+i)),o=+u(+i),i=+p[e+444>>2],+d(+_)>1.1920928955078125e-7?(a=+p[e+448>>2],s=o*o,c=_*_,i=+l(+(o*o/(_*_)+1)/(1/(a*a)+o*o/(_*_)/(i*i)))):(s=o*o,c=_*_),a=+u(+(i*=.5))/+l(+(s+(c+0))),r=(i=+f(+i))*n+_*a*0-o*a*-0,c=0*i-o*a*n-0*a*0,s=0*i+0*a*0-_*a*n,n=-0*a*n-_*a*0-o*a*-0,p[t>>2]=o*a*c+(i*r+n*(-0*a))-s*(-_*a),p[t+4>>2]=s*(-0*a)+(i*c+n*(-_*a))-o*a*r,p[t+8>>2]=r*(-_*a)+(o*a*n+i*s)-c*(-0*a),p[t+12>>2]=0}function Cn(t){var e,i=0,o=0;if(_[(t|=0)>>2]=7060,(0|(e=0|_[t+12>>2]))>0){i=0;do{0|(o=0|_[(0|_[t+20>>2])+(i<<2)>>2])&&(zb[511&_[_[o>>2]>>2]](o),o=0|_[t+4>>2],id[127&_[60+(0|_[o>>2])>>2]](o,0|_[(0|_[t+20>>2])+(i<<2)>>2])),i=i+1|0}while((0|i)!=(0|e))}if(!(i=0|_[t+20>>2]))return n[t+24|0]=1,_[t+20>>2]=0,_[t+12>>2]=0,void(_[(t=t+16|0)>>2]=0);0|n[t+24|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[i+-4>>2])),_[t+20>>2]=0,n[t+24|0]=1,_[t+20>>2]=0,_[t+12>>2]=0,_[(t=t+16|0)>>2]=0}function vn(t,e,i,n,o,_,r,s,c,a){if(a|=0,!((((r=+r)-(n=+n))*(e=+e)-((s=+s)-(o=+o))*(t=+t))*(_=+_)+(((s-o)*(i=+i)-((c=+c)-_)*e)*n+((c-_)*t-(r-n)*i)*o)<0))return 0|(a=0);do{if(!((r-n)*n+(s-o)*o+(c-_)*_>0)){if((r-n)*r+(s-o)*s+(c-_)*c<0){t=r*r+s*s+c*c;break}t=(t=((r*r+s*s+c*c)*(n*n+o*o+_*_)-(r*n+s*o+c*_)*(r*n+s*o+c*_))/((r-n)*(r-n)+(s-o)*(s-o)+(c-_)*(c-_)))>0?t:0;break}t=n*n+o*o+_*_}while(0);return c=+l(+t),p[a>>2]=c,0|(a=1)}function Sn(t,e){var i,n,o,r,s,c,a,b,l;e|=0,a=+Bb[15&_[48+(0|_[(t|=0)>>2])>>2]](t),r=+Bb[15&_[48+(0|_[t>>2])>>2]](t),i=+Bb[15&_[48+(0|_[t>>2])>>2]](t),l=(a+ +p[t+28>>2])/+p[t+12>>2],c=(r+ +p[t+32>>2])/+p[t+16>>2],o=(i+ +p[t+36>>2])/+p[t+20>>2],b=+d(+ +p[e>>2]),s=+d(+ +p[e+4>>2]),n=+d(+ +p[e+8>>2]),p[t+12>>2]=b,p[t+16>>2]=s,p[t+20>>2]=n,p[t+24>>2]=0,p[t+28>>2]=l*b-a,p[t+32>>2]=c*s-r,p[t+36>>2]=o*n-i,p[t+40>>2]=0}function wn(t,e,i){e|=0;var o,r=0;if(o=(t|=0)+(i|=0)|0,e&=255,(0|i)>=67){for(;3&t;)n[0|t]=e,t=t+1|0;for(r=e|e<<8|e<<16|e<<24;(0|t)<=((-4&o)-64|0);)_[t>>2]=r,_[t+4>>2]=r,_[t+8>>2]=r,_[t+12>>2]=r,_[t+16>>2]=r,_[t+20>>2]=r,_[t+24>>2]=r,_[t+28>>2]=r,_[t+32>>2]=r,_[t+36>>2]=r,_[t+40>>2]=r,_[t+44>>2]=r,_[t+48>>2]=r,_[t+52>>2]=r,_[t+56>>2]=r,_[t+60>>2]=r,t=t+64|0;for(;(0|t)<(-4&o);)_[t>>2]=r,t=t+4|0}for(;(0|t)<(0|o);)n[0|t]=e,t=t+1|0;return o-i|0}function kn(t,e,i){t|=0,i|=0;var n,o,r=0,s=0,c=0;rd[127&_[68+(0|_[(e|=0)>>2])>>2]](t,e,i),0!=+Bb[15&_[48+(0|_[e>>2])>>2]](e)&&(o=(c=+p[i>>2])*c+(r=+p[i+4>>2])*r+(s=+p[i+8>>2])*s<14210854715202004e-30?-1:c,n=c*c+r*r+s*s<14210854715202004e-30?-1:r,r=1/+l(+((s=c*c+r*r+s*s<14210854715202004e-30?-1:s)*s+(o*o+n*n))),c=+Bb[15&_[48+(0|_[e>>2])>>2]](e),p[t>>2]=+p[t>>2]+c*(o*r),p[t+4>>2]=+p[t+4>>2]+c*(n*r),p[t+8>>2]=+p[t+8>>2]+c*(s*r))}function Rn(t){var e,i=0,n=0,o=0,r=0,s=0,p=0;return e=Q,Q=Q+16|0,i=0|_[8+(t|=0)>>2],(0|(n=0|_[t+8+4>>2]))>-1|-1==(0|n)&i>>>0>4294967295?(o=0x10000000000000000*(+(i>>>0)+4294967296*+(n>>>0))+(+((0|_[t>>2])>>>0)+4294967296*+((0|_[t+4>>2])>>>0)),Q=e,+o):(r=0|Ir(0,0,0|(p=0|_[t>>2]),0|(s=0|_[t+4>>2])),t=0|w(),i=0|Or(!(0|p)&!(0|s)&1,0,0|~i,0|~n),n=0|w(),_[e>>2]=r,_[e+4>>2]=t,_[e+8>>2]=i,_[e+8+4>>2]=n,o=-+Rn(e),Q=e,+o)}function jn(t,e,i,o,r){e=+e,i|=0,o|=0,r|=0,p[(t|=0)>>2]=e,_[t+4>>2]=i,_[t+72>>2]=o,_[t+76>>2]=_[r>>2],_[t+76+4>>2]=_[r+4>>2],_[t+76+8>>2]=_[r+8>>2],_[t+76+12>>2]=_[r+12>>2],p[t+92>>2]=0,p[t+96>>2]=0,p[t+100>>2]=.5,p[t+104>>2]=0,p[t+108>>2]=0,p[t+112>>2]=.800000011920929,p[t+116>>2]=1,n[t+120|0]=0,p[t+124>>2]=.004999999888241291,p[t+128>>2]=.009999999776482582,p[t+132>>2]=.009999999776482582,p[t+136>>2]=.009999999776482582,Ho(t+8|0)}function Dn(t,e,i){var n;e|=0,i|=0,n=Q,Q=Q+32|0,0!=+p[344+(t|=0)>>2]?(ao(t,+p[e>>2],+p[e+4>>2],+p[e+8>>2]),0|vb(t+544|0)?(Wo(n,+p[e>>2],+p[e+4>>2],+p[e+8>>2],+p[t+348>>2],+p[t+352>>2],+p[t+356>>2]),go(n+16|0,+p[i>>2],+p[i+4>>2],+p[i+8>>2],+p[n>>2],+p[n+4>>2],+p[n+8>>2]),bo(t,+p[n+16>>2],+p[n+16+4>>2],+p[n+16+8>>2]),Q=n):Q=n):Q=n}function In(t,e,i,o){e|=0,i|=0,o|=0,n[53+(t|=0)|0]=1;do{if((0|_[t+4>>2])==(0|i)){if(n[t+52|0]=1,!(i=0|_[t+16>>2])){if(_[t+16>>2]=e,_[t+24>>2]=o,_[t+36>>2]=1,1!=(0|o)||1!=(0|_[t+48>>2]))break;n[t+54|0]=1;break}if((0|i)!=(0|e)){_[t+36>>2]=1+(0|_[t+36>>2]),n[t+54|0]=1;break}2==(0|(i=0|_[t+24>>2]))&&(_[t+24>>2]=o,i=o),1==(0|i)&&1==(0|_[t+48>>2])&&(n[t+54|0]=1)}}while(0)}function Bn(t){var e=0;if(_[(t|=0)>>2]=5984,e=0|_[t+284>>2],zb[511&_[_[e>>2]>>2]](e),0|(e=0|_[t+284>>2])&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t>>2]=5940,!(e=0|_[t+276>>2]))return n[t+280|0]=1,_[t+276>>2]=0,_[t+268>>2]=0,_[(e=t+272|0)>>2]=0,void(_[t>>2]=5904);0|n[t+280|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+276>>2]=0,n[t+280|0]=1,_[t+276>>2]=0,_[t+268>>2]=0,_[(e=t+272|0)>>2]=0,_[t>>2]=5904}function Wn(t,e){e=+e;var i,n,o=0,r=0,s=0;r=+Bb[15&_[48+(0|_[(t|=0)>>2])>>2]](t),o=+Bb[15&_[48+(0|_[t>>2])>>2]](t),s=+Bb[15&_[48+(0|_[t>>2])>>2]](t),r+=+p[t+28>>2],o+=+p[t+32>>2],s+=+p[t+36>>2],p[t+44>>2]=e,n=+Bb[15&_[48+(0|_[t>>2])>>2]](t),i=+Bb[15&_[48+(0|_[t>>2])>>2]](t),e=s-+Bb[15&_[48+(0|_[t>>2])>>2]](t),p[t+28>>2]=r-n,p[t+32>>2]=o-i,p[t+36>>2]=e,p[t+40>>2]=0}function Fn(t,e,i,n,o){t|=0,i=+i,n=+n,o=+o;var _,r=0,s=0;_=Q,Q=Q+16|0,s=0|wa(e|=0,0),r=+vs(+p[s>>2],+p[s+4>>2],+p[s+8>>2],i,n,o),p[_+8>>2]=r,s=0|wa(e,1),r=+vs(+p[s>>2],+p[s+4>>2],+p[s+8>>2],i,n,o),p[_+4>>2]=r,e=0|wa(e,2),o=+vs(+p[e>>2],+p[e+4>>2],+p[e+8>>2],i,n,o),p[_>>2]=o,R_(t,_+8|0,_+4|0,_),Q=_}function On(t,e,i,n,o){var _,r,s,c;t|=0,i=+i,n=+n,o=+o,_=Q,Q=Q+16|0,c=0|wa(e|=0,0),s=0|wa(e,1),r=0|wa(e,2),function(t,e,i,n,o,_,r,s,c,a,b,d,l){t|=0,s=+s,c=+c,a=+a,b=+b,d=+d,l=+l;var A=0;A=Q,Q=Q+16|0,r=+vs(e=+e,i=+i,n=+n,o=+o,_=+_,r=+r),p[A+8>>2]=r,a=+vs(e,i,n,s,c,a),p[A+4>>2]=a,l=+vs(e,i,n,b,d,l),p[A>>2]=l,R_(t,A+8|0,A+4|0,A),Q=A}(_,i,n,o,+p[c>>2],+p[c+4>>2],+p[c+8>>2],+p[s>>2],+p[s+4>>2],+p[s+8>>2],+p[r>>2],+p[r+4>>2],+p[r+8>>2]),Bo(t,+p[_>>2],+p[_+4>>2],+p[_+8>>2],+p[e+48>>2],+p[e+52>>2],+p[e+56>>2]),Q=_}function xn(t,e,i,n,o,r,s,p,c,a){e|=0,i|=0,n|=0,o|=0,r|=0,s|=0,p|=0,c|=0,a|=0,t=0|_[32+(t|=0)>>2],_[i>>2]=_[t+(a<<5)+12>>2],_[e>>2]=_[t+(a<<5)+16>>2],_[n>>2]=_[t+(a<<5)+28>>2],_[o>>2]=_[t+(a<<5)+20>>2],_[p>>2]=_[t+(a<<5)>>2],_[r>>2]=_[t+(a<<5)+4>>2],_[s>>2]=_[t+(a<<5)+8>>2],_[c>>2]=_[t+(a<<5)+24>>2]}function Tn(t){var e=0,i=0;if(_[(t|=0)>>2]=7188,0|(e=0|_[t+64>>2])&&(oe(e),0|(i=0|_[t+64>>2]))&&(_[6631]=1+(0|_[6631]),Li(0|_[i+-4>>2])),!(e=0|_[t+24>>2]))return n[t+28|0]=1,_[t+24>>2]=0,_[t+16>>2]=0,void(_[(t=t+20|0)>>2]=0);0|n[t+28|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+24>>2]=0,n[t+28|0]=1,_[t+24>>2]=0,_[t+16>>2]=0,_[(t=t+20|0)>>2]=0}function Pn(t,e){e|=0,_[(t|=0)>>2]=_[e>>2],_[t+4>>2]=_[e+4>>2],_[t+8>>2]=_[e+8>>2],_[t+12>>2]=_[e+12>>2],_[t+16>>2]=_[e+16>>2],_[t+20>>2]=_[e+20>>2],_[t+24>>2]=_[e+24>>2],Mn(t+28|0,e+28|0),_[t+76>>2]=_[e+76>>2],_[t+76+4>>2]=_[e+76+4>>2],_[t+76+8>>2]=_[e+76+8>>2],_[t+76+12>>2]=_[e+76+12>>2],_[t+76+16>>2]=_[e+76+16>>2]}function Vn(t,e,i,n,o,r){e|=0,i|=0,n|=0,o|=0,r=+r,_[(t|=0)>>2]=e,_[t+4>>2]=i,_[t+8>>2]=_[n>>2],_[t+8+4>>2]=_[n+4>>2],_[t+8+8>>2]=_[n+8>>2],_[t+8+12>>2]=_[n+12>>2],_[t+24>>2]=_[o>>2],_[t+24+4>>2]=_[o+4>>2],_[t+24+8>>2]=_[o+8>>2],_[t+24+12>>2]=_[o+12>>2],p[t+40>>2]=r}function Mn(t,e){e|=0,_[(t|=0)>>2]=_[e>>2],_[t+4>>2]=_[e+4>>2],_[t+8>>2]=_[e+8>>2],_[t+12>>2]=_[e+12>>2],_[t+16>>2]=_[e+16>>2],_[t+16+4>>2]=_[e+16+4>>2],_[t+16+8>>2]=_[e+16+8>>2],_[t+16+12>>2]=_[e+16+12>>2],_[t+32>>2]=_[e+32>>2],_[t+32+4>>2]=_[e+32+4>>2],_[t+32+8>>2]=_[e+32+8>>2],_[t+32+12>>2]=_[e+32+12>>2]}function Gn(t,e,i){e|=0,i|=0,Vr(t|=0),_[t>>2]=3796,_[t+12>>2]=_[e>>2],_[t+12+4>>2]=_[e+4>>2],_[t+12+8>>2]=_[e+8>>2],_[t+12+12>>2]=_[e+12>>2],_[t+28>>2]=_[i>>2],_[t+28+4>>2]=_[i+4>>2],_[t+28+8>>2]=_[i+8>>2],_[t+28+12>>2]=_[i+12>>2],_[t+76>>2]=0}function Ln(t,e,i){var o;e|=0,i|=0,o=0|_[16+(t|=0)>>2];do{if(o){if((0|o)!=(0|e)){_[t+36>>2]=1+(0|_[t+36>>2]),_[t+24>>2]=2,n[t+54|0]=1;break}2==(0|_[t+24>>2])&&(_[t+24>>2]=i)}else _[t+16>>2]=e,_[t+24>>2]=i,_[t+36>>2]=1}while(0)}function Nn(t,e,i){e|=0,i|=0,E_(t|=0),_[t>>2]=3624,_[t+20>>2]=_[e>>2],_[t+20+4>>2]=_[e+4>>2],_[t+20+8>>2]=_[e+8>>2],_[t+20+12>>2]=_[e+12>>2],_[t+36>>2]=_[i>>2],_[t+36+4>>2]=_[i+4>>2],_[t+36+8>>2]=_[i+8>>2],_[t+36+12>>2]=_[i+12>>2]}function Qn(t,e,i){var n,o;t|=0,i|=0,n=Q,Q=Q+48|0,o=0|_[192+(e|=0)>>2],cd[127&_[8+(0|_[o>>2])>>2]](o,e+4|0,n+32|0,n+16|0),_[n>>2]=6852,_[n+4>>2]=e,_[n+8>>2]=t,_[n+12>>2]=i,i=0|_[t+68>>2],cd[127&_[28+(0|_[i>>2])>>2]](i,n+32|0,n+16|0,n),Q=n}function En(t,e){t|=0;var i,n,o,r=0;n=Q,Q=Q+112|0,i=0|vb(0|_[4+(e|=0)>>2]),o=(r=n)+104|0;do{_[r>>2]=0,r=r+4|0}while((0|r)<(0|o));!function(t){(function(t){(function(t){_[(t|=0)>>2]=0})(t|=0)})(t|=0)}(n),function(t,e,i){e|=0,i|=0;var n=0,o=0,r=0,s=0;if((0|(n=0|vb(0|_[4+(t|=0)>>2])))>(0|e))_[t+4>>2]=e;else{for((0|n)<(0|e)&&io(t,e);!((0|n)>=(0|e));){r=i,s=104+(o=(0|_[t+12>>2])+(104*n|0)|0)|0;do{_[o>>2]=_[r>>2],o=o+4|0,r=r+4|0}while((0|o)<(0|s));n=n+1|0}_[t+4>>2]=e}}(t,i,n),uo(e,i,0|_[t+12>>2]),Q=n}function Hn(t,e){e|=0;var i,n=0,o=0;return i=Q,Q=Q+16|0,n=+db((n=+Mc(t|=0))*+Mc(e)),(o=+ho(t,e))<0?(function(t,e){t|=0;var i=0,n=0;i=Q,Q=Q+16|0,n=0|vb(e|=0),p[i+12>>2]=-+p[n>>2],n=0|pb(e),p[i+8>>2]=-+p[n>>2],n=0|sb(e),p[i+4>>2]=-+p[n>>2],p[i>>2]=-+p[e+12>>2],Wr(t,i+12|0,i+8|0,i+4|0,i),Q=i}(i,e),o=+op(+ho(t,i)/n),Q=i,+(o*=2)):(o=+op(o/n),Q=i,+(o*=2))}function Zn(t,e){var i;e|=0,(0|vb(0|_[8+(t|=0)>>2]))>=(0|e)||(i=0|function(t){return(t|=0)?0|(t=0|function(t){return t|=0,_[6630]=1+(0|_[6630]),(t=0|di(16+(36*t|3)|0))?(_[(t+4+15&-16)-4>>2]=t,0|(t=t+4+15&-16)):0|(t=0)}(t)):0|(t=0)}(e),zo(t,0|vb(0|_[t+4>>2]),i),y_(t,0|vb(0|_[t+4>>2])),M_(t),n[t+16|0]=1,_[t+12>>2]=i,_[t+8>>2]=e)}function Un(t,e){e|=0;var i,n=0;(0|(i=0|vb(n=0|_[4+(t|=0)>>2])))==(0|vb(0|_[t+8>>2]))&&(to(t,0|function(t){return 0|(0|(t|=0)?t<<1:1)}(i)),n=0|_[t+4>>2]),Pn((0|_[t+12>>2])+(96*n|0)|0,e),_[t+4>>2]=1+(0|_[t+4>>2])}function Yn(t,e){var i;t|=0,0|_[40+(e|=0)>>2]&&(Yn(t,0|_[e+36>>2]),Yn(t,0|_[e+40>>2])),(0|_[t>>2])==(0|e)&&(_[t>>2]=0),(i=0|_[t+4>>2])?(_[6631]=1+(0|_[6631]),Li(0|_[i+-4>>2]),_[t+4>>2]=e):_[t+4>>2]=e}function Jn(t,e){t|=0;var i,n,o,r=0;n=Q,Q=Q+48|0,i=0|vb(0|_[4+(e|=0)>>2]),o=(r=n)+36|0;do{_[r>>2]=0,r=r+4|0}while((0|r)<(0|o));Wa(n),function(t,e,i){e|=0,i|=0;var n=0;if((0|(n=0|vb(0|_[4+(t|=0)>>2])))>(0|e)){for(i=e;!((0|i)>=(0|n));)Ba((0|_[t+12>>2])+(36*i|0)|0),i=i+1|0;_[t+4>>2]=e}else{for((0|n)<(0|e)&&Zn(t,e);!((0|n)>=(0|e));)Zo((0|_[t+12>>2])+(36*n|0)|0,i),n=n+1|0;_[t+4>>2]=e}}(t,i,n),Ba(n),zo(e,i,0|_[t+12>>2]),Q=n}function Xn(t,e){t|=0;var i,n,o,r=0;n=Q,Q=Q+96|0,i=0|vb(0|_[4+(e|=0)>>2]),o=(r=n)+96|0;do{_[r>>2]=0,r=r+4|0}while((0|r)<(0|o));!function(t,e,i){e|=0,i|=0;var n=0;if((0|(n=0|vb(0|_[4+(t|=0)>>2])))>(0|e))_[t+4>>2]=e;else{for((0|n)<(0|e)&&to(t,e);!((0|n)>=(0|e));)Pn((0|_[t+12>>2])+(96*n|0)|0,i),n=n+1|0;_[t+4>>2]=e}}(t,i,n),Qo(e,i,0|_[t+12>>2]),Q=n}function zn(t,e){var i,n=0,o=0;o=e|=0,i=104+(n=t|=0)|0;do{_[n>>2]=_[o>>2],n=n+4|0,o=o+4|0}while((0|n)<(0|i));!function(t,e){jo(t|=0,e|=0)}(t+104|0,e+104|0),ss(t+124|0,e+124|0),ss(t+144|0,e+144|0)}function Kn(t,e,i,n){e|=0,n|=0,_[(i|=0)>>2]=_[e+16>>2],_[i+4>>2]=_[e+16+4>>2],_[i+8>>2]=_[e+16+8>>2],_[i+12>>2]=_[e+16+12>>2],_[n>>2]=_[e+32>>2],_[n+4>>2]=_[e+32+4>>2],_[n+8>>2]=_[e+32+8>>2],_[n+12>>2]=_[e+32+12>>2]}function qn(t,e,i,n,o,r){e|=0,i|=0,n|=0,o|=0,r|=0;var s,p=0;p=(s=0|_[4+(t|=0)>>2])>>8,1&s&&(p=0|_[(0|_[n>>2])+p>>2]),t=0|_[t>>2],fd[7&_[20+(0|_[t>>2])>>2]](t,e,i,n+p|0,2&s?o:2,r)}function $n(){var t;t=Q,Q=Q+32|0,0|n[24408]?Q=t:0|Qs(24408)?(function(){var t;t=Q,Q=Q+48|0,0|n[24416]?Q=t:0|Qs(24416)?(p[t+32>>2]=1,p[t+28>>2]=0,p[t+24>>2]=0,p[t+20>>2]=0,p[t+16>>2]=1,p[t+12>>2]=0,p[t+8>>2]=0,p[t+4>>2]=0,p[t>>2]=1,Lo(24888,t+32|0,t+28|0,t+24|0,t+20|0,t+16|0,t+12|0,t+8|0,t+4|0,t),Q=t):Q=t}(),p[t+8>>2]=0,p[t+4>>2]=0,p[t>>2]=0,R_(t+16|0,t+8|0,t+4|0,t),No(24824,24888,t+16|0),Q=t):Q=t}function to(t,e){var i;e|=0,(0|vb(0|_[8+(t|=0)>>2]))>=(0|e)||(i=0|function(t){return(t|=0)?0|(t=0|function(t){return t|=0,_[6630]=1+(0|_[6630]),(t=0|di(96*t|19))?(_[(t+4+15&-16)-4>>2]=t,0|(t=t+4+15&-16)):0|(t=0)}(t)):0|(t=0)}(e),Qo(t,0|vb(0|_[t+4>>2]),i),M_(t),n[t+16|0]=1,_[t+12>>2]=i,_[t+8>>2]=e)}function eo(t,e,i,n,o,_){e=+e,i=+i,n=+n,o=+o,_=+_,p[692+(t|=0)>>2]=.5*(i-e),(e=(.5*(i-e)+e)%6.2831854820251465)<-3.1415927410125732?e+=6.2831854820251465:e>3.1415927410125732&&(e+=-6.2831854820251465),p[t+688>>2]=e,p[t+696>>2]=n,p[t+700>>2]=o,p[t+704>>2]=_}function io(t,e){var i;e|=0,(0|vb(0|_[8+(t|=0)>>2]))>=(0|e)||(i=0|function(t){return(t|=0)?0|(t=0|function(t){return t|=0,_[6630]=1+(0|_[6630]),(t=0|di(16+(104*t|3)|0))?(_[(t+4+15&-16)-4>>2]=t,0|(t=t+4+15&-16)):0|(t=0)}(t)):0|(t=0)}(e),uo(t,0|vb(0|_[t+4>>2]),i),M_(t),n[t+16|0]=1,_[t+12>>2]=i,_[t+8>>2]=e)}function no(t,e){e|=0;var i=0,n=0,o=0;return o=0|sb(t|=0),i=+p[o>>2],o=0|vb(e),i*=+p[o>>2],o=0|sb(t+16|0),n=+p[o>>2],o=0|pb(e),n=i+n*+p[o>>2],t=0|sb(t+32|0),i=+p[t>>2],e=0|sb(e),+(n+i*+p[e>>2])}function oo(t,e){e|=0;var i=0,n=0,o=0;return o=0|pb(t|=0),i=+p[o>>2],o=0|vb(e),i*=+p[o>>2],o=0|pb(t+16|0),n=+p[o>>2],o=0|pb(e),n=i+n*+p[o>>2],t=0|pb(t+32|0),i=+p[t>>2],e=0|sb(e),+(n+i*+p[e>>2])}function _o(t,e){var i;t|=0,i=Q,Q=Q+80|0,function(t,e){Lo(t|=0,0|vb(e|=0),0|vb(e+16|0),0|vb(e+32|0),0|pb(e),0|pb(e+16|0),0|pb(e+32|0),0|sb(e),0|sb(e+16|0),0|sb(e+32|0))}(i+32|0,e|=0),Xo(i,+p[e+48>>2],+p[e+52>>2],+p[e+56>>2]),Fn(i+16|0,i+32|0,+p[i>>2],+p[i+4>>2],+p[i+8>>2]),No(t,i+32|0,i+16|0),Q=i}function ro(t,e,i,n,o){e|=0,i|=0,n|=0,o|=0;var r,s=0;s=(r=0|_[4+(t|=0)>>2])>>8,1&r&&(s=0|_[(0|_[i>>2])+s>>2]),t=0|_[t>>2],ld[31&_[24+(0|_[t>>2])>>2]](t,e,i+s|0,2&r?n:2,o)}function so(t,e,i){t|=0,e|=0,i|=0;var n=0,o=0,r=0;for(n=0;!((0|n)>=(0|e));)o=0|vb(i+(n<<4)|0),r=(0|_[t+12>>2])+(n<<4)|0,_[o>>2]=_[r>>2],_[o+4>>2]=_[r+4>>2],_[o+8>>2]=_[r+8>>2],_[o+12>>2]=_[r+12>>2],n=n+1|0}function po(t,e,i){e|=0,i|=0,_[164+(t|=0)>>2]=_[e>>2],_[t+164+4>>2]=_[e+4>>2],_[t+164+8>>2]=_[e+8>>2],_[t+164+12>>2]=_[e+12>>2],e=0|vb(e),1==+p[e>>2]&&1==+p[e+4>>2]&&1==+p[e+8>>2]&&(i=0),_[t+180>>2]=i}function co(t,e,i){e|=0,i|=0;var n=0;if((0|(n=0|vb(0|_[4+(t|=0)>>2])))>(0|e))_[t+4>>2]=e;else{for((0|n)<(0|e)&&mo(t,e);!((0|n)>=(0|e));)_[(0|_[t+12>>2])+(n<<2)>>2]=_[i>>2],n=n+1|0;_[t+4>>2]=e}}function ao(t,e,i,n){var o;o=Q,Q=Q+32|0,Wo(o,e=+e,i=+i,n=+n,+p[348+(t|=0)>>2],+p[t+352>>2],+p[t+356>>2]),Mo(o+16|0,+p[o>>2],+p[o+4>>2],+p[o+8>>2],+p[t+344>>2]),c_(t+312|0,o+16|0),Q=o}function bo(t,e,i,n){var o;o=Q,Q=Q+32|0,Fn(o,264+(t|=0)|0,e=+e,i=+i,n=+n),Wo(o+16|0,+p[o>>2],+p[o+4>>2],+p[o+8>>2],+p[t+544>>2],+p[t+548>>2],+p[t+552>>2]),c_(t+328|0,o+16|0),Q=o}function lo(t,e,i,n){e|=0,i|=0,n|=0;var o,r=0;r=(o=0|_[4+(t|=0)>>2])>>8,1&o&&(r=0|_[(0|_[i>>2])+r>>2]),t=0|_[t>>2],cd[127&_[28+(0|_[t>>2])>>2]](t,e,i+r|0,2&o?n:2)}function Ao(t,e){var i;e|=0,(0|vb(0|_[8+(t|=0)>>2]))>=(0|e)||(i=0|function(t){return(t|=0)?0|(t=0|function(t){return t|=0,_[6630]=1+(0|_[6630]),(t=0|di(16+(t<<4|3)|0))?(_[(t+4+15&-16)-4>>2]=t,0|(t=t+4+15&-16)):0|(t=0)}(t)):0|(t=0)}(e),so(t,0|vb(0|_[t+4>>2]),i),M_(t),n[t+16|0]=1,_[t+12>>2]=i,_[t+8>>2]=e)}function fo(t,e){e|=0;var i=0,n=0,o=0;return o=0|vb(t|=0),i=+p[o>>2],o=0|vb(e),i*=+p[o>>2],o=0|vb(t+16|0),n=+p[o>>2],o=0|pb(e),n=i+n*+p[o>>2],t=0|vb(t+32|0),i=+p[t>>2],e=0|sb(e),+(n+i*+p[e>>2])}function uo(t,e,i){t|=0,e|=0,i|=0;var n=0,o=0,r=0,s=0;for(n=0;!((0|n)>=(0|e));){o=i+(104*n|0)|0,r=(0|_[t+12>>2])+(104*n|0)|0,s=o+104|0;do{_[o>>2]=_[r>>2],o=o+4|0,r=r+4|0}while((0|o)<(0|s));n=n+1|0}}function mo(t,e){var i;e|=0,(0|vb(0|_[8+(t|=0)>>2]))>=(0|e)||(i=0|function(t){return(t|=0)?0|(t=0|function(t){return t|=0,_[6630]=1+(0|_[6630]),(t=0|di(16+(t<<2|3)|0))?(_[(t+4+15&-16)-4>>2]=t,0|(t=t+4+15&-16)):0|(t=0)}(t)):0|(t=0)}(e),e_(t,0|vb(0|_[t+4>>2]),i),M_(t),n[t+16|0]=1,_[t+12>>2]=i,_[t+8>>2]=e)}function ho(t,e){e|=0;var i=0,n=0,o=0;return n=+p[(t|=0)>>2],i=0|vb(e),n*=+p[i>>2],o=+p[t+4>>2],i=0|pb(e),o=n+o*+p[i>>2],n=+p[t+8>>2],i=0|sb(e),+(o+n*+p[i>>2]+ +p[t+12>>2]*+p[e+12>>2])}function yo(t){var e;return(0|(t|=0))>0&((e=0|_[b>>2])+t|0)<(0|e)|(e+t|0)<0?(N(e+t|0),R(12),-1):(e+t|0)>(0|P())&&!(0|M(e+t|0))?(R(12),-1):(_[b>>2]=e+t,0|e)}function go(t,e,i,n,o,_,r){var s;t|=0,e=+e,i=+i,n=+n,o=+o,_=+_,r=+r,s=Q,Q=Q+16|0,p[s+8>>2]=i*r-n*_,p[s+4>>2]=n*o-e*r,p[s>>2]=e*_-i*o,R_(t,s+8|0,s+4|0,s),Q=s}function Co(t){var e=0;_[(t|=0)>>2]=9836,0|n[t+192|0]&&(e=0|_[t+136>>2],zb[511&_[_[e>>2]>>2]](e),0|(e=0|_[t+136>>2]))&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),oe(t+64|0),oe(t+4|0)}function vo(t,e,i,n,o,_,r,s,p,c){o|=0,_|=0,r|=0,s|=0,p|=0,c|=0,R_(t|=0,e|=0,i|=0,n|=0),R_(t+16|0,o,_,r),R_(t+32|0,s,p,c)}function So(t,e,i){var n;t|=0,n=Q,Q=Q+64|0,function(t,e,i){t|=0;var n,o=0,_=0;n=Q,Q=Q+48|0,o=+fo(i|=0,_=0|wa(e|=0,0)),p[n+32>>2]=o,o=+oo(i,_),p[n+28>>2]=o,o=+no(i,_),p[n+24>>2]=o,o=+fo(i,_=0|wa(e,1)),p[n+20>>2]=o,o=+oo(i,_),p[n+16>>2]=o,o=+no(i,_),p[n+12>>2]=o,o=+fo(i,e=0|wa(e,2)),p[n+8>>2]=o,o=+oo(i,e),p[n+4>>2]=o,o=+no(i,e),p[n>>2]=o,Lo(t,n+32|0,n+28|0,n+24|0,n+20|0,n+16|0,n+12|0,n+8|0,n+4|0,n),Q=n}(n+16|0,e|=0,i|=0),On(n,e,+p[i+48>>2],+p[i+52>>2],+p[i+56>>2]),No(t,n+16|0,n),Q=n}function wo(t){var e,i=0;_[(t|=0)>>2]=8020,0|(e=0|_[t+52>>2])&&(zb[511&_[_[e>>2]>>2]](e),0|(i=0|_[t+52>>2]))&&(_[6631]=1+(0|_[6631]),Li(0|_[i+-4>>2])),_[6631]=1+(0|_[6631]),Li(0|_[t+-4>>2])}function ko(t,e){var i,n;i=Q,Q=Q+16|0,function(t,e,i){e|=0,i|=0;var n=0,o=0;if((0|(n=0|vb(0|_[4+(t|=0)>>2])))>(0|e))_[t+4>>2]=e;else{for((0|n)<(0|e)&&Ao(t,e);!((0|n)>=(0|e));)o=0|vb((0|_[t+12>>2])+(n<<4)|0),_[o>>2]=_[i>>2],_[o+4>>2]=_[i+4>>2],_[o+8>>2]=_[i+8>>2],_[o+12>>2]=_[i+12>>2],n=n+1|0;_[t+4>>2]=e}}(t|=0,n=0|vb(0|_[4+(e|=0)>>2]),i),so(e,n,0|_[t+12>>2]),Q=i}function Ro(t,e,i,n,o){var _;t|=0,e=+e,i=+i,n=+n,o=+o,_=Q,Q=Q+16|0,p[_+12>>2]=e,p[_+8>>2]=i,p[_+4>>2]=n,p[_>>2]=o,n_(t,_+12|0,_+8|0,_+4|0,_),Q=_}function jo(t,e){var i,n;t|=0,i=Q,Q=Q+16|0,n=0|vb(0|_[4+(e|=0)>>2]),_[i>>2]=0,co(t,n,i),e_(e,n,0|_[t+12>>2]),Q=i}function Do(t,e,i){var o=0;if((0|(e|=0))<(0|(t|=0))&(0|t)<(e+(i|=0)|0)){for(o=t,e=e+i|0,t=t+i|0;(0|i)>0;)e=e-1|0,i=i-1|0,n[0|(t=t-1|0)]=0|n[0|e];t=o}else _e(t,e,i);return 0|t}function Io(t,e,i,n){e|=0,i|=0,n=+n,p[(t|=0)>>2]=(1-n)*+p[e>>2]+ +p[i>>2]*n,p[t+4>>2]=(1-n)*+p[e+4>>2]+ +p[i+4>>2]*n,p[t+8>>2]=(1-n)*+p[e+8>>2]+ +p[i+8>>2]*n}function Bo(t,e,i,n,o,_,r){var s;t|=0,e=+e,i=+i,n=+n,o=+o,_=+_,r=+r,s=Q,Q=Q+16|0,p[s+8>>2]=e+o,p[s+4>>2]=i+_,p[s>>2]=n+r,R_(t,s+8|0,s+4|0,s),Q=s}function Wo(t,e,i,n,o,_,r){var s;t|=0,e=+e,i=+i,n=+n,o=+o,_=+_,r=+r,s=Q,Q=Q+16|0,p[s+8>>2]=e*o,p[s+4>>2]=i*_,p[s>>2]=n*r,R_(t,s+8|0,s+4|0,s),Q=s}function Fo(t,e,i,n,o,_,r){var s;t|=0,e=+e,i=+i,n=+n,o=+o,_=+_,r=+r,s=Q,Q=Q+16|0,p[s+8>>2]=e-o,p[s+4>>2]=i-_,p[s>>2]=n-r,R_(t,s+8|0,s+4|0,s),Q=s}function Oo(t,e,i,n){var o;o=Q,Q=Q+16|0,Wo(o,e=+e,i=+i,n=+n,+p[348+(t|=0)>>2],+p[t+352>>2],+p[t+356>>2]),c_(t+412|0,o),Q=o}function xo(t,e,i,n){var o;o=Q,Q=Q+16|0,Wo(o,e=+e,i=+i,n=+n,+p[544+(t|=0)>>2],+p[t+548>>2],+p[t+552>>2]),c_(t+428|0,o),Q=o}function To(t,e,i){i|=0,Hs(t|=0,e|=0),_[t+48>>2]=_[i>>2],_[t+48+4>>2]=_[i+4>>2],_[t+48+8>>2]=_[i+8>>2],_[t+48+12>>2]=_[i+12>>2]}function Po(t,e){var i;return i=Q,Q=Q+16|0,Fn(i,t|=0,+p[48+(e|=0)>>2],+p[e+52>>2],+p[e+56>>2]),c_(t+48|0,i),function(t,e){var i,n=0;i=Q,Q=Q+48|0,n=+fo(e|=0,t|=0),p[i+32>>2]=n,n=+oo(e,t),p[i+28>>2]=n,n=+no(e,t),p[i+24>>2]=n,n=+fo(e,t+16|0),p[i+20>>2]=n,n=+oo(e,t+16|0),p[i+16>>2]=n,n=+no(e,t+16|0),p[i+12>>2]=n,n=+fo(e,t+32|0),p[i+8>>2]=n,n=+oo(e,t+32|0),p[i+4>>2]=n,n=+no(e,t+32|0),p[i>>2]=n,vo(t,i+32|0,i+28|0,i+24|0,i+20|0,i+16|0,i+12|0,i+8|0,i+4|0,i),Q=i}(t,e),Q=i,0|t}function Vo(t){var e,i;return i=+p[28+(t|=0)>>2],e=+Bb[15&_[48+(0|_[t>>2])>>2]](t),Bb[15&_[48+(0|_[t>>2])>>2]](t),Bb[15&_[48+(0|_[t>>2])>>2]](t),+(i+e)}function Mo(t,e,i,n,o){var _;t|=0,e=+e,i=+i,n=+n,o=+o,_=Q,Q=Q+16|0,p[_+8>>2]=e*o,p[_+4>>2]=i*o,p[_>>2]=n*o,R_(t,_+8|0,_+4|0,_),Q=_}function Go(t,e){return e|=0,p[(t|=0)>>2]=+p[t>>2]*+p[e>>2],p[t+4>>2]=+p[t+4>>2]*+p[e>>2],p[t+8>>2]=+p[t+8>>2]*+p[e>>2],p[t+12>>2]=+p[t+12>>2]*+p[e>>2],0|t}function Lo(t,e,i,n,o,_,r,s,p,c){vo(t|=0,e|=0,i|=0,n|=0,o|=0,_|=0,r|=0,s|=0,p|=0,c|=0)}function No(t,e,i){i|=0,Mn(t|=0,e|=0),_[t+48>>2]=_[i>>2],_[t+48+4>>2]=_[i+4>>2],_[t+48+8>>2]=_[i+8>>2],_[t+48+12>>2]=_[i+12>>2]}function Qo(t,e,i){t|=0,e|=0,i|=0;var n=0;for(n=0;!((0|n)>=(0|e));)Pn(i+(96*n|0)|0,(0|_[t+12>>2])+(96*n|0)|0),n=n+1|0}function Eo(t,e,i){e|=0,i|=0,function(t){_[(t|=0)>>2]=3752}(t|=0),_[t>>2]=3728,Yo(t+4|0,e),Yo(t+68|0,i),Yo(t+132|0,e),_[t+196>>2]=0}function Ho(t){var e;e=Q,Q=Q+16|0,function(t){var e;t|=0,e=Q,Q=Q+48|0,p[e+32>>2]=1,p[e+28>>2]=0,p[e+24>>2]=0,p[e+20>>2]=0,p[e+16>>2]=1,p[e+12>>2]=0,p[e+8>>2]=0,p[e+4>>2]=0,p[e>>2]=1,vo(t,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),Q=e}(t|=0),p[e+8>>2]=0,p[e+4>>2]=0,p[e>>2]=0,R_(t+48|0,e+8|0,e+4|0,e),Q=e}function Zo(t,e){(function(t,e){var i,n;e|=0,i=Q,Q=Q+16|0,_s(t|=0),n=0|vb(0|_[e+4>>2]),_[i>>2]=0,co(t,n,i),e_(e,n,0|_[t+12>>2]),Q=i})(t|=0,e|=0),_[t+20>>2]=_[e+20>>2],_[t+20+4>>2]=_[e+20+4>>2],_[t+20+8>>2]=_[e+20+8>>2],_[t+20+12>>2]=_[e+20+12>>2]}function Uo(t,e,i,n,o,r,s,p){return e|=0,i|=0,n|=0,o|=0,r|=0,s|=0,p|=0,+ +Vb[1&_[12+(0|_[(t|=0)>>2])>>2]](t,e,i,n,o,r,s,p)}function Yo(t,e){Mn(t|=0,e|=0),_[t+48>>2]=_[e+48>>2],_[t+48+4>>2]=_[e+48+4>>2],_[t+48+8>>2]=_[e+48+8>>2],_[t+48+12>>2]=_[e+48+12>>2]}function Jo(){var t=0,e=0;return e=0|Or(0|(e=0|f_(0|_[6136],0|_[6137],1284865837,1481765933)),0|w(),1,0),t=0|w(),_[6136]=e,_[6137]=t,t=0|K_(0|e,0|t,33),w(),0|t}function Xo(t,e,i,n){var o;t|=0,e=+e,i=+i,n=+n,o=Q,Q=Q+16|0,p[o+8>>2]=-e,p[o+4>>2]=-i,p[o>>2]=-n,R_(t,o+8|0,o+4|0,o),Q=o}function zo(t,e,i){t|=0,e|=0,i|=0;var n=0;for(n=0;!((0|n)>=(0|e));)Zo(i+(36*n|0)|0,(0|_[t+12>>2])+(36*n|0)|0),n=n+1|0}function Ko(t,e,i){i|=0,R_(t|=0,(0|vb(e|=0))+(i<<2)|0,(0|vb(e+16|0))+(i<<2)|0,(0|vb(e+32|0))+(i<<2)|0)}function qo(t){t|=0;var e=0;do{_[t+4>>2]=0,p[t+8>>2]=0,0|(e=0|_[t+24>>2])&&qo(e),t=0|_[t+28>>2]}while(0|t)}function $o(t,e,i,n,o,_){we(t|=0,e|=0,i|=0,n|=0,o|=0,_=+_)}function t_(t,e){e|=0,_[32+(t|=0)>>2]=_[e>>2],_[t+32+4>>2]=_[e+4>>2],_[t+32+8>>2]=_[e+8>>2],_[t+32+12>>2]=_[e+12>>2]}function e_(t,e,i){t|=0,e|=0,i|=0;var n=0;for(n=0;!((0|n)>=(0|e));)_[i+(n<<2)>>2]=_[(0|_[t+12>>2])+(n<<2)>>2],n=n+1|0}function i_(t,e){e|=0,_[52+(t|=0)>>2]=_[e>>2],_[t+52+4>>2]=_[e+4>>2],_[t+52+8>>2]=_[e+8>>2],_[t+52+12>>2]=_[e+12>>2]}function n_(t,e,i,n,o){e|=0,i|=0,n|=0,o|=0,_[(t|=0)>>2]=_[e>>2],_[t+4>>2]=_[i>>2],_[t+8>>2]=_[n>>2],_[t+12>>2]=_[o>>2]}function o_(t,e){e|=0,_[16+(t|=0)>>2]=_[e>>2],_[t+16+4>>2]=_[e+4>>2],_[t+16+8>>2]=_[e+8>>2],_[t+16+12>>2]=_[e+12>>2]}function __(t,e){e|=0,_[68+(t|=0)>>2]=_[e>>2],_[t+68+4>>2]=_[e+4>>2],_[t+68+8>>2]=_[e+8>>2],_[t+68+12>>2]=_[e+12>>2]}function r_(t,e){e|=0,_[36+(t|=0)>>2]=_[e>>2],_[t+36+4>>2]=_[e+4>>2],_[t+36+8>>2]=_[e+8>>2],_[t+36+12>>2]=_[e+12>>2]}function s_(t,e,i){e|=0,i|=0,(0|_[4+(t|=0)>>2])==(0|e)&&1!=(0|_[t+28>>2])&&(_[t+28>>2]=i)}function p_(t,e){e|=0,_[48+(t|=0)>>2]=_[e>>2],_[t+48+4>>2]=_[e+4>>2],_[t+48+8>>2]=_[e+8>>2],_[t+48+12>>2]=_[e+12>>2]}function c_(t,e){return e|=0,p[(t|=0)>>2]=+p[t>>2]+ +p[e>>2],p[t+4>>2]=+p[t+4>>2]+ +p[e+4>>2],p[t+8>>2]=+p[t+8>>2]+ +p[e+8>>2],0|t}function a_(t){var e;for(e=0|(t|=0)?t:1;!(0|(t=0|di(e)));){if(!(t=0|Wc())){t=0;break}Xb[1&t]()}return 0|t}function b_(t,e){e|=0,_[4+(t|=0)>>2]=_[e>>2],_[t+4+4>>2]=_[e+4>>2],_[t+4+8>>2]=_[e+8>>2],_[t+4+12>>2]=_[e+12>>2]}function d_(t,e){e|=0,_[(t|=0)>>2]=_[e>>2],_[t+4>>2]=_[e+4>>2],_[t+8>>2]=_[e+8>>2],_[t+12>>2]=_[e+12>>2]}function l_(t,e){e|=0,_[40+(t|=0)>>2]=_[e>>2],_[t+40+4>>2]=_[e+4>>2],_[t+40+8>>2]=_[e+8>>2],_[t+40+12>>2]=_[e+12>>2]}function A_(t,e){e|=0,_[24+(t|=0)>>2]=_[e>>2],_[t+24+4>>2]=_[e+4>>2],_[t+24+8>>2]=_[e+8>>2],_[t+24+12>>2]=_[e+12>>2]}function f_(t,e,i,n){var o,_;return e|=0,n|=0,o=0|function(t,e){var i,n,o;return o=((i=0|g(65535&(e|=0),65535&(t|=0)))>>>16)+(0|g(65535&e,t>>>16))|0,n=0|g(e>>>16,65535&t),0|(S((o>>>16)+(0|g(e>>>16,t>>>16))+(((65535&o)+n|0)>>>16)|0),o+n<<16|65535&i)}(t|=0,i|=0),_=0|w(),0|(S((0|g(e,i))+(0|g(n,t))+_|0&_),o)}function u_(t,e){return e|=0,p[(t|=0)>>2]=+p[t>>2]*+p[e>>2],p[t+4>>2]=+p[t+4>>2]*+p[e>>2],p[t+8>>2]=+p[t+8>>2]*+p[e>>2],0|t}function m_(t,e){e|=0,_[(t|=0)>>2]=0,_[t+4>>2]=0,_[t+8>>2]=0,_[t+12>>2]=0,p[t+(_[e+52>>2]<<2)>>2]=1}function h_(t,e){e|=0,_[8+(t|=0)>>2]=_[e>>2],_[t+8+4>>2]=_[e+4>>2],_[t+8+8>>2]=_[e+8>>2],_[t+8+12>>2]=_[e+12>>2]}function y_(t,e){t|=0,e|=0;var i=0;for(i=0;!((0|i)>=(0|e));)Ba((0|_[t+12>>2])+(36*i|0)|0),i=i+1|0}function g_(){var t=0;return _[6630]=1+(0|_[6630]),(t=0|di(203))?(_[(t+4+15&-16)-4>>2]=t,0|(t=t+4+15&-16)):0|(t=0)}function C_(){var t=0;return _[6630]=1+(0|_[6630]),(t=0|di(1407))?(_[(t+4+15&-16)-4>>2]=t,0|(t=t+4+15&-16)):0|(t=0)}function v_(t,e,i,n,o,r){e|=0,i|=0,n=+n,o|=0,r|=0,pd[1&_[32+(0|_[(t|=0)>>2])>>2]](t,e,i,n,o,r)}function S_(t){return t|=0,_[6630]=1+(0|_[6630]),(t=0|di(t+19|0))?(_[(t+4+15&-16)-4>>2]=t,0|(t=t+4+15&-16)):0|(t=0)}function w_(){var t=0;return _[6630]=1+(0|_[6630]),(t=0|di(191))?(_[(t+4+15&-16)-4>>2]=t,0|(t=t+4+15&-16)):0|(t=0)}function k_(t,e){t|=0,!(e|=0)&&3&_[t+204>>2]||(4!=(-2&_[t+216>>2])&&(_[t+216>>2]=1),p[t+220>>2]=0)}function R_(t,e,i,n){e|=0,i|=0,n|=0,_[(t|=0)>>2]=_[e>>2],_[t+4>>2]=_[i>>2],_[t+8>>2]=_[n>>2],p[t+12>>2]=0}function j_(){var t=0;return _[6630]=1+(0|_[6630]),(t=0|di(1331))?(_[(t+4+15&-16)-4>>2]=t,0|(t=t+4+15&-16)):0|(t=0)}function D_(){var t=0;return _[6630]=1+(0|_[6630]),(t=0|di(379))?(_[(t+4+15&-16)-4>>2]=t,0|(t=t+4+15&-16)):0|(t=0)}function I_(){var t=0;return _[6630]=1+(0|_[6630]),(t=0|di(135))?(_[(t+4+15&-16)-4>>2]=t,0|(t=t+4+15&-16)):0|(t=0)}function B_(){var t=0;return _[6630]=1+(0|_[6630]),(t=0|di(627))?(_[(t+4+15&-16)-4>>2]=t,0|(t=t+4+15&-16)):0|(t=0)}function W_(){var t=0;return _[6630]=1+(0|_[6630]),(t=0|di(219))?(_[(t+4+15&-16)-4>>2]=t,0|(t=t+4+15&-16)):0|(t=0)}function F_(){var t=0;return _[6630]=1+(0|_[6630]),(t=0|di(1147))?(_[(t+4+15&-16)-4>>2]=t,0|(t=t+4+15&-16)):0|(t=0)}function O_(t){return(t=+function(t){return+(t=+t)%6.2831854820251465}(t=+t))<-3.1415927410125732?+(t+=6.2831854820251465):t>3.1415927410125732?+(t+=-6.2831854820251465):+t}function x_(){var t=0;return _[6630]=1+(0|_[6630]),(t=0|di(115))?(_[(t+4+15&-16)-4>>2]=t,0|(t=t+4+15&-16)):0|(t=0)}function T_(){var t=0;return _[6630]=1+(0|_[6630]),(t=0|di(783))?(_[(t+4+15&-16)-4>>2]=t,0|(t=t+4+15&-16)):0|(t=0)}function P_(){var t=0;return _[6630]=1+(0|_[6630]),(t=0|di(131))?(_[(t+4+15&-16)-4>>2]=t,0|(t=t+4+15&-16)):0|(t=0)}function V_(){var t=0;return _[6630]=1+(0|_[6630]),(t=0|di(111))?(_[(t+4+15&-16)-4>>2]=t,0|(t=t+4+15&-16)):0|(t=0)}function M_(t){var e;(e=0|_[12+(t|=0)>>2])&&(1&n[t+16|0]&&gs(e),_[t+12>>2]=0)}function G_(){var t=0;return _[6630]=1+(0|_[6630]),(t=0|di(95))?(_[(t+4+15&-16)-4>>2]=t,0|(t=t+4+15&-16)):0|(t=0)}function L_(t,e){return e|=0,+ +vs(+p[(t|=0)>>2],+p[t+4>>2],+p[t+8>>2],+p[e>>2],+p[e+4>>2],+p[e+8>>2])}function N_(){var t=0;return _[6630]=1+(0|_[6630]),(t=0|di(75))?(_[(t+4+15&-16)-4>>2]=t,0|(t=t+4+15&-16)):0|(t=0)}function Q_(){var t=0;return _[6630]=1+(0|_[6630]),(t=0|di(35))?(_[(t+4+15&-16)-4>>2]=t,0|(t=t+4+15&-16)):0|(t=0)}function E_(t){_[(t|=0)>>2]=3648,p[t+4>>2]=1,_[t+8>>2]=0,o[t+12>>1]=1,o[t+14>>1]=-1,_[t+16>>2]=0}function H_(t){_[(t|=0)>>2]=0,_[t+4>>2]=0,_[t+8>>2]=4096,_[t+12>>2]=4096,_[t+16>>2]=0,_[t+20>>2]=1}function Z_(t,e,i){return t|=0,e|=0,(0|(i|=0))<32?(S(e<<i|(t&(1<<i)-1<<32-i)>>>32-i),t<<i):(S(t<<i-32),0)}function U_(t,e,i,n){e|=0,i|=0,n|=0,cd[127&_[80+(0|_[(t|=0)>>2])>>2]](t,e,i,n)}function Y_(t,e){var i;return t|=0,e=+e,i=Q,Q=Q+16|0,p[i>>2]=e,t=0|u_(t,i),Q=i,0|t}function J_(t){3&_[204+(t|=0)>>2]||(4!=(-2&_[t+216>>2])&&(_[t+216>>2]=1),p[t+220>>2]=0)}function X_(t,e){e|=0,t=0|_[4+(t|=0)>>2],Qb[31&_[8+(0|_[t>>2])>>2]](t,0|_[e+36>>2])}function z_(t,e){(function(t,e){R_(t|=0,e|=0,e+16|0,e+32|0),R_(t+16|0,e+4|0,e+20|0,e+36|0),R_(t+32|0,e+8|0,e+24|0,e+40|0)})(t|=0,e|=0),R_(t+48|0,e+48|0,e+52|0,e+56|0)}function K_(t,e,i){return t|=0,e|=0,(0|(i|=0))<32?(S(e>>>i|0),t>>>i|(e&(1<<i)-1)<<32-i):(S(0),e>>>i-32|0)}function q_(t,e,i,n){e|=0,i|=0,n|=0,cd[127&_[88+(0|_[(t|=0)>>2])>>2]](t,e,i,n)}function $_(t,e){var i;return t|=0,e=+e,i=Q,Q=Q+16|0,p[i>>2]=1/e,t=0|Go(t,i),Q=i,0|t}function tr(t,e,i,n){e|=0,i|=0,n|=0,cd[127&_[36+(0|_[(t|=0)>>2])>>2]](t,e,i,n)}function er(t,e,i){return e=+e,i|=0,0|Nb[1&_[52+(0|_[(t|=0)>>2])>>2]](t,e,i,.01666666753590107)}function ir(t,e,i){e=+e,_[(i|=0)>>2]=0,_[i+4>>2]=0,_[i+8>>2]=0,_[i+12>>2]=0}function nr(t,e,i,n){return e=+e,i|=0,n=+n,0|Nb[1&_[52+(0|_[(t|=0)>>2])>>2]](t,e,i,n)}function or(t,e,i,n){e|=0,i|=0,n|=0,cd[127&_[28+(0|_[(t|=0)>>2])>>2]](t,e,i,n)}function _r(t,e,i,n){e|=0,i|=0,n|=0,Zb[31&_[8+(0|_[(t|=0)>>2])>>2]](t,e,i,n)}function rr(t,e,i,n,o){o|=0,R_(t|=0,e|=0,i|=0,n|=0),_[t+12>>2]=_[o>>2]}function sr(t,e,i,o){e|=0,i=+i,o=+o,n[737+(t|=0)|0]=1&e,p[t+680>>2]=i,p[t+684>>2]=o}function pr(t,e,i){e|=0,i|=0,cd[127&_[36+(0|_[(t|=0)>>2])>>2]](t,e,i,-3)}function cr(t,e,i,n,o){return 1}function ar(t,e,i,n,o,_,r,s,p,c){return v(18),0}function br(t,e,i,n){e|=0,i|=0,n|=0,cd[127&_[32+(0|_[(t|=0)>>2])>>2]](t,e,i,n)}function dr(t,e,i,n,o,_,r,s,p,c){return v(9),0}function lr(t,e,i,n){e|=0,i=+i,n|=0,od[7&_[28+(0|_[(t|=0)>>2])>>2]](t,e,i,n)}function Ar(t,e,i,n){e|=0,i|=0,n|=0,cd[127&_[8+(0|_[(t|=0)>>2])>>2]](t,e,i,n)}function fr(t){Rc(144+(t|=0)|0),Rc(t+124|0),Rc(t+104|0)}function ur(t,e,i){e|=0,i|=0,cd[127&_[36+(0|_[(t|=0)>>2])>>2]](t,e,i,-1)}function mr(t,e){return e=+e,0|Nb[1&_[52+(0|_[(t|=0)>>2])>>2]](t,e,1,.01666666753590107)}function hr(t,e,i){e|=0,i|=0,rd[127&_[56+(0|_[(t|=0)>>2])>>2]](t,e,i)}function yr(t,e,i,n,o,_,r,s,p,c){v(43)}function gr(t){en(t|=0),t&&(_[6631]=1+(0|_[6631]),Li(0|_[t+-4>>2]))}function Cr(t,e,i){po(t|=0,e|=0,i|=0)}function vr(t,e){e|=0,cd[127&_[36+(0|_[(t|=0)>>2])>>2]](t,e,2,-3)}function Sr(t,e,i){e=+e,i|=0,td[15&_[32+(0|_[(t|=0)>>2])>>2]](t,e,i)}function wr(t){pe(t|=0),t&&(_[6631]=1+(0|_[6631]),Li(0|_[t+-4>>2]))}function kr(t,e,i){return e|=0,i|=0,+ +Ob[15&_[32+(0|_[(t|=0)>>2])>>2]](t,e,i)}function Rr(t,e,i,n,o,_,r,s,p){return v(17),0}function jr(t){_[(t|=0)>>2]=5444,t&&(_[6631]=1+(0|_[6631]),Li(0|_[t+-4>>2]))}function Dr(t,e,i,n,o,_,r,s,p){return v(8),0}function Ir(t,e,i,n){return 0|(S(0|(n=(e|=0)-(n|=0)-((i|=0)>>>0>(t|=0)>>>0|0)>>>0)),t-i>>>0)}function Br(t,e,i){e|=0,i=+i,nd[7&_[8+(0|_[(t|=0)>>2])>>2]](t,e,i)}function Wr(t,e,i,n,o){n_(t|=0,e|=0,i|=0,n|=0,o|=0)}function Fr(t,e,i){e|=0,i|=0,rd[127&_[40+(0|_[(t|=0)>>2])>>2]](t,e,i)}function Or(t,e,i,n){return 0|(S((e|=0)+(n|=0)+((t|=0)+(i|=0)>>>0>>>0<t>>>0|0)>>>0|0),t+i>>>0)}function xr(t,e){!function(t,e){t|=0,e|=0;var i=0,n=0,o=0;for(i=0;3!=(0|i);)o=(0|vb(e))+(i<<2)|0,n=+O_(+p[o>>2]),p[t+868+(i<<6)+4>>2]=n,i=i+1|0}(t|=0,e|=0)}function Tr(t,e){!function(t,e){t|=0,e|=0;var i=0,n=0,o=0;for(i=0;3!=(0|i);)o=(0|vb(e))+(i<<2)|0,n=+O_(+p[o>>2]),p[t+868+(i<<6)>>2]=n,i=i+1|0}(t|=0,e|=0)}function Pr(t,e){e|=0,cd[127&_[36+(0|_[(t|=0)>>2])>>2]](t,e,1,-1)}function Vr(t){_[(t|=0)>>2]=3820,p[t+4>>2]=1,o[t+8>>1]=1,o[t+10>>1]=-1}function Mr(t,e){e|=0,4!=(-2&_[216+(t|=0)>>2])&&(_[t+216>>2]=e)}function Gr(t,e){!function(t,e){e|=0,_[696+(t|=0)>>2]=_[e>>2],_[t+696+4>>2]=_[e+4>>2],_[t+696+8>>2]=_[e+8>>2],_[t+696+12>>2]=_[e+12>>2]}(t|=0,e|=0)}function Lr(t,e){!function(t,e){e|=0,_[680+(t|=0)>>2]=_[e>>2],_[t+680+4>>2]=_[e+4>>2],_[t+680+8>>2]=_[e+8>>2],_[t+680+12>>2]=_[e+12>>2]}(t|=0,e|=0)}function Nr(t,e){e|=0,rd[127&_[56+(0|_[(t|=0)>>2])>>2]](t,e,0)}function Qr(t,e){return e|=0,0|Qb[31&_[40+(0|_[(t|=0)>>2])>>2]](t,e)}function Er(t,e){e|=0,id[127&_[60+(0|_[(t|=0)>>2])>>2]](t,e)}function Hr(t,e){e|=0,id[127&_[92+(0|_[(t|=0)>>2])>>2]](t,e)}function Zr(t,e,i,n,o){On(t|=0,e|=0,i=+i,n=+n,o=+o)}function Ur(t,e){e|=0,id[127&_[40+(0|_[(t|=0)>>2])>>2]](t,e)}function Yr(t,e){e|=0,id[127&_[84+(0|_[(t|=0)>>2])>>2]](t,e)}function Jr(t,e){e|=0,id[127&_[72+(0|_[(t|=0)>>2])>>2]](t,e)}function Xr(t){(t|=0)&&zb[511&_[8+(0|_[t>>2])>>2]](t)}function zr(t,e){return e|=0,e=0|Vc(0|_[12+(t|=0)>>2],e),0|_[e>>2]}function Kr(t){(t|=0)&&zb[511&_[4+(0|_[t>>2])>>2]](t)}function qr(t){!function(t,e){var i;t|=0,e=+e,i=Q,Q=Q+16|0,p[i>>2]=1/e,u_(t,i),Q=i}(t|=0,+ep(+p[t>>2],+p[t+4>>2],+p[t+8>>2]))}function $r(t,e){e|=0,id[127&_[8+(0|_[(t|=0)>>2])>>2]](t,e)}function ts(t,e){e|=0,id[127&_[16+(0|_[(t|=0)>>2])>>2]](t,e)}function es(t,e){e|=0,id[127&_[36+(0|_[(t|=0)>>2])>>2]](t,e)}function is(t,e){e|=0,id[127&_[12+(0|_[(t|=0)>>2])>>2]](t,e)}function ns(t,e){K(t|=0,e|=0)}function os(t,e){e|=0,id[127&_[68+(0|_[(t|=0)>>2])>>2]](t,e)}function _s(t){n[16+(t|=0)|0]=1,_[t+12>>2]=0,_[t+4>>2]=0,_[t+8>>2]=0}function rs(t){return 0|function(t){return 0|!!(3&(t|=0))}(0|_[204+(t|=0)>>2])}function ss(t,e){jo(t|=0,e|=0)}function ps(t,e){e|=0,id[127&_[24+(0|_[(t|=0)>>2])>>2]](t,e)}function cs(t,e){e|=0,id[127&_[64+(0|_[(t|=0)>>2])>>2]](t,e)}function as(t,e){e|=0,id[127&_[44+(0|_[(t|=0)>>2])>>2]](t,e)}function bs(t,e){!function(t,e){e|=0,_[260+(t|=0)>>2]=1+(0|_[t+260>>2]),Yo(t+4|0,e)}(t|=0,e|=0)}function ds(t){return 0|(4==(0|vb(0|_[236+(t|=0)>>2]))?t:0)}function ls(t,e){e=+e,p[572+(t|=0)>>2]=e,n[t+553|0]=1}function As(t){(t|=0)&&(Rc(t),gb(t))}function fs(t){return+ +qa(+p[16+(t|=0)>>2])}function us(t){return+ +ep(+p[(t|=0)>>2],+p[t+4>>2],+p[t+8>>2])}function ms(t,e){hp(t|=0,e=+e)}function hs(t,e){e=+e,Kb[31&_[44+(0|_[(t|=0)>>2])>>2]](t,e)}function ys(t){return 0|function(t){return(t=+t)<1|0}(+p[4+(t|=0)>>2])}function gs(t){(t|=0)&&(_[6631]=1+(0|_[6631]),Li(0|_[t+-4>>2]))}function Cs(t,e){return 0|function(t,e){return e|=0,e=0|Vc(0|_[276+(t|=0)>>2],e),0|_[e>>2]}(t|=0,e|=0)}function vs(t,e,i,n,o,_){return+((t=+t)*(n=+n)+(e=+e)*(o=+o)+(i=+i)*(_=+_))}function Ss(t,e){gp(t|=0,e=+e)}function ws(t){zb[511&_[44+(0|_[(t|=0)>>2])>>2]](t)}function ks(t){return 0|function(t){return 0|!!(2&(t|=0))}(0|_[204+(t|=0)>>2])}function Rs(t,e){!function(t,e){e=+e,p[(t|=0)+184>>2]=e}(t|=0,e=+e)}function js(t){return 0|function(t){return 0|!!(0|(t|=0))}(0|_[8+(t|=0)>>2])}function Ds(t,e){Sc(t|=0,e=+e)}function Is(t,e,i,n,o){Mo(t|=0,i=+i,n=+n,o=+o,e=+e)}function Bs(t){return 0|Lb[127&_[20+(0|_[(t|=0)>>2])>>2]](t)}function Ws(t,e){Dp(t|=0,e|=0)}function Fs(t,e){return e|=0,0|_[(0|_[220+(t|=0)>>2])+(e<<2)>>2]}function Os(t,e){e=+e,p[572+(t|=0)>>2]=e,n[t+553|0]=0}function xs(t,e){!function(t,e){e|=0,_[(t|=0)+204>>2]=e}(t|=0,e|=0)}function Ts(t){zb[511&_[24+(0|_[(t|=0)>>2])>>2]](t)}function Ps(t,e){!function(t,e){e=+e,_[260+(t|=0)>>2]=1+(0|_[t+260>>2]),p[t+232>>2]=e}(t|=0,e=+e)}function Vs(t,e,i,n){n=+n}function Ms(t){return 0|function(t){return 0|!!(1&(t|=0))}(0|_[204+(t|=0)>>2])}function Gs(t){return 0|Lb[127&_[28+(0|_[(t|=0)>>2])>>2]](t)}function Ls(t){return 0|Xs(0|_[68+(t|=0)>>2])}function Ns(t){return 0|Lb[127&_[48+(0|_[(t|=0)>>2])>>2]](t)}function Qs(t){return 1==(0|n[0|(t|=0)])?t=0:(n[0|t]=1,t=1),0|t}function Es(t){return 0|function(t){return 0|vb(0|_[(t|=0)+268>>2])}(t|=0)}function Hs(t,e){!function(t,e){t|=0;var i,n,o,_,r,s,c=0;i=Q,Q=Q+48|0,n=2/+Mc(e|=0),c=0|vb(e),_=+p[c>>2],c=0|pb(e),o=+p[c>>2],c=0|sb(e),s=+p[c>>2],e=0|rb(e),r=+p[e>>2],p[i+32>>2]=1-(o*(o*n)+s*(s*n)),p[i+28>>2]=_*(o*n)-r*(s*n),p[i+24>>2]=_*(s*n)+r*(o*n),p[i+20>>2]=_*(o*n)+r*(s*n),p[i+16>>2]=1-(_*(_*n)+s*(s*n)),p[i+12>>2]=o*(s*n)-r*(_*n),p[i+8>>2]=_*(s*n)-r*(o*n),p[i+4>>2]=o*(s*n)+r*(_*n),p[i>>2]=1-(_*(_*n)+o*(o*n)),vo(t,i+32|0,i+28|0,i+24|0,i+20|0,i+16|0,i+12|0,i+8|0,i+4|0,i),Q=i}(t|=0,e|=0)}function Zs(t,e){!function(t,e){e=+e,_[260+(t|=0)>>2]=1+(0|_[t+260>>2]),p[t+228>>2]=e}(t|=0,e=+e)}function Us(t){return+ +Bb[15&_[48+(0|_[(t|=0)>>2])>>2]](t)}function Ys(t,e){e|=0,o[10+(t|=0)>>1]=e}function Js(t,e){e|=0,o[8+(t|=0)>>1]=e}function Xs(t){return 0|Lb[127&_[36+(0|_[(t|=0)>>2])>>2]](t)}function zs(t,e){b_(t|=0,e|=0)}function Ks(t,e){!function(t,e){e|=0,_[(t|=0)+240>>2]=e}(t|=0,e|=0)}function qs(t,e){e|=0,n[170+(t|=0)|0]=1&e}function $s(t,e){e|=0,o[12+(t|=0)>>1]=e}function tp(t,e){e|=0,o[14+(t|=0)>>1]=e}function ep(t,e,i){return+ +db(+function(t,e,i){return+ +vs(t=+t,e=+e,i=+i,t,e,i)}(t=+t,e=+e,i=+i))}function ip(t,e){!function(t,e){e=+e,_[260+(t|=0)>>2]=1+(0|_[t+260>>2]),p[t+224>>2]=e}(t|=0,e=+e)}function np(t){return 0|function(t){return 2!=(0|(t=0|vb(t|=0)))&5!=(0|t)|0}(0|_[216+(t|=0)>>2])}function op(t){return(t=+t)<-1?t=-1:t>1&&(t=1),+ +m(+t)}function _p(t,e,i,n,o,_){return n=+n,v(4),0}function rp(t,e,i,n){}function sp(t){(t|=0)&&gs(t)}function pp(t,e,i,n){return 0|si(t|=0,e|=0,i|=0,n|=0,0)}function cp(t,e,i){e=+e}function ap(t,e){e|=0,_[72+(t|=0)>>2]=e}function bp(t,e){e|=0,_[8+(t|=0)>>2]=e}function dp(t,e){e|=0,_[216+(t|=0)>>2]=e}function lp(t,e,i,n,o,_){v(39)}function Ap(t){return(255&(t|=0))<<24|(t>>8&255)<<16|(t>>16&255)<<8|t>>>24}function fp(t,e){e|=0,_[4+(t|=0)>>2]=e}function up(t){return 0|Ga(t|=0)}function mp(t,e){e|=0,n[524+(t|=0)|0]=1&e}function hp(t,e){e=+e,p[248+(t|=0)>>2]=e}function yp(t){return+ +function(t){var e;return e=0|vb(28+(t|=0)|0),+ +p[e+(_[t+52>>2]<<2)>>2]}(t|=0)}function gp(t,e){e=+e,p[252+(t|=0)>>2]=e}function Cp(t){return 0|Qa(t|=0)}function vp(t,e){e|=0,n[552+(t|=0)|0]=1&e}function Sp(t,e,i){return 0}function wp(t){return 0|function(t){return 0|_[(t|=0)+240>>2]}(t|=0)}function kp(t,e){e|=0,n[736+(t|=0)|0]=1&e}function Rp(t){return 0|o[10+(t|=0)>>1]}function jp(t){return 0|o[8+(t|=0)>>1]}function Dp(t,e){e|=0,n[21+(t|=0)|0]=1&e}function Ip(t){return 0|vb(0|_[192+(t|=0)>>2])}function Bp(t){return 0|vb(0|_[204+(t|=0)>>2])}function Wp(t){return 0|vb(0|_[24+(t|=0)>>2])}function Fp(t){return 0|vb(0|_[68+(t|=0)>>2])}function Op(t,e,i,n,o){return v(6),0}function xp(t){return 0|o[12+(t|=0)>>1]}function Tp(t,e){e|=0,n[737+(t|=0)|0]=1&e}function Pp(t,e){return 0|function(t,e){return e|=0,p[(t|=0)>>2]=+p[t>>2]-+p[e>>2],p[t+4>>2]=+p[t+4>>2]-+p[e+4>>2],p[t+8>>2]=+p[t+8>>2]-+p[e+8>>2],0|t}(t|=0,e|=0)}function Vp(t,e){return 0|c_(t|=0,e|=0)}function Mp(t){return 0|o[14+(t|=0)>>1]}function Gp(t,e){e|=0,_[84+(t|=0)>>2]=e}function Lp(t,e){e|=0,_[88+(t|=0)>>2]=e}function Np(t,e){return(0|(t|=0))==(0|(e|=0))|0}function Qp(t){return t=0|sb(t|=0),+ +p[t>>2]}function Ep(t){return t=0|pb(t|=0),+ +p[t>>2]}function Hp(t){return t=0|rb(t|=0),+ +p[t>>2]}function Zp(t){return 0|vb(0|_[240+(t|=0)>>2])}function Up(t,e){e=+e,p[104+(t|=0)>>2]=e}function Yp(t,e,i,n,o){return i=+i,v(2),0}function Jp(t){return+ +function(t){var e;return e=(2+(0|_[52+(t|=0)>>2])|0)%3|0,t=(0|vb(t+28|0))+(e<<2)|0,+ +p[t>>2]}(t|=0)}function Xp(t,e){e=+e,p[64+(t|=0)>>2]=e}function zp(t,e){e=+e,p[68+(t|=0)>>2]=e}function Kp(t){return 0|vb(0|_[52+(t|=0)>>2])}function qp(t){(t|=0)&&gb(t)}function $p(t,e){Ec(t|=0,e=+e)}function tc(t,e){e=+e,p[76+(t|=0)>>2]=e}function ec(t,e){e=+e,p[60+(t|=0)>>2]=e}function ic(t,e){e=+e,p[52+(t|=0)>>2]=e}function nc(t,e){e=+e,p[56+(t|=0)>>2]=e}function oc(t,e){e|=0,_[20+(t|=0)>>2]=e}function _c(t,e,i){return i=+i,0}function rc(t){return+ +p[204+(t|=0)>>2]}function sc(t,e){ta(t|=0,e=+e)}function pc(t,e){ea(t|=0,e=+e)}function cc(t,e){Aa(t|=0,e=+e)}function ac(t){return+ +db(+Mc(t|=0))}function bc(t){return 0|_[68+(t|=0)>>2]}function dc(t,e,i,n,o){v(37)}function lc(t){return 0|Ya(t|=0)}function Ac(t){return 0|_[8+(t|=0)>>2]}function fc(t,e){e=+e,p[92+(t|=0)>>2]=e}function uc(t,e){e=+e,p[40+(t|=0)>>2]=e}function mc(t,e){e=+e,p[36+(t|=0)>>2]=e}function hc(t,e){e=+e,p[48+(t|=0)>>2]=e}function yc(t){return t=0|vb(t|=0),+ +p[t>>2]}function gc(t,e){e=+e,p[24+(t|=0)>>2]=e}function Cc(t,e){e=+e,p[20+(t|=0)>>2]=e}function vc(t,e){e=+e,p[32+(t|=0)>>2]=e}function Sc(t,e){e=+e,p[16+(t|=0)>>2]=e}function wc(t,e){e=+e,p[28+(t|=0)>>2]=e}function kc(t,e){e|=0,_[(t|=0)>>2]=e}function Rc(t){!function(t){M_(t|=0),_s(t)}(t|=0)}function jc(t,e,i){}function Dc(t,e){e=+e,p[72+(t|=0)>>2]=e}function Ic(t){return 0|_[24+(t|=0)>>2]}function Bc(t){return 0|pb(t|=0)}function Wc(){var t;return t=0|_[6773],_[6773]=t+0,0|t}function Fc(t){return 0|_[136+(t|=0)>>2]}function Oc(t,e){e=+e,p[44+(t|=0)>>2]=e}function xc(t){return 0|vb(0|_[4+(t|=0)>>2])}function Tc(t,e,i,n){return v(15),0}function Pc(t){qr(t|=0)}function Vc(t,e){return(t|=0)+((e|=0)<<2)|0}function Mc(t){return+ +ho(t|=0,t)}function Gc(t){return 0|((t|=0)?31-(0|C(t^t-1)):32)}function Lc(t){return+ +p[(t|=0)>>2]}function Nc(t){return+ +p[64+(t|=0)>>2]}function Qc(t){return+ +p[68+(t|=0)>>2]}function Ec(t,e){e=+e,p[12+(t|=0)>>2]=e}function Hc(t){return 0|_[4+(t|=0)>>2]}function Zc(t){return 0|_[88+(t|=0)>>2]}function Uc(t){return 0|_[92+(t|=0)>>2]}function Yc(t){return 52+(t|=0)|0}function Jc(t){return+ +p[76+(t|=0)>>2]}function Xc(t){return 0|_[16+(t|=0)>>2]}function zc(t){return+ +p[60+(t|=0)>>2]}function Kc(t){return+ +p[52+(t|=0)>>2]}function qc(t){return+ +p[56+(t|=0)>>2]}function $c(t){return 0|_[96+(t|=0)>>2]}function ta(t,e){e=+e,p[8+(t|=0)>>2]=e}function ea(t,e){e=+e,p[4+(t|=0)>>2]=e}function ia(t){return 16+(t|=0)|0}function na(t,e){return 1}function oa(t){return 0|_[20+(t|=0)>>2]}function _a(t,e){}function ra(t,e,i,n){v(33)}function sa(t){return 36+(t|=0)|0}function pa(t){return+ +p[92+(t|=0)>>2]}function ca(t){return+ +p[44+(t|=0)>>2]}function aa(t){return+ +p[40+(t|=0)>>2]}function ba(t){return+ +p[36+(t|=0)>>2]}function da(t){return+ +p[48+(t|=0)>>2]}function la(t){return+ +p[72+(t|=0)>>2]}function Aa(t,e){e=+e,p[(t|=0)>>2]=e}function fa(t){return+ +p[24+(t|=0)>>2]}function ua(t){return+ +p[4+(t|=0)>>2]}function ma(t){return+ +p[20+(t|=0)>>2]}function ha(t){return+ +p[32+(t|=0)>>2]}function ya(t){return+ +p[16+(t|=0)>>2]}function ga(t){return+ +p[12+(t|=0)>>2]}function Ca(t){return+ +p[28+(t|=0)>>2]}function va(t){return 52}function Sa(t){return 84}function wa(t,e){return(t|=0)+((e|=0)<<4)|0}function ka(t){return+ +p[8+(t|=0)>>2]}function Ra(t,e,i,n){n=+n,v(31)}function ja(t){return 32+(t|=0)|0}function Da(t){return 0|_[(t|=0)>>2]}function Ia(t){return 68+(t|=0)|0}function Ba(t){Rc(t|=0)}function Wa(t){!function(t){_s(t|=0)}(t|=0)}function Fa(t,e,i){return v(14),0}function Oa(t){return 60}function xa(t,e,i){return v(3),0}function Ta(t){return 0|((t|=0)>>>0>4294963200?-1:t)}function Pa(t){_[(t|=0)>>2]=5444}function Va(t){return(255&(t|=0))<<8|t>>8&255}function Ma(t,e,i){return i=+i,v(13),0}function Ga(t){return 92+(t|=0)|0}function La(){return 0|Q_()}function Na(t){return 76+(t|=0)|0}function Qa(t){return 28+(t|=0)|0}function Ea(t){return 40+(t|=0)|0}function Ha(t){return 24+(t|=0)|0}function Za(t,e,i){v(30)}function Ua(t){return 0}function Ya(t){return 48+(t|=0)|0}function Ja(t){return 1}function Xa(t,e,i){i=+i,v(27)}function za(t,e,i){e=+e,v(24)}function Ka(t){return 3}function qa(t){return+(t=+t)}function $a(t,e,i){e=+e,i=+i,v(22)}function tb(t,e){return v(12),0}function eb(t){return 6}function ib(t){return 12}function nb(){return 4}function ob(t){return 2}function _b(){_[6136]=1805,_[6137]=0}function rb(t){return 12+(t|=0)|0}function sb(t){return 8+(t|=0)|0}function pb(t){return 4+(t|=0)|0}function cb(){return 2}function ab(t){L()}function bb(){return 3}function db(t){return+ +l(+(t=+t))}function lb(t){return+ +u(+(t=+t))}function Ab(t){return+ +f(+(t=+t))}function fb(t,e){v(26)}function ub(t,e){e=+e,v(21)}function mb(t){return 0|a_(t|=0)}function hb(t){gb(t|=0)}function yb(t){}function gb(t){Li(t|=0)}function Cb(t){return v(10),0}function vb(t){return 0|(t|=0)}function Sb(t){return v(0),0}function wb(t){v(20)}function kb(){return 1}function Rb(t,e,i){e|=0,i|=0;var o,r=0,s=0,c=0,a=0,b=0,l=0,A=0,f=0,u=0,m=0,h=0,y=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0,O=0,x=0,T=0,P=0,V=0,M=0,G=0,L=0,N=0,E=0;o=Q,Q=Q+16|0,r=0|_[1112+(t|=0)>>2];t:do{if((0|r)>0)for(;;){if(A=0|_[_[t+1120>>2]>>2],0|(r=0|_[A+348>>2])&&(Tt(t+1048|0,r),0|(s=0|_[t+1052>>2])&&(_[6631]=1+(0|_[6631]),Li(0|_[s+-4>>2])),_[t+1052>>2]=r,_[t+1060>>2]=(0|_[t+1060>>2])-1),0|(r=0|_[A+52>>2])&&(0|n[A+56|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[r+-4>>2])),_[A+52>>2]=0),n[A+56|0]=1,_[A+52>>2]=0,_[A+44>>2]=0,_[A+48>>2]=0,0|(r=0|_[A+32>>2])&&(0|n[A+36|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[r+-4>>2])),_[A+32>>2]=0),n[A+36|0]=1,_[A+32>>2]=0,_[A+24>>2]=0,_[A+28>>2]=0,0|(r=0|_[A+12>>2])&&(0|n[A+16|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[r+-4>>2])),_[A+12>>2]=0),n[A+16|0]=1,_[A+12>>2]=0,_[A+4>>2]=0,_[A+8>>2]=0,_[6631]=1+(0|_[6631]),Li(0|_[A+-4>>2]),(0|(r=0|_[t+1112>>2]))<=0){s=r;break t}a=0|_[t+1120>>2],s=0;do{if((0|_[(c=a+(s<<2)|0)>>2])==(0|A)){M=23;break}s=s+1|0}while((0|s)<(0|r));if(23==(0|M)&&(M=0,(0|s)<(0|r)&&(_[c>>2]=_[a+(r+-1<<2)>>2],_[(0|_[t+1120>>2])+(r+-1<<2)>>2]=A,_[t+1112>>2]=r+-1,r=r+-1|0)),(0|r)<=0){s=r;break}}else s=r}while(0);if((0|s)<(0|(r=(0|(r=0|_[t+712>>2]))>(0|e)?e:r))){if((0|_[t+1116>>2])<(0|r)){if(r)if(_[6630]=1+(0|_[6630]),(c=0|di(16+(r<<2|3)|0))?(_[(c+4+15&-16)-4>>2]=c,c=c+4+15&-16):c=0,(0|(A=0|_[t+1112>>2]))>0){a=0;do{_[c+(a<<2)>>2]=_[(0|_[t+1120>>2])+(a<<2)>>2],a=a+1|0}while((0|a)!=(0|A));a=c,c=t+1120|0}else a=c,c=t+1120|0;else a=0,c=t+1120|0;0|(A=0|_[c>>2])&&(0|n[t+1124|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[A+-4>>2])),_[c>>2]=0),n[t+1124|0]=1,_[c>>2]=a,_[t+1116>>2]=r}else c=t+1120|0;do{_[(0|_[c>>2])+(s<<2)>>2]=0,s=s+1|0}while((0|s)!=(0|r))}if(_[t+1112>>2]=r,(0|r)>0){s=0;do{_[6630]=1+(0|_[6630]),(r=0|di(403))?(_[(r+4+15&-16)-4>>2]=r,r=r+4+15&-16):r=0,n[r+16|0]=1,_[r+12>>2]=0,_[r+4>>2]=0,_[r+8>>2]=0,n[r+36|0]=1,_[r+32>>2]=0,_[r+24>>2]=0,_[r+28>>2]=0,n[r+56|0]=1,_[r+52>>2]=0,_[r+44>>2]=0,_[r+48>>2]=0,_[(a=r+348|0)>>2]=0,_[a+4>>2]=0,_[a+8>>2]=0,_[a+12>>2]=0,_[a+16>>2]=0,p[r+368>>2]=100,p[r+372>>2]=.009999999776482582,n[r+376|0]=0,_[(0|_[t+1120>>2])+(s<<2)>>2]=r,a=0|_[t+1120>>2],n[377+(0|_[a+(s<<2)>>2])|0]=1,s=s+1|0,r=0|_[t+1112>>2]}while((0|s)<(0|r));if((0|r)>0){if((0|(c=0|_[t+712>>2]))>0){for(s=0,b=0,l=0,f=0,A=r;;){if(m=0|_[t+720>>2],u=b+ +p[m+(104*s|0)+8>>2],l+=+p[m+(104*s|0)+12>>2],k=f+ +p[m+(104*s|0)+16>>2],e=0|_[a+((29873*s|0)%(0|A)<<2)>>2],m=m+(104*s|0)|0,(0|(a=0|_[e+24>>2]))==(0|_[e+28>>2])&&(0|a)<(0|(h=0|a?a<<1:1))){if(h?(_[6630]=1+(0|_[6630]),(c=0|di(16+(h<<2|3)|0))?(_[(c+4+15&-16)-4>>2]=c,c=c+4+15&-16):c=0,a=0|_[e+24>>2]):c=0,(0|a)>0){A=0;do{_[c+(A<<2)>>2]=_[(0|_[e+32>>2])+(A<<2)>>2],A=A+1|0}while((0|A)!=(0|a))}(A=0|_[e+32>>2])&&(0|n[e+36|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[A+-4>>2]),a=0|_[e+24>>2]),_[e+32>>2]=0),n[e+36|0]=1,_[e+32>>2]=c,_[e+28>>2]=h,c=0|_[t+712>>2]}if(_[(0|_[e+32>>2])+(a<<2)>>2]=m,_[e+24>>2]=a+1,(0|(s=s+1|0))>=(0|c))break;b=u,f=k,A=0|_[t+1112>>2],a=0|_[t+1120>>2]}b=1/+(0|c),(0|r)>=0?r?(f=u*b,l*=b,b*=k,M=70):(c=0,f=u*b,l*=b,b*=k,M=72):(B=t+720|0,x=0,O=0)}else f=1/+(0|c)*0,l=1/+(0|c)*0,b=1/+(0|c)*0,M=70;if(70==(0|M)&&(_[6630]=1+(0|_[6630]),(s=0|di(16+(r<<4|3)|0))?(_[(s+4+15&-16)-4>>2]=s,c=s+4+15&-16,M=72):(c=0,M=72)),72==(0|M)){s=0;do{p[c+(s<<4)>>2]=f,p[c+(s<<4)+4>>2]=l,p[c+(s<<4)+8>>2]=b,p[c+(s<<4)+12>>2]=0,s=s+1|0}while((0|s)!=(0|r));B=t+720|0,x=c,O=c}v=x+4|0,S=x+8|0,C=0;do{for(j=2-((j=.0625*+(0|C))>1?1:j),A=0,e=0;;){if(s=0|_[(0|_[t+1120>>2])+(e<<2)>>2],(0|(a=0|_[s+24>>2]))>0)if(c=0|_[s+32>>2],M=0|_[c>>2],f=+p[M+8>>2]+0,l=+p[M+12>>2]+0,b=+p[M+16>>2]+0,1==(0|a))M=82;else{s=1;do{M=0|_[c+(s<<2)>>2],f+=+p[M+8>>2],l+=+p[M+12>>2],b+=+p[M+16>>2],s=s+1|0}while((0|s)<(0|a));M=80}else b=0,l=0,f=0,M=80;if(80==(0|M)&&(M=0,a?M=82:y=A),82==(0|M)){if(M=0,f=(u=+p[(y=x+(e<<4)|0)>>2])+j*(f*(1/+(0|a))-u),l=(k=+p[(w=x+(e<<4)+4|0)>>2])+j*(l*(1/+(0|a))-k),b=(R=+p[(s=x+(e<<4)+8|0)>>2])+j*(b*(1/+(0|a))-R),p[y>>2]=f,p[w>>2]=l,p[s>>2]=b,p[x+(e<<4)+12>>2]=0,a=0|_[(0|_[t+1120>>2])+(e<<2)>>2],(0|(s=0|_[a+24>>2]))<0){(0|_[a+28>>2])<0&&(0|(c=0|_[a+32>>2])&&(0|n[a+36|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[c+-4>>2])),_[a+32>>2]=0),n[a+36|0]=1,_[a+32>>2]=0,_[a+28>>2]=0);do{_[(0|_[a+32>>2])+(s<<2)>>2]=0,s=s+1|0}while(0|s)}_[a+24>>2]=0,y=A|(f-u)*(f-u)+(l-k)*(l-k)+(b-R)*(b-R)>1.1920928955078125e-7}if((0|(e=e+1|0))>=(0|r))break;A=y}C=C+1|0,s=0|_[t+712>>2];t:do{if((0|s)>0){if((0|r)<=1)for(m=0;;){if(A=0|_[_[t+1120>>2]>>2],e=(0|_[B>>2])+(104*m|0)|0,(0|(c=0|_[A+24>>2]))==(0|_[A+28>>2])&&(0|c)<(0|(F=0|c?c<<1:1))){if(F?(_[6630]=1+(0|_[6630]),(s=0|di(16+(F<<2|3)|0))?(_[(s+4+15&-16)-4>>2]=s,s=s+4+15&-16):s=0,c=0|_[A+24>>2]):s=0,(0|c)>0){a=0;do{_[s+(a<<2)>>2]=_[(0|_[A+32>>2])+(a<<2)>>2],a=a+1|0}while((0|a)!=(0|c))}(a=0|_[A+32>>2])&&(0|n[A+36|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[a+-4>>2]),c=0|_[A+24>>2]),_[A+32>>2]=0),n[A+36|0]=1,_[A+32>>2]=s,_[A+28>>2]=F,s=0|_[t+712>>2]}if(_[(0|_[A+32>>2])+(c<<2)>>2]=e,_[A+24>>2]=c+1,(0|(m=m+1|0))>=(0|s))break t}h=0;do{for(e=0|_[B>>2],l=+p[e+(104*h|0)+8>>2],f=+p[e+(104*h|0)+12>>2],u=+p[e+(104*h|0)+16>>2],c=1,b=+d(+(+p[x>>2]-l))+ +d(+(+p[v>>2]-f))+ +d(+(+p[S>>2]-u)),a=0;a=(A=(k=+d(+(+p[x+(c<<4)>>2]-l))+ +d(+(+p[x+(c<<4)+4>>2]-f))+ +d(+(+p[x+(c<<4)+8>>2]-u)))<b)?c:a,(0|(c=c+1|0))!=(0|r);)b=A?k:b;if(m=0|_[(0|_[t+1120>>2])+(a<<2)>>2],A=e+(104*h|0)|0,(0|(c=0|_[m+24>>2]))==(0|_[m+28>>2])&&(0|c)<(0|(W=0|c?c<<1:1))){if(W?(_[6630]=1+(0|_[6630]),(s=0|di(16+(W<<2|3)|0))?(_[(s+4+15&-16)-4>>2]=s,s=s+4+15&-16):s=0,c=0|_[m+24>>2]):s=0,(0|c)>0){a=0;do{_[s+(a<<2)>>2]=_[(0|_[m+32>>2])+(a<<2)>>2],a=a+1|0}while((0|a)!=(0|c))}(a=0|_[m+32>>2])&&(0|n[m+36|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[a+-4>>2]),c=0|_[m+24>>2]),_[m+32>>2]=0),n[m+36|0]=1,_[m+32>>2]=s,_[m+28>>2]=W,s=0|_[t+712>>2]}_[(0|_[m+32>>2])+(c<<2)>>2]=A,_[m+24>>2]=c+1,h=h+1|0}while((0|h)<(0|s))}}while(0)}while((0|C)<(0|i)&y);if((0|s)>0?(s<<=2,_[6630]=1+(0|_[6630]),(r=0|di(16+(3|s)|0))?(_[(r+4+15&-16)-4>>2]=r,r=r+4+15&-16):r=0,wn(0|r,-1,0|s),w=r,S=r):(w=0,S=0),(0|(r=0|_[t+1112>>2]))>0){e=0|_[t+1120>>2],A=0;do{if(a=0|_[e+(A<<2)>>2],(0|_[a+24>>2])>0){if(s=0|_[B>>2],c=0|_[a+32>>2],_[w+(((0|_[c>>2])-s|0)/104<<2)>>2]=A,(0|_[a+24>>2])>1){r=1;do{_[w+(((0|_[c+(r<<2)>>2])-s|0)/104<<2)>>2]=A,r=r+1|0}while((0|r)<(0|_[a+24>>2]))}r=0|_[t+1112>>2]}A=A+1|0}while((0|A)<(0|r))}if((0|_[t+752>>2])>0){y=0;do{for(F=0|_[t+760>>2],e=0|_[B>>2],r=((0|_[F+(44*y|0)+8>>2])-e|0)/104|0,_[o>>2]=r,_[o+4>>2]=((0|_[F+(44*y|0)+12>>2])-e|0)/104|0,_[o+8>>2]=((0|_[F+(44*y|0)+16>>2])-e|0)/104|0,e=0;;){m=0|_[w+(r<<2)>>2],r=0|_[o+((3==(0|(h=e+1|0))?0:h)<<2)>>2];t:do{if((0|_[w+(r<<2)>>2])!=(0|m)){A=0|_[(0|_[t+1120>>2])+(m<<2)>>2],a=(0|_[B>>2])+(104*r|0)|0,s=0|_[A+24>>2];e:do{if((0|s)>0){for(c=0|_[A+32>>2],r=0;(0|_[c+(r<<2)>>2])!=(0|a);)if((0|(r=r+1|0))>=(0|s))break e;if((0|r)!=(0|s))break t}}while(0);if((0|s)==(0|_[A+28>>2])&&(0|s)<(0|(P=0|s?s<<1:1))){if(P?(_[6630]=1+(0|_[6630]),(r=0|di(16+(P<<2|3)|0))?(_[(r+4+15&-16)-4>>2]=r,r=r+4+15&-16):r=0,s=0|_[A+24>>2]):r=0,(0|s)>0){c=0;do{_[r+(c<<2)>>2]=_[(0|_[A+32>>2])+(c<<2)>>2],c=c+1|0}while((0|c)!=(0|s))}(c=0|_[A+32>>2])&&(0|n[A+36|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[c+-4>>2]),s=0|_[A+24>>2]),_[A+32>>2]=0),n[A+36|0]=1,_[A+32>>2]=r,_[A+28>>2]=P,r=s}else r=s;_[(0|_[A+32>>2])+(r<<2)>>2]=a,_[A+24>>2]=r+1}}while(0);r=0|_[o+(((e+2|0)>>>0)%3<<2)>>2];t:do{if((0|_[w+(r<<2)>>2])!=(0|m)){A=0|_[(0|_[t+1120>>2])+(m<<2)>>2],a=(0|_[B>>2])+(104*r|0)|0,s=0|_[A+24>>2];e:do{if((0|s)>0){for(c=0|_[A+32>>2],r=0;(0|_[c+(r<<2)>>2])!=(0|a);)if((0|(r=r+1|0))>=(0|s))break e;if((0|r)!=(0|s))break t}}while(0);if((0|s)==(0|_[A+28>>2])&&(0|s)<(0|(T=0|s?s<<1:1))){if(T?(_[6630]=1+(0|_[6630]),(r=0|di(16+(T<<2|3)|0))?(_[(r+4+15&-16)-4>>2]=r,r=r+4+15&-16):r=0,s=0|_[A+24>>2]):r=0,(0|s)>0){c=0;do{_[r+(c<<2)>>2]=_[(0|_[A+32>>2])+(c<<2)>>2],c=c+1|0}while((0|c)!=(0|s))}(c=0|_[A+32>>2])&&(0|n[A+36|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[c+-4>>2]),s=0|_[A+24>>2]),_[A+32>>2]=0),n[A+36|0]=1,_[A+32>>2]=r,_[A+28>>2]=T,r=s}else r=s;_[(0|_[A+32>>2])+(r<<2)>>2]=a,_[A+24>>2]=r+1}}while(0);if(h>>>0>=3)break;e=h,r=0|_[o+(h<<2)>>2]}y=y+1|0}while((0|y)<(0|_[t+752>>2]));r=0|_[t+1112>>2]}if((0|r)>1){if(_[6630]=1+(0|_[6630]),(r=0|di(403))?(_[(r+4+15&-16)-4>>2]=r,r=r+4+15&-16):r=0,n[r+16|0]=1,_[r+12>>2]=0,_[r+4>>2]=0,_[r+8>>2]=0,n[0|(m=r+36|0)]=1,_[(h=r+32|0)>>2]=0,_[(y=r+24|0)>>2]=0,_[(C=r+28|0)>>2]=0,n[r+56|0]=1,_[r+52>>2]=0,_[r+44>>2]=0,_[r+48>>2]=0,_[(v=r+348|0)>>2]=0,_[v+4>>2]=0,_[v+8>>2]=0,_[v+12>>2]=0,_[v+16>>2]=0,p[r+368>>2]=100,p[r+372>>2]=.009999999776482582,n[r+376|0]=0,v=r,n[r+377|0]=0,(0|(a=0|_[t+712>>2]))>0){if(_[6630]=1+(0|_[6630]),(r=0|di(16+(a<<2|3)|0))?(_[(r+4+15&-16)-4>>2]=r,c=r+4+15&-16):c=0,(0|(s=0|_[y>>2]))>0){r=0;do{_[c+(r<<2)>>2]=_[(0|_[h>>2])+(r<<2)>>2],r=r+1|0}while((0|r)!=(0|s))}if(0|(r=0|_[h>>2])&&(0|n[0|m]&&(_[6631]=1+(0|_[6631]),Li(0|_[r+-4>>2])),_[h>>2]=0),n[0|m]=1,_[h>>2]=c,_[C>>2]=a,(0|(r=0|_[t+712>>2]))>0)for(e=0,c=0|_[y>>2],s=a;;){A=(0|_[B>>2])+(104*e|0)|0;do{if((0|c)==(0|s)){if((0|s)>=(0|(a=0|s?s<<1:1))){a=s;break}if(a?(_[6630]=1+(0|_[6630]),(r=0|di(16+(a<<2|3)|0))?(_[(r+4+15&-16)-4>>2]=r,r=r+4+15&-16):r=0,s=0|_[y>>2]):r=0,(0|s)>0){c=0;do{_[r+(c<<2)>>2]=_[(0|_[h>>2])+(c<<2)>>2],c=c+1|0}while((0|c)!=(0|s))}(c=0|_[h>>2])&&(0|n[0|m]&&(_[6631]=1+(0|_[6631]),Li(0|_[c+-4>>2]),s=0|_[y>>2]),_[h>>2]=0),n[0|m]=1,_[h>>2]=r,_[C>>2]=a,r=0|_[t+712>>2]}else a=s,s=c}while(0);if(_[(0|_[h>>2])+(s<<2)>>2]=A,c=s+1|0,_[y>>2]=c,(0|(e=e+1|0))>=(0|r))break;s=a}}if((0|(r=0|_[t+1112>>2]))==(0|_[t+1116>>2])&&(0|r)<(0|(V=0|r?r<<1:1))){if(V?(_[6630]=1+(0|_[6630]),(r=0|di(16+(V<<2|3)|0))?(_[(r+4+15&-16)-4>>2]=r,r=r+4+15&-16):r=0,c=r,r=0|_[t+1112>>2]):c=0,(0|r)>0){s=0;do{_[c+(s<<2)>>2]=_[(0|_[t+1120>>2])+(s<<2)>>2],s=s+1|0}while((0|s)!=(0|r))}(s=0|_[t+1120>>2])&&(0|n[t+1124|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[s+-4>>2]),r=0|_[t+1112>>2]),_[t+1120>>2]=0),n[t+1124|0]=1,_[t+1120>>2]=c,_[t+1116>>2]=V}_[(0|_[t+1120>>2])+(r<<2)>>2]=v,V=r+1|0,_[t+1112>>2]=V,r=(T=0|_[t+1120>>2])+(r<<2)|0,P=0|_[T>>2],_[T>>2]=_[r>>2],_[r>>2]=P,r=V}if((0|r)>0){s=0;do{e=0|_[(0|_[t+1120>>2])+(s<<2)>>2];t:do{if(!(0|_[e+24>>2])&&(s=s+-1|0,0|(r=0|_[e+348>>2])&&(Tt(t+1048|0,r),0|(c=0|_[t+1052>>2])&&(_[6631]=1+(0|_[6631]),Li(0|_[c+-4>>2])),_[t+1052>>2]=r,_[t+1060>>2]=(0|_[t+1060>>2])-1),0|(r=0|_[e+52>>2])&&(0|n[e+56|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[r+-4>>2])),_[e+52>>2]=0),n[e+56|0]=1,_[e+52>>2]=0,_[e+44>>2]=0,_[e+48>>2]=0,0|(r=0|_[e+32>>2])&&(0|n[e+36|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[r+-4>>2])),_[e+32>>2]=0),n[e+36|0]=1,_[e+32>>2]=0,_[e+24>>2]=0,_[e+28>>2]=0,0|(r=0|_[e+12>>2])&&(0|n[e+16|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[r+-4>>2])),_[e+12>>2]=0),n[e+16|0]=1,_[e+12>>2]=0,_[e+4>>2]=0,_[e+8>>2]=0,_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2]),(0|(r=0|_[t+1112>>2]))>0)){for(A=0|_[t+1120>>2],c=0;(0|_[(a=A+(c<<2)|0)>>2])!=(0|e);)if((0|(c=c+1|0))>=(0|r))break t;if((0|c)>=(0|r))break;_[a>>2]=_[A+(r+-1<<2)>>2],_[(0|_[t+1120>>2])+(r+-1<<2)>>2]=e,_[t+1112>>2]=r+-1,r=r+-1|0}}while(0);s=s+1|0}while((0|s)<(0|r))}!(0|w)|!(0|S)||(_[6631]=1+(0|_[6631]),Li(0|_[S+-4>>2])),!(0|x)|!(0|O)||(_[6631]=1+(0|_[6631]),Li(0|_[O+-4>>2]))}else M=244}else M=244;t:do{if(244==(0|M)){if(!(A=0|_[t+772>>2])){if((0|r)<(0|(A=0|_[t+752>>2]))){if((0|_[t+1116>>2])<(0|A)){if(A)if(_[6630]=1+(0|_[6630]),(s=0|di(16+(A<<2|3)|0))?(_[(s+4+15&-16)-4>>2]=s,s=s+4+15&-16):s=0,(0|(a=0|_[t+1112>>2]))>0){c=0;do{_[s+(c<<2)>>2]=_[(0|_[t+1120>>2])+(c<<2)>>2],c=c+1|0}while((0|c)!=(0|a));a=t+1120|0}else a=t+1120|0;else s=0,a=t+1120|0;0|(c=0|_[a>>2])&&(0|n[t+1124|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[c+-4>>2])),_[a>>2]=0),n[t+1124|0]=1,_[a>>2]=s,_[t+1116>>2]=A}do{_[(0|_[t+1120>>2])+(r<<2)>>2]=0,r=r+1|0}while((0|r)!=(0|A))}if(_[t+1112>>2]=A,(0|A)>0){s=0;do{_[6630]=1+(0|_[6630]),(r=0|di(403))?(_[(r+4+15&-16)-4>>2]=r,r=r+4+15&-16):r=0,n[r+16|0]=1,_[r+12>>2]=0,_[r+4>>2]=0,_[r+8>>2]=0,n[r+36|0]=1,_[r+32>>2]=0,_[r+24>>2]=0,_[r+28>>2]=0,n[r+56|0]=1,_[r+52>>2]=0,_[r+44>>2]=0,_[r+48>>2]=0,_[(M=r+348|0)>>2]=0,_[M+4>>2]=0,_[M+8>>2]=0,_[M+12>>2]=0,_[M+16>>2]=0,p[r+368>>2]=100,p[r+372>>2]=.009999999776482582,n[r+376|0]=0,_[(0|_[t+1120>>2])+(s<<2)>>2]=r,n[377+(0|_[(0|_[t+1120>>2])+(s<<2)>>2])|0]=1,s=s+1|0}while((0|s)<(0|_[t+1112>>2]))}if((0|_[t+752>>2])<=0)break;for(e=0;;){if(a=0|_[(0|_[t+1120>>2])+(e<<2)>>2],A=(0|_[t+760>>2])+(44*e|0)+8|0,(0|(s=0|_[a+24>>2]))==(0|_[a+28>>2])&&(0|s)<(0|(m=0|s?s<<1:1))){if(m?(_[6630]=1+(0|_[6630]),(r=0|di(16+(m<<2|3)|0))?(_[(r+4+15&-16)-4>>2]=r,r=r+4+15&-16):r=0,s=0|_[a+24>>2]):r=0,(0|s)>0){c=0;do{_[r+(c<<2)>>2]=_[(0|_[a+32>>2])+(c<<2)>>2],c=c+1|0}while((0|c)!=(0|s))}(c=0|_[a+32>>2])&&(0|n[a+36|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[c+-4>>2]),s=0|_[a+24>>2]),_[a+32>>2]=0),n[a+36|0]=1,_[a+32>>2]=r,_[a+28>>2]=m,r=s}else r=s;if(_[(0|_[a+32>>2])+(r<<2)>>2]=_[A>>2],_[a+24>>2]=r+1,a=0|_[(0|_[t+1120>>2])+(e<<2)>>2],A=(0|_[t+760>>2])+(44*e|0)+12|0,(0|(s=0|_[a+24>>2]))==(0|_[a+28>>2])&&(0|s)<(0|(y=0|s?s<<1:1))){if(y?(_[6630]=1+(0|_[6630]),(r=0|di(16+(y<<2|3)|0))?(_[(r+4+15&-16)-4>>2]=r,r=r+4+15&-16):r=0,s=0|_[a+24>>2]):r=0,(0|s)>0){c=0;do{_[r+(c<<2)>>2]=_[(0|_[a+32>>2])+(c<<2)>>2],c=c+1|0}while((0|c)!=(0|s))}(c=0|_[a+32>>2])&&(0|n[a+36|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[c+-4>>2]),s=0|_[a+24>>2]),_[a+32>>2]=0),n[a+36|0]=1,_[a+32>>2]=r,_[a+28>>2]=y,r=s}else r=s;if(_[(0|_[a+32>>2])+(r<<2)>>2]=_[A>>2],_[a+24>>2]=r+1,a=0|_[(0|_[t+1120>>2])+(e<<2)>>2],A=(0|_[t+760>>2])+(44*e|0)+16|0,(0|(s=0|_[a+24>>2]))==(0|_[a+28>>2])&&(0|s)<(0|(C=0|s?s<<1:1))){if(C?(_[6630]=1+(0|_[6630]),(r=0|di(16+(C<<2|3)|0))?(_[(r+4+15&-16)-4>>2]=r,r=r+4+15&-16):r=0,s=0|_[a+24>>2]):r=0,(0|s)>0){c=0;do{_[r+(c<<2)>>2]=_[(0|_[a+32>>2])+(c<<2)>>2],c=c+1|0}while((0|c)!=(0|s))}(c=0|_[a+32>>2])&&(0|n[a+36|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[c+-4>>2]),s=0|_[a+24>>2]),_[a+32>>2]=0),n[a+36|0]=1,_[a+32>>2]=r,_[a+28>>2]=C,r=s}else r=s;if(_[(0|_[a+32>>2])+(r<<2)>>2]=_[A>>2],_[a+24>>2]=r+1,(0|(e=e+1|0))>=(0|_[t+752>>2]))break t}}if((0|r)<(0|A)){if((0|_[t+1116>>2])<(0|A)){if(_[6630]=1+(0|_[6630]),(s=0|di(16+(A<<2|3)|0))?(_[(s+4+15&-16)-4>>2]=s,a=s+4+15&-16):a=0,(0|(c=0|_[t+1112>>2]))>0){s=0;do{_[a+(s<<2)>>2]=_[(0|_[t+1120>>2])+(s<<2)>>2],s=s+1|0}while((0|s)!=(0|c))}0|(s=0|_[t+1120>>2])&&(0|n[t+1124|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[s+-4>>2])),_[t+1120>>2]=0),n[t+1124|0]=1,_[t+1120>>2]=a,_[t+1116>>2]=A,s=t+1120|0}else s=t+1120|0;do{_[(0|_[s>>2])+(r<<2)>>2]=0,r=r+1|0}while((0|r)!=(0|A))}if(_[t+1112>>2]=A,(0|A)>0){s=0;do{_[6630]=1+(0|_[6630]),(r=0|di(403))?(_[(r+4+15&-16)-4>>2]=r,r=r+4+15&-16):r=0,n[r+16|0]=1,_[r+12>>2]=0,_[r+4>>2]=0,_[r+8>>2]=0,n[r+36|0]=1,_[r+32>>2]=0,_[r+24>>2]=0,_[r+28>>2]=0,n[r+56|0]=1,_[r+52>>2]=0,_[r+44>>2]=0,_[r+48>>2]=0,_[(M=r+348|0)>>2]=0,_[M+4>>2]=0,_[M+8>>2]=0,_[M+12>>2]=0,_[M+16>>2]=0,p[r+368>>2]=100,p[r+372>>2]=.009999999776482582,n[r+376|0]=0,_[(0|_[t+1120>>2])+(s<<2)>>2]=r,n[377+(0|_[(0|_[t+1120>>2])+(s<<2)>>2])|0]=1,s=s+1|0}while((0|s)<(0|_[t+1112>>2]))}if((0|_[t+772>>2])>0){e=0;do{if(a=0|_[(0|_[t+1120>>2])+(e<<2)>>2],A=(0|_[t+780>>2])+(104*e|0)+8|0,(0|(s=0|_[a+24>>2]))==(0|_[a+28>>2])&&(0|s)<(0|(B=0|s?s<<1:1))){if(B?(_[6630]=1+(0|_[6630]),(r=0|di(16+(B<<2|3)|0))?(_[(r+4+15&-16)-4>>2]=r,r=r+4+15&-16):r=0,s=0|_[a+24>>2]):r=0,(0|s)>0){c=0;do{_[r+(c<<2)>>2]=_[(0|_[a+32>>2])+(c<<2)>>2],c=c+1|0}while((0|c)!=(0|s))}(c=0|_[a+32>>2])&&(0|n[a+36|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[c+-4>>2]),s=0|_[a+24>>2]),_[a+32>>2]=0),n[a+36|0]=1,_[a+32>>2]=r,_[a+28>>2]=B,r=s}else r=s;if(_[(0|_[a+32>>2])+(r<<2)>>2]=_[A>>2],_[a+24>>2]=r+1,a=0|_[(0|_[t+1120>>2])+(e<<2)>>2],A=(0|_[t+780>>2])+(104*e|0)+12|0,(0|(s=0|_[a+24>>2]))==(0|_[a+28>>2])&&(0|s)<(0|(v=0|s?s<<1:1))){if(v?(_[6630]=1+(0|_[6630]),(r=0|di(16+(v<<2|3)|0))?(_[(r+4+15&-16)-4>>2]=r,r=r+4+15&-16):r=0,s=0|_[a+24>>2]):r=0,(0|s)>0){c=0;do{_[r+(c<<2)>>2]=_[(0|_[a+32>>2])+(c<<2)>>2],c=c+1|0}while((0|c)!=(0|s))}(c=0|_[a+32>>2])&&(0|n[a+36|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[c+-4>>2]),s=0|_[a+24>>2]),_[a+32>>2]=0),n[a+36|0]=1,_[a+32>>2]=r,_[a+28>>2]=v,r=s}else r=s;if(_[(0|_[a+32>>2])+(r<<2)>>2]=_[A>>2],_[a+24>>2]=r+1,a=0|_[(0|_[t+1120>>2])+(e<<2)>>2],A=(0|_[t+780>>2])+(104*e|0)+16|0,(0|(s=0|_[a+24>>2]))==(0|_[a+28>>2])&&(0|s)<(0|(S=0|s?s<<1:1))){if(S?(_[6630]=1+(0|_[6630]),(r=0|di(16+(S<<2|3)|0))?(_[(r+4+15&-16)-4>>2]=r,r=r+4+15&-16):r=0,s=0|_[a+24>>2]):r=0,(0|s)>0){c=0;do{_[r+(c<<2)>>2]=_[(0|_[a+32>>2])+(c<<2)>>2],c=c+1|0}while((0|c)!=(0|s))}(c=0|_[a+32>>2])&&(0|n[a+36|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[c+-4>>2]),s=0|_[a+24>>2]),_[a+32>>2]=0),n[a+36|0]=1,_[a+32>>2]=r,_[a+28>>2]=S,r=s}else r=s;if(_[(0|_[a+32>>2])+(r<<2)>>2]=_[A>>2],_[a+24>>2]=r+1,a=0|_[(0|_[t+1120>>2])+(e<<2)>>2],A=(0|_[t+780>>2])+(104*e|0)+20|0,(0|(s=0|_[a+24>>2]))==(0|_[a+28>>2])&&(0|s)<(0|(w=0|s?s<<1:1))){if(w?(_[6630]=1+(0|_[6630]),(r=0|di(16+(w<<2|3)|0))?(_[(r+4+15&-16)-4>>2]=r,r=r+4+15&-16):r=0,s=0|_[a+24>>2]):r=0,(0|s)>0){c=0;do{_[r+(c<<2)>>2]=_[(0|_[a+32>>2])+(c<<2)>>2],c=c+1|0}while((0|c)!=(0|s))}(c=0|_[a+32>>2])&&(0|n[a+36|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[c+-4>>2]),s=0|_[a+24>>2]),_[a+32>>2]=0),n[a+36|0]=1,_[a+32>>2]=r,_[a+28>>2]=w,r=s}else r=s;_[(0|_[a+32>>2])+(r<<2)>>2]=_[A>>2],_[a+24>>2]=r+1,e=e+1|0}while((0|e)<(0|_[t+772>>2]))}}}while(0);if(!(r=0|_[t+1112>>2]))return Q=o,0|(t=0);if((0|r)>0){h=0;do{if(y=0|_[(0|_[t+1120>>2])+(h<<2)>>2],p[y+128>>2]=0,(0|(e=0|_[y+24>>2]))>(0|(A=0|_[y+4>>2]))){do{if((0|_[y+8>>2])<(0|e)){if(e?(_[6630]=1+(0|_[6630]),(r=0|di(16+(e<<2|3)|0))?(_[(r+4+15&-16)-4>>2]=r,r=r+4+15&-16):r=0,c=0|_[y+4>>2]):(r=0,c=A),a=0|_[y+12>>2],(0|c)<=0){if(!a){n[y+16|0]=1,_[y+12>>2]=r,_[y+8>>2]=e;break}}else{s=0;do{_[r+(s<<2)>>2]=_[a+(s<<2)>>2],s=s+1|0}while((0|s)!=(0|c))}0|n[y+16|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[a+-4>>2])),n[y+16|0]=1,_[y+12>>2]=r,_[y+8>>2]=e}else r=0|_[y+12>>2]}while(0);wn(r+(A<<2)|0,0,e-A<<2),m=0|_[y+24>>2]}else m=e;if(_[y+4>>2]=e,A=(0|m)>0){s=0|_[y+32>>2],c=0|_[y+12>>2],r=0;do{0==(b=+p[88+(0|_[s+(r<<2)>>2])>>2])?(n[y+376|0]=1,b=0xde0b6b000000000):b=1/b,p[c+(r<<2)>>2]=b,l=b+ +p[y+128>>2],p[y+128>>2]=l,r=r+1|0}while((0|r)!=(0|m));p[y+128>>2]=1/l,r=0,b=0,f=0,u=0;do{M=0|_[s+(r<<2)>>2],I=+p[c+(r<<2)>>2],b+=+p[M+8>>2]*I,f+=I*+p[M+12>>2],u+=I*+p[M+16>>2],r=r+1|0}while((0|r)!=(0|m));l=1/l}else l=1/+p[y+128>>2],p[y+128>>2]=l,u=0,f=0,b=0;I=l*b,D=l*f,j=l*u,p[y+228>>2]=I,p[y+232>>2]=D,p[y+236>>2]=j,p[y+240>>2]=0,s=36+(r=y+316|0)|0;do{_[r>>2]=0,r=r+4|0}while((0|r)<(0|s));s=48+(r=y+132|0)|0;do{_[r>>2]=0,r=r+4|0}while((0|r)<(0|s));if(A){s=0|_[y+32>>2],c=0|_[y+12>>2],r=0,b=0,l=0,f=0,u=0,k=0,R=0;do{M=0|_[s+(r<<2)>>2],E=+p[M+8>>2]-I,L=+p[M+12>>2]-D,N=+p[M+16>>2]-j,b+=(G=+p[c+(r<<2)>>2])*(L*L+N*N),p[y+132>>2]=b,l=G*(E*E+N*N)+l,p[y+152>>2]=l,f=(E*E+L*L)*G+f,p[y+172>>2]=f,u-=L*(E*G),p[y+136>>2]=u,k-=N*(E*G),p[y+140>>2]=k,R-=N*(L*G),p[y+156>>2]=R,r=r+1|0}while((0|r)!=(0|m));r=y+136|0,s=y+140|0,c=y+156|0,a=y+152|0}else r=y+136|0,s=y+140|0,c=y+156|0,a=y+152|0,R=0,k=0,u=0,f=0,l=0,b=0;if(N=(u*k-R*b)*(E=1/((I=l*f-R*R)*b+u*(G=R*k-f*u)+(L=R*u-l*k)*k)),p[y+132>>2]=I*E,p[r>>2]=G*E,p[s>>2]=L*E,p[y+144>>2]=0,p[y+148>>2]=G*E,p[a>>2]=(f*b-k*k)*E,p[c>>2]=N,p[y+160>>2]=0,p[y+164>>2]=L*E,p[y+168>>2]=N,p[y+172>>2]=(l*b-u*u)*E,p[y+176>>2]=0,_[y+60>>2]=1065353216,_[y+64>>2]=0,_[y+64+4>>2]=0,_[y+64+8>>2]=0,_[y+64+12>>2]=0,_[y+80>>2]=1065353216,_[y+84>>2]=0,_[y+84+4>>2]=0,_[y+84+8>>2]=0,_[y+84+12>>2]=0,_[y+100>>2]=1065353216,_[y+104>>2]=0,_[y+108>>2]=_[y+228>>2],_[y+108+4>>2]=_[y+228+4>>2],_[y+108+8>>2]=_[y+228+8>>2],_[y+108+12>>2]=_[y+228+12>>2],(0|(a=0|_[y+44>>2]))<(0|m)){if((0|_[y+48>>2])<(0|m)){if(m?(_[6630]=1+(0|_[6630]),(r=0|di(16+(m<<4|3)|0))?(_[(r+4+15&-16)-4>>2]=r,r=r+4+15&-16):r=0,c=0|_[y+44>>2]):(r=0,c=a),(0|c)>0){s=0;do{M=r+(s<<4)|0,V=(0|_[y+52>>2])+(s<<4)|0,_[M>>2]=_[V>>2],_[M+4>>2]=_[V+4>>2],_[M+8>>2]=_[V+8>>2],_[M+12>>2]=_[V+12>>2],s=s+1|0}while((0|s)!=(0|c))}0|(s=0|_[y+52>>2])&&(0|n[y+56|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[s+-4>>2])),_[y+52>>2]=0),n[y+56|0]=1,_[y+52>>2]=r,_[y+48>>2]=m,s=y+52|0}else s=y+52|0;r=a;do{M=(0|_[s>>2])+(r<<4)|0,_[M>>2]=_[o>>2],_[M+4>>2]=_[o+4>>2],_[M+8>>2]=_[o+8>>2],_[M+12>>2]=_[o+12>>2],r=r+1|0}while((0|r)!=(0|m))}if(_[y+44>>2]=m,A){r=0;do{V=0|_[(0|_[y+32>>2])+(r<<2)>>2],N=+p[V+12>>2]-+p[y+232>>2],E=+p[V+16>>2]-+p[y+236>>2],M=0|_[y+52>>2],p[M+(r<<4)>>2]=+p[V+8>>2]-+p[y+228>>2],p[M+(r<<4)+4>>2]=N,p[M+(r<<4)+8>>2]=E,p[M+(r<<4)+12>>2]=0,r=r+1|0}while((0|r)<(0|_[y+44>>2]))}h=h+1|0}while((0|h)<(0|_[t+1112>>2]))}if(Ri(t),r=0|_[t+1112>>2],(0|(e=0|g(r,r)))>(0|(A=0|_[t+1132>>2]))){do{if((0|_[t+1136>>2])<(0|e)){if(e?(_[6630]=1+(0|_[6630]),(r=0|di(e+19|0))?(_[(r+4+15&-16)-4>>2]=r,r=r+4+15&-16):r=0,c=0|_[t+1132>>2]):(r=0,c=A),a=0|_[t+1140>>2],(0|c)<=0){if(!a){n[t+1144|0]=1,_[t+1140>>2]=r,_[t+1136>>2]=e;break}}else{s=0;do{n[r+s|0]=0|n[a+s|0],s=s+1|0}while((0|s)!=(0|c))}0|n[t+1144|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[a+-4>>2])),n[t+1144|0]=1,_[t+1140>>2]=r,_[t+1136>>2]=e}else r=0|_[t+1140>>2]}while(0);wn(r+A|0,0,e-A|0),r=0|_[t+1112>>2]}if(_[t+1132>>2]=e,(0|r)<=0)return Q=o,0|(t=r);w=0|_[t+1120>>2],C=0|_[t+1140>>2],y=0;do{v=0|_[w+(y<<2)>>2],_[v+380>>2]=y,S=0|_[v+24>>2],h=0;do{for(m=0|_[w+(h<<2)>>2],e=0;;){if((0|e)>=(0|S)){s=0;break}c=0|_[m+24>>2];t:do{if((0|c)>0)for(a=0|_[(0|_[v+32>>2])+(e<<2)>>2],A=0|_[m+32>>2],s=0;;){if((0|a)==(0|_[A+(s<<2)>>2])){s=1;break t}if((0|(s=s+1|0))>=(0|c)){s=0;break}}else s=0}while(0);if(s){s=1;break}e=e+1|0}t=C+((0|g(h,r))+y)|0,n[0|t]=s,h=h+1|0}while((0|h)!=(0|r));y=y+1|0}while((0|y)!=(0|r));return Q=o,0|r}function jb(t,e,i){t|=0,i|=0;var o,r=0,s=0,c=0,a=0,b=0,A=0,f=0,u=0,m=0,h=0,y=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0,O=0,x=0,T=0,P=0,V=0,M=0,G=0,L=0,N=0,E=0,H=0,Z=0,U=0,Y=0,J=0,X=0,z=0,K=0,q=0;if(o=Q,Q=Q+96|0,(0|(c=(r=0|_[4+(e|=0)>>2])>>>0>8?r:8))>0){_[6630]=1+(0|_[6630]),(r=0|di(16+(c<<4|3)|0))?(_[(r+4+15&-16)-4>>2]=r,s=r+4+15&-16):s=0,r=0;do{_[(q=s+(r<<4)|0)>>2]=_[o>>2],_[q+4>>2]=_[o+4>>2],_[q+8>>2]=_[o+8>>2],_[q+12>>2]=_[o+12>>2],r=r+1|0}while((0|r)!=(0|c));q=s,K=s,r=0|_[e+4>>2]}else q=0,K=0;a=0|_[e+8>>2],j=0|_[e+12>>2],W=+p[e+16>>2];do{if(r){for((0|(c=0|_[t+24>>2]))<0&&(s=0|_[t+32>>2],(0|_[t+28>>2])<0&&(0|s&&0|n[t+36|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[s+-4>>2])),n[t+36|0]=1,_[t+32>>2]=0,_[t+28>>2]=0,s=0),wn(s+(c<<2)|0,0,0|g(c,-4))),_[t+24>>2]=0,s=a,c=0,m=34028234663852886e22,A=-34028234663852886e22,y=34028234663852886e22,f=-34028234663852886e22,v=34028234663852886e22,u=-34028234663852886e22;m=(H=+p[s>>2])<m?H:m,A=H>A?H:A,y=(H=+p[s+4>>2])<y?H:y,f=H>f?H:f,v=(H=+p[s+8>>2])<v?H:v,u=H>u?H:u,(0|(c=c+1|0))!=(0|r);)s=s+j|0;B=m+.5*(E=A-m),D=y+.5*(H=f-y),R=v+.5*(u-=v);do{if(r>>>0<3|E<9.999999974752427e-7|H<9.999999974752427e-7|u<9.999999974752427e-7)34028234663852886e22!=(m=u>9.999999974752427e-7&u<(m=H>9.999999974752427e-7&H<(m=E>9.999999974752427e-7&E<34028234663852886e22?E:34028234663852886e22)?H:m)?u:m)?(f=E<9.999999974752427e-7?.05000000074505806*m:E,A=H<9.999999974752427e-7?.05000000074505806*m:H,u<9.999999974752427e-7&&(u=.05000000074505806*m)):(u=.009999999776482582,f=.009999999776482582,A=.009999999776482582),H=B-f,E=B+f,P=D-A,f=D+A,A=R-u,m=R+u,p[q>>2]=H,p[q+4>>2]=P,p[q+8>>2]=A,p[q+16>>2]=E,p[q+20>>2]=P,p[q+24>>2]=A,p[q+32>>2]=E,p[q+36>>2]=f,p[q+40>>2]=A,p[q+48>>2]=H,p[q+52>>2]=f,p[q+56>>2]=A,p[q+64>>2]=H,p[q+68>>2]=P,p[q+72>>2]=m,p[q+80>>2]=E,p[q+84>>2]=P,p[q+88>>2]=m,p[q+96>>2]=E,p[q+100>>2]=f,p[q+104>>2]=m,p[q+112>>2]=H,p[q+116>>2]=f,p[q+120>>2]=m,m=1,f=1,A=1,J=8,z=57;else{for(C=0,w=0,S=a,c=0;;){if(y=1/E*+p[S>>2],v=1/H*+p[S+4>>2],k=1/u*+p[S+8>>2],S=S+j|0,C){s=0;do{if(A=+p[(a=q+(s<<4)|0)>>2],f=+p[(b=q+(s<<4)+4|0)>>2],m=+p[(h=q+(s<<4)+8|0)>>2],+d(+(A-y))<W&+d(+(f-v))<W&+d(+(m-k))<W){z=28;break}s=s+1|0}while(s>>>0<C>>>0);28==(0|z)&&(z=0,(y-1/E*B)*(y-1/E*B)+(v-1/H*D)*(v-1/H*D)+(k-1/u*R)*(k-1/u*R)>(A-1/E*B)*(A-1/E*B)+(f-1/H*D)*(f-1/H*D)+(m-1/u*R)*(m-1/u*R)&&(p[a>>2]=y,p[b>>2]=v,p[h>>2]=k)),(0|s)==(0|C)?z=32:(h=s,V=C)}else s=0,z=32;if(32==(0|z)&&(z=0,p[q+(s<<4)>>2]=y,p[q+(s<<4)+4>>2]=v,p[q+(s<<4)+8>>2]=k,h=s,V=s+1|0),(0|c)==(0|_[t+28>>2])&&(0|c)<(0|(I=0|c?c<<1:1))){if(I?(_[6630]=1+(0|_[6630]),(s=0|di(16+(I<<2|3)|0))?(_[(s+4+15&-16)-4>>2]=s,s=s+4+15&-16):s=0,c=0|_[t+24>>2]):s=0,b=0|_[t+32>>2],(0|c)<=0)b&&(z=43);else{a=0;do{_[s+(a<<2)>>2]=_[b+(a<<2)>>2],a=a+1|0}while((0|a)!=(0|c));z=43}43==(0|z)&&(z=0,0|n[t+36|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[b+-4>>2])),_[t+32>>2]=0,c=0|_[t+24>>2]),n[t+36|0]=1,_[t+32>>2]=s,_[t+28>>2]=I,s=c}else s=c;if(_[(0|_[t+32>>2])+(s<<2)>>2]=h,c=1+(0|_[t+24>>2])|0,_[t+24>>2]=c,(0|(w=w+1|0))==(0|r))break;C=V}if(S=!(0|V))r=1,k=34028234663852886e22,m=-34028234663852886e22,v=34028234663852886e22,f=-34028234663852886e22,y=34028234663852886e22,A=-34028234663852886e22;else{for(r=0,D=34028234663852886e22,k=34028234663852886e22,B=-34028234663852886e22,m=-34028234663852886e22,F=34028234663852886e22,v=34028234663852886e22,O=-34028234663852886e22,f=-34028234663852886e22,T=34028234663852886e22,y=34028234663852886e22,P=-34028234663852886e22,A=-34028234663852886e22;k=(s=(R=+p[q+(r<<4)>>2])<D)?R:k,m=(c=R>B)?R:m,v=(a=(W=+p[q+(r<<4)+4>>2])<F)?W:v,f=(b=W>O)?W:f,y=(h=(x=+p[q+(r<<4)+8>>2])<T)?x:y,A=(C=x>P)?x:A,(0|(r=r+1|0))!=(0|V);)D=s?R:D,B=c?R:B,F=a?W:F,O=b?W:O,T=h?x:T,P=C?x:P;r=V>>>0<3}if(!(r|(D=m-k)<9.999999974752427e-7|(f-=v)<9.999999974752427e-7|(m=A-y)<9.999999974752427e-7)){if(!S){m=E,f=H,A=u,J=V,z=57;break}break}R=k+.5*D,k=v+.5*f,v=y+.5*m,34028234663852886e22!=(y=m>=9.999999974752427e-7&m<(y=f>=9.999999974752427e-7&f<(y=D>=9.999999974752427e-7&D<34028234663852886e22?D:34028234663852886e22)?f:y)?m:y)?(A=D<9.999999974752427e-7?.05000000074505806*y:D,f=f<9.999999974752427e-7?.05000000074505806*y:f,m<9.999999974752427e-7&&(m=.05000000074505806*y)):(m=.009999999776482582,f=.009999999776482582,A=.009999999776482582),P=R-A,A=R+A,T=k-f,f=k+f,x=v-m,m=v+m,p[q>>2]=P,p[q+4>>2]=T,p[q+8>>2]=x,p[q+16>>2]=A,p[q+20>>2]=T,p[q+24>>2]=x,p[q+32>>2]=A,p[q+36>>2]=f,p[q+40>>2]=x,p[q+48>>2]=P,p[q+52>>2]=f,p[q+56>>2]=x,p[q+64>>2]=P,p[q+68>>2]=T,p[q+72>>2]=m,p[q+80>>2]=A,p[q+84>>2]=T,p[q+88>>2]=m,p[q+96>>2]=A,p[q+100>>2]=f,p[q+104>>2]=m,p[q+112>>2]=P,p[q+116>>2]=f,p[q+120>>2]=m,m=E,f=H,A=u,J=8,z=57}}while(0);if(57==(0|z)){r=0;do{p[(X=q+(r<<4)|0)>>2]=m*+p[X>>2],p[(X=q+(r<<4)+4|0)>>2]=f*+p[X>>2],p[(X=q+(r<<4)+8|0)>>2]=A*+p[X>>2],r=r+1|0}while(r>>>0<J>>>0);if(G=0|_[e+20>>2],(0|J)>=4){for(A=+p[q>>2],m=+p[q+4>>2],f=+p[q+8>>2],X=J<<2,_[6630]=1+(0|_[6630]),(r=0|di(16+(3|X)|0))?(_[(r+4+15&-16)-4>>2]=r,c=r+4+15&-16):c=0,n[o+52+16|0]=1,_[(Z=o+52+12|0)>>2]=0,_[o+52+4>>2]=0,_[(I=o+52+8|0)>>2]=0,_[6630]=1+(0|_[6630]),(s=0|di(16+(3|X)|0))?(_[(s+4+15&-16)-4>>2]=s,(r=0|_[Z>>2])?(_[6631]=1+(0|_[6631]),Li(0|_[r+-4>>2]),n[o+52+16|0]=1,_[Z>>2]=s+4+15&-16,_[I>>2]=J,j=Z):(r=s+4+15&-16,z=63)):(r=0,z=63),63==(0|z)&&(n[o+52+16|0]=1,_[Z>>2]=r,_[I>>2]=J,j=Z),w=0,r=0,R=A,k=f,u=f,h=J,S=c,y=m,v=m,b=c,s=J,C=c;;){if((0|r)==(0|s)&&(0|r)<(0|(M=0|r?r<<1:1))){if(0|M&&(_[6630]=1+(0|_[6630]),0|(U=0|di(16+(M<<2|3)|0)))?(_[(U+4+15&-16)-4>>2]=U,a=U+4+15&-16):a=0,c=0|_[Z>>2],(0|r)<=0)c&&(z=75);else{s=0;do{_[a+(s<<2)>>2]=_[c+(s<<2)>>2],s=s+1|0}while((0|s)!=(0|r));z=75}75==(0|z)&&(z=0,_[6631]=1+(0|_[6631]),Li(0|_[c+-4>>2]),_[Z>>2]=0,r=0|_[o+52+4>>2]),_[j>>2]=a,_[I>>2]=M}_[(0|_[Z>>2])+(r<<2)>>2]=1,_[o+52+4>>2]=r+1;do{if((0|w)==(0|h))if((0|w)<(0|(s=(r=!(0|w))?1:w<<1))){if(0|s&&(_[6630]=1+(0|_[6630]),0|(Y=0|di(16+(s<<2|3)|0)))?(_[(Y+4+15&-16)-4>>2]=Y,c=Y+4+15&-16):c=0,r){if(!S){s=1,L=c,N=c;break}}else{r=0;do{_[c+(r<<2)>>2]=_[S+(r<<2)>>2],r=r+1|0}while((0|r)!=(0|w))}C?(_[6631]=1+(0|_[6631]),Li(0|_[C+-4>>2]),L=c,N=c):(L=c,N=c)}else s=w,L=S,N=b,c=C;else s=h,L=S,N=b,c=C}while(0);if(_[L+(w<<2)>>2]=0,r=w+1|0,m=(E=+p[q+(w<<4)>>2])<A?E:A,v=(H=+p[q+(w<<4)+4>>2])<v?H:v,u=(f=+p[q+(w<<4)+8>>2])<u?f:u,A=R<E?E:R,y=y<H?H:y,f=k<f?f:k,(0|r)>=(0|J))break;w=r,r=0|_[o+52+4>>2],R=A,A=m,k=f,h=s,S=L,b=N,s=0|_[I>>2],C=c}n[o+52+16|0]=1,F=.0010000000474974513*+l(+((A-m)*(A-m)+(y-v)*(y-v)+(f-u)*(f-u))),_[o>>2]=1008981770,_[o+4>>2]=1017370378,_[o+8>>2]=1065353216,p[o+12>>2]=0,V=0|ei(q,J,o,o+52|0),p[o+72>>2]=-.009999999776482582,p[o+72+4>>2]=-.019999999552965164,p[o+72+8>>2]=-1,p[o+72+12>>2]=0,C=q+((M=0|ei(q,J,o+72|0,o+52|0))<<4)|0,y=+p[(h=q+(V<<4)|0)>>2]-+p[C>>2],w=q+(M<<4)+4|0,v=+p[(S=q+(V<<4)+4|0)>>2]-+p[w>>2],I=q+(M<<4)+8|0,k=+p[(j=q+(V<<4)+8|0)>>2]-+p[I>>2],p[o>>2]=y,p[o+4>>2]=v,p[o+8>>2]=k,p[o+12>>2]=0;t:do{if((0|V)==(0|M)||0==k&0==v&0==y)z=101;else if(A=.019999999552965164*k-0*v,p[o+16>>2]=A,p[o+20>>2]=0*y-k,p[o+24>>2]=v-.019999999552965164*y,p[o+28>>2]=0,p[o+32>>2]=k-0*v,p[o+36>>2]=.019999999552965164*k+0*y,p[o+40>>2]=-.019999999552965164*v-y,p[o+44>>2]=0,(f=+l(+(A*A+(0*y-k)*(0*y-k)+(v-.019999999552965164*y)*(v-.019999999552965164*y))))>+l(+((k-0*v)*(k-0*v)+(.019999999552965164*k+0*y)*(.019999999552965164*k+0*y)+(-.019999999552965164*v-y)*(-.019999999552965164*v-y)))?(p[o+16>>2]=A*(1/f),p[o+20>>2]=1/f*(0*y-k),m=1/f*(v-.019999999552965164*y),u=A*(1/f),A=1/f*(0*y-k)):(_[o+16>>2]=_[o+32>>2],_[o+16+4>>2]=_[o+32+4>>2],_[o+16+8>>2]=_[o+32+8>>2],_[o+16+12>>2]=_[o+32+12>>2],u=+p[o+16>>2],H=+p[o+20>>2],m=+p[o+24>>2],A=1/+l(+(u*u+H*H+m*m)),p[o+16>>2]=u*A,p[o+20>>2]=H*A,m*=A,u*=A,A*=H),p[o+24>>2]=m,(0|(r=0|ei(q,J,o+16|0,o+52|0)))==(0|V)|(0|r)==(0|M)?(p[o+72>>2]=-u,p[o+72+4>>2]=-A,p[o+72+8>>2]=-m,p[o+72+12>>2]=0,b=0|ei(q,J,o+72|0,o+52|0)):b=r,(0|b)==(0|V)|(0|b)==(0|M))z=101;else if(A=+p[(s=q+(b<<4)|0)>>2]-+p[h>>2],f=+p[(c=q+(b<<4)+4|0)>>2]-+p[S>>2],u=+p[(a=q+(b<<4)+8|0)>>2]-+p[j>>2],p[o+16>>2]=A,p[o+20>>2]=f,p[o+24>>2]=u,p[o+28>>2]=0,m=1/+l(+((v*A-f*y)*(v*A-f*y)+((f*k-u*v)*(f*k-u*v)+(u*y-k*A)*(u*y-k*A)))),p[o+32>>2]=(f*k-u*v)*m,p[o+36>>2]=(u*y-k*A)*m,p[o+40>>2]=(v*A-f*y)*m,_[o+44>>2]=0,(0|(r=0|ei(q,J,o+32|0,o+52|0)))==(0|b)|(0|r)==(0|V)|(0|r)==(0|M)&&(p[o+72>>2]=-(f*k-u*v)*m,p[o+72+4>>2]=-(u*y-k*A)*m,p[o+72+8>>2]=-(v*A-f*y)*m,p[o+72+12>>2]=0,r=0|ei(q,J,o+72|0,o+52|0)),(0|r)==(0|b)|(0|r)==(0|V)|(0|r)==(0|M))z=101;else if(B=+p[h>>2],x=+p[S>>2],D=+p[j>>2],E=+p[C>>2]-B,W=+p[w>>2]-x,T=+p[I>>2]-D,P=+p[s>>2]-B,O=+p[c>>2]-x,H=+p[a>>2]-D,s=(Y=(+p[q+(r<<4)+8>>2]-D)*(E*O-W*P)+((+p[q+(r<<4)>>2]-B)*(W*H-T*O)+(+p[q+(r<<4)+4>>2]-x)*(T*P-E*H))<0)?b:r,r=Y?r:b,-1!=(0|V)){if(D=.25*(+p[q+(V<<4)>>2]+ +p[q+(M<<4)>>2]+ +p[q+(r<<4)>>2]+ +p[q+(s<<4)>>2]),B=.25*(+p[q+(V<<4)+4>>2]+ +p[q+(M<<4)+4>>2]+ +p[q+(r<<4)+4>>2]+ +p[q+(s<<4)+4>>2]),W=.25*(+p[q+(V<<4)+8>>2]+ +p[q+(M<<4)+8>>2]+ +p[q+(r<<4)+8>>2]+ +p[q+(s<<4)+8>>2]),Y=0|Kt(t,r,s,M),_[Y+12>>2]=2,_[Y+16>>2]=3,_[Y+20>>2]=1,Y=0|Kt(t,s,r,V),_[Y+12>>2]=3,_[Y+16>>2]=2,_[Y+20>>2]=0,Y=0|Kt(t,V,M,s),_[Y+12>>2]=0,_[Y+16>>2]=1,_[Y+20>>2]=3,Y=0|Kt(t,M,V,r),_[Y+12>>2]=1,_[Y+16>>2]=0,_[Y+20>>2]=2,_[L+(s<<2)>>2]=1,_[L+(r<<2)>>2]=1,_[L+(M<<2)>>2]=1,_[L+(V<<2)>>2]=1,(0|(r=0|_[t+4>>2]))>0){s=0;do{r=0|_[(0|_[t+12>>2])+(s<<2)>>2],U=0|_[r>>2],M=0|_[r+4>>2],Y=0|_[r+8>>2],u=(y=+p[q+(M<<4)>>2])-+p[q+(U<<4)>>2],m=(v=+p[q+(M<<4)+4>>2])-+p[q+(U<<4)+4>>2],A=(f=+p[q+(M<<4)+8>>2])-+p[q+(U<<4)+8>>2],y=+p[q+(Y<<4)>>2]-y,v=+p[q+(Y<<4)+4>>2]-v,f=+p[q+(Y<<4)+8>>2]-f,0==(k=+l(+((u*v-m*y)*(u*v-m*y)+((m*f-A*v)*(m*f-A*v)+(A*y-u*f)*(A*y-u*f)))))?(_[o>>2]=1065353216,_[o+4>>2]=0,_[o+8>>2]=0,R=1,f=0,A=0):(p[o>>2]=1/k*(m*f-A*v),p[o+4>>2]=1/k*(A*y-u*f),p[o+8>>2]=1/k*(u*v-m*y),R=1/k*(m*f-A*v),f=1/k*(A*y-u*f),A=1/k*(u*v-m*y)),p[o+12>>2]=0,U=0|ei(q,J,o,o+52|0),_[r+28>>2]=U,Y=0|_[r>>2],p[r+32>>2]=(+p[q+(U<<4)>>2]-+p[q+(Y<<4)>>2])*R+(+p[q+(U<<4)+4>>2]-+p[q+(Y<<4)+4>>2])*f+(+p[q+(U<<4)+8>>2]-+p[q+(Y<<4)+8>>2])*A,s=s+1|0,r=0|_[t+4>>2]}while((0|s)<(0|r))}if((0|(s=0|G?G+-4|0:999999996))>0)for(;;){C=0|_[t+12>>2],b=0,c=0;do{a=0|_[C+(b<<2)>>2];do{if(c){if(!a)break;+p[c+32>>2]<+p[a+32>>2]&&(z=115)}else z=115}while(0);115==(0|z)&&(z=0,c=a),b=b+1|0}while((0|b)<(0|r));if(!(0|c&&+p[c+32>>2]>F)){r=1;break t}S=0|_[c+28>>2],_[L+(S<<2)>>2]=1,r=0|_[t+4>>2];e:do{if(0|r){for(a=q+(S<<4)|0,b=q+(S<<4)+4|0,h=q+(S<<4)+8|0,c=C;;){c=0|_[c+((r=r+-1|0)<<2)>>2];do{if(0|c){if(U=0|_[c>>2],G=0|_[c+4>>2],Y=0|_[c+8>>2],T=+p[q+(G<<4)>>2],P=+p[q+(U<<4)>>2],y=+p[q+(G<<4)+4>>2],k=+p[q+(U<<4)+4>>2],R=+p[q+(G<<4)+8>>2],O=+p[q+(U<<4)+8>>2],x=+p[q+(Y<<4)>>2]-T,v=+p[q+(Y<<4)+4>>2]-y,E=+p[q+(Y<<4)+8>>2]-R,H=+l(+(((T-P)*v-(y-k)*x)*((T-P)*v-(y-k)*x)+(((y-k)*E-(R-O)*v)*((y-k)*E-(R-O)*v)+((R-O)*x-(T-P)*E)*((R-O)*x-(T-P)*E)))),!((+p[h>>2]-O)*(0==H?0:1/H*((T-P)*v-(y-k)*x))+((+p[a>>2]-P)*(0==H?1:1/H*((y-k)*E-(R-O)*v))+(+p[b>>2]-k)*(0==H?0:1/H*((R-O)*x-(T-P)*E)))>.009999999776482582*F))break;Me(t,c,S)}}while(0);if(!r)break;c=0|_[t+12>>2]}if(!(r=0|_[t+4>>2]))break;c=r;i:do{c=c+-1|0,b=0|_[t+12>>2],h=0|_[b+(c<<2)>>2];do{if(h){C=0|_[h>>2];do{if((0|C)!=(0|S)){if((0|(a=0|_[h+4>>2]))==(0|S)){a=S;break}if((0|_[h+8>>2])!=(0|S))break i}else a=0|_[h+4>>2]}while(0);if(Y=0|_[h+8>>2],T=+p[q+(a<<4)>>2],P=+p[q+(C<<4)>>2],y=+p[q+(a<<4)+4>>2],k=+p[q+(C<<4)+4>>2],R=+p[q+(a<<4)+8>>2],O=+p[q+(C<<4)+8>>2],x=+p[q+(Y<<4)>>2]-T,v=+p[q+(Y<<4)+4>>2]-y,E=+p[q+(Y<<4)+8>>2]-R,!((H=+l(+(((T-P)*v-(y-k)*x)*((T-P)*v-(y-k)*x)+(((y-k)*E-(R-O)*v)*((y-k)*E-(R-O)*v)+((R-O)*x-(T-P)*E)*((R-O)*x-(T-P)*E)))))<F*F*.10000000149011612||(W-O)*(0==H?0:1/H*((T-P)*v-(y-k)*x))+((D-P)*(0==H?1:1/H*((y-k)*E-(R-O)*v))+(B-k)*(0==H?0:1/H*((R-O)*x-(T-P)*E)))>.009999999776482582*F))break;Me(t,0|_[b+(_[h+12>>2]<<2)>>2],S),c=r=0|_[t+4>>2]}}while(0)}while(0|c);if(!r)break;do{if(r=r+-1|0,0|(a=0|_[(0|_[t+12>>2])+(r<<2)>>2])){if((0|_[a+28>>2])>-1)break e;U=0|_[a>>2],G=0|_[a+4>>2],Y=0|_[a+8>>2],u=(y=+p[q+(G<<4)>>2])-+p[q+(U<<4)>>2],m=(v=+p[q+(G<<4)+4>>2])-+p[q+(U<<4)+4>>2],A=(f=+p[q+(G<<4)+8>>2])-+p[q+(U<<4)+8>>2],y=+p[q+(Y<<4)>>2]-y,v=+p[q+(Y<<4)+4>>2]-v,f=+p[q+(Y<<4)+8>>2]-f,0==(k=+l(+((u*v-m*y)*(u*v-m*y)+((m*f-A*v)*(m*f-A*v)+(A*y-u*f)*(A*y-u*f)))))?(_[o>>2]=1065353216,_[o+4>>2]=0,_[o+8>>2]=0,R=1,f=0,A=0):(p[o>>2]=1/k*(m*f-A*v),p[o+4>>2]=1/k*(A*y-u*f),p[o+8>>2]=1/k*(u*v-m*y),R=1/k*(m*f-A*v),f=1/k*(A*y-u*f),A=1/k*(u*v-m*y)),p[o+12>>2]=0,c=0|ei(q,J,o,o+52|0),_[a+28>>2]=c,0|_[L+(c<<2)>>2]?_[a+28>>2]=-1:(Y=0|_[a>>2],p[a+32>>2]=(+p[q+(c<<4)>>2]-+p[q+(Y<<4)>>2])*R+(+p[q+(c<<4)+4>>2]-+p[q+(Y<<4)+4>>2])*f+(+p[q+(c<<4)+8>>2]-+p[q+(Y<<4)+8>>2])*A)}}while(0|r)}}while(0);if((0|s)<=1){r=1;break t}s=s+-1|0,r=0|_[t+4>>2]}else r=1}else r=0}while(0);if(101==(0|z)&&(r=0),0|(s=0|_[Z>>2])&&(_[6631]=1+(0|_[6631]),Li(0|_[s+-4>>2]),_[Z>>2]=0),!(0|L)|!(0|N)||(_[6631]=1+(0|_[6631]),Li(0|_[N+-4>>2])),r){if((0|(s=0|_[t+4>>2]))>0){for(I=0,C=0,a=0,h=0,w=0,c=0;;){if(b=0|_[(0|_[t+12>>2])+(I<<2)>>2]){do{if((0|h)==(0|C)){if((0|C)>=(0|(s=0|C?C<<1:1))){s=C;break}do{if(s){if(_[6630]=1+(0|_[6630]),!(r=0|di(16+(s<<2|3)|0))){c=0;break}_[(r+4+15&-16)-4>>2]=r,c=r+4+15&-16}else c=0}while(0);if((0|C)>0){r=0;do{_[c+(r<<2)>>2]=_[a+(r<<2)>>2],r=r+1|0}while((0|r)!=(0|C));if(!w){a=c,w=c;break}}else if(!(0|a)|!(0|w)){a=c,w=c;break}_[6631]=1+(0|_[6631]),Li(0|_[w+-4>>2]),a=c,w=c}else s=C}while(0);_[a+(h<<2)>>2]=_[b>>2],C=h+1|0,S=4+(0|_[(0|_[t+12>>2])+(I<<2)>>2])|0;do{if((0|C)==(0|s)){if((0|s)>=(0|(b=0|s?s<<1:1))){j=w;break}do{if(b){if(_[6630]=1+(0|_[6630]),!(r=0|di(16+(b<<2|3)|0))){c=0;break}_[(r+4+15&-16)-4>>2]=r,c=r+4+15&-16}else c=0}while(0);if((0|s)>0){r=0;do{_[c+(r<<2)>>2]=_[a+(r<<2)>>2],r=r+1|0}while((0|r)!=(0|s));if(!w){s=b,a=c,j=c;break}}else if(!(0|a)|!(0|w)){s=b,a=c,j=c;break}_[6631]=1+(0|_[6631]),Li(0|_[w+-4>>2]),s=b,a=c,j=c}else j=w}while(0);_[a+(C<<2)>>2]=_[S>>2],S=h+2|0,w=8+(0|_[(0|_[t+12>>2])+(I<<2)>>2])|0;do{if((0|S)==(0|s)){if((0|s)>=(0|(b=0|s?s<<1:1))){b=j;break}do{if(b){if(_[6630]=1+(0|_[6630]),!(r=0|di(16+(b<<2|3)|0))){C=0;break}_[(r+4+15&-16)-4>>2]=r,C=r+4+15&-16}else C=0}while(0);if((0|s)>0){r=0;do{_[C+(r<<2)>>2]=_[a+(r<<2)>>2],r=r+1|0}while((0|r)!=(0|s));if(!j){s=b,a=C,c=C,b=C;break}}else if(!(0|a)|!(0|j)){s=b,a=C,c=C,b=C;break}_[6631]=1+(0|_[6631]),Li(0|_[j+-4>>2]),s=b,a=C,c=C,b=C}else b=j}while(0);_[a+(S<<2)>>2]=_[w>>2],Y=0|_[t+12>>2],r=0|_[Y+(I<<2)>>2],_[Y+(_[r+24>>2]<<2)>>2]=0,0|r&&(_[6631]=1+(0|_[6631]),Li(0|_[r+-4>>2])),C=s,h=h+3|0,s=0|_[t+4>>2],r=b}else r=w;if((0|(I=I+1|0))>=(0|s))break;w=r}if(_[o+48>>2]=(0|h)/3|0,(0|h)>0){_[6630]=1+(0|_[6630]),(r=0|di(16+(h<<2|3)|0))?(_[(r+4+15&-16)-4>>2]=r,s=r+4+15&-16):s=0,wn(0|s,0,h<<2),r=0;do{_[s+(r<<2)>>2]=_[a+(r<<2)>>2],r=r+1|0}while((0|r)!=(0|h));b=s,r=s}else b=0,r=0;C=c,N=h,s=0|_[t+4>>2],V=b}else _[o+48>>2]=0,C=0,a=0,r=0,N=0,V=0;if((0|s)<0){(0|_[t+8>>2])<0&&(0|(c=0|_[t+12>>2])&&(0|n[t+16|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[c+-4>>2])),_[t+12>>2]=0),n[t+16|0]=1,_[t+12>>2]=0,_[t+8>>2]=0);do{_[(0|_[t+12>>2])+(s<<2)>>2]=0,s=s+1|0}while(0|s)}if(_[t+4>>2]=0,!(0|a)|!(0|C)||(_[6631]=1+(0|_[6631]),Li(0|_[C+-4>>2])),L=0|_[o+48>>2],b=(0|J)>0){_[6630]=1+(0|_[6630]),(s=0|di(16+(J<<4|3)|0))?(_[(s+4+15&-16)-4>>2]=s,c=s+4+15&-16):c=0,s=0;do{_[(Y=c+(s<<4)|0)>>2]=_[o>>2],_[Y+4>>2]=_[o+4>>2],_[Y+8>>2]=_[o+8>>2],_[Y+12>>2]=_[o+12>>2],s=s+1|0}while((0|s)!=(0|J));G=c,M=c}else G=0,M=0;c=0|_[t+24>>2];do{if((0|c)>0){if(_[6630]=1+(0|_[6630]),(s=0|di(16+(c<<2|3)|0))?(_[(s+4+15&-16)-4>>2]=s,a=s+4+15&-16):a=0,wn(0|a,0,c<<2),(0|_[t+24>>2])<=0){I=a,j=a;break}c=0|_[t+32>>2],s=0;do{_[a+(s<<2)>>2]=_[c+(s<<2)>>2],s=s+1|0}while((0|s)<(0|_[t+24>>2]));I=a,j=a}else I=0,j=0}while(0);if(b?(_[6630]=1+(0|_[6630]),(s=0|di(16+(3|X)|0))?(_[(s+4+15&-16)-4>>2]=s,s=s+4+15&-16):s=0,wn(0|s,0,0|X),S=s,w=s):(S=0,w=0),wn(0|w,0,0|X),(0|L)<=0)S?(s=0,z=241):C=0;else{C=0,s=0;do{if(b=0|_[(c=r+(C<<2)|0)>>2],a=0|_[(h=S+(b<<2)|0)>>2])_[c>>2]=a+-1;else{if(_[c>>2]=s,_[G+(s<<4)>>2]=_[K+(b<<4)>>2],_[G+(s<<4)+4>>2]=_[K+(b<<4)+4>>2],_[G+(s<<4)+8>>2]=_[K+(b<<4)+8>>2],(0|(c=0|_[t+24>>2]))>0){a=0;do{(0|_[I+(a<<2)>>2])==(0|b)&&(_[(0|_[t+32>>2])+(a<<2)>>2]=s,c=0|_[t+24>>2]),a=a+1|0}while((0|a)<(0|c))}s=s+1|0,_[h>>2]=s}C=C+1|0}while((0|C)!=(3*L|0));z=241}do{if(241==(0|z)){if(!w){C=s;break}_[6631]=1+(0|_[6631]),Li(0|_[w+-4>>2]),C=s}}while(0);!(0|I)|!(0|j)||(_[6631]=1+(0|_[6631]),Li(0|_[j+-4>>2]));do{if(1&_[e>>2]){if(n[0|i]=0,_[i+4>>2]=C,(0|(b=0|_[i+12>>2]))<(0|C)){if((0|_[i+16>>2])<(0|C)){if(C?(_[6630]=1+(0|_[6630]),(s=0|di(16+(C<<4|3)|0))?(_[(s+4+15&-16)-4>>2]=s,s=s+4+15&-16):s=0,a=0|_[i+12>>2]):(s=0,a=b),(0|a)>0){c=0;do{t=s+(c<<4)|0,z=(0|_[i+20>>2])+(c<<4)|0,_[t>>2]=_[z>>2],_[t+4>>2]=_[z+4>>2],_[t+8>>2]=_[z+8>>2],_[t+12>>2]=_[z+12>>2],c=c+1|0}while((0|c)!=(0|a))}0|(c=0|_[i+20>>2])&&(0|n[i+24|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[c+-4>>2])),_[i+20>>2]=0),n[i+24|0]=1,_[i+20>>2]=s,_[i+16>>2]=C,c=i+20|0}else c=i+20|0;s=b;do{t=(0|_[c>>2])+(s<<4)|0,_[t>>2]=_[o>>2],_[t+4>>2]=_[o+4>>2],_[t+8>>2]=_[o+8>>2],_[t+12>>2]=_[o+12>>2],s=s+1|0}while((0|s)!=(0|C))}if(_[i+12>>2]=C,_[i+28>>2]=L,_[i+32>>2]=3*L,(0|(h=0|_[i+40>>2]))<(3*L|0)){t:do{if((0|_[i+44>>2])<(3*L|0)){L?(_[6630]=1+(0|_[6630]),(s=0|di(16+(12*L|3)|0))?(_[(s+4+15&-16)-4>>2]=s,s=s+4+15&-16):s=0,a=0|_[i+40>>2]):(s=0,a=h),b=0|_[i+48>>2];do{if(!((0|a)>0)){if(0|b)break;n[i+52|0]=1,_[i+48>>2]=s,_[i+44>>2]=3*L;break t}c=0;do{_[s+(c<<2)>>2]=_[b+(c<<2)>>2],c=c+1|0}while((0|c)!=(0|a))}while(0);0|n[i+52|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[b+-4>>2])),n[i+52|0]=1,_[i+48>>2]=s,_[i+44>>2]=3*L}else s=0|_[i+48>>2]}while(0);wn(s+(h<<2)|0,0,(12*L|0)-(h<<2)|0)}if(_[i+40>>2]=3*L,_e(0|_[i+20>>2],0|M,C<<4),!(2&_[e>>2])){_e(0|_[i+48>>2],0|V,12*L|0);break}if(!L)break;for(a=0,s=0|_[i+48>>2],c=r;_[s>>2]=_[c+8>>2],_[s+4>>2]=_[c+4>>2],_[s+8>>2]=_[c>>2],(0|(a=a+1|0))!=(0|L);)s=s+12|0,c=c+12|0}else{if(n[0|i]=1,_[i+4>>2]=C,(0|(b=0|_[i+12>>2]))<(0|C)){if((0|_[i+16>>2])<(0|C)){if(C?(_[6630]=1+(0|_[6630]),(s=0|di(16+(C<<4|3)|0))?(_[(s+4+15&-16)-4>>2]=s,s=s+4+15&-16):s=0,a=0|_[i+12>>2]):(s=0,a=b),(0|a)>0){c=0;do{t=s+(c<<4)|0,z=(0|_[i+20>>2])+(c<<4)|0,_[t>>2]=_[z>>2],_[t+4>>2]=_[z+4>>2],_[t+8>>2]=_[z+8>>2],_[t+12>>2]=_[z+12>>2],c=c+1|0}while((0|c)!=(0|a))}0|(c=0|_[i+20>>2])&&(0|n[i+24|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[c+-4>>2])),_[i+20>>2]=0),n[i+24|0]=1,_[i+20>>2]=s,_[i+16>>2]=C,c=i+20|0}else c=i+20|0;s=b;do{t=(0|_[c>>2])+(s<<4)|0,_[t>>2]=_[o>>2],_[t+4>>2]=_[o+4>>2],_[t+8>>2]=_[o+8>>2],_[t+12>>2]=_[o+12>>2],s=s+1|0}while((0|s)!=(0|C))}if(_[i+12>>2]=C,_[i+28>>2]=L,_[i+32>>2]=L<<2,L<<2>(0|(h=0|_[i+40>>2]))){t:do{if((0|_[i+44>>2])<L<<2){L<<2?(_[6630]=1+(0|_[6630]),(s=0|di(16+(L<<4|3)|0))?(_[(s+4+15&-16)-4>>2]=s,s=s+4+15&-16):s=0,a=0|_[i+40>>2]):(s=0,a=h),b=0|_[i+48>>2];do{if(!((0|a)>0)){if(0|b)break;n[i+52|0]=1,_[i+48>>2]=s,_[i+44>>2]=L<<2;break t}c=0;do{_[s+(c<<2)>>2]=_[b+(c<<2)>>2],c=c+1|0}while((0|c)!=(0|a))}while(0);0|n[i+52|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[b+-4>>2])),n[i+52|0]=1,_[i+48>>2]=s,_[i+44>>2]=L<<2}else s=0|_[i+48>>2]}while(0);wn(s+(h<<2)|0,0,(L<<2)-h<<2)}if(_[i+40>>2]=L<<2,_e(0|_[i+20>>2],0|M,C<<4),!L)break;for(b=0,s=0|_[i+48>>2],c=r;_[s>>2]=3,2&_[e>>2]?(_[s+4>>2]=_[c+8>>2],a=c):(_[s+4>>2]=_[c>>2],a=c+8|0),_[s+8>>2]=_[c+4>>2],_[s+12>>2]=_[a>>2],(0|(b=b+1|0))!=(0|L);)s=s+16|0,c=c+12|0}}while(0);do{if(N){if(!r){r=0;break}_[6631]=1+(0|_[6631]),Li(0|_[r+-4>>2]),r=0}}while(0);if(!(0|G)|!(0|M)){s=0;break}_[6631]=1+(0|_[6631]),Li(0|_[M+-4>>2]),s=0;break}}}s=1,r=0}else s=1,r=0}while(0);return!(0|q)|!(0|K)||(_[6631]=1+(0|_[6631]),Li(0|_[K+-4>>2])),r?(_[6631]=1+(0|_[6631]),Li(0|_[r+-4>>2]),Q=o,0|s):(Q=o,0|s)}function Db(t){t|=0;var e,i=0,o=0,r=0,s=0,c=0,b=0,d=0,l=0,A=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0,O=0,x=0,T=0,P=0,V=0,M=0,L=0,N=0,E=0,H=0,Z=0,U=0,Y=0,J=0,X=0,z=0,K=0,q=0,$=0,tt=0,et=0,it=0,nt=0,ot=0,_t=0,rt=0,st=0,pt=0,ct=0,at=0,bt=0,dt=0,lt=0;if(e=Q,Q=Q+176|0,$i(14689),Ve(t),0|Lb[127&_[20+(0|_[t>>2])>>2]](t)&&(q=0|Lb[127&_[20+(0|_[t>>2])>>2]](t),6144&Lb[127&_[48+(0|_[q>>2])>>2]](q))&&(0|(i=0|Lb[127&_[104+(0|_[t>>2])>>2]](t)))>0){Z=e+112+44|0,M=e+112+4|0,N=e+112+8|0,E=e+112+16|0,H=e+112+20|0,O=e+112+24|0,x=e+112+32|0,T=e+112+36|0,P=e+112+40|0,F=e+112+48|0,V=e+112+52|0,L=e+112+56|0,U=e+112+16|0,Y=e+112+32|0,J=e+112+48|0,X=e+112+16|0,z=e+112+32|0,K=e+112+48|0,q=e+112+48|0;do{B=i,i=i+-1|0,m=0|Qb[31&_[108+(0|_[t>>2])>>2]](t,i),o=0|Lb[127&_[20+(0|_[t>>2])>>2]](t),o=!!(2048&Lb[127&_[48+(0|_[o>>2])>>2]](o)),A=0|Lb[127&_[20+(0|_[t>>2])>>2]](t),A=!!(4096&Lb[127&_[48+(0|_[A>>2])>>2]](A)),W=+p[m+40>>2];t:do{if(!(W<=0))switch(0|_[m+4>>2]){case 3:_[e+112>>2]=1065353216,_[e+112+4>>2]=0,_[e+112+4+4>>2]=0,_[e+112+4+8>>2]=0,_[e+112+4+12>>2]=0,_[e+112+20>>2]=1065353216,_[e+112+24>>2]=0,_[e+112+24+4>>2]=0,_[e+112+24+8>>2]=0,_[e+112+24+12>>2]=0,_[e+112+40>>2]=1065353216,_[Z>>2]=0,_[Z+4>>2]=0,_[Z+8>>2]=0,_[Z+12>>2]=0,_[Z+16>>2]=0,I=+p[m+300>>2],D=+p[m+304>>2],j=+p[m+308>>2],A=0|_[m+28>>2],R=I*+p[A+20>>2]+D*+p[A+24>>2]+j*+p[A+28>>2]+ +p[A+56>>2],k=I*+p[A+36>>2]+D*+p[A+40>>2]+j*+p[A+44>>2]+ +p[A+60>>2],p[e+112+48>>2]=I*+p[A+4>>2]+D*+p[A+8>>2]+j*+p[A+12>>2]+ +p[A+52>>2],p[e+112+52>>2]=R,p[e+112+56>>2]=k,p[e+112+60>>2]=0,A=0|Lb[127&_[20+(0|_[t>>2])>>2]](t),nd[7&_[56+(0|_[A>>2])>>2]](A,e+112|0,W),k=+p[m+316>>2],R=+p[m+320>>2],j=+p[m+324>>2],m=0|_[m+32>>2],D=k*+p[m+20>>2]+R*+p[m+24>>2]+j*+p[m+28>>2]+ +p[m+56>>2],I=k*+p[m+36>>2]+R*+p[m+40>>2]+j*+p[m+44>>2]+ +p[m+60>>2],p[e+112+48>>2]=k*+p[m+4>>2]+R*+p[m+8>>2]+j*+p[m+12>>2]+ +p[m+52>>2],p[e+112+52>>2]=D,p[e+112+56>>2]=I,p[e+112+60>>2]=0,o&&(m=0|Lb[127&_[20+(0|_[t>>2])>>2]](t),nd[7&_[56+(0|_[m>>2])>>2]](m,e+112|0,W));break t;case 4:l=0|_[m+28>>2],r=+p[m+552>>2],_t=+p[l+4>>2],s=+p[m+552+16>>2],ot=+p[l+8>>2],c=+p[m+552+32>>2],nt=+p[l+12>>2],h=+p[m+552+4>>2],y=+p[m+552+20>>2],g=+p[m+552+36>>2],C=+p[m+552+8>>2],S=+p[m+552+24>>2],k=+p[m+552+40>>2],it=+p[l+20>>2],et=+p[l+24>>2],tt=+p[l+28>>2],v=+p[l+36>>2],w=+p[l+40>>2],R=+p[l+44>>2],st=+p[m+552+48>>2],rt=+p[m+552+52>>2],I=+p[m+552+56>>2],j=+p[l+52>>2]+(_t*st+ot*rt+nt*I),D=it*st+et*rt+tt*I+ +p[l+56>>2],I=v*st+w*rt+R*I+ +p[l+60>>2],p[e+112>>2]=r*_t+s*ot+c*nt,p[e+112+4>>2]=_t*h+ot*y+nt*g,p[e+112+8>>2]=_t*C+ot*S+nt*k,p[e+112+12>>2]=0,p[e+112+16>>2]=r*it+s*et+c*tt,p[e+112+20>>2]=h*it+y*et+g*tt,p[e+112+24>>2]=C*it+S*et+k*tt,p[e+112+28>>2]=0,p[e+112+32>>2]=r*v+s*w+c*R,p[e+112+36>>2]=h*v+y*w+g*R,p[e+112+40>>2]=C*v+S*w+k*R,p[e+112+44>>2]=0,p[e+112+48>>2]=j,p[e+112+52>>2]=D,p[e+112+56>>2]=I,p[e+112+60>>2]=0,o?(l=0|Lb[127&_[20+(0|_[t>>2])>>2]](t),nd[7&_[56+(0|_[l>>2])>>2]](l,e+112|0,W),l=0|_[m+32>>2],S=+p[m+616>>2],c=+p[l+4>>2],w=+p[m+616+16>>2],h=+p[l+8>>2],k=+p[m+616+32>>2],y=+p[l+12>>2],R=+p[m+616+4>>2],j=+p[m+616+20>>2],D=+p[m+616+36>>2],I=+p[m+616+8>>2],et=+p[m+616+24>>2],nt=+p[m+616+40>>2],g=+p[l+20>>2],C=+p[l+24>>2],v=+p[l+28>>2],tt=+p[l+36>>2],it=+p[l+40>>2],ot=+p[l+44>>2],r=+p[m+616+48>>2],s=+p[m+616+52>>2],st=+p[m+616+56>>2],_t=+p[l+52>>2]+(c*r+h*s+y*st),rt=g*r+C*s+v*st+ +p[l+56>>2],st=tt*r+it*s+ot*st+ +p[l+60>>2],p[e+112>>2]=S*c+w*h+k*y,p[e+112+4>>2]=c*R+h*j+y*D,p[e+112+8>>2]=c*I+h*et+y*nt,p[e+112+12>>2]=0,p[e+112+16>>2]=S*g+w*C+k*v,p[e+112+20>>2]=R*g+j*C+D*v,p[e+112+24>>2]=I*g+et*C+nt*v,p[e+112+28>>2]=0,p[e+112+32>>2]=S*tt+w*it+k*ot,p[e+112+36>>2]=R*tt+j*it+D*ot,p[e+112+40>>2]=I*tt+et*it+nt*ot,p[e+112+44>>2]=0,p[e+112+48>>2]=_t,p[e+112+52>>2]=rt,p[e+112+56>>2]=st,p[e+112+60>>2]=0,l=0|Lb[127&_[20+(0|_[t>>2])>>2]](t),nd[7&_[56+(0|_[l>>2])>>2]](l,e+112|0,W)):(l=0|_[m+32>>2],S=+p[m+616>>2],c=+p[l+4>>2],w=+p[m+616+16>>2],h=+p[l+8>>2],k=+p[m+616+32>>2],y=+p[l+12>>2],R=+p[m+616+4>>2],j=+p[m+616+20>>2],D=+p[m+616+36>>2],I=+p[m+616+8>>2],et=+p[m+616+24>>2],nt=+p[m+616+40>>2],g=+p[l+20>>2],C=+p[l+24>>2],v=+p[l+28>>2],tt=+p[l+36>>2],it=+p[l+40>>2],ot=+p[l+44>>2],r=+p[m+616+48>>2],s=+p[m+616+52>>2],st=+p[m+616+56>>2],_t=+p[l+52>>2]+(c*r+h*s+y*st),rt=g*r+C*s+v*st+ +p[l+56>>2],st=tt*r+it*s+ot*st+ +p[l+60>>2],p[e+112>>2]=S*c+w*h+k*y,p[e+112+4>>2]=c*R+h*j+y*D,p[e+112+8>>2]=c*I+h*et+y*nt,p[e+112+12>>2]=0,p[e+112+16>>2]=S*g+w*C+k*v,p[e+112+20>>2]=R*g+j*C+D*v,p[e+112+24>>2]=I*g+et*C+nt*v,p[e+112+28>>2]=0,p[e+112+32>>2]=S*tt+w*it+k*ot,p[e+112+36>>2]=R*tt+j*it+D*ot,p[e+112+40>>2]=I*tt+et*it+nt*ot,p[e+112+44>>2]=0,p[e+112+48>>2]=_t,p[e+112+52>>2]=rt,p[e+112+56>>2]=st,p[e+112+60>>2]=0),(s=((c=+p[m+688>>2])-(r=+p[m+688+4>>2]))%6.2831854820251465<-3.1415927410125732?(c-r)%6.2831854820251465+6.2831854820251465:(c-r)%6.2831854820251465>3.1415927410125732?(c-r)%6.2831854820251465-6.2831854820251465:(c-r)%6.2831854820251465)!=(r=(c+r)%6.2831854820251465<-3.1415927410125732?(c+r)%6.2831854820251465+6.2831854820251465:(c+r)%6.2831854820251465>3.1415927410125732?(c+r)%6.2831854820251465-6.2831854820251465:(c+r)%6.2831854820251465)&&($=s>r,A)&&(_[e+96>>2]=_[e+112+8>>2],_[e+96+4>>2]=_[e+112+24>>2],_[e+96+8>>2]=_[e+112+40>>2],p[e+96+12>>2]=0,_[e+80>>2]=_[e+112>>2],_[e+80+4>>2]=_[e+112+16>>2],_[e+80+8>>2]=_[e+112+32>>2],p[e+80+12>>2]=0,m=0|Lb[127&_[20+(0|_[t>>2])>>2]](t),A=0|_[60+(0|_[m>>2])>>2],_[e+64>>2]=0,_[e+64+4>>2]=0,_[e+64+8>>2]=0,_[e+64+12>>2]=0,dd[1&A](m,e+112+48|0,e+96|0,e+80|0,W,W,$?0:s,$?6.2831854820251465:r,e+64|0,1^$,10));break t;case 5:if(l=0|_[m+28>>2],S=+p[m+300>>2],c=+p[l+4>>2],w=+p[m+300+16>>2],h=+p[l+8>>2],k=+p[m+300+32>>2],y=+p[l+12>>2],R=+p[m+300+4>>2],j=+p[m+300+20>>2],D=+p[m+300+36>>2],I=+p[m+300+8>>2],et=+p[m+300+24>>2],nt=+p[m+300+40>>2],g=+p[l+20>>2],C=+p[l+24>>2],v=+p[l+28>>2],tt=+p[l+36>>2],it=+p[l+40>>2],ot=+p[l+44>>2],r=+p[m+300+48>>2],s=+p[m+300+52>>2],st=+p[m+300+56>>2],_t=+p[l+52>>2]+(c*r+h*s+y*st),rt=g*r+C*s+v*st+ +p[l+56>>2],st=tt*r+it*s+ot*st+ +p[l+60>>2],p[e+112>>2]=S*c+w*h+k*y,p[M>>2]=c*R+h*j+y*D,p[N>>2]=c*I+h*et+y*nt,p[e+112+12>>2]=0,p[E>>2]=S*g+w*C+k*v,p[H>>2]=R*g+j*C+D*v,p[O>>2]=I*g+et*C+nt*v,p[e+112+28>>2]=0,p[x>>2]=S*tt+w*it+k*ot,p[T>>2]=R*tt+j*it+D*ot,p[P>>2]=I*tt+et*it+nt*ot,p[e+112+44>>2]=0,p[F>>2]=_t,p[V>>2]=rt,p[L>>2]=st,p[e+112+60>>2]=0,o?(l=0|Lb[127&_[20+(0|_[t>>2])>>2]](t),nd[7&_[56+(0|_[l>>2])>>2]](l,e+112|0,W),l=0|_[m+32>>2],S=+p[m+364>>2],c=+p[l+4>>2],w=+p[m+364+16>>2],h=+p[l+8>>2],k=+p[m+364+32>>2],y=+p[l+12>>2],R=+p[m+364+4>>2],j=+p[m+364+20>>2],D=+p[m+364+36>>2],I=+p[m+364+8>>2],et=+p[m+364+24>>2],nt=+p[m+364+40>>2],g=+p[l+20>>2],C=+p[l+24>>2],v=+p[l+28>>2],tt=+p[l+36>>2],it=+p[l+40>>2],ot=+p[l+44>>2],r=+p[m+364+48>>2],s=+p[m+364+52>>2],st=+p[m+364+56>>2],_t=+p[l+52>>2]+(c*r+h*s+y*st),rt=g*r+C*s+v*st+ +p[l+56>>2],st=tt*r+it*s+ot*st+ +p[l+60>>2],p[e+112>>2]=S*c+w*h+k*y,p[M>>2]=c*R+h*j+y*D,p[N>>2]=c*I+h*et+y*nt,p[e+112+12>>2]=0,p[E>>2]=S*g+w*C+k*v,p[H>>2]=R*g+j*C+D*v,p[O>>2]=I*g+et*C+nt*v,p[e+112+28>>2]=0,p[x>>2]=S*tt+w*it+k*ot,p[T>>2]=R*tt+j*it+D*ot,p[P>>2]=I*tt+et*it+nt*ot,p[e+112+44>>2]=0,p[F>>2]=_t,p[V>>2]=rt,p[L>>2]=st,p[e+112+60>>2]=0,l=0|Lb[127&_[20+(0|_[t>>2])>>2]](t),nd[7&_[56+(0|_[l>>2])>>2]](l,e+112|0,W)):(l=0|_[m+32>>2],S=+p[m+364>>2],c=+p[l+4>>2],w=+p[m+364+16>>2],h=+p[l+8>>2],k=+p[m+364+32>>2],y=+p[l+12>>2],R=+p[m+364+4>>2],j=+p[m+364+20>>2],D=+p[m+364+36>>2],I=+p[m+364+8>>2],et=+p[m+364+24>>2],nt=+p[m+364+40>>2],g=+p[l+20>>2],C=+p[l+24>>2],v=+p[l+28>>2],tt=+p[l+36>>2],it=+p[l+40>>2],ot=+p[l+44>>2],r=+p[m+364+48>>2],s=+p[m+364+52>>2],st=+p[m+364+56>>2],_t=+p[l+52>>2]+(c*r+h*s+y*st),rt=g*r+C*s+v*st+ +p[l+56>>2],st=tt*r+it*s+ot*st+ +p[l+60>>2],p[e+112>>2]=S*c+w*h+k*y,p[M>>2]=c*R+h*j+y*D,p[N>>2]=c*I+h*et+y*nt,p[e+112+12>>2]=0,p[E>>2]=S*g+w*C+k*v,p[H>>2]=R*g+j*C+D*v,p[O>>2]=I*g+et*C+nt*v,p[e+112+28>>2]=0,p[x>>2]=S*tt+w*it+k*ot,p[T>>2]=R*tt+j*it+D*ot,p[P>>2]=I*tt+et*it+nt*ot,p[e+112+44>>2]=0,p[F>>2]=_t,p[V>>2]=rt,p[L>>2]=st,p[e+112+60>>2]=0),A){gn(e+96|0,m,6.0868353843688965,W),nt=+p[e+96>>2],ot=+p[e+96+4>>2],_t=+p[e+96+8>>2],rt=nt*+p[E>>2]+ot*+p[H>>2]+_t*+p[O>>2]+ +p[V>>2],st=nt*+p[x>>2]+ot*+p[T>>2]+_t*+p[P>>2]+ +p[L>>2],p[e+96>>2]=nt*+p[e+112>>2]+ot*+p[M>>2]+_t*+p[N>>2]+ +p[F>>2],p[e+96+4>>2]=rt,p[e+96+8>>2]=st,p[e+96+12>>2]=0,o=0;do{gn(e+80|0,m,6.283185005187988*+(0|o)*.03125,W),nt=+p[e+80>>2],ot=+p[e+80+4>>2],_t=+p[e+80+8>>2],rt=nt*+p[E>>2]+ot*+p[H>>2]+_t*+p[O>>2]+ +p[V>>2],st=nt*+p[x>>2]+ot*+p[T>>2]+_t*+p[P>>2]+ +p[L>>2],p[e+80>>2]=nt*+p[e+112>>2]+ot*+p[M>>2]+_t*+p[N>>2]+ +p[F>>2],p[e+80+4>>2]=rt,p[e+80+8>>2]=st,p[e+80+12>>2]=0,A=0|Lb[127&_[20+(0|_[t>>2])>>2]](t),l=0|_[8+(0|_[A>>2])>>2],_[e+64>>2]=0,_[e+64+4>>2]=0,_[e+64+8>>2]=0,_[e+64+12>>2]=0,cd[127&l](A,e+96|0,e+80|0,e+64|0),3&o||(A=0|Lb[127&_[20+(0|_[t>>2])>>2]](t),l=0|_[8+(0|_[A>>2])>>2],_[e+64>>2]=0,_[e+64+4>>2]=0,_[e+64+8>>2]=0,_[e+64+12>>2]=0,cd[127&l](A,q,e+80|0,e+64|0)),_[e+96>>2]=_[e+80>>2],_[e+96+4>>2]=_[e+80+4>>2],_[e+96+8>>2]=_[e+80+8>>2],_[e+96+12>>2]=_[e+80+12>>2],o=o+1|0}while(32!=(0|o));D=+p[m+452>>2],I=+p[m+512>>2],o=0|_[m+32>>2],+p[o+344>>2]>0?(nt=+p[m+364>>2],ot=+p[o+4>>2],_t=+p[m+364+16>>2],rt=+p[o+8>>2],st=+p[m+364+32>>2],k=+p[o+12>>2],et=+p[m+364+4>>2],it=+p[m+364+20>>2],w=+p[m+364+36>>2],pt=+p[m+364+8>>2],tt=+p[m+364+24>>2],S=+p[m+364+40>>2],at=+p[o+20>>2],ct=+p[o+24>>2],v=+p[o+28>>2],C=+p[o+36>>2],g=+p[o+40>>2],y=+p[o+44>>2],R=at*(c=+p[m+364+48>>2])+ct*(r=+p[m+364+52>>2])+v*(s=+p[m+364+56>>2]),j=ot*c+rt*r+k*s,r=C*c+g*r,s*=y,c=pt*C+tt*g+S*y,h=et*C+it*g+w*y,y=nt*C+_t*g+st*y,g=pt*at+tt*ct+S*v,C=et*at+it*ct+w*v,v=nt*at+_t*ct+st*v,S=ot*pt+rt*tt+k*S,w=ot*et+rt*it+k*w,k=nt*ot+_t*rt+st*k):(o=0|_[m+28>>2],rt=+p[m+300>>2],st=+p[o+4>>2],pt=+p[m+300+16>>2],ct=+p[o+8>>2],at=+p[m+300+32>>2],k=+p[o+12>>2],ot=+p[m+300+4>>2],_t=+p[m+300+20>>2],w=+p[m+300+36>>2],it=+p[m+300+8>>2],nt=+p[m+300+24>>2],S=+p[m+300+40>>2],tt=+p[o+20>>2],et=+p[o+24>>2],v=+p[o+28>>2],C=+p[o+36>>2],g=+p[o+40>>2],y=+p[o+44>>2],R=tt*(c=+p[m+300+48>>2])+et*(r=+p[m+300+52>>2])+v*(s=+p[m+300+56>>2]),j=st*c+ct*r+k*s,r=C*c+g*r,s*=y,c=it*C+nt*g+S*y,h=ot*C+_t*g+w*y,y=rt*C+pt*g+at*y,g=it*tt+nt*et+S*v,C=ot*tt+_t*et+w*v,v=rt*tt+pt*et+at*v,S=st*it+ct*nt+k*S,w=st*ot+ct*_t+k*w,k=rt*st+pt*ct+at*k),pt=+p[o+52>>2]+j,ct=R+ +p[o+56>>2],at=r+s+ +p[o+60>>2],p[e+112>>2]=k,p[M>>2]=w,p[N>>2]=S,p[e+112+12>>2]=0,p[E>>2]=v,p[H>>2]=C,p[O>>2]=g,p[e+112+28>>2]=0,p[x>>2]=y,p[T>>2]=h,p[P>>2]=c,p[e+112+44>>2]=0,p[F>>2]=pt,p[V>>2]=ct,p[L>>2]=at,p[e+112+60>>2]=0,_[e+80>>2]=_[q>>2],_[e+80+4>>2]=_[q+4>>2],_[e+80+8>>2]=_[q+8>>2],_[e+80+12>>2]=_[q+12>>2],p[e+64>>2]=k,p[e+64+4>>2]=v,p[e+64+8>>2]=y,p[e+64+12>>2]=0,p[e+48>>2]=w,p[e+48+4>>2]=C,p[e+48+8>>2]=h,p[e+48+12>>2]=0,m=0|Lb[127&_[20+(0|_[t>>2])>>2]](t),A=0|_[60+(0|_[m>>2])>>2],_[e+32>>2]=0,_[e+32+4>>2]=0,_[e+32+8>>2]=0,_[e+32+12>>2]=0,dd[1&A](m,e+80|0,e+64|0,e+48|0,W,W,-I-D,D-I,e+32|0,1,10)}break t;case 6:case 9:_[e+112>>2]=_[m+1064>>2],_[e+112+4>>2]=_[m+1064+4>>2],_[e+112+8>>2]=_[m+1064+8>>2],_[e+112+12>>2]=_[m+1064+12>>2],b=m+1064+16|0,_[U>>2]=_[b>>2],_[U+4>>2]=_[b+4>>2],_[U+8>>2]=_[b+8>>2],_[U+12>>2]=_[b+12>>2],d=m+1064+32|0,_[Y>>2]=_[d>>2],_[Y+4>>2]=_[d+4>>2],_[Y+8>>2]=_[d+8>>2],_[Y+12>>2]=_[d+12>>2],l=m+1064+48|0,_[J>>2]=_[l>>2],_[J+4>>2]=_[l+4>>2],_[J+8>>2]=_[l+8>>2],_[J+12>>2]=_[l+12>>2],o?(o=0|Lb[127&_[20+(0|_[t>>2])>>2]](t),nd[7&_[56+(0|_[o>>2])>>2]](o,e+112|0,W),_[e+112>>2]=_[m+1128>>2],_[e+112+4>>2]=_[m+1128+4>>2],_[e+112+8>>2]=_[m+1128+8>>2],_[e+112+12>>2]=_[m+1128+12>>2],_[U>>2]=_[m+1128+16>>2],_[U+4>>2]=_[m+1128+16+4>>2],_[U+8>>2]=_[m+1128+16+8>>2],_[U+12>>2]=_[m+1128+16+12>>2],_[Y>>2]=_[m+1128+32>>2],_[Y+4>>2]=_[m+1128+32+4>>2],_[Y+8>>2]=_[m+1128+32+8>>2],_[Y+12>>2]=_[m+1128+32+12>>2],_[J>>2]=_[m+1128+48>>2],_[J+4>>2]=_[m+1128+48+4>>2],_[J+8>>2]=_[m+1128+48+8>>2],_[J+12>>2]=_[m+1128+48+12>>2],o=0|Lb[127&_[20+(0|_[t>>2])>>2]](t),nd[7&_[56+(0|_[o>>2])>>2]](o,e+112|0,W)):(_[e+112>>2]=_[m+1128>>2],_[e+112+4>>2]=_[m+1128+4>>2],_[e+112+8>>2]=_[m+1128+8>>2],_[e+112+12>>2]=_[m+1128+12>>2],_[U>>2]=_[m+1128+16>>2],_[U+4>>2]=_[m+1128+16+4>>2],_[U+8>>2]=_[m+1128+16+8>>2],_[U+12>>2]=_[m+1128+16+12>>2],_[Y>>2]=_[m+1128+32>>2],_[Y+4>>2]=_[m+1128+32+4>>2],_[Y+8>>2]=_[m+1128+32+8>>2],_[Y+12>>2]=_[m+1128+32+12>>2],_[J>>2]=_[m+1128+48>>2],_[J+4>>2]=_[m+1128+48+4>>2],_[J+8>>2]=_[m+1128+48+8>>2],_[J+12>>2]=_[m+1128+48+12>>2]),A&&(_[e+112>>2]=_[m+1064>>2],_[e+112+4>>2]=_[m+1064+4>>2],_[e+112+8>>2]=_[m+1064+8>>2],_[e+112+12>>2]=_[m+1064+12>>2],_[U>>2]=_[b>>2],_[U+4>>2]=_[b+4>>2],_[U+8>>2]=_[b+8>>2],_[U+12>>2]=_[b+12>>2],_[Y>>2]=_[d>>2],_[Y+4>>2]=_[d+4>>2],_[Y+8>>2]=_[d+8>>2],_[Y+12>>2]=_[d+12>>2],_[J>>2]=_[l>>2],_[J+4>>2]=_[l+4>>2],_[J+8>>2]=_[l+8>>2],_[J+12>>2]=_[l+12>>2],o=m+1128+48|0,_[e+96>>2]=_[e+112+8>>2],_[e+96+4>>2]=_[e+112+24>>2],_[e+96+8>>2]=_[e+112+40>>2],p[e+96+12>>2]=0,_[e+80>>2]=_[e+112>>2],_[e+80+4>>2]=_[e+112+16>>2],_[e+80+8>>2]=_[e+112+32>>2],p[e+80+12>>2]=0,rt=+p[m+932>>2],r=+p[m+932+4>>2],ct=+p[m+996>>2],pt=+p[m+996+4>>2],bt=0|Lb[127&_[20+(0|_[t>>2])>>2]](t),A=0|_[64+(0|_[bt>>2])>>2],_[e+64>>2]=0,_[e+64+4>>2]=0,_[e+64+8>>2]=0,_[e+64+12>>2]=0,bd[1&A](bt,o,e+96|0,e+80|0,.8999999761581421*W,rt,r,ct,pt,e+64|0,10,1),bt=0|_[e+112+20>>2],A=0|_[e+112+36>>2],_[e+80>>2]=_[e+112+4>>2],_[e+80+4>>2]=bt,_[e+80+8>>2]=A,p[e+80+12>>2]=0,pt=+p[m+1196>>2],ct=+p[m+1200>>2],r=+f(+pt),pt=+u(+pt),rt=+f(+ct),ct=+u(+ct),st=+p[e+80>>2],at=+p[e+80+4>>2],s=+p[e+80+8>>2],p[e+64>>2]=r*rt*st+r*ct*at-pt*s,p[e+64+4>>2]=rt*at-ct*st,p[e+64+8>>2]=pt*rt*st+pt*ct*at+r*s,_[e+112>>2]=_[m+1128>>2],_[e+112+4>>2]=_[m+1128+4>>2],_[e+112+8>>2]=_[m+1128+8>>2],_[e+112+12>>2]=_[m+1128+12>>2],_[U>>2]=_[m+1128+16>>2],_[U+4>>2]=_[m+1128+16+4>>2],_[U+8>>2]=_[m+1128+16+8>>2],_[U+12>>2]=_[m+1128+16+12>>2],_[Y>>2]=_[m+1128+32>>2],_[Y+4>>2]=_[m+1128+32+4>>2],_[Y+8>>2]=_[m+1128+32+8>>2],_[Y+12>>2]=_[m+1128+32+12>>2],_[J>>2]=_[o>>2],_[J+4>>2]=_[o+4>>2],_[J+8>>2]=_[o+8>>2],_[J+12>>2]=_[o+12>>2],s=-+p[e+112+16>>2],r=-+p[e+112+32>>2],p[e+48>>2]=-+p[e+112>>2],p[e+48+4>>2]=s,p[e+48+8>>2]=r,p[e+48+12>>2]=0,(r=+p[m+868>>2])>(s=+p[m+868+4>>2])?(bt=0|Lb[127&_[20+(0|_[t>>2])>>2]](t),A=0|_[60+(0|_[bt>>2])>>2],_[e+32>>2]=0,_[e+32+4>>2]=0,_[e+32+8>>2]=0,_[e+32+12>>2]=0,dd[1&A](bt,o,e+48|0,e+64|0,W,W,-3.1415927410125732,3.1415927410125732,e+32|0,0,10)):r<s&&(bt=0|Lb[127&_[20+(0|_[t>>2])>>2]](t),A=0|_[60+(0|_[bt>>2])>>2],_[e+32>>2]=0,_[e+32+4>>2]=0,_[e+32+8>>2]=0,_[e+32+12>>2]=0,dd[1&A](bt,o,e+48|0,e+64|0,W,W,r,s,e+32|0,1,10)),_[e+112>>2]=_[m+1064>>2],_[e+112+4>>2]=_[m+1064+4>>2],_[e+112+8>>2]=_[m+1064+8>>2],_[e+112+12>>2]=_[m+1064+12>>2],_[U>>2]=_[b>>2],_[U+4>>2]=_[b+4>>2],_[U+8>>2]=_[b+8>>2],_[U+12>>2]=_[b+12>>2],_[Y>>2]=_[d>>2],_[Y+4>>2]=_[d+4>>2],_[Y+8>>2]=_[d+8>>2],_[Y+12>>2]=_[d+12>>2],_[J>>2]=_[l>>2],_[J+4>>2]=_[l+4>>2],_[J+8>>2]=_[l+8>>2],_[J+12>>2]=_[l+12>>2],_[e+32>>2]=_[m+680>>2],_[e+32+4>>2]=_[m+680+4>>2],_[e+32+8>>2]=_[m+680+8>>2],_[e+32+12>>2]=_[m+680+12>>2],_[e+16>>2]=_[m+680+16>>2],_[e+16+4>>2]=_[m+680+16+4>>2],_[e+16+8>>2]=_[m+680+16+8>>2],_[e+16+12>>2]=_[m+680+16+12>>2],bt=0|Lb[127&_[20+(0|_[t>>2])>>2]](t),m=0|_[72+(0|_[bt>>2])>>2],_[e>>2]=0,_[e+4>>2]=0,_[e+8>>2]=0,_[e+12>>2]=0,ld[31&m](bt,e+32|0,e+16|0,e+112|0,e));break t;case 7:_[e+112>>2]=_[m+824>>2],_[e+112+4>>2]=_[m+824+4>>2],_[e+112+8>>2]=_[m+824+8>>2],_[e+112+12>>2]=_[m+824+12>>2],_[X>>2]=_[m+824+16>>2],_[X+4>>2]=_[m+824+16+4>>2],_[X+8>>2]=_[m+824+16+8>>2],_[X+12>>2]=_[m+824+16+12>>2],_[z>>2]=_[m+824+32>>2],_[z+4>>2]=_[m+824+32+4>>2],_[z+8>>2]=_[m+824+32+8>>2],_[z+12>>2]=_[m+824+32+12>>2],_[K>>2]=_[m+824+48>>2],_[K+4>>2]=_[m+824+48+4>>2],_[K+8>>2]=_[m+824+48+8>>2],_[K+12>>2]=_[m+824+48+12>>2],o?(bt=0|Lb[127&_[20+(0|_[t>>2])>>2]](t),nd[7&_[56+(0|_[bt>>2])>>2]](bt,e+112|0,W),_[e+112>>2]=_[m+888>>2],_[e+112+4>>2]=_[m+888+4>>2],_[e+112+8>>2]=_[m+888+8>>2],_[e+112+12>>2]=_[m+888+12>>2],_[X>>2]=_[m+888+16>>2],_[X+4>>2]=_[m+888+16+4>>2],_[X+8>>2]=_[m+888+16+8>>2],_[X+12>>2]=_[m+888+16+12>>2],_[z>>2]=_[m+888+32>>2],_[z+4>>2]=_[m+888+32+4>>2],_[z+8>>2]=_[m+888+32+8>>2],_[z+12>>2]=_[m+888+32+12>>2],_[K>>2]=_[m+888+48>>2],_[K+4>>2]=_[m+888+48+4>>2],_[K+8>>2]=_[m+888+48+8>>2],_[K+12>>2]=_[m+888+48+12>>2],bt=0|Lb[127&_[20+(0|_[t>>2])>>2]](t),nd[7&_[56+(0|_[bt>>2])>>2]](bt,e+112|0,W)):(_[e+112>>2]=_[m+888>>2],_[e+112+4>>2]=_[m+888+4>>2],_[e+112+8>>2]=_[m+888+8>>2],_[e+112+12>>2]=_[m+888+12>>2],_[X>>2]=_[m+888+16>>2],_[X+4>>2]=_[m+888+16+4>>2],_[X+8>>2]=_[m+888+16+8>>2],_[X+12>>2]=_[m+888+16+12>>2],_[z>>2]=_[m+888+32>>2],_[z+4>>2]=_[m+888+32+4>>2],_[z+8>>2]=_[m+888+32+8>>2],_[z+12>>2]=_[m+888+32+12>>2],_[K>>2]=_[m+888+48>>2],_[K+4>>2]=_[m+888+48+4>>2],_[K+8>>2]=_[m+888+48+8>>2],_[K+12>>2]=_[m+888+48+12>>2]),A&&(dt=0|n[m+180|0]?m+824|0:m+888|0,o=0|_[dt>>2],l=0|_[dt+4>>2],b=0|_[dt+16>>2],A=0|_[dt+20>>2],d=0|_[dt+32>>2],bt=0|_[dt+36>>2],D=+p[dt+48>>2],it=+p[dt+52>>2],rt=+p[dt+56>>2],at=+p[m+184>>2],_[a>>2]=o,et=+p[a>>2],tt=0*(_[a>>2]=l,+p[a>>2]),I=0*+p[dt+8>>2],_[a>>2]=b,_t=+p[a>>2],ot=0*(_[a>>2]=A,+p[a>>2]),nt=0*+p[dt+24>>2],_[a>>2]=d,ct=+p[a>>2],pt=0*(_[a>>2]=bt,+p[a>>2]),st=0*+p[dt+40>>2],p[e+96>>2]=D+(I+(tt+at*et)),p[e+96+4>>2]=it+(nt+(ot+at*_t)),p[e+96+8>>2]=rt+(st+(pt+at*ct)),p[e+96+12>>2]=0,at=+p[m+188>>2],p[e+80>>2]=D+(I+(tt+at*et)),p[e+80+4>>2]=it+(nt+(ot+at*_t)),p[e+80+8>>2]=rt+(st+(pt+at*ct)),p[e+80+12>>2]=0,dt=0|Lb[127&_[20+(0|_[t>>2])>>2]](t),lt=0|_[8+(0|_[dt>>2])>>2],_[e+64>>2]=0,_[e+64+4>>2]=0,_[e+64+8>>2]=0,_[e+64+12>>2]=0,cd[127<](dt,e+96|0,e+80|0,e+64|0),_[e+64>>2]=o,_[e+64+4>>2]=b,_[e+64+8>>2]=d,p[e+64+12>>2]=0,_[e+48>>2]=l,_[e+48+4>>2]=A,_[e+48+8>>2]=bt,p[e+48+12>>2]=0,ct=+p[m+192>>2],at=+p[m+196>>2],bt=0|Lb[127&_[20+(0|_[t>>2])>>2]](t),A=0|_[60+(0|_[bt>>2])>>2],_[e+32>>2]=0,_[e+32+4>>2]=0,_[e+32+8>>2]=0,_[e+32+12>>2]=0,dd[1&A](bt,m+888+48|0,e+64|0,e+48|0,W,W,ct,at,e+32|0,1,10));break t;default:break t}}while(0)}while((0|B)>1)}if(0|Lb[127&_[20+(0|_[t>>2])>>2]](t)&&(lt=0|Lb[127&_[20+(0|_[t>>2])>>2]](t),16387&Lb[127&_[48+(0|_[lt>>2])>>2]](lt))&&0|Lb[127&_[20+(0|_[t>>2])>>2]](t)&&(lt=0|Lb[127&_[20+(0|_[t>>2])>>2]](t),0|Lb[127&_[48+(0|_[lt>>2])>>2]](lt))&&(0|_[t+280>>2])>0){i=0;do{lt=0|_[(0|_[t+288>>2])+(i<<2)>>2],id[127&_[12+(0|_[lt>>2])>>2]](lt,0|_[t+72>>2]),i=i+1|0}while((0|i)<(0|_[t+280>>2]))}if(i=0|_[2606],lt=(0|_[i+16>>2])-1|0,_[i+16>>2]=lt,0|lt)Q=e;else{do{if(0|_[i+4>>2]){if(G(e+112|0,0),lt=0|_[6629],p[i+8>>2]=+p[i+8>>2]+ +(((0|_[e+112+4>>2])-(0|_[lt+4>>2])+(1e6*((0|_[e+112>>2])-(0|_[lt>>2])|0)|0)-(0|_[i+12>>2])|0)>>>0)/1e3,0|_[i+16>>2])return void(Q=e);i=0|_[2606];break}}while(0);_[2606]=_[i+20>>2],Q=e}}function Ib(t,e,i,n){t|=0,e|=0,i|=0,n|=0;var o,r=0,s=0,p=0,c=0,a=0,b=0,d=0,l=0,A=0,f=0,u=0,m=0,h=0,y=0,C=0,v=0,S=0,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0,O=0,x=0,T=0,P=0,V=0,M=0,G=0,L=0,N=0;o=Q,Q=Q+144|0;t:do{switch(i-e|0){case 0:return _[n>>2]=0,_[n+4>>2]=0,_[n+8>>2]=0,_[n+12>>2]=0,void(Q=o);case 2:if(r=0|_[(0|_[t+92>>2])+(e<<2)>>2],(0|(c=0|_[r+88>>2]))==(0|(a=0|_[r+200>>2]))&(0|(p=0|_[r+92>>2]))==(0|(s=0|_[r+204>>2]))){if((0|_[r+96>>2])==(0|_[r+208>>2]))break t;s=p}s=p-s|0;do{if(s|c-a){if(_[r>>2]=r+112,_[r+4>>2]=r+112,_[r+112>>2]=r,_[r+116>>2]=r,V=(c-a|0)<0|!(c-a|0)&(0|s)<0,_[n>>2]=V?r:r+112|0,_[n+4>>2]=V?r+112|0:r,(0|s)<0|(c-a|0)<0&!(0|s)){_[n+8>>2]=r,s=r,p=r+112|0,r=r+112|0;break}_[n+8>>2]=r+112,s=r,p=r+112|0;break}p=(0|_[r+96>>2])>(0|_[r+208>>2]),_[(V=p?r+112|0:r)>>2]=V,_[V+4>>2]=V,_[n>>2]=V,_[n+4>>2]=V,_[n+8>>2]=V,s=V,p=p?r:r+112|0,r=V}while(0);return _[n+12>>2]=r,t=0|rt(t,s,p),_[t>>2]=t,_[t+4>>2]=t,_[s+8>>2]=t,t=0|_[t+8>>2],_[t>>2]=t,_[t+4>>2]=t,_[p+8>>2]=t,void(Q=o);case 1:r=0|_[(0|_[t+92>>2])+(e<<2)>>2];break;default:l=((i-e|0)/2|0)+e|0,d=0|_[t+92>>2],b=0|_[d+(l+-1<<2)>>2],c=0|_[b+88>>2],a=0|_[b+92>>2],b=0|_[b+96>>2];e:do{if((0|l)<(0|i)){r=l;do{if(p=0|_[d+(r<<2)>>2],(0|_[p+88>>2])!=(0|c))break e;if((0|_[p+92>>2])!=(0|a))break e;if((0|_[p+96>>2])!=(0|b))break e;r=r+1|0}while((0|r)<(0|i))}else r=l}while(0);Ib(t,e,l,n),_[o+96>>2]=0,_[o+96+4>>2]=0,_[o+96+8>>2]=0,_[o+96+12>>2]=0,Ib(t,r,i,o+96|0),a=0|_[o+96+4>>2];e:do{if(0|a){if(!(D=0|_[n+4>>2])){_[n>>2]=_[o+96>>2],_[n+4>>2]=_[o+96+4>>2],_[n+8>>2]=_[o+96+8>>2],_[n+12>>2]=_[o+96+12>>2];break}_[t+100>>2]=(0|_[t+100>>2])-1,d=0|_[n+12>>2],p=0|_[o+96+8>>2],c=0|_[d+88>>2];i:do{if((0|c)==(0|_[p+88>>2])&&(s=0|_[d+92>>2],(0|s)==(0|_[p+92>>2]))){if((0|(b=0|_[p+4>>2]))==(0|p)){(r=0|_[p+8>>2])?(p=0|_[r+12>>2],r=0|_[p+88>>2],s=0|_[p+92>>2]):r=c,b=p,a=r+1|0,i=d,l=0|_[p+96>>2],r=d,e=p;break}if(c=0|_[p>>2],_[b>>2]=c,_[c+4>>2]=b,(0|p)==(0|_[o+96>>2])){r=0|_[c+88>>2],s=0|_[b+88>>2];do{if((0|r)<(0|s))r=c;else{if((0|r)==(0|s)&&(0|_[c+92>>2])<(0|_[b+92>>2])){r=c;break}r=b}}while(0);_[o+96>>2]=r}if((0|p)==(0|a)){r=0|_[c+88>>2],s=0|_[b+88>>2];do{if((0|r)<=(0|s)){if((0|r)==(0|s)&&(0|_[c+92>>2])>(0|_[b+92>>2]))break;_[o+96+4>>2]=b,c=b,T=39;break i}}while(0);_[o+96+4>>2]=c,T=39}else c=a,T=39}else c=a,T=39}while(0);if(39==(0|T)){for(R=0|_[n>>2],j=0|_[o+96>>2],i=D,a=0,e=0,S=1,k=0,A=c;;){p=0|_[A+88>>2],l=0|_[i+88>>2],s=0|g(p-l|0,S);i:do{if((0|s)<=0){if((0|s)<0)for(v=!!(0|k),b=i,r=A,d=0|_[i+92>>2],C=0|_[A+92>>2];;){for(h=(0|(m=0|_[(v?r+4:r)>>2]))==(0|r),y=r+88|0;;){if(i=b+88|0,u=C-d|0,!h&&(I=0|_[m+88>>2],B=0|g(I-p|0,S),(0|(F=(W=0|_[m+92>>2])-C|0))>-1)){if(!B)break;if((0|B)<0&&(0|g(F,s))<=(0|g(B,u)))break}if((0|(f=0|_[(v?b+4:b)>>2]))==(0|b))break i;if(x=0|_[f+88>>2],l=0|g(x-(0|_[i>>2])|0,S),d=(A=0|_[f+92>>2])-d|0,p=0|_[y>>2],!((0|d)>0&(0|(i=0|g(p-x|0,S)))<0))break i;if(0|l){if((0|l)>=0)break i;if((0|g(d,s))>=(0|g(l,u)))break i}b=f,s=i,d=A}r=m,s=0|g(I-(0|_[i>>2])|0,S),C=W,p=I}r=0|_[i+92>>2],s=0|_[((d=!!(0|k))?i:i+4)>>2];n:do{if((0|s)!=(0|i))if(d)for(p=i,b=r;;){if((0|_[s+88>>2])!=(0|l)){b=p;break n}if(x=b,(0|(b=0|_[s+92>>2]))>(0|x)){b=p;break n}if((0|(r=0|_[s>>2]))==(0|i)){b=s;break}p=s,s=r}else for(p=i,b=r;;){if((0|_[s+88>>2])!=(0|l)){b=p;break n}if(x=b,(0|(b=0|_[s+92>>2]))>(0|x)){b=p;break n}if((0|(r=0|_[s+4>>2]))==(0|i)){b=s;break}p=s,s=r}else b=i}while(0);if(r=0|_[A+92>>2],(0|(p=0|_[(d?A+4:A)>>2]))!=(0|A))if(d)for(s=r,r=A;;){if((0|_[p+88>>2])!=(0|l))break i;if(x=s,(0|(s=0|_[p+92>>2]))<(0|x))break i;if((0|(r=0|_[p+4>>2]))==(0|A)){r=p;break}x=p,p=r,r=x}else for(s=r,r=A;;){if((0|_[p+88>>2])!=(0|l))break i;if(x=s,(0|(s=0|_[p+92>>2]))<(0|x))break i;if((0|(r=0|_[p>>2]))==(0|A)){r=p;break}x=p,p=r,r=x}else r=A}else for(h=!!(0|k),p=i,r=A,m=0|_[A+92>>2];;){for(f=r+88|0,b=p,p=0|_[p+92>>2];u=m-p|0,!((0|(d=0|_[(h?b:b+4)>>2]))==(0|b)||(i=0|_[d+88>>2],l=0|g(i-(0|_[b+88>>2])|0,S),(0|(p=(A=0|_[d+92>>2])-p|0))>=1));){if(0|l){if((0|l)>=0)break;if((0|g(p,s))>(0|g(l,u)))break}s=0|g((0|_[f>>2])-i|0,S),b=d,p=A}if((0|(A=0|_[(h?r:r+4)>>2]))==(0|r))break i;if(d=0|_[A+88>>2],i=0|g(d-(0|_[f>>2])|0,S),!((0|(p=(l=0|_[A+92>>2])-m|0))<0&(0|(d=0|g(d-(0|_[b+88>>2])|0,S)))>0))break i;if(0|i){if((0|i)>=0)break i;if((0|g(p,s))>=(0|g(i,u)))break i}s=d,p=b,r=A,m=l}}while(0);if(e=(s=!(0|k))?r:e,a=s?b:a,A=s?j:r,i=s?R:b,2==(0|(k=k+1|0)))break;S=s?-1:S}if(_[i+4>>2]=A,_[A>>2]=i,_[a>>2]=e,_[e+4>>2]=a,(0|_[j+88>>2])<(0|_[R+88>>2])&&(_[n>>2]=j),(0|_[c+88>>2])>=(0|_[D+88>>2])&&(_[n+4>>2]=c),_[n+12>>2]=_[o+96+12>>2],s=a,b=e,S=0|_[(d=e+88|0)>>2],m=0|_[a+88>>2],k=0|_[(c=e+92|0)>>2],R=0|_[a+92>>2],j=0|_[(p=e+96|0)>>2],h=0|_[a+96>>2],D=((k-R|0)<0)<<31>>31,B=0|f_(0|(B=0|Ir(0,0,0|(I=0-(S-m)|0),((0|I)<0)<<31>>31)),0|w(),j-h|0,((j-h|0)<0)<<31>>31),W=0|w(),F=0|f_(j-h|0,((j-h|0)<0)<<31>>31,k-R|0,0|D),n=0|w(),O=0|Ir(0|(y=0|f_(0|I,((0|I)<0)<<31>>31,S-m|0,((S-m|0)<0)<<31>>31)),0|(x=0|w()),0|(O=0|f_(k-R|0,0|D,k-R|0,0|D)),0|w()),x=0|w(),y=0|_[a+8>>2],_[o+120>>2]=0,y){C=0|Ir(0,0,k-R|0,0|D),v=0|w(),u=y,r=0;do{A=0|_[u+12>>2],i=0|_[A+88>>2],l=0|_[A+92>>2],A=0|_[A+96>>2],G=0|f_(l-R|0,((l-R|0)<0)<<31>>31,0|I,((0|I)<0)<<31>>31),f=0|w(),M=0|f_(0|C,0|v,i-m|0,((i-m|0)<0)<<31>>31);i:do{if((0|G)==(0|M)&(0|f)==(0|w())&&(M=0|f_(0|B,0|W,i-m|0,((i-m|0)<0)<<31>>31),f=0|w(),G=0|f_(0|F,0|n,l-R|0,((l-R|0)<0)<<31>>31),f=0|Or(0|G,0|w(),0|M,0|f),M=0|w(),G=0|f_(0|O,0|x,A-h|0,((A-h|0)<0)<<31>>31),G=0|Or(0|f,0|M,0|G,0|w()),M=0|w(),(0|M)>0|!(0|M)&G>>>0>0)){do{if(0|r){if(f=(0|_[r+4>>2])==(0|u),(0|_[r>>2])!=(0|u)){if(f)break;break i}if(!f)break i;if(M=0|_[r+12>>2],L=0|_[12+(0|_[u+8>>2])>>2],G=0|_[L+88>>2],f=0|_[L+92>>2],L=0|_[L+96>>2],N=(0|_[M+96>>2])-L|0,f=(0|g(A-L|0,(0|_[M+92>>2])-f|0))-(0|g(N,l-f|0))|0,G=(0|g(N,i-G|0))-(0|g(A-L|0,(0|_[M+88>>2])-G|0))|0,G=0|Or(0|(f=0|f_(0|f,((0|f)<0)<<31>>31,k-R|0,0|D)),0|(M=0|w()),0|(G=0|f_(0|G,((0|G)<0)<<31>>31,0|I,((0|I)<0)<<31>>31)),0|w()),(0|(M=0|w()))>0|!(0|M)&G>>>0>0)break i}}while(0);r=u}}while(0);u=0|_[u>>2]}while((0|u)!=(0|y));_[o+120>>2]=r,y=r}else y=0;if(u=0|_[e+8>>2],_[o+72>>2]=0,u){m=0|Ir(0,0,k-R|0,0|D),h=0|w(),f=u,r=0;do{A=0|_[f+12>>2],i=0|_[A+88>>2],l=0|_[A+92>>2],A=0|_[A+96>>2],G=0|f_(l-k|0,((l-k|0)<0)<<31>>31,0|I,((0|I)<0)<<31>>31),N=0|w(),L=0|f_(0|m,0|h,i-S|0,((i-S|0)<0)<<31>>31);do{if((0|G)==(0|L)&(0|N)==(0|w())&&(L=0|f_(0|B,0|W,i-S|0,((i-S|0)<0)<<31>>31),G=0|w(),G=0|Or(0|(N=0|f_(0|F,0|n,l-k|0,((l-k|0)<0)<<31>>31)),0|w(),0|L,0|G),N=0|Or(0|G,0|(L=0|w()),0|(N=0|f_(0|O,0|x,A-j|0,((A-j|0)<0)<<31>>31)),0|w()),(0|(L=0|w()))>0|!(0|L)&N>>>0>0)){if(0|r){if((0|_[r>>2])!=(0|f))break;if((0|_[r+4>>2])==(0|f)&&(L=0|_[r+12>>2],M=0|_[12+(0|_[f+8>>2])>>2],N=0|_[M+88>>2],G=0|_[M+92>>2],M=0|_[M+96>>2],v=(0|_[L+96>>2])-M|0,G=(0|g(A-M|0,(0|_[L+92>>2])-G|0))-(0|g(v,l-G|0))|0,N=(0|g(v,i-N|0))-(0|g(A-M|0,(0|_[L+88>>2])-N|0))|0,N=0|Or(0|(G=0|f_(0|G,((0|G)<0)<<31>>31,k-R|0,0|D)),0|(L=0|w()),0|(N=0|f_(0|N,((0|N)<0)<<31>>31,0|I,((0|I)<0)<<31>>31)),0|w()),!((0|(L=0|w()))>0|!(0|L)&N>>>0>0)))break}r=f}}while(0);f=0|_[f>>2]}while((0|f)!=(0|u));_[o+72>>2]=r}else r=0;!!(0|y)|!!(0|r)?(li(t,a,e,o+120|0,o+72|0),(r=0|_[o+120>>2])&&(s=a=0|_[r+12>>2]),(r=0|_[o+72>>2])?(b=e=0|_[r+12>>2],d=e+88|0,p=e+96|0,c=e+92|0,r=a):r=a):r=a,a=0|_[d>>2],i=s,l=1+(0|_[p>>2])|0,s=0|_[c>>2]}for(F=0,n=0,p=0,S=0,O=1,I=0,B=0,c=0,j=0,D=a,R=i,v=e,C=r;;){N=0|_[C+88>>2],x=(0|_[v+88>>2])-N|0,L=0|_[C+92>>2],k=(0|_[v+92>>2])-L|0,W=0|_[C+96>>2],h=(0|_[v+96>>2])-W|0,_[o+120>>2]=x,_[o+120+4>>2]=k,_[o+120+8>>2]=h,_[o+120+12>>2]=-1,N=D-N|0,W=l-W|0,y=(0|g(L=s-L|0,h))-(0|g(W,k))|0,W=(0|g(W,x))-(0|g(N,h))|0,L=(0|g(N,k))-(0|g(L,x))|0,_[o+72>>2]=y,_[o+72+4>>2]=((0|y)<0)<<31>>31,_[o+72+8>>2]=W,_[o+72+8+4>>2]=((0|W)<0)<<31>>31,_[o+72+16>>2]=L,_[o+72+16+4>>2]=((0|L)<0)<<31>>31,M=0|Ir(0|(N=0|f_(0|L,((0|L)<0)<<31>>31,0|k,((0|k)<0)<<31>>31)),0|(G=0|w()),0|(M=0|f_(0|W,((0|W)<0)<<31>>31,0|h,((0|h)<0)<<31>>31)),0|w()),G=0|w(),L=0|Ir(0|(h=0|f_(0|y,((0|y)<0)<<31>>31,0|h,((0|h)<0)<<31>>31)),0|(N=0|w()),0|(L=0|f_(0|L,((0|L)<0)<<31>>31,0|x,((0|x)<0)<<31>>31)),0|w()),N=0|w(),k=0|Ir(0|(x=0|f_(0|W,((0|W)<0)<<31>>31,0|x,((0|x)<0)<<31>>31)),0|(W=0|w()),0|(k=0|f_(0|y,((0|y)<0)<<31>>31,0|k,((0|k)<0)<<31>>31)),0|w()),W=0|w(),_[o+48>>2]=M,_[o+48+4>>2]=G,_[o+48+8>>2]=L,_[o+48+8+4>>2]=N,_[o+48+16>>2]=k,_[o+48+16+4>>2]=W,_[o+24>>2]=0,_[o+24+4>>2]=0,_[o+24+8>>2]=0,_[o+24+12>>2]=0,_[o+24+16>>2]=0,W=0|Ni(t,0,C,o+120|0,o+72|0,o+48|0,o+24|0),_[o>>2]=0,_[o+4>>2]=0,_[o+8>>2]=0,_[o+12>>2]=0,_[o+16>>2]=0,k=0|Ni(t,1,v,o+120|0,o+72|0,o+48|0,o);do{if(!!(0|W)|!!(0|k)){a=0|W?-1:1;do{if(!!(0|W)&!!(0|k)){if((0|(y=0|_[o+24+16>>2]))!=(0|(a=0|_[o+16>>2]))){f=y-a|0;break}y?(N=0|_[o+24>>2],m=0|_[o+24+4>>2],i=0|_[o+8>>2],G=0|_[o+8+4>>2],d=0|f_(0|i,0,0|N,0),a=0|w(),N=0|f_(0|G,0,0|N,0),L=0|w(),i=0|f_(0|i,0,0|m,0),A=0|w(),m=0|f_(0|G,0,0|m,0),G=0|w(),i=0|Or(0|N,0,0|i,0),N=0|w(),G=0|Or(0|L,0,0|m,0|G),A=0|Or(0|G,0|w(),0|A,0),N=0|Or(0|A,0|w(),0|N,0),A=0|w(),a=0|Or(0,0|i,0|d,0|a),i=0|Or(0|N,0|A,1&((d=0|w())>>>0<i>>>0|(0|d)==(0|i)&a>>>0<0),0),A=0|w(),N=0|_[o+24+8>>2],G=0|_[o+24+8+4>>2],m=0|_[o>>2],L=0|_[o+4>>2],u=0|f_(0|m,0,0|N,0),f=0|w(),N=0|f_(0|L,0,0|N,0),M=0|w(),m=0|f_(0|m,0,0|G,0),h=0|w(),G=0|f_(0|L,0,0|G,0),L=0|w(),m=0|Or(0|N,0,0|m,0),N=0|w(),L=0|Or(0|M,0,0|G,0|L),h=0|Or(0|L,0|w(),0|h,0),N=0|Or(0|h,0|w(),0|N,0),h=0|w(),f=0|Or(0,0|m,0|u,0|f),m=0|Or(0|N,0|h,1&((u=0|w())>>>0<m>>>0|(0|u)==(0|m)&f>>>0<0),0),h=0|w(),f=0|g(a=A>>>0<h>>>0|(0|A)==(0|h)&i>>>0<m>>>0?-1:A>>>0>h>>>0|(0|A)==(0|h)&i>>>0>m>>>0?1:d>>>0<u>>>0|(0|d)==(0|u)&a>>>0<f>>>0?-1:1&(d>>>0>u>>>0|(0|d)==(0|u)&a>>>0>f>>>0),y)):f=0}else f=a}while(0);do{if(!O){if((0|f)>-1){if((0|_[o+16>>2])<0&(0|_[o+8>>2]?0:!(0|_[o+8+4>>2]))){A=j;break}T=139;break}if((0|_[o+24+16>>2])<0&(0|_[o+24+8>>2]?0:!(0|_[o+24+8+4>>2]))){A=j;break}T=139;break}T=139}while(0);if(139==(0|T)&&(T=0,d=0|rt(t,C,v),S?_[S+4>>2]=d:p=d,_[d>>2]=S,a=0|_[d+8>>2],j?_[j>>2]=a:c=a,_[a+4>>2]=j,S=d,A=a),_[o+116>>2]=W,_[o+112>>2]=k,f?a=k:(li(t,R,b,o+116|0,o+112|0),a=0|_[o+112>>2]),(0|f)>-1&!!(0|a)){if((i=!!(0|I))&&(0|(P=0|_[I>>2]))!=(0|k)){a=P;do{d=a,a=0|_[a>>2],l=0|_[d+8>>2],(0|a)==(0|d)?s=0:(_[a+4>>2]=_[d+4>>2],_[_[d+4>>2]>>2]=a,s=a),_[8+(0|_[l+12>>2])>>2]=s,(0|(s=0|_[l>>2]))==(0|l)?(_[8+(0|_[d+12>>2])>>2]=0,s=l+4|0):(_[s+4>>2]=_[l+4>>2],_[_[l+4>>2]>>2]=s,_[8+(0|_[d+12>>2])>>2]=s,s=l+4|0),_[d+4>>2]=0,_[d+4+4>>2]=0,_[d+4+8>>2]=0,_[d+4+12>>2]=0,_[d>>2]=_[t+56>>2],_[t+56>>2]=d,_[s>>2]=0,_[s+4>>2]=0,_[s+8>>2]=0,_[s+12>>2]=0,_[l>>2]=_[t+56>>2],_[t+56>>2]=l,_[t+116>>2]=(0|_[t+116>>2])-1}while((0|a)!=(0|k))}do{if(A){if(i){_[I>>2]=c,_[c+4>>2]=I,_[A>>2]=k,_[k+4>>2]=A,s=B,c=0;break}s=0|_[k+4>>2],_[s>>2]=c,_[c+4>>2]=s,_[A>>2]=k,_[k+4>>2]=A,s=c,c=0;break}s=i?B:k}while(0);N=b,b=0|_[o+112>>2],y=0|_[b+8>>2],m=s,I=0,b=0|_[b+12>>2],a=0|_[N+88>>2],l=0|_[N+96>>2],s=0|_[N+92>>2]}else y=I,m=B,I=A,a=D;if((0|f)<1&!!(0|_[o+116>>2])){if((i=!!(0|F))&&(0|(V=0|_[F+4>>2]))!=(0|W)){a=V;do{d=a,a=0|_[(l=a+4|0)>>2],s=0|_[d>>2],A=0|_[d+8>>2],(0|s)==(0|d)?s=0:(_[s+4>>2]=a,_[_[l>>2]>>2]=s),_[8+(0|_[A+12>>2])>>2]=s,(0|(s=0|_[A>>2]))==(0|A)?(_[8+(0|_[d+12>>2])>>2]=0,s=A+4|0):(_[s+4>>2]=_[A+4>>2],_[_[A+4>>2]>>2]=s,_[8+(0|_[d+12>>2])>>2]=s,s=A+4|0),_[l>>2]=0,_[l+4>>2]=0,_[l+8>>2]=0,_[l+12>>2]=0,_[d>>2]=_[t+56>>2],_[t+56>>2]=d,_[s>>2]=0,_[s+4>>2]=0,_[s+8>>2]=0,_[s+12>>2]=0,_[A>>2]=_[t+56>>2],_[t+56>>2]=A,_[t+116>>2]=(0|_[t+116>>2])-1}while((0|a)!=(0|W))}do{if(S){if(i){_[p>>2]=F,_[F+4>>2]=p,_[W>>2]=S,_[S+4>>2]=W,s=n,p=0;break}s=0|_[W>>2],_[p>>2]=s,_[s+4>>2]=p,_[W>>2]=S,_[S+4>>2]=W,s=p,p=0;break}s=i?n:W}while(0);N=R,R=0|_[o+116>>2],h=0|_[R+8>>2],u=s,S=0,k=0|_[N+88>>2],R=0|_[R+12>>2],j=0|_[N+96>>2],s=0|_[N+92>>2]}else h=F,u=n,k=a,j=l;if((0|r)==(0|R)&(0|e)==(0|b)){if(h){if((0|(a=0|_[(f=h+4|0)>>2]))!=(0|u))do{i=a,a=0|_[(l=a+4|0)>>2],d=0|_[i>>2],A=0|_[i+8>>2],(0|d)==(0|i)?d=0:(_[d+4>>2]=a,_[_[l>>2]>>2]=d),_[8+(0|_[A+12>>2])>>2]=d,(0|(d=0|_[A>>2]))==(0|A)?(_[8+(0|_[i+12>>2])>>2]=0,d=A+4|0):(_[d+4>>2]=_[A+4>>2],_[_[A+4>>2]>>2]=d,_[8+(0|_[i+12>>2])>>2]=d,d=A+4|0),_[l>>2]=0,_[l+4>>2]=0,_[l+8>>2]=0,_[l+12>>2]=0,_[i>>2]=_[t+56>>2],_[t+56>>2]=i,_[d>>2]=0,_[d+4>>2]=0,_[d+8>>2]=0,_[d+12>>2]=0,_[A>>2]=_[t+56>>2],_[t+56>>2]=A,_[t+116>>2]=(0|_[t+116>>2])-1}while((0|a)!=(0|u));0|S&&(_[p>>2]=h,_[f>>2]=p,_[u>>2]=S,_[S+4>>2]=u)}else _[p>>2]=S,_[S+4>>2]=p,_[R+8>>2]=S;if(!y){_[I>>2]=c,_[c+4>>2]=I,_[e+8>>2]=I,v=0,C=O,y=0,A=S,f=I,i=b,a=k,d=R,l=j;break}if((0|(a=0|_[y>>2]))!=(0|m))do{i=a,a=0|_[a>>2],l=0|_[i+8>>2],(0|a)==(0|i)?d=0:(_[a+4>>2]=_[i+4>>2],_[_[i+4>>2]>>2]=a,d=a),_[8+(0|_[l+12>>2])>>2]=d,(0|(d=0|_[l>>2]))==(0|l)?(_[8+(0|_[i+12>>2])>>2]=0,d=l+4|0):(_[d+4>>2]=_[l+4>>2],_[_[l+4>>2]>>2]=d,_[8+(0|_[i+12>>2])>>2]=d,d=l+4|0),_[i+4>>2]=0,_[i+4+4>>2]=0,_[i+4+8>>2]=0,_[i+4+12>>2]=0,_[i>>2]=_[t+56>>2],_[t+56>>2]=i,_[d>>2]=0,_[d+4>>2]=0,_[d+8>>2]=0,_[d+12>>2]=0,_[l>>2]=_[t+56>>2],_[t+56>>2]=l,_[t+116>>2]=(0|_[t+116>>2])-1}while((0|a)!=(0|m));I?(_[y>>2]=c,_[c+4>>2]=y,_[I>>2]=m,_[m+4>>2]=I,v=0,C=O,A=S,f=I,i=b,a=k,d=R,l=j):(v=0,C=O,A=S,f=0,i=b,a=k,d=R,l=j)}else v=1,C=0,A=S,f=I,i=b,a=k,d=R,l=j}else h=0|rt(t,C,v),_[h>>2]=h,_[h+4>>2]=h,_[C+8>>2]=h,C=0|_[h+8>>2],_[C>>2]=C,_[C+4>>2]=C,_[v+8>>2]=C,v=0,C=O,h=F,y=I,u=n,A=S,m=B,f=j,i=b,a=D,d=R}while(0);if(!v)break e;F=h,n=u,S=A,O=C,I=y,B=m,j=f,b=i,D=a,R=d,v=i,C=d}}}while(0);return void(Q=o)}}while(0);_[r+8>>2]=0,_[r>>2]=r,_[r+4>>2]=r,_[n>>2]=r,_[n+4>>2]=r,_[n+8>>2]=r,_[n+12>>2]=r,Q=o}var Bb=[Sb,function(t){var e,i,n,o=0;return e=Q,Q=Q+32|0,rd[127&_[12+(0|_[(t|=0)>>2])>>2]](t,e+8|0,e),n=+p[e+8>>2],i=+p[e+8+4>>2],o=+p[e+8+8>>2],o=+l(+(n*n+i*i+o*o)),Q=e,+(+p[e>>2]+o)},ga,Us,ca,la,function(t){return+ +p[28+(t|=0)>>2]*+p[t+12>>2]},Vo,function(t){var e,i;return i=+p[32+(t|=0)>>2],Bb[15&_[48+(0|_[t>>2])>>2]](t),e=+Bb[15&_[48+(0|_[t>>2])>>2]](t),Bb[15&_[48+(0|_[t>>2])>>2]](t),+(i+e)},Vo,Sb,Sb,Sb,Sb,Sb,Sb],Wb=[function(t,e){return e=+e,v(1),0},function(t,e){return e=+e,+ +Bb[15&_[16+(0|_[(t|=0)>>2])>>2]](t)*e}],Fb=[Yp,ln,ln,Yp],Ob=[xa,function(t,e,i){e|=0,i|=0;var n,o=0,r=0;return n=Q,Q=Q+16|0,_[4+(t|=0)>>2]=_[e+24>>2],o=0|_[e>>2],_[t+8>>2]=o,i?(_[t+52>>2]=_[e+8>>2],_[t+52+4>>2]=_[e+8+4>>2],_[t+52+8>>2]=_[e+8+8>>2],_[t+52+12>>2]=_[e+8+12>>2],Io(t+68|0,i=t+20|0,o=t+36|0,r=+p[e+24>>2]),r=+p[e+24>>2],Q=n,+r):(Fn(n,i=0|vb(0|pb(o)),+p[e+8>>2],+p[e+12>>2],+p[e+16>>2]),_[t+52>>2]=_[n>>2],_[t+52+4>>2]=_[n+4>>2],_[t+52+8>>2]=_[n+8>>2],_[t+52+12>>2]=_[n+12>>2],Io(i=t+68|0,o=t+20|0,t+36|0,r=+p[e+24>>2]),r=+p[e+24>>2],Q=n,+r)},function(t,e,i){e|=0,i|=0;var n,o=0;return n=Q,Q=Q+16|0,_[4+(t|=0)>>2]=_[e+40>>2],o=0|_[e>>2],_[t+76>>2]=o,i?(_[t+44>>2]=_[e+8>>2],_[t+44+4>>2]=_[e+8+4>>2],_[t+44+8>>2]=_[e+8+8>>2],_[t+44+12>>2]=_[e+8+12>>2]):(Fn(n,o=0|vb(0|pb(o)),+p[e+8>>2],+p[e+12>>2],+p[e+16>>2]),_[t+44>>2]=_[n>>2],_[t+44+4>>2]=_[n+4>>2],_[t+44+8>>2]=_[n+8>>2],_[t+44+12>>2]=_[n+12>>2]),_[t+60>>2]=_[e+24>>2],_[t+60+4>>2]=_[e+24+4>>2],_[t+60+8>>2]=_[e+24+8>>2],_[t+60+12>>2]=_[e+24+12>>2],Q=n,+ +p[e+40>>2]},function(t,e,i){t|=0,i|=0;var n,o=0,r=0,s=0,c=0,a=0;return(0|(n=0|_[(e|=0)>>2]))==(0|_[t+80>>2])||4&_[n+204>>2]||(+p[t+28>>2]-+p[t+12>>2])*+p[e+8>>2]+(+p[t+32>>2]-+p[t+16>>2])*+p[e+12>>2]+(+p[t+36>>2]-+p[t+20>>2])*+p[e+16>>2]>=-+p[t+84>>2]?+(o=1):(_[t+4>>2]=_[e+40>>2],_[t+76>>2]=n,i?(_[t+44>>2]=_[e+8>>2],_[t+44+4>>2]=_[e+8+4>>2],_[t+44+8>>2]=_[e+8+8>>2],_[t+44+12>>2]=_[e+8+12>>2]):(a=+p[e+8>>2],c=+p[e+12>>2],s=+p[e+16>>2],r=a*+p[n+20>>2]+c*+p[n+24>>2]+s*+p[n+28>>2],o=a*+p[n+36>>2]+c*+p[n+40>>2]+s*+p[n+44>>2],p[t+44>>2]=+p[n+4>>2]*a+ +p[n+8>>2]*c+ +p[n+12>>2]*s,p[t+48>>2]=r,p[t+52>>2]=o,p[t+56>>2]=0),_[t+60>>2]=_[e+24>>2],_[t+60+4>>2]=_[e+24+4>>2],_[t+60+8>>2]=_[e+24+8>>2],_[t+60+12>>2]=_[e+24+12>>2],+(a=+p[e+40>>2]))},function(t,e,i){return 0},function(t,e,i){t|=0,e|=0,i|=0;var n=0;t:do{if(i>>>0>=3)if((i+-3|0)>>>0<3)switch(0|e){case 2:n=+p[t+868+(i+-3<<6)+32>>2];break t;case 4:n=+p[t+868+(i+-3<<6)+36>>2];break t;case 3:n=+p[t+868+(i+-3<<6)+28>>2];break t;default:n=0;break t}else n=0;else switch(0|e){case 2:n=+p[t+756+(i<<2)>>2];break t;case 4:n=+p[t+772+(i<<2)>>2];break t;case 3:n=+p[t+740+(i<<2)>>2];break t;default:n=0;break t}}while(0);return+n},function(t,e,i){t|=0,e|=0,i|=0;var n=0;t:do{if(-1==(0|i))switch(0|e){case 2:case 1:n=+p[t+336>>2];break t;case 4:case 3:n=+p[t+340>>2];break t;default:n=34028234663852886e22;break t}else n=34028234663852886e22}while(0);return+n},function(t,e,i){t|=0,e|=0,i|=0;var n=0;t:do{switch(0|e){case 2:if((0|i)<1){n=+p[t+232>>2];break t}if((0|i)<3){n=+p[t+264>>2];break t}if(3==(0|i)){n=+p[t+248>>2];break t}n=(0|i)<6?+p[t+280>>2]:34028234663852886e22;break;case 3:if((0|i)<1){n=+p[t+212>>2];break t}n=3==(0|i)?+p[t+228>>2]:34028234663852886e22;break;case 4:if((0|i)<1){n=+p[t+244>>2];break t}if((0|i)<3){n=+p[t+276>>2];break t}if(3==(0|i)){n=+p[t+260>>2];break t}n=(0|i)<6?+p[t+292>>2]:34028234663852886e22;break;default:n=34028234663852886e22}}while(0);return+n},function(t,e,i){t|=0,e|=0,i|=0;var n=0;t:do{switch(0|e){case 2:case 1:if(i>>>0<3){n=+p[t+600>>2];break t}n=(i+-3|0)>>>0<3?+p[t+432>>2]:0;break;case 4:case 3:if(i>>>0<3){n=+p[t+596>>2];break t}n=(i+-3|0)>>>0<3?+p[t+604>>2]:0;break;default:n=0}}while(0);return+n},function(t,e,i){t|=0,e|=0,i|=0;var n=0;t:do{switch(0|i){case 5:case-1:switch(0|e){case 2:n=+p[t+760>>2];break t;case 4:n=+p[t+756>>2];break t;case 3:n=+p[t+752>>2];break t;default:n=0;break t}default:n=0}}while(0);return+n},function(t,e,i){t|=0,i|=0;var n,o=0,r=0,s=0,c=0,a=0;return(0|(n=0|_[(e|=0)>>2]))==(0|_[t+80>>2])||4&_[n+204>>2]?+(s=1):(i?(o=+p[e+8>>2],r=+p[e+12>>2],s=+p[e+16>>2]):(a=+p[e+8>>2],c=+p[e+12>>2],s=+p[e+16>>2],o=+p[n+4>>2]*a+ +p[n+8>>2]*c+ +p[n+12>>2]*s,r=a*+p[n+20>>2]+c*+p[n+24>>2]+s*+p[n+28>>2],s=a*+p[n+36>>2]+c*+p[n+40>>2]+s*+p[n+44>>2]),o*+p[t+84>>2]+r*+p[t+88>>2]+s*+p[t+92>>2]<+p[t+100>>2]?+(a=1):(_[t+4>>2]=_[e+40>>2],_[t+76>>2]=n,i?(_[t+44>>2]=_[e+8>>2],_[t+44+4>>2]=_[e+8+4>>2],_[t+44+8>>2]=_[e+8+8>>2],_[t+44+12>>2]=_[e+8+12>>2]):(o=+p[e+8>>2],r=+p[e+12>>2],s=+p[e+16>>2],c=o*+p[n+20>>2]+r*+p[n+24>>2]+s*+p[n+28>>2],a=o*+p[n+36>>2]+r*+p[n+40>>2]+s*+p[n+44>>2],p[t+44>>2]=+p[n+4>>2]*o+ +p[n+8>>2]*r+ +p[n+12>>2]*s,p[t+48>>2]=c,p[t+52>>2]=a,p[t+56>>2]=0),_[t+60>>2]=_[e+24>>2],_[t+60+4>>2]=_[e+24+4>>2],_[t+60+8>>2]=_[e+24+8>>2],_[t+60+12>>2]=_[e+24+12>>2],+(a=+p[e+40>>2])))},function(t,e,i){var n,o,r;return t|=0,e|=0,i|=0,n=Q,Q=Q+16|0,_[n>>2]=-1,_[n+4>>2]=_[t+24>>2],0|_[e+4>>2]||(_[e+4>>2]=n),r=0|_[t+20>>2],o=+Ob[15&_[12+(0|_[r>>2])>>2]](r,e,i),_[t+4>>2]=_[4+(0|_[t+20>>2])>>2],Q=n,+o},function(t,e,i){var n,o,r;return t|=0,e|=0,i|=0,n=Q,Q=Q+16|0,_[n>>2]=-1,_[n+4>>2]=_[t+16>>2],0|_[e+4>>2]||(_[e+4>>2]=n),r=0|_[t+12>>2],o=+Ob[15&_[12+(0|_[r>>2])>>2]](r,e,i),_[t+4>>2]=_[4+(0|_[t+12>>2])>>2],Q=n,+o},function(t,e,i){switch(e|=0,i|=0,0|_[96+(t|=0)>>2]){case 0:return i=(0|_[t+92>>2])+((0|g(0|_[t+64>>2],i))+e<<2)|0,+ +p[i>>2];case 5:return i=(0|_[t+92>>2])+((0|g(0|_[t+64>>2],i))+e)|0,+ +p[t+88>>2]*+(0|r[0|i]);case 3:return i=(0|_[t+92>>2])+((0|g(0|_[t+64>>2],i))+e<<1)|0,+ +p[t+88>>2]*+(0|o[i>>1]);default:return 0}return 0},xa,xa],xb=[_p,function(t,e,i,n,o,r){var s;return t|=0,e|=0,i|=0,n=+n,o|=0,r|=0,s=Q,Q=Q+64|0,_[s+48>>2]=o,_[s+48+4>>2]=r,o=0|_[t+212>>2],+p[o+4>>2]>=n?(_[s>>2]=_[t+216>>2],_[s+4>>2]=s+48,_[s+8>>2]=_[e>>2],_[s+8+4>>2]=_[e+4>>2],_[s+8+8>>2]=_[e+8>>2],_[s+8+12>>2]=_[e+12>>2],_[s+24>>2]=_[i>>2],_[s+24+4>>2]=_[i+4>>2],_[s+24+8>>2]=_[i+8>>2],_[s+24+12>>2]=_[i+12>>2],p[s+40>>2]=n,n=+Ob[15&_[12+(0|_[o>>2])>>2]](o,s,1),Q=s,+n):(Q=s,+n)},function(t,e,i,n,o,r){var s;return t|=0,e|=0,i|=0,n=+n,o|=0,r|=0,s=Q,Q=Q+64|0,_[s+48>>2]=o,_[s+48+4>>2]=r,o=0|_[t+212>>2],+p[o+4>>2]>=n?(_[s>>2]=_[t+216>>2],_[s+4>>2]=s+48,_[s+8>>2]=_[e>>2],_[s+8+4>>2]=_[e+4>>2],_[s+8+8>>2]=_[e+8>>2],_[s+8+12>>2]=_[e+12>>2],_[s+24>>2]=_[i>>2],_[s+24+4>>2]=_[i+4>>2],_[s+24+8>>2]=_[i+8>>2],_[s+24+12>>2]=_[i+12>>2],p[s+40>>2]=n,n=+Ob[15&_[12+(0|_[o>>2])>>2]](o,s,0),Q=s,+n):(Q=s,+n)},_p],Tb=[function(t,e,i,n){return v(5),0},function(t,e,i,o){e|=0,i|=0,o|=0;var r,s=0,c=0,a=0,b=0,l=0,A=0,f=0,u=0,m=0,h=0,y=0;if(r=Q,Q=Q+80|0,c=0|_[28+(t|=0)>>2],!!(4&(e=0|_[o+64>>2]))&(0|c)>0)if(i=0|_[t+36>>2],s=0|_[t+76>>2],16&e){e=0;do{b=0|_[i+(152*e|0)+132>>2],_[b+120>>2]=_[i+(152*e|0)+100>>2],a=0|_[i+(152*e|0)+140>>2],_[b+124>>2]=_[s+(152*a|0)+100>>2],_[b+128>>2]=_[s+(152*(a+1|0)|0)+100>>2],e=e+1|0}while((0|e)!=(0|c))}else{e=0;do{b=0|_[i+(152*e|0)+132>>2],_[b+120>>2]=_[i+(152*e|0)+100>>2],_[b+124>>2]=_[s+(152*(0|_[i+(152*e|0)+140>>2])|0)+100>>2],e=e+1|0}while((0|e)!=(0|c))}if((0|(s=0|_[t+48>>2]))>0){e=0;do{c=0|_[t+56>>2],a=0|_[c+(152*e|0)+132>>2],i=c+(152*e|0)+100|0,0|(b=0|_[a+44>>2])&&(f=+p[i>>2],h=0|_[a+28>>2],A=1/+p[o+12>>2],l=f*+p[c+(152*e|0)+20>>2]*+p[h+352>>2]*A,u=f*+p[c+(152*e|0)+24>>2]*+p[h+356>>2]*A,p[b>>2]=+p[b>>2]+ +p[c+(152*e|0)+16>>2]*f*+p[h+348>>2]*A,p[b+4>>2]=l+ +p[b+4>>2],p[b+8>>2]=u+ +p[b+8>>2],u=+p[i>>2],m=0|_[a+32>>2],l=1/+p[o+12>>2],A=u*+p[c+(152*e|0)+52>>2]*+p[m+352>>2]*l,f=u*+p[c+(152*e|0)+56>>2]*+p[m+356>>2]*l,p[b+32>>2]=+p[b+32>>2]+ +p[c+(152*e|0)+48>>2]*u*+p[m+348>>2]*l,p[b+36>>2]=A+ +p[b+36>>2],p[b+40>>2]=f+ +p[b+40>>2],f=+p[i>>2],A=1/+p[o+12>>2],l=+p[c+(152*e|0)+4>>2]*+p[h+548>>2]*f*A,u=f*(+p[c+(152*e|0)+8>>2]*+p[h+552>>2])*A,p[b+16>>2]=+p[b+16>>2]+ +p[c+(152*e|0)>>2]*+p[h+544>>2]*f*A,p[b+20>>2]=l+ +p[b+20>>2],p[b+24>>2]=u+ +p[b+24>>2],u=+p[i>>2],l=1/+p[o+12>>2],A=+p[c+(152*e|0)+36>>2]*+p[m+548>>2]*u*l,f=u*(+p[c+(152*e|0)+40>>2]*+p[m+552>>2])*l,p[b+48>>2]=+p[b+48>>2]+ +p[c+(152*e|0)+32>>2]*+p[m+544>>2]*u*l,p[b+52>>2]=A+ +p[b+52>>2],p[b+56>>2]=f+ +p[b+56>>2]),u=+p[i>>2],p[a+36>>2]=u,(u=+d(+u))>=+p[a+16>>2]&&(n[a+20|0]=0),e=e+1|0}while((0|e)!=(0|s))}if((0|(e=0|_[t+8>>2]))>0){a=0,i=0|_[t+16>>2];do{s=i+(244*a|0)|0,(c=0|_[i+(244*a|0)+240>>2])&&(0|_[o+44>>2]?(l=+p[o+12>>2],A=+p[o+52>>2],p[(e=i+(244*a|0)+176|0)>>2]=+p[i+(244*a|0)+64>>2]+ +p[e>>2],p[(e=i+(244*a|0)+180|0)>>2]=+p[i+(244*a|0)+68>>2]+ +p[e>>2],p[(e=i+(244*a|0)+184|0)>>2]=+p[i+(244*a|0)+72>>2]+ +p[e>>2],p[(e=i+(244*a|0)+192|0)>>2]=+p[i+(244*a|0)+80>>2]+ +p[e>>2],p[(e=i+(244*a|0)+196|0)>>2]=+p[i+(244*a|0)+84>>2]+ +p[e>>2],p[(e=i+(244*a|0)+200|0)>>2]=+p[i+(244*a|0)+88>>2]+ +p[e>>2],e=i+(244*a|0)+148|0,0==(f=+p[i+(244*a|0)+144>>2])&&0==+p[e>>2]&&0==+p[i+(244*a|0)+152>>2]&&0==+p[i+(244*a|0)+160>>2]&&0==+p[i+(244*a|0)+164>>2]&&0==+p[i+(244*a|0)+168>>2]?e=c:(y=+p[i+(244*a|0)+164>>2]*A,u=+p[i+(244*a|0)+168>>2]*A,p[r>>2]=+p[i+(244*a|0)+160>>2]*A,p[r+4>>2]=y,p[r+8>>2]=u,p[r+12>>2]=0,Bt(s,f,+p[e>>2],+p[i+(244*a|0)+152>>2],r,l,r+16|0),_[s>>2]=_[r+16>>2],_[s+4>>2]=_[r+16+4>>2],_[s+8>>2]=_[r+16+8>>2],_[s+12>>2]=_[r+16+12>>2],_[(e=i+(244*a|0)+16|0)>>2]=_[r+16+16>>2],_[e+4>>2]=_[r+16+16+4>>2],_[e+8>>2]=_[r+16+16+8>>2],_[e+12>>2]=_[r+16+16+12>>2],_[(e=i+(244*a|0)+32|0)>>2]=_[r+16+32>>2],_[e+4>>2]=_[r+16+32+4>>2],_[e+8>>2]=_[r+16+32+8>>2],_[e+12>>2]=_[r+16+32+12>>2],_[(e=i+(244*a|0)+48|0)>>2]=_[r+16+48>>2],_[e+4>>2]=_[r+16+48+4>>2],_[e+8>>2]=_[r+16+48+8>>2],_[e+12>>2]=_[r+16+48+12>>2],i=e=0|_[t+16>>2],e=0|_[e+(244*a|0)+240>>2]),s=i,A=+p[i+(244*a|0)+176>>2],f=+p[i+(244*a|0)+180>>2],l=+p[i+(244*a|0)+184>>2]):(s=i+(244*a|0)+176|0,A=+p[i+(244*a|0)+64>>2]+ +p[s>>2],p[s>>2]=A,s=i+(244*a|0)+180|0,f=+p[i+(244*a|0)+68>>2]+ +p[s>>2],p[s>>2]=f,s=i+(244*a|0)+184|0,l=+p[i+(244*a|0)+72>>2]+ +p[s>>2],p[s>>2]=l,p[(s=i+(244*a|0)+192|0)>>2]=+p[i+(244*a|0)+80>>2]+ +p[s>>2],p[(s=i+(244*a|0)+196|0)>>2]=+p[i+(244*a|0)+84>>2]+ +p[s>>2],p[(s=i+(244*a|0)+200|0)>>2]=+p[i+(244*a|0)+88>>2]+ +p[s>>2],s=i,e=c),y=A+ +p[s+(244*a|0)+208>>2],u=f+ +p[s+(244*a|0)+212>>2],f=l+ +p[s+(244*a|0)+216>>2],_[(m=e+260|0)>>2]=1+(0|_[m>>2]),p[e+312>>2]=y,p[e+316>>2]=u,p[e+320>>2]=f,p[e+324>>2]=0,m=0|_[t+16>>2],h=0|_[m+(244*a|0)+240>>2],f=+p[m+(244*a|0)+192>>2]+ +p[m+(244*a|0)+224>>2],u=+p[m+(244*a|0)+196>>2]+ +p[m+(244*a|0)+228>>2],y=+p[m+(244*a|0)+200>>2]+ +p[m+(244*a|0)+232>>2],_[h+260>>2]=1+(0|_[h+260>>2]),p[h+328>>2]=f,p[h+332>>2]=u,p[h+336>>2]=y,p[h+340>>2]=0,0|_[o+44>>2]&&(m=0|_[t+16>>2],h=0|_[m+(244*a|0)+240>>2],b=m+(244*a|0)|0,_[h+260>>2]=1+(0|_[h+260>>2]),_[h+4>>2]=_[b>>2],_[h+4+4>>2]=_[b+4>>2],_[h+4+8>>2]=_[b+8>>2],_[h+4+12>>2]=_[b+12>>2],b=m+(244*a|0)+16|0,_[h+20>>2]=_[b>>2],_[h+20+4>>2]=_[b+4>>2],_[h+20+8>>2]=_[b+8>>2],_[h+20+12>>2]=_[b+12>>2],b=m+(244*a|0)+32|0,_[h+36>>2]=_[b>>2],_[h+36+4>>2]=_[b+4>>2],_[h+36+8>>2]=_[b+8>>2],_[h+36+12>>2]=_[b+12>>2],m=m+(244*a|0)+48|0,_[h+52>>2]=_[m>>2],_[h+52+4>>2]=_[m+4>>2],_[h+52+8>>2]=_[m+8>>2],_[h+52+12>>2]=_[m+12>>2]),i=0|_[t+16>>2],_[212+(0|_[i+(244*a|0)+240>>2])>>2]=-1,e=0|_[t+8>>2]),a=a+1|0}while((0|a)<(0|e))}return(0|_[t+28>>2])<0&&(0|_[t+32>>2])<0&&(0|(e=0|_[t+36>>2])&&(0|n[t+40|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+36>>2]=0),n[t+40|0]=1,_[t+36>>2]=0,_[t+32>>2]=0),_[t+28>>2]=0,(0|_[t+48>>2])<0&&(0|_[t+52>>2])<0&&(0|(e=0|_[t+56>>2])&&(0|n[t+60|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+56>>2]=0),n[t+60|0]=1,_[t+56>>2]=0,_[t+52>>2]=0),_[t+48>>2]=0,(0|_[t+68>>2])<0&&(0|_[t+72>>2])<0&&(0|(e=0|_[t+76>>2])&&(0|n[t+80|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+76>>2]=0),n[t+80|0]=1,_[t+76>>2]=0,_[t+72>>2]=0),_[t+68>>2]=0,(0|_[t+88>>2])<0&&(0|_[t+92>>2])<0&&(0|(e=0|_[t+96>>2])&&(0|n[t+100|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+96>>2]=0),n[t+100|0]=1,_[t+96>>2]=0,_[t+92>>2]=0),_[t+88>>2]=0,(0|_[t+8>>2])>=0||(0|_[t+12>>2])>=0?(_[t+8>>2]=0,Q=r,0):(0|(e=0|_[t+16>>2])&&(0|n[t+20|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+16>>2]=0),n[t+20|0]=1,_[t+16>>2]=0,_[t+12>>2]=0,_[t+8>>2]=0,Q=r,0)}],Pb=[Op,cr,function(t,e,i,o,r){e|=0,i|=0,o|=0,r|=0;var s,c,a,b,d,l,A,f,u,m,h,y,g,C,v,S,w,k,R,j,D,I,B,W,F,O,x=0,T=0,P=0,V=0,M=0,G=0,L=0,N=0,E=0,H=0,Z=0,U=0,Y=0,J=0,X=0,z=0;return O=Q,Q=Q+240|0,r=(o=!!(0|n[8+(t|=0)|0]))?i:e,o=o?e:i,(Z=+p[r+116>>2]-+p[r+52>>2])*Z+(U=+p[r+120>>2]-+p[r+56>>2])*U+(Y=+p[r+124>>2]-+p[r+60>>2])*Y<(J=+p[r+252>>2])*J?(Q=O,+(X=1)):(v=+p[o+4>>2],S=+p[o+20>>2],w=+p[o+36>>2],k=+p[o+8>>2],R=+p[o+24>>2],j=+p[o+40>>2],D=+p[o+12>>2],I=+p[o+28>>2],B=+p[o+44>>2],T=-+p[o+52>>2],P=-+p[o+56>>2],V=-+p[o+60>>2],W=+p[r+4>>2],F=+p[r+20>>2],Z=+p[r+36>>2],U=+p[r+8>>2],Y=+p[r+24>>2],J=+p[r+40>>2],s=+p[r+12>>2],c=+p[r+28>>2],a=+p[r+44>>2],b=v*T+S*P+w*V+(v*(E=+p[r+52>>2])+S*(N=+p[r+56>>2])+w*(L=+p[r+60>>2])),d=k*T+R*P+j*V+(k*E+R*N+j*L),L=D*T+I*P+B*V+(D*E+I*N+B*L),N=+p[r+68>>2],E=+p[r+84>>2],l=+p[r+100>>2],A=+p[r+72>>2],f=+p[r+88>>2],u=+p[r+104>>2],m=+p[r+76>>2],h=+p[r+92>>2],y=+p[r+108>>2],g=v*T+S*P+w*V+(v*(M=+p[r+116>>2])+S*(G=+p[r+120>>2])+w*(H=+p[r+124>>2])),C=k*T+R*P+j*V+(k*M+R*G+j*H),H=D*T+I*P+B*V+(D*M+I*G+B*H),o=0|_[o+192>>2],((0|_[o+4>>2])-21|0)>>>0>=9?(Q=O,+(X=1)):(p[O+224>>2]=b,p[O+224+4>>2]=d,p[O+224+8>>2]=L,p[O+224+12>>2]=0,g<b?(p[O+224>>2]=g,x=g):x=b,C<d?(p[O+224+4>>2]=C,T=C):T=d,H<L?(p[O+224+8>>2]=H,P=H):P=L,p[O+208>>2]=b,p[O+208+4>>2]=d,p[O+208+8>>2]=L,p[O+208+12>>2]=0,b<g?(p[O+208>>2]=g,V=g):V=b,d<C?(p[O+208+4>>2]=C,M=C):M=d,L<H?(p[O+208+8>>2]=H,G=H):G=L,z=+p[r+248>>2],p[O+224>>2]=x-z,p[O+224+4>>2]=T-z,p[O+224+8>>2]=P-z,p[O+208>>2]=z+V,p[O+208+4>>2]=z+M,p[O+208+8>>2]=z+G,_[O>>2]=4516,p[O+4>>2]=v*W+S*F+w*Z,p[O+8>>2]=v*U+S*Y+w*J,p[O+12>>2]=v*s+S*c+w*a,p[O+16>>2]=0,p[O+20>>2]=k*W+R*F+j*Z,p[O+24>>2]=k*U+R*Y+j*J,p[O+28>>2]=k*s+R*c+j*a,p[O+32>>2]=0,p[O+36>>2]=D*W+I*F+B*Z,p[O+40>>2]=D*U+I*Y+B*J,p[O+44>>2]=D*s+I*c+B*a,p[O+48>>2]=0,p[O+52>>2]=b,p[O+56>>2]=d,p[O+60>>2]=L,p[O+64>>2]=0,p[O+68>>2]=v*N+S*E+w*l,p[O+72>>2]=v*A+S*f+w*u,p[O+76>>2]=v*m+S*h+w*y,p[O+80>>2]=0,p[O+84>>2]=k*N+R*E+j*l,p[O+88>>2]=k*A+R*f+j*u,p[O+92>>2]=k*m+R*h+j*y,p[O+96>>2]=0,p[O+100>>2]=D*N+I*E+B*l,p[O+104>>2]=D*A+I*f+B*u,p[O+108>>2]=D*m+I*h+B*y,p[O+112>>2]=0,p[O+116>>2]=g,p[O+120>>2]=C,p[O+124>>2]=H,p[O+128>>2]=0,p[O+196>>2]=z,_[O+200>>2]=_[r+244>>2],0|o&&(cd[127&_[64+(0|_[o>>2])>>2]](o,O,O+224|0,O+208|0),(X=+p[O+200>>2])<+p[r+244>>2])?(p[r+244>>2]=X,Q=O,+(z=X)):(Q=O,+(z=1))))},cr,cr,function(t,e,i,o,r){e|=0,i|=0,o|=0,r|=0;var s,c,a,b,d,l,A,f,u,m,h,y,g,C,v,S,w,k,R,j,D,I,B,W,F,O,x=0,T=0,P=0,V=0,M=0,G=0,L=0,N=0,E=0,H=0,Z=0,U=0,Y=0,J=0,X=0,z=0;return O=Q,Q=Q+240|0,r=(o=!!(0|n[8+(t|=0)|0]))?i:e,o=o?e:i,(Z=+p[r+116>>2]-+p[r+52>>2])*Z+(U=+p[r+120>>2]-+p[r+56>>2])*U+(Y=+p[r+124>>2]-+p[r+60>>2])*Y<(J=+p[r+252>>2])*J?(Q=O,+(X=1)):(v=+p[o+4>>2],S=+p[o+20>>2],w=+p[o+36>>2],k=+p[o+8>>2],R=+p[o+24>>2],j=+p[o+40>>2],D=+p[o+12>>2],I=+p[o+28>>2],B=+p[o+44>>2],T=-+p[o+52>>2],P=-+p[o+56>>2],V=-+p[o+60>>2],W=+p[r+4>>2],F=+p[r+20>>2],Z=+p[r+36>>2],U=+p[r+8>>2],Y=+p[r+24>>2],J=+p[r+40>>2],s=+p[r+12>>2],c=+p[r+28>>2],a=+p[r+44>>2],b=v*T+S*P+w*V+(v*(E=+p[r+52>>2])+S*(N=+p[r+56>>2])+w*(L=+p[r+60>>2])),d=k*T+R*P+j*V+(k*E+R*N+j*L),L=D*T+I*P+B*V+(D*E+I*N+B*L),N=+p[r+68>>2],E=+p[r+84>>2],l=+p[r+100>>2],A=+p[r+72>>2],f=+p[r+88>>2],u=+p[r+104>>2],m=+p[r+76>>2],h=+p[r+92>>2],y=+p[r+108>>2],g=v*T+S*P+w*V+(v*(M=+p[r+116>>2])+S*(G=+p[r+120>>2])+w*(H=+p[r+124>>2])),C=k*T+R*P+j*V+(k*M+R*G+j*H),H=D*T+I*P+B*V+(D*M+I*G+B*H),o=0|_[o+192>>2],((0|_[o+4>>2])-21|0)>>>0>=9?(Q=O,+(X=1)):(p[O+224>>2]=b,p[O+224+4>>2]=d,p[O+224+8>>2]=L,p[O+224+12>>2]=0,g<b?(p[O+224>>2]=g,x=g):x=b,C<d?(p[O+224+4>>2]=C,T=C):T=d,H<L?(p[O+224+8>>2]=H,P=H):P=L,p[O+208>>2]=b,p[O+208+4>>2]=d,p[O+208+8>>2]=L,p[O+208+12>>2]=0,b<g?(p[O+208>>2]=g,V=g):V=b,d<C?(p[O+208+4>>2]=C,M=C):M=d,L<H?(p[O+208+8>>2]=H,G=H):G=L,z=+p[r+248>>2],p[O+224>>2]=x-z,p[O+224+4>>2]=T-z,p[O+224+8>>2]=P-z,p[O+208>>2]=z+V,p[O+208+4>>2]=z+M,p[O+208+8>>2]=z+G,_[O>>2]=6432,p[O+4>>2]=v*W+S*F+w*Z,p[O+8>>2]=v*U+S*Y+w*J,p[O+12>>2]=v*s+S*c+w*a,p[O+16>>2]=0,p[O+20>>2]=k*W+R*F+j*Z,p[O+24>>2]=k*U+R*Y+j*J,p[O+28>>2]=k*s+R*c+j*a,p[O+32>>2]=0,p[O+36>>2]=D*W+I*F+B*Z,p[O+40>>2]=D*U+I*Y+B*J,p[O+44>>2]=D*s+I*c+B*a,p[O+48>>2]=0,p[O+52>>2]=b,p[O+56>>2]=d,p[O+60>>2]=L,p[O+64>>2]=0,p[O+68>>2]=v*N+S*E+w*l,p[O+72>>2]=v*A+S*f+w*u,p[O+76>>2]=v*m+S*h+w*y,p[O+80>>2]=0,p[O+84>>2]=k*N+R*E+j*l,p[O+88>>2]=k*A+R*f+j*u,p[O+92>>2]=k*m+R*h+j*y,p[O+96>>2]=0,p[O+100>>2]=D*N+I*E+B*l,p[O+104>>2]=D*A+I*f+B*u,p[O+108>>2]=D*m+I*h+B*y,p[O+112>>2]=0,p[O+116>>2]=g,p[O+120>>2]=C,p[O+124>>2]=H,p[O+128>>2]=0,p[O+196>>2]=z,_[O+200>>2]=_[r+244>>2],0|o&&(cd[127&_[64+(0|_[o>>2])>>2]](o,O,O+224|0,O+208|0),(X=+p[O+200>>2])<+p[r+244>>2])?(p[r+244>>2]=X,Q=O,+(z=X)):(Q=O,+(z=1))))},cr,cr,function(t,e,i,o,r){t|=0,i|=0,o|=0,r|=0;var s,c,a,b,d=0,l=0,A=0;return t=Q,Q=Q+608|0,A=+p[116+(e|=0)>>2]-+p[e+52>>2],b=+p[e+120>>2]-+p[e+56>>2],a=+p[e+124>>2]-+p[e+60>>2],d=+p[i+116>>2]-+p[i+52>>2],l=+p[i+120>>2]-+p[i+56>>2],s=+p[i+124>>2]-+p[i+60>>2],A*A+b*b+a*a<(c=+p[e+252>>2])*c&&d*d+l*l+s*s<(A=+p[i+252>>2])*A?(Q=t,+(A=1)):(r=0|_[e+192>>2],o=0|_[i+248>>2],_[t+552+8>>2]=0,_[t+552+12>>2]=1065353216,_[t+552+16>>2]=1065353216,_[t+552+20>>2]=1065353216,p[t+552+24>>2]=0,_[t+552>>2]=7568,_[t+552+4>>2]=8,_[t+552+28>>2]=o,_[t+552+44>>2]=o,_[t+376>>2]=4536,p[t+376+164>>2]=0xde0b6b000000000,_[t+376+168>>2]=0,p[t+376+172>>2]=0,p[t+16+308>>2]=9999999747378752e-20,n[t+16+332|0]=0,_[t>>2]=10136,_[t+4>>2]=t+16,_[t+8>>2]=r,_[t+12>>2]=t+552,0|me(t,e+4|0,e+68|0,i+4|0,i+68|0,t+376|0)?(d=+p[t+376+164>>2],+p[e+244>>2]>d&&(p[e+244>>2]=d),+p[i+244>>2]>d&&(p[i+244>>2]=d),d<1||(d=1)):d=1,r=0|_[i+192>>2],o=0|_[e+248>>2],_[t+552+8>>2]=0,_[t+552+12>>2]=1065353216,_[t+552+16>>2]=1065353216,_[t+552+20>>2]=1065353216,p[t+552+24>>2]=0,_[t+552>>2]=7568,_[t+552+4>>2]=8,_[t+552+28>>2]=o,_[t+552+44>>2]=o,_[t+376>>2]=4536,p[t+376+164>>2]=0xde0b6b000000000,_[t+376+168>>2]=0,p[t+376+172>>2]=0,p[t+16+308>>2]=9999999747378752e-20,n[t+16+332|0]=0,_[t>>2]=10136,_[t+4>>2]=t+16,_[t+8>>2]=t+552,_[t+12>>2]=r,0|me(t,e+4|0,e+68|0,i+4|0,i+68|0,t+376|0)&&(l=+p[t+376+164>>2],+p[e+244>>2]>l&&(p[e+244>>2]=l),+p[i+244>>2]>l&&(p[i+244>>2]=l),d>l&&(d=l)),Q=t,+(A=d))},function(t,e,i,o,r){e|=0,i|=0,o|=0,r|=0;var s,c,a,b,d,l,A,f,u,m,h,y,g,C,v,S,w,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0,O=0,x=0,T=0,P=0,V=0,M=0,G=0,L=0,N=0;if(w=(D=!!(0|n[28+(t|=0)|0]))?i:e,D=D?e:i,(0|(v=0|_[t+12>>2]))<=0)return+(R=1);S=24+(0|_[w+192>>2])|0,s=+p[w+4>>2],y=+p[w+8>>2],g=+p[w+12>>2],C=0|_[w+16>>2],R=+p[w+20>>2],c=+p[w+24>>2],a=+p[w+28>>2],i=0|_[w+32>>2],b=+p[w+36>>2],d=+p[w+40>>2],l=+p[w+44>>2],A=0|_[w+48>>2],f=+p[w+52>>2],u=+p[w+56>>2],m=+p[w+60>>2],h=0|_[w+64>>2],k=1,e=0,j=0|_[w+260>>2];do{B=0|_[S>>2],N=+p[B+(80*e|0)>>2],L=+p[B+(80*e|0)+16>>2],G=+p[B+(80*e|0)+32>>2],M=+p[B+(80*e|0)+4>>2],V=+p[B+(80*e|0)+20>>2],P=+p[B+(80*e|0)+36>>2],T=+p[B+(80*e|0)+8>>2],x=+p[B+(80*e|0)+24>>2],O=+p[B+(80*e|0)+40>>2],F=+p[B+(80*e|0)+48>>2],W=+p[B+(80*e|0)+52>>2],I=+p[B+(80*e|0)+56>>2],_[w+260>>2]=j+1,p[w+4>>2]=s*N+y*L+g*G,p[w+8>>2]=s*M+y*V+g*P,p[w+12>>2]=s*T+y*x+g*O,p[w+16>>2]=0,p[w+20>>2]=R*N+c*L+a*G,p[w+24>>2]=R*M+c*V+a*P,p[w+28>>2]=R*T+c*x+a*O,p[w+32>>2]=0,p[w+36>>2]=b*N+d*L+l*G,p[w+40>>2]=b*M+d*V+l*P,p[w+44>>2]=b*T+d*x+l*O,p[w+48>>2]=0,p[w+52>>2]=f+(s*F+y*W+g*I),p[w+56>>2]=u+(R*F+c*W+a*I),p[w+60>>2]=m+(b*F+d*W+l*I),p[w+64>>2]=0,B=0|_[(0|_[t+20>>2])+(e<<2)>>2],k=(I=+Pb[15&_[12+(0|_[B>>2])>>2]](B,w,D,o,r))<k?I:k,j=1+(0|_[w+260>>2])|0,_[w+260>>2]=j,p[w+4>>2]=s,p[w+8>>2]=y,p[w+12>>2]=g,_[w+16>>2]=C,p[w+20>>2]=R,p[w+24>>2]=c,p[w+28>>2]=a,_[w+32>>2]=i,p[w+36>>2]=b,p[w+40>>2]=d,p[w+44>>2]=l,_[w+48>>2]=A,p[w+52>>2]=f,p[w+56>>2]=u,p[w+60>>2]=m,_[w+64>>2]=h,e=e+1|0}while((0|e)!=(0|v));return+k},function(t,e,i,n,o){return 0},cr,cr,Op,Op,Op],Vb=[function(t,e,i,n,o,_,r,s){return v(7),0},function(t,e,i,n,o,_,r,s){return+ +B(6,0|(t|=0),0|(e|=0),0|(i|=0),0|(n|=0),0|(o|=0),0|(_|=0),0|(r|=0),0|(s|=0))}],Mb=[Dr,function(t,e,i,o,r,s,c,a,b){e|=0,i|=0,o|=0,r|=0,s|=0,c|=0,a|=0,b|=0;var A,f=0,u=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0,O=0,x=0,T=0,P=0,V=0,M=0,L=0,N=0,E=0,H=0,Z=0,U=0,Y=0,J=0,X=0,z=0,K=0,q=0,$=0;if(A=Q,Q=Q+256|0,_[188+(t|=0)>>2]=-1,$i(15261),_[t+184>>2]=0,(0|i)>0){b=0;do{_[212+(0|_[e+(b<<2)>>2])>>2]=-1,b=b+1|0}while((0|b)!=(0|i))}if((0|(b=0|_[t+12>>2]))>(0|i))u=t+8|0,f=b;else{if(i+1|0&&(_[6630]=1+(0|_[6630]),0|(f=0|di(16+(244*(i+1|0)|3)|0)))?(_[(f+4+15&-16)-4>>2]=f,u=f+4+15&-16):u=0,(0|(f=0|_[t+8>>2]))>0){b=0;do{K=u+(244*b|0)|0,z=(q=0|_[t+16>>2])+(244*b|0)|0,_[K>>2]=_[z>>2],_[K+4>>2]=_[z+4>>2],_[K+8>>2]=_[z+8>>2],_[K+12>>2]=_[z+12>>2],K=q+(244*b|0)+16|0,_[(z=u+(244*b|0)+16|0)>>2]=_[K>>2],_[z+4>>2]=_[K+4>>2],_[z+8>>2]=_[K+8>>2],_[z+12>>2]=_[K+12>>2],z=q+(244*b|0)+32|0,_[(K=u+(244*b|0)+32|0)>>2]=_[z>>2],_[K+4>>2]=_[z+4>>2],_[K+8>>2]=_[z+8>>2],_[K+12>>2]=_[z+12>>2],z=q+(244*b|0)+48|0,_[(K=u+(244*b|0)+48|0)>>2]=_[z>>2],_[K+4>>2]=_[z+4>>2],_[K+8>>2]=_[z+8>>2],_[K+12>>2]=_[z+12>>2],_e(u+(244*b|0)+64|0,q+(244*b|0)+64|0,180),b=b+1|0}while((0|b)!=(0|f))}0|(b=0|_[t+16>>2])&&(0|n[t+20|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[b+-4>>2])),_[t+16>>2]=0),n[t+20|0]=1,_[t+16>>2]=u,_[t+12>>2]=i+1,u=t+8|0,f=i+1|0}if(wn(0|A,0,244),(0|(b=0|_[u>>2]))<0){(0|f)<0&&(0|(f=0|_[t+16>>2])&&(0|n[t+20|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[f+-4>>2])),_[t+16>>2]=0),n[t+20|0]=1,_[t+16>>2]=0,_[t+12>>2]=0);do{q=0|_[t+16>>2],_[(K=q+(244*b|0)|0)>>2]=_[A>>2],_[K+4>>2]=_[A+4>>2],_[K+8>>2]=_[A+8>>2],_[K+12>>2]=_[A+12>>2],_[(K=q+(244*b|0)+16|0)>>2]=_[A+16>>2],_[K+4>>2]=_[A+16+4>>2],_[K+8>>2]=_[A+16+8>>2],_[K+12>>2]=_[A+16+12>>2],_[(K=q+(244*b|0)+32|0)>>2]=_[A+32>>2],_[K+4>>2]=_[A+32+4>>2],_[K+8>>2]=_[A+32+8>>2],_[K+12>>2]=_[A+32+12>>2],_[(K=q+(244*b|0)+48|0)>>2]=_[A+48>>2],_[K+4>>2]=_[A+48+4>>2],_[K+8>>2]=_[A+48+8>>2],_[K+12>>2]=_[A+48+12>>2],_e(q+(244*b|0)+64|0,A+64|0,180),b=b+1|0}while(0|b)}if(_[u>>2]=0,(0|i)>0){b=0;do{f=0|Re(t,0|_[(u=e+(b<<2)|0)>>2],+p[a+12>>2]),0|(u=0|_[u>>2])&&2&_[u+236>>2]&&0!=+p[u+344>>2]&&(h=0|_[t+16>>2],2&_[u+504>>2])&&(m=+p[a+76>>2],N=1/+p[u+396>>2],H=1/+p[u+400>>2],g=1/+p[u+404>>2],x=+p[u+4>>2],T=+p[u+8>>2],P=+p[u+12>>2],V=+p[u+20>>2],M=+p[u+24>>2],L=+p[u+28>>2],E=+p[u+36>>2],Z=+p[u+40>>2],S=+p[u+44>>2],(g=((w=+p[u+328>>2])*(j=(N*V*x+H*M*T+g*L*P)*w+(N*V*V+H*M*M+g*L*L)*(k=+p[u+332>>2])+(N*V*E+H*M*Z+g*L*S)*(v=+p[u+336>>2]))-k*(R=(N*x*x+H*T*T+g*P*P)*w+(N*x*V+H*T*M+g*P*L)*k+(N*x*E+H*T*Z+g*P*S)*v))*(w*j-k*R)+((k*(S=(N*E*x+H*Z*T+g*S*P)*w+(N*E*V+H*Z*M+g*S*L)*k+(N*E*E+H*Z*Z+g*S*S)*v)-v*j)*(k*S-v*j)+(v*R-w*S)*(v*R-w*S)))>m*m?(C=(k*S-v*j)*(m=1/+l(+g)*m),g=(v*R-w*S)*m,m*=w*j-k*R):(C=k*S-v*j,g=v*R-w*S,m=w*j-k*R),E=+p[a+12>>2],H=(C*+p[u+268>>2]+g*+p[u+284>>2]+m*+p[u+300>>2])*E,Z=E*(C*+p[u+272>>2]+g*+p[u+288>>2]+m*+p[u+304>>2]),p[h+(244*f|0)+224>>2]=+p[h+(244*f|0)+224>>2]-(C*+p[u+264>>2]+g*+p[u+280>>2]+m*+p[u+296>>2])*E,p[h+(244*f|0)+228>>2]=+p[h+(244*f|0)+228>>2]-H,p[h+(244*f|0)+232>>2]=+p[h+(244*f|0)+232>>2]-Z),b=b+1|0}while((0|b)!=(0|i))}if((0|c)>0){b=0;do{q=0|_[s+(b<<2)>>2],zb[511&_[8+(0|_[q>>2])>>2]](q),p[q+36>>2]=0,b=b+1|0}while((0|b)<(0|c))}if((0|(f=0|_[t+168>>2]))<(0|c)&&(0|_[t+172>>2])<(0|c)){if(c?(_[6630]=1+(0|_[6630]),(b=0|di(16+(c<<3|3)|0))?(_[(b+4+15&-16)-4>>2]=b,b=b+4+15&-16):b=0,f=0|_[t+168>>2]):b=0,(0|f)>0){u=0;do{z=(0|_[t+176>>2])+(u<<3)|0,K=0|_[z+4>>2],_[(q=b+(u<<3)|0)>>2]=_[z>>2],_[q+4>>2]=K,u=u+1|0}while((0|u)!=(0|f))}0|(f=0|_[t+176>>2])&&(0|n[t+180|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[f+-4>>2])),_[t+176>>2]=0),n[t+180|0]=1,_[t+176>>2]=b,_[t+172>>2]=c}if(_[t+168>>2]=c,(0|c)>0){b=0,y=0;do{if(i=(h=0|_[t+176>>2])+(y<<3)|0,f=0|_[(e=s+(y<<2)|0)>>2],u=0|_[f+44>>2]){f=u+64|0;do{_[u>>2]=0,u=u+4|0}while((0|u)<(0|f));f=0|_[e>>2]}0|n[f+20|0]?(id[127&_[16+(0|_[f>>2])>>2]](f,i),f=0|_[i>>2]):(_[i>>2]=0,_[h+(y<<3)+4>>2]=0,f=0),b=f+b|0,y=y+1|0}while((0|y)<(0|c));e=b}else e=0;if((0|(f=0|_[t+48>>2]))<(0|e)&&(0|_[t+52>>2])<(0|e)){if(e?(_[6630]=1+(0|_[6630]),(b=0|di(16+(152*e|3)|0))?(_[(b+4+15&-16)-4>>2]=b,b=b+4+15&-16):b=0,f=0|_[t+48>>2]):b=0,(0|f)>0){u=0;do{_e(b+(152*u|0)|0,(0|_[t+56>>2])+(152*u|0)|0,152),u=u+1|0}while((0|u)!=(0|f))}0|(f=0|_[t+56>>2])&&(0|n[t+60|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[f+-4>>2])),_[t+56>>2]=0),n[t+60|0]=1,_[t+56>>2]=b,_[t+52>>2]=e}if(_[t+48>>2]=e,(0|c)>0)for(K=0,q=0,b=0|_[t+176>>2];;){if(0|_[(z=b+(q<<3)|0)>>2]){if(e=(f=0|_[t+56>>2])+(152*K|0)|0,i=0|_[(h=s+(q<<2)|0)>>2],y=0|_[i+28>>2],U=0|_[i+32>>2],Y=0|Re(t,y,+p[a+12>>2]),J=0|Re(t,U,+p[a+12>>2]),X=0|_[t+16>>2],(0|(u=(0|(u=0|_[i+24>>2]))>0?u:0|_[a+20>>2]))>(0|_[t+184>>2])&&(_[t+184>>2]=u),(0|_[z>>2])>0){b=0;do{wn(e+(152*b|0)|0,0,152),p[e+(152*b|0)+120>>2]=-34028234663852886e22,p[e+(152*b|0)+124>>2]=34028234663852886e22,p[e+(152*b|0)+100>>2]=0,p[e+(152*b|0)+96>>2]=0,_[e+(152*b|0)+144>>2]=Y,_[e+(152*b|0)+148>>2]=J,_[e+(152*b|0)+136>>2]=u,b=b+1|0}while((0|b)<(0|_[z>>2]))}if(_[X+(244*Y|0)+64>>2]=0,_[X+(244*Y|0)+64+4>>2]=0,_[X+(244*Y|0)+64+8>>2]=0,_[X+(244*Y|0)+64+12>>2]=0,_[X+(244*Y|0)+64+16>>2]=0,_[X+(244*Y|0)+64+20>>2]=0,_[X+(244*Y|0)+64+24>>2]=0,_[X+(244*Y|0)+64+28>>2]=0,_[X+(244*Y|0)+144>>2]=0,_[X+(244*Y|0)+144+4>>2]=0,_[X+(244*Y|0)+144+8>>2]=0,_[X+(244*Y|0)+144+12>>2]=0,_[X+(244*Y|0)+144+16>>2]=0,_[X+(244*Y|0)+144+20>>2]=0,_[X+(244*Y|0)+144+24>>2]=0,_[X+(244*Y|0)+144+28>>2]=0,_[X+(244*J|0)+64>>2]=0,_[X+(244*J|0)+64+4>>2]=0,_[X+(244*J|0)+64+8>>2]=0,_[X+(244*J|0)+64+12>>2]=0,_[X+(244*J|0)+64+16>>2]=0,_[X+(244*J|0)+64+20>>2]=0,_[X+(244*J|0)+64+24>>2]=0,_[X+(244*J|0)+64+28>>2]=0,_[X+(244*J|0)+144>>2]=0,_[X+(244*J|0)+144+4>>2]=0,_[X+(244*J|0)+144+8>>2]=0,_[X+(244*J|0)+144+12>>2]=0,_[X+(244*J|0)+144+16>>2]=0,_[X+(244*J|0)+144+20>>2]=0,_[X+(244*J|0)+144+24>>2]=0,_[X+(244*J|0)+144+28>>2]=0,p[A>>2]=1/+p[a+12>>2],_[A+4>>2]=_[a+32>>2],_[A+8>>2]=f+(152*K|0)+16,_[A+12>>2]=e,_[A+16>>2]=f+(152*K|0)+48,_[A+20>>2]=f+(152*K|0)+32,_[A+24>>2]=38,_[A+28>>2]=f+(152*K|0)+112,_[(u=f+(152*K|0)+116|0)>>2]=_[a+40>>2],_[A+52>>2]=_[a+4>>2],_[A+32>>2]=u,_[A+36>>2]=f+(152*K|0)+120,_[A+40>>2]=f+(152*K|0)+124,_[A+48>>2]=_[a+20>>2],u=0|_[h>>2],id[127&_[20+(0|_[u>>2])>>2]](u,A),(0|_[z>>2])>0){f=0;do{b=e+(152*f|0)+124|0,m=+p[16+(0|_[h>>2])>>2],+p[b>>2]>=m&&(p[b>>2]=m),+p[(b=e+(152*f|0)+120|0)>>2]<=-m&&(p[b>>2]=-m),_[e+(152*f|0)+132>>2]=i,u=e+(152*f|0)|0,b=0|_[i+28>>2],m=+p[u>>2],g=+p[u+4>>2],C=+p[u+8>>2],S=(m*+p[b+280>>2]+g*+p[b+284>>2]+C*+p[b+288>>2])*+p[b+548>>2],v=(m*+p[b+296>>2]+g*+p[b+300>>2]+C*+p[b+304>>2])*+p[b+552>>2],p[(u=e+(152*f|0)+64|0)>>2]=(+p[b+264>>2]*m+ +p[b+268>>2]*g+ +p[b+272>>2]*C)*+p[b+544>>2],p[u+4>>2]=S,p[u+8>>2]=v,p[u+12>>2]=0,u=e+(152*f|0)+32|0,b=0|_[i+32>>2],v=+p[u>>2],S=+p[u+4>>2],w=+p[u+8>>2],k=(v*+p[b+280>>2]+S*+p[b+284>>2]+w*+p[b+288>>2])*+p[b+548>>2],Z=(v*+p[b+296>>2]+S*+p[b+300>>2]+w*+p[b+304>>2])*+p[b+552>>2],p[(u=e+(152*f|0)+80|0)>>2]=(+p[b+264>>2]*v+ +p[b+268>>2]*S+ +p[b+272>>2]*w)*+p[b+544>>2],p[u+4>>2]=k,p[u+8>>2]=Z,p[u+12>>2]=0,u=e+(152*f|0)+16|0,Z=+p[y+344>>2],k=+p[u>>2],R=+p[u+4>>2],j=+p[u+8>>2],u=e+(152*f|0)+48|0,W=+p[U+344>>2],D=+p[u>>2],I=+p[u+4>>2],B=+p[u+8>>2],W=k*(Z*k)+R*(Z*R)+j*(Z*j)+(m*(m*+p[y+264>>2]+g*+p[y+268>>2]+C*+p[y+272>>2])+g*(m*+p[y+280>>2]+g*+p[y+284>>2]+C*+p[y+288>>2])+C*(m*+p[y+296>>2]+g*+p[y+300>>2]+C*+p[y+304>>2]))+(D*(W*D)+I*(W*I)+B*(W*B))+(v*(v*+p[U+264>>2]+S*+p[U+268>>2]+w*+p[U+272>>2])+S*(v*+p[U+280>>2]+S*+p[U+284>>2]+w*+p[U+288>>2])+w*(v*+p[U+296>>2]+S*+p[U+300>>2]+w*+p[U+304>>2])),W=(u=+d(+W)>1.1920928955078125e-7)?1/W:0,p[e+(152*f|0)+108>>2]=W,0|_[X+(244*Y|0)+240>>2]?(F=+p[X+(244*Y|0)+208>>2],O=+p[X+(244*Y|0)+212>>2],x=+p[X+(244*Y|0)+216>>2],T=+p[X+(244*Y|0)+224>>2],P=+p[X+(244*Y|0)+228>>2],V=+p[X+(244*Y|0)+232>>2]):(F=0,O=0,x=0,T=0,P=0,V=0),0|_[X+(244*J|0)+240>>2]?(M=+p[X+(244*J|0)+208>>2],L=+p[X+(244*J|0)+212>>2],N=+p[X+(244*J|0)+216>>2],E=+p[X+(244*J|0)+224>>2],H=+p[X+(244*J|0)+228>>2],Z=+p[X+(244*J|0)+232>>2]):(M=0,L=0,N=0,E=0,H=0,Z=0),p[(u=e+(152*f|0)+112|0)>>2]=W*+p[u>>2]+W*(0-+p[A+52>>2]*(k*(F+ +p[y+312>>2])+R*(O+ +p[y+316>>2])+j*(x+ +p[y+320>>2])+(m*(T+ +p[y+328>>2])+g*(P+ +p[y+332>>2])+C*(V+ +p[y+336>>2]))+(D*(M+ +p[U+312>>2])+I*(L+ +p[U+316>>2])+B*(N+ +p[U+320>>2])+(v*(E+ +p[U+328>>2])+S*(H+ +p[U+332>>2])+w*(Z+ +p[U+336>>2]))))),p[e+(152*f|0)+100>>2]=0,f=f+1|0}while((0|f)<(0|_[z>>2]))}b=0|_[t+176>>2],f=0|_[b+(q<<3)>>2]}else f=0;if((0|(q=q+1|0))>=(0|c))break;K=f+K|0}if(cd[127&_[28+(0|_[t>>2])>>2]](t,o,r,a),h=0|_[t+48>>2],i=0|_[t+28>>2],y=0|_[t+68>>2],(0|(f=0|_[t+128>>2]))<(0|h)&&(0|_[t+132>>2])<(0|h)){if(h?(_[6630]=1+(0|_[6630]),(b=0|di(16+(h<<2|3)|0))?(_[(b+4+15&-16)-4>>2]=b,b=b+4+15&-16):b=0,f=0|_[t+128>>2]):b=0,e=0|_[t+136>>2],(0|f)<=0)e?$=106:f=t+140|0;else{u=0;do{_[b+(u<<2)>>2]=_[e+(u<<2)>>2],u=u+1|0}while((0|u)!=(0|f));$=106}106==(0|$)&&(0|n[t+140|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+136>>2]=0,f=t+140|0),n[0|f]=1,_[t+136>>2]=b,_[t+132>>2]=h}if(_[t+128>>2]=h,16&_[a+64>>2]){if((0|(f=0|_[t+108>>2]))<i<<1&&(0|_[t+112>>2])<i<<1){if(i?(_[6630]=1+(0|_[6630]),(b=0|di(16+(i<<3|3)|0))?(_[(b+4+15&-16)-4>>2]=b,b=b+4+15&-16):b=0,f=0|_[t+108>>2]):b=0,e=0|_[t+116>>2],(0|f)<=0)e?$=122:f=t+120|0;else{u=0;do{_[b+(u<<2)>>2]=_[e+(u<<2)>>2],u=u+1|0}while((0|u)!=(0|f));$=122}122==(0|$)&&(0|n[t+120|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+116>>2]=0,f=t+120|0),n[0|f]=1,_[t+116>>2]=b,_[t+112>>2]=i<<1}_[t+108>>2]=i<<1}else{if((0|(f=0|_[t+108>>2]))<(0|i)&&(0|_[t+112>>2])<(0|i)){if(i?(_[6630]=1+(0|_[6630]),(b=0|di(16+(i<<2|3)|0))?(_[(b+4+15&-16)-4>>2]=b,b=b+4+15&-16):b=0,f=0|_[t+108>>2]):b=0,e=0|_[t+116>>2],(0|f)<=0)e?$=138:f=t+120|0;else{u=0;do{_[b+(u<<2)>>2]=_[e+(u<<2)>>2],u=u+1|0}while((0|u)!=(0|f));$=138}138==(0|$)&&(0|n[t+120|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+116>>2]=0,f=t+120|0),n[0|f]=1,_[t+116>>2]=b,_[t+112>>2]=i}_[t+108>>2]=i}if((0|(f=0|_[t+148>>2]))<(0|y)&&(0|_[t+152>>2])<(0|y)){if(y?(_[6630]=1+(0|_[6630]),(b=0|di(16+(y<<2|3)|0))?(_[(b+4+15&-16)-4>>2]=b,b=b+4+15&-16):b=0,f=0|_[t+148>>2]):b=0,e=0|_[t+156>>2],(0|f)<=0)e?$=154:f=t+160|0;else{u=0;do{_[b+(u<<2)>>2]=_[e+(u<<2)>>2],u=u+1|0}while((0|u)!=(0|f));$=154}154==(0|$)&&(0|n[t+160|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+156>>2]=0,f=t+160|0),n[0|f]=1,_[t+156>>2]=b,_[t+152>>2]=y}if(_[t+148>>2]=y,(0|h)>0){f=0|_[t+136>>2],b=0;do{_[f+(b<<2)>>2]=b,b=b+1|0}while((0|b)!=(0|h))}if((0|i)>0){f=0|_[t+116>>2],b=0;do{_[f+(b<<2)>>2]=b,b=b+1|0}while((0|b)!=(0|i))}if((0|y)>0){f=0|_[t+156>>2],b=0;do{_[f+(b<<2)>>2]=b,b=b+1|0}while((0|b)!=(0|y))}if(b=0|_[2606],t=(0|_[b+16>>2])-1|0,_[b+16>>2]=t,0|t)return Q=A,0;do{if(0|_[b+4>>2]){if(G(0|A,0),t=0|_[6629],p[b+8>>2]=+p[b+8>>2]+ +(((0|_[A+4>>2])-(0|_[t+4>>2])+(1e6*((0|_[A>>2])-(0|_[t>>2])|0)|0)-(0|_[b+12>>2])|0)>>>0)/1e3,0|_[b+16>>2])return Q=A,0;b=0|_[2606];break}}while(0);return _[2606]=_[b+20>>2],Q=A,0},function(t,e,i,n,o,r,s,c,a){t|=0,e|=0,i|=0,n|=0,o|=0,r|=0,s|=0,c|=0,a|=0;var b,d=0,l=0;if(b=Q,Q=Q+16|0,$i(15227),hd[1&_[32+(0|_[t>>2])>>2]](t,e,i,n,o,r,s,c,a),(0|(d=(0|(l=0|_[t+184>>2]))>(0|(d=0|_[c+20>>2]))?l:d))>0){l=0;do{Gb[3&_[40+(0|_[t>>2])>>2]](t,l,e,i,n,o,r,s,c,a),l=l+1|0}while((0|l)<(0|d))}if(d=0|_[2606],a=(0|_[d+16>>2])-1|0,_[d+16>>2]=a,0|a)return Q=b,0;do{if(0|_[d+4>>2]){if(G(0|b,0),a=0|_[6629],p[d+8>>2]=+p[d+8>>2]+ +(((0|_[b+4>>2])-(0|_[a+4>>2])+(1e6*((0|_[b>>2])-(0|_[a>>2])|0)|0)-(0|_[d+12>>2])|0)>>>0)/1e3,0|_[d+16>>2])return Q=b,0;d=0|_[2606];break}}while(0);return _[2606]=_[d+20>>2],Q=b,0},Dr],Gb=[dr,function(t,e,i,n,o,r,s,c,a,b){var d;if(t|=0,e|=0,i|=0,n|=0,o|=0,r|=0,s|=0,c|=0,a|=0,b|=0,d=Q,Q=Q+16|0,$i(15290),Mb[3&_[44+(0|_[t>>2])>>2]](t,e,i,n,o,r,s,c,a),Mb[3&_[48+(0|_[t>>2])>>2]](t,e,i,n,o,r,s,c,a),Tb[1&_[36+(0|_[t>>2])>>2]](t,e,i,c),b=0|_[2606],a=(0|_[b+16>>2])-1|0,_[b+16>>2]=a,0|a)return Q=d,0;do{if(0|_[b+4>>2]){if(G(0|d,0),a=0|_[6629],p[b+8>>2]=+p[b+8>>2]+ +(((0|_[d+4>>2])-(0|_[a+4>>2])+(1e6*((0|_[d>>2])-(0|_[a>>2])|0)|0)-(0|_[b+12>>2])|0)>>>0)/1e3,0|_[b+16>>2])return Q=d,0;b=0|_[2606];break}}while(0);return _[2606]=_[b+20>>2],Q=d,0},function(t,e,i,o,r,s,c,a,b,d){e|=0,i|=0,o|=0,r|=0,s|=0,c|=0,a|=0,b|=0,d|=0;var l=0,A=0,f=0,u=0,m=0,h=0,y=0,C=0,v=0;if(r=0|_[48+(t|=0)>>2],u=0|_[t+28>>2],m=0|_[t+68>>2],1&_[b+64>>2]){if((0|r)>0){s=0|_[t+136>>2],o=0,f=0|_[t+192>>2];do{A=0|_[(d=s+(o<<2)|0)>>2],o=o+1|0,f=1013904223+(0|g(f,1664525))|0,o>>>0<65537?(i=f>>>16^f,o>>>0<257&&(i^=i>>>8,o>>>0<17&&(C=(i^=i>>>4)>>>2^i,i=o>>>0<5?(o>>>0<3?C>>>1:0)^C:i))):i=f,C=s+((i>>>0)%(o>>>0)<<2)|0,_[d>>2]=_[C>>2],_[C>>2]=A}while((0|o)!=(0|r));_[t+192>>2]=f}if((0|_[b+20>>2])>(0|e)){if((0|u)>0){r=0|_[t+116>>2],o=0,A=0|_[t+192>>2];do{d=0|_[(s=r+(o<<2)|0)>>2],o=o+1|0,A=1013904223+(0|g(A,1664525))|0,o>>>0<65537?(i=A>>>16^A,o>>>0<257&&(i^=i>>>8,o>>>0<17&&(C=(i^=i>>>4)>>>2^i,i=o>>>0<5?(o>>>0<3?C>>>1:0)^C:i))):i=A,C=r+((i>>>0)%(o>>>0)<<2)|0,_[s>>2]=_[C>>2],_[C>>2]=d}while((0|o)!=(0|u));_[t+192>>2]=A}if((0|m)>0){r=0|_[t+156>>2],o=0,A=0|_[t+192>>2];do{d=0|_[(s=r+(o<<2)|0)>>2],o=o+1|0,A=1013904223+(0|g(A,1664525))|0,o>>>0<65537?(i=A>>>16^A,o>>>0<257&&(i^=i>>>8,o>>>0<17&&(C=(i^=i>>>4)>>>2^i,i=o>>>0<5?(o>>>0<3?C>>>1:0)^C:i))):i=A,C=r+((i>>>0)%(o>>>0)<<2)|0,_[s>>2]=_[C>>2],_[C>>2]=d}while((0|o)!=(0|m));_[t+192>>2]=A}}}if(i=0|_[t+48>>2],!(256&_[b+64>>2])){if((0|i)>0){s=0;do{o=0|_[(0|_[t+136>>2])+(s<<2)>>2],r=0|_[t+56>>2],(0|_[r+(152*o|0)+136>>2])>(0|e)&&(Ct((i=0|_[t+16>>2])+(244*(0|_[r+(152*o|0)+144>>2])|0)|0,i+(244*(0|_[r+(152*o|0)+148>>2])|0)|0,r+(152*o|0)|0),i=0|_[t+48>>2]),s=s+1|0}while((0|s)<(0|i))}if((0|_[b+20>>2])<=(0|e))return 0;if((0|a)>0){i=0;do{r=0|_[(o=c+(i<<2)|0)>>2],0|n[r+20|0]&&(h=0|Re(t,0|_[r+28>>2],+p[b+12>>2]),C=0|Re(t,0|_[32+(0|_[o>>2])>>2],+p[b+12>>2]),y=0|_[t+16>>2],e=0|_[o>>2],sd[15&_[24+(0|_[e>>2])>>2]](e,y+(244*h|0)|0,y+(244*C|0)|0,+p[b+12>>2])),i=i+1|0}while((0|i)!=(0|a))}if((0|(o=0|_[t+28>>2]))>0){i=0;do{C=0|_[(0|_[t+116>>2])+(i<<2)>>2],b=0|_[t+36>>2],vt((a=0|_[t+16>>2])+(244*(0|_[b+(152*C|0)+144>>2])|0)|0,a+(244*(0|_[b+(152*C|0)+148>>2])|0)|0,b+(152*C|0)|0),i=i+1|0}while((0|i)!=(0|o))}if((0|(o=0|_[t+68>>2]))>0){i=0;do{r=0|_[(0|_[t+156>>2])+(i<<2)>>2],s=0|_[t+76>>2],(l=+p[(0|_[t+36>>2])+(152*(0|_[s+(152*r|0)+140>>2])|0)+100>>2])>0&&(l*=+p[s+(152*r|0)+104>>2],p[s+(152*r|0)+120>>2]=-l,p[s+(152*r|0)+124>>2]=l,Ct((C=0|_[t+16>>2])+(244*(0|_[s+(152*r|0)+144>>2])|0)|0,C+(244*(0|_[s+(152*r|0)+148>>2])|0)|0,s+(152*r|0)|0)),i=i+1|0}while((0|i)!=(0|o))}if((0|(o=0|_[t+88>>2]))<=0)return 0;i=0;do{r=0|_[t+96>>2],(l=+p[(0|_[t+36>>2])+(152*(0|_[r+(152*i|0)+140>>2])|0)+100>>2])>0&&(l=l*(v=+p[r+(152*i|0)+104>>2])>v?v:l*v,p[r+(152*i|0)+120>>2]=-l,p[r+(152*i|0)+124>>2]=l,Ct((C=0|_[t+16>>2])+(244*(0|_[r+(152*i|0)+144>>2])|0)|0,C+(244*(0|_[r+(152*i|0)+148>>2])|0)|0,r+(152*i|0)|0)),i=i+1|0}while((0|i)!=(0|o));return 0}if((0|i)>0){s=0;do{o=0|_[(0|_[t+136>>2])+(s<<2)>>2],r=0|_[t+56>>2],(0|_[r+(152*o|0)+136>>2])>(0|e)&&(Ct((i=0|_[t+16>>2])+(244*(0|_[r+(152*o|0)+144>>2])|0)|0,i+(244*(0|_[r+(152*o|0)+148>>2])|0)|0,r+(152*o|0)|0),i=0|_[t+48>>2]),s=s+1|0}while((0|s)<(0|i))}if((0|_[b+20>>2])<=(0|e))return 0;if((0|a)>0){i=0;do{r=0|_[(o=c+(i<<2)|0)>>2],0|n[r+20|0]&&(m=0|Re(t,0|_[r+28>>2],+p[b+12>>2]),C=0|Re(t,0|_[32+(0|_[o>>2])>>2],+p[b+12>>2]),e=0|_[t+16>>2],u=0|_[o>>2],sd[15&_[24+(0|_[u>>2])>>2]](u,e+(244*m|0)|0,e+(244*C|0)|0,+p[b+12>>2])),i=i+1|0}while((0|i)!=(0|a))}if(i=0|_[b+64>>2],A=0|_[t+28>>2],512&i){if(o=1+(i>>>4&1)|0,(0|A)<=0)return 0;i=0;do{r=0|_[(0|_[t+116>>2])+(i<<2)>>2],s=0|_[t+36>>2],vt((d=0|_[t+16>>2])+(244*(0|_[s+(152*r|0)+144>>2])|0)|0,d+(244*(0|_[s+(152*r|0)+148>>2])|0)|0,s+(152*r|0)|0),l=+p[s+(152*r|0)+100>>2],r=0|g(i,o),s=0|_[(0|_[t+156>>2])+(r<<2)>>2],d=0|_[t+76>>2],l>0&&(v=l*+p[d+(152*s|0)+104>>2],p[d+(152*s|0)+120>>2]=-v,p[d+(152*s|0)+124>>2]=v,Ct((C=0|_[t+16>>2])+(244*(0|_[d+(152*s|0)+144>>2])|0)|0,C+(244*(0|_[d+(152*s|0)+148>>2])|0)|0,d+(152*s|0)|0)),16&_[b+64>>2]&&(h=0|_[(0|_[t+156>>2])+(r+1<<2)>>2],y=0|_[t+76>>2],l>0)&&(v=l*+p[y+(152*h|0)+104>>2],p[y+(152*h|0)+120>>2]=-v,p[y+(152*h|0)+124>>2]=v,Ct((C=0|_[t+16>>2])+(244*(0|_[y+(152*h|0)+144>>2])|0)|0,C+(244*(0|_[y+(152*h|0)+148>>2])|0)|0,y+(152*h|0)|0)),i=i+1|0}while((0|i)!=(0|A));return 0}if((0|A)>0){i=0;do{C=0|_[(0|_[t+116>>2])+(i<<2)>>2],b=0|_[t+36>>2],vt((a=0|_[t+16>>2])+(244*(0|_[b+(152*C|0)+144>>2])|0)|0,a+(244*(0|_[b+(152*C|0)+148>>2])|0)|0,b+(152*C|0)|0),i=i+1|0}while((0|i)!=(0|A))}if((0|(o=0|_[t+68>>2]))>0){i=0;do{r=0|_[(0|_[t+156>>2])+(i<<2)>>2],s=0|_[t+76>>2],(l=+p[(0|_[t+36>>2])+(152*(0|_[s+(152*r|0)+140>>2])|0)+100>>2])>0&&(v=l*+p[s+(152*r|0)+104>>2],p[s+(152*r|0)+120>>2]=-v,p[s+(152*r|0)+124>>2]=v,Ct((C=0|_[t+16>>2])+(244*(0|_[s+(152*r|0)+144>>2])|0)|0,C+(244*(0|_[s+(152*r|0)+148>>2])|0)|0,s+(152*r|0)|0)),i=i+1|0}while((0|i)!=(0|o))}if((0|(o=0|_[t+88>>2]))<=0)return 0;i=0;do{r=0|_[t+96>>2],(l=+p[(0|_[t+36>>2])+(152*(0|_[r+(152*i|0)+140>>2])|0)+100>>2])>0&&(v=l*(v=+p[r+(152*i|0)+104>>2])>v?v:l*v,p[r+(152*i|0)+120>>2]=-v,p[r+(152*i|0)+124>>2]=v,Ct((C=0|_[t+16>>2])+(244*(0|_[r+(152*i|0)+144>>2])|0)|0,C+(244*(0|_[r+(152*i|0)+148>>2])|0)|0,r+(152*i|0)|0)),i=i+1|0}while((0|i)!=(0|o));return 0},dr],Lb=[Cb,function(t){return 0|W(5,0|(t|=0))},Ua,Ja,Hc,Ac,Ac,Xc,Ic,function(t){return 428},ob,function(t){return 0|n[24464]?25096:0|Qs(24464)?(_[6274]=1065353216,_[6275]=1065353216,_[6276]=1065353216,p[6277]=0,25096):25096},function(t){return 13389},ib,rb,function(t){return 13501},va,Ua,function(t){return 32},function(t){return 13768},ob,Ka,Ka,Ja,function(t){return 0|_[72+(t|=0)>>2]},function(t){return 0|_[200+(t|=0)>>2]},function(t){return 0|_[212+(t|=0)>>2]},function(t){return 4},function(t){return 488},ob,va,function(t){return 252},function(t){return 348},Sa,function(t){return 204},function(t){return 212},function(t){return 220},Ja,Ns,function(t){return 0!=+p[16+(t|=0)>>2]?0|(t=0):0|(t=0==+p[t+20>>2])},function(t){return 256},function(t){return 0|_[12+(t|=0)>>2]},function(t){return 0|_[12+(t|=0)>>2]?0|(t=0|_[t+20>>2]):0|(t=0)},bc,bc,Na,function(t){return 18807},function(t){return 24},function(t){return 18850},Oa,function(t){return 18869},function(t){return 18890},function(t){return 18911},function(t){return 4+(0|_[48+(t|=0)>>2])|0},function(t){return 19092},Oa,function(t){return 19476},Ia,function(t){return 19534},va,function(t){return 19732},function(t){return 68},$c,$c,Ua,function(t){return 19833},Oa,function(t){return 19863},function(t){return 19890},function(t){return 4+(0|_[92+(t|=0)>>2])|0},function(t){return 19946},Ua,Ua,Ua,function(t){return 20005},eb,function(t){return 8},ib,eb,Sa,function(t){return 108+(t|=0)|0},function(t){return 20230},function(t){return 20290},Oa,function(t){return 20318},function(t){return 20347},Ic,function(t){return 1==(0|_[48+(t|=0)>>2])|0},function(t){return 28},Uc,Uc,Xc,Xc,pb,Ua,Ja,Xc,Xc,pb,Ac,Ua,Fc,Fc,Xc,function(t){var e;return e=Q,Q=Q+16|0,t=0|vb(0|_[60+(t|=0)>>2]),_[e>>2]=t,t=0|Ta(0|I(6,0|e)),Q=e,0|t},Cb,Cb,Cb,Cb,Cb,Cb,Cb,Cb,Cb,Cb,Cb,Cb,Cb,Cb,Cb,Cb,Cb,Cb,Cb,Cb,Cb,Cb,Cb],Nb=[function(t,e,i,n){return e=+e,n=+n,v(11),0},function(t,e,i,o){t|=0,e=+e,i|=0,o=+o;var r,s=0,c=0,a=0;if(r=Q,Q=Q+16|0,G(0|_[6629],0),qo(26476),_[6620]=1+(0|_[6620]),a=0|_[6623],_[6623]=a+1,a||(G(0|r,0),a=0|_[6629],_[6622]=(0|_[r+4>>2])-(0|_[a+4>>2])+(1e6*((0|_[r>>2])-(0|_[a>>2])|0)|0)),_[6628]=0,G(0|r,0),$i(14649),i?(p[t+268>>2]=o,c=+p[t+264>>2]+e,p[t+264>>2]=c,c>=o?(p[t+264>>2]=c-+(c/o|0)*o,e=o,a=~~(c/o)):(e=o,a=0)):(p[t+264>>2]=0|n[t+300|0]?0:e,p[t+268>>2]=0,i=a=1&!(+d(+e)<1.1920928955078125e-7)),0|Lb[127&_[20+(0|_[t>>2])>>2]](t)&&(s=0|Lb[127&_[20+(0|_[t>>2])>>2]](t),s=0|Lb[127&_[48+(0|_[s>>2])>>2]](s),n[27096]=s>>>4&1),a)if(s=(0|a)>(0|i)?i:a,Kb[31&_[164+(0|_[t>>2])>>2]](t,e*+(0|s)),zb[511&_[168+(0|_[t>>2])>>2]](t),(0|s)>0){i=0;do{Kb[31&_[160+(0|_[t>>2])>>2]](t,e),zb[511&_[80+(0|_[t>>2])>>2]](t),i=i+1|0}while((0|i)<(0|s));i=t}else i=t;else zb[511&_[80+(0|_[t>>2])>>2]](t),i=t;if(zb[511&_[120+(0|_[i>>2])>>2]](t),_[6628]=1+(0|_[6628]),i=0|_[2606],t=(0|_[i+16>>2])-1|0,_[i+16>>2]=t,0|t)return Q=r,0|a;do{if(0|_[i+4>>2]){if(G(0|r,0),t=0|_[6629],p[i+8>>2]=+p[i+8>>2]+ +(((0|_[r+4>>2])-(0|_[t+4>>2])+(1e6*((0|_[r>>2])-(0|_[t>>2])|0)|0)-(0|_[i+12>>2])|0)>>>0)/1e3,0|_[i+16>>2])return Q=r,0|a;i=0|_[2606];break}}while(0);return _[2606]=_[i+20>>2],Q=r,0|a}],Qb=[tb,function(t,e){return t|=0,(o[4+(e|=0)>>1]&o[t+6>>1])<<16>>16?0|(e=!!((o[t+4>>1]&o[e+6>>1])<<16>>16)):0|(e=0)},function(t,e){return t|=0,(o[4+(e|=0)>>1]&o[t+14>>1])<<16>>16?0|(e=!!((o[t+12>>1]&o[e+6>>1])<<16>>16)):0|(e=0)},function(t,e){return t|=0,(o[4+(e|=0)>>1]&o[t+10>>1])<<16>>16?0|(e=!!((o[t+8>>1]&o[e+6>>1])<<16>>16)):0|(e=0)},na,na,na,function(t,e){e|=0;var i,r,c,b,A=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0,O=0,x=0,T=0,P=0,V=0,M=0,G=0,N=0,E=0,H=0,Z=0,U=0,Y=0,J=0,X=0,K=0,q=0,$=0,tt=0,et=0,it=0,nt=0,ot=0,_t=0,rt=0,st=0,pt=0,ct=0,at=0,bt=0,dt=0,lt=0;for(b=Q,Q=Q+192|0,0|(f=0|_[52+(t|=0)>>2])&&(zb[511&_[_[f>>2]>>2]](f),0|(A=0|_[t+52>>2]))&&(_[6631]=1+(0|_[6631]),Li(0|_[A+-4>>2])),_[6630]=1+(0|_[6630]),(A=0|di(151))?(_[(A+4+15&-16)-4>>2]=A,A=A+4+15&-16):A=0,_[A>>2]=10348,n[A+20|0]=1,_[A+16>>2]=0,_[A+8>>2]=0,_[A+12>>2]=0,n[A+40|0]=1,_[A+36>>2]=0,_[A+28>>2]=0,_[A+32>>2]=0,n[A+60|0]=1,_[A+56>>2]=0,_[A+48>>2]=0,_[A+52>>2]=0,_[t+52>>2]=A,h=0,y=0,bt=0,V=0,A=0;!((0|h)>=(0|Lb[127&_[96+(0|_[t>>2])>>2]](t)));){do{if((0|V)==(0|y))if((0|y)<(0|(f=0|y?y<<1:1))){if(0|f&&(_[6630]=1+(0|_[6630]),0|(g=0|di(16+(f<<4|3)|0)))?(_[(g+4+15&-16)-4>>2]=g,u=g+4+15&-16):u=0,(0|y)<=0){if(!bt){m=u,A=u,u=y;break}}else{A=0;do{ct=bt+(A<<4)|0,_[(at=u+(A<<4)|0)>>2]=_[ct>>2],_[at+4>>2]=_[ct+4>>2],_[at+8>>2]=_[ct+8>>2],_[at+12>>2]=_[ct+12>>2],A=A+1|0}while((0|A)!=(0|y))}_[6631]=1+(0|_[6631]),Li(0|_[bt+-4>>2]),m=u,A=u,u=y}else f=y,m=bt,u=y;else f=y,m=bt,u=V}while(0);_[(y=m+(V<<4)|0)>>2]=_[b>>2],_[y+4>>2]=_[b+4>>2],_[y+8>>2]=_[b+8>>2],_[y+12>>2]=_[b+12>>2],rd[127&_[108+(0|_[t>>2])>>2]](t,h,y),h=h+1|0,y=f,bt=m,V=u+1|0}if(n[b+124+16|0]=1,_[(at=b+124+12|0)>>2]=0,_[b+124+4>>2]=0,_[b+124+8>>2]=0,n[b+124+36|0]=1,_[(ct=b+124+32|0)>>2]=0,_[b+124+24>>2]=0,_[b+124+28>>2]=0,n[b+124+56|0]=1,_[(c=b+124+52|0)>>2]=0,_[b+124+44>>2]=0,_[b+124+48>>2]=0,e){if((0|V)>0){for(P=0,f=0,u=0,m=0;;){A=P,P=P+1|0;t:do{if((0|P)<(0|V))for(W=bt+(A<<4)|0,F=bt+(A<<4)+4|0,B=bt+(A<<4)+8|0,h=P,A=m;;){I=h+1|0;e:do{if((0|I)<(0|V))for(j=bt+(h<<4)|0,D=bt+(h<<4)+4|0,e=bt+(h<<4)+8|0,m=I;;){C=+p[W>>2],M=+p[j>>2]-C,v=+p[F>>2],G=+p[D>>2]-v,S=+p[B>>2],x=+p[e>>2]-S,N=+p[bt+(m<<4)>>2]-C,O=(M*(E=+p[bt+(m<<4)+4>>2]-v)-G*N)*(M*E-G*N)+((G*(T=+p[bt+(m<<4)+8>>2]-S)-x*E)*(G*T-x*E)+(x*N-M*T)*(x*N-M*T));i:do{if(O>9999999747378752e-20){w=(G*T-x*E)*(R=1/+l(+O)),k=(x*N-M*T)*R,R*=M*E-G*N;n:do{if((0|A)>0)for(h=0;;){if(w*+p[u+(h<<4)>>2]+k*+p[u+(h<<4)+4>>2]+R*+p[u+(h<<4)+8>>2]>.9990000128746033)break n;if((0|(h=h+1|0))>=(0|A)){st=34;break}}else st=34}while(0);n:do{if(34==(0|st)){st=0,h=0;do{if(w*+p[bt+(h<<4)>>2]+k*+p[bt+(h<<4)+4>>2]+R*+p[bt+(h<<4)+8>>2]-(w*C+k*v+R*S)-.009999999776482582>0)break n;h=h+1|0}while((0|h)<(0|V));do{if((0|A)==(0|f))if((0|f)<(0|(g=0|f?f<<1:1))){do{if(g){if(_[6630]=1+(0|_[6630]),!(h=0|di(16+(g<<4|3)|0))){y=0;break}_[(h+4+15&-16)-4>>2]=h,y=h+4+15&-16}else y=0}while(0);if((0|f)<=0){if(!u){h=g,u=y;break}}else{h=0;do{_t=u+(h<<4)|0,_[(rt=y+(h<<4)|0)>>2]=_[_t>>2],_[rt+4>>2]=_[_t+4>>2],_[rt+8>>2]=_[_t+8>>2],_[rt+12>>2]=_[_t+12>>2],h=h+1|0}while((0|h)!=(0|f))}_[6631]=1+(0|_[6631]),Li(0|_[u+-4>>2]),h=g,u=y}else h=f;else h=f,f=A}while(0);p[u+(f<<4)>>2]=w,p[u+(f<<4)+4>>2]=k,p[u+(f<<4)+8>>2]=R,p[u+(f<<4)+12>>2]=-(w*C+k*v+R*S),f=h,A=A+1|0}}while(0);if(O>9999999747378752e-20){if(w=-(G*T-x*E)*(v=1/+l(+O)),S=-(x*N-M*T)*v,v*=-(M*E-G*N),(0|A)>0){h=0;do{if(+p[u+(h<<4)>>2]*w+ +p[u+(h<<4)+4>>2]*S+ +p[u+(h<<4)+8>>2]*v>.9990000128746033)break i;h=h+1|0}while((0|h)<(0|A))}C=+p[W>>2]*w+ +p[F>>2]*S+ +p[B>>2]*v,h=0;do{if(+p[bt+(h<<4)>>2]*w+ +p[bt+(h<<4)+4>>2]*S+ +p[bt+(h<<4)+8>>2]*v-C-.009999999776482582>0)break i;h=h+1|0}while((0|h)<(0|V));do{if((0|A)==(0|f)){if((0|f)>=(0|(g=0|f?f<<1:1))){h=f;break}do{if(g){if(_[6630]=1+(0|_[6630]),!(h=0|di(16+(g<<4|3)|0))){y=0;break}_[(h+4+15&-16)-4>>2]=h,y=h+4+15&-16}else y=0}while(0);if((0|f)<=0){if(!u){h=g,u=y;break}}else{h=0;do{_t=u+(h<<4)|0,_[(rt=y+(h<<4)|0)>>2]=_[_t>>2],_[rt+4>>2]=_[_t+4>>2],_[rt+8>>2]=_[_t+8>>2],_[rt+12>>2]=_[_t+12>>2],h=h+1|0}while((0|h)!=(0|f))}_[6631]=1+(0|_[6631]),Li(0|_[u+-4>>2]),h=g,u=y}else h=f,f=A}while(0);p[u+(f<<4)>>2]=w,p[u+(f<<4)+4>>2]=S,p[u+(f<<4)+8>>2]=v,p[u+(f<<4)+12>>2]=-C,f=h,A=A+1|0}}}while(0);if((0|(m=m+1|0))==(0|V))break e}}while(0);if((0|I)==(0|V))break t;h=I}else A=m}while(0);if((0|P)==(0|V)){e=A;break}m=A}if((0|e)>0){for(A=0,y=0,g=0;;){rt=u+(g<<4)|0,_[b>>2]=_[rt>>2],_[b+4>>2]=_[rt+4>>2],_[b+8>>2]=_[rt+8>>2],C=+p[u+(g<<4)+12>>2],C-=+Bb[15&_[48+(0|_[t>>2])>>2]](t);do{if((0|g)==(0|A))if((0|A)<(0|(h=0|A?A<<1:1))){if(0|h&&(_[6630]=1+(0|_[6630]),0|(H=0|di(16+(h<<4|3)|0)))?(_[(H+4+15&-16)-4>>2]=H,m=H+4+15&-16):m=0,(0|A)<=0){if(!y)break}else{f=0;do{_t=y+(f<<4)|0,_[(rt=m+(f<<4)|0)>>2]=_[_t>>2],_[rt+4>>2]=_[_t+4>>2],_[rt+8>>2]=_[_t+8>>2],_[rt+12>>2]=_[_t+12>>2],f=f+1|0}while((0|f)!=(0|A))}_[6631]=1+(0|_[6631]),Li(0|_[y+-4>>2])}else h=A,m=y;else h=A,m=y,A=g}while(0);if(_[(rt=m+(A<<4)|0)>>2]=_[b>>2],_[rt+4>>2]=_[b+4>>2],_[rt+8>>2]=_[b+8>>2],p[m+(A<<4)+12>>2]=C,!((0|(g=g+1|0))<(0|e)))break;A=h,y=m}H=0,y=0,h=0,f=0,A=0;do{V=H,H=H+1|0;t:do{if((0|H)<(0|g))for(e=H;;){P=e+1|0;e:do{if((0|P)<(0|g))for(B=m+(e<<4)+4|0,W=m+(e<<4)+8|0,F=m+(e<<4)|0,I=m+(e<<4)+12|0,e=P;;){w=+p[B>>2],C=+p[m+(e<<4)+8>>2],v=+p[W>>2],k=+p[m+(e<<4)+4>>2],R=+p[m+(e<<4)>>2],O=+p[F>>2],S=+p[m+(V<<4)+8>>2],x=+p[m+(V<<4)+4>>2],T=+p[m+(V<<4)>>2];i:do{if((k*O-w*R)*(k*O-w*R)+((w*C-v*k)*(w*C-v*k)+(v*R-C*O)*(v*R-C*O))>9999999747378752e-20&&(R*x-k*T)*(R*x-k*T)+((k*S-C*x)*(k*S-C*x)+(C*T-R*S)*(C*T-R*S))>9999999747378752e-20&&(w*T-O*x)*(w*T-O*x)+((v*x-w*S)*(v*x-w*S)+(O*S-v*T)*(O*S-v*T))>9999999747378752e-20&&(et=S*(k*O-w*R)+(x*(v*R-C*O)+(w*C-v*k)*T),+d(+et)>9.999999974752427e-7)){N=+p[m+(V<<4)+12>>2],E=+p[I>>2],M=-1/et*((v*x-w*S)*(G=+p[m+(e<<4)+12>>2])+((w*C-v*k)*N+(k*S-C*x)*E)),v=-1/et*((O*S-v*T)*G+((v*R-C*O)*N+(C*T-R*S)*E)),C=-1/et*((w*T-O*x)*G+((k*O-w*R)*N+(R*x-k*T)*E)),j=0;do{if(+p[m+(j<<4)+12>>2]+(M*+p[m+(j<<4)>>2]+v*+p[m+(j<<4)+4>>2]+C*+p[m+(j<<4)+8>>2])-.009999999776482582>0)break i;j=j+1|0}while((0|j)<(0|g));do{if((0|f)==(0|y)){if((0|y)>=(0|(D=0|y?y<<1:1))){D=y;break}do{if(D){if(_[6630]=1+(0|_[6630]),!(A=0|di(16+(D<<4|3)|0))){j=0;break}_[(A+4+15&-16)-4>>2]=A,j=A+4+15&-16}else j=0}while(0);if((0|y)<=0){if(!h){h=j,A=j;break}}else{A=0;do{_t=h+(A<<4)|0,_[(rt=j+(A<<4)|0)>>2]=_[_t>>2],_[rt+4>>2]=_[_t+4>>2],_[rt+8>>2]=_[_t+8>>2],_[rt+12>>2]=_[_t+12>>2],A=A+1|0}while((0|A)!=(0|y))}_[6631]=1+(0|_[6631]),Li(0|_[h+-4>>2]),h=j,A=j}else D=y,y=f}while(0);p[h+(y<<4)>>2]=M,p[h+(y<<4)+4>>2]=v,p[h+(y<<4)+8>>2]=C,p[h+(y<<4)+12>>2]=0,y=D,f=f+1|0}}while(0);if((0|(e=e+1|0))==(0|g))break e}}while(0);if((0|P)==(0|g))break t;e=P}}while(0)}while((0|H)!=(0|g))}else h=0,m=0,f=0,A=0}else h=0,m=0,u=0,f=0,A=0;Ai(b+124|0,A,f),0|h&&(_[6631]=1+(0|_[6631]),Li(0|_[h+-4>>2])),0|m&&(_[6631]=1+(0|_[6631]),Li(0|_[m+-4>>2])),0|u&&(_[6631]=1+(0|_[6631]),Li(0|_[u+-4>>2]))}else Ai(b+124|0,A,V);if((0|(P=0|_[b+124+44>>2]))>0){_[6630]=1+(0|_[6630]),(A=0|di(16+(P<<4|3)|0))?(_[(A+4+15&-16)-4>>2]=A,f=A+4+15&-16):f=0,A=0;do{_[(rt=f+(A<<4)|0)>>2]=_[b>>2],_[rt+4>>2]=_[b+4>>2],_[rt+8>>2]=_[b+8>>2],_[rt+12>>2]=_[b+12>>2],A=A+1|0}while((0|A)!=(0|P));rt=f,ot=f}else rt=0,ot=0;n[b+104+16|0]=1,_[(_t=b+104+12|0)>>2]=0,_[(r=b+104+4|0)>>2]=0,_[b+104+8>>2]=0,h=(u=b)+19|0;do{n[0|u]=0,u=u+1|0}while((0|u)<(0|h));if((0|P)<0&&L(),0|P){Zn(b+104|0,P),f=0|_[_t>>2],A=0;do{n[f+(36*A|0)+16|0]=1,_[(u=f+(36*A|0)+4|0)>>2]=0,_[u+4>>2]=0,_[u+8>>2]=0,m=b+3|0,h=16+(u=f+(36*A|0)+20|0)|0;do{n[0|u]=0|n[0|m],u=u+1|0,m=m+1|0}while((0|u)<(0|h));A=A+1|0}while((0|A)!=(0|P))}if(_[r>>2]=P,y=0|_[b+124+4>>2],h=0|_[t+52>>2],(0|(m=0|_[h+8>>2]))<(0|y)){if((0|_[h+12>>2])<(0|y)){if(y?(_[6630]=1+(0|_[6630]),(A=0|di(16+(y<<4|3)|0))?(_[(A+4+15&-16)-4>>2]=A,A=A+4+15&-16):A=0,u=0|_[h+8>>2]):(A=0,u=m),(0|u)>0){f=0;do{nt=A+(f<<4)|0,it=(0|_[h+16>>2])+(f<<4)|0,_[nt>>2]=_[it>>2],_[nt+4>>2]=_[it+4>>2],_[nt+8>>2]=_[it+8>>2],_[nt+12>>2]=_[it+12>>2],f=f+1|0}while((0|f)!=(0|u))}0|(f=0|_[h+16>>2])&&(0|n[h+20|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[f+-4>>2])),_[h+16>>2]=0),n[h+20|0]=1,_[h+16>>2]=A,_[h+12>>2]=y,f=h+16|0}else f=h+16|0;A=m;do{nt=(0|_[f>>2])+(A<<4)|0,_[nt>>2]=_[b>>2],_[nt+4>>2]=_[b+4>>2],_[nt+8>>2]=_[b+8>>2],_[nt+12>>2]=_[b+12>>2],A=A+1|0}while((0|A)!=(0|y))}if(_[h+8>>2]=y,(0|y)>0){A=0;do{it=(0|_[at>>2])+(A<<4)|0,nt=(0|_[16+(0|_[t+52>>2])>>2])+(A<<4)|0,_[nt>>2]=_[it>>2],_[nt+4>>2]=_[it+4>>2],_[nt+8>>2]=_[it+8>>2],_[nt+12>>2]=_[it+12>>2],A=A+1|0}while((0|A)!=(0|y))}if((0|P)>0){F=0;do{I=B=(0|_[ct>>2])+(12*(0|_[(0|_[c>>2])+(F<<2)>>2])|0)|0,A=0;do{if(D=0|_[I+(12*(0|_[(W=I+4|0)>>2])|0)+8>>2],e=0|_[_t>>2],(0|(f=0|_[(j=e+(36*F|0)+4|0)>>2]))==(0|_[(g=e+(36*F|0)+8|0)>>2])&&(0|f)<(0|(Z=0|f?f<<1:1))){if(Z?(_[6630]=1+(0|_[6630]),(f=0|di(16+(Z<<2|3)|0))?(_[(f+4+15&-16)-4>>2]=f,f=f+4+15&-16):f=0,y=f,f=0|_[j>>2]):y=0,m=0|_[(h=e+(36*F|0)+12|0)>>2],(0|f)<=0)m?st=161:u=e+(36*F|0)+16|0;else{u=0;do{_[y+(u<<2)>>2]=_[m+(u<<2)>>2],u=u+1|0}while((0|u)!=(0|f));st=161}161==(0|st)&&(st=0,0|n[0|(f=e+(36*F|0)+16|0)]&&(_[6631]=1+(0|_[6631]),Li(0|_[m+-4>>2])),_[h>>2]=0,u=f,f=0|_[j>>2]),n[0|u]=1,_[h>>2]=y,_[g>>2]=Z}_[(0|_[e+(36*F|0)+12>>2])+(f<<2)>>2]=D,_[j>>2]=1+(0|_[j>>2]),it=0|_[I+8>>2],nt=0|_[at>>2],S=+p[nt+(it<<4)>>2]-+p[nt+(D<<4)>>2],w=+p[nt+(it<<4)+4>>2]-+p[nt+(D<<4)+4>>2],C=+p[nt+(it<<4)+8>>2]-+p[nt+(D<<4)+8>>2],v=1/+l(+(S*S+w*w+C*C)),(0|A)<2&&(p[b+(A<<4)>>2]=S*v,p[b+(A<<4)+4>>2]=w*v,p[b+(A<<4)+8>>2]=C*v,p[b+(A<<4)+12>>2]=0,A=A+1|0),I=(nt=I+(12*(0|_[W>>2])|0)|0)+(12*(0|_[nt>>2])|0)|0}while((0|I)!=(0|B));if(2==(0|A)?(M=+p[b+4>>2],G=+p[b+24>>2],N=+p[b+8>>2],E=+p[b+20>>2],T=+p[b+16>>2],x=+p[b>>2],it=rt+(F<<4)+4|0,nt=rt+(F<<4)+8|0,p[rt+(F<<4)+12>>2]=0,et=1/+l(+((E*x-M*T)*(E*x-M*T)+((M*G-N*E)*(M*G-N*E)+(N*T-G*x)*(N*T-G*x)))),p[rt+(F<<4)>>2]=(M*G-N*E)*et,p[it>>2]=(N*T-G*x)*et,p[nt>>2]=(E*x-M*T)*et,h=0|_[_t>>2],p[h+(36*F|0)+20>>2]=(M*G-N*E)*et,_[h+(36*F|0)+24>>2]=_[it>>2],_[h+(36*F|0)+28>>2]=_[nt>>2],p[h+(36*F|0)+32>>2]=1.0000000150474662e30):(_[(h=rt+(F<<4)|0)>>2]=0,_[h+4>>2]=0,_[h+8>>2]=0,_[h+12>>2]=0,h=0|_[_t>>2]),(0|(f=0|_[h+(36*F|0)+4>>2]))>0){if(u=0|_[16+(0|_[t+52>>2])>>2],v=+p[rt+(F<<4)>>2],S=+p[rt+(F<<4)+4>>2],w=+p[rt+(F<<4)+8>>2],m=0|_[h+(36*F|0)+12>>2],nt=0|_[m>>2],C=(C=+p[u+(nt<<4)>>2]*v+ +p[u+(nt<<4)+4>>2]*S+ +p[u+(nt<<4)+8>>2]*w)<1.0000000150474662e30?C:1.0000000150474662e30,1!=(0|f)){A=1;do{nt=0|_[m+(A<<2)>>2],C=C>(et=+p[u+(nt<<4)>>2]*v+ +p[u+(nt<<4)+4>>2]*S+ +p[u+(nt<<4)+8>>2]*w)?et:C,A=A+1|0}while((0|A)<(0|f))}}else C=1.0000000150474662e30;p[h+(36*F|0)+32>>2]=-C,F=F+1|0}while((0|F)!=(0|P))}t:do{if((0|_[r>>2])>0){for(A=0,h=0,m=0,f=0,y=0;;){do{if((0|y)==(0|A))if((0|y)<(0|(u=(A=!(0|y))?1:y<<1))){if(0|u&&(_[6630]=1+(0|_[6630]),0|(U=0|di(16+(u<<2|3)|0)))?(_[(U+4+15&-16)-4>>2]=U,m=U+4+15&-16):m=0,A){if(!h){A=1,h=m,J=m,f=m;break}}else{A=0;do{_[m+(A<<2)>>2]=_[h+(A<<2)>>2],A=A+1|0}while((0|A)!=(0|y))}f?(_[6631]=1+(0|_[6631]),Li(0|_[f+-4>>2]),A=u,h=m,J=m,f=m):(A=u,h=m,J=m,f=m)}else A=y,J=m;else J=m}while(0);if(_[h+(y<<2)>>2]=y,(0|(y=y+1|0))>=(0|_[r>>2]))break;m=J}for(Z=b+84+12|0,U=b+84+4|0,Y=b+48+12|0,A=y;;){u=0|_[h+((g=A+-1|0)<<2)>>2],_[6630]=1+(0|_[6630]),(f=0|di(23))?(_[(f+4+15&-16)-4>>2]=f,y=f+4+15&-16):y=0,_[y>>2]=u,m=0|_[_t>>2],v=+p[m+(36*u|0)+20>>2],S=+p[m+(36*u|0)+24>>2],C=+p[m+(36*u|0)+28>>2];do{if((0|A)>1){for(W=A+-2|0,e=1,f=y,B=1,A=g,g=y,j=y;;){I=0|_[h+(W<<2)>>2];e:do{if(v*+p[m+(36*I|0)+20>>2]+S*+p[m+(36*I|0)+24>>2]+C*+p[m+(36*I|0)+28>>2]>.9990000128746033){do{if((0|B)==(0|e)){if((0|e)>=(0|(m=0|e?e<<1:1))){m=e,D=g;break}do{if(m){if(_[6630]=1+(0|_[6630]),!(u=0|di(16+(m<<2|3)|0))){y=0;break}_[(u+4+15&-16)-4>>2]=u,y=u+4+15&-16}else y=0}while(0);if((0|e)>0){u=0;do{_[y+(u<<2)>>2]=_[f+(u<<2)>>2],u=u+1|0}while((0|u)!=(0|e));if(!j){f=y,D=y,j=y;break}}else if(!(0|f)|!(0|j)){f=y,D=y,j=y;break}_[6631]=1+(0|_[6631]),Li(0|_[j+-4>>2]),f=y,D=y,j=y}else m=e,D=g}while(0);if(_[f+(B<<2)>>2]=I,B=B+1|0,(0|A)>0){for(u=0;(0|_[(y=h+(u<<2)|0)>>2])!=(0|I);)if((0|(u=u+1|0))>=(0|A)){H=D,u=j;break e}if(g=h+((e=A+-1|0)<<2)|0,(0|u)>=(0|A)){H=D,u=j;break}_[y>>2]=_[g>>2],_[g>>2]=I,A=e,H=D,u=j}else H=D,u=j}else m=e,H=g,u=j}while(0);if((0|W)<=0)break;W=W+-1|0,e=m,g=H,m=0|_[_t>>2],j=u}if((0|B)<=1){if(1==(0|B)){u=H,B=1,st=344;break}u=H;break}n[b+84+16|0]=1,_[Z>>2]=0,_[U>>2]=0,_[b+84+8>>2]=0,F=0,u=0,C=0,v=0,S=0;do{if(I=0|_[f+(F<<2)>>2],W=0|_[_t>>2],C=+p[W+(36*I|0)+20>>2]+C,v=+p[W+(36*I|0)+24>>2]+v,S=+p[W+(36*I|0)+28>>2]+S,(0|(m=0|_[W+(36*I|0)+4>>2]))>0){D=0;do{j=0|_[(0|_[W+(36*I|0)+12>>2])+(D<<2)>>2],nt=(0|_[16+(0|_[t+52>>2])>>2])+(j<<4)|0,_[b>>2]=_[nt>>2],_[b+4>>2]=_[nt+4>>2],_[b+8>>2]=_[nt+8>>2],_[b+12>>2]=_[nt+12>>2];e:do{if((0|u)>0)for(g=0|_[Z>>2],y=0;;){if((0|_[g+(24*y|0)+20>>2])==(0|j))break e;if((0|(y=y+1|0))>=(0|u)){st=224;break}}else st=224}while(0);if(224==(0|st)){st=0,_[b+48>>2]=_[b>>2],_[b+48+4>>2]=_[b+4>>2],_[b+48+8>>2]=_[b+8>>2],_[b+48+12>>2]=_[b+12>>2];do{if((0|u)==(0|_[b+84+8>>2])){if((0|u)>=(0|(e=0|u?u<<1:1)))break;if(e?(_[6630]=1+(0|_[6630]),(u=0|di(16+(24*e|3)|0))?(_[(u+4+15&-16)-4>>2]=u,u=u+4+15&-16):u=0,g=u,u=0|_[U>>2]):g=0,y=0|_[Z>>2],(0|u)<=0)y&&(st=234);else{m=0;do{nt=y+(24*m|0)|0,_[(st=g+(24*m|0)|0)>>2]=_[nt>>2],_[st+4>>2]=_[nt+4>>2],_[st+8>>2]=_[nt+8>>2],_[st+12>>2]=_[nt+12>>2],_[st+16>>2]=_[nt+16>>2],_[st+20>>2]=_[nt+20>>2],m=m+1|0}while((0|m)!=(0|u));st=234}234==(0|st)&&(st=0,0|n[b+84+16|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[y+-4>>2]),u=0|_[U>>2]),_[Z>>2]=0),n[b+84+16|0]=1,_[Z>>2]=g,_[b+84+8>>2]=e}}while(0);m=0|_[Z>>2],_[(nt=m+(24*u|0)|0)>>2]=_[b+48>>2],_[nt+4>>2]=_[b+48+4>>2],_[nt+8>>2]=_[b+48+8>>2],_[nt+12>>2]=_[b+48+12>>2],_[nt+16>>2]=_[b+48+16>>2],_[m+(24*u|0)+20>>2]=j,u=1+(0|_[U>>2])|0,_[U>>2]=u,m=0|_[W+(36*I|0)+4>>2]}D=D+1|0}while((0|D)<(0|m))}F=F+1|0}while((0|F)!=(0|B));n[b+48+16|0]=1,_[Y>>2]=0,_[b+48+4>>2]=0,_[b+48+8>>2]=0,nt=0|_[f>>2],it=0|_[_t>>2],_[b+48+20>>2]=_[it+(36*nt|0)+20>>2],_[b+48+24>>2]=_[it+(36*nt|0)+24>>2],_[b+48+28>>2]=_[it+(36*nt|0)+28>>2],_[b+48+32>>2]=_[it+(36*nt|0)+32>>2],T=C*(O=1/+l(+(C*C+v*v+S*S))),x=v*O,+d(+(O*=S))>.7071067690849304?(w=0,k=x*(R=1/+l(+(O*O+x*x))),R*=-O):(w=-x*(R=1/+l(+(T*T+x*x))),k=0,R*=T),g=0|_[U>>2];do{if((0|g)<2)if(1==(0|g))for(m=0,g=0,D=0,e=1;;){I=0|_[Z>>2];do{if((0|m)==(0|g)){if((0|g)>=(0|(j=0|g?g<<1:1))){j=g,u=D,y=g;break}do{if(j){if(_[6630]=1+(0|_[6630]),!(u=0|di(16+(24*j|3)|0))){u=0,g=m;break}_[(u+4+15&-16)-4>>2]=u,u=u+4+15&-16,g=m}else u=0}while(0);if((0|g)<=0)0|D&&(st=255);else{y=0;do{nt=D+(24*y|0)|0,_[(st=u+(24*y|0)|0)>>2]=_[nt>>2],_[st+4>>2]=_[nt+4>>2],_[st+8>>2]=_[nt+8>>2],_[st+12>>2]=_[nt+12>>2],_[st+16>>2]=_[nt+16>>2],_[st+20>>2]=_[nt+20>>2],y=y+1|0}while((0|y)!=(0|g));st=255}255==(0|st)&&(st=0,_[6631]=1+(0|_[6631]),Li(0|_[D+-4>>2])),y=m,e=0|_[U>>2]}else j=g,u=D,y=m}while(0);if(_[(nt=u+(24*y|0)|0)>>2]=_[I>>2],_[nt+4>>2]=_[I+4>>2],_[nt+8>>2]=_[I+8>>2],_[nt+12>>2]=_[I+12>>2],_[nt+16>>2]=_[I+16>>2],_[nt+20>>2]=_[I+20>>2],!((0|(m=m+1|0))<(0|e))){st=289;break}g=j,D=u}else u=0,st=331;else{y=0|_[Z>>2],u=0;do{w*+p[(m=y+(24*u|0)|0)>>2]+R*+p[y+(24*u|0)+4>>2]+k*+p[y+(24*u|0)+8>>2]<w*+p[y>>2]+R*+p[y+4>>2]+k*+p[y+8>>2]&&(_[b>>2]=_[y>>2],_[b+4>>2]=_[y+4>>2],_[b+8>>2]=_[y+8>>2],_[b+12>>2]=_[y+12>>2],_[b+16>>2]=_[y+16>>2],_[b+20>>2]=_[y+20>>2],_[y>>2]=_[m>>2],_[y+4>>2]=_[m+4>>2],_[y+8>>2]=_[m+8>>2],_[y+12>>2]=_[m+12>>2],_[y+16>>2]=_[m+16>>2],_[y+20>>2]=_[m+20>>2],_[(st=y+(24*u|0)|0)>>2]=_[b>>2],_[st+4>>2]=_[b+4>>2],_[st+8>>2]=_[b+8>>2],_[st+12>>2]=_[b+12>>2],_[st+16>>2]=_[b+16>>2],_[st+20>>2]=_[b+20>>2]),u=u+1|0}while((0|u)<(0|g));if(p[y+16>>2]=-1.0000000150474662e30,(0|g)>1){C=+p[y>>2],v=+p[y+4>>2],S=+p[y+8>>2],u=1;do{N=+p[y+(24*u|0)>>2]-C,et=((w*(E=+p[y+(24*u|0)+4>>2]-v)-R*N)*O+(T*(R*(et=+p[y+(24*u|0)+8>>2]-S)-k*E)+x*(k*N-w*et)))/+l(+(N*N+E*E+et*et)),p[y+(24*u|0)+16>>2]=et,u=u+1|0}while((0|u)!=(0|g))}if(_[b>>2]=_[y>>2],_[b+4>>2]=_[y+4>>2],_[b+8>>2]=_[y+8>>2],_[b+12>>2]=_[y+12>>2],z(b+84|0,b,1,g+-1|0),m=0|_[Z>>2],_[6630]=1+(0|_[6630]),(u=0|di(43))?(_[(u+4+15&-16)-4>>2]=u,y=u+4+15&-16):y=0,g=0|_[Z>>2],_[y>>2]=_[m>>2],_[y+4>>2]=_[m+4>>2],_[y+8>>2]=_[m+8>>2],_[y+12>>2]=_[m+12>>2],_[y+16>>2]=_[m+16>>2],_[y+20>>2]=_[m+20>>2],_[6630]=1+(0|_[6630]),(u=0|di(67))?(_[(u+4+15&-16)-4>>2]=u,u=u+4+15&-16):u=0,_[u>>2]=_[y>>2],_[u+4>>2]=_[y+4>>2],_[u+8>>2]=_[y+8>>2],_[u+12>>2]=_[y+12>>2],_[u+16>>2]=_[y+16>>2],_[u+20>>2]=_[y+20>>2],0|y&&(_[6631]=1+(0|_[6631]),Li(0|_[y+-4>>2])),_[(y=u+24|0)>>2]=_[g+24>>2],_[y+4>>2]=_[g+24+4>>2],_[y+8>>2]=_[g+24+8>>2],_[y+12>>2]=_[g+24+12>>2],_[y+16>>2]=_[g+24+16>>2],_[y+20>>2]=_[g+24+20>>2],2==(0|(y=0|_[U>>2]))){m=2,st=289;break}for(I=2,m=2,D=2,g=2;;){e:do{if((0|g)>1){for(st=0|_[Z>>2],C=+p[(j=st+(24*I|0)|0)>>2],v=+p[st+(24*I|0)+4>>2],S=+p[st+(24*I|0)+8>>2];e=g+-1|0,!(((E=(N=+p[u+(24*(st=g+-2|0)|0)>>2])-+p[u+(24*e|0)>>2])*((M=+p[u+(24*st|0)+4>>2])-v)-(R=M-+p[u+(24*e|0)+4>>2])*(N-C))*O+(T*(R*((et=+p[u+(24*st|0)+8>>2])-S)-(G=et-+p[u+(24*e|0)+8>>2])*(M-v))+x*(G*(N-C)-E*(et-S)))>0);){if(!((0|g)>2)){m=e,e=D,g=1;break e}m=e,g=e}do{if((0|g)==(0|D)){if((0|D)>=(0|(e=D<<1))){e=D,g=D;break}if(_[6630]=1+(0|_[6630]),(y=0|di(16+(48*D|3)|0))?(_[(y+4+15&-16)-4>>2]=y,g=y+4+15&-16):g=0,(0|m)>0){y=0;do{nt=u+(24*y|0)|0,_[(st=g+(24*y|0)|0)>>2]=_[nt>>2],_[st+4>>2]=_[nt+4>>2],_[st+8>>2]=_[nt+8>>2],_[st+12>>2]=_[nt+12>>2],_[st+16>>2]=_[nt+16>>2],_[st+20>>2]=_[nt+20>>2],y=y+1|0}while((0|y)!=(0|m))}_[6631]=1+(0|_[6631]),Li(0|_[u+-4>>2]),y=0|_[U>>2],u=g,g=m}else e=D}while(0);_[(g=u+(24*g|0)|0)>>2]=_[j>>2],_[g+4>>2]=_[j+4>>2],_[g+8>>2]=_[j+8>>2],_[g+12>>2]=_[j+12>>2],_[g+16>>2]=_[j+16>>2],_[g+20>>2]=_[j+20>>2],m=g=m+1|0}else e=D}while(0);if((0|(I=I+1|0))==(0|y))break;D=e}st=(0|m)>0?289:291}}while(0);if(289==(0|st)){for(st=0,V=0,g=0|_[b+48+4>>2],y=0|_[b+48+8>>2],D=0|n[b+48+16|0];;){P=u+(24*V|0)+20|0;do{if((0|g)==(0|y)){if((0|y)>=(0|(W=0|y?y<<1:1))){F=D,g=y,W=y;break}do{if(W){if(_[6630]=1+(0|_[6630]),!(g=0|di(16+(W<<2|3)|0))){j=0;break}_[(g+4+15&-16)-4>>2]=g,j=g+4+15&-16}else j=0}while(0);if(e=0|_[Y>>2],(0|y)<=0)e&&(st=321);else{g=0;do{_[j+(g<<2)>>2]=_[e+(g<<2)>>2],g=g+1|0}while((0|g)!=(0|y));st=321}321==(0|st)&&(st=0,D<<24>>24&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[Y>>2]=0,y=0|_[b+48+4>>2]),_[Y>>2]=j,_[b+48+8>>2]=W,F=1,g=y}else F=D,W=y}while(0);_[(0|_[Y>>2])+(g<<2)>>2]=_[P>>2],g=g+1|0,_[b+48+4>>2]=g,y=0|_[U>>2];e:do{if((0|y)>0){for(I=0|_[Z>>2],j=0|_[P>>2],e=0;D=I+(24*e|0)+20|0,e=e+1|0,(0|_[D>>2])!=(0|j);)if((0|e)>=(0|y))break e;_[D>>2]=-1}}while(0);if((0|(V=V+1|0))>=(0|m))break;y=W,D=F}n[b+48+16|0]=F,st=291}e:do{if(291==(0|st))if(st=0,(0|y)>0){if(I=0|_[Z>>2],W=0|_[r>>2],F=0|_[_t>>2],P=(0|B)>0,(0|W)<=0){st=331;break}for(D=0;;){V=0|_[I+(24*D|0)+20>>2];i:do{if(-1!=(0|V)){if(!P)for(g=0;;){if((0|(e=0|_[F+(36*g|0)+4>>2]))>0){j=0|_[F+(36*g|0)+12>>2],m=0;do{if((0|_[j+(m<<2)>>2])==(0|V)){m=1;break e}m=m+1|0}while((0|m)<(0|e))}if((0|(g=g+1|0))>=(0|W))break i}j=0;do{for(m=0;(0|_[f+(m<<2)>>2])!=(0|j);)if((0|(m=m+1|0))>=(0|B)){st=306;break}do{if(306==(0|st)){if(st=0,(0|(g=0|_[F+(36*j|0)+4>>2]))<=0)break;e=0|_[F+(36*j|0)+12>>2],m=0;do{if((0|_[e+(m<<2)>>2])==(0|V)){m=1;break e}m=m+1|0}while((0|m)<(0|g))}}while(0);j=j+1|0}while((0|j)<(0|W))}}while(0);if((0|(D=D+1|0))>=(0|y)){st=331;break}}}else st=331}while(0);331==(0|st)&&(st=0,Gt(24+(0|_[t+52>>2])|0,b+48|0),m=0),0|u&&(_[6631]=1+(0|_[6631]),Li(0|_[u+-4>>2])),0|(u=0|_[Y>>2])&&(0|n[b+48+16|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[u+-4>>2])),_[Y>>2]=0),0|(u=0|_[Z>>2])&&(0|n[b+84+16|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[u+-4>>2])),_[Z>>2]=0),m&(0|B)>0?(u=H,st=344):u=H}else u=y,f=y,B=1,A=g,st=344}while(0);if(344==(0|st)){st=0,j=0;do{if(D=0|_[f+(j<<2)>>2],I=0|_[_t>>2],n[b+16|0]=1,_[b+12>>2]=0,_[b+4>>2]=0,_[b+8>>2]=0,(0|(e=0|_[I+(36*D|0)+4>>2]))>0){_[6630]=1+(0|_[6630]),y=0|di(16+(e<<2|3)|0);do{if(y){if(_[(y+4+15&-16)-4>>2]=y,!(0|(m=0|_[b+12>>2]))|!(0|n[b+16|0])){m=y+4+15&-16,g=y+4+15&-16;break}_[6631]=1+(0|_[6631]),Li(0|_[m+-4>>2]),m=y+4+15&-16,g=y+4+15&-16}else m=0,g=0}while(0);n[b+16|0]=1,_[b+12>>2]=m,_[b+8>>2]=e,wn(0|m,0,e<<2),_[b+4>>2]=e,y=0|_[I+(36*D|0)+12>>2],m=0;do{_[g+(m<<2)>>2]=_[y+(m<<2)>>2],m=m+1|0}while((0|m)!=(0|e));m=0|_[b+12>>2]}else _[b+4>>2]=e,m=0;_[b+20>>2]=_[I+(36*D|0)+20>>2],_[b+20+4>>2]=_[I+(36*D|0)+20+4>>2],_[b+20+8>>2]=_[I+(36*D|0)+20+8>>2],_[b+20+12>>2]=_[I+(36*D|0)+20+12>>2],Gt(24+(0|_[t+52>>2])|0,b),0|m&&(0|n[b+16|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[m+-4>>2])),_[b+12>>2]=0),j=j+1|0}while((0|j)<(0|B))}if(!(0|f)|!(0|u)||(_[6631]=1+(0|_[6631]),Li(0|_[u+-4>>2])),!A){nt=J,it=h;break t}}}else nt=0,it=0}while(0);if(i=0|_[t+52>>2],_[i+64>>2]=0,_[i+64+4>>2]=0,_[i+64+8>>2]=0,_[i+64+12>>2]=0,(0|(A=0|_[i+28>>2]))>0){for(tt=0,j=0,f=0,u=0,V=0,F=0,g=0,m=0,P=0,e=0,h=0,B=0,I=0,D=0,y=0;;){if(W=0|_[i+36>>2],(0|($=0|_[W+(36*tt|0)+4>>2]))>0){for(q=65535&tt,K=-65536|tt,Z=0,t=V,U=e,A=W,H=y;;){X=Z+1|0,Y=0|_[A+(36*tt|0)+12>>2],e=65535&_[Y+(Z<<2)>>2],Y=(Z=65535&_[Y+(((0|X)==(0|$)?0:X)<<2)>>2])<<16>>16>e<<16>>16?e:Z,J=Z<<16>>16>e<<16>>16?Z:e,y=Z<<16>>16>e<<16>>16?e:Z,e=Z<<16>>16>e<<16>>16?Z:e,Z=U+-1|0;t:do{if((((65535&y)<<16)+(e<<16>>16)&Z)>>>0<t>>>0&&(pt=0|_[u+((((65535&y)<<16)+(e<<16>>16)&Z)<<2)>>2],-1!=(0|pt))){for(A=pt;e<<16>>16!=(0|o[f+(A<<2)>>1])||y<<16>>16!=(0|o[f+(A<<2)+2>>1]);)if(-1==(0|(A=0|_[m+(A<<2)>>2]))){V=0;break t}V=h+(A<<2)|0}else V=0}while(0);A=0|_[i+16>>2],R=+p[A+(y<<16>>16<<4)>>2]-+p[A+(e<<16>>16<<4)>>2],O=+p[A+(y<<16>>16<<4)+4>>2]-+p[A+(e<<16>>16<<4)+4>>2],w=+p[A+(y<<16>>16<<4)+8>>2]-+p[A+(e<<16>>16<<4)+8>>2],k=1/+l(+(R*R+O*O+w*w)),A=0|_[i+48>>2];t:do{if((0|A)>0)for(e=0|_[i+56>>2],y=0;;){C=+p[e+(y<<4)>>2],v=+p[e+(y<<4)+4>>2],S=+p[e+(y<<4)+8>>2];do{if(!(+d(+(C-R*k))>1e-6)){if(+d(+(v-O*k))>1e-6)break;if(!(+d(+(S-w*k))>1e-6))break t}}while(0);do{if(!(+d(+(R*k+C))>1e-6)){if(+d(+(O*k+v))>1e-6)break;if(!(+d(+(w*k+S))>1e-6))break t}}while(0);if((0|(y=y+1|0))>=(0|A)){st=387;break}}else st=387}while(0);if(387==(0|st)){st=0;do{if((0|A)==(0|_[i+52>>2])){if((0|A)>=(0|(W=0|A?A<<1:1)))break;if(W?(_[6630]=1+(0|_[6630]),(A=0|di(16+(W<<4|3)|0))?(_[(A+4+15&-16)-4>>2]=A,A=A+4+15&-16):A=0,e=A,A=0|_[i+48>>2]):e=0,(0|A)>0){y=0;do{dt=e+(y<<4)|0,lt=(0|_[i+56>>2])+(y<<4)|0,_[dt>>2]=_[lt>>2],_[dt+4>>2]=_[lt+4>>2],_[dt+8>>2]=_[lt+8>>2],_[dt+12>>2]=_[lt+12>>2],y=y+1|0}while((0|y)!=(0|A))}0|(A=0|_[i+56>>2])&&(0|n[i+60|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[A+-4>>2])),_[i+56>>2]=0),n[i+60|0]=1,_[i+56>>2]=e,_[i+52>>2]=W,A=0|_[i+48>>2]}}while(0);lt=0|_[i+56>>2],p[lt+(A<<4)>>2]=R*k,p[lt+(A<<4)+4>>2]=O*k,p[lt+(A<<4)+8>>2]=w*k,p[lt+(A<<4)+12>>2]=0,_[i+48>>2]=1+(0|_[i+48>>2])}t:do{if(V)o[V+2>>1]=q,W=t,e=U,A=B,y=H;else{V=((65535&Y)<<16)+(J<<16>>16)&Z;e:do{if(V>>>0<t>>>0){if(-1==(0|(A=0|_[u+(V<<2)>>2])))break;for(;J<<16>>16!=(0|o[f+(A<<2)>>1])||Y<<16>>16!=(0|o[f+(A<<2)+2>>1]);)if(-1==(0|(A=0|_[m+(A<<2)>>2])))break e;o[(W=h+(A<<2)|0)>>1]=K,o[W+2>>1]=K>>>16,W=t,e=U,A=B,y=H;break t}}while(0);do{if((0|P)==(0|U)){if((0|P)>=(0|(e=0|P?P<<1:1))){e=P;break}do{if(e){if(_[6630]=1+(0|_[6630]),!(A=0|di(16+(e<<2|3)|0))){y=0;break}_[(A+4+15&-16)-4>>2]=A,y=A+4+15&-16}else y=0}while(0);if((0|P)<=0){if(!h){h=y;break}}else{A=0;do{lt=y+(A<<2)|0,dt=s[(dt=h+(A<<2)|0)>>1]|s[dt+2>>1]<<16,o[lt>>1]=dt,o[lt+2>>1]=dt>>>16,A=A+1|0}while((0|A)!=(0|P))}_[6631]=1+(0|_[6631]),Li(0|_[h+-4>>2]),h=y}else e=U}while(0);o[(Z=h+(P<<2)|0)>>1]=K,o[Z+2>>1]=K>>>16,Z=P+1|0;do{if((0|I)==(0|j)){if((0|I)>=(0|(j=0|I?I<<1:1))){j=I;break}do{if(j){if(_[6630]=1+(0|_[6630]),!(A=0|di(16+(j<<2|3)|0))){y=0;break}_[(A+4+15&-16)-4>>2]=A,y=A+4+15&-16}else y=0}while(0);if((0|I)<=0){if(!f){f=y;break}}else{A=0;do{lt=y+(A<<2)|0,dt=s[(dt=f+(A<<2)|0)>>1]|s[dt+2>>1]<<16,o[lt>>1]=dt,o[lt+2>>1]=dt>>>16,A=A+1|0}while((0|A)!=(0|I))}_[6631]=1+(0|_[6631]),Li(0|_[f+-4>>2]),f=y}}while(0);if(o[(lt=f+(I<<2)|0)>>1]=(65535&Y)<<16|65535&J,o[lt+2>>1]=((65535&Y)<<16|65535&J)>>>16,I=I+1|0,(0|U)<(0|e)){do{if((0|t)<(0|e)){do{if((0|B)<(0|e)){do{if(e){if(_[6630]=1+(0|_[6630]),!(A=0|di(16+(e<<2|3)|0))){y=0;break}_[(A+4+15&-16)-4>>2]=A,y=A+4+15&-16}else y=0}while(0);if((0|t)<=0){if(!u){u=y,V=e,H=y;break}}else{A=0;do{_[y+(A<<2)>>2]=_[u+(A<<2)>>2],A=A+1|0}while((0|A)!=(0|t))}_[6631]=1+(0|_[6631]),Li(0|_[u+-4>>2]),u=y,V=e,H=y}else V=B}while(0);if(wn(u+(t<<2)|0,0,(B=e<<2)-(t<<2)|0),(0|F)<(0|e)){do{if((0|g)<(0|e)){do{if(e){if(_[6630]=1+(0|_[6630]),!(A=0|di(16+(3|B)|0))){y=0;break}_[(A+4+15&-16)-4>>2]=A,y=A+4+15&-16}else y=0}while(0);if((0|F)<=0){if(!m){g=e,m=y,A=y;break}}else{A=0;do{_[y+(A<<2)>>2]=_[m+(A<<2)>>2],A=A+1|0}while((0|A)!=(0|F))}_[6631]=1+(0|_[6631]),Li(0|_[m+-4>>2]),g=e,m=y,A=y}else A=D}while(0);wn(m+(F<<2)|0,0,B-(F<<2)|0),D=A}if((0|e)>0&&(wn(0|H,-1,0|B),wn(0|D,-1,0|B)),(0|t)<=0){W=e,F=e,A=V,y=H;break}y=e+-1|0,A=0;do{lt=u+(((s[f+(A<<2)+2>>1]<<16)+(0|o[f+(A<<2)>>1])&y)<<2)|0,_[m+(A<<2)>>2]=_[lt>>2],_[lt>>2]=A,A=A+1|0}while((0|A)!=(0|t));W=e,F=e,A=V,y=H}else W=t,A=B,y=H}while(0);V=((65535&Y)<<16)+(J<<16>>16)&e+-1}else W=t,A=B,y=H;lt=u+(V<<2)|0,_[m+(P<<2)>>2]=_[lt>>2],_[lt>>2]=P,P=Z}}while(0);if((0|X)>=(0|$))break;Z=X,t=W,U=e,B=A,A=0|_[i+36>>2],H=y}B=A,A=0|_[i+28>>2]}else W=V;if((0|(tt=tt+1|0))>=(0|A))break;V=W}if((0|A)>0){I=0|_[i+36>>2],B=0|_[i+16>>2],D=0,C=0;do{if(g=0|_[I+(36*D|0)+4>>2],e=0|_[I+(36*D|0)+12>>2],j=0|_[e>>2],(0|g)>=3){y=1,v=+p[i+64>>2],S=+p[i+68>>2],w=+p[i+72>>2];do{dt=0|_[e+(y<<2)>>2],lt=0|_[e+((0|(y=y+1|0))%(0|g)<<2)>>2],k=+p[B+(j<<4)>>2],R=+p[B+(dt<<4)>>2],x=+p[B+(j<<4)+4>>2],T=+p[B+(dt<<4)+4>>2],G=+p[B+(j<<4)+8>>2],N=+p[B+(dt<<4)+8>>2],O=+p[B+(lt<<4)>>2],M=+p[B+(lt<<4)+4>>2],E=+p[B+(lt<<4)+8>>2],v+=.3333333432674408*(k+R+O)*(et=.5*+l(+(((k-R)*(x-M)-(x-T)*(k-O))*((k-R)*(x-M)-(x-T)*(k-O))+(((x-T)*(G-E)-(G-N)*(x-M))*((x-T)*(G-E)-(G-N)*(x-M))+((G-N)*(k-O)-(k-R)*(G-E))*((G-N)*(k-O)-(k-R)*(G-E)))))),p[i+64>>2]=v,S+=.3333333432674408*(x+T+M)*et,p[i+68>>2]=S,w+=.3333333432674408*(G+N+E)*et,p[i+72>>2]=w,C+=et}while((0|y)!=(g+-1|0))}D=D+1|0}while((0|D)!=(0|A));y=i+64|0,e=f,g=u,f=1}else st=365}else f=0,u=0,m=0,h=0,st=365;if(365==(0|st)&&(C=0,y=i+64|0,e=f,g=u,f=0),k=(w=1/C)*+p[y>>2],p[y>>2]=k,S=w*+p[i+68>>2],p[i+68>>2]=S,w*=+p[i+72>>2],p[i+72>>2]=w,p[i+96>>2]=34028234663852886e22,f)for(u=0|_[i+36>>2],f=0,v=34028234663852886e22;;){if((C=+d(+(+p[u+(36*f|0)+32>>2]+(k*+p[u+(36*f|0)+20>>2]+S*+p[u+(36*f|0)+24>>2]+w*+p[u+(36*f|0)+28>>2]))))<v?p[i+96>>2]=C:C=v,(0|(f=f+1|0))==(0|A)){O=C;break}v=C}else O=34028234663852886e22;if((0|(f=0|_[i+8>>2]))>0){u=0|_[i+16>>2],A=0,k=-34028234663852886e22,R=-34028234663852886e22,w=-34028234663852886e22,S=34028234663852886e22,v=34028234663852886e22,C=34028234663852886e22;do{C=(et=+p[u+(A<<4)>>2])<C?et:C,w=et>w?et:w,v=(et=+p[u+(A<<4)+4>>2])<v?et:v,R=et>R?et:R,S=(et=+p[u+(A<<4)+8>>2])<S?et:S,k=et>k?et:k,A=A+1|0}while((0|A)!=(0|f))}else k=-34028234663852886e22,R=-34028234663852886e22,w=-34028234663852886e22,S=34028234663852886e22,v=34028234663852886e22,C=34028234663852886e22;for(p[i+100>>2]=C+w,p[i+104>>2]=v+R,p[i+108>>2]=S+k,p[i+112>>2]=0,et=w-C,v=R-v,C=k-S,p[i+116>>2]=et,p[i+120>>2]=v,p[i+124>>2]=C,p[i+128>>2]=0,S=O/1.7320507764816284,C=.0009765625*(.5*+p[i+116+((y=et<v?v<C?2:1:et<C?2:0)<<2)>>2]-S),p[i+88>>2]=S,p[i+84>>2]=S,p[i+80>>2]=S,v=.5*+p[i+116+(y<<2)>>2],p[i+80+(y<<2)>>2]=v,A=0;;){if(0|Ot(i)){st=478;break}if(v-=C,p[i+80+(y<<2)>>2]=v,(A=A+1|0)>>>0>=1024){st=477;break}}t:do{if(477==(0|st))p[i+88>>2]=S,p[i+84>>2]=S,p[i+80>>2]=S;else if(478==(0|st)){for(C=.0009765625*(+p[i+96>>2]-S),A=0,u=0|_[i+80+((1<<(1<<y&3)&3)<<2)>>2];f=0|_[i+80+((1<<y&3)<<2)>>2],p[i+80+((1<<y&3)<<2)>>2]=C+(_[a>>2]=f,+p[a>>2]),v=C+ +p[i+80+((1<<(1<<y&3)&3)<<2)>>2],p[i+80+((1<<(1<<y&3)&3)<<2)>>2]=v,A=A+1|0,0|Ot(i);){if(A>>>0>=1024)break t;p[a>>2]=v,u=0|_[a>>2]}_[i+80+((1<<y&3)<<2)>>2]=f,_[i+80+((1<<(1<<y&3)&3)<<2)>>2]=u}}while(0);if(0|e&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),0|h&&(_[6631]=1+(0|_[6631]),Li(0|_[h+-4>>2])),0|m&&(_[6631]=1+(0|_[6631]),Li(0|_[m+-4>>2])),0|g&&(_[6631]=1+(0|_[6631]),Li(0|_[g+-4>>2])),!(0|it)|!(0|nt)||(_[6631]=1+(0|_[6631]),Li(0|_[nt+-4>>2])),y=0|_[r>>2],g=0|_[_t>>2],(0|y)<=0)0|g&&(st=500);else{A=0;do{u=g+(36*A|0)+4|0,f=g+(36*A|0)+16|0,0|(h=0|_[(m=g+(36*A|0)+12|0)>>2])&&(0|n[0|f]&&(_[6631]=1+(0|_[6631]),Li(0|_[h+-4>>2])),_[m>>2]=0),n[0|f]=1,_[m>>2]=0,_[u>>2]=0,_[g+(36*A|0)+8>>2]=0,A=A+1|0}while((0|A)!=(0|y));st=500}return 500==(0|st)&&(0|n[b+104+16|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[g+-4>>2])),_[_t>>2]=0),!(0|rt)|!(0|ot)||(_[6631]=1+(0|_[6631]),Li(0|_[ot+-4>>2])),0|(A=0|_[c>>2])&&(0|n[b+124+56|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[A+-4>>2])),_[c>>2]=0),n[b+124+56|0]=1,_[c>>2]=0,_[b+124+44>>2]=0,_[b+124+48>>2]=0,0|(A=0|_[ct>>2])&&(0|n[b+124+36|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[A+-4>>2])),_[ct>>2]=0),n[b+124+36|0]=1,_[ct>>2]=0,_[b+124+24>>2]=0,_[b+124+28>>2]=0,0|(A=0|_[at>>2])&&(0|n[b+124+16|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[A+-4>>2])),_[at>>2]=0),bt?(_[6631]=1+(0|_[6631]),Li(0|_[bt+-4>>2]),Q=b,1):(Q=b,1)},Fs,Fs,function(t,e){e|=0;var i,o,r=0,s=0,c=0,b=0,d=0,A=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0,O=0,x=0,T=0,P=0;if(o=Q,Q=Q+96|0,r=0|_[216+(t|=0)>>2],0==+p[r+4>>2])return Q=o,0|(x=0);if(x=0|_[e>>2],!(0|Qb[31&_[8+(0|_[r>>2])>>2]](r,0|_[x+188>>2])))return Q=o,0|(x=1);if(e=0|_[x+192>>2],i=0|_[t+216>>2],32!=(0|_[e+4>>2]))return _[o+32>>2]=0,_[o+32+4>>2]=e,_[o+32+8>>2]=x,_[o+32+12>>2]=x+4,_[o+32+16>>2]=-1,_[o+32+20>>2]=-1,ji(t+68|0,t+132|0,o+32|0,i),Q=o,0|(x=1);if(!(0|x)||8!=(0|_[x+236>>2]))return Q=o,0|(x=1);if(e=0|_[x+752>>2])if(0|_[x+988>>2])r=x+988|0;else if(0|(e=0|_[x+988+4>>2])&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[x+988+4>>2]=0,_[x+988+8>>2]=-1,0|(e=0|_[x+988+32>>2])&&(0|n[x+988+36|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[x+988+32>>2]=0),n[x+988+36|0]=1,_[x+988+32>>2]=0,_[x+988+24>>2]=0,_[x+988+28>>2]=0,_[x+988+16>>2]=0,(0|(e=0|_[x+752>>2]))>0){C=0;do{if(y=(f=0|_[x+760>>2])+(44*C|0)|0,v=0|_[f+(44*C|0)+8>>2],B=0|_[f+(44*C|0)+12>>2],e=0|_[f+(44*C|0)+16>>2],m=+p[v+8>>2],h=+p[v+12>>2],g=+p[v+16>>2],A=+p[v+20>>2],s=(I=+p[B+8>>2])<m?I:m,u=(O=+p[B+12>>2])<h?O:h,c=(F=+p[B+16>>2])<g?F:g,b=(W=+p[B+20>>2])<A?W:A,m=m<I?I:m,h=h<O?O:h,g=g<F?F:g,A=A<W?W:A,s=(W=+p[e+8>>2])<s?W:s,u=(F=+p[e+12>>2])<u?F:u,c=(O=+p[e+16>>2])<c?O:c,b=(I=+p[e+20>>2])<b?I:b,A=A<I?I:A,m=(m<W?W:m)+0,h=(h<F?F:h)+0,g=(g<O?O:g)+0,e=0|_[x+988+4>>2])_[x+988+4>>2]=0;else{_[6630]=1+(0|_[6630]),(e=0|di(63))?(_[(e+4+15&-16)-4>>2]=e,e=e+4+15&-16):e=0,d=(r=e)+44|0;do{_[r>>2]=0,r=r+4|0}while((0|r)<(0|d))}_[e+32>>2]=0,_[e+36>>2]=y,_[e+40>>2]=0,p[e>>2]=s,p[e+4>>2]=u,p[e+8>>2]=c,p[e+12>>2]=b,p[e+16>>2]=m,p[e+20>>2]=h,p[e+24>>2]=g,p[e+28>>2]=A,U(x+988|0,0|_[x+988>>2],e),_[x+988+12>>2]=1+(0|_[x+988+12>>2]),_[f+(44*C|0)+40>>2]=e,C=C+1|0,e=0|_[x+752>>2]}while((0|C)<(0|e));r=x+988|0}else r=x+988|0;else r=x+988|0,e=0;if(W=+p[t+180>>2]-+p[t+116>>2],F=+p[t+184>>2]-+p[t+120>>2],O=+p[t+188>>2]-+p[t+124>>2],r=0|_[r>>2])_[o+32>>2]=4068,_[o+32+4>>2]=_[t+116>>2],_[o+32+4+4>>2]=_[t+116+4>>2],_[o+32+4+8>>2]=_[t+116+8>>2],_[o+32+4+12>>2]=_[t+116+12>>2],p[o+32+36>>2]=W,p[o+32+40>>2]=F,p[o+32+44>>2]=O,p[o+32+48>>2]=0,_[o+32+20>>2]=_[t+180>>2],_[o+32+20+4>>2]=_[t+180+4>>2],_[o+32+20+8>>2]=_[t+180+8>>2],_[o+32+20+12>>2]=_[t+180+12>>2],_[o+32+52>>2]=1065353216,_[o+32+56>>2]=0,_[o+32+60>>2]=0,Xe(r,t+116|0,t+180|0,o+32|0),(e=0|_[o+32+56>>2])?(P=0|_[o+32+52>>2],r=1,e=(e-(0|_[x+760>>2])|0)/44|0,d=P,f=3,_[a>>2]=P,s=+p[a>>2]):(r=0,e=-1,d=1065353216,f=0,s=1);else if((0|e)>0){v=0|_[x+760>>2],C=0,r=0,y=-1,d=1065353216,f=0,c=1,s=1;do{P=0|_[v+(44*C|0)+8>>2],T=0|_[v+(44*C|0)+12>>2],B=0|_[v+(44*C|0)+16>>2],(b=+zt(t+116|0,W,F,O,+p[P+8>>2],+p[P+12>>2],+p[P+16>>2],+p[T+8>>2],+p[T+12>>2],+p[T+16>>2],+p[B+8>>2],+p[B+12>>2],+p[B+16>>2],c))>0&&(r=r+1|0,y=C,p[a>>2]=b,d=0|_[a>>2],f=3,s=b,c=b),C=C+1|0}while((0|C)!=(0|e));e=y}else r=0,e=-1,d=1065353216,f=0,s=1;if((0|(v=0|_[x+772>>2]))>0){B=0|_[x+780>>2],C=0;do{P=0|_[B+(104*C|0)+8>>2],k=+p[P+8>>2],j=+p[P+12>>2],I=+p[P+16>>2],P=0|_[B+(104*C|0)+12>>2],u=+p[P+8>>2],h=+p[P+12>>2],S=+p[P+16>>2],P=0|_[B+(104*C|0)+16>>2],w=+p[P+8>>2],R=+p[P+12>>2],D=+p[P+16>>2],_[a>>2]=d,(b=+zt(t+116|0,W,F,O,k,j,I,u,h,S,w,R,D,c=+p[a>>2]))>0&&(r=r+1|0,e=C,p[a>>2]=b,d=0|_[a>>2],f=4,c=b,s=b),P=0|_[B+(104*C|0)+20>>2],(b=+zt(t+116|0,W,F,O,k,j,I,u,h,S,A=+p[P+8>>2],m=+p[P+12>>2],g=+p[P+16>>2],c))>0?(r=r+1|0,e=C,p[a>>2]=b,y=0|_[a>>2],f=4,c=b,s=b):(y=d,_[a>>2]=d,c=+p[a>>2]),(b=+zt(t+116|0,W,F,O,u,h,S,w,R,D,A,m,g,c))>0?(r=r+1|0,e=C,p[a>>2]=b,d=0|_[a>>2],f=4,c=b,s=b):(d=y,_[a>>2]=y,c=+p[a>>2]),(c=+zt(t+116|0,W,F,O,k,j,I,w,R,D,A,m,g,c))>0&&(r=r+1|0,e=C,p[a>>2]=c,d=0|_[a>>2],f=4,s=c),C=C+1|0}while((0|C)!=(0|v));d=f,h=s}else d=f,h=s;return r&&h<=+p[i+4>>2]?(_[o+32>>2]=0,_[o+32+4>>2]=e,A=+p[t+180>>2]-+p[t+116>>2],u=+p[t+184>>2]-+p[t+120>>2],m=+p[t+188>>2]-+p[t+124>>2],s=1/+l(+(A*A+u*u+m*m)),3==(0|d)?(r=0|_[x+748+12>>2],A*(s=+p[r+(44*e|0)+20>>2])+u*(b=+p[r+(44*e|0)+24>>2])+m*(c=+p[r+(44*e|0)+28>>2])>0?(A=-s,b=-b,c=-c,s=0):(A=s,s=+p[r+(44*e|0)+32>>2])):(A=-A*s,b=-u*s,c=-m*s,s=0),_[o>>2]=x,_[o+4>>2]=o+32,p[o+8>>2]=A,p[o+12>>2]=b,p[o+16>>2]=c,p[o+20>>2]=s,p[o+24>>2]=h,Ob[15&_[12+(0|_[i>>2])>>2]](i,o,1),Q=o,0|(P=1)):(Q=o,0|(P=1))},function(t,e){t|=0;var i=0,o=0,r=0;if(!(0|(e|=0)&&2&_[e+236>>2]))return 0|(r=1);if((0|(r=0|_[t+488>>2]))<=0)return 0|(r=1);for(i=0|_[t+496>>2],t=0;;){if(o=0|_[i+(t<<2)>>2],0|n[o+20|0]){if((0|_[o+28>>2])==(0|e)){t=0,i=8;break}if((0|_[o+32>>2])==(0|e)){t=0,i=8;break}}if((0|(t=t+1|0))>=(0|r)){t=1,i=8;break}}return 8==(0|i)?0|t:0},function(t,e){t|=0;var i,n=0;return(0|(i=0|_[(e|=0)>>2]))==(0|(n=0|_[t+80>>2]))?0|(n=0):(o[t+10>>1]&o[e+4>>1])<<16>>16&&(o[e+6>>1]&o[t+8>>1])<<16>>16?(e=0|_[t+92>>2],0|(n=0|Hb[63&_[28+(0|_[e>>2])>>2]](e,n,i))):0|(n=0)},function(t,e){return e|=0,0|_[(0|_[20+(t|=0)>>2])+(e<<2)>>2]},function(t,e){var i;return e|=0,t=0|_[64+(t|=0)>>2],0|(i=0|_[t+8>>2])?(e=0|_[t+12>>2],_[t+12>>2]=_[e>>2],_[t+8>>2]=i+-1,0|e):(_[6630]=1+(0|_[6630]),(t=0|di(e+19|0))?(_[(t+4+15&-16)-4>>2]=t,0|(e=t+4+15&-16)):0|(e=0))},function(t,e){var i;return e|=0,i=0|_[8+(t|=0)>>2],rd[127&_[i+60>>2]](e,i,0|_[t+4>>2]),0},function(t,e){e|=0;var i,n,o=0;return i=Q,Q=Q+32|0,o=0|_[216+(t|=0)>>2],0==+p[o+4>>2]?(Q=i,0|(o=0)):(e=0|_[e>>2],0|Qb[31&_[8+(0|_[o>>2])>>2]](o,0|_[e+188>>2])?(n=0|_[e+192>>2],o=0|_[t+216>>2],_[i>>2]=0,_[i+4>>2]=n,_[i+8>>2]=e,_[i+12>>2]=e+4,_[i+16>>2]=-1,_[i+20>>2]=-1,ji(t+68|0,t+132|0,i,o),Q=i,0|(o=1)):(Q=i,0|(o=1)))},function(t,e){return e|=0,t=0|_[20+(t|=0)>>2],0|Qb[31&_[8+(0|_[t>>2])>>2]](t,e)},function(t,e){return e|=0,t=0|_[12+(t|=0)>>2],0|Qb[31&_[8+(0|_[t>>2])>>2]](t,e)},function(t,e){e|=0;var i,n,o,r,s=0;return i=Q,Q=Q+32|0,s=0|_[184+(t|=0)>>2],0==+p[s+4>>2]?(Q=i,0|(s=0)):(e=0|_[e>>2],0|Qb[31&_[8+(0|_[s>>2])>>2]](s,0|_[e+188>>2])?(o=0|_[t+192>>2],r=0|_[e+192>>2],s=0|_[t+184>>2],n=+p[t+188>>2],_[i>>2]=0,_[i+4>>2]=r,_[i+8>>2]=e,_[i+12>>2]=e+4,_[i+16>>2]=-1,_[i+20>>2]=-1,mi(o,t+36|0,t+100|0,i,s,n),Q=i,0|(s=1)):(Q=i,0|(s=1)))},function(t,e){t|=0;var i,n=0,o=0;return i=Q,Q=Q+96|0,(0|(e=0|_[(e|=0)>>2]))==(0|_[t+4>>2])?(Q=i,1):(n=0|_[t+12>>2],0|Qb[31&_[8+(0|_[n>>2])>>2]](n,0|_[e+188>>2])?(n=0|_[t+4>>2],o=0|_[n+192>>2],_[i+64>>2]=0,_[i+64+4>>2]=o,_[i+64+8>>2]=n,_[i+64+12>>2]=n+4,_[i+64+16>>2]=-1,_[i+64+20>>2]=-1,n=0|_[e+192>>2],_[i+40>>2]=0,_[i+40+4>>2]=n,_[i+40+8>>2]=e,_[i+40+12>>2]=e+4,_[i+40+16>>2]=-1,_[i+40+20>>2]=-1,e=0|_[24+(0|_[t+8>>2])>>2],0|(e=0|Zb[31&_[8+(0|_[e>>2])>>2]](e,i+64|0,i+40|0,0))&&(o=0|_[t+12>>2],_[i+4>>2]=0,_[i+8>>2]=i+64,_[i+12>>2]=i+40,_[i>>2]=6872,_[i+32>>2]=o,ld[31&_[8+(0|_[e>>2])>>2]](e,i+64|0,i+40|0,28+(0|_[t+8>>2])|0,i),zb[511&_[_[e>>2]>>2]](e),o=0|_[24+(0|_[t+8>>2])>>2],id[127&_[60+(0|_[o>>2])>>2]](o,e)),Q=i,1):(Q=i,1))},function(t,e){e|=0;var i=0;return i=0|_[4+(t|=0)>>2],(0|_[e>>2])!=(0|i)&&(0|_[e+4>>2])!=(0|i)||(i=0|_[t+8>>2],rd[127&_[32+(0|_[i>>2])>>2]](i,e,0|_[t+12>>2])),0},function(t,e){return e|=0,t=0|_[4+(t|=0)>>2],0|((0|_[e>>2])==(0|t)?1:(0|_[e+4>>2])==(0|t))},tb,tb,tb,tb,tb,tb,tb,tb,tb],Eb=[Ma,function(t,e,i){e|=0,i=+i;var n,o,r=0,s=0,c=0,a=0,b=0,d=0,A=0,f=0,u=0,m=0;return o=Q,Q=Q+32|0,a=+p[56+(t|=0)>>2],u=+p[t+72>>2]-a,c=+p[t+60>>2],A=+p[t+76>>2]-c,b=+p[t+64>>2],m=+p[t+80>>2]-b,d=+p[t+88>>2]-a,f=+p[t+92>>2]-c,n=(A*(r=+p[t+96>>2]-b)-m*f)*(s=1/+l(+((u*f-A*d)*(u*f-A*d)+((A*r-m*f)*(A*r-m*f)+(m*d-u*r)*(m*d-u*r))))),r=(m*d-u*r)*s,s*=u*f-A*d,!((c=+p[e+8>>2]*s+(+p[e>>2]*n+ +p[e+4>>2]*r)-(b*s+(a*n+c*r)))>=-i)|!(c<=i)?(Q=o,0|(e=0)):(cd[127&_[104+(0|_[t>>2])>>2]](t,0,o+16|0,o),b=+p[o+16>>2],u=+p[o>>2]-b,A=+p[o+16+4>>2],d=+p[o+4>>2]-A,a=+p[o+16+8>>2],f=+p[o+8>>2]-a,m=1/+l(+((r*u-n*d)*(r*u-n*d)+((s*d-r*f)*(s*d-r*f)+(n*f-s*u)*(n*f-s*u)))),+p[e+8>>2]*((r*u-n*d)*m)+(+p[e>>2]*((s*d-r*f)*m)+ +p[e+4>>2]*((n*f-s*u)*m))-(a*((r*u-n*d)*m)+(b*((s*d-r*f)*m)+A*((n*f-s*u)*m)))<-i?(Q=o,0|(e=0)):(cd[127&_[104+(0|_[t>>2])>>2]](t,1,o+16|0,o),b=+p[o+16>>2],u=+p[o>>2]-b,A=+p[o+16+4>>2],d=+p[o+4>>2]-A,a=+p[o+16+8>>2],f=+p[o+8>>2]-a,m=1/+l(+((r*u-n*d)*(r*u-n*d)+((s*d-r*f)*(s*d-r*f)+(n*f-s*u)*(n*f-s*u)))),+p[e+8>>2]*((r*u-n*d)*m)+(+p[e>>2]*((s*d-r*f)*m)+ +p[e+4>>2]*((n*f-s*u)*m))-(a*((r*u-n*d)*m)+(b*((s*d-r*f)*m)+A*((n*f-s*u)*m)))<-i?(Q=o,0|(e=0)):(cd[127&_[104+(0|_[t>>2])>>2]](t,2,o+16|0,o),b=+p[o+16>>2],u=+p[o>>2]-b,A=+p[o+16+4>>2],d=+p[o+4>>2]-A,a=+p[o+16+8>>2],f=+p[o+8>>2]-a,m=1/+l(+((r*u-n*d)*(r*u-n*d)+((s*d-r*f)*(s*d-r*f)+(n*f-s*u)*(n*f-s*u)))),+p[e+8>>2]*((r*u-n*d)*m)+(+p[e>>2]*((s*d-r*f)*m)+ +p[e+4>>2]*((n*f-s*u)*m))-(a*((r*u-n*d)*m)+(b*((s*d-r*f)*m)+A*((n*f-s*u)*m)))<-i?(Q=o,0|(e=0)):(Q=o,0|(e=1)))))},_c,_c,function(t,e,i){e|=0,i=+i;var n,o,_,r=0;return n=+p[28+(t|=0)>>2],o=+p[t+32>>2],_=+p[t+36>>2],(r=+p[e>>2])<=n+i&&r>=-n-i&&(r=+p[e+4>>2])<=o+i&&r>=-o-i&&(r=+p[e+8>>2])<=_+i?0|(e=r>=-_-i):0|(e=0)},Ma,Ma,Ma],Hb=[Fa,function(t,e,i){t|=0,e|=0;var n=0;return n=0|_[(i|=0)>>2],t=0|ds(0|_[e>>2]),n=0|ds(n),0|t&&rd[127&_[28+(0|_[t>>2])>>2]](t,i,e),n?(rd[127&_[28+(0|_[n>>2])>>2]](n,e,i),0):0},function(t,e,i){t|=0,e|=0,i|=0;do{if(!(32==(0|e)&32==(0|i))){if(32==(0|e)){if((0|i)<20){t=t+96|0;break}if((i+-21|0)>>>0<9){t=t+104|0;break}}else{if((0|e)<20&32==(0|i)){t=t+100|0;break}if((e+-21|0)>>>0<9&32==(0|i)){t=t+108|0;break}if(8==(0|e)&8==(0|i)){t=t+60|0;break}if(8==(0|e)&1==(0|i)){t=t+76|0;break}if(1==(0|e)&8==(0|i)){t=t+80|0;break}}if(!(i|e)){t=t+72|0;break}if((0|e)<20&28==(0|i)){t=t+88|0;break}if(28==(0|e)&(0|i)<20){t=t+84|0;break}if((0|e)<20){if((0|i)<20){t=t+32|0;break}if((i+-21|0)>>>0<9){t=t+36|0;break}}else{if((0|i)<20&(e+-21|0)>>>0<9){t=t+40|0;break}if(31==(0|e)){if(31==(0|i)){t=t+48|0;break}t=t+44|0;break}}if(31==(0|i)){t=t+52|0;break}t=t+56|0;break}t=t+92|0}while(0);return 0|_[t>>2]},function(t,e,i){var o=0,s=0,p=0,c=0,a=0,b=0,d=0,l=0,A=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0,O=0,x=0,T=0,P=0,V=0;if(Y(t|=0,e|=0,i|=0),W=0|_[t+872>>2],_[e+292>>2]=W,W){if(W=0|Qb[31&_[28+(0|_[i>>2])>>2]](i,t+868|0),_[e+260>>2]=W,0|W){if(c=0|_[e+292>>2],d=0|Hb[63&_[16+(0|_[i>>2])>>2]](i,4,c),(0|c)>0)for(o=0|_[d+8>>2],s=0;;){if((a=0|_[(0|_[t+880>>2])+(s<<2)>>2])?(p=a,b=0|Qb[31&_[28+(0|_[i>>2])>>2]](i,a)):(p=0,b=0),_[o>>2]=b,0|Qb[31&_[24+(0|_[i>>2])>>2]](i,p)||(W=0|Hb[63&_[16+(0|_[i>>2])>>2]](i,16,1),B=0|_[W+8>>2],_[B+12>>2]=_[a+16>>2],_[B+4>>2]=_[a+8>>2],_[B>>2]=_[a+4>>2],_[B+8>>2]=_[a+12>>2],ld[31&_[20+(0|_[i>>2])>>2]](i,W,13085,1414349395,p)),(0|(s=s+1|0))>=(0|c)){o=i;break}o=o+4|0}else o=i;ld[31&_[20+(0|_[o>>2])>>2]](i,d,13085,1497453121,t+868|0)}}else _[e+260>>2]=0;if(W=0|_[t+712>>2],_[e+296>>2]=W,W)if(W=0|Qb[31&_[28+(0|_[i>>2])>>2]](i,t+708|0),_[e+264>>2]=W,W){if(B=0|_[e+296>>2],W=0|Hb[63&_[16+(0|_[i>>2])>>2]](i,100,B),(0|B)>0)for(D=0,I=0|_[W+8>>2],f=0,y=0,g=0,o=0,s=0,u=0,w=0,v=0,p=0,m=0,c=0,a=0,j=0,S=0;;){d=0|_[t+720>>2],_[I+52>>2]=_[d+(104*D|0)+56>>2],_[I+56>>2]=_[d+(104*D|0)+60>>2],_[I+60>>2]=_[d+(104*D|0)+64>>2],_[I+64>>2]=_[d+(104*D|0)+68>>2],_[I+88>>2]=_[d+(104*D|0)+92>>2],b=n[d+(104*D|0)+100|0]<<7&255,_[I+92>>2]=b<<24>>24>>7<<24>>24,_[I+84>>2]=_[d+(104*D|0)+88>>2],(b=0|_[d+(104*D|0)+4>>2])?(b=0|Qb[31&_[28+(0|_[i>>2])>>2]](i,b),d=0|_[t+720>>2]):b=0,_[I>>2]=b,A=d+(104*D|0)|0,_[I+68>>2]=_[d+(104*D|0)+72>>2],_[I+72>>2]=_[d+(104*D|0)+76>>2],_[I+76>>2]=_[d+(104*D|0)+80>>2],_[I+80>>2]=_[d+(104*D|0)+84>>2],_[I+4>>2]=_[d+(104*D|0)+8>>2],_[I+8>>2]=_[d+(104*D|0)+12>>2],_[I+12>>2]=_[d+(104*D|0)+16>>2],_[I+16>>2]=_[d+(104*D|0)+20>>2],_[I+20>>2]=_[d+(104*D|0)+24>>2],_[I+24>>2]=_[d+(104*D|0)+28>>2],_[I+28>>2]=_[d+(104*D|0)+32>>2],_[I+32>>2]=_[d+(104*D|0)+36>>2],_[I+36>>2]=_[d+(104*D|0)+40>>2],_[I+40>>2]=_[d+(104*D|0)+44>>2],_[I+44>>2]=_[d+(104*D|0)+48>>2],_[I+48>>2]=_[d+(104*D|0)+52>>2],C=9*(A+~(A<<15)>>10^A+~(A<<15))|0,h=(C=(C^=C>>6)+~(C<<11)>>16^C+~(C<<11))&c+-1;t:do{if(h>>>0<u>>>0&&(F=0|_[s+(h<<2)>>2],-1!=(0|F))){for(b=F;(0|_[o+(b<<3)>>2])!=(0|A);)if(-1==(0|(b=0|_[p+(b<<2)>>2]))){T=27;break t}_[a+(b<<2)>>2]=D,h=g,A=w,d=v,l=j,b=S}else T=27}while(0);if(27==(0|T)){T=0;do{if((0|m)==(0|c))if((0|c)<(0|(d=0|c?c<<1:1))){if(0|d&&(_[6630]=1+(0|_[6630]),0|(O=0|di(16+(d<<2|3)|0)))?(_[(O+4+15&-16)-4>>2]=O,l=O+4+15&-16):l=0,(0|c)<=0){if(!a){R=d,a=l,b=c;break}}else{b=0;do{_[l+(b<<2)>>2]=_[a+(b<<2)>>2],b=b+1|0}while((0|b)!=(0|c))}_[6631]=1+(0|_[6631]),Li(0|_[a+-4>>2]),R=d,a=l,b=c}else R=c,b=c;else R=c,b=m}while(0);_[a+(b<<2)>>2]=D,k=m+1|0;do{if((0|y)==(0|g))if((0|y)<(0|(d=0|y?y<<1:1))){if(0|d&&(_[6630]=1+(0|_[6630]),0|(x=0|di(16+(d<<3|3)|0)))?(_[(x+4+15&-16)-4>>2]=x,l=x+4+15&-16):l=0,(0|y)<=0){if(!o){g=d,o=l;break}}else{b=0;do{P=0|_[4+(V=o+(b<<3)|0)>>2],_[(g=l+(b<<3)|0)>>2]=_[V>>2],_[g+4>>2]=P,b=b+1|0}while((0|b)!=(0|y))}_[6631]=1+(0|_[6631]),Li(0|_[o+-4>>2]),g=d,o=l}else g=y}while(0);if(_[o+(y<<3)>>2]=A,y=y+1|0,(0|c)<(0|R)){if((0|u)<(0|R)){do{if((0|f)<(0|R)){do{if(R){if(_[6630]=1+(0|_[6630]),!(c=0|di(16+(R<<2|3)|0))){b=0;break}_[(c+4+15&-16)-4>>2]=c,b=c+4+15&-16}else b=0}while(0);if((0|u)<=0){if(!s){f=R,s=b,h=b;break}}else{c=0;do{_[b+(c<<2)>>2]=_[s+(c<<2)>>2],c=c+1|0}while((0|c)!=(0|u))}_[6631]=1+(0|_[6631]),Li(0|_[s+-4>>2]),f=R,s=b,h=b}else h=S}while(0);if(wn(s+(u<<2)|0,0,(A=R<<2)-(u<<2)|0),(0|w)<(0|R)){do{if((0|v)<(0|R)){do{if(R){if(_[6630]=1+(0|_[6630]),!(c=0|di(16+(3|A)|0))){b=0;break}_[(c+4+15&-16)-4>>2]=c,b=c+4+15&-16}else b=0}while(0);if((0|w)<=0){if(!p){d=R,p=b,c=b;break}}else{c=0;do{_[b+(c<<2)>>2]=_[p+(c<<2)>>2],c=c+1|0}while((0|c)!=(0|w))}_[6631]=1+(0|_[6631]),Li(0|_[p+-4>>2]),d=R,p=b,c=b}else d=v,c=j}while(0);wn(p+(w<<2)|0,0,A-(w<<2)|0),l=c}else d=v,l=j;if((0|R)>0&&(wn(0|h,-1,0|A),wn(0|l,-1,0|A)),(0|u)>0){b=R+-1|0,c=0;do{V=9*((V=0|_[o+(c<<3)>>2])+~(V<<15)>>10^V+~(V<<15))|0,V=s+((((V^=V>>6)+~(V<<11)>>16^V+~(V<<11))&b)<<2)|0,_[p+(c<<2)>>2]=_[V>>2],_[V>>2]=c,c=c+1|0}while((0|c)!=(0|u));b=R,A=R,c=h}else b=R,A=R,c=h}else b=u,A=w,d=v,l=j,c=S;h=C&R+-1,u=b,b=c}else A=w,d=v,l=j,b=S;h=s+(h<<2)|0,_[p+(m<<2)>>2]=_[h>>2],_[h>>2]=m,h=g,m=k,c=R}if((0|(D=D+1|0))>=(0|B))break;I=I+100|0,g=h,w=A,v=d,j=l,S=b}else o=0,s=0,p=0,c=0,a=0;ld[31&_[20+(0|_[i>>2])>>2]](i,W,13106,1145979475,t+708|0),S=o}else S=0,s=0,p=0,c=0,a=0;else _[e+264>>2]=0,S=0,s=0,p=0,c=0,a=0;if(V=0|_[t+732>>2],_[e+300>>2]=V,V){if(V=0|Qb[31&_[28+(0|_[i>>2])>>2]](i,0|_[t+740>>2]),_[e+268>>2]=V,0|V){if(f=0|_[e+300>>2],u=0|Hb[63&_[16+(0|_[i>>2])>>2]](i,20,f),(0|f)>0)for(d=0|_[t+740>>2],l=0|_[u+8>>2],A=0,o=d;b=n[d+(52*A|0)+20|0]<<7&255,_[l+16>>2]=b<<24>>24>>7<<24>>24,(b=0|_[d+(52*A|0)+4>>2])?(b=0|Qb[31&_[28+(0|_[i>>2])>>2]](i,b),o=d=0|_[t+740>>2]):b=0,_[l>>2]=b,b=(b=0|_[d+(52*A|0)+8>>2])?(b-(0|_[t+720>>2])|0)/104|0:-1,_[l+4>>2]=b,b=(b=0|_[d+(52*A|0)+12>>2])?(b-(0|_[t+720>>2])|0)/104|0:-1,_[l+8>>2]=b,_[l+12>>2]=_[d+(52*A|0)+16>>2],!((0|(A=A+1|0))>=(0|f));)l=l+20|0;else o=0|_[t+740>>2];ld[31&_[20+(0|_[i>>2])>>2]](i,u,13123,1497453121,o)}}else _[e+268>>2]=0;if(V=0|_[t+752>>2],_[e+304>>2]=V,V){if(V=0|Qb[31&_[28+(0|_[i>>2])>>2]](i,0|_[t+760>>2]),_[e+272>>2]=V,0|V){if(f=0|_[e+304>>2],u=0|Hb[63&_[16+(0|_[i>>2])>>2]](i,36,f),(0|f)>0)for(d=0|_[t+760>>2],l=0|_[u+8>>2],A=0,o=d;(b=0|_[d+(44*A|0)+4>>2])?(b=0|Qb[31&_[28+(0|_[i>>2])>>2]](i,b),o=d=0|_[t+760>>2]):b=0,_[l+16>>2]=b,_[l>>2]=_[d+(44*A|0)+20>>2],_[l+4>>2]=_[d+(44*A|0)+24>>2],_[l+8>>2]=_[d+(44*A|0)+28>>2],_[l+12>>2]=_[d+(44*A|0)+32>>2],b=(b=0|_[d+(44*A|0)+8>>2])?(b-(0|_[t+720>>2])|0)/104|0:-1,_[l+20>>2]=b,b=(b=0|_[d+(44*A|0)+12>>2])?(b-(0|_[t+720>>2])|0)/104|0:-1,_[l+24>>2]=b,b=(b=0|_[d+(44*A|0)+16>>2])?(b-(0|_[t+720>>2])|0)/104|0:-1,_[l+28>>2]=b,_[l+32>>2]=_[d+(44*A|0)+36>>2],!((0|(A=A+1|0))>=(0|f));)l=l+36|0;else o=0|_[t+760>>2];ld[31&_[20+(0|_[i>>2])>>2]](i,u,13140,1497453121,o)}}else _[e+272>>2]=0;if(V=0|_[t+772>>2],_[e+308>>2]=V,V){if(V=0|Qb[31&_[28+(0|_[i>>2])>>2]](i,0|_[t+780>>2]),_[e+276>>2]=V,0|V){if(f=0|_[e+308>>2],u=0|Hb[63&_[16+(0|_[i>>2])>>2]](i,100,f),(0|f)>0)for(d=0|_[t+780>>2],l=0|_[u+8>>2],A=0,o=d;_[l>>2]=_[d+(104*A|0)+32>>2],_[l+4>>2]=_[d+(104*A|0)+36>>2],_[l+8>>2]=_[d+(104*A|0)+40>>2],_[l+12>>2]=_[d+(104*A|0)+44>>2],b=(b=0|_[d+8>>2])?(b-(0|_[t+720>>2])|0)/104|0:-1,_[l+68>>2]=b,_[l+16>>2]=_[d+(104*A|0)+48>>2],_[l+20>>2]=_[d+(104*A|0)+52>>2],_[l+24>>2]=_[d+(104*A|0)+56>>2],_[l+28>>2]=_[d+(104*A|0)+60>>2],b=(b=0|_[d+116>>2])?(b-(0|_[t+720>>2])|0)/104|0:-1,_[l+72>>2]=b,_[l+32>>2]=_[d+(104*A|0)+64>>2],_[l+36>>2]=_[d+(104*A|0)+68>>2],_[l+40>>2]=_[d+(104*A|0)+72>>2],_[l+44>>2]=_[d+(104*A|0)+76>>2],b=(b=0|_[d+224>>2])?(b-(0|_[t+720>>2])|0)/104|0:-1,_[l+76>>2]=b,_[l+48>>2]=_[d+(104*A|0)+80>>2],_[l+52>>2]=_[d+(104*A|0)+84>>2],_[l+56>>2]=_[d+(104*A|0)+88>>2],_[l+60>>2]=_[d+(104*A|0)+92>>2],b=(b=0|_[d+332>>2])?(b-(0|_[t+720>>2])|0)/104|0:-1,_[l+80>>2]=b,_[l+88>>2]=_[d+(104*A|0)+96>>2],_[l+92>>2]=_[d+(104*A|0)+100>>2],(b=0|_[d+(104*A|0)+4>>2])?(b=0|Qb[31&_[28+(0|_[i>>2])>>2]](i,b),o=d=0|_[t+780>>2]):b=0,_[l+64>>2]=b,_[l+84>>2]=_[d+(104*A|0)+24>>2],!((0|(A=A+1|0))>=(0|f));)l=l+100|0;else o=0|_[t+780>>2];ld[31&_[20+(0|_[i>>2])>>2]](i,u,13157,1497453121,o)}}else _[e+276>>2]=0;if(V=0|_[t+792>>2],_[e+312>>2]=V,V)if(V=0|Qb[31&_[28+(0|_[i>>2])>>2]](i,0|_[t+800>>2]),_[e+280>>2]=V,V){if(A=0|_[e+312>>2],f=0|Hb[63&_[16+(0|_[i>>2])>>2]](i,92,A),(0|A)>0)for(d=0|_[f+8>>2],l=0;b=0|_[t+800>>2],_[d>>2]=_[b+(96*l|0)+28>>2],_[d+4>>2]=_[b+(96*l|0)+32>>2],_[d+8>>2]=_[b+(96*l|0)+36>>2],_[d+12>>2]=_[b+(96*l|0)+40>>2],_[d+16>>2]=_[b+(96*l|0)+44>>2],_[d+20>>2]=_[b+(96*l|0)+48>>2],_[d+24>>2]=_[b+(96*l|0)+52>>2],_[d+28>>2]=_[b+(96*l|0)+56>>2],_[d+32>>2]=_[b+(96*l|0)+60>>2],_[d+36>>2]=_[b+(96*l|0)+64>>2],_[d+40>>2]=_[b+(96*l|0)+68>>2],_[d+44>>2]=_[b+(96*l|0)+72>>2],_[d+48>>2]=_[b+(96*l|0)+76>>2],_[d+52>>2]=_[b+(96*l|0)+80>>2],_[d+56>>2]=_[b+(96*l|0)+84>>2],_[d+60>>2]=_[b+(96*l|0)+88>>2],_[d+88>>2]=_[b+(96*l|0)+92>>2],_[d+64>>2]=_[b+(96*l|0)+4>>2],_[d+68>>2]=_[b+(96*l|0)+8>>2],_[d+72>>2]=_[b+(96*l|0)+12>>2],_[d+76>>2]=_[b+(96*l|0)+16>>2],o=(o=0|_[b+(96*l|0)>>2])?(o-(0|_[t+720>>2])|0)/104|0:-1,_[d+84>>2]=o,o=(o=0|_[b+(96*l|0)+20>>2])?0|Qb[31&_[28+(0|_[i>>2])>>2]](i,o):0,_[d+80>>2]=o,!((0|(l=l+1|0))>=(0|A));)d=d+92|0;ld[31&_[20+(0|_[i>>2])>>2]](i,f,13175,1497453121,0|_[t+800>>2]),v=i}else v=i;else _[e+280>>2]=0,v=i;if(_[e+352>>2]=_[t+316>>2],_[e+328>>2]=_[t+292>>2],_[e+344>>2]=_[t+308>>2],_[e+324>>2]=_[t+288>>2],_[e+340>>2]=_[t+304>>2],_[e+336>>2]=_[t+300>>2],_[e+412>>2]=_[t+376>>2],_[e+416>>2]=_[t+380>>2],_[e+420>>2]=_[t+384>>2],_[e+408>>2]=_[t+372>>2],u=0|_[t+364>>2],_[e+332>>2]=_[t+296>>2],_[e+356>>2]=_[t+320>>2],_[e+424>>2]=_[t+388>>2],_[e+348>>2]=_[t+312>>2],_[e+360>>2]=_[t+324>>2],_[e+364>>2]=_[t+328>>2],_[e+368>>2]=_[t+332>>2],_[e+372>>2]=_[t+336>>2],_[e+404>>2]=_[t+368>>2],_[e+400>>2]=u,_[e+376>>2]=_[t+340>>2],_[e+380>>2]=_[t+344>>2],_[e+384>>2]=_[t+348>>2],_[e+388>>2]=_[t+352>>2],_[e+392>>2]=_[t+356>>2],_[e+396>>2]=_[t+360>>2],u=0|Qb[31&_[28+(0|_[v>>2])>>2]](i,t+472|0),_[e+256>>2]=u,u=0|Hb[63&_[16+(0|_[i>>2])>>2]](i,192,1),f=0|_[u+8>>2],_[f+96>>2]=_[t+632>>2],_[f+100>>2]=_[t+636>>2],_[f+104>>2]=_[t+640>>2],_[f+108>>2]=_[t+644>>2],_[f+112>>2]=_[t+648>>2],_[f+116>>2]=_[t+652>>2],_[f+120>>2]=_[t+656>>2],_[f+124>>2]=_[t+660>>2],_[f+128>>2]=_[t+664>>2],_[f+132>>2]=_[t+668>>2],_[f+136>>2]=_[t+672>>2],_[f+140>>2]=_[t+676>>2],_[f+180>>2]=r[t+473|0],_[f+176>>2]=r[t+472|0],_[f+144>>2]=_[t+520>>2],_[f+148>>2]=_[t+524>>2],_[f+152>>2]=_[t+528>>2],_[f+156>>2]=_[t+532>>2],V=0|_[t+484>>2],_[f+168>>2]=V,V){if(V=0|Qb[31&_[28+(0|_[v>>2])>>2]](i,0|_[t+492>>2]),l=0|_[f+168>>2],_[f+160>>2]=V,0|l){if(A=0|Hb[63&_[16+(0|_[i>>2])>>2]](i,16,l),(0|l)>0)for(o=0|_[t+492>>2],b=0|_[A+8>>2],d=0;_[b>>2]=_[o+(d<<4)>>2],_[b+4>>2]=_[o+(d<<4)+4>>2],_[b+8>>2]=_[o+(d<<4)+8>>2],_[b+12>>2]=_[o+(d<<4)+12>>2],(0|(d=d+1|0))!=(0|l);)b=b+16|0;else o=0|_[t+492>>2];ld[31&_[20+(0|_[i>>2])>>2]](i,A,21709,1497453121,o)}}else _[f+160>>2]=0;if(_[f+184>>2]=_[t+476>>2],_[f>>2]=_[t+536>>2],_[f+4>>2]=_[t+540>>2],_[f+8>>2]=_[t+544>>2],_[f+12>>2]=_[t+548>>2],_[f+16>>2]=_[t+552>>2],_[f+20>>2]=_[t+556>>2],_[f+24>>2]=_[t+560>>2],_[f+28>>2]=_[t+564>>2],_[f+32>>2]=_[t+568>>2],_[f+36>>2]=_[t+572>>2],_[f+40>>2]=_[t+576>>2],_[f+44>>2]=_[t+580>>2],_[f+48>>2]=_[t+584>>2],_[f+52>>2]=_[t+588>>2],_[f+56>>2]=_[t+592>>2],_[f+60>>2]=_[t+596>>2],_[f+64>>2]=_[t+600>>2],_[f+68>>2]=_[t+604>>2],_[f+72>>2]=_[t+608>>2],_[f+76>>2]=_[t+612>>2],_[f+80>>2]=_[t+616>>2],_[f+84>>2]=_[t+620>>2],_[f+88>>2]=_[t+624>>2],_[f+92>>2]=_[t+628>>2],V=0|_[t+504>>2],_[f+172>>2]=V,V){if(V=0|Qb[31&_[28+(0|_[v>>2])>>2]](i,0|_[t+512>>2]),l=0|_[f+172>>2],_[f+164>>2]=V,0|l){if(A=0|Hb[63&_[16+(0|_[i>>2])>>2]](i,4,l),(0|l)>0)for(o=0|_[t+512>>2],b=0,d=0|_[A+8>>2];_[d>>2]=_[o+(b<<2)>>2],(0|(b=b+1|0))!=(0|l);)d=d+4|0;else o=0|_[t+512>>2];ld[31&_[20+(0|_[i>>2])>>2]](i,A,13195,1497453121,o)}}else _[f+164>>2]=0;if(ld[31&_[20+(0|_[i>>2])>>2]](i,u,13201,1497453121,t+472|0),V=0|_[t+1112>>2],_[e+316>>2]=V,V){if(V=0|Qb[31&_[28+(0|_[v>>2])>>2]](i,0|_[_[t+1120>>2]>>2]),g=0|_[e+316>>2],_[e+284>>2]=V,0|g){if(C=0|Hb[63&_[16+(0|_[i>>2])>>2]](i,348,g),(0|g)>0)for(y=c+-1|0,m=0,h=0|_[C+8>>2];;){if(c=0|_[(0|_[t+1120>>2])+(m<<2)>>2],_[(V=h+320|0)>>2]=_[c+360>>2],_[h+256>>2]=_[c+332>>2],_[h+260>>2]=_[c+336>>2],_[h+264>>2]=_[c+340>>2],_[h+268>>2]=_[c+344>>2],_[h+344>>2]=_[c+380>>2],_[h+340>>2]=r[c+377|0],_[h+160>>2]=_[c+228>>2],_[h+164>>2]=_[c+232>>2],_[h+168>>2]=_[c+236>>2],_[h+172>>2]=_[c+240>>2],_[h+336>>2]=r[c+376|0],_[h+208>>2]=_[c+276>>2],_[h+212>>2]=_[c+280>>2],_[h+216>>2]=_[c+284>>2],_[h+220>>2]=_[c+288>>2],_[h+224>>2]=_[c+292>>2],_[h+228>>2]=_[c+296>>2],_[h+232>>2]=_[c+300>>2],_[h+236>>2]=_[c+304>>2],_[h>>2]=_[c+60>>2],_[h+4>>2]=_[c+64>>2],_[h+8>>2]=_[c+68>>2],_[h+12>>2]=_[c+72>>2],_[h+16>>2]=_[c+76>>2],_[h+20>>2]=_[c+80>>2],_[h+24>>2]=_[c+84>>2],_[h+28>>2]=_[c+88>>2],_[h+32>>2]=_[c+92>>2],_[h+36>>2]=_[c+96>>2],_[h+40>>2]=_[c+100>>2],_[h+44>>2]=_[c+104>>2],_[h+48>>2]=_[c+108>>2],_[h+52>>2]=_[c+112>>2],_[h+56>>2]=_[c+116>>2],_[h+60>>2]=_[c+120>>2],_[h+296>>2]=_[c+124>>2],_[h+300>>2]=_[c+128>>2],_[h+112>>2]=_[c+180>>2],_[h+116>>2]=_[c+184>>2],_[h+120>>2]=_[c+188>>2],_[h+124>>2]=_[c+192>>2],_[h+128>>2]=_[c+196>>2],_[h+132>>2]=_[c+200>>2],_[h+136>>2]=_[c+204>>2],_[h+140>>2]=_[c+208>>2],_[h+144>>2]=_[c+212>>2],_[h+148>>2]=_[c+216>>2],_[h+152>>2]=_[c+220>>2],_[h+156>>2]=_[c+224>>2],_[(o=h+316|0)>>2]=_[c+356>>2],_[h+64>>2]=_[c+132>>2],_[h+68>>2]=_[c+136>>2],_[h+72>>2]=_[c+140>>2],_[h+76>>2]=_[c+144>>2],_[h+80>>2]=_[c+148>>2],_[h+84>>2]=_[c+152>>2],_[h+88>>2]=_[c+156>>2],_[h+92>>2]=_[c+160>>2],_[h+96>>2]=_[c+164>>2],_[h+100>>2]=_[c+168>>2],_[h+104>>2]=_[c+172>>2],_[h+108>>2]=_[c+176>>2],_[h+240>>2]=_[c+316>>2],_[h+244>>2]=_[c+320>>2],_[h+248>>2]=_[c+324>>2],_[h+252>>2]=_[c+328>>2],_[h+324>>2]=_[c+364>>2],_[h+328>>2]=_[c+368>>2],_[h+312>>2]=_[c+352>>2],_[o>>2]=_[c+356>>2],_[V>>2]=_[c+360>>2],_[h+332>>2]=_[c+372>>2],V=0|_[c+44>>2],_[(o=h+284|0)>>2]=V,_[(f=h+292|0)>>2]=_[c+4>>2],_[(u=h+288|0)>>2]=_[c+24>>2],_[h+304>>2]=_[c+308>>2],_[h+176>>2]=_[c+244>>2],_[h+180>>2]=_[c+248>>2],_[h+184>>2]=_[c+252>>2],_[h+188>>2]=_[c+256>>2],_[h+192>>2]=_[c+260>>2],_[h+196>>2]=_[c+264>>2],_[h+200>>2]=_[c+268>>2],_[h+204>>2]=_[c+272>>2],_[h+308>>2]=_[c+312>>2],V){if(V=0|Qb[31&_[28+(0|_[v>>2])>>2]](i,0|_[c+52>>2]),_[h+272>>2]=V,0|V){if(d=0|_[o>>2],A=0|Hb[63&_[16+(0|_[i>>2])>>2]](i,16,d),(0|d)>0)for(o=52+(0|_[(0|_[t+1120>>2])+(m<<2)>>2])|0,l=0|_[o>>2],c=0,b=0|_[A+8>>2];_[b>>2]=_[l+(c<<4)>>2],_[b+4>>2]=_[l+(c<<4)+4>>2],_[b+8>>2]=_[l+(c<<4)+8>>2],_[b+12>>2]=_[l+(c<<4)+12>>2],(0|(c=c+1|0))!=(0|d);)b=b+16|0;else o=52+(0|_[(0|_[t+1120>>2])+(m<<2)>>2])|0;ld[31&_[20+(0|_[i>>2])>>2]](i,A,21709,1497453121,0|_[o>>2])}}else _[h+272>>2]=0;if(0|_[f>>2]){if(V=0|Qb[31&_[28+(0|_[v>>2])>>2]](i,0|_[12+(0|_[(0|_[t+1120>>2])+(m<<2)>>2])>>2]),_[h+280>>2]=V,0|V){if(d=0|_[f>>2],A=0|Hb[63&_[16+(0|_[i>>2])>>2]](i,4,d),(0|d)>0)for(o=12+(0|_[(0|_[t+1120>>2])+(m<<2)>>2])|0,l=0|_[o>>2],c=0,b=0|_[A+8>>2];_[b>>2]=_[l+(c<<2)>>2],(0|(c=c+1|0))!=(0|d);)b=b+4|0;else o=12+(0|_[(0|_[t+1120>>2])+(m<<2)>>2])|0;ld[31&_[20+(0|_[i>>2])>>2]](i,A,13195,1497453121,0|_[o>>2])}}else _[h+280>>2]=0;if(0|_[u>>2]){if(V=0|Qb[31&_[28+(0|_[v>>2])>>2]](i,20+(0|_[(0|_[t+1120>>2])+(m<<2)>>2])|0),_[h+276>>2]=V,0|V){if(f=0|_[f>>2],u=0|Hb[63&_[16+(0|_[i>>2])>>2]](i,4,f),(0|f)>0)for(o=0|_[(0|_[t+1120>>2])+(m<<2)>>2],A=0|_[o+32>>2],d=0,l=0|_[u+8>>2];;){if(c=9*(~((b=0|_[A+(d<<2)>>2])<<15)+b>>10^~(b<<15)+b)|0,c=0|_[s+((((c^=c>>6)+~(c<<11)>>16^c+~(c<<11))&y)<<2)>>2],(0|_[S+(c<<3)>>2])!=(0|b))do{c=0|_[p+(c<<2)>>2]}while((0|_[S+(c<<3)>>2])!=(0|b));if(_[l>>2]=_[a+(c<<2)>>2],(0|(d=d+1|0))==(0|f))break;l=l+4|0}else o=0|_[(0|_[t+1120>>2])+(m<<2)>>2];ld[31&_[20+(0|_[i>>2])>>2]](i,u,13238,1497453121,o+20|0)}}else _[h+276>>2]=0;if((0|(m=m+1|0))>=(0|g))break;h=h+348|0}ld[31&_[20+(0|_[i>>2])>>2]](i,C,13218,1497453121,0|_[_[t+1120>>2]>>2])}}else _[e+284>>2]=0;if(V=0|_[t+852>>2],_[e+320>>2]=V,V){if(V=0|Qb[31&_[28+(0|_[v>>2])>>2]](i,0|_[t+860>>2]),_[e+288>>2]=V,0|V){if(l=0|_[t+852>>2],A=0|Hb[63&_[16+(0|_[i>>2])>>2]](i,104,l),(0|l)>0)for(b=0,d=0|_[A+8>>2];o=0|_[(0|_[t+860>>2])+(b<<2)>>2],o=0|Lb[127&_[20+(0|_[o>>2])>>2]](o),_[d+96>>2]=o,o=(0|_[t+860>>2])+(b<<2)|0,V=0|_[o>>2],_[d+8>>2]=_[V+28>>2],_[d+12>>2]=_[V+32>>2],_[d+16>>2]=_[V+36>>2],_[d+20>>2]=_[V+40>>2],_[d+24>>2]=_[V+44>>2],_[d+28>>2]=_[V+48>>2],_[d+32>>2]=_[V+52>>2],_[d+36>>2]=_[V+56>>2],_[d+40>>2]=_[V+60>>2],_[d+44>>2]=_[V+64>>2],_[d+48>>2]=_[V+68>>2],_[d+52>>2]=r[V+152|0],V=d+56|0,_[d>>2]=0,_[(f=d+4|0)>>2]=0,_[V>>2]=0,_[V+4>>2]=0,_[V+8>>2]=0,_[V+12>>2]=0,_[V+16>>2]=0,_[V+20>>2]=0,_[V+24>>2]=0,_[V+28>>2]=0,0|(o=0|_[4+(0|_[o>>2])>>2])&&(_[d+88>>2]=1,V=0|Qb[31&_[28+(0|_[v>>2])>>2]](i,o),_[d>>2]=V),o=0|_[(0|_[t+860>>2])+(b<<2)>>2],(c=0|_[o+12>>2])&&(_[d+88>>2]=3,o=0|Qb[31&_[28+(0|_[v>>2])>>2]](i,c),_[d>>2]=o,o=0|_[(0|_[t+860>>2])+(b<<2)>>2]),(c=0|_[o+8>>2])&&(_[d+88>>2]=2,o=0|Qb[31&_[28+(0|_[v>>2])>>2]](i,c),_[d>>2]=o,o=0|_[(0|_[t+860>>2])+(b<<2)>>2]),(c=0|_[o+16>>2])&&(_[d+92>>2]=1,o=0|Qb[31&_[28+(0|_[v>>2])>>2]](i,c),_[f>>2]=o,o=0|_[(0|_[t+860>>2])+(b<<2)>>2]),(c=0|_[o+24>>2])&&(_[d+92>>2]=3,o=0|Qb[31&_[28+(0|_[v>>2])>>2]](i,c),_[f>>2]=o,o=0|_[(0|_[t+860>>2])+(b<<2)>>2]),0|(o=0|_[o+20>>2])&&(_[d+92>>2]=2,V=0|Qb[31&_[28+(0|_[v>>2])>>2]](i,o),_[f>>2]=V),!((0|(b=b+1|0))>=(0|l));)d=d+104|0;ld[31&_[20+(0|_[i>>2])>>2]](i,A,13242,1497453121,0|_[t+860>>2])}}else _[e+288>>2]=0;return 0|S&&(_[6631]=1+(0|_[6631]),Li(0|_[S+-4>>2])),0|a&&(_[6631]=1+(0|_[6631]),Li(0|_[a+-4>>2])),0|p&&(_[6631]=1+(0|_[6631]),Li(0|_[p+-4>>2])),s?(_[6631]=1+(0|_[6631]),Li(0|_[s+-4>>2]),13262):13262},function(t,e,i){var n,o;return t|=0,e|=0,n=0|Qb[31&_[40+(0|_[(i|=0)>>2])>>2]](i,t),o=0|Qb[31&_[28+(0|_[i>>2])>>2]](i,n),_[e>>2]=o,0|o&&id[127&_[48+(0|_[i>>2])>>2]](i,n),_[e+4>>2]=_[t+4>>2],19630},function(t,e,i){var n,o;return t|=0,e|=0,n=0|Qb[31&_[40+(0|_[(i|=0)>>2])>>2]](i,t),o=0|Qb[31&_[28+(0|_[i>>2])>>2]](i,n),_[e>>2]=o,0|o&&id[127&_[48+(0|_[i>>2])>>2]](i,n),_[e+4>>2]=_[t+4>>2],_[e+28>>2]=_[t+28>>2],_[e+32>>2]=_[t+32>>2],_[e+36>>2]=_[t+36>>2],_[e+40>>2]=_[t+40>>2],_[e+12>>2]=_[t+12>>2],_[e+16>>2]=_[t+16>>2],_[e+20>>2]=_[t+20>>2],_[e+24>>2]=_[t+24>>2],_[e+44>>2]=_[t+44>>2],13475},function(t,e,i){return Y(t|=0,e|=0,i|=0),_[e+256>>2]=_[t+264>>2],_[e+260>>2]=_[t+268>>2],_[e+264>>2]=_[t+272>>2],_[e+268>>2]=_[t+276>>2],_[e+272>>2]=_[t+280>>2],_[e+276>>2]=_[t+284>>2],_[e+280>>2]=_[t+288>>2],_[e+284>>2]=_[t+292>>2],_[e+288>>2]=_[t+296>>2],_[e+292>>2]=_[t+300>>2],_[e+296>>2]=_[t+304>>2],_[e+300>>2]=_[t+308>>2],_[e+304>>2]=_[t+312>>2],_[e+308>>2]=_[t+316>>2],_[e+312>>2]=_[t+320>>2],_[e+316>>2]=_[t+324>>2],_[e+320>>2]=_[t+328>>2],_[e+324>>2]=_[t+332>>2],_[e+328>>2]=_[t+336>>2],_[e+332>>2]=_[t+340>>2],_[e+448>>2]=_[t+344>>2],_[e+336>>2]=_[t+544>>2],_[e+340>>2]=_[t+548>>2],_[e+344>>2]=_[t+552>>2],_[e+348>>2]=_[t+556>>2],_[e+352>>2]=_[t+348>>2],_[e+356>>2]=_[t+352>>2],_[e+360>>2]=_[t+356>>2],_[e+364>>2]=_[t+360>>2],_[e+368>>2]=_[t+364>>2],_[e+372>>2]=_[t+368>>2],_[e+376>>2]=_[t+372>>2],_[e+380>>2]=_[t+376>>2],_[e+384>>2]=_[t+380>>2],_[e+388>>2]=_[t+384>>2],_[e+392>>2]=_[t+388>>2],_[e+396>>2]=_[t+392>>2],_[e+400>>2]=_[t+396>>2],_[e+404>>2]=_[t+400>>2],_[e+408>>2]=_[t+404>>2],_[e+412>>2]=_[t+408>>2],_[e+416>>2]=_[t+412>>2],_[e+420>>2]=_[t+416>>2],_[e+424>>2]=_[t+420>>2],_[e+428>>2]=_[t+424>>2],_[e+432>>2]=_[t+428>>2],_[e+436>>2]=_[t+432>>2],_[e+440>>2]=_[t+436>>2],_[e+444>>2]=_[t+440>>2],_[e+452>>2]=_[t+444>>2],_[e+456>>2]=_[t+448>>2],_[e+484>>2]=r[t+452|0],_[e+460>>2]=_[t+456>>2],_[e+464>>2]=_[t+460>>2],_[e+468>>2]=_[t+464>>2],_[e+472>>2]=_[t+468>>2],_[e+476>>2]=_[t+472>>2],_[e+480>>2]=_[t+476>>2],14251},ee,function(t,e,i){return ee(t|=0,e|=0,i|=0),_[e+52>>2]=_[t+48>>2],_[e+56>>2]=_[t+52>>2],_[e+60>>2]=_[t+56>>2],_[e+64>>2]=_[t+60>>2],_[e+68>>2]=_[t+64>>2],_[e+72>>2]=_[t+68>>2],_[e+76>>2]=_[t+72>>2],_[e+80>>2]=_[t+76>>2],_[e+84>>2]=_[t+80>>2],_[e+88>>2]=_[t+84>>2],_[e+92>>2]=_[t+88>>2],_[e+96>>2]=_[t+92>>2],_[e+100>>2]=_[t+96>>2],_[e+104>>2]=_[t+100>>2],_[e+108>>2]=_[t+104>>2],_[e+112>>2]=_[t+108>>2],_[e+116>>2]=_[t+112>>2],_[e+120>>2]=_[t+116>>2],_[e+124>>2]=_[t+120>>2],_[e+128>>2]=_[t+124>>2],_[e+132>>2]=_[t+128>>2],_[e+136>>2]=_[t+132>>2],_[e+140>>2]=_[t+136>>2],_[e+144>>2]=_[t+140>>2],_[e+148>>2]=_[t+144>>2],_[e+152>>2]=_[t+148>>2],_[e+156>>2]=_[t+152>>2],_[e+160>>2]=_[t+156>>2],_[e+164>>2]=_[t+160>>2],_[e+168>>2]=_[t+164>>2],_[e+172>>2]=_[t+168>>2],_[e+176>>2]=_[t+172>>2],_[e+228>>2]=_[t+868>>2],_[e+212>>2]=_[t+872>>2],_[e+196>>2]=_[t+680>>2],_[e+180>>2]=_[t+696>>2],_[e+232>>2]=_[t+932>>2],_[e+216>>2]=_[t+936>>2],_[e+200>>2]=_[t+684>>2],_[e+184>>2]=_[t+700>>2],_[e+236>>2]=_[t+996>>2],_[e+220>>2]=_[t+1e3>>2],_[e+204>>2]=_[t+688>>2],_[e+188>>2]=_[t+704>>2],_[e+244>>2]=r[t+1300|0],_[e+248>>2]=r[t+1301|0],14844},function(t,e,i){return ee(t|=0,e|=0,i|=0),_[e+52>>2]=_[t+48>>2],_[e+56>>2]=_[t+52>>2],_[e+60>>2]=_[t+56>>2],_[e+64>>2]=_[t+60>>2],_[e+68>>2]=_[t+64>>2],_[e+72>>2]=_[t+68>>2],_[e+76>>2]=_[t+72>>2],_[e+80>>2]=_[t+76>>2],_[e+84>>2]=_[t+80>>2],_[e+88>>2]=_[t+84>>2],_[e+92>>2]=_[t+88>>2],_[e+96>>2]=_[t+92>>2],_[e+100>>2]=_[t+96>>2],_[e+104>>2]=_[t+100>>2],_[e+108>>2]=_[t+104>>2],_[e+112>>2]=_[t+108>>2],_[e+116>>2]=_[t+112>>2],_[e+120>>2]=_[t+116>>2],_[e+124>>2]=_[t+120>>2],_[e+128>>2]=_[t+124>>2],_[e+132>>2]=_[t+128>>2],_[e+136>>2]=_[t+132>>2],_[e+140>>2]=_[t+136>>2],_[e+144>>2]=_[t+140>>2],_[e+148>>2]=_[t+144>>2],_[e+152>>2]=_[t+148>>2],_[e+156>>2]=_[t+152>>2],_[e+160>>2]=_[t+156>>2],_[e+164>>2]=_[t+160>>2],_[e+168>>2]=_[t+164>>2],_[e+172>>2]=_[t+168>>2],_[e+176>>2]=_[t+172>>2],_[e+228>>2]=_[t+868>>2],_[e+212>>2]=_[t+872>>2],_[e+196>>2]=_[t+680>>2],_[e+180>>2]=_[t+696>>2],_[e+232>>2]=_[t+932>>2],_[e+216>>2]=_[t+936>>2],_[e+200>>2]=_[t+684>>2],_[e+184>>2]=_[t+700>>2],_[e+236>>2]=_[t+996>>2],_[e+220>>2]=_[t+1e3>>2],_[e+204>>2]=_[t+688>>2],_[e+188>>2]=_[t+704>>2],_[e+244>>2]=r[t+1300|0],_[e+248>>2]=r[t+1301|0],_[e+276>>2]=_[t+1316>>2],_[e+324>>2]=_[t+1364>>2],_[e+252>>2]=r[t+1309|0],_[e+300>>2]=_[t+1340>>2],_[e+280>>2]=_[t+1320>>2],_[e+328>>2]=_[t+1368>>2],_[e+256>>2]=r[t+1310|0],_[e+304>>2]=_[t+1344>>2],_[e+284>>2]=_[t+1324>>2],_[e+332>>2]=_[t+1372>>2],_[e+260>>2]=r[t+1311|0],_[e+308>>2]=_[t+1348>>2],_[e+288>>2]=_[t+1328>>2],_[e+336>>2]=_[t+1376>>2],_[e+264>>2]=r[t+1312|0],_[e+312>>2]=_[t+1352>>2],_[e+292>>2]=_[t+1332>>2],_[e+340>>2]=_[t+1380>>2],_[e+268>>2]=r[t+1313|0],_[e+316>>2]=_[t+1356>>2],_[e+296>>2]=_[t+1336>>2],_[e+344>>2]=_[t+1384>>2],_[e+272>>2]=r[t+1314|0],_[e+320>>2]=_[t+1360>>2],14898},function(t,e,i){return ee(t|=0,e|=0,i|=0),_[e+52>>2]=_[t+300>>2],_[e+56>>2]=_[t+304>>2],_[e+60>>2]=_[t+308>>2],_[e+64>>2]=_[t+312>>2],_[e+68>>2]=_[t+316>>2],_[e+72>>2]=_[t+320>>2],_[e+76>>2]=_[t+324>>2],_[e+80>>2]=_[t+328>>2],14964},function(t,e,i){return ee(t|=0,e|=0,i|=0),_[e+52>>2]=_[t+52>>2],_[e+56>>2]=_[t+56>>2],_[e+60>>2]=_[t+60>>2],_[e+64>>2]=_[t+64>>2],_[e+68>>2]=_[t+68>>2],_[e+72>>2]=_[t+72>>2],_[e+76>>2]=_[t+76>>2],_[e+80>>2]=_[t+80>>2],_[e+84>>2]=_[t+84>>2],_[e+88>>2]=_[t+88>>2],_[e+92>>2]=_[t+92>>2],_[e+96>>2]=_[t+96>>2],_[e+100>>2]=_[t+100>>2],_[e+104>>2]=_[t+104>>2],_[e+108>>2]=_[t+108>>2],_[e+112>>2]=_[t+112>>2],_[e+116>>2]=_[t+116>>2],_[e+120>>2]=_[t+120>>2],_[e+124>>2]=_[t+124>>2],_[e+128>>2]=_[t+128>>2],_[e+132>>2]=_[t+132>>2],_[e+136>>2]=_[t+136>>2],_[e+140>>2]=_[t+140>>2],_[e+144>>2]=_[t+144>>2],_[e+148>>2]=_[t+148>>2],_[e+152>>2]=_[t+152>>2],_[e+156>>2]=_[t+156>>2],_[e+160>>2]=_[t+160>>2],_[e+164>>2]=_[t+164>>2],_[e+168>>2]=_[t+168>>2],_[e+172>>2]=_[t+172>>2],_[e+176>>2]=_[t+176>>2],_[e+180>>2]=_[t+188>>2],_[e+184>>2]=_[t+184>>2],_[e+188>>2]=_[t+196>>2],_[e+192>>2]=_[t+192>>2],_[e+196>>2]=r[t+180|0],_[e+200>>2]=r[t+49|0],15086},function(t,e,i){return ee(t|=0,e|=0,i|=0),_[e+52>>2]=_[t+300>>2],_[e+56>>2]=_[t+304>>2],_[e+60>>2]=_[t+308>>2],_[e+64>>2]=_[t+312>>2],_[e+68>>2]=_[t+316>>2],_[e+72>>2]=_[t+320>>2],_[e+76>>2]=_[t+324>>2],_[e+80>>2]=_[t+328>>2],_[e+84>>2]=_[t+332>>2],_[e+88>>2]=_[t+336>>2],_[e+92>>2]=_[t+340>>2],_[e+96>>2]=_[t+344>>2],_[e+100>>2]=_[t+348>>2],_[e+104>>2]=_[t+352>>2],_[e+108>>2]=_[t+356>>2],_[e+112>>2]=_[t+360>>2],_[e+116>>2]=_[t+364>>2],_[e+120>>2]=_[t+368>>2],_[e+124>>2]=_[t+372>>2],_[e+128>>2]=_[t+376>>2],_[e+132>>2]=_[t+380>>2],_[e+136>>2]=_[t+384>>2],_[e+140>>2]=_[t+388>>2],_[e+144>>2]=_[t+392>>2],_[e+148>>2]=_[t+396>>2],_[e+152>>2]=_[t+400>>2],_[e+156>>2]=_[t+404>>2],_[e+160>>2]=_[t+408>>2],_[e+164>>2]=_[t+412>>2],_[e+168>>2]=_[t+416>>2],_[e+172>>2]=_[t+420>>2],_[e+176>>2]=_[t+424>>2],_[e+180>>2]=_[t+444>>2],_[e+184>>2]=_[t+448>>2],_[e+188>>2]=_[t+452>>2],_[e+192>>2]=_[t+428>>2],_[e+196>>2]=_[t+432>>2],_[e+200>>2]=_[t+436>>2],_[e+204>>2]=_[t+440>>2],15130},function(t,e,i){var n,o=0,s=0,c=0;return ee(t|=0,e|=0,i|=0),_[e+52>>2]=_[t+552>>2],_[e+56>>2]=_[t+556>>2],_[e+60>>2]=_[t+560>>2],_[e+64>>2]=_[t+564>>2],_[e+68>>2]=_[t+568>>2],_[e+72>>2]=_[t+572>>2],_[e+76>>2]=_[t+576>>2],_[e+80>>2]=_[t+580>>2],_[e+84>>2]=_[t+584>>2],_[e+88>>2]=_[t+588>>2],_[e+92>>2]=_[t+592>>2],_[e+96>>2]=_[t+596>>2],_[e+100>>2]=_[t+600>>2],_[e+104>>2]=_[t+604>>2],_[e+108>>2]=_[t+608>>2],_[e+112>>2]=_[t+612>>2],_[e+116>>2]=_[t+616>>2],_[e+120>>2]=_[t+620>>2],_[e+124>>2]=_[t+624>>2],_[e+128>>2]=_[t+628>>2],_[e+132>>2]=_[t+632>>2],_[e+136>>2]=_[t+636>>2],_[e+140>>2]=_[t+640>>2],_[e+144>>2]=_[t+644>>2],_[e+148>>2]=_[t+648>>2],_[e+152>>2]=_[t+652>>2],_[e+156>>2]=_[t+656>>2],_[e+160>>2]=_[t+660>>2],_[e+164>>2]=_[t+664>>2],_[e+168>>2]=_[t+668>>2],_[e+172>>2]=_[t+672>>2],_[e+176>>2]=_[t+676>>2],_[e+184>>2]=r[t+736|0],_[e+188>>2]=r[t+737|0],_[e+196>>2]=_[t+684>>2],_[e+192>>2]=_[t+680>>2],_[e+180>>2]=r[t+740|0],o=((n=+p[t+688>>2])-(s=+p[t+692>>2]))%6.2831854820251465<-3.1415927410125732?(n-s)%6.2831854820251465+6.2831854820251465:(n-s)%6.2831854820251465>3.1415927410125732?(n-s)%6.2831854820251465-6.2831854820251465:(n-s)%6.2831854820251465,p[e+200>>2]=o,(n+s)%6.2831854820251465<-3.1415927410125732?(s=(n+s)%6.2831854820251465+6.2831854820251465,p[(i=e+204|0)>>2]=s,i=0|_[(i=t+696|0)>>2],_[(c=e+208|0)>>2]=i,c=0|_[(c=t+700|0)>>2],_[(i=e+212|0)>>2]=c,t=0|_[(t=t+704|0)>>2],_[(e=e+216|0)>>2]=t,15180):(n+s)%6.2831854820251465>3.1415927410125732?(s=(n+s)%6.2831854820251465-6.2831854820251465,p[(c=e+204|0)>>2]=s,c=0|_[(c=t+696|0)>>2],_[(i=e+208|0)>>2]=c,i=0|_[(i=t+700|0)>>2],_[(c=e+212|0)>>2]=i,t=0|_[(t=t+704|0)>>2],_[(c=e+216|0)>>2]=t,15180):(s=(n+s)%6.2831854820251465,p[(c=e+204|0)>>2]=s,c=0|_[(c=t+696|0)>>2],_[(i=e+208|0)>>2]=c,i=0|_[(i=t+700|0)>>2],_[(c=e+212|0)>>2]=i,t=0|_[(t=t+704|0)>>2],_[(c=e+216|0)>>2]=t,15180)},Y,function(t,e,i){t|=0,e|=0,i|=0;var o,r=0,s=0,c=0,a=0,b=0,d=0,l=0;if(_[6605]=1+(0|_[6605]),2&_[t+4>>2]?(b=0|_[e+192>>2],c=+Wb[1&_[20+(0|_[b>>2])>>2]](b,.019999999552965164),b=0|_[i+192>>2],a=c<(a=+Wb[1&_[20+(0|_[b>>2])>>2]](b,.019999999552965164))?c:a):a=.019999999552965164,c=(o=+p[e+184>>2])<(c=+p[i+184>>2])?o:c,r=0|_[t+68>>2],s=0|_[r+8>>2])l=0|_[r+12>>2],_[r+12>>2]=_[l>>2],_[r+8>>2]=s+-1,b=l,r=l;else{if(4&_[t+4>>2])return 0|(t=0);_[6630]=1+(0|_[6630]),(r=0|di(791))?(_[(r+4+15&-16)-4>>2]=r,r=r+4+15&-16):r=0,b=r}if(_[r>>2]=1025,_[b+116>>2]=0,n[b+120|0]=0,_[(r=b+124|0)>>2]=0,_[r+4>>2]=0,_[r+8>>2]=0,_[r+12>>2]=0,_[r+16>>2]=0,_[r+20>>2]=0,_[r+24>>2]=0,_[r+28>>2]=0,_[b+300>>2]=0,n[b+304|0]=0,_[(r=b+308|0)>>2]=0,_[r+4>>2]=0,_[r+8>>2]=0,_[r+12>>2]=0,_[r+16>>2]=0,_[r+20>>2]=0,_[r+24>>2]=0,_[r+28>>2]=0,_[b+484>>2]=0,n[b+488|0]=0,_[(r=b+492|0)>>2]=0,_[r+4>>2]=0,_[r+8>>2]=0,_[r+12>>2]=0,_[r+16>>2]=0,_[r+20>>2]=0,_[r+24>>2]=0,_[r+28>>2]=0,_[b+668>>2]=0,n[b+672|0]=0,_[(r=b+676|0)>>2]=0,_[r+4>>2]=0,_[r+8>>2]=0,_[r+12>>2]=0,_[r+16>>2]=0,_[r+20>>2]=0,_[r+24>>2]=0,_[r+28>>2]=0,_[b+740>>2]=e,_[b+744>>2]=i,_[b+748>>2]=0,p[b+752>>2]=a,p[b+756>>2]=c,i=b,r=0|_[t+12>>2],_[b+768>>2]=r,(0|r)==(0|_[t+16>>2])&&(0|r)<(0|(d=0|r?r<<1:1))){if(d?(_[6630]=1+(0|_[6630]),(r=0|di(16+(d<<2|3)|0))?(_[(r+4+15&-16)-4>>2]=r,r=r+4+15&-16):r=0,e=r,r=0|_[t+12>>2]):e=0,(0|r)>0){s=0;do{_[e+(s<<2)>>2]=_[(0|_[t+20>>2])+(s<<2)>>2],s=s+1|0}while((0|s)!=(0|r))}(s=0|_[t+20>>2])&&(0|n[t+24|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[s+-4>>2]),r=0|_[t+12>>2]),_[t+20>>2]=0),n[t+24|0]=1,_[t+20>>2]=e,_[t+16>>2]=d}return _[(0|_[t+20>>2])+(r<<2)>>2]=i,_[t+12>>2]=r+1,0|(l=b)},function(t,e,i){t|=0,e|=0,i|=0;t:do{switch(0|_[e+216>>2]){case 2:case 5:switch(0|_[i+216>>2]){case 2:case 5:t=0;break;default:break t}return 0|t}}while(0);return 0|_[e+256>>2]&&!(0|Qb[31&_[_[e>>2]>>2]](e,i))?0|(i=0):0|(i=1)},function(t,e,i){return t|=0,i|=0,4&(e=0|_[204+(e|=0)>>2])||4&(t=0|_[i+204>>2])?0:!(3&e)|!(3&t)|0},function(t,e,i){t|=0,e|=0,i|=0;do{if(!(8==(0|e)&8==(0|i))){if(8==(0|e)&1==(0|i)){t=t+76|0;break}if(1==(0|e)&8==(0|i)){t=t+80|0;break}if(!(i|e)){t=t+72|0;break}if((0|e)<20&28==(0|i)){t=t+88|0;break}if(28==(0|e)&(0|i)<20){t=t+84|0;break}if((0|e)<20){if((0|i)<20){t=t+32|0;break}if((i+-21|0)>>>0<9){t=t+36|0;break}}else{if((0|i)<20&(e+-21|0)>>>0<9){t=t+40|0;break}if(31==(0|e)){if(31==(0|i)){t=t+48|0;break}t=t+44|0;break}}if(31==(0|i)){t=t+52|0;break}t=t+56|0;break}t=t+60|0}while(0);return 0|_[t>>2]},function(t,e,i){t|=0,e|=0;var n=0,o=0,r=0,s=0,p=0;if(n=0|Qb[31&_[40+(0|_[(i|=0)>>2])>>2]](i,t),r=0|Qb[31&_[28+(0|_[i>>2])>>2]](i,n),_[e>>2]=r,0|r&&id[127&_[48+(0|_[i>>2])>>2]](i,n),_[e+4>>2]=_[t+4>>2],_[e+20>>2]=_[t+72>>2],n=0|_[t+16>>2],_[e+16>>2]=n,_[e+12>>2]=0,!n)return 18787;if(r=0|Hb[63&_[16+(0|_[i>>2])>>2]](i,76,n),n=0|_[r+8>>2],o=0|Qb[31&_[28+(0|_[i>>2])>>2]](i,n),_[e+12>>2]=o,(0|_[e+16>>2])>0)for(o=0;;){if(s=0|_[t+24>>2],_[n+72>>2]=_[s+(80*o|0)+72>>2],s=0|Qb[31&_[28+(0|_[i>>2])>>2]](i,0|_[s+(80*o|0)+64>>2]),_[n+64>>2]=s,0|Qb[31&_[24+(0|_[i>>2])>>2]](i,0|_[(0|_[t+24>>2])+(80*o|0)+64>>2])||(s=0|_[16+(0|_[i>>2])>>2],p=0|_[(0|_[t+24>>2])+(80*o|0)+64>>2],p=0|Lb[127&_[52+(0|_[p>>2])>>2]](p),p=0|Hb[63&s](i,p,1),s=0|_[(0|_[t+24>>2])+(80*o|0)+64>>2],s=0|Hb[63&_[56+(0|_[s>>2])>>2]](s,0|_[p+8>>2],i),ld[31&_[20+(0|_[i>>2])>>2]](i,p,s,1346455635,0|_[(0|_[t+24>>2])+(80*o|0)+64>>2])),p=0|_[t+24>>2],_[n+68>>2]=_[p+(80*o|0)+68>>2],_[n>>2]=_[p+(80*o|0)>>2],_[n+4>>2]=_[p+(80*o|0)+4>>2],_[n+8>>2]=_[p+(80*o|0)+8>>2],_[n+12>>2]=_[p+(80*o|0)+12>>2],_[n+16>>2]=_[p+(80*o|0)+16>>2],_[n+20>>2]=_[p+(80*o|0)+20>>2],_[n+24>>2]=_[p+(80*o|0)+24>>2],_[n+28>>2]=_[p+(80*o|0)+28>>2],_[n+32>>2]=_[p+(80*o|0)+32>>2],_[n+36>>2]=_[p+(80*o|0)+36>>2],_[n+40>>2]=_[p+(80*o|0)+40>>2],_[n+44>>2]=_[p+(80*o|0)+44>>2],_[n+48>>2]=_[p+(80*o|0)+48>>2],_[n+52>>2]=_[p+(80*o|0)+52>>2],_[n+56>>2]=_[p+(80*o|0)+56>>2],_[n+60>>2]=_[p+(80*o|0)+60>>2],(0|(o=o+1|0))>=(0|_[e+16>>2])){n=i;break}n=n+76|0}else n=i;return ld[31&_[20+(0|_[n>>2])>>2]](i,r,18762,1497453121,0|_[r+8>>2]),18787},function(t,e,i){var n,o;return t|=0,e|=0,n=0|Qb[31&_[40+(0|_[(i|=0)>>2])>>2]](i,t),o=0|Qb[31&_[28+(0|_[i>>2])>>2]](i,n),_[e>>2]=o,0|o&&id[127&_[48+(0|_[i>>2])>>2]](i,n),_[e+4>>2]=_[t+4>>2],_[e+28>>2]=_[t+28>>2],_[e+32>>2]=_[t+32>>2],_[e+36>>2]=_[t+36>>2],_[e+40>>2]=_[t+40>>2],_[e+12>>2]=_[t+12>>2],_[e+16>>2]=_[t+16>>2],_[e+20>>2]=_[t+20>>2],_[e+24>>2]=_[t+24>>2],_[e+44>>2]=_[t+44>>2],_[e+52>>2]=_[t+68>>2],18834},function(t,e,i){t|=0,e|=0;var n=0,o=0,r=0;n=0|Qb[31&_[40+(0|_[(i|=0)>>2])>>2]](i,t),r=0|Qb[31&_[28+(0|_[i>>2])>>2]](i,n),_[e>>2]=r,0|r&&id[127&_[48+(0|_[i>>2])>>2]](i,n),_[e+4>>2]=_[t+4>>2],r=0|_[t+48>>2],Hb[63&_[56+(0|_[r>>2])>>2]](r,e+12|0,i),_[e+52>>2]=_[t+12>>2];do{if(0|_[t+52>>2]&&!(1&Lb[127&_[52+(0|_[i>>2])>>2]](i))){if(n=0|Qb[31&_[24+(0|_[i>>2])>>2]](i,0|_[t+52>>2])){_[e+40>>2]=n,_[e+44>>2]=0;break}n=0|Qb[31&_[28+(0|_[i>>2])>>2]](i,0|_[t+52>>2]),_[e+40>>2]=n,_[e+44>>2]=0,n=0|_[t+52>>2],n=0|Lb[127&_[12+(0|_[n>>2])>>2]](n),n=0|Hb[63&_[16+(0|_[i>>2])>>2]](i,n,1),r=0|_[t+52>>2],r=0|Hb[63&_[16+(0|_[r>>2])>>2]](r,0|_[n+8>>2],i),ld[31&_[20+(0|_[i>>2])>>2]](i,n,r,1213612625,0|_[t+52>>2]);break}o=8}while(0);return 8==(0|o)&&(_[e+40>>2]=0,_[e+44>>2]=0),0|_[t+56>>2]&&!(2&Lb[127&_[52+(0|_[i>>2])>>2]](i))?(n=0|Qb[31&_[24+(0|_[i>>2])>>2]](i,0|_[t+56>>2]))?(_[e+48>>2]=n,19068):(r=0|Qb[31&_[28+(0|_[i>>2])>>2]](i,0|_[t+56>>2]),_[e+48>>2]=r,e=0|_[t+56>>2],e=0|Lb[127&_[8+(0|_[e>>2])>>2]](e),e=0|Hb[63&_[16+(0|_[i>>2])>>2]](i,e,1),r=0|_[t+56>>2],r=0|Hb[63&_[12+(0|_[r>>2])>>2]](r,0|_[e+8>>2],i),ld[31&_[20+(0|_[i>>2])>>2]](i,e,r,1346456916,0|_[t+56>>2]),19068):(_[e+48>>2]=0,19068)},function(t,e,i){var n,o;return t|=0,e|=0,n=0|Qb[31&_[40+(0|_[(i|=0)>>2])>>2]](i,t),o=0|Qb[31&_[28+(0|_[i>>2])>>2]](i,n),_[e>>2]=o,0|o&&id[127&_[48+(0|_[i>>2])>>2]](i,n),_[e+4>>2]=_[t+4>>2],_[e+12>>2]=_[t+68>>2],_[e+16>>2]=_[t+72>>2],_[e+20>>2]=_[t+76>>2],_[e+24>>2]=_[t+80>>2],_[e+28>>2]=_[t+48>>2],_[e+32>>2]=_[t+52>>2],_[e+36>>2]=_[t+56>>2],_[e+40>>2]=_[t+60>>2],_[e+44>>2]=_[t+64>>2],19511},function(t,e,i){t|=0,e|=0;var n,o=0,r=0;if(o=0|Qb[31&_[40+(0|_[(i|=0)>>2])>>2]](i,t),r=0|Qb[31&_[28+(0|_[i>>2])>>2]](i,o),_[e>>2]=r,0|r&&id[127&_[48+(0|_[i>>2])>>2]](i,o),_[e+4>>2]=_[t+4>>2],_[e+28>>2]=_[t+28>>2],_[e+32>>2]=_[t+32>>2],_[e+36>>2]=_[t+36>>2],_[e+40>>2]=_[t+40>>2],_[e+12>>2]=_[t+12>>2],_[e+16>>2]=_[t+16>>2],_[e+20>>2]=_[t+20>>2],_[e+24>>2]=_[t+24>>2],_[e+44>>2]=_[t+44>>2],n=0|_[t+96>>2],_[e+60>>2]=n,!n)return _[e+52>>2]=0,_[e+56>>2]=0,19710;if(r=0|Qb[31&_[28+(0|_[i>>2])>>2]](i,0|_[t+104>>2]),_[e+52>>2]=r,_[e+56>>2]=0,r=0|Hb[63&_[16+(0|_[i>>2])>>2]](i,16,n),(0|n)>0)for(o=0|_[t+104>>2],e=0|_[r+8>>2],t=0;_[e>>2]=_[o+(t<<4)>>2],_[e+4>>2]=_[o+(t<<4)+4>>2],_[e+8>>2]=_[o+(t<<4)+8>>2],_[e+12>>2]=_[o+(t<<4)+12>>2],(0|(t=t+1|0))!=(0|n);)e=e+16|0;else o=0|_[t+104>>2];return ld[31&_[20+(0|_[i>>2])>>2]](i,r,21709,1497453121,o),19710},function(t,e,i){var n,o;return t|=0,e|=0,n=0|Qb[31&_[40+(0|_[(i|=0)>>2])>>2]](i,t),o=0|Qb[31&_[28+(0|_[i>>2])>>2]](i,n),_[e>>2]=o,0|o&&id[127&_[48+(0|_[i>>2])>>2]](i,n),_[e+4>>2]=_[t+4>>2],_[e+28>>2]=_[t+28>>2],_[e+32>>2]=_[t+32>>2],_[e+36>>2]=_[t+36>>2],_[e+40>>2]=_[t+40>>2],_[e+12>>2]=_[t+12>>2],_[e+16>>2]=_[t+16>>2],_[e+20>>2]=_[t+20>>2],_[e+24>>2]=_[t+24>>2],_[e+44>>2]=_[t+44>>2],_[e+52>>2]=_[t+52>>2],19814},function(t,e,i){t|=0,i|=0;var n=0,s=0,p=0,c=0,a=0;if(_[16+(e|=0)>>2]=_[t+20>>2],_[e+20>>2]=_[t+24>>2],_[e+24>>2]=_[t+28>>2],_[e+28>>2]=_[t+32>>2],_[e>>2]=_[t+4>>2],_[e+4>>2]=_[t+8>>2],_[e+8>>2]=_[t+12>>2],_[e+12>>2]=_[t+16>>2],_[e+32>>2]=_[t+36>>2],_[e+36>>2]=_[t+40>>2],_[e+40>>2]=_[t+44>>2],_[e+44>>2]=_[t+48>>2],_[e+48>>2]=_[t+56>>2],_[e+52>>2]=r[t+60|0],a=0|_[t+88>>2],_[e+56>>2]=a,a){if(a=0|Qb[31&_[28+(0|_[i>>2])>>2]](i,0|_[t+96>>2]),_[e+64>>2]=a,0|a){if(c=0|_[t+88>>2],a=0|Hb[63&_[16+(0|_[i>>2])>>2]](i,48,c),(0|c)>0)for(n=0|_[t+96>>2],s=0|_[a+8>>2],p=0;_[s+16>>2]=_[n+(p<<6)+16>>2],_[s+20>>2]=_[n+(p<<6)+20>>2],_[s+24>>2]=_[n+(p<<6)+24>>2],_[s+28>>2]=_[n+(p<<6)+28>>2],_[s>>2]=_[n+(p<<6)>>2],_[s+4>>2]=_[n+(p<<6)+4>>2],_[s+8>>2]=_[n+(p<<6)+8>>2],_[s+12>>2]=_[n+(p<<6)+12>>2],_[s+32>>2]=_[n+(p<<6)+32>>2],_[s+36>>2]=_[n+(p<<6)+36>>2],_[s+40>>2]=_[n+(p<<6)+40>>2],(0|(p=p+1|0))!=(0|c);)s=s+48|0;else n=0|_[t+96>>2];ld[31&_[20+(0|_[i>>2])>>2]](i,a,20871,1497453121,n)}}else _[e+64>>2]=0;if(a=0|_[t+128>>2],_[e+60>>2]=a,a){if(a=0|Qb[31&_[28+(0|_[i>>2])>>2]](i,0|_[t+136>>2]),_[e+68>>2]=a,0|a){if(c=0|_[t+128>>2],a=0|Hb[63&_[16+(0|_[i>>2])>>2]](i,16,c),(0|c)>0)for(n=0|_[t+136>>2],s=0|_[a+8>>2],p=0;_[s+12>>2]=_[n+(p<<4)+12>>2],o[s+6>>1]=0|o[n+(p<<4)+6>>1],o[s+8>>1]=0|o[n+(p<<4)+8>>1],o[s+10>>1]=0|o[n+(p<<4)+10>>1],o[s>>1]=0|o[n+(p<<4)>>1],o[s+2>>1]=0|o[n+(p<<4)+2>>1],o[s+4>>1]=0|o[n+(p<<4)+4>>1],(0|(p=p+1|0))!=(0|c);)s=s+16|0;else n=0|_[t+136>>2];ld[31&_[20+(0|_[i>>2])>>2]](i,a,20894,1497453121,n)}}else _[e+68>>2]=0;if(_[e+76>>2]=_[t+144>>2],a=0|_[t+152>>2],_[e+80>>2]=a,!a)return _[e+72>>2]=0,20938;if(a=0|Qb[31&_[28+(0|_[i>>2])>>2]](i,0|_[t+160>>2]),_[e+72>>2]=a,!a)return 20938;if(c=0|_[t+152>>2],a=0|Hb[63&_[16+(0|_[i>>2])>>2]](i,20,c),(0|c)>0)for(n=0|_[t+160>>2],s=0|_[a+8>>2],p=0;o[s+14>>1]=0|o[n+(p<<5)+6>>1],o[s+16>>1]=0|o[n+(p<<5)+8>>1],o[s+18>>1]=0|o[n+(p<<5)+10>>1],o[s+8>>1]=0|o[n+(p<<5)>>1],o[s+10>>1]=0|o[n+(p<<5)+2>>1],o[s+12>>1]=0|o[n+(p<<5)+4>>1],_[s>>2]=_[n+(p<<5)+12>>2],_[s+4>>2]=_[n+(p<<5)+16>>2],(0|(p=p+1|0))!=(0|c);)s=s+20|0;else n=0|_[t+160>>2];return ld[31&_[20+(0|_[i>>2])>>2]](i,a,20917,1497453121,n),20938},function(t,e,i){var n,o;return t|=0,e|=0,n=0|Qb[31&_[40+(0|_[(i|=0)>>2])>>2]](i,t),o=0|Qb[31&_[28+(0|_[i>>2])>>2]](i,n),_[e>>2]=o,0|o&&id[127&_[48+(0|_[i>>2])>>2]](i,n),_[e+4>>2]=_[t+4>>2],_[e+28>>2]=_[t+28>>2],_[e+32>>2]=_[t+32>>2],_[e+36>>2]=_[t+36>>2],_[e+40>>2]=_[t+40>>2],_[e+12>>2]=_[t+12>>2],_[e+16>>2]=_[t+16>>2],_[e+20>>2]=_[t+20>>2],_[e+24>>2]=_[t+24>>2],_[e+44>>2]=_[t+44>>2],_[e+52>>2]=_[t+52>>2],20270},function(t,e,i){e|=0,i|=0;var r,s=0,p=0,a=0,b=0,d=0,l=0,A=0,f=0,u=0,m=0,h=0,y=0;if(r=Q,Q=Q+32|0,s=0|Lb[127&_[28+(0|_[(t|=0)>>2])>>2]](t),_[e+20>>2]=s,_[e>>2]=0,!s)return i=e+4|0,h=0|_[(h=t+4|0)>>2],_[i>>2]=h,i=0|_[(i=t+8|0)>>2],_[(h=e+8|0)>>2]=i,h=0|_[(h=t+12|0)>>2],_[(i=e+12|0)>>2]=h,t=0|_[(t=t+16|0)>>2],_[(i=e+16|0)>>2]=t,Q=r,21763;h=0|Hb[63&_[16+(0|_[i>>2])>>2]](i,32,s),s=0|_[h+8>>2],m=0|Qb[31&_[28+(0|_[i>>2])>>2]](i,s),_[e>>2]=m,m=0|Lb[127&_[28+(0|_[t>>2])>>2]](t);t:do{if((0|m)>0)for(u=0;;){switch(yd[3&_[16+(0|_[t>>2])>>2]](t,r+28|0,r+4|0,r+16|0,r+8|0,r+24|0,r+20|0,r,r+12|0,u),p=0|_[r>>2],_[s+24>>2]=p,_[s+28>>2]=_[r+4>>2],a=s+12|0,d=s+16|0,f=s+4|0,_[s>>2]=0,_[s+4>>2]=0,_[s+8>>2]=0,_[s+12>>2]=0,_[s+16>>2]=0,_[s+20>>2]=0,0|_[r+12>>2]){case 2:if(0|p){if(a=0|Hb[63&_[16+(0|_[i>>2])>>2]](i,4,3*p|0),b=0|_[a+8>>2],A=0|Qb[31&_[28+(0|_[i>>2])>>2]](i,b),_[s+8>>2]=A,(0|_[r>>2])>0){d=0|_[r+24>>2],p=0;do{l=d+(0|g(0|_[r+20>>2],p))|0,_[b+((A=3*p|0)<<2)>>2]=_[l>>2],_[b+(A+1<<2)>>2]=_[l+4>>2],_[b+(A+2<<2)>>2]=_[l+8>>2],p=p+1|0}while((0|p)<(0|_[r>>2]))}ld[31&_[20+(0|_[i>>2])>>2]](i,a,21644,1497453121,0|_[a+8>>2])}break;case 3:if(0|p){if(l=0|Hb[63&_[16+(0|_[i>>2])>>2]](i,8,p),A=0|_[l+8>>2],d=0|Qb[31&_[28+(0|_[i>>2])>>2]](i,A),_[a>>2]=d,(0|(a=0|_[r>>2]))>0){b=0|_[r+24>>2],d=0|_[r+20>>2],p=0;do{y=b+(0|g(d,p))|0,o[A+(p<<3)>>1]=0|o[y>>1],o[A+(p<<3)+2>>1]=0|o[y+2>>1],o[A+(p<<3)+4>>1]=0|o[y+4>>1],p=p+1|0}while((0|p)!=(0|a))}ld[31&_[20+(0|_[i>>2])>>2]](i,l,21659,1497453121,0|_[l+8>>2])}break;case 5:if(0|p){if(a=0|Hb[63&_[16+(0|_[i>>2])>>2]](i,4,p),b=0|_[a+8>>2],y=0|Qb[31&_[28+(0|_[i>>2])>>2]](i,b),_[d>>2]=y,(0|_[r>>2])>0){p=0;do{y=(0|_[r+24>>2])+(0|g(0|_[r+20>>2],p))|0,n[b+(p<<2)|0]=0|n[0|y],n[b+(p<<2)+1|0]=0|n[y+1|0],n[b+(p<<2)+2|0]=0|n[y+2|0],p=p+1|0}while((0|p)<(0|_[r>>2]))}ld[31&_[20+(0|_[i>>2])>>2]](i,a,21686,1497453121,0|_[a+8>>2])}}switch(0|_[r+16>>2]){case 0:if(0|(p=0|_[r+4>>2])){if(a=0|Hb[63&_[16+(0|_[i>>2])>>2]](i,16,p),b=0|_[a+8>>2],d=0|Qb[31&_[28+(0|_[i>>2])>>2]](i,b),_[s>>2]=d,(0|(d=0|_[r+4>>2]))>0){l=0|_[r+28>>2],A=0|_[r+8>>2],p=0;do{y=l+(0|g(A,p))|0,_[b+(p<<4)>>2]=_[y>>2],_[b+(p<<4)+4>>2]=_[y+4>>2],_[b+(p<<4)+8>>2]=_[y+8>>2],p=p+1|0}while((0|p)!=(0|d))}ld[31&_[20+(0|_[i>>2])>>2]](i,a,21709,1497453121,0|_[a+8>>2])}break;case 1:if(0|(p=0|_[r+4>>2])){if(l=0|Hb[63&_[16+(0|_[i>>2])>>2]](i,32,p),A=0|_[l+8>>2],a=0|Qb[31&_[28+(0|_[i>>2])>>2]](i,A),_[f>>2]=a,(0|(a=0|_[r+4>>2]))>0){b=0|_[r+28>>2],d=0|_[r+8>>2],p=0;do{y=b+(0|g(d,p))|0,c[A+(p<<5)>>3]=+c[y>>3],c[A+(p<<5)+8>>3]=+c[y+8>>3],c[A+(p<<5)+16>>3]=+c[y+16>>3],p=p+1|0}while((0|p)!=(0|a))}ld[31&_[20+(0|_[i>>2])>>2]](i,l,21728,1497453121,0|_[l+8>>2])}}if(id[127&_[24+(0|_[t>>2])>>2]](t,u),(0|(u=u+1|0))==(0|m)){s=i;break t}s=s+32|0}else s=i}while(0);return ld[31&_[20+(0|_[s>>2])>>2]](i,h,21748,1497453121,0|_[h+8>>2]),i=e+4|0,y=0|_[(y=t+4|0)>>2],_[i>>2]=y,i=0|_[(i=t+8|0)>>2],_[(y=e+8|0)>>2]=i,y=0|_[(y=t+12|0)>>2],_[(i=e+12|0)>>2]=y,i=0|_[(i=t+16|0)>>2],_[(y=e+16|0)>>2]=i,Q=r,21763},Sp,Sp,function(t,e,i){t|=0,e|=0,i|=0;var r,s,p=0,c=0,a=0,b=0,d=0,l=0;if(_[6608]=1+(0|_[6608]),p=0|_[t+24>>2]){if(!(0|Hb[63&_[8+(0|_[p>>2])>>2]](p,e,i)))return 0|(t=0)}else{if(!((o[i+6>>1]&o[e+4>>1])<<16>>16))return 0|(t=0);if(!((o[e+6>>1]&o[i+4>>1])<<16>>16))return 0|(t=0)}d=(0|_[e+12>>2])>(0|_[i+12>>2]),a=0|_[(s=d?i:e)+12>>2],b=9*((b=((i=0|_[(d=d?e:i)+12>>2])<<16|a)+~((i<<16|a)<<15)|0)>>10^b)|0,b=(b^=b>>6)+~(b<<11)>>16^b+~(b<<11),r=0|_[t+12>>2],p=0|_[(0|_[t+44>>2])+((b&r+-1)<<2)>>2];t:do{if(-1!=(0|p)){for(c=0|_[t+16>>2],e=p;(0|_[12+(0|_[(p=c+(e<<4)|0)>>2])>>2])!=(0|a)||(0|_[12+(0|_[c+(e<<4)+4>>2])>>2])!=(0|i);)if(-1==(0|(e=0|_[(0|_[t+64>>2])+(e<<2)>>2])))break t;return 0|p}}while(0);if((0|(a=0|_[t+8>>2]))==(0|r))if((0|r)<(0|(c=0|r?r<<1:1))){if(c?(_[6630]=1+(0|_[6630]),(p=0|di(16+(c<<4|3)|0))?(_[(p+4+15&-16)-4>>2]=p,p=p+4+15&-16):p=0,i=0|_[t+8>>2]):(p=0,i=r),(0|i)>0){e=0;do{l=0|_[t+16>>2],_[p+(e<<4)>>2]=_[l+(e<<4)>>2],_[p+(e<<4)+4>>2]=_[l+(e<<4)+4>>2],_[p+(e<<4)+8>>2]=_[l+(e<<4)+8>>2],_[p+(e<<4)+12>>2]=_[l+(e<<4)+12>>2],e=e+1|0}while((0|e)!=(0|i))}0|(e=0|_[t+16>>2])&&(0|n[t+20|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+16>>2]=0),n[t+20|0]=1,_[t+16>>2]=p,_[t+12>>2]=c,e=0|_[t+8>>2],p=c}else e=r,p=r;else e=a,p=r;return _[t+8>>2]=e+1,i=0|_[t+16>>2],(e=0|_[t+72>>2])&&(Hb[63&_[8+(0|_[e>>2])>>2]](e,s,d),p=0|_[t+12>>2]),(0|r)<(0|p)?(tt(t),p=(0|_[t+12>>2])-1&b):p=b&r+-1,l=(0|_[s+12>>2])<(0|_[d+12>>2]),_[i+(a<<4)>>2]=l?s:d,_[i+(a<<4)+4>>2]=l?d:s,_[i+(a<<4)+8>>2]=0,_[i+(a<<4)+8+4>>2]=0,l=(0|_[t+44>>2])+(p<<2)|0,_[(0|_[t+64>>2])+(a<<2)>>2]=_[l>>2],_[l>>2]=a,0|(l=i+(a<<4)|0)},function(t,e,i){t|=0,e|=0,i|=0;var n,o=0,r=0;if(_[6609]=1+(0|_[6609]),o=(0|_[e+12>>2])>(0|_[i+12>>2]),r=0|_[(o?i:e)+12>>2],e=9*((e=((o=0|_[(o?e:i)+12>>2])<<16|r)+~((o<<16|r)<<15)|0)>>10^e)|0,(0|(e=((e^=e>>6)+~(e<<11)>>16^e+~(e<<11))&(0|_[t+12>>2])-1))>=(0|_[t+36>>2]))return 0|(r=0);if(-1==(0|(e=0|_[(0|_[t+44>>2])+(e<<2)>>2])))return 0|(r=0);for(n=0|_[t+16>>2],i=e;;){if((0|_[12+(0|_[(e=n+(i<<4)|0)>>2])>>2])==(0|r)&&(0|_[12+(0|_[n+(i<<4)+4>>2])>>2])==(0|o)){i=7;break}if(-1==(0|(i=0|_[(0|_[t+64>>2])+(i<<2)>>2]))){e=0,i=7;break}}return 7==(0|i)?0|e:0},function(t,e,i){t|=0,e|=0,i|=0;var n,o,r,s,p,c=0,a=0,b=0,d=0,l=0;if(_[6616]=1+(0|_[6616]),b=9*((b=(i<<16|e)+~((i<<16|e)<<15)|0)>>10^b)|0,b^=b>>6,b=(s=0|_[t+40>>2])+(((0|_[t+12>>2])-1&(b+~(b<<11)>>16^b+~(b<<11)))<<2)|0,-1==(0|(a=0|_[b>>2])))return 0|(l=0);for(p=0|_[t+16>>2],c=a;(0|_[(d=p+(12*c|0)|0)>>2])!=(0|e)||(0|_[p+(12*c|0)+4>>2])!=(0|i);)if(-1==(0|(c=0|_[(0|_[t+60>>2])+(c<<2)>>2]))){c=0,l=23;break}if(23==(0|l))return 0|c;if(!d)return 0|(l=0);if(r=0|_[p+(12*c|0)+8>>2],o=(12*c|0)/12|0,n=0|_[t+60>>2],(0|a)!=(0|o)){for(e=a;(0|(c=0|_[(i=n+(e<<2)|0)>>2]))!=(0|o);)e=c;c=0|_[n+(o<<2)>>2],-1==(0|e)?l=12:_[i>>2]=c}else c=0|_[n+(a<<2)>>2],l=12;if(12==(0|l)&&(_[b>>2]=c),(0|(a=(0|_[t+8>>2])-1|0))==(0|o))return _[t+8>>2]=o,0|(l=r);if(b=9*((b=_[p+(12*a|0)+4>>2]<<16|_[p+(12*a|0)>>2])+~(b<<15)>>10^b+~(b<<15))|0,b=((b^=b>>6)+~(b<<11)>>16^b+~(b<<11))&(0|_[t+12>>2])-1,(0|(c=0|_[s+(b<<2)>>2]))!=(0|a)){for(e=c;(0|(c=0|_[(i=n+(e<<2)|0)>>2]))!=(0|a);)e=c;c=0|_[n+(a<<2)>>2],-1==(0|e)?l=21:_[i>>2]=c}else c=0|_[n+(a<<2)>>2],l=21;return 21==(0|l)&&(_[s+(b<<2)>>2]=c),_[d>>2]=_[p+(12*a|0)>>2],_[d+4>>2]=_[p+(12*a|0)+4>>2],_[d+8>>2]=_[p+(12*a|0)+8>>2],l=(0|_[t+40>>2])+(b<<2)|0,_[(0|_[t+60>>2])+(o<<2)>>2]=_[l>>2],_[l>>2]=o,_[t+8>>2]=(0|_[t+8>>2])-1,0|(l=r)},function(t,e,i){t|=0,e|=0,i|=0;var o,r,s=0,p=0,c=0,a=0,b=0,d=0,l=0;_[6617]=1+(0|_[6617]),b=9*((b=(i<<16|e)+~((i<<16|e)<<15)|0)>>10^b)|0,b=(b^=b>>6)+~(b<<11)>>16^b+~(b<<11),r=0|_[t+12>>2],s=0|_[(0|_[t+40>>2])+((r+-1&b)<<2)>>2];t:do{if(-1!=(0|s)){for(c=0|_[t+16>>2];(0|_[(p=c+(12*s|0)|0)>>2])!=(0|e)||(0|_[c+(12*s|0)+4>>2])!=(0|i);)if(-1==(0|(s=0|_[(0|_[t+60>>2])+(s<<2)>>2])))break t;if(0|p)return 0|(i=p)}}while(0);if((0|(o=0|_[t+8>>2]))==(0|r))if((0|r)<(0|(c=0|r?r<<1:1))){if(c?(_[6630]=1+(0|_[6630]),(s=0|di(16+(12*c|3)|0))?(_[(s+4+15&-16)-4>>2]=s,s=s+4+15&-16):s=0,a=0|_[t+8>>2]):(s=0,a=r),(0|a)>0){p=0;do{d=s+(12*p|0)|0,l=(0|_[t+16>>2])+(12*p|0)|0,_[d>>2]=_[l>>2],_[d+4>>2]=_[l+4>>2],_[d+8>>2]=_[l+8>>2],p=p+1|0}while((0|p)!=(0|a))}0|(p=0|_[t+16>>2])&&(0|n[t+20|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[p+-4>>2])),_[t+16>>2]=0),n[t+20|0]=1,_[t+16>>2]=s,_[t+12>>2]=c,s=0|_[t+8>>2]}else s=r,c=r;else s=o,c=r;return _[t+8>>2]=s+1,p=0|_[t+16>>2],(0|r)<(0|c)?(et(t),s=(0|_[t+12>>2])-1&b):s=r+-1&b,_[p+(12*o|0)>>2]=e,_[p+(12*o|0)+4>>2]=i,_[p+(12*o|0)+8>>2]=0,l=(0|_[t+40>>2])+(s<<2)|0,_[(0|_[t+60>>2])+(o<<2)>>2]=_[l>>2],_[l>>2]=o,0|(l=p+(12*o|0)|0)},function(t,e,i){e|=0,i|=0;var n,o=0,r=0,s=0,p=0,c=0,a=0;n=Q,Q=Q+48|0,o=0|_[28+(t|=0)>>2],_[n>>2]=o,o=(0|_[t+20>>2])-o|0,_[n+4>>2]=o,_[n+8>>2]=e,_[n+12>>2]=i,_[n+16>>2]=_[t+60>>2],_[n+16+4>>2]=n,_[n+16+8>>2]=2,r=0|Ta(0|D(146,n+16|0));t:do{if((o+i|0)!=(0|r)){for(e=2,s=o+i|0,o=n;!((0|r)<0);)if(s=s-r|0,e=e+((a=r>>>0>(c=0|_[o+4>>2])>>>0)<<31>>31)|0,c=r-(a?c:0)|0,_[(o=a?o+8|0:o)>>2]=(0|_[o>>2])+c,_[o+4>>2]=(0|_[o+4>>2])-c,_[n+32>>2]=_[t+60>>2],_[n+32+4>>2]=o,_[n+32+8>>2]=e,(0|s)==(0|(r=0|Ta(0|D(146,n+32|0))))){p=3;break t}_[t+16>>2]=0,_[t+28>>2]=0,_[t+20>>2]=0,_[t>>2]=32|_[t>>2],i=2==(0|e)?0:i-(0|_[o+4>>2])|0}else p=3}while(0);return 3==(0|p)&&(a=0|_[t+44>>2],_[t+16>>2]=a+(0|_[t+48>>2]),_[t+28>>2]=a,_[t+20>>2]=a),Q=n,0|i},function(t,e,i){var n;return t|=0,e|=0,i|=0,n=Q,Q=Q+32|0,_[n>>2]=_[t+60>>2],_[n+4>>2]=0,_[n+8>>2]=e,_[n+12>>2]=n+20,_[n+16>>2]=i,(0|Ta(0|j(140,0|n)))<0?(_[n+20>>2]=-1,t=-1):t=0|_[n+20>>2],Q=n,0|t},function(t,e,i){i|=0;var n,o=0,r=0;if(n=Q,Q=Q+64|0,0|Np(t|=0,e|=0))e=1;else if(0|e&&0|(r=0|Xi(e,3264))){o=52+(e=n+4|0)|0;do{_[e>>2]=0,e=e+4|0}while((0|e)<(0|o));_[n>>2]=r,_[n+8>>2]=t,_[n+12>>2]=-1,_[n+48>>2]=1,cd[127&_[28+(0|_[r>>2])>>2]](r,n,0|_[i>>2],1),1==(0|_[n+24>>2])?(_[i>>2]=_[n+16>>2],e=1):e=0}else e=0;return Q=n,0|e},Fa,Fa,Fa,Fa,Fa,Fa,Fa,Fa,Fa,Fa,Fa,Fa,Fa,Fa,Fa,Fa,Fa,Fa,Fa,Fa,Fa,Fa,Fa,Fa,Fa,Fa,Fa],Zb=[Tc,function(t,e,i,n){t|=0,e|=0,n|=0;var o=0;return o=0|_[(i|=0)>>2],t=0|ds(0|_[e>>2]),o=0|ds(o),0|t&&cd[127&_[32+(0|_[t>>2])>>2]](t,i,n,e),o?(cd[127&_[32+(0|_[o>>2])>>2]](o,e,n,i),0):0},function(t,e,i,n){return n|=0,n=0|_[(e|=0)>>2],n=0|Qb[31&_[56+(0|_[n>>2])>>2]](n,24),_[n+4>>2]=_[e>>2],_[n>>2]=4928,0|n},function(t,e,i,o){return t|=0,i|=0,o|=0,o=0|_[(e|=0)>>2],o=0|Qb[31&_[56+(0|_[o>>2])>>2]](o,20),i=0|n[t+4|0],_[o+4>>2]=_[e>>2],_[o>>2]=4460,n[o+16|0]=i,0|o},function(t,e,i,o){return t|=0,i|=0,o|=0,t=0|_[(e|=0)>>2],t=0|Qb[31&_[56+(0|_[t>>2])>>2]](t,156),e=0|_[e>>2],_[t+4>>2]=e,_[t>>2]=4488,n[t+8|0]=0,_[t+12>>2]=4700,_[t+60>>2]=e,_[t+64>>2]=0,n[t+88|0]=1,_[t+84>>2]=0,_[t+76>>2]=0,_[t+80>>2]=0,n[t+108|0]=1,_[t+104>>2]=0,_[t+96>>2]=0,_[t+100>>2]=0,n[t+128|0]=1,_[t+124>>2]=0,_[t+116>>2]=0,_[t+120>>2]=0,n[t+148|0]=1,_[t+144>>2]=0,_[t+136>>2]=0,_[t+140>>2]=0,_[t+16>>2]=_[i+8>>2],_[t+20>>2]=_[o+8>>2],zi(t+72|0),0|t},function(t,e,i,o){return t|=0,i|=0,o|=0,t=0|_[(e|=0)>>2],t=0|Qb[31&_[56+(0|_[t>>2])>>2]](t,156),e=0|_[e>>2],_[t+4>>2]=e,_[t>>2]=4488,n[t+8|0]=1,_[t+12>>2]=4700,_[t+60>>2]=e,_[t+64>>2]=0,n[t+88|0]=1,_[t+84>>2]=0,_[t+76>>2]=0,_[t+80>>2]=0,n[t+108|0]=1,_[t+104>>2]=0,_[t+96>>2]=0,_[t+100>>2]=0,n[t+128|0]=1,_[t+124>>2]=0,_[t+116>>2]=0,_[t+120>>2]=0,n[t+148|0]=1,_[t+144>>2]=0,_[t+136>>2]=0,_[t+140>>2]=0,_[t+16>>2]=_[o+8>>2],_[t+20>>2]=_[i+8>>2],zi(t+72|0),0|t},function(t,e,i,n){var r,s,c,a,b;return t|=0,e|=0,i|=0,n|=0,r=Q,Q=Q+96|0,p[r+4>>2]=1,_[r+8>>2]=0,o[r+12>>1]=1,o[r+14>>1]=-1,_[r+16>>2]=0,_[r>>2]=3624,_[r+20>>2]=_[e>>2],_[r+20+4>>2]=_[e+4>>2],_[r+20+8>>2]=_[e+8>>2],_[r+20+12>>2]=_[e+12>>2],_[r+36>>2]=_[i>>2],_[r+36+4>>2]=_[i+4>>2],_[r+36+8>>2]=_[i+8>>2],_[r+36+12>>2]=_[i+12>>2],t=0|_[t+4>>2],cd[127&_[32+(0|_[t>>2])>>2]](t,e,i,r),(t=0|_[r+8>>2])&&2&_[t+236>>2]?4&_[t+204>>2]?(Q=r,0|(n=0)):(_[n>>2]=_[r+68>>2],_[n+4>>2]=_[r+68+4>>2],_[n+8>>2]=_[r+68+8>>2],_[n+12>>2]=_[r+68+12>>2],_[n+16>>2]=_[r+52>>2],_[n+16+4>>2]=_[r+52+4>>2],_[n+16+8>>2]=_[r+52+8>>2],_[n+16+12>>2]=_[r+52+12>>2],b=+p[n+16>>2],a=+p[n+20>>2],c=+p[n+24>>2],s=1/+l(+(b*b+a*a+c*c)),p[n+16>>2]=b*s,p[n+20>>2]=a*s,p[n+24>>2]=c*s,_[n+32>>2]=_[r+4>>2],Q=r,0|(n=t)):(Q=r,0|(n=0))},function(t,e,i,n){var o;return t|=0,e|=0,i|=0,n|=0,o=Q,Q=Q+16|0,_[o>>2]=t,_[o+4>>2]=n,n=0|_[t+72+(144*(0|_[4+(0|_[e+4>>2])>>2])|0)+(_[4+(0|_[i+4>>2])>>2]<<2)>>2],n=0|Zb[31&_[8+(0|_[n>>2])>>2]](n,o,e,i),Q=o,0|n},function(t,e,i,o){return t|=0,i|=0,o|=0,t=0|_[(e|=0)>>2],t=0|Qb[31&_[56+(0|_[t>>2])>>2]](t,80),e=0|_[e>>2],_[t+4>>2]=e,_[t>>2]=6404,n[t+8|0]=0,_[t+12>>2]=6452,_[t+60>>2]=e,_[t+64>>2]=0,_[t+16>>2]=i,_[t+20>>2]=o,o=0|Hb[63&_[12+(0|_[e>>2])>>2]](e,0|_[i+8>>2],0|_[o+8>>2]),_[t+76>>2]=o,i=0|_[t+60>>2],id[127&_[20+(0|_[i>>2])>>2]](i,o),0|t},function(t,e,i,o){return t|=0,i|=0,o|=0,t=0|_[(e|=0)>>2],t=0|Qb[31&_[56+(0|_[t>>2])>>2]](t,80),e=0|_[e>>2],_[t+4>>2]=e,_[t>>2]=6404,n[t+8|0]=1,_[t+12>>2]=6452,_[t+60>>2]=e,_[t+64>>2]=0,_[t+16>>2]=o,_[t+20>>2]=i,o=0|Hb[63&_[12+(0|_[e>>2])>>2]](e,0|_[o+8>>2],0|_[i+8>>2]),_[t+76>>2]=o,i=0|_[t+60>>2],id[127&_[20+(0|_[i>>2])>>2]](i,o),0|t},function(t,e,i,o){return t|=0,i|=0,o|=0,t=0|_[(e|=0)>>2],t=0|Qb[31&_[56+(0|_[t>>2])>>2]](t,44),_[t+4>>2]=_[e>>2],_[t>>2]=7060,n[t+24|0]=1,_[t+20>>2]=0,_[t+12>>2]=0,_[t+16>>2]=0,n[t+28|0]=0,_[t+32>>2]=_[e+4>>2],n[t+36|0]=0,_[t+40>>2]=_[68+(0|_[i+4>>2])>>2],Pt(t,i,o),0|t},function(t,e,i,o){t|=0,i|=0,o|=0;var r,s,p,c=0,a=0,b=0,d=0,l=0;if(b=0|_[(e|=0)>>2],b=0|Qb[31&_[56+(0|_[b>>2])>>2]](b,48),_[b+4>>2]=_[e>>2],_[b>>2]=7124,n[b+28|0]=1,_[b+24>>2]=0,_[b+16>>2]=0,_[b+20>>2]=0,_[b+32>>2]=_[e+4>>2],n[b+36|0]=0,_[6630]=1+(0|_[6630]),(t=0|di(87))?(_[(t+4+15&-16)-4>>2]=t,a=t+4+15&-16):a=0,_[a>>2]=10320,n[0|(r=a+20|0)]=1,_[(s=a+16|0)>>2]=0,_[(e=a+8|0)>>2]=0,_[(p=a+12|0)>>2]=0,n[a+24|0]=0,n[a+44|0]=1,_[a+40>>2]=0,_[a+32>>2]=0,_[a+36>>2]=0,n[a+64|0]=1,_[a+60>>2]=0,_[a+52>>2]=0,_[a+56>>2]=0,_[6630]=1+(0|_[6630]),(t=0|di(43))?(_[(t+4+15&-16)-4>>2]=t,c=t+4+15&-16):c=0,(0|(e=0|_[e>>2]))>0){t=0;do{d=c+(12*t|0)|0,l=(0|_[s>>2])+(12*t|0)|0,_[d>>2]=_[l>>2],_[d+4>>2]=_[l+4>>2],_[d+8>>2]=_[l+8>>2],t=t+1|0}while((0|t)!=(0|e))}return(t=0|_[s>>2])?(0|n[0|r]&&(_[6631]=1+(0|_[6631]),Li(0|_[t+-4>>2])),_[s>>2]=0,n[0|r]=1,_[s>>2]=c,_[p>>2]=2,et(a),_[(l=b+8|0)>>2]=a,l=0|_[(l=i+4|0)>>2],l=0|_[(l=l+68|0)>>2],_[(d=b+40|0)>>2]=l,d=0|_[(d=o+4|0)>>2],d=0|_[(d=d+68|0)>>2],_[(l=b+44|0)>>2]=d,0|b):(n[0|r]=1,_[s>>2]=c,_[p>>2]=2,et(a),_[(l=b+8|0)>>2]=a,l=0|_[(l=i+4|0)>>2],l=0|_[(l=l+68|0)>>2],_[(d=b+40|0)>>2]=l,d=0|_[(d=o+4|0)>>2],d=0|_[(d=d+68|0)>>2],_[(l=b+44|0)>>2]=d,0|b)},function(t,e,i,o){return t|=0,i|=0,o|=0,t=0|_[(e|=0)>>2],t=0|Qb[31&_[56+(0|_[t>>2])>>2]](t,44),_[t+4>>2]=_[e>>2],_[t>>2]=7060,n[t+24|0]=1,_[t+20>>2]=0,_[t+12>>2]=0,_[t+16>>2]=0,n[t+28|0]=1,_[t+32>>2]=_[e+4>>2],n[t+36|0]=0,_[t+40>>2]=_[68+(0|_[o+4>>2])>>2],Pt(t,i,o),0|t},function(t,e,i,n){return n|=0,n=0|_[(e|=0)>>2],n=0|Qb[31&_[56+(0|_[n>>2])>>2]](n,8),_[n+4>>2]=_[e>>2],_[n>>2]=10224,0|n},function(t,e,i,o){return t|=0,i|=0,o|=0,t=0|_[(e|=0)>>2],t=0|Qb[31&_[56+(0|_[t>>2])>>2]](t,16),e=0|_[e>>2],_[t+4>>2]=e,_[t>>2]=10252,n[t+8|0]=0,_[t+12>>2]=0,o=0|Hb[63&_[12+(0|_[e>>2])>>2]](e,0|_[i+8>>2],0|_[o+8>>2]),_[t+12>>2]=o,n[t+8|0]=1,0|t},function(t,e,i,o){t|=0,i|=0,o|=0;var r,s=0,p=0;return s=0|_[(e|=0)>>2],s=0|Qb[31&_[56+(0|_[s>>2])>>2]](s,20),r=0|_[e+4>>2],p=0|n[t+4|0],t=0|_[e>>2],_[s+4>>2]=t,_[s>>2]=6900,n[s+8|0]=0,_[s+12>>2]=r,n[s+16|0]=p,0|r||(p=0|Hb[63&_[12+(0|_[t>>2])>>2]](t,0|_[i+8>>2],0|_[o+8>>2]),_[s+12>>2]=p,n[s+8|0]=1),0|s},function(t,e,i,o){return t|=0,i|=0,o|=0,t=0|_[(e|=0)>>2],t=0|Qb[31&_[56+(0|_[t>>2])>>2]](t,16),e=0|_[e>>2],_[t+4>>2]=e,_[t>>2]=6472,n[t+8|0]=0,_[t+12>>2]=0,0|Hb[63&_[24+(0|_[e>>2])>>2]](e,0|_[i+8>>2],0|_[o+8>>2])?(e=0|_[t+4>>2],o=0|Hb[63&_[12+(0|_[e>>2])>>2]](e,0|_[i+8>>2],0|_[o+8>>2]),_[t+12>>2]=o,n[t+8|0]=1,0|t):0|t},function(t,e,i,o){t|=0,i|=0,o|=0;var r,s,p=0,c=0;return p=0|_[(e|=0)>>2],p=0|Qb[31&_[56+(0|_[p>>2])>>2]](p,28),c=!(0|n[t+4|0]),s=0|_[t+8>>2],r=0|_[t+12>>2],t=0|_[e>>2],_[p+4>>2]=t,_[p>>2]=6376,n[p+8|0]=0,_[p+12>>2]=0,c?(n[p+16|0]=0,_[p+20>>2]=s,_[p+24>>2]=r,0|Hb[63&_[24+(0|_[t>>2])>>2]](t,0|_[i+8>>2],0|_[o+8>>2])?(c=0|_[p+4>>2],c=0|Hb[63&_[12+(0|_[c>>2])>>2]](c,0|_[i+8>>2],0|_[o+8>>2]),_[p+12>>2]=c,n[p+8|0]=1,0|p):0|p):(n[p+16|0]=1,_[p+20>>2]=s,_[p+24>>2]=r,0|Hb[63&_[24+(0|_[t>>2])>>2]](t,0|_[o+8>>2],0|_[i+8>>2])?(c=0|_[p+4>>2],c=0|Hb[63&_[12+(0|_[c>>2])>>2]](c,0|_[o+8>>2],0|_[i+8>>2]),_[p+12>>2]=c,n[p+8|0]=1,0|p):0|p)},function(t,e,i,o){var r,s,p,c;return t|=0,i|=0,o|=0,o=0|_[(e|=0)>>2],o=0|Qb[31&_[56+(0|_[o>>2])>>2]](o,36),s=0|_[e+4>>2],c=0|_[t+12>>2],p=0|_[t+8>>2],r=0|_[t+16>>2],i=0|_[t+20>>2],_[o+4>>2]=_[e>>2],_[o>>2]=6948,_[o+8>>2]=c,_[o+12>>2]=p,n[o+16|0]=0,_[o+20>>2]=s,n[o+24|0]=0,_[o+28>>2]=r,_[o+32>>2]=i,0|o},wi,function(t,e,i,n){return wi(t|=0,e|=0,i|=0,n|=0),1},function(t,e,i,n){return 0},function(t,e,i,n){t|=0,e|=0,i|=0,n|=0;var o,r,s,p=0,c=0,a=0,b=0,d=0,l=0,A=0;if(_[6607]=1+(0|_[6607]),d=(0|_[e+12>>2])>(0|_[i+12>>2]),a=0|_[(r=d?i:e)+12>>2],b=9*((b=((p=0|_[(d=d?e:i)+12>>2])<<16|a)+~((p<<16|a)<<15)|0)>>10^b)|0,b=((b^=b>>6)+~(b<<11)>>16^b+~(b<<11))&(0|_[t+12>>2])-1,-1==(0|(e=0|_[(0|_[t+44>>2])+(b<<2)>>2])))return 0|(A=0);for(c=0|_[t+16>>2];(0|_[12+(0|_[(i=c+(e<<4)|0)>>2])>>2])!=(0|a)||(0|_[12+(0|_[c+(e<<4)+4>>2])>>2])!=(0|p);)if(-1==(0|(e=0|_[(0|_[t+64>>2])+(e<<2)>>2]))){e=0,A=25;break}if(25==(0|A))return 0|e;if(rd[127&_[32+(0|_[t>>2])>>2]](t,i,n),s=0|_[c+(e<<4)+12>>2],l=i-(0|_[t+16>>2])|0,l>>=4,a=(0|_[t+44>>2])+(b<<2)|0,e=0|_[a>>2],p=0|_[t+64>>2],(0|e)!=(0|l)){for(i=e;(0|(e=0|_[(c=p+(i<<2)|0)>>2]))!=(0|l);)i=e;e=0|_[p+(l<<2)>>2],-1==(0|i)?A=12:_[c>>2]=e}else e=0|_[p+(l<<2)>>2],A=12;if(12==(0|A)&&(_[a>>2]=e),o=(0|_[t+8>>2])-1|0,0|(e=0|_[t+72>>2])&&Zb[31&_[12+(0|_[e>>2])>>2]](e,r,d,n),(0|o)==(0|l))return _[t+8>>2]=(0|_[t+8>>2])-1,0|(A=s);if(d=0|_[t+16>>2],a=9*((a=_[12+(0|_[d+(o<<4)+4>>2])>>2]<<16|_[12+(0|_[d+(o<<4)>>2])>>2])+~(a<<15)>>10^a+~(a<<15))|0,a=((a^=a>>6)+~(a<<11)>>16^a+~(a<<11))&(0|_[t+12>>2])-1,b=(0|_[t+44>>2])+(a<<2)|0,e=0|_[b>>2],p=0|_[t+64>>2],(0|e)!=(0|o)){for(i=e;(0|(e=0|_[(c=p+(i<<2)|0)>>2]))!=(0|o);)i=e;e=0|_[p+(o<<2)>>2],-1==(0|i)?A=23:_[c>>2]=e}else e=0|_[p+(o<<2)>>2],A=23;return 23==(0|A)&&(_[b>>2]=e),_[d+(l<<4)>>2]=_[d+(o<<4)>>2],_[d+(l<<4)+4>>2]=_[d+(o<<4)+4>>2],_[d+(l<<4)+8>>2]=_[d+(o<<4)+8>>2],_[d+(l<<4)+12>>2]=_[d+(o<<4)+12>>2],A=(0|_[t+44>>2])+(a<<2)|0,_[(0|_[t+64>>2])+(l<<2)>>2]=_[A>>2],_[A>>2]=l,_[t+8>>2]=(0|_[t+8>>2])-1,0|(A=s)},Tc,Tc,Tc,Tc,Tc,Tc,Tc,Tc,Tc],Ub=[function(t,e,i,n,o,_){return v(16),0},Ti,me,Ie],Yb=[Rr,function(t,e,i,n,r,c,a,b,d){e|=0,i|=0,n|=0,r|=0,c|=0,a|=0,b|=0,d|=0;var l,A,f,u,m,h,y,g,C,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0;if(l=+p[8+(t|=0)>>2],f=+p[t+12>>2],m=+p[t+16>>2],A=+p[t+40>>2],j=(+p[e>>2]-l)*A,u=+p[t+44>>2],I=(+p[e+4>>2]-f)*u,h=+p[t+48>>2],B=(+p[e+8>>2]-m)*h,j<=0?D=0:(D=0|o[t+6>>1],D=o[t+4>>1]&(j>=+(65535&D)?D:65535&j)),I<=0?R=0:(R=0|o[t+6>>1],R=o[t+4>>1]&(I>=+(65535&R)?R:65535&I)),B<=0?k=0:(k=0|o[t+6>>1],k=o[t+4>>1]&(B>=+(65535&k)?k:65535&B)),B=(+p[i>>2]-l)*A,I=(+p[i+4>>2]-f)*u,j=(+p[i+8>>2]-m)*h,B<=0?w=1:(w=0|o[t+6>>1],w=o[t+4>>1]&(B>=+(65535&w)?w:65535&B)|1),I<=0?S=1:(S=0|o[t+6>>1],S=o[t+4>>1]&(I>=+(65535&S)?S:65535&I)|1),j<=0?v=1:(v=0|o[t+6>>1],v=o[t+4>>1]&(j>=+(65535&v)?v:65535&j)|1),g=0|o[t+64>>1],y=0|_[t+60>>2],o[t+64>>1]=0|o[y+((65535&g)<<6)+48>>1],C=1+(0|o[t+56>>1])<<16>>16,o[t+56>>1]=C,_[y+((65535&g)<<6)+12>>2]=65535&g,_[y+((65535&g)<<6)>>2]=r,o[y+((65535&g)<<6)+4>>1]=c,o[y+((65535&g)<<6)+6>>1]=a,_[y+((65535&g)<<6)+8>>2]=d,d=(65535&C)<<1&65534,o[y+54>>1]=2+(0|s[y+54>>1]),W=0|_[t+68>>2],F=s[W+(d+-1<<2)>>1]|s[W+(d+-1<<2)+2>>1]<<16,o[W+((1|d)<<2)>>1]=F,o[W+((1|d)<<2)+2>>1]=F>>>16,W=0|_[t+68>>2],o[W+(d+-1<<2)>>1]=D,o[W+(d+-1<<2)+2>>1]=g,o[W+(d<<2)>>1]=w,o[W+(d<<2)+2>>1]=g,o[y+((65535&g)<<6)+48>>1]=d+-1,o[y+((65535&g)<<6)+54>>1]=(65535&C)<<1,w=56+(0|_[t+60>>2])|0,o[w>>1]=2+(0|s[w>>1]),w=0|_[t+72>>2],D=s[w+(d+-1<<2)>>1]|s[w+(d+-1<<2)+2>>1]<<16,o[w+((1|d)<<2)>>1]=D,o[w+((1|d)<<2)+2>>1]=D>>>16,w=0|_[t+72>>2],o[w+(d+-1<<2)>>1]=R,o[w+(d+-1<<2)+2>>1]=g,o[w+(d<<2)>>1]=S,o[w+(d<<2)+2>>1]=g,o[y+((65535&g)<<6)+50>>1]=d+-1,o[y+((65535&g)<<6)+56>>1]=(65535&C)<<1,S=58+(0|_[t+60>>2])|0,o[S>>1]=2+(0|s[S>>1]),S=0|_[t+76>>2],w=s[S+(d+-1<<2)>>1]|s[S+(d+-1<<2)+2>>1]<<16,o[S+((1|d)<<2)>>1]=w,o[S+((1|d)<<2)+2>>1]=w>>>16,S=0|_[t+76>>2],o[S+(d+-1<<2)>>1]=k,o[S+(d+-1<<2)+2>>1]=g,o[S+(d<<2)>>1]=v,o[S+(d<<2)+2>>1]=g,o[y+((65535&g)<<6)+52>>1]=d+-1,o[y+((65535&g)<<6)+58>>1]=(65535&C)<<1,S=0|_[t+68>>2],w=0|s[y+((65535&g)<<6)+48>>1],D=0|_[t+60>>2],k=0|o[S+(w<<2)+-4>>1],(0|s[S+(w<<2)>>1])<(65535&k)){for(d=D+(s[S+(w<<2)+2>>1]<<6)+48|0,v=S+(w<<2)+-4|0,R=S+(w<<2)|0,w=k,S=D;F=0|s[R+-2>>1],o[(S=1&w?S+(F<<6)+54|0:S+(F<<6)+48|0)>>1]=1+(0|o[S>>1])<<16>>16,o[d>>1]=(0|o[d>>1])-1<<16>>16,S=s[R>>1]|s[R+2>>1]<<16,w=s[v>>1]|s[v+2>>1]<<16,o[R>>1]=w,o[R+2>>1]=w>>>16,o[v>>1]=S,o[v+2>>1]=S>>>16,S=R+-4|0,w=0|o[(v=v+-4|0)>>1],!((0|s[S>>1])>=(65535&w));)R=S,S=0|_[t+60>>2];S=0|_[t+68>>2]}v=0|s[y+((65535&g)<<6)+54>>1],R=0|o[(w=S+(v<<2)|0)-4>>1];t:do{if((0|s[w>>1])<(65535&R))for(D=(F=0|_[t+60>>2])+(s[S+(v<<2)+2>>1]<<6)+54|0,v=w+-4|0,k=w,S=R,w=F;;){if(F=0|s[k+-2>>1],o[(w=1&S?w+(F<<6)+54|0:w+(F<<6)+48|0)>>1]=1+(0|o[w>>1])<<16>>16,o[D>>1]=(0|o[D>>1])-1<<16>>16,w=s[k>>1]|s[k+2>>1]<<16,S=s[v>>1]|s[v+2>>1]<<16,o[k>>1]=S,o[k+2>>1]=S>>>16,o[v>>1]=w,o[v+2>>1]=w>>>16,w=k+-4|0,S=0|o[(v=v+-4|0)>>1],(0|s[w>>1])>=(65535&S))break t;k=w,w=0|_[t+60>>2]}}while(0);if(S=0|_[t+72>>2],w=0|s[y+((65535&g)<<6)+50>>1],D=0|_[t+60>>2],k=0|o[S+(w<<2)+-4>>1],(0|s[S+(w<<2)>>1])<(65535&k)){for(d=D+(s[S+(w<<2)+2>>1]<<6)+50|0,v=S+(w<<2)+-4|0,R=S+(w<<2)|0,w=k,S=D;F=0|s[R+-2>>1],o[(S=1&w?S+(F<<6)+56|0:S+(F<<6)+50|0)>>1]=1+(0|o[S>>1])<<16>>16,o[d>>1]=(0|o[d>>1])-1<<16>>16,S=s[R>>1]|s[R+2>>1]<<16,w=s[v>>1]|s[v+2>>1]<<16,o[R>>1]=w,o[R+2>>1]=w>>>16,o[v>>1]=S,o[v+2>>1]=S>>>16,S=R+-4|0,w=0|o[(v=v+-4|0)>>1],!((0|s[S>>1])>=(65535&w));)R=S,S=0|_[t+60>>2];S=0|_[t+72>>2]}v=0|s[y+((65535&g)<<6)+56>>1],R=0|o[(w=S+(v<<2)|0)-4>>1];t:do{if((0|s[w>>1])<(65535&R))for(D=(F=0|_[t+60>>2])+(s[S+(v<<2)+2>>1]<<6)+56|0,v=w+-4|0,k=w,S=R,w=F;;){if(F=0|s[k+-2>>1],o[(w=1&S?w+(F<<6)+56|0:w+(F<<6)+50|0)>>1]=1+(0|o[w>>1])<<16>>16,o[D>>1]=(0|o[D>>1])-1<<16>>16,w=s[k>>1]|s[k+2>>1]<<16,S=s[v>>1]|s[v+2>>1]<<16,o[k>>1]=S,o[k+2>>1]=S>>>16,o[v>>1]=w,o[v+2>>1]=w>>>16,w=k+-4|0,S=0|o[(v=v+-4|0)>>1],(0|s[w>>1])>=(65535&S))break t;k=w,w=0|_[t+60>>2]}}while(0);return Yt(t,2,0|o[y+((65535&g)<<6)+52>>1]),Ht(t,2,0|o[y+((65535&g)<<6)+58>>1],b),S=0|_[t+60>>2],(v=0|_[t+108>>2])?(F=0|Yb[3&_[8+(0|_[v>>2])>>2]](v,e,i,n,r,c,a,b,0),_[S+((65535&g)<<6)+60>>2]=F,0|(F=S+((65535&g)<<6)|0)):0|(F=S+((65535&g)<<6)|0)},function(t,e,i,r,s,p,c,a,b){t|=0,e|=0,i|=0,r|=0,s|=0,p|=0,c|=0,a|=0,b|=0;var d,l=0;if(d=Q,Q=Q+48|0,_[6630]=1+(0|_[6630]),(r=0|di(83))?(_[(r+4+15&-16)-4>>2]=r,l=r+4+15&-16):l=0,_[l>>2]=s,o[l+4>>1]=p,o[l+6>>1]=c,_[(s=l+16|0)>>2]=_[e>>2],_[s+4>>2]=_[e+4>>2],_[s+8>>2]=_[e+8>>2],_[s+12>>2]=_[e+12>>2],_[(s=l+32|0)>>2]=_[i>>2],_[s+4>>2]=_[i+4>>2],_[s+8>>2]=_[i+8>>2],_[s+12>>2]=_[i+12>>2],_[l+8>>2]=0,_[(s=l+56|0)>>2]=0,_[(p=l+52|0)>>2]=0,_[d+16>>2]=_[e>>2],_[d+16+4>>2]=_[e+4>>2],_[d+16+8>>2]=_[e+8>>2],_[d+16+12>>2]=_[e+12>>2],_[d+16+16>>2]=_[i>>2],_[d+16+16+4>>2]=_[i+4>>2],_[d+16+16+8>>2]=_[i+8>>2],_[d+16+16+12>>2]=_[i+12>>2],_[l+60>>2]=_[t+144>>2],r=1+(0|_[t+188>>2])|0,_[t+188>>2]=r,_[l+12>>2]=r,r=0|_[t+8>>2])_[t+8>>2]=0;else{_[6630]=1+(0|_[6630]),(r=0|di(63))?(_[(r+4+15&-16)-4>>2]=r,r=r+4+15&-16):r=0,b=(a=r)+44|0;do{_[a>>2]=0,a=a+4|0}while((0|a)<(0|b))}return _[r+32>>2]=0,_[r+36>>2]=l,_[r+40>>2]=0,_[r>>2]=_[d+16>>2],_[r+4>>2]=_[d+16+4>>2],_[r+8>>2]=_[d+16+8>>2],_[r+12>>2]=_[d+16+12>>2],_[r+16>>2]=_[d+16+16>>2],_[r+20>>2]=_[d+16+20>>2],_[r+24>>2]=_[d+16+24>>2],_[r+28>>2]=_[d+16+28>>2],U(t+4|0,0|_[t+4>>2],r),_[t+16>>2]=1+(0|_[t+16>>2]),_[l+48>>2]=r,a=t+124+(_[t+144>>2]<<2)|0,_[p>>2]=0,_[s>>2]=_[a>>2],0|(r=0|_[a>>2])&&(_[r+52>>2]=l),_[a>>2]=l,0|n[t+193|0]?(Q=d,0|l):(_[d>>2]=9900,_[d+4>>2]=t,_[d+8>>2]=l,ci(0|_[t+4>>2],d+16|0,d),ci(0|_[t+64>>2],d+16|0,d),Q=d,0|l)},Rr],Jb=[ar,function(t,e,i,o,r,s,c,a,b,d){t|=0,e|=0,o|=0,r|=0,s|=0,c|=0,a|=0,b|=0,d|=0;var l,A=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0,O=0;l=Q,Q=Q+4224|0,R=((0|_[4+(i|=0)>>2])-17|0)>>>0<2?((0|_[o+4>>2])-17|0)>>>0<2:0,t=0;do{ni(),C=+p[23344+(t<<4)>>2],v=+p[23344+(t<<4)+4>>2],S=+p[23344+(t<<4)+8>>2],k=+p[r+4>>2]*-C+ +p[r+20>>2]*-v+ +p[r+36>>2]*-S,w=+p[r+8>>2]*-C+ +p[r+24>>2]*-v+ +p[r+40>>2]*-S,p[l+992+(t<<4)>>2]=+p[r>>2]*-C+ +p[r+16>>2]*-v+ +p[r+32>>2]*-S,p[l+992+(t<<4)+4>>2]=k,p[l+992+(t<<4)+8>>2]=w,p[l+992+(t<<4)+12>>2]=0,w=C*+p[s+4>>2]+v*+p[s+20>>2]+S*+p[s+36>>2],k=C*+p[s+8>>2]+v*+p[s+24>>2]+S*+p[s+40>>2],p[l+(t<<4)>>2]=C*+p[s>>2]+v*+p[s+16>>2]+S*+p[s+32>>2],p[l+(t<<4)+4>>2]=w,p[l+(t<<4)+8>>2]=k,p[l+(t<<4)+12>>2]=0,t=t+1|0}while(42!=(0|t));if((0|(u=0|Lb[127&_[84+(0|_[i>>2])>>2]](i)))>0){for(t=0,f=42;rd[127&_[88+(0|_[i>>2])>>2]](i,t,l+4144|0),w=+p[l+4144>>2],k=+p[l+4144+4>>2],S=+p[l+4144+8>>2],v=w*+p[r+16>>2]+k*+p[r+20>>2]+S*+p[r+24>>2],C=w*+p[r+32>>2]+k*+p[r+36>>2]+S*+p[r+40>>2],p[l+4144>>2]=+p[r>>2]*w+ +p[r+4>>2]*k+ +p[r+8>>2]*S,p[l+4144+4>>2]=v,p[l+4144+8>>2]=C,p[l+4144+12>>2]=0,ni(),_[(m=23344+(f<<4)|0)>>2]=_[l+4144>>2],_[m+4>>2]=_[l+4144+4>>2],_[m+8>>2]=_[l+4144+8>>2],_[m+12>>2]=_[l+4144+12>>2],C=+p[l+4144>>2],v=+p[l+4144+4>>2],S=+p[l+4144+8>>2],k=+p[r+4>>2]*-C+ +p[r+20>>2]*-v+ +p[r+36>>2]*-S,w=+p[r+8>>2]*-C+ +p[r+24>>2]*-v+ +p[r+40>>2]*-S,p[l+992+(f<<4)>>2]=+p[r>>2]*-C+ +p[r+16>>2]*-v+ +p[r+32>>2]*-S,p[l+992+(f<<4)+4>>2]=k,p[l+992+(f<<4)+8>>2]=w,p[l+992+(f<<4)+12>>2]=0,w=C*+p[s+4>>2]+v*+p[s+20>>2]+S*+p[s+36>>2],k=C*+p[s+8>>2]+v*+p[s+24>>2]+S*+p[s+40>>2],p[l+(f<<4)>>2]=C*+p[s>>2]+v*+p[s+16>>2]+S*+p[s+32>>2],p[l+(f<<4)+4>>2]=w,p[l+(f<<4)+8>>2]=k,p[l+(f<<4)+12>>2]=0,(0|(t=t+1|0))!=(0|u);)f=f+1|0;f=u+42|0}else f=42;if((0|(m=0|Lb[127&_[84+(0|_[o>>2])>>2]](o)))>0){for(t=0,u=f;rd[127&_[88+(0|_[o>>2])>>2]](o,t,l+4144|0),w=+p[l+4144>>2],k=+p[l+4144+4>>2],S=+p[l+4144+8>>2],v=w*+p[s+16>>2]+k*+p[s+20>>2]+S*+p[s+24>>2],C=w*+p[s+32>>2]+k*+p[s+36>>2]+S*+p[s+40>>2],p[l+4144>>2]=+p[s>>2]*w+ +p[s+4>>2]*k+ +p[s+8>>2]*S,p[l+4144+4>>2]=v,p[l+4144+8>>2]=C,p[l+4144+12>>2]=0,ni(),_[(D=23344+(u<<4)|0)>>2]=_[l+4144>>2],_[D+4>>2]=_[l+4144+4>>2],_[D+8>>2]=_[l+4144+8>>2],_[D+12>>2]=_[l+4144+12>>2],C=+p[l+4144>>2],v=+p[l+4144+4>>2],S=+p[l+4144+8>>2],k=+p[r+4>>2]*-C+ +p[r+20>>2]*-v+ +p[r+36>>2]*-S,w=+p[r+8>>2]*-C+ +p[r+24>>2]*-v+ +p[r+40>>2]*-S,p[l+992+(u<<4)>>2]=+p[r>>2]*-C+ +p[r+16>>2]*-v+ +p[r+32>>2]*-S,p[l+992+(u<<4)+4>>2]=k,p[l+992+(u<<4)+8>>2]=w,p[l+992+(u<<4)+12>>2]=0,w=C*+p[s+4>>2]+v*+p[s+20>>2]+S*+p[s+36>>2],k=C*+p[s+8>>2]+v*+p[s+24>>2]+S*+p[s+40>>2],p[l+(u<<4)>>2]=C*+p[s>>2]+v*+p[s+16>>2]+S*+p[s+32>>2],p[l+(u<<4)+4>>2]=w,p[l+(u<<4)+8>>2]=k,p[l+(u<<4)+12>>2]=0,(0|(t=t+1|0))!=(0|m);)u=u+1|0;f=m+f|0}if(cd[127&_[76+(0|_[i>>2])>>2]](i,l+992|0,l+2976|0,f),cd[127&_[76+(0|_[o>>2])>>2]](o,l,l+1984|0,f),(0|f)>0)for(C=0xde0b6b000000000,t=0,w=0,A=0,S=0,h=0;;){if(ni(),g=+p[23344+(t<<4)>>2],v=+p[23344+(t<<4)+4>>2],y=+p[23344+(t<<4)+12>>2],g*g+v*v+(k=R?0:+p[23344+(t<<4)+8>>2])*k>.01&&(B=+p[l+2976+(t<<4)>>2],I=+p[l+2976+(t<<4)+4>>2],j=+p[l+2976+(t<<4)+8>>2],O=+p[l+1984+(t<<4)>>2],F=+p[l+1984+(t<<4)+4>>2],W=+p[l+1984+(t<<4)+8>>2],(j=g*(O*+p[s>>2]+F*+p[s+4>>2]+W*+p[s+8>>2]+ +p[s+48>>2]-(B*+p[r>>2]+I*+p[r+4>>2]+j*+p[r+8>>2]+ +p[r+48>>2]))+v*(O*+p[s+16>>2]+F*+p[s+20>>2]+W*+p[s+24>>2]+ +p[s+52>>2]-(B*+p[r+16>>2]+I*+p[r+20>>2]+j*+p[r+24>>2]+ +p[r+52>>2]))+k*(R?0:O*+p[s+32>>2]+F*+p[s+36>>2]+W*+p[s+40>>2]+ +p[s+56>>2]-(B*+p[r+32>>2]+I*+p[r+36>>2]+j*+p[r+40>>2]+ +p[r+56>>2])))<C)?(C=j,A=k):(y=w,g=h,v=S),(0|(t=t+1|0))==(0|f)){S=A;break}w=y,S=v,h=g}else C=0xde0b6b000000000,S=0,v=0,g=0,y=0;switch(0|_[i+4>>2]){case 4:case 5:case 10:case 11:case 13:case 1:case 0:case 8:break;default:Bb[15&_[48+(0|_[i>>2])>>2]](i)}switch(0|_[o+4>>2]){case 4:case 5:case 10:case 11:case 13:case 1:case 0:case 8:break;default:Bb[15&_[48+(0|_[o>>2])>>2]](o)}if(C<0)return Q=l,0|(D=0);switch(0|_[i+4>>2]){case 8:A=+p[i+28>>2]*+p[i+12>>2];break;case 0:case 1:case 13:case 11:case 10:case 4:case 5:A=+p[i+44>>2];break;default:A=+Bb[15&_[48+(0|_[i>>2])>>2]](i)}switch(0|(t=0|_[o+4>>2])){case 8:h=+p[o+28>>2]*+p[o+12>>2],t=8;break;case 0:h=+p[o+44>>2],t=0;break;case 1:h=+p[o+44>>2],t=1;break;case 13:h=+p[o+44>>2],t=13;break;case 11:h=+p[o+44>>2],t=11;break;case 10:h=+p[o+44>>2],t=10;break;case 4:case 5:h=+p[o+44>>2];break;default:h=+Bb[15&_[48+(0|_[o>>2])>>2]](o),t=0|_[o+4>>2]}return A=C+(A+h+.5),_[l+4144>>2]=10204,_[l+4144+4>>2]=0,_[l+4144+8>>2]=1065353216,_[l+4144+12>>2]=0,p[l+4144+16>>2]=0,_[l+4144+20>>2]=0,_[l+4144+24>>2]=e,_[l+4144+28>>2]=i,_[l+4144+32>>2]=o,_[l+4144+36>>2]=_[i+4>>2],_[l+4144+40>>2]=t,W=+Bb[15&_[48+(0|_[i>>2])>>2]](i),p[l+4144+44>>2]=W,W=+Bb[15&_[48+(0|_[o>>2])>>2]](o),p[l+4144+48>>2]=W,n[l+4144+52|0]=0,_[l+4144+60>>2]=-1,_[l+4144+72>>2]=1,_[l+4144+76>>2]=1,W=g*A+ +p[r+48>>2],F=v*A+ +p[r+52>>2],O=S*A+ +p[r+56>>2],_[l+4012>>2]=_[r>>2],_[l+4012+4>>2]=_[r+4>>2],_[l+4012+8>>2]=_[r+8>>2],_[l+4012+12>>2]=_[r+12>>2],_[l+4012+16>>2]=_[r+16>>2],_[l+4012+16+4>>2]=_[r+16+4>>2],_[l+4012+16+8>>2]=_[r+16+8>>2],_[l+4012+16+12>>2]=_[r+16+12>>2],_[l+4012+32>>2]=_[r+32>>2],_[l+4012+32+4>>2]=_[r+32+4>>2],_[l+4012+32+8>>2]=_[r+32+8>>2],_[l+4012+32+12>>2]=_[r+32+12>>2],p[l+4012+48>>2]=W,p[l+4012+52>>2]=F,p[l+4012+56>>2]=O,p[l+4012+60>>2]=0,_[l+4012+64>>2]=_[s>>2],_[l+4012+64+4>>2]=_[s+4>>2],_[l+4012+64+8>>2]=_[s+8>>2],_[l+4012+64+12>>2]=_[s+12>>2],_[l+4012+80>>2]=_[s+16>>2],_[l+4012+80+4>>2]=_[s+16+4>>2],_[l+4012+80+8>>2]=_[s+16+8>>2],_[l+4012+80+12>>2]=_[s+16+12>>2],_[l+4012+96>>2]=_[s+32>>2],_[l+4012+96+4>>2]=_[s+32+4>>2],_[l+4012+96+8>>2]=_[s+32+8>>2],_[l+4012+96+12>>2]=_[s+32+12>>2],_[l+4012+112>>2]=_[s+48>>2],_[l+4012+112+4>>2]=_[s+48+4>>2],_[l+4012+112+8>>2]=_[s+48+8>>2],_[l+4012+112+12>>2]=_[s+48+12>>2],p[l+4012+128>>2]=0xde0b6b000000000,_[l+3968>>2]=10088,n[l+3968+40|0]=0,p[l+4144+4>>2]=-g,p[l+4144+8>>2]=-v,p[l+4144+12>>2]=-S,p[l+4144+16>>2]=0,Si(l+4144|0,l+4012|0,l+3968|0,d,0),A-=+p[l+3968+36>>2],(t=0|n[l+3968+40|0])<<24>>24&&(D=l+3968+20|0,F=+p[l+3968+24>>2]-v*A,O=+p[l+3968+28>>2]-S*A,p[a>>2]=+p[D>>2]-g*A,p[a+4>>2]=F,p[a+8>>2]=O,p[a+12>>2]=0,_[b>>2]=_[D>>2],_[b+4>>2]=_[D+4>>2],_[b+8>>2]=_[D+8>>2],_[b+12>>2]=_[D+12>>2],p[c>>2]=g,p[c+4>>2]=v,p[c+8>>2]=S,p[c+12>>2]=y),Q=l,0|(D=!!(t<<24>>24))},function(t,e,i,n,o,r,s,c,a,b){var d,l;return t|=0,i|=0,n|=0,o|=0,s|=0,c|=0,a|=0,t=Q,Q=Q+80|0,l=+p[52+(r|=0)>>2]-+p[o+52>>2],d=+p[r+56>>2]-+p[o+56>>2],p[t+56>>2]=+p[r+48>>2]-+p[o+48>>2],p[t+56+4>>2]=l,p[t+56+8>>2]=d,p[t+56+12>>2]=0,0|gi(i,o,n,r,t+56|0,t,1)?(_[c>>2]=_[t+4>>2],_[c+4>>2]=_[t+4+4>>2],_[c+8>>2]=_[t+4+8>>2],_[c+12>>2]=_[t+4+12>>2],_[a>>2]=_[t+20>>2],_[a+4>>2]=_[t+20+4>>2],_[a+8>>2]=_[t+20+8>>2],_[a+12>>2]=_[t+20+12>>2],_[s>>2]=_[t+36>>2],_[s+4>>2]=_[t+36+4>>2],_[s+8>>2]=_[t+36+8>>2],_[s+12>>2]=_[t+36+12>>2],Q=t,0|(a=1)):0|Se(i,o,n,r,t+56|0,t)?(_[c>>2]=_[t+4>>2],_[c+4>>2]=_[t+4+4>>2],_[c+8>>2]=_[t+4+8>>2],_[c+12>>2]=_[t+4+12>>2],_[a>>2]=_[t+20>>2],_[a+4>>2]=_[t+20+4>>2],_[a+8>>2]=_[t+20+8>>2],_[a+12>>2]=_[t+20+12>>2],_[s>>2]=_[t+36>>2],_[s+4>>2]=_[t+36+4>>2],_[s+8>>2]=_[t+36+8>>2],_[s+12>>2]=_[t+36+12>>2],Q=t,0|(a=0)):(Q=t,0|(a=0))},ar],Xb=[function(){v(19)},function(){k()}],zb=[wb,yb,hb,yb,ab,yb,hb,yb,ab,yb,hb,yb,ab,yb,hb,yb,ab,yb,function(t){gs(t|=0)},yb,ab,yb,ab,yb,hb,yb,ab,function(t){var e;_[(t|=0)>>2]=3844,0|(e=0|_[t+32>>2])&&(0|n[t+36|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+32>>2]=0),n[t+36|0]=1,_[t+32>>2]=0,_[t+24>>2]=0,_[t+28>>2]=0},function(t){var e;_[(t|=0)>>2]=3844,(e=0|_[t+32>>2])&&0|n[t+36|0]?(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2]),gb(t)):gb(t)},function(t){var e=0,i=0,n=0;if(!((0|(e=0|_[24+(t|=0)>>2]))<=0)){n=0;do{switch(i=0|_[(0|_[t+32>>2])+(n<<2)>>2],0|_[i+216>>2]){case 2:case 5:break;default:ht(i),e=0|_[t+24>>2]}n=n+1|0}while((0|n)<(0|e))}},pn,function(t){pn(t|=0),gb(t)},yb,hb,hb,hb,hb,Gi,function(t){Gi(t|=0),t&&(_[6631]=1+(0|_[6631]),Li(0|_[t+-4>>2]))},yb,hb,yb,hb,yb,gs,hb,hb,yb,gs,hb,hb,yb,hb,function(t){_[(t|=0)>>2]=4488,Hi(t+12|0)},function(t){_[(t|=0)>>2]=4488,Hi(t+12|0),gb(t)},yb,hb,yb,hb,function(t){var e;_[(t|=0)>>2]=8020,(e=0|_[t+52>>2])&&(zb[511&_[_[e>>2]>>2]](e),(t=0|_[t+52>>2])&&(_[6631]=1+(0|_[6631]),Li(0|_[t+-4>>2])))},wo,Hi,function(t){Hi(t|=0),gb(t)},bn,function(t){bn(t|=0),t&&(_[6631]=1+(0|_[6631]),Li(0|_[t+-4>>2]))},function(t){t|=0;var e,i=0,o=0,r=0,s=0;if(e=Q,Q=Q+16|0,$i(17386),(0|(i=0|_[t+8>>2]))>0){r=0;do{if(o=0|_[(0|_[t+16>>2])+(r<<2)>>2],0|n[t+76|0])s=11;else switch(0|_[o+216>>2]){case 2:case 5:break;default:s=11}11==(0|s)&&(s=0,K(t,o),i=0|_[t+8>>2]),r=r+1|0}while((0|r)<(0|i))}if(i=0|_[2606],s=(0|_[i+16>>2])-1|0,_[i+16>>2]=s,0|s)Q=e;else{do{if(0|_[i+4>>2]){if(G(0|e,0),s=0|_[6629],p[i+8>>2]=+p[i+8>>2]+ +(((0|_[e+4>>2])-(0|_[s+4>>2])+(1e6*((0|_[e>>2])-(0|_[s>>2])|0)|0)-(0|_[i+12>>2])|0)>>>0)/1e3,0|_[i+16>>2])return void(Q=e);i=0|_[2606];break}}while(0);_[2606]=_[i+20>>2],Q=e}},function(t){t|=0;var e,i=0;if(e=Q,Q=Q+16|0,$i(17360),i=0|_[t+68>>2],id[127&_[32+(0|_[i>>2])>>2]](i,0|_[t+24>>2]),t=0|_[2606],i=(0|_[t+16>>2])-1|0,_[t+16>>2]=i,0|i)Q=e;else{do{if(0|_[t+4>>2]){if(G(0|e,0),i=0|_[6629],p[t+8>>2]=+p[t+8>>2]+ +(((0|_[e+4>>2])-(0|_[i+4>>2])+(1e6*((0|_[e>>2])-(0|_[i>>2])|0)|0)-(0|_[t+12>>2])|0)>>>0)/1e3,0|_[t+16>>2])return void(Q=e);t=0|_[2606];break}}while(0);_[2606]=_[t+20>>2],Q=e}},function(t){var e,i,o,r=0,s=0,c=0,a=0,b=0,d=0,A=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0,O=0,x=0,T=0,P=0,V=0,M=0,G=0,L=0,N=0,E=0,H=0,Z=0,U=0,Y=0,J=0,X=0,z=0,K=0,q=0,$=0,tt=0,et=0,nt=0,ot=0,_t=0,rt=0;if(o=Q,Q=Q+176|0,Db(t|=0),0|Lb[127&_[20+(0|_[t>>2])>>2]](t))if((0|_[t+328>>2])<=0)Q=o;else{e=o+96+32|0,i=o+96+52|0,L=0;do{if(H=0|_[(0|_[t+336>>2])+(L<<2)>>2],0|Lb[127&_[20+(0|_[t>>2])>>2]](t)&&(G=0|Lb[127&_[20+(0|_[t>>2])>>2]](t),1&Lb[127&_[48+(0|_[G>>2])>>2]](G))){if(s=0|_[t+72>>2],0|n[H+473|0]){if(_[o+80>>2]=_[H+520>>2],_[o+80+4>>2]=_[H+520+4>>2],_[o+80+8>>2]=_[H+520+8>>2],_[o+80+12>>2]=_[H+520+12>>2],b=+p[H+584>>2],d=+p[H+536>>2],A=+p[H+600>>2],g=+p[H+540>>2],C=+p[H+616>>2],v=+p[H+544>>2],S=+p[H+588>>2],w=+p[H+604>>2],k=+p[H+620>>2],R=+p[H+592>>2],j=+p[H+608>>2],D=+p[H+624>>2],I=+p[H+552>>2],B=+p[H+556>>2],W=+p[H+560>>2],F=+p[H+568>>2],O=+p[H+572>>2],x=+p[H+576>>2],_t=1/+l(+((rt=b*d+A*g+C*v+0*(d*S+g*w+v*k)+0*(d*R+g*j+v*D))*rt+(ot=0*(R*I+j*B+D*W)+(b*I+A*B+C*W+0*(S*I+w*B+k*W)))*ot+(nt=0*(R*F+j*O+D*x)+(b*F+A*O+C*x+0*(S*F+w*O+k*x)))*nt)),tt=1/+l(+((et=0*(b*d+A*g+C*v)+(d*S+g*w+v*k)+0*(d*R+g*j+v*D))*et+($=0*(R*I+j*B+D*W)+(S*I+w*B+k*W+0*(b*I+A*B+C*W)))*$+(q=0*(R*F+j*O+D*x)+(S*F+w*O+k*x+0*(b*F+A*O+C*x)))*q)),z=1/+l(+((K=0*(b*d+A*g+C*v)+0*(d*S+g*w+v*k)+(d*R+g*j+v*D))*K+(X=R*I+j*B+D*W+(0*(b*I+A*B+C*W)+0*(S*I+w*B+k*W)))*X+(J=R*F+j*O+D*x+(0*(b*F+A*O+C*x)+0*(S*F+w*O+k*x)))*J)),G=0|_[8+(0|_[s>>2])>>2],ot=+p[o+80+4>>2]+ot*_t*10,nt=+p[o+80+8>>2]+nt*_t*10,p[o+160>>2]=+p[o+80>>2]+rt*_t*10,p[o+160+4>>2]=ot,p[o+160+8>>2]=nt,p[o+160+12>>2]=0,_[o+96>>2]=1065353216,_[o+96+4>>2]=0,_[o+96+8>>2]=0,p[o+96+12>>2]=0,cd[127&G](s,o+80|0,o+160|0,o+96|0),G=0|_[8+(0|_[s>>2])>>2],$=$*tt*10+ +p[o+80+4>>2],q=q*tt*10+ +p[o+80+8>>2],p[o+160>>2]=et*tt*10+ +p[o+80>>2],p[o+160+4>>2]=$,p[o+160+8>>2]=q,p[o+160+12>>2]=0,_[o+96>>2]=0,_[o+96+4>>2]=1065353216,_[o+96+8>>2]=0,p[o+96+12>>2]=0,cd[127&G](s,o+80|0,o+160|0,o+96|0),G=0|_[8+(0|_[s>>2])>>2],X=X*z*10+ +p[o+80+4>>2],J=J*z*10+ +p[o+80+8>>2],p[o+160>>2]=K*z*10+ +p[o+80>>2],p[o+160+4>>2]=X,p[o+160+8>>2]=J,p[o+160+12>>2]=0,_[o+96>>2]=0,_[o+96+4>>2]=0,_[o+96+8>>2]=1065353216,p[o+96+12>>2]=0,cd[127&G](s,o+80|0,o+160|0,o+96|0),(0|_[H+484>>2])>0){r=0;do{G=0|_[H+492>>2],et=+p[G+(r<<4)>>2],nt=+p[G+(r<<4)+4>>2],rt=+p[G+(r<<4)+8>>2],ot=+p[o+80>>2]+((b*d+A*g+C*v)*et+(d*S+g*w+v*k)*nt+(d*R+g*j+v*D)*rt),_t=+p[o+80+4>>2]+((b*I+A*B+C*W)*et+(S*I+w*B+k*W)*nt+(R*I+j*B+D*W)*rt),rt=(b*F+A*O+C*x)*et+(S*F+w*O+k*x)*nt+(R*F+j*O+D*x)*rt+ +p[o+80+8>>2],_[o+64>>2]=1065353216,_[o+64+4>>2]=0,_[o+64+8>>2]=1065353216,p[o+64+12>>2]=0,G=0|_[8+(0|_[s>>2])>>2],p[o+160>>2]=ot+-.10000000149011612,p[o+160+4>>2]=_t,p[o+160+8>>2]=rt,p[o+160+12>>2]=0,p[o+96>>2]=ot+.10000000149011612,p[o+96+4>>2]=_t+0,p[o+96+8>>2]=rt+0,p[o+96+12>>2]=0,cd[127&G](s,o+160|0,o+96|0,o+64|0),G=0|_[8+(0|_[s>>2])>>2],p[o+160>>2]=ot,p[o+160+4>>2]=_t+-.10000000149011612,p[o+160+8>>2]=rt,p[o+160+12>>2]=0,p[o+96>>2]=ot+0,p[o+96+4>>2]=_t+.10000000149011612,p[o+96+8>>2]=rt+0,p[o+96+12>>2]=0,cd[127&G](s,o+160|0,o+96|0,o+64|0),G=0|_[8+(0|_[s>>2])>>2],p[o+160>>2]=ot,p[o+160+4>>2]=_t,p[o+160+8>>2]=rt+-.10000000149011612,p[o+160+12>>2]=0,p[o+96>>2]=ot+0,p[o+96+4>>2]=_t+0,p[o+96+8>>2]=rt+.10000000149011612,p[o+96+12>>2]=0,cd[127&G](s,o+160|0,o+96|0,o+64|0),r=r+1|0}while((0|r)<(0|_[H+484>>2]))}G=0|_[t+72>>2]}else G=s;if(M=0|_[t+344>>2],_[o+80>>2]=0,_[o+80+4>>2]=0,_[o+80+8>>2]=0,_[o+80+12>>2]=0,_[o+64>>2]=1065353216,_[o+64+4>>2]=1065353216,_[o+64+8>>2]=1065353216,p[o+64+12>>2]=0,_[o+48>>2]=1065353216,_[o+48+4>>2]=0,_[o+48+8>>2]=0,p[o+48+12>>2]=0,256&M){if(_b(),(0|(r=0|_[H+1112>>2]))>0){V=0;do{if(0|n[377+(0|_[(0|_[H+1120>>2])+(V<<2)>>2])|0]){if(nt=4.656612873077393e-10*+(0|Jo()),ot=4.656612873077393e-10*+(0|Jo()),_t=4.656612873077393e-10*+(0|Jo()),rt=1/+l(+(_t*_t+(nt*nt+ot*ot))),p[o+160>>2]=nt*rt*.75,p[o+160+4>>2]=ot*rt*.75,p[o+160+8>>2]=_t*rt*.75,p[o+160+12>>2]=0,(0|(c=0|_[24+(0|_[(0|_[H+1120>>2])+(V<<2)>>2])>>2]))>0){_[6630]=1+(0|_[6630]),(r=0|di(16+(c<<4|3)|0))?(_[(r+4+15&-16)-4>>2]=r,s=r+4+15&-16):s=0,r=0;do{_[(P=s+(r<<4)|0)>>2]=_[o+96>>2],_[P+4>>2]=_[o+96+4>>2],_[P+8>>2]=_[o+96+8>>2],_[P+12>>2]=_[o+96+12>>2],r=r+1|0}while((0|r)!=(0|c));r=0;do{T=8+(0|_[(0|_[32+(0|_[(0|_[H+1120>>2])+(V<<2)>>2])>>2])+(r<<2)>>2])|0,_[(P=s+(r<<4)|0)>>2]=_[T>>2],_[P+4>>2]=_[T+4>>2],_[P+8>>2]=_[T+8>>2],_[P+12>>2]=_[T+12>>2],r=r+1|0}while((0|r)!=(0|c));P=s,T=s}else P=0,T=0;if(n[o+96+16|0]=1,_[o+96+12>>2]=0,_[o+96+4>>2]=0,_[o+96+8>>2]=0,n[o+96+36|0]=1,_[e>>2]=0,_[o+96+24>>2]=0,_[o+96+28>>2]=0,n[o+96+56|0]=1,_[i>>2]=0,_[o+96+44>>2]=0,_[o+96+48>>2]=0,Ai(o+96|0,T,c),(0|(h=0|_[o+96+44>>2]))>0){u=0|_[e>>2],f=0;do{if((0|(r=u+(12*(y=0|_[(0|_[i>>2])+(f<<2)>>2])|0)+(12*(s=0|_[u+(12*y|0)+4>>2])|0)+(12*(0|_[u+(12*y|0)+(12*s|0)>>2])|0)|0))!=(u+(12*y|0)|0))for(m=0|_[o+96+12>>2],s=0|_[u+(12*y|0)+(12*s|0)+8>>2],c=0|_[u+(12*y|0)+8>>2];a=0|_[r+8>>2],Ad[1&_[28+(0|_[G>>2])>>2]](G,m+(s<<4)|0,m+(c<<4)|0,m+(a<<4)|0,o+160|0,1),(0|(r=(s=r+(12*(0|_[r+4>>2])|0)|0)+(12*(0|_[s>>2])|0)|0))!=(u+(12*y|0)|0);)s=c,c=a;f=f+1|0}while((0|f)<(0|h))}0|(r=0|_[i>>2])&&(0|n[o+96+56|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[r+-4>>2])),_[i>>2]=0),n[o+96+56|0]=1,_[i>>2]=0,_[o+96+44>>2]=0,_[o+96+48>>2]=0,0|(r=0|_[e>>2])&&(0|n[o+96+36|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[r+-4>>2])),_[e>>2]=0),n[o+96+36|0]=1,_[e>>2]=0,_[o+96+24>>2]=0,_[o+96+28>>2]=0,0|(r=0|_[o+96+12>>2])&&(0|n[o+96+16|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[r+-4>>2])),_[o+96+12>>2]=0),!(0|P)|!(0|T)||(_[6631]=1+(0|_[6631]),Li(0|_[T+-4>>2])),r=0|_[H+1112>>2]}V=V+1|0}while((0|V)<(0|r))}}else{if(1&M&&(0|(Z=0|_[H+712>>2]))>0){c=0,r=Z;do{s=0|_[H+720>>2],1&_[16+(0|_[s+(104*c|0)+4>>2])>>2]&&(r=0|_[8+(0|_[G>>2])>>2],V=s+(104*c|0)+8|0,h=0|_[(T=s+(104*c|0)+12|0)>>2],y=0|_[(P=s+(104*c|0)+16|0)>>2],p[o+160>>2]=+p[V>>2]-.10000000149011612,_[o+160+4>>2]=h,_[o+160+8>>2]=y,p[o+160+12>>2]=0,_t=+p[T>>2]+0,rt=+p[P>>2]+0,p[o+96>>2]=+p[V>>2]+.10000000149011612,p[o+96+4>>2]=_t,p[o+96+8>>2]=rt,p[o+96+12>>2]=0,_[o+32>>2]=1065353216,_[o+32+4>>2]=0,_[o+32+8>>2]=0,p[o+32+12>>2]=0,cd[127&r](G,o+160|0,o+96|0,o+32|0),r=0|_[8+(0|_[G>>2])>>2],rt=+p[T>>2]-.10000000149011612,y=0|_[P>>2],_[o+160>>2]=_[V>>2],p[o+160+4>>2]=rt,_[o+160+8>>2]=y,p[o+160+12>>2]=0,rt=+p[T>>2]+.10000000149011612,_t=+p[P>>2]+0,p[o+96>>2]=+p[V>>2]+0,p[o+96+4>>2]=rt,p[o+96+8>>2]=_t,p[o+96+12>>2]=0,_[o+32>>2]=0,_[o+32+4>>2]=1065353216,_[o+32+8>>2]=0,p[o+32+12>>2]=0,cd[127&r](G,o+160|0,o+96|0,o+32|0),r=0|_[8+(0|_[G>>2])>>2],y=0|_[T>>2],_t=+p[P>>2]-.10000000149011612,_[o+160>>2]=_[V>>2],_[o+160+4>>2]=y,p[o+160+8>>2]=_t,p[o+160+12>>2]=0,_t=+p[T>>2]+0,rt=+p[P>>2]+.10000000149011612,p[o+96>>2]=+p[V>>2]+0,p[o+96+4>>2]=_t,p[o+96+8>>2]=rt,p[o+96+12>>2]=0,_[o+32>>2]=0,_[o+32+4>>2]=0,_[o+32+8>>2]=1065353216,p[o+32+12>>2]=0,cd[127&r](G,o+160|0,o+96|0,o+32|0),r=0|_[H+712>>2]),c=c+1|0}while((0|c)<(0|r))}if(2&M&&(0|(U=0|_[H+732>>2]))>0){c=0,r=U;do{s=0|_[H+740>>2],1&_[16+(0|_[s+(52*c|0)+4>>2])>>2]&&(cd[127&_[8+(0|_[G>>2])>>2]](G,8+(0|_[s+(52*c|0)+8>>2])|0,8+(0|_[s+(52*c|0)+12>>2])|0,o+80|0),r=0|_[H+732>>2]),c=c+1|0}while((0|c)<(0|r))}if(16&M&&(0|(Y=0|_[H+712>>2]))>0){c=0,r=Y;do{s=0|_[H+720>>2],1&_[16+(0|_[s+(104*c|0)+4>>2])>>2]&&(ot=.5*+p[s+(104*c|0)+72>>2],rt=.5*+p[s+(104*c|0)+76>>2],_t=.5*+p[s+(104*c|0)+80>>2],V=0|_[8+(0|_[G>>2])>>2],r=s+(104*c|0)+8|0,et=rt+ +p[(T=s+(104*c|0)+12|0)>>2],nt=_t+ +p[(P=s+(104*c|0)+16|0)>>2],p[o+160>>2]=ot+ +p[r>>2],p[o+160+4>>2]=et,p[o+160+8>>2]=nt,p[o+160+12>>2]=0,cd[127&V](G,r,o+160|0,o+64|0),V=0|_[8+(0|_[G>>2])>>2],rt=+p[T>>2]-rt,_t=+p[P>>2]-_t,p[o+160>>2]=+p[r>>2]-ot,p[o+160+4>>2]=rt,p[o+160+8>>2]=_t,p[o+160+12>>2]=0,_t=.5*+p[o+64+4>>2],rt=.5*+p[o+64+8>>2],p[o+96>>2]=.5*+p[o+64>>2],p[o+96+4>>2]=_t,p[o+96+8>>2]=rt,p[o+96+12>>2]=0,cd[127&V](G,r,o+160|0,o+96|0),r=0|_[H+712>>2]),c=c+1|0}while((0|c)<(0|r))}if(32&M&&(!(0|n[24488])&&0|Qs(24488)&&(_[5540]=1065353216,_[5541]=0,_[5542]=0,_[5543]=0,_[5544]=0,_[5545]=1065353216,_[5546]=0,_[5547]=0,_[5548]=0,_[5549]=0,_[5550]=1065353216,p[5551]=0),(0|_[H+812>>2])>0)){r=0;do{V=0|_[H+820>>2],T=0|_[V+(104*r|0)+24>>2],I=+p[T+8>>2],B=+p[(P=V+(104*r|0)+4|0)>>2],W=+p[T+12>>2],F=+p[(y=V+(104*r|0)+8|0)>>2],J=+p[T+16>>2],X=+p[(T=V+(104*r|0)+12|0)>>2],z=+p[V+(104*r|0)+20>>2]+(I*B+W*F+J*X),p[o+160>>2]=I-B*z,p[o+160+4>>2]=W-F*z,p[o+160+8>>2]=J-X*z,p[o+160+12>>2]=0,K=+p[P>>2],_t=+p[y>>2],O=+p[T>>2],x=+p[22160+((V=K<_t?K<O?0:2:_t<O?1:2)<<4)+8>>2],q=+p[22160+(V<<4)+4>>2],nt=+p[22160+(V<<4)>>2],tt=1/+l(+((K*q-_t*nt)*(K*q-_t*nt)+((_t*x-O*q)*(_t*x-O*q)+(O*nt-K*x)*(O*nt-K*x)))),rt=1/+l(+((ot=_t*((_t*x-O*q)*tt)-K*((O*nt-K*x)*tt))*ot+(($=O*((O*nt-K*x)*tt)-_t*((K*q-_t*nt)*tt))*$+(et=K*((K*q-_t*nt)*tt)-O*((_t*x-O*q)*tt))*et))),V=0|_[8+(0|_[G>>2])>>2],p[o+96>>2]=I-B*z-(_t*x-O*q)*tt*.5,p[o+96+4>>2]=W-F*z-(O*nt-K*x)*tt*.5,p[o+96+8>>2]=J-X*z-(K*q-_t*nt)*tt*.5,p[o+96+12>>2]=0,p[o+32>>2]=I-B*z+(_t*x-O*q)*tt*.5,p[o+32+4>>2]=W-F*z+(O*nt-K*x)*tt*.5,p[o+32+8>>2]=J-X*z+(K*q-_t*nt)*tt*.5,p[o+32+12>>2]=0,cd[127&V](G,o+96|0,o+32|0,o+48|0),V=0|_[8+(0|_[G>>2])>>2],tt=+p[o+160>>2],nt=+p[o+160+4>>2],_t=+p[o+160+8>>2],p[o+96>>2]=tt-$*rt*.5,p[o+96+4>>2]=nt-et*rt*.5,p[o+96+8>>2]=_t-ot*rt*.5,p[o+96+12>>2]=0,p[o+32>>2]=$*rt*.5+tt,p[o+32+4>>2]=et*rt*.5+nt,p[o+32+8>>2]=ot*rt*.5+_t,p[o+32+12>>2]=0,cd[127&V](G,o+96|0,o+32|0,o+48|0),V=0|_[8+(0|_[G>>2])>>2],_t=.5*+p[y>>2]*3+ +p[o+160+4>>2],rt=.5*+p[T>>2]*3+ +p[o+160+8>>2],p[o+96>>2]=.5*+p[P>>2]*3+ +p[o+160>>2],p[o+96+4>>2]=_t,p[o+96+8>>2]=rt,p[o+96+12>>2]=0,_[o+32>>2]=1065353216,_[o+32+4>>2]=1065353216,_[o+32+8>>2]=0,p[o+32+12>>2]=0,cd[127&V](G,o+160|0,o+96|0,o+32|0),r=r+1|0}while((0|r)<(0|_[H+812>>2]))}if(4&M&&(_[o+160>>2]=0,_[o+160+4>>2]=1060320051,_[o+160+8>>2]=0,p[o+160+12>>2]=0,(0|(N=0|_[H+752>>2]))>0)){c=0,r=N;do{s=0|_[H+760>>2],1&_[16+(0|_[s+(44*c|0)+4>>2])>>2]&&(r=0|_[s+(44*c|0)+8>>2],K=+p[r+8>>2],tt=+p[r+12>>2],ot=+p[r+16>>2],r=0|_[s+(44*c|0)+12>>2],q=+p[r+8>>2],et=+p[r+12>>2],_t=+p[r+16>>2],r=0|_[s+(44*c|0)+16>>2],$=+p[r+8>>2],nt=+p[r+12>>2],rt=+p[r+16>>2],r=0|_[28+(0|_[G>>2])>>2],p[o+96>>2]=.3333333432674408*(K+q+$)+.800000011920929*(K-.3333333432674408*(K+q+$)),p[o+96+4>>2]=.3333333432674408*(tt+et+nt)+.800000011920929*(tt-.3333333432674408*(tt+et+nt)),p[o+96+8>>2]=.3333333432674408*(ot+_t+rt)+.800000011920929*(ot-.3333333432674408*(ot+_t+rt)),p[o+96+12>>2]=0,p[o+32>>2]=.3333333432674408*(K+q+$)+.800000011920929*(q-.3333333432674408*(K+q+$)),p[o+32+4>>2]=.3333333432674408*(tt+et+nt)+.800000011920929*(et-.3333333432674408*(tt+et+nt)),p[o+32+8>>2]=.3333333432674408*(ot+_t+rt)+.800000011920929*(_t-.3333333432674408*(ot+_t+rt)),p[o+32+12>>2]=0,p[o+16>>2]=.3333333432674408*(K+q+$)+.800000011920929*($-.3333333432674408*(K+q+$)),p[o+16+4>>2]=.3333333432674408*(tt+et+nt)+.800000011920929*(nt-.3333333432674408*(tt+et+nt)),p[o+16+8>>2]=.3333333432674408*(ot+_t+rt)+.800000011920929*(rt-.3333333432674408*(ot+_t+rt)),p[o+16+12>>2]=0,Ad[1&r](G,o+96|0,o+32|0,o+16|0,o+160|0,1),r=0|_[H+752>>2]),c=c+1|0}while((0|c)<(0|r))}if(8&M&&(_[o+160>>2]=1050253722,_[o+160+4>>2]=1050253722,_[o+160+8>>2]=1060320051,p[o+160+12>>2]=0,(0|(E=0|_[H+772>>2]))>0)){c=0,r=E;do{s=0|_[H+780>>2],1&_[16+(0|_[s+(104*c|0)+4>>2])>>2]&&(r=0|_[s+(104*c|0)+8>>2],R=+p[r+8>>2],I=+p[r+12>>2],F=+p[r+16>>2],r=0|_[s+(104*c|0)+12>>2],j=+p[r+8>>2],B=+p[r+12>>2],O=+p[r+16>>2],r=0|_[s+(104*c|0)+16>>2],D=+p[r+8>>2],W=+p[r+12>>2],x=+p[r+16>>2],r=0|_[s+(104*c|0)+20>>2],ot=+p[r+8>>2],_t=+p[r+12>>2],rt=+p[r+16>>2],r=0|_[28+(0|_[G>>2])>>2],tt=.25*(R+j+D+ot)+.800000011920929*(R-.25*(R+j+D+ot)),et=.25*(I+B+W+_t)+.800000011920929*(I-.25*(I+B+W+_t)),nt=.25*(F+O+x+rt)+.800000011920929*(F-.25*(F+O+x+rt)),p[o+96>>2]=tt,p[o+96+4>>2]=et,p[o+96+8>>2]=nt,p[o+96+12>>2]=0,J=.25*(R+j+D+ot)+.800000011920929*(j-.25*(R+j+D+ot)),X=.25*(I+B+W+_t)+.800000011920929*(B-.25*(I+B+W+_t)),z=.25*(F+O+x+rt)+.800000011920929*(O-.25*(F+O+x+rt)),p[o+32>>2]=J,p[o+32+4>>2]=X,p[o+32+8>>2]=z,p[o+32+12>>2]=0,K=.25*(R+j+D+ot)+.800000011920929*(D-.25*(R+j+D+ot)),q=.25*(I+B+W+_t)+.800000011920929*(W-.25*(I+B+W+_t)),$=.25*(F+O+x+rt)+.800000011920929*(x-.25*(F+O+x+rt)),p[o+16>>2]=K,p[o+16+4>>2]=q,p[o+16+8>>2]=$,p[o+16+12>>2]=0,Ad[1&r](G,o+96|0,o+32|0,o+16|0,o+160|0,1),r=0|_[28+(0|_[G>>2])>>2],p[o+96>>2]=tt,p[o+96+4>>2]=et,p[o+96+8>>2]=nt,p[o+96+12>>2]=0,p[o+32>>2]=J,p[o+32+4>>2]=X,p[o+32+8>>2]=z,p[o+32+12>>2]=0,ot=.25*(R+j+D+ot)+.800000011920929*(ot-.25*(R+j+D+ot)),_t=.25*(I+B+W+_t)+.800000011920929*(_t-.25*(I+B+W+_t)),rt=.25*(F+O+x+rt)+.800000011920929*(rt-.25*(F+O+x+rt)),p[o+16>>2]=ot,p[o+16+4>>2]=_t,p[o+16+8>>2]=rt,p[o+16+12>>2]=0,Ad[1&r](G,o+96|0,o+32|0,o+16|0,o+160|0,1),r=0|_[28+(0|_[G>>2])>>2],p[o+96>>2]=J,p[o+96+4>>2]=X,p[o+96+8>>2]=z,p[o+96+12>>2]=0,p[o+32>>2]=K,p[o+32+4>>2]=q,p[o+32+8>>2]=$,p[o+32+12>>2]=0,p[o+16>>2]=ot,p[o+16+4>>2]=_t,p[o+16+8>>2]=rt,p[o+16+12>>2]=0,Ad[1&r](G,o+96|0,o+32|0,o+16|0,o+160|0,1),r=0|_[28+(0|_[G>>2])>>2],p[o+96>>2]=K,p[o+96+4>>2]=q,p[o+96+8>>2]=$,p[o+96+12>>2]=0,p[o+32>>2]=tt,p[o+32+4>>2]=et,p[o+32+8>>2]=nt,p[o+32+12>>2]=0,p[o+16>>2]=ot,p[o+16+4>>2]=_t,p[o+16+8>>2]=rt,p[o+16+12>>2]=0,Ad[1&r](G,o+96|0,o+32|0,o+16|0,o+160|0,1),r=0|_[H+772>>2]),c=c+1|0}while((0|c)<(0|r))}}if(64&M){if((0|_[H+792>>2])>0){r=0;do{V=0|_[H+800>>2],T=0|_[V+(96*r|0)+20>>2],et=+p[V+(96*r|0)+4>>2],nt=+p[V+(96*r|0)+8>>2],ot=+p[V+(96*r|0)+12>>2],_t=et*+p[T+20>>2]+nt*+p[T+24>>2]+ot*+p[T+28>>2]+ +p[T+56>>2],rt=et*+p[T+36>>2]+nt*+p[T+40>>2]+ot*+p[T+44>>2]+ +p[T+60>>2],p[o+32>>2]=et*+p[T+4>>2]+nt*+p[T+8>>2]+ot*+p[T+12>>2]+ +p[T+52>>2],p[o+32+4>>2]=_t,p[o+32+8>>2]=rt,p[o+32+12>>2]=0,T=0|_[(V=V+(96*r|0)|0)>>2],_[o+16>>2]=1065353216,_[o+16+4>>2]=0,_[o+16+8>>2]=0,p[o+16+12>>2]=0,P=0|_[8+(0|_[G>>2])>>2],rt=+p[T+8>>2],_t=+p[T+12>>2],ot=+p[T+16>>2],p[o+160>>2]=rt+-.25,p[o+160+4>>2]=_t,p[o+160+8>>2]=ot,p[o+160+12>>2]=0,p[o+96>>2]=rt+.25,p[o+96+4>>2]=_t+0,p[o+96+8>>2]=ot+0,p[o+96+12>>2]=0,cd[127&P](G,o+160|0,o+96|0,o+16|0),P=0|_[8+(0|_[G>>2])>>2],ot=+p[T+8>>2],_t=+p[T+12>>2],rt=+p[T+16>>2],p[o+160>>2]=ot,p[o+160+4>>2]=_t+-.25,p[o+160+8>>2]=rt,p[o+160+12>>2]=0,p[o+96>>2]=ot+0,p[o+96+4>>2]=_t+.25,p[o+96+8>>2]=rt+0,p[o+96+12>>2]=0,cd[127&P](G,o+160|0,o+96|0,o+16|0),P=0|_[8+(0|_[G>>2])>>2],rt=+p[T+8>>2],_t=+p[T+12>>2],ot=+p[T+16>>2],p[o+160>>2]=rt,p[o+160+4>>2]=_t,p[o+160+8>>2]=ot+-.25,p[o+160+12>>2]=0,p[o+96>>2]=rt+0,p[o+96+4>>2]=_t+0,p[o+96+8>>2]=ot+.25,p[o+96+12>>2]=0,cd[127&P](G,o+160|0,o+96|0,o+16|0),_[o+16>>2]=0,_[o+16+4>>2]=1065353216,_[o+16+8>>2]=0,p[o+16+12>>2]=0,P=0|_[8+(0|_[G>>2])>>2],ot=+p[o+32>>2],_t=+p[o+32+4>>2],rt=+p[o+32+8>>2],p[o+160>>2]=ot+-.25,p[o+160+4>>2]=_t,p[o+160+8>>2]=rt,p[o+160+12>>2]=0,p[o+96>>2]=ot+.25,p[o+96+4>>2]=_t+0,p[o+96+8>>2]=rt+0,p[o+96+12>>2]=0,cd[127&P](G,o+160|0,o+96|0,o+16|0),P=0|_[8+(0|_[G>>2])>>2],rt=+p[o+32>>2],_t=+p[o+32+4>>2],ot=+p[o+32+8>>2],p[o+160>>2]=rt,p[o+160+4>>2]=_t+-.25,p[o+160+8>>2]=ot,p[o+160+12>>2]=0,p[o+96>>2]=rt+0,p[o+96+4>>2]=_t+.25,p[o+96+8>>2]=ot+0,p[o+96+12>>2]=0,cd[127&P](G,o+160|0,o+96|0,o+16|0),P=0|_[8+(0|_[G>>2])>>2],ot=+p[o+32>>2],_t=+p[o+32+4>>2],rt=+p[o+32+8>>2],p[o+160>>2]=ot,p[o+160+4>>2]=_t,p[o+160+8>>2]=rt+-.25,p[o+160+12>>2]=0,p[o+96>>2]=ot+0,p[o+96+4>>2]=_t+0,p[o+96+8>>2]=rt+.25,p[o+96+12>>2]=0,cd[127&P](G,o+160|0,o+96|0,o+16|0),P=0|_[8+(0|_[G>>2])>>2],V=8+(0|_[V>>2])|0,_[o+160>>2]=1065353216,_[o+160+4>>2]=1065353216,_[o+160+8>>2]=1065353216,p[o+160+12>>2]=0,cd[127&P](G,V,o+32|0,o+160|0),r=r+1|0}while((0|r)<(0|_[H+792>>2]))}if((0|(r=0|_[H+712>>2]))>0){c=0;do{s=0|_[H+720>>2],1&_[16+(0|_[s+(104*c|0)+4>>2])>>2]&&+p[s+(104*c|0)+88>>2]<=0&&(_[o+32>>2]=1065353216,_[o+32+4>>2]=0,_[o+32+8>>2]=0,p[o+32+12>>2]=0,r=0|_[8+(0|_[G>>2])>>2],ot=+p[(T=s+(104*c|0)+8|0)>>2],_t=+p[(P=s+(104*c|0)+12|0)>>2],rt=+p[(V=s+(104*c|0)+16|0)>>2],p[o+160>>2]=ot+-.25,p[o+160+4>>2]=_t,p[o+160+8>>2]=rt,p[o+160+12>>2]=0,p[o+96>>2]=ot+.25,p[o+96+4>>2]=_t+0,p[o+96+8>>2]=rt+0,p[o+96+12>>2]=0,cd[127&r](G,o+160|0,o+96|0,o+32|0),r=0|_[8+(0|_[G>>2])>>2],rt=+p[T>>2],_t=+p[P>>2],ot=+p[V>>2],p[o+160>>2]=rt,p[o+160+4>>2]=_t+-.25,p[o+160+8>>2]=ot,p[o+160+12>>2]=0,p[o+96>>2]=rt+0,p[o+96+4>>2]=_t+.25,p[o+96+8>>2]=ot+0,p[o+96+12>>2]=0,cd[127&r](G,o+160|0,o+96|0,o+32|0),r=0|_[8+(0|_[G>>2])>>2],ot=+p[T>>2],_t=+p[P>>2],rt=+p[V>>2],p[o+160>>2]=ot,p[o+160+4>>2]=_t,p[o+160+8>>2]=rt+-.25,p[o+160+12>>2]=0,p[o+96>>2]=ot+0,p[o+96+4>>2]=_t+0,p[o+96+8>>2]=rt+.25,p[o+96+12>>2]=0,cd[127&r](G,o+160|0,o+96|0,o+32|0),r=0|_[H+712>>2]),c=c+1|0}while((0|c)<(0|r))}}if(128&M&&(0|_[H+692>>2])>0){s=0;do{if(a=(c=0|_[H+700>>2])+(60*s|0)+8|0,_[o+160>>2]=_[a>>2],_[o+160+4>>2]=_[a+4>>2],_[o+160+8>>2]=_[a+8>>2],_[o+160+12>>2]=_[a+12>>2],(0|(a=0|_[c+(60*s|0)+24>>2]))>0){r=0,b=+p[o+160>>2],d=+p[o+160+4>>2],A=+p[o+160+8>>2];do{V=0|_[c+(60*s|0)+28+(r<<2)>>2],rt=+p[c+(60*s|0)+44+(r<<2)>>2],b=+p[V+8>>2]*rt+b,d=rt*+p[V+12>>2]+d,A=rt*+p[V+16>>2]+A,p[o+160+8>>2]=A,r=r+1|0}while((0|r)!=(0|a));p[o+160>>2]=b,p[o+160+4>>2]=d}rd[127&_[40+(0|_[G>>2])>>2]](G,o+160|0,0|_[c+(60*s|0)+4>>2]),s=s+1|0}while((0|s)<(0|_[H+692>>2]))}512&M&&(V=0|_[H+928>>2],_[o+160>>2]=1065353216,_[o+160+4>>2]=0,_[o+160+8>>2]=1065353216,p[o+160+12>>2]=0,_[o+96>>2]=1065353216,_[o+96+4>>2]=1065353216,_[o+96+8>>2]=1065353216,p[o+96+12>>2]=0,it(G,V,0,o+160|0,o+96|0)),1024&M&&(V=0|_[H+988>>2],_[o+160>>2]=0,_[o+160+4>>2]=1065353216,_[o+160+8>>2]=0,p[o+160+12>>2]=0,_[o+96>>2]=1065353216,_[o+96+4>>2]=0,_[o+96+8>>2]=0,p[o+96+12>>2]=0,it(G,V,0,o+160|0,o+96|0)),2048&M&&(V=0|_[H+1048>>2],_[o+160>>2]=0,_[o+160+4>>2]=1065353216,_[o+160+8>>2]=1065353216,p[o+160+12>>2]=0,_[o+96>>2]=1065353216,_[o+96+4>>2]=0,_[o+96+8>>2]=0,p[o+96+12>>2]=0,it(G,V,0,o+160|0,o+96|0));t:do{if(4096&M&&(0|_[H+852>>2])>0)for(r=0;;){switch(s=0|_[(0|_[H+860>>2])+(r<<2)>>2],0|Lb[127&_[20+(0|_[s>>2])>>2]](s)){case 0:M=0|ae(s+4|0),rt=+p[s+28>>2],_t=+p[s+32>>2],ot=+p[s+36>>2],nt=rt*+p[M+16>>2]+_t*+p[M+20>>2]+ot*+p[M+24>>2]+ +p[M+52>>2],et=rt*+p[M+32>>2]+_t*+p[M+36>>2]+ot*+p[M+40>>2]+ +p[M+56>>2],p[o+32>>2]=rt*+p[M>>2]+_t*+p[M+4>>2]+ot*+p[M+8>>2]+ +p[M+48>>2],p[o+32+4>>2]=nt,p[o+32+8>>2]=et,p[o+32+12>>2]=0,M=0|ae(s+16|0),et=+p[s+44>>2],nt=+p[s+48>>2],ot=+p[s+52>>2],_t=et*+p[M+16>>2]+nt*+p[M+20>>2]+ot*+p[M+24>>2]+ +p[M+52>>2],rt=et*+p[M+32>>2]+nt*+p[M+36>>2]+ot*+p[M+40>>2]+ +p[M+56>>2],p[o+16>>2]=et*+p[M>>2]+nt*+p[M+4>>2]+ot*+p[M+8>>2]+ +p[M+48>>2],p[o+16+4>>2]=_t,p[o+16+8>>2]=rt,p[o+16+12>>2]=0,M=0|_[8+(0|_[G>>2])>>2],V=48+(0|ae(s+4|0))|0,_[o+160>>2]=1065353216,_[o+160+4>>2]=1065353216,_[o+160+8>>2]=0,p[o+160+12>>2]=0,cd[127&M](G,V,o+32|0,o+160|0),V=0|_[8+(0|_[G>>2])>>2],M=48+(0|ae(s+16|0))|0,_[o+160>>2]=0,_[o+160+4>>2]=1065353216,_[o+160+8>>2]=1065353216,p[o+160+12>>2]=0,cd[127&V](G,M,o+16|0,o+160|0),_[o>>2]=1065353216,_[o+4>>2]=1065353216,_[o+8>>2]=0,p[o+12>>2]=0,M=0|_[8+(0|_[G>>2])>>2],rt=+p[o+32>>2],_t=+p[o+32+4>>2],ot=+p[o+32+8>>2],p[o+160>>2]=rt+-.25,p[o+160+4>>2]=_t,p[o+160+8>>2]=ot,p[o+160+12>>2]=0,p[o+96>>2]=rt+.25,p[o+96+4>>2]=_t+0,p[o+96+8>>2]=ot+0,p[o+96+12>>2]=0,cd[127&M](G,o+160|0,o+96|0,o),M=0|_[8+(0|_[G>>2])>>2],ot=+p[o+32>>2],_t=+p[o+32+4>>2],rt=+p[o+32+8>>2],p[o+160>>2]=ot,p[o+160+4>>2]=_t+-.25,p[o+160+8>>2]=rt,p[o+160+12>>2]=0,p[o+96>>2]=ot+0,p[o+96+4>>2]=_t+.25,p[o+96+8>>2]=rt+0,p[o+96+12>>2]=0,cd[127&M](G,o+160|0,o+96|0,o),M=0|_[8+(0|_[G>>2])>>2],rt=+p[o+32>>2],_t=+p[o+32+4>>2],ot=+p[o+32+8>>2],p[o+160>>2]=rt,p[o+160+4>>2]=_t,p[o+160+8>>2]=ot+-.25,p[o+160+12>>2]=0,p[o+96>>2]=rt+0,p[o+96+4>>2]=_t+0,p[o+96+8>>2]=ot+.25,p[o+96+12>>2]=0,cd[127&M](G,o+160|0,o+96|0,o),_[o>>2]=0,_[o+4>>2]=1065353216,_[o+8>>2]=1065353216,p[o+12>>2]=0,M=0|_[8+(0|_[G>>2])>>2],ot=+p[o+16>>2],_t=+p[o+16+4>>2],rt=+p[o+16+8>>2],p[o+160>>2]=ot+-.25,p[o+160+4>>2]=_t,p[o+160+8>>2]=rt,p[o+160+12>>2]=0,p[o+96>>2]=ot+.25,p[o+96+4>>2]=_t+0,p[o+96+8>>2]=rt+0,p[o+96+12>>2]=0,cd[127&M](G,o+160|0,o+96|0,o),M=0|_[8+(0|_[G>>2])>>2],rt=+p[o+16>>2],_t=+p[o+16+4>>2],ot=+p[o+16+8>>2],p[o+160>>2]=rt,p[o+160+4>>2]=_t+-.25,p[o+160+8>>2]=ot,p[o+160+12>>2]=0,p[o+96>>2]=rt+0,p[o+96+4>>2]=_t+.25,p[o+96+8>>2]=ot+0,p[o+96+12>>2]=0,cd[127&M](G,o+160|0,o+96|0,o),M=0|_[8+(0|_[G>>2])>>2],ot=+p[o+16>>2],_t=+p[o+16+4>>2],rt=+p[o+16+8>>2],p[o+160>>2]=ot,p[o+160+4>>2]=_t,p[o+160+8>>2]=rt+-.25,p[o+160+12>>2]=0,p[o+96>>2]=ot+0,p[o+96+4>>2]=_t+0,p[o+96+8>>2]=rt+.25,p[o+96+12>>2]=0,cd[127&M](G,o+160|0,o+96|0,o);break;case 1:M=48+(0|ae(s+4|0))|0,_[o+160>>2]=_[M>>2],_[o+160+4>>2]=_[M+4>>2],_[o+160+8>>2]=_[M+8>>2],_[o+160+12>>2]=_[M+12>>2],M=48+(0|ae(s+16|0))|0,_[o+96>>2]=_[M>>2],_[o+96+4>>2]=_[M+4>>2],_[o+96+8>>2]=_[M+8>>2],_[o+96+12>>2]=_[M+12>>2],M=0|ae(s+4|0),$=+p[s+28>>2],q=+p[s+32>>2],nt=+p[s+36>>2],tt=+p[M>>2]*$+ +p[M+4>>2]*q+ +p[M+8>>2]*nt,et=$*+p[M+16>>2]+q*+p[M+20>>2]+nt*+p[M+24>>2],nt=$*+p[M+32>>2]+q*+p[M+36>>2]+nt*+p[M+40>>2],M=0|ae(s+16|0),q=+p[s+44>>2],$=+p[s+48>>2],rt=+p[s+52>>2],ot=+p[M>>2]*q+ +p[M+4>>2]*$+ +p[M+8>>2]*rt,_t=q*+p[M+16>>2]+$*+p[M+20>>2]+rt*+p[M+24>>2],rt=q*+p[M+32>>2]+$*+p[M+36>>2]+rt*+p[M+40>>2],M=0|_[8+(0|_[G>>2])>>2],$=10*et+ +p[o+160+4>>2],q=10*nt+ +p[o+160+8>>2],p[o+32>>2]=10*tt+ +p[o+160>>2],p[o+32+4>>2]=$,p[o+32+8>>2]=q,p[o+32+12>>2]=0,_[o+16>>2]=1065353216,_[o+16+4>>2]=1065353216,_[o+16+8>>2]=0,p[o+16+12>>2]=0,cd[127&M](G,o+160|0,o+32|0,o+16|0),M=0|_[8+(0|_[G>>2])>>2],q=10*_t+ +p[o+160+4>>2],$=10*rt+ +p[o+160+8>>2],p[o+32>>2]=10*ot+ +p[o+160>>2],p[o+32+4>>2]=q,p[o+32+8>>2]=$,p[o+32+12>>2]=0,_[o+16>>2]=1065353216,_[o+16+4>>2]=1065353216,_[o+16+8>>2]=0,p[o+16+12>>2]=0,cd[127&M](G,o+160|0,o+32|0,o+16|0),M=0|_[8+(0|_[G>>2])>>2],et=10*et+ +p[o+96+4>>2],nt=10*nt+ +p[o+96+8>>2],p[o+32>>2]=10*tt+ +p[o+96>>2],p[o+32+4>>2]=et,p[o+32+8>>2]=nt,p[o+32+12>>2]=0,_[o+16>>2]=0,_[o+16+4>>2]=1065353216,_[o+16+8>>2]=1065353216,p[o+16+12>>2]=0,cd[127&M](G,o+96|0,o+32|0,o+16|0),M=0|_[8+(0|_[G>>2])>>2],_t=10*_t+ +p[o+96+4>>2],rt=10*rt+ +p[o+96+8>>2],p[o+32>>2]=10*ot+ +p[o+96>>2],p[o+32+4>>2]=_t,p[o+32+8>>2]=rt,p[o+32+12>>2]=0,_[o+16>>2]=0,_[o+16+4>>2]=1065353216,_[o+16+8>>2]=1065353216,p[o+16+12>>2]=0,cd[127&M](G,o+96|0,o+32|0,o+16|0)}if((0|(r=r+1|0))>=(0|_[H+852>>2]))break t}}while(0)}0|(r=0|_[t+72>>2])&&2&Lb[127&_[48+(0|_[r>>2])>>2]](r)&&(0|n[t+348|0]&&(M=0|_[t+72>>2],G=0|_[H+928>>2],_[o+160>>2]=1065353216,_[o+160+4>>2]=0,_[o+160+8>>2]=1065353216,p[o+160+12>>2]=0,_[o+96>>2]=1065353216,_[o+96+4>>2]=1065353216,_[o+96+8>>2]=1065353216,p[o+96+12>>2]=0,it(M,G,0,o+160|0,o+96|0)),0|n[t+349|0]&&(M=0|_[t+72>>2],G=0|_[H+988>>2],_[o+160>>2]=0,_[o+160+4>>2]=1065353216,_[o+160+8>>2]=0,p[o+160+12>>2]=0,_[o+96>>2]=1065353216,_[o+96+4>>2]=0,_[o+96+8>>2]=0,p[o+96+12>>2]=0,it(M,G,0,o+160|0,o+96|0)),0|n[t+350|0]&&(G=0|_[t+72>>2],H=0|_[H+1048>>2],_[o+160>>2]=0,_[o+160+4>>2]=1065353216,_[o+160+8>>2]=1065353216,p[o+160+12>>2]=0,_[o+96>>2]=1065353216,_[o+96+4>>2]=0,_[o+96+8>>2]=0,p[o+96+12>>2]=0,it(G,H,0,o+160|0,o+96|0))),L=L+1|0}while((0|L)<(0|_[t+328>>2]));Q=o}else Q=o},function(t){t|=0;var e,i=0,n=0,o=0;e=Q,Q=Q+16|0,$i(16703),zb[511&_[8+(0|_[t>>2])>>2]](t),zb[511&_[12+(0|_[t>>2])>>2]](t),i=0|_[t+24>>2],$i(16737),0|i&&(o=0|_[32+(0|_[i>>2])>>2],n=0|_[t+68>>2],n=0|Lb[127&_[36+(0|_[n>>2])>>2]](n),cd[127&o](i,n,t+28|0,0|_[t+24>>2])),i=0|_[2606],o=(0|_[i+16>>2])-1|0,_[i+16>>2]=o;do{if(o)t=i;else{if(0|_[i+4>>2]){if(G(0|e,0),t=0|_[6629],p[i+8>>2]=+p[i+8>>2]+ +(((0|_[e+4>>2])-(0|_[t+4>>2])+(1e6*((0|_[e>>2])-(0|_[t>>2])|0)|0)-(0|_[i+12>>2])|0)>>>0)/1e3,t=0|_[2606],0|_[i+16>>2])break}else t=i;t=0|_[t+20>>2],_[2606]=t}}while(0);if(o=(0|_[(i=t+16|0)>>2])-1|0,_[i>>2]=o,0|o)Q=e;else{do{if(0|_[t+4>>2]){if(G(0|e,0),n=0|_[6629],p[(o=t+8|0)>>2]=+p[o>>2]+ +(((0|_[e+4>>2])-(0|_[n+4>>2])+(1e6*((0|_[e>>2])-(0|_[n>>2])|0)|0)-(0|_[t+12>>2])|0)>>>0)/1e3,0|_[i>>2])return void(Q=e);t=0|_[2606];break}}while(0);_[2606]=_[t+20>>2],Q=e}},function(t){t|=0;var e,i=0,o=0,r=0,s=0,c=0,a=0;e=Q,Q=Q+64|0,$i(14625);t:do{if(0|n[t+274|0]){if((0|(i=0|_[t+8>>2]))>0){s=0;do{0|(r=0|_[(0|_[t+16>>2])+(s<<2)>>2])&&2&_[r+236>>2]&&0|_[r+480>>2]&&!(3&_[r+204>>2])&&(o=0|n[t+300|0]&&0!=(c=+p[t+268>>2])?+p[t+264>>2]-c:+p[t+264>>2]*+p[r+244>>2],Bt(r+68|0,+p[r+132>>2],+p[r+136>>2],+p[r+140>>2],r+148|0,o,e),i=0|_[r+480>>2],id[127&_[12+(0|_[i>>2])>>2]](i,e),i=0|_[t+8>>2]),s=s+1|0}while((0|s)<(0|i))}}else if((0|(i=0|_[t+232>>2]))>0)for(s=0;;){switch(r=0|_[(0|_[t+240>>2])+(s<<2)>>2],0|_[r+216>>2]){case 2:case 5:break;default:0|_[r+480>>2]&&!(3&_[r+204>>2])&&(o=0|n[t+300|0]&&0!=(a=+p[t+268>>2])?+p[t+264>>2]-a:+p[t+264>>2]*+p[r+244>>2],Bt(r+68|0,+p[r+132>>2],+p[r+136>>2],+p[r+140>>2],r+148|0,o,e),i=0|_[r+480>>2],id[127&_[12+(0|_[i>>2])>>2]](i,e),i=0|_[t+232>>2])}if((0|(s=s+1|0))>=(0|i))break t}}while(0);if(i=0|_[2606],t=(0|_[i+16>>2])-1|0,_[i+16>>2]=t,0|t)Q=e;else{do{if(0|_[i+4>>2]){if(G(0|e,0),t=0|_[6629],p[i+8>>2]=+p[i+8>>2]+ +(((0|_[e+4>>2])-(0|_[t+4>>2])+(1e6*((0|_[e>>2])-(0|_[t>>2])|0)|0)-(0|_[i+12>>2])|0)>>>0)/1e3,0|_[i+16>>2])return void(Q=e);i=0|_[2606];break}}while(0);_[2606]=_[i+20>>2],Q=e}},function(t){var e=0,i=0;if(!((0|_[232+(t|=0)>>2])<=0)){e=0;do{i=412+(0|_[(0|_[t+240>>2])+(e<<2)>>2])|0,_[i>>2]=0,_[i+4>>2]=0,_[i+8>>2]=0,_[i+12>>2]=0,_[i+16>>2]=0,_[i+20>>2]=0,_[i+24>>2]=0,_[i+28>>2]=0,e=e+1|0}while((0|e)<(0|_[t+232>>2]))}},function(t){t|=0;var e,i=0,o=0,r=0,s=0,c=0,a=0,b=0,d=0,l=0,A=0;if(e=Q,Q=Q+16|0,$i(14494),b=0|_[t+204>>2],rd[127&_[8+(0|_[b>>2])>>2]](b,t,0|_[t+24>>2]),(0|(b=0|_[t+308>>2]))>0){d=0|_[t+316>>2],a=0;do{if(o=0|_[d+(a<<2)>>2],i=0|_[o+740>>2],o=0|_[o+744>>2],0|i&&0|o&&!(3&_[i+204>>2])&&!(3&_[o+204>>2])){if(r=0|_[i+208>>2],i=0|_[o+208>>2],c=0|_[16+(0|_[t+204>>2])>>2],(0|(o=0|_[c+(r<<3)>>2]))!=(0|r)&&(_[c+(r<<3)>>2]=_[c+(o<<3)>>2],(0|(r=0|_[c+(o<<3)>>2]))!=(0|(o=0|_[c+(r<<3)>>2])))){s=c+(r<<3)|0;do{r=c+(o<<3)|0,_[s>>2]=_[r>>2],r=0|_[r>>2],o=0|_[(s=c+(r<<3)|0)>>2]}while((0|r)!=(0|o))}if((0|(o=0|_[c+(i<<3)>>2]))!=(0|i)&&(_[c+(i<<3)>>2]=_[c+(o<<3)>>2],(0|(i=0|_[c+(o<<3)>>2]))!=(0|(o=0|_[c+(i<<3)>>2])))){s=c+(i<<3)|0;do{i=c+(o<<3)|0,_[s>>2]=_[i>>2],i=0|_[i>>2],o=0|_[(s=c+(i<<3)|0)>>2]}while((0|i)!=(0|o))}(0|r)!=(0|i)&&(_[c+(r<<3)>>2]=i,_[(s=c+(i<<3)+4|0)>>2]=(0|_[s>>2])+(0|_[c+(r<<3)+4>>2]))}a=a+1|0}while((0|a)!=(0|b))}if((0|(b=0|_[t+212>>2]))>0){d=0|_[t+220>>2],a=0;do{if(i=0|_[d+(a<<2)>>2],0|n[i+20|0]&&(l=0|_[i+28>>2],!(3&_[l+204>>2]))&&(A=0|_[i+32>>2],!(3&_[A+204>>2]))){if(o=0|_[l+208>>2],i=0|_[A+208>>2],c=0|_[16+(0|_[t+204>>2])>>2],(0|(r=0|_[c+(o<<3)>>2]))!=(0|o)&&(_[c+(o<<3)>>2]=_[c+(r<<3)>>2],(0|(o=0|_[c+(r<<3)>>2]))!=(0|(r=0|_[c+(o<<3)>>2])))){s=c+(o<<3)|0;do{o=c+(r<<3)|0,_[s>>2]=_[o>>2],o=0|_[o>>2],r=0|_[(s=c+(o<<3)|0)>>2]}while((0|o)!=(0|r))}if((0|(r=0|_[c+(i<<3)>>2]))!=(0|i)&&(_[c+(i<<3)>>2]=_[c+(r<<3)>>2],(0|(i=0|_[c+(r<<3)>>2]))!=(0|(r=0|_[c+(i<<3)>>2])))){s=c+(i<<3)|0;do{i=c+(r<<3)|0,_[s>>2]=_[i>>2],i=0|_[i>>2],r=0|_[(s=c+(i<<3)|0)>>2]}while((0|i)!=(0|r))}(0|o)!=(0|i)&&(_[c+(o<<3)>>2]=i,_[(s=c+(i<<3)+4|0)>>2]=(0|_[s>>2])+(0|_[c+(o<<3)+4>>2]))}a=a+1|0}while((0|a)!=(0|b))}if(i=0|_[t+204>>2],id[127&_[12+(0|_[i>>2])>>2]](i,t),i=0|_[2606],A=(0|_[i+16>>2])-1|0,_[i+16>>2]=A,0|A)Q=e;else{do{if(0|_[i+4>>2]){if(G(0|e,0),A=0|_[6629],p[i+8>>2]=+p[i+8>>2]+ +(((0|_[e+4>>2])-(0|_[A+4>>2])+(1e6*((0|_[e>>2])-(0|_[A>>2])|0)|0)-(0|_[i+12>>2])|0)>>>0)/1e3,0|_[i+16>>2])return void(Q=e);i=0|_[2606];break}}while(0);_[2606]=_[i+20>>2],Q=e}},function(t){var e,i,n=0,o=0,r=0;if(!((0|(i=0|_[232+(t|=0)>>2]))<=0)){e=0|_[t+240>>2],t=0;do{switch(n=0|_[e+(t<<2)>>2],0|_[n+216>>2]){case 2:case 5:break;default:3&_[n+204>>2]||(r=+p[n+368>>2]*+p[n+352>>2],o=+p[n+372>>2]*+p[n+356>>2],p[n+412>>2]=+p[n+364>>2]*+p[n+348>>2]+ +p[n+412>>2],p[n+416>>2]=r+ +p[n+416>>2],p[n+420>>2]=o+ +p[n+420>>2])}t=t+1|0}while((0|t)!=(0|i))}},yb,hb,yb,hb,function(t){var e;_[(t|=0)>>2]=4956,0|(e=0|_[t+496>>2])&&(0|n[t+500|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+496>>2]=0),n[t+500|0]=1,_[t+496>>2]=0,_[t+488>>2]=0,_[t+492>>2]=0,_[t>>2]=5904},function(t){var e;_[(t|=0)>>2]=4956,0|(e=0|_[t+496>>2])&&(0|n[t+500|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+496>>2]=0),n[t+500|0]=1,_[t+496>>2]=0,_[t+488>>2]=0,_[t+492>>2]=0,_[t>>2]=5904,_[6631]=1+(0|_[6631]),Li(0|_[t+-4>>2])},kt,function(t){kt(t|=0),t&&(_[6631]=1+(0|_[6631]),Li(0|_[t+-4>>2]))},Db,hb,An,function(t){An(t|=0),gb(t)},Pa,jr,yb,Pa,jr,function(t){var e,i,o,r,s=0,c=0,a=0;r=Q,Q=Q+16|0,0|n[1308+(t|=0)|0]?(p[t+928>>2]=0,p[t+992>>2]=0,p[t+1056>>2]=0,_[t+712>>2]=0,_[t+712+4>>2]=0,_[t+712+8>>2]=0,_[t+712+12>>2]=0,Pi(t,4+(0|_[t+28>>2])|0,4+(0|_[t+32>>2])|0),zb[511&_[44+(0|_[t>>2])>>2]](t),e=+p[t+1284>>2],i=+p[t+1288>>2],o=+p[t+1292>>2],+p[t+696>>2]>=+p[t+680>>2]&&(a=!(0|n[t+1300|0]),s=0|_[(a?t+1160:t+1096)>>2],c=0|_[(a?t+1144:t+1080)>>2],_[r>>2]=_[(a?t+1128:t+1064)>>2],_[r+4>>2]=c,_[r+8>>2]=s,p[r+12>>2]=0,Jt(0|_[t+28>>2],0|_[t+32>>2],t+176|0,r,e,i,o,e,i,o)),+p[t+700>>2]>=+p[t+684>>2]&&(s=!(0|n[t+1300|0]),a=0|_[(s?t+1164:t+1100)>>2],c=0|_[(s?t+1148:t+1084)>>2],_[r>>2]=_[(s?t+1132:t+1068)>>2],_[r+4>>2]=c,_[r+8>>2]=a,p[r+12>>2]=0,Jt(0|_[t+28>>2],0|_[t+32>>2],t+260|0,r,e,i,o,e,i,o)),+p[t+704>>2]>=+p[t+688>>2]&&(s=!(0|n[t+1300|0]),a=0|_[(s?t+1168:t+1104)>>2],c=0|_[(s?t+1152:t+1088)>>2],_[r>>2]=_[(s?t+1136:t+1072)>>2],_[r+4>>2]=c,_[r+8>>2]=a,p[r+12>>2]=0,Jt(0|_[t+28>>2],0|_[t+32>>2],t+344|0,r,e,i,o,e,i,o)),0|at(t,0)&&(_[r>>2]=_[t+1208>>2],_[r+4>>2]=_[t+1208+4>>2],_[r+8>>2]=_[t+1208+8>>2],_[r+12>>2]=_[t+1208+12>>2],wt(0|_[t+28>>2],0|_[t+32>>2],t+428|0,r)),0|at(t,1)&&(_[r>>2]=_[t+1224>>2],_[r+4>>2]=_[t+1224+4>>2],_[r+8>>2]=_[t+1224+8>>2],_[r+12>>2]=_[t+1224+12>>2],wt(0|_[t+28>>2],0|_[t+32>>2],t+512|0,r)),0|at(t,2)&&(_[r>>2]=_[t+1240>>2],_[r+4>>2]=_[t+1240+4>>2],_[r+8>>2]=_[t+1240+8>>2],_[r+12>>2]=_[t+1240+12>>2],wt(0|_[t+28>>2],0|_[t+32>>2],t+596|0,r)),Q=r):Q=r},function(t){var e,i=0,n=0;i=+p[344+(0|_[28+(t|=0)>>2])>>2],n=0==(n=+p[344+(0|_[t+32>>2])>>2])?1:i/(i+n),i=+p[t+1116>>2]*n+(1-n)*+p[t+1180>>2],e=n*+p[t+1120>>2]+(1-n)*+p[t+1184>>2],p[t+1284>>2]=+p[t+1112>>2]*n+ +p[t+1176>>2]*(1-n),p[t+1288>>2]=i,p[t+1292>>2]=e,p[t+1296>>2]=0},jr,jr,function(t){var e,i=0,n=0,o=0,r=0,s=0,c=0,b=0,d=0,l=0,A=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0,O=0;e=Q,Q=Q+144|0,p[36+(t|=0)>>2]=0,_[e+128>>2]=0,_[e+128+4>>2]=0,_[e+128+8>>2]=0,_[e+128+12>>2]=0,i=0;do{p[(n=e+128+(i<<2)|0)>>2]=1,r=0|_[t+28>>2],O=0|_[r+4>>2],_[e+80>>2]=O,B=0|_[r+20>>2],_[e+80+4>>2]=B,j=0|_[r+36>>2],_[e+80+8>>2]=j,p[e+80+12>>2]=0,F=0|_[r+8>>2],_[e+80+16>>2]=F,I=0|_[r+24>>2],_[e+80+20>>2]=I,R=0|_[r+40>>2],_[e+80+24>>2]=R,p[e+80+28>>2]=0,W=0|_[r+12>>2],_[e+80+32>>2]=W,D=0|_[r+28>>2],_[e+80+36>>2]=D,k=0|_[r+44>>2],_[e+80+40>>2]=k,p[e+80+44>>2]=0,o=0|_[t+32>>2],w=0|_[o+4>>2],_[e+32>>2]=w,C=0|_[o+20>>2],_[e+32+4>>2]=C,h=0|_[o+36>>2],_[e+32+8>>2]=h,p[e+32+12>>2]=0,S=0|_[o+8>>2],_[e+32+16>>2]=S,g=0|_[o+24>>2],_[e+32+20>>2]=g,m=0|_[o+40>>2],_[e+32+24>>2]=m,p[e+32+28>>2]=0,v=0|_[o+12>>2],_[e+32+32>>2]=v,y=0|_[o+28>>2],_[e+32+36>>2]=y,A=0|_[o+44>>2],_[e+32+40>>2]=A,p[e+32+44>>2]=0,b=(f=+p[t+300>>2])*(_[a>>2]=O,+p[a>>2]),b+=(s=+p[t+304>>2])*(_[a>>2]=F,+p[a>>2]),b+=(c=+p[t+308>>2])*(_[a>>2]=W,+p[a>>2]),u=f*(_[a>>2]=B,+p[a>>2]),u+=s*(_[a>>2]=I,+p[a>>2]),u+=c*(_[a>>2]=D,+p[a>>2]),s=(f*=(_[a>>2]=j,+p[a>>2]))+s*(_[a>>2]=R,+p[a>>2]),f=+p[r+52>>2],l=+p[r+56>>2],d=+p[r+60>>2],d=s+c*(_[a>>2]=k,+p[a>>2])+d-d,p[e+16>>2]=b+f-f,p[e+16+4>>2]=u+l-l,p[e+16+8>>2]=d,p[e+16+12>>2]=0,l=(d=+p[t+316>>2])*(_[a>>2]=w,+p[a>>2]),l+=(u=+p[t+320>>2])*(_[a>>2]=S,+p[a>>2]),l+=(f=+p[t+324>>2])*(_[a>>2]=v,+p[a>>2]),b=d*(_[a>>2]=C,+p[a>>2]),b+=u*(_[a>>2]=g,+p[a>>2]),b+=f*(_[a>>2]=y,+p[a>>2]),u=(d*=(_[a>>2]=h,+p[a>>2]))+u*(_[a>>2]=m,+p[a>>2]),d=+p[o+52>>2],c=+p[o+56>>2],s=+p[o+60>>2],s=u+f*(_[a>>2]=A,+p[a>>2])+s-s,p[e>>2]=l+d-d,p[e+4>>2]=b+c-c,p[e+8>>2]=s,p[e+12>>2]=0,Dt(t+48+(84*i|0)|0,e+80|0,e+32|0,e+16|0,e,e+128|0,r+396|0,+p[r+344>>2],o+396|0,+p[o+344>>2]),p[n>>2]=0,i=i+1|0}while(3!=(0|i));Q=e},ab,jr,jr,function(t){var e,i,o=0,r=0,s=0,c=0,a=0,b=0,A=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0;e=Q,Q=Q+176|0,0|n[527+(t|=0)|0]?(p[t+36>>2]=0,p[t+520>>2]=0,p[t+516>>2]=0,_[t+576>>2]=0,_[t+576+4>>2]=0,_[t+576+8>>2]=0,_[t+576+12>>2]=0,0|n[t+524|0]||(C=0|_[t+28>>2],c=+p[t+348>>2],a=+p[t+352>>2],m=+p[t+356>>2],y=c*+p[C+20>>2]+a*+p[C+24>>2]+m*+p[C+28>>2]+ +p[C+56>>2],o=0|_[t+32>>2],b=+p[t+412>>2],A=+p[t+416>>2],h=+p[t+420>>2],g=b*+p[o+20>>2]+A*+p[o+24>>2]+h*+p[o+28>>2]+ +p[o+56>>2],f=b*+p[o+36>>2]+A*+p[o+40>>2]+h*+p[o+44>>2]+ +p[o+60>>2],u=c*+p[C+4>>2]+a*+p[C+8>>2]+m*+p[C+12>>2]+ +p[C+52>>2],m=c*+p[C+36>>2]+a*+p[C+40>>2]+m*+p[C+44>>2]+ +p[C+60>>2],((h=b*+p[o+4>>2]+A*+p[o+8>>2]+h*+p[o+12>>2]+ +p[o+52>>2])-u)*(h-u)+(g-y)*(g-y)+(f-m)*(f-m)>1.1920928955078125e-7?(s=1/+l(+((h-u)*(h-u)+(g-y)*(g-y)+(f-m)*(f-m))),p[e>>2]=(h-u)*s,p[e+4>>2]=(g-y)*s,p[e+8>>2]=(f-m)*s,_[e+12>>2]=0,c=(f-m)*s,r=(g-y)*s,s*=h-u):(_[e>>2]=1065353216,_[e+4>>2]=0,_[e+8>>2]=0,p[e+12>>2]=0,c=0,r=0,s=1),+d(+c)>.7071067690849304?(A=-s*(a=r*(v=1/+l(+(S=c*c+r*r)))),b=s*(c=-c*v),r=S*v,s=a,a=0):(S=s*(b=1/+l(+(v=s*s+r*r))),A=c*(a=-r*b),b*=v,r=-c*S,s=0,c=S),p[e+16>>2]=a,p[e+20>>2]=c,p[e+24>>2]=s,p[e+32>>2]=r,p[e+36>>2]=A,p[e+40>>2]=b,C=0|_[t+28>>2],_[e+128>>2]=_[C+4>>2],_[e+128+4>>2]=_[C+20>>2],_[e+128+8>>2]=_[C+36>>2],p[e+128+12>>2]=0,_[e+128+16>>2]=_[C+8>>2],_[e+128+20>>2]=_[C+24>>2],_[e+128+24>>2]=_[C+40>>2],p[e+128+28>>2]=0,_[e+128+32>>2]=_[C+12>>2],_[e+128+36>>2]=_[C+28>>2],_[e+128+40>>2]=_[C+44>>2],p[e+128+44>>2]=0,o=0|_[t+32>>2],_[e+80>>2]=_[o+4>>2],_[e+80+4>>2]=_[o+20>>2],_[e+80+8>>2]=_[o+36>>2],p[e+80+12>>2]=0,_[e+80+16>>2]=_[o+8>>2],_[e+80+20>>2]=_[o+24>>2],_[e+80+24>>2]=_[o+40>>2],p[e+80+28>>2]=0,_[e+80+32>>2]=_[o+12>>2],_[e+80+36>>2]=_[o+28>>2],_[e+80+40>>2]=_[o+44>>2],p[e+80+44>>2]=0,S=y-+p[C+56>>2],v=m-+p[C+60>>2],p[e+64>>2]=u-+p[C+52>>2],p[e+64+4>>2]=S,p[e+64+8>>2]=v,p[e+64+12>>2]=0,v=g-+p[o+56>>2],S=f-+p[o+60>>2],p[e+48>>2]=h-+p[o+52>>2],p[e+48+4>>2]=v,p[e+48+8>>2]=S,p[e+48+12>>2]=0,Dt(t+48|0,e+128|0,e+80|0,e+64|0,e+48|0,e,C+396|0,+p[C+344>>2],o+396|0,+p[o+344>>2]),o=0|_[t+28>>2],_[e+128>>2]=_[o+4>>2],_[e+128+4>>2]=_[o+20>>2],_[e+128+8>>2]=_[o+36>>2],p[e+128+12>>2]=0,_[e+128+16>>2]=_[o+8>>2],_[e+128+20>>2]=_[o+24>>2],_[e+128+24>>2]=_[o+40>>2],p[e+128+28>>2]=0,_[e+128+32>>2]=_[o+12>>2],_[e+128+36>>2]=_[o+28>>2],_[e+128+40>>2]=_[o+44>>2],p[e+128+44>>2]=0,C=0|_[t+32>>2],_[e+80>>2]=_[C+4>>2],_[e+80+4>>2]=_[C+20>>2],_[e+80+8>>2]=_[C+36>>2],p[e+80+12>>2]=0,_[e+80+16>>2]=_[C+8>>2],_[e+80+20>>2]=_[C+24>>2],_[e+80+24>>2]=_[C+40>>2],p[e+80+28>>2]=0,_[e+80+32>>2]=_[C+12>>2],_[e+80+36>>2]=_[C+28>>2],_[e+80+40>>2]=_[C+44>>2],p[e+80+44>>2]=0,S=y-+p[o+56>>2],v=m-+p[o+60>>2],p[e+64>>2]=u-+p[o+52>>2],p[e+64+4>>2]=S,p[e+64+8>>2]=v,p[e+64+12>>2]=0,v=g-+p[C+56>>2],S=f-+p[C+60>>2],p[e+48>>2]=h-+p[C+52>>2],p[e+48+4>>2]=v,p[e+48+8>>2]=S,p[e+48+12>>2]=0,Dt(t+132|0,e+128|0,e+80|0,e+64|0,e+48|0,e+16|0,o+396|0,+p[o+344>>2],C+396|0,+p[C+344>>2]),C=0|_[t+28>>2],_[e+128>>2]=_[C+4>>2],_[e+128+4>>2]=_[C+20>>2],_[e+128+8>>2]=_[C+36>>2],p[e+128+12>>2]=0,_[e+128+16>>2]=_[C+8>>2],_[e+128+20>>2]=_[C+24>>2],_[e+128+24>>2]=_[C+40>>2],p[e+128+28>>2]=0,_[e+128+32>>2]=_[C+12>>2],_[e+128+36>>2]=_[C+28>>2],_[e+128+40>>2]=_[C+44>>2],p[e+128+44>>2]=0,o=0|_[t+32>>2],_[e+80>>2]=_[o+4>>2],_[e+80+4>>2]=_[o+20>>2],_[e+80+8>>2]=_[o+36>>2],p[e+80+12>>2]=0,_[e+80+16>>2]=_[o+8>>2],_[e+80+20>>2]=_[o+24>>2],_[e+80+24>>2]=_[o+40>>2],p[e+80+28>>2]=0,_[e+80+32>>2]=_[o+12>>2],_[e+80+36>>2]=_[o+28>>2],_[e+80+40>>2]=_[o+44>>2],p[e+80+44>>2]=0,S=y-+p[C+56>>2],v=m-+p[C+60>>2],p[e+64>>2]=u-+p[C+52>>2],p[e+64+4>>2]=S,p[e+64+8>>2]=v,p[e+64+12>>2]=0,v=g-+p[o+56>>2],S=f-+p[o+60>>2],p[e+48>>2]=h-+p[o+52>>2],p[e+48+4>>2]=v,p[e+48+8>>2]=S,p[e+48+12>>2]=0,Dt(t+216|0,e+128|0,e+80|0,e+64|0,e+48|0,e+32|0,C+396|0,+p[C+344>>2],o+396|0,+p[o+344>>2])),o=t+32|0,ui(t,4+(i=0|_[t+28>>2])|0,4+(C=0|_[o>>2])|0,i+264|0,C+264|0),Q=e):Q=e},jr,function(t){var e,i=0,o=0,r=0,s=0,c=0,b=0,A=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0,O=0,x=0,T=0,P=0,V=0,M=0,G=0,L=0,N=0,E=0;if(e=Q,Q=Q+176|0,0|n[738+(t|=0)|0]){p[t+36>>2]=0,p[t+744>>2]=0,0|n[t+736|0]||(o=0|_[t+28>>2],c=+p[t+600>>2],b=+p[t+604>>2],h=+p[t+608>>2],g=c*+p[o+20>>2]+b*+p[o+24>>2]+h*+p[o+28>>2]+ +p[o+56>>2],r=0|_[t+32>>2],A=+p[t+664>>2],f=+p[t+668>>2],y=+p[t+672>>2],C=A*+p[r+20>>2]+f*+p[r+24>>2]+y*+p[r+28>>2]+ +p[r+56>>2],u=A*+p[r+36>>2]+f*+p[r+40>>2]+y*+p[r+44>>2]+ +p[r+60>>2],m=c*+p[o+4>>2]+b*+p[o+8>>2]+h*+p[o+12>>2]+ +p[o+52>>2],h=c*+p[o+36>>2]+b*+p[o+40>>2]+h*+p[o+44>>2]+ +p[o+60>>2],((y=A*+p[r+4>>2]+f*+p[r+8>>2]+y*+p[r+12>>2]+ +p[r+52>>2])-m)*(y-m)+(C-g)*(C-g)+(u-h)*(u-h)>1.1920928955078125e-7?(s=1/+l(+((y-m)*(y-m)+(C-g)*(C-g)+(u-h)*(u-h))),p[e>>2]=(y-m)*s,p[e+4>>2]=(C-g)*s,p[e+8>>2]=(u-h)*s,_[e+12>>2]=0,c=(u-h)*s,i=(C-g)*s,s*=y-m):(_[e>>2]=1065353216,_[e+4>>2]=0,_[e+8>>2]=0,p[e+12>>2]=0,c=0,i=0,s=1),+d(+c)>.7071067690849304?(f=-s*(b=i*(v=1/+l(+(S=c*c+i*i)))),A=s*(c=-c*v),i=S*v,s=b,b=0):(S=s*(A=1/+l(+(v=s*s+i*i))),f=c*(b=-i*A),A*=v,i=-c*S,s=0,c=S),p[e+16>>2]=b,p[e+20>>2]=c,p[e+24>>2]=s,p[e+32>>2]=i,p[e+36>>2]=f,p[e+40>>2]=A,o=0|_[t+28>>2],_[e+128>>2]=_[o+4>>2],_[e+128+4>>2]=_[o+20>>2],_[e+128+8>>2]=_[o+36>>2],p[e+128+12>>2]=0,_[e+128+16>>2]=_[o+8>>2],_[e+128+20>>2]=_[o+24>>2],_[e+128+24>>2]=_[o+40>>2],p[e+128+28>>2]=0,_[e+128+32>>2]=_[o+12>>2],_[e+128+36>>2]=_[o+28>>2],_[e+128+40>>2]=_[o+44>>2],p[e+128+44>>2]=0,r=0|_[t+32>>2],_[e+80>>2]=_[r+4>>2],_[e+80+4>>2]=_[r+20>>2],_[e+80+8>>2]=_[r+36>>2],p[e+80+12>>2]=0,_[e+80+16>>2]=_[r+8>>2],_[e+80+20>>2]=_[r+24>>2],_[e+80+24>>2]=_[r+40>>2],p[e+80+28>>2]=0,_[e+80+32>>2]=_[r+12>>2],_[e+80+36>>2]=_[r+28>>2],_[e+80+40>>2]=_[r+44>>2],p[e+80+44>>2]=0,S=g-+p[o+56>>2],v=h-+p[o+60>>2],p[e+64>>2]=m-+p[o+52>>2],p[e+64+4>>2]=S,p[e+64+8>>2]=v,p[e+64+12>>2]=0,v=C-+p[r+56>>2],S=u-+p[r+60>>2],p[e+48>>2]=y-+p[r+52>>2],p[e+48+4>>2]=v,p[e+48+8>>2]=S,p[e+48+12>>2]=0,Dt(t+48|0,e+128|0,e+80|0,e+64|0,e+48|0,e,o+396|0,+p[o+344>>2],r+396|0,+p[r+344>>2]),r=0|_[t+28>>2],_[e+128>>2]=_[r+4>>2],_[e+128+4>>2]=_[r+20>>2],_[e+128+8>>2]=_[r+36>>2],p[e+128+12>>2]=0,_[e+128+16>>2]=_[r+8>>2],_[e+128+20>>2]=_[r+24>>2],_[e+128+24>>2]=_[r+40>>2],p[e+128+28>>2]=0,_[e+128+32>>2]=_[r+12>>2],_[e+128+36>>2]=_[r+28>>2],_[e+128+40>>2]=_[r+44>>2],p[e+128+44>>2]=0,o=0|_[t+32>>2],_[e+80>>2]=_[o+4>>2],_[e+80+4>>2]=_[o+20>>2],_[e+80+8>>2]=_[o+36>>2],p[e+80+12>>2]=0,_[e+80+16>>2]=_[o+8>>2],_[e+80+20>>2]=_[o+24>>2],_[e+80+24>>2]=_[o+40>>2],p[e+80+28>>2]=0,_[e+80+32>>2]=_[o+12>>2],_[e+80+36>>2]=_[o+28>>2],_[e+80+40>>2]=_[o+44>>2],p[e+80+44>>2]=0,S=g-+p[r+56>>2],v=h-+p[r+60>>2],p[e+64>>2]=m-+p[r+52>>2],p[e+64+4>>2]=S,p[e+64+8>>2]=v,p[e+64+12>>2]=0,v=C-+p[o+56>>2],S=u-+p[o+60>>2],p[e+48>>2]=y-+p[o+52>>2],p[e+48+4>>2]=v,p[e+48+8>>2]=S,p[e+48+12>>2]=0,Dt(t+132|0,e+128|0,e+80|0,e+64|0,e+48|0,e+16|0,r+396|0,+p[r+344>>2],o+396|0,+p[o+344>>2]),o=0|_[t+28>>2],_[e+128>>2]=_[o+4>>2],_[e+128+4>>2]=_[o+20>>2],_[e+128+8>>2]=_[o+36>>2],p[e+128+12>>2]=0,_[e+128+16>>2]=_[o+8>>2],_[e+128+20>>2]=_[o+24>>2],_[e+128+24>>2]=_[o+40>>2],p[e+128+28>>2]=0,_[e+128+32>>2]=_[o+12>>2],_[e+128+36>>2]=_[o+28>>2],_[e+128+40>>2]=_[o+44>>2],p[e+128+44>>2]=0,r=0|_[t+32>>2],_[e+80>>2]=_[r+4>>2],_[e+80+4>>2]=_[r+20>>2],_[e+80+8>>2]=_[r+36>>2],p[e+80+12>>2]=0,_[e+80+16>>2]=_[r+8>>2],_[e+80+20>>2]=_[r+24>>2],_[e+80+24>>2]=_[r+40>>2],p[e+80+28>>2]=0,_[e+80+32>>2]=_[r+12>>2],_[e+80+36>>2]=_[r+28>>2],_[e+80+40>>2]=_[r+44>>2],p[e+80+44>>2]=0,S=g-+p[o+56>>2],v=h-+p[o+60>>2],p[e+64>>2]=m-+p[o+52>>2],p[e+64+4>>2]=S,p[e+64+8>>2]=v,p[e+64+12>>2]=0,v=C-+p[r+56>>2],S=u-+p[r+60>>2],p[e+48>>2]=y-+p[r+52>>2],p[e+48+4>>2]=v,p[e+48+8>>2]=S,p[e+48+12>>2]=0,Dt(t+216|0,e+128|0,e+80|0,e+64|0,e+48|0,e+32|0,o+396|0,+p[o+344>>2],r+396|0,+p[r+344>>2])),o=0|_[t+560>>2],r=0|_[t+576>>2],h=+p[t+592>>2],+d(+h)>.7071067690849304?(_[a>>2]=r,S=+p[a>>2],m=1/+l(+(h*h+S*S)),_[a>>2]=o,i=u=+p[a>>2],s=S,c=u*(-h*m),b=(h*h+S*S)*m,A=0,f=m*S,u*=-m*S,m*=-h):(_[a>>2]=o,m=+p[a>>2],_[a>>2]=r,i=m,s=u=+p[a>>2],c=(m*m+u*u)*(S=1/+l(+(m*m+u*u))),b=S*m*-h,A=-S*u,f=0,u=h*(-S*u),m*=S),o=0|_[t+28>>2],O=A*(E=+p[o+4>>2])+m*(P=+p[o+8>>2])+f*(I=+p[o+12>>2]),k=A*(N=+p[o+20>>2])+m*(j=+p[o+24>>2])+f*(x=+p[o+28>>2]),M=A*(L=+p[o+36>>2])+m*(y=+p[o+40>>2])+f*(W=+p[o+44>>2]),B=b*E+u*P+c*I,F=b*N+u*j+c*x,T=b*L+u*y+c*W,g=E*i+P*s+h*I,v=N*i+j*s+h*x,s=L*i+y*s+h*W,r=0|_[t+32>>2],R=+p[r+4>>2],w=+p[r+20>>2],c=+p[r+36>>2],u=+p[r+8>>2],m=+p[r+24>>2],C=+p[r+40>>2],A=+p[r+12>>2],h=+p[r+28>>2],V=+p[r+44>>2],_[t+300>>2]=0,_[t+300+4>>2]=0,_[t+300+8>>2]=0,_[t+300+12>>2]=0,p[t+316>>2]=O*E+k*N+M*L,p[t+320>>2]=O*P+k*j+M*y,p[t+324>>2]=O*I+k*x+M*W,p[t+328>>2]=0,p[t+332>>2]=R*-O+w*-k+c*-M,p[t+336>>2]=u*-O+m*-k+C*-M,p[t+340>>2]=A*-O+h*-k+V*-M,p[t+344>>2]=0,b=(O*E+k*N+M*L)*+p[o+396>>2],i=(O*P+k*j+M*y)*+p[o+400>>2],D=(O*I+k*x+M*W)*+p[o+404>>2],p[t+348>>2]=b,p[t+352>>2]=i,p[t+356>>2]=D,p[t+360>>2]=0,f=(R*-O+w*-k+c*-M)*+p[r+396>>2],S=(u*-O+m*-k+C*-M)*+p[r+400>>2],G=(A*-O+h*-k+V*-M)*+p[r+404>>2],p[t+364>>2]=f,p[t+368>>2]=S,p[t+372>>2]=G,p[t+376>>2]=0,p[t+380>>2]=(O*E+k*N+M*L)*b+(O*P+k*j+M*y)*i+(O*I+k*x+M*W)*D+((R*-O+w*-k+c*-M)*f+(u*-O+m*-k+C*-M)*S+(A*-O+h*-k+V*-M)*G),G=+p[o+4>>2],M=+p[o+20>>2],V=+p[o+36>>2],h=+p[o+8>>2],A=+p[o+24>>2],k=+p[o+40>>2],O=+p[o+12>>2],S=+p[o+28>>2],C=+p[o+44>>2],m=+p[r+4>>2],u=+p[r+20>>2],f=+p[r+36>>2],c=+p[r+8>>2],w=+p[r+24>>2],R=+p[r+40>>2],D=+p[r+12>>2],W=+p[r+28>>2],x=+p[r+44>>2],_[t+384>>2]=0,_[t+384+4>>2]=0,_[t+384+8>>2]=0,_[t+384+12>>2]=0,p[t+400>>2]=B*G+F*M+T*V,p[t+404>>2]=B*h+F*A+T*k,p[t+408>>2]=B*O+F*S+T*C,p[t+412>>2]=0,p[t+416>>2]=m*-B+u*-F+f*-T,p[t+420>>2]=c*-B+w*-F+R*-T,p[t+424>>2]=D*-B+W*-F+x*-T,p[t+428>>2]=0,i=(B*G+F*M+T*V)*+p[o+396>>2],I=(B*h+F*A+T*k)*+p[o+400>>2],y=(B*O+F*S+T*C)*+p[o+404>>2],p[t+432>>2]=i,p[t+436>>2]=I,p[t+440>>2]=y,p[t+444>>2]=0,b=(m*-B+u*-F+f*-T)*+p[r+396>>2],j=(c*-B+w*-F+R*-T)*+p[r+400>>2],P=(D*-B+W*-F+x*-T)*+p[r+404>>2],p[t+448>>2]=b,p[t+452>>2]=j,p[t+456>>2]=P,p[t+460>>2]=0,p[t+464>>2]=(B*G+F*M+T*V)*i+(B*h+F*A+T*k)*I+(B*O+F*S+T*C)*y+((m*-B+u*-F+f*-T)*b+(c*-B+w*-F+R*-T)*j+(D*-B+W*-F+x*-T)*P),P=+p[o+4>>2],T=+p[o+20>>2],x=+p[o+36>>2],F=+p[o+8>>2],W=+p[o+24>>2],B=+p[o+40>>2],D=+p[o+12>>2],j=+p[o+28>>2],R=+p[o+44>>2],w=+p[r+4>>2],c=+p[r+20>>2],b=+p[r+36>>2],f=+p[r+8>>2],u=+p[r+24>>2],m=+p[r+40>>2],y=+p[r+12>>2],C=+p[r+28>>2],S=+p[r+44>>2],_[t+468>>2]=0,_[t+468+4>>2]=0,_[t+468+8>>2]=0,_[t+468+12>>2]=0,p[t+484>>2]=g*P+v*T+s*x,p[t+488>>2]=g*F+v*W+s*B,p[t+492>>2]=g*D+v*j+s*R,p[t+496>>2]=0,p[t+500>>2]=w*-g+c*-v+b*-s,p[t+504>>2]=f*-g+u*-v+m*-s,p[t+508>>2]=y*-g+C*-v+S*-s,p[t+512>>2]=0,O=(g*P+v*T+s*x)*+p[o+396>>2],I=(g*F+v*W+s*B)*+p[o+400>>2],k=(g*D+v*j+s*R)*+p[o+404>>2],p[t+516>>2]=O,p[t+520>>2]=I,p[t+524>>2]=k,p[t+528>>2]=0,A=(w*-g+c*-v+b*-s)*+p[r+396>>2],h=(f*-g+u*-v+m*-s)*+p[r+400>>2],i=(y*-g+C*-v+S*-s)*+p[r+404>>2],p[t+532>>2]=A,p[t+536>>2]=h,p[t+540>>2]=i,p[t+544>>2]=0,p[t+548>>2]=(g*P+v*T+s*x)*O+(g*F+v*W+s*B)*I+(g*D+v*j+s*R)*k+((w*-g+c*-v+b*-s)*A+(f*-g+u*-v+m*-s)*h+(y*-g+C*-v+S*-s)*i),p[t+724>>2]=0,i=+Yi(t,o+4|0,r+4|0),p[t+728>>2]=i,p[t+708>>2]=0,p[t+712>>2]=0,n[t+716|0]=0,s=+p[t+692>>2];do{if(s>=0){if((i=(i-+p[t+688>>2])%6.2831854820251465)<-3.1415927410125732?i+=6.2831854820251465:i>3.1415927410125732&&(i+=-6.2831854820251465),i<-s){n[t+716|0]=1,p[t+708>>2]=-(s+i),p[t+712>>2]=1;break}i>s&&(n[t+716|0]=1,p[t+708>>2]=s-i,p[t+712>>2]=-1)}}while(0);o=0|_[t+28>>2],M=+p[t+560>>2],G=+p[t+576>>2],E=+p[t+592>>2],L=M*+p[o+4>>2]+G*+p[o+8>>2]+E*+p[o+12>>2],N=M*+p[o+20>>2]+G*+p[o+24>>2]+E*+p[o+28>>2],E=M*+p[o+36>>2]+G*+p[o+40>>2]+E*+p[o+44>>2],r=0|_[t+32>>2],p[t+720>>2]=1/(L*(L*+p[o+264>>2]+N*+p[o+280>>2]+E*+p[o+296>>2])+N*(L*+p[o+268>>2]+N*+p[o+284>>2]+E*+p[o+300>>2])+E*(L*+p[o+272>>2]+N*+p[o+288>>2]+E*+p[o+304>>2])+(L*(L*+p[r+264>>2]+N*+p[r+280>>2]+E*+p[r+296>>2])+N*(L*+p[r+268>>2]+N*+p[r+284>>2]+E*+p[r+300>>2])+E*(L*+p[r+272>>2]+N*+p[r+288>>2]+E*+p[r+304>>2]))),Q=e}else Q=e},At,function(t){At(t|=0),t&&(_[6631]=1+(0|_[6631]),Li(0|_[t+-4>>2]))},function(t){_[192+(t|=0)>>2]=0},ce,function(t){ce(t|=0),gb(t)},hb,function(t){var e;_[(t|=0)>>2]=5772,0|(e=0|_[t+140>>2])&&(0|n[t+144|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+140>>2]=0),n[t+144|0]=1,_[t+140>>2]=0,_[t+132>>2]=0,_[t+136>>2]=0},function(t){var e;_[(t|=0)>>2]=5772,0|(e=0|_[t+140>>2])&&(0|n[t+144|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+140>>2]=0),n[t+144|0]=1,_[t+140>>2]=0,_[t+132>>2]=0,_[t+136>>2]=0,_[6631]=1+(0|_[6631]),Li(0|_[t+-4>>2])},function(t){0|Lb[127&_[40+(0|_[(t|=0)>>2])>>2]](t)&&(_[t+16>>2]=_[t+28>>2],n[t+169|0]=1)},hb,yb,hb,function(t){_[(t|=0)>>2]=5904},function(t){_[(t|=0)>>2]=5904,t&&(_[6631]=1+(0|_[6631]),Li(0|_[t+-4>>2]))},function(t){var e;_[(t|=0)>>2]=5940,0|(e=0|_[t+276>>2])&&(0|n[t+280|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+276>>2]=0),n[t+280|0]=1,_[t+276>>2]=0,_[t+268>>2]=0,_[t+272>>2]=0,_[t>>2]=5904},function(t){var e;_[(t|=0)>>2]=5940,0|(e=0|_[t+276>>2])&&(0|n[t+280|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+276>>2]=0),n[t+280|0]=1,_[t+276>>2]=0,_[t+268>>2]=0,_[t+272>>2]=0,_[t>>2]=5904,_[6631]=1+(0|_[6631]),Li(0|_[t+-4>>2])},Bn,function(t){Bn(t|=0),t&&(_[6631]=1+(0|_[6631]),Li(0|_[t+-4>>2]))},function(t){var e;_[(t|=0)>>2]=6028,0|(e=0|_[t+20>>2])&&(0|n[t+24|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+20>>2]=0),n[t+24|0]=1,_[t+20>>2]=0,_[t+12>>2]=0,_[t+16>>2]=0},function(t){var e;_[(t|=0)>>2]=6028,(e=0|_[t+20>>2])&&0|n[t+24|0]?(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2]),gb(t)):gb(t)},yb,hb,H,function(t){H(t|=0),gb(t)},hb,hb,hb,hb,hb,hb,hb,hb,hb,hb,un,function(t){un(t|=0),gb(t)},function(t){var e;_[(t|=0)>>2]=6376,0|n[t+8|0]&&(e=0|_[t+12>>2])&&(t=0|_[t+4>>2],id[127&_[16+(0|_[t>>2])>>2]](t,e))},function(t){var e,i;_[(t|=0)>>2]=6376,0|n[t+8|0]&&(e=0|_[t+12>>2])?(i=0|_[t+4>>2],id[127&_[16+(0|_[i>>2])>>2]](i,e),gb(t)):gb(t)},function(t){var e=0;_[(t|=0)>>2]=6404,_[t+12>>2]=6452,e=0|_[t+60>>2],id[127&_[20+(0|_[e>>2])>>2]](e,0|_[t+76>>2]),e=0|_[t+60>>2],id[127&_[16+(0|_[e>>2])>>2]](e,0|_[t+76>>2])},function(t){var e=0;_[(t|=0)>>2]=6404,_[t+12>>2]=6452,e=0|_[t+60>>2],id[127&_[20+(0|_[e>>2])>>2]](e,0|_[t+76>>2]),e=0|_[t+60>>2],id[127&_[16+(0|_[e>>2])>>2]](e,0|_[t+76>>2]),gb(t)},hb,function(t){var e=0;_[(t|=0)>>2]=6452,e=0|_[t+48>>2],id[127&_[20+(0|_[e>>2])>>2]](e,0|_[t+64>>2]),e=0|_[t+48>>2],id[127&_[16+(0|_[e>>2])>>2]](e,0|_[t+64>>2])},function(t){var e=0;_[(t|=0)>>2]=6452,e=0|_[t+48>>2],id[127&_[20+(0|_[e>>2])>>2]](e,0|_[t+64>>2]),e=0|_[t+48>>2],id[127&_[16+(0|_[e>>2])>>2]](e,0|_[t+64>>2]),gb(t)},function(t){var e;_[(t|=0)>>2]=6472,0|n[t+8|0]&&(e=0|_[t+12>>2])&&(t=0|_[t+4>>2],id[127&_[16+(0|_[t>>2])>>2]](t,e))},function(t){var e,i;_[(t|=0)>>2]=6472,0|n[t+8|0]&&(e=0|_[t+12>>2])?(i=0|_[t+4>>2],id[127&_[16+(0|_[i>>2])>>2]](i,e),gb(t)):gb(t)},yb,hb,cn,function(t){cn(t|=0),gb(t)},Ve,hb,hb,hb,hb,hb,yb,hb,yb,function(t){gb((t|=0)-4|0)},hb,hb,hb,hb,hb,hb,function(t){var e;_[(t|=0)>>2]=6900,0|n[t+8|0]&&(e=0|_[t+12>>2])&&(t=0|_[t+4>>2],id[127&_[16+(0|_[t>>2])>>2]](t,e))},function(t){var e,i;_[(t|=0)>>2]=6900,0|n[t+8|0]&&(e=0|_[t+12>>2])?(i=0|_[t+4>>2],id[127&_[16+(0|_[i>>2])>>2]](i,e),gb(t)):gb(t)},yb,hb,function(t){var e;_[(t|=0)>>2]=6948,0|n[t+16|0]&&(e=0|_[t+20>>2])&&(t=0|_[t+4>>2],id[127&_[16+(0|_[t>>2])>>2]](t,e))},function(t){var e,i;_[(t|=0)>>2]=6948,0|n[t+16|0]&&(e=0|_[t+20>>2])?(i=0|_[t+4>>2],id[127&_[16+(0|_[i>>2])>>2]](i,e),gb(t)):gb(t)},hb,hb,hb,Cn,function(t){Cn(t|=0),gb(t)},hb,_n,function(t){_n(t|=0),gb(t)},hb,Tn,function(t){Tn(t|=0),t&&(_[6631]=1+(0|_[6631]),Li(0|_[t+-4>>2]))},function(t){var e,i=0,n=0,o=0,r=0;if(e=Q,Q=Q+32|0,_[32+(t|=0)>>2]=1566444395,_[t+36>>2]=1566444395,_[t+40>>2]=1566444395,p[t+44>>2]=0,_[t+48>>2]=-581039253,_[t+52>>2]=-581039253,_[t+56>>2]=-581039253,p[t+60>>2]=0,(0|_[t+16>>2])<=0)Q=e;else{n=0;do{o=0|_[t+24>>2],r=0|_[o+(80*n|0)+64>>2],cd[127&_[8+(0|_[r>>2])>>2]](r,o+(80*n|0)|0,e+16|0,e),i=+p[e+16>>2],+p[t+32>>2]>i&&(p[t+32>>2]=i),i=+p[e>>2],+p[t+48>>2]<i&&(p[t+48>>2]=i),i=+p[e+16+4>>2],+p[t+36>>2]>i&&(p[t+36>>2]=i),i=+p[e+4>>2],+p[t+52>>2]<i&&(p[t+52>>2]=i),i=+p[e+16+8>>2],+p[t+40>>2]>i&&(p[t+40>>2]=i),i=+p[e+8>>2],+p[t+56>>2]<i&&(p[t+56>>2]=i),n=n+1|0}while((0|n)<(0|_[t+16>>2]));Q=e}},gs,gs,gs,gs,function(t){var e;_[(t|=0)>>2]=7668,0|n[t+61|0]&&(e=0|_[t+52>>2],zb[511&_[_[e>>2]>>2]](e),(t=0|_[t+52>>2])&&(_[6631]=1+(0|_[6631]),Li(0|_[t+-4>>2])))},function(t){var e=0;_[(t|=0)>>2]=7668,0|n[t+61|0]&&(e=0|_[t+52>>2],zb[511&_[_[e>>2]>>2]](e),0|(e=0|_[t+52>>2]))&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[6631]=1+(0|_[6631]),Li(0|_[t+-4>>2])},yb,hb,hb,hb,yb,gs,hb,yb,hb,yb,gs,ab,ab,function(t){var e=0;_[(t|=0)>>2]=8252,0|(e=0|_[t+104>>2])&&(0|n[t+108|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+104>>2]=0),n[t+108|0]=1,_[t+104>>2]=0,_[t+96>>2]=0,_[t+100>>2]=0,_[t>>2]=8020,(e=0|_[t+52>>2])&&(zb[511&_[_[e>>2]>>2]](e),(e=0|_[t+52>>2])&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])))},function(t){var e=0,i=0;_[(t|=0)>>2]=8252,0|(e=0|_[t+104>>2])&&(0|n[t+108|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+104>>2]=0),n[t+108|0]=1,_[t+104>>2]=0,_[t+96>>2]=0,_[t+100>>2]=0,_[t>>2]=8020,0|(e=0|_[t+52>>2])&&(zb[511&_[_[e>>2]>>2]](e),0|(i=0|_[t+52>>2]))&&(_[6631]=1+(0|_[6631]),Li(0|_[i+-4>>2])),_[6631]=1+(0|_[6631]),Li(0|_[t+-4>>2])},gs,gs,gs,wo,hb,wo,function(t){pe(t|=0)},wr,hb,hb,function(t){_[(t|=0)>>2]=9056},function(t){_[(t|=0)>>2]=9056,t&&(_[6631]=1+(0|_[6631]),Li(0|_[t+-4>>2]))},gs,gs,gs,se,function(t){se(t|=0),t&&(_[6631]=1+(0|_[6631]),Li(0|_[t+-4>>2]))},en,gr,yb,gr,function(t){var e;_[(t|=0)>>2]=9644,0|(e=0|_[t+16>>2])&&(0|n[t+20|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+16>>2]=0),n[t+20|0]=1,_[t+16>>2]=0,_[t+8>>2]=0,_[t+12>>2]=0},function(t){var e;_[(t|=0)>>2]=9644,(e=0|_[t+16>>2])&&0|n[t+20|0]?(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2]),gb(t)):gb(t)},fn,function(t){fn(t|=0),gb(t)},hb,hb,Co,function(t){Co(t|=0),gb(t)},yb,hb,hb,hb,pe,wr,ab,yb,hb,hb,hb,hb,hb,hb,yb,hb,yb,hb,function(t){var e;_[(t|=0)>>2]=10252,0|n[t+8|0]&&(e=0|_[t+12>>2])&&(t=0|_[t+4>>2],id[127&_[16+(0|_[t>>2])>>2]](t,e))},function(t){var e,i;_[(t|=0)>>2]=10252,0|n[t+8|0]&&(e=0|_[t+12>>2])?(i=0|_[t+4>>2],id[127&_[16+(0|_[i>>2])>>2]](i,e),gb(t)):gb(t)},hb,hb,mn,function(t){mn(t|=0),gb(t)},re,function(t){re(t|=0),t&&(_[6631]=1+(0|_[6631]),Li(0|_[t+-4>>2]))},function(t){var e;_[(t|=0)>>2]=10364,0|(e=0|_[t+32>>2])&&(0|n[t+36|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+32>>2]=0),n[t+36|0]=1,_[t+32>>2]=0,_[t+24>>2]=0,_[t+28>>2]=0},function(t){var e;_[(t|=0)>>2]=10364,0|(e=0|_[t+32>>2])&&(0|n[t+36|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+32>>2]=0),n[t+36|0]=1,_[t+32>>2]=0,_[t+24>>2]=0,_[t+28>>2]=0,_[6631]=1+(0|_[6631]),Li(0|_[t+-4>>2])},yb,hb,yb,yb,hb,hb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb,wb],Kb=[ub,function(t,e){e=+e;var i,o,r,s,c=0,b=0,A=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0,O=0,x=0,T=0,P=0,V=0,M=0,L=0,N=0,E=0,H=0,Z=0,Y=0,J=0,X=0,z=0,K=0,q=0,$=0,tt=0,et=0,it=0,nt=0,ot=0,rt=0,st=0,pt=0,ct=0,at=0,bt=0,lt=0;if(s=Q,Q=Q+240|0,(0|(c=0|_[24+(t|=0)>>2]))<=0)Q=s;else{i=s+128+76|0,o=s+80+16|0,r=s+80+32|0,P=0;do{switch(T=0|_[(0|_[t+32>>2])+(P<<2)>>2],0|_[T+216>>2]){case 2:case 5:break;default:if(0|n[T+924|0]){if(n[T+924|0]=0,(0|(b=0|_[T+732>>2]))>0){A=0|_[T+740>>2],c=0;do{I=0|_[A+(52*c|0)+8>>2],B=0|_[A+(52*c|0)+12>>2],F=+p[I+8>>2]-+p[B+8>>2],O=+p[I+12>>2]-+p[B+12>>2],x=+p[I+16>>2]-+p[B+16>>2],x=+l(+(F*F+O*O+x*x)),p[A+(52*c|0)+16>>2]=x,p[A+(52*c|0)+28>>2]=x*x,c=c+1|0}while((0|c)!=(0|b));c=0;do{p[A+(52*c|0)+24>>2]=(+p[88+(0|_[A+(52*c|0)+8>>2])>>2]+ +p[88+(0|_[A+(52*c|0)+12>>2])>>2])/+p[4+(0|_[A+(52*c|0)+4>>2])>>2],c=c+1|0}while((0|c)!=(0|b))}if(_t(T),0|(c=0|_[T+988>>2])&&Yn(T+988|0,c),0|(c=0|_[T+992>>2])&&(_[6631]=1+(0|_[6631]),Li(0|_[c+-4>>2])),_[T+992>>2]=0,_[T+996>>2]=-1,0|(c=0|_[T+1020>>2])&&(0|n[T+1024|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[c+-4>>2])),_[T+1020>>2]=0),n[T+1024|0]=1,_[T+1020>>2]=0,_[T+1012>>2]=0,_[T+1016>>2]=0,_[T+1004>>2]=0,16&_[T+388>>2]&&(0|(c=0|_[T+988>>2])&&Yn(T+988|0,c),0|(c=0|_[T+992>>2])&&(_[6631]=1+(0|_[6631]),Li(0|_[c+-4>>2])),_[T+992>>2]=0,_[T+996>>2]=-1,0|(c=0|_[T+1020>>2])&&(0|n[T+1024|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[c+-4>>2])),_[T+1020>>2]=0),n[T+1024|0]=1,_[T+1020>>2]=0,_[T+1012>>2]=0,_[T+1016>>2]=0,_[T+1004>>2]=0,(0|_[T+752>>2])>0)){b=0;do{if(k=(A=0|_[T+760>>2])+(44*b|0)|0,I=0|_[A+(44*b|0)+8>>2],B=0|_[A+(44*b|0)+12>>2],c=0|_[A+(44*b|0)+16>>2],g=+p[I+8>>2],C=+p[I+12>>2],v=+p[I+16>>2],h=+p[I+20>>2],f=(W=+p[B+8>>2])<g?W:g,y=(x=+p[B+12>>2])<C?x:C,u=(O=+p[B+16>>2])<v?O:v,m=(F=+p[B+20>>2])<h?F:h,g=g<W?W:g,C=C<x?x:C,v=v<O?O:v,h=h<F?F:h,f=(F=+p[c+8>>2])<f?F:f,y=(O=+p[c+12>>2])<y?O:y,u=(x=+p[c+16>>2])<u?x:u,m=(W=+p[c+20>>2])<m?W:m,h=h<W?W:h,g=(g<F?F:g)+0,C=(C<O?O:C)+0,v=(v<x?x:v)+0,c=0|_[T+992>>2])_[T+992>>2]=0;else{_[6630]=1+(0|_[6630]),(c=0|di(63))?(_[(c+4+15&-16)-4>>2]=c,c=c+4+15&-16):c=0,I=(D=c)+44|0;do{_[D>>2]=0,D=D+4|0}while((0|D)<(0|I))}_[c+32>>2]=0,_[c+36>>2]=k,_[c+40>>2]=0,p[c>>2]=f,p[c+4>>2]=y,p[c+8>>2]=u,p[c+12>>2]=m,p[c+16>>2]=g,p[c+20>>2]=C,p[c+24>>2]=v,p[c+28>>2]=h,U(T+988|0,0|_[T+988>>2],c),_[T+1e3>>2]=1+(0|_[T+1e3>>2]),_[A+(44*b|0)+40>>2]=c,b=b+1|0}while((0|b)<(0|_[T+752>>2]))}}if(m=+p[T+368>>2]*e,p[T+452>>2]=m,p[T+456>>2]=1/m,p[T+460>>2]=3*m,b=0|_[T+192>>2],m=+Bb[15&_[48+(0|_[b>>2])>>2]](b),p[T+464>>2]=m,p[T+468>>2]=.25*m,b=0|_[T+684>>2],m=+p[T+452>>2],f=+p[b+40>>2]*m,u=m*+p[b+44>>2],m*=+p[b+48>>2],(0|(b=0|_[T+712>>2]))>0){A=0|_[T+720>>2],c=0;do{+p[A+(104*c|0)+88>>2]>0&&(p[(B=A+(104*c|0)+40|0)>>2]=f+ +p[B>>2],p[(B=A+(104*c|0)+44|0)>>2]=u+ +p[B>>2],p[(B=A+(104*c|0)+48|0)>>2]=m+ +p[B>>2]),c=c+1|0}while((0|c)!=(0|b))}if($i(13440),y=+p[T+308>>2],g=+p[T+312>>2],k=+p[T+304>>2]>0?1:+p[T+300>>2]>0,D=0|_[T+712>>2],0!=y|g>0){if((0|D)>0){if(b=0|_[T+720>>2],u=+p[b+8>>2],m=+p[b+12>>2],h=+p[b+16>>2],(0|(b=0|_[T+752>>2]))>0){A=0|_[T+760>>2],c=0,f=0;do{B=0|_[A+(44*c|0)+8>>2],I=0|_[A+(44*c|0)+12>>2],O=+p[I+8>>2]-u,R=+p[I+12>>2]-m,W=+p[I+16>>2]-h,I=0|_[A+(44*c|0)+16>>2],F=+p[I+8>>2]-u,j=+p[I+12>>2]-m,x=+p[I+16>>2]-h,f+=(+p[B+16>>2]-h)*(O*j-R*F)+((+p[B+8>>2]-u)*(R*x-W*j)+(+p[B+12>>2]-m)*(W*F-O*x)),c=c+1|0}while((0|c)!=(0|b))}else f=0;f/=6}else f=0;u=y*(1/+d(+f)),f=g*(+p[T+476>>2]-f)}else f=0,u=0;if((0|D)>0)if(k){c=0;do{b=0|_[T+720>>2],+p[b+(104*c|0)+88>>2]>0&&(qe(T,T+1212|0,c),0!=y&&(O=(F=u*+p[b+(104*c|0)+92>>2])*+p[b+(104*c|0)+76>>2],x=F*+p[b+(104*c|0)+80>>2],p[(B=b+(104*c|0)+56|0)>>2]=+p[b+(104*c|0)+72>>2]*F+ +p[B>>2],p[(B=b+(104*c|0)+60|0)>>2]=O+ +p[B>>2],p[(B=b+(104*c|0)+64|0)>>2]=x+ +p[B>>2]),g>0&&(O=(F=f*+p[b+(104*c|0)+92>>2])*+p[b+(104*c|0)+76>>2],x=F*+p[b+(104*c|0)+80>>2],p[(B=b+(104*c|0)+56|0)>>2]=+p[b+(104*c|0)+72>>2]*F+ +p[B>>2],p[(B=b+(104*c|0)+60|0)>>2]=O+ +p[B>>2],p[(B=b+(104*c|0)+64|0)>>2]=x+ +p[B>>2])),c=c+1|0}while((0|c)!=(0|D))}else{b=0|_[T+720>>2],c=0;do{+p[b+(104*c|0)+88>>2]>0&&(0!=y&&(O=(F=u*+p[b+(104*c|0)+92>>2])*+p[b+(104*c|0)+76>>2],x=F*+p[b+(104*c|0)+80>>2],p[(B=b+(104*c|0)+56|0)>>2]=+p[b+(104*c|0)+72>>2]*F+ +p[B>>2],p[(B=b+(104*c|0)+60|0)>>2]=O+ +p[B>>2],p[(B=b+(104*c|0)+64|0)>>2]=x+ +p[B>>2]),g>0&&(O=(F=f*+p[b+(104*c|0)+92>>2])*+p[b+(104*c|0)+76>>2],x=F*+p[b+(104*c|0)+80>>2],p[(B=b+(104*c|0)+56|0)>>2]=+p[b+(104*c|0)+72>>2]*F+ +p[B>>2],p[(B=b+(104*c|0)+60|0)>>2]=O+ +p[B>>2],p[(B=b+(104*c|0)+64|0)>>2]=x+ +p[B>>2])),c=c+1|0}while((0|c)!=(0|D))}if((0|(b=0|_[T+752>>2]))>0){c=0;do{W=+p[T+452>>2],C=+p[T+304>>2],h=+p[T+300>>2];t:do{if(C>0|h>0&&(V=0|_[T+288>>2],(0|V)>3)&&(M=0|_[T+760>>2],L=0|_[M+(44*c|0)+8>>2],N=0|_[M+(44*c|0)+12>>2],E=+p[L+40>>2],H=+p[L+44>>2],Z=+p[L+48>>2],Y=0|_[M+(44*c|0)+16>>2],J=0|_[_[T+684>>2]>>2],X=.3333333432674408*(E+ +p[N+40>>2]+ +p[Y+40>>2])-+p[T+1212>>2],z=.3333333432674408*(H+ +p[N+44>>2]+ +p[Y+44>>2])-+p[T+1216>>2],K=.3333333432674408*(Z+ +p[N+48>>2]+ +p[Y+48>>2])-+p[T+1220>>2],q=+l(+(X*X+z*z+K*K)),X*X+z*z+K*K>1.1920928955078125e-7)){switch(w=X*(1/q),R=z*(1/q),j=K*(1/q),g=+p[M+(44*c|0)+20>>2],v=+p[M+(44*c|0)+24>>2],S=+p[M+(44*c|0)+28>>2],0|V){case 5:break;case 4:case 6:if(!(K*(S*(f=X*g+z*v+K*S<0?-1:1))+(X*(g*f)+z*(v*f))>0))break t;if(w=.3333333432674408*(w*(h*(y=-(X*X+z*z+K*K)*((K*(S*f)+(X*(g*f)+z*(v*f)))*+p[M+(44*c|0)+36>>2])*(_[a>>2]=J,+p[a>>2])))+(g*f*(C*y)+0)),v=.3333333432674408*(R*(h*y)+(v*f*(C*y)+0)),g=1/+l(+((y=.3333333432674408*(j*(h*y)+(S*f*(C*y)+0)))*y+(w*w+v*v))),y*(f=W*+p[L+88>>2])*(y*f)+(w*f*(w*f)+v*f*(v*f))>E*E+H*H+Z*Z?(p[L+56>>2]=+p[L+56>>2]-1/f*(w*g*(w*g*E+v*g*H+y*g*Z)),p[L+60>>2]=+p[L+60>>2]-1/f*(v*g*(w*g*E+v*g*H+y*g*Z)),p[L+64>>2]=+p[L+64>>2]-1/f*(y*g*(w*g*E+v*g*H+y*g*Z))):(p[L+56>>2]=w+ +p[L+56>>2],p[L+60>>2]=v+ +p[L+60>>2],p[L+64>>2]=y+ +p[L+64>>2]),y*(f=W*+p[N+88>>2])*(y*f)+(w*f*(w*f)+v*f*(v*f))>(u=+p[N+40>>2])*u+(m=+p[N+44>>2])*m+(h=+p[N+48>>2])*h?(p[N+56>>2]=+p[N+56>>2]-1/f*(w*g*(w*g*u+v*g*m+y*g*h)),p[N+60>>2]=+p[N+60>>2]-1/f*(v*g*(w*g*u+v*g*m+y*g*h)),p[N+64>>2]=+p[N+64>>2]-1/f*(y*g*(w*g*u+v*g*m+y*g*h))):(p[N+56>>2]=w+ +p[N+56>>2],p[N+60>>2]=v+ +p[N+60>>2],p[N+64>>2]=y+ +p[N+64>>2]),y*(f=W*+p[Y+88>>2])*(y*f)+(w*f*(w*f)+v*f*(v*f))>(u=+p[Y+40>>2])*u+(m=+p[Y+44>>2])*m+(h=+p[Y+48>>2])*h){p[Y+56>>2]=+p[Y+56>>2]-1/f*(w*g*(w*g*u+v*g*m+y*g*h)),p[Y+60>>2]=+p[Y+60>>2]-1/f*(v*g*(w*g*u+v*g*m+y*g*h)),p[Y+64>>2]=+p[Y+64>>2]-1/f*(y*g*(w*g*u+v*g*m+y*g*h));break t}p[Y+56>>2]=w+ +p[Y+56>>2],p[Y+60>>2]=v+ +p[Y+60>>2],p[Y+64>>2]=y+ +p[Y+64>>2];break t;default:break t}f=j*(S*(y=X*g+z*v+K*S<0?-1:1))+(w*(g*y)+R*(v*y)),u=.5*+p[M+(44*c|0)+36>>2],_[a>>2]=J,h=f*(.5*h*(m=+p[a>>2])*(X*X+z*z+K*K)*u),f>0&f<.9847999811172485?(O=(j*(w*(S*y)-j*(g*y))-R*(R*(g*y)-w*(v*y)))*(F=+l(+(1-f*f))*(.5*C*m*q*u))*.3333333432674408,x=(w*(R*(g*y)-w*(v*y))-j*(j*(v*y)-R*(S*y)))*F*.3333333432674408,F=(R*(j*(v*y)-R*(S*y))-w*(w*(S*y)-j*(g*y)))*F*.3333333432674408):(O=0,x=0,F=0),(f=+p[L+88>>2])>0?((f=j*h*-.3333333432674408*f*W*(j*h*-.3333333432674408*f*W)+(w*h*-.3333333432674408*f*W*(w*h*-.3333333432674408*f*W)+R*h*-.3333333432674408*f*W*(R*h*-.3333333432674408*f*W)))>0&&f>=E*E+H*H+Z*Z?(m=w*h*-.3333333432674408*(f=+l(+(E*E+H*H+Z*Z))/+l(+f)*.800000011920929),u=R*h*-.3333333432674408*f,f*=j*h*-.3333333432674408):(m=w*h*-.3333333432674408,u=R*h*-.3333333432674408,f=j*h*-.3333333432674408),j=u+ +p[L+60>>2],W=f+ +p[L+64>>2],p[L+56>>2]=O+(m+ +p[L+56>>2]),p[L+60>>2]=x+j,p[L+64>>2]=F+W):(m=w*h*-.3333333432674408,u=R*h*-.3333333432674408,f=j*h*-.3333333432674408),(h=+p[N+88>>2])>0&&(v=m*h*(y=+p[T+452>>2]),S=u*h*y,h=f*h*y,y=+p[N+40>>2],g=+p[N+44>>2],C=+p[N+48>>2],h*h+(v*v+S*S)>0&&h*h+(v*v+S*S)>=y*y+g*g+C*C&&(m*=W=+l(+(y*y+g*g+C*C))/+l(+(h*h+(v*v+S*S)))*.800000011920929,u*=W,f*=W),j=u+ +p[N+60>>2],W=f+ +p[N+64>>2],p[N+56>>2]=O+(m+ +p[N+56>>2]),p[N+60>>2]=x+j,p[N+64>>2]=F+W),(h=+p[Y+88>>2])>0&&(v=m*h*(y=+p[T+452>>2]),S=u*h*y,h=f*h*y,y=+p[Y+40>>2],g=+p[Y+44>>2],C=+p[Y+48>>2],h*h+(v*v+S*S)>0&&h*h+(v*v+S*S)>=y*y+g*g+C*C&&(m*=W=+l(+(y*y+g*g+C*C))/+l(+(h*h+(v*v+S*S)))*.800000011920929,u*=W,f*=W),j=u+ +p[Y+60>>2],W=f+ +p[Y+64>>2],p[Y+56>>2]=O+(m+ +p[Y+56>>2]),p[Y+60>>2]=x+j,p[Y+64>>2]=F+W)}}while(0);c=c+1|0}while((0|c)!=(0|b))}c=0|_[2606],B=(0|_[c+16>>2])-1|0,_[c+16>>2]=B;do{if(!B){if(0|_[c+4>>2]){if(G(s+128|0,0),B=0|_[6629],p[c+8>>2]=+p[c+8>>2]+ +(((0|_[s+128+4>>2])-(0|_[B+4>>2])+(1e6*((0|_[s+128>>2])-(0|_[B>>2])|0)|0)-(0|_[c+12>>2])|0)>>>0)/1e3,0|_[c+16>>2])break;c=0|_[2606]}_[2606]=_[c+20>>2]}}while(0);if((0|(b=0|_[T+712>>2]))>0){c=0;do{D=(I=0|_[T+720>>2])+(104*c|0)+8|0,_[(B=I+(104*c|0)+24|0)>>2]=_[D>>2],_[B+4>>2]=_[D+4>>2],_[B+8>>2]=_[D+8>>2],_[B+12>>2]=_[D+12>>2],B=I+(104*c|0)+56|0,O=+p[I+(104*c|0)+88>>2],x=+p[T+452>>2],W=+p[B>>2]*O*x,F=O*+p[I+(104*c|0)+60>>2]*x,O=x*(O*+p[I+(104*c|0)+64>>2]),F=F>(x=+p[12+(0|_[T+684>>2])>>2]/x)?x:F,O=O>x?x:O,W=((W=W>x?x:W)<-x?-x:W)+ +p[(k=I+(104*c|0)+40|0)>>2],p[k>>2]=W,F=(F<-x?-x:F)+ +p[(k=I+(104*c|0)+44|0)>>2],p[k>>2]=F,O=(O<-x?-x:O)+ +p[(k=I+(104*c|0)+48|0)>>2],p[k>>2]=O,x=+p[T+452>>2],p[D>>2]=W*x+ +p[D>>2],p[(D=I+(104*c|0)+12|0)>>2]=F*x+ +p[D>>2],p[(I=I+(104*c|0)+16|0)>>2]=O*x+ +p[I>>2],_[B>>2]=0,_[B+4>>2]=0,_[B+8>>2]=0,_[B+12>>2]=0,c=c+1|0}while((0|c)!=(0|b))}if(Ri(T),(c=0|_[T+928>>2])?(B=0|_[T+192>>2],F=+Bb[15&_[48+(0|_[B>>2])>>2]](B),x=+p[c+4>>2]-F,O=+p[c+8>>2]-F,p[T+892>>2]=+p[c>>2]-F,p[T+896>>2]=x,p[T+900>>2]=O,p[T+904>>2]=0,O=F+ +p[c+20>>2],x=F+ +p[c+24>>2],p[T+908>>2]=F+ +p[c+16>>2],p[T+912>>2]=O,p[T+916>>2]=x,p[T+920>>2]=0,0|(c=0|_[T+188>>2])&&(B=0|_[T+684>>2],I=0|_[B+32>>2],ld[31&_[16+(0|_[I>>2])>>2]](I,c,T+892|0,T+908|0,0|_[B+36>>2]))):(_[T+892>>2]=0,_[T+892+4>>2]=0,_[T+892+8>>2]=0,_[T+892+12>>2]=0,_[T+892+16>>2]=0,_[T+892+20>>2]=0,_[T+892+24>>2]=0,_[T+892+28>>2]=0),(0|(b=0|_[T+712>>2]))>0){c=0;do{I=0|_[T+720>>2],O=+p[T+464>>2],W=+p[I+(104*c|0)+8>>2],x=+p[I+(104*c|0)+12>>2],F=+p[I+(104*c|0)+16>>2],p[s>>2]=W-O,p[s+4>>2]=x-O,p[s+8>>2]=F-O,p[s+12>>2]=0,p[s+16>>2]=O+W,p[s+20>>2]=O+x,p[s+24>>2]=O+F,p[s+28>>2]=0,B=0|_[I+(104*c|0)+96>>2],O=(F=+p[T+460>>2])*+p[I+(104*c|0)+44>>2],x=F*+p[I+(104*c|0)+48>>2],p[s+128>>2]=+p[I+(104*c|0)+40>>2]*F,p[s+128+4>>2]=O,p[s+128+8>>2]=x,p[s+128+12>>2]=0,Nt(T+928|0,B,s,s+128|0,+p[T+468>>2]),c=c+1|0}while((0|c)!=(0|b))}if(0|_[T+988>>2]&&(0|_[T+752>>2])>0){c=0;do{B=0|_[T+760>>2],k=0|_[B+(44*c|0)+8>>2],D=0|_[B+(44*c|0)+12>>2],I=0|_[B+(44*c|0)+16>>2],W=.3333333432674408*(+p[k+40>>2]+ +p[D+40>>2]+ +p[I+40>>2]),F=.3333333432674408*(+p[k+44>>2]+ +p[D+44>>2]+ +p[I+44>>2]),O=.3333333432674408*(+p[k+48>>2]+ +p[D+48>>2]+ +p[I+48>>2]),S=+p[T+464>>2],g=+p[k+8>>2],v=+p[k+12>>2],R=+p[k+16>>2],x=+p[k+20>>2],f=(j=+p[D+8>>2])<g?j:g,u=(w=+p[D+12>>2])<v?w:v,m=(C=+p[D+16>>2])<R?C:R,h=(y=+p[D+20>>2])<x?y:x,g=g<j?j:g,v=v<w?w:v,R=R<C?C:R,x=x<y?y:x,y=+p[I+8>>2],C=+p[I+12>>2],w=+p[I+16>>2],j=+p[I+20>>2],p[s>>2]=(y<f?y:f)-S,p[s+4>>2]=(C<u?C:u)-S,p[s+8>>2]=(w<m?w:m)-S,p[s+12>>2]=j<h?j:h,p[s+16>>2]=S+(g<y?y:g),p[s+20>>2]=S+(v<C?C:v),p[s+24>>2]=S+(R<w?w:R),p[s+28>>2]=x<j?j:x,B=0|_[B+(44*c|0)+40>>2],x=+p[T+460>>2],p[s+128>>2]=W*x,p[s+128+4>>2]=F*x,p[s+128+8>>2]=O*x,p[s+128+12>>2]=0,Nt(T+988|0,B,s,s+128|0,+p[T+468>>2]),c=c+1|0}while((0|c)<(0|_[T+752>>2]))}do{if(0|n[T+473|0]){if((0|(B=0|_[T+712>>2]))>0){b=0|_[T+720>>2],A=0|_[T+512>>2],c=0,f=0,u=0,m=0;do{x=+p[A+(c<<2)>>2],f+=+p[b+(104*c|0)+8>>2]*x,u+=x*+p[b+(104*c|0)+12>>2],m+=x*+p[b+(104*c|0)+16>>2],c=c+1|0}while((0|c)!=(0|B))}else f=0,u=0,m=0;p[T+520>>2]=f,p[T+524>>2]=u,p[T+528>>2]=m,p[T+532>>2]=0,I=44+(D=s+128+4|0)|0;do{_[D>>2]=0,D=D+4|0}while((0|D)<(0|I));if(p[s+128>>2]=1.1920928955078125e-7,p[s+128+20>>2]=2.384185791015625e-7,p[s+128+40>>2]=3.5762786865234375e-7,(0|B)>0){b=0|_[T+512>>2],A=0|_[T+720>>2],k=0|_[T+492>>2],c=0,h=1.1920928955078125e-7,y=0,g=0,C=0,v=2.384185791015625e-7,S=0,w=0,R=0,j=3.5762786865234375e-7;do{O=+p[b+(c<<2)>>2],tt=(+p[A+(104*c|0)+8>>2]-f)*O,$=(+p[A+(104*c|0)+12>>2]-u)*O,O*=+p[A+(104*c|0)+16>>2]-m,h=tt*(W=+p[k+(c<<4)>>2])+h,y=tt*(F=+p[k+(c<<4)+4>>2])+y,g=tt*(x=+p[k+(c<<4)+8>>2])+g,C=$*W+C,v=$*F+v,S=$*x+S,w=O*W+w,R=O*F+R,j=O*x+j,c=c+1|0}while((0|c)!=(0|B));p[s+128>>2]=h,p[s+128+4>>2]=y,p[s+128+8>>2]=g,p[s+128+16>>2]=C,p[s+128+20>>2]=v,p[s+128+24>>2]=S,p[s+128+32>>2]=w,p[s+128+36>>2]=R,p[s+128+40>>2]=j}if(!(0|n[24472])&&0|Qs(24472)&&(p[6278]=9999999747378752e-20,_[6279]=16),Fi(s+128|0,s+80|0,s+32|0),_[T+536>>2]=_[s+80>>2],_[T+536+4>>2]=_[s+80+4>>2],_[T+536+8>>2]=_[s+80+8>>2],_[T+536+12>>2]=_[s+80+12>>2],_[T+552>>2]=_[o>>2],_[T+552+4>>2]=_[o+4>>2],_[T+552+8>>2]=_[o+8>>2],_[T+552+12>>2]=_[o+12>>2],_[T+568>>2]=_[r>>2],_[T+568+4>>2]=_[r+4>>2],_[T+568+8>>2]=_[r+8>>2],_[T+568+12>>2]=_[r+12>>2],rt=+p[s+80>>2],et=+p[o>>2],F=+p[r>>2],ot=+p[s+80+4>>2],R=+p[s+80+20>>2],x=+p[s+80+36>>2],nt=+p[s+80+8>>2],j=+p[s+80+24>>2],tt=+p[s+80+40>>2],y=+p[T+632>>2],h=+p[T+636>>2],m=+p[T+640>>2],lt=+p[T+648>>2],bt=+p[T+652>>2],g=+p[T+656>>2],O=+p[T+664>>2],$=+p[T+668>>2],w=+p[T+672>>2],f=(rt*y+ot*h+nt*m)*(at=+p[s+128>>2])+(et*y+R*h+j*m)*(ct=+p[s+128+16>>2])+(F*y+x*h+tt*m)*(C=+p[s+128+32>>2]),u=(rt*y+ot*h+nt*m)*(pt=+p[s+128+4>>2])+(et*y+R*h+j*m)*(st=+p[s+128+20>>2])+(F*y+x*h+tt*m)*(v=+p[s+128+36>>2]),m=(rt*y+ot*h+nt*m)*(it=+p[s+128+8>>2])+(et*y+R*h+j*m)*(W=+p[s+128+24>>2])+(F*y+x*h+tt*m)*(S=+p[s+128+40>>2]),h=(rt*lt+ot*bt+nt*g)*at+(et*lt+R*bt+j*g)*ct+(F*lt+x*bt+tt*g)*C,y=(rt*lt+ot*bt+nt*g)*pt+(et*lt+R*bt+j*g)*st+(F*lt+x*bt+tt*g)*v,g=(rt*lt+ot*bt+nt*g)*it+(et*lt+R*bt+j*g)*W+(F*lt+x*bt+tt*g)*S,C=at*(rt*O+ot*$+nt*w)+ct*(et*O+R*$+j*w)+(F*O+x*$+tt*w)*C,v=(rt*O+ot*$+nt*w)*pt+(et*O+R*$+j*w)*st+(F*O+x*$+tt*w)*v,S=(rt*O+ot*$+nt*w)*it+(et*O+R*$+j*w)*W+(F*O+x*$+tt*w)*S,p[T+584>>2]=f,p[T+588>>2]=u,p[T+592>>2]=m,p[T+596>>2]=0,p[T+600>>2]=h,p[T+604>>2]=y,p[T+608>>2]=g,p[T+612>>2]=0,p[T+616>>2]=C,p[T+620>>2]=v,p[T+624>>2]=S,p[T+628>>2]=0,(w=+p[T+364>>2])>1&&(lt=1/(m*(v*h-y*C)+(f*(y*S-g*v)+u*(g*C-S*h)))<1?1:w<1/(m*(v*h-y*C)+(f*(y*S-g*v)+u*(g*C-S*h)))?w:1/(m*(v*h-y*C)+(f*(y*S-g*v)+u*(g*C-S*h))),p[T+584>>2]=f*lt,p[T+588>>2]=u*lt,p[T+592>>2]=m*lt,p[T+596>>2]=0,p[T+600>>2]=h*lt,p[T+604>>2]=y*lt,p[T+608>>2]=g*lt,p[T+612>>2]=0,p[T+616>>2]=C*lt,p[T+620>>2]=v*lt,p[T+624>>2]=S*lt,p[T+628>>2]=0),0|n[T+473|0]){if(!(+p[T+320>>2]>0))break;if(f=+p[T+536>>2],y=+p[T+540>>2],g=+p[T+544>>2],C=+p[T+552>>2],v=+p[T+556>>2],S=+p[T+560>>2],u=+p[T+568>>2],m=+p[T+572>>2],h=+p[T+576>>2],(0|(b=0|_[T+712>>2]))<=0)break;c=0;do{A=0|_[T+720>>2],+p[A+(104*c|0)+88>>2]>0&&(D=0|_[T+492>>2],st=+p[D+(c<<4)>>2],pt=+p[D+(c<<4)+4>>2],ct=+p[D+(c<<4)+8>>2],rt=+p[T+320>>2],at=+p[(D=A+(104*c|0)+8|0)>>2],bt=+p[(I=A+(104*c|0)+12|0)>>2],lt=+p[(B=A+(104*c|0)+16|0)>>2],bt+=rt*(C*st+v*pt+S*ct+ +p[T+524>>2]-bt),lt+=rt*(u*st+m*pt+h*ct+ +p[T+528>>2]-lt),p[D>>2]=at+rt*(+p[T+520>>2]+(f*st+y*pt+g*ct)-at),p[I>>2]=bt,p[B>>2]=lt,p[A+(104*c|0)+20>>2]=0),c=c+1|0}while((0|c)!=(0|b))}}}while(0);I=104+(D=s+128|0)|0;do{_[D>>2]=0,D=D+4|0}while((0|D)<(0|I));if((0|(c=0|_[T+812>>2]))<0){(0|_[T+816>>2])<0&&(0|(b=0|_[T+820>>2])&&(0|n[T+824|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[b+-4>>2])),_[T+820>>2]=0),n[T+824|0]=1,_[T+820>>2]=0,_[T+816>>2]=0);do{B=0|_[T+820>>2],_[(I=B+(104*c|0)|0)>>2]=_[s+128>>2],_[I+4>>2]=_[s+128+4>>2],_[I+8>>2]=_[s+128+8>>2],_[I+12>>2]=_[s+128+12>>2],_[I+16>>2]=_[s+128+16>>2],_[I+20>>2]=_[s+128+20>>2],_[I+24>>2]=_[s+128+24>>2],_[(I=B+(104*c|0)+28|0)>>2]=_[s+128+28>>2],_[I+4>>2]=_[s+128+28+4>>2],_[I+8>>2]=_[s+128+28+8>>2],_[I+12>>2]=_[s+128+28+12>>2],_[(I=B+(104*c|0)+44|0)>>2]=_[s+128+44>>2],_[I+4>>2]=_[s+128+44+4>>2],_[I+8>>2]=_[s+128+44+8>>2],_[I+12>>2]=_[s+128+44+12>>2],_[(I=B+(104*c|0)+60|0)>>2]=_[s+128+60>>2],_[I+4>>2]=_[s+128+60+4>>2],_[I+8>>2]=_[s+128+60+8>>2],_[I+12>>2]=_[s+128+60+12>>2],_[(B=B+(104*c|0)+76|0)>>2]=_[i>>2],_[B+4>>2]=_[i+4>>2],_[B+8>>2]=_[i+8>>2],_[B+12>>2]=_[i+12>>2],_[B+16>>2]=_[i+16>>2],_[B+20>>2]=_[i+20>>2],_[B+24>>2]=_[i+24>>2],c=c+1|0}while(0|c)}_[T+812>>2]=0,I=56+(D=s+128|0)|0;do{_[D>>2]=0,D=D+4|0}while((0|D)<(0|I));if((0|(c=0|_[T+832>>2]))<0){(0|_[T+836>>2])<0&&(0|(b=0|_[T+840>>2])&&(0|n[T+844|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[b+-4>>2])),_[T+840>>2]=0),n[T+844|0]=1,_[T+840>>2]=0,_[T+836>>2]=0);do{b=s+128|0,I=56+(D=(0|_[T+840>>2])+(56*c|0)|0)|0;do{_[D>>2]=_[b>>2],D=D+4|0,b=b+4|0}while((0|D)<(0|I));c=c+1|0}while(0|c)}_[T+832>>2]=0,dt(T+928|0,1),dt(T+988|0,1),dt(T+1048|0,1),c=0|_[t+24>>2]}P=P+1|0}while((0|P)<(0|c));Q=s}},function(t,e){e=+e;var i,n=0,o=0,r=0,s=0,c=0,a=0,b=0,d=0,l=0,A=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0,k=0,R=0;if(i=Q,Q=Q+48|0,(0|(n=0|_[24+(t|=0)>>2]))<=0)Q=i;else{l=0;t:for(;;){switch(d=0|_[(0|_[t+32>>2])+(l<<2)>>2],0|_[d+216>>2]){case 2:case 5:break;default:if(De(d,0),(0|(o=0|_[d+732>>2]))>0){n=0;do{b=0|_[d+740>>2],c=0|_[b+(52*n|0)+12>>2],a=0|_[b+(52*n|0)+8>>2],S=+p[c+24>>2]-+p[a+24>>2],v=+p[c+28>>2]-+p[a+28>>2],e=+p[c+32>>2]-+p[a+32>>2],p[b+(52*n|0)+36>>2]=S,p[b+(52*n|0)+40>>2]=v,p[b+(52*n|0)+44>>2]=e,p[b+(52*n|0)+48>>2]=0,p[b+(52*n|0)+32>>2]=1/(+p[b+(52*n|0)+24>>2]*(S*S+v*v+e*e)),n=n+1|0}while((0|n)!=(0|o))}if((0|(r=0|_[d+792>>2]))>0){n=0,e=+p[d+452>>2];do{b=0|_[d+800>>2],c=0|_[(o=b+(96*n|0)+20|0)>>2],R=+p[b+(96*n|0)+4>>2],k=+p[b+(96*n|0)+8>>2],S=+p[b+(96*n|0)+12>>2],w=+p[c+4>>2]*R+ +p[c+8>>2]*k+ +p[c+12>>2]*S,v=R*+p[c+20>>2]+k*+p[c+24>>2]+S*+p[c+28>>2],S=R*+p[c+36>>2]+k*+p[c+40>>2]+S*+p[c+44>>2],nt(i,e,+p[88+(0|_[(a=b+(96*n|0)|0)>>2])>>2],+p[c+344>>2],c+264|0,w,v,S),_[(c=b+(96*n|0)+28|0)>>2]=_[i>>2],_[c+4>>2]=_[i+4>>2],_[c+8>>2]=_[i+8>>2],_[c+12>>2]=_[i+12>>2],_[(c=b+(96*n|0)+44|0)>>2]=_[i+16>>2],_[c+4>>2]=_[i+16+4>>2],_[c+8>>2]=_[i+16+8>>2],_[c+12>>2]=_[i+16+12>>2],_[(c=b+(96*n|0)+60|0)>>2]=_[i+32>>2],_[c+4>>2]=_[i+32+4>>2],_[c+8>>2]=_[i+32+8>>2],_[c+12>>2]=_[i+32+12>>2],p[b+(96*n|0)+76>>2]=w,p[b+(96*n|0)+80>>2]=v,p[b+(96*n|0)+84>>2]=S,p[b+(96*n|0)+88>>2]=0,e=+p[d+452>>2],p[b+(96*n|0)+92>>2]=e*+p[88+(0|_[a>>2])>>2],o=0|_[o>>2],3&_[o+204>>2]||(4!=(-2&_[o+216>>2])&&(_[o+216>>2]=1),p[o+220>>2]=0),n=n+1|0}while((0|n)!=(0|r))}if((0|(n=0|_[d+372>>2]))>0){r=0,o=0|_[d+396>>2];do{if((0|o)>0){n=0;do{Kb[31&(0|_[(0|_[d+404>>2])+(n<<2)>>2]?0:23)](d,1),n=n+1|0,o=0|_[d+396>>2]}while((0|n)<(0|o));n=0|_[d+372>>2]}r=r+1|0}while((0|r)<(0|n));if((0|(o=0|_[d+712>>2]))>0){n=0;do{b=0|_[d+720>>2],k=(w=+p[d+452>>2])*+p[b+(104*n|0)+44>>2]+ +p[b+(104*n|0)+28>>2],R=w*+p[b+(104*n|0)+48>>2]+ +p[b+(104*n|0)+32>>2],p[b+(104*n|0)+8>>2]=+p[b+(104*n|0)+40>>2]*w+ +p[b+(104*n|0)+24>>2],p[b+(104*n|0)+12>>2]=k,p[b+(104*n|0)+16>>2]=R,p[b+(104*n|0)+20>>2]=0,n=n+1|0}while((0|n)!=(0|o))}}if((0|(n=0|_[d+376>>2]))>0){s=0,o=0|_[d+416>>2];do{if(e=+(0|s)/+(0|n),(0|o)>0){r=0;do{switch(0|_[(0|_[d+424>>2])+(r<<2)>>2]){case 1:n=2;break;case 0:n=3;break;case 2:n=4;break;case 3:n=5;break;default:C=37;break t}qb[7&n](d,1,e),r=r+1|0,o=0|_[d+416>>2]}while((0|r)<(0|o));n=0|_[d+376>>2]}s=s+1|0}while((0|s)<(0|n));if(e=+p[d+456>>2]*(1-+p[d+296>>2]),(0|(o=0|_[d+712>>2]))>0){n=0;do{b=0|_[d+720>>2],k=e*(+p[b+(104*n|0)+12>>2]-+p[b+(104*n|0)+28>>2]),R=e*(+p[b+(104*n|0)+16>>2]-+p[b+(104*n|0)+32>>2]),p[b+(104*n|0)+40>>2]=e*(+p[b+(104*n|0)+8>>2]-+p[b+(104*n|0)+24>>2]),p[b+(104*n|0)+44>>2]=k,p[b+(104*n|0)+48>>2]=R,b=b+(104*n|0)+52|0,n=n+1|0,_[b>>2]=0,_[b+4>>2]=0,_[b+8>>2]=0,_[b+12>>2]=0,_[b+16>>2]=0}while((0|n)!=(0|o))}}if((0|(n=0|_[d+380>>2]))>0){if(e=+p[d+292>>2]*+p[d+456>>2],(0|(o=0|_[d+712>>2]))>0){n=0;do{a=(b=0|_[d+720>>2])+(104*n|0)+8|0,_[(b=b+(104*n|0)+24|0)>>2]=_[a>>2],_[b+4>>2]=_[a+4>>2],_[b+8>>2]=_[a+8>>2],_[b+12>>2]=_[a+12>>2],n=n+1|0}while((0|n)!=(0|o));(0|(n=0|_[d+380>>2]))>0&&(C=45)}else C=45;if(45==(0|C)){C=0,s=0,o=0|_[d+436>>2];do{if((0|o)>0){r=0;do{switch(0|_[(0|_[d+444>>2])+(r<<2)>>2]){case 1:n=2;break;case 0:n=3;break;case 2:n=4;break;case 3:n=5;break;default:C=56;break t}qb[7&n](d,1,0),r=r+1|0,o=0|_[d+436>>2]}while((0|r)<(0|o));n=0|_[d+380>>2]}s=s+1|0}while((0|s)<(0|n))}if((0|(o=0|_[d+712>>2]))>0){r=0|_[d+720>>2],n=0;do{k=e*(+p[r+(104*n|0)+12>>2]-+p[r+(104*n|0)+28>>2]),R=e*(+p[r+(104*n|0)+16>>2]-+p[r+(104*n|0)+32>>2]),p[(b=r+(104*n|0)+40|0)>>2]=e*(+p[r+(104*n|0)+8>>2]-+p[r+(104*n|0)+24>>2])+ +p[b>>2],p[(b=r+(104*n|0)+44|0)>>2]=k+ +p[b>>2],p[(b=r+(104*n|0)+48|0)>>2]=R+ +p[b>>2],n=n+1|0}while((0|n)!=(0|o))}}if((0|(r=0|_[d+1112>>2]))>0){s=0|_[d+1120>>2],o=0;do{if(c=0|_[s+(o<<2)>>2],+p[c+352>>2]>0&&(0|(A=0|_[c+24>>2]))>0){a=0|_[c+32>>2],n=0;do{b=0|_[a+(n<<2)>>2],+p[b+88>>2]>0&&(h=+p[b+24>>2]-+p[c+228>>2],g=+p[b+28>>2]-+p[c+232>>2],u=+p[b+32>>2]-+p[c+236>>2],m=+p[c+336>>2],R=+p[c+340>>2],y=+p[c+332>>2],(f=+p[c+316>>2]+(m*u-g*R))*f+(u=+p[c+320>>2]+(h*R-u*y))*u+(m=g*y-h*m+ +p[c+324>>2])*m<=(h=+p[b+40>>2])*h+(y=+p[b+44>>2])*y+(g=+p[b+48>>2])*g)&&(R=+p[c+352>>2],p[b+40>>2]=h+(f-h)*R,p[b+44>>2]=y+(u-y)*R,p[b+48>>2]=g+(m-g)*R),n=n+1|0}while((0|n)!=(0|A))}o=o+1|0}while((0|o)!=(0|r))}De(d,1),n=0|_[t+24>>2]}if((0|(l=l+1|0))>=(0|n)){C=3;break}}3!=(0|C)||(Q=i)}},function(t,e){var i,n;e=+e,i=Q,Q=Q+16|0,+p[68+(t|=0)>>2]>0?(n=-+p[t+92>>2],e=-+p[t+96>>2],p[i>>2]=-+p[t+88>>2],p[i+4>>2]=n,p[i+8>>2]=e,p[i+12>>2]=0,Ui(t+4|0,i,t+164|0),Ui(t+16|0,t+88|0,t+180|0),Q=i):Q=i},Ec,Oc,function(t,e){e=+e},Oc,function(t,e){var i,n=0;if(i=Q,Q=Q+16|0,Z(t|=0,e=+e),$i(14072),t=0|_[t+452>>2],Kb[31&_[24+(0|_[t>>2])>>2]](t,e),t=0|_[2606],n=(0|_[t+16>>2])-1|0,_[t+16>>2]=n,0|n)Q=i;else{do{if(0|_[t+4>>2]){if(G(0|i,0),n=0|_[6629],p[t+8>>2]=+p[t+8>>2]+ +(((0|_[i+4>>2])-(0|_[n+4>>2])+(1e6*((0|_[i>>2])-(0|_[n>>2])|0)|0)-(0|_[t+12>>2])|0)>>>0)/1e3,0|_[t+16>>2])return void(Q=i);t=0|_[2606];break}}while(0);_[2606]=_[t+20>>2],Q=i}},function(t,e){t|=0,e=+e;var i,r=0,s=0,c=0,a=0,b=0,d=0,l=0,A=0,f=0,u=0,m=0,h=0,y=0;i=Q,Q=Q+304|0,$i(14521);t:do{if((0|_[t+232>>2])>0)for(l=i+136+48|0,d=0;;){A=0|_[(0|_[t+240>>2])+(d<<2)>>2],p[A+244>>2]=1;e:do{switch(0|_[A+216>>2]){case 2:case 5:break;default:if(!(3&_[A+204>>2])){if(Bt(A+4|0,+p[A+312>>2],+p[A+316>>2],+p[A+320>>2],A+328|0,e,i+136|0),s=+p[l>>2]-+p[A+52>>2],a=+p[i+136+52>>2]-+p[A+56>>2],b=+p[i+136+56>>2]-+p[A+60>>2],0|n[t+44|0]&&(h=+p[A+252>>2])*h!=0&&h*h<s*s+a*a+b*b){$i(14541),(0|_[4+(0|_[A+192>>2])>>2])<20?(_[6295]=1+(0|_[6295]),r=0|_[t+68>>2],r=0|Lb[127&_[36+(0|_[r>>2])>>2]](r),c=0|_[t+24>>2],p[i+200+4>>2]=1,_[i+200+12>>2]=_[A+52>>2],_[i+200+12+4>>2]=_[A+52+4>>2],_[i+200+12+8>>2]=_[A+52+8>>2],_[i+200+12+12>>2]=_[A+52+12>>2],_[i+200+28>>2]=_[l>>2],_[i+200+28+4>>2]=_[l+4>>2],_[i+200+28+8>>2]=_[l+8>>2],_[i+200+28+12>>2]=_[l+12>>2],_[i+200+76>>2]=0,_[i+200>>2]=5180,_[i+200+80>>2]=A,_[i+200+88>>2]=r,_[i+200+92>>2]=c,c=0|_[A+248>>2],_[i+80+8>>2]=0,_[i+80+12>>2]=1065353216,_[i+80+16>>2]=1065353216,_[i+80+20>>2]=1065353216,p[i+80+24>>2]=0,_[i+80>>2]=7568,_[i+80+4>>2]=8,_[i+80+28>>2]=c,_[i+80+44>>2]=c,_[i+200+84>>2]=_[t+56>>2],c=0|_[A+188>>2],o[i+200+8>>1]=0|o[c+4>>1],o[i+200+10>>1]=0|o[c+6>>1],_[i+16+48>>2]=_[l>>2],_[i+16+48+4>>2]=_[l+4>>2],_[i+16+48+8>>2]=_[l+8>>2],_[i+16+48+12>>2]=_[l+12>>2],_[i+16>>2]=_[A+4>>2],_[i+16+4>>2]=_[A+4+4>>2],_[i+16+8>>2]=_[A+4+8>>2],_[i+16+12>>2]=_[A+4+12>>2],_[i+16+16>>2]=_[A+20>>2],_[i+16+16+4>>2]=_[A+20+4>>2],_[i+16+16+8>>2]=_[A+20+8>>2],_[i+16+16+12>>2]=_[A+20+12>>2],_[i+16+32>>2]=_[A+36>>2],_[i+16+32+4>>2]=_[A+36+4>>2],_[i+16+32+8>>2]=_[A+36+8>>2],_[i+16+32+12>>2]=_[A+36+12>>2],we(t,i+80|0,A+4|0,i+16|0,i+200|0,0),(s=+p[i+200+4>>2])<1?(p[A+244>>2]=s,Bt(A+4|0,+p[A+312>>2],+p[A+316>>2],+p[A+320>>2],A+328|0,s*e,i+136|0),p[A+244>>2]=0,ti(A,i+136|0),r=4):r=0,r||(f=12)):f=12,12==(0|f)&&(f=0,r=0),c=0|_[2606],y=(0|_[c+16>>2])-1|0,_[c+16>>2]=y;do{if(!y){if(0|_[c+4>>2]){if(G(i+200|0,0),y=0|_[6629],p[c+8>>2]=+p[c+8>>2]+ +(((0|_[i+200+4>>2])-(0|_[y+4>>2])+(1e6*((0|_[i+200>>2])-(0|_[y>>2])|0)|0)-(0|_[c+12>>2])|0)>>>0)/1e3,0|_[c+16>>2])break;c=0|_[2606]}_[2606]=_[c+20>>2]}}while(0);if(0|r)break e}ti(A,i+136|0)}}}while(0);if((0|(d=d+1|0))>=(0|_[t+232>>2]))break t}}while(0);do{if(0|n[t+275|0]){if($i(14561),(0|_[t+308>>2])>0){A=0;do{if(f=0|_[(0|_[t+316>>2])+(A<<2)>>2],c=0|_[f+740>>2],c=2&_[c+236>>2]?c:0,l=0|_[f+744>>2],l=2&_[l+236>>2]?l:0,(0|(r=0|_[f+748>>2]))>0)if(c){d=0;do{(s=+p[c+228>>2]*+p[l+228>>2])>0&&0!=(m=+p[f+4+(184*d|0)+120>>2])&&(b=s*(m*+p[f+4+(184*d|0)+64>>2]),e=s*(m*+p[f+4+(184*d|0)+68>>2]),h=s*(m*+p[f+4+(184*d|0)+72>>2]),p[i+200>>2]=-b,p[i+200+4>>2]=-e,p[i+200+8>>2]=-h,p[i+200+12>>2]=0,a=+p[f+4+(184*d|0)+52>>2]-+p[c+56>>2],s=+p[f+4+(184*d|0)+56>>2]-+p[c+60>>2],p[i+80>>2]=+p[f+4+(184*d|0)+48>>2]-+p[c+52>>2],p[i+80+4>>2]=a,p[i+80+8>>2]=s,p[i+80+12>>2]=0,s=+p[f+4+(184*d|0)+36>>2]-+p[l+56>>2],a=+p[f+4+(184*d|0)+40>>2]-+p[l+60>>2],p[i+16>>2]=+p[f+4+(184*d|0)+32>>2]-+p[l+52>>2],p[i+16+4>>2]=s,p[i+16+8>>2]=a,p[i+16+12>>2]=0,Dn(c,i+200|0,i+80|0),p[i>>2]=b,p[i+4>>2]=e,p[i+8>>2]=h,p[i+12>>2]=0,Dn(l,i,i+16|0),r=0|_[f+748>>2]),d=d+1|0}while((0|d)<(0|r))}else{c=0;do{(s=+p[57]*+p[l+228>>2])>0&&0!=(u=+p[f+4+(184*c|0)+120>>2])&&(b=s*(u*+p[f+4+(184*c|0)+64>>2]),e=s*(u*+p[f+4+(184*c|0)+68>>2]),h=s*(u*+p[f+4+(184*c|0)+72>>2]),s=+p[f+4+(184*c|0)+36>>2]-+p[l+56>>2],a=+p[f+4+(184*c|0)+40>>2]-+p[l+60>>2],p[i+16>>2]=+p[f+4+(184*c|0)+32>>2]-+p[l+52>>2],p[i+16+4>>2]=s,p[i+16+8>>2]=a,p[i+16+12>>2]=0,p[i>>2]=b,p[i+4>>2]=e,p[i+8>>2]=h,p[i+12>>2]=0,Dn(l,i,i+16|0),r=0|_[f+748>>2]),c=c+1|0}while((0|c)<(0|r))}A=A+1|0}while((0|A)<(0|_[t+308>>2]))}if(r=0|_[2606],y=(0|_[r+16>>2])-1|0,_[r+16>>2]=y,!y){if(0|_[r+4>>2]){if(G(i+200|0,0),y=0|_[6629],p[r+8>>2]=+p[r+8>>2]+ +(((0|_[i+200+4>>2])-(0|_[y+4>>2])+(1e6*((0|_[i+200>>2])-(0|_[y>>2])|0)|0)-(0|_[r+12>>2])|0)>>>0)/1e3,0|_[r+16>>2])break;r=0|_[2606]}_[2606]=_[r+20>>2]}}}while(0);if(r=0|_[2606],y=(0|_[r+16>>2])-1|0,_[r+16>>2]=y,0|y)Q=i;else{do{if(0|_[r+4>>2]){if(G(i+200|0,0),y=0|_[6629],p[r+8>>2]=+p[r+8>>2]+ +(((0|_[i+200+4>>2])-(0|_[y+4>>2])+(1e6*((0|_[i+200>>2])-(0|_[y>>2])|0)|0)-(0|_[r+12>>2])|0)>>>0)/1e3,0|_[r+16>>2])return void(Q=i);r=0|_[2606];break}}while(0);_[2606]=_[r+20>>2],Q=i}},function(t,e){t|=0,e=+e;var i,o=0,r=0,s=0,c=0,a=0,b=0,d=0,l=0,A=0,f=0;if(i=Q,Q=Q+16|0,$i(14455),(0|(o=0|_[t+232>>2]))>0){b=!(0|n[27096]),a=0;do{c=0|_[(0|_[t+240>>2])+(a<<2)>>2];t:do{if(c){r=0|_[c+216>>2];e:do{switch(0|r){case 4:case 2:if(4==(0|r))break t;break;default:if((f=+p[c+312>>2])*f+(A=+p[c+316>>2])*A+(l=+p[c+320>>2])*l<(d=+p[c+472>>2])*d&&(d=+p[c+328>>2])*d+(l=+p[c+332>>2])*l+(A=+p[c+336>>2])*A<(f=+p[c+476>>2])*f){p[c+220>>2]=+p[c+220>>2]+e;break e}p[c+220>>2]=0,4!=(-2&r)&&(_[c+216>>2]=0,r=0)}}while(0);s=-2&r;do{if(b){if(2!=(0|s)&&!(+p[c+220>>2]>2))break;if(3&_[c+204>>2]){if(4==(0|s))break t;_[c+216>>2]=2;break t}if(1==(0|r)){_[c+216>>2]=3;break t}if(2!=(0|r))break t;o=2+(0|_[c+260>>2])|0,_[c+328>>2]=0,_[c+328+4>>2]=0,_[c+328+8>>2]=0,_[c+328+12>>2]=0,_[c+260>>2]=o,_[c+312>>2]=0,_[c+312+4>>2]=0,_[c+312+8>>2]=0,_[c+312+12>>2]=0,o=0|_[t+232>>2];break t}}while(0);4!=(0|s)&&(_[c+216>>2]=1)}}while(0);a=a+1|0}while((0|a)<(0|o))}if(o=0|_[2606],b=(0|_[o+16>>2])-1|0,_[o+16>>2]=b,0|b)Q=i;else{do{if(0|_[o+4>>2]){if(G(0|i,0),b=0|_[6629],p[o+8>>2]=+p[o+8>>2]+ +(((0|_[i+4>>2])-(0|_[b+4>>2])+(1e6*((0|_[i>>2])-(0|_[b>>2])|0)|0)-(0|_[o+12>>2])|0)>>>0)/1e3,0|_[o+16>>2])return void(Q=i);o=0|_[2606];break}}while(0);_[2606]=_[o+20>>2],Q=i}},function(t,e){e=+e;var i,o=0,r=0,s=0,c=0,a=0,b=0,d=0,l=0,A=0;if(i=Q,Q=Q+16|0,A=0|_[452+(t|=0)>>2],rd[127&_[16+(0|_[A>>2])>>2]](A,t+324|0,0),A=0|_[t+452>>2],Lb[127&_[12+(0|_[A>>2])>>2]](A),ki(t,e),$i(14051),(0|(A=0|_[t+328>>2]))>0){r=0|_[t+336>>2],o=0,b=0;do{b=(0|b)>(0|(l=0|_[384+(0|_[r+(o<<2)>>2])>>2]))?b:l,o=o+1|0}while((0|o)!=(0|A));for(o=0;;){if(s=0|_[r+(o<<2)>>2],(0|_[s+852>>2])>0){r=0;do{l=0|_[(0|_[s+860>>2])+(r<<2)>>2],td[15&_[8+(0|_[l>>2])>>2]](l,+p[s+452>>2],b),r=r+1|0}while((0|r)<(0|_[s+852>>2]))}if((0|(o=o+1|0))==(0|A))break;r=0|_[t+336>>2]}if((0|b)>0){s=0;do{o=0;do{if(c=0|_[(0|_[t+336>>2])+(o<<2)>>2],(0|(a=0|_[c+852>>2]))>0){r=0;do{l=0|_[(0|_[c+860>>2])+(r<<2)>>2],qb[7&_[12+(0|_[l>>2])>>2]](l,+p[c+452>>2],1),r=r+1|0}while((0|r)!=(0|a))}o=o+1|0}while((0|o)!=(0|A));s=s+1|0}while((0|s)!=(0|b))}d=0;do{if(l=0|_[(0|_[t+336>>2])+(d<<2)>>2],(0|_[l+852>>2])>0){o=0;do{r=0|_[(0|_[l+860>>2])+(o<<2)>>2],Kb[31&_[16+(0|_[r>>2])>>2]](r,+p[l+452>>2]),r=0|_[l+860>>2],s=0|_[r+(o<<2)>>2];t:do{if(0|n[s+152|0])if(s?(_[6631]=1+(0|_[6631]),Li(0|_[s+-4>>2]),b=0|_[l+860>>2]):b=r,a=o+-1|0,(0|(r=0|_[l+852>>2]))>0){for(c=0|_[b+(o<<2)>>2],o=0;(0|_[(s=b+(o<<2)|0)>>2])!=(0|c);)if((0|(o=o+1|0))>=(0|r)){o=a;break t}(0|o)<(0|r)?(_[s>>2]=_[b+(r+-1<<2)>>2],_[(0|_[l+860>>2])+(r+-1<<2)>>2]=c,_[l+852>>2]=r+-1,o=a,r=r+-1|0):o=a}else o=a;else r=0|_[l+852>>2]}while(0);o=o+1|0}while((0|o)<(0|r))}d=d+1|0}while((0|d)!=(0|A))}o=0|_[t+452>>2],Kb[31&_[28+(0|_[o>>2])>>2]](o,+p[o+12>>2]*e),o=0|_[2606],A=(0|_[o+16>>2])-1|0,_[o+16>>2]=A;do{if(!A){if(0|_[o+4>>2]){if(G(0|i,0),A=0|_[6629],p[o+8>>2]=+p[o+8>>2]+ +(((0|_[i+4>>2])-(0|_[A+4>>2])+(1e6*((0|_[i>>2])-(0|_[A>>2])|0)|0)-(0|_[o+12>>2])|0)>>>0)/1e3,0|_[o+16>>2])break;o=0|_[2606]}_[2606]=_[o+20>>2]}}while(0);if((0|_[t+328>>2])<=0)return t=0|_[t+452>>2],A=0|_[t>>2],A=0|_[(A=A+32|0)>>2],zb[511&A](t),void(Q=i);o=0;do{ie(A=0|_[(0|_[t+336>>2])+(o<<2)>>2],A),o=o+1|0}while((0|o)<(0|_[t+328>>2]));t=0|_[t+452>>2],A=0|_[t>>2],A=0|_[(A=A+32|0)>>2],zb[511&A](t),Q=i},function(t,e){e=+e;var i,n=0,o=0,r=0,s=0,c=0,a=0;if(i=Q,Q=Q+32|0,(0|(n=0|_[8+(t|=0)>>2]))<=0)Q=i;else{r=0;do{0|(o=0|_[(0|_[t+16>>2])+(r<<2)>>2])&&2&_[o+236>>2]&&2!=(0|_[o+216>>2])&&0!=e&&2&_[o+204>>2]&&((n=0|_[o+480>>2])?(id[127&_[8+(0|_[n>>2])>>2]](n,o+4|0),n=o+4|0):n=o+4|0,c=1/e*(+p[o+56>>2]-+p[o+120>>2]),a=1/e*(+p[o+60>>2]-+p[o+124>>2]),p[o+312>>2]=1/e*(+p[o+52>>2]-+p[o+116>>2]),p[o+316>>2]=c,p[o+320>>2]=a,p[o+324>>2]=0,$(o+68|0,n,i+8|0,i),c=1/e*((a=+p[i>>2])*+p[i+8+4>>2]),s=1/e*(a*+p[i+8+8>>2]),p[o+328>>2]=1/e*(+p[i+8>>2]*a),p[o+332>>2]=c,p[o+336>>2]=s,p[o+340>>2]=0,_[o+132>>2]=_[o+312>>2],_[o+132+4>>2]=_[o+312+4>>2],_[o+132+8>>2]=_[o+312+8>>2],_[o+132+12>>2]=_[o+312+12>>2],_[o+148>>2]=_[o+328>>2],_[o+148+4>>2]=_[o+328+4>>2],_[o+148+8>>2]=_[o+328+8>>2],_[o+148+12>>2]=_[o+328+12>>2],_[o+68>>2]=_[n>>2],_[o+68+4>>2]=_[n+4>>2],_[o+68+8>>2]=_[n+8>>2],_[o+68+12>>2]=_[n+12>>2],_[o+84>>2]=_[o+20>>2],_[o+84+4>>2]=_[o+20+4>>2],_[o+84+8>>2]=_[o+20+8>>2],_[o+84+12>>2]=_[o+20+12>>2],_[o+100>>2]=_[o+36>>2],_[o+100+4>>2]=_[o+36+4>>2],_[o+100+8>>2]=_[o+36+8>>2],_[o+100+12>>2]=_[o+36+12>>2],_[o+116>>2]=_[o+52>>2],_[o+116+4>>2]=_[o+52+4>>2],_[o+116+8>>2]=_[o+52+8>>2],_[o+116+12>>2]=_[o+52+12>>2],n=0|_[t+8>>2]),r=r+1|0}while((0|r)<(0|n));Q=i}},function(t,e){t|=0,e=+e;var i,n=0,o=0;if(i=Q,Q=Q+16|0,$i(14315),(0|_[t+280>>2])>0){n=0;do{o=0|_[(0|_[t+288>>2])+(n<<2)>>2],nd[7&_[8+(0|_[o>>2])>>2]](o,t,e),n=n+1|0}while((0|n)<(0|_[t+280>>2]))}if(n=0|_[2606],o=(0|_[n+16>>2])-1|0,_[n+16>>2]=o,0|o)Q=i;else{do{if(0|_[n+4>>2]){if(G(0|i,0),o=0|_[6629],p[n+8>>2]=+p[n+8>>2]+ +(((0|_[i+4>>2])-(0|_[o+4>>2])+(1e6*((0|_[i>>2])-(0|_[o>>2])|0)|0)-(0|_[n+12>>2])|0)>>>0)/1e3,0|_[n+16>>2])return void(Q=i);n=0|_[2606];break}}while(0);_[2606]=_[n+20>>2],Q=i}},Z,ki,function(t,e){e=+e;var i,o,r=0,s=0,c=0,a=0,b=0,d=0,A=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0,k=0;if(o=Q,Q=Q+32|0,(0|(r=0|_[136+(t|=0)>>2]))>0){s=0;do{Ue(0|_[t+116>>2],0|_[t+144>>2],s,0),s=s+1|0,r=0|_[t+136>>2]}while((0|s)<(0|r))}if(h=0|_[t+116>>2],A=+p[h+312>>2],f=+p[h+316>>2],c=+p[h+320>>2],c=3.5999999046325684*+l(+(A*A+f*f+c*c)),p[t+112>>2]=c,m=0|_[t+128>>2],+p[h+4+(m<<2)>>2]*+p[h+312>>2]+ +p[h+20+(m<<2)>>2]*+p[h+316>>2]+ +p[h+36+(m<<2)>>2]*+p[h+320>>2]<0&&(p[t+112>>2]=-c),(0|r)>0){r=0;do{J(t,(0|_[t+144>>2])+(284*r|0)|0),r=r+1|0,s=0|_[t+136>>2]}while((0|r)<(0|s));if(a=1/+p[344+(0|_[t+116>>2])>>2],(0|s)>0){s=0;do{r=0|_[t+144>>2],0|n[r+(284*s|0)+84|0]?(c=+p[r+(284*s|0)+272>>2],c=(c=a*(+p[r+(284*s|0)+216>>2]*(+p[r+(284*s|0)+204>>2]-+p[r+(284*s|0)+32>>2])*+p[r+(284*s|0)+268>>2]-c*+p[(c<0?r+(284*s|0)+220:r+(284*s|0)+224)>>2]))<0?0:c):c=0,p[r+(284*s|0)+276>>2]=c,s=s+1|0,r=0|_[t+136>>2]}while((0|s)<(0|r));if((0|r)>0){r=0;do{m=0|_[t+144>>2],f=(d=(d=+p[m+(284*r|0)+276>>2])>(f=+p[m+(284*r|0)+248>>2])?f:d)*+p[m+(284*r|0)+4>>2]*e,A=d*+p[m+(284*r|0)+8>>2]*e,p[o+16>>2]=+p[m+(284*r|0)>>2]*d*e,p[o+16+4>>2]=f,p[o+16+8>>2]=A,p[o+16+12>>2]=0,h=0|_[t+116>>2],A=+p[m+(284*r|0)+20>>2]-+p[h+56>>2],f=+p[m+(284*r|0)+24>>2]-+p[h+60>>2],p[o>>2]=+p[m+(284*r|0)+16>>2]-+p[h+52>>2],p[o+4>>2]=A,p[o+8>>2]=f,p[o+12>>2]=0,Dn(h,o+16|0,o),r=r+1|0}while((0|r)<(0|_[t+136>>2]))}}}if(Kb[31&_[20+(0|_[t>>2])>>2]](t,e),(0|(i=0|_[t+136>>2]))<=0)Q=o;else{m=0|_[t+144>>2],h=0|_[t+116>>2],u=0;do{c=+p[m+(284*u|0)+36>>2]-+p[h+52>>2],a=+p[m+(284*u|0)+40>>2]-+p[h+56>>2],b=+p[m+(284*u|0)+44>>2]-+p[h+60>>2],d=+p[h+332>>2],A=+p[h+336>>2],f=+p[h+328>>2],0|n[m+(284*u|0)+84|0]?(r=0|_[t+128>>2],k=+p[h+4+(r<<2)>>2],S=+p[h+20+(r<<2)>>2],C=+p[h+36+(r<<2)>>2],w=+p[m+(284*u|0)>>2],v=+p[m+(284*u|0)+4>>2],g=+p[m+(284*u|0)+8>>2],b=((a*f-c*d+ +p[h+320>>2])*(C-g*(k*w+S*v+C*g))+((d*b-a*A+ +p[h+312>>2])*(k-w*(k*w+S*v+C*g))+(c*A-b*f+ +p[h+316>>2])*(S-v*(k*w+S*v+C*g))))*e/+p[m+(284*u|0)+212>>2],p[(r=m+(284*u|0)+240|0)>>2]=b,s=y=m+(284*u|0)+236|0,c=+p[y>>2],a=b):(s=y=m+(284*u|0)+236|0,c=b=+p[(r=m+(284*u|0)+240|0)>>2],a=+p[y>>2]),p[s>>2]=c+a,p[r>>2]=.9900000095367432*b,u=u+1|0}while((0|u)!=(0|i));Q=o}},function(t,e){e=+e;var i,o=0,r=0,s=0,c=0,a=0,b=0,d=0,A=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0,O=0,x=0,T=0,P=0,V=0,M=0,G=0,L=0,N=0,E=0;if(i=Q,Q=Q+96|0,f=0|_[136+(t|=0)>>2]){if((0|(o=0|_[t+8>>2]))<(0|f)){if((0|_[t+12>>2])<(0|f)){if(_[6630]=1+(0|_[6630]),(s=0|di(16+(f<<4|3)|0))?(_[(s+4+15&-16)-4>>2]=s,a=s+4+15&-16):a=0,(0|(c=0|_[t+8>>2]))>0){s=0;do{A=a+(s<<4)|0,h=(0|_[t+16>>2])+(s<<4)|0,_[A>>2]=_[h>>2],_[A+4>>2]=_[h+4>>2],_[A+8>>2]=_[h+8>>2],_[A+12>>2]=_[h+12>>2],s=s+1|0}while((0|s)!=(0|c))}0|(s=0|_[t+16>>2])&&(0|n[t+20|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[s+-4>>2])),_[t+16>>2]=0),n[t+20|0]=1,_[t+16>>2]=a,_[t+12>>2]=f,s=t+16|0}else s=t+16|0;do{h=(0|_[s>>2])+(o<<4)|0,_[h>>2]=_[i+48>>2],_[h+4>>2]=_[i+48+4>>2],_[h+8>>2]=_[i+48+8>>2],_[h+12>>2]=_[i+48+12>>2],o=o+1|0}while((0|o)!=(0|f))}if(_[t+8>>2]=f,(0|(o=0|_[t+28>>2]))<(0|f)){if((0|_[t+32>>2])<(0|f)){if(_[6630]=1+(0|_[6630]),(s=0|di(16+(f<<4|3)|0))?(_[(s+4+15&-16)-4>>2]=s,a=s+4+15&-16):a=0,(0|(c=0|_[t+28>>2]))>0){s=0;do{h=a+(s<<4)|0,A=(0|_[t+36>>2])+(s<<4)|0,_[h>>2]=_[A>>2],_[h+4>>2]=_[A+4>>2],_[h+8>>2]=_[A+8>>2],_[h+12>>2]=_[A+12>>2],s=s+1|0}while((0|s)!=(0|c))}0|(s=0|_[t+36>>2])&&(0|n[t+40|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[s+-4>>2])),_[t+36>>2]=0),n[t+40|0]=1,_[t+36>>2]=a,_[t+32>>2]=f,s=t+36|0}else s=t+36|0;do{h=(0|_[s>>2])+(o<<4)|0,_[h>>2]=_[i+48>>2],_[h+4>>2]=_[i+48+4>>2],_[h+8>>2]=_[i+48+8>>2],_[h+12>>2]=_[i+48+12>>2],o=o+1|0}while((0|o)!=(0|f))}if(_[t+28>>2]=f,(0|(A=0|_[t+48>>2]))<(0|f)){do{if((0|_[t+52>>2])<(0|f)){if(_[6630]=1+(0|_[6630]),(o=0|di(16+(f<<2|3)|0))?(_[(o+4+15&-16)-4>>2]=o,o=o+4+15&-16):o=0,c=0|_[t+48>>2],a=0|_[t+56>>2],(0|c)<=0){if(!a){n[t+60|0]=1,_[t+56>>2]=o,_[t+52>>2]=f,s=f<<2;break}}else{s=0;do{_[o+(s<<2)>>2]=_[a+(s<<2)>>2],s=s+1|0}while((0|s)!=(0|c))}0|n[t+60|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[a+-4>>2])),n[t+60|0]=1,_[t+56>>2]=o,_[t+52>>2]=f,s=f<<2}else s=f<<2,o=0|_[t+56>>2]}while(0);wn(o+(A<<2)|0,0,s-(A<<2)|0)}if(_[t+48>>2]=f,(0|(A=0|_[t+68>>2]))<(0|f)){do{if((0|_[t+72>>2])<(0|f)){if(_[6630]=1+(0|_[6630]),(o=0|di(16+(f<<2|3)|0))?(_[(o+4+15&-16)-4>>2]=o,o=o+4+15&-16):o=0,c=0|_[t+68>>2],a=0|_[t+76>>2],(0|c)<=0){if(!a){n[t+80|0]=1,_[t+76>>2]=o,_[t+72>>2]=f,s=f<<2;break}}else{s=0;do{_[o+(s<<2)>>2]=_[a+(s<<2)>>2],s=s+1|0}while((0|s)!=(0|c))}0|n[t+80|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[a+-4>>2])),n[t+80|0]=1,_[t+76>>2]=o,_[t+72>>2]=f,s=f<<2}else s=f<<2,o=0|_[t+76>>2]}while(0);wn(o+(A<<2)|0,0,s-(A<<2)|0)}if(_[t+68>>2]=f,(0|(o=0|_[t+136>>2]))<=0)Q=i;else{c=0|_[t+76>>2],a=0|_[t+56>>2],s=0;do{p[c+(s<<2)>>2]=0,p[a+(s<<2)>>2]=0,s=s+1|0}while((0|s)!=(0|o));a=0;do{s=0|_[t+144>>2],(c=0|_[s+(284*a|0)+88>>2])&&(S=s+(284*a|0)+92|0,_[i+48>>2]=_[S>>2],_[i+48+4>>2]=_[S+4>>2],_[i+48+8>>2]=_[S+8>>2],_[i+48+12>>2]=_[S+12>>2],S=s+(284*a|0)+108|0,_[i+48+16>>2]=_[S>>2],_[i+48+16+4>>2]=_[S+4>>2],_[i+48+16+8>>2]=_[S+8>>2],_[i+48+16+12>>2]=_[S+12>>2],S=s+(284*a|0)+124|0,_[i+48+32>>2]=_[S>>2],_[i+48+32+4>>2]=_[S+4>>2],_[i+48+32+8>>2]=_[S+8>>2],_[i+48+32+12>>2]=_[S+12>>2],S=0|_[t+120>>2],o=0|_[i+48+16+(S<<2)>>2],w=0|_[i+48+32+(S<<2)>>2],A=0|_[t+36>>2],_[A+(a<<4)>>2]=_[i+48+(S<<2)>>2],_[A+(a<<4)+4>>2]=o,_[A+(a<<4)+8>>2]=w,p[A+(a<<4)+12>>2]=0,A=0|_[t+36>>2],d=(k=+p[(w=A+(a<<4)|0)>>2])-(r=+p[(o=s+(284*a|0)|0)>>2])*(k*r+(v=+p[(S=A+(a<<4)+4|0)>>2])*(b=+p[(h=s+(284*a|0)+4|0)>>2])+(y=+p[(A=A+(a<<4)+8|0)>>2])*(C=+p[(f=s+(284*a|0)+8|0)>>2])),g=v-b*(k*r+v*b+y*C),y=1/+l(+((C=y-C*(k*r+v*b+y*C))*C+(d*d+g*g))),p[w>>2]=d*y,p[S>>2]=g*y,p[A>>2]=C*y,b=+p[h>>2],v=+p[f>>2],r=+p[o>>2],o=0|_[t+16>>2],p[o+(a<<4)>>2]=b*(C*y)-v*(g*y),p[o+(a<<4)+4>>2]=v*(d*y)-C*y*r,p[o+(a<<4)+8>>2]=g*y*r-b*(d*y),p[o+(a<<4)+12>>2]=0,o=0|_[t+16>>2],y=+p[(f=o+(a<<4)|0)>>2],d=+p[(h=o+(a<<4)+4|0)>>2],b=+p[(o=o+(a<<4)+8|0)>>2],r=1/+l(+(y*y+d*d+b*b)),p[f>>2]=y*r,p[h>>2]=d*r,p[o>>2]=b*r,o=0|_[t+116>>2],h=0|_[t+36>>2],(r=+p[h+(a<<4)>>2])*r+(b=+p[h+(a<<4)+4>>2])*b+(d=+p[h+(a<<4)+8>>2])*d>1.100000023841858?r=0:(F=(D=+p[s+(284*a|0)+16>>2])-+p[o+52>>2],x=(B=+p[s+(284*a|0)+20>>2])-+p[o+56>>2],V=(T=+p[s+(284*a|0)+24>>2])-+p[o+60>>2],D-=+p[c+52>>2],B-=+p[c+56>>2],T-=+p[c+60>>2],W=+p[o+332>>2],M=+p[o+336>>2],O=+p[o+328>>2],j=+p[c+332>>2],P=+p[c+336>>2],I=+p[c+328>>2],R=(d*x-b*V)*+p[o+4>>2]+(r*V-d*F)*+p[o+20>>2]+(b*F-r*x)*+p[o+36>>2],y=(d*x-b*V)*+p[o+8>>2]+(r*V-d*F)*+p[o+24>>2]+(b*F-r*x)*+p[o+40>>2],g=(d*x-b*V)*+p[o+12>>2]+(r*V-d*F)*+p[o+28>>2]+(b*F-r*x)*+p[o+44>>2],C=(B*-d-T*-b)*+p[c+4>>2]+(T*-r-D*-d)*+p[c+20>>2]+(D*-b-B*-r)*+p[c+36>>2],v=(B*-d-T*-b)*+p[c+8>>2]+(T*-r-D*-d)*+p[c+24>>2]+(D*-b-B*-r)*+p[c+40>>2],k=(B*-d-T*-b)*+p[c+12>>2]+(T*-r-D*-d)*+p[c+28>>2]+(D*-b-B*-r)*+p[c+44>>2],r=-.20000000298023224*(r*(V*W-x*M+ +p[o+312>>2]-(T*j-B*P+ +p[c+312>>2]))+b*(+p[o+316>>2]+(F*M-V*O)-(+p[c+316>>2]+(D*P-T*I)))+d*(x*O-F*W+ +p[o+320>>2]-(B*I-D*j+ +p[c+320>>2])))*(1/(+p[c+344>>2]+(+p[o+344>>2]+(R*(R*+p[o+396>>2])+y*(y*+p[o+400>>2])+g*(g*+p[o+404>>2])))+(C*(C*+p[c+396>>2])+v*(v*+p[c+400>>2])+k*(k*+p[c+404>>2]))))),p[(0|_[t+76>>2])+(a<<2)>>2]=r,o=0|_[t+136>>2]),a=a+1|0}while((0|a)<(0|o));if((0|o)<=0)Q=i;else{for(s=0,A=0,c=0|_[t+144>>2];(o=0|_[c+(284*A|0)+88>>2])?(0!=(r=+p[c+(284*A|0)+252>>2])?(r*=e,o=c):(M=0==(M=+p[c+(284*A|0)+256>>2])?0:M,w=0|_[t+116>>2],S=0|_[t+16>>2],F=+p[c+(284*A|0)+16>>2],B=+p[c+(284*A|0)+20>>2],R=+p[c+(284*A|0)+24>>2],v=+p[S+(A<<4)>>2],I=+p[S+(A<<4)+4>>2],r=+p[S+(A<<4)+8>>2],L=F-+p[w+52>>2],N=B-+p[w+56>>2],b=R-+p[w+60>>2],d=+p[w+264>>2]*(N*r-b*I)+ +p[w+280>>2]*(b*v-L*r)+(L*I-N*v)*+p[w+296>>2],E=(N*r-b*I)*+p[w+268>>2]+(b*v-L*r)*+p[w+284>>2]+(L*I-N*v)*+p[w+300>>2],G=(N*r-b*I)*+p[w+272>>2]+(b*v-L*r)*+p[w+288>>2]+(L*I-N*v)*+p[w+304>>2],P=F-+p[o+52>>2],x=B-+p[o+56>>2],D=R-+p[o+60>>2],C=(I*P-v*x)*+p[o+296>>2]+(+p[o+264>>2]*(r*x-I*D)+ +p[o+280>>2]*(v*D-r*P)),y=(r*x-I*D)*+p[o+268>>2]+(v*D-r*P)*+p[o+284>>2]+(I*P-v*x)*+p[o+300>>2],g=(r*x-I*D)*+p[o+272>>2]+(v*D-r*P)*+p[o+288>>2]+(I*P-v*x)*+p[o+304>>2],F-=+p[w+52>>2],B-=+p[w+56>>2],R-=+p[w+60>>2],O=+p[w+332>>2],k=+p[w+336>>2],W=+p[w+328>>2],V=+p[o+332>>2],j=+p[o+336>>2],T=+p[o+328>>2],r=(r=M<(r=-1/(+p[w+344>>2]+(r*(N*d-L*E)+(v*(b*E-N*G)+I*(L*G-b*d)))+(+p[o+344>>2]+(r*(x*C-P*y)+(v*(D*y-x*g)+I*(P*g-D*C)))))*((R*O-B*k+ +p[w+312>>2]-(D*V-x*j+ +p[o+312>>2]))*v+(+p[w+316>>2]+(F*k-R*W)-(+p[o+316>>2]+(P*j-D*T)))*I+(B*W-F*O+ +p[w+320>>2]-(x*T-P*V+ +p[o+320>>2]))*r))?M:r)<-M?-M:r,o=0|_[t+144>>2]),w=(0|_[t+56>>2])+(A<<2)|0,p[w>>2]=0,p[(a=o+(284*A|0)+280|0)>>2]=1,d=+p[c+(284*A|0)+276>>2]*e*+p[c+(284*A|0)+228>>2],p[w>>2]=r,(r*=.5)*r+(b=+p[(0|_[t+76>>2])+(A<<2)>>2])*b>d*d&&(E=d/+l(+(r*r+b*b)),p[a>>2]=E*+p[a>>2],s=1)):(p[(0|_[t+56>>2])+(A<<2)>>2]=0,p[c+(284*A|0)+280>>2]=1,o=c),!((0|(A=A+1|0))>=(0|(a=0|_[t+136>>2])));)c=o;if(s&(0|a)>0){s=0|_[t+76>>2],o=0;do{0!=+p[(c=s+(o<<2)|0)>>2]&&(u=(0|_[t+144>>2])+(284*o|0)+280|0,(m=+p[u>>2])<1)&&(w=(0|_[t+56>>2])+(o<<2)|0,p[w>>2]=m*+p[w>>2],p[c>>2]=+p[u>>2]*+p[c>>2]),o=o+1|0}while((0|o)!=(0|a))}if((0|a)<=0)Q=i;else{s=0;do{c=0|_[t+144>>2],o=0|_[t+116>>2],b=+p[(a=c+(284*s|0)+16|0)>>2]-+p[o+52>>2],d=+p[(A=c+(284*s|0)+20|0)>>2]-+p[o+56>>2],e=+p[(f=c+(284*s|0)+24|0)>>2]-+p[o+60>>2],p[i+48>>2]=b,p[i+48+4>>2]=d,p[i+48+8>>2]=e,p[i+48+12>>2]=0,0!=(r=+p[(0|_[t+56>>2])+(s<<2)>>2])&&(w=0|_[t+16>>2],N=r*+p[w+(s<<4)+4>>2],E=r*+p[w+(s<<4)+8>>2],p[i+32>>2]=r*+p[w+(s<<4)>>2],p[i+32+4>>2]=N,p[i+32+8>>2]=E,p[i+32+12>>2]=0,Dn(o,i+32|0,i+48|0)),0!=(r=+p[(0|_[t+76>>2])+(s<<2)>>2])&&(w=0|_[(0|_[t+144>>2])+(284*s|0)+88>>2],N=+p[A>>2]-+p[w+56>>2],L=+p[f>>2]-+p[w+60>>2],p[i+32>>2]=+p[a>>2]-+p[w+52>>2],p[i+32+4>>2]=N,p[i+32+8>>2]=L,p[i+32+12>>2]=0,S=0|_[t+36>>2],L=+p[S+(s<<4)>>2]*r,N=r*+p[S+(s<<4)+4>>2],E=r*+p[S+(s<<4)+8>>2],p[i+16>>2]=L,p[i+16+4>>2]=N,p[i+16+8>>2]=E,p[i+16+12>>2]=0,S=0|_[t+116>>2],h=0|_[t+124>>2],G=((P=+p[S+4+(h<<2)>>2])*b+(V=+p[S+20+(h<<2)>>2])*d+(M=+p[S+36+(h<<2)>>2])*e)*(1-+p[c+(284*s|0)+244>>2]),p[i+48>>2]=b-P*G,p[i+48+4>>2]=d-V*G,p[i+48+8>>2]=e-M*G,Dn(S,i+16|0,i+48|0),p[i>>2]=-L,p[i+4>>2]=-N,p[i+8>>2]=-E,p[i+12>>2]=0,Dn(w,i,i+32|0)),s=s+1|0}while((0|s)<(0|_[t+136>>2]));Q=i}}}}else Q=i},Dc,Oc,Wn,Wn,Wn,function(t,e){e=+e;var i,n,o=0,r=0,s=0,c=0,a=0,b=0,d=0,l=0,A=0,f=0,u=0,m=0,h=0;if(!((0|(n=0|_[732+(t|=0)>>2]))<=0)){i=0|_[t+740>>2],t=0;do{l=0|_[i+(52*t|0)+8>>2],o=0|_[i+(52*t|0)+12>>2],h=+p[l+40>>2],u=+p[l+44>>2],A=+p[l+48>>2],m=+p[(a=i+(52*t|0)+36|0)>>2],f=+p[(d=i+(52*t|0)+40|0)>>2],r=+p[(b=i+(52*t|0)+44|0)>>2],c=-+p[i+(52*t|0)+32>>2]*((h-+p[o+40>>2])*m+(u-+p[o+44>>2])*f+(A-+p[o+48>>2])*r)*e,s=+p[l+88>>2]*c,p[l+40>>2]=h+m*s,p[l+44>>2]=u+f*s,p[l+48>>2]=A+r*s,s=(c=+p[o+88>>2]*c)*+p[d>>2],r=c*+p[b>>2],p[o+40>>2]=+p[o+40>>2]-+p[a>>2]*c,p[o+44>>2]=+p[o+44>>2]-s,p[o+48>>2]=+p[o+48>>2]-r,t=t+1|0}while((0|t)!=(0|n))}},ub,ub,ub,ub,ub,ub,ub,ub],qb=[$a,function(t,e,i){e=+e,i=+i;var o,r=0,s=0,c=0,a=0,b=0,d=0,A=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0;if(o=Q,Q=Q+80|0,(r=0|_[8+(t|=0)>>2])?(h=+p[r+332>>2],A=+p[t+172>>2],f=+p[r+336>>2],u=+p[t+168>>2],d=+p[t+164>>2],m=+p[r+328>>2],e=h*A-f*u,a=+p[r+312>>2],A=f*d-A*m,f=+p[r+316>>2],b=+p[r+320>>2],d=u*m-h*d):(r=0|_[t+4>>2])?(h=+p[r+336>>2],A=+p[t+172>>2],f=+p[r+340>>2],u=+p[t+168>>2],d=+p[t+164>>2],m=+p[r+332>>2],e=h*A-f*u,a=+p[r+316>>2],A=f*d-A*m,f=+p[r+320>>2],b=+p[r+324>>2],d=u*m-h*d):(e=0,a=0,A=0,f=0,b=0,d=0),u=a+e,h=f+A,m=b+d,(r=0|_[t+20>>2])?(C=+p[r+332>>2],A=+p[t+188>>2],f=+p[r+336>>2],y=+p[t+184>>2],d=+p[t+180>>2],g=+p[r+328>>2],e=C*A-f*y,a=+p[r+312>>2],A=f*d-A*g,f=+p[r+316>>2],b=+p[r+320>>2],d=y*g-C*d):(r=0|_[t+16>>2])?(y=+p[r+336>>2],A=+p[t+188>>2],f=+p[r+340>>2],C=+p[t+184>>2],d=+p[t+180>>2],g=+p[r+332>>2],e=y*A-f*C,a=+p[r+316>>2],A=f*d-A*g,f=+p[r+320>>2],b=+p[r+324>>2],d=C*g-y*d):(e=0,a=0,A=0,f=0,b=0,d=0),u-=a+e,A=h-(f+A),e=m-(b+d),a=+p[t+196>>2],b=+p[t+200>>2],d=+p[t+204>>2],n[o+36+32|0]=1,_[o+36+16>>2]=0,_[o+36+16+4>>2]=0,_[o+36+16+8>>2]=0,_[o+36+16+12>>2]=0,_[o+36>>2]=_[t+72>>2],_[o+36+4>>2]=_[t+72+4>>2],_[o+36+8>>2]=_[t+72+8>>2],_[o+36+12>>2]=_[t+72+12>>2],a*u+A*b+e*d<0?(y=+p[t+212>>2],g=+p[o+36>>2]+(a*(a*u+A*b+e*d)+(u-a*(a*u+A*b+e*d))*y),p[o+36>>2]=g,C=b*(a*u+A*b+e*d)+(A-b*(a*u+A*b+e*d))*y+ +p[o+36+4>>2],p[o+36+4>>2]=C,b=d*(a*u+A*b+e*d)+(e-d*(a*u+A*b+e*d))*y+ +p[o+36+8>>2],p[o+36+8>>2]=b,r=o+36+4|0,s=o+36+8|0,c=o+36|0,e=g,a=C):(r=o+36+4|0,s=o+36+8|0,c=o+36|0,e=+p[o+36>>2],a=+p[o+36+4>>2],b=+p[o+36+8>>2]),d=(+p[t+104>>2]*e+ +p[t+108>>2]*a+ +p[t+112>>2]*b)*i,A=(e*+p[t+120>>2]+a*+p[t+124>>2]+b*+p[t+128>>2])*i,e=(e*+p[t+136>>2]+a*+p[t+140>>2]+b*+p[t+144>>2])*i,p[c>>2]=d,p[r>>2]=A,p[s>>2]=e,p[o+36+12>>2]=0,(0|(r=0|_[t+4>>2]))!=(0|_[t+16>>2])){s=o+36|0,c=(r=o)+36|0;do{_[r>>2]=_[s>>2],r=r+4|0,s=s+4|0}while((0|r)<(0|c));return C=-+p[o+4>>2],g=-+p[o+8>>2],p[o>>2]=-+p[o>>2],p[o+4>>2]=C,p[o+8>>2]=g,p[o+12>>2]=0,g=-+p[o+20>>2],C=-+p[o+24>>2],p[o+16>>2]=-+p[o+16>>2],p[o+20>>2]=g,p[o+24>>2]=C,p[o+28>>2]=0,qt(t+4|0,o,t+164|0),qt(t+16|0,o+36|0,t+180|0),void(Q=o)}if(d==d&A==A&e==e&!0)if((C=+l(+(d*d+A*A+e*e)))<+p[r+368>>2])Q=o;else{s=0|_[o+36+32>>2],C=+p[r+372>>2],p[o+12>>2]=0,p[o+28>>2]=0,_[o+32>>2]=s,p[o>>2]=-d*C,p[o+4>>2]=-A*C,p[o+8>>2]=-e*C,p[o+16>>2]=-0*C,p[o+20>>2]=-0*C,p[o+24>>2]=-0*C,qt(t+4|0,o,t+164|0),e=+p[372+(0|_[t+4>>2])>>2],s=o+36|0,c=(r=o)+36|0;do{_[r>>2]=_[s>>2],r=r+4|0,s=s+4|0}while((0|r)<(0|c));p[o>>2]=e*+p[o>>2],p[o+4>>2]=e*+p[o+4>>2],p[o+8>>2]=e*+p[o+8>>2],p[o+16>>2]=e*+p[o+16>>2],p[o+20>>2]=e*+p[o+20>>2],p[o+24>>2]=e*+p[o+24>>2],qt(t+16|0,o,t+180|0),Q=o}else Q=o},function(t,e,i){e=+e,i=+i;var n,o,r=0,s=0,c=0,a=0,b=0,d=0,l=0,A=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0;if(o=Q,Q=Q+16|0,i=+p[336+(t|=0)>>2]*e,e=+p[t+452>>2],(0|(n=0|_[t+792>>2]))<=0)Q=o;else{r=0;do{h=0|_[t+800>>2],c=0|_[h+(96*r|0)+20>>2],l=0|_[h+(96*r|0)>>2],S=+p[h+(96*r|0)+4>>2],v=+p[h+(96*r|0)+8>>2],C=+p[h+(96*r|0)+12>>2],s=h+(96*r|0)+76|0,g=+p[c+332>>2],A=+p[h+(96*r|0)+84>>2],w=+p[c+336>>2],b=+p[h+(96*r|0)+80>>2],a=+p[s>>2],d=+p[c+328>>2],m=+p[l+8>>2],u=+p[l+12>>2],f=+p[l+16>>2],y=i*(S*+p[c+4>>2]+v*+p[c+8>>2]+C*+p[c+12>>2]+ +p[c+52>>2]-m)+(e*(g*A-w*b+ +p[c+312>>2])-(m-+p[l+24>>2])),A=i*(S*+p[c+20>>2]+v*+p[c+24>>2]+C*+p[c+28>>2]+ +p[c+56>>2]-u)+(e*(+p[c+316>>2]+(w*a-A*d))-(u-+p[l+28>>2])),a=i*(S*+p[c+36>>2]+v*+p[c+40>>2]+C*+p[c+44>>2]+ +p[c+60>>2]-f)+(e*(b*d-g*a+ +p[c+320>>2])-(f-+p[l+32>>2])),g=+p[h+(96*r|0)+24>>2],d=(y*+p[h+(96*r|0)+28>>2]+A*+p[h+(96*r|0)+32>>2]+ +p[h+(96*r|0)+36>>2]*a)*g,b=(y*+p[h+(96*r|0)+44>>2]+A*+p[h+(96*r|0)+48>>2]+a*+p[h+(96*r|0)+52>>2])*g,a=g*(y*+p[h+(96*r|0)+60>>2]+A*+p[h+(96*r|0)+64>>2]+a*+p[h+(96*r|0)+68>>2]),A=+p[h+(96*r|0)+92>>2],p[l+8>>2]=m+d*A,p[l+12>>2]=u+A*b,p[l+16>>2]=f+A*a,p[o>>2]=-d,p[o+4>>2]=-b,p[o+8>>2]=-a,p[o+12>>2]=0,Dn(c,o,s),r=r+1|0}while((0|r)!=(0|n));Q=o}},function(t,e,i){e=+e,i=+i;var n,o,r=0,s=0,c=0,a=0,b=0,d=0,l=0,A=0,f=0,u=0;if(!((0|(o=0|_[732+(t|=0)>>2]))<=0)){n=0|_[t+740>>2],t=0;do{(i=+p[n+(52*t|0)+24>>2])>0&&(r=0|_[n+(52*t|0)+8>>2],s=0|_[n+(52*t|0)+12>>2],c=+p[r+8>>2],a=+p[s+8>>2]-c,b=+p[r+12>>2],d=+p[s+12>>2]-b,l=+p[r+16>>2],A=+p[s+16>>2]-l,(f=+p[n+(52*t|0)+28>>2])+(a*a+d*d+A*A)>1.1920928955078125e-7)&&(u=(i=(f-(a*a+d*d+A*A))/(i*(f+(a*a+d*d+A*A)))*e)*+p[r+88>>2],p[r+8>>2]=c-a*u,p[r+12>>2]=b-d*u,p[r+16>>2]=l-A*u,i*=+p[s+88>>2],p[s+8>>2]=+p[s+8>>2]+a*i,p[s+12>>2]=d*i+ +p[s+12>>2],p[s+16>>2]=A*i+ +p[s+16>>2]),t=t+1|0}while((0|t)!=(0|o))}},function(t,e,i){e=+e,i=+i;var n,o,r,s=0,c=0,a=0,b=0,d=0,l=0,A=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0;if(r=Q,Q=Q+16|0,o=+p[452+(t|=0)>>2],f=0|_[t+192>>2],n=+Bb[15&_[48+(0|_[f>>2])>>2]](f),(0|(f=0|_[t+812>>2]))<=0)Q=r;else{A=0;do{u=0|_[t+820>>2],l=0|_[u+(104*A|0)>>2],0|(l=2&_[l+236>>2]?l:0)?(g=+p[l+332>>2],s=+p[u+(104*A|0)+84>>2],d=+p[l+336>>2],h=+p[u+(104*A|0)+80>>2],c=+p[u+(104*A|0)+76>>2],y=+p[l+328>>2],i=o*(g*s-d*h+ +p[l+312>>2]),s=o*(+p[l+316>>2]+(d*c-s*y)),c=o*(h*y-g*c+ +p[l+320>>2])):(i=0,s=0,c=0),m=0|_[u+(104*A|0)+24>>2],h=+p[m+8>>2],y=+p[m+12>>2],g=+p[m+16>>2],d=h-+p[m+24>>2]-i,b=y-+p[m+28>>2]-s,i=g-+p[m+32>>2]-c,d*(s=+p[u+(104*A|0)+4>>2])+b*(c=+p[u+(104*A|0)+8>>2])+i*(a=+p[u+(104*A|0)+12>>2])<=1.1920928955078125e-7&&(S=h*s+y*c+g*a+ +p[u+(104*A|0)+20>>2],v=(d-(d-s*(d*s+b*c+i*a))*(w=+p[u+(104*A|0)+96>>2])+s*(S=(S<n?S:n)*+p[u+(104*A|0)+100>>2]))*e,C=(b-(b-c*(d*s+b*c+i*a))*w+c*S)*e,b=(i-(i-a*(d*s+b*c+i*a))*w+a*S)*e,c=+p[u+(104*A|0)+36>>2]*b+(+p[u+(104*A|0)+28>>2]*v+ +p[u+(104*A|0)+32>>2]*C),a=v*+p[u+(104*A|0)+44>>2]+C*+p[u+(104*A|0)+48>>2]+b*+p[u+(104*A|0)+52>>2],b=v*+p[u+(104*A|0)+60>>2]+C*+p[u+(104*A|0)+64>>2]+b*+p[u+(104*A|0)+68>>2],p[r>>2]=c,p[r+4>>2]=a,p[r+8>>2]=b,p[r+12>>2]=0,d=+p[u+(104*A|0)+92>>2],p[m+8>>2]=h-c*d,p[m+12>>2]=y-a*d,p[m+16>>2]=g-b*d,0|l)&&Dn(l,r,u+(104*A|0)+76|0),A=A+1|0}while((0|A)!=(0|f));Q=r}},function(t,e,i){e=+e,i=+i;var n,o,r=0,s=0,c=0,a=0,b=0,d=0,l=0,A=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0;if(!((0|(o=0|_[832+(t|=0)>>2]))<=0)){n=0|_[t+840>>2],t=0;do{S=0|_[n+(56*t|0)>>2],l=0|_[n+(56*t|0)+4>>2],b=0|_[l+8>>2],d=0|_[l+12>>2],l=0|_[l+16>>2],C=+p[(s=n+(56*t|0)+8|0)>>2],g=+p[(c=n+(56*t|0)+12|0)>>2],y=+p[(a=n+(56*t|0)+16|0)>>2],e=+p[b+8>>2]*C+ +p[d+8>>2]*g+ +p[l+8>>2]*y,i=+p[b+12>>2]*C+ +p[d+12>>2]*g+ +p[l+12>>2]*y,r=+p[b+16>>2]*C+ +p[d+16>>2]*g+ +p[l+16>>2]*y,A=+p[S+8>>2],f=+p[S+12>>2],u=+p[S+16>>2],m=A-+p[S+24>>2]-(e-(C*+p[b+24>>2]+g*+p[d+24>>2]+y*+p[l+24>>2])),h=f-+p[S+28>>2]-(i-(C*+p[b+28>>2]+g*+p[d+28>>2]+y*+p[l+28>>2])),y=u-+p[S+32>>2]-(r-(C*+p[b+32>>2]+g*+p[d+32>>2]+y*+p[l+32>>2])),m*(g=+p[n+(56*t|0)+24>>2])+h*(C=+p[n+(56*t|0)+28>>2])+y*(v=+p[n+(56*t|0)+32>>2])<0?(e=g*(r=+p[n+(56*t|0)+40>>2]-(A*g+f*C+u*v-(e*g+i*C+r*v)))+0,i=C*r+0,r=v*r+0):(e=0,i=0,r=0),e-=(w=+p[n+(56*t|0)+44>>2])*(m-g*(m*g+h*C+y*v)),i-=w*(h-C*(m*g+h*C+y*v)),C=r-w*(y-v*(m*g+h*C+y*v)),v=+p[n+(56*t|0)+48>>2],p[S+8>>2]=A+v*e,p[S+12>>2]=f+v*i,p[S+16>>2]=u+v*C,v=+p[(S=n+(56*t|0)+52|0)>>2]*+p[s>>2],p[b+8>>2]=+p[b+8>>2]-e*v,p[b+12>>2]=+p[b+12>>2]-i*v,p[b+16>>2]=+p[b+16>>2]-C*v,v=+p[S>>2]*+p[c>>2],p[d+8>>2]=+p[d+8>>2]-e*v,p[d+12>>2]=+p[d+12>>2]-i*v,p[d+16>>2]=+p[d+16>>2]-C*v,v=+p[S>>2]*+p[a>>2],p[l+8>>2]=+p[l+8>>2]-e*v,p[l+12>>2]=+p[l+12>>2]-i*v,p[l+16>>2]=+p[l+16>>2]-C*v,t=t+1|0}while((0|t)!=(0|o))}},$a,$a],$b=[function(t,e,i,n,o,_){e=+e,i=+i,v(23)},function(t,e,i,n,o,r){t|=0,e=+e,i=+i,n|=0,o|=0,r|=0;var s,c,a,b,d,l=0,A=0,f=0,u=0,m=0;for(d=Q,Q=Q+400|0,p[d+376>>2]=0,p[d+372>>2]=0,p[d+368>>2]=0,R_(d+384|0,d+376|0,d+372|0,d+368|0),a=0|vb(d+384|0),p[a+(n<<2)>>2]=-i,p[d+344>>2]=0,p[d+340>>2]=0,p[d+336>>2]=0,R_(d+352|0,d+344|0,d+340|0,d+336|0),b=0|vb(d+352|0),p[b+(n<<2)>>2]=i,Yo(d+272|0,o),Zr(d+256|0,o,+p[d+384>>2],+p[d+384+4>>2],+p[d+384+8>>2]),l=0|Ya(d+272|0),_[l>>2]=_[d+256>>2],_[l+4>>2]=_[d+256+4>>2],_[l+8>>2]=_[d+256+8>>2],_[l+12>>2]=_[d+256+12>>2],_[d+240>>2]=_[d+256>>2],_[d+240+4>>2]=_[d+256+4>>2],_[d+240+8>>2]=_[d+256+8>>2],_[d+240+12>>2]=_[d+256+12>>2],Ko(d+224|0,l=0|vb(d+272|0),(n+1|0)%3|0),Ko(d+192|0,l,n),Xo(d+208|0,+p[d+192>>2],+p[d+192+4>>2],+p[d+192+8>>2]),bd[1&_[64+(0|_[t>>2])>>2]](t,d+240|0,d+224|0,d+208|0,e,-1.5707963705062866,1.5707963705062866,-1.5707963705062866,1.5707963705062866,r,30,0),Yo(d+128|0,o),Zr(d+112|0,o,+p[d+352>>2],+p[d+352+4>>2],+p[d+352+8>>2]),l=0|Ya(d+128|0),_[l>>2]=_[d+112>>2],_[l+4>>2]=_[d+112+4>>2],_[l+8>>2]=_[d+112+8>>2],_[l+12>>2]=_[d+112+12>>2],_[d+96>>2]=_[d+112>>2],_[d+96+4>>2]=_[d+112+4>>2],_[d+96+8>>2]=_[d+112+8>>2],_[d+96+12>>2]=_[d+112+12>>2],Ko(d+80|0,l=0|vb(d+128|0),(n+1|0)%3|0),Ko(d+64|0,l,n),bd[1&_[64+(0|_[t>>2])>>2]](t,d+96|0,d+80|0,d+64|0,e,-1.5707963705062866,1.5707963705062866,-1.5707963705062866,1.5707963705062866,r,30,0),l=0|Ya(o),i=+p[l>>2],s=+p[l+4>>2],c=+p[l+8>>2],l=0;!(l>>>0>=360);)m=+lb(u=.01745329238474369*+(0|l))*e,p[a+((n+1|0)%3<<2)>>2]=m,p[b+((n+1|0)%3<<2)>>2]=m,u=+Ab(u)*e,p[a+((n+2|0)%3<<2)>>2]=u,p[b+((n+2|0)%3<<2)>>2]=u,A=0|_[8+(0|_[t>>2])>>2],Fn(d+32|0,f=0|vb(o),+p[d+384>>2],+p[d+384+4>>2],+p[d+384+8>>2]),Bo(d+48|0,i,s,c,+p[d+32>>2],+p[d+32+4>>2],+p[d+32+8>>2]),Fn(d,f,+p[d+352>>2],+p[d+352+4>>2],+p[d+352+8>>2]),Bo(d+16|0,i,s,c,+p[d>>2],+p[d+4>>2],+p[d+8>>2]),cd[127&A](t,d+48|0,d+16|0,r),l=l+30|0;Q=d},function(t,e,i,n,o,r){t|=0,e=+e,i=+i,n|=0,r|=0;var s,c,a,b,d,l=0,A=0,f=0,u=0,m=0;for(d=Q,Q=Q+352|0,A=0|Ya(o|=0),s=+p[A>>2],c=+p[A+4>>2],a=+p[A+8>>2],p[d+328>>2]=0,p[d+324>>2]=0,p[d+320>>2]=0,R_(d+336|0,d+328|0,d+324|0,d+320|0),A=(0|vb(d+336|0))+(n<<2)|0,p[A>>2]=i,p[d+296>>2]=0,p[d+292>>2]=0,p[d+288>>2]=0,R_(d+304|0,d+296|0,d+292|0,d+288|0),A=0|vb(d+304|0),p[A+(n<<2)>>2]=-i,p[d+264>>2]=0,p[d+260>>2]=0,p[d+256>>2]=0,R_(d+272|0,d+264|0,d+260|0,d+256|0),b=0|vb(d+272|0),p[b+(n<<2)>>2]=i,l=0;!(l>>>0>=360);)m=+lb(i=.01745329238474369*+(0|l))*e,p[A+((n+1|0)%3<<2)>>2]=m,p[b+((n+1|0)%3<<2)>>2]=m,i=+Ab(i)*e,p[A+((n+2|0)%3<<2)>>2]=i,p[b+((n+2|0)%3<<2)>>2]=i,f=0|_[8+(0|_[t>>2])>>2],Fn(d+224|0,u=0|vb(o),+p[d+304>>2],+p[d+304+4>>2],+p[d+304+8>>2]),Bo(d+240|0,s,c,a,+p[d+224>>2],+p[d+224+4>>2],+p[d+224+8>>2]),Fn(d+192|0,u,+p[d+272>>2],+p[d+272+4>>2],+p[d+272+8>>2]),Bo(d+208|0,s,c,a,+p[d+192>>2],+p[d+192+4>>2],+p[d+192+8>>2]),cd[127&f](t,d+240|0,d+208|0,r),l=l+30|0;p[d+168>>2]=0,p[d+164>>2]=0,p[d+160>>2]=0,R_(d+176|0,d+168|0,d+164|0,d+160|0),u=(0|vb(d+176|0))+(n<<2)|0,p[u>>2]=1,p[d+136>>2]=0,p[d+132>>2]=0,p[d+128>>2]=0,R_(d+144|0,d+136|0,d+132|0,d+128|0),u=(0|vb(d+144|0))+((n+1|0)%3<<2)|0,p[u>>2]=1,u=0|_[60+(0|_[t>>2])>>2],Fn(d+96|0,f=0|vb(o),+p[d+336>>2],+p[d+336+4>>2],+p[d+336+8>>2]),Fo(d+112|0,s,c,a,+p[d+96>>2],+p[d+96+4>>2],+p[d+96+8>>2]),Fn(d+80|0,f,+p[d+176>>2],+p[d+176+4>>2],+p[d+176+8>>2]),Fn(d+64|0,f,+p[d+144>>2],+p[d+144+4>>2],+p[d+144+8>>2]),dd[1&u](t,d+112|0,d+80|0,d+64|0,e,e,0,6.2831854820251465,r,0,10),u=0|_[60+(0|_[t>>2])>>2],Fn(d+32|0,f,+p[d+336>>2],+p[d+336+4>>2],+p[d+336+8>>2]),Bo(d+48|0,s,c,a,+p[d+32>>2],+p[d+32+4>>2],+p[d+32+8>>2]),Fn(d+16|0,f,+p[d+176>>2],+p[d+176+4>>2],+p[d+176+8>>2]),Fn(d,f,+p[d+144>>2],+p[d+144+4>>2],+p[d+144+8>>2]),dd[1&u](t,d+48|0,d+16|0,d,e,e,0,6.2831854820251465,r,0,10),Q=d},function(t,e,i,n,o,r){t|=0,e=+e,i=+i,n|=0,r|=0;var s,c,a,b,d,l,A=0,f=0,u=0,m=0,h=0;for(l=Q,Q=Q+704|0,f=0|Ya(o|=0),a=+p[f>>2],b=+p[f+4>>2],d=+p[f+8>>2],p[l+680>>2]=0,p[l+676>>2]=0,p[l+672>>2]=0,R_(l+688|0,l+680|0,l+676|0,l+672|0),f=(0|vb(l+688|0))+(n<<2)|0,p[f>>2]=.5*i,p[l+648>>2]=0,p[l+644>>2]=0,p[l+640>>2]=0,R_(l+656|0,l+648|0,l+644|0,l+640|0),f=(0|vb(l+656|0))+((n+1|0)%3<<2)|0,p[f>>2]=e,p[l+616>>2]=0,p[l+612>>2]=0,p[l+608>>2]=0,R_(l+624|0,l+616|0,l+612|0,l+608|0),f=(0|vb(l+624|0))+((n+2|0)%3<<2)|0,p[f>>2]=e,p[l+584>>2]=0,p[l+580>>2]=0,p[l+576>>2]=0,R_(l+592|0,l+584|0,l+580|0,l+576|0),f=0|vb(l+592|0),p[f+(n<<2)>>2]=-.5*i,s=l+688+4|0,c=l+688+8|0,A=0;!(A>>>0>=360);)h=+lb(i=.01745329238474369*+(0|A))*e,p[f+((n+1|0)%3<<2)>>2]=h,i=+Ab(i)*e,p[f+((n+2|0)%3<<2)>>2]=i,u=0|_[8+(0|_[t>>2])>>2],Fn(l+544|0,m=0|vb(o),+p[l+688>>2],+p[s>>2],+p[c>>2]),Bo(l+560|0,a,b,d,+p[l+544>>2],+p[l+544+4>>2],+p[l+544+8>>2]),Fn(l+512|0,m,+p[l+592>>2],+p[l+592+4>>2],+p[l+592+8>>2]),Bo(l+528|0,a,b,d,+p[l+512>>2],+p[l+512+4>>2],+p[l+512+8>>2]),cd[127&u](t,l+560|0,l+528|0,r),A=A+30|0;m=0|_[8+(0|_[t>>2])>>2],Fn(l+480|0,u=0|vb(o),+p[l+688>>2],+p[s>>2],+p[c>>2]),Bo(l+496|0,a,b,d,+p[l+480>>2],+p[l+480+4>>2],+p[l+480+8>>2]),Xo(l+416|0,+p[l+688>>2],+p[s>>2],+p[c>>2]),Bo(l+432|0,+p[l+416>>2],+p[l+416+4>>2],+p[l+416+8>>2],+p[l+656>>2],+p[l+656+4>>2],+p[l+656+8>>2]),Fn(l+448|0,u,+p[l+432>>2],+p[l+432+4>>2],+p[l+432+8>>2]),Bo(l+464|0,a,b,d,+p[l+448>>2],+p[l+448+4>>2],+p[l+448+8>>2]),cd[127&m](t,l+496|0,l+464|0,r),m=0|_[8+(0|_[t>>2])>>2],Fn(l+384|0,u,+p[l+688>>2],+p[s>>2],+p[c>>2]),Bo(l+400|0,a,b,d,+p[l+384>>2],+p[l+384+4>>2],+p[l+384+8>>2]),Xo(l+320|0,+p[l+688>>2],+p[s>>2],+p[c>>2]),Fo(l+336|0,+p[l+320>>2],+p[l+320+4>>2],+p[l+320+8>>2],+p[l+656>>2],+p[l+656+4>>2],+p[l+656+8>>2]),Fn(l+352|0,u,+p[l+336>>2],+p[l+336+4>>2],+p[l+336+8>>2]),Bo(l+368|0,a,b,d,+p[l+352>>2],+p[l+352+4>>2],+p[l+352+8>>2]),cd[127&m](t,l+400|0,l+368|0,r),m=0|_[8+(0|_[t>>2])>>2],Fn(l+288|0,u,+p[l+688>>2],+p[s>>2],+p[c>>2]),Bo(l+304|0,a,b,d,+p[l+288>>2],+p[l+288+4>>2],+p[l+288+8>>2]),Xo(l+224|0,+p[l+688>>2],+p[s>>2],+p[c>>2]),Bo(l+240|0,+p[l+224>>2],+p[l+224+4>>2],+p[l+224+8>>2],+p[l+624>>2],+p[l+624+4>>2],+p[l+624+8>>2]),Fn(l+256|0,u,+p[l+240>>2],+p[l+240+4>>2],+p[l+240+8>>2]),Bo(l+272|0,a,b,d,+p[l+256>>2],+p[l+256+4>>2],+p[l+256+8>>2]),cd[127&m](t,l+304|0,l+272|0,r),m=0|_[8+(0|_[t>>2])>>2],Fn(l+192|0,u,+p[l+688>>2],+p[s>>2],+p[c>>2]),Bo(l+208|0,a,b,d,+p[l+192>>2],+p[l+192+4>>2],+p[l+192+8>>2]),Xo(l+128|0,+p[l+688>>2],+p[s>>2],+p[c>>2]),Fo(l+144|0,+p[l+128>>2],+p[l+128+4>>2],+p[l+128+8>>2],+p[l+624>>2],+p[l+624+4>>2],+p[l+624+8>>2]),Fn(l+160|0,u,+p[l+144>>2],+p[l+144+4>>2],+p[l+144+8>>2]),Bo(l+176|0,a,b,d,+p[l+160>>2],+p[l+160+4>>2],+p[l+160+8>>2]),cd[127&m](t,l+208|0,l+176|0,r),p[l+104>>2]=0,p[l+100>>2]=0,p[l+96>>2]=0,R_(l+112|0,l+104|0,l+100|0,l+96|0),m=(0|vb(l+112|0))+(n<<2)|0,p[m>>2]=1,p[l+72>>2]=0,p[l+68>>2]=0,p[l+64>>2]=0,R_(l+80|0,l+72|0,l+68|0,l+64|0),m=(0|vb(l+80|0))+((n+1|0)%3<<2)|0,p[m>>2]=1,m=0|_[60+(0|_[t>>2])>>2],Fn(l+32|0,u,+p[l+688>>2],+p[s>>2],+p[c>>2]),Fo(l+48|0,a,b,d,+p[l+32>>2],+p[l+32+4>>2],+p[l+32+8>>2]),Fn(l+16|0,u,+p[l+112>>2],+p[l+112+4>>2],+p[l+112+8>>2]),Fn(l,u,+p[l+80>>2],+p[l+80+4>>2],+p[l+80+8>>2]),dd[1&m](t,l+48|0,l+16|0,l,e,e,0,6.2831854820251465,r,0,10),Q=l}],td=[za,function(t,e,i){e=+e,i|=0;var o=0,r=0,s=0,c=0,a=0,b=0;if(0|(o=0|_[8+(t|=0)>>2])&&!(3&_[o+204>>2])&&(4!=(-2&_[o+216>>2])&&(_[o+216>>2]=1),p[o+220>>2]=0),0|(o=0|_[t+12>>2])&&!(3&_[o+204>>2])&&(4!=(-2&_[o+216>>2])&&(_[o+216>>2]=1),p[o+220>>2]=0),0|(o=0|_[t+20>>2])&&!(3&_[o+204>>2])&&(4!=(-2&_[o+216>>2])&&(_[o+216>>2]=1),p[o+220>>2]=0),0|(o=0|_[t+24>>2])&&!(3&_[o+204>>2])&&(4!=(-2&_[o+216>>2])&&(_[o+216>>2]=1),p[o+220>>2]=0),o=0|_[t+156>>2],_[t+156>>2]=o+1,n[t+152|0]=(0|o)>=(0|_[t+160>>2])&1,0|o)return _[t+72>>2]=0,_[t+72+4>>2]=0,_[t+72+8>>2]=0,_[t+72+12>>2]=0,_[t+72+16>>2]=0,_[t+72+20>>2]=0,_[t+72+24>>2]=0,void(_[t+72+28>>2]=0);c=+p[t+64>>2],s=1/e*(+p[t+72>>2]*c),r=1/e*(c*+p[t+76>>2]),e=1/e*(c*+p[t+80>>2]),p[t+72>>2]=s,p[t+76>>2]=r,p[t+80>>2]=e,p[t+84>>2]=0,(c=+p[t+68>>2])>0&&(b=c*s*+p[t+120>>2]+c*r*+p[t+124>>2]+c*e*+p[t+128>>2],a=c*s*+p[t+136>>2]+c*r*+p[t+140>>2]+c*e*+p[t+144>>2],p[t+88>>2]=c*s*+p[t+104>>2]+c*r*+p[t+108>>2]+c*e*+p[t+112>>2],p[t+92>>2]=b,p[t+96>>2]=a,p[t+100>>2]=0,p[t+72>>2]=(1-c)*s,p[t+76>>2]=(1-c)*r,p[t+80>>2]=(1-c)*e,s*=1-c,r*=1-c,e*=1-c),p[t+72>>2]=1/+(0|i)*s,p[t+76>>2]=1/+(0|i)*r,p[t+80>>2]=1/+(0|i)*e},cp,cp,ir,function(t,e,i){var n,o,r,s,c;t|=0,e=+e,i|=0,n=Q,Q=Q+96|0,_[n+32>>2]=1065353216,_[n+32+4>>2]=0,_[n+32+4+4>>2]=0,_[n+32+4+8>>2]=0,_[n+32+4+12>>2]=0,_[n+32+20>>2]=1065353216,_[n+32+24>>2]=0,_[n+32+24+4>>2]=0,_[n+32+24+8>>2]=0,_[n+32+24+12>>2]=0,_[n+32+40>>2]=1065353216,_[(c=n+32+44|0)>>2]=0,_[c+4>>2]=0,_[c+8>>2]=0,_[c+12>>2]=0,_[c+16>>2]=0,cd[127&_[8+(0|_[t>>2])>>2]](t,n+32|0,n+16|0,n),r=.5*(+p[n>>2]-+p[n+16>>2])*2,o=.5*(+p[n+4>>2]-+p[n+16+4>>2])*2,s=.5*(+p[n+8>>2]-+p[n+16+8>>2])*2,p[i>>2]=e/12*(o*o+s*s),p[i+4>>2]=e/12*(r*r+s*s),p[i+8>>2]=e/12*(r*r+o*o),Q=n},function(t,e,i){var n,o,r,s,c,a;t|=0,e=+e,i|=0,n=Q,Q=Q+96|0,_[n+32>>2]=1065353216,_[n+32+4>>2]=0,_[n+32+4+4>>2]=0,_[n+32+4+8>>2]=0,_[n+32+4+12>>2]=0,_[n+32+20>>2]=1065353216,_[n+32+24>>2]=0,_[n+32+24+4>>2]=0,_[n+32+24+8>>2]=0,_[n+32+24+12>>2]=0,_[n+32+40>>2]=1065353216,_[(a=n+32+44|0)>>2]=0,_[a+4>>2]=0,_[a+8>>2]=0,_[a+12>>2]=0,_[a+16>>2]=0,cd[127&_[8+(0|_[t>>2])>>2]](t,n+32|0,n+16|0,n),s=.5*(+p[n>>2]-+p[n+16>>2]),r=.5*(+p[n+4>>2]-+p[n+16+4>>2]),c=.5*(+p[n+8>>2]-+p[n+16+8>>2]),o=+Bb[15&_[48+(0|_[t>>2])>>2]](t),p[i>>2]=.0833333283662796*e*(2*(r+o)*(2*(r+o))+2*(c+o)*(2*(c+o))),p[i+4>>2]=.0833333283662796*e*(2*(s+o)*(2*(s+o))+2*(c+o)*(2*(c+o))),p[i+8>>2]=.0833333283662796*e*(2*(s+o)*(2*(s+o))+2*(r+o)*(2*(r+o))),p[i+12>>2]=0,Q=n},function(t,e,i){i|=0,e=.4000000059604645*(e=+e)*+Bb[15&_[48+(0|_[(t|=0)>>2])>>2]](t),e*=+Bb[15&_[48+(0|_[t>>2])>>2]](t),p[i>>2]=e,p[i+4>>2]=e,p[i+8>>2]=e,p[i+12>>2]=0},ir,ir,function(t,e,i){e=+e,i|=0;var n,o,r,s,c=0;n=Q,Q=Q+96|0,c=+Bb[15&_[48+(0|_[(t|=0)>>2])>>2]](t),_[n+32>>2]=1065353216,_[n+32+4>>2]=0,_[n+32+4+4>>2]=0,_[n+32+4+8>>2]=0,_[n+32+4+12>>2]=0,_[n+32+20>>2]=1065353216,_[n+32+24>>2]=0,_[n+32+24+4>>2]=0,_[n+32+24+8>>2]=0,_[n+32+24+12>>2]=0,_[n+32+40>>2]=1065353216,_[(s=n+32+44|0)>>2]=0,_[s+4>>2]=0,_[s+8>>2]=0,_[s+12>>2]=0,_[s+16>>2]=0,cd[127&_[8+(0|_[t>>2])>>2]](t,n+32|0,n+16|0,n),r=2*(c+.5*(+p[n>>2]-+p[n+16>>2])),o=2*(c+.5*(+p[n+4>>2]-+p[n+16+4>>2])),c=2*(c+.5*(+p[n+8>>2]-+p[n+16+8>>2])),p[i>>2]=.0833333283662796*e*(o*o+c*c),p[i+4>>2]=.0833333283662796*e*(r*r+c*c),p[i+8>>2]=.0833333283662796*e*(r*r+o*o),p[i+12>>2]=0,Q=n},function(t,e,i){var n,o,r,s,c,a;e=+e,i|=0,n=Q,Q=Q+16|0,c=0|_[52+(t|=0)>>2],a=0|_[t+28+((c+2|0)%3<<2)>>2],_[n>>2]=a,_[n+4>>2]=a,_[n+8>>2]=a,p[n+12>>2]=0,p[n+(c<<2)>>2]=+p[t+28+(c<<2)>>2]+ +p[n+(c<<2)>>2],r=2*(+p[n>>2]+.03999999910593033),o=2*(+p[n+4>>2]+.03999999910593033),s=2*(+p[n+8>>2]+.03999999910593033),p[i>>2]=.0833333283662796*e*(o*o+s*s),p[i+4>>2]=.0833333283662796*e*(r*r+s*s),p[i+8>>2]=.0833333283662796*e*(r*r+o*o),Q=n},function(t,e,i){e=+e,i|=0;var n,o,r,s,c=0;s=+p[28+(t|=0)>>2],o=+p[t+32>>2],c=+p[t+36>>2],r=+Bb[15&_[48+(0|_[t>>2])>>2]](t),n=+Bb[15&_[48+(0|_[t>>2])>>2]](t),c=2*(c+ +Bb[15&_[48+(0|_[t>>2])>>2]](t)),p[i>>2]=e/12*(2*(o+n)*(2*(o+n))+c*c),p[i+4>>2]=e/12*(2*(s+r)*(2*(s+r))+c*c),p[i+8>>2]=e/12*(2*(s+r)*(2*(s+r))+2*(o+n)*(2*(o+n))),p[i+12>>2]=0},ir,function(t,e,i){e=+e,i|=0;var n,o,r,s=0,c=0,a=0,b=0;switch(s=+p[28+(t|=0)>>2],n=+p[t+32>>2],b=+p[t+36>>2],r=+Bb[15&_[48+(0|_[t>>2])>>2]](t),o=+Bb[15&_[48+(0|_[t>>2])>>2]](t),b=+Bb[15&_[48+(0|_[t>>2])>>2]](t)+b,0|_[t+52>>2]){case 0:c=a=.25*e*((o+n)*(o+n))+e/12*((r+s)*(4*(r+s))),s=.5*e*((o+n)*(o+n));break;case 2:c=.5*e*((r+s)*(r+s)),a=.25*e*((r+s)*(r+s))+e/12*(b*(4*b)),s=.25*e*((r+s)*(r+s))+e/12*(b*(4*b));break;default:c=b=.25*e*((r+s)*(r+s))+e/12*((o+n)*(4*(o+n))),a=.5*e*((r+s)*(r+s)),s=b}p[i>>2]=s,p[i+4>>2]=a,p[i+8>>2]=c,p[i+12>>2]=0},za],ed=[function(t,e,i,n){e=+e,v(25)},function(t,e,i,n){var o,r;t|=0,e=+e,n|=0,o=Q,Q=Q+64|0,r=0|Ya(i|=0),_[o+48>>2]=_[r>>2],_[o+48+4>>2]=_[r+4>>2],_[o+48+8>>2]=_[r+8>>2],_[o+48+12>>2]=_[r+12>>2],Ko(o+32|0,i=0|vb(i),1),Ko(o+16|0,i,0),bd[1&_[64+(0|_[t>>2])>>2]](t,o+48|0,o+32|0,o+16|0,e,-1.5707963705062866,1.5707963705062866,-1.5707963705062866,1.5707963705062866,n,30,0),i=0|_[64+(0|_[t>>2])>>2],Xo(o,+p[o+16>>2],+p[o+16+4>>2],+p[o+16+8>>2]),bd[1&i](t,o+48|0,o+32|0,o,e,-1.5707963705062866,1.5707963705062866,-1.5707963705062866,1.5707963705062866,n,30,0),Q=o}],id=[fb,function(t,e){F(2,0|(t|=0),0|(e|=0))},function(t,e){F(4,0|(t|=0),0|(e|=0))},function(t,e){var i;e|=0,i=Q,Q=Q+128|0,_o(i,68+(t|=0)|0),So(i+64|0,i,t+4|0),Yo(e,i+64|0),Q=i},function(t,e){var i;i=Q,Q=Q+64|0,So(i,e|=0,68+(t|=0)|0),Yo(t+4|0,i),Q=i},_a,fp,bp,_a,function(t,e){e|=0;var i,n=0;n=0|Lb[127&_[16+(0|_[(t|=0)>>2])>>2]](t),n=0|Hb[63&_[16+(0|_[e>>2])>>2]](e,n,1),i=0|Hb[63&_[20+(0|_[t>>2])>>2]](t,0|_[n+8>>2],e),ld[31&_[20+(0|_[e>>2])>>2]](e,n,i,1245859651,t)},function(t,e){t|=0;var i,n,o,r=0,s=0;if(e=0|_[36+(e|=0)>>2],s=0|_[e+8>>2],r=0|_[e+12>>2],o=0|_[e+16>>2],n=+p[t+52>>2],!((i=+zt(t+4|0,+p[t+36>>2],+p[t+40>>2],+p[t+44>>2],+p[s+8>>2],+p[s+12>>2],+p[s+16>>2],+p[r+8>>2],+p[r+12>>2],+p[r+16>>2],+p[o+8>>2],+p[o+12>>2],+p[o+16>>2],n))>0&i<n))return r=1+(r=0|_[(s=t+60|0)>>2])|0,void(_[s>>2]=r);p[t+52>>2]=i,_[t+56>>2]=e,r=1+(r=0|_[(s=t+60|0)>>2])|0,_[s>>2]=r},_a,function(t,e){_[(t|=0)>>2]=1065353216,_[t+4>>2]=1065353216,_[t+8>>2]=1065353216,p[t+12>>2]=0},function(t,e){e|=0;var i,n=0;n=0|Lb[127&_[52+(0|_[(t|=0)>>2])>>2]](t),n=0|Hb[63&_[16+(0|_[e>>2])>>2]](e,n,1),i=0|Hb[63&_[56+(0|_[t>>2])>>2]](t,0|_[n+8>>2],e),ld[31&_[20+(0|_[e>>2])>>2]](e,n,i,1346455635,t)},function(t,e){t|=0;var i,o,r,s,c=0,a=0,b=0,d=0,A=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0,O=0,x=0,T=0,P=0,V=0,M=0,G=0,L=0,N=0,E=0;if(s=Q,Q=Q+192|0,N=0|_[36+(e|=0)>>2],h=+p[(+p[N+88>>2]>0?t+16:t+20)>>2],1&n[N+100|0])Q=s;else{M=0|_[t+8>>2],w=0|_[M+4>>2],G=0|_[M+12>>2],r=0|_[684+(0|_[t+4>>2])>>2],F=+p[N+8>>2]-+p[G+48>>2],C=+p[N+12>>2]-+p[G+52>>2],O=+p[N+16>>2]-+p[G+56>>2],I=1/+p[r+76>>2],v=3*((D=(F*+p[G>>2]+C*+p[G+16>>2]+O*+p[G+32>>2])*I/3)+ +(0|(P=D<0?~~(1-D):0))-+(D+ +(0|P)|0))-+(0|(V=~~(3*(D+ +(0|P)-+(D+ +(0|P)|0))))),P=~~(D+ +(0|P))-P|0,m=3*((D=I*(F*+p[G+4>>2]+C*+p[G+20>>2]+O*+p[G+36>>2])/3)+ +(0|(x=D<0?~~(1-D):0))-+(D+ +(0|x)|0))-+(0|(i=~~(3*(D+ +(0|x)-+(D+ +(0|x)|0))))),x=~~(D+ +(0|x))-x|0,C=3*((O=I*(F*+p[G+8>>2]+C*+p[G+24>>2]+O*+p[G+40>>2])/3)+ +(0|(T=O<0?~~(1-O):0))-+(O+ +(0|T)|0))-+(0|(o=~~(3*(O+ +(0|T)-+(O+ +(0|T)|0))))),y=(((y=(((y=(((y=((y=(y=(y=(y=(y=(y=(y=P>>>16<<11^16+(65535&P)^16+(65535&P)<<16)+(65535&x)+(y>>>11)|0)^x>>>16<<11^y<<16)+(65535&(T=~~(O+ +(0|T))-T|0))+(y>>>11)|0)^T>>>16<<11^y<<16)+(65535&w)+(y>>>11)|0)^w>>>16<<11^y<<16)>>>11)+y|0)<<3^y)>>>5)+(y<<3^y)|0)<<4^y)>>>17)+(y<<4^y)|0)<<25^y)>>>6)+(y<<25^y)|0,g=0|_[r+60>>2],S=0|_[r+68>>2],e=0|_[S+((y>>>0)%(g>>>0)<<2)>>2],_[r+96>>2]=1+(0|_[r+96>>2]),c=1+(0|_[r+92>>2])|0,_[r+92>>2]=c;t:do{if(e)for(;;){if((0|_[e+272>>2])==(0|y)&&(0|_[e+256>>2])==(0|P)&&(0|_[e+260>>2])==(0|x)&&(0|_[e+264>>2])==(0|T)&&(0|_[e+276>>2])==(0|w))break t;if(e=0|_[e+280>>2],c=c+1|0,_[r+92>>2]=c,!e){u=10;break}}else u=10}while(0);t:do{if(10==(0|u)){if(W=0|_[r+84>>2],_[r+84>>2]=W+1,(0|W)>=(0|_[r+88>>2])){_[6280]=1+(0|_[6280]);e:do{if((0|g)>0)for(e=0,c=S;;){if(c=0|_[(W=c+(e<<2)|0)>>2],_[W>>2]=0,0|c)do{W=c,c=0|_[c+280>>2],gb(W)}while(0|c);if((0|(e=e+1|0))==(0|g))break e;c=0|_[r+68>>2]}}while(0);p[r+76>>2]=.25,_[r+80>>2]=0,_[r+84>>2]=0,_[r+92>>2]=1,_[r+96>>2]=1}for(wn(0|(e=0|a_(284)),0,284),_[e+280>>2]=_[S+((y>>>0)%(g>>>0)<<2)>>2],_[S+((y>>>0)%(g>>>0)<<2)>>2]=e,_[e+276>>2]=w,_[e+272>>2]=y,_[e+256>>2]=P,_[e+260>>2]=x,_[e+264>>2]=T,w=s+120+4|0,B=s+120+24|0,W=s+120+44|0,c=0,a=A=+p[r+76>>2];;){for(d=A*(3*+(0|T))+a*+(0|c),u=0;b=A*(3*+(0|x))+a*+(0|u),p[s+48>>2]=3*+(0|P)*A+0*a,p[s+48+4>>2]=b,p[s+48+8>>2]=d,p[s+48+12>>2]=0,y=0|_[e+276>>2],_[s+120>>2]=1065353216,_[w>>2]=0,_[w+4>>2]=0,_[w+8>>2]=0,_[w+12>>2]=0,_[s+120+20>>2]=1065353216,_[B>>2]=0,_[B+4>>2]=0,_[B+8>>2]=0,_[B+12>>2]=0,_[s+120+40>>2]=1065353216,_[W>>2]=0,_[W+4>>2]=0,_[W+8>>2]=0,_[W+12>>2]=0,_[W+16>>2]=0,(0|(S=0|_[y+4>>2]))<20?(a=+Wi(s+48|0,y,s+120|0,s+64|0),g=4+(y=0|_[e+276>>2])|0,S=0|_[y+4>>2]):(a=0,g=y+4|0),p[e+(u<<4)+(c<<2)>>2]=a,p[s+48>>2]=3*+(0|P)*A+ +p[r+76>>2],p[s+48+4>>2]=b,p[s+48+8>>2]=d,p[s+48+12>>2]=0,_[s+120>>2]=1065353216,_[w>>2]=0,_[w+4>>2]=0,_[w+8>>2]=0,_[w+12>>2]=0,_[s+120+20>>2]=1065353216,_[B>>2]=0,_[B+4>>2]=0,_[B+8>>2]=0,_[B+12>>2]=0,_[s+120+40>>2]=1065353216,_[W>>2]=0,_[W+4>>2]=0,_[W+8>>2]=0,_[W+12>>2]=0,_[W+16>>2]=0,(0|S)<20?(a=+Wi(s+48|0,y,s+120|0,s+64|0),g=4+(y=0|_[e+276>>2])|0):a=0,p[e+64+(u<<4)+(c<<2)>>2]=a,p[s+48>>2]=3*+(0|P)*A+2*+p[r+76>>2],p[s+48+4>>2]=b,p[s+48+8>>2]=d,p[s+48+12>>2]=0,_[s+120>>2]=1065353216,_[w>>2]=0,_[w+4>>2]=0,_[w+8>>2]=0,_[w+12>>2]=0,_[s+120+20>>2]=1065353216,_[B>>2]=0,_[B+4>>2]=0,_[B+8>>2]=0,_[B+12>>2]=0,_[s+120+40>>2]=1065353216,_[W>>2]=0,_[W+4>>2]=0,_[W+8>>2]=0,_[W+12>>2]=0,_[W+16>>2]=0,(0|_[g>>2])<20?(a=+Wi(s+48|0,y,s+120|0,s+64|0),g=4+(y=0|_[e+276>>2])|0):a=0,p[e+128+(u<<4)+(c<<2)>>2]=a,p[s+48>>2]=3*+(0|P)*A+3*+p[r+76>>2],p[s+48+4>>2]=b,p[s+48+8>>2]=d,p[s+48+12>>2]=0,_[s+120>>2]=1065353216,_[w>>2]=0,_[w+4>>2]=0,_[w+8>>2]=0,_[w+12>>2]=0,_[s+120+20>>2]=1065353216,_[B>>2]=0,_[B+4>>2]=0,_[B+8>>2]=0,_[B+12>>2]=0,_[s+120+40>>2]=1065353216,_[W>>2]=0,_[W+4>>2]=0,_[W+8>>2]=0,_[W+12>>2]=0,_[W+16>>2]=0,a=(0|_[g>>2])<20?+Wi(s+48|0,y,s+120|0,s+64|0):0,p[e+192+(u<<4)+(c<<2)>>2]=a,4!=(0|(u=u+1|0));)a=+p[r+76>>2];if(4==(0|(c=c+1|0)))break t;a=+p[r+76>>2]}}}while(0);if(_[e+268>>2]=_[r+80>>2],a=+p[e+(V<<6)+(i<<4)+(o<<2)>>2],j=+p[e+(V+1<<6)+(i<<4)+(o<<2)>>2],k=+p[e+(V+1<<6)+(i+1<<4)+(o<<2)>>2],R=+p[e+(V<<6)+(i+1<<4)+(o<<2)>>2],O=+p[e+(V<<6)+(i<<4)+(o+1<<2)>>2],F=+p[e+(V+1<<6)+(i<<4)+(o+1<<2)>>2],D=+p[e+(V+1<<6)+(i+1<<4)+(o+1<<2)>>2],I=+p[e+(V<<6)+(i+1<<4)+(o+1<<2)>>2],f=1/+l(+((A=O-a+v*(F-j-(O-a))+m*(I-R+v*(D-k-(I-R))-(O-a+v*(F-j-(O-a)))))*A+((b=j-a+m*(k-R-(j-a))+C*(F-O+m*(D-I-(F-O))-(j-a+m*(k-R-(j-a)))))*b+(d=R-a+v*(k-j-(R-a))+C*(I-O+v*(D-F-(I-O))-(R-a+v*(k-j-(R-a)))))*d))),(a=(a=a+v*(j-a)+m*(R+v*(k-R)-(a+v*(j-a))))+C*(O+v*(F-O)+m*(I+v*(D-I)-(O+v*(F-O)))-a)-h)<0)if(S=0|_[M+8>>2],F=+p[G>>2]*(b*f)+ +p[G+4>>2]*(d*f)+ +p[G+8>>2]*(A*f),O=b*f*+p[G+16>>2]+d*f*+p[G+20>>2]+A*f*+p[G+24>>2],I=b*f*+p[G+32>>2]+d*f*+p[G+36>>2]+A*f*+p[G+40>>2],D=-(F*(+p[N+8>>2]-a*F)+O*(+p[N+12>>2]-a*O)+I*(+p[N+16>>2]-a*I)),(v=+p[N+88>>2])+(C=(e=0|_[t+12>>2])?+p[e+344>>2]:0)>0){if(u=e?e+4|0:4+(0|_[8+(0|_[t+8>>2])>>2])|0,!(0|n[24480])&&0|Qs(24480)){c=48+(e=25124)|0;do{_[e>>2]=0,e=e+4|0}while((0|e)<(0|c))}if(c=0|_[t+12>>2],R=(f=+p[N+8>>2])-+p[u+48>>2],j=(m=+p[N+12>>2])-+p[u+52>>2],k=(h=+p[N+16>>2])-+p[u+56>>2],c?(d=+p[c+332>>2],b=+p[c+336>>2],E=+p[c+328>>2],e=0|_[t+4>>2],A=+p[e+452>>2],a=(k*d-j*b+ +p[c+312>>2])*A,b=(+p[c+316>>2]+(R*b-k*E))*A,d=(j*E-R*d+ +p[c+320>>2])*A):(a=0,b=0,d=0,e=G=0|_[t+4>>2],A=+p[G+452>>2]),f=f-+p[N+24>>2]-a,m=m-+p[N+28>>2]-b,E=h-+p[N+32>>2]-d,b=+p[e+316>>2]*+p[224+(0|_[8+(0|_[t+8>>2])>>2])>>2],nt(s+120|0,A,v,C,0|c?c+264|0:25124,R,j,k),_[s+32>>2]=_[s+120>>2],_[s+32+4>>2]=_[s+120+4>>2],_[s+32+8>>2]=_[s+120+8>>2],_[s+32+12>>2]=_[s+120+12>>2],_[s+16>>2]=_[s+120+16>>2],_[s+16+4>>2]=_[s+120+16+4>>2],_[s+16+8>>2]=_[s+120+16+8>>2],_[s+16+12>>2]=_[s+120+16+12>>2],_[s>>2]=_[s+120+32>>2],_[s+4>>2]=_[s+120+32+4>>2],_[s+8>>2]=_[s+120+32+8>>2],_[s+12>>2]=_[s+120+32+12>>2],g=0|_[t+4>>2],a=v*+p[g+452>>2],b=(E-I*(f*F+m*O+E*I))*(E-I*(f*F+m*O+E*I))+((f-F*(f*F+m*O+E*I))*(f-F*(f*F+m*O+E*I))+(m-O*(f*F+m*O+E*I))*(m-O*(f*F+m*O+E*I)))<b*((f*F+m*O+E*I)*b*(f*F+m*O+E*I))?0:1-b,y=0|_[(3&_[204+(0|_[8+(0|_[t+8>>2])>>2])>>2]?g+328:g+324)>>2],(0|(e=0|_[g+812>>2]))==(0|_[g+816>>2])&&(0|e)<(0|(L=0|e?e<<1:1))){if(L?(_[6630]=1+(0|_[6630]),(e=0|di(16+(104*L|3)|0))?(_[(e+4+15&-16)-4>>2]=e,e=e+4+15&-16):e=0,u=e,e=0|_[g+812>>2]):u=0,(0|e)>0){c=0;do{G=u+(104*c|0)|0,V=(M=0|_[g+820>>2])+(104*c|0)|0,_[G>>2]=_[V>>2],_[G+4>>2]=_[V+4>>2],_[G+8>>2]=_[V+8>>2],_[G+12>>2]=_[V+12>>2],_[G+16>>2]=_[V+16>>2],_[G+20>>2]=_[V+20>>2],_[G+24>>2]=_[V+24>>2],V=M+(104*c|0)+28|0,_[(G=u+(104*c|0)+28|0)>>2]=_[V>>2],_[G+4>>2]=_[V+4>>2],_[G+8>>2]=_[V+8>>2],_[G+12>>2]=_[V+12>>2],G=M+(104*c|0)+44|0,_[(V=u+(104*c|0)+44|0)>>2]=_[G>>2],_[V+4>>2]=_[G+4>>2],_[V+8>>2]=_[G+8>>2],_[V+12>>2]=_[G+12>>2],V=M+(104*c|0)+60|0,_[(G=u+(104*c|0)+60|0)>>2]=_[V>>2],_[G+4>>2]=_[V+4>>2],_[G+8>>2]=_[V+8>>2],_[G+12>>2]=_[V+12>>2],M=M+(104*c|0)+76|0,_[(G=u+(104*c|0)+76|0)>>2]=_[M>>2],_[G+4>>2]=_[M+4>>2],_[G+8>>2]=_[M+8>>2],_[G+12>>2]=_[M+12>>2],_[G+16>>2]=_[M+16>>2],_[G+20>>2]=_[M+20>>2],_[G+24>>2]=_[M+24>>2],c=c+1|0}while((0|c)!=(0|e))}0|(e=0|_[g+820>>2])&&(0|n[g+824|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[g+820>>2]=0),n[g+824|0]=1,_[g+820>>2]=u,_[g+816>>2]=L,e=0|_[g+812>>2]}L=0|_[g+820>>2],_[L+(104*e|0)>>2]=S,p[L+(104*e|0)+4>>2]=F,p[L+(104*e|0)+8>>2]=O,p[L+(104*e|0)+12>>2]=I,p[L+(104*e|0)+16>>2]=0,p[L+(104*e|0)+20>>2]=D,_[L+(104*e|0)+24>>2]=N,_[(N=L+(104*e|0)+28|0)>>2]=_[s+32>>2],_[N+4>>2]=_[s+32+4>>2],_[N+8>>2]=_[s+32+8>>2],_[N+12>>2]=_[s+32+12>>2],_[(N=L+(104*e|0)+44|0)>>2]=_[s+16>>2],_[N+4>>2]=_[s+16+4>>2],_[N+8>>2]=_[s+16+8>>2],_[N+12>>2]=_[s+16+12>>2],_[(N=L+(104*e|0)+60|0)>>2]=_[s>>2],_[N+4>>2]=_[s+4>>2],_[N+8>>2]=_[s+8>>2],_[N+12>>2]=_[s+12>>2],p[(N=L+(104*e|0)+76|0)>>2]=R,p[L+(104*e|0)+80>>2]=j,p[L+(104*e|0)+84>>2]=k,p[L+(104*e|0)+88>>2]=0,p[N+16>>2]=a,p[N+20>>2]=b,_[N+24>>2]=y,_[g+812>>2]=1+(0|_[g+812>>2]),(e=0|_[t+12>>2])?(3&_[e+204>>2]||(4!=(-2&_[e+216>>2])&&(_[e+216>>2]=1),p[e+220>>2]=0),Q=s):Q=s}else Q=s;else Q=s}},function(t,e){t|=0;var i,o=0,r=0,s=0,c=0,a=0,b=0;if(i=Q,Q=Q+336|0,r=0|_[36+(e|=0)>>2],_[i+272+4>>2]=35,_[i+272+8>>2]=0,_[i+272+12>>2]=1065353216,_[i+272+16>>2]=1065353216,_[i+272+20>>2]=1065353216,p[i+272+24>>2]=0,_[i+272>>2]=4284,_[i+272+52>>2]=r,p[i+272+44>>2]=0,a=0|_[t+28>>2],e=0|_[a+4>>2],3&_[204+(0|_[a+8>>2])>>2]&&0|n[r+376|0])Q=i;else{if(!(0|n[24408])&&0|Qs(24408)&&(!(0|n[24416])&&0|Qs(24416)&&(_[6222]=1065353216,_[6223]=0,_[6224]=0,_[6225]=0,_[6226]=0,_[6227]=1065353216,_[6228]=0,_[6229]=0,_[6230]=0,_[6231]=0,_[6232]=1065353216,p[6233]=0),_[6206]=_[6222],_[6207]=_[6223],_[6208]=_[6224],_[6209]=_[6225],_[6210]=_[6226],_[6211]=_[6227],_[6212]=_[6228],_[6213]=_[6229],_[6214]=_[6230],_[6215]=_[6231],_[6216]=_[6232],_[6217]=_[6233],_[6218]=0,_[6219]=0,_[6220]=0,_[6221]=0),o=0|_[12+(0|_[t+28>>2])>>2],_[i>>2]=1065353216,_[i+4>>2]=0,_[i+8>>2]=0,p[i+12>>2]=0,(0|Se(i+272|0,24824,e,o,i,i+216|0)||0|gi(i+272|0,24824,e,o,i,i+216|0,0))&&(s=12),12==(0|s)&&(_[i+4>>2]=0,_[i+4+4>>2]=0,_[i+4+8>>2]=0,_[i+4+12>>2]=0,_[i+4+16>>2]=0,_[i+4+20>>2]=0,n[i+152|0]=0,_[i>>2]=4104,a=0|_[8+(0|_[t+28>>2])>>2],0|Ii(t,i+216|0,r,0,0,0,2&_[a+236>>2]?a:0,a,i))){_[6630]=1+(0|_[6630]),(e=0|di(235))?(_[(e+4+15&-16)-4>>2]=e,a=e+4+15&-16):a=0,e=a+152|0,wn(0|(o=a+4|0),0,212),_[a>>2]=4104,r=i+4|0,s=o+100|0;do{_[o>>2]=_[r>>2],o=o+4|0,r=r+4|0}while((0|o)<(0|s));_[(o=a+104|0)>>2]=_[i+104>>2],_[o+4>>2]=_[i+104+4>>2],_[o+8>>2]=_[i+104+8>>2],_[o+12>>2]=_[i+104+12>>2],_[(o=a+120|0)>>2]=_[i+120>>2],_[o+4>>2]=_[i+120+4>>2],_[o+8>>2]=_[i+120+8>>2],_[o+12>>2]=_[i+120+12>>2],_[(o=a+136|0)>>2]=_[i+136>>2],_[o+4>>2]=_[i+136+4>>2],_[o+8>>2]=_[i+136+8>>2],_[o+12>>2]=_[i+136+12>>2],n[0|e]=0|n[i+152|0],r=i+156|0,s=60+(o=a+156|0)|0;do{_[o>>2]=_[r>>2],o=o+4|0,r=r+4|0}while((0|o)<(0|s));if(s=0|_[t+24>>2],c=a,(0|(e=0|_[s+852>>2]))==(0|_[s+856>>2])&&(0|e)<(0|(b=0|e?e<<1:1))){if(b?(_[6630]=1+(0|_[6630]),(e=0|di(16+(b<<2|3)|0))?(_[(e+4+15&-16)-4>>2]=e,e=e+4+15&-16):e=0,r=e,e=0|_[s+852>>2]):r=0,(0|e)>0){o=0;do{_[r+(o<<2)>>2]=_[(0|_[s+860>>2])+(o<<2)>>2],o=o+1|0}while((0|o)!=(0|e))}(o=0|_[s+860>>2])&&(0|n[s+864|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[o+-4>>2]),e=0|_[s+852>>2]),_[s+860>>2]=0),n[s+864|0]=1,_[s+860>>2]=r,_[s+856>>2]=b}_[(0|_[s+860>>2])+(e<<2)>>2]=c,_[s+852>>2]=e+1,e=0|_[t+24>>2],3&_[204+(0|_[8+(0|_[t+28>>2])>>2])>>2]?(p[(t=a+64|0)>>2]=+p[e+344>>2]*+p[t>>2],e=e+356|0):(p[(t=a+64|0)>>2]=+p[e+340>>2]*+p[t>>2],e=e+352|0),p[(t=a+68|0)>>2]=+p[e>>2]*+p[t>>2]}Q=i}},function(t,e){var i,n,o;t|=0,o=+d(+ +p[(e|=0)>>2]),n=+d(+ +p[e+4>>2]),i=+d(+ +p[e+8>>2]),p[t+12>>2]=o,p[t+16>>2]=n,p[t+20>>2]=i,p[t+24>>2]=0},_a,_a,_a,_a,ap,function(t,e){t|=0;var i=0,n=0,o=0,r=0,s=0,p=0;if(!(0|(e|=0))|8!=(0|(i=0|_[e+236>>2]))){if(!(!(0|e)|!(2&i)))return void id[127&_[92+(0|_[t>>2])>>2]](t,e);if(0|(i=0|_[e+188>>2])&&(s=0|_[t+68>>2],s=0|Lb[127&_[36+(0|_[s>>2])>>2]](s),rd[127&_[40+(0|_[s>>2])>>2]](s,i,0|_[t+24>>2]),s=0|_[t+68>>2],rd[127&_[12+(0|_[s>>2])>>2]](s,i,0|_[t+24>>2]),_[e+188>>2]=0),(0|(n=0|_[t+8>>2]))<=0)return;for(o=0|_[t+16>>2],i=0;(0|_[(r=o+(i<<2)|0)>>2])!=(0|e);){if(!((0|(s=i+1|0))<(0|n))){p=26;break}i=s}if(26==(0|p))return;if((0|i)>=(0|n))return;return _[r>>2]=_[o+(n+-1<<2)>>2],_[(0|_[t+16>>2])+(n+-1<<2)>>2]=e,void(_[t+8>>2]=n+-1)}r=0|_[t+328>>2];t:do{if((0|r)>0){for(o=0|_[t+336>>2],i=0;(0|_[(n=o+(i<<2)|0)>>2])!=(0|e);)if((0|(i=i+1|0))>=(0|r))break t;(0|i)<(0|r)&&(_[n>>2]=_[o+(r+-1<<2)>>2],_[(0|_[t+336>>2])+(r+-1<<2)>>2]=e,_[t+328>>2]=r+-1)}}while(0);if(0|(i=0|_[e+188>>2])&&(s=0|_[t+68>>2],s=0|Lb[127&_[36+(0|_[s>>2])>>2]](s),rd[127&_[40+(0|_[s>>2])>>2]](s,i,0|_[t+24>>2]),s=0|_[t+68>>2],rd[127&_[12+(0|_[s>>2])>>2]](s,i,0|_[t+24>>2]),_[e+188>>2]=0),!((0|(n=0|_[t+8>>2]))<=0)){for(o=0|_[t+16>>2],i=0;(0|_[(r=o+(i<<2)|0)>>2])!=(0|e);){if(!((0|(s=i+1|0))<(0|n))){p=26;break}i=s}26!=(0|p)&&((0|i)>=(0|n)||(_[r>>2]=_[o+(n+-1<<2)>>2],_[(0|_[t+16>>2])+(n+-1<<2)>>2]=e,_[t+8>>2]=n+-1))}},function(t,e){t|=0;var i=0,n=0,o=0,r=0;zb[511&_[32+(0|_[(e|=0)>>2])>>2]](e),n=0|Hb[63&_[16+(0|_[e>>2])>>2]](e,104,1),r=104+(o=i=0|_[n+8>>2])|0;do{_[o>>2]=0,o=o+4|0}while((0|o)<(0|r));if(_[i+88>>2]=_[t+248>>2],_[i+92>>2]=_[t+252>>2],_[i+96>>2]=_[t+256>>2],_[i+100>>2]=_[t+260>>2],_[i>>2]=_[t+92>>2],_[i+4>>2]=_[t+96>>2],_[i+8>>2]=_[t+100>>2],_[i+12>>2]=_[t+104>>2],_[i+16>>2]=_[t+108>>2],_[i+20>>2]=_[t+116>>2],_[i+24>>2]=_[t+120>>2],_[i+28>>2]=_[t+124>>2],_[i+32>>2]=_[t+128>>2],_[i+36>>2]=_[t+132>>2],_[i+40>>2]=_[t+140>>2],_[i+44>>2]=_[t+144>>2],_[i+48>>2]=_[t+148>>2],_[i+52>>2]=_[t+152>>2],_[i+56>>2]=_[t+168>>2],_[i+60>>2]=_[t+172>>2],_[i+64>>2]=_[t+112>>2],_[i+68>>2]=_[t+156>>2],_[i+72>>2]=_[t+160>>2],_[i+76>>2]=_[t+164>>2],_[i+80>>2]=_[t+136>>2],ld[31&_[20+(0|_[e>>2])>>2]](e,n,14664,1145853764,i),(0|(i=0|_[t+8>>2]))<=0)return Ji(t,e),Mi(t,e),t=0|_[e>>2],t=0|_[(t=t+36|0)>>2],void zb[511&t](e);o=0;do{n=0|_[(0|_[t+16>>2])+(o<<2)>>2],8&_[n+236>>2]&&(r=0|Lb[127&_[16+(0|_[n>>2])>>2]](n),r=0|Hb[63&_[16+(0|_[e>>2])>>2]](e,r,1),i=0|Hb[63&_[20+(0|_[n>>2])>>2]](n,0|_[r+8>>2],e),ld[31&_[20+(0|_[e>>2])>>2]](e,r,i,1497645651,n),i=0|_[t+8>>2]),o=o+1|0}while((0|o)<(0|i));Ji(t,e),Mi(t,e),t=0|_[e>>2],t=0|_[(t=t+36|0)>>2],zb[511&t](e)},function(t,e){e|=0;var i=0,n=0,o=0,r=0,s=0;o=0|_[212+(t|=0)>>2];t:do{if((0|o)>0){for(r=0|_[t+220>>2],i=0;(0|_[(n=r+(i<<2)|0)>>2])!=(0|e);)if((0|(i=i+1|0))>=(0|o))break t;(0|i)<(0|o)&&(_[n>>2]=_[r+(o+-1<<2)>>2],_[(0|_[t+220>>2])+(o+-1<<2)>>2]=e,_[t+212>>2]=o+-1)}}while(0);r=0|_[e+28>>2],i=0|_[r+488>>2];t:do{if((0|i)>0){for(o=0|_[r+496>>2],n=0;(0|_[(t=o+(n<<2)|0)>>2])!=(0|e);)if((0|(n=n+1|0))>=(0|i))break t;(0|n)<(0|i)&&(_[t>>2]=_[o+(i+-1<<2)>>2],_[(0|_[r+496>>2])+(i+-1<<2)>>2]=e,_[r+488>>2]=i+-1,i=i+-1|0)}}while(0);if(_[r+256>>2]=(0|i)>0&1,r=0|_[e+32>>2],(0|(i=0|_[r+488>>2]))<=0)return e=(0|(e=i))>0,e&=1,void(_[(s=r+256|0)>>2]=e);for(o=0|_[r+496>>2],n=0;(0|_[(t=o+(n<<2)|0)>>2])!=(0|e);)if((0|(n=n+1|0))>=(0|i)){s=19;break}return 19==(0|s)?(e=(0|i)>0,e&=1,void(_[(s=r+256|0)>>2]=e)):(0|n)>=(0|i)?(e=(0|(e=i))>0,e&=1,void(_[(s=r+256|0)>>2]=e)):(_[t>>2]=_[o+(i+-1<<2)>>2],_[(0|_[r+496>>2])+(i+-1<<2)>>2]=e,_[r+488>>2]=i+-1,e=(0|(e=i+-1|0))>0,e&=1,void(_[(s=r+256|0)>>2]=e))},function(t,e){e|=0;var i=0,o=0,r=0,s=0;if((0|(i=0|_[280+(t|=0)>>2]))==(0|_[t+284>>2])&&(0|i)<(0|(s=0|i?i<<1:1))){if(s?(_[6630]=1+(0|_[6630]),(i=0|di(16+(s<<2|3)|0))?(_[(i+4+15&-16)-4>>2]=i,i=i+4+15&-16):i=0,r=i,i=0|_[t+280>>2]):r=0,(0|i)>0){o=0;do{_[r+(o<<2)>>2]=_[(0|_[t+288>>2])+(o<<2)>>2],o=o+1|0}while((0|o)!=(0|i))}(o=0|_[t+288>>2])&&(0|n[t+292|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[o+-4>>2]),i=0|_[t+280>>2]),_[t+288>>2]=0),n[t+292|0]=1,_[t+288>>2]=r,_[t+284>>2]=s}_[(0|_[t+288>>2])+(i<<2)>>2]=e,_[t+280>>2]=i+1},function(t,e){e|=0;var i,n,o=0,r=0,s=0;if(!((0|(i=0|_[280+(t|=0)>>2]))<=0)){for(n=0|_[t+288>>2],o=0;(0|_[(r=n+(o<<2)|0)>>2])!=(0|e);)if((0|(o=o+1|0))>=(0|i)){s=7;break}7!=(0|s)&&((0|o)>=(0|i)||(_[r>>2]=_[n+(i+-1<<2)>>2],_[(0|_[t+288>>2])+(i+-1<<2)>>2]=e,_[t+280>>2]=i+-1))}},function(t,e){e|=0;var i=0,n=0,o=0,r=0,s=0,c=0;if(_[248+(t|=0)>>2]=_[e>>2],_[t+248+4>>2]=_[e+4>>2],_[t+248+8>>2]=_[e+8>>2],_[t+248+12>>2]=_[e+12>>2],!((0|(i=0|_[t+232>>2]))<=0)){r=0;do{switch(o=0|_[(0|_[t+240>>2])+(r<<2)>>2],0|_[o+216>>2]){case 2:case 5:break;default:1&_[o+504>>2]||(0!=(n=+p[o+344>>2])&&(c=1/n*+p[e+4>>2],s=1/n*+p[e+8>>2],p[o+364>>2]=1/n*+p[e>>2],p[o+368>>2]=c,p[o+372>>2]=s,p[o+376>>2]=0),_[o+380>>2]=_[e>>2],_[o+380+4>>2]=_[e+4>>2],_[o+380+8>>2]=_[e+8>>2],_[o+380+12>>2]=_[e+12>>2],i=0|_[t+232>>2])}r=r+1|0}while((0|r)<(0|i))}},function(t,e){e|=0,_[(t|=0)>>2]=_[e+248>>2],_[t+4>>2]=_[e+248+4>>2],_[t+8>>2]=_[e+248+8>>2],_[t+12>>2]=_[e+248+12>>2]},function(t,e){t|=0;var i=0,o=0,r=0,s=0,c=0,a=0,b=0;if(3&(i=0|_[204+(e|=0)>>2])||1&_[e+504>>2]||(0!=(r=+p[e+344>>2])&&(b=1/r*+p[t+252>>2],a=1/r*+p[t+256>>2],p[e+364>>2]=1/r*+p[t+248>>2],p[e+368>>2]=b,p[e+372>>2]=a,p[e+376>>2]=0),_[e+380>>2]=_[t+248>>2],_[e+380+4>>2]=_[t+248+4>>2],_[e+380+8>>2]=_[t+248+8>>2],_[e+380+12>>2]=_[t+248+12>>2]),0|_[e+192>>2]){if(1&i)4==(-2&_[e+216>>2])||(_[e+216>>2]=2),i&=3;else{if((0|(o=0|_[t+232>>2]))==(0|_[t+236>>2])&&(0|o)<(0|(c=0|o?o<<1:1))){if(c?(_[6630]=1+(0|_[6630]),(i=0|di(16+(c<<2|3)|0))?(_[(i+4+15&-16)-4>>2]=i,i=i+4+15&-16):i=0,o=0|_[t+232>>2]):i=0,(0|o)>0){s=0;do{_[i+(s<<2)>>2]=_[(0|_[t+240>>2])+(s<<2)>>2],s=s+1|0}while((0|s)!=(0|o))}(s=0|_[t+240>>2])&&(0|n[t+244|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[s+-4>>2]),o=0|_[t+232>>2]),_[t+240>>2]=0),n[t+244|0]=1,_[t+240>>2]=i,_[t+236>>2]=c,i=3&_[e+204>>2]}else i&=3;_[(0|_[t+240>>2])+(o<<2)>>2]=e,_[t+232>>2]=o+1}c=!!(0|i),cd[127&_[36+(0|_[t>>2])>>2]](t,e,c?2:1,c?-3:-1)}},function(t,e){e|=0;var i=0,n=0,o=0,r=0,s=0;o=0|_[232+(t|=0)>>2];t:do{if((0|o)>0){for(r=0|_[t+240>>2],i=0;(0|_[(n=r+(i<<2)|0)>>2])!=(0|e);)if((0|(i=i+1|0))>=(0|o))break t;(0|i)<(0|o)&&(_[n>>2]=_[r+(o+-1<<2)>>2],_[(0|_[t+240>>2])+(o+-1<<2)>>2]=e,_[t+232>>2]=o+-1)}}while(0);if(0|(i=0|_[e+188>>2])&&(r=0|_[t+68>>2],r=0|Lb[127&_[36+(0|_[r>>2])>>2]](r),rd[127&_[40+(0|_[r>>2])>>2]](r,i,0|_[t+24>>2]),r=0|_[t+68>>2],rd[127&_[12+(0|_[r>>2])>>2]](r,i,0|_[t+24>>2]),_[e+188>>2]=0),!((0|(o=0|_[t+8>>2]))<=0)){for(r=0|_[t+16>>2],i=0;(0|_[(n=r+(i<<2)|0)>>2])!=(0|e);)if((0|(i=i+1|0))>=(0|o)){s=15;break}15!=(0|s)&&((0|i)>=(0|o)||(_[n>>2]=_[r+(o+-1<<2)>>2],_[(0|_[t+16>>2])+(o+-1<<2)>>2]=e,_[t+8>>2]=o+-1))}},function(t,e){e|=0;var i=0;0|n[273+(t|=0)|0]&&0|(i=0|_[t+200>>2])&&(_[6631]=1+(0|_[6631]),Li(0|_[i+-4>>2])),n[t+273|0]=0,_[t+200>>2]=e,_[8+(0|_[t+196>>2])>>2]=e},cs,os,cs,os,function(t,e){t|=0,e|=0;var i,o=0,r=0,s=0,c=0,a=0,b=0,d=0,l=0,A=0,f=0,u=0,m=0,h=0,y=0;if(i=Q,Q=Q+16|0,$i(14477),a=0|_[t+212>>2],(0|(c=0|_[t+180>>2]))<(0|a)){if((0|_[t+184>>2])<(0|a)){if(a?(_[6630]=1+(0|_[6630]),(o=0|di(16+(a<<2|3)|0))?(_[(o+4+15&-16)-4>>2]=o,o=o+4+15&-16):o=0,s=0|_[t+180>>2]):(o=0,s=c),(0|s)>0){r=0;do{_[o+(r<<2)>>2]=_[(0|_[t+188>>2])+(r<<2)>>2],r=r+1|0}while((0|r)!=(0|s))}0|(r=0|_[t+188>>2])&&(0|n[t+192|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[r+-4>>2])),_[t+188>>2]=0),n[t+192|0]=1,_[t+188>>2]=o,_[t+184>>2]=a,r=t+188|0}else r=t+188|0;o=c;do{_[(0|_[r>>2])+(o<<2)>>2]=0,o=o+1|0}while((0|o)!=(0|a))}else r=t+188|0;for(_[t+180>>2]=a,o=0;!((0|o)>=(0|Lb[127&_[104+(0|_[t>>2])>>2]](t)));)_[(0|_[r>>2])+(o<<2)>>2]=_[(0|_[t+220>>2])+(o<<2)>>2],o=o+1|0;if((0|(o=0|_[t+180>>2]))>1&&It(t+176|0,0,o+-1|0),o=0|Lb[127&_[104+(0|_[t>>2])>>2]](t)?0|_[r>>2]:0,s=0|_[t+196>>2],h=0|_[t+180>>2],y=0|Lb[127&_[20+(0|_[t>>2])>>2]](t),_[s+4>>2]=e,_[s+12>>2]=o,_[s+16>>2]=h,_[s+20>>2]=y,(0|(o=0|_[s+32>>2]))<0){(0|_[s+36>>2])<0&&(0|(r=0|_[s+40>>2])&&(0|n[s+44|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[r+-4>>2])),_[s+40>>2]=0),n[s+44|0]=1,_[s+40>>2]=0,_[s+36>>2]=0);do{_[(0|_[s+40>>2])+(o<<2)>>2]=0,o=o+1|0}while(0|o)}if(_[s+32>>2]=0,(0|(o=0|_[s+52>>2]))<0){(0|_[s+56>>2])<0&&(0|(r=0|_[s+60>>2])&&(0|n[s+64|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[r+-4>>2])),_[s+60>>2]=0),n[s+64|0]=1,_[s+60>>2]=0,_[s+56>>2]=0);do{_[(0|_[s+60>>2])+(o<<2)>>2]=0,o=o+1|0}while(0|o)}if(_[s+52>>2]=0,(0|(o=0|_[s+72>>2]))<0){(0|_[s+76>>2])<0&&(0|(r=0|_[s+80>>2])&&(0|n[s+84|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[r+-4>>2])),_[s+80>>2]=0),n[s+84|0]=1,_[s+80>>2]=0,_[s+76>>2]=0);do{_[(0|_[s+80>>2])+(o<<2)>>2]=0,o=o+1|0}while(0|o)}if(_[s+72>>2]=0,y=0|_[t+200>>2],o=0|_[8+(0|_[y>>2])>>2],u=0|_[t+8>>2],h=0|_[t+24>>2],h=0|Lb[127&_[36+(0|_[h>>2])>>2]](h),rd[127&o](y,u,h),h=0|_[t+204>>2],u=0|_[t+24>>2],y=0|_[t+196>>2],$i(16309),(0|(o=0|_[h+28>>2]))<0){(0|_[h+32>>2])<0&&(0|(r=0|_[h+36>>2])&&(0|n[h+40|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[r+-4>>2])),_[h+36>>2]=0),n[h+40|0]=1,_[h+36>>2]=0,_[h+32>>2]=0);do{_[(0|_[h+36>>2])+(o<<2)>>2]=0,o=o+1|0}while(0|o)}if(_[h+28>>2]=0,(0|(a=0|_[h+8>>2]))>0){b=0|_[h+16>>2],c=0;do{if((0|(o=0|_[(d=b+(c<<3)|0)>>2]))!=(0|c)){if(_[d>>2]=_[b+(o<<3)>>2],(0|(o=0|_[b+(o<<3)>>2]))!=(0|(r=0|_[b+(o<<3)>>2]))){s=b+(o<<3)|0;do{o=b+(r<<3)|0,_[s>>2]=_[o>>2],o=0|_[o>>2],r=0|_[(s=b+(o<<3)|0)>>2]}while((0|o)!=(0|r))}}else o=c;_[d>>2]=o,c=c+1|0}while((0|c)!=(0|a));if((0|a)>1?(on(h+4|0,0,a+-1|0),l=0|_[h+8>>2]):l=a,(0|l)>0)for(A=0|_[h+16>>2],b=0;;){f=0|_[A+(b<<3)>>2],o=b+1|0;t:do{if((0|o)<(0|l))for(r=b,s=o;;){if((0|_[A+(s<<3)>>2])!=(0|f)){o=s;break t}if(!((0|(o=s+1|0))<(0|l))){r=s;break}r=s,s=o}else r=b}while(0);t:do{if((0|b)<=(0|r)){for(d=0|_[t+16>>2],s=1,a=b;c=0|_[d+(_[A+(a<<3)+4>>2]<<2)>>2],(0|_[c+208>>2])==(0|f)&&(s=4!=(0|(c=0|_[c+216>>2]))&s&1!=(0|c)),(0|a)<(0|r);)a=a+1|0;if(s)for(s=b;;){c=0|_[d+(_[A+(s<<3)+4>>2]<<2)>>2];do{if((0|_[c+208>>2])==(0|f)){if(4==(-2&_[c+216>>2]))break;_[c+216>>2]=2}}while(0);if((0|s)>=(0|r))break t;s=s+1|0}else for(s=b;;){c=0|_[d+(_[A+(s<<3)+4>>2]<<2)>>2];do{if((0|_[c+208>>2])==(0|f)){if(2!=(0|_[c+216>>2]))break;_[c+216>>2]=3,p[c+220>>2]=0}}while(0);if((0|s)>=(0|r))break t;s=s+1|0}}}while(0);if(!((0|o)<(0|l)))break;b=o}}if((0|(b=0|Lb[127&_[36+(0|_[u>>2])>>2]](u)))>0){a=0;do{if(d=0|Qb[31&_[40+(0|_[u>>2])>>2]](u,a),s=0|_[d+740>>2],c=0|_[d+744>>2],101==(0|(r=0|s&&2!=(0|_[s+216>>2])?2&(o=0|_[s+204>>2])?106:111:101))&&(r=0,0|c)&&2!=(0|_[c+216>>2])&&(r=2&(o=0|_[s+204>>2])&&2!=(0|_[s+216>>2])?106:111),106==(0|r)&&(4&o||3&_[c+204>>2]||(4!=(-2&_[c+216>>2])&&(_[c+216>>2]=1),p[c+220>>2]=0),r=111),111==(0|r)&&(2&(f=0|_[c+204>>2])&&!(4&f|3&o)&&2!=(0|_[c+216>>2])&&(4!=(-2&_[s+216>>2])&&(_[s+216>>2]=1),p[s+220>>2]=0),0|n[h+64|0]&&0|Hb[63&_[28+(0|_[u>>2])>>2]](u,s,c))){if((0|(r=0|_[h+28>>2]))==(0|_[h+32>>2])&&(0|r)<(0|(m=0|r?r<<1:1))){if(m?(_[6630]=1+(0|_[6630]),(o=0|di(16+(m<<2|3)|0))?(_[(o+4+15&-16)-4>>2]=o,o=o+4+15&-16):o=0,r=0|_[h+28>>2]):o=0,(0|r)>0){s=0;do{_[o+(s<<2)>>2]=_[(0|_[h+36>>2])+(s<<2)>>2],s=s+1|0}while((0|s)!=(0|r))}(s=0|_[h+36>>2])&&(0|n[h+40|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[s+-4>>2]),r=0|_[h+28>>2]),_[h+36>>2]=0),n[h+40|0]=1,_[h+36>>2]=o,_[h+32>>2]=m,o=r}else o=r;_[(0|_[h+36>>2])+(o<<2)>>2]=d,_[h+28>>2]=o+1}a=a+1|0}while((0|a)<(0|b))}o=0|_[2606],m=(0|_[o+16>>2])-1|0,_[o+16>>2]=m;do{if(!m){if(0|_[o+4>>2]){if(G(0|i,0),m=0|_[6629],p[o+8>>2]=+p[o+8>>2]+ +(((0|_[i+4>>2])-(0|_[m+4>>2])+(1e6*((0|_[i>>2])-(0|_[m>>2])|0)|0)-(0|_[o+12>>2])|0)>>>0)/1e3,0|_[o+16>>2])break;o=0|_[2606]}_[2606]=_[o+20>>2]}}while(0);if(m=0|_[h+8>>2],$i(16337),0|n[h+64|0]){if((0|(u=0|_[h+28>>2]))>1&&Rt(h+24|0,0,u+-1|0),(0|m)>0)for(o=0,a=1,f=0;;){r=0|_[h+16>>2],A=0|_[r+(o<<3)>>2];t:do{if((0|o)<(0|m))for(l=1,b=0|_[h+48>>2],s=0|_[h+52>>2];;){d=0|_[(0|_[t+16>>2])+(_[r+(o<<3)+4>>2]<<2)>>2];do{if((0|b)==(0|s)){if((0|s)>=(0|(b=0|s?s<<1:1))){r=s;break}if(b?(_[6630]=1+(0|_[6630]),(r=0|di(16+(b<<2|3)|0))?(_[(r+4+15&-16)-4>>2]=r,r=r+4+15&-16):r=0,s=0|_[h+48>>2]):r=0,(0|s)>0){c=0;do{_[r+(c<<2)>>2]=_[(0|_[h+56>>2])+(c<<2)>>2],c=c+1|0}while((0|c)!=(0|s))}(c=0|_[h+56>>2])&&(0|n[h+60|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[c+-4>>2]),s=0|_[h+48>>2]),_[h+56>>2]=0),n[h+60|0]=1,_[h+56>>2]=r,_[h+52>>2]=b,r=s,s=b}else r=b}while(0);if(_[(0|_[h+56>>2])+(r<<2)>>2]=d,b=r+1|0,_[h+48>>2]=b,c=l&(5==(0|(c=0|_[d+216>>2]))|2==(0|c)),(0|(o=o+1|0))>=(0|m)){l=o;break t}if(r=0|_[h+16>>2],(0|_[r+(o<<3)>>2])!=(0|A)){l=o;break}l=c}else l=o,c=1}while(0);if((0|f)<(0|u))if(b=0|_[h+36>>2],r=0|_[(d=b+(f<<2)|0)>>2],(0|(o=0|_[208+(0|_[r+740>>2])>>2]))<=-1&&(o=0|_[208+(0|_[r+744>>2])>>2]),(0|o)==(0|A)){o=f+1|0;t:do{if((0|o)<(0|u))do{if(s=0|_[b+(o<<2)>>2],(0|(r=0|_[208+(0|_[s+740>>2])>>2]))<=-1&&(r=0|_[208+(0|_[s+744>>2])>>2]),(0|A)!=(0|r))break t;o=o+1|0}while((0|o)<(0|u))}while(0);r=d,s=o-f|0,a=o}else r=0,s=0;else r=0,s=0;if(c||fd[7&_[8+(0|_[y>>2])>>2]](y,0|_[h+56>>2],0|_[h+48>>2],r,s,A),f=0|s?a:f,(0|(o=0|_[h+48>>2]))<0){(0|_[h+52>>2])<0&&(0|(r=0|_[h+56>>2])&&(0|n[h+60|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[r+-4>>2])),_[h+56>>2]=0),n[h+60|0]=1,_[h+56>>2]=0,_[h+52>>2]=0);do{_[(0|_[h+56>>2])+(o<<2)>>2]=0,o=o+1|0}while(0|o)}if(_[h+48>>2]=0,(0|l)>=(0|m))break;o=l}}else m=0|Lb[127&_[44+(0|_[u>>2])>>2]](u),h=0|Lb[127&_[36+(0|_[u>>2])>>2]](u),fd[7&_[8+(0|_[y>>2])>>2]](y,0|_[t+16>>2],0|_[t+8>>2],m,h,-1);o=0|_[2606],y=(0|_[o+16>>2])-1|0,_[o+16>>2]=y;do{if(!y){if(0|_[o+4>>2]){if(G(0|i,0),y=0|_[6629],p[o+8>>2]=+p[o+8>>2]+ +(((0|_[i+4>>2])-(0|_[y+4>>2])+(1e6*((0|_[i>>2])-(0|_[y>>2])|0)|0)-(0|_[o+12>>2])|0)>>>0)/1e3,0|_[o+16>>2])break;o=0|_[2606]}_[2606]=_[o+20>>2]}}while(0);if(Vt(0|_[t+196>>2]),o=0|_[t+200>>2],rd[127&_[16+(0|_[o>>2])>>2]](o,e,0|_[t+72>>2]),o=0|_[2606],e=(0|_[o+16>>2])-1|0,_[o+16>>2]=e,0|e)Q=i;else{do{if(0|_[o+4>>2]){if(G(0|i,0),e=0|_[6629],p[o+8>>2]=+p[o+8>>2]+ +(((0|_[i+4>>2])-(0|_[e+4>>2])+(1e6*((0|_[i>>2])-(0|_[e>>2])|0)|0)-(0|_[o+12>>2])|0)>>>0)/1e3,0|_[o+16>>2])return void(Q=i);o=0|_[2606];break}}while(0);_[2606]=_[o+20>>2],Q=i}},_a,qi,function(t,e){e|=0,_[260+(t|=0)>>2]=1+(0|_[t+260>>2]),_[t+192>>2]=e,_[t+200>>2]=e},function(t,e){t|=0;var i=0,n=0;i=0|_[16+(0|_[(e|=0)>>2])>>2],n=0|Lb[127&_[16+(0|_[t>>2])>>2]](t),n=0|Hb[63&i](e,n,1),i=0|Hb[63&_[20+(0|_[t>>2])>>2]](t,0|_[n+8>>2],e),ld[31&_[20+(0|_[e>>2])>>2]](e,n,i,1497645650,t)},function(t,e){return t|=0,0|(e|=0)&&2&_[e+236>>2]?void id[127&_[92+(0|_[t>>2])>>2]](t,e):void hn(t,e)},function(t,e){t|=0;var i,n,o,r=0;zb[511&_[32+(0|_[(e|=0)>>2])>>2]](e),n=0|Hb[63&_[16+(0|_[e>>2])>>2]](e,104,1),o=104+(r=i=0|_[n+8>>2])|0;do{_[r>>2]=0,r=r+4|0}while((0|r)<(0|o));_[i+88>>2]=_[t+248>>2],_[i+92>>2]=_[t+252>>2],_[i+96>>2]=_[t+256>>2],_[i+100>>2]=_[t+260>>2],_[i>>2]=_[t+92>>2],_[i+4>>2]=_[t+96>>2],_[i+8>>2]=_[t+100>>2],_[i+12>>2]=_[t+104>>2],_[i+16>>2]=_[t+108>>2],_[i+20>>2]=_[t+116>>2],_[i+24>>2]=_[t+120>>2],_[i+28>>2]=_[t+124>>2],_[i+32>>2]=_[t+128>>2],_[i+36>>2]=_[t+132>>2],_[i+40>>2]=_[t+140>>2],_[i+44>>2]=_[t+144>>2],_[i+48>>2]=_[t+148>>2],_[i+52>>2]=_[t+152>>2],_[i+56>>2]=_[t+168>>2],_[i+60>>2]=_[t+172>>2],_[i+64>>2]=_[t+112>>2],_[i+68>>2]=_[t+156>>2],_[i+72>>2]=_[t+160>>2],_[i+76>>2]=_[t+164>>2],_[i+80>>2]=_[t+136>>2],ld[31&_[20+(0|_[e>>2])>>2]](e,n,14664,1145853764,i),Ji(t,e),Mi(t,e),zb[511&_[36+(0|_[e>>2])>>2]](e)},function(t,e){_[(e|=0)>>2]=6,_[e+4>>2]=6},function(t,e){e|=0;var i,n,o,r,s,c,a,b,d=0,A=0,f=0,u=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0;if(r=Q,Q=Q+64|0,n=0|_[28+(t|=0)>>2],o=0|_[t+32>>2],h=0|_[e+8>>2],p[h>>2]=1,i=0|_[e+24>>2],p[h+(i+1<<2)>>2]=1,p[h+(2+(i<<1)<<2)>>2]=1,R=+p[t+48>>2],j=+p[t+52>>2],u=+p[t+56>>2],d=+p[n+4>>2]*R+ +p[n+8>>2]*j+ +p[n+12>>2]*u,f=R*+p[n+20>>2]+j*+p[n+24>>2]+u*+p[n+28>>2],u=R*+p[n+36>>2]+j*+p[n+40>>2]+u*+p[n+44>>2],h=0|_[e+12>>2],_[h>>2]=0,p[h+4>>2]=u,p[h+8>>2]=-f,p[h+12>>2]=0,p[h+(i<<2)>>2]=-u,_[h+(i<<2)+4>>2]=0,p[h+(i<<2)+8>>2]=d,p[h+(i<<2)+12>>2]=0,p[h+(i<<1<<2)>>2]=f,p[h+(i<<1<<2)+4>>2]=-d,_[h+(i<<1<<2)+8>>2]=0,p[h+(i<<1<<2)+12>>2]=0,0|(A=0|_[e+16>>2])&&(p[A>>2]=-1,p[A+(i+1<<2)>>2]=-1,p[A+(2+(i<<1)<<2)>>2]=-1),S=+p[t+64>>2],j=+p[t+68>>2],R=+p[t+72>>2],w=+p[o+4>>2]*S+ +p[o+8>>2]*j+ +p[o+12>>2]*R,k=S*+p[o+20>>2]+j*+p[o+24>>2]+R*+p[o+28>>2],R=S*+p[o+36>>2]+j*+p[o+40>>2]+R*+p[o+44>>2],A=0|_[e+20>>2],_[A>>2]=0,p[A+4>>2]=-R,p[A+8>>2]=k,p[A+12>>2]=0,p[A+(i<<2)>>2]=R,_[A+(i<<2)+4>>2]=0,p[A+(i<<2)+8>>2]=-w,p[A+(i<<2)+12>>2]=0,p[A+(i<<1<<2)>>2]=-k,p[A+(i<<1<<2)+4>>2]=w,_[A+(i<<1<<2)+8>>2]=0,p[A+(i<<1<<2)+12>>2]=0,k=(j=+p[e>>2]*+p[e+4>>2])*(k+ +p[o+56>>2]-f-+p[n+56>>2]),R=j*(R+ +p[o+60>>2]-u-+p[n+60>>2]),D=0|_[e+28>>2],p[D>>2]=j*(w+ +p[o+52>>2]-d-+p[n+52>>2]),p[D+(i<<2)>>2]=k,p[D+(i<<1<<2)>>2]=R,p[h+(3*i<<2)>>2]=1,p[h+((i<<2|1)<<2)>>2]=1,p[h+(2+(5*i|0)<<2)>>2]=1,0|A&&(p[A+(3*i<<2)>>2]=-1,p[A+((i<<2|1)<<2)>>2]=-1,p[A+(2+(5*i|0)<<2)>>2]=-1),y=+p[o+24>>2],c=+p[o+44>>2],u=+p[o+28>>2],g=+p[o+40>>2],s=+p[o+36>>2],f=+p[o+20>>2],d=1/((y*c-u*g)*(R=+p[o+4>>2])+(k=+p[o+8>>2])*(u*s-c*f)+(g*f-y*s)*(v=+p[o+12>>2])),W=+p[n+4>>2],B=+p[n+8>>2],F=+p[n+12>>2],I=+p[n+20>>2],b=+p[n+24>>2],a=+p[n+28>>2],C=+p[n+36>>2],S=+p[n+40>>2],w=+p[n+44>>2],p[r+16>>2]=F*((g*f-y*s)*d)+(W*((y*c-u*g)*d)+B*((u*s-c*f)*d)),p[r+16+4>>2]=F*((s*k-g*R)*d)+(W*((g*v-c*k)*d)+B*((c*R-s*v)*d)),p[r+16+8>>2]=F*((y*R-f*k)*d)+(W*((u*k-y*v)*d)+B*((f*v-u*R)*d)),p[r+16+12>>2]=0,p[r+16+16>>2]=(y*c-u*g)*d*I+(u*s-c*f)*d*b+(g*f-y*s)*d*a,p[r+16+20>>2]=(g*v-c*k)*d*I+(c*R-s*v)*d*b+(s*k-g*R)*d*a,p[r+16+24>>2]=(u*k-y*v)*d*I+(f*v-u*R)*d*b+(y*R-f*k)*d*a,p[r+16+28>>2]=0,p[r+16+32>>2]=(y*c-u*g)*d*C+(u*s-c*f)*d*S+(g*f-y*s)*d*w,p[r+16+36>>2]=(g*v-c*k)*d*C+(c*R-s*v)*d*S+(s*k-g*R)*d*w,p[r+16+40>>2]=(u*k-y*v)*d*C+(f*v-u*R)*d*S+(y*R-f*k)*d*w,p[r+16+44>>2]=0,Qt(r+16|0,r),((w=+p[t+80>>2])-(d=+p[r>>2]))*(w-d)+((k=+p[t+84>>2])-(f=+p[r+4>>2]))*(k-f)+((R=+p[t+88>>2])-(y=+p[r+8>>2]))*(R-y)+((S=+p[t+92>>2])-(u=+p[r+12>>2]))*(S-u)<(w+d)*(w+d)+(k+f)*(k+f)+(R+y)*(R+y)+(S+u)*(S+u)||(d=-d,f=-f,y=-y,u=-u),g=f*-R+(u*-w+d*S)-y*-k,C=y*-w+(u*-k+f*S)-d*-R,v=d*-k+(u*-R+y*S)-f*-w,d=2*+m(+((d=(d=u*S-d*-w-f*-k-y*-R)<-1?-1:d)>1?1:d)),g*g+C*C+v*v<14210854715202004e-30)return B=1,W=0,B*=F=-d,W*=F,F*=I=0,t=0|_[e+28>>2],D=0|_[e+24>>2],B*=j,p[(e=t+((e=3*D|0)<<2)|0)>>2]=B,W*=j,p[(e=t+((e=D<<2)<<2)|0)>>2]=W,F*=j,p[(D=t+((D=5*D|0)<<2)|0)>>2]=F,void(Q=r);B=g*(I=1/+l(+(g*g+C*C+v*v))),W=C*I,B*=F=-d,W*=F,F*=I*=v,t=0|_[e+28>>2],D=0|_[e+24>>2],B*=j,p[(e=t+((e=3*D|0)<<2)|0)>>2]=B,W*=j,p[(e=t+((e=D<<2)<<2)|0)>>2]=W,F*=j,p[(D=t+((D=5*D|0)<<2)|0)>>2]=F,Q=r},function(t,e){e|=0;var i=0,o=0;if(0|n[1308+(t|=0)|0])return _[e>>2]=0,void(_[e+4>>2]=0);Pi(t,4+(0|_[t+28>>2])|0,4+(0|_[t+32>>2])|0),_[e>>2]=0,_[e+4>>2]=6,0|_[t+856>>2]||0|n[t+788|0]?(_[e>>2]=1,_[e+4>>2]=5,i=1,o=5):(i=0,o=6),(0|_[t+860>>2]||0|n[t+789|0])&&(i=i+1|0,_[e>>2]=i,o=o+-1|0,_[e+4>>2]=o),(0|_[t+864>>2]||0|n[t+790|0])&&(_[e>>2]=i+1,_[e+4>>2]=o+-1),0|at(t,0)&&(_[e>>2]=1+(0|_[e>>2]),_[e+4>>2]=(0|_[e+4>>2])-1),0|at(t,1)&&(_[e>>2]=1+(0|_[e>>2]),_[e+4>>2]=(0|_[e+4>>2])-1),0|at(t,2)&&(_[e>>2]=1+(0|_[e>>2]),_[e+4>>2]=(0|_[e+4>>2])-1)},dn,function(t,e){e|=0;var i=0,o=0;0|n[1309+(t|=0)|0]&&(i=(+p[t+1256>>2]-+p[t+1316>>2])*+p[t+1340>>2],p[t+792>>2]=i*(+p[e>>2]*+p[t+1364>>2]/+(0|_[e+48>>2])),i=+d(+i),p[t+808>>2]=i/+p[e>>2]),0|n[t+1310|0]&&(i=(+p[t+1260>>2]-+p[t+1320>>2])*+p[t+1344>>2],p[t+796>>2]=i*(+p[e>>2]*+p[t+1368>>2]/+(0|_[e+48>>2])),i=+d(+i),p[t+812>>2]=i/+p[e>>2]),0|n[t+1311|0]&&(i=(+p[t+1264>>2]-+p[t+1324>>2])*+p[t+1348>>2],p[t+800>>2]=i*(+p[e>>2]*+p[t+1372>>2]/+(0|_[e+48>>2])),i=+d(+i),p[t+816>>2]=i/+p[e>>2]),0|n[t+1312|0]&&(o=-(+p[t+1192>>2]-+p[t+1328>>2])*+p[t+1352>>2],i=+p[e>>2],p[t+876>>2]=i*+p[t+1376>>2]/+(0|_[e+48>>2])*o,i=+d(+o)/i,p[t+880>>2]=i),0|n[t+1313|0]&&(i=-(+p[t+1196>>2]-+p[t+1332>>2])*+p[t+1356>>2],o=+p[e>>2],p[t+940>>2]=o*+p[t+1380>>2]/+(0|_[e+48>>2])*i,o=+d(+i)/o,p[t+944>>2]=o),0|n[t+1314|0]?(i=-(+p[t+1200>>2]-+p[t+1336>>2])*+p[t+1360>>2],o=+p[e>>2],p[t+1004>>2]=o*+p[t+1384>>2]/+(0|_[e+48>>2])*i,o=+d(+i)/o,p[t+1008>>2]=o,dn(t,e)):dn(t,e)},function(t,e){e|=0,t=0|n[344+(t|=0)|0]?0:3,_[e>>2]=t,_[e+4>>2]=t},function(t,e){e|=0;var i,n,o,r,s,c,a=0,b=0,d=0,l=0,A=0,f=0,u=0;if(l=0|_[28+(t|=0)>>2],A=0|_[t+32>>2],d=0|_[e+8>>2],p[d>>2]=1,i=0|_[e+24>>2],p[d+(i+1<<2)>>2]=1,p[d+(2+(i<<1)<<2)>>2]=1,f=+p[t+300>>2],u=+p[t+304>>2],b=+p[t+308>>2],s=+p[l+4>>2]*f+ +p[l+8>>2]*u+ +p[l+12>>2]*b,o=f*+p[l+20>>2]+u*+p[l+24>>2]+b*+p[l+28>>2],b=f*+p[l+36>>2]+u*+p[l+40>>2]+b*+p[l+44>>2],d=0|_[e+12>>2],_[d>>2]=0,p[d+4>>2]=b,p[d+8>>2]=-o,p[d+12>>2]=0,p[d+(i<<2)>>2]=-b,_[d+(i<<2)+4>>2]=0,p[d+(i<<2)+8>>2]=s,p[d+(i<<2)+12>>2]=0,p[d+(i<<1<<2)>>2]=o,p[d+(i<<1<<2)+4>>2]=-s,_[d+(i<<1<<2)+8>>2]=0,p[d+(i<<1<<2)+12>>2]=0,d=0|_[e+16>>2],p[d>>2]=-1,p[d+(i+1<<2)>>2]=-1,p[d+(2+(i<<1)<<2)>>2]=-1,u=+p[t+316>>2],f=+p[t+320>>2],a=+p[t+324>>2],c=+p[A+4>>2]*u+ +p[A+8>>2]*f+ +p[A+12>>2]*a,r=u*+p[A+20>>2]+f*+p[A+24>>2]+a*+p[A+28>>2],a=u*+p[A+36>>2]+f*+p[A+40>>2]+a*+p[A+44>>2],d=0|_[e+20>>2],_[d>>2]=0,p[d+4>>2]=-a,p[d+8>>2]=r,p[d+12>>2]=0,p[d+(i<<2)>>2]=a,_[d+(i<<2)+4>>2]=0,p[d+(i<<2)+8>>2]=-c,p[d+(i<<2)+12>>2]=0,p[d+(i<<1<<2)>>2]=-r,p[d+(i<<1<<2)+4>>2]=c,_[d+(i<<1<<2)+8>>2]=0,p[d+(i<<1<<2)+12>>2]=0,d=0|_[t+332>>2],f=+p[(1&d?t+336:e+4)>>2]*+p[e>>2],n=0|_[e+28>>2],p[n>>2]=f*(c+ +p[A+52>>2]-s-+p[l+52>>2]),p[n+(i<<2)>>2]=f*(r+ +p[A+56>>2]-o-+p[l+56>>2]),p[n+(i<<1<<2)>>2]=f*(a+ +p[A+60>>2]-b-+p[l+60>>2]),2&d&&(A=0|_[e+32>>2],_[A>>2]=_[t+340>>2],_[A+(i<<2)>>2]=_[t+340>>2],_[A+(i<<1<<2)>>2]=_[t+340>>2]),(b=+p[t+356>>2])>0?(p[_[e+36>>2]>>2]=-b,p[_[e+40>>2]>>2]=b,a=+p[t+356>>2]):a=b,a>0&&(p[(0|_[e+36>>2])+(i<<2)>>2]=-b,p[(0|_[e+40>>2])+(i<<2)>>2]=b,a=+p[t+356>>2]),!(a>0))return l=0|_[(l=t+352|0)>>2],void(_[(A=e+52|0)>>2]=l);p[(0|_[e+36>>2])+(i<<1<<2)>>2]=-b,p[(0|_[e+40>>2])+(i<<1<<2)>>2]=b,l=0|_[(l=t+352|0)>>2],_[(A=e+52|0)>>2]=l},function(t,e){e|=0;var i,o,r=0,s=0,c=0,b=0,l=0;if(0|n[48+(t|=0)|0])return _[e>>2]=0,void(_[e+4>>2]=0);_[e>>2]=4,_[e+4>>2]=2,Bi(t,4+(0|_[t+28>>2])|0,4+(0|_[t+32>>2])|0),p[t+1088>>2]=0,n[t+297|0]=0,i=+p[t+192>>2],o=+p[t+196>>2];do{if(i<=o){c=+p[t+892>>2],b=+p[t+908>>2],s=+p[t+924>>2],s=+y(+(+p[t+832>>2]*c+ +p[t+848>>2]*b+ +p[t+864>>2]*s),+(+p[t+828>>2]*c+ +p[t+844>>2]*b+ +p[t+860>>2]*s));do{if(!(i>=o)){if(s<i){s=(l=(b=+d(+(c=(i-s)%6.2831854820251465<-3.1415927410125732?(i-s)%6.2831854820251465+6.2831854820251465:(i-s)%6.2831854820251465>3.1415927410125732?(i-s)%6.2831854820251465-6.2831854820251465:(i-s)%6.2831854820251465)))<+d(+(c=(o-s)%6.2831854820251465<-3.1415927410125732?(o-s)%6.2831854820251465+6.2831854820251465:(o-s)%6.2831854820251465>3.1415927410125732?(o-s)%6.2831854820251465-6.2831854820251465:(o-s)%6.2831854820251465)))?s:s+6.2831854820251465;break}s>o&&(b=+d(+(c=(s-o)%6.2831854820251465<-3.1415927410125732?(s-o)%6.2831854820251465+6.2831854820251465:(s-o)%6.2831854820251465>3.1415927410125732?(s-o)%6.2831854820251465-6.2831854820251465:(s-o)%6.2831854820251465)),s=(l=+d(+(c=(s-i)%6.2831854820251465<-3.1415927410125732?(s-i)%6.2831854820251465+6.2831854820251465:(s-i)%6.2831854820251465>3.1415927410125732?(s-i)%6.2831854820251465-6.2831854820251465:(s-i)%6.2831854820251465))<b)?s+-6.2831854820251465:s)}}while(0);if(p[t+1084>>2]=s,s<i){p[t+1088>>2]=s-i,n[t+297|0]=1,l=1;break}s>o?(p[t+1088>>2]=s-o,n[t+297|0]=1,l=1):l=0}else l=0}while(0);n[t+296|0]=0,r=0|_[t+1032>>2],_[t+1080>>2]=r,s=+p[t+184>>2],c=+p[t+188>>2],_[a>>2]=r,b=+p[a>>2];do{if(s<=c){if(c<b)s=c;else if(!(s>b)){r=32;break}p[t+1032>>2]=b-s,n[t+296|0]=1,r=34}else r=32}while(0);32==(0|r)&&(p[t+1032>>2]=0,0|n[t+1096|0])&&(r=34),34==(0|r)&&(_[e>>2]=1+(0|_[e>>2]),_[e+4>>2]=(0|_[e+4>>2])-1),(l<<24>>24||0|n[t+1112|0])&&(_[e>>2]=1+(0|_[e>>2]),_[e+4>>2]=(0|_[e+4>>2])-1)},function(t,e){e|=0;var i,o,r,s,c,b,A,f,u,m=0,h=0,y=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0,O=0,x=0,T=0,P=0,V=0,M=0,G=0,L=0,N=0,Q=0,E=0,H=0,Z=0,U=0,Y=0,J=0,X=0,z=0,K=0,q=0,$=0,tt=0,et=0,it=0,nt=0,ot=0;if(u=0|_[28+(t|=0)>>2],ot=0|_[t+32>>2],z=+p[u+344>>2],K=+p[ot+344>>2],f=0|_[e+24>>2],nt=0|n[t+180|0]?1:-1,c=+p[t+936>>2]-+p[t+872>>2],b=+p[t+940>>2]-+p[t+876>>2],X=+p[t+944>>2]-+p[t+880>>2],q=z+K>0?K/(z+K):.5,i=0|_[t+824>>2],o=0|_[t+840>>2],r=0|_[t+856>>2],s=0|_[t+888>>2],G=0|_[t+904>>2],L=0|_[t+920>>2],(A=!(0|n[t+49|0]))?(D=0|_[t+828>>2],C=0|_[t+844>>2],x=0|_[t+860>>2],T=0|_[t+832>>2],y=0|_[t+848>>2],J=0|_[t+864>>2],_[a>>2]=D,k=+p[a>>2],_[a>>2]=C,h=+p[a>>2],_[a>>2]=x,j=+p[a>>2],_[a>>2]=T,I=+p[a>>2],_[a>>2]=y,B=+p[a>>2],tt=i,F=J,et=o,it=r,_[a>>2]=J,R=+p[a>>2]):(m=q*(_[a>>2]=i,+p[a>>2]),S=q*(_[a>>2]=o,+p[a>>2]),v=q*(_[a>>2]=r,+p[a>>2]),h=(1-q)*(_[a>>2]=s,+p[a>>2]),w=(1-q)*(_[a>>2]=G,+p[a>>2]),v+=(1-q)*(_[a>>2]=L,+p[a>>2]),k=1/+l(+((m+h)*(m+h)+(S+w)*(S+w)+v*v)),p[a>>2]=(m+h)*k,y=0|_[a>>2],p[a>>2]=(S+w)*k,C=0|_[a>>2],p[a>>2]=v*k,D=0|_[a>>2],+d(+v*k)>.7071067690849304?(B=-(m+h)*k*((S+w)*k*(Z=1/+l(+(v*k*(v*k)+(S+w)*k*((S+w)*k))))),R=(m+h)*k*(-v*k*Z),I=(v*k*(v*k)+(S+w)*k*((S+w)*k))*Z,j=(S+w)*k*Z,h=-v*k*Z,m=0):(B=v*k*(-(S+w)*k*(Z=1/+l(+(R=(m+h)*k*((m+h)*k)+(S+w)*k*((S+w)*k))))),R*=Z,I=-v*k*((m+h)*k*Z),j=0,h=(m+h)*k*Z,m=-(S+w)*k*Z),p[a>>2]=m,J=0|_[a>>2],p[a>>2]=h,Y=0|_[a>>2],p[a>>2]=j,x=0|_[a>>2],p[a>>2]=I,T=0|_[a>>2],p[a>>2]=B,U=0|_[a>>2],tt=y,p[a>>2]=R,F=0|_[a>>2],et=C,it=D,y=U,C=Y,D=J,k=m),J=0|_[e+12>>2],_[J>>2]=D,_[J+4>>2]=C,_[J+8>>2]=x,_[J+(f<<2)>>2]=T,_[J+(f+1<<2)>>2]=y,_[J+(f+2<<2)>>2]=F,v=-k,U=0|_[e+20>>2],p[U>>2]=v,p[U+4>>2]=-h,p[U+8>>2]=-j,p[U+(f<<2)>>2]=-I,p[U+(f+1<<2)>>2]=-B,p[U+(f+2<<2)>>2]=-R,Y=0|_[t+300>>2],m=+p[t+280>>2],128&Y||(m*=+p[e+4>>2]),V=m*+p[e>>2],_[a>>2]=o,H=+p[a>>2],_[a>>2]=L,N=+p[a>>2],_[a>>2]=r,M=+p[a>>2],_[a>>2]=G,E=+p[a>>2],_[a>>2]=s,Z=+p[a>>2],_[a>>2]=i,Q=+p[a>>2],F=0|_[e+28>>2],p[F>>2]=V*((H*N-M*E)*k+(M*Z-Q*N)*h+(Q*E-H*Z)*j),p[F+(f<<2)>>2]=V*((H*N-M*E)*I+(M*Z-Q*N)*B+(Q*E-H*Z)*R),64&Y&&(L=0|_[e+32>>2],_[L>>2]=_[t+292>>2],_[L+(f<<2)>>2]=_[t+292>>2]),P=+p[u+52>>2],W=+p[u+56>>2],O=+p[u+60>>2],w=+p[ot+52>>2],m=+p[ot+56>>2],S=+p[ot+60>>2],A?(H=(m-W)*j-(S-O)*h,Z=(S-O)*k-(w-P)*j,E=(w-P)*h-(m-W)*k,p[J+(f<<1<<2)>>2]=q*H,p[J+((f<<1|1)<<2)>>2]=q*Z,p[J+(2+(f<<1)<<2)>>2]=q*E,p[U+(f<<1<<2)>>2]=(1-q)*H,p[U+((f<<1|1)<<2)>>2]=(1-q)*Z,p[U+(2+(f<<1)<<2)>>2]=(1-q)*E,E=(m-W)*R-(S-O)*B,Z=(S-O)*I-(w-P)*R,H=(w-P)*B-(m-W)*I,p[J+(3*f<<2)>>2]=q*E,p[J+(1+(3*f|0)<<2)>>2]=q*Z,p[J+(2+(3*f|0)<<2)>>2]=q*H,p[U+(3*f<<2)>>2]=(1-q)*E,p[U+(1+(3*f|0)<<2)>>2]=(1-q)*Z,p[U+(2+(3*f|0)<<2)>>2]=(1-q)*H,C=0|_[e+8>>2],p[C+(f<<1<<2)>>2]=k,p[C+((f<<1|1)<<2)>>2]=h,p[C+(2+(f<<1)<<2)>>2]=j,p[C+(3*f<<2)>>2]=I,p[C+(1+(3*f|0)<<2)>>2]=B,p[C+(2+(3*f|0)<<2)>>2]=R,D=0|_[e+16>>2],p[D+(f<<1<<2)>>2]=v,p[D+((f<<1|1)<<2)>>2]=-h,p[D+(2+(f<<1)<<2)>>2]=-j,p[D+(3*f<<2)>>2]=-I,p[D+(1+(3*f|0)<<2)>>2]=-B,y=D+(2+(3*f|0)<<2)|0,H=k,Z=0,E=0,Q=0,N=0,M=0,V=0,k=m-W,S-=O,v=w-P):(I=+p[t+936>>2]-w,B=+p[t+940>>2]-m,E=+p[t+944>>2]-S,_[a>>2]=tt,k=+p[a>>2],_[a>>2]=et,R=+p[a>>2],_[a>>2]=it,w=+p[a>>2],Q=(H=+p[t+872>>2]-P)-(H*k+(Z=+p[t+876>>2]-W)*R+(m=+p[t+880>>2]-O)*w)*k+q*(V=(H*k+Z*R+m*w)*k+(M=+p[t+1080>>2]-+p[t+1032>>2])*k-(I*k+B*R+E*w)*k),W=Z-(H*k+Z*R+m*w)*R+q*(N=(H*k+Z*R+m*w)*R+M*R-(I*k+B*R+E*w)*R),O=m-(H*k+Z*R+m*w)*w+q*(M=(H*k+Z*R+m*w)*w+M*w-(I*k+B*R+E*w)*w),V=I-(I*k+B*R+E*w)*k-(1-q)*V,N=B-(I*k+B*R+E*w)*R-(1-q)*N,M=E-(I*k+B*R+E*w)*w-(1-q)*M,v=q*(I-(I*k+B*R+E*w)*k)+(1-q)*(H-(H*k+Z*R+m*w)*k),h=q*(B-(I*k+B*R+E*w)*R)+(1-q)*(Z-(H*k+Z*R+m*w)*R),(m=q*(E-(I*k+B*R+E*w)*w)+(1-q)*(m-(H*k+Z*R+m*w)*w))*m+(v*v+h*h)>1.1920928955078125e-7?(Z=1/+l(+(m*m+(v*v+h*h))),p[a>>2]=h*Z,C=0|_[a>>2],p[a>>2]=m*Z,D=0|_[a>>2],S=m*Z,m=h*Z,j=v*Z,p[a>>2]=v*Z,y=0|_[a>>2]):(y=0|_[t+828>>2],C=0|_[t+844>>2],D=0|_[t+860>>2],_[a>>2]=D,S=+p[a>>2],_[a>>2]=C,m=+p[a>>2],_[a>>2]=y,j=+p[a>>2]),I=S*R-m*w,B=j*w-S*k,R=m*k-j*R,p[J+(f<<1<<2)>>2]=W*S-O*m,p[J+(f<<1<<2)+4>>2]=O*j-Q*S,p[J+(f<<1<<2)+8>>2]=Q*m-W*j,p[U+(f<<1<<2)>>2]=-(N*S-M*m),p[U+((f<<1|1)<<2)>>2]=-(M*j-V*S),p[U+(2+(f<<1)<<2)>>2]=-(V*m-N*j),z<1.1920928955078125e-7|K<1.1920928955078125e-7&&0|n[t+297|0]?(m=q*(W*R-O*B),h=q*(Q*B-W*I),v=q*(O*I-Q*R),S=(1-q)*(N*R-M*B),w=(1-q)*(M*I-V*R),k=(1-q)*(V*B-N*I)):(m=W*R-O*B,h=Q*B-W*I,v=O*I-Q*R,S=N*R-M*B,w=M*I-V*R,k=V*B-N*I),p[J+(3*f<<2)>>2]=m,p[J+(3*f<<2)+4>>2]=v,p[J+(3*f<<2)+8>>2]=h,p[U+(3*f<<2)>>2]=-S,p[U+(1+(3*f|0)<<2)>>2]=-w,p[U+(2+(3*f|0)<<2)>>2]=-k,G=0|_[e+8>>2],_[G+(f<<1<<2)>>2]=y,_[G+((f<<1|1)<<2)>>2]=C,_[G+(2+(f<<1)<<2)>>2]=D,p[G+(3*f<<2)>>2]=I,p[G+(1+(3*f|0)<<2)>>2]=B,p[G+(2+(3*f|0)<<2)>>2]=R,L=0|_[e+16>>2],p[L+(f<<1<<2)>>2]=-j,_[a>>2]=C,h=+p[a>>2],p[L+((f<<1|1)<<2)>>2]=-h,_[a>>2]=D,Z=+p[a>>2],p[L+(2+(f<<1)<<2)>>2]=-Z,p[L+(3*f<<2)>>2]=-I,p[L+(1+(3*f|0)<<2)>>2]=-B,y=L+(2+(3*f|0)<<2)|0,H=j,j=Z,C=G,D=L,Z=W,E=O,k=0,S=0,v=0),p[y>>2]=-R,m=+p[t+264>>2],32&Y||(m*=+p[e+4>>2]),P=m*+p[e>>2],p[F+(f<<1<<2)>>2]=P*(c*H+b*h+X*j),p[F+(3*f<<2)>>2]=P*(c*I+b*B+X*R),16&Y&&(L=0|_[e+32>>2],_[L+(f<<1<<2)>>2]=_[t+276>>2],_[L+(3*f<<2)>>2]=_[t+276>>2]),0|n[t+296|0]?(R=X=nt*+p[t+1032>>2],T=X>0?2:1):(R=0,T=0),x=!!(0|T),T|255&(y=0|n[t+1096|0])){if(_[C+(f<<2<<2)>>2]=tt,_[C+((f<<2|1)<<2)>>2]=et,_[C+((f<<2|2)<<2)>>2]=it,_[a>>2]=tt,j=+p[a>>2],p[D+(f<<2<<2)>>2]=-j,_[a>>2]=et,I=+p[a>>2],p[D+((f<<2|1)<<2)>>2]=-I,_[a>>2]=it,B=+p[a>>2],p[D+((f<<2|2)<<2)>>2]=-B,A?(z=k*B-S*I,K=S*j-v*B,m=v*I-k*j,p[J+(f<<2<<2)>>2]=q*z,p[J+((f<<2|1)<<2)>>2]=q*K,p[J+((f<<2|2)<<2)>>2]=q*m,p[U+(f<<2<<2)>>2]=(1-q)*z,p[U+((f<<2|1)<<2)>>2]=(1-q)*K,m*=1-q,$=31):z<1.1920928955078125e-7|K<1.1920928955078125e-7||(p[J+(f<<2<<2)>>2]=Z*B-E*I,p[J+((f<<2|1)<<2)>>2]=E*j-Q*B,p[J+((f<<2|2)<<2)>>2]=Q*I-Z*j,p[U+(f<<2<<2)>>2]=-(N*B-M*I),p[U+((f<<2|1)<<2)>>2]=-(M*j-V*B),m=-(V*I-N*j),$=31),31==(0|$)&&(p[U+((f<<2|2)<<2)>>2]=m),D=+p[t+184>>2]==+p[t+188>>2],p[F+(f<<2<<2)>>2]=0,C=(0|_[e+36>>2])+(f<<2<<2)|0,p[C>>2]=0,F=(0|_[e+40>>2])+(f<<2<<2)|0,p[F>>2]=0,k=+p[(512&Y?t+232:e+4)>>2],!(!(y<<24>>24)|x&D)){1&Y&&(_[(0|_[e+32>>2])+(f<<2<<2)>>2]=_[t+212>>2]),w=+p[t+1100>>2],m=+p[t+1080>>2],h=+p[t+184>>2],v=+p[t+188>>2],S=k*+p[e>>2];do{if(h>v)m=1;else if(h!=v){if(w/S<0){if(m>=h&&h-w/S>m){m=(h-m)/(w/S);break}m=m<h?0:1;break}if(w/S>0){if(m<=v&&v-w/S<m){m=(v-m)/(w/S);break}m=m>v?0:1;break}m=0}else m=0}while(0);$=(0|_[e+28>>2])+(f<<2<<2)|0,p[$>>2]=+p[$>>2]-nt*m*w,p[C>>2]=+p[C>>2]-+p[t+1104>>2]*+p[e>>2],p[F>>2]=+p[t+1104>>2]*+p[e>>2]+ +p[F>>2]}if(x){y=(0|_[e+28>>2])+(f<<2<<2)|0,p[y>>2]=+p[y>>2]+R*(k*+p[e>>2]),256&_[t+300>>2]&&(_[(0|_[e+32>>2])+(f<<2<<2)>>2]=_[t+244>>2]);do{if(!D){if(1==(0|T)){p[C>>2]=-34028234663852886e22,m=0;break}p[C>>2]=0,m=34028234663852886e22;break}p[C>>2]=-34028234663852886e22,m=34028234663852886e22}while(0);p[F>>2]=m,q=1-+p[t+240>>2],h=+d(+q);do{if(!(q!=q|!1|0==q)){if(m=nt*(+p[u+312>>2]*j+ +p[u+316>>2]*I+ +p[u+320>>2]*B-(+p[ot+312>>2]*j+ +p[ot+316>>2]*I+ +p[ot+320>>2]*B)),1==(0|T)){if(!(m<0))break;if(!(+p[y>>2]<-h*m))break;p[y>>2]=-h*m;break}if(!(m>0))break;if(!(+p[y>>2]>-h*m))break;p[y>>2]=-h*m;break}}while(0);p[y>>2]=+p[t+232>>2]*+p[y>>2],y=5}else y=5}else y=4;if(0|n[t+297|0]?(B=nt=+p[t+1088>>2],x=nt>0?1:2):(B=0,x=0),D=!!(0|x),x|255&(C=0|n[t+1112|0])){if(F=0|g(0|_[e+24>>2],y),y=0|_[e+12>>2],_[y+(F<<2)>>2]=tt,_[y+(F+1<<2)>>2]=et,_[y+(F+2<<2)>>2]=it,_[a>>2]=tt,O=+p[a>>2],y=0|_[e+20>>2],p[y+(F<<2)>>2]=-O,_[a>>2]=et,W=+p[a>>2],p[y+(F+1<<2)>>2]=-W,_[a>>2]=it,I=+p[a>>2],p[y+(F+2<<2)>>2]=-I,k=+p[t+192>>2],R=+p[t+196>>2],y=0|_[t+300>>2],j=+p[(2048&y?t+248:e+4)>>2],!(!(C<<24>>24)|D&k==R)){4&y?(_[(0|_[e+32>>2])+(F<<2)>>2]=_[t+228>>2],v=+p[t+196>>2],S=+p[t+192>>2]):(v=R,S=k),m=+p[t+1084>>2],w=+p[t+1116>>2],h=j*+p[e>>2];do{if(S>v)m=1;else if(S!=v){if(w/h<0){if(m>=S&&S-w/h>m){m=(S-m)/(w/h);break}m=m<S?0:1;break}if(w/h>0){if(m<=v&&v-w/h<m){m=(v-m)/(w/h);break}m=m>v?0:1;break}m=0}else m=0}while(0);p[(0|_[e+28>>2])+(F<<2)>>2]=m*w,p[(0|_[e+36>>2])+(F<<2)>>2]=-+p[t+1120>>2]*+p[e>>2],p[(0|_[e+40>>2])+(F<<2)>>2]=+p[t+1120>>2]*+p[e>>2]}if(D){C=(0|_[e+28>>2])+(F<<2)|0,p[C>>2]=+p[C>>2]+B*(j*+p[e>>2]),1024&y&&(_[(0|_[e+32>>2])+(F<<2)>>2]=_[t+260>>2]);do{if(k!=R){if(y=(0|_[e+36>>2])+(F<<2)|0,1==(0|x)){p[y>>2]=0,m=34028234663852886e22;break}p[y>>2]=-34028234663852886e22,m=0;break}p[(0|_[e+36>>2])+(F<<2)>>2]=-34028234663852886e22,m=34028234663852886e22}while(0);p[(0|_[e+40>>2])+(F<<2)>>2]=m,nt=1-+p[t+256>>2],h=+d(+nt);do{if(!(nt!=nt|!1|0==nt)){if(ot=0|_[t+28>>2],e=0|_[t+32>>2],m=+p[ot+328>>2]*O+ +p[ot+332>>2]*W+ +p[ot+336>>2]*I-(+p[e+328>>2]*O+ +p[e+332>>2]*W+ +p[e+336>>2]*I),1==(0|x)){if(!(m<0))break;if(!(+p[C>>2]<-h*m))break;p[C>>2]=-h*m;break}if(!(m>0))break;if(!(+p[C>>2]>-h*m))break;p[C>>2]=-h*m;break}}while(0);p[C>>2]=+p[t+248>>2]*+p[C>>2]}}},function(t,e){e|=0;var i,o,r=0,s=0,c=0;if(0|n[527+(t|=0)|0])return _[e>>2]=0,void(_[e+4>>2]=0);_[e>>2]=3,_[e+4>>2]=3,ui(t,4+(o=0|_[t+28>>2])|0,4+(i=0|_[t+32>>2])|0,o+264|0,i+264|0),0|n[t+526|0]&&(r=0|_[e>>2],_[e>>2]=r+1,s=0|_[e+4>>2],_[e+4>>2]=s+-1,c=+p[t+456>>2],+p[t+444>>2]<c)&&+p[t+448>>2]<c&&(_[e>>2]=r+2,_[e+4>>2]=s+-2),0|n[t+525|0]&&(_[e>>2]=1+(0|_[e>>2]),_[e+4>>2]=(0|_[e+4>>2])-1)},function(t,e){e|=0;var i,o,r=0,s=0,c=0,a=0,b=0,d=0,l=0,A=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0;ui(t|=0,4+(i=0|_[t+28>>2])|0,4+(u=0|_[t+32>>2])|0,i+264|0,u+264|0),h=0|_[e+8>>2],p[h>>2]=1,b=0|_[e+24>>2],p[h+(b+1<<2)>>2]=1,p[h+(2+(b<<1)<<2)>>2]=1,l=+p[t+348>>2],C=+p[t+352>>2],f=+p[t+356>>2],y=+p[i+4>>2]*l+ +p[i+8>>2]*C+ +p[i+12>>2]*f,A=l*+p[i+20>>2]+C*+p[i+24>>2]+f*+p[i+28>>2],f=l*+p[i+36>>2]+C*+p[i+40>>2]+f*+p[i+44>>2],h=0|_[e+12>>2],_[h>>2]=0,p[h+4>>2]=f,p[h+8>>2]=-A,p[h+12>>2]=0,p[h+(b<<2)>>2]=-f,_[h+(b<<2)+4>>2]=0,p[h+(b<<2)+8>>2]=y,p[h+(b<<2)+12>>2]=0,p[h+(b<<1<<2)>>2]=A,p[h+(b<<1<<2)+4>>2]=-y,_[h+(b<<1<<2)+8>>2]=0,p[h+(b<<1<<2)+12>>2]=0,m=0|_[e+16>>2],p[m>>2]=-1,p[m+(b+1<<2)>>2]=-1,p[m+(2+(b<<1)<<2)>>2]=-1,C=+p[t+412>>2],l=+p[t+416>>2],d=+p[t+420>>2],g=+p[u+4>>2]*C+ +p[u+8>>2]*l+ +p[u+12>>2]*d,r=C*+p[u+20>>2]+l*+p[u+24>>2]+d*+p[u+28>>2],d=C*+p[u+36>>2]+l*+p[u+40>>2]+d*+p[u+44>>2],m=0|_[e+20>>2],_[m>>2]=0,p[m+4>>2]=-d,p[m+8>>2]=r,p[m+12>>2]=0,p[m+(b<<2)>>2]=d,_[m+(b<<2)+4>>2]=0,p[m+(b<<2)+8>>2]=-g,p[m+(b<<2)+12>>2]=0,p[m+(b<<1<<2)>>2]=-r,p[m+(b<<1<<2)+4>>2]=g,_[m+(b<<1<<2)+8>>2]=0,p[m+(b<<1<<2)+12>>2]=0,o=0|_[t+592>>2],l=+p[(2&o?t+600:e+4)>>2]*+p[e>>2],c=0|_[e+28>>2],s=0|_[e+36>>2],a=0|_[e+40>>2],p[c>>2]=l*(g+ +p[u+52>>2]-y-+p[i+52>>2]),p[s>>2]=-34028234663852886e22,p[a>>2]=34028234663852886e22,1&o?(v=0|_[e+32>>2],_[v>>2]=_[t+596>>2],p[c+(b<<2)>>2]=l*(r+ +p[u+56>>2]-A-+p[i+56>>2]),p[s+(b<<2)>>2]=-34028234663852886e22,p[a+(b<<2)>>2]=34028234663852886e22,_[v+(b<<2)>>2]=_[t+596>>2],p[c+(b<<1<<2)>>2]=l*(d+ +p[u+60>>2]-f-+p[i+60>>2]),p[s+(b<<1<<2)>>2]=-34028234663852886e22,p[a+(b<<1<<2)>>2]=34028234663852886e22,_[v+(b<<1<<2)>>2]=_[t+596>>2]):(p[c+(b<<2)>>2]=l*(r+ +p[u+56>>2]-A-+p[i+56>>2]),p[s+(b<<2)>>2]=-34028234663852886e22,p[a+(b<<2)>>2]=34028234663852886e22,p[c+(b<<1<<2)>>2]=l*(d+ +p[u+60>>2]-f-+p[i+60>>2]),p[s+(b<<1<<2)>>2]=-34028234663852886e22,p[a+(b<<1<<2)>>2]=34028234663852886e22);do{if(0|n[t+526|0]){if(C=+p[t+456>>2],+p[t+444>>2]<C&&+p[t+448>>2]<C){R=+p[i+4>>2],k=+p[i+8>>2],w=+p[i+12>>2],B=+p[t+304>>2],I=+p[t+320>>2],D=+p[t+336>>2],l=+p[t+308>>2],f=+p[t+324>>2],g=+p[t+340>>2],S=+p[i+20>>2],r=+p[i+24>>2],d=+p[i+28>>2],A=+p[i+36>>2],y=+p[i+40>>2],C=+p[i+44>>2],p[h+(3*b<<2)>>2]=R*B+k*I+w*D,p[h+(1+(3*b|0)<<2)>>2]=B*S+I*r+D*d,p[h+(2+(3*b|0)<<2)>>2]=B*A+I*y+D*C,p[h+(b<<2<<2)>>2]=R*l+k*f+w*g,p[h+((b<<2|1)<<2)>>2]=l*S+f*r+g*d,p[h+((b<<2|2)<<2)>>2]=l*A+f*y+g*C,p[m+(3*b<<2)>>2]=-(R*B+k*I+w*D),p[m+(1+(3*b|0)<<2)>>2]=-(B*S+I*r+D*d),p[m+(2+(3*b|0)<<2)>>2]=-(B*A+I*y+D*C),p[m+(b<<2<<2)>>2]=-(R*l+k*f+w*g),p[m+((b<<2|1)<<2)>>2]=-(l*S+f*r+g*d),p[m+((b<<2|2)<<2)>>2]=-(l*A+f*y+g*C),j=+p[e>>2]*+p[t+436>>2],c=0|_[e+28>>2],p[c+(3*b<<2)>>2]=j*((R*B+k*I+w*D)*+p[t+460>>2]+(B*S+I*r+D*d)*+p[t+464>>2]+(B*A+I*y+D*C)*+p[t+468>>2]),p[c+(b<<2<<2)>>2]=j*((R*l+k*f+w*g)*+p[t+460>>2]+(l*S+f*r+g*d)*+p[t+464>>2]+(l*A+f*y+g*C)*+p[t+468>>2]),s=0|_[e+36>>2],p[s+(3*b<<2)>>2]=-34028234663852886e22,a=0|_[e+40>>2],p[a+(3*b<<2)>>2]=34028234663852886e22,p[s+(b<<2<<2)>>2]=-34028234663852886e22,p[a+(b<<2<<2)>>2]=34028234663852886e22,b=5*b|0;break}D=(B=+p[t+436>>2])*(+p[t+460>>2]*B),I=B*(B*+p[t+464>>2]),B*=B*+p[t+468>>2],p[h+(3*b<<2)>>2]=D,p[h+(1+(3*b|0)<<2)>>2]=I,p[h+(2+(3*b|0)<<2)>>2]=B,p[m+(3*b<<2)>>2]=-D,p[m+(1+(3*b|0)<<2)>>2]=-I,p[m+(2+(3*b|0)<<2)>>2]=-B,p[c+(3*b<<2)>>2]=+p[e>>2]*+p[t+432>>2]*+p[t+504>>2],4&o&&(_[(0|_[e+32>>2])+(3*b<<2)>>2]=_[t+604>>2]),p[s+(3*b<<2)>>2]=0,p[a+(3*b<<2)>>2]=34028234663852886e22,b<<=2}else b=3*b|0}while(0);if(0|n[t+525|0]){D=(B=+p[t+436>>2])*(+p[t+476>>2]*B),I=B*(B*+p[t+480>>2]),B*=B*+p[t+484>>2],p[h+(b<<2)>>2]=D,p[h+((u=b+1|0)<<2)>>2]=I,p[h+((v=b+2|0)<<2)>>2]=B,p[m+(b<<2)>>2]=-D,p[m+(u<<2)>>2]=-I,p[m+(v<<2)>>2]=-B,p[c+(b<<2)>>2]=+p[e>>2]*+p[t+432>>2]*+p[t+508>>2],4&o&&(_[(0|_[e+32>>2])+(b<<2)>>2]=_[t+604>>2]);do{if(+p[t+452>>2]>0){if(s=s+(b<<2)|0,+p[t+508>>2]>0){p[s>>2]=0,r=34028234663852886e22;break}p[s>>2]=-34028234663852886e22,r=0;break}p[s+(b<<2)>>2]=-34028234663852886e22,r=34028234663852886e22}while(0);p[a+(b<<2)>>2]=r}},function(t,e){e|=0;var i,o=0,r=0;if(0|n[738+(t|=0)|0])return _[e>>2]=0,void(_[e+4>>2]=0);_[e>>2]=5,_[e+4>>2]=1,o=+Yi(t,4+(0|_[t+28>>2])|0,4+(0|_[t+32>>2])|0),p[t+728>>2]=o,p[t+708>>2]=0,p[t+712>>2]=0,n[t+716|0]=0,i=+p[t+692>>2];do{if(i>=0){if((o=(o-+p[t+688>>2])%6.2831854820251465)<-3.1415927410125732?o+=6.2831854820251465:o>3.1415927410125732&&(o+=-6.2831854820251465),o<-i){n[t+716|0]=1,p[t+708>>2]=-(i+o),p[t+712>>2]=1;break}o>i?(n[t+716|0]=1,p[t+708>>2]=i-o,p[t+712>>2]=-1):r=12}else r=12}while(0);(12!=(0|r)||0|n[t+737|0])&&(_[e>>2]=6,_[e+4>>2]=0)},function(t,e){e|=0;var i,o,r,s,c,a,b,d,A=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0,O=0,x=0,T=0,P=0,V=0,M=0,G=0,L=0,N=0,Q=0,E=0,H=0,Z=0,U=0,Y=0,J=0,X=0,z=0,K=0,q=0,$=0,tt=0,et=0,it=0,nt=0,ot=0,_t=0,rt=0,st=0,pt=0,ct=0,at=0,bt=0,dt=0,lt=0;if(b=0|_[28+(t|=0)>>2],d=0|_[t+32>>2],a=0|_[e+24>>2],0|n[t+739|0]){if(q=+p[b+4>>2],$=+p[b+8>>2],tt=+p[b+12>>2],w=+p[t+556>>2],D=+p[t+572>>2],I=+p[t+588>>2],et=+p[t+560>>2],it=+p[t+576>>2],nt=+p[t+592>>2],ot=+p[b+20>>2],_t=+p[b+24>>2],rt=+p[b+28>>2],st=+p[b+36>>2],pt=+p[b+40>>2],ct=+p[b+44>>2],F=+p[t+600>>2],x=+p[t+604>>2],O=+p[t+608>>2],f=+p[b+52>>2],j=+p[b+56>>2],g=+p[b+60>>2],i=+p[d+4>>2],o=+p[d+8>>2],r=+p[d+12>>2],s=+p[t+624>>2],at=+p[t+640>>2],H=+p[t+656>>2],Z=+p[d+20>>2],U=+p[d+24>>2],Y=+p[d+28>>2],J=+p[d+36>>2],X=+p[d+40>>2],K=+p[d+44>>2],V=+p[t+664>>2],P=+p[t+668>>2],m=+p[t+672>>2],G=(A=+p[d+52>>2])+(i*V+o*P+r*m)-(f+(q*F+$*x+tt*O)),L=Z*V+U*P+Y*m+(v=+p[d+56>>2])-(ot*F+_t*x+rt*O+j),N=J*V+X*P+K*m+(h=+p[d+60>>2])-(st*F+pt*x+ct*O+g),A=A+(i*V+o*P+r*m)-A-(c=(q*et+$*it+tt*nt)*(M=(B=+p[344+(0|_[t+28>>2])>>2])+(W=+p[344+(0|_[t+32>>2])>>2])>0?W/(B+W):.5)+(i*s+o*at+r*H)*(1-M))*(lt=1/+l(+((dt=(et*st+it*pt+nt*ct)*M+(s*J+at*X+H*K)*(1-M))*dt+(c*c+(bt=(et*ot+it*_t+nt*rt)*M+(s*Z+at*U+H*Y)*(1-M))*bt))))*(T=dt*lt*(J*V+X*P+K*m+h-h)+(c*lt*(A+(i*V+o*P+r*m)-A)+bt*lt*(Z*V+U*P+Y*m+v-v))),v=Z*V+U*P+Y*m+v-v-bt*lt*T,h=J*V+X*P+K*m+h-h-dt*lt*T,j=ot*F+_t*x+rt*O+j-j-bt*lt*(m=dt*lt*(st*F+pt*x+ct*O+g-g)+(c*lt*(f+(q*F+$*x+tt*O)-f)+bt*lt*(ot*F+_t*x+rt*O+j-j))),g=st*F+pt*x+ct*O+g-g-dt*lt*m,O=(f=f+(q*F+$*x+tt*O)-f-c*lt*m)+M*(c*lt*m-c*lt*T),x=j+M*(bt*lt*m-bt*lt*T),F=g+M*(dt*lt*m-dt*lt*T),P=A-(1-M)*(c*lt*m-c*lt*T),V=v-(1-M)*(bt*lt*m-bt*lt*T),T=h-(1-M)*(dt*lt*m-dt*lt*T),(m=(M*h+(1-M)*g)*(M*h+(1-M)*g)+((M*A+(1-M)*f)*(M*A+(1-M)*f)+(M*v+(1-M)*j)*(M*v+(1-M)*j)))>1.1920928955078125e-7?(E=(M*A+(1-M)*f)*(w=1/+l(+m)),Q=(M*h+(1-M)*g)*w,w*=M*v+(1-M)*j):(E=q*w+$*D+tt*I,Q=w*st+D*pt+I*ct,w=w*ot+D*_t+I*rt),j=bt*lt*Q-dt*lt*w,D=dt*lt*E-c*lt*Q,I=c*lt*w-bt*lt*E,z=0|_[e+12>>2],p[z>>2]=x*Q-F*w,p[z+4>>2]=F*E-O*Q,p[z+8>>2]=O*w-x*E,z=0|_[e+20>>2],p[z>>2]=-(V*Q-T*w),p[z+4>>2]=-(T*E-P*Q),p[z+8>>2]=-(P*w-V*E),B<1.1920928955078125e-7|W<1.1920928955078125e-7&&0|n[t+716|0]?(A=M*(x*I-F*D),f=M*(F*j-O*I),m=M*(O*D-x*j),h=(1-M)*(V*I-T*D),g=(1-M)*(T*j-P*I),v=(1-M)*(P*D-V*j)):(A=x*I-F*D,f=F*j-O*I,m=O*D-x*j,h=V*I-T*D,g=T*j-P*I,v=P*D-V*j),z=(0|_[e+12>>2])+(a<<2)|0,p[z>>2]=A,p[z+4>>2]=f,p[z+8>>2]=m,z=0|_[e+20>>2],p[z+(a<<2)>>2]=-h,p[z+(a+1<<2)>>2]=-g,p[z+(a+2<<2)>>2]=-v,B<1.1920928955078125e-7|W<1.1920928955078125e-7?(v=M*(x*(dt*lt)-F*(bt*lt)),g=M*(F*(c*lt)-O*(dt*lt)),f=M*(O*(bt*lt)-x*(c*lt)),h=(1-M)*(V*(dt*lt)-T*(bt*lt)),m=(1-M)*(T*(c*lt)-P*(dt*lt)),A=(1-M)*(P*(bt*lt)-V*(c*lt))):(v=x*(dt*lt)-F*(bt*lt),g=F*(c*lt)-O*(dt*lt),f=O*(bt*lt)-x*(c*lt),h=V*(dt*lt)-T*(bt*lt),m=T*(c*lt)-P*(dt*lt),A=P*(bt*lt)-V*(c*lt)),C=(0|_[e+12>>2])+(a<<1<<2)|0,p[C>>2]=v,p[C+4>>2]=g,p[C+8>>2]=f,C=0|_[e+20>>2],p[C+(a<<1<<2)>>2]=-h,p[C+((a<<1|1)<<2)>>2]=-m,p[C+(2+(a<<1)<<2)>>2]=-A,A=+p[e>>2]*+p[e+4>>2],0|n[t+736|0]?(A=-E,f=-j,m=-D,h=-I,S=0|_[e+28>>2]):(S=0|_[e+8>>2],p[S>>2]=E,p[S+4>>2]=w,p[S+8>>2]=Q,S=(0|_[e+8>>2])+(a<<2)|0,p[S>>2]=j,p[S+4>>2]=D,p[S+8>>2]=I,S=(0|_[e+8>>2])+(a<<1<<2)|0,p[S>>2]=c*lt,p[S+4>>2]=bt*lt,p[S+8>>2]=dt*lt,S=0|_[e+16>>2],f=-E,p[S>>2]=f,p[S+4>>2]=-w,p[S+8>>2]=-Q,p[S+(a<<2)>>2]=-j,p[S+(a+1<<2)>>2]=-D,p[S+(a+2<<2)>>2]=-I,p[S+(a<<1<<2)>>2]=-c*lt,p[S+((a<<1|1)<<2)>>2]=-bt*lt,p[S+(2+(a<<1)<<2)>>2]=-dt*lt,S=0|_[e+28>>2],p[S>>2]=A*(G*E+L*w+N*Q),p[S+(a<<2)>>2]=A*(G*j+L*D+N*I),p[S+(a<<1<<2)>>2]=A*(G*(c*lt)+L*(bt*lt)+N*(dt*lt)),A=f,f=-j,m=-D,h=-I,C=0|_[e+20>>2]),y=0|_[e+12>>2],p[y+(3*a<<2)>>2]=E,p[y+(1+(3*a|0)<<2)>>2]=w,p[y+(2+(3*a|0)<<2)>>2]=Q,p[y+(a<<2<<2)>>2]=j,p[y+((a<<2|1)<<2)>>2]=D,p[y+((a<<2|2)<<2)>>2]=I,p[C+(3*a<<2)>>2]=A,p[C+(1+(3*a|0)<<2)>>2]=-w,p[C+(2+(3*a|0)<<2)>>2]=-Q,p[C+(a<<2<<2)>>2]=f,p[C+((a<<2|1)<<2)>>2]=m,p[C+((a<<2|2)<<2)>>2]=h,L=+p[e>>2]*+p[e+4>>2],N=(et*ot+it*_t+nt*rt)*(s*J+at*X+H*K)-(et*st+it*pt+nt*ct)*(s*Z+at*U+H*Y),ct=(et*st+it*pt+nt*ct)*(i*s+o*at+r*H)-(q*et+$*it+tt*nt)*(s*J+at*X+H*K),at=(q*et+$*it+tt*nt)*(s*Z+at*U+H*Y)-(et*ot+it*_t+nt*rt)*(i*s+o*at+r*H),p[S+(3*a<<2)>>2]=L*(N*E+ct*w+at*Q),p[S+(a<<2<<2)>>2]=L*(N*j+ct*D+at*I),0|n[t+716|0]?(w=at=+p[t+708>>2]*+p[t+732>>2],R=at>0?1:2):(w=0,R=0),k=!!(0|R),R|255&(u=0|n[t+737|0])){if(p[y+(5*a<<2)>>2]=c*lt,p[y+(1+(5*a|0)<<2)>>2]=bt*lt,p[y+(2+(5*a|0)<<2)>>2]=dt*lt,p[C+(5*a<<2)>>2]=-c*lt,p[C+(1+(5*a|0)<<2)>>2]=-bt*lt,p[C+(2+(5*a|0)<<2)>>2]=-dt*lt,C=(v=((A=+p[t+688>>2])-(f=+p[t+692>>2]))%6.2831854820251465<-3.1415927410125732?(A-f)%6.2831854820251465+6.2831854820251465:(A-f)%6.2831854820251465>3.1415927410125732?(A-f)%6.2831854820251465-6.2831854820251465:(A-f)%6.2831854820251465)==(h=(A+f)%6.2831854820251465<-3.1415927410125732?(A+f)%6.2831854820251465+6.2831854820251465:(A+f)%6.2831854820251465>3.1415927410125732?(A+f)%6.2831854820251465-6.2831854820251465:(A+f)%6.2831854820251465),p[(S=S+(5*a<<2)|0)>>2]=0,y=0|_[t+748>>2],g=+p[(2&y?t+760:e+4)>>2],!(!(u<<24>>24)|k&C)){4&y&&(_[(0|_[e+32>>2])+(5*a<<2)>>2]=_[t+752>>2]),f=+p[t+728>>2],m=+p[t+680>>2],A=v>h?1:0;do{if(!(v>=h)){if((A=m/(g*+p[e>>2]))<0){if(f>=v&v-A>f){A=(v-f)/A;break}A=f<v?0:1;break}if(A>0){if(f<=h&h-A<f){A=(h-f)/A;break}A=f>h?0:1;break}A=0}}while(0);p[S>>2]=A*m*+p[t+732>>2]+ +p[S>>2],p[(0|_[e+36>>2])+(5*a<<2)>>2]=-+p[t+684>>2],_[(0|_[e+40>>2])+(5*a<<2)>>2]=_[t+684>>2]}if(k){p[S>>2]=+p[S>>2]+w*(g*+p[e>>2]),1&y&&(_[(0|_[e+32>>2])+(5*a<<2)>>2]=_[t+756>>2]);do{if(!C){if(u=(0|_[e+36>>2])+(5*a<<2)|0,1==(0|R)){p[u>>2]=0,A=34028234663852886e22;break}p[u>>2]=-34028234663852886e22,A=0;break}p[(0|_[e+36>>2])+(5*a<<2)>>2]=-34028234663852886e22,A=34028234663852886e22}while(0);p[(0|_[e+40>>2])+(5*a<<2)>>2]=A,f=+p[t+704>>2];do{if(f>0){if(A=+p[b+328>>2]*(c*lt)+ +p[b+332>>2]*(bt*lt)+ +p[b+336>>2]*(dt*lt)-(+p[d+328>>2]*(c*lt)+ +p[d+332>>2]*(bt*lt)+ +p[d+336>>2]*(dt*lt)),1==(0|R)){if(!(A<0))break;if(!(+p[S>>2]<-f*A))break;p[S>>2]=-f*A;break}if(!(A>0))break;if(!(+p[S>>2]>-f*A))break;p[S>>2]=-f*A;break}}while(0);p[S>>2]=+p[t+700>>2]*+p[S>>2]}}}else{if(h=+p[t+552>>2],K=+p[b+4>>2],g=+p[t+568>>2],q=+p[b+8>>2],v=+p[t+584>>2],$=+p[b+12>>2],w=+p[t+556>>2],j=+p[t+572>>2],D=+p[t+588>>2],tt=+p[t+560>>2],et=+p[t+576>>2],it=+p[t+592>>2],nt=+p[b+20>>2],ot=+p[b+24>>2],_t=+p[b+28>>2],rt=+p[b+36>>2],st=+p[b+40>>2],pt=+p[b+44>>2],I=+p[t+600>>2],B=+p[t+604>>2],W=+p[t+608>>2],F=+p[b+52>>2],O=+p[b+56>>2],x=+p[b+60>>2],T=+p[d+4>>2],P=+p[d+8>>2],V=+p[d+12>>2],M=+p[t+624>>2],G=+p[t+640>>2],L=+p[t+656>>2],N=+p[d+20>>2],Q=+p[d+24>>2],E=+p[d+28>>2],H=+p[d+36>>2],Z=+p[d+40>>2],U=+p[d+44>>2],dt=+p[t+664>>2],lt=+p[t+668>>2],X=+p[t+672>>2],Y=+p[d+52>>2]+(T*dt+P*lt+V*X),J=N*dt+Q*lt+E*X+ +p[d+56>>2],X=H*dt+Z*lt+U*X+ +p[d+60>>2],(y=!(0|n[t+736|0]))?(u=0|_[e+8>>2],p[u>>2]=1,p[u+(a+1<<2)>>2]=1,p[u+(2+(a<<1)<<2)>>2]=1,u=0|_[e+16>>2],p[u>>2]=-1,p[u+(a+1<<2)>>2]=-1,p[u+(2+(a<<1)<<2)>>2]=-1,u=a<<1,A=+p[b+52>>2],f=+p[b+56>>2],m=+p[b+60>>2]):(u=a<<1,A=F,f=O,m=x),A=F+(K*I+q*B+$*W)-A,lt=nt*I+ot*B+_t*W+O-f,dt=rt*I+st*B+pt*W+x-m,S=(C=0|_[e+12>>2])+(u<<2)|0,_[C>>2]=0,p[C+4>>2]=dt,p[C+8>>2]=-lt,p[C+12>>2]=0,p[C+(a<<2)>>2]=-dt,_[C+(a<<2)+4>>2]=0,p[C+(a<<2)+8>>2]=A,p[C+(a<<2)+12>>2]=0,p[S>>2]=lt,p[S+4>>2]=-A,_[S+8>>2]=0,p[S+12>>2]=0,A=Y-+p[d+52>>2],lt=J-+p[d+56>>2],dt=X-+p[d+60>>2],z=(S=0|_[e+20>>2])+(u<<2)|0,_[S>>2]=0,p[S+4>>2]=-dt,p[S+8>>2]=lt,p[S+12>>2]=0,p[S+(a<<2)>>2]=dt,_[S+(a<<2)+4>>2]=0,p[S+(a<<2)+8>>2]=-A,p[S+(a<<2)+12>>2]=0,p[z>>2]=-lt,p[z+4>>2]=A,_[z+8>>2]=0,p[z+12>>2]=0,A=+p[e>>2]*+p[e+4>>2],z=0|_[e+28>>2],y&&(p[z>>2]=A*(Y-(F+(K*I+q*B+$*W))),p[z+(a<<2)>>2]=A*(J-(nt*I+ot*B+_t*W+O)),p[z+(a<<1<<2)>>2]=A*(X-(rt*I+st*B+pt*W+x))),p[C+(3*a<<2)>>2]=h*K+g*q+v*$,p[C+(1+(3*a|0)<<2)>>2]=h*nt+g*ot+v*_t,p[C+(2+(3*a|0)<<2)>>2]=h*rt+g*st+v*pt,p[C+(a<<2<<2)>>2]=K*w+q*j+$*D,p[C+((a<<2|1)<<2)>>2]=w*nt+j*ot+D*_t,p[C+((a<<2|2)<<2)>>2]=w*rt+j*st+D*pt,p[S+(3*a<<2)>>2]=-(h*K+g*q+v*$),p[S+(1+(3*a|0)<<2)>>2]=-(h*nt+g*ot+v*_t),p[S+(2+(3*a|0)<<2)>>2]=-(h*rt+g*st+v*pt),p[S+(a<<2<<2)>>2]=-(K*w+q*j+$*D),p[S+((a<<2|1)<<2)>>2]=-(w*nt+j*ot+D*_t),p[S+((a<<2|2)<<2)>>2]=-(w*rt+j*st+D*pt),dt=(tt*nt+et*ot+it*_t)*(M*H+G*Z+L*U)-(tt*rt+et*st+it*pt)*(M*N+G*Q+L*E),lt=(tt*rt+et*st+it*pt)*(T*M+P*G+V*L)-(K*tt+q*et+$*it)*(M*H+G*Z+L*U),bt=(K*tt+q*et+$*it)*(M*N+G*Q+L*E)-(tt*nt+et*ot+it*_t)*(T*M+P*G+V*L),p[z+(3*a<<2)>>2]=((h*rt+g*st+v*pt)*bt+((h*K+g*q+v*$)*dt+(h*nt+g*ot+v*_t)*lt))*A,p[z+(a<<2<<2)>>2]=((w*rt+j*st+D*pt)*bt+((K*w+q*j+$*D)*dt+(w*nt+j*ot+D*_t)*lt))*A,0|n[t+716|0]?(w=lt=+p[t+708>>2]*+p[t+732>>2],R=lt>0?1:2):(w=0,R=0),k=!!(0|R),!(R|255&(u=0|n[t+737|0])))return;if(p[C+(5*a<<2)>>2]=K*tt+q*et+$*it,p[C+(1+(5*a|0)<<2)>>2]=tt*nt+et*ot+it*_t,p[C+(2+(5*a|0)<<2)>>2]=tt*rt+et*st+it*pt,p[S+(5*a<<2)>>2]=-(K*tt+q*et+$*it),p[S+(1+(5*a|0)<<2)>>2]=-(tt*nt+et*ot+it*_t),p[S+(2+(5*a|0)<<2)>>2]=-(tt*rt+et*st+it*pt),C=(v=((A=+p[t+688>>2])-(f=+p[t+692>>2]))%6.2831854820251465<-3.1415927410125732?(A-f)%6.2831854820251465+6.2831854820251465:(A-f)%6.2831854820251465>3.1415927410125732?(A-f)%6.2831854820251465-6.2831854820251465:(A-f)%6.2831854820251465)==(h=(A+f)%6.2831854820251465<-3.1415927410125732?(A+f)%6.2831854820251465+6.2831854820251465:(A+f)%6.2831854820251465>3.1415927410125732?(A+f)%6.2831854820251465-6.2831854820251465:(A+f)%6.2831854820251465),p[(S=z+(5*a<<2)|0)>>2]=0,y=0|_[t+748>>2],g=+p[(2&y?t+760:e+4)>>2],!(!(u<<24>>24)|k&C)){4&y&&(_[(0|_[e+32>>2])+(5*a<<2)>>2]=_[t+752>>2]),f=+p[t+728>>2],m=+p[t+680>>2],A=v>h?1:0;do{if(!(v>=h)){if((A=m/(g*+p[e>>2]))<0){if(f>=v&v-A>f){A=(v-f)/A;break}A=f<v?0:1;break}if(A>0){if(f<=h&h-A<f){A=(h-f)/A;break}A=f>h?0:1;break}A=0}}while(0);p[S>>2]=A*m*+p[t+732>>2]+ +p[S>>2],p[(0|_[e+36>>2])+(5*a<<2)>>2]=-+p[t+684>>2],_[(0|_[e+40>>2])+(5*a<<2)>>2]=_[t+684>>2]}if(!k)return;p[S>>2]=+p[S>>2]+w*(g*+p[e>>2]),1&y&&(_[(0|_[e+32>>2])+(5*a<<2)>>2]=_[t+756>>2]);do{if(!C){if(u=(0|_[e+36>>2])+(5*a<<2)|0,1==(0|R)){p[u>>2]=0,A=34028234663852886e22;break}p[u>>2]=-34028234663852886e22,A=0;break}p[(0|_[e+36>>2])+(5*a<<2)>>2]=-34028234663852886e22,A=34028234663852886e22}while(0);p[(0|_[e+40>>2])+(5*a<<2)>>2]=A,f=+p[t+704>>2];do{if(f>0){if(A=(K*tt+q*et+$*it)*+p[b+328>>2]+(tt*nt+et*ot+it*_t)*+p[b+332>>2]+(tt*rt+et*st+it*pt)*+p[b+336>>2]-((K*tt+q*et+$*it)*+p[d+328>>2]+(tt*nt+et*ot+it*_t)*+p[d+332>>2]+(tt*rt+et*st+it*pt)*+p[d+336>>2]),1==(0|R)){if(!(A<0))break;if(!(+p[S>>2]<-f*A))break;p[S>>2]=-f*A;break}if(!(A>0))break;if(!(+p[S>>2]>-f*A))break;p[S>>2]=-f*A;break}}while(0);p[S>>2]=+p[t+700>>2]*+p[S>>2]}},function(t,e){e|=0;var i,o=0,r=0,s=0,c=0,a=0,b=0;if(i=Q,Q=Q+48|0,(0|_[136+(t|=0)>>2])<=0)Q=i;else{o=0;do{b=0|_[t+144>>2],_[i+32>>2]=0|n[b+(284*o|0)+84|0]?0:1065353216,_[i+32+4>>2]=0,_[i+32+8>>2]=1065353216,p[i+32+12>>2]=0,a=b+(284*o|0)+140|0,_[i+16>>2]=_[a>>2],_[i+16+4>>2]=_[a+4>>2],_[i+16+8>>2]=_[a+8>>2],_[i+16+12>>2]=_[a+12>>2],a=0|_[t+120>>2],r=0|_[8+(0|_[e>>2])>>2],c=+p[b+(284*o|0)+108+(a<<2)>>2]+ +p[i+16+4>>2],s=+p[b+(284*o|0)+124+(a<<2)>>2]+ +p[i+16+8>>2],p[i>>2]=+p[b+(284*o|0)+92+(a<<2)>>2]+ +p[i+16>>2],p[i+4>>2]=c,p[i+8>>2]=s,p[i+12>>2]=0,cd[127&r](e,i+16|0,i,i+32|0),cd[127&_[8+(0|_[e>>2])>>2]](e,i+16|0,(0|_[t+144>>2])+(284*o|0)+16|0,i+32|0),o=o+1|0}while((0|o)<(0|_[t+136>>2]));Q=i}},_a,function(t,e){e|=0;var i,o,r=0,s=0,c=0;n[171+(t|=0)|0]=1,_[t+60>>2]=_[e>>2],_[t+60+4>>2]=_[e+4>>2],_[t+60+8>>2]=_[e+8>>2],_[t+60+12>>2]=_[e+12>>2],r=+p[t+60>>2],s=+p[t+64>>2],i=+p[t+68>>2],o=1/+l(+(r*r+s*s+i*i)),+l(+(i*o*(i*o)+(r*o*(r*o)+s*o*(s*o))))<1.1920928955078125e-7?(c=0,s=0,r=0,e=0):(c=r*o,s*=o,r=i*o,e=0|_[t+72>>2]),p[t+76>>2]=c,p[t+80>>2]=s,p[t+84>>2]=r,_[t+88>>2]=e},function(t,e){e|=0;var i=0,o=0,r=0;if(p[16+(t|=0)>>2]=0,p[t+20>>2]=0,n[t+168|0]=0,n[t+169|0]=0,p[t+172>>2]=0,_[t+60>>2]=0,_[t+60+4>>2]=0,_[t+60+8>>2]=0,_[t+60+12>>2]=0,t=0|_[284+(0|_[t+8>>2])>>2],i=4+(0|Lb[127&_[28+(0|_[t>>2])>>2]](t))|0,!((0|_[i>>2])<=0))do{o=0|_[t>>2],r=0|_[o+12>>2],o=12+(0|Lb[127&_[o+28>>2]](t))|0,o=0|_[_[o>>2]>>2],i=12+(0|Lb[127&_[28+(0|_[t>>2])>>2]](t))|0,Zb[31&r](t,o,0|_[4+(0|_[i>>2])>>2],0|_[e+24>>2]),i=4+(0|Lb[127&_[28+(0|_[t>>2])>>2]](t))|0}while((0|_[i>>2])>0)},function(t,e){var i;t|=0,e|=0,i=Q,Q=Q+16|0,_[i>>2]=_[e>>2],_[i+4>>2]=_[e+4>>2],_[i+8>>2]=_[e+8>>2],_[i+12>>2]=_[e+12>>2],e=0|_[t+8>>2],_[e+260>>2]=1+(0|_[e+260>>2]),_[e+4>>2]=1065353216,_[e+8>>2]=0,_[e+8+4>>2]=0,_[e+8+8>>2]=0,_[e+8+12>>2]=0,_[e+24>>2]=1065353216,_[e+28>>2]=0,_[e+28+4>>2]=0,_[e+28+8>>2]=0,_[e+28+12>>2]=0,_[e+44>>2]=1065353216,_[e+48>>2]=0,_[e+52>>2]=_[i>>2],_[e+52+4>>2]=_[i+4>>2],_[e+52+8>>2]=_[i+8>>2],_[e+52+12>>2]=_[i+12>>2],Q=i},function(t,e){e|=0;var i=0;n[148+(t|=0)|0]=0;t:do{if(0|Oe(t,e))for(i=0;;){if(n[t+148|0]=1,i>>>0>3)break t;if(!(0|Oe(t,e)))break;i=i+1|0}}while(0);e=52+(0|_[t+8>>2])|0,_[t+92>>2]=_[e>>2],_[t+92+4>>2]=_[e+4>>2],_[t+92+8>>2]=_[e+8>>2],_[t+92+12>>2]=_[e+12>>2],Do(t+112|0,0|e,16)},function(t,e){e|=0,n[180+(t|=0)|0]=1&e},function(t,e){t|=0,e|=0;var i,n,o,r=0;if(_[6605]=(0|_[6605])-1,id[127&_[20+(0|_[t>>2])>>2]](t,e),n=0|_[e+768>>2],i=(0|_[t+12>>2])-1|0,r=0|_[t+20>>2],o=0|_[r+(n<<2)>>2],_[r+(n<<2)>>2]=_[r+(i<<2)>>2],_[(0|_[t+20>>2])+(i<<2)>>2]=o,_[768+(0|_[(0|_[t+20>>2])+(n<<2)>>2])>>2]=n,_[t+12>>2]=i,t=0|_[t+68>>2],e){if((r=0|_[t+16>>2])>>>0<=e>>>0&&(r+(0|g(0|_[t>>2],0|_[t+4>>2]))|0)>>>0>e>>>0)return _[e>>2]=_[t+12>>2],_[t+12>>2]=e,void(_[t+8>>2]=1+(0|_[t+8>>2]));_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])}},function(t,e){_[748+(e|=0)>>2]=0},function(t,e){var i;if(e|=0,t=0|_[64+(t|=0)>>2],e){if((i=0|_[t+16>>2])>>>0<=e>>>0&&(i+(0|g(0|_[t>>2],0|_[t+4>>2]))|0)>>>0>e>>>0)return _[e>>2]=_[t+12>>2],_[t+12>>2]=e,void(_[t+8>>2]=1+(0|_[t+8>>2]));_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])}},function(t,e){t|=0;var i,n,o=0,r=0,s=0,p=0,c=0,a=0;if(!((0|(n=0|_[8+(e|=0)>>2]))<=0)){i=0|_[e+16>>2],a=0,e=0;do{if(c=0|_[i+(a<<2)>>2],3&_[c+204>>2])_[c+208>>2]=-1,_[c+212>>2]=-2;else{if(p=0|_[t+16>>2],(0|(r=0|_[(o=p+(e<<3)|0)>>2]))!=(0|e)){if(_[o>>2]=_[p+(r<<3)>>2],(0|(o=0|_[p+(r<<3)>>2]))!=(0|(r=0|_[p+(o<<3)>>2]))){s=p+(o<<3)|0;do{o=p+(r<<3)|0,_[s>>2]=_[o>>2],o=0|_[o>>2],r=0|_[(s=p+(o<<3)|0)>>2]}while((0|o)!=(0|r))}}else o=e;_[c+208>>2]=o,_[p+(e<<3)+4>>2]=a,_[c+212>>2]=-1,e=e+1|0}a=a+1|0}while((0|a)!=(0|n))}},qi,function(t,e){e|=0;var i=0,o=0,r=0,s=0;if(i=0|_[76+(t|=0)>>2]){if((0|(o=0|_[e+4>>2]))==(0|_[e+8>>2])&&(0|o)<(0|(s=0|o?o<<1:1))){if(s?(_[6630]=1+(0|_[6630]),(i=0|di(16+(s<<2|3)|0))?(_[(i+4+15&-16)-4>>2]=i,i=i+4+15&-16):i=0,o=0|_[e+4>>2]):i=0,(0|o)>0){r=0;do{_[i+(r<<2)>>2]=_[(0|_[e+12>>2])+(r<<2)>>2],r=r+1|0}while((0|r)!=(0|o))}(r=0|_[e+12>>2])&&(0|n[e+16|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[r+-4>>2]),o=0|_[e+4>>2]),_[e+12>>2]=0),n[e+16|0]=1,_[e+12>>2]=i,_[e+8>>2]=s,i=0|_[t+76>>2]}_[(0|_[e+12>>2])+(o<<2)>>2]=i,_[e+4>>2]=o+1}},qi,hn,function(t,e){t|=0,zb[511&_[32+(0|_[(e|=0)>>2])>>2]](e),Mi(t,e),zb[511&_[36+(0|_[e>>2])>>2]](e)},function(t,e){st(t|=0,0|_[36+(e|=0)>>2])},qi,function(t,e){e|=0;var i=0,o=0,r=0,s=0;if((i=0|_[20+(t|=0)>>2])&&0|n[t+16|0]){if((0|(o=0|_[e+4>>2]))==(0|_[e+8>>2])&&(0|o)<(0|(s=0|o?o<<1:1))){if(s?(_[6630]=1+(0|_[6630]),(i=0|di(16+(s<<2|3)|0))?(_[(i+4+15&-16)-4>>2]=i,i=i+4+15&-16):i=0,o=0|_[e+4>>2]):i=0,(0|o)>0){r=0;do{_[i+(r<<2)>>2]=_[(0|_[e+12>>2])+(r<<2)>>2],r=r+1|0}while((0|r)!=(0|o))}(r=0|_[e+12>>2])&&(0|n[e+16|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[r+-4>>2]),o=0|_[e+4>>2]),_[e+12>>2]=0),n[e+16|0]=1,_[e+12>>2]=i,_[e+8>>2]=s,i=0|_[t+20>>2]}_[(0|_[e+12>>2])+(o<<2)>>2]=i,_[e+4>>2]=o+1}},function(t,e){e|=0;var i=0,n=0,o=0;if(!((0|(i=0|_[12+(t|=0)>>2]))<=0)){o=0;do{(n=0|_[(0|_[t+20>>2])+(o<<2)>>2])&&(id[127&_[16+(0|_[n>>2])>>2]](n,e),i=0|_[t+12>>2]),o=o+1|0}while((0|o)<(0|i))}},function(t,e){t|=0,e=0|_[36+(e|=0)>>2],ii(t,0|_[(0|_[24+(0|_[4+(0|_[t+4>>2])>>2])>>2])+(80*e|0)+64>>2],e)},function(t,e){e|=0;var i,n=0,o=0;if(i=0|_[8+(t|=0)>>2],!((0|(t=0|_[i+8>>2]))<=0)){o=0;do{(n=0|_[(0|_[i+16>>2])+(12*o|0)+8>>2])&&(id[127&_[16+(0|_[n>>2])>>2]](n,e),t=0|_[i+8>>2]),o=o+1|0}while((0|o)<(0|t))}},function(t,e){e|=0;var i,n,o,r,s=0,c=0,a=0,b=0,d=0,l=0,A=0,f=0,u=0;if(r=Q,Q=Q+144|0,(0|_[16+(t|=0)>>2])<=0)return _[(A=t+76|0)>>2]=_[e>>2],_[A+4>>2]=_[e+4>>2],_[A+8>>2]=_[e+8>>2],_[A+12>>2]=_[e+12>>2],A=0|_[t>>2],A=0|_[(A=A+68|0)>>2],zb[511&A](t),void(Q=r);i=r+16+16|0,n=r+16+32|0,o=r+16+48|0,d=0;do{if(l=(A=0|_[t+24>>2])+(80*d|0)|0,_[r+16>>2]=_[l>>2],_[r+16+4>>2]=_[l+4>>2],_[r+16+8>>2]=_[l+8>>2],_[r+16+12>>2]=_[l+12>>2],l=A+(80*d|0)+16|0,_[i>>2]=_[l>>2],_[i+4>>2]=_[l+4>>2],_[i+8>>2]=_[l+8>>2],_[i+12>>2]=_[l+12>>2],l=A+(80*d|0)+32|0,_[n>>2]=_[l>>2],_[n+4>>2]=_[l+4>>2],_[n+8>>2]=_[l+8>>2],_[n+12>>2]=_[l+12>>2],l=A+(80*d|0)+48|0,_[o>>2]=_[l>>2],_[o+4>>2]=_[l+4>>2],_[o+8>>2]=_[l+8>>2],_[o+12>>2]=_[l+12>>2],A=0|_[A+(80*d|0)+64>>2],A=0|Lb[127&_[28+(0|_[A>>2])>>2]](A),_[r>>2]=_[A>>2],_[r+4>>2]=_[A+4>>2],_[r+8>>2]=_[A+8>>2],f=+p[r+4>>2]*+p[e+4>>2]/+p[t+80>>2],u=+p[r+8>>2]*+p[e+8>>2]/+p[t+84>>2],p[r>>2]=+p[r>>2]*+p[e>>2]/+p[t+76>>2],p[r+4>>2]=f,p[r+8>>2]=u,p[r+12>>2]=0,A=0|_[(0|_[t+24>>2])+(80*d|0)+64>>2],id[127&_[24+(0|_[A>>2])>>2]](A,r),u=+p[r+16+52>>2]*+p[e+4>>2]/+p[t+80>>2],f=+p[r+16+56>>2]*+p[e+8>>2]/+p[t+84>>2],p[r+16+48>>2]=+p[o>>2]*+p[e>>2]/+p[t+76>>2],p[r+16+52>>2]=u,p[r+16+56>>2]=f,p[r+16+60>>2]=0,A=0|_[t+24>>2],_[(l=A+(80*d|0)|0)>>2]=_[r+16>>2],_[l+4>>2]=_[r+16+4>>2],_[l+8>>2]=_[r+16+8>>2],_[l+12>>2]=_[r+16+12>>2],_[(l=A+(80*d|0)+16|0)>>2]=_[i>>2],_[l+4>>2]=_[i+4>>2],_[l+8>>2]=_[i+8>>2],_[l+12>>2]=_[i+12>>2],_[(l=A+(80*d|0)+32|0)>>2]=_[n>>2],_[l+4>>2]=_[n+4>>2],_[l+8>>2]=_[n+8>>2],_[l+12>>2]=_[n+12>>2],_[(A=A+(80*d|0)+48|0)>>2]=_[o>>2],_[A+4>>2]=_[o+4>>2],_[A+8>>2]=_[o+8>>2],_[A+12>>2]=_[o+12>>2],0|_[t+64>>2]){l=0|_[(0|_[t+24>>2])+(80*d|0)+64>>2],cd[127&_[8+(0|_[l>>2])>>2]](l,r+16|0,r+128|0,r+112|0),_[r+80>>2]=_[r+128>>2],_[r+80+4>>2]=_[r+128+4>>2],_[r+80+8>>2]=_[r+128+8>>2],_[r+80+12>>2]=_[r+128+12>>2],_[r+80+16>>2]=_[r+112>>2],_[r+80+16+4>>2]=_[r+112+4>>2],_[r+80+16+8>>2]=_[r+112+8>>2],_[r+80+16+12>>2]=_[r+112+12>>2],s=0|Tt(l=0|_[t+64>>2],A=0|_[(0|_[t+24>>2])+(80*d|0)+76>>2]);t:do{if(s){if((0|(b=0|_[l+8>>2]))<=-1){s=0|_[l>>2];break}if(b)for(c=0;;){if(c=c+1|0,!(a=0|_[s+32>>2]))break t;if((0|c)>=(0|b)){s=a;break}s=a}}else s=0}while(0);_[A>>2]=_[r+80>>2],_[A+4>>2]=_[r+80+4>>2],_[A+8>>2]=_[r+80+8>>2],_[A+12>>2]=_[r+80+12>>2],_[A+16>>2]=_[r+80+16>>2],_[A+20>>2]=_[r+80+20>>2],_[A+24>>2]=_[r+80+24>>2],_[A+28>>2]=_[r+80+28>>2],U(l,s,A)}d=d+1|0}while((0|d)<(0|_[t+16>>2]));_[(A=t+76|0)>>2]=_[e>>2],_[A+4>>2]=_[e+4>>2],_[A+8>>2]=_[e+8>>2],_[A+12>>2]=_[e+12>>2],A=0|_[t>>2],A=0|_[(A=A+68|0)>>2],zb[511&A](t),Q=r},function(t,e){e|=0;var i=0,n=0;if(_[68+(t|=0)>>2]=1+(0|_[t+68>>2]),(0|(i=0|_[t+16>>2]))>0)do{n=i,i=i+-1|0,(0|_[(0|_[t+24>>2])+(80*i|0)+64>>2])==(0|e)&&Qe(t,i)}while((0|n)>1);zb[511&_[68+(0|_[t>>2])>>2]](t)},function(t,e){e|=0;var i,n,o,r,s=0,c=0;r=0|_[68+(t|=0)>>2],o=0|_[t+64>>2],n=0|_[t+72>>2],s=+p[t+60>>2]*(+p[e+(r<<2)>>2]/+p[t+12+(r<<2)>>2]),p[t+60>>2]=s,c=+p[t+56>>2]*(.5*(+p[e+(o<<2)>>2]/+p[t+12+(o<<2)>>2]+ +p[e+(n<<2)>>2]/+p[t+12+(n<<2)>>2])),p[t+56>>2]=c,c/=+l(+(s*s+c*c)),p[t+52>>2]=c,c=+d(+ +p[e>>2]),s=+d(+ +p[e+4>>2]),i=+d(+ +p[e+8>>2]),p[t+12>>2]=c,p[t+16>>2]=s,p[t+20>>2]=i,p[t+24>>2]=0},function(t,e){_[(t|=0)>>2]=0,_[t+4>>2]=1065353216,_[t+8>>2]=0,p[t+12>>2]=0},function(t,e){_[(t|=0)>>2]=0,_[t+4>>2]=0,_[t+8>>2]=1065353216,p[t+12>>2]=0},function(t,e){_[(t|=0)>>2]=1065353216,_[t+4>>2]=0,_[t+8>>2]=0,p[t+12>>2]=0},function(t,e){e|=0;var i,o,r,s,c=0;s=0|Lb[127&_[28+(0|_[(t|=0)>>2])>>2]](t),(r=+p[s>>2]-+p[e>>2])*r+(o=+p[s+4>>2]-+p[e+4>>2])*o+(i=+p[s+8>>2]-+p[e+8>>2])*i>1.1920928955078125e-7&&(Wt(t,e),0|n[t+61|0]&&(c=0|_[t+52>>2],zb[511&_[_[c>>2]>>2]](c),0|(c=0|_[t+52>>2]))?(_[6631]=1+(0|_[6631]),Li(0|_[c+-4>>2]),c=t+52|0):c=t+52|0,_[6630]=1+(0|_[6630]),(e=0|di(191))?(_[(e+4+15&-16)-4>>2]=e,e=e+4+15&-16):e=0,_[e+52>>2]=282,n[e+60|0]=0,n[e+80|0]=1,_[e+76>>2]=0,_[e+68>>2]=0,_[e+72>>2]=0,n[e+100|0]=1,_[e+96>>2]=0,_[e+88>>2]=0,_[e+92>>2]=0,n[e+120|0]=1,_[e+116>>2]=0,_[e+108>>2]=0,_[e+112>>2]=0,n[e+140|0]=1,_[e+136>>2]=0,_[e+128>>2]=0,_[e+132>>2]=0,_[e+144>>2]=0,n[e+164|0]=1,_[e+160>>2]=0,_[e+152>>2]=0,_[e+156>>2]=0,_[e+168>>2]=0,_[e+4>>2]=-8388609,_[e+8>>2]=-8388609,_[e+12>>2]=-8388609,p[e+16>>2]=0,_[e+20>>2]=2139095039,_[e+24>>2]=2139095039,_[e+28>>2]=2139095039,p[e+32>>2]=0,_[e>>2]=8976,_[c>>2]=e,Oi(e,0|_[t+48>>2],!!(0|n[t+60|0]),t+16|0,t+32|0),n[t+61|0]=1)},function(t,e){e|=0;var i=0,n=0;(i=0|_[52+(t|=0)>>2])&&(n=0|Lb[127&_[12+(0|_[i>>2])>>2]](i),n=0|Hb[63&_[16+(0|_[e>>2])>>2]](e,n,1),i=0|_[t+52>>2],i=0|Hb[63&_[16+(0|_[i>>2])>>2]](i,0|_[n+8>>2],e),ld[31&_[20+(0|_[e>>2])>>2]](e,n,i,1213612625,0|_[t+52>>2]))},function(t,e){e|=0;var i=0,n=0;(i=0|_[56+(t|=0)>>2])&&(n=0|Lb[127&_[8+(0|_[i>>2])>>2]](i),n=0|Hb[63&_[16+(0|_[e>>2])>>2]](e,n,1),i=0|_[t+56>>2],i=0|Hb[63&_[12+(0|_[i>>2])>>2]](i,0|_[n+8>>2],e),ld[31&_[20+(0|_[e>>2])>>2]](e,n,i,1346456916,0|_[t+56>>2]))},Wt,__,function(t,e){e|=0,_[12+(t|=0)>>2]=_[e>>2],_[t+12+4>>2]=_[e+4>>2],_[t+12+8>>2]=_[e+8>>2],_[t+12+12>>2]=_[e+12>>2],nn(t)},Sn,m_,function(t,e){var i;e|=0,i=4+(0|_[92+(t|=0)>>2])|0,_[i>>2]=_[e>>2],_[i+4>>2]=_[e+4>>2],_[i+8>>2]=_[e+8>>2],_[i+12>>2]=_[e+12>>2],nn(t)},Sn,function(t,e){e|=0;var i,r=0,s=0,p=0,c=0,a=0,b=0,d=0,l=0;i=Q,Q=Q+64|0,_[20+(t|=0)>>2]=_[e+16>>2],_[t+24>>2]=_[e+20>>2],_[t+28>>2]=_[e+24>>2],_[t+32>>2]=_[e+28>>2],_[t+4>>2]=_[e>>2],_[t+8>>2]=_[e+4>>2],_[t+12>>2]=_[e+8>>2],_[t+16>>2]=_[e+12>>2],_[t+36>>2]=_[e+32>>2],_[t+40>>2]=_[e+36>>2],_[t+44>>2]=_[e+40>>2],_[t+48>>2]=_[e+44>>2],_[t+56>>2]=_[e+48>>2],n[t+60|0]=1&!!(0|_[e+52>>2]),l=0|_[e+56>>2],b=(c=i)+64|0;do{_[c>>2]=0,c=c+4|0}while((0|c)<(0|b));if((0|(d=0|_[t+88>>2]))<(0|l)){if((0|_[t+92>>2])<(0|l)){if(l?(_[6630]=1+(0|_[6630]),(r=0|di(l<<6|19))?(_[(r+4+15&-16)-4>>2]=r,r=r+4+15&-16):r=0,p=0|_[t+88>>2]):(r=0,p=d),(0|p)>0){s=0;do{c=r+(s<<6)|0,a=(0|_[t+96>>2])+(s<<6)|0,b=c+64|0;do{_[c>>2]=_[a>>2],c=c+4|0,a=a+4|0}while((0|c)<(0|b));s=s+1|0}while((0|s)!=(0|p))}0|(s=0|_[t+96>>2])&&(0|n[t+100|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[s+-4>>2])),_[t+96>>2]=0),n[t+100|0]=1,_[t+96>>2]=r,_[t+92>>2]=l,s=t+96|0}else s=t+96|0;r=d;do{a=i,b=64+(c=(0|_[s>>2])+(r<<6)|0)|0;do{_[c>>2]=_[a>>2],c=c+4|0,a=a+4|0}while((0|c)<(0|b));r=r+1|0}while((0|r)!=(0|l))}if(_[t+88>>2]=l,(0|l)>0)for(p=0|_[t+96>>2],r=0|_[e+64>>2],s=0;_[p+(s<<6)+16>>2]=_[r+16>>2],_[p+(s<<6)+20>>2]=_[r+20>>2],_[p+(s<<6)+24>>2]=_[r+24>>2],_[p+(s<<6)+28>>2]=_[r+28>>2],_[p+(s<<6)>>2]=_[r>>2],_[p+(s<<6)+4>>2]=_[r+4>>2],_[p+(s<<6)+8>>2]=_[r+8>>2],_[p+(s<<6)+12>>2]=_[r+12>>2],_[p+(s<<6)+32>>2]=_[r+32>>2],_[p+(s<<6)+36>>2]=_[r+36>>2],_[p+(s<<6)+40>>2]=_[r+40>>2],(0|(s=s+1|0))!=(0|l);)r=r+48|0;if(a=0|_[e+60>>2],_[i>>2]=0,_[i+4>>2]=0,_[i+8>>2]=0,_[i+12>>2]=0,(0|(c=0|_[t+128>>2]))<(0|a)){if((0|_[t+132>>2])<(0|a)){if(a?(_[6630]=1+(0|_[6630]),(r=0|di(16+(a<<4|3)|0))?(_[(r+4+15&-16)-4>>2]=r,r=r+4+15&-16):r=0,p=0|_[t+128>>2]):(r=0,p=c),(0|p)>0){s=0;do{l=r+(s<<4)|0,d=(0|_[t+136>>2])+(s<<4)|0,_[l>>2]=_[d>>2],_[l+4>>2]=_[d+4>>2],_[l+8>>2]=_[d+8>>2],_[l+12>>2]=_[d+12>>2],s=s+1|0}while((0|s)!=(0|p))}0|(s=0|_[t+136>>2])&&(0|n[t+140|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[s+-4>>2])),_[t+136>>2]=0),n[t+140|0]=1,_[t+136>>2]=r,_[t+132>>2]=a,s=t+136|0}else s=t+136|0;r=c;do{l=(0|_[s>>2])+(r<<4)|0,_[l>>2]=_[i>>2],_[l+4>>2]=_[i+4>>2],_[l+8>>2]=_[i+8>>2],_[l+12>>2]=_[i+12>>2],r=r+1|0}while((0|r)!=(0|a))}if(_[t+128>>2]=a,(0|a)>0)for(p=0|_[t+136>>2],r=0,s=0|_[e+68>>2];_[p+(r<<4)+12>>2]=_[s+12>>2],o[p+(r<<4)+6>>1]=0|o[s+6>>1],o[p+(r<<4)+8>>1]=0|o[s+8>>1],o[p+(r<<4)+10>>1]=0|o[s+10>>1],o[p+(r<<4)>>1]=0|o[s>>1],o[p+(r<<4)+2>>1]=0|o[s+2>>1],o[p+(r<<4)+4>>1]=0|o[s+4>>1],(0|(r=r+1|0))!=(0|a);)s=s+16|0;if(_[t+144>>2]=_[e+76>>2],a=0|_[e+80>>2],(0|(c=0|_[t+152>>2]))<(0|a)){if((0|_[t+156>>2])<(0|a)){if(a?(_[6630]=1+(0|_[6630]),(r=0|di(a<<5|19))?(_[(r+4+15&-16)-4>>2]=r,r=r+4+15&-16):r=0,p=0|_[t+152>>2]):(r=0,p=c),(0|p)>0){s=0;do{l=r+(s<<5)|0,d=(0|_[t+160>>2])+(s<<5)|0,_[l>>2]=_[d>>2],_[l+4>>2]=_[d+4>>2],_[l+8>>2]=_[d+8>>2],_[l+12>>2]=_[d+12>>2],_[l+16>>2]=_[d+16>>2],_[l+20>>2]=_[d+20>>2],_[l+24>>2]=_[d+24>>2],_[l+28>>2]=_[d+28>>2],s=s+1|0}while((0|s)!=(0|p))}0|(s=0|_[t+160>>2])&&(0|n[t+164|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[s+-4>>2])),_[t+160>>2]=0),n[t+164|0]=1,_[t+160>>2]=r,_[t+156>>2]=a,s=t+160|0}else s=t+160|0;r=c;do{l=(0|_[s>>2])+(r<<5)|0,_[l>>2]=_[i>>2],_[l+4>>2]=_[i+4>>2],_[l+8>>2]=_[i+8>>2],_[l+12>>2]=_[i+12>>2],_[l+16>>2]=_[i+16>>2],_[l+20>>2]=_[i+20>>2],_[l+24>>2]=_[i+24>>2],_[l+28>>2]=_[i+28>>2],r=r+1|0}while((0|r)!=(0|a))}if(_[t+152>>2]=a,(0|a)<=0)Q=i;else{for(p=0|_[t+160>>2],s=0,r=0|_[e+72>>2];o[p+(s<<5)+6>>1]=0|o[r+14>>1],o[p+(s<<5)+8>>1]=0|o[r+16>>1],o[p+(s<<5)+10>>1]=0|o[r+18>>1],o[p+(s<<5)>>1]=0|o[r+8>>1],o[p+(s<<5)+2>>1]=0|o[r+10>>1],o[p+(s<<5)+4>>1]=0|o[r+12>>1],_[p+(s<<5)+12>>2]=_[r>>2],_[p+(s<<5)+16>>2]=_[r+4>>2],(0|(s=s+1|0))!=(0|a);)r=r+20|0;Q=i}},function(t,e){e|=0;var i,r=0,s=0,a=0,b=0,d=0,l=0,A=0,f=0;i=Q,Q=Q+64|0,p[20+(t|=0)>>2]=+c[e+32>>3],p[t+24>>2]=+c[e+40>>3],p[t+28>>2]=+c[e+48>>3],p[t+32>>2]=+c[e+56>>3],p[t+4>>2]=+c[e>>3],p[t+8>>2]=+c[e+8>>3],p[t+12>>2]=+c[e+16>>3],p[t+16>>2]=+c[e+24>>3],p[t+36>>2]=+c[e+64>>3],p[t+40>>2]=+c[e+72>>3],p[t+44>>2]=+c[e+80>>3],p[t+48>>2]=+c[e+88>>3],_[t+56>>2]=_[e+96>>2],n[t+60|0]=1&!!(0|_[e+100>>2]),f=0|_[e+104>>2],l=(b=i)+64|0;do{_[b>>2]=0,b=b+4|0}while((0|b)<(0|l));if((0|(A=0|_[t+88>>2]))<(0|f)){if((0|_[t+92>>2])<(0|f)){if(f?(_[6630]=1+(0|_[6630]),(r=0|di(f<<6|19))?(_[(r+4+15&-16)-4>>2]=r,r=r+4+15&-16):r=0,a=0|_[t+88>>2]):(r=0,a=A),(0|a)>0){s=0;do{b=r+(s<<6)|0,d=(0|_[t+96>>2])+(s<<6)|0,l=b+64|0;do{_[b>>2]=_[d>>2],b=b+4|0,d=d+4|0}while((0|b)<(0|l));s=s+1|0}while((0|s)!=(0|a))}0|(s=0|_[t+96>>2])&&(0|n[t+100|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[s+-4>>2])),_[t+96>>2]=0),n[t+100|0]=1,_[t+96>>2]=r,_[t+92>>2]=f,s=t+96|0}else s=t+96|0;r=A;do{d=i,l=64+(b=(0|_[s>>2])+(r<<6)|0)|0;do{_[b>>2]=_[d>>2],b=b+4|0,d=d+4|0}while((0|b)<(0|l));r=r+1|0}while((0|r)!=(0|f))}if(_[t+88>>2]=f,(0|f)>0)for(a=0|_[t+96>>2],r=0|_[e+112>>2],s=0;p[a+(s<<6)+16>>2]=+c[r+32>>3],p[a+(s<<6)+20>>2]=+c[r+40>>3],p[a+(s<<6)+24>>2]=+c[r+48>>3],p[a+(s<<6)+28>>2]=+c[r+56>>3],p[a+(s<<6)>>2]=+c[r>>3],p[a+(s<<6)+4>>2]=+c[r+8>>3],p[a+(s<<6)+8>>2]=+c[r+16>>3],p[a+(s<<6)+12>>2]=+c[r+24>>3],_[a+(s<<6)+32>>2]=_[r+64>>2],_[a+(s<<6)+36>>2]=_[r+68>>2],_[a+(s<<6)+40>>2]=_[r+72>>2],(0|(s=s+1|0))!=(0|f);)r=r+80|0;if(d=0|_[e+108>>2],_[i>>2]=0,_[i+4>>2]=0,_[i+8>>2]=0,_[i+12>>2]=0,(0|(b=0|_[t+128>>2]))<(0|d)){if((0|_[t+132>>2])<(0|d)){if(d?(_[6630]=1+(0|_[6630]),(r=0|di(16+(d<<4|3)|0))?(_[(r+4+15&-16)-4>>2]=r,r=r+4+15&-16):r=0,a=0|_[t+128>>2]):(r=0,a=b),(0|a)>0){s=0;do{f=r+(s<<4)|0,A=(0|_[t+136>>2])+(s<<4)|0,_[f>>2]=_[A>>2],_[f+4>>2]=_[A+4>>2],_[f+8>>2]=_[A+8>>2],_[f+12>>2]=_[A+12>>2],s=s+1|0}while((0|s)!=(0|a))}0|(s=0|_[t+136>>2])&&(0|n[t+140|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[s+-4>>2])),_[t+136>>2]=0),n[t+140|0]=1,_[t+136>>2]=r,_[t+132>>2]=d,s=t+136|0}else s=t+136|0;r=b;do{f=(0|_[s>>2])+(r<<4)|0,_[f>>2]=_[i>>2],_[f+4>>2]=_[i+4>>2],_[f+8>>2]=_[i+8>>2],_[f+12>>2]=_[i+12>>2],r=r+1|0}while((0|r)!=(0|d))}if(_[t+128>>2]=d,(0|d)>0)for(a=0|_[t+136>>2],r=0,s=0|_[e+116>>2];_[a+(r<<4)+12>>2]=_[s+12>>2],o[a+(r<<4)+6>>1]=0|o[s+6>>1],o[a+(r<<4)+8>>1]=0|o[s+8>>1],o[a+(r<<4)+10>>1]=0|o[s+10>>1],o[a+(r<<4)>>1]=0|o[s>>1],o[a+(r<<4)+2>>1]=0|o[s+2>>1],o[a+(r<<4)+4>>1]=0|o[s+4>>1],(0|(r=r+1|0))!=(0|d);)s=s+16|0;if(_[t+144>>2]=_[e+120>>2],d=0|_[e+124>>2],(0|(b=0|_[t+152>>2]))<(0|d)){if((0|_[t+156>>2])<(0|d)){if(d?(_[6630]=1+(0|_[6630]),(r=0|di(d<<5|19))?(_[(r+4+15&-16)-4>>2]=r,r=r+4+15&-16):r=0,a=0|_[t+152>>2]):(r=0,a=b),(0|a)>0){s=0;do{f=r+(s<<5)|0,A=(0|_[t+160>>2])+(s<<5)|0,_[f>>2]=_[A>>2],_[f+4>>2]=_[A+4>>2],_[f+8>>2]=_[A+8>>2],_[f+12>>2]=_[A+12>>2],_[f+16>>2]=_[A+16>>2],_[f+20>>2]=_[A+20>>2],_[f+24>>2]=_[A+24>>2],_[f+28>>2]=_[A+28>>2],s=s+1|0}while((0|s)!=(0|a))}0|(s=0|_[t+160>>2])&&(0|n[t+164|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[s+-4>>2])),_[t+160>>2]=0),n[t+164|0]=1,_[t+160>>2]=r,_[t+156>>2]=d,s=t+160|0}else s=t+160|0;r=b;do{f=(0|_[s>>2])+(r<<5)|0,_[f>>2]=_[i>>2],_[f+4>>2]=_[i+4>>2],_[f+8>>2]=_[i+8>>2],_[f+12>>2]=_[i+12>>2],_[f+16>>2]=_[i+16>>2],_[f+20>>2]=_[i+20>>2],_[f+24>>2]=_[i+24>>2],_[f+28>>2]=_[i+28>>2],r=r+1|0}while((0|r)!=(0|d))}if(_[t+152>>2]=d,(0|d)<=0)Q=i;else{for(a=0|_[t+160>>2],s=0,r=0|_[e+128>>2];o[a+(s<<5)+6>>1]=0|o[r+14>>1],o[a+(s<<5)+8>>1]=0|o[r+16>>1],o[a+(s<<5)+10>>1]=0|o[r+18>>1],o[a+(s<<5)>>1]=0|o[r+8>>1],o[a+(s<<5)+2>>1]=0|o[r+10>>1],o[a+(s<<5)+4>>1]=0|o[r+12>>1],_[a+(s<<5)+12>>2]=_[r>>2],_[a+(s<<5)+16>>2]=_[r+4>>2],(0|(s=s+1|0))!=(0|d);)r=r+20|0;Q=i}},function(t,e){e|=0,_[108+(t|=0)>>2]=_[e>>2],_[t+108+4>>2]=_[e+4>>2],_[t+108+8>>2]=_[e+8>>2],_[t+108+12>>2]=_[e+12>>2]},Sn,m_,_a,_a,function(t,e){e|=0;var i=0,o=0,r=0,s=0,p=0;if(0|n[165+(t|=0)|0]){if((0|_[t+92>>2])>=(0|e))return;if(0|e&&(_[6630]=1+(0|_[6630]),0|(i=0|di(16+(e<<4|3)|0)))?(_[(i+4+15&-16)-4>>2]=i,r=i+4+15&-16):r=0,(0|(o=0|_[t+88>>2]))>0){i=0;do{p=r+(i<<4)|0,s=(0|_[t+96>>2])+(i<<4)|0,_[p>>2]=_[s>>2],_[p+4>>2]=_[s+4>>2],_[p+8>>2]=_[s+8>>2],_[p+12>>2]=_[s+12>>2],i=i+1|0}while((0|i)!=(0|o))}return 0|(i=0|_[t+96>>2])&&(0|n[t+100|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[i+-4>>2])),_[t+96>>2]=0),n[t+100|0]=1,_[t+96>>2]=r,void(_[t+92>>2]=e)}if(!((0|_[t+112>>2])>=(0|e))){if(0|e&&(_[6630]=1+(0|_[6630]),0|(o=0|di(16+(e<<2|3)|0)))?(_[(o+4+15&-16)-4>>2]=o,s=o+4+15&-16):s=0,o=0|_[t+108>>2],r=0|_[t+116>>2],(0|o)<=0)r?p=23:i=t+120|0;else{i=0;do{_[s+(i<<2)>>2]=_[r+(i<<2)>>2],i=i+1|0}while((0|i)!=(0|o));p=23}23==(0|p)&&(0|n[t+120|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[r+-4>>2])),_[t+116>>2]=0,i=t+120|0),n[0|i]=1,_[t+116>>2]=s,_[t+112>>2]=e}},function(t,e){e|=0;var i=0,r=0,s=0,p=0,c=0;if(0|n[164+(t|=0)|0]){if((0|_[t+132>>2])>=(0|e))return;if(0|e&&(_[6630]=1+(0|_[6630]),0|(i=0|di(16+(e<<2|3)|0)))?(_[(i+4+15&-16)-4>>2]=i,p=i+4+15&-16):p=0,r=0|_[t+128>>2],s=0|_[t+136>>2],(0|r)<=0)s?c=11:i=t+140|0;else{i=0;do{_[p+(i<<2)>>2]=_[s+(i<<2)>>2],i=i+1|0}while((0|i)!=(0|r));c=11}return 11==(0|c)&&(0|n[t+140|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[s+-4>>2])),_[t+136>>2]=0,i=t+140|0),n[0|i]=1,_[t+136>>2]=p,void(_[t+132>>2]=e)}if(!((0|_[t+152>>2])>=(0|e))){if(0|e&&(_[6630]=1+(0|_[6630]),0|(r=0|di(19+(e<<1)|0)))?(_[(r+4+15&-16)-4>>2]=r,p=r+4+15&-16):p=0,r=0|_[t+148>>2],s=0|_[t+156>>2],(0|r)<=0)s?c=24:i=t+160|0;else{i=0;do{o[p+(i<<1)>>1]=0|o[s+(i<<1)>>1],i=i+1|0}while((0|i)!=(0|r));c=24}return 24==(0|c)&&(0|n[t+160|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[s+-4>>2])),_[t+156>>2]=0,i=t+160|0),n[0|i]=1,_[t+156>>2]=p,void(_[t+152>>2]=e)}},function(t,e){e|=0;var i=0,o=0,r=0,p=0,c=0,a=0,b=0,d=0,l=0,A=0,f=0;if(A=0|_[92+(t|=0)>>2],0|Lb[127&_[56+(0|_[A>>2])>>2]](A)){if(A=0|_[t+92>>2],A=0|Lb[127&_[28+(0|_[A>>2])>>2]](A),(0|(i=0|_[A+4>>2]))>1?(He(A,0,i+-1|0),c=0|_[A+4>>2]):c=i,i=c-(d=0|_[t+104>>2])|0,(0|d)<0){if((0|_[A+8>>2])<(0|i)){if(i?(_[6630]=1+(0|_[6630]),(o=0|di(16+(i<<4|3)|0))?(_[(o+4+15&-16)-4>>2]=o,o=o+4+15&-16):o=0,p=0|_[A+4>>2]):(o=0,p=c),(0|p)>0){r=0;do{d=0|_[A+12>>2],_[o+(r<<4)>>2]=_[d+(r<<4)>>2],_[o+(r<<4)+4>>2]=_[d+(r<<4)+4>>2],_[o+(r<<4)+8>>2]=_[d+(r<<4)+8>>2],_[o+(r<<4)+12>>2]=_[d+(r<<4)+12>>2],r=r+1|0}while((0|r)!=(0|p))}0|(r=0|_[A+12>>2])&&(0|n[A+16|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[r+-4>>2])),_[A+12>>2]=0),n[A+16|0]=1,_[A+12>>2]=o,_[A+8>>2]=i,r=A+12|0}else r=A+12|0;o=c;do{d=(0|_[r>>2])+(o<<4)|0,o=o+1|0,_[d>>2]=0,_[d+4>>2]=0,_[d+8>>2]=0,_[d+12>>2]=0}while((0|o)!=(0|i))}if(_[A+4>>2]=i,_[t+104>>2]=0,(0|i)>0){b=0,d=0,o=0,r=0;do{a=0|_[A+12>>2],f=d,(0|(d=0|_[(c=a+(b<<4)|0)>>2]))==(0|f)&(0|(p=0|_[(a=a+(b<<4)+4|0)>>2]))==(0|o)?(i=o,l=30):(o=d+48|0,(0|s[(f=d+54|0)>>1])>=(0|s[p+48>>1])&&(0|s[p+54>>1])>=(0|s[o>>1])&&(0|s[f+2>>1])>=(0|s[p+48+2>>1])&&(0|s[p+54+2>>1])>=(0|s[o+2>>1])&&(0|s[f+4>>1])>=(0|s[p+52>>1])&&(0|s[p+54+4>>1])>=(0|s[d+52>>1])?o=p:(i=p,l=30)),30==(0|l)&&(l=0,r=0|_[t+92>>2],rd[127&_[32+(0|_[r>>2])>>2]](r,c,e),_[c>>2]=0,_[a>>2]=0,r=1+(0|_[t+104>>2])|0,_[t+104>>2]=r,_[6606]=(0|_[6606])-1,o=i,i=0|_[A+4>>2]),b=b+1|0}while((0|b)<(0|i));if((0|i)>1?(He(A,0,i+-1|0),r=0|_[t+104>>2],o=0|_[A+4>>2]):o=i,i=o-r|0,(0|r)<0){if((0|_[A+8>>2])<(0|i)){if(i?(_[6630]=1+(0|_[6630]),(r=0|di(16+(i<<4|3)|0))?(_[(r+4+15&-16)-4>>2]=r,r=r+4+15&-16):r=0,c=0|_[A+4>>2]):(r=0,c=o),(0|c)>0){p=0;do{f=0|_[A+12>>2],_[r+(p<<4)>>2]=_[f+(p<<4)>>2],_[r+(p<<4)+4>>2]=_[f+(p<<4)+4>>2],_[r+(p<<4)+8>>2]=_[f+(p<<4)+8>>2],_[r+(p<<4)+12>>2]=_[f+(p<<4)+12>>2],p=p+1|0}while((0|p)!=(0|c))}0|(p=0|_[A+12>>2])&&(0|n[A+16|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[p+-4>>2])),_[A+12>>2]=0),n[A+16|0]=1,_[A+12>>2]=r,_[A+8>>2]=i}do{f=(0|_[A+12>>2])+(o<<4)|0,o=o+1|0,_[f>>2]=0,_[f+4>>2]=0,_[f+8>>2]=0,_[f+12>>2]=0}while((0|o)!=(0|i))}}_[A+4>>2]=i,_[t+104>>2]=0}},function(t,e){e|=0;var i,n=0;if(!(0|o[56+(t|=0)>>1])){if(o[t+64>>1]=1,e=0|o[t+58>>1],i=0|_[t+60>>2],(65535&e)>1){n=1;do{e=n,n=n+1|0,o[i+(e<<6)+48>>1]=n,e=0|s[t+58>>1]}while(n>>>0<e>>>0)}else e&=65535;o[i+(e+-1<<6)+48>>1]=0}},_a,_a,_a,function(t,e){e|=0,_[24+(t|=0)>>2]=e},ap,function(t,e){t|=0,e|=0;var i,o=0,r=0,s=0,p=0,c=0,a=0,b=0,d=0,l=0,A=0,f=0;if(i=Q,Q=Q+32|0,n[i+16|0]=1,_[i+12>>2]=0,_[i+4>>2]=0,_[i+8>>2]=0,(0|_[t+8>>2])>0){for(d=0,s=0,p=0,o=0,r=0;;){if(A=(l=0|_[t+16>>2])+(d<<4)|0,(0|s)==(0|r))if((0|r)<(0|(b=0|r?r<<1:1))){if(b?(_[6630]=1+(0|_[6630]),(o=0|di(16+(b<<4|3)|0))?(_[(o+4+15&-16)-4>>2]=o,p=o+4+15&-16,r=s):(p=0,r=s)):p=0,(0|r)>0){o=0;do{a=0|_[i+12>>2],_[p+(o<<4)>>2]=_[a+(o<<4)>>2],_[p+(o<<4)+4>>2]=_[a+(o<<4)+4>>2],_[p+(o<<4)+8>>2]=_[a+(o<<4)+8>>2],_[p+(o<<4)+12>>2]=_[a+(o<<4)+12>>2],o=o+1|0}while((0|o)!=(0|r))}(o=0|_[i+12>>2])?(0|n[i+16|0]?(_[6631]=1+(0|_[6631]),Li(0|_[o+-4>>2])):s=r,_[i+12>>2]=0):s=r,n[i+16|0]=1,_[i+12>>2]=p,a=b,c=s,o=b}else a=r,c=r;else a=r,c=s;if(_[p+(c<<4)>>2]=_[A>>2],_[p+(c<<4)+4>>2]=_[l+(d<<4)+4>>2],_[p+(c<<4)+8>>2]=_[l+(d<<4)+8>>2],_[p+(c<<4)+12>>2]=_[l+(d<<4)+12>>2],s=c+1|0,(0|(d=d+1|0))>=(0|_[t+8>>2]))break;r=a}if(_[i+4>>2]=s,_[i+8>>2]=o,(0|c)>-1)for(r=0|_[i+12>>2],o=0;Zb[31&_[12+(0|_[t>>2])>>2]](t,0|_[r+(o<<4)>>2],0|_[r+(o<<4)+4>>2],e),(0|o)<(0|c);)o=o+1|0}else s=0;if((0|_[t+56>>2])>0){r=0|_[t+64>>2],o=0;do{_[r+(o<<2)>>2]=-1,o=o+1|0}while((0|o)<(0|_[t+56>>2]))}if((0|s)<=1)if((0|s)<=0){if(!(o=0|_[i+12>>2]))return void(Q=i)}else f=26;else He(i,0,s+-1|0),f=26;if(26==(0|f)){o=0|_[i+12>>2],r=0;do{Hb[63&_[8+(0|_[t>>2])>>2]](t,0|_[o+(r<<4)>>2],0|_[o+(r<<4)+4>>2]),r=r+1|0}while((0|r)<(0|s))}_[6631]=1+(0|_[6631]),Li(0|_[o+-4>>2]),_[i+12>>2]=0,Q=i},function(t,e){e|=0;var i,o=0,r=0,s=0,c=0,a=0,b=0,d=0,l=0,A=0,f=0,u=0,m=0;if(i=Q,Q=Q+32|0,dt(4+(t|=0)|0,1+((0|g(0|_[t+152>>2],0|_[t+16>>2]))/100|0)|0),0|_[t+164>>2]&&(dt(t+64|0,f=1+((0|g(0|_[t+148>>2],0|_[t+76>>2]))/100|0)|0),f=(0|_[t+164>>2])-f|0,_[t+164>>2]=(0|f)>0?f:0),r=(1+(0|_[t+144>>2])|0)%2|0,_[t+144>>2]=r,0|(r=0|_[t+124+(r<<2)>>2])){do{if(d=r,r=0|_[(a=r+56|0)>>2],s=(s=0|_[d+52>>2])?s+56|0:t+124+(_[d+60>>2]<<2)|0,_[s>>2]=r,0|(s=0|_[a>>2])&&(_[s+52>>2]=_[d+52>>2]),_[d+52>>2]=0,_[a>>2]=_[t+132>>2],0|(s=0|_[t+132>>2])&&(_[s+52>>2]=d),_[t+132>>2]=d,Tt(t+4|0,s=0|_[d+48>>2]),0|(a=0|_[t+8>>2])&&(_[6631]=1+(0|_[6631]),Li(0|_[a+-4>>2])),_[t+8>>2]=s,_[t+16>>2]=(0|_[t+16>>2])-1,_[i>>2]=_[d+16>>2],_[i+4>>2]=_[d+16+4>>2],_[i+8>>2]=_[d+16+8>>2],_[i+12>>2]=_[d+16+12>>2],_[i+16>>2]=_[d+32>>2],_[i+16+4>>2]=_[d+32+4>>2],_[i+16+8>>2]=_[d+32+8>>2],_[i+16+12>>2]=_[d+32+12>>2],s=0|_[t+68>>2])_[t+68>>2]=0;else{_[6630]=1+(0|_[6630]),(s=0|di(63))?(_[(s+4+15&-16)-4>>2]=s,s=s+4+15&-16):s=0,b=(a=s)+44|0;do{_[a>>2]=0,a=a+4|0}while((0|a)<(0|b))}_[s+32>>2]=0,_[s+36>>2]=d,_[s+40>>2]=0,_[s>>2]=_[i>>2],_[s+4>>2]=_[i+4>>2],_[s+8>>2]=_[i+8>>2],_[s+12>>2]=_[i+12>>2],_[s+16>>2]=_[i+16>>2],_[s+20>>2]=_[i+20>>2],_[s+24>>2]=_[i+24>>2],_[s+28>>2]=_[i+28>>2],U(t+64|0,0|_[t+64>>2],s),a=1+(0|_[t+76>>2])|0,_[t+76>>2]=a,_[d+48>>2]=s,_[d+60>>2]=2}while(0|r);_[t+164>>2]=a,n[t+194|0]=1}if(_[i>>2]=9900,_[i+4>>2]=t,0|n[t+193|0]&&(Ne(t+4|0,0|_[t+4>>2],0|_[t+64>>2],i),0|n[t+193|0])&&Ne(t+4|0,f=0|_[t+4>>2],f,i),0|n[t+194|0]&&(l=0|_[t+136>>2],l=0|Lb[127&_[28+(0|_[l>>2])>>2]](l),(0|(o=0|_[l+4>>2]))>0)){if(r=(0|g(0|_[t+156>>2],o))/100|0,(0|(r=(0|o)<(0|(r=(0|(f=0|_[t+160>>2]))>(0|r)?f:r))?o:r))>0){s=0;do{b=((0|_[t+184>>2])+s|0)%(0|o)|0,A=0|_[l+12>>2],a=0|_[A+(b<<4)>>2],b=0|_[A+(b<<4)+4>>2],A=0|_[a+48>>2],f=0|_[b+48>>2],+p[A>>2]<=+p[f+16>>2]&&+p[A+16>>2]>=+p[f>>2]&&+p[A+4>>2]<=+p[f+20>>2]&&+p[A+20>>2]>=+p[f+4>>2]&&+p[A+8>>2]<=+p[f+24>>2]&&+p[A+24>>2]>=+p[f+8>>2]||(o=0|_[t+136>>2],Zb[31&_[12+(0|_[o>>2])>>2]](o,a,b,e),s=s+-1|0,r=r+-1|0,o=0|_[l+4>>2]),s=s+1|0}while((0|s)<(0|r));(0|o)>0?u=37:o=0}else u=37;37==(0|u)&&(o=((0|_[t+184>>2])+r|0)%(0|o)|0),_[t+184>>2]=o}if(_[t+180>>2]=1+(0|_[t+180>>2]),_[t+160>>2]=1,n[t+194|0]=0,r=0|_[t+168>>2],o=0|_[t+172>>2],c=r?+(o>>>0)/+(r>>>0):0,p[t+176>>2]=c,_[t+172>>2]=o>>>1,_[t+168>>2]=r>>>1,f=0|_[t+136>>2],0|Lb[127&_[56+(0|_[f>>2])>>2]](f)){if(f=0|_[t+136>>2],f=0|Lb[127&_[28+(0|_[f>>2])>>2]](f),(0|(o=0|_[f+4>>2]))>1&&(He(f,0,o+-1|0),o=0|_[f+4>>2]),(0|o)>0){for(l=0,d=0,A=0,r=0;a=0|_[f+12>>2],m=A,(0|(A=0|_[(s=a+(l<<4)|0)>>2]))==(0|m)&(0|(b=0|_[(a=a+(l<<4)+4|0)>>2]))==(0|r)?u=53:(r=0|_[A+48>>2],m=0|_[b+48>>2],+p[r>>2]<=+p[m+16>>2]&&+p[r+16>>2]>=+p[m>>2]&&+p[r+4>>2]<=+p[m+20>>2]&&+p[r+20>>2]>=+p[m+4>>2]&&+p[r+8>>2]<=+p[m+24>>2]&&+p[r+24>>2]>=+p[m+8>>2]?(s=d,r=b):(r=b,u=53)),53==(0|u)&&(u=0,o=0|_[t+136>>2],rd[127&_[32+(0|_[o>>2])>>2]](o,s,e),_[s>>2]=0,_[a>>2]=0,s=d+1|0,o=0|_[f+4>>2]),!((0|(l=l+1|0))>=(0|o));)d=s;if((0|o)>1&&(He(f,0,o+-1|0),o=0|_[f+4>>2]),b=o-s|0,(0|s)<0){if((0|_[f+8>>2])<(0|b)){if(b?(_[6630]=1+(0|_[6630]),(r=0|di(16+(b<<4|3)|0))?(_[(r+4+15&-16)-4>>2]=r,r=r+4+15&-16):r=0,a=0|_[f+4>>2]):(r=0,a=o),(0|a)>0){s=0;do{m=0|_[f+12>>2],_[r+(s<<4)>>2]=_[m+(s<<4)>>2],_[r+(s<<4)+4>>2]=_[m+(s<<4)+4>>2],_[r+(s<<4)+8>>2]=_[m+(s<<4)+8>>2],_[r+(s<<4)+12>>2]=_[m+(s<<4)+12>>2],s=s+1|0}while((0|s)!=(0|a))}0|(s=0|_[f+12>>2])&&(0|n[f+16|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[s+-4>>2])),_[f+12>>2]=0),n[f+16|0]=1,_[f+12>>2]=r,_[f+8>>2]=b}do{m=(0|_[f+12>>2])+(o<<4)|0,o=o+1|0,_[m>>2]=0,_[m+4>>2]=0,_[m+8>>2]=0,_[m+12>>2]=0}while((0|o)!=(0|b));o=b}else o=b}_[f+4>>2]=o,Q=i}else Q=i},function(t,e){e|=0,(0|_[16+(t|=0)>>2])==(0-(0|_[t+76>>2])|0)&&(0|(e=0|_[t+4>>2])&&Yn(t+4|0,e),0|(e=0|_[t+8>>2])&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+8>>2]=0,_[t+12>>2]=-1,0|(e=0|_[t+36>>2])&&(0|n[t+40|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+36>>2]=0),n[t+40|0]=1,_[t+36>>2]=0,_[t+28>>2]=0,_[t+32>>2]=0,_[t+20>>2]=0,0|(e=0|_[t+64>>2])&&Yn(t+64|0,e),0|(e=0|_[t+68>>2])&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+68>>2]=0,_[t+72>>2]=-1,0|(e=0|_[t+96>>2])&&(0|n[t+100|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+96>>2]=0),n[t+100|0]=1,_[t+96>>2]=0,_[t+88>>2]=0,_[t+92>>2]=0,_[t+80>>2]=0,n[t+193|0]=0,n[t+194|0]=1,_[t+144>>2]=0,_[t+164>>2]=0,_[t+148>>2]=1,_[t+152>>2]=0,_[t+156>>2]=10,_[t+160>>2]=1,_[t+124>>2]=0,_[t+124+4>>2]=0,_[t+124+8>>2]=0,_[t+168>>2]=0,_[t+168+4>>2]=0,_[t+168+8>>2]=0,_[t+168+12>>2]=0,_[t+168+16>>2]=0,_[t+168+20>>2]=0)},function(t,e){e|=0,rd[127&_[8+(0|_[(t|=0)>>2])>>2]](t,e,0|_[48+(0|_[t+8>>2])>>2])},X_,X_,_a,qi,_a,_a,fb,fb,fb,fb,fb,fb,fb,fb],nd=[Xa,function(t,e,i){t|=0,e|=0,i=+i;var n,o,r=0;n=Q,Q=Q+288|0,p[n+280>>2]=i,r=0|Ya(e),_[n+264>>2]=_[r>>2],_[n+264+4>>2]=_[r+4>>2],_[n+264+8>>2]=_[r+8>>2],_[n+264+12>>2]=_[r+12>>2],r=0|_[8+(0|_[t>>2])>>2],o=0|vb(e),p[n+212>>2]=0,p[n+208>>2]=0,R_(n+216|0,n+280|0,n+212|0,n+208|0),Fn(n+232|0,o,+p[n+216>>2],+p[n+216+4>>2],+p[n+216+8>>2]),Bo(n+248|0,+p[n+264>>2],+p[n+264+4>>2],+p[n+264+8>>2],+p[n+232>>2],+p[n+232+4>>2],+p[n+232+8>>2]),p[n+184>>2]=.699999988079071,p[n+180>>2]=0,p[n+176>>2]=0,R_(n+192|0,n+184|0,n+180|0,n+176|0),cd[127&r](t,n+264|0,n+248|0,n+192|0),e=0|_[8+(0|_[t>>2])>>2],p[n+124>>2]=0,p[n+120>>2]=0,R_(n+128|0,n+124|0,n+280|0,n+120|0),Fn(n+144|0,o,+p[n+128>>2],+p[n+128+4>>2],+p[n+128+8>>2]),Bo(n+160|0,+p[n+264>>2],+p[n+264+4>>2],+p[n+264+8>>2],+p[n+144>>2],+p[n+144+4>>2],+p[n+144+8>>2]),p[n+96>>2]=0,p[n+92>>2]=.699999988079071,p[n+88>>2]=0,R_(n+104|0,n+96|0,n+92|0,n+88|0),cd[127&e](t,n+264|0,n+160|0,n+104|0),e=0|_[8+(0|_[t>>2])>>2],p[n+36>>2]=0,p[n+32>>2]=0,R_(n+40|0,n+36|0,n+32|0,n+280|0),Fn(n+56|0,o,+p[n+40>>2],+p[n+40+4>>2],+p[n+40+8>>2]),Bo(n+72|0,+p[n+264>>2],+p[n+264+4>>2],+p[n+264+8>>2],+p[n+56>>2],+p[n+56+4>>2],+p[n+56+8>>2]),p[n+8>>2]=0,p[n+4>>2]=0,p[n>>2]=.699999988079071,R_(n+16|0,n+8|0,n+4|0,n),cd[127&e](t,n+264|0,n+72|0,n+16|0),Q=n},function(t,e,i){e|=0,i=+i,id[127&_[12+(0|_[(t|=0)>>2])>>2]](t,e)},function(t,e,i){i=+i,Kb[31&_[16+(0|_[(t|=0)>>2])>>2]](t,i)},function(t,e,i){e|=0,i=+i,id[127&_[32+(0|_[(t|=0)>>2])>>2]](t,e),nd[7&_[36+(0|_[t>>2])>>2]](t,e,i)},function(t,e,i){e|=0,i=+i;var o,r,s=0,c=0,a=0;n[171+(t|=0)|0]=0,_[t+60>>2]=_[e>>2],_[t+60+4>>2]=_[e+4>>2],_[t+60+8>>2]=_[e+8>>2],_[t+60+12>>2]=_[e+12>>2],s=+p[t+60>>2],c=+p[t+64>>2],o=+p[t+68>>2],r=1/+l(+(s*s+c*c+o*o)),+l(+(o*r*(o*r)+(s*r*(s*r)+c*r*(c*r))))<1.1920928955078125e-7?(a=0,c=0,s=0,e=0):(a=s*r,c*=r,s=o*r,e=0|_[t+72>>2]),p[t+76>>2]=a,p[t+80>>2]=c,p[t+84>>2]=s,_[t+88>>2]=e,p[t+172>>2]=+p[t+172>>2]+i},function(t,e,i){e|=0,i=+i;var r,s=0,c=0,a=0,b=0,l=0,A=0,f=0,u=0,m=0,h=0,y=0,g=0;if(r=Q,Q=Q+528|0,0|n[171+(t|=0)|0]||!(+p[t+172>>2]<=0)){if(u=1&Lb[127&_[48+(0|_[t>>2])>>2]](t),n[t+168|0]=u,c=+p[t+16>>2]-+p[t+44>>2]*i,p[t+16>>2]=c,c>0&&c>(a=+p[t+28>>2])&&(p[t+16>>2]=a,c=a),c<0&&(h=+d(+c))>(b=+d(+ +p[t+24>>2]))&&(p[t+16>>2]=-b,c=-b),p[t+20>>2]=c*i,u=0|_[t+8>>2],_[r>>2]=_[u+4>>2],_[r+4>>2]=_[u+4+4>>2],_[r+8>>2]=_[u+4+8>>2],_[r+12>>2]=_[u+4+12>>2],_[r+16>>2]=_[u+20>>2],_[r+16+4>>2]=_[u+20+4>>2],_[r+16+8>>2]=_[u+20+8>>2],_[r+16+12>>2]=_[u+20+12>>2],_[r+32>>2]=_[u+36>>2],_[r+32+4>>2]=_[u+36+4>>2],_[r+32+8>>2]=_[u+36+8>>2],_[r+32+12>>2]=_[u+36+12>>2],_[r+48>>2]=_[u+52>>2],_[r+48+4>>2]=_[u+52+4>>2],_[r+48+8>>2]=_[u+52+8>>2],_[r+48+12>>2]=_[u+52+12>>2],!(0|n[24512])&&0|Qs(24512)&&(_[5552]=1065353216,_[5553]=0,_[5554]=0,_[5555]=0,_[5556]=0,_[5557]=1065353216,_[5558]=0,_[5559]=0,_[5560]=0,_[5561]=0,_[5562]=1065353216,p[5563]=0),u=0|_[t+176>>2],b=+p[t+20>>2],b=+p[t+52>>2]+(b>0?b:0),m=+p[22208+(u<<4)+4>>2]*b+ +p[t+96>>2],h=b*+p[22208+(u<<4)+8>>2]+ +p[t+100>>2],p[t+112>>2]=+p[t+92>>2]+ +p[22208+(u<<4)>>2]*b,p[t+116>>2]=m,p[t+120>>2]=h,p[t+124>>2]=0,_[r+456>>2]=1065353216,_[r+456+4>>2]=0,_[r+456+4+4>>2]=0,_[r+456+4+8>>2]=0,_[r+456+4+12>>2]=0,_[r+456+20>>2]=1065353216,_[r+456+24>>2]=0,_[r+456+24+4>>2]=0,_[r+456+24+8>>2]=0,_[r+456+24+12>>2]=0,_[r+456+40>>2]=1065353216,_[(u=r+456+44|0)>>2]=0,_[u+4>>2]=0,_[u+8>>2]=0,_[u+12>>2]=0,_[u+16>>2]=0,_[r+392>>2]=1065353216,_[r+392+4>>2]=0,_[r+392+4+4>>2]=0,_[r+392+4+8>>2]=0,_[r+392+4+12>>2]=0,_[r+392+20>>2]=1065353216,_[r+392+24>>2]=0,_[r+392+24+4>>2]=0,_[r+392+24+8>>2]=0,_[r+392+24+12>>2]=0,_[r+392+40>>2]=1065353216,_[(u=r+392+44|0)>>2]=0,_[u+4>>2]=0,_[u+8>>2]=0,_[u+12>>2]=0,_[u+16>>2]=0,!(0|n[24512])&&0|Qs(24512)&&(_[5552]=1065353216,_[5553]=0,_[5554]=0,_[5555]=0,_[5556]=0,_[5557]=1065353216,_[5558]=0,_[5559]=0,_[5560]=0,_[5561]=0,_[5562]=1065353216,p[5563]=0),s=0|_[t+176>>2],u=0|_[t+12>>2],b=+Bb[15&_[48+(0|_[u>>2])>>2]](u),m=(b+=+p[t+56>>2])*+p[22208+(s<<4)+4>>2]+ +p[t+96>>2],h=b*+p[22208+(s<<4)+8>>2]+ +p[t+100>>2],p[r+456+48>>2]=+p[22208+(s<<4)>>2]*b+ +p[t+92>>2],p[r+456+52>>2]=m,p[r+456+56>>2]=h,p[r+456+60>>2]=0,_[r+392+48>>2]=_[t+112>>2],_[r+392+48+4>>2]=_[t+112+4>>2],_[r+392+48+8>>2]=_[t+112+8>>2],_[r+392+48+12>>2]=_[t+112+12>>2],s=0|_[t+8>>2],!(0|n[24512])&&0|Qs(24512)&&(_[5552]=1065353216,_[5553]=0,_[5554]=0,_[5555]=0,_[5556]=0,_[5557]=1065353216,_[5558]=0,_[5559]=0,_[5560]=0,_[5561]=0,_[5562]=1065353216,p[5563]=0),u=0|_[t+176>>2],b=-+p[22208+(u<<4)>>2],m=-+p[22208+(u<<4)+4>>2],h=-+p[22208+(u<<4)+8>>2],p[r+288+4>>2]=1,u=r+288+12|0,_[r+288+76>>2]=0,_[u>>2]=0,_[u+4>>2]=0,_[u+8>>2]=0,_[u+12>>2]=0,_[u+16>>2]=0,_[u+20>>2]=0,_[u+24>>2]=0,_[u+28>>2]=0,_[r+288>>2]=5836,_[r+288+80>>2]=s,p[r+288+84>>2]=b,p[r+288+88>>2]=m,p[r+288+92>>2]=h,p[r+288+96>>2]=0,p[r+288+100>>2]=.707099974155426,s=0|_[t+8>>2],u=0|_[s+188>>2],o[r+288+8>>1]=0|o[u+4>>1],o[r+288+10>>1]=0|o[u+6>>1],0|n[t+170|0]?Vi(s,0|_[t+12>>2],r+456|0,r+392|0,r+288|0,+p[e+56>>2]):we(e,0|_[t+12>>2],r+456|0,r+392|0,r+288|0,0),+p[r+288+4>>2]<1){!(0|n[24512])&&0|Qs(24512)&&(_[5552]=1065353216,_[5553]=0,_[5554]=0,_[5555]=0,_[5556]=0,_[5557]=1065353216,_[5558]=0,_[5559]=0,_[5560]=0,_[5561]=0,_[5562]=1065353216,p[5563]=0),u=0|_[t+176>>2];do{if(+p[r+288+44>>2]*+p[22208+(u<<4)>>2]+ +p[r+288+48>>2]*+p[22208+(u<<4)+4>>2]+ +p[r+288+52>>2]*+p[22208+(u<<4)+8>>2]>0){if(c=+p[r+288+4>>2],p[t+108>>2]=+p[t+52>>2]*c,0|n[t+180|0]){p[t+92>>2]=(1-c)*+p[t+92>>2]+c*+p[t+112>>2],p[t+96>>2]=(1-c)*+p[t+96>>2]+c*+p[t+116>>2],p[t+100>>2]=(1-c)*+p[t+100>>2]+c*+p[t+120>>2];break}_[t+92>>2]=_[t+112>>2],_[t+92+4>>2]=_[t+112+4>>2],_[t+92+8>>2]=_[t+112+8>>2],_[t+92+12>>2]=_[t+112+12>>2];break}}while(0);p[t+16>>2]=0,p[t+20>>2]=0}else _[t+108>>2]=_[t+52>>2],_[t+92>>2]=_[t+112>>2],_[t+92+4>>2]=_[t+112+4>>2],_[t+92+8>>2]=_[t+112+8>>2],_[t+92+12>>2]=_[t+112+12>>2];0|n[t+171|0]?Te(t,e,+p[t+60>>2],+p[t+64>>2],+p[t+68>>2]):(h=(m=+p[t+172>>2])>i?i:m,p[t+172>>2]=m-i,Te(t,e,h*+p[t+60>>2],h*+p[t+64>>2],h*+p[t+68>>2])),_[r+272>>2]=_[t+112>>2],_[r+272+4>>2]=_[t+112+4>>2],_[r+272+8>>2]=_[t+112+8>>2],_[r+272+12>>2]=_[t+112+12>>2],c=((c=+p[t+16>>2])<0?-c:0)*i;do{if(c>0&&c>(A=+p[t+24>>2])){if(!(0|n[t+168|0])&&0|n[t+169|0])break;c=A}}while(0);for(!(0|n[24512])&&0|Qs(24512)&&(_[5552]=1065353216,_[5553]=0,_[5554]=0,_[5555]=0,_[5556]=0,_[5557]=1065353216,_[5558]=0,_[5559]=0,_[5560]=0,_[5561]=0,_[5562]=1065353216,p[5563]=0),s=0|_[t+176>>2],h=c+ +p[t+108>>2],A=+p[22208+(s<<4)>>2]*h,m=h*+p[22208+(s<<4)+4>>2],h*=+p[22208+(s<<4)+8>>2],p[t+112>>2]=+p[t+112>>2]-A,p[t+116>>2]=+p[t+116>>2]-m,p[t+120>>2]=+p[t+120>>2]-h,s=0|_[t+8>>2],!(0|n[24512])&&0|Qs(24512)&&(_[5552]=1065353216,_[5553]=0,_[5554]=0,_[5555]=0,_[5556]=0,_[5557]=1065353216,_[5558]=0,_[5559]=0,_[5560]=0,_[5561]=0,_[5562]=1065353216,p[5563]=0),l=22208+(_[t+176>>2]<<4)|0,f=0|_[t+40>>2],p[(u=r+168+4|0)>>2]=1,g=r+168+12|0,_[r+168+76>>2]=0,_[g>>2]=0,_[g+4>>2]=0,_[g+8>>2]=0,_[g+12>>2]=0,_[g+16>>2]=0,_[g+20>>2]=0,_[g+24>>2]=0,_[g+28>>2]=0,_[r+168>>2]=5836,_[r+168+80>>2]=s,_[r+168+84>>2]=_[l>>2],_[r+168+84+4>>2]=_[l+4>>2],_[r+168+84+8>>2]=_[l+8>>2],_[r+168+84+12>>2]=_[l+12>>2],_[r+168+100>>2]=f,s=0|_[t+8>>2],f=0|_[s+188>>2],o[r+168+8>>1]=0|o[f+4>>1],o[r+168+10>>1]=0|o[f+6>>1],!(0|n[24512])&&0|Qs(24512)&&(_[5552]=1065353216,_[5553]=0,_[5554]=0,_[5555]=0,_[5556]=0,_[5557]=1065353216,_[5558]=0,_[5559]=0,_[5560]=0,_[5561]=0,_[5562]=1065353216,p[5563]=0),f=22208+(_[t+176>>2]<<4)|0,g=0|_[t+40>>2],p[r+64+4>>2]=1,l=r+64+12|0,_[r+64+76>>2]=0,_[l>>2]=0,_[l+4>>2]=0,_[l+8>>2]=0,_[l+12>>2]=0,_[l+16>>2]=0,_[l+20>>2]=0,_[l+24>>2]=0,_[l+28>>2]=0,_[r+64>>2]=5836,_[r+64+80>>2]=s,_[r+64+84>>2]=_[f>>2],_[r+64+84+4>>2]=_[f+4>>2],_[r+64+84+8>>2]=_[f+8>>2],_[r+64+84+12>>2]=_[f+12>>2],_[r+64+100>>2]=g,s=0|_[188+(0|_[t+8>>2])>>2],o[r+64+8>>1]=0|o[s+4>>1],o[r+64+10>>1]=0|o[s+6>>1],s=0,c=+p[t+112>>2],a=+p[t+116>>2],b=+p[t+120>>2];_[r+456>>2]=1065353216,_[r+456+4>>2]=0,_[r+456+4+4>>2]=0,_[r+456+4+8>>2]=0,_[r+456+4+12>>2]=0,_[r+456+20>>2]=1065353216,_[r+456+24>>2]=0,_[r+456+24+4>>2]=0,_[r+456+24+8>>2]=0,_[r+456+24+12>>2]=0,_[r+456+40>>2]=1065353216,_[r+456+44>>2]=0,_[r+392>>2]=1065353216,_[r+392+4>>2]=0,_[r+392+4+4>>2]=0,_[r+392+4+8>>2]=0,_[r+392+4+12>>2]=0,_[r+392+20>>2]=1065353216,_[r+392+24>>2]=0,_[r+392+24+4>>2]=0,_[r+392+24+8>>2]=0,_[r+392+24+12>>2]=0,_[r+392+40>>2]=1065353216,_[r+392+44>>2]=0,_[r+288>>2]=1065353216,_[r+288+4>>2]=0,_[r+288+4+4>>2]=0,_[r+288+4+8>>2]=0,_[r+288+4+12>>2]=0,_[r+288+20>>2]=1065353216,_[r+288+24>>2]=0,_[r+288+24+4>>2]=0,_[r+288+24+8>>2]=0,_[r+288+24+12>>2]=0,_[r+288+40>>2]=1065353216,_[r+288+44>>2]=0,_[r+456+48>>2]=_[t+92>>2],_[r+456+48+4>>2]=_[t+92+4>>2],_[r+456+48+8>>2]=_[t+92+8>>2],_[r+456+48+12>>2]=_[t+92+12>>2],_[r+392+48>>2]=_[t+112>>2],_[r+392+48+4>>2]=_[t+112+4>>2],_[r+392+48+8>>2]=_[t+112+8>>2],_[r+392+48+12>>2]=_[t+112+12>>2],p[r+288+48>>2]=c-A,p[r+288+52>>2]=a-m,p[r+288+56>>2]=b-h,p[r+288+60>>2]=0,0|n[t+170|0]?(Vi(0|_[t+8>>2],0|_[t+12>>2],r+456|0,r+392|0,r+168|0,+p[e+56>>2]),+p[u>>2]<1||Vi(0|_[t+8>>2],0|_[t+12>>2],r+456|0,r+288|0,r+64|0,+p[e+56>>2])):(we(e,0|_[t+12>>2],r+456|0,r+392|0,r+168|0,+p[e+56>>2]),+p[u>>2]<1||we(e,0|_[t+12>>2],r+456|0,r+288|0,r+64|0,+p[e+56>>2])),a=((a=+p[t+16>>2])<0?-a:0)*i,l=!(f=!(0|n[t+182|0]))&&+p[u>>2]<1?1:+p[r+64+4>>2]<1,a>0&&!(s|!(a<(c=+p[t+52>>2]))|1^l);){if(!(0|n[t+168|0])&&0|n[t+169|0]){s=0;break}_[t+112>>2]=_[r+272>>2],_[t+112+4>>2]=_[r+272+4>>2],_[t+112+8>>2]=_[r+272+8>>2],_[t+112+12>>2]=_[r+272+12>>2];do{if(!(0|n[24512])){if(!(0|Qs(24512)))break;_[5552]=1065353216,_[5553]=0,_[5554]=0,_[5555]=0,_[5556]=0,_[5557]=1065353216,_[5558]=0,_[5559]=0,_[5560]=0,_[5561]=0,_[5562]=1065353216,p[5563]=0}}while(0);s=0|_[t+176>>2],a=(c+=+p[t+108>>2])*+p[22208+(s<<4)+4>>2],b=c*+p[22208+(s<<4)+8>>2],c=+p[t+112>>2]-+p[22208+(s<<4)>>2]*c,p[t+112>>2]=c,a=+p[t+116>>2]-a,p[t+116>>2]=a,b=+p[t+120>>2]-b,p[t+120>>2]=b,s=1}if(s|(b=+p[u>>2])<1){a=.5*((c=+p[t+96>>2])-+p[r+168+64>>2]);do{if(!f){if(0|n[t+181|0]){p[t+92>>2]=(1-b)*+p[t+92>>2]+b*+p[t+112>>2],p[t+96>>2]=c*(1-b)+b*+p[t+116>>2],p[t+100>>2]=(1-b)*+p[t+100>>2]+b*+p[t+120>>2],s=t+181|0;break}p[t+92>>2]=(1-a)*+p[t+92>>2]+a*+p[t+112>>2],p[t+96>>2]=c*(1-a)+a*+p[t+116>>2],p[t+100>>2]=(1-a)*+p[t+100>>2]+a*+p[t+120>>2],s=t+181|0;break}p[t+92>>2]=(1-b)*+p[t+92>>2]+b*+p[t+112>>2],p[t+96>>2]=c*(1-b)+b*+p[t+116>>2],p[t+100>>2]=(1-b)*+p[t+100>>2]+b*+p[t+120>>2],s=t+181|0}while(0);n[0|s]=0,p[t+16>>2]=0,p[t+20>>2]=0,n[t+169|0]=0}else{n[t+181|0]=1;do{if(!f&&a>(y=+p[t+24>>2])){if(!(0|n[t+168|0])&&0|n[t+169|0])break;p[t+112>>2]=A+ +p[t+112>>2],p[t+116>>2]=m+ +p[t+116>>2],p[t+120>>2]=h+ +p[t+120>>2];do{if(!(0|n[24512])){if(!(0|Qs(24512)))break;_[5552]=1065353216,_[5553]=0,_[5554]=0,_[5555]=0,_[5556]=0,_[5557]=1065353216,_[5558]=0,_[5559]=0,_[5560]=0,_[5561]=0,_[5562]=1065353216,p[5563]=0}}while(0);g=0|_[t+176>>2],i=(h=y+ +p[t+108>>2])*+p[22208+(g<<4)+4>>2],y=h*+p[22208+(g<<4)+8>>2],p[t+112>>2]=+p[t+112>>2]-+p[22208+(g<<4)>>2]*h,p[t+116>>2]=+p[t+116>>2]-i,p[t+120>>2]=+p[t+120>>2]-y}}while(0);_[t+92>>2]=_[t+112>>2],_[t+92+4>>2]=_[t+112+4>>2],_[t+92+8>>2]=_[t+112+8>>2],_[t+92+12>>2]=_[t+112+12>>2]}_[r+48>>2]=_[t+92>>2],_[r+48+4>>2]=_[t+92+4>>2],_[r+48+8>>2]=_[t+92+8>>2],_[r+48+12>>2]=_[t+92+12>>2],g=0|_[t+8>>2],_[g+260>>2]=1+(0|_[g+260>>2]),_[g+4>>2]=_[r>>2],_[g+4+4>>2]=_[r+4>>2],_[g+4+8>>2]=_[r+8>>2],_[g+4+12>>2]=_[r+12>>2],_[g+20>>2]=_[r+16>>2],_[g+20+4>>2]=_[r+16+4>>2],_[g+20+8>>2]=_[r+16+8>>2],_[g+20+12>>2]=_[r+16+12>>2],_[g+36>>2]=_[r+32>>2],_[g+36+4>>2]=_[r+32+4>>2],_[g+36+8>>2]=_[r+32+8>>2],_[g+36+12>>2]=_[r+32+12>>2],_[g+52>>2]=_[r+48>>2],_[g+52+4>>2]=_[r+48+4>>2],_[g+52+8>>2]=_[r+48+8>>2],_[g+52+12>>2]=_[r+48+12>>2],Q=r}else Q=r},Xa],od=[function(t,e,i,n){i=+i,v(28)},function(t,e,i,n){var o;t|=0,e|=0,i=+i,n|=0,o=Q,Q=Q+64|0,Ho(o),p_(o,e),ed[1&_[16+(0|_[t>>2])>>2]](t,i,o,n),Q=o},function(t,e,i,n){i=+i},function(t,e,i,n){if(t|=0,e|=0,i=+i,(n|=0)>>>0<3)switch(0|e){case 2:return p[t+756+(n<<2)>>2]=i,void(_[t+1304>>2]=_[t+1304>>2]|4<<3*n);case 4:return p[t+772+(n<<2)>>2]=i,void(_[t+1304>>2]=_[t+1304>>2]|2<<3*n);case 3:return p[t+740+(n<<2)>>2]=i,void(_[t+1304>>2]=_[t+1304>>2]|1<<3*n);default:return}if(!((n+-3|0)>>>0>=3))switch(0|e){case 2:return p[t+868+(n+-3<<6)+32>>2]=i,void(_[t+1304>>2]=_[t+1304>>2]|4<<3*n);case 4:return p[t+868+(n+-3<<6)+36>>2]=i,void(_[t+1304>>2]=_[t+1304>>2]|2<<3*n);case 3:return p[t+868+(n+-3<<6)+28>>2]=i,void(_[t+1304>>2]=_[t+1304>>2]|1<<3*n);default:return}},function(t,e,i,n){if(t|=0,e|=0,i=+i,-1==(0|(n|=0)))switch(0|e){case 2:case 1:return p[t+336>>2]=i,void(_[t+332>>2]=1|_[t+332>>2]);case 4:case 3:return p[t+340>>2]=i,void(_[t+332>>2]=2|_[t+332>>2]);default:return}},function(t,e,i,n){switch(t|=0,i=+i,n|=0,0|(e|=0)){case 2:if((0|n)<1)return p[t+232>>2]=i,void(_[t+300>>2]=512|_[t+300>>2]);if((0|n)<3)return p[t+264>>2]=i,void(_[t+300>>2]=32|_[t+300>>2]);if(3==(0|n))return p[t+248>>2]=i,void(_[t+300>>2]=2048|_[t+300>>2]);if((0|n)>=6)return;return p[t+280>>2]=i,void(_[t+300>>2]=128|_[t+300>>2]);case 3:if((0|n)<1)return p[t+212>>2]=i,void(_[t+300>>2]=1|_[t+300>>2]);if(3!=(0|n))return;return p[t+228>>2]=i,void(_[t+300>>2]=4|_[t+300>>2]);case 4:if((0|n)<1)return p[t+244>>2]=i,void(_[t+300>>2]=256|_[t+300>>2]);if((0|n)<3)return p[t+276>>2]=i,void(_[t+300>>2]=16|_[t+300>>2]);if(3==(0|n))return p[t+260>>2]=i,void(_[t+300>>2]=1024|_[t+300>>2]);if((0|n)>=6)return;return p[t+292>>2]=i,void(_[t+300>>2]=64|_[t+300>>2]);default:return}},function(t,e,i,n){switch(t|=0,i=+i,n|=0,0|(e|=0)){case 2:case 1:return n>>>0<3?(p[t+600>>2]=i,void(_[t+592>>2]=2|_[t+592>>2])):void(p[t+432>>2]=i);case 4:case 3:return n>>>0<3?(p[t+596>>2]=i,void(_[t+592>>2]=1|_[t+592>>2])):(p[t+604>>2]=i,void(_[t+592>>2]=4|_[t+592>>2]));default:return}},function(t,e,i,n){switch(t|=0,e|=0,i=+i,0|(n|=0)){case 5:case-1:break;default:return}switch(0|e){case 2:return p[t+760>>2]=i,void(_[t+748>>2]=2|_[t+748>>2]);case 4:return p[t+756>>2]=i,void(_[t+748>>2]=1|_[t+748>>2]);case 3:return p[t+752>>2]=i,void(_[t+748>>2]=4|_[t+748>>2]);default:return}}],_d=[function(t,e,i,n,o){i=+i,v(29)},function(t,e,i,n,o){var r,s,c;t|=0,i=+i,n|=0,o|=0,r=Q,Q=Q+240|0,Mo(r+224|0,+p[(e|=0)>>2],+p[e+4>>2],+p[e+8>>2],i),function(t,e,i){e|=0,i|=0;var n=0,o=0,_=0,r=0;t=0|vb(t|=0),+function(t){return+ +d(+(t=+t))}(n=+p[t+8>>2])>.7071067690849304?(o=1/+db((_=+p[t+4>>2])*_+n*n),e=0|vb(e),p[e>>2]=0,p[e+4>>2]=-+p[t+8>>2]*o,p[e+8>>2]=+p[t+4>>2]*o,i=0|vb(i),p[i>>2]=(_*_+n*n)*o,p[i+4>>2]=-+p[t>>2]*+p[e+8>>2],p[i+8>>2]=+p[t>>2]*+p[e+4>>2]):(_=1/+db((n=+p[t>>2])*n+(o=+p[t+4>>2])*o),e=0|vb(e),p[e>>2]=-o*_,r=+p[t>>2]*_,p[e+4>>2]=r,p[e+8>>2]=0,r=-+p[t+8>>2]*r,i=0|vb(i),p[i>>2]=r,p[i+4>>2]=+p[t+8>>2]*+p[e>>2],p[i+8>>2]=(n*n+o*o)*_)}(e,r+208|0,r+192|0),Mo(r+160|0,+p[r+208>>2],+p[r+208+4>>2],+p[r+208+8>>2],100),Bo(r+176|0,c=+p[r+224>>2],s=+p[r+224+4>>2],i=+p[r+224+8>>2],+p[r+160>>2],+p[r+160+4>>2],+p[r+160+8>>2]),Mo(r+128|0,+p[r+208>>2],+p[r+208+4>>2],+p[r+208+8>>2],100),Fo(r+144|0,c,s,i,+p[r+128>>2],+p[r+128+4>>2],+p[r+128+8>>2]),Mo(r+96|0,+p[r+192>>2],+p[r+192+4>>2],+p[r+192+8>>2],100),Bo(r+112|0,c,s,i,+p[r+96>>2],+p[r+96+4>>2],+p[r+96+8>>2]),Mo(r+64|0,+p[r+192>>2],+p[r+192+4>>2],+p[r+192+8>>2],100),Fo(r+80|0,c,s,i,+p[r+64>>2],+p[r+64+4>>2],+p[r+64+8>>2]),e=0|_[8+(0|_[t>>2])>>2],Zr(r+48|0,n,+p[r+176>>2],+p[r+176+4>>2],+p[r+176+8>>2]),Zr(r+32|0,n,+p[r+144>>2],+p[r+144+4>>2],+p[r+144+8>>2]),cd[127&e](t,r+48|0,r+32|0,o),e=0|_[8+(0|_[t>>2])>>2],Zr(r+16|0,n,+p[r+112>>2],+p[r+112+4>>2],+p[r+112+8>>2]),Zr(r,n,+p[r+80>>2],+p[r+80+4>>2],+p[r+80+8>>2]),cd[127&e](t,r+16|0,r,o),Q=r}],rd=[Za,function(t,e,i){O(3,0|(t|=0),0|(e|=0),0|(i|=0))},jc,function(t,e,i){t|=0,i|=0;var o,r=0,s=0,p=0;if(o=0|_[4+(e|=0)>>2],(0|(r=0|_[t+24>>2]))<(0|o)){if((0|_[t+28>>2])<(0|o)){if(o?(_[6630]=1+(0|_[6630]),(i=0|di(16+(o<<2|3)|0))?(_[(i+4+15&-16)-4>>2]=i,i=i+4+15&-16):i=0,p=0|_[t+24>>2]):(i=0,p=r),(0|p)>0){s=0;do{_[i+(s<<2)>>2]=_[(0|_[t+32>>2])+(s<<2)>>2],s=s+1|0}while((0|s)!=(0|p))}0|(s=0|_[t+32>>2])&&(0|n[t+36|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[s+-4>>2])),_[t+32>>2]=0),n[t+36|0]=1,_[t+32>>2]=i,_[t+28>>2]=o,i=t+32|0}else i=t+32|0;do{_[(0|_[i>>2])+(r<<2)>>2]=0,r=r+1|0}while((0|r)!=(0|o))}else i=t+32|0;if(_[t+24>>2]=o,r=0|_[i>>2],!((0|o)<=0)){i=0;do{_[r+(i<<2)>>2]=_[(0|_[e+12>>2])+(i<<2)>>2],i=i+1|0}while((0|i)!=(0|o))}},function(t,e,i){t|=0,i|=0;var n=0,o=0,r=0,s=0,c=0;switch(t=Q,Q=Q+144|0,15&_[388+(e|=0)>>2]){case 1:return _[t+112>>2]=4212,r=0|_[i+8>>2],r=2&_[r+236>>2]?r:0,s=0|_[i+12>>2],c=+p[s+48>>2],n=+p[s+52>>2],o=+p[s+56>>2],o=+l(+((c-c)*(c-c)+(n-n)*(n-n)+(o-o)*(o-o))),s=0|_[e+192>>2],n=+Bb[15&_[48+(0|_[s>>2])>>2]](s),s=0|_[i+4>>2],cd[127&_[8+(0|_[s>>2])>>2]](s,0|_[i+12>>2],t+96|0,t+64|0),_[t>>2]=_[t+96>>2],_[t+4>>2]=_[t+96+4>>2],_[t+8>>2]=_[t+96+8>>2],_[t+12>>2]=_[t+96+12>>2],_[t+16>>2]=_[t+64>>2],_[t+16+4>>2]=_[t+64+4>>2],_[t+16+8>>2]=_[t+64+8>>2],_[t+16+12>>2]=_[t+64+12>>2],_[t+32>>2]=_[t>>2],_[t+32+4>>2]=_[t+4>>2],_[t+32+8>>2]=_[t+8>>2],_[t+32+12>>2]=_[t+12>>2],_[t+32+16>>2]=_[t+16>>2],_[t+32+20>>2]=_[t+20>>2],_[t+32+24>>2]=_[t+24>>2],_[t+32+28>>2]=_[t+28>>2],p[t+32>>2]=+p[t+32>>2]-n,p[t+32+4>>2]=+p[t+32+4>>2]-n,p[t+32+8>>2]=+p[t+32+8>>2]-n,p[t+32+16>>2]=n+ +p[t+32+16>>2],p[t+32+20>>2]=n+ +p[t+32+20>>2],p[t+32+24>>2]=n+ +p[t+32+24>>2],_[t+112+4>>2]=e,_[t+112+8>>2]=i,_[t+112+12>>2]=r,p[t+112+16>>2]=n+o,p[t+112+20>>2]=n,ci(0|_[e+928>>2],t+32|0,t+112|0),void(Q=t);case 2:return p[t+4>>2]=1,_[t+8+4>>2]=0,_[t+8+4+4>>2]=0,_[t+8+4+8>>2]=0,_[t>>2]=4248,_[t+24>>2]=e,_[t+28>>2]=i,_[t+8>>2]=_[e+456>>2],s=0|_[i+4>>2],c=+Bb[15&_[48+(0|_[s>>2])>>2]](s),s=0|_[e+192>>2],c+=+Bb[15&_[48+(0|_[s>>2])>>2]](s),p[t+12>>2]=c,o=+p[224+(0|_[i+8>>2])>>2],p[t+112>>2]=o,_[t+16>>2]=_[(+p[e+316>>2]<o?e+316:t+112)>>2],s=0|_[i+4>>2],cd[127&_[8+(0|_[s>>2])>>2]](s,0|_[i+12>>2],t+112|0,t+96|0),_[t+32>>2]=_[t+112>>2],_[t+32+4>>2]=_[t+112+4>>2],_[t+32+8>>2]=_[t+112+8>>2],_[t+32+12>>2]=_[t+112+12>>2],_[t+32+16>>2]=_[t+96>>2],_[t+32+16+4>>2]=_[t+96+4>>2],_[t+32+16+8>>2]=_[t+96+8>>2],_[t+32+16+12>>2]=_[t+96+12>>2],_[t+64>>2]=_[t+32>>2],_[t+64+4>>2]=_[t+32+4>>2],_[t+64+8>>2]=_[t+32+8>>2],_[t+64+12>>2]=_[t+32+12>>2],_[t+64+16>>2]=_[t+32+16>>2],_[t+64+20>>2]=_[t+32+20>>2],_[t+64+24>>2]=_[t+32+24>>2],_[t+64+28>>2]=_[t+32+28>>2],p[t+64>>2]=+p[t+64>>2]-c,p[t+64+4>>2]=+p[t+64+4>>2]-c,p[t+64+8>>2]=+p[t+64+8>>2]-c,p[t+64+16>>2]=c+ +p[t+64+16>>2],p[t+64+20>>2]=c+ +p[t+64+20>>2],p[t+64+24>>2]=c+ +p[t+64+24>>2],ci(0|_[e+1048>>2],t+64|0,t),void(Q=t);default:return void(Q=t)}},function(t,e,i){ie(e|=0,i|=0)},function(t,e,i){t|=0,e|=0;var n,o,r=0,s=0,p=0,c=0,a=0;if(!(0|Lb[127&_[16+(0|_[(i|=0)>>2])>>2]](i))){if(o=0|_[e+712>>2],n=0|Lb[127&_[36+(0|_[i>>2])>>2]](i),0|Lb[127&_[8+(0|_[i>>2])>>2]](i)&&(r=0|Lb[127&_[20+(0|_[i>>2])>>2]](i),p=0|Lb[127&_[24+(0|_[i>>2])>>2]](i),(0|o)>0))for(s=0|_[e+720>>2],t=n+(r<<2)|0,r=0;a=0|_[s+(104*r|0)+12>>2],c=0|_[s+(104*r|0)+16>>2],_[t>>2]=_[s+(104*r|0)+8>>2],_[t+4>>2]=a,_[t+8>>2]=c,(0|(r=r+1|0))!=(0|o);)t=t+(p<<2)|0;if(0|Lb[127&_[12+(0|_[i>>2])>>2]](i)&&(t=0|Lb[127&_[28+(0|_[i>>2])>>2]](i),p=0|Lb[127&_[32+(0|_[i>>2])>>2]](i),!((0|o)<=0)))for(s=0|_[e+720>>2],t=n+(t<<2)|0,r=0;c=0|_[s+(104*r|0)+76>>2],a=0|_[s+(104*r|0)+80>>2],_[t>>2]=_[s+(104*r|0)+72>>2],_[t+4>>2]=c,_[t+8>>2]=a,(0|(r=r+1|0))!=(0|o);)t=t+(p<<2)|0}},function(t,e,i){t|=0,i|=0,_[(e|=0)>>2]=_[t+892>>2],_[e+4>>2]=_[t+892+4>>2],_[e+8>>2]=_[t+892+8>>2],_[e+12>>2]=_[t+892+12>>2],_[i>>2]=_[t+908>>2],_[i+4>>2]=_[t+908+4>>2],_[i+8>>2]=_[t+908+8>>2],_[i+12>>2]=_[t+908+12>>2]},jc,function(t,e,i){var n,o,r,s,c,a,b,d,A;t|=0,e|=0,i|=0,n=Q,Q=Q+96|0,_[n+32>>2]=1065353216,_[n+32+4>>2]=0,_[n+32+4+4>>2]=0,_[n+32+4+8>>2]=0,_[n+32+4+12>>2]=0,_[n+32+20>>2]=1065353216,_[n+32+24>>2]=0,_[n+32+24+4>>2]=0,_[n+32+24+8>>2]=0,_[n+32+24+12>>2]=0,_[n+32+40>>2]=1065353216,_[(A=n+32+44|0)>>2]=0,_[A+4>>2]=0,_[A+8>>2]=0,_[A+12>>2]=0,_[A+16>>2]=0,cd[127&_[8+(0|_[t>>2])>>2]](t,n+32|0,n+16|0,n),b=+p[n>>2],a=+p[n+16>>2],c=+p[n+4>>2],s=+p[n+16+4>>2],r=+p[n+8>>2],o=+p[n+16+8>>2],d=.5*+l(+((b-a)*(b-a)+(c-s)*(c-s)+(r-o)*(r-o))),p[i>>2]=d,p[e>>2]=.5*(b+a),p[e+4>>2]=.5*(c+s),p[e+8>>2]=.5*(r+o),p[e+12>>2]=0,Q=n},function(t,e,i){t|=0,i|=0;var n,o,r,s=0,c=0,a=0,b=0,d=0;if(b=0|_[52+(e|=0)>>2],d=0|_[b+32>>2],e=0|_[d>>2],r=+p[i>>2],o=+p[i+4>>2],n=+p[i+8>>2],(0|(b=0|_[b+24>>2]))<=1)return d=(d=e)+8|0,_[t>>2]=_[d>>2],_[t+4>>2]=_[d+4>>2],_[t+8>>2]=_[d+8>>2],void(_[t+12>>2]=_[d+12>>2]);for(i=0,a=1,s=r*+p[e+8>>2]+o*+p[e+12>>2]+n*+p[e+16>>2];e=0|_[d+(a<<2)>>2],i=(e=(c=r*+p[e+8>>2]+o*+p[e+12>>2]+n*+p[e+16>>2])>s)?a:i,(0|(a=a+1|0))!=(0|b);)s=e?c:s;d=8+(d=0|_[d+(i<<2)>>2])|0,_[t>>2]=_[d>>2],_[t+4>>2]=_[d+4>>2],_[t+8>>2]=_[d+8>>2],_[t+12>>2]=_[d+12>>2]},function(t,e,i){t|=0,i|=0,rd[127&_[64+(0|_[(e|=0)>>2])>>2]](t,e,i)},jc,function(t,e,i){t|=0,i|=0;var o,r=0,s=0,c=0,a=0,b=0,d=0,l=0;if(o=Q,Q=Q+384|0,r=0|_[36+(e|=0)>>2],e=0|_[i+36>>2],(0|(i=0|_[t+24>>2]))==(0|_[t+28>>2])&&0|_[i+1132>>2]&&(a=(0|g(0|_[e+380>>2],0|_[i+1112>>2]))+(0|_[r+380>>2])|0,0|n[(0|_[i+1140>>2])+a|0]))return _[6293]=1+(0|_[6293]),void(Q=o);if(_[o+328+4>>2]=35,_[o+328+8>>2]=0,_[o+328+12>>2]=1065353216,_[o+328+16>>2]=1065353216,_[o+328+20>>2]=1065353216,p[o+328+24>>2]=0,_[o+328>>2]=4284,_[o+328+52>>2]=r,p[o+328+44>>2]=0,_[o+272+4>>2]=35,_[o+272+8>>2]=0,_[o+272+12>>2]=1065353216,_[o+272+16>>2]=1065353216,_[o+272+20>>2]=1065353216,p[o+272+24>>2]=0,_[o+272>>2]=4284,_[o+272+52>>2]=e,p[o+272+44>>2]=0,!(0|n[24408])&&0|Qs(24408)&&(!(0|n[24416])&&0|Qs(24416)&&(_[6222]=1065353216,_[6223]=0,_[6224]=0,_[6225]=0,_[6226]=0,_[6227]=1065353216,_[6228]=0,_[6229]=0,_[6230]=0,_[6231]=0,_[6232]=1065353216,p[6233]=0),_[6206]=_[6222],_[6207]=_[6223],_[6208]=_[6224],_[6209]=_[6225],_[6210]=_[6226],_[6211]=_[6227],_[6212]=_[6228],_[6213]=_[6229],_[6214]=_[6230],_[6215]=_[6231],_[6216]=_[6232],_[6217]=_[6233],_[6218]=0,_[6219]=0,_[6220]=0,_[6221]=0),!(0|n[24408])&&0|Qs(24408)&&(!(0|n[24416])&&0|Qs(24416)&&(_[6222]=1065353216,_[6223]=0,_[6224]=0,_[6225]=0,_[6226]=0,_[6227]=1065353216,_[6228]=0,_[6229]=0,_[6230]=0,_[6231]=0,_[6232]=1065353216,p[6233]=0),_[6206]=_[6222],_[6207]=_[6223],_[6208]=_[6224],_[6209]=_[6225],_[6210]=_[6226],_[6211]=_[6227],_[6212]=_[6228],_[6213]=_[6229],_[6214]=_[6230],_[6215]=_[6231],_[6216]=_[6232],_[6217]=_[6233],_[6218]=0,_[6219]=0,_[6220]=0,_[6221]=0),l=+p[r+232>>2]-+p[e+232>>2],d=+p[r+236>>2]-+p[e+236>>2],p[o>>2]=+p[r+228>>2]-+p[e+228>>2],p[o+4>>2]=l,p[o+8>>2]=d,p[o+12>>2]=0,(0|Se(o+328|0,24824,o+272|0,24824,o,o+216|0)||0|gi(o+328|0,24824,o+272|0,24824,o,o+216|0,0))&&(s=19),19==(0|s)&&(_[o+4>>2]=0,_[o+4+4>>2]=0,_[o+4+8>>2]=0,_[o+4+12>>2]=0,_[o+4+16>>2]=0,_[o+4+20>>2]=0,n[o+152|0]=0,_[o>>2]=4104,0|Ii(t,o+216|0,r,0,0,e,0,0,o))){_[6630]=1+(0|_[6630]),(e=0|di(235))?(_[(e+4+15&-16)-4>>2]=e,a=e+4+15&-16):a=0,e=a+152|0,wn(0|(i=a+4|0),0,212),_[a>>2]=4104,r=o+4|0,s=i+100|0;do{_[i>>2]=_[r>>2],i=i+4|0,r=r+4|0}while((0|i)<(0|s));_[(i=a+104|0)>>2]=_[o+104>>2],_[i+4>>2]=_[o+104+4>>2],_[i+8>>2]=_[o+104+8>>2],_[i+12>>2]=_[o+104+12>>2],_[(i=a+120|0)>>2]=_[o+120>>2],_[i+4>>2]=_[o+120+4>>2],_[i+8>>2]=_[o+120+8>>2],_[i+12>>2]=_[o+120+12>>2],_[(i=a+136|0)>>2]=_[o+136>>2],_[i+4>>2]=_[o+136+4>>2],_[i+8>>2]=_[o+136+8>>2],_[i+12>>2]=_[o+136+12>>2],n[0|e]=0|n[o+152|0],r=o+156|0,s=60+(i=a+156|0)|0;do{_[i>>2]=_[r>>2],i=i+4|0,r=r+4|0}while((0|i)<(0|s));if(s=0|_[t+24>>2],c=a,(0|(e=0|_[s+852>>2]))==(0|_[s+856>>2])&&(0|e)<(0|(b=0|e?e<<1:1))){if(b?(_[6630]=1+(0|_[6630]),(e=0|di(16+(b<<2|3)|0))?(_[(e+4+15&-16)-4>>2]=e,e=e+4+15&-16):e=0,r=e,e=0|_[s+852>>2]):r=0,(0|e)>0){i=0;do{_[r+(i<<2)>>2]=_[(0|_[s+860>>2])+(i<<2)>>2],i=i+1|0}while((0|i)!=(0|e))}(i=0|_[s+860>>2])&&(0|n[s+864|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[i+-4>>2]),e=0|_[s+852>>2]),_[s+860>>2]=0),n[s+864|0]=1,_[s+860>>2]=r,_[s+856>>2]=b}_[(0|_[s+860>>2])+(e<<2)>>2]=c,_[s+852>>2]=e+1,c=0|_[t+24>>2],b=0|_[t+28>>2],d=+p[c+348>>2],l=+p[b+348>>2],p[(t=a+64|0)>>2]=+p[t>>2]*(d>l?d:l),p[(t=a+68|0)>>2]=+p[t>>2]*(.5*(+p[c+360>>2]+ +p[b+360>>2]))}Q=o},function(t,e,i){t|=0,i|=0;var o,r,s,c,a,b,d,A,f,u,m,h,y,g,C,v,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0,O=0,x=0,T=0,P=0,V=0,M=0,G=0,L=0,N=0,Q=0,E=0,H=0,Z=0,U=0,Y=0,J=0,X=0,z=0;v=0|_[36+(e|=0)>>2],C=0|_[i+36>>2],a=+p[v+8>>2],d=+p[v+12>>2],b=+p[v+16>>2],w=0|_[C+8>>2],m=+p[w+8>>2],h=+p[w+12>>2],y=+p[w+16>>2],e=0|_[C+12>>2],A=+p[e+8>>2],f=+p[e+12>>2],u=+p[e+16>>2],i=0|_[C+16>>2],g=+p[i+8>>2],J=+p[i+12>>2],T=(s=f-d-(h-d))*((X=+p[i+16>>2])-b-(y-b))-(P=u-b-(y-b))*(J-d-(h-d)),c=P*(g-a-(m-a))-(x=A-a-(m-a))*(X-b-(y-b)),r=x*(J-d-(h-d))-s*(g-a-(m-a));do{if(r*r+(T*T+c*c)>1.1920928955078125e-7&&(Q=r*(N=1/+l(+(r*r+(T*T+c*c))))*(y-b)+(T*N*(m-a)+c*N*(h-d)))*Q<34028234663852886e22){if(r*((F=f-d-c*N*Q)*(S=m-a-T*N*Q)-(j=h-d-c*N*Q)*(B=A-a-T*N*Q))+(T*(j*(O=u-b-r*N*Q)-(I=y-b-r*N*Q)*F)+c*(I*B-O*S))>0&&r*((M=J-d-c*N*Q)*B-F*(V=g-a-T*N*Q))+(T*(F*(G=X-b-r*N*Q)-O*M)+c*(O*V-G*B))>0&&r*(j*V-M*S)+(T*(M*I-G*j)+c*(G*S-I*V))>0){W=Q*Q,B=T*N*Q,I=r*N*Q,D=c*N*Q;break}x*x+s*s+P*P>1.1920928955078125e-7&&(W=(y-b+P*(L=(L=-((m-a)*x+(h-d)*s+(y-b)*P)/(x*x+s*s+P*P))<0?0:L>1?1:L))*(y-b+P*L)+((m-a+x*L)*(m-a+x*L)+(h-d+s*L)*(h-d+s*L)))<34028234663852886e22?(B=m-a+x*L,I=y-b+P*L,j=h-d+s*L):(W=34028234663852886e22,B=0,I=0,j=0),(S=(g-a-(A-a))*(g-a-(A-a))+(J-d-(f-d))*(J-d-(f-d))+(X-b-(u-b))*(X-b-(u-b)))>1.1920928955078125e-7&&(E=A-a+(g-a-(A-a))*(H=(H=-((A-a)*(g-a-(A-a))+(f-d)*(J-d-(f-d))+(u-b)*(X-b-(u-b)))/S)<0?0:H>1?1:H),Z=f-d+(J-d-(f-d))*H,(H=u-b+(X-b-(u-b))*H)*H+(E*E+Z*Z)<W)&&(W=H*H+(E*E+Z*Z),B=E,I=H,j=Z),(S=(m-a-(g-a))*(m-a-(g-a))+(h-d-(J-d))*(h-d-(J-d))+(y-b-(X-b))*(y-b-(X-b)))>1.1920928955078125e-7&&(U=g-a+(m-a-(g-a))*(Y=(Y=-((g-a)*(m-a-(g-a))+(J-d)*(h-d-(J-d))+(X-b)*(y-b-(X-b)))/S)<0?0:Y>1?1:Y),D=J-d+(h-d-(J-d))*Y,(Y=X-b+(y-b-(X-b))*Y)*Y+(U*U+D*D)<W)?(W=Y*Y+(U*U+D*D),B=U,I=Y):D=j}else W=34028234663852886e22,B=0,I=0,D=0}while(0);if(U=a-+p[v+24>>2],Y=d-+p[v+28>>2],P=b-+p[v+32>>2],W<(P=+p[t+12>>2]+2*+l(+(U*U+Y*Y+P*P)))*P&&(T=+l(+(((m-(O=a+B))*(f-(S=d+D))-(h-S)*(A-O))*((m-O)*(f-S)-(h-S)*(A-O))+(((h-S)*(u-(j=b+I))-(y-j)*(f-S))*((h-S)*(u-j)-(y-j)*(f-S))+((y-j)*(A-O)-(m-O)*(u-j))*((y-j)*(A-O)-(m-O)*(u-j))))),x=+l(+(((A-O)*(J-S)-(f-S)*(g-O))*((A-O)*(J-S)-(f-S)*(g-O))+(((f-S)*(X-j)-(u-j)*(J-S))*((f-S)*(X-j)-(u-j)*(J-S))+((u-j)*(g-O)-(A-O)*(X-j))*((u-j)*(g-O)-(A-O)*(X-j))))),O=+l(+(((h-S)*(g-O)-(m-O)*(J-S))*((h-S)*(g-O)-(m-O)*(J-S))+(((y-j)*(J-S)-(h-S)*(X-j))*((y-j)*(J-S)-(h-S)*(X-j))+((m-O)*(X-j)-(y-j)*(g-O))*((m-O)*(X-j)-(y-j)*(g-O))))),(j=+p[v+88>>2])+(S=!((X=+p[w+88>>2])<=0)&!((S=+p[e+88>>2])<=0)&!((J=+p[i+88>>2])<=0)?J*(T*(1/(O+(T+x))))+(X*(x*(1/(O+(T+x))))+S*(O*(1/(O+(T+x))))):0)>0)){if(F=B*(X=1/-+l(+W)),W=X*D,B=X*I,o=0|_[t+4>>2],e=0|_[t+8>>2],D=(I=+p[o+316>>2])>(D=+p[e+316>>2])?I:D,I=j/(j+S)*+p[o+332>>2],S=S/(j+S)*+p[e+332>>2],(0|(e=0|_[o+832>>2]))==(0|_[o+836>>2])&&(0|e)<(0|(z=0|e?e<<1:1))){if(z?(_[6630]=1+(0|_[6630]),(e=0|di(16+(56*z|3)|0))?(_[(e+4+15&-16)-4>>2]=e,e=e+4+15&-16):e=0,R=e,e=0|_[o+832>>2]):R=0,(0|e)>0){i=0;do{w=R+(56*i|0)|0,t=(0|_[o+840>>2])+(56*i|0)|0,k=w+56|0;do{_[w>>2]=_[t>>2],w=w+4|0,t=t+4|0}while((0|w)<(0|k));i=i+1|0}while((0|i)!=(0|e))}0|(e=0|_[o+840>>2])&&(0|n[o+844|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[o+840>>2]=0),n[o+844|0]=1,_[o+840>>2]=R,_[o+836>>2]=z,e=0|_[o+832>>2]}z=0|_[o+840>>2],_[z+(56*e|0)>>2]=v,_[z+(56*e|0)+4>>2]=C,p[z+(56*e|0)+8>>2]=x*(1/(O+(T+x))),p[z+(56*e|0)+12>>2]=O*(1/(O+(T+x))),p[z+(56*e|0)+16>>2]=T*(1/(O+(T+x))),p[z+(56*e|0)+20>>2]=0,p[z+(56*e|0)+24>>2]=F,p[z+(56*e|0)+28>>2]=W,p[z+(56*e|0)+32>>2]=B,p[z+(56*e|0)+36>>2]=0,p[z+(56*e|0)+40>>2]=P,p[z+(56*e|0)+44>>2]=D,p[z+(56*e|0)+48>>2]=I,p[z+(56*e|0)+52>>2]=S,_[o+832>>2]=1+(0|_[o+832>>2])}},jc,kn,function(t,e,i){t|=0,e|=0;var n,o,r,s,c=0;s=+p[(i|=0)>>2],r=+p[i+4>>2],c=+p[i+8>>2],n=s*+p[e+56>>2]+r*+p[e+60>>2]+c*+p[e+64>>2],o=s*+p[e+72>>2]+r*+p[e+76>>2]+c*+p[e+80>>2],c=s*+p[e+88>>2]+r*+p[e+92>>2]+c*+p[e+96>>2],i=e+56+((n<o?o<c?2:1:n<c?2:0)<<4)|0,_[t>>2]=_[i>>2],_[t+4>>2]=_[i+4>>2],_[t+8>>2]=_[i+8>>2],_[t+12>>2]=_[i+12>>2]},function(t,e,i){e|=0,i|=0;var n,o,_,r,s=0,c=0,a=0;c=+p[56+(t|=0)>>2],r=+p[t+72>>2]-c,a=+p[t+60>>2],o=+p[t+76>>2]-a,s=+p[t+64>>2],_=+p[t+80>>2]-s,c=+p[t+88>>2]-c,a=+p[t+92>>2]-a,s=+p[t+96>>2]-s,p[i+12>>2]=0,n=1/+l(+((r*a-o*c)*(r*a-o*c)+((o*s-_*a)*(o*s-_*a)+(_*c-r*s)*(_*c-r*s)))),p[i>>2]=(o*s-_*a)*n,p[i+4>>2]=(_*c-r*s)*n,p[i+8>>2]=(r*a-o*c)*n,e&&(p[i>>2]=-(o*s-_*a)*n,p[i+4>>2]=-(_*c-r*s)*n,p[i+8>>2]=-(r*a-o*c)*n)},function(t,e,i){t|=0,e|=0,_[(i|=0)>>2]=_[t+56+(e<<4)>>2],_[i+4>>2]=_[t+56+(e<<4)+4>>2],_[i+8>>2]=_[t+56+(e<<4)+8>>2],_[i+12>>2]=_[t+56+(e<<4)+12>>2]},function(t,e,i){e|=0,i|=0;var o=0,r=0,s=0,p=0;if((0|(o=0|_[212+(t|=0)>>2]))==(0|_[t+216>>2])&&(0|o)<(0|(p=0|o?o<<1:1))){if(p?(_[6630]=1+(0|_[6630]),(o=0|di(16+(p<<2|3)|0))?(_[(o+4+15&-16)-4>>2]=o,o=o+4+15&-16):o=0,s=o,o=0|_[t+212>>2]):s=0,(0|o)>0){r=0;do{_[s+(r<<2)>>2]=_[(0|_[t+220>>2])+(r<<2)>>2],r=r+1|0}while((0|r)!=(0|o))}(r=0|_[t+220>>2])&&(0|n[t+224|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[r+-4>>2]),o=0|_[t+212>>2]),_[t+220>>2]=0),n[t+224|0]=1,_[t+220>>2]=s,_[t+216>>2]=p}_[(0|_[t+220>>2])+(o<<2)>>2]=e,_[t+212>>2]=o+1,i&&(le(0|_[e+28>>2],e),le(0|_[e+32>>2],e))},function(t,e,i){t|=0,i|=0;var n,o,r,s,c,a,b,d,A,f,u,m=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0;s=+p[(e|=0)>>2],r=+p[e+4>>2],o=+p[e+8>>2],n=1/+l(+(s*s+r*r+o*o)),d=+p[i>>2],b=+p[i+4>>2],a=+p[i+8>>2],u=o*n*(b*(c=1/+l(+(d*d+b*b+a*a))))-r*n*(a*c),f=s*n*(a*c)-o*n*(d*c),A=r*n*(d*c)-s*n*(b*c),i=0|_[t+28>>2],m=+p[i+4>>2],y=+p[i+20>>2],C=+p[i+36>>2],h=+p[i+8>>2],g=+p[i+24>>2],v=+p[i+40>>2],S=+p[i+12>>2],k=+p[i+28>>2],j=+p[i+44>>2],w=-+p[i+52>>2],R=-+p[i+56>>2],D=-+p[i+60>>2],p[t+48>>2]=C*A+(m*u+y*f),p[t+52>>2]=C*(a*c)+(m*(d*c)+y*(b*c)),p[t+56>>2]=m*(s*n)+r*n*y+o*n*C,p[t+60>>2]=0,p[t+64>>2]=A*v+(h*u+g*f),p[t+68>>2]=d*c*h+b*c*g+a*c*v,p[t+72>>2]=s*n*h+r*n*g+o*n*v,p[t+76>>2]=0,p[t+80>>2]=u*S+f*k+A*j,p[t+84>>2]=d*c*S+b*c*k+a*c*j,p[t+88>>2]=s*n*S+r*n*k+o*n*j,p[t+92>>2]=0,p[t+96>>2]=0*m+0*y+0*C+(m*w+y*R+C*D),p[t+100>>2]=0*h+0*g+0*v+(h*w+g*R+v*D),p[t+104>>2]=0*S+0*k+0*j+(S*w+k*R+j*D),p[t+108>>2]=0,i=0|_[t+32>>2],D=+p[i+4>>2],j=+p[i+20>>2],R=+p[i+36>>2],k=+p[i+8>>2],w=+p[i+24>>2],S=+p[i+40>>2],v=+p[i+12>>2],g=+p[i+28>>2],h=+p[i+44>>2],C=-+p[i+52>>2],y=-+p[i+56>>2],m=-+p[i+60>>2],p[t+112>>2]=u*D+f*j+A*R,p[t+116>>2]=d*c*D+b*c*j+a*c*R,p[t+120>>2]=s*n*D+r*n*j+o*n*R,p[t+124>>2]=0,p[t+128>>2]=u*k+f*w+A*S,p[t+132>>2]=d*c*k+b*c*w+a*c*S,p[t+136>>2]=s*n*k+r*n*w+o*n*S,p[t+140>>2]=0,p[t+144>>2]=u*v+f*g+A*h,p[t+148>>2]=d*c*v+b*c*g+a*c*h,p[t+152>>2]=s*n*v+r*n*g+o*n*h,p[t+156>>2]=0,p[t+160>>2]=0*D+0*j+0*R+(D*C+j*y+R*m),p[t+164>>2]=0*k+0*w+0*S+(k*C+w*y+S*m),p[t+168>>2]=0*v+0*g+0*h+(v*C+g*y+h*m),p[t+172>>2]=0,Pi(t,4+(0|_[t+28>>2])|0,4+(0|_[t+32>>2])|0)},function(t,e,i){e|=0,i|=0,_[300+(t|=0)>>2]=_[e>>2],_[t+300+4>>2]=_[e+4>>2],_[t+300+8>>2]=_[e+8>>2],_[t+300+12>>2]=_[e+12>>2],_[t+316>>2]=_[e+16>>2],_[t+316+4>>2]=_[e+16+4>>2],_[t+316+8>>2]=_[e+16+8>>2],_[t+316+12>>2]=_[e+16+12>>2],_[t+332>>2]=_[e+32>>2],_[t+332+4>>2]=_[e+32+4>>2],_[t+332+8>>2]=_[e+32+8>>2],_[t+332+12>>2]=_[e+32+12>>2],_[t+348>>2]=_[e+48>>2],_[t+348+4>>2]=_[e+48+4>>2],_[t+348+8>>2]=_[e+48+8>>2],_[t+348+12>>2]=_[e+48+12>>2],_[t+364>>2]=_[i>>2],_[t+364+4>>2]=_[i+4>>2],_[t+364+8>>2]=_[i+8>>2],_[t+364+12>>2]=_[i+12>>2],_[t+380>>2]=_[i+16>>2],_[t+380+4>>2]=_[i+16+4>>2],_[t+380+8>>2]=_[i+16+8>>2],_[t+380+12>>2]=_[i+16+12>>2],_[t+396>>2]=_[i+32>>2],_[t+396+4>>2]=_[i+32+4>>2],_[t+396+8>>2]=_[i+32+8>>2],_[t+396+12>>2]=_[i+32+12>>2],_[t+412>>2]=_[i+48>>2],_[t+412+4>>2]=_[i+48+4>>2],_[t+412+8>>2]=_[i+48+8>>2],_[t+412+12>>2]=_[i+48+12>>2],zb[511&_[8+(0|_[t>>2])>>2]](t)},jc,jc,function(t,e,i){t|=0,i|=0;var o,r=0,s=0;o=0|_[(e|=0)>>2],e=0|_[t+268>>2];t:do{if((0|e)>0){for(r=0|_[t+276>>2],i=0;(0|_[r+(i<<2)>>2])!=(0|o);)if((0|(i=i+1|0))>=(0|e))break t;if((0|i)!=(0|e))return}}while(0);if((0|e)==(0|_[t+272>>2])&&(0|e)<(0|(s=0|e?e<<1:1))){if(s?(_[6630]=1+(0|_[6630]),(e=0|di(16+(s<<2|3)|0))?(_[(e+4+15&-16)-4>>2]=e,e=e+4+15&-16):e=0,r=e,e=0|_[t+268>>2]):r=0,(0|e)>0){i=0;do{_[r+(i<<2)>>2]=_[(0|_[t+276>>2])+(i<<2)>>2],i=i+1|0}while((0|i)!=(0|e))}(i=0|_[t+276>>2])&&(0|n[t+280|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[i+-4>>2]),e=0|_[t+268>>2]),_[t+276>>2]=0),n[t+280|0]=1,_[t+276>>2]=r,_[t+272>>2]=s}_[(0|_[t+276>>2])+(e<<2)>>2]=o,_[t+268>>2]=e+1},function(t,e,i){t|=0,e|=0;var o,r=0,s=0,p=0,c=0;(i|=0)||(i=0|_[t+188>>2]),o=0|_[e>>2],r=0|_[t+268>>2];t:do{if((0|r)>0){for(p=0|_[t+276>>2],s=0;(0|_[p+(s<<2)>>2])!=(0|o);)if((0|(s=s+1|0))>=(0|r))break t;if((0|s)!=(0|r))return}}while(0);if((0|r)==(0|_[t+272>>2])&&(0|r)<(0|(c=0|r?r<<1:1))){if(c?(_[6630]=1+(0|_[6630]),(r=0|di(16+(c<<2|3)|0))?(_[(r+4+15&-16)-4>>2]=r,r=r+4+15&-16):r=0,p=r,r=0|_[t+268>>2]):p=0,(0|r)>0){s=0;do{_[p+(s<<2)>>2]=_[(0|_[t+276>>2])+(s<<2)>>2],s=s+1|0}while((0|s)!=(0|r))}(s=0|_[t+276>>2])&&(0|n[t+280|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[s+-4>>2]),r=0|_[t+268>>2]),_[t+276>>2]=0),n[t+280|0]=1,_[t+276>>2]=p,_[t+272>>2]=c}_[(0|_[t+276>>2])+(r<<2)>>2]=o,_[t+268>>2]=r+1,t=0|_[t+284>>2],Hb[63&_[8+(0|_[t>>2])>>2]](t,i,e)},function(t,e,i){t|=0,i|=0;var o=0,r=0,s=0,c=0,a=0,b=0,d=0;if((0|(r=0|_[8+(e|=0)>>2]))>0){s=0|_[e+16>>2],o=0,i=0;do{c=0|_[s+(o<<2)>>2],3&_[c+204>>2]||(_[c+208>>2]=i,i=i+1|0),_[c+212>>2]=-1,p[c+244>>2]=1,o=o+1|0}while((0|o)!=(0|r));c=i}else c=0;if((0|(s=0|_[t+8>>2]))<(0|c)){if((0|_[t+12>>2])<(0|c)){if(c?(_[6630]=1+(0|_[6630]),(i=0|di(16+(c<<3|3)|0))?(_[(i+4+15&-16)-4>>2]=i,i=i+4+15&-16):i=0,r=0|_[t+8>>2]):(i=0,r=s),(0|r)>0){o=0;do{d=(0|_[t+16>>2])+(o<<3)|0,a=0|_[d+4>>2],_[(b=i+(o<<3)|0)>>2]=_[d>>2],_[b+4>>2]=a,o=o+1|0}while((0|o)!=(0|r))}0|(o=0|_[t+16>>2])&&(0|n[t+20|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[o+-4>>2])),_[t+16>>2]=0),n[t+20|0]=1,_[t+16>>2]=i,_[t+12>>2]=c,o=t+16|0}else o=t+16|0;i=s;do{d=(0|_[o>>2])+(i<<3)|0,_[d>>2]=0,_[d+4>>2]=0,i=i+1|0}while((0|i)!=(0|c))}if(_[t+8>>2]=c,(0|c)>0){o=0|_[t+16>>2],i=0;do{_[o+(i<<3)>>2]=i,_[o+(i<<3)+4>>2]=1,i=i+1|0}while((0|i)!=(0|c))}if(i=0|_[e+68>>2],i=0|Lb[127&_[36+(0|_[i>>2])>>2]](i),(b=0|Lb[127&_[36+(0|_[i>>2])>>2]](i))&&(a=0|Lb[127&_[20+(0|_[i>>2])>>2]](i),!((0|b)<=0))){e=0;do{if(i=0|_[_[a+(e<<4)>>2]>>2],o=0|_[_[a+(e<<4)+4>>2]>>2],0|i&&0|o&&!(7&_[i+204>>2])&&!(7&_[o+204>>2])){if(r=0|_[i+208>>2],i=0|_[o+208>>2],c=0|_[t+16>>2],(0|(o=0|_[c+(r<<3)>>2]))!=(0|r)&&(_[c+(r<<3)>>2]=_[c+(o<<3)>>2],(0|(r=0|_[c+(o<<3)>>2]))!=(0|(o=0|_[c+(r<<3)>>2])))){s=c+(r<<3)|0;do{r=c+(o<<3)|0,_[s>>2]=_[r>>2],r=0|_[r>>2],o=0|_[(s=c+(r<<3)|0)>>2]}while((0|r)!=(0|o))}if((0|(o=0|_[c+(i<<3)>>2]))!=(0|i)&&(_[c+(i<<3)>>2]=_[c+(o<<3)>>2],(0|(i=0|_[c+(o<<3)>>2]))!=(0|(o=0|_[c+(i<<3)>>2])))){s=c+(i<<3)|0;do{i=c+(o<<3)|0,_[s>>2]=_[i>>2],i=0|_[i>>2],o=0|_[(s=c+(i<<3)|0)>>2]}while((0|i)!=(0|o))}(0|r)!=(0|i)&&(_[c+(r<<3)>>2]=i,_[(d=c+(i<<3)+4|0)>>2]=(0|_[d>>2])+(0|_[c+(r<<3)+4>>2]))}e=e+1|0}while((0|e)!=(0|b))}},function(t,e,i){e|=0,i|=0,_[16+(t|=0)>>2]=e,_[t+24>>2]=i},function(t,e,i){e|=0,i|=0,_[20+(t|=0)>>2]=e,_[t+28>>2]=i},jc,jc,jc,jc,function(t,e,i){e|=0,i|=0;var n,o,r,s=0,c=0,a=0,b=0,d=0,l=0,A=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0,O=0,x=0,T=0,P=0;if(r=Q,Q=Q+240|0,_[4+(t|=0)>>2]=1+(0|_[t+4>>2]),o=0|_[e+36>>2],n=0|_[i+36>>2],T=0|_[t+8>>2],c=0|_[t+12>>2],P=0|_[24+(0|_[T+4>>2])>>2],i=0|_[P+(80*o|0)+64>>2],e=24+(0|_[c+4>>2])|0,s=0|_[(0|_[e>>2])+(80*n|0)+64>>2],T=0|_[T+12>>2],d=+p[T>>2],O=+p[T+4>>2],x=+p[T+8>>2],f=+p[T+16>>2],m=+p[T+20>>2],y=+p[T+24>>2],u=+p[T+32>>2],g=+p[T+36>>2],D=+p[T+40>>2],C=+p[P+(80*o|0)>>2],v=+p[P+(80*o|0)+16>>2],S=+p[P+(80*o|0)+32>>2],w=+p[P+(80*o|0)+4>>2],k=+p[P+(80*o|0)+20>>2],R=+p[P+(80*o|0)+36>>2],h=+p[P+(80*o|0)+8>>2],j=+p[P+(80*o|0)+24>>2],I=+p[P+(80*o|0)+40>>2],l=+p[P+(80*o|0)+48>>2],A=+p[P+(80*o|0)+52>>2],F=+p[P+(80*o|0)+56>>2],B=+p[T+48>>2]+(d*l+O*A+x*F),W=+p[T+52>>2]+(f*l+m*A+y*F),F=+p[T+56>>2]+(u*l+g*A+D*F),p[r+176>>2]=d*C+O*v+x*S,p[r+176+4>>2]=d*w+O*k+x*R,p[r+176+8>>2]=d*h+O*j+x*I,p[r+176+12>>2]=0,p[r+176+16>>2]=f*C+m*v+y*S,p[r+176+20>>2]=f*w+m*k+y*R,p[r+176+24>>2]=f*h+m*j+y*I,p[r+176+28>>2]=0,p[r+176+32>>2]=u*C+g*v+D*S,p[r+176+36>>2]=u*w+g*k+D*R,p[r+176+40>>2]=u*h+g*j+D*I,p[r+176+44>>2]=0,p[r+176+48>>2]=B,p[r+176+52>>2]=W,p[r+176+56>>2]=F,p[r+176+60>>2]=0,c=0|_[c+12>>2],F=+p[c>>2],W=+p[c+4>>2],B=+p[c+8>>2],I=+p[c+16>>2],D=+p[c+20>>2],j=+p[c+24>>2],g=+p[c+32>>2],h=+p[c+36>>2],u=+p[c+40>>2],e=0|_[e>>2],R=+p[e+(80*n|0)>>2],k=+p[e+(80*n|0)+16>>2],w=+p[e+(80*n|0)+32>>2],S=+p[e+(80*n|0)+4>>2],v=+p[e+(80*n|0)+20>>2],C=+p[e+(80*n|0)+36>>2],y=+p[e+(80*n|0)+8>>2],m=+p[e+(80*n|0)+24>>2],f=+p[e+(80*n|0)+40>>2],x=+p[e+(80*n|0)+48>>2],O=+p[e+(80*n|0)+52>>2],d=+p[e+(80*n|0)+56>>2],A=+p[c+48>>2]+(F*x+W*O+B*d),l=+p[c+52>>2]+(I*x+D*O+j*d),d=+p[c+56>>2]+(g*x+h*O+u*d),p[r+112>>2]=F*R+W*k+B*w,p[r+112+4>>2]=F*S+W*v+B*C,p[r+112+8>>2]=F*y+W*m+B*f,p[r+112+12>>2]=0,p[r+112+16>>2]=I*R+D*k+j*w,p[r+112+20>>2]=I*S+D*v+j*C,p[r+112+24>>2]=I*y+D*m+j*f,p[r+112+28>>2]=0,p[r+112+32>>2]=g*R+h*k+u*w,p[r+112+36>>2]=g*S+h*v+u*C,p[r+112+40>>2]=g*y+h*m+u*f,p[r+112+44>>2]=0,p[r+112+48>>2]=A,p[r+112+52>>2]=l,p[r+112+56>>2]=d,p[r+112+60>>2]=0,cd[127&_[8+(0|_[i>>2])>>2]](i,r+176|0,r+96|0,r+80|0),cd[127&_[8+(0|_[s>>2])>>2]](s,r+112|0,r+64|0,r+48|0),e=+p[r+96>>2]>+p[r+48>>2]||+p[r+80>>2]<+p[r+64>>2]?0:1,(+p[r+96+8>>2]>+p[r+48+8>>2]||+p[r+80+8>>2]<+p[r+64+8>>2])&&(e=0),+p[r+96+4>>2]>+p[r+48+4>>2])Q=r;else if(+p[r+80+4>>2]<+p[r+64+4>>2]|1^e)Q=r;else{c=0|_[t+8>>2],e=0|_[c+8>>2],_[r+24>>2]=c,_[r+24+4>>2]=i,_[r+24+8>>2]=e,_[r+24+12>>2]=r+176,_[r+24+16>>2]=-1,_[r+24+20>>2]=o,e=0|_[t+12>>2],c=0|_[e+8>>2],_[r>>2]=e,_[r+4>>2]=s,_[r+8>>2]=c,_[r+12>>2]=r+112,_[r+16>>2]=-1,_[r+20>>2]=n,c=0|_[t+28>>2],_[6618]=1+(0|_[6618]),e=9*((e=(n<<16|o)+~((n<<16|o)<<15)|0)>>10^e)|0,e^=e>>6,e=(0|_[c+12>>2])-1&(e+~(e<<11)>>16^e+~(e<<11));t:do{if((0|e)<(0|_[c+32>>2])&&(a=0|_[(0|_[c+40>>2])+(e<<2)>>2],-1!=(0|a))){for(s=0|_[c+16>>2],e=a;(0|_[(i=s+(12*e|0)|0)>>2])!=(0|o)||(0|_[s+(12*e|0)+4>>2])!=(0|n);)if(-1==(0|(e=0|_[(0|_[c+60>>2])+(e<<2)>>2]))){b=16;break t}i?e=0|_[s+(12*e|0)+8>>2]:b=16}else b=16}while(0);16==(0|b)&&(e=0|_[t+16>>2],e=0|Zb[31&_[8+(0|_[e>>2])>>2]](e,r+24|0,r,0|_[t+32>>2]),P=0|_[t+28>>2],P=8+(0|Hb[63&_[12+(0|_[P>>2])>>2]](P,o,n))|0,_[P>>2]=e),P=0|_[t+24>>2],b=0|_[P+8>>2],T=0|_[P+12>>2],_[P+8>>2]=r+24,_[P+12>>2]=r,rd[127&_[8+(0|_[P>>2])>>2]](P,-1,o),P=0|_[t+24>>2],rd[127&_[12+(0|_[P>>2])>>2]](P,-1,n),ld[31&_[8+(0|_[e>>2])>>2]](e,r+24|0,r,0|_[t+20>>2],0|_[t+24>>2]),P=0|_[t+24>>2],_[P+8>>2]=b,_[P+12>>2]=T,Q=r}},function(t,e,i){t|=0,i|=0;var n,o,r,s=0,c=0,a=0,b=0,d=0;d=.5*+p[60+(e|=0)>>2],o=0|_[e+68>>2],c=+p[i>>2],a=+p[i+4>>2],b=+p[i+8>>2],b=+l(+(c*c+a*a+b*b)),n=0|_[e+64>>2];do{if(!(+p[i+(o<<2)>>2]>+p[e+52>>2]*b)){if(c=+p[i+(n<<2)>>2],s=0|_[e+72>>2],a=+p[i+(s<<2)>>2],(b=+l(+(c*c+a*a)))>1.1920928955078125e-7){b=+p[e+56>>2]/b,p[t+(n<<2)>>2]=c*b,p[t+(o<<2)>>2]=-d,c=a*b;break}p[t+(n<<2)>>2]=0,p[t+(o<<2)>>2]=-d,c=0;break}p[t+(n<<2)>>2]=0,p[t+(o<<2)>>2]=d,c=0,s=0|_[e+72>>2]}while(0);p[t+(s<<2)>>2]=c,0!=+Bb[15&_[48+(0|_[e>>2])>>2]](e)&&(r=(a=+p[i>>2])*a+(d=+p[i+4>>2])*d+(b=+p[i+8>>2])*b<14210854715202004e-30?-1:a,c=a*a+d*d+b*b<14210854715202004e-30?-1:d,d=1/+l(+((b=a*a+d*d+b*b<14210854715202004e-30?-1:b)*b+(r*r+c*c))),a=+Bb[15&_[48+(0|_[e>>2])>>2]](e),p[t>>2]=+p[t>>2]+a*(r*d),p[t+4>>2]=+p[t+4>>2]+a*(c*d),p[t+8>>2]=+p[t+8>>2]+a*(b*d))},function(t,e,i){t|=0,i|=0;var n,o,r=0,s=0,c=0,a=0,b=0;return a=.5*+p[60+(e|=0)>>2],b=0|_[e+68>>2],r=+p[i>>2],s=+p[i+4>>2],c=+p[i+8>>2],c=+l(+(r*r+s*s+c*c)),n=0|_[e+64>>2],+p[i+(b<<2)>>2]>+p[e+52>>2]*c?(p[t+(n<<2)>>2]=0,p[t+(b<<2)>>2]=a,a=0,b=0|_[e+72>>2],void(p[(b=t+(b<<2)|0)>>2]=a)):(c=+p[i+(n<<2)>>2],o=0|_[e+72>>2],r=+p[i+(o<<2)>>2],(s=+l(+(c*c+r*r)))>1.1920928955078125e-7?(s=+p[e+56>>2]/s,p[t+(n<<2)>>2]=c*s,p[t+(b<<2)>>2]=-a,a=r*s,void(p[(b=t+((b=o)<<2)|0)>>2]=a)):(p[t+(n<<2)>>2]=0,p[t+(b<<2)>>2]=-a,a=0,void(p[(b=t+((b=o)<<2)|0)>>2]=a)))},function(t,e,i){t|=0,i|=0;var n,o,r,s=0,c=0,a=0;n=Q,Q=Q+16|0,rd[127&_[68+(0|_[(e|=0)>>2])>>2]](n,e,i),_[t>>2]=_[n>>2],_[t+4>>2]=_[n+4>>2],_[t+8>>2]=_[n+8>>2],_[t+12>>2]=_[n+12>>2],r=(a=+p[i>>2])*a+(s=+p[i+4>>2])*s+(c=+p[i+8>>2])*c<14210854715202004e-30?-1:a,o=a*a+s*s+c*c<14210854715202004e-30?-1:s,s=1/+l(+((c=a*a+s*s+c*c<14210854715202004e-30?-1:c)*c+(r*r+o*o))),a=+Bb[15&_[48+(0|_[e>>2])>>2]](e),p[t>>2]=+p[t>>2]+a*(r*s),p[t+4>>2]=+p[t+4>>2]+a*(o*s),p[t+8>>2]=+p[t+8>>2]+a*(c*s),Q=n},function(t,e,i){_[(t|=0)>>2]=0,_[t+4>>2]=0,_[t+8>>2]=0,_[t+12>>2]=0},function(t,e,i){var n,o,r,s,c;t|=0,e|=0,i|=0,n=Q,Q=Q+160|0,_[n+136>>2]=0,_[n+136+4>>2]=0,_[n+136+8>>2]=0,_[n+136+12>>2]=0,_[n+136+16>>2]=0,_[n+32>>2]=7904,_[(o=n+32+4|0)>>2]=0,_[o+4>>2]=0,_[o+8>>2]=0,_[o+12>>2]=0,_[n+32+20>>2]=1065353216,_[n+32+24>>2]=0,_[n+32+24+4>>2]=0,_[n+32+24+8>>2]=0,_[n+32+24+12>>2]=0,_[n+32+40>>2]=1065353216,_[n+32+44>>2]=0,_[n+32+44+4>>2]=0,_[n+32+44+8>>2]=0,_[n+32+44+12>>2]=0,_[n+32+60>>2]=1065353216,_[n+32+64>>2]=0,_[n+32+68>>2]=_[n+136+4>>2],_[n+32+68+4>>2]=_[n+136+4+4>>2],_[n+32+68+8>>2]=_[n+136+4+8>>2],_[n+32+68+12>>2]=_[n+136+4+12>>2],p[n+32+84>>2]=-0xde0b6b000000000,c=+p[i>>2],s=+p[i+4>>2],r=+p[i+8>>2],p[n+32+88>>2]=c+0*s+0*r,p[n+32+92>>2]=0*c+s+0*r,p[n+32+96>>2]=0*c+0*s+r,p[n+32+100>>2]=0,_[n+16>>2]=1566444395,_[n+16+4>>2]=1566444395,_[n+16+8>>2]=1566444395,p[n+16+12>>2]=0,i=0|_[64+(0|_[e>>2])>>2],p[n>>2]=-0xde0b6b000000000,p[n+4>>2]=-0xde0b6b000000000,p[n+8>>2]=-0xde0b6b000000000,p[n+12>>2]=0,cd[127&i](e,n+32|0,n,n+16|0),_[t>>2]=_[o>>2],_[t+4>>2]=_[o+4>>2],_[t+8>>2]=_[o+8>>2],_[t+12>>2]=_[o+12>>2],Q=n},function(t,e,i){t|=0,i|=0,rd[127&_[68+(0|_[(e|=0)>>2])>>2]](t,e,i)},function(t,e,i){e|=0,i|=0;var n,o,a,b=0,d=0,l=0,A=0,f=0,u=0,m=0,h=0,y=0,C=0;switch(a=Q,Q=Q+32|0,u=0|_[4+(t|=0)>>2],yd[3&_[16+(0|_[u>>2])>>2]](u,a+28|0,a+24|0,a+20|0,a+16|0,a+12|0,a+8|0,a+4|0,a,e),u=(0|_[a+12>>2])+(0|g(0|_[a+8>>2],i))|0,h=0|_[t+4>>2],0|(n=0|_[a>>2])){case 3:b=0|s[u+4>>1];break;case 2:b=0|_[u+8>>2];break;default:b=0|r[u+2|0]}switch(y=!(0|_[a+20>>2]),o=0|_[a+28>>2],m=0|_[a+16>>2],b=o+(0|g(m,b))|0,y?(A=+p[b+4>>2]*+p[h+8>>2],f=+p[b>>2]*+p[h+4>>2],l=b+8|0,d=+p[h+12>>2]):(A=+p[h+8>>2]*+c[b+8>>3],f=+p[h+4>>2]*+c[b>>3],l=h+12|0,d=+c[b+16>>3]),d=+p[l>>2]*d,p[t+44>>2]=f,p[t+48>>2]=A,p[t+52>>2]=d,p[t+56>>2]=0,0|n){case 3:b=0|s[u+2>>1];break;case 2:b=0|_[u+4>>2];break;default:b=0|r[u+1|0]}switch(b=o+(0|g(m,b))|0,y?(l=b+8|0,A=+p[b+4>>2]*+p[h+8>>2],f=+p[b>>2]*+p[h+4>>2],d=+p[h+12>>2]):(l=h+12|0,A=+p[h+8>>2]*+c[b+8>>3],f=+p[h+4>>2]*+c[b>>3],d=+c[b+16>>3]),d=+p[l>>2]*d,p[t+28>>2]=f,p[t+32>>2]=A,p[t+36>>2]=d,p[t+40>>2]=0,0|n){case 3:b=0|s[u>>1];break;case 2:b=0|_[u>>2];break;default:b=0|r[0|u]}return b=o+(0|g(m,b))|0,y?(A=+p[b+4>>2]*+p[h+8>>2],d=+p[b>>2]*+p[h+4>>2],m=b+8|0,f=+p[h+12>>2],f*=C=+p[m>>2],p[(h=t+12|0)>>2]=d,p[(h=t+16|0)>>2]=A,p[(h=t+20|0)>>2]=f,p[(h=t+24|0)>>2]=0,h=0|_[(h=t+8|0)>>2],m=0|_[h>>2],m=0|_[(m=m+8|0)>>2],y=t+12|0,cd[127&m](h,y,e,i),y=0|_[t+4>>2],h=0|_[y>>2],h=0|_[(h=h+24|0)>>2],id[127&h](y,e),void(Q=a)):(f=+p[h+8>>2]*+c[b+8>>3],A=+p[h+4>>2]*+c[b>>3],h=h+12|0,C=+c[b+16>>3],C*=d=+p[h>>2],p[(h=t+12|0)>>2]=A,p[(h=t+16|0)>>2]=f,p[(h=t+20|0)>>2]=C,p[(h=t+24|0)>>2]=0,h=0|_[(h=t+8|0)>>2],m=0|_[h>>2],m=0|_[(m=m+8|0)>>2],y=t+12|0,cd[127&m](h,y,e,i),y=0|_[t+4>>2],h=0|_[y>>2],h=0|_[(h=h+24|0)>>2],id[127&h](y,e),void(Q=a))},Ye,Ye,function(t,e,i){e|=0,i|=0;var n,o=0,r=0,s=0,c=0,a=0,b=0,d=0,A=0,f=0,u=0,m=0;if(n=Q,Q=Q+2048|0,_[(t|=0)>>2]=0,_[t+4>>2]=0,_[t+8>>2]=0,_[t+12>>2]=0,(o=+p[i>>2])*o+(s=+p[i+4>>2])*s+(r=+p[i+8>>2])*r<9999999747378752e-20?(A=1,d=0,s=0):(A=o*(u=1/+l(+(o*o+s*s+r*r))),d=s*u,s=r*u),(0|Lb[127&_[96+(0|_[e>>2])>>2]](e))<=0)Q=n;else{for(b=0,r=-0xde0b6b000000000;;){if(((0|Lb[127&_[96+(0|_[e>>2])>>2]](e))-b|0)<128?(0|(i=(0|Lb[127&_[96+(0|_[e>>2])>>2]](e))-b|0))>0?f=8:(o=-34028234663852886e22,i=-1):(i=128,f=8),8==(0|f)){f=0,c=0;do{rd[127&_[108+(0|_[e>>2])>>2]](e,c,n+(c<<4)|0),c=c+1|0}while((0|c)!=(0|i));c=-1,a=0,o=-34028234663852886e22;do{c=(m=(u=A*+p[n+(a<<4)>>2]+d*+p[n+(a<<4)+4>>2]+s*+p[n+(a<<4)+8>>2])>o)?a:c,o=m?u:o,a=a+1|0}while((0|a)!=(0|i));i=c}if(o>r?(m=n+(i<<4)|0,_[t>>2]=_[m>>2],_[t+4>>2]=_[m+4>>2],_[t+8>>2]=_[m+8>>2],_[t+12>>2]=_[m+12>>2]):o=r,(0|(b=b+128|0))>=(0|Lb[127&_[96+(0|_[e>>2])>>2]](e)))break;r=o}Q=n}},kn,function(t,e,i){t|=0,i|=0;var n,o,r,s,c,a,b=0,d=0,l=0,A=0,f=0;if((0|(c=0|_[96+(e|=0)>>2]))<=0)return _[t>>2]=0,_[t+4>>2]=0,_[t+8>>2]=0,void(_[t+12>>2]=0);for(a=+p[e+12>>2],f=+p[i>>2]*a,r=+p[e+16>>2],A=+p[i+4>>2]*r,s=+p[e+20>>2],o=+p[i+8>>2]*s,n=0|_[e+104>>2],i=-1,e=0,b=-34028234663852886e22;i=(l=(d=f*+p[n+(e<<4)>>2]+A*+p[n+(e<<4)+4>>2]+o*+p[n+(e<<4)+8>>2])>b)?e:i,(0|(e=e+1|0))!=(0|c);)b=l?d:b;A=r*+p[n+(i<<4)+4>>2],f=s*+p[n+(i<<4)+8>>2],p[t>>2]=a*+p[n+(i<<4)>>2],p[t+4>>2]=A,p[t+8>>2]=f,p[t+12>>2]=0},function(t,e,i){var n,o,r;e|=0,i|=0,r=0|_[104+(t|=0)>>2],o=+p[r+(e<<4)+4>>2]*+p[t+16>>2],n=+p[r+(e<<4)+8>>2]*+p[t+20>>2],p[i>>2]=+p[r+(e<<4)>>2]*+p[t+12>>2],p[i+4>>2]=o,p[i+8>>2]=n,p[i+12>>2]=0},function(t,e,i){e|=0,i|=0;var n,o,r,s=0,c=0,a=0,b=0,d=0,A=0,f=0,u=0;r=Q,Q=Q+16|0,_[(t|=0)>>2]=0,_[t+4>>2]=0,_[t+8>>2]=0,_[t+12>>2]=0,(s=+p[i>>2])*s+(c=+p[i+4>>2])*c+(a=+p[i+8>>2])*a<9999999747378752e-20?(u=1,f=0,A=0):(u=s*(A=1/+l(+(s*s+c*c+a*a))),f=c*A,A*=a),i=0|_[e+52>>2],d=+p[e+28+((i+2|0)%3<<2)>>2],_[r>>2]=0,_[r+4>>2]=0,_[r+8>>2]=0,_[r+12>>2]=0,_[r+(i<<2)>>2]=_[e+28+(i<<2)>>2],n=u*d,o=f*d,d*=A,s=n+ +p[r>>2],c=o+ +p[r+4>>2],b=d+ +p[r+8>>2],s-=u*(a=+Bb[15&_[48+(0|_[e>>2])>>2]](e)),c-=f*a,(b=A*(a=b-A*a)+(u*s+f*c))>-0xde0b6b000000000?(p[t>>2]=s,p[t+4>>2]=c,p[t+8>>2]=a,p[t+12>>2]=0):b=-0xde0b6b000000000,_[r>>2]=0,_[r+4>>2]=0,_[r+8>>2]=0,_[r+12>>2]=0,i=0|_[e+52>>2],p[r+(i<<2)>>2]=-+p[e+28+(i<<2)>>2],s=n+ +p[r>>2],c=o+ +p[r+4>>2],d+=+p[r+8>>2],s-=u*(a=+Bb[15&_[48+(0|_[e>>2])>>2]](e)),c-=f*a,A*(a=d-A*a)+(u*s+f*c)>b?(p[t>>2]=s,p[t+4>>2]=c,p[t+8>>2]=a,p[t+12>>2]=0,Q=r):Q=r},kn,function(t,e,i){e|=0,i|=0;var n,o,r,s=0,c=0,b=0,d=0,A=0;r=Q,Q=Q+80|0,_[(t|=0)>>2]=0,_[t+4>>2]=0,_[t+8>>2]=0,_[t+12>>2]=0,(s=+p[i>>2])*s+(n=+p[i+4>>2])*n+(o=+p[i+8>>2])*o<9999999747378752e-20?(b=1065353216,c=0,s=0,i=0):(A=1/+l(+(s*s+n*n+o*o)),p[a>>2]=s*A,b=0|_[a>>2],p[a>>2]=n*A,d=0|_[a>>2],p[a>>2]=o*A,c=0|_[a>>2],s=+p[i+12>>2],i=d),_[r+32>>2]=8820,_[(d=r+32+4|0)>>2]=0,_[d+4>>2]=0,_[d+8>>2]=0,_[d+12>>2]=0,p[r+32+20>>2]=-0xde0b6b000000000,_[r+32+24>>2]=b,_[r+32+28>>2]=i,_[r+32+32>>2]=c,p[r+32+36>>2]=s,_[r+16>>2]=1566444395,_[r+16+4>>2]=1566444395,_[r+16+8>>2]=1566444395,p[r+16+12>>2]=0,e=0|_[e+92>>2],b=0|_[8+(0|_[e>>2])>>2],p[r>>2]=-0xde0b6b000000000,p[r+4>>2]=-0xde0b6b000000000,p[r+8>>2]=-0xde0b6b000000000,p[r+12>>2]=0,cd[127&b](e,r+32|0,r,r+16|0),_[t>>2]=_[d>>2],_[t+4>>2]=_[d+4>>2],_[t+8>>2]=_[d+8>>2],_[t+12>>2]=_[d+12>>2],Q=r},jc,function(t,e,i){t|=0,i|=0;var n,o,r,s=0,c=0;o=+p[28+(e|=0)>>2],r=+p[e+32>>2],s=+p[e+36>>2],n=+Bb[15&_[48+(0|_[e>>2])>>2]](e),c=+Bb[15&_[48+(0|_[e>>2])>>2]](e),s+=+Bb[15&_[48+(0|_[e>>2])>>2]](e),c=+p[i+4>>2]>=0?r+c:-(r+c),s=+p[i+8>>2]>=0?s:-s,p[t>>2]=+p[i>>2]>=0?o+n:-(o+n),p[t+4>>2]=c,p[t+8>>2]=s,p[t+12>>2]=0},function(t,e,i){t|=0,i|=0;var n,o=0,_=0;n=+p[28+(e|=0)>>2],_=+p[e+32>>2],_=+p[i+4>>2]>=0?_:-_,o=+p[e+36>>2],o=+p[i+8>>2]>=0?o:-o,p[t>>2]=+p[i>>2]>=0?n:-n,p[t+4>>2]=_,p[t+8>>2]=o,p[t+12>>2]=0},function(t,e,i){t|=0,i|=0;var n=0;switch(0|(e|=0)){case 0:t=0,e=0,n=1065353216;break;case 1:t=0,e=0,n=-1082130432;break;case 2:t=0,e=1065353216,n=0;break;case 3:t=0,e=-1082130432,n=0;break;case 4:t=1065353216,e=0,n=0;break;case 5:t=-1082130432,e=0,n=0;break;default:return}_[i>>2]=n,_[i+4>>2]=e,_[i+8>>2]=t,p[i+12>>2]=0},function(t,e,i){e|=0,i|=0;var n,o,r,s,c,a=0;c=+p[28+(t|=0)>>2],r=+p[t+32>>2],a=+p[t+36>>2],s=+Bb[15&_[48+(0|_[t>>2])>>2]](t),o=+Bb[15&_[48+(0|_[t>>2])>>2]](t),a+=+Bb[15&_[48+(0|_[t>>2])>>2]](t),n=e>>>1&1,t=e>>>2&1,p[i>>2]=(c+s)*+(1&e^1)-(c+s)*+(1&e),p[i+4>>2]=(r+o)*+(1^n)-(r+o)*+(0|n),p[i+8>>2]=a*+(1^t)-a*+(0|t),p[i+12>>2]=0},function(t,e,i){e|=0,i|=0;var n,o,r=0,s=0;switch(r=+p[28+(t|=0)>>2],o=+p[t+32>>2],n=+p[t+36>>2],0|i){case 0:t=0,i=0,s=1065353216;break;case 1:t=0,i=0,s=-1082130432;break;case 2:t=0,i=1065353216,s=0,r=o;break;case 3:t=0,i=-1082130432,s=0,r=o;break;case 4:t=1065353216,i=0,s=0,r=n;break;case 5:t=-1082130432,i=0,s=0,r=n;break;default:return}_[e>>2]=s,_[e+4>>2]=i,_[e+8>>2]=t,p[e+12>>2]=-r},function(t,e,i){t|=0,i|=0;var n,o,r,s=0,c=0,a=0;n=Q,Q=Q+16|0,rd[127&_[68+(0|_[(e|=0)>>2])>>2]](n,e,i),_[t>>2]=_[n>>2],_[t+4>>2]=_[n+4>>2],_[t+8>>2]=_[n+8>>2],_[t+12>>2]=_[n+12>>2],0!=+Bb[15&_[48+(0|_[e>>2])>>2]](e)?(r=(a=+p[i>>2])*a+(s=+p[i+4>>2])*s+(c=+p[i+8>>2])*c<14210854715202004e-30?-1:a,o=a*a+s*s+c*c<14210854715202004e-30?-1:s,s=1/+l(+((c=a*a+s*s+c*c<14210854715202004e-30?-1:c)*c+(r*r+o*o))),a=+Bb[15&_[48+(0|_[e>>2])>>2]](e),p[t>>2]=+p[t>>2]+a*(r*s),p[t+4>>2]=+p[t+4>>2]+a*(o*s),p[t+8>>2]=+p[t+8>>2]+a*(c*s),Q=n):Q=n},function(t,e,i){t|=0,i|=0;var n,o,_,r=0,s=0,c=0;r=+p[28+(e|=0)>>2],n=+p[e+32>>2],_=+p[i>>2],s=+p[i+8>>2],0!=(o=+l(+(_*_+s*s)))?(c=s*(r/o),s=+p[i+4>>2]<0?-n:n,r=_*(r/o)):(c=0,s=+p[i+4>>2]<0?-n:n),p[t>>2]=r,p[t+4>>2]=s,p[t+8>>2]=c},function(t,e,i){t|=0,i|=0;var n,o,_,r=0,s=0,c=0;r=+p[32+(e|=0)>>2],n=+p[e+28>>2],_=+p[i+4>>2],s=+p[i+8>>2],0!=(o=+l(+(_*_+s*s)))?(c=s*(r/o),s=+p[i>>2]<0?-n:n,r=_*(r/o)):(c=0,s=+p[i>>2]<0?-n:n),p[t+4>>2]=r,p[t>>2]=s,p[t+8>>2]=c},function(t,e,i){t|=0,i|=0;var n,o,_,r=0,s=0,c=0;r=+p[28+(e|=0)>>2],n=+p[e+36>>2],_=+p[i>>2],s=+p[i+4>>2],0!=(o=+l(+(_*_+s*s)))?(c=s*(r/o),s=+p[i+8>>2]<0?-n:n,r=_*(r/o)):(c=0,s=+p[i+8>>2]<0?-n:n),p[t>>2]=r,p[t+8>>2]=s,p[t+4>>2]=c},function(t,e,i){e|=0,i|=0,_[52+(t|=0)>>2]=_[e>>2],_[t+52+4>>2]=_[e+4>>2],_[t+52+8>>2]=_[e+8>>2],_[t+52+12>>2]=_[e+12>>2],_[t+68>>2]=_[i>>2],_[t+68+4>>2]=_[i+4>>2],_[t+68+8>>2]=_[i+8>>2],_[t+68+12>>2]=_[i+12>>2],_[t+48>>2]=1},function(t,e,i){t|=0,i|=0,_[(e|=0)>>2]=_[t+52>>2],_[e+4>>2]=_[t+52+4>>2],_[e+8>>2]=_[t+52+8>>2],_[e+12>>2]=_[t+52+12>>2],_[i>>2]=_[t+68>>2],_[i+4>>2]=_[t+68+4>>2],_[i+8>>2]=_[t+68+8>>2],_[i+12>>2]=_[t+68+12>>2]},function(t,e,i){e|=0,i|=0;var n=0,r=0,p=0,c=0,a=0,b=0,d=0,l=0,A=0;if(0|(n=0|_[108+(t|=0)>>2])&&rd[127&_[12+(0|_[n>>2])>>2]](n,0|_[e+60>>2],i),A=0|_[e+12>>2],d=0|_[t+60>>2],l=0|_[t+92>>2],0|Lb[127&_[56+(0|_[l>>2])>>2]](l)||(l=0|_[t+92>>2],rd[127&_[16+(0|_[l>>2])>>2]](l,d+((65535&A)<<6)|0,i)),l=0|s[t+56>>1],e=0|_[t+60>>2],o[e+54>>1]=65534+(0|s[e+54>>1]),o[e+56>>1]=65534+(0|s[e+56>>1]),o[e+58>>1]=65534+(0|s[e+58>>1]),b=0|_[t+68>>2],n=0|o[t+6>>1],i=0|s[d+((65535&A)<<6)+54>>1],o[b+(i<<2)>>1]=n,(r=0|o[b+(i<<2)+6>>1])<<16>>16){for(c=e+(s[b+(i<<2)+2>>1]<<6)+54|0,p=b+(i<<2)|0;i=p,!((65535&n)<(65535&(e=0|o[(p=p+4|0)>>1])))&&(n=0|_[t+60>>2],a=65535&r,o[(e=1&e?n+(a<<6)+54|0:n+(a<<6)+48|0)>>1]=(0|o[e>>1])-1<<16>>16,o[c>>1]=1+(0|o[c>>1])<<16>>16,e=s[i>>1]|s[i+2>>1]<<16,a=s[p>>1]|s[p+2>>1]<<16,o[i>>1]=a,o[i+2>>1]=a>>>16,o[p>>1]=e,o[p+2>>1]=e>>>16,(r=0|o[i+10>>1])<<16>>16);)n=65535&e;n=0|o[t+6>>1],i=0|_[t+68>>2]}else i=b;if(e=0|s[d+((65535&A)<<6)+48>>1],o[b+(e<<2)>>1]=n,(r=0|o[6+(p=i+(e<<2)|0)>>1])<<16>>16){for(a=(0|_[t+60>>2])+(s[i+(e<<2)+2>>1]<<6)+48|0,c=p,i=0|o[p>>1];n=c,!((65535&i)<(65535&(e=0|o[(c=c+4|0)>>1])))&&(i=0|_[t+60>>2],p=65535&r,o[(e=1&e?i+(p<<6)+54|0:i+(p<<6)+48|0)>>1]=(0|o[e>>1])-1<<16>>16,o[a>>1]=1+(0|o[a>>1])<<16>>16,e=s[n>>1]|s[n+2>>1]<<16,p=s[c>>1]|s[c+2>>1]<<16,o[n>>1]=p,o[n+2>>1]=p>>>16,o[c>>1]=e,o[c+2>>1]=e>>>16,(r=0|o[n+10>>1])<<16>>16);)i=65535&e;n=0|o[t+6>>1]}if(o[b+((l<<1)-1<<2)+2>>1]=0,o[b+((l<<1)-1<<2)>>1]=n,b=0|_[t+72>>2],e=0|s[d+((65535&A)<<6)+56>>1],o[b+(e<<2)>>1]=n,(i=0|o[b+(e<<2)+6>>1])<<16>>16){for(c=(0|_[t+60>>2])+(s[b+(e<<2)+2>>1]<<6)+56|0,p=b+(e<<2)|0;r=p,!((65535&n)<(65535&(e=0|o[(p=p+4|0)>>1])))&&(n=0|_[t+60>>2],a=65535&i,o[(e=1&e?n+(a<<6)+56|0:n+(a<<6)+50|0)>>1]=(0|o[e>>1])-1<<16>>16,o[c>>1]=1+(0|o[c>>1])<<16>>16,e=s[r>>1]|s[r+2>>1]<<16,a=s[p>>1]|s[p+2>>1]<<16,o[r>>1]=a,o[r+2>>1]=a>>>16,o[p>>1]=e,o[p+2>>1]=e>>>16,(i=0|o[r+10>>1])<<16>>16);)n=65535&e;n=0|o[t+6>>1],i=0|_[t+72>>2]}else i=b;if(e=0|s[d+((65535&A)<<6)+50>>1],o[b+(e<<2)>>1]=n,(p=0|o[6+(r=i+(e<<2)|0)>>1])<<16>>16){for(a=(0|_[t+60>>2])+(s[i+(e<<2)+2>>1]<<6)+50|0,c=r,i=0|o[r>>1],r=p;n=c,!((65535&i)<(65535&(e=0|o[(c=c+4|0)>>1])))&&(i=0|_[t+60>>2],p=65535&r,o[(e=1&e?i+(p<<6)+56|0:i+(p<<6)+50|0)>>1]=(0|o[e>>1])-1<<16>>16,o[a>>1]=1+(0|o[a>>1])<<16>>16,e=s[n>>1]|s[n+2>>1]<<16,p=s[c>>1]|s[c+2>>1]<<16,o[n>>1]=p,o[n+2>>1]=p>>>16,o[c>>1]=e,o[c+2>>1]=e>>>16,(r=0|o[n+10>>1])<<16>>16);)i=65535&e;n=0|o[t+6>>1]}if(o[b+((l<<1)-1<<2)+2>>1]=0,o[b+((l<<1)-1<<2)>>1]=n,b=0|_[t+76>>2],e=0|s[d+((65535&A)<<6)+58>>1],o[b+(e<<2)>>1]=n,(i=0|o[b+(e<<2)+6>>1])<<16>>16){for(c=(0|_[t+60>>2])+(s[b+(e<<2)+2>>1]<<6)+58|0,p=b+(e<<2)|0;r=p,!((65535&n)<(65535&(e=0|o[(p=p+4|0)>>1])))&&(n=0|_[t+60>>2],a=65535&i,o[(e=1&e?n+(a<<6)+58|0:n+(a<<6)+52|0)>>1]=(0|o[e>>1])-1<<16>>16,o[c>>1]=1+(0|o[c>>1])<<16>>16,e=s[r>>1]|s[r+2>>1]<<16,a=s[p>>1]|s[p+2>>1]<<16,o[r>>1]=a,o[r+2>>1]=a>>>16,o[p>>1]=e,o[p+2>>1]=e>>>16,(i=0|o[r+10>>1])<<16>>16);)n=65535&e;n=0|o[t+6>>1],i=0|_[t+76>>2]}else i=b;if(e=0|s[d+((65535&A)<<6)+52>>1],o[b+(e<<2)>>1]=n,!((p=0|o[6+(r=i+(e<<2)|0)>>1])<<16>>16))return a=n,o[(d=b+((l<<1)-1<<2)+2|0)>>1]=0,o[(d=b+((l<<1)-1<<2)|0)>>1]=a,d=0|_[t+60>>2],b=0|o[(l=t+64|0)>>1],o[(d=d+((65535&A)<<6)+48|0)>>1]=b,o[l>>1]=A,A=(A=0|o[t+56>>1])-1<<16>>16,void(o[t+56>>1]=A);for(a=(0|_[t+60>>2])+(s[i+(e<<2)+2>>1]<<6)+52|0,c=r,i=0|o[r>>1],r=p;n=c,!((65535&i)<(65535&(e=0|o[(c=c+4|0)>>1])))&&(p=0|_[t+60>>2],d=65535&r,o[(e=1&e?p+(d<<6)+58|0:p+(d<<6)+52|0)>>1]=(0|o[e>>1])-1<<16>>16,o[a>>1]=1+(0|o[a>>1])<<16>>16,e=s[n>>1]|s[n+2>>1]<<16,d=s[c>>1]|s[c+2>>1]<<16,o[n>>1]=d,o[n+2>>1]=d>>>16,o[c>>1]=e,o[c+2>>1]=e>>>16,(r=0|o[n+10>>1])<<16>>16);)i=65535&e;a=0|o[t+6>>1],o[(d=b+((l<<1)-1<<2)+2|0)>>1]=0,o[(d=b+((l<<1)-1<<2)|0)>>1]=a,d=0|_[t+60>>2],b=0|o[(l=t+64|0)>>1],o[(d=d+((65535&A)<<6)+48|0)>>1]=b,o[l>>1]=A,A=(A=0|o[t+56>>1])-1<<16>>16,o[t+56>>1]=A},function(t,e,i){t|=0,i|=0,_[(e|=0)>>2]=_[t+8>>2],_[e+4>>2]=_[t+8+4>>2],_[e+8>>2]=_[t+8+8>>2],_[e+12>>2]=_[t+8+12>>2],_[i>>2]=_[t+24>>2],_[i+4>>2]=_[t+24+4>>2],_[i+8>>2]=_[t+24+8>>2],_[i+12>>2]=_[t+24+12>>2]},jc,jc,jc,jc,function(t,e,i){var n;t|=0,e|=0,i|=0,n=Q,Q=Q+16|0,_[n>>2]=9816,_[n+4>>2]=e,rd[127&_[48+(0|_[t>>2])>>2]](t,n,i),Q=n},function(t,e,i){t|=0,!!(0|(i|=0))&!!(0|(t=0|_[8+(e|=0)>>2]))&&(zb[511&_[_[t>>2]>>2]](t),id[127&_[60+(0|_[i>>2])>>2]](i,0|_[e+8>>2]),_[e+8>>2]=0)},function(t,e,i){var n;t|=0,e|=0,i|=0,n=Q,Q=Q+16|0,_[n>>2]=9796,_[n+4>>2]=e,_[n+8>>2]=t,_[n+12>>2]=i,rd[127&_[48+(0|_[t>>2])>>2]](t,n,i),Q=n},function(t,e,i){e|=0,i|=0;var n=0,o=0,r=0;if(!((0|_[8+(t|=0)>>2])<=0)){n=0;do{r=(o=0|_[t+16>>2])+(n<<4)|0,0|Qb[31&_[8+(0|_[e>>2])>>2]](e,r)?(Zb[31&_[12+(0|_[t>>2])>>2]](t,0|_[r>>2],0|_[o+(n<<4)+4>>2],i),_[6606]=(0|_[6606])-1):n=n+1|0}while((0|n)<(0|_[t+8>>2]))}},function(t,e,i){t|=0,i|=0;var o=0,r=0;2==(0|_[60+(e|=0)>>2])?(Tt(t+64|0,r=0|_[e+48>>2]),0|(o=0|_[t+68>>2])&&(_[6631]=1+(0|_[6631]),Li(0|_[o+-4>>2])),_[t+68>>2]=r,_[t+76>>2]=(0|_[t+76>>2])-1):(Tt(t+4|0,o=0|_[e+48>>2]),0|(r=0|_[t+8>>2])&&(_[6631]=1+(0|_[6631]),Li(0|_[r+-4>>2])),_[t+8>>2]=o,_[t+16>>2]=(0|_[t+16>>2])-1),o=(o=0|_[e+52>>2])?o+56|0:t+124+(_[e+60>>2]<<2)|0,_[o>>2]=_[e+56>>2],0|(o=0|_[e+56>>2])&&(_[o+52>>2]=_[e+52>>2]),r=0|_[t+136>>2],rd[127&_[16+(0|_[r>>2])>>2]](r,e,i),_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2]),n[t+194|0]=1},function(t,e,i){e|=0,i|=0;var n,o=0,r=0,s=0,c=0,a=0,b=0,d=0,l=0;n=0|_[4+(t|=0)>>2],t=0|_[t+64>>2];do{if(n){if(o=+p[n>>2],!t){l=+p[n+12>>2],a=+p[n+16>>2],d=+p[n+20>>2],c=+p[n+24>>2],b=+p[n+28>>2],s=+p[n+4>>2],r=+p[n+8>>2];break}o=o<(b=+p[t>>2])?o:b,a=(b=+p[n+16>>2])>(a=+p[t+16>>2])?b:a,s=(b=+p[n+4>>2])<(s=+p[t+4>>2])?b:s,d=(b=+p[n+20>>2])>(d=+p[t+20>>2])?b:d,r=(b=+p[n+8>>2])<(r=+p[t+8>>2])?b:r,(b=+p[n+24>>2])>(c=+p[t+24>>2])?(l=0,c=b,b=0):(l=0,b=0)}else t?(o=+p[t>>2],l=+p[t+12>>2],a=+p[t+16>>2],d=+p[t+20>>2],c=+p[t+24>>2],b=+p[t+28>>2],s=+p[t+4>>2],r=+p[t+8>>2]):(o=0,l=0,a=0,d=0,c=0,b=0,s=0,r=0)}while(0);p[e>>2]=o,p[e+4>>2]=s,p[e+8>>2]=r,p[e+12>>2]=l,p[i>>2]=a,p[i+4>>2]=d,p[i+8>>2]=c,p[i+12>>2]=b},function(t,e,i){var n;t|=0,(0|(e|=0))!=(0|(i|=0))&&(n=0|_[136+(0|_[t+4>>2])>>2],Hb[63&_[8+(0|_[n>>2])>>2]](n,0|_[e+36>>2],0|_[i+36>>2]),i=160+(0|_[t+4>>2])|0,_[i>>2]=1+(0|_[i>>2]))},jc,jc,jc,jc,function(t,e,i){e|=0,i|=0;var n,o,r,s=0,c=0,a=0;r=Q,Q=Q+80|0,o=0|_[_[(t|=0)>>2]>>2],n=0|_[_[t+4>>2]>>2],0|Hb[63&_[24+(0|_[e>>2])>>2]](e,o,n)?(c=0|_[o+192>>2],_[r+56>>2]=0,_[r+56+4>>2]=c,_[r+56+8>>2]=o,_[r+56+12>>2]=o+4,_[r+56+16>>2]=-1,_[r+56+20>>2]=-1,c=0|_[n+192>>2],_[r+32>>2]=0,_[r+32+4>>2]=c,_[r+32+8>>2]=n,_[r+32+12>>2]=n+4,_[r+32+16>>2]=-1,_[r+32+20>>2]=-1,(c=0|_[t+8>>2])?a=4:(c=0|Zb[31&_[8+(0|_[e>>2])>>2]](e,r+56|0,r+32|0,0),_[t+8>>2]=c,0|c&&(a=4)),4==(0|a)&&(_[r>>2]=6500,_[r+4>>2]=0,_[r+8>>2]=r+56,_[r+12>>2]=r+32,1!=(0|_[i+8>>2])?(s=+Pb[15&_[12+(0|_[c>>2])>>2]](c,o,n,i,r),+p[i+12>>2]>s&&(p[i+12>>2]=s)):ld[31&_[8+(0|_[c>>2])>>2]](c,r+56|0,r+32|0,i,r)),Q=r):Q=r},ye,function(t,e,i){t|=0,e|=0,i|=0;var n,o=0,r=0,s=0,c=0;switch(n=Q,Q=Q+32|0,_[n+16>>2]=_[i>>2],_[n+16+4>>2]=_[i+4>>2],_[n+16+8>>2]=_[i+8>>2],_[n+16+12>>2]=_[i+12>>2],(r=+p[n+16>>2])*r+(s=+p[n+16+4>>2])*s+(o=+p[n+16+8>>2])*o<14210854715202004e-30&&(_[n+16>>2]=-1082130432,_[n+16+4>>2]=-1082130432,_[n+16+8>>2]=-1082130432,p[n+16+12>>2]=0,r=-1,s=-1,o=-1),c=1/+l(+(r*r+s*s+o*o)),p[n+16>>2]=r*c,p[n+16+4>>2]=s*c,p[n+16+8>>2]=o*c,ye(n,e,n+16|0),0|_[e+4>>2]){case 8:o=+p[e+28>>2]*+p[e+12>>2];break;case 0:case 1:case 13:case 11:case 10:case 4:case 5:o=+p[e+44>>2];break;default:o=+Bb[15&_[48+(0|_[e>>2])>>2]](e)}s=o*+p[n+16+4>>2]+ +p[n+4>>2],c=o*+p[n+16+8>>2]+ +p[n+8>>2],p[t>>2]=o*+p[n+16>>2]+ +p[n>>2],p[t+4>>2]=s,p[t+8>>2]=c,p[t+12>>2]=0,Q=n},Za,Za,Za,Za,Za,Za,Za,Za,Za,Za,Za,Za,Za,Za,Za,Za,Za,Za,Za,Za,Za,Za,Za,Za,Za,Za,Za,Za,Za,Za,Za,Za,Za,Za,Za,Za,Za,Za,Za,Za,Za,Za,Za,Za,Za],sd=[Ra,Vs,function(t,e,i,o){e|=0,i|=0,o=+o;var r,s=0,c=0,b=0,d=0,A=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0,O=0,x=0,T=0,P=0,V=0,M=0,G=0,L=0,N=0,E=0,H=0,Z=0,U=0,Y=0,J=0,X=0,z=0,K=0,q=0,tt=0,et=0,it=0;if(r=Q,Q=Q+448|0,0|n[527+(t|=0)|0]){if(P=0|_[t+28>>2],I=+p[t+348>>2],D=+p[t+352>>2],T=+p[t+356>>2],B=+p[P+52>>2],W=I*+p[P+4>>2]+D*+p[P+8>>2]+T*+p[P+12>>2]+B,F=+p[P+56>>2],O=I*+p[P+20>>2]+D*+p[P+24>>2]+T*+p[P+28>>2]+F,x=+p[P+60>>2],T=I*+p[P+36>>2]+D*+p[P+40>>2]+T*+p[P+44>>2]+x,V=0|_[t+32>>2],D=+p[t+412>>2],I=+p[t+416>>2],g=+p[t+420>>2],b=+p[V+52>>2],d=D*+p[V+4>>2]+I*+p[V+8>>2]+g*+p[V+12>>2]+b,A=+p[V+56>>2],f=D*+p[V+20>>2]+I*+p[V+24>>2]+g*+p[V+28>>2]+A,y=+p[V+60>>2],g=D*+p[V+36>>2]+I*+p[V+40>>2]+g*+p[V+44>>2]+y,!(0|n[t+524|0])){j=+p[e+192>>2]+ +p[e+80>>2],D=+p[e+196>>2]+ +p[e+84>>2],R=+p[e+200>>2]+ +p[e+88>>2],I=+p[i+192>>2]+ +p[i+80>>2],w=+p[i+196>>2]+ +p[i+84>>2],v=+p[i+200>>2]+ +p[i+88>>2],C=+p[e+176>>2]+ +p[e+64>>2]+((T-x)*D-(O-F)*R)-(+p[i+176>>2]+ +p[i+64>>2]+((g-y)*w-(f-A)*v)),v=+p[e+180>>2]+ +p[e+68>>2]+((W-B)*R-(T-x)*j)-(+p[i+180>>2]+ +p[i+68>>2]+((d-b)*v-(g-y)*I)),w=+p[e+184>>2]+ +p[e+72>>2]+((O-F)*j-(W-B)*D)-(+p[i+184>>2]+ +p[i+72>>2]+((f-A)*I-(d-b)*w)),u=!(0|_[e+240>>2]),m=!(0|_[i+240>>2]),s=0;do{R=(I=1/+p[t+48+(84*s|0)+80>>2])*(-.30000001192092896*((W-d)*(D=+p[(h=t+48+(84*s|0)|0)>>2])+(O-f)*(j=+p[(S=t+48+(84*s|0)+4|0)>>2])+(T-g)*(R=+p[(k=t+48+(84*s|0)+8|0)>>2]))/o)-I*(C*D+v*j+w*R),p[t+36>>2]=+p[t+36>>2]+R,j=+p[k>>2],D=+p[S>>2],I=+p[h>>2],c=+p[P+344>>2],u||(Z=((O-F)*j-(T-x)*D)*+p[P+296>>2]+((T-x)*I-(W-B)*j)*+p[P+300>>2]+((W-B)*D-(O-F)*I)*+p[P+304>>2],E=((O-F)*j-(T-x)*D)*+p[P+280>>2]+((T-x)*I-(W-B)*j)*+p[P+284>>2]+((W-B)*D-(O-F)*I)*+p[P+288>>2],H=((O-F)*j-(T-x)*D)*+p[P+264>>2]+((T-x)*I-(W-B)*j)*+p[P+268>>2]+((W-B)*D-(O-F)*I)*+p[P+272>>2],Y=R*(D*c)*+p[e+116>>2],U=R*(j*c)*+p[e+120>>2],p[e+64>>2]=R*(I*c)*+p[e+112>>2]+ +p[e+64>>2],p[e+68>>2]=Y+ +p[e+68>>2],p[e+72>>2]=U+ +p[e+72>>2],E*=R*+p[e+100>>2],c=Z*(R*+p[e+104>>2]),p[e+80>>2]=H*(R*+p[e+96>>2])+ +p[e+80>>2],p[e+84>>2]=E+ +p[e+84>>2],p[e+88>>2]=c+ +p[e+88>>2]),c=+p[V+344>>2],m||(Y=((f-A)*j-(g-y)*D)*+p[V+296>>2]+((g-y)*I-(d-b)*j)*+p[V+300>>2]+((d-b)*D-(f-A)*I)*+p[V+304>>2],U=((f-A)*j-(g-y)*D)*+p[V+280>>2]+((g-y)*I-(d-b)*j)*+p[V+284>>2]+((d-b)*D-(f-A)*I)*+p[V+288>>2],Z=((f-A)*j-(g-y)*D)*+p[V+264>>2]+((g-y)*I-(d-b)*j)*+p[V+268>>2]+((d-b)*D-(f-A)*I)*+p[V+272>>2],E=c*+p[S>>2]*-R*+p[i+116>>2],H=c*+p[k>>2]*-R*+p[i+120>>2],p[i+64>>2]=+p[i+112>>2]*(c*+p[h>>2]*-R)+ +p[i+64>>2],p[i+68>>2]=E+ +p[i+68>>2],p[i+72>>2]=H+ +p[i+72>>2],U*=+p[i+100>>2]*-R,Y*=+p[i+104>>2]*-R,p[i+80>>2]=Z*(+p[i+96>>2]*-R)+ +p[i+80>>2],p[i+84>>2]=U+ +p[i+84>>2],p[i+88>>2]=Y+ +p[i+88>>2]),s=s+1|0}while(3!=(0|s))}do{if(0|n[t+552|0])_[r+352>>2]=_[P+4>>2],_[r+352+4>>2]=_[P+4+4>>2],_[r+352+8>>2]=_[P+4+8>>2],_[r+352+12>>2]=_[P+4+12>>2],_[r+352+16>>2]=_[P+20>>2],_[r+352+16+4>>2]=_[P+20+4>>2],_[r+352+16+8>>2]=_[P+20+8>>2],_[r+352+16+12>>2]=_[P+20+12>>2],_[r+352+32>>2]=_[P+36>>2],_[r+352+32+4>>2]=_[P+36+4>>2],_[r+352+32+8>>2]=_[P+36+8>>2],_[r+352+32+12>>2]=_[P+36+12>>2],_[r+352+48>>2]=_[P+52>>2],_[r+352+48+4>>2]=_[P+52+4>>2],_[r+352+48+8>>2]=_[P+52+8>>2],_[r+352+48+12>>2]=_[P+52+12>>2],_[r+288>>2]=_[V+4>>2],_[r+288+4>>2]=_[V+4+4>>2],_[r+288+8>>2]=_[V+4+8>>2],_[r+288+12>>2]=_[V+4+12>>2],_[r+288+16>>2]=_[V+20>>2],_[r+288+16+4>>2]=_[V+20+4>>2],_[r+288+16+8>>2]=_[V+20+8>>2],_[r+288+16+12>>2]=_[V+20+12>>2],_[r+288+32>>2]=_[V+36>>2],_[r+288+32+4>>2]=_[V+36+4>>2],_[r+288+32+8>>2]=_[V+36+8>>2],_[r+288+32+12>>2]=_[V+36+12>>2],_[r+288+48>>2]=_[V+52>>2],_[r+288+48+4>>2]=_[V+52+4>>2],_[r+288+48+8>>2]=_[V+52+8>>2],_[r+288+48+12>>2]=_[V+52+12>>2],Z=+p[e+196>>2]+ +p[e+84>>2],C=+p[e+200>>2]+ +p[e+88>>2],p[r+272>>2]=+p[e+192>>2]+ +p[e+80>>2],p[r+272+4>>2]=Z,p[r+272+8>>2]=C,p[r+272+12>>2]=0,C=+p[i+196>>2]+ +p[i+84>>2],Z=+p[i+200>>2]+ +p[i+88>>2],p[r+256>>2]=+p[i+192>>2]+ +p[i+80>>2],p[r+256+4>>2]=C,p[r+256+8>>2]=Z,p[r+256+12>>2]=0,_[r+192>>2]=1065353216,_[(L=r+192+4|0)>>2]=0,_[L+4>>2]=0,_[L+8>>2]=0,_[L+12>>2]=0,_[r+192+20>>2]=1065353216,_[(N=r+192+24|0)>>2]=0,_[N+4>>2]=0,_[N+8>>2]=0,_[N+12>>2]=0,_[r+192+40>>2]=1065353216,_[(M=r+192+44|0)>>2]=0,_[M+4>>2]=0,_[M+8>>2]=0,_[M+12>>2]=0,_[M+16>>2]=0,Bt(r+352|0,0,0,0,r+272|0,o,r+192|0),_[r+128>>2]=1065353216,_[(M=r+128+4|0)>>2]=0,_[M+4>>2]=0,_[M+8>>2]=0,_[M+12>>2]=0,_[r+128+20>>2]=1065353216,_[(G=r+128+24|0)>>2]=0,_[G+4>>2]=0,_[G+8>>2]=0,_[G+12>>2]=0,_[r+128+40>>2]=1065353216,_[(V=r+128+44|0)>>2]=0,_[V+4>>2]=0,_[V+8>>2]=0,_[V+12>>2]=0,_[V+16>>2]=0,Bt(r+288|0,0,0,0,r+256|0,o,r+128|0),O=(Z=+p[t+556>>2])*(2/(Z*Z+(C=+p[t+560>>2])*C+(U=+p[t+564>>2])*U+(v=+p[t+568>>2])*v)),D=C*(2/(Z*Z+C*C+U*U+v*v)),x=U*(2/(Z*Z+C*C+U*U+v*v)),X=+p[t+364>>2],J=+p[t+368>>2],b=(q=+p[t+372>>2])*(Z*x-v*D)+(J*(Z*D+v*x)+X*(1-(C*D+U*x))),d=q*(C*x+v*O)+(X*(Z*D-v*x)+J*(1-(Z*O+U*x))),A=X*(Z*x+v*D)+J*(C*x-v*O)+q*(1-(Z*O+C*D)),c=+p[t+380>>2],F=+p[t+384>>2],f=(Z*x-v*D)*(I=+p[t+388>>2])+(F*(Z*D+v*x)+c*(1-(C*D+U*x))),y=(C*x+v*O)*I+(c*(Z*D-v*x)+F*(1-(Z*O+U*x))),g=c*(Z*x+v*D)+F*(C*x-v*O)+I*(1-(Z*O+C*D)),H=(1-(C*D+U*x))*(E=+p[t+396>>2])+(Z*D+v*x)*(B=+p[t+400>>2])+(Z*x-v*D)*(j=+p[t+404>>2]),U=(Z*D-v*x)*E+(1-(Z*O+U*x))*B+(C*x+v*O)*j,D=(Z*x+v*D)*E+(C*x-v*O)*B+(1-(Z*O+C*D))*j,C=+p[t+300>>2],O=+p[t+316>>2],Z=+p[t+332>>2],v=+p[t+304>>2],x=+p[t+320>>2],Y=+p[t+336>>2],W=+p[t+308>>2],T=+p[t+324>>2],R=+p[t+340>>2],w=-+p[t+348>>2],it=-+p[t+352>>2],K=-+p[t+356>>2],q=0*X+0*J+0*q+ +p[t+412>>2]+(A*(W*w+T*it+R*K)+(b*(C*w+O*it+Z*K)+d*(v*w+x*it+Y*K))),I=0*c+0*F+0*I+ +p[t+416>>2]+(g*(W*w+T*it+R*K)+(f*(C*w+O*it+Z*K)+y*(v*w+x*it+Y*K))),K=0*E+0*B+0*j+ +p[t+420>>2]+(D*(W*w+T*it+R*K)+(H*(C*w+O*it+Z*K)+U*(v*w+x*it+Y*K))),it=+p[r+128>>2],w=+p[M>>2],j=+p[r+128+8>>2],B=+p[r+128+16>>2],E=+p[r+128+20>>2],F=+p[G>>2],c=+p[r+128+32>>2],J=+p[r+128+36>>2],X=+p[r+128+40>>2],z=j*K+(it*q+w*I)+ +p[r+128+48>>2],tt=B*q+I*E+K*F+ +p[r+128+52>>2],et=q*c+I*J+K*X+ +p[r+128+56>>2],p[r+64>>2]=(b*C+d*v+A*W)*it+(f*C+y*v+g*W)*w+(H*C+U*v+D*W)*j,p[r+64+4>>2]=(b*O+d*x+A*T)*it+(f*O+y*x+g*T)*w+(H*O+U*x+D*T)*j,p[r+64+8>>2]=(b*Z+d*Y+A*R)*it+(f*Z+y*Y+g*R)*w+(H*Z+U*Y+D*R)*j,p[r+64+12>>2]=0,p[r+64+16>>2]=(b*C+d*v+A*W)*B+(f*C+y*v+g*W)*E+(H*C+U*v+D*W)*F,p[r+64+20>>2]=(b*O+d*x+A*T)*B+(f*O+y*x+g*T)*E+(H*O+U*x+D*T)*F,p[r+64+24>>2]=(b*Z+d*Y+A*R)*B+(f*Z+y*Y+g*R)*E+(H*Z+U*Y+D*R)*F,p[r+64+28>>2]=0,p[r+64+32>>2]=(b*C+d*v+A*W)*c+(f*C+y*v+g*W)*J+(H*C+U*v+D*W)*X,p[r+64+36>>2]=(b*O+d*x+A*T)*c+(f*O+y*x+g*T)*J+(H*O+U*x+D*T)*X,p[r+64+40>>2]=(b*Z+d*Y+A*R)*c+(f*Z+y*Y+g*R)*J+(H*Z+U*Y+D*R)*X,p[r+64+44>>2]=0,p[r+64+48>>2]=z,p[r+64+52>>2]=tt,p[r+64+56>>2]=et,p[r+64+60>>2]=0,et=(H*C+U*v+D*W)*-K+((b*C+d*v+A*W)*-q+(f*C+y*v+g*W)*-I),tt=(H*O+U*x+D*T)*-K+((b*O+d*x+A*T)*-q+(f*O+y*x+g*T)*-I),I=(H*Z+U*Y+D*R)*-K+((b*Z+d*Y+A*R)*-q+(f*Z+y*Y+g*R)*-I),q=+p[r+192>>2],K=+p[L>>2],z=+p[r+192+8>>2],X=+p[r+192+16>>2],J=+p[r+192+20>>2],c=+p[N>>2],F=+p[r+192+32>>2],E=+p[r+192+36>>2],B=+p[r+192+40>>2],j=et*q+tt*K+I*z+ +p[r+192+48>>2],w=et*X+tt*J+I*c+ +p[r+192+52>>2],I=et*F+tt*E+I*B+ +p[r+192+56>>2],p[r>>2]=(b*C+d*v+A*W)*q+(b*O+d*x+A*T)*K+(b*Z+d*Y+A*R)*z,p[r+4>>2]=(f*C+y*v+g*W)*q+(f*O+y*x+g*T)*K+(f*Z+y*Y+g*R)*z,p[r+8>>2]=(H*C+U*v+D*W)*q+(H*O+U*x+D*T)*K+(H*Z+U*Y+D*R)*z,p[r+12>>2]=0,p[r+16>>2]=(b*C+d*v+A*W)*X+(b*O+d*x+A*T)*J+(b*Z+d*Y+A*R)*c,p[r+20>>2]=(f*C+y*v+g*W)*X+(f*O+y*x+g*T)*J+(f*Z+y*Y+g*R)*c,p[r+24>>2]=(H*C+U*v+D*W)*X+(H*O+U*x+D*T)*J+(H*Z+U*Y+D*R)*c,p[r+28>>2]=0,p[r+32>>2]=(b*C+d*v+A*W)*F+(b*O+d*x+A*T)*E+(b*Z+d*Y+A*R)*B,p[r+36>>2]=(f*C+y*v+g*W)*F+(f*O+y*x+g*T)*E+(f*Z+y*Y+g*R)*B,p[r+40>>2]=(H*C+U*v+D*W)*F+(H*O+U*x+D*T)*E+(H*Z+U*Y+D*R)*B,p[r+44>>2]=0,p[r+48>>2]=j,p[r+52>>2]=w,p[r+56>>2]=I,p[r+60>>2]=0,$(r+352|0,r+64|0,r+424|0,r+416|0),I=+p[r+416>>2],w=1/o*(+p[r+424>>2]*I),j=1/o*(I*+p[r+424+4>>2]),I=1/o*(I*+p[r+424+8>>2]),$(r+288|0,r,r+424|0,r+416|0),B=+p[r+416>>2],w-=+p[r+272>>2],j-=+p[r+272+4>>2],I-=+p[r+272+8>>2],R=1/o*(+p[r+424>>2]*B)-+p[r+256>>2],D=1/o*(B*+p[r+424+4>>2])-+p[r+256+4>>2],B=1/o*(B*+p[r+424+8>>2])-+p[r+256+8>>2],w*w+j*j+I*I>1.1920928955078125e-7?(C=1/+l(+(w*w+j*j+I*I)),N=0|_[t+28>>2],f=w*C*(w*C*+p[N+264>>2]+j*C*+p[N+280>>2]+I*C*+p[N+296>>2])+j*C*(w*C*+p[N+268>>2]+j*C*+p[N+284>>2]+I*C*+p[N+300>>2])+I*C*(w*C*+p[N+272>>2]+j*C*+p[N+288>>2]+I*C*+p[N+304>>2]),b=w*C,A=j*C,C*=I):(f=0,b=0,A=0,C=0),R*R+D*D+B*B>1.1920928955078125e-7?(g=1/+l(+(R*R+D*D+B*B)),N=0|_[t+32>>2],y=R*g*(R*g*+p[N+264>>2]+D*g*+p[N+280>>2]+B*g*+p[N+296>>2])+D*g*(R*g*+p[N+268>>2]+D*g*+p[N+284>>2]+B*g*+p[N+300>>2])+B*g*(R*g*+p[N+272>>2]+D*g*+p[N+288>>2]+B*g*+p[N+304>>2]),c=R*g,d=D*g,g*=B):(y=0,c=0,d=0,g=0),(v=f*b+y*c)*v+(b=f*A+y*d)*b+(c=f*C+y*g)*c>1.1920928955078125e-7&&(f=1/+l(+(v*v+b*b+c*c)),s=0|_[t+28>>2],d=v*f*(v*f*+p[s+264>>2]+b*f*+p[s+280>>2]+c*f*+p[s+296>>2])+b*f*(v*f*+p[s+268>>2]+b*f*+p[s+284>>2]+c*f*+p[s+300>>2])+c*f*(v*f*+p[s+272>>2]+b*f*+p[s+288>>2]+c*f*+p[s+304>>2]),u=0|_[t+32>>2],R=1/((d+(f=v*f*(v*f*+p[u+264>>2]+b*f*+p[u+280>>2]+c*f*+p[u+296>>2])+b*f*(v*f*+p[u+268>>2]+b*f*+p[u+284>>2]+c*f*+p[u+300>>2])+c*f*(v*f*+p[u+272>>2]+b*f*+p[u+288>>2]+c*f*+p[u+304>>2])))*(d+f))*(w*d-R*f),c=1/((d+f)*(d+f))*(j*d-D*f),f=1/((d+f)*(d+f))*(I*d-B*f),(b=+p[t+572>>2])>=0?(g=0|n[t+553|0]?b/d:b,b=+p[t+576>>2],A=+p[t+580>>2],d=+p[t+584>>2],(y=+l(+((R+b)*(R+b)+(c+A)*(c+A)+(f+d)*(f+d))))>g?(C=A+(g*((c+A)*(1/y))-A),v=d+(g*((f+d)*(1/y))-d),w=b+(g*((R+b)*(1/y))-b),b=g*((R+b)*(1/y))-b,f=g*((f+d)*(1/y))-d,c=g*((c+A)*(1/y))-A):(C=c+A,v=f+d,w=R+b,b=R),p[t+576>>2]=w,p[t+580>>2]=C,p[t+584>>2]=v):b=R,d=b*(1/(A=+l(+(b*b+c*c+f*f)))),b=c*(1/A),c=f*(1/A),0|_[e+240>>2]&&(it=d*+p[s+296>>2]+b*+p[s+300>>2]+c*+p[s+304>>2],et=d*+p[s+280>>2]+b*+p[s+284>>2]+c*+p[s+288>>2],tt=d*+p[s+264>>2]+b*+p[s+268>>2]+c*+p[s+272>>2],K=0*A*+p[e+116>>2],q=0*A*+p[e+120>>2],p[e+64>>2]=0*A*+p[e+112>>2]+ +p[e+64>>2],p[e+68>>2]=K+ +p[e+68>>2],p[e+72>>2]=q+ +p[e+72>>2],et*=A*+p[e+100>>2],it*=A*+p[e+104>>2],p[e+80>>2]=tt*(A*+p[e+96>>2])+ +p[e+80>>2],p[e+84>>2]=et+ +p[e+84>>2],p[e+88>>2]=it+ +p[e+88>>2]),0|_[i+240>>2]&&(it=d*+p[u+296>>2]+b*+p[u+300>>2]+c*+p[u+304>>2],et=d*+p[u+280>>2]+b*+p[u+284>>2]+c*+p[u+288>>2],tt=d*+p[u+264>>2]+b*+p[u+268>>2]+c*+p[u+272>>2],K=-0*A*+p[i+116>>2],q=-0*A*+p[i+120>>2],p[i+64>>2]=-0*A*+p[i+112>>2]+ +p[i+64>>2],p[i+68>>2]=K+ +p[i+68>>2],p[i+72>>2]=q+ +p[i+72>>2],et*=+p[i+100>>2]*-A,it*=+p[i+104>>2]*-A,p[i+80>>2]=tt*(+p[i+96>>2]*-A)+ +p[i+80>>2],p[i+84>>2]=et+ +p[i+84>>2],p[i+88>>2]=it+ +p[i+88>>2])),s=e+192|0,P=e+80|0,u=e+196|0,V=e+84|0,m=e+200|0,M=e+88|0,h=i+192|0,G=i+80|0,S=i+196|0,L=i+84|0,k=i+200|0,N=i+88|0;else{if(!((c=+p[t+440>>2])>1.1920928955078125e-7)){s=e+192|0,P=e+80|0,u=e+196|0,V=e+84|0,m=e+200|0,M=e+88|0,h=i+192|0,G=i+80|0,S=i+196|0,L=i+84|0,k=i+200|0,N=i+88|0;break}C=+p[e+80>>2],v=+p[e+84>>2],w=+p[e+88>>2],(b=+p[i+192>>2]+ +p[i+80>>2]-(+p[e+192>>2]+C))*b+(A=+p[i+196>>2]+ +p[i+84>>2]-(+p[e+196>>2]+v))*A+(y=+p[i+200>>2]+ +p[i+88>>2]-(+p[e+200>>2]+w))*y>1.1920928955078125e-7?(d=b*(c*=1/(b*(f=1/+l(+(b*b+A*A+y*y)))*(b*f*(R=+p[P+264>>2])+A*f*(j=+p[P+280>>2])+y*f*(D=+p[P+296>>2]))+A*f*(b*f*(I=+p[P+268>>2])+A*f*(B=+p[P+284>>2])+y*f*(W=+p[P+300>>2]))+y*f*(b*f*(F=+p[P+272>>2])+A*f*(O=+p[P+288>>2])+y*f*(g=+p[P+304>>2]))+(b*f*(b*f*+p[V+264>>2]+A*f*+p[V+280>>2]+y*f*+p[V+296>>2])+A*f*(b*f*+p[V+268>>2]+A*f*+p[V+284>>2]+y*f*+p[V+300>>2])+y*f*(b*f*+p[V+272>>2]+A*f*+p[V+288>>2]+y*f*+p[V+304>>2]))))*(1/(f=+l(+(y*c*(y*c)+(b*c*(b*c)+A*c*(A*c)))))),b=A*c*(1/f),c=y*c*(1/f),0|_[e+240>>2]&&(Y=0*f*+p[e+116>>2],U=0*f*+p[e+120>>2],p[e+64>>2]=0*f*+p[e+112>>2]+ +p[e+64>>2],p[e+68>>2]=Y+ +p[e+68>>2],p[e+72>>2]=U+ +p[e+72>>2],U=(d*j+b*B+c*O)*(f*+p[e+100>>2]),Y=(d*D+b*W+c*g)*(f*+p[e+104>>2]),p[e+80>>2]=C+(d*R+b*I+c*F)*(f*+p[e+96>>2]),p[e+84>>2]=v+U,p[e+88>>2]=w+Y),0|_[i+240>>2]?(Y=d*+p[V+296>>2]+b*+p[V+300>>2]+c*+p[V+304>>2],U=d*+p[V+280>>2]+b*+p[V+284>>2]+c*+p[V+288>>2],Z=d*+p[V+264>>2]+b*+p[V+268>>2]+c*+p[V+272>>2],E=-0*f*+p[i+116>>2],H=-0*f*+p[i+120>>2],p[i+64>>2]=-0*f*+p[i+112>>2]+ +p[i+64>>2],p[i+68>>2]=E+ +p[i+68>>2],p[i+72>>2]=H+ +p[i+72>>2],U*=+p[i+100>>2]*-f,Y*=+p[i+104>>2]*-f,p[i+80>>2]=Z*(+p[i+96>>2]*-f)+ +p[i+80>>2],p[i+84>>2]=U+ +p[i+84>>2],p[i+88>>2]=Y+ +p[i+88>>2],s=e+192|0,P=e+80|0,u=e+196|0,V=e+84|0,m=e+200|0,M=e+88|0,h=i+192|0,G=i+80|0,S=i+196|0,L=i+84|0,k=i+200|0,N=i+88|0):(s=e+192|0,P=e+80|0,u=e+196|0,V=e+84|0,m=e+200|0,M=e+88|0,h=i+192|0,G=i+80|0,S=i+196|0,L=i+84|0,k=i+200|0,N=i+88|0)):(s=e+192|0,P=e+80|0,u=e+196|0,V=e+84|0,m=e+200|0,M=e+88|0,h=i+192|0,G=i+80|0,S=i+196|0,L=i+84|0,k=i+200|0,N=i+88|0)}}while(0);R=+p[s>>2]+ +p[P>>2],w=+p[u>>2]+ +p[V>>2],v=+p[m>>2]+ +p[M>>2],C=+p[h>>2]+ +p[G>>2],g=+p[S>>2]+ +p[L>>2],y=+p[k>>2]+ +p[N>>2],0|n[t+526|0]&&(c=(b=+p[t+528>>2])*+p[t+504>>2]*+p[t+432>>2]/o,(C-R)*(d=+p[t+460>>2])+(g-w)*(A=+p[t+464>>2])+(y-v)*(f=+p[t+468>>2])>0&&(c+=b*((C-R)*d+(g-w)*A+(y-v)*f)*+p[t+436>>2]),q=(et=+p[t+516>>2])+c*+p[t+492>>2],p[r+424>>2]=q,p[r+416>>2]=0,s=0|_[(q>0?r+424:r+416)>>2],_[t+516>>2]=s,_[a>>2]=s,b=d*(et=+p[a>>2]-et)-(q=+p[t+536>>2])*(d*et*q+A*et*(tt=+p[t+540>>2])+f*et*(c=+p[t+544>>2])),it=A*et-tt*(d*et*q+A*et*tt+f*et*c),b*=1/(c=+l(+((A=f*et-c*(d*et*q+A*et*tt+f*et*c))*A+(b*b+it*it)))),d=it*(1/c),A*=1/c,s=0|_[t+28>>2],0|_[e+240>>2]&&(it=b*+p[s+296>>2]+d*+p[s+300>>2]+A*+p[s+304>>2],et=b*+p[s+280>>2]+d*+p[s+284>>2]+A*+p[s+288>>2],tt=b*+p[s+264>>2]+d*+p[s+268>>2]+A*+p[s+272>>2],K=0*c*+p[e+116>>2],q=0*c*+p[e+120>>2],p[e+64>>2]=0*c*+p[e+112>>2]+ +p[e+64>>2],p[e+68>>2]=K+ +p[e+68>>2],p[e+72>>2]=q+ +p[e+72>>2],et*=c*+p[e+100>>2],it*=c*+p[e+104>>2],p[P>>2]=tt*(c*+p[e+96>>2])+ +p[P>>2],p[V>>2]=et+ +p[V>>2],p[M>>2]=it+ +p[M>>2]),s=0|_[t+32>>2],0|_[i+240>>2]&&(it=b*+p[s+296>>2]+d*+p[s+300>>2]+A*+p[s+304>>2],et=b*+p[s+280>>2]+d*+p[s+284>>2]+A*+p[s+288>>2],tt=b*+p[s+264>>2]+d*+p[s+268>>2]+A*+p[s+272>>2],K=-0*c*+p[i+116>>2],q=-0*c*+p[i+120>>2],p[i+64>>2]=-0*c*+p[i+112>>2]+ +p[i+64>>2],p[i+68>>2]=K+ +p[i+68>>2],p[i+72>>2]=q+ +p[i+72>>2],et*=+p[i+100>>2]*-c,it*=+p[i+104>>2]*-c,p[G>>2]=tt*(+p[i+96>>2]*-c)+ +p[G>>2],p[L>>2]=et+ +p[L>>2],p[N>>2]=it+ +p[N>>2])),0|n[t+525|0]?(A=(f=+p[t+532>>2])*+p[t+508>>2]*+p[t+432>>2]/o,(C-R)*(d=+p[t+476>>2])+(g-w)*(b=+p[t+480>>2])+(y-v)*(c=+p[t+484>>2])>0&&(A+=f*((C-R)*d+(g-w)*b+(y-v)*c)*+p[t+436>>2]),A=(it=+p[t+520>>2])+A*+p[t+496>>2],p[r+424>>2]=A,p[r+416>>2]=0,s=0|_[(A>0?r+424:r+416)>>2],_[t+520>>2]=s,_[a>>2]=s,A=+p[a>>2]-it,s=0|_[t+28>>2],0|_[e+240>>2]&&(it=d*+p[s+296>>2]+b*+p[s+300>>2]+c*+p[s+304>>2],et=d*+p[s+280>>2]+b*+p[s+284>>2]+c*+p[s+288>>2],c=d*+p[s+264>>2]+b*+p[s+268>>2]+c*+p[s+272>>2],d=0*A*+p[e+116>>2],b=0*A*+p[e+120>>2],p[e+64>>2]=0*A*+p[e+112>>2]+ +p[e+64>>2],p[e+68>>2]=d+ +p[e+68>>2],p[e+72>>2]=b+ +p[e+72>>2],b=et*(A*+p[e+100>>2]),d=it*(A*+p[e+104>>2]),p[P>>2]=c*(A*+p[e+96>>2])+ +p[P>>2],p[V>>2]=b+ +p[V>>2],p[M>>2]=d+ +p[M>>2],d=+p[t+476>>2],b=+p[t+480>>2],c=+p[t+484>>2]),s=0|_[t+32>>2],0|_[i+240>>2]?(it=d*+p[s+296>>2]+b*+p[s+300>>2]+c*+p[s+304>>2],et=d*+p[s+280>>2]+b*+p[s+284>>2]+c*+p[s+288>>2],tt=d*+p[s+264>>2]+b*+p[s+268>>2]+c*+p[s+272>>2],K=-0*A*+p[i+116>>2],q=-0*A*+p[i+120>>2],p[i+64>>2]=-0*A*+p[i+112>>2]+ +p[i+64>>2],p[i+68>>2]=K+ +p[i+68>>2],p[i+72>>2]=q+ +p[i+72>>2],et*=+p[i+100>>2]*-A,it*=+p[i+104>>2]*-A,p[G>>2]=tt*(+p[i+96>>2]*-A)+ +p[G>>2],p[L>>2]=et+ +p[L>>2],p[N>>2]=it+ +p[N>>2],Q=r):Q=r):Q=r}else Q=r},function(t,e,i,o){e|=0,i|=0,o=+o;var r,s,c,a=0,b=0,A=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0;if(c=Q,Q=Q+192|0,y=0|_[4+(t|=0)>>2],(s=+p[y+752>>2])<o)Q=c;else{if(w=0|_[y+740>>2],k=0|_[8+(0|_[t+8>>2])>>2],A=+p[i>>2],f=+p[e>>2]*o+A,u=+p[i+4>>2],m=+p[e+4>>2]*o+u,h=+p[i+8>>2],r=+p[e+8>>2]*o+h,(0|w)!=(0|k)?(b=0|_[8+(0|_[t+12>>2])>>2],j=f-+p[b+52>>2],R=m-+p[b+56>>2],v=r-+p[b+60>>2],S=t+12|0,a=k,g=j*+p[b+4>>2]+R*+p[b+20>>2]+v*+p[b+36>>2],C=j*+p[b+8>>2]+R*+p[b+24>>2]+v*+p[b+40>>2],v=j*+p[b+12>>2]+R*+p[b+28>>2]+v*+p[b+44>>2]):(R=f-+p[w+52>>2],j=m-+p[w+56>>2],v=r-+p[w+60>>2],S=t+12|0,a=0|_[8+(0|_[t+12>>2])>>2],g=R*+p[w+4>>2]+j*+p[w+20>>2]+v*+p[w+36>>2],C=R*+p[w+8>>2]+j*+p[w+24>>2]+v*+p[w+40>>2],v=R*+p[w+12>>2]+j*+p[w+28>>2]+v*+p[w+44>>2]),A-=+p[a+52>>2],u-=+p[a+56>>2],j=h-+p[a+60>>2],h=A*+p[a+4>>2]+u*+p[a+20>>2]+j*+p[a+36>>2],R=A*+p[a+8>>2]+u*+p[a+24>>2]+j*+p[a+40>>2],j=A*+p[a+12>>2]+u*+p[a+28>>2]+j*+p[a+44>>2],p[c>>2]=g,p[c+4>>2]=C,p[c+8>>2]=v,p[c+12>>2]=0,p[c+16>>2]=h,p[c+20>>2]=R,p[c+24>>2]=j,p[c+28>>2]=0,_[c+64>>2]=_[e>>2],_[c+64+4>>2]=_[e+4>>2],_[c+64+8>>2]=_[e+8>>2],_[c+64+12>>2]=_[e+12>>2],p[c+80>>2]=o,p[c+84>>2]=0,p[c+88>>2]=0,p[c+92>>2]=0,_[c+112>>2]=0,n[c+116|0]=0,_[c+120>>2]=0,_[c+120+4>>2]=0,_[c+120+8>>2]=0,_[c+120+12>>2]=0,_[c+120+16>>2]=0,_[c+120+20>>2]=0,_[c+120+24>>2]=0,_[c+120+28>>2]=0,p[c+48>>2]=f,p[c+52>>2]=m,p[c+56>>2]=r,p[c+60>>2]=0,_[c+32>>2]=_[i>>2],_[c+32+4>>2]=_[i+4>>2],_[c+32+8>>2]=_[i+8>>2],_[c+32+12>>2]=_[i+12>>2],(0|(b=0|_[y+748>>2]))>0)for(a=-1,i=0,A=s*s;;){if(a=(e=(f=+p[y+4+(184*i|0)>>2]-g)*f+(u=+p[y+4+(184*i|0)+4>>2]-C)*u+(m=+p[y+4+(184*i|0)+8>>2]-v)*m<A)?i:a,(0|(i=i+1|0))==(0|b)){y=a;break}A=e?f*f+u*u+m*m:A}else y=-1;b=0|_[8+(0|_[t+8>>2])>>2],S=0|_[8+(0|_[S>>2])>>2],A=(A=+p[b+224>>2]*+p[S+224>>2])<-10?-10:A,p[c+84>>2]=A>10?10:A,p[c+92>>2]=+p[b+228>>2]*+p[S+228>>2],A=(A=+p[b+232>>2]*+p[S+232>>2])<-10?-10:A,p[c+88>>2]=A>10?10:A,A=+p[c+72>>2],+d(+A)>.7071067690849304?(h=+p[c+68>>2],f=1/+l(+(A*A+h*h)),u=-(m=+p[c+64>>2])*(h*f),m*=-A*f,o=(A*A+h*h)*f,h*=f,A=-A*f,f=0):(R=+p[c+64>>2],u=A*(-(j=+p[c+68>>2])*(f=1/+l(+(R*R+j*j)))),m=(R*R+j*j)*f,o=R*f*-A,h=0,A=R*f,f*=-j),p[c+152>>2]=f,p[c+156>>2]=A,p[c+160>>2]=h,p[c+168>>2]=o,p[c+172>>2]=u,p[c+176>>2]=m,(0|w)!=(0|k)?(a=t+24|0,e=t+28|0,i=t+16|0,b=t+20|0):(a=t+28|0,e=t+24|0,i=t+20|0,b=t+16|0),a=0|_[a>>2],k=0|_[e>>2],w=0|_[i>>2],_[c+96>>2]=_[b>>2],_[c+100>>2]=w,_[c+104>>2]=k,_[c+108>>2]=a,a=0|_[t+4>>2],(0|y)>-1?(k=0|_[(t=a+4+(184*y|0)+148|0)>>2],D=0|_[(e=a+4+(184*y|0)+120|0)>>2],i=0|_[(b=a+4+(184*y|0)+124|0)>>2],S=0|_[(w=a+4+(184*y|0)+128|0)>>2],B=0|_[(I=a+4+(184*y|0)+112|0)>>2],_e(a+4+(184*y|0)|0,0|c,184),_[I>>2]=B,_[e>>2]=D,_[b>>2]=i,_[w>>2]=S,_[t>>2]=k):X(a,c),Q=c}},function(t,e,i,o){e|=0,i|=0,o=+o;var r,s,c,a,b=0,d=0,l=0,A=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0;return a=Q,Q=Q+192|0,y=0|_[740+(0|_[4+(t|=0)>>2])>>2],f=0|_[8+(0|_[t+8>>2])>>2],u=+p[i>>2],r=+p[e>>2]*o+u,m=+p[i+4>>2],s=+p[e+4>>2]*o+m,h=+p[i+8>>2],c=+p[e+8>>2]*o+h,(0|y)!=(0|f)?(g=0|_[8+(0|_[t+12>>2])>>2],v=r-+p[g+52>>2],C=s-+p[g+56>>2],A=c-+p[g+60>>2],b=f,d=v*+p[g+4>>2]+C*+p[g+20>>2]+A*+p[g+36>>2],l=v*+p[g+8>>2]+C*+p[g+24>>2]+A*+p[g+40>>2],A=v*+p[g+12>>2]+C*+p[g+28>>2]+A*+p[g+44>>2]):(C=r-+p[y+52>>2],v=s-+p[y+56>>2],A=c-+p[y+60>>2],b=0|_[8+(0|_[t+12>>2])>>2],d=C*+p[y+4>>2]+v*+p[y+20>>2]+A*+p[y+36>>2],l=C*+p[y+8>>2]+v*+p[y+24>>2]+A*+p[y+40>>2],A=C*+p[y+12>>2]+v*+p[y+28>>2]+A*+p[y+44>>2]),u-=+p[b+52>>2],m-=+p[b+56>>2],v=h-+p[b+60>>2],h=u*+p[b+4>>2]+m*+p[b+20>>2]+v*+p[b+36>>2],C=u*+p[b+8>>2]+m*+p[b+24>>2]+v*+p[b+40>>2],v=u*+p[b+12>>2]+m*+p[b+28>>2]+v*+p[b+44>>2],p[a>>2]=d,p[a+4>>2]=l,p[a+8>>2]=A,p[a+12>>2]=0,p[a+16>>2]=h,p[a+20>>2]=C,p[a+24>>2]=v,p[a+28>>2]=0,_[a+64>>2]=_[e>>2],_[a+64+4>>2]=_[e+4>>2],_[a+64+8>>2]=_[e+8>>2],_[a+64+12>>2]=_[e+12>>2],p[a+80>>2]=o,p[a+84>>2]=0,p[a+88>>2]=0,p[a+92>>2]=0,_[a+112>>2]=0,n[a+116|0]=0,_[a+120>>2]=0,_[a+120+4>>2]=0,_[a+120+8>>2]=0,_[a+120+12>>2]=0,_[a+120+16>>2]=0,_[a+120+20>>2]=0,_[a+120+24>>2]=0,_[a+120+28>>2]=0,p[a+48>>2]=r,p[a+52>>2]=s,p[a+56>>2]=c,p[a+60>>2]=0,_[a+32>>2]=_[i>>2],_[a+32+4>>2]=_[i+4>>2],_[a+32+8>>2]=_[i+8>>2],_[a+32+12>>2]=_[i+12>>2],(0|y)!=(0|f)?(e=t+28|0,i=t+16|0,b=t+20|0,g=0|_[(g=t+24|0)>>2],e=0|_[e>>2],i=0|_[i>>2],b=0|_[b>>2],_[(w=a+96|0)>>2]=b,_[(w=a+100|0)>>2]=i,_[(w=a+104|0)>>2]=e,_[(w=a+108|0)>>2]=g,w=t+12|0,S=0|_[(S=(0|y)!=(0|f)?w:t+8|0)>>2],y=0|_[(y=(0|y)!=(0|f)?t+8|0:w)>>2],f=0|_[(f=t+32|0)>>2],t=0|_[f>>2],t=0|_[(t=t+12|0)>>2],Vb[1&t](f,a,S,b,e,y,i,g),void(Q=a)):(i=t+24|0,S=t+20|0,e=t+16|0,w=0|_[(w=t+28|0)>>2],i=0|_[i>>2],S=0|_[S>>2],e=0|_[e>>2],_[(g=a+96|0)>>2]=e,_[(g=a+100|0)>>2]=S,_[(g=a+104|0)>>2]=i,_[(g=a+108|0)>>2]=w,g=t+12|0,b=0|_[(b=(0|y)!=(0|f)?g:t+8|0)>>2],g=0|_[(g=(0|y)!=(0|f)?t+8|0:g)>>2],y=0|_[(y=t+32|0)>>2],f=0|_[y>>2],f=0|_[(f=f+12|0)>>2],Vb[1&f](y,a,b,e,i,g,S,w),void(Q=a))},Vs,function(t,e,i,o){var r,s,c,a;if(e|=0,i|=0,o=+o,r=Q,Q=Q+16|0,p[32+(t|=0)>>2]=o,_[t+8>>2]=_[e>>2],_[t+8+4>>2]=_[e+4>>2],_[t+8+8>>2]=_[e+8>>2],_[t+8+12>>2]=_[e+12>>2],s=+p[t+28>>2],a=+p[i+4>>2]-s*+p[e+4>>2],c=+p[i+8>>2]-s*+p[e+8>>2],p[r>>2]=+p[i>>2]-+p[e>>2]*s,p[r+4>>2]=a,p[r+8>>2]=c,p[r+12>>2]=0,o=s+ +p[t+24>>2]+o,p[t+32>>2]=o,!(o<0))return t=0|_[(t=t+4|0)>>2],i=0|_[t>>2],i=0|_[(i=i+16|0)>>2],sd[15&i](t,e,r,o),void(Q=r);n[t+36|0]=1,t=0|_[(t=t+4|0)>>2],i=0|_[t>>2],i=0|_[(i=i+16|0)>>2],sd[15&i](t,e,r,o),Q=r},function(t,e,i,o){t|=0,i|=0,o=+o;var r,s,c,a,b,d,l=0,A=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0,O=0,x=0;return d=Q,Q=Q+16|0,l=+p[(e|=0)>>2],s=+p[e+4>>2],c=+p[e+8>>2],a=+p[i>>2],b=+p[i+4>>2],r=+p[i+8>>2],0|n[t+228|0]?(w=+p[t+36>>2],j=+p[t+52>>2],C=+p[t+68>>2],k=+p[t+40>>2],I=+p[t+56>>2],v=+p[t+72>>2],R=+p[t+44>>2],W=+p[t+60>>2],S=+p[t+76>>2],h=-+p[t+84>>2],y=-+p[t+88>>2],g=-+p[t+92>>2],A=+p[t+164>>2],f=+p[t+168>>2],F=+p[t+172>>2],u=+p[t+180>>2],m=+p[t+184>>2],O=+p[t+188>>2],D=+p[t+196>>2],B=+p[t+200>>2],x=+p[t+204>>2],F=(c*o+r)*(C*A+v*f+S*F)+((l*o+a)*(w*A+k*f+R*F)+(s*o+b)*(j*A+I*f+W*F))+(A*(w*h+j*y+C*g)+(k*h+I*y+v*g)*f+(R*h+W*y+S*g)*F+ +p[t+212>>2]),O=(c*o+r)*(C*u+v*m+S*O)+((l*o+a)*(w*u+k*m+R*O)+(s*o+b)*(j*u+I*m+W*O))+((w*h+j*y+C*g)*u+(k*h+I*y+v*g)*m+(R*h+W*y+S*g)*O+ +p[t+216>>2]),x=(w*h+j*y+C*g)*D+(k*h+I*y+v*g)*B+(R*h+W*y+S*g)*x+ +p[t+220>>2]+((c*o+r)*(C*D+v*B+S*x)+((l*o+a)*(w*D+k*B+R*x)+(s*o+b)*(j*D+I*B+W*x))),p[d>>2]=F+l*(l*(F-a)+s*(O-b)+c*(x-r)),p[d+4>>2]=O+s*(l*(F-a)+s*(O-b)+c*(x-r)),p[d+8>>2]=x+c*(l*(F-a)+s*(O-b)+c*(x-r)),x=l*(F-a)+s*(O-b)+c*(x-r),p[(i=d+12|0)>>2]=0,t=0|_[(t=t+32|0)>>2],i=0|_[t>>2],i=0|_[(i=i+16|0)>>2],sd[15&i](t,e,d,x),void(Q=d)):(w=+p[t+100>>2],C=+p[t+116>>2],j=+p[t+132>>2],S=+p[t+104>>2],y=+p[t+120>>2],R=+p[t+136>>2],v=+p[t+108>>2],m=+p[t+124>>2],k=+p[t+140>>2],B=-+p[t+148>>2],I=-+p[t+152>>2],D=-+p[t+156>>2],x=+p[t+164>>2],O=+p[t+168>>2],u=+p[t+172>>2],F=+p[t+180>>2],W=+p[t+184>>2],f=+p[t+188>>2],g=+p[t+196>>2],h=+p[t+200>>2],A=+p[t+204>>2],u=r*(j*x+R*O+k*u)+(a*(w*x+S*O+v*u)+b*(C*x+y*O+m*u))+(x*(w*B+C*I+j*D)+(S*B+y*I+R*D)*O+(v*B+m*I+k*D)*u+ +p[t+212>>2]),f=r*(j*F+R*W+k*f)+(a*(w*F+S*W+v*f)+b*(C*F+y*W+m*f))+((w*B+C*I+j*D)*F+(S*B+y*I+R*D)*W+(v*B+m*I+k*D)*f+ +p[t+216>>2]),A=(w*B+C*I+j*D)*g+(S*B+y*I+R*D)*h+(v*B+m*I+k*D)*A+ +p[t+220>>2]+(r*(j*g+R*h+k*A)+(a*(w*g+S*h+v*A)+b*(C*g+y*h+m*A))),p[d>>2]=u,p[d+4>>2]=f,p[d+8>>2]=A,l=l*(l*o+a-u)+s*(s*o+b-f)+c*(c*o+r-A),p[(i=d+12|0)>>2]=0,t=0|_[(t=t+32|0)>>2],i=0|_[t>>2],i=0|_[(i=i+16|0)>>2],sd[15&i](t,e,d,l),void(Q=d))},function(t,e,i,o){e|=0,i|=0,o=+o,_[4+(t|=0)>>2]=_[e>>2],_[t+4+4>>2]=_[e+4>>2],_[t+4+8>>2]=_[e+8>>2],_[t+4+12>>2]=_[e+12>>2],_[t+20>>2]=_[i>>2],_[t+20+4>>2]=_[i+4>>2],_[t+20+8>>2]=_[i+8>>2],_[t+20+12>>2]=_[i+12>>2],p[t+36>>2]=o,n[t+40|0]=1},function(t,e,i,o){e|=0,i|=0,o=+o,+p[36+(t|=0)>>2]>o&&(n[t+40|0]=1,_[t+4>>2]=_[e>>2],_[t+4+4>>2]=_[e+4>>2],_[t+4+8>>2]=_[e+8>>2],_[t+4+12>>2]=_[e+12>>2],_[t+20>>2]=_[i>>2],_[t+20+4>>2]=_[i+4>>2],_[t+20+8>>2]=_[i+8>>2],_[t+20+12>>2]=_[i+12>>2],p[t+36>>2]=o)},Ra,Ra,Ra,Ra,Ra,Ra],pd=[function(t,e,i,n,o,_){n=+n,v(32)},function(t,e,i,n,o,_){x(1,0|(t|=0),0|(e|=0),0|(i|=0),+(n=+n),0|(o|=0),0|(_|=0))}],cd=[ra,function(t,e,i,n){T(0,0|(t|=0),0|(e|=0),0|(i|=0),0|(n|=0))},function(t,e,i,n){t|=0,e|=0,n|=0;var o,r=0,s=0,c=0,a=0;for(o=Q,Q=Q+224|0,Fo(o+192|0,+p[(i|=0)>>2],+p[i+4>>2],+p[i+8>>2],+p[e>>2],+p[e+4>>2],+p[e+8>>2]),Mo(o+208|0,+p[o+192>>2],+p[o+192+4>>2],+p[o+192+8>>2],.5),Bo(o+160|0,+p[i>>2],+p[i+4>>2],+p[i+8>>2],+p[e>>2],+p[e+4>>2],+p[e+8>>2]),Mo(o+176|0,+p[o+160>>2],+p[o+160+4>>2],+p[o+160+8>>2],.5),p[o+136>>2]=1,p[o+132>>2]=1,p[o+128>>2]=1,R_(o+144|0,o+136|0,o+132|0,o+128|0),i=0;4!=(0|i);){for(e=0;3!=(0|e);)s=0|vb(o+144|0),a=+p[s>>2],r=0|vb(o+208|0),p[o+72>>2]=a*+p[r>>2],p[o+68>>2]=+p[s+4>>2]*+p[r+4>>2],p[o+64>>2]=+p[s+8>>2]*+p[r+8>>2],R_(o+80|0,o+72|0,o+68|0,o+64|0),_[o+112>>2]=_[o+80>>2],_[o+112+4>>2]=_[o+80+4>>2],_[o+112+8>>2]=_[o+80+8>>2],_[o+112+12>>2]=_[o+80+12>>2],c_(o+112|0,o+176|0),p[(c=s+((e>>>0)%3<<2)|0)>>2]=-+p[c>>2],p[o+40>>2]=+p[s>>2]*+p[r>>2],p[o+36>>2]=+p[s+4>>2]*+p[r+4>>2],p[o+32>>2]=+p[s+8>>2]*+p[r+8>>2],R_(o+48|0,o+40|0,o+36|0,o+32|0),_[o+96>>2]=_[o+48>>2],_[o+96+4>>2]=_[o+48+4>>2],_[o+96+8>>2]=_[o+48+8>>2],_[o+96+12>>2]=_[o+48+12>>2],c_(o+96|0,o+176|0),cd[127&_[8+(0|_[t>>2])>>2]](t,o+112|0,o+96|0,n),e=e+1|0;p[o+8>>2]=-1,p[o+4>>2]=-1,p[o>>2]=-1,R_(o+16|0,o+8|0,o+4|0,o),_[o+144>>2]=_[o+16>>2],_[o+144+4>>2]=_[o+16+4>>2],_[o+144+8>>2]=_[o+16+8>>2],_[o+144+12>>2]=_[o+16+12>>2],i>>>0<3&&(c=(0|vb(o+144|0))+(i<<2)|0,p[c>>2]=-+p[c>>2]),i=i+1|0}Q=o},function(t,e,i,n){var o,r,s;e|=0,i|=0,n|=0,o=Q,Q=Q+384|0,s=0|_[8+(0|_[(t|=0)>>2])>>2],R_(o+368|0,r=0|vb(e),r+4|0,r+8|0),R_(o+352|0,e=0|vb(i),r+4|0,r+8|0),cd[127&s](t,o+368|0,o+352|0,n),i=0|_[8+(0|_[t>>2])>>2],R_(o+336|0,e,r+4|0,r+8|0),R_(o+320|0,e,e+4|0,r+8|0),cd[127&i](t,o+336|0,o+320|0,n),i=0|_[8+(0|_[t>>2])>>2],R_(o+304|0,e,e+4|0,r+8|0),R_(o+288|0,r,e+4|0,r+8|0),cd[127&i](t,o+304|0,o+288|0,n),i=0|_[8+(0|_[t>>2])>>2],R_(o+272|0,r,e+4|0,r+8|0),R_(o+256|0,r,r+4|0,r+8|0),cd[127&i](t,o+272|0,o+256|0,n),i=0|_[8+(0|_[t>>2])>>2],R_(o+240|0,r,r+4|0,r+8|0),R_(o+224|0,r,r+4|0,e+8|0),cd[127&i](t,o+240|0,o+224|0,n),i=0|_[8+(0|_[t>>2])>>2],R_(o+208|0,e,r+4|0,r+8|0),R_(o+192|0,e,r+4|0,e+8|0),cd[127&i](t,o+208|0,o+192|0,n),i=0|_[8+(0|_[t>>2])>>2],R_(o+176|0,e,e+4|0,r+8|0),R_(o+160|0,e,e+4|0,e+8|0),cd[127&i](t,o+176|0,o+160|0,n),i=0|_[8+(0|_[t>>2])>>2],R_(o+144|0,r,e+4|0,r+8|0),R_(o+128|0,r,e+4|0,e+8|0),cd[127&i](t,o+144|0,o+128|0,n),i=0|_[8+(0|_[t>>2])>>2],R_(o+112|0,r,r+4|0,e+8|0),R_(o+96|0,e,r+4|0,e+8|0),cd[127&i](t,o+112|0,o+96|0,n),i=0|_[8+(0|_[t>>2])>>2],R_(o+80|0,e,r+4|0,e+8|0),R_(o+64|0,e,e+4|0,e+8|0),cd[127&i](t,o+80|0,o+64|0,n),i=0|_[8+(0|_[t>>2])>>2],R_(o+48|0,e,e+4|0,e+8|0),R_(o+32|0,r,e+4|0,e+8|0),cd[127&i](t,o+48|0,o+32|0,n),i=0|_[8+(0|_[t>>2])>>2],R_(o+16|0,r,e+4|0,e+8|0),R_(o,r,r+4|0,e+8|0),cd[127&i](t,o+16|0,o,n),Q=o},function(t,e,i,n){e|=0,i|=0,n|=0;var o,r,s,c,a,b,d,l,A,f,u,m,h,y,g,C=0,v=0,S=0,w=0;o=Q,Q=Q+128|0,t=0|_[16+(t|=0)>>2],c=+p[t+892>>2],y=+p[t+896>>2],g=+p[t+900>>2],h=+p[t+908>>2],r=+p[t+912>>2],v=+p[t+916>>2],m=+p[e>>2],u=+p[e+4>>2],f=+p[e+8>>2],l=+p[e+16>>2],d=+p[e+20>>2],b=+p[e+24>>2],s=+p[e+32>>2],C=+p[e+36>>2],S=+p[e+40>>2],A=+p[e+48>>2],a=+p[e+52>>2],w=+p[e+56>>2],p[o>>2]=c*m+y*u+g*f+A,p[o+4>>2]=c*l+y*d+g*b+a,p[o+8>>2]=c*s+y*C+g*S+w,p[o+12>>2]=0,p[o+16>>2]=h*m+y*u+g*f+A,p[o+20>>2]=h*l+y*d+g*b+a,p[o+24>>2]=h*s+y*C+g*S+w,p[o+28>>2]=0,p[o+32>>2]=h*m+r*u+g*f+A,p[o+36>>2]=h*l+r*d+g*b+a,p[o+40>>2]=h*s+r*C+g*S+w,p[o+44>>2]=0,p[o+48>>2]=c*m+r*u+g*f+A,p[o+52>>2]=c*l+r*d+g*b+a,p[o+56>>2]=c*s+r*C+g*S+w,p[o+60>>2]=0,p[o+64>>2]=c*m+y*u+v*f+A,p[o+68>>2]=c*l+y*d+v*b+a,p[o+72>>2]=c*s+y*C+v*S+w,p[o+76>>2]=0,p[o+80>>2]=h*m+y*u+v*f+A,p[o+84>>2]=h*l+y*d+v*b+a,p[o+88>>2]=h*s+y*C+v*S+w,p[o+92>>2]=0,p[o+96>>2]=h*m+r*u+v*f+A,p[o+100>>2]=h*l+r*d+v*b+a,p[o+104>>2]=h*s+r*C+v*S+w,p[o+108>>2]=0,p[o+112>>2]=c*m+r*u+v*f+A,p[o+116>>2]=c*l+r*d+v*b+a,p[o+120>>2]=c*s+r*C+v*S+w,p[o+124>>2]=0,_[n>>2]=_[o>>2],_[n+4>>2]=_[o+4>>2],_[n+8>>2]=_[o+8>>2],_[n+12>>2]=_[o+12>>2],_[i>>2]=_[o>>2],_[i+4>>2]=_[o+4>>2],_[i+8>>2]=_[o+8>>2],_[i+12>>2]=_[o+12>>2],t=1;do{(C=+p[o+(t<<4)>>2])<+p[i>>2]&&(p[i>>2]=C),(v=+p[o+(t<<4)+4>>2])<+p[i+4>>2]&&(p[i+4>>2]=v),(S=+p[o+(t<<4)+8>>2])<+p[i+8>>2]&&(p[i+8>>2]=S),(w=+p[o+(t<<4)+12>>2])<+p[i+12>>2]&&(p[i+12>>2]=w),+p[n>>2]<C&&(p[n>>2]=C),+p[n+4>>2]<v&&(p[n+4>>2]=v),+p[n+8>>2]<S&&(p[n+8>>2]=S),+p[n+12>>2]<w&&(p[n+12>>2]=w),t=t+1|0}while(8!=(0|t));Q=o},rp,rp,rp,function(t,e,i,n){e|=0,i|=0,n|=0;var o,r,s=0,c=0,a=0,b=0,d=0,l=0,A=0,f=0;r=Q,Q=Q+80|0,o=+Bb[15&_[48+(0|_[(t|=0)>>2])>>2]](t),s=0;do{f=r+64+(s<<2)|0,_[r+64>>2]=0,_[r+64+4>>2]=0,_[r+64+8>>2]=0,_[r+64+12>>2]=0,p[f>>2]=1,c=0|_[64+(0|_[t>>2])>>2],a=+p[r+64>>2],b=+p[r+64+4>>2],d=+p[r+64+8>>2],l=a*+p[e+4>>2]+b*+p[e+20>>2]+d*+p[e+36>>2],A=a*+p[e+8>>2]+b*+p[e+24>>2]+d*+p[e+40>>2],p[r+32>>2]=+p[e>>2]*a+ +p[e+16>>2]*b+ +p[e+32>>2]*d,p[r+32+4>>2]=l,p[r+32+8>>2]=A,p[r+32+12>>2]=0,rd[127&c](r+48|0,t,r+32|0),A=+p[r+48>>2],l=+p[r+48+4>>2],d=+p[r+48+8>>2],b=A*+p[e+16>>2]+l*+p[e+20>>2]+d*+p[e+24>>2]+ +p[e+52>>2],a=A*+p[e+32>>2]+l*+p[e+36>>2]+d*+p[e+40>>2]+ +p[e+56>>2],p[r+32>>2]=A*+p[e>>2]+l*+p[e+4>>2]+d*+p[e+8>>2]+ +p[e+48>>2],p[r+32+4>>2]=b,p[r+32+8>>2]=a,p[r+32+12>>2]=0,c=r+32+(s<<2)|0,p[n+(s<<2)>>2]=o+ +p[c>>2],p[f>>2]=-1,f=0|_[64+(0|_[t>>2])>>2],a=+p[r+64>>2],b=+p[r+64+4>>2],d=+p[r+64+8>>2],l=a*+p[e+4>>2]+b*+p[e+20>>2]+d*+p[e+36>>2],A=a*+p[e+8>>2]+b*+p[e+24>>2]+d*+p[e+40>>2],p[r>>2]=+p[e>>2]*a+ +p[e+16>>2]*b+ +p[e+32>>2]*d,p[r+4>>2]=l,p[r+8>>2]=A,p[r+12>>2]=0,rd[127&f](r+16|0,t,r),A=+p[r+16>>2],l=+p[r+16+4>>2],d=+p[r+16+8>>2],b=A*+p[e+16>>2]+l*+p[e+20>>2]+d*+p[e+24>>2]+ +p[e+52>>2],a=A*+p[e+32>>2]+l*+p[e+36>>2]+d*+p[e+40>>2]+ +p[e+56>>2],p[r+32>>2]=A*+p[e>>2]+l*+p[e+4>>2]+d*+p[e+8>>2]+ +p[e+48>>2],p[r+32+4>>2]=b,p[r+32+8>>2]=a,p[r+32+12>>2]=0,p[i+(s<<2)>>2]=+p[c>>2]-o,s=s+1|0}while(3!=(0|s));Q=r},ot,U_,function(t,e,i,n){t|=0,e|=0,i|=0;var o=0,r=0,s=0,c=0,a=0,b=0,d=0,l=0;if(!((0|(n|=0))<=0)){o=0;do{l=+p[e+(o<<4)>>2],d=+p[e+(o<<4)+4>>2],c=+p[e+(o<<4)+8>>2],a=l*+p[t+56>>2]+d*+p[t+60>>2]+c*+p[t+64>>2],b=l*+p[t+72>>2]+d*+p[t+76>>2]+c*+p[t+80>>2],c=l*+p[t+88>>2]+d*+p[t+92>>2]+c*+p[t+96>>2],s=t+56+((a<b?b<c?2:1:a<c?2:0)<<4)|0,_[(r=i+(o<<4)|0)>>2]=_[s>>2],_[r+4>>2]=_[s+4>>2],_[r+8>>2]=_[s+8>>2],_[r+12>>2]=_[s+12>>2],o=o+1|0}while((0|o)!=(0|n))}},function(t,e,i,n){e|=0,i|=0,n|=0,rd[127&_[108+(0|_[(t|=0)>>2])>>2]](t,e,i),rd[127&_[108+(0|_[t>>2])>>2]](t,(e+1|0)%3|0,n)},function(t,e,i,n){e|=0,i|=0,n|=0,cd[127&_[124+(0|_[(t|=0)>>2])>>2]](t,n,e,i)},function(t,e,i,n){i|=0,n|=0;var o,r,s,c,a=0,b=0,d=0;a=+p[56+(t|=0)>>2],s=+p[t+72>>2]-a,b=+p[t+60>>2],r=+p[t+76>>2]-b,d=+p[t+64>>2],c=+p[t+80>>2]-d,a=+p[t+88>>2]-a,b=+p[t+92>>2]-b,d=+p[t+96>>2]-d,p[i+12>>2]=0,o=1/+l(+((s*b-r*a)*(s*b-r*a)+((r*d-c*b)*(r*d-c*b)+(c*a-s*d)*(c*a-s*d)))),p[i>>2]=(r*d-c*b)*o,p[i+4>>2]=(c*a-s*d)*o,p[i+8>>2]=(s*b-r*a)*o,_[n>>2]=_[t+56>>2],_[n+4>>2]=_[t+56+4>>2],_[n+8>>2]=_[t+56+8>>2],_[n+12>>2]=_[t+56+12>>2]},function(t,e,i,o){e|=0,i|=0,o|=0;var r,s,c=0,a=0,b=0,d=0,A=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0,O=0;r=Q,Q=Q+144|0,A=0|_[48+(t|=0)>>2],0|(b=0|_[t+52>>2])&&0|(d=0|_[b+20>>2])&&1&Lb[127&_[48+(0|_[d>>2])>>2]](d)&&(_[r>>2]=1065353216,_[r+4>>2]=1065353216,_[r+8>>2]=0,p[r+12>>2]=0,d=0|_[t+8>>2],h=0|_[20+(0|_[t+52>>2])>>2],m=0|_[8+(0|_[h>>2])>>2],y=+p[e>>2],j=+p[e+4>>2],g=+p[e+8>>2],k=+p[d+20>>2],C=+p[d+24>>2],D=+p[d+28>>2],v=+p[d+36>>2],B=+p[d+40>>2],S=+p[d+44>>2],w=+p[d+52>>2],I=+p[d+56>>2],R=+p[d+60>>2],p[r+120>>2]=y*+p[d+4>>2]+j*+p[d+8>>2]+g*+p[d+12>>2]+w,p[r+120+4>>2]=y*k+j*C+g*D+I,p[r+120+8>>2]=y*v+j*B+g*S+R,p[r+120+12>>2]=0,g=+p[e+16>>2],j=+p[e+20>>2],y=+p[e+24>>2],p[r+96>>2]=w+(g*+p[d+4>>2]+j*+p[d+8>>2]+y*+p[d+12>>2]),p[r+96+4>>2]=I+(k*g+C*j+D*y),p[r+96+8>>2]=R+(v*g+B*j+S*y),p[r+96+12>>2]=0,cd[127&m](h,r+120|0,r+96|0,r),h=0|_[20+(0|_[t+52>>2])>>2],m=0|_[8+(0|_[h>>2])>>2],y=+p[e+16>>2],S=+p[e+20>>2],j=+p[e+24>>2],B=+p[d+20>>2],g=+p[d+24>>2],v=+p[d+28>>2],R=+p[d+36>>2],D=+p[d+40>>2],C=+p[d+44>>2],k=+p[d+52>>2],I=+p[d+56>>2],w=+p[d+60>>2],p[r+120>>2]=y*+p[d+4>>2]+S*+p[d+8>>2]+j*+p[d+12>>2]+k,p[r+120+4>>2]=y*B+S*g+j*v+I,p[r+120+8>>2]=y*R+S*D+j*C+w,p[r+120+12>>2]=0,j=+p[e+32>>2],S=+p[e+36>>2],y=+p[e+40>>2],p[r+96>>2]=k+(j*+p[d+4>>2]+S*+p[d+8>>2]+y*+p[d+12>>2]),p[r+96+4>>2]=I+(B*j+g*S+v*y),p[r+96+8>>2]=w+(R*j+D*S+C*y),p[r+96+12>>2]=0,cd[127&m](h,r+120|0,r+96|0,r),h=0|_[20+(0|_[t+52>>2])>>2],m=0|_[8+(0|_[h>>2])>>2],y=+p[e+32>>2],C=+p[e+36>>2],S=+p[e+40>>2],D=+p[d+20>>2],j=+p[d+24>>2],R=+p[d+28>>2],w=+p[d+36>>2],v=+p[d+40>>2],g=+p[d+44>>2],B=+p[d+52>>2],I=+p[d+56>>2],k=+p[d+60>>2],p[r+120>>2]=y*+p[d+4>>2]+C*+p[d+8>>2]+S*+p[d+12>>2]+B,p[r+120+4>>2]=y*D+C*j+S*R+I,p[r+120+8>>2]=y*w+C*v+S*g+k,p[r+120+12>>2]=0,S=+p[e>>2],C=+p[e+4>>2],y=+p[e+8>>2],p[r+96>>2]=B+(S*+p[d+4>>2]+C*+p[d+8>>2]+y*+p[d+12>>2]),p[r+96+4>>2]=I+(D*S+j*C+R*y),p[r+96+8>>2]=k+(w*S+v*C+g*y),p[r+96+12>>2]=0,cd[127&m](h,r+120|0,r+96|0,r)),b=9*((i<<21|o)+~(o<<15)>>10^(i<<21|o)+~(o<<15))|0,b^=b>>6,b=(0|_[t+108>>2])-1&(b+~(b<<11)>>16^b+~(b<<11));t:do{if(b>>>0<(0|_[t+64>>2])>>>0&&(c=0|_[(0|_[t+72>>2])+(b<<2)>>2],-1!=(0|c))){for(b=0|_[t+132>>2];(i<<21|o)!=(0|_[b+(c<<2)>>2]);)if(-1==(0|(c=0|_[(0|_[t+92>>2])+(c<<2)>>2])))break t;if((b=0|_[t+112>>2])+(c<<3)|0)return m=0|_[b+(c<<3)+4>>2],h=0|_[t+8>>2],_[m+8>>2]=_[8+(0|_[h+192>>2])>>2],u=0|_[t+4>>2],f=0|_[u+192>>2],_[r>>2]=0,_[r+4>>2]=f,_[r+8>>2]=u,_[r+12>>2]=u+4,_[r+16>>2]=-1,_[r+20>>2]=-1,_[r+120>>2]=0,_[r+120+4>>2]=m,_[r+120+8>>2]=h,_[r+120+12>>2]=h+4,_[r+120+16>>2]=i,_[r+120+20>>2]=o,h=0|Zb[31&_[8+(0|_[A>>2])>>2]](A,r,r+120|0,0),ld[31&_[8+(0|_[h>>2])>>2]](h,r,r+120|0,0|_[t+52>>2],0|_[t+44>>2]),zb[511&_[_[h>>2]>>2]](h),id[127&_[60+(0|_[A>>2])>>2]](A,h),void(Q=r)}}while(0);C=+p[e+16>>2],s=+p[e>>2],v=+p[e+20>>2],y=+p[e+4>>2],S=+p[e+24>>2],g=+p[e+8>>2],w=+p[e+32>>2],R=+p[e+36>>2],D=+p[e+40>>2],B=1/+l(+((I=(C-s)*(R-y)-(v-y)*(w-s))*I+((k=(v-y)*(D-g)-(S-g)*(R-y))*k+(j=(S-g)*(w-s)-(C-s)*(D-g))*j))),p[r>>2]=s+k*B*.05999999865889549,p[r+4>>2]=y+j*B*.05999999865889549,p[r+8>>2]=g+I*B*.05999999865889549,p[r+12>>2]=0,p[r+16>>2]=C+k*B*.05999999865889549,p[r+20>>2]=v+j*B*.05999999865889549,p[r+24>>2]=S+I*B*.05999999865889549,p[r+28>>2]=0,p[r+32>>2]=w+k*B*.05999999865889549,p[r+36>>2]=R+j*B*.05999999865889549,p[r+40>>2]=D+I*B*.05999999865889549,p[r+44>>2]=0,p[r+48>>2]=s-k*B*.05999999865889549,p[r+52>>2]=y-j*B*.05999999865889549,p[r+56>>2]=g-I*B*.05999999865889549,p[r+60>>2]=0,p[r+64>>2]=C-k*B*.05999999865889549,p[r+68>>2]=v-j*B*.05999999865889549,p[r+72>>2]=S-I*B*.05999999865889549,p[r+76>>2]=0,p[r+80>>2]=w-k*B*.05999999865889549,p[r+84>>2]=R-j*B*.05999999865889549,p[r+88>>2]=D-I*B*.05999999865889549,p[r+92>>2]=0,_[6630]=1+(0|_[6630]),(c=0|di(131))?(_[(c+4+15&-16)-4>>2]=c,c=c+4+15&-16):c=0,ft(c,r,6,16),h=0|_[t+8>>2],_[c+8>>2]=_[8+(0|_[h+192>>2])>>2],m=0|_[t+4>>2],e=0|_[m+192>>2],_[r+120>>2]=0,_[r+120+4>>2]=e,_[r+120+8>>2]=m,_[r+120+12>>2]=m+4,_[r+120+16>>2]=-1,_[r+120+20>>2]=-1,_[r+96>>2]=0,_[r+96+4>>2]=c,_[r+96+8>>2]=h,_[r+96+12>>2]=h+4,_[r+96+16>>2]=i,_[r+96+20>>2]=o,h=0|Zb[31&_[8+(0|_[A>>2])>>2]](A,r+120|0,r+96|0,0),ld[31&_[8+(0|_[h>>2])>>2]](h,r+120|0,r+96|0,0|_[t+52>>2],0|_[t+44>>2]),zb[511&_[_[h>>2]>>2]](h),id[127&_[60+(0|_[A>>2])>>2]](A,h),h=9*((i<<21|o)+~(o<<15)>>10^(i<<21|o)+~(o<<15))|0,h=(h^=h>>6)+~(h<<11)>>16^h+~(h<<11),A=0|_[t+108>>2];t:do{if((h&A+-1)>>>0<(0|_[t+64>>2])>>>0&&(a=0|_[(0|_[t+72>>2])+((h&A+-1)<<2)>>2],-1!=(0|a))){for(b=0|_[t+132>>2];(i<<21|o)!=(0|_[b+(a<<2)>>2]);)if(-1==(0|(a=0|_[(0|_[t+92>>2])+(a<<2)>>2]))){f=20;break t}t=0|_[t+112>>2],_[t+(a<<3)>>2]=i<<21|o,_[t+(a<<3)+4>>2]=c}else f=20}while(0);if(20==(0|f)){if((0|(m=0|_[t+104>>2]))==(0|A))if((0|A)<(0|(e=0|A?A<<1:1))){if(e?(_[6630]=1+(0|_[6630]),(a=0|di(16+(e<<3|3)|0))?(_[(a+4+15&-16)-4>>2]=a,a=a+4+15&-16):a=0,d=0|_[t+104>>2]):(a=0,d=A),(0|d)>0){b=0;do{O=(0|_[t+112>>2])+(b<<3)|0,F=0|_[O+4>>2],_[(W=a+(b<<3)|0)>>2]=_[O>>2],_[W+4>>2]=F,b=b+1|0}while((0|b)!=(0|d))}0|(b=0|_[t+112>>2])&&(0|n[t+116|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[b+-4>>2])),_[t+112>>2]=0),n[t+116|0]=1,_[t+112>>2]=a,_[t+108>>2]=e,a=0|_[t+104>>2]}else a=A;else a=m;if(O=0|_[t+112>>2],_[O+(a<<3)>>2]=i<<21|o,_[O+(a<<3)+4>>2]=c,_[t+104>>2]=1+(0|_[t+104>>2]),(0|(c=0|_[t+124>>2]))==(0|_[t+128>>2])&&(0|c)<(0|(u=0|c?c<<1:1))){if(u?(_[6630]=1+(0|_[6630]),(c=0|di(16+(u<<2|3)|0))?(_[(c+4+15&-16)-4>>2]=c,c=c+4+15&-16):c=0,d=c,c=0|_[t+124>>2]):d=0,b=0|_[t+132>>2],(0|c)<=0)b?f=45:a=t+136|0;else{a=0;do{_[d+(a<<2)>>2]=_[b+(a<<2)>>2],a=a+1|0}while((0|a)!=(0|c));f=45}45==(0|f)&&(0|n[t+136|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[b+-4>>2])),_[t+132>>2]=0,a=t+136|0,c=0|_[t+124>>2]),n[0|a]=1,_[t+132>>2]=d,_[t+128>>2]=u}if(_[(0|_[t+132>>2])+(c<<2)>>2]=i<<21|o,_[t+124>>2]=1+(0|_[t+124>>2]),(0|A)<(0|(f=0|_[t+108>>2]))){if((0|(u=0|_[t+64>>2]))<(0|f)){do{if((0|_[t+68>>2])<(0|f)){if(f?(_[6630]=1+(0|_[6630]),(c=0|di(16+(f<<2|3)|0))?(_[(c+4+15&-16)-4>>2]=c,c=c+4+15&-16):c=0,b=0|_[t+64>>2]):(c=0,b=u),d=0|_[t+72>>2],(0|b)<=0){if(!d){n[t+76|0]=1,_[t+72>>2]=c,_[t+68>>2]=f,A=t+72|0;break}}else{a=0;do{_[c+(a<<2)>>2]=_[d+(a<<2)>>2],a=a+1|0}while((0|a)!=(0|b))}0|n[t+76|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[d+-4>>2])),n[t+76|0]=1,_[t+72>>2]=c,_[t+68>>2]=f,A=t+72|0}else A=t+72|0,c=0|_[t+72>>2]}while(0);if(wn(c+(u<<2)|0,0,(f<<2)-(u<<2)|0),_[t+64>>2]=f,(0|(e=0|_[t+84>>2]))<(0|f)){do{if((0|_[t+88>>2])<(0|f)){if(f?(_[6630]=1+(0|_[6630]),(c=0|di(16+(f<<2|3)|0))?(_[(c+4+15&-16)-4>>2]=c,c=c+4+15&-16):c=0,b=0|_[t+84>>2]):(c=0,b=e),d=0|_[t+92>>2],(0|b)<=0){if(!d){n[t+96|0]=1,_[t+92>>2]=c,_[t+88>>2]=f;break}}else{a=0;do{_[c+(a<<2)>>2]=_[d+(a<<2)>>2],a=a+1|0}while((0|a)!=(0|b))}0|n[t+96|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[d+-4>>2])),n[t+96|0]=1,_[t+92>>2]=c,_[t+88>>2]=f}else c=0|_[t+92>>2]}while(0);wn(c+(e<<2)|0,0,(f<<2)-(e<<2)|0)}if(_[t+84>>2]=f,(0|f)>0&&(wn(0|_[A>>2],-1,f<<2),wn(0|_[t+92>>2],-1,f<<2)),(0|u)>0){d=0|_[t+132>>2],a=0|_[A>>2],b=0|_[t+92>>2],c=0;do{O=9*((O=0|_[d+(c<<2)>>2])+~(O<<15)>>10^O+~(O<<15))|0,O=a+((((O^=O>>6)+~(O<<11)>>16^O+~(O<<11))&(0|_[t+108>>2])-1)<<2)|0,_[b+(c<<2)>>2]=_[O>>2],_[O>>2]=c,c=c+1|0}while((0|c)!=(0|u))}}c=h&(0|_[t+108>>2])-1}else c=h&A+-1;O=(0|_[t+72>>2])+(c<<2)|0,_[(0|_[t+92>>2])+(m<<2)>>2]=_[O>>2],_[O>>2]=m}Q=r},function(t,e,i,n){e|=0,i|=0,n|=0;var o,r=0,s=0,c=0,a=0,b=0,d=0,l=0,A=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0,O=0,x=0,T=0,P=0,V=0,M=0;switch(o=Q,Q=Q+208|0,r=0|Lb[127&_[20+(0|_[(t|=0)>>2])>>2]](t),nd[7&_[56+(0|_[r>>2])>>2]](r,e,1),0|(r=0|_[i+4>>2])){case 31:if((0|(r=0|_[i+16>>2]))<=0)return void(Q=o);do{m=r,r=r+-1|0,u=0|_[i+24>>2],D=+p[u+(80*r|0)>>2],k=+p[u+(80*r|0)+4>>2],v=+p[u+(80*r|0)+8>>2],j=+p[u+(80*r|0)+16>>2],w=+p[u+(80*r|0)+20>>2],g=+p[u+(80*r|0)+24>>2],R=+p[u+(80*r|0)+32>>2],S=+p[u+(80*r|0)+36>>2],h=+p[u+(80*r|0)+40>>2],P=+p[u+(80*r|0)+48>>2],T=+p[u+(80*r|0)+52>>2],b=+p[u+(80*r|0)+56>>2],u=0|_[u+(80*r|0)+64>>2],f=0|_[28+(0|_[t>>2])>>2],x=+p[e>>2],O=+p[e+4>>2],F=+p[e+8>>2],W=+p[e+16>>2],B=+p[e+20>>2],I=+p[e+24>>2],C=+p[e+32>>2],y=+p[e+36>>2],s=+p[e+40>>2],c=P*x+T*O+b*F+ +p[e+48>>2],a=P*W+T*B+b*I+ +p[e+52>>2],b=P*C+T*y+b*s+ +p[e+56>>2],p[o+144>>2]=D*x+j*O+R*F,p[o+144+4>>2]=k*x+w*O+S*F,p[o+144+8>>2]=v*x+g*O+h*F,p[o+144+12>>2]=0,p[o+144+16>>2]=D*W+j*B+R*I,p[o+144+20>>2]=k*W+w*B+S*I,p[o+144+24>>2]=v*W+g*B+h*I,p[o+144+28>>2]=0,p[o+144+32>>2]=D*C+j*y+R*s,p[o+144+36>>2]=k*C+w*y+S*s,p[o+144+40>>2]=v*C+g*y+h*s,p[o+144+44>>2]=0,p[o+144+48>>2]=c,p[o+144+52>>2]=a,p[o+144+56>>2]=b,p[o+144+60>>2]=0,cd[127&f](t,o+144|0,u,n)}while((0|m)>1);return void(Q=o);case 0:return _[o+144>>2]=_[i+28>>2],_[o+144+4>>2]=_[i+28+4>>2],_[o+144+8>>2]=_[i+28+8>>2],_[o+144+12>>2]=_[i+28+12>>2],x=+Bb[15&_[48+(0|_[i>>2])>>2]](i),T=+Bb[15&_[48+(0|_[i>>2])>>2]](i),P=+Bb[15&_[48+(0|_[i>>2])>>2]](i),x+=+p[o+144>>2],p[o+144>>2]=x,T+=+p[o+144+4>>2],p[o+144+4>>2]=T,P+=+p[o+144+8>>2],p[o+144+8>>2]=P,i=0|Lb[127&_[20+(0|_[t>>2])>>2]](t),t=0|_[72+(0|_[i>>2])>>2],p[o+112>>2]=-x,p[o+112+4>>2]=-T,p[o+112+8>>2]=-P,p[o+112+12>>2]=0,ld[31&t](i,o+112|0,o+144|0,e,n),void(Q=o);case 8:return P=+Bb[15&_[48+(0|_[i>>2])>>2]](i),i=0|Lb[127&_[20+(0|_[t>>2])>>2]](t),ed[1&_[16+(0|_[i>>2])>>2]](i,P,e,n),void(Q=o);case 9:if((0|(r=0|_[i+92>>2]))<=0)return void(Q=o);do{m=r,r=r+-1|0,u=0|_[i+100>>2],v=+p[u+(r<<4)>>2],S=+p[u+(r<<4)+4>>2],T=+p[u+(r<<4)+8>>2],u=0|Lb[127&_[20+(0|_[t>>2])>>2]](t),f=0|_[16+(0|_[u>>2])>>2],P=+p[(0|_[i+120>>2])+(r<<2)>>2],k=+p[e>>2],R=+p[e+4>>2],w=+p[e+8>>2],D=+p[e+16>>2],I=+p[e+20>>2],j=+p[e+24>>2],W=+p[e+32>>2],F=+p[e+36>>2],B=+p[e+40>>2],O=v*k+S*R+T*w+ +p[e+48>>2],x=v*D+S*I+T*j+ +p[e+52>>2],T=v*W+S*F+T*B+ +p[e+56>>2],p[o+144>>2]=k+0*R+0*w,p[o+144+4>>2]=0*k+R+0*w,p[o+144+8>>2]=w+(0*k+0*R),p[o+144+12>>2]=0,p[o+144+16>>2]=D+0*I+0*j,p[o+144+20>>2]=0*D+I+0*j,p[o+144+24>>2]=j+(0*D+0*I),p[o+144+28>>2]=0,p[o+144+32>>2]=W+0*F+0*B,p[o+144+36>>2]=0*W+F+0*B,p[o+144+40>>2]=B+(0*W+0*F),p[o+144+44>>2]=0,p[o+144+48>>2]=O,p[o+144+52>>2]=x,p[o+144+56>>2]=T,p[o+144+60>>2]=0,ed[1&f](u,P,o+144|0,n)}while((0|m)>1);return void(Q=o);case 10:return m=0|_[i+52>>2],T=+p[i+28+((m+2|0)%3<<2)>>2],P=+p[i+28+(m<<2)>>2],i=0|Lb[127&_[20+(0|_[t>>2])>>2]](t),$b[3&_[76+(0|_[i>>2])>>2]](i,T,P,m,e,n),void(Q=o);case 11:return T=+p[i+56>>2],P=+p[i+60>>2],i=0|_[i+68>>2],t=0|Lb[127&_[20+(0|_[t>>2])>>2]](t),$b[3&_[84+(0|_[t>>2])>>2]](t,T,P,i,e,n),void(Q=o);case 13:return m=0|_[i+52>>2],T=+Bb[15&_[92+(0|_[i>>2])>>2]](i),_[o+128>>2]=_[i+28>>2],_[o+128+4>>2]=_[i+28+4>>2],_[o+128+8>>2]=_[i+28+8>>2],_[o+128+12>>2]=_[i+28+12>>2],O=+Bb[15&_[48+(0|_[i>>2])>>2]](i),x=+Bb[15&_[48+(0|_[i>>2])>>2]](i),P=+Bb[15&_[48+(0|_[i>>2])>>2]](i),p[o+128>>2]=O+ +p[o+128>>2],p[o+128+4>>2]=x+ +p[o+128+4>>2],p[o+128+8>>2]=P+ +p[o+128+8>>2],P=+p[o+128+(m<<2)>>2],i=0|Lb[127&_[20+(0|_[t>>2])>>2]](t),$b[3&_[80+(0|_[i>>2])>>2]](i,T,P,m,e,n),void(Q=o);case 28:return P=+p[i+64>>2],t=0|Lb[127&_[20+(0|_[t>>2])>>2]](t),_d[1&_[88+(0|_[t>>2])>>2]](t,i+48|0,P,e,n),void(Q=o);default:t:do{if((0|r)<7){if(!(m=0|_[i+52>>2])){if((0|Lb[127&_[100+(0|_[i>>2])>>2]](i))<=0)break;for(r=0;;)if(cd[127&_[104+(0|_[i>>2])>>2]](i,r,o+144|0,o+112|0),P=+p[o+144>>2],S=+p[e>>2],x=+p[o+144+4>>2],w=+p[e+4>>2],F=+p[o+144+8>>2],k=+p[e+8>>2],j=+p[e+16>>2],D=+p[e+20>>2],I=+p[e+24>>2],W=+p[e+32>>2],O=+p[e+36>>2],T=+p[e+40>>2],v=+p[e+48>>2],R=+p[e+52>>2],B=+p[e+56>>2],p[o+16>>2]=P*S+x*w+F*k+v,p[o+16+4>>2]=P*j+x*D+F*I+R,p[o+16+8>>2]=P*W+x*O+F*T+B,p[o+16+12>>2]=0,F=+p[o+112>>2],x=+p[o+112+4>>2],P=+p[o+112+8>>2],p[o>>2]=v+(S*F+w*x+k*P),p[o+4>>2]=R+(j*F+D*x+I*P),p[o+8>>2]=B+(W*F+O*x+T*P),p[o+12>>2]=0,m=0|Lb[127&_[20+(0|_[t>>2])>>2]](t),cd[127&_[8+(0|_[m>>2])>>2]](m,o+16|0,o,n),(0|(r=r+1|0))>=(0|Lb[127&_[100+(0|_[i>>2])>>2]](i)))break t}if((0|_[m+28>>2])>0){u=0;do{r=0|_[m+36>>2],f=0|_[r+(36*u|0)+4>>2];e:do{if((0|f)>0)for(d=0|_[r+(36*u|0)+12>>2],r=0,l=0|_[d+(f+-1<<2)>>2],s=0,c=0,b=0;;){if(A=0|_[d+(r<<2)>>2],d=0|_[m+16>>2],s+=+p[d+(A<<4)>>2],c+=+p[d+(A<<4)+4>>2],b+=+p[d+(A<<4)+8>>2],d=0|Lb[127&_[20+(0|_[t>>2])>>2]](t),V=0|_[8+(0|_[d>>2])>>2],M=0|_[m+16>>2],P=+p[M+(l<<4)>>2],S=+p[e>>2],x=+p[M+(l<<4)+4>>2],w=+p[e+4>>2],F=+p[M+(l<<4)+8>>2],k=+p[e+8>>2],j=+p[e+16>>2],D=+p[e+20>>2],I=+p[e+24>>2],W=+p[e+32>>2],O=+p[e+36>>2],T=+p[e+40>>2],v=+p[e+48>>2],R=+p[e+52>>2],B=+p[e+56>>2],p[o+144>>2]=P*S+x*w+F*k+v,p[o+144+4>>2]=P*j+x*D+F*I+R,p[o+144+8>>2]=P*W+x*O+F*T+B,p[o+144+12>>2]=0,F=+p[M+(A<<4)>>2],x=+p[M+(A<<4)+4>>2],P=+p[M+(A<<4)+8>>2],p[o+112>>2]=v+(S*F+w*x+k*P),p[o+112+4>>2]=R+(j*F+D*x+I*P),p[o+112+8>>2]=B+(W*F+O*x+T*P),p[o+112+12>>2]=0,cd[127&V](d,o+144|0,o+112|0,n),r=r+1|0,d=0|_[m+36>>2],(0|r)>=(0|_[d+(36*u|0)+4>>2]))break e;l=A,d=0|_[d+(36*u|0)+12>>2]}else s=0,c=0,b=0}while(0);a=1/+(0|f)*s,c*=1/+(0|f),s=1/+(0|f)*b,M=0|Lb[127&_[20+(0|_[t>>2])>>2]](t),16384&Lb[127&_[48+(0|_[M>>2])>>2]](M)&&(_[o+144>>2]=1065353216,_[o+144+4>>2]=1065353216,_[o+144+8>>2]=0,p[o+144+12>>2]=0,M=0|_[m+36>>2],B=+p[M+(36*u|0)+20>>2],F=+p[M+(36*u|0)+24>>2],x=+p[M+(36*u|0)+28>>2],M=0|Lb[127&_[20+(0|_[t>>2])>>2]](t),V=0|_[8+(0|_[M>>2])>>2],v=+p[e>>2],S=+p[e+4>>2],w=+p[e+8>>2],R=+p[e+16>>2],j=+p[e+20>>2],D=+p[e+24>>2],W=+p[e+32>>2],O=+p[e+36>>2],T=+p[e+40>>2],k=+p[e+48>>2],I=+p[e+52>>2],P=+p[e+56>>2],p[o+112>>2]=a*v+c*S+s*w+k,p[o+112+4>>2]=a*R+c*j+s*D+I,p[o+112+8>>2]=a*W+c*O+s*T+P,p[o+112+12>>2]=0,p[o+16>>2]=(a+B)*v+(c+F)*S+(s+x)*w+k,p[o+16+4>>2]=(a+B)*R+(c+F)*j+(s+x)*D+I,p[o+16+8>>2]=(a+B)*W+(c+F)*O+(s+x)*T+P,p[o+16+12>>2]=0,cd[127&V](M,o+112|0,o+16|0,o+144|0)),u=u+1|0}while((0|u)<(0|_[m+28>>2]))}}}while(0);return((r=0|_[i+4>>2])-21|0)>>>0<9&&(_[o+144>>2]=1566444395,_[o+144+4>>2]=1566444395,_[o+144+8>>2]=1566444395,p[o+144+12>>2]=0,_[o+112>>2]=-581039253,_[o+112+4>>2]=-581039253,_[o+112+8>>2]=-581039253,p[o+112+12>>2]=0,r=0|Lb[127&_[20+(0|_[t>>2])>>2]](t),_[o+16>>2]=6716,_[o+16+4>>2]=6740,_[o+16+8>>2]=r,_[o+16+12>>2]=_[n>>2],_[o+16+12+4>>2]=_[n+4>>2],_[o+16+12+8>>2]=_[n+8>>2],_[o+16+12+12>>2]=_[n+12>>2],_[o+16+28>>2]=_[e>>2],_[o+16+28+4>>2]=_[e+4>>2],_[o+16+28+8>>2]=_[e+8>>2],_[o+16+28+12>>2]=_[e+12>>2],_[o+16+44>>2]=_[e+16>>2],_[o+16+44+4>>2]=_[e+16+4>>2],_[o+16+44+8>>2]=_[e+16+8>>2],_[o+16+44+12>>2]=_[e+16+12>>2],_[o+16+60>>2]=_[e+32>>2],_[o+16+60+4>>2]=_[e+32+4>>2],_[o+16+60+8>>2]=_[e+32+8>>2],_[o+16+60+12>>2]=_[e+32+12>>2],_[o+16+76>>2]=_[e+48>>2],_[o+16+76+4>>2]=_[e+48+4>>2],_[o+16+76+8>>2]=_[e+48+8>>2],_[o+16+76+12>>2]=_[e+48+12>>2],cd[127&_[64+(0|_[i>>2])>>2]](i,o+16|0,o+112|0,o+144|0),r=0|_[i+4>>2]),3!=(0|r)||(_[o+144>>2]=1566444395,_[o+144+4>>2]=1566444395,_[o+144+8>>2]=1566444395,p[o+144+12>>2]=0,_[o+112>>2]=-581039253,_[o+112+4>>2]=-581039253,_[o+112+8>>2]=-581039253,p[o+112+12>>2]=0,M=0|Lb[127&_[20+(0|_[t>>2])>>2]](t),_[o+16>>2]=6716,_[o+16+4>>2]=6740,_[o+16+8>>2]=M,_[o+16+12>>2]=_[n>>2],_[o+16+12+4>>2]=_[n+4>>2],_[o+16+12+8>>2]=_[n+8>>2],_[o+16+12+12>>2]=_[n+12>>2],_[o+16+28>>2]=_[e>>2],_[o+16+28+4>>2]=_[e+4>>2],_[o+16+28+8>>2]=_[e+8>>2],_[o+16+28+12>>2]=_[e+12>>2],_[o+16+44>>2]=_[e+16>>2],_[o+16+44+4>>2]=_[e+16+4>>2],_[o+16+44+8>>2]=_[e+16+8>>2],_[o+16+44+12>>2]=_[e+16+12>>2],_[o+16+60>>2]=_[e+32>>2],_[o+16+60+4>>2]=_[e+32+4>>2],_[o+16+60+8>>2]=_[e+32+8>>2],_[o+16+60+12>>2]=_[e+32+12>>2],_[o+16+76>>2]=_[e+48>>2],_[o+16+76+4>>2]=_[e+48+4>>2],_[o+16+76+8>>2]=_[e+48+8>>2],_[o+16+76+12>>2]=_[e+48+12>>2],M=0|_[i+92>>2],cd[127&_[8+(0|_[M>>2])>>2]](M,o+16+4|0,o+112|0,o+144|0)),void(Q=o)}},function(t,e,i,n){t|=0,e|=0,i|=0,n|=0;var o,r,s,c,a,b,d,A,f,u=0;if(o=Q,Q=Q+256|0,$i(14106),_[o+32>>2]=4908,_[(a=o+32+36|0)>>2]=_[e>>2],_[a+4>>2]=_[e+4>>2],_[a+8>>2]=_[e+8>>2],_[a+12>>2]=_[e+12>>2],_[(u=o+32+52|0)>>2]=_[i>>2],_[u+4>>2]=_[i+4>>2],_[u+8>>2]=_[i+8>>2],_[u+12>>2]=_[i+12>>2],_[o+32+212>>2]=t,_[o+32+216>>2]=n,_[o+32+68>>2]=1065353216,_[o+32+72>>2]=0,_[o+32+72+4>>2]=0,_[o+32+72+8>>2]=0,_[o+32+72+12>>2]=0,_[o+32+88>>2]=1065353216,_[o+32+92>>2]=0,_[o+32+92+4>>2]=0,_[o+32+92+8>>2]=0,_[o+32+92+12>>2]=0,_[o+32+108>>2]=1065353216,_[o+32+112>>2]=0,_[o+32+116>>2]=_[a>>2],_[o+32+116+4>>2]=_[a+4>>2],_[o+32+116+8>>2]=_[a+8>>2],_[o+32+116+12>>2]=_[a+12>>2],_[o+32+132>>2]=1065353216,_[o+32+136>>2]=0,_[o+32+136+4>>2]=0,_[o+32+136+8>>2]=0,_[o+32+136+12>>2]=0,_[o+32+152>>2]=1065353216,_[o+32+156>>2]=0,_[o+32+156+4>>2]=0,_[o+32+156+8>>2]=0,_[o+32+156+12>>2]=0,_[o+32+172>>2]=1065353216,_[o+32+176>>2]=0,_[o+32+180>>2]=_[i>>2],_[o+32+180+4>>2]=_[i+4>>2],_[o+32+180+8>>2]=_[i+8>>2],_[o+32+180+12>>2]=_[i+12>>2],b=+p[i>>2]-+p[e>>2],c=+p[i+4>>2]-+p[e+4>>2],s=+p[i+8>>2]-+p[e+8>>2],f=b*(r=1/+l(+(b*b+c*c+s*s)))==0?1.0000000150474662e30:1/(b*r),p[o+32+4>>2]=f,A=c*r==0?1.0000000150474662e30:1/(c*r),p[o+32+8>>2]=A,d=s*r==0?1.0000000150474662e30:1/(s*r),p[o+32+12>>2]=d,_[o+32+20>>2]=f<0&1,_[o+32+24>>2]=A<0&1,_[o+32+28>>2]=d<0&1,p[o+32+32>>2]=b*r*(+p[u>>2]-+p[a>>2])+c*r*(+p[o+32+56>>2]-+p[o+32+40>>2])+s*r*(+p[o+32+60>>2]-+p[o+32+44>>2]),t=0|_[t+68>>2],n=0|_[24+(0|_[t>>2])>>2],_[o+16>>2]=0,_[o+16+4>>2]=0,_[o+16+8>>2]=0,_[o+16+12>>2]=0,_[o>>2]=0,_[o+4>>2]=0,_[o+8>>2]=0,_[o+12>>2]=0,fd[7&n](t,e,i,o+32|0,o+16|0,o),t=0|_[2606],n=(0|_[t+16>>2])-1|0,_[t+16>>2]=n,0|n)Q=o;else{do{if(0|_[t+4>>2]){if(G(o+32|0,0),u=0|_[6629],p[t+8>>2]=+p[t+8>>2]+ +(((0|_[o+32+4>>2])-(0|_[u+4>>2])+(1e6*((0|_[o+32>>2])-(0|_[u>>2])|0)|0)-(0|_[t+12>>2])|0)>>>0)/1e3,0|_[t+16>>2])return void(Q=o);t=0|_[2606];break}}while(0);_[2606]=_[t+20>>2],Q=o}},function(t,e,i,n){St(t|=0,e|=0,i|=0,n|=0)},function(t,e,i,o){t|=0,i|=0,o|=0;var r=0,s=0,c=0,a=0,b=0,d=0,l=0;if(3&(r=0|_[204+(e|=0)>>2])||1&_[e+504>>2]||(0!=(s=+p[e+344>>2])&&(l=1/s*+p[t+252>>2],d=1/s*+p[t+256>>2],p[e+364>>2]=1/s*+p[t+248>>2],p[e+368>>2]=l,p[e+372>>2]=d,p[e+376>>2]=0),_[e+380>>2]=_[t+248>>2],_[e+380+4>>2]=_[t+248+4>>2],_[e+380+8>>2]=_[t+248+8>>2],_[e+380+12>>2]=_[t+248+12>>2]),0|_[e+192>>2]){if(1&r)4!=(-2&_[e+216>>2])&&(_[e+216>>2]=2);else{if((0|(r=0|_[t+232>>2]))==(0|_[t+236>>2])&&(0|r)<(0|(b=0|r?r<<1:1))){if(b?(_[6630]=1+(0|_[6630]),(r=0|di(16+(b<<2|3)|0))?(_[(r+4+15&-16)-4>>2]=r,r=r+4+15&-16):r=0,a=r,r=0|_[t+232>>2]):a=0,(0|r)>0){c=0;do{_[a+(c<<2)>>2]=_[(0|_[t+240>>2])+(c<<2)>>2],c=c+1|0}while((0|c)!=(0|r))}(c=0|_[t+240>>2])&&(0|n[t+244|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[c+-4>>2]),r=0|_[t+232>>2]),_[t+240>>2]=0),n[t+244|0]=1,_[t+240>>2]=a,_[t+236>>2]=b}_[(0|_[t+240>>2])+(r<<2)>>2]=e,_[t+232>>2]=r+1}cd[127&_[36+(0|_[t>>2])>>2]](t,e,i,o)}},function(t,e,i,n){var o,r,s,c,a,b,d,A,f,u;t|=0,e|=0,i|=0,n|=0,o=Q,Q=Q+256|0,_[o+32>>2]=6588,_[(a=o+32+36|0)>>2]=_[e>>2],_[a+4>>2]=_[e+4>>2],_[a+8>>2]=_[e+8>>2],_[a+12>>2]=_[e+12>>2],_[(b=o+32+52|0)>>2]=_[i>>2],_[b+4>>2]=_[i+4>>2],_[b+8>>2]=_[i+8>>2],_[b+12>>2]=_[i+12>>2],_[o+32+212>>2]=t,_[o+32+216>>2]=n,_[o+32+68>>2]=1065353216,_[o+32+72>>2]=0,_[o+32+72+4>>2]=0,_[o+32+72+8>>2]=0,_[o+32+72+12>>2]=0,_[o+32+88>>2]=1065353216,_[o+32+92>>2]=0,_[o+32+92+4>>2]=0,_[o+32+92+8>>2]=0,_[o+32+92+12>>2]=0,_[o+32+108>>2]=1065353216,_[o+32+112>>2]=0,_[o+32+116>>2]=_[a>>2],_[o+32+116+4>>2]=_[a+4>>2],_[o+32+116+8>>2]=_[a+8>>2],_[o+32+116+12>>2]=_[a+12>>2],_[o+32+132>>2]=1065353216,_[o+32+136>>2]=0,_[o+32+136+4>>2]=0,_[o+32+136+8>>2]=0,_[o+32+136+12>>2]=0,_[o+32+152>>2]=1065353216,_[o+32+156>>2]=0,_[o+32+156+4>>2]=0,_[o+32+156+8>>2]=0,_[o+32+156+12>>2]=0,_[o+32+172>>2]=1065353216,_[o+32+176>>2]=0,_[o+32+180>>2]=_[i>>2],_[o+32+180+4>>2]=_[i+4>>2],_[o+32+180+8>>2]=_[i+8>>2],_[o+32+180+12>>2]=_[i+12>>2],d=+p[i>>2]-+p[e>>2],c=+p[i+4>>2]-+p[e+4>>2],s=+p[i+8>>2]-+p[e+8>>2],u=d*(r=1/+l(+(d*d+c*c+s*s)))==0?0xde0b6b000000000:1/(d*r),p[o+32+4>>2]=u,f=c*r==0?0xde0b6b000000000:1/(c*r),p[o+32+8>>2]=f,A=s*r==0?0xde0b6b000000000:1/(s*r),p[o+32+12>>2]=A,_[o+32+20>>2]=u<0&1,_[o+32+24>>2]=f<0&1,_[o+32+28>>2]=A<0&1,p[o+32+32>>2]=d*r*(+p[b>>2]-+p[a>>2])+c*r*(+p[o+32+56>>2]-+p[o+32+40>>2])+s*r*(+p[o+32+60>>2]-+p[o+32+44>>2]),n=0|_[t+68>>2],t=0|_[24+(0|_[n>>2])>>2],_[o+16>>2]=0,_[o+16+4>>2]=0,_[o+16+8>>2]=0,_[o+16+12>>2]=0,_[o>>2]=0,_[o+4>>2]=0,_[o+8>>2]=0,_[o+12>>2]=0,fd[7&t](n,e,i,o+32|0,o+16|0,o),Q=o},function(t,e,i,o){t|=0,e|=0,o|=0;var r,s=0,c=0,a=0,b=0,A=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0,O=0,x=0,T=0,P=0,V=0,M=0,G=0,L=0,N=0,E=0,H=0,Z=0,U=0,Y=0,J=0,X=0,z=0,K=0,q=0,$=0,tt=0,et=0,it=0,nt=0,ot=0,_t=0;if(r=Q,Q=Q+80|0,(0|(i|=0))<=0)Q=r;else{Y=0;do{if(z=0|_[e+(Y<<2)>>2],K=0|_[z+740>>2],q=0|_[z+744>>2],$=0|Re(t,K,+p[o+12>>2]),tt=0|Re(t,q,+p[o+12>>2]),et=0|_[t+16>>2],0==+p[et+(244*$|0)+128>>2]&&0==+p[et+(244*$|0)+132>>2]&&0==+p[et+(244*$|0)+136>>2]&&0==+p[et+(244*tt|0)+128>>2]&&0==+p[et+(244*tt|0)+132>>2]&&0==+p[et+(244*tt|0)+136>>2]||(nt=9),9==(0|nt)&&(nt=0,(0|(it=0|_[z+748>>2]))>0)){J=0,s=1,c=it;do{if(Z=z+4+(184*J|0)|0,+p[(u=z+4+(184*J|0)+80|0)>>2]<=+p[z+756>>2]){if((0|(U=0|_[t+28>>2]))==(0|_[t+32>>2])&&(0|U)<(0|(X=0|U?U<<1:1))){if(X?(_[6630]=1+(0|_[6630]),(c=0|di(16+(152*X|3)|0))?(_[(c+4+15&-16)-4>>2]=c,c=c+4+15&-16):c=0,b=0|_[t+28>>2]):(c=0,b=U),(0|b)>0){a=0;do{_e(c+(152*a|0)|0,(0|_[t+36>>2])+(152*a|0)|0,152),a=a+1|0}while((0|a)!=(0|b))}0|(a=0|_[t+36>>2])&&(0|n[t+40|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[a+-4>>2])),_[t+36>>2]=0),n[t+40|0]=1,_[t+36>>2]=c,_[t+32>>2]=X,c=0|_[t+28>>2]}else c=U;_[t+28>>2]=c+1,H=0|_[t+36>>2],m=2&_[K+236>>2]?K:0,h=2&_[q+236>>2]?q:0,_[H+(152*U|0)+144>>2]=$,_[H+(152*U|0)+148>>2]=tt,_[H+(152*U|0)+132>>2]=Z,j=+p[z+4+(184*J|0)+48>>2]-+p[K+52>>2],D=+p[z+4+(184*J|0)+52>>2]-+p[K+56>>2],R=+p[z+4+(184*J|0)+56>>2]-+p[K+60>>2],p[r+64>>2]=j,p[r+64+4>>2]=D,p[r+64+8>>2]=R,p[r+64+12>>2]=0,W=+p[z+4+(184*J|0)+32>>2]-+p[q+52>>2],F=+p[z+4+(184*J|0)+36>>2]-+p[q+56>>2],B=+p[z+4+(184*J|0)+40>>2]-+p[q+60>>2],p[r+48>>2]=W,p[r+48+4>>2]=F,p[r+48+8>>2]=B,p[r+48+12>>2]=0,0|_[et+(244*$|0)+240>>2]?(G=+p[et+(244*$|0)+192>>2]+ +p[et+(244*$|0)+224>>2],v=+p[et+(244*$|0)+196>>2]+ +p[et+(244*$|0)+228>>2],g=+p[et+(244*$|0)+200>>2]+ +p[et+(244*$|0)+232>>2],f=+p[et+(244*$|0)+176>>2]+ +p[et+(244*$|0)+208>>2]+(R*v-D*g),g=+p[et+(244*$|0)+180>>2]+ +p[et+(244*$|0)+212>>2]+(j*g-R*G),v=+p[et+(244*$|0)+184>>2]+ +p[et+(244*$|0)+216>>2]+(D*G-j*v)):(f=0,g=0,v=0),0|_[et+(244*tt|0)+240>>2]?(G=+p[et+(244*tt|0)+192>>2]+ +p[et+(244*tt|0)+224>>2],C=+p[et+(244*tt|0)+196>>2]+ +p[et+(244*tt|0)+228>>2],y=+p[et+(244*tt|0)+200>>2]+ +p[et+(244*tt|0)+232>>2],A=+p[et+(244*tt|0)+176>>2]+ +p[et+(244*tt|0)+208>>2]+(B*C-F*y),y=+p[et+(244*tt|0)+180>>2]+ +p[et+(244*tt|0)+212>>2]+(W*y-B*G),C=+p[et+(244*tt|0)+184>>2]+ +p[et+(244*tt|0)+216>>2]+(F*G-W*C)):(A=0,y=0,C=0),G=f-A,M=g-y,x=v-C,T=+p[(L=z+4+(184*J|0)+64|0)>>2],P=+p[(N=z+4+(184*J|0)+68|0)>>2],V=+p[(E=z+4+(184*J|0)+72|0)>>2],b=0|_[t+16>>2],c=0|_[b+(244*$|0)+240>>2],a=0|_[b+(244*tt|0)+240>>2],0|c?(A=((D*V-R*P)*+p[c+264>>2]+(R*T-V*j)*+p[c+268>>2]+(P*j-D*T)*+p[c+272>>2])*+p[c+544>>2],f=((D*V-R*P)*+p[c+280>>2]+(R*T-V*j)*+p[c+284>>2]+(P*j-D*T)*+p[c+288>>2])*+p[c+548>>2],y=((D*V-R*P)*+p[c+296>>2]+(R*T-V*j)*+p[c+300>>2]+(P*j-D*T)*+p[c+304>>2])*+p[c+552>>2]):(A=0,f=0,y=0),p[H+(152*U|0)+64>>2]=A,p[H+(152*U|0)+68>>2]=f,p[H+(152*U|0)+72>>2]=y,p[H+(152*U|0)+76>>2]=0,S=+p[E>>2],w=+p[N>>2],k=+p[L>>2],0|a?(g=(+p[a+264>>2]*-(F*S-B*w)+ +p[a+268>>2]*-(B*k-S*W)+ +p[a+272>>2]*-(w*W-F*k))*+p[a+544>>2],C=(+p[a+280>>2]*-(F*S-B*w)+ +p[a+284>>2]*-(B*k-S*W)+ +p[a+288>>2]*-(w*W-F*k))*+p[a+548>>2],v=(+p[a+296>>2]*-(F*S-B*w)+ +p[a+300>>2]*-(B*k-S*W)+ +p[a+304>>2]*-(w*W-F*k))*+p[a+552>>2]):(g=0,C=0,v=0),p[H+(152*U|0)+80>>2]=g,p[H+(152*U|0)+84>>2]=C,p[H+(152*U|0)+88>>2]=v,p[H+(152*U|0)+92>>2]=0,f=0|c?+p[c+344>>2]+((f*R-y*D)*+p[L>>2]+(y*j-R*A)*+p[N>>2]+(D*A-f*j)*+p[E>>2]):0,0|a?(O=-g,A=-C,v=-v,A=+p[a+344>>2]+((B*A-F*v)*+p[L>>2]+(W*v-B*O)*+p[N>>2]+(F*O-W*A)*+p[E>>2])):A=0,p[H+(152*U|0)+108>>2]=1/(f+A),0|c?(_[H+(152*U|0)+16>>2]=_[L>>2],_[H+(152*U|0)+16+4>>2]=_[L+4>>2],_[H+(152*U|0)+16+8>>2]=_[L+8>>2],_[H+(152*U|0)+16+12>>2]=_[L+12>>2],p[H+(152*U|0)>>2]=D*V-R*P,p[H+(152*U|0)+4>>2]=R*T-V*j,p[H+(152*U|0)+8>>2]=P*j-D*T,p[H+(152*U|0)+12>>2]=0):(_[H+(152*U|0)>>2]=0,_[H+(152*U|0)+4>>2]=0,_[H+(152*U|0)+8>>2]=0,_[H+(152*U|0)+12>>2]=0,_[H+(152*U|0)+16>>2]=0,_[H+(152*U|0)+20>>2]=0,_[H+(152*U|0)+24>>2]=0,_[H+(152*U|0)+28>>2]=0),0|a?(v=-+p[N>>2],O=-+p[E>>2],p[H+(152*U|0)+48>>2]=-+p[L>>2],p[H+(152*U|0)+52>>2]=v,p[H+(152*U|0)+56>>2]=O,p[H+(152*U|0)+60>>2]=0,p[H+(152*U|0)+32>>2]=-(F*S-B*w),p[H+(152*U|0)+36>>2]=-(B*k-S*W),p[H+(152*U|0)+40>>2]=-(w*W-F*k),p[H+(152*U|0)+44>>2]=0):(_[H+(152*U|0)+32>>2]=0,_[H+(152*U|0)+32+4>>2]=0,_[H+(152*U|0)+32+8>>2]=0,_[H+(152*U|0)+32+12>>2]=0,_[H+(152*U|0)+32+16>>2]=0,_[H+(152*U|0)+32+20>>2]=0,_[H+(152*U|0)+32+24>>2]=0,_[H+(152*U|0)+32+28>>2]=0),O=+p[u>>2]+ +p[o+56>>2],0|c?(g=+p[c+332>>2],C=+p[c+336>>2],k=+p[c+328>>2],v=g*R-C*D+ +p[c+312>>2],C=+p[c+316>>2]+(C*j-R*k),g=D*k-g*j+ +p[c+320>>2]):(v=0,C=0,g=0),0|a?(A=+p[a+332>>2],f=+p[a+336>>2],D=+p[a+328>>2],y=A*B-f*F+ +p[a+312>>2],f=+p[a+316>>2]+(f*W-B*D),A=F*D-A*W+ +p[a+320>>2]):(y=0,f=0,A=0),B=(v-y)*+p[L>>2]+(C-f)*+p[N>>2]+(g-A)*+p[E>>2],_[H+(152*U|0)+104>>2]=_[z+4+(184*J|0)+84>>2],B=(B*=+p[z+4+(184*J|0)+92>>2])>=-0?0:-B;do{if(4&_[o+64>>2]){A=+p[z+4+(184*J|0)+120>>2]*+p[o+60>>2],p[H+(152*U|0)+100>>2]=A;do{if(0|c){if(!(0|_[b+(244*$|0)+240>>2]))break;F=A*(+p[H+(152*U|0)+20>>2]*+p[b+(244*$|0)+132>>2]*+p[c+352>>2])*+p[b+(244*$|0)+116>>2],W=A*(+p[H+(152*U|0)+24>>2]*+p[b+(244*$|0)+136>>2]*+p[c+356>>2])*+p[b+(244*$|0)+120>>2],p[b+(244*$|0)+64>>2]=+p[b+(244*$|0)+112>>2]*(A*(+p[H+(152*U|0)+16>>2]*+p[b+(244*$|0)+128>>2]*+p[c+348>>2]))+ +p[b+(244*$|0)+64>>2],p[b+(244*$|0)+68>>2]=F+ +p[b+(244*$|0)+68>>2],p[b+(244*$|0)+72>>2]=W+ +p[b+(244*$|0)+72>>2],W=A*+p[b+(244*$|0)+100>>2]*+p[H+(152*U|0)+68>>2],F=A*+p[b+(244*$|0)+104>>2]*+p[H+(152*U|0)+72>>2],p[b+(244*$|0)+80>>2]=A*+p[b+(244*$|0)+96>>2]*+p[H+(152*U|0)+64>>2]+ +p[b+(244*$|0)+80>>2],p[b+(244*$|0)+84>>2]=W+ +p[b+(244*$|0)+84>>2],p[b+(244*$|0)+88>>2]=F+ +p[b+(244*$|0)+88>>2]}}while(0);if(!a)break;if(A=+p[H+(152*U|0)+100>>2],!(0|_[b+(244*tt|0)+240>>2]))break;F=+p[H+(152*U|0)+88>>2],W=+p[H+(152*U|0)+84>>2],D=+p[H+(152*U|0)+80>>2],R=A*(+p[H+(152*U|0)+52>>2]*+p[b+(244*tt|0)+132>>2]*+p[a+352>>2])*+p[b+(244*tt|0)+116>>2],j=A*(+p[H+(152*U|0)+56>>2]*+p[b+(244*tt|0)+136>>2]*+p[a+356>>2])*+p[b+(244*tt|0)+120>>2],p[b+(244*tt|0)+64>>2]=+p[b+(244*tt|0)+112>>2]*(A*(+p[H+(152*U|0)+48>>2]*+p[b+(244*tt|0)+128>>2]*+p[a+348>>2]))+ +p[b+(244*tt|0)+64>>2],p[b+(244*tt|0)+68>>2]=R+ +p[b+(244*tt|0)+68>>2],p[b+(244*tt|0)+72>>2]=j+ +p[b+(244*tt|0)+72>>2],W*=+p[b+(244*tt|0)+100>>2]*-A,F*=+p[b+(244*tt|0)+104>>2]*-A,p[b+(244*tt|0)+80>>2]=+p[b+(244*tt|0)+80>>2]-D*(+p[b+(244*tt|0)+96>>2]*-A),p[b+(244*tt|0)+84>>2]=+p[b+(244*tt|0)+84>>2]-W,p[b+(244*tt|0)+88>>2]=+p[b+(244*tt|0)+88>>2]-F}else p[H+(152*U|0)+100>>2]=0}while(0);p[H+(152*U|0)+96>>2]=0,0|_[b+(244*$|0)+240>>2]?(A=+p[b+(244*$|0)+208>>2],f=+p[b+(244*$|0)+212>>2],y=+p[b+(244*$|0)+216>>2],g=+p[b+(244*$|0)+224>>2],C=+p[b+(244*$|0)+228>>2],v=+p[b+(244*$|0)+232>>2]):(A=0,f=0,y=0,g=0,C=0,v=0),0|_[b+(244*tt|0)+240>>2]?(S=+p[b+(244*tt|0)+208>>2],w=+p[b+(244*tt|0)+212>>2],k=+p[b+(244*tt|0)+216>>2],R=+p[b+(244*tt|0)+224>>2],j=+p[b+(244*tt|0)+228>>2],D=+p[b+(244*tt|0)+232>>2]):(S=0,w=0,k=0,R=0,j=0,D=0),A=B-((A+ +p[b+(244*$|0)+176>>2])*+p[H+(152*U|0)+16>>2]+(f+ +p[b+(244*$|0)+180>>2])*+p[H+(152*U|0)+20>>2]+(y+ +p[b+(244*$|0)+184>>2])*+p[H+(152*U|0)+24>>2]+((g+ +p[b+(244*$|0)+192>>2])*+p[H+(152*U|0)>>2]+(C+ +p[b+(244*$|0)+196>>2])*+p[H+(152*U|0)+4>>2]+(v+ +p[b+(244*$|0)+200>>2])*+p[H+(152*U|0)+8>>2])+((S+ +p[b+(244*tt|0)+176>>2])*+p[H+(152*U|0)+48>>2]+(w+ +p[b+(244*tt|0)+180>>2])*+p[H+(152*U|0)+52>>2]+(k+ +p[b+(244*tt|0)+184>>2])*+p[H+(152*U|0)+56>>2]+((R+ +p[b+(244*tt|0)+192>>2])*+p[H+(152*U|0)+32>>2]+(j+ +p[b+(244*tt|0)+196>>2])*+p[H+(152*U|0)+36>>2]+(D+ +p[b+(244*tt|0)+200>>2])*+p[H+(152*U|0)+40>>2]))),c=!(0|_[o+44>>2]),O>0?(A-=O/+p[o+12>>2],f=0):f=-O*(c|O>+p[o+48>>2]?+p[o+32>>2]:+p[o+36>>2])/+p[o+12>>2],F=f*(W=+p[H+(152*U|0)+108>>2]),W*=A,I=c|O>+p[o+48>>2],p[H+(152*U|0)+112>>2]=I?F+W:W,p[H+(152*U|0)+128>>2]=I?0:F,p[H+(152*U|0)+116>>2]=0,p[H+(152*U|0)+120>>2]=0,p[H+(152*U|0)+124>>2]=1e10,_[H+(152*U|0)+140>>2]=_[t+68>>2],m?(f=+p[m+328>>2],v=+p[m+332>>2],S=+p[m+336>>2]):(f=0,v=0,S=0),h?(A=+p[h+328>>2],y=+p[h+332>>2],g=+p[h+336>>2]):(A=0,y=0,g=0),C=A-f,f=y-v,g-=S,p[r+32>>2]=C,p[r+32+4>>2]=f,p[r+32+8>>2]=g,p[r+32+12>>2]=0;do{if((0|s)>0&&+p[z+4+(184*J|0)+88>>2]>0){if(s=s+-1|0,(A=+l(+(C*C+f*f+g*g)))>+p[o+80>>2]){if(p[r+32>>2]=C*(1/A),p[r+32+4>>2]=f*(1/A),p[r+32+8>>2]=g*(1/A),2&_[K+180>>2]?(S=+p[K+4>>2],k=+p[K+20>>2],D=+p[K+36>>2],w=+p[K+8>>2],R=+p[K+24>>2],W=+p[K+40>>2],y=+p[K+12>>2],j=+p[K+28>>2],O=+p[K+44>>2],B=(C*(1/A)*S+f*(1/A)*k+g*(1/A)*D)*+p[K+164>>2],F=(C*(1/A)*w+f*(1/A)*R+g*(1/A)*W)*+p[K+168>>2],A=(C*(1/A)*y+f*(1/A)*j+g*(1/A)*O)*+p[K+172>>2],p[r+32>>2]=S*B+w*F+y*A,p[r+32+4>>2]=k*B+R*F+j*A,p[r+32+8>>2]=D*B+W*F+O*A,p[r+32+12>>2]=0,y=S*B+w*F+y*A,f=k*B+R*F+j*A,A=D*B+W*F+O*A):(y=C*(1/A),f*=1/A,A=g*(1/A)),2&_[q+180>>2]&&(v=+p[q+4>>2],k=+p[q+20>>2],D=+p[q+36>>2],S=+p[q+8>>2],R=+p[q+24>>2],W=+p[q+40>>2],w=+p[q+12>>2],j=+p[q+28>>2],O=+p[q+44>>2],B=(v*y+k*f+D*A)*+p[q+164>>2],F=(y*S+f*R+A*W)*+p[q+168>>2],A=(y*w+f*j+A*O)*+p[q+172>>2],p[r+32>>2]=v*B+S*F+w*A,p[r+32+4>>2]=k*B+R*F+j*A,p[r+32+8>>2]=D*B+W*F+O*A,p[r+32+12>>2]=0,y=v*B+S*F+w*A,f=k*B+R*F+j*A,A=D*B+W*F+O*A),!(+l(+(y*y+f*f+A*A))>.001))break;ge(t,r+32|0,$,tt,U,Z);break}ge(t,L,$,tt,U,Z),A=+p[E>>2],+d(+A)>.7071067690849304?(O=+p[N>>2],f=1/+l(+(A*A+O*O)),p[r+16>>2]=0,p[r+16+4>>2]=-A*f,p[r+16+8>>2]=O*f,p[r>>2]=(A*A+O*O)*f,F=+p[L>>2],p[r+4>>2]=O*f*-F,S=F*(-A*f),g=-A*f,C=O*f,y=(A*A+O*O)*f,f=O*f*-F,A=0):(y=+p[L>>2],F=+p[N>>2],O=1/+l(+(y*y+F*F)),p[r+16>>2]=-F*O,p[r+16+4>>2]=y*O,p[r+16+8>>2]=0,p[r>>2]=y*O*-A,p[r+4>>2]=A*(-F*O),S=(y*y+F*F)*O,g=y*O,C=0,y=y*O*-A,f=A*(-F*O),A=-F*O),p[r+8>>2]=S,(a=!(2&_[K+180>>2]))||(ot=+p[K+4>>2],k=+p[K+20>>2],D=+p[K+36>>2],v=+p[K+8>>2],R=+p[K+24>>2],W=+p[K+40>>2],w=+p[K+12>>2],j=+p[K+28>>2],O=+p[K+44>>2],B=(ot*A+k*g+D*C)*+p[K+164>>2],F=(A*v+g*R+C*W)*+p[K+168>>2],C=(A*w+g*j+C*O)*+p[K+172>>2],p[r+16>>2]=ot*B+v*F+w*C,p[r+16+4>>2]=k*B+R*F+j*C,p[r+16+8>>2]=D*B+W*F+O*C,p[r+16+12>>2]=0,A=ot*B+v*F+w*C,g=k*B+R*F+j*C,C=D*B+W*F+O*C),(c=!(2&_[q+180>>2]))?v=A:(w=+p[q+4>>2],R=+p[q+20>>2],B=+p[q+36>>2],k=+p[q+8>>2],j=+p[q+24>>2],F=+p[q+40>>2],v=+p[q+12>>2],D=+p[q+28>>2],ot=+p[q+44>>2],W=(w*A+R*g+B*C)*+p[q+164>>2],O=(A*k+g*j+C*F)*+p[q+168>>2],C=(A*v+g*D+C*ot)*+p[q+172>>2],p[r+16>>2]=w*W+k*O+v*C,p[r+16+4>>2]=R*W+j*O+D*C,p[r+16+8>>2]=B*W+F*O+ot*C,p[r+16+12>>2]=0,v=w*W+k*O+v*C,g=R*W+j*O+D*C,C=B*W+F*O+ot*C),a?A=S:(_t=+p[K+4>>2],R=+p[K+20>>2],B=+p[K+36>>2],w=+p[K+8>>2],j=+p[K+24>>2],F=+p[K+40>>2],k=+p[K+12>>2],D=+p[K+28>>2],ot=+p[K+44>>2],W=(_t*y+R*f+S*B)*+p[K+164>>2],O=(y*w+f*j+S*F)*+p[K+168>>2],A=(y*k+f*D+S*ot)*+p[K+172>>2],p[r>>2]=_t*W+w*O+k*A,p[r+4>>2]=R*W+j*O+D*A,p[r+8>>2]=B*W+F*O+ot*A,p[r+12>>2]=0,y=_t*W+w*O+k*A,f=R*W+j*O+D*A,A=B*W+F*O+ot*A),c||(w=+p[q+4>>2],j=+p[q+20>>2],W=+p[q+36>>2],k=+p[q+8>>2],D=+p[q+24>>2],O=+p[q+40>>2],R=+p[q+12>>2],B=+p[q+28>>2],_t=+p[q+44>>2],F=(w*y+j*f+W*A)*+p[q+164>>2],ot=(y*k+f*D+A*O)*+p[q+168>>2],A=(y*R+f*B+A*_t)*+p[q+172>>2],p[r>>2]=w*F+k*ot+R*A,p[r+4>>2]=j*F+D*ot+B*A,p[r+8>>2]=W*F+O*ot+_t*A,p[r+12>>2]=0,y=w*F+k*ot+R*A,f=j*F+D*ot+B*A,A=W*F+O*ot+_t*A),+l(+(v*v+g*g+C*C))>.001&&ge(t,r+16|0,$,tt,U,Z),+l(+(y*y+f*f+A*A))>.001&&ge(t,r,$,tt,U,Z)}}while(0);do{if(32&_[o+64>>2]){if(!(0|n[z+4+(184*J|0)+116|0])){nt=93;break}if(xi(t,z+4+(184*J|0)+152|0,$,tt,U,Z,r+64|0,r+48|0,1,+p[z+4+(184*J|0)+132>>2],+p[z+4+(184*J|0)+140>>2]),!(16&_[o+64>>2]))break;xi(t,z+4+(184*J|0)+168|0,$,tt,U,Z,r+64|0,r+48|0,1,+p[z+4+(184*J|0)+136>>2],+p[z+4+(184*J|0)+144>>2])}else nt=93}while(0);do{if(93==(0|nt)){if(nt=0,f=G-(G*T+M*P+x*V)*(A=+p[L>>2]),C=M-(G*T+M*P+x*V)*(w=+p[N>>2]),g=x-(G*T+M*P+x*V)*(S=+p[E>>2]),I=z+4+(184*J|0)+152|0,p[z+4+(184*J|0)+152>>2]=f,p[(c=z+4+(184*J|0)+156|0)>>2]=C,p[(m=z+4+(184*J|0)+160|0)>>2]=g,p[(h=z+4+(184*J|0)+164|0)>>2]=0,!(64&_[o+64>>2])&&f*f+C*C+g*g>1.1920928955078125e-7){if(A=1/+l(+(f*f+C*C+g*g)),p[I>>2]=f*A,p[c>>2]=C*A,p[m>>2]=g*A,1&_[K+180>>2]?(F=+p[K+4>>2],x=+p[K+20>>2],V=+p[K+36>>2],O=+p[K+8>>2],T=+p[K+24>>2],G=+p[K+40>>2],y=+p[K+12>>2],P=+p[K+28>>2],_t=+p[K+44>>2],M=(f*A*F+C*A*x+g*A*V)*+p[K+164>>2],ot=(f*A*O+C*A*T+g*A*G)*+p[K+168>>2],A=(f*A*y+C*A*P+g*A*_t)*+p[K+172>>2],p[I>>2]=F*M+O*ot+y*A,p[c>>2]=x*M+T*ot+P*A,p[m>>2]=V*M+G*ot+_t*A,p[h>>2]=0,y=F*M+O*ot+y*A,f=x*M+T*ot+P*A,A=V*M+G*ot+_t*A):(y=f*A,f=C*A,A*=g),1&_[q+180>>2]&&(B=+p[q+4>>2],O=+p[q+20>>2],P=+p[q+36>>2],W=+p[q+8>>2],x=+p[q+24>>2],M=+p[q+40>>2],F=+p[q+12>>2],T=+p[q+28>>2],ot=+p[q+44>>2],V=(B*y+O*f+P*A)*+p[q+164>>2],G=(y*W+f*x+A*M)*+p[q+168>>2],_t=(y*F+f*T+A*ot)*+p[q+172>>2],p[I>>2]=B*V+W*G+F*_t,p[c>>2]=O*V+x*G+T*_t,p[m>>2]=P*V+M*G+ot*_t,p[h>>2]=0),xi(t,I,$,tt,U,Z,r+64|0,r+48|0,1,0,0),!(16&_[o+64>>2]))break;ot=+p[c>>2],y=+p[E>>2],V=+p[m>>2],M=+p[N>>2],_t=+p[L>>2],G=+p[I>>2],u=z+4+(184*J|0)+168|0,p[z+4+(184*J|0)+168>>2]=ot*y-V*M,c=z+4+(184*J|0)+172|0,a=z+4+(184*J|0)+176|0,p[(b=z+4+(184*J|0)+180|0)>>2]=0,A=(ot*y-V*M)*(f=1/+l(+((ot*y-V*M)*(ot*y-V*M)+(V*_t-y*G)*(V*_t-y*G)+(M*G-ot*_t)*(M*G-ot*_t)))),p[u>>2]=A,y=(V*_t-y*G)*f,p[c>>2]=y,f*=M*G-ot*_t,p[a>>2]=f,1&_[K+180>>2]&&(W=+p[K+4>>2],x=+p[K+20>>2],V=+p[K+36>>2],F=+p[K+8>>2],T=+p[K+24>>2],G=+p[K+40>>2],O=+p[K+12>>2],P=+p[K+28>>2],_t=+p[K+44>>2],M=(A*W+y*x+f*V)*+p[K+164>>2],ot=(A*F+y*T+f*G)*+p[K+168>>2],f=(A*O+y*P+f*_t)*+p[K+172>>2],p[u>>2]=W*M+F*ot+O*f,p[c>>2]=x*M+T*ot+P*f,p[a>>2]=V*M+G*ot+_t*f,p[b>>2]=0,A=W*M+F*ot+O*f,y=x*M+T*ot+P*f,f=V*M+G*ot+_t*f),1&_[q+180>>2]&&(B=+p[q+4>>2],O=+p[q+20>>2],P=+p[q+36>>2],W=+p[q+8>>2],x=+p[q+24>>2],M=+p[q+40>>2],F=+p[q+12>>2],T=+p[q+28>>2],ot=+p[q+44>>2],V=(B*A+O*y+P*f)*+p[q+164>>2],G=(A*W+y*x+f*M)*+p[q+168>>2],_t=(A*F+y*T+f*ot)*+p[q+172>>2],p[u>>2]=B*V+W*G+F*_t,p[c>>2]=O*V+x*G+T*_t,p[a>>2]=P*V+M*G+ot*_t,p[b>>2]=0),xi(t,u,$,tt,U,Z,r+64|0,r+48|0,1,0,0);break}if(u=z+4+(184*J|0)+168|0,+d(+S)>.7071067690849304?(_t=1/+l(+(w*w+S*S)),p[I>>2]=0,p[c>>2]=-S*_t,p[m>>2]=w*_t,C=w*_t*-A,v=A*(-S*_t),g=(w*w+S*S)*_t,y=0,f=-S*_t,A=w*_t):(f=1/+l(+(A*A+w*w)),p[I>>2]=-w*f,p[c>>2]=A*f,p[m>>2]=0,C=S*(-w*f),v=(A*A+w*w)*f,g=A*f*-S,y=-w*f,f*=A,A=0),p[u>>2]=g,p[(b=z+4+(184*J|0)+172|0)>>2]=C,p[(a=z+4+(184*J|0)+176|0)>>2]=v,1&_[K+180>>2]&&(W=+p[K+4>>2],x=+p[K+20>>2],V=+p[K+36>>2],F=+p[K+8>>2],T=+p[K+24>>2],G=+p[K+40>>2],O=+p[K+12>>2],P=+p[K+28>>2],_t=+p[K+44>>2],M=(W*y+x*f+V*A)*+p[K+164>>2],ot=(y*F+f*T+A*G)*+p[K+168>>2],A=(y*O+f*P+A*_t)*+p[K+172>>2],p[I>>2]=W*M+F*ot+O*A,p[c>>2]=x*M+T*ot+P*A,p[m>>2]=V*M+G*ot+_t*A,p[h>>2]=0,y=W*M+F*ot+O*A,f=x*M+T*ot+P*A,A=V*M+G*ot+_t*A),1&_[q+180>>2]&&(B=+p[q+4>>2],O=+p[q+20>>2],P=+p[q+36>>2],W=+p[q+8>>2],x=+p[q+24>>2],M=+p[q+40>>2],F=+p[q+12>>2],T=+p[q+28>>2],ot=+p[q+44>>2],V=(B*y+O*f+P*A)*+p[q+164>>2],G=(y*W+f*x+A*M)*+p[q+168>>2],_t=(y*F+f*T+A*ot)*+p[q+172>>2],p[I>>2]=B*V+W*G+F*_t,p[c>>2]=O*V+x*G+T*_t,p[m>>2]=P*V+M*G+ot*_t,p[h>>2]=0),xi(t,I,$,tt,U,Z,r+64|0,r+48|0,1,0,0),16&(c=0|_[o+64>>2])&&(1&_[K+180>>2]&&(B=+p[K+4>>2],j=+p[u>>2],O=+p[K+20>>2],D=+p[b>>2],P=+p[K+36>>2],_t=+p[a>>2],W=+p[K+8>>2],x=+p[K+24>>2],M=+p[K+40>>2],F=+p[K+12>>2],T=+p[K+28>>2],ot=+p[K+44>>2],V=(B*j+O*D+P*_t)*+p[K+164>>2],G=(j*W+D*x+_t*M)*+p[K+168>>2],_t=(j*F+D*T+_t*ot)*+p[K+172>>2],p[u>>2]=B*V+W*G+F*_t,p[b>>2]=O*V+x*G+T*_t,p[a>>2]=P*V+M*G+ot*_t,p[z+4+(184*J|0)+180>>2]=0),1&_[q+180>>2]&&(B=+p[q+4>>2],j=+p[u>>2],O=+p[q+20>>2],D=+p[b>>2],P=+p[q+36>>2],_t=+p[a>>2],W=+p[q+8>>2],x=+p[q+24>>2],M=+p[q+40>>2],F=+p[q+12>>2],T=+p[q+28>>2],ot=+p[q+44>>2],V=(B*j+O*D+P*_t)*+p[q+164>>2],G=(j*W+D*x+_t*M)*+p[q+168>>2],_t=(j*F+D*T+_t*ot)*+p[q+172>>2],p[u>>2]=B*V+W*G+F*_t,p[b>>2]=O*V+x*G+T*_t,p[a>>2]=P*V+M*G+ot*_t,p[z+4+(184*J|0)+180>>2]=0),xi(t,u,$,tt,U,Z,r+64|0,r+48|0,1,0,0),c=0|_[o+64>>2]),80&~c)break;n[z+4+(184*J|0)+116|0]=1}}while(0);u=0|_[t+16>>2],m=0|_[u+(244*$|0)+240>>2],h=0|_[u+(244*tt|0)+240>>2],a=0|_[H+(152*U|0)+140>>2],b=0|_[t+76>>2],c=0|_[o+64>>2];do{if(4&c){if(A=+p[z+4+(184*J|0)+124>>2]*+p[o+60>>2],p[b+(152*a|0)+100>>2]=A,0|m&&(_t=A*((G=+p[m+344>>2])*+p[b+(152*a|0)+20>>2]*+p[m+352>>2])*+p[u+(244*$|0)+116>>2],ot=A*(G*+p[b+(152*a|0)+24>>2]*+p[m+356>>2])*+p[u+(244*$|0)+120>>2],p[u+(244*$|0)+64>>2]=A*(G*+p[b+(152*a|0)+16>>2]*+p[m+348>>2])*+p[u+(244*$|0)+112>>2]+ +p[u+(244*$|0)+64>>2],p[u+(244*$|0)+68>>2]=_t+ +p[u+(244*$|0)+68>>2],p[u+(244*$|0)+72>>2]=ot+ +p[u+(244*$|0)+72>>2],ot=A*+p[u+(244*$|0)+100>>2]*+p[b+(152*a|0)+68>>2],_t=A*+p[u+(244*$|0)+104>>2]*+p[b+(152*a|0)+72>>2],p[u+(244*$|0)+80>>2]=A*+p[u+(244*$|0)+96>>2]*+p[b+(152*a|0)+64>>2]+ +p[u+(244*$|0)+80>>2],p[u+(244*$|0)+84>>2]=ot+ +p[u+(244*$|0)+84>>2],p[u+(244*$|0)+88>>2]=_t+ +p[u+(244*$|0)+88>>2]),!h)break;T=+p[h+344>>2],M=+p[b+(152*a|0)+80>>2],ot=+p[b+(152*a|0)+84>>2],_t=+p[b+(152*a|0)+88>>2],G=+p[b+(152*a|0)+100>>2],P=+p[b+(152*a|0)+52>>2]*T*+p[h+352>>2]*G*+p[u+(244*tt|0)+116>>2],V=+p[b+(152*a|0)+56>>2]*T*+p[h+356>>2]*G*+p[u+(244*tt|0)+120>>2],p[u+(244*tt|0)+64>>2]=+p[b+(152*a|0)+48>>2]*T*+p[h+348>>2]*G*+p[u+(244*tt|0)+112>>2]+ +p[u+(244*tt|0)+64>>2],p[u+(244*tt|0)+68>>2]=P+ +p[u+(244*tt|0)+68>>2],p[u+(244*tt|0)+72>>2]=V+ +p[u+(244*tt|0)+72>>2],ot*=+p[u+(244*tt|0)+100>>2]*-G,_t*=+p[u+(244*tt|0)+104>>2]*-G,p[u+(244*tt|0)+80>>2]=+p[u+(244*tt|0)+80>>2]-M*(+p[u+(244*tt|0)+96>>2]*-G),p[u+(244*tt|0)+84>>2]=+p[u+(244*tt|0)+84>>2]-ot,p[u+(244*tt|0)+88>>2]=+p[u+(244*tt|0)+88>>2]-_t}else p[b+(152*a|0)+100>>2]=0}while(0);do{if(16&c){if(!(4&c)){p[b+(152*(a+1|0)|0)+100>>2]=0;break}if(A=+p[z+4+(184*J|0)+128>>2]*+p[o+60>>2],p[b+(152*(a+1|0)|0)+100>>2]=A,0|m&&(_t=A*((G=+p[m+344>>2])*+p[b+(152*(a+1|0)|0)+20>>2])*+p[u+(244*$|0)+116>>2],ot=A*(G*+p[b+(152*(a+1|0)|0)+24>>2])*+p[u+(244*$|0)+120>>2],p[u+(244*$|0)+64>>2]=A*(G*+p[b+(152*(a+1|0)|0)+16>>2])*+p[u+(244*$|0)+112>>2]+ +p[u+(244*$|0)+64>>2],p[u+(244*$|0)+68>>2]=_t+ +p[u+(244*$|0)+68>>2],p[u+(244*$|0)+72>>2]=ot+ +p[u+(244*$|0)+72>>2],ot=A*+p[u+(244*$|0)+100>>2]*+p[b+(152*(a+1|0)|0)+68>>2],_t=A*+p[u+(244*$|0)+104>>2]*+p[b+(152*(a+1|0)|0)+72>>2],p[u+(244*$|0)+80>>2]=A*+p[u+(244*$|0)+96>>2]*+p[b+(152*(a+1|0)|0)+64>>2]+ +p[u+(244*$|0)+80>>2],p[u+(244*$|0)+84>>2]=ot+ +p[u+(244*$|0)+84>>2],p[u+(244*$|0)+88>>2]=_t+ +p[u+(244*$|0)+88>>2]),!h)break;T=+p[h+344>>2],M=+p[b+(152*(a+1|0)|0)+80>>2],ot=+p[b+(152*(a+1|0)|0)+84>>2],_t=+p[b+(152*(a+1|0)|0)+88>>2],G=+p[b+(152*(a+1|0)|0)+100>>2],P=+p[b+(152*(a+1|0)|0)+52>>2]*T*G*+p[u+(244*tt|0)+116>>2],V=+p[b+(152*(a+1|0)|0)+56>>2]*T*G*+p[u+(244*tt|0)+120>>2],p[u+(244*tt|0)+64>>2]=+p[b+(152*(a+1|0)|0)+48>>2]*T*G*+p[u+(244*tt|0)+112>>2]+ +p[u+(244*tt|0)+64>>2],p[u+(244*tt|0)+68>>2]=P+ +p[u+(244*tt|0)+68>>2],p[u+(244*tt|0)+72>>2]=V+ +p[u+(244*tt|0)+72>>2],ot*=+p[u+(244*tt|0)+100>>2]*-G,_t*=+p[u+(244*tt|0)+104>>2]*-G,p[u+(244*tt|0)+80>>2]=+p[u+(244*tt|0)+80>>2]-M*(+p[u+(244*tt|0)+96>>2]*-G),p[u+(244*tt|0)+84>>2]=+p[u+(244*tt|0)+84>>2]-ot,p[u+(244*tt|0)+88>>2]=+p[u+(244*tt|0)+88>>2]-_t}}while(0);c=0|_[z+748>>2]}J=J+1|0}while((0|J)<(0|c))}Y=Y+1|0}while((0|Y)!=(0|i));Q=r}},function(t,e,i,n){e|=0,i|=0,n|=0,_[120+(t|=0)>>2]=e,_[t+124>>2]=i,_[t+128>>2]=n},function(t,e,i,n){e|=0,i|=0,n|=0;var o,r,s=0;if(!((0|(r=0|_[268+(t|=0)>>2]))<=0)){for(e=0|_[e>>2],o=0|_[t+276>>2],i=0;(0|_[(n=o+(i<<2)|0)>>2])!=(0|e);)if((0|(i=i+1|0))>=(0|r)){s=7;break}7!=(0|s)&&((0|i)>=(0|r)||(_[n>>2]=_[o+(r+-1<<2)>>2],_[t+268>>2]=r+-1))}},function(t,e,i,n){t|=0,i|=0,n|=0;var o,r,s,p=0,c=0,a=0;if(s=0|_[(e|=0)>>2],n||(n=0|_[t+188>>2]),!((0|(r=0|_[t+268>>2]))<=0)){for(o=0|_[t+276>>2],p=0;(0|_[(c=o+(p<<2)|0)>>2])!=(0|s);)if((0|(p=p+1|0))>=(0|r)){a=9;break}9!=(0|a)&&((0|p)>=(0|r)||(_[c>>2]=_[o+(r+-1<<2)>>2],_[t+268>>2]=r+-1,a=0|_[t+284>>2],Zb[31&_[12+(0|_[a>>2])>>2]](a,n,e,i)))}},function(t,e,i,n){var o;t|=0,e|=0,i|=0,n|=0,o=Q,Q=Q+16|0,_[o>>2]=6100,_[o+4>>2]=i,_[o+8>>2]=t,rd[127&_[48+(0|_[e>>2])>>2]](e,o,n),Q=o},ot,function(t,e,i,n){t|=0,i|=0,n|=0;var o,r=0,s=0,c=0,a=0,b=0,d=0,l=0,A=0,f=0;o=Q,Q=Q+128|0,((A=(c=+p[(e|=0)>>2])<(a=+p[e+16>>2])?c:a)<(s=+p[e+32>>2])?A:s)>+p[t+28>>2]||+p[(+p[(d=c>a?e:e+16|0)>>2]>s?d:e+32)>>2]<+p[t+12>>2]||((A=(s=+p[e+8>>2])<(c=+p[e+24>>2])?s:c)<(a=+p[e+40>>2])?A:a)>+p[t+36>>2]||+p[(+p[(d=s>c?e+8|0:e+24|0)>>2]>a?d:e+40)>>2]<+p[t+20>>2]||((A=(s=+p[e+4>>2])<(c=+p[e+20>>2])?s:c)<(a=+p[e+36>>2])?A:a)>+p[t+32>>2]||+p[(+p[(d=s>c?e+4|0:e+20|0)>>2]>a?d:e+36)>>2]<+p[t+16>>2]||(r=0|_[t+4>>2],(0|_[4+(0|_[r+4>>2])>>2])>=20||(d=0|_[t+48>>2],_[o+24+8>>2]=0,_[o+24+12>>2]=1065353216,_[o+24+16>>2]=1065353216,_[o+24+20>>2]=1065353216,p[o+24+24>>2]=0,_[o+24+52>>2]=0,_[o+24>>2]=4564,_[o+24+4>>2]=1,_[o+24+56>>2]=_[e>>2],_[o+24+56+4>>2]=_[e+4>>2],_[o+24+56+8>>2]=_[e+8>>2],_[o+24+56+12>>2]=_[e+12>>2],_[o+24+72>>2]=_[e+16>>2],_[o+24+72+4>>2]=_[e+16+4>>2],_[o+24+72+8>>2]=_[e+16+8>>2],_[o+24+72+12>>2]=_[e+16+12>>2],_[o+24+88>>2]=_[e+32>>2],_[o+24+88+4>>2]=_[e+32+4>>2],_[o+24+88+8>>2]=_[e+32+8>>2],_[o+24+88+12>>2]=_[e+32+12>>2],_[o+24+44>>2]=_[t+56>>2],f=0|_[t+8>>2],e=0|_[f+8>>2],b=0|_[f+12>>2],_[o>>2]=f,_[o+4>>2]=o+24,_[o+8>>2]=e,_[o+12>>2]=b,_[o+16>>2]=i,_[o+20>>2]=n,b=0|Zb[31&_[8+(0|_[d>>2])>>2]](d,r,o,0|_[t+64>>2]),e=0|_[t+44>>2],r=0|_[e+8>>2],(0|_[r+8>>2])==(0|_[8+(0|_[t+8>>2])>>2])?(_[e+8>>2]=o,rd[127&_[8+(0|_[e>>2])>>2]](e,i,n)):(r=0|_[e+12>>2],_[e+12>>2]=o,rd[127&_[12+(0|_[e>>2])>>2]](e,i,n)),ld[31&_[8+(0|_[b>>2])>>2]](b,0|_[t+4>>2],o,0|_[t+52>>2],0|_[t+44>>2]),f=0|_[t+44>>2],_[((0|_[8+(0|_[f+8>>2])>>2])==(0|_[8+(0|_[t+8>>2])>>2])?f+8:f+12)>>2]=r,zb[511&_[_[b>>2]>>2]](b),id[127&_[60+(0|_[d>>2])>>2]](d,b),_[o+24>>2]=8020,0|(r=0|_[o+24+52>>2])&&(zb[511&_[_[r>>2]>>2]](r),0|(l=0|_[o+24+52>>2]))&&(_[6631]=1+(0|_[6631]),Li(0|_[l+-4>>2])))),Q=o},St,function(t,e,i,n){t|=0,i|=0,n|=0;var o,r,s,c,a,b,d,A,f,u,m,h,y,g,C,v,S,w,k,R,j,D=0,I=0,B=0,W=0,F=0,O=0;if(j=Q,Q=Q+32|0,W=+p[16+(e|=0)>>2],D=+p[e>>2],F=+p[e+20>>2],I=+p[e+4>>2],r=+p[e+24>>2],B=+p[e+8>>2],b=+p[e+32>>2],u=+p[e+36>>2],v=(F-I)*((m=+p[e+40>>2])-B)-(r-B)*(u-I),S=(r-B)*(b-D)-(W-D)*(m-B),w=(W-D)*(u-I)-(F-I)*(b-D),p[j+16>>2]=v,p[j+16+4>>2]=S,p[j+16+8>>2]=w,p[j+16+12>>2]=0,(k=v*(s=+p[t+4>>2])+S*(d=+p[t+8>>2])+w*(h=+p[t+12>>2])-(B*w+(D*v+I*S)))*(v*(c=+p[t+20>>2])+S*(A=+p[t+24>>2])+w*(y=+p[t+28>>2])-(B*w+(D*v+I*S)))>=0)Q=j;else if(k<=0&!!(1&(R=0|_[t+36>>2])))Q=j;else if((O=k/(k-(v*c+S*A+w*y-(B*w+(D*v+I*S)))))<+p[t+40>>2])if(w*((F-=A*O+d*(1-O))*(g=D-(c*O+s*(1-O)))-(f=I-(A*O+d*(1-O)))*(o=W-(c*O+s*(1-O))))+(v*(f*(W=r-(y*O+h*(1-O)))-(a=B-(y*O+h*(1-O)))*F)+S*(a*o-W*g))>=(C=-9999999747378752e-20*(w*w+(v*v+S*S))))if(w*((I=u-(A*O+d*(1-O)))*o-F*(B=b-(c*O+s*(1-O))))+(v*(F*(D=m-(y*O+h*(1-O)))-W*I)+S*(W*B-D*o))>=C){if(w*(f*B-I*g)+(v*(I*a-D*f)+S*(D*g-a*B))>=C)return D=1/+l(+(w*w+(v*v+S*S))),p[j+16>>2]=v*D,p[j+16+4>>2]=S*D,p[j+16+8>>2]=w*D,e=0|_[12+(0|_[t>>2])>>2],k<=0&!(2&R)?(p[j>>2]=-v*D,p[j+4>>2]=-S*D,p[j+8>>2]=-w*D,p[j+12>>2]=0,O=+Fb[3&e](t,j,O,i,n),p[t+40>>2]=O,void(Q=j)):(O=+Fb[3&e](t,j+16|0,O,i,n),p[t+40>>2]=O,void(Q=j));Q=j}else Q=j;else Q=j;else Q=j},function(t,e,i,n){t|=0,i|=0,n|=0;var o,r,s,c,a,b,d,A,f,u,m,h,y,g,C,v,S,w,k,R,j,D,I=0,B=0,W=0,F=0,O=0,x=0;if(i=Q,Q=Q+96|0,a=+p[(e|=0)>>2],b=+p[t+28>>2],d=+p[e+4>>2],A=+p[t+32>>2],f=+p[e+8>>2],u=+p[t+36>>2],m=+p[t+44>>2],h=+p[t+48>>2],y=+p[t+52>>2],g=+p[t+60>>2],C=+p[t+64>>2],I=+p[t+68>>2],v=+p[t+76>>2],B=+p[t+80>>2],W=+p[t+84>>2],p[i+80>>2]=a*b+d*A+f*u+v,p[i+80+4>>2]=a*m+d*h+f*y+B,p[i+80+8>>2]=a*g+d*C+f*I+W,p[i+80+12>>2]=0,S=+p[e+16>>2],w=+p[e+20>>2],k=+p[e+24>>2],p[i+64>>2]=v+(b*S+A*w+u*k),p[i+64+4>>2]=B+(m*S+h*w+y*k),p[i+64+8>>2]=W+(g*S+C*w+I*k),p[i+64+12>>2]=0,F=+p[e+32>>2],O=+p[e+36>>2],c=+p[e+40>>2],p[i+48>>2]=v+(b*F+A*O+u*c),p[i+48+4>>2]=B+(m*F+h*O+y*c),p[i+48+8>>2]=W+(g*F+C*O+I*c),p[i+48+12>>2]=0,o=.3333333432674408*(a*b+d*A+f*u+v+(v+(b*S+A*w+u*k))+(v+(b*F+A*O+u*c))),r=.3333333432674408*(a*m+d*h+f*y+B+(B+(m*S+h*w+y*k))+(B+(m*F+h*O+y*c))),s=.3333333432674408*(a*g+d*C+f*I+W+(W+(g*S+C*w+I*k))+(W+(g*F+C*O+I*c))),p[i+32>>2]=o,p[i+32+4>>2]=r,p[i+32+8>>2]=s,p[i+32+12>>2]=0,e=0|_[t+8>>2],!(16384&Lb[127&_[48+(0|_[e>>2])>>2]](e)))return n=0|_[t+8>>2],x=0|_[n>>2],x=0|_[(x=x+8|0)>>2],e=t+12|0,cd[127&x](n,i+80|0,i+64|0,e),n=0|_[t+8>>2],x=0|_[n>>2],x=0|_[(x=x+8|0)>>2],cd[127&x](n,i+64|0,i+48|0,e),t=0|_[t+8>>2],n=0|_[t>>2],n=0|_[(n=n+8|0)>>2],cd[127&n](t,i+48|0,i+80|0,e),void(Q=i);j=B+(m*S+h*w+y*k)-(a*m+d*h+f*y+B),W=(R=W+(g*S+C*w+I*k)-(a*g+d*C+f*I+W))*(v+(b*F+A*O+u*c)-(D=+p[i+80>>2]))-(v+(b*S+A*w+u*k)-D)*(I=W+(g*F+C*O+I*c)-(a*g+d*C+f*I+W)),O=1/+l(+((F=(v+(b*S+A*w+u*k)-D)*(B=B+(m*F+h*O+y*c)-(a*m+d*h+f*y+B))-j*(v+(b*F+A*O+u*c)-D))*F+((j*I-R*B)*(j*I-R*B)+W*W))),_[i+16>>2]=1065353216,_[i+16+4>>2]=1065353216,_[i+16+8>>2]=0,p[i+16+12>>2]=0,e=0|_[t+8>>2],n=0|_[8+(0|_[e>>2])>>2],p[i>>2]=(j*I-R*B)*O+o,p[i+4>>2]=W*O+r,p[i+8>>2]=F*O+s,p[i+12>>2]=0,cd[127&n](e,i+32|0,i,i+16|0),e=0|_[t+8>>2],n=0|_[e>>2],n=0|_[(n=n+8|0)>>2],x=t+12|0,cd[127&n](e,i+80|0,i+64|0,x),e=0|_[t+8>>2],n=0|_[e>>2],n=0|_[(n=n+8|0)>>2],cd[127&n](e,i+64|0,i+48|0,x),t=0|_[t+8>>2],e=0|_[t>>2],e=0|_[(e=e+8|0)>>2],cd[127&e](t,i+48|0,i+80|0,x),Q=i},Ar,function(t,e,i,n){e|=0,i|=0,n|=0,cd[127&_[8+(0|_[(t|=0)-4>>2])>>2]](t+-4|0,e,i,n)},function(t,e,i,o){t|=0,e|=0,i|=0,o|=0;var r,s=0,c=0,a=0,b=0,d=0;r=Q,Q=Q+672|0,_[r+568+8>>2]=0,_[r+568+12>>2]=1065353216,_[r+568+16>>2]=1065353216,_[r+568+20>>2]=1065353216,p[r+568+24>>2]=0,_[r+568+52>>2]=0,_[r+568>>2]=4564,_[r+568+4>>2]=1,_[r+568+56>>2]=_[e>>2],_[r+568+56+4>>2]=_[e+4>>2],_[r+568+56+8>>2]=_[e+8>>2],_[r+568+56+12>>2]=_[e+12>>2],_[r+568+72>>2]=_[e+16>>2],_[r+568+72+4>>2]=_[e+16+4>>2],_[r+568+72+8>>2]=_[e+16+8>>2],_[r+568+72+12>>2]=_[e+16+12>>2],_[r+568+88>>2]=_[e+32>>2],_[r+568+88+4>>2]=_[e+32+4>>2],_[r+568+88+8>>2]=_[e+32+8>>2],_[r+568+88+12>>2]=_[e+32+12>>2],_[r+568+44>>2]=_[t+204>>2],p[r+208+308>>2]=9999999747378752e-20,n[r+208+332|0]=0,_[r+200>>2]=10116,e=0|_[t+4>>2],_[r+176>>2]=10184,_[r+176+4>>2]=r+208,_[r+176+8>>2]=r+200,_[r+176+12>>2]=e,_[r+176+16>>2]=r+568,_[r+176+20>>2]=0,_[r>>2]=4536,_[r+168>>2]=0,p[r+164>>2]=1,_[r+172>>2]=_[t+208>>2],0|Ie(r+176|0,t+8|0,t+72|0,t+136|0,t+136|0,r)&&(s=+p[r+132>>2])*s+(c=+p[r+136>>2])*c+(a=+p[r+140>>2])*a>9999999747378752e-20&&(b=+p[r+164>>2])<+p[t+200>>2]&&(d=1/+l(+(s*s+c*c+a*a)),p[r+132>>2]=s*d,p[r+136>>2]=c*d,p[r+140>>2]=a*d,xb[3&_[12+(0|_[t>>2])>>2]](t,r+132|0,r+148|0,b,i,o)),_[r+568>>2]=8020,(t=0|_[r+568+52>>2])?(zb[511&_[_[t>>2]>>2]](t),(t=0|_[r+568+52>>2])?(_[6631]=1+(0|_[6631]),Li(0|_[t+-4>>2]),Q=r):Q=r):Q=r},function(t,e,i,n){e|=0,i|=0,n|=0;var o,r,s,c,a,b,l,A,f,u,m,h,y,g,C,v,S,w,k,R=0,j=0,D=0,I=0,B=0,W=0,F=0,O=0,x=0;k=+p[48+(t|=0)>>2],x=+p[t+32>>2],w=+p[t+52>>2],O=+p[t+36>>2],v=+p[t+56>>2],F=+p[t+40>>2],I=((S=!(0|_[t+16>>2]))?0:.5*(k-x))+(I=+Bb[15&_[48+(0|_[t>>2])>>2]](t)),D=(S?0:.5*(w-O))+(D=+Bb[15&_[48+(0|_[t>>2])>>2]](t)),j=(S?0:.5*(v-F))+(j=+Bb[15&_[48+(0|_[t>>2])>>2]](t)),C=+p[e>>2],f=+d(+C),g=+p[e+4>>2],A=+d(+g),W=+p[e+8>>2],l=+d(+W),y=+p[e+16>>2],b=+d(+y),h=+p[e+20>>2],a=+d(+h),B=+p[e+24>>2],c=+d(+B),m=+p[e+32>>2],s=+d(+m),u=+p[e+36>>2],r=+d(+u),R=+p[e+40>>2],o=+d(+R),W=(x=S?0:.5*(k+x))*C+(O=S?0:.5*(w+O))*g+(F=S?0:.5*(v+F))*W+ +p[e+48>>2],B=x*y+O*h+F*B+ +p[e+52>>2],R=x*m+O*u+F*R+ +p[e+56>>2],p[i>>2]=W-(I*f+D*A+j*l),p[i+4>>2]=B-(I*b+D*a+j*c),p[i+8>>2]=R-(I*s+D*r+j*o),p[i+12>>2]=0,p[n>>2]=I*f+D*A+j*l+W,p[n+4>>2]=I*b+D*a+j*c+B,p[n+8>>2]=I*s+D*r+j*o+R,p[n+12>>2]=0},U_,function(t,e,i,n){t|=0,e|=0,i|=0;var o,r=0,s=0,c=0,a=0,b=0,d=0,A=0,f=0;if(o=Q,Q=Q+16|0,(0|(n|=0))<=0)Q=o;else{f=0;do{s=.5*+p[t+60>>2],c=0|_[t+68>>2],b=+p[e+(f<<4)>>2],d=+p[e+(f<<4)+4>>2],A=+p[e+(f<<4)+8>>2],A=+l(+(b*b+d*d+A*A)),a=0|_[t+64>>2];do{if(!(+p[e+(f<<4)+(c<<2)>>2]>+p[t+52>>2]*A)){if(b=+p[e+(f<<4)+(a<<2)>>2],r=0|_[t+72>>2],d=+p[e+(f<<4)+(r<<2)>>2],(A=+l(+(b*b+d*d)))>1.1920928955078125e-7){A=+p[t+56>>2]/A,p[o+(a<<2)>>2]=b*A,p[o+(c<<2)>>2]=-s,s=d*A;break}p[o+(a<<2)>>2]=0,p[o+(c<<2)>>2]=-s,s=0;break}p[o+(a<<2)>>2]=0,p[o+(c<<2)>>2]=s,s=0,r=0|_[t+72>>2]}while(0);p[o+(r<<2)>>2]=s,_[(a=i+(f<<4)|0)>>2]=_[o>>2],_[a+4>>2]=_[o+4>>2],_[a+8>>2]=_[o+8>>2],_[a+12>>2]=_[o+12>>2],f=f+1|0}while((0|f)!=(0|n));Q=o}},function(t,e,i,n){e|=0,i|=0,n|=0;var o,r,s,c=0,a=0;o=+Bb[15&_[48+(0|_[(t|=0)>>2])>>2]](t),a=+Bb[15&_[48+(0|_[t>>2])>>2]](t),c=+Bb[15&_[48+(0|_[t>>2])>>2]](t),s=+p[e+52>>2]-a,r=+p[e+56>>2]-c,p[i>>2]=+p[e+48>>2]-o,p[i+4>>2]=s,p[i+8>>2]=r,p[i+12>>2]=0,a+=+p[e+52>>2],c+=+p[e+56>>2],p[n>>2]=o+ +p[e+48>>2],p[n+4>>2]=a,p[n+8>>2]=c,p[n+12>>2]=0},function(t,e,i,n){i|=0,(0|(n|=0))<=0||wn(0|i,0,n<<4)},function(t,e,i,n){e|=0,i|=0,n|=0;var o,r,s,c,a,b,l,A,f,u,m,h,y,g,C,v,S,w,k,R,j,D,I=0,B=0,W=0,F=0;l=.5*(+p[32+(t|=0)>>2]-+p[t+16>>2]),c=.5*(+p[t+36>>2]-+p[t+20>>2]),B=.5*(+p[t+40>>2]-+p[t+24>>2]),b=+Bb[15&_[48+(0|_[t>>2])>>2]](t),s=+Bb[15&_[48+(0|_[t>>2])>>2]](t),B+=+Bb[15&_[48+(0|_[t>>2])>>2]](t),w=.5*(+p[t+32>>2]+ +p[t+16>>2]),v=.5*(+p[t+36>>2]+ +p[t+20>>2]),g=.5*(+p[t+40>>2]+ +p[t+24>>2]),D=+p[e>>2],y=+d(+D),j=+p[e+4>>2],h=+d(+j),F=+p[e+8>>2],m=+d(+F),R=+p[e+16>>2],u=+d(+R),k=+p[e+20>>2],f=+d(+k),W=+p[e+24>>2],A=+d(+W),S=+p[e+32>>2],a=+d(+S),C=+p[e+36>>2],r=+d(+C),I=+p[e+40>>2],o=+d(+I),F=w*D+v*j+g*F+ +p[e+48>>2],W=w*R+v*k+g*W+ +p[e+52>>2],I=w*S+v*C+g*I+ +p[e+56>>2],p[i>>2]=F-((l+b)*y+(c+s)*h+B*m),p[i+4>>2]=W-((l+b)*u+(c+s)*f+B*A),p[i+8>>2]=I-((l+b)*a+(c+s)*r+B*o),p[i+12>>2]=0,p[n>>2]=(l+b)*y+(c+s)*h+B*m+F,p[n+4>>2]=(l+b)*u+(c+s)*f+B*A+W,p[n+8>>2]=(l+b)*a+(c+s)*r+B*o+I,p[n+12>>2]=0},function(t,e,i,r){e|=0,i|=0,r|=0;var c,a,b,d,l,A,f,u,m,h,y,g,C,v,S,w=0,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0,O=0;if(A=Q,Q=Q+80|0,B=0|_[48+(t|=0)>>2],_[A>>2]=7760,_[A+4>>2]=B,_[A+8>>2]=e,B=0|_[t+52>>2],!(0|n[B+60|0])){if((0|(e=0|_[B+56>>2]))>0)for(I=0,t=0,D=0|_[B+96>>2];t=t+1|0,w=+p[i>>2]>+p[D+16>>2]||+p[r>>2]<+p[D>>2]?0:1,(+p[i+8>>2]>+p[D+24>>2]||+p[r+8>>2]<+p[D+8>>2])&&(w=0),+p[i+4>>2]>+p[D+20>>2]||+p[r+4>>2]<+p[D+4>>2]?(w=0,R=-1==(0|(k=0|_[D+32>>2])),j=43):w&-1==(0|(k=0|_[D+32>>2]))?(rd[127&_[8+(0|_[A>>2])>>2]](A,0|_[D+36>>2],0|_[D+40>>2]),e=0|_[B+56>>2],j=44):(R=-1==(0|k),j=43),43==(0|j)&&(j=0,R|w?j=44:(R=D+(k<<6)|0,w=k+I|0)),44==(0|j)&&(R=D+64|0,w=I+1|0),(0|w)<(0|e);)I=w,D=R;else t=0;return(0|_[6610])>=(0|t)||(_[6610]=t),void(Q=A)}switch(W=+p[i>>2],F=+p[i+4>>2],O=+p[i+8>>2],W=W<(C=+p[B+4>>2])?C:W,F=F<(h=+p[B+8>>2])?h:F,O=O<(f=+p[B+12>>2])?f:O,v=+p[B+20>>2],y=+p[B+24>>2],u=+p[B+28>>2],S=+p[B+36>>2],g=+p[B+40>>2],m=+p[B+44>>2],b=((v<W?v:W)-C)*S&65535&-2,o[A+66>>1]=b,d=((y<F?y:F)-h)*g&65535&-2,l=((u<O?u:O)-f)*m&65535&-2,o[A+66+2>>1]=d,o[A+66+4>>1]=l,O=+p[r>>2],F=(F=+p[r+4>>2])<h?h:F,W=(W=+p[r+8>>2])<f?f:W,r=S*((v<(O=O<C?C:O)?v:O)-C)+1&65535|1,o[A+60>>1]=r,c=g*((y<F?y:F)-h)+1&65535|1,a=m*((u<W?u:W)-f)+1&65535|1,o[A+60+2>>1]=c,o[A+60+4>>1]=a,0|_[B+144>>2]){case 0:if((0|(D=0|_[B+56>>2]))>0){t=0,e=0|_[B+136>>2],w=0;do{t=t+1|0,k=((65535&r)>=(0|s[e>>1])?(65535&b)<=(0|s[e+6>>1]):0)&(65535&l)<=(0|s[e+10>>1])&(65535&a)>=(0|s[e+4>>1])&(65535&d)<=(0|s[e+8>>1])&(65535&c)>=(0|s[e+2>>1]),(0|(j=0|_[(R=e+12|0)>>2]))>-1&k&&rd[127&_[8+(0|_[A>>2])>>2]](A,j>>>21,2097151&j),k|(0|j)>-1?(w=w+1|0,e=e+16|0):(w=w-(B=0|_[R>>2])|0,e=e+(0-B<<4)|0)}while((0|w)<(0|D))}else t=0;(0|_[6610])<(0|t)&&(_[6610]=t);break;case 1:if((0|_[B+152>>2])>0){i=0;do{if(t=0|_[B+160>>2],((65535&r)>=(0|s[t+(i<<5)>>1])?(65535&b)<=(0|s[t+(i<<5)+6>>1]):0)&(65535&l)<=(0|s[t+(i<<5)+10>>1])&(65535&a)>=(0|s[t+(i<<5)+4>>1])&(65535&d)<=(0|s[t+(i<<5)+8>>1])&(65535&c)>=(0|s[t+(i<<5)+2>>1])){I=0|_[t+(i<<5)+12>>2],D=0|_[t+(i<<5)+16>>2];t:do{if((0|D)>0){for(t=0,e=(0|_[B+136>>2])+(I<<4)|0,w=I;;)if(t=t+1|0,k=((65535&r)>=(0|s[e>>1])?(65535&b)<=(0|s[e+6>>1]):0)&(65535&l)<=(0|s[e+10>>1])&(65535&a)>=(0|s[e+4>>1])&(65535&d)<=(0|s[e+8>>1])&(65535&c)>=(0|s[e+2>>1]),(0|(j=0|_[(R=e+12|0)>>2]))>-1&k&&rd[127&_[8+(0|_[A>>2])>>2]](A,j>>>21,2097151&j),k|(0|j)>-1?(w=w+1|0,e=e+16|0):(w=w-(j=0|_[R>>2])|0,e=e+(0-j<<4)|0),(0|w)>=(D+I|0))break t}else t=0}while(0);(0|_[6610])<(0|t)&&(_[6610]=t)}i=i+1|0}while((0|i)<(0|_[B+152>>2]))}break;case 2:yn(0|_[B+136>>2],A,A+66|0,A+60|0)}Q=A},function(t,e,i,n){var o;t|=0,e|=0,i|=0,n|=0,o=Q,Q=Q+48|0,_[o>>2]=7924,_[o+4>>2]=e,_[o+8>>2]=_[i>>2],_[o+8+4>>2]=_[i+4>>2],_[o+8+8>>2]=_[i+8>>2],_[o+8+12>>2]=_[i+12>>2],_[o+24>>2]=_[n>>2],_[o+24+4>>2]=_[n+4>>2],_[o+24+8>>2]=_[n+8>>2],_[o+24+12>>2]=_[n+12>>2],e=0|_[t+48>>2],cd[127&_[8+(0|_[e>>2])>>2]](e,o,i,n),Q=o},function(t,e,i,n){e|=0;var o,r,s,c=0,a=0;s=+p[88+(t|=0)>>2],o=+p[t+92>>2],r=+p[t+96>>2],(c=s*+p[e>>2]+o*+p[e+4>>2]+r*+p[e+8>>2])>(a=+p[t+84>>2])?(p[t+84>>2]=c,_[t+4>>2]=_[e>>2],_[t+4+4>>2]=_[e+4>>2],_[t+4+8>>2]=_[e+8>>2],_[t+4+12>>2]=_[e+12>>2]):c=a,(a=s*+p[e+16>>2]+o*+p[e+20>>2]+r*+p[e+24>>2])>c?(p[t+84>>2]=a,_[t+4>>2]=_[e+16>>2],_[t+4+4>>2]=_[e+16+4>>2],_[t+4+8>>2]=_[e+16+8>>2],_[t+4+12>>2]=_[e+16+12>>2]):a=c,(c=s*+p[e+32>>2]+o*+p[e+36>>2]+r*+p[e+40>>2])>a&&(p[t+84>>2]=c,_[t+4>>2]=_[e+32>>2],_[t+4+4>>2]=_[e+32+4>>2],_[t+4+8>>2]=_[e+32+8>>2],_[t+4+12>>2]=_[e+32+12>>2])},function(t,e,i,n){t|=0,i|=0,n|=0;var o=0,r=0,s=0,c=0,a=0;((c=(r=+p[(e|=0)>>2])<(s=+p[e+16>>2])?r:s)<(o=+p[e+32>>2])?c:o)>+p[t+24>>2]||+p[(+p[(a=r>s?e:e+16|0)>>2]>o?a:e+32)>>2]<+p[t+8>>2]||((c=(o=+p[e+8>>2])<(r=+p[e+24>>2])?o:r)<(s=+p[e+40>>2])?c:s)>+p[t+32>>2]||+p[(+p[(a=o>r?e+8|0:e+24|0)>>2]>s?a:e+40)>>2]<+p[t+16>>2]||((c=(o=+p[e+4>>2])<(r=+p[e+20>>2])?o:r)<(s=+p[e+36>>2])?c:s)>+p[t+28>>2]||+p[(+p[(a=o>r?e+4|0:e+20|0)>>2]>s?a:e+36)>>2]<+p[t+12>>2]||(a=0|_[t+4>>2],cd[127&_[8+(0|_[a>>2])>>2]](a,e,i,n))},function(t,e,i,n){n|=0,_[(i|=0)>>2]=-581039253,_[i+4>>2]=-581039253,_[i+8>>2]=-581039253,p[i+12>>2]=0,_[n>>2]=1566444395,_[n+4>>2]=1566444395,_[n+8>>2]=1566444395,p[n+12>>2]=0},function(t,e,i,n){t|=0,e|=0,i|=0;var o,r,s,c,a,b,A=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0,k=0;a=Q,Q=Q+48|0,S=+p[(n|=0)>>2],w=+p[i>>2],k=+p[n+4>>2],v=+p[i+4>>2],c=+p[n+8>>2],o=+p[i+8>>2],r=+l(+(.5*(S-w)*(.5*(S-w))+.5*(k-v)*(.5*(k-v))+.5*(c-o)*(.5*(c-o)))),s=+p[t+56>>2],+d(+s)>.7071067690849304?(C=+p[t+52>>2],y=1/+l(+(s*s+C*C)),A=(g=+p[t+48>>2])*(-s*y),f=(s*s+C*C)*y,u=0,m=C*y*-g,h=-s*y,y*=C):(A=((g=+p[t+48>>2])*g+(C=+p[t+52>>2])*C)*(h=1/+l(+(g*g+C*C))),f=g*h*-s,u=-C*h,m=s*(-C*h),h*=g,y=0),v=.5*(k+v)-C*(b=s*(.5*(c+o))+(.5*(S+w)*g+.5*(k+v)*C)-+p[t+64>>2]),g=.5*(S+w)-g*b,u*=r,S=r*h,k=r*y,y=r*f,C=r*m,w=r*A,p[a>>2]=y+(u+g),p[a+4>>2]=C+(S+v),p[a+8>>2]=w+(k+(.5*(c+o)-s*b)),p[a+12>>2]=0,p[a+16>>2]=u+g-y,p[a+20>>2]=S+v-C,p[a+24>>2]=k+(.5*(c+o)-s*b)-w,p[a+28>>2]=0,p[a+32>>2]=g-u-y,p[a+36>>2]=v-S-C,p[a+40>>2]=.5*(c+o)-s*b-k-w,p[a+44>>2]=0,cd[127&_[8+(0|_[e>>2])>>2]](e,a,0,0),p[a>>2]=g-u-y,p[a+4>>2]=v-S-C,p[a+8>>2]=.5*(c+o)-s*b-k-w,p[a+12>>2]=0,p[a+16>>2]=y+(g-u),p[a+20>>2]=C+(v-S),p[a+24>>2]=w+(.5*(c+o)-s*b-k),p[a+28>>2]=0,p[a+32>>2]=y+(u+g),p[a+36>>2]=C+(S+v),p[a+40>>2]=w+(k+(.5*(c+o)-s*b)),p[a+44>>2]=0,cd[127&_[8+(0|_[e>>2])>>2]](e,a,0,1),Q=a},function(t,e,i,n){t|=0,e|=0,i|=0;var o,r=0,s=0,c=0,a=0,b=0,d=0,l=0,A=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0;if(o=Q,Q=Q+2048|0,(0|(n|=0))<=0)Q=o;else{r=0;do{p[i+(r<<4)+12>>2]=-0xde0b6b000000000,r=r+1|0}while((0|r)!=(0|n));f=0;do{if((0|Lb[127&_[96+(0|_[t>>2])>>2]](t))>0){u=e+(f<<4)|0,m=e+(f<<4)+4|0,h=e+(f<<4)+8|0,y=i+(f<<4)+12|0,g=i+(f<<4)|0,A=0;do{if(((0|Lb[127&_[96+(0|_[t>>2])>>2]](t))-A|0)<128?(0|(r=(0|Lb[127&_[96+(0|_[t>>2])>>2]](t))-A|0))>0?C=11:(c=-34028234663852886e22,r=-1):(r=128,C=11),11==(0|C)){C=0,s=0;do{rd[127&_[108+(0|_[t>>2])>>2]](t,s,o+(s<<4)|0),s=s+1|0}while((0|s)!=(0|r));b=+p[u>>2],d=+p[m>>2],l=+p[h>>2],s=-1,a=0,c=-34028234663852886e22;do{s=(S=(v=b*+p[o+(a<<4)>>2]+d*+p[o+(a<<4)+4>>2]+l*+p[o+(a<<4)+8>>2])>c)?a:s,c=S?v:c,a=a+1|0}while((0|a)!=(0|r));r=s}c>+p[y>>2]&&(S=o+(r<<4)|0,_[g>>2]=_[S>>2],_[g+4>>2]=_[S+4>>2],_[g+8>>2]=_[S+8>>2],_[g+12>>2]=_[S+12>>2],p[y>>2]=c),A=A+128|0}while((0|A)<(0|Lb[127&_[96+(0|_[t>>2])>>2]](t)))}f=f+1|0}while((0|f)!=(0|n));Q=o}},function(t,e,i,n){e|=0,i|=0,n|=0;var o,r,s,c,a,b,l,A,f,u,m,h,y,g,C,v,S,w,k,R=0,j=0,D=0,I=0,B=0,W=0;s=+Bb[15&_[48+(0|_[(t|=0)>>2])>>2]](t),f=+p[t+72>>2],A=+p[t+56>>2],b=+p[t+76>>2],a=+p[t+60>>2],r=+p[t+80>>2],o=+p[t+64>>2],k=+p[e>>2],y=+d(+k),w=+p[e+4>>2],h=+d(+w),B=+p[e+8>>2],W=+d(+B),S=+p[e+16>>2],m=+d(+S),v=+p[e+20>>2],u=+d(+v),D=+p[e+24>>2],I=+d(+D),C=+p[e+32>>2],l=+d(+C),g=+p[e+36>>2],c=+d(+g),R=+p[e+40>>2],j=+d(+R),B=.5*(f+A)*k+.5*(b+a)*w+.5*(r+o)*B+ +p[e+48>>2],D=.5*(f+A)*S+.5*(b+a)*v+.5*(r+o)*D+ +p[e+52>>2],R=.5*(f+A)*C+.5*(b+a)*g+.5*(r+o)*R+ +p[e+56>>2],W=(s+.5*(f-A))*y+(s+.5*(b-a))*h+(s+.5*(r-o))*W,I=(s+.5*(f-A))*m+(s+.5*(b-a))*u+(s+.5*(r-o))*I,j=(s+.5*(f-A))*l+(s+.5*(b-a))*c+(s+.5*(r-o))*j,p[i>>2]=B-W,p[i+4>>2]=D-I,p[i+8>>2]=R-j,p[i+12>>2]=0,p[n>>2]=W+B,p[n+4>>2]=I+D,p[n+8>>2]=j+R,p[n+12>>2]=0},function(t,e,i,n){t|=0,e|=0,i|=0;var o=0,r=0,s=0,c=0,a=0,b=0,d=0,l=0,A=0,f=0,u=0,m=0,h=0,y=0;if(!((0|(n|=0))<=0)){o=0;do{p[i+(o<<4)+12>>2]=-0xde0b6b000000000,o=o+1|0}while((0|o)!=(0|n));m=0;do{if(c=+p[t+12>>2],a=+p[e+(m<<4)>>2]*c,b=+p[t+16>>2],d=+p[e+(m<<4)+4>>2]*b,l=+p[t+20>>2],A=+p[e+(m<<4)+8>>2]*l,(0|(f=0|_[t+96>>2]))>0){u=0|_[t+104>>2],o=-1,s=0,r=-34028234663852886e22;do{o=(y=(h=a*+p[u+(s<<4)>>2]+d*+p[u+(s<<4)+4>>2]+A*+p[u+(s<<4)+8>>2])>r)?s:o,r=y?h:r,s=s+1|0}while((0|s)!=(0|f));A=+p[u+(o<<4)+4>>2]*b,h=+p[u+(o<<4)+8>>2]*l,p[i+(m<<4)>>2]=+p[u+(o<<4)>>2]*c,p[i+(m<<4)+4>>2]=A,p[i+(m<<4)+8>>2]=h}else r=-0xde0b6b000000000;p[i+(m<<4)+12>>2]=r,m=m+1|0}while((0|m)!=(0|n))}},function(t,e,i,n){e|=0,i|=0,n|=0;var o,r,s=0,c=0;o=0|_[96+(t|=0)>>2],r=0|_[t+104>>2],s=+p[r+((0|e)%(0|o)<<4)+4>>2]*+p[t+16>>2],c=+p[r+((0|e)%(0|o)<<4)+8>>2]*+p[t+20>>2],p[i>>2]=+p[r+((0|e)%(0|o)<<4)>>2]*+p[t+12>>2],p[i+4>>2]=s,p[i+8>>2]=c,p[i+12>>2]=0,i=0|_[t+104>>2],c=+p[i+((e+1|0)%(0|o)<<4)+4>>2]*+p[t+16>>2],s=+p[i+((e+1|0)%(0|o)<<4)+8>>2]*+p[t+20>>2],p[n>>2]=+p[i+((e+1|0)%(0|o)<<4)>>2]*+p[t+12>>2],p[n+4>>2]=c,p[n+8>>2]=s,p[n+12>>2]=0},rp,function(t,e,i,n){e|=0,i|=0,n|=0;var o,r,s,c,a,b,l,A,f,u,m,h,y,g,C=0,v=0,S=0;o=Q,Q=Q+16|0,g=0|_[52+(t|=0)>>2],S=+p[t+28+((g+2|0)%3<<2)>>2],p[o>>2]=S,p[o+4>>2]=S,p[o+8>>2]=S,p[o+12>>2]=0,p[o+(g<<2)>>2]=S+ +p[t+28+(g<<2)>>2],S=+Bb[15&_[48+(0|_[t>>2])>>2]](t),v=+Bb[15&_[48+(0|_[t>>2])>>2]](t),C=+Bb[15&_[48+(0|_[t>>2])>>2]](t),S+=+p[o>>2],p[o>>2]=S,v+=+p[o+4>>2],p[o+4>>2]=v,C+=+p[o+8>>2],y=+d(+ +p[e>>2]),h=+d(+ +p[e+4>>2]),m=+d(+ +p[e+8>>2]),f=+d(+ +p[e+16>>2]),A=+d(+ +p[e+20>>2]),l=+d(+ +p[e+24>>2]),c=+d(+ +p[e+32>>2]),s=+d(+ +p[e+36>>2]),r=+d(+ +p[e+40>>2]),u=+p[e+48>>2],b=+p[e+52>>2],a=+p[e+56>>2],p[i>>2]=u-(S*y+v*h+C*m),p[i+4>>2]=b-(S*f+v*A+C*l),p[i+8>>2]=a-(S*c+v*s+C*r),p[i+12>>2]=0,p[n>>2]=S*y+v*h+C*m+u,p[n+4>>2]=S*f+v*A+C*l+b,p[n+8>>2]=a+(S*c+v*s+C*r),p[n+12>>2]=0,Q=o},function(t,e,i,n){e|=0,i|=0,n|=0;var o,r,s=0,c=0,a=0,b=0,d=0,l=0,A=0,f=0,u=0,m=0,h=0,y=0,g=0;if(r=Q,Q=Q+16|0,c=0|_[52+(t|=0)>>2],o=+p[t+28+((c+2|0)%3<<2)>>2],(0|n)<=0)Q=r;else{for(s=0;_[r>>2]=0,_[r+4>>2]=0,_[r+8>>2]=0,_[r+12>>2]=0,_[r+(c<<2)>>2]=_[t+28+(c<<2)>>2],h=e+(s<<4)+4|0,y=e+(s<<4)+8|0,l=o*+p[(c=e+(s<<4)|0)>>2]+ +p[r>>2],A=o*+p[h>>2]+ +p[r+4>>2],f=o*+p[y>>2]+ +p[r+8>>2],u=+Bb[15&_[48+(0|_[t>>2])>>2]](t),(a=+p[c>>2])*(l-u*a)+(b=+p[h>>2])*(A-u*b)+(d=+p[y>>2])*(f-u*d)>-0xde0b6b000000000?(p[i+(s<<4)>>2]=l-u*a,p[i+(s<<4)+4>>2]=A-u*b,p[i+(s<<4)+8>>2]=f-u*d,p[i+(s<<4)+12>>2]=0,m=a*(l-u*a)+b*(A-u*b)+d*(f-u*d),a=+p[c>>2],b=+p[h>>2],d=+p[y>>2]):m=-0xde0b6b000000000,_[r>>2]=0,_[r+4>>2]=0,_[r+8>>2]=0,_[r+12>>2]=0,g=0|_[t+52>>2],p[r+(g<<2)>>2]=-+p[t+28+(g<<2)>>2],u=o*a+ +p[r>>2],f=o*b+ +p[r+4>>2],l=o*d+ +p[r+8>>2],A=+Bb[15&_[48+(0|_[t>>2])>>2]](t),(d=+p[c>>2])*(u-A*d)+(b=+p[h>>2])*(f-A*b)+(a=+p[y>>2])*(l-A*a)>m&&(p[i+(s<<4)>>2]=u-A*d,p[i+(s<<4)+4>>2]=f-A*b,p[i+(s<<4)+8>>2]=l-A*a,p[i+(s<<4)+12>>2]=0),(0|(s=s+1|0))!=(0|n);)c=0|_[t+52>>2];Q=r}},function(t,e,i,n){t|=0,e|=0,i|=0;var o,r,s=0,c=0,a=0;if(r=Q,Q=Q+80|0,(0|(n|=0))<=0)Q=r;else{s=0;do{p[i+(s<<4)+12>>2]=-0xde0b6b000000000,s=s+1|0}while((0|s)!=(0|n));o=r+32+4|0,s=0;do{c=e+(s<<4)|0,_[r+32>>2]=8820,_[o>>2]=0,_[o+4>>2]=0,_[o+8>>2]=0,_[o+12>>2]=0,p[r+32+20>>2]=-0xde0b6b000000000,_[r+32+24>>2]=_[c>>2],_[r+32+24+4>>2]=_[c+4>>2],_[r+32+24+8>>2]=_[c+8>>2],_[r+32+24+12>>2]=_[c+12>>2],_[r+16>>2]=1566444395,_[r+16+4>>2]=1566444395,_[r+16+8>>2]=1566444395,p[r+16+12>>2]=0,c=0|_[t+92>>2],a=0|_[8+(0|_[c>>2])>>2],p[r>>2]=-0xde0b6b000000000,p[r+4>>2]=-0xde0b6b000000000,p[r+8>>2]=-0xde0b6b000000000,p[r+12>>2]=0,cd[127&a](c,r+32|0,r,r+16|0),_[(c=i+(s<<4)|0)>>2]=_[o>>2],_[c+4>>2]=_[o+4>>2],_[c+8>>2]=_[o+8>>2],_[c+12>>2]=_[o+12>>2],s=s+1|0}while((0|s)<(0|n));Q=r}},rp,rp,function(t,e,i,n){e|=0;var o,r,s,c=0,a=0;s=+p[24+(t|=0)>>2],o=+p[t+28>>2],r=+p[t+32>>2],(c=s*+p[e>>2]+o*+p[e+4>>2]+r*+p[e+8>>2])>(a=+p[t+20>>2])?(p[t+20>>2]=c,_[t+4>>2]=_[e>>2],_[t+4+4>>2]=_[e+4>>2],_[t+4+8>>2]=_[e+8>>2],_[t+4+12>>2]=_[e+12>>2]):c=a,(a=s*+p[e+16>>2]+o*+p[e+20>>2]+r*+p[e+24>>2])>c?(p[t+20>>2]=a,_[t+4>>2]=_[e+16>>2],_[t+4+4>>2]=_[e+16+4>>2],_[t+4+8>>2]=_[e+16+8>>2],_[t+4+12>>2]=_[e+16+12>>2]):a=c,(c=s*+p[e+32>>2]+o*+p[e+36>>2]+r*+p[e+40>>2])>a&&(p[t+20>>2]=c,_[t+4>>2]=_[e+32>>2],_[t+4+4>>2]=_[e+32+4>>2],_[t+4+8>>2]=_[e+32+8>>2],_[t+4+12>>2]=_[e+32+12>>2])},tn,function(t,e,i,n){t|=0,e|=0,i|=0;var o=0,_=0,r=0,s=0;if(!((0|(n|=0))<=0)){o=0;do{s=+p[t+28>>2],r=+p[t+32>>2],r=+p[e+(o<<4)+4>>2]>=0?r:-r,_=+p[t+36>>2],_=+p[e+(o<<4)+8>>2]>=0?_:-_,p[i+(o<<4)>>2]=+p[e+(o<<4)>>2]>=0?s:-s,p[i+(o<<4)+4>>2]=r,p[i+(o<<4)+8>>2]=_,p[i+(o<<4)+12>>2]=0,o=o+1|0}while((0|o)!=(0|n))}},function(t,e,i,n){t|=0,i|=0,n|=0;var o=0;switch(0|(e|=0)){case 0:e=1,o=0;break;case 1:e=2,o=0;break;case 2:e=3,o=1;break;case 3:e=3,o=2;break;case 4:e=4,o=0;break;case 5:e=5,o=1;break;case 6:e=6,o=2;break;case 7:e=7,o=3;break;case 8:e=5,o=4;break;case 9:e=6,o=4;break;case 10:e=7,o=5;break;case 11:e=7,o=6;break;default:e=0,o=0}rd[127&_[108+(0|_[t>>2])>>2]](t,o,i),rd[127&_[108+(0|_[t>>2])>>2]](t,e,n)},function(t,e,i,n){e|=0,i|=0,n|=0;var o,r,s,c,b=0,d=0,l=0;o=Q,Q=Q+48|0,rd[127&_[124+(0|_[(t|=0)>>2])>>2]](t,o+32|0,n),c=0|_[o+32>>2],s=0|_[o+32+4>>2],r=0|_[o+32+8>>2],_[e>>2]=c,_[e+4>>2]=s,_[e+8>>2]=r,p[e+12>>2]=0,n=0|_[64+(0|_[t>>2])>>2],_[a>>2]=c,l=-+p[a>>2],_[a>>2]=s,d=-+p[a>>2],_[a>>2]=r,b=-+p[a>>2],p[o>>2]=l,p[o+4>>2]=d,p[o+8>>2]=b,p[o+12>>2]=0,rd[127&n](o+16|0,t,o),_[i>>2]=_[o+16>>2],_[i+4>>2]=_[o+16+4>>2],_[i+8>>2]=_[o+16+8>>2],_[i+12>>2]=_[o+16+12>>2],Q=o},function(t,e,i,r){t|=0,i|=0,r|=0;var s,c,b,d,l=0,A=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0,O=0;if(y=+p[(e|=0)>>2],p[a>>2]=y,l=0|_[a>>2],w=y<0xde0b6b000000000?l:1566444395,u=+p[e+4>>2],p[a>>2]=u,f=0|_[a>>2],k=u<0xde0b6b000000000?f:1566444395,D=+p[e+8>>2],p[a>>2]=D,h=0|_[a>>2],R=D<0xde0b6b000000000?h:1566444395,l=y>-0xde0b6b000000000?l:-581039253,f=u>-0xde0b6b000000000?f:-581039253,h=D>-0xde0b6b000000000?h:-581039253,S=(D=+p[e+16>>2])<(_[a>>2]=w,+p[a>>2]),p[a>>2]=D,A=0|_[a>>2],w=S?A:w,S=(u=+p[e+20>>2])<(_[a>>2]=k,+p[a>>2]),p[a>>2]=u,m=0|_[a>>2],k=S?m:k,S=(y=+p[e+24>>2])<(_[a>>2]=R,+p[a>>2]),p[a>>2]=y,g=0|_[a>>2],R=S?g:R,A=D>(_[a>>2]=l,+p[a>>2])?A:l,l=u>(_[a>>2]=f,+p[a>>2])?m:f,h=y>(_[a>>2]=h,+p[a>>2])?g:h,g=(D=+p[e+32>>2])<(_[a>>2]=w,+p[a>>2]),p[a>>2]=D,C=0|_[a>>2],v=(u=+p[e+36>>2])<(_[a>>2]=k,+p[a>>2]),p[a>>2]=u,S=0|_[a>>2],f=(y=+p[e+40>>2])<(_[a>>2]=R,+p[a>>2]),p[a>>2]=y,m=0|_[a>>2],A=D>(_[a>>2]=A,+p[a>>2])?C:A,l=u>(_[a>>2]=l,+p[a>>2])?S:l,h=y>(_[a>>2]=h,+p[a>>2])?m:h,_[a>>2]=A,F=+p[a>>2],_[a>>2]=g?C:w,O=+p[a>>2],_[a>>2]=l,B=+p[a>>2],_[a>>2]=v?S:k,W=+p[a>>2],_[a>>2]=h,u=+p[a>>2],_[a>>2]=f?m:R,I=+p[a>>2],h=0|_[t+8>>2],d=+p[h+4>>2],c=+p[h+8>>2],y=+p[h+12>>2],b=+p[h+36>>2],s=+p[h+40>>2],D=+p[h+44>>2],h=((F-O<.0020000000949949026?O+-.0010000000474974513:O)-d)*b&65535&-2,g=((B-W<.0020000000949949026?W+-.0010000000474974513:W)-c)*s&65535&-2,C=((u-I<.0020000000949949026?I+-.0010000000474974513:I)-y)*D&65535&-2,v=((F-O<.0020000000949949026?F+.0010000000474974513:F)-d)*b+1&65535|1,S=((B-W<.0020000000949949026?B+.0010000000474974513:B)-c)*s+1&65535|1,e=((u-I<.0020000000949949026?u+.0010000000474974513:u)-y)*D+1&65535|1,m=0|_[t+4>>2],(0|(l=0|_[m+4>>2]))==(0|_[m+8>>2])&&(0|l)<(0|(j=0|l?l<<1:1))){if(j?(_[6630]=1+(0|_[6630]),(l=0|di(16+(j<<4|3)|0))?(_[(l+4+15&-16)-4>>2]=l,l=l+4+15&-16):l=0,f=l,l=0|_[m+4>>2]):f=0,(0|l)>0){A=0;do{t=f+(A<<4)|0,R=(0|_[m+12>>2])+(A<<4)|0,_[t>>2]=_[R>>2],_[t+4>>2]=_[R+4>>2],_[t+8>>2]=_[R+8>>2],_[t+12>>2]=_[R+12>>2],A=A+1|0}while((0|A)!=(0|l))}0|(l=0|_[m+12>>2])&&(0|n[m+16|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[l+-4>>2])),_[m+12>>2]=0),n[m+16|0]=1,_[m+12>>2]=f,_[m+8>>2]=j,l=0|_[m+4>>2]}j=0|_[m+12>>2],o[j+(l<<4)>>1]=h,o[j+(l<<4)+2>>1]=g,o[j+(l<<4)+4>>1]=C,o[j+(l<<4)+6>>1]=v,o[j+(l<<4)+8>>1]=S,o[j+(l<<4)+10>>1]=e,_[j+(l<<4)+12>>2]=i<<21|r,_[m+4>>2]=1+(0|_[m+4>>2])},function(t,e,i,o){t|=0,i|=0,o|=0;var r,s,c=0,b=0,d=0,l=0,A=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0;if(s=Q,Q=Q+32|0,m=+p[(e|=0)>>2],p[a>>2]=m,c=0|_[a>>2],g=m<0xde0b6b000000000?c:1566444395,u=+p[e+4>>2],p[a>>2]=u,d=0|_[a>>2],C=u<0xde0b6b000000000?d:1566444395,I=+p[e+8>>2],p[a>>2]=I,A=0|_[a>>2],S=I<0xde0b6b000000000?A:1566444395,w=(h=+p[e+12>>2])<0?h:0,c=m>-0xde0b6b000000000?c:-581039253,d=u>-0xde0b6b000000000?d:-581039253,A=I>-0xde0b6b000000000?A:-581039253,h=h>0?h:0,j=(I=+p[e+16>>2])<(_[a>>2]=g,+p[a>>2]),p[a>>2]=I,b=0|_[a>>2],g=j?b:g,j=(u=+p[e+20>>2])<(_[a>>2]=C,+p[a>>2]),p[a>>2]=u,l=0|_[a>>2],C=j?l:C,j=(m=+p[e+24>>2])<(_[a>>2]=S,+p[a>>2]),p[a>>2]=m,f=0|_[a>>2],S=j?f:S,w=(y=+p[e+28>>2])<w?y:w,r=I>(_[a>>2]=c,+p[a>>2])?b:c,v=u>(_[a>>2]=d,+p[a>>2])?l:d,l=m>(_[a>>2]=A,+p[a>>2])?f:A,y=h<y?y:h,j=(I=+p[e+32>>2])<(_[a>>2]=g,+p[a>>2]),p[a>>2]=I,c=0|_[a>>2],j=j?c:g,R=(m=+p[e+36>>2])<(_[a>>2]=C,+p[a>>2]),p[a>>2]=m,b=0|_[a>>2],R=R?b:C,k=(h=+p[e+40>>2])<(_[a>>2]=S,+p[a>>2]),p[a>>2]=h,d=0|_[a>>2],k=k?d:S,w=(u=+p[e+44>>2])<w?u:w,S=I>(_[a>>2]=r,+p[a>>2])?c:r,v=m>(_[a>>2]=v,+p[a>>2])?b:v,C=h>(_[a>>2]=l,+p[a>>2])?d:l,u=y<u?u:y,g=0|_[t+4>>2],(0|(c=0|_[g+4>>2]))==(0|_[g+8>>2])&&(0|c)<(0|(D=0|c?c<<1:1))){if(D?(_[6630]=1+(0|_[6630]),(c=0|di(D<<6|19))?(_[(c+4+15&-16)-4>>2]=c,c=c+4+15&-16):c=0,f=c,c=0|_[g+4>>2]):f=0,(0|c)>0){b=0;do{d=f+(b<<6)|0,l=(0|_[g+12>>2])+(b<<6)|0,A=d+64|0;do{_[d>>2]=_[l>>2],d=d+4|0,l=l+4|0}while((0|d)<(0|A));b=b+1|0}while((0|b)!=(0|c))}0|(c=0|_[g+12>>2])&&(0|n[g+16|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[c+-4>>2])),_[g+12>>2]=0),n[g+16|0]=1,_[g+12>>2]=f,_[g+8>>2]=D,c=0|_[g+4>>2]}D=0|_[g+12>>2],_[D+(c<<6)>>2]=j,_[D+(c<<6)+4>>2]=R,_[D+(c<<6)+8>>2]=k,p[D+(c<<6)+12>>2]=w,_[D+(c<<6)+16>>2]=S,_[D+(c<<6)+20>>2]=v,_[D+(c<<6)+24>>2]=C,p[D+(c<<6)+28>>2]=u,_[D+(c<<6)+32>>2]=-1,_[D+(c<<6)+36>>2]=i,_[D+(c<<6)+40>>2]=o,_[(o=D+(c<<6)+44|0)>>2]=_[s>>2],_[o+4>>2]=_[s+4>>2],_[o+8>>2]=_[s+8>>2],_[o+12>>2]=_[s+12>>2],_[o+16>>2]=_[s+16>>2],_[g+4>>2]=1+(0|_[g+4>>2]),Q=s},function(t,e,i,n){e|=0,i|=0,n|=0;var o,r,s,c,a,b,l,A,f,u,m,h,y,g,C,v,S=0;A=(+p[32+(t|=0)>>2]-+p[t+16>>2])*+p[t+108>>2]*.5,b=(+p[t+36>>2]-+p[t+20>>2])*+p[t+112>>2]*.5,c=(+p[t+40>>2]-+p[t+24>>2])*+p[t+116>>2]*.5,y=+d(+ +p[e>>2]),h=+d(+ +p[e+4>>2]),m=+d(+ +p[e+8>>2]),l=+d(+ +p[e+16>>2]),a=+d(+ +p[e+20>>2]),s=+d(+ +p[e+24>>2]),v=+d(+ +p[e+32>>2]),C=+d(+ +p[e+36>>2]),S=+d(+ +p[e+40>>2]),g=+p[e+48>>2],f=+p[e+52>>2],o=+p[e+56>>2],u=+Bb[15&_[48+(0|_[t>>2])>>2]](t),r=+Bb[15&_[48+(0|_[t>>2])>>2]](t),S=A*v+b*C+c*S+ +Bb[15&_[48+(0|_[t>>2])>>2]](t),p[i>>2]=g-(A*y+b*h+c*m+u),p[i+4>>2]=f-(A*l+b*a+c*s+r),p[i+8>>2]=o-S,p[i+12>>2]=0,p[n>>2]=g+(A*y+b*h+c*m+u),p[n+4>>2]=f+(A*l+b*a+c*s+r),p[n+8>>2]=o+S,p[n+12>>2]=0},function(t,e,i,o){e|=0,i|=0,o|=0;var r,s,c,a,b,d=0,l=0,A=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0;switch(s=Q,Q=Q+48|0,k=1/+p[108+(t|=0)>>2],R=1/+p[t+112>>2],j=1/+p[t+116>>2],S=+p[t+48>>2],w=k*+p[i>>2]+S,y=+p[t+52>>2],l=R*+p[i+4>>2]+y,C=+p[t+56>>2],g=j*+p[i+8>>2]+C,S=k*+p[o>>2]+S,y=R*+p[o+4>>2]+y,C=j*+p[o+8>>2]+C,w=w<(j=+p[t+16>>2])?j:w,l=l<(R=+p[t+20>>2])?R:l,g=g<(k=+p[t+24>>2])?k:g,m=~~(((w=(b=+p[t+32>>2])<w?b:w)<0?-.5:.5)+w)-1|0,A=1+~~(((S=b<(S=S<j?j:S)?b:S)<0?-.5:.5)+S)|0,h=~~(((l=(a=+p[t+36>>2])<l?a:l)<0?-.5:.5)+l)-1|0,f=1+~~(((y=a<(y=y<R?R:y)?a:y)<0?-.5:.5)+y)|0,d=~~(((g=(c=+p[t+40>>2])<g?c:g)<0?-.5:.5)+g)-1|0,i=1+~~(((C=c<(C=C<k?k:C)?c:C)<0?-.5:.5)+C)|0,u=(0|_[t+64>>2])-1|0,o=(0|_[t+68>>2])-1|0,0|_[t+104>>2]){case 0:o=(0|i)<(0|o)?i:o,i=(0|d)>0?d:0,u=(0|f)<(0|u)?f:u,h=(0|h)>0?h:0;break;case 1:o=(0|i)<(0|o)?i:o,i=(0|d)>0?d:0,u=(0|A)<(0|u)?A:u,h=(0|m)>0?m:0;break;case 2:o=(0|f)<(0|o)?f:o,i=(0|h)>0?h:0,u=(0|A)<(0|u)?A:u,h=(0|m)>0?m:0;break;default:i=0,h=0}if((0|i)>=(0|o))Q=s;else{r=(0|h)<(0|u);do{if(r)for(f=!(1&i),C=+(0|i),m=i+1|0,d=h;;){do{if(0|n[t+100|0])v=16;else{if(0|n[t+101|0]&&!(d+i&1)){v=16;break}if(f&!!(0|n[t+102|0]))v=16;else{switch(l=+Ob[15&_[68+(0|_[t>>2])>>2]](t,d,i),0|_[t+104>>2]){case 0:l-=+p[t+48>>2],y=+(0|d)-.5*+p[t+80>>2],g=C-.5*+p[t+84>>2],p[s>>2]=l,p[s+4>>2]=y,p[s+8>>2]=g,p[s+12>>2]=0;break;case 1:j=+(0|d)-.5*+p[t+80>>2],y=l-+p[t+52>>2],g=C-.5*+p[t+84>>2],p[s>>2]=j,p[s+4>>2]=y,p[s+8>>2]=g,p[s+12>>2]=0,l=j;break;case 2:j=+(0|d)-.5*+p[t+80>>2],y=C-.5*+p[t+84>>2],g=l-+p[t+56>>2],p[s>>2]=j,p[s+4>>2]=y,p[s+8>>2]=g,p[s+12>>2]=0,l=j;break;default:l=+p[s>>2],y=+p[s+4>>2],g=+p[s+8>>2]}switch(p[s>>2]=l*+p[t+108>>2],p[s+4>>2]=y*+p[t+112>>2],p[s+8>>2]=g*+p[t+116>>2],l=+Ob[15&_[68+(0|_[t>>2])>>2]](t,d,m),0|_[t+104>>2]){case 0:l-=+p[t+48>>2],y=+(0|d)-.5*+p[t+80>>2],g=+(0|m)-.5*+p[t+84>>2],p[s+16>>2]=l,p[s+20>>2]=y,p[s+24>>2]=g,p[s+28>>2]=0;break;case 1:j=+(0|d)-.5*+p[t+80>>2],y=l-+p[t+52>>2],g=+(0|m)-.5*+p[t+84>>2],p[s+16>>2]=j,p[s+20>>2]=y,p[s+24>>2]=g,p[s+28>>2]=0,l=j;break;case 2:j=+(0|d)-.5*+p[t+80>>2],y=+(0|m)-.5*+p[t+84>>2],g=l-+p[t+56>>2],p[s+16>>2]=j,p[s+20>>2]=y,p[s+24>>2]=g,p[s+28>>2]=0,l=j;break;default:l=+p[s+16>>2],y=+p[s+20>>2],g=+p[s+24>>2]}switch(p[s+16>>2]=l*+p[t+108>>2],p[s+20>>2]=y*+p[t+112>>2],p[s+24>>2]=g*+p[t+116>>2],A=d+1|0,l=+Ob[15&_[68+(0|_[t>>2])>>2]](t,A,i),0|_[t+104>>2]){case 0:l-=+p[t+48>>2],y=+(0|A)-.5*+p[t+80>>2],g=C-.5*+p[t+84>>2],p[s+32>>2]=l,p[s+36>>2]=y,p[s+40>>2]=g,p[s+44>>2]=0;break;case 1:j=+(0|A)-.5*+p[t+80>>2],y=l-+p[t+52>>2],g=C-.5*+p[t+84>>2],p[s+32>>2]=j,p[s+36>>2]=y,p[s+40>>2]=g,p[s+44>>2]=0,l=j;break;case 2:j=+(0|A)-.5*+p[t+80>>2],y=C-.5*+p[t+84>>2],g=l-+p[t+56>>2],p[s+32>>2]=j,p[s+36>>2]=y,p[s+40>>2]=g,p[s+44>>2]=0,l=j;break;default:l=+p[s+32>>2],y=+p[s+36>>2],g=+p[s+40>>2]}switch(p[s+32>>2]=l*+p[t+108>>2],p[s+36>>2]=y*+p[t+112>>2],p[s+40>>2]=g*+p[t+116>>2],cd[127&_[8+(0|_[e>>2])>>2]](e,s,d,i),l=+Ob[15&_[68+(0|_[t>>2])>>2]](t,A,i),0|_[t+104>>2]){case 0:l-=+p[t+48>>2],y=+(0|A)-.5*+p[t+80>>2],g=C-.5*+p[t+84>>2],p[s>>2]=l,p[s+4>>2]=y,p[s+8>>2]=g,p[s+12>>2]=0;break;case 1:j=+(0|A)-.5*+p[t+80>>2],y=l-+p[t+52>>2],g=C-.5*+p[t+84>>2],p[s>>2]=j,p[s+4>>2]=y,p[s+8>>2]=g,p[s+12>>2]=0,l=j;break;case 2:j=+(0|A)-.5*+p[t+80>>2],y=C-.5*+p[t+84>>2],g=l-+p[t+56>>2],p[s>>2]=j,p[s+4>>2]=y,p[s+8>>2]=g,p[s+12>>2]=0,l=j;break;default:l=+p[s>>2],y=+p[s+4>>2],g=+p[s+8>>2]}switch(p[s>>2]=l*+p[t+108>>2],p[s+4>>2]=y*+p[t+112>>2],p[s+8>>2]=g*+p[t+116>>2],l=+Ob[15&_[68+(0|_[t>>2])>>2]](t,A,m),0|_[t+104>>2]){case 0:l-=+p[t+48>>2],y=+(0|A)-.5*+p[t+80>>2],g=+(0|m)-.5*+p[t+84>>2],p[s+32>>2]=l,p[s+36>>2]=y,p[s+40>>2]=g,p[s+44>>2]=0;break;case 1:j=+(0|A)-.5*+p[t+80>>2],y=l-+p[t+52>>2],g=+(0|m)-.5*+p[t+84>>2],p[s+32>>2]=j,p[s+36>>2]=y,p[s+40>>2]=g,p[s+44>>2]=0,l=j;break;case 2:j=+(0|A)-.5*+p[t+80>>2],y=+(0|m)-.5*+p[t+84>>2],g=l-+p[t+56>>2],p[s+32>>2]=j,p[s+36>>2]=y,p[s+40>>2]=g,p[s+44>>2]=0,l=j;break;default:l=+p[s+32>>2],y=+p[s+36>>2],g=+p[s+40>>2]}p[s+32>>2]=l*+p[t+108>>2],p[s+36>>2]=y*+p[t+112>>2],p[s+40>>2]=g*+p[t+116>>2],cd[127&_[8+(0|_[e>>2])>>2]](e,s,d,i),d=A}}}while(0);if(16==(0|v)){switch(v=0,l=+Ob[15&_[68+(0|_[t>>2])>>2]](t,d,i),0|_[t+104>>2]){case 0:l-=+p[t+48>>2],y=+(0|d)-.5*+p[t+80>>2],g=C-.5*+p[t+84>>2],p[s>>2]=l,p[s+4>>2]=y,p[s+8>>2]=g,p[s+12>>2]=0;break;case 1:j=+(0|d)-.5*+p[t+80>>2],y=l-+p[t+52>>2],g=C-.5*+p[t+84>>2],p[s>>2]=j,p[s+4>>2]=y,p[s+8>>2]=g,p[s+12>>2]=0,l=j;break;case 2:j=+(0|d)-.5*+p[t+80>>2],y=C-.5*+p[t+84>>2],g=l-+p[t+56>>2],p[s>>2]=j,p[s+4>>2]=y,p[s+8>>2]=g,p[s+12>>2]=0,l=j;break;default:l=+p[s>>2],y=+p[s+4>>2],g=+p[s+8>>2]}switch(p[s>>2]=l*+p[t+108>>2],p[s+4>>2]=y*+p[t+112>>2],p[s+8>>2]=g*+p[t+116>>2],A=d+1|0,l=+Ob[15&_[68+(0|_[t>>2])>>2]](t,A,i),0|_[t+104>>2]){case 0:l-=+p[t+48>>2],y=+(0|A)-.5*+p[t+80>>2],g=C-.5*+p[t+84>>2],p[s+16>>2]=l,p[s+20>>2]=y,p[s+24>>2]=g,p[s+28>>2]=0;break;case 1:j=+(0|A)-.5*+p[t+80>>2],y=l-+p[t+52>>2],g=C-.5*+p[t+84>>2],p[s+16>>2]=j,p[s+20>>2]=y,p[s+24>>2]=g,p[s+28>>2]=0,l=j;break;case 2:j=+(0|A)-.5*+p[t+80>>2],y=C-.5*+p[t+84>>2],g=l-+p[t+56>>2],p[s+16>>2]=j,p[s+20>>2]=y,p[s+24>>2]=g,p[s+28>>2]=0,l=j;break;default:l=+p[s+16>>2],y=+p[s+20>>2],g=+p[s+24>>2]}switch(p[s+16>>2]=l*+p[t+108>>2],p[s+20>>2]=y*+p[t+112>>2],p[s+24>>2]=g*+p[t+116>>2],l=+Ob[15&_[68+(0|_[t>>2])>>2]](t,A,m),0|_[t+104>>2]){case 0:l-=+p[t+48>>2],y=+(0|A)-.5*+p[t+80>>2],g=+(0|m)-.5*+p[t+84>>2],p[s+32>>2]=l,p[s+36>>2]=y,p[s+40>>2]=g,p[s+44>>2]=0;break;case 1:j=+(0|A)-.5*+p[t+80>>2],y=l-+p[t+52>>2],g=+(0|m)-.5*+p[t+84>>2],p[s+32>>2]=j,p[s+36>>2]=y,p[s+40>>2]=g,p[s+44>>2]=0,l=j;break;case 2:j=+(0|A)-.5*+p[t+80>>2],y=+(0|m)-.5*+p[t+84>>2],g=l-+p[t+56>>2],p[s+32>>2]=j,p[s+36>>2]=y,p[s+40>>2]=g,p[s+44>>2]=0,l=j;break;default:l=+p[s+32>>2],y=+p[s+36>>2],g=+p[s+40>>2]}switch(p[s+32>>2]=l*+p[t+108>>2],p[s+36>>2]=y*+p[t+112>>2],p[s+40>>2]=g*+p[t+116>>2],cd[127&_[8+(0|_[e>>2])>>2]](e,s,d,i),l=+Ob[15&_[68+(0|_[t>>2])>>2]](t,A,m),0|_[t+104>>2]){case 0:l-=+p[t+48>>2],y=+(0|A)-.5*+p[t+80>>2],g=+(0|m)-.5*+p[t+84>>2],p[s+16>>2]=l,p[s+20>>2]=y,p[s+24>>2]=g,p[s+28>>2]=0;break;case 1:j=+(0|A)-.5*+p[t+80>>2],y=l-+p[t+52>>2],g=+(0|m)-.5*+p[t+84>>2],p[s+16>>2]=j,p[s+20>>2]=y,p[s+24>>2]=g,p[s+28>>2]=0,l=j;break;case 2:j=+(0|A)-.5*+p[t+80>>2],y=+(0|m)-.5*+p[t+84>>2],g=l-+p[t+56>>2],p[s+16>>2]=j,p[s+20>>2]=y,p[s+24>>2]=g,p[s+28>>2]=0,l=j;break;default:l=+p[s+16>>2],y=+p[s+20>>2],g=+p[s+24>>2]}switch(p[s+16>>2]=l*+p[t+108>>2],p[s+20>>2]=y*+p[t+112>>2],p[s+24>>2]=g*+p[t+116>>2],l=+Ob[15&_[68+(0|_[t>>2])>>2]](t,d,m),0|_[t+104>>2]){case 0:l-=+p[t+48>>2],y=+(0|d)-.5*+p[t+80>>2],g=+(0|m)-.5*+p[t+84>>2],p[s+32>>2]=l,p[s+36>>2]=y,p[s+40>>2]=g,p[s+44>>2]=0;break;case 1:j=+(0|d)-.5*+p[t+80>>2],y=l-+p[t+52>>2],g=+(0|m)-.5*+p[t+84>>2],p[s+32>>2]=j,p[s+36>>2]=y,p[s+40>>2]=g,p[s+44>>2]=0,l=j;break;case 2:j=+(0|d)-.5*+p[t+80>>2],y=+(0|m)-.5*+p[t+84>>2],g=l-+p[t+56>>2],p[s+32>>2]=j,p[s+36>>2]=y,p[s+40>>2]=g,p[s+44>>2]=0,l=j;break;default:l=+p[s+32>>2],y=+p[s+36>>2],g=+p[s+40>>2]}p[s+32>>2]=l*+p[t+108>>2],p[s+36>>2]=y*+p[t+112>>2],p[s+40>>2]=g*+p[t+116>>2],cd[127&_[8+(0|_[e>>2])>>2]](e,s,d,i),d=A}if((0|d)==(0|u)){i=m;break}}else i=i+1|0}while((0|i)!=(0|o));Q=s}},tn,function(t,e,i,n){t|=0,e|=0,i|=0;var o=0,_=0,r=0,s=0,c=0,a=0,b=0;if(!((0|(n|=0))<=0)){b=0;do{o=+p[t+28>>2],r=+p[t+32>>2],c=+p[e+(b<<4)>>2],_=+p[e+(b<<4)+8>>2],0!=(a=+l(+(c*c+_*_)))?(s=_*(o/a),_=+p[e+(b<<4)+4>>2]<0?-r:r,o=c*(o/a)):(s=0,_=+p[e+(b<<4)+4>>2]<0?-r:r),p[i+(b<<4)>>2]=o,p[i+(b<<4)+4>>2]=_,p[i+(b<<4)+8>>2]=s,b=b+1|0}while((0|b)!=(0|n))}},function(t,e,i,n){t|=0,e|=0,i|=0;var o=0,_=0,r=0,s=0,c=0,a=0,b=0,d=0;if(!((0|(n|=0))<=0)){d=0;do{o=+p[t+32>>2],r=+p[t+28>>2],s=e+(d<<4)|0,a=+p[e+(d<<4)+4>>2],_=+p[e+(d<<4)+8>>2],0!=(b=+l(+(a*a+_*_)))?(c=_*(o/b),_=+p[s>>2]<0?-r:r,o=a*(o/b)):(c=0,_=+p[s>>2]<0?-r:r),p[i+(d<<4)>>2]=_,p[i+(d<<4)+4>>2]=o,p[i+(d<<4)+8>>2]=c,d=d+1|0}while((0|d)!=(0|n))}},function(t,e,i,n){t|=0,e|=0,i|=0;var o=0,_=0,r=0,s=0,c=0,a=0,b=0;if(!((0|(n|=0))<=0)){b=0;do{o=+p[t+28>>2],r=+p[t+36>>2],c=+p[e+(b<<4)>>2],_=+p[e+(b<<4)+4>>2],0!=(a=+l(+(c*c+_*_)))?(s=_*(o/a),_=+p[e+(b<<4)+8>>2]<0?-r:r,o=c*(o/a)):(s=0,_=+p[e+(b<<4)+8>>2]<0?-r:r),p[i+(b<<4)>>2]=o,p[i+(b<<4)+4>>2]=s,p[i+(b<<4)+8>>2]=_,b=b+1|0}while((0|b)!=(0|n))}},function(t,e,i,n){e|=0,i|=0,n|=0;var o,a,b,d,l,A=0,f=0,u=0,m=0,h=0,y=0;if(l=Q,Q=Q+80|0,d=0|Lb[127&_[28+(0|_[(t|=0)>>2])>>2]](t),o=+p[t+4>>2],a=+p[t+8>>2],b=+p[t+12>>2],(0|d)<=0)Q=l;else{n=0;do{yd[3&_[16+(0|_[t>>2])>>2]](t,l+76|0,l+52|0,l+64|0,l+56|0,l+72|0,l+68|0,l+48|0,l+60|0,n);t:do{switch(0|_[l+64>>2]){case 0:switch(0|_[l+60>>2]){case 2:if((0|_[l+48>>2])<=0)break t;i=0;do{m=(0|_[l+72>>2])+(0|g(0|_[l+68>>2],i))|0,h=0|_[l+76>>2],u=0|_[l+56>>2],y=h+(0|g(u,0|_[m>>2]))|0,f=a*+p[y+4>>2],A=b*+p[y+8>>2],p[l>>2]=o*+p[y>>2],p[l+4>>2]=f,p[l+8>>2]=A,p[l+12>>2]=0,y=h+(0|g(0|_[m+4>>2],u))|0,A=a*+p[y+4>>2],f=b*+p[y+8>>2],p[l+16>>2]=o*+p[y>>2],p[l+20>>2]=A,p[l+24>>2]=f,p[l+28>>2]=0,u=h+(0|g(0|_[m+8>>2],u))|0,f=a*+p[u+4>>2],A=b*+p[u+8>>2],p[l+32>>2]=o*+p[u>>2],p[l+36>>2]=f,p[l+40>>2]=A,p[l+44>>2]=0,cd[127&_[8+(0|_[e>>2])>>2]](e,l,n,i),i=i+1|0}while((0|i)<(0|_[l+48>>2]));break;case 3:if((0|_[l+48>>2])<=0)break t;i=0;do{y=(0|_[l+72>>2])+(0|g(0|_[l+68>>2],i))|0,m=0|_[l+76>>2],h=0|_[l+56>>2],u=m+(0|g(h,0|s[y>>1]))|0,A=a*+p[u+4>>2],f=b*+p[u+8>>2],p[l>>2]=o*+p[u>>2],p[l+4>>2]=A,p[l+8>>2]=f,p[l+12>>2]=0,u=m+(0|g(h,0|s[y+2>>1]))|0,f=a*+p[u+4>>2],A=b*+p[u+8>>2],p[l+16>>2]=o*+p[u>>2],p[l+20>>2]=f,p[l+24>>2]=A,p[l+28>>2]=0,y=m+(0|g(h,0|s[y+4>>1]))|0,A=a*+p[y+4>>2],f=b*+p[y+8>>2],p[l+32>>2]=o*+p[y>>2],p[l+36>>2]=A,p[l+40>>2]=f,p[l+44>>2]=0,cd[127&_[8+(0|_[e>>2])>>2]](e,l,n,i),i=i+1|0}while((0|i)<(0|_[l+48>>2]));break;case 5:if((0|_[l+48>>2])<=0)break t;i=0;do{y=(0|_[l+72>>2])+(0|g(0|_[l+68>>2],i))|0,m=0|_[l+76>>2],h=0|_[l+56>>2],u=m+(0|g(h,0|r[0|y]))|0,A=a*+p[u+4>>2],f=b*+p[u+8>>2],p[l>>2]=o*+p[u>>2],p[l+4>>2]=A,p[l+8>>2]=f,p[l+12>>2]=0,u=m+(0|g(h,0|r[y+1|0]))|0,f=a*+p[u+4>>2],A=b*+p[u+8>>2],p[l+16>>2]=o*+p[u>>2],p[l+20>>2]=f,p[l+24>>2]=A,p[l+28>>2]=0,y=m+(0|g(h,0|r[y+2|0]))|0,A=a*+p[y+4>>2],f=b*+p[y+8>>2],p[l+32>>2]=o*+p[y>>2],p[l+36>>2]=A,p[l+40>>2]=f,p[l+44>>2]=0,cd[127&_[8+(0|_[e>>2])>>2]](e,l,n,i),i=i+1|0}while((0|i)<(0|_[l+48>>2]));break;default:break t}break;case 1:switch(0|_[l+60>>2]){case 2:if((0|_[l+48>>2])<=0)break t;i=0;do{h=(0|_[l+72>>2])+(0|g(0|_[l+68>>2],i))|0,m=0|_[l+76>>2],y=0|_[l+56>>2],u=m+(0|g(y,0|_[h>>2]))|0,A=a*+c[u+8>>3],f=b*+c[u+16>>3],p[l>>2]=o*+c[u>>3],p[l+4>>2]=A,p[l+8>>2]=f,p[l+12>>2]=0,u=m+(0|g(0|_[h+4>>2],y))|0,f=a*+c[u+8>>3],A=b*+c[u+16>>3],p[l+16>>2]=o*+c[u>>3],p[l+20>>2]=f,p[l+24>>2]=A,p[l+28>>2]=0,y=m+(0|g(0|_[h+8>>2],y))|0,A=a*+c[y+8>>3],f=b*+c[y+16>>3],p[l+32>>2]=o*+c[y>>3],p[l+36>>2]=A,p[l+40>>2]=f,p[l+44>>2]=0,cd[127&_[8+(0|_[e>>2])>>2]](e,l,n,i),i=i+1|0}while((0|i)<(0|_[l+48>>2]));break;case 3:if((0|_[l+48>>2])<=0)break t;i=0;do{y=(0|_[l+72>>2])+(0|g(0|_[l+68>>2],i))|0,m=0|_[l+76>>2],h=0|_[l+56>>2],u=m+(0|g(h,0|s[y>>1]))|0,A=a*+c[u+8>>3],f=b*+c[u+16>>3],p[l>>2]=o*+c[u>>3],p[l+4>>2]=A,p[l+8>>2]=f,p[l+12>>2]=0,u=m+(0|g(h,0|s[y+2>>1]))|0,f=a*+c[u+8>>3],A=b*+c[u+16>>3],p[l+16>>2]=o*+c[u>>3],p[l+20>>2]=f,p[l+24>>2]=A,p[l+28>>2]=0,y=m+(0|g(h,0|s[y+4>>1]))|0,A=a*+c[y+8>>3],f=b*+c[y+16>>3],p[l+32>>2]=o*+c[y>>3],p[l+36>>2]=A,p[l+40>>2]=f,p[l+44>>2]=0,cd[127&_[8+(0|_[e>>2])>>2]](e,l,n,i),i=i+1|0}while((0|i)<(0|_[l+48>>2]));break;case 5:if((0|_[l+48>>2])<=0)break t;i=0;do{y=(0|_[l+72>>2])+(0|g(0|_[l+68>>2],i))|0,m=0|_[l+76>>2],h=0|_[l+56>>2],u=m+(0|g(h,0|r[0|y]))|0,A=a*+c[u+8>>3],f=b*+c[u+16>>3],p[l>>2]=o*+c[u>>3],p[l+4>>2]=A,p[l+8>>2]=f,p[l+12>>2]=0,u=m+(0|g(h,0|r[y+1|0]))|0,f=a*+c[u+8>>3],A=b*+c[u+16>>3],p[l+16>>2]=o*+c[u>>3],p[l+20>>2]=f,p[l+24>>2]=A,p[l+28>>2]=0,y=m+(0|g(h,0|r[y+2|0]))|0,A=a*+c[y+8>>3],f=b*+c[y+16>>3],p[l+32>>2]=o*+c[y>>3],p[l+36>>2]=A,p[l+40>>2]=f,p[l+44>>2]=0,cd[127&_[8+(0|_[e>>2])>>2]](e,l,n,i),i=i+1|0}while((0|i)<(0|_[l+48>>2]));break;default:break t}}}while(0);id[127&_[24+(0|_[t>>2])>>2]](t,n),n=n+1|0}while((0|n)!=(0|d));Q=l}},Kn,function(t,e,i,n){e|=0,i|=0,n|=0;var r=0,c=0,a=0,b=0,d=0;if(0|(r=0|_[108+(t|=0)>>2]))cd[127&_[28+(0|_[r>>2])>>2]](r,e,i,n);else if((r=0|o[t+56>>1])<<16>>16){d=1,a=1;do{c=0|_[t+68>>2],1&o[c+(a<<2)>>1]&&(b=0|_[t+60>>2],a=0|s[c+(a<<2)+2>>1],c=+p[e>>2]>+p[b+(a<<6)+32>>2]||+p[i>>2]<+p[b+(a<<6)+16>>2]?0:1,(+p[e+8>>2]>+p[b+(a<<6)+40>>2]||+p[i+8>>2]<+p[b+(a<<6)+24>>2])&&(c=0),+p[e+4>>2]>+p[b+(a<<6)+36>>2]||+p[i+4>>2]<+p[b+(a<<6)+20>>2]|1^c||(Qb[31&_[8+(0|_[n>>2])>>2]](n,b+(a<<6)|0),r=0|o[t+56>>1])),a=65535&(d=d+1<<16>>16)}while(((65535&r)<<1|1)>>>0>a>>>0)}},Kn,function(t,e,i,n){var o;t|=0,e|=0,i|=0,n|=0,o=Q,Q=Q+48|0,_[o+32>>2]=9936,_[o+32+4>>2]=n,_[o>>2]=_[e>>2],_[o+4>>2]=_[e+4>>2],_[o+8>>2]=_[e+8>>2],_[o+12>>2]=_[e+12>>2],_[o+16>>2]=_[i>>2],_[o+16+4>>2]=_[i+4>>2],_[o+16+8>>2]=_[i+8>>2],_[o+16+12>>2]=_[i+12>>2],ci(0|_[t+4>>2],o,o+32|0),ci(0|_[t+64>>2],o,o+32|0),Q=o},function(t,e,i,n){i|=0,n|=0,0|Np(t|=0,0|_[8+(e|=0)>>2])&&Ln(e,i,n)},function(t,e,i,n){i|=0,n|=0,0|Np(t|=0,0|_[8+(e|=0)>>2])?Ln(e,i,n):(t=0|_[t+8>>2],cd[127&_[28+(0|_[t>>2])>>2]](t,e,i,n))},function(t,e,i,o){t|=0,e|=0,i|=0,o|=0;var r=0,s=0;t:do{if(0|Np(t,0|_[e+8>>2]))Ln(e,i,o);else if(s=0|_[t+12>>2],lo(t+16|0,e,i,o),(0|s)>1){r=t+24|0;do{if(lo(r,e,i,o),0|n[e+54|0])break t;r=r+8|0}while(r>>>0<(t+16+(s<<3)|0)>>>0)}}while(0)},ra,ra,ra,ra,ra,ra,ra,ra,ra,ra,ra,ra,ra,ra,ra,ra,ra,ra,ra,ra,ra,ra,ra,ra,ra,ra,ra,ra,ra,ra,ra,ra,ra,ra,ra,ra,ra,ra,ra,ra,ra,ra,ra,ra,ra,ra,ra,ra,ra,ra,ra],ad=[function(t,e,i,n,o){o=+o,v(34)},function(t,e,i,n,o){o=+o}],bd=[function(t,e,i,n,o,_,r,s,p,c,a,b){o=+o,_=+_,r=+r,s=+s,p=+p,a=+a,v(35)},function(t,e,i,n,o,r,s,c,a,b,d,l){t|=0,e|=0,n|=0,o=+o,r=+r,s=+s,c=+c,a=+a,b|=0,d=+d,l|=0;var A,f,u,m,h=0,y=0,g=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0;for(m=Q,Q=Q+2560|0,Mo(m+2528|0,+p[(i|=0)>>2],+p[i+4>>2],+p[i+8>>2],o),Bo(m+2544|0,+p[e>>2],+p[e+4>>2],+p[e+8>>2],+p[m+2528>>2],+p[m+2528+4>>2],+p[m+2528+8>>2]),Mo(m+2496|0,+p[i>>2],+p[i+4>>2],+p[i+8>>2],o),Fo(m+2512|0,+p[e>>2],+p[e+4>>2],+p[e+8>>2],+p[m+2496>>2],+p[m+2496+4>>2],+p[m+2496+8>>2]),go(m+2464|0,+p[i>>2],+p[i+4>>2],+p[i+8>>2],+p[n>>2],+p[n+4>>2],+p[n+8>>2]),(y=r<=-1.5707963705062866?.01745329238474369*d-1.5707963705062866:r)>(h=s>=1.5707963705062866?1.5707963705062866-.01745329238474369*d:s)?(B=1,I=1,y=.01745329238474369*d-1.5707963705062866,h=1.5707963705062866-.01745329238474369*d):(B=1^!(s>=1.5707963705062866),I=1^!(r<=-1.5707963705062866)),u=((f=h-y)/(.01745329238474369*d)|0)<1?2:1+~~(f/(.01745329238474369*d))|0,c>a?(c=.01745329238474369*d-3.1415927410125732,h=3.1415927410125732,D=1):a-c>=6.2831854820251465?(h=a,D=1):(h=a,D=0),A=((r=h-c)/(.01745329238474369*d)|0)<1?2:1+~~(r/(.01745329238474369*d))|0,C=0,v=m+1184|0,S=m;!((0|C)>=(0|u));){for(h=+lb(s=y+f/+(u+-1|0)*+(0|C))*o,s=+Ab(s)*o,w=!(0|C),k=(0|C)==(u+-1|0),g=0;!((0|g)>=(0|A));){d=+lb(a=c+r/+(A+-1|0)*+(0|g)),Is(m+2400|0,a=s*+Ab(a),+p[n>>2],+p[n+4>>2],+p[n+8>>2]),Bo(m+2416|0,+p[e>>2],+p[e+4>>2],+p[e+8>>2],+p[m+2400>>2],+p[m+2400+4>>2],+p[m+2400+8>>2]),Is(m+2384|0,s*d,+p[m+2464>>2],+p[m+2464+4>>2],+p[m+2464+8>>2]),Bo(m+2432|0,+p[m+2416>>2],+p[m+2416+4>>2],+p[m+2416+8>>2],+p[m+2384>>2],+p[m+2384+4>>2],+p[m+2384+8>>2]),Is(m+2368|0,h,+p[i>>2],+p[i+4>>2],+p[i+8>>2]),Bo(m+2448|0,+p[m+2432>>2],+p[m+2432+4>>2],+p[m+2432+8>>2],+p[m+2368>>2],+p[m+2368+4>>2],+p[m+2368+8>>2]),_[(R=S+(g<<4)|0)>>2]=_[m+2448>>2],_[R+4>>2]=_[m+2448+4>>2],_[R+8>>2]=_[m+2448+8>>2],_[R+12>>2]=_[m+2448+12>>2],w?B&&cd[127&_[8+(0|_[t>>2])>>2]](t,m+2512|0,R,b):cd[127&_[8+(0|_[t>>2])>>2]](t,v+(g<<4)|0,R,b),(j=!(0|g))?(_[m+2480>>2]=_[S>>2],_[m+2480+4>>2]=_[S+4>>2],_[m+2480+8>>2]=_[S+8>>2],_[m+2480+12>>2]=_[S+12>>2]):cd[127&_[8+(0|_[t>>2])>>2]](t,S+(g+-1<<4)|0,R,b),k&I&&cd[127&_[8+(0|_[t>>2])>>2]](t,m+2544|0,R,b);do{if(l){if(D){if((0|g)!=(A+-1|0))break;cd[127&_[8+(0|_[t>>2])>>2]](t,m+2480|0,S+(A+-1<<4)|0,b);break}if(!((w|k)&(j|(0|g)==(A+-1|0))))break;cd[127&_[8+(0|_[t>>2])>>2]](t,e,R,b);break}}while(0);g=g+1|0}j=S,C=C+1|0,S=v,v=j}Q=m}],dd=[function(t,e,i,n,o,_,r,s,p,c,a){o=+o,_=+_,r=+r,s=+s,a=+a,v(36)},function(t,e,i,n,o,r,s,c,a,b,d){t|=0,e|=0,n|=0,o=+o,r=+r,s=+s,c=+c,a|=0,b|=0,d=+d;var l,A,f,u,m=0,h=0;for(u=Q,Q=Q+208|0,go(u+192|0,+p[(i|=0)>>2],+p[i+4>>2],+p[i+8>>2],+p[n>>2],+p[n+4>>2],+p[n+8>>2]),f=(c-s)/(.01745329238474369*d)|0?~~((c-s)/(.01745329238474369*d)):1,Is(u+128|0,o,+p[n>>2],+p[n+4>>2],+p[n+8>>2]),d=+Ab(s),Mo(u+144|0,+p[u+128>>2],+p[u+128+4>>2],+p[u+128+8>>2],d),Bo(u+160|0,+p[e>>2],+p[e+4>>2],+p[e+8>>2],+p[u+144>>2],+p[u+144+4>>2],+p[u+144+8>>2]),Is(u+96|0,r,d=+p[u+192>>2],l=+p[u+192+4>>2],A=+p[u+192+8>>2]),m=+lb(s),Mo(u+112|0,+p[u+96>>2],+p[u+96+4>>2],+p[u+96+8>>2],m),Bo(u+176|0,+p[u+160>>2],+p[u+160+4>>2],+p[u+160+8>>2],+p[u+112>>2],+p[u+112+4>>2],+p[u+112+8>>2]),b&&cd[127&_[8+(0|_[t>>2])>>2]](t,e,u+176|0,a),i=1;!((0|i)>(0|f));)m=(c-s)*+(0|i)/+(0|f)+s,Is(u+32|0,o,+p[n>>2],+p[n+4>>2],+p[n+8>>2]),h=+Ab(m),Mo(u+48|0,+p[u+32>>2],+p[u+32+4>>2],+p[u+32+8>>2],h),Bo(u+64|0,+p[e>>2],+p[e+4>>2],+p[e+8>>2],+p[u+48>>2],+p[u+48+4>>2],+p[u+48+8>>2]),Is(u,r,d,l,A),m=+lb(m),Mo(u+16|0,+p[u>>2],+p[u+4>>2],+p[u+8>>2],m),Bo(u+80|0,+p[u+64>>2],+p[u+64+4>>2],+p[u+64+8>>2],+p[u+16>>2],+p[u+16+4>>2],+p[u+16+8>>2]),cd[127&_[8+(0|_[t>>2])>>2]](t,u+176|0,u+80|0,a),_[u+176>>2]=_[u+80>>2],_[u+176+4>>2]=_[u+80+4>>2],_[u+176+8>>2]=_[u+80+8>>2],_[u+176+12>>2]=_[u+80+12>>2],i=i+1|0;b?(cd[127&_[8+(0|_[t>>2])>>2]](t,e,u+176|0,a),Q=u):Q=u}],ld=[dc,function(t,e,i,n,o){e|=0,i|=0,n|=0,cd[127&_[8+(0|_[(t|=0)>>2])>>2]](t,e,i,n)},function(t,e,i,n,o){var r,s,c;e|=0,i|=0,n|=0,o|=0,r=Q,Q=Q+768|0,c=0|_[8+(0|_[(t|=0)>>2])>>2],R_(r+736|0,s=0|vb(e),s+4|0,s+8|0),Zr(r+752|0,n,+p[r+736>>2],+p[r+736+4>>2],+p[r+736+8>>2]),R_(r+704|0,e=0|vb(i),s+4|0,s+8|0),Zr(r+720|0,n,+p[r+704>>2],+p[r+704+4>>2],+p[r+704+8>>2]),cd[127&c](t,r+752|0,r+720|0,o),i=0|_[8+(0|_[t>>2])>>2],R_(r+672|0,e,s+4|0,s+8|0),Zr(r+688|0,n,+p[r+672>>2],+p[r+672+4>>2],+p[r+672+8>>2]),R_(r+640|0,e,e+4|0,s+8|0),Zr(r+656|0,n,+p[r+640>>2],+p[r+640+4>>2],+p[r+640+8>>2]),cd[127&i](t,r+688|0,r+656|0,o),i=0|_[8+(0|_[t>>2])>>2],R_(r+608|0,e,e+4|0,s+8|0),Zr(r+624|0,n,+p[r+608>>2],+p[r+608+4>>2],+p[r+608+8>>2]),R_(r+576|0,s,e+4|0,s+8|0),Zr(r+592|0,n,+p[r+576>>2],+p[r+576+4>>2],+p[r+576+8>>2]),cd[127&i](t,r+624|0,r+592|0,o),i=0|_[8+(0|_[t>>2])>>2],R_(r+544|0,s,e+4|0,s+8|0),Zr(r+560|0,n,+p[r+544>>2],+p[r+544+4>>2],+p[r+544+8>>2]),R_(r+512|0,s,s+4|0,s+8|0),Zr(r+528|0,n,+p[r+512>>2],+p[r+512+4>>2],+p[r+512+8>>2]),cd[127&i](t,r+560|0,r+528|0,o),i=0|_[8+(0|_[t>>2])>>2],R_(r+480|0,s,s+4|0,s+8|0),Zr(r+496|0,n,+p[r+480>>2],+p[r+480+4>>2],+p[r+480+8>>2]),R_(r+448|0,s,s+4|0,e+8|0),Zr(r+464|0,n,+p[r+448>>2],+p[r+448+4>>2],+p[r+448+8>>2]),cd[127&i](t,r+496|0,r+464|0,o),i=0|_[8+(0|_[t>>2])>>2],R_(r+416|0,e,s+4|0,s+8|0),Zr(r+432|0,n,+p[r+416>>2],+p[r+416+4>>2],+p[r+416+8>>2]),R_(r+384|0,e,s+4|0,e+8|0),Zr(r+400|0,n,+p[r+384>>2],+p[r+384+4>>2],+p[r+384+8>>2]),cd[127&i](t,r+432|0,r+400|0,o),i=0|_[8+(0|_[t>>2])>>2],R_(r+352|0,e,e+4|0,s+8|0),Zr(r+368|0,n,+p[r+352>>2],+p[r+352+4>>2],+p[r+352+8>>2]),R_(r+320|0,e,e+4|0,e+8|0),Zr(r+336|0,n,+p[r+320>>2],+p[r+320+4>>2],+p[r+320+8>>2]),cd[127&i](t,r+368|0,r+336|0,o),i=0|_[8+(0|_[t>>2])>>2],R_(r+288|0,s,e+4|0,s+8|0),Zr(r+304|0,n,+p[r+288>>2],+p[r+288+4>>2],+p[r+288+8>>2]),R_(r+256|0,s,e+4|0,e+8|0),Zr(r+272|0,n,+p[r+256>>2],+p[r+256+4>>2],+p[r+256+8>>2]),cd[127&i](t,r+304|0,r+272|0,o),i=0|_[8+(0|_[t>>2])>>2],R_(r+224|0,s,s+4|0,e+8|0),Zr(r+240|0,n,+p[r+224>>2],+p[r+224+4>>2],+p[r+224+8>>2]),R_(r+192|0,e,s+4|0,e+8|0),Zr(r+208|0,n,+p[r+192>>2],+p[r+192+4>>2],+p[r+192+8>>2]),cd[127&i](t,r+240|0,r+208|0,o),i=0|_[8+(0|_[t>>2])>>2],R_(r+160|0,e,s+4|0,e+8|0),Zr(r+176|0,n,+p[r+160>>2],+p[r+160+4>>2],+p[r+160+8>>2]),R_(r+128|0,e,e+4|0,e+8|0),Zr(r+144|0,n,+p[r+128>>2],+p[r+128+4>>2],+p[r+128+8>>2]),cd[127&i](t,r+176|0,r+144|0,o),i=0|_[8+(0|_[t>>2])>>2],R_(r+96|0,e,e+4|0,e+8|0),Zr(r+112|0,n,+p[r+96>>2],+p[r+96+4>>2],+p[r+96+8>>2]),R_(r+64|0,s,e+4|0,e+8|0),Zr(r+80|0,n,+p[r+64>>2],+p[r+64+4>>2],+p[r+64+8>>2]),cd[127&i](t,r+112|0,r+80|0,o),i=0|_[8+(0|_[t>>2])>>2],R_(r+32|0,s,e+4|0,e+8|0),Zr(r+48|0,n,+p[r+32>>2],+p[r+32+4>>2],+p[r+32+8>>2]),R_(r,s,s+4|0,e+8|0),Zr(r+16|0,n,+p[r>>2],+p[r+4>>2],+p[r+8>>2]),cd[127&i](t,r+48|0,r+16|0,o),Q=r},function(t,e,i,n,o){t|=0,e|=0,n|=0,o|=0;var r,s,c,a=0,b=0,d=0,l=0,A=0,f=0,u=0;r=Q,Q=Q+48|0,l=+p[(i|=0)>>2],A=+p[i+4>>2],d=+p[i+8>>2],f=l*+p[e+4>>2]+A*+p[e+20>>2]+d*+p[e+36>>2],u=l*+p[e+8>>2]+A*+p[e+24>>2]+d*+p[e+40>>2],p[r+32>>2]=+p[e>>2]*l+ +p[e+16>>2]*A+ +p[e+32>>2]*d,p[r+32+4>>2]=f,p[r+32+8>>2]=u,p[r+32+12>>2]=0,rd[127&_[64+(0|_[t>>2])>>2]](r+16|0,t,r+32|0),u=+p[r+16>>2],f=+p[r+16+4>>2],d=+p[r+16+8>>2],A=u*+p[e>>2]+f*+p[e+4>>2]+d*+p[e+8>>2]+ +p[e+48>>2],l=u*+p[e+16>>2]+f*+p[e+20>>2]+d*+p[e+24>>2]+ +p[e+52>>2],d=u*+p[e+32>>2]+f*+p[e+36>>2]+d*+p[e+40>>2]+ +p[e+56>>2],c=0|_[64+(0|_[t>>2])>>2],f=-+p[r+32+4>>2],u=-+p[r+32+8>>2],p[r>>2]=-+p[r+32>>2],p[r+4>>2]=f,p[r+8>>2]=u,p[r+12>>2]=0,rd[127&c](r+16|0,t,r),u=+p[r+16>>2],f=+p[r+16+4>>2],a=+p[r+16+8>>2],s=u*+p[e>>2]+f*+p[e+4>>2]+a*+p[e+8>>2]+ +p[e+48>>2],b=u*+p[e+16>>2]+f*+p[e+20>>2]+a*+p[e+24>>2]+ +p[e+52>>2],a=u*+p[e+32>>2]+f*+p[e+36>>2]+a*+p[e+40>>2]+ +p[e+56>>2],p[n>>2]=A*+p[i>>2]+l*+p[i+4>>2]+d*+p[i+8>>2],a=s*+p[i>>2]+b*+p[i+4>>2]+a*+p[i+8>>2],p[o>>2]=a,(b=+p[n>>2])>a?(p[n>>2]=a,p[o>>2]=b,Q=r):Q=r},function(t,e,i,o,r){var s;e|=0,i|=0,o|=0,r|=0,o=!(0|n[16+(t|=0)|0]),s=0|_[(o?e:i)+8>>2],o=0|_[(i=o?i:e)+8>>2],r=0|_[s+268>>2];t:do{if((0|r)>0){for(e=0|_[s+276>>2],t=0;(0|_[e+(t<<2)>>2])!=(0|o);)if((0|(t=t+1|0))>=(0|r))break t;if((0|t)!=(0|r))return}}while(0);e=0|_[s+284>>2],rd[127&_[36+(0|_[e>>2])>>2]](e,s,i)},function(t,e,i,o,r){e|=0,i|=0,o|=0,r|=0;var s,c,a,b,l,A,f,u,m,h,y,g,C,v,S,w,k=0,R=0,j=0,D=0,I=0;s=Q,Q=Q+32|0,e=0|n[8+(t|=0)|0]?e:i,((0|_[4+(0|_[e+4>>2])>>2])-21|0)>>>0>=9||(i=0|_[192+(0|_[e+8>>2])>>2],I=+Bb[15&_[48+(0|_[i>>2])>>2]](i),_[t+64>>2]=o,p[t+68>>2]=I+.05999999865889549,_[t+56>>2]=r,r=0|_[t+16>>2],rd[127&_[28+(0|_[r>>2])>>2]](r,s+16|0,s),I=+p[s>>2],m=+p[s+16>>2],l=+p[s+4>>2],b=+p[s+16+4>>2],y=+p[s+8>>2],h=+p[s+16+8>>2],r=0|_[e+12>>2],S=+p[r>>2],v=+p[r+16>>2],D=+p[r+32>>2],C=+p[r+4>>2],g=+p[r+20>>2],j=+p[r+36>>2],u=+p[r+8>>2],f=+p[r+24>>2],A=+p[r+40>>2],a=.5*(I+m)*S+.5*(l+b)*v+.5*(y+h)*D+(S*(w=-+p[r+48>>2])+v*(k=-+p[r+52>>2])+D*(R=-+p[r+56>>2])),c=.5*(I+m)*C+.5*(l+b)*g+.5*(y+h)*j+(C*w+g*k+j*R),R=.5*(I+m)*u+.5*(l+b)*f+.5*(y+h)*A+(u*w+f*k+A*R),k=+p[t+68>>2],D=+d(+(D+(0*S+0*v)))*(.5*(y-h)+k)+(+d(+(S+0*v+0*D))*(.5*(I-m)+k)+ +d(+(0*S+v+0*D))*(.5*(l-b)+k)),j=+d(+(j+(0*C+0*g)))*(.5*(y-h)+k)+(+d(+(C+0*g+0*j))*(.5*(I-m)+k)+ +d(+(0*C+g+0*j))*(.5*(l-b)+k)),k=+d(+(A+(0*u+0*f)))*(.5*(y-h)+k)+(+d(+(u+0*f+0*A))*(.5*(I-m)+k)+ +d(+(0*u+f+0*A))*(.5*(l-b)+k)),p[t+24>>2]=a-D,p[t+28>>2]=c-j,p[t+32>>2]=R-k,p[t+36>>2]=0,p[t+40>>2]=a+D,p[t+44>>2]=c+j,p[t+48>>2]=R+k,p[t+52>>2]=0,cd[127&_[64+(0|_[i>>2])>>2]](i,t+12|0,t+24|0,t+40|0)),Q=s},function(t,e,i,n,o){i|=0,n|=0,o|=0,o=0|_[8+(e|=0)>>2],n=0|_[o+284>>2],rd[127&_[40+(0|_[n>>2])>>2]](n,o,0|_[i+8>>2])},function(t,e,i,o,r){e|=0,i|=0,o|=0,r|=0;var s,c,a=0,b=0,A=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0,O=0,x=0,T=0,P=0,V=0,M=0,G=0,L=0,N=0,H=0,Z=0,U=0,Y=0,J=0,X=0,z=0,K=0,q=0,$=0,tt=0,et=0,it=0,nt=0,ot=0,_t=0,rt=0,st=0,pt=0,ct=0,at=0,bt=0,dt=0,lt=0,At=0,ft=0;if(c=Q,Q=Q+64|0,0|_[12+(t|=0)>>2]){if(a=(G=!!(0|n[t+16|0]))?i:e,G=G?e:i,o=0|_[a+4>>2],s=0|_[G+4>>2],a=0|_[a+12>>2],tt=+p[a>>2],$=+p[a+16>>2],q=+p[a+32>>2],K=+p[a+4>>2],z=+p[a+20>>2],h=+p[a+36>>2],b=+p[a+8>>2],C=+p[a+24>>2],D=+p[a+40>>2],Z=+p[a+48>>2],H=+p[a+52>>2],N=+p[a+56>>2],et=0|_[G+12>>2],X=+p[et>>2],J=+p[et+16>>2],y=+p[et+32>>2],Y=+p[et+4>>2],U=+p[et+20>>2],g=+p[et+36>>2],j=+p[et+8>>2],k=+p[et+24>>2],S=+p[et+40>>2],L=-+p[et+48>>2],x=-+p[et+52>>2],T=-+p[et+56>>2],P=+p[a>>2],V=+p[a+16>>2],O=+p[a+32>>2],W=+p[a+4>>2],B=+p[a+20>>2],I=+p[a+36>>2],R=+p[a+8>>2],w=+p[a+24>>2],v=+p[a+40>>2],a=0|_[64+(0|_[o>>2])>>2],m=-+p[s+48>>2],A=-+p[s+52>>2],F=-+p[s+56>>2],p[c+48>>2]=(tt*X+$*J+q*y)*m+(tt*Y+$*U+q*g)*A+(tt*j+$*k+q*S)*F,p[c+48+4>>2]=(K*X+z*J+h*y)*m+(K*Y+z*U+h*g)*A+(K*j+z*k+h*S)*F,p[c+48+8>>2]=(b*X+C*J+D*y)*m+(b*Y+C*U+D*g)*A+(b*j+C*k+D*S)*F,p[c+48+12>>2]=0,rd[127&a](c,o,c+48|0),F=+p[c>>2],D=+p[c+4>>2],C=+p[c+8>>2],b=+p[s+48>>2],A=+p[s+52>>2],y=Z*X+H*J+N*y+(X*L+J*x+y*T)+((X*P+J*V+y*O)*F+(X*W+J*B+y*I)*D+(X*R+J*w+y*v)*C)-b*(h=(m=+p[s+56>>2])*(Z*j+H*k+N*S+(j*L+k*x+S*T)+((j*P+k*V+S*O)*F+(j*W+k*B+S*I)*D+(j*R+k*w+S*v)*C))+(b*(Z*X+H*J+N*y+(X*L+J*x+y*T)+((X*P+J*V+y*O)*F+(X*W+J*B+y*I)*D+(X*R+J*w+y*v)*C))+A*(Z*Y+H*U+N*g+(Y*L+U*x+g*T)+((Y*P+U*V+g*O)*F+(Y*W+U*B+g*I)*D+(Y*R+U*w+g*v)*C)))-+p[s+64>>2]),g=Z*Y+H*U+N*g+(Y*L+U*x+g*T)+((Y*P+U*V+g*O)*F+(Y*W+U*B+g*I)*D+(Y*R+U*w+g*v)*C)-A*h,C=Z*j+H*k+N*S+(j*L+k*x+S*T)+((j*P+k*V+S*O)*F+(j*W+k*B+S*I)*D+(j*R+k*w+S*v)*C)-m*h,G=0|_[G+12>>2],v=+p[G>>2],S=+p[G+4>>2],w=+p[G+8>>2],k=+p[G+16>>2],R=+p[G+20>>2],j=+p[G+24>>2],D=+p[G+32>>2],I=+p[G+36>>2],B=+p[G+40>>2],W=+p[G+48>>2],F=+p[G+52>>2],O=+p[G+56>>2],G=0|_[t+12>>2],a=h<+p[G+752>>2],_[r+4>>2]=G,a&&(p[c+48>>2]=v*b+S*A+w*m,p[c+48+4>>2]=b*k+A*R+m*j,p[c+48+8>>2]=b*D+A*I+m*B,p[c+48+12>>2]=0,p[c+32>>2]=w*C+(v*y+S*g)+W,p[c+32+4>>2]=y*k+g*R+C*j+F,p[c+32+8>>2]=y*D+g*I+C*B+O,p[c+32+12>>2]=0,sd[15&_[16+(0|_[r>>2])>>2]](r,c+48|0,c+32|0,h)),(0|_[o+4>>2])<7&&(0|_[748+(0|_[r+4>>2])>>2])<(0|_[t+24>>2])&&(b=+p[s+56>>2],+d(+b)>.7071067690849304?(m=+p[s+52>>2],A=0,m*=tt=1/+l(+(b*b+m*m)),b=-b*tt):(tt=+p[s+48>>2],A=-(A=+p[s+52>>2])*(b=1/+l(+(tt*tt+A*A))),m=0,b*=tt),T=.019999999552965164/+Bb[15&_[16+(0|_[o>>2])>>2]](o),V=A*(x=+u(+(T=.5*(T>.39269909262657166?.39269909262657166:T)))/+l(+(A*A+b*b+m*m))),P=b*x,x*=m,T=+f(+T),(0|(o=0|_[t+20>>2]))>0)){a=0;do{k=+p[s+48>>2],tt=+p[s+52>>2],ct=(W=+p[s+56>>2])*($=+u(+(I=6.2831854820251465/+(0|o)*+(0|a)*.5))/+l(+(k*k+tt*tt+W*W)))*(j=V*(-W*$)+(P*(I=+f(+I))+T*(-tt*$))-x*(-k*$))+(k*$*(O=T*I-V*(-k*$)-P*(-tt*$)-x*(-W*$))+I*(B=x*(-tt*$)+(V*I+T*(-k*$))-P*(-W*$)))-tt*$*(ot=P*(-k*$)+(x*I+T*(-W*$))-V*(-tt*$)),pt=k*$*ot+(I*j+tt*$*O)-W*$*B,dt=tt*$*B+(W*$*O+I*ot)-k*$*j,ot=I*O-k*$*B-tt*$*j-W*$*ot,it=(G=!!(0|n[t+16|0]))?i:e,G=G?e:i,o=0|_[it+4>>2],et=0|_[G+4>>2],it=0|_[it+12>>2],$=+p[it>>2],W=+p[it+4>>2],j=+p[it+8>>2],tt=+p[it+16>>2],B=+p[it+20>>2],k=+p[it+24>>2],O=+p[it+32>>2],I=+p[it+36>>2],S=+p[it+40>>2],Y=+p[it+48>>2],J=+p[it+52>>2],X=+p[it+56>>2],it=0|_[G+12>>2],N=+p[it>>2],H=+p[it+16>>2],y=+p[it+32>>2],Z=+p[it+4>>2],U=+p[it+20>>2],g=+p[it+36>>2],R=+p[it+8>>2],w=+p[it+24>>2],v=+p[it+40>>2],z=-+p[it+48>>2],K=-+p[it+52>>2],q=-+p[it+56>>2],At=j*(ct*(nt=dt*(2/(ct*ct+pt*pt+dt*dt+ot*ot)))-ot*(m=pt*(2/(ct*ct+pt*pt+dt*dt+ot*ot))))+(W*(ct*m+ot*nt)+$*(1-(pt*m+dt*nt))),bt=j*(pt*nt+ot*(st=ct*(2/(ct*ct+pt*pt+dt*dt+ot*ot))))+($*(ct*m-ot*nt)+W*(1-(ct*st+dt*nt))),b=$*(ct*nt+ot*m)+W*(pt*nt-ot*st)+j*(1-(ct*st+pt*m)),lt=k*(ct*nt-ot*m)+(B*(ct*m+ot*nt)+tt*(1-(pt*m+dt*nt))),at=k*(pt*nt+ot*st)+(tt*(ct*m-ot*nt)+B*(1-(ct*st+dt*nt))),D=tt*(ct*nt+ot*m)+B*(pt*nt-ot*st)+k*(1-(ct*st+pt*m)),ft=S*(ct*nt-ot*m)+(I*(ct*m+ot*nt)+O*(1-(pt*m+dt*nt))),dt=S*(pt*nt+ot*st)+(O*(ct*m-ot*nt)+I*(1-(ct*st+dt*nt))),m=O*(ct*nt+ot*m)+I*(pt*nt-ot*st)+S*(1-(ct*st+pt*m)),pt=+p[it>>2],st=+p[it+16>>2],ct=+p[it+32>>2],ot=+p[it+4>>2],nt=+p[it+20>>2],_t=+p[it+36>>2],A=+p[it+8>>2],C=+p[it+24>>2],h=+p[it+40>>2],it=0|_[64+(0|_[o>>2])>>2],rt=-+p[et+48>>2],L=-+p[et+52>>2],F=-+p[et+56>>2],p[c+32>>2]=(ct*ft+(pt*At+st*lt))*rt+(_t*ft+(ot*At+nt*lt))*L+(h*ft+(A*At+C*lt))*F,p[c+32+4>>2]=(ct*dt+(pt*bt+st*at))*rt+(_t*dt+(ot*bt+nt*at))*L+(h*dt+(A*bt+C*at))*F,p[c+32+8>>2]=(ct*m+(pt*b+st*D))*rt+(_t*m+(ot*b+nt*D))*L+(h*m+(A*b+C*D))*F,p[c+32+12>>2]=0,rd[127&it](c+48|0,o,c+32|0),F=+p[c+48>>2],D=+p[c+48+4>>2],C=+p[c+48+8>>2],b=+p[et+48>>2],A=+p[et+52>>2],y=Y*N+J*H+X*y+(N*z+H*K+y*q)+(($*N+tt*H+O*y)*F+(W*N+B*H+I*y)*D+(j*N+k*H+S*y)*C)-b*(h=(m=+p[et+56>>2])*(Y*R+J*w+X*v+(R*z+w*K+v*q)+(($*R+tt*w+O*v)*F+(W*R+B*w+I*v)*D+(j*R+k*w+S*v)*C))+(b*(Y*N+J*H+X*y+(N*z+H*K+y*q)+(($*N+tt*H+O*y)*F+(W*N+B*H+I*y)*D+(j*N+k*H+S*y)*C))+A*(Y*Z+J*U+X*g+(Z*z+U*K+g*q)+(($*Z+tt*U+O*g)*F+(W*Z+B*U+I*g)*D+(j*Z+k*U+S*g)*C)))-+p[et+64>>2]),g=Y*Z+J*U+X*g+(Z*z+U*K+g*q)+(($*Z+tt*U+O*g)*F+(W*Z+B*U+I*g)*D+(j*Z+k*U+S*g)*C)-A*h,C=Y*R+J*w+X*v+(R*z+w*K+v*q)+(($*R+tt*w+O*v)*F+(W*R+B*w+I*v)*D+(j*R+k*w+S*v)*C)-m*h,G=0|_[G+12>>2],v=+p[G>>2],S=+p[G+4>>2],w=+p[G+8>>2],k=+p[G+16>>2],R=+p[G+20>>2],j=+p[G+24>>2],D=+p[G+32>>2],I=+p[G+36>>2],B=+p[G+40>>2],W=+p[G+48>>2],F=+p[G+52>>2],O=+p[G+56>>2],G=0|_[t+12>>2],et=h<+p[G+752>>2],_[r+4>>2]=G,et&&(p[c+32>>2]=v*b+S*A+w*m,p[c+32+4>>2]=b*k+A*R+m*j,p[c+32+8>>2]=b*D+A*I+m*B,p[c+32+12>>2]=0,p[c+16>>2]=w*C+(v*y+S*g)+W,p[c+16+4>>2]=y*k+g*R+C*j+F,p[c+16+8>>2]=y*D+g*I+C*B+O,p[c+16+12>>2]=0,sd[15&_[16+(0|_[r>>2])>>2]](r,c+32|0,c+16|0,h)),a=a+1|0,o=0|_[t+20>>2]}while((0|a)<(0|o))}do{if(0|n[t+8|0]&&0|_[748+(0|_[t+12>>2])>>2]&&(M=0|_[r+4>>2],0|_[M+748>>2])){if((0|(o=0|_[M+740>>2]))==(0|(a=0|_[8+(0|_[r+8>>2])>>2]))){E(M,o+4|0,4+(0|_[8+(0|_[r+12>>2])>>2])|0);break}E(M,4+(0|_[8+(0|_[r+12>>2])>>2])|0,a+4|0);break}}while(0);Q=c}else Q=c},function(t,e,i,o,r){e|=0,i|=0,o|=0,r|=0;var s,c,a,b,d,l,A,f,u,m,h,y,g,C,v,S,w,k,R,j,D,I,B,W,F,O,x,T=0;if(c=Q,Q=Q+64|0,s=(T=!!(0|n[8+(t|=0)|0]))?i:e,i=0|_[(e=T?e:i)+4>>2],((0|_[i+4>>2])-21|0)>>>0>=9)Q=c;else if((0|_[4+(0|_[s+4>>2])>>2])>=20)Q=c;else{a=+Bb[15&_[48+(0|_[i>>2])>>2]](i),_[r+4>>2]=_[t+76>>2],_[t+16>>2]=s,_[t+20>>2]=e,_[t+64>>2]=o,p[t+68>>2]=a,_[t+56>>2]=r,T=0|_[e+12>>2],k=+p[T>>2],w=+p[T+16>>2],S=+p[T+32>>2],v=+p[T+4>>2],C=+p[T+20>>2],g=+p[T+36>>2],u=+p[T+8>>2],A=+p[T+24>>2],d=+p[T+40>>2],y=-+p[T+48>>2],h=-+p[T+52>>2],m=-+p[T+56>>2],T=0|_[s+12>>2],x=+p[T>>2],O=+p[T+16>>2],F=+p[T+32>>2],W=+p[T+4>>2],B=+p[T+20>>2],I=+p[T+36>>2],D=+p[T+8>>2],j=+p[T+24>>2],R=+p[T+40>>2],f=+p[T+48>>2],l=+p[T+52>>2],b=+p[T+56>>2],p[c>>2]=k*x+w*O+S*F,p[c+4>>2]=k*W+w*B+S*I,p[c+8>>2]=k*D+w*j+S*R,p[c+12>>2]=0,p[c+16>>2]=v*x+C*O+g*F,p[c+20>>2]=v*W+C*B+g*I,p[c+24>>2]=v*D+C*j+g*R,p[c+28>>2]=0,p[c+32>>2]=u*x+A*O+d*F,p[c+36>>2]=u*W+A*B+d*I,p[c+40>>2]=u*D+A*j+d*R,p[c+44>>2]=0,p[c+48>>2]=k*y+w*h+S*m+(k*f+w*l+S*b),p[c+52>>2]=v*y+C*h+g*m+(v*f+C*l+g*b),p[c+56>>2]=u*y+A*h+d*m+(u*f+A*l+d*b),p[c+60>>2]=0,T=0|_[s+4>>2],cd[127&_[8+(0|_[T>>2])>>2]](T,c,t+24|0,t+40|0),p[t+40>>2]=+p[t+40>>2]+a,p[t+44>>2]=+p[t+44>>2]+a,p[t+48>>2]=+p[t+48>>2]+a,p[t+24>>2]=+p[t+24>>2]-a,p[t+28>>2]=+p[t+28>>2]-a,p[t+32>>2]=+p[t+32>>2]-a,T=0|_[t+76>>2],e=0|_[e+8>>2],_[T+740>>2]=_[s+8>>2],_[T+744>>2]=e,cd[127&_[64+(0|_[i>>2])>>2]](i,t+12|0,t+24|0,t+40|0),e=0|_[r+4>>2];do{if(0|_[e+748>>2]){if((0|(i=0|_[e+740>>2]))==(0|(o=0|_[8+(0|_[r+8>>2])>>2]))){E(e,i+4|0,4+(0|_[8+(0|_[r+12>>2])>>2])|0);break}E(e,4+(0|_[8+(0|_[r+12>>2])>>2])|0,o+4|0);break}}while(0);_[t+16>>2]=0,_[t+20>>2]=0,Q=c}},function(t,e,i,o,r){e|=0,i|=0,o|=0,r|=0;var s,c,a,b=0,d=0;if(s=Q,Q=Q+144|0,b=0|_[12+(t|=0)>>2]){a=0|_[e+4>>2],c=0|_[i+4>>2],_[r+4>>2]=b,p[s+12+128>>2]=0xde0b6b000000000,b=0|_[e+12>>2],_[s+12>>2]=_[b>>2],_[s+12+4>>2]=_[b+4>>2],_[s+12+8>>2]=_[b+8>>2],_[s+12+12>>2]=_[b+12>>2],_[s+12+16>>2]=_[b+16>>2],_[s+12+16+4>>2]=_[b+16+4>>2],_[s+12+16+8>>2]=_[b+16+8>>2],_[s+12+16+12>>2]=_[b+16+12>>2],_[s+12+32>>2]=_[b+32>>2],_[s+12+32+4>>2]=_[b+32+4>>2],_[s+12+32+8>>2]=_[b+32+8>>2],_[s+12+32+12>>2]=_[b+32+12>>2],_[s+12+48>>2]=_[b+48>>2],_[s+12+48+4>>2]=_[b+48+4>>2],_[s+12+48+8>>2]=_[b+48+8>>2],_[s+12+48+12>>2]=_[b+48+12>>2],b=0|_[i+12>>2],_[s+12+64>>2]=_[b>>2],_[s+12+64+4>>2]=_[b+4>>2],_[s+12+64+8>>2]=_[b+8>>2],_[s+12+64+12>>2]=_[b+12>>2],_[s+12+80>>2]=_[b+16>>2],_[s+12+80+4>>2]=_[b+16+4>>2],_[s+12+80+8>>2]=_[b+16+8>>2],_[s+12+80+12>>2]=_[b+16+12>>2],_[s+12+96>>2]=_[b+32>>2],_[s+12+96+4>>2]=_[b+32+4>>2],_[s+12+96+8>>2]=_[b+32+8>>2],_[s+12+96+12>>2]=_[b+32+12>>2],_[s+12+112>>2]=_[b+48>>2],_[s+12+112+4>>2]=_[b+48+4>>2],_[s+12+112+8>>2]=_[b+48+8>>2],_[s+12+112+12>>2]=_[b+48+12>>2],_[s>>2]=10280,_[s+4>>2]=a,_[s+8>>2]=c,bi(s,s+12|0,r,0|_[o+20>>2],0);do{if(0|n[t+8|0]&&(d=0|_[r+4>>2],0|_[d+748>>2])){if((0|(t=0|_[d+740>>2]))==(0|(e=0|_[8+(0|_[r+8>>2])>>2]))){E(d,t+4|0,4+(0|_[8+(0|_[r+12>>2])>>2])|0);break}E(d,4+(0|_[8+(0|_[r+12>>2])>>2])|0,e+4|0);break}}while(0);Q=s}else Q=s},function(t,e,i,o,r){e|=0,i|=0,o|=0,r|=0;var s,c,a,b,d=0,l=0;if(s=Q,Q=Q+160|0,d=0|_[12+(t|=0)>>2]){a=(c=!!(0|n[t+16|0]))?i:e,i=c?e:i,b=0|_[a+4>>2],e=0|_[i+4>>2],_[r+4>>2]=d,d=0|_[d+752>>2],_[s+136>>2]=10300,_[s+136+4>>2]=b,_[s+136+8>>2]=e,_[s+136+12>>2]=d,p[s+128>>2]=0xde0b6b000000000,d=0|_[a+12>>2],_[s>>2]=_[d>>2],_[s+4>>2]=_[d+4>>2],_[s+8>>2]=_[d+8>>2],_[s+12>>2]=_[d+12>>2],_[s+16>>2]=_[d+16>>2],_[s+16+4>>2]=_[d+16+4>>2],_[s+16+8>>2]=_[d+16+8>>2],_[s+16+12>>2]=_[d+16+12>>2],_[s+32>>2]=_[d+32>>2],_[s+32+4>>2]=_[d+32+4>>2],_[s+32+8>>2]=_[d+32+8>>2],_[s+32+12>>2]=_[d+32+12>>2],_[s+48>>2]=_[d+48>>2],_[s+48+4>>2]=_[d+48+4>>2],_[s+48+8>>2]=_[d+48+8>>2],_[s+48+12>>2]=_[d+48+12>>2],d=0|_[i+12>>2],_[s+64>>2]=_[d>>2],_[s+64+4>>2]=_[d+4>>2],_[s+64+8>>2]=_[d+8>>2],_[s+64+12>>2]=_[d+12>>2],_[s+80>>2]=_[d+16>>2],_[s+80+4>>2]=_[d+16+4>>2],_[s+80+8>>2]=_[d+16+8>>2],_[s+80+12>>2]=_[d+16+12>>2],_[s+96>>2]=_[d+32>>2],_[s+96+4>>2]=_[d+32+4>>2],_[s+96+8>>2]=_[d+32+8>>2],_[s+96+12>>2]=_[d+32+12>>2],_[s+112>>2]=_[d+48>>2],_[s+112+4>>2]=_[d+48+4>>2],_[s+112+8>>2]=_[d+48+8>>2],_[s+112+12>>2]=_[d+48+12>>2],Be(s+136|0,s,r,0|_[o+20>>2],c);do{if(0|n[t+8|0]&&(l=0|_[r+4>>2],0|_[l+748>>2])){if((0|(t=0|_[l+740>>2]))==(0|(e=0|_[8+(0|_[r+8>>2])>>2]))){E(l,t+4|0,4+(0|_[8+(0|_[r+12>>2])>>2])|0);break}E(l,4+(0|_[8+(0|_[r+12>>2])>>2])|0,e+4|0);break}}while(0);Q=s}else Q=s},function(t,e,i,o,r){e|=0,i|=0,o|=0,r|=0;var s,c,a,b=0,A=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0,O=0,x=0,T=0,P=0,V=0,M=0,G=0,L=0,N=0,H=0,Z=0,U=0,Y=0,J=0,X=0,z=0,K=0,q=0,$=0,tt=0,et=0,it=0,nt=0,ot=0,_t=0,rt=0,st=0,pt=0,ct=0,at=0,bt=0,dt=0,lt=0,At=0,ft=0,ut=0,mt=0,ht=0,yt=0,gt=0,Ct=0,vt=0;if(a=Q,Q=Q+688|0,(b=0|_[20+(t|=0)>>2])||(b=0|_[t+4>>2],b=0|Hb[63&_[12+(0|_[b>>2])>>2]](b,0|_[e+8>>2],0|_[i+8>>2]),_[t+20>>2]=b,n[t+16|0]=1),_[r+4>>2]=b,s=0|_[e+4>>2],c=0|_[i+4>>2],10==(0|(A=0|_[s+4>>2]))&10==(0|(m=0|_[c+4>>2]))){if(Y=+p[b+752>>2],gt=0|_[s+52>>2],k=+p[s+28+(gt<<2)>>2],U=+p[s+28+((gt+2|0)%3<<2)>>2],vt=0|_[c+52>>2],C=+p[c+28+(vt<<2)>>2],Z=+p[c+28+((vt+2|0)%3<<2)>>2],t=0|_[e+12>>2],e=0|_[i+12>>2],F=+p[t+(gt<<2)>>2],x=+p[t+16+(gt<<2)>>2],O=+p[t+32+(gt<<2)>>2],g=+p[e+(vt<<2)>>2],v=+p[e+16+(vt<<2)>>2],w=+p[e+32+(vt<<2)>>2],V=+p[e+48>>2],L=+p[e+52>>2],H=+p[e+56>>2],D=V-+p[t+48>>2],B=L-+p[t+52>>2],W=H-+p[t+56>>2],0!=(h=1-(F*g+x*v+O*w)*(F*g+x*v+O*w))?(h=(F*D+x*B+O*W-(F*g+x*v+O*w)*(g*D+v*B+w*W))/h)<-k?h=-k:h>k&&(h=k):h=0,(y=(F*g+x*v+O*w)*h-(g*D+v*B+w*W))<-C?(h=(F*g+x*v+O*w)*-C+(F*D+x*B+O*W))<-k?(y=-C,h=-k):h>k?(y=-C,h=k):y=-C:y>C&&((h=C*(F*g+x*v+O*w)+(F*D+x*B+O*W))<-k?(y=C,h=-k):h>k?(y=C,h=k):y=C),k=v*y,w*=y,y=(j=g*y)+(D-F*h),C=k+(B-x*h),!((v=+l(+((h=w+(W-O*h))*h+(y*y+C*C))))-U-Z>Y)){do{if(h*h+(y*y+C*C)<=14210854715202004e-30){if(+d(+O)>.7071067690849304){h=1/+l(+(x*x+O*O)),p[a+280>>2]=0,p[a+280+4>>2]=-O*h,p[a+280+8>>2]=x*h,g=0,y=-O*h,h*=x;break}y=1/+l(+(F*F+x*x)),p[a+280>>2]=-x*y,p[a+280+4>>2]=F*y,p[a+280+8>>2]=0,g=-x*y,y*=F,h=0;break}p[a+280>>2]=y*(-1/v),p[a+280+4>>2]=C*(-1/v),p[a+280+8>>2]=h*(-1/v),p[a+280+12>>2]=0,g=y*(-1/v),y=C*(-1/v),h*=-1/v}while(0);p[a+264>>2]=V+j+Z*g,p[a+264+4>>2]=L+k+Z*y,p[a+264+8>>2]=H+w+Z*h,p[a+264+12>>2]=0}return v-U-Z<Y&&sd[15&_[16+(0|_[r>>2])>>2]](r,a+280|0,a+264|0,v-U-Z),b=0|_[r+4>>2],0|_[b+748>>2]?(0|(A=0|_[b+740>>2]))==(0|(m=0|_[8+(0|_[r+8>>2])>>2]))?(E(b,A+4|0,4+(0|_[8+(0|_[r+12>>2])>>2])|0),void(Q=a)):(E(b,4+(0|_[8+(0|_[r+12>>2])>>2])|0,m+4|0),void(Q=a)):void(Q=a)}if(p[a+128+128>>2]=0xde0b6b000000000,b=0|_[t+8>>2],R=0|_[t+12>>2],_[a+48>>2]=10204,_[a+48+4>>2]=0,_[a+48+8>>2]=1065353216,_[a+48+12>>2]=0,p[a+48+16>>2]=0,_[a+48+20>>2]=R,_[a+48+24>>2]=b,_[a+48+28>>2]=s,_[a+48+32>>2]=c,_[a+48+36>>2]=A,_[a+48+40>>2]=m,yt=+Bb[15&_[48+(0|_[s>>2])>>2]](s),p[a+48+44>>2]=yt,yt=+Bb[15&_[48+(0|_[c>>2])>>2]](c),p[a+48+48>>2]=yt,n[a+48+52|0]=0,_[a+48+60>>2]=-1,_[a+48+72>>2]=1,_[a+48+76>>2]=1,_[a+48+28>>2]=s,_[a+48+32>>2]=c,Ct=(yt=+Bb[15&_[48+(0|_[s>>2])>>2]](s))+(Ct=+Bb[15&_[48+(0|_[c>>2])>>2]](c))+ +p[752+(0|_[t+20>>2])>>2],p[a+128+128>>2]=Ct*Ct,b=0|_[e+12>>2],_[a+128>>2]=_[b>>2],_[a+128+4>>2]=_[b+4>>2],_[a+128+8>>2]=_[b+8>>2],_[a+128+12>>2]=_[b+12>>2],_[(m=a+128+16|0)>>2]=_[b+16>>2],_[m+4>>2]=_[b+16+4>>2],_[m+8>>2]=_[b+16+8>>2],_[m+12>>2]=_[b+16+12>>2],_[(R=a+128+32|0)>>2]=_[b+32>>2],_[R+4>>2]=_[b+32+4>>2],_[R+8>>2]=_[b+32+8>>2],_[R+12>>2]=_[b+32+12>>2],_[(I=a+128+48|0)>>2]=_[b+48>>2],_[I+4>>2]=_[b+48+4>>2],_[I+8>>2]=_[b+48+8>>2],_[I+12>>2]=_[b+48+12>>2],b=0|_[i+12>>2],_[(T=a+128+64|0)>>2]=_[b>>2],_[T+4>>2]=_[b+4>>2],_[T+8>>2]=_[b+8>>2],_[T+12>>2]=_[b+12>>2],_[(P=a+128+80|0)>>2]=_[b+16>>2],_[P+4>>2]=_[b+16+4>>2],_[P+8>>2]=_[b+16+8>>2],_[P+12>>2]=_[b+16+12>>2],_[(M=a+128+96|0)>>2]=_[b+32>>2],_[M+4>>2]=_[b+32+4>>2],_[M+8>>2]=_[b+32+8>>2],_[M+12>>2]=_[b+32+12>>2],_[(G=a+128+112|0)>>2]=_[b+48>>2],_[G+4>>2]=_[b+48+4>>2],_[G+8>>2]=_[b+48+8>>2],_[G+12>>2]=_[b+48+12>>2],(0|(b=0|_[s+4>>2]))<7&&(0|(S=0|_[c+4>>2]))<7){_[a+40>>2]=6976,b?(y=+Bb[15&_[48+(0|_[s>>2])>>2]](s),b=0|_[c+4>>2]):(b=S,y=0),h=b?+Bb[15&_[48+(0|_[c>>2])>>2]](c):0,_[a>>2]=7004,_[a+4>>2]=r,p[a+24>>2]=y,p[a+28>>2]=h,n[a+36|0]=0,z=0|_[s+52>>2];t:do{if(0|z){ut=0|_[c+52>>2];do{if(ut){Ct=+p[752+(0|_[t+20>>2])>>2];e:do{if(0|n[o+24|0]){T=0|_[e+12>>2],P=0|_[i+12>>2],_[6613]=1+(0|_[6613]),bt=+p[z+64>>2],dt=+p[z+68>>2],v=+p[T+4>>2],lt=+p[z+72>>2],w=+p[T+8>>2],j=+p[T+16>>2],B=+p[T+20>>2],F=+p[T+24>>2],O=+p[T+32>>2],W=+p[T+36>>2],D=+p[T+40>>2],At=+p[ut+64>>2],ft=+p[ut+68>>2],yt=+p[ut+72>>2],mt=bt*+p[T>>2]+dt*v+lt*w+ +p[T+48>>2]-(At*+p[P>>2]+ft*+p[P+4>>2]+yt*+p[P+8>>2]+ +p[P+48>>2]),ht=bt*j+dt*B+lt*F+ +p[T+52>>2]-(At*+p[P+16>>2]+ft*+p[P+20>>2]+yt*+p[P+24>>2]+ +p[P+52>>2]),yt=bt*O+dt*W+lt*D+ +p[T+56>>2]-(At*+p[P+32>>2]+ft*+p[P+36>>2]+yt*+p[P+40>>2]+ +p[P+56>>2]),m=0|_[z+28>>2];i:do{if((0|m)>0){for(h=34028234663852886e22,b=0,k=0,y=0,g=0,C=0,x=j;;){if(o=0|_[z+36>>2],lt=+p[o+(36*b|0)+20>>2],At=+p[o+(36*b|0)+24>>2],ft=+p[o+(36*b|0)+28>>2],j=lt*+p[T>>2]+At*v+ft*w,w=lt*x+At*B+ft*F,v=lt*O+At*W+ft*D,p[a+296>>2]=j,p[a+296+4>>2]=w,p[a+296+8>>2]=v,p[a+296+12>>2]=0,j*mt+w*ht+v*yt<0?(p[a+296>>2]=-j,p[a+296+4>>2]=-w,p[a+296+8>>2]=-v,F=-j,w=-w,v=-v):F=j,_[6611]=1+(0|_[6611]),0|fe(T,P,mt,ht,yt,F,w,v,z,ut,h)){_[6612]=1+(0|_[6612]),xt(z,T,a+296|0,a+624|0,a+384|0,a+360|0,a+344|0),xt(ut,P,a+296|0,a+380|0,a+376|0,a+328|0,a+312|0),j=+p[a+384>>2],D=+p[a+380>>2];do{if(j<D)A=0;else{if((B=+p[a+376>>2])<(W=+p[a+624>>2])){A=0;break}A=1,k=j-D<B-W?j-D:B-W}}while(0);if(!A)break;k<h&&(h=k,y=F,g=w,C=v)}if((0|(b=b+1|0))>=(0|m))break i;v=+p[T+4>>2],w=+p[T+8>>2],x=+p[T+16>>2],B=+p[T+20>>2],F=+p[T+24>>2],O=+p[T+32>>2],W=+p[T+36>>2],D=+p[T+40>>2]}break e}h=34028234663852886e22,y=0,g=0,C=0}while(0);m=0|_[ut+28>>2];i:do{if((0|m)>0){for(A=0,j=0;;){if(o=0|_[ut+36>>2],At=+p[o+(36*A|0)+20>>2],ft=+p[o+(36*A|0)+24>>2],k=+p[o+(36*A|0)+28>>2],v=At*+p[P>>2]+ft*+p[P+4>>2]+k*+p[P+8>>2],w=At*+p[P+16>>2]+ft*+p[P+20>>2]+k*+p[P+24>>2],k=At*+p[P+32>>2]+ft*+p[P+36>>2]+k*+p[P+40>>2],p[a+296>>2]=v,p[a+296+4>>2]=w,p[a+296+8>>2]=k,p[a+296+12>>2]=0,v*mt+w*ht+k*yt<0&&(p[a+296>>2]=-v,p[a+296+4>>2]=-w,p[a+296+8>>2]=-k,v=-v,w=-w,k=-k),_[6611]=1+(0|_[6611]),0|fe(T,P,mt,ht,yt,v,w,k,z,ut,h)){_[6612]=1+(0|_[6612]),xt(z,T,a+296|0,a+624|0,a+384|0,a+360|0,a+344|0),xt(ut,P,a+296|0,a+380|0,a+376|0,a+328|0,a+312|0),D=+p[a+384>>2],B=+p[a+380>>2];do{if(D<B)b=0;else{if((W=+p[a+376>>2])<(F=+p[a+624>>2])){b=0;break}b=1,j=D-B<W-F?D-B:W-F}}while(0);if(!b)break;j<h&&(h=j,y=v,g=w,C=k)}if((0|(A=A+1|0))>=(0|m))break i}break e}}while(0);m=0|_[z+48>>2];i:do{if((0|m)>0){I=0,A=-1,b=-1,k=0,W=0,K=0,q=0,F=0,O=0,Y=0,U=0,w=0,B=0,Z=0,v=0,D=0,L=0,H=0,$=0,j=0,x=0,V=0,S=0|_[ut+48>>2];n:for(;;){if(o=0|_[z+56>>2],bt=+p[o+(I<<4)>>2],dt=+p[o+(I<<4)+4>>2],ft=+p[o+(I<<4)+8>>2],lt=bt*+p[T>>2]+dt*+p[T+4>>2]+ft*+p[T+8>>2],At=bt*+p[T+16>>2]+dt*+p[T+20>>2]+ft*+p[T+24>>2],ft=bt*+p[T+32>>2]+dt*+p[T+36>>2]+ft*+p[T+40>>2],(0|S)>0){for(R=0,bt=k,dt=y,et=W,_t=F,rt=O,at=g,ct=C,pt=$;;){o=0|_[ut+56>>2],nt=+p[o+(R<<4)>>2],st=+p[o+(R<<4)+4>>2],ot=+p[o+(R<<4)+8>>2],$=nt*+p[P>>2]+st*+p[P+4>>2]+ot*+p[P+8>>2],tt=nt*+p[P+16>>2]+st*+p[P+20>>2]+ot*+p[P+24>>2],ot=nt*+p[P+32>>2]+st*+p[P+36>>2]+ot*+p[P+40>>2],p[a+296>>2]=At*ot-ft*tt,p[a+296+4>>2]=ft*$-lt*ot,p[a+296+8>>2]=lt*tt-At*$,p[a+296+12>>2]=0;do{if(+d(+(At*ot-ft*tt))>1e-6)gt=76;else{if(+d(+(ft*$-lt*ot))>1e-6){gt=76;break}+d(+(lt*tt-At*$))>1e-6?gt=76:(k=bt,y=dt,it=K,nt=q,st=Y,g=at,C=ct,$=pt)}}while(0);do{if(76==(0|gt)){if(gt=0,y=(At*ot-ft*tt)*(C=1/+l(+((lt*tt-At*$)*(lt*tt-At*$)+((At*ot-ft*tt)*(At*ot-ft*tt)+(ft*$-lt*ot)*(ft*$-lt*ot))))),p[a+296>>2]=y,g=(ft*$-lt*ot)*C,p[a+296+4>>2]=g,C*=lt*tt-At*$,p[a+296+8>>2]=C,y*mt+g*ht+yt*C<0&&(p[a+296>>2]=-y,p[a+296+4>>2]=-g,p[a+296+8>>2]=-C,y=-y,g=-g,C=-C),_[6611]=1+(0|_[6611]),!(0|fe(T,P,mt,ht,yt,y,g,C,z,ut,h))){k=bt,y=dt,it=K,nt=q,st=Y,g=at,C=ct,$=pt;break}_[6612]=1+(0|_[6612]),xt(z,T,a+296|0,a+624|0,a+384|0,a+360|0,a+344|0),xt(ut,P,a+296|0,a+380|0,a+376|0,a+328|0,a+312|0),k=+p[a+384>>2],W=+p[a+380>>2];do{if(!(k<W)){if((F=+p[a+376>>2])<(O=+p[a+624>>2])){m=0,k=bt,F=et,W=_t,O=rt;break}if(k-W<F-O){m=1,k-=W,F=+p[a+328>>2],K=+p[a+328+4>>2],q=+p[a+328+8>>2],W=+p[a+344>>2],O=+p[a+344+4>>2],Y=+p[a+344+8>>2];break}m=1,k=F-O,F=+p[a+312>>2],K=+p[a+312+4>>2],q=+p[a+312+8>>2],W=+p[a+360>>2],O=+p[a+360+4>>2],Y=+p[a+360+8>>2];break}m=0,k=bt,F=et,W=_t,O=rt}while(0);if(!m)break n;if(!(k<h)){y=dt,et=F,it=K,nt=q,_t=W,rt=O,st=Y,g=at,C=ct,$=pt;break}h=k,A=R,b=I,et=F,it=K,nt=q,_t=W,rt=O,st=Y,U=F,w=W,B=$,Z=lt,v=O,D=tt,L=At,H=K,$=Y,j=ot,x=ft,V=q}}while(0);if((0|(R=R+1|0))>=(0|(S=0|_[ut+48>>2])))break;bt=k,dt=y,K=it,q=nt,Y=st,at=g,ct=C,pt=$}W=et,K=it,q=nt,F=_t,O=rt,Y=st,m=0|_[z+48>>2]}if((0|(I=I+1|0))>=(0|m)){h=$;break i}}break e}A=-1,b=-1,U=0,w=0,B=0,Z=0,v=0,D=0,L=0,H=0,h=0,j=0,x=0,V=0}while(0);if((A|b|0)>-1){W=U-w,w=B*Z+D*L+j*x,k=W*Z+(F=H-v)*L+(O=V-h)*x,h=W*B+F*D+O*j;do{if(1-w*w==0)v=0;else{if((k-h*w)/(1-w*w)<-1.0000000150474662e30){v=-1.0000000150474662e30;break}if(!((k-h*w)/(1-w*w)>1.0000000150474662e30)){v=(k-h*w)/(1-w*w);break}v=1.0000000150474662e30}}while(0);h=w*v-h;do{if(h<-1.0000000150474662e30){if(k-1.0000000150474662e30*w<-1.0000000150474662e30){h=-1.0000000150474662e30,v=-1.0000000150474662e30;break}if(!(k-1.0000000150474662e30*w>1.0000000150474662e30)){h=-1.0000000150474662e30,v=k-1.0000000150474662e30*w;break}h=-1.0000000150474662e30,v=1.0000000150474662e30}else{if(!(h>1.0000000150474662e30))break;if(k+1.0000000150474662e30*w<-1.0000000150474662e30){h=1.0000000150474662e30,v=-1.0000000150474662e30;break}if(!(k+1.0000000150474662e30*w>1.0000000150474662e30)){h=1.0000000150474662e30,v=k+1.0000000150474662e30*w;break}h=1.0000000150474662e30,v=1.0000000150474662e30}}while(0);k=(B*=h)+(W-Z*v),w=(D*=h)+(F-L*v),h=(j*=h)+(O-x*v),p[a+624>>2]=k,p[a+624+4>>2]=w,p[a+624+8>>2]=h,p[a+624+12>>2]=0,h*h+(k*k+w*w)>1.1920928955078125e-7&&(v=+l(+(h*h+(k*k+w*w))),p[a+624>>2]=k*(1/v),p[a+624+4>>2]=w*(1/v),p[a+624+8>>2]=h*(1/v),k*(1/v)*mt+w*(1/v)*ht+h*(1/v)*yt<0&&(p[a+624>>2]=1/v*-k,p[a+624+4>>2]=1/v*-w,p[a+624+8>>2]=1/v*-h),p[a+384>>2]=U+B,p[a+384+4>>2]=H+D,p[a+384+8>>2]=V+j,p[a+384+12>>2]=0,sd[15&_[16+(0|_[r>>2])>>2]](r,a+624|0,a+384|0,-v))}mt*y+ht*g+yt*C<0?(h=-1.0000000150474662e30,y=-y,g=-g,C=-C,b=0,gt=112):(h=-1.0000000150474662e30,b=0,gt=112)}else Si(a+48|0,a+128|0,a,0|_[o+20>>2],0),(h=+p[a+32>>2])<0&!!(0|n[a+36|0])&&(y=+p[a+8>>2],g=+p[a+12>>2],C=+p[a+16>>2],b=0|_[a+20>>2],gt=112)}while(0);if(112==(0|gt)){if(z=0|_[s+52>>2],o=0|_[c+52>>2],X=0|_[e+12>>2],J=0|_[i+12>>2],H=h-Ct,L=y*(x=1/+l(+(y*y+g*g+C*C))),V=g*x,x*=C,p[a+624>>2]=L,p[a+624+4>>2]=V,p[a+624+8>>2]=x,_[a+624+12>>2]=b,m=0|_[o+28>>2],R=0|_[o+36>>2],(0|m)>0)for(y=+p[J>>2],g=+p[J+4>>2],C=+p[J+8>>2],v=+p[J+16>>2],w=+p[J+20>>2],k=+p[J+24>>2],j=+p[J+32>>2],D=+p[J+36>>2],B=+p[J+40>>2],h=-34028234663852886e22,A=0,b=-1;;){if(b=(S=L*((W=+p[R+(36*A|0)+20>>2])*y+(F=+p[R+(36*A|0)+24>>2])*g+(O=+p[R+(36*A|0)+28>>2])*C)+V*(W*v+F*w+O*k)+x*(W*j+F*D+O*B)>h)?A:b,(0|(A=A+1|0))==(0|m)){P=b;break}h=S?L*(W*y+F*g+O*C)+V*(W*v+F*w+O*k)+x*(W*j+F*D+O*B):h}else P=-1;n[a+384+16|0]=1,_[(N=a+384+12|0)>>2]=0,_[(M=a+384+4|0)>>2]=0,_[a+384+8>>2]=0,G=0|_[R+(36*P|0)+4>>2];e:do{if((0|G)>0)for(T=R+(36*P|0)+12|0,b=0,A=0,m=0;;){if(e=0|_[(0|_[T>>2])+(b<<2)>>2],i=0|_[o+16>>2],ht=+p[i+(e<<4)>>2],yt=+p[i+(e<<4)+4>>2],g=+p[i+(e<<4)+8>>2],h=ht*+p[J>>2]+yt*+p[J+4>>2]+g*+p[J+8>>2]+ +p[J+48>>2],y=ht*+p[J+16>>2]+yt*+p[J+20>>2]+g*+p[J+24>>2]+ +p[J+52>>2],g=ht*+p[J+32>>2]+yt*+p[J+36>>2]+g*+p[J+40>>2]+ +p[J+56>>2],(0|A)==(0|m))if((0|m)<(0|(I=0|m?m<<1:1))){if(I?(_[6630]=1+(0|_[6630]),(A=0|di(16+(I<<4|3)|0))?(_[(A+4+15&-16)-4>>2]=A,A=A+4+15&-16):A=0,R=A,A=0|_[M>>2]):(R=0,A=m),S=0|_[N>>2],(0|A)<=0)S&&(gt=128);else{m=0;do{i=S+(m<<4)|0,_[(e=R+(m<<4)|0)>>2]=_[i>>2],_[e+4>>2]=_[i+4>>2],_[e+8>>2]=_[i+8>>2],_[e+12>>2]=_[i+12>>2],m=m+1|0}while((0|m)!=(0|A));gt=128}128==(0|gt)&&(gt=0,0|n[a+384+16|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[S+-4>>2]),A=0|_[M>>2]),_[N>>2]=0),n[a+384+16|0]=1,_[N>>2]=R,_[a+384+8>>2]=I}else A=m;if(e=0|_[N>>2],p[e+(A<<4)>>2]=h,p[e+(A<<4)+4>>2]=y,p[e+(A<<4)+8>>2]=g,p[e+(A<<4)+12>>2]=0,A=1+(0|_[M>>2])|0,_[M>>2]=A,(0|(b=b+1|0))>=(0|G))break e;m=0|_[a+384+8>>2]}}while(0);(0|P)>-1&&vi(a+624|0,z,X,a+384|0,H,Ct,r),0|(b=0|_[N>>2])&&(0|n[a+384+16|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[b+-4>>2])),_[N>>2]=0)}if(0|n[t+16|0]&&(vt=0|_[r+4>>2],0|_[vt+748>>2])){if((0|(b=0|_[vt+740>>2]))==(0|(A=0|_[8+(0|_[r+8>>2])>>2]))){E(vt,b+4|0,4+(0|_[8+(0|_[r+12>>2])>>2])|0);break}E(vt,4+(0|_[8+(0|_[r+12>>2])>>2])|0,A+4|0);break}}else{if(1!=(0|_[c+4>>2]))break t;if(n[0|(I=a+624+16|0)]=1,_[(T=a+624+12|0)>>2]=0,_[(R=a+624+4|0)>>2]=0,_[(S=a+624+8|0)>>2]=0,b=0|_[i+12>>2],yt=+p[c+56>>2],Ct=+p[c+56+4>>2],y=+p[c+56+8>>2],g=yt*+p[b>>2]+Ct*+p[b+4>>2]+y*+p[b+8>>2]+ +p[b+48>>2],h=yt*+p[b+16>>2]+Ct*+p[b+20>>2]+y*+p[b+24>>2]+ +p[b+52>>2],y=yt*+p[b+32>>2]+Ct*+p[b+36>>2]+y*+p[b+40>>2]+ +p[b+56>>2],_[6630]=1+(0|_[6630]),(b=0|di(35))?(_[(b+4+15&-16)-4>>2]=b,A=b+4+15&-16):A=0,(b=0|_[T>>2])?(_[6631]=1+(0|_[6631]),Li(0|_[b+-4>>2]),b=0|_[R>>2],_[T>>2]=0):b=0,n[0|I]=1,_[T>>2]=A,_[S>>2]=1,p[A+(b<<4)>>2]=g,p[A+(b<<4)+4>>2]=h,p[A+(b<<4)+8>>2]=y,p[A+(b<<4)+12>>2]=0,b=1+(0|_[R>>2])|0,_[R>>2]=b,vt=0|_[i+12>>2],yt=+p[c+56+16>>2],Ct=+p[c+56+20>>2],g=+p[c+56+24>>2],h=yt*+p[vt>>2]+Ct*+p[vt+4>>2]+g*+p[vt+8>>2]+ +p[vt+48>>2],y=yt*+p[vt+16>>2]+Ct*+p[vt+20>>2]+g*+p[vt+24>>2]+ +p[vt+52>>2],g=yt*+p[vt+32>>2]+Ct*+p[vt+36>>2]+g*+p[vt+40>>2]+ +p[vt+56>>2],(0|b)==(0|_[S>>2])&&(0|b)<(0|(N=0|b?b<<1:1))){if(N?(_[6630]=1+(0|_[6630]),(b=0|di(16+(N<<4|3)|0))?(_[(b+4+15&-16)-4>>2]=b,b=b+4+15&-16):b=0,m=b,b=0|_[R>>2]):m=0,(0|b)>0){A=0;do{vt=m+(A<<4)|0,gt=(0|_[T>>2])+(A<<4)|0,_[vt>>2]=_[gt>>2],_[vt+4>>2]=_[gt+4>>2],_[vt+8>>2]=_[gt+8>>2],_[vt+12>>2]=_[gt+12>>2],A=A+1|0}while((0|A)!=(0|b))}0|(b=0|_[T>>2])&&(0|n[0|I]&&(_[6631]=1+(0|_[6631]),Li(0|_[b+-4>>2])),_[T>>2]=0),n[0|I]=1,_[T>>2]=m,_[S>>2]=N,b=0|_[R>>2]}if(vt=0|_[T>>2],p[vt+(b<<4)>>2]=h,p[vt+(b<<4)+4>>2]=y,p[vt+(b<<4)+8>>2]=g,p[vt+(b<<4)+12>>2]=0,b=1+(0|_[R>>2])|0,_[R>>2]=b,vt=0|_[i+12>>2],yt=+p[c+56+32>>2],Ct=+p[c+56+36>>2],g=+p[c+56+40>>2],h=yt*+p[vt>>2]+Ct*+p[vt+4>>2]+g*+p[vt+8>>2]+ +p[vt+48>>2],y=yt*+p[vt+16>>2]+Ct*+p[vt+20>>2]+g*+p[vt+24>>2]+ +p[vt+52>>2],g=yt*+p[vt+32>>2]+Ct*+p[vt+36>>2]+g*+p[vt+40>>2]+ +p[vt+56>>2],(0|b)==(0|_[S>>2])&&(0|b)<(0|(J=0|b?b<<1:1))){if(J?(_[6630]=1+(0|_[6630]),(b=0|di(16+(J<<4|3)|0))?(_[(b+4+15&-16)-4>>2]=b,b=b+4+15&-16):b=0,m=b,b=0|_[R>>2]):m=0,(0|b)>0){A=0;do{vt=m+(A<<4)|0,i=(0|_[T>>2])+(A<<4)|0,_[vt>>2]=_[i>>2],_[vt+4>>2]=_[i+4>>2],_[vt+8>>2]=_[i+8>>2],_[vt+12>>2]=_[i+12>>2],A=A+1|0}while((0|A)!=(0|b))}0|(b=0|_[T>>2])&&(0|n[0|I]&&(_[6631]=1+(0|_[6631]),Li(0|_[b+-4>>2])),_[T>>2]=0),n[0|I]=1,_[T>>2]=m,_[S>>2]=J,b=0|_[R>>2]}vt=0|_[T>>2],p[vt+(b<<4)>>2]=h,p[vt+(b<<4)+4>>2]=y,p[vt+(b<<4)+8>>2]=g,p[vt+(b<<4)+12>>2]=0,_[R>>2]=1+(0|_[R>>2]),C=+p[752+(0|_[t+20>>2])>>2],Si(a+48|0,a+128|0,a+40|0,0|_[o+20>>2],0),(h=+p[a+48+4>>2])*h+(y=+p[a+48+8>>2])*y+(g=+p[a+48+12>>2])*g>1.1920928955078125e-7&&(yt=1/(h*h+y*y+g*g),p[a+384>>2]=h*yt,p[a+384+4>>2]=y*yt,p[a+384+8>>2]=g*yt,p[a+384+12>>2]=0,Ct=(yt=+p[a+48+56>>2])-(Ct=+Bb[15&_[48+(0|_[s>>2])>>2]](s))-+Bb[15&_[48+(0|_[c>>2])>>2]](c),vi(a+384|0,0|_[s+52>>2],0|_[e+12>>2],a+624|0,Ct-C,C,r));do{if(0|n[t+16|0]&&(X=0|_[r+4>>2],0|_[X+748>>2])){if((0|(b=0|_[X+740>>2]))==(0|(A=0|_[8+(0|_[r+8>>2])>>2]))){E(X,b+4|0,4+(0|_[8+(0|_[r+12>>2])>>2])|0);break}E(X,4+(0|_[8+(0|_[r+12>>2])>>2])|0,A+4|0);break}}while(0);0|(b=0|_[T>>2])&&(0|n[0|I]&&(_[6631]=1+(0|_[6631]),Li(0|_[b+-4>>2])),_[T>>2]=0)}}while(0);return void(Q=a)}}while(0)}if(Si(a+48|0,a+128|0,r,0|_[o+20>>2],0),0|_[t+28>>2]&&(0|_[748+(0|_[r+4>>2])>>2])<(0|_[t+32>>2])&&(x=+p[a+48+4>>2])*x+(V=+p[a+48+8>>2])*V+(L=+p[a+48+12>>2])*L>1.1920928955078125e-7&&(+d(+L*(O=1/(x*x+V*V+L*L)))>.7071067690849304?(y=0,C=V*O*(g=1/+l(+(L*O*(L*O)+V*O*(V*O)))),g*=-L*O):(y=-V*O*(g=1/+l(+(x*O*(x*O)+V*O*(V*O)))),C=0,g*=x*O),h=.019999999552965164/((F=+Bb[15&_[16+(0|_[s>>2])>>2]](s))<(B=+Bb[15&_[16+(0|_[c>>2])>>2]](c))?F:B),F<B?(_[a+624>>2]=_[a+128>>2],_[a+624+4>>2]=_[a+128+4>>2],_[a+624+8>>2]=_[a+128+8>>2],_[a+624+12>>2]=_[a+128+12>>2],_[a+624+16>>2]=_[m>>2],_[a+624+16+4>>2]=_[m+4>>2],_[a+624+16+8>>2]=_[m+8>>2],_[a+624+16+12>>2]=_[m+12>>2],_[a+624+32>>2]=_[R>>2],_[a+624+32+4>>2]=_[R+4>>2],_[a+624+32+8>>2]=_[R+8>>2],_[a+624+32+12>>2]=_[R+12>>2],_[a+624+48>>2]=_[I>>2],_[a+624+48+4>>2]=_[I+4>>2],_[a+624+48+8>>2]=_[I+8>>2],_[a+624+48+12>>2]=_[I+12>>2]):(_[a+624>>2]=_[T>>2],_[a+624+4>>2]=_[T+4>>2],_[a+624+8>>2]=_[T+8>>2],_[a+624+12>>2]=_[T+12>>2],_[a+624+16>>2]=_[P>>2],_[a+624+16+4>>2]=_[P+4>>2],_[a+624+16+8>>2]=_[P+8>>2],_[a+624+16+12>>2]=_[P+12>>2],_[a+624+32>>2]=_[M>>2],_[a+624+32+4>>2]=_[M+4>>2],_[a+624+32+8>>2]=_[M+8>>2],_[a+624+32+12>>2]=_[M+12>>2],_[a+624+48>>2]=_[G>>2],_[a+624+48+4>>2]=_[G+4>>2],_[a+624+48+8>>2]=_[G+8>>2],_[a+624+48+12>>2]=_[G+12>>2]),(0|(b=0|_[t+28>>2]))>0)){v=+l(+(W=y*y+g*g+C*C)),D=y*(v=+u(+(w=.5*(h>.39269909262657166?.39269909262657166:h)))/v),j=g*v,v*=C,w=+f(+w),k=+l(+(L*O*(L*O)+(x*O*(x*O)+V*O*(V*O)))),A=0;do{W>1.1920928955078125e-7&&(h=x*O*(g=+u(+(C=6.2831854820251465/+(0|b)*+(0|A)*.5))/k),y=V*O*g,g*=L*O,C=+f(+C),F<B?(mt=(ft=g*(D*-g+(j*C+w*-y)-v*-h)+(h*(w*C-D*-h-j*-y-v*-g)+C*(v*-y+(D*C+w*-h)-j*-g))-y*(j*-h+(v*C+w*-g)-D*-y))*(2/((lt=C*(w*C-D*-h-j*-y-v*-g)-h*(v*-y+(D*C+w*-h)-j*-g)-y*(D*-g+(j*C+w*-y)-v*-h)-g*(j*-h+(v*C+w*-g)-D*-y))*lt+((ot=y*(v*-y+(D*C+w*-h)-j*-g)+(g*(w*C-D*-h-j*-y-v*-g)+C*(j*-h+(v*C+w*-g)-D*-y))-h*(D*-g+(j*C+w*-y)-v*-h))*ot+(ft*ft+(ht=h*(j*-h+(v*C+w*-g)-D*-y)+(C*(D*-g+(j*C+w*-y)-v*-h)+y*(w*C-D*-h-j*-y-v*-g))-g*(v*-y+(D*C+w*-h)-j*-g))*ht)))),yt=ht*(2/(lt*lt+(ot*ot+(ft*ft+ht*ht)))),dt=ot*(2/(lt*lt+(ot*ot+(ft*ft+ht*ht)))),vt=0|_[e+12>>2],_t=+p[vt>>2],rt=+p[vt+16>>2],st=+p[vt+32>>2],pt=+p[vt+4>>2],ct=+p[vt+20>>2],at=+p[vt+36>>2],bt=+p[vt+8>>2],At=+p[vt+24>>2],Ct=+p[vt+40>>2],p[a+128>>2]=(1-(ht*yt+ot*dt))*_t+(ft*yt-lt*dt)*rt+(ft*dt+lt*yt)*st,p[a+128+4>>2]=(1-(ht*yt+ot*dt))*pt+(ft*yt-lt*dt)*ct+(ft*dt+lt*yt)*at,p[a+128+8>>2]=(1-(ht*yt+ot*dt))*bt+(ft*yt-lt*dt)*At+(ft*dt+lt*yt)*Ct,p[a+128+12>>2]=0,p[a+128+16>>2]=(ft*yt+lt*dt)*_t+(1-(ft*mt+ot*dt))*rt+(ht*dt-lt*mt)*st,p[a+128+20>>2]=(ft*yt+lt*dt)*pt+(1-(ft*mt+ot*dt))*ct+(ht*dt-lt*mt)*at,p[a+128+24>>2]=(ft*yt+lt*dt)*bt+(1-(ft*mt+ot*dt))*At+(ht*dt-lt*mt)*Ct,p[a+128+28>>2]=0,p[a+128+32>>2]=(ft*dt-lt*yt)*_t+(ht*dt+lt*mt)*rt+(1-(ft*mt+ht*yt))*st,p[a+128+36>>2]=(ft*dt-lt*yt)*pt+(ht*dt+lt*mt)*ct+(1-(ft*mt+ht*yt))*at,p[a+128+40>>2]=(ft*dt-lt*yt)*bt+(ht*dt+lt*mt)*At+(1-(ft*mt+ht*yt))*Ct,p[a+128+44>>2]=0,vt=0|_[i+12>>2],_[T>>2]=_[vt>>2],_[T+4>>2]=_[vt+4>>2],_[T+8>>2]=_[vt+8>>2],_[T+12>>2]=_[vt+12>>2],_[P>>2]=_[vt+16>>2],_[P+4>>2]=_[vt+16+4>>2],_[P+8>>2]=_[vt+16+8>>2],_[P+12>>2]=_[vt+16+12>>2],_[M>>2]=_[vt+32>>2],_[M+4>>2]=_[vt+32+4>>2],_[M+8>>2]=_[vt+32+8>>2],_[M+12>>2]=_[vt+32+12>>2],_[G>>2]=_[vt+48>>2],_[G+4>>2]=_[vt+48+4>>2],_[G+8>>2]=_[vt+48+8>>2],_[G+12>>2]=_[vt+48+12>>2]):(vt=0|_[e+12>>2],_[a+128>>2]=_[vt>>2],_[a+128+4>>2]=_[vt+4>>2],_[a+128+8>>2]=_[vt+8>>2],_[a+128+12>>2]=_[vt+12>>2],_[m>>2]=_[vt+16>>2],_[m+4>>2]=_[vt+16+4>>2],_[m+8>>2]=_[vt+16+8>>2],_[m+12>>2]=_[vt+16+12>>2],_[R>>2]=_[vt+32>>2],_[R+4>>2]=_[vt+32+4>>2],_[R+8>>2]=_[vt+32+8>>2],_[R+12>>2]=_[vt+32+12>>2],_[I>>2]=_[vt+48>>2],_[I+4>>2]=_[vt+48+4>>2],_[I+8>>2]=_[vt+48+8>>2],_[I+12>>2]=_[vt+48+12>>2],mt=(ft=g*(D*-g+(j*C+w*-y)-v*-h)+(h*(w*C-D*-h-j*-y-v*-g)+C*(v*-y+(D*C+w*-h)-j*-g))-y*(j*-h+(v*C+w*-g)-D*-y))*(2/((lt=C*(w*C-D*-h-j*-y-v*-g)-h*(v*-y+(D*C+w*-h)-j*-g)-y*(D*-g+(j*C+w*-y)-v*-h)-g*(j*-h+(v*C+w*-g)-D*-y))*lt+((ot=y*(v*-y+(D*C+w*-h)-j*-g)+(g*(w*C-D*-h-j*-y-v*-g)+C*(j*-h+(v*C+w*-g)-D*-y))-h*(D*-g+(j*C+w*-y)-v*-h))*ot+(ft*ft+(ht=h*(j*-h+(v*C+w*-g)-D*-y)+(C*(D*-g+(j*C+w*-y)-v*-h)+y*(w*C-D*-h-j*-y-v*-g))-g*(v*-y+(D*C+w*-h)-j*-g))*ht)))),yt=ht*(2/(lt*lt+(ot*ot+(ft*ft+ht*ht)))),dt=ot*(2/(lt*lt+(ot*ot+(ft*ft+ht*ht)))),vt=0|_[i+12>>2],_t=+p[vt>>2],rt=+p[vt+16>>2],st=+p[vt+32>>2],pt=+p[vt+4>>2],ct=+p[vt+20>>2],at=+p[vt+36>>2],bt=+p[vt+8>>2],At=+p[vt+24>>2],Ct=+p[vt+40>>2],p[a+128+64>>2]=(1-(ht*yt+ot*dt))*_t+(ft*yt-lt*dt)*rt+(ft*dt+lt*yt)*st,p[a+128+68>>2]=(1-(ht*yt+ot*dt))*pt+(ft*yt-lt*dt)*ct+(ft*dt+lt*yt)*at,p[a+128+72>>2]=(1-(ht*yt+ot*dt))*bt+(ft*yt-lt*dt)*At+(ft*dt+lt*yt)*Ct,p[a+128+76>>2]=0,p[a+128+80>>2]=(ft*yt+lt*dt)*_t+(1-(ft*mt+ot*dt))*rt+(ht*dt-lt*mt)*st,p[a+128+84>>2]=(ft*yt+lt*dt)*pt+(1-(ft*mt+ot*dt))*ct+(ht*dt-lt*mt)*at,p[a+128+88>>2]=(ft*yt+lt*dt)*bt+(1-(ft*mt+ot*dt))*At+(ht*dt-lt*mt)*Ct,p[a+128+92>>2]=0,p[a+128+96>>2]=(ft*dt-lt*yt)*_t+(ht*dt+lt*mt)*rt+(1-(ft*mt+ht*yt))*st,p[a+128+100>>2]=(ft*dt-lt*yt)*pt+(ht*dt+lt*mt)*ct+(1-(ft*mt+ht*yt))*at,p[a+128+104>>2]=(ft*dt-lt*yt)*bt+(ht*dt+lt*mt)*At+(1-(ft*mt+ht*yt))*Ct,p[a+128+108>>2]=0),b=0|_[o+20>>2],_[a+384>>2]=7032,_[a+384+32>>2]=r,_[a+384+36>>2]=_[a+128>>2],_[a+384+36+4>>2]=_[a+128+4>>2],_[a+384+36+8>>2]=_[a+128+8>>2],_[a+384+36+12>>2]=_[a+128+12>>2],_[a+384+52>>2]=_[m>>2],_[a+384+52+4>>2]=_[m+4>>2],_[a+384+52+8>>2]=_[m+8>>2],_[a+384+52+12>>2]=_[m+12>>2],_[a+384+68>>2]=_[R>>2],_[a+384+68+4>>2]=_[R+4>>2],_[a+384+68+8>>2]=_[R+8>>2],_[a+384+68+12>>2]=_[R+12>>2],_[a+384+84>>2]=_[I>>2],_[a+384+84+4>>2]=_[I+4>>2],_[a+384+84+8>>2]=_[I+8>>2],_[a+384+84+12>>2]=_[I+12>>2],_[a+384+100>>2]=_[T>>2],_[a+384+100+4>>2]=_[T+4>>2],_[a+384+100+8>>2]=_[T+8>>2],_[a+384+100+12>>2]=_[T+12>>2],_[a+384+116>>2]=_[P>>2],_[a+384+116+4>>2]=_[P+4>>2],_[a+384+116+8>>2]=_[P+8>>2],_[a+384+116+12>>2]=_[P+12>>2],_[a+384+132>>2]=_[M>>2],_[a+384+132+4>>2]=_[M+4>>2],_[a+384+132+8>>2]=_[M+8>>2],_[a+384+132+12>>2]=_[M+12>>2],_[a+384+148>>2]=_[G>>2],_[a+384+148+4>>2]=_[G+4>>2],_[a+384+148+8>>2]=_[G+8>>2],_[a+384+148+12>>2]=_[G+12>>2],_[a+384+164>>2]=_[a+624>>2],_[a+384+164+4>>2]=_[a+624+4>>2],_[a+384+164+8>>2]=_[a+624+8>>2],_[a+384+164+12>>2]=_[a+624+12>>2],_[a+384+180>>2]=_[a+624+16>>2],_[a+384+180+4>>2]=_[a+624+16+4>>2],_[a+384+180+8>>2]=_[a+624+16+8>>2],_[a+384+180+12>>2]=_[a+624+16+12>>2],_[a+384+196>>2]=_[a+624+32>>2],_[a+384+196+4>>2]=_[a+624+32+4>>2],_[a+384+196+8>>2]=_[a+624+32+8>>2],_[a+384+196+12>>2]=_[a+624+32+12>>2],_[a+384+212>>2]=_[a+624+48>>2],_[a+384+212+4>>2]=_[a+624+48+4>>2],_[a+384+212+8>>2]=_[a+624+48+8>>2],_[a+384+212+12>>2]=_[a+624+48+12>>2],n[a+384+228|0]=F<B&1,_[a+384+232>>2]=b,Si(a+48|0,a+128|0,a+384|0,b,0),b=0|_[t+28>>2]),A=A+1|0}while((0|A)<(0|b))}if(0|n[t+16|0]){if(b=0|_[r+4>>2],0|_[b+748>>2])return(0|(A=0|_[b+740>>2]))==(0|(m=0|_[8+(0|_[r+8>>2])>>2]))?(E(b,A+4|0,4+(0|_[8+(0|_[r+12>>2])>>2])|0),void(Q=a)):(E(b,4+(0|_[8+(0|_[r+12>>2])>>2])|0,m+4|0),void(Q=a));Q=a}else Q=a},function(t,e,i,o,r){e|=0,i|=0,o|=0,r|=0;var s,c,a,b=0,d=0,l=0,A=0,f=0,u=0,m=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0,O=0,x=0,T=0,P=0,V=0,M=0,G=0,L=0;if(a=Q,Q=Q+224|0,s=(u=!!(0|n[28+(t|=0)|0]))?i:e,u=u?e:i,c=0|_[s+4>>2],(0|_[c+68>>2])!=(0|_[t+40>>2])){if((0|(d=0|_[t+12>>2]))>0){b=0;do{0|(l=0|_[(0|_[t+20>>2])+(b<<2)>>2])&&(zb[511&_[_[l>>2]>>2]](l),A=0|_[t+4>>2],id[127&_[60+(0|_[A>>2])>>2]](A,0|_[(0|_[t+20>>2])+(b<<2)>>2])),b=b+1|0}while((0|b)!=(0|d))}Pt(t,e,i)}if(A=0|_[c+64>>2],l=0|_[t+4>>2],b=0|_[t+20>>2],e=0|_[t+32>>2],_[a+192>>2]=7088,_[a+192+4>>2]=s,_[a+192+8>>2]=u,_[a+192+12>>2]=l,_[a+192+16>>2]=o,_[a+192+20>>2]=r,_[a+192+24>>2]=b,_[a+192+28>>2]=e,n[a+128+16|0]=1,_[(o=a+128+12|0)>>2]=0,_[a+128+4>>2]=0,_[a+128+8>>2]=0,(0|(e=0|_[t+12>>2]))>0){for(l=0;;){if(b=0|_[b+(l<<2)>>2]){if(id[127&_[16+(0|_[b>>2])>>2]](b,a+128|0),(0|(b=0|_[a+128+4>>2]))>0){d=0;do{i=0|_[(0|_[o>>2])+(d<<2)>>2],0|_[i+748>>2]&&(_[r+4>>2]=i,(0|(b=0|_[i+740>>2]))==(0|(e=0|_[8+(0|_[r+8>>2])>>2]))?E(i,b+4|0,4+(0|_[8+(0|_[r+12>>2])>>2])|0):E(i,4+(0|_[8+(0|_[r+12>>2])>>2])|0,e+4|0),_[r+4>>2]=0,b=0|_[a+128+4>>2]),d=d+1|0}while((0|d)<(0|b))}if((0|b)<0){(0|_[a+128+8>>2])<0&&(0|(e=0|_[o>>2])&&(0|n[a+128+16|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[o>>2]=0),n[a+128+16|0]=1,_[o>>2]=0,_[a+128+8>>2]=0);do{_[(0|_[o>>2])+(b<<2)>>2]=0,b=b+1|0}while(0|b)}_[a+128+4>>2]=0,e=0|_[t+12>>2]}if((0|(b=l+1|0))>=(0|e))break;l=b,b=0|_[t+20>>2]}0|(b=0|_[o>>2])&&(0|n[a+128+16|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[b+-4>>2])),_[o>>2]=0)}if(A)f=0|_[s+12>>2],W=+p[f>>2],B=+p[f+16>>2],I=+p[f+32>>2],D=+p[f+4>>2],j=+p[f+20>>2],R=+p[f+36>>2],v=+p[f+8>>2],g=+p[f+24>>2],h=+p[f+40>>2],k=-+p[f+48>>2],w=-+p[f+52>>2],S=-+p[f+56>>2],f=0|_[u+12>>2],L=+p[f>>2],G=+p[f+16>>2],M=+p[f+32>>2],V=+p[f+4>>2],P=+p[f+20>>2],T=+p[f+36>>2],x=+p[f+8>>2],O=+p[f+24>>2],F=+p[f+40>>2],C=+p[f+48>>2],y=+p[f+52>>2],m=+p[f+56>>2],p[a+48>>2]=W*L+B*G+I*M,p[a+48+4>>2]=W*V+B*P+I*T,p[a+48+8>>2]=W*x+B*O+I*F,p[a+48+12>>2]=0,p[a+48+16>>2]=D*L+j*G+R*M,p[a+48+20>>2]=D*V+j*P+R*T,p[a+48+24>>2]=D*x+j*O+R*F,p[a+48+28>>2]=0,p[a+48+32>>2]=v*L+g*G+h*M,p[a+48+36>>2]=v*V+g*P+h*T,p[a+48+40>>2]=v*x+g*O+h*F,p[a+48+44>>2]=0,p[a+48+48>>2]=W*k+B*w+I*S+(W*C+B*y+I*m),p[a+48+52>>2]=D*k+j*w+R*S+(D*C+j*y+R*m),p[a+48+56>>2]=v*k+g*w+h*S+(v*C+g*y+h*m),p[a+48+60>>2]=0,f=0|_[u+4>>2],cd[127&_[8+(0|_[f>>2])>>2]](f,a+48|0,a+128|0,a+112|0),_[a+16>>2]=_[a+128>>2],_[a+16+4>>2]=_[a+128+4>>2],_[a+16+8>>2]=_[a+128+8>>2],_[a+16+12>>2]=_[a+128+12>>2],_[a+16+16>>2]=_[a+112>>2],_[a+16+16+4>>2]=_[a+112+4>>2],_[a+16+16+8>>2]=_[a+112+8>>2],_[a+16+16+12>>2]=_[a+112+12>>2],ci(0|_[A>>2],a+16|0,a+192|0),f=40;else if((0|(e=0|_[t+12>>2]))>0){b=0;do{ii(a+192|0,0|_[(0|_[c+24>>2])+(80*b|0)+64>>2],b),b=b+1|0}while((0|b)<(0|e));f=40}if(40==(0|f)&&(e=0|_[t+12>>2]),(0|e)<=0)Q=a;else{i=0;do{do{if(0|_[(0|_[t+20>>2])+(i<<2)>>2]){if(A=0|_[c+24>>2],f=0|_[A+(80*i|0)+64>>2],r=0|_[s+12>>2],g=+p[r>>2],C=+p[r+4>>2],v=+p[r+8>>2],S=+p[r+16>>2],w=+p[r+20>>2],k=+p[r+24>>2],F=+p[r+32>>2],x=+p[r+36>>2],P=+p[r+40>>2],R=+p[A+(80*i|0)>>2],j=+p[A+(80*i|0)+16>>2],D=+p[A+(80*i|0)+32>>2],I=+p[A+(80*i|0)+4>>2],B=+p[A+(80*i|0)+20>>2],W=+p[A+(80*i|0)+36>>2],O=+p[A+(80*i|0)+8>>2],T=+p[A+(80*i|0)+24>>2],V=+p[A+(80*i|0)+40>>2],h=+p[A+(80*i|0)+48>>2],y=+p[A+(80*i|0)+52>>2],L=+p[A+(80*i|0)+56>>2],M=+p[r+48>>2]+(g*h+C*y+v*L),G=+p[r+52>>2]+(S*h+w*y+k*L),L=+p[r+56>>2]+(F*h+x*y+P*L),p[a+128>>2]=g*R+C*j+v*D,p[a+128+4>>2]=g*I+C*B+v*W,p[a+128+8>>2]=g*O+C*T+v*V,p[a+128+12>>2]=0,p[a+128+16>>2]=S*R+w*j+k*D,p[a+128+20>>2]=S*I+w*B+k*W,p[a+128+24>>2]=S*O+w*T+k*V,p[a+128+28>>2]=0,p[a+128+32>>2]=F*R+x*j+P*D,p[a+128+36>>2]=F*I+x*B+P*W,p[a+128+40>>2]=F*O+x*T+P*V,p[a+128+44>>2]=0,p[a+128+48>>2]=M,p[a+128+52>>2]=G,p[a+128+56>>2]=L,p[a+128+60>>2]=0,cd[127&_[8+(0|_[f>>2])>>2]](f,a+128|0,a+112|0,a+48|0),f=0|_[u+4>>2],cd[127&_[8+(0|_[f>>2])>>2]](f,0|_[u+12>>2],a+16|0,a),b=+p[a+112>>2]>+p[a>>2]||+p[a+48>>2]<+p[a+16>>2]?0:1,(+p[a+112+8>>2]>+p[a+8>>2]||+p[a+48+8>>2]<+p[a+16+8>>2])&&(b=0),!(+p[a+112+4>>2]>+p[a+4>>2]||+p[a+48+4>>2]<+p[a+16+4>>2]|1^b))break;f=0|_[(0|_[t+20>>2])+(i<<2)>>2],zb[511&_[_[f>>2]>>2]](f),f=0|_[t+4>>2],id[127&_[60+(0|_[f>>2])>>2]](f,0|_[(0|_[t+20>>2])+(i<<2)>>2]),_[(0|_[t+20>>2])+(i<<2)>>2]=0}}while(0);i=i+1|0}while((0|i)<(0|e));Q=a}},function(t,e,i,o,r){t|=0,i|=0,o|=0,r|=0;var s,c,a,b,l,A,f,u,m,h,y,g,C,v,S,w=0,k=0,R=0,j=0,D=0,I=0,B=0,W=0,F=0,O=0,x=0,T=0,P=0,V=0,M=0,G=0,L=0,N=0,H=0,Z=0,U=0,Y=0,J=0,X=0,z=0,K=0,q=0,$=0,tt=0,et=0,it=0,nt=0,ot=0,_t=0,rt=0,st=0,pt=0,ct=0,at=0,bt=0,dt=0,lt=0,At=0,ft=0,ut=0,mt=0,ht=0,yt=0;if(S=Q,Q=Q+176|0,C=0|_[4+(e|=0)>>2],v=0|_[i+4>>2],(0|_[C+68>>2])==(0|_[t+40>>2])&&(0|_[v+68>>2])==(0|_[t+44>>2]))st=t+8|0;else{if(w=0|_[t+8>>2],(0|(R=0|_[w+8>>2]))>0){k=0;do{0|(j=0|_[(0|_[w+16>>2])+(12*k|0)+8>>2])&&(zb[511&_[_[j>>2]>>2]](j),st=0|_[t+4>>2],id[127&_[60+(0|_[st>>2])>>2]](st,j)),k=k+1|0}while((0|k)!=(0|R));w=0|_[t+8>>2]}te(w),st=t+8|0}if(n[S+128+16|0]=1,_[(B=S+128+12|0)>>2]=0,_[S+128+4>>2]=0,_[S+128+8>>2]=0,I=0|_[st>>2],(0|(w=0|_[I+8>>2]))>0){D=0;do{if(k=0|_[(0|_[I+16>>2])+(12*D|0)+8>>2]){if(id[127&_[16+(0|_[k>>2])>>2]](k,S+128|0),(0|(w=0|_[S+128+4>>2]))>0){j=0;do{R=0|_[(0|_[B>>2])+(j<<2)>>2],0|_[R+748>>2]&&(_[r+4>>2]=R,(0|(w=0|_[R+740>>2]))==(0|(k=0|_[8+(0|_[r+8>>2])>>2]))?E(R,w+4|0,4+(0|_[8+(0|_[r+12>>2])>>2])|0):E(R,4+(0|_[8+(0|_[r+12>>2])>>2])|0,k+4|0),_[r+4>>2]=0,w=0|_[S+128+4>>2]),j=j+1|0}while((0|j)<(0|w))}if((0|w)<0){(0|_[S+128+8>>2])<0&&(0|(k=0|_[B>>2])&&(0|n[S+128+16|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[k+-4>>2])),_[B>>2]=0),n[S+128+16|0]=1,_[B>>2]=0,_[S+128+8>>2]=0);do{_[(0|_[B>>2])+(w<<2)>>2]=0,w=w+1|0}while(0|w)}_[S+128+4>>2]=0,w=0|_[I+8>>2]}D=D+1|0}while((0|D)<(0|w));0|(w=0|_[B>>2])&&(0|n[S+128+16|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[w+-4>>2])),_[B>>2]=0)}if(k=0|_[C+64>>2],R=0|_[v+64>>2],x=0|_[t+4>>2],T=0|_[st>>2],P=0|_[t+32>>2],_[S+128>>2]=7152,_[S+128+4>>2]=0,_[S+128+8>>2]=e,_[S+128+12>>2]=i,_[S+128+16>>2]=x,_[S+128+20>>2]=o,_[S+128+24>>2]=r,_[S+128+28>>2]=T,_[S+128+32>>2]=P,P=0|_[e+12>>2],s=+p[P>>2],c=+p[P+16>>2],a=+p[P+32>>2],b=+p[P+4>>2],l=+p[P+20>>2],A=+p[P+36>>2],f=+p[P+8>>2],u=+p[P+24>>2],m=+p[P+40>>2],h=-+p[P+48>>2],y=-+p[P+52>>2],g=-+p[P+56>>2],P=0|_[i+12>>2],J=+p[P>>2],X=+p[P+16>>2],z=+p[P+32>>2],K=+p[P+4>>2],q=+p[P+20>>2],$=+p[P+36>>2],tt=+p[P+8>>2],et=+p[P+24>>2],it=+p[P+40>>2],nt=+p[P+48>>2],ot=+p[P+52>>2],_t=+p[P+56>>2],!!(0|(k=0|_[k>>2]))&!!(0|(R=0|_[R>>2]))){for(_[6630]=1+(0|_[6630]),(w=0|di(1043))?(_[(w+4+15&-16)-4>>2]=w,w=w+4+15&-16):w=0,_[w>>2]=k,_[w+4>>2]=R,V=+d(+(s*J+c*X+a*z)),M=+d(+(s*K+c*q+a*$)),G=+d(+(s*tt+c*et+a*it)),L=+d(+(b*J+l*X+A*z)),N=+d(+(b*K+l*q+A*$)),H=+d(+(b*tt+l*et+A*it)),Z=+d(+(f*J+u*X+m*z)),U=+d(+(f*K+u*q+m*$)),Y=+d(+(f*tt+u*et+m*it)),W=1,I=124,B=128,O=w,D=128,o=w,j=w,R=w;;){x=0|_[O+((P=W+-1|0)<<3)>>2],T=0|_[O+(P<<3)+4>>2],At=s*h+c*y+a*g+(s*nt+c*ot+a*_t)+(.5*((yt=+p[T+16>>2])+(ht=+p[T>>2]))*(s*J+c*X+a*z)+.5*((mt=+p[T+20>>2])+(ut=+p[T+4>>2]))*(s*K+c*q+a*$)+.5*((ft=+p[T+24>>2])+(ct=+p[T+8>>2]))*(s*tt+c*et+a*it)),dt=b*h+l*y+A*g+(b*nt+l*ot+A*_t)+(.5*(yt+ht)*(b*J+l*X+A*z)+.5*(mt+ut)*(b*K+l*q+A*$)+.5*(ft+ct)*(b*tt+l*et+A*it)),at=f*h+u*y+m*g+(f*nt+u*ot+m*_t)+(.5*(yt+ht)*(f*J+u*X+m*z)+.5*(mt+ut)*(f*K+u*q+m*$)+.5*(ft+ct)*(f*tt+u*et+m*it)),lt=V*(.5*(yt-ht)+0)+M*(.5*(mt-ut)+0)+G*(.5*(ft-ct)+0),bt=L*(.5*(yt-ht)+0)+N*(.5*(mt-ut)+0)+H*(.5*(ft-ct)+0),ct=Z*(.5*(yt-ht)+0)+U*(.5*(mt-ut)+0)+Y*(.5*(ft-ct)+0);do{if(+p[x>>2]<=lt+At&&+p[x+16>>2]>=At-lt&&+p[x+4>>2]<=bt+dt&&+p[x+20>>2]>=dt-bt&&+p[x+8>>2]<=ct+at&&+p[x+24>>2]>=at-ct){if((0|P)>(0|I)){F=D<<1;do{if((0|D)<(0|F)&(0|B)<(0|F)){do{if(D){if(_[6630]=1+(0|_[6630]),(w=0|di(16+(D<<4|3)|0))?(_[(w+4+15&-16)-4>>2]=w,k=w+4+15&-16):k=0,(0|D)<=0){R=k,w=k,rt=55;break}w=0;do{B=0|_[4+(I=O+(w<<3)|0)>>2],_[(r=k+(w<<3)|0)>>2]=_[I>>2],_[r+4>>2]=B,w=w+1|0}while((0|w)!=(0|D));R=k,w=k}else R=0,w=0,rt=55}while(0);if(55==(0|rt)&&(rt=0,!O)){D=F,j=R,I=R,k=R;break}o?(_[6631]=1+(0|_[6631]),Li(0|_[o+-4>>2]),D=F,j=R,I=R,k=R):(D=F,j=R,I=R,k=R)}else D=B,w=O,I=R,k=o}while(0);r=F+-4|0,B=D,D=F,o=k}else r=I,w=O,I=R;if(k=!!(0|_[T+40>>2]),0|_[x+40>>2]){if(R=0|_[x+36>>2],k){k=0|_[T+36>>2],_[w+(P<<3)>>2]=R,_[w+(P<<3)+4>>2]=k,P=0|_[T+36>>2],k=W+1|0,_[w+(W<<3)>>2]=_[x+40>>2],_[w+(W<<3)+4>>2]=P,P=0|_[T+40>>2],R=W+2|0,_[w+(k<<3)>>2]=_[x+36>>2],_[w+(k<<3)+4>>2]=P,k=0|_[T+40>>2],_[w+(R<<3)>>2]=_[x+40>>2],_[w+(R<<3)+4>>2]=k,W=W+3|0,R=I,k=o;break}_[w+(P<<3)>>2]=R,_[w+(P<<3)+4>>2]=T,_[w+(W<<3)>>2]=_[x+40>>2],_[w+(W<<3)+4>>2]=T,W=W+1|0,R=I,k=o;break}if(k){R=0|_[T+36>>2],_[w+(P<<3)>>2]=x,_[w+(P<<3)+4>>2]=R,R=0|_[T+40>>2],_[w+(W<<3)>>2]=x,_[w+(W<<3)+4>>2]=R,W=W+1|0,R=I,k=o;break}rd[127&_[8+(0|_[S+128>>2])>>2]](S+128|0,x,T),W=P,R=I,k=o;break}W=P,r=I,w=O,k=o}while(0);if(!W)break;I=r,O=w,o=k}!(0|w)|!(0|j)||(_[6631]=1+(0|_[6631]),Li(0|_[j+-4>>2]))}if(B=0|_[st>>2],(0|_[B+8>>2])>0){I=0;do{w=0|_[B+16>>2],k=0|_[w+(12*I|0)+8>>2];do{if(0|k){if(rt=0|_[w+(12*I|0)>>2],P=0|_[C+24>>2],T=0|_[P+(80*rt|0)+64>>2],x=0|_[e+12>>2],yt=+p[x>>2],X=+p[x+4>>2],J=+p[x+8>>2],ut=+p[x+16>>2],At=+p[x+20>>2],dt=+p[x+24>>2],ft=+p[x+32>>2],bt=+p[x+36>>2],tt=+p[x+40>>2],at=+p[P+(80*rt|0)>>2],ct=+p[P+(80*rt|0)+16>>2],_t=+p[P+(80*rt|0)+32>>2],ot=+p[P+(80*rt|0)+4>>2],nt=+p[P+(80*rt|0)+20>>2],it=+p[P+(80*rt|0)+36>>2],lt=+p[P+(80*rt|0)+8>>2],et=+p[P+(80*rt|0)+24>>2],$=+p[P+(80*rt|0)+40>>2],ht=+p[P+(80*rt|0)+48>>2],mt=+p[P+(80*rt|0)+52>>2],z=+p[P+(80*rt|0)+56>>2],q=+p[x+48>>2]+(yt*ht+X*mt+J*z),K=+p[x+52>>2]+(ut*ht+At*mt+dt*z),z=+p[x+56>>2]+(ft*ht+bt*mt+tt*z),p[S>>2]=yt*at+X*ct+J*_t,p[S+4>>2]=yt*ot+X*nt+J*it,p[S+8>>2]=yt*lt+X*et+J*$,p[S+12>>2]=0,p[S+16>>2]=ut*at+At*ct+dt*_t,p[S+20>>2]=ut*ot+At*nt+dt*it,p[S+24>>2]=ut*lt+At*et+dt*$,p[S+28>>2]=0,p[S+32>>2]=ft*at+bt*ct+tt*_t,p[S+36>>2]=ft*ot+bt*nt+tt*it,p[S+40>>2]=ft*lt+bt*et+tt*$,p[S+44>>2]=0,p[S+48>>2]=q,p[S+52>>2]=K,p[S+56>>2]=z,p[S+60>>2]=0,cd[127&_[8+(0|_[T>>2])>>2]](T,S,S+112|0,S+96|0),T=0|_[(0|_[B+16>>2])+(12*I|0)+4>>2],x=0|_[v+24>>2],rt=0|_[x+(80*T|0)+64>>2],P=0|_[i+12>>2],z=+p[P>>2],K=+p[P+4>>2],q=+p[P+8>>2],$=+p[P+16>>2],tt=+p[P+20>>2],et=+p[P+24>>2],bt=+p[P+32>>2],lt=+p[P+36>>2],ft=+p[P+40>>2],it=+p[x+(80*T|0)>>2],nt=+p[x+(80*T|0)+16>>2],ot=+p[x+(80*T|0)+32>>2],_t=+p[x+(80*T|0)+4>>2],ct=+p[x+(80*T|0)+20>>2],at=+p[x+(80*T|0)+36>>2],dt=+p[x+(80*T|0)+8>>2],At=+p[x+(80*T|0)+24>>2],ut=+p[x+(80*T|0)+40>>2],J=+p[x+(80*T|0)+48>>2],X=+p[x+(80*T|0)+52>>2],yt=+p[x+(80*T|0)+56>>2],mt=+p[P+48>>2]+(z*J+K*X+q*yt),ht=+p[P+52>>2]+($*J+tt*X+et*yt),yt=+p[P+56>>2]+(bt*J+lt*X+ft*yt),p[S>>2]=z*it+K*nt+q*ot,p[S+4>>2]=z*_t+K*ct+q*at,p[S+8>>2]=z*dt+K*At+q*ut,p[S+12>>2]=0,p[S+16>>2]=$*it+tt*nt+et*ot,p[S+20>>2]=$*_t+tt*ct+et*at,p[S+24>>2]=$*dt+tt*At+et*ut,p[S+28>>2]=0,p[S+32>>2]=bt*it+lt*nt+ft*ot,p[S+36>>2]=bt*_t+lt*ct+ft*at,p[S+40>>2]=bt*dt+lt*At+ft*ut,p[S+44>>2]=0,p[S+48>>2]=mt,p[S+52>>2]=ht,p[S+56>>2]=yt,p[S+60>>2]=0,cd[127&_[8+(0|_[rt>>2])>>2]](rt,S,S+80|0,S+64|0),w=+p[S+112>>2]>+p[S+64>>2]||+p[S+96>>2]<+p[S+80>>2]?0:1,(+p[S+112+8>>2]>+p[S+64+8>>2]||+p[S+96+8>>2]<+p[S+80+8>>2])&&(w=0),!(+p[S+112+4>>2]>+p[S+64+4>>2]||+p[S+96+4>>2]<+p[S+80+4>>2]|1^w))break;if(zb[511&_[_[k>>2]>>2]](k),D=0|_[t+4>>2],id[127&_[60+(0|_[D>>2])>>2]](D,k),D=0|_[B+16>>2],j=0|_[D+(12*I|0)>>2],D=0|_[D+(12*I|0)+4>>2],(0|(k=0|_[t+16>>2]))==(0|_[t+20>>2])&&(0|k)<(0|(pt=0|k?k<<1:1))){if(pt?(_[6630]=1+(0|_[6630]),(w=0|di(16+(12*pt|3)|0))?(_[(w+4+15&-16)-4>>2]=w,w=w+4+15&-16):w=0,k=0|_[t+16>>2]):w=0,(0|k)>0){R=0;do{rt=w+(12*R|0)|0,P=(0|_[t+24>>2])+(12*R|0)|0,_[rt>>2]=_[P>>2],_[rt+4>>2]=_[P+4>>2],_[rt+8>>2]=_[P+8>>2],R=R+1|0}while((0|R)!=(0|k))}0|(k=0|_[t+24>>2])&&(0|n[t+28|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[k+-4>>2])),_[t+24>>2]=0),n[t+28|0]=1,_[t+24>>2]=w,_[t+20>>2]=pt,w=0|_[t+16>>2]}else w=k;rt=0|_[t+24>>2],_[rt+(12*w|0)>>2]=j,_[rt+(12*w|0)+4>>2]=D,_[rt+(12*w|0)+8>>2]=0,_[t+16>>2]=1+(0|_[t+16>>2])}}while(0);I=I+1|0}while((0|I)<(0|_[B+8>>2]));k=t+24|0,R=t+16|0}else k=t+24|0,R=t+16|0;if((0|_[R>>2])>0){w=0;do{i=0|_[st>>2],pt=0|_[k>>2],Hb[63&_[8+(0|_[i>>2])>>2]](i,0|_[pt+(12*w|0)>>2],0|_[pt+(12*w|0)+4>>2]),w=w+1|0}while((0|w)<(0|_[R>>2]))}if(!(w=0|_[k>>2]))return n[t+28|0]=1,_[k>>2]=0,_[R>>2]=0,_[(t=t+20|0)>>2]=0,void(Q=S);0|n[t+28|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[w+-4>>2])),_[k>>2]=0,n[t+28|0]=1,_[k>>2]=0,_[R>>2]=0,_[(t=t+20|0)>>2]=0,Q=S},function(t,e,i,n,r){t|=0,i|=0,n|=0,r|=0;var c,a,b,d,l,A,f,u,m=0,h=0,y=0,g=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0;_[16+(e|=0)>>2]=_[i>>2],_[e+16+4>>2]=_[i+4>>2],_[e+16+8>>2]=_[i+8>>2],_[e+16+12>>2]=_[i+12>>2],_[e+32>>2]=_[n>>2],_[e+32+4>>2]=_[n+4>>2],_[e+32+8>>2]=_[n+8>>2],_[e+32+12>>2]=_[n+12>>2],f=0|_[t+60>>2],u=65535&_[e+12>>2],c=+p[t+8>>2],b=+p[t+12>>2],l=+p[t+16>>2],a=+p[t+40>>2],C=(+p[i>>2]-c)*a,d=+p[t+44>>2],v=(+p[i+4>>2]-b)*d,A=+p[t+48>>2],S=(+p[i+8>>2]-l)*A,C<=0?j=0:(j=0|o[t+6>>1],j=o[t+4>>1]&(C>=+(65535&j)?j:65535&C)),v<=0?D=0:(D=0|o[t+6>>1],D=o[t+4>>1]&(v>=+(65535&D)?D:65535&v)),S<=0?I=0:(I=0|o[t+6>>1],I=o[t+4>>1]&(S>=+(65535&I)?I:65535&S)),S=(+p[n>>2]-c)*a,v=(+p[n+4>>2]-b)*d,C=(+p[n+8>>2]-l)*A,S<=0?w=1:(w=0|o[t+6>>1],w=o[t+4>>1]&(S>=+(65535&w)?w:65535&S)|1),v<=0?k=1:(k=0|o[t+6>>1],k=o[t+4>>1]&(v>=+(65535&k)?k:65535&v)|1),C<=0?R=1:(R=0|o[t+6>>1],R=o[t+4>>1]&(C>=+(65535&R)?R:65535&C)|1),m=0|o[f+(u<<6)+48>>1],h=0|o[f+(u<<6)+54>>1],B=0|_[t+68>>2],y=(65535&j)-(0|s[B+((65535&m)<<2)>>1])|0,g=(65535&w)-(0|s[B+((65535&h)<<2)>>1])|0,o[B+((65535&m)<<2)>>1]=j,o[B+((65535&h)<<2)>>1]=w,(0|y)<0&&Yt(t,0,m),(0|g)>0&&Zt(t,0,h),(0|y)>0&&Ut(t,0,m,r),(0|g)<0&&Ht(t,0,h,r),m=0|o[f+(u<<6)+50>>1],h=0|o[f+(u<<6)+56>>1],B=0|_[t+72>>2],y=(65535&D)-(0|s[B+((65535&m)<<2)>>1])|0,g=(65535&k)-(0|s[B+((65535&h)<<2)>>1])|0,o[B+((65535&m)<<2)>>1]=D,o[B+((65535&h)<<2)>>1]=k,(0|y)<0&&Yt(t,1,m),(0|g)>0&&Zt(t,1,h),(0|y)>0&&Ut(t,1,m,r),(0|g)<0&&Ht(t,1,h,r),g=0|o[f+(u<<6)+52>>1],m=0|o[f+(u<<6)+58>>1],B=0|_[t+76>>2],h=(65535&I)-(0|s[B+((65535&g)<<2)>>1])|0,y=(65535&R)-(0|s[B+((65535&m)<<2)>>1])|0,o[B+((65535&g)<<2)>>1]=I,o[B+((65535&m)<<2)>>1]=R,(0|h)<0&&Yt(t,2,g),(0|y)>0&&Zt(t,2,m),(0|h)>0&&Ut(t,2,g,r),(0|y)<0&&Ht(t,2,m,r),(m=0|_[t+108>>2])&&ld[31&_[16+(0|_[m>>2])>>2]](m,0|_[e+60>>2],i,n,r)},function(t,e,i,o,r){t|=0,e|=0,i|=0,o|=0,r|=0;var s,c=0,a=0,b=0,d=0,l=0,A=0,f=0,u=0,m=0,h=0,y=0;s=Q,Q=Q+48|0,_[s+16>>2]=_[i>>2],_[s+16+4>>2]=_[i+4>>2],_[s+16+8>>2]=_[i+8>>2],_[s+16+12>>2]=_[i+12>>2],_[s+16+16>>2]=_[o>>2],_[s+16+16+4>>2]=_[o+4>>2],_[s+16+16+8>>2]=_[o+8>>2],_[s+16+16+12>>2]=_[o+12>>2];do{if(2==(0|_[e+60>>2])){if(Tt(t+64|0,r=0|_[e+48>>2]),0|(c=0|_[t+68>>2])&&(_[6631]=1+(0|_[6631]),Li(0|_[c+-4>>2])),_[t+68>>2]=r,_[t+76>>2]=(0|_[t+76>>2])-1,r=0|_[t+8>>2])_[t+8>>2]=0;else{_[6630]=1+(0|_[6630]),(r=0|di(63))?(_[(r+4+15&-16)-4>>2]=r,r=r+4+15&-16):r=0,a=(c=r)+44|0;do{_[c>>2]=0,c=c+4|0}while((0|c)<(0|a))}_[r+32>>2]=0,_[r+36>>2]=e,_[r+40>>2]=0,_[r>>2]=_[s+16>>2],_[r+4>>2]=_[s+16+4>>2],_[r+8>>2]=_[s+16+8>>2],_[r+12>>2]=_[s+16+12>>2],_[r+16>>2]=_[s+16+16>>2],_[r+20>>2]=_[s+16+20>>2],_[r+24>>2]=_[s+16+24>>2],_[r+28>>2]=_[s+16+28>>2],U(t+4|0,0|_[t+4>>2],r),_[t+16>>2]=1+(0|_[t+16>>2]),_[e+48>>2]=r,r=1}else{if(_[t+168>>2]=1+(0|_[t+168>>2]),m=0|_[e+48>>2],+p[m>>2]<=+p[s+16+16>>2]&&+p[m+16>>2]>=+p[s+16>>2]&&+p[m+4>>2]<=+p[s+16+20>>2]&&+p[m+20>>2]>=+p[s+16+4>>2]&&+p[m+8>>2]<=+p[s+16+24>>2]&&+p[m+24>>2]>=+p[s+16+8>>2]){b=+p[e+16>>2],h=+p[i>>2]-b,d=+p[e+20>>2],f=+p[i+4>>2]-d,l=+p[e+24>>2],u=+p[i+8>>2]-l,y=+p[t+140>>2],b=.5*(+p[e+32>>2]-b)*y,d=y*(.5*(+p[e+36>>2]-d)),l=y*(.5*(+p[e+40>>2]-l)),p[s>>2]=b,p[s+4>>2]=d,p[s+8>>2]=l,p[s+12>>2]=0,h<0&&(p[s>>2]=-b),f<0&&(p[s+4>>2]=-d),u<0&&(p[s+8>>2]=-l),0|Nt(t+4|0,m,s+16|0,s,.05000000074505806)?(_[t+172>>2]=1+(0|_[t+172>>2]),r=1):r=0;break}r=0|Tt(t+4|0,m);t:do{if(r){if((0|(A=0|_[t+12>>2]))<=-1){r=0|_[t+4>>2];break}if(A)for(c=0;;){if(c=c+1|0,!(a=0|_[r+32>>2]))break t;if((0|c)>=(0|A)){r=a;break}r=a}}else r=0}while(0);_[m>>2]=_[s+16>>2],_[m+4>>2]=_[s+16+4>>2],_[m+8>>2]=_[s+16+8>>2],_[m+12>>2]=_[s+16+12>>2],_[m+16>>2]=_[s+16+16>>2],_[m+20>>2]=_[s+16+20>>2],_[m+24>>2]=_[s+16+24>>2],_[m+28>>2]=_[s+16+28>>2],U(t+4|0,r,m),_[t+172>>2]=1+(0|_[t+172>>2]),r=1}}while(0);c=(c=0|_[e+52>>2])?c+56|0:t+124+(_[e+60>>2]<<2)|0,_[c>>2]=_[e+56>>2],0|(c=0|_[e+56>>2])&&(_[c+52>>2]=_[e+52>>2]),_[e+16>>2]=_[i>>2],_[e+16+4>>2]=_[i+4>>2],_[e+16+8>>2]=_[i+8>>2],_[e+16+12>>2]=_[i+12>>2],_[e+32>>2]=_[o>>2],_[e+32+4>>2]=_[o+4>>2],_[e+32+8>>2]=_[o+8>>2],_[e+32+12>>2]=_[o+12>>2],c=0|_[t+144>>2],_[e+60>>2]=c,_[e+52>>2]=0,_[e+56>>2]=_[t+124+(c<<2)>>2],0|(a=0|_[t+124+(c<<2)>>2])&&(_[a+52>>2]=e),_[t+124+(c<<2)>>2]=e,r?(n[t+194|0]=1,0|n[t+193|0]||(_[s>>2]=9900,_[s+4>>2]=t,Ne(t+64|0,0|_[t+64>>2],0|_[e+48>>2],s),Ne(t+4|0,0|_[t+4>>2],0|_[e+48>>2],s)),Q=s):Q=s},Si,function(t,e,i,n,o){},function(t,e,i,n,o){e|=0,i|=0,n|=0,o|=0;var r,s,c,a,b,d,A,f,u,m=0,h=0,y=0;if(u=Q,Q=Q+32|0,f=0|_[12+(t|=0)>>2]){if(_[o+4>>2]=f,t=0|_[e+4>>2],n=0|_[i+4>>2],e=0|_[e+12>>2],i=0|_[i+12>>2],s=+p[i+48>>2],m=+p[e+48>>2]-s,c=+p[i+52>>2],h=+p[e+52>>2]-c,a=+p[i+56>>2],r=+p[e+56>>2]-a,b=+l(+(m*m+h*h+r*r)),d=+p[n+28>>2]*+p[n+12>>2],b>(A=+p[t+28>>2]*+p[t+12>>2]+d))return 0|_[f+748>>2]?(0|(n=0|_[f+740>>2]))==(0|(t=0|_[8+(0|_[o+8>>2])>>2]))?(E(f,n+4|0,4+(0|_[8+(0|_[o+12>>2])>>2])|0),void(Q=u)):(E(f,4+(0|_[8+(0|_[o+12>>2])>>2])|0,t+4|0),void(Q=u)):void(Q=u);_[u+16>>2]=1065353216,_[u+16+4>>2]=0,_[u+16+8>>2]=0,p[u+16+12>>2]=0,b>1.1920928955078125e-7?(p[u+16>>2]=m*(1/b),p[u+16+4>>2]=h*(1/b),p[u+16+8>>2]=r*(1/b),p[u+16+12>>2]=0,y=m*(1/b),h*=1/b,m=r*(1/b)):(y=1,h=0,m=0),p[u>>2]=s+d*y,p[u+4>>2]=c+d*h,p[u+8>>2]=a+d*m,p[u+12>>2]=0,sd[15&_[16+(0|_[o>>2])>>2]](o,u+16|0,u,b-A),e=0|_[o+4>>2];do{if(0|_[e+748>>2]){if((0|(n=0|_[e+740>>2]))==(0|(t=0|_[8+(0|_[o+8>>2])>>2]))){E(e,n+4|0,4+(0|_[8+(0|_[o+12>>2])>>2])|0);break}E(e,4+(0|_[8+(0|_[o+12>>2])>>2])|0,t+4|0);break}}while(0);Q=u}else Q=u},bi,Be,function(t,e,i,o,r){t|=0,e|=0,i|=0,o|=0;do{if(0|Np(t,0|_[e+8>>2]))s_(e,i,o);else if(0|Np(t,0|_[e>>2])){if((0|_[e+16>>2])!=(0|i)&&(0|_[e+20>>2])!=(0|i)){_[e+32>>2]=o,_[e+20>>2]=i,_[e+40>>2]=1+(0|_[e+40>>2]),1==(0|_[e+36>>2])&&2==(0|_[e+24>>2])&&(n[e+54|0]=1),_[e+44>>2]=4;break}1==(0|o)&&(_[e+32>>2]=1)}}while(0)},function(t,e,i,o,r){t|=0,e|=0,i|=0,o|=0,r|=0;do{if(0|Np(t,0|_[e+8>>2]))s_(e,i,o);else{if(!(0|Np(t,0|_[e>>2]))){t=0|_[t+8>>2],ld[31&_[24+(0|_[t>>2])>>2]](t,e,i,o,r);break}if((0|_[e+16>>2])!=(0|i)&&(0|_[e+20>>2])!=(0|i)){if(_[e+32>>2]=o,4==(0|_[e+44>>2]))break;n[e+52|0]=0,n[e+53|0]=0,o=0|_[t+8>>2],fd[7&_[20+(0|_[o>>2])>>2]](o,e,i,i,1,r),0|n[e+53|0]?0|n[e+52|0]?o=15:(t=1,o=11):(t=0,o=11);do{if(11==(0|o)){if(_[e+20>>2]=i,_[e+40>>2]=1+(0|_[e+40>>2]),1==(0|_[e+36>>2])&&2==(0|_[e+24>>2])){if(n[e+54|0]=1,t){o=15;break}t=4;break}t?o=15:t=4}}while(0);15==(0|o)&&(t=3),_[e+44>>2]=t;break}1==(0|o)&&(_[e+32>>2]=1)}}while(0)},function(t,e,i,o,r){t|=0,e|=0,i|=0,o|=0,r|=0;var s=0,p=0,c=0,a=0;t:do{if(0|Np(t,0|_[e+8>>2]))s_(e,i,o);else{if(!(0|Np(t,0|_[e>>2]))){if(p=0|_[t+12>>2],ro(t+16|0,e,i,o,r),(0|p)<=1)break;if(!(2&(s=0|_[t+8>>2]))&&1!=(0|_[e+36>>2])){if(!(1&s))for(s=t+24|0;;){if(0|n[e+54|0])break t;if(1==(0|_[e+36>>2]))break t;if(ro(s,e,i,o,r),(s=s+8|0)>>>0>=(t+16+(p<<3)|0)>>>0)break t}for(s=t+24|0;;){if(0|n[e+54|0])break t;if(1==(0|_[e+36>>2])&&1==(0|_[e+24>>2]))break t;if(ro(s,e,i,o,r),(s=s+8|0)>>>0>=(t+16+(p<<3)|0)>>>0)break t}}for(s=t+24|0;;){if(0|n[e+54|0])break t;if(ro(s,e,i,o,r),(s=s+8|0)>>>0>=(t+16+(p<<3)|0)>>>0)break t}}if((0|_[e+16>>2])!=(0|i)&&(0|_[e+20>>2])!=(0|i)){if(_[e+32>>2]=o,4==(0|_[e+44>>2]))break;c=t+16+(_[t+12>>2]<<3)|0,s=0,p=t+16|0,a=0;e:for(;;){if(p>>>0>=c>>>0){o=18;break}if(n[e+52|0]=0,n[e+53|0]=0,qn(p,e,i,i,1,r),0|n[e+54|0]){o=18;break}do{if(0|n[e+53|0]){if(!(0|n[e+52|0])){if(1&_[t+8>>2]){s=1,o=a;break}s=1,o=18;break e}if(1==(0|_[e+24>>2])){o=23;break e}if(!(2&_[t+8>>2])){o=23;break e}s=1,o=1}else o=a}while(0);p=p+8|0,a=o}do{if(18==(0|o)){if(!a&&(_[e+20>>2]=i,_[e+40>>2]=1+(0|_[e+40>>2]),1==(0|_[e+36>>2]))&&2==(0|_[e+24>>2])){if(n[e+54|0]=1,s){o=23;break}s=4;break}s?o=23:s=4}}while(0);23==(0|o)&&(s=3),_[e+44>>2]=s;break}1==(0|o)&&(_[e+32>>2]=1)}}while(0)},dc,dc,dc,dc,dc,dc,dc,dc],Ad=[function(t,e,i,n,o,_){_=+_,v(38)},function(t,e,i,n,o,r){e|=0,i|=0,n|=0,o|=0,r=+r,cd[127&_[8+(0|_[(t|=0)>>2])>>2]](t,e,i,o),cd[127&_[8+(0|_[t>>2])>>2]](t,i,n,o),cd[127&_[8+(0|_[t>>2])>>2]](t,n,e,o)}],fd=[lp,function(t,e,i,o,r,s){t|=0,e|=0,i|=0,o|=0,r|=0;var p=0,c=0,a=0,b=0,d=0,l=0,A=0;if((0|(s|=0))<0)return s=0|_[t+8>>2],void Gb[3&_[12+(0|_[s>>2])>>2]](s,e,i,o,r,0|_[t+12>>2],0|_[t+16>>2],0|_[t+4>>2],0|_[t+20>>2],0|_[t+24>>2]);A=0|_[t+16>>2];t:do{if((0|A)>0)for(b=0|_[t+12>>2],p=0;;){if(a=0|_[(d=b+(p<<2)|0)>>2],(0|(c=0|_[208+(0|_[a+28>>2])>>2]))<=-1&&(c=0|_[208+(0|_[a+32>>2])>>2]),(0|c)==(0|s))break t;if((0|(p=p+1|0))>=(0|A)){d=0;break}}else p=0,d=0}while(0);if((0|p)<(0|A)){l=0|_[t+12>>2],c=0;do{b=0|_[l+(p<<2)>>2],(0|(a=0|_[208+(0|_[b+28>>2])>>2]))<=-1&&(a=0|_[208+(0|_[b+32>>2])>>2]),c=c+((0|a)==(0|s)&1)|0,p=p+1|0}while((0|p)!=(0|A));s=c}else s=0;if(p=0|_[t+4>>2],(0|_[p+72>>2])<2)return A=0|_[t+8>>2],void Gb[3&_[12+(0|_[A>>2])>>2]](A,e,i,o,r,d,s,p,0|_[t+20>>2],0|_[t+24>>2]);if((0|i)>0){l=0,p=0|_[t+32>>2],c=0|_[t+36>>2];do{if(A=e+(l<<2)|0,(0|p)==(0|c))if((0|c)<(0|(b=0|c?c<<1:1))){if(b?(_[6630]=1+(0|_[6630]),(p=0|di(16+(b<<2|3)|0))?(_[(p+4+15&-16)-4>>2]=p,p=p+4+15&-16):p=0,c=0|_[t+32>>2]):p=0,(0|c)>0){a=0;do{_[p+(a<<2)>>2]=_[(0|_[t+40>>2])+(a<<2)>>2],a=a+1|0}while((0|a)!=(0|c))}(a=0|_[t+40>>2])&&(0|n[t+44|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[a+-4>>2]),c=0|_[t+32>>2]),_[t+40>>2]=0),n[t+44|0]=1,_[t+40>>2]=p,_[t+36>>2]=b,p=c,c=b}else p=c;_[(0|_[t+40>>2])+(p<<2)>>2]=_[A>>2],p=p+1|0,_[t+32>>2]=p,l=l+1|0}while((0|l)!=(0|i))}if((0|r)>0){l=0,p=0|_[t+52>>2],c=0|_[t+56>>2];do{if(A=o+(l<<2)|0,(0|p)==(0|c))if((0|c)<(0|(b=0|c?c<<1:1))){if(b?(_[6630]=1+(0|_[6630]),(p=0|di(16+(b<<2|3)|0))?(_[(p+4+15&-16)-4>>2]=p,p=p+4+15&-16):p=0,c=0|_[t+52>>2]):p=0,(0|c)>0){a=0;do{_[p+(a<<2)>>2]=_[(0|_[t+60>>2])+(a<<2)>>2],a=a+1|0}while((0|a)!=(0|c))}(a=0|_[t+60>>2])&&(0|n[t+64|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[a+-4>>2]),c=0|_[t+52>>2]),_[t+60>>2]=0),n[t+64|0]=1,_[t+60>>2]=p,_[t+56>>2]=b,p=c,c=b}else p=c;_[(0|_[t+60>>2])+(p<<2)>>2]=_[A>>2],p=p+1|0,_[t+52>>2]=p,l=l+1|0}while((0|l)!=(0|r))}if(s){A=0,p=0|_[t+72>>2],c=0|_[t+76>>2];do{if(l=d+(A<<2)|0,(0|p)==(0|c))if((0|c)<(0|(b=0|c?c<<1:1))){if(b?(_[6630]=1+(0|_[6630]),(p=0|di(16+(b<<2|3)|0))?(_[(p+4+15&-16)-4>>2]=p,p=p+4+15&-16):p=0,a=p,p=0|_[t+72>>2]):(a=0,p=c),(0|p)>0){c=0;do{_[a+(c<<2)>>2]=_[(0|_[t+80>>2])+(c<<2)>>2],c=c+1|0}while((0|c)!=(0|p))}(c=0|_[t+80>>2])&&(0|n[t+84|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[c+-4>>2]),p=0|_[t+72>>2]),_[t+80>>2]=0),n[t+84|0]=1,_[t+80>>2]=a,_[t+76>>2]=b,c=b}else p=c;_[(0|_[t+80>>2])+(p<<2)>>2]=_[l>>2],p=p+1|0,_[t+72>>2]=p,A=A+1|0}while((0|A)!=(0|s))}else p=0|_[t+72>>2];((0|_[t+52>>2])+p|0)<=(0|_[72+(0|_[t+4>>2])>>2])||Vt(t)},function(t,e,i,n,r,p){var c;if(e|=0,i|=0,n|=0,r|=0,p|=0,0|(c=0|_[108+(t|=0)>>2]))fd[7&_[24+(0|_[c>>2])>>2]](c,e,i,n,r,p);else if((e=0|o[t+56>>1])<<16>>16){r=1,p=1;do{i=0|_[t+68>>2],1&o[i+(p<<2)>>1]&&(Qb[31&_[8+(0|_[n>>2])>>2]](n,(0|_[t+60>>2])+(s[i+(p<<2)+2>>1]<<6)|0),e=0|o[t+56>>1]),p=65535&(r=r+1<<16>>16)}while(((65535&e)<<1|1)>>>0>p>>>0)}},function(t,e,i,n,o,r){t|=0,e|=0,i|=0,n|=0,o|=0,r|=0,i=Q,Q=Q+16|0,_[i>>2]=9972,_[i+4>>2]=n,Ze(t+4|0,0|_[t+4>>2],e,n+4|0,n+20|0,+p[n+32>>2],o,r,i),Ze(t+64|0,0|_[t+64>>2],e,n+4|0,n+20|0,+p[n+32>>2],o,r,i),Q=i},function(t,e,i,n,o,r){i|=0,n|=0,o|=0,0|Np(t|=0,0|_[8+(e|=0)>>2])&&In(e,i,n,o)},function(t,e,i,n,o,r){i|=0,n|=0,o|=0,r|=0,0|Np(t|=0,0|_[8+(e|=0)>>2])?In(e,i,n,o):(t=0|_[t+8>>2],fd[7&_[20+(0|_[t>>2])>>2]](t,e,i,n,o,r))},function(t,e,i,o,r,s){i|=0,o|=0,r|=0,s|=0;var p=0,c=0,a=0,b=0;if(0|Np(t|=0,0|_[8+(e|=0)>>2]))In(e,i,o,r);else{c=0|n[e+52|0],a=0|n[e+53|0],b=0|_[t+12>>2],n[e+52|0]=0,n[e+53|0]=0,qn(t+16|0,e,i,o,r,s);t:do{if((0|b)>1){p=t+24|0;do{if(0|n[e+54|0])break t;if(0|n[e+52|0]){if(1==(0|_[e+24>>2]))break t;if(!(2&_[t+8>>2]))break t}else if(0|n[e+53|0]&&!(1&_[t+8>>2]))break t;n[e+52|0]=0,n[e+53|0]=0,qn(p,e,i,o,r,s),p=p+8|0}while(p>>>0<(t+16+(b<<3)|0)>>>0)}}while(0);n[e+52|0]=c,n[e+53|0]=a}},lp],ud=[function(t,e,i,n,o,_,r){v(40)},function(t,e,i,n,o,r,s){t|=0,e|=0,i|=0,o|=0,r|=0,s|=0;var c,b,d=0,l=0,A=0,f=0,u=0,m=0,h=0;if(b=Q,Q=Q+16|0,p[(n|=0)>>2]=34028234663852886e22,p[o>>2]=-34028234663852886e22,(0|(c=0|_[t+96>>2]))>0){A=0;do{h=0|_[t+104>>2],m=+p[h+(A<<4)>>2]*+p[t+12>>2],u=+p[h+(A<<4)+4>>2]*+p[t+16>>2],f=+p[h+(A<<4)+8>>2]*+p[t+20>>2],d=m*+p[e>>2]+u*+p[e+4>>2]+f*+p[e+8>>2]+ +p[e+48>>2],l=m*+p[e+16>>2]+u*+p[e+20>>2]+f*+p[e+24>>2]+ +p[e+52>>2],f=m*+p[e+32>>2]+u*+p[e+36>>2]+f*+p[e+40>>2]+ +p[e+56>>2],(u=d*+p[i>>2]+l*+p[i+4>>2]+f*+p[i+8>>2])<+p[n>>2]&&(p[n>>2]=u,p[r>>2]=d,p[r+4>>2]=l,p[r+8>>2]=f,p[r+12>>2]=0),u>+p[o>>2]&&(p[o>>2]=u,p[s>>2]=d,p[s+4>>2]=l,p[s+8>>2]=f,p[s+12>>2]=0),A=A+1|0}while((0|A)!=(0|c));l=m=+p[o>>2],p[a>>2]=m,A=0|_[a>>2]}else l=-34028234663852886e22,A=-8388609;(d=+p[n>>2])>l?(_[n>>2]=A,p[o>>2]=d,_[b>>2]=_[r>>2],_[b+4>>2]=_[r+4>>2],_[b+8>>2]=_[r+8>>2],_[b+12>>2]=_[r+12>>2],_[r>>2]=_[s>>2],_[r+4>>2]=_[s+4>>2],_[r+8>>2]=_[s+8>>2],_[r+12>>2]=_[s+12>>2],_[s>>2]=_[b>>2],_[s+4>>2]=_[b+4>>2],_[s+8>>2]=_[b+8>>2],_[s+12>>2]=_[b+12>>2],Q=b):Q=b}],md=[function(t,e,i,n,o,_,r,s,p){p=+p,v(41)},function(t,e,i,n,o,r,s,p,c){e|=0,i|=0,n|=0,p|=0,c=+c,Ad[1&_[28+(0|_[(t|=0)>>2])>>2]](t,e,i,n,p,c)}],hd=[function(t,e,i,n,o,_,r,s,p){v(42)},function(t,e,i,n,o,r,s,p,c){if(t|=0,e|=0,i|=0,n|=0,r|=0,s|=0,c|=0,0|_[44+(p|=0)>>2])if(e=0|_[p+20>>2],256&_[p+64>>2]){if((0|e)<=0)return;n=0;do{if((0|(i=0|_[t+28>>2]))>0){e=0;do{c=0|_[(0|_[t+116>>2])+(e<<2)>>2],s=0|_[t+36>>2],gt((r=0|_[t+16>>2])+(244*(0|_[s+(152*c|0)+144>>2])|0)|0,r+(244*(0|_[s+(152*c|0)+148>>2])|0)|0,s+(152*c|0)|0),e=e+1|0}while((0|e)!=(0|i));e=0|_[p+20>>2]}n=n+1|0}while((0|n)<(0|e))}else if(!((0|e)<=0)){n=0;do{if((0|(i=0|_[t+28>>2]))>0){e=0;do{c=0|_[(0|_[t+116>>2])+(e<<2)>>2],s=0|_[t+36>>2],gt((r=0|_[t+16>>2])+(244*(0|_[s+(152*c|0)+144>>2])|0)|0,r+(244*(0|_[s+(152*c|0)+148>>2])|0)|0,s+(152*c|0)|0),e=e+1|0}while((0|e)!=(0|i));e=0|_[p+20>>2]}n=n+1|0}while((0|n)<(0|e))}}],yd=[yr,xn,xn,yr];return{__GLOBAL__sub_I_btQuickprof_cpp:function(){var t;t=0|a_(8),_[6629]=t,G(0|t,0),_[6619]=21817,_[6620]=0,_[6621]=0,_[6622]=0,_[6623]=0,_[6624]=0,_[6625]=0,_[6626]=0,_[6627]=0,qo(26476)},___cxa_can_catch:function(t,e,i){var n;return t|=0,e|=0,i|=0,n=Q,Q=Q+16|0,_[n>>2]=_[i>>2],(t=0|Hb[63&_[16+(0|_[t>>2])>>2]](t,e,n))&&(_[i>>2]=_[n>>2]),Q=n,1&t},___cxa_is_pointer_type:function(t){return 0|(t=(t|=0)?1&!!(0|Xi(t,3336)):0)},___muldi3:f_,___udivdi3:pp,_bitshift64Lshr:K_,_bitshift64Shl:Z_,_emscripten_bind_Anchor___destroy___0:qp,_emscripten_bind_Anchor_get_m_body_0:oa,_emscripten_bind_Anchor_get_m_c0_0:Qa,_emscripten_bind_Anchor_get_m_c1_0:Na,_emscripten_bind_Anchor_get_m_c2_0:pa,_emscripten_bind_Anchor_get_m_influence_0:fa,_emscripten_bind_Anchor_get_m_local_0:pb,_emscripten_bind_Anchor_get_m_node_0:Da,_emscripten_bind_Anchor_set_m_body_1:oc,_emscripten_bind_Anchor_set_m_c0_1:function(t,e){Mn(28+(t|=0)|0,e|=0)},_emscripten_bind_Anchor_set_m_c1_1:function(t,e){e|=0,_[76+(t|=0)>>2]=_[e>>2],_[t+76+4>>2]=_[e+4>>2],_[t+76+8>>2]=_[e+8>>2],_[t+76+12>>2]=_[e+12>>2]},_emscripten_bind_Anchor_set_m_c2_1:fc,_emscripten_bind_Anchor_set_m_influence_1:gc,_emscripten_bind_Anchor_set_m_local_1:b_,_emscripten_bind_Anchor_set_m_node_1:kc,_emscripten_bind_ClosestConvexResultCallback_ClosestConvexResultCallback_2:function(t,e){var i;return t|=0,e|=0,Gn(i=0|a_(80),t,e),0|i},_emscripten_bind_ClosestConvexResultCallback___destroy___0:Kr,_emscripten_bind_ClosestConvexResultCallback_get_m_closestHitFraction_0:ua,_emscripten_bind_ClosestConvexResultCallback_get_m_collisionFilterGroup_0:jp,_emscripten_bind_ClosestConvexResultCallback_get_m_collisionFilterMask_0:Rp,_emscripten_bind_ClosestConvexResultCallback_get_m_convexFromWorld_0:rb,_emscripten_bind_ClosestConvexResultCallback_get_m_convexToWorld_0:Qa,_emscripten_bind_ClosestConvexResultCallback_get_m_hitNormalWorld_0:function(t){return 44+(t|=0)|0},_emscripten_bind_ClosestConvexResultCallback_get_m_hitPointWorld_0:function(t){return 60+(t|=0)|0},_emscripten_bind_ClosestConvexResultCallback_hasHit_0:ys,_emscripten_bind_ClosestConvexResultCallback_set_m_closestHitFraction_1:ea,_emscripten_bind_ClosestConvexResultCallback_set_m_collisionFilterGroup_1:Js,_emscripten_bind_ClosestConvexResultCallback_set_m_collisionFilterMask_1:Ys,_emscripten_bind_ClosestConvexResultCallback_set_m_convexFromWorld_1:function(t,e){e|=0,_[12+(t|=0)>>2]=_[e>>2],_[t+12+4>>2]=_[e+4>>2],_[t+12+8>>2]=_[e+8>>2],_[t+12+12>>2]=_[e+12>>2]},_emscripten_bind_ClosestConvexResultCallback_set_m_convexToWorld_1:function(t,e){e|=0,_[28+(t|=0)>>2]=_[e>>2],_[t+28+4>>2]=_[e+4>>2],_[t+28+8>>2]=_[e+8>>2],_[t+28+12>>2]=_[e+12>>2]},_emscripten_bind_ClosestConvexResultCallback_set_m_hitNormalWorld_1:function(t,e){e|=0,_[44+(t|=0)>>2]=_[e>>2],_[t+44+4>>2]=_[e+4>>2],_[t+44+8>>2]=_[e+8>>2],_[t+44+12>>2]=_[e+12>>2]},_emscripten_bind_ClosestConvexResultCallback_set_m_hitPointWorld_1:function(t,e){e|=0,_[60+(t|=0)>>2]=_[e>>2],_[t+60+4>>2]=_[e+4>>2],_[t+60+8>>2]=_[e+8>>2],_[t+60+12>>2]=_[e+12>>2]},_emscripten_bind_ClosestRayResultCallback_ClosestRayResultCallback_2:function(t,e){var i;return t|=0,e|=0,Nn(i=0|a_(84),t,e),0|i},_emscripten_bind_ClosestRayResultCallback___destroy___0:Kr,_emscripten_bind_ClosestRayResultCallback_get_m_closestHitFraction_0:ua,_emscripten_bind_ClosestRayResultCallback_get_m_collisionFilterGroup_0:xp,_emscripten_bind_ClosestRayResultCallback_get_m_collisionFilterMask_0:Mp,_emscripten_bind_ClosestRayResultCallback_get_m_collisionObject_0:Ac,_emscripten_bind_ClosestRayResultCallback_get_m_hitNormalWorld_0:Yc,_emscripten_bind_ClosestRayResultCallback_get_m_hitPointWorld_0:Ia,_emscripten_bind_ClosestRayResultCallback_get_m_rayFromWorld_0:function(t){return 20+(t|=0)|0},_emscripten_bind_ClosestRayResultCallback_get_m_rayToWorld_0:sa,_emscripten_bind_ClosestRayResultCallback_hasHit_0:js,_emscripten_bind_ClosestRayResultCallback_set_m_closestHitFraction_1:ea,_emscripten_bind_ClosestRayResultCallback_set_m_collisionFilterGroup_1:$s,_emscripten_bind_ClosestRayResultCallback_set_m_collisionFilterMask_1:tp,_emscripten_bind_ClosestRayResultCallback_set_m_collisionObject_1:bp,_emscripten_bind_ClosestRayResultCallback_set_m_hitNormalWorld_1:i_,_emscripten_bind_ClosestRayResultCallback_set_m_hitPointWorld_1:__,_emscripten_bind_ClosestRayResultCallback_set_m_rayFromWorld_1:function(t,e){e|=0,_[20+(t|=0)>>2]=_[e>>2],_[t+20+4>>2]=_[e+4>>2],_[t+20+8>>2]=_[e+8>>2],_[t+20+12>>2]=_[e+12>>2]},_emscripten_bind_ClosestRayResultCallback_set_m_rayToWorld_1:r_,_emscripten_bind_ConcreteContactResultCallback_ConcreteContactResultCallback_0:function(){var t;return t=0|a_(8),_[t>>2]=0,_[t+4>>2]=0,function(t){(function(t){_[(t|=0)>>2]=3600,o[t+4>>1]=1,o[t+6>>1]=-1})(t|=0),_[t>>2]=3576}(t),0|t},_emscripten_bind_ConcreteContactResultCallback___destroy___0:Kr,_emscripten_bind_ConcreteContactResultCallback_addSingleResult_7:Uo,_emscripten_bind_Config___destroy___0:function(t){(t|=0)&&(fr(t),gb(t))},_emscripten_bind_Config_get_citerations_0:$c,_emscripten_bind_Config_get_collisions_0:function(t){return 0|_[100+(t|=0)>>2]},_emscripten_bind_Config_get_diterations_0:Uc,_emscripten_bind_Config_get_kAHR_0:da,_emscripten_bind_Config_get_kCHR_0:ba,_emscripten_bind_Config_get_kDF_0:Ca,_emscripten_bind_Config_get_kDG_0:ga,_emscripten_bind_Config_get_kDP_0:ka,_emscripten_bind_Config_get_kKHR_0:aa,_emscripten_bind_Config_get_kLF_0:ya,_emscripten_bind_Config_get_kMT_0:ha,_emscripten_bind_Config_get_kPR_0:ma,_emscripten_bind_Config_get_kSHR_0:ca,_emscripten_bind_Config_get_kSKHR_CL_0:qc,_emscripten_bind_Config_get_kSK_SPLT_CL_0:Qc,_emscripten_bind_Config_get_kSRHR_CL_0:Kc,_emscripten_bind_Config_get_kSR_SPLT_CL_0:Nc,_emscripten_bind_Config_get_kSSHR_CL_0:zc,_emscripten_bind_Config_get_kSS_SPLT_CL_0:la,_emscripten_bind_Config_get_kVCF_0:ua,_emscripten_bind_Config_get_kVC_0:fa,_emscripten_bind_Config_get_maxvolume_0:Jc,_emscripten_bind_Config_get_piterations_0:Zc,_emscripten_bind_Config_get_timescale_0:function(t){return+ +p[80+(t|=0)>>2]},_emscripten_bind_Config_get_viterations_0:function(t){return 0|_[84+(t|=0)>>2]},_emscripten_bind_Config_set_citerations_1:function(t,e){e|=0,_[96+(t|=0)>>2]=e},_emscripten_bind_Config_set_collisions_1:function(t,e){e|=0,_[100+(t|=0)>>2]=e},_emscripten_bind_Config_set_diterations_1:function(t,e){e|=0,_[92+(t|=0)>>2]=e},_emscripten_bind_Config_set_kAHR_1:hc,_emscripten_bind_Config_set_kCHR_1:mc,_emscripten_bind_Config_set_kDF_1:wc,_emscripten_bind_Config_set_kDG_1:Ec,_emscripten_bind_Config_set_kDP_1:ta,_emscripten_bind_Config_set_kKHR_1:uc,_emscripten_bind_Config_set_kLF_1:Sc,_emscripten_bind_Config_set_kMT_1:vc,_emscripten_bind_Config_set_kPR_1:Cc,_emscripten_bind_Config_set_kSHR_1:Oc,_emscripten_bind_Config_set_kSKHR_CL_1:nc,_emscripten_bind_Config_set_kSK_SPLT_CL_1:zp,_emscripten_bind_Config_set_kSRHR_CL_1:ic,_emscripten_bind_Config_set_kSR_SPLT_CL_1:Xp,_emscripten_bind_Config_set_kSSHR_CL_1:ec,_emscripten_bind_Config_set_kSS_SPLT_CL_1:Dc,_emscripten_bind_Config_set_kVCF_1:ea,_emscripten_bind_Config_set_kVC_1:gc,_emscripten_bind_Config_set_maxvolume_1:tc,_emscripten_bind_Config_set_piterations_1:Lp,_emscripten_bind_Config_set_timescale_1:function(t,e){e=+e,p[80+(t|=0)>>2]=e},_emscripten_bind_Config_set_viterations_1:Gp,_emscripten_bind_ContactResultCallback___destroy___0:Kr,_emscripten_bind_ContactResultCallback_addSingleResult_7:Uo,_emscripten_bind_ConvexResultCallback___destroy___0:Kr,_emscripten_bind_ConvexResultCallback_get_m_closestHitFraction_0:ua,_emscripten_bind_ConvexResultCallback_get_m_collisionFilterGroup_0:jp,_emscripten_bind_ConvexResultCallback_get_m_collisionFilterMask_0:Rp,_emscripten_bind_ConvexResultCallback_hasHit_0:ys,_emscripten_bind_ConvexResultCallback_set_m_closestHitFraction_1:ea,_emscripten_bind_ConvexResultCallback_set_m_collisionFilterGroup_1:Js,_emscripten_bind_ConvexResultCallback_set_m_collisionFilterMask_1:Ys,_emscripten_bind_DebugDrawer_DebugDrawer_0:function(){var t;return t=0|a_(4),_[t>>2]=0,function(t){(function(t){_[(t|=0)>>2]=3476})(t|=0),_[t>>2]=3376}(t),0|t},_emscripten_bind_DebugDrawer___destroy___0:Kr,_emscripten_bind_DebugDrawer_draw3dText_2:Fr,_emscripten_bind_DebugDrawer_drawContactPoint_5:v_,_emscripten_bind_DebugDrawer_drawLine_3:Ar,_emscripten_bind_DebugDrawer_getDebugMode_0:Ns,_emscripten_bind_DebugDrawer_reportErrorWarning_1:es,_emscripten_bind_DebugDrawer_setDebugMode_1:as,_emscripten_bind_LocalConvexResult_LocalConvexResult_5:function(t,e,i,n,o){var _;return t|=0,e|=0,i|=0,n|=0,o=+o,Vn(_=0|a_(44),t,e,i,n,o),0|_},_emscripten_bind_LocalConvexResult___destroy___0:qp,_emscripten_bind_LocalConvexResult_get_m_hitCollisionObject_0:Da,_emscripten_bind_LocalConvexResult_get_m_hitFraction_0:aa,_emscripten_bind_LocalConvexResult_get_m_hitNormalLocal_0:sb,_emscripten_bind_LocalConvexResult_get_m_hitPointLocal_0:Ha,_emscripten_bind_LocalConvexResult_get_m_localShapeInfo_0:Hc,_emscripten_bind_LocalConvexResult_set_m_hitCollisionObject_1:kc,_emscripten_bind_LocalConvexResult_set_m_hitFraction_1:uc,_emscripten_bind_LocalConvexResult_set_m_hitNormalLocal_1:h_,_emscripten_bind_LocalConvexResult_set_m_hitPointLocal_1:A_,_emscripten_bind_LocalConvexResult_set_m_localShapeInfo_1:fp,_emscripten_bind_LocalShapeInfo___destroy___0:qp,_emscripten_bind_LocalShapeInfo_get_m_shapePart_0:Da,_emscripten_bind_LocalShapeInfo_get_m_triangleIndex_0:Hc,_emscripten_bind_LocalShapeInfo_set_m_shapePart_1:kc,_emscripten_bind_LocalShapeInfo_set_m_triangleIndex_1:fp,_emscripten_bind_Material___destroy___0:qp,_emscripten_bind_Material_get_m_flags_0:Xc,_emscripten_bind_Material_get_m_kAST_0:ka,_emscripten_bind_Material_get_m_kLST_0:ua,_emscripten_bind_Material_get_m_kVST_0:ga,_emscripten_bind_Material_set_m_flags_1:function(t,e){e|=0,_[16+(t|=0)>>2]=e},_emscripten_bind_Material_set_m_kAST_1:ta,_emscripten_bind_Material_set_m_kLST_1:ea,_emscripten_bind_Material_set_m_kVST_1:Ec,_emscripten_bind_Node___destroy___0:qp,_emscripten_bind_Node_get_m_area_0:pa,_emscripten_bind_Node_get_m_f_0:function(t){return 56+(t|=0)|0},_emscripten_bind_Node_get_m_im_0:function(t){return+ +p[88+(t|=0)>>2]},_emscripten_bind_Node_get_m_n_0:function(t){return 72+(t|=0)|0},_emscripten_bind_Node_get_m_q_0:Ha,_emscripten_bind_Node_get_m_v_0:Ea,_emscripten_bind_Node_get_m_x_0:sb,_emscripten_bind_Node_set_m_area_1:fc,_emscripten_bind_Node_set_m_f_1:function(t,e){e|=0,_[56+(t|=0)>>2]=_[e>>2],_[t+56+4>>2]=_[e+4>>2],_[t+56+8>>2]=_[e+8>>2],_[t+56+12>>2]=_[e+12>>2]},_emscripten_bind_Node_set_m_im_1:function(t,e){e=+e,p[88+(t|=0)>>2]=e},_emscripten_bind_Node_set_m_n_1:function(t,e){e|=0,_[72+(t|=0)>>2]=_[e>>2],_[t+72+4>>2]=_[e+4>>2],_[t+72+8>>2]=_[e+8>>2],_[t+72+12>>2]=_[e+12>>2]},_emscripten_bind_Node_set_m_q_1:A_,_emscripten_bind_Node_set_m_v_1:l_,_emscripten_bind_Node_set_m_x_1:h_,_emscripten_bind_RayResultCallback___destroy___0:Kr,_emscripten_bind_RayResultCallback_get_m_closestHitFraction_0:ua,_emscripten_bind_RayResultCallback_get_m_collisionFilterGroup_0:xp,_emscripten_bind_RayResultCallback_get_m_collisionFilterMask_0:Mp,_emscripten_bind_RayResultCallback_get_m_collisionObject_0:Ac,_emscripten_bind_RayResultCallback_hasHit_0:js,_emscripten_bind_RayResultCallback_set_m_closestHitFraction_1:ea,_emscripten_bind_RayResultCallback_set_m_collisionFilterGroup_1:$s,_emscripten_bind_RayResultCallback_set_m_collisionFilterMask_1:tp,_emscripten_bind_RayResultCallback_set_m_collisionObject_1:bp,_emscripten_bind_RaycastInfo___destroy___0:qp,_emscripten_bind_RaycastInfo_get_m_contactNormalWS_0:vb,_emscripten_bind_RaycastInfo_get_m_contactPointWS_0:ia,_emscripten_bind_RaycastInfo_get_m_groundObject_0:Zc,_emscripten_bind_RaycastInfo_get_m_hardPointWS_0:sa,_emscripten_bind_RaycastInfo_get_m_isInContact_0:function(t){return 0|!!(1&n[84+(t|=0)|0])},_emscripten_bind_RaycastInfo_get_m_suspensionLength_0:ha,_emscripten_bind_RaycastInfo_get_m_wheelAxleWS_0:Ia,_emscripten_bind_RaycastInfo_get_m_wheelDirectionWS_0:Yc,_emscripten_bind_RaycastInfo_set_m_contactNormalWS_1:d_,_emscripten_bind_RaycastInfo_set_m_contactPointWS_1:o_,_emscripten_bind_RaycastInfo_set_m_groundObject_1:Lp,_emscripten_bind_RaycastInfo_set_m_hardPointWS_1:r_,_emscripten_bind_RaycastInfo_set_m_isInContact_1:function(t,e){e|=0,n[84+(t|=0)|0]=1&e},_emscripten_bind_RaycastInfo_set_m_suspensionLength_1:vc,_emscripten_bind_RaycastInfo_set_m_wheelAxleWS_1:__,_emscripten_bind_RaycastInfo_set_m_wheelDirectionWS_1:i_,_emscripten_bind_VoidPtr___destroy___0:qp,_emscripten_bind_btActionInterface___destroy___0:Kr,_emscripten_bind_btActionInterface_updateAction_2:Br,_emscripten_bind_btAxisSweep3___destroy___0:Kr,_emscripten_bind_btAxisSweep3_btAxisSweep3_2:function(t,e){var i;return t|=0,e|=0,Ge(i=0|I_(),t,e,16384,0,0),0|i},_emscripten_bind_btAxisSweep3_btAxisSweep3_3:function(t,e,i){var n;return t|=0,e|=0,i|=0,Ge(n=0|I_(),t,e,65535&i,0,0),0|n},_emscripten_bind_btAxisSweep3_btAxisSweep3_4:function(t,e,i,n){var o;return t|=0,e|=0,i|=0,n|=0,Ge(o=0|I_(),t,e,65535&i,n,0),0|o},_emscripten_bind_btAxisSweep3_btAxisSweep3_5:function(t,e,i,n,o){var _;return t|=0,e|=0,i|=0,n|=0,o|=0,Ge(_=0|I_(),t,e,65535&i,n,o),0|_},_emscripten_bind_btBoxShape___destroy___0:Kr,_emscripten_bind_btBoxShape_btBoxShape_1:function(t){t|=0;var e,i=0,n=0,o=0,r=0,s=0;return e=0|N_(),_[e+8>>2]=0,_[e+12>>2]=1065353216,_[e+16>>2]=1065353216,_[e+20>>2]=1065353216,p[e+24>>2]=0,p[e+44>>2]=.03999999910593033,_[e+52>>2]=0,_[e>>2]=8840,_[e+4>>2]=0,o=+p[t>>2],n=+p[t+4>>2],i=+p[t+8>>2],(i=.10000000149011612*+p[t+((o<n?o<i?0:2:n<i?1:2)<<2)>>2])<.03999999910593033&&(s=+ca(e),r=+ca(e),o=+ca(e),s+=+p[e+28>>2],r+=+p[e+32>>2],o+=+p[e+36>>2],p[e+44>>2]=i,i=+ca(e),n=+ca(e),o-=+ca(e),p[e+28>>2]=s-i,p[e+32>>2]=r-n,p[e+36>>2]=o,p[e+40>>2]=0),o=+ca(e),r=+ca(e),s=+ca(e),r=+p[t+4>>2]-r,s=+p[t+8>>2]-s,p[e+28>>2]=+p[t>>2]-o,p[e+32>>2]=r,p[e+36>>2]=s,p[e+40>>2]=0,0|e},_emscripten_bind_btBoxShape_calculateLocalInertia_2:Sr,_emscripten_bind_btBoxShape_getLocalScaling_0:Gs,_emscripten_bind_btBoxShape_getMargin_0:Us,_emscripten_bind_btBoxShape_setLocalScaling_1:ps,_emscripten_bind_btBoxShape_setMargin_1:hs,_emscripten_bind_btBroadphaseInterface___destroy___0:Kr,_emscripten_bind_btBroadphaseProxy___destroy___0:sp,_emscripten_bind_btBroadphaseProxy_get_m_collisionFilterGroup_0:function(t){return 0|o[4+(t|=0)>>1]},_emscripten_bind_btBroadphaseProxy_get_m_collisionFilterMask_0:function(t){return 0|o[6+(t|=0)>>1]},_emscripten_bind_btBroadphaseProxy_set_m_collisionFilterGroup_1:function(t,e){e|=0,o[4+(t|=0)>>1]=e},_emscripten_bind_btBroadphaseProxy_set_m_collisionFilterMask_1:function(t,e){e|=0,o[6+(t|=0)>>1]=e},_emscripten_bind_btBvhTriangleMeshShape___destroy___0:Kr,_emscripten_bind_btBvhTriangleMeshShape_btBvhTriangleMeshShape_2:function(t,e){var i;return t|=0,e|=0,pi(i=0|G_(),t,e,1),0|i},_emscripten_bind_btBvhTriangleMeshShape_btBvhTriangleMeshShape_3:function(t,e,i){var n;return t|=0,e|=0,i|=0,pi(n=0|G_(),t,e,i),0|n},_emscripten_bind_btBvhTriangleMeshShape_calculateLocalInertia_2:Sr,_emscripten_bind_btBvhTriangleMeshShape_getLocalScaling_0:Gs,_emscripten_bind_btBvhTriangleMeshShape_setLocalScaling_1:ps,_emscripten_bind_btCapsuleShapeX___destroy___0:Kr,_emscripten_bind_btCapsuleShapeX_btCapsuleShapeX_2:function(t,e){var i;return t=+t,e=+e,i=0|N_(),_[i+8>>2]=0,_[i+12>>2]=1065353216,_[i+16>>2]=1065353216,_[i+20>>2]=1065353216,p[i+24>>2]=0,p[i+44>>2]=.03999999910593033,_[i+4>>2]=10,_[i>>2]=8488,_[i+52>>2]=0,p[i+28>>2]=.5*e,p[i+32>>2]=t,p[i+36>>2]=t,p[i+40>>2]=0,0|i},_emscripten_bind_btCapsuleShapeX_calculateLocalInertia_2:Sr,_emscripten_bind_btCapsuleShapeX_getHalfHeight_0:yp,_emscripten_bind_btCapsuleShapeX_getLocalScaling_0:Gs,_emscripten_bind_btCapsuleShapeX_getMargin_0:Us,_emscripten_bind_btCapsuleShapeX_getRadius_0:Jp,_emscripten_bind_btCapsuleShapeX_getUpAxis_0:Kp,_emscripten_bind_btCapsuleShapeX_setLocalScaling_1:ps,_emscripten_bind_btCapsuleShapeX_setMargin_1:hs,_emscripten_bind_btCapsuleShapeZ___destroy___0:Kr,_emscripten_bind_btCapsuleShapeZ_btCapsuleShapeZ_2:function(t,e){var i;return t=+t,e=+e,i=0|N_(),_[i+8>>2]=0,_[i+12>>2]=1065353216,_[i+16>>2]=1065353216,_[i+20>>2]=1065353216,p[i+24>>2]=0,p[i+44>>2]=.03999999910593033,_[i+4>>2]=10,_[i>>2]=8588,_[i+52>>2]=2,p[i+28>>2]=t,p[i+32>>2]=t,p[i+36>>2]=.5*e,p[i+40>>2]=0,0|i},_emscripten_bind_btCapsuleShapeZ_calculateLocalInertia_2:Sr,_emscripten_bind_btCapsuleShapeZ_getHalfHeight_0:yp,_emscripten_bind_btCapsuleShapeZ_getLocalScaling_0:Gs,_emscripten_bind_btCapsuleShapeZ_getMargin_0:Us,_emscripten_bind_btCapsuleShapeZ_getRadius_0:Jp,_emscripten_bind_btCapsuleShapeZ_getUpAxis_0:Kp,_emscripten_bind_btCapsuleShapeZ_setLocalScaling_1:ps,_emscripten_bind_btCapsuleShapeZ_setMargin_1:hs,_emscripten_bind_btCapsuleShape___destroy___0:Kr,_emscripten_bind_btCapsuleShape_btCapsuleShape_2:function(t,e){var i;return t=+t,e=+e,i=0|N_(),_[i+8>>2]=0,_[i+12>>2]=1065353216,_[i+16>>2]=1065353216,_[i+20>>2]=1065353216,p[i+24>>2]=0,p[i+44>>2]=.03999999910593033,_[i>>2]=8388,_[i+4>>2]=10,_[i+52>>2]=1,p[i+28>>2]=t,p[i+32>>2]=.5*e,p[i+36>>2]=t,p[i+40>>2]=0,0|i},_emscripten_bind_btCapsuleShape_calculateLocalInertia_2:Sr,_emscripten_bind_btCapsuleShape_getHalfHeight_0:yp,_emscripten_bind_btCapsuleShape_getLocalScaling_0:Gs,_emscripten_bind_btCapsuleShape_getMargin_0:Us,_emscripten_bind_btCapsuleShape_getRadius_0:Jp,_emscripten_bind_btCapsuleShape_getUpAxis_0:Kp,_emscripten_bind_btCapsuleShape_setLocalScaling_1:ps,_emscripten_bind_btCapsuleShape_setMargin_1:hs,_emscripten_bind_btCollisionConfiguration___destroy___0:Kr,_emscripten_bind_btCollisionDispatcher___destroy___0:Kr,_emscripten_bind_btCollisionDispatcher_btCollisionDispatcher_1:function(t){t|=0;var e,i=0,o=0;e=0|a_(5260),_[e>>2]=6028,_[e+4>>2]=2,n[e+24|0]=1,_[e+20>>2]=0,_[e+12>>2]=0,_[e+16>>2]=0,_[e+28>>2]=6500,_[e+5256>>2]=t,_[e+60>>2]=80,i=0|Lb[127&_[12+(0|_[t>>2])>>2]](t),_[e+64>>2]=i,t=0|Lb[127&_[8+(0|_[t>>2])>>2]](t),_[e+68>>2]=t,t=0;do{i=0;do{o=0|_[e+5256>>2],o=0|Hb[63&_[16+(0|_[o>>2])>>2]](o,t,i),_[e+72+(144*t|0)+(i<<2)>>2]=o,i=i+1|0}while(i>>>0<36);t=t+1|0}while(t>>>0<36);return 0|e},_emscripten_bind_btCollisionDispatcher_getManifoldByIndexInternal_1:Qr,_emscripten_bind_btCollisionDispatcher_getNumManifolds_0:Xs,_emscripten_bind_btCollisionObject___destroy___0:Xr,_emscripten_bind_btCollisionObject_activate_0:J_,_emscripten_bind_btCollisionObject_activate_1:k_,_emscripten_bind_btCollisionObject_forceActivationState_1:dp,_emscripten_bind_btCollisionObject_getCollisionFlags_0:Bp,_emscripten_bind_btCollisionObject_getCollisionShape_0:Ip,_emscripten_bind_btCollisionObject_getUserIndex_0:wp,_emscripten_bind_btCollisionObject_getUserPointer_0:Zp,_emscripten_bind_btCollisionObject_getWorldTransform_0:Bc,_emscripten_bind_btCollisionObject_isActive_0:np,_emscripten_bind_btCollisionObject_isKinematicObject_0:ks,_emscripten_bind_btCollisionObject_isStaticObject_0:Ms,_emscripten_bind_btCollisionObject_isStaticOrKinematicObject_0:rs,_emscripten_bind_btCollisionObject_setActivationState_1:Mr,_emscripten_bind_btCollisionObject_setAnisotropicFriction_2:Cr,_emscripten_bind_btCollisionObject_setCcdMotionThreshold_1:Ss,_emscripten_bind_btCollisionObject_setCcdSweptSphereRadius_1:ms,_emscripten_bind_btCollisionObject_setCollisionFlags_1:xs,_emscripten_bind_btCollisionObject_setCollisionShape_1:is,_emscripten_bind_btCollisionObject_setContactProcessingThreshold_1:Rs,_emscripten_bind_btCollisionObject_setFriction_1:ip,_emscripten_bind_btCollisionObject_setRestitution_1:Zs,_emscripten_bind_btCollisionObject_setRollingFriction_1:Ps,_emscripten_bind_btCollisionObject_setUserIndex_1:Ks,_emscripten_bind_btCollisionObject_setUserPointer_1:Ks,_emscripten_bind_btCollisionObject_setWorldTransform_1:bs,_emscripten_bind_btCollisionShape___destroy___0:Kr,_emscripten_bind_btCollisionShape_calculateLocalInertia_2:Sr,_emscripten_bind_btCollisionShape_getLocalScaling_0:Gs,_emscripten_bind_btCollisionShape_getMargin_0:Us,_emscripten_bind_btCollisionShape_setLocalScaling_1:ps,_emscripten_bind_btCollisionShape_setMargin_1:hs,_emscripten_bind_btCollisionWorld___destroy___0:Kr,_emscripten_bind_btCollisionWorld_addCollisionObject_1:Pr,_emscripten_bind_btCollisionWorld_addCollisionObject_2:ur,_emscripten_bind_btCollisionWorld_addCollisionObject_3:tr,_emscripten_bind_btCollisionWorld_btCollisionWorld_3:function(t,e,i){return t|=0,e|=0,i|=0,i=0|a_(80),_[i>>2]=6528,n[i+20|0]=1,_[i+16>>2]=0,_[i+8>>2]=0,_[i+12>>2]=0,_[i+24>>2]=t,p[i+28>>2]=0,_[i+32>>2]=0,_[i+36>>2]=1,p[i+40>>2]=1,n[i+44|0]=1,_[i+48>>2]=0,n[i+52|0]=0,n[i+53|0]=1,n[i+54|0]=1,p[i+56>>2]=.03999999910593033,n[i+60|0]=0,p[i+64>>2]=0,_[i+68>>2]=e,_[i+72>>2]=0,n[i+76|0]=1,0|i},_emscripten_bind_btCollisionWorld_contactPairTest_3:an,_emscripten_bind_btCollisionWorld_contactTest_2:Qn,_emscripten_bind_btCollisionWorld_convexSweepTest_5:$o,_emscripten_bind_btCollisionWorld_debugDrawObject_3:or,_emscripten_bind_btCollisionWorld_debugDrawWorld_0:Ts,_emscripten_bind_btCollisionWorld_getBroadphase_0:Fp,_emscripten_bind_btCollisionWorld_getDebugDrawer_0:Bs,_emscripten_bind_btCollisionWorld_getDispatchInfo_0:Cp,_emscripten_bind_btCollisionWorld_getDispatcher_0:Wp,_emscripten_bind_btCollisionWorld_getPairCache_0:Ls,_emscripten_bind_btCollisionWorld_performDiscreteCollisionDetection_0:ws,_emscripten_bind_btCollisionWorld_rayTest_3:br,_emscripten_bind_btCollisionWorld_removeCollisionObject_1:Ur,_emscripten_bind_btCollisionWorld_setDebugDrawer_1:ts,_emscripten_bind_btCollisionWorld_updateSingleAabb_1:ns,_emscripten_bind_btCompoundShape___destroy___0:Kr,_emscripten_bind_btCompoundShape_addChildShape_2:function(t,e,i){e|=0,i|=0;var o,r,s,c=0,a=0,b=0,d=0,l=0,A=0,f=0,u=0,m=0;if(s=Q,Q=Q+128|0,_[68+(t|=0)>>2]=1+(0|_[t+68>>2]),_[s>>2]=_[e>>2],_[s+4>>2]=_[e+4>>2],_[s+8>>2]=_[e+8>>2],_[s+12>>2]=_[e+12>>2],_[s+16>>2]=_[e+16>>2],_[s+16+4>>2]=_[e+16+4>>2],_[s+16+8>>2]=_[e+16+8>>2],_[s+16+12>>2]=_[e+16+12>>2],_[s+32>>2]=_[e+32>>2],_[s+32+4>>2]=_[e+32+4>>2],_[s+32+8>>2]=_[e+32+8>>2],_[s+32+12>>2]=_[e+32+12>>2],_[s+48>>2]=_[e+48>>2],_[s+48+4>>2]=_[e+48+4>>2],_[s+48+8>>2]=_[e+48+8>>2],_[s+48+12>>2]=_[e+48+12>>2],o=0|_[i+4>>2],r=+Bb[15&_[48+(0|_[i>>2])>>2]](i),cd[127&_[8+(0|_[i>>2])>>2]](i,e,s+112|0,s+96|0),c=+p[s+112>>2],+p[t+32>>2]>c&&(p[t+32>>2]=c),c=+p[s+96>>2],+p[t+48>>2]<c&&(p[t+48>>2]=c),c=+p[s+112+4>>2],+p[t+36>>2]>c&&(p[t+36>>2]=c),c=+p[s+96+4>>2],+p[t+52>>2]<c&&(p[t+52>>2]=c),c=+p[s+112+8>>2],+p[t+40>>2]>c&&(p[t+40>>2]=c),c=+p[s+96+8>>2],+p[t+56>>2]<c&&(p[t+56>>2]=c),l=0|_[t+64>>2]){if(_[s+64>>2]=_[s+112>>2],_[s+64+4>>2]=_[s+112+4>>2],_[s+64+8>>2]=_[s+112+8>>2],_[s+64+12>>2]=_[s+112+12>>2],_[s+64+16>>2]=_[s+96>>2],_[s+64+16+4>>2]=_[s+96+4>>2],_[s+64+16+8>>2]=_[s+96+8>>2],_[s+64+16+12>>2]=_[s+96+12>>2],d=0|_[t+16>>2],e=0|_[l+4>>2])_[l+4>>2]=0;else{_[6630]=1+(0|_[6630]),(e=0|di(63))?(_[(e+4+15&-16)-4>>2]=e,e=e+4+15&-16):e=0,b=(a=e)+44|0;do{_[a>>2]=0,a=a+4|0}while((0|a)<(0|b))}_[e+32>>2]=0,_[e+36>>2]=d,_[e+40>>2]=0,_[e>>2]=_[s+64>>2],_[e+4>>2]=_[s+64+4>>2],_[e+8>>2]=_[s+64+8>>2],_[e+12>>2]=_[s+64+12>>2],_[e+16>>2]=_[s+64+16>>2],_[e+20>>2]=_[s+64+20>>2],_[e+24>>2]=_[s+64+24>>2],_[e+28>>2]=_[s+64+28>>2],U(l,0|_[l>>2],e),_[l+12>>2]=1+(0|_[l+12>>2]),l=t+16|0,d=e}else l=t+16|0,d=0;if((0|(e=0|_[l>>2]))==(0|_[t+20>>2])&&(0|e)<(0|(A=0|e?e<<1:1))){if(A?(_[6630]=1+(0|_[6630]),(e=0|di(16+(80*A|3)|0))?(_[(e+4+15&-16)-4>>2]=e,e=e+4+15&-16):e=0,b=e,e=0|_[l>>2]):b=0,(0|e)>0){a=0;do{f=b+(80*a|0)|0,m=(u=0|_[t+24>>2])+(80*a|0)|0,_[f>>2]=_[m>>2],_[f+4>>2]=_[m+4>>2],_[f+8>>2]=_[m+8>>2],_[f+12>>2]=_[m+12>>2],f=u+(80*a|0)+16|0,_[(m=b+(80*a|0)+16|0)>>2]=_[f>>2],_[m+4>>2]=_[f+4>>2],_[m+8>>2]=_[f+8>>2],_[m+12>>2]=_[f+12>>2],m=u+(80*a|0)+32|0,_[(f=b+(80*a|0)+32|0)>>2]=_[m>>2],_[f+4>>2]=_[m+4>>2],_[f+8>>2]=_[m+8>>2],_[f+12>>2]=_[m+12>>2],m=u+(80*a|0)+48|0,_[(f=b+(80*a|0)+48|0)>>2]=_[m>>2],_[f+4>>2]=_[m+4>>2],_[f+8>>2]=_[m+8>>2],_[f+12>>2]=_[m+12>>2],u=u+(80*a|0)+64|0,_[(f=b+(80*a|0)+64|0)>>2]=_[u>>2],_[f+4>>2]=_[u+4>>2],_[f+8>>2]=_[u+8>>2],_[f+12>>2]=_[u+12>>2],a=a+1|0}while((0|a)!=(0|e))}0|(e=0|_[t+24>>2])&&(0|n[t+28|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+24>>2]=0),n[t+28|0]=1,_[t+24>>2]=b,_[t+20>>2]=A,e=0|_[l>>2]}m=0|_[t+24>>2],_[(u=m+(80*e|0)|0)>>2]=_[s>>2],_[u+4>>2]=_[s+4>>2],_[u+8>>2]=_[s+8>>2],_[u+12>>2]=_[s+12>>2],_[(u=m+(80*e|0)+16|0)>>2]=_[s+16>>2],_[u+4>>2]=_[s+16+4>>2],_[u+8>>2]=_[s+16+8>>2],_[u+12>>2]=_[s+16+12>>2],_[(u=m+(80*e|0)+32|0)>>2]=_[s+32>>2],_[u+4>>2]=_[s+32+4>>2],_[u+8>>2]=_[s+32+8>>2],_[u+12>>2]=_[s+32+12>>2],_[(u=m+(80*e|0)+48|0)>>2]=_[s+48>>2],_[u+4>>2]=_[s+48+4>>2],_[u+8>>2]=_[s+48+8>>2],_[u+12>>2]=_[s+48+12>>2],_[(m=m+(80*e|0)+64|0)>>2]=i,_[m+4>>2]=o,p[m+8>>2]=r,_[m+12>>2]=d,_[l>>2]=1+(0|_[l>>2]),Q=s},_emscripten_bind_btCompoundShape_btCompoundShape_0:function(){var t,e=0;return t=0|V_(),_[t+8>>2]=0,_[t>>2]=7188,n[t+28|0]=1,_[t+24>>2]=0,_[t+16>>2]=0,_[t+20>>2]=0,_[t+32>>2]=1566444395,_[t+36>>2]=1566444395,_[t+40>>2]=1566444395,p[t+44>>2]=0,_[t+48>>2]=-581039253,_[t+52>>2]=-581039253,_[t+56>>2]=-581039253,p[t+60>>2]=0,_[t+64>>2]=0,_[t+68>>2]=1,p[t+72>>2]=0,_[t+76>>2]=1065353216,_[t+80>>2]=1065353216,_[t+84>>2]=1065353216,p[t+88>>2]=0,_[t+4>>2]=31,_[6630]=1+(0|_[6630]),(e=0|di(79))?(_[(e+4+15&-16)-4>>2]=e,e=e+4+15&-16):e=0,n[e+36|0]=1,_[e+32>>2]=0,_[e+24>>2]=0,_[e+28>>2]=0,n[e+56|0]=1,_[e+52>>2]=0,_[e+44>>2]=0,_[e+48>>2]=0,_[e>>2]=0,_[e+4>>2]=0,_[e+8>>2]=-1,_[e+12>>2]=0,_[e+16>>2]=0,_[t+64>>2]=e,0|t},_emscripten_bind_btCompoundShape_btCompoundShape_1:function(t){var e;return t|=0,e=0|V_(),_[e+8>>2]=0,_[e>>2]=7188,n[e+28|0]=1,_[e+24>>2]=0,_[e+16>>2]=0,_[e+20>>2]=0,_[e+32>>2]=1566444395,_[e+36>>2]=1566444395,_[e+40>>2]=1566444395,p[e+44>>2]=0,_[e+48>>2]=-581039253,_[e+52>>2]=-581039253,_[e+56>>2]=-581039253,p[e+60>>2]=0,_[e+64>>2]=0,_[e+68>>2]=1,p[e+72>>2]=0,_[e+76>>2]=1065353216,_[e+80>>2]=1065353216,_[e+84>>2]=1065353216,p[e+88>>2]=0,_[e+4>>2]=31,t?(_[6630]=1+(0|_[6630]),(t=0|di(79))?(_[(t+4+15&-16)-4>>2]=t,t=t+4+15&-16):t=0,n[t+36|0]=1,_[t+32>>2]=0,_[t+24>>2]=0,_[t+28>>2]=0,n[t+56|0]=1,_[t+52>>2]=0,_[t+44>>2]=0,_[t+48>>2]=0,_[t>>2]=0,_[t+4>>2]=0,_[t+8>>2]=-1,_[t+12>>2]=0,_[t+16>>2]=0,_[e+64>>2]=t,0|e):0|e},_emscripten_bind_btCompoundShape_calculateLocalInertia_2:Sr,_emscripten_bind_btCompoundShape_getChildShape_1:function(t,e){return 0|function(t,e){return e|=0,e=64+(0|function(t,e){return(t|=0)+(80*(e|=0)|0)|0}(0|_[24+(t|=0)>>2],e))|0,0|_[e>>2]}(t|=0,e|=0)},_emscripten_bind_btCompoundShape_getLocalScaling_0:Gs,_emscripten_bind_btCompoundShape_getMargin_0:Us,_emscripten_bind_btCompoundShape_getNumChildShapes_0:function(t){return 0|function(t){return 0|vb(0|_[(t|=0)+16>>2])}(t|=0)},_emscripten_bind_btCompoundShape_recalculateLocalAabb_0:function(t){zb[511&_[68+(0|_[(t|=0)>>2])>>2]](t)},_emscripten_bind_btCompoundShape_removeChildShapeByIndex_1:function(t,e){Qe(t|=0,e|=0)},_emscripten_bind_btCompoundShape_setLocalScaling_1:ps,_emscripten_bind_btCompoundShape_setMargin_1:hs,_emscripten_bind_btCompoundShape_updateChildTransform_2:function(t,e,i){e|=0,i|=0;var n,o,r=0,s=0,p=0;if(o=Q,Q=Q+64|0,p=0|_[24+(t|=0)>>2],_[p+(80*e|0)>>2]=_[i>>2],_[p+(80*e|0)+4>>2]=_[i+4>>2],_[p+(80*e|0)+8>>2]=_[i+8>>2],_[p+(80*e|0)+12>>2]=_[i+12>>2],_[p+(80*e|0)+16>>2]=_[i+16>>2],_[p+(80*e|0)+16+4>>2]=_[i+16+4>>2],_[p+(80*e|0)+16+8>>2]=_[i+16+8>>2],_[p+(80*e|0)+16+12>>2]=_[i+16+12>>2],_[p+(80*e|0)+32>>2]=_[i+32>>2],_[p+(80*e|0)+32+4>>2]=_[i+32+4>>2],_[p+(80*e|0)+32+8>>2]=_[i+32+8>>2],_[p+(80*e|0)+32+12>>2]=_[i+32+12>>2],_[p+(80*e|0)+48>>2]=_[i+48>>2],_[p+(80*e|0)+48+4>>2]=_[i+48+4>>2],_[p+(80*e|0)+48+8>>2]=_[i+48+8>>2],_[p+(80*e|0)+48+12>>2]=_[i+48+12>>2],!(0|_[t+64>>2]))return p=0|_[t>>2],p=0|_[(p=p+68|0)>>2],zb[511&p](t),void(Q=o);p=0|_[(0|_[t+24>>2])+(80*e|0)+64>>2],cd[127&_[8+(0|_[p>>2])>>2]](p,i,o+48|0,o+32|0),_[o>>2]=_[o+48>>2],_[o+4>>2]=_[o+48+4>>2],_[o+8>>2]=_[o+48+8>>2],_[o+12>>2]=_[o+48+12>>2],_[o+16>>2]=_[o+32>>2],_[o+16+4>>2]=_[o+32+4>>2],_[o+16+8>>2]=_[o+32+8>>2],_[o+16+12>>2]=_[o+32+12>>2],i=0|Tt(p=0|_[t+64>>2],n=0|_[(0|_[t+24>>2])+(80*e|0)+76>>2]);t:do{if(i){if((0|(s=0|_[p+8>>2]))<=-1){i=0|_[p>>2];break}if(s)for(e=0;;){if(e=e+1|0,!(r=0|_[i+32>>2]))break t;if((0|e)>=(0|s)){i=r;break}i=r}}else i=0}while(0);_[n>>2]=_[o>>2],_[n+4>>2]=_[o+4>>2],_[n+8>>2]=_[o+8>>2],_[n+12>>2]=_[o+12>>2],_[n+16>>2]=_[o+16>>2],_[n+20>>2]=_[o+20>>2],_[n+24>>2]=_[o+24>>2],_[n+28>>2]=_[o+28>>2],U(p,i,n),p=0|_[t>>2],p=0|_[(p=p+68|0)>>2],zb[511&p](t),Q=o},_emscripten_bind_btCompoundShape_updateChildTransform_3:function(t,e,i,n){e|=0,i|=0,n|=0;var o,r=0,s=0,p=0,c=0;if(o=Q,Q=Q+64|0,c=0|_[24+(t|=0)>>2],_[c+(80*e|0)>>2]=_[i>>2],_[c+(80*e|0)+4>>2]=_[i+4>>2],_[c+(80*e|0)+8>>2]=_[i+8>>2],_[c+(80*e|0)+12>>2]=_[i+12>>2],_[c+(80*e|0)+16>>2]=_[i+16>>2],_[c+(80*e|0)+16+4>>2]=_[i+16+4>>2],_[c+(80*e|0)+16+8>>2]=_[i+16+8>>2],_[c+(80*e|0)+16+12>>2]=_[i+16+12>>2],_[c+(80*e|0)+32>>2]=_[i+32>>2],_[c+(80*e|0)+32+4>>2]=_[i+32+4>>2],_[c+(80*e|0)+32+8>>2]=_[i+32+8>>2],_[c+(80*e|0)+32+12>>2]=_[i+32+12>>2],_[c+(80*e|0)+48>>2]=_[i+48>>2],_[c+(80*e|0)+48+4>>2]=_[i+48+4>>2],_[c+(80*e|0)+48+8>>2]=_[i+48+8>>2],_[c+(80*e|0)+48+12>>2]=_[i+48+12>>2],0|_[t+64>>2]){c=0|_[(0|_[t+24>>2])+(80*e|0)+64>>2],cd[127&_[8+(0|_[c>>2])>>2]](c,i,o+48|0,o+32|0),_[o>>2]=_[o+48>>2],_[o+4>>2]=_[o+48+4>>2],_[o+8>>2]=_[o+48+8>>2],_[o+12>>2]=_[o+48+12>>2],_[o+16>>2]=_[o+32>>2],_[o+16+4>>2]=_[o+32+4>>2],_[o+16+8>>2]=_[o+32+8>>2],_[o+16+12>>2]=_[o+32+12>>2],i=0|Tt(c=0|_[t+64>>2],p=0|_[(0|_[t+24>>2])+(80*e|0)+76>>2]);t:do{if(i){if((0|(s=0|_[c+8>>2]))<=-1){i=0|_[c>>2];break}if(s)for(e=0;;){if(e=e+1|0,!(r=0|_[i+32>>2]))break t;if((0|e)>=(0|s)){i=r;break}i=r}}else i=0}while(0);_[p>>2]=_[o>>2],_[p+4>>2]=_[o+4>>2],_[p+8>>2]=_[o+8>>2],_[p+12>>2]=_[o+12>>2],_[p+16>>2]=_[o+16>>2],_[p+20>>2]=_[o+20>>2],_[p+24>>2]=_[o+24>>2],_[p+28>>2]=_[o+28>>2],U(c,i,p)}n?(zb[511&_[68+(0|_[t>>2])>>2]](t),Q=o):Q=o},_emscripten_bind_btConcaveShape___destroy___0:Kr,_emscripten_bind_btConcaveShape_calculateLocalInertia_2:Sr,_emscripten_bind_btConcaveShape_getLocalScaling_0:Gs,_emscripten_bind_btConcaveShape_setLocalScaling_1:ps,_emscripten_bind_btConeShapeX___destroy___0:Kr,_emscripten_bind_btConeShapeX_btConeShapeX_2:function(t,e){var i,n;return t=+t,e=+e,i=0|G_(),_[i+8>>2]=0,_[i>>2]=8152,_[i+12>>2]=1065353216,_[i+16>>2]=1065353216,_[i+20>>2]=1065353216,p[i+24>>2]=0,p[i+44>>2]=.03999999910593033,p[i+56>>2]=t,p[i+60>>2]=e,_[i+4>>2]=11,n=t/+l(+(t*t+e*e)),p[i+52>>2]=n,_[i>>2]=7468,_[i+64>>2]=1,_[i+68>>2]=0,_[i+72>>2]=2,p[i+32>>2]=t,p[i+28>>2]=e,p[i+36>>2]=t,0|i},_emscripten_bind_btConeShapeX_calculateLocalInertia_2:Sr,_emscripten_bind_btConeShapeX_getLocalScaling_0:Gs,_emscripten_bind_btConeShapeX_setLocalScaling_1:ps,_emscripten_bind_btConeShapeZ___destroy___0:Kr,_emscripten_bind_btConeShapeZ_btConeShapeZ_2:function(t,e){var i,n;return t=+t,e=+e,i=0|G_(),_[i+8>>2]=0,_[i>>2]=8152,_[i+12>>2]=1065353216,_[i+16>>2]=1065353216,_[i+20>>2]=1065353216,p[i+24>>2]=0,p[i+44>>2]=.03999999910593033,p[i+56>>2]=t,p[i+60>>2]=e,_[i+4>>2]=11,n=t/+l(+(t*t+e*e)),p[i+52>>2]=n,_[i>>2]=7368,_[i+64>>2]=0,_[i+68>>2]=2,_[i+72>>2]=1,p[i+28>>2]=t,p[i+36>>2]=e,p[i+32>>2]=t,0|i},_emscripten_bind_btConeShapeZ_calculateLocalInertia_2:Sr,_emscripten_bind_btConeShapeZ_getLocalScaling_0:Gs,_emscripten_bind_btConeShapeZ_setLocalScaling_1:ps,_emscripten_bind_btConeShape___destroy___0:Kr,_emscripten_bind_btConeShape_btConeShape_2:function(t,e){var i;return t=+t,e=+e,i=0|G_(),_[i+8>>2]=0,_[i+12>>2]=1065353216,_[i+16>>2]=1065353216,_[i+20>>2]=1065353216,p[i+24>>2]=0,p[i+44>>2]=.03999999910593033,_[i>>2]=7268,p[i+56>>2]=t,p[i+60>>2]=e,_[i+4>>2]=11,_[i+64>>2]=0,_[i+68>>2]=1,_[i+72>>2]=2,p[i+28>>2]=t,p[i+32>>2]=e,p[i+36>>2]=t,e=t/+l(+(t*t+e*e)),p[i+52>>2]=e,0|i},_emscripten_bind_btConeShape_calculateLocalInertia_2:Sr,_emscripten_bind_btConeShape_getLocalScaling_0:Gs,_emscripten_bind_btConeShape_setLocalScaling_1:ps,_emscripten_bind_btConeTwistConstraint___destroy___0:Kr,_emscripten_bind_btConeTwistConstraint_btConeTwistConstraint_2:function(t,e){var i;return t|=0,e|=0,sn(i=0|B_(),5,t),_[i>>2]=5548,_[i+300>>2]=_[e>>2],_[i+300+4>>2]=_[e+4>>2],_[i+300+8>>2]=_[e+8>>2],_[i+300+12>>2]=_[e+12>>2],_[i+316>>2]=_[e+16>>2],_[i+316+4>>2]=_[e+16+4>>2],_[i+316+8>>2]=_[e+16+8>>2],_[i+316+12>>2]=_[e+16+12>>2],_[i+332>>2]=_[e+32>>2],_[i+332+4>>2]=_[e+32+4>>2],_[i+332+8>>2]=_[e+32+8>>2],_[i+332+12>>2]=_[e+32+12>>2],_[i+348>>2]=_[e+48>>2],_[i+348+4>>2]=_[e+48+4>>2],_[i+348+8>>2]=_[e+48+8>>2],_[i+348+12>>2]=_[e+48+12>>2],n[i+527|0]=0,_[i+364>>2]=_[i+300>>2],_[i+364+4>>2]=_[i+300+4>>2],_[i+364+8>>2]=_[i+300+8>>2],_[i+364+12>>2]=_[i+300+12>>2],_[i+380>>2]=_[i+316>>2],_[i+380+4>>2]=_[i+316+4>>2],_[i+380+8>>2]=_[i+316+8>>2],_[i+380+12>>2]=_[i+316+12>>2],_[i+396>>2]=_[i+332>>2],_[i+396+4>>2]=_[i+332+4>>2],_[i+396+8>>2]=_[i+332+8>>2],_[i+396+12>>2]=_[i+332+12>>2],n[i+524|0]=0,n[i+525|0]=0,n[i+526|0]=0,n[i+552|0]=0,_[i+412>>2]=0,_[i+412+4>>2]=0,_[i+412+8>>2]=0,_[i+412+12>>2]=0,p[i+572>>2]=-1,p[i+444>>2]=0xde0b6b000000000,p[i+448>>2]=0xde0b6b000000000,p[i+452>>2]=0xde0b6b000000000,p[i+428>>2]=1,p[i+432>>2]=.30000001192092896,p[i+436>>2]=1,p[i+440>>2]=.009999999776482582,p[i+456>>2]=.05000000074505806,_[i+592>>2]=0,p[i+596>>2]=0,p[i+600>>2]=.699999988079071,p[i+604>>2]=0,0|i},_emscripten_bind_btConeTwistConstraint_btConeTwistConstraint_4:function(t,e,i,o){var r;return t|=0,e|=0,i|=0,o|=0,r=0|B_(),_[r+4>>2]=5,_[r+8>>2]=-1,_[r+12>>2]=-1,p[r+16>>2]=34028234663852886e22,n[r+20|0]=1,n[r+21|0]=0,_[r+24>>2]=-1,_[r+28>>2]=t,_[r+32>>2]=e,p[r+36>>2]=0,p[r+40>>2]=.30000001192092896,_[r+44>>2]=0,_[r>>2]=5548,_[r+300>>2]=_[i>>2],_[r+300+4>>2]=_[i+4>>2],_[r+300+8>>2]=_[i+8>>2],_[r+300+12>>2]=_[i+12>>2],_[r+316>>2]=_[i+16>>2],_[r+316+4>>2]=_[i+16+4>>2],_[r+316+8>>2]=_[i+16+8>>2],_[r+316+12>>2]=_[i+16+12>>2],_[r+332>>2]=_[i+32>>2],_[r+332+4>>2]=_[i+32+4>>2],_[r+332+8>>2]=_[i+32+8>>2],_[r+332+12>>2]=_[i+32+12>>2],_[r+348>>2]=_[i+48>>2],_[r+348+4>>2]=_[i+48+4>>2],_[r+348+8>>2]=_[i+48+8>>2],_[r+348+12>>2]=_[i+48+12>>2],_[r+364>>2]=_[o>>2],_[r+364+4>>2]=_[o+4>>2],_[r+364+8>>2]=_[o+8>>2],_[r+364+12>>2]=_[o+12>>2],_[r+380>>2]=_[o+16>>2],_[r+380+4>>2]=_[o+16+4>>2],_[r+380+8>>2]=_[o+16+8>>2],_[r+380+12>>2]=_[o+16+12>>2],_[r+396>>2]=_[o+32>>2],_[r+396+4>>2]=_[o+32+4>>2],_[r+396+8>>2]=_[o+32+8>>2],_[r+396+12>>2]=_[o+32+12>>2],_[r+412>>2]=_[o+48>>2],_[r+412+4>>2]=_[o+48+4>>2],_[r+412+8>>2]=_[o+48+8>>2],_[r+412+12>>2]=_[o+48+12>>2],n[r+552|0]=0,_[r+524>>2]=0,p[r+572>>2]=-1,p[r+444>>2]=0xde0b6b000000000,p[r+448>>2]=0xde0b6b000000000,p[r+452>>2]=0xde0b6b000000000,p[r+428>>2]=1,p[r+432>>2]=.30000001192092896,p[r+436>>2]=1,p[r+440>>2]=.009999999776482582,p[r+456>>2]=.05000000074505806,_[r+592>>2]=0,p[r+596>>2]=0,p[r+600>>2]=.699999988079071,p[r+604>>2]=0,0|r},_emscripten_bind_btConeTwistConstraint_enableFeedback_1:Ws,_emscripten_bind_btConeTwistConstraint_enableMotor_1:function(t,e){vp(t|=0,e|=0)},_emscripten_bind_btConeTwistConstraint_getBreakingImpulseThreshold_0:fs,_emscripten_bind_btConeTwistConstraint_getParam_2:kr,_emscripten_bind_btConeTwistConstraint_setAngularOnly_1:function(t,e){mp(t|=0,e|=0)},_emscripten_bind_btConeTwistConstraint_setBreakingImpulseThreshold_1:Ds,_emscripten_bind_btConeTwistConstraint_setDamping_1:function(t,e){!function(t,e){e=+e,p[(t|=0)+440>>2]=e}(t|=0,e=+e)},_emscripten_bind_btConeTwistConstraint_setLimit_2:function(t,e,i){!function(t,e,i){switch(t|=0,i=+i,0|(e|=0)){case 3:return void(p[t+452>>2]=i);case 4:return void(p[t+448>>2]=i);case 5:p[t+444>>2]=i}}(t|=0,e|=0,i=+i)},_emscripten_bind_btConeTwistConstraint_setMaxMotorImpulseNormalized_1:function(t,e){ls(t|=0,e=+e)},_emscripten_bind_btConeTwistConstraint_setMaxMotorImpulse_1:function(t,e){Os(t|=0,e=+e)},_emscripten_bind_btConeTwistConstraint_setMotorTargetInConstraintSpace_1:function(t,e){ri(t|=0,e|=0)},_emscripten_bind_btConeTwistConstraint_setMotorTarget_1:function(t,e){var i,n,o,_,r,s,c,a,b,d,l,A,f;e|=0,i=Q,Q=Q+48|0,Qt(364+(t|=0)|0,i+16|0),r=-+p[i+16>>2],o=-+p[i+16+4>>2],b=-+p[i+16+8>>2],a=+p[i+16+12>>2],_=+p[e>>2],d=+p[e+12>>2],c=+p[e+8>>2],s=+p[e+4>>2],Qt(t+300|0,i),A=+p[i>>2],f=+p[i+12>>2],n=+p[i+8>>2],l=+p[i+4>>2],p[i+32>>2]=(a*d-_*r-s*o-c*b)*A+(a*_+d*r+c*o-s*b)*f+(_*b+(d*o+a*s)-c*r)*n-(d*b+a*c+s*r-_*o)*l,p[i+32+4>>2]=A*(d*b+a*c+s*r-_*o)+(f*(_*b+(d*o+a*s)-c*r)+(a*d-_*r-s*o-c*b)*l)-(a*_+d*r+c*o-s*b)*n,p[i+32+8>>2]=(d*b+a*c+s*r-_*o)*f+(a*d-_*r-s*o-c*b)*n+(a*_+d*r+c*o-s*b)*l-A*(_*b+(d*o+a*s)-c*r),p[i+32+12>>2]=(a*d-_*r-s*o-c*b)*f-(a*_+d*r+c*o-s*b)*A-(_*b+(d*o+a*s)-c*r)*l-(d*b+a*c+s*r-_*o)*n,ri(t,i+32|0),Q=i},_emscripten_bind_btConeTwistConstraint_setParam_3:lr,_emscripten_bind_btConstraintSetting___destroy___0:qp,_emscripten_bind_btConstraintSetting_btConstraintSetting_0:function(){var t;return function(t){p[(t|=0)>>2]=.30000001192092896,p[t+4>>2]=1,p[t+8>>2]=0}(t=0|a_(12)),0|t},_emscripten_bind_btConstraintSetting_get_m_damping_0:ua,_emscripten_bind_btConstraintSetting_get_m_impulseClamp_0:ka,_emscripten_bind_btConstraintSetting_get_m_tau_0:Lc,_emscripten_bind_btConstraintSetting_set_m_damping_1:ea,_emscripten_bind_btConstraintSetting_set_m_impulseClamp_1:ta,_emscripten_bind_btConstraintSetting_set_m_tau_1:Aa,_emscripten_bind_btConstraintSolver___destroy___0:Kr,_emscripten_bind_btContactSolverInfo___destroy___0:qp,_emscripten_bind_btContactSolverInfo_get_m_numIterations_0:oa,_emscripten_bind_btContactSolverInfo_get_m_splitImpulsePenetrationThreshold_0:function(t){return 0|+p[48+(t|=0)>>2]},_emscripten_bind_btContactSolverInfo_get_m_splitImpulse_0:function(t){return 0|!!(0|_[44+(t|=0)>>2])},_emscripten_bind_btContactSolverInfo_set_m_numIterations_1:oc,_emscripten_bind_btContactSolverInfo_set_m_splitImpulsePenetrationThreshold_1:function(t,e){e|=0,p[48+(t|=0)>>2]=+(0|e)},_emscripten_bind_btContactSolverInfo_set_m_splitImpulse_1:function(t,e){e|=0,_[44+(t|=0)>>2]=1&e},_emscripten_bind_btConvexHullShape___destroy___0:Kr,_emscripten_bind_btConvexHullShape_addPoint_1:function(t,e){be(t|=0,e|=0,1)},_emscripten_bind_btConvexHullShape_addPoint_2:function(t,e,i){be(t|=0,e|=0,i|=0)},_emscripten_bind_btConvexHullShape_btConvexHullShape_0:function(){var t;return ft(t=0|P_(),0,0,16),0|t},_emscripten_bind_btConvexHullShape_btConvexHullShape_1:function(t){var e;return t|=0,ft(e=0|P_(),t,0,16),0|e},_emscripten_bind_btConvexHullShape_btConvexHullShape_2:function(t,e){var i;return t|=0,e|=0,ft(i=0|P_(),t,e,16),0|i},_emscripten_bind_btConvexHullShape_calculateLocalInertia_2:Sr,_emscripten_bind_btConvexHullShape_getConvexPolyhedron_0:Kp,_emscripten_bind_btConvexHullShape_getLocalScaling_0:Gs,_emscripten_bind_btConvexHullShape_getMargin_0:Us,_emscripten_bind_btConvexHullShape_getNumVertices_0:function(t){return 0|Lb[127&_[96+(0|_[(t|=0)>>2])>>2]](t)},_emscripten_bind_btConvexHullShape_initializePolyhedralFeatures_1:function(t,e){return e|=0,0|Qb[31&_[92+(0|_[(t|=0)>>2])>>2]](t,e)},_emscripten_bind_btConvexHullShape_recalcLocalAabb_0:function(t){nn(t|=0)},_emscripten_bind_btConvexHullShape_setLocalScaling_1:ps,_emscripten_bind_btConvexHullShape_setMargin_1:hs,_emscripten_bind_btConvexPolyhedron___destroy___0:Kr,_emscripten_bind_btConvexPolyhedron_get_m_faces_0:Ha,_emscripten_bind_btConvexPolyhedron_get_m_vertices_0:pb,_emscripten_bind_btConvexPolyhedron_set_m_faces_1:function(t,e){!function(t,e){Jn(t|=0,e|=0)}(24+(t|=0)|0,e|=0)},_emscripten_bind_btConvexPolyhedron_set_m_vertices_1:function(t,e){!function(t,e){ko(t|=0,e|=0)}(4+(t|=0)|0,e|=0)},_emscripten_bind_btConvexShape___destroy___0:Kr,_emscripten_bind_btConvexShape_calculateLocalInertia_2:Sr,_emscripten_bind_btConvexShape_getLocalScaling_0:Gs,_emscripten_bind_btConvexShape_getMargin_0:Us,_emscripten_bind_btConvexShape_setLocalScaling_1:ps,_emscripten_bind_btConvexShape_setMargin_1:hs,_emscripten_bind_btConvexTriangleMeshShape___destroy___0:Kr,_emscripten_bind_btConvexTriangleMeshShape_btConvexTriangleMeshShape_1:function(t){var e;return t|=0,e=0|x_(),_[e+8>>2]=0,_[e+12>>2]=1065353216,_[e+16>>2]=1065353216,_[e+20>>2]=1065353216,p[e+24>>2]=0,p[e+44>>2]=.03999999910593033,_[e+52>>2]=0,_[e+56>>2]=1065353216,_[e+60>>2]=1065353216,_[e+64>>2]=1065353216,p[e+68>>2]=0,_[e+72>>2]=-1082130432,_[e+76>>2]=-1082130432,_[e+80>>2]=-1082130432,p[e+84>>2]=0,n[e+88|0]=0,_[e>>2]=8688,_[e+92>>2]=t,_[e+4>>2]=3,nn(e),0|e},_emscripten_bind_btConvexTriangleMeshShape_btConvexTriangleMeshShape_2:function(t,e){var i;return t|=0,e|=0,i=0|x_(),_[i+8>>2]=0,_[i+12>>2]=1065353216,_[i+16>>2]=1065353216,_[i+20>>2]=1065353216,p[i+24>>2]=0,p[i+44>>2]=.03999999910593033,_[i+52>>2]=0,_[i+56>>2]=1065353216,_[i+60>>2]=1065353216,_[i+64>>2]=1065353216,p[i+68>>2]=0,_[i+72>>2]=-1082130432,_[i+76>>2]=-1082130432,_[i+80>>2]=-1082130432,p[i+84>>2]=0,n[i+88|0]=0,_[i>>2]=8688,_[i+92>>2]=t,_[i+4>>2]=3,e?(nn(i),0|i):0|i},_emscripten_bind_btConvexTriangleMeshShape_calculateLocalInertia_2:Sr,_emscripten_bind_btConvexTriangleMeshShape_getLocalScaling_0:Gs,_emscripten_bind_btConvexTriangleMeshShape_getMargin_0:Us,_emscripten_bind_btConvexTriangleMeshShape_setLocalScaling_1:ps,_emscripten_bind_btConvexTriangleMeshShape_setMargin_1:hs,_emscripten_bind_btCylinderShapeX___destroy___0:Kr,_emscripten_bind_btCylinderShapeX_btCylinderShapeX_1:function(t){var e;return t|=0,Qi(e=0|N_(),t),_[e>>2]=9240,_[e+52>>2]=0,0|e},_emscripten_bind_btCylinderShapeX_calculateLocalInertia_2:Sr,_emscripten_bind_btCylinderShapeX_getLocalScaling_0:Gs,_emscripten_bind_btCylinderShapeX_getMargin_0:Us,_emscripten_bind_btCylinderShapeX_setLocalScaling_1:ps,_emscripten_bind_btCylinderShapeX_setMargin_1:hs,_emscripten_bind_btCylinderShapeZ___destroy___0:Kr,_emscripten_bind_btCylinderShapeZ_btCylinderShapeZ_1:function(t){var e;return t|=0,Qi(e=0|N_(),t),_[e>>2]=9344,_[e+52>>2]=2,0|e},_emscripten_bind_btCylinderShapeZ_calculateLocalInertia_2:Sr,_emscripten_bind_btCylinderShapeZ_getLocalScaling_0:Gs,_emscripten_bind_btCylinderShapeZ_getMargin_0:Us,_emscripten_bind_btCylinderShapeZ_setLocalScaling_1:ps,_emscripten_bind_btCylinderShapeZ_setMargin_1:hs,_emscripten_bind_btCylinderShape___destroy___0:Kr,_emscripten_bind_btCylinderShape_btCylinderShape_1:function(t){var e;return t|=0,Qi(e=0|N_(),t),0|e},_emscripten_bind_btCylinderShape_calculateLocalInertia_2:Sr,_emscripten_bind_btCylinderShape_getLocalScaling_0:Gs,_emscripten_bind_btCylinderShape_getMargin_0:Us,_emscripten_bind_btCylinderShape_setLocalScaling_1:ps,_emscripten_bind_btCylinderShape_setMargin_1:hs,_emscripten_bind_btDbvtBroadphase___destroy___0:Kr,_emscripten_bind_btDbvtBroadphase_btDbvtBroadphase_0:function(){var t;return $t(t=0|a_(196),0),0|t},_emscripten_bind_btDefaultCollisionConfiguration___destroy___0:Kr,_emscripten_bind_btDefaultCollisionConfiguration_btDefaultCollisionConfiguration_0:function(){var t,e;return e=Q,Q=Q+32|0,t=0|a_(92),H_(e),We(t,e),Q=e,0|t},_emscripten_bind_btDefaultCollisionConfiguration_btDefaultCollisionConfiguration_1:function(t){var e;return t|=0,We(e=0|a_(92),t),0|e},_emscripten_bind_btDefaultCollisionConstructionInfo___destroy___0:qp,_emscripten_bind_btDefaultCollisionConstructionInfo_btDefaultCollisionConstructionInfo_0:function(){var t;return H_(t=0|a_(24)),0|t},_emscripten_bind_btDefaultMotionState___destroy___0:Kr,_emscripten_bind_btDefaultMotionState_btDefaultMotionState_0:function(){var t;return t=0|W_(),$n(),$n(),Eo(t,24824,24824),0|t},_emscripten_bind_btDefaultMotionState_btDefaultMotionState_1:function(t){var e;return t|=0,e=0|W_(),$n(),Eo(e,t,24824),0|e},_emscripten_bind_btDefaultMotionState_btDefaultMotionState_2:function(t,e){var i;return t|=0,e|=0,Eo(i=0|W_(),t,e),0|i},_emscripten_bind_btDefaultMotionState_getWorldTransform_1:$r,_emscripten_bind_btDefaultMotionState_get_m_graphicsWorldTrans_0:pb,_emscripten_bind_btDefaultMotionState_setWorldTransform_1:is,_emscripten_bind_btDefaultMotionState_set_m_graphicsWorldTrans_1:function(t,e){Yo(4+(t|=0)|0,e|=0)},_emscripten_bind_btDefaultSoftBodySolver___destroy___0:Kr,_emscripten_bind_btDefaultSoftBodySolver_btDefaultSoftBodySolver_0:function(){var t;return t=0|a_(40),p[t+12>>2]=1,_[t+8>>2]=0,_[t+4>>2]=5,_[t>>2]=3844,n[t+36|0]=1,_[t+32>>2]=0,_[t+24>>2]=0,_[t+28>>2]=0,n[t+16|0]=1,0|t},_emscripten_bind_btDefaultVehicleRaycaster___destroy___0:Kr,_emscripten_bind_btDefaultVehicleRaycaster_btDefaultVehicleRaycaster_1:function(t){var e;return t|=0,function(t,e){e|=0,function(t){_[(t|=0)>>2]=3776}(t|=0),_[t>>2]=5752,_[t+4>>2]=e}(e=0|a_(8),t),0|e},_emscripten_bind_btDefaultVehicleRaycaster_castRay_3:_r,_emscripten_bind_btDiscreteDynamicsWorld___destroy___0:Kr,_emscripten_bind_btDiscreteDynamicsWorld_addAction_1:cs,_emscripten_bind_btDiscreteDynamicsWorld_addCollisionObject_1:vr,_emscripten_bind_btDiscreteDynamicsWorld_addCollisionObject_2:pr,_emscripten_bind_btDiscreteDynamicsWorld_addCollisionObject_3:tr,_emscripten_bind_btDiscreteDynamicsWorld_addConstraint_1:Nr,_emscripten_bind_btDiscreteDynamicsWorld_addConstraint_2:hr,_emscripten_bind_btDiscreteDynamicsWorld_addRigidBody_1:Yr,_emscripten_bind_btDiscreteDynamicsWorld_addRigidBody_3:q_,_emscripten_bind_btDiscreteDynamicsWorld_btDiscreteDynamicsWorld_4:function(t,e,i,n){return t|=0,e|=0,i|=0,n|=0,xe(n=0|S_(324),t,e,i),0|n},_emscripten_bind_btDiscreteDynamicsWorld_contactPairTest_3:an,_emscripten_bind_btDiscreteDynamicsWorld_contactTest_2:Qn,_emscripten_bind_btDiscreteDynamicsWorld_convexSweepTest_5:$o,_emscripten_bind_btDiscreteDynamicsWorld_debugDrawObject_3:or,_emscripten_bind_btDiscreteDynamicsWorld_debugDrawWorld_0:Ts,_emscripten_bind_btDiscreteDynamicsWorld_getBroadphase_0:Fp,_emscripten_bind_btDiscreteDynamicsWorld_getDebugDrawer_0:Bs,_emscripten_bind_btDiscreteDynamicsWorld_getDispatchInfo_0:Cp,_emscripten_bind_btDiscreteDynamicsWorld_getDispatcher_0:Wp,_emscripten_bind_btDiscreteDynamicsWorld_getGravity_0:function(t){var e;return t|=0,e=Q,Q=Q+16|0,0|n[24432]||Qs(24432),id[127&_[76+(0|_[t>>2])>>2]](e,t),_[6238]=_[e>>2],_[6239]=_[e+4>>2],_[6240]=_[e+8>>2],_[6241]=_[e+12>>2],Q=e,24952},_emscripten_bind_btDiscreteDynamicsWorld_getPairCache_0:Ls,_emscripten_bind_btDiscreteDynamicsWorld_getSolverInfo_0:up,_emscripten_bind_btDiscreteDynamicsWorld_performDiscreteCollisionDetection_0:ws,_emscripten_bind_btDiscreteDynamicsWorld_rayTest_3:br,_emscripten_bind_btDiscreteDynamicsWorld_removeAction_1:os,_emscripten_bind_btDiscreteDynamicsWorld_removeCollisionObject_1:Ur,_emscripten_bind_btDiscreteDynamicsWorld_removeConstraint_1:Er,_emscripten_bind_btDiscreteDynamicsWorld_removeRigidBody_1:Hr,_emscripten_bind_btDiscreteDynamicsWorld_setDebugDrawer_1:ts,_emscripten_bind_btDiscreteDynamicsWorld_setGravity_1:Jr,_emscripten_bind_btDiscreteDynamicsWorld_stepSimulation_1:mr,_emscripten_bind_btDiscreteDynamicsWorld_stepSimulation_2:er,_emscripten_bind_btDiscreteDynamicsWorld_stepSimulation_3:nr,_emscripten_bind_btDiscreteDynamicsWorld_updateSingleAabb_1:ns,_emscripten_bind_btDispatcherInfo___destroy___0:qp,_emscripten_bind_btDispatcherInfo_get_m_allowedCcdPenetration_0:Ca,_emscripten_bind_btDispatcherInfo_get_m_convexConservativeDistanceThreshold_0:ba,_emscripten_bind_btDispatcherInfo_get_m_dispatchFunc_0:Ac,_emscripten_bind_btDispatcherInfo_get_m_enableSPU_0:function(t){return 0|!!(1&n[25+(t|=0)|0])},_emscripten_bind_btDispatcherInfo_get_m_enableSatConvex_0:function(t){return 0|!!(1&n[24+(t|=0)|0])},_emscripten_bind_btDispatcherInfo_get_m_stepCount_0:Hc,_emscripten_bind_btDispatcherInfo_get_m_timeOfImpact_0:ga,_emscripten_bind_btDispatcherInfo_get_m_timeStep_0:Lc,_emscripten_bind_btDispatcherInfo_get_m_useContinuous_0:function(t){return 0|!!(1&n[16+(t|=0)|0])},_emscripten_bind_btDispatcherInfo_get_m_useConvexConservativeDistanceUtil_0:function(t){return 0|!!(1&n[32+(t|=0)|0])},_emscripten_bind_btDispatcherInfo_get_m_useEpa_0:function(t){return 0|!!(1&n[26+(t|=0)|0])},_emscripten_bind_btDispatcherInfo_set_m_allowedCcdPenetration_1:wc,_emscripten_bind_btDispatcherInfo_set_m_convexConservativeDistanceThreshold_1:mc,_emscripten_bind_btDispatcherInfo_set_m_dispatchFunc_1:bp,_emscripten_bind_btDispatcherInfo_set_m_enableSPU_1:function(t,e){e|=0,n[25+(t|=0)|0]=1&e},_emscripten_bind_btDispatcherInfo_set_m_enableSatConvex_1:function(t,e){e|=0,n[24+(t|=0)|0]=1&e},_emscripten_bind_btDispatcherInfo_set_m_stepCount_1:fp,_emscripten_bind_btDispatcherInfo_set_m_timeOfImpact_1:Ec,_emscripten_bind_btDispatcherInfo_set_m_timeStep_1:Aa,_emscripten_bind_btDispatcherInfo_set_m_useContinuous_1:function(t,e){e|=0,n[16+(t|=0)|0]=1&e},_emscripten_bind_btDispatcherInfo_set_m_useConvexConservativeDistanceUtil_1:function(t,e){e|=0,n[32+(t|=0)|0]=1&e},_emscripten_bind_btDispatcherInfo_set_m_useEpa_1:function(t,e){e|=0,n[26+(t|=0)|0]=1&e},_emscripten_bind_btDispatcher___destroy___0:Kr,_emscripten_bind_btDispatcher_getManifoldByIndexInternal_1:Qr,_emscripten_bind_btDispatcher_getNumManifolds_0:Xs,_emscripten_bind_btDynamicsWorld___destroy___0:Kr,_emscripten_bind_btDynamicsWorld_addAction_1:cs,_emscripten_bind_btDynamicsWorld_addCollisionObject_1:Pr,_emscripten_bind_btDynamicsWorld_addCollisionObject_2:ur,_emscripten_bind_btDynamicsWorld_addCollisionObject_3:tr,_emscripten_bind_btDynamicsWorld_contactPairTest_3:an,_emscripten_bind_btDynamicsWorld_contactTest_2:Qn,_emscripten_bind_btDynamicsWorld_convexSweepTest_5:$o,_emscripten_bind_btDynamicsWorld_debugDrawObject_3:or,_emscripten_bind_btDynamicsWorld_debugDrawWorld_0:Ts,_emscripten_bind_btDynamicsWorld_getBroadphase_0:Fp,_emscripten_bind_btDynamicsWorld_getDebugDrawer_0:Bs,_emscripten_bind_btDynamicsWorld_getDispatchInfo_0:Cp,_emscripten_bind_btDynamicsWorld_getDispatcher_0:Wp,_emscripten_bind_btDynamicsWorld_getPairCache_0:Ls,_emscripten_bind_btDynamicsWorld_getSolverInfo_0:up,_emscripten_bind_btDynamicsWorld_performDiscreteCollisionDetection_0:ws,_emscripten_bind_btDynamicsWorld_rayTest_3:br,_emscripten_bind_btDynamicsWorld_removeAction_1:os,_emscripten_bind_btDynamicsWorld_removeCollisionObject_1:Ur,_emscripten_bind_btDynamicsWorld_setDebugDrawer_1:ts,_emscripten_bind_btDynamicsWorld_updateSingleAabb_1:ns,_emscripten_bind_btFaceArray___destroy___0:function(t){(t|=0)&&(function(t){(function(t){y_(t|=0,0|vb(0|_[t+4>>2])),M_(t),_s(t)})(t|=0)}(t),gb(t))},_emscripten_bind_btFaceArray_at_1:function(t,e){return e|=0,0|function(t,e){return(t|=0)+(36*(e|=0)|0)|0}(0|_[12+(t|=0)>>2],e)},_emscripten_bind_btFaceArray_size_0:xc,_emscripten_bind_btFace___destroy___0:function(t){(t|=0)&&(Ba(t),gb(t))},_emscripten_bind_btFace_get_m_indices_0:vb,_emscripten_bind_btFace_get_m_plane_1:function(t,e){return+ +p[20+(t|=0)+((e|=0)<<2)>>2]},_emscripten_bind_btFace_set_m_indices_1:function(t,e){!function(t,e){jo(t|=0,e|=0)}(t|=0,e|=0)},_emscripten_bind_btFace_set_m_plane_2:function(t,e,i){i=+i,p[20+(t|=0)+((e|=0)<<2)>>2]=i},_emscripten_bind_btFixedConstraint___destroy___0:Kr,_emscripten_bind_btFixedConstraint_btFixedConstraint_4:function(t,e,i,o){var r,s,c,a,b,d,l,A,f,u;return t|=0,e|=0,i|=0,o|=0,s=Q,Q=Q+32|0,r=0|x_(),_[r+4>>2]=11,_[r+8>>2]=-1,_[r+12>>2]=-1,p[r+16>>2]=34028234663852886e22,n[r+20|0]=1,n[r+21|0]=0,_[r+24>>2]=-1,_[r+28>>2]=t,_[r+32>>2]=e,p[r+36>>2]=0,p[r+40>>2]=.30000001192092896,_[r+44>>2]=0,_[r>>2]=5224,_[r+48>>2]=_[i+48>>2],_[r+48+4>>2]=_[i+48+4>>2],_[r+48+8>>2]=_[i+48+8>>2],_[r+48+12>>2]=_[i+48+12>>2],_[r+64>>2]=_[o+48>>2],_[r+64+4>>2]=_[o+48+4>>2],_[r+64+8>>2]=_[o+48+8>>2],_[r+64+12>>2]=_[o+48+12>>2],Qt(i,s+16|0),Qt(o,s),l=-+p[s>>2],b=-+p[s+4>>2],c=-+p[s+8>>2],u=+p[s+12>>2],f=+p[s+16+12>>2],A=+p[s+16>>2],d=+p[s+16+4>>2],a=+p[s+16+8>>2],p[r+80>>2]=f*l+u*A+d*c-a*b,p[r+84>>2]=a*l+(f*b+u*d)-A*c,p[r+88>>2]=A*b+(f*c+u*a)-d*l,p[r+92>>2]=u*f-A*l-d*b-a*c,Q=s,0|r},_emscripten_bind_btFixedConstraint_enableFeedback_1:Ws,_emscripten_bind_btFixedConstraint_getBreakingImpulseThreshold_0:fs,_emscripten_bind_btFixedConstraint_getParam_2:kr,_emscripten_bind_btFixedConstraint_setBreakingImpulseThreshold_1:Ds,_emscripten_bind_btFixedConstraint_setParam_3:lr,_emscripten_bind_btGeneric6DofConstraint___destroy___0:Kr,_emscripten_bind_btGeneric6DofConstraint_btGeneric6DofConstraint_3:function(t,e,i){var n;return t|=0,e|=0,i|=0,Fe(n=0|j_(),t,e,i),0|n},_emscripten_bind_btGeneric6DofConstraint_btGeneric6DofConstraint_5:function(t,e,i,n,o){var _;return t|=0,e|=0,i|=0,n|=0,o|=0,Ke(_=0|j_(),t,e,i,n,o),0|_},_emscripten_bind_btGeneric6DofConstraint_enableFeedback_1:Ws,_emscripten_bind_btGeneric6DofConstraint_getBreakingImpulseThreshold_0:fs,_emscripten_bind_btGeneric6DofConstraint_getFrameOffsetA_0:lc,_emscripten_bind_btGeneric6DofConstraint_getParam_2:kr,_emscripten_bind_btGeneric6DofConstraint_setAngularLowerLimit_1:Tr,_emscripten_bind_btGeneric6DofConstraint_setAngularUpperLimit_1:xr,_emscripten_bind_btGeneric6DofConstraint_setBreakingImpulseThreshold_1:Ds,_emscripten_bind_btGeneric6DofConstraint_setLinearLowerLimit_1:Lr,_emscripten_bind_btGeneric6DofConstraint_setLinearUpperLimit_1:Gr,_emscripten_bind_btGeneric6DofConstraint_setParam_3:lr,_emscripten_bind_btGeneric6DofSpringConstraint___destroy___0:Kr,_emscripten_bind_btGeneric6DofSpringConstraint_btGeneric6DofSpringConstraint_3:function(t,e,i){var o;t|=0,e|=0,i|=0,Fe(o=0|C_(),t,e,i),_[o>>2]=5332,_[o+4>>2]=9,n[o+1309|0]=0,n[o+1309+1|0]=0,n[o+1309+2|0]=0,n[o+1309+3|0]=0,n[o+1309+4|0]=0,n[o+1309+5|0]=0,e=48+(t=o+1316|0)|0;do{_[t>>2]=0,t=t+4|0}while((0|t)<(0|e));return p[o+1364>>2]=1,p[o+1368>>2]=1,p[o+1372>>2]=1,p[o+1376>>2]=1,p[o+1380>>2]=1,p[o+1384>>2]=1,0|o},_emscripten_bind_btGeneric6DofSpringConstraint_btGeneric6DofSpringConstraint_5:function(t,e,i,o,r){var s;t|=0,e|=0,i|=0,o|=0,r|=0,Ke(s=0|C_(),t,e,i,o,r),_[s>>2]=5332,_[s+4>>2]=9,n[s+1309|0]=0,n[s+1309+1|0]=0,n[s+1309+2|0]=0,n[s+1309+3|0]=0,n[s+1309+4|0]=0,n[s+1309+5|0]=0,e=48+(t=s+1316|0)|0;do{_[t>>2]=0,t=t+4|0}while((0|t)<(0|e));return p[s+1364>>2]=1,p[s+1368>>2]=1,p[s+1372>>2]=1,p[s+1376>>2]=1,p[s+1380>>2]=1,p[s+1384>>2]=1,0|s},_emscripten_bind_btGeneric6DofSpringConstraint_enableFeedback_1:Ws,_emscripten_bind_btGeneric6DofSpringConstraint_enableSpring_2:function(t,e,i){return i|=0,n[1309+(t|=0)+(e|=0)|0]=1&i,(0|e)<3?void(n[t+788+e|0]=1&i):void(n[t+868+(e+-3<<6)+44|0]=1&i)},_emscripten_bind_btGeneric6DofSpringConstraint_getBreakingImpulseThreshold_0:fs,_emscripten_bind_btGeneric6DofSpringConstraint_getFrameOffsetA_0:lc,_emscripten_bind_btGeneric6DofSpringConstraint_getParam_2:kr,_emscripten_bind_btGeneric6DofSpringConstraint_setAngularLowerLimit_1:Tr,_emscripten_bind_btGeneric6DofSpringConstraint_setAngularUpperLimit_1:xr,_emscripten_bind_btGeneric6DofSpringConstraint_setBreakingImpulseThreshold_1:Ds,_emscripten_bind_btGeneric6DofSpringConstraint_setDamping_2:function(t,e,i){i=+i,p[1364+(t|=0)+((e|=0)<<2)>>2]=i},_emscripten_bind_btGeneric6DofSpringConstraint_setLinearLowerLimit_1:Lr,_emscripten_bind_btGeneric6DofSpringConstraint_setLinearUpperLimit_1:Gr,_emscripten_bind_btGeneric6DofSpringConstraint_setParam_3:lr,_emscripten_bind_btGeneric6DofSpringConstraint_setStiffness_2:function(t,e,i){i=+i,p[1340+(t|=0)+((e|=0)<<2)>>2]=i},_emscripten_bind_btGhostObject___destroy___0:Xr,_emscripten_bind_btGhostObject_activate_0:J_,_emscripten_bind_btGhostObject_activate_1:k_,_emscripten_bind_btGhostObject_btGhostObject_0:function(){var t;return t=0|S_(284),_[t+164>>2]=1065353216,_[t+168>>2]=1065353216,_[t+172>>2]=1065353216,p[t+176>>2]=0,_[t+180>>2]=0,p[t+184>>2]=0xde0b6b000000000,_[t+188>>2]=0,_[t+188+4>>2]=0,_[t+188+8>>2]=0,_[t+188+12>>2]=0,_[t+204>>2]=1,_[t+208>>2]=-1,_[t+212>>2]=-1,_[t+216>>2]=1,p[t+220>>2]=0,p[t+224>>2]=.5,p[t+228>>2]=0,p[t+232>>2]=0,_[t+240>>2]=0,p[t+244>>2]=1,_[t+248>>2]=0,_[t+248+4>>2]=0,_[t+248+8>>2]=0,_[t+248+12>>2]=0,_[t+4>>2]=1065353216,_[t+8>>2]=0,_[t+8+4>>2]=0,_[t+8+8>>2]=0,_[t+8+12>>2]=0,_[t+24>>2]=1065353216,_[t+28>>2]=0,_[t+28+4>>2]=0,_[t+28+8>>2]=0,_[t+28+12>>2]=0,_[t+44>>2]=1065353216,_[t+48>>2]=0,_[t+48+4>>2]=0,_[t+48+8>>2]=0,_[t+48+12>>2]=0,_[t+48+16>>2]=0,_[t>>2]=5940,n[t+280|0]=1,_[t+276>>2]=0,_[t+268>>2]=0,_[t+272>>2]=0,_[t+236>>2]=4,0|t},_emscripten_bind_btGhostObject_forceActivationState_1:dp,_emscripten_bind_btGhostObject_getCollisionFlags_0:Bp,_emscripten_bind_btGhostObject_getCollisionShape_0:Ip,_emscripten_bind_btGhostObject_getNumOverlappingObjects_0:Es,_emscripten_bind_btGhostObject_getOverlappingObject_1:Cs,_emscripten_bind_btGhostObject_getUserIndex_0:wp,_emscripten_bind_btGhostObject_getUserPointer_0:Zp,_emscripten_bind_btGhostObject_getWorldTransform_0:Bc,_emscripten_bind_btGhostObject_isActive_0:np,_emscripten_bind_btGhostObject_isKinematicObject_0:ks,_emscripten_bind_btGhostObject_isStaticObject_0:Ms,_emscripten_bind_btGhostObject_isStaticOrKinematicObject_0:rs,_emscripten_bind_btGhostObject_setActivationState_1:Mr,_emscripten_bind_btGhostObject_setAnisotropicFriction_2:Cr,_emscripten_bind_btGhostObject_setCcdMotionThreshold_1:Ss,_emscripten_bind_btGhostObject_setCcdSweptSphereRadius_1:ms,_emscripten_bind_btGhostObject_setCollisionFlags_1:xs,_emscripten_bind_btGhostObject_setCollisionShape_1:is,_emscripten_bind_btGhostObject_setContactProcessingThreshold_1:Rs,_emscripten_bind_btGhostObject_setFriction_1:ip,_emscripten_bind_btGhostObject_setRestitution_1:Zs,_emscripten_bind_btGhostObject_setRollingFriction_1:Ps,_emscripten_bind_btGhostObject_setUserIndex_1:Ks,_emscripten_bind_btGhostObject_setUserPointer_1:Ks,_emscripten_bind_btGhostObject_setWorldTransform_1:bs,_emscripten_bind_btGhostPairCallback___destroy___0:Kr,_emscripten_bind_btGhostPairCallback_btGhostPairCallback_0:function(){var t;return function(t){(function(t){_[(t|=0)>>2]=3700})(t|=0),_[t>>2]=3672}(t=0|a_(4)),0|t},_emscripten_bind_btHeightfieldTerrainShape___destroy___0:Kr,_emscripten_bind_btHeightfieldTerrainShape_btHeightfieldTerrainShape_9:function(t,e,i,o,r,s,c,a,b){t|=0,e|=0,i|=0,o=+o,r=+r,s=+s,c|=0,a|=0,b|=0;var d,l=0,A=0,f=0;switch(d=0|function(){var t=0;return _[6630]=1+(0|_[6630]),(t=0|di(143))?(_[(t+4+15&-16)-4>>2]=t,0|(t=t+4+15&-16)):0|(t=0)}(),_[d+8>>2]=0,p[d+12>>2]=0,_[d>>2]=9056,_[d+4>>2]=24,_[d+64>>2]=t,_[d+68>>2]=e,p[d+72>>2]=r,p[d+76>>2]=s,p[d+80>>2]=+(t+-1|0),p[d+84>>2]=+(e+-1|0),p[d+88>>2]=o,_[d+92>>2]=i,_[d+96>>2]=a,n[d+100|0]=1&b,n[d+101|0]=0,n[d+102|0]=0,_[d+104>>2]=c,_[d+108>>2]=1065353216,_[d+112>>2]=1065353216,_[d+116>>2]=1065353216,p[d+120>>2]=0,0|c){case 0:p[d+16>>2]=r,_[d+20>>2]=0,_[d+24>>2]=0,p[d+28>>2]=0,p[d+32>>2]=s,p[d+36>>2]=+(t+-1|0),p[d+40>>2]=+(e+-1|0),p[d+44>>2]=0,A=s,f=r,o=+(t+-1|0),l=0,s=+(e+-1|0),r=0;break;case 1:_[d+16>>2]=0,p[d+20>>2]=r,_[d+24>>2]=0,p[d+28>>2]=0,p[d+32>>2]=+(t+-1|0),p[d+36>>2]=s,p[d+40>>2]=+(e+-1|0),p[d+44>>2]=0,A=+(t+-1|0),f=0,o=s,l=r,s=+(e+-1|0),r=0;break;case 2:_[d+16>>2]=0,_[d+20>>2]=0,p[d+24>>2]=r,p[d+28>>2]=0,p[d+32>>2]=+(t+-1|0),p[d+36>>2]=+(e+-1|0),p[d+40>>2]=s,p[d+44>>2]=0,A=+(t+-1|0),f=0,o=+(e+-1|0),l=0;break;default:A=+p[d+32>>2],f=+p[d+16>>2],o=+p[d+36>>2],l=+p[d+20>>2],s=+p[d+40>>2],r=+p[d+24>>2]}return p[d+48>>2]=.5*(f+A),p[d+52>>2]=.5*(l+o),p[d+56>>2]=.5*(r+s),p[d+60>>2]=0,0|d},_emscripten_bind_btHeightfieldTerrainShape_calculateLocalInertia_2:Sr,_emscripten_bind_btHeightfieldTerrainShape_getLocalScaling_0:Gs,_emscripten_bind_btHeightfieldTerrainShape_getMargin_0:Us,_emscripten_bind_btHeightfieldTerrainShape_setLocalScaling_1:ps,_emscripten_bind_btHeightfieldTerrainShape_setMargin_1:hs,_emscripten_bind_btHingeConstraint___destroy___0:Kr,_emscripten_bind_btHingeConstraint_btHingeConstraint_2:function(t,e){var i,o,r,s,c,a;return t|=0,e|=0,sn(i=0|T_(),4,t),_[i>>2]=5604,_[i+552>>2]=_[e>>2],_[i+552+4>>2]=_[e+4>>2],_[i+552+8>>2]=_[e+8>>2],_[i+552+12>>2]=_[e+12>>2],_[i+568>>2]=_[e+16>>2],_[i+568+4>>2]=_[e+16+4>>2],_[i+568+8>>2]=_[e+16+8>>2],_[i+568+12>>2]=_[e+16+12>>2],_[i+584>>2]=_[e+32>>2],_[i+584+4>>2]=_[e+32+4>>2],_[i+584+8>>2]=_[e+32+8>>2],_[i+584+12>>2]=_[e+32+12>>2],_[i+600>>2]=_[e+48>>2],_[i+600+4>>2]=_[e+48+4>>2],_[i+600+8>>2]=_[e+48+8>>2],_[i+600+12>>2]=_[e+48+12>>2],_[i+616>>2]=_[e>>2],_[i+616+4>>2]=_[e+4>>2],_[i+616+8>>2]=_[e+8>>2],_[i+616+12>>2]=_[e+12>>2],_[i+632>>2]=_[e+16>>2],_[i+632+4>>2]=_[e+16+4>>2],_[i+632+8>>2]=_[e+16+8>>2],_[i+632+12>>2]=_[e+16+12>>2],_[i+648>>2]=_[e+32>>2],_[i+648+4>>2]=_[e+32+4>>2],_[i+648+8>>2]=_[e+32+8>>2],_[i+648+12>>2]=_[e+32+12>>2],_[i+664>>2]=_[e+48>>2],_[i+664+4>>2]=_[e+48+4>>2],_[i+664+8>>2]=_[e+48+8>>2],_[i+664+12>>2]=_[e+48+12>>2],p[i+688>>2]=0,p[i+692>>2]=-1,p[i+696>>2]=.8999999761581421,p[i+700>>2]=.30000001192092896,p[i+704>>2]=1,p[i+708>>2]=0,p[i+712>>2]=0,n[i+716|0]=0,n[i+736|0]=0,n[i+737|0]=0,n[i+738|0]=0,n[i+739|0]=1,n[i+740|0]=0,_[i+748>>2]=0,e=0|_[i+28>>2],a=+p[i+600>>2],c=+p[i+604>>2],s=+p[i+608>>2],r=a*+p[e+20>>2]+c*+p[e+24>>2]+s*+p[e+28>>2]+ +p[e+56>>2],o=a*+p[e+36>>2]+c*+p[e+40>>2]+s*+p[e+44>>2]+ +p[e+60>>2],p[i+664>>2]=a*+p[e+4>>2]+c*+p[e+8>>2]+s*+p[e+12>>2]+ +p[e+52>>2],p[i+668>>2]=r,p[i+672>>2]=o,p[i+676>>2]=0,p[i+732>>2]=1,0|i},_emscripten_bind_btHingeConstraint_btHingeConstraint_3:function(t,e,i){var o,r,s,c,a,b;return t|=0,e|=0,i|=0,sn(o=0|T_(),4,t),_[o>>2]=5604,_[o+552>>2]=_[e>>2],_[o+552+4>>2]=_[e+4>>2],_[o+552+8>>2]=_[e+8>>2],_[o+552+12>>2]=_[e+12>>2],_[o+568>>2]=_[e+16>>2],_[o+568+4>>2]=_[e+16+4>>2],_[o+568+8>>2]=_[e+16+8>>2],_[o+568+12>>2]=_[e+16+12>>2],_[o+584>>2]=_[e+32>>2],_[o+584+4>>2]=_[e+32+4>>2],_[o+584+8>>2]=_[e+32+8>>2],_[o+584+12>>2]=_[e+32+12>>2],_[o+600>>2]=_[e+48>>2],_[o+600+4>>2]=_[e+48+4>>2],_[o+600+8>>2]=_[e+48+8>>2],_[o+600+12>>2]=_[e+48+12>>2],_[o+616>>2]=_[e>>2],_[o+616+4>>2]=_[e+4>>2],_[o+616+8>>2]=_[e+8>>2],_[o+616+12>>2]=_[e+12>>2],_[o+632>>2]=_[e+16>>2],_[o+632+4>>2]=_[e+16+4>>2],_[o+632+8>>2]=_[e+16+8>>2],_[o+632+12>>2]=_[e+16+12>>2],_[o+648>>2]=_[e+32>>2],_[o+648+4>>2]=_[e+32+4>>2],_[o+648+8>>2]=_[e+32+8>>2],_[o+648+12>>2]=_[e+32+12>>2],_[o+664>>2]=_[e+48>>2],_[o+664+4>>2]=_[e+48+4>>2],_[o+664+8>>2]=_[e+48+8>>2],_[o+664+12>>2]=_[e+48+12>>2],p[o+688>>2]=0,p[o+692>>2]=-1,p[o+696>>2]=.8999999761581421,p[o+700>>2]=.30000001192092896,p[o+704>>2]=1,p[o+708>>2]=0,p[o+712>>2]=0,n[o+716|0]=0,n[o+736|0]=0,n[o+737|0]=0,n[o+738|0]=0,n[o+739|0]=1,n[o+740|0]=1&i,_[o+748>>2]=0,e=0|_[o+28>>2],b=+p[o+600>>2],a=+p[o+604>>2],c=+p[o+608>>2],s=b*+p[e+20>>2]+a*+p[e+24>>2]+c*+p[e+28>>2]+ +p[e+56>>2],r=b*+p[e+36>>2]+a*+p[e+40>>2]+c*+p[e+44>>2]+ +p[e+60>>2],p[o+664>>2]=b*+p[e+4>>2]+a*+p[e+8>>2]+c*+p[e+12>>2]+ +p[e+52>>2],p[o+668>>2]=s,p[o+672>>2]=r,p[o+676>>2]=0,p[o+732>>2]=i?-1:1,0|o},_emscripten_bind_btHingeConstraint_btHingeConstraint_4:function(t,e,i,o){var r;return t|=0,e|=0,i|=0,o|=0,r=0|T_(),_[r+4>>2]=4,_[r+8>>2]=-1,_[r+12>>2]=-1,p[r+16>>2]=34028234663852886e22,n[r+20|0]=1,n[r+21|0]=0,_[r+24>>2]=-1,_[r+28>>2]=t,_[r+32>>2]=e,p[r+36>>2]=0,p[r+40>>2]=.30000001192092896,_[r+44>>2]=0,_[r>>2]=5604,_[r+552>>2]=_[i>>2],_[r+552+4>>2]=_[i+4>>2],_[r+552+8>>2]=_[i+8>>2],_[r+552+12>>2]=_[i+12>>2],_[r+568>>2]=_[i+16>>2],_[r+568+4>>2]=_[i+16+4>>2],_[r+568+8>>2]=_[i+16+8>>2],_[r+568+12>>2]=_[i+16+12>>2],_[r+584>>2]=_[i+32>>2],_[r+584+4>>2]=_[i+32+4>>2],_[r+584+8>>2]=_[i+32+8>>2],_[r+584+12>>2]=_[i+32+12>>2],_[r+600>>2]=_[i+48>>2],_[r+600+4>>2]=_[i+48+4>>2],_[r+600+8>>2]=_[i+48+8>>2],_[r+600+12>>2]=_[i+48+12>>2],_[r+616>>2]=_[o>>2],_[r+616+4>>2]=_[o+4>>2],_[r+616+8>>2]=_[o+8>>2],_[r+616+12>>2]=_[o+12>>2],_[r+632>>2]=_[o+16>>2],_[r+632+4>>2]=_[o+16+4>>2],_[r+632+8>>2]=_[o+16+8>>2],_[r+632+12>>2]=_[o+16+12>>2],_[r+648>>2]=_[o+32>>2],_[r+648+4>>2]=_[o+32+4>>2],_[r+648+8>>2]=_[o+32+8>>2],_[r+648+12>>2]=_[o+32+12>>2],_[r+664>>2]=_[o+48>>2],_[r+664+4>>2]=_[o+48+4>>2],_[r+664+8>>2]=_[o+48+8>>2],_[r+664+12>>2]=_[o+48+12>>2],p[r+688>>2]=0,p[r+692>>2]=-1,p[r+696>>2]=.8999999761581421,p[r+700>>2]=.30000001192092896,p[r+704>>2]=1,p[r+708>>2]=0,p[r+712>>2]=0,n[r+716|0]=0,n[r+736|0]=0,n[r+737|0]=0,n[r+738|0]=0,n[r+739|0]=1,n[r+740|0]=0,_[r+748>>2]=0,p[r+732>>2]=1,0|r},_emscripten_bind_btHingeConstraint_btHingeConstraint_5:function(t,e,i,o,r){var s;return t|=0,e|=0,i|=0,o|=0,r|=0,s=0|T_(),_[s+4>>2]=4,_[s+8>>2]=-1,_[s+12>>2]=-1,p[s+16>>2]=34028234663852886e22,n[s+20|0]=1,n[s+21|0]=0,_[s+24>>2]=-1,_[s+28>>2]=t,_[s+32>>2]=e,p[s+36>>2]=0,p[s+40>>2]=.30000001192092896,_[s+44>>2]=0,_[s>>2]=5604,_[s+552>>2]=_[i>>2],_[s+552+4>>2]=_[i+4>>2],_[s+552+8>>2]=_[i+8>>2],_[s+552+12>>2]=_[i+12>>2],_[s+568>>2]=_[i+16>>2],_[s+568+4>>2]=_[i+16+4>>2],_[s+568+8>>2]=_[i+16+8>>2],_[s+568+12>>2]=_[i+16+12>>2],_[s+584>>2]=_[i+32>>2],_[s+584+4>>2]=_[i+32+4>>2],_[s+584+8>>2]=_[i+32+8>>2],_[s+584+12>>2]=_[i+32+12>>2],_[s+600>>2]=_[i+48>>2],_[s+600+4>>2]=_[i+48+4>>2],_[s+600+8>>2]=_[i+48+8>>2],_[s+600+12>>2]=_[i+48+12>>2],_[s+616>>2]=_[o>>2],_[s+616+4>>2]=_[o+4>>2],_[s+616+8>>2]=_[o+8>>2],_[s+616+12>>2]=_[o+12>>2],_[s+632>>2]=_[o+16>>2],_[s+632+4>>2]=_[o+16+4>>2],_[s+632+8>>2]=_[o+16+8>>2],_[s+632+12>>2]=_[o+16+12>>2],_[s+648>>2]=_[o+32>>2],_[s+648+4>>2]=_[o+32+4>>2],_[s+648+8>>2]=_[o+32+8>>2],_[s+648+12>>2]=_[o+32+12>>2],_[s+664>>2]=_[o+48>>2],_[s+664+4>>2]=_[o+48+4>>2],_[s+664+8>>2]=_[o+48+8>>2],_[s+664+12>>2]=_[o+48+12>>2],p[s+688>>2]=0,p[s+692>>2]=-1,p[s+696>>2]=.8999999761581421,p[s+700>>2]=.30000001192092896,p[s+704>>2]=1,p[s+708>>2]=0,p[s+712>>2]=0,n[s+716|0]=0,n[s+736|0]=0,n[s+737|0]=0,n[s+738|0]=0,n[s+739|0]=1,n[s+740|0]=1&r,_[s+748>>2]=0,p[s+732>>2]=r?-1:1,0|s},_emscripten_bind_btHingeConstraint_btHingeConstraint_6:function(t,e,i,n,o,_){var r;return t|=0,e|=0,i|=0,n|=0,o|=0,_|=0,Je(r=0|T_(),t,e,i,n,o,_,0),0|r},_emscripten_bind_btHingeConstraint_btHingeConstraint_7:function(t,e,i,n,o,_,r){var s;return t|=0,e|=0,i|=0,n|=0,o|=0,_|=0,r|=0,Je(s=0|T_(),t,e,i,n,o,_,r),0|s},_emscripten_bind_btHingeConstraint_enableAngularMotor_3:function(t,e,i,n){sr(t|=0,e|=0,i=+i,n=+n)},_emscripten_bind_btHingeConstraint_enableFeedback_1:Ws,_emscripten_bind_btHingeConstraint_enableMotor_1:function(t,e){Tp(t|=0,e|=0)},_emscripten_bind_btHingeConstraint_getBreakingImpulseThreshold_0:fs,_emscripten_bind_btHingeConstraint_getParam_2:kr,_emscripten_bind_btHingeConstraint_setAngularOnly_1:function(t,e){kp(t|=0,e|=0)},_emscripten_bind_btHingeConstraint_setBreakingImpulseThreshold_1:Ds,_emscripten_bind_btHingeConstraint_setLimit_4:function(t,e,i,n,o){eo(t|=0,e=+e,i=+i,n=+n,o=+o,1)},_emscripten_bind_btHingeConstraint_setLimit_5:function(t,e,i,n,o,_){eo(t|=0,e=+e,i=+i,n=+n,o=+o,_=+_)},_emscripten_bind_btHingeConstraint_setMaxMotorImpulse_1:function(t,e){!function(t,e){e=+e,p[(t|=0)+684>>2]=e}(t|=0,e=+e)},_emscripten_bind_btHingeConstraint_setMotorTarget_2:function(t,e,i){e=+e,i=+i;var n,o=0,r=0;n=+p[692+(t|=0)>>2];do{if(n>0&&!(!((o=(e-(r=+p[t+688>>2]))%6.2831854820251465<-3.1415927410125732?(e-r)%6.2831854820251465+6.2831854820251465:(e-r)%6.2831854820251465>3.1415927410125732?(e-r)%6.2831854820251465-6.2831854820251465:(e-r)%6.2831854820251465)<-n)&o<=n)){if(o>0){if((n+r)%6.2831854820251465<-3.1415927410125732){e=(n+r)%6.2831854820251465+6.2831854820251465;break}if(!((n+r)%6.2831854820251465>3.1415927410125732)){e=(n+r)%6.2831854820251465;break}e=(n+r)%6.2831854820251465-6.2831854820251465;break}if((r-n)%6.2831854820251465<-3.1415927410125732){e=(r-n)%6.2831854820251465+6.2831854820251465;break}if(!((r-n)%6.2831854820251465>3.1415927410125732)){e=(r-n)%6.2831854820251465;break}e=(r-n)%6.2831854820251465-6.2831854820251465;break}}while(0);i=(e-+Yi(t,4+(0|_[t+28>>2])|0,4+(0|_[t+32>>2])|0))/i,p[t+680>>2]=i},_emscripten_bind_btHingeConstraint_setParam_3:lr,_emscripten_bind_btIDebugDraw___destroy___0:Kr,_emscripten_bind_btIDebugDraw_draw3dText_2:Fr,_emscripten_bind_btIDebugDraw_drawContactPoint_5:v_,_emscripten_bind_btIDebugDraw_drawLine_3:Ar,_emscripten_bind_btIDebugDraw_getDebugMode_0:Ns,_emscripten_bind_btIDebugDraw_reportErrorWarning_1:es,_emscripten_bind_btIDebugDraw_setDebugMode_1:as,_emscripten_bind_btIntArray___destroy___0:As,_emscripten_bind_btIntArray_at_1:zr,_emscripten_bind_btIntArray_size_0:xc,_emscripten_bind_btKinematicCharacterController___destroy___0:Kr,_emscripten_bind_btKinematicCharacterController_btKinematicCharacterController_3:function(t,e,i){var o;return t|=0,e|=0,i=+i,o=0|g_(),_[o>>2]=5772,n[o+144|0]=1,_[o+140>>2]=0,_[o+132>>2]=0,_[o+136>>2]=0,_[o+176>>2]=1,p[o+56>>2]=.019999999552965164,_[o+60>>2]=0,_[o+60+4>>2]=0,_[o+60+8>>2]=0,_[o+60+12>>2]=0,n[o+170|0]=1,_[o+8>>2]=t,p[o+52>>2]=i,p[o+48>>2]=0,_[o+12>>2]=e,n[o+171|0]=1,p[o+172>>2]=0,p[o+16>>2]=0,p[o+20>>2]=0,p[o+44>>2]=29.399999618530273,p[o+24>>2]=55,p[o+28>>2]=10,n[o+168|0]=0,n[o+169|0]=0,n[o+180|0]=1,p[o+36>>2]=.7853981852531433,p[o+40>>2]=.7071067690849304,p[o+108>>2]=0,n[o+181|0]=0,n[o+182|0]=0,0|o},_emscripten_bind_btKinematicCharacterController_btKinematicCharacterController_4:function(t,e,i,o){var r;return t|=0,e|=0,i=+i,o|=0,r=0|g_(),_[r>>2]=5772,n[r+144|0]=1,_[r+140>>2]=0,_[r+132>>2]=0,_[r+136>>2]=0,_[r+176>>2]=o,p[r+56>>2]=.019999999552965164,_[r+60>>2]=0,_[r+60+4>>2]=0,_[r+60+8>>2]=0,_[r+60+12>>2]=0,n[r+170|0]=1,_[r+8>>2]=t,p[r+52>>2]=i,p[r+48>>2]=0,_[r+12>>2]=e,n[r+171|0]=1,p[r+172>>2]=0,p[r+16>>2]=0,p[r+20>>2]=0,p[r+44>>2]=29.399999618530273,p[r+24>>2]=55,p[r+28>>2]=10,n[r+168|0]=0,n[r+169|0]=0,n[r+180|0]=1,p[r+36>>2]=.7853981852531433,p[r+40>>2]=.7071067690849304,p[r+108>>2]=0,n[r+181|0]=0,n[r+182|0]=0,0|r},_emscripten_bind_btKinematicCharacterController_canJump_0:function(t){return 0|Lb[127&_[40+(0|_[(t|=0)>>2])>>2]](t)},_emscripten_bind_btKinematicCharacterController_getGhostObject_0:Ac,_emscripten_bind_btKinematicCharacterController_getGravity_0:ca,_emscripten_bind_btKinematicCharacterController_getMaxSlope_0:ba,_emscripten_bind_btKinematicCharacterController_jump_0:ws,_emscripten_bind_btKinematicCharacterController_onGround_0:Ns,_emscripten_bind_btKinematicCharacterController_playerStep_2:function(t,e,i){e|=0,i=+i,nd[7&_[36+(0|_[(t|=0)>>2])>>2]](t,e,i)},_emscripten_bind_btKinematicCharacterController_preStep_1:function(t,e){e|=0,id[127&_[32+(0|_[(t|=0)>>2])>>2]](t,e)},_emscripten_bind_btKinematicCharacterController_setFallSpeed_1:gc,_emscripten_bind_btKinematicCharacterController_setGravity_1:Oc,_emscripten_bind_btKinematicCharacterController_setJumpSpeed_1:wc,_emscripten_bind_btKinematicCharacterController_setMaxJumpHeight_1:vc,_emscripten_bind_btKinematicCharacterController_setMaxSlope_1:function(t,e){e=+e,p[36+(t|=0)>>2]=e,e=+f(+e),p[t+40>>2]=e},_emscripten_bind_btKinematicCharacterController_setUpAxis_1:function(t,e){!function(t,e){e=(0|(e|=0))<2?e:2,_[176+(t|=0)>>2]=(0|e)>0?e:0}(t|=0,e|=0)},_emscripten_bind_btKinematicCharacterController_setUpInterpolate_1:function(t,e){e|=0,id[127&_[52+(0|_[(t|=0)>>2])>>2]](t,e)},_emscripten_bind_btKinematicCharacterController_setUseGhostSweepTest_1:function(t,e){qs(t|=0,e|=0)},_emscripten_bind_btKinematicCharacterController_setVelocityForTimeInterval_2:function(t,e,i){e|=0,i=+i,nd[7&_[20+(0|_[(t|=0)>>2])>>2]](t,e,i)},_emscripten_bind_btKinematicCharacterController_setWalkDirection_1:ts,_emscripten_bind_btKinematicCharacterController_updateAction_2:Br,_emscripten_bind_btKinematicCharacterController_warp_1:function(t,e){e|=0,id[127&_[28+(0|_[(t|=0)>>2])>>2]](t,e)},_emscripten_bind_btManifoldPoint___destroy___0:qp,_emscripten_bind_btManifoldPoint_getAppliedImpulse_0:function(t){return+ +qa(+p[120+(t|=0)>>2])},_emscripten_bind_btManifoldPoint_getDistance_0:function(t){return+ +qa(+p[80+(t|=0)>>2])},_emscripten_bind_btManifoldPoint_getPositionWorldOnA_0:lc,_emscripten_bind_btManifoldPoint_getPositionWorldOnB_0:function(t){return 0|ja(t|=0)},_emscripten_bind_btManifoldPoint_get_m_localPointA_0:vb,_emscripten_bind_btManifoldPoint_get_m_localPointB_0:ia,_emscripten_bind_btManifoldPoint_get_m_normalWorldOnB_0:function(t){return 64+(t|=0)|0},_emscripten_bind_btManifoldPoint_get_m_positionWorldOnA_0:Ya,_emscripten_bind_btManifoldPoint_get_m_positionWorldOnB_0:ja,_emscripten_bind_btManifoldPoint_set_m_localPointA_1:d_,_emscripten_bind_btManifoldPoint_set_m_localPointB_1:o_,_emscripten_bind_btManifoldPoint_set_m_normalWorldOnB_1:function(t,e){e|=0,_[64+(t|=0)>>2]=_[e>>2],_[t+64+4>>2]=_[e+4>>2],_[t+64+8>>2]=_[e+8>>2],_[t+64+12>>2]=_[e+12>>2]},_emscripten_bind_btManifoldPoint_set_m_positionWorldOnA_1:p_,_emscripten_bind_btManifoldPoint_set_m_positionWorldOnB_1:t_,_emscripten_bind_btMatrix3x3___destroy___0:qp,_emscripten_bind_btMatrix3x3_getRotation_1:function(t,e){Qt(t|=0,e|=0)},_emscripten_bind_btMatrix3x3_getRow_1:function(t,e){return t|=0,e|=0,0|n[24424]||Qs(24424),e=0|wa(t,e),_[6234]=_[e>>2],_[6235]=_[e+4>>2],_[6236]=_[e+8>>2],_[6237]=_[e+12>>2],24936},_emscripten_bind_btMatrix3x3_setEulerZYX_3:function(t,e,i,n){!function(t,e,i,n){var o,_,r,s;t|=0,i=+i,n=+n,o=Q,Q=Q+48|0,_=+Ab(e=+e),r=+Ab(i),s=+Ab(n),e=+lb(e),i=+lb(i),n=+lb(n),p[o+32>>2]=r*s,p[o+28>>2]=i*(e*s)-_*n,p[o+24>>2]=i*(_*s)+e*n,p[o+20>>2]=r*n,p[o+16>>2]=i*(e*n)+_*s,p[o+12>>2]=i*(_*n)-e*s,p[o+8>>2]=-i,p[o+4>>2]=r*e,p[o>>2]=r*_,vo(t,o+32|0,o+28|0,o+24|0,o+20|0,o+16|0,o+12|0,o+8|0,o+4|0,o),Q=o}(t|=0,e=+e,i=+i,n=+n)},_emscripten_bind_btMatrix3x3_setValue_9:function(t,e,i,n,o,_,r,s,c,a){var b;t|=0,e=+e,i=+i,n=+n,o=+o,_=+_,r=+r,s=+s,c=+c,a=+a,b=Q,Q=Q+48|0,p[b+32>>2]=e,p[b+28>>2]=i,p[b+24>>2]=n,p[b+20>>2]=o,p[b+16>>2]=_,p[b+12>>2]=r,p[b+8>>2]=s,p[b+4>>2]=c,p[b>>2]=a,vo(t,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),Q=b},_emscripten_bind_btMotionState___destroy___0:Kr,_emscripten_bind_btMotionState_getWorldTransform_1:$r,_emscripten_bind_btMotionState_setWorldTransform_1:is,_emscripten_bind_btOverlappingPairCache___destroy___0:Kr,_emscripten_bind_btOverlappingPairCache_setInternalGhostPairCallback_1:Er,_emscripten_bind_btOverlappingPairCallback___destroy___0:Kr,_emscripten_bind_btPairCachingGhostObject___destroy___0:Xr,_emscripten_bind_btPairCachingGhostObject_activate_0:J_,_emscripten_bind_btPairCachingGhostObject_activate_1:k_,_emscripten_bind_btPairCachingGhostObject_btPairCachingGhostObject_0:function(){var t,e=0,i=0;return t=0|S_(288),_[t+164>>2]=1065353216,_[t+168>>2]=1065353216,_[t+172>>2]=1065353216,p[t+176>>2]=0,_[t+180>>2]=0,p[t+184>>2]=0xde0b6b000000000,_[t+188>>2]=0,_[t+188+4>>2]=0,_[t+188+8>>2]=0,_[t+188+12>>2]=0,_[t+204>>2]=1,_[t+208>>2]=-1,_[t+212>>2]=-1,_[t+216>>2]=1,p[t+220>>2]=0,p[t+224>>2]=.5,p[t+228>>2]=0,p[t+232>>2]=0,_[t+240>>2]=0,p[t+244>>2]=1,_[t+248>>2]=0,_[t+248+4>>2]=0,_[t+248+8>>2]=0,_[t+248+12>>2]=0,_[t+4>>2]=1065353216,_[t+8>>2]=0,_[t+8+4>>2]=0,_[t+8+8>>2]=0,_[t+8+12>>2]=0,_[t+24>>2]=1065353216,_[t+28>>2]=0,_[t+28+4>>2]=0,_[t+28+8>>2]=0,_[t+28+12>>2]=0,_[t+44>>2]=1065353216,_[t+48>>2]=0,_[t+48+4>>2]=0,_[t+48+8>>2]=0,_[t+48+12>>2]=0,_[t+48+16>>2]=0,n[t+280|0]=1,_[t+276>>2]=0,_[t+268>>2]=0,_[t+272>>2]=0,_[t+236>>2]=4,_[t>>2]=5984,_[6630]=1+(0|_[6630]),(e=0|di(95))?(_[(e+4+15&-16)-4>>2]=e,Ae(e=e+4+15&-16),_[(i=t+284|0)>>2]=e,0|t):(Ae(i=0),_[(e=t+284|0)>>2]=i,0|t)},_emscripten_bind_btPairCachingGhostObject_forceActivationState_1:dp,_emscripten_bind_btPairCachingGhostObject_getCollisionFlags_0:Bp,_emscripten_bind_btPairCachingGhostObject_getCollisionShape_0:Ip,_emscripten_bind_btPairCachingGhostObject_getNumOverlappingObjects_0:Es,_emscripten_bind_btPairCachingGhostObject_getOverlappingObject_1:Cs,_emscripten_bind_btPairCachingGhostObject_getUserIndex_0:wp,_emscripten_bind_btPairCachingGhostObject_getUserPointer_0:Zp,_emscripten_bind_btPairCachingGhostObject_getWorldTransform_0:Bc,_emscripten_bind_btPairCachingGhostObject_isActive_0:np,_emscripten_bind_btPairCachingGhostObject_isKinematicObject_0:ks,_emscripten_bind_btPairCachingGhostObject_isStaticObject_0:Ms,_emscripten_bind_btPairCachingGhostObject_isStaticOrKinematicObject_0:rs,_emscripten_bind_btPairCachingGhostObject_setActivationState_1:Mr,_emscripten_bind_btPairCachingGhostObject_setAnisotropicFriction_2:Cr,_emscripten_bind_btPairCachingGhostObject_setCcdMotionThreshold_1:Ss,_emscripten_bind_btPairCachingGhostObject_setCcdSweptSphereRadius_1:ms,_emscripten_bind_btPairCachingGhostObject_setCollisionFlags_1:xs,_emscripten_bind_btPairCachingGhostObject_setCollisionShape_1:is,_emscripten_bind_btPairCachingGhostObject_setContactProcessingThreshold_1:Rs,_emscripten_bind_btPairCachingGhostObject_setFriction_1:ip,_emscripten_bind_btPairCachingGhostObject_setRestitution_1:Zs,_emscripten_bind_btPairCachingGhostObject_setRollingFriction_1:Ps,_emscripten_bind_btPairCachingGhostObject_setUserIndex_1:Ks,_emscripten_bind_btPairCachingGhostObject_setUserPointer_1:Ks,_emscripten_bind_btPairCachingGhostObject_setWorldTransform_1:bs,_emscripten_bind_btPersistentManifold___destroy___0:sp,_emscripten_bind_btPersistentManifold_btPersistentManifold_0:function(){var t;return t=0|function(){var t=0;return _[6630]=1+(0|_[6630]),(t=0|di(791))?(_[(t+4+15&-16)-4>>2]=t,0|(t=t+4+15&-16)):0|(t=0)}(),_[t>>2]=1025,_[t+116>>2]=0,n[t+120|0]=0,_[t+124>>2]=0,_[t+124+4>>2]=0,_[t+124+8>>2]=0,_[t+124+12>>2]=0,_[t+124+16>>2]=0,_[t+124+20>>2]=0,_[t+124+24>>2]=0,_[t+124+28>>2]=0,_[t+300>>2]=0,n[t+304|0]=0,_[t+308>>2]=0,_[t+308+4>>2]=0,_[t+308+8>>2]=0,_[t+308+12>>2]=0,_[t+308+16>>2]=0,_[t+308+20>>2]=0,_[t+308+24>>2]=0,_[t+308+28>>2]=0,_[t+484>>2]=0,n[t+488|0]=0,_[t+492>>2]=0,_[t+492+4>>2]=0,_[t+492+8>>2]=0,_[t+492+12>>2]=0,_[t+492+16>>2]=0,_[t+492+20>>2]=0,_[t+492+24>>2]=0,_[t+492+28>>2]=0,_[t+668>>2]=0,n[t+672|0]=0,_[t+676>>2]=0,_[t+676+4>>2]=0,_[t+676+8>>2]=0,_[t+676+12>>2]=0,_[t+676+16>>2]=0,_[t+676+20>>2]=0,_[t+676+24>>2]=0,_[t+676+28>>2]=0,_[t+740>>2]=0,_[t+744>>2]=0,_[t+748>>2]=0,_[t+768>>2]=0,0|t},_emscripten_bind_btPersistentManifold_getBody0_0:function(t){return 0|vb(0|_[740+(t|=0)>>2])},_emscripten_bind_btPersistentManifold_getBody1_0:function(t){return 0|vb(0|_[744+(t|=0)>>2])},_emscripten_bind_btPersistentManifold_getContactPoint_1:function(t,e){return 0|function(t,e){return(t|=0)+4+(184*(e|=0)|0)|0}(t|=0,e|=0)},_emscripten_bind_btPersistentManifold_getNumContacts_0:function(t){return 0|vb(0|_[748+(t|=0)>>2])},_emscripten_bind_btPoint2PointConstraint___destroy___0:Kr,_emscripten_bind_btPoint2PointConstraint_btPoint2PointConstraint_2:function(t,e){var i,o,r,s,c,a;return t|=0,e|=0,sn(i=0|D_(),3,t),_[i>>2]=5392,_[i+300>>2]=_[e>>2],_[i+300+4>>2]=_[e+4>>2],_[i+300+8>>2]=_[e+8>>2],_[i+300+12>>2]=_[e+12>>2],a=+p[e>>2],c=+p[e+4>>2],s=+p[e+8>>2],r=a*+p[t+20>>2]+c*+p[t+24>>2]+s*+p[t+28>>2]+ +p[t+56>>2],o=a*+p[t+36>>2]+c*+p[t+40>>2]+s*+p[t+44>>2]+ +p[t+60>>2],p[i+316>>2]=a*+p[t+4>>2]+c*+p[t+8>>2]+s*+p[t+12>>2]+ +p[t+52>>2],p[i+320>>2]=r,p[i+324>>2]=o,p[i+328>>2]=0,_[i+332>>2]=0,n[i+344|0]=0,p[i+348>>2]=.30000001192092896,p[i+352>>2]=1,p[i+356>>2]=0,0|i},_emscripten_bind_btPoint2PointConstraint_btPoint2PointConstraint_4:function(t,e,i,o){var r;return t|=0,e|=0,i|=0,o|=0,r=0|D_(),_[r+4>>2]=3,_[r+8>>2]=-1,_[r+12>>2]=-1,p[r+16>>2]=34028234663852886e22,n[r+20|0]=1,n[r+21|0]=0,_[r+24>>2]=-1,_[r+28>>2]=t,_[r+32>>2]=e,p[r+36>>2]=0,p[r+40>>2]=.30000001192092896,_[r+44>>2]=0,_[r>>2]=5392,_[r+300>>2]=_[i>>2],_[r+300+4>>2]=_[i+4>>2],_[r+300+8>>2]=_[i+8>>2],_[r+300+12>>2]=_[i+12>>2],_[r+316>>2]=_[o>>2],_[r+316+4>>2]=_[o+4>>2],_[r+316+8>>2]=_[o+8>>2],_[r+316+12>>2]=_[o+12>>2],_[r+332>>2]=0,n[r+344|0]=0,p[r+348>>2]=.30000001192092896,p[r+352>>2]=1,p[r+356>>2]=0,0|r},_emscripten_bind_btPoint2PointConstraint_enableFeedback_1:Ws,_emscripten_bind_btPoint2PointConstraint_getBreakingImpulseThreshold_0:fs,_emscripten_bind_btPoint2PointConstraint_getParam_2:kr,_emscripten_bind_btPoint2PointConstraint_getPivotInA_0:function(t){return 0|function(t){return(t|=0)+300|0}(t|=0)},_emscripten_bind_btPoint2PointConstraint_getPivotInB_0:function(t){return 0|function(t){return(t|=0)+316|0}(t|=0)},_emscripten_bind_btPoint2PointConstraint_get_m_setting_0:function(t){return 348+(t|=0)|0},_emscripten_bind_btPoint2PointConstraint_setBreakingImpulseThreshold_1:Ds,_emscripten_bind_btPoint2PointConstraint_setParam_3:lr,_emscripten_bind_btPoint2PointConstraint_setPivotA_1:function(t,e){!function(t,e){e|=0,_[300+(t|=0)>>2]=_[e>>2],_[t+300+4>>2]=_[e+4>>2],_[t+300+8>>2]=_[e+8>>2],_[t+300+12>>2]=_[e+12>>2]}(t|=0,e|=0)},_emscripten_bind_btPoint2PointConstraint_setPivotB_1:function(t,e){!function(t,e){e|=0,_[316+(t|=0)>>2]=_[e>>2],_[t+316+4>>2]=_[e+4>>2],_[t+316+8>>2]=_[e+8>>2],_[t+316+12>>2]=_[e+12>>2]}(t|=0,e|=0)},_emscripten_bind_btPoint2PointConstraint_set_m_setting_1:function(t,e){e|=0,_[348+(t|=0)>>2]=_[e>>2],_[t+348+4>>2]=_[e+4>>2],_[t+348+8>>2]=_[e+8>>2]},_emscripten_bind_btQuadWord___destroy___0:qp,_emscripten_bind_btQuadWord_setW_1:$p,_emscripten_bind_btQuadWord_setX_1:cc,_emscripten_bind_btQuadWord_setY_1:pc,_emscripten_bind_btQuadWord_setZ_1:sc,_emscripten_bind_btQuadWord_w_0:Hp,_emscripten_bind_btQuadWord_x_0:yc,_emscripten_bind_btQuadWord_y_0:Ep,_emscripten_bind_btQuadWord_z_0:Qp,_emscripten_bind_btQuaternion___destroy___0:qp,_emscripten_bind_btQuaternion_angleShortestPath_1:function(t,e){return+ +Hn(t|=0,e|=0)},_emscripten_bind_btQuaternion_angle_1:function(t,e){return+ +function(t,e){e|=0;var i=0;return i=+db((i=+Mc(t|=0))*+Mc(e)),+ +op(+ho(t,e)/i)}(t|=0,e|=0)},_emscripten_bind_btQuaternion_btQuaternion_4:function(t,e,i,n){var o,_;return t=+t,e=+e,i=+i,n=+n,_=Q,Q=Q+16|0,p[_+12>>2]=t,p[_+8>>2]=e,p[_+4>>2]=i,p[_>>2]=n,Wr(o=0|a_(16),_+12|0,_+8|0,_+4|0,_),Q=_,0|o},_emscripten_bind_btQuaternion_dot_1:function(t,e){return+ +ho(t|=0,e|=0)},_emscripten_bind_btQuaternion_getAngleShortestPath_0:function(t){return+ +function(t){var e,i=0;return e=+ho(t|=0,t)<0,i=+p[t+12>>2],e?(i=+op(i),+(i*=2)):(i=+op(-i),+(i*=2))}(t|=0)},_emscripten_bind_btQuaternion_getAngle_0:function(t){return+ +function(t){return 2*+op(t=+t)}(+p[12+(t|=0)>>2])},_emscripten_bind_btQuaternion_getAxis_0:function(t){var e;return t|=0,e=Q,Q=Q+16|0,0|n[24344]||Qs(24344),function(t,e){t|=0;var i,n=0;i=Q,Q=Q+32|0,1-(n=+p[12+(e|=0)>>2])*n<11920928955078125e-22?(p[i+20>>2]=1,p[i+16>>2]=0,p[i+12>>2]=0,R_(t,i+20|0,i+16|0,i+12|0),Q=i):(n=1/+db(1-n*n),p[i+8>>2]=+p[e>>2]*n,p[i+4>>2]=+p[e+4>>2]*n,p[i>>2]=+p[e+8>>2]*n,R_(t,i+8|0,i+4|0,i),Q=i)}(e,t),_[6142]=_[e>>2],_[6143]=_[e+4>>2],_[6144]=_[e+8>>2],_[6145]=_[e+12>>2],Q=e,24568},_emscripten_bind_btQuaternion_inverse_0:function(t){var e;return t|=0,e=Q,Q=Q+16|0,0|n[24336]||Qs(24336),function(t,e){t|=0,e|=0;var i=0;i=Q,Q=Q+16|0,p[i+8>>2]=-+p[e>>2],p[i+4>>2]=-+p[e+4>>2],p[i>>2]=-+p[e+8>>2],Wr(t,i+8|0,i+4|0,i,e+12|0),Q=i}(e,t),_[6138]=_[e>>2],_[6139]=_[e+4>>2],_[6140]=_[e+8>>2],_[6141]=_[e+12>>2],Q=e,24552},_emscripten_bind_btQuaternion_length2_0:function(t){return+ +Mc(t|=0)},_emscripten_bind_btQuaternion_length_0:function(t){return+ +ac(t|=0)},_emscripten_bind_btQuaternion_normalize_0:function(t){!function(t){$_(t|=0,+ac(t))}(t|=0)},_emscripten_bind_btQuaternion_normalized_0:function(t){var e;return t|=0,e=Q,Q=Q+16|0,0|n[24352]||Qs(24352),function(t,e){(function(t,e,i){(function(t,e,i){t|=0,i=+i;var n,o=0;n=Q,Q=Q+16|0,o=0|vb(e|=0),p[n+12>>2]=+p[o>>2]*i,o=0|pb(e),p[n+8>>2]=+p[o>>2]*i,o=0|sb(e),p[n+4>>2]=+p[o>>2]*i,p[n>>2]=+p[e+12>>2]*i,Wr(t,n+12|0,n+8|0,n+4|0,n),Q=n})(t|=0,e|=0,1/(i=+i))})(t|=0,e|=0,+ac(e))}(e,t),_[6146]=_[e>>2],_[6147]=_[e+4>>2],_[6148]=_[e+8>>2],_[6149]=_[e+12>>2],Q=e,24584},_emscripten_bind_btQuaternion_op_add_1:function(t,e){return 0|function(t,e){t|=0;var i=0;return i=0|vb(e|=0),p[t>>2]=+p[t>>2]+ +p[i>>2],i=0|pb(e),p[t+4>>2]=+p[t+4>>2]+ +p[i>>2],i=0|sb(e),p[t+8>>2]=+p[t+8>>2]+ +p[i>>2],p[t+12>>2]=+p[t+12>>2]+ +p[e+12>>2],0|t}(t|=0,e|=0)},_emscripten_bind_btQuaternion_op_div_1:function(t,e){return 0|$_(t|=0,e=+e)},_emscripten_bind_btQuaternion_op_mul_1:function(t,e){var i;return t|=0,e=+e,i=Q,Q=Q+16|0,p[i>>2]=e,t=0|Go(t,i),Q=i,0|t},_emscripten_bind_btQuaternion_op_mulq_1:function(t,e){return 0|function(t,e){e|=0;var i,n,o,_,r,s,c,a,b,d=0;return i=Q,Q=Q+16|0,b=+p[12+(t|=0)>>2],d=0|vb(e),s=+p[d>>2],c=+p[t>>2],a=+p[e+12>>2],r=+p[t+4>>2],d=0|sb(e),n=+p[d>>2],o=+p[t+8>>2],e=0|pb(e),_=+p[e>>2],p[i+12>>2]=b*s+c*a+r*n-o*_,p[i+8>>2]=b*_+r*a+o*s-c*n,p[i+4>>2]=b*n+o*a+c*_-r*s,p[i>>2]=b*a-c*s-r*_-o*n,n_(t,i+12|0,i+8|0,i+4|0,i),Q=i,0|t}(t|=0,e|=0)},_emscripten_bind_btQuaternion_op_sub_1:function(t,e){return 0|function(t,e){t|=0;var i=0;return i=0|vb(e|=0),p[t>>2]=+p[t>>2]-+p[i>>2],i=0|pb(e),p[t+4>>2]=+p[t+4>>2]-+p[i>>2],i=0|sb(e),p[t+8>>2]=+p[t+8>>2]-+p[i>>2],p[t+12>>2]=+p[t+12>>2]-+p[e+12>>2],0|t}(t|=0,e|=0)},_emscripten_bind_btQuaternion_setEulerZYX_3:function(t,e,i,n){!function(t,e,i,n){var o,_,r,s;t|=0,i=+i,n=+n,o=Q,Q=Q+16|0,_=+Ab(.5*(e=+e)),e=+lb(.5*e),r=+Ab(.5*i),i=+lb(.5*i),s=+Ab(.5*n),n=+lb(.5*n),p[o+12>>2]=n*r*_-s*i*e,p[o+8>>2]=s*i*_+n*r*e,p[o+4>>2]=s*r*e-n*i*_,p[o>>2]=s*r*_+n*i*e,n_(t,o+12|0,o+8|0,o+4|0,o),Q=o}(t|=0,e=+e,i=+i,n=+n)},_emscripten_bind_btQuaternion_setRotation_2:function(t,e,i){!function(t,e,i){t|=0,i=+i;var n,o=0,_=0;n=Q,Q=Q+16|0,o=+ep(+p[(e|=0)>>2],+p[e+4>>2],+p[e+8>>2]),o=+lb(.5*i)/o,_=0|vb(e),p[n+12>>2]=+p[_>>2]*o,_=0|pb(e),p[n+8>>2]=+p[_>>2]*o,e=0|sb(e),p[n+4>>2]=+p[e>>2]*o,i=+Ab(.5*i),p[n>>2]=i,n_(t,n+12|0,n+8|0,n+4|0,n),Q=n}(t|=0,e|=0,i=+i)},_emscripten_bind_btQuaternion_setValue_4:Ro,_emscripten_bind_btQuaternion_setW_1:$p,_emscripten_bind_btQuaternion_setX_1:cc,_emscripten_bind_btQuaternion_setY_1:pc,_emscripten_bind_btQuaternion_setZ_1:sc,_emscripten_bind_btQuaternion_w_0:Hp,_emscripten_bind_btQuaternion_x_0:yc,_emscripten_bind_btQuaternion_y_0:Ep,_emscripten_bind_btQuaternion_z_0:Qp,_emscripten_bind_btRaycastVehicle___destroy___0:Kr,_emscripten_bind_btRaycastVehicle_addWheel_7:function(t,e,i,o,r,s,c,a){t|=0,e|=0,i|=0,o|=0,r=+r,s=+s,c|=0,a|=0;var b,d,l,A,f,u,m,h=0,y=0,g=0,C=0;if(m=Q,Q=Q+288|0,_[m+208>>2]=_[e>>2],_[m+208+4>>2]=_[e+4>>2],_[m+208+8>>2]=_[e+8>>2],_[m+208+12>>2]=_[e+12>>2],_[(g=m+208+16|0)>>2]=_[i>>2],_[g+4>>2]=_[i+4>>2],_[g+8>>2]=_[i+8>>2],_[g+12>>2]=_[i+12>>2],_[(i=m+208+32|0)>>2]=_[o>>2],_[i+4>>2]=_[o+4>>2],_[i+8>>2]=_[o+8>>2],_[i+12>>2]=_[o+12>>2],u=0|_[c>>2],d=0|_[c+4>>2],l=0|_[c+8>>2],A=0|_[c+16>>2],f=0|_[c+12>>2],b=0|_[c+20>>2],_[m+156>>2]=_[m+208>>2],_[m+156+4>>2]=_[m+208+4>>2],_[m+156+8>>2]=_[m+208+8>>2],_[m+156+12>>2]=_[m+208+12>>2],_[m+172>>2]=_[g>>2],_[m+172+4>>2]=_[g+4>>2],_[m+172+8>>2]=_[g+8>>2],_[m+172+12>>2]=_[g+12>>2],_[m+188>>2]=_[i>>2],_[m+188+4>>2]=_[i+4>>2],_[m+188+8>>2]=_[i+8>>2],_[m+188+12>>2]=_[i+12>>2],(0|(i=0|_[t+136>>2]))==(0|_[t+140>>2])&&(0|i)<(0|(C=0|i?i<<1:1))){if(C?(_[6630]=1+(0|_[6630]),(e=0|di(16+(284*C|3)|0))?(_[(e+4+15&-16)-4>>2]=e,e=e+4+15&-16):e=0,i=0|_[t+136>>2]):e=0,(0|i)>0){o=0;do{y=(c=0|_[t+144>>2])+(284*o|0)|0,g=92+(h=e+(284*o|0)|0)|0;do{_[h>>2]=_[y>>2],h=h+4|0,y=y+4|0}while((0|h)<(0|g));y=c+(284*o|0)+92|0,_[(h=e+(284*o|0)+92|0)>>2]=_[y>>2],_[h+4>>2]=_[y+4>>2],_[h+8>>2]=_[y+8>>2],_[h+12>>2]=_[y+12>>2],h=c+(284*o|0)+108|0,_[(y=e+(284*o|0)+108|0)>>2]=_[h>>2],_[y+4>>2]=_[h+4>>2],_[y+8>>2]=_[h+8>>2],_[y+12>>2]=_[h+12>>2],y=c+(284*o|0)+124|0,_[(h=e+(284*o|0)+124|0)>>2]=_[y>>2],_[h+4>>2]=_[y+4>>2],_[h+8>>2]=_[y+8>>2],_[h+12>>2]=_[y+12>>2],y=c+(284*o|0)+140|0,_[(h=e+(284*o|0)+140|0)>>2]=_[y>>2],_[h+4>>2]=_[y+4>>2],_[h+8>>2]=_[y+8>>2],_[h+12>>2]=_[y+12>>2],y=c+(284*o|0)+156|0,g=128+(h=e+(284*o|0)+156|0)|0;do{_[h>>2]=_[y>>2],h=h+4|0,y=y+4|0}while((0|h)<(0|g));o=o+1|0}while((0|o)!=(0|i))}0|(i=0|_[t+144>>2])&&(0|n[t+148|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[i+-4>>2])),_[t+144>>2]=0),n[t+148|0]=1,_[t+144>>2]=e,_[t+140>>2]=C,i=0|_[t+136>>2]}y=m,g=92+(h=(e=0|_[t+144>>2])+(284*i|0)|0)|0;do{_[h>>2]=_[y>>2],h=h+4|0,y=y+4|0}while((0|h)<(0|g));_[(h=e+(284*i|0)+92|0)>>2]=_[m+92>>2],_[h+4>>2]=_[m+92+4>>2],_[h+8>>2]=_[m+92+8>>2],_[h+12>>2]=_[m+92+12>>2],_[(h=e+(284*i|0)+108|0)>>2]=_[m+108>>2],_[h+4>>2]=_[m+108+4>>2],_[h+8>>2]=_[m+108+8>>2],_[h+12>>2]=_[m+108+12>>2],_[(h=e+(284*i|0)+124|0)>>2]=_[m+124>>2],_[h+4>>2]=_[m+124+4>>2],_[h+8>>2]=_[m+124+8>>2],_[h+12>>2]=_[m+124+12>>2],_[(h=e+(284*i|0)+140|0)>>2]=_[m+140>>2],_[h+4>>2]=_[m+140+4>>2],_[h+8>>2]=_[m+140+8>>2],_[h+12>>2]=_[m+140+12>>2],y=m+156|0,g=48+(h=e=e+(284*i|0)+156|0)|0;do{_[h>>2]=_[y>>2],h=h+4|0,y=y+4|0}while((0|h)<(0|g));p[e+48>>2]=r,_[e+52>>2]=f,p[e+56>>2]=s,_[e+60>>2]=u,_[e+64>>2]=d,_[e+68>>2]=l,_[e+72>>2]=A,p[e+76>>2]=0,p[e+80>>2]=0,p[e+84>>2]=0,p[e+88>>2]=.10000000149011612,_[e+92>>2]=b,p[e+96>>2]=0,p[e+100>>2]=0,n[e+104|0]=1&a,y=m+256|0,g=23+(h=e+105|0)|0;do{n[0|h]=0|n[0|y],h=h+1|0,y=y+1|0}while((0|h)<(0|g));return a=0|_[t+136>>2],_[t+136>>2]=a+1,a=(0|_[t+144>>2])+(284*a|0)|0,jt(0|_[t+116>>2],a,0),Ue(0|_[t+116>>2],0|_[t+144>>2],(0|_[t+136>>2])-1|0,0),Q=m,0|a},_emscripten_bind_btRaycastVehicle_applyEngineForce_2:function(t,e,i){e=+e,i|=0,p[(0|_[144+(t|=0)>>2])+(284*i|0)+252>>2]=e},_emscripten_bind_btRaycastVehicle_btRaycastVehicle_3:function(t,e,i){return t|=0,e|=0,i|=0,t=0|a_(152),_[t>>2]=5716,n[t+20|0]=1,_[t+16>>2]=0,_[t+8>>2]=0,_[t+12>>2]=0,n[t+40|0]=1,_[t+36>>2]=0,_[t+28>>2]=0,_[t+32>>2]=0,n[t+60|0]=1,_[t+56>>2]=0,_[t+48>>2]=0,_[t+52>>2]=0,n[t+80|0]=1,_[t+76>>2]=0,_[t+68>>2]=0,_[t+72>>2]=0,_[t+100>>2]=i,p[t+104>>2]=0,n[t+148|0]=1,_[t+144>>2]=0,_[t+136>>2]=0,_[t+140>>2]=0,_[t+116>>2]=e,_[t+120>>2]=0,_[t+124>>2]=2,_[t+128>>2]=1,p[t+112>>2]=0,p[t+108>>2]=0,0|t},_emscripten_bind_btRaycastVehicle_getChassisWorldTransform_0:function(t){return 4+(0|_[116+(t|=0)>>2])|0},_emscripten_bind_btRaycastVehicle_getCurrentSpeedKmHour_0:function(t){return+ +qa(+p[112+(t|=0)>>2])},_emscripten_bind_btRaycastVehicle_getForwardAxis_0:function(t){return 0|vb(0|_[128+(t|=0)>>2])},_emscripten_bind_btRaycastVehicle_getForwardVector_0:function(t){var e;return t|=0,e=Q,Q=Q+16|0,0|n[24392]||Qs(24392),function(t,e,i){t|=0,i|=0;var n=0,o=0;e=0|vb((e|=0)+4|0),o=(0|vb(0|wa(e,0)))+(i<<2)|0,n=(0|vb(0|wa(e,1)))+(i<<2)|0,R_(t,o,n,(0|vb(0|wa(e,2)))+(i<<2)|0)}(e,0|_[t+116>>2],0|_[t+128>>2]),_[6198]=_[e>>2],_[6199]=_[e+4>>2],_[6200]=_[e+8>>2],_[6201]=_[e+12>>2],Q=e,24792},_emscripten_bind_btRaycastVehicle_getNumWheels_0:function(t){return 0|function(t){return 0|vb(0|_[(t|=0)+136>>2])}(t|=0)},_emscripten_bind_btRaycastVehicle_getRightAxis_0:function(t){return 0|vb(0|_[120+(t|=0)>>2])},_emscripten_bind_btRaycastVehicle_getRigidBody_0:function(t){return 0|vb(0|_[116+(t|=0)>>2])},_emscripten_bind_btRaycastVehicle_getSteeringValue_1:function(t,e){return e|=0,+ +p[(0|_[144+(t|=0)>>2])+(284*e|0)+232>>2]},_emscripten_bind_btRaycastVehicle_getUpAxis_0:function(t){return 0|vb(0|_[124+(t|=0)>>2])},_emscripten_bind_btRaycastVehicle_getUserConstraintId_0:function(t){return 0|vb(0|_[88+(t|=0)>>2])},_emscripten_bind_btRaycastVehicle_getUserConstraintType_0:function(t){return 0|vb(0|_[84+(t|=0)>>2])},_emscripten_bind_btRaycastVehicle_getWheelInfo_1:function(t,e){return e|=0,(0|_[144+(t|=0)>>2])+(284*e|0)|0},_emscripten_bind_btRaycastVehicle_getWheelTransformWS_1:function(t,e){return e|=0,(0|_[144+(t|=0)>>2])+(284*e|0)+92|0},_emscripten_bind_btRaycastVehicle_rayCast_1:function(t,e){return+ +J(t|=0,e|=0)},_emscripten_bind_btRaycastVehicle_resetSuspension_0:function(t){var e=0,i=0,n=0,o=0;if(!((0|_[136+(t|=0)>>2])<=0)){e=0;do{i=0|_[t+144>>2],_[i+(284*e|0)+32>>2]=_[i+(284*e|0)+204>>2],p[i+(284*e|0)+272>>2]=0,o=-+p[i+(284*e|0)+56>>2],n=-+p[i+(284*e|0)+60>>2],p[i+(284*e|0)>>2]=-+p[i+(284*e|0)+52>>2],p[i+(284*e|0)+4>>2]=o,p[i+(284*e|0)+8>>2]=n,p[i+(284*e|0)+12>>2]=0,p[i+(284*e|0)+268>>2]=1,e=e+1|0}while((0|e)<(0|_[t+136>>2]))}},_emscripten_bind_btRaycastVehicle_setBrake_2:function(t,e,i){e=+e,i|=0,p[(0|_[144+(t|=0)>>2])+(284*i|0)+256>>2]=e},_emscripten_bind_btRaycastVehicle_setCoordinateSystem_3:function(t,e,i,n){e|=0,i|=0,n|=0,cd[127&_[24+(0|_[(t|=0)>>2])>>2]](t,e,i,n)},_emscripten_bind_btRaycastVehicle_setPitchControl_1:function(t,e){Up(t|=0,e=+e)},_emscripten_bind_btRaycastVehicle_setSteeringValue_2:function(t,e,i){e=+e,i|=0,p[(0|_[144+(t|=0)>>2])+(284*i|0)+232>>2]=e},_emscripten_bind_btRaycastVehicle_setUserConstraintId_1:function(t,e){Lp(t|=0,e|=0)},_emscripten_bind_btRaycastVehicle_setUserConstraintType_1:function(t,e){Gp(t|=0,e|=0)},_emscripten_bind_btRaycastVehicle_updateAction_2:Br,_emscripten_bind_btRaycastVehicle_updateFriction_1:function(t,e){e=+e,Kb[31&_[20+(0|_[(t|=0)>>2])>>2]](t,e)},_emscripten_bind_btRaycastVehicle_updateSuspension_1:function(t,e){e=+e;var i=0,o=0,r=0;if(e=1/+p[344+(0|_[116+(t|=0)>>2])>>2],!((0|_[t+136>>2])<=0)){i=0;do{o=0|_[t+144>>2],0|n[o+(284*i|0)+84|0]?(r=+p[o+(284*i|0)+272>>2],r=(r=e*(+p[o+(284*i|0)+216>>2]*(+p[o+(284*i|0)+204>>2]-+p[o+(284*i|0)+32>>2])*+p[o+(284*i|0)+268>>2]-r*+p[(r<0?o+(284*i|0)+220:o+(284*i|0)+224)>>2]))<0?0:r):r=0,p[o+(284*i|0)+276>>2]=r,i=i+1|0}while((0|i)<(0|_[t+136>>2]))}},_emscripten_bind_btRaycastVehicle_updateVehicle_1:function(t,e){e=+e,Kb[31&_[16+(0|_[(t|=0)>>2])>>2]](t,e)},_emscripten_bind_btRaycastVehicle_updateWheelTransform_2:function(t,e,i){e|=0,i|=0,Ue(0|_[116+(t|=0)>>2],0|_[t+144>>2],e,i)},_emscripten_bind_btRaycastVehicle_updateWheelTransformsWS_1:function(t,e){e|=0,jt(0|_[116+(t|=0)>>2],e,1)},_emscripten_bind_btRaycastVehicle_updateWheelTransformsWS_2:function(t,e,i){e|=0,i|=0,jt(0|_[116+(t|=0)>>2],e,i)},_emscripten_bind_btRigidBodyConstructionInfo___destroy___0:qp,_emscripten_bind_btRigidBodyConstructionInfo_btRigidBodyConstructionInfo_3:function(t,e,i){var n,o;return t=+t,e|=0,i|=0,o=Q,Q=Q+32|0,n=0|a_(140),p[o+8>>2]=0,p[o+4>>2]=0,p[o>>2]=0,R_(o+16|0,o+8|0,o+4|0,o),jn(n,t,e,i,o+16|0),Q=o,0|n},_emscripten_bind_btRigidBodyConstructionInfo_btRigidBodyConstructionInfo_4:function(t,e,i,n){var o;return t=+t,e|=0,i|=0,n|=0,jn(o=0|a_(140),t,e,i,n),0|o},_emscripten_bind_btRigidBodyConstructionInfo_get_m_additionalAngularDampingFactor_0:function(t){return+ +p[136+(t|=0)>>2]},_emscripten_bind_btRigidBodyConstructionInfo_get_m_additionalAngularDampingThresholdSqr_0:function(t){return+ +p[132+(t|=0)>>2]},_emscripten_bind_btRigidBodyConstructionInfo_get_m_additionalDampingFactor_0:function(t){return+ +p[124+(t|=0)>>2]},_emscripten_bind_btRigidBodyConstructionInfo_get_m_additionalDamping_0:function(t){return 0|!!(1&n[120+(t|=0)|0])},_emscripten_bind_btRigidBodyConstructionInfo_get_m_additionalLinearDampingThresholdSqr_0:function(t){return+ +p[128+(t|=0)>>2]},_emscripten_bind_btRigidBodyConstructionInfo_get_m_angularDamping_0:function(t){return+ +p[96+(t|=0)>>2]},_emscripten_bind_btRigidBodyConstructionInfo_get_m_angularSleepingThreshold_0:function(t){return+ +p[116+(t|=0)>>2]},_emscripten_bind_btRigidBodyConstructionInfo_get_m_friction_0:function(t){return+ +p[100+(t|=0)>>2]},_emscripten_bind_btRigidBodyConstructionInfo_get_m_linearDamping_0:pa,_emscripten_bind_btRigidBodyConstructionInfo_get_m_linearSleepingThreshold_0:function(t){return+ +p[112+(t|=0)>>2]},_emscripten_bind_btRigidBodyConstructionInfo_get_m_restitution_0:function(t){return+ +p[108+(t|=0)>>2]},_emscripten_bind_btRigidBodyConstructionInfo_get_m_rollingFriction_0:function(t){return+ +p[104+(t|=0)>>2]},_emscripten_bind_btRigidBodyConstructionInfo_set_m_additionalAngularDampingFactor_1:function(t,e){e=+e,p[136+(t|=0)>>2]=e},_emscripten_bind_btRigidBodyConstructionInfo_set_m_additionalAngularDampingThresholdSqr_1:function(t,e){e=+e,p[132+(t|=0)>>2]=e},_emscripten_bind_btRigidBodyConstructionInfo_set_m_additionalDampingFactor_1:function(t,e){e=+e,p[124+(t|=0)>>2]=e},_emscripten_bind_btRigidBodyConstructionInfo_set_m_additionalDamping_1:function(t,e){e|=0,n[120+(t|=0)|0]=1&e},_emscripten_bind_btRigidBodyConstructionInfo_set_m_additionalLinearDampingThresholdSqr_1:function(t,e){e=+e,p[128+(t|=0)>>2]=e},_emscripten_bind_btRigidBodyConstructionInfo_set_m_angularDamping_1:function(t,e){e=+e,p[96+(t|=0)>>2]=e},_emscripten_bind_btRigidBodyConstructionInfo_set_m_angularSleepingThreshold_1:function(t,e){e=+e,p[116+(t|=0)>>2]=e},_emscripten_bind_btRigidBodyConstructionInfo_set_m_friction_1:function(t,e){e=+e,p[100+(t|=0)>>2]=e},_emscripten_bind_btRigidBodyConstructionInfo_set_m_linearDamping_1:fc,_emscripten_bind_btRigidBodyConstructionInfo_set_m_linearSleepingThreshold_1:function(t,e){e=+e,p[112+(t|=0)>>2]=e},_emscripten_bind_btRigidBodyConstructionInfo_set_m_restitution_1:function(t,e){e=+e,p[108+(t|=0)>>2]=e},_emscripten_bind_btRigidBodyConstructionInfo_set_m_rollingFriction_1:Up,_emscripten_bind_btRigidBody___destroy___0:Xr,_emscripten_bind_btRigidBody_activate_0:J_,_emscripten_bind_btRigidBody_activate_1:k_,_emscripten_bind_btRigidBody_applyCentralForce_1:function(t,e){Oo(t|=0,+p[(e|=0)>>2],+p[e+4>>2],+p[e+8>>2])},_emscripten_bind_btRigidBody_applyCentralImpulse_1:function(t,e){ao(t|=0,+p[(e|=0)>>2],+p[e+4>>2],+p[e+8>>2])},_emscripten_bind_btRigidBody_applyCentralLocalForce_1:function(t,e){!function(t,e,i,n){var o;e=+e,i=+i,n=+n,o=Q,Q=Q+32|0,Fn(o,0|vb(4+(t|=0)|0),e,i,n),Wo(o+16|0,+p[o>>2],+p[o+4>>2],+p[o+8>>2],+p[t+348>>2],+p[t+352>>2],+p[t+356>>2]),c_(t+412|0,o+16|0),Q=o}(t|=0,+p[(e|=0)>>2],+p[e+4>>2],+p[e+8>>2])},_emscripten_bind_btRigidBody_applyForce_2:function(t,e,i){!function(t,e,i){var n;i|=0,n=Q,Q=Q+32|0,Oo(t|=0,+p[(e|=0)>>2],+p[e+4>>2],+p[e+8>>2]),Wo(n,+p[e>>2],+p[e+4>>2],+p[e+8>>2],+p[t+348>>2],+p[t+352>>2],+p[t+356>>2]),go(n+16|0,+p[i>>2],+p[i+4>>2],+p[i+8>>2],+p[n>>2],+p[n+4>>2],+p[n+8>>2]),xo(t,+p[n+16>>2],+p[n+16+4>>2],+p[n+16+8>>2]),Q=n}(t|=0,e|=0,i|=0)},_emscripten_bind_btRigidBody_applyGravity_0:function(t){var e,i;3&_[204+(t|=0)>>2]||(i=+p[t+368>>2]*+p[t+352>>2],e=+p[t+372>>2]*+p[t+356>>2],p[t+412>>2]=+p[t+364>>2]*+p[t+348>>2]+ +p[t+412>>2],p[t+416>>2]=i+ +p[t+416>>2],p[t+420>>2]=e+ +p[t+420>>2])},_emscripten_bind_btRigidBody_applyImpulse_2:function(t,e,i){Dn(t|=0,e|=0,i|=0)},_emscripten_bind_btRigidBody_applyLocalTorque_1:function(t,e){!function(t,e,i,n){var o;e=+e,i=+i,n=+n,o=Q,Q=Q+32|0,Fn(o,0|vb(4+(t|=0)|0),e,i,n),Wo(o+16|0,+p[o>>2],+p[o+4>>2],+p[o+8>>2],+p[t+544>>2],+p[t+548>>2],+p[t+552>>2]),c_(t+428|0,o+16|0),Q=o}(t|=0,+p[(e|=0)>>2],+p[e+4>>2],+p[e+8>>2])},_emscripten_bind_btRigidBody_applyTorqueImpulse_1:function(t,e){bo(t|=0,+p[(e|=0)>>2],+p[e+4>>2],+p[e+8>>2])},_emscripten_bind_btRigidBody_applyTorque_1:function(t,e){xo(t|=0,+p[(e|=0)>>2],+p[e+4>>2],+p[e+8>>2])},_emscripten_bind_btRigidBody_btRigidBody_1:function(t){var e;return t|=0,e=0|S_(616),_[e+164>>2]=1065353216,_[e+168>>2]=1065353216,_[e+172>>2]=1065353216,p[e+176>>2]=0,_[e+180>>2]=0,p[e+184>>2]=0xde0b6b000000000,_[e+188>>2]=0,_[e+188+4>>2]=0,_[e+188+8>>2]=0,_[e+188+12>>2]=0,_[e+204>>2]=1,_[e+208>>2]=-1,_[e+212>>2]=-1,_[e+216>>2]=1,p[e+220>>2]=0,p[e+224>>2]=.5,p[e+228>>2]=0,p[e+232>>2]=0,_[e+236>>2]=1,_[e+240>>2]=0,p[e+244>>2]=1,_[e+248>>2]=0,_[e+248+4>>2]=0,_[e+248+8>>2]=0,_[e+248+12>>2]=0,_[e+4>>2]=1065353216,_[e+8>>2]=0,_[e+8+4>>2]=0,_[e+8+8>>2]=0,_[e+8+12>>2]=0,_[e+24>>2]=1065353216,_[e+28>>2]=0,_[e+28+4>>2]=0,_[e+28+8>>2]=0,_[e+28+12>>2]=0,_[e+44>>2]=1065353216,_[e+48>>2]=0,_[e+48+4>>2]=0,_[e+48+8>>2]=0,_[e+48+12>>2]=0,_[e+48+16>>2]=0,_[e>>2]=4956,n[e+500|0]=1,_[e+496>>2]=0,_[e+488>>2]=0,_[e+492>>2]=0,Ce(e,t),0|e},_emscripten_bind_btRigidBody_forceActivationState_1:dp,_emscripten_bind_btRigidBody_getAabb_2:function(t,e,i){var n;e|=0,i|=0,n=0|_[192+(t|=0)>>2],cd[127&_[8+(0|_[n>>2])>>2]](n,t+4|0,e,i)},_emscripten_bind_btRigidBody_getAngularVelocity_0:function(t){return 0|function(t){return(t|=0)+328|0}(t|=0)},_emscripten_bind_btRigidBody_getBroadphaseProxy_0:function(t){return 0|vb(0|_[188+(t|=0)>>2])},_emscripten_bind_btRigidBody_getCenterOfMassTransform_0:Bc,_emscripten_bind_btRigidBody_getCollisionFlags_0:Bp,_emscripten_bind_btRigidBody_getCollisionShape_0:Ip,_emscripten_bind_btRigidBody_getGravity_0:function(t){return 0|function(t){return(t|=0)+380|0}(t|=0)},_emscripten_bind_btRigidBody_getLinearVelocity_0:function(t){return 0|function(t){return(t|=0)+312|0}(t|=0)},_emscripten_bind_btRigidBody_getMotionState_0:function(t){return 0|vb(0|_[480+(t|=0)>>2])},_emscripten_bind_btRigidBody_getUserIndex_0:wp,_emscripten_bind_btRigidBody_getUserPointer_0:Zp,_emscripten_bind_btRigidBody_getWorldTransform_0:Bc,_emscripten_bind_btRigidBody_isActive_0:np,_emscripten_bind_btRigidBody_isKinematicObject_0:ks,_emscripten_bind_btRigidBody_isStaticObject_0:Ms,_emscripten_bind_btRigidBody_isStaticOrKinematicObject_0:rs,_emscripten_bind_btRigidBody_setActivationState_1:Mr,_emscripten_bind_btRigidBody_setAngularFactor_1:function(t,e){!function(t,e){e|=0,_[260+(t|=0)>>2]=1+(0|_[t+260>>2]),_[t+544>>2]=_[e>>2],_[t+544+4>>2]=_[e+4>>2],_[t+544+8>>2]=_[e+8>>2],_[t+544+12>>2]=_[e+12>>2]}(t|=0,e|=0)},_emscripten_bind_btRigidBody_setAngularVelocity_1:function(t,e){!function(t,e){e|=0,_[260+(t|=0)>>2]=1+(0|_[t+260>>2]),_[t+328>>2]=_[e>>2],_[t+328+4>>2]=_[e+4>>2],_[t+328+8>>2]=_[e+8>>2],_[t+328+12>>2]=_[e+12>>2]}(t|=0,e|=0)},_emscripten_bind_btRigidBody_setAnisotropicFriction_2:Cr,_emscripten_bind_btRigidBody_setCcdMotionThreshold_1:Ss,_emscripten_bind_btRigidBody_setCcdSweptSphereRadius_1:ms,_emscripten_bind_btRigidBody_setCenterOfMassTransform_1:function(t,e){ti(t|=0,e|=0)},_emscripten_bind_btRigidBody_setCollisionFlags_1:xs,_emscripten_bind_btRigidBody_setCollisionShape_1:is,_emscripten_bind_btRigidBody_setContactProcessingThreshold_1:Rs,_emscripten_bind_btRigidBody_setDamping_2:function(t,e,i){var n;t|=0,e=+e,i=+i,n=Q,Q=Q+16|0,p[n+12>>2]=e,p[n+8>>2]=i,p[n+4>>2]=0,p[n>>2]=1,_[t+444>>2]=_[(e<0?n+4:e>1?n:n+12)>>2],p[n+4>>2]=0,p[n>>2]=1,_[t+448>>2]=_[(i<0?n+4:i>1?n:n+8)>>2],Q=n},_emscripten_bind_btRigidBody_setFriction_1:ip,_emscripten_bind_btRigidBody_setGravity_1:function(t,e){e|=0;var i,n=0,o=0;0!=(i=+p[344+(t|=0)>>2])&&(o=1/i*+p[e+4>>2],n=1/i*+p[e+8>>2],p[t+364>>2]=1/i*+p[e>>2],p[t+368>>2]=o,p[t+372>>2]=n,p[t+376>>2]=0),_[t+380>>2]=_[e>>2],_[t+380+4>>2]=_[e+4>>2],_[t+380+8>>2]=_[e+8>>2],_[t+380+12>>2]=_[e+12>>2]},_emscripten_bind_btRigidBody_setLinearFactor_1:function(t,e){!function(t,e){var i;e|=0,i=Q,Q=Q+16|0,_[348+(t|=0)>>2]=_[e>>2],_[t+348+4>>2]=_[e+4>>2],_[t+348+8>>2]=_[e+8>>2],_[t+348+12>>2]=_[e+12>>2],Mo(i,+p[t+348>>2],+p[t+352>>2],+p[t+356>>2],+p[t+344>>2]),_[t+560>>2]=_[i>>2],_[t+560+4>>2]=_[i+4>>2],_[t+560+8>>2]=_[i+8>>2],_[t+560+12>>2]=_[i+12>>2],Q=i}(t|=0,e|=0)},_emscripten_bind_btRigidBody_setLinearVelocity_1:function(t,e){!function(t,e){e|=0,_[260+(t|=0)>>2]=1+(0|_[t+260>>2]),_[t+312>>2]=_[e>>2],_[t+312+4>>2]=_[e+4>>2],_[t+312+8>>2]=_[e+8>>2],_[t+312+12>>2]=_[e+12>>2]}(t|=0,e|=0)},_emscripten_bind_btRigidBody_setMassProps_2:function(t,e,i){e=+e,i|=0;var n,o=0,r=0,s=0,c=0;o=0|_[204+(t|=0)>>2],0==e?(_[t+204>>2]=1|o,r=0):(_[t+204>>2]=-2&o,r=1/e),p[t+344>>2]=r,c=+p[t+384>>2]*e,s=+p[t+388>>2]*e,p[t+364>>2]=+p[t+380>>2]*e,p[t+368>>2]=c,p[t+372>>2]=s,p[t+376>>2]=0,n=0!=(e=+p[i>>2])?(p[a>>2]=1/e,0|_[a>>2]):0,o=0!=(e=+p[i+4>>2])?(p[a>>2]=1/e,0|_[a>>2]):0,i=0!=(e=+p[i+8>>2])?(p[a>>2]=1/e,0|_[a>>2]):0,_[t+396>>2]=n,_[t+400>>2]=o,_[t+404>>2]=i,p[t+408>>2]=0,s=r*+p[t+352>>2],c=r*+p[t+356>>2],p[t+560>>2]=+p[t+348>>2]*r,p[t+564>>2]=s,p[t+568>>2]=c,p[t+572>>2]=0},_emscripten_bind_btRigidBody_setMotionState_1:function(t,e){!function(t,e){e|=0,_[480+(t|=0)>>2]=e,e&&id[127&_[8+(0|_[e>>2])>>2]](e,t+4|0)}(t|=0,e|=0)},_emscripten_bind_btRigidBody_setRestitution_1:Zs,_emscripten_bind_btRigidBody_setRollingFriction_1:Ps,_emscripten_bind_btRigidBody_setSleepingThresholds_2:function(t,e,i){!function(t,e,i){e=+e,i=+i,p[(t|=0)+472>>2]=e,p[t+476>>2]=i}(t|=0,e=+e,i=+i)},_emscripten_bind_btRigidBody_setUserIndex_1:Ks,_emscripten_bind_btRigidBody_setUserPointer_1:Ks,_emscripten_bind_btRigidBody_setWorldTransform_1:bs,_emscripten_bind_btRigidBody_upcast_1:function(t,e){return 0|function(t){return 0|(2&vb(0|_[236+(t|=0)>>2])?t:0)}(e|=0)},_emscripten_bind_btRigidBody_updateInertiaTensor_0:function(t){var e,i,n,o,_,r,s,c,a,b,d,l;l=+p[4+(t|=0)>>2],r=+p[t+396>>2],d=+p[t+8>>2],o=+p[t+400>>2],b=+p[t+12>>2],i=+p[t+404>>2],a=+p[t+20>>2],c=+p[t+24>>2],s=+p[t+28>>2],_=+p[t+36>>2],n=+p[t+40>>2],e=+p[t+44>>2],p[t+264>>2]=l*r*l+d*o*d+b*i*b,p[t+268>>2]=l*r*a+d*o*c+b*i*s,p[t+272>>2]=l*r*_+d*o*n+b*i*e,p[t+276>>2]=0,p[t+280>>2]=r*a*l+o*c*d+i*s*b,p[t+284>>2]=r*a*a+o*c*c+i*s*s,p[t+288>>2]=r*a*_+o*c*n+i*s*e,p[t+292>>2]=0,p[t+296>>2]=r*_*l+o*n*d+i*e*b,p[t+300>>2]=r*_*a+o*n*c+i*e*s,p[t+304>>2]=r*_*_+o*n*n+i*e*e,p[t+308>>2]=0},_emscripten_bind_btSequentialImpulseConstraintSolver___destroy___0:Kr,_emscripten_bind_btSequentialImpulseConstraintSolver_btSequentialImpulseConstraintSolver_0:function(){var t;return t=0|function(){var t=0;return _[6630]=1+(0|_[6630]),(t=0|di(215))?(_[(t+4+15&-16)-4>>2]=t,0|(t=t+4+15&-16)):0|(t=0)}(),_[t>>2]=5656,n[t+20|0]=1,_[t+16>>2]=0,_[t+8>>2]=0,_[t+12>>2]=0,n[t+40|0]=1,_[t+36>>2]=0,_[t+28>>2]=0,_[t+32>>2]=0,n[t+60|0]=1,_[t+56>>2]=0,_[t+48>>2]=0,_[t+52>>2]=0,n[t+80|0]=1,_[t+76>>2]=0,_[t+68>>2]=0,_[t+72>>2]=0,n[t+100|0]=1,_[t+96>>2]=0,_[t+88>>2]=0,_[t+92>>2]=0,n[t+120|0]=1,_[t+116>>2]=0,_[t+108>>2]=0,_[t+112>>2]=0,n[t+140|0]=1,_[t+136>>2]=0,_[t+128>>2]=0,_[t+132>>2]=0,n[t+160|0]=1,_[t+156>>2]=0,_[t+148>>2]=0,_[t+152>>2]=0,n[t+180|0]=1,_[t+176>>2]=0,_[t+168>>2]=0,_[t+172>>2]=0,_[t+192>>2]=0,0|t},_emscripten_bind_btShapeHull___destroy___0:function(t){var e=0,i=0;if(t|=0){0|(e=0|_[t+32>>2])&&(0|n[t+36|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+32>>2]=0),n[t+36|0]=1,_[t+32>>2]=0,_[t+24>>2]=0,_[t+28>>2]=0,e=0|_[t+12>>2];do{if(e){if(!(0|n[t+16|0])){n[t+16|0]=1,_[t+12>>2]=0,_[t+4>>2]=0,_[t+8>>2]=0,e=t+8|0,i=14;break}if(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2]),e=0|_[t+32>>2],n[t+16|0]=1,_[t+12>>2]=0,_[t+4>>2]=0,_[t+8>>2]=0,e){if(!(0|n[t+36|0])){n[t+36|0]=1,_[t+32>>2]=0,_[t+24>>2]=0,_[t+28>>2]=0,e=t+8|0;break}_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2]),e=0|_[t+12>>2],n[t+36|0]=1,_[t+32>>2]=0,_[t+24>>2]=0,_[t+28>>2]=0,e?(0|n[t+16|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[e+-4>>2])),_[t+12>>2]=0,e=t+8|0):e=t+8|0}else e=t+8|0,i=14}else n[t+16|0]=1,_[t+12>>2]=0,_[t+4>>2]=0,_[t+8>>2]=0,e=t+8|0,i=14}while(0);14==(0|i)&&(n[t+36|0]=1,_[t+32>>2]=0,_[t+24>>2]=0,_[t+28>>2]=0),n[t+16|0]=1,_[t+12>>2]=0,_[t+4>>2]=0,_[e>>2]=0,gs(t)}},_emscripten_bind_btShapeHull_btShapeHull_1:function(t){var e;return t|=0,e=0|function(){var t=0;return _[6630]=1+(0|_[6630]),(t=0|di(67))?(_[(t+4+15&-16)-4>>2]=t,0|(t=t+4+15&-16)):0|(t=0)}(),_[e+44>>2]=t,n[e+16|0]=1,_[e+12>>2]=0,_[e+4>>2]=0,_[e+8>>2]=0,n[e+36|0]=1,_[e+32>>2]=0,_[e+24>>2]=0,_[e+28>>2]=0,_[e+40>>2]=0,0|e},_emscripten_bind_btShapeHull_buildHull_1:function(t,e){e=+e;var i,o,r,s=0,c=0,a=0,b=0,d=0,l=0,A=0,f=0,u=0,m=0;if(r=Q,Q=Q+1136|0,a=0|_[44+(t|=0)>>2],(0|(a=0|Lb[127&_[84+(0|_[a>>2])>>2]](a)))>0){for(s=0,c=42;f=0|_[t+44>>2],rd[127&_[88+(0|_[f>>2])>>2]](f,s,r),oi(),_[(f=22256+(c<<4)|0)>>2]=_[r>>2],_[f+4>>2]=_[r+4>>2],_[f+8>>2]=_[r+8>>2],_[f+12>>2]=_[r+12>>2],(0|(s=s+1|0))!=(0|a);)c=c+1|0;c=a+42|0}else c=42;s=0;do{f=0|_[t+44>>2],A=0|_[64+(0|_[f>>2])>>2],oi(),rd[127&A](r+1104|0,f,22256+(s<<4)|0),_[(f=r+(s<<4)|0)>>2]=_[r+1104>>2],_[f+4>>2]=_[r+1104+4>>2],_[f+8>>2]=_[r+1104+8>>2],_[f+12>>2]=_[r+1104+12>>2],s=s+1|0}while(s>>>0<c>>>0);if(p[r+1104+16>>2]=.0010000000474974513,_[r+1104+20>>2]=4096,_[r+1104+24>>2]=4096,_[r+1104>>2]=1,_[r+1104+4>>2]=c,_[r+1104+8>>2]=r,_[r+1104+12>>2]=16,n[r+1064+16|0]=1,_[r+1064+12>>2]=0,_[r+1064+4>>2]=0,_[r+1064+8>>2]=0,n[r+1064+36|0]=1,_[r+1064+32>>2]=0,_[r+1064+24>>2]=0,_[r+1064+28>>2]=0,n[r+1008+24|0]=1,_[(f=r+1008+20|0)>>2]=0,_[r+1008+12>>2]=0,_[r+1008+16>>2]=0,n[0|(o=r+1008+52|0)]=1,_[(A=r+1008+48|0)>>2]=0,_[r+1008+40>>2]=0,_[r+1008+44>>2]=0,n[r+1008|0]=1,_[(i=r+1008+4|0)>>2]=0,_[r+1008+28>>2]=0,_[r+1008+32>>2]=0,1!=(0|jb(r+1064|0,r+1104|0,r+1008|0))){if(d=0|_[i>>2],(0|(b=0|_[t+4>>2]))<(0|d)){if((0|_[t+8>>2])<(0|d)){if(d?(_[6630]=1+(0|_[6630]),(s=0|di(16+(d<<4|3)|0))?(_[(s+4+15&-16)-4>>2]=s,s=s+4+15&-16):s=0,a=0|_[t+4>>2]):(s=0,a=b),(0|a)>0){c=0;do{l=s+(c<<4)|0,m=(0|_[t+12>>2])+(c<<4)|0,_[l>>2]=_[m>>2],_[l+4>>2]=_[m+4>>2],_[l+8>>2]=_[m+8>>2],_[l+12>>2]=_[m+12>>2],c=c+1|0}while((0|c)!=(0|a))}0|(c=0|_[t+12>>2])&&(0|n[t+16|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[c+-4>>2])),_[t+12>>2]=0),n[t+16|0]=1,_[t+12>>2]=s,_[t+8>>2]=d,c=t+12|0}else c=t+12|0;s=b;do{m=(0|_[c>>2])+(s<<4)|0,_[m>>2]=_[r+992>>2],_[m+4>>2]=_[r+992+4>>2],_[m+8>>2]=_[r+992+8>>2],_[m+12>>2]=_[r+992+12>>2],s=s+1|0}while((0|s)!=(0|d));s=0|_[i>>2]}else s=d;if(_[t+4>>2]=d,(0|s)>0){c=0|_[f>>2],s=0;do{l=c+(s<<4)|0,m=(0|_[t+12>>2])+(s<<4)|0,_[m>>2]=_[l>>2],_[m+4>>2]=_[l+4>>2],_[m+8>>2]=_[l+8>>2],_[m+12>>2]=_[l+12>>2],s=s+1|0}while((0|s)<(0|_[i>>2]))}if(l=0|_[r+1008+32>>2],_[t+40>>2]=l,(0|l)>(0|(d=0|_[t+24>>2]))){do{if((0|_[t+28>>2])<(0|l)){if(l?(_[6630]=1+(0|_[6630]),(s=0|di(16+(l<<2|3)|0))?(_[(s+4+15&-16)-4>>2]=s,s=s+4+15&-16):s=0,a=0|_[t+24>>2]):(s=0,a=d),b=0|_[t+32>>2],(0|a)<=0){if(!b){n[t+36|0]=1,_[t+32>>2]=s,_[t+28>>2]=l;break}}else{c=0;do{_[s+(c<<2)>>2]=_[b+(c<<2)>>2],c=c+1|0}while((0|c)!=(0|a))}0|n[t+36|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[b+-4>>2])),n[t+36|0]=1,_[t+32>>2]=s,_[t+28>>2]=l}else s=0|_[t+32>>2]}while(0);wn(s+(d<<2)|0,0,l-d<<2),s=0|_[t+40>>2]}else s=l;if(_[t+24>>2]=l,(0|s)>0){c=0|_[A>>2],a=0|_[t+32>>2],s=0;do{_[a+(s<<2)>>2]=_[c+(s<<2)>>2],s=s+1|0}while((0|s)<(0|_[t+40>>2]))}0|_[r+1008+12>>2]&&(_[i>>2]=0,0|(s=0|_[f>>2])&&(0|n[r+1008+24|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[s+-4>>2])),_[f>>2]=0),n[r+1008+24|0]=1,_[f>>2]=0,_[r+1008+12>>2]=0,_[r+1008+16>>2]=0),0|_[r+1008+40>>2]?(_[r+1008+32>>2]=0,0|(s=0|_[A>>2])&&(0|n[0|o]&&(_[6631]=1+(0|_[6631]),Li(0|_[s+-4>>2])),_[A>>2]=0),n[0|o]=1,_[A>>2]=0,_[r+1008+40>>2]=0,_[r+1008+44>>2]=0,c=1):(c=1,u=60)}else c=0,u=60;return 60==(0|u)&&(s=0|_[A>>2])&&(0|n[0|o]&&(_[6631]=1+(0|_[6631]),Li(0|_[s+-4>>2])),_[A>>2]=0),n[0|o]=1,_[A>>2]=0,_[r+1008+40>>2]=0,_[r+1008+44>>2]=0,0|(s=0|_[f>>2])&&(0|n[r+1008+24|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[s+-4>>2])),_[f>>2]=0),0|(s=0|_[r+1064+32>>2])&&(0|n[r+1064+36|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[s+-4>>2])),_[r+1064+32>>2]=0),n[r+1064+36|0]=1,_[r+1064+32>>2]=0,_[r+1064+24>>2]=0,_[r+1064+28>>2]=0,(s=0|_[r+1064+12>>2])?(0|n[r+1064+16|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[s+-4>>2])),_[r+1064+12>>2]=0,Q=r,0|c):(Q=r,0|c)},_emscripten_bind_btShapeHull_getVertexPointer_0:function(t){return 0|function(t){return 0|vb(0|_[(t|=0)+12>>2])}(t|=0)},_emscripten_bind_btShapeHull_numVertices_0:Hc,_emscripten_bind_btSliderConstraint___destroy___0:Kr,_emscripten_bind_btSliderConstraint_btSliderConstraint_3:function(t,e,i){t|=0,e|=0,i|=0;var o,r,s,c,a,b,d,l,A,f,u,m,h,y,g,C,v,S,w,k,R,j,D=0,I=0,B=0;return r=Q,Q=Q+16|0,o=0|F_(),!(0|n[24496])&&0|Qs(24496)&&(_[r>>2]=0,_[r+4>>2]=0,_[r+8>>2]=0,_[r+12>>2]=0,ut(25184,0,0,0,r)),_[6347]=1|_[6347],p[6382]=0,I=0*+p[6392],B=0*+p[6393],p[6387]=0*+p[6391],p[6388]=I,p[6389]=B,p[6390]=0,_[6395]=0,_[6396]=0,_[6397]=0,_[6398]=0,B=0*+p[6384],I=0*+p[6385],p[6436]=0*+p[6383],p[6437]=B,p[6438]=I,p[6439]=0,_[o+4>>2]=7,_[o+8>>2]=-1,_[o+12>>2]=-1,p[o+16>>2]=34028234663852886e22,n[o+20|0]=1,n[o+21|0]=0,_[o+24>>2]=-1,_[o+28>>2]=25184,_[o+32>>2]=t,p[o+36>>2]=0,p[o+40>>2]=.30000001192092896,_[o+44>>2]=0,_[o>>2]=5496,n[o+48|0]=0,_[o+116>>2]=_[e>>2],_[o+116+4>>2]=_[e+4>>2],_[o+116+8>>2]=_[e+8>>2],_[o+116+12>>2]=_[e+12>>2],_[o+132>>2]=_[e+16>>2],_[o+132+4>>2]=_[e+16+4>>2],_[o+132+8>>2]=_[e+16+8>>2],_[o+132+12>>2]=_[e+16+12>>2],_[o+148>>2]=_[e+32>>2],_[o+148+4>>2]=_[e+32+4>>2],_[o+148+8>>2]=_[e+32+8>>2],_[o+148+12>>2]=_[e+32+12>>2],_[o+164>>2]=_[e+48>>2],_[o+164+4>>2]=_[e+48+4>>2],_[o+164+8>>2]=_[e+48+8>>2],_[o+164+12>>2]=_[e+48+12>>2],n[o+180|0]=1&i,I=+p[o+116>>2],B=+p[t+4>>2],g=+p[o+132>>2],k=+p[t+8>>2],y=+p[o+148>>2],w=+p[t+12>>2],h=+p[o+120>>2],m=+p[o+136>>2],u=+p[o+152>>2],f=+p[o+124>>2],l=+p[o+140>>2],b=+p[o+156>>2],S=+p[t+20>>2],v=+p[t+24>>2],C=+p[t+28>>2],A=+p[t+36>>2],d=+p[t+40>>2],a=+p[t+44>>2],j=+p[o+164>>2],R=+p[o+168>>2],D=+p[o+172>>2],c=+p[t+52>>2]+(B*j+k*R+w*D),s=S*j+v*R+C*D+ +p[t+56>>2],D=A*j+d*R+a*D+ +p[t+60>>2],p[o+52>>2]=I*B+g*k+y*w,p[o+56>>2]=B*h+k*m+w*u,p[o+60>>2]=B*f+k*l+w*b,p[o+64>>2]=0,p[o+68>>2]=I*S+g*v+y*C,p[o+72>>2]=h*S+m*v+u*C,p[o+76>>2]=f*S+l*v+b*C,p[o+80>>2]=0,p[o+84>>2]=I*A+g*d+y*a,p[o+88>>2]=h*A+m*d+u*a,p[o+92>>2]=f*A+l*d+b*a,p[o+96>>2]=0,p[o+100>>2]=c,p[o+104>>2]=s,p[o+108>>2]=D,p[o+112>>2]=0,p[o+184>>2]=1,p[o+188>>2]=-1,p[o+192>>2]=0,p[o+196>>2]=0,p[o+200>>2]=1,p[o+204>>2]=.699999988079071,p[o+208>>2]=0,p[o+212>>2]=0,p[o+216>>2]=1,p[o+220>>2]=.699999988079071,p[o+224>>2]=0,p[o+228>>2]=0,p[o+264>>2]=1,p[o+268>>2]=.699999988079071,p[o+272>>2]=1,p[o+276>>2]=0,p[o+280>>2]=1,p[o+284>>2]=.699999988079071,p[o+288>>2]=1,p[o+292>>2]=0,p[o+232>>2]=1,p[o+236>>2]=.699999988079071,p[o+240>>2]=1,p[o+244>>2]=0,p[o+248>>2]=1,p[o+252>>2]=.699999988079071,p[o+256>>2]=1,p[o+260>>2]=0,n[o+1096|0]=0,p[o+1116>>2]=0,p[o+1120>>2]=0,p[o+1124>>2]=0,_[o+300>>2]=0,_[o+1100>>2]=0,_[o+1100+4>>2]=0,_[o+1100+8>>2]=0,n[o+1100+12|0]=0,n[o+49|0]=1,Bi(o,4+(0|_[o+28>>2])|0,4+(0|_[o+32>>2])|0),Q=r,0|o},_emscripten_bind_btSliderConstraint_btSliderConstraint_5:function(t,e,i,o,r){var s;return t|=0,e|=0,i|=0,o|=0,r|=0,s=0|F_(),_[s+4>>2]=7,_[s+8>>2]=-1,_[s+12>>2]=-1,p[s+16>>2]=34028234663852886e22,n[s+20|0]=1,n[s+21|0]=0,_[s+24>>2]=-1,_[s+28>>2]=t,_[s+32>>2]=e,p[s+36>>2]=0,p[s+40>>2]=.30000001192092896,_[s+44>>2]=0,_[s>>2]=5496,n[s+48|0]=0,_[s+52>>2]=_[i>>2],_[s+52+4>>2]=_[i+4>>2],_[s+52+8>>2]=_[i+8>>2],_[s+52+12>>2]=_[i+12>>2],_[s+68>>2]=_[i+16>>2],_[s+68+4>>2]=_[i+16+4>>2],_[s+68+8>>2]=_[i+16+8>>2],_[s+68+12>>2]=_[i+16+12>>2],_[s+84>>2]=_[i+32>>2],_[s+84+4>>2]=_[i+32+4>>2],_[s+84+8>>2]=_[i+32+8>>2],_[s+84+12>>2]=_[i+32+12>>2],_[s+100>>2]=_[i+48>>2],_[s+100+4>>2]=_[i+48+4>>2],_[s+100+8>>2]=_[i+48+8>>2],_[s+100+12>>2]=_[i+48+12>>2],_[s+116>>2]=_[o>>2],_[s+116+4>>2]=_[o+4>>2],_[s+116+8>>2]=_[o+8>>2],_[s+116+12>>2]=_[o+12>>2],_[s+132>>2]=_[o+16>>2],_[s+132+4>>2]=_[o+16+4>>2],_[s+132+8>>2]=_[o+16+8>>2],_[s+132+12>>2]=_[o+16+12>>2],_[s+148>>2]=_[o+32>>2],_[s+148+4>>2]=_[o+32+4>>2],_[s+148+8>>2]=_[o+32+8>>2],_[s+148+12>>2]=_[o+32+12>>2],_[s+164>>2]=_[o+48>>2],_[s+164+4>>2]=_[o+48+4>>2],_[s+164+8>>2]=_[o+48+8>>2],_[s+164+12>>2]=_[o+48+12>>2],n[s+180|0]=1&r,p[s+184>>2]=1,p[s+188>>2]=-1,p[s+192>>2]=0,p[s+196>>2]=0,p[s+200>>2]=1,p[s+204>>2]=.699999988079071,p[s+208>>2]=0,p[s+212>>2]=0,p[s+216>>2]=1,p[s+220>>2]=.699999988079071,p[s+224>>2]=0,p[s+228>>2]=0,p[s+264>>2]=1,p[s+268>>2]=.699999988079071,p[s+272>>2]=1,p[s+276>>2]=0,p[s+280>>2]=1,p[s+284>>2]=.699999988079071,p[s+288>>2]=1,p[s+292>>2]=0,p[s+232>>2]=1,p[s+236>>2]=.699999988079071,p[s+240>>2]=1,p[s+244>>2]=0,p[s+248>>2]=1,p[s+252>>2]=.699999988079071,p[s+256>>2]=1,p[s+260>>2]=0,n[s+1096|0]=0,p[s+1116>>2]=0,p[s+1120>>2]=0,p[s+1124>>2]=0,_[s+300>>2]=0,_[s+1100>>2]=0,_[s+1100+4>>2]=0,_[s+1100+8>>2]=0,n[s+1100+12|0]=0,n[s+49|0]=1,Bi(s,4+(0|_[s+28>>2])|0,4+(0|_[s+32>>2])|0),0|s},_emscripten_bind_btSliderConstraint_enableFeedback_1:Ws,_emscripten_bind_btSliderConstraint_getBreakingImpulseThreshold_0:fs,_emscripten_bind_btSliderConstraint_getParam_2:kr,_emscripten_bind_btSliderConstraint_setBreakingImpulseThreshold_1:Ds,_emscripten_bind_btSliderConstraint_setLowerAngLimit_1:function(t,e){!function(t,e){t|=0,e=+O_(e=+e),p[t+192>>2]=e}(t|=0,e=+e)},_emscripten_bind_btSliderConstraint_setLowerLinLimit_1:Rs,_emscripten_bind_btSliderConstraint_setParam_3:lr,_emscripten_bind_btSliderConstraint_setUpperAngLimit_1:function(t,e){!function(t,e){t|=0,e=+O_(e=+e),p[t+196>>2]=e}(t|=0,e=+e)},_emscripten_bind_btSliderConstraint_setUpperLinLimit_1:function(t,e){!function(t,e){e=+e,p[(t|=0)+188>>2]=e}(t|=0,e=+e)},_emscripten_bind_btSoftBodyArray___destroy___0:As,_emscripten_bind_btSoftBodyArray_at_1:zr,_emscripten_bind_btSoftBodyArray_size_0:xc,_emscripten_bind_btSoftBodyHelpers_CreateEllipsoid_4:function(t,e,i,n,o){t|=0,e|=0,i|=0,n|=0;var r,s=0,c=0,a=0,b=0,d=0,A=0,m=0,h=0;if(r=Q,Q=Q+16|0,(0|(o|=0))>-3){_[6630]=1+(0|_[6630]),(t=0|di(16+(o+3<<4|3)|0))?(_[(t+4+15&-16)-4>>2]=t,d=t+4+15&-16):d=0,t=0;do{_[(c=d+(t<<4)|0)>>2]=_[r>>2],_[c+4>>2]=_[r+4>>2],_[c+8>>2]=_[r+8>>2],_[c+12>>2]=_[r+12>>2],t=t+1|0}while((0|t)!=(o+3|0));for(s=0,c=d;;){if(s)for(t=s,a=0,b=.5;a=1&t?a+b:a,t>>=1;)b*=.5;else a=0;if(m=(3.1415927410125732*+(s<<1)+3.1415927410125732)/+(o+3|0),a=+l(+(1-(b=2*a-1)*b)),A=+f(+m)*a,a=+u(+m)*a,p[c>>2]=A,p[c+4>>2]=a,p[c+8>>2]=b,p[c+12>>2]=0,(0|(s=s+1|0))==(o+3|0))break;c=c+16|0}t=0;do{h=d+(t<<4)|0,c=d+(t<<4)+8|0,A=+p[(s=d+(t<<4)+4|0)>>2]*+p[n+4>>2]+ +p[i+4>>2],m=+p[c>>2]*+p[n+8>>2]+ +p[i+8>>2],p[h>>2]=+p[h>>2]*+p[n>>2]+ +p[i>>2],p[s>>2]=A,p[c>>2]=m,p[d+(t<<4)+12>>2]=0,t=t+1|0}while((0|t)<(o+3|0));c=d,s=d}else c=0,s=0;return t=0|ue(e,c,o+3|0,1),!(0|c)|!(0|s)?(Q=r,0|t):(_[6631]=1+(0|_[6631]),Li(0|_[s+-4>>2]),Q=r,0|t)},_emscripten_bind_btSoftBodyHelpers_CreateFromConvexHull_4:function(t,e,i,n,o){return 0|ue(e|=0,i|=0,n|=0,o|=0)},_emscripten_bind_btSoftBodyHelpers_CreateFromTriMesh_5:function(t,e,i,o,r,s){t|=0,e|=0,i|=0,o|=0,s|=0;var c,a,b=0,d=0,A=0,f=0,u=0,m=0,h=0,y=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0;if(a=Q,Q=Q+64|0,(0|(r|=0))>0){t=0,b=0;do{t=(0|(w=0|_[o+(b<<2)>>2]))>(0|t)?w:t,b=b+1|0}while((0|b)<(3*r|0))}else t=0;if((d=0|g(c=t+1|0,c))?(_[6630]=1+(0|_[6630]),(b=0|di(d+19|0))?(_[(b+4+15&-16)-4>>2]=b,b=b+4+15&-16):b=0,wn(0|b,0,0|d)):b=0,(0|t)>-1){_[6630]=1+(0|_[6630]),(t=0|di(16+(c<<4|3)|0))?(_[(t+4+15&-16)-4>>2]=t,A=t+4+15&-16):A=0,t=0;do{_[(w=A+(t<<4)|0)>>2]=_[a>>2],_[w+4>>2]=_[a+4>>2],_[w+8>>2]=_[a+8>>2],_[w+12>>2]=_[a+12>>2],t=t+1|0}while((0|t)!=(0|c));for(t=0,d=0;;){if(S=0|_[i+(d+1<<2)>>2],w=0|_[i+(d+2<<2)>>2],_[A+(t<<4)>>2]=_[i+(d<<2)>>2],_[A+(t<<4)+4>>2]=S,_[A+(t<<4)+8>>2]=w,p[A+(t<<4)+12>>2]=0,(0|(d=d+3|0))>=(3*c|0)){w=A,S=A;break}t=t+1|0}}else w=0,S=0;if(_[6630]=1+(0|_[6630]),(t=0|di(1271))?(_[(t+4+15&-16)-4>>2]=t,v=t+4+15&-16):v=0,hi(v,e,c,w,0),(0|r)>0){e=v+720|0,f=v+732|0,u=v+740|0,m=v+924|0,i=0;do{h=0|_[o+(i<<2)>>2],y=0|_[o+(i+1<<2)>>2],C=0|_[o+(i+2<<2)>>2],A=0|g(h,c),0|n[0|(t=b+(A+C)|0)]||(n[0|t]=1,D=b+((0|g(C,c))+h)|0,n[0|D]=1,D=0|_[e>>2],ne(v,0),d=(0|_[f>>2])-1|0,t=0|_[u>>2],_[t+(52*d|0)+8>>2]=D+(104*C|0),_[t+(52*d|0)+12>>2]=D+(104*h|0),j=+p[D+(104*C|0)+8>>2]-+p[D+(104*h|0)+8>>2],R=+p[D+(104*C|0)+12>>2]-+p[D+(104*h|0)+12>>2],k=+p[D+(104*C|0)+16>>2]-+p[D+(104*h|0)+16>>2],k=+l(+(j*j+R*R+k*k)),p[t+(52*d|0)+16>>2]=k,n[0|m]=1),d=0|g(y,c),0|n[0|(t=b+(d+h)|0)]||(n[0|t]=1,n[b+(A+y)|0]=1,t=0|_[e>>2],ne(v,0),D=(0|_[f>>2])-1|0,A=0|_[u>>2],_[A+(52*D|0)+8>>2]=t+(104*h|0),_[A+(52*D|0)+12>>2]=t+(104*y|0),k=+p[t+(104*h|0)+8>>2]-+p[t+(104*y|0)+8>>2],R=+p[t+(104*h|0)+12>>2]-+p[t+(104*y|0)+12>>2],j=+p[t+(104*h|0)+16>>2]-+p[t+(104*y|0)+16>>2],j=+l(+(k*k+R*R+j*j)),p[A+(52*D|0)+16>>2]=j,n[0|m]=1),t=b+((0|g(C,c))+y)|0,0|n[0|t]||(n[0|t]=1,n[b+(d+C)|0]=1,d=0|_[e>>2],ne(v,0),D=(0|_[f>>2])-1|0,A=0|_[u>>2],_[A+(52*D|0)+8>>2]=d+(104*y|0),_[A+(52*D|0)+12>>2]=d+(104*C|0),k=+p[d+(104*y|0)+8>>2]-+p[d+(104*C|0)+8>>2],R=+p[d+(104*y|0)+12>>2]-+p[d+(104*C|0)+12>>2],j=+p[d+(104*y|0)+16>>2]-+p[d+(104*C|0)+16>>2],j=+l(+(k*k+R*R+j*j)),p[A+(52*D|0)+16>>2]=j,n[0|m]=1),ct(v,h,y,C,0),i=i+3|0}while((0|i)<(3*r|0))}if(s){if((0|(A=0|_[v+732>>2]))>0){i=v+740|0,t=243703,d=0;do{f=(e=0|_[i>>2])+(52*d|0)|0,t=1013904223+(0|g(t,1664525))|0,m=f,h=(u=a)+52|0;do{_[u>>2]=_[m>>2],u=u+4|0,m=m+4|0}while((0|u)<(0|h));m=e+(52*((t>>>0)%(A>>>0)|0)|0)|0,h=(u=f)+52|0;do{_[u>>2]=_[m>>2],u=u+4|0,m=m+4|0}while((0|u)<(0|h));m=a,h=52+(u=e+(52*((t>>>0)%(A>>>0)|0)|0)|0)|0;do{_[u>>2]=_[m>>2],u=u+4|0,m=m+4|0}while((0|u)<(0|h));d=d+1|0}while((0|d)!=(0|A))}else t=243703;if((0|(e=0|_[v+752>>2]))>0){f=v+760|0,d=0;do{A=(i=0|_[f>>2])+(44*d|0)|0,i=i+(44*(((t=1013904223+(0|g(t,1664525))|0)>>>0)%(e>>>0)|0)|0)|0,m=A,h=(u=a)+44|0;do{_[u>>2]=_[m>>2],u=u+4|0,m=m+4|0}while((0|u)<(0|h));m=i,h=(u=A)+44|0;do{_[u>>2]=_[m>>2],u=u+4|0,m=m+4|0}while((0|u)<(0|h));m=a,h=(u=i)+44|0;do{_[u>>2]=_[m>>2],u=u+4|0,m=m+4|0}while((0|u)<(0|h));d=d+1|0}while((0|d)!=(0|e))}}return!(0|w)|!(0|S)||(_[6631]=1+(0|_[6631]),Li(0|_[S+-4>>2])),b?(_[6631]=1+(0|_[6631]),Li(0|_[b+-4>>2]),Q=a,0|v):(Q=a,0|v)},_emscripten_bind_btSoftBodyHelpers_CreatePatchUV_10:function(t,e,i,o,r,s,c,a,b,d,A){t|=0,e|=0,i|=0,o|=0,r|=0,s|=0,b|=0,d|=0,A|=0;var f=0,u=0,m=0,h=0,y=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0,W=0;if((0|(c|=0))<2|(0|(a|=0))<2)return 0|(d=0);w=0|g(a,c),_[6630]=1+(0|_[6630]),(t=0|di(w>>>0>268435455?18:16+(w<<4|3)|0))?(_[(t+4+15&-16)-4>>2]=t,k=t+4+15&-16):k=0,R=0|mb(w>>>0>1073741823?-1:w<<2),t=0;do{I=+(0|t)/+(a+-1|0),m=+p[i>>2],m+=I*(+p[r>>2]-m),h=+p[i+4>>2],h+=I*(+p[r+4>>2]-h),y=+p[i+8>>2],y+=I*(+p[r+8>>2]-y),C=+p[o>>2],v=+p[o+4>>2],S=+p[o+8>>2],C=C+I*(+p[s>>2]-C)-m,v=v+I*(+p[s+4>>2]-v)-h,S=S+I*(+p[s+8>>2]-S)-y,u=0|g(t,c),f=0;do{I=+(0|f)/+(c+-1|0),p[k+((D=f+u|0)<<4)>>2]=m+C*I,p[k+(D<<4)+4>>2]=h+v*I,p[k+(D<<4)+8>>2]=y+S*I,p[k+(D<<4)+12>>2]=0,p[R+(D<<2)>>2]=1,f=f+1|0}while((0|f)!=(0|c));t=t+1|0}while((0|t)!=(0|a));_[6630]=1+(0|_[6630]),(t=0|di(1271))?(_[(t+4+15&-16)-4>>2]=t,t=t+4+15&-16):t=0,hi(t,e,w,k,R),1&b&&(p[88+(0|_[t+720>>2])>>2]=0,n[t+924|0]=1),2&b&&(p[(0|_[t+720>>2])+(104*(c+-1|0)|0)+88>>2]=0,n[t+924|0]=1),4&b&&(D=0|g(a+-1|0,c),p[(0|_[t+720>>2])+(104*D|0)+88>>2]=0,n[t+924|0]=1),8&b&&(D=c+-1+(0|g(a+-1|0,c))|0,p[(0|_[t+720>>2])+(104*D|0)+88>>2]=0,n[t+924|0]=1),16&b&&(p[(0|_[t+720>>2])+(104*((c+-1|0)/2|0)|0)+88>>2]=0,n[t+924|0]=1),32&b&&(D=0|g((a+-1|0)/2|0,c),p[(0|_[t+720>>2])+(104*D|0)+88>>2]=0,n[t+924|0]=1),64&b&&(D=c+-1+(0|g((a+-1|0)/2|0,c))|0,p[(0|_[t+720>>2])+(104*D|0)+88>>2]=0,n[t+924|0]=1),128&b&&(D=(0|g(a+-1|0,c))+((c+-1|0)/2|0)|0,p[(0|_[t+720>>2])+(104*D|0)+88>>2]=0,n[t+924|0]=1),256&b?(D=(0|g((a+-1|0)/2|0,c))+((c+-1|0)/2|0)|0,p[(0|_[(j=t+720|0)>>2])+(104*D|0)+88>>2]=0,n[0|(D=t+924|0)]=1):(j=t+720|0,D=t+924|0),_[6631]=1+(0|_[6631]),Li(0|_[k+-4>>2]),hb(R),R=t+732|0,b=t+740|0,f=0,e=0;do{u=e,e=e+1|0;t:do{if((0|c)>0){if(k=0|g(u,c),w=0|g(e,c),h=1/+(a+-1|0)*+(a+-1-u|0),m=1/+(a+-1|0)*+(a+-2-u|0),(0|e)>=(0|a))for(u=0;;)if(i=u,(0|(u=u+1|0))<(0|c)&&(r=u+k|0,o=0|_[j>>2],ne(t,0),w=(0|_[R>>2])-1|0,s=0|_[b>>2],_[s+(52*w|0)+8>>2]=o+(104*(i+k|0)|0),_[s+(52*w|0)+12>>2]=o+(104*r|0),v=+p[o+(104*(i+k|0)|0)+8>>2]-+p[o+(104*r|0)+8>>2],S=+p[o+(104*(i+k|0)|0)+12>>2]-+p[o+(104*r|0)+12>>2],I=+p[o+(104*(i+k|0)|0)+16>>2]-+p[o+(104*r|0)+16>>2],I=+l(+(v*v+S*S+I*I)),p[s+(52*w|0)+16>>2]=I,n[0|D]=1),(0|u)==(0|c))break t;s=0;do{u=s,i=(s=s+1|0)+k|0,o=s+w|0,r=0|_[j>>2],(0|s)<(0|c)?(ne(t,0),W=(0|_[R>>2])-1|0,B=0|_[b>>2],_[B+(52*W|0)+8>>2]=r+(104*(u+k|0)|0),_[B+(52*W|0)+12>>2]=r+(104*i|0),I=+p[r+(104*(u+k|0)|0)+8>>2]-+p[r+(104*i|0)+8>>2],S=+p[r+(104*(u+k|0)|0)+12>>2]-+p[r+(104*i|0)+12>>2],v=+p[r+(104*(u+k|0)|0)+16>>2]-+p[r+(104*i|0)+16>>2],v=+l(+(I*I+S*S+v*v)),p[B+(52*W|0)+16>>2]=v,n[0|D]=1,W=0|_[j>>2],ne(t,0),r=(0|_[R>>2])-1|0,B=0|_[b>>2],_[B+(52*r|0)+8>>2]=W+(104*(u+k|0)|0),_[B+(52*r|0)+12>>2]=W+(104*(u+w|0)|0),v=+p[W+(104*(u+k|0)|0)+8>>2]-+p[W+(104*(u+w|0)|0)+8>>2],S=+p[W+(104*(u+k|0)|0)+12>>2]-+p[W+(104*(u+w|0)|0)+12>>2],I=+p[W+(104*(u+k|0)|0)+16>>2]-+p[W+(104*(u+w|0)|0)+16>>2],I=+l(+(v*v+S*S+I*I)),p[B+(52*r|0)+16>>2]=I,n[0|D]=1,ct(t,u+k|0,u+w|0,o,0),A?(I=1/+(c+-1|0)*+(0|u),p[A+(f<<2)>>2]=I,p[A+(f+1<<2)>>2]=h,p[A+(f+2<<2)>>2]=I,p[A+(f+3<<2)>>2]=m,S=1/+(c+-1|0)*+(0|s),p[A+(f+4<<2)>>2]=S,p[A+(f+5<<2)>>2]=m,ct(t,o,i,u+k|0,0),p[A+(f+6<<2)>>2]=S,p[A+(f+7<<2)>>2]=m,p[A+(f+8<<2)>>2]=S,p[A+(f+9<<2)>>2]=h,p[A+(f+10<<2)>>2]=I,p[A+(f+11<<2)>>2]=h):ct(t,o,i,u+k|0,0),d&&(r=0|_[j>>2],ne(t,0),W=(0|_[R>>2])-1|0,B=0|_[b>>2],_[B+(52*W|0)+8>>2]=r+(104*(u+k|0)|0),_[B+(52*W|0)+12>>2]=r+(104*o|0),v=+p[r+(104*(u+k|0)|0)+8>>2]-+p[r+(104*o|0)+8>>2],S=+p[r+(104*(u+k|0)|0)+12>>2]-+p[r+(104*o|0)+12>>2],I=+p[r+(104*(u+k|0)|0)+16>>2]-+p[r+(104*o|0)+16>>2],I=+l(+(v*v+S*S+I*I)),p[B+(52*W|0)+16>>2]=I,n[0|D]=1),f=f+12|0):(ne(t,0),W=(0|_[R>>2])-1|0,B=0|_[b>>2],_[B+(52*W|0)+8>>2]=r+(104*(u+k|0)|0),_[B+(52*W|0)+12>>2]=r+(104*(u+w|0)|0),v=+p[r+(104*(u+k|0)|0)+8>>2]-+p[r+(104*(u+w|0)|0)+8>>2],S=+p[r+(104*(u+k|0)|0)+12>>2]-+p[r+(104*(u+w|0)|0)+12>>2],I=+p[r+(104*(u+k|0)|0)+16>>2]-+p[r+(104*(u+w|0)|0)+16>>2],I=+l(+(v*v+S*S+I*I)),p[B+(52*W|0)+16>>2]=I,n[0|D]=1)}while((0|s)!=(0|c))}}while(0)}while((0|e)!=(0|a));return 0|t},_emscripten_bind_btSoftBodyHelpers_CreatePatch_9:function(t,e,i,o,r,s,c,a,b,d){t|=0,e|=0,i|=0,o|=0,r|=0,s|=0,b|=0,d|=0;var A=0,f=0,u=0,m=0,h=0,y=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0,I=0,B=0;if((0|(c|=0))<2|(0|(a|=0))<2)return 0|(d=0);u=0|g(a,c),_[6630]=1+(0|_[6630]),(t=0|di(u>>>0>268435455?18:16+(u<<4|3)|0))?(_[(t+4+15&-16)-4>>2]=t,m=t+4+15&-16):m=0,h=0|mb(u>>>0>1073741823?-1:u<<2),t=0;do{D=+(0|t)/+(a+-1|0),y=+p[i>>2],y+=D*(+p[r>>2]-y),C=+p[i+4>>2],C+=D*(+p[r+4>>2]-C),v=+p[i+8>>2],v+=D*(+p[r+8>>2]-v),S=+p[o>>2],w=+p[o+4>>2],k=+p[o+8>>2],S=S+D*(+p[s>>2]-S)-y,w=w+D*(+p[s+4>>2]-w)-C,k=k+D*(+p[s+8>>2]-k)-v,f=0|g(t,c),A=0;do{D=+(0|A)/+(c+-1|0),p[m+((j=A+f|0)<<4)>>2]=y+S*D,p[m+(j<<4)+4>>2]=C+w*D,p[m+(j<<4)+8>>2]=v+k*D,p[m+(j<<4)+12>>2]=0,p[h+(j<<2)>>2]=1,A=A+1|0}while((0|A)!=(0|c));t=t+1|0}while((0|t)!=(0|a));_[6630]=1+(0|_[6630]),(t=0|di(1271))?(_[(t+4+15&-16)-4>>2]=t,t=t+4+15&-16):t=0,hi(t,e,u,m,h),1&b&&(p[88+(0|_[t+720>>2])>>2]=0,n[t+924|0]=1),2&b&&(p[(0|_[t+720>>2])+(104*(c+-1|0)|0)+88>>2]=0,n[t+924|0]=1),4&b&&(j=0|g(a+-1|0,c),p[(0|_[t+720>>2])+(104*j|0)+88>>2]=0,n[t+924|0]=1),8&b?(j=c+-1+(0|g(a+-1|0,c))|0,p[(0|_[(R=t+720|0)>>2])+(104*j|0)+88>>2]=0,n[0|(j=t+924|0)]=1):(R=t+720|0,j=t+924|0),_[6631]=1+(0|_[6631]),Li(0|_[m+-4>>2]),hb(h),h=t+732|0,b=t+740|0,A=0;do{t:do{if((0|c)>0){if(m=0|g(A,c),o=0|g(e=A+1|0,c),(0|e)>=(0|a))for(A=0;;)if(f=A,(0|(A=A+1|0))<(0|c)&&(r=A+m|0,o=0|_[R>>2],ne(t,0),u=(0|_[h>>2])-1|0,s=0|_[b>>2],_[s+(52*u|0)+8>>2]=o+(104*(f+m|0)|0),_[s+(52*u|0)+12>>2]=o+(104*r|0),w=+p[o+(104*(f+m|0)|0)+8>>2]-+p[o+(104*r|0)+8>>2],k=+p[o+(104*(f+m|0)|0)+12>>2]-+p[o+(104*r|0)+12>>2],D=+p[o+(104*(f+m|0)|0)+16>>2]-+p[o+(104*r|0)+16>>2],D=+l(+(w*w+k*k+D*D)),p[s+(52*u|0)+16>>2]=D,n[0|j]=1),(0|A)==(0|c)){A=e;break t}f=0;do{r=f+m|0,i=f,f=f+1|0;do{if((0|f)<(0|c)){if(s=f+m|0,I=0|_[R>>2],ne(t,0),B=(0|_[h>>2])-1|0,u=0|_[b>>2],_[u+(52*B|0)+8>>2]=I+(104*r|0),_[u+(52*B|0)+12>>2]=I+(104*s|0),D=+p[I+(104*r|0)+8>>2]-+p[I+(104*s|0)+8>>2],k=+p[I+(104*r|0)+12>>2]-+p[I+(104*s|0)+12>>2],w=+p[I+(104*r|0)+16>>2]-+p[I+(104*s|0)+16>>2],w=+l(+(D*D+k*k+w*w)),p[u+(52*B|0)+16>>2]=w,n[0|j]=1,B=0|_[R>>2],ne(t,0),u=(0|_[h>>2])-1|0,I=0|_[b>>2],_[I+(52*u|0)+8>>2]=B+(104*r|0),_[I+(52*u|0)+12>>2]=B+(104*(i+o|0)|0),w=+p[B+(104*r|0)+8>>2]-+p[B+(104*(i+o|0)|0)+8>>2],k=+p[B+(104*r|0)+12>>2]-+p[B+(104*(i+o|0)|0)+12>>2],D=+p[B+(104*r|0)+16>>2]-+p[B+(104*(i+o|0)|0)+16>>2],D=+l(+(w*w+k*k+D*D)),p[I+(52*u|0)+16>>2]=D,n[0|j]=1,i+A&1){if(ct(t,r,s,u=f+o|0,0),ct(t,r,u,i+o|0,0),!d)break;s=0|_[R>>2],ne(t,0),B=(0|_[h>>2])-1|0,I=0|_[b>>2],_[I+(52*B|0)+8>>2]=s+(104*r|0),_[I+(52*B|0)+12>>2]=s+(104*u|0),w=+p[s+(104*r|0)+8>>2]-+p[s+(104*u|0)+8>>2],k=+p[s+(104*r|0)+12>>2]-+p[s+(104*u|0)+12>>2],D=+p[s+(104*r|0)+16>>2]-+p[s+(104*u|0)+16>>2],D=+l(+(w*w+k*k+D*D)),p[I+(52*B|0)+16>>2]=D,n[0|j]=1;break}if(ct(t,i+o|0,r,s,0),ct(t,i+o|0,s,f+o|0,0),!d)break;u=0|_[R>>2],ne(t,0),B=(0|_[h>>2])-1|0,I=0|_[b>>2],_[I+(52*B|0)+8>>2]=u+(104*s|0),_[I+(52*B|0)+12>>2]=u+(104*(i+o|0)|0),w=+p[u+(104*s|0)+8>>2]-+p[u+(104*(i+o|0)|0)+8>>2],k=+p[u+(104*s|0)+12>>2]-+p[u+(104*(i+o|0)|0)+12>>2],D=+p[u+(104*s|0)+16>>2]-+p[u+(104*(i+o|0)|0)+16>>2],D=+l(+(w*w+k*k+D*D)),p[I+(52*B|0)+16>>2]=D,n[0|j]=1;break}u=0|_[R>>2],ne(t,0),B=(0|_[h>>2])-1|0,I=0|_[b>>2],_[I+(52*B|0)+8>>2]=u+(104*r|0),_[I+(52*B|0)+12>>2]=u+(104*(i+o|0)|0),w=+p[u+(104*r|0)+8>>2]-+p[u+(104*(i+o|0)|0)+8>>2],k=+p[u+(104*r|0)+12>>2]-+p[u+(104*(i+o|0)|0)+12>>2],D=+p[u+(104*r|0)+16>>2]-+p[u+(104*(i+o|0)|0)+16>>2],D=+l(+(w*w+k*k+D*D)),p[I+(52*B|0)+16>>2]=D,n[0|j]=1}while(0)}while((0|f)!=(0|c));A=e}else A=A+1|0}while(0)}while((0|A)!=(0|a));return 0|t},_emscripten_bind_btSoftBodyHelpers_CreateRope_5:function(t,e,i,o,r,s){t|=0,e|=0,i|=0,o|=0,r|=0,s|=0;var c=0,a=0,b=0,d=0,A=0,f=0,u=0,m=0,h=0;if(_[6630]=1+(0|_[6630]),(t=0|di((r+2|0)>>>0>268435455?18:16+(r+2<<4|3)|0))?(_[(t+4+15&-16)-4>>2]=t,c=t+4+15&-16):c=0,a=0|mb((r+2|0)>>>0>1073741823?-1:r+2<<2),(0|r)>-2){t=0;do{u=+(0|t)/+(r+1|0),f=+p[i>>2],A=+p[i+4>>2],A+=u*(+p[o+4>>2]-A),d=+p[i+8>>2],d+=u*(+p[o+8>>2]-d),p[c+(t<<4)>>2]=f+u*(+p[o>>2]-f),p[c+(t<<4)+4>>2]=A,p[c+(t<<4)+8>>2]=d,p[c+(t<<4)+12>>2]=0,p[a+(t<<2)>>2]=1,t=t+1|0}while((0|t)<(r+2|0))}if(_[6630]=1+(0|_[6630]),(t=0|di(1271))?(_[(t+4+15&-16)-4>>2]=t,b=t+4+15&-16):b=0,hi(b,e,r+2|0,c,a),1&s&&(p[88+(0|_[b+720>>2])>>2]=0,n[b+924|0]=1),2&s&&(p[(0|_[b+720>>2])+(104*(r+1|0)|0)+88>>2]=0,n[b+924|0]=1),0|c&&(_[6631]=1+(0|_[6631]),Li(0|_[c+-4>>2])),hb(a),(0|r)<=-1)return 0|b;c=b+720|0,a=b+732|0,i=b+740|0,o=b+924|0,t=1;do{h=t+-1|0,m=0|_[c>>2],ne(b,0),s=(0|_[a>>2])-1|0,e=0|_[i>>2],_[e+(52*s|0)+8>>2]=m+(104*h|0),_[e+(52*s|0)+12>>2]=m+(104*t|0),A=+p[m+(104*h|0)+8>>2]-+p[m+(104*t|0)+8>>2],f=+p[m+(104*h|0)+12>>2]-+p[m+(104*t|0)+12>>2],u=+p[m+(104*h|0)+16>>2]-+p[m+(104*t|0)+16>>2],u=+l(+(A*A+f*f+u*u)),p[e+(52*s|0)+16>>2]=u,n[0|o]=1,t=t+1|0}while((0|t)<(r+2|0));return 0|b},_emscripten_bind_btSoftBodyHelpers___destroy___0:qp,_emscripten_bind_btSoftBodyHelpers_btSoftBodyHelpers_0:function(){return 0|a_(1)},_emscripten_bind_btSoftBodyRigidBodyCollisionConfiguration___destroy___0:Kr,_emscripten_bind_btSoftBodyRigidBodyCollisionConfiguration_btSoftBodyRigidBodyCollisionConfiguration_0:function(){var t,e;return e=Q,Q=Q+32|0,t=0|a_(112),H_(e),mt(t,e),Q=e,0|t},_emscripten_bind_btSoftBodyRigidBodyCollisionConfiguration_btSoftBodyRigidBodyCollisionConfiguration_1:function(t){var e;return t|=0,mt(e=0|a_(112),t),0|e},_emscripten_bind_btSoftBodySolver___destroy___0:Kr,_emscripten_bind_btSoftBodyWorldInfo___destroy___0:function(t){(t|=0)&&(function(t){Ba((t|=0)+56|0)}(t),gb(t))},_emscripten_bind_btSoftBodyWorldInfo_btSoftBodyWorldInfo_0:function(){var t;return function(t){var e;e=Q,Q=Q+32|0,p[(t|=0)>>2]=1.2000000476837158,p[t+4>>2]=0,p[t+8>>2]=0,p[t+12>>2]=1e3,p[e+20>>2]=0,p[e+16>>2]=0,p[e+12>>2]=0,R_(t+16|0,e+20|0,e+16|0,e+12|0),_[t+32>>2]=0,_[t+36>>2]=0,p[e+8>>2]=0,p[e+4>>2]=-10,p[e>>2]=0,R_(t+40|0,e+8|0,e+4|0,e),Wa(t+56|0),Q=e}(t=0|a_(100)),0|t},_emscripten_bind_btSoftBodyWorldInfo_get_air_density_0:Lc,_emscripten_bind_btSoftBodyWorldInfo_get_m_broadphase_0:function(t){return 0|_[32+(t|=0)>>2]},_emscripten_bind_btSoftBodyWorldInfo_get_m_dispatcher_0:function(t){return 0|_[36+(t|=0)>>2]},_emscripten_bind_btSoftBodyWorldInfo_get_m_gravity_0:Ea,_emscripten_bind_btSoftBodyWorldInfo_get_m_maxDisplacement_0:ga,_emscripten_bind_btSoftBodyWorldInfo_get_water_density_0:ua,_emscripten_bind_btSoftBodyWorldInfo_get_water_normal_0:ia,_emscripten_bind_btSoftBodyWorldInfo_get_water_offset_0:ka,_emscripten_bind_btSoftBodyWorldInfo_set_air_density_1:Aa,_emscripten_bind_btSoftBodyWorldInfo_set_m_broadphase_1:function(t,e){e|=0,_[32+(t|=0)>>2]=e},_emscripten_bind_btSoftBodyWorldInfo_set_m_dispatcher_1:function(t,e){e|=0,_[36+(t|=0)>>2]=e},_emscripten_bind_btSoftBodyWorldInfo_set_m_gravity_1:l_,_emscripten_bind_btSoftBodyWorldInfo_set_m_maxDisplacement_1:Ec,_emscripten_bind_btSoftBodyWorldInfo_set_water_density_1:ea,_emscripten_bind_btSoftBodyWorldInfo_set_water_normal_1:o_,_emscripten_bind_btSoftBodyWorldInfo_set_water_offset_1:ta,_emscripten_bind_btSoftBody___destroy___0:Xr,_emscripten_bind_btSoftBody_activate_0:J_,_emscripten_bind_btSoftBody_activate_1:k_,_emscripten_bind_btSoftBody_addAeroForceToNode_2:function(t,e,i){qe(t|=0,e|=0,i|=0)},_emscripten_bind_btSoftBody_addForce_1:function(t,e){e|=0;var i,n,o=0;if(!((0|(n=0|_[712+(t|=0)>>2]))<=0)){i=0|_[t+720>>2],t=0;do{+p[i+(104*t|0)+88>>2]>0&&(p[(o=i+(104*t|0)+56|0)>>2]=+p[e>>2]+ +p[o>>2],p[(o=i+(104*t|0)+60|0)>>2]=+p[e+4>>2]+ +p[o>>2],p[(o=i+(104*t|0)+64|0)>>2]=+p[e+8>>2]+ +p[o>>2]),t=t+1|0}while((0|t)!=(0|n))}},_emscripten_bind_btSoftBody_addForce_2:function(t,e,i){e|=0,i|=0,t=0|_[720+(t|=0)>>2],+p[t+(104*i|0)+88>>2]>0&&(p[t+(104*i|0)+56>>2]=+p[e>>2]+ +p[t+(104*i|0)+56>>2],p[t+(104*i|0)+60>>2]=+p[e+4>>2]+ +p[t+(104*i|0)+60>>2],p[t+(104*i|0)+64>>2]=+p[e+8>>2]+ +p[t+(104*i|0)+64>>2])},_emscripten_bind_btSoftBody_appendAnchor_4:function(t,e,i,o,r){t|=0,e|=0,o|=0,r=+r;var s,c,a,b,d,l,A,f,u,m,h,y,g,C,v,S,w,k=0,R=0,j=0;w=Q,Q=Q+96|0,c=+p[4+(i|=0)>>2],a=+p[i+20>>2],b=+p[i+36>>2],d=+p[i+8>>2],l=+p[i+24>>2],A=+p[i+40>>2],f=+p[i+12>>2],u=+p[i+28>>2],m=+p[i+44>>2],h=-+p[i+52>>2],y=-+p[i+56>>2],g=-+p[i+60>>2],s=0|_[t+720>>2],C=+p[s+(104*e|0)+8>>2],v=+p[s+(104*e|0)+12>>2],S=+p[s+(104*e|0)+16>>2];t:do{if(o){o=0|_[t+268>>2];e:do{if((0|o)>0){for(R=0|_[t+276>>2],k=0;(0|_[R+(k<<2)>>2])!=(0|i);)if((0|(k=k+1|0))>=(0|o))break e;if((0|k)!=(0|o)){o=s;break t}}}while(0);if((0|o)==(0|_[t+272>>2])&&(0|o)<(0|(j=0|o?o<<1:1))){if(j?(_[6630]=1+(0|_[6630]),(o=0|di(16+(j<<2|3)|0))?(_[(o+4+15&-16)-4>>2]=o,o=o+4+15&-16):o=0,R=o,o=0|_[t+268>>2]):R=0,(0|o)>0){k=0;do{_[R+(k<<2)>>2]=_[(0|_[t+276>>2])+(k<<2)>>2],k=k+1|0}while((0|k)!=(0|o))}(k=0|_[t+276>>2])&&(0|n[t+280|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[k+-4>>2]),o=0|_[t+268>>2]),_[t+276>>2]=0),n[t+280|0]=1,_[t+276>>2]=R,_[t+272>>2]=j}_[(0|_[t+276>>2])+(o<<2)>>2]=i,_[t+268>>2]=o+1,o=0|_[t+720>>2]}else o=s}while(0);_[w>>2]=o+(104*e|0),_[w+20>>2]=i,p[w+4>>2]=c*h+a*y+b*g+(c*C+a*v+b*S),p[w+8>>2]=d*h+l*y+A*g+(d*C+l*v+A*S),p[w+12>>2]=f*h+u*y+m*g+(f*C+u*v+m*S),p[w+16>>2]=0,n[0|(i=o+(104*e|0)+100|0)]=1|n[0|i],p[w+24>>2]=r,Un(t+788|0,w),Q=w},_emscripten_bind_btSoftBody_appendFace_4:function(t,e,i,n,o){ct(t|=0,e|=0,i|=0,n|=0,o|=0)},_emscripten_bind_btSoftBody_appendLink_4:function(t,e,i,n,o){Ei(t|=0,e|=0,i|=0,n|=0,o|=0)},_emscripten_bind_btSoftBody_appendMaterial_0:function(t){return 0|Mt(t|=0)},_emscripten_bind_btSoftBody_appendNode_2:function(t,e,i){e|=0,i=+i;var o,r,s,c,a=0,b=0,d=0,l=0,A=0,f=0,u=0,m=0;if(c=Q,Q=Q+112|0,(0|(l=0|_[716+(t|=0)>>2]))==(0|_[t+712>>2])){t:do{if(l)if(d=0|_[t+720>>2],(0|l)>0)for(a=0,b=d;;){if(0|(b=0|_[b+(104*a|0)+96>>2])&&(_[b+36>>2]=a),(0|(a=a+1|0))==(0|l)){A=d;break t}b=0|_[t+720>>2]}else A=d;else A=0}while(0);if((0|(b=0|_[t+732>>2]))>0){a=0;do{u=(0|_[t+740>>2])+(52*a|0)+8|0,_[u>>2]=((0|_[u>>2])-A|0)/104|0,u=(0|_[t+740>>2])+(52*a|0)+12|0,_[u>>2]=((0|_[u>>2])-A|0)/104|0,a=a+1|0}while((0|a)!=(0|b))}if((0|(b=0|_[t+752>>2]))>0){a=0;do{d=(0|_[t+760>>2])+(44*a|0)+8|0,_[d>>2]=((0|_[d>>2])-A|0)/104|0,d=(0|_[t+760>>2])+(44*a|0)+12|0,_[d>>2]=((0|_[d>>2])-A|0)/104|0,d=(0|_[t+760>>2])+(44*a|0)+16|0,_[d>>2]=((0|_[d>>2])-A|0)/104|0,0|(d=0|_[(0|_[t+760>>2])+(44*a|0)+40>>2])&&(_[d+36>>2]=a),a=a+1|0}while((0|a)!=(0|b))}if((0|(b=0|_[t+792>>2]))>0){d=0|_[t+800>>2],a=0;do{_[(u=d+(96*a|0)|0)>>2]=((0|_[u>>2])-A|0)/104|0,a=a+1|0}while((0|a)!=(0|b))}if((0|(l=0|_[t+692>>2]))>0){d=0,a=0|_[t+700>>2];do{if((0|_[a+(60*d|0)+24>>2])>0){b=0;do{_[(a=a+(60*d|0)+28+(b<<2)|0)>>2]=((0|_[a>>2])-A|0)/104|0,b=b+1|0,a=0|_[t+700>>2]}while((0|b)<(0|_[a+(60*d|0)+24>>2]))}d=d+1|0}while((0|d)!=(0|l))}if(l=0|_[t+712>>2],(0|_[t+716>>2])<(1|l<<1)){if(_[6630]=1+(0|_[6630]),(a=0|di(16+(104*(l<<1|1)|3)|0))?(_[(a+4+15&-16)-4>>2]=a,d=a+4+15&-16):d=0,(0|(b=0|_[t+712>>2]))>0){a=0;do{f=d+(104*a|0)|0,A=(0|_[t+720>>2])+(104*a|0)|0,u=f+104|0;do{_[f>>2]=_[A>>2],f=f+4|0,A=A+4|0}while((0|f)<(0|u));a=a+1|0}while((0|a)!=(0|b))}0|(a=0|_[t+720>>2])&&(0|n[t+724|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[a+-4>>2])),_[t+720>>2]=0),n[t+724|0]=1,_[t+720>>2]=d,_[t+716>>2]=l<<1|1,l=0|_[t+712>>2]}t:do{if(l){if(A=0|_[t+720>>2],(0|l)>0)for(a=0,b=A;;){if(0|(d=0|_[b+(104*a|0)+96>>2])&&(_[d+36>>2]=b+(104*a|0)),(0|(a=a+1|0))==(0|l))break t;b=0|_[t+720>>2]}}else A=0}while(0);if((0|(b=0|_[t+732>>2]))>0){a=0;do{u=(0|_[t+740>>2])+(52*a|0)+8|0,_[u>>2]=A+(104*(0|_[u>>2])|0),u=(0|_[t+740>>2])+(52*a|0)+12|0,_[u>>2]=A+(104*(0|_[u>>2])|0),a=a+1|0}while((0|a)!=(0|b))}if((0|(b=0|_[t+752>>2]))>0){a=0;do{d=(0|_[t+760>>2])+(44*a|0)+8|0,_[d>>2]=A+(104*(0|_[d>>2])|0),d=(0|_[t+760>>2])+(44*a|0)+12|0,_[d>>2]=A+(104*(0|_[d>>2])|0),d=(0|_[t+760>>2])+(44*a|0)+16|0,_[d>>2]=A+(104*(0|_[d>>2])|0),d=0|_[t+760>>2],0|(l=0|_[d+(44*a|0)+40>>2])&&(_[l+36>>2]=d+(44*a|0)),a=a+1|0}while((0|a)!=(0|b))}if((0|(d=0|_[t+792>>2]))>0){b=0|_[t+800>>2],a=0;do{_[(u=b+(96*a|0)|0)>>2]=A+(104*(0|_[u>>2])|0),a=a+1|0}while((0|a)!=(0|d))}if((0|(l=0|_[t+692>>2]))>0){d=0,a=0|_[t+700>>2];do{if((0|_[a+(60*d|0)+24>>2])>0){b=0;do{_[(a=a+(60*d|0)+28+(b<<2)|0)>>2]=A+(104*(0|_[a>>2])|0),b=b+1|0,a=0|_[t+700>>2]}while((0|b)<(0|_[a+(60*d|0)+24>>2]))}d=d+1|0}while((0|d)!=(0|l))}}f=0|_[t+192>>2],s=+Bb[15&_[48+(0|_[f>>2])>>2]](f),u=(f=c)+100|0;do{_[f>>2]=0,f=f+4|0}while((0|f)<(0|u));if((0|(a=0|_[t+712>>2]))==(0|_[t+716>>2])&&(0|a)<(0|(m=0|a?a<<1:1))){if(m?(_[6630]=1+(0|_[6630]),(a=0|di(16+(104*m|3)|0))?(_[(a+4+15&-16)-4>>2]=a,a=a+4+15&-16):a=0,d=a,a=0|_[t+712>>2]):d=0,(0|a)>0){b=0;do{f=d+(104*b|0)|0,A=(0|_[t+720>>2])+(104*b|0)|0,u=f+104|0;do{_[f>>2]=_[A>>2],f=f+4|0,A=A+4|0}while((0|f)<(0|u));b=b+1|0}while((0|b)!=(0|a))}0|(a=0|_[t+720>>2])&&(0|n[t+724|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[a+-4>>2])),_[t+720>>2]=0),n[t+724|0]=1,_[t+720>>2]=d,_[t+716>>2]=m,a=0|_[t+712>>2]}f=0|_[t+720>>2],_[f+(104*a|0)>>2]=0,A=c,u=100+(f=f+(104*a|0)+4|0)|0;do{_[f>>2]=_[A>>2],f=f+4|0,A=A+4|0}while((0|f)<(0|u));b=0|_[t+712>>2],_[t+712>>2]=b+1,u=104+(f=(d=0|_[t+720>>2])+(104*b|0)|0)|0;do{_[f>>2]=0,f=f+4|0}while((0|f)<(0|u));if(_[d+(104*b|0)+8>>2]=_[e>>2],_[d+(104*b|0)+8+4>>2]=_[e+4>>2],_[d+(104*b|0)+8+8>>2]=_[e+8>>2],_[d+(104*b|0)+8+12>>2]=_[e+12>>2],Do(d+(104*b|0)+24|0,0|e,16),p[d+(104*b|0)+88>>2]=i>0?1/i:0,_[d+(104*b|0)+4>>2]=_[_[t+880>>2]>>2],i=+p[d+(104*b|0)+8>>2],o=+p[d+(104*b|0)+12>>2],r=+p[d+(104*b|0)+16>>2],0|(a=0|_[t+932>>2]))return _[t+932>>2]=0,_[(m=(e=a)+32|0)>>2]=0,_[(m=e+36|0)>>2]=d+(104*b|0),_[(m=e+40|0)>>2]=0,p[e>>2]=i-s,p[(m=e+4|0)>>2]=o-s,p[(m=e+8|0)>>2]=r-s,p[(m=e+12|0)>>2]=0,p[(m=e+16|0)>>2]=s+i,p[(m=e+20|0)>>2]=s+o,p[(m=e+24|0)>>2]=s+r,p[(m=e+28|0)>>2]=0,U(t+928|0,m=0|_[t+928>>2],e),m=1+(m=0|_[(t=t+940|0)>>2])|0,_[t>>2]=m,_[(t=d+(104*b|0)+96|0)>>2]=e,void(Q=c);_[6630]=1+(0|_[6630]),(a=0|di(63))?(_[(a+4+15&-16)-4>>2]=a,a=a+4+15&-16):a=0,u=(f=a)+44|0;do{_[f>>2]=0,f=f+4|0}while((0|f)<(0|u));_[(m=(e=a)+32|0)>>2]=0,_[(m=e+36|0)>>2]=d+(104*b|0),_[(m=e+40|0)>>2]=0,p[e>>2]=i-s,p[(m=e+4|0)>>2]=o-s,p[(m=e+8|0)>>2]=r-s,p[(m=e+12|0)>>2]=0,p[(m=e+16|0)>>2]=s+i,p[(m=e+20|0)>>2]=s+o,p[(m=e+24|0)>>2]=s+r,p[(m=e+28|0)>>2]=0,U(t+928|0,m=0|_[t+928>>2],e),m=1+(m=0|_[(t=t+940|0)>>2])|0,_[t>>2]=m,_[(t=d+(104*b|0)+96|0)>>2]=e,Q=c},_emscripten_bind_btSoftBody_appendTetra_5:function(t,e,i,o,r,s){t|=0,e|=0,i|=0,o|=0,r|=0,s|=0;var c,a,b,d,l,A,f,u,m,h,y=0,g=0,C=0,v=0,S=0,w=0,k=0;c=Q,Q=Q+96|0,v=(C=c)+96|0;do{_[C>>2]=0,C=C+4|0}while((0|C)<(0|v));if(w=s||0|_[_[t+880>>2]>>2],(0|(s=0|_[t+772>>2]))==(0|_[t+776>>2])&&(0|s)<(0|(k=0|s?s<<1:1))){if(k?(_[6630]=1+(0|_[6630]),(s=0|di(16+(104*k|3)|0))?(_[(s+4+15&-16)-4>>2]=s,s=s+4+15&-16):s=0,S=s,s=0|_[t+772>>2]):S=0,(0|s)>0){y=0;do{C=S+(104*y|0)|0,g=(0|_[t+780>>2])+(104*y|0)|0,v=C+104|0;do{_[C>>2]=_[g>>2],C=C+4|0,g=g+4|0}while((0|C)<(0|v));y=y+1|0}while((0|y)!=(0|s))}0|(s=0|_[t+780>>2])&&(0|n[t+784|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[s+-4>>2])),_[t+780>>2]=0),n[t+784|0]=1,_[t+780>>2]=S,_[t+776>>2]=k,s=0|_[t+772>>2]}C=0|_[t+780>>2],_[C+(104*s|0)>>2]=0,_[C+(104*s|0)+4>>2]=w,g=c,v=96+(C=C+(104*s|0)+8|0)|0;do{_[C>>2]=_[g>>2],C=C+4|0,g=g+4|0}while((0|C)<(0|v));k=0|_[t+772>>2],_[t+772>>2]=k+1,w=0|_[t+780>>2],g=0|_[t+720>>2],_[w+(104*k|0)+8>>2]=g+(104*e|0),S=0|_[t+720>>2],_[w+(104*k|0)+12>>2]=S+(104*i|0),C=0|_[t+720>>2],_[w+(104*k|0)+16>>2]=C+(104*o|0),v=0|_[t+720>>2],_[w+(104*k|0)+20>>2]=v+(104*r|0),m=+p[g+(104*e|0)+8>>2],A=+p[g+(104*e|0)+12>>2],h=+p[g+(104*e|0)+16>>2],b=+p[C+(104*o|0)+8>>2]-m,u=+p[C+(104*o|0)+12>>2]-A,l=+p[C+(104*o|0)+16>>2]-h,d=+p[v+(104*r|0)+8>>2]-m,f=+p[v+(104*r|0)+12>>2]-A,a=+p[v+(104*r|0)+16>>2]-h,p[w+(104*k|0)+24>>2]=(+p[S+(104*i|0)+16>>2]-h)*(b*f-u*d)+((+p[S+(104*i|0)+8>>2]-m)*(u*a-l*f)+(+p[S+(104*i|0)+12>>2]-A)*(l*d-b*a)),n[t+924|0]=1,Q=c},_emscripten_bind_btSoftBody_btSoftBody_4:function(t,e,i,n){var o;return t|=0,e|=0,i|=0,n|=0,hi(o=0|S_(1252),t,e,i,n),0|o},_emscripten_bind_btSoftBody_checkFace_3:function(t,e,i,n){e|=0,i|=0,n|=0;var o,r=0,s=0,p=0;if(s=0|_[720+(t|=0)>>2],(0|(o=0|_[t+752>>2]))<=0)return 0|(s=0);for(r=0|_[t+760>>2],t=0;;){if((0|(p=0|_[r+(44*t|0)+8>>2]))==(s+(104*n|0)|0)|(0|p)==(s+(104*e|0)|0)|(0|p)==(s+(104*i|0)|0)&&(0|(p=0|_[r+(44*t|0)+12>>2]))==(s+(104*n|0)|0)|(0|p)==(s+(104*e|0)|0)|(0|p)==(s+(104*i|0)|0)&&(0|(p=0|_[r+(44*t|0)+16>>2]))==(s+(104*n|0)|0)|(0|p)==(s+(104*e|0)|0)|(0|p)==(s+(104*i|0)|0)){t=1,r=7;break}if((0|(t=t+1|0))>=(0|o)){t=0,r=7;break}}return 7==(0|r)?0|t:0},_emscripten_bind_btSoftBody_checkLink_2:function(t,e,i){e|=0,i|=0;var n,o=0,r=0,s=0;if(n=0|_[720+(t|=0)>>2],(0|(s=0|_[t+732>>2]))<=0)return 0|(s=0);for(o=0|_[t+740>>2],t=0;;){if((0|(r=0|_[o+(52*t|0)+8>>2]))==(n+(104*e|0)|0)&&(0|_[o+(52*t|0)+12>>2])==(n+(104*i|0)|0)){t=1,o=8;break}if((0|r)==(n+(104*i|0)|0)&&(0|_[o+(52*t|0)+12>>2])==(n+(104*e|0)|0)){t=1,o=8;break}if((0|(t=t+1|0))>=(0|s)){t=0,o=8;break}}return 8==(0|o)?0|t:0},_emscripten_bind_btSoftBody_forceActivationState_1:dp,_emscripten_bind_btSoftBody_generateBendingConstraints_2:function(t,e,i){i|=0;var o,r=0,s=0,c=0,a=0,b=0,d=0,A=0,f=0,u=0,m=0,h=0,y=0,C=0,v=0,S=0,w=0,k=0,R=0,j=0,D=0;if((0|(e|=0))<=1)return 0|(k=0);if(o=0|_[712+(t|=0)>>2],k=0|mb((k=0|g(o,o))>>>0>1073741823?-1:k<<2),(0|o)>0){s=0;do{a=k+(s+(c=0|g(s,o))<<2)|0,r=0;do{b=k+((0|g(r,o))+s<<2)|0,(0|r)==(0|s)?(_[b>>2]=0,_[a>>2]=0):(_[b>>2]=2147483647,_[k+(r+c<<2)>>2]=2147483647),r=r+1|0}while((0|r)!=(0|o));s=s+1|0}while((0|s)!=(0|o))}if((0|(s=0|_[t+732>>2]))>0){c=0|_[t+740>>2],a=0|_[t+720>>2],r=0;do{m=((0|_[c+(52*r|0)+8>>2])-a|0)/104|0,v=((0|_[c+(52*r|0)+12>>2])-a|0)/104|0,u=k+((0|g(v,o))+m<<2)|0,_[u>>2]=1,v=k+((0|g(m,o))+v<<2)|0,_[v>>2]=1,r=r+1|0}while((0|r)!=(0|s))}do{if(2!=(0|e))if((0|o)>0){r=0;do{b=0|g(r,o),s=0;do{if(c=s,(0|(s=s+1|0))<(0|o)){d=k+((f=0|g(c,o))+r<<2)|0,a=s;do{A=(0|_[d>>2])+(0|_[k+(a+b<<2)>>2])|0,(0|_[(u=k+(a+f<<2)|0)>>2])>>>0>A>>>0&&(w=k+((0|g(a,o))+c<<2)|0,_[w>>2]=A,_[u>>2]=A),a=a+1|0}while((0|a)!=(0|o))}}while((0|s)!=(0|o));r=r+1|0}while((0|r)!=(0|o));h=97}else r=0;else{if((0|o)<0&&L(),(0|o)>0){_[6630]=1+(0|_[6630]),(r=0|di(16+(20*o|3)|0))?(_[(r+4+15&-16)-4>>2]=r,r=r+4+15&-16):r=0,s=0;do{n[r+(20*s|0)+16|0]=1,_[r+(20*s|0)+12>>2]=0,_[(v=r+(20*s|0)+4|0)>>2]=0,_[r+(20*s|0)+8>>2]=0,_[v>>2]=0,s=s+1|0}while((0|s)!=(0|o));v=r}else v=0;if((0|_[t+732>>2])>0){f=0;do{A=0|_[t+740>>2],m=0|_[t+720>>2],u=((0|_[A+(52*f|0)+8>>2])-m|0)/104|0,m=((0|_[A+(52*f|0)+12>>2])-m|0)/104|0,r=0|_[(A=v+(20*u|0)+4|0)>>2];t:do{if((0|r)>0){for(c=0|_[v+(20*u|0)+12>>2],s=0;(0|_[c+(s<<2)>>2])!=(0|m);)if((0|(s=s+1|0))>=(0|r)){h=28;break t}(0|s)==(0|r)&&(h=28)}else h=28}while(0);if(28==(0|h)){if(h=0,(0|r)==(0|_[(d=v+(20*u|0)+8|0)>>2])&&(0|r)<(0|(C=0|r?r<<1:1))){if(C?(_[6630]=1+(0|_[6630]),(r=0|di(16+(C<<2|3)|0))?(_[(r+4+15&-16)-4>>2]=r,r=r+4+15&-16):r=0,b=r,r=0|_[A>>2]):b=0,c=0|_[(a=v+(20*u|0)+12|0)>>2],(0|r)<=0)c?h=39:s=v+(20*u|0)+16|0;else{s=0;do{_[b+(s<<2)>>2]=_[c+(s<<2)>>2],s=s+1|0}while((0|s)!=(0|r));h=39}39==(0|h)&&(h=0,0|n[0|(r=v+(20*u|0)+16|0)]&&(_[6631]=1+(0|_[6631]),Li(0|_[c+-4>>2])),_[a>>2]=0,s=r,r=0|_[A>>2]),n[0|s]=1,_[a>>2]=b,_[d>>2]=C}_[(0|_[v+(20*u|0)+12>>2])+(r<<2)>>2]=m,_[A>>2]=1+(0|_[A>>2])}r=0|_[(A=v+(20*m|0)+4|0)>>2];t:do{if((0|r)>0){for(c=0|_[v+(20*m|0)+12>>2],s=0;(0|_[c+(s<<2)>>2])!=(0|u);)if((0|(s=s+1|0))>=(0|r)){h=49;break t}(0|s)==(0|r)&&(h=49)}else h=49}while(0);if(49==(0|h)){if(h=0,(0|r)==(0|_[(d=v+(20*m|0)+8|0)>>2])&&(0|r)<(0|(y=0|r?r<<1:1))){if(y?(_[6630]=1+(0|_[6630]),(r=0|di(16+(y<<2|3)|0))?(_[(r+4+15&-16)-4>>2]=r,r=r+4+15&-16):r=0,b=r,r=0|_[A>>2]):b=0,c=0|_[(a=v+(20*m|0)+12|0)>>2],(0|r)<=0)c?h=60:s=v+(20*m|0)+16|0;else{s=0;do{_[b+(s<<2)>>2]=_[c+(s<<2)>>2],s=s+1|0}while((0|s)!=(0|r));h=60}60==(0|h)&&(h=0,0|n[0|(r=v+(20*m|0)+16|0)]&&(_[6631]=1+(0|_[6631]),Li(0|_[c+-4>>2])),_[a>>2]=0,s=r,r=0|_[A>>2]),n[0|s]=1,_[a>>2]=b,_[d>>2]=y}_[(0|_[v+(20*m|0)+12>>2])+(r<<2)>>2]=u,_[A>>2]=1+(0|_[A>>2])}f=f+1|0}while((0|f)<(0|_[t+732>>2]))}if((0|o)<=0){if(!v){r=0;break}}else{u=0;do{if((0|(r=0|_[(h=v+(20*u|0)+4|0)>>2]))>0){y=0|g(u,o),m=0|_[v+(20*u|0)+12>>2],f=0;do{if(d=0|_[m+(f<<2)>>2],(0|(s=0|_[(A=v+(20*d|0)+4|0)>>2]))>0){a=0|_[v+(20*d|0)+12>>2],b=k+((0|g(d,o))+u<<2)|0,c=0,r=s;do{(0|u)!=(0|(s=0|_[a+(c<<2)>>2]))&&(w=0|g(s,o),S=(0|_[k+(w+d<<2)>>2])+(0|_[b>>2])|0,(0|_[(w=k+(w+u<<2)|0)>>2])>>>0>S>>>0)&&(_[k+(s+y<<2)>>2]=S,_[w>>2]=S,r=0|_[A>>2]),c=c+1|0}while((0|c)<(0|r));r=0|_[h>>2]}f=f+1|0}while((0|f)<(0|r))}u=u+1|0}while((0|u)!=(0|o));r=0;do{c=v+(20*r|0)+4|0,s=v+(20*r|0)+16|0,0|(b=0|_[(a=v+(20*r|0)+12|0)>>2])&&(0|n[0|s]&&(_[6631]=1+(0|_[6631]),Li(0|_[b+-4>>2])),_[a>>2]=0),n[0|s]=1,_[a>>2]=0,_[c>>2]=0,_[v+(20*r|0)+8>>2]=0,r=r+1|0}while((0|r)!=(0|o))}_[6631]=1+(0|_[6631]),Li(0|_[v+-4>>2]),h=97}}while(0);if(97==(0|h))if((0|o)>0){r=0,b=0;do{if(c=b,(0|(b=b+1|0))<(0|o)){a=0|g(c,o),s=b;do{(0|_[k+(s+a<<2)>>2])==(0|e)&&(v=0|_[t+720>>2],ne(t,i),w=(0|_[t+732>>2])-1|0,S=0|_[t+740>>2],_[S+(52*w|0)+8>>2]=v+(104*s|0),_[S+(52*w|0)+12>>2]=v+(104*c|0),D=+p[v+(104*s|0)+8>>2]-+p[v+(104*c|0)+8>>2],j=+p[v+(104*s|0)+12>>2]-+p[v+(104*c|0)+12>>2],R=+p[v+(104*s|0)+16>>2]-+p[v+(104*c|0)+16>>2],R=+l(+(D*D+j*j+R*R)),p[S+(52*w|0)+16>>2]=R,n[t+924|0]=1,w=(0|_[t+740>>2])+(52*w|0)+20|0,n[0|w]=1|n[0|w],r=r+1|0),s=s+1|0}while((0|s)!=(0|o))}}while((0|b)!=(0|o))}else r=0;return hb(k),0|(k=r)},_emscripten_bind_btSoftBody_generateClusters_1:function(t,e){return 0|Rb(t|=0,e|=0,8192)},_emscripten_bind_btSoftBody_generateClusters_2:function(t,e,i){return 0|Rb(t|=0,e|=0,i|=0)},_emscripten_bind_btSoftBody_getCollisionFlags_0:Bp,_emscripten_bind_btSoftBody_getCollisionShape_0:Ip,_emscripten_bind_btSoftBody_getTotalMass_0:function(t){var e,i,n=0,o=0;if((0|(i=0|_[712+(t|=0)>>2]))<=0)return+(n=0);e=0|_[t+720>>2],t=0,n=0;do{n+=(o=+p[e+(104*t|0)+88>>2])>0?1/o:0,t=t+1|0}while((0|t)!=(0|i));return+n},_emscripten_bind_btSoftBody_getUserIndex_0:wp,_emscripten_bind_btSoftBody_getUserPointer_0:Zp,_emscripten_bind_btSoftBody_getWorldTransform_0:Bc,_emscripten_bind_btSoftBody_get_m_anchors_0:function(t){return 788+(t|=0)|0},_emscripten_bind_btSoftBody_get_m_cfg_0:function(t){return 288+(t|=0)|0},_emscripten_bind_btSoftBody_get_m_materials_0:function(t){return 868+(t|=0)|0},_emscripten_bind_btSoftBody_get_m_nodes_0:function(t){return 708+(t|=0)|0},_emscripten_bind_btSoftBody_isActive_0:np,_emscripten_bind_btSoftBody_isKinematicObject_0:ks,_emscripten_bind_btSoftBody_isStaticObject_0:Ms,_emscripten_bind_btSoftBody_isStaticOrKinematicObject_0:rs,_emscripten_bind_btSoftBody_rotate_1:function(t,e){var i,n,o,r,s,c,a,b;t|=0,e|=0,i=Q,Q=Q+64|0,_[i+48>>2]=0,_[i+48+4>>2]=0,_[i+48+8>>2]=0,_[i+48+12>>2]=0,r=(s=+p[e>>2])*(2/(s*s+(o=+p[e+4>>2])*o+(b=+p[e+8>>2])*b+(c=+p[e+12>>2])*c)),n=o*(2/(s*s+o*o+b*b+c*c)),a=b*(2/(s*s+o*o+b*b+c*c)),p[i>>2]=1-(o*n+b*a),p[i+4>>2]=s*n-c*a,p[i+8>>2]=s*a+c*n,p[i+12>>2]=0,p[i+16>>2]=s*n+c*a,p[i+20>>2]=1-(s*r+b*a),p[i+24>>2]=o*a-c*r,p[i+28>>2]=0,p[i+32>>2]=s*a-c*n,p[i+36>>2]=o*a+c*r,p[i+40>>2]=1-(s*r+o*n),p[i+44>>2]=0,ke(t,i),Q=i},_emscripten_bind_btSoftBody_scale_1:function(t,e){e|=0;var i=0,n=0,o=0,r=0,s=0,c=0,a=0,b=0,d=0,A=0,f=0;if(f=0|_[192+(t|=0)>>2],A=+Bb[15&_[48+(0|_[f>>2])>>2]](f),(0|(f=0|_[t+712>>2]))>0){s=0;do{i=(d=0|_[t+720>>2])+(104*s|0)+8|0,c=+p[e>>2]*+p[i>>2],p[i>>2]=c,i=d+(104*s|0)+12|0,a=+p[e+4>>2]*+p[i>>2],p[i>>2]=a,i=d+(104*s|0)+16|0,b=+p[e+8>>2]*+p[i>>2],p[i>>2]=b,p[(i=d+(104*s|0)+24|0)>>2]=+p[e>>2]*+p[i>>2],p[(i=d+(104*s|0)+28|0)>>2]=+p[e+4>>2]*+p[i>>2],p[(i=d+(104*s|0)+32|0)>>2]=+p[e+8>>2]*+p[i>>2],i=0|Tt(t+928|0,d=0|_[d+(104*s|0)+96>>2]);t:do{if(i){if((0|(r=0|_[t+936>>2]))<=-1){i=0|_[t+928>>2];break}if(r)for(n=0;;){if(n=n+1|0,!(o=0|_[i+32>>2]))break t;if((0|n)>=(0|r)){i=o;break}i=o}}else i=0}while(0);p[d>>2]=c-A,p[d+4>>2]=a-A,p[d+8>>2]=b-A,p[d+12>>2]=0,p[d+16>>2]=A+c,p[d+20>>2]=A+a,p[d+24>>2]=A+b,p[d+28>>2]=0,U(t+928|0,i,d),s=s+1|0}while((0|s)!=(0|f))}if(ht(t),(i=0|_[t+928>>2])?(f=0|_[t+192>>2],a=+Bb[15&_[48+(0|_[f>>2])>>2]](f),A=+p[i+4>>2]-a,b=+p[i+8>>2]-a,p[t+892>>2]=+p[i>>2]-a,p[t+896>>2]=A,p[t+900>>2]=b,p[t+904>>2]=0,b=a+ +p[i+20>>2],A=a+ +p[i+24>>2],p[t+908>>2]=a+ +p[i+16>>2],p[t+912>>2]=b,p[t+916>>2]=A,p[t+920>>2]=0,0|(i=0|_[t+188>>2])&&(f=0|_[t+684>>2],d=0|_[f+32>>2],ld[31&_[16+(0|_[d>>2])>>2]](d,i,t+892|0,t+908|0,0|_[f+36>>2]))):(_[t+892>>2]=0,_[t+892+4>>2]=0,_[t+892+8>>2]=0,_[t+892+12>>2]=0,_[t+892+16>>2]=0,_[t+892+20>>2]=0,_[t+892+24>>2]=0,_[t+892+28>>2]=0),(0|(n=0|_[t+732>>2]))<=0)_t(t);else{o=0|_[t+740>>2],i=0;do{d=0|_[o+(52*i|0)+8>>2],f=0|_[o+(52*i|0)+12>>2],a=+p[d+8>>2]-+p[f+8>>2],b=+p[d+12>>2]-+p[f+12>>2],A=+p[d+16>>2]-+p[f+16>>2],A=+l(+(a*a+b*b+A*A)),p[o+(52*i|0)+16>>2]=A,p[o+(52*i|0)+28>>2]=A*A,i=i+1|0}while((0|i)!=(0|n));i=0;do{p[o+(52*i|0)+24>>2]=(+p[88+(0|_[o+(52*i|0)+8>>2])>>2]+ +p[88+(0|_[o+(52*i|0)+12>>2])>>2])/+p[4+(0|_[o+(52*i|0)+4>>2])>>2],i=i+1|0}while((0|i)!=(0|n));_t(t)}},_emscripten_bind_btSoftBody_setActivationState_1:Mr,_emscripten_bind_btSoftBody_setAnisotropicFriction_2:Cr,_emscripten_bind_btSoftBody_setCcdMotionThreshold_1:Ss,_emscripten_bind_btSoftBody_setCcdSweptSphereRadius_1:ms,_emscripten_bind_btSoftBody_setCollisionFlags_1:xs,_emscripten_bind_btSoftBody_setCollisionShape_1:is,_emscripten_bind_btSoftBody_setContactProcessingThreshold_1:Rs,_emscripten_bind_btSoftBody_setFriction_1:ip,_emscripten_bind_btSoftBody_setMass_2:function(t,e,i){e|=0,i=+i,p[(0|_[720+(t|=0)>>2])+(104*e|0)+88>>2]=i>0?1/i:0,n[t+924|0]=1},_emscripten_bind_btSoftBody_setRestitution_1:Zs,_emscripten_bind_btSoftBody_setRollingFriction_1:Ps,_emscripten_bind_btSoftBody_setTotalMass_2:function(t,e,i){e=+e,i|=0;var o,r=0,s=0,c=0,a=0,b=0,d=0,A=0,f=0,u=0,m=0,h=0;if(o=0|_[712+(t|=0)>>2],i){if((0|o)>0){r=0|_[t+720>>2],i=0;do{p[r+(104*i|0)+88>>2]=0,i=i+1|0}while((0|i)!=(0|o))}if((0|(r=0|_[t+752>>2]))>0){c=0|_[t+760>>2],i=0;do{d=0|_[c+(44*i|0)+8>>2],b=0|_[c+(44*i|0)+12>>2],a=0|_[c+(44*i|0)+16>>2],f=+p[d+8>>2],m=+p[d+12>>2],s=+p[d+16>>2],A=+p[b+8>>2]-f,h=+p[b+12>>2]-m,u=+p[b+16>>2]-s,f=+p[a+8>>2]-f,m=+p[a+12>>2]-m,s=+p[a+16>>2]-s,s=+l(+((A*m-h*f)*(A*m-h*f)+((h*s-u*m)*(h*s-u*m)+(u*f-A*s)*(u*f-A*s)))),p[d+88>>2]=s+ +p[d+88>>2],p[b+88>>2]=s+ +p[b+88>>2],p[a+88>>2]=s+ +p[a+88>>2],i=i+1|0}while((0|i)!=(0|r))}if((0|o)<=0)return void(n[0|(d=t+924|0)]=1);r=0|_[t+720>>2],i=0;do{p[(d=r+(104*i|0)+88|0)>>2]=1/+p[d>>2],i=i+1|0}while((0|i)!=(0|o))}if((0|o)<=0)n[0|(d=t+924|0)]=1;else{r=0|_[t+720>>2],i=0,s=0;do{s+=(h=+p[r+(104*i|0)+88>>2])>0?1/h:0,i=i+1|0}while((0|i)!=(0|o));s=1/s*e,i=0;do{p[(d=r+(104*i|0)+88|0)>>2]=+p[d>>2]/s,i=i+1|0}while((0|i)!=(0|o));n[0|(d=t+924|0)]=1}},_emscripten_bind_btSoftBody_setUserIndex_1:Ks,_emscripten_bind_btSoftBody_setUserPointer_1:Ks,_emscripten_bind_btSoftBody_setWorldTransform_1:bs,_emscripten_bind_btSoftBody_set_m_anchors_1:function(t,e){!function(t,e){Xn(t|=0,e|=0)}(788+(t|=0)|0,e|=0)},_emscripten_bind_btSoftBody_set_m_cfg_1:function(t,e){zn(288+(t|=0)|0,e|=0)},_emscripten_bind_btSoftBody_set_m_materials_1:function(t,e){!function(t,e){jo(t|=0,e|=0)}(868+(t|=0)|0,e|=0)},_emscripten_bind_btSoftBody_set_m_nodes_1:function(t,e){!function(t,e){En(t|=0,e|=0)}(708+(t|=0)|0,e|=0)},_emscripten_bind_btSoftBody_transform_1:function(t,e){ke(t|=0,e|=0)},_emscripten_bind_btSoftBody_translate_1:function(t,e){var i;t|=0,e|=0,i=Q,Q=Q+64|0,_[i>>2]=1065353216,_[i+4>>2]=0,_[i+4+4>>2]=0,_[i+4+8>>2]=0,_[i+4+12>>2]=0,_[i+20>>2]=1065353216,_[i+24>>2]=0,_[i+24+4>>2]=0,_[i+24+8>>2]=0,_[i+24+12>>2]=0,_[i+40>>2]=1065353216,_[i+44>>2]=0,_[i+48>>2]=_[e>>2],_[i+48+4>>2]=_[e+4>>2],_[i+48+8>>2]=_[e+8>>2],_[i+48+12>>2]=_[e+12>>2],ke(t,i),Q=i},_emscripten_bind_btSoftBody_upcast_1:function(t,e){return 0|function(t){return 0|(8==(0|vb(0|_[236+(t|=0)>>2]))?t:0)}(e|=0)},_emscripten_bind_btSoftRigidDynamicsWorld___destroy___0:Kr,_emscripten_bind_btSoftRigidDynamicsWorld_addAction_1:cs,_emscripten_bind_btSoftRigidDynamicsWorld_addCollisionObject_1:vr,_emscripten_bind_btSoftRigidDynamicsWorld_addCollisionObject_2:pr,_emscripten_bind_btSoftRigidDynamicsWorld_addCollisionObject_3:tr,_emscripten_bind_btSoftRigidDynamicsWorld_addConstraint_1:Nr,_emscripten_bind_btSoftRigidDynamicsWorld_addConstraint_2:hr,_emscripten_bind_btSoftRigidDynamicsWorld_addRigidBody_1:Yr,_emscripten_bind_btSoftRigidDynamicsWorld_addRigidBody_3:q_,_emscripten_bind_btSoftRigidDynamicsWorld_addSoftBody_3:function(t,e,i,o){e|=0,i|=0,o|=0;var r=0,s=0,p=0,c=0;if((0|(r=0|_[328+(t|=0)>>2]))==(0|_[t+332>>2])&&(0|r)<(0|(c=0|r?r<<1:1))){if(c?(_[6630]=1+(0|_[6630]),(r=0|di(16+(c<<2|3)|0))?(_[(r+4+15&-16)-4>>2]=r,r=r+4+15&-16):r=0,p=r,r=0|_[t+328>>2]):p=0,(0|r)>0){s=0;do{_[p+(s<<2)>>2]=_[(0|_[t+336>>2])+(s<<2)>>2],s=s+1|0}while((0|s)!=(0|r))}(s=0|_[t+336>>2])&&(0|n[t+340|0]&&(_[6631]=1+(0|_[6631]),Li(0|_[s+-4>>2]),r=0|_[t+328>>2]),_[t+336>>2]=0),n[t+340|0]=1,_[t+336>>2]=p,_[t+332>>2]=c}_[(0|_[t+336>>2])+(r<<2)>>2]=e,_[t+328>>2]=r+1,_[e+284>>2]=_[t+452>>2],St(t,e,i,o)},_emscripten_bind_btSoftRigidDynamicsWorld_btSoftRigidDynamicsWorld_5:function(t,e,i,o,r){var s;if(t|=0,e|=0,i|=0,o|=0,r|=0,xe(s=0|S_(460),t,e,i),_[s>>2]=4720,n[s+340|0]=1,_[s+336>>2]=0,_[s+328>>2]=0,_[s+332>>2]=0,p[s+352>>2]=1.2000000476837158,p[s+356>>2]=0,p[s+360>>2]=0,p[s+364>>2]=1e3,_[s+368>>2]=0,_[s+368+4>>2]=0,_[s+368+8>>2]=0,_[s+368+12>>2]=0,_[s+368+16>>2]=0,_[s+368+20>>2]=0,_[s+368+24>>2]=0,_[s+396>>2]=-1054867456,_[s+400>>2]=0,p[s+404>>2]=0,n[s+424|0]=1,_[s+420>>2]=0,_[s+412>>2]=0,_[s+416>>2]=0,_[s+452>>2]=r,n[s+456|0]=0,r||(_[6630]=1+(0|_[6630]),(o=0|di(59))?(_[(o+4+15&-16)-4>>2]=o,o=o+4+15&-16):o=0,p[o+12>>2]=1,_[o+8>>2]=0,_[o+4>>2]=5,_[o>>2]=3844,n[o+36|0]=1,_[o+32>>2]=0,_[o+24>>2]=0,_[o+28>>2]=0,n[o+16|0]=1,_[s+452>>2]=o,n[s+456|0]=1),_[s+344>>2]=4302,n[s+348|0]=1,n[s+349|0]=0,n[s+350|0]=0,_[s+384>>2]=e,_[s+388>>2]=t,de(s+408|0),(0|(r=0|_[s+412>>2]))<=0)return p[(e=s+428|0)>>2]=.25,_[(e=s+432|0)>>2]=0,_[(e=s+436|0)>>2]=0,_[(e=s+444|0)>>2]=1,_[(e=s+448|0)>>2]=1,p[s+352>>2]=1.2000000476837158,p[s+356>>2]=0,p[s+360>>2]=0,_[(e=s+392|0)>>2]=0,_[s+368>>2]=0,_[s+368+4>>2]=0,_[s+368+8>>2]=0,_[s+368+12>>2]=0,_[s+396>>2]=-1054867456,_[s+400>>2]=0,p[s+404>>2]=0,de(s+408|0),0|s;i=0;do{if(e=(0|_[s+420>>2])+(i<<2)|0,o=0|_[e>>2],_[e>>2]=0,0|o)do{e=o,o=0|_[o+280>>2],gb(e)}while(0|o);i=i+1|0}while((0|i)!=(0|r));return p[(e=s+428|0)>>2]=.25,_[(e=s+432|0)>>2]=0,_[(e=s+436|0)>>2]=0,_[(e=s+444|0)>>2]=1,_[(e=s+448|0)>>2]=1,p[s+352>>2]=1.2000000476837158,p[s+356>>2]=0,p[s+360>>2]=0,_[(e=s+392|0)>>2]=0,_[s+368>>2]=0,_[s+368+4>>2]=0,_[s+368+8>>2]=0,_[s+368+12>>2]=0,_[s+396>>2]=-1054867456,_[s+400>>2]=0,p[s+404>>2]=0,de(s+408|0),0|s},_emscripten_bind_btSoftRigidDynamicsWorld_contactPairTest_3:an,_emscripten_bind_btSoftRigidDynamicsWorld_contactTest_2:Qn,_emscripten_bind_btSoftRigidDynamicsWorld_convexSweepTest_5:$o,_emscripten_bind_btSoftRigidDynamicsWorld_debugDrawObject_3:or,_emscripten_bind_btSoftRigidDynamicsWorld_debugDrawWorld_0:Ts,_emscripten_bind_btSoftRigidDynamicsWorld_getBroadphase_0:Fp,_emscripten_bind_btSoftRigidDynamicsWorld_getDebugDrawer_0:Bs,_emscripten_bind_btSoftRigidDynamicsWorld_getDispatchInfo_0:Cp,_emscripten_bind_btSoftRigidDynamicsWorld_getDispatcher_0:Wp,_emscripten_bind_btSoftRigidDynamicsWorld_getGravity_0:function(t){var e;return t|=0,e=Q,Q=Q+16|0,0|n[24376]||Qs(24376),id[127&_[76+(0|_[t>>2])>>2]](e,t),_[6170]=_[e>>2],_[6171]=_[e+4>>2],_[6172]=_[e+8>>2],_[6173]=_[e+12>>2],Q=e,24680},_emscripten_bind_btSoftRigidDynamicsWorld_getPairCache_0:Ls,_emscripten_bind_btSoftRigidDynamicsWorld_getSoftBodyArray_0:function(t){return 0|function(t){return(t|=0)+324|0}(t|=0)},_emscripten_bind_btSoftRigidDynamicsWorld_getSolverInfo_0:up,_emscripten_bind_btSoftRigidDynamicsWorld_getWorldInfo_0:function(t){return 0|function(t){return(t|=0)+352|0}(t|=0)},_emscripten_bind_btSoftRigidDynamicsWorld_performDiscreteCollisionDetection_0:ws,_emscripten_bind_btSoftRigidDynamicsWorld_rayTest_3:br,_emscripten_bind_btSoftRigidDynamicsWorld_removeAction_1:os,_emscripten_bind_btSoftRigidDynamicsWorld_removeCollisionObject_1:Ur,_emscripten_bind_btSoftRigidDynamicsWorld_removeConstraint_1:Er,_emscripten_bind_btSoftRigidDynamicsWorld_removeRigidBody_1:Hr,_emscripten_bind_btSoftRigidDynamicsWorld_removeSoftBody_1:function(t,e){e|=0;var i=0,n=0,o=0,r=0,s=0;o=0|_[328+(t|=0)>>2];t:do{if((0|o)>0){for(r=0|_[t+336>>2],i=0;(0|_[(n=r+(i<<2)|0)>>2])!=(0|e);)if((0|(i=i+1|0))>=(0|o))break t;(0|i)<(0|o)&&(_[n>>2]=_[r+(o+-1<<2)>>2],_[(0|_[t+336>>2])+(o+-1<<2)>>2]=e,_[t+328>>2]=o+-1)}}while(0);if(0|(i=0|_[e+188>>2])&&(r=0|_[t+68>>2],r=0|Lb[127&_[36+(0|_[r>>2])>>2]](r),rd[127&_[40+(0|_[r>>2])>>2]](r,i,0|_[t+24>>2]),r=0|_[t+68>>2],rd[127&_[12+(0|_[r>>2])>>2]](r,i,0|_[t+24>>2]),_[e+188>>2]=0),!((0|(o=0|_[t+8>>2]))<=0)){for(r=0|_[t+16>>2],i=0;(0|_[(n=r+(i<<2)|0)>>2])!=(0|e);)if((0|(i=i+1|0))>=(0|o)){s=15;break}15!=(0|s)&&((0|i)>=(0|o)||(_[n>>2]=_[r+(o+-1<<2)>>2],_[(0|_[t+16>>2])+(o+-1<<2)>>2]=e,_[t+8>>2]=o+-1))}},_emscripten_bind_btSoftRigidDynamicsWorld_setDebugDrawer_1:ts,_emscripten_bind_btSoftRigidDynamicsWorld_setGravity_1:Jr,_emscripten_bind_btSoftRigidDynamicsWorld_stepSimulation_1:mr,_emscripten_bind_btSoftRigidDynamicsWorld_stepSimulation_2:er,_emscripten_bind_btSoftRigidDynamicsWorld_stepSimulation_3:nr,_emscripten_bind_btSoftRigidDynamicsWorld_updateSingleAabb_1:ns,_emscripten_bind_btSphereShape___destroy___0:Kr,_emscripten_bind_btSphereShape_btSphereShape_1:function(t){var e;return t=+t,e=0|function(){var t=0;return _[6630]=1+(0|_[6630]),(t=0|di(71))?(_[(t+4+15&-16)-4>>2]=t,0|(t=t+4+15&-16)):0|(t=0)}(),function(t,e){e=+e,_[8+(t|=0)>>2]=0,_[t+12>>2]=1065353216,_[t+16>>2]=1065353216,_[t+20>>2]=1065353216,p[t+24>>2]=0,p[t+44>>2]=.03999999910593033,_[t>>2]=7568,_[t+4>>2]=8,Aa(t+28|0,e),p[t+44>>2]=e}(e,t),0|e},_emscripten_bind_btSphereShape_calculateLocalInertia_2:Sr,_emscripten_bind_btSphereShape_getLocalScaling_0:Gs,_emscripten_bind_btSphereShape_getMargin_0:Us,_emscripten_bind_btSphereShape_setLocalScaling_1:ps,_emscripten_bind_btSphereShape_setMargin_1:hs,_emscripten_bind_btStaticPlaneShape___destroy___0:Kr,_emscripten_bind_btStaticPlaneShape_btStaticPlaneShape_2:function(t,e){var i,n,o,r,s;return t|=0,e=+e,i=0|function(){var t=0;return _[6630]=1+(0|_[6630]),(t=0|di(103))?(_[(t+4+15&-16)-4>>2]=t,0|(t=t+4+15&-16)):0|(t=0)}(),_[i+4>>2]=35,_[i+8>>2]=0,p[i+12>>2]=0,_[i>>2]=7944,s=+p[t>>2],r=+p[t+4>>2],o=+p[t+8>>2],t=0|_[t+12>>2],n=1/+l(+(s*s+r*r+o*o)),p[i+48>>2]=s*n,p[i+52>>2]=r*n,p[i+56>>2]=o*n,_[i+60>>2]=t,p[i+64>>2]=e,_[i+68>>2]=0,_[i+68+4>>2]=0,_[i+68+8>>2]=0,_[i+68+12>>2]=0,_[i+4>>2]=28,0|i},_emscripten_bind_btStaticPlaneShape_calculateLocalInertia_2:Sr,_emscripten_bind_btStaticPlaneShape_getLocalScaling_0:Gs,_emscripten_bind_btStaticPlaneShape_setLocalScaling_1:ps,_emscripten_bind_btStridingMeshInterface___destroy___0:Kr,_emscripten_bind_btStridingMeshInterface_setScaling_1:zs,_emscripten_bind_btTransform___destroy___0:qp,_emscripten_bind_btTransform_btTransform_0:function(){return 0|a_(64)},_emscripten_bind_btTransform_btTransform_2:function(t,e){var i;return t|=0,e|=0,To(i=0|a_(64),t,e),0|i},_emscripten_bind_btTransform_getBasis_0:function(t){return 0|vb(t|=0)},_emscripten_bind_btTransform_getOrigin_0:lc,_emscripten_bind_btTransform_getRotation_0:function(t){var e;return t|=0,e=Q,Q=Q+16|0,0|n[24368]||Qs(24368),function(t,e){Qt(e|=0,t|=0)}(e,t),_[6166]=_[e>>2],_[6167]=_[e+4>>2],_[6168]=_[e+8>>2],_[6169]=_[e+12>>2],Q=e,24664},_emscripten_bind_btTransform_inverse_0:function(t){var e;return t|=0,e=Q,Q=Q+64|0,0|n[24360]||Qs(24360),_o(e,t),Yo(24600,e),Q=e,24600},_emscripten_bind_btTransform_op_mul_1:function(t,e){return 0|Po(t|=0,e|=0)},_emscripten_bind_btTransform_setFromOpenGLMatrix_1:function(t,e){z_(t|=0,e|=0)},_emscripten_bind_btTransform_setIdentity_0:function(t){Ho(t|=0)},_emscripten_bind_btTransform_setOrigin_1:function(t,e){p_(t|=0,e|=0)},_emscripten_bind_btTransform_setRotation_1:function(t,e){Hs(t|=0,e|=0)},_emscripten_bind_btTriangleMeshShape___destroy___0:Kr,_emscripten_bind_btTriangleMeshShape_calculateLocalInertia_2:Sr,_emscripten_bind_btTriangleMeshShape_getLocalScaling_0:Gs,_emscripten_bind_btTriangleMeshShape_setLocalScaling_1:ps,_emscripten_bind_btTriangleMesh___destroy___0:Kr,_emscripten_bind_btTriangleMesh_addTriangle_3:function(t,e,i,n){var o;e|=0,i|=0,n|=0,o=0|_[32+(t|=0)>>2],_[o>>2]=1+(0|_[o>>2]),yt(t,0|je(t,e,0)),yt(t,0|je(t,i,0)),yt(t,0|je(t,n,0))},_emscripten_bind_btTriangleMesh_addTriangle_4:function(t,e,i,n,o){var r;e|=0,i|=0,n|=0,o|=0,r=0|_[32+(t|=0)>>2],_[r>>2]=1+(0|_[r>>2]),yt(t,0|je(t,e,o)),yt(t,0|je(t,i,o)),yt(t,0|je(t,n,o))},_emscripten_bind_btTriangleMesh_btTriangleMesh_0:function(){var t;return bt(t=0|w_(),1,1),0|t},_emscripten_bind_btTriangleMesh_btTriangleMesh_1:function(t){var e;return t|=0,bt(e=0|w_(),t,1),0|e},_emscripten_bind_btTriangleMesh_btTriangleMesh_2:function(t,e){var i;return t|=0,e|=0,bt(i=0|w_(),t,e),0|i},_emscripten_bind_btTriangleMesh_setScaling_1:zs,_emscripten_bind_btTypedConstraint___destroy___0:Kr,_emscripten_bind_btTypedConstraint_enableFeedback_1:Ws,_emscripten_bind_btTypedConstraint_getBreakingImpulseThreshold_0:fs,_emscripten_bind_btTypedConstraint_getParam_2:kr,_emscripten_bind_btTypedConstraint_setBreakingImpulseThreshold_1:Ds,_emscripten_bind_btTypedConstraint_setParam_3:lr,_emscripten_bind_btVector3Array___destroy___0:As,_emscripten_bind_btVector3Array_at_1:function(t,e){return e|=0,0|wa(0|_[12+(t|=0)>>2],e)},_emscripten_bind_btVector3Array_size_0:xc,_emscripten_bind_btVector3___destroy___0:sp,_emscripten_bind_btVector3_btVector3_0:La,_emscripten_bind_btVector3_btVector3_3:function(t,e,i){var n,o;return t=+t,e=+e,i=+i,o=Q,Q=Q+16|0,p[o+8>>2]=t,p[o+4>>2]=e,p[o>>2]=i,R_(n=0|Q_(),o+8|0,o+4|0,o),Q=o,0|n},_emscripten_bind_btVector3_dot_1:L_,_emscripten_bind_btVector3_length_0:us,_emscripten_bind_btVector3_normalize_0:Pc,_emscripten_bind_btVector3_op_add_1:Vp,_emscripten_bind_btVector3_op_mul_1:Y_,_emscripten_bind_btVector3_op_sub_1:Pp,_emscripten_bind_btVector3_rotate_2:function(t,e,i){var o;return t|=0,e|=0,i=+i,o=Q,Q=Q+16|0,0|n[24440]||Qs(24440),Zi(o,t,e,i),_[6242]=_[o>>2],_[6243]=_[o+4>>2],_[6244]=_[o+8>>2],_[6245]=_[o+12>>2],Q=o,24968},_emscripten_bind_btVector3_setValue_3:function(t,e,i,n){var o;t|=0,e=+e,i=+i,n=+n,o=Q,Q=Q+16|0,p[o+8>>2]=e,p[o+4>>2]=i,p[o>>2]=n,R_(t,o+8|0,o+4|0,o),Q=o},_emscripten_bind_btVector3_setX_1:cc,_emscripten_bind_btVector3_setY_1:pc,_emscripten_bind_btVector3_setZ_1:sc,_emscripten_bind_btVector3_x_0:yc,_emscripten_bind_btVector3_y_0:Ep,_emscripten_bind_btVector3_z_0:Qp,_emscripten_bind_btVector4___destroy___0:sp,_emscripten_bind_btVector4_btVector4_0:La,_emscripten_bind_btVector4_btVector4_4:function(t,e,i,n){var o,_;return t=+t,e=+e,i=+i,n=+n,_=Q,Q=Q+16|0,p[_+12>>2]=t,p[_+8>>2]=e,p[_+4>>2]=i,p[_>>2]=n,rr(o=0|Q_(),_+12|0,_+8|0,_+4|0,_),Q=_,0|o},_emscripten_bind_btVector4_dot_1:L_,_emscripten_bind_btVector4_length_0:us,_emscripten_bind_btVector4_normalize_0:Pc,_emscripten_bind_btVector4_op_add_1:Vp,_emscripten_bind_btVector4_op_mul_1:Y_,_emscripten_bind_btVector4_op_sub_1:Pp,_emscripten_bind_btVector4_rotate_2:function(t,e,i){var o;return t|=0,e|=0,i=+i,o=Q,Q=Q+16|0,0|n[24400]||Qs(24400),Zi(o,t,e,i),_[6202]=_[o>>2],_[6203]=_[o+4>>2],_[6204]=_[o+8>>2],_[6205]=_[o+12>>2],Q=o,24808},_emscripten_bind_btVector4_setValue_4:Ro,_emscripten_bind_btVector4_setX_1:cc,_emscripten_bind_btVector4_setY_1:pc,_emscripten_bind_btVector4_setZ_1:sc,_emscripten_bind_btVector4_w_0:Hp,_emscripten_bind_btVector4_x_0:yc,_emscripten_bind_btVector4_y_0:Ep,_emscripten_bind_btVector4_z_0:Qp,_emscripten_bind_btVehicleRaycasterResult___destroy___0:qp,_emscripten_bind_btVehicleRaycasterResult_get_m_distFraction_0:ha,_emscripten_bind_btVehicleRaycasterResult_get_m_hitNormalInWorld_0:ia,_emscripten_bind_btVehicleRaycasterResult_get_m_hitPointInWorld_0:vb,_emscripten_bind_btVehicleRaycasterResult_set_m_distFraction_1:vc,_emscripten_bind_btVehicleRaycasterResult_set_m_hitNormalInWorld_1:o_,_emscripten_bind_btVehicleRaycasterResult_set_m_hitPointInWorld_1:d_,_emscripten_bind_btVehicleRaycaster___destroy___0:Kr,_emscripten_bind_btVehicleRaycaster_castRay_3:_r,_emscripten_bind_btVehicleTuning_btVehicleTuning_0:function(){var t;return function(t){p[(t|=0)>>2]=5.880000114440918,p[t+4>>2]=.8299999833106995,p[t+8>>2]=.8799999952316284,p[t+12>>2]=500,p[t+16>>2]=10.5,p[t+20>>2]=6e3}(t=0|a_(24)),0|t},_emscripten_bind_btVehicleTuning_get_m_frictionSlip_0:ya,_emscripten_bind_btVehicleTuning_get_m_maxSuspensionForce_0:ma,_emscripten_bind_btVehicleTuning_get_m_maxSuspensionTravelCm_0:ga,_emscripten_bind_btVehicleTuning_get_m_suspensionCompression_0:ua,_emscripten_bind_btVehicleTuning_get_m_suspensionDamping_0:ka,_emscripten_bind_btVehicleTuning_get_m_suspensionStiffness_0:Lc,_emscripten_bind_btVehicleTuning_set_m_frictionSlip_1:Sc,_emscripten_bind_btVehicleTuning_set_m_maxSuspensionForce_1:Cc,_emscripten_bind_btVehicleTuning_set_m_maxSuspensionTravelCm_1:Ec,_emscripten_bind_btVehicleTuning_set_m_suspensionCompression_1:ea,_emscripten_bind_btVehicleTuning_set_m_suspensionDamping_1:ta,_emscripten_bind_btVehicleTuning_set_m_suspensionStiffness_1:Aa,_emscripten_bind_btWheelInfoConstructionInfo___destroy___0:qp,_emscripten_bind_btWheelInfoConstructionInfo_get_m_bIsFrontWheel_0:function(t){return 0|!!(1&n[80+(t|=0)|0])},_emscripten_bind_btWheelInfoConstructionInfo_get_m_chassisConnectionCS_0:vb,_emscripten_bind_btWheelInfoConstructionInfo_get_m_frictionSlip_0:la,_emscripten_bind_btWheelInfoConstructionInfo_get_m_maxSuspensionForce_0:Jc,_emscripten_bind_btWheelInfoConstructionInfo_get_m_maxSuspensionTravelCm_0:Kc,_emscripten_bind_btWheelInfoConstructionInfo_get_m_suspensionRestLength_0:da,_emscripten_bind_btWheelInfoConstructionInfo_get_m_suspensionStiffness_0:zc,_emscripten_bind_btWheelInfoConstructionInfo_get_m_wheelAxleCS_0:ja,_emscripten_bind_btWheelInfoConstructionInfo_get_m_wheelDirectionCS_0:ia,_emscripten_bind_btWheelInfoConstructionInfo_get_m_wheelRadius_0:qc,_emscripten_bind_btWheelInfoConstructionInfo_get_m_wheelsDampingCompression_0:Nc,_emscripten_bind_btWheelInfoConstructionInfo_get_m_wheelsDampingRelaxation_0:Qc,_emscripten_bind_btWheelInfoConstructionInfo_set_m_bIsFrontWheel_1:function(t,e){e|=0,n[80+(t|=0)|0]=1&e},_emscripten_bind_btWheelInfoConstructionInfo_set_m_chassisConnectionCS_1:d_,_emscripten_bind_btWheelInfoConstructionInfo_set_m_frictionSlip_1:Dc,_emscripten_bind_btWheelInfoConstructionInfo_set_m_maxSuspensionForce_1:tc,_emscripten_bind_btWheelInfoConstructionInfo_set_m_maxSuspensionTravelCm_1:ic,_emscripten_bind_btWheelInfoConstructionInfo_set_m_suspensionRestLength_1:hc,_emscripten_bind_btWheelInfoConstructionInfo_set_m_suspensionStiffness_1:ec,_emscripten_bind_btWheelInfoConstructionInfo_set_m_wheelAxleCS_1:t_,_emscripten_bind_btWheelInfoConstructionInfo_set_m_wheelDirectionCS_1:o_,_emscripten_bind_btWheelInfoConstructionInfo_set_m_wheelRadius_1:nc,_emscripten_bind_btWheelInfoConstructionInfo_set_m_wheelsDampingCompression_1:Xp,_emscripten_bind_btWheelInfoConstructionInfo_set_m_wheelsDampingRelaxation_1:zp,_emscripten_bind_btWheelInfo___destroy___0:qp,_emscripten_bind_btWheelInfo_btWheelInfo_1:function(t){var e;return t|=0,rn(e=0|a_(284),t),0|e},_emscripten_bind_btWheelInfo_getSuspensionRestLength_0:rc,_emscripten_bind_btWheelInfo_get_m_bIsFrontWheel_0:function(t){return 0|!!(1&n[260+(t|=0)|0])},_emscripten_bind_btWheelInfo_get_m_brake_0:function(t){return+ +p[256+(t|=0)>>2]},_emscripten_bind_btWheelInfo_get_m_chassisConnectionPointCS_0:function(t){return 156+(t|=0)|0},_emscripten_bind_btWheelInfo_get_m_clippedInvContactDotSuspension_0:function(t){return+ +p[268+(t|=0)>>2]},_emscripten_bind_btWheelInfo_get_m_deltaRotation_0:function(t){return+ +p[240+(t|=0)>>2]},_emscripten_bind_btWheelInfo_get_m_engineForce_0:function(t){return+ +p[252+(t|=0)>>2]},_emscripten_bind_btWheelInfo_get_m_frictionSlip_0:function(t){return+ +p[228+(t|=0)>>2]},_emscripten_bind_btWheelInfo_get_m_maxSuspensionForce_0:function(t){return+ +p[248+(t|=0)>>2]},_emscripten_bind_btWheelInfo_get_m_maxSuspensionTravelCm_0:function(t){return+ +p[208+(t|=0)>>2]},_emscripten_bind_btWheelInfo_get_m_raycastInfo_0:vb,_emscripten_bind_btWheelInfo_get_m_rollInfluence_0:function(t){return+ +p[244+(t|=0)>>2]},_emscripten_bind_btWheelInfo_get_m_rotation_0:function(t){return+ +p[236+(t|=0)>>2]},_emscripten_bind_btWheelInfo_get_m_skidInfo_0:function(t){return+ +p[280+(t|=0)>>2]},_emscripten_bind_btWheelInfo_get_m_steering_0:function(t){return+ +p[232+(t|=0)>>2]},_emscripten_bind_btWheelInfo_get_m_suspensionRelativeVelocity_0:function(t){return+ +p[272+(t|=0)>>2]},_emscripten_bind_btWheelInfo_get_m_suspensionRestLength1_0:rc,_emscripten_bind_btWheelInfo_get_m_suspensionStiffness_0:function(t){return+ +p[216+(t|=0)>>2]},_emscripten_bind_btWheelInfo_get_m_wheelAxleCS_0:function(t){return 188+(t|=0)|0},_emscripten_bind_btWheelInfo_get_m_wheelDirectionCS_0:function(t){return 172+(t|=0)|0},_emscripten_bind_btWheelInfo_get_m_wheelsDampingCompression_0:function(t){return+ +p[220+(t|=0)>>2]},_emscripten_bind_btWheelInfo_get_m_wheelsDampingRelaxation_0:function(t){return+ +p[224+(t|=0)>>2]},_emscripten_bind_btWheelInfo_get_m_wheelsRadius_0:function(t){return+ +p[212+(t|=0)>>2]},_emscripten_bind_btWheelInfo_get_m_wheelsSuspensionForce_0:function(t){return+ +p[276+(t|=0)>>2]},_emscripten_bind_btWheelInfo_get_m_worldTransform_0:Ga,_emscripten_bind_btWheelInfo_set_m_bIsFrontWheel_1:function(t,e){e|=0,n[260+(t|=0)|0]=1&e},_emscripten_bind_btWheelInfo_set_m_brake_1:function(t,e){e=+e,p[256+(t|=0)>>2]=e},_emscripten_bind_btWheelInfo_set_m_chassisConnectionPointCS_1:function(t,e){e|=0,_[156+(t|=0)>>2]=_[e>>2],_[t+156+4>>2]=_[e+4>>2],_[t+156+8>>2]=_[e+8>>2],_[t+156+12>>2]=_[e+12>>2]},_emscripten_bind_btWheelInfo_set_m_clippedInvContactDotSuspension_1:function(t,e){e=+e,p[268+(t|=0)>>2]=e},_emscripten_bind_btWheelInfo_set_m_deltaRotation_1:function(t,e){e=+e,p[240+(t|=0)>>2]=e},_emscripten_bind_btWheelInfo_set_m_engineForce_1:gp,_emscripten_bind_btWheelInfo_set_m_frictionSlip_1:function(t,e){e=+e,p[228+(t|=0)>>2]=e},_emscripten_bind_btWheelInfo_set_m_maxSuspensionForce_1:hp,_emscripten_bind_btWheelInfo_set_m_maxSuspensionTravelCm_1:function(t,e){e=+e,p[208+(t|=0)>>2]=e},_emscripten_bind_btWheelInfo_set_m_raycastInfo_1:function(t,e){var i;e|=0,i=92+(t|=0)|0;do{_[t>>2]=_[e>>2],t=t+4|0,e=e+4|0}while((0|t)<(0|i))},_emscripten_bind_btWheelInfo_set_m_rollInfluence_1:function(t,e){e=+e,p[244+(t|=0)>>2]=e},_emscripten_bind_btWheelInfo_set_m_rotation_1:function(t,e){e=+e,p[236+(t|=0)>>2]=e},_emscripten_bind_btWheelInfo_set_m_skidInfo_1:function(t,e){e=+e,p[280+(t|=0)>>2]=e},_emscripten_bind_btWheelInfo_set_m_steering_1:function(t,e){e=+e,p[232+(t|=0)>>2]=e},_emscripten_bind_btWheelInfo_set_m_suspensionRelativeVelocity_1:function(t,e){e=+e,p[272+(t|=0)>>2]=e},_emscripten_bind_btWheelInfo_set_m_suspensionRestLength1_1:function(t,e){e=+e,p[204+(t|=0)>>2]=e},_emscripten_bind_btWheelInfo_set_m_suspensionStiffness_1:function(t,e){e=+e,p[216+(t|=0)>>2]=e},_emscripten_bind_btWheelInfo_set_m_wheelAxleCS_1:function(t,e){e|=0,_[188+(t|=0)>>2]=_[e>>2],_[t+188+4>>2]=_[e+4>>2],_[t+188+8>>2]=_[e+8>>2],_[t+188+12>>2]=_[e+12>>2]},_emscripten_bind_btWheelInfo_set_m_wheelDirectionCS_1:function(t,e){e|=0,_[172+(t|=0)>>2]=_[e>>2],_[t+172+4>>2]=_[e+4>>2],_[t+172+8>>2]=_[e+8>>2],_[t+172+12>>2]=_[e+12>>2]},_emscripten_bind_btWheelInfo_set_m_wheelsDampingCompression_1:function(t,e){e=+e,p[220+(t|=0)>>2]=e},_emscripten_bind_btWheelInfo_set_m_wheelsDampingRelaxation_1:function(t,e){e=+e,p[224+(t|=0)>>2]=e},_emscripten_bind_btWheelInfo_set_m_wheelsRadius_1:function(t,e){e=+e,p[212+(t|=0)>>2]=e},_emscripten_bind_btWheelInfo_set_m_wheelsSuspensionForce_1:function(t,e){e=+e,p[276+(t|=0)>>2]=e},_emscripten_bind_btWheelInfo_set_m_worldTransform_1:function(t,e){Yo(92+(t|=0)|0,e|=0)},_emscripten_bind_btWheelInfo_updateWheel_2:function(t,e,i){e|=0;var o,r,s,c,a,b,d,l,A=0,f=0;return 0|n[84+(t|=0)|0]?(f=+p[t>>2],o=+p[t+4>>2],r=+p[t+8>>2],s=f*+p[t+52>>2]+o*+p[t+56>>2]+r*+p[t+60>>2],c=+p[t+16>>2]-+p[e+52>>2],a=+p[t+20>>2]-+p[e+56>>2],b=+p[t+24>>2]-+p[e+60>>2],d=+p[e+332>>2],l=+p[e+336>>2],A=+p[e+328>>2],s>=-.10000000149011612?(p[t+272>>2]=0,f=10,void(p[(e=t+268|0)>>2]=f)):(p[t+272>>2]=-1/s*(f*(d*b-a*l+ +p[e+312>>2])+o*(c*l-b*A+ +p[e+316>>2])+r*(a*A-c*d+ +p[e+320>>2])),f=-1/s,void(p[(e=t+268|0)>>2]=f))):(_[t+32>>2]=_[t+204>>2],p[t+272>>2]=0,A=-+p[t+56>>2],f=-+p[t+60>>2],p[t>>2]=-+p[t+52>>2],p[t+4>>2]=A,p[t+8>>2]=f,p[t+12>>2]=0,f=1,void(p[(e=t+268|0)>>2]=f))},_emscripten_bind_tAnchorArray___destroy___0:As,_emscripten_bind_tAnchorArray_at_1:function(t,e){return t|=0,e|=0,0|n[24384]||Qs(24384),function(t){t|=0,_[6174]=_[t>>2],_[6175]=_[t+4>>2],_[6176]=_[t+8>>2],_[6177]=_[t+12>>2],_[6178]=_[t+16>>2],_[6179]=_[t+20>>2],_[6180]=_[t+24>>2],Mn(24724,t+28|0),_[6193]=_[t+76>>2],_[6194]=_[t+76+4>>2],_[6195]=_[t+76+8>>2],_[6196]=_[t+76+12>>2],_[6197]=_[t+76+16>>2]}(0|function(t,e){return(t|=0)+(96*(e|=0)|0)|0}(0|_[t+12>>2],e)),24696},_emscripten_bind_tAnchorArray_clear_0:Rc,_emscripten_bind_tAnchorArray_pop_back_0:function(t){!function(t){_[4+(t|=0)>>2]=(0|_[t+4>>2])-1}(t|=0)},_emscripten_bind_tAnchorArray_push_back_1:function(t,e){Un(t|=0,e|=0)},_emscripten_bind_tAnchorArray_size_0:xc,_emscripten_bind_tMaterialArray___destroy___0:As,_emscripten_bind_tMaterialArray_at_1:zr,_emscripten_bind_tMaterialArray_size_0:xc,_emscripten_bind_tNodeArray___destroy___0:As,_emscripten_bind_tNodeArray_at_1:function(t,e){return e|=0,0|function(t,e){return(t|=0)+(104*(e|=0)|0)|0}(0|_[12+(t|=0)>>2],e)},_emscripten_bind_tNodeArray_size_0:xc,_emscripten_enum_PHY_ScalarType_PHY_DOUBLE:kb,_emscripten_enum_PHY_ScalarType_PHY_FIXEDPOINT88:nb,_emscripten_enum_PHY_ScalarType_PHY_FLOAT:function(){return 0},_emscripten_enum_PHY_ScalarType_PHY_INTEGER:cb,_emscripten_enum_PHY_ScalarType_PHY_SHORT:bb,_emscripten_enum_PHY_ScalarType_PHY_UCHAR:function(){return 5},_emscripten_enum_btConstraintParams_BT_CONSTRAINT_CFM:bb,_emscripten_enum_btConstraintParams_BT_CONSTRAINT_ERP:kb,_emscripten_enum_btConstraintParams_BT_CONSTRAINT_STOP_CFM:nb,_emscripten_enum_btConstraintParams_BT_CONSTRAINT_STOP_ERP:cb,_emscripten_replace_memory:function(t){return n=new Int8Array(t),r=new Uint8Array(t),o=new Int16Array(t),s=new Uint16Array(t),_=new Int32Array(t),p=new Float32Array(t),c=new Float64Array(t),i=t,!0},_free:Li,_i64Add:Or,_i64Subtract:Ir,_llvm_bswap_i16:Va,_llvm_bswap_i32:Ap,_malloc:di,_memcpy:_e,_memmove:Do,_memset:wn,_sbrk:yo,dynCall_di:function(t,e){return e|=0,+Bb[15&(t|=0)](0|e)},dynCall_did:function(t,e,i){return e|=0,i=+i,+Wb[1&(t|=0)](0|e,+i)},dynCall_diidii:function(t,e,i,n,o,_){return e|=0,i|=0,n=+n,o|=0,_|=0,+Fb[3&(t|=0)](0|e,0|i,+n,0|o,0|_)},dynCall_diii:function(t,e,i,n){return e|=0,i|=0,n|=0,+Ob[15&(t|=0)](0|e,0|i,0|n)},dynCall_diiidii:function(t,e,i,n,o,_,r){return e|=0,i|=0,n|=0,o=+o,_|=0,r|=0,+xb[3&(t|=0)](0|e,0|i,0|n,+o,0|_,0|r)},dynCall_diiii:function(t,e,i,n,o){return e|=0,i|=0,n|=0,o|=0,+Tb[1&(t|=0)](0|e,0|i,0|n,0|o)},dynCall_diiiii:function(t,e,i,n,o,_){return e|=0,i|=0,n|=0,o|=0,_|=0,+Pb[15&(t|=0)](0|e,0|i,0|n,0|o,0|_)},dynCall_diiiiiiii:function(t,e,i,n,o,_,r,s,p){return e|=0,i|=0,n|=0,o|=0,_|=0,r|=0,s|=0,p|=0,+Vb[1&(t|=0)](0|e,0|i,0|n,0|o,0|_,0|r,0|s,0|p)},dynCall_diiiiiiiii:function(t,e,i,n,o,_,r,s,p,c){return e|=0,i|=0,n|=0,o|=0,_|=0,r|=0,s|=0,p|=0,c|=0,+Mb[3&(t|=0)](0|e,0|i,0|n,0|o,0|_,0|r,0|s,0|p,0|c)},dynCall_diiiiiiiiii:function(t,e,i,n,o,_,r,s,p,c,a){return e|=0,i|=0,n|=0,o|=0,_|=0,r|=0,s|=0,p|=0,c|=0,a|=0,+Gb[3&(t|=0)](0|e,0|i,0|n,0|o,0|_,0|r,0|s,0|p,0|c,0|a)},dynCall_ii:function(t,e){return e|=0,0|Lb[127&(t|=0)](0|e)},dynCall_iidid:function(t,e,i,n,o){return e|=0,i=+i,n|=0,o=+o,0|Nb[1&(t|=0)](0|e,+i,0|n,+o)},dynCall_iii:function(t,e,i){return e|=0,i|=0,0|Qb[31&(t|=0)](0|e,0|i)},dynCall_iiid:function(t,e,i,n){return e|=0,i|=0,n=+n,0|Eb[7&(t|=0)](0|e,0|i,+n)},dynCall_iiii:function(t,e,i,n){return e|=0,i|=0,n|=0,0|Hb[63&(t|=0)](0|e,0|i,0|n)},dynCall_iiiii:function(t,e,i,n,o){return e|=0,i|=0,n|=0,o|=0,0|Zb[31&(t|=0)](0|e,0|i,0|n,0|o)},dynCall_iiiiiii:function(t,e,i,n,o,_,r){return e|=0,i|=0,n|=0,o|=0,_|=0,r|=0,0|Ub[3&(t|=0)](0|e,0|i,0|n,0|o,0|_,0|r)},dynCall_iiiiiiiiii:function(t,e,i,n,o,_,r,s,p,c){return e|=0,i|=0,n|=0,o|=0,_|=0,r|=0,s|=0,p|=0,c|=0,0|Yb[3&(t|=0)](0|e,0|i,0|n,0|o,0|_,0|r,0|s,0|p,0|c)},dynCall_iiiiiiiiiii:function(t,e,i,n,o,_,r,s,p,c,a){return e|=0,i|=0,n|=0,o|=0,_|=0,r|=0,s|=0,p|=0,c|=0,a|=0,0|Jb[3&(t|=0)](0|e,0|i,0|n,0|o,0|_,0|r,0|s,0|p,0|c,0|a)},dynCall_v:function(t){Xb[1&(t|=0)]()},dynCall_vi:function(t,e){e|=0,zb[511&(t|=0)](0|e)},dynCall_vid:function(t,e,i){e|=0,i=+i,Kb[31&(t|=0)](0|e,+i)},dynCall_vidd:function(t,e,i,n){e|=0,i=+i,n=+n,qb[7&(t|=0)](0|e,+i,+n)},dynCall_viddiii:function(t,e,i,n,o,_,r){e|=0,i=+i,n=+n,o|=0,_|=0,r|=0,$b[3&(t|=0)](0|e,+i,+n,0|o,0|_,0|r)},dynCall_vidi:function(t,e,i,n){e|=0,i=+i,n|=0,td[15&(t|=0)](0|e,+i,0|n)},dynCall_vidii:function(t,e,i,n,o){e|=0,i=+i,n|=0,o|=0,ed[1&(t|=0)](0|e,+i,0|n,0|o)},dynCall_vii:function(t,e,i){e|=0,i|=0,id[127&(t|=0)](0|e,0|i)},dynCall_viid:function(t,e,i,n){e|=0,i|=0,n=+n,nd[7&(t|=0)](0|e,0|i,+n)},dynCall_viidi:function(t,e,i,n,o){e|=0,i|=0,n=+n,o|=0,od[7&(t|=0)](0|e,0|i,+n,0|o)},dynCall_viidii:function(t,e,i,n,o,_){e|=0,i|=0,n=+n,o|=0,_|=0,_d[1&(t|=0)](0|e,0|i,+n,0|o,0|_)},dynCall_viii:function(t,e,i,n){e|=0,i|=0,n|=0,rd[127&(t|=0)](0|e,0|i,0|n)},dynCall_viiid:function(t,e,i,n,o){e|=0,i|=0,n|=0,o=+o,sd[15&(t|=0)](0|e,0|i,0|n,+o)},dynCall_viiidii:function(t,e,i,n,o,_,r){e|=0,i|=0,n|=0,o=+o,_|=0,r|=0,pd[1&(t|=0)](0|e,0|i,0|n,+o,0|_,0|r)},dynCall_viiii:function(t,e,i,n,o){e|=0,i|=0,n|=0,o|=0,cd[127&(t|=0)](0|e,0|i,0|n,0|o)},dynCall_viiiid:function(t,e,i,n,o,_){e|=0,i|=0,n|=0,o|=0,_=+_,ad[1&(t|=0)](0|e,0|i,0|n,0|o,+_)},dynCall_viiiidddddidi:function(t,e,i,n,o,_,r,s,p,c,a,b,d){e|=0,i|=0,n|=0,o|=0,_=+_,r=+r,s=+s,p=+p,c=+c,a|=0,b=+b,d|=0,bd[1&(t|=0)](0|e,0|i,0|n,0|o,+_,+r,+s,+p,+c,0|a,+b,0|d)},dynCall_viiiiddddiid:function(t,e,i,n,o,_,r,s,p,c,a,b){e|=0,i|=0,n|=0,o|=0,_=+_,r=+r,s=+s,p=+p,c|=0,a|=0,b=+b,dd[1&(t|=0)](0|e,0|i,0|n,0|o,+_,+r,+s,+p,0|c,0|a,+b)},dynCall_viiiii:function(t,e,i,n,o,_){e|=0,i|=0,n|=0,o|=0,_|=0,ld[31&(t|=0)](0|e,0|i,0|n,0|o,0|_)},dynCall_viiiiid:function(t,e,i,n,o,_,r){e|=0,i|=0,n|=0,o|=0,_|=0,r=+r,Ad[1&(t|=0)](0|e,0|i,0|n,0|o,0|_,+r)},dynCall_viiiiii:function(t,e,i,n,o,_,r){e|=0,i|=0,n|=0,o|=0,_|=0,r|=0,fd[7&(t|=0)](0|e,0|i,0|n,0|o,0|_,0|r)},dynCall_viiiiiii:function(t,e,i,n,o,_,r,s){e|=0,i|=0,n|=0,o|=0,_|=0,r|=0,s|=0,ud[1&(t|=0)](0|e,0|i,0|n,0|o,0|_,0|r,0|s)},dynCall_viiiiiiiid:function(t,e,i,n,o,_,r,s,p,c){e|=0,i|=0,n|=0,o|=0,_|=0,r|=0,s|=0,p|=0,c=+c,md[1&(t|=0)](0|e,0|i,0|n,0|o,0|_,0|r,0|s,0|p,+c)},dynCall_viiiiiiiii:function(t,e,i,n,o,_,r,s,p,c){e|=0,i|=0,n|=0,o|=0,_|=0,r|=0,s|=0,p|=0,c|=0,hd[1&(t|=0)](0|e,0|i,0|n,0|o,0|_,0|r,0|s,0|p,0|c)},dynCall_viiiiiiiiii:function(t,e,i,n,o,_,r,s,p,c,a){e|=0,i|=0,n|=0,o|=0,_|=0,r|=0,s|=0,p|=0,c|=0,a|=0,yd[3&(t|=0)](0|e,0|i,0|n,0|o,0|_,0|r,0|s,0|p,0|c,0|a)},establishStackSpace:function(t,e){Q=t|=0},stackAlloc:function(t){var e;return e=Q,Q=15+(Q=Q+(t|=0)|0)&-16,0|e},stackRestore:function(t){Q=t|=0},stackSave:function(){return 0|Q}}}(rt,st,h),ct=s.__GLOBAL__sub_I_btQuickprof_cpp=pt.__GLOBAL__sub_I_btQuickprof_cpp,at=(s.___cxa_can_catch=pt.___cxa_can_catch,s.___cxa_is_pointer_type=pt.___cxa_is_pointer_type,s.___muldi3=pt.___muldi3,s.___udivdi3=pt.___udivdi3,s._bitshift64Lshr=pt._bitshift64Lshr,s._bitshift64Shl=pt._bitshift64Shl,s._emscripten_bind_Anchor___destroy___0=pt._emscripten_bind_Anchor___destroy___0),bt=s._emscripten_bind_Anchor_get_m_body_0=pt._emscripten_bind_Anchor_get_m_body_0,dt=s._emscripten_bind_Anchor_get_m_c0_0=pt._emscripten_bind_Anchor_get_m_c0_0,lt=s._emscripten_bind_Anchor_get_m_c1_0=pt._emscripten_bind_Anchor_get_m_c1_0,At=s._emscripten_bind_Anchor_get_m_c2_0=pt._emscripten_bind_Anchor_get_m_c2_0,ft=s._emscripten_bind_Anchor_get_m_influence_0=pt._emscripten_bind_Anchor_get_m_influence_0,ut=s._emscripten_bind_Anchor_get_m_local_0=pt._emscripten_bind_Anchor_get_m_local_0,mt=s._emscripten_bind_Anchor_get_m_node_0=pt._emscripten_bind_Anchor_get_m_node_0,ht=s._emscripten_bind_Anchor_set_m_body_1=pt._emscripten_bind_Anchor_set_m_body_1,yt=s._emscripten_bind_Anchor_set_m_c0_1=pt._emscripten_bind_Anchor_set_m_c0_1,gt=s._emscripten_bind_Anchor_set_m_c1_1=pt._emscripten_bind_Anchor_set_m_c1_1,Ct=s._emscripten_bind_Anchor_set_m_c2_1=pt._emscripten_bind_Anchor_set_m_c2_1,vt=s._emscripten_bind_Anchor_set_m_influence_1=pt._emscripten_bind_Anchor_set_m_influence_1,St=s._emscripten_bind_Anchor_set_m_local_1=pt._emscripten_bind_Anchor_set_m_local_1,wt=s._emscripten_bind_Anchor_set_m_node_1=pt._emscripten_bind_Anchor_set_m_node_1,kt=s._emscripten_bind_ClosestConvexResultCallback_ClosestConvexResultCallback_2=pt._emscripten_bind_ClosestConvexResultCallback_ClosestConvexResultCallback_2,Rt=s._emscripten_bind_ClosestConvexResultCallback___destroy___0=pt._emscripten_bind_ClosestConvexResultCallback___destroy___0,jt=s._emscripten_bind_ClosestConvexResultCallback_get_m_closestHitFraction_0=pt._emscripten_bind_ClosestConvexResultCallback_get_m_closestHitFraction_0,Dt=s._emscripten_bind_ClosestConvexResultCallback_get_m_collisionFilterGroup_0=pt._emscripten_bind_ClosestConvexResultCallback_get_m_collisionFilterGroup_0,It=s._emscripten_bind_ClosestConvexResultCallback_get_m_collisionFilterMask_0=pt._emscripten_bind_ClosestConvexResultCallback_get_m_collisionFilterMask_0,Bt=s._emscripten_bind_ClosestConvexResultCallback_get_m_convexFromWorld_0=pt._emscripten_bind_ClosestConvexResultCallback_get_m_convexFromWorld_0,Wt=s._emscripten_bind_ClosestConvexResultCallback_get_m_convexToWorld_0=pt._emscripten_bind_ClosestConvexResultCallback_get_m_convexToWorld_0,Ft=s._emscripten_bind_ClosestConvexResultCallback_get_m_hitNormalWorld_0=pt._emscripten_bind_ClosestConvexResultCallback_get_m_hitNormalWorld_0,Ot=s._emscripten_bind_ClosestConvexResultCallback_get_m_hitPointWorld_0=pt._emscripten_bind_ClosestConvexResultCallback_get_m_hitPointWorld_0,xt=s._emscripten_bind_ClosestConvexResultCallback_hasHit_0=pt._emscripten_bind_ClosestConvexResultCallback_hasHit_0,Tt=s._emscripten_bind_ClosestConvexResultCallback_set_m_closestHitFraction_1=pt._emscripten_bind_ClosestConvexResultCallback_set_m_closestHitFraction_1,Pt=s._emscripten_bind_ClosestConvexResultCallback_set_m_collisionFilterGroup_1=pt._emscripten_bind_ClosestConvexResultCallback_set_m_collisionFilterGroup_1,Vt=s._emscripten_bind_ClosestConvexResultCallback_set_m_collisionFilterMask_1=pt._emscripten_bind_ClosestConvexResultCallback_set_m_collisionFilterMask_1,Mt=s._emscripten_bind_ClosestConvexResultCallback_set_m_convexFromWorld_1=pt._emscripten_bind_ClosestConvexResultCallback_set_m_convexFromWorld_1,Gt=s._emscripten_bind_ClosestConvexResultCallback_set_m_convexToWorld_1=pt._emscripten_bind_ClosestConvexResultCallback_set_m_convexToWorld_1,Lt=s._emscripten_bind_ClosestConvexResultCallback_set_m_hitNormalWorld_1=pt._emscripten_bind_ClosestConvexResultCallback_set_m_hitNormalWorld_1,Nt=s._emscripten_bind_ClosestConvexResultCallback_set_m_hitPointWorld_1=pt._emscripten_bind_ClosestConvexResultCallback_set_m_hitPointWorld_1,Qt=s._emscripten_bind_ClosestRayResultCallback_ClosestRayResultCallback_2=pt._emscripten_bind_ClosestRayResultCallback_ClosestRayResultCallback_2,Et=s._emscripten_bind_ClosestRayResultCallback___destroy___0=pt._emscripten_bind_ClosestRayResultCallback___destroy___0,Ht=s._emscripten_bind_ClosestRayResultCallback_get_m_closestHitFraction_0=pt._emscripten_bind_ClosestRayResultCallback_get_m_closestHitFraction_0,Zt=s._emscripten_bind_ClosestRayResultCallback_get_m_collisionFilterGroup_0=pt._emscripten_bind_ClosestRayResultCallback_get_m_collisionFilterGroup_0,Ut=s._emscripten_bind_ClosestRayResultCallback_get_m_collisionFilterMask_0=pt._emscripten_bind_ClosestRayResultCallback_get_m_collisionFilterMask_0,Yt=s._emscripten_bind_ClosestRayResultCallback_get_m_collisionObject_0=pt._emscripten_bind_ClosestRayResultCallback_get_m_collisionObject_0,Jt=s._emscripten_bind_ClosestRayResultCallback_get_m_hitNormalWorld_0=pt._emscripten_bind_ClosestRayResultCallback_get_m_hitNormalWorld_0,Xt=s._emscripten_bind_ClosestRayResultCallback_get_m_hitPointWorld_0=pt._emscripten_bind_ClosestRayResultCallback_get_m_hitPointWorld_0,zt=s._emscripten_bind_ClosestRayResultCallback_get_m_rayFromWorld_0=pt._emscripten_bind_ClosestRayResultCallback_get_m_rayFromWorld_0,Kt=s._emscripten_bind_ClosestRayResultCallback_get_m_rayToWorld_0=pt._emscripten_bind_ClosestRayResultCallback_get_m_rayToWorld_0,qt=s._emscripten_bind_ClosestRayResultCallback_hasHit_0=pt._emscripten_bind_ClosestRayResultCallback_hasHit_0,$t=s._emscripten_bind_ClosestRayResultCallback_set_m_closestHitFraction_1=pt._emscripten_bind_ClosestRayResultCallback_set_m_closestHitFraction_1,te=s._emscripten_bind_ClosestRayResultCallback_set_m_collisionFilterGroup_1=pt._emscripten_bind_ClosestRayResultCallback_set_m_collisionFilterGroup_1,ee=s._emscripten_bind_ClosestRayResultCallback_set_m_collisionFilterMask_1=pt._emscripten_bind_ClosestRayResultCallback_set_m_collisionFilterMask_1,ie=s._emscripten_bind_ClosestRayResultCallback_set_m_collisionObject_1=pt._emscripten_bind_ClosestRayResultCallback_set_m_collisionObject_1,ne=s._emscripten_bind_ClosestRayResultCallback_set_m_hitNormalWorld_1=pt._emscripten_bind_ClosestRayResultCallback_set_m_hitNormalWorld_1,oe=s._emscripten_bind_ClosestRayResultCallback_set_m_hitPointWorld_1=pt._emscripten_bind_ClosestRayResultCallback_set_m_hitPointWorld_1,_e=s._emscripten_bind_ClosestRayResultCallback_set_m_rayFromWorld_1=pt._emscripten_bind_ClosestRayResultCallback_set_m_rayFromWorld_1,re=s._emscripten_bind_ClosestRayResultCallback_set_m_rayToWorld_1=pt._emscripten_bind_ClosestRayResultCallback_set_m_rayToWorld_1,se=s._emscripten_bind_ConcreteContactResultCallback_ConcreteContactResultCallback_0=pt._emscripten_bind_ConcreteContactResultCallback_ConcreteContactResultCallback_0,pe=s._emscripten_bind_ConcreteContactResultCallback___destroy___0=pt._emscripten_bind_ConcreteContactResultCallback___destroy___0,ce=s._emscripten_bind_ConcreteContactResultCallback_addSingleResult_7=pt._emscripten_bind_ConcreteContactResultCallback_addSingleResult_7,ae=s._emscripten_bind_Config___destroy___0=pt._emscripten_bind_Config___destroy___0,be=s._emscripten_bind_Config_get_citerations_0=pt._emscripten_bind_Config_get_citerations_0,de=s._emscripten_bind_Config_get_collisions_0=pt._emscripten_bind_Config_get_collisions_0,le=s._emscripten_bind_Config_get_diterations_0=pt._emscripten_bind_Config_get_diterations_0,Ae=s._emscripten_bind_Config_get_kAHR_0=pt._emscripten_bind_Config_get_kAHR_0,fe=s._emscripten_bind_Config_get_kCHR_0=pt._emscripten_bind_Config_get_kCHR_0,ue=s._emscripten_bind_Config_get_kDF_0=pt._emscripten_bind_Config_get_kDF_0,me=s._emscripten_bind_Config_get_kDG_0=pt._emscripten_bind_Config_get_kDG_0,he=s._emscripten_bind_Config_get_kDP_0=pt._emscripten_bind_Config_get_kDP_0,ye=s._emscripten_bind_Config_get_kKHR_0=pt._emscripten_bind_Config_get_kKHR_0,ge=s._emscripten_bind_Config_get_kLF_0=pt._emscripten_bind_Config_get_kLF_0,Ce=s._emscripten_bind_Config_get_kMT_0=pt._emscripten_bind_Config_get_kMT_0,ve=s._emscripten_bind_Config_get_kPR_0=pt._emscripten_bind_Config_get_kPR_0,Se=s._emscripten_bind_Config_get_kSHR_0=pt._emscripten_bind_Config_get_kSHR_0,we=s._emscripten_bind_Config_get_kSKHR_CL_0=pt._emscripten_bind_Config_get_kSKHR_CL_0,ke=s._emscripten_bind_Config_get_kSK_SPLT_CL_0=pt._emscripten_bind_Config_get_kSK_SPLT_CL_0,Re=s._emscripten_bind_Config_get_kSRHR_CL_0=pt._emscripten_bind_Config_get_kSRHR_CL_0,je=s._emscripten_bind_Config_get_kSR_SPLT_CL_0=pt._emscripten_bind_Config_get_kSR_SPLT_CL_0,De=s._emscripten_bind_Config_get_kSSHR_CL_0=pt._emscripten_bind_Config_get_kSSHR_CL_0,Ie=s._emscripten_bind_Config_get_kSS_SPLT_CL_0=pt._emscripten_bind_Config_get_kSS_SPLT_CL_0,Be=s._emscripten_bind_Config_get_kVCF_0=pt._emscripten_bind_Config_get_kVCF_0,We=s._emscripten_bind_Config_get_kVC_0=pt._emscripten_bind_Config_get_kVC_0,Fe=s._emscripten_bind_Config_get_maxvolume_0=pt._emscripten_bind_Config_get_maxvolume_0,Oe=s._emscripten_bind_Config_get_piterations_0=pt._emscripten_bind_Config_get_piterations_0,xe=s._emscripten_bind_Config_get_timescale_0=pt._emscripten_bind_Config_get_timescale_0,Te=s._emscripten_bind_Config_get_viterations_0=pt._emscripten_bind_Config_get_viterations_0,Pe=s._emscripten_bind_Config_set_citerations_1=pt._emscripten_bind_Config_set_citerations_1,Ve=s._emscripten_bind_Config_set_collisions_1=pt._emscripten_bind_Config_set_collisions_1,Me=s._emscripten_bind_Config_set_diterations_1=pt._emscripten_bind_Config_set_diterations_1,Ge=s._emscripten_bind_Config_set_kAHR_1=pt._emscripten_bind_Config_set_kAHR_1,Le=s._emscripten_bind_Config_set_kCHR_1=pt._emscripten_bind_Config_set_kCHR_1,Ne=s._emscripten_bind_Config_set_kDF_1=pt._emscripten_bind_Config_set_kDF_1,Qe=s._emscripten_bind_Config_set_kDG_1=pt._emscripten_bind_Config_set_kDG_1,Ee=s._emscripten_bind_Config_set_kDP_1=pt._emscripten_bind_Config_set_kDP_1,He=s._emscripten_bind_Config_set_kKHR_1=pt._emscripten_bind_Config_set_kKHR_1,Ze=s._emscripten_bind_Config_set_kLF_1=pt._emscripten_bind_Config_set_kLF_1,Ue=s._emscripten_bind_Config_set_kMT_1=pt._emscripten_bind_Config_set_kMT_1,Ye=s._emscripten_bind_Config_set_kPR_1=pt._emscripten_bind_Config_set_kPR_1,Je=s._emscripten_bind_Config_set_kSHR_1=pt._emscripten_bind_Config_set_kSHR_1,Xe=s._emscripten_bind_Config_set_kSKHR_CL_1=pt._emscripten_bind_Config_set_kSKHR_CL_1,ze=s._emscripten_bind_Config_set_kSK_SPLT_CL_1=pt._emscripten_bind_Config_set_kSK_SPLT_CL_1,Ke=s._emscripten_bind_Config_set_kSRHR_CL_1=pt._emscripten_bind_Config_set_kSRHR_CL_1,qe=s._emscripten_bind_Config_set_kSR_SPLT_CL_1=pt._emscripten_bind_Config_set_kSR_SPLT_CL_1,$e=s._emscripten_bind_Config_set_kSSHR_CL_1=pt._emscripten_bind_Config_set_kSSHR_CL_1,ti=s._emscripten_bind_Config_set_kSS_SPLT_CL_1=pt._emscripten_bind_Config_set_kSS_SPLT_CL_1,ei=s._emscripten_bind_Config_set_kVCF_1=pt._emscripten_bind_Config_set_kVCF_1,ii=s._emscripten_bind_Config_set_kVC_1=pt._emscripten_bind_Config_set_kVC_1,ni=s._emscripten_bind_Config_set_maxvolume_1=pt._emscripten_bind_Config_set_maxvolume_1,oi=s._emscripten_bind_Config_set_piterations_1=pt._emscripten_bind_Config_set_piterations_1,_i=s._emscripten_bind_Config_set_timescale_1=pt._emscripten_bind_Config_set_timescale_1,ri=s._emscripten_bind_Config_set_viterations_1=pt._emscripten_bind_Config_set_viterations_1,si=s._emscripten_bind_ContactResultCallback___destroy___0=pt._emscripten_bind_ContactResultCallback___destroy___0,pi=s._emscripten_bind_ContactResultCallback_addSingleResult_7=pt._emscripten_bind_ContactResultCallback_addSingleResult_7,ci=s._emscripten_bind_ConvexResultCallback___destroy___0=pt._emscripten_bind_ConvexResultCallback___destroy___0,ai=s._emscripten_bind_ConvexResultCallback_get_m_closestHitFraction_0=pt._emscripten_bind_ConvexResultCallback_get_m_closestHitFraction_0,bi=s._emscripten_bind_ConvexResultCallback_get_m_collisionFilterGroup_0=pt._emscripten_bind_ConvexResultCallback_get_m_collisionFilterGroup_0,di=s._emscripten_bind_ConvexResultCallback_get_m_collisionFilterMask_0=pt._emscripten_bind_ConvexResultCallback_get_m_collisionFilterMask_0,li=s._emscripten_bind_ConvexResultCallback_hasHit_0=pt._emscripten_bind_ConvexResultCallback_hasHit_0,Ai=s._emscripten_bind_ConvexResultCallback_set_m_closestHitFraction_1=pt._emscripten_bind_ConvexResultCallback_set_m_closestHitFraction_1,fi=s._emscripten_bind_ConvexResultCallback_set_m_collisionFilterGroup_1=pt._emscripten_bind_ConvexResultCallback_set_m_collisionFilterGroup_1,ui=s._emscripten_bind_ConvexResultCallback_set_m_collisionFilterMask_1=pt._emscripten_bind_ConvexResultCallback_set_m_collisionFilterMask_1,mi=s._emscripten_bind_DebugDrawer_DebugDrawer_0=pt._emscripten_bind_DebugDrawer_DebugDrawer_0,hi=s._emscripten_bind_DebugDrawer___destroy___0=pt._emscripten_bind_DebugDrawer___destroy___0,yi=s._emscripten_bind_DebugDrawer_draw3dText_2=pt._emscripten_bind_DebugDrawer_draw3dText_2,gi=s._emscripten_bind_DebugDrawer_drawContactPoint_5=pt._emscripten_bind_DebugDrawer_drawContactPoint_5,Ci=s._emscripten_bind_DebugDrawer_drawLine_3=pt._emscripten_bind_DebugDrawer_drawLine_3,vi=s._emscripten_bind_DebugDrawer_getDebugMode_0=pt._emscripten_bind_DebugDrawer_getDebugMode_0,Si=s._emscripten_bind_DebugDrawer_reportErrorWarning_1=pt._emscripten_bind_DebugDrawer_reportErrorWarning_1,wi=s._emscripten_bind_DebugDrawer_setDebugMode_1=pt._emscripten_bind_DebugDrawer_setDebugMode_1,ki=s._emscripten_bind_LocalConvexResult_LocalConvexResult_5=pt._emscripten_bind_LocalConvexResult_LocalConvexResult_5,Ri=s._emscripten_bind_LocalConvexResult___destroy___0=pt._emscripten_bind_LocalConvexResult___destroy___0,ji=s._emscripten_bind_LocalConvexResult_get_m_hitCollisionObject_0=pt._emscripten_bind_LocalConvexResult_get_m_hitCollisionObject_0,Di=s._emscripten_bind_LocalConvexResult_get_m_hitFraction_0=pt._emscripten_bind_LocalConvexResult_get_m_hitFraction_0,Ii=s._emscripten_bind_LocalConvexResult_get_m_hitNormalLocal_0=pt._emscripten_bind_LocalConvexResult_get_m_hitNormalLocal_0,Bi=s._emscripten_bind_LocalConvexResult_get_m_hitPointLocal_0=pt._emscripten_bind_LocalConvexResult_get_m_hitPointLocal_0,Wi=s._emscripten_bind_LocalConvexResult_get_m_localShapeInfo_0=pt._emscripten_bind_LocalConvexResult_get_m_localShapeInfo_0,Fi=s._emscripten_bind_LocalConvexResult_set_m_hitCollisionObject_1=pt._emscripten_bind_LocalConvexResult_set_m_hitCollisionObject_1,Oi=s._emscripten_bind_LocalConvexResult_set_m_hitFraction_1=pt._emscripten_bind_LocalConvexResult_set_m_hitFraction_1,xi=s._emscripten_bind_LocalConvexResult_set_m_hitNormalLocal_1=pt._emscripten_bind_LocalConvexResult_set_m_hitNormalLocal_1,Ti=s._emscripten_bind_LocalConvexResult_set_m_hitPointLocal_1=pt._emscripten_bind_LocalConvexResult_set_m_hitPointLocal_1,Pi=s._emscripten_bind_LocalConvexResult_set_m_localShapeInfo_1=pt._emscripten_bind_LocalConvexResult_set_m_localShapeInfo_1,Vi=s._emscripten_bind_LocalShapeInfo___destroy___0=pt._emscripten_bind_LocalShapeInfo___destroy___0,Mi=s._emscripten_bind_LocalShapeInfo_get_m_shapePart_0=pt._emscripten_bind_LocalShapeInfo_get_m_shapePart_0,Gi=s._emscripten_bind_LocalShapeInfo_get_m_triangleIndex_0=pt._emscripten_bind_LocalShapeInfo_get_m_triangleIndex_0,Li=s._emscripten_bind_LocalShapeInfo_set_m_shapePart_1=pt._emscripten_bind_LocalShapeInfo_set_m_shapePart_1,Ni=s._emscripten_bind_LocalShapeInfo_set_m_triangleIndex_1=pt._emscripten_bind_LocalShapeInfo_set_m_triangleIndex_1,Qi=s._emscripten_bind_Material___destroy___0=pt._emscripten_bind_Material___destroy___0,Ei=s._emscripten_bind_Material_get_m_flags_0=pt._emscripten_bind_Material_get_m_flags_0,Hi=s._emscripten_bind_Material_get_m_kAST_0=pt._emscripten_bind_Material_get_m_kAST_0,Zi=s._emscripten_bind_Material_get_m_kLST_0=pt._emscripten_bind_Material_get_m_kLST_0,Ui=s._emscripten_bind_Material_get_m_kVST_0=pt._emscripten_bind_Material_get_m_kVST_0,Yi=s._emscripten_bind_Material_set_m_flags_1=pt._emscripten_bind_Material_set_m_flags_1,Ji=s._emscripten_bind_Material_set_m_kAST_1=pt._emscripten_bind_Material_set_m_kAST_1,Xi=s._emscripten_bind_Material_set_m_kLST_1=pt._emscripten_bind_Material_set_m_kLST_1,zi=s._emscripten_bind_Material_set_m_kVST_1=pt._emscripten_bind_Material_set_m_kVST_1,Ki=s._emscripten_bind_Node___destroy___0=pt._emscripten_bind_Node___destroy___0,qi=s._emscripten_bind_Node_get_m_area_0=pt._emscripten_bind_Node_get_m_area_0,$i=s._emscripten_bind_Node_get_m_f_0=pt._emscripten_bind_Node_get_m_f_0,tn=s._emscripten_bind_Node_get_m_im_0=pt._emscripten_bind_Node_get_m_im_0,en=s._emscripten_bind_Node_get_m_n_0=pt._emscripten_bind_Node_get_m_n_0,nn=s._emscripten_bind_Node_get_m_q_0=pt._emscripten_bind_Node_get_m_q_0,on=s._emscripten_bind_Node_get_m_v_0=pt._emscripten_bind_Node_get_m_v_0,_n=s._emscripten_bind_Node_get_m_x_0=pt._emscripten_bind_Node_get_m_x_0,rn=s._emscripten_bind_Node_set_m_area_1=pt._emscripten_bind_Node_set_m_area_1,sn=s._emscripten_bind_Node_set_m_f_1=pt._emscripten_bind_Node_set_m_f_1,pn=s._emscripten_bind_Node_set_m_im_1=pt._emscripten_bind_Node_set_m_im_1,cn=s._emscripten_bind_Node_set_m_n_1=pt._emscripten_bind_Node_set_m_n_1,an=s._emscripten_bind_Node_set_m_q_1=pt._emscripten_bind_Node_set_m_q_1,bn=s._emscripten_bind_Node_set_m_v_1=pt._emscripten_bind_Node_set_m_v_1,dn=s._emscripten_bind_Node_set_m_x_1=pt._emscripten_bind_Node_set_m_x_1,ln=s._emscripten_bind_RayResultCallback___destroy___0=pt._emscripten_bind_RayResultCallback___destroy___0,An=s._emscripten_bind_RayResultCallback_get_m_closestHitFraction_0=pt._emscripten_bind_RayResultCallback_get_m_closestHitFraction_0,fn=s._emscripten_bind_RayResultCallback_get_m_collisionFilterGroup_0=pt._emscripten_bind_RayResultCallback_get_m_collisionFilterGroup_0,un=s._emscripten_bind_RayResultCallback_get_m_collisionFilterMask_0=pt._emscripten_bind_RayResultCallback_get_m_collisionFilterMask_0,mn=s._emscripten_bind_RayResultCallback_get_m_collisionObject_0=pt._emscripten_bind_RayResultCallback_get_m_collisionObject_0,hn=s._emscripten_bind_RayResultCallback_hasHit_0=pt._emscripten_bind_RayResultCallback_hasHit_0,yn=s._emscripten_bind_RayResultCallback_set_m_closestHitFraction_1=pt._emscripten_bind_RayResultCallback_set_m_closestHitFraction_1,gn=s._emscripten_bind_RayResultCallback_set_m_collisionFilterGroup_1=pt._emscripten_bind_RayResultCallback_set_m_collisionFilterGroup_1,Cn=s._emscripten_bind_RayResultCallback_set_m_collisionFilterMask_1=pt._emscripten_bind_RayResultCallback_set_m_collisionFilterMask_1,vn=s._emscripten_bind_RayResultCallback_set_m_collisionObject_1=pt._emscripten_bind_RayResultCallback_set_m_collisionObject_1,Sn=s._emscripten_bind_RaycastInfo___destroy___0=pt._emscripten_bind_RaycastInfo___destroy___0,wn=s._emscripten_bind_RaycastInfo_get_m_contactNormalWS_0=pt._emscripten_bind_RaycastInfo_get_m_contactNormalWS_0,kn=s._emscripten_bind_RaycastInfo_get_m_contactPointWS_0=pt._emscripten_bind_RaycastInfo_get_m_contactPointWS_0,Rn=s._emscripten_bind_RaycastInfo_get_m_groundObject_0=pt._emscripten_bind_RaycastInfo_get_m_groundObject_0,jn=s._emscripten_bind_RaycastInfo_get_m_hardPointWS_0=pt._emscripten_bind_RaycastInfo_get_m_hardPointWS_0,Dn=s._emscripten_bind_RaycastInfo_get_m_isInContact_0=pt._emscripten_bind_RaycastInfo_get_m_isInContact_0,In=s._emscripten_bind_RaycastInfo_get_m_suspensionLength_0=pt._emscripten_bind_RaycastInfo_get_m_suspensionLength_0,Bn=s._emscripten_bind_RaycastInfo_get_m_wheelAxleWS_0=pt._emscripten_bind_RaycastInfo_get_m_wheelAxleWS_0,Wn=s._emscripten_bind_RaycastInfo_get_m_wheelDirectionWS_0=pt._emscripten_bind_RaycastInfo_get_m_wheelDirectionWS_0,Fn=s._emscripten_bind_RaycastInfo_set_m_contactNormalWS_1=pt._emscripten_bind_RaycastInfo_set_m_contactNormalWS_1,On=s._emscripten_bind_RaycastInfo_set_m_contactPointWS_1=pt._emscripten_bind_RaycastInfo_set_m_contactPointWS_1,xn=s._emscripten_bind_RaycastInfo_set_m_groundObject_1=pt._emscripten_bind_RaycastInfo_set_m_groundObject_1,Tn=s._emscripten_bind_RaycastInfo_set_m_hardPointWS_1=pt._emscripten_bind_RaycastInfo_set_m_hardPointWS_1,Pn=s._emscripten_bind_RaycastInfo_set_m_isInContact_1=pt._emscripten_bind_RaycastInfo_set_m_isInContact_1,Vn=s._emscripten_bind_RaycastInfo_set_m_suspensionLength_1=pt._emscripten_bind_RaycastInfo_set_m_suspensionLength_1,Mn=s._emscripten_bind_RaycastInfo_set_m_wheelAxleWS_1=pt._emscripten_bind_RaycastInfo_set_m_wheelAxleWS_1,Gn=s._emscripten_bind_RaycastInfo_set_m_wheelDirectionWS_1=pt._emscripten_bind_RaycastInfo_set_m_wheelDirectionWS_1,Ln=s._emscripten_bind_VoidPtr___destroy___0=pt._emscripten_bind_VoidPtr___destroy___0,Nn=s._emscripten_bind_btActionInterface___destroy___0=pt._emscripten_bind_btActionInterface___destroy___0,Qn=s._emscripten_bind_btActionInterface_updateAction_2=pt._emscripten_bind_btActionInterface_updateAction_2,En=s._emscripten_bind_btAxisSweep3___destroy___0=pt._emscripten_bind_btAxisSweep3___destroy___0,Hn=s._emscripten_bind_btAxisSweep3_btAxisSweep3_2=pt._emscripten_bind_btAxisSweep3_btAxisSweep3_2,Zn=s._emscripten_bind_btAxisSweep3_btAxisSweep3_3=pt._emscripten_bind_btAxisSweep3_btAxisSweep3_3,Un=s._emscripten_bind_btAxisSweep3_btAxisSweep3_4=pt._emscripten_bind_btAxisSweep3_btAxisSweep3_4,Yn=s._emscripten_bind_btAxisSweep3_btAxisSweep3_5=pt._emscripten_bind_btAxisSweep3_btAxisSweep3_5,Jn=s._emscripten_bind_btBoxShape___destroy___0=pt._emscripten_bind_btBoxShape___destroy___0,Xn=s._emscripten_bind_btBoxShape_btBoxShape_1=pt._emscripten_bind_btBoxShape_btBoxShape_1,zn=s._emscripten_bind_btBoxShape_calculateLocalInertia_2=pt._emscripten_bind_btBoxShape_calculateLocalInertia_2,Kn=s._emscripten_bind_btBoxShape_getLocalScaling_0=pt._emscripten_bind_btBoxShape_getLocalScaling_0,qn=s._emscripten_bind_btBoxShape_getMargin_0=pt._emscripten_bind_btBoxShape_getMargin_0,$n=s._emscripten_bind_btBoxShape_setLocalScaling_1=pt._emscripten_bind_btBoxShape_setLocalScaling_1,to=s._emscripten_bind_btBoxShape_setMargin_1=pt._emscripten_bind_btBoxShape_setMargin_1,eo=s._emscripten_bind_btBroadphaseInterface___destroy___0=pt._emscripten_bind_btBroadphaseInterface___destroy___0,io=s._emscripten_bind_btBroadphaseProxy___destroy___0=pt._emscripten_bind_btBroadphaseProxy___destroy___0,no=s._emscripten_bind_btBroadphaseProxy_get_m_collisionFilterGroup_0=pt._emscripten_bind_btBroadphaseProxy_get_m_collisionFilterGroup_0,oo=s._emscripten_bind_btBroadphaseProxy_get_m_collisionFilterMask_0=pt._emscripten_bind_btBroadphaseProxy_get_m_collisionFilterMask_0,_o=s._emscripten_bind_btBroadphaseProxy_set_m_collisionFilterGroup_1=pt._emscripten_bind_btBroadphaseProxy_set_m_collisionFilterGroup_1,ro=s._emscripten_bind_btBroadphaseProxy_set_m_collisionFilterMask_1=pt._emscripten_bind_btBroadphaseProxy_set_m_collisionFilterMask_1,so=s._emscripten_bind_btBvhTriangleMeshShape___destroy___0=pt._emscripten_bind_btBvhTriangleMeshShape___destroy___0,po=s._emscripten_bind_btBvhTriangleMeshShape_btBvhTriangleMeshShape_2=pt._emscripten_bind_btBvhTriangleMeshShape_btBvhTriangleMeshShape_2,co=s._emscripten_bind_btBvhTriangleMeshShape_btBvhTriangleMeshShape_3=pt._emscripten_bind_btBvhTriangleMeshShape_btBvhTriangleMeshShape_3,ao=s._emscripten_bind_btBvhTriangleMeshShape_calculateLocalInertia_2=pt._emscripten_bind_btBvhTriangleMeshShape_calculateLocalInertia_2,bo=s._emscripten_bind_btBvhTriangleMeshShape_getLocalScaling_0=pt._emscripten_bind_btBvhTriangleMeshShape_getLocalScaling_0,lo=s._emscripten_bind_btBvhTriangleMeshShape_setLocalScaling_1=pt._emscripten_bind_btBvhTriangleMeshShape_setLocalScaling_1,Ao=s._emscripten_bind_btCapsuleShapeX___destroy___0=pt._emscripten_bind_btCapsuleShapeX___destroy___0,fo=s._emscripten_bind_btCapsuleShapeX_btCapsuleShapeX_2=pt._emscripten_bind_btCapsuleShapeX_btCapsuleShapeX_2,uo=s._emscripten_bind_btCapsuleShapeX_calculateLocalInertia_2=pt._emscripten_bind_btCapsuleShapeX_calculateLocalInertia_2,mo=s._emscripten_bind_btCapsuleShapeX_getHalfHeight_0=pt._emscripten_bind_btCapsuleShapeX_getHalfHeight_0,ho=s._emscripten_bind_btCapsuleShapeX_getLocalScaling_0=pt._emscripten_bind_btCapsuleShapeX_getLocalScaling_0,yo=s._emscripten_bind_btCapsuleShapeX_getMargin_0=pt._emscripten_bind_btCapsuleShapeX_getMargin_0,go=s._emscripten_bind_btCapsuleShapeX_getRadius_0=pt._emscripten_bind_btCapsuleShapeX_getRadius_0,Co=s._emscripten_bind_btCapsuleShapeX_getUpAxis_0=pt._emscripten_bind_btCapsuleShapeX_getUpAxis_0,vo=s._emscripten_bind_btCapsuleShapeX_setLocalScaling_1=pt._emscripten_bind_btCapsuleShapeX_setLocalScaling_1,So=s._emscripten_bind_btCapsuleShapeX_setMargin_1=pt._emscripten_bind_btCapsuleShapeX_setMargin_1,wo=s._emscripten_bind_btCapsuleShapeZ___destroy___0=pt._emscripten_bind_btCapsuleShapeZ___destroy___0,ko=s._emscripten_bind_btCapsuleShapeZ_btCapsuleShapeZ_2=pt._emscripten_bind_btCapsuleShapeZ_btCapsuleShapeZ_2,Ro=s._emscripten_bind_btCapsuleShapeZ_calculateLocalInertia_2=pt._emscripten_bind_btCapsuleShapeZ_calculateLocalInertia_2,jo=s._emscripten_bind_btCapsuleShapeZ_getHalfHeight_0=pt._emscripten_bind_btCapsuleShapeZ_getHalfHeight_0,Do=s._emscripten_bind_btCapsuleShapeZ_getLocalScaling_0=pt._emscripten_bind_btCapsuleShapeZ_getLocalScaling_0,Io=s._emscripten_bind_btCapsuleShapeZ_getMargin_0=pt._emscripten_bind_btCapsuleShapeZ_getMargin_0,Bo=s._emscripten_bind_btCapsuleShapeZ_getRadius_0=pt._emscripten_bind_btCapsuleShapeZ_getRadius_0,Wo=s._emscripten_bind_btCapsuleShapeZ_getUpAxis_0=pt._emscripten_bind_btCapsuleShapeZ_getUpAxis_0,Fo=s._emscripten_bind_btCapsuleShapeZ_setLocalScaling_1=pt._emscripten_bind_btCapsuleShapeZ_setLocalScaling_1,Oo=s._emscripten_bind_btCapsuleShapeZ_setMargin_1=pt._emscripten_bind_btCapsuleShapeZ_setMargin_1,xo=s._emscripten_bind_btCapsuleShape___destroy___0=pt._emscripten_bind_btCapsuleShape___destroy___0,To=s._emscripten_bind_btCapsuleShape_btCapsuleShape_2=pt._emscripten_bind_btCapsuleShape_btCapsuleShape_2,Po=s._emscripten_bind_btCapsuleShape_calculateLocalInertia_2=pt._emscripten_bind_btCapsuleShape_calculateLocalInertia_2,Vo=s._emscripten_bind_btCapsuleShape_getHalfHeight_0=pt._emscripten_bind_btCapsuleShape_getHalfHeight_0,Mo=s._emscripten_bind_btCapsuleShape_getLocalScaling_0=pt._emscripten_bind_btCapsuleShape_getLocalScaling_0,Go=s._emscripten_bind_btCapsuleShape_getMargin_0=pt._emscripten_bind_btCapsuleShape_getMargin_0,Lo=s._emscripten_bind_btCapsuleShape_getRadius_0=pt._emscripten_bind_btCapsuleShape_getRadius_0,No=s._emscripten_bind_btCapsuleShape_getUpAxis_0=pt._emscripten_bind_btCapsuleShape_getUpAxis_0,Qo=s._emscripten_bind_btCapsuleShape_setLocalScaling_1=pt._emscripten_bind_btCapsuleShape_setLocalScaling_1,Eo=s._emscripten_bind_btCapsuleShape_setMargin_1=pt._emscripten_bind_btCapsuleShape_setMargin_1,Ho=s._emscripten_bind_btCollisionConfiguration___destroy___0=pt._emscripten_bind_btCollisionConfiguration___destroy___0,Zo=s._emscripten_bind_btCollisionDispatcher___destroy___0=pt._emscripten_bind_btCollisionDispatcher___destroy___0,Uo=s._emscripten_bind_btCollisionDispatcher_btCollisionDispatcher_1=pt._emscripten_bind_btCollisionDispatcher_btCollisionDispatcher_1,Yo=s._emscripten_bind_btCollisionDispatcher_getManifoldByIndexInternal_1=pt._emscripten_bind_btCollisionDispatcher_getManifoldByIndexInternal_1,Jo=s._emscripten_bind_btCollisionDispatcher_getNumManifolds_0=pt._emscripten_bind_btCollisionDispatcher_getNumManifolds_0,Xo=s._emscripten_bind_btCollisionObject___destroy___0=pt._emscripten_bind_btCollisionObject___destroy___0,zo=s._emscripten_bind_btCollisionObject_activate_0=pt._emscripten_bind_btCollisionObject_activate_0,Ko=s._emscripten_bind_btCollisionObject_activate_1=pt._emscripten_bind_btCollisionObject_activate_1,qo=s._emscripten_bind_btCollisionObject_forceActivationState_1=pt._emscripten_bind_btCollisionObject_forceActivationState_1,$o=s._emscripten_bind_btCollisionObject_getCollisionFlags_0=pt._emscripten_bind_btCollisionObject_getCollisionFlags_0,t_=s._emscripten_bind_btCollisionObject_getCollisionShape_0=pt._emscripten_bind_btCollisionObject_getCollisionShape_0,e_=s._emscripten_bind_btCollisionObject_getUserIndex_0=pt._emscripten_bind_btCollisionObject_getUserIndex_0,i_=s._emscripten_bind_btCollisionObject_getUserPointer_0=pt._emscripten_bind_btCollisionObject_getUserPointer_0,n_=s._emscripten_bind_btCollisionObject_getWorldTransform_0=pt._emscripten_bind_btCollisionObject_getWorldTransform_0,o_=s._emscripten_bind_btCollisionObject_isActive_0=pt._emscripten_bind_btCollisionObject_isActive_0,__=s._emscripten_bind_btCollisionObject_isKinematicObject_0=pt._emscripten_bind_btCollisionObject_isKinematicObject_0,r_=s._emscripten_bind_btCollisionObject_isStaticObject_0=pt._emscripten_bind_btCollisionObject_isStaticObject_0,s_=s._emscripten_bind_btCollisionObject_isStaticOrKinematicObject_0=pt._emscripten_bind_btCollisionObject_isStaticOrKinematicObject_0,p_=s._emscripten_bind_btCollisionObject_setActivationState_1=pt._emscripten_bind_btCollisionObject_setActivationState_1,c_=s._emscripten_bind_btCollisionObject_setAnisotropicFriction_2=pt._emscripten_bind_btCollisionObject_setAnisotropicFriction_2,a_=s._emscripten_bind_btCollisionObject_setCcdMotionThreshold_1=pt._emscripten_bind_btCollisionObject_setCcdMotionThreshold_1,b_=s._emscripten_bind_btCollisionObject_setCcdSweptSphereRadius_1=pt._emscripten_bind_btCollisionObject_setCcdSweptSphereRadius_1,d_=s._emscripten_bind_btCollisionObject_setCollisionFlags_1=pt._emscripten_bind_btCollisionObject_setCollisionFlags_1,l_=s._emscripten_bind_btCollisionObject_setCollisionShape_1=pt._emscripten_bind_btCollisionObject_setCollisionShape_1,A_=s._emscripten_bind_btCollisionObject_setContactProcessingThreshold_1=pt._emscripten_bind_btCollisionObject_setContactProcessingThreshold_1,f_=s._emscripten_bind_btCollisionObject_setFriction_1=pt._emscripten_bind_btCollisionObject_setFriction_1,u_=s._emscripten_bind_btCollisionObject_setRestitution_1=pt._emscripten_bind_btCollisionObject_setRestitution_1,m_=s._emscripten_bind_btCollisionObject_setRollingFriction_1=pt._emscripten_bind_btCollisionObject_setRollingFriction_1,h_=s._emscripten_bind_btCollisionObject_setUserIndex_1=pt._emscripten_bind_btCollisionObject_setUserIndex_1,y_=s._emscripten_bind_btCollisionObject_setUserPointer_1=pt._emscripten_bind_btCollisionObject_setUserPointer_1,g_=s._emscripten_bind_btCollisionObject_setWorldTransform_1=pt._emscripten_bind_btCollisionObject_setWorldTransform_1,C_=s._emscripten_bind_btCollisionShape___destroy___0=pt._emscripten_bind_btCollisionShape___destroy___0,v_=s._emscripten_bind_btCollisionShape_calculateLocalInertia_2=pt._emscripten_bind_btCollisionShape_calculateLocalInertia_2,S_=s._emscripten_bind_btCollisionShape_getLocalScaling_0=pt._emscripten_bind_btCollisionShape_getLocalScaling_0,w_=s._emscripten_bind_btCollisionShape_getMargin_0=pt._emscripten_bind_btCollisionShape_getMargin_0,k_=s._emscripten_bind_btCollisionShape_setLocalScaling_1=pt._emscripten_bind_btCollisionShape_setLocalScaling_1,R_=s._emscripten_bind_btCollisionShape_setMargin_1=pt._emscripten_bind_btCollisionShape_setMargin_1,j_=s._emscripten_bind_btCollisionWorld___destroy___0=pt._emscripten_bind_btCollisionWorld___destroy___0,D_=s._emscripten_bind_btCollisionWorld_addCollisionObject_1=pt._emscripten_bind_btCollisionWorld_addCollisionObject_1,I_=s._emscripten_bind_btCollisionWorld_addCollisionObject_2=pt._emscripten_bind_btCollisionWorld_addCollisionObject_2,B_=s._emscripten_bind_btCollisionWorld_addCollisionObject_3=pt._emscripten_bind_btCollisionWorld_addCollisionObject_3,W_=s._emscripten_bind_btCollisionWorld_btCollisionWorld_3=pt._emscripten_bind_btCollisionWorld_btCollisionWorld_3,F_=s._emscripten_bind_btCollisionWorld_contactPairTest_3=pt._emscripten_bind_btCollisionWorld_contactPairTest_3,O_=s._emscripten_bind_btCollisionWorld_contactTest_2=pt._emscripten_bind_btCollisionWorld_contactTest_2,x_=s._emscripten_bind_btCollisionWorld_convexSweepTest_5=pt._emscripten_bind_btCollisionWorld_convexSweepTest_5,T_=s._emscripten_bind_btCollisionWorld_debugDrawObject_3=pt._emscripten_bind_btCollisionWorld_debugDrawObject_3,P_=s._emscripten_bind_btCollisionWorld_debugDrawWorld_0=pt._emscripten_bind_btCollisionWorld_debugDrawWorld_0,V_=s._emscripten_bind_btCollisionWorld_getBroadphase_0=pt._emscripten_bind_btCollisionWorld_getBroadphase_0,M_=s._emscripten_bind_btCollisionWorld_getDebugDrawer_0=pt._emscripten_bind_btCollisionWorld_getDebugDrawer_0,G_=s._emscripten_bind_btCollisionWorld_getDispatchInfo_0=pt._emscripten_bind_btCollisionWorld_getDispatchInfo_0,L_=s._emscripten_bind_btCollisionWorld_getDispatcher_0=pt._emscripten_bind_btCollisionWorld_getDispatcher_0,N_=s._emscripten_bind_btCollisionWorld_getPairCache_0=pt._emscripten_bind_btCollisionWorld_getPairCache_0,Q_=s._emscripten_bind_btCollisionWorld_performDiscreteCollisionDetection_0=pt._emscripten_bind_btCollisionWorld_performDiscreteCollisionDetection_0,E_=s._emscripten_bind_btCollisionWorld_rayTest_3=pt._emscripten_bind_btCollisionWorld_rayTest_3,H_=s._emscripten_bind_btCollisionWorld_removeCollisionObject_1=pt._emscripten_bind_btCollisionWorld_removeCollisionObject_1,Z_=s._emscripten_bind_btCollisionWorld_setDebugDrawer_1=pt._emscripten_bind_btCollisionWorld_setDebugDrawer_1,U_=s._emscripten_bind_btCollisionWorld_updateSingleAabb_1=pt._emscripten_bind_btCollisionWorld_updateSingleAabb_1,Y_=s._emscripten_bind_btCompoundShape___destroy___0=pt._emscripten_bind_btCompoundShape___destroy___0,J_=s._emscripten_bind_btCompoundShape_addChildShape_2=pt._emscripten_bind_btCompoundShape_addChildShape_2,X_=s._emscripten_bind_btCompoundShape_btCompoundShape_0=pt._emscripten_bind_btCompoundShape_btCompoundShape_0,z_=s._emscripten_bind_btCompoundShape_btCompoundShape_1=pt._emscripten_bind_btCompoundShape_btCompoundShape_1,K_=s._emscripten_bind_btCompoundShape_calculateLocalInertia_2=pt._emscripten_bind_btCompoundShape_calculateLocalInertia_2,q_=s._emscripten_bind_btCompoundShape_getChildShape_1=pt._emscripten_bind_btCompoundShape_getChildShape_1,$_=s._emscripten_bind_btCompoundShape_getLocalScaling_0=pt._emscripten_bind_btCompoundShape_getLocalScaling_0,tr=s._emscripten_bind_btCompoundShape_getMargin_0=pt._emscripten_bind_btCompoundShape_getMargin_0,er=s._emscripten_bind_btCompoundShape_getNumChildShapes_0=pt._emscripten_bind_btCompoundShape_getNumChildShapes_0,ir=s._emscripten_bind_btCompoundShape_recalculateLocalAabb_0=pt._emscripten_bind_btCompoundShape_recalculateLocalAabb_0,nr=s._emscripten_bind_btCompoundShape_removeChildShapeByIndex_1=pt._emscripten_bind_btCompoundShape_removeChildShapeByIndex_1,or=s._emscripten_bind_btCompoundShape_setLocalScaling_1=pt._emscripten_bind_btCompoundShape_setLocalScaling_1,_r=s._emscripten_bind_btCompoundShape_setMargin_1=pt._emscripten_bind_btCompoundShape_setMargin_1,rr=s._emscripten_bind_btCompoundShape_updateChildTransform_2=pt._emscripten_bind_btCompoundShape_updateChildTransform_2,sr=s._emscripten_bind_btCompoundShape_updateChildTransform_3=pt._emscripten_bind_btCompoundShape_updateChildTransform_3,pr=s._emscripten_bind_btConcaveShape___destroy___0=pt._emscripten_bind_btConcaveShape___destroy___0,cr=s._emscripten_bind_btConcaveShape_calculateLocalInertia_2=pt._emscripten_bind_btConcaveShape_calculateLocalInertia_2,ar=s._emscripten_bind_btConcaveShape_getLocalScaling_0=pt._emscripten_bind_btConcaveShape_getLocalScaling_0,br=s._emscripten_bind_btConcaveShape_setLocalScaling_1=pt._emscripten_bind_btConcaveShape_setLocalScaling_1,dr=s._emscripten_bind_btConeShapeX___destroy___0=pt._emscripten_bind_btConeShapeX___destroy___0,lr=s._emscripten_bind_btConeShapeX_btConeShapeX_2=pt._emscripten_bind_btConeShapeX_btConeShapeX_2,Ar=s._emscripten_bind_btConeShapeX_calculateLocalInertia_2=pt._emscripten_bind_btConeShapeX_calculateLocalInertia_2,fr=s._emscripten_bind_btConeShapeX_getLocalScaling_0=pt._emscripten_bind_btConeShapeX_getLocalScaling_0,ur=s._emscripten_bind_btConeShapeX_setLocalScaling_1=pt._emscripten_bind_btConeShapeX_setLocalScaling_1,mr=s._emscripten_bind_btConeShapeZ___destroy___0=pt._emscripten_bind_btConeShapeZ___destroy___0,hr=s._emscripten_bind_btConeShapeZ_btConeShapeZ_2=pt._emscripten_bind_btConeShapeZ_btConeShapeZ_2,yr=s._emscripten_bind_btConeShapeZ_calculateLocalInertia_2=pt._emscripten_bind_btConeShapeZ_calculateLocalInertia_2,gr=s._emscripten_bind_btConeShapeZ_getLocalScaling_0=pt._emscripten_bind_btConeShapeZ_getLocalScaling_0,Cr=s._emscripten_bind_btConeShapeZ_setLocalScaling_1=pt._emscripten_bind_btConeShapeZ_setLocalScaling_1,vr=s._emscripten_bind_btConeShape___destroy___0=pt._emscripten_bind_btConeShape___destroy___0,Sr=s._emscripten_bind_btConeShape_btConeShape_2=pt._emscripten_bind_btConeShape_btConeShape_2,wr=s._emscripten_bind_btConeShape_calculateLocalInertia_2=pt._emscripten_bind_btConeShape_calculateLocalInertia_2,kr=s._emscripten_bind_btConeShape_getLocalScaling_0=pt._emscripten_bind_btConeShape_getLocalScaling_0,Rr=s._emscripten_bind_btConeShape_setLocalScaling_1=pt._emscripten_bind_btConeShape_setLocalScaling_1,jr=s._emscripten_bind_btConeTwistConstraint___destroy___0=pt._emscripten_bind_btConeTwistConstraint___destroy___0,Dr=s._emscripten_bind_btConeTwistConstraint_btConeTwistConstraint_2=pt._emscripten_bind_btConeTwistConstraint_btConeTwistConstraint_2,Ir=s._emscripten_bind_btConeTwistConstraint_btConeTwistConstraint_4=pt._emscripten_bind_btConeTwistConstraint_btConeTwistConstraint_4,Br=s._emscripten_bind_btConeTwistConstraint_enableFeedback_1=pt._emscripten_bind_btConeTwistConstraint_enableFeedback_1,Wr=s._emscripten_bind_btConeTwistConstraint_enableMotor_1=pt._emscripten_bind_btConeTwistConstraint_enableMotor_1,Fr=s._emscripten_bind_btConeTwistConstraint_getBreakingImpulseThreshold_0=pt._emscripten_bind_btConeTwistConstraint_getBreakingImpulseThreshold_0,Or=s._emscripten_bind_btConeTwistConstraint_getParam_2=pt._emscripten_bind_btConeTwistConstraint_getParam_2,xr=s._emscripten_bind_btConeTwistConstraint_setAngularOnly_1=pt._emscripten_bind_btConeTwistConstraint_setAngularOnly_1,Tr=s._emscripten_bind_btConeTwistConstraint_setBreakingImpulseThreshold_1=pt._emscripten_bind_btConeTwistConstraint_setBreakingImpulseThreshold_1,Pr=s._emscripten_bind_btConeTwistConstraint_setDamping_1=pt._emscripten_bind_btConeTwistConstraint_setDamping_1,Vr=s._emscripten_bind_btConeTwistConstraint_setLimit_2=pt._emscripten_bind_btConeTwistConstraint_setLimit_2,Mr=s._emscripten_bind_btConeTwistConstraint_setMaxMotorImpulseNormalized_1=pt._emscripten_bind_btConeTwistConstraint_setMaxMotorImpulseNormalized_1,Gr=s._emscripten_bind_btConeTwistConstraint_setMaxMotorImpulse_1=pt._emscripten_bind_btConeTwistConstraint_setMaxMotorImpulse_1,Lr=s._emscripten_bind_btConeTwistConstraint_setMotorTargetInConstraintSpace_1=pt._emscripten_bind_btConeTwistConstraint_setMotorTargetInConstraintSpace_1,Nr=s._emscripten_bind_btConeTwistConstraint_setMotorTarget_1=pt._emscripten_bind_btConeTwistConstraint_setMotorTarget_1,Qr=s._emscripten_bind_btConeTwistConstraint_setParam_3=pt._emscripten_bind_btConeTwistConstraint_setParam_3,Er=s._emscripten_bind_btConstraintSetting___destroy___0=pt._emscripten_bind_btConstraintSetting___destroy___0,Hr=s._emscripten_bind_btConstraintSetting_btConstraintSetting_0=pt._emscripten_bind_btConstraintSetting_btConstraintSetting_0,Zr=s._emscripten_bind_btConstraintSetting_get_m_damping_0=pt._emscripten_bind_btConstraintSetting_get_m_damping_0,Ur=s._emscripten_bind_btConstraintSetting_get_m_impulseClamp_0=pt._emscripten_bind_btConstraintSetting_get_m_impulseClamp_0,Yr=s._emscripten_bind_btConstraintSetting_get_m_tau_0=pt._emscripten_bind_btConstraintSetting_get_m_tau_0,Jr=s._emscripten_bind_btConstraintSetting_set_m_damping_1=pt._emscripten_bind_btConstraintSetting_set_m_damping_1,Xr=s._emscripten_bind_btConstraintSetting_set_m_impulseClamp_1=pt._emscripten_bind_btConstraintSetting_set_m_impulseClamp_1,zr=s._emscripten_bind_btConstraintSetting_set_m_tau_1=pt._emscripten_bind_btConstraintSetting_set_m_tau_1,Kr=s._emscripten_bind_btConstraintSolver___destroy___0=pt._emscripten_bind_btConstraintSolver___destroy___0,qr=s._emscripten_bind_btContactSolverInfo___destroy___0=pt._emscripten_bind_btContactSolverInfo___destroy___0,$r=s._emscripten_bind_btContactSolverInfo_get_m_numIterations_0=pt._emscripten_bind_btContactSolverInfo_get_m_numIterations_0,ts=s._emscripten_bind_btContactSolverInfo_get_m_splitImpulsePenetrationThreshold_0=pt._emscripten_bind_btContactSolverInfo_get_m_splitImpulsePenetrationThreshold_0,es=s._emscripten_bind_btContactSolverInfo_get_m_splitImpulse_0=pt._emscripten_bind_btContactSolverInfo_get_m_splitImpulse_0,is=s._emscripten_bind_btContactSolverInfo_set_m_numIterations_1=pt._emscripten_bind_btContactSolverInfo_set_m_numIterations_1,ns=s._emscripten_bind_btContactSolverInfo_set_m_splitImpulsePenetrationThreshold_1=pt._emscripten_bind_btContactSolverInfo_set_m_splitImpulsePenetrationThreshold_1,os=s._emscripten_bind_btContactSolverInfo_set_m_splitImpulse_1=pt._emscripten_bind_btContactSolverInfo_set_m_splitImpulse_1,_s=s._emscripten_bind_btConvexHullShape___destroy___0=pt._emscripten_bind_btConvexHullShape___destroy___0,rs=s._emscripten_bind_btConvexHullShape_addPoint_1=pt._emscripten_bind_btConvexHullShape_addPoint_1,ss=s._emscripten_bind_btConvexHullShape_addPoint_2=pt._emscripten_bind_btConvexHullShape_addPoint_2,ps=s._emscripten_bind_btConvexHullShape_btConvexHullShape_0=pt._emscripten_bind_btConvexHullShape_btConvexHullShape_0,cs=s._emscripten_bind_btConvexHullShape_btConvexHullShape_1=pt._emscripten_bind_btConvexHullShape_btConvexHullShape_1,as=s._emscripten_bind_btConvexHullShape_btConvexHullShape_2=pt._emscripten_bind_btConvexHullShape_btConvexHullShape_2,bs=s._emscripten_bind_btConvexHullShape_calculateLocalInertia_2=pt._emscripten_bind_btConvexHullShape_calculateLocalInertia_2,ds=s._emscripten_bind_btConvexHullShape_getConvexPolyhedron_0=pt._emscripten_bind_btConvexHullShape_getConvexPolyhedron_0,ls=s._emscripten_bind_btConvexHullShape_getLocalScaling_0=pt._emscripten_bind_btConvexHullShape_getLocalScaling_0,As=s._emscripten_bind_btConvexHullShape_getMargin_0=pt._emscripten_bind_btConvexHullShape_getMargin_0,fs=s._emscripten_bind_btConvexHullShape_getNumVertices_0=pt._emscripten_bind_btConvexHullShape_getNumVertices_0,us=s._emscripten_bind_btConvexHullShape_initializePolyhedralFeatures_1=pt._emscripten_bind_btConvexHullShape_initializePolyhedralFeatures_1,ms=s._emscripten_bind_btConvexHullShape_recalcLocalAabb_0=pt._emscripten_bind_btConvexHullShape_recalcLocalAabb_0,hs=s._emscripten_bind_btConvexHullShape_setLocalScaling_1=pt._emscripten_bind_btConvexHullShape_setLocalScaling_1,ys=s._emscripten_bind_btConvexHullShape_setMargin_1=pt._emscripten_bind_btConvexHullShape_setMargin_1,gs=s._emscripten_bind_btConvexPolyhedron___destroy___0=pt._emscripten_bind_btConvexPolyhedron___destroy___0,Cs=s._emscripten_bind_btConvexPolyhedron_get_m_faces_0=pt._emscripten_bind_btConvexPolyhedron_get_m_faces_0,vs=s._emscripten_bind_btConvexPolyhedron_get_m_vertices_0=pt._emscripten_bind_btConvexPolyhedron_get_m_vertices_0,Ss=s._emscripten_bind_btConvexPolyhedron_set_m_faces_1=pt._emscripten_bind_btConvexPolyhedron_set_m_faces_1,ws=s._emscripten_bind_btConvexPolyhedron_set_m_vertices_1=pt._emscripten_bind_btConvexPolyhedron_set_m_vertices_1,ks=s._emscripten_bind_btConvexShape___destroy___0=pt._emscripten_bind_btConvexShape___destroy___0,Rs=s._emscripten_bind_btConvexShape_calculateLocalInertia_2=pt._emscripten_bind_btConvexShape_calculateLocalInertia_2,js=s._emscripten_bind_btConvexShape_getLocalScaling_0=pt._emscripten_bind_btConvexShape_getLocalScaling_0,Ds=s._emscripten_bind_btConvexShape_getMargin_0=pt._emscripten_bind_btConvexShape_getMargin_0,Is=s._emscripten_bind_btConvexShape_setLocalScaling_1=pt._emscripten_bind_btConvexShape_setLocalScaling_1,Bs=s._emscripten_bind_btConvexShape_setMargin_1=pt._emscripten_bind_btConvexShape_setMargin_1,Ws=s._emscripten_bind_btConvexTriangleMeshShape___destroy___0=pt._emscripten_bind_btConvexTriangleMeshShape___destroy___0,Fs=s._emscripten_bind_btConvexTriangleMeshShape_btConvexTriangleMeshShape_1=pt._emscripten_bind_btConvexTriangleMeshShape_btConvexTriangleMeshShape_1,Os=s._emscripten_bind_btConvexTriangleMeshShape_btConvexTriangleMeshShape_2=pt._emscripten_bind_btConvexTriangleMeshShape_btConvexTriangleMeshShape_2,xs=s._emscripten_bind_btConvexTriangleMeshShape_calculateLocalInertia_2=pt._emscripten_bind_btConvexTriangleMeshShape_calculateLocalInertia_2,Ts=s._emscripten_bind_btConvexTriangleMeshShape_getLocalScaling_0=pt._emscripten_bind_btConvexTriangleMeshShape_getLocalScaling_0,Ps=s._emscripten_bind_btConvexTriangleMeshShape_getMargin_0=pt._emscripten_bind_btConvexTriangleMeshShape_getMargin_0,Vs=s._emscripten_bind_btConvexTriangleMeshShape_setLocalScaling_1=pt._emscripten_bind_btConvexTriangleMeshShape_setLocalScaling_1,Ms=s._emscripten_bind_btConvexTriangleMeshShape_setMargin_1=pt._emscripten_bind_btConvexTriangleMeshShape_setMargin_1,Gs=s._emscripten_bind_btCylinderShapeX___destroy___0=pt._emscripten_bind_btCylinderShapeX___destroy___0,Ls=s._emscripten_bind_btCylinderShapeX_btCylinderShapeX_1=pt._emscripten_bind_btCylinderShapeX_btCylinderShapeX_1,Ns=s._emscripten_bind_btCylinderShapeX_calculateLocalInertia_2=pt._emscripten_bind_btCylinderShapeX_calculateLocalInertia_2,Qs=s._emscripten_bind_btCylinderShapeX_getLocalScaling_0=pt._emscripten_bind_btCylinderShapeX_getLocalScaling_0,Es=s._emscripten_bind_btCylinderShapeX_getMargin_0=pt._emscripten_bind_btCylinderShapeX_getMargin_0,Hs=s._emscripten_bind_btCylinderShapeX_setLocalScaling_1=pt._emscripten_bind_btCylinderShapeX_setLocalScaling_1,Zs=s._emscripten_bind_btCylinderShapeX_setMargin_1=pt._emscripten_bind_btCylinderShapeX_setMargin_1,Us=s._emscripten_bind_btCylinderShapeZ___destroy___0=pt._emscripten_bind_btCylinderShapeZ___destroy___0,Ys=s._emscripten_bind_btCylinderShapeZ_btCylinderShapeZ_1=pt._emscripten_bind_btCylinderShapeZ_btCylinderShapeZ_1,Js=s._emscripten_bind_btCylinderShapeZ_calculateLocalInertia_2=pt._emscripten_bind_btCylinderShapeZ_calculateLocalInertia_2,Xs=s._emscripten_bind_btCylinderShapeZ_getLocalScaling_0=pt._emscripten_bind_btCylinderShapeZ_getLocalScaling_0,zs=s._emscripten_bind_btCylinderShapeZ_getMargin_0=pt._emscripten_bind_btCylinderShapeZ_getMargin_0,Ks=s._emscripten_bind_btCylinderShapeZ_setLocalScaling_1=pt._emscripten_bind_btCylinderShapeZ_setLocalScaling_1,qs=s._emscripten_bind_btCylinderShapeZ_setMargin_1=pt._emscripten_bind_btCylinderShapeZ_setMargin_1,$s=s._emscripten_bind_btCylinderShape___destroy___0=pt._emscripten_bind_btCylinderShape___destroy___0,tp=s._emscripten_bind_btCylinderShape_btCylinderShape_1=pt._emscripten_bind_btCylinderShape_btCylinderShape_1,ep=s._emscripten_bind_btCylinderShape_calculateLocalInertia_2=pt._emscripten_bind_btCylinderShape_calculateLocalInertia_2,ip=s._emscripten_bind_btCylinderShape_getLocalScaling_0=pt._emscripten_bind_btCylinderShape_getLocalScaling_0,np=s._emscripten_bind_btCylinderShape_getMargin_0=pt._emscripten_bind_btCylinderShape_getMargin_0,op=s._emscripten_bind_btCylinderShape_setLocalScaling_1=pt._emscripten_bind_btCylinderShape_setLocalScaling_1,_p=s._emscripten_bind_btCylinderShape_setMargin_1=pt._emscripten_bind_btCylinderShape_setMargin_1,rp=s._emscripten_bind_btDbvtBroadphase___destroy___0=pt._emscripten_bind_btDbvtBroadphase___destroy___0,sp=s._emscripten_bind_btDbvtBroadphase_btDbvtBroadphase_0=pt._emscripten_bind_btDbvtBroadphase_btDbvtBroadphase_0,pp=s._emscripten_bind_btDefaultCollisionConfiguration___destroy___0=pt._emscripten_bind_btDefaultCollisionConfiguration___destroy___0,cp=s._emscripten_bind_btDefaultCollisionConfiguration_btDefaultCollisionConfiguration_0=pt._emscripten_bind_btDefaultCollisionConfiguration_btDefaultCollisionConfiguration_0,ap=s._emscripten_bind_btDefaultCollisionConfiguration_btDefaultCollisionConfiguration_1=pt._emscripten_bind_btDefaultCollisionConfiguration_btDefaultCollisionConfiguration_1,bp=s._emscripten_bind_btDefaultCollisionConstructionInfo___destroy___0=pt._emscripten_bind_btDefaultCollisionConstructionInfo___destroy___0,dp=s._emscripten_bind_btDefaultCollisionConstructionInfo_btDefaultCollisionConstructionInfo_0=pt._emscripten_bind_btDefaultCollisionConstructionInfo_btDefaultCollisionConstructionInfo_0,lp=s._emscripten_bind_btDefaultMotionState___destroy___0=pt._emscripten_bind_btDefaultMotionState___destroy___0,Ap=s._emscripten_bind_btDefaultMotionState_btDefaultMotionState_0=pt._emscripten_bind_btDefaultMotionState_btDefaultMotionState_0,fp=s._emscripten_bind_btDefaultMotionState_btDefaultMotionState_1=pt._emscripten_bind_btDefaultMotionState_btDefaultMotionState_1,up=s._emscripten_bind_btDefaultMotionState_btDefaultMotionState_2=pt._emscripten_bind_btDefaultMotionState_btDefaultMotionState_2,mp=s._emscripten_bind_btDefaultMotionState_getWorldTransform_1=pt._emscripten_bind_btDefaultMotionState_getWorldTransform_1,hp=s._emscripten_bind_btDefaultMotionState_get_m_graphicsWorldTrans_0=pt._emscripten_bind_btDefaultMotionState_get_m_graphicsWorldTrans_0,yp=s._emscripten_bind_btDefaultMotionState_setWorldTransform_1=pt._emscripten_bind_btDefaultMotionState_setWorldTransform_1,gp=s._emscripten_bind_btDefaultMotionState_set_m_graphicsWorldTrans_1=pt._emscripten_bind_btDefaultMotionState_set_m_graphicsWorldTrans_1,Cp=s._emscripten_bind_btDefaultSoftBodySolver___destroy___0=pt._emscripten_bind_btDefaultSoftBodySolver___destroy___0,vp=s._emscripten_bind_btDefaultSoftBodySolver_btDefaultSoftBodySolver_0=pt._emscripten_bind_btDefaultSoftBodySolver_btDefaultSoftBodySolver_0,Sp=s._emscripten_bind_btDefaultVehicleRaycaster___destroy___0=pt._emscripten_bind_btDefaultVehicleRaycaster___destroy___0,wp=s._emscripten_bind_btDefaultVehicleRaycaster_btDefaultVehicleRaycaster_1=pt._emscripten_bind_btDefaultVehicleRaycaster_btDefaultVehicleRaycaster_1,kp=s._emscripten_bind_btDefaultVehicleRaycaster_castRay_3=pt._emscripten_bind_btDefaultVehicleRaycaster_castRay_3,Rp=s._emscripten_bind_btDiscreteDynamicsWorld___destroy___0=pt._emscripten_bind_btDiscreteDynamicsWorld___destroy___0,jp=s._emscripten_bind_btDiscreteDynamicsWorld_addAction_1=pt._emscripten_bind_btDiscreteDynamicsWorld_addAction_1,Dp=s._emscripten_bind_btDiscreteDynamicsWorld_addCollisionObject_1=pt._emscripten_bind_btDiscreteDynamicsWorld_addCollisionObject_1,Ip=s._emscripten_bind_btDiscreteDynamicsWorld_addCollisionObject_2=pt._emscripten_bind_btDiscreteDynamicsWorld_addCollisionObject_2,Bp=s._emscripten_bind_btDiscreteDynamicsWorld_addCollisionObject_3=pt._emscripten_bind_btDiscreteDynamicsWorld_addCollisionObject_3,Wp=s._emscripten_bind_btDiscreteDynamicsWorld_addConstraint_1=pt._emscripten_bind_btDiscreteDynamicsWorld_addConstraint_1,Fp=s._emscripten_bind_btDiscreteDynamicsWorld_addConstraint_2=pt._emscripten_bind_btDiscreteDynamicsWorld_addConstraint_2,Op=s._emscripten_bind_btDiscreteDynamicsWorld_addRigidBody_1=pt._emscripten_bind_btDiscreteDynamicsWorld_addRigidBody_1,xp=s._emscripten_bind_btDiscreteDynamicsWorld_addRigidBody_3=pt._emscripten_bind_btDiscreteDynamicsWorld_addRigidBody_3,Tp=s._emscripten_bind_btDiscreteDynamicsWorld_btDiscreteDynamicsWorld_4=pt._emscripten_bind_btDiscreteDynamicsWorld_btDiscreteDynamicsWorld_4,Pp=s._emscripten_bind_btDiscreteDynamicsWorld_contactPairTest_3=pt._emscripten_bind_btDiscreteDynamicsWorld_contactPairTest_3,Vp=s._emscripten_bind_btDiscreteDynamicsWorld_contactTest_2=pt._emscripten_bind_btDiscreteDynamicsWorld_contactTest_2,Mp=s._emscripten_bind_btDiscreteDynamicsWorld_convexSweepTest_5=pt._emscripten_bind_btDiscreteDynamicsWorld_convexSweepTest_5,Gp=s._emscripten_bind_btDiscreteDynamicsWorld_debugDrawObject_3=pt._emscripten_bind_btDiscreteDynamicsWorld_debugDrawObject_3,Lp=s._emscripten_bind_btDiscreteDynamicsWorld_debugDrawWorld_0=pt._emscripten_bind_btDiscreteDynamicsWorld_debugDrawWorld_0,Np=s._emscripten_bind_btDiscreteDynamicsWorld_getBroadphase_0=pt._emscripten_bind_btDiscreteDynamicsWorld_getBroadphase_0,Qp=s._emscripten_bind_btDiscreteDynamicsWorld_getDebugDrawer_0=pt._emscripten_bind_btDiscreteDynamicsWorld_getDebugDrawer_0,Ep=s._emscripten_bind_btDiscreteDynamicsWorld_getDispatchInfo_0=pt._emscripten_bind_btDiscreteDynamicsWorld_getDispatchInfo_0,Hp=s._emscripten_bind_btDiscreteDynamicsWorld_getDispatcher_0=pt._emscripten_bind_btDiscreteDynamicsWorld_getDispatcher_0,Zp=s._emscripten_bind_btDiscreteDynamicsWorld_getGravity_0=pt._emscripten_bind_btDiscreteDynamicsWorld_getGravity_0,Up=s._emscripten_bind_btDiscreteDynamicsWorld_getPairCache_0=pt._emscripten_bind_btDiscreteDynamicsWorld_getPairCache_0,Yp=s._emscripten_bind_btDiscreteDynamicsWorld_getSolverInfo_0=pt._emscripten_bind_btDiscreteDynamicsWorld_getSolverInfo_0,Jp=s._emscripten_bind_btDiscreteDynamicsWorld_performDiscreteCollisionDetection_0=pt._emscripten_bind_btDiscreteDynamicsWorld_performDiscreteCollisionDetection_0,Xp=s._emscripten_bind_btDiscreteDynamicsWorld_rayTest_3=pt._emscripten_bind_btDiscreteDynamicsWorld_rayTest_3,zp=s._emscripten_bind_btDiscreteDynamicsWorld_removeAction_1=pt._emscripten_bind_btDiscreteDynamicsWorld_removeAction_1,Kp=s._emscripten_bind_btDiscreteDynamicsWorld_removeCollisionObject_1=pt._emscripten_bind_btDiscreteDynamicsWorld_removeCollisionObject_1,qp=s._emscripten_bind_btDiscreteDynamicsWorld_removeConstraint_1=pt._emscripten_bind_btDiscreteDynamicsWorld_removeConstraint_1,$p=s._emscripten_bind_btDiscreteDynamicsWorld_removeRigidBody_1=pt._emscripten_bind_btDiscreteDynamicsWorld_removeRigidBody_1,tc=s._emscripten_bind_btDiscreteDynamicsWorld_setDebugDrawer_1=pt._emscripten_bind_btDiscreteDynamicsWorld_setDebugDrawer_1,ec=s._emscripten_bind_btDiscreteDynamicsWorld_setGravity_1=pt._emscripten_bind_btDiscreteDynamicsWorld_setGravity_1,ic=s._emscripten_bind_btDiscreteDynamicsWorld_stepSimulation_1=pt._emscripten_bind_btDiscreteDynamicsWorld_stepSimulation_1,nc=s._emscripten_bind_btDiscreteDynamicsWorld_stepSimulation_2=pt._emscripten_bind_btDiscreteDynamicsWorld_stepSimulation_2,oc=s._emscripten_bind_btDiscreteDynamicsWorld_stepSimulation_3=pt._emscripten_bind_btDiscreteDynamicsWorld_stepSimulation_3,_c=s._emscripten_bind_btDiscreteDynamicsWorld_updateSingleAabb_1=pt._emscripten_bind_btDiscreteDynamicsWorld_updateSingleAabb_1,rc=s._emscripten_bind_btDispatcherInfo___destroy___0=pt._emscripten_bind_btDispatcherInfo___destroy___0,sc=s._emscripten_bind_btDispatcherInfo_get_m_allowedCcdPenetration_0=pt._emscripten_bind_btDispatcherInfo_get_m_allowedCcdPenetration_0,pc=s._emscripten_bind_btDispatcherInfo_get_m_convexConservativeDistanceThreshold_0=pt._emscripten_bind_btDispatcherInfo_get_m_convexConservativeDistanceThreshold_0,cc=s._emscripten_bind_btDispatcherInfo_get_m_dispatchFunc_0=pt._emscripten_bind_btDispatcherInfo_get_m_dispatchFunc_0,ac=s._emscripten_bind_btDispatcherInfo_get_m_enableSPU_0=pt._emscripten_bind_btDispatcherInfo_get_m_enableSPU_0,bc=s._emscripten_bind_btDispatcherInfo_get_m_enableSatConvex_0=pt._emscripten_bind_btDispatcherInfo_get_m_enableSatConvex_0,dc=s._emscripten_bind_btDispatcherInfo_get_m_stepCount_0=pt._emscripten_bind_btDispatcherInfo_get_m_stepCount_0,lc=s._emscripten_bind_btDispatcherInfo_get_m_timeOfImpact_0=pt._emscripten_bind_btDispatcherInfo_get_m_timeOfImpact_0,Ac=s._emscripten_bind_btDispatcherInfo_get_m_timeStep_0=pt._emscripten_bind_btDispatcherInfo_get_m_timeStep_0,fc=s._emscripten_bind_btDispatcherInfo_get_m_useContinuous_0=pt._emscripten_bind_btDispatcherInfo_get_m_useContinuous_0,uc=s._emscripten_bind_btDispatcherInfo_get_m_useConvexConservativeDistanceUtil_0=pt._emscripten_bind_btDispatcherInfo_get_m_useConvexConservativeDistanceUtil_0,mc=s._emscripten_bind_btDispatcherInfo_get_m_useEpa_0=pt._emscripten_bind_btDispatcherInfo_get_m_useEpa_0,hc=s._emscripten_bind_btDispatcherInfo_set_m_allowedCcdPenetration_1=pt._emscripten_bind_btDispatcherInfo_set_m_allowedCcdPenetration_1,yc=s._emscripten_bind_btDispatcherInfo_set_m_convexConservativeDistanceThreshold_1=pt._emscripten_bind_btDispatcherInfo_set_m_convexConservativeDistanceThreshold_1,gc=s._emscripten_bind_btDispatcherInfo_set_m_dispatchFunc_1=pt._emscripten_bind_btDispatcherInfo_set_m_dispatchFunc_1,Cc=s._emscripten_bind_btDispatcherInfo_set_m_enableSPU_1=pt._emscripten_bind_btDispatcherInfo_set_m_enableSPU_1,vc=s._emscripten_bind_btDispatcherInfo_set_m_enableSatConvex_1=pt._emscripten_bind_btDispatcherInfo_set_m_enableSatConvex_1,Sc=s._emscripten_bind_btDispatcherInfo_set_m_stepCount_1=pt._emscripten_bind_btDispatcherInfo_set_m_stepCount_1,wc=s._emscripten_bind_btDispatcherInfo_set_m_timeOfImpact_1=pt._emscripten_bind_btDispatcherInfo_set_m_timeOfImpact_1,kc=s._emscripten_bind_btDispatcherInfo_set_m_timeStep_1=pt._emscripten_bind_btDispatcherInfo_set_m_timeStep_1,Rc=s._emscripten_bind_btDispatcherInfo_set_m_useContinuous_1=pt._emscripten_bind_btDispatcherInfo_set_m_useContinuous_1,jc=s._emscripten_bind_btDispatcherInfo_set_m_useConvexConservativeDistanceUtil_1=pt._emscripten_bind_btDispatcherInfo_set_m_useConvexConservativeDistanceUtil_1,Dc=s._emscripten_bind_btDispatcherInfo_set_m_useEpa_1=pt._emscripten_bind_btDispatcherInfo_set_m_useEpa_1,Ic=s._emscripten_bind_btDispatcher___destroy___0=pt._emscripten_bind_btDispatcher___destroy___0,Bc=s._emscripten_bind_btDispatcher_getManifoldByIndexInternal_1=pt._emscripten_bind_btDispatcher_getManifoldByIndexInternal_1,Wc=s._emscripten_bind_btDispatcher_getNumManifolds_0=pt._emscripten_bind_btDispatcher_getNumManifolds_0,Fc=s._emscripten_bind_btDynamicsWorld___destroy___0=pt._emscripten_bind_btDynamicsWorld___destroy___0,Oc=s._emscripten_bind_btDynamicsWorld_addAction_1=pt._emscripten_bind_btDynamicsWorld_addAction_1,xc=s._emscripten_bind_btDynamicsWorld_addCollisionObject_1=pt._emscripten_bind_btDynamicsWorld_addCollisionObject_1,Tc=s._emscripten_bind_btDynamicsWorld_addCollisionObject_2=pt._emscripten_bind_btDynamicsWorld_addCollisionObject_2,Pc=s._emscripten_bind_btDynamicsWorld_addCollisionObject_3=pt._emscripten_bind_btDynamicsWorld_addCollisionObject_3,Vc=s._emscripten_bind_btDynamicsWorld_contactPairTest_3=pt._emscripten_bind_btDynamicsWorld_contactPairTest_3,Mc=s._emscripten_bind_btDynamicsWorld_contactTest_2=pt._emscripten_bind_btDynamicsWorld_contactTest_2,Gc=s._emscripten_bind_btDynamicsWorld_convexSweepTest_5=pt._emscripten_bind_btDynamicsWorld_convexSweepTest_5,Lc=s._emscripten_bind_btDynamicsWorld_debugDrawObject_3=pt._emscripten_bind_btDynamicsWorld_debugDrawObject_3,Nc=s._emscripten_bind_btDynamicsWorld_debugDrawWorld_0=pt._emscripten_bind_btDynamicsWorld_debugDrawWorld_0,Qc=s._emscripten_bind_btDynamicsWorld_getBroadphase_0=pt._emscripten_bind_btDynamicsWorld_getBroadphase_0,Ec=s._emscripten_bind_btDynamicsWorld_getDebugDrawer_0=pt._emscripten_bind_btDynamicsWorld_getDebugDrawer_0,Hc=s._emscripten_bind_btDynamicsWorld_getDispatchInfo_0=pt._emscripten_bind_btDynamicsWorld_getDispatchInfo_0,Zc=s._emscripten_bind_btDynamicsWorld_getDispatcher_0=pt._emscripten_bind_btDynamicsWorld_getDispatcher_0,Uc=s._emscripten_bind_btDynamicsWorld_getPairCache_0=pt._emscripten_bind_btDynamicsWorld_getPairCache_0,Yc=s._emscripten_bind_btDynamicsWorld_getSolverInfo_0=pt._emscripten_bind_btDynamicsWorld_getSolverInfo_0,Jc=s._emscripten_bind_btDynamicsWorld_performDiscreteCollisionDetection_0=pt._emscripten_bind_btDynamicsWorld_performDiscreteCollisionDetection_0,Xc=s._emscripten_bind_btDynamicsWorld_rayTest_3=pt._emscripten_bind_btDynamicsWorld_rayTest_3,zc=s._emscripten_bind_btDynamicsWorld_removeAction_1=pt._emscripten_bind_btDynamicsWorld_removeAction_1,Kc=s._emscripten_bind_btDynamicsWorld_removeCollisionObject_1=pt._emscripten_bind_btDynamicsWorld_removeCollisionObject_1,qc=s._emscripten_bind_btDynamicsWorld_setDebugDrawer_1=pt._emscripten_bind_btDynamicsWorld_setDebugDrawer_1,$c=s._emscripten_bind_btDynamicsWorld_updateSingleAabb_1=pt._emscripten_bind_btDynamicsWorld_updateSingleAabb_1,ta=s._emscripten_bind_btFaceArray___destroy___0=pt._emscripten_bind_btFaceArray___destroy___0,ea=s._emscripten_bind_btFaceArray_at_1=pt._emscripten_bind_btFaceArray_at_1,ia=s._emscripten_bind_btFaceArray_size_0=pt._emscripten_bind_btFaceArray_size_0,na=s._emscripten_bind_btFace___destroy___0=pt._emscripten_bind_btFace___destroy___0,oa=s._emscripten_bind_btFace_get_m_indices_0=pt._emscripten_bind_btFace_get_m_indices_0,_a=s._emscripten_bind_btFace_get_m_plane_1=pt._emscripten_bind_btFace_get_m_plane_1,ra=s._emscripten_bind_btFace_set_m_indices_1=pt._emscripten_bind_btFace_set_m_indices_1,sa=s._emscripten_bind_btFace_set_m_plane_2=pt._emscripten_bind_btFace_set_m_plane_2,pa=s._emscripten_bind_btFixedConstraint___destroy___0=pt._emscripten_bind_btFixedConstraint___destroy___0,ca=s._emscripten_bind_btFixedConstraint_btFixedConstraint_4=pt._emscripten_bind_btFixedConstraint_btFixedConstraint_4,aa=s._emscripten_bind_btFixedConstraint_enableFeedback_1=pt._emscripten_bind_btFixedConstraint_enableFeedback_1,ba=s._emscripten_bind_btFixedConstraint_getBreakingImpulseThreshold_0=pt._emscripten_bind_btFixedConstraint_getBreakingImpulseThreshold_0,da=s._emscripten_bind_btFixedConstraint_getParam_2=pt._emscripten_bind_btFixedConstraint_getParam_2,la=s._emscripten_bind_btFixedConstraint_setBreakingImpulseThreshold_1=pt._emscripten_bind_btFixedConstraint_setBreakingImpulseThreshold_1,Aa=s._emscripten_bind_btFixedConstraint_setParam_3=pt._emscripten_bind_btFixedConstraint_setParam_3,fa=s._emscripten_bind_btGeneric6DofConstraint___destroy___0=pt._emscripten_bind_btGeneric6DofConstraint___destroy___0,ua=s._emscripten_bind_btGeneric6DofConstraint_btGeneric6DofConstraint_3=pt._emscripten_bind_btGeneric6DofConstraint_btGeneric6DofConstraint_3,ma=s._emscripten_bind_btGeneric6DofConstraint_btGeneric6DofConstraint_5=pt._emscripten_bind_btGeneric6DofConstraint_btGeneric6DofConstraint_5,ha=s._emscripten_bind_btGeneric6DofConstraint_enableFeedback_1=pt._emscripten_bind_btGeneric6DofConstraint_enableFeedback_1,ya=s._emscripten_bind_btGeneric6DofConstraint_getBreakingImpulseThreshold_0=pt._emscripten_bind_btGeneric6DofConstraint_getBreakingImpulseThreshold_0,ga=s._emscripten_bind_btGeneric6DofConstraint_getFrameOffsetA_0=pt._emscripten_bind_btGeneric6DofConstraint_getFrameOffsetA_0,Ca=s._emscripten_bind_btGeneric6DofConstraint_getParam_2=pt._emscripten_bind_btGeneric6DofConstraint_getParam_2,va=s._emscripten_bind_btGeneric6DofConstraint_setAngularLowerLimit_1=pt._emscripten_bind_btGeneric6DofConstraint_setAngularLowerLimit_1,Sa=s._emscripten_bind_btGeneric6DofConstraint_setAngularUpperLimit_1=pt._emscripten_bind_btGeneric6DofConstraint_setAngularUpperLimit_1,wa=s._emscripten_bind_btGeneric6DofConstraint_setBreakingImpulseThreshold_1=pt._emscripten_bind_btGeneric6DofConstraint_setBreakingImpulseThreshold_1,ka=s._emscripten_bind_btGeneric6DofConstraint_setLinearLowerLimit_1=pt._emscripten_bind_btGeneric6DofConstraint_setLinearLowerLimit_1,Ra=s._emscripten_bind_btGeneric6DofConstraint_setLinearUpperLimit_1=pt._emscripten_bind_btGeneric6DofConstraint_setLinearUpperLimit_1,ja=s._emscripten_bind_btGeneric6DofConstraint_setParam_3=pt._emscripten_bind_btGeneric6DofConstraint_setParam_3,Da=s._emscripten_bind_btGeneric6DofSpringConstraint___destroy___0=pt._emscripten_bind_btGeneric6DofSpringConstraint___destroy___0,Ia=s._emscripten_bind_btGeneric6DofSpringConstraint_btGeneric6DofSpringConstraint_3=pt._emscripten_bind_btGeneric6DofSpringConstraint_btGeneric6DofSpringConstraint_3,Ba=s._emscripten_bind_btGeneric6DofSpringConstraint_btGeneric6DofSpringConstraint_5=pt._emscripten_bind_btGeneric6DofSpringConstraint_btGeneric6DofSpringConstraint_5,Wa=s._emscripten_bind_btGeneric6DofSpringConstraint_enableFeedback_1=pt._emscripten_bind_btGeneric6DofSpringConstraint_enableFeedback_1,Fa=s._emscripten_bind_btGeneric6DofSpringConstraint_enableSpring_2=pt._emscripten_bind_btGeneric6DofSpringConstraint_enableSpring_2,Oa=s._emscripten_bind_btGeneric6DofSpringConstraint_getBreakingImpulseThreshold_0=pt._emscripten_bind_btGeneric6DofSpringConstraint_getBreakingImpulseThreshold_0,xa=s._emscripten_bind_btGeneric6DofSpringConstraint_getFrameOffsetA_0=pt._emscripten_bind_btGeneric6DofSpringConstraint_getFrameOffsetA_0,Ta=s._emscripten_bind_btGeneric6DofSpringConstraint_getParam_2=pt._emscripten_bind_btGeneric6DofSpringConstraint_getParam_2,Pa=s._emscripten_bind_btGeneric6DofSpringConstraint_setAngularLowerLimit_1=pt._emscripten_bind_btGeneric6DofSpringConstraint_setAngularLowerLimit_1,Va=s._emscripten_bind_btGeneric6DofSpringConstraint_setAngularUpperLimit_1=pt._emscripten_bind_btGeneric6DofSpringConstraint_setAngularUpperLimit_1,Ma=s._emscripten_bind_btGeneric6DofSpringConstraint_setBreakingImpulseThreshold_1=pt._emscripten_bind_btGeneric6DofSpringConstraint_setBreakingImpulseThreshold_1,Ga=s._emscripten_bind_btGeneric6DofSpringConstraint_setDamping_2=pt._emscripten_bind_btGeneric6DofSpringConstraint_setDamping_2,La=s._emscripten_bind_btGeneric6DofSpringConstraint_setLinearLowerLimit_1=pt._emscripten_bind_btGeneric6DofSpringConstraint_setLinearLowerLimit_1,Na=s._emscripten_bind_btGeneric6DofSpringConstraint_setLinearUpperLimit_1=pt._emscripten_bind_btGeneric6DofSpringConstraint_setLinearUpperLimit_1,Qa=s._emscripten_bind_btGeneric6DofSpringConstraint_setParam_3=pt._emscripten_bind_btGeneric6DofSpringConstraint_setParam_3,Ea=s._emscripten_bind_btGeneric6DofSpringConstraint_setStiffness_2=pt._emscripten_bind_btGeneric6DofSpringConstraint_setStiffness_2,Ha=s._emscripten_bind_btGhostObject___destroy___0=pt._emscripten_bind_btGhostObject___destroy___0,Za=s._emscripten_bind_btGhostObject_activate_0=pt._emscripten_bind_btGhostObject_activate_0,Ua=s._emscripten_bind_btGhostObject_activate_1=pt._emscripten_bind_btGhostObject_activate_1,Ya=s._emscripten_bind_btGhostObject_btGhostObject_0=pt._emscripten_bind_btGhostObject_btGhostObject_0,Ja=s._emscripten_bind_btGhostObject_forceActivationState_1=pt._emscripten_bind_btGhostObject_forceActivationState_1,Xa=s._emscripten_bind_btGhostObject_getCollisionFlags_0=pt._emscripten_bind_btGhostObject_getCollisionFlags_0,za=s._emscripten_bind_btGhostObject_getCollisionShape_0=pt._emscripten_bind_btGhostObject_getCollisionShape_0,Ka=s._emscripten_bind_btGhostObject_getNumOverlappingObjects_0=pt._emscripten_bind_btGhostObject_getNumOverlappingObjects_0,qa=s._emscripten_bind_btGhostObject_getOverlappingObject_1=pt._emscripten_bind_btGhostObject_getOverlappingObject_1,$a=s._emscripten_bind_btGhostObject_getUserIndex_0=pt._emscripten_bind_btGhostObject_getUserIndex_0,tb=s._emscripten_bind_btGhostObject_getUserPointer_0=pt._emscripten_bind_btGhostObject_getUserPointer_0,eb=s._emscripten_bind_btGhostObject_getWorldTransform_0=pt._emscripten_bind_btGhostObject_getWorldTransform_0,ib=s._emscripten_bind_btGhostObject_isActive_0=pt._emscripten_bind_btGhostObject_isActive_0,nb=s._emscripten_bind_btGhostObject_isKinematicObject_0=pt._emscripten_bind_btGhostObject_isKinematicObject_0,ob=s._emscripten_bind_btGhostObject_isStaticObject_0=pt._emscripten_bind_btGhostObject_isStaticObject_0,_b=s._emscripten_bind_btGhostObject_isStaticOrKinematicObject_0=pt._emscripten_bind_btGhostObject_isStaticOrKinematicObject_0,rb=s._emscripten_bind_btGhostObject_setActivationState_1=pt._emscripten_bind_btGhostObject_setActivationState_1,sb=s._emscripten_bind_btGhostObject_setAnisotropicFriction_2=pt._emscripten_bind_btGhostObject_setAnisotropicFriction_2,pb=s._emscripten_bind_btGhostObject_setCcdMotionThreshold_1=pt._emscripten_bind_btGhostObject_setCcdMotionThreshold_1,cb=s._emscripten_bind_btGhostObject_setCcdSweptSphereRadius_1=pt._emscripten_bind_btGhostObject_setCcdSweptSphereRadius_1,ab=s._emscripten_bind_btGhostObject_setCollisionFlags_1=pt._emscripten_bind_btGhostObject_setCollisionFlags_1,bb=s._emscripten_bind_btGhostObject_setCollisionShape_1=pt._emscripten_bind_btGhostObject_setCollisionShape_1,db=s._emscripten_bind_btGhostObject_setContactProcessingThreshold_1=pt._emscripten_bind_btGhostObject_setContactProcessingThreshold_1,lb=s._emscripten_bind_btGhostObject_setFriction_1=pt._emscripten_bind_btGhostObject_setFriction_1,Ab=s._emscripten_bind_btGhostObject_setRestitution_1=pt._emscripten_bind_btGhostObject_setRestitution_1,fb=s._emscripten_bind_btGhostObject_setRollingFriction_1=pt._emscripten_bind_btGhostObject_setRollingFriction_1,ub=s._emscripten_bind_btGhostObject_setUserIndex_1=pt._emscripten_bind_btGhostObject_setUserIndex_1,mb=s._emscripten_bind_btGhostObject_setUserPointer_1=pt._emscripten_bind_btGhostObject_setUserPointer_1,hb=s._emscripten_bind_btGhostObject_setWorldTransform_1=pt._emscripten_bind_btGhostObject_setWorldTransform_1,yb=s._emscripten_bind_btGhostPairCallback___destroy___0=pt._emscripten_bind_btGhostPairCallback___destroy___0,gb=s._emscripten_bind_btGhostPairCallback_btGhostPairCallback_0=pt._emscripten_bind_btGhostPairCallback_btGhostPairCallback_0,Cb=s._emscripten_bind_btHeightfieldTerrainShape___destroy___0=pt._emscripten_bind_btHeightfieldTerrainShape___destroy___0,vb=s._emscripten_bind_btHeightfieldTerrainShape_btHeightfieldTerrainShape_9=pt._emscripten_bind_btHeightfieldTerrainShape_btHeightfieldTerrainShape_9,Sb=s._emscripten_bind_btHeightfieldTerrainShape_calculateLocalInertia_2=pt._emscripten_bind_btHeightfieldTerrainShape_calculateLocalInertia_2,wb=s._emscripten_bind_btHeightfieldTerrainShape_getLocalScaling_0=pt._emscripten_bind_btHeightfieldTerrainShape_getLocalScaling_0,kb=s._emscripten_bind_btHeightfieldTerrainShape_getMargin_0=pt._emscripten_bind_btHeightfieldTerrainShape_getMargin_0,Rb=s._emscripten_bind_btHeightfieldTerrainShape_setLocalScaling_1=pt._emscripten_bind_btHeightfieldTerrainShape_setLocalScaling_1,jb=s._emscripten_bind_btHeightfieldTerrainShape_setMargin_1=pt._emscripten_bind_btHeightfieldTerrainShape_setMargin_1,Db=s._emscripten_bind_btHingeConstraint___destroy___0=pt._emscripten_bind_btHingeConstraint___destroy___0,Ib=s._emscripten_bind_btHingeConstraint_btHingeConstraint_2=pt._emscripten_bind_btHingeConstraint_btHingeConstraint_2,Bb=s._emscripten_bind_btHingeConstraint_btHingeConstraint_3=pt._emscripten_bind_btHingeConstraint_btHingeConstraint_3,Wb=s._emscripten_bind_btHingeConstraint_btHingeConstraint_4=pt._emscripten_bind_btHingeConstraint_btHingeConstraint_4,Fb=s._emscripten_bind_btHingeConstraint_btHingeConstraint_5=pt._emscripten_bind_btHingeConstraint_btHingeConstraint_5,Ob=s._emscripten_bind_btHingeConstraint_btHingeConstraint_6=pt._emscripten_bind_btHingeConstraint_btHingeConstraint_6,xb=s._emscripten_bind_btHingeConstraint_btHingeConstraint_7=pt._emscripten_bind_btHingeConstraint_btHingeConstraint_7,Tb=s._emscripten_bind_btHingeConstraint_enableAngularMotor_3=pt._emscripten_bind_btHingeConstraint_enableAngularMotor_3,Pb=s._emscripten_bind_btHingeConstraint_enableFeedback_1=pt._emscripten_bind_btHingeConstraint_enableFeedback_1,Vb=s._emscripten_bind_btHingeConstraint_enableMotor_1=pt._emscripten_bind_btHingeConstraint_enableMotor_1,Mb=s._emscripten_bind_btHingeConstraint_getBreakingImpulseThreshold_0=pt._emscripten_bind_btHingeConstraint_getBreakingImpulseThreshold_0,Gb=s._emscripten_bind_btHingeConstraint_getParam_2=pt._emscripten_bind_btHingeConstraint_getParam_2,Lb=s._emscripten_bind_btHingeConstraint_setAngularOnly_1=pt._emscripten_bind_btHingeConstraint_setAngularOnly_1,Nb=s._emscripten_bind_btHingeConstraint_setBreakingImpulseThreshold_1=pt._emscripten_bind_btHingeConstraint_setBreakingImpulseThreshold_1,Qb=s._emscripten_bind_btHingeConstraint_setLimit_4=pt._emscripten_bind_btHingeConstraint_setLimit_4,Eb=s._emscripten_bind_btHingeConstraint_setLimit_5=pt._emscripten_bind_btHingeConstraint_setLimit_5,Hb=s._emscripten_bind_btHingeConstraint_setMaxMotorImpulse_1=pt._emscripten_bind_btHingeConstraint_setMaxMotorImpulse_1,Zb=s._emscripten_bind_btHingeConstraint_setMotorTarget_2=pt._emscripten_bind_btHingeConstraint_setMotorTarget_2,Ub=s._emscripten_bind_btHingeConstraint_setParam_3=pt._emscripten_bind_btHingeConstraint_setParam_3,Yb=s._emscripten_bind_btIDebugDraw___destroy___0=pt._emscripten_bind_btIDebugDraw___destroy___0,Jb=s._emscripten_bind_btIDebugDraw_draw3dText_2=pt._emscripten_bind_btIDebugDraw_draw3dText_2,Xb=s._emscripten_bind_btIDebugDraw_drawContactPoint_5=pt._emscripten_bind_btIDebugDraw_drawContactPoint_5,zb=s._emscripten_bind_btIDebugDraw_drawLine_3=pt._emscripten_bind_btIDebugDraw_drawLine_3,Kb=s._emscripten_bind_btIDebugDraw_getDebugMode_0=pt._emscripten_bind_btIDebugDraw_getDebugMode_0,qb=s._emscripten_bind_btIDebugDraw_reportErrorWarning_1=pt._emscripten_bind_btIDebugDraw_reportErrorWarning_1,$b=s._emscripten_bind_btIDebugDraw_setDebugMode_1=pt._emscripten_bind_btIDebugDraw_setDebugMode_1,td=s._emscripten_bind_btIntArray___destroy___0=pt._emscripten_bind_btIntArray___destroy___0,ed=s._emscripten_bind_btIntArray_at_1=pt._emscripten_bind_btIntArray_at_1,id=s._emscripten_bind_btIntArray_size_0=pt._emscripten_bind_btIntArray_size_0,nd=s._emscripten_bind_btKinematicCharacterController___destroy___0=pt._emscripten_bind_btKinematicCharacterController___destroy___0,od=s._emscripten_bind_btKinematicCharacterController_btKinematicCharacterController_3=pt._emscripten_bind_btKinematicCharacterController_btKinematicCharacterController_3,_d=s._emscripten_bind_btKinematicCharacterController_btKinematicCharacterController_4=pt._emscripten_bind_btKinematicCharacterController_btKinematicCharacterController_4,rd=s._emscripten_bind_btKinematicCharacterController_canJump_0=pt._emscripten_bind_btKinematicCharacterController_canJump_0,sd=s._emscripten_bind_btKinematicCharacterController_getGhostObject_0=pt._emscripten_bind_btKinematicCharacterController_getGhostObject_0,pd=s._emscripten_bind_btKinematicCharacterController_getGravity_0=pt._emscripten_bind_btKinematicCharacterController_getGravity_0,cd=s._emscripten_bind_btKinematicCharacterController_getMaxSlope_0=pt._emscripten_bind_btKinematicCharacterController_getMaxSlope_0,ad=s._emscripten_bind_btKinematicCharacterController_jump_0=pt._emscripten_bind_btKinematicCharacterController_jump_0,bd=s._emscripten_bind_btKinematicCharacterController_onGround_0=pt._emscripten_bind_btKinematicCharacterController_onGround_0,dd=s._emscripten_bind_btKinematicCharacterController_playerStep_2=pt._emscripten_bind_btKinematicCharacterController_playerStep_2,ld=s._emscripten_bind_btKinematicCharacterController_preStep_1=pt._emscripten_bind_btKinematicCharacterController_preStep_1,Ad=s._emscripten_bind_btKinematicCharacterController_setFallSpeed_1=pt._emscripten_bind_btKinematicCharacterController_setFallSpeed_1,fd=s._emscripten_bind_btKinematicCharacterController_setGravity_1=pt._emscripten_bind_btKinematicCharacterController_setGravity_1,ud=s._emscripten_bind_btKinematicCharacterController_setJumpSpeed_1=pt._emscripten_bind_btKinematicCharacterController_setJumpSpeed_1,md=s._emscripten_bind_btKinematicCharacterController_setMaxJumpHeight_1=pt._emscripten_bind_btKinematicCharacterController_setMaxJumpHeight_1,hd=s._emscripten_bind_btKinematicCharacterController_setMaxSlope_1=pt._emscripten_bind_btKinematicCharacterController_setMaxSlope_1,yd=s._emscripten_bind_btKinematicCharacterController_setUpAxis_1=pt._emscripten_bind_btKinematicCharacterController_setUpAxis_1,gd=s._emscripten_bind_btKinematicCharacterController_setUpInterpolate_1=pt._emscripten_bind_btKinematicCharacterController_setUpInterpolate_1,Cd=s._emscripten_bind_btKinematicCharacterController_setUseGhostSweepTest_1=pt._emscripten_bind_btKinematicCharacterController_setUseGhostSweepTest_1,vd=s._emscripten_bind_btKinematicCharacterController_setVelocityForTimeInterval_2=pt._emscripten_bind_btKinematicCharacterController_setVelocityForTimeInterval_2,Sd=s._emscripten_bind_btKinematicCharacterController_setWalkDirection_1=pt._emscripten_bind_btKinematicCharacterController_setWalkDirection_1,wd=s._emscripten_bind_btKinematicCharacterController_updateAction_2=pt._emscripten_bind_btKinematicCharacterController_updateAction_2,kd=s._emscripten_bind_btKinematicCharacterController_warp_1=pt._emscripten_bind_btKinematicCharacterController_warp_1,Rd=s._emscripten_bind_btManifoldPoint___destroy___0=pt._emscripten_bind_btManifoldPoint___destroy___0,jd=s._emscripten_bind_btManifoldPoint_getAppliedImpulse_0=pt._emscripten_bind_btManifoldPoint_getAppliedImpulse_0,Dd=s._emscripten_bind_btManifoldPoint_getDistance_0=pt._emscripten_bind_btManifoldPoint_getDistance_0,Id=s._emscripten_bind_btManifoldPoint_getPositionWorldOnA_0=pt._emscripten_bind_btManifoldPoint_getPositionWorldOnA_0,Bd=s._emscripten_bind_btManifoldPoint_getPositionWorldOnB_0=pt._emscripten_bind_btManifoldPoint_getPositionWorldOnB_0,Wd=s._emscripten_bind_btManifoldPoint_get_m_localPointA_0=pt._emscripten_bind_btManifoldPoint_get_m_localPointA_0,Fd=s._emscripten_bind_btManifoldPoint_get_m_localPointB_0=pt._emscripten_bind_btManifoldPoint_get_m_localPointB_0,Od=s._emscripten_bind_btManifoldPoint_get_m_normalWorldOnB_0=pt._emscripten_bind_btManifoldPoint_get_m_normalWorldOnB_0,xd=s._emscripten_bind_btManifoldPoint_get_m_positionWorldOnA_0=pt._emscripten_bind_btManifoldPoint_get_m_positionWorldOnA_0,Td=s._emscripten_bind_btManifoldPoint_get_m_positionWorldOnB_0=pt._emscripten_bind_btManifoldPoint_get_m_positionWorldOnB_0,Pd=s._emscripten_bind_btManifoldPoint_set_m_localPointA_1=pt._emscripten_bind_btManifoldPoint_set_m_localPointA_1,Vd=s._emscripten_bind_btManifoldPoint_set_m_localPointB_1=pt._emscripten_bind_btManifoldPoint_set_m_localPointB_1,Md=s._emscripten_bind_btManifoldPoint_set_m_normalWorldOnB_1=pt._emscripten_bind_btManifoldPoint_set_m_normalWorldOnB_1,Gd=s._emscripten_bind_btManifoldPoint_set_m_positionWorldOnA_1=pt._emscripten_bind_btManifoldPoint_set_m_positionWorldOnA_1,Ld=s._emscripten_bind_btManifoldPoint_set_m_positionWorldOnB_1=pt._emscripten_bind_btManifoldPoint_set_m_positionWorldOnB_1,Nd=s._emscripten_bind_btMatrix3x3___destroy___0=pt._emscripten_bind_btMatrix3x3___destroy___0,Qd=s._emscripten_bind_btMatrix3x3_getRotation_1=pt._emscripten_bind_btMatrix3x3_getRotation_1,Ed=s._emscripten_bind_btMatrix3x3_getRow_1=pt._emscripten_bind_btMatrix3x3_getRow_1,Hd=s._emscripten_bind_btMatrix3x3_setEulerZYX_3=pt._emscripten_bind_btMatrix3x3_setEulerZYX_3,Zd=s._emscripten_bind_btMatrix3x3_setValue_9=pt._emscripten_bind_btMatrix3x3_setValue_9,Ud=s._emscripten_bind_btMotionState___destroy___0=pt._emscripten_bind_btMotionState___destroy___0,Yd=s._emscripten_bind_btMotionState_getWorldTransform_1=pt._emscripten_bind_btMotionState_getWorldTransform_1,Jd=s._emscripten_bind_btMotionState_setWorldTransform_1=pt._emscripten_bind_btMotionState_setWorldTransform_1,Xd=s._emscripten_bind_btOverlappingPairCache___destroy___0=pt._emscripten_bind_btOverlappingPairCache___destroy___0,zd=s._emscripten_bind_btOverlappingPairCache_setInternalGhostPairCallback_1=pt._emscripten_bind_btOverlappingPairCache_setInternalGhostPairCallback_1,Kd=s._emscripten_bind_btOverlappingPairCallback___destroy___0=pt._emscripten_bind_btOverlappingPairCallback___destroy___0,qd=s._emscripten_bind_btPairCachingGhostObject___destroy___0=pt._emscripten_bind_btPairCachingGhostObject___destroy___0,$d=s._emscripten_bind_btPairCachingGhostObject_activate_0=pt._emscripten_bind_btPairCachingGhostObject_activate_0,tl=s._emscripten_bind_btPairCachingGhostObject_activate_1=pt._emscripten_bind_btPairCachingGhostObject_activate_1,el=s._emscripten_bind_btPairCachingGhostObject_btPairCachingGhostObject_0=pt._emscripten_bind_btPairCachingGhostObject_btPairCachingGhostObject_0,il=s._emscripten_bind_btPairCachingGhostObject_forceActivationState_1=pt._emscripten_bind_btPairCachingGhostObject_forceActivationState_1,nl=s._emscripten_bind_btPairCachingGhostObject_getCollisionFlags_0=pt._emscripten_bind_btPairCachingGhostObject_getCollisionFlags_0,ol=s._emscripten_bind_btPairCachingGhostObject_getCollisionShape_0=pt._emscripten_bind_btPairCachingGhostObject_getCollisionShape_0,_l=s._emscripten_bind_btPairCachingGhostObject_getNumOverlappingObjects_0=pt._emscripten_bind_btPairCachingGhostObject_getNumOverlappingObjects_0,rl=s._emscripten_bind_btPairCachingGhostObject_getOverlappingObject_1=pt._emscripten_bind_btPairCachingGhostObject_getOverlappingObject_1,sl=s._emscripten_bind_btPairCachingGhostObject_getUserIndex_0=pt._emscripten_bind_btPairCachingGhostObject_getUserIndex_0,pl=s._emscripten_bind_btPairCachingGhostObject_getUserPointer_0=pt._emscripten_bind_btPairCachingGhostObject_getUserPointer_0,cl=s._emscripten_bind_btPairCachingGhostObject_getWorldTransform_0=pt._emscripten_bind_btPairCachingGhostObject_getWorldTransform_0,al=s._emscripten_bind_btPairCachingGhostObject_isActive_0=pt._emscripten_bind_btPairCachingGhostObject_isActive_0,bl=s._emscripten_bind_btPairCachingGhostObject_isKinematicObject_0=pt._emscripten_bind_btPairCachingGhostObject_isKinematicObject_0,dl=s._emscripten_bind_btPairCachingGhostObject_isStaticObject_0=pt._emscripten_bind_btPairCachingGhostObject_isStaticObject_0,ll=s._emscripten_bind_btPairCachingGhostObject_isStaticOrKinematicObject_0=pt._emscripten_bind_btPairCachingGhostObject_isStaticOrKinematicObject_0,Al=s._emscripten_bind_btPairCachingGhostObject_setActivationState_1=pt._emscripten_bind_btPairCachingGhostObject_setActivationState_1,fl=s._emscripten_bind_btPairCachingGhostObject_setAnisotropicFriction_2=pt._emscripten_bind_btPairCachingGhostObject_setAnisotropicFriction_2,ul=s._emscripten_bind_btPairCachingGhostObject_setCcdMotionThreshold_1=pt._emscripten_bind_btPairCachingGhostObject_setCcdMotionThreshold_1,ml=s._emscripten_bind_btPairCachingGhostObject_setCcdSweptSphereRadius_1=pt._emscripten_bind_btPairCachingGhostObject_setCcdSweptSphereRadius_1,hl=s._emscripten_bind_btPairCachingGhostObject_setCollisionFlags_1=pt._emscripten_bind_btPairCachingGhostObject_setCollisionFlags_1,yl=s._emscripten_bind_btPairCachingGhostObject_setCollisionShape_1=pt._emscripten_bind_btPairCachingGhostObject_setCollisionShape_1,gl=s._emscripten_bind_btPairCachingGhostObject_setContactProcessingThreshold_1=pt._emscripten_bind_btPairCachingGhostObject_setContactProcessingThreshold_1,Cl=s._emscripten_bind_btPairCachingGhostObject_setFriction_1=pt._emscripten_bind_btPairCachingGhostObject_setFriction_1,vl=s._emscripten_bind_btPairCachingGhostObject_setRestitution_1=pt._emscripten_bind_btPairCachingGhostObject_setRestitution_1,Sl=s._emscripten_bind_btPairCachingGhostObject_setRollingFriction_1=pt._emscripten_bind_btPairCachingGhostObject_setRollingFriction_1,wl=s._emscripten_bind_btPairCachingGhostObject_setUserIndex_1=pt._emscripten_bind_btPairCachingGhostObject_setUserIndex_1,kl=s._emscripten_bind_btPairCachingGhostObject_setUserPointer_1=pt._emscripten_bind_btPairCachingGhostObject_setUserPointer_1,Rl=s._emscripten_bind_btPairCachingGhostObject_setWorldTransform_1=pt._emscripten_bind_btPairCachingGhostObject_setWorldTransform_1,jl=s._emscripten_bind_btPersistentManifold___destroy___0=pt._emscripten_bind_btPersistentManifold___destroy___0,Dl=s._emscripten_bind_btPersistentManifold_btPersistentManifold_0=pt._emscripten_bind_btPersistentManifold_btPersistentManifold_0,Il=s._emscripten_bind_btPersistentManifold_getBody0_0=pt._emscripten_bind_btPersistentManifold_getBody0_0,Bl=s._emscripten_bind_btPersistentManifold_getBody1_0=pt._emscripten_bind_btPersistentManifold_getBody1_0,Wl=s._emscripten_bind_btPersistentManifold_getContactPoint_1=pt._emscripten_bind_btPersistentManifold_getContactPoint_1,Fl=s._emscripten_bind_btPersistentManifold_getNumContacts_0=pt._emscripten_bind_btPersistentManifold_getNumContacts_0,Ol=s._emscripten_bind_btPoint2PointConstraint___destroy___0=pt._emscripten_bind_btPoint2PointConstraint___destroy___0,xl=s._emscripten_bind_btPoint2PointConstraint_btPoint2PointConstraint_2=pt._emscripten_bind_btPoint2PointConstraint_btPoint2PointConstraint_2,Tl=s._emscripten_bind_btPoint2PointConstraint_btPoint2PointConstraint_4=pt._emscripten_bind_btPoint2PointConstraint_btPoint2PointConstraint_4,Pl=s._emscripten_bind_btPoint2PointConstraint_enableFeedback_1=pt._emscripten_bind_btPoint2PointConstraint_enableFeedback_1,Vl=s._emscripten_bind_btPoint2PointConstraint_getBreakingImpulseThreshold_0=pt._emscripten_bind_btPoint2PointConstraint_getBreakingImpulseThreshold_0,Ml=s._emscripten_bind_btPoint2PointConstraint_getParam_2=pt._emscripten_bind_btPoint2PointConstraint_getParam_2,Gl=s._emscripten_bind_btPoint2PointConstraint_getPivotInA_0=pt._emscripten_bind_btPoint2PointConstraint_getPivotInA_0,Ll=s._emscripten_bind_btPoint2PointConstraint_getPivotInB_0=pt._emscripten_bind_btPoint2PointConstraint_getPivotInB_0,Nl=s._emscripten_bind_btPoint2PointConstraint_get_m_setting_0=pt._emscripten_bind_btPoint2PointConstraint_get_m_setting_0,Ql=s._emscripten_bind_btPoint2PointConstraint_setBreakingImpulseThreshold_1=pt._emscripten_bind_btPoint2PointConstraint_setBreakingImpulseThreshold_1,El=s._emscripten_bind_btPoint2PointConstraint_setParam_3=pt._emscripten_bind_btPoint2PointConstraint_setParam_3,Hl=s._emscripten_bind_btPoint2PointConstraint_setPivotA_1=pt._emscripten_bind_btPoint2PointConstraint_setPivotA_1,Zl=s._emscripten_bind_btPoint2PointConstraint_setPivotB_1=pt._emscripten_bind_btPoint2PointConstraint_setPivotB_1,Ul=s._emscripten_bind_btPoint2PointConstraint_set_m_setting_1=pt._emscripten_bind_btPoint2PointConstraint_set_m_setting_1,Yl=s._emscripten_bind_btQuadWord___destroy___0=pt._emscripten_bind_btQuadWord___destroy___0,Jl=s._emscripten_bind_btQuadWord_setW_1=pt._emscripten_bind_btQuadWord_setW_1,Xl=s._emscripten_bind_btQuadWord_setX_1=pt._emscripten_bind_btQuadWord_setX_1,zl=s._emscripten_bind_btQuadWord_setY_1=pt._emscripten_bind_btQuadWord_setY_1,Kl=s._emscripten_bind_btQuadWord_setZ_1=pt._emscripten_bind_btQuadWord_setZ_1,ql=s._emscripten_bind_btQuadWord_w_0=pt._emscripten_bind_btQuadWord_w_0,$l=s._emscripten_bind_btQuadWord_x_0=pt._emscripten_bind_btQuadWord_x_0,tA=s._emscripten_bind_btQuadWord_y_0=pt._emscripten_bind_btQuadWord_y_0,eA=s._emscripten_bind_btQuadWord_z_0=pt._emscripten_bind_btQuadWord_z_0,iA=s._emscripten_bind_btQuaternion___destroy___0=pt._emscripten_bind_btQuaternion___destroy___0,nA=s._emscripten_bind_btQuaternion_angleShortestPath_1=pt._emscripten_bind_btQuaternion_angleShortestPath_1,oA=s._emscripten_bind_btQuaternion_angle_1=pt._emscripten_bind_btQuaternion_angle_1,_A=s._emscripten_bind_btQuaternion_btQuaternion_4=pt._emscripten_bind_btQuaternion_btQuaternion_4,rA=s._emscripten_bind_btQuaternion_dot_1=pt._emscripten_bind_btQuaternion_dot_1,sA=s._emscripten_bind_btQuaternion_getAngleShortestPath_0=pt._emscripten_bind_btQuaternion_getAngleShortestPath_0,pA=s._emscripten_bind_btQuaternion_getAngle_0=pt._emscripten_bind_btQuaternion_getAngle_0,cA=s._emscripten_bind_btQuaternion_getAxis_0=pt._emscripten_bind_btQuaternion_getAxis_0,aA=s._emscripten_bind_btQuaternion_inverse_0=pt._emscripten_bind_btQuaternion_inverse_0,bA=s._emscripten_bind_btQuaternion_length2_0=pt._emscripten_bind_btQuaternion_length2_0,dA=s._emscripten_bind_btQuaternion_length_0=pt._emscripten_bind_btQuaternion_length_0,lA=s._emscripten_bind_btQuaternion_normalize_0=pt._emscripten_bind_btQuaternion_normalize_0,AA=s._emscripten_bind_btQuaternion_normalized_0=pt._emscripten_bind_btQuaternion_normalized_0,fA=s._emscripten_bind_btQuaternion_op_add_1=pt._emscripten_bind_btQuaternion_op_add_1,uA=s._emscripten_bind_btQuaternion_op_div_1=pt._emscripten_bind_btQuaternion_op_div_1,mA=s._emscripten_bind_btQuaternion_op_mul_1=pt._emscripten_bind_btQuaternion_op_mul_1,hA=s._emscripten_bind_btQuaternion_op_mulq_1=pt._emscripten_bind_btQuaternion_op_mulq_1,yA=s._emscripten_bind_btQuaternion_op_sub_1=pt._emscripten_bind_btQuaternion_op_sub_1,gA=s._emscripten_bind_btQuaternion_setEulerZYX_3=pt._emscripten_bind_btQuaternion_setEulerZYX_3,CA=s._emscripten_bind_btQuaternion_setRotation_2=pt._emscripten_bind_btQuaternion_setRotation_2,vA=s._emscripten_bind_btQuaternion_setValue_4=pt._emscripten_bind_btQuaternion_setValue_4,SA=s._emscripten_bind_btQuaternion_setW_1=pt._emscripten_bind_btQuaternion_setW_1,wA=s._emscripten_bind_btQuaternion_setX_1=pt._emscripten_bind_btQuaternion_setX_1,kA=s._emscripten_bind_btQuaternion_setY_1=pt._emscripten_bind_btQuaternion_setY_1,RA=s._emscripten_bind_btQuaternion_setZ_1=pt._emscripten_bind_btQuaternion_setZ_1,jA=s._emscripten_bind_btQuaternion_w_0=pt._emscripten_bind_btQuaternion_w_0,DA=s._emscripten_bind_btQuaternion_x_0=pt._emscripten_bind_btQuaternion_x_0,IA=s._emscripten_bind_btQuaternion_y_0=pt._emscripten_bind_btQuaternion_y_0,BA=s._emscripten_bind_btQuaternion_z_0=pt._emscripten_bind_btQuaternion_z_0,WA=s._emscripten_bind_btRaycastVehicle___destroy___0=pt._emscripten_bind_btRaycastVehicle___destroy___0,FA=s._emscripten_bind_btRaycastVehicle_addWheel_7=pt._emscripten_bind_btRaycastVehicle_addWheel_7,OA=s._emscripten_bind_btRaycastVehicle_applyEngineForce_2=pt._emscripten_bind_btRaycastVehicle_applyEngineForce_2,xA=s._emscripten_bind_btRaycastVehicle_btRaycastVehicle_3=pt._emscripten_bind_btRaycastVehicle_btRaycastVehicle_3,TA=s._emscripten_bind_btRaycastVehicle_getChassisWorldTransform_0=pt._emscripten_bind_btRaycastVehicle_getChassisWorldTransform_0,PA=s._emscripten_bind_btRaycastVehicle_getCurrentSpeedKmHour_0=pt._emscripten_bind_btRaycastVehicle_getCurrentSpeedKmHour_0,VA=s._emscripten_bind_btRaycastVehicle_getForwardAxis_0=pt._emscripten_bind_btRaycastVehicle_getForwardAxis_0,MA=s._emscripten_bind_btRaycastVehicle_getForwardVector_0=pt._emscripten_bind_btRaycastVehicle_getForwardVector_0,GA=s._emscripten_bind_btRaycastVehicle_getNumWheels_0=pt._emscripten_bind_btRaycastVehicle_getNumWheels_0,LA=s._emscripten_bind_btRaycastVehicle_getRightAxis_0=pt._emscripten_bind_btRaycastVehicle_getRightAxis_0,NA=s._emscripten_bind_btRaycastVehicle_getRigidBody_0=pt._emscripten_bind_btRaycastVehicle_getRigidBody_0,QA=s._emscripten_bind_btRaycastVehicle_getSteeringValue_1=pt._emscripten_bind_btRaycastVehicle_getSteeringValue_1,EA=s._emscripten_bind_btRaycastVehicle_getUpAxis_0=pt._emscripten_bind_btRaycastVehicle_getUpAxis_0,HA=s._emscripten_bind_btRaycastVehicle_getUserConstraintId_0=pt._emscripten_bind_btRaycastVehicle_getUserConstraintId_0,ZA=s._emscripten_bind_btRaycastVehicle_getUserConstraintType_0=pt._emscripten_bind_btRaycastVehicle_getUserConstraintType_0,UA=s._emscripten_bind_btRaycastVehicle_getWheelInfo_1=pt._emscripten_bind_btRaycastVehicle_getWheelInfo_1,YA=s._emscripten_bind_btRaycastVehicle_getWheelTransformWS_1=pt._emscripten_bind_btRaycastVehicle_getWheelTransformWS_1,JA=s._emscripten_bind_btRaycastVehicle_rayCast_1=pt._emscripten_bind_btRaycastVehicle_rayCast_1,XA=s._emscripten_bind_btRaycastVehicle_resetSuspension_0=pt._emscripten_bind_btRaycastVehicle_resetSuspension_0,zA=s._emscripten_bind_btRaycastVehicle_setBrake_2=pt._emscripten_bind_btRaycastVehicle_setBrake_2,KA=s._emscripten_bind_btRaycastVehicle_setCoordinateSystem_3=pt._emscripten_bind_btRaycastVehicle_setCoordinateSystem_3,qA=s._emscripten_bind_btRaycastVehicle_setPitchControl_1=pt._emscripten_bind_btRaycastVehicle_setPitchControl_1,$A=s._emscripten_bind_btRaycastVehicle_setSteeringValue_2=pt._emscripten_bind_btRaycastVehicle_setSteeringValue_2,tf=s._emscripten_bind_btRaycastVehicle_setUserConstraintId_1=pt._emscripten_bind_btRaycastVehicle_setUserConstraintId_1,ef=s._emscripten_bind_btRaycastVehicle_setUserConstraintType_1=pt._emscripten_bind_btRaycastVehicle_setUserConstraintType_1,nf=s._emscripten_bind_btRaycastVehicle_updateAction_2=pt._emscripten_bind_btRaycastVehicle_updateAction_2,of=s._emscripten_bind_btRaycastVehicle_updateFriction_1=pt._emscripten_bind_btRaycastVehicle_updateFriction_1,_f=s._emscripten_bind_btRaycastVehicle_updateSuspension_1=pt._emscripten_bind_btRaycastVehicle_updateSuspension_1,rf=s._emscripten_bind_btRaycastVehicle_updateVehicle_1=pt._emscripten_bind_btRaycastVehicle_updateVehicle_1,sf=s._emscripten_bind_btRaycastVehicle_updateWheelTransform_2=pt._emscripten_bind_btRaycastVehicle_updateWheelTransform_2,pf=s._emscripten_bind_btRaycastVehicle_updateWheelTransformsWS_1=pt._emscripten_bind_btRaycastVehicle_updateWheelTransformsWS_1,cf=s._emscripten_bind_btRaycastVehicle_updateWheelTransformsWS_2=pt._emscripten_bind_btRaycastVehicle_updateWheelTransformsWS_2,af=s._emscripten_bind_btRigidBodyConstructionInfo___destroy___0=pt._emscripten_bind_btRigidBodyConstructionInfo___destroy___0,bf=s._emscripten_bind_btRigidBodyConstructionInfo_btRigidBodyConstructionInfo_3=pt._emscripten_bind_btRigidBodyConstructionInfo_btRigidBodyConstructionInfo_3,df=s._emscripten_bind_btRigidBodyConstructionInfo_btRigidBodyConstructionInfo_4=pt._emscripten_bind_btRigidBodyConstructionInfo_btRigidBodyConstructionInfo_4,lf=s._emscripten_bind_btRigidBodyConstructionInfo_get_m_additionalAngularDampingFactor_0=pt._emscripten_bind_btRigidBodyConstructionInfo_get_m_additionalAngularDampingFactor_0,Af=s._emscripten_bind_btRigidBodyConstructionInfo_get_m_additionalAngularDampingThresholdSqr_0=pt._emscripten_bind_btRigidBodyConstructionInfo_get_m_additionalAngularDampingThresholdSqr_0,ff=s._emscripten_bind_btRigidBodyConstructionInfo_get_m_additionalDampingFactor_0=pt._emscripten_bind_btRigidBodyConstructionInfo_get_m_additionalDampingFactor_0,uf=s._emscripten_bind_btRigidBodyConstructionInfo_get_m_additionalDamping_0=pt._emscripten_bind_btRigidBodyConstructionInfo_get_m_additionalDamping_0,mf=s._emscripten_bind_btRigidBodyConstructionInfo_get_m_additionalLinearDampingThresholdSqr_0=pt._emscripten_bind_btRigidBodyConstructionInfo_get_m_additionalLinearDampingThresholdSqr_0,hf=s._emscripten_bind_btRigidBodyConstructionInfo_get_m_angularDamping_0=pt._emscripten_bind_btRigidBodyConstructionInfo_get_m_angularDamping_0,yf=s._emscripten_bind_btRigidBodyConstructionInfo_get_m_angularSleepingThreshold_0=pt._emscripten_bind_btRigidBodyConstructionInfo_get_m_angularSleepingThreshold_0,gf=s._emscripten_bind_btRigidBodyConstructionInfo_get_m_friction_0=pt._emscripten_bind_btRigidBodyConstructionInfo_get_m_friction_0,Cf=s._emscripten_bind_btRigidBodyConstructionInfo_get_m_linearDamping_0=pt._emscripten_bind_btRigidBodyConstructionInfo_get_m_linearDamping_0,vf=s._emscripten_bind_btRigidBodyConstructionInfo_get_m_linearSleepingThreshold_0=pt._emscripten_bind_btRigidBodyConstructionInfo_get_m_linearSleepingThreshold_0,Sf=s._emscripten_bind_btRigidBodyConstructionInfo_get_m_restitution_0=pt._emscripten_bind_btRigidBodyConstructionInfo_get_m_restitution_0,wf=s._emscripten_bind_btRigidBodyConstructionInfo_get_m_rollingFriction_0=pt._emscripten_bind_btRigidBodyConstructionInfo_get_m_rollingFriction_0,kf=s._emscripten_bind_btRigidBodyConstructionInfo_set_m_additionalAngularDampingFactor_1=pt._emscripten_bind_btRigidBodyConstructionInfo_set_m_additionalAngularDampingFactor_1,Rf=s._emscripten_bind_btRigidBodyConstructionInfo_set_m_additionalAngularDampingThresholdSqr_1=pt._emscripten_bind_btRigidBodyConstructionInfo_set_m_additionalAngularDampingThresholdSqr_1,jf=s._emscripten_bind_btRigidBodyConstructionInfo_set_m_additionalDampingFactor_1=pt._emscripten_bind_btRigidBodyConstructionInfo_set_m_additionalDampingFactor_1,Df=s._emscripten_bind_btRigidBodyConstructionInfo_set_m_additionalDamping_1=pt._emscripten_bind_btRigidBodyConstructionInfo_set_m_additionalDamping_1,If=s._emscripten_bind_btRigidBodyConstructionInfo_set_m_additionalLinearDampingThresholdSqr_1=pt._emscripten_bind_btRigidBodyConstructionInfo_set_m_additionalLinearDampingThresholdSqr_1,Bf=s._emscripten_bind_btRigidBodyConstructionInfo_set_m_angularDamping_1=pt._emscripten_bind_btRigidBodyConstructionInfo_set_m_angularDamping_1,Wf=s._emscripten_bind_btRigidBodyConstructionInfo_set_m_angularSleepingThreshold_1=pt._emscripten_bind_btRigidBodyConstructionInfo_set_m_angularSleepingThreshold_1,Ff=s._emscripten_bind_btRigidBodyConstructionInfo_set_m_friction_1=pt._emscripten_bind_btRigidBodyConstructionInfo_set_m_friction_1,Of=s._emscripten_bind_btRigidBodyConstructionInfo_set_m_linearDamping_1=pt._emscripten_bind_btRigidBodyConstructionInfo_set_m_linearDamping_1,xf=s._emscripten_bind_btRigidBodyConstructionInfo_set_m_linearSleepingThreshold_1=pt._emscripten_bind_btRigidBodyConstructionInfo_set_m_linearSleepingThreshold_1,Tf=s._emscripten_bind_btRigidBodyConstructionInfo_set_m_restitution_1=pt._emscripten_bind_btRigidBodyConstructionInfo_set_m_restitution_1,Pf=s._emscripten_bind_btRigidBodyConstructionInfo_set_m_rollingFriction_1=pt._emscripten_bind_btRigidBodyConstructionInfo_set_m_rollingFriction_1,Vf=s._emscripten_bind_btRigidBody___destroy___0=pt._emscripten_bind_btRigidBody___destroy___0,Mf=s._emscripten_bind_btRigidBody_activate_0=pt._emscripten_bind_btRigidBody_activate_0,Gf=s._emscripten_bind_btRigidBody_activate_1=pt._emscripten_bind_btRigidBody_activate_1,Lf=s._emscripten_bind_btRigidBody_applyCentralForce_1=pt._emscripten_bind_btRigidBody_applyCentralForce_1,Nf=s._emscripten_bind_btRigidBody_applyCentralImpulse_1=pt._emscripten_bind_btRigidBody_applyCentralImpulse_1,Qf=s._emscripten_bind_btRigidBody_applyCentralLocalForce_1=pt._emscripten_bind_btRigidBody_applyCentralLocalForce_1,Ef=s._emscripten_bind_btRigidBody_applyForce_2=pt._emscripten_bind_btRigidBody_applyForce_2,Hf=s._emscripten_bind_btRigidBody_applyGravity_0=pt._emscripten_bind_btRigidBody_applyGravity_0,Zf=s._emscripten_bind_btRigidBody_applyImpulse_2=pt._emscripten_bind_btRigidBody_applyImpulse_2,Uf=s._emscripten_bind_btRigidBody_applyLocalTorque_1=pt._emscripten_bind_btRigidBody_applyLocalTorque_1,Yf=s._emscripten_bind_btRigidBody_applyTorqueImpulse_1=pt._emscripten_bind_btRigidBody_applyTorqueImpulse_1,Jf=s._emscripten_bind_btRigidBody_applyTorque_1=pt._emscripten_bind_btRigidBody_applyTorque_1,Xf=s._emscripten_bind_btRigidBody_btRigidBody_1=pt._emscripten_bind_btRigidBody_btRigidBody_1,zf=s._emscripten_bind_btRigidBody_forceActivationState_1=pt._emscripten_bind_btRigidBody_forceActivationState_1,Kf=s._emscripten_bind_btRigidBody_getAabb_2=pt._emscripten_bind_btRigidBody_getAabb_2,qf=s._emscripten_bind_btRigidBody_getAngularVelocity_0=pt._emscripten_bind_btRigidBody_getAngularVelocity_0,$f=s._emscripten_bind_btRigidBody_getBroadphaseProxy_0=pt._emscripten_bind_btRigidBody_getBroadphaseProxy_0,tu=s._emscripten_bind_btRigidBody_getCenterOfMassTransform_0=pt._emscripten_bind_btRigidBody_getCenterOfMassTransform_0,eu=s._emscripten_bind_btRigidBody_getCollisionFlags_0=pt._emscripten_bind_btRigidBody_getCollisionFlags_0,iu=s._emscripten_bind_btRigidBody_getCollisionShape_0=pt._emscripten_bind_btRigidBody_getCollisionShape_0,nu=s._emscripten_bind_btRigidBody_getGravity_0=pt._emscripten_bind_btRigidBody_getGravity_0,ou=s._emscripten_bind_btRigidBody_getLinearVelocity_0=pt._emscripten_bind_btRigidBody_getLinearVelocity_0,_u=s._emscripten_bind_btRigidBody_getMotionState_0=pt._emscripten_bind_btRigidBody_getMotionState_0,ru=s._emscripten_bind_btRigidBody_getUserIndex_0=pt._emscripten_bind_btRigidBody_getUserIndex_0,su=s._emscripten_bind_btRigidBody_getUserPointer_0=pt._emscripten_bind_btRigidBody_getUserPointer_0,pu=s._emscripten_bind_btRigidBody_getWorldTransform_0=pt._emscripten_bind_btRigidBody_getWorldTransform_0,cu=s._emscripten_bind_btRigidBody_isActive_0=pt._emscripten_bind_btRigidBody_isActive_0,au=s._emscripten_bind_btRigidBody_isKinematicObject_0=pt._emscripten_bind_btRigidBody_isKinematicObject_0,bu=s._emscripten_bind_btRigidBody_isStaticObject_0=pt._emscripten_bind_btRigidBody_isStaticObject_0,du=s._emscripten_bind_btRigidBody_isStaticOrKinematicObject_0=pt._emscripten_bind_btRigidBody_isStaticOrKinematicObject_0,lu=s._emscripten_bind_btRigidBody_setActivationState_1=pt._emscripten_bind_btRigidBody_setActivationState_1,Au=s._emscripten_bind_btRigidBody_setAngularFactor_1=pt._emscripten_bind_btRigidBody_setAngularFactor_1,fu=s._emscripten_bind_btRigidBody_setAngularVelocity_1=pt._emscripten_bind_btRigidBody_setAngularVelocity_1,uu=s._emscripten_bind_btRigidBody_setAnisotropicFriction_2=pt._emscripten_bind_btRigidBody_setAnisotropicFriction_2,mu=s._emscripten_bind_btRigidBody_setCcdMotionThreshold_1=pt._emscripten_bind_btRigidBody_setCcdMotionThreshold_1,hu=s._emscripten_bind_btRigidBody_setCcdSweptSphereRadius_1=pt._emscripten_bind_btRigidBody_setCcdSweptSphereRadius_1,yu=s._emscripten_bind_btRigidBody_setCenterOfMassTransform_1=pt._emscripten_bind_btRigidBody_setCenterOfMassTransform_1,gu=s._emscripten_bind_btRigidBody_setCollisionFlags_1=pt._emscripten_bind_btRigidBody_setCollisionFlags_1,Cu=s._emscripten_bind_btRigidBody_setCollisionShape_1=pt._emscripten_bind_btRigidBody_setCollisionShape_1,vu=s._emscripten_bind_btRigidBody_setContactProcessingThreshold_1=pt._emscripten_bind_btRigidBody_setContactProcessingThreshold_1,Su=s._emscripten_bind_btRigidBody_setDamping_2=pt._emscripten_bind_btRigidBody_setDamping_2,wu=s._emscripten_bind_btRigidBody_setFriction_1=pt._emscripten_bind_btRigidBody_setFriction_1,ku=s._emscripten_bind_btRigidBody_setGravity_1=pt._emscripten_bind_btRigidBody_setGravity_1,Ru=s._emscripten_bind_btRigidBody_setLinearFactor_1=pt._emscripten_bind_btRigidBody_setLinearFactor_1,ju=s._emscripten_bind_btRigidBody_setLinearVelocity_1=pt._emscripten_bind_btRigidBody_setLinearVelocity_1,Du=s._emscripten_bind_btRigidBody_setMassProps_2=pt._emscripten_bind_btRigidBody_setMassProps_2,Iu=s._emscripten_bind_btRigidBody_setMotionState_1=pt._emscripten_bind_btRigidBody_setMotionState_1,Bu=s._emscripten_bind_btRigidBody_setRestitution_1=pt._emscripten_bind_btRigidBody_setRestitution_1,Wu=s._emscripten_bind_btRigidBody_setRollingFriction_1=pt._emscripten_bind_btRigidBody_setRollingFriction_1,Fu=s._emscripten_bind_btRigidBody_setSleepingThresholds_2=pt._emscripten_bind_btRigidBody_setSleepingThresholds_2,Ou=s._emscripten_bind_btRigidBody_setUserIndex_1=pt._emscripten_bind_btRigidBody_setUserIndex_1,xu=s._emscripten_bind_btRigidBody_setUserPointer_1=pt._emscripten_bind_btRigidBody_setUserPointer_1,Tu=s._emscripten_bind_btRigidBody_setWorldTransform_1=pt._emscripten_bind_btRigidBody_setWorldTransform_1,Pu=s._emscripten_bind_btRigidBody_upcast_1=pt._emscripten_bind_btRigidBody_upcast_1,Vu=s._emscripten_bind_btRigidBody_updateInertiaTensor_0=pt._emscripten_bind_btRigidBody_updateInertiaTensor_0,Mu=s._emscripten_bind_btSequentialImpulseConstraintSolver___destroy___0=pt._emscripten_bind_btSequentialImpulseConstraintSolver___destroy___0,Gu=s._emscripten_bind_btSequentialImpulseConstraintSolver_btSequentialImpulseConstraintSolver_0=pt._emscripten_bind_btSequentialImpulseConstraintSolver_btSequentialImpulseConstraintSolver_0,Lu=s._emscripten_bind_btShapeHull___destroy___0=pt._emscripten_bind_btShapeHull___destroy___0,Nu=s._emscripten_bind_btShapeHull_btShapeHull_1=pt._emscripten_bind_btShapeHull_btShapeHull_1,Qu=s._emscripten_bind_btShapeHull_buildHull_1=pt._emscripten_bind_btShapeHull_buildHull_1,Eu=s._emscripten_bind_btShapeHull_getVertexPointer_0=pt._emscripten_bind_btShapeHull_getVertexPointer_0,Hu=s._emscripten_bind_btShapeHull_numVertices_0=pt._emscripten_bind_btShapeHull_numVertices_0,Zu=s._emscripten_bind_btSliderConstraint___destroy___0=pt._emscripten_bind_btSliderConstraint___destroy___0,Uu=s._emscripten_bind_btSliderConstraint_btSliderConstraint_3=pt._emscripten_bind_btSliderConstraint_btSliderConstraint_3,Yu=s._emscripten_bind_btSliderConstraint_btSliderConstraint_5=pt._emscripten_bind_btSliderConstraint_btSliderConstraint_5,Ju=s._emscripten_bind_btSliderConstraint_enableFeedback_1=pt._emscripten_bind_btSliderConstraint_enableFeedback_1,Xu=s._emscripten_bind_btSliderConstraint_getBreakingImpulseThreshold_0=pt._emscripten_bind_btSliderConstraint_getBreakingImpulseThreshold_0,zu=s._emscripten_bind_btSliderConstraint_getParam_2=pt._emscripten_bind_btSliderConstraint_getParam_2,Ku=s._emscripten_bind_btSliderConstraint_setBreakingImpulseThreshold_1=pt._emscripten_bind_btSliderConstraint_setBreakingImpulseThreshold_1,qu=s._emscripten_bind_btSliderConstraint_setLowerAngLimit_1=pt._emscripten_bind_btSliderConstraint_setLowerAngLimit_1,$u=s._emscripten_bind_btSliderConstraint_setLowerLinLimit_1=pt._emscripten_bind_btSliderConstraint_setLowerLinLimit_1,tm=s._emscripten_bind_btSliderConstraint_setParam_3=pt._emscripten_bind_btSliderConstraint_setParam_3,em=s._emscripten_bind_btSliderConstraint_setUpperAngLimit_1=pt._emscripten_bind_btSliderConstraint_setUpperAngLimit_1,im=s._emscripten_bind_btSliderConstraint_setUpperLinLimit_1=pt._emscripten_bind_btSliderConstraint_setUpperLinLimit_1,nm=s._emscripten_bind_btSoftBodyArray___destroy___0=pt._emscripten_bind_btSoftBodyArray___destroy___0,om=s._emscripten_bind_btSoftBodyArray_at_1=pt._emscripten_bind_btSoftBodyArray_at_1,_m=s._emscripten_bind_btSoftBodyArray_size_0=pt._emscripten_bind_btSoftBodyArray_size_0,rm=s._emscripten_bind_btSoftBodyHelpers_CreateEllipsoid_4=pt._emscripten_bind_btSoftBodyHelpers_CreateEllipsoid_4,sm=s._emscripten_bind_btSoftBodyHelpers_CreateFromConvexHull_4=pt._emscripten_bind_btSoftBodyHelpers_CreateFromConvexHull_4,pm=s._emscripten_bind_btSoftBodyHelpers_CreateFromTriMesh_5=pt._emscripten_bind_btSoftBodyHelpers_CreateFromTriMesh_5,cm=s._emscripten_bind_btSoftBodyHelpers_CreatePatchUV_10=pt._emscripten_bind_btSoftBodyHelpers_CreatePatchUV_10,am=s._emscripten_bind_btSoftBodyHelpers_CreatePatch_9=pt._emscripten_bind_btSoftBodyHelpers_CreatePatch_9,bm=s._emscripten_bind_btSoftBodyHelpers_CreateRope_5=pt._emscripten_bind_btSoftBodyHelpers_CreateRope_5,dm=s._emscripten_bind_btSoftBodyHelpers___destroy___0=pt._emscripten_bind_btSoftBodyHelpers___destroy___0,lm=s._emscripten_bind_btSoftBodyHelpers_btSoftBodyHelpers_0=pt._emscripten_bind_btSoftBodyHelpers_btSoftBodyHelpers_0,Am=s._emscripten_bind_btSoftBodyRigidBodyCollisionConfiguration___destroy___0=pt._emscripten_bind_btSoftBodyRigidBodyCollisionConfiguration___destroy___0,fm=s._emscripten_bind_btSoftBodyRigidBodyCollisionConfiguration_btSoftBodyRigidBodyCollisionConfiguration_0=pt._emscripten_bind_btSoftBodyRigidBodyCollisionConfiguration_btSoftBodyRigidBodyCollisionConfiguration_0,um=s._emscripten_bind_btSoftBodyRigidBodyCollisionConfiguration_btSoftBodyRigidBodyCollisionConfiguration_1=pt._emscripten_bind_btSoftBodyRigidBodyCollisionConfiguration_btSoftBodyRigidBodyCollisionConfiguration_1,mm=s._emscripten_bind_btSoftBodySolver___destroy___0=pt._emscripten_bind_btSoftBodySolver___destroy___0,hm=s._emscripten_bind_btSoftBodyWorldInfo___destroy___0=pt._emscripten_bind_btSoftBodyWorldInfo___destroy___0,ym=s._emscripten_bind_btSoftBodyWorldInfo_btSoftBodyWorldInfo_0=pt._emscripten_bind_btSoftBodyWorldInfo_btSoftBodyWorldInfo_0,gm=s._emscripten_bind_btSoftBodyWorldInfo_get_air_density_0=pt._emscripten_bind_btSoftBodyWorldInfo_get_air_density_0,Cm=s._emscripten_bind_btSoftBodyWorldInfo_get_m_broadphase_0=pt._emscripten_bind_btSoftBodyWorldInfo_get_m_broadphase_0,vm=s._emscripten_bind_btSoftBodyWorldInfo_get_m_dispatcher_0=pt._emscripten_bind_btSoftBodyWorldInfo_get_m_dispatcher_0,Sm=s._emscripten_bind_btSoftBodyWorldInfo_get_m_gravity_0=pt._emscripten_bind_btSoftBodyWorldInfo_get_m_gravity_0,wm=s._emscripten_bind_btSoftBodyWorldInfo_get_m_maxDisplacement_0=pt._emscripten_bind_btSoftBodyWorldInfo_get_m_maxDisplacement_0,km=s._emscripten_bind_btSoftBodyWorldInfo_get_water_density_0=pt._emscripten_bind_btSoftBodyWorldInfo_get_water_density_0,Rm=s._emscripten_bind_btSoftBodyWorldInfo_get_water_normal_0=pt._emscripten_bind_btSoftBodyWorldInfo_get_water_normal_0,jm=s._emscripten_bind_btSoftBodyWorldInfo_get_water_offset_0=pt._emscripten_bind_btSoftBodyWorldInfo_get_water_offset_0,Dm=s._emscripten_bind_btSoftBodyWorldInfo_set_air_density_1=pt._emscripten_bind_btSoftBodyWorldInfo_set_air_density_1,Im=s._emscripten_bind_btSoftBodyWorldInfo_set_m_broadphase_1=pt._emscripten_bind_btSoftBodyWorldInfo_set_m_broadphase_1,Bm=s._emscripten_bind_btSoftBodyWorldInfo_set_m_dispatcher_1=pt._emscripten_bind_btSoftBodyWorldInfo_set_m_dispatcher_1,Wm=s._emscripten_bind_btSoftBodyWorldInfo_set_m_gravity_1=pt._emscripten_bind_btSoftBodyWorldInfo_set_m_gravity_1,Fm=s._emscripten_bind_btSoftBodyWorldInfo_set_m_maxDisplacement_1=pt._emscripten_bind_btSoftBodyWorldInfo_set_m_maxDisplacement_1,Om=s._emscripten_bind_btSoftBodyWorldInfo_set_water_density_1=pt._emscripten_bind_btSoftBodyWorldInfo_set_water_density_1,xm=s._emscripten_bind_btSoftBodyWorldInfo_set_water_normal_1=pt._emscripten_bind_btSoftBodyWorldInfo_set_water_normal_1,Tm=s._emscripten_bind_btSoftBodyWorldInfo_set_water_offset_1=pt._emscripten_bind_btSoftBodyWorldInfo_set_water_offset_1,Pm=s._emscripten_bind_btSoftBody___destroy___0=pt._emscripten_bind_btSoftBody___destroy___0,Vm=s._emscripten_bind_btSoftBody_activate_0=pt._emscripten_bind_btSoftBody_activate_0,Mm=s._emscripten_bind_btSoftBody_activate_1=pt._emscripten_bind_btSoftBody_activate_1,Gm=s._emscripten_bind_btSoftBody_addAeroForceToNode_2=pt._emscripten_bind_btSoftBody_addAeroForceToNode_2,Lm=s._emscripten_bind_btSoftBody_addForce_1=pt._emscripten_bind_btSoftBody_addForce_1,Nm=s._emscripten_bind_btSoftBody_addForce_2=pt._emscripten_bind_btSoftBody_addForce_2,Qm=s._emscripten_bind_btSoftBody_appendAnchor_4=pt._emscripten_bind_btSoftBody_appendAnchor_4,Em=s._emscripten_bind_btSoftBody_appendFace_4=pt._emscripten_bind_btSoftBody_appendFace_4,Hm=s._emscripten_bind_btSoftBody_appendLink_4=pt._emscripten_bind_btSoftBody_appendLink_4,Zm=s._emscripten_bind_btSoftBody_appendMaterial_0=pt._emscripten_bind_btSoftBody_appendMaterial_0,Um=s._emscripten_bind_btSoftBody_appendNode_2=pt._emscripten_bind_btSoftBody_appendNode_2,Ym=s._emscripten_bind_btSoftBody_appendTetra_5=pt._emscripten_bind_btSoftBody_appendTetra_5,Jm=s._emscripten_bind_btSoftBody_btSoftBody_4=pt._emscripten_bind_btSoftBody_btSoftBody_4,Xm=s._emscripten_bind_btSoftBody_checkFace_3=pt._emscripten_bind_btSoftBody_checkFace_3,zm=s._emscripten_bind_btSoftBody_checkLink_2=pt._emscripten_bind_btSoftBody_checkLink_2,Km=s._emscripten_bind_btSoftBody_forceActivationState_1=pt._emscripten_bind_btSoftBody_forceActivationState_1,qm=s._emscripten_bind_btSoftBody_generateBendingConstraints_2=pt._emscripten_bind_btSoftBody_generateBendingConstraints_2,$m=s._emscripten_bind_btSoftBody_generateClusters_1=pt._emscripten_bind_btSoftBody_generateClusters_1,th=s._emscripten_bind_btSoftBody_generateClusters_2=pt._emscripten_bind_btSoftBody_generateClusters_2,eh=s._emscripten_bind_btSoftBody_getCollisionFlags_0=pt._emscripten_bind_btSoftBody_getCollisionFlags_0,ih=s._emscripten_bind_btSoftBody_getCollisionShape_0=pt._emscripten_bind_btSoftBody_getCollisionShape_0,nh=s._emscripten_bind_btSoftBody_getTotalMass_0=pt._emscripten_bind_btSoftBody_getTotalMass_0,oh=s._emscripten_bind_btSoftBody_getUserIndex_0=pt._emscripten_bind_btSoftBody_getUserIndex_0,_h=s._emscripten_bind_btSoftBody_getUserPointer_0=pt._emscripten_bind_btSoftBody_getUserPointer_0,rh=s._emscripten_bind_btSoftBody_getWorldTransform_0=pt._emscripten_bind_btSoftBody_getWorldTransform_0,sh=s._emscripten_bind_btSoftBody_get_m_anchors_0=pt._emscripten_bind_btSoftBody_get_m_anchors_0,ph=s._emscripten_bind_btSoftBody_get_m_cfg_0=pt._emscripten_bind_btSoftBody_get_m_cfg_0,ch=s._emscripten_bind_btSoftBody_get_m_materials_0=pt._emscripten_bind_btSoftBody_get_m_materials_0,ah=s._emscripten_bind_btSoftBody_get_m_nodes_0=pt._emscripten_bind_btSoftBody_get_m_nodes_0,bh=s._emscripten_bind_btSoftBody_isActive_0=pt._emscripten_bind_btSoftBody_isActive_0,dh=s._emscripten_bind_btSoftBody_isKinematicObject_0=pt._emscripten_bind_btSoftBody_isKinematicObject_0,lh=s._emscripten_bind_btSoftBody_isStaticObject_0=pt._emscripten_bind_btSoftBody_isStaticObject_0,Ah=s._emscripten_bind_btSoftBody_isStaticOrKinematicObject_0=pt._emscripten_bind_btSoftBody_isStaticOrKinematicObject_0,fh=s._emscripten_bind_btSoftBody_rotate_1=pt._emscripten_bind_btSoftBody_rotate_1,uh=s._emscripten_bind_btSoftBody_scale_1=pt._emscripten_bind_btSoftBody_scale_1,mh=s._emscripten_bind_btSoftBody_setActivationState_1=pt._emscripten_bind_btSoftBody_setActivationState_1,hh=s._emscripten_bind_btSoftBody_setAnisotropicFriction_2=pt._emscripten_bind_btSoftBody_setAnisotropicFriction_2,yh=s._emscripten_bind_btSoftBody_setCcdMotionThreshold_1=pt._emscripten_bind_btSoftBody_setCcdMotionThreshold_1,gh=s._emscripten_bind_btSoftBody_setCcdSweptSphereRadius_1=pt._emscripten_bind_btSoftBody_setCcdSweptSphereRadius_1,Ch=s._emscripten_bind_btSoftBody_setCollisionFlags_1=pt._emscripten_bind_btSoftBody_setCollisionFlags_1,vh=s._emscripten_bind_btSoftBody_setCollisionShape_1=pt._emscripten_bind_btSoftBody_setCollisionShape_1,Sh=s._emscripten_bind_btSoftBody_setContactProcessingThreshold_1=pt._emscripten_bind_btSoftBody_setContactProcessingThreshold_1,wh=s._emscripten_bind_btSoftBody_setFriction_1=pt._emscripten_bind_btSoftBody_setFriction_1,kh=s._emscripten_bind_btSoftBody_setMass_2=pt._emscripten_bind_btSoftBody_setMass_2,Rh=s._emscripten_bind_btSoftBody_setRestitution_1=pt._emscripten_bind_btSoftBody_setRestitution_1,jh=s._emscripten_bind_btSoftBody_setRollingFriction_1=pt._emscripten_bind_btSoftBody_setRollingFriction_1,Dh=s._emscripten_bind_btSoftBody_setTotalMass_2=pt._emscripten_bind_btSoftBody_setTotalMass_2,Ih=s._emscripten_bind_btSoftBody_setUserIndex_1=pt._emscripten_bind_btSoftBody_setUserIndex_1,Bh=s._emscripten_bind_btSoftBody_setUserPointer_1=pt._emscripten_bind_btSoftBody_setUserPointer_1,Wh=s._emscripten_bind_btSoftBody_setWorldTransform_1=pt._emscripten_bind_btSoftBody_setWorldTransform_1,Fh=s._emscripten_bind_btSoftBody_set_m_anchors_1=pt._emscripten_bind_btSoftBody_set_m_anchors_1,Oh=s._emscripten_bind_btSoftBody_set_m_cfg_1=pt._emscripten_bind_btSoftBody_set_m_cfg_1,xh=s._emscripten_bind_btSoftBody_set_m_materials_1=pt._emscripten_bind_btSoftBody_set_m_materials_1,Th=s._emscripten_bind_btSoftBody_set_m_nodes_1=pt._emscripten_bind_btSoftBody_set_m_nodes_1,Ph=s._emscripten_bind_btSoftBody_transform_1=pt._emscripten_bind_btSoftBody_transform_1,Vh=s._emscripten_bind_btSoftBody_translate_1=pt._emscripten_bind_btSoftBody_translate_1,Mh=s._emscripten_bind_btSoftBody_upcast_1=pt._emscripten_bind_btSoftBody_upcast_1,Gh=s._emscripten_bind_btSoftRigidDynamicsWorld___destroy___0=pt._emscripten_bind_btSoftRigidDynamicsWorld___destroy___0,Lh=s._emscripten_bind_btSoftRigidDynamicsWorld_addAction_1=pt._emscripten_bind_btSoftRigidDynamicsWorld_addAction_1,Nh=s._emscripten_bind_btSoftRigidDynamicsWorld_addCollisionObject_1=pt._emscripten_bind_btSoftRigidDynamicsWorld_addCollisionObject_1,Qh=s._emscripten_bind_btSoftRigidDynamicsWorld_addCollisionObject_2=pt._emscripten_bind_btSoftRigidDynamicsWorld_addCollisionObject_2,Eh=s._emscripten_bind_btSoftRigidDynamicsWorld_addCollisionObject_3=pt._emscripten_bind_btSoftRigidDynamicsWorld_addCollisionObject_3,Hh=s._emscripten_bind_btSoftRigidDynamicsWorld_addConstraint_1=pt._emscripten_bind_btSoftRigidDynamicsWorld_addConstraint_1,Zh=s._emscripten_bind_btSoftRigidDynamicsWorld_addConstraint_2=pt._emscripten_bind_btSoftRigidDynamicsWorld_addConstraint_2,Uh=s._emscripten_bind_btSoftRigidDynamicsWorld_addRigidBody_1=pt._emscripten_bind_btSoftRigidDynamicsWorld_addRigidBody_1,Yh=s._emscripten_bind_btSoftRigidDynamicsWorld_addRigidBody_3=pt._emscripten_bind_btSoftRigidDynamicsWorld_addRigidBody_3,Jh=s._emscripten_bind_btSoftRigidDynamicsWorld_addSoftBody_3=pt._emscripten_bind_btSoftRigidDynamicsWorld_addSoftBody_3,Xh=s._emscripten_bind_btSoftRigidDynamicsWorld_btSoftRigidDynamicsWorld_5=pt._emscripten_bind_btSoftRigidDynamicsWorld_btSoftRigidDynamicsWorld_5,zh=s._emscripten_bind_btSoftRigidDynamicsWorld_contactPairTest_3=pt._emscripten_bind_btSoftRigidDynamicsWorld_contactPairTest_3,Kh=s._emscripten_bind_btSoftRigidDynamicsWorld_contactTest_2=pt._emscripten_bind_btSoftRigidDynamicsWorld_contactTest_2,qh=s._emscripten_bind_btSoftRigidDynamicsWorld_convexSweepTest_5=pt._emscripten_bind_btSoftRigidDynamicsWorld_convexSweepTest_5,$h=s._emscripten_bind_btSoftRigidDynamicsWorld_debugDrawObject_3=pt._emscripten_bind_btSoftRigidDynamicsWorld_debugDrawObject_3,ty=s._emscripten_bind_btSoftRigidDynamicsWorld_debugDrawWorld_0=pt._emscripten_bind_btSoftRigidDynamicsWorld_debugDrawWorld_0,ey=s._emscripten_bind_btSoftRigidDynamicsWorld_getBroadphase_0=pt._emscripten_bind_btSoftRigidDynamicsWorld_getBroadphase_0,iy=s._emscripten_bind_btSoftRigidDynamicsWorld_getDebugDrawer_0=pt._emscripten_bind_btSoftRigidDynamicsWorld_getDebugDrawer_0,ny=s._emscripten_bind_btSoftRigidDynamicsWorld_getDispatchInfo_0=pt._emscripten_bind_btSoftRigidDynamicsWorld_getDispatchInfo_0,oy=s._emscripten_bind_btSoftRigidDynamicsWorld_getDispatcher_0=pt._emscripten_bind_btSoftRigidDynamicsWorld_getDispatcher_0,_y=s._emscripten_bind_btSoftRigidDynamicsWorld_getGravity_0=pt._emscripten_bind_btSoftRigidDynamicsWorld_getGravity_0,ry=s._emscripten_bind_btSoftRigidDynamicsWorld_getPairCache_0=pt._emscripten_bind_btSoftRigidDynamicsWorld_getPairCache_0,sy=s._emscripten_bind_btSoftRigidDynamicsWorld_getSoftBodyArray_0=pt._emscripten_bind_btSoftRigidDynamicsWorld_getSoftBodyArray_0,py=s._emscripten_bind_btSoftRigidDynamicsWorld_getSolverInfo_0=pt._emscripten_bind_btSoftRigidDynamicsWorld_getSolverInfo_0,cy=s._emscripten_bind_btSoftRigidDynamicsWorld_getWorldInfo_0=pt._emscripten_bind_btSoftRigidDynamicsWorld_getWorldInfo_0,ay=s._emscripten_bind_btSoftRigidDynamicsWorld_performDiscreteCollisionDetection_0=pt._emscripten_bind_btSoftRigidDynamicsWorld_performDiscreteCollisionDetection_0,by=s._emscripten_bind_btSoftRigidDynamicsWorld_rayTest_3=pt._emscripten_bind_btSoftRigidDynamicsWorld_rayTest_3,dy=s._emscripten_bind_btSoftRigidDynamicsWorld_removeAction_1=pt._emscripten_bind_btSoftRigidDynamicsWorld_removeAction_1,ly=s._emscripten_bind_btSoftRigidDynamicsWorld_removeCollisionObject_1=pt._emscripten_bind_btSoftRigidDynamicsWorld_removeCollisionObject_1,Ay=s._emscripten_bind_btSoftRigidDynamicsWorld_removeConstraint_1=pt._emscripten_bind_btSoftRigidDynamicsWorld_removeConstraint_1,fy=s._emscripten_bind_btSoftRigidDynamicsWorld_removeRigidBody_1=pt._emscripten_bind_btSoftRigidDynamicsWorld_removeRigidBody_1,uy=s._emscripten_bind_btSoftRigidDynamicsWorld_removeSoftBody_1=pt._emscripten_bind_btSoftRigidDynamicsWorld_removeSoftBody_1,my=s._emscripten_bind_btSoftRigidDynamicsWorld_setDebugDrawer_1=pt._emscripten_bind_btSoftRigidDynamicsWorld_setDebugDrawer_1,hy=s._emscripten_bind_btSoftRigidDynamicsWorld_setGravity_1=pt._emscripten_bind_btSoftRigidDynamicsWorld_setGravity_1,yy=s._emscripten_bind_btSoftRigidDynamicsWorld_stepSimulation_1=pt._emscripten_bind_btSoftRigidDynamicsWorld_stepSimulation_1,gy=s._emscripten_bind_btSoftRigidDynamicsWorld_stepSimulation_2=pt._emscripten_bind_btSoftRigidDynamicsWorld_stepSimulation_2,Cy=s._emscripten_bind_btSoftRigidDynamicsWorld_stepSimulation_3=pt._emscripten_bind_btSoftRigidDynamicsWorld_stepSimulation_3,vy=s._emscripten_bind_btSoftRigidDynamicsWorld_updateSingleAabb_1=pt._emscripten_bind_btSoftRigidDynamicsWorld_updateSingleAabb_1,Sy=s._emscripten_bind_btSphereShape___destroy___0=pt._emscripten_bind_btSphereShape___destroy___0,wy=s._emscripten_bind_btSphereShape_btSphereShape_1=pt._emscripten_bind_btSphereShape_btSphereShape_1,ky=s._emscripten_bind_btSphereShape_calculateLocalInertia_2=pt._emscripten_bind_btSphereShape_calculateLocalInertia_2,Ry=s._emscripten_bind_btSphereShape_getLocalScaling_0=pt._emscripten_bind_btSphereShape_getLocalScaling_0,jy=s._emscripten_bind_btSphereShape_getMargin_0=pt._emscripten_bind_btSphereShape_getMargin_0,Dy=s._emscripten_bind_btSphereShape_setLocalScaling_1=pt._emscripten_bind_btSphereShape_setLocalScaling_1,Iy=s._emscripten_bind_btSphereShape_setMargin_1=pt._emscripten_bind_btSphereShape_setMargin_1,By=s._emscripten_bind_btStaticPlaneShape___destroy___0=pt._emscripten_bind_btStaticPlaneShape___destroy___0,Wy=s._emscripten_bind_btStaticPlaneShape_btStaticPlaneShape_2=pt._emscripten_bind_btStaticPlaneShape_btStaticPlaneShape_2,Fy=s._emscripten_bind_btStaticPlaneShape_calculateLocalInertia_2=pt._emscripten_bind_btStaticPlaneShape_calculateLocalInertia_2,Oy=s._emscripten_bind_btStaticPlaneShape_getLocalScaling_0=pt._emscripten_bind_btStaticPlaneShape_getLocalScaling_0,xy=s._emscripten_bind_btStaticPlaneShape_setLocalScaling_1=pt._emscripten_bind_btStaticPlaneShape_setLocalScaling_1,Ty=s._emscripten_bind_btStridingMeshInterface___destroy___0=pt._emscripten_bind_btStridingMeshInterface___destroy___0,Py=s._emscripten_bind_btStridingMeshInterface_setScaling_1=pt._emscripten_bind_btStridingMeshInterface_setScaling_1,Vy=s._emscripten_bind_btTransform___destroy___0=pt._emscripten_bind_btTransform___destroy___0,My=s._emscripten_bind_btTransform_btTransform_0=pt._emscripten_bind_btTransform_btTransform_0,Gy=s._emscripten_bind_btTransform_btTransform_2=pt._emscripten_bind_btTransform_btTransform_2,Ly=s._emscripten_bind_btTransform_getBasis_0=pt._emscripten_bind_btTransform_getBasis_0,Ny=s._emscripten_bind_btTransform_getOrigin_0=pt._emscripten_bind_btTransform_getOrigin_0,Qy=s._emscripten_bind_btTransform_getRotation_0=pt._emscripten_bind_btTransform_getRotation_0,Ey=s._emscripten_bind_btTransform_inverse_0=pt._emscripten_bind_btTransform_inverse_0,Hy=s._emscripten_bind_btTransform_op_mul_1=pt._emscripten_bind_btTransform_op_mul_1,Zy=s._emscripten_bind_btTransform_setFromOpenGLMatrix_1=pt._emscripten_bind_btTransform_setFromOpenGLMatrix_1,Uy=s._emscripten_bind_btTransform_setIdentity_0=pt._emscripten_bind_btTransform_setIdentity_0,Yy=s._emscripten_bind_btTransform_setOrigin_1=pt._emscripten_bind_btTransform_setOrigin_1,Jy=s._emscripten_bind_btTransform_setRotation_1=pt._emscripten_bind_btTransform_setRotation_1,Xy=s._emscripten_bind_btTriangleMeshShape___destroy___0=pt._emscripten_bind_btTriangleMeshShape___destroy___0,zy=s._emscripten_bind_btTriangleMeshShape_calculateLocalInertia_2=pt._emscripten_bind_btTriangleMeshShape_calculateLocalInertia_2,Ky=s._emscripten_bind_btTriangleMeshShape_getLocalScaling_0=pt._emscripten_bind_btTriangleMeshShape_getLocalScaling_0,qy=s._emscripten_bind_btTriangleMeshShape_setLocalScaling_1=pt._emscripten_bind_btTriangleMeshShape_setLocalScaling_1,$y=s._emscripten_bind_btTriangleMesh___destroy___0=pt._emscripten_bind_btTriangleMesh___destroy___0,tg=s._emscripten_bind_btTriangleMesh_addTriangle_3=pt._emscripten_bind_btTriangleMesh_addTriangle_3,eg=s._emscripten_bind_btTriangleMesh_addTriangle_4=pt._emscripten_bind_btTriangleMesh_addTriangle_4,ig=s._emscripten_bind_btTriangleMesh_btTriangleMesh_0=pt._emscripten_bind_btTriangleMesh_btTriangleMesh_0,ng=s._emscripten_bind_btTriangleMesh_btTriangleMesh_1=pt._emscripten_bind_btTriangleMesh_btTriangleMesh_1,og=s._emscripten_bind_btTriangleMesh_btTriangleMesh_2=pt._emscripten_bind_btTriangleMesh_btTriangleMesh_2,_g=s._emscripten_bind_btTriangleMesh_setScaling_1=pt._emscripten_bind_btTriangleMesh_setScaling_1,rg=s._emscripten_bind_btTypedConstraint___destroy___0=pt._emscripten_bind_btTypedConstraint___destroy___0,sg=s._emscripten_bind_btTypedConstraint_enableFeedback_1=pt._emscripten_bind_btTypedConstraint_enableFeedback_1,pg=s._emscripten_bind_btTypedConstraint_getBreakingImpulseThreshold_0=pt._emscripten_bind_btTypedConstraint_getBreakingImpulseThreshold_0,cg=s._emscripten_bind_btTypedConstraint_getParam_2=pt._emscripten_bind_btTypedConstraint_getParam_2,ag=s._emscripten_bind_btTypedConstraint_setBreakingImpulseThreshold_1=pt._emscripten_bind_btTypedConstraint_setBreakingImpulseThreshold_1,bg=s._emscripten_bind_btTypedConstraint_setParam_3=pt._emscripten_bind_btTypedConstraint_setParam_3,dg=s._emscripten_bind_btVector3Array___destroy___0=pt._emscripten_bind_btVector3Array___destroy___0,lg=s._emscripten_bind_btVector3Array_at_1=pt._emscripten_bind_btVector3Array_at_1,Ag=s._emscripten_bind_btVector3Array_size_0=pt._emscripten_bind_btVector3Array_size_0,fg=s._emscripten_bind_btVector3___destroy___0=pt._emscripten_bind_btVector3___destroy___0,ug=s._emscripten_bind_btVector3_btVector3_0=pt._emscripten_bind_btVector3_btVector3_0,mg=s._emscripten_bind_btVector3_btVector3_3=pt._emscripten_bind_btVector3_btVector3_3,hg=s._emscripten_bind_btVector3_dot_1=pt._emscripten_bind_btVector3_dot_1,yg=s._emscripten_bind_btVector3_length_0=pt._emscripten_bind_btVector3_length_0,gg=s._emscripten_bind_btVector3_normalize_0=pt._emscripten_bind_btVector3_normalize_0,Cg=s._emscripten_bind_btVector3_op_add_1=pt._emscripten_bind_btVector3_op_add_1,vg=s._emscripten_bind_btVector3_op_mul_1=pt._emscripten_bind_btVector3_op_mul_1,Sg=s._emscripten_bind_btVector3_op_sub_1=pt._emscripten_bind_btVector3_op_sub_1,wg=s._emscripten_bind_btVector3_rotate_2=pt._emscripten_bind_btVector3_rotate_2,kg=s._emscripten_bind_btVector3_setValue_3=pt._emscripten_bind_btVector3_setValue_3,Rg=s._emscripten_bind_btVector3_setX_1=pt._emscripten_bind_btVector3_setX_1,jg=s._emscripten_bind_btVector3_setY_1=pt._emscripten_bind_btVector3_setY_1,Dg=s._emscripten_bind_btVector3_setZ_1=pt._emscripten_bind_btVector3_setZ_1,Ig=s._emscripten_bind_btVector3_x_0=pt._emscripten_bind_btVector3_x_0,Bg=s._emscripten_bind_btVector3_y_0=pt._emscripten_bind_btVector3_y_0,Wg=s._emscripten_bind_btVector3_z_0=pt._emscripten_bind_btVector3_z_0,Fg=s._emscripten_bind_btVector4___destroy___0=pt._emscripten_bind_btVector4___destroy___0,Og=s._emscripten_bind_btVector4_btVector4_0=pt._emscripten_bind_btVector4_btVector4_0,xg=s._emscripten_bind_btVector4_btVector4_4=pt._emscripten_bind_btVector4_btVector4_4,Tg=s._emscripten_bind_btVector4_dot_1=pt._emscripten_bind_btVector4_dot_1,Pg=s._emscripten_bind_btVector4_length_0=pt._emscripten_bind_btVector4_length_0,Vg=s._emscripten_bind_btVector4_normalize_0=pt._emscripten_bind_btVector4_normalize_0,Mg=s._emscripten_bind_btVector4_op_add_1=pt._emscripten_bind_btVector4_op_add_1,Gg=s._emscripten_bind_btVector4_op_mul_1=pt._emscripten_bind_btVector4_op_mul_1,Lg=s._emscripten_bind_btVector4_op_sub_1=pt._emscripten_bind_btVector4_op_sub_1,Ng=s._emscripten_bind_btVector4_rotate_2=pt._emscripten_bind_btVector4_rotate_2,Qg=s._emscripten_bind_btVector4_setValue_4=pt._emscripten_bind_btVector4_setValue_4,Eg=s._emscripten_bind_btVector4_setX_1=pt._emscripten_bind_btVector4_setX_1,Hg=s._emscripten_bind_btVector4_setY_1=pt._emscripten_bind_btVector4_setY_1,Zg=s._emscripten_bind_btVector4_setZ_1=pt._emscripten_bind_btVector4_setZ_1,Ug=s._emscripten_bind_btVector4_w_0=pt._emscripten_bind_btVector4_w_0,Yg=s._emscripten_bind_btVector4_x_0=pt._emscripten_bind_btVector4_x_0,Jg=s._emscripten_bind_btVector4_y_0=pt._emscripten_bind_btVector4_y_0,Xg=s._emscripten_bind_btVector4_z_0=pt._emscripten_bind_btVector4_z_0,zg=s._emscripten_bind_btVehicleRaycasterResult___destroy___0=pt._emscripten_bind_btVehicleRaycasterResult___destroy___0,Kg=s._emscripten_bind_btVehicleRaycasterResult_get_m_distFraction_0=pt._emscripten_bind_btVehicleRaycasterResult_get_m_distFraction_0,qg=s._emscripten_bind_btVehicleRaycasterResult_get_m_hitNormalInWorld_0=pt._emscripten_bind_btVehicleRaycasterResult_get_m_hitNormalInWorld_0,$g=s._emscripten_bind_btVehicleRaycasterResult_get_m_hitPointInWorld_0=pt._emscripten_bind_btVehicleRaycasterResult_get_m_hitPointInWorld_0,tC=s._emscripten_bind_btVehicleRaycasterResult_set_m_distFraction_1=pt._emscripten_bind_btVehicleRaycasterResult_set_m_distFraction_1,eC=s._emscripten_bind_btVehicleRaycasterResult_set_m_hitNormalInWorld_1=pt._emscripten_bind_btVehicleRaycasterResult_set_m_hitNormalInWorld_1,iC=s._emscripten_bind_btVehicleRaycasterResult_set_m_hitPointInWorld_1=pt._emscripten_bind_btVehicleRaycasterResult_set_m_hitPointInWorld_1,nC=s._emscripten_bind_btVehicleRaycaster___destroy___0=pt._emscripten_bind_btVehicleRaycaster___destroy___0,oC=s._emscripten_bind_btVehicleRaycaster_castRay_3=pt._emscripten_bind_btVehicleRaycaster_castRay_3,_C=s._emscripten_bind_btVehicleTuning_btVehicleTuning_0=pt._emscripten_bind_btVehicleTuning_btVehicleTuning_0,rC=s._emscripten_bind_btVehicleTuning_get_m_frictionSlip_0=pt._emscripten_bind_btVehicleTuning_get_m_frictionSlip_0,sC=s._emscripten_bind_btVehicleTuning_get_m_maxSuspensionForce_0=pt._emscripten_bind_btVehicleTuning_get_m_maxSuspensionForce_0,pC=s._emscripten_bind_btVehicleTuning_get_m_maxSuspensionTravelCm_0=pt._emscripten_bind_btVehicleTuning_get_m_maxSuspensionTravelCm_0,cC=s._emscripten_bind_btVehicleTuning_get_m_suspensionCompression_0=pt._emscripten_bind_btVehicleTuning_get_m_suspensionCompression_0,aC=s._emscripten_bind_btVehicleTuning_get_m_suspensionDamping_0=pt._emscripten_bind_btVehicleTuning_get_m_suspensionDamping_0,bC=s._emscripten_bind_btVehicleTuning_get_m_suspensionStiffness_0=pt._emscripten_bind_btVehicleTuning_get_m_suspensionStiffness_0,dC=s._emscripten_bind_btVehicleTuning_set_m_frictionSlip_1=pt._emscripten_bind_btVehicleTuning_set_m_frictionSlip_1,lC=s._emscripten_bind_btVehicleTuning_set_m_maxSuspensionForce_1=pt._emscripten_bind_btVehicleTuning_set_m_maxSuspensionForce_1,AC=s._emscripten_bind_btVehicleTuning_set_m_maxSuspensionTravelCm_1=pt._emscripten_bind_btVehicleTuning_set_m_maxSuspensionTravelCm_1,fC=s._emscripten_bind_btVehicleTuning_set_m_suspensionCompression_1=pt._emscripten_bind_btVehicleTuning_set_m_suspensionCompression_1,uC=s._emscripten_bind_btVehicleTuning_set_m_suspensionDamping_1=pt._emscripten_bind_btVehicleTuning_set_m_suspensionDamping_1,mC=s._emscripten_bind_btVehicleTuning_set_m_suspensionStiffness_1=pt._emscripten_bind_btVehicleTuning_set_m_suspensionStiffness_1,hC=s._emscripten_bind_btWheelInfoConstructionInfo___destroy___0=pt._emscripten_bind_btWheelInfoConstructionInfo___destroy___0,yC=s._emscripten_bind_btWheelInfoConstructionInfo_get_m_bIsFrontWheel_0=pt._emscripten_bind_btWheelInfoConstructionInfo_get_m_bIsFrontWheel_0,gC=s._emscripten_bind_btWheelInfoConstructionInfo_get_m_chassisConnectionCS_0=pt._emscripten_bind_btWheelInfoConstructionInfo_get_m_chassisConnectionCS_0,CC=s._emscripten_bind_btWheelInfoConstructionInfo_get_m_frictionSlip_0=pt._emscripten_bind_btWheelInfoConstructionInfo_get_m_frictionSlip_0,vC=s._emscripten_bind_btWheelInfoConstructionInfo_get_m_maxSuspensionForce_0=pt._emscripten_bind_btWheelInfoConstructionInfo_get_m_maxSuspensionForce_0,SC=s._emscripten_bind_btWheelInfoConstructionInfo_get_m_maxSuspensionTravelCm_0=pt._emscripten_bind_btWheelInfoConstructionInfo_get_m_maxSuspensionTravelCm_0,wC=s._emscripten_bind_btWheelInfoConstructionInfo_get_m_suspensionRestLength_0=pt._emscripten_bind_btWheelInfoConstructionInfo_get_m_suspensionRestLength_0,kC=s._emscripten_bind_btWheelInfoConstructionInfo_get_m_suspensionStiffness_0=pt._emscripten_bind_btWheelInfoConstructionInfo_get_m_suspensionStiffness_0,RC=s._emscripten_bind_btWheelInfoConstructionInfo_get_m_wheelAxleCS_0=pt._emscripten_bind_btWheelInfoConstructionInfo_get_m_wheelAxleCS_0,jC=s._emscripten_bind_btWheelInfoConstructionInfo_get_m_wheelDirectionCS_0=pt._emscripten_bind_btWheelInfoConstructionInfo_get_m_wheelDirectionCS_0,DC=s._emscripten_bind_btWheelInfoConstructionInfo_get_m_wheelRadius_0=pt._emscripten_bind_btWheelInfoConstructionInfo_get_m_wheelRadius_0,IC=s._emscripten_bind_btWheelInfoConstructionInfo_get_m_wheelsDampingCompression_0=pt._emscripten_bind_btWheelInfoConstructionInfo_get_m_wheelsDampingCompression_0,BC=s._emscripten_bind_btWheelInfoConstructionInfo_get_m_wheelsDampingRelaxation_0=pt._emscripten_bind_btWheelInfoConstructionInfo_get_m_wheelsDampingRelaxation_0,WC=s._emscripten_bind_btWheelInfoConstructionInfo_set_m_bIsFrontWheel_1=pt._emscripten_bind_btWheelInfoConstructionInfo_set_m_bIsFrontWheel_1,FC=s._emscripten_bind_btWheelInfoConstructionInfo_set_m_chassisConnectionCS_1=pt._emscripten_bind_btWheelInfoConstructionInfo_set_m_chassisConnectionCS_1,OC=s._emscripten_bind_btWheelInfoConstructionInfo_set_m_frictionSlip_1=pt._emscripten_bind_btWheelInfoConstructionInfo_set_m_frictionSlip_1,xC=s._emscripten_bind_btWheelInfoConstructionInfo_set_m_maxSuspensionForce_1=pt._emscripten_bind_btWheelInfoConstructionInfo_set_m_maxSuspensionForce_1,TC=s._emscripten_bind_btWheelInfoConstructionInfo_set_m_maxSuspensionTravelCm_1=pt._emscripten_bind_btWheelInfoConstructionInfo_set_m_maxSuspensionTravelCm_1,PC=s._emscripten_bind_btWheelInfoConstructionInfo_set_m_suspensionRestLength_1=pt._emscripten_bind_btWheelInfoConstructionInfo_set_m_suspensionRestLength_1,VC=s._emscripten_bind_btWheelInfoConstructionInfo_set_m_suspensionStiffness_1=pt._emscripten_bind_btWheelInfoConstructionInfo_set_m_suspensionStiffness_1,MC=s._emscripten_bind_btWheelInfoConstructionInfo_set_m_wheelAxleCS_1=pt._emscripten_bind_btWheelInfoConstructionInfo_set_m_wheelAxleCS_1,GC=s._emscripten_bind_btWheelInfoConstructionInfo_set_m_wheelDirectionCS_1=pt._emscripten_bind_btWheelInfoConstructionInfo_set_m_wheelDirectionCS_1,LC=s._emscripten_bind_btWheelInfoConstructionInfo_set_m_wheelRadius_1=pt._emscripten_bind_btWheelInfoConstructionInfo_set_m_wheelRadius_1,NC=s._emscripten_bind_btWheelInfoConstructionInfo_set_m_wheelsDampingCompression_1=pt._emscripten_bind_btWheelInfoConstructionInfo_set_m_wheelsDampingCompression_1,QC=s._emscripten_bind_btWheelInfoConstructionInfo_set_m_wheelsDampingRelaxation_1=pt._emscripten_bind_btWheelInfoConstructionInfo_set_m_wheelsDampingRelaxation_1,EC=s._emscripten_bind_btWheelInfo___destroy___0=pt._emscripten_bind_btWheelInfo___destroy___0,HC=s._emscripten_bind_btWheelInfo_btWheelInfo_1=pt._emscripten_bind_btWheelInfo_btWheelInfo_1,ZC=s._emscripten_bind_btWheelInfo_getSuspensionRestLength_0=pt._emscripten_bind_btWheelInfo_getSuspensionRestLength_0,UC=s._emscripten_bind_btWheelInfo_get_m_bIsFrontWheel_0=pt._emscripten_bind_btWheelInfo_get_m_bIsFrontWheel_0,YC=s._emscripten_bind_btWheelInfo_get_m_brake_0=pt._emscripten_bind_btWheelInfo_get_m_brake_0,JC=s._emscripten_bind_btWheelInfo_get_m_chassisConnectionPointCS_0=pt._emscripten_bind_btWheelInfo_get_m_chassisConnectionPointCS_0,XC=s._emscripten_bind_btWheelInfo_get_m_clippedInvContactDotSuspension_0=pt._emscripten_bind_btWheelInfo_get_m_clippedInvContactDotSuspension_0,zC=s._emscripten_bind_btWheelInfo_get_m_deltaRotation_0=pt._emscripten_bind_btWheelInfo_get_m_deltaRotation_0,KC=s._emscripten_bind_btWheelInfo_get_m_engineForce_0=pt._emscripten_bind_btWheelInfo_get_m_engineForce_0,qC=s._emscripten_bind_btWheelInfo_get_m_frictionSlip_0=pt._emscripten_bind_btWheelInfo_get_m_frictionSlip_0,$C=s._emscripten_bind_btWheelInfo_get_m_maxSuspensionForce_0=pt._emscripten_bind_btWheelInfo_get_m_maxSuspensionForce_0,tv=s._emscripten_bind_btWheelInfo_get_m_maxSuspensionTravelCm_0=pt._emscripten_bind_btWheelInfo_get_m_maxSuspensionTravelCm_0,ev=s._emscripten_bind_btWheelInfo_get_m_raycastInfo_0=pt._emscripten_bind_btWheelInfo_get_m_raycastInfo_0,iv=s._emscripten_bind_btWheelInfo_get_m_rollInfluence_0=pt._emscripten_bind_btWheelInfo_get_m_rollInfluence_0,nv=s._emscripten_bind_btWheelInfo_get_m_rotation_0=pt._emscripten_bind_btWheelInfo_get_m_rotation_0,ov=s._emscripten_bind_btWheelInfo_get_m_skidInfo_0=pt._emscripten_bind_btWheelInfo_get_m_skidInfo_0,_v=s._emscripten_bind_btWheelInfo_get_m_steering_0=pt._emscripten_bind_btWheelInfo_get_m_steering_0,rv=s._emscripten_bind_btWheelInfo_get_m_suspensionRelativeVelocity_0=pt._emscripten_bind_btWheelInfo_get_m_suspensionRelativeVelocity_0,sv=s._emscripten_bind_btWheelInfo_get_m_suspensionRestLength1_0=pt._emscripten_bind_btWheelInfo_get_m_suspensionRestLength1_0,pv=s._emscripten_bind_btWheelInfo_get_m_suspensionStiffness_0=pt._emscripten_bind_btWheelInfo_get_m_suspensionStiffness_0,cv=s._emscripten_bind_btWheelInfo_get_m_wheelAxleCS_0=pt._emscripten_bind_btWheelInfo_get_m_wheelAxleCS_0,av=s._emscripten_bind_btWheelInfo_get_m_wheelDirectionCS_0=pt._emscripten_bind_btWheelInfo_get_m_wheelDirectionCS_0,bv=s._emscripten_bind_btWheelInfo_get_m_wheelsDampingCompression_0=pt._emscripten_bind_btWheelInfo_get_m_wheelsDampingCompression_0,dv=s._emscripten_bind_btWheelInfo_get_m_wheelsDampingRelaxation_0=pt._emscripten_bind_btWheelInfo_get_m_wheelsDampingRelaxation_0,lv=s._emscripten_bind_btWheelInfo_get_m_wheelsRadius_0=pt._emscripten_bind_btWheelInfo_get_m_wheelsRadius_0,Av=s._emscripten_bind_btWheelInfo_get_m_wheelsSuspensionForce_0=pt._emscripten_bind_btWheelInfo_get_m_wheelsSuspensionForce_0,fv=s._emscripten_bind_btWheelInfo_get_m_worldTransform_0=pt._emscripten_bind_btWheelInfo_get_m_worldTransform_0,uv=s._emscripten_bind_btWheelInfo_set_m_bIsFrontWheel_1=pt._emscripten_bind_btWheelInfo_set_m_bIsFrontWheel_1,mv=s._emscripten_bind_btWheelInfo_set_m_brake_1=pt._emscripten_bind_btWheelInfo_set_m_brake_1,hv=s._emscripten_bind_btWheelInfo_set_m_chassisConnectionPointCS_1=pt._emscripten_bind_btWheelInfo_set_m_chassisConnectionPointCS_1,yv=s._emscripten_bind_btWheelInfo_set_m_clippedInvContactDotSuspension_1=pt._emscripten_bind_btWheelInfo_set_m_clippedInvContactDotSuspension_1,gv=s._emscripten_bind_btWheelInfo_set_m_deltaRotation_1=pt._emscripten_bind_btWheelInfo_set_m_deltaRotation_1,Cv=s._emscripten_bind_btWheelInfo_set_m_engineForce_1=pt._emscripten_bind_btWheelInfo_set_m_engineForce_1,vv=s._emscripten_bind_btWheelInfo_set_m_frictionSlip_1=pt._emscripten_bind_btWheelInfo_set_m_frictionSlip_1,Sv=s._emscripten_bind_btWheelInfo_set_m_maxSuspensionForce_1=pt._emscripten_bind_btWheelInfo_set_m_maxSuspensionForce_1,wv=s._emscripten_bind_btWheelInfo_set_m_maxSuspensionTravelCm_1=pt._emscripten_bind_btWheelInfo_set_m_maxSuspensionTravelCm_1,kv=s._emscripten_bind_btWheelInfo_set_m_raycastInfo_1=pt._emscripten_bind_btWheelInfo_set_m_raycastInfo_1,Rv=s._emscripten_bind_btWheelInfo_set_m_rollInfluence_1=pt._emscripten_bind_btWheelInfo_set_m_rollInfluence_1,jv=s._emscripten_bind_btWheelInfo_set_m_rotation_1=pt._emscripten_bind_btWheelInfo_set_m_rotation_1,Dv=s._emscripten_bind_btWheelInfo_set_m_skidInfo_1=pt._emscripten_bind_btWheelInfo_set_m_skidInfo_1,Iv=s._emscripten_bind_btWheelInfo_set_m_steering_1=pt._emscripten_bind_btWheelInfo_set_m_steering_1,Bv=s._emscripten_bind_btWheelInfo_set_m_suspensionRelativeVelocity_1=pt._emscripten_bind_btWheelInfo_set_m_suspensionRelativeVelocity_1,Wv=s._emscripten_bind_btWheelInfo_set_m_suspensionRestLength1_1=pt._emscripten_bind_btWheelInfo_set_m_suspensionRestLength1_1,Fv=s._emscripten_bind_btWheelInfo_set_m_suspensionStiffness_1=pt._emscripten_bind_btWheelInfo_set_m_suspensionStiffness_1,Ov=s._emscripten_bind_btWheelInfo_set_m_wheelAxleCS_1=pt._emscripten_bind_btWheelInfo_set_m_wheelAxleCS_1,xv=s._emscripten_bind_btWheelInfo_set_m_wheelDirectionCS_1=pt._emscripten_bind_btWheelInfo_set_m_wheelDirectionCS_1,Tv=s._emscripten_bind_btWheelInfo_set_m_wheelsDampingCompression_1=pt._emscripten_bind_btWheelInfo_set_m_wheelsDampingCompression_1,Pv=s._emscripten_bind_btWheelInfo_set_m_wheelsDampingRelaxation_1=pt._emscripten_bind_btWheelInfo_set_m_wheelsDampingRelaxation_1,Vv=s._emscripten_bind_btWheelInfo_set_m_wheelsRadius_1=pt._emscripten_bind_btWheelInfo_set_m_wheelsRadius_1,Mv=s._emscripten_bind_btWheelInfo_set_m_wheelsSuspensionForce_1=pt._emscripten_bind_btWheelInfo_set_m_wheelsSuspensionForce_1,Gv=s._emscripten_bind_btWheelInfo_set_m_worldTransform_1=pt._emscripten_bind_btWheelInfo_set_m_worldTransform_1,Lv=s._emscripten_bind_btWheelInfo_updateWheel_2=pt._emscripten_bind_btWheelInfo_updateWheel_2,Nv=s._emscripten_bind_tAnchorArray___destroy___0=pt._emscripten_bind_tAnchorArray___destroy___0,Qv=s._emscripten_bind_tAnchorArray_at_1=pt._emscripten_bind_tAnchorArray_at_1,Ev=s._emscripten_bind_tAnchorArray_clear_0=pt._emscripten_bind_tAnchorArray_clear_0,Hv=s._emscripten_bind_tAnchorArray_pop_back_0=pt._emscripten_bind_tAnchorArray_pop_back_0,Zv=s._emscripten_bind_tAnchorArray_push_back_1=pt._emscripten_bind_tAnchorArray_push_back_1,Uv=s._emscripten_bind_tAnchorArray_size_0=pt._emscripten_bind_tAnchorArray_size_0,Yv=s._emscripten_bind_tMaterialArray___destroy___0=pt._emscripten_bind_tMaterialArray___destroy___0,Jv=s._emscripten_bind_tMaterialArray_at_1=pt._emscripten_bind_tMaterialArray_at_1,Xv=s._emscripten_bind_tMaterialArray_size_0=pt._emscripten_bind_tMaterialArray_size_0,zv=s._emscripten_bind_tNodeArray___destroy___0=pt._emscripten_bind_tNodeArray___destroy___0,Kv=s._emscripten_bind_tNodeArray_at_1=pt._emscripten_bind_tNodeArray_at_1,qv=s._emscripten_bind_tNodeArray_size_0=pt._emscripten_bind_tNodeArray_size_0,$v=s._emscripten_enum_PHY_ScalarType_PHY_DOUBLE=pt._emscripten_enum_PHY_ScalarType_PHY_DOUBLE,tS=s._emscripten_enum_PHY_ScalarType_PHY_FIXEDPOINT88=pt._emscripten_enum_PHY_ScalarType_PHY_FIXEDPOINT88,eS=s._emscripten_enum_PHY_ScalarType_PHY_FLOAT=pt._emscripten_enum_PHY_ScalarType_PHY_FLOAT,iS=s._emscripten_enum_PHY_ScalarType_PHY_INTEGER=pt._emscripten_enum_PHY_ScalarType_PHY_INTEGER,nS=s._emscripten_enum_PHY_ScalarType_PHY_SHORT=pt._emscripten_enum_PHY_ScalarType_PHY_SHORT,oS=s._emscripten_enum_PHY_ScalarType_PHY_UCHAR=pt._emscripten_enum_PHY_ScalarType_PHY_UCHAR,_S=s._emscripten_enum_btConstraintParams_BT_CONSTRAINT_CFM=pt._emscripten_enum_btConstraintParams_BT_CONSTRAINT_CFM,rS=s._emscripten_enum_btConstraintParams_BT_CONSTRAINT_ERP=pt._emscripten_enum_btConstraintParams_BT_CONSTRAINT_ERP,sS=s._emscripten_enum_btConstraintParams_BT_CONSTRAINT_STOP_CFM=pt._emscripten_enum_btConstraintParams_BT_CONSTRAINT_STOP_CFM,pS=s._emscripten_enum_btConstraintParams_BT_CONSTRAINT_STOP_ERP=pt._emscripten_enum_btConstraintParams_BT_CONSTRAINT_STOP_ERP,cS=(s._emscripten_replace_memory=pt._emscripten_replace_memory,s._free=pt._free),aS=(s._i64Add=pt._i64Add,s._i64Subtract=pt._i64Subtract,s._llvm_bswap_i16=pt._llvm_bswap_i16,s._llvm_bswap_i32=pt._llvm_bswap_i32,s._malloc=pt._malloc);if(s._memcpy=pt._memcpy,s._memmove=pt._memmove,s._memset=pt._memset,s._sbrk=pt._sbrk,s.establishStackSpace=pt.establishStackSpace,s.stackAlloc=pt.stackAlloc,s.stackRestore=pt.stackRestore,s.stackSave=pt.stackSave,s.dynCall_di=pt.dynCall_di,s.dynCall_did=pt.dynCall_did,s.dynCall_diidii=pt.dynCall_diidii,s.dynCall_diii=pt.dynCall_diii,s.dynCall_diiidii=pt.dynCall_diiidii,s.dynCall_diiii=pt.dynCall_diiii,s.dynCall_diiiii=pt.dynCall_diiiii,s.dynCall_diiiiiiii=pt.dynCall_diiiiiiii,s.dynCall_diiiiiiiii=pt.dynCall_diiiiiiiii,s.dynCall_diiiiiiiiii=pt.dynCall_diiiiiiiiii,s.dynCall_ii=pt.dynCall_ii,s.dynCall_iidid=pt.dynCall_iidid,s.dynCall_iii=pt.dynCall_iii,s.dynCall_iiid=pt.dynCall_iiid,s.dynCall_iiii=pt.dynCall_iiii,s.dynCall_iiiii=pt.dynCall_iiiii,s.dynCall_iiiiiii=pt.dynCall_iiiiiii,s.dynCall_iiiiiiiiii=pt.dynCall_iiiiiiiiii,s.dynCall_iiiiiiiiiii=pt.dynCall_iiiiiiiiiii,s.dynCall_v=pt.dynCall_v,s.dynCall_vi=pt.dynCall_vi,s.dynCall_vid=pt.dynCall_vid,s.dynCall_vidd=pt.dynCall_vidd,s.dynCall_viddiii=pt.dynCall_viddiii,s.dynCall_vidi=pt.dynCall_vidi,s.dynCall_vidii=pt.dynCall_vidii,s.dynCall_vii=pt.dynCall_vii,s.dynCall_viid=pt.dynCall_viid,s.dynCall_viidi=pt.dynCall_viidi,s.dynCall_viidii=pt.dynCall_viidii,s.dynCall_viii=pt.dynCall_viii,s.dynCall_viiid=pt.dynCall_viiid,s.dynCall_viiidii=pt.dynCall_viiidii,s.dynCall_viiii=pt.dynCall_viiii,s.dynCall_viiiid=pt.dynCall_viiiid,s.dynCall_viiiidddddidi=pt.dynCall_viiiidddddidi,s.dynCall_viiiiddddiid=pt.dynCall_viiiiddddiid,s.dynCall_viiiii=pt.dynCall_viiiii,s.dynCall_viiiiid=pt.dynCall_viiiiid,s.dynCall_viiiiii=pt.dynCall_viiiiii,s.dynCall_viiiiiii=pt.dynCall_viiiiiii,s.dynCall_viiiiiiiid=pt.dynCall_viiiiiiiid,s.dynCall_viiiiiiiii=pt.dynCall_viiiiiiiii,s.dynCall_viiiiiiiiii=pt.dynCall_viiiiiiiiii,s.asm=pt,s.Pointer_stringify=function(t,e){hS("this function has been removed - you should use UTF8ToString(ptr, maxBytesToRead) instead!")},H)if(U(H)||(_t=H,H=s.locateFile?s.locateFile(_t,b):b+_t),_||r){var bS=s.readBinary(H);g.set(bS,8)}else{N++,s.monitorRunDependencies&&s.monitorRunDependencies(N);var dS=function(t){t.byteLength&&(t=new Uint8Array(t)),g.set(t,8),s.memoryInitializerRequest&&delete s.memoryInitializerRequest.response,function(){if(N--,s.monitorRunDependencies&&s.monitorRunDependencies(N),0==N&&(null!==Q&&(clearInterval(Q),Q=null),E)){var t=E;E=null,t()}}()},lS=function(){s.readAsync(H,dS,function(){throw"could not load memory initializer "+H})},AS=ot(H);if(AS)dS(AS.buffer);else if(s.memoryInitializerRequest){var fS=function(){var t=s.memoryInitializerRequest,e=t.response;if(200!==t.status&&0!==t.status){var i=ot(s.memoryInitializerRequestURL);if(!i)return console.warn("a problem seems to have happened with Module.memoryInitializerRequest, status: "+t.status+", retrying "+H),void lS();e=i.buffer}dS(e)};s.memoryInitializerRequest.response?setTimeout(fS,0):s.memoryInitializerRequest.addEventListener("load",fS)}else lS()}function uS(t){this.name="ExitStatus",this.message="Program terminated with exit("+t+")",this.status=t}function mS(t){function e(){s.calledRun||(s.calledRun=!0,u||(M||(M=!0,O(T)),O(P),s.onRuntimeInitialized&&s.onRuntimeInitialized(),function(){if(s.postRun)for("function"==typeof s.postRun&&(s.postRun=[s.postRun]);s.postRun.length;)L(s.postRun.shift());O(V)}()))}t=t||s.arguments,N>0||(function(){if(s.preRun)for("function"==typeof s.preRun&&(s.preRun=[s.preRun]);s.preRun.length;)G(s.preRun.shift());O(x)}(),N>0||s.calledRun||(s.setStatus?(s.setStatus("Running..."),setTimeout(function(){setTimeout(function(){s.setStatus("")},1),e()},1)):e()))}function hS(t){throw s.onAbort&&s.onAbort(t),void 0!==t?(d(t),l(t),t=JSON.stringify(t)):t="",u=!0,"abort("+t+"). Build with -s ASSERTIONS=1 for more info."}if(s.then=function(t){if(s.calledRun)t(s);else{var e=s.onRuntimeInitialized;s.onRuntimeInitialized=function(){e&&e(),t(s)}}return s},uS.prototype=new Error,uS.prototype.constructor=uS,E=function t(){s.calledRun||mS(),s.calledRun||(E=t)},s.run=mS,s.abort=hS,s.preInit)for("function"==typeof s.preInit&&(s.preInit=[s.preInit]);s.preInit.length>0;)s.preInit.pop()();function yS(){}function gS(t){return(t||yS).__cache__}function CS(t,e){var i=gS(e),n=i[t];return n||((n=Object.create((e||yS).prototype)).ptr=t,i[t]=n)}s.noExitRuntime=!0,mS(),yS.prototype=Object.create(yS.prototype),yS.prototype.constructor=yS,yS.prototype.__class__=yS,yS.__cache__={},s.WrapperObject=yS,s.getCache=gS,s.wrapPointer=CS,s.castObject=function(t,e){return CS(t.ptr,e)},s.NULL=CS(0),s.destroy=function(t){if(!t.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";t.__destroy__(),delete gS(t.__class__)[t.ptr]},s.compare=function(t,e){return t.ptr===e.ptr},s.getPointer=function(t){return t.ptr},s.getClass=function(t){return t.__class__};var vS={buffer:0,size:0,pos:0,temps:[],needed:0,prepare:function(){if(vS.needed){for(var t=0;t<vS.temps.length;t++)s._free(vS.temps[t]);vS.temps.length=0,s._free(vS.buffer),vS.buffer=0,vS.size+=vS.needed,vS.needed=0}vS.buffer||(vS.size+=128,vS.buffer=s._malloc(vS.size),m(vS.buffer)),vS.pos=0},alloc:function(t,e){m(vS.buffer);var i,n=e.BYTES_PER_ELEMENT,o=t.length*n;return o=o+7&-8,vS.pos+o>=vS.size?(m(o>0),vS.needed+=o,i=s._malloc(o),vS.temps.push(i)):(i=vS.buffer+vS.pos,vS.pos+=o),i},copy:function(t,e,i){var n=i;switch(e.BYTES_PER_ELEMENT){case 2:n>>=1;break;case 4:n>>=2;break;case 8:n>>=3}for(var o=0;o<t.length;o++)e[n+o]=t[o]}};function SS(t){if("string"==typeof t){var e=(n=t,r=_>0?_:function(t){for(var e=0,i=0;i<t.length;++i){var n=t.charCodeAt(i);n>=55296&&n<=57343&&(n=65536+((1023&n)<<10)|1023&t.charCodeAt(++i)),n<=127?++e:e+=n<=2047?2:n<=65535?3:4}return e}(n)+1,s=new Array(r),p=j(n,s,0,s.length),o&&(s.length=p),s),i=vS.alloc(e,y);return vS.copy(e,y,i),i}var n,o,_,r,s,p;return t}function wS(t){if("object"==typeof t){var e=vS.alloc(t,v);return vS.copy(t,v,e),e}return t}function kS(t,e,i){t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),this.ptr=W_(t,e,i),gS(kS)[this.ptr]=this}function RS(){throw"cannot construct a btCollisionShape, no constructor in IDL"}function jS(){throw"cannot construct a btCollisionObject, no constructor in IDL"}function DS(){throw"cannot construct a btDynamicsWorld, no constructor in IDL"}function IS(){throw"cannot construct a btTypedConstraint, no constructor in IDL"}function BS(){throw"cannot construct a btConcaveShape, no constructor in IDL"}function WS(t,e){t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),this.ptr=To(t,e),gS(WS)[this.ptr]=this}function OS(){throw"cannot construct a btIDebugDraw, no constructor in IDL"}function xS(t){if(t&&"object"==typeof t&&(t=t.ptr),void 0===t)return this.ptr=cp(),void(gS(xS)[this.ptr]=this);this.ptr=ap(t),gS(xS)[this.ptr]=this}function TS(){throw"cannot construct a ConvexResultCallback, no constructor in IDL"}function PS(){throw"cannot construct a btTriangleMeshShape, no constructor in IDL"}function VS(){this.ptr=Ya(),gS(VS)[this.ptr]=this}function MS(t,e){t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),this.ptr=Sr(t,e),gS(MS)[this.ptr]=this}function GS(){throw"cannot construct a btActionInterface, no constructor in IDL"}function LS(t,e,i){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),void 0===t?(this.ptr=ug(),void(gS(LS)[this.ptr]=this)):void 0===e?(this.ptr=_emscripten_bind_btVector3_btVector3_1(t),void(gS(LS)[this.ptr]=this)):void 0===i?(this.ptr=_emscripten_bind_btVector3_btVector3_2(t,e),void(gS(LS)[this.ptr]=this)):(this.ptr=mg(t,e,i),void(gS(LS)[this.ptr]=this))}function NS(){throw"cannot construct a btVehicleRaycaster, no constructor in IDL"}function QS(){throw"cannot construct a btQuadWord, no constructor in IDL"}function ES(t){t&&"object"==typeof t&&(t=t.ptr),this.ptr=tp(t),gS(ES)[this.ptr]=this}function HS(t,e,i,n){t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),n&&"object"==typeof n&&(n=n.ptr),this.ptr=Tp(t,e,i,n),gS(HS)[this.ptr]=this}function ZS(){throw"cannot construct a btConvexShape, no constructor in IDL"}function US(){throw"cannot construct a btDispatcher, no constructor in IDL"}function YS(t,e,i,n,o){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),n&&"object"==typeof n&&(n=n.ptr),o&&"object"==typeof o&&(o=o.ptr),void 0===n?(this.ptr=ua(t,e,i),void(gS(YS)[this.ptr]=this)):void 0===o?(this.ptr=_emscripten_bind_btGeneric6DofConstraint_btGeneric6DofConstraint_4(t,e,i,n),void(gS(YS)[this.ptr]=this)):(this.ptr=ma(t,e,i,n,o),void(gS(YS)[this.ptr]=this))}function JS(){throw"cannot construct a btStridingMeshInterface, no constructor in IDL"}function XS(){throw"cannot construct a btMotionState, no constructor in IDL"}function zS(){throw"cannot construct a ContactResultCallback, no constructor in IDL"}function KS(){throw"cannot construct a btSoftBodySolver, no constructor in IDL"}function qS(){throw"cannot construct a RayResultCallback, no constructor in IDL"}function $S(){throw"cannot construct a btMatrix3x3, no constructor in IDL"}function tw(){throw"cannot construct a btDispatcherInfo, no constructor in IDL"}function ew(){throw"cannot construct a Material, no constructor in IDL"}function iw(){throw"cannot construct a btWheelInfoConstructionInfo, no constructor in IDL"}function nw(t,e){if(t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),void 0===e)return this.ptr=Fs(t),void(gS(nw)[this.ptr]=this);this.ptr=Os(t,e),gS(nw)[this.ptr]=this}function ow(){throw"cannot construct a btBroadphaseInterface, no constructor in IDL"}function _w(t,e,i,n){if(t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),n&&"object"==typeof n&&(n=n.ptr),void 0===n)return this.ptr=bf(t,e,i),void(gS(_w)[this.ptr]=this);this.ptr=df(t,e,i,n),gS(_w)[this.ptr]=this}function rw(){throw"cannot construct a btCollisionConfiguration, no constructor in IDL"}function sw(){this.ptr=Dl(),gS(sw)[this.ptr]=this}function pw(t){if(t&&"object"==typeof t&&(t=t.ptr),void 0===t)return this.ptr=X_(),void(gS(pw)[this.ptr]=this);this.ptr=z_(t),gS(pw)[this.ptr]=this}function cw(t,e){t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),this.ptr=kt(t,e),gS(cw)[this.ptr]=this}function aw(){throw"cannot construct a tMaterialArray, no constructor in IDL"}function bw(t){t&&"object"==typeof t&&(t=t.ptr),this.ptr=wp(t),gS(bw)[this.ptr]=this}function dw(){this.ptr=Hr(),gS(dw)[this.ptr]=this}function lw(){throw"cannot construct a LocalShapeInfo, no constructor in IDL"}function Aw(t){t&&"object"==typeof t&&(t=t.ptr),this.ptr=Xf(t),gS(Aw)[this.ptr]=this}function fw(){throw"cannot construct a btConvexPolyhedron, no constructor in IDL"}function uw(){this.ptr=sp(),gS(uw)[this.ptr]=this}function mw(t,e,i,n,o,_,r,s,p){t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),n&&"object"==typeof n&&(n=n.ptr),o&&"object"==typeof o&&(o=o.ptr),_&&"object"==typeof _&&(_=_.ptr),r&&"object"==typeof r&&(r=r.ptr),s&&"object"==typeof s&&(s=s.ptr),p&&"object"==typeof p&&(p=p.ptr),this.ptr=vb(t,e,i,n,o,_,r,s,p),gS(mw)[this.ptr]=this}function hw(){this.ptr=vp(),gS(hw)[this.ptr]=this}function yw(t){t&&"object"==typeof t&&(t=t.ptr),this.ptr=Uo(t),gS(yw)[this.ptr]=this}function gw(t,e,i,n,o){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),n&&"object"==typeof n&&(n=n.ptr),o&&"object"==typeof o&&(o=o.ptr),void 0===i?(this.ptr=Hn(t,e),void(gS(gw)[this.ptr]=this)):void 0===n?(this.ptr=Zn(t,e,i),void(gS(gw)[this.ptr]=this)):void 0===o?(this.ptr=Un(t,e,i,n),void(gS(gw)[this.ptr]=this)):(this.ptr=Yn(t,e,i,n,o),void(gS(gw)[this.ptr]=this))}function Cw(){this.ptr=ym(),gS(Cw)[this.ptr]=this}function vw(t,e,i,n){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),n&&"object"==typeof n&&(n=n.ptr),void 0===i?(this.ptr=Dr(t,e),void(gS(vw)[this.ptr]=this)):void 0===n?(this.ptr=_emscripten_bind_btConeTwistConstraint_btConeTwistConstraint_3(t,e,i),void(gS(vw)[this.ptr]=this)):(this.ptr=Ir(t,e,i,n),void(gS(vw)[this.ptr]=this))}function Sw(t,e,i,n,o,_,r){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),n&&"object"==typeof n&&(n=n.ptr),o&&"object"==typeof o&&(o=o.ptr),_&&"object"==typeof _&&(_=_.ptr),r&&"object"==typeof r&&(r=r.ptr),void 0===i?(this.ptr=Ib(t,e),void(gS(Sw)[this.ptr]=this)):void 0===n?(this.ptr=Bb(t,e,i),void(gS(Sw)[this.ptr]=this)):void 0===o?(this.ptr=Wb(t,e,i,n),void(gS(Sw)[this.ptr]=this)):void 0===_?(this.ptr=Fb(t,e,i,n,o),void(gS(Sw)[this.ptr]=this)):void 0===r?(this.ptr=Ob(t,e,i,n,o,_),void(gS(Sw)[this.ptr]=this)):(this.ptr=xb(t,e,i,n,o,_,r),void(gS(Sw)[this.ptr]=this))}function ww(t,e){t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),this.ptr=hr(t,e),gS(ww)[this.ptr]=this}function kw(t,e){t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),this.ptr=lr(t,e),gS(kw)[this.ptr]=this}function Rw(t,e){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),void 0===t?(this.ptr=ig(),void(gS(Rw)[this.ptr]=this)):void 0===e?(this.ptr=ng(t),void(gS(Rw)[this.ptr]=this)):(this.ptr=og(t,e),void(gS(Rw)[this.ptr]=this))}function jw(t,e){return vS.prepare(),"object"==typeof t&&(t=wS(t)),e&&"object"==typeof e&&(e=e.ptr),void 0===t?(this.ptr=ps(),void(gS(jw)[this.ptr]=this)):void 0===e?(this.ptr=cs(t),void(gS(jw)[this.ptr]=this)):(this.ptr=as(t,e),void(gS(jw)[this.ptr]=this))}function Dw(){this.ptr=_C(),gS(Dw)[this.ptr]=this}function Iw(){throw"cannot construct a btCollisionObjectWrapper, no constructor in IDL"}function Bw(t){t&&"object"==typeof t&&(t=t.ptr),this.ptr=Nu(t),gS(Bw)[this.ptr]=this}function Ww(t,e){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),void 0===t?(this.ptr=Ap(),void(gS(Ww)[this.ptr]=this)):void 0===e?(this.ptr=fp(t),void(gS(Ww)[this.ptr]=this)):(this.ptr=up(t,e),void(gS(Ww)[this.ptr]=this))}function Fw(t){t&&"object"==typeof t&&(t=t.ptr),this.ptr=HC(t),gS(Fw)[this.ptr]=this}function Ow(t,e,i,n){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),n&&"object"==typeof n&&(n=n.ptr),void 0===t?(this.ptr=Og(),void(gS(Ow)[this.ptr]=this)):void 0===e?(this.ptr=_emscripten_bind_btVector4_btVector4_1(t),void(gS(Ow)[this.ptr]=this)):void 0===i?(this.ptr=_emscripten_bind_btVector4_btVector4_2(t,e),void(gS(Ow)[this.ptr]=this)):void 0===n?(this.ptr=_emscripten_bind_btVector4_btVector4_3(t,e,i),void(gS(Ow)[this.ptr]=this)):(this.ptr=xg(t,e,i,n),void(gS(Ow)[this.ptr]=this))}function xw(){this.ptr=dp(),gS(xw)[this.ptr]=this}function Tw(){throw"cannot construct a Anchor, no constructor in IDL"}function Pw(){throw"cannot construct a btVehicleRaycasterResult, no constructor in IDL"}function Vw(){throw"cannot construct a btVector3Array, no constructor in IDL"}function Mw(){throw"cannot construct a btConstraintSolver, no constructor in IDL"}function Gw(t,e,i){t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),this.ptr=xA(t,e,i),gS(Gw)[this.ptr]=this}function Lw(t){t&&"object"==typeof t&&(t=t.ptr),this.ptr=Ls(t),gS(Lw)[this.ptr]=this}function Nw(t){t&&"object"==typeof t&&(t=t.ptr),this.ptr=Ys(t),gS(Nw)[this.ptr]=this}function Qw(){this.ptr=Gu(),gS(Qw)[this.ptr]=this}function Ew(){throw"cannot construct a tAnchorArray, no constructor in IDL"}function Hw(){throw"cannot construct a RaycastInfo, no constructor in IDL"}function Zw(){throw"cannot construct a tNodeArray, no constructor in IDL"}function Uw(t,e,i,n){vS.prepare(),t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),"object"==typeof n&&(n=wS(n)),this.ptr=Jm(t,e,i,n),gS(Uw)[this.ptr]=this}function Yw(){throw"cannot construct a btIntArray, no constructor in IDL"}function Jw(){throw"cannot construct a Config, no constructor in IDL"}function Xw(){throw"cannot construct a Node, no constructor in IDL"}function zw(){this.ptr=gb(),gS(zw)[this.ptr]=this}function Kw(){throw"cannot construct a btOverlappingPairCallback, no constructor in IDL"}function qw(t,e,i,n){if(t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),n&&"object"==typeof n&&(n=n.ptr),void 0===n)return this.ptr=od(t,e,i),void(gS(qw)[this.ptr]=this);this.ptr=_d(t,e,i,n),gS(qw)[this.ptr]=this}function $w(){throw"cannot construct a btSoftBodyArray, no constructor in IDL"}function tk(){throw"cannot construct a btFaceArray, no constructor in IDL"}function ek(t,e){t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),this.ptr=Wy(t,e),gS(ek)[this.ptr]=this}function ik(){throw"cannot construct a btOverlappingPairCache, no constructor in IDL"}function nk(t,e,i,n,o){t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),n&&"object"==typeof n&&(n=n.ptr),o&&"object"==typeof o&&(o=o.ptr),this.ptr=Xh(t,e,i,n,o),gS(nk)[this.ptr]=this}function ok(t,e,i,n){t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),n&&"object"==typeof n&&(n=n.ptr),this.ptr=ca(t,e,i,n),gS(ok)[this.ptr]=this}function _k(t,e){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),void 0===t?(this.ptr=My(),void(gS(_k)[this.ptr]=this)):void 0===e?(this.ptr=_emscripten_bind_btTransform_btTransform_1(t),void(gS(_k)[this.ptr]=this)):(this.ptr=Gy(t,e),void(gS(_k)[this.ptr]=this))}function rk(t,e){t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),this.ptr=Qt(t,e),gS(rk)[this.ptr]=this}function sk(t){if(t&&"object"==typeof t&&(t=t.ptr),void 0===t)return this.ptr=fm(),void(gS(sk)[this.ptr]=this);this.ptr=um(t),gS(sk)[this.ptr]=this}function pk(){this.ptr=se(),gS(pk)[this.ptr]=this}function ck(t,e,i){if(t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),void 0===i)return this.ptr=po(t,e),void(gS(ck)[this.ptr]=this);this.ptr=co(t,e,i),gS(ck)[this.ptr]=this}function ak(t,e,i,n,o){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),n&&"object"==typeof n&&(n=n.ptr),o&&"object"==typeof o&&(o=o.ptr),void 0===n?(this.ptr=Uu(t,e,i),void(gS(ak)[this.ptr]=this)):void 0===o?(this.ptr=_emscripten_bind_btSliderConstraint_btSliderConstraint_4(t,e,i,n),void(gS(ak)[this.ptr]=this)):(this.ptr=Yu(t,e,i,n,o),void(gS(ak)[this.ptr]=this))}function bk(){this.ptr=el(),gS(bk)[this.ptr]=this}function dk(){throw"cannot construct a btManifoldPoint, no constructor in IDL"}function lk(t,e,i,n){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),n&&"object"==typeof n&&(n=n.ptr),void 0===i?(this.ptr=xl(t,e),void(gS(lk)[this.ptr]=this)):void 0===n?(this.ptr=_emscripten_bind_btPoint2PointConstraint_btPoint2PointConstraint_3(t,e,i),void(gS(lk)[this.ptr]=this)):(this.ptr=Tl(t,e,i,n),void(gS(lk)[this.ptr]=this))}function Ak(){this.ptr=lm(),gS(Ak)[this.ptr]=this}function fk(){throw"cannot construct a VoidPtr, no constructor in IDL"}function uk(){throw"cannot construct a btBroadphaseProxy, no constructor in IDL"}function mk(t){t&&"object"==typeof t&&(t=t.ptr),this.ptr=Xn(t),gS(mk)[this.ptr]=this}function hk(){throw"cannot construct a btFace, no constructor in IDL"}function yk(){this.ptr=mi(),gS(yk)[this.ptr]=this}function gk(t,e){t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),this.ptr=fo(t,e),gS(gk)[this.ptr]=this}function Ck(t,e,i,n){t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),n&&"object"==typeof n&&(n=n.ptr),this.ptr=_A(t,e,i,n),gS(Ck)[this.ptr]=this}function vk(t,e){t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),this.ptr=ko(t,e),gS(vk)[this.ptr]=this}function Sk(){throw"cannot construct a btContactSolverInfo, no constructor in IDL"}function wk(t,e,i,n,o){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),n&&"object"==typeof n&&(n=n.ptr),o&&"object"==typeof o&&(o=o.ptr),void 0===n?(this.ptr=Ia(t,e,i),void(gS(wk)[this.ptr]=this)):void 0===o?(this.ptr=_emscripten_bind_btGeneric6DofSpringConstraint_btGeneric6DofSpringConstraint_4(t,e,i,n),void(gS(wk)[this.ptr]=this)):(this.ptr=Ba(t,e,i,n,o),void(gS(wk)[this.ptr]=this))}function kk(t){t&&"object"==typeof t&&(t=t.ptr),this.ptr=wy(t),gS(kk)[this.ptr]=this}function Rk(t,e,i,n,o){t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),n&&"object"==typeof n&&(n=n.ptr),o&&"object"==typeof o&&(o=o.ptr),this.ptr=ki(t,e,i,n,o),gS(Rk)[this.ptr]=this}return kS.prototype=Object.create(yS.prototype),kS.prototype.constructor=kS,kS.prototype.__class__=kS,kS.__cache__={},s.btCollisionWorld=kS,kS.prototype.getDispatcher=kS.prototype.getDispatcher=function(){var t=this.ptr;return CS(L_(t),US)},kS.prototype.rayTest=kS.prototype.rayTest=function(t,e,i){var n=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),E_(n,t,e,i)},kS.prototype.getPairCache=kS.prototype.getPairCache=function(){var t=this.ptr;return CS(N_(t),ik)},kS.prototype.getDispatchInfo=kS.prototype.getDispatchInfo=function(){var t=this.ptr;return CS(G_(t),tw)},kS.prototype.addCollisionObject=kS.prototype.addCollisionObject=function(t,e,i){var n=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),void 0!==e?void 0!==i?B_(n,t,e,i):I_(n,t,e):D_(n,t)},kS.prototype.removeCollisionObject=kS.prototype.removeCollisionObject=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),H_(e,t)},kS.prototype.getBroadphase=kS.prototype.getBroadphase=function(){var t=this.ptr;return CS(V_(t),ow)},kS.prototype.convexSweepTest=kS.prototype.convexSweepTest=function(t,e,i,n,o){var _=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),n&&"object"==typeof n&&(n=n.ptr),o&&"object"==typeof o&&(o=o.ptr),x_(_,t,e,i,n,o)},kS.prototype.contactPairTest=kS.prototype.contactPairTest=function(t,e,i){var n=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),F_(n,t,e,i)},kS.prototype.contactTest=kS.prototype.contactTest=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),O_(i,t,e)},kS.prototype.updateSingleAabb=kS.prototype.updateSingleAabb=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),U_(e,t)},kS.prototype.setDebugDrawer=kS.prototype.setDebugDrawer=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Z_(e,t)},kS.prototype.getDebugDrawer=kS.prototype.getDebugDrawer=function(){var t=this.ptr;return CS(M_(t),OS)},kS.prototype.debugDrawWorld=kS.prototype.debugDrawWorld=function(){var t=this.ptr;P_(t)},kS.prototype.debugDrawObject=kS.prototype.debugDrawObject=function(t,e,i){var n=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),T_(n,t,e,i)},kS.prototype.performDiscreteCollisionDetection=kS.prototype.performDiscreteCollisionDetection=function(){var t=this.ptr;Q_(t)},kS.prototype.__destroy__=kS.prototype.__destroy__=function(){var t=this.ptr;j_(t)},RS.prototype=Object.create(yS.prototype),RS.prototype.constructor=RS,RS.prototype.__class__=RS,RS.__cache__={},s.btCollisionShape=RS,RS.prototype.setLocalScaling=RS.prototype.setLocalScaling=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),k_(e,t)},RS.prototype.getLocalScaling=RS.prototype.getLocalScaling=function(){var t=this.ptr;return CS(S_(t),LS)},RS.prototype.calculateLocalInertia=RS.prototype.calculateLocalInertia=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),v_(i,t,e)},RS.prototype.setMargin=RS.prototype.setMargin=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),R_(e,t)},RS.prototype.getMargin=RS.prototype.getMargin=function(){var t=this.ptr;return w_(t)},RS.prototype.__destroy__=RS.prototype.__destroy__=function(){var t=this.ptr;C_(t)},jS.prototype=Object.create(yS.prototype),jS.prototype.constructor=jS,jS.prototype.__class__=jS,jS.__cache__={},s.btCollisionObject=jS,jS.prototype.setAnisotropicFriction=jS.prototype.setAnisotropicFriction=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),c_(i,t,e)},jS.prototype.getCollisionShape=jS.prototype.getCollisionShape=function(){var t=this.ptr;return CS(t_(t),RS)},jS.prototype.setContactProcessingThreshold=jS.prototype.setContactProcessingThreshold=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),A_(e,t)},jS.prototype.setActivationState=jS.prototype.setActivationState=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),p_(e,t)},jS.prototype.forceActivationState=jS.prototype.forceActivationState=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),qo(e,t)},jS.prototype.activate=jS.prototype.activate=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),void 0!==t?Ko(e,t):zo(e)},jS.prototype.isActive=jS.prototype.isActive=function(){var t=this.ptr;return!!o_(t)},jS.prototype.isKinematicObject=jS.prototype.isKinematicObject=function(){var t=this.ptr;return!!__(t)},jS.prototype.isStaticObject=jS.prototype.isStaticObject=function(){var t=this.ptr;return!!r_(t)},jS.prototype.isStaticOrKinematicObject=jS.prototype.isStaticOrKinematicObject=function(){var t=this.ptr;return!!s_(t)},jS.prototype.setRestitution=jS.prototype.setRestitution=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),u_(e,t)},jS.prototype.setFriction=jS.prototype.setFriction=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),f_(e,t)},jS.prototype.setRollingFriction=jS.prototype.setRollingFriction=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),m_(e,t)},jS.prototype.getWorldTransform=jS.prototype.getWorldTransform=function(){var t=this.ptr;return CS(n_(t),_k)},jS.prototype.getCollisionFlags=jS.prototype.getCollisionFlags=function(){var t=this.ptr;return $o(t)},jS.prototype.setCollisionFlags=jS.prototype.setCollisionFlags=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),d_(e,t)},jS.prototype.setWorldTransform=jS.prototype.setWorldTransform=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),g_(e,t)},jS.prototype.setCollisionShape=jS.prototype.setCollisionShape=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),l_(e,t)},jS.prototype.setCcdMotionThreshold=jS.prototype.setCcdMotionThreshold=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),a_(e,t)},jS.prototype.setCcdSweptSphereRadius=jS.prototype.setCcdSweptSphereRadius=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),b_(e,t)},jS.prototype.getUserIndex=jS.prototype.getUserIndex=function(){var t=this.ptr;return e_(t)},jS.prototype.setUserIndex=jS.prototype.setUserIndex=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),h_(e,t)},jS.prototype.getUserPointer=jS.prototype.getUserPointer=function(){var t=this.ptr;return CS(i_(t),fk)},jS.prototype.setUserPointer=jS.prototype.setUserPointer=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),y_(e,t)},jS.prototype.__destroy__=jS.prototype.__destroy__=function(){var t=this.ptr;Xo(t)},DS.prototype=Object.create(kS.prototype),DS.prototype.constructor=DS,DS.prototype.__class__=DS,DS.__cache__={},s.btDynamicsWorld=DS,DS.prototype.addAction=DS.prototype.addAction=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Oc(e,t)},DS.prototype.removeAction=DS.prototype.removeAction=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),zc(e,t)},DS.prototype.getSolverInfo=DS.prototype.getSolverInfo=function(){var t=this.ptr;return CS(Yc(t),Sk)},DS.prototype.getDispatcher=DS.prototype.getDispatcher=function(){var t=this.ptr;return CS(Zc(t),US)},DS.prototype.rayTest=DS.prototype.rayTest=function(t,e,i){var n=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),Xc(n,t,e,i)},DS.prototype.getPairCache=DS.prototype.getPairCache=function(){var t=this.ptr;return CS(Uc(t),ik)},DS.prototype.getDispatchInfo=DS.prototype.getDispatchInfo=function(){var t=this.ptr;return CS(Hc(t),tw)},DS.prototype.addCollisionObject=DS.prototype.addCollisionObject=function(t,e,i){var n=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),void 0!==e?void 0!==i?Pc(n,t,e,i):Tc(n,t,e):xc(n,t)},DS.prototype.removeCollisionObject=DS.prototype.removeCollisionObject=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Kc(e,t)},DS.prototype.getBroadphase=DS.prototype.getBroadphase=function(){var t=this.ptr;return CS(Qc(t),ow)},DS.prototype.convexSweepTest=DS.prototype.convexSweepTest=function(t,e,i,n,o){var _=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),n&&"object"==typeof n&&(n=n.ptr),o&&"object"==typeof o&&(o=o.ptr),Gc(_,t,e,i,n,o)},DS.prototype.contactPairTest=DS.prototype.contactPairTest=function(t,e,i){var n=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),Vc(n,t,e,i)},DS.prototype.contactTest=DS.prototype.contactTest=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Mc(i,t,e)},DS.prototype.updateSingleAabb=DS.prototype.updateSingleAabb=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),$c(e,t)},DS.prototype.setDebugDrawer=DS.prototype.setDebugDrawer=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),qc(e,t)},DS.prototype.getDebugDrawer=DS.prototype.getDebugDrawer=function(){var t=this.ptr;return CS(Ec(t),OS)},DS.prototype.debugDrawWorld=DS.prototype.debugDrawWorld=function(){var t=this.ptr;Nc(t)},DS.prototype.debugDrawObject=DS.prototype.debugDrawObject=function(t,e,i){var n=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),Lc(n,t,e,i)},DS.prototype.performDiscreteCollisionDetection=DS.prototype.performDiscreteCollisionDetection=function(){var t=this.ptr;Jc(t)},DS.prototype.__destroy__=DS.prototype.__destroy__=function(){var t=this.ptr;Fc(t)},IS.prototype=Object.create(yS.prototype),IS.prototype.constructor=IS,IS.prototype.__class__=IS,IS.__cache__={},s.btTypedConstraint=IS,IS.prototype.enableFeedback=IS.prototype.enableFeedback=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),sg(e,t)},IS.prototype.getBreakingImpulseThreshold=IS.prototype.getBreakingImpulseThreshold=function(){var t=this.ptr;return pg(t)},IS.prototype.setBreakingImpulseThreshold=IS.prototype.setBreakingImpulseThreshold=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),ag(e,t)},IS.prototype.getParam=IS.prototype.getParam=function(t,e){var i=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),cg(i,t,e)},IS.prototype.setParam=IS.prototype.setParam=function(t,e,i){var n=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),bg(n,t,e,i)},IS.prototype.__destroy__=IS.prototype.__destroy__=function(){var t=this.ptr;rg(t)},BS.prototype=Object.create(RS.prototype),BS.prototype.constructor=BS,BS.prototype.__class__=BS,BS.__cache__={},s.btConcaveShape=BS,BS.prototype.setLocalScaling=BS.prototype.setLocalScaling=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),br(e,t)},BS.prototype.getLocalScaling=BS.prototype.getLocalScaling=function(){var t=this.ptr;return CS(ar(t),LS)},BS.prototype.calculateLocalInertia=BS.prototype.calculateLocalInertia=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),cr(i,t,e)},BS.prototype.__destroy__=BS.prototype.__destroy__=function(){var t=this.ptr;pr(t)},WS.prototype=Object.create(RS.prototype),WS.prototype.constructor=WS,WS.prototype.__class__=WS,WS.__cache__={},s.btCapsuleShape=WS,WS.prototype.setMargin=WS.prototype.setMargin=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Eo(e,t)},WS.prototype.getMargin=WS.prototype.getMargin=function(){var t=this.ptr;return Go(t)},WS.prototype.getUpAxis=WS.prototype.getUpAxis=function(){var t=this.ptr;return No(t)},WS.prototype.getRadius=WS.prototype.getRadius=function(){var t=this.ptr;return Lo(t)},WS.prototype.getHalfHeight=WS.prototype.getHalfHeight=function(){var t=this.ptr;return Vo(t)},WS.prototype.setLocalScaling=WS.prototype.setLocalScaling=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Qo(e,t)},WS.prototype.getLocalScaling=WS.prototype.getLocalScaling=function(){var t=this.ptr;return CS(Mo(t),LS)},WS.prototype.calculateLocalInertia=WS.prototype.calculateLocalInertia=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Po(i,t,e)},WS.prototype.__destroy__=WS.prototype.__destroy__=function(){var t=this.ptr;xo(t)},OS.prototype=Object.create(yS.prototype),OS.prototype.constructor=OS,OS.prototype.__class__=OS,OS.__cache__={},s.btIDebugDraw=OS,OS.prototype.drawLine=OS.prototype.drawLine=function(t,e,i){var n=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),zb(n,t,e,i)},OS.prototype.drawContactPoint=OS.prototype.drawContactPoint=function(t,e,i,n,o){var _=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),n&&"object"==typeof n&&(n=n.ptr),o&&"object"==typeof o&&(o=o.ptr),Xb(_,t,e,i,n,o)},OS.prototype.reportErrorWarning=OS.prototype.reportErrorWarning=function(t){var e=this.ptr;vS.prepare(),t=t&&"object"==typeof t?t.ptr:SS(t),qb(e,t)},OS.prototype.draw3dText=OS.prototype.draw3dText=function(t,e){var i=this.ptr;vS.prepare(),t&&"object"==typeof t&&(t=t.ptr),e=e&&"object"==typeof e?e.ptr:SS(e),Jb(i,t,e)},OS.prototype.setDebugMode=OS.prototype.setDebugMode=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),$b(e,t)},OS.prototype.getDebugMode=OS.prototype.getDebugMode=function(){var t=this.ptr;return Kb(t)},OS.prototype.__destroy__=OS.prototype.__destroy__=function(){var t=this.ptr;Yb(t)},xS.prototype=Object.create(yS.prototype),xS.prototype.constructor=xS,xS.prototype.__class__=xS,xS.__cache__={},s.btDefaultCollisionConfiguration=xS,xS.prototype.__destroy__=xS.prototype.__destroy__=function(){var t=this.ptr;pp(t)},TS.prototype=Object.create(yS.prototype),TS.prototype.constructor=TS,TS.prototype.__class__=TS,TS.__cache__={},s.ConvexResultCallback=TS,TS.prototype.hasHit=TS.prototype.hasHit=function(){var t=this.ptr;return!!li(t)},TS.prototype.get_m_collisionFilterGroup=TS.prototype.get_m_collisionFilterGroup=function(){var t=this.ptr;return bi(t)},TS.prototype.set_m_collisionFilterGroup=TS.prototype.set_m_collisionFilterGroup=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),fi(e,t)},Object.defineProperty(TS.prototype,"m_collisionFilterGroup",{get:TS.prototype.get_m_collisionFilterGroup,set:TS.prototype.set_m_collisionFilterGroup}),TS.prototype.get_m_collisionFilterMask=TS.prototype.get_m_collisionFilterMask=function(){var t=this.ptr;return di(t)},TS.prototype.set_m_collisionFilterMask=TS.prototype.set_m_collisionFilterMask=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),ui(e,t)},Object.defineProperty(TS.prototype,"m_collisionFilterMask",{get:TS.prototype.get_m_collisionFilterMask,set:TS.prototype.set_m_collisionFilterMask}),TS.prototype.get_m_closestHitFraction=TS.prototype.get_m_closestHitFraction=function(){var t=this.ptr;return ai(t)},TS.prototype.set_m_closestHitFraction=TS.prototype.set_m_closestHitFraction=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Ai(e,t)},Object.defineProperty(TS.prototype,"m_closestHitFraction",{get:TS.prototype.get_m_closestHitFraction,set:TS.prototype.set_m_closestHitFraction}),TS.prototype.__destroy__=TS.prototype.__destroy__=function(){var t=this.ptr;ci(t)},PS.prototype=Object.create(BS.prototype),PS.prototype.constructor=PS,PS.prototype.__class__=PS,PS.__cache__={},s.btTriangleMeshShape=PS,PS.prototype.setLocalScaling=PS.prototype.setLocalScaling=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),qy(e,t)},PS.prototype.getLocalScaling=PS.prototype.getLocalScaling=function(){var t=this.ptr;return CS(Ky(t),LS)},PS.prototype.calculateLocalInertia=PS.prototype.calculateLocalInertia=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),zy(i,t,e)},PS.prototype.__destroy__=PS.prototype.__destroy__=function(){var t=this.ptr;Xy(t)},VS.prototype=Object.create(jS.prototype),VS.prototype.constructor=VS,VS.prototype.__class__=VS,VS.__cache__={},s.btGhostObject=VS,VS.prototype.getNumOverlappingObjects=VS.prototype.getNumOverlappingObjects=function(){var t=this.ptr;return Ka(t)},VS.prototype.getOverlappingObject=VS.prototype.getOverlappingObject=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),CS(qa(e,t),jS)},VS.prototype.setAnisotropicFriction=VS.prototype.setAnisotropicFriction=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),sb(i,t,e)},VS.prototype.getCollisionShape=VS.prototype.getCollisionShape=function(){var t=this.ptr;return CS(za(t),RS)},VS.prototype.setContactProcessingThreshold=VS.prototype.setContactProcessingThreshold=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),db(e,t)},VS.prototype.setActivationState=VS.prototype.setActivationState=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),rb(e,t)},VS.prototype.forceActivationState=VS.prototype.forceActivationState=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Ja(e,t)},VS.prototype.activate=VS.prototype.activate=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),void 0!==t?Ua(e,t):Za(e)},VS.prototype.isActive=VS.prototype.isActive=function(){var t=this.ptr;return!!ib(t)},VS.prototype.isKinematicObject=VS.prototype.isKinematicObject=function(){var t=this.ptr;return!!nb(t)},VS.prototype.isStaticObject=VS.prototype.isStaticObject=function(){var t=this.ptr;return!!ob(t)},VS.prototype.isStaticOrKinematicObject=VS.prototype.isStaticOrKinematicObject=function(){var t=this.ptr;return!!_b(t)},VS.prototype.setRestitution=VS.prototype.setRestitution=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Ab(e,t)},VS.prototype.setFriction=VS.prototype.setFriction=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),lb(e,t)},VS.prototype.setRollingFriction=VS.prototype.setRollingFriction=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),fb(e,t)},VS.prototype.getWorldTransform=VS.prototype.getWorldTransform=function(){var t=this.ptr;return CS(eb(t),_k)},VS.prototype.getCollisionFlags=VS.prototype.getCollisionFlags=function(){var t=this.ptr;return Xa(t)},VS.prototype.setCollisionFlags=VS.prototype.setCollisionFlags=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),ab(e,t)},VS.prototype.setWorldTransform=VS.prototype.setWorldTransform=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),hb(e,t)},VS.prototype.setCollisionShape=VS.prototype.setCollisionShape=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),bb(e,t)},VS.prototype.setCcdMotionThreshold=VS.prototype.setCcdMotionThreshold=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),pb(e,t)},VS.prototype.setCcdSweptSphereRadius=VS.prototype.setCcdSweptSphereRadius=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),cb(e,t)},VS.prototype.getUserIndex=VS.prototype.getUserIndex=function(){var t=this.ptr;return $a(t)},VS.prototype.setUserIndex=VS.prototype.setUserIndex=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),ub(e,t)},VS.prototype.getUserPointer=VS.prototype.getUserPointer=function(){var t=this.ptr;return CS(tb(t),fk)},VS.prototype.setUserPointer=VS.prototype.setUserPointer=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),mb(e,t)},VS.prototype.__destroy__=VS.prototype.__destroy__=function(){var t=this.ptr;Ha(t)},MS.prototype=Object.create(RS.prototype),MS.prototype.constructor=MS,MS.prototype.__class__=MS,MS.__cache__={},s.btConeShape=MS,MS.prototype.setLocalScaling=MS.prototype.setLocalScaling=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Rr(e,t)},MS.prototype.getLocalScaling=MS.prototype.getLocalScaling=function(){var t=this.ptr;return CS(kr(t),LS)},MS.prototype.calculateLocalInertia=MS.prototype.calculateLocalInertia=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),wr(i,t,e)},MS.prototype.__destroy__=MS.prototype.__destroy__=function(){var t=this.ptr;vr(t)},GS.prototype=Object.create(yS.prototype),GS.prototype.constructor=GS,GS.prototype.__class__=GS,GS.__cache__={},s.btActionInterface=GS,GS.prototype.updateAction=GS.prototype.updateAction=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Qn(i,t,e)},GS.prototype.__destroy__=GS.prototype.__destroy__=function(){var t=this.ptr;Nn(t)},LS.prototype=Object.create(yS.prototype),LS.prototype.constructor=LS,LS.prototype.__class__=LS,LS.__cache__={},s.btVector3=LS,LS.prototype.length=LS.prototype.length=function(){var t=this.ptr;return yg(t)},LS.prototype.x=LS.prototype.x=function(){var t=this.ptr;return Ig(t)},LS.prototype.y=LS.prototype.y=function(){var t=this.ptr;return Bg(t)},LS.prototype.z=LS.prototype.z=function(){var t=this.ptr;return Wg(t)},LS.prototype.setX=LS.prototype.setX=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Rg(e,t)},LS.prototype.setY=LS.prototype.setY=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),jg(e,t)},LS.prototype.setZ=LS.prototype.setZ=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Dg(e,t)},LS.prototype.setValue=LS.prototype.setValue=function(t,e,i){var n=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),kg(n,t,e,i)},LS.prototype.normalize=LS.prototype.normalize=function(){var t=this.ptr;gg(t)},LS.prototype.rotate=LS.prototype.rotate=function(t,e){var i=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),CS(wg(i,t,e),LS)},LS.prototype.dot=LS.prototype.dot=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),hg(e,t)},LS.prototype.op_mul=LS.prototype.op_mul=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),CS(vg(e,t),LS)},LS.prototype.op_add=LS.prototype.op_add=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),CS(Cg(e,t),LS)},LS.prototype.op_sub=LS.prototype.op_sub=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),CS(Sg(e,t),LS)},LS.prototype.__destroy__=LS.prototype.__destroy__=function(){var t=this.ptr;fg(t)},NS.prototype=Object.create(yS.prototype),NS.prototype.constructor=NS,NS.prototype.__class__=NS,NS.__cache__={},s.btVehicleRaycaster=NS,NS.prototype.castRay=NS.prototype.castRay=function(t,e,i){var n=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),oC(n,t,e,i)},NS.prototype.__destroy__=NS.prototype.__destroy__=function(){var t=this.ptr;nC(t)},QS.prototype=Object.create(yS.prototype),QS.prototype.constructor=QS,QS.prototype.__class__=QS,QS.__cache__={},s.btQuadWord=QS,QS.prototype.x=QS.prototype.x=function(){var t=this.ptr;return $l(t)},QS.prototype.y=QS.prototype.y=function(){var t=this.ptr;return tA(t)},QS.prototype.z=QS.prototype.z=function(){var t=this.ptr;return eA(t)},QS.prototype.w=QS.prototype.w=function(){var t=this.ptr;return ql(t)},QS.prototype.setX=QS.prototype.setX=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Xl(e,t)},QS.prototype.setY=QS.prototype.setY=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),zl(e,t)},QS.prototype.setZ=QS.prototype.setZ=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Kl(e,t)},QS.prototype.setW=QS.prototype.setW=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Jl(e,t)},QS.prototype.__destroy__=QS.prototype.__destroy__=function(){var t=this.ptr;Yl(t)},ES.prototype=Object.create(RS.prototype),ES.prototype.constructor=ES,ES.prototype.__class__=ES,ES.__cache__={},s.btCylinderShape=ES,ES.prototype.setMargin=ES.prototype.setMargin=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),_p(e,t)},ES.prototype.getMargin=ES.prototype.getMargin=function(){var t=this.ptr;return np(t)},ES.prototype.setLocalScaling=ES.prototype.setLocalScaling=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),op(e,t)},ES.prototype.getLocalScaling=ES.prototype.getLocalScaling=function(){var t=this.ptr;return CS(ip(t),LS)},ES.prototype.calculateLocalInertia=ES.prototype.calculateLocalInertia=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),ep(i,t,e)},ES.prototype.__destroy__=ES.prototype.__destroy__=function(){var t=this.ptr;$s(t)},HS.prototype=Object.create(DS.prototype),HS.prototype.constructor=HS,HS.prototype.__class__=HS,HS.__cache__={},s.btDiscreteDynamicsWorld=HS,HS.prototype.setGravity=HS.prototype.setGravity=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),ec(e,t)},HS.prototype.getGravity=HS.prototype.getGravity=function(){var t=this.ptr;return CS(Zp(t),LS)},HS.prototype.addRigidBody=HS.prototype.addRigidBody=function(t,e,i){var n=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),void 0!==e?void 0!==i?xp(n,t,e,i):_emscripten_bind_btDiscreteDynamicsWorld_addRigidBody_2(n,t,e):Op(n,t)},HS.prototype.removeRigidBody=HS.prototype.removeRigidBody=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),$p(e,t)},HS.prototype.addConstraint=HS.prototype.addConstraint=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),void 0!==e?Fp(i,t,e):Wp(i,t)},HS.prototype.removeConstraint=HS.prototype.removeConstraint=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),qp(e,t)},HS.prototype.stepSimulation=HS.prototype.stepSimulation=function(t,e,i){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),void 0===e?ic(n,t):void 0===i?nc(n,t,e):oc(n,t,e,i)},HS.prototype.getDispatcher=HS.prototype.getDispatcher=function(){var t=this.ptr;return CS(Hp(t),US)},HS.prototype.rayTest=HS.prototype.rayTest=function(t,e,i){var n=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),Xp(n,t,e,i)},HS.prototype.getPairCache=HS.prototype.getPairCache=function(){var t=this.ptr;return CS(Up(t),ik)},HS.prototype.getDispatchInfo=HS.prototype.getDispatchInfo=function(){var t=this.ptr;return CS(Ep(t),tw)},HS.prototype.addCollisionObject=HS.prototype.addCollisionObject=function(t,e,i){var n=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),void 0!==e?void 0!==i?Bp(n,t,e,i):Ip(n,t,e):Dp(n,t)},HS.prototype.removeCollisionObject=HS.prototype.removeCollisionObject=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Kp(e,t)},HS.prototype.getBroadphase=HS.prototype.getBroadphase=function(){var t=this.ptr;return CS(Np(t),ow)},HS.prototype.convexSweepTest=HS.prototype.convexSweepTest=function(t,e,i,n,o){var _=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),n&&"object"==typeof n&&(n=n.ptr),o&&"object"==typeof o&&(o=o.ptr),Mp(_,t,e,i,n,o)},HS.prototype.contactPairTest=HS.prototype.contactPairTest=function(t,e,i){var n=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),Pp(n,t,e,i)},HS.prototype.contactTest=HS.prototype.contactTest=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Vp(i,t,e)},HS.prototype.updateSingleAabb=HS.prototype.updateSingleAabb=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),_c(e,t)},HS.prototype.setDebugDrawer=HS.prototype.setDebugDrawer=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),tc(e,t)},HS.prototype.getDebugDrawer=HS.prototype.getDebugDrawer=function(){var t=this.ptr;return CS(Qp(t),OS)},HS.prototype.debugDrawWorld=HS.prototype.debugDrawWorld=function(){var t=this.ptr;Lp(t)},HS.prototype.debugDrawObject=HS.prototype.debugDrawObject=function(t,e,i){var n=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),Gp(n,t,e,i)},HS.prototype.performDiscreteCollisionDetection=HS.prototype.performDiscreteCollisionDetection=function(){var t=this.ptr;Jp(t)},HS.prototype.addAction=HS.prototype.addAction=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),jp(e,t)},HS.prototype.removeAction=HS.prototype.removeAction=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),zp(e,t)},HS.prototype.getSolverInfo=HS.prototype.getSolverInfo=function(){var t=this.ptr;return CS(Yp(t),Sk)},HS.prototype.__destroy__=HS.prototype.__destroy__=function(){var t=this.ptr;Rp(t)},ZS.prototype=Object.create(RS.prototype),ZS.prototype.constructor=ZS,ZS.prototype.__class__=ZS,ZS.__cache__={},s.btConvexShape=ZS,ZS.prototype.setLocalScaling=ZS.prototype.setLocalScaling=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Is(e,t)},ZS.prototype.getLocalScaling=ZS.prototype.getLocalScaling=function(){var t=this.ptr;return CS(js(t),LS)},ZS.prototype.calculateLocalInertia=ZS.prototype.calculateLocalInertia=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Rs(i,t,e)},ZS.prototype.setMargin=ZS.prototype.setMargin=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Bs(e,t)},ZS.prototype.getMargin=ZS.prototype.getMargin=function(){var t=this.ptr;return Ds(t)},ZS.prototype.__destroy__=ZS.prototype.__destroy__=function(){var t=this.ptr;ks(t)},US.prototype=Object.create(yS.prototype),US.prototype.constructor=US,US.prototype.__class__=US,US.__cache__={},s.btDispatcher=US,US.prototype.getNumManifolds=US.prototype.getNumManifolds=function(){var t=this.ptr;return Wc(t)},US.prototype.getManifoldByIndexInternal=US.prototype.getManifoldByIndexInternal=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),CS(Bc(e,t),sw)},US.prototype.__destroy__=US.prototype.__destroy__=function(){var t=this.ptr;Ic(t)},YS.prototype=Object.create(IS.prototype),YS.prototype.constructor=YS,YS.prototype.__class__=YS,YS.__cache__={},s.btGeneric6DofConstraint=YS,YS.prototype.setLinearLowerLimit=YS.prototype.setLinearLowerLimit=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),ka(e,t)},YS.prototype.setLinearUpperLimit=YS.prototype.setLinearUpperLimit=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Ra(e,t)},YS.prototype.setAngularLowerLimit=YS.prototype.setAngularLowerLimit=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),va(e,t)},YS.prototype.setAngularUpperLimit=YS.prototype.setAngularUpperLimit=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Sa(e,t)},YS.prototype.getFrameOffsetA=YS.prototype.getFrameOffsetA=function(){var t=this.ptr;return CS(ga(t),_k)},YS.prototype.enableFeedback=YS.prototype.enableFeedback=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),ha(e,t)},YS.prototype.getBreakingImpulseThreshold=YS.prototype.getBreakingImpulseThreshold=function(){var t=this.ptr;return ya(t)},YS.prototype.setBreakingImpulseThreshold=YS.prototype.setBreakingImpulseThreshold=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),wa(e,t)},YS.prototype.getParam=YS.prototype.getParam=function(t,e){var i=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Ca(i,t,e)},YS.prototype.setParam=YS.prototype.setParam=function(t,e,i){var n=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),ja(n,t,e,i)},YS.prototype.__destroy__=YS.prototype.__destroy__=function(){var t=this.ptr;fa(t)},JS.prototype=Object.create(yS.prototype),JS.prototype.constructor=JS,JS.prototype.__class__=JS,JS.__cache__={},s.btStridingMeshInterface=JS,JS.prototype.setScaling=JS.prototype.setScaling=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Py(e,t)},JS.prototype.__destroy__=JS.prototype.__destroy__=function(){var t=this.ptr;Ty(t)},XS.prototype=Object.create(yS.prototype),XS.prototype.constructor=XS,XS.prototype.__class__=XS,XS.__cache__={},s.btMotionState=XS,XS.prototype.getWorldTransform=XS.prototype.getWorldTransform=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Yd(e,t)},XS.prototype.setWorldTransform=XS.prototype.setWorldTransform=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Jd(e,t)},XS.prototype.__destroy__=XS.prototype.__destroy__=function(){var t=this.ptr;Ud(t)},zS.prototype=Object.create(yS.prototype),zS.prototype.constructor=zS,zS.prototype.__class__=zS,zS.__cache__={},s.ContactResultCallback=zS,zS.prototype.addSingleResult=zS.prototype.addSingleResult=function(t,e,i,n,o,_,r){var s=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),n&&"object"==typeof n&&(n=n.ptr),o&&"object"==typeof o&&(o=o.ptr),_&&"object"==typeof _&&(_=_.ptr),r&&"object"==typeof r&&(r=r.ptr),pi(s,t,e,i,n,o,_,r)},zS.prototype.__destroy__=zS.prototype.__destroy__=function(){var t=this.ptr;si(t)},KS.prototype=Object.create(yS.prototype),KS.prototype.constructor=KS,KS.prototype.__class__=KS,KS.__cache__={},s.btSoftBodySolver=KS,KS.prototype.__destroy__=KS.prototype.__destroy__=function(){var t=this.ptr;mm(t)},qS.prototype=Object.create(yS.prototype),qS.prototype.constructor=qS,qS.prototype.__class__=qS,qS.__cache__={},s.RayResultCallback=qS,qS.prototype.hasHit=qS.prototype.hasHit=function(){var t=this.ptr;return!!hn(t)},qS.prototype.get_m_collisionFilterGroup=qS.prototype.get_m_collisionFilterGroup=function(){var t=this.ptr;return fn(t)},qS.prototype.set_m_collisionFilterGroup=qS.prototype.set_m_collisionFilterGroup=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),gn(e,t)},Object.defineProperty(qS.prototype,"m_collisionFilterGroup",{get:qS.prototype.get_m_collisionFilterGroup,set:qS.prototype.set_m_collisionFilterGroup}),qS.prototype.get_m_collisionFilterMask=qS.prototype.get_m_collisionFilterMask=function(){var t=this.ptr;return un(t)},qS.prototype.set_m_collisionFilterMask=qS.prototype.set_m_collisionFilterMask=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Cn(e,t)},Object.defineProperty(qS.prototype,"m_collisionFilterMask",{get:qS.prototype.get_m_collisionFilterMask,set:qS.prototype.set_m_collisionFilterMask}),qS.prototype.get_m_closestHitFraction=qS.prototype.get_m_closestHitFraction=function(){var t=this.ptr;return An(t)},qS.prototype.set_m_closestHitFraction=qS.prototype.set_m_closestHitFraction=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),yn(e,t)},Object.defineProperty(qS.prototype,"m_closestHitFraction",{get:qS.prototype.get_m_closestHitFraction,set:qS.prototype.set_m_closestHitFraction}),qS.prototype.get_m_collisionObject=qS.prototype.get_m_collisionObject=function(){var t=this.ptr;return CS(mn(t),jS)},qS.prototype.set_m_collisionObject=qS.prototype.set_m_collisionObject=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),vn(e,t)},Object.defineProperty(qS.prototype,"m_collisionObject",{get:qS.prototype.get_m_collisionObject,set:qS.prototype.set_m_collisionObject}),qS.prototype.__destroy__=qS.prototype.__destroy__=function(){var t=this.ptr;ln(t)},$S.prototype=Object.create(yS.prototype),$S.prototype.constructor=$S,$S.prototype.__class__=$S,$S.__cache__={},s.btMatrix3x3=$S,$S.prototype.setEulerZYX=$S.prototype.setEulerZYX=function(t,e,i){var n=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),Hd(n,t,e,i)},$S.prototype.getRotation=$S.prototype.getRotation=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Qd(e,t)},$S.prototype.getRow=$S.prototype.getRow=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),CS(Ed(e,t),LS)},$S.prototype.setValue=$S.prototype.setValue=function(t,e,i,n,o,_,r,s,p){var c=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),n&&"object"==typeof n&&(n=n.ptr),o&&"object"==typeof o&&(o=o.ptr),_&&"object"==typeof _&&(_=_.ptr),r&&"object"==typeof r&&(r=r.ptr),s&&"object"==typeof s&&(s=s.ptr),p&&"object"==typeof p&&(p=p.ptr),Zd(c,t,e,i,n,o,_,r,s,p)},$S.prototype.__destroy__=$S.prototype.__destroy__=function(){var t=this.ptr;Nd(t)},tw.prototype=Object.create(yS.prototype),tw.prototype.constructor=tw,tw.prototype.__class__=tw,tw.__cache__={},s.btDispatcherInfo=tw,tw.prototype.get_m_timeStep=tw.prototype.get_m_timeStep=function(){var t=this.ptr;return Ac(t)},tw.prototype.set_m_timeStep=tw.prototype.set_m_timeStep=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),kc(e,t)},Object.defineProperty(tw.prototype,"m_timeStep",{get:tw.prototype.get_m_timeStep,set:tw.prototype.set_m_timeStep}),tw.prototype.get_m_stepCount=tw.prototype.get_m_stepCount=function(){var t=this.ptr;return dc(t)},tw.prototype.set_m_stepCount=tw.prototype.set_m_stepCount=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Sc(e,t)},Object.defineProperty(tw.prototype,"m_stepCount",{get:tw.prototype.get_m_stepCount,set:tw.prototype.set_m_stepCount}),tw.prototype.get_m_dispatchFunc=tw.prototype.get_m_dispatchFunc=function(){var t=this.ptr;return cc(t)},tw.prototype.set_m_dispatchFunc=tw.prototype.set_m_dispatchFunc=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),gc(e,t)},Object.defineProperty(tw.prototype,"m_dispatchFunc",{get:tw.prototype.get_m_dispatchFunc,set:tw.prototype.set_m_dispatchFunc}),tw.prototype.get_m_timeOfImpact=tw.prototype.get_m_timeOfImpact=function(){var t=this.ptr;return lc(t)},tw.prototype.set_m_timeOfImpact=tw.prototype.set_m_timeOfImpact=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),wc(e,t)},Object.defineProperty(tw.prototype,"m_timeOfImpact",{get:tw.prototype.get_m_timeOfImpact,set:tw.prototype.set_m_timeOfImpact}),tw.prototype.get_m_useContinuous=tw.prototype.get_m_useContinuous=function(){var t=this.ptr;return!!fc(t)},tw.prototype.set_m_useContinuous=tw.prototype.set_m_useContinuous=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Rc(e,t)},Object.defineProperty(tw.prototype,"m_useContinuous",{get:tw.prototype.get_m_useContinuous,set:tw.prototype.set_m_useContinuous}),tw.prototype.get_m_enableSatConvex=tw.prototype.get_m_enableSatConvex=function(){var t=this.ptr;return!!bc(t)},tw.prototype.set_m_enableSatConvex=tw.prototype.set_m_enableSatConvex=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),vc(e,t)},Object.defineProperty(tw.prototype,"m_enableSatConvex",{get:tw.prototype.get_m_enableSatConvex,set:tw.prototype.set_m_enableSatConvex}),tw.prototype.get_m_enableSPU=tw.prototype.get_m_enableSPU=function(){var t=this.ptr;return!!ac(t)},tw.prototype.set_m_enableSPU=tw.prototype.set_m_enableSPU=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Cc(e,t)},Object.defineProperty(tw.prototype,"m_enableSPU",{get:tw.prototype.get_m_enableSPU,set:tw.prototype.set_m_enableSPU}),tw.prototype.get_m_useEpa=tw.prototype.get_m_useEpa=function(){var t=this.ptr;return!!mc(t)},tw.prototype.set_m_useEpa=tw.prototype.set_m_useEpa=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Dc(e,t)},Object.defineProperty(tw.prototype,"m_useEpa",{get:tw.prototype.get_m_useEpa,set:tw.prototype.set_m_useEpa}),tw.prototype.get_m_allowedCcdPenetration=tw.prototype.get_m_allowedCcdPenetration=function(){var t=this.ptr;return sc(t)},tw.prototype.set_m_allowedCcdPenetration=tw.prototype.set_m_allowedCcdPenetration=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),hc(e,t)},Object.defineProperty(tw.prototype,"m_allowedCcdPenetration",{get:tw.prototype.get_m_allowedCcdPenetration,set:tw.prototype.set_m_allowedCcdPenetration}),tw.prototype.get_m_useConvexConservativeDistanceUtil=tw.prototype.get_m_useConvexConservativeDistanceUtil=function(){var t=this.ptr;return!!uc(t)},tw.prototype.set_m_useConvexConservativeDistanceUtil=tw.prototype.set_m_useConvexConservativeDistanceUtil=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),jc(e,t)},Object.defineProperty(tw.prototype,"m_useConvexConservativeDistanceUtil",{get:tw.prototype.get_m_useConvexConservativeDistanceUtil,set:tw.prototype.set_m_useConvexConservativeDistanceUtil}),tw.prototype.get_m_convexConservativeDistanceThreshold=tw.prototype.get_m_convexConservativeDistanceThreshold=function(){var t=this.ptr;return pc(t)},tw.prototype.set_m_convexConservativeDistanceThreshold=tw.prototype.set_m_convexConservativeDistanceThreshold=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),yc(e,t)},Object.defineProperty(tw.prototype,"m_convexConservativeDistanceThreshold",{get:tw.prototype.get_m_convexConservativeDistanceThreshold,set:tw.prototype.set_m_convexConservativeDistanceThreshold}),tw.prototype.__destroy__=tw.prototype.__destroy__=function(){var t=this.ptr;rc(t)},ew.prototype=Object.create(yS.prototype),ew.prototype.constructor=ew,ew.prototype.__class__=ew,ew.__cache__={},s.Material=ew,ew.prototype.get_m_kLST=ew.prototype.get_m_kLST=function(){var t=this.ptr;return Zi(t)},ew.prototype.set_m_kLST=ew.prototype.set_m_kLST=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Xi(e,t)},Object.defineProperty(ew.prototype,"m_kLST",{get:ew.prototype.get_m_kLST,set:ew.prototype.set_m_kLST}),ew.prototype.get_m_kAST=ew.prototype.get_m_kAST=function(){var t=this.ptr;return Hi(t)},ew.prototype.set_m_kAST=ew.prototype.set_m_kAST=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Ji(e,t)},Object.defineProperty(ew.prototype,"m_kAST",{get:ew.prototype.get_m_kAST,set:ew.prototype.set_m_kAST}),ew.prototype.get_m_kVST=ew.prototype.get_m_kVST=function(){var t=this.ptr;return Ui(t)},ew.prototype.set_m_kVST=ew.prototype.set_m_kVST=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),zi(e,t)},Object.defineProperty(ew.prototype,"m_kVST",{get:ew.prototype.get_m_kVST,set:ew.prototype.set_m_kVST}),ew.prototype.get_m_flags=ew.prototype.get_m_flags=function(){var t=this.ptr;return Ei(t)},ew.prototype.set_m_flags=ew.prototype.set_m_flags=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Yi(e,t)},Object.defineProperty(ew.prototype,"m_flags",{get:ew.prototype.get_m_flags,set:ew.prototype.set_m_flags}),ew.prototype.__destroy__=ew.prototype.__destroy__=function(){var t=this.ptr;Qi(t)},iw.prototype=Object.create(yS.prototype),iw.prototype.constructor=iw,iw.prototype.__class__=iw,iw.__cache__={},s.btWheelInfoConstructionInfo=iw,iw.prototype.get_m_chassisConnectionCS=iw.prototype.get_m_chassisConnectionCS=function(){var t=this.ptr;return CS(gC(t),LS)},iw.prototype.set_m_chassisConnectionCS=iw.prototype.set_m_chassisConnectionCS=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),FC(e,t)},Object.defineProperty(iw.prototype,"m_chassisConnectionCS",{get:iw.prototype.get_m_chassisConnectionCS,set:iw.prototype.set_m_chassisConnectionCS}),iw.prototype.get_m_wheelDirectionCS=iw.prototype.get_m_wheelDirectionCS=function(){var t=this.ptr;return CS(jC(t),LS)},iw.prototype.set_m_wheelDirectionCS=iw.prototype.set_m_wheelDirectionCS=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),GC(e,t)},Object.defineProperty(iw.prototype,"m_wheelDirectionCS",{get:iw.prototype.get_m_wheelDirectionCS,set:iw.prototype.set_m_wheelDirectionCS}),iw.prototype.get_m_wheelAxleCS=iw.prototype.get_m_wheelAxleCS=function(){var t=this.ptr;return CS(RC(t),LS)},iw.prototype.set_m_wheelAxleCS=iw.prototype.set_m_wheelAxleCS=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),MC(e,t)},Object.defineProperty(iw.prototype,"m_wheelAxleCS",{get:iw.prototype.get_m_wheelAxleCS,set:iw.prototype.set_m_wheelAxleCS}),iw.prototype.get_m_suspensionRestLength=iw.prototype.get_m_suspensionRestLength=function(){var t=this.ptr;return wC(t)},iw.prototype.set_m_suspensionRestLength=iw.prototype.set_m_suspensionRestLength=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),PC(e,t)},Object.defineProperty(iw.prototype,"m_suspensionRestLength",{get:iw.prototype.get_m_suspensionRestLength,set:iw.prototype.set_m_suspensionRestLength}),iw.prototype.get_m_maxSuspensionTravelCm=iw.prototype.get_m_maxSuspensionTravelCm=function(){var t=this.ptr;return SC(t)},iw.prototype.set_m_maxSuspensionTravelCm=iw.prototype.set_m_maxSuspensionTravelCm=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),TC(e,t)},Object.defineProperty(iw.prototype,"m_maxSuspensionTravelCm",{get:iw.prototype.get_m_maxSuspensionTravelCm,set:iw.prototype.set_m_maxSuspensionTravelCm}),iw.prototype.get_m_wheelRadius=iw.prototype.get_m_wheelRadius=function(){var t=this.ptr;return DC(t)},iw.prototype.set_m_wheelRadius=iw.prototype.set_m_wheelRadius=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),LC(e,t)},Object.defineProperty(iw.prototype,"m_wheelRadius",{get:iw.prototype.get_m_wheelRadius,set:iw.prototype.set_m_wheelRadius}),iw.prototype.get_m_suspensionStiffness=iw.prototype.get_m_suspensionStiffness=function(){var t=this.ptr;return kC(t)},iw.prototype.set_m_suspensionStiffness=iw.prototype.set_m_suspensionStiffness=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),VC(e,t)},Object.defineProperty(iw.prototype,"m_suspensionStiffness",{get:iw.prototype.get_m_suspensionStiffness,set:iw.prototype.set_m_suspensionStiffness}),iw.prototype.get_m_wheelsDampingCompression=iw.prototype.get_m_wheelsDampingCompression=function(){var t=this.ptr;return IC(t)},iw.prototype.set_m_wheelsDampingCompression=iw.prototype.set_m_wheelsDampingCompression=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),NC(e,t)},Object.defineProperty(iw.prototype,"m_wheelsDampingCompression",{get:iw.prototype.get_m_wheelsDampingCompression,set:iw.prototype.set_m_wheelsDampingCompression}),iw.prototype.get_m_wheelsDampingRelaxation=iw.prototype.get_m_wheelsDampingRelaxation=function(){var t=this.ptr;return BC(t)},iw.prototype.set_m_wheelsDampingRelaxation=iw.prototype.set_m_wheelsDampingRelaxation=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),QC(e,t)},Object.defineProperty(iw.prototype,"m_wheelsDampingRelaxation",{get:iw.prototype.get_m_wheelsDampingRelaxation,set:iw.prototype.set_m_wheelsDampingRelaxation}),iw.prototype.get_m_frictionSlip=iw.prototype.get_m_frictionSlip=function(){var t=this.ptr;return CC(t)},iw.prototype.set_m_frictionSlip=iw.prototype.set_m_frictionSlip=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),OC(e,t)},Object.defineProperty(iw.prototype,"m_frictionSlip",{get:iw.prototype.get_m_frictionSlip,set:iw.prototype.set_m_frictionSlip}),iw.prototype.get_m_maxSuspensionForce=iw.prototype.get_m_maxSuspensionForce=function(){var t=this.ptr;return vC(t)},iw.prototype.set_m_maxSuspensionForce=iw.prototype.set_m_maxSuspensionForce=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),xC(e,t)},Object.defineProperty(iw.prototype,"m_maxSuspensionForce",{get:iw.prototype.get_m_maxSuspensionForce,set:iw.prototype.set_m_maxSuspensionForce}),iw.prototype.get_m_bIsFrontWheel=iw.prototype.get_m_bIsFrontWheel=function(){var t=this.ptr;return!!yC(t)},iw.prototype.set_m_bIsFrontWheel=iw.prototype.set_m_bIsFrontWheel=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),WC(e,t)},Object.defineProperty(iw.prototype,"m_bIsFrontWheel",{get:iw.prototype.get_m_bIsFrontWheel,set:iw.prototype.set_m_bIsFrontWheel}),iw.prototype.__destroy__=iw.prototype.__destroy__=function(){var t=this.ptr;hC(t)},nw.prototype=Object.create(ZS.prototype),nw.prototype.constructor=nw,nw.prototype.__class__=nw,nw.__cache__={},s.btConvexTriangleMeshShape=nw,nw.prototype.setLocalScaling=nw.prototype.setLocalScaling=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Vs(e,t)},nw.prototype.getLocalScaling=nw.prototype.getLocalScaling=function(){var t=this.ptr;return CS(Ts(t),LS)},nw.prototype.calculateLocalInertia=nw.prototype.calculateLocalInertia=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),xs(i,t,e)},nw.prototype.setMargin=nw.prototype.setMargin=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Ms(e,t)},nw.prototype.getMargin=nw.prototype.getMargin=function(){var t=this.ptr;return Ps(t)},nw.prototype.__destroy__=nw.prototype.__destroy__=function(){var t=this.ptr;Ws(t)},ow.prototype=Object.create(yS.prototype),ow.prototype.constructor=ow,ow.prototype.__class__=ow,ow.__cache__={},s.btBroadphaseInterface=ow,ow.prototype.__destroy__=ow.prototype.__destroy__=function(){var t=this.ptr;eo(t)},_w.prototype=Object.create(yS.prototype),_w.prototype.constructor=_w,_w.prototype.__class__=_w,_w.__cache__={},s.btRigidBodyConstructionInfo=_w,_w.prototype.get_m_linearDamping=_w.prototype.get_m_linearDamping=function(){var t=this.ptr;return Cf(t)},_w.prototype.set_m_linearDamping=_w.prototype.set_m_linearDamping=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Of(e,t)},Object.defineProperty(_w.prototype,"m_linearDamping",{get:_w.prototype.get_m_linearDamping,set:_w.prototype.set_m_linearDamping}),_w.prototype.get_m_angularDamping=_w.prototype.get_m_angularDamping=function(){var t=this.ptr;return hf(t)},_w.prototype.set_m_angularDamping=_w.prototype.set_m_angularDamping=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Bf(e,t)},Object.defineProperty(_w.prototype,"m_angularDamping",{get:_w.prototype.get_m_angularDamping,set:_w.prototype.set_m_angularDamping}),_w.prototype.get_m_friction=_w.prototype.get_m_friction=function(){var t=this.ptr;return gf(t)},_w.prototype.set_m_friction=_w.prototype.set_m_friction=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Ff(e,t)},Object.defineProperty(_w.prototype,"m_friction",{get:_w.prototype.get_m_friction,set:_w.prototype.set_m_friction}),_w.prototype.get_m_rollingFriction=_w.prototype.get_m_rollingFriction=function(){var t=this.ptr;return wf(t)},_w.prototype.set_m_rollingFriction=_w.prototype.set_m_rollingFriction=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Pf(e,t)},Object.defineProperty(_w.prototype,"m_rollingFriction",{get:_w.prototype.get_m_rollingFriction,set:_w.prototype.set_m_rollingFriction}),_w.prototype.get_m_restitution=_w.prototype.get_m_restitution=function(){var t=this.ptr;return Sf(t)},_w.prototype.set_m_restitution=_w.prototype.set_m_restitution=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Tf(e,t)},Object.defineProperty(_w.prototype,"m_restitution",{get:_w.prototype.get_m_restitution,set:_w.prototype.set_m_restitution}),_w.prototype.get_m_linearSleepingThreshold=_w.prototype.get_m_linearSleepingThreshold=function(){var t=this.ptr;return vf(t)},_w.prototype.set_m_linearSleepingThreshold=_w.prototype.set_m_linearSleepingThreshold=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),xf(e,t)},Object.defineProperty(_w.prototype,"m_linearSleepingThreshold",{get:_w.prototype.get_m_linearSleepingThreshold,set:_w.prototype.set_m_linearSleepingThreshold}),_w.prototype.get_m_angularSleepingThreshold=_w.prototype.get_m_angularSleepingThreshold=function(){var t=this.ptr;return yf(t)},_w.prototype.set_m_angularSleepingThreshold=_w.prototype.set_m_angularSleepingThreshold=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Wf(e,t)},Object.defineProperty(_w.prototype,"m_angularSleepingThreshold",{get:_w.prototype.get_m_angularSleepingThreshold,set:_w.prototype.set_m_angularSleepingThreshold}),_w.prototype.get_m_additionalDamping=_w.prototype.get_m_additionalDamping=function(){var t=this.ptr;return!!uf(t)},_w.prototype.set_m_additionalDamping=_w.prototype.set_m_additionalDamping=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Df(e,t)},Object.defineProperty(_w.prototype,"m_additionalDamping",{get:_w.prototype.get_m_additionalDamping,set:_w.prototype.set_m_additionalDamping}),_w.prototype.get_m_additionalDampingFactor=_w.prototype.get_m_additionalDampingFactor=function(){var t=this.ptr;return ff(t)},_w.prototype.set_m_additionalDampingFactor=_w.prototype.set_m_additionalDampingFactor=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),jf(e,t)},Object.defineProperty(_w.prototype,"m_additionalDampingFactor",{get:_w.prototype.get_m_additionalDampingFactor,set:_w.prototype.set_m_additionalDampingFactor}),_w.prototype.get_m_additionalLinearDampingThresholdSqr=_w.prototype.get_m_additionalLinearDampingThresholdSqr=function(){var t=this.ptr;return mf(t)},_w.prototype.set_m_additionalLinearDampingThresholdSqr=_w.prototype.set_m_additionalLinearDampingThresholdSqr=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),If(e,t)},Object.defineProperty(_w.prototype,"m_additionalLinearDampingThresholdSqr",{get:_w.prototype.get_m_additionalLinearDampingThresholdSqr,set:_w.prototype.set_m_additionalLinearDampingThresholdSqr}),_w.prototype.get_m_additionalAngularDampingThresholdSqr=_w.prototype.get_m_additionalAngularDampingThresholdSqr=function(){var t=this.ptr;return Af(t)},_w.prototype.set_m_additionalAngularDampingThresholdSqr=_w.prototype.set_m_additionalAngularDampingThresholdSqr=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Rf(e,t)},Object.defineProperty(_w.prototype,"m_additionalAngularDampingThresholdSqr",{get:_w.prototype.get_m_additionalAngularDampingThresholdSqr,set:_w.prototype.set_m_additionalAngularDampingThresholdSqr}),_w.prototype.get_m_additionalAngularDampingFactor=_w.prototype.get_m_additionalAngularDampingFactor=function(){var t=this.ptr;return lf(t)},_w.prototype.set_m_additionalAngularDampingFactor=_w.prototype.set_m_additionalAngularDampingFactor=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),kf(e,t)},Object.defineProperty(_w.prototype,"m_additionalAngularDampingFactor",{get:_w.prototype.get_m_additionalAngularDampingFactor,set:_w.prototype.set_m_additionalAngularDampingFactor}),_w.prototype.__destroy__=_w.prototype.__destroy__=function(){var t=this.ptr;af(t)},rw.prototype=Object.create(yS.prototype),rw.prototype.constructor=rw,rw.prototype.__class__=rw,rw.__cache__={},s.btCollisionConfiguration=rw,rw.prototype.__destroy__=rw.prototype.__destroy__=function(){var t=this.ptr;Ho(t)},sw.prototype=Object.create(yS.prototype),sw.prototype.constructor=sw,sw.prototype.__class__=sw,sw.__cache__={},s.btPersistentManifold=sw,sw.prototype.getBody0=sw.prototype.getBody0=function(){var t=this.ptr;return CS(Il(t),jS)},sw.prototype.getBody1=sw.prototype.getBody1=function(){var t=this.ptr;return CS(Bl(t),jS)},sw.prototype.getNumContacts=sw.prototype.getNumContacts=function(){var t=this.ptr;return Fl(t)},sw.prototype.getContactPoint=sw.prototype.getContactPoint=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),CS(Wl(e,t),dk)},sw.prototype.__destroy__=sw.prototype.__destroy__=function(){var t=this.ptr;jl(t)},pw.prototype=Object.create(RS.prototype),pw.prototype.constructor=pw,pw.prototype.__class__=pw,pw.__cache__={},s.btCompoundShape=pw,pw.prototype.addChildShape=pw.prototype.addChildShape=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),J_(i,t,e)},pw.prototype.removeChildShapeByIndex=pw.prototype.removeChildShapeByIndex=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),nr(e,t)},pw.prototype.getNumChildShapes=pw.prototype.getNumChildShapes=function(){var t=this.ptr;return er(t)},pw.prototype.getChildShape=pw.prototype.getChildShape=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),CS(q_(e,t),RS)},pw.prototype.setMargin=pw.prototype.setMargin=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),_r(e,t)},pw.prototype.getMargin=pw.prototype.getMargin=function(){var t=this.ptr;return tr(t)},pw.prototype.updateChildTransform=pw.prototype.updateChildTransform=function(t,e,i){var n=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),void 0!==i?sr(n,t,e,i):rr(n,t,e)},pw.prototype.recalculateLocalAabb=pw.prototype.recalculateLocalAabb=function(){var t=this.ptr;ir(t)},pw.prototype.setLocalScaling=pw.prototype.setLocalScaling=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),or(e,t)},pw.prototype.getLocalScaling=pw.prototype.getLocalScaling=function(){var t=this.ptr;return CS($_(t),LS)},pw.prototype.calculateLocalInertia=pw.prototype.calculateLocalInertia=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),K_(i,t,e)},pw.prototype.__destroy__=pw.prototype.__destroy__=function(){var t=this.ptr;Y_(t)},cw.prototype=Object.create(TS.prototype),cw.prototype.constructor=cw,cw.prototype.__class__=cw,cw.__cache__={},s.ClosestConvexResultCallback=cw,cw.prototype.hasHit=cw.prototype.hasHit=function(){var t=this.ptr;return!!xt(t)},cw.prototype.get_m_convexFromWorld=cw.prototype.get_m_convexFromWorld=function(){var t=this.ptr;return CS(Bt(t),LS)},cw.prototype.set_m_convexFromWorld=cw.prototype.set_m_convexFromWorld=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Mt(e,t)},Object.defineProperty(cw.prototype,"m_convexFromWorld",{get:cw.prototype.get_m_convexFromWorld,set:cw.prototype.set_m_convexFromWorld}),cw.prototype.get_m_convexToWorld=cw.prototype.get_m_convexToWorld=function(){var t=this.ptr;return CS(Wt(t),LS)},cw.prototype.set_m_convexToWorld=cw.prototype.set_m_convexToWorld=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Gt(e,t)},Object.defineProperty(cw.prototype,"m_convexToWorld",{get:cw.prototype.get_m_convexToWorld,set:cw.prototype.set_m_convexToWorld}),cw.prototype.get_m_hitNormalWorld=cw.prototype.get_m_hitNormalWorld=function(){var t=this.ptr;return CS(Ft(t),LS)},cw.prototype.set_m_hitNormalWorld=cw.prototype.set_m_hitNormalWorld=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Lt(e,t)},Object.defineProperty(cw.prototype,"m_hitNormalWorld",{get:cw.prototype.get_m_hitNormalWorld,set:cw.prototype.set_m_hitNormalWorld}),cw.prototype.get_m_hitPointWorld=cw.prototype.get_m_hitPointWorld=function(){var t=this.ptr;return CS(Ot(t),LS)},cw.prototype.set_m_hitPointWorld=cw.prototype.set_m_hitPointWorld=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Nt(e,t)},Object.defineProperty(cw.prototype,"m_hitPointWorld",{get:cw.prototype.get_m_hitPointWorld,set:cw.prototype.set_m_hitPointWorld}),cw.prototype.get_m_collisionFilterGroup=cw.prototype.get_m_collisionFilterGroup=function(){var t=this.ptr;return Dt(t)},cw.prototype.set_m_collisionFilterGroup=cw.prototype.set_m_collisionFilterGroup=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Pt(e,t)},Object.defineProperty(cw.prototype,"m_collisionFilterGroup",{get:cw.prototype.get_m_collisionFilterGroup,set:cw.prototype.set_m_collisionFilterGroup}),cw.prototype.get_m_collisionFilterMask=cw.prototype.get_m_collisionFilterMask=function(){var t=this.ptr;return It(t)},cw.prototype.set_m_collisionFilterMask=cw.prototype.set_m_collisionFilterMask=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Vt(e,t)},Object.defineProperty(cw.prototype,"m_collisionFilterMask",{get:cw.prototype.get_m_collisionFilterMask,set:cw.prototype.set_m_collisionFilterMask}),cw.prototype.get_m_closestHitFraction=cw.prototype.get_m_closestHitFraction=function(){var t=this.ptr;return jt(t)},cw.prototype.set_m_closestHitFraction=cw.prototype.set_m_closestHitFraction=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Tt(e,t)},Object.defineProperty(cw.prototype,"m_closestHitFraction",{get:cw.prototype.get_m_closestHitFraction,set:cw.prototype.set_m_closestHitFraction}),cw.prototype.__destroy__=cw.prototype.__destroy__=function(){var t=this.ptr;Rt(t)},aw.prototype=Object.create(yS.prototype),aw.prototype.constructor=aw,aw.prototype.__class__=aw,aw.__cache__={},s.tMaterialArray=aw,aw.prototype.size=aw.prototype.size=function(){var t=this.ptr;return Xv(t)},aw.prototype.at=aw.prototype.at=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),CS(Jv(e,t),ew)},aw.prototype.__destroy__=aw.prototype.__destroy__=function(){var t=this.ptr;Yv(t)},bw.prototype=Object.create(NS.prototype),bw.prototype.constructor=bw,bw.prototype.__class__=bw,bw.__cache__={},s.btDefaultVehicleRaycaster=bw,bw.prototype.castRay=bw.prototype.castRay=function(t,e,i){var n=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),kp(n,t,e,i)},bw.prototype.__destroy__=bw.prototype.__destroy__=function(){var t=this.ptr;Sp(t)},dw.prototype=Object.create(yS.prototype),dw.prototype.constructor=dw,dw.prototype.__class__=dw,dw.__cache__={},s.btConstraintSetting=dw,dw.prototype.get_m_tau=dw.prototype.get_m_tau=function(){var t=this.ptr;return Yr(t)},dw.prototype.set_m_tau=dw.prototype.set_m_tau=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),zr(e,t)},Object.defineProperty(dw.prototype,"m_tau",{get:dw.prototype.get_m_tau,set:dw.prototype.set_m_tau}),dw.prototype.get_m_damping=dw.prototype.get_m_damping=function(){var t=this.ptr;return Zr(t)},dw.prototype.set_m_damping=dw.prototype.set_m_damping=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Jr(e,t)},Object.defineProperty(dw.prototype,"m_damping",{get:dw.prototype.get_m_damping,set:dw.prototype.set_m_damping}),dw.prototype.get_m_impulseClamp=dw.prototype.get_m_impulseClamp=function(){var t=this.ptr;return Ur(t)},dw.prototype.set_m_impulseClamp=dw.prototype.set_m_impulseClamp=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Xr(e,t)},Object.defineProperty(dw.prototype,"m_impulseClamp",{get:dw.prototype.get_m_impulseClamp,set:dw.prototype.set_m_impulseClamp}),dw.prototype.__destroy__=dw.prototype.__destroy__=function(){var t=this.ptr;Er(t)},lw.prototype=Object.create(yS.prototype),lw.prototype.constructor=lw,lw.prototype.__class__=lw,lw.__cache__={},s.LocalShapeInfo=lw,lw.prototype.get_m_shapePart=lw.prototype.get_m_shapePart=function(){var t=this.ptr;return Mi(t)},lw.prototype.set_m_shapePart=lw.prototype.set_m_shapePart=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Li(e,t)},Object.defineProperty(lw.prototype,"m_shapePart",{get:lw.prototype.get_m_shapePart,set:lw.prototype.set_m_shapePart}),lw.prototype.get_m_triangleIndex=lw.prototype.get_m_triangleIndex=function(){var t=this.ptr;return Gi(t)},lw.prototype.set_m_triangleIndex=lw.prototype.set_m_triangleIndex=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Ni(e,t)},Object.defineProperty(lw.prototype,"m_triangleIndex",{get:lw.prototype.get_m_triangleIndex,set:lw.prototype.set_m_triangleIndex}),lw.prototype.__destroy__=lw.prototype.__destroy__=function(){var t=this.ptr;Vi(t)},Aw.prototype=Object.create(jS.prototype),Aw.prototype.constructor=Aw,Aw.prototype.__class__=Aw,Aw.__cache__={},s.btRigidBody=Aw,Aw.prototype.getCenterOfMassTransform=Aw.prototype.getCenterOfMassTransform=function(){var t=this.ptr;return CS(tu(t),_k)},Aw.prototype.setCenterOfMassTransform=Aw.prototype.setCenterOfMassTransform=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),yu(e,t)},Aw.prototype.setSleepingThresholds=Aw.prototype.setSleepingThresholds=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Fu(i,t,e)},Aw.prototype.setDamping=Aw.prototype.setDamping=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Su(i,t,e)},Aw.prototype.setMassProps=Aw.prototype.setMassProps=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Du(i,t,e)},Aw.prototype.setLinearFactor=Aw.prototype.setLinearFactor=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Ru(e,t)},Aw.prototype.applyTorque=Aw.prototype.applyTorque=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Jf(e,t)},Aw.prototype.applyLocalTorque=Aw.prototype.applyLocalTorque=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Uf(e,t)},Aw.prototype.applyForce=Aw.prototype.applyForce=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Ef(i,t,e)},Aw.prototype.applyCentralForce=Aw.prototype.applyCentralForce=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Lf(e,t)},Aw.prototype.applyCentralLocalForce=Aw.prototype.applyCentralLocalForce=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Qf(e,t)},Aw.prototype.applyTorqueImpulse=Aw.prototype.applyTorqueImpulse=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Yf(e,t)},Aw.prototype.applyImpulse=Aw.prototype.applyImpulse=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Zf(i,t,e)},Aw.prototype.applyCentralImpulse=Aw.prototype.applyCentralImpulse=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Nf(e,t)},Aw.prototype.updateInertiaTensor=Aw.prototype.updateInertiaTensor=function(){var t=this.ptr;Vu(t)},Aw.prototype.getLinearVelocity=Aw.prototype.getLinearVelocity=function(){var t=this.ptr;return CS(ou(t),LS)},Aw.prototype.getAngularVelocity=Aw.prototype.getAngularVelocity=function(){var t=this.ptr;return CS(qf(t),LS)},Aw.prototype.setLinearVelocity=Aw.prototype.setLinearVelocity=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),ju(e,t)},Aw.prototype.setAngularVelocity=Aw.prototype.setAngularVelocity=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),fu(e,t)},Aw.prototype.getMotionState=Aw.prototype.getMotionState=function(){var t=this.ptr;return CS(_u(t),XS)},Aw.prototype.setMotionState=Aw.prototype.setMotionState=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Iu(e,t)},Aw.prototype.setAngularFactor=Aw.prototype.setAngularFactor=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Au(e,t)},Aw.prototype.upcast=Aw.prototype.upcast=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),CS(Pu(e,t),Aw)},Aw.prototype.getAabb=Aw.prototype.getAabb=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Kf(i,t,e)},Aw.prototype.applyGravity=Aw.prototype.applyGravity=function(){var t=this.ptr;Hf(t)},Aw.prototype.getGravity=Aw.prototype.getGravity=function(){var t=this.ptr;return CS(nu(t),LS)},Aw.prototype.setGravity=Aw.prototype.setGravity=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),ku(e,t)},Aw.prototype.getBroadphaseProxy=Aw.prototype.getBroadphaseProxy=function(){var t=this.ptr;return CS($f(t),uk)},Aw.prototype.setAnisotropicFriction=Aw.prototype.setAnisotropicFriction=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),uu(i,t,e)},Aw.prototype.getCollisionShape=Aw.prototype.getCollisionShape=function(){var t=this.ptr;return CS(iu(t),RS)},Aw.prototype.setContactProcessingThreshold=Aw.prototype.setContactProcessingThreshold=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),vu(e,t)},Aw.prototype.setActivationState=Aw.prototype.setActivationState=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),lu(e,t)},Aw.prototype.forceActivationState=Aw.prototype.forceActivationState=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),zf(e,t)},Aw.prototype.activate=Aw.prototype.activate=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),void 0!==t?Gf(e,t):Mf(e)},Aw.prototype.isActive=Aw.prototype.isActive=function(){var t=this.ptr;return!!cu(t)},Aw.prototype.isKinematicObject=Aw.prototype.isKinematicObject=function(){var t=this.ptr;return!!au(t)},Aw.prototype.isStaticObject=Aw.prototype.isStaticObject=function(){var t=this.ptr;return!!bu(t)},Aw.prototype.isStaticOrKinematicObject=Aw.prototype.isStaticOrKinematicObject=function(){var t=this.ptr;return!!du(t)},Aw.prototype.setRestitution=Aw.prototype.setRestitution=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Bu(e,t)},Aw.prototype.setFriction=Aw.prototype.setFriction=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),wu(e,t)},Aw.prototype.setRollingFriction=Aw.prototype.setRollingFriction=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Wu(e,t)},Aw.prototype.getWorldTransform=Aw.prototype.getWorldTransform=function(){var t=this.ptr;return CS(pu(t),_k)},Aw.prototype.getCollisionFlags=Aw.prototype.getCollisionFlags=function(){var t=this.ptr;return eu(t)},Aw.prototype.setCollisionFlags=Aw.prototype.setCollisionFlags=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),gu(e,t)},Aw.prototype.setWorldTransform=Aw.prototype.setWorldTransform=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Tu(e,t)},Aw.prototype.setCollisionShape=Aw.prototype.setCollisionShape=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Cu(e,t)},Aw.prototype.setCcdMotionThreshold=Aw.prototype.setCcdMotionThreshold=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),mu(e,t)},Aw.prototype.setCcdSweptSphereRadius=Aw.prototype.setCcdSweptSphereRadius=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),hu(e,t)},Aw.prototype.getUserIndex=Aw.prototype.getUserIndex=function(){var t=this.ptr;return ru(t)},Aw.prototype.setUserIndex=Aw.prototype.setUserIndex=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Ou(e,t)},Aw.prototype.getUserPointer=Aw.prototype.getUserPointer=function(){var t=this.ptr;return CS(su(t),fk)},Aw.prototype.setUserPointer=Aw.prototype.setUserPointer=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),xu(e,t)},Aw.prototype.__destroy__=Aw.prototype.__destroy__=function(){var t=this.ptr;Vf(t)},fw.prototype=Object.create(yS.prototype),fw.prototype.constructor=fw,fw.prototype.__class__=fw,fw.__cache__={},s.btConvexPolyhedron=fw,fw.prototype.get_m_vertices=fw.prototype.get_m_vertices=function(){var t=this.ptr;return CS(vs(t),Vw)},fw.prototype.set_m_vertices=fw.prototype.set_m_vertices=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),ws(e,t)},Object.defineProperty(fw.prototype,"m_vertices",{get:fw.prototype.get_m_vertices,set:fw.prototype.set_m_vertices}),fw.prototype.get_m_faces=fw.prototype.get_m_faces=function(){var t=this.ptr;return CS(Cs(t),tk)},fw.prototype.set_m_faces=fw.prototype.set_m_faces=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Ss(e,t)},Object.defineProperty(fw.prototype,"m_faces",{get:fw.prototype.get_m_faces,set:fw.prototype.set_m_faces}),fw.prototype.__destroy__=fw.prototype.__destroy__=function(){var t=this.ptr;gs(t)},uw.prototype=Object.create(yS.prototype),uw.prototype.constructor=uw,uw.prototype.__class__=uw,uw.__cache__={},s.btDbvtBroadphase=uw,uw.prototype.__destroy__=uw.prototype.__destroy__=function(){var t=this.ptr;rp(t)},mw.prototype=Object.create(BS.prototype),mw.prototype.constructor=mw,mw.prototype.__class__=mw,mw.__cache__={},s.btHeightfieldTerrainShape=mw,mw.prototype.setMargin=mw.prototype.setMargin=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),jb(e,t)},mw.prototype.getMargin=mw.prototype.getMargin=function(){var t=this.ptr;return kb(t)},mw.prototype.setLocalScaling=mw.prototype.setLocalScaling=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Rb(e,t)},mw.prototype.getLocalScaling=mw.prototype.getLocalScaling=function(){var t=this.ptr;return CS(wb(t),LS)},mw.prototype.calculateLocalInertia=mw.prototype.calculateLocalInertia=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Sb(i,t,e)},mw.prototype.__destroy__=mw.prototype.__destroy__=function(){var t=this.ptr;Cb(t)},hw.prototype=Object.create(KS.prototype),hw.prototype.constructor=hw,hw.prototype.__class__=hw,hw.__cache__={},s.btDefaultSoftBodySolver=hw,hw.prototype.__destroy__=hw.prototype.__destroy__=function(){var t=this.ptr;Cp(t)},yw.prototype=Object.create(US.prototype),yw.prototype.constructor=yw,yw.prototype.__class__=yw,yw.__cache__={},s.btCollisionDispatcher=yw,yw.prototype.getNumManifolds=yw.prototype.getNumManifolds=function(){var t=this.ptr;return Jo(t)},yw.prototype.getManifoldByIndexInternal=yw.prototype.getManifoldByIndexInternal=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),CS(Yo(e,t),sw)},yw.prototype.__destroy__=yw.prototype.__destroy__=function(){var t=this.ptr;Zo(t)},gw.prototype=Object.create(yS.prototype),gw.prototype.constructor=gw,gw.prototype.__class__=gw,gw.__cache__={},s.btAxisSweep3=gw,gw.prototype.__destroy__=gw.prototype.__destroy__=function(){var t=this.ptr;En(t)},Cw.prototype=Object.create(yS.prototype),Cw.prototype.constructor=Cw,Cw.prototype.__class__=Cw,Cw.__cache__={},s.btSoftBodyWorldInfo=Cw,Cw.prototype.get_air_density=Cw.prototype.get_air_density=function(){var t=this.ptr;return gm(t)},Cw.prototype.set_air_density=Cw.prototype.set_air_density=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Dm(e,t)},Object.defineProperty(Cw.prototype,"air_density",{get:Cw.prototype.get_air_density,set:Cw.prototype.set_air_density}),Cw.prototype.get_water_density=Cw.prototype.get_water_density=function(){var t=this.ptr;return km(t)},Cw.prototype.set_water_density=Cw.prototype.set_water_density=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Om(e,t)},Object.defineProperty(Cw.prototype,"water_density",{get:Cw.prototype.get_water_density,set:Cw.prototype.set_water_density}),Cw.prototype.get_water_offset=Cw.prototype.get_water_offset=function(){var t=this.ptr;return jm(t)},Cw.prototype.set_water_offset=Cw.prototype.set_water_offset=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Tm(e,t)},Object.defineProperty(Cw.prototype,"water_offset",{get:Cw.prototype.get_water_offset,set:Cw.prototype.set_water_offset}),Cw.prototype.get_m_maxDisplacement=Cw.prototype.get_m_maxDisplacement=function(){var t=this.ptr;return wm(t)},Cw.prototype.set_m_maxDisplacement=Cw.prototype.set_m_maxDisplacement=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Fm(e,t)},Object.defineProperty(Cw.prototype,"m_maxDisplacement",{get:Cw.prototype.get_m_maxDisplacement,set:Cw.prototype.set_m_maxDisplacement}),Cw.prototype.get_water_normal=Cw.prototype.get_water_normal=function(){var t=this.ptr;return CS(Rm(t),LS)},Cw.prototype.set_water_normal=Cw.prototype.set_water_normal=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),xm(e,t)},Object.defineProperty(Cw.prototype,"water_normal",{get:Cw.prototype.get_water_normal,set:Cw.prototype.set_water_normal}),Cw.prototype.get_m_broadphase=Cw.prototype.get_m_broadphase=function(){var t=this.ptr;return CS(Cm(t),ow)},Cw.prototype.set_m_broadphase=Cw.prototype.set_m_broadphase=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Im(e,t)},Object.defineProperty(Cw.prototype,"m_broadphase",{get:Cw.prototype.get_m_broadphase,set:Cw.prototype.set_m_broadphase}),Cw.prototype.get_m_dispatcher=Cw.prototype.get_m_dispatcher=function(){var t=this.ptr;return CS(vm(t),US)},Cw.prototype.set_m_dispatcher=Cw.prototype.set_m_dispatcher=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Bm(e,t)},Object.defineProperty(Cw.prototype,"m_dispatcher",{get:Cw.prototype.get_m_dispatcher,set:Cw.prototype.set_m_dispatcher}),Cw.prototype.get_m_gravity=Cw.prototype.get_m_gravity=function(){var t=this.ptr;return CS(Sm(t),LS)},Cw.prototype.set_m_gravity=Cw.prototype.set_m_gravity=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Wm(e,t)},Object.defineProperty(Cw.prototype,"m_gravity",{get:Cw.prototype.get_m_gravity,set:Cw.prototype.set_m_gravity}),Cw.prototype.__destroy__=Cw.prototype.__destroy__=function(){var t=this.ptr;hm(t)},vw.prototype=Object.create(IS.prototype),vw.prototype.constructor=vw,vw.prototype.__class__=vw,vw.__cache__={},s.btConeTwistConstraint=vw,vw.prototype.setLimit=vw.prototype.setLimit=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Vr(i,t,e)},vw.prototype.setAngularOnly=vw.prototype.setAngularOnly=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),xr(e,t)},vw.prototype.setDamping=vw.prototype.setDamping=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Pr(e,t)},vw.prototype.enableMotor=vw.prototype.enableMotor=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Wr(e,t)},vw.prototype.setMaxMotorImpulse=vw.prototype.setMaxMotorImpulse=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Gr(e,t)},vw.prototype.setMaxMotorImpulseNormalized=vw.prototype.setMaxMotorImpulseNormalized=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Mr(e,t)},vw.prototype.setMotorTarget=vw.prototype.setMotorTarget=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Nr(e,t)},vw.prototype.setMotorTargetInConstraintSpace=vw.prototype.setMotorTargetInConstraintSpace=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Lr(e,t)},vw.prototype.enableFeedback=vw.prototype.enableFeedback=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Br(e,t)},vw.prototype.getBreakingImpulseThreshold=vw.prototype.getBreakingImpulseThreshold=function(){var t=this.ptr;return Fr(t)},vw.prototype.setBreakingImpulseThreshold=vw.prototype.setBreakingImpulseThreshold=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Tr(e,t)},vw.prototype.getParam=vw.prototype.getParam=function(t,e){var i=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Or(i,t,e)},vw.prototype.setParam=vw.prototype.setParam=function(t,e,i){var n=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),Qr(n,t,e,i)},vw.prototype.__destroy__=vw.prototype.__destroy__=function(){var t=this.ptr;jr(t)},Sw.prototype=Object.create(IS.prototype),Sw.prototype.constructor=Sw,Sw.prototype.__class__=Sw,Sw.__cache__={},s.btHingeConstraint=Sw,Sw.prototype.setLimit=Sw.prototype.setLimit=function(t,e,i,n,o){var _=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),n&&"object"==typeof n&&(n=n.ptr),o&&"object"==typeof o&&(o=o.ptr),void 0!==o?Eb(_,t,e,i,n,o):Qb(_,t,e,i,n)},Sw.prototype.enableAngularMotor=Sw.prototype.enableAngularMotor=function(t,e,i){var n=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),Tb(n,t,e,i)},Sw.prototype.setAngularOnly=Sw.prototype.setAngularOnly=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Lb(e,t)},Sw.prototype.enableMotor=Sw.prototype.enableMotor=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Vb(e,t)},Sw.prototype.setMaxMotorImpulse=Sw.prototype.setMaxMotorImpulse=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Hb(e,t)},Sw.prototype.setMotorTarget=Sw.prototype.setMotorTarget=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Zb(i,t,e)},Sw.prototype.enableFeedback=Sw.prototype.enableFeedback=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Pb(e,t)},Sw.prototype.getBreakingImpulseThreshold=Sw.prototype.getBreakingImpulseThreshold=function(){var t=this.ptr;return Mb(t)},Sw.prototype.setBreakingImpulseThreshold=Sw.prototype.setBreakingImpulseThreshold=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Nb(e,t)},Sw.prototype.getParam=Sw.prototype.getParam=function(t,e){var i=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Gb(i,t,e)},Sw.prototype.setParam=Sw.prototype.setParam=function(t,e,i){var n=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),Ub(n,t,e,i)},Sw.prototype.__destroy__=Sw.prototype.__destroy__=function(){var t=this.ptr;Db(t)},ww.prototype=Object.create(MS.prototype),ww.prototype.constructor=ww,ww.prototype.__class__=ww,ww.__cache__={},s.btConeShapeZ=ww,ww.prototype.setLocalScaling=ww.prototype.setLocalScaling=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Cr(e,t)},ww.prototype.getLocalScaling=ww.prototype.getLocalScaling=function(){var t=this.ptr;return CS(gr(t),LS)},ww.prototype.calculateLocalInertia=ww.prototype.calculateLocalInertia=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),yr(i,t,e)},ww.prototype.__destroy__=ww.prototype.__destroy__=function(){var t=this.ptr;mr(t)},kw.prototype=Object.create(MS.prototype),kw.prototype.constructor=kw,kw.prototype.__class__=kw,kw.__cache__={},s.btConeShapeX=kw,kw.prototype.setLocalScaling=kw.prototype.setLocalScaling=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),ur(e,t)},kw.prototype.getLocalScaling=kw.prototype.getLocalScaling=function(){var t=this.ptr;return CS(fr(t),LS)},kw.prototype.calculateLocalInertia=kw.prototype.calculateLocalInertia=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Ar(i,t,e)},kw.prototype.__destroy__=kw.prototype.__destroy__=function(){var t=this.ptr;dr(t)},Rw.prototype=Object.create(JS.prototype),Rw.prototype.constructor=Rw,Rw.prototype.__class__=Rw,Rw.__cache__={},s.btTriangleMesh=Rw,Rw.prototype.addTriangle=Rw.prototype.addTriangle=function(t,e,i,n){var o=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),n&&"object"==typeof n&&(n=n.ptr),void 0!==n?eg(o,t,e,i,n):tg(o,t,e,i)},Rw.prototype.setScaling=Rw.prototype.setScaling=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),_g(e,t)},Rw.prototype.__destroy__=Rw.prototype.__destroy__=function(){var t=this.ptr;$y(t)},jw.prototype=Object.create(RS.prototype),jw.prototype.constructor=jw,jw.prototype.__class__=jw,jw.__cache__={},s.btConvexHullShape=jw,jw.prototype.addPoint=jw.prototype.addPoint=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),void 0!==e?ss(i,t,e):rs(i,t)},jw.prototype.setMargin=jw.prototype.setMargin=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),ys(e,t)},jw.prototype.getMargin=jw.prototype.getMargin=function(){var t=this.ptr;return As(t)},jw.prototype.getNumVertices=jw.prototype.getNumVertices=function(){var t=this.ptr;return fs(t)},jw.prototype.initializePolyhedralFeatures=jw.prototype.initializePolyhedralFeatures=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),!!us(e,t)},jw.prototype.recalcLocalAabb=jw.prototype.recalcLocalAabb=function(){var t=this.ptr;ms(t)},jw.prototype.getConvexPolyhedron=jw.prototype.getConvexPolyhedron=function(){var t=this.ptr;return CS(ds(t),fw)},jw.prototype.setLocalScaling=jw.prototype.setLocalScaling=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),hs(e,t)},jw.prototype.getLocalScaling=jw.prototype.getLocalScaling=function(){var t=this.ptr;return CS(ls(t),LS)},jw.prototype.calculateLocalInertia=jw.prototype.calculateLocalInertia=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),bs(i,t,e)},jw.prototype.__destroy__=jw.prototype.__destroy__=function(){var t=this.ptr;_s(t)},Dw.prototype=Object.create(yS.prototype),Dw.prototype.constructor=Dw,Dw.prototype.__class__=Dw,Dw.__cache__={},s.btVehicleTuning=Dw,Dw.prototype.get_m_suspensionStiffness=Dw.prototype.get_m_suspensionStiffness=function(){var t=this.ptr;return bC(t)},Dw.prototype.set_m_suspensionStiffness=Dw.prototype.set_m_suspensionStiffness=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),mC(e,t)},Object.defineProperty(Dw.prototype,"m_suspensionStiffness",{get:Dw.prototype.get_m_suspensionStiffness,set:Dw.prototype.set_m_suspensionStiffness}),Dw.prototype.get_m_suspensionCompression=Dw.prototype.get_m_suspensionCompression=function(){var t=this.ptr;return cC(t)},Dw.prototype.set_m_suspensionCompression=Dw.prototype.set_m_suspensionCompression=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),fC(e,t)},Object.defineProperty(Dw.prototype,"m_suspensionCompression",{get:Dw.prototype.get_m_suspensionCompression,set:Dw.prototype.set_m_suspensionCompression}),Dw.prototype.get_m_suspensionDamping=Dw.prototype.get_m_suspensionDamping=function(){var t=this.ptr;return aC(t)},Dw.prototype.set_m_suspensionDamping=Dw.prototype.set_m_suspensionDamping=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),uC(e,t)},Object.defineProperty(Dw.prototype,"m_suspensionDamping",{get:Dw.prototype.get_m_suspensionDamping,set:Dw.prototype.set_m_suspensionDamping}),Dw.prototype.get_m_maxSuspensionTravelCm=Dw.prototype.get_m_maxSuspensionTravelCm=function(){var t=this.ptr;return pC(t)},Dw.prototype.set_m_maxSuspensionTravelCm=Dw.prototype.set_m_maxSuspensionTravelCm=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),AC(e,t)},Object.defineProperty(Dw.prototype,"m_maxSuspensionTravelCm",{get:Dw.prototype.get_m_maxSuspensionTravelCm,set:Dw.prototype.set_m_maxSuspensionTravelCm}),Dw.prototype.get_m_frictionSlip=Dw.prototype.get_m_frictionSlip=function(){var t=this.ptr;return rC(t)},Dw.prototype.set_m_frictionSlip=Dw.prototype.set_m_frictionSlip=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),dC(e,t)},Object.defineProperty(Dw.prototype,"m_frictionSlip",{get:Dw.prototype.get_m_frictionSlip,set:Dw.prototype.set_m_frictionSlip}),Dw.prototype.get_m_maxSuspensionForce=Dw.prototype.get_m_maxSuspensionForce=function(){var t=this.ptr;return sC(t)},Dw.prototype.set_m_maxSuspensionForce=Dw.prototype.set_m_maxSuspensionForce=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),lC(e,t)},Object.defineProperty(Dw.prototype,"m_maxSuspensionForce",{get:Dw.prototype.get_m_maxSuspensionForce,set:Dw.prototype.set_m_maxSuspensionForce}),Iw.prototype=Object.create(yS.prototype),Iw.prototype.constructor=Iw,Iw.prototype.__class__=Iw,Iw.__cache__={},s.btCollisionObjectWrapper=Iw,Bw.prototype=Object.create(yS.prototype),Bw.prototype.constructor=Bw,Bw.prototype.__class__=Bw,Bw.__cache__={},s.btShapeHull=Bw,Bw.prototype.buildHull=Bw.prototype.buildHull=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),!!Qu(e,t)},Bw.prototype.numVertices=Bw.prototype.numVertices=function(){var t=this.ptr;return Hu(t)},Bw.prototype.getVertexPointer=Bw.prototype.getVertexPointer=function(){var t=this.ptr;return CS(Eu(t),LS)},Bw.prototype.__destroy__=Bw.prototype.__destroy__=function(){var t=this.ptr;Lu(t)},Ww.prototype=Object.create(XS.prototype),Ww.prototype.constructor=Ww,Ww.prototype.__class__=Ww,Ww.__cache__={},s.btDefaultMotionState=Ww,Ww.prototype.getWorldTransform=Ww.prototype.getWorldTransform=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),mp(e,t)},Ww.prototype.setWorldTransform=Ww.prototype.setWorldTransform=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),yp(e,t)},Ww.prototype.get_m_graphicsWorldTrans=Ww.prototype.get_m_graphicsWorldTrans=function(){var t=this.ptr;return CS(hp(t),_k)},Ww.prototype.set_m_graphicsWorldTrans=Ww.prototype.set_m_graphicsWorldTrans=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),gp(e,t)},Object.defineProperty(Ww.prototype,"m_graphicsWorldTrans",{get:Ww.prototype.get_m_graphicsWorldTrans,set:Ww.prototype.set_m_graphicsWorldTrans}),Ww.prototype.__destroy__=Ww.prototype.__destroy__=function(){var t=this.ptr;lp(t)},Fw.prototype=Object.create(yS.prototype),Fw.prototype.constructor=Fw,Fw.prototype.__class__=Fw,Fw.__cache__={},s.btWheelInfo=Fw,Fw.prototype.getSuspensionRestLength=Fw.prototype.getSuspensionRestLength=function(){var t=this.ptr;return ZC(t)},Fw.prototype.updateWheel=Fw.prototype.updateWheel=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Lv(i,t,e)},Fw.prototype.get_m_suspensionStiffness=Fw.prototype.get_m_suspensionStiffness=function(){var t=this.ptr;return pv(t)},Fw.prototype.set_m_suspensionStiffness=Fw.prototype.set_m_suspensionStiffness=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Fv(e,t)},Object.defineProperty(Fw.prototype,"m_suspensionStiffness",{get:Fw.prototype.get_m_suspensionStiffness,set:Fw.prototype.set_m_suspensionStiffness}),Fw.prototype.get_m_frictionSlip=Fw.prototype.get_m_frictionSlip=function(){var t=this.ptr;return qC(t)},Fw.prototype.set_m_frictionSlip=Fw.prototype.set_m_frictionSlip=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),vv(e,t)},Object.defineProperty(Fw.prototype,"m_frictionSlip",{get:Fw.prototype.get_m_frictionSlip,set:Fw.prototype.set_m_frictionSlip}),Fw.prototype.get_m_engineForce=Fw.prototype.get_m_engineForce=function(){var t=this.ptr;return KC(t)},Fw.prototype.set_m_engineForce=Fw.prototype.set_m_engineForce=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Cv(e,t)},Object.defineProperty(Fw.prototype,"m_engineForce",{get:Fw.prototype.get_m_engineForce,set:Fw.prototype.set_m_engineForce}),Fw.prototype.get_m_rollInfluence=Fw.prototype.get_m_rollInfluence=function(){var t=this.ptr;return iv(t)},Fw.prototype.set_m_rollInfluence=Fw.prototype.set_m_rollInfluence=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Rv(e,t)},Object.defineProperty(Fw.prototype,"m_rollInfluence",{get:Fw.prototype.get_m_rollInfluence,set:Fw.prototype.set_m_rollInfluence}),Fw.prototype.get_m_suspensionRestLength1=Fw.prototype.get_m_suspensionRestLength1=function(){var t=this.ptr;return sv(t)},Fw.prototype.set_m_suspensionRestLength1=Fw.prototype.set_m_suspensionRestLength1=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Wv(e,t)},Object.defineProperty(Fw.prototype,"m_suspensionRestLength1",{get:Fw.prototype.get_m_suspensionRestLength1,set:Fw.prototype.set_m_suspensionRestLength1}),Fw.prototype.get_m_wheelsRadius=Fw.prototype.get_m_wheelsRadius=function(){var t=this.ptr;return lv(t)},Fw.prototype.set_m_wheelsRadius=Fw.prototype.set_m_wheelsRadius=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Vv(e,t)},Object.defineProperty(Fw.prototype,"m_wheelsRadius",{get:Fw.prototype.get_m_wheelsRadius,set:Fw.prototype.set_m_wheelsRadius}),Fw.prototype.get_m_wheelsDampingCompression=Fw.prototype.get_m_wheelsDampingCompression=function(){var t=this.ptr;return bv(t)},Fw.prototype.set_m_wheelsDampingCompression=Fw.prototype.set_m_wheelsDampingCompression=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Tv(e,t)},Object.defineProperty(Fw.prototype,"m_wheelsDampingCompression",{get:Fw.prototype.get_m_wheelsDampingCompression,set:Fw.prototype.set_m_wheelsDampingCompression}),Fw.prototype.get_m_wheelsDampingRelaxation=Fw.prototype.get_m_wheelsDampingRelaxation=function(){var t=this.ptr;return dv(t)},Fw.prototype.set_m_wheelsDampingRelaxation=Fw.prototype.set_m_wheelsDampingRelaxation=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Pv(e,t)},Object.defineProperty(Fw.prototype,"m_wheelsDampingRelaxation",{get:Fw.prototype.get_m_wheelsDampingRelaxation,set:Fw.prototype.set_m_wheelsDampingRelaxation}),Fw.prototype.get_m_steering=Fw.prototype.get_m_steering=function(){var t=this.ptr;return _v(t)},Fw.prototype.set_m_steering=Fw.prototype.set_m_steering=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Iv(e,t)},Object.defineProperty(Fw.prototype,"m_steering",{get:Fw.prototype.get_m_steering,set:Fw.prototype.set_m_steering}),Fw.prototype.get_m_maxSuspensionForce=Fw.prototype.get_m_maxSuspensionForce=function(){var t=this.ptr;return $C(t)},Fw.prototype.set_m_maxSuspensionForce=Fw.prototype.set_m_maxSuspensionForce=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Sv(e,t)},Object.defineProperty(Fw.prototype,"m_maxSuspensionForce",{get:Fw.prototype.get_m_maxSuspensionForce,set:Fw.prototype.set_m_maxSuspensionForce}),Fw.prototype.get_m_maxSuspensionTravelCm=Fw.prototype.get_m_maxSuspensionTravelCm=function(){var t=this.ptr;return tv(t)},Fw.prototype.set_m_maxSuspensionTravelCm=Fw.prototype.set_m_maxSuspensionTravelCm=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),wv(e,t)},Object.defineProperty(Fw.prototype,"m_maxSuspensionTravelCm",{get:Fw.prototype.get_m_maxSuspensionTravelCm,set:Fw.prototype.set_m_maxSuspensionTravelCm}),Fw.prototype.get_m_wheelsSuspensionForce=Fw.prototype.get_m_wheelsSuspensionForce=function(){var t=this.ptr;return Av(t)},Fw.prototype.set_m_wheelsSuspensionForce=Fw.prototype.set_m_wheelsSuspensionForce=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Mv(e,t)},Object.defineProperty(Fw.prototype,"m_wheelsSuspensionForce",{get:Fw.prototype.get_m_wheelsSuspensionForce,set:Fw.prototype.set_m_wheelsSuspensionForce}),Fw.prototype.get_m_bIsFrontWheel=Fw.prototype.get_m_bIsFrontWheel=function(){var t=this.ptr;return!!UC(t)},Fw.prototype.set_m_bIsFrontWheel=Fw.prototype.set_m_bIsFrontWheel=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),uv(e,t)},Object.defineProperty(Fw.prototype,"m_bIsFrontWheel",{get:Fw.prototype.get_m_bIsFrontWheel,set:Fw.prototype.set_m_bIsFrontWheel}),Fw.prototype.get_m_raycastInfo=Fw.prototype.get_m_raycastInfo=function(){var t=this.ptr;return CS(ev(t),Hw)},Fw.prototype.set_m_raycastInfo=Fw.prototype.set_m_raycastInfo=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),kv(e,t)},Object.defineProperty(Fw.prototype,"m_raycastInfo",{get:Fw.prototype.get_m_raycastInfo,set:Fw.prototype.set_m_raycastInfo}),Fw.prototype.get_m_chassisConnectionPointCS=Fw.prototype.get_m_chassisConnectionPointCS=function(){var t=this.ptr;return CS(JC(t),LS)},Fw.prototype.set_m_chassisConnectionPointCS=Fw.prototype.set_m_chassisConnectionPointCS=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),hv(e,t)},Object.defineProperty(Fw.prototype,"m_chassisConnectionPointCS",{get:Fw.prototype.get_m_chassisConnectionPointCS,set:Fw.prototype.set_m_chassisConnectionPointCS}),Fw.prototype.get_m_worldTransform=Fw.prototype.get_m_worldTransform=function(){var t=this.ptr;return CS(fv(t),_k)},Fw.prototype.set_m_worldTransform=Fw.prototype.set_m_worldTransform=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Gv(e,t)},Object.defineProperty(Fw.prototype,"m_worldTransform",{get:Fw.prototype.get_m_worldTransform,set:Fw.prototype.set_m_worldTransform}),Fw.prototype.get_m_wheelDirectionCS=Fw.prototype.get_m_wheelDirectionCS=function(){var t=this.ptr;return CS(av(t),LS)},Fw.prototype.set_m_wheelDirectionCS=Fw.prototype.set_m_wheelDirectionCS=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),xv(e,t)},Object.defineProperty(Fw.prototype,"m_wheelDirectionCS",{get:Fw.prototype.get_m_wheelDirectionCS,set:Fw.prototype.set_m_wheelDirectionCS}),Fw.prototype.get_m_wheelAxleCS=Fw.prototype.get_m_wheelAxleCS=function(){var t=this.ptr;return CS(cv(t),LS)},Fw.prototype.set_m_wheelAxleCS=Fw.prototype.set_m_wheelAxleCS=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Ov(e,t)},Object.defineProperty(Fw.prototype,"m_wheelAxleCS",{get:Fw.prototype.get_m_wheelAxleCS,set:Fw.prototype.set_m_wheelAxleCS}),Fw.prototype.get_m_rotation=Fw.prototype.get_m_rotation=function(){var t=this.ptr;return nv(t)},Fw.prototype.set_m_rotation=Fw.prototype.set_m_rotation=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),jv(e,t)},Object.defineProperty(Fw.prototype,"m_rotation",{get:Fw.prototype.get_m_rotation,set:Fw.prototype.set_m_rotation}),Fw.prototype.get_m_deltaRotation=Fw.prototype.get_m_deltaRotation=function(){var t=this.ptr;return zC(t)},Fw.prototype.set_m_deltaRotation=Fw.prototype.set_m_deltaRotation=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),gv(e,t)},Object.defineProperty(Fw.prototype,"m_deltaRotation",{get:Fw.prototype.get_m_deltaRotation,set:Fw.prototype.set_m_deltaRotation}),Fw.prototype.get_m_brake=Fw.prototype.get_m_brake=function(){var t=this.ptr;return YC(t)},Fw.prototype.set_m_brake=Fw.prototype.set_m_brake=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),mv(e,t)},Object.defineProperty(Fw.prototype,"m_brake",{get:Fw.prototype.get_m_brake,set:Fw.prototype.set_m_brake}),Fw.prototype.get_m_clippedInvContactDotSuspension=Fw.prototype.get_m_clippedInvContactDotSuspension=function(){var t=this.ptr;return XC(t)},Fw.prototype.set_m_clippedInvContactDotSuspension=Fw.prototype.set_m_clippedInvContactDotSuspension=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),yv(e,t)},Object.defineProperty(Fw.prototype,"m_clippedInvContactDotSuspension",{get:Fw.prototype.get_m_clippedInvContactDotSuspension,set:Fw.prototype.set_m_clippedInvContactDotSuspension}),Fw.prototype.get_m_suspensionRelativeVelocity=Fw.prototype.get_m_suspensionRelativeVelocity=function(){var t=this.ptr;return rv(t)},Fw.prototype.set_m_suspensionRelativeVelocity=Fw.prototype.set_m_suspensionRelativeVelocity=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Bv(e,t)},Object.defineProperty(Fw.prototype,"m_suspensionRelativeVelocity",{get:Fw.prototype.get_m_suspensionRelativeVelocity,set:Fw.prototype.set_m_suspensionRelativeVelocity}),Fw.prototype.get_m_skidInfo=Fw.prototype.get_m_skidInfo=function(){var t=this.ptr;return ov(t)},Fw.prototype.set_m_skidInfo=Fw.prototype.set_m_skidInfo=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Dv(e,t)},Object.defineProperty(Fw.prototype,"m_skidInfo",{get:Fw.prototype.get_m_skidInfo,set:Fw.prototype.set_m_skidInfo}),Fw.prototype.__destroy__=Fw.prototype.__destroy__=function(){var t=this.ptr;EC(t)},Ow.prototype=Object.create(LS.prototype),Ow.prototype.constructor=Ow,Ow.prototype.__class__=Ow,Ow.__cache__={},s.btVector4=Ow,Ow.prototype.w=Ow.prototype.w=function(){var t=this.ptr;return Ug(t)},Ow.prototype.setValue=Ow.prototype.setValue=function(t,e,i,n){var o=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),n&&"object"==typeof n&&(n=n.ptr),Qg(o,t,e,i,n)},Ow.prototype.length=Ow.prototype.length=function(){var t=this.ptr;return Pg(t)},Ow.prototype.x=Ow.prototype.x=function(){var t=this.ptr;return Yg(t)},Ow.prototype.y=Ow.prototype.y=function(){var t=this.ptr;return Jg(t)},Ow.prototype.z=Ow.prototype.z=function(){var t=this.ptr;return Xg(t)},Ow.prototype.setX=Ow.prototype.setX=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Eg(e,t)},Ow.prototype.setY=Ow.prototype.setY=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Hg(e,t)},Ow.prototype.setZ=Ow.prototype.setZ=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Zg(e,t)},Ow.prototype.normalize=Ow.prototype.normalize=function(){var t=this.ptr;Vg(t)},Ow.prototype.rotate=Ow.prototype.rotate=function(t,e){var i=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),CS(Ng(i,t,e),LS)},Ow.prototype.dot=Ow.prototype.dot=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),Tg(e,t)},Ow.prototype.op_mul=Ow.prototype.op_mul=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),CS(Gg(e,t),LS)},Ow.prototype.op_add=Ow.prototype.op_add=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),CS(Mg(e,t),LS)},Ow.prototype.op_sub=Ow.prototype.op_sub=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),CS(Lg(e,t),LS)},Ow.prototype.__destroy__=Ow.prototype.__destroy__=function(){var t=this.ptr;Fg(t)},xw.prototype=Object.create(yS.prototype),xw.prototype.constructor=xw,xw.prototype.__class__=xw,xw.__cache__={},s.btDefaultCollisionConstructionInfo=xw,xw.prototype.__destroy__=xw.prototype.__destroy__=function(){var t=this.ptr;bp(t)},Tw.prototype=Object.create(yS.prototype),Tw.prototype.constructor=Tw,Tw.prototype.__class__=Tw,Tw.__cache__={},s.Anchor=Tw,Tw.prototype.get_m_node=Tw.prototype.get_m_node=function(){var t=this.ptr;return CS(mt(t),Xw)},Tw.prototype.set_m_node=Tw.prototype.set_m_node=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),wt(e,t)},Object.defineProperty(Tw.prototype,"m_node",{get:Tw.prototype.get_m_node,set:Tw.prototype.set_m_node}),Tw.prototype.get_m_local=Tw.prototype.get_m_local=function(){var t=this.ptr;return CS(ut(t),LS)},Tw.prototype.set_m_local=Tw.prototype.set_m_local=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),St(e,t)},Object.defineProperty(Tw.prototype,"m_local",{get:Tw.prototype.get_m_local,set:Tw.prototype.set_m_local}),Tw.prototype.get_m_body=Tw.prototype.get_m_body=function(){var t=this.ptr;return CS(bt(t),Aw)},Tw.prototype.set_m_body=Tw.prototype.set_m_body=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),ht(e,t)},Object.defineProperty(Tw.prototype,"m_body",{get:Tw.prototype.get_m_body,set:Tw.prototype.set_m_body}),Tw.prototype.get_m_influence=Tw.prototype.get_m_influence=function(){var t=this.ptr;return ft(t)},Tw.prototype.set_m_influence=Tw.prototype.set_m_influence=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),vt(e,t)},Object.defineProperty(Tw.prototype,"m_influence",{get:Tw.prototype.get_m_influence,set:Tw.prototype.set_m_influence}),Tw.prototype.get_m_c0=Tw.prototype.get_m_c0=function(){var t=this.ptr;return CS(dt(t),$S)},Tw.prototype.set_m_c0=Tw.prototype.set_m_c0=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),yt(e,t)},Object.defineProperty(Tw.prototype,"m_c0",{get:Tw.prototype.get_m_c0,set:Tw.prototype.set_m_c0}),Tw.prototype.get_m_c1=Tw.prototype.get_m_c1=function(){var t=this.ptr;return CS(lt(t),LS)},Tw.prototype.set_m_c1=Tw.prototype.set_m_c1=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),gt(e,t)},Object.defineProperty(Tw.prototype,"m_c1",{get:Tw.prototype.get_m_c1,set:Tw.prototype.set_m_c1}),Tw.prototype.get_m_c2=Tw.prototype.get_m_c2=function(){var t=this.ptr;return At(t)},Tw.prototype.set_m_c2=Tw.prototype.set_m_c2=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Ct(e,t)},Object.defineProperty(Tw.prototype,"m_c2",{get:Tw.prototype.get_m_c2,set:Tw.prototype.set_m_c2}),Tw.prototype.__destroy__=Tw.prototype.__destroy__=function(){var t=this.ptr;at(t)},Pw.prototype=Object.create(yS.prototype),Pw.prototype.constructor=Pw,Pw.prototype.__class__=Pw,Pw.__cache__={},s.btVehicleRaycasterResult=Pw,Pw.prototype.get_m_hitPointInWorld=Pw.prototype.get_m_hitPointInWorld=function(){var t=this.ptr;return CS($g(t),LS)},Pw.prototype.set_m_hitPointInWorld=Pw.prototype.set_m_hitPointInWorld=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),iC(e,t)},Object.defineProperty(Pw.prototype,"m_hitPointInWorld",{get:Pw.prototype.get_m_hitPointInWorld,set:Pw.prototype.set_m_hitPointInWorld}),Pw.prototype.get_m_hitNormalInWorld=Pw.prototype.get_m_hitNormalInWorld=function(){var t=this.ptr;return CS(qg(t),LS)},Pw.prototype.set_m_hitNormalInWorld=Pw.prototype.set_m_hitNormalInWorld=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),eC(e,t)},Object.defineProperty(Pw.prototype,"m_hitNormalInWorld",{get:Pw.prototype.get_m_hitNormalInWorld,set:Pw.prototype.set_m_hitNormalInWorld}),Pw.prototype.get_m_distFraction=Pw.prototype.get_m_distFraction=function(){var t=this.ptr;return Kg(t)},Pw.prototype.set_m_distFraction=Pw.prototype.set_m_distFraction=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),tC(e,t)},Object.defineProperty(Pw.prototype,"m_distFraction",{get:Pw.prototype.get_m_distFraction,set:Pw.prototype.set_m_distFraction}),Pw.prototype.__destroy__=Pw.prototype.__destroy__=function(){var t=this.ptr;zg(t)},Vw.prototype=Object.create(yS.prototype),Vw.prototype.constructor=Vw,Vw.prototype.__class__=Vw,Vw.__cache__={},s.btVector3Array=Vw,Vw.prototype.size=Vw.prototype.size=function(){var t=this.ptr;return Ag(t)},Vw.prototype.at=Vw.prototype.at=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),CS(lg(e,t),LS)},Vw.prototype.__destroy__=Vw.prototype.__destroy__=function(){var t=this.ptr;dg(t)},Mw.prototype=Object.create(yS.prototype),Mw.prototype.constructor=Mw,Mw.prototype.__class__=Mw,Mw.__cache__={},s.btConstraintSolver=Mw,Mw.prototype.__destroy__=Mw.prototype.__destroy__=function(){var t=this.ptr;Kr(t)},Gw.prototype=Object.create(GS.prototype),Gw.prototype.constructor=Gw,Gw.prototype.__class__=Gw,Gw.__cache__={},s.btRaycastVehicle=Gw,Gw.prototype.applyEngineForce=Gw.prototype.applyEngineForce=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),OA(i,t,e)},Gw.prototype.setSteeringValue=Gw.prototype.setSteeringValue=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),$A(i,t,e)},Gw.prototype.getWheelTransformWS=Gw.prototype.getWheelTransformWS=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),CS(YA(e,t),_k)},Gw.prototype.updateWheelTransform=Gw.prototype.updateWheelTransform=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),sf(i,t,e)},Gw.prototype.addWheel=Gw.prototype.addWheel=function(t,e,i,n,o,_,r){var s=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),n&&"object"==typeof n&&(n=n.ptr),o&&"object"==typeof o&&(o=o.ptr),_&&"object"==typeof _&&(_=_.ptr),r&&"object"==typeof r&&(r=r.ptr),CS(FA(s,t,e,i,n,o,_,r),Fw)},Gw.prototype.getNumWheels=Gw.prototype.getNumWheels=function(){var t=this.ptr;return GA(t)},Gw.prototype.getRigidBody=Gw.prototype.getRigidBody=function(){var t=this.ptr;return CS(NA(t),Aw)},Gw.prototype.getWheelInfo=Gw.prototype.getWheelInfo=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),CS(UA(e,t),Fw)},Gw.prototype.setBrake=Gw.prototype.setBrake=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),zA(i,t,e)},Gw.prototype.setCoordinateSystem=Gw.prototype.setCoordinateSystem=function(t,e,i){var n=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),KA(n,t,e,i)},Gw.prototype.getCurrentSpeedKmHour=Gw.prototype.getCurrentSpeedKmHour=function(){var t=this.ptr;return PA(t)},Gw.prototype.getChassisWorldTransform=Gw.prototype.getChassisWorldTransform=function(){var t=this.ptr;return CS(TA(t),_k)},Gw.prototype.rayCast=Gw.prototype.rayCast=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),JA(e,t)},Gw.prototype.updateVehicle=Gw.prototype.updateVehicle=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),rf(e,t)},Gw.prototype.resetSuspension=Gw.prototype.resetSuspension=function(){var t=this.ptr;XA(t)},Gw.prototype.getSteeringValue=Gw.prototype.getSteeringValue=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),QA(e,t)},Gw.prototype.updateWheelTransformsWS=Gw.prototype.updateWheelTransformsWS=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),void 0!==e?cf(i,t,e):pf(i,t)},Gw.prototype.setPitchControl=Gw.prototype.setPitchControl=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),qA(e,t)},Gw.prototype.updateSuspension=Gw.prototype.updateSuspension=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),_f(e,t)},Gw.prototype.updateFriction=Gw.prototype.updateFriction=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),of(e,t)},Gw.prototype.getRightAxis=Gw.prototype.getRightAxis=function(){var t=this.ptr;return LA(t)},Gw.prototype.getUpAxis=Gw.prototype.getUpAxis=function(){var t=this.ptr;return EA(t)},Gw.prototype.getForwardAxis=Gw.prototype.getForwardAxis=function(){var t=this.ptr;return VA(t)},Gw.prototype.getForwardVector=Gw.prototype.getForwardVector=function(){var t=this.ptr;return CS(MA(t),LS)},Gw.prototype.getUserConstraintType=Gw.prototype.getUserConstraintType=function(){var t=this.ptr;return ZA(t)},Gw.prototype.setUserConstraintType=Gw.prototype.setUserConstraintType=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),ef(e,t)},Gw.prototype.setUserConstraintId=Gw.prototype.setUserConstraintId=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),tf(e,t)},Gw.prototype.getUserConstraintId=Gw.prototype.getUserConstraintId=function(){var t=this.ptr;return HA(t)},Gw.prototype.updateAction=Gw.prototype.updateAction=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),nf(i,t,e)},Gw.prototype.__destroy__=Gw.prototype.__destroy__=function(){var t=this.ptr;WA(t)},Lw.prototype=Object.create(ES.prototype),Lw.prototype.constructor=Lw,Lw.prototype.__class__=Lw,Lw.__cache__={},s.btCylinderShapeX=Lw,Lw.prototype.setMargin=Lw.prototype.setMargin=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Zs(e,t)},Lw.prototype.getMargin=Lw.prototype.getMargin=function(){var t=this.ptr;return Es(t)},Lw.prototype.setLocalScaling=Lw.prototype.setLocalScaling=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Hs(e,t)},Lw.prototype.getLocalScaling=Lw.prototype.getLocalScaling=function(){var t=this.ptr;return CS(Qs(t),LS)},Lw.prototype.calculateLocalInertia=Lw.prototype.calculateLocalInertia=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Ns(i,t,e)},Lw.prototype.__destroy__=Lw.prototype.__destroy__=function(){var t=this.ptr;Gs(t)},Nw.prototype=Object.create(ES.prototype),Nw.prototype.constructor=Nw,Nw.prototype.__class__=Nw,Nw.__cache__={},s.btCylinderShapeZ=Nw,Nw.prototype.setMargin=Nw.prototype.setMargin=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),qs(e,t)},Nw.prototype.getMargin=Nw.prototype.getMargin=function(){var t=this.ptr;return zs(t)},Nw.prototype.setLocalScaling=Nw.prototype.setLocalScaling=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Ks(e,t)},Nw.prototype.getLocalScaling=Nw.prototype.getLocalScaling=function(){var t=this.ptr;return CS(Xs(t),LS)},Nw.prototype.calculateLocalInertia=Nw.prototype.calculateLocalInertia=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Js(i,t,e)},Nw.prototype.__destroy__=Nw.prototype.__destroy__=function(){var t=this.ptr;Us(t)},Qw.prototype=Object.create(yS.prototype),Qw.prototype.constructor=Qw,Qw.prototype.__class__=Qw,Qw.__cache__={},s.btSequentialImpulseConstraintSolver=Qw,Qw.prototype.__destroy__=Qw.prototype.__destroy__=function(){var t=this.ptr;Mu(t)},Ew.prototype=Object.create(yS.prototype),Ew.prototype.constructor=Ew,Ew.prototype.__class__=Ew,Ew.__cache__={},s.tAnchorArray=Ew,Ew.prototype.size=Ew.prototype.size=function(){var t=this.ptr;return Uv(t)},Ew.prototype.at=Ew.prototype.at=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),CS(Qv(e,t),Tw)},Ew.prototype.clear=Ew.prototype.clear=function(){var t=this.ptr;Ev(t)},Ew.prototype.push_back=Ew.prototype.push_back=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Zv(e,t)},Ew.prototype.pop_back=Ew.prototype.pop_back=function(){var t=this.ptr;Hv(t)},Ew.prototype.__destroy__=Ew.prototype.__destroy__=function(){var t=this.ptr;Nv(t)},Hw.prototype=Object.create(yS.prototype),Hw.prototype.constructor=Hw,Hw.prototype.__class__=Hw,Hw.__cache__={},s.RaycastInfo=Hw,Hw.prototype.get_m_contactNormalWS=Hw.prototype.get_m_contactNormalWS=function(){var t=this.ptr;return CS(wn(t),LS)},Hw.prototype.set_m_contactNormalWS=Hw.prototype.set_m_contactNormalWS=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Fn(e,t)},Object.defineProperty(Hw.prototype,"m_contactNormalWS",{get:Hw.prototype.get_m_contactNormalWS,set:Hw.prototype.set_m_contactNormalWS}),Hw.prototype.get_m_contactPointWS=Hw.prototype.get_m_contactPointWS=function(){var t=this.ptr;return CS(kn(t),LS)},Hw.prototype.set_m_contactPointWS=Hw.prototype.set_m_contactPointWS=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),On(e,t)},Object.defineProperty(Hw.prototype,"m_contactPointWS",{get:Hw.prototype.get_m_contactPointWS,set:Hw.prototype.set_m_contactPointWS}),Hw.prototype.get_m_suspensionLength=Hw.prototype.get_m_suspensionLength=function(){var t=this.ptr;return In(t)},Hw.prototype.set_m_suspensionLength=Hw.prototype.set_m_suspensionLength=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Vn(e,t)},Object.defineProperty(Hw.prototype,"m_suspensionLength",{get:Hw.prototype.get_m_suspensionLength,set:Hw.prototype.set_m_suspensionLength}),Hw.prototype.get_m_hardPointWS=Hw.prototype.get_m_hardPointWS=function(){var t=this.ptr;return CS(jn(t),LS)},Hw.prototype.set_m_hardPointWS=Hw.prototype.set_m_hardPointWS=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Tn(e,t)},Object.defineProperty(Hw.prototype,"m_hardPointWS",{get:Hw.prototype.get_m_hardPointWS,set:Hw.prototype.set_m_hardPointWS}),Hw.prototype.get_m_wheelDirectionWS=Hw.prototype.get_m_wheelDirectionWS=function(){var t=this.ptr;return CS(Wn(t),LS)},Hw.prototype.set_m_wheelDirectionWS=Hw.prototype.set_m_wheelDirectionWS=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Gn(e,t)},Object.defineProperty(Hw.prototype,"m_wheelDirectionWS",{get:Hw.prototype.get_m_wheelDirectionWS,set:Hw.prototype.set_m_wheelDirectionWS}),Hw.prototype.get_m_wheelAxleWS=Hw.prototype.get_m_wheelAxleWS=function(){var t=this.ptr;return CS(Bn(t),LS)},Hw.prototype.set_m_wheelAxleWS=Hw.prototype.set_m_wheelAxleWS=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Mn(e,t)},Object.defineProperty(Hw.prototype,"m_wheelAxleWS",{get:Hw.prototype.get_m_wheelAxleWS,set:Hw.prototype.set_m_wheelAxleWS}),Hw.prototype.get_m_isInContact=Hw.prototype.get_m_isInContact=function(){var t=this.ptr;return!!Dn(t)},Hw.prototype.set_m_isInContact=Hw.prototype.set_m_isInContact=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Pn(e,t)},Object.defineProperty(Hw.prototype,"m_isInContact",{get:Hw.prototype.get_m_isInContact,set:Hw.prototype.set_m_isInContact}),Hw.prototype.get_m_groundObject=Hw.prototype.get_m_groundObject=function(){var t=this.ptr;return Rn(t)},Hw.prototype.set_m_groundObject=Hw.prototype.set_m_groundObject=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),xn(e,t)},Object.defineProperty(Hw.prototype,"m_groundObject",{get:Hw.prototype.get_m_groundObject,set:Hw.prototype.set_m_groundObject}),Hw.prototype.__destroy__=Hw.prototype.__destroy__=function(){var t=this.ptr;Sn(t)},Zw.prototype=Object.create(yS.prototype),Zw.prototype.constructor=Zw,Zw.prototype.__class__=Zw,Zw.__cache__={},s.tNodeArray=Zw,Zw.prototype.size=Zw.prototype.size=function(){var t=this.ptr;return qv(t)},Zw.prototype.at=Zw.prototype.at=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),CS(Kv(e,t),Xw)},Zw.prototype.__destroy__=Zw.prototype.__destroy__=function(){var t=this.ptr;zv(t)},Uw.prototype=Object.create(jS.prototype),Uw.prototype.constructor=Uw,Uw.prototype.__class__=Uw,Uw.__cache__={},s.btSoftBody=Uw,Uw.prototype.checkLink=Uw.prototype.checkLink=function(t,e){var i=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),!!zm(i,t,e)},Uw.prototype.checkFace=Uw.prototype.checkFace=function(t,e,i){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),!!Xm(n,t,e,i)},Uw.prototype.appendMaterial=Uw.prototype.appendMaterial=function(){var t=this.ptr;return CS(Zm(t),ew)},Uw.prototype.appendNode=Uw.prototype.appendNode=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Um(i,t,e)},Uw.prototype.appendLink=Uw.prototype.appendLink=function(t,e,i,n){var o=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),n&&"object"==typeof n&&(n=n.ptr),Hm(o,t,e,i,n)},Uw.prototype.appendFace=Uw.prototype.appendFace=function(t,e,i,n){var o=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),n&&"object"==typeof n&&(n=n.ptr),Em(o,t,e,i,n)},Uw.prototype.appendTetra=Uw.prototype.appendTetra=function(t,e,i,n,o){var _=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),n&&"object"==typeof n&&(n=n.ptr),o&&"object"==typeof o&&(o=o.ptr),Ym(_,t,e,i,n,o)},Uw.prototype.appendAnchor=Uw.prototype.appendAnchor=function(t,e,i,n){var o=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),n&&"object"==typeof n&&(n=n.ptr),Qm(o,t,e,i,n)},Uw.prototype.addForce=Uw.prototype.addForce=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),void 0!==e?Nm(i,t,e):Lm(i,t)},Uw.prototype.addAeroForceToNode=Uw.prototype.addAeroForceToNode=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Gm(i,t,e)},Uw.prototype.getTotalMass=Uw.prototype.getTotalMass=function(){var t=this.ptr;return nh(t)},Uw.prototype.setTotalMass=Uw.prototype.setTotalMass=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Dh(i,t,e)},Uw.prototype.setMass=Uw.prototype.setMass=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),kh(i,t,e)},Uw.prototype.transform=Uw.prototype.transform=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Ph(e,t)},Uw.prototype.translate=Uw.prototype.translate=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Vh(e,t)},Uw.prototype.rotate=Uw.prototype.rotate=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),fh(e,t)},Uw.prototype.scale=Uw.prototype.scale=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),uh(e,t)},Uw.prototype.generateClusters=Uw.prototype.generateClusters=function(t,e){var i=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),void 0===e?$m(i,t):th(i,t,e)},Uw.prototype.generateBendingConstraints=Uw.prototype.generateBendingConstraints=function(t,e){var i=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),qm(i,t,e)},Uw.prototype.upcast=Uw.prototype.upcast=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),CS(Mh(e,t),Uw)},Uw.prototype.setAnisotropicFriction=Uw.prototype.setAnisotropicFriction=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),hh(i,t,e)},Uw.prototype.getCollisionShape=Uw.prototype.getCollisionShape=function(){var t=this.ptr;return CS(ih(t),RS)},Uw.prototype.setContactProcessingThreshold=Uw.prototype.setContactProcessingThreshold=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Sh(e,t)},Uw.prototype.setActivationState=Uw.prototype.setActivationState=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),mh(e,t)},Uw.prototype.forceActivationState=Uw.prototype.forceActivationState=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Km(e,t)},Uw.prototype.activate=Uw.prototype.activate=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),void 0!==t?Mm(e,t):Vm(e)},Uw.prototype.isActive=Uw.prototype.isActive=function(){var t=this.ptr;return!!bh(t)},Uw.prototype.isKinematicObject=Uw.prototype.isKinematicObject=function(){var t=this.ptr;return!!dh(t)},Uw.prototype.isStaticObject=Uw.prototype.isStaticObject=function(){var t=this.ptr;return!!lh(t)},Uw.prototype.isStaticOrKinematicObject=Uw.prototype.isStaticOrKinematicObject=function(){var t=this.ptr;return!!Ah(t)},Uw.prototype.setRestitution=Uw.prototype.setRestitution=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Rh(e,t)},Uw.prototype.setFriction=Uw.prototype.setFriction=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),wh(e,t)},Uw.prototype.setRollingFriction=Uw.prototype.setRollingFriction=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),jh(e,t)},Uw.prototype.getWorldTransform=Uw.prototype.getWorldTransform=function(){var t=this.ptr;return CS(rh(t),_k)},Uw.prototype.getCollisionFlags=Uw.prototype.getCollisionFlags=function(){var t=this.ptr;return eh(t)},Uw.prototype.setCollisionFlags=Uw.prototype.setCollisionFlags=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Ch(e,t)},Uw.prototype.setWorldTransform=Uw.prototype.setWorldTransform=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Wh(e,t)},Uw.prototype.setCollisionShape=Uw.prototype.setCollisionShape=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),vh(e,t)},Uw.prototype.setCcdMotionThreshold=Uw.prototype.setCcdMotionThreshold=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),yh(e,t)},Uw.prototype.setCcdSweptSphereRadius=Uw.prototype.setCcdSweptSphereRadius=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),gh(e,t)},Uw.prototype.getUserIndex=Uw.prototype.getUserIndex=function(){var t=this.ptr;return oh(t)},Uw.prototype.setUserIndex=Uw.prototype.setUserIndex=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Ih(e,t)},Uw.prototype.getUserPointer=Uw.prototype.getUserPointer=function(){var t=this.ptr;return CS(_h(t),fk)},Uw.prototype.setUserPointer=Uw.prototype.setUserPointer=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Bh(e,t)},Uw.prototype.get_m_cfg=Uw.prototype.get_m_cfg=function(){var t=this.ptr;return CS(ph(t),Jw)},Uw.prototype.set_m_cfg=Uw.prototype.set_m_cfg=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Oh(e,t)},Object.defineProperty(Uw.prototype,"m_cfg",{get:Uw.prototype.get_m_cfg,set:Uw.prototype.set_m_cfg}),Uw.prototype.get_m_nodes=Uw.prototype.get_m_nodes=function(){var t=this.ptr;return CS(ah(t),Zw)},Uw.prototype.set_m_nodes=Uw.prototype.set_m_nodes=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Th(e,t)},Object.defineProperty(Uw.prototype,"m_nodes",{get:Uw.prototype.get_m_nodes,set:Uw.prototype.set_m_nodes}),Uw.prototype.get_m_materials=Uw.prototype.get_m_materials=function(){var t=this.ptr;return CS(ch(t),aw)},Uw.prototype.set_m_materials=Uw.prototype.set_m_materials=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),xh(e,t)},Object.defineProperty(Uw.prototype,"m_materials",{get:Uw.prototype.get_m_materials,set:Uw.prototype.set_m_materials}),Uw.prototype.get_m_anchors=Uw.prototype.get_m_anchors=function(){var t=this.ptr;return CS(sh(t),Ew)},Uw.prototype.set_m_anchors=Uw.prototype.set_m_anchors=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Fh(e,t)},Object.defineProperty(Uw.prototype,"m_anchors",{get:Uw.prototype.get_m_anchors,set:Uw.prototype.set_m_anchors}),Uw.prototype.__destroy__=Uw.prototype.__destroy__=function(){var t=this.ptr;Pm(t)},Yw.prototype=Object.create(yS.prototype),Yw.prototype.constructor=Yw,Yw.prototype.__class__=Yw,Yw.__cache__={},s.btIntArray=Yw,Yw.prototype.size=Yw.prototype.size=function(){var t=this.ptr;return id(t)},Yw.prototype.at=Yw.prototype.at=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),ed(e,t)},Yw.prototype.__destroy__=Yw.prototype.__destroy__=function(){var t=this.ptr;td(t)},Jw.prototype=Object.create(yS.prototype),Jw.prototype.constructor=Jw,Jw.prototype.__class__=Jw,Jw.__cache__={},s.Config=Jw,Jw.prototype.get_kVCF=Jw.prototype.get_kVCF=function(){var t=this.ptr;return Be(t)},Jw.prototype.set_kVCF=Jw.prototype.set_kVCF=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),ei(e,t)},Object.defineProperty(Jw.prototype,"kVCF",{get:Jw.prototype.get_kVCF,set:Jw.prototype.set_kVCF}),Jw.prototype.get_kDP=Jw.prototype.get_kDP=function(){var t=this.ptr;return he(t)},Jw.prototype.set_kDP=Jw.prototype.set_kDP=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Ee(e,t)},Object.defineProperty(Jw.prototype,"kDP",{get:Jw.prototype.get_kDP,set:Jw.prototype.set_kDP}),Jw.prototype.get_kDG=Jw.prototype.get_kDG=function(){var t=this.ptr;return me(t)},Jw.prototype.set_kDG=Jw.prototype.set_kDG=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Qe(e,t)},Object.defineProperty(Jw.prototype,"kDG",{get:Jw.prototype.get_kDG,set:Jw.prototype.set_kDG}),Jw.prototype.get_kLF=Jw.prototype.get_kLF=function(){var t=this.ptr;return ge(t)},Jw.prototype.set_kLF=Jw.prototype.set_kLF=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Ze(e,t)},Object.defineProperty(Jw.prototype,"kLF",{get:Jw.prototype.get_kLF,set:Jw.prototype.set_kLF}),Jw.prototype.get_kPR=Jw.prototype.get_kPR=function(){var t=this.ptr;return ve(t)},Jw.prototype.set_kPR=Jw.prototype.set_kPR=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Ye(e,t)},Object.defineProperty(Jw.prototype,"kPR",{get:Jw.prototype.get_kPR,set:Jw.prototype.set_kPR}),Jw.prototype.get_kVC=Jw.prototype.get_kVC=function(){var t=this.ptr;return We(t)},Jw.prototype.set_kVC=Jw.prototype.set_kVC=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),ii(e,t)},Object.defineProperty(Jw.prototype,"kVC",{get:Jw.prototype.get_kVC,set:Jw.prototype.set_kVC}),Jw.prototype.get_kDF=Jw.prototype.get_kDF=function(){var t=this.ptr;return ue(t)},Jw.prototype.set_kDF=Jw.prototype.set_kDF=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Ne(e,t)},Object.defineProperty(Jw.prototype,"kDF",{get:Jw.prototype.get_kDF,set:Jw.prototype.set_kDF}),Jw.prototype.get_kMT=Jw.prototype.get_kMT=function(){var t=this.ptr;return Ce(t)},Jw.prototype.set_kMT=Jw.prototype.set_kMT=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Ue(e,t)},Object.defineProperty(Jw.prototype,"kMT",{get:Jw.prototype.get_kMT,set:Jw.prototype.set_kMT}),Jw.prototype.get_kCHR=Jw.prototype.get_kCHR=function(){var t=this.ptr;return fe(t)},Jw.prototype.set_kCHR=Jw.prototype.set_kCHR=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Le(e,t)},Object.defineProperty(Jw.prototype,"kCHR",{get:Jw.prototype.get_kCHR,set:Jw.prototype.set_kCHR}),Jw.prototype.get_kKHR=Jw.prototype.get_kKHR=function(){var t=this.ptr;return ye(t)},Jw.prototype.set_kKHR=Jw.prototype.set_kKHR=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),He(e,t)},Object.defineProperty(Jw.prototype,"kKHR",{get:Jw.prototype.get_kKHR,set:Jw.prototype.set_kKHR}),Jw.prototype.get_kSHR=Jw.prototype.get_kSHR=function(){var t=this.ptr;return Se(t)},Jw.prototype.set_kSHR=Jw.prototype.set_kSHR=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Je(e,t)},Object.defineProperty(Jw.prototype,"kSHR",{get:Jw.prototype.get_kSHR,set:Jw.prototype.set_kSHR}),Jw.prototype.get_kAHR=Jw.prototype.get_kAHR=function(){var t=this.ptr;return Ae(t)},Jw.prototype.set_kAHR=Jw.prototype.set_kAHR=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Ge(e,t)},Object.defineProperty(Jw.prototype,"kAHR",{get:Jw.prototype.get_kAHR,set:Jw.prototype.set_kAHR}),Jw.prototype.get_kSRHR_CL=Jw.prototype.get_kSRHR_CL=function(){var t=this.ptr;return Re(t)},Jw.prototype.set_kSRHR_CL=Jw.prototype.set_kSRHR_CL=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Ke(e,t)},Object.defineProperty(Jw.prototype,"kSRHR_CL",{get:Jw.prototype.get_kSRHR_CL,set:Jw.prototype.set_kSRHR_CL}),Jw.prototype.get_kSKHR_CL=Jw.prototype.get_kSKHR_CL=function(){var t=this.ptr;return we(t)},Jw.prototype.set_kSKHR_CL=Jw.prototype.set_kSKHR_CL=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Xe(e,t)},Object.defineProperty(Jw.prototype,"kSKHR_CL",{get:Jw.prototype.get_kSKHR_CL,set:Jw.prototype.set_kSKHR_CL}),Jw.prototype.get_kSSHR_CL=Jw.prototype.get_kSSHR_CL=function(){var t=this.ptr;return De(t)},Jw.prototype.set_kSSHR_CL=Jw.prototype.set_kSSHR_CL=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),$e(e,t)},Object.defineProperty(Jw.prototype,"kSSHR_CL",{get:Jw.prototype.get_kSSHR_CL,set:Jw.prototype.set_kSSHR_CL}),Jw.prototype.get_kSR_SPLT_CL=Jw.prototype.get_kSR_SPLT_CL=function(){var t=this.ptr;return je(t)},Jw.prototype.set_kSR_SPLT_CL=Jw.prototype.set_kSR_SPLT_CL=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),qe(e,t)},Object.defineProperty(Jw.prototype,"kSR_SPLT_CL",{get:Jw.prototype.get_kSR_SPLT_CL,set:Jw.prototype.set_kSR_SPLT_CL}),Jw.prototype.get_kSK_SPLT_CL=Jw.prototype.get_kSK_SPLT_CL=function(){var t=this.ptr;return ke(t)},Jw.prototype.set_kSK_SPLT_CL=Jw.prototype.set_kSK_SPLT_CL=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),ze(e,t)},Object.defineProperty(Jw.prototype,"kSK_SPLT_CL",{get:Jw.prototype.get_kSK_SPLT_CL,set:Jw.prototype.set_kSK_SPLT_CL}),Jw.prototype.get_kSS_SPLT_CL=Jw.prototype.get_kSS_SPLT_CL=function(){var t=this.ptr;return Ie(t)},Jw.prototype.set_kSS_SPLT_CL=Jw.prototype.set_kSS_SPLT_CL=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),ti(e,t)},Object.defineProperty(Jw.prototype,"kSS_SPLT_CL",{get:Jw.prototype.get_kSS_SPLT_CL,set:Jw.prototype.set_kSS_SPLT_CL}),Jw.prototype.get_maxvolume=Jw.prototype.get_maxvolume=function(){var t=this.ptr;return Fe(t)},Jw.prototype.set_maxvolume=Jw.prototype.set_maxvolume=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),ni(e,t)},Object.defineProperty(Jw.prototype,"maxvolume",{get:Jw.prototype.get_maxvolume,set:Jw.prototype.set_maxvolume}),Jw.prototype.get_timescale=Jw.prototype.get_timescale=function(){var t=this.ptr;return xe(t)},Jw.prototype.set_timescale=Jw.prototype.set_timescale=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),_i(e,t)},Object.defineProperty(Jw.prototype,"timescale",{get:Jw.prototype.get_timescale,set:Jw.prototype.set_timescale}),Jw.prototype.get_viterations=Jw.prototype.get_viterations=function(){var t=this.ptr;return Te(t)},Jw.prototype.set_viterations=Jw.prototype.set_viterations=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),ri(e,t)},Object.defineProperty(Jw.prototype,"viterations",{get:Jw.prototype.get_viterations,set:Jw.prototype.set_viterations}),Jw.prototype.get_piterations=Jw.prototype.get_piterations=function(){var t=this.ptr;return Oe(t)},Jw.prototype.set_piterations=Jw.prototype.set_piterations=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),oi(e,t)},Object.defineProperty(Jw.prototype,"piterations",{get:Jw.prototype.get_piterations,set:Jw.prototype.set_piterations}),Jw.prototype.get_diterations=Jw.prototype.get_diterations=function(){var t=this.ptr;return le(t)},Jw.prototype.set_diterations=Jw.prototype.set_diterations=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Me(e,t)},Object.defineProperty(Jw.prototype,"diterations",{get:Jw.prototype.get_diterations,set:Jw.prototype.set_diterations}),Jw.prototype.get_citerations=Jw.prototype.get_citerations=function(){var t=this.ptr;return be(t)},Jw.prototype.set_citerations=Jw.prototype.set_citerations=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Pe(e,t)},Object.defineProperty(Jw.prototype,"citerations",{get:Jw.prototype.get_citerations,set:Jw.prototype.set_citerations}),Jw.prototype.get_collisions=Jw.prototype.get_collisions=function(){var t=this.ptr;return de(t)},Jw.prototype.set_collisions=Jw.prototype.set_collisions=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Ve(e,t)},Object.defineProperty(Jw.prototype,"collisions",{get:Jw.prototype.get_collisions,set:Jw.prototype.set_collisions}),Jw.prototype.__destroy__=Jw.prototype.__destroy__=function(){var t=this.ptr;ae(t)},Xw.prototype=Object.create(yS.prototype),Xw.prototype.constructor=Xw,Xw.prototype.__class__=Xw,Xw.__cache__={},s.Node=Xw,Xw.prototype.get_m_x=Xw.prototype.get_m_x=function(){var t=this.ptr;return CS(_n(t),LS)},Xw.prototype.set_m_x=Xw.prototype.set_m_x=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),dn(e,t)},Object.defineProperty(Xw.prototype,"m_x",{get:Xw.prototype.get_m_x,set:Xw.prototype.set_m_x}),Xw.prototype.get_m_q=Xw.prototype.get_m_q=function(){var t=this.ptr;return CS(nn(t),LS)},Xw.prototype.set_m_q=Xw.prototype.set_m_q=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),an(e,t)},Object.defineProperty(Xw.prototype,"m_q",{get:Xw.prototype.get_m_q,set:Xw.prototype.set_m_q}),Xw.prototype.get_m_v=Xw.prototype.get_m_v=function(){var t=this.ptr;return CS(on(t),LS)},Xw.prototype.set_m_v=Xw.prototype.set_m_v=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),bn(e,t)},Object.defineProperty(Xw.prototype,"m_v",{get:Xw.prototype.get_m_v,set:Xw.prototype.set_m_v}),Xw.prototype.get_m_f=Xw.prototype.get_m_f=function(){var t=this.ptr;return CS($i(t),LS)},Xw.prototype.set_m_f=Xw.prototype.set_m_f=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),sn(e,t)},Object.defineProperty(Xw.prototype,"m_f",{get:Xw.prototype.get_m_f,set:Xw.prototype.set_m_f}),Xw.prototype.get_m_n=Xw.prototype.get_m_n=function(){var t=this.ptr;return CS(en(t),LS)},Xw.prototype.set_m_n=Xw.prototype.set_m_n=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),cn(e,t)},Object.defineProperty(Xw.prototype,"m_n",{get:Xw.prototype.get_m_n,set:Xw.prototype.set_m_n}),Xw.prototype.get_m_im=Xw.prototype.get_m_im=function(){var t=this.ptr;return tn(t)},Xw.prototype.set_m_im=Xw.prototype.set_m_im=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),pn(e,t)},Object.defineProperty(Xw.prototype,"m_im",{get:Xw.prototype.get_m_im,set:Xw.prototype.set_m_im}),Xw.prototype.get_m_area=Xw.prototype.get_m_area=function(){var t=this.ptr;return qi(t)},Xw.prototype.set_m_area=Xw.prototype.set_m_area=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),rn(e,t)},Object.defineProperty(Xw.prototype,"m_area",{get:Xw.prototype.get_m_area,set:Xw.prototype.set_m_area}),Xw.prototype.__destroy__=Xw.prototype.__destroy__=function(){var t=this.ptr;Ki(t)},zw.prototype=Object.create(yS.prototype),zw.prototype.constructor=zw,zw.prototype.__class__=zw,zw.__cache__={},s.btGhostPairCallback=zw,zw.prototype.__destroy__=zw.prototype.__destroy__=function(){var t=this.ptr;yb(t)},Kw.prototype=Object.create(yS.prototype),Kw.prototype.constructor=Kw,Kw.prototype.__class__=Kw,Kw.__cache__={},s.btOverlappingPairCallback=Kw,Kw.prototype.__destroy__=Kw.prototype.__destroy__=function(){var t=this.ptr;Kd(t)},qw.prototype=Object.create(GS.prototype),qw.prototype.constructor=qw,qw.prototype.__class__=qw,qw.__cache__={},s.btKinematicCharacterController=qw,qw.prototype.setUpAxis=qw.prototype.setUpAxis=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),yd(e,t)},qw.prototype.setWalkDirection=qw.prototype.setWalkDirection=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Sd(e,t)},qw.prototype.setVelocityForTimeInterval=qw.prototype.setVelocityForTimeInterval=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),vd(i,t,e)},qw.prototype.warp=qw.prototype.warp=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),kd(e,t)},qw.prototype.preStep=qw.prototype.preStep=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),ld(e,t)},qw.prototype.playerStep=qw.prototype.playerStep=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),dd(i,t,e)},qw.prototype.setFallSpeed=qw.prototype.setFallSpeed=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Ad(e,t)},qw.prototype.setJumpSpeed=qw.prototype.setJumpSpeed=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),ud(e,t)},qw.prototype.setMaxJumpHeight=qw.prototype.setMaxJumpHeight=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),md(e,t)},qw.prototype.canJump=qw.prototype.canJump=function(){var t=this.ptr;return!!rd(t)},qw.prototype.jump=qw.prototype.jump=function(){var t=this.ptr;ad(t)},qw.prototype.setGravity=qw.prototype.setGravity=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),fd(e,t)},qw.prototype.getGravity=qw.prototype.getGravity=function(){var t=this.ptr;return pd(t)},qw.prototype.setMaxSlope=qw.prototype.setMaxSlope=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),hd(e,t)},qw.prototype.getMaxSlope=qw.prototype.getMaxSlope=function(){var t=this.ptr;return cd(t)},qw.prototype.getGhostObject=qw.prototype.getGhostObject=function(){var t=this.ptr;return CS(sd(t),bk)},qw.prototype.setUseGhostSweepTest=qw.prototype.setUseGhostSweepTest=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Cd(e,t)},qw.prototype.onGround=qw.prototype.onGround=function(){var t=this.ptr;return!!bd(t)},qw.prototype.setUpInterpolate=qw.prototype.setUpInterpolate=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),gd(e,t)},qw.prototype.updateAction=qw.prototype.updateAction=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),wd(i,t,e)},qw.prototype.__destroy__=qw.prototype.__destroy__=function(){var t=this.ptr;nd(t)},$w.prototype=Object.create(yS.prototype),$w.prototype.constructor=$w,$w.prototype.__class__=$w,$w.__cache__={},s.btSoftBodyArray=$w,$w.prototype.size=$w.prototype.size=function(){var t=this.ptr;return _m(t)},$w.prototype.at=$w.prototype.at=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),CS(om(e,t),Uw)},$w.prototype.__destroy__=$w.prototype.__destroy__=function(){var t=this.ptr;nm(t)},tk.prototype=Object.create(yS.prototype),tk.prototype.constructor=tk,tk.prototype.__class__=tk,tk.__cache__={},s.btFaceArray=tk,tk.prototype.size=tk.prototype.size=function(){var t=this.ptr;return ia(t)},tk.prototype.at=tk.prototype.at=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),CS(ea(e,t),hk)},tk.prototype.__destroy__=tk.prototype.__destroy__=function(){var t=this.ptr;ta(t)},ek.prototype=Object.create(BS.prototype),ek.prototype.constructor=ek,ek.prototype.__class__=ek,ek.__cache__={},s.btStaticPlaneShape=ek,ek.prototype.setLocalScaling=ek.prototype.setLocalScaling=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),xy(e,t)},ek.prototype.getLocalScaling=ek.prototype.getLocalScaling=function(){var t=this.ptr;return CS(Oy(t),LS)},ek.prototype.calculateLocalInertia=ek.prototype.calculateLocalInertia=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Fy(i,t,e)},ek.prototype.__destroy__=ek.prototype.__destroy__=function(){var t=this.ptr;By(t)},ik.prototype=Object.create(yS.prototype),ik.prototype.constructor=ik,ik.prototype.__class__=ik,ik.__cache__={},s.btOverlappingPairCache=ik,ik.prototype.setInternalGhostPairCallback=ik.prototype.setInternalGhostPairCallback=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),zd(e,t)},ik.prototype.__destroy__=ik.prototype.__destroy__=function(){var t=this.ptr;Xd(t)},nk.prototype=Object.create(HS.prototype),nk.prototype.constructor=nk,nk.prototype.__class__=nk,nk.__cache__={},s.btSoftRigidDynamicsWorld=nk,nk.prototype.addSoftBody=nk.prototype.addSoftBody=function(t,e,i){var n=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),Jh(n,t,e,i)},nk.prototype.removeSoftBody=nk.prototype.removeSoftBody=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),uy(e,t)},nk.prototype.removeCollisionObject=nk.prototype.removeCollisionObject=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),ly(e,t)},nk.prototype.getWorldInfo=nk.prototype.getWorldInfo=function(){var t=this.ptr;return CS(cy(t),Cw)},nk.prototype.getSoftBodyArray=nk.prototype.getSoftBodyArray=function(){var t=this.ptr;return CS(sy(t),$w)},nk.prototype.getDispatcher=nk.prototype.getDispatcher=function(){var t=this.ptr;return CS(oy(t),US)},nk.prototype.rayTest=nk.prototype.rayTest=function(t,e,i){var n=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),by(n,t,e,i)},nk.prototype.getPairCache=nk.prototype.getPairCache=function(){var t=this.ptr;return CS(ry(t),ik)},nk.prototype.getDispatchInfo=nk.prototype.getDispatchInfo=function(){var t=this.ptr;return CS(ny(t),tw)},nk.prototype.addCollisionObject=nk.prototype.addCollisionObject=function(t,e,i){var n=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),void 0!==e?void 0!==i?Eh(n,t,e,i):Qh(n,t,e):Nh(n,t)},nk.prototype.getBroadphase=nk.prototype.getBroadphase=function(){var t=this.ptr;return CS(ey(t),ow)},nk.prototype.convexSweepTest=nk.prototype.convexSweepTest=function(t,e,i,n,o){var _=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),n&&"object"==typeof n&&(n=n.ptr),o&&"object"==typeof o&&(o=o.ptr),qh(_,t,e,i,n,o)},nk.prototype.contactPairTest=nk.prototype.contactPairTest=function(t,e,i){var n=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),zh(n,t,e,i)},nk.prototype.contactTest=nk.prototype.contactTest=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Kh(i,t,e)},nk.prototype.updateSingleAabb=nk.prototype.updateSingleAabb=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),vy(e,t)},nk.prototype.setDebugDrawer=nk.prototype.setDebugDrawer=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),my(e,t)},nk.prototype.getDebugDrawer=nk.prototype.getDebugDrawer=function(){var t=this.ptr;return CS(iy(t),OS)},nk.prototype.debugDrawWorld=nk.prototype.debugDrawWorld=function(){var t=this.ptr;ty(t)},nk.prototype.debugDrawObject=nk.prototype.debugDrawObject=function(t,e,i){var n=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),$h(n,t,e,i)},nk.prototype.performDiscreteCollisionDetection=nk.prototype.performDiscreteCollisionDetection=function(){var t=this.ptr;ay(t)},nk.prototype.setGravity=nk.prototype.setGravity=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),hy(e,t)},nk.prototype.getGravity=nk.prototype.getGravity=function(){var t=this.ptr;return CS(_y(t),LS)},nk.prototype.addRigidBody=nk.prototype.addRigidBody=function(t,e,i){var n=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),void 0!==e?void 0!==i?Yh(n,t,e,i):_emscripten_bind_btSoftRigidDynamicsWorld_addRigidBody_2(n,t,e):Uh(n,t)},nk.prototype.removeRigidBody=nk.prototype.removeRigidBody=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),fy(e,t)},nk.prototype.addConstraint=nk.prototype.addConstraint=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),void 0!==e?Zh(i,t,e):Hh(i,t)},nk.prototype.removeConstraint=nk.prototype.removeConstraint=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Ay(e,t)},nk.prototype.stepSimulation=nk.prototype.stepSimulation=function(t,e,i){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),void 0===e?yy(n,t):void 0===i?gy(n,t,e):Cy(n,t,e,i)},nk.prototype.addAction=nk.prototype.addAction=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Lh(e,t)},nk.prototype.removeAction=nk.prototype.removeAction=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),dy(e,t)},nk.prototype.getSolverInfo=nk.prototype.getSolverInfo=function(){var t=this.ptr;return CS(py(t),Sk)},nk.prototype.__destroy__=nk.prototype.__destroy__=function(){var t=this.ptr;Gh(t)},ok.prototype=Object.create(IS.prototype),ok.prototype.constructor=ok,ok.prototype.__class__=ok,ok.__cache__={},s.btFixedConstraint=ok,ok.prototype.enableFeedback=ok.prototype.enableFeedback=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),aa(e,t)},ok.prototype.getBreakingImpulseThreshold=ok.prototype.getBreakingImpulseThreshold=function(){var t=this.ptr;return ba(t)},ok.prototype.setBreakingImpulseThreshold=ok.prototype.setBreakingImpulseThreshold=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),la(e,t)},ok.prototype.getParam=ok.prototype.getParam=function(t,e){var i=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),da(i,t,e)},ok.prototype.setParam=ok.prototype.setParam=function(t,e,i){var n=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),Aa(n,t,e,i)},ok.prototype.__destroy__=ok.prototype.__destroy__=function(){var t=this.ptr;pa(t)},_k.prototype=Object.create(yS.prototype),_k.prototype.constructor=_k,_k.prototype.__class__=_k,_k.__cache__={},s.btTransform=_k,_k.prototype.setIdentity=_k.prototype.setIdentity=function(){var t=this.ptr;Uy(t)},_k.prototype.setOrigin=_k.prototype.setOrigin=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Yy(e,t)},_k.prototype.setRotation=_k.prototype.setRotation=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Jy(e,t)},_k.prototype.getOrigin=_k.prototype.getOrigin=function(){var t=this.ptr;return CS(Ny(t),LS)},_k.prototype.getRotation=_k.prototype.getRotation=function(){var t=this.ptr;return CS(Qy(t),Ck)},_k.prototype.getBasis=_k.prototype.getBasis=function(){var t=this.ptr;return CS(Ly(t),$S)},_k.prototype.setFromOpenGLMatrix=_k.prototype.setFromOpenGLMatrix=function(t){var e=this.ptr;vS.prepare(),"object"==typeof t&&(t=wS(t)),Zy(e,t)},_k.prototype.inverse=_k.prototype.inverse=function(){var t=this.ptr;return CS(Ey(t),_k)},_k.prototype.op_mul=_k.prototype.op_mul=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),CS(Hy(e,t),_k)},_k.prototype.__destroy__=_k.prototype.__destroy__=function(){var t=this.ptr;Vy(t)},rk.prototype=Object.create(qS.prototype),rk.prototype.constructor=rk,rk.prototype.__class__=rk,rk.__cache__={},s.ClosestRayResultCallback=rk,rk.prototype.hasHit=rk.prototype.hasHit=function(){var t=this.ptr;return!!qt(t)},rk.prototype.get_m_rayFromWorld=rk.prototype.get_m_rayFromWorld=function(){var t=this.ptr;return CS(zt(t),LS)},rk.prototype.set_m_rayFromWorld=rk.prototype.set_m_rayFromWorld=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),_e(e,t)},Object.defineProperty(rk.prototype,"m_rayFromWorld",{get:rk.prototype.get_m_rayFromWorld,set:rk.prototype.set_m_rayFromWorld}),rk.prototype.get_m_rayToWorld=rk.prototype.get_m_rayToWorld=function(){var t=this.ptr;return CS(Kt(t),LS)},rk.prototype.set_m_rayToWorld=rk.prototype.set_m_rayToWorld=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),re(e,t)},Object.defineProperty(rk.prototype,"m_rayToWorld",{get:rk.prototype.get_m_rayToWorld,set:rk.prototype.set_m_rayToWorld}),rk.prototype.get_m_hitNormalWorld=rk.prototype.get_m_hitNormalWorld=function(){var t=this.ptr;return CS(Jt(t),LS)},rk.prototype.set_m_hitNormalWorld=rk.prototype.set_m_hitNormalWorld=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),ne(e,t)},Object.defineProperty(rk.prototype,"m_hitNormalWorld",{get:rk.prototype.get_m_hitNormalWorld,set:rk.prototype.set_m_hitNormalWorld}),rk.prototype.get_m_hitPointWorld=rk.prototype.get_m_hitPointWorld=function(){var t=this.ptr;return CS(Xt(t),LS)},rk.prototype.set_m_hitPointWorld=rk.prototype.set_m_hitPointWorld=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),oe(e,t)},Object.defineProperty(rk.prototype,"m_hitPointWorld",{get:rk.prototype.get_m_hitPointWorld,set:rk.prototype.set_m_hitPointWorld}),rk.prototype.get_m_collisionFilterGroup=rk.prototype.get_m_collisionFilterGroup=function(){var t=this.ptr;return Zt(t)},rk.prototype.set_m_collisionFilterGroup=rk.prototype.set_m_collisionFilterGroup=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),te(e,t)},Object.defineProperty(rk.prototype,"m_collisionFilterGroup",{get:rk.prototype.get_m_collisionFilterGroup,set:rk.prototype.set_m_collisionFilterGroup}),rk.prototype.get_m_collisionFilterMask=rk.prototype.get_m_collisionFilterMask=function(){var t=this.ptr;return Ut(t)},rk.prototype.set_m_collisionFilterMask=rk.prototype.set_m_collisionFilterMask=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),ee(e,t)},Object.defineProperty(rk.prototype,"m_collisionFilterMask",{get:rk.prototype.get_m_collisionFilterMask,set:rk.prototype.set_m_collisionFilterMask}),rk.prototype.get_m_closestHitFraction=rk.prototype.get_m_closestHitFraction=function(){var t=this.ptr;return Ht(t)},rk.prototype.set_m_closestHitFraction=rk.prototype.set_m_closestHitFraction=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),$t(e,t)},Object.defineProperty(rk.prototype,"m_closestHitFraction",{get:rk.prototype.get_m_closestHitFraction,set:rk.prototype.set_m_closestHitFraction}),rk.prototype.get_m_collisionObject=rk.prototype.get_m_collisionObject=function(){var t=this.ptr;return CS(Yt(t),jS)},rk.prototype.set_m_collisionObject=rk.prototype.set_m_collisionObject=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),ie(e,t)},Object.defineProperty(rk.prototype,"m_collisionObject",{get:rk.prototype.get_m_collisionObject,set:rk.prototype.set_m_collisionObject}),rk.prototype.__destroy__=rk.prototype.__destroy__=function(){var t=this.ptr;Et(t)},sk.prototype=Object.create(xS.prototype),sk.prototype.constructor=sk,sk.prototype.__class__=sk,sk.__cache__={},s.btSoftBodyRigidBodyCollisionConfiguration=sk,sk.prototype.__destroy__=sk.prototype.__destroy__=function(){var t=this.ptr;Am(t)},pk.prototype=Object.create(zS.prototype),pk.prototype.constructor=pk,pk.prototype.__class__=pk,pk.__cache__={},s.ConcreteContactResultCallback=pk,pk.prototype.addSingleResult=pk.prototype.addSingleResult=function(t,e,i,n,o,_,r){var s=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),n&&"object"==typeof n&&(n=n.ptr),o&&"object"==typeof o&&(o=o.ptr),_&&"object"==typeof _&&(_=_.ptr),r&&"object"==typeof r&&(r=r.ptr),ce(s,t,e,i,n,o,_,r)},pk.prototype.__destroy__=pk.prototype.__destroy__=function(){var t=this.ptr;pe(t)},ck.prototype=Object.create(PS.prototype),ck.prototype.constructor=ck,ck.prototype.__class__=ck,ck.__cache__={},s.btBvhTriangleMeshShape=ck,ck.prototype.setLocalScaling=ck.prototype.setLocalScaling=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),lo(e,t)},ck.prototype.getLocalScaling=ck.prototype.getLocalScaling=function(){var t=this.ptr;return CS(bo(t),LS)},ck.prototype.calculateLocalInertia=ck.prototype.calculateLocalInertia=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),ao(i,t,e)},ck.prototype.__destroy__=ck.prototype.__destroy__=function(){var t=this.ptr;so(t)},ak.prototype=Object.create(IS.prototype),ak.prototype.constructor=ak,ak.prototype.__class__=ak,ak.__cache__={},s.btSliderConstraint=ak,ak.prototype.setLowerLinLimit=ak.prototype.setLowerLinLimit=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),$u(e,t)},ak.prototype.setUpperLinLimit=ak.prototype.setUpperLinLimit=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),im(e,t)},ak.prototype.setLowerAngLimit=ak.prototype.setLowerAngLimit=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),qu(e,t)},ak.prototype.setUpperAngLimit=ak.prototype.setUpperAngLimit=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),em(e,t)},ak.prototype.enableFeedback=ak.prototype.enableFeedback=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Ju(e,t)},ak.prototype.getBreakingImpulseThreshold=ak.prototype.getBreakingImpulseThreshold=function(){var t=this.ptr;return Xu(t)},ak.prototype.setBreakingImpulseThreshold=ak.prototype.setBreakingImpulseThreshold=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Ku(e,t)},ak.prototype.getParam=ak.prototype.getParam=function(t,e){var i=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),zu(i,t,e)},ak.prototype.setParam=ak.prototype.setParam=function(t,e,i){var n=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),tm(n,t,e,i)},ak.prototype.__destroy__=ak.prototype.__destroy__=function(){var t=this.ptr;Zu(t)},bk.prototype=Object.create(VS.prototype),bk.prototype.constructor=bk,bk.prototype.__class__=bk,bk.__cache__={},s.btPairCachingGhostObject=bk,bk.prototype.setAnisotropicFriction=bk.prototype.setAnisotropicFriction=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),fl(i,t,e)},bk.prototype.getCollisionShape=bk.prototype.getCollisionShape=function(){var t=this.ptr;return CS(ol(t),RS)},bk.prototype.setContactProcessingThreshold=bk.prototype.setContactProcessingThreshold=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),gl(e,t)},bk.prototype.setActivationState=bk.prototype.setActivationState=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Al(e,t)},bk.prototype.forceActivationState=bk.prototype.forceActivationState=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),il(e,t)},bk.prototype.activate=bk.prototype.activate=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),void 0!==t?tl(e,t):$d(e)},bk.prototype.isActive=bk.prototype.isActive=function(){var t=this.ptr;return!!al(t)},bk.prototype.isKinematicObject=bk.prototype.isKinematicObject=function(){var t=this.ptr;return!!bl(t)},bk.prototype.isStaticObject=bk.prototype.isStaticObject=function(){var t=this.ptr;return!!dl(t)},bk.prototype.isStaticOrKinematicObject=bk.prototype.isStaticOrKinematicObject=function(){var t=this.ptr;return!!ll(t)},bk.prototype.setRestitution=bk.prototype.setRestitution=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),vl(e,t)},bk.prototype.setFriction=bk.prototype.setFriction=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Cl(e,t)},bk.prototype.setRollingFriction=bk.prototype.setRollingFriction=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Sl(e,t)},bk.prototype.getWorldTransform=bk.prototype.getWorldTransform=function(){var t=this.ptr;return CS(cl(t),_k)},bk.prototype.getCollisionFlags=bk.prototype.getCollisionFlags=function(){var t=this.ptr;return nl(t)},bk.prototype.setCollisionFlags=bk.prototype.setCollisionFlags=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),hl(e,t)},bk.prototype.setWorldTransform=bk.prototype.setWorldTransform=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Rl(e,t)},bk.prototype.setCollisionShape=bk.prototype.setCollisionShape=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),yl(e,t)},bk.prototype.setCcdMotionThreshold=bk.prototype.setCcdMotionThreshold=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),ul(e,t)},bk.prototype.setCcdSweptSphereRadius=bk.prototype.setCcdSweptSphereRadius=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),ml(e,t)},bk.prototype.getUserIndex=bk.prototype.getUserIndex=function(){var t=this.ptr;return sl(t)},bk.prototype.setUserIndex=bk.prototype.setUserIndex=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),wl(e,t)},bk.prototype.getUserPointer=bk.prototype.getUserPointer=function(){var t=this.ptr;return CS(pl(t),fk)},bk.prototype.setUserPointer=bk.prototype.setUserPointer=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),kl(e,t)},bk.prototype.getNumOverlappingObjects=bk.prototype.getNumOverlappingObjects=function(){var t=this.ptr;return _l(t)},bk.prototype.getOverlappingObject=bk.prototype.getOverlappingObject=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),CS(rl(e,t),jS)},bk.prototype.__destroy__=bk.prototype.__destroy__=function(){var t=this.ptr;qd(t)},dk.prototype=Object.create(yS.prototype),dk.prototype.constructor=dk,dk.prototype.__class__=dk,dk.__cache__={},s.btManifoldPoint=dk,dk.prototype.getPositionWorldOnA=dk.prototype.getPositionWorldOnA=function(){var t=this.ptr;return CS(Id(t),LS)},dk.prototype.getPositionWorldOnB=dk.prototype.getPositionWorldOnB=function(){var t=this.ptr;return CS(Bd(t),LS)},dk.prototype.getAppliedImpulse=dk.prototype.getAppliedImpulse=function(){var t=this.ptr;return jd(t)},dk.prototype.getDistance=dk.prototype.getDistance=function(){var t=this.ptr;return Dd(t)},dk.prototype.get_m_localPointA=dk.prototype.get_m_localPointA=function(){var t=this.ptr;return CS(Wd(t),LS)},dk.prototype.set_m_localPointA=dk.prototype.set_m_localPointA=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Pd(e,t)},Object.defineProperty(dk.prototype,"m_localPointA",{get:dk.prototype.get_m_localPointA,set:dk.prototype.set_m_localPointA}),dk.prototype.get_m_localPointB=dk.prototype.get_m_localPointB=function(){var t=this.ptr;return CS(Fd(t),LS)},dk.prototype.set_m_localPointB=dk.prototype.set_m_localPointB=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Vd(e,t)},Object.defineProperty(dk.prototype,"m_localPointB",{get:dk.prototype.get_m_localPointB,set:dk.prototype.set_m_localPointB}),dk.prototype.get_m_positionWorldOnB=dk.prototype.get_m_positionWorldOnB=function(){var t=this.ptr;return CS(Td(t),LS)},dk.prototype.set_m_positionWorldOnB=dk.prototype.set_m_positionWorldOnB=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Ld(e,t)},Object.defineProperty(dk.prototype,"m_positionWorldOnB",{get:dk.prototype.get_m_positionWorldOnB,set:dk.prototype.set_m_positionWorldOnB}),dk.prototype.get_m_positionWorldOnA=dk.prototype.get_m_positionWorldOnA=function(){var t=this.ptr;return CS(xd(t),LS)},dk.prototype.set_m_positionWorldOnA=dk.prototype.set_m_positionWorldOnA=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Gd(e,t)},Object.defineProperty(dk.prototype,"m_positionWorldOnA",{get:dk.prototype.get_m_positionWorldOnA,set:dk.prototype.set_m_positionWorldOnA}),dk.prototype.get_m_normalWorldOnB=dk.prototype.get_m_normalWorldOnB=function(){var t=this.ptr;return CS(Od(t),LS)},dk.prototype.set_m_normalWorldOnB=dk.prototype.set_m_normalWorldOnB=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Md(e,t)},Object.defineProperty(dk.prototype,"m_normalWorldOnB",{get:dk.prototype.get_m_normalWorldOnB,set:dk.prototype.set_m_normalWorldOnB}),dk.prototype.__destroy__=dk.prototype.__destroy__=function(){var t=this.ptr;Rd(t)},lk.prototype=Object.create(IS.prototype),lk.prototype.constructor=lk,lk.prototype.__class__=lk,lk.__cache__={},s.btPoint2PointConstraint=lk,lk.prototype.setPivotA=lk.prototype.setPivotA=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Hl(e,t)},lk.prototype.setPivotB=lk.prototype.setPivotB=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Zl(e,t)},lk.prototype.getPivotInA=lk.prototype.getPivotInA=function(){var t=this.ptr;return CS(Gl(t),LS)},lk.prototype.getPivotInB=lk.prototype.getPivotInB=function(){var t=this.ptr;return CS(Ll(t),LS)},lk.prototype.enableFeedback=lk.prototype.enableFeedback=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Pl(e,t)},lk.prototype.getBreakingImpulseThreshold=lk.prototype.getBreakingImpulseThreshold=function(){var t=this.ptr;return Vl(t)},lk.prototype.setBreakingImpulseThreshold=lk.prototype.setBreakingImpulseThreshold=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Ql(e,t)},lk.prototype.getParam=lk.prototype.getParam=function(t,e){var i=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Ml(i,t,e)},lk.prototype.setParam=lk.prototype.setParam=function(t,e,i){var n=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),El(n,t,e,i)},lk.prototype.get_m_setting=lk.prototype.get_m_setting=function(){var t=this.ptr;return CS(Nl(t),dw)},lk.prototype.set_m_setting=lk.prototype.set_m_setting=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Ul(e,t)},Object.defineProperty(lk.prototype,"m_setting",{get:lk.prototype.get_m_setting,set:lk.prototype.set_m_setting}),lk.prototype.__destroy__=lk.prototype.__destroy__=function(){var t=this.ptr;Ol(t)},Ak.prototype=Object.create(yS.prototype),Ak.prototype.constructor=Ak,Ak.prototype.__class__=Ak,Ak.__cache__={},s.btSoftBodyHelpers=Ak,Ak.prototype.CreateRope=Ak.prototype.CreateRope=function(t,e,i,n,o){var _=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),n&&"object"==typeof n&&(n=n.ptr),o&&"object"==typeof o&&(o=o.ptr),CS(bm(_,t,e,i,n,o),Uw)},Ak.prototype.CreatePatch=Ak.prototype.CreatePatch=function(t,e,i,n,o,_,r,s,p){var c=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),n&&"object"==typeof n&&(n=n.ptr),o&&"object"==typeof o&&(o=o.ptr),_&&"object"==typeof _&&(_=_.ptr),r&&"object"==typeof r&&(r=r.ptr),s&&"object"==typeof s&&(s=s.ptr),p&&"object"==typeof p&&(p=p.ptr),CS(am(c,t,e,i,n,o,_,r,s,p),Uw)},Ak.prototype.CreatePatchUV=Ak.prototype.CreatePatchUV=function(t,e,i,n,o,_,r,s,p,c){var a=this.ptr;return vS.prepare(),t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),n&&"object"==typeof n&&(n=n.ptr),o&&"object"==typeof o&&(o=o.ptr),_&&"object"==typeof _&&(_=_.ptr),r&&"object"==typeof r&&(r=r.ptr),s&&"object"==typeof s&&(s=s.ptr),p&&"object"==typeof p&&(p=p.ptr),"object"==typeof c&&(c=wS(c)),CS(cm(a,t,e,i,n,o,_,r,s,p,c),Uw)},Ak.prototype.CreateEllipsoid=Ak.prototype.CreateEllipsoid=function(t,e,i,n){var o=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),n&&"object"==typeof n&&(n=n.ptr),CS(rm(o,t,e,i,n),Uw)},Ak.prototype.CreateFromTriMesh=Ak.prototype.CreateFromTriMesh=function(t,e,i,n,o){var _=this.ptr;return vS.prepare(),t&&"object"==typeof t&&(t=t.ptr),"object"==typeof e&&(e=wS(e)),"object"==typeof i&&(i=function(t){if("object"==typeof t){var e=vS.alloc(t,C);return vS.copy(t,C,e),e}return t}(i)),n&&"object"==typeof n&&(n=n.ptr),o&&"object"==typeof o&&(o=o.ptr),CS(pm(_,t,e,i,n,o),Uw)},Ak.prototype.CreateFromConvexHull=Ak.prototype.CreateFromConvexHull=function(t,e,i,n){var o=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),n&&"object"==typeof n&&(n=n.ptr),CS(sm(o,t,e,i,n),Uw)},Ak.prototype.__destroy__=Ak.prototype.__destroy__=function(){var t=this.ptr;dm(t)},fk.prototype=Object.create(yS.prototype),fk.prototype.constructor=fk,fk.prototype.__class__=fk,fk.__cache__={},s.VoidPtr=fk,fk.prototype.__destroy__=fk.prototype.__destroy__=function(){var t=this.ptr;Ln(t)},uk.prototype=Object.create(yS.prototype),uk.prototype.constructor=uk,uk.prototype.__class__=uk,uk.__cache__={},s.btBroadphaseProxy=uk,uk.prototype.get_m_collisionFilterGroup=uk.prototype.get_m_collisionFilterGroup=function(){var t=this.ptr;return no(t)},uk.prototype.set_m_collisionFilterGroup=uk.prototype.set_m_collisionFilterGroup=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),_o(e,t)},Object.defineProperty(uk.prototype,"m_collisionFilterGroup",{get:uk.prototype.get_m_collisionFilterGroup,set:uk.prototype.set_m_collisionFilterGroup}),uk.prototype.get_m_collisionFilterMask=uk.prototype.get_m_collisionFilterMask=function(){var t=this.ptr;return oo(t)},uk.prototype.set_m_collisionFilterMask=uk.prototype.set_m_collisionFilterMask=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),ro(e,t)},Object.defineProperty(uk.prototype,"m_collisionFilterMask",{get:uk.prototype.get_m_collisionFilterMask,set:uk.prototype.set_m_collisionFilterMask}),uk.prototype.__destroy__=uk.prototype.__destroy__=function(){var t=this.ptr;io(t)},mk.prototype=Object.create(RS.prototype),mk.prototype.constructor=mk,mk.prototype.__class__=mk,mk.__cache__={},s.btBoxShape=mk,mk.prototype.setMargin=mk.prototype.setMargin=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),to(e,t)},mk.prototype.getMargin=mk.prototype.getMargin=function(){var t=this.ptr;return qn(t)},mk.prototype.setLocalScaling=mk.prototype.setLocalScaling=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),$n(e,t)},mk.prototype.getLocalScaling=mk.prototype.getLocalScaling=function(){var t=this.ptr;return CS(Kn(t),LS)},mk.prototype.calculateLocalInertia=mk.prototype.calculateLocalInertia=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),zn(i,t,e)},mk.prototype.__destroy__=mk.prototype.__destroy__=function(){var t=this.ptr;Jn(t)},hk.prototype=Object.create(yS.prototype),hk.prototype.constructor=hk,hk.prototype.__class__=hk,hk.__cache__={},s.btFace=hk,hk.prototype.get_m_indices=hk.prototype.get_m_indices=function(){var t=this.ptr;return CS(oa(t),Yw)},hk.prototype.set_m_indices=hk.prototype.set_m_indices=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),ra(e,t)},Object.defineProperty(hk.prototype,"m_indices",{get:hk.prototype.get_m_indices,set:hk.prototype.set_m_indices}),hk.prototype.get_m_plane=hk.prototype.get_m_plane=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),_a(e,t)},hk.prototype.set_m_plane=hk.prototype.set_m_plane=function(t,e){var i=this.ptr;vS.prepare(),t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),sa(i,t,e)},Object.defineProperty(hk.prototype,"m_plane",{get:hk.prototype.get_m_plane,set:hk.prototype.set_m_plane}),hk.prototype.__destroy__=hk.prototype.__destroy__=function(){var t=this.ptr;na(t)},yk.prototype=Object.create(OS.prototype),yk.prototype.constructor=yk,yk.prototype.__class__=yk,yk.__cache__={},s.DebugDrawer=yk,yk.prototype.drawLine=yk.prototype.drawLine=function(t,e,i){var n=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),Ci(n,t,e,i)},yk.prototype.drawContactPoint=yk.prototype.drawContactPoint=function(t,e,i,n,o){var _=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),n&&"object"==typeof n&&(n=n.ptr),o&&"object"==typeof o&&(o=o.ptr),gi(_,t,e,i,n,o)},yk.prototype.reportErrorWarning=yk.prototype.reportErrorWarning=function(t){var e=this.ptr;vS.prepare(),t=t&&"object"==typeof t?t.ptr:SS(t),Si(e,t)},yk.prototype.draw3dText=yk.prototype.draw3dText=function(t,e){var i=this.ptr;vS.prepare(),t&&"object"==typeof t&&(t=t.ptr),e=e&&"object"==typeof e?e.ptr:SS(e),yi(i,t,e)},yk.prototype.setDebugMode=yk.prototype.setDebugMode=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),wi(e,t)},yk.prototype.getDebugMode=yk.prototype.getDebugMode=function(){var t=this.ptr;return vi(t)},yk.prototype.__destroy__=yk.prototype.__destroy__=function(){var t=this.ptr;hi(t)},gk.prototype=Object.create(WS.prototype),gk.prototype.constructor=gk,gk.prototype.__class__=gk,gk.__cache__={},s.btCapsuleShapeX=gk,gk.prototype.setMargin=gk.prototype.setMargin=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),So(e,t)},gk.prototype.getMargin=gk.prototype.getMargin=function(){var t=this.ptr;return yo(t)},gk.prototype.getUpAxis=gk.prototype.getUpAxis=function(){var t=this.ptr;return Co(t)},gk.prototype.getRadius=gk.prototype.getRadius=function(){var t=this.ptr;return go(t)},gk.prototype.getHalfHeight=gk.prototype.getHalfHeight=function(){var t=this.ptr;return mo(t)},gk.prototype.setLocalScaling=gk.prototype.setLocalScaling=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),vo(e,t)},gk.prototype.getLocalScaling=gk.prototype.getLocalScaling=function(){var t=this.ptr;return CS(ho(t),LS)},gk.prototype.calculateLocalInertia=gk.prototype.calculateLocalInertia=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),uo(i,t,e)},gk.prototype.__destroy__=gk.prototype.__destroy__=function(){var t=this.ptr;Ao(t)},Ck.prototype=Object.create(QS.prototype),Ck.prototype.constructor=Ck,Ck.prototype.__class__=Ck,Ck.__cache__={},s.btQuaternion=Ck,Ck.prototype.setValue=Ck.prototype.setValue=function(t,e,i,n){var o=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),n&&"object"==typeof n&&(n=n.ptr),vA(o,t,e,i,n)},Ck.prototype.setEulerZYX=Ck.prototype.setEulerZYX=function(t,e,i){var n=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),gA(n,t,e,i)},Ck.prototype.setRotation=Ck.prototype.setRotation=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),CA(i,t,e)},Ck.prototype.normalize=Ck.prototype.normalize=function(){var t=this.ptr;lA(t)},Ck.prototype.length2=Ck.prototype.length2=function(){var t=this.ptr;return bA(t)},Ck.prototype.length=Ck.prototype.length=function(){var t=this.ptr;return dA(t)},Ck.prototype.dot=Ck.prototype.dot=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),rA(e,t)},Ck.prototype.normalized=Ck.prototype.normalized=function(){var t=this.ptr;return CS(AA(t),Ck)},Ck.prototype.getAxis=Ck.prototype.getAxis=function(){var t=this.ptr;return CS(cA(t),LS)},Ck.prototype.inverse=Ck.prototype.inverse=function(){var t=this.ptr;return CS(aA(t),Ck)},Ck.prototype.getAngle=Ck.prototype.getAngle=function(){var t=this.ptr;return pA(t)},Ck.prototype.getAngleShortestPath=Ck.prototype.getAngleShortestPath=function(){var t=this.ptr;return sA(t)},Ck.prototype.angle=Ck.prototype.angle=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),oA(e,t)},Ck.prototype.angleShortestPath=Ck.prototype.angleShortestPath=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),nA(e,t)},Ck.prototype.op_add=Ck.prototype.op_add=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),CS(fA(e,t),Ck)},Ck.prototype.op_sub=Ck.prototype.op_sub=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),CS(yA(e,t),Ck)},Ck.prototype.op_mul=Ck.prototype.op_mul=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),CS(mA(e,t),Ck)},Ck.prototype.op_mulq=Ck.prototype.op_mulq=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),CS(hA(e,t),Ck)},Ck.prototype.op_div=Ck.prototype.op_div=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),CS(uA(e,t),Ck)},Ck.prototype.x=Ck.prototype.x=function(){var t=this.ptr;return DA(t)},Ck.prototype.y=Ck.prototype.y=function(){var t=this.ptr;return IA(t)},Ck.prototype.z=Ck.prototype.z=function(){var t=this.ptr;return BA(t)},Ck.prototype.w=Ck.prototype.w=function(){var t=this.ptr;return jA(t)},Ck.prototype.setX=Ck.prototype.setX=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),wA(e,t)},Ck.prototype.setY=Ck.prototype.setY=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),kA(e,t)},Ck.prototype.setZ=Ck.prototype.setZ=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),RA(e,t)},Ck.prototype.setW=Ck.prototype.setW=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),SA(e,t)},Ck.prototype.__destroy__=Ck.prototype.__destroy__=function(){var t=this.ptr;iA(t)},vk.prototype=Object.create(WS.prototype),vk.prototype.constructor=vk,vk.prototype.__class__=vk,vk.__cache__={},s.btCapsuleShapeZ=vk,vk.prototype.setMargin=vk.prototype.setMargin=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Oo(e,t)},vk.prototype.getMargin=vk.prototype.getMargin=function(){var t=this.ptr;return Io(t)},vk.prototype.getUpAxis=vk.prototype.getUpAxis=function(){var t=this.ptr;return Wo(t)},vk.prototype.getRadius=vk.prototype.getRadius=function(){var t=this.ptr;return Bo(t)},vk.prototype.getHalfHeight=vk.prototype.getHalfHeight=function(){var t=this.ptr;return jo(t)},vk.prototype.setLocalScaling=vk.prototype.setLocalScaling=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Fo(e,t)},vk.prototype.getLocalScaling=vk.prototype.getLocalScaling=function(){var t=this.ptr;return CS(Do(t),LS)},vk.prototype.calculateLocalInertia=vk.prototype.calculateLocalInertia=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Ro(i,t,e)},vk.prototype.__destroy__=vk.prototype.__destroy__=function(){var t=this.ptr;wo(t)},Sk.prototype=Object.create(yS.prototype),Sk.prototype.constructor=Sk,Sk.prototype.__class__=Sk,Sk.__cache__={},s.btContactSolverInfo=Sk,Sk.prototype.get_m_splitImpulse=Sk.prototype.get_m_splitImpulse=function(){var t=this.ptr;return!!es(t)},Sk.prototype.set_m_splitImpulse=Sk.prototype.set_m_splitImpulse=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),os(e,t)},Object.defineProperty(Sk.prototype,"m_splitImpulse",{get:Sk.prototype.get_m_splitImpulse,set:Sk.prototype.set_m_splitImpulse}),Sk.prototype.get_m_splitImpulsePenetrationThreshold=Sk.prototype.get_m_splitImpulsePenetrationThreshold=function(){var t=this.ptr;return ts(t)},Sk.prototype.set_m_splitImpulsePenetrationThreshold=Sk.prototype.set_m_splitImpulsePenetrationThreshold=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),ns(e,t)},Object.defineProperty(Sk.prototype,"m_splitImpulsePenetrationThreshold",{get:Sk.prototype.get_m_splitImpulsePenetrationThreshold,set:Sk.prototype.set_m_splitImpulsePenetrationThreshold}),Sk.prototype.get_m_numIterations=Sk.prototype.get_m_numIterations=function(){var t=this.ptr;return $r(t)},Sk.prototype.set_m_numIterations=Sk.prototype.set_m_numIterations=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),is(e,t)},Object.defineProperty(Sk.prototype,"m_numIterations",{get:Sk.prototype.get_m_numIterations,set:Sk.prototype.set_m_numIterations}),Sk.prototype.__destroy__=Sk.prototype.__destroy__=function(){var t=this.ptr;qr(t)},wk.prototype=Object.create(YS.prototype),wk.prototype.constructor=wk,wk.prototype.__class__=wk,wk.__cache__={},s.btGeneric6DofSpringConstraint=wk,wk.prototype.enableSpring=wk.prototype.enableSpring=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Fa(i,t,e)},wk.prototype.setStiffness=wk.prototype.setStiffness=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Ea(i,t,e)},wk.prototype.setDamping=wk.prototype.setDamping=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Ga(i,t,e)},wk.prototype.setLinearLowerLimit=wk.prototype.setLinearLowerLimit=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),La(e,t)},wk.prototype.setLinearUpperLimit=wk.prototype.setLinearUpperLimit=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Na(e,t)},wk.prototype.setAngularLowerLimit=wk.prototype.setAngularLowerLimit=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Pa(e,t)},wk.prototype.setAngularUpperLimit=wk.prototype.setAngularUpperLimit=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Va(e,t)},wk.prototype.getFrameOffsetA=wk.prototype.getFrameOffsetA=function(){var t=this.ptr;return CS(xa(t),_k)},wk.prototype.enableFeedback=wk.prototype.enableFeedback=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Wa(e,t)},wk.prototype.getBreakingImpulseThreshold=wk.prototype.getBreakingImpulseThreshold=function(){var t=this.ptr;return Oa(t)},wk.prototype.setBreakingImpulseThreshold=wk.prototype.setBreakingImpulseThreshold=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Ma(e,t)},wk.prototype.getParam=wk.prototype.getParam=function(t,e){var i=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Ta(i,t,e)},wk.prototype.setParam=wk.prototype.setParam=function(t,e,i){var n=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),i&&"object"==typeof i&&(i=i.ptr),Qa(n,t,e,i)},wk.prototype.__destroy__=wk.prototype.__destroy__=function(){var t=this.ptr;Da(t)},kk.prototype=Object.create(RS.prototype),kk.prototype.constructor=kk,kk.prototype.__class__=kk,kk.__cache__={},s.btSphereShape=kk,kk.prototype.setMargin=kk.prototype.setMargin=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Iy(e,t)},kk.prototype.getMargin=kk.prototype.getMargin=function(){var t=this.ptr;return jy(t)},kk.prototype.setLocalScaling=kk.prototype.setLocalScaling=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Dy(e,t)},kk.prototype.getLocalScaling=kk.prototype.getLocalScaling=function(){var t=this.ptr;return CS(Ry(t),LS)},kk.prototype.calculateLocalInertia=kk.prototype.calculateLocalInertia=function(t,e){var i=this.ptr;t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),ky(i,t,e)},kk.prototype.__destroy__=kk.prototype.__destroy__=function(){var t=this.ptr;Sy(t)},Rk.prototype=Object.create(yS.prototype),Rk.prototype.constructor=Rk,Rk.prototype.__class__=Rk,Rk.__cache__={},s.LocalConvexResult=Rk,Rk.prototype.get_m_hitCollisionObject=Rk.prototype.get_m_hitCollisionObject=function(){var t=this.ptr;return CS(ji(t),jS)},Rk.prototype.set_m_hitCollisionObject=Rk.prototype.set_m_hitCollisionObject=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Fi(e,t)},Object.defineProperty(Rk.prototype,"m_hitCollisionObject",{get:Rk.prototype.get_m_hitCollisionObject,set:Rk.prototype.set_m_hitCollisionObject}),Rk.prototype.get_m_localShapeInfo=Rk.prototype.get_m_localShapeInfo=function(){var t=this.ptr;return CS(Wi(t),lw)},Rk.prototype.set_m_localShapeInfo=Rk.prototype.set_m_localShapeInfo=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Pi(e,t)},Object.defineProperty(Rk.prototype,"m_localShapeInfo",{get:Rk.prototype.get_m_localShapeInfo,set:Rk.prototype.set_m_localShapeInfo}),Rk.prototype.get_m_hitNormalLocal=Rk.prototype.get_m_hitNormalLocal=function(){var t=this.ptr;return CS(Ii(t),LS)},Rk.prototype.set_m_hitNormalLocal=Rk.prototype.set_m_hitNormalLocal=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),xi(e,t)},Object.defineProperty(Rk.prototype,"m_hitNormalLocal",{get:Rk.prototype.get_m_hitNormalLocal,set:Rk.prototype.set_m_hitNormalLocal}),Rk.prototype.get_m_hitPointLocal=Rk.prototype.get_m_hitPointLocal=function(){var t=this.ptr;return CS(Bi(t),LS)},Rk.prototype.set_m_hitPointLocal=Rk.prototype.set_m_hitPointLocal=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Ti(e,t)},Object.defineProperty(Rk.prototype,"m_hitPointLocal",{get:Rk.prototype.get_m_hitPointLocal,set:Rk.prototype.set_m_hitPointLocal}),Rk.prototype.get_m_hitFraction=Rk.prototype.get_m_hitFraction=function(){var t=this.ptr;return Di(t)},Rk.prototype.set_m_hitFraction=Rk.prototype.set_m_hitFraction=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Oi(e,t)},Object.defineProperty(Rk.prototype,"m_hitFraction",{get:Rk.prototype.get_m_hitFraction,set:Rk.prototype.set_m_hitFraction}),Rk.prototype.__destroy__=Rk.prototype.__destroy__=function(){var t=this.ptr;Ri(t)},function(){function t(){s.BT_CONSTRAINT_ERP=rS(),s.BT_CONSTRAINT_STOP_ERP=pS(),s.BT_CONSTRAINT_CFM=_S(),s.BT_CONSTRAINT_STOP_CFM=sS(),s.PHY_FLOAT=eS(),s.PHY_DOUBLE=$v(),s.PHY_INTEGER=iS(),s.PHY_SHORT=nS(),s.PHY_FIXEDPOINT88=tS(),s.PHY_UCHAR=oS()}var e;M?t():(e=t,P.unshift(e))}(),this.Ammo=s,t}),D=new(g().add("ammo",j)),I=g().add("AmmoClass",D);function B(t){S.call(this,t),this.addType(A().BallJoint),this._anchorPoint.setUnit("length"),this.joint=null,this.outputs=new Set,this.localAnchorPoint1=new(R()),this.localAnchorPoint2=new(R())}Object.assign(Object.setPrototypeOf(B.prototype,S.prototype),{initialize(){S.prototype.initialize.call(this),this._anchorPoint.addInterest("set_anchorPoint__",this)},addJoint(){this.getCollection()&&this.getBody1()&&this.getBody2()&&this.getBody1().getCollection()===this.getCollection()&&this.getBody2().getCollection()===this.getCollection()&&(this.joint=new I.btPoint2PointConstraint(this.getBody1().getRigidBody(),this.getBody2().getRigidBody(),new I.btVector3,new I.btVector3),this.set_anchorPoint__(),this.getCollection().getDynamicsWorld().addConstraint(this.joint,!0))},removeJoint(){this.joint&&(this.getCollection()?.getDynamicsWorld().removeConstraint(this.joint),I.destroy(this.joint),this.joint=null)},set_forceOutput__(){this.outputs.clear();for(const t of this._forceOutput)"ALL"==t?(this.outputs.add("body1AnchorPoint"),this.outputs.add("body2AnchorPoint")):this.outputs.add(t);this.setOutput(!!this.outputs.size)},set_anchorPoint__(){if(this.joint){const t=this.localAnchorPoint1,e=this.localAnchorPoint2;this.getInitialInverseMatrix1().multVecMatrix(t.assign(this._anchorPoint.getValue())),this.getInitialInverseMatrix2().multVecMatrix(e.assign(this._anchorPoint.getValue())),this.joint.setPivotA(new I.btVector3(t.x,t.y,t.z)),this.joint.setPivotB(new I.btVector3(e.x,e.y,e.z))}},update1:(()=>{const t=new(R());return function(){this.outputs.has("body1AnchorPoint")&&(this._body1AnchorPoint=this.getBody1().getMatrix().multVecMatrix(this.getInitialInverseMatrix1().multVecMatrix(t.assign(this.localAnchorPoint1))))}})(),update2:(()=>{const t=new(R());return function(){this.outputs.has("body2AnchorPoint")&&(this._body2AnchorPoint=this.getBody2().getMatrix().multVecMatrix(this.getInitialInverseMatrix2().multVecMatrix(t.assign(this.localAnchorPoint2))))}})()}),Object.defineProperties(B,{...d().getStaticProperties("BallJoint","RigidBodyPhysics",2,"joints","3.2"),fieldDefinitions:{value:new(a())([new(p())(A().inputOutput,"metadata",new(r().SFNode)),new(p())(A().inputOutput,"forceOutput",new(r().MFString)("NONE")),new(p())(A().inputOutput,"anchorPoint",new(r().SFVec3f)),new(p())(A().outputOnly,"body1AnchorPoint",new(r().SFVec3f)),new(p())(A().outputOnly,"body2AnchorPoint",new(r().SFVec3f)),new(p())(A().inputOutput,"body1",new(r().SFNode)),new(p())(A().inputOutput,"body2",new(r().SFNode))]),enumerable:!0}});const W=B,F=g().add("BallJoint",W),O=t.X3DChildNode;var x=o.n(O);const T=t.X3DBoundedObject;var P=o.n(T);const V=t.TraverseType;var M=o.n(V);function G(t){x().call(this,t),P().call(this,t),this.addType(A().X3DNBodyCollidableNode),this.addChildObjects(A().outputOnly,"body",new(r().SFNode),A().outputOnly,"compoundShape",new(r().SFTime),A().outputOnly,"rebuild",new(r().SFTime)),this.setBoundedObject(!0),this.setPointingObject(!0),this.setCollisionObject(!0),this.setShadowObject(!0),this.setVisibleObject(!0),this._translation.setUnit("length"),this.compoundShape=new I.btCompoundShape,this.offset=new(R()),this.matrix=new(h()),this.visibleObjects=[]}Object.assign(Object.setPrototypeOf(G.prototype,x().prototype),P().prototype,{initialize(){x().prototype.initialize.call(this),P().prototype.initialize.call(this),this._rebuild.addInterest("set_child__",this),this._bboxSize.addInterest("set_boundedObjects__",this),this.addInterest("eventsProcessed",this),this.eventsProcessed()},getBBox(t,e){return this.isDefaultBBoxSize()?this.boundedObject?.getBBox(t,e).multRight(this.matrix)??t.set():t.set(this._bboxSize.getValue(),this._bboxCenter.getValue())},getShapes(t,e){const i=e.copy().multLeft(this.matrix);for(const e of this.visibleObjects)e.getShapes(t,i);return t},getLocalTransform:(()=>{const t=new(h()),e=new I.btVector3(0,0,0),i=new I.btTransform;return function(){return t.assign(this.matrix),t.translate(this.offset),e.setValue(t[12],t[13],t[14]),i.getBasis().setValue(t[0],t[4],t[8],t[1],t[5],t[9],t[2],t[6],t[10]),i.setOrigin(e),i}})(),setBody(t){this._body=t},getBody(){return this._body.getValue()},getCompoundShape(){return this.compoundShape},setOffset(t,e,i){this.offset.set(t,e,i)},getOffset(){return this.offset},getMatrix(){return this.matrix},getChild(){return this.childNode},setChild(t){if(this.childNode){const t=this.childNode;t._isBoundedObject.removeInterest("requestRebuild",this),t._isPointingObject.removeInterest("requestRebuild",this),t._isCameraObject.removeInterest("requestRebuild",this),t._isPickableObject.removeInterest("requestRebuild",this),t._isCollisionObject.removeInterest("requestRebuild",this),t._isShadowObject.removeInterest("requestRebuild",this),t._isVisibleObject.removeInterest("requestRebuild",this),u()(A().X3DBoundedObject,t)&&(t._display.removeInterest("requestRebuild",this),t._bboxDisplay.removeInterest("requestRebuild",this))}this.childNode=null,this.boundedObject=null,this.pointingObject=null,this.cameraObject=null,this.pickableObject=null,this.collisionObject=null,this.shadowObject=null,this.visibleObjects.length=0,t&&(t._isBoundedObject.addInterest("requestRebuild",this),t._isPointingObject.addInterest("requestRebuild",this),t._isCameraObject.addInterest("requestRebuild",this),t._isPickableObject.addInterest("requestRebuild",this),t._isCollisionObject.addInterest("requestRebuild",this),t._isShadowObject.addInterest("requestRebuild",this),t._isVisibleObject.addInterest("requestRebuild",this),this.childNode=t,t.isVisible()&&(t.isBoundedObject()&&(this.boundedObject=t),t.isPointingObject()&&(this.pointingObject=t),t.isCameraObject()&&(this.cameraObject=t),t.isPickableObject()&&(this.pickableObject=t),t.isCollisionObject()&&(this.collisionObject=t),t.isShadowObject()&&(this.shadowObject=t),t.isVisibleObject()&&this.visibleObjects.push(t)),u()(A().X3DBoundedObject,t)&&(t._display.addInterest("requestRebuild",this),t._bboxDisplay.addInterest("requestRebuild",this),t.isBBoxVisible()&&this.visibleObjects.push(t.getBBoxNode()))),this.set_boundedObjects__(),this.set_pointingObjects__(),this.set_cameraObjects__(),this.set_pickableObjects__(),this.set_collisionObjects__(),this.set_shadowObjects__(),this.set_visibleObjects__()},set_boundedObjects__(){this.setBoundedObject(this.boundedObject||!this.isDefaultBBoxSize())},set_pointingObjects__(){this.setPointingObject(this.pointingObject)},set_cameraObjects__(){this.setCameraObject(this.cameraObject)},set_pickableObjects__(){this.setPickableObject(this.pickableObject)},set_collisionObjects__(){this.setCollisionObject(this.collisionObject)},set_shadowObjects__(){this.setShadowObject(this.shadowObject)},set_visibleObjects__(){this.setVisibleObject(this.visibleObjects.length)},requestRebuild(){this._rebuild.addEvent()},set_child__(){},eventsProcessed(){this.matrix.set(this._translation.getValue(),this._rotation.getValue()),this.compoundShape.getNumChildShapes()&&this.compoundShape.updateChildTransform(0,this.getLocalTransform(),!0)},traverse(t,e){const i=e.getModelViewMatrix();switch(i.push(),i.multLeft(this.matrix),t){case M().POINTER:this.pointingObject?.traverse(t,e);break;case M().CAMERA:this.cameraObject?.traverse(t,e);break;case M().PICKING:if(this.getBrowser().getPickable().at(-1))for(const i of this.visibleObjects)i.traverse(t,e);else this.pickableObject?.traverse(t,e);break;case M().COLLISION:this.collisionObject?.traverse(t,e);break;case M().SHADOW:this.shadowObject?.traverse(t,e);break;case M().DISPLAY:for(const i of this.visibleObjects)i.traverse(t,e)}i.pop()},dispose(){P().prototype.dispose.call(this),x().prototype.dispose.call(this)}}),Object.defineProperties(G,d().getStaticProperties("X3DNBodyCollidableNode","RigidBodyPhysics",1));const L=G,N=g().add("X3DNBodyCollidableNode",L);function Q(t){N.call(this,t),this.addType(A().CollidableOffset)}Object.assign(Object.setPrototypeOf(Q.prototype,N.prototype),{initialize(){N.prototype.initialize.call(this),this._enabled.addInterest("set_collidableGeometry__",this),this._collidable.addInterest("requestRebuild",this),this.set_child__()},set_child__(){if(this.getChild()){const t=this.getChild();t.removeInterest("addNodeEvent",this),t._compoundShape.removeFieldInterest(this._compoundShape)}const t=u()(A().X3DNBodyCollidableNode,this._collidable);this.setChild(t),t&&(t.addInterest("addNodeEvent",this),t._compoundShape.addFieldInterest(this._compoundShape)),this.set_collidableGeometry__()},set_collidableGeometry__(){this.getCompoundShape().getNumChildShapes()&&this.getCompoundShape().removeChildShapeByIndex(0),this.getChild()&&this._enabled.getValue()&&this.getCompoundShape().addChildShape(this.getLocalTransform(),this.getChild().getCompoundShape()),this._compoundShape=this.getBrowser().getCurrentTime()}}),Object.defineProperties(Q,{...d().getStaticProperties("CollidableOffset","RigidBodyPhysics",1,"children","3.2"),fieldDefinitions:{value:new(a())([new(p())(A().inputOutput,"metadata",new(r().SFNode)),new(p())(A().inputOutput,"enabled",new(r().SFBool)(!0)),new(p())(A().inputOutput,"translation",new(r().SFVec3f)),new(p())(A().inputOutput,"rotation",new(r().SFRotation)),new(p())(A().inputOutput,"visible",new(r().SFBool)(!0)),new(p())(A().inputOutput,"bboxDisplay",new(r().SFBool)),new(p())(A().initializeOnly,"bboxSize",new(r().SFVec3f)(-1,-1,-1)),new(p())(A().initializeOnly,"bboxCenter",new(r().SFVec3f)),new(p())(A().initializeOnly,"collidable",new(r().SFNode))]),enumerable:!0}});const E=Q,H=g().add("CollidableOffset",E);function Z(t){N.call(this,t),this.addType(A().CollidableShape),this.convex=!1}Object.assign(Object.setPrototypeOf(Z.prototype,N.prototype),{initialize(){N.prototype.initialize.call(this),this._enabled.addInterest("set_collidableGeometry__",this),this._shape.addInterest("requestRebuild",this),this.set_child__()},isConvex(){return this.convex},setConvex(t){this.convex=t},createConvexGeometry:(()=>{const t=new I.btVector3;return function(){const e=this.geometryNode.getVertices().getValue();if(0===e.length)return null;const i=new I.btConvexHullShape;for(let n=0,o=e.length;n<o;n+=4)t.setValue(e[n],e[n+1],e[n+2]),i.addPoint(t,!1);return i.recalcLocalAabb(),i}})(),createConcaveGeometry:(()=>{const t=new I.btVector3,e=new I.btVector3,i=new I.btVector3;return function(){const n=this.geometryNode.getVertices().getValue();if(0===n.length)return null;this.triangleMesh=new I.btTriangleMesh;for(let o=0,_=n.length;o<_;o+=12)t.setValue(n[o],n[o+1],n[o+2]),e.setValue(n[o+4],n[o+5],n[o+6]),i.setValue(n[o+8],n[o+9],n[o+10]),this.triangleMesh.addTriangle(t,e,i);return new I.btBvhTriangleMeshShape(this.triangleMesh,!1)}})(),set_child__(){if(this.getChild()){this.getChild()._geometry.removeInterest("set_geometry__",this)}const t=u()(A().Shape,this._shape);this.setChild(t),t&&t._geometry.addInterest("set_geometry__",this),this.set_geometry__()},set_geometry__(){this.geometryNode?._rebuild.removeInterest("set_collidableGeometry__",this),this.geometryNode=this.getChild()?.getGeometry()??null,this.geometryNode?._rebuild.addInterest("set_collidableGeometry__",this),this.set_collidableGeometry__()},set_collidableGeometry__:(()=>{const t=new I.btVector3,e=new I.btVector3(1,1,1);return function(){const i=this.getCompoundShape().getLocalScaling();if(t.setValue(i.x(),i.y(),i.z()),this.removeCollidableGeometry(),this.setOffset(0,0,0),this.getCompoundShape().setLocalScaling(e),this._enabled.getValue()&&this.geometryNode&&this.geometryNode.getGeometryType()>1){const t=this.geometryNode.getType();for(let e=t.length-1;e>=0;--e){switch(t[e]){case A().Box:{const t=this.geometryNode._size.getValue();this.collisionShape=new I.btBoxShape(new I.btVector3(t.x/2,t.y/2,t.z/2));break}case A().Cone:{const t=this.geometryNode;t._side.getValue()&&t._bottom.getValue()?this.collisionShape=new I.btConeShape(t._bottomRadius.getValue(),t._height.getValue()):this.collisionShape=this.createConcaveGeometry();break}case A().Cylinder:{const t=this.geometryNode,e=t._radius.getValue(),i=.5*t._height.getValue();t._side.getValue()&&t._top.getValue()&&t._bottom.getValue()?this.collisionShape=new I.btCylinderShape(new I.btVector3(e,i,e)):this.collisionShape=this.createConcaveGeometry();break}case A().ElevationGrid:{const t=this.geometryNode;if(t._xDimension.getValue()>1&&t._zDimension.getValue()>1){const e=this.heightField=I._malloc(4*t._xDimension.getValue()*t._zDimension.getValue());let i=Number.POSITIVE_INFINITY,n=Number.NEGATIVE_INFINITY;for(let o=0,_=0,r=t._height.length;o<r;++o){const r=t._height[o];i=Math.min(i,r),n=Math.max(n,r),I.HEAPF32[e+_>>>2]=t._height[o],_+=4}this.collisionShape=new I.btHeightfieldTerrainShape(t._xDimension.getValue(),t._zDimension.getValue(),e,1,i,n,1,"PHY_FLOAT",!0),this.collisionShape.setLocalScaling(new I.btVector3(t._xSpacing.getValue(),1,t._zSpacing.getValue())),this.setOffset(t._xSpacing.getValue()*(t._xDimension.getValue()-1)*.5,.5*(i+n),t._zSpacing.getValue()*(t._zDimension.getValue()-1)*.5)}break}case A().Sphere:{const t=this.geometryNode;this.collisionShape=new I.btSphereShape(t._radius.getValue());break}case A().X3DGeometryNode:this.convex?this.collisionShape=this.createConvexGeometry():this.collisionShape=this.createConcaveGeometry();break;default:continue}break}}else this.collisionShape=null;this.collisionShape&&this.getCompoundShape().addChildShape(this.getLocalTransform(),this.collisionShape),this.getCompoundShape().setLocalScaling(t),this.addNodeEvent(),this._compoundShape=this.getBrowser().getCurrentTime()}})(),removeCollidableGeometry(){this.collisionShape&&(this.getCompoundShape().removeChildShapeByIndex(0),I.destroy(this.collisionShape),this.collisionShape=null),this.heightField&&(I._free(this.heightField),this.heightField=null),this.triangleMesh&&(I.destroy(this.triangleMesh),this.triangleMesh=null)},dispose(){this.removeCollidableGeometry(),N.prototype.dispose.call(this)}}),Object.defineProperties(Z,{...d().getStaticProperties("CollidableShape","RigidBodyPhysics",1,"children","3.2"),fieldDefinitions:{value:new(a())([new(p())(A().inputOutput,"metadata",new(r().SFNode)),new(p())(A().inputOutput,"enabled",new(r().SFBool)(!0)),new(p())(A().inputOutput,"translation",new(r().SFVec3f)),new(p())(A().inputOutput,"rotation",new(r().SFRotation)),new(p())(A().inputOutput,"visible",new(r().SFBool)(!0)),new(p())(A().inputOutput,"bboxDisplay",new(r().SFBool)),new(p())(A().initializeOnly,"bboxSize",new(r().SFVec3f)(-1,-1,-1)),new(p())(A().initializeOnly,"bboxCenter",new(r().SFVec3f)),new(p())(A().initializeOnly,"shape",new(r().SFNode))]),enumerable:!0}});const U=Z,Y=g().add("CollidableShape",U);let J=0;const X={BOUNCE:J++,USER_FRICTION:J++,FRICTION_COEFFICIENT_2:J++,ERROR_REDUCTION:J++,CONSTANT_FORCE:J++,SPEED_1:J++,SPEED_2:J++,SLIP_1:J++,SLIP_2:J++},z=g().add("AppliedParametersType",X);function K(t){x().call(this,t),P().call(this,t),this.addType(A().CollisionCollection),this._minBounceSpeed.setUnit("speed"),this._surfaceSpeed.setUnit("speed"),this._softnessConstantForceMix.setUnit("force"),this.appliedParameters=new Set,this.collidableNodes=[],this.collisionSpaceNodes=[]}Object.assign(Object.setPrototypeOf(K.prototype,x().prototype),P().prototype,{initialize(){x().prototype.initialize.call(this),P().prototype.initialize.call(this),this._appliedParameters.addInterest("set_appliedParameters__",this),this._collidables.addInterest("set_collidables__",this),this.set_appliedParameters__(),this.set_collidables__()},getBBox(t,e){return this.isDefaultBBoxSize()?t.set():t.set(this._bboxSize.getValue(),this._bboxCenter.getValue())},getAppliedParameters(){return this.appliedParameters},getCollidables(){return this.collidableNodes},set_appliedParameters__:(()=>{const t=new Map([["BOUNCE",z.BOUNCE],["USER_FRICTION",z.USER_FRICTION],["FRICTION_COEFFICIENT-2",z.FRICTION_COEFFICIENT_2],["ERROR_REDUCTION",z.ERROR_REDUCTION],["CONSTANT_FORCE",z.CONSTANT_FORCE],["SPEED-1",z.SPEED_1],["SPEED-2",z.SPEED_2],["SLIP-1",z.SLIP_1],["SLIP-2",z.SLIP_2]]);return function(){this.appliedParameters.clear();for(const e of this._appliedParameters){const i=t.get(e);void 0!==i&&this.appliedParameters.add(i)}}})(),set_collidables__(){const t=this.collisionSpaceNodes;for(const e of t)e.removeInterest("collect",this);t.length=0;for(const e of this._collidables){const i=u()(A().X3DNBodyCollisionSpaceNode,e);i&&(i.addInterest("collect",this),t.push(i))}this.collect()},collect(){const t=this.collidableNodes,e=this.collisionSpaceNodes;t.length=0,e.length=0;for(const e of this._collidables){const i=u()(A().X3DNBodyCollidableNode,e);if(i){t.push(i);continue}const n=u()(A().X3DNBodyCollisionSpaceNode,e);n&&Array.prototype.push.apply(t,n.getCollidables())}this.addNodeEvent()},dispose(){P().prototype.dispose.call(this),x().prototype.dispose.call(this)}}),Object.defineProperties(K,{...d().getStaticProperties("CollisionCollection","RigidBodyPhysics",1,"collider","3.2"),fieldDefinitions:{value:new(a())([new(p())(A().inputOutput,"metadata",new(r().SFNode)),new(p())(A().inputOutput,"description",new(r().SFString)),new(p())(A().inputOutput,"enabled",new(r().SFBool)(!0)),new(p())(A().inputOutput,"appliedParameters",new(r().MFString)("BOUNCE")),new(p())(A().inputOutput,"bounce",new(r().SFFloat)),new(p())(A().inputOutput,"minBounceSpeed",new(r().SFFloat)(.1)),new(p())(A().inputOutput,"frictionCoefficients",new(r().SFVec2f)),new(p())(A().inputOutput,"surfaceSpeed",new(r().SFVec2f)),new(p())(A().inputOutput,"slipFactors",new(r().SFVec2f)),new(p())(A().inputOutput,"softnessConstantForceMix",new(r().SFFloat)(1e-4)),new(p())(A().inputOutput,"softnessErrorCorrection",new(r().SFFloat)(.8)),new(p())(A().inputOutput,"collidables",new(r().MFNode)),new(p())(A().inputOutput,"visible",new(r().SFBool)(!0)),new(p())(A().inputOutput,"bboxDisplay",new(r().SFBool)),new(p())(A().initializeOnly,"bboxSize",new(r().SFVec3f)(-1,-1,-1)),new(p())(A().initializeOnly,"bboxCenter",new(r().SFVec3f))]),enumerable:!0}});const q=K,$=g().add("CollisionCollection",q),tt=t.X3DSensorNode;var et=o.n(tt);function it(t){et().call(this,t),this.addType(A().CollisionSensor),this.contactCache=[]}Object.assign(Object.setPrototypeOf(it.prototype,et().prototype),{initialize(){et().prototype.initialize.call(this),this.getLive().addInterest("set_live__",this),this._collider.addInterest("set_collider__",this),this.set_collider__()},set_live__(){this.getLive().getValue()&&this._enabled.getValue()&&this.colliderNode?this.getBrowser().sensorEvents().addInterest("update",this):this.getBrowser().sensorEvents().removeInterest("update",this)},set_collider__(){this.colliderNode=u()(A().CollisionCollection,this._collider),this.set_live__()},update:(()=>{const t=new Map,e=new Set,i=new Set,n=[],o=new(R()),_=new(R());return function(){const r=this.colliderNode,s=r.getCollidables();t.clear(),e.clear();for(const i of s){const n=i.getBody();if(n){t.set(n.getRigidBody().ptr,i);const o=n.getCollection();o&&e.add(o.getDynamicsWorld())}}i.clear(),n.length=0,e.forEach(e=>{const s=e.getDispatcher(),p=s.getNumManifolds();for(let e=0;e<p;++e){const p=s.getManifoldByIndexInternal(e),c=p.getNumContacts();for(let e=0;e<c;++e){const s=p.getContactPoint(e);if(s.getDistance()<=0){const e=t.get(p.getBody0().ptr),c=t.get(p.getBody1().ptr);if(!e&&!c)continue;const a=this.getContact(n.length),b=s.getPositionWorldOnA(),d=s.get_m_normalWorldOnB();a._position=o.set(b.x(),b.y(),b.z()),a._contactNormal=_.set(d.x(),d.y(),d.z()),a._depth=-s.getDistance(),a._appliedParameters=r._appliedParameters,a._bounce=r._bounce,a._minBounceSpeed=r._minBounceSpeed,a._frictionCoefficients=r._frictionCoefficients,a._surfaceSpeed=r._surfaceSpeed,a._slipCoefficients=r._slipFactors,a._softnessConstantForceMix=r._softnessConstantForceMix,a._softnessErrorCorrection=r._softnessErrorCorrection,e&&(i.add(e),a.geometry1_=e,a.body1_=e.getBody()),c&&(i.add(c),a.geometry2_=c,a.body2_=c.getBody()),n.push(a)}}}});const p=!!n.length;if(this._isActive.getValue()!==p&&(this._isActive=p),i.size){let t=0;i.forEach(e=>this._intersections[t++]=e),this._intersections.length=t}if(n.length){let t=0;n.forEach(e=>this._contacts[t++]=e),this._contacts.length=t}}})(),getContact(t){const e=this.contactCache[t];if(e)return e;{const e=this.contactCache[t]=this.getExecutionContext().createNode("Contact",!1);return e.setup(),e}}}),Object.defineProperties(it,{...d().getStaticProperties("CollisionSensor","RigidBodyPhysics",1,"children","3.2"),fieldDefinitions:{value:new(a())([new(p())(A().inputOutput,"metadata",new(r().SFNode)),new(p())(A().inputOutput,"description",new(r().SFString)),new(p())(A().inputOutput,"enabled",new(r().SFBool)(!0)),new(p())(A().outputOnly,"isActive",new(r().SFBool)),new(p())(A().outputOnly,"intersections",new(r().MFNode)),new(p())(A().outputOnly,"contacts",new(r().MFNode)),new(p())(A().inputOutput,"collider",new(r().SFNode))]),enumerable:!0}});const nt=it,ot=g().add("CollisionSensor",nt);function _t(t){d().call(this,t),P().call(this,t),this.addType(A().X3DNBodyCollisionSpaceNode)}Object.assign(Object.setPrototypeOf(_t.prototype,d().prototype),P().prototype,{initialize(){d().prototype.initialize.call(this),P().prototype.initialize.call(this)},dispose(){P().prototype.dispose.call(this),d().prototype.dispose.call(this)}}),Object.defineProperties(_t,d().getStaticProperties("X3DNBodyCollisionSpaceNode","RigidBodyPhysics",1));const rt=_t,st=g().add("X3DNBodyCollisionSpaceNode",rt);function pt(t){st.call(this,t),this.addType(A().CollisionSpace),this.collidableNodes=[],this.collisionSpaceNodes=[]}Object.assign(Object.setPrototypeOf(pt.prototype,st.prototype),{initialize(){st.prototype.initialize.call(this),this._collidables.addInterest("set_collidables__",this),this.set_collidables__()},getBBox(t,e){return this.isDefaultBBoxSize()?P().prototype.getBBox.call(this,this.collidableNodes,t,e):t.set(this._bboxSize.getValue(),this._bboxCenter.getValue())},getCollidables(){return this.collidableNodes},set_collidables__(){const t=this.collisionSpaceNodes;for(const e of t)e.removeInterest("collect",this);t.length=0;for(const e of this._collidables){const i=u()(A().X3DNBodyCollisionSpaceNode,e);i&&t.push(i)}for(const e of t)e.addInterest("collect",this);this.collect()},collect(){const t=this.collidableNodes,e=this.collisionSpaceNodes;t.length=0,e.length=0;for(const e of this._collidables){const n=u()(A().X3DNBodyCollidableNode,e);if(n){t.push(n);continue}const o=u()(A().X3DNBodyCollisionSpaceNode,this._collidables[i]);o&&t.push(...o.getCollidables())}this.addNodeEvent()}}),Object.defineProperties(pt,{...d().getStaticProperties("CollisionSpace","RigidBodyPhysics",1,"children","3.2"),fieldDefinitions:{value:new(a())([new(p())(A().inputOutput,"metadata",new(r().SFNode)),new(p())(A().inputOutput,"enabled",new(r().SFBool)(!0)),new(p())(A().inputOutput,"useGeometry",new(r().SFBool)),new(p())(A().inputOutput,"visible",new(r().SFBool)(!0)),new(p())(A().inputOutput,"bboxDisplay",new(r().SFBool)),new(p())(A().initializeOnly,"bboxSize",new(r().SFVec3f)(-1,-1,-1)),new(p())(A().initializeOnly,"bboxCenter",new(r().SFVec3f)),new(p())(A().inputOutput,"collidables",new(r().MFNode))]),enumerable:!0}});const ct=pt,at=g().add("CollisionSpace",ct);function bt(t){d().call(this,t),this.addType(A().Contact),this._position.setUnit("length"),this._depth.setUnit("length"),this._minBounceSpeed.setUnit("speed"),this._surfaceSpeed.setUnit("speed"),this._softnessConstantForceMix.setUnit("force")}Object.setPrototypeOf(bt.prototype,d().prototype),Object.defineProperties(bt,{...d().getStaticProperties("Contact","RigidBodyPhysics",2,"contacts","3.2"),fieldDefinitions:{value:new(a())([new(p())(A().inputOutput,"metadata",new(r().SFNode)),new(p())(A().inputOutput,"position",new(r().SFVec3f)),new(p())(A().inputOutput,"contactNormal",new(r().SFVec3f)(0,1,0)),new(p())(A().inputOutput,"depth",new(r().SFFloat)),new(p())(A().inputOutput,"appliedParameters",new(r().MFString)("BOUNCE")),new(p())(A().inputOutput,"bounce",new(r().SFFloat)),new(p())(A().inputOutput,"minBounceSpeed",new(r().SFFloat)),new(p())(A().inputOutput,"frictionDirection",new(r().SFVec3f)(0,1,0)),new(p())(A().inputOutput,"frictionCoefficients",new(r().SFVec2f)),new(p())(A().inputOutput,"surfaceSpeed",new(r().SFVec2f)),new(p())(A().inputOutput,"slipCoefficients",new(r().SFVec2f)),new(p())(A().inputOutput,"softnessConstantForceMix",new(r().SFFloat)(1e-4)),new(p())(A().inputOutput,"softnessErrorCorrection",new(r().SFFloat)(.8)),new(p())(A().inputOutput,"geometry1",new(r().SFNode)),new(p())(A().inputOutput,"geometry2",new(r().SFNode)),new(p())(A().inputOutput,"body1",new(r().SFNode)),new(p())(A().inputOutput,"body2",new(r().SFNode))]),enumerable:!0}});const dt=bt,lt=g().add("Contact",dt),At=t.Rotation4;var ft=o.n(At);function ut(t){S.call(this,t),this.addType(A().DoubleAxisHingeJoint),this._anchorPoint.setUnit("length"),this._minAngle1.setUnit("angle"),this._maxAngle1.setUnit("angle"),this._desiredAngularVelocity1.setUnit("angularRate"),this._desiredAngularVelocity2.setUnit("angularRate"),this._stop1ConstantForceMix.setUnit("force"),this._suspensionForce.setUnit("force"),t.getSpecificationVersion()<=3.3&&(this.addAlias("stopBounce1",this._stop1Bounce),this.addAlias("stopConstantForceMix1",this._stop1ConstantForceMix),this.addAlias("stopErrorCorrection1",this._stop1ErrorCorrection),this._axis1=new(R()),this._axis2=new(R())),this.joint=null,this.outputs=new Set,this.localAnchorPoint1=new(R()),this.localAnchorPoint2=new(R()),this.localAxis1=new(R()),this.localAxis2=new(R())}Object.assign(Object.setPrototypeOf(ut.prototype,S.prototype),{initialize(){S.prototype.initialize.call(this),this._anchorPoint.addInterest("set_joint__",this),this._axis1.addInterest("set_joint__",this),this._axis2.addInterest("set_joint__",this)},addJoint:(()=>{const t=new(R()),e=new(R()),i=new(R()),n=new(R());return function(){this.getCollection()&&this.getBody1()&&this.getBody2()&&this.getBody1().getCollection()===this.getCollection()&&this.getBody2().getCollection()===this.getCollection()&&(t.assign(this._anchorPoint.getValue()),e.assign(this._anchorPoint.getValue()),i.assign(this._axis1.getValue()),n.assign(this._axis2.getValue()),this.getInitialInverseMatrix1().multVecMatrix(t),this.getInitialInverseMatrix2().multVecMatrix(e),this.getInitialInverseMatrix1().multDirMatrix(i).normalize(),this.getInitialInverseMatrix2().multDirMatrix(n).normalize(),this.joint=new I.btHingeConstraint(this.getBody1().getRigidBody(),this.getBody2().getRigidBody(),new I.btVector3(t.x,t.y,t.z),new I.btVector3(e.x,e.y,e.z),new I.btVector3(i.x,i.y,i.z),new I.btVector3(n.x,n.y,n.z),!1),this.getCollection().getDynamicsWorld().addConstraint(this.joint,!0))}})(),removeJoint(){this.joint&&(this.getCollection()?.getDynamicsWorld().removeConstraint(this.joint),I.destroy(this.joint),this.joint=null)},set_forceOutput__(){this.outputs.clear();for(const t of this._forceOutput)"ALL"==t?(this.outputs.add("body1AnchorPoint"),this.outputs.add("body2AnchorPoint"),this.outputs.add("body1Axis"),this.outputs.add("body2Axis"),this.outputs.add("hinge1Angle"),this.outputs.add("hinge2Angle"),this.outputs.add("hinge1AngleRate"),this.outputs.add("hinge2AngleRate")):this.outputs.add(t);this.setOutput(!!this.outputs.size)},update1:(()=>{const t=new(R()),e=new(R()),i=new(h()),n=new(ft());return function(){if(this.outputs.has("body1AnchorPoint")&&(this._body1AnchorPoint=this.getBody1().getMatrix().multVecMatrix(this.getInitialInverseMatrix1().multVecMatrix(t.assign(this.localAnchorPoint1)))),this.outputs.has("body1Axis")&&(this._body1Axis=this.getInitialInverseMatrix1().multDirMatrix(this.getBody1().getMatrix().multDirMatrix(e.assign(this.localAxis1))).normalize()),this.outputs.has("hinge1Angle")){const t=this._hinge1Angle.getValue();i.assign(this.getInitialInverseMatrix1()).multRight(this.getBody1().getMatrix()),i.get(null,n),this._hinge1Angle=n.angle,this.outputs.has("angleRate")&&(this._hinge1AngleRate=(this._hinge1Angle.getValue()-t)*this.getBrowser().getCurrentFrameRate())}}})(),update2:(()=>{const t=new(R()),e=new(R()),i=new(h()),n=new(ft());return function(){if(this.outputs.has("body2AnchorPoint")&&(this._body2AnchorPoint=this.getBody2().getMatrix().multVecMatrix(this.getInitialInverseMatrix2().multVecMatrix(t.assign(this.localAnchorPoint2)))),this.outputs.has("body2Axis")&&(this._body2Axis=this.getInitialInverseMatrix2().multDirMatrix(this.getBody2().getMatrix().multDirMatrix(e.assign(this.localAxis2))).normalize()),this.outputs.has("hinge2Angle")){const t=this._hinge2Angle.getValue();i.assign(this.getInitialInverseMatrix2()).multRight(this.getBody2().getMatrix()),i.get(null,n),this._hinge2Angle=n.angle,this.outputs.has("angleRate")&&(this._hinge2AngleRate=(this._hinge2Angle.getValue()-t)*this.getBrowser().getCurrentFrameRate())}}})()}),Object.defineProperties(ut,{...d().getStaticProperties("DoubleAxisHingeJoint","RigidBodyPhysics",2,"joints","3.2"),fieldDefinitions:{value:new(a())([new(p())(A().inputOutput,"metadata",new(r().SFNode)),new(p())(A().inputOutput,"forceOutput",new(r().MFString)("NONE")),new(p())(A().inputOutput,"anchorPoint",new(r().SFVec3f)),new(p())(A().inputOutput,"axis1",new(r().SFVec3f)(1,0,0)),new(p())(A().inputOutput,"axis2",new(r().SFVec3f)(0,1,0)),new(p())(A().inputOutput,"minAngle1",new(r().SFFloat)(-3.141592653)),new(p())(A().inputOutput,"maxAngle1",new(r().SFFloat)(3.141592653)),new(p())(A().inputOutput,"desiredAngularVelocity1",new(r().SFFloat)),new(p())(A().inputOutput,"desiredAngularVelocity2",new(r().SFFloat)),new(p())(A().inputOutput,"maxTorque1",new(r().SFFloat)),new(p())(A().inputOutput,"maxTorque2",new(r().SFFloat)),new(p())(A().inputOutput,"stop1Bounce",new(r().SFFloat)),new(p())(A().inputOutput,"stop1ConstantForceMix",new(r().SFFloat)(.001)),new(p())(A().inputOutput,"stop1ErrorCorrection",new(r().SFFloat)(.8)),new(p())(A().inputOutput,"suspensionForce",new(r().SFFloat)),new(p())(A().inputOutput,"suspensionErrorCorrection",new(r().SFFloat)(.8)),new(p())(A().outputOnly,"body1AnchorPoint",new(r().SFVec3f)),new(p())(A().outputOnly,"body2AnchorPoint",new(r().SFVec3f)),new(p())(A().outputOnly,"body1Axis",new(r().SFVec3f)),new(p())(A().outputOnly,"body2Axis",new(r().SFVec3f)),new(p())(A().outputOnly,"hinge1Angle",new(r().SFFloat)),new(p())(A().outputOnly,"hinge2Angle",new(r().SFFloat)),new(p())(A().outputOnly,"hinge1AngleRate",new(r().SFFloat)),new(p())(A().outputOnly,"hinge2AngleRate",new(r().SFFloat)),new(p())(A().inputOutput,"body1",new(r().SFNode)),new(p())(A().inputOutput,"body2",new(r().SFNode))]),enumerable:!0}});const mt=ut,ht=g().add("DoubleAxisHingeJoint",mt);function yt(t){S.call(this,t),this.addType(A().MotorJoint),this._axis1Angle.setUnit("angle"),this._axis2Angle.setUnit("angle"),this._axis3Angle.setUnit("angle"),this._motor1Angle.setUnit("angle"),this._motor2Angle.setUnit("angle"),this._motor3Angle.setUnit("angle"),this._motor1AngleRate.setUnit("angularRate"),this._motor2AngleRate.setUnit("angularRate"),this._motor3AngleRate.setUnit("angularRate"),t.getSpecificationVersion()<=3.3&&(this._motor1Axis=new(R()),this._motor2Axis=new(R()),this._motor3Axis=new(R()))}Object.setPrototypeOf(yt.prototype,S.prototype),Object.defineProperties(yt,{...d().getStaticProperties("MotorJoint","RigidBodyPhysics",2,"joints","3.2"),fieldDefinitions:{value:new(a())([new(p())(A().inputOutput,"metadata",new(r().SFNode)),new(p())(A().initializeOnly,"autoCalc",new(r().SFBool)),new(p())(A().inputOutput,"forceOutput",new(r().MFString)("NONE")),new(p())(A().inputOutput,"axis1Angle",new(r().SFFloat)),new(p())(A().inputOutput,"axis2Angle",new(r().SFFloat)),new(p())(A().inputOutput,"axis3Angle",new(r().SFFloat)),new(p())(A().inputOutput,"axis1Torque",new(r().SFFloat)),new(p())(A().inputOutput,"axis2Torque",new(r().SFFloat)),new(p())(A().inputOutput,"axis3Torque",new(r().SFFloat)),new(p())(A().inputOutput,"enabledAxes",new(r().SFInt32)(1)),new(p())(A().inputOutput,"motor1Axis",new(r().SFVec3f)(1,0,0)),new(p())(A().inputOutput,"motor2Axis",new(r().SFVec3f)(0,1,0)),new(p())(A().inputOutput,"motor3Axis",new(r().SFVec3f)(0,0,1)),new(p())(A().inputOutput,"stop1Bounce",new(r().SFFloat)),new(p())(A().inputOutput,"stop2Bounce",new(r().SFFloat)),new(p())(A().inputOutput,"stop3Bounce",new(r().SFFloat)),new(p())(A().inputOutput,"stop1ErrorCorrection",new(r().SFFloat)(.8)),new(p())(A().inputOutput,"stop2ErrorCorrection",new(r().SFFloat)(.8)),new(p())(A().inputOutput,"stop3ErrorCorrection",new(r().SFFloat)(.8)),new(p())(A().outputOnly,"motor1Angle",new(r().SFFloat)),new(p())(A().outputOnly,"motor2Angle",new(r().SFFloat)),new(p())(A().outputOnly,"motor3Angle",new(r().SFFloat)),new(p())(A().outputOnly,"motor1AngleRate",new(r().SFFloat)),new(p())(A().outputOnly,"motor2AngleRate",new(r().SFFloat)),new(p())(A().outputOnly,"motor3AngleRate",new(r().SFFloat)),new(p())(A().inputOutput,"body1",new(r().SFNode)),new(p())(A().inputOutput,"body2",new(r().SFNode))]),enumerable:!0}});const gt=yt,Ct=g().add("MotorJoint",gt),vt=t.Quaternion;var St=o.n(vt);function wt(t){d().call(this,t),P().call(this,t),this.addType(A().RigidBody),this.addChildObjects(A().inputOutput,"collection",new(r().SFNode),A().outputOnly,"transform",new(r().SFTime),A().outputOnly,"otherGeometry",new(r().MFNode)),this._position.setUnit("length"),this._linearVelocity.setUnit("speed"),this._angularVelocity.setUnit("angularRate"),this._mass.setUnit("mass"),this._forces.setUnit("force"),this._torques.setUnit("force"),this._disableLinearSpeed.setUnit("speed"),this._disableAngularSpeed.setUnit("angularRate"),this.compoundShape=new I.btCompoundShape,this.motionState=new I.btDefaultMotionState,this.constructionInfo=new I.btRigidBodyConstructionInfo(0,this.motionState,this.compoundShape),this.rigidBody=new I.btRigidBody(this.constructionInfo),this.geometryNodes=[],this.otherGeometryNodes=[],this.matrix=new(h()),this.force=new(R()),this.torque=new(R())}Object.assign(Object.setPrototypeOf(wt.prototype,d().prototype),P().prototype,{initialize(){d().prototype.initialize.call(this),P().prototype.initialize.call(this),this._linearVelocity.addInterest("set_linearVelocity__",this),this._angularVelocity.addInterest("set_angularVelocity__",this),this._useFiniteRotation.addInterest("set_finiteRotationAxis__",this),this._finiteRotationAxis.addInterest("set_finiteRotationAxis__",this),this._autoDamp.addInterest("set_damping__",this),this._linearDampingFactor.addInterest("set_damping__",this),this._angularDampingFactor.addInterest("set_damping__",this),this._forces.addInterest("set_forces__",this),this._torques.addInterest("set_torques__",this),this._disableTime.addInterest("set_disable__",this),this._disableTime.addInterest("set_disable__",this),this._disableLinearSpeed.addInterest("set_disable__",this),this._disableAngularSpeed.addInterest("set_disable__",this),this._geometry.addInterest("set_geometry__",this),this._otherGeometry.addInterest("set_geometry__",this),this._fixed.addInterest("set_massProps__",this),this._mass.addInterest("set_massProps__",this),this._inertia.addInterest("set_massProps__",this),this._transform.addInterest("set_transform__",this),this.set_forces__(),this.set_torques__(),this.set_geometry__()},getBBox(t,e){return this.isDefaultBBoxSize()?t.set():t.set(this._bboxSize.getValue(),this._bboxCenter.getValue())},setCollection(t){this._collection=t},getCollection(){return this._collection.getValue()},getRigidBody(){return this.rigidBody},getMatrix(){return this.matrix},set_position__(){for(const t of this.geometryNodes)t._translation=this._position},set_orientation__(){for(const t of this.geometryNodes)t._rotation=this._orientation},set_transform__:(()=>{const t=new I.btVector3(0,0,0),e=new I.btTransform,i=new(h()),n=new I.btTransform,o=new I.btVector3(0,0,0);return function(){const _=this.matrix;_.set(this._position.getValue(),this._orientation.getValue()),t.setValue(_[12],_[13],_[14]),e.getBasis().setValue(_[0],_[4],_[8],_[1],_[5],_[9],_[2],_[6],_[10]),e.setOrigin(t),i.assign(_),i.inverse(),o.setValue(i[12],i[13],i[14]),n.getBasis().setValue(i[0],i[4],i[8],i[1],i[5],i[9],i[2],i[6],i[10]),n.setOrigin(o);const r=this.compoundShape;for(let t=0,e=this.compoundShape.getNumChildShapes();t<e;++t)r.updateChildTransform(t,n,!1);this.compoundShape.recalculateLocalAabb(),this.motionState.setWorldTransform(e),this.rigidBody.setMotionState(this.motionState)}})(),set_linearVelocity__:(()=>{const t=new I.btVector3(0,0,0);return function(){this._fixed.getValue()?t.setValue(0,0,0):t.setValue(this._linearVelocity.x,this._linearVelocity.y,this._linearVelocity.z),this.rigidBody.setLinearVelocity(t),this.rigidBody.activate()}})(),set_angularVelocity__:(()=>{const t=new I.btVector3(0,0,0);return function(){this._fixed.getValue()?t.setValue(0,0,0):t.setValue(this._angularVelocity.x,this._angularVelocity.y,this._angularVelocity.z),this.rigidBody.setAngularVelocity(t),this.rigidBody.activate()}})(),set_finiteRotationAxis__:(()=>{const t=new I.btVector3(1,1,1);return function(){this._useFiniteRotation.getValue()?t.setValue(this._finiteRotationAxis.x,this._finiteRotationAxis.y,this._finiteRotationAxis.z):t.setValue(1,1,1),this.rigidBody.setAngularFactor(t)}})(),set_damping__(){this._autoDamp.getValue()?this.rigidBody.setDamping(this._linearDampingFactor.getValue(),this._angularDampingFactor.getValue()):this.rigidBody.setDamping(0,0),this.rigidBody.activate()},set_centerOfMass__:(()=>{const t=new I.btQuaternion(0,0,0,1),e=new I.btVector3(0,0,0),i=new I.btTransform(t,e);return function(){e.setValue(this._centerOfMass.x,this._centerOfMass.y,this._centerOfMass.z),i.setOrigin(e),this.rigidBody.setCenterOfMassTransform(i)}})(),set_massProps__:(()=>{const t=new I.btVector3(0,0,0);return function(){const e=this._inertia;t.setValue(e[0]+e[1]+e[2],e[3]+e[4]+e[5],e[6]+e[7]+e[8]),this.compoundShape.calculateLocalInertia(this._fixed.getValue()?0:this._mass.getValue(),t),this.rigidBody.setMassProps(this._fixed.getValue()?0:this._mass.getValue(),t)}})(),set_forces__(){this.force.set(0);for(const t of this._forces)this.force.add(t.getValue())},set_torques__(){this.torque.set(0);for(const t of this._torques)this.torque.add(t.getValue())},set_disable__(){this._autoDisable.getValue()?this.rigidBody.setSleepingThresholds(this._disableLinearSpeed.getValue(),this._disableAngularSpeed.getValue()):this.rigidBody.setSleepingThresholds(0,0)},set_geometry__(){const t=this.geometryNodes;for(const e of t)e.removeInterest("addEvent",this._transform),e._compoundShape.removeInterest("set_compoundShape__",this),e.setBody(null),e._translation.removeFieldInterest(this._position),e._rotation.removeFieldInterest(this._orientation),this._position.removeFieldInterest(e._translation),this._orientation.removeFieldInterest(e._rotation);for(const t of this.otherGeometryNodes)t._body.removeInterest("set_body__",this);t.length=0;for(const e of this._geometry){const i=u()(A().X3DNBodyCollidableNode,e);i&&(i.getBody()?(i._body.addInterest("set_body__",this),this.otherGeometryNodes.push(i)):(i.setBody(this),t.push(i)))}for(const e of t)e.addInterest("addEvent",this._transform),e._compoundShape.addInterest("set_compoundShape__",this),e._translation.addFieldInterest(this._position),e._rotation.addFieldInterest(this._orientation),this._position.addFieldInterest(e._translation),this._orientation.addFieldInterest(e._rotation);this.set_compoundShape__()},set_body__(){this._otherGeometry.addEvent()},set_compoundShape__:(()=>{const t=new I.btTransform;return function(){const e=this.compoundShape;for(let t=e.getNumChildShapes()-1;t>=0;--t)e.removeChildShapeByIndex(t);for(const i of this.geometryNodes)e.addChildShape(t,i.getCompoundShape());this.set_position__(),this.set_orientation__(),this.set_transform__(),this.set_linearVelocity__(),this.set_angularVelocity__(),this.set_finiteRotationAxis__(),this.set_damping__(),this.set_centerOfMass__(),this.set_massProps__(),this.set_disable__()}})(),applyForces:(()=>{const t=new I.btVector3(0,0,0),e=new I.btVector3(0,0,0),i=new I.btVector3(0,0,0),n=new I.btVector3(0,0,0);return function(o){this._fixed.getValue()||(this._useGlobalGravity.getValue()?t.setValue(o.x,o.y,o.z):t.setValue(0,0,0),e.setValue(this.force.x,this.force.y,this.force.z),i.setValue(this.torque.x,this.torque.y,this.torque.z),this.rigidBody.setGravity(t),this.rigidBody.applyForce(e,n),this.rigidBody.applyTorque(i))}})(),update:(()=>{const t=new I.btTransform,e=new(R()),i=new(St()),n=new(ft()),o=new(R()),_=new(R());return function(){this.motionState.getWorldTransform(t);const r=t.getOrigin(),s=t.getRotation(),p=this.rigidBody.getLinearVelocity(),c=this.rigidBody.getAngularVelocity();i.set(s.x(),s.y(),s.z(),s.w()),this._position=e.set(r.x(),r.y(),r.z()),this._orientation=n.setQuaternion(i),this._linearVelocity=o.set(p.x(),p.y(),p.z()),this._angularVelocity=_.set(c.x(),c.y(),c.z())}})(),dispose(){I.destroy(this.rigidBody),I.destroy(this.constructionInfo),I.destroy(this.motionState),I.destroy(this.compoundShape),P().prototype.dispose.call(this),d().prototype.dispose.call(this)}}),Object.defineProperties(wt,{...d().getStaticProperties("RigidBody","RigidBodyPhysics",2,"bodies","3.2"),fieldDefinitions:{value:new(a())([new(p())(A().inputOutput,"metadata",new(r().SFNode)),new(p())(A().inputOutput,"enabled",new(r().SFBool)(!0)),new(p())(A().inputOutput,"fixed",new(r().SFBool)),new(p())(A().inputOutput,"position",new(r().SFVec3f)),new(p())(A().inputOutput,"orientation",new(r().SFRotation)),new(p())(A().inputOutput,"linearVelocity",new(r().SFVec3f)),new(p())(A().inputOutput,"angularVelocity",new(r().SFVec3f)),new(p())(A().inputOutput,"useFiniteRotation",new(r().SFBool)),new(p())(A().inputOutput,"finiteRotationAxis",new(r().SFVec3f)(0,1,0)),new(p())(A().inputOutput,"autoDamp",new(r().SFBool)),new(p())(A().inputOutput,"linearDampingFactor",new(r().SFFloat)(.001)),new(p())(A().inputOutput,"angularDampingFactor",new(r().SFFloat)(.001)),new(p())(A().inputOutput,"mass",new(r().SFFloat)(1)),new(p())(A().inputOutput,"centerOfMass",new(r().SFVec3f)),new(p())(A().inputOutput,"massDensityModel",new(r().SFNode)),new(p())(A().inputOutput,"useGlobalGravity",new(r().SFBool)(!0)),new(p())(A().inputOutput,"forces",new(r().MFVec3f)),new(p())(A().inputOutput,"torques",new(r().MFVec3f)),new(p())(A().inputOutput,"inertia",new(r().SFMatrix3f)),new(p())(A().inputOutput,"autoDisable",new(r().SFBool)),new(p())(A().inputOutput,"disableTime",new(r().SFTime)(0)),new(p())(A().inputOutput,"disableLinearSpeed",new(r().SFFloat)),new(p())(A().inputOutput,"disableAngularSpeed",new(r().SFFloat)),new(p())(A().inputOutput,"geometry",new(r().MFNode)),new(p())(A().inputOutput,"visible",new(r().SFBool)(!0)),new(p())(A().inputOutput,"bboxDisplay",new(r().SFBool)),new(p())(A().initializeOnly,"bboxSize",new(r().SFVec3f)(-1,-1,-1)),new(p())(A().initializeOnly,"bboxCenter",new(r().SFVec3f))]),enumerable:!0}});const kt=wt,Rt=g().add("RigidBody",kt);function jt(t){x().call(this,t),P().call(this,t),this.addType(A().RigidBodyCollection),this._gravity.setUnit("acceleration"),this._constantForceMix.setUnit("force"),this._maxCorrectionSpeed.setUnit("speed"),this._contactSurfaceThickness.setUnit("length"),this._disableLinearSpeed.setUnit("length"),this._disableAngularSpeed.setUnit("angularRate"),this.broadphase=new I.btDbvtBroadphase,this.collisionConfiguration=new I.btDefaultCollisionConfiguration,this.dispatcher=new I.btCollisionDispatcher(this.collisionConfiguration),this.solver=new I.btSequentialImpulseConstraintSolver,this.dynamicsWorld=new I.btDiscreteDynamicsWorld(this.dispatcher,this.broadphase,this.solver,this.collisionConfiguration),this.deltaTime=0,this.bodyNodes=[],this.otherBodyNodes=[],this.rigidBodies=[],this.jointNodes=[],this.otherJointNodes=[]}Object.assign(Object.setPrototypeOf(jt.prototype,x().prototype),P().prototype,{initialize(){x().prototype.initialize.call(this),P().prototype.initialize.call(this),this.getLive().addInterest("set_enabled__",this),this._enabled.addInterest("set_enabled__",this),this._set_contacts.addInterest("set_contacts__",this),this._gravity.addInterest("set_gravity__",this),this._contactSurfaceThickness.addInterest("set_contactSurfaceThickness__",this),this._collider.addInterest("set_collider__",this),this._bodies.addInterest("set_bodies__",this),this._joints.addInterest("set_joints__",this),this.set_enabled__(),this.set_gravity__(),this.set_collider__(),this.set_bodies__()},getBBox(t,e){return this.isDefaultBBoxSize()?t.set():t.set(this._bboxSize.getValue(),this._bboxCenter.getValue())},getDynamicsWorld(){return this.dynamicsWorld},getTimeStep(){const t=1/Math.max(10,this.getBrowser().getCurrentFrameRate());return this.deltaTime=(14*this.deltaTime+t)/15},set_enabled__(){this.getLive().getValue()&&this._enabled.getValue()?this.getBrowser().sensorEvents().addInterest("update",this):this.getBrowser().sensorEvents().removeInterest("update",this)},set_contacts__(){},set_gravity__:(()=>{const t=new I.btVector3(0,0,0);return function(){t.setValue(this._gravity.x,this._gravity.y,this._gravity.z),this.dynamicsWorld.setGravity(t)}})(),set_contactSurfaceThickness__(){for(const t of this.bodyNodes)t.getRigidBody().getCollisionShape().setMargin(this._contactSurfaceThickness.getValue())},set_collider__(){this.colliderNode=u()(A().CollisionCollection,this._collider)},set_bounce__(){const t=this.colliderNode,e=this.bodyNodes;if(t&&t._enabled.getValue()&&t.getAppliedParameters().has(z.BOUNCE))for(const i of e){const e=i.getRigidBody();e.getLinearVelocity().length()>=t._minBounceSpeed.getValue()?e.setRestitution(t._bounce.getValue()):e.setRestitution(0)}else for(const t of e)t.getRigidBody().setRestitution(0)},set_frictionCoefficients__(){if(this.colliderNode&&this.colliderNode._enabled.getValue()&&this.colliderNode.getAppliedParameters().has(z.FRICTION_COEFFICIENT_2))for(const t of this.bodyNodes){const e=t.getRigidBody();e.setFriction(this.colliderNode._frictionCoefficients.x),e.setRollingFriction(this.colliderNode._frictionCoefficients.y)}else for(const t of this.bodyNodes){const e=t.getRigidBody();e.setFriction(.5),e.setRollingFriction(0)}},set_bodies__(){for(const t of this.bodyNodes)t._enabled.removeInterest("set_dynamicsWorld__",this),t.setCollection(null);for(const t of this.otherBodyNodes)t._collection.removeInterest("set_bodies__",this);this.bodyNodes.length=0;for(const t of this._bodies){const e=u()(A().RigidBody,t);e&&(e.getCollection()?(e._collection.addInterest("set_bodies__",this),this.otherBodyNodes.push(e)):(e.setCollection(this),this.bodyNodes.push(e)))}for(const t of this.bodyNodes)t._enabled.addInterest("set_dynamicsWorld__",this);this.set_contactSurfaceThickness__(),this.set_dynamicsWorld__(),this.set_joints__()},set_dynamicsWorld__(){for(const t of this.rigidBodies)this.dynamicsWorld.removeRigidBody(t);this.rigidBodies.length=0;for(const t of this.bodyNodes)t._enabled.getValue()&&this.rigidBodies.push(t.getRigidBody());for(const t of this.rigidBodies)this.dynamicsWorld.addRigidBody(t)},set_joints__(){for(const t of this.jointNodes)t.setCollection(null);this.jointNodes.length=0;for(const t of this.otherJointNodes)t._collection.removeInterest("set_joints__",this);this.otherJointNodes.length=0;for(const t of this._joints){const e=u()(A().X3DRigidJointNode,t);e&&(e.getCollection()?(e._collection.addInterest("set_joints__",this),this.otherJointNodes.push(bodyNode)):(e.setCollection(this),this.jointNodes.push(e)))}},update(){try{const t=this._iterations.getValue(),e=this._gravity.getValue();if(this.set_bounce__(),this.set_frictionCoefficients__(),this._preferAccuracy.getValue()){const i=this.getTimeStep()/t;for(let n=0;n<t;++n){for(const t of this.bodyNodes)t.applyForces(e);this.dynamicsWorld.stepSimulation(i,0)}}else{const i=this.getTimeStep();for(const t of this.bodyNodes)t.applyForces(e);this.dynamicsWorld.stepSimulation(i,t+2,i/t)}for(const t of this.bodyNodes)t.update()}catch(t){console.error(t)}},dispose(){P().prototype.dispose.call(this),x().prototype.dispose.call(this)}}),Object.defineProperties(jt,{...d().getStaticProperties("RigidBodyCollection","RigidBodyPhysics",2,"children","3.2"),fieldDefinitions:{value:new(a())([new(p())(A().inputOutput,"metadata",new(r().SFNode)),new(p())(A().inputOutput,"enabled",new(r().SFBool)(!0)),new(p())(A().inputOnly,"set_contacts",new(r().MFNode)),new(p())(A().inputOutput,"gravity",new(r().SFVec3f)(0,-9.8,0)),new(p())(A().inputOutput,"preferAccuracy",new(r().SFBool)),new(p())(A().inputOutput,"errorCorrection",new(r().SFFloat)(.8)),new(p())(A().inputOutput,"iterations",new(r().SFInt32)(10)),new(p())(A().inputOutput,"constantForceMix",new(r().SFFloat)(1e-4)),new(p())(A().inputOutput,"maxCorrectionSpeed",new(r().SFFloat)(-1)),new(p())(A().inputOutput,"contactSurfaceThickness",new(r().SFFloat)),new(p())(A().inputOutput,"autoDisable",new(r().SFBool)),new(p())(A().inputOutput,"disableTime",new(r().SFTime)(0)),new(p())(A().inputOutput,"disableLinearSpeed",new(r().SFFloat)),new(p())(A().inputOutput,"disableAngularSpeed",new(r().SFFloat)),new(p())(A().initializeOnly,"collider",new(r().SFNode)),new(p())(A().inputOutput,"bodies",new(r().MFNode)),new(p())(A().inputOutput,"joints",new(r().MFNode)),new(p())(A().inputOutput,"visible",new(r().SFBool)(!0)),new(p())(A().inputOutput,"bboxDisplay",new(r().SFBool)),new(p())(A().initializeOnly,"bboxSize",new(r().SFVec3f)(-1,-1,-1)),new(p())(A().initializeOnly,"bboxCenter",new(r().SFVec3f))]),enumerable:!0}});const Dt=jt,It=g().add("RigidBodyCollection",Dt);function Bt(t){S.call(this,t),this.addType(A().SingleAxisHingeJoint),this._anchorPoint.setUnit("length"),this._minAngle.setUnit("angle"),this._maxAngle.setUnit("angle"),this._body1AnchorPoint.setUnit("length"),this._body2AnchorPoint.setUnit("length"),this._angle.setUnit("angle"),this._angleRate.setUnit("angularRate"),t.getSpecificationVersion()<=3.3&&(this._axis=new(R())),this.joint=null,this.outputs=new Set,this.localAnchorPoint1=new(R()),this.localAnchorPoint2=new(R())}Object.assign(Object.setPrototypeOf(Bt.prototype,S.prototype),{initialize(){S.prototype.initialize.call(this),this._anchorPoint.addInterest("set_joint__",this),this._axis.addInterest("set_joint__",this)},addJoint:(()=>{const t=new(R()),e=new(R());return function(){if(!this.getCollection())return;if(!this.getBody1())return;if(!this.getBody2())return;if(this.getBody1().getCollection()!==this.getCollection())return;if(this.getBody2().getCollection()!==this.getCollection())return;const i=this.localAnchorPoint1,n=this.localAnchorPoint2;i.assign(this._anchorPoint.getValue()),n.assign(this._anchorPoint.getValue()),t.assign(this._axis.getValue()),e.assign(this._axis.getValue()),this.getInitialInverseMatrix1().multVecMatrix(i),this.getInitialInverseMatrix2().multVecMatrix(n),this.getInitialInverseMatrix1().multDirMatrix(t).normalize(),this.getInitialInverseMatrix2().multDirMatrix(e).normalize(),this.joint=new I.btHingeConstraint(this.getBody1().getRigidBody(),this.getBody2().getRigidBody(),new I.btVector3(i.x,i.y,i.z),new I.btVector3(n.x,n.y,n.z),new I.btVector3(t.x,t.y,t.z),new I.btVector3(e.x,e.y,e.z),!1),this.getCollection().getDynamicsWorld().addConstraint(this.joint,!0)}})(),removeJoint(){this.joint&&(this.getCollection()?.getDynamicsWorld().removeConstraint(this.joint),I.destroy(this.joint),this.joint=null)},set_forceOutput__(){this.outputs.clear();for(const t of this._forceOutput)"ALL"==t?(this.outputs.add("body1AnchorPoint"),this.outputs.add("body2AnchorPoint"),this.outputs.add("angle"),this.outputs.add("angularRate")):this.outputs.add(t);this.setOutput(!!this.outputs.size)},update1:(()=>{const t=new(R());return function(){this.outputs.has("body1AnchorPoint")&&(this._body1AnchorPoint=this.getBody1().getMatrix().multVecMatrix(this.getInitialInverseMatrix1().multVecMatrix(t.assign(this.localAnchorPoint1))))}})(),update2:(()=>{const t=new(R()),e=new(h()),i=new(ft());return function(){if(this.outputs.has("body2AnchorPoint")&&(this._body2AnchorPoint=this.getBody2().getMatrix().multVecMatrix(this.getInitialInverseMatrix2().multVecMatrix(t.assign(this.localAnchorPoint2)))),this.outputs.has("angle")){const t=this._angle.getValue();e.assign(this.getInitialInverseMatrix2()).multRight(this.getBody2().getMatrix()),e.get(null,i),this._angle=i.angle,this.outputs.has("angleRate")&&(this._angleRate=(this._angle.getValue()-t)*this.getBrowser().getCurrentFrameRate())}}})()}),Object.defineProperties(Bt,{...d().getStaticProperties("SingleAxisHingeJoint","RigidBodyPhysics",2,"joints","3.2"),fieldDefinitions:{value:new(a())([new(p())(A().inputOutput,"metadata",new(r().SFNode)),new(p())(A().inputOutput,"forceOutput",new(r().MFString)("NONE")),new(p())(A().inputOutput,"anchorPoint",new(r().SFVec3f)),new(p())(A().inputOutput,"axis",new(r().SFVec3f)(0,1,0)),new(p())(A().inputOutput,"minAngle",new(r().SFFloat)(-3.141592653)),new(p())(A().inputOutput,"maxAngle",new(r().SFFloat)(3.141592653)),new(p())(A().inputOutput,"stopBounce",new(r().SFFloat)),new(p())(A().inputOutput,"stopErrorCorrection",new(r().SFFloat)(.8)),new(p())(A().outputOnly,"body1AnchorPoint",new(r().SFVec3f)),new(p())(A().outputOnly,"body2AnchorPoint",new(r().SFVec3f)),new(p())(A().outputOnly,"angle",new(r().SFFloat)),new(p())(A().outputOnly,"angleRate",new(r().SFFloat)),new(p())(A().inputOutput,"body1",new(r().SFNode)),new(p())(A().inputOutput,"body2",new(r().SFNode))]),enumerable:!0}});const Wt=Bt,Ft=g().add("SingleAxisHingeJoint",Wt);function Ot(t){S.call(this,t),this.addType(A().SliderJoint),this._minSeparation.setUnit("length"),this._maxSeparation.setUnit("length"),this._sliderForce.setUnit("force"),this._separation.setUnit("force"),this._separationRate.setUnit("speed"),this.joint=null,this.outputs=new Set}Object.assign(Object.setPrototypeOf(Ot.prototype,S.prototype),{initialize(){S.prototype.initialize.call(this),this._axis.addInterest("set_joint__",this),this._minSeparation.addInterest("set_separation__",this),this._maxSeparation.addInterest("set_separation__",this)},addJoint:(()=>{const t=new(ft()),e=new(h()),i=new(h()),n=new I.btVector3(0,0,0),o=new I.btTransform,_=new I.btTransform;return function(){this.getCollection()&&this.getBody1()&&this.getBody2()&&this.getBody1().getCollection()===this.getCollection()&&this.getBody2().getCollection()===this.getCollection()&&(t.setFromToVec(R().X_AXIS,this._axis.getValue()),e.set(this.getBody1()._position.getValue(),this.getBody1()._orientation.getValue().copy().multRight(t)),i.set(this.getBody1()._position.getValue(),this.getBody1()._orientation.getValue().copy().multRight(t)),n.setValue(e[12],e[13],e[14]),o.getBasis().setValue(e[0],e[4],e[8],e[1],e[5],e[9],e[2],e[6],e[10]),o.setOrigin(n),n.setValue(i[12],i[13],i[14]),o.getBasis().setValue(i[0],i[4],i[8],i[1],i[5],i[9],i[2],i[6],i[10]),_.setOrigin(n),this.joint=new I.btSliderConstraint(this.getBody1().getRigidBody(),this.getBody2().getRigidBody(),o,_,!0),this.joint.setLowerAngLimit(0),this.joint.setUpperAngLimit(0),this.set_separation__(),this.getCollection().getDynamicsWorld().addConstraint(this.joint,!0))}})(),removeJoint(){this.joint&&(this.getCollection()?.getDynamicsWorld().removeConstraint(this.joint),I.destroy(this.joint),this.joint=null)},set_forceOutput__(){this.outputs.clear();for(const t of this._forceOutput)"ALL"==t?(this.outputs.add("separation"),this.outputs.add("separationRate")):this.outputs.add(t);this.setOutput(!!this.outputs.size)},set_separation__(){this.joint&&(this.joint.setLowerLinLimit(this._minSeparation.getValue()),this.joint.setUpperLinLimit(this._maxSeparation.getValue()))}}),Object.defineProperties(Ot,{...d().getStaticProperties("SliderJoint","RigidBodyPhysics",2,"joints","3.2"),fieldDefinitions:{value:new(a())([new(p())(A().inputOutput,"metadata",new(r().SFNode)),new(p())(A().inputOutput,"forceOutput",new(r().MFString)("NONE")),new(p())(A().inputOutput,"axis",new(r().SFVec3f)(0,1,0)),new(p())(A().inputOutput,"minSeparation",new(r().SFFloat)),new(p())(A().inputOutput,"maxSeparation",new(r().SFFloat)(1)),new(p())(A().inputOutput,"sliderForce",new(r().SFFloat)),new(p())(A().inputOutput,"stopBounce",new(r().SFFloat)),new(p())(A().inputOutput,"stopErrorCorrection",new(r().SFFloat)(1)),new(p())(A().outputOnly,"separation",new(r().SFFloat)),new(p())(A().outputOnly,"separationRate",new(r().SFFloat)),new(p())(A().inputOutput,"body1",new(r().SFNode)),new(p())(A().inputOutput,"body2",new(r().SFNode))]),enumerable:!0}});const xt=Ot,Tt=g().add("SliderJoint",xt);function Pt(t){S.call(this,t),this.addType(A().UniversalJoint),this._anchorPoint.setUnit("length"),this._body1AnchorPoint.setUnit("length"),this._body2AnchorPoint.setUnit("length"),t.getSpecificationVersion()<=3.3&&(this._axis1=new(R()),this._axis2=new(R()))}Object.setPrototypeOf(Pt.prototype,S.prototype),Object.defineProperties(Pt,{...d().getStaticProperties("UniversalJoint","RigidBodyPhysics",2,"joints","3.2"),fieldDefinitions:{value:new(a())([new(p())(A().inputOutput,"metadata",new(r().SFNode)),new(p())(A().inputOutput,"forceOutput",new(r().MFString)("NONE")),new(p())(A().inputOutput,"anchorPoint",new(r().SFVec3f)),new(p())(A().inputOutput,"axis1",new(r().SFVec3f)(1,0,0)),new(p())(A().inputOutput,"axis2",new(r().SFVec3f)(0,1,0)),new(p())(A().inputOutput,"stop1Bounce",new(r().SFFloat)),new(p())(A().inputOutput,"stop2Bounce",new(r().SFFloat)),new(p())(A().inputOutput,"stop1ErrorCorrection",new(r().SFFloat)(.8)),new(p())(A().inputOutput,"stop2ErrorCorrection",new(r().SFFloat)(.8)),new(p())(A().outputOnly,"body1Axis",new(r().SFVec3f)),new(p())(A().outputOnly,"body2Axis",new(r().SFVec3f)),new(p())(A().outputOnly,"body1AnchorPoint",new(r().SFVec3f)),new(p())(A().outputOnly,"body2AnchorPoint",new(r().SFVec3f)),new(p())(A().inputOutput,"body1",new(r().SFNode)),new(p())(A().inputOutput,"body2",new(r().SFNode))]),enumerable:!0}});const Vt=Pt,Mt=g().add("UniversalJoint",Vt);n().add({name:"RigidBodyPhysics",concreteNodes:[F,H,Y,$,ot,at,lt,ht,Ct,Rt,It,Ft,Tt,Mt],abstractNodes:[N,st,S]});g().add("RigidBodyPhysicsComponent",undefined)})()})();