This repository has been archived by the owner on Jan 22, 2023. It is now read-only.
forked from SeaLoong/BLRHH
-
Notifications
You must be signed in to change notification settings - Fork 91
/
OCRAD.min.js
1 lines (1 loc) · 867 KB
/
OCRAD.min.js
1
var OCRAD=function(){function createOcradInstance(){var Module;Module||(Module=(void 0!==Module?Module:null)||{});var moduleOverrides={};for(var key in Module)Module.hasOwnProperty(key)&&(moduleOverrides[key]=Module[key]);var ENVIRONMENT_IS_WEB=!1,ENVIRONMENT_IS_WORKER=!1,ENVIRONMENT_IS_NODE=!1,ENVIRONMENT_IS_SHELL=!1,nodeFS,nodePath;if(Module.ENVIRONMENT)if("WEB"===Module.ENVIRONMENT)ENVIRONMENT_IS_WEB=!0;else if("WORKER"===Module.ENVIRONMENT)ENVIRONMENT_IS_WORKER=!0;else if("NODE"===Module.ENVIRONMENT)ENVIRONMENT_IS_NODE=!0;else{if("SHELL"!==Module.ENVIRONMENT)throw new Error("The provided Module['ENVIRONMENT'] value is not valid. It must be one of: WEB|WORKER|NODE|SHELL.");ENVIRONMENT_IS_SHELL=!0}else ENVIRONMENT_IS_WEB="object"==typeof window,ENVIRONMENT_IS_WORKER="function"==typeof importScripts,ENVIRONMENT_IS_NODE="object"==typeof process&&"function"==typeof require&&!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_WORKER,ENVIRONMENT_IS_SHELL=!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_NODE&&!ENVIRONMENT_IS_WORKER;if(ENVIRONMENT_IS_NODE)Module.print||(Module.print=console.log),Module.printErr||(Module.printErr=console.warn),Module.read=function(e,r){nodeFS||(nodeFS=require("fs")),nodePath||(nodePath=require("path")),e=nodePath.normalize(e);var i=nodeFS.readFileSync(e);return i||e==nodePath.resolve(e)||(e=path.join(__dirname,"..","src",e),i=nodeFS.readFileSync(e)),i&&!r&&(i=i.toString()),i},Module.readBinary=function(e){var r=Module.read(e,!0);return r.buffer||(r=new Uint8Array(r)),assert(r.buffer),r},Module.load=function(e){globalEval(read(e))},Module.thisProgram||(process.argv.length>1?Module.thisProgram=process.argv[1].replace(/\\/g,"/"):Module.thisProgram="unknown-program"),Module.arguments=process.argv.slice(2),"undefined"!=typeof module&&(module.exports=Module),process.on("uncaughtException",function(e){if(!(e instanceof ExitStatus))throw e}),Module.inspect=function(){return"[Emscripten Module object]"};else if(ENVIRONMENT_IS_SHELL)Module.print||(Module.print=print),"undefined"!=typeof printErr&&(Module.printErr=printErr),"undefined"!=typeof read?Module.read=read:Module.read=function(){throw"no read() available (jsc?)"},Module.readBinary=function(e){if("function"==typeof readbuffer)return new Uint8Array(readbuffer(e));var r=read(e,"binary");return assert("object"==typeof r),r},"undefined"!=typeof scriptArgs?Module.arguments=scriptArgs:void 0!==arguments&&(Module.arguments=arguments);else{if(!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_WORKER)throw"Unknown runtime environment. Where are we?";if(Module.read=function(e){var r=new XMLHttpRequest;return r.open("GET",e,!1),r.send(null),r.responseText},Module.readAsync=function(e,r,i){var a=new XMLHttpRequest;a.open("GET",e,!0),a.responseType="arraybuffer",a.onload=function(){200==a.status||0==a.status&&a.response?r(a.response):i()},a.onerror=i,a.send(null)},void 0!==arguments&&(Module.arguments=arguments),"undefined"!=typeof console)Module.print||(Module.print=function(e){console.log(e)}),Module.printErr||(Module.printErr=function(e){console.warn(e)});else{var TRY_USE_DUMP=!1;Module.print||(Module.print=TRY_USE_DUMP&&"undefined"!=typeof dump?function(e){dump(e)}:function(e){})}ENVIRONMENT_IS_WORKER&&(Module.load=importScripts),void 0===Module.setWindowTitle&&(Module.setWindowTitle=function(e){document.title=e})}function globalEval(e){eval.call(null,e)}for(var key in!Module.load&&Module.read&&(Module.load=function(e){globalEval(Module.read(e))}),Module.print||(Module.print=function(){}),Module.printErr||(Module.printErr=Module.print),Module.arguments||(Module.arguments=[]),Module.thisProgram||(Module.thisProgram="./this.program"),Module.print=Module.print,Module.printErr=Module.printErr,Module.preRun=[],Module.postRun=[],moduleOverrides)moduleOverrides.hasOwnProperty(key)&&(Module[key]=moduleOverrides[key]);moduleOverrides=void 0;var Runtime={setTempRet0:function(e){tempRet0=e},getTempRet0:function(){return tempRet0},stackSave:function(){return STACKTOP},stackRestore:function(e){STACKTOP=e},getNativeTypeSize:function(e){switch(e){case"i1":case"i8":return 1;case"i16":return 2;case"i32":return 4;case"i64":return 8;case"float":return 4;case"double":return 8;default:if("*"===e[e.length-1])return Runtime.QUANTUM_SIZE;if("i"===e[0]){var r=parseInt(e.substr(1));return assert(r%8==0),r/8}return 0}},getNativeFieldSize:function(e){return Math.max(Runtime.getNativeTypeSize(e),Runtime.QUANTUM_SIZE)},STACK_ALIGN:16,prepVararg:function(e,r){return"double"===r||"i64"===r?7&e&&(assert(4==(7&e)),e+=4):assert(0==(3&e)),e},getAlignSize:function(e,r,i){return i||"i64"!=e&&"double"!=e?e?Math.min(r||(e?Runtime.getNativeFieldSize(e):0),Runtime.QUANTUM_SIZE):Math.min(r,8):8},dynCall:function(e,r,i){return i&&i.length?(assert(i.length==e.length-1),i.splice||(i=Array.prototype.slice.call(i)),i.splice(0,0,r),assert("dynCall_"+e in Module,"bad function pointer type - no table for sig '"+e+"'"),Module["dynCall_"+e].apply(null,i)):(assert(1==e.length),assert("dynCall_"+e in Module,"bad function pointer type - no table for sig '"+e+"'"),Module["dynCall_"+e].call(null,r))},functionPointers:[],addFunction:function(e){for(var r=0;r<Runtime.functionPointers.length;r++)if(!Runtime.functionPointers[r])return Runtime.functionPointers[r]=e,2*(1+r);throw"Finished up all reserved function pointers. Use a higher value for RESERVED_FUNCTION_POINTERS."},removeFunction:function(e){Runtime.functionPointers[(e-2)/2]=null},warnOnce:function(e){Runtime.warnOnce.shown||(Runtime.warnOnce.shown={}),Runtime.warnOnce.shown[e]||(Runtime.warnOnce.shown[e]=1,Module.printErr(e))},funcWrappers:{},getFuncWrapper:function(e,r){assert(r),Runtime.funcWrappers[r]||(Runtime.funcWrappers[r]={});var i=Runtime.funcWrappers[r];return i[e]||(i[e]=function(){return Runtime.dynCall(r,e,arguments)}),i[e]},getCompilerSetting:function(e){throw"You must build with -s RETAIN_COMPILER_SETTINGS=1 for Runtime.getCompilerSetting or emscripten_get_compiler_setting to work"},stackAlloc:function(e){var r=STACKTOP;return assert((0|(STACKTOP=(STACKTOP=STACKTOP+e|0)+15&-16))<(0|STACK_MAX)|0),r},staticAlloc:function(e){var r=STATICTOP;return STATICTOP=(STATICTOP=STATICTOP+(assert(!staticSealed),e)|0)+15&-16,r},dynamicAlloc:function(e){var r=DYNAMICTOP;if((DYNAMICTOP=(DYNAMICTOP=DYNAMICTOP+(assert(DYNAMICTOP>0),e)|0)+15&-16)>=TOTAL_MEMORY&&!enlargeMemory())return DYNAMICTOP=r,0;return r},alignMemory:function(e,r){return e=Math.ceil(e/(r||16))*(r||16)},makeBigInt:function(e,r,i){return i?+(e>>>0)+4294967296*+(r>>>0):+(e>>>0)+4294967296*+(0|r)},GLOBAL_BASE:8,QUANTUM_SIZE:4,__dummy__:0};Module.Runtime=Runtime;var ABORT=!1,EXITSTATUS=0;function assert(e,r){e||abort("Assertion failed: "+r)}var globalScope=this,cwrap,ccall;function getCFunc(ident){var func=Module["_"+ident];if(!func)try{func=eval("_"+ident)}catch(e){}return assert(func,"Cannot call unknown function "+ident+" (perhaps LLVM optimizations or closure removed it?)"),func}function setValue(e,r,i,a){switch("*"===(i=i||"i8").charAt(i.length-1)&&(i="i32"),i){case"i1":case"i8":HEAP8[e>>0]=r;break;case"i16":HEAP16[e>>1]=r;break;case"i32":HEAP32[e>>2]=r;break;case"i64":tempI64=[r>>>0,(tempDouble=r,+Math_abs(tempDouble)>=1?tempDouble>0?(0|Math_min(+Math_floor(tempDouble/4294967296),4294967295))>>>0:~~+Math_ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[e>>2]=tempI64[0],HEAP32[e+4>>2]=tempI64[1];break;case"float":HEAPF32[e>>2]=r;break;case"double":HEAPF64[e>>3]=r;break;default:abort("invalid type for setValue: "+i)}}function getValue(e,r,i){switch("*"===(r=r||"i8").charAt(r.length-1)&&(r="i32"),r){case"i1":case"i8":return HEAP8[e>>0];case"i16":return HEAP16[e>>1];case"i32":case"i64":return HEAP32[e>>2];case"float":return HEAPF32[e>>2];case"double":return HEAPF64[e>>3];default:abort("invalid type for setValue: "+r)}return null}!function(){var JSfuncs={stackSave:function(){Runtime.stackSave()},stackRestore:function(){Runtime.stackRestore()},arrayToC:function(e){var r=Runtime.stackAlloc(e.length);return writeArrayToMemory(e,r),r},stringToC:function(e){var r=0;return null!=e&&0!==e&&writeStringToMemory(e,r=Runtime.stackAlloc(1+(e.length<<2))),r}},toC={string:JSfuncs.stringToC,array:JSfuncs.arrayToC};ccall=function(e,r,i,a,f){var t=getCFunc(e),n=[],o=0;if(assert("array"!==r,'Return type should not be "array".'),a)for(var s=0;s<a.length;s++){var l=toC[i[s]];l?(0===o&&(o=Runtime.stackSave()),n[s]=l(a[s])):n[s]=a[s]}var u=t.apply(null,n);if(f&&f.async||"object"!=typeof EmterpreterAsync||assert(!EmterpreterAsync.state,"cannot start async op with normal JS calling ccall"),f&&f.async&&assert(!r,"async ccalls cannot return values"),"string"===r&&(u=Pointer_stringify(u)),0!==o){if(f&&f.async)return void EmterpreterAsync.asyncFinalizers.push(function(){Runtime.stackRestore(o)});Runtime.stackRestore(o)}return u};var sourceRegex=/^function\s*[a-zA-Z$_0-9]*\s*\(([^)]*)\)\s*{\s*([^*]*?)[\s;]*(?:return\s*(.*?)[;\s]*)?}$/;function parseJSFunc(e){var r=e.toString().match(sourceRegex).slice(1);return{arguments:r[0],body:r[1],returnValue:r[2]}}var JSsource=null;function ensureJSsource(){if(!JSsource)for(var e in JSsource={},JSfuncs)JSfuncs.hasOwnProperty(e)&&(JSsource[e]=parseJSFunc(JSfuncs[e]))}cwrap=function cwrap(ident,returnType,argTypes){argTypes=argTypes||[];var cfunc=getCFunc(ident),numericArgs=argTypes.every(function(e){return"number"===e}),numericRet="string"!==returnType;if(numericRet&&numericArgs)return cfunc;var argNames=argTypes.map(function(e,r){return"$"+r}),funcstr="(function("+argNames.join(",")+") {",nargs=argTypes.length;if(!numericArgs){ensureJSsource(),funcstr+="var stack = "+JSsource.stackSave.body+";";for(var i=0;i<nargs;i++){var arg=argNames[i],type=argTypes[i];if("number"!==type){var convertCode=JSsource[type+"ToC"];funcstr+="var "+convertCode.arguments+" = "+arg+";",funcstr+=convertCode.body+";",funcstr+=arg+"=("+convertCode.returnValue+");"}}}var cfuncname=parseJSFunc(function(){return cfunc}).returnValue;if(funcstr+="var ret = "+cfuncname+"("+argNames.join(",")+");",!numericRet){var strgfy=parseJSFunc(function(){return Pointer_stringify}).returnValue;funcstr+="ret = "+strgfy+"(ret);"}return funcstr+="if (typeof EmterpreterAsync === 'object') { assert(!EmterpreterAsync.state, 'cannot start async op with normal JS calling cwrap') }",numericArgs||(ensureJSsource(),funcstr+=JSsource.stackRestore.body.replace("()","(stack)")+";"),funcstr+="return ret})",eval(funcstr)}}(),Module.ccall=ccall,Module.cwrap=cwrap,Module.setValue=setValue,Module.getValue=getValue;var ALLOC_NORMAL=0,ALLOC_STACK=1,ALLOC_STATIC=2,ALLOC_DYNAMIC=3,ALLOC_NONE=4;function allocate(e,r,i,a){var f,t;"number"==typeof e?(f=!0,t=e):(f=!1,t=e.length);var n,o="string"==typeof r?r:null;if(n=i==ALLOC_NONE?a:["function"==typeof _malloc?_malloc:Runtime.staticAlloc,Runtime.stackAlloc,Runtime.staticAlloc,Runtime.dynamicAlloc][void 0===i?ALLOC_STATIC:i](Math.max(t,o?1:r.length)),f){var s;a=n;for(assert(0==(3&n)),s=n+(-4&t);a<s;a+=4)HEAP32[a>>2]=0;for(s=n+t;a<s;)HEAP8[a++>>0]=0;return n}if("i8"===o)return e.subarray||e.slice?HEAPU8.set(e,n):HEAPU8.set(new Uint8Array(e),n),n;for(var l,u,c,b=0;b<t;){var k=e[b];"function"==typeof k&&(k=Runtime.getFunctionIndex(k)),0!==(l=o||r[b])?(assert(l,"Must know what type to store in allocate!"),"i64"==l&&(l="i32"),setValue(n+b,k,l),c!==l&&(u=Runtime.getNativeTypeSize(l),c=l),b+=u):b++}return n}function getMemory(e){return staticSealed?void 0!==_sbrk&&!_sbrk.called||!runtimeInitialized?Runtime.dynamicAlloc(e):_malloc(e):Runtime.staticAlloc(e)}function Pointer_stringify(e,r){if(0===r||!e)return"";for(var i,a=0,f=0;assert(e+f<TOTAL_MEMORY),a|=i=HEAPU8[e+f>>0],(0!=i||r)&&(f++,!r||f!=r););r||(r=f);var t="";if(a<128){for(var n;r>0;)n=String.fromCharCode.apply(String,HEAPU8.subarray(e,e+Math.min(r,1024))),t=t?t+n:n,e+=1024,r-=1024;return t}return Module.UTF8ToString(e)}function AsciiToString(e){for(var r="";;){var i=HEAP8[e++>>0];if(!i)return r;r+=String.fromCharCode(i)}}function stringToAscii(e,r){return writeAsciiToMemory(e,r,!1)}function UTF8ArrayToString(e,r){for(var i,a,f,t,n,o="";;){if(!(i=e[r++]))return o;if(128&i)if(a=63&e[r++],192!=(224&i))if(f=63&e[r++],224==(240&i)?i=(15&i)<<12|a<<6|f:(t=63&e[r++],240==(248&i)?i=(7&i)<<18|a<<12|f<<6|t:(n=63&e[r++],i=248==(252&i)?(3&i)<<24|a<<18|f<<12|t<<6|n:(1&i)<<30|a<<24|f<<18|t<<12|n<<6|63&e[r++])),i<65536)o+=String.fromCharCode(i);else{var s=i-65536;o+=String.fromCharCode(55296|s>>10,56320|1023&s)}else o+=String.fromCharCode((31&i)<<6|a);else o+=String.fromCharCode(i)}}function UTF8ToString(e){return UTF8ArrayToString(HEAPU8,e)}function stringToUTF8Array(e,r,i,a){if(!(a>0))return 0;for(var f=i,t=i+a-1,n=0;n<e.length;++n){var o=e.charCodeAt(n);if(o>=55296&&o<=57343&&(o=65536+((1023&o)<<10)|1023&e.charCodeAt(++n)),o<=127){if(i>=t)break;r[i++]=o}else if(o<=2047){if(i+1>=t)break;r[i++]=192|o>>6,r[i++]=128|63&o}else if(o<=65535){if(i+2>=t)break;r[i++]=224|o>>12,r[i++]=128|o>>6&63,r[i++]=128|63&o}else if(o<=2097151){if(i+3>=t)break;r[i++]=240|o>>18,r[i++]=128|o>>12&63,r[i++]=128|o>>6&63,r[i++]=128|63&o}else if(o<=67108863){if(i+4>=t)break;r[i++]=248|o>>24,r[i++]=128|o>>18&63,r[i++]=128|o>>12&63,r[i++]=128|o>>6&63,r[i++]=128|63&o}else{if(i+5>=t)break;r[i++]=252|o>>30,r[i++]=128|o>>24&63,r[i++]=128|o>>18&63,r[i++]=128|o>>12&63,r[i++]=128|o>>6&63,r[i++]=128|63&o}}return r[i]=0,i-f}function stringToUTF8(e,r,i){return assert("number"==typeof i,"stringToUTF8(str, outPtr, maxBytesToWrite) is missing the third parameter that specifies the length of the output buffer!"),stringToUTF8Array(e,HEAPU8,r,i)}function lengthBytesUTF8(e){for(var r=0,i=0;i<e.length;++i){var a=e.charCodeAt(i);a>=55296&&a<=57343&&(a=65536+((1023&a)<<10)|1023&e.charCodeAt(++i)),a<=127?++r:r+=a<=2047?2:a<=65535?3:a<=2097151?4:a<=67108863?5:6}return r}function UTF16ToString(e){for(var r=0,i="";;){var a=HEAP16[e+2*r>>1];if(0==a)return i;++r,i+=String.fromCharCode(a)}}function stringToUTF16(e,r,i){if(assert("number"==typeof i,"stringToUTF16(str, outPtr, maxBytesToWrite) is missing the third parameter that specifies the length of the output buffer!"),void 0===i&&(i=2147483647),i<2)return 0;for(var a=r,f=(i-=2)<2*e.length?i/2:e.length,t=0;t<f;++t){var n=e.charCodeAt(t);HEAP16[r>>1]=n,r+=2}return HEAP16[r>>1]=0,r-a}function lengthBytesUTF16(e){return 2*e.length}function UTF32ToString(e){for(var r=0,i="";;){var a=HEAP32[e+4*r>>2];if(0==a)return i;if(++r,a>=65536){var f=a-65536;i+=String.fromCharCode(55296|f>>10,56320|1023&f)}else i+=String.fromCharCode(a)}}function stringToUTF32(e,r,i){if(assert("number"==typeof i,"stringToUTF32(str, outPtr, maxBytesToWrite) is missing the third parameter that specifies the length of the output buffer!"),void 0===i&&(i=2147483647),i<4)return 0;for(var a=r,f=a+i-4,t=0;t<e.length;++t){var n=e.charCodeAt(t);if(n>=55296&&n<=57343)n=65536+((1023&n)<<10)|1023&e.charCodeAt(++t);if(HEAP32[r>>2]=n,(r+=4)+4>f)break}return HEAP32[r>>2]=0,r-a}function lengthBytesUTF32(e){for(var r=0,i=0;i<e.length;++i){var a=e.charCodeAt(i);a>=55296&&a<=57343&&++i,r+=4}return r}function demangle(e){if(!!Module.___cxa_demangle)try{var r=_malloc(e.length);writeStringToMemory(e.substr(1),r);var i=_malloc(4),a=Module.___cxa_demangle(r,0,0,i);if(0===getValue(i,"i32")&&a)return Pointer_stringify(a)}catch(r){return e}finally{r&&_free(r),i&&_free(i),a&&_free(a)}return Runtime.warnOnce("warning: build with -s DEMANGLE_SUPPORT=1 to link in libcxxabi demangling"),e}function demangleAll(e){return e.replace(/__Z[\w\d_]+/g,function(e){var r=demangle(e);return e===r?e:e+" ["+r+"]"})}function jsStackTrace(){var e=new Error;if(!e.stack){try{throw new Error(0)}catch(r){e=r}if(!e.stack)return"(no stack trace available)"}return e.stack.toString()}function stackTrace(){return demangleAll(jsStackTrace())}Module.ALLOC_NORMAL=ALLOC_NORMAL,Module.ALLOC_STACK=ALLOC_STACK,Module.ALLOC_STATIC=ALLOC_STATIC,Module.ALLOC_DYNAMIC=ALLOC_DYNAMIC,Module.ALLOC_NONE=ALLOC_NONE,Module.allocate=allocate,Module.getMemory=getMemory,Module.Pointer_stringify=Pointer_stringify,Module.AsciiToString=AsciiToString,Module.stringToAscii=stringToAscii,Module.UTF8ArrayToString=UTF8ArrayToString,Module.UTF8ToString=UTF8ToString,Module.stringToUTF8Array=stringToUTF8Array,Module.stringToUTF8=stringToUTF8,Module.lengthBytesUTF8=lengthBytesUTF8,Module.stackTrace=stackTrace;var PAGE_SIZE=4096,HEAP,buffer,HEAP8,HEAPU8,HEAP16,HEAPU16,HEAP32,HEAPU32,HEAPF32,HEAPF64;function alignMemoryPage(e){return e%4096>0&&(e+=4096-e%4096),e}function updateGlobalBuffer(e){Module.buffer=buffer=e}function updateGlobalBufferViews(){Module.HEAP8=HEAP8=new Int8Array(buffer),Module.HEAP16=HEAP16=new Int16Array(buffer),Module.HEAP32=HEAP32=new Int32Array(buffer),Module.HEAPU8=HEAPU8=new Uint8Array(buffer),Module.HEAPU16=HEAPU16=new Uint16Array(buffer),Module.HEAPU32=HEAPU32=new Uint32Array(buffer),Module.HEAPF32=HEAPF32=new Float32Array(buffer),Module.HEAPF64=HEAPF64=new Float64Array(buffer)}var STATIC_BASE=0,STATICTOP=0,staticSealed=!1,STACK_BASE=0,STACKTOP=0,STACK_MAX=0,DYNAMIC_BASE=0,DYNAMICTOP=0;function abortOnCannotGrowMemory(){abort("Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value "+TOTAL_MEMORY+", (2) compile with -s ALLOW_MEMORY_GROWTH=1 which adjusts the size at runtime but prevents some optimizations, (3) set Module.TOTAL_MEMORY to a higher value before the program runs, or if you want malloc to return NULL (0) instead of this abort, compile with -s ABORTING_MALLOC=0 ")}function enlargeMemory(){abortOnCannotGrowMemory()}for(var TOTAL_STACK=Module.TOTAL_STACK||5242880,TOTAL_MEMORY=Module.TOTAL_MEMORY||33554432,totalMemory=65536;totalMemory<TOTAL_MEMORY||totalMemory<2*TOTAL_STACK;)totalMemory<16777216?totalMemory*=2:totalMemory+=16777216;if(totalMemory!==TOTAL_MEMORY&&(Module.printErr("increasing TOTAL_MEMORY to "+totalMemory+" to be compliant with the asm.js spec (and given that TOTAL_STACK="+TOTAL_STACK+")"),TOTAL_MEMORY=totalMemory),assert("undefined"!=typeof Int32Array&&"undefined"!=typeof Float64Array&&!!new Int32Array(1).subarray&&!!new Int32Array(1).set,"JS engine does not provide full typed array support"),Module.buffer?(buffer=Module.buffer,assert(buffer.byteLength===TOTAL_MEMORY,"provided buffer should be "+TOTAL_MEMORY+" bytes, but it is "+buffer.byteLength)):buffer=new ArrayBuffer(TOTAL_MEMORY),updateGlobalBufferViews(),HEAP32[0]=255,255!==HEAPU8[0]||0!==HEAPU8[3])throw"Typed arrays 2 must be run on a little-endian system";function callRuntimeCallbacks(e){for(;e.length>0;){var r=e.shift();if("function"!=typeof r){var i=r.func;"number"==typeof i?void 0===r.arg?Runtime.dynCall("v",i):Runtime.dynCall("vi",i,[r.arg]):i(void 0===r.arg?null:r.arg)}else r()}}Module.HEAP=HEAP,Module.buffer=buffer,Module.HEAP8=HEAP8,Module.HEAP16=HEAP16,Module.HEAP32=HEAP32,Module.HEAPU8=HEAPU8,Module.HEAPU16=HEAPU16,Module.HEAPU32=HEAPU32,Module.HEAPF32=HEAPF32,Module.HEAPF64=HEAPF64;var __ATPRERUN__=[],__ATINIT__=[],__ATMAIN__=[],__ATEXIT__=[],__ATPOSTRUN__=[],runtimeInitialized=!1,runtimeExited=!1;function preRun(){if(Module.preRun)for("function"==typeof Module.preRun&&(Module.preRun=[Module.preRun]);Module.preRun.length;)addOnPreRun(Module.preRun.shift());callRuntimeCallbacks(__ATPRERUN__)}function ensureInitRuntime(){runtimeInitialized||(runtimeInitialized=!0,callRuntimeCallbacks(__ATINIT__))}function preMain(){callRuntimeCallbacks(__ATMAIN__)}function exitRuntime(){callRuntimeCallbacks(__ATEXIT__),runtimeExited=!0}function postRun(){if(Module.postRun)for("function"==typeof Module.postRun&&(Module.postRun=[Module.postRun]);Module.postRun.length;)addOnPostRun(Module.postRun.shift());callRuntimeCallbacks(__ATPOSTRUN__)}function addOnPreRun(e){__ATPRERUN__.unshift(e)}function addOnInit(e){__ATINIT__.unshift(e)}function addOnPreMain(e){__ATMAIN__.unshift(e)}function addOnExit(e){__ATEXIT__.unshift(e)}function addOnPostRun(e){__ATPOSTRUN__.unshift(e)}function intArrayFromString(e,r,i){var a=i>0?i:lengthBytesUTF8(e)+1,f=new Array(a),t=stringToUTF8Array(e,f,0,f.length);return r&&(f.length=t),f}function intArrayToString(e){for(var r=[],i=0;i<e.length;i++){var a=e[i];a>255&&(assert(!1,"Character code "+a+" ("+String.fromCharCode(a)+") at offset "+i+" not in 0x00-0xFF."),a&=255),r.push(String.fromCharCode(a))}return r.join("")}function writeStringToMemory(e,r,i){for(var a=intArrayFromString(e,i),f=0;f<a.length;){var t=a[f];HEAP8[r+f>>0]=t,f+=1}}function writeArrayToMemory(e,r){for(var i=0;i<e.length;i++)HEAP8[r++>>0]=e[i]}function writeAsciiToMemory(e,r,i){for(var a=0;a<e.length;++a)assert(e.charCodeAt(a)==e.charCodeAt(a)&255),HEAP8[r++>>0]=e.charCodeAt(a);i||(HEAP8[r>>0]=0)}function unSign(e,r,i){return e>=0?e:r<=32?2*Math.abs(1<<r-1)+e:Math.pow(2,r)+e}function reSign(e,r,i){if(e<=0)return e;var a=r<=32?Math.abs(1<<r-1):Math.pow(2,r-1);return e>=a&&(r<=32||e>a)&&(e=-2*a+e),e}Module.addOnPreRun=addOnPreRun,Module.addOnInit=addOnInit,Module.addOnPreMain=addOnPreMain,Module.addOnExit=addOnExit,Module.addOnPostRun=addOnPostRun,Module.intArrayFromString=intArrayFromString,Module.intArrayToString=intArrayToString,Module.writeStringToMemory=writeStringToMemory,Module.writeArrayToMemory=writeArrayToMemory,Module.writeAsciiToMemory=writeAsciiToMemory,Math.imul&&-5===Math.imul(4294967295,5)||(Math.imul=function(e,r){var i=65535&e,a=65535&r;return i*a+((e>>>16)*a+i*(r>>>16)<<16)|0}),Math.imul=Math.imul,Math.clz32||(Math.clz32=function(e){e>>>=0;for(var r=0;r<32;r++)if(e&1<<31-r)return r;return 32}),Math.clz32=Math.clz32;var Math_abs=Math.abs,Math_cos=Math.cos,Math_sin=Math.sin,Math_tan=Math.tan,Math_acos=Math.acos,Math_asin=Math.asin,Math_atan=Math.atan,Math_atan2=Math.atan2,Math_exp=Math.exp,Math_log=Math.log,Math_sqrt=Math.sqrt,Math_ceil=Math.ceil,Math_floor=Math.floor,Math_pow=Math.pow,Math_imul=Math.imul,Math_fround=Math.fround,Math_min=Math.min,Math_clz32=Math.clz32,runDependencies=0,runDependencyWatcher=null,dependenciesFulfilled=null,runDependencyTracking={};function getUniqueRunDependency(e){for(var r=e;;){if(!runDependencyTracking[e])return e;e=r+Math.random()}return e}function addRunDependency(e){runDependencies++,Module.monitorRunDependencies&&Module.monitorRunDependencies(runDependencies),e?(assert(!runDependencyTracking[e]),runDependencyTracking[e]=1,null===runDependencyWatcher&&"undefined"!=typeof setInterval&&(runDependencyWatcher=setInterval(function(){if(ABORT)return clearInterval(runDependencyWatcher),void(runDependencyWatcher=null);var e=!1;for(var r in runDependencyTracking)e||(e=!0,Module.printErr("still waiting on run dependencies:")),Module.printErr("dependency: "+r);e&&Module.printErr("(end of list)")},1e4))):Module.printErr("warning: run dependency added without ID")}function removeRunDependency(e){if(runDependencies--,Module.monitorRunDependencies&&Module.monitorRunDependencies(runDependencies),e?(assert(runDependencyTracking[e]),delete runDependencyTracking[e]):Module.printErr("warning: run dependency removed without ID"),0==runDependencies&&(null!==runDependencyWatcher&&(clearInterval(runDependencyWatcher),runDependencyWatcher=null),dependenciesFulfilled)){var r=dependenciesFulfilled;dependenciesFulfilled=null,r()}}Module.addRunDependency=addRunDependency,Module.removeRunDependency=removeRunDependency,Module.preloadedImages={},Module.preloadedAudios={};var memoryInitializer=null,ASM_CONSTS=[];STATIC_BASE=8,STATICTOP=STATIC_BASE+9456,__ATINIT__.push(),allocate([212,2,0,0,134,3,0,0,212,2,0,0,17,25,0,0,252,2,0,0,239,24,0,0,56,0,0,0,0,0,0,0,252,2,0,0,156,24,0,0,24,0,0,0,0,0,0,0,252,2,0,0,193,24,0,0,72,0,0,0,0,0,0,0,212,2,0,0,226,24,0,0,252,2,0,0,9,26,0,0,16,0,0,0,0,0,0,0,252,2,0,0,37,26,0,0,16,0,0,0,0,0,0,0,252,2,0,0,53,26,0,0,96,0,0,0,0,0,0,0,252,2,0,0,106,26,0,0,56,0,0,0,0,0,0,0,252,2,0,0,70,26,0,0,128,0,0,0,0,0,0,0,150,13,0,0,0,0,0,0,155,13,0,0,1,0,0,0,164,13,0,0,2,0,0,0,174,13,0,0,3,0,0,0,184,13,0,0,4,0,0,0,194,13,0,0,5,0,0,0,204,13,0,0,6,0,0,0,214,13,0,0,7,0,0,0,0,0,0,0,0,0,0,0,224,13,0,0,0,0,0,0,232,13,0,0,1,0,0,0,245,13,0,0,2,0,0,0,253,13,0,0,3,0,0,0,10,14,0,0,4,0,0,0,22,14,0,0,5,0,0,0,33,14,0,0,6,0,0,0,43,14,0,0,7,0,0,0,58,14,0,0,8,0,0,0,0,0,0,0,9,0,0,0,0,0,0,0,255,255,255,255,1,0,0,0,0,0,0,0,255,255,255,255,1,0,0,0,255,255,255,255,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,255,255,255,255,108,1,0,0,5,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,3,0,0,0,208,28,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,224,1,0,0,5,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,0,0,3,0,0,0,216,28,0,0,0,4,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,224,1,0,0,88,2,0,0,9,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5,0,0,0,0,0,0,0,3,0,0,0,224,32,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6,0,0,0,0,0,0,0,24,0,0,0,7,0,0,0,8,0,0,0,9,0,0,0,10,0,0,0,11,0,0,0,12,0,0,0,13,0,0,0,14,0,0,0,0,0,0,0,40,0,0,0,7,0,0,0,15,0,0,0,9,0,0,0,10,0,0,0,11,0,0,0,16,0,0,0,17,0,0,0,18,0,0,0,30,25,0,0,0,0,0,0,80,0,0,0,19,0,0,0,20,0,0,0,21,0,0,0,0,0,0,0,96,0,0,0,22,0,0,0,23,0,0,0,24,0,0,0,0,0,0,0,112,0,0,0,22,0,0,0,25,0,0,0,24,0,0,0,45,0,114,98,0,119,0,48,46,50,53,0,101,110,100,45,111,102,45,102,105,108,101,32,114,101,97,100,105,110,103,32,112,110,109,32,102,105,108,101,46,0,78,49,48,80,97,103,101,95,105,109,97,103,101,53,69,114,114,111,114,69,0,106,117,110,107,32,105,110,32,112,98,109,32,102,105,108,101,32,119,104,101,114,101,32,98,105,116,115,32,115,104,111,117,108,100,32,98,101,46,0,106,117,110,107,32,105,110,32,112,110,109,32,102,105,108,101,32,119,104,101,114,101,32,97,110,32,105,110,116,101,103,101,114,32,115,104,111,117,108,100,32,98,101,46,0,110,117,109,98,101,114,32,116,111,111,32,98,105,103,32,105,110,32,112,110,109,32,102,105,108,101,46,0,122,101,114,111,32,109,97,120,118,97,108,32,105,110,32,112,103,109,32,102,105,108,101,46,0,118,97,108,117,101,32,62,32,109,97,120,118,97,108,32,105,110,32,112,103,109,32,102,105,108,101,46,0,109,97,120,118,97,108,32,62,32,50,53,53,32,105,110,32,112,103,109,32,34,80,53,34,32,102,105,108,101,46,0,122,101,114,111,32,109,97,120,118,97,108,32,105,110,32,112,112,109,32,102,105,108,101,46,0,118,97,108,117,101,32,62,32,109,97,120,118,97,108,32,105,110,32,112,112,109,32,102,105,108,101,46,0,109,97,120,118,97,108,32,62,32,50,53,53,32,105,110,32,112,112,109,32,34,80,54,34,32,102,105,108,101,46,0,98,97,100,32,109,97,103,105,99,32,110,117,109,98,101,114,32,45,32,110,111,116,32,97,32,112,98,109,44,32,112,103,109,32,111,114,32,112,112,109,32,102,105,108,101,46,0,122,101,114,111,32,119,105,100,116,104,32,105,110,32,112,110,109,32,102,105,108,101,46,0,122,101,114,111,32,104,101,105,103,104,116,32,105,110,32,112,110,109,32,102,105,108,101,46,0,105,109,97,103,101,32,116,111,111,32,115,109,97,108,108,46,32,77,105,110,105,109,117,109,32,115,105,122,101,32,105,115,32,51,120,51,46,0,105,109,97,103,101,32,116,111,111,32,98,105,103,46,32,39,105,110,116,39,32,119,105,108,108,32,111,118,101,114,102,108,111,119,46,0,102,105,108,101,32,116,121,112,101,32,105,115,32,80,37,99,10,0,102,105,108,101,32,115,105,122,101,32,105,115,32,37,100,119,32,120,32,37,100,104,10,0,80,37,99,10,37,100,32,37,100,10,0,37,100,10,0,37,100,32,0,37,100,32,37,100,32,37,100,10,0,37,100,32,37,100,32,37,100,32,0,37,99,32,37,99,32,37,99,32,0,98,97,100,32,112,97,114,97,109,101,116,101,114,32,98,117,105,108,100,105,110,103,32,97,32,114,101,100,117,99,101,100,32,80,97,103,101,95,105,109,97,103,101,46,0,115,99,97,108,101,32,102,97,99,116,111,114,32,116,111,111,32,98,105,103,46,32,39,105,110,116,39,32,119,105,108,108,32,111,118,101,114,102,108,111,119,46,0,108,32,61,32,37,100,44,32,116,32,61,32,37,100,44,32,114,32,61,32,37,100,44,32,98,32,61,32,37,100,10,0,98,97,100,32,112,97,114,97,109,101,116,101,114,32,98,117,105,108,100,105,110,103,32,97,32,82,101,99,116,97,110,103,108,101,46,0,108,101,102,116,44,32,98,97,100,32,112,97,114,97,109,101,116,101,114,32,114,101,115,105,122,105,110,103,32,97,32,82,101,99,116,97,110,103,108,101,46,0,116,111,112,44,32,98,97,100,32,112,97,114,97,109,101,116,101,114,32,114,101,115,105,122,105,110,103,32,97,32,82,101,99,116,97,110,103,108,101,46,0,114,105,103,104,116,44,32,98,97,100,32,112,97,114,97,109,101,116,101,114,32,114,101,115,105,122,105,110,103,32,97,32,82,101,99,116,97,110,103,108,101,46,0,98,111,116,116,111,109,44,32,98,97,100,32,112,97,114,97,109,101,116,101,114,32,114,101,115,105,122,105,110,103,32,97,32,82,101,99,116,97,110,103,108,101,46,0,104,101,105,103,104,116,44,32,98,97,100,32,112,97,114,97,109,101,116,101,114,32,114,101,115,105,122,105,110,103,32,97,32,82,101,99,116,97,110,103,108,101,46,0,119,105,100,116,104,44,32,98,97,100,32,112,97,114,97,109,101,116,101,114,32,114,101,115,105,122,105,110,103,32,97,32,82,101,99,116,97,110,103,108,101,46,0,106,111,105,110,95,98,108,111,98,115,44,32,108,111,115,116,32,98,108,111,98,46,0,110,117,109,98,101,114,32,111,102,32,116,101,120,116,32,98,108,111,99,107,115,32,61,32,37,100,10,0,116,111,116,97,108,32,122,111,110,101,115,32,105,110,32,112,97,103,101,32,37,100,10,0,116,111,116,97,108,32,98,108,111,98,115,32,105,110,32,112,97,103,101,32,37,100,10,10,0,122,111,110,101,32,37,100,32,111,102,32,37,100,10,0,122,111,110,101,32,115,105,122,101,32,37,100,119,32,120,32,37,100,104,10,0,116,111,116,97,108,32,98,108,111,98,115,32,105,110,32,122,111,110,101,32,37,117,10,10,0,84,101,120,116,112,97,103,101,58,58,116,101,120,116,98,108,111,99,107,44,32,105,110,100,101,120,32,111,117,116,32,111,102,32,98,111,117,110,100,115,46,0,115,111,117,114,99,101,32,102,105,108,101,32,37,115,10,0,116,111,116,97,108,32,116,101,120,116,32,98,108,111,99,107,115,32,37,100,10,0,116,101,120,116,32,98,108,111,99,107,32,37,100,32,37,100,32,37,100,32,37,100,32,37,100,10,0,98,97,100,32,112,97,114,97,109,101,116,101,114,32,98,117,105,108,100,105,110,103,32,97,32,66,105,116,109,97,112,32,102,114,111,109,32,112,97,114,116,32,111,102,32,97,110,111,116,104,101,114,32,111,110,101,46,0,104,111,108,101,44,32,105,110,100,101,120,32,111,117,116,32,111,102,32,98,111,117,110,100,115,46,0,32,79,0,32,46,0,102,105,108,108,95,104,111,108,101,44,32,105,110,100,101,120,32,111,117,116,32,111,102,32,98,111,117,110,100,115,46,0,100,101,108,101,116,101,95,104,111,108,101,44,32,108,111,115,116,32,104,111,108,101,46,0,106,111,105,110,95,104,111,108,101,115,44,32,108,111,115,116,32,104,111,108,101,46,0,108,105,110,101,44,32,105,110,100,101,120,32,111,117,116,32,111,102,32,98,111,117,110,100,115,46,0,37,100,32,108,105,110,101,115,10,10,0,37,100,32,99,104,97,114,97,99,116,101,114,115,32,105,110,32,108,105,110,101,32,37,100,10,0,108,105,110,101,115,32,37,100,10,0,108,105,110,101,32,37,100,32,99,104,97,114,115,32,37,100,32,104,101,105,103,104,116,32,37,100,10,0,99,111,110,115,116,32,98,108,111,98,44,32,105,110,100,101,120,32,111,117,116,32,111,102,32,98,111,117,110,100,115,0,98,108,111,98,44,32,105,110,100,101,120,32,111,117,116,32,111,102,32,98,111,117,110,100,115,0,105,110,115,101,114,116,95,103,117,101,115,115,44,32,105,110,100,101,120,32,111,117,116,32,111,102,32,98,111,117,110,100,115,0,115,119,97,112,95,103,117,101,115,115,101,115,44,32,105,110,100,101,120,32,111,117,116,32,111,102,32,98,111,117,110,100,115,0,103,117,101,115,115,44,32,105,110,100,101,120,32,111,117,116,32,111,102,32,98,111,117,110,100,115,0,95,0,37,100,32,103,117,101,115,115,101,115,32,32,32,32,0,103,117,101,115,115,32,39,37,115,39,44,32,99,111,110,102,105,100,101,110,99,101,32,37,100,32,32,32,32,0,103,117,101,115,115,32,39,37,99,39,44,32,99,111,110,102,105,100,101,110,99,101,32,37,100,32,32,32,32,0,103,117,101,115,115,32,39,92,116,39,44,32,99,111,110,102,105,100,101,110,99,101,32,37,100,32,32,32,32,0,108,101,102,116,32,61,32,37,100,44,32,116,111,112,32,61,32,37,100,44,32,114,105,103,104,116,32,61,32,37,100,44,32,98,111,116,116,111,109,32,61,32,37,100,10,0,119,105,100,116,104,32,61,32,37,100,44,32,104,101,105,103,104,116,32,61,32,37,100,44,32,104,99,101,110,116,101,114,32,61,32,37,100,44,32,118,99,101,110,116,101,114,32,61,32,37,100,44,32,98,108,97,99,107,32,97,114,101,97,32,61,32,37,100,37,37,10,0,104,98,97,114,115,32,61,32,37,100,44,32,118,98,97,114,115,32,61,32,37,100,10,0,10,10,0,32,37,99,0,32,32,116,111,112,40,37,100,41,0,32,32,118,99,101,110,116,101,114,40,37,100,41,0,32,32,98,111,116,116,111,109,40,37,100,41,0,32,32,98,111,120,46,116,111,112,40,37,100,41,0,32,32,98,111,120,46,118,99,101,110,116,101,114,40,37,100,41,0,32,32,98,111,120,46,98,111,116,116,111,109,40,37,100,41,0,32,32,104,49,46,116,111,112,40,37,100,41,0,32,32,104,49,46,98,111,116,116,111,109,40,37,100,41,0,32,32,104,50,46,116,111,112,40,37,100,41,0,32,32,104,50,46,98,111,116,116,111,109,40,37,100,41,0,37,51,100,32,37,51,100,32,37,50,100,32,37,50,100,59,32,37,100,0,44,32,39,37,99,39,37,100,0,44,32,39,37,115,39,37,100,0,99,104,97,114,97,99,116,101,114,44,32,105,110,100,101,120,32,111,117,116,32,111,102,32,98,111,117,110,100,115,46,0,105,115,95,107,101,121,95,99,104,97,114,97,99,116,101,114,44,32,105,110,100,101,120,32,111,117,116,32,111,102,32,98,111,117,110,100,115,46,0,100,101,108,101,116,101,95,99,104,97,114,97,99,116,101,114,44,32,105,110,100,101,120,32,111,117,116,32,111,102,32,98,111,117,110,100,115,46,0,105,110,115,101,114,116,95,115,112,97,99,101,44,32,105,110,100,101,120,32,111,117,116,32,111,102,32,98,111,117,110,100,115,46,0,105,110,115,101,114,116,95,115,112,97,99,101,44,32,116,114,97,99,107,32,110,111,116,32,115,101,116,32,121,101,116,46,0,109,101,97,110,32,104,101,105,103,104,116,32,61,32,37,100,44,32,109,101,100,105,97,110,32,104,101,105,103,104,116,32,61,32,37,100,44,32,116,114,97,99,107,32,115,101,103,109,101,110,116,115,32,61,32,37,100,44,32,98,105,103,32,105,110,105,116,105,97,108,115,32,61,32,37,100,10,0,108,32,61,32,37,100,44,32,108,99,32,61,32,37,100,44,32,114,32,61,32,37,100,44,32,114,99,32,61,32,37,100,44,32,104,32,61,32,37,100,10,0,98,97,100,32,112,97,114,97,109,101,116,101,114,32,98,117,105,108,100,105,110,103,32,97,32,86,114,104,111,109,98,111,105,100,46,0,101,120,116,101,110,100,95,108,101,102,116,44,32,98,97,100,32,112,97,114,97,109,101,116,101,114,32,114,101,115,105,122,105,110,103,32,97,32,86,114,104,111,109,98,111,105,100,46,0,101,120,116,101,110,100,95,114,105,103,104,116,44,32,98,97,100,32,112,97,114,97,109,101,116,101,114,32,114,101,115,105,122,105,110,103,32,97,32,86,114,104,111,109,98,111,105,100,46,0,111,99,114,97,100,58,32,105,110,116,101,114,110,97,108,32,101,114,114,111,114,58,32,37,115,10,0,104,101,108,112,0,32,32,37,115,0,110,111,110,101,0,114,111,116,97,116,101,57,48,0,114,111,116,97,116,101,49,56,48,0,114,111,116,97,116,101,50,55,48,0,109,105,114,114,111,114,95,108,114,0,109,105,114,114,111,114,95,116,98,0,109,105,114,114,111,114,95,100,49,0,109,105,114,114,111,114,95,100,50,0,108,101,116,116,101,114,115,0,108,101,116,116,101,114,115,95,111,110,108,121,0,110,117,109,98,101,114,115,0,110,117,109,98,101,114,115,95,111,110,108,121,0,115,97,109,101,95,104,101,105,103,104,116,0,116,101,120,116,95,98,108,111,99,107,0,117,112,112,101,114,95,110,117,109,0,117,112,112,101,114,95,110,117,109,95,109,97,114,107,0,117,112,112,101,114,95,110,117,109,95,111,110,108,121,0,37,115,58,32,98,97,100,32,102,105,108,116,101,114,32,39,37,115,39,10,0,86,97,108,105,100,32,102,105,108,116,101,114,32,110,97,109,101,115,58,0,84,33,34,25,13,1,2,3,17,75,28,12,16,4,11,29,18,30,39,104,110,111,112,113,98,32,5,6,15,19,20,21,26,8,22,7,40,36,23,24,9,10,14,27,31,37,35,131,130,125,38,42,43,60,61,62,63,67,71,74,77,88,89,90,91,92,93,94,95,96,97,99,100,101,102,103,105,106,107,108,114,115,116,121,122,123,124,0,73,108,108,101,103,97,108,32,98,121,116,101,32,115,101,113,117,101,110,99,101,0,68,111,109,97,105,110,32,101,114,114,111,114,0,82,101,115,117,108,116,32,110,111,116,32,114,101,112,114,101,115,101,110,116,97,98,108,101,0,78,111,116,32,97,32,116,116,121,0,80,101,114,109,105,115,115,105,111,110,32,100,101,110,105,101,100,0,79,112,101,114,97,116,105,111,110,32,110,111,116,32,112,101,114,109,105,116,116,101,100,0,78,111,32,115,117,99,104,32,102,105,108,101,32,111,114,32,100,105,114,101,99,116,111,114,121,0,78,111,32,115,117,99,104,32,112,114,111,99,101,115,115,0,70,105,108,101,32,101,120,105,115,116,115,0,86,97,108,117,101,32,116,111,111,32,108,97,114,103,101,32,102,111,114,32,100,97,116,97,32,116,121,112,101,0,78,111,32,115,112,97,99,101,32,108,101,102,116,32,111,110,32,100,101,118,105,99,101,0,79,117,116,32,111,102,32,109,101,109,111,114,121,0,82,101,115,111,117,114,99,101,32,98,117,115,121,0,73,110,116,101,114,114,117,112,116,101,100,32,115,121,115,116,101,109,32,99,97,108,108,0,82,101,115,111,117,114,99,101,32,116,101,109,112,111,114,97,114,105,108,121,32,117,110,97,118,97,105,108,97,98,108,101,0,73,110,118,97,108,105,100,32,115,101,101,107,0,67,114,111,115,115,45,100,101,118,105,99,101,32,108,105,110,107,0,82,101,97,100,45,111,110,108,121,32,102,105,108,101,32,115,121,115,116,101,109,0,68,105,114,101,99,116,111,114,121,32,110,111,116,32,101,109,112,116,121,0,67,111,110,110,101,99,116,105,111,110,32,114,101,115,101,116,32,98,121,32,112,101,101,114,0,79,112,101,114,97,116,105,111,110,32,116,105,109,101,100,32,111,117,116,0,67,111,110,110,101,99,116,105,111,110,32,114,101,102,117,115,101,100,0,72,111,115,116,32,105,115,32,100,111,119,110,0,72,111,115,116,32,105,115,32,117,110,114,101,97,99,104,97,98,108,101,0,65,100,100,114,101,115,115,32,105,110,32,117,115,101,0,66,114,111,107,101,110,32,112,105,112,101,0,73,47,79,32,101,114,114,111,114,0,78,111,32,115,117,99,104,32,100,101,118,105,99,101,32,111,114,32,97,100,100,114,101,115,115,0,66,108,111,99,107,32,100,101,118,105,99,101,32,114,101,113,117,105,114,101,100,0,78,111,32,115,117,99,104,32,100,101,118,105,99,101,0,78,111,116,32,97,32,100,105,114,101,99,116,111,114,121,0,73,115,32,97,32,100,105,114,101,99,116,111,114,121,0,84,101,120,116,32,102,105,108,101,32,98,117,115,121,0,69,120,101,99,32,102,111,114,109,97,116,32,101,114,114,111,114,0,73,110,118,97,108,105,100,32,97,114,103,117,109,101,110,116,0,65,114,103,117,109,101,110,116,32,108,105,115,116,32,116,111,111,32,108,111,110,103,0,83,121,109,98,111,108,105,99,32,108,105,110,107,32,108,111,111,112,0,70,105,108,101,110,97,109,101,32,116,111,111,32,108,111,110,103,0,84,111,111,32,109,97,110,121,32,111,112,101,110,32,102,105,108,101,115,32,105,110,32,115,121,115,116,101,109,0,78,111,32,102,105,108,101,32,100,101,115,99,114,105,112,116,111,114,115,32,97,118,97,105,108,97,98,108,101,0,66,97,100,32,102,105,108,101,32,100,101,115,99,114,105,112,116,111,114,0,78,111,32,99,104,105,108,100,32,112,114,111,99,101,115,115,0,66,97,100,32,97,100,100,114,101,115,115,0,70,105,108,101,32,116,111,111,32,108,97,114,103,101,0,84,111,111,32,109,97,110,121,32,108,105,110,107,115,0,78,111,32,108,111,99,107,115,32,97,118,97,105,108,97,98,108,101,0,82,101,115,111,117,114,99,101,32,100,101,97,100,108,111,99,107,32,119,111,117,108,100,32,111,99,99,117,114,0,83,116,97,116,101,32,110,111,116,32,114,101,99,111,118,101,114,97,98,108,101,0,80,114,101,118,105,111,117,115,32,111,119,110,101,114,32,100,105,101,100,0,79,112,101,114,97,116,105,111,110,32,99,97,110,99,101,108,101,100,0,70,117,110,99,116,105,111,110,32,110,111,116,32,105,109,112,108,101,109,101,110,116,101,100,0,78,111,32,109,101,115,115,97,103,101,32,111,102,32,100,101,115,105,114,101,100,32,116,121,112,101,0,73,100,101,110,116,105,102,105,101,114,32,114,101,109,111,118,101,100,0,68,101,118,105,99,101,32,110,111,116,32,97,32,115,116,114,101,97,109,0,78,111,32,100,97,116,97,32,97,118,97,105,108,97,98,108,101,0,68,101,118,105,99,101,32,116,105,109,101,111,117,116,0,79,117,116,32,111,102,32,115,116,114,101,97,109,115,32,114,101,115,111,117,114,99,101,115,0,76,105,110,107,32,104,97,115,32,98,101,101,110,32,115,101,118,101,114,101,100,0,80,114,111,116,111,99,111,108,32,101,114,114,111,114,0,66,97,100,32,109,101,115,115,97,103,101,0,70,105,108,101,32,100,101,115,99,114,105,112,116,111,114,32,105,110,32,98,97,100,32,115,116,97,116,101,0,78,111,116,32,97,32,115,111,99,107,101,116,0,68,101,115,116,105,110,97,116,105,111,110,32,97,100,100,114,101,115,115,32,114,101,113,117,105,114,101,100,0,77,101,115,115,97,103,101,32,116,111,111,32,108,97,114,103,101,0,80,114,111,116,111,99,111,108,32,119,114,111,110,103,32,116,121,112,101,32,102,111,114,32,115,111,99,107,101,116,0,80,114,111,116,111,99,111,108,32,110,111,116,32,97,118,97,105,108,97,98,108,101,0,80,114,111,116,111,99,111,108,32,110,111,116,32,115,117,112,112,111,114,116,101,100,0,83,111,99,107,101,116,32,116,121,112,101,32,110,111,116,32,115,117,112,112,111,114,116,101,100,0,78,111,116,32,115,117,112,112,111,114,116,101,100,0,80,114,111,116,111,99,111,108,32,102,97,109,105,108,121,32,110,111,116,32,115,117,112,112,111,114,116,101,100,0,65,100,100,114,101,115,115,32,102,97,109,105,108,121,32,110,111,116,32,115,117,112,112,111,114,116,101,100,32,98,121,32,112,114,111,116,111,99,111,108,0,65,100,100,114,101,115,115,32,110,111,116,32,97,118,97,105,108,97,98,108,101,0,78,101,116,119,111,114,107,32,105,115,32,100,111,119,110,0,78,101,116,119,111,114,107,32,117,110,114,101,97,99,104,97,98,108,101,0,67,111,110,110,101,99,116,105,111,110,32,114,101,115,101,116,32,98,121,32,110,101,116,119,111,114,107,0,67,111,110,110,101,99,116,105,111,110,32,97,98,111,114,116,101,100,0,78,111,32,98,117,102,102,101,114,32,115,112,97,99,101,32,97,118,97,105,108,97,98,108,101,0,83,111,99,107,101,116,32,105,115,32,99,111,110,110,101,99,116,101,100,0,83,111,99,107,101,116,32,110,111,116,32,99,111,110,110,101,99,116,101,100,0,67,97,110,110,111,116,32,115,101,110,100,32,97,102,116,101,114,32,115,111,99,107,101,116,32,115,104,117,116,100,111,119,110,0,79,112,101,114,97,116,105,111,110,32,97,108,114,101,97,100,121,32,105,110,32,112,114,111,103,114,101,115,115,0,79,112,101,114,97,116,105,111,110,32,105,110,32,112,114,111,103,114,101,115,115,0,83,116,97,108,101,32,102,105,108,101,32,104,97,110,100,108,101,0,82,101,109,111,116,101,32,73,47,79,32,101,114,114,111,114,0,81,117,111,116,97,32,101,120,99,101,101,100,101,100,0,78,111,32,109,101,100,105,117,109,32,102,111,117,110,100,0,87,114,111,110,103,32,109,101,100,105,117,109,32,116,121,112,101,0,78,111,32,101,114,114,111,114,32,105,110,102,111,114,109,97,116,105,111,110,0,0,114,119,97,0,17,0,10,0,17,17,17,0,0,0,0,5,0,0,0,0,0,0,9,0,0,0,0,11,0,0,0,0,0,0,0,0,17,0,15,10,17,17,17,3,10,7,0,1,19,9,11,11,0,0,9,6,11,0,0,11,0,6,17,0,0,0,17,17,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,11,0,0,0,0,0,0,0,0,17,0,10,10,17,17,17,0,10,0,0,2,0,9,11,0,0,0,9,0,11,0,0,11,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,12,0,0,0,0,9,12,0,0,0,0,0,12,0,0,12,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14,0,0,0,0,0,0,0,0,0,0,0,13,0,0,0,4,13,0,0,0,0,9,14,0,0,0,0,0,14,0,0,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16,0,0,0,0,0,0,0,0,0,0,0,15,0,0,0,0,15,0,0,0,0,9,16,0,0,0,0,0,16,0,0,16,0,0,18,0,0,0,18,18,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18,0,0,0,18,18,18,0,0,0,0,0,0,9,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,11,0,0,0,0,0,0,0,0,0,0,0,10,0,0,0,0,10,0,0,0,0,9,11,0,0,0,0,0,11,0,0,11,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,12,0,0,0,0,9,12,0,0,0,0,0,12,0,0,12,0,0,48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70,45,43,32,32,32,48,88,48,120,0,40,110,117,108,108,41,0,45,48,88,43,48,88,32,48,88,45,48,120,43,48,120,32,48,120,0,105,110,102,0,73,78,70,0,110,97,110,0,78,65,78,0,46,0,98,97,115,105,99,95,115,116,114,105,110,103,0,118,101,99,116,111,114,0,99,97,110,110,111,116,32,122,101,114,111,32,111,117,116,32,116,104,114,101,97,100,32,118,97,108,117,101,32,102,111,114,32,95,95,99,120,97,95,103,101,116,95,103,108,111,98,97,108,115,40,41,0,99,97,110,110,111,116,32,99,114,101,97,116,101,32,112,116,104,114,101,97,100,32,107,101,121,32,102,111,114,32,95,95,99,120,97,95,103,101,116,95,103,108,111,98,97,108,115,40,41,0,112,116,104,114,101,97,100,95,111,110,99,101,32,102,97,105,108,117,114,101,32,105,110,32,95,95,99,120,97,95,103,101,116,95,103,108,111,98,97,108,115,95,102,97,115,116,40,41,0,78,49,48,95,95,99,120,120,97,98,105,118,49,50,48,95,95,115,105,95,99,108,97,115,115,95,116,121,112,101,95,105,110,102,111,69,0,78,49,48,95,95,99,120,120,97,98,105,118,49,49,54,95,95,115,104,105,109,95,116,121,112,101,95,105,110,102,111,69,0,83,116,57,116,121,112,101,95,105,110,102,111,0,78,49,48,95,95,99,120,120,97,98,105,118,49,49,55,95,95,99,108,97,115,115,95,116,121,112,101,95,105,110,102,111,69,0,83,116,57,101,120,99,101,112,116,105,111,110,0,117,110,99,97,117,103,104,116,0,116,101,114,109,105,110,97,116,105,110,103,32,119,105,116,104,32,37,115,32,101,120,99,101,112,116,105,111,110,32,111,102,32,116,121,112,101,32,37,115,58,32,37,115,0,116,101,114,109,105,110,97,116,105,110,103,32,119,105,116,104,32,37,115,32,101,120,99,101,112,116,105,111,110,32,111,102,32,116,121,112,101,32,37,115,0,116,101,114,109,105,110,97,116,105,110,103,32,119,105,116,104,32,37,115,32,102,111,114,101,105,103,110,32,101,120,99,101,112,116,105,111,110,0,116,101,114,109,105,110,97,116,105,110,103,0,116,101,114,109,105,110,97,116,101,95,104,97,110,100,108,101,114,32,117,110,101,120,112,101,99,116,101,100,108,121,32,114,101,116,117,114,110,101,100,0,116,101,114,109,105,110,97,116,101,95,104,97,110,100,108,101,114,32,117,110,101,120,112,101,99,116,101,100,108,121,32,116,104,114,101,119,32,97,110,32,101,120,99,101,112,116,105,111,110,0,83,116,57,98,97,100,95,97,108,108,111,99,0,115,116,100,58,58,98,97,100,95,97,108,108,111,99,0,83,116,49,49,108,111,103,105,99,95,101,114,114,111,114,0,83,116,49,50,108,101,110,103,116,104,95,101,114,114,111,114,0,78,49,48,95,95,99,120,120,97,98,105,118,49,49,57,95,95,112,111,105,110,116,101,114,95,116,121,112,101,95,105,110,102,111,69,0,78,49,48,95,95,99,120,120,97,98,105,118,49,49,55,95,95,112,98,97,115,101,95,116,121,112,101,95,105,110,102,111,69,0],"i8",ALLOC_NONE,Runtime.GLOBAL_BASE);var tempDoublePtr=STATICTOP;function copyTempFloat(e){HEAP8[tempDoublePtr]=HEAP8[e],HEAP8[tempDoublePtr+1]=HEAP8[e+1],HEAP8[tempDoublePtr+2]=HEAP8[e+2],HEAP8[tempDoublePtr+3]=HEAP8[e+3]}function copyTempDouble(e){HEAP8[tempDoublePtr]=HEAP8[e],HEAP8[tempDoublePtr+1]=HEAP8[e+1],HEAP8[tempDoublePtr+2]=HEAP8[e+2],HEAP8[tempDoublePtr+3]=HEAP8[e+3],HEAP8[tempDoublePtr+4]=HEAP8[e+4],HEAP8[tempDoublePtr+5]=HEAP8[e+5],HEAP8[tempDoublePtr+6]=HEAP8[e+6],HEAP8[tempDoublePtr+7]=HEAP8[e+7]}function ___setErrNo(e){return Module.___errno_location?HEAP32[Module.___errno_location()>>2]=e:Module.printErr("failed to set errno from JS"),e}STATICTOP+=16,assert(tempDoublePtr%8==0),Module._i64Subtract=_i64Subtract;var ERRNO_CODES={EPERM:1,ENOENT:2,ESRCH:3,EINTR:4,EIO:5,ENXIO:6,E2BIG:7,ENOEXEC:8,EBADF:9,ECHILD:10,EAGAIN:11,EWOULDBLOCK:11,ENOMEM:12,EACCES:13,EFAULT:14,ENOTBLK:15,EBUSY:16,EEXIST:17,EXDEV:18,ENODEV:19,ENOTDIR:20,EISDIR:21,EINVAL:22,ENFILE:23,EMFILE:24,ENOTTY:25,ETXTBSY:26,EFBIG:27,ENOSPC:28,ESPIPE:29,EROFS:30,EMLINK:31,EPIPE:32,EDOM:33,ERANGE:34,ENOMSG:42,EIDRM:43,ECHRNG:44,EL2NSYNC:45,EL3HLT:46,EL3RST:47,ELNRNG:48,EUNATCH:49,ENOCSI:50,EL2HLT:51,EDEADLK:35,ENOLCK:37,EBADE:52,EBADR:53,EXFULL:54,ENOANO:55,EBADRQC:56,EBADSLT:57,EDEADLOCK:35,EBFONT:59,ENOSTR:60,ENODATA:61,ETIME:62,ENOSR:63,ENONET:64,ENOPKG:65,EREMOTE:66,ENOLINK:67,EADV:68,ESRMNT:69,ECOMM:70,EPROTO:71,EMULTIHOP:72,EDOTDOT:73,EBADMSG:74,ENOTUNIQ:76,EBADFD:77,EREMCHG:78,ELIBACC:79,ELIBBAD:80,ELIBSCN:81,ELIBMAX:82,ELIBEXEC:83,ENOSYS:38,ENOTEMPTY:39,ENAMETOOLONG:36,ELOOP:40,EOPNOTSUPP:95,EPFNOSUPPORT:96,ECONNRESET:104,ENOBUFS:105,EAFNOSUPPORT:97,EPROTOTYPE:91,ENOTSOCK:88,ENOPROTOOPT:92,ESHUTDOWN:108,ECONNREFUSED:111,EADDRINUSE:98,ECONNABORTED:103,ENETUNREACH:101,ENETDOWN:100,ETIMEDOUT:110,EHOSTDOWN:112,EHOSTUNREACH:113,EINPROGRESS:115,EALREADY:114,EDESTADDRREQ:89,EMSGSIZE:90,EPROTONOSUPPORT:93,ESOCKTNOSUPPORT:94,EADDRNOTAVAIL:99,ENETRESET:102,EISCONN:106,ENOTCONN:107,ETOOMANYREFS:109,EUSERS:87,EDQUOT:122,ESTALE:116,ENOTSUP:95,ENOMEDIUM:123,EILSEQ:84,EOVERFLOW:75,ECANCELED:125,ENOTRECOVERABLE:131,EOWNERDEAD:130,ESTRPIPE:86};function _sysconf(e){switch(e){case 30:return PAGE_SIZE;case 85:return totalMemory/PAGE_SIZE;case 132:case 133:case 12:case 137:case 138:case 15:case 235:case 16:case 17:case 18:case 19:case 20:case 149:case 13:case 10:case 236:case 153:case 9:case 21:case 22:case 159:case 154:case 14:case 77:case 78:case 139:case 80:case 81:case 82:case 68:case 67:case 164:case 11:case 29:case 47:case 48:case 95:case 52:case 51:case 46:return 200809;case 79:return 0;case 27:case 246:case 127:case 128:case 23:case 24:case 160:case 161:case 181:case 182:case 242:case 183:case 184:case 243:case 244:case 245:case 165:case 178:case 179:case 49:case 50:case 168:case 169:case 175:case 170:case 171:case 172:case 97:case 76:case 32:case 173:case 35:return-1;case 176:case 177:case 7:case 155:case 8:case 157:case 125:case 126:case 92:case 93:case 129:case 130:case 131:case 94:case 91:return 1;case 74:case 60:case 69:case 70:case 4:return 1024;case 31:case 42:case 72:return 32;case 87:case 26:case 33:return 2147483647;case 34:case 1:return 47839;case 38:case 36:return 99;case 43:case 37:return 2048;case 0:return 2097152;case 3:return 65536;case 28:return 32768;case 44:return 32767;case 75:return 16384;case 39:return 1e3;case 89:return 700;case 71:return 256;case 40:return 255;case 2:return 100;case 180:return 64;case 25:return 20;case 5:return 16;case 6:return 6;case 73:return 4;case 84:return"object"==typeof navigator&&navigator.hardwareConcurrency||1}return ___setErrNo(ERRNO_CODES.EINVAL),-1}function __ZSt18uncaught_exceptionv(){return!!__ZSt18uncaught_exceptionv.uncaught_exception}var EXCEPTIONS={last:0,caught:[],infos:{},deAdjust:function(e){if(!e||EXCEPTIONS.infos[e])return e;for(var r in EXCEPTIONS.infos){if(EXCEPTIONS.infos[r].adjusted===e)return r}return e},addRef:function(e){e&&EXCEPTIONS.infos[e].refcount++},decRef:function(e){if(e){var r=EXCEPTIONS.infos[e];assert(r.refcount>0),r.refcount--,0===r.refcount&&(r.destructor&&Runtime.dynCall("vi",r.destructor,[e]),delete EXCEPTIONS.infos[e],___cxa_free_exception(e))}},clearRef:function(e){e&&(EXCEPTIONS.infos[e].refcount=0)}};function ___resumeException(e){throw EXCEPTIONS.last||(EXCEPTIONS.last=e),EXCEPTIONS.clearRef(EXCEPTIONS.deAdjust(e)),e}function ___cxa_find_matching_catch(){var e=EXCEPTIONS.last;if(!e)return 0|(asm.setTempRet0(0),0);var r=EXCEPTIONS.infos[e],i=r.type;if(!i)return 0|(asm.setTempRet0(0),e);var a=Array.prototype.slice.call(arguments);Module.___cxa_is_pointer_type(i);___cxa_find_matching_catch.buffer||(___cxa_find_matching_catch.buffer=_malloc(4)),HEAP32[___cxa_find_matching_catch.buffer>>2]=e,e=___cxa_find_matching_catch.buffer;for(var f=0;f<a.length;f++)if(a[f]&&Module.___cxa_can_catch(a[f],i,e))return e=HEAP32[e>>2],r.adjusted=e,0|(asm.setTempRet0(a[f]),e);return e=HEAP32[e>>2],0|(asm.setTempRet0(i),e)}function ___cxa_throw(e,r,i){throw EXCEPTIONS.infos[e]={ptr:e,adjusted:e,type:r,destructor:i,refcount:0},EXCEPTIONS.last=e,"uncaught_exception"in __ZSt18uncaught_exceptionv?__ZSt18uncaught_exceptionv.uncaught_exception++:__ZSt18uncaught_exceptionv.uncaught_exception=1,e}function ___gxx_personality_v0(){}function _abort(){Module.abort()}function _free(){}function ___cxa_free_exception(e){try{return _free(e)}catch(e){Module.printErr("exception during cxa_free_exception: "+e)}}function ___cxa_end_catch(){if(___cxa_end_catch.rethrown)___cxa_end_catch.rethrown=!1;else{asm.setThrew(0);var e=EXCEPTIONS.caught.pop();e&&(EXCEPTIONS.decRef(EXCEPTIONS.deAdjust(e)),EXCEPTIONS.last=0)}}function _pthread_once(e,r){_pthread_once.seen||(_pthread_once.seen={}),e in _pthread_once.seen||(Runtime.dynCall("v",r),_pthread_once.seen[e]=1)}function ___lock(){}function ___unlock(){}Module._memset=_memset,Module._bitshift64Shl=_bitshift64Shl,Module._free=_free;var PTHREAD_SPECIFIC={};function _pthread_getspecific(e){return PTHREAD_SPECIFIC[e]||0}Module._i64Add=_i64Add;var PTHREAD_SPECIFIC_NEXT_KEY=1;function _pthread_key_create(e,r){return 0==e?ERRNO_CODES.EINVAL:(HEAP32[e>>2]=PTHREAD_SPECIFIC_NEXT_KEY,PTHREAD_SPECIFIC[PTHREAD_SPECIFIC_NEXT_KEY]=0,PTHREAD_SPECIFIC_NEXT_KEY++,0)}function __exit(e){Module.exit(e)}function _exit(e){__exit(e)}function _pthread_setspecific(e,r){return e in PTHREAD_SPECIFIC?(PTHREAD_SPECIFIC[e]=r,0):ERRNO_CODES.EINVAL}function _malloc(e){return Runtime.dynamicAlloc(e+8)+8&4294967288}function ___cxa_allocate_exception(e){return _malloc(e)}Module._malloc=_malloc;var ERRNO_MESSAGES={0:"Success",1:"Not super-user",2:"No such file or directory",3:"No such process",4:"Interrupted system call",5:"I/O error",6:"No such device or address",7:"Arg list too long",8:"Exec format error",9:"Bad file number",10:"No children",11:"No more processes",12:"Not enough core",13:"Permission denied",14:"Bad address",15:"Block device required",16:"Mount device busy",17:"File exists",18:"Cross-device link",19:"No such device",20:"Not a directory",21:"Is a directory",22:"Invalid argument",23:"Too many open files in system",24:"Too many open files",25:"Not a typewriter",26:"Text file busy",27:"File too large",28:"No space left on device",29:"Illegal seek",30:"Read only file system",31:"Too many links",32:"Broken pipe",33:"Math arg out of domain of func",34:"Math result not representable",35:"File locking deadlock error",36:"File or path name too long",37:"No record locks available",38:"Function not implemented",39:"Directory not empty",40:"Too many symbolic links",42:"No message of desired type",43:"Identifier removed",44:"Channel number out of range",45:"Level 2 not synchronized",46:"Level 3 halted",47:"Level 3 reset",48:"Link number out of range",49:"Protocol driver not attached",50:"No CSI structure available",51:"Level 2 halted",52:"Invalid exchange",53:"Invalid request descriptor",54:"Exchange full",55:"No anode",56:"Invalid request code",57:"Invalid slot",59:"Bad font file fmt",60:"Device not a stream",61:"No data (for no delay io)",62:"Timer expired",63:"Out of streams resources",64:"Machine is not on the network",65:"Package not installed",66:"The object is remote",67:"The link has been severed",68:"Advertise error",69:"Srmount error",70:"Communication error on send",71:"Protocol error",72:"Multihop attempted",73:"Cross mount point (not really error)",74:"Trying to read unreadable message",75:"Value too large for defined data type",76:"Given log. name not unique",77:"f.d. invalid for this operation",78:"Remote address changed",79:"Can access a needed shared lib",80:"Accessing a corrupted shared lib",81:".lib section in a.out corrupted",82:"Attempting to link in too many libs",83:"Attempting to exec a shared library",84:"Illegal byte sequence",86:"Streams pipe error",87:"Too many users",88:"Socket operation on non-socket",89:"Destination address required",90:"Message too long",91:"Protocol wrong type for socket",92:"Protocol not available",93:"Unknown protocol",94:"Socket type not supported",95:"Not supported",96:"Protocol family not supported",97:"Address family not supported by protocol family",98:"Address already in use",99:"Address not available",100:"Network interface is not configured",101:"Network is unreachable",102:"Connection reset by network",103:"Connection aborted",104:"Connection reset by peer",105:"No buffer space available",106:"Socket is already connected",107:"Socket is not connected",108:"Can't send after socket shutdown",109:"Too many references",110:"Connection timed out",111:"Connection refused",112:"Host is down",113:"Host is unreachable",114:"Socket already connected",115:"Connection already in progress",116:"Stale file handle",122:"Quota exceeded",123:"No medium (in tape drive)",125:"Operation canceled",130:"Previous owner died",131:"State not recoverable"},PATH={splitPath:function(e){return/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(e).slice(1)},normalizeArray:function(e,r){for(var i=0,a=e.length-1;a>=0;a--){var f=e[a];"."===f?e.splice(a,1):".."===f?(e.splice(a,1),i++):i&&(e.splice(a,1),i--)}if(r)for(;i--;i)e.unshift("..");return e},normalize:function(e){var r="/"===e.charAt(0),i="/"===e.substr(-1);return(e=PATH.normalizeArray(e.split("/").filter(function(e){return!!e}),!r).join("/"))||r||(e="."),e&&i&&(e+="/"),(r?"/":"")+e},dirname:function(e){var r=PATH.splitPath(e),i=r[0],a=r[1];return i||a?(a&&(a=a.substr(0,a.length-1)),i+a):"."},basename:function(e){if("/"===e)return"/";var r=e.lastIndexOf("/");return-1===r?e:e.substr(r+1)},extname:function(e){return PATH.splitPath(e)[3]},join:function(){var e=Array.prototype.slice.call(arguments,0);return PATH.normalize(e.join("/"))},join2:function(e,r){return PATH.normalize(e+"/"+r)},resolve:function(){for(var e="",r=!1,i=arguments.length-1;i>=-1&&!r;i--){var a=i>=0?arguments[i]:FS.cwd();if("string"!=typeof a)throw new TypeError("Arguments to path.resolve must be strings");if(!a)return"";e=a+"/"+e,r="/"===a.charAt(0)}return(r?"/":"")+(e=PATH.normalizeArray(e.split("/").filter(function(e){return!!e}),!r).join("/"))||"."},relative:function(e,r){function i(e){for(var r=0;r<e.length&&""===e[r];r++);for(var i=e.length-1;i>=0&&""===e[i];i--);return r>i?[]:e.slice(r,i-r+1)}e=PATH.resolve(e).substr(1),r=PATH.resolve(r).substr(1);for(var a=i(e.split("/")),f=i(r.split("/")),t=Math.min(a.length,f.length),n=t,o=0;o<t;o++)if(a[o]!==f[o]){n=o;break}var s=[];for(o=n;o<a.length;o++)s.push("..");return(s=s.concat(f.slice(n))).join("/")}},TTY={ttys:[],init:function(){},shutdown:function(){},register:function(e,r){TTY.ttys[e]={input:[],output:[],ops:r},FS.registerDevice(e,TTY.stream_ops)},stream_ops:{open:function(e){var r=TTY.ttys[e.node.rdev];if(!r)throw new FS.ErrnoError(ERRNO_CODES.ENODEV);e.tty=r,e.seekable=!1},close:function(e){e.tty.ops.flush(e.tty)},flush:function(e){e.tty.ops.flush(e.tty)},read:function(e,r,i,a,f){if(!e.tty||!e.tty.ops.get_char)throw new FS.ErrnoError(ERRNO_CODES.ENXIO);for(var t=0,n=0;n<a;n++){var o;try{o=e.tty.ops.get_char(e.tty)}catch(e){throw new FS.ErrnoError(ERRNO_CODES.EIO)}if(void 0===o&&0===t)throw new FS.ErrnoError(ERRNO_CODES.EAGAIN);if(null==o)break;t++,r[i+n]=o}return t&&(e.node.timestamp=Date.now()),t},write:function(e,r,i,a,f){if(!e.tty||!e.tty.ops.put_char)throw new FS.ErrnoError(ERRNO_CODES.ENXIO);for(var t=0;t<a;t++)try{e.tty.ops.put_char(e.tty,r[i+t])}catch(e){throw new FS.ErrnoError(ERRNO_CODES.EIO)}return a&&(e.node.timestamp=Date.now()),t}},default_tty_ops:{get_char:function(e){if(!e.input.length){var r=null;if(ENVIRONMENT_IS_NODE){var i,a=new Buffer(256),f=process.stdin.fd,t=!1;try{f=fs.openSync("/dev/stdin","r"),t=!0}catch(e){}i=fs.readSync(f,a,0,256,null),t&&fs.closeSync(f),r=i>0?a.slice(0,i).toString("utf-8"):null}else"undefined"!=typeof window&&"function"==typeof window.prompt?null!==(r=window.prompt("Input: "))&&(r+="\n"):"function"==typeof readline&&null!==(r=readline())&&(r+="\n");if(!r)return null;e.input=intArrayFromString(r,!0)}return e.input.shift()},put_char:function(e,r){null===r||10===r?(Module.print(UTF8ArrayToString(e.output,0)),e.output=[]):0!=r&&e.output.push(r)},flush:function(e){e.output&&e.output.length>0&&(Module.print(UTF8ArrayToString(e.output,0)),e.output=[])}},default_tty1_ops:{put_char:function(e,r){null===r||10===r?(Module.printErr(UTF8ArrayToString(e.output,0)),e.output=[]):0!=r&&e.output.push(r)},flush:function(e){e.output&&e.output.length>0&&(Module.printErr(UTF8ArrayToString(e.output,0)),e.output=[])}}},MEMFS={ops_table:null,mount:function(e){return MEMFS.createNode(null,"/",16895,0)},createNode:function(e,r,i,a){if(FS.isBlkdev(i)||FS.isFIFO(i))throw new FS.ErrnoError(ERRNO_CODES.EPERM);MEMFS.ops_table||(MEMFS.ops_table={dir:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr,lookup:MEMFS.node_ops.lookup,mknod:MEMFS.node_ops.mknod,rename:MEMFS.node_ops.rename,unlink:MEMFS.node_ops.unlink,rmdir:MEMFS.node_ops.rmdir,readdir:MEMFS.node_ops.readdir,symlink:MEMFS.node_ops.symlink},stream:{llseek:MEMFS.stream_ops.llseek}},file:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr},stream:{llseek:MEMFS.stream_ops.llseek,read:MEMFS.stream_ops.read,write:MEMFS.stream_ops.write,allocate:MEMFS.stream_ops.allocate,mmap:MEMFS.stream_ops.mmap,msync:MEMFS.stream_ops.msync}},link:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr,readlink:MEMFS.node_ops.readlink},stream:{}},chrdev:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr},stream:FS.chrdev_stream_ops}});var f=FS.createNode(e,r,i,a);return FS.isDir(f.mode)?(f.node_ops=MEMFS.ops_table.dir.node,f.stream_ops=MEMFS.ops_table.dir.stream,f.contents={}):FS.isFile(f.mode)?(f.node_ops=MEMFS.ops_table.file.node,f.stream_ops=MEMFS.ops_table.file.stream,f.usedBytes=0,f.contents=null):FS.isLink(f.mode)?(f.node_ops=MEMFS.ops_table.link.node,f.stream_ops=MEMFS.ops_table.link.stream):FS.isChrdev(f.mode)&&(f.node_ops=MEMFS.ops_table.chrdev.node,f.stream_ops=MEMFS.ops_table.chrdev.stream),f.timestamp=Date.now(),e&&(e.contents[r]=f),f},getFileDataAsRegularArray:function(e){if(e.contents&&e.contents.subarray){for(var r=[],i=0;i<e.usedBytes;++i)r.push(e.contents[i]);return r}return e.contents},getFileDataAsTypedArray:function(e){return e.contents?e.contents.subarray?e.contents.subarray(0,e.usedBytes):new Uint8Array(e.contents):new Uint8Array},expandFileStorage:function(e,r){if(e.contents&&e.contents.subarray&&r>e.contents.length&&(e.contents=MEMFS.getFileDataAsRegularArray(e),e.usedBytes=e.contents.length),!e.contents||e.contents.subarray){var i=e.contents?e.contents.buffer.byteLength:0;if(i>=r)return;r=Math.max(r,i*(i<1048576?2:1.125)|0),0!=i&&(r=Math.max(r,256));var a=e.contents;return e.contents=new Uint8Array(r),void(e.usedBytes>0&&e.contents.set(a.subarray(0,e.usedBytes),0))}for(!e.contents&&r>0&&(e.contents=[]);e.contents.length<r;)e.contents.push(0)},resizeFileStorage:function(e,r){if(e.usedBytes!=r){if(0==r)return e.contents=null,void(e.usedBytes=0);if(!e.contents||e.contents.subarray){var i=e.contents;return e.contents=new Uint8Array(new ArrayBuffer(r)),i&&e.contents.set(i.subarray(0,Math.min(r,e.usedBytes))),void(e.usedBytes=r)}if(e.contents||(e.contents=[]),e.contents.length>r)e.contents.length=r;else for(;e.contents.length<r;)e.contents.push(0);e.usedBytes=r}},node_ops:{getattr:function(e){var r={};return r.dev=FS.isChrdev(e.mode)?e.id:1,r.ino=e.id,r.mode=e.mode,r.nlink=1,r.uid=0,r.gid=0,r.rdev=e.rdev,FS.isDir(e.mode)?r.size=4096:FS.isFile(e.mode)?r.size=e.usedBytes:FS.isLink(e.mode)?r.size=e.link.length:r.size=0,r.atime=new Date(e.timestamp),r.mtime=new Date(e.timestamp),r.ctime=new Date(e.timestamp),r.blksize=4096,r.blocks=Math.ceil(r.size/r.blksize),r},setattr:function(e,r){void 0!==r.mode&&(e.mode=r.mode),void 0!==r.timestamp&&(e.timestamp=r.timestamp),void 0!==r.size&&MEMFS.resizeFileStorage(e,r.size)},lookup:function(e,r){throw FS.genericErrors[ERRNO_CODES.ENOENT]},mknod:function(e,r,i,a){return MEMFS.createNode(e,r,i,a)},rename:function(e,r,i){if(FS.isDir(e.mode)){var a;try{a=FS.lookupNode(r,i)}catch(e){}if(a)for(var f in a.contents)throw new FS.ErrnoError(ERRNO_CODES.ENOTEMPTY)}delete e.parent.contents[e.name],e.name=i,r.contents[i]=e,e.parent=r},unlink:function(e,r){delete e.contents[r]},rmdir:function(e,r){var i=FS.lookupNode(e,r);for(var a in i.contents)throw new FS.ErrnoError(ERRNO_CODES.ENOTEMPTY);delete e.contents[r]},readdir:function(e){var r=[".",".."];for(var i in e.contents)e.contents.hasOwnProperty(i)&&r.push(i);return r},symlink:function(e,r,i){var a=MEMFS.createNode(e,r,41471,0);return a.link=i,a},readlink:function(e){if(!FS.isLink(e.mode))throw new FS.ErrnoError(ERRNO_CODES.EINVAL);return e.link}},stream_ops:{read:function(e,r,i,a,f){var t=e.node.contents;if(f>=e.node.usedBytes)return 0;var n=Math.min(e.node.usedBytes-f,a);if(assert(n>=0),n>8&&t.subarray)r.set(t.subarray(f,f+n),i);else for(var o=0;o<n;o++)r[i+o]=t[f+o];return n},write:function(e,r,i,a,f,t){if(!a)return 0;var n=e.node;if(n.timestamp=Date.now(),r.subarray&&(!n.contents||n.contents.subarray)){if(t)return assert(0===f,"canOwn must imply no weird position inside the file"),n.contents=r.subarray(i,i+a),n.usedBytes=a,a;if(0===n.usedBytes&&0===f)return n.contents=new Uint8Array(r.subarray(i,i+a)),n.usedBytes=a,a;if(f+a<=n.usedBytes)return n.contents.set(r.subarray(i,i+a),f),a}if(MEMFS.expandFileStorage(n,f+a),n.contents.subarray&&r.subarray)n.contents.set(r.subarray(i,i+a),f);else for(var o=0;o<a;o++)n.contents[f+o]=r[i+o];return n.usedBytes=Math.max(n.usedBytes,f+a),a},llseek:function(e,r,i){var a=r;if(1===i?a+=e.position:2===i&&FS.isFile(e.node.mode)&&(a+=e.node.usedBytes),a<0)throw new FS.ErrnoError(ERRNO_CODES.EINVAL);return a},allocate:function(e,r,i){MEMFS.expandFileStorage(e.node,r+i),e.node.usedBytes=Math.max(e.node.usedBytes,r+i)},mmap:function(e,r,i,a,f,t,n){if(!FS.isFile(e.node.mode))throw new FS.ErrnoError(ERRNO_CODES.ENODEV);var o,s,l=e.node.contents;if(2&n||l.buffer!==r&&l.buffer!==r.buffer){if((f>0||f+a<e.node.usedBytes)&&(l=l.subarray?l.subarray(f,f+a):Array.prototype.slice.call(l,f,f+a)),s=!0,!(o=_malloc(a)))throw new FS.ErrnoError(ERRNO_CODES.ENOMEM);r.set(l,o)}else s=!1,o=l.byteOffset;return{ptr:o,allocated:s}},msync:function(e,r,i,a,f){if(!FS.isFile(e.node.mode))throw new FS.ErrnoError(ERRNO_CODES.ENODEV);if(2&f)return 0;MEMFS.stream_ops.write(e,r,0,a,i,!1);return 0}}},IDBFS={dbs:{},indexedDB:function(){if("undefined"!=typeof indexedDB)return indexedDB;var e=null;return"object"==typeof window&&(e=window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB),assert(e,"IDBFS used, but indexedDB not supported"),e},DB_VERSION:21,DB_STORE_NAME:"FILE_DATA",mount:function(e){return MEMFS.mount.apply(null,arguments)},syncfs:function(e,r,i){IDBFS.getLocalSet(e,function(a,f){if(a)return i(a);IDBFS.getRemoteSet(e,function(e,a){if(e)return i(e);var t=r?a:f,n=r?f:a;IDBFS.reconcile(t,n,i)})})},getDB:function(e,r){var i,a=IDBFS.dbs[e];if(a)return r(null,a);try{i=IDBFS.indexedDB().open(e,IDBFS.DB_VERSION)}catch(e){return r(e)}i.onupgradeneeded=function(e){var r,i=e.target.result,a=e.target.transaction;(r=i.objectStoreNames.contains(IDBFS.DB_STORE_NAME)?a.objectStore(IDBFS.DB_STORE_NAME):i.createObjectStore(IDBFS.DB_STORE_NAME)).indexNames.contains("timestamp")||r.createIndex("timestamp","timestamp",{unique:!1})},i.onsuccess=function(){a=i.result,IDBFS.dbs[e]=a,r(null,a)},i.onerror=function(e){r(this.error),e.preventDefault()}},getLocalSet:function(e,r){var i={};function a(e){return"."!==e&&".."!==e}function f(e){return function(r){return PATH.join2(e,r)}}for(var t=FS.readdir(e.mountpoint).filter(a).map(f(e.mountpoint));t.length;){var n,o=t.pop();try{n=FS.stat(o)}catch(e){return r(e)}FS.isDir(n.mode)&&t.push.apply(t,FS.readdir(o).filter(a).map(f(o))),i[o]={timestamp:n.mtime}}return r(null,{type:"local",entries:i})},getRemoteSet:function(e,r){var i={};IDBFS.getDB(e.mountpoint,function(e,a){if(e)return r(e);var f=a.transaction([IDBFS.DB_STORE_NAME],"readonly");f.onerror=function(e){r(this.error),e.preventDefault()},f.objectStore(IDBFS.DB_STORE_NAME).index("timestamp").openKeyCursor().onsuccess=function(e){var f=e.target.result;if(!f)return r(null,{type:"remote",db:a,entries:i});i[f.primaryKey]={timestamp:f.key},f.continue()}})},loadLocalEntry:function(e,r){var i,a;try{a=FS.lookupPath(e).node,i=FS.stat(e)}catch(e){return r(e)}return FS.isDir(i.mode)?r(null,{timestamp:i.mtime,mode:i.mode}):FS.isFile(i.mode)?(a.contents=MEMFS.getFileDataAsTypedArray(a),r(null,{timestamp:i.mtime,mode:i.mode,contents:a.contents})):r(new Error("node type not supported"))},storeLocalEntry:function(e,r,i){try{if(FS.isDir(r.mode))FS.mkdir(e,r.mode);else{if(!FS.isFile(r.mode))return i(new Error("node type not supported"));FS.writeFile(e,r.contents,{encoding:"binary",canOwn:!0})}FS.chmod(e,r.mode),FS.utime(e,r.timestamp,r.timestamp)}catch(e){return i(e)}i(null)},removeLocalEntry:function(e,r){try{FS.lookupPath(e);var i=FS.stat(e);FS.isDir(i.mode)?FS.rmdir(e):FS.isFile(i.mode)&&FS.unlink(e)}catch(e){return r(e)}r(null)},loadRemoteEntry:function(e,r,i){var a=e.get(r);a.onsuccess=function(e){i(null,e.target.result)},a.onerror=function(e){i(this.error),e.preventDefault()}},storeRemoteEntry:function(e,r,i,a){var f=e.put(i,r);f.onsuccess=function(){a(null)},f.onerror=function(e){a(this.error),e.preventDefault()}},removeRemoteEntry:function(e,r,i){var a=e.delete(r);a.onsuccess=function(){i(null)},a.onerror=function(e){i(this.error),e.preventDefault()}},reconcile:function(e,r,i){var a=0,f=[];Object.keys(e.entries).forEach(function(i){var t=e.entries[i],n=r.entries[i];(!n||t.timestamp>n.timestamp)&&(f.push(i),a++)});var t=[];if(Object.keys(r.entries).forEach(function(i){r.entries[i];e.entries[i]||(t.push(i),a++)}),!a)return i(null);var n=0,o=("remote"===e.type?e.db:r.db).transaction([IDBFS.DB_STORE_NAME],"readwrite"),s=o.objectStore(IDBFS.DB_STORE_NAME);function l(e){return e?l.errored?void 0:(l.errored=!0,i(e)):++n>=a?i(null):void 0}o.onerror=function(e){l(this.error),e.preventDefault()},f.sort().forEach(function(e){"local"===r.type?IDBFS.loadRemoteEntry(s,e,function(r,i){if(r)return l(r);IDBFS.storeLocalEntry(e,i,l)}):IDBFS.loadLocalEntry(e,function(r,i){if(r)return l(r);IDBFS.storeRemoteEntry(s,e,i,l)})}),t.sort().reverse().forEach(function(e){"local"===r.type?IDBFS.removeLocalEntry(e,l):IDBFS.removeRemoteEntry(s,e,l)})}},NODEFS={isWindows:!1,staticInit:function(){NODEFS.isWindows=!!process.platform.match(/^win/)},mount:function(e){return assert(ENVIRONMENT_IS_NODE),NODEFS.createNode(null,"/",NODEFS.getMode(e.opts.root),0)},createNode:function(e,r,i,a){if(!FS.isDir(i)&&!FS.isFile(i)&&!FS.isLink(i))throw new FS.ErrnoError(ERRNO_CODES.EINVAL);var f=FS.createNode(e,r,i);return f.node_ops=NODEFS.node_ops,f.stream_ops=NODEFS.stream_ops,f},getMode:function(e){var r;try{r=fs.lstatSync(e),NODEFS.isWindows&&(r.mode=r.mode|(146&r.mode)>>1)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}return r.mode},realPath:function(e){for(var r=[];e.parent!==e;)r.push(e.name),e=e.parent;return r.push(e.mount.opts.root),r.reverse(),PATH.join.apply(null,r)},flagsToPermissionStringMap:{0:"r",1:"r+",2:"r+",64:"r",65:"r+",66:"r+",129:"rx+",193:"rx+",514:"w+",577:"w",578:"w+",705:"wx",706:"wx+",1024:"a",1025:"a",1026:"a+",1089:"a",1090:"a+",1153:"ax",1154:"ax+",1217:"ax",1218:"ax+",4096:"rs",4098:"rs+"},flagsToPermissionString:function(e){if(e&=-32769,(e&=-524289)in NODEFS.flagsToPermissionStringMap)return NODEFS.flagsToPermissionStringMap[e];throw new FS.ErrnoError(ERRNO_CODES.EINVAL)},node_ops:{getattr:function(e){var r,i=NODEFS.realPath(e);try{r=fs.lstatSync(i)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}return NODEFS.isWindows&&!r.blksize&&(r.blksize=4096),NODEFS.isWindows&&!r.blocks&&(r.blocks=(r.size+r.blksize-1)/r.blksize|0),{dev:r.dev,ino:r.ino,mode:r.mode,nlink:r.nlink,uid:r.uid,gid:r.gid,rdev:r.rdev,size:r.size,atime:r.atime,mtime:r.mtime,ctime:r.ctime,blksize:r.blksize,blocks:r.blocks}},setattr:function(e,r){var i=NODEFS.realPath(e);try{if(void 0!==r.mode&&(fs.chmodSync(i,r.mode),e.mode=r.mode),void 0!==r.timestamp){var a=new Date(r.timestamp);fs.utimesSync(i,a,a)}void 0!==r.size&&fs.truncateSync(i,r.size)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}},lookup:function(e,r){var i=PATH.join2(NODEFS.realPath(e),r),a=NODEFS.getMode(i);return NODEFS.createNode(e,r,a)},mknod:function(e,r,i,a){var f=NODEFS.createNode(e,r,i,a),t=NODEFS.realPath(f);try{FS.isDir(f.mode)?fs.mkdirSync(t,f.mode):fs.writeFileSync(t,"",{mode:f.mode})}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}return f},rename:function(e,r,i){var a=NODEFS.realPath(e),f=PATH.join2(NODEFS.realPath(r),i);try{fs.renameSync(a,f)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}},unlink:function(e,r){var i=PATH.join2(NODEFS.realPath(e),r);try{fs.unlinkSync(i)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}},rmdir:function(e,r){var i=PATH.join2(NODEFS.realPath(e),r);try{fs.rmdirSync(i)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}},readdir:function(e){var r=NODEFS.realPath(e);try{return fs.readdirSync(r)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}},symlink:function(e,r,i){var a=PATH.join2(NODEFS.realPath(e),r);try{fs.symlinkSync(i,a)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}},readlink:function(e){var r=NODEFS.realPath(e);try{return r=fs.readlinkSync(r),r=NODEJS_PATH.relative(NODEJS_PATH.resolve(e.mount.opts.root),r)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}}},stream_ops:{open:function(e){var r=NODEFS.realPath(e.node);try{FS.isFile(e.node.mode)&&(e.nfd=fs.openSync(r,NODEFS.flagsToPermissionString(e.flags)))}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}},close:function(e){try{FS.isFile(e.node.mode)&&e.nfd&&fs.closeSync(e.nfd)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}},read:function(e,r,i,a,f){if(0===a)return 0;var t,n=new Buffer(a);try{t=fs.readSync(e.nfd,n,0,a,f)}catch(e){throw new FS.ErrnoError(ERRNO_CODES[e.code])}if(t>0)for(var o=0;o<t;o++)r[i+o]=n[o];return t},write:function(e,r,i,a,f){var t,n=new Buffer(r.subarray(i,i+a));try{t=fs.writeSync(e.nfd,n,0,a,f)}catch(e){throw new FS.ErrnoError(ERRNO_CODES[e.code])}return t},llseek:function(e,r,i){var a=r;if(1===i)a+=e.position;else if(2===i&&FS.isFile(e.node.mode))try{a+=fs.fstatSync(e.nfd).size}catch(e){throw new FS.ErrnoError(ERRNO_CODES[e.code])}if(a<0)throw new FS.ErrnoError(ERRNO_CODES.EINVAL);return a}}},WORKERFS={DIR_MODE:16895,FILE_MODE:33279,reader:null,mount:function(e){assert(ENVIRONMENT_IS_WORKER),WORKERFS.reader||(WORKERFS.reader=new FileReaderSync);var r=WORKERFS.createNode(null,"/",WORKERFS.DIR_MODE,0),i={};function a(e){for(var a=e.split("/"),f=r,t=0;t<a.length-1;t++){var n=a.slice(0,t+1).join("/");i[n]||(i[n]=WORKERFS.createNode(f,n,WORKERFS.DIR_MODE,0)),f=i[n]}return f}function f(e){var r=e.split("/");return r[r.length-1]}return Array.prototype.forEach.call(e.opts.files||[],function(e){WORKERFS.createNode(a(e.name),f(e.name),WORKERFS.FILE_MODE,0,e,e.lastModifiedDate)}),(e.opts.blobs||[]).forEach(function(e){WORKERFS.createNode(a(e.name),f(e.name),WORKERFS.FILE_MODE,0,e.data)}),(e.opts.packages||[]).forEach(function(e){e.metadata.files.forEach(function(r){var i=r.filename.substr(1);WORKERFS.createNode(a(i),f(i),WORKERFS.FILE_MODE,0,e.blob.slice(r.start,r.end))})}),r},createNode:function(e,r,i,a,f,t){var n=FS.createNode(e,r,i);return n.mode=i,n.node_ops=WORKERFS.node_ops,n.stream_ops=WORKERFS.stream_ops,n.timestamp=(t||new Date).getTime(),assert(WORKERFS.FILE_MODE!==WORKERFS.DIR_MODE),i===WORKERFS.FILE_MODE?(n.size=f.size,n.contents=f):(n.size=4096,n.contents={}),e&&(e.contents[r]=n),n},node_ops:{getattr:function(e){return{dev:1,ino:void 0,mode:e.mode,nlink:1,uid:0,gid:0,rdev:void 0,size:e.size,atime:new Date(e.timestamp),mtime:new Date(e.timestamp),ctime:new Date(e.timestamp),blksize:4096,blocks:Math.ceil(e.size/4096)}},setattr:function(e,r){void 0!==r.mode&&(e.mode=r.mode),void 0!==r.timestamp&&(e.timestamp=r.timestamp)},lookup:function(e,r){throw new FS.ErrnoError(ERRNO_CODES.ENOENT)},mknod:function(e,r,i,a){throw new FS.ErrnoError(ERRNO_CODES.EPERM)},rename:function(e,r,i){throw new FS.ErrnoError(ERRNO_CODES.EPERM)},unlink:function(e,r){throw new FS.ErrnoError(ERRNO_CODES.EPERM)},rmdir:function(e,r){throw new FS.ErrnoError(ERRNO_CODES.EPERM)},readdir:function(e){throw new FS.ErrnoError(ERRNO_CODES.EPERM)},symlink:function(e,r,i){throw new FS.ErrnoError(ERRNO_CODES.EPERM)},readlink:function(e){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}},stream_ops:{read:function(e,r,i,a,f){if(f>=e.node.size)return 0;var t=e.node.contents.slice(f,f+a),n=WORKERFS.reader.readAsArrayBuffer(t);return r.set(new Uint8Array(n),i),t.size},write:function(e,r,i,a,f){throw new FS.ErrnoError(ERRNO_CODES.EIO)},llseek:function(e,r,i){var a=r;if(1===i?a+=e.position:2===i&&FS.isFile(e.node.mode)&&(a+=e.node.size),a<0)throw new FS.ErrnoError(ERRNO_CODES.EINVAL);return a}}},_stdin=STATICTOP;STATICTOP+=16;var _stdout=STATICTOP;STATICTOP+=16;var _stderr=STATICTOP;STATICTOP+=16;var FS={root:null,mounts:[],devices:[null],streams:[],nextInode:1,nameTable:null,currentPath:"/",initialized:!1,ignorePermissions:!0,trackingDelegate:{},tracking:{openFlags:{READ:1,WRITE:2}},ErrnoError:null,genericErrors:{},filesystems:null,syncFSRequests:0,handleFSError:function(e){if(!(e instanceof FS.ErrnoError))throw e+" : "+stackTrace();return ___setErrNo(e.errno)},lookupPath:function(e,r){if(r=r||{},!(e=PATH.resolve(FS.cwd(),e)))return{path:"",node:null};var i={follow_mount:!0,recurse_count:0};for(var a in i)void 0===r[a]&&(r[a]=i[a]);if(r.recurse_count>8)throw new FS.ErrnoError(ERRNO_CODES.ELOOP);for(var f=PATH.normalizeArray(e.split("/").filter(function(e){return!!e}),!1),t=FS.root,n="/",o=0;o<f.length;o++){var s=o===f.length-1;if(s&&r.parent)break;if(t=FS.lookupNode(t,f[o]),n=PATH.join2(n,f[o]),FS.isMountpoint(t)&&(!s||s&&r.follow_mount)&&(t=t.mounted.root),!s||r.follow)for(var l=0;FS.isLink(t.mode);){var u=FS.readlink(n);if(n=PATH.resolve(PATH.dirname(n),u),t=FS.lookupPath(n,{recurse_count:r.recurse_count}).node,l++>40)throw new FS.ErrnoError(ERRNO_CODES.ELOOP)}}return{path:n,node:t}},getPath:function(e){for(var r;;){if(FS.isRoot(e)){var i=e.mount.mountpoint;return r?"/"!==i[i.length-1]?i+"/"+r:i+r:i}r=r?e.name+"/"+r:e.name,e=e.parent}},hashName:function(e,r){for(var i=0,a=0;a<r.length;a++)i=(i<<5)-i+r.charCodeAt(a)|0;return(e+i>>>0)%FS.nameTable.length},hashAddNode:function(e){var r=FS.hashName(e.parent.id,e.name);e.name_next=FS.nameTable[r],FS.nameTable[r]=e},hashRemoveNode:function(e){var r=FS.hashName(e.parent.id,e.name);if(FS.nameTable[r]===e)FS.nameTable[r]=e.name_next;else for(var i=FS.nameTable[r];i;){if(i.name_next===e){i.name_next=e.name_next;break}i=i.name_next}},lookupNode:function(e,r){var i=FS.mayLookup(e);if(i)throw new FS.ErrnoError(i,e);for(var a=FS.hashName(e.id,r),f=FS.nameTable[a];f;f=f.name_next){var t=f.name;if(f.parent.id===e.id&&t===r)return f}return FS.lookup(e,r)},createNode:function(e,r,i,a){if(!FS.FSNode){FS.FSNode=function(e,r,i,a){e||(e=this),this.parent=e,this.mount=e.mount,this.mounted=null,this.id=FS.nextInode++,this.name=r,this.mode=i,this.node_ops={},this.stream_ops={},this.rdev=a},FS.FSNode.prototype={};Object.defineProperties(FS.FSNode.prototype,{read:{get:function(){return 365==(365&this.mode)},set:function(e){e?this.mode|=365:this.mode&=-366}},write:{get:function(){return 146==(146&this.mode)},set:function(e){e?this.mode|=146:this.mode&=-147}},isFolder:{get:function(){return FS.isDir(this.mode)}},isDevice:{get:function(){return FS.isChrdev(this.mode)}}})}var f=new FS.FSNode(e,r,i,a);return FS.hashAddNode(f),f},destroyNode:function(e){FS.hashRemoveNode(e)},isRoot:function(e){return e===e.parent},isMountpoint:function(e){return!!e.mounted},isFile:function(e){return 32768==(61440&e)},isDir:function(e){return 16384==(61440&e)},isLink:function(e){return 40960==(61440&e)},isChrdev:function(e){return 8192==(61440&e)},isBlkdev:function(e){return 24576==(61440&e)},isFIFO:function(e){return 4096==(61440&e)},isSocket:function(e){return 49152==(49152&e)},flagModes:{r:0,rs:1052672,"r+":2,w:577,wx:705,xw:705,"w+":578,"wx+":706,"xw+":706,a:1089,ax:1217,xa:1217,"a+":1090,"ax+":1218,"xa+":1218},modeStringToFlags:function(e){var r=FS.flagModes[e];if(void 0===r)throw new Error("Unknown file open mode: "+e);return r},flagsToPermissionString:function(e){var r=["r","w","rw"][3&e];return 512&e&&(r+="w"),r},nodePermissions:function(e,r){return FS.ignorePermissions?0:(-1===r.indexOf("r")||292&e.mode)&&(-1===r.indexOf("w")||146&e.mode)&&(-1===r.indexOf("x")||73&e.mode)?0:ERRNO_CODES.EACCES},mayLookup:function(e){var r=FS.nodePermissions(e,"x");return r||(e.node_ops.lookup?0:ERRNO_CODES.EACCES)},mayCreate:function(e,r){try{FS.lookupNode(e,r);return ERRNO_CODES.EEXIST}catch(e){}return FS.nodePermissions(e,"wx")},mayDelete:function(e,r,i){var a;try{a=FS.lookupNode(e,r)}catch(e){return e.errno}var f=FS.nodePermissions(e,"wx");if(f)return f;if(i){if(!FS.isDir(a.mode))return ERRNO_CODES.ENOTDIR;if(FS.isRoot(a)||FS.getPath(a)===FS.cwd())return ERRNO_CODES.EBUSY}else if(FS.isDir(a.mode))return ERRNO_CODES.EISDIR;return 0},mayOpen:function(e,r){return e?FS.isLink(e.mode)?ERRNO_CODES.ELOOP:FS.isDir(e.mode)&&("r"!==FS.flagsToPermissionString(r)||512&r)?ERRNO_CODES.EISDIR:FS.nodePermissions(e,FS.flagsToPermissionString(r)):ERRNO_CODES.ENOENT},MAX_OPEN_FDS:4096,nextfd:function(e,r){e=e||0,r=r||FS.MAX_OPEN_FDS;for(var i=e;i<=r;i++)if(!FS.streams[i])return i;throw new FS.ErrnoError(ERRNO_CODES.EMFILE)},getStream:function(e){return FS.streams[e]},createStream:function(e,r,i){FS.FSStream||(FS.FSStream=function(){},FS.FSStream.prototype={},Object.defineProperties(FS.FSStream.prototype,{object:{get:function(){return this.node},set:function(e){this.node=e}},isRead:{get:function(){return 1!=(2097155&this.flags)}},isWrite:{get:function(){return 0!=(2097155&this.flags)}},isAppend:{get:function(){return 1024&this.flags}}}));var a=new FS.FSStream;for(var f in e)a[f]=e[f];e=a;var t=FS.nextfd(r,i);return e.fd=t,FS.streams[t]=e,e},closeStream:function(e){FS.streams[e]=null},chrdev_stream_ops:{open:function(e){var r=FS.getDevice(e.node.rdev);e.stream_ops=r.stream_ops,e.stream_ops.open&&e.stream_ops.open(e)},llseek:function(){throw new FS.ErrnoError(ERRNO_CODES.ESPIPE)}},major:function(e){return e>>8},minor:function(e){return 255&e},makedev:function(e,r){return e<<8|r},registerDevice:function(e,r){FS.devices[e]={stream_ops:r}},getDevice:function(e){return FS.devices[e]},getMounts:function(e){for(var r=[],i=[e];i.length;){var a=i.pop();r.push(a),i.push.apply(i,a.mounts)}return r},syncfs:function(e,r){"function"==typeof e&&(r=e,e=!1),FS.syncFSRequests++,FS.syncFSRequests>1&&console.log("warning: "+FS.syncFSRequests+" FS.syncfs operations in flight at once, probably just doing extra work");var i=FS.getMounts(FS.root.mount),a=0;function f(e){return assert(FS.syncFSRequests>0),FS.syncFSRequests--,r(e)}function t(e){if(e)return t.errored?void 0:(t.errored=!0,f(e));++a>=i.length&&f(null)}i.forEach(function(r){if(!r.type.syncfs)return t(null);r.type.syncfs(r,e,t)})},mount:function(e,r,i){var a,f="/"===i,t=!i;if(f&&FS.root)throw new FS.ErrnoError(ERRNO_CODES.EBUSY);if(!f&&!t){var n=FS.lookupPath(i,{follow_mount:!1});if(i=n.path,a=n.node,FS.isMountpoint(a))throw new FS.ErrnoError(ERRNO_CODES.EBUSY);if(!FS.isDir(a.mode))throw new FS.ErrnoError(ERRNO_CODES.ENOTDIR)}var o={type:e,opts:r,mountpoint:i,mounts:[]},s=e.mount(o);return s.mount=o,o.root=s,f?FS.root=s:a&&(a.mounted=o,a.mount&&a.mount.mounts.push(o)),s},unmount:function(e){var r=FS.lookupPath(e,{follow_mount:!1});if(!FS.isMountpoint(r.node))throw new FS.ErrnoError(ERRNO_CODES.EINVAL);var i=r.node,a=i.mounted,f=FS.getMounts(a);Object.keys(FS.nameTable).forEach(function(e){for(var r=FS.nameTable[e];r;){var i=r.name_next;-1!==f.indexOf(r.mount)&&FS.destroyNode(r),r=i}}),i.mounted=null;var t=i.mount.mounts.indexOf(a);assert(-1!==t),i.mount.mounts.splice(t,1)},lookup:function(e,r){return e.node_ops.lookup(e,r)},mknod:function(e,r,i){var a=FS.lookupPath(e,{parent:!0}).node,f=PATH.basename(e);if(!f||"."===f||".."===f)throw new FS.ErrnoError(ERRNO_CODES.EINVAL);var t=FS.mayCreate(a,f);if(t)throw new FS.ErrnoError(t);if(!a.node_ops.mknod)throw new FS.ErrnoError(ERRNO_CODES.EPERM);return a.node_ops.mknod(a,f,r,i)},create:function(e,r){return r=void 0!==r?r:438,r&=4095,r|=32768,FS.mknod(e,r,0)},mkdir:function(e,r){return r=void 0!==r?r:511,r&=1023,r|=16384,FS.mknod(e,r,0)},mkdev:function(e,r,i){return void 0===i&&(i=r,r=438),r|=8192,FS.mknod(e,r,i)},symlink:function(e,r){if(!PATH.resolve(e))throw new FS.ErrnoError(ERRNO_CODES.ENOENT);var i=FS.lookupPath(r,{parent:!0}).node;if(!i)throw new FS.ErrnoError(ERRNO_CODES.ENOENT);var a=PATH.basename(r),f=FS.mayCreate(i,a);if(f)throw new FS.ErrnoError(f);if(!i.node_ops.symlink)throw new FS.ErrnoError(ERRNO_CODES.EPERM);return i.node_ops.symlink(i,a,e)},rename:function(e,r){var i,a,f=PATH.dirname(e),t=PATH.dirname(r),n=PATH.basename(e),o=PATH.basename(r);try{i=FS.lookupPath(e,{parent:!0}).node,a=FS.lookupPath(r,{parent:!0}).node}catch(e){throw new FS.ErrnoError(ERRNO_CODES.EBUSY)}if(!i||!a)throw new FS.ErrnoError(ERRNO_CODES.ENOENT);if(i.mount!==a.mount)throw new FS.ErrnoError(ERRNO_CODES.EXDEV);var s,l=FS.lookupNode(i,n),u=PATH.relative(e,t);if("."!==u.charAt(0))throw new FS.ErrnoError(ERRNO_CODES.EINVAL);if("."!==(u=PATH.relative(r,f)).charAt(0))throw new FS.ErrnoError(ERRNO_CODES.ENOTEMPTY);try{s=FS.lookupNode(a,o)}catch(e){}if(l!==s){var c=FS.isDir(l.mode),b=FS.mayDelete(i,n,c);if(b)throw new FS.ErrnoError(b);if(b=s?FS.mayDelete(a,o,c):FS.mayCreate(a,o))throw new FS.ErrnoError(b);if(!i.node_ops.rename)throw new FS.ErrnoError(ERRNO_CODES.EPERM);if(FS.isMountpoint(l)||s&&FS.isMountpoint(s))throw new FS.ErrnoError(ERRNO_CODES.EBUSY);if(a!==i&&(b=FS.nodePermissions(i,"w")))throw new FS.ErrnoError(b);try{FS.trackingDelegate.willMovePath&&FS.trackingDelegate.willMovePath(e,r)}catch(i){console.log("FS.trackingDelegate['willMovePath']('"+e+"', '"+r+"') threw an exception: "+i.message)}FS.hashRemoveNode(l);try{i.node_ops.rename(l,a,o)}catch(e){throw e}finally{FS.hashAddNode(l)}try{FS.trackingDelegate.onMovePath&&FS.trackingDelegate.onMovePath(e,r)}catch(i){console.log("FS.trackingDelegate['onMovePath']('"+e+"', '"+r+"') threw an exception: "+i.message)}}},rmdir:function(e){var r=FS.lookupPath(e,{parent:!0}).node,i=PATH.basename(e),a=FS.lookupNode(r,i),f=FS.mayDelete(r,i,!0);if(f)throw new FS.ErrnoError(f);if(!r.node_ops.rmdir)throw new FS.ErrnoError(ERRNO_CODES.EPERM);if(FS.isMountpoint(a))throw new FS.ErrnoError(ERRNO_CODES.EBUSY);try{FS.trackingDelegate.willDeletePath&&FS.trackingDelegate.willDeletePath(e)}catch(r){console.log("FS.trackingDelegate['willDeletePath']('"+e+"') threw an exception: "+r.message)}r.node_ops.rmdir(r,i),FS.destroyNode(a);try{FS.trackingDelegate.onDeletePath&&FS.trackingDelegate.onDeletePath(e)}catch(r){console.log("FS.trackingDelegate['onDeletePath']('"+e+"') threw an exception: "+r.message)}},readdir:function(e){var r=FS.lookupPath(e,{follow:!0}).node;if(!r.node_ops.readdir)throw new FS.ErrnoError(ERRNO_CODES.ENOTDIR);return r.node_ops.readdir(r)},unlink:function(e){var r=FS.lookupPath(e,{parent:!0}).node,i=PATH.basename(e),a=FS.lookupNode(r,i),f=FS.mayDelete(r,i,!1);if(f)throw f===ERRNO_CODES.EISDIR&&(f=ERRNO_CODES.EPERM),new FS.ErrnoError(f);if(!r.node_ops.unlink)throw new FS.ErrnoError(ERRNO_CODES.EPERM);if(FS.isMountpoint(a))throw new FS.ErrnoError(ERRNO_CODES.EBUSY);try{FS.trackingDelegate.willDeletePath&&FS.trackingDelegate.willDeletePath(e)}catch(r){console.log("FS.trackingDelegate['willDeletePath']('"+e+"') threw an exception: "+r.message)}r.node_ops.unlink(r,i),FS.destroyNode(a);try{FS.trackingDelegate.onDeletePath&&FS.trackingDelegate.onDeletePath(e)}catch(r){console.log("FS.trackingDelegate['onDeletePath']('"+e+"') threw an exception: "+r.message)}},readlink:function(e){var r=FS.lookupPath(e).node;if(!r)throw new FS.ErrnoError(ERRNO_CODES.ENOENT);if(!r.node_ops.readlink)throw new FS.ErrnoError(ERRNO_CODES.EINVAL);return PATH.resolve(FS.getPath(r.parent),r.node_ops.readlink(r))},stat:function(e,r){var i=FS.lookupPath(e,{follow:!r}).node;if(!i)throw new FS.ErrnoError(ERRNO_CODES.ENOENT);if(!i.node_ops.getattr)throw new FS.ErrnoError(ERRNO_CODES.EPERM);return i.node_ops.getattr(i)},lstat:function(e){return FS.stat(e,!0)},chmod:function(e,r,i){var a;"string"==typeof e?a=FS.lookupPath(e,{follow:!i}).node:a=e;if(!a.node_ops.setattr)throw new FS.ErrnoError(ERRNO_CODES.EPERM);a.node_ops.setattr(a,{mode:4095&r|-4096&a.mode,timestamp:Date.now()})},lchmod:function(e,r){FS.chmod(e,r,!0)},fchmod:function(e,r){var i=FS.getStream(e);if(!i)throw new FS.ErrnoError(ERRNO_CODES.EBADF);FS.chmod(i.node,r)},chown:function(e,r,i,a){var f;"string"==typeof e?f=FS.lookupPath(e,{follow:!a}).node:f=e;if(!f.node_ops.setattr)throw new FS.ErrnoError(ERRNO_CODES.EPERM);f.node_ops.setattr(f,{timestamp:Date.now()})},lchown:function(e,r,i){FS.chown(e,r,i,!0)},fchown:function(e,r,i){var a=FS.getStream(e);if(!a)throw new FS.ErrnoError(ERRNO_CODES.EBADF);FS.chown(a.node,r,i)},truncate:function(e,r){if(r<0)throw new FS.ErrnoError(ERRNO_CODES.EINVAL);var i;"string"==typeof e?i=FS.lookupPath(e,{follow:!0}).node:i=e;if(!i.node_ops.setattr)throw new FS.ErrnoError(ERRNO_CODES.EPERM);if(FS.isDir(i.mode))throw new FS.ErrnoError(ERRNO_CODES.EISDIR);if(!FS.isFile(i.mode))throw new FS.ErrnoError(ERRNO_CODES.EINVAL);var a=FS.nodePermissions(i,"w");if(a)throw new FS.ErrnoError(a);i.node_ops.setattr(i,{size:r,timestamp:Date.now()})},ftruncate:function(e,r){var i=FS.getStream(e);if(!i)throw new FS.ErrnoError(ERRNO_CODES.EBADF);if(0==(2097155&i.flags))throw new FS.ErrnoError(ERRNO_CODES.EINVAL);FS.truncate(i.node,r)},utime:function(e,r,i){var a=FS.lookupPath(e,{follow:!0}).node;a.node_ops.setattr(a,{timestamp:Math.max(r,i)})},open:function(e,r,i,a,f){if(""===e)throw new FS.ErrnoError(ERRNO_CODES.ENOENT);var t;if(i=void 0===i?438:i,i=64&(r="string"==typeof r?FS.modeStringToFlags(r):r)?4095&i|32768:0,"object"==typeof e)t=e;else{e=PATH.normalize(e);try{t=FS.lookupPath(e,{follow:!(131072&r)}).node}catch(e){}}var n=!1;if(64&r)if(t){if(128&r)throw new FS.ErrnoError(ERRNO_CODES.EEXIST)}else t=FS.mknod(e,i,0),n=!0;if(!t)throw new FS.ErrnoError(ERRNO_CODES.ENOENT);if(FS.isChrdev(t.mode)&&(r&=-513),65536&r&&!FS.isDir(t.mode))throw new FS.ErrnoError(ERRNO_CODES.ENOTDIR);if(!n){var o=FS.mayOpen(t,r);if(o)throw new FS.ErrnoError(o)}512&r&&FS.truncate(t,0),r&=-641;var s=FS.createStream({node:t,path:FS.getPath(t),flags:r,seekable:!0,position:0,stream_ops:t.stream_ops,ungotten:[],error:!1},a,f);s.stream_ops.open&&s.stream_ops.open(s),!Module.logReadFiles||1&r||(FS.readFiles||(FS.readFiles={}),e in FS.readFiles||(FS.readFiles[e]=1,Module.printErr("read file: "+e)));try{if(FS.trackingDelegate.onOpenFile){var l=0;1!=(2097155&r)&&(l|=FS.tracking.openFlags.READ),0!=(2097155&r)&&(l|=FS.tracking.openFlags.WRITE),FS.trackingDelegate.onOpenFile(e,l)}}catch(r){console.log("FS.trackingDelegate['onOpenFile']('"+e+"', flags) threw an exception: "+r.message)}return s},close:function(e){e.getdents&&(e.getdents=null);try{e.stream_ops.close&&e.stream_ops.close(e)}catch(e){throw e}finally{FS.closeStream(e.fd)}},llseek:function(e,r,i){if(!e.seekable||!e.stream_ops.llseek)throw new FS.ErrnoError(ERRNO_CODES.ESPIPE);return e.position=e.stream_ops.llseek(e,r,i),e.ungotten=[],e.position},read:function(e,r,i,a,f){if(a<0||f<0)throw new FS.ErrnoError(ERRNO_CODES.EINVAL);if(1==(2097155&e.flags))throw new FS.ErrnoError(ERRNO_CODES.EBADF);if(FS.isDir(e.node.mode))throw new FS.ErrnoError(ERRNO_CODES.EISDIR);if(!e.stream_ops.read)throw new FS.ErrnoError(ERRNO_CODES.EINVAL);var t=!0;if(void 0===f)f=e.position,t=!1;else if(!e.seekable)throw new FS.ErrnoError(ERRNO_CODES.ESPIPE);var n=e.stream_ops.read(e,r,i,a,f);return t||(e.position+=n),n},write:function(e,r,i,a,f,t){if(a<0||f<0)throw new FS.ErrnoError(ERRNO_CODES.EINVAL);if(0==(2097155&e.flags))throw new FS.ErrnoError(ERRNO_CODES.EBADF);if(FS.isDir(e.node.mode))throw new FS.ErrnoError(ERRNO_CODES.EISDIR);if(!e.stream_ops.write)throw new FS.ErrnoError(ERRNO_CODES.EINVAL);1024&e.flags&&FS.llseek(e,0,2);var n=!0;if(void 0===f)f=e.position,n=!1;else if(!e.seekable)throw new FS.ErrnoError(ERRNO_CODES.ESPIPE);var o=e.stream_ops.write(e,r,i,a,f,t);n||(e.position+=o);try{e.path&&FS.trackingDelegate.onWriteToFile&&FS.trackingDelegate.onWriteToFile(e.path)}catch(e){console.log("FS.trackingDelegate['onWriteToFile']('"+path+"') threw an exception: "+e.message)}return o},allocate:function(e,r,i){if(r<0||i<=0)throw new FS.ErrnoError(ERRNO_CODES.EINVAL);if(0==(2097155&e.flags))throw new FS.ErrnoError(ERRNO_CODES.EBADF);if(!FS.isFile(e.node.mode)&&!FS.isDir(node.mode))throw new FS.ErrnoError(ERRNO_CODES.ENODEV);if(!e.stream_ops.allocate)throw new FS.ErrnoError(ERRNO_CODES.EOPNOTSUPP);e.stream_ops.allocate(e,r,i)},mmap:function(e,r,i,a,f,t,n){if(1==(2097155&e.flags))throw new FS.ErrnoError(ERRNO_CODES.EACCES);if(!e.stream_ops.mmap)throw new FS.ErrnoError(ERRNO_CODES.ENODEV);return e.stream_ops.mmap(e,r,i,a,f,t,n)},msync:function(e,r,i,a,f){return e&&e.stream_ops.msync?e.stream_ops.msync(e,r,i,a,f):0},munmap:function(e){return 0},ioctl:function(e,r,i){if(!e.stream_ops.ioctl)throw new FS.ErrnoError(ERRNO_CODES.ENOTTY);return e.stream_ops.ioctl(e,r,i)},readFile:function(e,r){if((r=r||{}).flags=r.flags||"r",r.encoding=r.encoding||"binary","utf8"!==r.encoding&&"binary"!==r.encoding)throw new Error('Invalid encoding type "'+r.encoding+'"');var i,a=FS.open(e,r.flags),f=FS.stat(e).size,t=new Uint8Array(f);return FS.read(a,t,0,f,0),"utf8"===r.encoding?i=UTF8ArrayToString(t,0):"binary"===r.encoding&&(i=t),FS.close(a),i},writeFile:function(e,r,i){if((i=i||{}).flags=i.flags||"w",i.encoding=i.encoding||"utf8","utf8"!==i.encoding&&"binary"!==i.encoding)throw new Error('Invalid encoding type "'+i.encoding+'"');var a=FS.open(e,i.flags,i.mode);if("utf8"===i.encoding){var f=new Uint8Array(lengthBytesUTF8(r)+1),t=stringToUTF8Array(r,f,0,f.length);FS.write(a,f,0,t,0,i.canOwn)}else"binary"===i.encoding&&FS.write(a,r,0,r.length,0,i.canOwn);FS.close(a)},cwd:function(){return FS.currentPath},chdir:function(e){var r=FS.lookupPath(e,{follow:!0});if(!FS.isDir(r.node.mode))throw new FS.ErrnoError(ERRNO_CODES.ENOTDIR);var i=FS.nodePermissions(r.node,"x");if(i)throw new FS.ErrnoError(i);FS.currentPath=r.path},createDefaultDirectories:function(){FS.mkdir("/tmp"),FS.mkdir("/home"),FS.mkdir("/home/web_user")},createDefaultDevices:function(){var e;if(FS.mkdir("/dev"),FS.registerDevice(FS.makedev(1,3),{read:function(){return 0},write:function(e,r,i,a,f){return a}}),FS.mkdev("/dev/null",FS.makedev(1,3)),TTY.register(FS.makedev(5,0),TTY.default_tty_ops),TTY.register(FS.makedev(6,0),TTY.default_tty1_ops),FS.mkdev("/dev/tty",FS.makedev(5,0)),FS.mkdev("/dev/tty1",FS.makedev(6,0)),"undefined"!=typeof crypto){var r=new Uint8Array(1);e=function(){return crypto.getRandomValues(r),r[0]}}else e=ENVIRONMENT_IS_NODE?function(){return require("crypto").randomBytes(1)[0]}:function(){return 256*Math.random()|0};FS.createDevice("/dev","random",e),FS.createDevice("/dev","urandom",e),FS.mkdir("/dev/shm"),FS.mkdir("/dev/shm/tmp")},createSpecialDirectories:function(){FS.mkdir("/proc"),FS.mkdir("/proc/self"),FS.mkdir("/proc/self/fd"),FS.mount({mount:function(){var e=FS.createNode("/proc/self","fd",16895,73);return e.node_ops={lookup:function(e,r){var i=+r,a=FS.getStream(i);if(!a)throw new FS.ErrnoError(ERRNO_CODES.EBADF);var f={parent:null,mount:{mountpoint:"fake"},node_ops:{readlink:function(){return a.path}}};return f.parent=f,f}},e}},{},"/proc/self/fd")},createStandardStreams:function(){Module.stdin?FS.createDevice("/dev","stdin",Module.stdin):FS.symlink("/dev/tty","/dev/stdin"),Module.stdout?FS.createDevice("/dev","stdout",null,Module.stdout):FS.symlink("/dev/tty","/dev/stdout"),Module.stderr?FS.createDevice("/dev","stderr",null,Module.stderr):FS.symlink("/dev/tty1","/dev/stderr");var e=FS.open("/dev/stdin","r");assert(0===e.fd,"invalid handle for stdin ("+e.fd+")");var r=FS.open("/dev/stdout","w");assert(1===r.fd,"invalid handle for stdout ("+r.fd+")");var i=FS.open("/dev/stderr","w");assert(2===i.fd,"invalid handle for stderr ("+i.fd+")")},ensureErrnoError:function(){FS.ErrnoError||(FS.ErrnoError=function(e,r){this.node=r,this.setErrno=function(e){for(var r in this.errno=e,ERRNO_CODES)if(ERRNO_CODES[r]===e){this.code=r;break}},this.setErrno(e),this.message=ERRNO_MESSAGES[e],this.stack&&(this.stack=demangleAll(this.stack))},FS.ErrnoError.prototype=new Error,FS.ErrnoError.prototype.constructor=FS.ErrnoError,[ERRNO_CODES.ENOENT].forEach(function(e){FS.genericErrors[e]=new FS.ErrnoError(e),FS.genericErrors[e].stack="<generic error, no stack>"}))},staticInit:function(){FS.ensureErrnoError(),FS.nameTable=new Array(4096),FS.mount(MEMFS,{},"/"),FS.createDefaultDirectories(),FS.createDefaultDevices(),FS.createSpecialDirectories(),FS.filesystems={MEMFS:MEMFS,IDBFS:IDBFS,NODEFS:NODEFS,WORKERFS:WORKERFS}},init:function(e,r,i){assert(!FS.init.initialized,"FS.init was previously called. If you want to initialize later with custom parameters, remove any earlier calls (note that one is automatically added to the generated code)"),FS.init.initialized=!0,FS.ensureErrnoError(),Module.stdin=e||Module.stdin,Module.stdout=r||Module.stdout,Module.stderr=i||Module.stderr,FS.createStandardStreams()},quit:function(){FS.init.initialized=!1;var e=Module._fflush;e&&e(0);for(var r=0;r<FS.streams.length;r++){var i=FS.streams[r];i&&FS.close(i)}},getMode:function(e,r){var i=0;return e&&(i|=365),r&&(i|=146),i},joinPath:function(e,r){var i=PATH.join.apply(null,e);return r&&"/"==i[0]&&(i=i.substr(1)),i},absolutePath:function(e,r){return PATH.resolve(r,e)},standardizePath:function(e){return PATH.normalize(e)},findObject:function(e,r){var i=FS.analyzePath(e,r);return i.exists?i.object:(___setErrNo(i.error),null)},analyzePath:function(e,r){try{e=(a=FS.lookupPath(e,{follow:!r})).path}catch(e){}var i={isRoot:!1,exists:!1,error:0,name:null,path:null,object:null,parentExists:!1,parentPath:null,parentObject:null};try{var a=FS.lookupPath(e,{parent:!0});i.parentExists=!0,i.parentPath=a.path,i.parentObject=a.node,i.name=PATH.basename(e),a=FS.lookupPath(e,{follow:!r}),i.exists=!0,i.path=a.path,i.object=a.node,i.name=a.node.name,i.isRoot="/"===a.path}catch(e){i.error=e.errno}return i},createFolder:function(e,r,i,a){var f=PATH.join2("string"==typeof e?e:FS.getPath(e),r),t=FS.getMode(i,a);return FS.mkdir(f,t)},createPath:function(e,r,i,a){e="string"==typeof e?e:FS.getPath(e);for(var f=r.split("/").reverse();f.length;){var t=f.pop();if(t){var n=PATH.join2(e,t);try{FS.mkdir(n)}catch(e){}e=n}}return n},createFile:function(e,r,i,a,f){var t=PATH.join2("string"==typeof e?e:FS.getPath(e),r),n=FS.getMode(a,f);return FS.create(t,n)},createDataFile:function(e,r,i,a,f,t){var n=r?PATH.join2("string"==typeof e?e:FS.getPath(e),r):e,o=FS.getMode(a,f),s=FS.create(n,o);if(i){if("string"==typeof i){for(var l=new Array(i.length),u=0,c=i.length;u<c;++u)l[u]=i.charCodeAt(u);i=l}FS.chmod(s,146|o);var b=FS.open(s,"w");FS.write(b,i,0,i.length,0,t),FS.close(b),FS.chmod(s,o)}return s},createDevice:function(e,r,i,a){var f=PATH.join2("string"==typeof e?e:FS.getPath(e),r),t=FS.getMode(!!i,!!a);FS.createDevice.major||(FS.createDevice.major=64);var n=FS.makedev(FS.createDevice.major++,0);return FS.registerDevice(n,{open:function(e){e.seekable=!1},close:function(e){a&&a.buffer&&a.buffer.length&&a(10)},read:function(e,r,a,f,t){for(var n=0,o=0;o<f;o++){var s;try{s=i()}catch(e){throw new FS.ErrnoError(ERRNO_CODES.EIO)}if(void 0===s&&0===n)throw new FS.ErrnoError(ERRNO_CODES.EAGAIN);if(null==s)break;n++,r[a+o]=s}return n&&(e.node.timestamp=Date.now()),n},write:function(e,r,i,f,t){for(var n=0;n<f;n++)try{a(r[i+n])}catch(e){throw new FS.ErrnoError(ERRNO_CODES.EIO)}return f&&(e.node.timestamp=Date.now()),n}}),FS.mkdev(f,t,n)},createLink:function(e,r,i,a,f){var t=PATH.join2("string"==typeof e?e:FS.getPath(e),r);return FS.symlink(i,t)},forceLoadFile:function(e){if(e.isDevice||e.isFolder||e.link||e.contents)return!0;var r=!0;if("undefined"!=typeof XMLHttpRequest)throw new Error("Lazy loading should have been performed (contents set) in createLazyFile, but it was not. Lazy loading only works in web workers. Use --embed-file or --preload-file in emcc on the main thread.");if(!Module.read)throw new Error("Cannot load without read() or XMLHttpRequest.");try{e.contents=intArrayFromString(Module.read(e.url),!0),e.usedBytes=e.contents.length}catch(e){r=!1}return r||___setErrNo(ERRNO_CODES.EIO),r},createLazyFile:function(e,r,i,a,f){function t(){this.lengthKnown=!1,this.chunks=[]}if(t.prototype.get=function(e){if(!(e>this.length-1||e<0)){var r=e%this.chunkSize,i=e/this.chunkSize|0;return this.getter(i)[r]}},t.prototype.setDataGetter=function(e){this.getter=e},t.prototype.cacheLength=function(){var e=new XMLHttpRequest;if(e.open("HEAD",i,!1),e.send(null),!(e.status>=200&&e.status<300||304===e.status))throw new Error("Couldn't load "+i+". Status: "+e.status);var r,a=Number(e.getResponseHeader("Content-length")),f=(r=e.getResponseHeader("Accept-Ranges"))&&"bytes"===r,t=(r=e.getResponseHeader("Content-Encoding"))&&"gzip"===r,n=1048576;f||(n=a);var o=this;o.setDataGetter(function(e){var r=e*n,f=(e+1)*n-1;if(f=Math.min(f,a-1),void 0===o.chunks[e]&&(o.chunks[e]=function(e,r){if(e>r)throw new Error("invalid range ("+e+", "+r+") or no bytes requested!");if(r>a-1)throw new Error("only "+a+" bytes available! programmer error!");var f=new XMLHttpRequest;if(f.open("GET",i,!1),a!==n&&f.setRequestHeader("Range","bytes="+e+"-"+r),"undefined"!=typeof Uint8Array&&(f.responseType="arraybuffer"),f.overrideMimeType&&f.overrideMimeType("text/plain; charset=x-user-defined"),f.send(null),!(f.status>=200&&f.status<300||304===f.status))throw new Error("Couldn't load "+i+". Status: "+f.status);return void 0!==f.response?new Uint8Array(f.response||[]):intArrayFromString(f.responseText||"",!0)}(r,f)),void 0===o.chunks[e])throw new Error("doXHR failed!");return o.chunks[e]}),!t&&a||(n=a=1,a=this.getter(0).length,n=a,console.log("LazyFiles on gzip forces download of the whole file when length is accessed")),this._length=a,this._chunkSize=n,this.lengthKnown=!0},"undefined"!=typeof XMLHttpRequest){if(!ENVIRONMENT_IS_WORKER)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var n=new t;Object.defineProperties(n,{length:{get:function(){return this.lengthKnown||this.cacheLength(),this._length}},chunkSize:{get:function(){return this.lengthKnown||this.cacheLength(),this._chunkSize}}});var o={isDevice:!1,contents:n}}else o={isDevice:!1,url:i};var s=FS.createFile(e,r,o,a,f);o.contents?s.contents=o.contents:o.url&&(s.contents=null,s.url=o.url),Object.defineProperties(s,{usedBytes:{get:function(){return this.contents.length}}});var l={};return Object.keys(s.stream_ops).forEach(function(e){var r=s.stream_ops[e];l[e]=function(){if(!FS.forceLoadFile(s))throw new FS.ErrnoError(ERRNO_CODES.EIO);return r.apply(null,arguments)}}),l.read=function(e,r,i,a,f){if(!FS.forceLoadFile(s))throw new FS.ErrnoError(ERRNO_CODES.EIO);var t=e.node.contents;if(f>=t.length)return 0;var n=Math.min(t.length-f,a);if(assert(n>=0),t.slice)for(var o=0;o<n;o++)r[i+o]=t[f+o];else for(o=0;o<n;o++)r[i+o]=t.get(f+o);return n},s.stream_ops=l,s},createPreloadedFile:function(e,r,i,a,f,t,n,o,s,l){Browser.init();var u=r?PATH.resolve(PATH.join2(e,r)):e,c=getUniqueRunDependency("cp "+u);function b(i){function b(i){l&&l(),o||FS.createDataFile(e,r,i,a,f,s),t&&t(),removeRunDependency(c)}var k=!1;Module.preloadPlugins.forEach(function(e){k||e.canHandle(u)&&(e.handle(i,u,b,function(){n&&n(),removeRunDependency(c)}),k=!0)}),k||b(i)}addRunDependency(c),"string"==typeof i?Browser.asyncLoad(i,function(e){b(e)},n):b(i)},indexedDB:function(){return window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB},DB_NAME:function(){return"EM_FS_"+window.location.pathname},DB_VERSION:20,DB_STORE_NAME:"FILE_DATA",saveFilesToDB:function(e,r,i){r=r||function(){},i=i||function(){};var a=FS.indexedDB();try{var f=a.open(FS.DB_NAME(),FS.DB_VERSION)}catch(e){return i(e)}f.onupgradeneeded=function(){console.log("creating db"),f.result.createObjectStore(FS.DB_STORE_NAME)},f.onsuccess=function(){var a=f.result.transaction([FS.DB_STORE_NAME],"readwrite"),t=a.objectStore(FS.DB_STORE_NAME),n=0,o=0,s=e.length;function l(){0==o?r():i()}e.forEach(function(e){var r=t.put(FS.analyzePath(e).object.contents,e);r.onsuccess=function(){++n+o==s&&l()},r.onerror=function(){n+ ++o==s&&l()}}),a.onerror=i},f.onerror=i},loadFilesFromDB:function(e,r,i){r=r||function(){},i=i||function(){};var a=FS.indexedDB();try{var f=a.open(FS.DB_NAME(),FS.DB_VERSION)}catch(e){return i(e)}f.onupgradeneeded=i,f.onsuccess=function(){var a=f.result;try{var t=a.transaction([FS.DB_STORE_NAME],"readonly")}catch(e){return void i(e)}var n=t.objectStore(FS.DB_STORE_NAME),o=0,s=0,l=e.length;function u(){0==s?r():i()}e.forEach(function(e){var r=n.get(e);r.onsuccess=function(){FS.analyzePath(e).exists&&FS.unlink(e),FS.createDataFile(PATH.dirname(e),PATH.basename(e),r.result,!0,!0,!0),++o+s==l&&u()},r.onerror=function(){o+ ++s==l&&u()}}),t.onerror=i},f.onerror=i}},SYSCALLS={DEFAULT_POLLMASK:5,mappings:{},umask:511,calculateAt:function(e,r){if("/"!==r[0]){var i;if(-100===e)i=FS.cwd();else{var a=FS.getStream(e);if(!a)throw new FS.ErrnoError(ERRNO_CODES.EBADF);i=a.path}r=PATH.join2(i,r)}return r},doStat:function(e,r,i){try{var a=e(r)}catch(e){if(e&&e.node&&PATH.normalize(r)!==PATH.normalize(FS.getPath(e.node)))return-ERRNO_CODES.ENOTDIR;throw e}return HEAP32[i>>2]=a.dev,HEAP32[i+4>>2]=0,HEAP32[i+8>>2]=a.ino,HEAP32[i+12>>2]=a.mode,HEAP32[i+16>>2]=a.nlink,HEAP32[i+20>>2]=a.uid,HEAP32[i+24>>2]=a.gid,HEAP32[i+28>>2]=a.rdev,HEAP32[i+32>>2]=0,HEAP32[i+36>>2]=a.size,HEAP32[i+40>>2]=4096,HEAP32[i+44>>2]=a.blocks,HEAP32[i+48>>2]=a.atime.getTime()/1e3|0,HEAP32[i+52>>2]=0,HEAP32[i+56>>2]=a.mtime.getTime()/1e3|0,HEAP32[i+60>>2]=0,HEAP32[i+64>>2]=a.ctime.getTime()/1e3|0,HEAP32[i+68>>2]=0,HEAP32[i+72>>2]=a.ino,0},doMsync:function(e,r,i,a){var f=new Uint8Array(HEAPU8.subarray(e,e+i));FS.msync(r,f,0,i,a)},doMkdir:function(e,r){return"/"===(e=PATH.normalize(e))[e.length-1]&&(e=e.substr(0,e.length-1)),FS.mkdir(e,r,0),0},doMknod:function(e,r,i){switch(61440&r){case 32768:case 8192:case 24576:case 4096:case 49152:break;default:return-ERRNO_CODES.EINVAL}return FS.mknod(e,r,i),0},doReadlink:function(e,r,i){if(i<=0)return-ERRNO_CODES.EINVAL;var a=FS.readlink(e);return writeStringToMemory(a=a.slice(0,Math.max(0,i)),r,!0),a.length},doAccess:function(e,r){if(-8&r)return-ERRNO_CODES.EINVAL;var i;i=FS.lookupPath(e,{follow:!0}).node;var a="";return 4&r&&(a+="r"),2&r&&(a+="w"),1&r&&(a+="x"),a&&FS.nodePermissions(i,a)?-ERRNO_CODES.EACCES:0},doDup:function(e,r,i){var a=FS.getStream(i);return a&&FS.close(a),FS.open(e,r,0,i,i).fd},doReadv:function(e,r,i,a){for(var f=0,t=0;t<i;t++){var n=HEAP32[r+8*t>>2],o=HEAP32[r+(8*t+4)>>2],s=FS.read(e,HEAP8,n,o,a);if(s<0)return-1;if(f+=s,s<o)break}return f},doWritev:function(e,r,i,a){for(var f=0,t=0;t<i;t++){var n=HEAP32[r+8*t>>2],o=HEAP32[r+(8*t+4)>>2],s=FS.write(e,HEAP8,n,o,a);if(s<0)return-1;f+=s}return f},varargs:0,get:function(e){return SYSCALLS.varargs+=4,HEAP32[SYSCALLS.varargs-4>>2]},getStr:function(){return Pointer_stringify(SYSCALLS.get())},getStreamFromFD:function(){var e=FS.getStream(SYSCALLS.get());if(!e)throw new FS.ErrnoError(ERRNO_CODES.EBADF);return e},getSocketFromFD:function(){var e=SOCKFS.getSocket(SYSCALLS.get());if(!e)throw new FS.ErrnoError(ERRNO_CODES.EBADF);return e},getSocketAddress:function(e){var r=SYSCALLS.get(),i=SYSCALLS.get();if(e&&0===r)return null;var a=__read_sockaddr(r,i);if(a.errno)throw new FS.ErrnoError(a.errno);return a.addr=DNS.lookup_addr(a.addr)||a.addr,a},get64:function(){var e=SYSCALLS.get(),r=SYSCALLS.get();return assert(e>=0?0===r:-1===r),e},getZero:function(){assert(0===SYSCALLS.get())}};function ___syscall54(e,r){SYSCALLS.varargs=r;try{var i=SYSCALLS.getStreamFromFD(),a=SYSCALLS.get();switch(a){case 21505:case 21506:return i.tty?0:-ERRNO_CODES.ENOTTY;case 21519:if(!i.tty)return-ERRNO_CODES.ENOTTY;var f=SYSCALLS.get();return HEAP32[f>>2]=0,0;case 21520:return i.tty?-ERRNO_CODES.EINVAL:-ERRNO_CODES.ENOTTY;case 21531:f=SYSCALLS.get();return FS.ioctl(i,a,f);default:abort("bad ioctl syscall "+a)}}catch(e){return void 0!==FS&&e instanceof FS.ErrnoError||abort(e),-e.errno}}function ___cxa_get_exception_ptr(e){return e}function _pthread_cleanup_push(e,r){__ATEXIT__.push(function(){Runtime.dynCall("vi",e,[r])}),_pthread_cleanup_push.level=__ATEXIT__.length}function ___cxa_find_matching_catch_4(){return ___cxa_find_matching_catch.apply(null,arguments)}function ___cxa_find_matching_catch_2(){return ___cxa_find_matching_catch.apply(null,arguments)}function ___cxa_find_matching_catch_3(){return ___cxa_find_matching_catch.apply(null,arguments)}function ___cxa_begin_catch(e){return __ZSt18uncaught_exceptionv.uncaught_exception--,EXCEPTIONS.caught.push(e),EXCEPTIONS.addRef(EXCEPTIONS.deAdjust(e)),e}function _llvm_eh_typeid_for(e){return e}function ___syscall5(e,r){SYSCALLS.varargs=r;try{var i=SYSCALLS.getStr(),a=SYSCALLS.get(),f=SYSCALLS.get();return FS.open(i,a,f).fd}catch(e){return void 0!==FS&&e instanceof FS.ErrnoError||abort(e),-e.errno}}function _emscripten_memcpy_big(e,r,i){return HEAPU8.set(HEAPU8.subarray(r,r+i),e),e}function ___syscall6(e,r){SYSCALLS.varargs=r;try{var i=SYSCALLS.getStreamFromFD();return FS.close(i),0}catch(e){return void 0!==FS&&e instanceof FS.ErrnoError||abort(e),-e.errno}}function _sbrk(e){var r=_sbrk;r.called||(DYNAMICTOP=alignMemoryPage(DYNAMICTOP),r.called=!0,assert(Runtime.dynamicAlloc),r.alloc=Runtime.dynamicAlloc,Runtime.dynamicAlloc=function(){abort("cannot dynamically allocate, sbrk now has control")});var i=DYNAMICTOP;if(0!=e&&!r.alloc(e))return-1>>>0;return i}function _pthread_cleanup_pop(){assert(_pthread_cleanup_push.level==__ATEXIT__.length,"cannot pop if something else added meanwhile!"),__ATEXIT__.pop(),_pthread_cleanup_push.level=__ATEXIT__.length}function _time(e){var r=Date.now()/1e3|0;return e&&(HEAP32[e>>2]=r),r}function _pthread_self(){return 0}function ___syscall140(e,r){SYSCALLS.varargs=r;try{var i=SYSCALLS.getStreamFromFD(),a=SYSCALLS.get(),f=SYSCALLS.get(),t=SYSCALLS.get(),n=SYSCALLS.get(),o=f;return assert(0===a),FS.llseek(i,o,n),HEAP32[t>>2]=i.position,i.getdents&&0===o&&0===n&&(i.getdents=null),0}catch(e){return void 0!==FS&&e instanceof FS.ErrnoError||abort(e),-e.errno}}function ___syscall146(e,r){SYSCALLS.varargs=r;try{var i=SYSCALLS.getStreamFromFD(),a=SYSCALLS.get(),f=SYSCALLS.get();return SYSCALLS.doWritev(i,a,f)}catch(e){return void 0!==FS&&e instanceof FS.ErrnoError||abort(e),-e.errno}}function ___syscall221(e,r){SYSCALLS.varargs=r;try{var i=SYSCALLS.getStreamFromFD();switch(SYSCALLS.get()){case 0:return(a=SYSCALLS.get())<0?-ERRNO_CODES.EINVAL:FS.open(i.path,i.flags,0,a).fd;case 1:case 2:return 0;case 3:return i.flags;case 4:var a=SYSCALLS.get();return i.flags|=a,0;case 12:case 12:a=SYSCALLS.get();return HEAP16[a+0>>1]=2,0;case 13:case 14:case 13:case 14:return 0;case 16:case 8:return-ERRNO_CODES.EINVAL;case 9:return ___setErrNo(ERRNO_CODES.EINVAL),-1;default:return-ERRNO_CODES.EINVAL}}catch(e){return void 0!==FS&&e instanceof FS.ErrnoError||abort(e),-e.errno}}function ___syscall145(e,r){SYSCALLS.varargs=r;try{var i=SYSCALLS.getStreamFromFD(),a=SYSCALLS.get(),f=SYSCALLS.get();return SYSCALLS.doReadv(i,a,f)}catch(e){return void 0!==FS&&e instanceof FS.ErrnoError||abort(e),-e.errno}}if(Module._bitshift64Ashr=_bitshift64Ashr,Module._bitshift64Lshr=_bitshift64Lshr,Module._memcpy=_memcpy,Module._memmove=_memmove,FS.staticInit(),__ATINIT__.unshift(function(){Module.noFSInit||FS.init.initialized||FS.init()}),__ATMAIN__.push(function(){FS.ignorePermissions=!1}),__ATEXIT__.push(function(){FS.quit()}),Module.FS_createFolder=FS.createFolder,Module.FS_createPath=FS.createPath,Module.FS_createDataFile=FS.createDataFile,Module.FS_createPreloadedFile=FS.createPreloadedFile,Module.FS_createLazyFile=FS.createLazyFile,Module.FS_createLink=FS.createLink,Module.FS_createDevice=FS.createDevice,Module.FS_unlink=FS.unlink,__ATINIT__.unshift(function(){TTY.init()}),__ATEXIT__.push(function(){TTY.shutdown()}),ENVIRONMENT_IS_NODE){var fs=require("fs"),NODEJS_PATH=require("path");NODEFS.staticInit()}STACK_BASE=STACKTOP=Runtime.alignMemory(STATICTOP),staticSealed=!0,STACK_MAX=STACK_BASE+TOTAL_STACK,DYNAMIC_BASE=DYNAMICTOP=Runtime.alignMemory(STACK_MAX),assert(DYNAMIC_BASE<TOTAL_MEMORY,"TOTAL_MEMORY not big enough for stack");var cttz_i8=allocate([8,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,6,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,7,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,6,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0],"i8",ALLOC_DYNAMIC);function nullFunc_iiii(e){Module.printErr("Invalid function pointer called with signature 'iiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)"),Module.printErr("Build with ASSERTIONS=2 for more info."),abort(e)}function nullFunc_viiiii(e){Module.printErr("Invalid function pointer called with signature 'viiiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)"),Module.printErr("Build with ASSERTIONS=2 for more info."),abort(e)}function nullFunc_i(e){Module.printErr("Invalid function pointer called with signature 'i'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)"),Module.printErr("Build with ASSERTIONS=2 for more info."),abort(e)}function nullFunc_vi(e){Module.printErr("Invalid function pointer called with signature 'vi'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)"),Module.printErr("Build with ASSERTIONS=2 for more info."),abort(e)}function nullFunc_vii(e){Module.printErr("Invalid function pointer called with signature 'vii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)"),Module.printErr("Build with ASSERTIONS=2 for more info."),abort(e)}function nullFunc_ii(e){Module.printErr("Invalid function pointer called with signature 'ii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)"),Module.printErr("Build with ASSERTIONS=2 for more info."),abort(e)}function nullFunc_viii(e){Module.printErr("Invalid function pointer called with signature 'viii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)"),Module.printErr("Build with ASSERTIONS=2 for more info."),abort(e)}function nullFunc_v(e){Module.printErr("Invalid function pointer called with signature 'v'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)"),Module.printErr("Build with ASSERTIONS=2 for more info."),abort(e)}function nullFunc_iiiii(e){Module.printErr("Invalid function pointer called with signature 'iiiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)"),Module.printErr("Build with ASSERTIONS=2 for more info."),abort(e)}function nullFunc_viiiiii(e){Module.printErr("Invalid function pointer called with signature 'viiiiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)"),Module.printErr("Build with ASSERTIONS=2 for more info."),abort(e)}function nullFunc_iii(e){Module.printErr("Invalid function pointer called with signature 'iii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)"),Module.printErr("Build with ASSERTIONS=2 for more info."),abort(e)}function nullFunc_iiiiii(e){Module.printErr("Invalid function pointer called with signature 'iiiiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)"),Module.printErr("Build with ASSERTIONS=2 for more info."),abort(e)}function nullFunc_viiii(e){Module.printErr("Invalid function pointer called with signature 'viiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)"),Module.printErr("Build with ASSERTIONS=2 for more info."),abort(e)}function invoke_iiii(e,r,i,a){try{return Module.dynCall_iiii(e,r,i,a)}catch(e){if("number"!=typeof e&&"longjmp"!==e)throw e;asm.setThrew(1,0)}}function invoke_viiiii(e,r,i,a,f,t){try{Module.dynCall_viiiii(e,r,i,a,f,t)}catch(e){if("number"!=typeof e&&"longjmp"!==e)throw e;asm.setThrew(1,0)}}function invoke_i(e){try{return Module.dynCall_i(e)}catch(e){if("number"!=typeof e&&"longjmp"!==e)throw e;asm.setThrew(1,0)}}function invoke_vi(e,r){try{Module.dynCall_vi(e,r)}catch(e){if("number"!=typeof e&&"longjmp"!==e)throw e;asm.setThrew(1,0)}}function invoke_vii(e,r,i){try{Module.dynCall_vii(e,r,i)}catch(e){if("number"!=typeof e&&"longjmp"!==e)throw e;asm.setThrew(1,0)}}function invoke_ii(e,r){try{return Module.dynCall_ii(e,r)}catch(e){if("number"!=typeof e&&"longjmp"!==e)throw e;asm.setThrew(1,0)}}function invoke_viii(e,r,i,a){try{Module.dynCall_viii(e,r,i,a)}catch(e){if("number"!=typeof e&&"longjmp"!==e)throw e;asm.setThrew(1,0)}}function invoke_v(e){try{Module.dynCall_v(e)}catch(e){if("number"!=typeof e&&"longjmp"!==e)throw e;asm.setThrew(1,0)}}function invoke_iiiii(e,r,i,a,f){try{return Module.dynCall_iiiii(e,r,i,a,f)}catch(e){if("number"!=typeof e&&"longjmp"!==e)throw e;asm.setThrew(1,0)}}function invoke_viiiiii(e,r,i,a,f,t,n){try{Module.dynCall_viiiiii(e,r,i,a,f,t,n)}catch(e){if("number"!=typeof e&&"longjmp"!==e)throw e;asm.setThrew(1,0)}}function invoke_iii(e,r,i){try{return Module.dynCall_iii(e,r,i)}catch(e){if("number"!=typeof e&&"longjmp"!==e)throw e;asm.setThrew(1,0)}}function invoke_iiiiii(e,r,i,a,f,t){try{return Module.dynCall_iiiiii(e,r,i,a,f,t)}catch(e){if("number"!=typeof e&&"longjmp"!==e)throw e;asm.setThrew(1,0)}}function invoke_viiii(e,r,i,a,f){try{Module.dynCall_viiii(e,r,i,a,f)}catch(e){if("number"!=typeof e&&"longjmp"!==e)throw e;asm.setThrew(1,0)}}Module.asmGlobalArg={Math:Math,Int8Array:Int8Array,Int16Array:Int16Array,Int32Array:Int32Array,Uint8Array:Uint8Array,Uint16Array:Uint16Array,Uint32Array:Uint32Array,Float32Array:Float32Array,Float64Array:Float64Array,NaN:NaN,Infinity:1/0},Module.asmLibraryArg={abort:abort,assert:assert,nullFunc_iiii:nullFunc_iiii,nullFunc_viiiii:nullFunc_viiiii,nullFunc_i:nullFunc_i,nullFunc_vi:nullFunc_vi,nullFunc_vii:nullFunc_vii,nullFunc_ii:nullFunc_ii,nullFunc_viii:nullFunc_viii,nullFunc_v:nullFunc_v,nullFunc_iiiii:nullFunc_iiiii,nullFunc_viiiiii:nullFunc_viiiiii,nullFunc_iii:nullFunc_iii,nullFunc_iiiiii:nullFunc_iiiiii,nullFunc_viiii:nullFunc_viiii,invoke_iiii:invoke_iiii,invoke_viiiii:invoke_viiiii,invoke_i:invoke_i,invoke_vi:invoke_vi,invoke_vii:invoke_vii,invoke_ii:invoke_ii,invoke_viii:invoke_viii,invoke_v:invoke_v,invoke_iiiii:invoke_iiiii,invoke_viiiiii:invoke_viiiiii,invoke_iii:invoke_iii,invoke_iiiiii:invoke_iiiiii,invoke_viiii:invoke_viiii,_pthread_cleanup_pop:_pthread_cleanup_pop,___syscall221:___syscall221,_pthread_key_create:_pthread_key_create,_abort:_abort,_pthread_cleanup_push:_pthread_cleanup_push,___gxx_personality_v0:___gxx_personality_v0,___cxa_find_matching_catch_4:___cxa_find_matching_catch_4,___cxa_free_exception:___cxa_free_exception,___cxa_find_matching_catch_2:___cxa_find_matching_catch_2,___cxa_find_matching_catch_3:___cxa_find_matching_catch_3,___setErrNo:___setErrNo,_llvm_eh_typeid_for:_llvm_eh_typeid_for,_sbrk:_sbrk,___cxa_begin_catch:___cxa_begin_catch,_emscripten_memcpy_big:_emscripten_memcpy_big,___cxa_end_catch:___cxa_end_catch,___resumeException:___resumeException,__ZSt18uncaught_exceptionv:__ZSt18uncaught_exceptionv,__exit:__exit,_pthread_getspecific:_pthread_getspecific,_pthread_self:_pthread_self,___cxa_get_exception_ptr:___cxa_get_exception_ptr,_pthread_once:_pthread_once,___syscall54:___syscall54,___unlock:___unlock,_pthread_setspecific:_pthread_setspecific,___cxa_throw:___cxa_throw,_sysconf:_sysconf,___lock:___lock,___syscall6:___syscall6,___syscall5:___syscall5,_time:_time,___cxa_allocate_exception:___cxa_allocate_exception,___syscall140:___syscall140,_exit:_exit,___cxa_find_matching_catch:___cxa_find_matching_catch,___syscall145:___syscall145,___syscall146:___syscall146,STACKTOP:STACKTOP,STACK_MAX:STACK_MAX,tempDoublePtr:tempDoublePtr,ABORT:ABORT,cttz_i8:cttz_i8};var asm=function(e,r,i){"almost asm";var a=new e.Int8Array(i),f=new e.Int16Array(i),t=new e.Int32Array(i),n=(new e.Uint8Array(i),new e.Uint16Array(i),new e.Uint32Array(i),new e.Float32Array(i),new e.Float64Array(i)),o=0|r.STACKTOP,s=0|r.STACK_MAX,l=0|r.tempDoublePtr,u=(r.ABORT,0|r.cttz_i8),c=0,b=(e.NaN,e.Infinity,0),k=(e.Math.floor,e.Math.abs,e.Math.sqrt,e.Math.pow,e.Math.cos,e.Math.sin,e.Math.tan,e.Math.acos,e.Math.asin,e.Math.atan,e.Math.atan2,e.Math.exp,e.Math.log,e.Math.ceil,e.Math.imul),d=(e.Math.min,e.Math.clz32),_=r.abort,h=(r.assert,r.nullFunc_iiii),E=r.nullFunc_viiiii,m=r.nullFunc_i,w=r.nullFunc_vi,S=r.nullFunc_vii,v=r.nullFunc_ii,p=r.nullFunc_viii,O=r.nullFunc_v,A=r.nullFunc_iiiii,y=r.nullFunc_viiiiii,R=r.nullFunc_iii,g=r.nullFunc_iiiiii,F=r.nullFunc_viiii,M=r.invoke_iiii,D=r.invoke_viiiii,T=r.invoke_i,N=r.invoke_vi,C=r.invoke_vii,I=r.invoke_ii,P=r.invoke_viii,x=r.invoke_v,L=r.invoke_iiiii,H=r.invoke_viiiiii,B=r.invoke_iii,U=r.invoke_iiiiii,z=r.invoke_viiii,Y=r._pthread_cleanup_pop,V=r.___syscall221,X=r._pthread_key_create,W=r._abort,j=r._pthread_cleanup_push,K=(r.___gxx_personality_v0,r.___cxa_find_matching_catch_4),G=r.___cxa_free_exception,q=r.___cxa_find_matching_catch_2,J=r.___cxa_find_matching_catch_3,Z=(r.___setErrNo,r._llvm_eh_typeid_for),Q=r._sbrk,$=r.___cxa_begin_catch,ee=r._emscripten_memcpy_big,re=r.___cxa_end_catch,ie=r.___resumeException,ae=(r.__ZSt18uncaught_exceptionv,r.__exit,r._pthread_getspecific),fe=r._pthread_self,te=r.___cxa_get_exception_ptr,ne=r._pthread_once,oe=r.___syscall54,se=r.___unlock,le=r._pthread_setspecific,ue=r.___cxa_throw,ce=r._sysconf,be=r.___lock,ke=r.___syscall6,de=r.___syscall5,_e=r._time,he=r.___cxa_allocate_exception,Ee=r.___syscall140,me=r._exit,we=(r.___cxa_find_matching_catch,r.___syscall145),Se=r.___syscall146;function ve(e){$(0|(e|=0)),function(){var e=0,r=0,i=0,a=0,f=0,n=0,l=0,u=0,k=0,d=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0;M=o,(0|(o=o+32|0))>=(0|s)&&_();F=M+24|0,g=M+16|0,R=M+8|0,y=M,c=0,e=0|T(215),r=c,c=0,1&r&&(p=0|J(0),b,ve(p));0==(0|e)||(w=0|t[e>>2],0==(0|w)||(A=0|t[(O=w+48|0)>>2],i=0|t[(O+4|0)>>2],1126902528==(0|-256&A)&1129074247==(0|i)&&(a=0|t[(w+12|0)>>2],c=0,x(0|a),f=c,c=0,1&f||(c=0,C(216,6575,0|y),c,c=0),n=0|J(0),b,$(0|n),c=0,C(216,6615,0|R),c,c=0,l=0|J(0),b,c=0,x(217),u=c,c=0,1&u?(k=0|J(0),b,ve(k)):ve(l))));d=0|t[178],t[178]=d+0|0,c=0,x(0|d),h=c,c=0,1&h||(c=0,C(216,6575,0|g),c,c=0);E=0|J(0),b,$(0|E),c=0,C(216,6615,0|F),c,c=0,m=0|J(0),b,c=0,x(217),S=c,c=0,1&S?(v=0|J(0),b,ve(v)):ve(m)}()}function pe(e){e|=0;var r=0,i=0,a=0,f=0,n=0,o=0,s=0,l=0,u=0,c=0,b=0,k=0,d=0,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0;e:for(;;){if(-1==(0|(a=0|uf(e)))){A=3;break}if((h=255&a)<<24>>24==35)for(;;){if(-1==(0|(E=0|uf(e)))){A=6;break e}if((255&E)<<24>>24==10){S=10;break}}else S=h;if(0==(0|(0|Xa(f=255&S)))){r=f,v=S,A=9;break}}if(3==(0|A))l=0|he(4),t[l>>2]=872,ue(0|l,8,0);else if(6==(0|A))m=0|he(4),t[m>>2]=872,ue(0|m,8,0);else if(9==(0|A)){(r+-48|0)>>>0<10?(w=v,O=0):(n=0|he(4),t[n>>2]=962,ue(0|n,8,0));e:for(;;){if((0|(0|(-2147483601-(o=255&w)|0))/10&-1)<(0|O)){A=12;break}if(u=(o+-48|0)+(10*O|0)|0,-1==(0|(c=0|uf(e)))){A=14;break}if((k=255&c)<<24>>24==35)for(;;){if(-1==(0|(d=0|uf(e)))){A=17;break e}if((255&d)<<24>>24==10){p=10;break}}else p=k;if(!(((255&p)+-48|0)>>>0<10)){i=u,A=20;break}w=p,O=u}if(12==(0|A))s=0|he(4),t[s>>2]=1007,ue(0|s,8,0);else if(14==(0|A))b=0|he(4),t[b>>2]=872,ue(0|b,8,0);else if(17==(0|A))_=0|he(4),t[_>>2]=872,ue(0|_,8,0);else if(20==(0|A))return 0|i}return 0}function Oe(e,r){e|=0,r|=0;var i,a,f,n,l,u,k,d,h,E,m,w,S,v,p,O,A,y,R=0,g=0,F=0,M=0,D=0,T=0,N=0,I=0,P=0,x=0,L=0,H=0,B=0,U=0,z=0,Y=0,V=0,X=0,W=0,j=0,K=0,G=0,J=0,Z=0,Q=0,$=0,ee=0,re=0,ae=0,fe=0;if(y=o,(0|(o=o+32|0))>=(0|s)&&_(),O=y,a=0|t[(i=e+8|0)>>2],p=d=0|t[(u=e+4|0)>>2],!(((0|(a-d|0))/12&-1)>>>0<r>>>0)){for(R=r,ae=p;t[ae>>2]=0,t[(ae+4|0)>>2]=0,t[(ae+8|0)>>2]=0,D=ae+12|0,!(0==(0|(T=R+-1|0)));)R=T,ae=D;return fe=p+(12*r|0)|0,t[u>>2]=fe,void(o=y)}for(f=e+8|0,(l=((0|(d-(n=0|t[e>>2])|0))/12&-1)+r|0)>>>0>357913941?(mf(e),M=0|t[i>>2],N=0|t[e>>2],I=M):(N=n,I=a),F=(k=(0|(I-N|0))/12&-1)>>>0<178956970?(P=k<<1)>>>0<l>>>0?l:P:357913941,h=(0|((0|t[u>>2])-N|0))/12&-1,t[(O+12|0)>>2]=0,t[(O+16|0)>>2]=f,x=0==(0|F)?0:0|gf(12*F|0),t[O>>2]=x,E=x+(12*h|0)|0,t[(m=O+8|0)>>2]=E,t[(w=O+4|0)>>2]=E,S=x+(12*F|0)|0,t[(O+12|0)>>2]=S,g=r,L=E;t[L>>2]=0,t[(L+4|0)>>2]=0,t[(L+8|0)>>2]=0,H=L+12|0,!(0==(0|(B=g+-1|0)));)g=B,L=H;if(A=E+(12*r|0)|0,t[m>>2]=A,c=0,C(45,0|e,0|O),v=c,c=0,!(1&v)){if(U=0|t[w>>2],!((0|(z=0|t[m>>2]))==(0|U))){for(V=z;0==(0|(X=0|t[(Y=V+-12|0)>>2]))||((0|(0|t[(W=V+-8|0)>>2]))==(0|X)||(t[W>>2]=X),vf(X)),!((0|Y)==(0|U));)V=Y;t[m>>2]=U}return 0==(0|(j=0|t[O>>2]))||vf(j),void(o=y)}if(K=0|q(),b,G=0|t[w>>2],!((0|(J=0|t[m>>2]))==(0|G))){for(Q=J;0==(0|($=0|t[(Z=Q+-12|0)>>2]))||((0|(0|t[(ee=Q+-8|0)>>2]))==(0|$)||(t[ee>>2]=$),vf($)),!((0|Z)==(0|G));)Q=Z;t[m>>2]=G}0==(0|(re=0|t[O>>2]))&&ie(0|K),vf(re),ie(0|K)}function Ae(e,r){r|=0;var i,f,n,s,l,u,c,b,k,d,_,h,E,m,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0,I=0,P=0,x=0,L=0,H=0,B=0,U=0,z=0;if(o,((f=0|t[(i=(e|=0)+8|0)>>2])-(b=0|t[(u=e+4|0)>>2])|0)>>>0<r>>>0){for((0|(s=(b-(n=0|t[e>>2])|0)+r|0))<0?(mf(e),A=0|t[i>>2],R=0|t[e>>2],g=A):(R=n,g=f),(l=g-R|0)>>>0<1073741823?(M=(F=l<<1)>>>0<s>>>0?s:F,D=(0|t[u>>2])-R|0,0==(0|M)?(p=0,T=0,N=D):(v=M,L=D,z=9)):(v=2147483647,L=(0|t[u>>2])-R|0,z=9),9==(0|z)&&(p=v,T=0|gf(v),N=L),k=T+p|0,S=r,C=c=T+N|0,U=c;;){if(a[C>>0]=0,P=I=U+1|0,0==(0|(x=S+-1|0))){O=P;break}S=x,C=I,U=P}d=k,_=0|t[e>>2],m=E=c+(0-(h=(0|t[u>>2])-_|0)|0)|0,xf(0|E,0|_,0|h),t[e>>2]=m,t[u>>2]=O,t[i>>2]=d,0==(0|_)||vf(_)}else for(w=r,H=b;a[H>>0]=0,B=(0|t[u>>2])+1|0,t[u>>2]=B,!(0==(0|(y=w+-1|0)));)w=y,H=B}function ye(e,r,i){var f,n,s,l,u,c,b,k,d,_,h,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0,I=0,P=0,x=0,L=0,H=0,B=0,U=0,z=0;if(o,n=(i|=0)-(f=r|=0)|0,d=0|t[(s=(e|=0)+8|0)>>2],h=_=0|t[e>>2],n>>>0>(d-_|0)>>>0){if(0==(0|_)?U=d:((0|(0|t[(N=e+4|0)>>2]))==(0|h)||(t[N>>2]=h),vf(h),t[s>>2]=0,t[N>>2]=0,t[e>>2]=0,U=0),(l=(0|n)<0)?(mf(e),p=0|t[s>>2],C=0|t[e>>2],I=p):(C=0,I=U),(u=I-C|0)>>>0<1073741823?(v=(P=u<<1)>>>0>=n>>>0)|1^l?E=v?P:n:(mf(e),E=n):E=2147483647,c=0|gf(E),t[(b=e+4|0)>>2]=c,t[e>>2]=c,k=c+E|0,t[s>>2]=k,!((0|r)==(0|i)))for(m=r,L=c;x=0|a[m>>0],a[L>>0]=x,H=(0|t[b>>2])+1|0,t[b>>2]=H,!((0|(B=m+1|0))==(0|i));)m=B,L=H}else{if(y=r+(O=(0|t[(z=e+4|0)>>2])-_|0)|0,Lf(0|h,0|r,0|(R=(S=(A=n>>>0>O>>>0)?y:i)-f|0)),g=h+R|0,!A){if((0|(0|t[z>>2]))==(0|g))return;return void(t[z>>2]=g)}if((0|S)==(0|i))return;for(w=y,M=0|t[z>>2];F=0|a[w>>0],a[M>>0]=F,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B=T-(0|t[e>>2])|0,U=0|t[(H+(12*L|0)|0)>>2],a[(U+B|0)>>0]=0),z=ae+1|0,(0|ae)<(0|(0|Ti(r,T)));)ae=z;if(!((0|w)>(0|T)))for(u=e+4|0,c=e+12|0,b=e+16|0,re=w;(0|(Y=0|Ni(r,re)))<(0|(V=0|t[u>>2]))||(0|Y)>(0|(0|t[c>>2]))||(W=Y-V|0,j=0|t[b>>2],K=re-(0|t[e>>2])|0,G=0|t[(j+(12*W|0)|0)>>2],a[(G+K|0)>>0]=0),(0|(q=0|Ti(r,re)))<(0|(J=0|t[u>>2]))||(0|q)>(0|(0|t[c>>2]))||(Z=q-J|0,Q=0|t[b>>2],$=re-(0|t[e>>2])|0,ee=0|t[(Q+(12*Z|0)|0)>>2],a[(ee+$|0)>>0]=0),k=re+1|0,(0|re)<(0|T);)re=k}function Fe(e,r,i){e|=0;var f,n,s,l=0,u=0,k=0,d=0,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,C=0,P=0;if(o,!((0|(r|=0))==(0|(i|=0)))){for(u=r,v=0|t[(f=e+4|0)>>2];;){if(t[v>>2]=0,t[(R=v+4|0)>>2]=0,t[(v+8|0)>>2]=0,C=(D=0|t[(M=u+4|0)>>2])-(T=0|t[u>>2])|0,!((0|D)==(0|T))){if((0|C)<0&&(c=0,N(46,0|v),_=c,c=0,1&_)){k=v,d=R;break}if(c=0,h=0|I(29,0|C),E=c,c=0,1&E){k=v,d=R;break}if(t[R>>2]=h,t[v>>2]=h,m=h+C|0,t[(v+8|0)>>2]=m,!((0|(w=0|t[u>>2]))==(0|(S=0|t[M>>2]))))for(l=w,O=h;p=0|a[l>>0],a[O>>0]=p,A=(0|t[R>>2])+1|0,t[R>>2]=A,!((0|(y=l+1|0))==(0|S));)l=y,O=A}if(g=(0|t[f>>2])+12|0,t[f>>2]=g,(0|(F=u+12|0))==(0|i)){P=15;break}u=F,v=g}15!=(0|P)&&(n=0|q(),b,0==(0|(s=0|t[k>>2]))&&ie(0|n),(0|(0|t[d>>2]))==(0|s)||(t[d>>2]=s),vf(s),ie(0|n))}}function Me(e,r){r|=0;var i,a,f,n,s=0,l=0,u=0,k=0,d=0,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0;if(o,t[(e|=0)>>2]=0,t[(i=e+4|0)>>2]=0,t[(e+8|0)>>2]=0,!(0==(0|r)))if(r>>>0>357913941?(c=0,N(46,0|e),v=c,c=0,1&v||(A=4)):A=4,4!=(0|A)||(c=0,p=0|I(29,0|(12*r|0)),O=c,c=0,1&O)){if(a=0|q(),b,0==(0|(f=0|t[e>>2]))&&ie(0|a),(0|(n=0|t[i>>2]))==(0|f))S=f;else{for(h=n;_=h+-12|0,t[i>>2]=_,0==(0|(E=0|t[_>>2]))?m=_:((0|(0|t[(w=h+-8|0)>>2]))==(0|E)||(t[w>>2]=E),vf(E),m=0|t[i>>2]),!((0|m)==(0|f));)h=m;S=0|t[e>>2]}vf(S),ie(0|a)}else{for(t[i>>2]=p,t[e>>2]=p,l=p+(12*r|0)|0,t[(e+8|0)>>2]=l,s=r,u=p;t[u>>2]=0,t[(u+4|0)>>2]=0,t[(u+8|0)>>2]=0,k=u+12|0,!(0==(0|(d=s+-1|0)));)s=d,u=k;t[i>>2]=l}}function De(e,r,i){r|=0,i|=0;var f,n,s,l,u,c,b,k,d,_,h,E,m,w,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0,I=0,P=0,x=0,L=0,H=0,B=0,U=0,z=0,Y=0,V=0,X=0;if(o,((n=0|t[(f=(e|=0)+8|0)>>2])-(b=0|t[(c=e+4|0)>>2])|0)>>>0<r>>>0){for((0|(l=(b-(s=0|t[e>>2])|0)+r|0))<0?(mf(e),y=0|t[f>>2],F=0|t[e>>2],M=y):(F=s,M=n),(u=M-F|0)>>>0<1073741823?(T=(D=u<<1)>>>0<l>>>0?l:D,N=(0|t[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=0|t[(y+(12*F|0)|0)>>2],T=0|a[(D+er|0)>>0],a[g>>0]=T,N=0|t[e>>2],C=0|t[(N+(12*F|0)|0)>>2],a[(C+er|0)>>0]=M,!((0|(I=F+1|0))==(0|er));)F=I;if(!((0|(rr=er+1|0))<(0|k)))break;er=rr}if(v=((0|t[i>>2])+1|0)-(0|t[E>>2])|0,Le(r,((0|t[S>>2])+1|0)-(0|t[r>>2])|0),He(r,v),(0|(A=((p=0|t[i>>2])+1|0)-(O=0|t[E>>2])|0))<(0|k)){if(u=0|t[(l=e+4|0)>>2],d=c=0|t[e>>2],_=u,A>>>0>(b=(0|(u-c|0))/12&-1)>>>0)Oe(e,A-b|0);else if(A>>>0<b>>>0&&!((0|_)==(0|(h=d+(12*A|0)|0))))for(x=_;P=x+-12|0,t[l>>2]=P,0==(0|(L=0|t[P>>2]))?B=P:((0|(0|t[(U=x+-8|0)>>2]))==(0|L)||(t[U>>2]=L),vf(L),B=0|t[l>>2]),!((0|B)==(0|h));)x=B}else{if(!((0|(((z=0|t[S>>2])+1|0)-(Y=0|t[r>>2])|0))<(0|k)&(0|A)>0))return;for(j=z,G=Y,se=O,le=p,fr=0;W=(X=0|t[e>>2])+(12*fr|0)|0,K=(j+1|0)-G|0,J=0|t[(q=4+(X+(12*fr|0)|0)|0)>>2],ee=Z=0|t[W>>2],re=J,K>>>0>($=J-Z|0)>>>0?(Ae(W,K-$|0),fe=0|t[i>>2],te=0|t[E>>2]):K>>>0<$>>>0?(0|re)==(0|(ie=ee+K|0))?(fe=le,te=se):(t[q>>2]=ie,fe=le,te=se):(fe=le,te=se),(0|(ae=fr+1|0))<(0|((fe+1|0)-te|0));)j=0|t[S>>2],G=0|t[r>>2],se=te,le=fe,fr=ae}}function Ne(e,r,i,a,f){e|=0,r|=0,i|=0,a|=0,f|=0;var n,l,u=0;l=o,(0|(o=o+16|0))>=(0|s)&&_(),n=l,(0|a)<(0|r)|(0|f)<(0|i)&&((0|(0|t[1700]))>-1&&(u=0|t[90],t[n>>2]=r,t[(n+4|0)>>2]=i,t[(n+8|0)>>2]=a,t[(n+12|0)>>2]=f,nf(u,1552,n)),Oa(1584)),t[e>>2]=r,t[(e+4|0)>>2]=i,t[(e+8|0)>>2]=a,t[(e+12|0)>>2]=f,o=l}function Ce(e,r){r|=0;(0|(0|t[((e|=0)+8|0)>>2]))<(0|r)&&Oa(1620),t[e>>2]=r}function Ie(e,r){r|=0;(0|(0|t[((e|=0)+12|0)>>2]))<(0|r)&&Oa(1662),t[(e+4|0)>>2]=r}function Pe(e,r){r|=0;(0|(0|t[(e|=0)>>2]))>(0|r)&&Oa(1703),t[(e+8|0)>>2]=r}function xe(e,r){r|=0;(0|(0|t[((e|=0)+4|0)>>2]))>(0|r)&&Oa(1746),t[(e+12|0)>>2]=r}function Le(e,r){e|=0;var i;(0|(r|=0))<1&&Oa(1790),i=(r+-1|0)+(0|t[(e+4|0)>>2])|0,t[(e+12|0)>>2]=i}function He(e,r){e|=0;var i;(0|(r|=0))<1&&Oa(1834),i=(r+-1|0)+(0|t[e>>2])|0,t[(e+8|0)>>2]=i}function Be(e,r){e|=0;var i,a,f,n,o,s,l;(0|(i=0|t[(r|=0)>>2]))<(0|(0|t[e>>2]))&&(t[e>>2]=i),(0|(o=0|t[(r+4|0)>>2]))<(0|(0|t[(s=e+4|0)>>2]))&&(t[s>>2]=o),(0|(l=0|t[(r+8|0)>>2]))>(0|(0|t[(a=e+8|0)>>2]))&&(t[a>>2]=l),(0|(f=0|t[(r+12|0)>>2]))>(0|(0|t[(n=e+12|0)>>2]))&&(t[n>>2]=f)}function Ue(e,r){r|=0;return o,(0|(0|t[(e|=0)>>2]))>(0|(0|t[r>>2]))?0|0:(0|(0|t[(e+4|0)>>2]))>(0|(0|t[(r+4|0)>>2]))?0|0:(0|(0|t[(e+8|0)>>2]))<(0|(0|t[(r+8|0)>>2]))?0|0:0|(0|(0|t[(e+12|0)>>2]))>=(0|(0|t[(r+12|0)>>2]))}function ze(e,r,i){r|=0,i|=0;return o,(0|(0|t[(e|=0)>>2]))>(0|i)?0|0:(0|(0|t[(e+8|0)>>2]))<(0|i)?0|0:(0|(0|t[(e+4|0)>>2]))>(0|r)?0|0:0|(0|(0|t[(e+12|0)>>2]))>=(0|r)}function Ye(e,r){r|=0;return o,(0|(0|t[(e|=0)>>2]))<(0|(0|t[r>>2]))&&(0|(0|t[(e+4|0)>>2]))<(0|(0|t[(r+4|0)>>2]))&&(0|(0|t[(e+8|0)>>2]))>(0|(0|t[(r+8|0)>>2]))?0|(0|(0|t[(e+12|0)>>2]))>(0|(0|t[(r+12|0)>>2])):0|0}function Ve(e,r){r|=0;var i,a,f;return o,i=0|t[(e|=0)>>2],a=0|t[r>>2],(0|i)>(0|(f=(0|((0|t[(r+8|0)>>2])+a|0))/2&-1))?0|0:0|(0|(0|t[(e+8|0)>>2]))>=(0|f)}function Xe(e,r){r|=0;var i,a,f;return o,i=0|t[((e|=0)+4|0)>>2],a=0|t[(r+4|0)>>2],(0|i)>(0|(f=(0|((0|t[(r+12|0)>>2])+a|0))/2&-1))?0|0:0|(0|(0|t[(e+12|0)>>2]))>=(0|f)}function We(e,r){r|=0;return o,(0|(0|t[(e|=0)>>2]))>(0|r)?0|0:0|(0|(0|t[(e+8|0)>>2]))>=(0|r)}function je(e,r){r|=0;return o,(0|(0|t[((e|=0)+4|0)>>2]))>(0|r)?0|0:0|(0|(0|t[(e+12|0)>>2]))>=(0|r)}function Ke(e,r){r|=0;return o,(0|(0|t[(e|=0)>>2]))>(0|(0|t[(r+8|0)>>2]))?0|0:0|(0|(0|t[(e+8|0)>>2]))>=(0|(0|t[r>>2]))}function Ge(e,r){r|=0;return o,(0|(0|t[((e|=0)+4|0)>>2]))>(0|(0|t[(r+12|0)>>2]))?0|0:0|(0|(0|t[(e+12|0)>>2]))>=(0|(0|t[(r+4|0)>>2]))}function qe(e,r){e|=0;var i,a,f,n,s,l,u,c,b=0,k=0;return o,a=0|t[(r|=0)>>2],u=(0|((l=0|t[(r+8|0)>>2])+a|0))/2&-1,(0|(c=0|t[e>>2]))>(0|u)|(0|(i=0|t[(e+8|0)>>2]))<(0|u)?(0|((i+1|0)-c|0))<(0|(s=(0|((0|(n=(l+1|0)-a|0))<(0|(f=((0|t[(r+12|0)>>2])+1|0)-(0|t[(r+4|0)>>2])|0))?n:f))/2&-1))?0|(0|((b=(0|(s+1|0))/2&-1)+(k=(0|(c+i|0))/2&-1)|0))>=(0|u)&(0|(k-b|0))<=(0|u):0|0:0|1}function Je(e,r){r|=0;var i,a,f;return o,i=0|t[(e|=0)>>2],a=(0|((0|t[(e+8|0)>>2])+i|0))/2&-1,f=0|t[r>>2],0|(0|a)<(0|(0|((0|t[(r+8|0)>>2])+f|0))/2&-1)}function Ze(e,r){r|=0;var i,a,f,t,n,s,l,u,c,k,d,_,h,E,m,w,S,v,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0;if(o,s=0|zf(0|(e|=0),0|(i=((0|e)<0)<<31>>31),0|e,0|i),l=b,S=0|Cf(0|(0|zf(0|r,0|(w=((0|r)<0)<<31>>31),0|r,0|w)),0|b,0|s,0|l),v=b,(0|((n=(f=(0|r)>-1?r:0-r|0)+(a=(0|e)>-1?e:0-e|0)|0)-(t=(0|a)<(0|f)?f:a)|0))>1)for(M=t,N=n;;){if(y=0|zf(0|(O=(0|(N+M|0))/2&-1),0|(A=((0|O)<0)<<31>>31),0|O,0|A),!((0|((D=(g=(R=b)>>>0<v>>>0|(0|R)==(0|v)&y>>>0<S>>>0)?N:O)-(p=g?O:M)|0))>1)){F=p,T=D;break}M=p,N=D}else F=t,T=n;return c=0|zf(0|F,0|(u=((0|F)<0)<<31>>31),0|F,0|u),k=b,d=0|Df(0|(0|Nf(0|S,0|v,1)),0|b,0|c,0|k),_=b,E=0|zf(0|T,0|(h=((0|T)<0)<<31>>31),0|T,0|h),0|((0|_)<(0|(m=b))|(0|_)==(0|m)&d>>>0<E>>>0?F:T)}function Qe(e,r){r|=0;var i,a=0;return o,(0|(i=0|t[((e|=0)+4|0)>>2]))<(0|r)?0|((0|(a=0|t[(e+12|0)>>2]))>(0|r)?0:r-a|0):0|(i-r|0)}function $e(e,r){r|=0;var i,a,f,n,s,l,u,c,b,k,d,_,h,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0,I=0;if(o,!(((a=0|t[(i=(e|=0)+8|0)>>2])-(l=0|t[(s=e+4|0)>>2])|0)>>2>>>0<r>>>0))return N=l,Tf(0|l,0,0|r<<2),C=N+(r<<2)|0,void(t[s>>2]=C);(f=((l-(h=0|t[e>>2])|0)>>2)+r|0)>>>0>1073741823?(mf(e),S=0|t[i>>2],w=0|t[e>>2],v=S):(w=h,v=a),(n=v-w|0)>>2>>>0<536870911?(A=(O=n>>1)>>>0<f>>>0?f:O,R=((y=0|t[s>>2])-w|0)>>2,0==(0|A)?(m=0,g=0,F=R,M=y):(E=A,D=y,T=R,I=8)):(E=1073741823,D=p=0|t[s>>2],T=(p-w|0)>>2,I=8),8==(0|I)&&(m=E,g=0|gf(E<<2),F=T,M=D),c=g+(m<<2)|0,Tf(0|(u=g+(F<<2)|0),0,0|r<<2),b=u+(r<<2)|0,_=d=u+((0-((k=M-w|0)>>2)|0)<<2)|0,xf(0|d,0|w,0|k),t[e>>2]=_,t[s>>2]=b,t[i>>2]=c,0==(0|w)||vf(w)}function er(e,r){r|=0;var i,a,f,n,s,l,u,k,d=0,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0;if(o,t[(e|=0)>>2]=0,t[(i=e+4|0)>>2]=0,t[(e+8|0)>>2]=0,!(0==(0|(k=(u=(0|t[(a=r+4|0)>>2])-(0|t[r>>2])|0)>>2))))if(k>>>0>1073741823?(c=0,N(46,0|e),A=c,c=0,1&A||(R=4)):R=4,4!=(0|R)||(c=0,_=0|I(29,0|u),h=c,c=0,1&h))f=0|q(),b,s=n=0|t[e>>2],0==(0|n)&&ie(0|f),(0|(l=0|t[i>>2]))==(0|n)||(y=l+((-1^((l+-4|0)-s|0)>>>2)<<2)|0,t[i>>2]=y),vf(n),ie(0|f);else{if(t[i>>2]=_,t[e>>2]=_,E=_+(k<<2)|0,t[(e+8|0)>>2]=E,(0|(m=0|t[r>>2]))==(0|(w=0|t[a>>2])))return;for(d=m,v=_;S=0|t[d>>2],t[v>>2]=S,p=(0|t[i>>2])+4|0,t[i>>2]=p,!((0|(O=d+4|0))==(0|w));)d=O,v=p}}function rr(e,r,i){var a,f,n,s,l,u,c,b,k,d,_,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0,I=0,P=0,x=0,L=0,H=0,B=0,U=0,z=0,Y=0,V=0,X=0,W=0;if(o,n=((i|=0)-(a=r|=0)|0)>>2,c=0|t[(l=(e|=0)+8|0)>>2],f=_=0|t[e>>2],n>>>0>(c-_|0)>>2>>>0){if(s=_,0==(0|_)?V=c:((0|(I=0|t[(C=e+4|0)>>2]))==(0|f)||(W=I+((-1^((I+-4|0)-_|0)>>>2)<<2)|0,t[C>>2]=W),vf(s),t[l>>2]=0,t[C>>2]=0,t[e>>2]=0,V=0),n>>>0>1073741823?(mf(e),S=0|t[l>>2],P=0|t[e>>2],x=S):(P=0,x=V),(u=x-P|0)>>2>>>0<536870911?(H=(L=u>>1)>>>0<n>>>0?n:L)>>>0>1073741823?(mf(e),h=H):h=H:h=1073741823,b=0|gf(h<<2),t[(k=e+4|0)>>2]=b,t[e>>2]=b,d=b+(h<<2)|0,t[l>>2]=d,!((0|r)==(0|i)))for(E=r,U=b;B=0|t[E>>2],t[U>>2]=B,z=(0|t[k>>2])+4|0,t[k>>2]=z,!((0|(Y=E+4|0))==(0|i));)E=Y,U=z}else{if(A=r+((p=((0|t[(v=e+4|0)>>2])-_|0)>>2)<<2)|0,R=(y=(w=(O=n>>>0>p>>>0)?A:i)-a|0)>>2,Lf(0|_,0|r,0|y),g=f+(R<<2)|0,!O){if((0|(N=0|t[v>>2]))==(0|g))return;return X=N+((-1^((N+-4|0)-g|0)>>>2)<<2)|0,void(t[v>>2]=X)}if((0|w)==(0|i))return;for(m=A,M=0|t[v>>2];F=0|t[m>>2],t[M>>2]=F,D=(0|t[v>>2])+4|0,t[v>>2]=D,!((0|(T=m+4|0))==(0|i));)m=T,M=D}}function ir(e,r){r|=0;var i,a,f,n,s,l,u,k,d,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0;if(o,t[(e|=0)>>2]=0,t[(i=e+4|0)>>2]=0,t[(e+8|0)>>2]=0,d=(0|(k=(l=0|t[(a=r+4|0)>>2])-(u=0|t[r>>2])|0))/12&-1,!((0|l)==(0|u))&&(d>>>0>357913941?(c=0,N(46,0|e),g=c,c=0,1&g||(F=4)):F=4,4!=(0|F)||(c=0,_=0|I(29,0|k),h=c,c=0,1&h||(t[i>>2]=_,t[e>>2]=_,E=_+(12*d|0)|0,t[(e+8|0)>>2]=E,m=0|t[r>>2],w=0|t[a>>2],c=0,P(93,0|e,0|m,0|w),S=c,c=0,1&S)))){if(f=0|q(),b,0==(0|(n=0|t[e>>2]))&&ie(0|f),(0|(s=0|t[i>>2]))==(0|n))R=n;else{for(p=s;v=p+-12|0,t[i>>2]=v,0==(0|(O=0|t[v>>2]))?A=v:((0|(0|t[(y=p+-8|0)>>2]))==(0|O)||(t[y>>2]=O),vf(O),A=0|t[i>>2]),!((0|A)==(0|n));)p=A;R=0|t[e>>2]}vf(R),ie(0|f)}}function ar(e,r){e|=0;var i,a=0,f=0;return o,!((0|(r|=0))<0)&&(a=e+28|0,(0|((0|t[(e+32|0)>>2])-(f=0|t[a>>2])|0)>>2)>(0|r))?0|(0|t[(f+(r<<2)|0)>>2]):(Oa(2038),i=0|t[(e+28|0)>>2],0|(0|t[(i+(r<<2)|0)>>2]))}function fr(e,r,i){r|=0,i|=0;var f,n,o,s,l,u,k,d=0,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,I=0,P=0,x=0,L=0,H=0,U=0,z=0,Y=0,V=0,X=0,W=0,j=0,K=0,G=0,J=0,Z=0,Q=0,$=0,ee=0,re=0,ae=0,fe=0,te=0,ne=0,oe=0,se=0,le=0,ue=0,ce=0;t[(e|=0)>>2]=0|t[i>>2],t[e+4>>2]=0|t[i+4>>2],t[e+8>>2]=0|t[i+8>>2],t[e+12>>2]=0|t[i+12>>2],Me(f=e+16|0,((0|t[(i+12|0)>>2])+1|0)-(0|t[(i+4|0)>>2])|0),c=0,l=0|B(94,0|r,0|i),u=c,c=0,k=1&u;do{if(k)ce=5;else{if(!l&&(c=0,N(47,2145),_=c,c=0,1&_)){ce=5;break}if(O=(p=0|t[e>>2])-(0|t[r>>2])|0,R=(y=0|t[(A=e+4|0)>>2])-(0|t[(r+4|0)>>2])|0,!((0|(((0|t[(g=e+12|0)>>2])+1|0)-y|0))>0))return;for(M=r+16|0,I=0|t[(F=e+8|0)>>2],x=p,ue=0;;){if(T=(D=0|t[f>>2])+(12*ue|0)|0,P=(I+1|0)-x|0,H=0|t[(L=4+(D+(12*ue|0)|0)|0)>>2],Y=U=0|t[T>>2],V=H,P>>>0>(z=H-U|0)>>>0){if(c=0,C(95,0|T,0|(P-z|0)),X=c,c=0,1&X){ce=4;break}j=0|t[F>>2],K=0|t[e>>2]}else P>>>0<z>>>0?(0|V)==(0|(W=Y+P|0))?(j=I,K=x):(t[L>>2]=W,j=I,K=x):(j=I,K=x);if((0|((j+1|0)-K|0))>0)for(G=(0|t[M>>2])+(12*(R+ue|0)|0)|0,J=(0|t[f>>2])+(12*ue|0)|0,se=0;;){if(Q=O+se|0,$=0|t[G>>2],ee=0|a[($+Q|0)>>0],re=0|t[J>>2],a[(re+se|0)>>0]=ee,!((0|(ae=se+1|0))<(0|(((fe=0|t[F>>2])+1|0)-(te=0|t[e>>2])|0)))){ne=te,oe=fe;break}se=ae}else ne=K,oe=j;if(!((0|(Z=ue+1|0))<(0|(((0|t[g>>2])+1|0)-(0|t[A>>2])|0)))){ce=17;break}I=oe,x=ne,ue=Z}if(4==(0|ce)){d=f,le=0|q(),b;break}if(17==(0|ce))return}}while(0);if(5==(0|ce)&&(d=f,le=0|q(),b),0==(0|(n=0|t[d>>2]))&&ie(0|le),(0|(s=0|t[(o=e+20|0)>>2]))==(0|n))v=n;else{for(E=s;h=E+-12|0,t[o>>2]=h,0==(0|(m=0|t[h>>2]))?w=h:((0|(0|t[(S=E+-8|0)>>2]))==(0|m)||(t[S>>2]=m),vf(m),w=0|t[o>>2]),!((0|w)==(0|n));)E=w;v=0|t[f>>2]}vf(v),ie(0|le)}function tr(e,r){e|=0,r|=0;var i,f,n,l,u,c,b,k,d,h,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0,I=0,P=0,x=0,L=0,H=0,B=0;if(h=o,(0|(o=o+16|0))>=(0|s)&&_(),f=h+8|0,i=h+4|0,n=h,l=h+12|0,(0|(b=0|t[e>>2]))==(0|r))o=h;else{k=(0|b)>(0|r),d=(u=((0|t[(e+12|0)>>2])+1|0)-(0|t[(e+4|0)>>2])|0)+-1|0,c=(0|u)>0;e:do{if(k){if(c&&(S=0|t[(w=e+16|0)>>2],p=0|t[(v=S+(12*d|0)|0)>>2],t[n>>2]=p,O=b-r|0,a[l>>0]=0,t[i>>2]=0|t[n>>2],nr(v,i,O,l),(0|u)>1))for(L=d;x=L+-1|0,E=0|t[e>>2],A=0|t[w>>2],R=0|t[(y=A+(12*x|0)|0)>>2],t[n>>2]=R,g=E-r|0,a[l>>0]=0,t[f>>2]=0|t[n>>2],nr(y,f,g,l),(0|L)>1;)L=x}else if(c)for(m=e+16|0,D=b,B=d;;){if(F=0|t[m>>2],T=(M=0|t[(F+(12*B|0)|0)>>2])+(r-D|0)|0,(0|D)==(0|r)||(N=T,Lf(0|M,0|T,0|(I=(0|t[(C=4+(F+(12*B|0)|0)|0)>>2])-N|0)),P=M+I|0,(0|(0|t[C>>2]))==(0|P)||(t[C>>2]=P)),!((0|B)>0))break e;H=B+-1|0,D=0|t[e>>2],B=H}}while(0);Ce(e,r),o=h}}function nr(e,r,i,f){r|=0,i|=0,f|=0;var n,s,l,u,c,b,k,d,_,h,E,m,w,S,v,p,O,A,y,R,g,F=0,M=0,D=0,T=0,N=0,C=0,I=0,P=0,x=0,L=0,H=0,B=0,U=0,z=0,Y=0,V=0,X=0,W=0,j=0,K=0,G=0,q=0,J=0,Z=0,Q=0,$=0,ee=0,re=0,ie=0,ae=0,fe=0,te=0,ne=0,oe=0,se=0,le=0,ue=0,ce=0;if(o,s=n=0|t[(e|=0)>>2],u=n+((0|t[r>>2])-s|0)|0,0==(0|i))return 0|u;if(!(((w=0|t[(d=e+8|0)>>2])-(l=R=0|t[(y=e+4|0)>>2])|0)>>>0<i>>>0)){if((P=l-u|0)>>>0<i>>>0){for(M=i-P|0,L=R;;){if(x=0|a[f>>0],a[L>>0]=x,H=(0|t[y>>2])+1|0,t[y>>2]=H,0==(0|(B=M+-1|0))){C=H;break}M=B,L=H}if((0|R)==(0|u))return 0|u;N=P,U=C}else N=i,U=R;if((Y=u+(z=U-(u+i|0)|0)|0)>>>0<R>>>0)for(X=U,se=Y;V=0|a[se>>0],a[X>>0]=V,W=se+1|0,j=(0|t[y>>2])+1|0,t[y>>2]=j,!((0|W)==(0|R));)X=j,se=W;return Lf(0|(U+(0-z|0)|0),0|u,0|z),ue=u>>>0>f>>>0?f:(0|t[y>>2])>>>0>f>>>0?f+i|0:f,Tf(0|u,0|(0|a[ue>>0]),0|N),0|u}for((0|(c=(l-s|0)+i|0))<0?(mf(e),I=0|t[d>>2],K=0|t[e>>2],G=I):(K=s,G=w),(b=G-K|0)>>>0<1073741823?($=(Q=u)-K|0,0==(0|(Z=(J=b<<1)>>>0<c>>>0?c:J))?(T=0,ee=0,re=$,te=Q):(D=Z,ne=$,oe=Q,ce=17)):(D=2147483647,ne=(q=u)-K|0,oe=q,ce=17),17==(0|ce)&&(T=D,ee=0|gf(D),re=ne,te=oe),_=ee+T|0,h=re+i|0,F=i,le=k=ee+re|0;ie=0|a[f>>0],a[le>>0]=ie,ae=le+1|0,!(0==(0|(fe=F+-1|0)));)F=fe,le=ae;return E=_,g=ee+h|0,p=v=k+(0-(S=te-(m=0|t[e>>2])|0)|0)|0,xf(0|v,0|m,0|S),xf(0|g,0|u,0|(O=(0|t[y>>2])-te|0)),A=g+O|0,t[e>>2]=p,t[y>>2]=A,t[d>>2]=E,0==(0|m)?0|k:(vf(m),0|k)}function or(e,r){e|=0,r|=0;var i,f,n,l,u,k,d,h,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,C=0,P=0,x=0,H=0,B=0,U=0,z=0,Y=0,V=0,X=0,W=0,j=0,K=0,G=0,J=0,Z=0,Q=0,$=0,ee=0,re=0,ae=0,fe=0;if(h=o,(0|(o=o+32|0))>=(0|s)&&_(),i=h+16|0,f=h+12|0,n=h,(0|(l=0|t[(e+4|0)>>2]))==(0|r))o=h;else{u=(0|l)>(0|r),d=0|t[(k=e+16|0)>>2];do{if(u){re=d,t[f>>2]=re,ae=l-r|0,A=(O=(0|t[(e+8|0)>>2])+1|0)-(p=0|t[e>>2])|0,t[n>>2]=0,t[(y=n+4|0)>>2]=0,t[(n+8|0)>>2]=0,R=(0|O)==(0|p);e:do{if(!R){if((0|A)<0?(c=0,N(46,0|n),g=c,c=0,1&g||(fe=6)):fe=6,6==(0|fe)&&(c=0,F=0|I(29,0|A),M=c,c=0,!(1&M)))for(t[y>>2]=F,t[n>>2]=F,D=F+A|0,t[(n+8|0)>>2]=D,E=A,T=F;;){if(a[T>>0]=0,C=(0|t[y>>2])+1|0,t[y>>2]=C,0==(0|(P=E+-1|0)))break e;E=P,T=C}x=0|q(),b,0==(0|(H=0|t[n>>2]))&&ie(0|x),(0|(0|t[y>>2]))==(0|H)||(t[y>>2]=H),vf(H),ie(0|x)}}while(0);if(c=0,t[i>>2]=0|t[f>>2],L(96,0|k,0|i,0|ae,0|n),B=c,c=0,!(1&B)){if(0==(0|(U=0|t[n>>2])))break;(0|(0|t[y>>2]))==(0|U)||(t[y>>2]=U),vf(U);break}z=0|q(),b,0==(0|(Y=0|t[n>>2]))&&ie(0|z),(0|(0|t[y>>2]))==(0|Y)||(t[y>>2]=Y),vf(Y),ie(0|z)}else{if((0|(V=d+(12*(r-l|0)|0)|0))==(0|(W=0|t[(X=e+20|0)>>2])))m=d,G=V;else{for(w=V,S=d;;){if((0|S)==(0|w)||ye(S,0|t[w>>2],0|t[(w+4|0)>>2]),K=S+12|0,(0|(j=w+12|0))==(0|W)){v=K;break}w=j,S=K}m=v,G=0|t[X>>2]}if(!((0|G)==(0|m)))for(Z=G;J=Z+-12|0,t[X>>2]=J,0==(0|(Q=0|t[J>>2]))?$=J:((0|(0|t[(ee=Z+-8|0)>>2]))==(0|Q)||(t[ee>>2]=Q),vf(Q),$=0|t[X>>2]),!((0|$)==(0|m));)Z=$}}while(0);Ie(e,r),o=h}}function sr(e,r){e|=0,r|=0;var i,f,n,l,u,c,b,k,d,h,E,m,w,S,v,p,O,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0,I=0,P=0,x=0,L=0,H=0,B=0,U=0,z=0,Y=0,V=0,X=0,W=0;if(O=o,(0|(o=o+16|0))>=(0|s)&&_(),i=O,(0|(d=0|t[(f=e+12|0)>>2]))==(0|r))o=O;else{if(v=(d+1|0)-(0|t[(S=e+4|0)>>2])|0,xe(e,r),p=e+16|0,n=((0|t[f>>2])+1|0)-(0|t[S>>2])|0,u=0|t[(l=e+20|0)>>2],k=c=0|t[p>>2],h=u,n>>>0>(b=(0|(u-c|0))/12&-1)>>>0)Oe(p,n-b|0);else if(n>>>0<b>>>0&&!((0|h)==(0|(A=k+(12*n|0)|0))))for(R=h;y=R+-12|0,t[l>>2]=y,0==(0|(g=0|t[y>>2]))?F=y:((0|(0|t[(M=R+-8|0)>>2]))==(0|g)||(t[M>>2]=g),vf(g),F=0|t[l>>2]),!((0|F)==(0|A));)R=F;if((0|v)<(0|(((E=0|t[f>>2])+1|0)-(m=0|t[S>>2])|0))){for(w=e+8|0,V=m,X=E,W=v;T=(D=0|t[p>>2])+(12*W|0)|0,N=((0|t[w>>2])+1|0)-(0|t[e>>2])|0,a[i>>0]=0,I=0|t[(C=4+(D+(12*W|0)|0)|0)>>2],L=P=0|t[T>>2],H=I,N>>>0>(x=I-P|0)>>>0?(De(T,N-x|0,i),z=0|t[f>>2],Y=0|t[S>>2]):N>>>0<x>>>0?(0|H)==(0|(B=L+N|0))?(z=X,Y=V):(t[C>>2]=B,z=X,Y=V):(z=X,Y=V),(0|(U=W+1|0))<(0|((z+1|0)-Y|0));)V=Y,X=z,W=U;o=O}else o=O}}function lr(e,r){var i,f,n,s,l,u,c,b=0,k=0,d=0,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0;if(o,ur(e|=0,r|=0),!((0|(f=0|t[(i=r+4|0)>>2]))>(0|(0|t[(n=r+12|0)>>2]))))for(l=r+16|0,u=e+4|0,c=e+16|0,k=0|t[(s=r+8|0)>>2],D=f;;){b=(0|(F=0|t[r>>2]))>(0|k);e:do{if(b)R=k;else for(m=F,g=k,M=F;;){if(_=D-(0|t[i>>2])|0,h=0|t[l>>2],E=M-m|0,w=0|t[(h+(12*_|0)|0)>>2],(0|a[(w+E|0)>>0])<<24>>24==0?A=g:(S=D-(0|t[u>>2])|0,v=0|t[c>>2],p=M-(0|t[e>>2])|0,O=0|t[(v+(12*S|0)|0)>>2],a[(O+p|0)>>0]=1,A=0|t[s>>2]),!((0|M)<(0|A))){R=A;break e}y=M+1|0,m=0|t[r>>2],g=A,M=y}}while(0);if(d=D+1|0,!((0|D)<(0|(0|t[n>>2]))))break;k=R,D=d}}function ur(e,r){e|=0,r|=0;var i,f,n,l,u,c,b,k,d,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0;if(d=o,(0|(o=o+16|0))>=(0|s)&&_(),i=d,(0|(f=0|t[r>>2]))<(0|(0|t[e>>2]))&&tr(e,f),(0|(b=0|t[(r+4|0)>>2]))<(0|(0|t[(k=e+4|0)>>2]))&&or(e,b),(0|(n=0|t[(r+8|0)>>2]))>(0|(u=0|t[(l=e+8|0)>>2]))&&!((0|u)==(0|n))&&(Pe(e,n),(0|(h=((0|t[(e+12|0)>>2])+1|0)-(0|t[k>>2])|0))>0))for(E=e+16|0,M=h;F=M+-1|0,w=(m=0|t[E>>2])+(12*F|0)|0,S=((0|t[l>>2])+1|0)-(0|t[e>>2])|0,a[i>>0]=0,p=0|t[(v=4+(m+(12*F|0)|0)|0)>>2],y=O=0|t[w>>2],R=p,S>>>0>(A=p-O|0)>>>0?De(w,S-A|0,i):S>>>0<A>>>0&&((0|R)==(0|(g=y+S|0))||(t[v>>2]=g)),(0|M)>1;)M=F;(0|(c=0|t[(r+12|0)>>2]))>(0|(0|t[(e+12|0)>>2]))?(sr(e,c),o=d):o=d}function cr(e){var r,i,f,n,s,l=0,u=0,c=0,b=0,k=0,d=0,_=0,h=0,E=0,m=0;if(o,(0|(i=0|t[((e|=0)+4|0)>>2]))>(0|(f=0|t[(e+12|0)>>2])))return 0|(d=0);if((0|(n=0|t[e>>2]))>(0|(s=0|t[(e+8|0)>>2])))return 0|(d=0);for(r=0|t[(e+16|0)>>2],_=0,m=i;;){for(c=0|t[(r+(12*(m-i|0)|0)|0)>>2],h=_,E=n;;){if(l=(1&(0|a[(c+(E-n|0)|0)>>0])<<24>>24!=0)+h|0,k=E+1|0,!((0|E)<(0|s))){u=l;break}h=l,E=k}if(b=m+1|0,!((0|m)<(0|f))){d=u;break}_=u,m=b}return 0|d}function br(e){var r,i,f,n,s,l,u,c,b,k,d,_,h,E,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0,I=0,P=0,x=0,L=0,H=0,B=0,U=0,z=0,Y=0,V=0,X=0,W=0,j=0,K=0,G=0,q=0,J=0,Z=0,Q=0,$=0,ee=0,re=0,ie=0;if(o,_=((r=0|t[((e|=0)+12|0)>>2])+1|0)-(k=0|t[(e+4|0)>>2])|0,s=(n=(0|(f=29*((0|(i=((h=0|t[(e+8|0)>>2])+1|0)-(E=0|t[e>>2])|0))<(0|_)?i:_)|0))/100&-1)+E|0,l=h-n|0,u=(0|f)>99)for(O=e+16|0,U=0,$=0;;){if((0|(A=s-$|0))>(0|(y=$+l|0)))z=U;else for(R=0|t[O>>2],g=0|t[(R+(12*$|0)|0)>>2],Y=U,J=A;;){if(m=(1&(0|a[(g+(J-E|0)|0)>>0])<<24>>24!=0)+Y|0,M=J+1|0,!((0|J)<(0|y))){z=m;break}Y=m,J=M}if(!((0|(F=$+1|0))<(0|n))){B=z;break}U=z,$=F}else B=0;if((0|(c=k+n|0))>(0|(b=r-n|0))|(0|E)>(0|h))V=B;else for(p=0|t[(e+16|0)>>2],X=B,ie=c;;){for(D=0|t[(p+(12*(ie-k|0)|0)|0)>>2],W=X,Z=E;;){if(w=(1&(0|a[(D+(Z-E|0)|0)>>0])<<24>>24!=0)+W|0,N=Z+1|0,!((0|Z)<(0|h))){S=w;break}W=w,Z=N}if(T=ie+1|0,!((0|ie)<(0|b))){V=S;break}X=S,ie=T}if(!u)return 0|(j=V);for(d=e+16|0,K=V,re=n;;){if((0|(C=s-(ee=re+-1|0)|0))>(0|(I=ee+l|0)))G=K;else for(P=(r+(1-re|0)|0)-k|0,x=0|t[d>>2],L=0|t[(x+(12*P|0)|0)>>2],q=K,Q=C;;){if(v=(1&(0|a[(L+(Q-E|0)|0)>>0])<<24>>24!=0)+q|0,H=Q+1|0,!((0|Q)<(0|I))){G=v;break}q=v,Q=H}if(!((0|re)>1)){j=G;break}K=G,re=ee}return 0|j}function kr(e,r,i,f){r|=0,i|=0,f|=0;var n,s,l,u=0,c=0,b=0,k=0,d=0,_=0,h=0,E=0;for(o,n=0|t[(e|=0)>>2],s=e+4|0,l=e+16|0,_=i;;){if(!((0|_)>(0|n))){h=_,E=4;break}if(c=_+-1|0,b=r-(0|t[s>>2])|0,k=0|t[l>>2],d=c-n|0,u=0|t[(k+(12*b|0)|0)>>2],!((0|a[(u+d|0)>>0])<<24>>24!=0^f)){h=_,E=4;break}_=c}return 4==(0|E)?0|h:0}function dr(e,r,i,f){r|=0,i|=0,f|=0;var n,s,l=0,u=0,c=0,b=0,k=0,d=0,_=0,h=0;for(o,n=0|t[((e|=0)+4|0)>>2],s=e+16|0,d=r;;){if(!((0|d)>(0|n))){_=d,h=4;break}if(c=(u=d+-1|0)-n|0,b=0|t[s>>2],k=i-(0|t[e>>2])|0,l=0|t[(b+(12*c|0)|0)>>2],!((0|a[(l+k|0)>>0])<<24>>24!=0^f)){_=d,h=4;break}d=u}return 4==(0|h)?0|_:0}function _r(e,r,i,f){r|=0,i|=0,f|=0;var n,s,l,u=0,c=0,b=0,k=0,d=0,_=0,h=0,E=0;for(o,n=0|t[((e|=0)+8|0)>>2],s=e+4|0,l=e+16|0,_=i;;){if(!((0|_)<(0|n))){h=_,E=4;break}if(b=_+1|0,k=r-(0|t[s>>2])|0,d=0|t[l>>2],u=b-(0|t[e>>2])|0,c=0|t[(d+(12*k|0)|0)>>2],!((0|a[(c+u|0)>>0])<<24>>24!=0^f)){h=_,E=4;break}_=b}return 4==(0|E)?0|h:0}function hr(e,r,i,f){r|=0,i|=0,f|=0;var n,s,l,u=0,c=0,b=0,k=0,d=0,_=0,h=0,E=0;for(o,n=0|t[((e|=0)+12|0)>>2],s=e+4|0,l=e+16|0,_=r;;){if(!((0|_)<(0|n))){h=_,E=4;break}if(k=(b=_+1|0)-(0|t[s>>2])|0,d=0|t[l>>2],u=i-(0|t[e>>2])|0,c=0|t[(d+(12*k|0)|0)>>2],!((0|a[(c+u|0)>>0])<<24>>24!=0^f)){h=_,E=4;break}_=b}return 4==(0|E)?0|h:0}function Er(e,r,i){i|=0;var f,n,s,l,u,c,b,k,d,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0,I=0,P=0,x=0,L=0,H=0,B=0,U=0,z=0,Y=0,V=0,X=0,W=0;if(o,s=(r|=0)-(f=0|t[((e|=0)+4|0)>>2])|0,c=0|t[(e+16|0)>>2],k=i-(b=0|t[e>>2])|0,d=0|t[(c+(12*s|0)|0)>>2],!((0|a[(d+k|0)>>0])<<24>>24==0))return 0|0;for(n=f+1|0,U=r;;){if(!((0|U)>(0|n))){z=U;break}if(m=0|t[(c+(12*((E=U+-1|0)-f|0)|0)|0)>>2],!((0|a[(m+k|0)>>0])<<24>>24==0)){z=U;break}U=E}for(l=(0|t[(e+12|0)>>2])+-1|0,I=r;;){if(!((0|I)<(0|l))){P=I;break}if(S=0|t[(c+(12*((w=I+1|0)-f|0)|0)|0)>>2],!((0|a[(S+k|0)>>0])<<24>>24==0)){P=I;break}I=w}u=(0|z)>(0|P);e:do{if(u)h=i;else for(_=i,x=P,Y=z;;){if(v=_+-1|0,!((0|_)>(0|b))){h=v;break e}(0|Y)>(0|n)?(p=v-b|0,O=0|t[(c+(12*(Y-f|0)|0)|0)>>2],V=(((0|a[(O+p|0)>>0])<<24>>24==0)<<31>>31)+Y|0):V=Y,(0|x)<(0|l)?(A=v-b|0,y=0|t[(c+(12*(x-f|0)|0)|0)>>2],L=(1&(0|a[(y+A|0)>>0])<<24>>24==0)+x|0):L=x,R=(0|V)>(0|L);r:do{if(R)X=V;else for(g=v-b|0,W=V;;){if(F=0|t[(c+(12*(W-f|0)|0)|0)>>2],(0|a[(F+g|0)>>0])<<24>>24==0){X=W;break r}if(T=W+1|0,!((0|W)<(0|L))){X=T;break}W=T}}while(0);M=(0|X)>(0|L);r:do{if(M)H=L;else for(D=v-b|0,B=L;;){if(N=0|t[(c+(12*(B-f|0)|0)|0)>>2],(0|a[(N+D|0)>>0])<<24>>24==0){H=B;break r}if(C=B+-1|0,!((0|X)<(0|B))){H=C;break}B=C}}while(0);if((0|X)>(0|H)){h=v;break}_=v,x=H,Y=X}}while(0);return 0|(0|h)<(0|b)}function mr(e,r,i){i|=0;var f,n,s,l,u,c,b,k,d,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0,I=0,P=0,x=0,L=0,H=0,B=0,U=0,z=0;if(o,s=(r|=0)-(f=0|t[((e|=0)+4|0)>>2])|0,c=0|t[(e+16|0)>>2],k=i-(b=0|t[e>>2])|0,d=0|t[(c+(12*s|0)|0)>>2],!((0|a[(d+k|0)>>0])<<24>>24==0))return 0|0;for(n=b+1|0,D=i;;){if(!((0|D)>(0|n))){T=D;break}if(!((0|a[(d+((E=D+-1|0)-b|0)|0)>>0])<<24>>24==0)){T=D;break}D=E}for(l=(0|t[(e+8|0)>>2])+-1|0,x=i;;){if(!((0|x)<(0|l))){L=x;break}if(!((0|a[(d+((m=x+1|0)-b|0)|0)>>0])<<24>>24==0)){L=x;break}x=m}u=(0|T)>(0|L);e:do{if(u)h=r;else for(_=r,N=T,H=L;;){if(w=_+-1|0,!((0|_)>(0|f))){h=w;break e}(0|N)>(0|n)?(S=N-b|0,v=0|t[(c+(12*(w-f|0)|0)|0)>>2],C=(((0|a[(v+S|0)>>0])<<24>>24==0)<<31>>31)+N|0):C=N,(0|H)<(0|l)?(p=H-b|0,O=0|t[(c+(12*(w-f|0)|0)|0)>>2],B=(1&(0|a[(O+p|0)>>0])<<24>>24==0)+H|0):B=H,A=(0|C)>(0|B);r:do{if(A)I=C;else for(y=0|t[(c+(12*(w-f|0)|0)|0)>>2],P=C;;){if((0|a[(y+(P-b|0)|0)>>0])<<24>>24==0){I=P;break r}if(F=P+1|0,!((0|P)<(0|B))){I=F;break}P=F}}while(0);R=(0|I)>(0|B);r:do{if(R)U=B;else for(g=0|t[(c+(12*(w-f|0)|0)|0)>>2],z=B;;){if((0|a[(g+(z-b|0)|0)>>0])<<24>>24==0){U=z;break r}if(M=z+-1|0,!((0|I)<(0|z))){U=M;break}z=M}}while(0);if((0|I)>(0|U)){h=w;break}_=w,N=I,H=U}}while(0);return 0|(0|h)<(0|f)}function wr(e,r,i){i|=0;var f,n,s,l,u,c,b,k,d,_,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0,I=0,P=0,x=0,L=0,H=0,B=0,U=0,z=0,Y=0,V=0,X=0,W=0,j=0,K=0,G=0,q=0,J=0,Z=0,Q=0,$=0;if(o,l=(r|=0)-(n=0|t[((e|=0)+4|0)>>2])|0,b=0|t[(e+16|0)>>2],d=i-(k=0|t[e>>2])|0,_=0|t[(b+(12*l|0)|0)>>2],!((0|a[(_+d|0)>>0])<<24>>24==0))return 0|0;for(s=n+1|0,K=r;;){if(!((0|K)>(0|s))){G=K;break}if(w=0|t[(b+(12*((m=K+-1|0)-n|0)|0)|0)>>2],!((0|a[(w+d|0)>>0])<<24>>24==0)){G=K;break}K=m}for(u=(0|t[(e+12|0)>>2])+-1|0,U=r;;){if(!((0|U)<(0|u))){z=U;break}if(v=0|t[(b+(12*((S=U+1|0)-n|0)|0)|0)>>2],!((0|a[(v+d|0)>>0])<<24>>24==0)){z=U;break}U=S}c=(0|G)>(0|z),f=0|t[(e+8|0)>>2];e:do{if(c)E=i;else for(p=n+1|0,h=i,Y=z,q=G;;){if(O=h+1|0,!((0|h)<(0|f))){E=O;break e}A=(0|q)>(0|p);r:do{if(A)for(y=O-k|0,Z=q;;){if(R=0|t[(b+(12*(Z-n|0)|0)|0)>>2],!((0|a[(R+y|0)>>0])<<24>>24==0)){J=Z;break r}if(!((0|(M=Z+-1|0))>(0|p))){J=M;break}Z=M}else J=q}while(0);g=(0|Y)<(0|u);r:do{if(g)for(F=O-k|0,X=Y;;){if(D=0|t[(b+(12*(X-n|0)|0)|0)>>2],!((0|a[(D+F|0)>>0])<<24>>24==0)){V=X;break r}if(!((0|(C=X+1|0))<(0|u))){V=C;break}X=C}else V=Y}while(0);T=(0|J)>(0|V);r:do{if(T)Q=J;else for(N=O-k|0,$=J;;){if(I=0|t[(b+(12*($-n|0)|0)|0)>>2],(0|a[(I+N|0)>>0])<<24>>24==0){Q=$;break r}if(L=$+1|0,!((0|$)<(0|V))){Q=L;break}$=L}}while(0);P=(0|Q)>(0|V);r:do{if(P)W=V;else for(x=O-k|0,j=V;;){if(H=0|t[(b+(12*(j-n|0)|0)|0)>>2],(0|a[(H+x|0)>>0])<<24>>24==0){W=j;break r}if(B=j+-1|0,!((0|Q)<(0|j))){W=B;break}j=B}}while(0);if((0|Q)>(0|W)){E=O;break}h=O,Y=W,q=Q}}while(0);return 0|(0|E)>(0|f)}function Sr(e,r,i){i|=0;var f,n,s,l,u,c,b,k,d,_,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0,I=0,P=0,x=0,L=0,H=0,B=0,U=0,z=0,Y=0;if(o,l=(r|=0)-(n=0|t[((e|=0)+4|0)>>2])|0,b=0|t[(e+16|0)>>2],d=i-(k=0|t[e>>2])|0,_=0|t[(b+(12*l|0)|0)>>2],!((0|a[(_+d|0)>>0])<<24>>24==0))return 0|0;for(s=k+1|0,T=i;;){if(!((0|T)>(0|s))){N=T;break}if(!((0|a[(_+((m=T+-1|0)-k|0)|0)>>0])<<24>>24==0)){N=T;break}T=m}for(u=(0|t[(e+8|0)>>2])+-1|0,L=i;;){if(!((0|L)<(0|u))){H=L;break}if(!((0|a[(_+((w=L+1|0)-k|0)|0)>>0])<<24>>24==0)){H=L;break}L=w}c=(0|N)>(0|H),f=0|t[(e+12|0)>>2];e:do{if(c)E=r;else for(h=r,C=N,B=H;;){if(S=h+1|0,!((0|h)<(0|f))){E=S;break e}(0|C)>(0|s)?(v=C-k|0,p=0|t[(b+(12*(S-n|0)|0)|0)>>2],I=(((0|a[(p+v|0)>>0])<<24>>24==0)<<31>>31)+C|0):I=C,(0|B)<(0|u)?(O=B-k|0,A=0|t[(b+(12*(S-n|0)|0)|0)>>2],U=(1&(0|a[(A+O|0)>>0])<<24>>24==0)+B|0):U=B,y=(0|I)>(0|U);r:do{if(y)P=I;else for(R=0|t[(b+(12*(S-n|0)|0)|0)>>2],x=I;;){if((0|a[(R+(x-k|0)|0)>>0])<<24>>24==0){P=x;break r}if(M=x+1|0,!((0|x)<(0|U))){P=M;break}x=M}}while(0);g=(0|P)>(0|U);r:do{if(g)z=U;else for(F=0|t[(b+(12*(S-n|0)|0)|0)>>2],Y=U;;){if((0|a[(F+(Y-k|0)|0)>>0])<<24>>24==0){z=Y;break r}if(D=Y+-1|0,!((0|P)<(0|Y))){z=D;break}Y=D}}while(0);if((0|P)>(0|z)){E=S;break}h=S,C=P,B=z}}while(0);return 0|(0|E)>(0|f)}function vr(e,r,i){e|=0,r|=0,i|=0;var f,n,l,u,k,d,h,E,m,w,S,v,p,O,A,y,R,g,F,M,D,T,N=0,C=0,x=0,L=0,H=0,B=0,U=0,z=0,Y=0,V=0,X=0,W=0,j=0,K=0,G=0,J=0,Z=0,Q=0,$=0,ee=0,re=0,ae=0,fe=0,te=0,ne=0,oe=0,se=0,le=0,ue=0,ce=0,be=0,ke=0,de=0,_e=0,he=0,Ee=0,me=0,we=0,Se=0,ve=0,pe=0,Oe=0,Ae=0,ye=0,Re=0,ge=0,Fe=0,Me=0,De=0,Te=0,Ne=0,Ce=0,Ie=0,Pe=0,xe=0,Le=0,He=0,Be=0,Ue=0,ze=0,Ye=0,Ve=0,Xe=0,We=0,je=0,Ke=0,Ge=0,qe=0,Je=0,Ze=0,Qe=0,$e=0,er=0,rr=0,ir=0,ar=0,fr=0,tr=0,nr=0,or=0,sr=0,lr=0,ur=0,cr=0,br=0;if(T=o,(0|(o=o+16|0))>=(0|s)&&_(),D=T,f=T+14|0,n=T+13|0,m=T+12|0,y=r-(0|t[(p=e+4|0)>>2])|0,g=0|t[(R=e+16|0)>>2],M=i-(F=0|t[e>>2])|0,u=0|t[(l=g+(12*y|0)|0)>>2],(0|a[(u+M|0)>>0])<<24>>24==0)return o=T,0|r;t[D>>2]=0,t[(k=D+4|0)>>2]=0,t[(D+8|0)>>2]=0,w=(E=(h=0|t[(d=e+8|0)>>2])+1|0)-F|0,S=D+8|0,v=(0|E)==(0|F);do{if(v)fr=i,br=6;else{if((0|E)==(0|F))we=0;else{if(c=0,Ee=0|I(29,0|w),me=c,c=0,1&me)break;we=Ee}Se=we,ve=we+w|0,t[D>>2]=Se,t[k>>2]=Se,t[S>>2]=ve,fr=i,br=6}}while(0);e:do{if(6==(0|br)){for(;;){if(br=0,!((0|fr)>(0|F))){Re=h;break}if(Oe=(pe=fr+-1|0)-F|0,Ae=0|t[l>>2],(0|a[(Ae+Oe|0)>>0])<<24>>24==0){tr=fr,br=12;break}fr=pe,br=6}if(12==(0|br))if(a[f>>0]=0,(0|tr)==(0|F))Re=h;else{if(c=0,P(51,0|D,0|(tr-F|0),0|f),ye=c,c=0,1&ye)break;Re=0|t[d>>2]}for(nr=i;;){if(!((0|nr)<(0|Re))){or=nr,br=17;break}if(ge=nr+1|0,Fe=r-(0|t[p>>2])|0,Me=0|t[R>>2],Te=ge-(De=0|t[e>>2])|0,Ne=0|t[(Me+(12*Fe|0)|0)>>2],(0|a[(Ne+Te|0)>>0])<<24>>24==0){Ce=De,sr=nr;break}nr=ge}if(17==(0|br)&&(Ce=0|t[e>>2],sr=or),Ie=(sr-Ce|0)+1|0,a[n>>0]=1,Pe=0|t[k>>2],He=xe=0|t[D>>2],Be=Pe,Ie>>>0>(Le=Pe-xe|0)>>>0){if(c=0,P(51,0|D,0|(Ie-Le|0),0|n),Ue=c,c=0,1&Ue)break;Ve=0|t[d>>2]}else Ie>>>0<Le>>>0?(0|Be)==(0|(ze=He+Ie|0))?Ve=Re:(t[k>>2]=ze,Ve=Re):Ve=Re;Ye=(0|sr)<(0|Ve);do{if(Ye){if(Xe=(Ve+1|0)-(0|t[e>>2])|0,a[m>>0]=0,We=0|t[k>>2],Ge=je=0|t[D>>2],qe=We,Xe>>>0>(Ke=We-je|0)>>>0){if(c=0,P(51,0|D,0|(Xe-Ke|0),0|m),Je=c,c=0,1&Je)break e;break}Xe>>>0<Ke>>>0&&((0|qe)==(0|(Ze=Ge+Xe|0))||(t[k>>2]=Ze))}}while(0);Qe=(0|(0|t[p>>2]))<(0|r);r:do{if(Qe)for(C=r;;){if($e=C+-1|0,!((0|(((er=0|t[d>>2])+1|0)-(rr=0|t[e>>2])|0))>0)){N=C;break r}for(ke=er,de=rr,ir=0,lr=0;H=0|t[D>>2],(0|a[(B=H+lr|0)>>0])<<24>>24==0?(X=ke,W=de,ar=ir):(U=$e-(0|t[p>>2])|0,z=0|t[R>>2],Y=0|t[(z+(12*U|0)|0)>>2],(0|a[(Y+lr|0)>>0])<<24>>24==0?(a[B>>0]=0,X=0|t[d>>2],W=0|t[e>>2],ar=ir):(X=ke,W=de,ar=1)),(0|(V=lr+1|0))<(0|(L=(X+1|0)-W|0));)ke=X,de=W,ir=ar,lr=V;if(!ar){N=C;break r}if((0|L)>1)for(_e=X,he=W,ur=1;;){if(K=ur+-1|0,G=0|t[D>>2],(0|a[(G+K|0)>>0])<<24>>24==0?(re=_e,fe=he):(0|a[(J=G+ur|0)>>0])<<24>>24==0?(Z=$e-(0|t[p>>2])|0,Q=0|t[R>>2],$=0|t[(Q+(12*Z|0)|0)>>2],(0|a[($+ur|0)>>0])<<24>>24==0?(re=_e,fe=he):(a[J>>0]=1,re=0|t[d>>2],fe=0|t[e>>2])):(re=_e,fe=he),!((0|(ee=ur+1|0))<(0|(ae=(re+1|0)-fe|0)))){x=ae;break}_e=re,he=fe,ur=ee}else x=L;if((0|(j=x+-2|0))>-1)for(cr=j;te=cr+1|0,ne=0|t[D>>2],(0|a[(ne+te|0)>>0])<<24>>24==0||(0|a[(oe=ne+cr|0)>>0])<<24>>24==0&&(se=$e-(0|t[p>>2])|0,le=0|t[R>>2],ue=0|t[(le+(12*se|0)|0)>>2],(0|a[(ue+cr|0)>>0])<<24>>24==0||(a[oe>>0]=1)),ce=cr+-1|0,(0|cr)>0;)cr=ce;if(!((0|$e)>(0|(0|t[p>>2])))){N=$e;break}C=$e}else N=r}while(0);return 0==(0|(be=0|t[D>>2]))||((0|(0|t[k>>2]))==(0|be)||(t[k>>2]=be),vf(be)),o=T,0|N}}while(0);return O=0|q(),b,0==(0|(A=0|t[D>>2]))&&ie(0|O),(0|(0|t[k>>2]))==(0|A)||(t[k>>2]=A),vf(A),ie(0|O),0}function pr(e,r,i){e|=0,r|=0,i|=0;var f,n,l,u,k,d,h,E,m,w,S,v,p,O,A,y,R,g,F,M,D,T,N=0,C=0,x=0,L=0,H=0,B=0,U=0,z=0,Y=0,V=0,X=0,W=0,j=0,K=0,G=0,J=0,Z=0,Q=0,$=0,ee=0,re=0,ae=0,fe=0,te=0,ne=0,oe=0,se=0,le=0,ue=0,ce=0,be=0,ke=0,de=0,_e=0,he=0,Ee=0,me=0,we=0,Se=0,ve=0,pe=0,Oe=0,Ae=0,ye=0,Re=0,ge=0,Fe=0,Me=0,De=0,Te=0,Ne=0,Ce=0,Ie=0,Pe=0,xe=0,Le=0,He=0,Be=0,Ue=0,ze=0,Ye=0,Ve=0,Xe=0,We=0,je=0,Ke=0,Ge=0,qe=0,Je=0,Ze=0,Qe=0,$e=0,er=0,rr=0,ir=0,ar=0,fr=0,tr=0,nr=0,or=0,sr=0,lr=0,ur=0,cr=0,br=0,kr=0;if(T=o,(0|(o=o+16|0))>=(0|s)&&_(),D=T,f=T+14|0,n=T+13|0,m=T+12|0,y=r-(0|t[(p=e+4|0)>>2])|0,g=0|t[(R=e+16|0)>>2],M=i-(F=0|t[e>>2])|0,u=0|t[(l=g+(12*y|0)|0)>>2],(0|a[(u+M|0)>>0])<<24>>24==0)return o=T,0|r;t[D>>2]=0,t[(k=D+4|0)>>2]=0,t[(D+8|0)>>2]=0,w=(E=(h=0|t[(d=e+8|0)>>2])+1|0)-F|0,S=D+8|0,v=(0|E)==(0|F);do{if(v)tr=i,kr=6;else{if((0|E)==(0|F))Se=0;else{if(c=0,me=0|I(29,0|w),we=c,c=0,1&we)break;Se=me}ve=Se,pe=Se+w|0,t[D>>2]=ve,t[k>>2]=ve,t[S>>2]=pe,tr=i,kr=6}}while(0);e:do{if(6==(0|kr)){for(;;){if(kr=0,!((0|tr)>(0|F))){ge=h;break}if(Ae=(Oe=tr+-1|0)-F|0,ye=0|t[l>>2],(0|a[(ye+Ae|0)>>0])<<24>>24==0){nr=tr,kr=12;break}tr=Oe,kr=6}if(12==(0|kr))if(a[f>>0]=0,(0|nr)==(0|F))ge=h;else{if(c=0,P(51,0|D,0|(nr-F|0),0|f),Re=c,c=0,1&Re)break;ge=0|t[d>>2]}for(or=i;;){if(!((0|or)<(0|ge))){sr=or,kr=17;break}if(Fe=or+1|0,Me=r-(0|t[p>>2])|0,De=0|t[R>>2],Ne=Fe-(Te=0|t[e>>2])|0,Ce=0|t[(De+(12*Me|0)|0)>>2],(0|a[(Ce+Ne|0)>>0])<<24>>24==0){Ie=Te,lr=or;break}or=Fe}if(17==(0|kr)&&(Ie=0|t[e>>2],lr=sr),Pe=(lr-Ie|0)+1|0,a[n>>0]=1,xe=0|t[k>>2],Be=Le=0|t[D>>2],Ue=xe,Pe>>>0>(He=xe-Le|0)>>>0){if(c=0,P(51,0|D,0|(Pe-He|0),0|n),ze=c,c=0,1&ze)break;Xe=0|t[d>>2]}else Pe>>>0<He>>>0?(0|Ue)==(0|(Ye=Be+Pe|0))?Xe=ge:(t[k>>2]=Ye,Xe=ge):Xe=ge;Ve=(0|lr)<(0|Xe);do{if(Ve){if(We=(Xe+1|0)-(0|t[e>>2])|0,a[m>>0]=0,je=0|t[k>>2],qe=Ke=0|t[D>>2],Je=je,We>>>0>(Ge=je-Ke|0)>>>0){if(c=0,P(51,0|D,0|(We-Ge|0),0|m),Ze=c,c=0,1&Ze)break e;break}We>>>0<Ge>>>0&&((0|Je)==(0|(Qe=qe+We|0))||(t[k>>2]=Qe))}}while(0);er=(0|(0|t[($e=e+12|0)>>2]))>(0|r);r:do{if(er)for(C=r;;){if(rr=C+1|0,!((0|(((ir=0|t[d>>2])+1|0)-(L=0|t[e>>2])|0))>0)){N=C;break r}for(de=ir,_e=L,ar=0,ur=0;B=0|t[D>>2],(0|a[(U=B+ur|0)>>0])<<24>>24==0?(W=de,j=_e,fr=ar):(z=rr-(0|t[p>>2])|0,Y=0|t[R>>2],V=0|t[(Y+(12*z|0)|0)>>2],(0|a[(V+ur|0)>>0])<<24>>24==0?(a[U>>0]=0,W=0|t[d>>2],j=0|t[e>>2],fr=ar):(W=de,j=_e,fr=1)),(0|(X=ur+1|0))<(0|(H=(W+1|0)-j|0));)de=W,_e=j,ar=fr,ur=X;if(!fr){N=C;break r}if((0|H)>1)for(he=W,Ee=j,cr=1;;){if(G=cr+-1|0,J=0|t[D>>2],(0|a[(J+G|0)>>0])<<24>>24==0?(ae=he,te=Ee):(0|a[(Z=J+cr|0)>>0])<<24>>24==0?(Q=rr-(0|t[p>>2])|0,$=0|t[R>>2],ee=0|t[($+(12*Q|0)|0)>>2],(0|a[(ee+cr|0)>>0])<<24>>24==0?(ae=he,te=Ee):(a[Z>>0]=1,ae=0|t[d>>2],te=0|t[e>>2])):(ae=he,te=Ee),!((0|(re=cr+1|0))<(0|(fe=(ae+1|0)-te|0)))){x=fe;break}he=ae,Ee=te,cr=re}else x=H;if((0|(K=x+-2|0))>-1)for(br=K;ne=br+1|0,oe=0|t[D>>2],(0|a[(oe+ne|0)>>0])<<24>>24==0||(0|a[(se=oe+br|0)>>0])<<24>>24==0&&(le=rr-(0|t[p>>2])|0,ue=0|t[R>>2],ce=0|t[(ue+(12*le|0)|0)>>2],(0|a[(ce+br|0)>>0])<<24>>24==0||(a[se>>0]=1)),be=br+-1|0,(0|br)>0;)br=be;if(!((0|rr)<(0|(0|t[$e>>2])))){N=rr;break}C=rr}else N=r}while(0);return 0==(0|(ke=0|t[D>>2]))||((0|(0|t[k>>2]))==(0|ke)||(t[k>>2]=ke),vf(ke)),o=T,0|N}}while(0);return O=0|q(),b,0==(0|(A=0|t[D>>2]))&&ie(0|O),(0|(0|t[k>>2]))==(0|A)||(t[k>>2]=A),vf(A),ie(0|O),0}function Or(e,r){r|=0;var i,f,n,s,l=0,u=0,c=0,b=0,k=0,d=0,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0,I=0,P=0,x=0,L=0,H=0,B=0,U=0,z=0,Y=0,V=0,X=0,W=0,j=0,K=0,G=0,q=0,J=0,Z=0,Q=0;for(o,i=0|t[((e|=0)+4|0)>>2],f=(0|((0|t[(e+12|0)>>2])+i|0))/2&-1,n=e+8|0,s=e+16|0,N=0,z=0,G=i,J=0;;){if(!((0|(K=G+1|0))<(0|f))){l=0,Q=18;break}if((0|(p=0|t[e>>2]))>(0|(u=0|t[n>>2])))O=0,M=-1,C=N,H=-2,Y=z;else for(c=K-i|0,b=0|t[s>>2],k=0|t[(b+(12*c|0)|0)>>2],y=0,F=p,D=-1,P=N,L=0,B=-2,X=z;;){if((h=(0|a[(k+(F-p|0)|0)>>0])<<24>>24!=0)?(L?(R=y,W=X):(R=E=y+1|0,W=2==(0|E)?F:X),g=R,T=(0|D)<0?F:D,x=P,U=F,j=W):(g=y,T=D,x=1==(0|y)&L?F+-1|0:P,U=B,j=X),m=F+1|0,!((0|F)<(0|u))){O=g,M=T,C=x,H=U,Y=j;break}y=g,F=m,D=T,P=x,L=h,B=U,X=j}if(!((0|(10*(_=(d=H-M|0)+1|0)|0))>(0|(9*J|0)))){l=0,Q=18;break}if(Z=(0|d)<(0|J)?J:_,(0|O)>1){A=O,I=C,V=Y,q=K,Q=13;break}N=C,z=Y,G=K,J=Z}return 13==(0|Q)?2==(0|A)?0|mr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(R=0|t[m>>2],g=oe-G|0,F=0|t[(R+(12*y|0)|0)>>2],(0|a[(F+g|0)>>0])<<24>>24==0)break;ne=oe}if(!((0|(M=xe+-1|0))>(0|n))){Ie=M,Ye=Be;break e}xe=M,ze=Be}for(k=0|t[m>>2],v=(h+1|0)-G|0,Pe=i,Ue=0;;){for(C=0|t[(k+(12*(Pe-f|0)|0)|0)>>2],le=G;;){if(!((0|a[(C+(le-G|0)|0)>>0])<<24>>24==0)){se=le;break}if(I=le+1|0,!((0|le)<(0|h))){se=I;break}le=I}P=(0|h)>(0|se);r:do{if(P)for(pe=h;;){if(!((0|a[(C+(pe-G|0)|0)>>0])<<24>>24==0)){Se=pe;break r}if(!((0|(x=pe+-1|0))>(0|se))){Se=x;break}pe=x}else Se=h}while(0);if(H=(L=Se-se|0)+1|0,He=(0|L)<(0|Ue)?Ue:H,!((0|H<<2)<(0|v)))for(te=se;;){if(!((0|(fe=te+1|0))<(0|Se))){Ie=Pe,Ye=He;break e}if((0|a[(C+(fe-G|0)|0)>>0])<<24>>24==0)break;te=fe}if(!((0|(B=Pe+-1|0))>(0|n))){Ie=B,Ye=He;break}Pe=B,Ue=He}}else Ie=i,Ye=0}while(0);if(!((0|Ie)>(0|n)))return 0|(c=0);for(o=(0|(i+f|0))/2&-1,s=e+8|0,l=e+16|0,ke=0,ge=0,Le=Ie,Ve=Ye;;){if(!((0|(U=Le+-1|0))>(0|o))){c=0,We=41;break}if((0|(z=0|t[e>>2]))>(0|(Y=0|t[s>>2])))d=0,_=-1,Q=0,de=ke,Fe=ge;else{for(V=U-f|0,X=0|t[l>>2],W=0|t[(X+(12*V|0)|0)>>2],$=0,ae=z,ue=-1,he=ke,we=0,Ae=-2,De=ge;;){if((q=(0|a[(W+(ae-z|0)|0)>>0])<<24>>24!=0)?(we?(ee=$,Te=De):(ee=J=$+1|0,Te=2==(0|J)?ae:De),re=ee,ce=(0|ue)<0?ae:ue,Ee=he,ye=ae,Ne=Te):(re=$,ce=ue,Ee=1==(0|$)&we?ae+-1|0:he,ye=Ae,Ne=De),Z=ae+1|0,!((0|ae)<(0|Y))){ie=re,be=ce,me=Ee,Re=ye,Ce=Ne;break}$=re,ae=Z,ue=ce,he=Ee,we=q,Ae=ye,De=Ne}if(K=(j=Re-be|0)+1|0,(0|ie)>2){c=0,We=41;break}d=K,_=j,Q=ie,de=me,Fe=Ce}if(!((0|(10*d|0))>(0|Ve<<3))){c=0,We=41;break}if(Xe=(0|_)<(0|Ve)?Ve:d,2==(0|Q)&(0|(Fe-de|0))>1){b=U,_e=de,Me=Fe,We=38;break}ke=de,ge=Fe,Le=U,Ve=Xe}return 38==(0|We)?0|Sr(e,b,_e+1|0)?0|(c=0):0==(0|r)?0|(c=1):(E=(0|vr(e,b,_e))-(0|vr(e,b,Me))|0,t[r>>2]=E,0|(c=1)):41==(0|We)?0|c:0}function yr(e){var r,i,a,f,n,s,l,u,c,b,k=0,d=0,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0,I=0,P=0,x=0,L=0,H=0,B=0,U=0,z=0,Y=0,V=0;if(o,i=(e|=0)+28|0,f=0|t[(a=e+32|0)>>2],r=n=0|t[i>>2],b=f,(0|f)==(0|n))d=r,z=b;else for(h=r,L=b,H=n,B=f,Y=0;;){if(0==(0|(E=0|t[(h+(Y<<2)|0)>>2])))M=H,D=B,U=L;else{if(!(0==(0|(w=0|t[(m=E+16|0)>>2])))){if((0|(v=0|t[(S=E+20|0)>>2]))==(0|w))g=w;else{for(O=v;p=O+-12|0,t[S>>2]=p,0==(0|(A=0|t[p>>2]))?y=p:((0|(0|t[(R=O+-8|0)>>2]))==(0|A)||(t[R>>2]=A),vf(A),y=0|t[S>>2]),!((0|y)==(0|w));)O=y;g=0|t[m>>2]}vf(g)}vf(E),_=0|t[a>>2],M=0|t[i>>2],D=_,U=_}if(k=M,!((F=Y+1|0)>>>0<(D-M|0)>>2>>>0)){d=k,z=U;break}h=k,L=U,H=M,B=D,Y=F}if(0==(0|d)||((0|z)==(0|d)||(V=z+((-1^((z+-4|0)-d|0)>>>2)<<2)|0,t[a>>2]=V),vf(d)),!(0==(0|(l=0|t[(s=e+16|0)>>2])))){if((0|(c=0|t[(u=e+20|0)>>2]))==(0|l))x=l;else{for(N=c;T=N+-12|0,t[u>>2]=T,0==(0|(C=0|t[T>>2]))?I=T:((0|(0|t[(P=N+-8|0)>>2]))==(0|C)||(t[P>>2]=C),vf(C),I=0|t[u>>2]),!((0|I)==(0|l));)N=I;x=0|t[s>>2]}vf(x)}}function Rr(e,r){e|=0;var i,a,f,n=0,s=0,l=0,u=0,c=0,b=0,k=0,d=0,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0;if(o,!(0==(0|(f=((0|t[(i=(r|=0)+4|0)>>2])-(a=0|t[r>>2])|0)>>2))))for(y=a,R=f;;){if(!(0|Ye(e,n=0|t[(y+((A=R+-1|0)<<2)|0)>>2]))){if(!(0==(0|n))){if(!(0==(0|(l=0|t[(s=n+16|0)>>2])))){if((0|(c=0|t[(u=n+20|0)>>2]))==(0|l))E=l;else{for(k=c;b=k+-12|0,t[u>>2]=b,0==(0|(d=0|t[b>>2]))?_=b:((0|(0|t[(h=k+-8|0)>>2]))==(0|d)||(t[h>>2]=d),vf(d),_=0|t[u>>2]),!((0|_)==(0|l));)k=_;E=0|t[s>>2]}vf(E)}vf(n)}w=(m=(0|t[r>>2])+(A<<2)|0)+4|0,v=(S=(0|t[i>>2])-w|0)>>2,Lf(0|m,0|w,0|S),p=m+(v<<2)|0,(0|(O=0|t[i>>2]))==(0|p)||(g=O+((-1^((O+-4|0)-p|0)>>>2)<<2)|0,t[i>>2]=g)}if(0==(0|A))break;y=0|t[r>>2],R=A}}function gr(e,r){e|=0;var i,a=0,f=0;return o,!((0|(r|=0))<0)&&(a=e+28|0,(0|((0|t[(e+32|0)>>2])-(f=0|t[a>>2])|0)>>2)>(0|r))?0|(0|t[(f+(r<<2)|0)>>2]):(Oa(2203),i=0|t[(e+28|0)>>2],0|(0|t[(i+(r<<2)|0)>>2]))}function Fr(e,r,i){var f,n,s,l,u,c,b,k=0,d=0,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0;if(o,!(0|ze(e|=0,r|=0,i|=0)))return 0|(k=0);if(l=r-(0|t[(e+4|0)>>2])|0,u=0|t[(e+16|0)>>2],c=i-(0|t[e>>2])|0,b=0|t[(u+(12*l|0)|0)>>2],!((0|a[(b+c|0)>>0])<<24>>24==0))return 0|(k=1);if(f=e+28|0,!((0|((0|t[(n=e+32|0)>>2])-(s=0|t[f>>2])|0))>0))return 0|(k=0);for(d=s,A=0;;){if(0|ze(0|t[(d+(A<<2)|0)>>2],r,i)){if(_=0|t[f>>2],h=0|t[(_+(A<<2)|0)>>2],E=r-(0|t[(h+4|0)>>2])|0,m=0|t[(h+16|0)>>2],w=i-(0|t[h>>2])|0,S=0|t[(m+(12*E|0)|0)>>2],v=_,!((0|a[(S+w|0)>>0])<<24>>24==0)){y=A;break}O=v}else O=0|t[f>>2];if(!((0|(p=A+1|0))<(0|((0|t[n>>2])-O|0)>>2))){k=0,R=10;break}d=O,A=p}return 10==(0|R)?0|k:0|(k=-1^y)}function Mr(e){var r,i,a,f,n,o,s,l,u,c,b=0,k=0,d=0,_=0,h=0,E=0,m=0,w=0;l=((i=0|t[(r=(e|=0)+12|0)>>2])+1|0)-(0|t[(s=e+4|0)>>2])|0,n=(0|(f=(0|(a=((0|t[(u=e+8|0)>>2])+1|0)-(c=0|t[e>>2])|0))<(0|l)?a:l))/2&-1,o=(0|f)>1;e:do{if(o){b=0==(0|(0|Fr(e,i,c)));r:do{if(b)for(_=0;;){if(!(0==(0|(0|Fr(e,(0|t[r>>2])-_|0,(k=_+1|0)+(0|t[e>>2])|0))))){E=_;break r}if(!((0|k)<(0|n))){E=n;break r}if(!(0==(0|(0|Fr(e,(0|t[r>>2])-k|0,(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Ia,0|Ka),ar=c,c=0,1&ar){ee=rr,ff=67;break r}if(t[L>>2]=rr,fr=Ka-(0|t[(rr+4|0)>>2])|0,tr=0|t[(rr+16|0)>>2],nr=Ia-(0|t[rr>>2])|0,or=0|t[(tr+(12*fr|0)|0)>>2],a[(or+nr|0)>>0]=1,ur=rr,(0|(sr=0|t[f>>2]))==(0|(0|t[we>>2]))){if(c=0,C(100,0|i,0|L),br=c,c=0,1&br){ff=47;break r}hr=ur;break}t[sr>>2]=ur,cr=(0|t[f>>2])+4|0,t[f>>2]=cr,hr=ur;break}if(t[L>>2]=0,!(Ke|(0|Xe)==(0|e))){if(Va=0|t[A>>2],c=0,H(99,0|i,0|We,0|Va,0|T,0|Xe,0|Pe),qe=c,c=0,1&qe){ff=47;break r}hr=0;break}if(Ge|(0|je)==(0|e))hr=0;else{if(Ya=0|t[A>>2],c=0,H(99,0|i,0|We,0|Ya,0|T,0|je,0|Pe),Je=c,c=0,1&Je){ff=47;break r}hr=0}}while(0);_r=0|t[T>>2],t[(_r+(Pe<<2)|0)>>2]=hr,ja=(0|je)==(0|e)|((0|Xe)==(0|e)|((0|Xe)==(0|je)|0==(0|hr)));do{if(!ja){Xa=0|t[A>>2],Ba=0|t[T>>2],Er=Xe,mr=je,Sr=(0|(0|t[(Xe+4|0)>>2]))>(0|(0|t[(je+4|0)>>2]));do{if(Sr){if(pr=Ba+((vr=Pe+1|0)<<2)|0,0==(0|vr)){oe=mr,se=Er;break}for(Or=Ba;;){if((0|(0|t[Or>>2]))==(0|Xe)&&(t[Or>>2]=mr),(0|(Ar=Or+4|0))==(0|pr)){oe=mr,se=Er;break}Or=Ar}}else{if((0|(Rr=(0|t[x>>2])+(Pe<<2)|0))==(0|Xa)){oe=Er,se=mr;break}for(gr=Rr;;){if((0|(0|t[gr>>2]))==(0|je)&&(t[gr>>2]=Er),(0|(Fr=gr+4|0))==(0|Xa)){oe=Er,se=mr;break}gr=Fr}}}while(0);for(Mr=0|t[f>>2],J=Dr=0|t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t[(di+(bi<<2)|0)>>2]))|(0|_i)==(0|e))&&(hi=ci+-1|0,Ua=0|t[x>>2],za=0|t[A>>2],c=0,H(99,0|i,0|Ua,0|za,0|T,0|_i,0|hi),Ei=c,c=0,1&Ei))){ff=48;break}if(!((0|Ka)<(0|(0|t[n>>2])))){ff=43;break e}mi=Ka+1|0,Re=0|t[F>>2],De=0|t[l>>2],Ka=mi}if(47==(0|ff)){La=0|q(),Ha=b,ff=49;break}if(48==(0|ff)){La=0|q(),Ha=b,ff=49;break}if(67==(0|ff)){kr=0|q(),dr=b,vf(ee),Y=kr,j=dr;break}}}while(0);e:do{if(43==(0|ff)){pe=0==(0|(ve=((0|t[f>>2])-(Se=0|t[i>>2])|0)>>2));r:do{if(!pe){for(Ai=Se,xa=ve;yi=0|t[(Ai+((Oi=xa+-1|0)<<2)|0)>>2],c=0,Ri=0|B(101,0|e,0|yi),gi=c,c=0,!(1&gi);){if(Ri){if(!((0|(Fi=((0|t[(yi+12|0)>>2])+1|0)-(0|t[(yi+4|0)>>2])|0))>4)&&!((0|(Mi=((0|t[(yi+8|0)>>2])+1|0)-(0|t[yi>>2])|0))>4))if((0|Fi)>2|(0|Mi)>2){if(c=0,Ti=0|I(74,0|yi),Ni=c,c=0,1&Ni)break;(0|Ti)>3||(ff=120)}else ff=120}else ff=0==(0|yi)?130:120;if(120==(0|ff)){if(ff=0,!(0==(0|(Ii=0|t[(Ci=yi+16|0)>>2])))){if((0|(xi=0|t[(Pi=yi+20|0)>>2]))==(0|Ii))Yi=Ii;else{for(Hi=xi;Li=Hi+-12|0,t[Pi>>2]=Li,0==(0|(Bi=0|t[Li>>2]))?Ui=Li:((0|(0|t[(zi=Hi+-8|0)>>2]))==(0|Bi)||(t[zi>>2]=Bi),vf(Bi),Ui=0|t[Pi>>2]),!((0|Ui)==(0|Ii));)Hi=Ui;Yi=0|t[Ci>>2]}vf(Yi)}vf(yi),ff=130}if(130==(0|ff)&&(ff=0,Xi=(Vi=(0|t[i>>2])+(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|t[(_=e+4|0)>>2],s=y=0|t[(S=e+8|0)>>2],w>>>0<y>>>0){if((0|k)==(0|w))return V=0|t[i>>2],t[k>>2]=V,X=(0|t[_>>2])+4|0,t[_>>2]=X,0|k;if((K=k+((j=(W=n-(k+4|0)|0)>>2)<<2)|0)>>>0<w>>>0)for(P=w,we=K;G=0|t[we>>2],t[P>>2]=G,J=we+4|0,Z=(0|t[_>>2])+4|0,t[_>>2]=Z,J>>>0<w>>>0;)P=Z,we=J;return Lf(0|(w+((0-j|0)<<2)|0),0|k,0|W),pe=k>>>0>i>>>0?i:(0|t[_>>2])>>>0>i>>>0?i+4|0:i,Q=0|t[pe>>2],t[k>>2]=Q,0|k}(l=((n-f|0)>>2)+1|0)>>>0>1073741823?(mf(e),x=0|t[S>>2],L=S,U=H=0|t[e>>2],$=H,ee=x):(L=S,U=a,$=f,ee=s),(u=ee-$|0)>>2>>>0<536870911?(ne=((te=k)-$|0)>>2,0==(0|(fe=(ae=u>>1)>>>0<l>>>0?l:ae))?(C=0,oe=0,se=ne,me=te):(N=fe,z=ne,Y=te,Oe=15)):(N=1073741823,z=((re=k)-$|0)>>2,Y=re,Oe=15),15==(0|Oe)&&(C=N,oe=0|gf(N<<2),se=z,me=Y),h=d=oe+(se<<2)|0,E=oe+(C<<2)|0,m=(0|se)==(0|C);do{if(m){if((0|se)>0){he=le=d+(((0|(se+1|0))/-2&-1)<<2)|0,Ee=U,Se=le,ve=E;break}if(c=0,ce=0|I(29,0|(ue=0==(0|se)?1:se<<1)<<2),be=c,c=0,!(1&be)){if(de=ke=ce+(ue>>>2<<2)|0,_e=ce+(ue<<2)|0,0==(0|oe)){he=ke,Ee=U,Se=de,ve=_e;break}vf(oe),he=ke,Ee=0|t[e>>2],Se=de,ve=_e;break}B=0|q(),b,0==(0|oe)&&ie(0|B),vf(oe),ie(0|B)}else he=d,Ee=U,Se=h,ve=E}while(0);return v=0|t[i>>2],t[he>>2]=v,O=(p=Se)+4|0,g=R=p+((0-((A=me-Ee|0)>>2)|0)<<2)|0,xf(0|R,0|Ee,0|A),M=(F=(0|t[_>>2])-me|0)>>2,xf(0|O,0|k,0|F),D=O+(M<<2)|0,T=0|t[e>>2],t[e>>2]=g,t[_>>2]=D,t[L>>2]=ve,0==(0|T)?0|p:(vf(T),0|p)}function Nr(e,r){e|=0;var i,a=0,f=0;return o,!((0|(r|=0))<0)&&(a=e+16|0,(0|((0|t[(e+20|0)>>2])-(f=0|t[a>>2])|0)>>2)>(0|r))?0|(0|t[(f+(r<<2)|0)>>2]):(Oa(2315),i=0|t[(e+16|0)>>2],0|(0|t[(i+(r<<2)|0)>>2]))}function Cr(e,r){e|=0,r|=0;var i,a,f,n,l,u,c,b,k,d=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0;if(k=o,(0|(o=o+32|0))>=(0|s)&&_(),b=k+8|0,c=k,a=0|t[(i=r+20|0)>>2],f=e+16|0,l=((0|t[(n=e+20|0)>>2])-(0|t[f>>2])|0)>>2,t[c>>2]=l,nf(a,2379,c),(0|((0|t[n>>2])-(u=0|t[f>>2])|0))>0){for(d=u,y=0;h=d,E=0|t[i>>2],m=y+1|0,S=(w=0|t[(h+(y<<2)|0)>>2])+16|0,v=((0|t[(w+20|0)>>2])-(0|t[S>>2])|0)>>2,p=0|di(w),t[b>>2]=m,t[(b+4|0)>>2]=v,t[(b+8|0)>>2]=p,nf(E,2389,b),O=0|t[f>>2],Oi(0|t[(O+(y<<2)|0)>>2],r),(0|m)<(0|((0|t[n>>2])-(A=0|t[f>>2])|0)>>2);)d=A,y=m;o=k}else o=k}function Ir(e,r,i){r|=0,i|=0;var f,n=0,l=0;switch(o,f=(e|=0)+16|0,0|((0|t[(e+20|0)>>2])-(0|t[f>>2])|0)>>2){case 1:switch(l=(n=0|$r(e,0))+28|0,0|((0|t[(n+32|0)>>2])-(0|t[l>>2])|0)>>2){case 0:return void function(e,r,i){e|=0,r|=0,i|=0;var a=0,f=0,n=0,l=0,u=0,k=0,d=0,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i=(0|li)<8,xi=0|t[(Di=Ha+8|0)>>2],Yi=0|t[Ha>>2],Oi&&(0|((xi+1|0)-Yi|0))<6)return xr(Fb),void(o=xb);if((0|(5*li|0))<(0|(da=(xi+1|0)-Yi|0))|(0|li)>(0|(10*da|0)))return xr(Fb),void(o=xb);if(c=0,ma=0|M(127,0|Fb,0|r,0|i),wa=c,c=0,1&wa){Pb=18;break e}if(!(0==(0|ma))){if(t[du>>2]=ma,t[(du+4|0)>>2]=0,pa=0|t[(va=e+32|0)>>2],Oa=0|t[(e+36|0)>>2],(0|pa)==(0|Oa)){if(c=0,C(125,0|(e+28|0),0|du),Ta=c,c=0,1&Ta){Pb=18;break e}}else ya=0|t[(Aa=du)>>2],ga=0|t[(Aa+4|0)>>2],t[(Fa=pa)>>2]=ya,t[(Fa+4|0)>>2]=ga,Ma=0|t[va>>2],Da=Ma+8|0,t[va>>2]=Da;return xr(Fb),void(o=xb)}if(c=0,Ca=0|B(128,0|Fb,0|i),Ia=c,c=0,1&Ia){Pb=18;break e}if(!(0==(0|Ca))){if(t[bl>>2]=Ca,t[(bl+4|0)>>2]=0,xa=0|t[(Pa=e+32|0)>>2],La=0|t[(e+36|0)>>2],(0|xa)==(0|La)){if(c=0,C(125,0|(e+28|0),0|bl),ja=c,c=0,1&ja){Pb=18;break e}}else Ua=0|t[(Ba=bl)>>2],za=0|t[(Ba+4|0)>>2],t[(Ya=xa)>>2]=Ua,t[(Ya+4|0)>>2]=za,Xa=0|t[Pa>>2],Wa=Xa+8|0,t[Pa>>2]=Wa;return xr(Fb),void(o=xb)}if(c=0,Ka=0|I(129,0|Fb),Ga=c,c=0,1&Ga){Pb=18;break e}if(!(0==(0|Ka))){if(t[cs>>2]=Ka,t[(cs+4|0)>>2]=0,Za=0|t[(Ja=e+32|0)>>2],Qa=0|t[(e+36|0)>>2],(0|Za)==(0|Qa)){if(c=0,C(125,0|(e+28|0),0|cs),sf=c,c=0,1&sf){Pb=18;break e}}else ef=0|t[($a=cs)>>2],ff=0|t[($a+4|0)>>2],t[(tf=Za)>>2]=ef,t[(tf+4|0)>>2]=ff,nf=0|t[Ja>>2],of=nf+8|0,t[Ja>>2]=of;return xr(Fb),void(o=xb)}if(c=0,lf=0|I(130,0|Fb),uf=c,c=0,1&uf){Pb=18;break e}if(!(0==(0|lf))){if(t[so>>2]=lf,t[(so+4|0)>>2]=0,bf=0|t[(cf=e+32|0)>>2],kf=0|t[(e+36|0)>>2],(0|bf)==(0|kf)){if(c=0,C(125,0|(e+28|0),0|so),pf=c,c=0,1&pf){Pb=18;break e}}else hf=0|t[(_f=so)>>2],Ef=0|t[(_f+4|0)>>2],t[(mf=bf)>>2]=hf,t[(mf+4|0)>>2]=Ef,Sf=0|t[cf>>2],vf=Sf+8|0,t[cf>>2]=vf;return xr(Fb),void(o=xb)}if(c=0,Of=0|B(131,0|r,2),Af=c,c=0,1&Af){Pb=18;break e}if(Of){if(c=0,yf=0|I(132,0|Fb),Rf=c,c=0,1&Rf){Pb=18;break e}if(!(0==(0|yf))){if(t[fn>>2]=yf,t[(fn+4|0)>>2]=0,Ff=0|t[(gf=e+32|0)>>2],Mf=0|t[(e+36|0)>>2],(0|Ff)==(0|Mf)){if(c=0,C(125,0|(e+28|0),0|fn),Lf=c,c=0,1&Lf){Pb=18;break e}}else Nf=0|t[(Df=fn)>>2],Cf=0|t[(Df+4|0)>>2],t[(If=Ff)>>2]=Nf,t[(If+4|0)>>2]=Cf,Pf=0|t[gf>>2],xf=Pf+8|0,t[gf>>2]=xf;return xr(Fb),void(o=xb)}}if(c=0,Hf=0|B(133,0|Fb,0|r),Bf=c,c=0,1&Bf){Pb=18;break e}if(!(0==(0|Hf))){if(t[nt>>2]=Hf,t[(nt+4|0)>>2]=0,zf=0|t[(Uf=e+32|0)>>2],Vf=0|t[(e+36|0)>>2],(0|zf)==(0|Vf)){if(c=0,C(125,0|(e+28|0),0|nt),Jf=c,c=0,1&Jf){Pb=18;break e}}else Wf=0|t[(Xf=nt)>>2],jf=0|t[(Xf+4|0)>>2],t[(Kf=zf)>>2]=Wf,t[(Kf+4|0)>>2]=jf,Gf=0|t[Uf>>2],qf=Gf+8|0,t[Uf>>2]=qf;return xr(Fb),void(o=xb)}if(c=0,Zf=0|B(134,0|Fb,0|i),Qf=c,c=0,1&Qf){Pb=18;break e}r:do{switch(0|Zf){case 117:if(c=0,et=0|I(135,0|(Fb+56|0)),rt=c,c=0,1&rt){Pb=18;break e}if(!et){Pb=103;break r}if(it=0|t[Ur>>2],at=0|t[Ar>>2],ft=(0|(at+it|0))/2&-1,tt=0|t[Di>>2],c=0,ot=0|L(136,0|Ha,0|ft,0|tt,1),st=c,c=0,1&st){Pb=18;break e}if(lt=0|t[Ha>>2],ut=0|t[Di>>2],!((0|ot)<(0|(((0|(90*(ut-lt|0)|0))/100&-1)+lt|0)))){Pb=103;break r}if(ct=0|t[Ur>>2],bt=0|t[Ar>>2],c=0,kt=0|M(137,0|Ha,0|(0|(bt+ct|0))/2&-1,0|ot),dt=c,c=0,1&dt){Pb=18;break e}if(kt){Pb=103;break r}if(_t=0|t[Ur>>2],ht=0|t[Ar>>2],c=0,Et=0|L(136,0|Ha,0|(0|(ht+_t|0))/2&-1,0|(ot+-1|0),0),mt=c,c=0,1&mt){Pb=18;break e}wt=Et+-1|0,St=0|t[Ha>>2],vt=0|t[Di>>2],pt=(0|wt)>(0|(((0|(40*(vt-St|0)|0))/100&-1)+St|0));i:do{if(pt){for(Ot=Fb+248|0,E=0|t[Ur>>2],yt=E,Rt=wt,hb=Et;;){if(At=0|t[Ar>>2],c=0,gt=0|L(138,0|Ha,0|(0|(At+yt|0))/2&-1,0|Rt,1),Mt=c,c=0,1&Mt){Pb=17;break}if(Dt=0|t[Ur>>2],(0|gt)>(0|Dt))Ea=Dt;else{if(Tt=0|t[Ha>>2],c=0,Nt=0|B(139,0|Ot,0|(Rt-Tt|0)),Ct=c,c=0,1&Ct){Pb=17;break}if(It=0|t[Ar>>2],Pt=0|t[Ur>>2],!((0|Nt)>(0|(0|((It+1|0)-Pt|0))/10&-1))){l=Rt,Eb=hb,Pb=81;break}Ea=Pt}if(xt=Rt+-1|0,Lt=0|t[Ha>>2],Ht=0|t[Di>>2],!((0|xt)>(0|(((0|(40*(Ht-Lt|0)|0))/100&-1)+Lt|0)))){n=xt,Ut=Lt,zt=Ht,_b=Rt;break i}mb=Rt,yt=Ea,Rt=xt,hb=mb}if(17==(0|Pb)){fc=0|q(),Cb=fc,b;break e}if(81==(0|Pb)){m=0|t[Ha>>2],w=0|t[Di>>2],n=l,Ut=m,zt=w,_b=Eb;break}}else n=wt,Ut=St,zt=vt,_b=Et}while(0);if((0|_b)>(0|zt)|(0|n)<=(0|(((0|(40*(zt-Ut|0)|0))/100&-1)+Ut|0))){Pb=103;break r}if(c=0,Yt=0|U(140,0|e,116,0|n,114,0),Vt=c,c=0,1&Vt){Pb=18;break e}if(!Yt){Pb=103;break r}return xr(Fb),void(o=xb);case 78:if(Xt=0|t[Di>>2],Wt=0|t[Ha>>2],jt=(Xt+1|0)-Wt|0,Kt=0|t[Ar>>2],Gt=0|t[Ur>>2],!((0|jt)>(0|((Kt+1|0)-Gt|0)))){Pb=103;break r}if(qt=0|t[(i+4|0)>>2],(0|Gt)<(0|qt)){Pb=103;break r}if(Jt=Fb+104|0,Zt=0|t[(Fb+112|0)>>2],(0|Zt)<0&&(c=0,N(141,0|Jt),$t=c,c=0,1&$t)){Pb=18;break e}if(en=Fb+140|0,rn=0|t[(Fb+144|0)>>2],an=0|t[en>>2],c=0,nn=0|B(139,0|Jt,0|(0|((50*((rn-an|0)>>2)|0)+-50|0))/100&-1),on=c,c=0,1&on){Pb=18;break e}sn=nn<<2,ln=0|t[Ar>>2],un=0|t[Ur>>2],cn=(0|sn)<(0|((ln+1|0)-un|0));do{if(cn){if(c=0,kn=0|M(142,0|(bn=Fb+248|0),0,-1),dn=c,c=0,1&dn){Pb=18;break e}if(hn=0|t[(_n=Fb+256|0)>>2],(0|hn)<0&&(c=0,N(141,0|bn),En=c,c=0,1&En)){Pb=18;break e}if(mn=Fb+284|0,Sn=0|t[(wn=Fb+288|0)>>2],vn=0|t[mn>>2],(0|kn)<(0|(0|((40*((Sn-vn|0)>>2)|0)+-40|0))/100&-1))break;if(pn=0|t[_n>>2],(0|pn)<0){if(c=0,N(141,0|bn),An=c,c=0,1&An){Pb=18;break e}S=0|t[wn>>2],v=0|t[mn>>2],yn=v,Rn=S}else yn=vn,Rn=Sn;if(!((0|kn)<(0|(0|((50*((Rn-yn|0)>>2)|0)+-50|0))/100&-1)))break;if(Fn=0|t[Ha>>2],c=0,Mn=0|U(140,0|e,114,0|(Fn+kn|0),118,0),Dn=c,c=0,1&Dn){Pb=18;break e}if(!Mn)break;return xr(Fb),void(o=xb)}}while(0);0==(0|Zf)||(Pb=103);break;case 0:break;default:Pb=103}}while(0);if(103==(0|Pb)){if(t[g>>2]=Zf,t[(g+4|0)>>2]=0,Nn=0|t[(Tn=e+32|0)>>2],In=0|t[(e+36|0)>>2],(0|Nn)==(0|In)){if(c=0,C(125,0|(e+28|0),0|g),Yn=c,c=0,1&Yn){Pb=18;break e}}else xn=0|t[(Pn=g)>>2],Ln=0|t[(Pn+4|0)>>2],t[(Hn=Nn)>>2]=xn,t[(Hn+4|0)>>2]=Ln,Un=0|t[Tn>>2],zn=Un+8|0,t[Tn>>2]=zn;return xr(Fb),void(o=xb)}if(Vn=0|t[Ar>>2],Xn=0|t[Ur>>2],Wn=(Vn+1|0)-Xn|0,jn=0|t[Di>>2],Kn=0|t[Ha>>2],qn=((0|((0|(Gn=(jn+1|0)-Kn|0))<(0|Wn)?Gn:Wn))/30&-1)+1|0,c=0,Qn=0|B(143,0|(Zn=Fb+200|0),-1),$n=c,c=0,1&$n){Pb=18;break e}eo=(0|Qn)<3;r:do{if(eo){if(ro=0|t[Ar>>2],io=0|t[Ur>>2],c=0,ao=0|B(143,0|Zn,0|(qn+((0|((ro+1|0)-io|0))/8&-1)|0)),fo=c,c=0,1&fo){Pb=18;break e}if(!(2==(0|ao))){if(to=0|t[Ar>>2],no=0|t[Ur>>2],!((0|(oo=(to+1|0)-no|0))>15))break;if(c=0,uo=0|B(143,0|Zn,0|(0|oo)/8&-1),co=c,c=0,1&co){Pb=18;break e}if(!(2==(0|uo)))break}if(c=0,bo=0|B(144,0|Fb,0|i),ko=c,c=0,1&ko){Pb=18;break e}i:do{switch(0|bo){case 0:break r;case 110:if(_o=0|t[Ar>>2],ho=0|t[(i+4|0)>>2],Eo=0|t[(i+12|0)>>2],!((0|_o)>(0|(0|(Eo+ho|0))/2&-1))){if(t[F>>2]=34,t[(F+4|0)>>2]=0,wo=0|t[(mo=e+32|0)>>2],So=0|t[(e+36|0)>>2],(0|wo)==(0|So)){if(c=0,C(125,0|(e+28|0),0|F),Fo=c,c=0,1&Fo){Pb=18;break e}}else po=0|t[(vo=F)>>2],Oo=0|t[(vo+4|0)>>2],t[(Ao=wo)>>2]=po,t[(Ao+4|0)>>2]=Oo,Ro=0|t[mo>>2],go=Ro+8|0,t[mo>>2]=go;return xr(Fb),void(o=xb)}Mo=0|t[Di>>2],Do=0|t[Ha>>2],No=(Mo+1|0)-Do|0,Co=0|t[Ur>>2],Io=(0|No)>(0|((_o+1|0)-Co|0)),Po=Fb+56|0,xo=Fb+64|0;do{if(Io){if(Lo=0|t[xo>>2],(0|Lo)<0&&(c=0,N(141,0|Po),Ho=c,c=0,1&Ho)){Pb=18;break e}if(Bo=Fb+92|0,Uo=0|t[(Fb+96|0)>>2],zo=0|t[Bo>>2],c=0,Yo=0|B(139,0|Po,0|(0|((10*((Uo-zo|0)>>2)|0)+-10|0))/100&-1),Vo=c,c=0,1&Vo){Pb=18;break e}if(Xo=10*Yo|0,Wo=0|t[Di>>2],jo=0|t[Ha>>2],!((0|Xo)<(0|((Wo+1|0)-jo|0))))break;if(Ko=Fb+152|0,qo=0|t[(Go=Fb+160|0)>>2],(0|qo)<0&&(c=0,N(141,0|Ko),Jo=c,c=0,1&Jo)){Pb=18;break e}if(Zo=Fb+188|0,$o=0|t[(Qo=Fb+192|0)>>2],es=0|t[Zo>>2],c=0,is=0|M(145,0|Ko,0|(0|((75*(($o-es|0)>>2)|0)+-75|0))/100&-1,2),as=c,c=0,1&as){Pb=18;break e}if(is)break;if(fs=0|t[Go>>2],(0|fs)<0&&(c=0,N(141,0|Ko),ts=c,c=0,1&ts)){Pb=18;break e}if(os=0|t[Qo>>2],ss=0|t[Zo>>2],c=0,ls=0|B(139,0|Ko,0|(0|((50*((os-ss|0)>>2)|0)+-50|0))/100&-1),us=c,c=0,1&us){Pb=18;break e}if(bs=10*ls|0,ks=0|t[Di>>2],ds=0|t[Ha>>2],!((0|bs)>(0|((ks+1|0)-ds|0))))break;if(_s=0|t[Ur>>2],hs=0|t[Ar>>2],c=0,ms=0|M(137,0|Ha,0|(0|(hs+_s|0))/2&-1,0|ks),ws=c,c=0,1&ws){Pb=18;break e}if(ms)break;return xr(Fb),void(o=xb)}}while(0);if(Ss=0|t[xo>>2],(0|Ss)<0&&(c=0,N(141,0|Po),vs=c,c=0,1&vs)){Pb=18;break e}if(ps=Fb+92|0,Os=0|t[(Fb+96|0)>>2],As=0|t[ps>>2],c=0,ys=0|B(139,0|Po,0|(0|((10*((Os-As|0)>>2)|0)+-10|0))/100&-1),Rs=c,c=0,1&Rs){Pb=18;break e}gs=ys<<1,Fs=0|t[Di>>2],Ms=0|t[Ha>>2],Ds=(0|gs)>(0|((Fs+1|0)-Ms|0)),Ts=Fb+152|0;do{if(Ds){if(Ns=0|t[(Fb+160|0)>>2],(0|Ns)<0&&(c=0,N(141,0|Ts),Is=c,c=0,1&Is)){Pb=18;break e}if(Ps=Fb+188|0,xs=0|t[(Fb+192|0)>>2],Ls=0|t[Ps>>2],c=0,Bs=0|M(145,0|Ts,0|(0|((75*((xs-Ls|0)>>2)|0)+-75|0))/100&-1,2),Us=c,c=0,1&Us){Pb=18;break e}if(Bs)break;if(zs=0|t[Ur>>2],Ys=0|t[Ar>>2],Vs=(0|(Ys+zs|0))/2&-1,Xs=0|t[Di>>2],c=0,Ws=0|L(136,0|Ha,0|Vs,0|Xs,1),js=c,c=0,1&js){Pb=18;break e}if(Ks=0|t[Ha>>2],Gs=0|t[Di>>2],(0|Ws)>(0|(((0|(95*(Gs-Ks|0)|0))/100&-1)+Ks|0)))break;if(qs=0|t[Ur>>2],Zs=0|t[Ar>>2],c=0,Qs=0|M(137,0|Ha,0|(0|(Zs+qs|0))/2&-1,0|Ws),$s=c,c=0,1&$s){Pb=18;break e}if(Qs)break;if(el=0|t[Ha>>2],rl=0|t[Di>>2],c=0,il=0|U(140,0|e,114,0|(0|(rl+el|0))/2&-1,116,0),al=c,c=0,1&al){Pb=18;break e}if(!il)break;return xr(Fb),void(o=xb)}}while(0);if(c=0,fl=0|B(143,0|Ts,-1),tl=c,c=0,1&tl){Pb=18;break e}if(!(1==(0|fl))){Pb=208;break i}if(nl=0|t[(Fb+160|0)>>2],(0|nl)<0&&(c=0,N(141,0|Ts),sl=c,c=0,1&sl)){Pb=18;break e}if(ll=Fb+188|0,ul=0|t[(Fb+192|0)>>2],cl=0|t[ll>>2],c=0,kl=0|M(145,0|Ts,0|(0|((75*((ul-cl|0)>>2)|0)+-75|0))/100&-1,2),dl=c,c=0,1&dl){Pb=18;break e}if(kl){Pb=208;break i}if(_l=0|t[Ur>>2],hl=0|t[Ar>>2],!((0|(ml=((0|(60*(El=hl-_l|0)|0))/100&-1)+_l|0))>(0|(((0|El)/4&-1)+_l|0)))){Pb=208;break i}kb=0,yb=0,Ib=ml;a:for(;;){if(wl=0|t[Ha>>2],Sl=0|t[Di>>2],c=0,pl=0|L(136,0|Ha,0|Ib,0|(vl=(0|(Sl+wl|0))/2&-1),1),Ol=c,c=0,1&Ol){Pb=15;break}(0|(yl=vl-pl|0))>(0|yb)?kb?(Rb=yl,Pb=162):(db=0,gb=yl):kb|(0|yb)>2&(0|yl<<1)<(0|yb)?(Rb=yb,Pb=162):(db=0,gb=yb);do{if(162==(0|Pb)){if(Pb=0,c=0,Rl=0|L(120,0|yl,0|Rb,25,1),gl=c,c=0,1&gl){Pb=15;break a}if(!Rl){db=1,gb=Rb;break}if(Fl=0|t[Ur>>2],Ml=0|t[Ar>>2],Tl=(0|(Ml+Fl|0))/2&-1,Nl=0|t[Ha>>2],Cl=0|t[Di>>2],c=0,Il=0|L(146,0|Ha,0|Tl,0|(0|(Cl+Nl|0))/2&-1,1),Pl=c,c=0,1&Pl){Pb=15;break a}if(xl=0|t[Ha>>2],Ll=0|t[Di>>2],(0|(Hl=(0|(Ll+xl|0))/2&-1))>(0|Il))Wl=xl,jl=Ll,pb=Hl;else{for(p=0|t[Ar>>2],Ul=p,Ab=Hl;;){if(Bl=0|t[Ur>>2],c=0,zl=0|L(147,0|Ha,0|(0|(Ul+Bl|0))/2&-1,0|Ab,1),Yl=c,c=0,1&Yl){Pb=14;break a}if(Vl=0|t[Ar>>2],(0|zl)<(0|Vl)){Ob=Ab;break}if(Xl=Ab+1|0,!((0|Ab)<(0|Il))){Ob=Xl;break}Ul=Vl,Ab=Xl}O=0|t[Ha>>2],A=0|t[Di>>2],Wl=O,jl=A,pb=Ob}if(!((0|pb)>(0|Wl)&(0|pb)<(0|jl))){db=1,gb=Rb;break}if(c=0,Kl=0|U(140,0|e,102,0|(pb+-1|0),108,0),Gl=c,c=0,1&Gl){Pb=15;break a}if(Kl){Pb=292;break a}db=1,gb=Rb}}while(0);if(ql=Ib+-1|0,Jl=0|t[Ur>>2],Zl=0|t[Ar>>2],!((0|ql)>(0|(((0|(Zl-Jl|0))/4&-1)+Jl|0)))){Pb=208;break i}kb=db,yb=gb,Ib=ql}if(14==(0|Pb)){yu=0|q(),Cb=yu,b;break e}if(15==(0|Pb)){Hu=0|q(),Cb=Hu,b;break e}if(292==(0|Pb))return xr(Fb),void(o=xb);break;case 104:if($l=Fb+56|0,eu=0|t[(Fb+64|0)>>2],(0|eu)<0&&(c=0,N(141,0|$l),ru=c,c=0,1&ru)){Pb=18;break e}if(iu=Fb+92|0,au=0|t[(Fb+96|0)>>2],fu=0|t[iu>>2],c=0,nu=0|B(139,0|$l,0|(0|((10*((au-fu|0)>>2)|0)+-10|0))/100&-1),ou=c,c=0,1&ou){Pb=18;break e}if(su=nu<<1,lu=0|t[Di>>2],uu=0|t[Ha>>2],cu=Fb+152|0,!((0|su)>(0|((lu+1|0)-uu|0)))){if(c=0,Zu=0|B(150,0|cu,30),Qu=c,c=0,1&Qu){Pb=18;break e}if(!Zu){Pb=208;break i}if($u=0|t[Ha>>2],ec=0|t[Di>>2],c=0,U(140,0|e,102,0|(0|(ec+$u|0))/2&-1,105,0),rc=c,c=0,1&rc){Pb=18;break e}return xr(Fb),void(o=xb)}if(bu=0|t[(Fb+160|0)>>2],(0|bu)<0&&(c=0,N(141,0|cu),ku=c,c=0,1&ku)){Pb=18;break e}if(hu=Fb+188|0,Eu=0|t[(Fb+192|0)>>2],mu=0|t[hu>>2],c=0,wu=0|B(139,0|cu,0|(0|((70*((Eu-mu|0)>>2)|0)+-70|0))/100&-1),Su=c,c=0,1&Su){Pb=18;break e}if(!((0|wu)>1))return xr(Fb),void(o=xb);if(vu=0|t[Ur>>2],pu=0|t[Ar>>2],Ou=((0|(70*(pu-vu|0)|0))/100&-1)+vu|0,Au=0|t[Di>>2],c=0,Ru=0|L(138,0|Ha,0|Ou,0|Au,1),gu=c,c=0,1&gu){Pb=18;break e}if(Fu=0|t[Ur>>2],!((0|Ru)>(0|Fu)))return xr(Fb),void(o=xb);if(c=0,Du=0|I(148,0|(Mu=Fb+248|0)),Tu=c,c=0,1&Tu){Pb=18;break e}if(c=0,Nu=0|I(149,0|Mu),Cu=c,c=0,1&Cu){Pb=18;break e}Iu=0|t[Ha>>2],Pu=0|t[Di>>2],Bu=(0|(Lu=((0|(40*(xu=Pu-Iu|0)|0))/100&-1)+Iu|0))>(0|(((0|(60*xu|0))/100&-1)+Iu|0));a:do{if(!Bu){for(Uu=Iu,Sb=0,Db=(Du+1|0)-Nu|0,Nb=Lu;c=0,zu=0|B(139,0|Mu,0|(Nb-Uu|0)),Yu=c,c=0,!(1&Yu);){if((0|zu)<(0|Db)){if(Vu=0|t[Ha>>2],c=0,Xu=0|B(139,0|Mu,0|(Nb-Vu|0)),Wu=c,c=0,1&Wu)break;vb=Nb,Tb=Xu}else vb=Sb,Tb=Db;if(ju=Nb+1|0,Ku=0|t[Ha>>2],Gu=0|t[Di>>2],!((0|Nb)<(0|(((0|(60*(Gu-Ku|0)|0))/100&-1)+Ku|0)))){a=Ku,f=Gu,wb=vb;break a}Uu=Ku,Sb=vb,Db=Tb,Nb=ju}qu=0|q(),Cb=qu,b;break e}a=Iu,f=Pu,wb=0}while(0);if(!((0|wb)>(0|a)&(0|wb)<(0|f)))return xr(Fb),void(o=xb);if(c=0,U(140,0|e,114,0|(wb+-1|0),102,0),Ju=c,c=0,1&Ju){Pb=18;break e}return xr(Fb),void(o=xb);case 107:if(ic=Fb+56|0,ac=0|t[(Fb+64|0)>>2],(0|ac)<0&&(c=0,N(141,0|ic),tc=c,c=0,1&tc)){Pb=18;break e}if(nc=Fb+92|0,oc=0|t[(Fb+96|0)>>2],sc=0|t[nc>>2],c=0,lc=0|B(139,0|ic,0|(0|((10*((oc-sc|0)>>2)|0)+-10|0))/100&-1),uc=c,c=0,1&uc){Pb=18;break e}if(cc=lc<<1,bc=0|t[Di>>2],kc=0|t[Ha>>2],!((0|cc)>(0|((bc+1|0)-kc|0)))){Pb=208;break i}if(hc=Fb+152|0,Ec=0|t[(Fb+160|0)>>2],(0|Ec)<0&&(c=0,N(141,0|hc),mc=c,c=0,1&mc)){Pb=18;break e}if(wc=Fb+188|0,Sc=0|t[(Fb+192|0)>>2],vc=0|t[wc>>2],c=0,pc=0|M(145,0|hc,0|(0|((75*((Sc-vc|0)>>2)|0)+-75|0))/100&-1,2),Oc=c,c=0,1&Oc){Pb=18;break e}if(pc){Pb=208;break i}if(Ac=0|t[Ha>>2],Rc=0|t[Di>>2],c=0,gc=0|U(140,0|e,114,0|(0|(Rc+Ac|0))/2&-1,116,0),Fc=c,c=0,1&Fc){Pb=18;break e}if(!gc){Pb=208;break i}return xr(Fb),void(o=xb)}}while(0);if(208==(0|Pb)&&0==(0|bo))break;if(t[rf>>2]=bo,t[(rf+4|0)>>2]=0,Dc=0|t[(Mc=e+32|0)>>2],Tc=0|t[(e+36|0)>>2],(0|Dc)==(0|Tc)){if(c=0,C(125,0|(e+28|0),0|rf),Hc=c,c=0,1&Hc){Pb=18;break e}}else Cc=0|t[(Nc=rf)>>2],Ic=0|t[(Nc+4|0)>>2],t[(Pc=Dc)>>2]=Cc,t[(Pc+4|0)>>2]=Ic,xc=0|t[Mc>>2],Lc=xc+8|0,t[Mc>>2]=Lc;return xr(Fb),void(o=xb)}}while(0);if(c=0,Bc=0|B(143,0|Zn,-1),Uc=c,c=0,1&Uc){Pb=18;break e}if(3==(0|Bc)){if(Yc=0|t[Ar>>2],Vc=0|t[Ur>>2],c=0,Xc=0|B(143,0|Zn,0|(0|((Yc+1|0)-Vc|0))/2&-1),Wc=c,c=0,1&Wc){Pb=18;break e}Kc=1==(0|Xc);do{if(Kc){if(c=0,Gc=0|B(143,0|(Fb+104|0),-1),qc=c,c=0,1&qc){Pb=18;break e}if(!(3==(0|Gc)))break;if(c=0,Jc=0|B(143,0|(Fb+56|0),-1),Zc=c,c=0,1&Zc){Pb=18;break e}if(!(2==(0|Jc)))break;if(c=0,Qc=0|B(143,0|(Fb+152|0),-1),$c=c,c=0,1&$c){Pb=18;break e}if(!(2==(0|Qc)))break;if(t[dc>>2]=42,t[(dc+4|0)>>2]=0,rb=0|t[(eb=e+32|0)>>2],ab=0|t[(e+36|0)>>2],(0|rb)==(0|ab)){if(c=0,C(125,0|(e+28|0),0|dc),ub=c,c=0,1&ub){Pb=18;break e}}else tb=0|t[(fb=dc)>>2],nb=0|t[(fb+4|0)>>2],t[(ob=rb)>>2]=tb,t[(ob+4|0)>>2]=nb,sb=0|t[eb>>2],lb=sb+8|0,t[eb>>2]=lb;return xr(Fb),void(o=xb)}}while(0);if(cb=0|t[Ur>>2],bb=0|t[Ar>>2],P=(0|(bb+cb|0))/2&-1,x=0|t[Ha>>2],H=0|t[Di>>2],c=0,z=0|M(151,0|Ha,0|P,0|(0|(H+x|0))/2&-1),Y=c,c=0,1&Y){Pb=18;break e}V=0==(0|z);do{if(V){if(X=0|t[Ur>>2],W=0|t[Ar>>2],j=((0|(W+X|0))/2&-1)+-1|0,K=0|t[Ha>>2],G=0|t[Di>>2],c=0,Z=0|M(151,0|Ha,0|j,0|(0|(G+K|0))/2&-1),Q=c,c=0,1&Q){Pb=18;break e}if(!(0==(0|Z)))break;if(ee=0|t[Ur>>2],re=0|t[Ar>>2],ae=((0|(re+ee|0))/2&-1)+1|0,fe=0|t[Ha>>2],te=0|t[Di>>2],c=0,ne=0|M(151,0|Ha,0|ae,0|(0|(te+fe|0))/2&-1),oe=c,c=0,1&oe){Pb=18;break e}if(!(0==(0|ne)))break;if(se=0|t[Ur>>2],le=0|t[Ar>>2],ue=(0|(le+se|0))/2&-1,ce=0|t[Ha>>2],be=0|t[Di>>2],c=0,ke=0|L(136,0|Ha,0|ue,0|(0|(be+ce|0))/2&-1,1),de=c,c=0,1&de){Pb=18;break e}if(_e=0|t[Ha>>2],he=0|t[Di>>2],(0|ke)>(0|(((0|(he-_e|0))/4&-1)+_e|0)))break;if(me=0|t[Ur>>2],we=0|t[Ar>>2],c=0,pe=0|L(146,0|Ha,0|(Se=((0|(95*(we-me|0)|0))/100&-1)+me|0),0|_e,1),Oe=c,c=0,1&Oe){Pb=18;break e}if(c=0,ye=0|L(146,0|Ha,0|Se,0|(pe+1|0),0),Re=c,c=0,1&Re){Pb=18;break e}if(c=0,ge=0|L(146,0|Ha,0|Se,0|(ye+1|0),1),Fe=c,c=0,1&Fe){Pb=18;break e}if(Me=0|t[Ha>>2],De=(0|ge)>(0|Me),Te=0|t[Di>>2],!(De&(0|ge)<(0|Te)))break;if(c=0,Ne=0|U(140,0|e,114,0|ge,110,0),Ce=c,c=0,1&Ce){Pb=18;break e}if(!Ne)break;return xr(Fb),void(o=xb)}}while(0);if(Ie=Fb+104|0,Pe=0|t[Ar>>2],xe=0|t[Ur>>2],c=0,Le=0|B(143,0|Ie,0|(0|((Pe+1|0)-xe|0))/3&-1),He=c,c=0,1&He){Pb=18;break e}if(!(1==(0|Le)))return xr(Fb),void(o=xb);if(t[D>>2]=109,t[(D+4|0)>>2]=0,Ue=0|t[(Be=e+32|0)>>2],ze=0|t[(e+36|0)>>2],(0|Ue)==(0|ze)){if(c=0,C(125,0|(e+28|0),0|D),Je=c,c=0,1&Je){Pb=18;break e}}else Ve=0|t[(Ye=D)>>2],Xe=0|t[(Ye+4|0)>>2],t[(We=Ue)>>2]=Ve,t[(We+4|0)>>2]=Xe,Ge=0|t[Be>>2],qe=Ge+8|0,t[Be>>2]=qe;return xr(Fb),void(o=xb)}if(c=0,Ze=0|B(143,0|Zn,-1),Qe=c,c=0,1&Qe){Pb=18;break e}er=4==(0|Ze),rr=Fb+104|0;do{if(er){if(ir=0|t[Ar>>2],ar=0|t[Ur>>2],c=0,fr=0|B(143,0|rr,0|(0|((ir+1|0)-ar|0))/3&-1),tr=c,c=0,1&tr){Pb=18;break e}if(!(1==(0|fr)))break;if(nr=0|t[Ur>>2],or=0|t[Ar>>2],sr=((0|(95*(or-nr|0)|0))/100&-1)+nr|0,lr=0|t[Ha>>2],c=0,ur=0|L(146,0|Ha,0|sr,0|lr,1),cr=c,c=0,1&cr){Pb=18;break e}if(c=0,kr=0|L(146,0|Ha,0|sr,0|(ur+1|0),0),dr=c,c=0,1&dr){Pb=18;break e}if(c=0,_r=0|L(146,0|Ha,0|sr,0|(kr+1|0),1),hr=c,c=0,1&hr){Pb=18;break e}if(Er=0|t[Ha>>2],mr=(0|_r)>(0|Er),wr=0|t[Di>>2],!(mr&(0|_r)<(0|wr)))break;if(c=0,Sr=0|U(140,0|e,114,0|_r,109,0),vr=c,c=0,1&vr){Pb=18;break e}if(!Sr)break;return xr(Fb),void(o=xb)}}while(0);if(pr=0|t[Ar>>2],Or=0|t[Ur>>2],c=0,yr=0|B(143,0|rr,0|(0|((pr+1|0)-Or|0))/4&-1),Rr=c,c=0,1&Rr){Pb=18;break e}if(!(3==(0|yr))){if(c=0,Vi=0|B(154,0|Fb,0|i),Xi=c,c=0,1&Xi){Pb=18;break e}if(!(0==(0|Vi))){if(t[si>>2]=Vi,t[(si+4|0)>>2]=0,ji=0|t[(Wi=e+32|0)>>2],Ki=0|t[(e+36|0)>>2],(0|ji)==(0|Ki)){if(c=0,C(125,0|(e+28|0),0|si),ea=c,c=0,1&ea){Pb=18;break e}}else qi=0|t[(Gi=si)>>2],Ji=0|t[(Gi+4|0)>>2],t[(Zi=ji)>>2]=qi,t[(Zi+4|0)>>2]=Ji,Qi=0|t[Wi>>2],$i=Qi+8|0,t[Wi>>2]=$i;return xr(Fb),void(o=xb)}if(c=0,ra=0|B(155,0|Fb,0|i),ia=c,c=0,1&ia){Pb=18;break e}if(0==(0|ra))return xr(Fb),void(o=xb);if(t[Na>>2]=ra,t[(Na+4|0)>>2]=0,fa=0|t[(aa=e+32|0)>>2],ta=0|t[(e+36|0)>>2],(0|fa)==(0|ta)){if(c=0,C(125,0|(e+28|0),0|Na),ba=c,c=0,1&ba){Pb=18;break e}}else oa=0|t[(na=Na)>>2],sa=0|t[(na+4|0)>>2],t[(la=fa)>>2]=oa,t[(la+4|0)>>2]=sa,ua=0|t[aa>>2],ca=ua+8|0,t[aa>>2]=ca;return xr(Fb),void(o=xb)}if(gr=0|t[Ur>>2],Fr=0|t[Ar>>2],Mr=(0|(Fr+gr|0))/2&-1,Nr=0|t[(Dr=Fb+32|0)>>2],Ir=0|t[(Cr=Fb+36|0)>>2],(0|Nr)==(0|Ir)){if(c=0,N(152,0|Fb),Pr=c,c=0,1&Pr){Pb=18;break e}h=0|t[Dr>>2],Yr=h}else Yr=Nr;Lr=0|t[Fb>>2],Hr=0|t[(Lr+4|0)>>2],zr=Yr+(12*(Br=Mr-Hr|0)|0)|0,Vr=0|t[(4+(Yr+(12*Br|0)|0)|0)>>2],Xr=0|t[zr>>2],Wr=16==(0|(Vr-Xr|0));do{if(Wr){if(jr=0|t[Ur>>2],Kr=0|t[Ar>>2],qr=((0|(80*(Kr-jr|0)|0))/100&-1)+jr|0,Jr=0|t[Cr>>2],(0|Yr)==(0|Jr)){if(c=0,N(152,0|Fb),Zr=c,c=0,1&Zr){Pb=18;break e}d=0|t[Dr>>2],y=0|t[Fb>>2],R=0|t[(y+4|0)>>2],ei=R,ii=d}else ei=Hr,ii=Yr;if(ri=ii+(12*(Qr=qr-ei|0)|0)|0,ai=0|t[(4+(ii+(12*Qr|0)|0)|0)>>2],fi=0|t[ri>>2],!(24==(0|(ai-fi|0))))break;return xr(Fb),void(o=xb)}}while(0);if(c=0,ti=0|B(153,0|Ha,0|Mb),ni=c,c=0,1&ni){Pb=18;break e}do{if(!ti){if(oi=0|t[Ur>>2],ui=0|t[Ar>>2],ci=(0|(ui+oi|0))/2&-1,bi=0|t[Dr>>2],ki=0|t[Cr>>2],(0|bi)==(0|ki)){if(c=0,N(152,0|Fb),di=c,c=0,1&di){Pb=18;break e}k=0|t[Dr>>2],wi=k}else wi=bi;if(_i=0|t[Fb>>2],hi=0|t[(_i+4|0)>>2],mi=wi+(12*(Ei=ci-hi|0)|0)|0,Si=0|t[(4+(wi+(12*Ei|0)|0)|0)>>2],vi=0|t[mi>>2],!((0|(Si-vi|0))<32)){if(pi=0|t[Ur>>2],Ai=0|t[Ar>>2],yi=(0|(Ai+pi|0))/2&-1,Ri=0|t[Ha>>2],gi=0|t[Di>>2],c=0,Fi=0|M(137,0|Ha,0|yi,0|(0|(gi+Ri|0))/2&-1),Mi=c,c=0,1&Mi){Pb=18;break e}if(Fi)break}if(t[je>>2]=119,t[(je+4|0)>>2]=0,Ni=0|t[(Ti=e+32|0)>>2],Ci=0|t[(e+36|0)>>2],(0|Ni)==(0|Ci)){if(c=0,C(125,0|(e+28|0),0|je),zi=c,c=0,1&zi){Pb=18;break e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-1?Se:0-Se|0))>(0|((0|(Oe=(0|((1-lr|0)+le|0))/4&-1))>2?Oe:2));e:do{if(Ae)if(c=0,ye=0|L(120,0|R,0|Ee,40,2),Re=c,c=0,1&Re)hr=13;else if(ye)hr=5;else{if((0|R)<(0|Ee)){if(c=0,fr=0|B(157,0|_r,0|i),tr=c,c=0,1&tr){hr=13;break}if(0==(0|fr)){hr=46;break}if(t[pe>>2]=fr,t[(pe+4|0)>>2]=0,or=0|t[(nr=e+32|0)>>2],sr=0|t[(e+36|0)>>2],(0|or)==(0|sr)){if(c=0,C(125,0|(e+28|0),0|pe),E=c,c=0,1&E){hr=13;break}}else cr=0|t[(ur=pe)>>2],br=0|t[(ur+4|0)>>2],t[(kr=or)>>2]=cr,t[(kr+4|0)>>2]=br,d=0|t[nr>>2],h=d+8|0,t[nr>>2]=h;hr=46;break}if((0|R)>(0|Ee))if(c=0,m=0|B(158,0|_r,0|r),w=c,c=0,1&w)hr=13;else if(0==(0|m))hr=46;else{if(t[Fe>>2]=m,t[(Fe+4|0)>>2]=0,p=0|t[(v=e+32|0)>>2],O=0|t[(e+36|0)>>2],(0|p)==(0|O)){if(c=0,C(125,0|(e+28|0),0|Fe),P=c,c=0,1&P){hr=13;break}}else y=0|t[(A=Fe)>>2],g=0|t[(A+4|0)>>2],t[(F=p)>>2]=y,t[(F+4|0)>>2]=g,D=0|t[v>>2],T=D+8|0,t[v>>2]=T;if(243==(0|m))if(H=0|t[ar>>2],U=0|t[x>>2],z=0|t[re>>2],V=(Y=(z-U|0)+H|0)+-1|0,X=0|t[k>>2],(0|Y)<(0|H)&(0|V)>(0|X))if(c=0,C(159,0|dr,0|Ue),j=c,c=0,1&j)hr=13;else{c=0,C(76,0|Ue,0|V),K=c,c=0,G=1&K;do{if(G)hr=43;else if(c=0,C(75,0|dr,0|Y),Z=c,c=0,1&Z)hr=43;else{if(Q=e+16|0,c=0,$=0|I(29,40),ee=c,c=0,!(1&ee)){if(c=0,C(159,0|$,0|dr),ae=c,c=0,1&ae){de=0|q(),_e=b,vf($),a=de,f=_e;break}if(t[Pe>>2]=$,te=0|t[(fe=e+20|0)>>2],ne=0|t[(e+24|0)>>2],(0|te)==(0|ne)){if(c=0,C(70,0|Q,0|Pe),ce=c,c=0,1&ce){hr=43;break}}else oe=$,t[te>>2]=oe,se=0|t[fe>>2],ue=se+4|0,t[fe>>2]=ue;if(c=0,N(72,0|dr),be=c,c=0,1&be){hr=13;break e}hr=46;break e}hr=43}}while(0);43==(0|hr)&&(ke=0|q(),a=ke,f=b),c=0,N(72,0|dr),he=c,c=0,1&he?(we=0|J(0),b,ve(we)):(n=a,f)}else hr=46;else hr=46}else hr=46}else hr=5}while(0);e:do{if(5==(0|hr))if(c=0,ge=0|M(156,0|_r,0|r,0|i),Me=c,c=0,1&Me)hr=13;else{switch(0|ge){case 0:hr=46;break e;case 81:if(c=0,De=0|L(120,0|R,0|Ee,40,2),Te=c,c=0,1&Te){hr=13;break e}if(De)if(t[u>>2]=97,t[(u+4|0)>>2]=1,Ce=0|t[(Ne=e+32|0)>>2],Ie=0|t[(e+36|0)>>2],(0|Ce)==(0|Ie)){if(c=0,C(125,0|(e+28|0),0|u),Ve=c,c=0,1&Ve){hr=13;break e}}else Le=0|t[(xe=u)>>2],He=0|t[(xe+4|0)>>2],t[(Be=Ce)>>2]=Le,t[(Be+4|0)>>2]=He,ze=0|t[Ne>>2],Ye=ze+8|0,t[Ne>>2]=Ye}if(t[l>>2]=ge,t[(l+4|0)>>2]=0,Ke=0|t[(We=e+32|0)>>2],Ge=0|t[(e+36|0)>>2],(0|Ke)==(0|Ge)){if(c=0,C(125,0|(e+28|0),0|l),ir=c,c=0,1&ir){hr=13;break}}else Ze=0|t[(Je=l)>>2],Qe=0|t[(Je+4|0)>>2],t[($e=Ke)>>2]=Ze,t[($e+4|0)>>2]=Qe,er=0|t[We>>2],rr=er+8|0,t[We>>2]=rr;hr=46}}while(0);if(13==(0|hr))Xe=0|q(),n=Xe,b;else if(46==(0|hr))return x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0,ka=0|B(164,0|Ia,0|Ua),_a=c,c=0,1&_a){Bc=22;break e}if(!ka)break;if(c=0,ha=0|B(165,0|Ia,0|Ua),Ea=c,c=0,1&Ea){Bc=22;break e}if(ha)break;if(t[S>>2]=48,t[(S+4|0)>>2]=0,wa=0|t[(ma=e+32|0)>>2],Sa=0|t[(e+36|0)>>2],(0|wa)==(0|Sa)){if(c=0,C(125,0|(e+28|0),0|S),Ma=c,c=0,1&Ma){Bc=22;break e}}else Oa=0|t[(pa=S)>>2],Aa=0|t[(pa+4|0)>>2],t[(ya=wa)>>2]=Oa,t[(ya+4|0)>>2]=Aa,ga=0|t[ma>>2],Fa=ga+8|0,t[ma>>2]=Fa;Bc=265;break e}}while(0);if(Da=0|t[At>>2],Ta=0|t[Mf>>2],(0|Da)>(0|Ta))break;if(c=0,Na=0|B(153,0|Ra,0|wc),Pa=c,c=0,1&Pa){Bc=22;break e}do{if(Na){if(xa=0|t[wc>>2],La=0|t[cn>>2],Ha=0|t[An>>2],!((0|xa)>(0|(0|((La+1|0)-Ha|0))/2&-1))){Bc=78;break}if(c=0,Ba=0|B(166,0|Ra,0|wc),za=c,c=0,1&za){Bc=22;break e}if(!Ba){Bc=78;break}if(Ya=0|t[wc>>2],Va=0|t[cn>>2],Xa=0|t[An>>2],!((0|Ya)>(0|(0|((Va+1|0)-Xa|0))/2&-1))){Bc=78;break}if(t[Ei>>2]=115,t[(Ei+4|0)>>2]=0,Ka=0|t[(ja=e+32|0)>>2],Ga=0|t[(e+36|0)>>2],(0|Ka)==(0|Ga)){if(c=0,C(125,0|(e+28|0),0|Ei),rf=c,c=0,1&rf){Bc=22;break e}}else Ja=0|t[(qa=Ei)>>2],Za=0|t[(qa+4|0)>>2],t[(Qa=Ka)>>2]=Ja,t[(Qa+4|0)>>2]=Za,$a=0|t[ja>>2],ef=$a+8|0,t[ja>>2]=ef}else Bc=78}while(0);r:do{if(78==(0|Bc)){if(c=0,ff=0|I(162,0|Oc),tf=c,c=0,1&tf){Bc=22;break e}do{if(ff){if(c=0,nf=0|I(167,0|Oc),of=c,c=0,1&of){Bc=22;break e}if(!nf){if(c=0,sf=0|I(168,0|Oc),lf=c,c=0,1&lf){Bc=22;break e}if(!sf)break;if(c=0,uf=0|I(169,0|Ra),cf=c,c=0,1&cf){Bc=22;break e}if(!uf)break}if(t[Ca>>2]=66,t[(Ca+4|0)>>2]=0,kf=0|t[(bf=e+32|0)>>2],df=0|t[(e+36|0)>>2],(0|kf)==(0|df)){if(c=0,C(125,0|(e+28|0),0|Ca),Of=c,c=0,1&Of){Bc=22;break e}}else Ef=0|t[(_f=Ca)>>2],mf=0|t[(_f+4|0)>>2],t[(wf=kf)>>2]=Ef,t[(wf+4|0)>>2]=mf,Sf=0|t[bf>>2],pf=Sf+8|0,t[bf>>2]=pf;break r}}while(0);if(Af=0|t[At>>2],yf=0|t[ni>>2],c=0,Rf=0|L(136,0|Ia,0|Af,0|(yf+1|0),1),gf=c,c=0,1&gf){Bc=22;break e}if(Ff=0|t[Mf>>2],Df=0|t[Ua>>2],c=0,Tf=0|L(146,0|Ua,0|Ff,0|(Df+-1|0),1),Nf=c,c=0,1&Nf){Bc=22;break e}Cf=(0|(Rf+-1|0))>(0|(Tf+1|0));do{if(!Cf){if(c=0,If=0|I(170,0|Oc),Pf=c,c=0,1&Pf){Bc=22;break e}do{if(If)Bc=97;else{if(c=0,Lf=0|I(171,0|Oc),Hf=c,c=0,1&Hf){Bc=22;break e}if(Lf){Bc=97;break}if(c=0,Qf=0|B(150,0|Mc,50),$f=c,c=0,1&$f){Bc=22;break e}if(Qf)break;if(c=0,et=0|B(143,0|Hc,-1),rt=c,c=0,1&rt){Bc=22;break e}if(!(1==(0|et)))break;if(t[Wt>>2]=97,t[(Wt+4|0)>>2]=1,at=0|t[(it=e+32|0)>>2],ft=0|t[(e+36|0)>>2],(0|at)==(0|ft)){if(c=0,C(125,0|(e+28|0),0|Wt),kt=c,c=0,1&kt){Bc=22;break e}}else ot=0|t[(tt=Wt)>>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(Ut=ts)>>2],Yt=0|t[(Ut+4|0)>>2],t[(Vt=Ht)>>2]=zt,t[(Vt+4|0)>>2]=Yt,Xt=0|t[Lt>>2],Kt=Xt+8|0,t[Lt>>2]=Kt;break r}}while(0);for(qt=0|t[At>>2],Jt=0|t[Mf>>2],Zt=e+8|0,Qt=0|t[An>>2],$t=0|t[(Ra+16|0)>>2],Fc=qt;(0|(gc=Fc+1|0))<(0|Jt);){if(en=0|t[e>>2],rn=0|t[Zt>>2],an=((0|(rn+en|0))/2&-1)-Ft|0,fn=0|t[($t+(12*(gc-Qt|0)|0)|0)>>2],nn=0|a[(fn+an|0)>>0],nn<<24>>24==0){Bc=125;break}Fc=gc}if(125==(0|Bc)){if(t[bl>>2]=103,t[(bl+4|0)>>2]=0,sn=0|t[(on=e+32|0)>>2],ln=0|t[(e+36|0)>>2],(0|sn)==(0|ln)){if(c=0,C(125,0|(e+28|0),0|bl),mn=c,c=0,1&mn){Bc=22;break e}}else bn=0|t[(un=bl)>>2],kn=0|t[(un+4|0)>>2],t[(dn=sn)>>2]=bn,t[(dn+4|0)>>2]=kn,_n=0|t[on>>2],hn=_n+8|0,t[on>>2]=hn;break}Sn=0|t[(wn=r+12|0)>>2],vn=0|t[Vf>>2],pn=(0|Sn)>(0|(0|(vn+Jt|0))/2&-1);do{if(pn){if(c=0,On=0|I(170,0|mc),yn=c,c=0,1&yn){Bc=22;break e}if(!On){if(c=0,Rn=0|I(171,0|mc),gn=c,c=0,1&gn){Bc=22;break e}if(!Rn)break;if(c=0,Fn=0|I(171,0|Hc),Mn=c,c=0,1&Mn){Bc=22;break e}if(!Fn)break}Dn=0|t[An>>2],Nn=0|t[(r+4|0)>>2],Cn=(0|Dn)<(0|Nn);i:do{if(!Cn){if(In=0|t[cn>>2],Pn=(1-Dn|0)+In|0,xn=0|t[wn>>2],(0|Pn)>(0|((1-Nn|0)+xn|0)))break;if(c=0,Ln=0|I(171,0|Oc),Hn=c,c=0,1&Hn){Bc=22;break e}if(Ln)Bc=142;else{if(c=0,Bn=0|I(170,0|Oc),Un=c,c=0,1&Un){Bc=22;break e}Bn&&(Bc=142)}do{if(142==(0|Bc)){if(c=0,zn=0|I(171,0|Mc),Yn=c,c=0,1&Yn){Bc=22;break e}if(zn&&(Vn=0|t[Ti>>2],Xn=0|t[ni>>2],!((0|Vn)>(0|Xn))))break;if(t[_u>>2]=101,t[(_u+4|0)>>2]=1,jn=0|t[(Wn=e+32|0)>>2],Kn=0|t[(e+36|0)>>2],(0|jn)==(0|Kn)){if(c=0,C(125,0|(e+28|0),0|_u),ao=c,c=0,1&ao){Bc=22;break e}}else qn=0|t[(Gn=_u)>>2],Zn=0|t[(Gn+4|0)>>2],t[(Qn=jn)>>2]=qn,t[(Qn+4|0)>>2]=Zn,$n=0|t[Wn>>2],eo=$n+8|0,t[Wn>>2]=eo;break i}}while(0);if(fo=0|t[ri>>2],to=0|t[(Mc+8|0)>>2],(0|to)<0&&(c=0,N(141,0|Mc),no=c,c=0,1&no)){Bc=22;break e}if(oo=Mc+36|0,lo=0|t[(Mc+40|0)>>2],uo=0|t[oo>>2],c=0,co=0|B(139,0|Mc,0|(0|((50*((lo-uo|0)>>2)|0)+-50|0))/100&-1),bo=c,c=0,1&bo){Bc=22;break e}if(ko=fo-co|0,_o=0|t[ni>>2],!((0|ko)>(0|_o)))break;if(c=0,ho=0|B(150,0|Mc,50),Eo=c,c=0,1&Eo){Bc=22;break e}if(ho)break;if(t[v>>2]=97,t[(v+4|0)>>2]=1,wo=0|t[(mo=e+32|0)>>2],vo=0|t[(e+36|0)>>2],(0|wo)==(0|vo)){if(c=0,C(125,0|(e+28|0),0|v),Mo=c,c=0,1&Mo){Bc=22;break e}}else Oo=0|t[(po=v)>>2],Ao=0|t[(po+4|0)>>2],t[(yo=wo)>>2]=Oo,t[(yo+4|0)>>2]=Ao,go=0|t[mo>>2],Fo=go+8|0,t[mo>>2]=Fo}}while(0);Do=0|t[At>>2],To=0|t[An>>2],No=0|t[cn>>2],Co=(0|Do)>(0|(0|(No+To|0))/2&-1);do{if(Co){if(Io=0|t[bt>>2],!((0|Io)>(0|(((0|(30*(No-To|0)|0))/100&-1)+To|0))))break;if(t[De>>2]=233,t[(De+4|0)>>2]=0,Lo=0|t[(xo=e+32|0)>>2],Ho=0|t[(e+36|0)>>2],(0|Lo)==(0|Ho)){if(c=0,C(125,0|(e+28|0),0|De),jo=c,c=0,1&jo){Bc=22;break e}}else Uo=0|t[(Bo=De)>>2],Yo=0|t[(Bo+4|0)>>2],t[(Vo=Lo)>>2]=Uo,t[(Vo+4|0)>>2]=Yo,Xo=0|t[xo>>2],Wo=Xo+8|0,t[xo>>2]=Wo;break r}}while(0);if(t[wr>>2]=56,t[(wr+4|0)>>2]=0,qo=0|t[(Go=e+32|0)>>2],Jo=0|t[(e+36|0)>>2],(0|qo)==(0|Jo)){if(c=0,C(125,0|(e+28|0),0|wr),fs=c,c=0,1&fs){Bc=22;break e}}else Qo=0|t[(Zo=wr)>>2],es=0|t[(Zo+4|0)>>2],t[(rs=qo)>>2]=Qo,t[(rs+4|0)>>2]=es,is=0|t[Go>>2],as=is+8|0,t[Go>>2]=as;break r}}while(0);if(c=0,os=0|B(143,0|Oc,-1),ss=c,c=0,1&ss){Bc=22;break e}ls=2==(0|os);do{if(ls){if(c=0,us=0|B(143,0|Mc,-1),cs=c,c=0,1&cs){Bc=22;break e}if(!(1==(0|us)))break;if(bs=0|t[(r+4|0)>>2],ks=0|t[wn>>2],ds=(0|(ks+bs|0))/2&-1,_s=0|t[At>>2],hs=(0|ds)<(0|_s),Es=0|t[Vf>>2],hs&(0|ks)<(0|Es)){if(t[yr>>2]=103,t[(yr+4|0)>>2]=0,Ss=0|t[(ms=e+32|0)>>2],vs=0|t[(e+36|0)>>2],(0|Ss)==(0|vs)){if(c=0,C(125,0|(e+28|0),0|yr),Ms=c,c=0,1&Ms){Bc=22;break e}}else Os=0|t[(ps=yr)>>2],As=0|t[(ps+4|0)>>2],t[(Rs=Ss)>>2]=Os,t[(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if(t[fi>>2]=97,t[(fi+4|0)>>2]=0,Sl=0|t[ul>>2],(0|vl)==(0|Sl)){if(c=0,C(125,0|(e+28|0),0|fi),Dl=c,c=0,1&Dl){Bc=22;break e}}else Al=0|t[(Ol=fi)>>2],yl=0|t[(Ol+4|0)>>2],t[(Rl=vl)>>2]=Al,t[(Rl+4|0)>>2]=yl,Fl=0|t[sl>>2],Ml=Fl+8|0,t[sl>>2]=Ml}}while(0);Bc=265;break e}}while(0);Tl=(0|wi)>(0|vi);do{if(Tl){if(c=0,Nl=0|B(164,0|Ia,0|Ua),Cl=c,c=0,1&Cl){Bc=22;break e}if(!Nl)break;if(c=0,Il=0|B(172,0|Ia,0|Ua),Pl=c,c=0,1&Pl){Bc=22;break e}if(Il){if(c=0,ku=0|B(165,0|Ia,0|Ua),du=c,c=0,1&du){Bc=22;break e}if(!ku){Bc=265;break e}if(t[Ri>>2]=81,t[(Ri+4|0)>>2]=0,Eu=0|t[(hu=e+32|0)>>2],mu=0|t[(e+36|0)>>2],(0|Eu)==(0|mu)){if(c=0,C(125,0|(e+28|0),0|Ri),yu=c,c=0,1&yu){Bc=22;break e}}else Su=0|t[(wu=Ri)>>2],vu=0|t[(wu+4|0)>>2],t[(pu=Eu)>>2]=Su,t[(pu+4|0)>>2]=vu,Ou=0|t[hu>>2],Au=Ou+8|0,t[hu>>2]=Au;Bc=265;break e}xl=0|t[Ua>>2],Ll=0|t[Ra>>2],Hl=0|t[ri>>2],Bl=(0|xl)>(0|(0|(Hl+Ll|0))/2&-1);do{if(Bl){if(Ul=0|t[Vf>>2],zl=0|t[cn>>2],Vl=0|t[At>>2],Xl=0|t[bt>>2],!((0|Ul)<(0|(((zl+-1|0)-Vl|0)+Xl|0))))break;if(t[li>>2]=57,t[(li+4|0)>>2]=0,jl=0|t[(Wl=e+32|0)>>2],Kl=0|t[(e+36|0)>>2],(0|jl)==(0|Kl)){if(c=0,C(125,0|(e+28|0),0|li),ru=c,c=0,1&ru){Bc=22;break e}}else ql=0|t[(Gl=li)>>2],Jl=0|t[(Gl+4|0)>>2],t[(Zl=jl)>>2]=ql,t[(Zl+4|0)>>2]=Jl,$l=0|t[Wl>>2],eu=$l+8|0,t[Wl>>2]=eu;Bc=265;break e}}while(0);if(t[mi>>2]=103,t[(mi+4|0)>>2]=0,au=0|t[(iu=e+32|0)>>2],fu=0|t[(e+36|0)>>2],(0|au)==(0|fu)){if(c=0,C(125,0|(e+28|0),0|mi),bu=c,c=0,1&bu){Bc=22;break e}}else nu=0|t[(tu=mi)>>2],ou=0|t[(tu+4|0)>>2],t[(su=au)>>2]=nu,t[(su+4|0)>>2]=ou,uu=0|t[iu>>2],cu=uu+8|0,t[iu>>2]=cu;Bc=265;break e}}while(0);if(!((0|wi)<(0|vi))){Bc=265;break}if(c=0,gu=0|B(143,0|Hc,-1),Fu=c,c=0,1&Fu){Bc=22;break}if(!(1==(0|gu))){Bc=265;break}if(c=0,Mu=0|B(164,0|Ia,0|Ua),Du=c,c=0,1&Du){Bc=22;break}do{if(Mu){if(c=0,Tu=0|B(143,0|Mc,-1),Cu=c,c=0,1&Cu){Bc=22;break e}if(!(1==(0|Tu))){if(c=0,oe=0|B(172,0|Ia,0|Ua),se=c,c=0,1&se){Bc=22;break e}if(oe)break;if(ue=0|t[ni>>2],ce=0|t[Ra>>2],be=0|t[ri>>2],!((0|ue)<(0|(0|(be+ce|0))/2&-1)))break;if(ke=0|t[bt>>2],de=0|t[An>>2],_e=0|t[At>>2],!((0|ke)>(0|(((1-ke|0)+de|0)+_e|0))))break;if(t[da>>2]=54,t[(da+4|0)>>2]=0,Ee=0|t[(he=e+32|0)>>2],me=0|t[(e+36|0)>>2],(0|Ee)==(0|me)){if(c=0,C(125,0|(e+28|0),0|da),Re=c,c=0,1&Re){Bc=22;break e}}else ve=0|t[(Se=da)>>2],pe=0|t[(Se+4|0)>>2],t[(Oe=Ee)>>2]=ve,t[(Oe+4|0)>>2]=pe,Ae=0|t[he>>2],ye=Ae+8|0,t[he>>2]=ye;Bc=265;break e}Iu=0|t[At>>2],Pu=0|t[bt>>2],xu=((Iu+1|0)-Pu|0)<<1,Lu=0|t[Vf>>2],Hu=0|t[Mf>>2],Bu=(0|xu)>(0|((Lu+1|0)-Hu|0));do{if(Bu){if(Uu=0|t[ni>>2],zu=0|t[Ia>>2],Yu=((Uu+1|0)-zu|0)<<1,Vu=0|t[Ti>>2],Xu=0|t[Ua>>2],!((0|Yu)>(0|(Wu=(Vu+1|0)-Xu|0))))break;if(ju=3*Wu|0,Ku=0|t[ri>>2],Gu=0|t[Ra>>2],(0|ju)<(0|((Ku+1|0)-Gu|0)))break;if(c=0,qu=0|B(150,0|Oc,50),Ju=c,c=0,1&Ju){Bc=22;break e}if(qu)break;if(c=0,Zu=0|I(171,0|Oc),Qu=c,c=0,1&Qu){Bc=22;break e}do{if(Zu){if(c=0,$u=0|I(170,0|Oc),ec=c,c=0,1&ec){Bc=22;break e}if(!$u)break;if(t[Ii>>2]=54,t[(Ii+4|0)>>2]=0,ac=0|t[(rc=e+32|0)>>2],fc=0|t[(e+36|0)>>2],(0|ac)==(0|fc)){if(c=0,C(125,0|(e+28|0),0|Ii),bc=c,c=0,1&bc){Bc=22;break e}}else nc=0|t[(tc=Ii)>>2],oc=0|t[(tc+4|0)>>2],t[(lc=ac)>>2]=nc,t[(lc+4|0)>>2]=oc,uc=0|t[rc>>2],cc=uc+8|0,t[rc>>2]=cc;Bc=265;break e}}while(0);if(t[Yi>>2]=66,t[(Yi+4|0)>>2]=0,dc=0|t[(kc=e+32|0)>>2],_c=0|t[(e+36|0)>>2],(0|dc)==(0|_c)){if(c=0,C(125,0|(e+28|0),0|Yi),g=c,c=0,1&g){Bc=22;break e}}else Ec=0|t[(hc=Yi)>>2],O=0|t[(hc+4|0)>>2],t[(A=dc)>>2]=Ec,t[(A+4|0)>>2]=O,y=0|t[kc>>2],R=y+8|0,t[kc>>2]=R;Bc=265;break e}}while(0);if(F=0|t[Ti>>2],M=0|t[Ra>>2],D=0|t[ri>>2],(0|F)<(0|(0|(D+M|0))/2&-1)){if(t[ea>>2]=38,t[(ea+4|0)>>2]=0,x=0|t[(T=e+32|0)>>2],U=0|t[(e+36|0)>>2],(0|x)==(0|U)){if(c=0,C(125,0|(e+28|0),0|ea),K=c,c=0,1&K){Bc=22;break e}}else Y=0|t[(z=ea)>>2],V=0|t[(z+4|0)>>2],t[(X=x)>>2]=Y,t[(X+4|0)>>2]=V,W=0|t[T>>2],j=W+8|0,t[T>>2]=j;Bc=265;break e}if(t[na>>2]=97,t[(na+4|0)>>2]=0,J=0|t[(G=e+32|0)>>2],Q=0|t[(e+36|0)>>2],(0|J)==(0|Q)){if(c=0,C(125,0|(e+28|0),0|na),ne=c,c=0,1&ne){Bc=22;break e}}else ee=0|t[($=na)>>2],re=0|t[($+4|0)>>2],t[(ae=J)>>2]=ee,t[(ae+4|0)>>2]=re,fe=0|t[G>>2],te=fe+8|0,t[G>>2]=te;Bc=265;break e}}while(0);if(ge=0|t[At>>2],Fe=0|t[Mf>>2],!((0|ge)<(0|Fe))){Bc=265;break}if(t[va>>2]=38,t[(va+4|0)>>2]=0,Ne=0|t[(Me=e+32|0)>>2],Ce=0|t[(e+36|0)>>2],(0|Ne)==(0|Ce)){if(c=0,C(125,0|(e+28|0),0|va),Ue=c,c=0,1&Ue){Bc=22;break}}else Pe=0|t[(Ie=va)>>2],xe=0|t[(Ie+4|0)>>2],t[(Le=Ne)>>2]=Pe,t[(Le+4|0)>>2]=xe,He=0|t[Me>>2],Be=He+8|0,t[Me>>2]=Be;Bc=265}}}else Bc=265;else Bc=265}while(0);if(22==(0|Bc))Te=0|q(),Ac=Te,yc=b;else if(265==(0|Bc))return ze=0|t[(mc+36|0)>>2],Ye=ze,0==(0|ze)||(Xe=0|t[(Ve=mc+40|0)>>2],(0|Xe)==(0|ze)||(xc=Xe+((-1^((Xe+-4|0)-Ye|0)>>>2)<<2)|0,t[Ve>>2]=xc),vf(ze)),je=0|t[(Mc+36|0)>>2],Ke=je,0==(0|je)||(qe=0|t[(Ge=Mc+40|0)>>2],(0|qe)==(0|je)||(Pc=qe+((-1^((qe+-4|0)-Ke|0)>>>2)<<2)|0,t[Ge>>2]=Pc),vf(je)),Je=0|t[(Hc+36|0)>>2],Ze=Je,0==(0|Je)||($e=0|t[(Qe=Hc+40|0)>>2],(0|$e)==(0|Je)||(Ic=$e+((-1^(($e+-4|0)-Ze|0)>>>2)<<2)|0,t[Qe>>2]=Ic),vf(Je)),rr=0|t[(Oc+36|0)>>2],ir=rr,0==(0|rr)?void(o=Uc):(fr=0|t[(ar=Oc+40|0)>>2],(0|fr)==(0|rr)||(Cc=fr+((-1^((fr+-4|0)-ir|0)>>>2)<<2)|0,t[ar>>2]=Cc),vf(rr),void(o=Uc));We=0|t[(mc+36|0)>>2],er=We,0==(0|We)?(i=Ac,f=yc):(ur=0|t[(tr=mc+40|0)>>2],(0|ur)==(0|We)||(Lc=ur+((-1^((ur+-4|0)-er|0)>>>2)<<2)|0,t[tr>>2]=Lc),vf(We),i=Ac,f=yc)}nr=0|t[(Mc+36|0)>>2],or=nr,0==(0|nr)?(n=i,l=f):(lr=0|t[(sr=Mc+40|0)>>2],(0|lr)==(0|nr)||(Nc=lr+((-1^((lr+-4|0)-or|0)>>>2)<<2)|0,t[sr>>2]=Nc),vf(nr),n=i,l=f)}cr=0|t[(Hc+36|0)>>2],br=cr,0==(0|cr)?(u=n,l):(dr=0|t[(kr=Hc+40|0)>>2],(0|dr)==(0|cr)||(Tc=dr+((-1^((dr+-4|0)-br|0)>>>2)<<2)|0,t[kr>>2]=Tc),vf(cr),u=n,l)}_r=0|t[(Oc+36|0)>>2],hr=_r,0==(0|_r)&&ie(0|u);mr=0|t[(Er=Oc+40|0)>>2],(0|mr)==(0|_r)||(Dc=mr+((-1^((mr+-4|0)-hr|0)>>>2)<<2)|0,t[Er>>2]=Dc);vf(_r),ie(0|u)}(e,i);default:return}break;case 2:return void function(e,r,i){e|=0,r|=0,i|=0;var a=0,f=0,n=0,l=0,u=0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c=0|t[(e+12|0)>>2],Lc=0|t[(e+4|0)>>2],!((0|hc)>(0|(Gc=(gc+1|0)-Lc|0)))){if(c=0,ob=0|L(120,0|hc,0|Gc,40,1),db=c,c=0,1&db){cd=16;break r}if(!ob){if(Le=0|t[Os>>2],Ye=0|t[Ht>>2],fr=(Le+1|0)-Ye|0,dr=0|t[Wo>>2],Sr=0|t[is>>2],c=0,Ir=0|L(120,0|fr,0|((dr+1|0)-Sr|0),20,2),Ur=c,c=0,1&Ur){cd=16;break r}if(!Ir)break;if(ei=0|t[tu>>2],ni=0|t[Wt>>2],wi=(ei+1|0)-ni|0,Ri=0|t[Sl>>2],Ni=0|t[Cl>>2],c=0,Qi=0|L(120,0|wi,0|((Ri+1|0)-Ni|0),20,2),oa=c,c=0,1&oa){cd=16;break r}if(!Qi)break;if(t[jf>>2]=58,t[(jf+4|0)>>2]=0,Da=0|t[(ya=e+32|0)>>2],Ua=0|t[(e+36|0)>>2],(0|Da)==(0|Ua)){if(c=0,C(125,0|(e+28|0),0|jf),Kf=c,c=0,1&Kf){cd=16;break r}}else bf=0|t[($a=jf)>>2],Mf=0|t[($a+4|0)>>2],t[(Pf=Da)>>2]=bf,t[(Pf+4|0)>>2]=Mf,Xf=0|t[ya>>2],Wf=Xf+8|0,t[ya>>2]=Wf;break}}if(t[_t>>2]=61,t[(_t+4|0)>>2]=0,Ib=0|t[(Fb=e+32|0)>>2],Xb=0|t[(e+36|0)>>2],(0|Ib)==(0|Xb)){if(c=0,C(125,0|(e+28|0),0|_t),te=c,c=0,1&te){cd=16;break r}}else kk=0|t[(ik=_t)>>2],Dk=0|t[(ik+4|0)>>2],t[(Pk=Ib)>>2]=kk,t[(Pk+4|0)>>2]=Dk,x=0|t[Fb>>2],j=x+8|0,t[Fb>>2]=j}}else{if(c=0,Gf=0|L(120,0|Jt,0|fn,60,1),qf=c,c=0,1&qf){cd=16;break r}a:do{if(Gf){if(c=0,Jf=0|B(187,0|nd,0|i),Zf=c,c=0,1&Zf){cd=16;break r}if(46==(0|Jf)){if(c=0,$f=0|B(187,0|od,0|i),et=c,c=0,1&et){cd=16;break r}if(46==(0|$f)){if(t[cf>>2]=58,t[(cf+4|0)>>2]=0,it=0|t[(rt=e+32|0)>>2],at=0|t[(e+36|0)>>2],(0|it)==(0|at)){if(c=0,C(125,0|(e+28|0),0|cf),bt=c,c=0,1&bt){cd=16;break r}}else nt=0|t[(tt=cf)>>2],ot=0|t[(tt+4|0)>>2],t[(st=it)>>2]=nt,t[(st+4|0)>>2]=ot,ut=0|t[rt>>2],ct=ut+8|0,t[rt>>2]=ct;break i}if(kt=0|t[(Wt+12|0)>>2],dt=0|t[(Wt+4|0)>>2],ht=(kt+1|0)-dt|0,Et=0|t[(Ht+12|0)>>2],mt=0|t[(Ht+4|0)>>2],(0|ht)>(0|((Et+1|0)-mt|0))&&(wt=0|t[(i+4|0)>>2],pt=0|t[(i+12|0)>>2],(0|dt)>(0|(0|(pt+wt|0))/2&-1))){if(t[y>>2]=59,t[(y+4|0)>>2]=0,At=0|t[(Ot=e+32|0)>>2],yt=0|t[(e+36|0)>>2],(0|At)==(0|yt)){if(c=0,C(125,0|(e+28|0),0|y),It=c,c=0,1&It){cd=16;break r}}else Ft=0|t[(gt=y)>>2],Mt=0|t[(gt+4|0)>>2],t[(Dt=At)>>2]=Ft,t[(Dt+4|0)>>2]=Mt,Nt=0|t[Ot>>2],Ct=Nt+8|0,t[Ot>>2]=Ct;break i}}if(c=0,Pt=0|B(131,0|r,4),xt=c,c=0,1&xt){cd=16;break r}if(Pt)cd=45;else{if(c=0,Lt=0|B(131,0|r,2),Bt=c,c=0,1&Bt){cd=16;break r}Lt&&(cd=45)}f:do{if(45==(0|cd)){if(c=0,Ut=0|B(187,0|od,0|i),zt=c,c=0,1&zt){cd=16;break r}switch(0|Ut){case 45:case 95:break;default:break f}if(t[Jb>>2]=177,t[(Jb+4|0)>>2]=0,Vt=0|t[(Yt=e+32|0)>>2],Xt=0|t[(e+36|0)>>2],(0|Vt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Xn=0|t[In>>2],(0|Yn)>(0|(5*((Vn+1|0)-Xn|0)|0)))){if(c=0,Wn=0|L(120,0|(Bn-zn|0),0|(Vn-zn|0),10,1),jn=c,c=0,1&jn){cd=16;break r}if(!Wn)break;if(c=0,Kn=0|I(29,40),Gn=c,c=0,1&Gn){cd=16;break r}if(c=0,C(159,0|Kn,0|Wt),qn=c,c=0,1&qn){ko=0|q(),_o=b,vf(Kn),a=ko,f=_o;break r}if(t[Zk>>2]=0|t[Kn>>2],t[Zk+4>>2]=0|t[Kn+4>>2],t[Zk+8>>2]=0|t[Kn+8>>2],t[Zk+12>>2]=0|t[Kn+12>>2],t[(Zn=Zk+16|0)>>2]=0,t[(Qn=Zk+20|0)>>2]=0,t[(Zk+24|0)>>2]=0,c=0,$n=0|I(29,4),eo=c,c=0,1&eo){cd=16;break r}ro=Kn,t[Zn>>2]=$n,io=$n+4|0,t[(Zk+24|0)>>2]=io,t[$n>>2]=ro,t[Qn>>2]=io,t[(Zk+28|0)>>2]=0,t[(Zk+32|0)>>2]=0,t[(Zk+36|0)>>2]=0,c=0,P(188,0|Zk,0|r,0|i),fo=c,c=0,to=1&fo;do{if(!to){if(c=0,no=0|B(178,0|Zk,108),oo=c,c=0,1&oo)break;if(no)cd=76;else{if(c=0,so=0|B(178,0|Zk,124),lo=c,c=0,1&lo)break;cd=so?76:80}if(76==(0|cd)){if(uo=0|t[Wt>>2],c=0,co=0|U(140,0|e,102,0|(uo+-1|0),105,0),bo=c,c=0,1&bo)break;co?l=1:cd=80}if(80==(0|cd)&&(l=0),c=0,N(176,0|Zk),So=c,c=0,1&So){cd=16;break r}if(0==(0|l))break a;break i}}while(0);if(ho=0|q(),Eo=b,c=0,N(176,0|Zk),mo=c,c=0,!(1&mo)){a=ho,f=Eo;break r}Yf=0|J(0),b,ve(Yf)}}}}while(0);if((0|Jt)>(0|fn)&&(vo=0|t[Ht>>2],po=0|t[(Ht+8|0)>>2],Oo=(0|(po+vo|0))/2&-1,Ao=0|t[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=c,c=0,1&ta){cd=16;break r}if(!fa)break a;h=Wt,E=ra}if(sa=0|t[(Ht+8|0)>>2],la=0|t[Ht>>2],ua=(sa+1|0)-la|0,ca=0|t[E>>2],ba=0|t[h>>2],c=0,ka=0|L(120,0|ua,0|((ca+1|0)-ba|0),50,1),da=c,c=0,1&da){cd=16;break r}if(ka){if(c=0,ha=0|B(150,0|(nd+56|0),50),Ea=c,c=0,1&Ea){cd=16;break r}if(!ha){if(t[lt>>2]=33,t[(lt+4|0)>>2]=0,wa=0|t[(ma=e+32|0)>>2],Sa=0|t[(e+36|0)>>2],(0|wa)==(0|Sa)){if(c=0,C(125,0|(e+28|0),0|lt),Fa=c,c=0,1&Fa){cd=16;break r}}else pa=0|t[(va=lt)>>2],Oa=0|t[(va+4|0)>>2],t[(Aa=wa)>>2]=pa,t[(Aa+4|0)>>2]=Oa,Ra=0|t[ma>>2],ga=Ra+8|0,t[ma>>2]=ga;break i}}if(c=0,Ma=0|B(143,0|(nd+200|0),-1),Ta=c,c=0,1&Ta){cd=16;break r}if(!(1==(0|Ma)))break i;if(t[vt>>2]=63,t[(vt+4|0)>>2]=0,Ca=0|t[(Na=e+32|0)>>2],Ia=0|t[(e+36|0)>>2],(0|Ca)==(0|Ia)){if(c=0,C(125,0|(e+28|0),0|vt),Ya=c,c=0,1&Ya){cd=16;break r}}else xa=0|t[(Pa=vt)>>2],La=0|t[(Pa+4|0)>>2],t[(Ha=Ca)>>2]=xa,t[(Ha+4|0)>>2]=La,Ba=0|t[Na>>2],za=Ba+8|0,t[Na>>2]=za;break i}}while(0);switch(0|Xi){case 45:case 95:break;default:break i}if(c=0,Va=0|B(131,0|r,4),Xa=c,c=0,1&Xa){cd=16;break r}if(!Va){if(c=0,Wa=0|B(131,0|r,2),ja=c,c=0,1&ja){cd=16;break r}if(!Wa)break}if(Ka=0|t[Ki>>2],Ga=0|t[ji>>2],!(4==(0|(Ka-Ga|0))))break;if(c=0,qa=0|B(195,0|Ht,0),Ja=c,c=0,1&Ja){cd=16;break r}if(Za=0|t[(Wt+8|0)>>2],Qa=0|t[Wt>>2],ef=(Za+1|0)-Qa|0,rf=0|t[(qa+8|0)>>2],af=0|t[qa>>2],(0|ef)<(0|((rf+1|0)-af|0)))break;if(ff=0|t[Yi>>2],tf=0|t[Ui>>2],nf=ff-tf|0,of=0|t[(qa+12|0)>>2],sf=0|t[(qa+4|0)>>2],!((0|nf)<(0|((of+1|0)-sf|0))))break;if(lf=0|t[Ht>>2],uf=af-lf|0,kf=0|t[(Ht+8|0)>>2],c=0,df=0|L(120,0|uf,0|(kf-rf|0),40,1),_f=c,c=0,1&_f){cd=16;break r}if(df){if(t[Rt>>2]=186,t[(Rt+4|0)>>2]=0,Ef=0|t[(hf=e+32|0)>>2],mf=0|t[(e+36|0)>>2],(0|Ef)==(0|mf)){if(c=0,C(125,0|(e+28|0),0|Rt),Rf=c,c=0,1&Rf){cd=16;break r}}else Sf=0|t[(wf=Rt)>>2],pf=0|t[(wf+4|0)>>2],t[(Of=Ef)>>2]=Sf,t[(Of+4|0)>>2]=pf,Af=0|t[hf>>2],yf=Af+8|0,t[hf>>2]=yf;break}if(t[Tt>>2]=170,t[(Tt+4|0)>>2]=0,Ff=0|t[(gf=e+32|0)>>2],Df=0|t[(e+36|0)>>2],(0|Ff)==(0|Df)){if(c=0,C(125,0|(e+28|0),0|Tt),Hf=c,c=0,1&Hf){cd=16;break r}}else Nf=0|t[(Tf=Tt)>>2],Cf=0|t[(Tf+4|0)>>2],t[(If=Ff)>>2]=Nf,t[(If+4|0)>>2]=Cf,xf=0|t[gf>>2],Lf=xf+8|0,t[gf>>2]=Lf;break}if(c=0,rs=0|B(187,0|nd,0|i),as=c,c=0,1&as){cd=16;break r}switch(0|rs){case 45:fs=0|t[(Ht+12|0)>>2],ts=0|t[(Ht+4|0)>>2],ns=((fs+1|0)-ts|0)<<1,ss=0|t[(Ht+8|0)>>2],ls=0|t[Ht>>2],$k=(0|ns)>(0|((ss+1|0)-ls|0))?46:45;break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2&-1,0|td,1),Gl=c,c=0,1&Gl){cd=124;break}if(ql=0|t[Ps>>2],(0|jl)<(0|ql)){fd=td,cd=133;break}if(Jl=td+1|0,!((0|td)<(0|Ll))){fd=Jl,cd=133;break}Wl=ql,td=Jl}if(124==(0|cd)){Ml=0|q(),ld=Ml,ud=b;break t}if(133==(0|cd)){S=0|t[Wt>>2],v=0|t[Ks>>2],Zl=S,Ql=v,ad=fd;break}}}while(0);if(!((0|Zl)<(0|ad)&(0|ad)<(0|Ql))){u=0;break}if(c=0,eu=0|B(131,0|r,2),ru=c,c=0,1&ru){cd=125;break t}do{if(eu){if(c=0,iu=0|I(167,0|(od+152|0)),au=c,c=0,1&au){cd=125;break t}if(!iu)break;if(c=0,U(140,0|e,84,0|(ad+-1|0),304,1),fu=c,c=0,1&fu){cd=125;break t}u=1;break n}}while(0);if(c=0,U(140,0|e,114,0|(ad+-1|0),0|(Cs?105:237),1),nu=c,c=0,1&nu){cd=125;break t}u=1}else u=0}while(0);if(c=0,N(176,0|Qk),ou=c,c=0,1&ou){cd=16;break r}if(0==(0|u))break f;break i}cd=125}while(0);if(125==(0|cd)&&(Dl=0|q(),ld=Dl,ud=b),c=0,N(176,0|Qk),Tl=c,c=0,!(1&Tl)){a=ld,f=ud;break r}Yf=0|J(0),b,ve(Yf)}}while(0);if(Cs){if(su=0|t[Ps>>2],lu=0|t[Ls>>2],c=0,cu=0|B(143,0|Is,0|(0|((su+1|0)-lu|0))/4&-1),bu=c,c=0,1&bu){cd=16;break r}if(1==(0|cu)&&(ku=0|t[(Ht+12|0)>>2],du=0|t[Ls>>2],!((0|ku)>(0|du)))){if(_u=od+152|0,mu=0|t[(Eu=Wt+8|0)>>2],wu=0|t[Wt>>2],c=0,Su=0|B(143,0|_u,0|(0|((mu+1|0)-wu|0))/2&-1),vu=c,c=0,1&vu){cd=16;break r}if(!((0|Su)<3))break;if(c=0,pu=0|B(153,0|Wt,0|sd),Ou=c,c=0,1&Ou){cd=16;break r}f:do{if(pu){if(Au=0|t[sd>>2],yu=(0|Au)>-1?Au:0-Au|0,Ru=0|t[Ps>>2],gu=0|t[Ls>>2],(0|yu)<(0|(0|((Ru+1|0)-gu|0))/2&-1)){cd=183;break}Fu=(0|Au)>0;do{if(Fu){if(Mu=0|t[(od+160|0)>>2],(0|Mu)<0&&(c=0,N(141,0|_u),Du=c,c=0,1&Du)){cd=16;break r}if(Tu=od+188|0,Nu=0|t[(od+192|0)>>2],Iu=0|t[Tu>>2],c=0,Pu=0|M(145,0|_u,0|(0|((80*((Nu-Iu|0)>>2)|0)+-80|0))/100&-1,2),xu=c,c=0,1&xu){cd=16;break r}if(!Pu){p=0|t[sd>>2],Gu=p;break}if(t[St>>2]=106,t[(St+4|0)>>2]=0,Hu=0|t[(Lu=e+32|0)>>2],Bu=0|t[(e+36|0)>>2],(0|Hu)==(0|Bu)){if(c=0,C(125,0|(e+28|0),0|St),ju=c,c=0,1&ju){cd=16;break r}}else zu=0|t[(Uu=St)>>2],Yu=0|t[(Uu+4|0)>>2],t[(Vu=Hu)>>2]=zu,t[(Vu+4|0)>>2]=Yu,Xu=0|t[Lu>>2],Wu=Xu+8|0,t[Lu>>2]=Wu;break f}Gu=Au}while(0);if(!((0|Gu)<0)){cd=183;break}if(c=0,qu=0|B(131,0|r,4),Ju=c,c=0,1&Ju){cd=16;break r}if(qu)cd=167;else{if(c=0,Zu=0|B(131,0|r,2),Qu=c,c=0,1&Qu){cd=16;break r}Zu&&(cd=167)}do{if(167==(0|cd)){if($u=0|t[sd>>2],ec=0|k($u,-4),ic=0|t[Ps>>2],ac=0|t[Ls>>2],(0|ec)>(0|(3*((ic+1|0)-ac|0)|0)))break;if(c=0,fc=0|I(148,0|(od+296|0)),tc=c,c=0,1&tc){cd=16;break r}if(c=0,oc=0|I(148,0|(nd+296|0)),sc=c,c=0,1&sc){cd=16;break r}if(!((0|fc)>(0|oc<<1)))break;if(c=0,lc=0|B(143,0|(od+56|0),-1),uc=c,c=0,1&uc){cd=16;break r}if(!(1==(0|lc)))break;if(c=0,cc=0|B(139,0|Is,0),bc=c,c=0,1&bc){cd=16;break r}if(kc=cc<<1,dc=0|t[Ps>>2],_c=0|t[Ls>>2],!((0|kc)<(0|((dc+1|0)-_c|0))))break;if(t[Mn>>2]=191,t[(Mn+4|0)>>2]=0,mc=0|t[(Ec=e+32|0)>>2],wc=0|t[(e+36|0)>>2],(0|mc)==(0|wc)){if(c=0,C(125,0|(e+28|0),0|Mn),Rc=c,c=0,1&Rc){cd=16;break r}}else vc=0|t[(Sc=Mn)>>2],pc=0|t[(Sc+4|0)>>2],t[(Oc=mc)>>2]=vc,t[(Oc+4|0)>>2]=pc,Ac=0|t[Ec>>2],yc=Ac+8|0,t[Ec>>2]=yc;break f}}while(0);if(t[Co>>2]=105,t[(Co+4|0)>>2]=0,Mc=0|t[(Fc=e+32|0)>>2],Dc=0|t[(e+36|0)>>2],(0|Mc)==(0|Dc)){if(c=0,C(125,0|(e+28|0),0|Co),Hc=c,c=0,1&Hc){cd=16;break r}}else Nc=0|t[(Tc=Co)>>2],Cc=0|t[(Tc+4|0)>>2],t[(Ic=Mc)>>2]=Nc,t[(Ic+4|0)>>2]=Cc,Pc=0|t[Fc>>2],xc=Pc+8|0,t[Fc>>2]=xc}else cd=183}while(0);f:do{if(183==(0|cd)){if(c=0,Bc=0|B(143,0|(od+104|0),-1),Uc=c,c=0,1&Uc){cd=16;break r}if(!(1==(0|Bc)))break a;if(zc=0|t[Ps>>2],Yc=0|t[Ls>>2],Vc=(zc+1|0)-Yc|0,Wc=0|t[(Xc=i+12|0)>>2],jc=0|t[(i+4|0)>>2],Vf=(0|Vc)>(0|((Wc+1|0)-jc|0))?(0|(((0|(80*(zc-Yc|0)|0))/100&-1)+Yc|0))>(0|Wc):0,c=0,Jc=0|I(148,0|(qc=nd+296|0)),Zc=c,c=0,1&Zc){cd=16;break r}if(c=0,$c=0|I(148,0|(Qc=od+296|0)),eb=c,c=0,1&eb){cd=16;break r}if(c=0,rb=0|L(120,0|Jc,0|$c,20,1),ib=c,c=0,1&ib){cd=16;break r}if(rb){if(c=0,ab=0|B(131,0|r,4),fb=c,c=0,1&fb){cd=16;break r}if(ab)cd=195;else{if(c=0,tb=0|B(131,0|r,2),nb=c,c=0,1&nb){cd=16;break r}tb&&(cd=195)}do{if(195==(0|cd)){if(c=0,sb=0|B(150,0|(od+56|0),50),lb=c,c=0,1&lb){cd=16;break r}if(sb)break;if(c=0,ub=0|I(148,0|Qc),cb=c,c=0,1&cb){cd=16;break r}if(c=0,bb=0|I(148,0|qc),kb=c,c=0,1&kb){cd=16;break r}if((0|ub)<(0|bb))break;if(_b=0|t[(od+304|0)>>2],(0|_b)<0&&(c=0,N(141,0|Qc),hb=c,c=0,1&hb)){cd=16;break r}if(Eb=od+332|0,mb=0|t[(od+336|0)>>2],wb=0|t[Eb>>2],c=0,Sb=0|B(139,0|Qc,0|(0|((10*((mb-wb|0)>>2)|0)+-10|0))/100&-1),vb=c,c=0,1&vb){cd=16;break r}if(c=0,pb=0|I(148,0|qc),Ob=c,c=0,1&Ob){cd=16;break r}if(!((0|(3*Sb|0))<(0|pb<<1))){if(Ab=0|t[Ht>>2],yb=0|t[Wt>>2],(0|Ab)>(0|yb))break;if(Rb=0|t[Ls>>2],gb=0|t[Ps>>2],Mb=((0|(80*(gb-Rb|0)|0))/100&-1)+Rb|0,Db=0|t[Xc>>2],!((0|Mb)>(0|Db)))break}if(t[Hs>>2]=161,t[(Hs+4|0)>>2]=0,Nb=0|t[(Tb=e+32|0)>>2],Cb=0|t[(e+36|0)>>2],(0|Nb)==(0|Cb)){if(c=0,C(125,0|(e+28|0),0|Hs),zb=c,c=0,1&zb){cd=16;break r}}else xb=0|t[(Pb=Hs)>>2],Lb=0|t[(Pb+4|0)>>2],t[(Hb=Nb)>>2]=xb,t[(Hb+4|0)>>2]=Lb,Bb=0|t[Tb>>2],Ub=Bb+8|0,t[Tb>>2]=Ub;break f}}while(0);if(Vf){if(t[Ku>>2]=106,t[(Ku+4|0)>>2]=0,Vb=0|t[(Yb=e+32|0)>>2],Wb=0|t[(e+36|0)>>2],(0|Vb)==(0|Wb)){if(c=0,C(125,0|(e+28|0),0|Ku),$b=c,c=0,1&$b){cd=16;break r}}else Kb=0|t[(jb=Ku)>>2],Gb=0|t[(jb+4|0)>>2],t[(qb=Vb)>>2]=Kb,t[(qb+4|0)>>2]=Gb,Zb=0|t[Yb>>2],Qb=Zb+8|0,t[Yb>>2]=Qb;break}if(t[Kc>>2]=105,t[(Kc+4|0)>>2]=0,rk=0|t[(ek=e+32|0)>>2],ak=0|t[(e+36|0)>>2],(0|rk)==(0|ak)){if(c=0,C(125,0|(e+28|0),0|Kc),uk=c,c=0,1&uk){cd=16;break r}}else tk=0|t[(fk=Kc)>>2],nk=0|t[(fk+4|0)>>2],t[(ok=rk)>>2]=tk,t[(ok+4|0)>>2]=nk,sk=0|t[ek>>2],lk=sk+8|0,t[ek>>2]=lk;break}if(c=0,ck=0|I(148,0|Qc),bk=c,c=0,1&bk){cd=16;break r}if(c=0,dk=0|I(148,0|qc),_k=c,c=0,1&_k){cd=16;break r}hk=(0|(3*ck|0))>(0|dk<<2);do{if(hk){if(Ek=0|t[Ls>>2],mk=0|t[Ps>>2],wk=(0|(mk+Ek|0))/2&-1,Sk=0|t[Wt>>2],vk=0|t[Eu>>2],c=0,pk=0|L(147,0|Wt,0|wk,0|(((0|(vk-Sk|0))/10&-1)+Sk|0),1),Ok=c,c=0,1&Ok){cd=16;break r}if(Ak=0|t[Ps>>2],!((0|pk)<(0|Ak)))break;if(yk=0|t[(od+160|0)>>2],(0|yk)<0&&(c=0,N(141,0|_u),Rk=c,c=0,1&Rk)){cd=16;break r}if(gk=od+188|0,Fk=0|t[(od+192|0)>>2],Mk=0|t[gk>>2],c=0,Tk=0|M(145,0|_u,0|(0|((75*((Fk-Mk|0)>>2)|0)+-75|0))/100&-1,2),Nk=c,c=0,1&Nk){cd=16;break r}if(!Tk)break;if(Ck=0|t[Ht>>2],Ik=0|t[Wt>>2],xk=0|t[Eu>>2],(0|Ck)<(0|(0|(xk+Ik|0))/2&-1)){if(Lk=0|t[Ls>>2],Hk=0|t[Ps>>2],c=0,Bk=0|L(138,0|Wt,0|(0|(Hk+Lk|0))/2&-1,0|(((0|(xk-Ik|0))/10&-1)+Ik|0),1),Uk=c,c=0,1&Uk){cd=16;break r}if(zk=0|t[Ls>>2],(0|Bk)>(0|zk))break}if(t[xe>>2]=106,t[(xe+4|0)>>2]=0,Vk=0|t[(Yk=e+32|0)>>2],Xk=0|t[(e+36|0)>>2],(0|Vk)==(0|Xk)){if(c=0,C(125,0|(e+28|0),0|xe),F=c,c=0,1&F){cd=16;break r}}else jk=0|t[(Wk=xe)>>2],Kk=0|t[(Wk+4|0)>>2],t[(Gk=Vk)>>2]=jk,t[(Gk+4|0)>>2]=Kk,R=0|t[Yk>>2],g=R+8|0,t[Yk>>2]=g;break f}}while(0);if(c=0,D=0|B(131,0|r,2),T=c,c=0,1&T){cd=16;break r}do{if(D){if(c=0,H=0|I(167,0|_u),z=c,c=0,1&z){cd=16;break r}if(!H)break;if(t[Kr>>2]=304,t[(Kr+4|0)>>2]=0,V=0|t[(Y=e+32|0)>>2],X=0|t[(e+36|0)>>2],(0|V)==(0|X)){if(c=0,C(125,0|(e+28|0),0|Kr),ee=c,c=0,1&ee){cd=16;break r}}else K=0|t[(W=Kr)>>2],G=0|t[(W+4|0)>>2],t[(Z=V)>>2]=K,t[(Z+4|0)>>2]=G,Q=0|t[Y>>2],$=Q+8|0,t[Y>>2]=$;break f}}while(0);if(Vf){if(t[na>>2]=106,t[(na+4|0)>>2]=0,ae=0|t[(re=e+32|0)>>2],fe=0|t[(e+36|0)>>2],(0|ae)==(0|fe)){if(c=0,C(125,0|(e+28|0),0|na),be=c,c=0,1&be){cd=16;break r}}else oe=0|t[(ne=na)>>2],se=0|t[(ne+4|0)>>2],t[(le=ae)>>2]=oe,t[(le+4|0)>>2]=se,ue=0|t[re>>2],ce=ue+8|0,t[re>>2]=ce;break}if(t[Qf>>2]=105,t[(Qf+4|0)>>2]=0,de=0|t[(ke=e+32|0)>>2],_e=0|t[(e+36|0)>>2],(0|de)==(0|_e)){if(c=0,C(125,0|(e+28|0),0|Qf),Ae=c,c=0,1&Ae){cd=16;break r}}else me=0|t[(Ee=Qf)>>2],we=0|t[(Ee+4|0)>>2],t[(Se=de)>>2]=me,t[(Se+4|0)>>2]=we,pe=0|t[ke>>2],Oe=pe+8|0,t[ke>>2]=Oe;break}}while(0);break i}}}}while(0);if(ye=Ht+28|0,ge=0|t[(Re=Ht+32|0)>>2],Fe=0|t[ye>>2],(0|ge)==(0|Fe)?(De=0|t[(Ht+12|0)>>2],Te=0|t[(Wt+4|0)>>2],Ne=0|t[(Wt+12|0)>>2],(0|Jt<<1)<(0|fn)|(0|De)<(0|(0|(Ne+Te|0))/2&-1)||(cd=257)):cd=257,257==(0|cd)){if(!(4==(0|(ge-Fe|0))))break;if(Ce=0|t[(Ht+12|0)>>2],Ie=0|t[(Wt+4|0)>>2],!((0|Ie)>(0|Ce)))break;if(Pe=Ie-Ce|0,He=0|t[(Ht+4|0)>>2],!((0|Pe)<(0|((Ce+1|0)-He|0))))break}if(c=0,Be=0|I(29,40),Ue=c,c=0,1&Ue){cd=16;break r}if(c=0,C(159,0|Be,0|Wt),ze=c,c=0,1&ze){lr=0|q(),ur=b,vf(Be),a=lr,f=ur;break r}if(t[Jk>>2]=0|t[Be>>2],t[Jk+4>>2]=0|t[Be+4>>2],t[Jk+8>>2]=0|t[Be+8>>2],t[Jk+12>>2]=0|t[Be+12>>2],t[(Ve=Jk+16|0)>>2]=0,t[(Xe=Jk+20|0)>>2]=0,t[(Jk+24|0)>>2]=0,c=0,We=0|I(29,4),je=c,c=0,1&je){cd=16;break r}Ke=Be,t[Ve>>2]=We,Ge=We+4|0,t[(Jk+24|0)>>2]=Ge,t[We>>2]=Ke,t[Xe>>2]=Ge,t[(Jk+28|0)>>2]=0,t[(qe=Jk+32|0)>>2]=0,t[(Jk+36|0)>>2]=0,c=0,P(188,0|Jk,0|r,0|i),Je=c,c=0,Ze=1&Je;a:do{if(!Ze){Qe=Jk+28|0,$e=0|t[qe>>2],er=0|t[Qe>>2],rr=(0|$e)==(0|er);f:do{if(!rr){if(c=0,ir=0|B(189,0|Jk,0),ar=c,c=0,1&ar)break a;tr=0|t[ir>>2],nr=0|t[Re>>2],or=0|t[ye>>2],sr=4==(0|(nr-or|0));do{if(sr)ed=97==(0|tr)?229:65==(0|tr)?197:0;else{hr=117==(0|tr);do{if(hr){if(Er=0|t[(Ht+8|0)>>2],mr=0|t[Ht>>2],wr=5*((Er+1|0)-mr|0)|0,vr=0|t[(Wt+8|0)>>2],pr=0|t[Wt>>2],(0|wr)>(0|(Or=(vr+1|0)-pr|0)))break;if(Ar=0|t[(Ht+12|0)>>2],yr=0|t[(Ht+4|0)>>2],!((0|(5*((Ar+1|0)-yr|0)|0))>(0|Or)))break f}}while(0);if(gr=0|t[(Rr=Ht+12|0)>>2],Fr=0|t[(Wt+4|0)>>2],Mr=0|t[(Wt+12|0)>>2],!((0|gr)<(0|(0|(Mr+Fr|0))/2&-1))){ed=tr;break}if(c=0,Dr=0|I(190,0|tr),Tr=c,c=0,1&Tr)break a;do{if(Dr){if(Nr=0|t[(Ht+8|0)>>2],Cr=0|t[Ht>>2],Pr=((Nr+1|0)-Cr|0)<<1,Lr=0|t[Rr>>2],Hr=0|t[(Ht+4|0)>>2],!((0|Pr)>(0|(3*((Lr+1|0)-Hr|0)|0)))){cd=281;break}if(c=0,Br=0|B(191,0|(nd+104|0),50),zr=c,c=0,1&zr)break a;if(Br){cd=281;break}if(c=0,Yr=0|B(191,0|(nd+248|0),50),Vr=c,c=0,1&Vr)break a;Yr?qk=58:cd=281}else cd=281}while(0);do{if(281==(0|cd)){if(c=0,Wr=0|B(143,0|(Xr=nd+200|0),-1),jr=c,c=0,1&jr)break a;if(2==(0|Wr)){qk=94;break}if(c=0,Gr=0|I(167,0|Xr),qr=c,c=0,1&qr)break a;if(Gr){qk=94;break}if(Jr=0|t[Rr>>2],Zr=0|t[(Ht+4|0)>>2],Qr=(Jr+1|0)-Zr|0,ri=0|t[(Ht+8|0)>>2],ii=0|t[Ht>>2],!((0|((0|(ai=(ri+1|0)-ii|0))<(0|Qr)?ai:Qr))>4)){qk=39;break}if(c=0,fi=0|M(185,0|(nd+152|0),1,-1),ti=c,c=0,1&ti)break a;if(!fi){if(c=0,oi=0|M(145,0|(nd+104|0),1,2),si=c,c=0,1&si)break a;if(!oi){qk=39;break}}if(c=0,li=0|M(185,0|Xr,1,-1),ui=c,c=0,1&ui)break a;if(!li){if(c=0,ci=0|M(145,0|(nd+56|0),1,2),bi=c,c=0,1&bi)break a;if(!ci){qk=39;break}}qk=96}}while(0);if(c=0,ki=0|B(192,0|tr,0|qk),di=c,c=0,1&di)break a;ed=ki}}while(0);if(c=0,_i=0|B(189,0|Jk,0),hi=c,c=0,1&hi)break a;Ei=0|t[_i>>2],mi=(0|ed)==(0|Ei);do{if(mi)rd=ed,cd=304;else{if(c=0,Si=0|B(193,0|r,1),vi=c,c=0,1&vi)break a;if(!Si){rd=ed,cd=304;break}if(c=0,pi=0|I(194,0|ed),Oi=c,c=0,1&Oi)break a;if(105==(0|pi)){id=105;break}if(c=0,Ai=0|B(189,0|Jk,0),yi=c,c=0,1&yi)break a;gi=0|t[Ai>>2],rd=gi,cd=304}}while(0);if(304==(0|cd)){if(0==(0|rd))break;id=rd}if(t[ft>>2]=id,t[(ft+4|0)>>2]=0,Mi=0|t[(Fi=e+32|0)>>2],Di=0|t[(e+36|0)>>2],(0|Mi)==(0|Di)){if(c=0,C(125,0|(e+28|0),0|ft),Hi=c,c=0,1&Hi)break a}else Ci=0|t[(Ti=ft)>>2],Ii=0|t[(Ti+4|0)>>2],t[(Pi=Mi)>>2]=Ci,t[(Pi+4|0)>>2]=Ii,xi=0|t[Fi>>2],Li=xi+8|0,t[Fi>>2]=Li}}while(0);if(c=0,N(176,0|Jk),Bi=c,c=0,1&Bi){cd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+8|0)>>2],d=0|t[We>>2],(0|Nr)<(0|((u+1|0)-d|0))){if(E=0|t[(h=n+12|0)>>2],w=0|t[(m=n+4|0)>>2],v=(E+1|0)-w|0,O=0|t[(p=Ne+12|0)>>2],y=0|t[(A=Ne+4|0)>>2],c=0,R=0|L(120,0|v,0|((O+1|0)-y|0),20,2),g=c,c=0,1&g)break e;if(R&&(F=0|t[h>>2],M=0|t[m>>2],D=(F+1|0)-M|0,T=0|t[p>>2],x=0|t[A>>2],U=((0|D)<(0|(H=(T+1|0)-x|0))?H:D)<<1,z=0|t[(We+12|0)>>2],Y=0|t[(We+4|0)>>2],(0|U)<(0|((z+1|0)-Y|0)))){if(c=0,V=0|B(189,0|Cr,0),W=c,c=0,1&W)break e;if(j=0|t[V>>2],c=0,K=0|B(192,0|j,58),G=c,c=0,1&G)break e;Ir=K;break r}}if(c=0,Z=0|B(178,0|Cr,111),Q=c,c=0,1&Q)break e;if(!Z){Ir=0;break r}if($=0|t[n>>2],ee=0|t[Or>>2],re=(0|(ee+$|0))/2&-1,ae=0|t[Ne>>2],fe=0|t[Fr>>2],(0|re)<(0|(te=(0|(fe+ae|0))/2&-1))?(ne=n+28|0,se=0|t[(n+32|0)>>2],le=0|t[ne>>2],4==(0|(se-le|0))?(ue=Ne+28|0,ce=0|t[(Ne+32|0)>>2],be=0|t[ue>>2],(0|ce)==(0|be)||(Lr=30)):Lr=30):Lr=30,30==(0|Lr)){if(!((0|te)<(0|re))){Ir=0;break r}if(de=Ne+28|0,_e=0|t[(Ne+32|0)>>2],he=0|t[de>>2],!(4==(0|(_e-he|0)))){Ir=0;break r}if(Ee=n+28|0,me=0|t[(n+32|0)>>2],we=0|t[Ee>>2],!((0|me)==(0|we))){Ir=0;break r}}Ir=37;break r}}while(0);if(sr=0|t[(n+12|0)>>2],lr=0|t[(Ne+4|0)>>2],(0|sr)>(0|lr))a=0|t[(We+4|0)>>2],pr=a;else{if(ur=0|t[(Ne+12|0)>>2],cr=0|t[(We+4|0)>>2],!((0|ur)>(0|cr))){br=0|t[(Ne+8|0)>>2],dr=0|t[Ne>>2],Ir=(0|((br+1|0)-dr|0))<(0|((1-lr|0)+ur|0)<<1)?0:247;break}pr=cr}vr=0|t[(n+4|0)>>2],Ir=(0|vr)<(0|pr)?(0|lr)<(0|pr)?37:0:0}}while(0);if(c=0,pe=0|B(193,0|r,1),Oe=c,c=0,!(1&Oe)){if(pe)if(247==(0|Ir))xr=37;else{if(c=0,Ae=0|I(194,0|Ir),ye=c,c=0,1&ye)break;Pr=Ae,Lr=38}else Pr=Ir,Lr=38;if(38==(0|Lr)){if(0==(0|Pr))return Qr(Cr),void(o=Hr);xr=Pr}if(t[f>>2]=xr,t[(f+4|0)>>2]=0,Fe=0|t[(ge=e+32|0)>>2],Me=0|t[(e+36|0)>>2],(0|Fe)==(0|Me)){if(c=0,C(125,0|(e+28|0),0|f),He=c,c=0,1&He)break}else Te=0|t[(De=f)>>2],Ie=0|t[(De+4|0)>>2],t[(Pe=Fe)>>2]=Te,t[(Pe+4|0)>>2]=Ie,xe=0|t[ge>>2],Le=xe+8|0,t[ge>>2]=Le;return Qr(Cr),void(o=Hr)}}}while(0);Er=0|q(),wr=b,c=0,N(176,0|Cr),Sr=c,c=0,1&Sr?(Ue=0|J(0),b,ve(Ue)):(wr,ie(0|Er))}(e,r,i);default:return}}function Pr(e,r){r|=0;var i,a,f,n,o,s,l,u,c,b,k,d,_,h,E,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0;(_=(((0|t[(i=(e|=0)+4|0)>>2])-(a=0|t[e>>2])|0)>>3)+1|0)>>>0>536870911?(mf(e),S=0|t[e>>2]):S=a,(E=(0|t[(h=e+8|0)>>2])-S|0)>>3>>>0<268435455?(O=(p=E>>2)>>>0<_>>>0?_:p,y=((A=0|t[i>>2])-S|0)>>3,0==(0|O)?(w=0,R=0,g=y,F=A):(m=O,M=A,D=y,T=6)):(m=536870911,M=v=0|t[i>>2],D=(v-S|0)>>3,T=6),6==(0|T)&&(w=m,R=0|gf(m<<3),g=D,F=M),f=R+(g<<3)|0,n=R+(w<<3)|0,s=0|t[(o=r)>>2],l=0|t[(o+4|0)>>2],t[(u=f)>>2]=s,t[(u+4|0)>>2]=l,c=f+8|0,d=k=f+((0-((b=F-S|0)>>3)|0)<<3)|0,xf(0|k,0|S,0|b),t[e>>2]=d,t[i>>2]=c,t[h>>2]=n,0==(0|S)||vf(S)}function xr(e){var r,i,a,f,n,s,l,u,c,b,k,d,_,h,E,m,w,S,v,p,O,A,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0,I=0,P=0,x=0,L=0,H=0,B=0,U=0,z=0,Y=0,V=0,X=0,W=0,j=0,K=0,G=0,q=0,J=0,Z=0,Q=0,$=0,ee=0,re=0,ie=0,ae=0,fe=0,te=0,ne=0,oe=0,se=0,le=0,ue=0,ce=0,be=0,ke=0,de=0;if(o,d=r=0|t[((e|=0)+332|0)>>2],0==(0|r)||((0|(B=0|t[(x=e+336|0)>>2]))==(0|r)||(ne=B+((-1^((B+-4|0)-d|0)>>>2)<<2)|0,t[x>>2]=ne),vf(r)),c=f=0|t[(e+284|0)>>2],0==(0|f)||((0|(T=0|t[(D=e+288|0)>>2]))==(0|f)||(le=T+((-1^((T+-4|0)-c|0)>>>2)<<2)|0,t[D>>2]=le),vf(f)),k=b=0|t[(e+236|0)>>2],0==(0|b)||((0|(C=0|t[(N=e+240|0)>>2]))==(0|b)||(ue=C+((-1^((C+-4|0)-k|0)>>>2)<<2)|0,t[N>>2]=ue),vf(b)),h=_=0|t[(e+188|0)>>2],0==(0|_)||((0|(P=0|t[(I=e+192|0)>>2]))==(0|_)||(ce=P+((-1^((P+-4|0)-h|0)>>>2)<<2)|0,t[I>>2]=ce),vf(_)),m=E=0|t[(e+140|0)>>2],0==(0|E)||((0|(H=0|t[(L=e+144|0)>>2]))==(0|E)||(be=H+((-1^((H+-4|0)-m|0)>>>2)<<2)|0,t[L>>2]=be),vf(E)),S=w=0|t[(e+92|0)>>2],0==(0|w)||((0|(z=0|t[(U=e+96|0)>>2]))==(0|w)||(ke=z+((-1^((z+-4|0)-S|0)>>>2)<<2)|0,t[U>>2]=ke),vf(w)),!(0==(0|(p=0|t[(v=e+44|0)>>2])))){if((0|(V=0|t[(Y=e+48|0)>>2]))==(0|p))Z=p;else{for(W=V;X=W+-12|0,t[Y>>2]=X,K=j=0|t[X>>2],0==(0|j)?G=X:((0|(J=0|t[(q=W+-8|0)>>2]))==(0|j)||(oe=J+((-1^((J+-8|0)-K|0)>>>3)<<3)|0,t[q>>2]=oe),vf(j),G=0|t[Y>>2]),!((0|G)==(0|p));)W=G;Z=0|t[v>>2]}vf(Z)}if(!(0==(0|(A=0|t[(O=e+32|0)>>2])))){if((0|($=0|t[(Q=e+36|0)>>2]))==(0|A))g=A;else{for(re=$;ee=re+-12|0,t[Q>>2]=ee,ae=ie=0|t[ee>>2],0==(0|ie)?fe=ee:((0|(R=0|t[(y=re+-8|0)>>2]))==(0|ie)||(se=R+((-1^((R+-8|0)-ae|0)>>>3)<<3)|0,t[y>>2]=se),vf(ie),fe=0|t[Q>>2]),!((0|fe)==(0|A));)re=fe;g=0|t[O>>2]}vf(g)}a=i=0|t[(e+20|0)>>2],0==(0|i)||((0|(M=0|t[(F=e+24|0)>>2]))==(0|i)||(te=M+((-1^((M+-16|0)-a|0)>>>4)<<4)|0,t[F>>2]=te),vf(i)),s=n=0|t[(e+8|0)>>2],0==(0|n)||((0|(u=0|t[(l=e+12|0)>>2]))==(0|n)||(de=u+((-1^((u+-16|0)-s|0)>>>4)<<4)|0,t[l>>2]=de),vf(n))}function Lr(e){var r=0;switch(o,0|(e|=0)){case 197:case 196:case 195:case 194:case 193:case 192:r=65;break;case 199:r=67;break;case 203:case 202:case 201:case 200:r=69;break;case 286:r=71;break;case 304:case 207:case 206:case 205:case 204:r=73;break;case 209:r=78;break;case 214:case 213:case 212:case 211:case 210:r=79;break;case 352:case 350:r=83;break;case 220:case 219:case 218:case 217:r=85;break;case 376:case 221:r=89;break;case 381:r=90;break;case 229:case 228:case 227:case 226:case 225:case 224:r=97;break;case 231:r=99;break;case 235:case 234:case 233:case 232:r=101;break;case 287:r=103;break;case 305:case 239:case 238:case 237:case 236:r=105;break;case 241:r=110;break;case 246:case 245:case 244:case 243:case 242:r=111;break;case 353:case 351:r=115;break;case 252:case 251:case 250:case 249:r=117;break;case 255:case 253:r=121;break;case 382:r=122;break;default:r=0}return 0|r}function Hr(e){var r=0,i=0;(0|(e|=0))<128?0==(0|(0|cf(e)))?i=3:r=1:i=3;e:do{if(3==(0|i)){switch(0|e){case 382:case 255:case 253:case 252:case 251:case 250:case 249:case 353:case 351:case 246:case 245:case 244:case 243:case 242:case 241:case 305:case 239:case 238:case 237:case 236:case 287:case 235:case 234:case 233:case 232:case 231:case 229:case 228:case 227:case 226:case 225:case 224:case 381:case 376:case 221:case 220:case 219:case 218:case 217:case 352:case 350:case 214:case 213:case 212:case 211:case 210:case 209:case 304:case 207:case 206:case 205:case 204:case 286:case 203:case 202:case 201:case 200:case 199:case 197:case 196:case 195:case 194:case 193:case 192:r=1;break e}r=(e+-48|0)>>>0<10}}while(0);return 0|r}function Br(e){var r=0,i=0;(0|(e|=0))<128?0==(0|(0|cf(e)))?i=3:r=1:i=3;e:do{if(3==(0|i)){switch(0|e){case 382:case 255:case 253:case 252:case 251:case 250:case 249:case 353:case 351:case 246:case 245:case 244:case 243:case 242:case 241:case 305:case 239:case 238:case 237:case 236:case 287:case 235:case 234:case 233:case 232:case 231:case 229:case 228:case 227:case 226:case 225:case 224:case 381:case 376:case 221:case 220:case 219:case 218:case 217:case 352:case 350:case 214:case 213:case 212:case 211:case 210:case 209:case 304:case 207:case 206:case 205:case 204:case 286:case 203:case 202:case 201:case 200:case 199:case 197:case 196:case 195:case 194:case 193:case 192:r=1;break e}r=0}}while(0);return 0|r}function Ur(e){var r,i=0,a=0;if(o,(0|(e|=0))<128&&!(0==(0|(0|La(e)))))return 0|1;switch(0|e){case 197:case 196:case 195:case 194:case 193:case 192:i=65,a=25;break;case 199:i=67,a=25;break;case 203:case 202:case 201:case 200:i=69,a=25;break;case 286:i=71,a=25;break;case 304:case 207:case 206:case 205:case 204:i=73,a=25;break;case 209:i=78,a=25;break;case 214:case 213:case 212:case 211:case 210:i=79,a=25;break;case 352:case 350:i=83,a=25;break;case 220:case 219:case 218:case 217:i=85,a=25;break;case 376:case 221:i=89,a=25;break;case 381:i=90,a=25;break;case 229:case 228:case 227:case 226:case 225:case 224:i=97,a=25;break;case 231:i=99,a=25;break;case 235:case 234:case 233:case 232:i=101,a=25;break;case 287:i=103,a=25;break;case 305:case 239:case 238:case 237:case 236:i=105,a=25;break;case 241:i=110,a=25;break;case 246:case 245:case 244:case 243:case 242:i=111,a=25;break;case 353:case 351:i=115,a=25;break;case 252:case 251:case 250:case 249:i=117,a=25;break;case 255:case 253:i=121,a=25;break;case 382:i=122,a=25;break;default:if((e+-48|0)>>>0<10)return 0|1}return 25==(0|a)&&(e+-48|0)>>>0<10|0!=(0|(0|La(i)))?0|1:(r=e+-98|0)>>>0<27?0|0!=(0|134217727&(1&75810805>>>(134217727&r))):0|0}function zr(e){var r=0,i=0,a=0;(0|(e|=0))<128?0==(0|(0|La(e)))?a=3:r=1:a=3;e:do{if(3==(0|a)){switch(0|e){case 197:case 196:case 195:case 194:case 193:case 192:i=65;break;case 199:i=67;break;case 203:case 202:case 201:case 200:i=69;break;case 286:i=71;break;case 304:case 207:case 206:case 205:case 204:i=73;break;case 209:i=78;break;case 214:case 213:case 212:case 211:case 210:i=79;break;case 352:case 350:i=83;break;case 220:case 219:case 218:case 217:i=85;break;case 376:case 221:i=89;break;case 381:i=90;break;case 229:case 228:case 227:case 226:case 225:case 224:i=97;break;case 231:i=99;break;case 235:case 234:case 233:case 232:i=101;break;case 287:i=103;break;case 305:case 239:case 238:case 237:case 236:i=105;break;case 241:i=110;break;case 246:case 245:case 244:case 243:case 242:i=111;break;case 353:case 351:i=115;break;case 252:case 251:case 250:case 249:i=117;break;case 255:case 253:i=121;break;case 382:i=122;break;default:r=0;break e}r=0!=(0|(0|La(i)))}}while(0);return 0|r}function Yr(e){var r=0,i=0,a=0;(0|(e|=0))<128?0==(0|(0|Ya(e)))?a=3:r=1:a=3;e:do{if(3==(0|a)){switch(0|e){case 197:case 196:case 195:case 194:case 193:case 192:i=65;break;case 199:i=67;break;case 203:case 202:case 201:case 200:i=69;break;case 286:i=71;break;case 304:case 207:case 206:case 205:case 204:i=73;break;case 209:i=78;break;case 214:case 213:case 212:case 211:case 210:i=79;break;case 352:case 350:i=83;break;case 220:case 219:case 218:case 217:i=85;break;case 376:case 221:i=89;break;case 381:i=90;break;case 229:case 228:case 227:case 226:case 225:case 224:i=97;break;case 231:i=99;break;case 235:case 234:case 233:case 232:i=101;break;case 287:i=103;break;case 305:case 239:case 238:case 237:case 236:i=105;break;case 241:i=110;break;case 246:case 245:case 244:case 243:case 242:i=111;break;case 353:case 351:i=115;break;case 252:case 251:case 250:case 249:i=117;break;case 255:case 253:i=121;break;case 382:i=122;break;default:r=0;break e}r=0!=(0|(0|Ya(i)))}}while(0);return 0|r}function Vr(e){var r=0;if(o,!((0|(e|=0))>127)&&!(0==(0|(0|Ya(e))))&&(r=e+-99|0)>>>0<24&&!(0==(0|16777215&(1&12390401>>>(16777215&r)))))return 0|1;switch(0|e){case 382:case 353:case 351:case 252:case 251:case 250:case 249:case 246:case 245:case 244:case 243:case 242:case 239:case 238:case 237:case 236:case 231:case 112:case 107:return 0|1}return 0|0}function Xr(e){var r;return o,(0|(e|=0))>127?0:0==(0|(0|Ya(e)))?0:(r=e+-99|0)>>>0<24?0|0!=(0|16777215&(1&12390401>>>(16777215&r))):0}function Wr(e){var r;return o,(0|(e|=0))>127?0:0==(0|(0|Ya(e)))?0:(r=e+-97|0)>>>0<26?0|0!=(0|67108863&(1&49704981>>>(67108863&r))):0}function jr(e){return o,(0|(e|=0))<128&&!(0==(0|(0|Xa(e))))?0|1:0|160==(0|e)}function Kr(e){var r,i,a=0;r=(0|(e|=0))>127;e:do{if(r)switch(0|e){case 197:case 196:case 195:case 194:case 193:case 192:a=65;break e;case 199:a=67;break e;case 203:case 202:case 201:case 200:a=69;break e;case 286:a=71;break e;case 304:case 207:case 206:case 205:case 204:a=73;break e;case 209:a=78;break e;case 214:case 213:case 212:case 211:case 210:a=79;break e;case 352:case 350:a=83;break e;case 220:case 219:case 218:case 217:a=85;break e;case 376:case 221:a=89;break e;case 381:a=90;break e;case 229:case 228:case 227:case 226:case 225:case 224:a=97;break e;case 231:a=99;break e;case 235:case 234:case 233:case 232:a=101;break e;case 287:a=103;break e;case 305:case 239:case 238:case 237:case 236:a=105;break e;case 241:a=110;break e;case 246:case 245:case 244:case 243:case 242:a=111;break e;case 353:case 351:a=115;break e;case 252:case 251:case 250:case 249:a=117;break e;case 255:case 253:a=121;break e;case 382:a=122;break e;default:return 0|0}else{if(0==(0|e))return 0|0;a=e}}while(0);return 0==(0|(0|cf(a)))?0|0:0|(117==(0|(i=0|function(e){var r=0;return o,r=0|La(e|=0),0|(0==(0|r)?e:32|e)}(a)))|(111==(0|i)|(105==(0|i)|101==(0|(4|i)))))}function Gr(e){var r,i=0;r=(0|(e|=0))<0;e:do{if(r)i=0;else{if((0|e)<256){i=255&e;break}switch(0|e){case 286:i=-48;break e;case 287:i=-16;break e;case 304:i=-35;break e;case 305:i=-3;break e;case 350:i=-34;break e;case 351:i=-2;break e;case 352:i=-90;break e;case 353:i=-88;break e;case 376:i=-66;break e;case 381:i=-76;break e;case 382:i=-72;break e;case 8364:i=-92;break e;default:i=0;break e}}}while(0);return 0|i}function qr(e){var r,i=0,f=0,t=0,n=0,s=0,l=0,u=0,c=0,b=0,k=0,d=0,_=0;if(o,(0|(e|=0))<0)return a[7361]=0,7361;if((0|e)<128)return s=255&e,a[7361]=s,a[7362]=0,7361;for((0|e)<2048?(b=2,_=192):(0|e)<65536?(b=3,_=224):(0|e)<2097152?(b=4,_=240):(b=(l=(0|e)<67108864)?5:6,_=l?248:252),a[(7361+b|0)>>0]=0,u=e,c=0,d=b;;){if(f=255&(128|63&u),a[(7361+(k=d+-1|0)|0)>>0]=f,n=e>>(t=c+6|0),!((0|k)>1)){i=n;break}u=n,c=t,d=k}return r=255&(i|_),a[7361]=r,7361}function Jr(e){var r,i=0;r=(0|(e|=0))<128;e:do{if(r)i=0|za(e);else switch(0|e){case 224:i=192;break e;case 225:i=193;break e;case 226:i=194;break e;case 227:i=195;break e;case 228:i=196;break e;case 229:i=197;break e;case 231:i=199;break e;case 232:i=200;break e;case 233:i=201;break e;case 234:i=202;break e;case 235:i=203;break e;case 287:i=286;break e;case 236:i=204;break e;case 237:i=205;break e;case 238:i=206;break e;case 239:i=207;break e;case 241:i=209;break e;case 242:i=210;break e;case 243:i=211;break e;case 244:i=212;break e;case 245:i=213;break e;case 246:i=214;break e;case 351:i=350;break e;case 353:i=352;break e;case 249:i=217;break e;case 250:i=218;break e;case 251:i=219;break e;case 252:i=220;break e;case 253:i=221;break e;case 255:i=376;break e;case 382:i=381;break e;default:i=e;break e}}while(0);return 0|i}function Zr(e,r){r|=0;var i,a,f,n,s,l,u,k,d=0,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,P=0,x=0,L=0,H=0,B=0,U=0;if(o,t[(e|=0)>>2]=0|t[r>>2],t[e+4>>2]=0|t[r+4>>2],t[e+8>>2]=0|t[r+8>>2],t[e+12>>2]=0|t[r+12>>2],er(i=e+16|0,a=r+16|0),c=0,C(173,0|(f=e+28|0),0|(r+28|0)),n=c,c=0,1&n)w=0|q(),b,h=w,m=i;else{if((0|(0|t[(x=e+20|0)>>2]))==(0|(0|t[i>>2])))return;for(L=0;;){if(c=0,S=0|I(29,40),v=c,c=0,1&v){U=9;break}if(p=0|t[a>>2],O=0|t[(p+(L<<2)|0)>>2],c=0,C(159,0|S,0|O),A=c,c=0,1&A){E=S,U=10;break}if(y=0|t[i>>2],t[(y+(L<<2)|0)>>2]=S,!((R=L+1|0)>>>0<((0|t[x>>2])-(0|t[i>>2])|0)>>2>>>0)){U=4;break}L=R}if(4==(0|U))return;9==(0|U)?(g=0|q(),d=b,_=g):10==(0|U)&&(F=0|q(),M=b,vf(E),d=M,_=F),T=D=0|t[f>>2],0==(0|D)?(d,h=_,m=i):((0|(P=0|t[(N=e+32|0)>>2]))==(0|D)||(B=P+((-1^((P+-8|0)-T|0)>>>3)<<3)|0,t[N>>2]=B),vf(D),d,h=_,m=i)}l=s=0|t[m>>2],0==(0|s)&&ie(0|h),(0|(k=0|t[(u=e+20|0)>>2]))==(0|s)||(H=k+((-1^((k+-4|0)-l|0)>>>2)<<2)|0,t[u>>2]=H),vf(s),ie(0|h)}function Qr(e){var r,i,a,f,n,o,s,l,u,k,d=0,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,C=0,I=0,P=0,x=0,L=0,H=0,B=0,U=0,z=0,Y=0,V=0,X=0,W=0;r=(e|=0)+16|0,n=(0|(a=0|t[(i=e+20|0)>>2]))==(0|(f=0|t[r>>2])),l=f;e:do{if(n)x=l;else{for(w=l,L=l,H=f,B=a,z=0;;){if(0==(0|(S=0|t[(w+(z<<2)|0)>>2])))O=H,A=B,U=L;else{if(c=0,N(72,0|S),v=c,c=0,1&v){d=S;break}vf(S),_=0|t[i>>2],O=h=0|t[r>>2],A=_,U=h}if(y=O,!((p=z+1|0)>>>0<(A-O|0)>>2>>>0)){x=U;break e}w=y,L=U,H=O,B=A,z=p}R=0|q(),b,vf(d),F=g=0|t[(e+28|0)>>2],0==(0|g)||((0|(D=0|t[(M=e+32|0)>>2]))==(0|g)||(V=D+((-1^((D+-8|0)-F|0)>>>3)<<3)|0,t[M>>2]=V),vf(g)),I=C=0|t[r>>2],0==(0|C)&&ie(0|R),(0|(P=0|t[i>>2]))==(0|C)||(Y=P+((-1^((P+-4|0)-I|0)>>>2)<<2)|0,t[i>>2]=Y),vf(C),ie(0|R)}}while(0);k=u=0|t[(e+28|0)>>2],0==(0|u)?T=x:((0|(m=0|t[(E=e+32|0)>>2]))==(0|u)||(X=m+((-1^((m+-8|0)-k|0)>>>3)<<3)|0,t[E>>2]=X),vf(u),T=0|t[r>>2]),o=T,0==(0|T)||((0|(s=0|t[i>>2]))==(0|T)||(W=s+((-1^((s+-4|0)-o|0)>>>2)<<2)|0,t[i>>2]=W),vf(T))}function $r(e,r){e|=0;var i,a=0,f=0;return o,!((0|(r|=0))<0)&&(a=e+16|0,(0|((0|t[(e+20|0)>>2])-(f=0|t[a>>2])|0)>>2)>(0|r))?0|(0|t[(f+(r<<2)|0)>>2]):(Oa(2449),i=0|t[(e+16|0)>>2],0|(0|t[(i+(r<<2)|0)>>2]))}function ei(e){var r,i,a,f,n,s,l=0,u=0,c=0,b=0,d=0,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0;if(o,i=(e|=0)+16|0,a=0|t[(e+20|0)>>2],r=f=0|t[i>>2],!((0|(n=a-f|0))>4))return 0|(0|t[(r+((p=0)<<2)|0)>>2]);for(s=n>>2,v=1,O=0;;){if(l=0|t[(r+(v<<2)|0)>>2],u=((0|t[(l+12|0)>>2])+1|0)-(0|t[(l+4|0)>>2])|0,c=0|t[(l+8|0)>>2],b=0|t[l>>2],d=0|k((c+1|0)-b|0,u),_=0|t[(r+(O<<2)|0)>>2],h=((0|t[(_+12|0)>>2])+1|0)-(0|t[(_+4|0)>>2])|0,E=0|t[(_+8|0)>>2],m=0|t[_>>2],S=(0|d)>(0|(0|k((E+1|0)-m|0,h)))?v:O,!((0|(w=v+1|0))<(0|s))){p=S;break}v=w,O=S}return 0|(0|t[(r+(p<<2)|0)>>2])}function ri(e,r,i){r|=0,i|=0;var a,f,n,s,l,u,k,d,_,h,E,m,w,S,v,p,O,A,y,R,g,F,M,D,T,N=0,C=0,P=0,x=0,L=0,H=0,B=0,U=0,z=0,Y=0,V=0,X=0,W=0,j=0,K=0,G=0,J=0,Z=0,Q=0,$=0,ee=0,re=0,ae=0,fe=0,te=0,ne=0,oe=0,se=0,le=0,ue=0,ce=0,be=0,ke=0,de=0,_e=0,he=0,Ee=0,me=0,we=0,Se=0,ve=0,pe=0,Oe=0;if(o,f=a=0|t[(e|=0)>>2],k=a+(((0|t[r>>2])-f|0)>>2<<2)|0,n=w=0|t[(_=e+4|0)>>2],s=y=0|t[(S=e+8|0)>>2],w>>>0<y>>>0){if((0|k)==(0|w))return V=0|t[i>>2],t[k>>2]=V,X=(0|t[_>>2])+4|0,t[_>>2]=X,0|k;if((K=k+((j=(W=n-(k+4|0)|0)>>2)<<2)|0)>>>0<w>>>0)for(P=w,we=K;G=0|t[we>>2],t[P>>2]=G,J=we+4|0,Z=(0|t[_>>2])+4|0,t[_>>2]=Z,J>>>0<w>>>0;)P=Z,we=J;return Lf(0|(w+((0-j|0)<<2)|0),0|k,0|W),pe=k>>>0>i>>>0?i:(0|t[_>>2])>>>0>i>>>0?i+4|0:i,Q=0|t[pe>>2],t[k>>2]=Q,0|k}(l=((n-f|0)>>2)+1|0)>>>0>1073741823?(mf(e),x=0|t[S>>2],L=S,U=H=0|t[e>>2],$=H,ee=x):(L=S,U=a,$=f,ee=s),(u=ee-$|0)>>2>>>0<536870911?(ne=((te=k)-$|0)>>2,0==(0|(fe=(ae=u>>1)>>>0<l>>>0?l:ae))?(C=0,oe=0,se=ne,me=te):(N=fe,z=ne,Y=te,Oe=15)):(N=1073741823,z=((re=k)-$|0)>>2,Y=re,Oe=15),15==(0|Oe)&&(C=N,oe=0|gf(N<<2),se=z,me=Y),h=d=oe+(se<<2)|0,E=oe+(C<<2)|0,m=(0|se)==(0|C);do{if(m){if((0|se)>0){he=le=d+(((0|(se+1|0))/-2&-1)<<2)|0,Ee=U,Se=le,ve=E;break}if(c=0,ce=0|I(29,0|(ue=0==(0|se)?1:se<<1)<<2),be=c,c=0,!(1&be)){if(de=ke=ce+(ue>>>2<<2)|0,_e=ce+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=xe,Ue=Ce;break}if(c=0,h=0|I(29,0|(Le=0==(0|Te)?1:Te<<1)<<3),E=c,c=0,!(1&E)){if(w=m=h+(Le>>>2<<3)|0,S=h+(Le<<3)|0,0==(0|De)){y=m,D=V,Be=w,Ue=S;break}vf(De),k=0|t[e>>2],y=m,D=k,Be=w,Ue=S;break}z=0|q(),b,0==(0|De)&&ie(0|z),vf(De),ie(0|z)}else y=Me,D=V,Be=Ne,Ue=Ce}while(0);if(O=0|t[(v=i)>>2],A=0|t[(v+4|0)>>2],t[(R=y)>>2]=O,t[(R+4|0)>>2]=A,M=(F=Be)+8|0,P=C=F+((0-((T=N-D|0)>>3)|0)<<3)|0,xf(0|C,0|D,0|T),x=0|t[he>>2],H=(L=x-N|0)>>3,xf(0|M,0|ce,0|L),B=M+(H<<3)|0,U=0|t[e>>2],t[e>>2]=P,t[he>>2]=B,t[l>>2]=Ue,0==(0|U))return 0|F;vf(U)}(n,f,u),o=d}function ai(e,r,i){e|=0,i|=0;var a,f,n,o=0,s=0,l=0,u=0,c=0;(0|(r|=0))<0?c=3:(o=e+28|0,(0|(u=((0|t[(e+32|0)>>2])-(l=0|t[o>>2])|0)>>3))>(0|i)&((0|i)>-1&(0|u)>(0|r))?s=l:c=3),3==(0|c)&&(Oa(2509),s=0|t[(e+28|0)>>2]),a=0|t[(n=s+(r<<3)|0)>>2],f=0|t[(s+(i<<3)|0)>>2],t[n>>2]=f,t[(s+(i<<3)|0)>>2]=a}function fi(e,r){e|=0;var i=0,a=0;return o,!((0|(r|=0))<0)&&(i=e+28|0,(0|((0|t[(e+32|0)>>2])-(a=0|t[i>>2])|0)>>3)>(0|r))?0|(a+(r<<3)|0):(Oa(2543),0|((0|t[(e+28|0)>>2])+(r<<3)|0))}function ti(e,r){r|=0;var i,a,f,n,s,l,u=0,c=0,b=0,k=0;if(o,i=(e|=0)+28|0,a=0|t[(e+32|0)>>2],s=f=0|t[i>>2],!((0|(n=a-f|0))>0))return 0|(u=0);for(l=n>>3,b=0;;){if(c=b+1|0,(0|(0|t[(s+(b<<3)|0)>>2]))==(0|r)){u=1,k=5;break}if(!((0|c)<(0|l))){u=0,k=5;break}b=c}return 5==(0|k)?0|u:0}function ni(e,r){e|=0,r|=0;var i,a,f,n,l,u,c,b,k,d,h,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0,I=0,P=0,x=0,L=0,H=0,B=0,U=0,z=0,Y=0,V=0,X=0,W=0,j=0;if(h=o,(0|(o=o+16|0))>=(0|s)&&_(),i=h+8|0,f=h+4|0,n=h,u=r+16|0,b=0|t[(c=r+20|0)>>2],a=k=0|t[u>>2],(0|(b-k|0))>0)for(z=e+16|0,Y=e+20|0,w=a,X=0;;){p=0|t[(w+(X<<2)|0)>>2],t[f>>2]=p,Be(e,p),y=(A=(0|t[Y>>2])-(O=0|t[z>>2])|0)>>2,R=(0|A)>0,g=O;e:do{if(R)for(F=0|t[(p+4|0)>>2],M=(0|((0|t[(p+12|0)>>2])+F|0))/2&-1,D=p+8|0,j=y;;){if(T=0|t[(g+((W=j+-1|0)<<2)|0)>>2],N=0|t[(T+4|0)>>2],(0|M)>(0|(C=(0|((0|t[(T+12|0)>>2])+N|0))/2&-1))){V=j;break e}if((0|M)==(0|C)&&(I=0|t[p>>2],P=(0|((0|t[D>>2])+I|0))/2&-1,x=0|t[T>>2],!((0|P)<(0|(0|((0|t[(T+8|0)>>2])+x|0))/2&-1)))){V=j;break e}if(!((0|j)>1)){V=W;break}j=W}else V=y}while(0);if(L=g+(V<<2)|0,t[n>>2]=L,t[i>>2]=0|t[n>>2],ri(z,i,f),H=X+1|0,B=0|t[c>>2],E=U=0|t[u>>2],!((0|H)<(0|(B-U|0)>>2))){m=E,S=B,v=U;break}w=E,X=H}else m=a,S=b,v=k;(0|(l=S))==(0|m)?o=h:(d=l+((-1^((l+-4|0)-v|0)>>>2)<<2)|0,t[c>>2]=d,o=h)}function oi(e){var r,i,a=0;return o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,(Le+1|0)-He|0)))&-1,t[se>>2]=z,t[(se+4|0)>>2]=X,t[(se+8|0)>>2]=W,t[(se+12|0)>>2]=j,t[(se+16|0)>>2]=u,nf(H,2723,se),E=((h=(0|t[G>>2])-(d=0|t[K>>2])|0)+-1|0)>>>0<15;do{if(E){if(ze=(h>>2)+-1|0,(0|h)<4?(Oa(2417),Ye=0|t[(e+16|0)>>2]):Ye=d,_a(ee,0|t[(Ye+(ze<<2)|0)>>2]),Ve=0|t[Pe>>2],c=0,Xe=0|I(174,0|ee),We=c,c=0,!(1&We||(c=0,je=0|I(175,0|ee),Ke=c,c=0,1&Ke))){t[le>>2]=Xe,t[(le+4|0)>>2]=je,nf(Ve,2795,le),xr(ee);break}qe=0|q(),b,c=0,N(126,0|ee),Je=c,c=0,1&Je?(bi=0|J(0),b,ve(bi)):ie(0|qe)}}while(0);of(10,0|t[Pe>>2]),w=0|t[D>>2],g=(0|(p=(0|(v=0|t[(S=i+4|0)>>2]))<(0|w)?v:w))>(0|(R=(0|(O=0|t[x>>2]))<(0|(y=0|t[(A=i+12|0)>>2]))?y:O));e:do{if(!g)for($e=w,rr=O,tr=v,nr=y,ia=p;;){Qe=(0|ia)==(0|$e),ir=(0|ia)==(0|(0|(rr+$e|0))/2&-1),ar=(0|ia)==(0|rr),fr=(0|ia)==(0|tr),or=(0|ia)==(0|(0|(nr+tr|0))/2&-1),sr=(0|ia)==(0|nr),4==(0|((0|t[G>>2])-(lr=0|t[K>>2])|0))?(br=(ur=0|t[lr>>2])+28|0,(0|(0|t[(kr=ur+32|0)>>2]))==(0|(0|t[br>>2]))?(Qi=0,$i=0,ea=0,ra=0):(_r=0|gr(ur,0),hr=(0|ia)==(0|(0|t[(_r+4|0)>>2])),Er=0|gr(ur,0),mr=(0|ia)==(0|(0|t[(Er+12|0)>>2])),(0|((0|t[kr>>2])-(0|t[br>>2])|0))>4?(Sr=0|gr(ur,1),vr=(0|ia)==(0|(0|t[(Sr+4|0)>>2])),pr=0|gr(ur,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,ke)),ar&&(ai=0|t[Pe>>2],t[_e>>2]=rr,nf(ai,2850,_e)),fr&&(fi=0|t[Pe>>2],t[he>>2]=tr,nf(fi,2863,he)),or&&(ti=0|t[Pe>>2],t[Ee>>2]=ia,nf(ti,2877,Ee)),sr&&(ni=0|t[Pe>>2],t[me>>2]=nr,nf(ni,2895,me)),$i&&(oi=0|t[Pe>>2],t[we>>2]=ia,nf(oi,2912,we)),Qi&&(si=0|t[Pe>>2],t[Se>>2]=ia,nf(si,2925,Se)),ra&&(li=0|t[Pe>>2],t[pe>>2]=ia,nf(li,2941,pe)),ea&&(ui=0|t[Pe>>2],t[Oe>>2]=ia,nf(ui,2954,Oe)),of(10,0|t[Pe>>2]),!((0|ia)<(0|R)))break e;ci=ia+1|0,$e=0|t[D>>2],rr=0|t[x>>2],tr=0|t[S>>2],nr=0|t[A>>2],ia=ci}}while(0);sf(2819,2,1,0|t[Pe>>2]),o=ye}else o=ye}function ui(e,r){e|=0,r|=0;var i,f,n,l,u,c,b,k,d,h,E,m,w,S,v,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0,I=0,P=0,x=0;if(v=o,(0|(o=o+48|0))>=(0|s)&&_(),S=v+32|0,w=v+24|0,m=v,f=0|t[(i=r+20|0)>>2],b=0|t[e>>2],h=0|t[(e+4|0)>>2],E=(1-b|0)+(0|t[(e+8|0)>>2])|0,n=(1-h|0)+(0|t[(e+12|0)>>2])|0,l=e+28|0,c=((0|t[(u=e+32|0)>>2])-(0|t[l>>2])|0)>>3,t[m>>2]=b,t[(m+4|0)>>2]=h,t[(m+8|0)>>2]=E,t[(m+12|0)>>2]=n,t[(m+16|0)>>2]=c,nf(f,2970,m),!((0|((0|t[u>>2])-(k=0|t[l>>2])|0))>0))return of(10,0|t[i>>2]),void(o=v);for(d=r+29|0,p=k,x=0;O=p,(0|a[d>>0])<<24>>24==0?(y=(A=0|Gr(0|t[(O+(x<<3)|0)>>2]))<<24>>24!=0,R=0|t[i>>2],g=y?255&A:95,F=0|t[l>>2],M=0|t[(4+(F+(x<<3)|0)|0)>>2],t[w>>2]=g,t[(w+4|0)>>2]=M,nf(R,2990,w)):(D=0|t[i>>2],T=0|qr(0|t[(O+(x<<3)|0)>>2]),N=0|t[l>>2],C=0|t[(4+(N+(x<<3)|0)|0)>>2],t[S>>2]=T,t[(S+4|0)>>2]=C,nf(D,2999,S)),(0|(I=x+1|0))<(0|((0|t[u>>2])-(P=0|t[l>>2])|0)>>3);)p=P,x=I;of(10,0|t[i>>2]),o=v}function ci(e,r){r|=0;var i,a,f,n,s=0,l=0,u=0,c=0,b=0,k=0,d=0,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0,I=0,P=0,x=0,L=0,H=0,B=0,U=0,z=0,Y=0,V=0,X=0,W=0,j=0,K=0,G=0,q=0,J=0,Z=0,Q=0,$=0,ee=0,re=0,ie=0,ae=0,fe=0,te=0,ne=0,oe=0,se=0,le=0,ue=0,ce=0,be=0,ke=0,de=0,_e=0,he=0,Ee=0,me=0,we=0,Se=0,ve=0,pe=0,Oe=0,Ae=0,ye=0,Re=0,ge=0,Fe=0,Me=0,De=0,Te=0,Ne=0;if(o,i=(e|=0)+28|0,!((0|(0|t[(a=e+32|0)>>2]))==(0|(f=0|t[i>>2])))){switch(n=0|t[f>>2],0|r){case 1:Re=1,Ne=4;break;case 0:Re=0,Ne=4;break;case 3:ge=1,Ne=22;break;case 2:ge=0,Ne=22;break;case 6:Fe=0,Ne=38;break;case 7:case 8:Fe=1,Ne=38;break;default:return}if(4==(0|Ne)){if(0|Br(n))return;if(0|jr(n))return;p=(0|((0|t[a>>2])-(k=0|t[i>>2])|0))>8,F=k;e:do{if(p){for(L=F,we=1;;){if(0|Br(0|t[(L+(we<<3)|0)>>2])){Se=we;break}if(j=we+1|0,K=0|t[a>>2],q=G=0|t[i>>2],!((0|j)<(0|(K-G|0)>>3))){J=q;break e}L=q,we=j}(0|(z=(0|t[a>>2])-(U=0|t[i>>2])|0)>>3)>(0|Se)&((0|Se)>-1&(0|z)>0)?V=U:(Oa(2509),V=0|t[(e+28|0)>>2]),Y=0|t[V>>2],W=0|t[(X=V+(Se<<3)|0)>>2],t[V>>2]=W,t[X>>2]=Y,J=V}else J=F}while(0);if(43==(0|(0|t[J>>2]))&&(0|(((0|t[(e+12|0)>>2])+1|0)-(0|t[(e+4|0)>>2])|0)<<1)>(0|(3*(((0|t[(e+8|0)>>2])+1|0)-(0|t[e>>2])|0)|0)))return void(t[J>>2]=116);if(0|Br(0|t[J>>2])||(Z=0|t[i>>2],Q=0|function(e){var r=0;switch(0|(e|=0)){case 48:r=79;break;case 49:r=108;break;case 50:r=90;break;case 52:r=113;break;case 53:r=83;break;case 54:r=243;break;case 55:r=73;break;case 56:r=66;break;case 57:r=103;break;default:r=e}return 0|r}(0|t[Z>>2]),$=0|t[i>>2],t[$>>2]=Q),!Re)return;if(ee=0|t[i>>2],0|Br(0|t[ee>>2]))return;if(re=0|t[(e+28|0)>>2],(0|(ie=0|t[a>>2]))==(0|re))return;return De=ie+((-1^((ie+-8|0)-re|0)>>>3)<<3)|0,void(t[a>>2]=De)}if(22==(0|Ne)){if((n+-48|0)>>>0<10)return;if(0|jr(n))return;te=(0|(fe=(0|t[a>>2])-(ae=0|t[i>>2])|0))>8,ne=ae;e:do{if(te){for(oe=fe>>3,ve=1;;){if(((se=0|t[(ne+(ve<<3)|0)>>2])+-48|0)>>>0<10){s=se,pe=ve;break}if(!((0|(be=ve+1|0))<(0|oe))){de=ne;break e}ve=be}(0|pe)>-1&(0|fe)>0?(b=ne,ce=s):(Oa(2509),b=c=0|t[(e+28|0)>>2],ce=0|t[(c+(pe<<3)|0)>>2]),le=0|t[b>>2],ue=b+(pe<<3)|0,t[b>>2]=ce,t[ue>>2]=le,de=b}else de=ne}while(0);if(((ke=0|t[de>>2])+-48|0)>>>0<10?Ee=de:(_e=0|function(e){var r=0;switch(0|(e|=0)){case 111:case 81:case 79:case 68:r=48;break;case 305:case 124:case 108:case 76:case 73:r=49;break;case 122:case 90:r=50;break;case 113:case 65:r=52;break;case 115:case 83:r=53;break;case 243:case 98:case 71:r=54;break;case 84:case 74:r=55;break;case 66:case 38:r=56;break;case 103:r=57;break;default:r=e}return 0|r}(ke),he=0|t[i>>2],t[he>>2]=_e,Ee=he),!ge)return;if(((0|t[Ee>>2])+-48|0)>>>0<10)return;if((0|(me=0|t[a>>2]))==(0|Ee))return;return Te=me+((-1^((me+-8|0)-Ee|0)>>>3)<<3)|0,void(t[a>>2]=Te)}if(38==(0|Ne)){if((n+-48|0)>>>0<10|(0|zr(n)))return;if(0|jr(n))return;_=(0|((0|t[a>>2])-(d=0|t[i>>2])|0))>8,h=d;e:do{if(_){for(E=h,Oe=1;;){if(0|zr(0|t[(E+(Oe<<3)|0)>>2])){Ae=Oe,Ne=42;break}if(w=m=0|t[i>>2],((0|t[(m+(Oe<<3)|0)>>2])+-48|0)>>>0<10){v=w,H=m,ye=Oe;break}if(!((0|(g=Oe+1|0))<(0|((0|t[a>>2])-w|0)>>3))){M=m;break e}E=m,Oe=g}42==(0|Ne)&&(v=l=0|t[i>>2],H=l,ye=Ae),(0|(S=(0|t[a>>2])-v|0)>>3)>(0|ye)&((0|ye)>-1&(0|S)>0)?(A=v,B=H):(Oa(2509),A=u=0|t[(e+28|0)>>2],B=u),O=0|t[A>>2],R=0|t[(y=A+(ye<<3)|0)>>2],t[A>>2]=R,t[y>>2]=O,M=B}else M=h}while(0);if(0|zr(0|t[M>>2])||(D=0|t[i>>2],((T=0|t[D>>2])+-48|0)>>>0<10||(N=0|function(e){e|=0;var r=0,i=0,a=0;e:do{switch(0|e){case 91:case 40:r=67;break;case 124:case 108:r=73;break;case 176:r=79;break;case 181:r=85;break;case 305:case 185:r=49;break;case 178:r=50;break;case 179:r=51;break;case 113:r=52;break;case 243:case 98:r=54;break;case 38:r=56;break;case 186:case 103:r=57;break;default:if((0|e)>127?a=16:0==(0|Ya(e))?a=16:(i=e+-99|0)>>>0<24?0==(0|1&12390401>>>(16777215&i))&&(a=16):a=16,16==(0|a)){switch(0|e){case 382:case 353:case 351:case 252:case 251:case 250:case 249:case 246:case 245:case 244:case 243:case 242:case 239:case 238:case 237:case 236:case 231:case 112:case 107:break;default:r=e;break e}if(!((0|e)<128))switch(0|e){case 224:r=192;break e;case 225:r=193;break e;case 226:r=194;break e;case 227:r=195;break e;case 228:r=196;break e;case 229:r=197;break e;case 231:r=199;break e;case 232:r=200;break e;case 233:r=201;break e;case 234:r=202;break e;case 235:r=203;break e;case 287:r=286;break e;case 236:r=204;break e;case 237:r=205;break e;case 238:r=206;break e;case 239:r=207;break e;case 241:r=209;break e;case 242:r=210;break e;case 243:r=211;break e;case 244:r=212;break e;case 245:r=213;break e;case 246:r=214;break e;case 351:r=350;break e;case 353:r=352;break e;case 249:r=217;break e;case 250:r=218;break e;case 251:r=219;break e;case 252:r=220;break e;case 253:r=221;break e;case 255:r=376;break e;case 382:r=381;break e;default:r=e;break e}}r=0|za(e)}}while(0);return 0|r}(T),C=0|t[i>>2],t[C>>2]=N)),!Fe)return;if(I=0|t[i>>2],0|zr(0|t[I>>2]))return;if(P=0|t[i>>2],((0|t[P>>2])+-48|0)>>>0<10)return;if((0|(x=0|t[a>>2]))==(0|P))return;return Me=x+((-1^((x+-8|0)-P|0)>>>3)<<3)|0,void(t[a>>2]=Me)}}}function bi(e,r){r|=0;var i,a,f,n,s,l,u,c,b,k,d,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0;if(o,i=(e|=0)+28|0,!((0|(0|t[(a=e+32|0)>>2]))==(0|(c=0|t[i>>2])))&&!(0|jr(0|t[c>>2]))){if(k=0|t[i>>2],(0|(f=0|Ta(r,0|t[k>>2])))>-1)return E=0|t[i>>2],void(t[E>>2]=f);l=(0|((n=0|t[a>>2])-(s=0|t[i>>2])|0))>8,u=s;e:do{if(l){for(m=u,T=1;;){if((0|(w=0|Ta(r,0|t[(m+(T<<3)|0)>>2])))>-1){h=w,N=T;break}if(p=T+1|0,O=0|t[a>>2],y=A=0|t[i>>2],!((0|p)<(0|(O-A|0)>>3))){_=O,D=y;break e}m=y,T=p}return(0|(v=(0|t[a>>2])-(S=0|t[i>>2])|0)>>3)>(0|N)&((0|N)>-1&(0|v)>0)?g=S:(Oa(2509),g=0|t[(e+28|0)>>2]),R=0|t[g>>2],M=0|t[(F=g+(N<<3)|0)>>2],t[g>>2]=M,t[F>>2]=R,void(t[g>>2]=h)}_=n,D=u}while(0);(0|(b=_))==(0|D)||(d=b+((-1^((b+-8|0)-D|0)>>>3)<<3)|0,t[a>>2]=d)}}function ki(e,r){r|=0;var i,a,f,n,o,s,l,u,c,b,k,d=0,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0;(c=(((0|t[(i=(e|=0)+4|0)>>2])-(a=0|t[e>>2])|0)>>4)+1|0)>>>0>268435455?(mf(e),h=0|t[e>>2]):h=a,(k=(0|t[(b=e+8|0)>>2])-h|0)>>4>>>0<134217727?(w=(m=k>>3)>>>0<c>>>0?c:m,v=((S=0|t[i>>2])-h|0)>>4,0==(0|w)?(_=0,p=0,O=v,A=S):(d=w,y=S,R=v,g=6)):(d=268435455,y=E=0|t[i>>2],R=(E-h|0)>>4,g=6),6==(0|g)&&(_=d,p=0|gf(d<<4),O=R,A=y),n=p+(_<<4)|0,t[(f=p+(O<<4)|0)>>2]=0|t[r>>2],t[f+4>>2]=0|t[r+4>>2],t[f+8>>2]=0|t[r+8>>2],t[f+12>>2]=0|t[r+12>>2],o=f+16|0,u=l=f+((0-((s=A-h|0)>>4)|0)<<4)|0,xf(0|l,0|h,0|s),t[e>>2]=u,t[i>>2]=o,t[b>>2]=n,0==(0|h)||vf(h)}function di(e){var r,i,a,f,n=0,s=0,l=0,u=0,c=0,b=0,k=0,d=0,_=0,h=0,E=0,m=0,w=0;if(o,i=(e|=0)+16|0,!((0|(r=0|t[(e+12|0)>>2]))<(0|((0|t[(a=e+20|0)>>2])-(f=0|t[i>>2])|0)>>2)))return 0|0;for(n=f,k=0,h=r,E=0;;){if(0|ti(0|t[(n+(h<<2)|0)>>2],32)?(b=0|t[i>>2],d=k,m=E):(s=k+1|0,l=0|t[i>>2],u=0|t[(l+(h<<2)|0)>>2],b=l,d=s,m=((E+1|0)+(0|t[(u+12|0)>>2])|0)-(0|t[(u+4|0)>>2])|0),!((0|(c=h+1|0))<(0|((0|t[a>>2])-b|0)>>2))){_=d,w=m;break}n=b,k=d,h=c,E=m}return 0==(0|_)?0|w:0|(0|w)/(0|_)&-1}function _i(e,r){e|=0;var i,a=0,f=0;return o,!((0|(r|=0))<0)&&(a=e+16|0,(0|((0|t[(e+20|0)>>2])-(f=0|t[a>>2])|0)>>2)>(0|r))?0|(0|t[(f+(r<<2)|0)>>2]):(Oa(3008),i=0|t[(e+16|0)>>2],0|(0|t[(i+(r<<2)|0)>>2]))}function hi(e,r,i){r|=0;var a,f,n;Ne(e|=0,a=0|t[(i|=0)>>2],0|Ni(r,(0|((0|t[(f=i+8|0)>>2])+a|0))/2&-1),n=0|t[f>>2],0|Ti(r,(0|((0|t[i>>2])+n|0))/2&-1))}function Ei(e,r){r|=0;var i,a,f,n,s,l,u,c,b,k,d=0,_=0,h=0,E=0,m=0,w=0;return o,(0|(0|t[((e|=0)+12|0)>>2]))>(0|r)?w=4:(E=e+16|0,(0|((0|t[(e+20|0)>>2])-(m=0|t[E>>2])|0)>>2)>(0|r)?(_=e+16|0,h=m):w=4),4==(0|w)&&(Oa(3040),_=d=e+16|0,h=0|t[d>>2]),a=(i=0|t[(h+(r<<2)|0)>>2])+28|0,(0|(0|t[(i+32|0)>>2]))==(0|(f=0|t[a>>2]))?0|0:0|Hr(0|t[f>>2])?(n=0|t[_>>2],s=0|fi(0|t[(n+(r<<2)|0)>>2],0),74==(0|(0|t[s>>2]))?0|0:(l=0|t[_>>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e+8|0)>>2],w>>>0<y>>>0){if((0|k)==(0|w))return V=0|t[i>>2],t[k>>2]=V,X=(0|t[_>>2])+4|0,t[_>>2]=X,0|k;if((K=k+((j=(W=n-(k+4|0)|0)>>2)<<2)|0)>>>0<w>>>0)for(P=w,we=K;G=0|t[we>>2],t[P>>2]=G,J=we+4|0,Z=(0|t[_>>2])+4|0,t[_>>2]=Z,J>>>0<w>>>0;)P=Z,we=J;return Lf(0|(w+((0-j|0)<<2)|0),0|k,0|W),pe=k>>>0>i>>>0?i:(0|t[_>>2])>>>0>i>>>0?i+4|0:i,Q=0|t[pe>>2],t[k>>2]=Q,0|k}(l=((n-f|0)>>2)+1|0)>>>0>1073741823?(mf(e),x=0|t[S>>2],L=S,U=H=0|t[e>>2],$=H,ee=x):(L=S,U=a,$=f,ee=s),(u=ee-$|0)>>2>>>0<536870911?(ne=((te=k)-$|0)>>2,0==(0|(fe=(ae=u>>1)>>>0<l>>>0?l:ae))?(C=0,oe=0,se=ne,me=te):(N=fe,z=ne,Y=te,Oe=15)):(N=1073741823,z=((re=k)-$|0)>>2,Y=re,Oe=15),15==(0|Oe)&&(C=N,oe=0|gf(N<<2),se=z,me=Y),h=d=oe+(se<<2)|0,E=oe+(C<<2)|0,m=(0|se)==(0|C);do{if(m){if((0|se)>0){he=le=d+(((0|(se+1|0))/-2&-1)<<2)|0,Ee=U,Se=le,ve=E;break}if(c=0,ce=0|I(29,0|(ue=0==(0|se)?1:se<<1)<<2),be=c,c=0,!(1&be)){if(de=ke=ce+(ue>>>2<<2)|0,_e=ce+(ue<<2)|0,0==(0|oe)){he=ke,Ee=U,Se=de,ve=_e;break}vf(oe),he=ke,Ee=0|t[e>>2],Se=de,ve=_e;break}B=0|q(),b,0==(0|oe)&&ie(0|B),vf(oe),ie(0|B)}else he=d,Ee=U,Se=h,ve=E}while(0);return v=0|t[i>>2],t[he>>2]=v,O=(p=Se)+4|0,g=R=p+((0-((A=me-Ee|0)>>2)|0)<<2)|0,xf(0|R,0|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|0,Te=(Re=(0|t[(_e=e+20|0)>>2])-(pe=0|t[R>>2])|0)>>2,Pe=(0|Re)>0;r:do{if(Pe){S=e+16|0,Be=k+4|0,Ke=k+8|0,Fe=pe,ar=0;i:for(;v=0|t[(Fe+(ar<<2)|0)>>2],c=0,Me=0|B(178,0|v,32),De=c,c=0,!(1&De);){if(!Me){if((0|((0|t[_e>>2])-(Ce=0|t[R>>2])|0)>>2)>(0|ar))xe=Ce;else{if(c=0,N(47,3008),Ie=c,c=0,1&Ie)break;xe=0|t[S>>2]}if(Le=0|t[(xe+(ar<<2)|0)>>2],(He=((0|t[(Le+12|0)>>2])+1|0)-(0|t[(Le+4|0)>>2])|0)>>>0<2147483647&(0|t[k>>2])>>>0<2147483647){Ve=(Ye=((Ue=0|t[Ke>>2])-(ze=0|t[Be>>2])|0)>>2)>>>0>He>>>0,Xe=ze;do{if(Ve)F=Xe;else{if(je=Ue,(We=He+1|0)>>>0>Ye>>>0){if(c=0,C(92,0|Be,0|(We-Ye|0)),Ge=c,c=0,1&Ge)break i;F=0|t[Be>>2];break}We>>>0<Ye>>>0?(0|je)==(0|(qe=Xe+(We<<2)|0))?F=Xe:(cr=je+((-1^((je+-4|0)-qe|0)>>>2)<<2)|0,t[Ke>>2]=cr,F=Xe):F=Xe}}while(0);M=(0|t[(g=F+(He<<2)|0)>>2])+1|0,t[g>>2]=M,D=(0|t[k>>2])+1|0,t[k>>2]=D}}if(!((0|(T=ar+1|0))<(0|(x=((0|t[_e>>2])-(I=0|t[R>>2])|0)>>2)))){m=I,w=x,Er=5;break r}Fe=I,ar=T}or=0|q(),b}else m=pe,w=Te,Er=5}while(0);do{if(5==(0|Er)){if(P=0|t[(r+16|0)>>2],(0|(Z=0|t[(W=e+12|0)>>2]))<(0|w)){for(E=m,Je=0,ir=Z,kr=0;;){if(ke=0|t[(E+(ir<<2)|0)>>2],c=0,de=0|B(178,0|ke,32),he=c,c=0,1&he){Er=14;break}if(de?(ve=0|t[R>>2],Ze=Je,dr=kr):(Ee=Je+1|0,me=0|t[R>>2],we=0|t[(me+(ir<<2)|0)>>2],ve=me,Ze=Ee,dr=((kr+1|0)+(0|t[(we+12|0)>>2])|0)-(0|t[(we+4|0)>>2])|0),!((0|(Se=ir+1|0))<(0|((0|t[_e>>2])-ve|0)>>2))){Qe=Ze,_r=dr;break}E=ve,Je=Ze,ir=Se,kr=dr}if(14==(0|Er)){or=0|q(),b;break}hr=0==(0|Qe)?_r:(0|_r)/(0|Qe)&-1}else hr=0;L=k+4|0,Y=(0|(U=0|t[(H=k+8|0)>>2]))==(0|(z=0|t[L>>2])),V=z,p=0|t[k>>2];r:do{if(Y)er=0,tr=0;else for(X=(U-z|0)>>2,$e=0,nr=0;;){if(!((G=(0|t[(V+(nr<<2)|0)>>2])+$e|0)<<1>>>0<p>>>0)){er=G,tr=nr;break r}if(!((J=nr+1|0)>>>0<X>>>0)){er=G,tr=J;break}$e=G,nr=J}}while(0);j=er<<1>>>0>p>>>0;r:do{if(j)sr=tr;else for(K=(U-z|0)>>2,rr=er,lr=tr;;){if(!(lr>>>0<K>>>0)){sr=lr;break r}if($=lr+1|0,(Q=(0|t[(V+(lr<<2)|0)>>2])+rr|0)<<1>>>0>p>>>0){sr=$;break}rr=Q,lr=$}}while(0);ee=(sr+tr|0)>>>1,re=(0|((0|t[(e+4|0)>>2])-(0|t[e>>2])|0))/20&-1,ae=0|t[W>>2],t[d>>2]=hr,t[(d+4|0)>>2]=ee,t[(d+8|0)>>2]=re,t[(d+12|0)>>2]=ae,nf(P,3186,d),te=fe=0|t[(k+4|0)>>2],0==(0|fe)||((0|(ne=0|t[H>>2]))==(0|fe)||(br=ne+((-1^((ne+-4|0)-te|0)>>>2)<<2)|0,t[H>>2]=br),vf(fe)),O=_e,A=R;break e}}while(0);Ae=Oe=0|t[(k+4|0)>>2],0==(0|Oe)&&ie(0|or),(0|(ge=0|t[(ye=k+8|0)>>2]))==(0|Oe)||(ur=ge+((-1^((ge+-4|0)-Ae|0)>>>2)<<2)|0,t[ye>>2]=ur),vf(Oe),ie(0|or)}else O=e+20|0,A=e+16|0}while(0);if(!((0|((0|t[O>>2])-(n=0|t[A>>2])|0))>0))return of(10,0|t[(r+16|0)>>2]),void(o=h);for(l=e+12|0,oe=n,fr=0;y=0|t[(oe+(fr<<2)|0)>>2],(0|fr)<(0|(0|t[l>>2]))?li(y,r,y,i,a):(Ne(f,se=0|t[y>>2],0|Ni(e,(0|((0|t[(le=y+8|0)>>2])+se|0))/2&-1),ue=0|t[le>>2],0|Ti(e,(0|((0|t[y>>2])+ue|0))/2&-1)),li(y,r,f,i,a)),(0|(ce=fr+1|0))<(0|((0|t[O>>2])-(be=0|t[A>>2])|0)>>2);)oe=be,fr=ce;of(10,0|t[(r+16|0)>>2]),o=h}function Oi(e,r){r|=0;var i,a,f,n=0,s=0,l=0,u=0;if(o,i=(e|=0)+16|0,(0|((0|t[(a=e+20|0)>>2])-(f=0|t[i>>2])|0))>0)for(s=f,u=0;ui(0|t[(s+(u<<2)|0)>>2],r),(0|(l=u+1|0))<(0|((0|t[a>>2])-(n=0|t[i>>2])|0)>>2);)s=n,u=l}function Ai(e,r){r|=0;var i,a,f,n=0,s=0,l=0,u=0;if(o,i=(e|=0)+16|0,(0|((0|t[(a=e+20|0)>>2])-(f=0|t[i>>2])|0))>0)for(s=f,u=0;Re(r,0|t[(s+(u<<2)|0)>>2]),(0|(l=u+1|0))<(0|((0|t[a>>2])-(n=0|t[i>>2])|0)>>2);)s=n,u=l}function yi(e,r){e|=0,r|=0;var i,a,f,n,l,u,c,b,k=0,d=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0,I=0,P=0;if(b=o,(0|(o=o+32|0))>=(0|s)&&_(),i=b,a=b+8|0,f=e+16|0,(0|((0|t[(n=e+20|0)>>2])-(l=0|t[f>>2])|0))>0){for(u=e+12|0,c=i+4|0,d=l,I=0;k=0|t[(d+(I<<2)|0)>>2],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=0,ur=0,cr=0,br=0,kr=0,dr=0,_r=0,hr=0,Er=0,mr=0,wr=0,Sr=0,vr=0,pr=0,Or=0,Ar=0,yr=0,Rr=0,gr=0,Fr=0,Mr=0,Dr=0,Tr=0,Nr=0,Cr=0,Ir=0,Pr=0;f=o,(0|(o=o+16|0))>=(0|s)&&_(),a=f,i=4==(0|r);e:do{if(!i){te=e+16|0,mr=(se=(oe=(0|t[(ne=e+20|0)>>2])-(0|t[te>>2])|0)>>2)+-1|0,le=(0|oe)>0;r:do{if(le){if(u=e+16|0,7==(0|r))for(br=se,Sr=mr;;){if((0|br)<1?Pr=74:(0|((0|t[ne>>2])-(Ee=0|t[te>>2])|0)>>2)<(0|br)?Pr=74:me=Ee,74==(0|Pr)&&(Pr=0,Oa(3008),me=0|t[u>>2]),ve=(Se=0|t[(me+(Sr<<2)|0)>>2])+28|0,(0|(0|t[(Se+32|0)>>2]))==(0|(0|t[ve>>2]))||ci(Se,7),ur=Sr+-1|0,!((0|Sr)>0)){Fr=0;break r}kr=Sr,Sr=ur,br=kr}else cr=se,wr=mr,Mr=0;for(;;){for(dr=cr,vr=wr;;){if((0|dr)<1?Pr=64:(0|((0|t[ne>>2])-(ce=0|t[te>>2])|0)>>2)<(0|dr)?Pr=64:be=ce,64==(0|Pr)&&(Pr=0,Oa(3008),be=0|t[u>>2]),_e=(ke=0|t[(be+(vr<<2)|0)>>2])+28|0,!((0|(0|t[(he=ke+32|0)>>2]))==(0|(0|t[_e>>2])))&&(ci(ke,r),(0|(0|t[he>>2]))==(0|(0|t[_e>>2])))){pr=vr;break}if(hr=vr+-1|0,!((0|vr)>0)){Fr=Mr;break r}_r=vr,vr=hr,dr=_r}if(mi(e,pr),Er=pr+-1|0,!((0|pr)>0)){Fr=1;break}cr=pr,wr=Er,Mr=1}}else Fr=0}while(0);if(7==(0|r)){if(gi(e),Fr)break;return void(o=f)}if(Fr)break;return void(o=f)}t[a>>2]=0,t[a+4>>2]=0,t[a+8>>2]=0,t[a+12>>2]=0,p=e+16|0,Le=(0|((ye=0|t[(we=e+20|0)>>2])-(Fe=0|t[p>>2])|0))>0;r:do{if(Le){d=e+16|0,ze=a+4|0,je=a+8|0,Ce=Fe,tr=0;i:for(;;){if(h=0|t[(Ce+(tr<<2)|0)>>2],c=0,Ie=0|B(178,0|h,32),Pe=c,c=0,1&Pe){Pr=15;break}if(!Ie){if((0|((0|t[we>>2])-(xe=0|t[p>>2])|0)>>2)>(0|tr))Be=xe;else{if(c=0,N(47,3008),He=c,c=0,1&He){Pr=15;break}Be=0|t[d>>2]}if(Ue=0|t[(Be+(tr<<2)|0)>>2],(Ye=((0|t[(Ue+12|0)>>2])+1|0)-(0|t[(Ue+4|0)>>2])|0)>>>0<2147483647&(0|t[a>>2])>>>0<2147483647){Ke=(We=((Ve=0|t[je>>2])-(Xe=0|t[ze>>2])|0)>>2)>>>0>Ye>>>0,Ge=Xe;do{if(Ke)er=Ge;else{if(Je=Ve,(qe=Ye+1|0)>>>0>We>>>0){if(c=0,C(92,0|ze,0|(qe-We|0)),Ze=c,c=0,1&Ze){Pr=15;break i}er=0|t[ze>>2];break}qe>>>0<We>>>0?(0|Je)==(0|(Qe=Ge+(qe<<2)|0))?er=Ge:(Cr=Je+((-1^((Je+-4|0)-Qe|0)>>>2)<<2)|0,t[je>>2]=Cr,er=Ge):er=Ge}}while(0);rr=(0|t[($e=er+(Ye<<2)|0)>>2])+1|0,t[$e>>2]=rr,A=(0|t[a>>2])+1|0,t[a>>2]=A}}if(!((0|(y=tr+1|0))<(0|((R=0|t[we>>2])-(g=0|t[p>>2])|0)>>2))){n=R,l=g;break}Ce=g,tr=y}if(15==(0|Pr)){yr=0|q(),b;break}if(S=0|t[je>>2],v=0|t[ze>>2],E=0|t[a>>2],O=v,(0|S)==(0|v))m=E,w=je,M=l,D=n,ae=v,ue=S,Ae=O,ar=0,Or=0,Pr=7;else for(x=(S-v|0)>>2,ir=0,Ar=0;;){if(!((pe=(0|t[(O+(Ar<<2)|0)>>2])+ir|0)<<1>>>0<E>>>0)){m=E,w=je,M=l,D=n,ae=v,ue=S,Ae=O,ar=pe,Or=Ar,Pr=7;break r}if(!((Oe=Ar+1|0)>>>0<x>>>0)){m=E,w=je,M=l,D=n,ae=v,ue=S,Ae=O,ar=pe,Or=Oe,Pr=7;break}ir=pe,Ar=Oe}}else m=0,w=a+8|0,M=Fe,D=ye,ae=0,ue=0,Ae=0,ar=0,Or=0,Pr=7}while(0);do{if(7==(0|Pr)){j=ar<<1>>>0>m>>>0;r:do{if(j)Dr=Or;else for(de=(ue-ae|0)>>2,fr=ar,Tr=Or;;){if(!(Tr>>>0<de>>>0)){Dr=Tr;break r}if(ge=Tr+1|0,(Re=(0|t[(Ae+(Tr<<2)|0)>>2])+fr|0)<<1>>>0>m>>>0){Dr=ge;break}fr=Re,Tr=ge}}while(0);F=(Dr+Or|0)>>>1,k=e+16|0,nr=(D-M|0)>>2,Rr=0;r:for(;;){if(!((0|nr)>0)){gr=Rr,Pr=38;break}for(sr=nr;;){if(or=sr+-1|0,(H=(0|sr)<1)?Pr=46:(0|((0|t[we>>2])-(U=0|t[p>>2])|0)>>2)<(0|sr)?Pr=46:Y=U,46==(0|Pr)){if(Pr=0,c=0,N(47,3008),z=c,c=0,1&z){Pr=13;break r}Y=0|t[k>>2]}if(V=0|t[(Y+(or<<2)|0)>>2],c=0,X=0|B(178,0|V,32),W=c,c=0,1&W){Pr=13;break r}if(!X){if(H?Pr=54:(0|((0|t[we>>2])-(K=0|t[p>>2])|0)>>2)<(0|sr)?Pr=54:J=K,54==(0|Pr)){if(Pr=0,c=0,N(47,3008),G=c,c=0,1&G){Pr=13;break r}J=0|t[k>>2]}if(Z=0|t[(J+(or<<2)|0)>>2],Q=0|t[(Z+12|0)>>2],$=0|t[(Z+4|0)>>2],c=0,ee=0|L(120,0|((Q+1|0)-$|0),0|F,10,2),re=c,c=0,1&re){Pr=13;break r}if(!ee){lr=or;break}}if(!((0|sr)>1)){gr=Rr,Pr=38;break r}sr=or}if(c=0,C(121,0|e,0|lr),fe=c,c=0,1&fe){Pr=14;break}nr=lr,Rr=1}if(13==(0|Pr)){yr=0|q(),b;break}if(14==(0|Pr)){yr=0|q(),b;break}if(38==(0|Pr)){if(I=T=0|t[(a+4|0)>>2],0==(0|T)||((0|(P=0|t[w>>2]))==(0|T)||(Ir=P+((-1^((P+-4|0)-I|0)>>>2)<<2)|0,t[w>>2]=Ir),vf(T)),!(gr<<24>>24==0))break e;return void(o=f)}}}while(0);De=Me=0|t[(a+4|0)>>2],0==(0|Me)&&ie(0|yr),(0|(Ne=0|t[(Te=a+8|0)>>2]))==(0|Me)||(Nr=Ne+((-1^((Ne+-4|0)-De|0)>>>2)<<2)|0,t[Te>>2]=Nr),vf(Me),ie(0|yr)}while(0);Fi(e),o=f}function gi(e){var r,i,a,f,n=0,s=0,l=0,u=0,c=0,b=0,k=0,d=0,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0;if(o,i=(e|=0)+16|0,(0|(f=(0|t[(a=e+20|0)>>2])-(0|t[i>>2])|0))>4)for(r=e+16|0,v=f>>2;S=v+-1|0,(m=(0|v)<1)?p=7:(0|((0|t[a>>2])-(w=0|t[i>>2])|0)>>2)<(0|v)?p=7:(l=w,b=w),7==(0|p)&&(p=0,Oa(3008),l=n=0|t[r>>2],b=n),c=(u=0|t[(l+(S<<2)|0)>>2])+28|0,(0|(0|t[(u+32|0)>>2]))==(0|(0|t[c>>2]))&&(m?p=13:(0|((0|t[a>>2])-b|0)>>2)<(0|v)?p=13:(k=b,h=b),13==(0|p)&&(p=0,Oa(3008),k=s=0|t[r>>2],h=s),d=0|t[(k+(S<<2)|0)>>2],_=v+-2|0,(0|v)<2?p=17:(0|((0|t[a>>2])-h|0)>>2)>(0|_)?E=h:p=17,17==(0|p)&&(p=0,Oa(3008),E=0|t[r>>2]),0|Ke(d,0|t[(E+(_<<2)|0)>>2])&&mi(e,S)),(0|S)>1;)v=S}function Fi(e){var r,i,a,f,n=0,s=0,l=0,u=0,c=0,b=0,k=0,d=0,_=0,h=0;if(o,i=(e|=0)+16|0,(0|(f=(0|t[(a=e+20|0)>>2])-(0|t[i>>2])|0))>0)for(r=e+16|0,_=f>>2;;){d=_+-1|0,(0|_)<1?h=7:(0|((0|t[a>>2])-(k=0|t[i>>2])|0)>>2)<(0|_)?h=7:n=k,7==(0|h)&&(h=0,Oa(3008),n=0|t[r>>2]),s=0|ti(0|t[(n+(d<<2)|0)>>2],32);do{if(s){if(!(0==(0|d))&&!((0|_)==(0|(u=((0|t[a>>2])-(l=0|t[i>>2])|0)>>2))||((0|(c=_+-2|0))>-1&(0|u)>(0|c)?b=l:(Oa(3008),b=0|t[r>>2]),0|ti(0|t[(b+(c<<2)|0)>>2],32))))break;mi(e,d)}}while(0);if(!((0|_)>1))break;_=d}}function Mi(e,r){r|=0;var i,a,f,n,o=0,s=0,l=0,u=0,c=0,b=0,k=0,d=0,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0;i=(e|=0)+16|0,n=(0|(f=(0|t[(a=e+20|0)>>2])-(0|t[i>>2])|0))>0;e:do{if(n)for(o=e+16|0,d=r+40|0,_=f>>2,v=0;;){for(E=_;;){if(h=E+-1|0,(0|E)<1?p=9:(0|((0|t[a>>2])-(l=0|t[i>>2])|0)>>2)<(0|E)?p=9:u=l,9==(0|p)&&(p=0,Oa(3008),u=0|t[o>>2]),b=(c=0|t[(u+(h<<2)|0)>>2])+28|0,!((0|(0|t[(k=c+32|0)>>2]))==(0|(0|t[b>>2])))&&(bi(c,r),(0|(0|t[k>>2]))==(0|(0|t[b>>2]))&0==(0|(0|t[d>>2])))){m=E,w=h;break}if(!((0|E)>1)){s=d,S=v;break e}E=h}if(mi(e,w),!((0|m)>1)){s=d,S=1;break}_=w,v=1}else s=r+40|0,S=0}while(0);2==(0|(0|t[s>>2]))&&gi(e),S&&Fi(e)}function Di(e,r,i,a,f){r|=0,i|=0,a|=0,f|=0;var n,s,l,u,c,b,k,d,_,h,E,m,w,S,v,p=0,O=0,A=0,y=0,R=0,g=0;if(o,(0|(m=(E=((s=0|t[(n=(e|=0)+12|0)>>2])+1|0)-(_=0|t[(d=e+4|0)>>2])|0)<<2))<(0|(S=3*a|0)))return 0|-1;if((0|(k=(b=((l=0|t[(v=r+12|0)>>2])+1|0)-(c=0|t[(u=r+4|0)>>2])|0)<<2))<(0|S))return 0|-1;if((0|(((0|t[(e+8|0)>>2])+1|0)-(0|t[e>>2])|0))<(0|f)){if(!((0|(((0|t[(r+8|0)>>2])+1|0)-(0|t[r>>2])|0))>=(0|f)&(0|(A=0|t[i>>2]))>0))return 0|-1;O=A}else{if(!((0|(p=0|t[i>>2]))>0))return 0|-1;O=p}if(!((0|m)>(0|(h=5*a|0))|(0|k)>(0|h))){if(!((0|(9*E|0))>(0|(y=10*a|0))|(0|(9*b|0))>(0|y))&&!((0|(10*((0|(R=s-l|0))>-1?R:0-R|0)|0))>(0|a)))return t[i>>2]=0,0|1&(0|(((0|t[n>>2])+1|0)-(0|t[d>>2])|0))>(0|(((0|t[v>>2])+1|0)-(0|t[u>>2])|0));if(!((0|O)>1))return 0|-1;if(!((0|(10*((0|(g=((0|(s+_|0))/2&-1)-((0|(l+c|0))/2&-1)|0))>-1?g:0-g|0)|0))>(0|a)))return t[i>>2]=1,0|1&(0|(0|t[n>>2]))>(0|(0|t[v>>2]))}return(0|O)>2?(0|(10*((0|(w=((0|(s+_|0))/2&-1)-((0|(l+c|0))/2&-1)|0))>-1?w:0-w|0)|0))>(0|a)?0|-1:(t[i>>2]=2,0|1&(0|(0|t[n>>2]))>(0|(0|t[v>>2]))):0|-1}function Ti(e,r){r|=0;var i,a,f,n,s,l,u,c=0,b=0,d=0,_=0,h=0,E=0,m=0;if(o,i=0|t[((e|=0)+4|0)>>2],l=s=0|t[e>>2],(0|i)==(0|s))return 0|0;for(u=(0|(i-s|0))/20&-1,h=0;;){if(!((b=h+1|0)>>>0<u>>>0&(0|(_=0|t[(8+(l+(20*h|0)|0)|0)>>2]))<(0|r))){c=_,E=h;break}h=b}return(0|c)!=(0|(a=0|t[(l+(20*E|0)|0)>>2]))&(0|(f=0|t[(12+(l+(20*E|0)|0)|0)>>2]))!=(0|(n=0|t[(4+(l+(20*E|0)|0)|0)>>2]))?(d=c-a|0,m=((0|(0|k(f-n|0,r-a|0)))/(0|d)&-1)+n|0):m=n,0|(((0|(0|t[(16+(l+(20*E|0)|0)|0)>>2]))/2&-1)+m|0)}function Ni(e,r){r|=0;var i,a,f,n,s,l,u,c,b=0,d=0,_=0,h=0,E=0,m=0,w=0;if(o,i=0|t[((e|=0)+4|0)>>2],u=s=0|t[e>>2],(0|i)==(0|s))return 0|0;for(c=(0|(i-s|0))/20&-1,E=0;;){if(!((d=E+1|0)>>>0<c>>>0&(0|(h=0|t[(8+(u+(20*E|0)|0)|0)>>2]))<(0|r))){b=h,m=E;break}E=d}return(0|b)!=(0|(a=0|t[(u+(20*m|0)|0)>>2]))&(0|(f=0|t[(12+(u+(20*m|0)|0)|0)>>2]))!=(0|(n=0|t[(4+(u+(20*m|0)|0)|0)>>2]))?(_=b-a|0,w=((0|(0|k(f-n|0,r-a|0)))/(0|_)&-1)+n|0):w=n,0|(((w+1|0)-(l=0|t[(16+(u+(20*m|0)|0)|0)>>2])|0)+((0|l)/2&-1)|0)}function Ci(e){var r,i,a,f,n,s,l,u,c,b,k=0,d=0,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0;if(o,!(0==(0|(f=0|t[(a=(e|=0)+4|0)>>2])))){b=(0|(u=0|t[e>>2]))<0;e:do{if(b){switch(0|u){case-2147483648:break;default:break e}return-2147483648==(0|f)?(t[a>>2]=-2147483647,A=-2147483647):A=f,k=(0|A)<0?2147483647:-2147483647&(0-A|0)>>31,t[e>>2]=k,void(t[a>>2]=0)}switch(0|u){case 0:break;default:break e}return void(t[a>>2]=1)}while(0);n=(0|f)<0;do{if(n){if(m=0-u|0,!(-2147483648==(0|f))){t[e>>2]=m,w=0-f|0,t[a>>2]=w,S=w,v=m;break}return d=(0|u)<0?2147483647:-2147483647&m>>31,t[e>>2]=d,void(t[a>>2]=0)}S=f,v=u}while(0);if(!(1==(0|S))){i=(0|v)<0?0-v|0:v,s=0==(0|(r=(0|S)<0?0-S|0:S));e:do{if(s)_=i;else for(h=r,E=i;;){if(0==(0|(p=(0|E)%(0|h)&-1))){_=h;break e}if(0==(0|(O=(0|h)%(0|p)&-1))){_=p;break}h=O,E=p}}while(0);l=(0|v)/(0|_)&-1,t[e>>2]=l,c=(0|S)/(0|_)&-1,t[a>>2]=c}}}function Ii(e,r){e|=0;var i,a,f,n=0,s=0,l=0,u=0,c=0,b=0;if(o,(0|(i=0|t[((r|=0)+4|0)>>2]))<1)return s=0|t[(n=r)>>2],l=0|t[(n+4|0)>>2],t[(u=e)>>2]=s,void(t[(u+4|0)>>2]=l);(0|(a=0|t[r>>2]))>0?(c=i,b=a):(0|a)<0?(c=0-i|0,b=0-a|0):(c=2147483647,b=0),t[(f=e)>>2]=c,t[(f+4|0)>>2]=b}function Pi(e,r){r|=0;var i,a,f,n,s,l,u,c,k,d,_,h,E,m,w,S,v,p,O,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0,I=0,P=0,x=0,L=0,H=0,B=0,U=0,z=0,Y=0,V=0,X=0,W=0,j=0,K=0,G=0,q=0,J=0,Z=0,Q=0,$=0;if(o,(0|(a=0|t[(i=(e|=0)+4|0)>>2]))<1)return 0|e;if((0|(h=0|t[(r+4|0)>>2]))<1)return V=0|t[r>>2],t[e>>2]=V,t[i>>2]=0,0|e;if(n=0|zf(0|h,0|(f=((0|h)<0)<<31>>31),0|a,0|(w=((0|a)<0)<<31>>31)),s=b,u=0|zf(0|(l=0|t[e>>2]),0|((0|l)<0)<<31>>31,0|h,0|f),c=b,d=0|Cf(0|(0|zf(0|(k=0|t[r>>2]),0|((0|k)<0)<<31>>31,0|a,0|w)),0|b,0|u,0|c),_=b,0==(0|n)&0==(0|s))return A=(0|_)>0|0==(0|_)&d>>>0>0?2147483647:(0|_)<0?-2147483647:0,t[e>>2]=A,t[i>>2]=0,0|e;if(0==(0|d)&0==(0|_))return t[e>>2]=0,t[i>>2]=1,0|e;if(1==(0|n)&0==(0|s))G=d,q=_,J=1,Z=0;else{F=(0|_)<0,M=0|Df(0,0,0|d,0|_),D=F?M:d,T=F?b:_,N=(0|s)<0,C=0|Df(0,0,0|n,0|s),x=0==(0|(I=N?C:n))&0==(0|(P=N?b:s));e:do{if(x)j=D,K=T;else for(L=D,H=T,B=I,U=P;;){if(0==(0|(z=0|Uf(0|L,0|H,0|B,0|U)))&0==(0|(Y=b))){j=B,K=U;break e}if(0==(0|(X=0|Uf(0|B,0|U,0|z,0|Y)))&0==(0|(W=b))){j=z,K=Y;break}L=z,H=Y,B=X,U=W}}while(0);G=0|Bf(0|d,0|_,0|j,0|K),q=b,J=0|Bf(0|n,0|s,0|j,0|K),Z=b}return E=0|Cf(0|G,0|q,2147483647,0),S=(m=b)>>>0<0|0==(0|m)&E>>>0<4294967295,v=0|Cf(0|J,0|Z,2147483647,0),O=(0|Z)>-1|-1==(0|Z)&J>>>0>4294967295,((p=b)>>>0<0|0==(0|p)&v>>>0<4294967295)&S?O?(t[e>>2]=G,t[i>>2]=J,0|e):(Q=0|Df(0,0,0|G,0|q),b,t[e>>2]=Q,$=0|Df(0,0,0|J,0|Z),b,t[i>>2]=$,0|e):(R=0|Df(0,0,0|G,0|q),y=(0|(g=O?q:b))>0|0==(0|g)&(O?G:R)>>>0>0?2147483647:(0|g)<0?-2147483647:0,t[e>>2]=y,t[i>>2]=0,0|e)}function xi(e,r){r|=0;var i,a,f,n,s,l,u,c,k,d,_,h,E,m,w,S,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0,I=0,P=0,x=0,L=0,H=0,B=0,U=0,z=0,Y=0,V=0,X=0,W=0,j=0,K=0,G=0,q=0,J=0;if(o,(0|(a=0|t[(i=(e|=0)+4|0)>>2]))<1)return 0|e;if((0|(c=0|t[(r+4|0)>>2]))<1)return z=0|t[r>>2],t[e>>2]=z,t[i>>2]=0,0|e;if(w=((0|(k=0|t[e>>2]))<0)<<31>>31,n=0|zf(0|(f=0|t[r>>2]),0|((0|f)<0)<<31>>31,0|k,0|w),s=b,0==(0|(l=0|zf(0|c,0|((0|c)<0)<<31>>31,0|a,0|((0|a)<0)<<31>>31)))&0==(0|(u=b)))return v=(0|s)>0|0==(0|s)&n>>>0>0?2147483647:(0|s)<0?-2147483647:0,t[e>>2]=v,t[i>>2]=0,0|e;if(0==(0|n)&0==(0|s))return t[e>>2]=0,t[i>>2]=1,0|e;if(1==(0|l)&0==(0|u))X=n,W=s,j=1,K=0;else{A=(0|s)<0,y=0|Df(0,0,0|n,0|s),R=A?y:n,g=A?b:s,F=(0|u)<0,M=0|Df(0,0,0|l,0|u),N=0==(0|(D=F?M:l))&0==(0|(T=F?b:u));e:do{if(N)Y=R,V=g;else for(C=R,I=g,P=D,x=T;;){if(0==(0|(L=0|Uf(0|C,0|I,0|P,0|x)))&0==(0|(H=b))){Y=P,V=x;break e}if(0==(0|(B=0|Uf(0|P,0|x,0|L,0|H)))&0==(0|(U=b))){Y=L,V=H;break}C=L,I=H,P=B,x=U}}while(0);X=0|Bf(0|n,0|s,0|Y,0|V),W=b,j=0|Bf(0|l,0|u,0|Y,0|V),K=b}return d=0|Cf(0|X,0|W,2147483647,0),h=(_=b)>>>0<0|0==(0|_)&d>>>0<4294967295,E=0|Cf(0|j,0|K,2147483647,0),S=(0|K)>-1|-1==(0|K)&j>>>0>4294967295,((m=b)>>>0<0|0==(0|m)&E>>>0<4294967295)&h?S?(t[e>>2]=X,t[i>>2]=j,0|e):(G=0|Df(0,0,0|X,0|W),b,t[e>>2]=G,q=0|Df(0,0,0|j,0|K),b,t[i>>2]=q,0|e):(J=0|Df(0,0,0|X,0|W),p=(0|(O=S?W:b))>0|0==(0|O)&(S?X:J)>>>0>0?2147483647:(0|O)<0?-2147483647:0,t[e>>2]=p,t[i>>2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0|a[(w+E|0)>>0])<<24>>24==0)){ma=wa;break e}if(S=wa+1|0,!((0|wa)<(0|k))){ma=S;break}wa=S}}while(0);if(v=ma-c|0,A=ca-(0|t[O>>2])|0,y=0|t[Wi>>2],t[(y+(A<<2)|0)>>2]=v,R=0|t[e>>2],!((0|ca)<(0|(0|t[(R+8|0)>>2]))))break;g=ca+1|0,c=0|t[(R+4|0)>>2],k=0|t[(R+12|0)>>2],d=R,O=R,ca=g}return;case 2:if(F=e+36|0,M=0|t[e>>2],N=((D=0|t[(M+12|0)>>2])+1|0)-(T=0|t[(M+4|0)>>2])|0,I=0|t[(C=e+40|0)>>2],H=P=0|t[F>>2],B=I,N>>>0>(L=(I-P|0)>>2)>>>0?($e(F,N-L|0),z=n=0|t[e>>2],j=0|t[(n+4|0)>>2],K=0|t[(n+12|0)>>2],Mi=n):N>>>0<L>>>0?(0|B)==(0|(U=H+(N<<2)|0))?(z=M,j=T,K=D,Mi=M):(Pa=B+((-1^((B+-4|0)-U|0)>>>2)<<2)|0,t[C>>2]=Pa,z=M,j=T,K=D,Mi=M):(z=M,j=T,K=D,Mi=M),X=((Y=0|t[(z+8|0)>>2])+1|0)-(V=0|t[z>>2])|0,t[(e+8|0)>>2]=X,(0|j)>(0|K))return;for(G=Y,J=V,Z=Mi,te=z,Ma=j;;){q=(0|G)<(0|J);e:do{if(q)Sa=G;else for(Q=Ma-(0|t[(Z+4|0)>>2])|0,ee=0|t[(Z+16|0)>>2],re=0|t[Z>>2],ie=0|t[(ee+(12*Q|0)|0)>>2],va=G;;){if(!((0|a[(ie+(va-re|0)|0)>>0])<<24>>24==0)){Sa=va;break e}if(ae=va+-1|0,!((0|va)>(0|J))){Sa=ae;break}va=ae}}while(0);if(fe=G-Sa|0,ne=Ma-(0|t[(te+4|0)>>2])|0,oe=0|t[F>>2],t[(oe+(ne<<2)|0)>>2]=fe,se=0|t[e>>2],!((0|Ma)<(0|(0|t[(se+12|0)>>2]))))break;le=Ma+1|0,G=0|t[(se+8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])|0,Ze=0|t[(Je=e+40|0)>>2],rr=Qe=0|t[We>>2],ar=Ze,qe>>>0>(er=(Ze-Qe|0)>>2)>>>0?($e(We,qe-er|0),nr=i=0|t[e>>2],ur=0|t[i>>2],cr=0|t[(i+8|0)>>2],Ti=i):qe>>>0<er>>>0?(0|ar)==(0|(fr=rr+(qe<<2)|0))?(nr=je,ur=Ge,cr=Ke,Ti=je):(Ca=ar+((-1^((ar+-4|0)-fr|0)>>>2)<<2)|0,t[Je>>2]=Ca,nr=je,ur=Ge,cr=Ke,Ti=je):(nr=je,ur=Ge,cr=Ke,Ti=je),lr=((or=0|t[(nr+12|0)>>2])+1|0)-(sr=0|t[(nr+4|0)>>2])|0,t[(e+8|0)>>2]=lr,(0|ur)>(0|cr))return;for(kr=sr,_r=or,hr=Ti,Tr=nr,ka=ur;;){dr=(0|kr)>(0|_r);e:do{if(dr)La=kr;else for(Er=0|t[(hr+4|0)>>2],mr=0|t[(hr+16|0)>>2],wr=ka-(0|t[hr>>2])|0,Ha=kr;;){if(vr=0|t[(mr+(12*(Ha-Er|0)|0)|0)>>2],!((0|a[(vr+wr|0)>>0])<<24>>24==0)){La=Ha;break e}if(gr=Ha+1|0,!((0|Ha)<(0|_r))){La=gr;break}Ha=gr}}while(0);pr=(0|_r)<(0|La);e:do{if(pr)da=_r;else for(Or=0|t[(hr+4|0)>>2],yr=0|t[(hr+16|0)>>2],Rr=ka-(0|t[hr>>2])|0,_a=_r;;){if(Fr=0|t[(yr+(12*(_a-Or|0)|0)|0)>>2],!((0|a[(Fr+Rr|0)>>0])<<24>>24==0)){da=_a;break e}if(Mr=_a+-1|0,!((0|_a)>(0|La))){da=Mr;break}_a=Mr}}while(0);if(Dr=(1-La|0)+da|0,Nr=ka-(0|t[Tr>>2])|0,Cr=0|t[We>>2],t[(Cr+(Nr<<2)|0)>>2]=Dr,Pr=0|t[e>>2],!((0|ka)<(0|(0|t[(Pr+8|0)>>2]))))break;xr=ka+1|0,kr=0|t[(Pr+4|0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ga=Si}}while(0);if(vi=(1-Aa|0)+Ra|0,Oi=Da-(0|t[(pi+4|0)>>2])|0,Ai=0|t[Lr>>2],t[(Ai+(Oi<<2)|0)>>2]=vi,yi=0|t[e>>2],!((0|Da)<(0|(0|t[(yi+12|0)>>2]))))break;Ri=Da+1|0,ai=0|t[yi>>2],ni=0|t[(yi+8|0)>>2],oi=yi,pi=yi,Da=Ri}return;default:return}}function Bi(e){var r,i,a,f,n,s,l,u=0,c=0,b=0,k=0,d=0,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0;if(o,!((0|(i=0|t[(r=(e|=0)+20|0)>>2]))<0))return 0|i;for((0|(0|t[(a=e+8|0)>>2]))<0&&Hi(e),t[r>>2]=0,s=e+36|0,l=e+40|0,p=0;;){if((0|(0|t[a>>2]))<0&&Hi(e),!((0|p)<(0|((d=0|t[l>>2])-(_=0|t[s>>2])|0)>>2))){u=d,c=_;break}m=0|t[(_+(p<<2)|0)>>2],w=(0|t[r>>2])+m|0,t[r>>2]=w,p=p+1|0}return(0|(0|t[a>>2]))<0?(Hi(e),b=0|t[l>>2],h=0|t[s>>2],E=b):(h=c,E=u),(0|(E-h|0))>4?((0|(0|t[a>>2]))<0?(Hi(e),k=0|t[l>>2],S=0|t[s>>2],v=k):(S=h,v=E),f=(v-S|0)>>2,n=(0|(0|t[r>>2]))/(0|f)&-1,t[r>>2]=n,0|n):0|(0|t[r>>2])}function Ui(e){var r,i,a,f,n,s,l,u=0,c=0,b=0,k=0,d=0,_=0,h=0;if(o,!((0|(i=0|t[(r=(e|=0)+12|0)>>2]))<0))return 0|i;for((0|(0|t[(a=e+8|0)>>2]))<0&&Hi(e),n=0|t[(f=e+36|0)>>2],s=0|t[n>>2],t[r>>2]=s,l=e+40|0,c=n,h=1;b=c,(0|(0|t[a>>2]))<0?(Hi(e),k=u=0|t[f>>2],d=u):(k=b,d=c),(0|h)<(0|((0|t[l>>2])-k|0)>>2);)(0|(_=0|t[(d+(h<<2)|0)>>2]))>(0|(0|t[r>>2]))&&(t[r>>2]=_),c=d,h=h+1|0;return 0|(0|t[r>>2])}function zi(e,r,i){r|=0,i|=0;var a,f,n=0,s=0,l=0,u=0,c=0,b=0,k=0,d=0;if(o,(0|(0|t[(a=(e|=0)+8|0)>>2]))<0&&Hi(e),(0|i)<0?((0|(0|t[a>>2]))<0&&Hi(e),c=e+36|0,n=(((0|t[(e+40|0)>>2])-(0|t[c>>2])|0)>>2)+-1|0):n=i,(0|n)<(0|r))return 0|(k=0);for(f=0|t[(e+36|0)>>2],b=r,d=0;;){if(s=(0|(l=0|t[(f+(b<<2)|0)>>2]))>(0|d)?l:d,u=b+1|0,!((0|b)<(0|n))){k=s;break}b=u,d=s}return 0|k}function Yi(e){var r,i,a,f,n,s,l,u=0,c=0,b=0,k=0,d=0,_=0,h=0;if(o,!((0|(i=0|t[(r=(e|=0)+16|0)>>2]))<0))return 0|i;for((0|(0|t[(a=e+8|0)>>2]))<0&&Hi(e),n=0|t[(f=e+36|0)>>2],s=0|t[n>>2],t[r>>2]=s,l=e+40|0,c=n,h=1;b=c,(0|(0|t[a>>2]))<0?(Hi(e),k=u=0|t[f>>2],d=u):(k=b,d=c),(0|h)<(0|((0|t[l>>2])-k|0)>>2);)(0|(_=0|t[(d+(h<<2)|0)>>2]))<(0|(0|t[r>>2]))&&(t[r>>2]=_),c=d,h=h+1|0;return 0|(0|t[r>>2])}function Vi(e,r,i){r|=0,i|=0;var a,f,n,s=0,l=0,u=0,c=0,b=0,k=0,d=0,_=0;if(o,(0|(0|t[(a=(e|=0)+8|0)>>2]))<0&&Hi(e),(0|i)<0?((0|(0|t[a>>2]))<0&&Hi(e),b=e+36|0,s=(((0|t[(e+40|0)>>2])-(0|t[b>>2])|0)>>2)+-1|0):s=i,f=0|t[a>>2],(0|s)<(0|r))return 0|(d=f);for(n=0|t[(e+36|0)>>2],k=r,_=f;;){if(l=(0|(u=0|t[(n+(k<<2)|0)>>2]))<(0|_)?u:_,c=k+1|0,!((0|k)<(0|s))){d=l;break}k=c,_=l}return 0|d}function Xi(e,r){r|=0;var i,a,f,n,s,l,u=0,c=0,b=0,k=0,d=0,_=0;return o,(0|(0|t[(i=(e|=0)+8|0)>>2]))<0&&Hi(e),(0|r)<0?(b=0|t[(e+36|0)>>2],0|(0|t[(b+(0<<2)|0)>>2])):((0|(0|t[i>>2]))<0&&Hi(e),f=e+36|0,s=0|t[(n=e+40|0)>>2],a=l=0|t[f>>2],(0|(s-l|0)>>2)>(0|r)?0|(0|t[(a+(r<<2)|0)>>2]):((0|(0|t[i>>2]))<0?(Hi(e),u=0|t[n>>2],k=c=0|t[f>>2],d=u,_=c):(k=l,d=s,_=a),0|(0|t[(_+((((d-k|0)>>2)+-1|0)<<2)|0)>>2])))}function Wi(e,r,i){r|=0,i|=0;var a,f,n=0,s=0,l=0,u=0,c=0,b=0,k=0,d=0,_=0,h=0,E=0,m=0;if(o,(0|(0|t[(a=(e|=0)+8|0)>>2]))<0&&Hi(e),(0|i)<0?m=7:((0|(0|t[a>>2]))<0&&Hi(e),k=e+36|0,(0|((0|t[(e+40|0)>>2])-(d=0|t[k>>2])|0)>>2)>(0|i)?(n=i,s=d):m=7),7==(0|m)&&((0|(0|t[a>>2]))<0&&Hi(e),l=e+36|0,n=(((0|t[(e+40|0)>>2])-(u=0|t[l>>2])|0)>>2)+-1|0,s=u),f=s,(0|n)<(0|r))return 0|(_=0);for(h=0,E=r;;){if(c=(0|t[(f+(E<<2)|0)>>2])+h|0,b=E+1|0,!((0|E)<(0|n))){_=c;break}h=c,E=b}return 0|_}function ji(e,r,i){r|=0,i|=0;var a,f,n,s,l,u,c=0,b=0,k=0,d=0,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0;if(o,(0|(0|t[(f=(e|=0)+8|0)>>2]))<0&&Hi(e),(0|r)<0)return 0|(c=0);if((0|(0|t[f>>2]))<0&&Hi(e),n=e+36|0,(0|((((l=0|t[(s=e+40|0)>>2])-(u=0|t[n>>2])|0)>>2)+-2|0))<(0|r))return 0|(c=0);if((0|(0|t[f>>2]))<0?(Hi(e),d=0|t[s>>2],k=0|t[n>>2],E=d):(k=u,E=l),(0|((0|t[((a=k)+((((E-k|0)>>2)+-1|0)<<2)|0)>>2])-(0|t[(a+(r<<2)|0)>>2])|0))<(0|i))return 0|(c=0);for(b=r,O=k,A=k,y=E;;){if(m=b+1|0,(0|(0|t[f>>2]))<0?(Hi(e),_=0|t[s>>2],w=h=0|t[n>>2],S=_,v=h):(w=A,S=y,v=O),!((0|m)<(0|(S-w|0)>>2))){c=1,R=15;break}if(p=v,(0|(0|t[(v+(m<<2)|0)>>2]))<(0|(0|t[(v+(b<<2)|0)>>2]))){c=0,R=15;break}b=m,O=v,A=p,y=S}return 15==(0|R)?0|c:0}function Ki(e,r,i){r|=0,i|=0;var a,f,n,s,l,u,c,b,k,d,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0,I=0,P=0,x=0,L=0,H=0,B=0,U=0,z=0;if(o,(0|(f=0|t[(a=(e|=0)+8|0)>>2]))<0?(Hi(e),(0|(w=0|t[a>>2]))<0?(Hi(e),R=0|t[a>>2]):R=w):R=f,c=e+36|0,n=((0|((k=0|t[(b=e+40|0)>>2])-(d=0|t[c>>2])|0)>>2)/20&-1)+1|0,(0|R)<0?(Hi(e),S=0|t[a>>2],A=0|t[b>>2],m=0|t[c>>2],g=A,F=S):(m=d,g=k,F=R),s=m,u=((0|((0|F)<(0|(l=(g-m|0)>>2))?F:l))/20&-1)+1|0,(0|i)<0?(T=F,x=s,L=m,H=g,z=11):((0|F)<0?(Hi(e),y=0|t[b>>2],M=v=0|t[c>>2],D=y,B=v):(M=m,D=g,B=s),(0|(((D-M|0)>>2)-n|0))<(0|i)?(T=0|t[a>>2],x=B,L=M,H=D,z=11):(E=i,I=B)),11==(0|z)&&((0|T)<0?(Hi(e),p=0|t[b>>2],N=O=0|t[c>>2],C=p,U=O):(N=L,C=H,U=x),E=((C-N|0)>>2)-n|0,I=U),(0|r)<0)return 0|(_=0);if(!((0|(E-r|0))>(0|u<<1)))return 0|(_=0);if(!((0|((0|t[(I+(r<<2)|0)>>2])-(0|t[(I+((E+-1|0)<<2)|0)>>2])|0))>(0|u)))return 0|(_=0);for(h=r;;){if(!((0|(P=h+1|0))<(0|E))){_=1,z=19;break}if((0|(0|t[(I+(P<<2)|0)>>2]))>(0|(0|t[(I+(h<<2)|0)>>2]))){_=0,z=19;break}h=P}return 19==(0|z)?0|_:0}function Gi(e){var r,i,f,n,s,l,u,c,b,k=0,d=0,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0,I=0,P=0,x=0,L=0,H=0,B=0,U=0,z=0,Y=0,V=0,X=0,W=0,j=0,K=0,G=0,q=0,J=0,Z=0,Q=0,$=0,ee=0,re=0,ie=0,ae=0,fe=0,te=0,ne=0,oe=0,se=0,le=0,ue=0,ce=0,be=0,ke=0,de=0,_e=0,he=0,Ee=0,me=0,we=0,Se=0,ve=0,pe=0,Oe=0,Ae=0,ye=0,Re=0,ge=0,Fe=0,Me=0,De=0,Te=0,Ne=0,Ce=0,Ie=0,Pe=0,xe=0,Le=0,He=0,Be=0,Ue=0,ze=0,Ye=0,Ve=0,Xe=0,We=0,je=0;if(o,!((0|a[(r=(e|=0)+24|0)>>0])<<24>>24<0))return 0|(0|a[r>>0])<<24>>24!=0;if(a[r>>0]=0,(0|(0|t[(s=e+8|0)>>2]))<0&&(Hi(e),(0|(0|t[s>>2]))<0&&Hi(e)),l=e+36|0,(0|((c=0|t[(u=e+40|0)>>2])-(i=0|t[l>>2])|0))<20)return 0|(0|a[r>>0])<<24>>24!=0;for((0|(0|t[s>>2]))<0?(Hi(e),v=0|t[u>>2],k=0|t[l>>2],be=v):(k=i,be=c),Y=n=k,V=n,X=n,W=k,j=n,K=k,G=be,Pe=-1,Le=(0|((10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l>>2],se=Me,De=T,Te=D):(oe=te,se=ne,De=Re,Te=ge),!((0|(0|t[(De+(((0|((90*((Te-De|0)>>2)|0)+-90|0))/100&-1)<<2)|0)>>2]))<(0|xe)))return 0|(0|a[r>>0])<<24>>24!=0;for(b=(0|(Xe+ze|0))/2&-1,(0|(0|t[s>>2]))<0?(Hi(e),N=0|t[u>>2],x=Ne=C=0|t[l>>2],le=Ne,Ce=C,Ie=N):(x=oe,le=se,Ce=De,Ie=Te),f=x,ue=le,ce=Ce,He=(0|((10*((Ie-Ce|0)>>2)|0)+-10|0))/100&-1;;){if(!((0|He)<(0|b))){d=ue,_=ce;break}if((0|(0|t[(x+(He<<2)|0)>>2]))>(0|(0|t[(x+((L=He+1|0)<<2)|0)>>2]))){je=37;break}ue=x,ce=f,He=L}if(37==(0|je))return 0|(0|a[r>>0])<<24>>24!=0;for((0|(0|t[s>>2]))<0?(Hi(e),I=0|t[u>>2],H=P=0|t[l>>2],B=I,U=P):(H=_,B=Ie,U=d),Be=(0|((90*((B-H|0)>>2)|0)+-90|0))/100&-1;(0|Be)>(0|b);){if((0|(0|t[(U+(Be<<2)|0)>>2]))>(0|(0|t[(U+((z=Be+-1|0)<<2)|0)>>2]))){je=37;break}Be=z}return 37==(0|je)?0|(0|a[r>>0])<<24>>24!=0:(a[r>>0]=1,0|(0|a[r>>0])<<24>>24!=0)}function qi(e){var r,i,f,n,s,l,u,c,b,d,_,h,E,m,w,S,v,p,O,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0,I=0,P=0,x=0,L=0,H=0,B=0,U=0,z=0,Y=0,V=0,X=0,W=0,j=0,K=0,G=0,q=0,J=0,Z=0,Q=0,$=0,ee=0,re=0,ie=0,ae=0,fe=0,te=0,ne=0,oe=0,se=0,le=0,ue=0,ce=0,be=0,ke=0,de=0,_e=0,he=0,Ee=0,me=0,we=0,Se=0,ve=0,pe=0,Oe=0,Ae=0,ye=0,Re=0,ge=0,Fe=0,Me=0,De=0,Te=0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24>>24!=0;if(O=zr<<1,(0|(0|t[c>>2]))<0?(Hi(e),K=0|t[w>>2],ae=G=0|t[_>>2],fe=K,je=G):(ae=br,fe=kr,je=We),(0|O)<(0|(((fe-ae|0)>>2)+Lr|0)))return 0|(0|a[r>>0])<<24>>24!=0;if((0|(0|t[c>>2]))<0?(Hi(e),q=0|t[w>>2],te=J=0|t[_>>2],ne=q,Ke=J):(te=ae,ne=fe,Ke=je),(0|Ir)<(0|(0|((10*((ne-te|0)>>2)|0)+-10|0))/100&-1))return 0|(0|a[r>>0])<<24>>24!=0;if((0|(0|t[c>>2]))<0?(Hi(e),Z=0|t[w>>2],oe=Q=0|t[_>>2],se=Z,Ge=Q):(oe=te,se=ne,Ge=Ke),(0|Lr)>(0|(0|((90*((se-oe|0)>>2)|0)+-90|0))/100&-1))return 0|(0|a[r>>0])<<24>>24!=0;(0|(f=0|t[c>>2]))<0?(Hi(e),$=0|t[w>>2],le=ee=0|t[_>>2],ue=$,ce=0|t[c>>2],ke=ee):(le=oe,ue=se,ce=f,ke=Ge),l=((0|((0|ce)<(0|(s=(ue-le|0)>>2))?ce:s))/30&-1)+1|0,mr=0-ce|0,Or=Fr;e:for(;;){be=mr-l|0,yr=Or;r:for(;;){Br=(0|yr)<(0|Lr)&(0|(Ar=yr+1|0))>=(0|Ir),de=0|t[(ke+(Ar<<2)|0)>>2];do{if(Br){if((0|de)>(0|l)){jr=77;break e}}else{if(he=de-(_e=0|t[(ke+(yr<<2)|0)>>2])|0,(0|de)==(0|_e))break;if((0|he)>(0|mr)){T=he,Rr=Ar;break r}if((0|he)<(0|be)){jr=77;break e}}}while(0);if(!((0|Ar)<(0|zr))){jr=50;break e}yr=Ar}if(A=(0|((0|T)>-1?T:0-T|0))>(0|l)?T:mr+1|0,!((0|Rr)<(0|zr))){jr=50;break}mr=A,Or=Rr}if(50==(0|jr)){Ee=S<<1,(0|ce)<0?(Hi(e),re=0|t[w>>2],me=ie=0|t[_>>2],we=re,pe=ie):(me=le,we=ue,pe=ke),Se=(0|Ee)<(0|(we-me|0)>>2);do{if(Se){if(ve=(1-Fr|0)+Ir|0,Ae=0|t[(pe+(Fr<<2)|0)>>2],ye=(0|(0|k(Ae,ve)))/2&-1,Re=(zr+1|0)-Lr|0,ge=0|t[(pe+(zr<<2)|0)>>2],Fe=((0|(0|k(ge,Re)))/2&-1)+ye|0,(0|(0|t[c>>2]))<0&&Hi(e),(0|Ir)<1?jr=59:((0|(0|t[c>>2]))<0&&Hi(e),(0|((0|t[w>>2])-(Me=0|t[_>>2])|0)>>2)<(0|Ir)?jr=59:(g=Ir,M=Me)),59==(0|jr)&&((0|(0|t[c>>2]))<0&&Hi(e),g=((0|t[w>>2])-(De=0|t[_>>2])|0)>>2,M=De),R=g+-1|0,Te=M,(0|g)>(0|Fr))for(Er=0,pr=Fr;;){if(Ne=(0|t[(Te+(pr<<2)|0)>>2])+Er|0,Ce=pr+1|0,!((0|pr)<(0|R))){_r=Ne;break}Er=Ne,pr=Ce}else _r=0;if((0|(0|t[c>>2]))<0&&Hi(e),(0|zr)<0?jr=70:((0|(0|t[c>>2]))<0&&Hi(e),(0|((0|t[w>>2])-(Ie=0|t[_>>2])|0)>>2)>(0|zr)?(y=zr,F=Ie):jr=70),70==(0|jr)&&((0|(0|t[c>>2]))<0&&Hi(e),y=(((0|t[w>>2])-(xe=0|t[_>>2])|0)>>2)+-1|0,F=xe),He=F,(0|y)>(0|Lr))for(hr=0,vr=Lr;;){if(Be=(0|t[(He+((Sr=vr+1|0)<<2)|0)>>2])+hr|0,(0|Sr)==(0|y)){dr=Be;break}hr=Be,vr=Sr}else dr=0;if((0|(dr+_r|0))<(0|Fe))break;return 0|(0|a[r>>0])<<24>>24!=0}}while(0);return a[r>>0]=1,0|(0|a[r>>0])<<24>>24!=0}return 77==(0|jr)?0|(0|a[r>>0])<<24>>24!=0:0}function Ji(e){var r,i,f,n,s,l,u,c,b,k,d,_,h,E,m,w,S,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0,I=0,P=0,x=0,L=0,H=0,B=0,U=0,z=0,Y=0,V=0,X=0,W=0,j=0,K=0,G=0,q=0,J=0,Z=0,Q=0,$=0,ee=0,re=0,ie=0,ae=0,fe=0,te=0,ne=0,oe=0,se=0,le=0,ue=0,ce=0,be=0,ke=0,de=0,_e=0,he=0,Ee=0,me=0,we=0,Se=0;if(o,!((0|a[(r=(e|=0)+27|0)>>0])<<24>>24<0))return 0|(0|a[r>>0])<<24>>24!=0;if(a[r>>0]=0,(0|(0|t[(l=e+8|0)>>2]))<0&&(Hi(e),(0|(0|t[l>>2]))<0&&Hi(e)),_=e+36|0,(0|((w=0|t[(E=e+40|0)>>2])-(i=0|t[_>>2])|0))<48)return 0|(0|a[r>>0])<<24>>24!=0;if((0|(f=0|t[l>>2]))<0?(Hi(e),M=0|t[E>>2],v=0|t[_>>2],x=M,L=0|t[l>>2]):(v=i,x=w,L=f),s=(0|(n=(0|((15*((x-v|0)>>2)|0)+-15|0))/100&-1))<3?3:n,(0|L)<0?(Hi(e),H=(0|((85*(((D=0|t[E>>2])-(T=0|t[_>>2])|0)>>2)|0)+-85|0))/100&-1,(0|(0|t[l>>2]))<0?(Hi(e),N=0|t[E>>2],p=0|t[_>>2],B=N,U=H):(p=T,B=D,U=H)):(p=v,B=x,U=(0|((85*((x-v|0)>>2)|0)+-85|0))/100&-1),u=p,!((0|(k=s+2|0))<(0|(b=(0|(c=((B-p|0)>>2)+-4|0))<(0|U)?c:U))))return 0|(0|a[r>>0])<<24>>24!=0;for(ie=k;;){if(z=ie+1|0,(0|(Y=0|t[(u+((ie+-1|0)<<2)|0)>>2]))==(0|(0|t[(u+(ie<<2)|0)>>2]))){R=Y;break}if(!((0|z)<(0|b))){Se=31;break}ie=z}if(31==(0|Se))return 0|(0|a[r>>0])<<24>>24!=0;if((0|R)<0)return 0|(0|a[r>>0])<<24>>24!=0;if((0|s)<1)be=R;else for(ae=1,ke=R;;){if(g=(0|(V=0|t[(u+(ae<<2)|0)>>2]))>(0|ke)?V:ke,X=ae+1|0,!((0|ae)<(0|s))){be=g;break}ae=X,ke=g}d=(0|(S=s+1|0))<(0|b);e:do{if(d)for(ne=S,ce=R,_e=be;;){for(oe=ne,he=_e;;){if((0|(W=0|t[(u+(oe<<2)|0)>>2]))<(0|ce)){y=W,se=oe,Ee=he;break}if(F=(0|W)>(0|he)?W:he,!((0|(fe=oe+1|0))<(0|b))){ue=ce,de=F;break e}oe=fe,he=F}if(!((0|(te=se+1|0))<(0|b))){ue=y,de=Ee;break}ne=te,ce=y,_e=Ee}else ue=R,de=be}while(0);for($=u,ee=p,re=B,le=b,me=de;;){if((0|(0|t[l>>2]))<0?(Hi(e),C=0|t[E>>2],j=I=0|t[_>>2],K=C,Z=I):(j=ee,K=re,Z=$),!((0|le)<(0|(((K-j|0)>>2)+-1|0)))){O=j,A=K,we=me;break}J=Z+(le<<2)|0,$=Z,ee=Z,re=K,le=le+1|0,me=(0|(Q=0|t[J>>2]))>(0|me)?Q:me}return h=we-ue|0,(0|(0|t[l>>2]))<0?(Hi(e),P=0|t[E>>2],G=0|t[_>>2],q=P):(G=O,q=A),m=1&(0|h)<=(0|(((0|(q-G|0)>>2)/30&-1)+1|0)),a[r>>0]=m,0|(0|a[r>>0])<<24>>24!=0}function Zi(e){var r,i,f=0,n=0,o=0,s=0,l=0,u=0,c=0,b=0,k=0,d=0,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0,I=0,P=0,x=0,L=0,H=0,B=0,U=0,z=0,Y=0,V=0,X=0,W=0,j=0,K=0,G=0,q=0,J=0,Z=0,Q=0,$=0,ee=0,re=0,ie=0,ae=0,fe=0,te=0,ne=0,oe=0,se=0,le=0,ue=0,ce=0,be=0,ke=0,de=0,_e=0,he=0,Ee=0,me=0,we=0,Se=0,ve=0,pe=0,Oe=0,Ae=0,ye=0,Re=0,ge=0,Fe=0,Me=0,De=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}if((0|W)<(0|pi)){o=W,di=si;break}li=si}if((0|o)<(0|zr)){ui=di,Si=o;break}bi=di,pi=o}for(Y=Si+vr|0,ki=ui;;){if(_i=ki+-1|0,!((0|ki)>(0|oi))){ai=0;break r}if((0|(X=0|t[(V+(_i<<2)|0)>>2]))==(0|Jr)){ai=_i;break r}if((0|X)<(0|Si)){A=V,ci=_i,vi=X;continue r}if((0|X)>(0|Y))break e;ki=_i}}if(!((0|ai)<(0|oi)||((0|(0|t[Ar>>2]))<0?(Hi(e),x=0|t[Gr>>2],j=L=0|t[Yr>>2],K=x,J=L):(j=Er,K=z,J=hr),(0|ai)>(0|(((K-j|0)>>2)+-3|0))))){for(q=Jr+vr|0,Ei=oi;(0|(hi=Ei+1|0))<(0|ai);){if((0|(0|t[(J+(hi<<2)|0)>>2]))>(0|q))break e;Ei=hi}a[r>>0]=1}}}}while(0);return 0|(0|a[r>>0])<<24>>24!=0}function Qi(e,r){r|=0;var i,a,f,n,s,l,u,c,b,d=0,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0,I=0,P=0,x=0,L=0,H=0,B=0,U=0,z=0,Y=0,V=0,X=0,W=0,j=0,K=0,G=0,q=0,J=0,Z=0,Q=0,$=0;if(o,(0|(0|t[(i=(e|=0)+8|0)>>2]))<0&&(Hi(e),(0|(0|t[i>>2]))<0&&Hi(e)),f=e+36|0,(r+-25|0)>>>0>50|(0|((c=0|t[(u=e+40|0)>>2])-(b=0|t[f>>2])|0))<20)return 0|(d=0);if((0|(0|t[i>>2]))<0?(Hi(e),E=0|t[u>>2],m=0|t[f>>2],w=0|t[i>>2],A=(0|(0|k((O=(E-m|0)>>2)+-1|0,r)))/100&-1,(0|w)<0?(Hi(e),h=0|t[i>>2],F=(0|((R=0|t[u>>2])-(g=0|t[f>>2])|0)>>2)/4&-1,(0|h)<0?(Hi(e),S=0|t[u>>2],M=0|t[f>>2],D=S,T=A,N=F):(M=g,D=R,T=A,N=F)):(y=O,Y=A,V=E,X=m,$=8)):(y=p=(c-b|0)>>2,Y=(0|(0|k(p+-1|0,r)))/100&-1,V=c,X=b,$=8),8==(0|$)&&(M=X,D=V,T=Y,N=(0|y)/4&-1),s=(0|(n=(0|(a=((D-M|0)>>2)-T|0))<(0|T)?a:T))<(0|N)?n:N,P=(0|(0|Bi(e)))<2?2:0|Bi(e),!((0|s)>0))return 0|(d=0);for(l=0|t[f>>2],K=0;;){if((0|(0|t[(l+((I=K+T|0)<<2)|0)>>2]))<(0|P)){J=I;break}if(C=K+1|0,(0|(0|t[(l+((x=(T-K|0)+-1|0)<<2)|0)>>2]))<(0|P)){J=x;break}if(!((0|C)<(0|s))){d=0,$=26;break}K=C}if(26==(0|$))return 0|d;if((0|J)<0)return 0|(d=0);for(L=l,W=l,q=J;;){if(H=L,G=q+1|0,(0|(0|t[i>>2]))<0?(Hi(e),U=v=0|t[f>>2],z=B=v,j=B):(U=H,z=L,j=W),!((0|G)<(0|((0|t[u>>2])-U|0)>>2))){d=0,$=26;break}if((0|(0|t[(z+(G<<2)|0)>>2]))>(0|P)){_=j;break}L=z,W=j,q=G}if(26==(0|$))return 0|d;for(Q=J;;){if(Z=Q+-1|0,!((0|Q)>0)){d=0,$=26;break}if((0|(0|t[(_+(Z<<2)|0)>>2]))>(0|P)){d=1,$=26;break}Q=Z}return 26==(0|$)?0|d:0}function $i(e){var r,i,f,n=0,o=0,s=0,l=0,u=0,c=0,b=0,k=0,d=0,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0,I=0,P=0,x=0,L=0,H=0,B=0,U=0,z=0,Y=0;f=(i=0|a[(r=(e|=0)+29|0)>>0])<<24>>24<0;do{if(f){if((0|(O=0|t[(m=e+8|0)>>2]))<0?(Hi(e),C=0|t[m>>2]):C=O,!((0|C)<5)&&(I=e+36|0,!((0|((0|t[(P=e+40|0)>>2])-(0|t[I>>2])|0))<20)&&0|Zi(e))){for((0|(c=0|t[m>>2]))<0?(Hi(e),_=0|t[m>>2]):_=c,h=((0|((0|_)<(0|(d=((b=0|t[P>>2])-(k=0|t[I>>2])|0)>>2))?_:d))/30&-1)+1|0,E=_,D=k,T=k,N=b,x=0,L=-1,U=0;;){if((0|E)<0?(Hi(e),s=0|t[P>>2],w=l=0|t[I>>2],S=s,v=l):(w=T,S=N,v=D),!((0|x)<(0|(S-w|0)>>2))){n=w,o=S,H=L,z=U;break}B=(p=(0|(0|t[(v+(x<<2)|0)>>2]))>(0|h))?L:(0|L)<0?x:L,Y=p?U:x,A=x+1|0,E=0|t[m>>2],D=v,T=v,N=S,x=A,L=B,U=Y}(0|H)>0?(y=((z-H|0)<<2)+4|0,(0|(0|t[m>>2]))<0?(Hi(e),u=0|t[P>>2],R=0|t[I>>2],g=u):(R=n,g=o),F=1&(0|y)<(0|(g-R|0)>>2)):F=0,a[r>>0]=F,M=F;break}return a[r>>0]=0,0|0}M=i}while(0);return 0|M<<24>>24!=0}function ea(e){var r,i,f,n,s=0,l=0,u=0,c=0,b=0,k=0,d=0,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0,I=0,P=0,x=0,L=0,H=0,B=0,U=0,z=0,Y=0,V=0;if(o,!((0|a[(r=(e|=0)+30|0)>>0])<<24>>24<0))return 0|(0|a[r>>0])<<24>>24!=0;if(a[r>>0]=0,(0|(0|t[(i=e+8|0)>>2]))<0&&(Hi(e),(0|(0|t[i>>2]))<0&&Hi(e)),f=e+36|0,(0|((0|t[(n=e+40|0)>>2])-(0|t[f>>2])|0))<20)return 0|(0|a[r>>0])<<24>>24!=0;(0|(0|Bi(e)))<2&&(0|(0|ra(e)))>2?_=2:V=8,8==(0|V)&&(_=0|Bi(e)),y=0,R=0,M=0,C=0,x=0,B=0;e:for(;;){if((0|(0|t[i>>2]))<0&&Hi(e),!((0|y)<(0|((b=0|t[n>>2])-(k=0|t[f>>2])|0)>>2))){g=R,D=M,I=C,L=x,U=B,V=36;break}d=0|t[(k+(y<<2)|0)>>2];r:do{switch(0|C){case 0:if(!((0|d)<(0|_))){if(!((0|d)>(0|_))){F=R,T=M,P=0,H=x,z=B;break r}F=R,T=M,P=0,H=x+1|0,z=d+B|0;break r}if((0|(0|t[i>>2]))<0?(Hi(e),u=0|t[n>>2],h=0|t[f>>2],E=u):(h=k,E=b),(0|y)<(0|(0|((25*((E-h|0)>>2)|0)+-25|0))/100&-1)){V=43;break e}if((0|(0|t[i>>2]))<0?(Hi(e),c=0|t[n>>2],m=0|t[f>>2],w=c):(m=h,w=E),(0|y)>(0|(0|((70*((w-m|0)>>2)|0)+-70|0))/100&-1)){V=43;break e}F=R,T=M,P=1,H=x,z=B;break;case 1:if(!((0|d)>(0|_))){if(!((0|d)<(0|_))){F=R,T=M,P=1,H=x,z=B;break r}F=R+1|0,T=d+M|0,P=1,H=x,z=B;break r}if((0|(0|t[i>>2]))<0?(Hi(e),s=0|t[n>>2],S=0|t[f>>2],v=s):(S=k,v=b),(0|y)<(0|(0|((30*((v-S|0)>>2)|0)+-30|0))/100&-1)){V=43;break e}if((0|(0|t[i>>2]))<0?(Hi(e),l=0|t[n>>2],p=0|t[f>>2],O=l):(p=S,O=v),(0|y)>(0|(0|((75*((O-p|0)>>2)|0)+-75|0))/100&-1)){V=43;break e}F=R,T=M,P=2,H=x,z=B;break;case 2:if((0|d)<(0|_)){V=43;break e}(0|d)>(0|_)?(F=R,T=M,P=2,H=x+1|0,z=d+B|0):(F=R,T=M,P=2,H=x,z=B);break;default:F=R,T=M,P=C,H=x,z=B}}while(0);y=y+1|0,R=F,M=T,C=P,x=H,B=z}return 36==(0|V)?(Y=(0|L)>1?(0|U)/(0|L)&-1:U,N=(0|g)>1?(0|D)/(0|g)&-1:D,A=2==(0|I)?1&(0|(Y-N|0))>(0|(0|(0|ra(e)))/2&-1):0,a[r>>0]=A,0|(0|a[r>>0])<<24>>24!=0):43==(0|V)?0|(0|a[r>>0])<<24>>24!=0:0}function ra(e){var r,i,a,f,n,s,l,u,c,b=0,k=0,d=0,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0;if(o,(0|(i=0|t[(r=(e|=0)+12|0)>>2]))<0){for((0|(0|t[(w=e+8|0)>>2]))<0&&Hi(e),g=0|t[(R=e+36|0)>>2],F=0|t[g>>2],t[r>>2]=F,M=e+40|0,d=g,D=1;_=d,(0|(0|t[w>>2]))<0?(Hi(e),h=b=0|t[R>>2],E=b):(h=_,E=d),(0|D)<(0|((0|t[M>>2])-h|0)>>2);)(0|(m=0|t[(E+(D<<2)|0)>>2]))>(0|(0|t[r>>2]))&&(t[r>>2]=m),d=E,D=D+1|0;y=0|t[r>>2]}else y=i;if(!((0|(f=0|t[(a=e+16|0)>>2]))<0))return 0|(y-f|0);for((0|(0|t[(n=e+8|0)>>2]))<0&&Hi(e),l=0|t[(s=e+36|0)>>2],u=0|t[l>>2],t[a>>2]=u,c=e+40|0,S=l,T=1;v=S,(0|(0|t[n>>2]))<0?(Hi(e),p=k=0|t[s>>2],O=k):(p=v,O=S),(0|T)<(0|((0|t[c>>2])-p|0)>>2);)(0|(A=0|t[(O+(T<<2)|0)>>2]))<(0|(0|t[a>>2]))&&(t[a>>2]=A),S=O,T=T+1|0;return 0|(y-(0|t[a>>2])|0)}function ia(e){var r,i,f,n=0,o=0,s=0,l=0,u=0,c=0,b=0,k=0,d=0,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0,I=0,P=0,x=0,L=0,H=0,B=0,U=0,z=0;f=(i=0|a[(r=(e|=0)+31|0)>>0])<<24>>24<0;do{if(f){if((0|(S=0|t[(h=e+8|0)>>2]))<0?(Hi(e),y=0|t[h>>2]):y=S,!((0|y)<5)&&(R=e+36|0,!((0|((0|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],_e=0|t[E>>2],he=M):(_e=G,he=be),V=_e,X=_e,W=_e,j=he,K=_e,pe=le+((he-_e|0)>>2)|0,xe=ke):(V=z,X=Y,W=oe,j=se,K=w,pe=ve,xe=Pe),Ae=-1^Re,!((0|(Ee=Re+1|0))<(0|h))){me=Oe,Se=pe,Ne=S,Ie=xe;break}L=V,H=X,B=W,U=j,fe=K,we=Oe,ve=pe,ye=Ae,Re=Ee,Ce=S,Pe=xe}else me=0,Se=x,Ne=l,Ie=d;if(!((0|Ie)<(0|r)&(0|Ne)<(0|r)))return 0|(0|a[i>>0])<<24>>24!=0;if(!((0|(3*Ne|0))<(0|(0|ra(e))<<1)))return 0|(0|a[i>>0])<<24>>24!=0;if(!((0|(3*Ie|0))<(0|(0|ra(e))<<1)))return 0|(0|a[i>>0])<<24>>24!=0;n=(f=(0|Ne)<(0|Ie)?Ie:Ne)+1|0,ge=me,Le=0;e:for(;;)switch(0|Le){case 0:if(!((0|(Fe=ge+1|0))<(0|Se))){He=0,Be=39;break e}D=0|t[E>>2],ge=Fe,Le=1&(0|(0|t[(D+(Fe<<2)|0)>>2]))>(0|n);continue e;case 1:if(!((0|(Me=ge+1|0))<(0|Se))){He=0,Be=39;break e}T=0|t[E>>2],ge=Me,Le=(0|(0|t[(T+(Me<<2)|0)>>2]))>(0|n)?2:0;continue e;case 2:if(!((0|(De=ge+1|0))<(0|Se))){He=1,Be=39;break e}N=0|t[E>>2],ge=De,Le=(0|(0|t[(N+(De<<2)|0)>>2]))>(0|f)?2:3;continue e;case 3:if(!((0|(Te=ge+1|0))<(0|Se))){He=1,Be=39;break e}if(C=0|t[E>>2],(0|(0|t[(C+(Te<<2)|0)>>2]))>(0|n)){Be=40;break e}ge=Te,Le=3;continue e;default:Be=38;break e}if(38==(0|Be));else{if(39==(0|Be))return a[i>>0]=He,0|(0|a[i>>0])<<24>>24!=0;if(40==(0|Be))return 0|(0|a[i>>0])<<24>>24!=0}return 0}function fa(e,r){r|=0;var i,a,f,n,s,l,u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=le,he=17):(v=W,be=le,_e=d)}else ue=-1,he=17}while(0);do{if(17==(0|he)){if(!(0==(0|(0|Bi(e)))))return 0|(S=0);if(q=d+-1|0,!_)return 0|(S=0);for(J=0|t[f>>2],ne=0;;){if(!((0|(0|t[(J+((Q=ne+V|0)<<2)|0)>>2]))<(0|d))){ce=Q;break}if(Z=ne+1|0,!((0|(0|t[(J+(($=(V-ne|0)+-1|0)<<2)|0)>>2]))<(0|d))){ce=$;break}if(!((0|Z)<(0|s))){ce=ue;break}ne=Z}if((0|ce)<0)return 0|(S=0);v=0|t[f>>2],be=ce,_e=q;break}}while(0);for(w=(0|_e)<(0|(m=(0|(0|t[(v+(be<<2)|0)>>2]))/2&-1))?m:_e,N=v,ee=v,se=be;;){if(re=ee,oe=se+1|0,(0|(0|t[i>>2]))<0?(Hi(e),C=ie=F=0|t[f>>2],ae=F,fe=ie):(C=N,ae=re,fe=ee),!((0|oe)<(0|((0|t[b>>2])-ae|0)>>2))){S=0,he=33;break}if((0|(0|t[(fe+(oe<<2)|0)>>2]))<(0|w)){p=C;break}N=C,ee=fe,se=oe}if(33==(0|he))return 0|S;for(de=be;;){if(ke=de+-1|0,!((0|de)>0)){S=0,he=33;break}if((0|(0|t[(p+(ke<<2)|0)>>2]))<(0|w)){S=1,he=33;break}de=ke}return 33==(0|he)?0|S:0}function ta(e){var r,i,a,f,n,s,l,u,c,b,k,d=0,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0,I=0,P=0,x=0,L=0,H=0,B=0,U=0,z=0,Y=0,V=0,X=0,W=0,j=0,K=0,G=0,q=0,J=0,Z=0,Q=0,$=0,ee=0,re=0,ie=0,ae=0,fe=0,te=0,ne=0,oe=0,se=0,le=0,ue=0,ce=0;if(o,(0|(0|t[(r=(e|=0)+8|0)>>2]))<0&&(Hi(e),(0|(0|t[r>>2]))<0&&Hi(e)),s=e+36|0,(0|((c=0|t[(u=e+40|0)>>2])-(k=0|t[s>>2])|0))<20)return 0;if((0|(0|t[r>>2]))<0?(Hi(e),v=0|t[u>>2],d=0|t[s>>2],R=v):(d=k,R=c),i=d,a=((0|(R-d|0)>>2)/30&-1)+1|0,!((0|(0|t[d>>2]))>(0|a)))return 0;if((0|(n=0|t[(f=e+16|0)>>2]))<0){for((0|(0|t[r>>2]))<0?(Hi(e),F=O=0|t[s>>2],G=O):(F=i,G=d),g=0|t[F>>2],t[f>>2]=g,M=F,q=G,J=F,Z=G,se=1;;){if(D=M,(0|(0|t[r>>2]))<0?(Hi(e),C=p=0|t[s>>2],I=T=p,Q=p,$=T,ee=p):(C=D,I=M,Q=q,$=J,ee=Z),!((0|se)<(0|((N=0|t[u>>2])-C|0)>>2))){E=Q,m=$,w=ee,S=N;break}(0|(P=0|t[(I+(se<<2)|0)>>2]))<(0|(0|t[f>>2]))&&(t[f>>2]=P),M=I,q=Q,J=$,Z=ee,se=se+1|0}z=0|t[f>>2],X=E,W=m,j=w,K=S}else z=n,X=d,W=i,j=d,K=R;for(x=l=0|t[r>>2],re=X,ie=W,ae=j,fe=K,oe=0,le=l;;){if((0|x)<0?(Hi(e),A=0|t[u>>2],L=y=0|t[s>>2],H=A,B=y,te=y):(L=ae,H=fe,B=ie,te=re),!((0|oe)<(0|(((H-L|0)>>2)-a|0)))){_=te,h=H,ne=0;break}if(Y=B,(0|(U=0|t[(B+(oe<<2)|0)>>2]))==(0|z)){_=te,h=H,ne=oe;break}if((0|U)<(0|le))ue=U;else{if((0|U)>(0|(le+a|0))){ce=31;break}ue=le}V=oe+1|0,x=0|t[r>>2],re=te,ie=B,ae=Y,fe=H,oe=V,le=ue}return 31==(0|ce)?0:(0|ne)>(0|a)?(b=ne<<1,(0|(0|t[r>>2]))<0?(Hi(e),0|(0|b)<=(0|((0|t[u>>2])-(0|t[s>>2])|0)>>2)):0|(0|b)<=(0|(h-_|0)>>2)):0}function na(e){var r,i,a,f,n,s,l,u,c,b,k=0,d=0,_=0,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Z=f,ee=k,re=k,ie=i,ae=k,fe=P;(0|(l=0|t[r>>2]))<0?(Hi(e),y=0|t[s>>2],M=R=0|t[n>>2],D=R,j=R,K=y,q=R):(M=ee,D=re,j=ae,K=fe,q=ie),we=(K-j|0)>>2,Se=l;e:for(;;)for(G=Se+x|0,Ee=we;;){if(_e=Ee+-1|0,!((0|Ee)>(0|x))){T=M,N=K,de=0;break e}if((0|(J=0|t[(q+(_e<<2)|0)>>2]))==(0|Z)){me=Ee,ve=27;break e}if((0|J)<(0|Se)){we=_e,Se=J;continue e}if((0|J)>(0|G)){ve=36;break e}Ee=_e}return 36==(0|ve)?0:(27==(0|ve)&&((0|(0|t[r>>2]))<0?(Hi(e),g=0|t[s>>2],C=F=0|t[n>>2],Q=F,$=g):(C=M,Q=D,$=K),T=C,N=$,de=((1-me|0)+-1|0)+(($-Q|0)>>2)|0),(0|de)>(0|x)?(b=de<<1,(0|(0|t[r>>2]))<0?(Hi(e),0|(0|b)<=(0|((0|t[s>>2])-(0|t[n>>2])|0)>>2)):0|(0|b)<=(0|(N-T|0)>>2)):0)}function oa(e){var r,i,a,f,n,s,l=0,u=0,c=0,b=0,k=0,d=0,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0,I=0,P=0,x=0,L=0,H=0,B=0,U=0;for(o,(0|(0|t[(r=(e|=0)+8|0)>>2]))<0&&(Hi(e),(0|(0|t[r>>2]))<0&&Hi(e)),a=e+36|0,n=0|t[(f=e+40|0)>>2],y=s=0|t[a>>2],R=s,g=n,T=i=((0|(n-s|0)>>2)/30&-1)+1|0,C=0,H=0;;){if((0|(0|t[r>>2]))<0?(Hi(e),b=0|t[f>>2],h=k=0|t[a>>2],E=b,m=k):(h=R,E=g,m=y),!((0|T)<(0|(((E-h|0)>>2)-i|0)))){l=m,u=h,c=E,I=C,B=H;break}N=(S=(0|(w=0|t[(m+(T<<2)|0)>>2]))>(0|H))?T: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|E)){if((0|ne)==(0|u)){m=D,w=T,S=N,G=K,ee=$,ke=18;break}J=K,se=ne,ue=0}else J=K,se=ne,ue=le;x=$+1|0,M=0|t[a>>2],K=J,$=x,ne=se,le=ue}if(18==(0|ke)&&(X=S,W=w,j=m,q=G,re=ee+-1|0,oe=u),(0|(0|t[a>>2]))<0?(Hi(e),O=0|t[b>>2],L=A=0|t[c>>2],H=O,B=A):(L=W,H=j,B=X),!((0|oe)==(0|u)))return 0|0;if((0|q)>(0|(h=(((0|re)>=(0|(H-L|0)>>2))<<31>>31)+re|0)))Z=q,ce=l;else for(Q=q,te=q,be=l;;){if(fe=(z=(0|(U=0|t[(B+(te<<2)|0)>>2]))<(0|be))?te:Q,y=z?U:be,Y=te+1|0,!((0|te)<(0|h))){Z=fe,ce=y;break}Q=fe,te=Y,be=y}k=(0|h)<(0|Z);e:do{if(k)ie=h;else for(ae=h;;){if((0|(0|t[(B+(ae<<2)|0)>>2]))==(0|ce)){ie=ae;break e}if(V=ae+-1|0,!((0|ae)>(0|Z))){ie=V;break}ae=V}}while(0);return 0|(0|(ie+Z|0))/2&-1}function la(e,r){r|=0;var i,a,f,n,s,l,u,c,b=0,k=0,d=0,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0;if(o,(0|(0|t[(i=(e|=0)+8|0)>>2]))<0&&(Hi(e),(0|(0|t[i>>2]))<0&&Hi(e)),u=e+36|0,(0|(0|t[(c=e+40|0)>>2]))==(0|(0|t[u>>2])))return 0|(k=0);if(b=(0|r)<1?(0|(0|Bi(e)))<2?2:0|Bi(e):r,n=((0|(a=0|t[i>>2]))/80&-1)+b|0,(0|(f=b-((0|(((0|a)/40&-1)+1|0))/2&-1)|0))<1)return 0|(k=1);for(_=a,p=s=0|t[u>>2],O=s,A=s,g=1,F=l=1&(0|(0|t[s>>2]))<(0|f),D=l;;){if((0|_)<0?(Hi(e),E=d=0|t[u>>2],m=h=d,S=h):(E=A,m=p,S=O),!((0|g)<(0|((0|t[c>>2])-E|0)>>2))){k=F;break}switch(0|D){case 0:y=m,R=m,M=(1&(w=(0|(0|t[(m+(g<<2)|0)>>2]))<(0|f)))+F|0,T=1&w;break;case 1:y=S,R=S,M=F,T=1&(0|(0|t[(S+(g<<2)|0)>>2]))<=(0|n);break;default:y=S,R=E,M=F,T=D}v=g+1|0,_=0|t[i>>2],p=m,O=y,A=R,g=v,F=M,D=T}return 0|k}function ua(e,r){r|=0;var i,a,f,n,s,l,u,c,b,d,_,h,E,m,w,S,v,p,O,A,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0,I=0,P=0,x=0,L=0,H=0,B=0,U=0,z=0,Y=0,V=0,X=0,W=0,j=0,K=0,G=0,q=0,J=0,Z=0,Q=0,$=0,ee=0,re=0,ie=0,ae=0,fe=0,te=0,ne=0;if(o,(0|(0|t[(f=(e|=0)+8|0)>>2]))<0&&(Hi(e),(0|(0|t[f>>2]))<0&&Hi(e)),m=e+36|0,(0|((O=0|t[(w=e+40|0)>>2])-(A=0|t[m>>2])|0))<20)return 0|(y=0);if((0|(n=0|t[f>>2]))<0?(Hi(e),M=0|t[w>>2],R=0|t[m>>2],L=M,H=0|t[f>>2]):(R=A,L=O,H=n),u=0|t[((i=R)+((l=(s=(0|(L-R|0)>>2)/30&-1)+1|0)<<2)|0)>>2],c=(0|((0|t[(i+((s+2|0)<<2)|0)>>2])+u|0))/2&-1,(0|H)<0?(Hi(e),D=0|t[w>>2],g=0|t[m>>2],B=D):(g=R,B=L),d=(b=((B-g|0)>>2)-l|0)+-1|0,_=0|t[((a=g)+((b+-2|0)<<2)|0)>>2],E=((0|((0|t[(a+(d<<2)|0)>>2])+_|0))/2&-1)-c|0,(0|(h=d-l|0))<1)return 0|(y=0);(0|(0|t[f>>2]))<0?(Hi(e),T=0|t[w>>2],N=0|t[m>>2],C=0|t[f>>2],U=0|k(((0|(T-N|0)>>2)/20&-1)+2|0,h),(0|C)<0?(Hi(e),I=0|t[w>>2],F=0|t[m>>2],z=I,Z=U):(F=N,z=T,Z=U)):(F=g,z=B,Z=0|k(((0|(B-g|0)>>2)/20&-1)+2|0,h)),S=F,v=(0|(z-F|0)>>2)/10&-1,p=0|k(h,c),ee=S,re=F,ie=z,ae=v,te=0;e:for(;;){if((0|(0|t[f>>2]))<0?(Hi(e),P=0|t[w>>2],Y=x=0|t[m>>2],V=P,W=x):(Y=re,V=ie,W=ee),!((0|te)<(0|(V-Y|0)>>2))){ne=25;break}X=(0|k(te-l|0,E))+p|0,j=0|t[(W+(te<<2)|0)>>2],J=(0|(q=(0|(G=(K=0|k(j,h))-X|0))>-1?G:0-G|0))<(0|Z),Q=W;do{if(J)fe=ae;else{if(!((0|K)<(0|X))&&!((0|te)>(0|s)&(0|te)<(0|b))){fe=ae;break}if((0|q)>(0|Z)){y=0,ne=27;break e}if((0|q)==(0|Z)){if($=ae+-1|0,(0|ae)<1){y=0,ne=27;break e}fe=$}else fe=ae}}while(0);ee=W,re=Q,ie=V,ae=fe,te=te+1|0}return 25==(0|ne)?0==(0|r)?0|(y=1):(t[r>>2]=E,0|(y=1)):27==(0|ne)?0|y:0}function ca(e,r){r|=0;var i,a=0,f=0,n=0;return o,(0|(i=0|t[((e|=0)+4|0)>>2]))>(0|r)?-1:(0|(0|t[(e+12|0)>>2]))<(0|r)?-1:(f=r-i|0,n=0|t[(e+16|0)>>2],0|((0|(a=0|t[(n+(f<<3)|0)>>2]))<=(0|(0|t[(4+(n+(f<<3)|0)|0)>>2]))?a:-1))}function ba(e,r){r|=0;var i,a=0,f=0,n=0;return o,(0|(i=0|t[((e|=0)+4|0)>>2]))>(0|r)?-1:(0|(0|t[(e+12|0)>>2]))<(0|r)?-1:(f=r-i|0,n=0|t[(e+16|0)>>2],0|((0|(0|t[(n+(f<<3)|0)>>2]))<=(0|(a=0|t[(4+(n+(f<<3)|0)|0)>>2]))?a:-1))}function ka(e,r,i,a){r|=0,i|=0,a|=0;var f,n,s,l,u,c,b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2]=C,0==(0|I)?0|(Re=pe):(vf(I),0|(Re=pe))}if((X=(l-u|0)>>3)>>>0<i>>>0){for(_=i-X|0,v=s;;){if(j=0|t[(W=a)>>2],K=0|t[(W+4|0)>>2],t[(G=v)>>2]=j,t[(G+4|0)>>2]=K,q=(0|t[k>>2])+8|0,t[k>>2]=q,0==(0|(J=_+-1|0))){O=q;break}_=J,v=q}if(0==(0|X))return 0|(Re=u);S=X,Z=O}else S=i,Z=s;if((ee=u+(($=(Q=Z-(u+(i<<3)|0)|0)>>3)<<3)|0)>>>0<s>>>0)for(p=Z,ye=ee;ie=0|t[(re=ye)>>2],ae=0|t[(re+4|0)>>2],t[(fe=p)>>2]=ie,t[(fe+4|0)>>2]=ae,te=ye+8|0,ne=(0|t[k>>2])+8|0,t[k>>2]=ne,te>>>0<s>>>0;)p=ne,ye=te;for(Lf(0|(Z+((0-$|0)<<3)|0),0|u,0|Q),Fe=u>>>0>a>>>0?a:(0|t[k>>2])>>>0>a>>>0?a+(i<<3)|0:a,m=S,w=u;;){if(se=0|t[(oe=Fe)>>2],le=0|t[(oe+4|0)>>2],t[(ue=w)>>2]=se,t[(ue+4|0)>>2]=le,ce=w+8|0,0==(0|(be=m+-1|0))){Re=u;break}m=be,w=ce}return 0|Re}function da(e,r){r|=0;var i,a,f,n,s,l,u,c,b,k,d,_,h,E,m,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0,I=0,P=0,x=0,L=0,H=0,B=0,U=0,z=0,Y=0,V=0;if(o,a=0|t[(i=(e|=0)+8|0)>>2],m=u=0|t[(l=e+4|0)>>2],!((a-u|0)>>3>>>0<r>>>0)){for(w=r,z=m;t[z>>2]=1,t[(z+4|0)>>2]=0,y=z+8|0,!(0==(0|(R=w+-1|0)));)w=R,z=y;return Y=m+(r<<3)|0,void(t[l>>2]=Y)}for((n=((u-(f=0|t[e>>2])|0)>>3)+r|0)>>>0>536870911?(mf(e),A=0|t[i>>2],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r,0),n=c,c=0,1&n)he=0|q(),b,N=he;else{if(J=e+104|0,ee=0|t[e>>2],c=0,P(160,0|J,0|ee,1),ae=c,c=0,1&ae)Ee=0|q(),D=b,T=Ee;else{if(fe=e+152|0,te=0|t[e>>2],c=0,P(160,0|fe,0|te,2),ne=c,c=0,1&ne)me=0|q(),F=b,M=me;else{if(oe=e+200|0,se=0|t[e>>2],c=0,P(160,0|oe,0|se,3),le=c,c=0,1&le)we=0|q(),R=b,g=we;else{if(ue=e+248|0,ce=0|t[e>>2],c=0,P(160,0|ue,0|ce,4),be=c,c=0,1&be)Se=0|q(),A=b,y=Se;else{if(ke=e+296|0,de=0|t[e>>2],c=0,P(160,0|ke,0|de,5),_e=c,c=0,!(1&_e))return;ve=0|q(),pe=b,Ae=Oe=0|t[(e+284|0)>>2],0==(0|Oe)?(A=pe,y=ve):((0|(Re=0|t[(ye=e+288|0)>>2]))==(0|Oe)||(Xe=Re+((-1^((Re+-4|0)-Ae|0)>>>2)<<2)|0,t[ye>>2]=Xe),vf(Oe),A=pe,y=ve)}Fe=ge=0|t[(e+236|0)>>2],0==(0|ge)?(R=A,g=y):((0|(De=0|t[(Me=e+240|0)>>2]))==(0|ge)||(Ke=De+((-1^((De+-4|0)-Fe|0)>>>2)<<2)|0,t[Me>>2]=Ke),vf(ge),R=A,g=y)}Ne=Te=0|t[(e+188|0)>>2],0==(0|Te)?(F=R,M=g):((0|(Ie=0|t[(Ce=e+192|0)>>2]))==(0|Te)||(Ge=Ie+((-1^((Ie+-4|0)-Ne|0)>>>2)<<2)|0,t[Ce>>2]=Ge),vf(Te),F=R,M=g)}xe=Pe=0|t[(e+140|0)>>2],0==(0|Pe)?(D=F,T=M):((0|(He=0|t[(Le=e+144|0)>>2]))==(0|Pe)||(qe=He+((-1^((He+-4|0)-xe|0)>>>2)<<2)|0,t[Le>>2]=qe),vf(Pe),D=F,T=M)}Ue=Be=0|t[(e+92|0)>>2],0==(0|Be)?(D,N=T):((0|(Ye=0|t[(ze=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0|t[e>>2],E=((0|t[(b+12|0)>>2])+1|0)-(0|t[(b+4|0)>>2])|0,f=0|t[(m=e+36|0)>>2],u=n=0|t[i>>2],c=f,E>>>0>(l=(0|(f-n|0))/12&-1)>>>0)Ea(i,E-l|0);else if(E>>>0<l>>>0&&!((0|c)==(0|(v=u+(12*E|0)|0))))for(O=c;p=O+-12|0,t[m>>2]=p,y=A=0|t[p>>2],0==(0|A)?R=p:((0|(F=0|t[(g=O+-8|0)>>2]))==(0|A)||(oe=F+((-1^((F+-8|0)-y|0)>>>3)<<3)|0,t[g>>2]=oe),vf(A),R=0|t[m>>2]),!((0|R)==(0|v));)O=R;if(k=0|t[e>>2],(0|(d=0|t[(k+4|0)>>2]))>(0|(0|t[(k+12|0)>>2])))o=w;else{for(h=r+4|0,S=k,re=-1,ne=d;;){if((0|(M=0|t[S>>2]))>(0|(D=0|t[(S+8|0)>>2])))N=S,ie=re;else for(C=S,U=D,ee=M,ae=re;;){I=ne-(0|t[(C+4|0)>>2])|0,P=0|t[(C+16|0)>>2],x=ee-(0|t[C>>2])|0,L=0|t[(P+(12*I|0)|0)>>2],B=(0|(fe=(0|ae)<0&(H=(0|a[(L+x|0)>>0])<<24>>24!=0)?ee:ae))>-1;do{if(B){if((0|ee)==(0|U)|1^H){if(z=ne-(0|t[(C+4|0)>>2])|0,Y=0|t[i>>2],V=ee-(1^1&H)|0,t[r>>2]=fe,t[h>>2]=V,(0|(W=0|t[(X=4+(Y+(12*z|0)|0)|0)>>2]))==(0|(0|t[(8+(Y+(12*z|0)|0)|0)>>2]))){ma(Y+(12*z|0)|0,r),te=-1;break}K=0|t[(j=r)>>2],G=0|t[(j+4|0)>>2],t[(q=W)>>2]=K,t[(q+4|0)>>2]=G,J=(0|t[X>>2])+8|0,t[X>>2]=J,te=-1;break}te=fe}else te=fe}while(0);if(Z=ee+1|0,Q=0|t[e>>2],!((0|ee)<(0|($=0|t[(Q+8|0)>>2])))){N=Q,ie=te;break}C=Q,U=$,ee=Z,ae=te}if(T=ne+1|0,!((0|ne)<(0|(0|t[(N+12|0)>>2]))))break;S=N,re=ie,ne=T}o=w}}function Ea(e,r){r|=0;var i,a,f,n,s,l,u,k,d,_,h,E,m,w,S,v,p,O,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,I=0,P=0,x=0,L=0,H=0,B=0,U=0,z=0,Y=0,V=0,X=0,W=0,j=0,K=0,G=0,J=0,Z=0,Q=0,$=0,ee=0,re=0,ae=0,fe=0,te=0,ne=0,oe=0,se=0,le=0,ue=0,ce=0,be=0,ke=0,de=0,_e=0,he=0,Ee=0,me=0,we=0,Se=0,ve=0,pe=0,Oe=0,Ae=0,ye=0;if(o,a=0|t[(i=(e|=0)+8|0)>>2],p=k=0|t[(l=e+4|0)>>2],!(((0|(a-k|0))/12&-1)>>>0<r>>>0)){for(A=r,ce=p;t[ce>>2]=0,t[(ce+4|0)>>2]=0,t[(ce+8|0)>>2]=0,P=ce+12|0,!(0==(0|(x=A+-1|0)));)A=x,ce=P;return pe=p+(12*r|0)|0,void(t[l>>2]=pe)}for((n=((0|(k-(f=0|t[e>>2])|0))/12&-1)+r|0)>>>0>357913941?(mf(e),T=0|t[i>>2],M=0|t[e>>2],L=T):(M=f,L=a),s=M,(u=(0|(L-M|0))/12&-1)>>>0<178956970?(U=(B=u<<1)>>>0<n>>>0?n:B,Y=(0|((z=0|t[l>>2])-M|0))/12&-1,V=z,0==(0|U)?(R=0,X=0,W=Y,J=V):(y=U,N=V,I=Y,ye=9)):(y=357913941,N=H=0|t[l>>2],I=(0|(H-M|0))/12&-1,ye=9),9==(0|ye)&&(R=y,X=0|gf(12*y|0),W=I,J=N),_=X+(12*R|0)|0,g=r,j=d=X+(12*W|0)|0;t[j>>2]=0,t[(j+4|0)>>2]=0,t[(j+8|0)>>2]=0,K=j+12|0,!(0==(0|(G=g+-1|0)));)g=G,j=K;h=d,E=_,m=O=d+(12*r|0)|0,w=(0|J)==(0|s);do{if(w)ae=h,fe=M;else{for(F=J,Z=d,Se=h;;){if(c=0,C(81,0|(Z+-12|0),0|(Q=F+-12|0)),$=c,c=0,1&$){ve=Se;break}if(re=ee=Se+-12|0,(0|Q)==(0|s)){D=re,ye=15;break}F=Q,Z=ee,Se=re}if(15==(0|ye)){ae=D,fe=0|t[e>>2];break}if(be=0|q(),b,!((0|O)==(0|(ke=ve))))for(_e=O;Ee=he=0|t[(de=_e+-12|0)>>2],0==(0|he)||((0|(we=0|t[(me=_e+-8|0)>>2]))==(0|he)||(Oe=we+((-1^((we+-8|0)-Ee|0)>>>3)<<3)|0,t[me>>2]=Oe),vf(he)),!((0|de)==(0|ke));)_e=de;0==(0|X)&&ie(0|be),vf(X),ie(0|be)}}while(0);if(t[e>>2]=ae,S=0|t[l>>2],t[l>>2]=m,t[i>>2]=E,!((0|S)==(0|(v=fe))))for(ne=S;se=oe=0|t[(te=ne+-12|0)>>2],0==(0|oe)||((0|(ue=0|t[(le=ne+-8|0)>>2]))==(0|oe)||(Ae=ue+((-1^((ue+-8|0)-se|0)>>>3)<<3)|0,t[le>>2]=Ae),vf(oe)),!((0|te)==(0|v));)ne=te;0==(0|fe)||vf(fe)}function ma(e,r){r|=0;var i,a,f,n,o,s,l,u,c,b,k,d,_,h,E,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0;(_=(((0|t[(i=(e|=0)+4|0)>>2])-(a=0|t[e>>2])|0)>>3)+1|0)>>>0>536870911?(mf(e),S=0|t[e>>2]):S=a,(E=(0|t[(h=e+8|0)>>2])-S|0)>>3>>>0<268435455?(O=(p=E>>2)>>>0<_>>>0?_:p,y=((A=0|t[i>>2])-S|0)>>3,0==(0|O)?(w=0,R=0,g=y,F=A):(m=O,M=A,D=y,T=6)):(m=536870911,M=v=0|t[i>>2],D=(v-S|0)>>3,T=6),6==(0|T)&&(w=m,R=0|gf(m<<3),g=D,F=M),f=R+(g<<3)|0,n=R+(w<<3)|0,s=0|t[(o=r)>>2],l=0|t[(o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)?Pe:Ji,(0|Ci)<(0|(Le-xe|0))){Mi=Ri,ji=g,$i=Zi,fa=1;break a}Wi=g,Qi=Zi}else Wi=Xi,Qi=Ji}while(0);ze=(Ue=Qi-Wi|0)+1|0,Ye=(0|Ri)>(0|(Be=(((0|((0|(He=0|t[B>>2]))<(0|Me)?0:De+He|0))<=(0|le))<<31>>31)+Ci|0));f:do{if(Ye)gi=Ri;else for(Ve=ze<<1,Fi=Ri;;){if(je=0|t[(ve+(Fi<<3)|0)>>2],!((0|((0|(Ke=0|t[(4+(ve+(Fi<<3)|0)|0)>>2]))<(0|je)?0:3*((1-je|0)+Ke|0)|0))<(0|Ve))){gi=Fi;break f}if(Ge=Fi+1|0,!((0|Fi)<(0|Be))){gi=Ge;break}Fi=Ge}}while(0);Xe=(0|Be)<(0|gi);f:do{if(Xe)Di=Be;else for(We=ze<<1,Ti=Be;;){if(qe=0|t[(ve+(Ti<<3)|0)>>2],!((0|((0|(Je=0|t[(4+(ve+(Ti<<3)|0)|0)>>2]))<(0|qe)?0:3*((1-qe|0)+Je|0)|0))<(0|We))){Di=Ti;break f}if(Qe=Ti+-1|0,!((0|Ti)>(0|gi))){Di=Qe;break}Ti=Qe}}while(0);if(er=($e=Di-gi|0)+1|0,!((0|$e)<0|(0|$e)>(0|Ue))){tr=(0|gi)<(0|(fr=(0|er)<(0|(ar=((0|(ir=(Le+1|0)-xe|0))/10&-1)+1|0))?ar:er));f:do{if(!tr){if(!((0|fr)>0)){Mi=gi,ji=Wi,$i=Qi,fa=0;break a}for(nr=ze<<1,Ui=fr;;){if(lr=0|t[(ve+((sr=gi-Ui|0)<<3)|0)>>2],!((0|((0|(ur=0|t[(4+(ve+(sr<<3)|0)|0)>>2]))<(0|lr)?0:3*((1-lr|0)+ur|0)|0))>(0|nr)))break f;if(or=Ui+-1|0,!((0|Ui)>1)){Mi=gi,ji=Wi,$i=Qi,fa=0;break a}Ui=or}}}while(0);br=(0|(fr+Di|0))<(0|ir);f:do{if(br){if(!((0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ee=0,re=0,ie=0,ae=0,fe=0,te=0,ne=0,oe=0,se=0,le=0,ue=0,ce=0,be=0,ke=0,de=0,_e=0,he=0,Ee=0,me=0,we=0,Se=0,ve=0,pe=0,Oe=0,Ae=0,ye=0,Re=0,ge=0,Fe=0,Me=0,De=0,Te=0,Ce=0,Ie=0,Pe=0,xe=0,Le=0,He=0;if(S=o,(0|(o=o+16|0))>=(0|s)&&_(),r=S,!((0|a[(i=e+5|0)>>0])<<24>>24==0))return D=e+20|0,T=0|t[(e+24|0)>>2],N=0|t[D>>2],o=S,0|(T-N|0)>>4;if(a[i>>0]=1,E=0|t[e>>2],n=(f=((m=0|t[(E+12|0)>>2])+1|0)-(w=0|t[(E+4|0)>>2])|0)-((0|f)<40?3:(0|f)/10&-1)|0,(0|(l=0|t[E>>2]))>(0|(u=0|t[(E+8|0)>>2])))return D=e+20|0,T=0|t[(e+24|0)>>2],N=0|t[D>>2],o=S,0|(T-N|0)>>4;for(c=n<<1,b=3*n|0,k=e+24|0,d=e+28|0,h=e+20|0,p=E,C=w,W=m,de=u,he=0,Re=l,xe=0;;){X=W+-1|0,j=Re+-1|0,K=Re+1|0,I=p,P=p,x=p,L=p,Ae=0,ge=0,Ce=C;e:for(;;){H=L,q=x,ae=P,fe=I,Se=0,pe=Ae,Te=Ce;r:for(;;){for(G=q+4|0,J=q+16|0,B=H,me=Se,De=Te;;){if(!((0|(Me=De+1|0))<(0|W))){O=B,Oe=pe,Fe=ge;break e}if(Z=Me-(0|t[G>>2])|0,Q=0|t[J>>2],ee=Re-($=0|t[q>>2])|0,re=0|t[(Q+(12*Z|0)|0)>>2],(0|a[(re+ee|0)>>0])<<24>>24==0){A=$,y=re,we=me,Ie=Me;break}if(ie=me+1|0,!((0|Me)<(0|X))){U=fe,z=ae,Y=q,V=q,ve=ie,ye=pe,Pe=Me;break r}B=q,me=ie,De=Me}if((0|Re)>(0|(0|t[p>>2]))?(0|a[(y+(j-A|0)|0)>>0])<<24>>24==0&&(He=13):He=13,13==(0|He)){if(He=0,!((0|Re)<(0|(0|t[(ae+8|0)>>2])))){U=fe,z=ae,Y=ae,V=ae,ve=we,ye=pe,Pe=Ie;break}if(te=Ie-(0|t[(fe+4|0)>>2])|0,ne=0|t[(fe+16|0)>>2],oe=K-(0|t[fe>>2])|0,se=0|t[(ne+(12*te|0)|0)>>2],(0|a[(se+oe|0)>>0])<<24>>24==0){U=fe,z=fe,Y=fe,V=fe,ve=we,ye=pe,Pe=Ie;break}}if(le=we+1|0,ue=pe+1|0,!((0|Ie)<(0|X))){U=p,z=p,Y=p,V=p,ve=le,ye=ue,Pe=Ie;break}H=p,q=p,ae=p,fe=p,Se=le,pe=ue,Te=Ie}I=U,P=z,x=Y,L=V,Ae=ye,ge=(0|ve)>(0|ge)?ve:ge,Ce=Pe}v=(0|(3*(Fe-Oe|0)|0))<(0|c)?0:Fe;e:do{switch(0|xe){case 0:(0|v)<(0|n)?(0|v<<2)<(0|b)?(Ee=(ce=(0|(3*v|0))<(0|c))?he:Re,Le=1^1&ce):(Ee=Re,Le=2):(Ee=Re,Le=3);break;case 1:(0|v)<(0|n)?(0|v<<2)<(0|b)?(Ee=(be=(0|(3*v|0))<(0|c))?he:Re,Le=1^1&be):(Ee=he,Le=2):(Ee=he,Le=3);break;case 2:(0|v)<(0|n)?(0|(3*v|0))<(0|c)?(Ee=he,Le=0):(Ee=he,Le=(0|v<<2)<(0|b)?1:2):(Ee=he,Le=3);break;case 3:if((ke=(0|(3*v|0))<(0|c))|(0|Re)==(0|de)){if(_e=(ke<<31>>31)+Re|0,Ne(r,he,0|t[(O+4|0)>>2],_e,0|t[(O+12|0)>>2]),(0|(R=0|t[k>>2]))==(0|(0|t[d>>2]))){ki(h,r),Ee=he,Le=0;break e}t[R>>2]=0|t[r>>2],t[R+4>>2]=0|t[r+4>>2],t[R+8>>2]=0|t[r+8>>2],t[R+12>>2]=0|t[r+12>>2],g=(0|t[k>>2])+16|0,t[k>>2]=g,Ee=he,Le=0;break e}Ee=he,Le=3;break;default:Ee=he,Le=xe}}while(0);if(F=0|t[e>>2],!((0|Re)<(0|(M=0|t[(F+8|0)>>2]))))break;p=F,C=0|t[(F+4|0)>>2],W=0|t[(F+12|0)>>2],de=M,he=Ee,Re=K,xe=Le}return D=e+20|0,T=0|t[(e+24|0)>>2],N=0|t[D>>2],o=S,0|(T-N|0)>>4}function pa(e,r,i,a){e|=0,i|=0,a|=0;var f,n,o,s,l,u,c,b,k,d,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0;(0|(n=0|t[(f=(r|=0)+44|0)>>2]))==(0|(0|t[(r+48|0)>>2]))?(wa(r),S=0|t[f>>2]):S=n,b=0|t[r>>2],d=S+(12*(k=a-(0|t[b>>2])|0)|0)|0,l=(s=(0|t[(4+(S+(12*k|0)|0)|0)>>2])-(o=0|t[d>>2])|0)>>3,u=(0|s)>0,c=o;e:do{if(u){for(v=0;;){if(!((0|(0|t[(c+(v<<3)|0)>>2]))>(0|i))&&!((0|(0|t[(4+(c+(v<<3)|0)|0)>>2]))<(0|i))){p=v;break}if(!((0|(w=v+1|0))<(0|l)))break e;v=w}return h=0|t[(_=c+(p<<3)|0)>>2],E=0|t[(_+4|0)>>2],t[(m=e)>>2]=h,void(t[(m+4|0)>>2]=E)}}while(0);t[e>>2]=1,t[(e+4|0)>>2]=0}function Oa(e){e|=0;var r,i,a;a=o,(0|(o=o+16|0))>=(0|s)&&_(),i=a,r=0|t[90],t[i>>2]=e,nf(r,3441,i),me(3)}function Aa(e,r,i,a){var f,t,n,s;return o,(0|(i|=0))<1|(0|(t=(0|(f=(e|=0)-(r|=0)|0))>-1?f:0-f|0))>(0|(a|=0))?0|(0|(100*t|0))<=(0|(0|k((0|(n=(0|e)>-1?e:0-e|0))<(0|(s=(0|r)>-1?r:0-r|0))?s:n,i))):0|1}function ya(e,r){r|=0;var i;return o,0|(0==(0|(i=0|t[(e|=0)>>2]))?4==(0|r):0!=(0|i&r))}function Ra(e,r){r|=0;var i,f,n,s,l,u,c,b,d,_,h,E,m,w,S,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0,I=0,P=0,x=0,L=0,H=0,B=0,U=0,z=0,Y=0,V=0,X=0,W=0,j=0,K=0,G=0,q=0,J=0,Z=0,Q=0,$=0,ee=0,re=0,ie=0,ae=0,fe=0,te=0,ne=0,oe=0,se=0,le=0,ue=0,ce=0,be=0,ke=0,de=0,_e=0,he=0,Ee=0,me=0,we=0,Se=0,ve=0,pe=0,Oe=0,Ae=0,ye=0,Re=0,ge=0,Fe=0,Me=0,De=0,Te=0,Ne=0,Ce=0,Ie=0,Pe=0,xe=0,Le=0,He=0;if(o,f=(i=0|t[(e|=0)>>2])+28|0,!((0|(0|t[(i+32|0)>>2]))==(0|(0|t[f>>2]))))return 0|0;s=(0|(n=((w=0|t[(i+12|0)>>2])+1|0)-(S=0|t[(i+4|0)>>2])|0))>4;do{if(s)if((0|(B=((P=0|t[(i+8|0)>>2])+1|0)-(L=0|t[i>>2])|0))>4){Y=(0|n<<1)>(0|B);do{if(Y){if(!(1==(0|(0|la(e+104|0,-1)))))return 0|0;if(1==(0|(0|la(e+200|0,-1)))){V=p=0|t[e>>2],X=p,j=0|t[(p+12|0)>>2],K=0|t[(p+4|0)>>2],G=0|t[(p+8|0)>>2],q=0|t[p>>2];break}return 0|0}V=i,X=i,j=w,K=S,G=P,q=L}while(0);if((0|((j+1|0)-K|0))<(0|((G+1|0)-q|0)<<1)){if(!(1==(0|(0|la(e+56|0,-1)))))return 0|0;if(1==(0|(0|la(e+152|0,-1)))){y=O=0|t[e>>2],J=O;break}return 0|0}y=X,J=V}else y=i,J=i;else y=i,J=i}while(0);if((0|(m=((0|t[(J+8|0)>>2])+1|0)-(0|t[J>>2])|0))>2)if((0|(Q=((0|t[(J+12|0)>>2])+1|0)-(Z=0|t[(J+4|0)>>2])|0))>2){if($=((0|Q)/100&-1)+1|0,ee=0|k(Q+-2|0,m+-2|0),(0|(re=$+Z|0))>(0|((0|t[(J+12|0)>>2])-$|0)))Re=0,Ce=0;else for(ie=0|t[(J+8|0)>>2],ae=(0|t[(J+12|0)>>2])-$|0,fe=J+8|0,te=(0|(Ee=(0|t[J>>2])+1|0))<(0|ie),ne=0|t[J>>2],oe=y,ge=0,Ie=0,Le=re;;){if(te)for(se=Le-(0|t[(oe+4|0)>>2])|0,le=0|t[(oe+16|0)>>2],ue=0|t[oe>>2],ce=0|t[(le+(12*se|0)|0)>>2],be=0|t[fe>>2],me=Ee,Oe=0,Me=ge;;){if(De=(_e=1&(0|a[(ce+(me-ue|0)|0)>>0])<<24>>24!=0)+Me|0,Ae=(1^_e)+Oe|0,!((0|(he=me+1|0))<(0|be))){v=be,W=J,pe=Ae,Fe=De;break}me=he,Oe=Ae,Me=De}else v=ie,W=oe,pe=0,Fe=ge;if(Pe=(0|(ke=5*pe|0))<(0|(de=(v+1|0)-ne|0))?Ie:((0|ke)/(0|de)&-1)+Ie|0,A=Le+1|0,!((0|Le)<(0|ae))){Re=Fe,Ce=Pe;break}oe=W,ge=Fe,Ie=Pe,Le=A}if((0|(100*Re|0))<(0|(70*ee|0)))return 0|0;g=J,Te=Re,Ne=ee,xe=Ce}else He=23;else He=23;if(23==(0|He)&&(R=0|cr(y),g=0|t[e>>2],Te=R,Ne=0,xe=0),0|Aa(((0|t[(g+12|0)>>2])+1|0)-(0|t[(g+4|0)>>2])|0,0|Ui(e+296|0),20,2)){if(F=0|t[e>>2],M=((0|t[(F+12|0)>>2])+1|0)-(0|t[(F+4|0)>>2])|0,(0|(T=(0|(D=((0|t[(F+8|0)>>2])+1|0)-(0|t[F>>2])|0))<(0|M)?D:M))>5){for(N=0|t[F>>2],C=0|t[(F+16|0)>>2],I=0|t[(F+8|0)>>2],we=0,ye=0;;){if(x=0|t[(C+(12*ye|0)|0)>>2],Se=((1&(0|a[(x+ye|0)>>0])<<24>>24!=0)+we|0)+(((0|a[(x+(I-(N+ye|0)|0)|0)>>0])<<24>>24!=0)<<31>>31)|0,!((0|(H=ye+1|0))<(0|T))){ve=Se;break}we=Se,ye=H}if(!((0|((0|ve)>-1?ve:0-ve|0)<<1)<(0|(T+-1|0))))return 0|0}if(0==(0|xe)&&!((0|(100*Te|0))<(0|(75*Ne|0))))return 0|46;if((0|D)>6&(0|M)>6){if(!((0|(100*(0|br(F))|0))<(0|(95*(0|function(e){var r,i,a;return a=(1+(0|t[(12+(e|=0)|0)>>2])|0)-(0|t[(e+4|0)>>2])|0,i=(0|29*((0|(r=(1+(0|t[(e+8|0)>>2])|0)-(0|t[e>>2])|0))<(0|a)?r:a))/100&-1,0|(0|k(r,a))-(0|k(i<<1,i+1|0))}(0|t[e>>2]))|0))))return 0|46;if(!((0|(100*(0|br(0|t[e>>2]))|0))<(0|(95*(0|cr(0|t[e>>2]))|0))))return 0|46}return 0|0}return(0|xe)>1?0|0:(0|(l=100*Te|0))<(0|(85*Ne|0))?0|0:0!=(0|xe)&(0|l)<(0|(95*Ne|0))?0|0:(u=0|t[e>>2],(0|(c=((0|t[(u+8|0)>>2])+1|0)-(0|t[u>>2])|0))>(0|(_=((b=0|t[(u+12|0)>>2])+1|0)-(d=0|t[(u+4|0)>>2])|0))?(U=0|t[(r+4|0)>>2],(0|d)>(0|(((0|(90*((z=0|t[(r+12|0)>>2])-U|0)|0))/100&-1)+U|0))?0|95:0|((0|c)<(0|(5*_|0))|(0|(z-b|0))>=(0|(d-((0|(z+U|0))/2&-1)|0))?45:95)):(0|_)>(0|c)?(h=0|t[(r+4|0)>>2],(0|d)>(0|(E=(0|((0|t[(r+12|0)>>2])+h|0))/2&-1))?0|44:0|((0|b)>(0|E)?124:39)):0|0)}function ga(e,r){e|=0;var i,a,f,n,s,l=0,u=0,c=0,b=0;if(o,!((0|(i=0|t[(r|=0)>>2]))>(0|(a=0|t[(r+4|0)>>2])))){if((0|(f=0|t[e>>2]))>(0|(s=0|t[(n=e+4|0)>>2])))return l=0|t[(b=r)>>2],u=0|t[(b+4|0)>>2],t[(c=e)>>2]=l,void(t[(c+4|0)>>2]=u);(0|i)<(0|f)&&(t[e>>2]=i),(0|a)>(0|s)&&(t[n>>2]=a)}}function Fa(e,r){r|=0;var i,a,f,n;return o,(0|(i=0|t[(e|=0)>>2]))>(0|(a=0|t[(e+4|0)>>2]))?0|2147483647:(0|(f=0|t[r>>2]))>(0|(n=0|t[(r+4|0)>>2]))?0|2147483647:(0|i)>(0|n)?0|(i-n|0):0|((0|f)>(0|a)?f-a|0:0)}function Ma(e){var r,i,a,f,n=0,s=0,l=0,u=0,c=0,b=0,k=0,d=0,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0,I=0,P=0,x=0,L=0,H=0,B=0,U=0,z=0,Y=0;if(o,a=(e|=0)+16|0,(0|(i=0|t[(r=e+12|0)>>2]))<(0|((0|t[(f=e+20|0)>>2])-(0|t[a>>2])|0)>>2))for(D=i,x=i,L=0;;){n=0|ti(M=0|_i(e,x),32);do{if(n){if((0|(u=x+2|0))<(0|((0|t[f>>2])-(0|t[a>>2])|0)>>2)&&0|ti(0|_i(e,u),32)){T=0|t[r>>2],H=1;break}T=x+1|0,H=0}else if(k=M+28|0,8==(0|((0|t[(M+32|0)>>2])-(0|t[k>>2])|0)))if(d=0|fi(M,0),0|Xr(_=0|t[d>>2]))if((0|(5*(((0|t[(h=M+12|0)>>2])+1|0)-(0|t[(E=M+4|0)>>2])|0)|0))<(0|(0|di(e))<<2))T=D,H=L;else{m=(0|(((0|t[h>>2])+1|0)-(0|t[E>>2])|0)<<2)>(0|(5*(0|di(e))|0)),w=(0|D)<(0|((0|t[f>>2])-(0|t[a>>2])|0)>>2);e:do{if(w)for(C=m,B=D,z=0;;){S=(0|B)==(0|x);r:do{if(S)P=C,Y=z;else if(p=(v=0|_i(e,B))+28|0,(0|(0|t[(v+32|0)>>2]))==(0|(0|t[p>>2])))P=C,Y=z;else{if(0|ti(v,32)){if(L){P=C,Y=z;break}N=C,U=z;break e}if(O=0|fi(v,0),(0|(A=0|t[O>>2]))>127)P=C,Y=z;else if(0==(0|(0|cf(A))))P=C,Y=z;else{i:do{if(C)I=1;else if((0|(((0|t[h>>2])+1|0)-(0|t[E>>2])|0)<<2)>(0|(5*(((0|t[(y=v+12|0)>>2])+1|0)-(0|t[(R=v+4|0)>>2])|0)|0)))I=1;else{if(!(0==(0|(0|La(A))))){switch(0|A){case 81:case 66:I=0;break i}if(!((0|(g=((0|t[h>>2])+1|0)-(0|t[E>>2])|0))<(0|(F=((0|t[y>>2])+1|0)-(0|t[R>>2])|0)))){I=1;break}if(0|Aa(g,F,10,1)){I=1;break}}if(!(116==(0|A))){I=0;break}I=(0|(((0|t[h>>2])+1|0)-(0|t[E>>2])|0))>=(0|(((0|t[y>>2])+1|0)-(0|t[R>>2])|0))}}while(0);if(z)P=I,Y=1;else if(0==(0|(0|Ya(A))))P=I,Y=0;else{switch(0|A){case 106:case 108:P=I,Y=0;break r}if((0|(5*(((0|t[h>>2])+1|0)-(0|t[E>>2])|0)|0))<(0|(((0|t[(s=v+12|0)>>2])+1|0)-(0|t[(l=v+4|0)>>2])|0)<<2))P=I,Y=1;else{if(!(114!=(0|A)&(0|Wr(A)))){P=I,Y=0;break}if(0|ti(v,81)){P=I,Y=0;break}if(!((0|B)<(0|x))&&0|Xr(A)){P=I,Y=0;break}P=I,Y=0|Aa(((0|t[h>>2])+1|0)-(0|t[E>>2])|0,((0|t[s>>2])+1|0)-(0|t[l>>2])|0,10,1)}}}}}while(0);if(!((0|(c=B+1|0))<(0|((0|t[f>>2])-(0|t[a>>2])|0)>>2))){N=P,U=Y;break}C=P,B=c,z=Y}else N=m,U=0}while(0);U|1^N?(T=D,H=L):(ii(M,0,0|za(_),1),T=D,H=L)}else T=D,H=L;else T=D,H=L}while(0);if(!((0|(b=x+1|0))<(0|((0|t[f>>2])-(0|t[a>>2])|0)>>2)))break;D=T,x=b,L=H}}function Da(e,r){e|=0,r|=0;var i,a,f,n,l,u,d,h,E,m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c,c=0,1&In){Og=21;break e}if(c=0,P(188,0|Re,0|r,0|n),Yn=c,c=0,1&Yn){Og=21;break e}if(!((0|(0|t[j>>2]))==(0|(0|t[Z>>2])))&&(c=0,B(197,0|Wp,0|Re),oo=c,c=0,1&oo)){Og=21;break e}Qr(Re),Py=Cy;break}if(To=0|gf(40),c=0,C(159,0|To,0|iA),No=c,c=0,1&No){_a=To,Og=32;break e}if(t[Pe>>2]=0|t[To>>2],t[Pe+4>>2]=0|t[To+4>>2],t[Pe+8>>2]=0|t[To+8>>2],t[Pe+12>>2]=0|t[To+12>>2],Io=0|gf(4),Bo=To,t[Q>>2]=Io,Wo=Io+4|0,t[ee>>2]=Wo,t[Io>>2]=Bo,t[$>>2]=Wo,t[re>>2]=0,t[ae>>2]=0,t[fe>>2]=0,c=0,Jo=0|I(29,40),es=c,c=0,1&es){Og=33;break e}if(c=0,C(159,0|Jo,0|kA),as=c,c=0,1&as){ha=Jo,Og=34;break e}if(t[Be>>2]=0|t[Jo>>2],t[Be+4>>2]=0|t[Jo+4>>2],t[Be+8>>2]=0|t[Jo+8>>2],t[Be+12>>2]=0|t[Jo+12>>2],t[te>>2]=0,t[ne>>2]=0,t[oe>>2]=0,c=0,_s=0|I(29,4),vs=c,c=0,1&vs){Og=33;break e}if(Ms=Jo,t[te>>2]=_s,Cs=_s+4|0,t[le>>2]=Cs,t[_s>>2]=Ms,t[ne>>2]=Cs,t[ue>>2]=0,t[ce>>2]=0,t[be>>2]=0,xs=0|t[jO>>2],Vs=0|t[(Bs=jO+8|0)>>2],c=0,il=0|B(198,0|iA,0|(0|(Vs+xs|0))/2&-1),ol=c,c=0,1&ol){Og=35;break e}do{if(il){if(c=0,ul=0|I(29,40),dl=c,c=0,1&dl){Og=35;break e}if(c=0,C(159,0|ul,0|jO),Ol=c,c=0,1&Ol){ma=ul,Og=36;break e}if(c=0,C(199,0|Pe,0|ul),Cl=c,c=0,1&Cl){Og=35;break e}}else{if(Eu=0|t[jO>>2],wu=0|t[Bs>>2],c=0,Iu=0|B(198,0|kA,0|(0|(wu+Eu|0))/2&-1),Hu=c,c=0,1&Hu){Og=35;break e}if(!Iu)break;if(c=0,Wu=0|I(29,40),Gu=c,c=0,1&Gu){Og=35;break e}if(c=0,C(159,0|Wu,0|jO),fc=c,c=0,1&fc){Ea=Wu,Og=42;break e}if(c=0,C(199,0|Be,0|Wu),uc=c,c=0,1&uc){Og=35;break e}}}while(0);if(c=0,P(196,0|l,0|e,0|Pe),Ac=c,c=0,1&Ac){Og=35;break e}if(c=0,P(188,0|Pe,0|r,0|l),Dc=c,c=0,1&Dc){Og=35;break e}if(c=0,P(196,0|u,0|e,0|Be),zc=c,c=0,1&zc){Og=35;break e}if(c=0,P(188,0|Be,0|r,0|u),Jc=c,c=0,1&Jc){Og=35;break e}sb=(0|(0|t[ae>>2]))==(0|(0|t[ke>>2]));do{if(sb)Iy=Cy;else{if((0|(0|t[ce>>2]))==(0|(0|t[de>>2]))){Iy=Cy;break}if(c=0,B(197,0|Wp,0|Pe),Ob=c,c=0,1&Ob){Og=35;break e}if(c=0,Db=0|I(29,40),Pb=c,c=0,1&Pb){Og=35;break e}if(c=0,C(200,0|Db,0|Be),Wb=c,c=0,1&Wb){wa=Db,Og=54;break e}if(c=0,M(103,0|e,0|Db,0),Gb=c,c=0,1&Gb){Og=35;break e}Iy=Cy+1|0}}while(0);if(c=0,N(176,0|Be),bk=c,c=0,1&bk){Og=33;break e}Qr(Pe),Py=Iy}else Py=Cy;else Py=Cy;else Py=Cy;else Py=Cy;else Py=Cy;else Py=Cy;else Py=Cy}while(0);if(!((0|(yk=Py+1|0))<(0|((Ck=0|t[U>>2])-(zk=0|t[H>>2])|0)>>2))){va=Ck,pa=zk,Og=3;break}Cy=yk}switch(0|Og){case 3:sv=(0|(Da=0|t[T>>2]))<(0|(va-pa|0)>>2);do{if(sv){dv=Ce+16|0,vv=Ce+20|0,yv=Ce+24|0,Mv=Ce+28|0,Iv=Ce+32|0,Lv=Ce+36|0,Uv=He+16|0,Yv=He+20|0,Qv=He+24|0,rp=He+24|0,sp=He+28|0,kp=He+32|0,Ep=He+36|0,wp=Ce+28|0,pp=Ce+12|0,Op=Ce+4|0,Rp=He+12|0,Mp=He+4|0,Lp=He+28|0,xy=Da;e:for(;;){if(p_=(c_=0|_i(e,xy))+28|0,(0|(0|t[(c_+32|0)>>2]))==(0|(0|t[p_>>2])))if(z_=c_+16|0,8==(0|((0|t[(c_+20|0)>>2])-(0|t[z_>>2])|0)))if(0|Ge(0|$r(c_,0),0|$r(c_,1))){if(_h=0|gf(40),c=0,Sh=0|B(201,0|c_,0),yh=c,c=0,1&yh){ua=_h,Og=82;break}if(c=0,C(159,0|_h,0|Sh),Ch=c,c=0,1&Ch){ua=_h,Og=82;break}if(t[Ce>>2]=0|t[_h>>2],t[Ce+4>>2]=0|t[_h+4>>2],t[Ce+8>>2]=0|t[_h+8>>2],t[Ce+12>>2]=0|t[_h+12>>2],Uh=0|gf(4),Xh=_h,t[dv>>2]=Uh,Qh=Uh+4|0,t[yv>>2]=Qh,t[Uh>>2]=Xh,t[vv>>2]=Qh,t[Mv>>2]=0,t[Iv>>2]=0,t[Lv>>2]=0,c=0,P(196,0|d,0|e,0|Ce),nE=c,c=0,1&nE){Og=83;break}if(c=0,P(188,0|Ce,0|r,0|d),dE=c,c=0,1&dE){Og=83;break}if(c=0,OE=0|I(29,40),FE=c,c=0,1&FE){Og=83;break}if(c=0,zE=0|B(201,0|c_,1),jE=c,c=0,1&jE){ca=OE,Og=84;break}if(c=0,C(159,0|OE,0|zE),tm=c,c=0,1&tm){ca=OE,Og=84;break}if(t[He>>2]=0|t[OE>>2],t[He+4>>2]=0|t[OE+4>>2],t[He+8>>2]=0|t[OE+8>>2],t[He+12>>2]=0|t[OE+12>>2],t[Uv>>2]=0,t[Yv>>2]=0,t[Qv>>2]=0,c=0,km=0|I(29,4),hm=c,c=0,1&hm){Og=83;break}if(ym=OE,t[Uv>>2]=km,Dm=km+4|0,t[rp>>2]=Dm,t[km>>2]=ym,t[Yv>>2]=Dm,t[sp>>2]=0,t[kp>>2]=0,t[Ep>>2]=0,c=0,P(196,0|h,0|e,0|He),xm=c,c=0,1&xm){Og=85;break}if(c=0,P(188,0|He,0|r,0|h),Lm=c,c=0,1&Lm){Og=85;break}if(78==(0|(Og=(0|(0|t[Iv>>2]))==(0|(0|t[wp>>2]))?78:(0|(0|t[kp>>2]))==(0|(0|t[Lp>>2]))?78:80))){if(Og=0,Hm=((0|t[pp>>2])+1|0)-(0|t[Op>>2])|0,Bm=0|t[Rp>>2],Um=0|t[Mp>>2],c=0,zm=0|L(120,0|Hm,0|((Bm+1|0)-Um|0),20,1),Ym=c,c=0,1&Ym){Og=85;break}zm?Og=80:Ly=xy}do{if(80==(0|Og)){if(Og=0,(0|(((0|t[pp>>2])+1|0)-(0|t[Op>>2])|0))>(0|(((0|t[Rp>>2])+1|0)-(0|t[Mp>>2])|0))){if(c=0,B(197,0|c_,0|Ce),Vm=c,c=0,1&Vm){Og=85;break e}}else{if(c=0,B(197,0|c_,0|He),Gm=c,c=0,1&Gm){Og=85;break e}if(c=0,B(197,0|He,0|Ce),qm=c,c=0,1&qm){Og=85;break e}}if(c=0,Jm=0|B(178,0|He,46),Zm=c,c=0,1&Zm){Og=85;break e}if(Jm&&(Qm=0|t[Mp>>2],$m=0|t[(c_+4|0)>>2],!((0|Qm)>(0|(0|((0|t[(c_+12|0)>>2])+$m|0))/2&-1)))){Ly=xy;break}if(c=0,ew=0|I(29,40),rw=c,c=0,1&rw){Og=85;break e}if(c=0,C(200,0|ew,0|He),iw=c,c=0,1&iw){ba=ew,Og=95;break e}if(c=0,M(103,0|e,0|ew,0),aw=c,c=0,1&aw){Og=85;break e}Ly=xy+1|0}}while(0);if(c=0,N(176,0|He),nw=c,c=0,1&nw){Og=83;break}Qr(Ce),Hy=Ly}else Hy=xy;else Hy=xy;else Hy=xy;if(!((0|(lw=Hy+1|0))<(0|((uw=0|t[U>>2])-(cw=0|t[H>>2])|0)>>2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(CS+12|0)>>2])+1|0)-(0|t[(CS+4|0)>>2])|0,PS=0|t[(CS+8|0)>>2],xS=0|t[CS>>2],LS=0|k((PS+1|0)-xS|0,IS),HS=0|$r(DS,0),BS=((0|t[(HS+12|0)>>2])+1|0)-(0|t[(HS+4|0)>>2])|0,US=0|t[(HS+8|0)>>2],zS=0|t[HS>>2],(0|LS)>(0|(0|k(5*BS|0,(US+1|0)-zS|0)))&&(YS=0|$r(DS,0),VS=0|t[(YS+12|0)>>2],XS=0|$r(DS,0),WS=((((0|t[(XS+12|0)>>2])+1|0)-(0|t[(XS+4|0)>>2])|0)<<1)+VS|0,hi(w,e,DS),(0|WS)<(0|(0|t[_w>>2])))))){if(jS=0|gf(40),c=0,KS=0|B(201,0|DS,1),GS=c,c=0,1&GS){fa=jS,Og=131;break}if(c=0,C(159,0|jS,0|KS),qS=c,c=0,1&qS){fa=jS,Og=131;break}if(t[ge>>2]=0|t[jS>>2],t[ge+4>>2]=0|t[jS+4>>2],t[ge+8>>2]=0|t[jS+8>>2],t[ge+12>>2]=0|t[jS+12>>2],JS=0|gf(4),ZS=jS,t[hw>>2]=JS,QS=JS+4|0,t[mw>>2]=QS,t[JS>>2]=ZS,t[Ew>>2]=QS,t[ww>>2]=0,t[Sw>>2]=0,t[vw>>2]=0,c=0,P(196,0|S,0|e,0|ge),$S=c,c=0,1&$S){Og=132;break}if(c=0,P(188,0|ge,0|r,0|S),ev=c,c=0,1&ev){Og=132;break}if(!((0|(0|t[Sw>>2]))==(0|(0|t[pw>>2])))&&(c=0,B(197,0|DS,0|ge),rv=c,c=0,1&rv)){Og=132;break}Qr(ge)}if(!((0|(ov=By+1|0))<(0|((lv=0|t[U>>2])-(uv=0|t[H>>2])|0)>>2))){ta=lv,na=uv,Og=118;break}By=ov}if(118==(0|Og)){oi=na,rS=ta,iS=0|t[T>>2];break}131==(0|Og)?(iv=0|q(),av=b,vf(fa),av,ie(0|iv)):132==(0|Og)&&(fv=0|q(),tv=b,c=0,N(176,0|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break}if(!((0|py)<(0|(((0|(60*Fa|0))/100&-1)+mp|0))&(0|py)>(0|mp)&(0|py)<(0|Sp))){Qy=Gy;break}}else if(!((0|py)>(0|mp)&(0|py)<(0|Sp))){Qy=Gy;break}if(Ne(ze,mp,fp,py+-1|0,ip),Ne(Ve,py+1|0,0|t[jv>>2],0|t[Jv>>2],0|t[Xv>>2]),fr(we,Vv,ze),t[fS>>2]=0,t[tS>>2]=0,t[nS>>2]=0,c=0,I(202,0|we),vp=c,c=0,1&vp){Og=164;break r}if((0|(((0|t[oS>>2])+1|0)-(0|t[sS>>2])|0)<<1)<(0|(((0|t[Xv>>2])+1|0)-(0|t[jv>>2])|0)))Zy=Gy;else{if(c=0,P(203,0|Ae,0|Vv,0|Ve),Ap=c,c=0,1&Ap){Og=164;break r}if(t[lS>>2]=0,t[uS>>2]=0,t[cS>>2]=0,c=0,I(202,0|Ae),yp=c,c=0,1&yp){Og=168;break r}if((0|(((0|t[bS>>2])+1|0)-(0|t[kS>>2])|0)<<1)<(0|(((0|t[Xv>>2])+1|0)-(0|t[jv>>2])|0)))Jy=Gy;else{if(c=0,N(91,0|we),gp=c,c=0,1&gp){Og=168;break r}if(c=0,N(91,0|Ae),Fp=c,c=0,1&Fp){Og=168;break r}if(c=0,Dp=0|I(29,40),Tp=c,c=0,1&Tp){Og=168;break r}if(c=0,C(159,0|Dp,0|we),Np=c,c=0,1&Np){$i=Dp,Og=179;break r}if(t[Me>>2]=0|t[Dp>>2],t[Me+4>>2]=0|t[Dp+4>>2],t[Me+8>>2]=0|t[Dp+8>>2],t[Me+12>>2]=0|t[Dp+12>>2],t[dS>>2]=0,t[_S>>2]=0,t[hS>>2]=0,c=0,Cp=0|I(29,4),Ip=c,c=0,1&Ip){Og=168;break r}if(Pp=Dp,t[dS>>2]=Cp,xp=Cp+4|0,t[ES>>2]=xp,t[Cp>>2]=Pp,t[_S>>2]=xp,t[mS>>2]=0,t[wS>>2]=0,t[SS>>2]=0,c=0,Hp=0|I(29,40),Bp=c,c=0,1&Bp){Og=180;break r}if(c=0,C(159,0|Hp,0|Ae),Up=c,c=0,1&Up){ea=Hp,Og=181;break r}if(t[Le>>2]=0|t[Hp>>2],t[Le+4>>2]=0|t[Hp+4>>2],t[Le+8>>2]=0|t[Hp+8>>2],t[Le+12>>2]=0|t[Hp+12>>2],t[vS>>2]=0,t[pS>>2]=0,t[OS>>2]=0,c=0,zp=0|I(29,4),Yp=c,c=0,1&Yp){Og=180;break r}if(Vp=Hp,t[vS>>2]=zp,Xp=zp+4|0,t[AS>>2]=Xp,t[zp>>2]=Vp,t[pS>>2]=Xp,t[yS>>2]=0,t[RS>>2]=0,t[gS>>2]=0,(0|((0|t[Fv>>2])-(0|t[gv>>2])|0))>0)for(FR=0;;){Qp=(0|FR)==(0|AR);do{if(!Qp){if(c=0,$p=0|B(201,0|Ev,0|FR),eO=c,c=0,1&eO){Og=182;break r}if(c=0,rO=0|B(105,0|Me,0|$p),iO=c,c=0,1&iO){Og=182;break r}if(rO){if(c=0,aO=0|I(29,40),fO=c,c=0,1&fO){Og=182;break r}if(c=0,C(159,0|aO,0|$p),tO=c,c=0,1&tO){Qi=aO,Og=192;break r}if(c=0,C(199,0|Me,0|aO),nO=c,c=0,1&nO){Og=182;break r}break}if(c=0,lO=0|B(105,0|Le,0|$p),uO=c,c=0,1&uO){Og=182;break r}if(!lO)break;if(c=0,cO=0|I(29,40),bO=c,c=0,1&bO){Og=182;break r}if(c=0,C(159,0|cO,0|$p),kO=c,c=0,1&kO){Zi=cO,Og=198;break r}if(c=0,C(199,0|Le,0|cO),dO=c,c=0,1&dO){Og=182;break r}}}while(0);if(!((0|(EO=FR+1|0))<(0|((0|t[Fv>>2])-(0|t[gv>>2])|0)>>2)))break;FR=EO}if(c=0,P(196,0|v,0|e,0|Me),jp=c,c=0,1&jp){Og=183;break r}if(c=0,P(188,0|Me,0|r,0|v),wO=c,c=0,1&wO){Og=183;break r}if(c=0,P(196,0|O,0|e,0|Le),SO=c,c=0,1&SO){Og=183;break r}if(c=0,P(188,0|Le,0|r,0|O),vO=c,c=0,1&vO){Og=183;break r}if((0|(0|t[RS>>2]))==(0|(0|t[FS>>2])))gO=(0|(0|t[wS>>2]))==(0|(0|t[MS>>2])),FO=0,Og=207;else{if(c=0,OO=0|B(189,0|Le,0),AO=c,c=0,1&AO){Og=183;break r}yO=39!=(0|(0|t[OO>>2])),(RO=(0|(0|t[wS>>2]))==(0|(0|t[MS>>2])))|1^yO?(gO=RO,FO=yO,Og=207):Og=209}do{if(207==(0|Og)){if(Og=0,!(FO|1^gO)){qy=Gy;break}(0|(((0|t[Sv>>2])+1|0)-(0|t[Ev>>2])|0))>(0|(((0|t[Ov>>2])+1|0)-(0|t[Av>>2])|0))?Og=209:qy=Gy}}while(0);do{if(209==(0|Og)){if(Og=0,c=0,B(197,0|Ev,0|Me),MO=c,c=0,1&MO){Og=183;break r}if(c=0,DO=0|I(29,40),TO=c,c=0,1&TO){Og=183;break r}if(c=0,C(200,0|DO,0|Le),NO=c,c=0,1&NO){ra=DO,Og=215;break r}if(c=0,M(103,0|e,0|DO,0),CO=c,c=0,1&CO){Og=183;break r}if((0|(0|t[wS>>2]))==(0|(0|t[MS>>2]))){qy=Gy+-1|0;break}qy=(1&(0|(0|t[RS>>2]))!=(0|(0|t[FS>>2])))+Gy|0;break}}while(0);if(c=0,N(176,0|Le),xO=c,c=0,1&xO){Og=180;break r}if(c=0,N(176,0|Me),LO=c,c=0,1&LO){Og=168;break r}Jy=qy}if(c=0,N(72,0|Ae),HO=c,c=0,1&HO){Og=164;break r}Zy=Jy}yr(we),Qy=Zy}}}else Qy=Gy;else Qy=Gy}while(0);if(!((0|(VO=Qy+1|0))<(0|((XO=0|t[U>>2])-(WO=0|t[H>>2])|0)>>2))){ia=XO,aa=WO,Og=135;break}Gy=VO}switch(0|Og){case 135:si=aa,cv=ia,bv=0|t[T>>2];break e;case 164:Tr=0|q(),Nr=b;break;case 168:Mr=0|q(),Dr=b,Og=225;break;case 179:Kp=0|q(),Gp=b,vf($i),Mr=Kp,Dr=Gp,Og=225;break;case 180:Rr=0|q(),gr=b,Og=224;break;case 181:Jp=0|q(),Zp=b,vf(ea),Rr=Jp,gr=Zp,Og=224;break;case 182:qR=0|q(),JR=b,Og=184;break;case 183:qR=0|q(),JR=b,Og=184;break;case 192:oO=0|q(),sO=b,vf(Qi),Or=oO,Ar=sO,Og=223;break;case 198:_O=0|q(),hO=b,vf(Zi),Or=_O,Ar=hO,Og=223;break;case 215:IO=0|q(),PO=b,vf(ra),Or=IO,Ar=PO,Og=223}184==(0|Og)&&(Or=qR,Ar=JR,Og=223),223==(0|Og)&&(c=0,N(176,0|Le),BO=c,c=0,1&BO?(Rm=0|J(0),b,ve(Rm)):(Rr=Or,gr=Ar,Og=224)),224==(0|Og)&&(c=0,N(176,0|Me),UO=c,c=0,1&UO?(Rm=0|J(0),b,ve(Rm)):(Mr=Rr,Dr=gr,Og=225)),225==(0|Og)&&(c=0,N(72,0|Ae),zO=c,c=0,1&zO?(Rm=0|J(0),b,ve(Rm)):(Tr=Mr,Nr=Dr)),c=0,N(72,0|we),YO=c,c=0,1&YO?(Rm=0|J(0),b,ve(Rm)):(Nr,ie(0|Tr))}else si=oi,cv=rS,bv=iS}while(0);kv=(0|bv)<(0|(cv-si|0)>>2);do{if(kv){_v=De+28|0,hv=De+32|0,sR=bv;e:for(;;){wA=(mA=0|_i(e,sR))+28|0,SA=(0|(0|t[(mA+32|0)>>2]))==(0|(0|t[wA>>2]));r:do{if(SA&&(pA=mA+16|0,4==(0|((0|t[(mA+20|0)>>2])-(0|t[pA>>2])|0))&&(AA=(OA=0|$r(mA,0))+28|0,!((0|(0|t[(OA+32|0)>>2]))==(0|(0|t[AA>>2])))))){if(Zr(De,mA),c=0,yA=0|B(201,0|De,0),RA=c,c=0,1&RA){Og=240;break e}if(gA=yA+28|0,(0|(TA=(MA=0|t[(FA=yA+32|0)>>2])-(DA=0|t[gA>>2])|0))>0){for(CA=yA+12|0,IA=yA+4|0,PA=yA+8|0,NR=TA>>2;;){if(c=0,BA=0|B(195,0|yA,0|(TR=NR+-1|0)),UA=c,c=0,1&UA){Og=239;break e}if(zA=((0|t[(BA+12|0)>>2])+1|0)-(0|t[(BA+4|0)>>2])|0,YA=((0|t[(BA+8|0)>>2])+1|0)-(0|t[BA>>2])|0,VA=((0|t[CA>>2])+1|0)-(0|t[IA>>2])|0,XA=0|t[PA>>2],WA=0|t[yA>>2],jA=0|k((XA+1|0)-WA|0,VA),(0|(0|k(zA<<6,YA)))>(0|jA)){if(c=0,GA=0|B(195,0|yA,0|TR),qA=c,c=0,1&qA){Og=239;break e}(0|(((0|t[(GA+12|0)>>2])+1|0)-(0|t[(GA+4|0)>>2])|0)<<4)>(0|(((0|t[CA>>2])+1|0)-(0|t[IA>>2])|0))||(Og=247)}else Og=247;if(247==(0|Og)&&(Og=0,c=0,C(204,0|yA,0|TR),Ha=c,c=0,1&Ha)){Og=239;break e}if(!((0|NR)>1))break;NR=TR}Ta=0|t[FA>>2],Ba=0|t[gA>>2],za=Ta}else Ba=DA,za=MA;if(c=0,xA=0|B(201,0|mA,0),LA=c,c=0,1&LA){Og=240;break e}Va=xA+28|0,Xa=(0|(za-Ba|0))<(0|((0|t[(xA+32|0)>>2])-(0|t[Va>>2])|0));do{if(Xa){if(c=0,P(196,0|A,0|e,0|De),Wa=c,c=0,1&Wa){Og=240;break e}if(c=0,P(188,0|De,0|r,0|A),ja=c,c=0,1&ja){Og=240;break e}if((0|(0|t[hv>>2]))==(0|(0|t[_v>>2])))break;if(c=0,B(197,0|mA,0|De),Ka=c,c=0,1&Ka){Og=240;break e}Qr(De);break r}}while(0);Qr(De)}}while(0);if(!((0|(Ga=sR+1|0))<(0|((qa=0|t[U>>2])-(Ja=0|t[H>>2])|0)>>2))){Wi=qa,ji=Ja,Og=228;break}sR=Ga}if(228==(0|Og)){li=ji,KO=Wi,GO=0|t[T>>2];break}239==(0|Og)?(KR=0|q(),GR=b):240==(0|Og)&&(KR=0|q(),GR=b),c=0,N(176,0|De),HA=c,c=0,1&HA?(Rm=0|J(0),b,ve(Rm)):(GR,ie(0|KR))}else li=si,KO=cv,GO=bv}while(0);qO=(0|GO)<(0|(KO-li|0)>>2);e:do{if(qO){JO=Ue+28|0,ZO=Ue+32|0,QO=Ue+16|0,$O=Ue+20|0,eA=ye+4|0,rA=ye+12|0,aA=pe+28|0,fA=pe+32|0,tA=pe+36|0,nA=Te+16|0,oA=Te+20|0,sA=Te+24|0,lA=Te+24|0,uA=Te+28|0,cA=Te+32|0,bA=Te+36|0,dA=a+4|0,_A=Te+36|0,hA=Te+28|0,EA=We+8|0,Fm=li,Mm=KO,lR=GO;r:for(;;){for(ef=Fm,Tm=Mm;;){if(af=(rf=0|t[(ef+(lR<<2)|0)>>2])+28|0,(0|(0|t[(rf+32|0)>>2]))==(0|(0|t[af>>2]))){nf=ef,of=Tm;break}if(ff=0|fi(rf,0),(0|(0|t[ff>>2]))>-1){Og=259;break}if(sf=0|t[H>>2],Zr(Ue,0|t[(sf+(lR<<2)|0)>>2]),c=0,lf=0|B(189,0|Ue,0),uf=c,c=0,1&uf){Og=270;break r}if(bf=-1^(0|t[lf>>2]),c=0,C(121,0|e,0|lR),kf=c,c=0,1&kf){Og=270;break r}if((0|((0|t[ZO>>2])-(0|t[JO>>2])|0))>16&&(0|(_f=(0|t[$O>>2])-(0|t[QO>>2])|0))>0&(0|_f>>2)>(0|bf)){if(c=0,hf=0|B(189,0|Ue,0),Ef=c,c=0,1&Ef){Og=270;break r}if((0|((0|t[ZO>>2])-(0|t[JO>>2])|0))>8)for(Ny=1,YR=0|t[(hf+4|0)>>2];;){if(c=0,mf=0|B(205,0|Ue,0|bf),wf=c,c=0,1&wf){Og=269;break r}if(c=0,C(159,0|ye,0|mf),Sf=c,c=0,1&Sf){Og=269;break r}if(pf=0|t[eA>>2],c=0,Of=0|B(189,0|Ue,0|Ny),Af=c,c=0,1&Af){Og=286;break r}if(yf=0|t[(Of+4|0)>>2],Rf=0|t[rA>>2],c=0,D(183,0|We,0|YR,0|pf,0|yf,0|Rf),Ff=c,c=0,1&Ff){Og=286;break r}if(c=0,C(206,0|ye,0|We),Mf=c,c=0,1&Mf){Og=286;break r}if(c=0,P(203,0|pe,0|ye,0|We),Df=c,c=0,1&Df){Og=286;break r}if(t[aA>>2]=0,t[fA>>2]=0,t[tA>>2]=0,c=0,I(202,0|pe),Tf=c,c=0,1&Tf){Og=287;break r}if(c=0,I(207,0|pe),Nf=c,c=0,1&Nf){Og=287;break r}if(c=0,N(91,0|pe),Cf=c,c=0,1&Cf){Og=287;break r}if(c=0,If=0|I(29,40),Pf=c,c=0,1&Pf){Og=287;break r}if(c=0,C(159,0|If,0|pe),xf=c,c=0,1&xf){Vi=If,Og=288;break r}if(t[Te>>2]=0|t[If>>2],t[Te+4>>2]=0|t[If+4>>2],t[Te+8>>2]=0|t[If+8>>2],t[Te+12>>2]=0|t[If+12>>2],t[nA>>2]=0,t[oA>>2]=0,t[sA>>2]=0,c=0,Lf=0|I(29,4),Hf=c,c=0,1&Hf){Og=287;break r}if(Uf=If,t[nA>>2]=Lf,zf=Lf+4|0,t[lA>>2]=zf,t[Lf>>2]=Uf,t[oA>>2]=zf,t[uA>>2]=0,t[cA>>2]=0,t[bA>>2]=0,(0|((0|t[$O>>2])-(0|t[QO>>2])|0))>0)for(UR=0;;){jf=(0|UR)==(0|bf);do{if(!jf){if(c=0,Kf=0|B(205,0|Ue,0|UR),Gf=c,c=0,1&Gf){Og=289;break r}if(c=0,qf=0|B(94,0|Kf,0|We),Jf=c,c=0,1&Jf){Og=289;break r}if(qf)break;if(c=0,Zf=0|B(205,0|Ue,0|UR),Qf=c,c=0,1&Qf){Og=289;break r}if(c=0,$f=0|B(105,0|We,0|Zf),et=c,c=0,1&et){Og=289;break r}if(!$f)break;if(c=0,rt=0|I(29,40),it=c,c=0,1&it){Og=289;break r}if(c=0,at=0|B(205,0|Ue,0|UR),ft=c,c=0,1&ft){Yi=rt,Og=303;break r}if(c=0,C(159,0|rt,0|at),tt=c,c=0,1&tt){Yi=rt,Og=303;break r}if(c=0,C(199,0|Te,0|rt),nt=c,c=0,1&nt){Og=289;break r}}}while(0);if(!((0|(lt=UR+1|0))<(0|((0|t[$O>>2])-(0|t[QO>>2])|0)>>2)))break;UR=lt}if(c=0,Yf=0|B(189,0|Ue,0|Ny),Vf=c,c=0,1&Vf){Og=290;break r}if(ut=0|t[Yf>>2],t[a>>2]=ut,t[dA>>2]=0,(0|(ct=0|t[cA>>2]))==(0|(0|t[_A>>2]))){if(c=0,C(125,0|hA,0|a),mt=c,c=0,1&mt){Og=290;break r}}else kt=0|t[(bt=a)>>2],_t=0|t[(bt+4|0)>>2],t[(ht=ct)>>2]=kt,t[(ht+4|0)>>2]=_t,Et=(0|t[cA>>2])+8|0,t[cA>>2]=Et;if(c=0,wt=0|I(29,40),vt=c,c=0,1&vt){Og=290;break r}if(c=0,C(200,0|wt,0|Te),pt=c,c=0,1&pt){Xi=wt,Og=315;break r}if(c=0,M(103,0|e,0|wt,0),Ot=c,c=0,1&Ot){Og=290;break r}if(At=(0|t[EA>>2])+1|0,c=0,N(176,0|Te),yt=c,c=0,1&yt){Og=287;break r}if(c=0,N(72,0|pe),Rt=c,c=0,1&Rt){Og=286;break r}if(c=0,N(72,0|ye),gt=c,c=0,1>){Og=269;break r}if(!((0|(Ft=Ny+1|0))<(0|((0|t[ZO>>2])-(0|t[JO>>2])|0)>>3)))break;Ny=Ft,YR=At}}if(Qr(Ue),!((0|lR)<(0|((Pt=0|t[U>>2])-(xt=0|t[H>>2])|0)>>2))){Qa=xt,$a=Pt;break e}ef=xt,Tm=Pt}if(259==(0|Og)&&(Og=0,Na=0|t[U>>2],nf=0|t[H>>2],of=Na),!((0|(tf=lR+1|0))<(0|(of-nf|0)>>2))){Qa=nf,$a=of;break e}Fm=nf,Mm=of,lR=tf}269==(0|Og)?(WR=0|q(),jR=b,Og=271):270==(0|Og)?(WR=0|q(),jR=b,Og=271):286==(0|Og)?(nr=0|q(),or=b,Og=318):287==(0|Og)?(xr=0|q(),Vr=b,Og=317):288==(0|Og)?(Xf=0|q(),Wf=b,vf(Vi),xr=Xf,Vr=Wf,Og=317):289==(0|Og)?(VR=0|q(),XR=b,Og=291):290==(0|Og)?(VR=0|q(),XR=b,Og=291):303==(0|Og)?(ot=0|q(),st=b,vf(Yi),Cr=ot,Ir=st,Og=316):315==(0|Og)&&(Dt=0|q(),Tt=b,vf(Xi),Cr=Dt,Ir=Tt,Og=316),271==(0|Og)?(sr=WR,lr=jR):291==(0|Og)&&(Cr=VR,Ir=XR,Og=316),316==(0|Og)&&(c=0,N(176,0|Te),Nt=c,c=0,1&Nt?(Rm=0|J(0),b,ve(Rm)):(xr=Cr,Vr=Ir,Og=317)),317==(0|Og)&&(c=0,N(72,0|pe),Ct=c,c=0,1&Ct?(Rm=0|J(0),b,ve(Rm)):(nr=xr,or=Vr,Og=318)),318==(0|Og)&&(c=0,N(72,0|ye),It=c,c=0,1&It?(Rm=0|J(0),b,ve(Rm)):(sr=nr,lr=or)),c=0,N(176,0|Ue),Lt=c,c=0,1&Lt?(Rm=0|J(0),b,ve(Rm)):(lr,ie(0|sr))}else Qa=li,$a=KO}while(0);if((0|(Za=0|t[T>>2]))<(0|($a-Qa|0)>>2)){for(JA=Za,uR=Za;;){Yt=0|ti(zt=0|_i(e,uR),32);e:do{if(Yt)ZA=uR+1|0;else if(Vt=zt+28|0,(0|(0|t[(Xt=zt+32|0)>>2]))==(0|(0|t[Vt>>2])))ZA=JA;else if(Wt=0|fi(zt,0),66!=(0|(0|t[Wt>>2]))|16!=(0|((0|t[Xt>>2])-(0|t[Vt>>2])|0)))ZA=JA;else if(jt=0|fi(zt,1),97==(0|(0|t[jt>>2])))if((0|(((0|t[(Kt=zt+12|0)>>2])+1|0)-(0|t[(Gt=zt+4|0)>>2])|0)<<2)>(0|(5*(0|di(e))|0)))ZA=JA;else if((0|JA)<(0|((0|t[U>>2])-(0|t[H>>2])|0)>>2)){CR=JA;r:for(;;){Jt=(0|CR)==(0|uR);do{if(!Jt){if(0|ti(Zt=0|_i(e,CR),32)){ZA=JA;break e}if(Qt=Zt+28|0,!((0|((0|t[(Zt+32|0)>>2])-(0|t[Qt>>2])|0))>0))break;if($t=0|fi(Zt,0),(0|(en=0|t[$t>>2]))>127)break;rn=0==(0|(0|La(en)));i:do{if(!rn){switch(0|en){case 66:case 81:break i}if((0|(5*(((0|t[Kt>>2])+1|0)-(0|t[Gt>>2])|0)|0))<(0|(((0|t[(Zt+12|0)>>2])+1|0)-(0|t[(Zt+4|0)>>2])|0)<<2))break r}}while(0);if(!(114!=(0|en)&(0|Wr(en))))break;if(0|Xr(en))break;if(!((0|(an=((0|t[Kt>>2])+1|0)-(0|t[Gt>>2])|0))>(0|(fn=((0|t[(Zt+12|0)>>2])+1|0)-(0|t[(Zt+4|0)>>2])|0))))break r;if(0|Aa(an,fn,10,1))break r}}while(0);if(!((0|(tn=CR+1|0))<(0|((0|t[U>>2])-(0|t[H>>2])|0)>>2))){ZA=JA;break e}CR=tn}ai(zt,0,1),ZA=JA}else ZA=JA;else ZA=JA}while(0);if(!((0|(nn=uR+1|0))<(0|((on=0|t[U>>2])-(sn=0|t[H>>2])|0)>>2))){Ui=on,zi=sn;break}JA=ZA,uR=nn}Ht=zi,Bt=Ui,Ut=0|t[T>>2]}else Ht=Qa,Bt=$a,Ut=Za;if((0|Ut)<(0|(Bt-Ht|0)>>2))for(ay=Ut,cR=Ut;;){kn=0|ti(bn=0|_i(e,cR),32);e:do{if(kn)fy=cR+1|0;else if(dn=bn+28|0,16==(0|((0|t[(bn+32|0)>>2])-(0|t[dn>>2])|0)))if(_n=0|fi(bn,1),56==(0|(0|t[_n>>2]))){switch(hn=0|fi(bn,0),0|(0|t[hn>>2])){case 97:case 101:break;default:fy=ay;break e}if((0|(5*(((0|t[(En=bn+12|0)>>2])+1|0)-(0|t[(mn=bn+4|0)>>2])|0)|0))<(0|(0|di(e))<<2))fy=ay;else if((0|ay)<(0|((0|t[U>>2])-(0|t[H>>2])|0)>>2)){IR=ay;r:for(;;){Sn=(0|IR)==(0|cR);do{if(!Sn){if(0|ti(vn=0|_i(e,IR),32)){fy=ay;break e}if(pn=vn+28|0,!((0|((0|t[(vn+32|0)>>2])-(0|t[pn>>2])|0))>0))break;if(An=0|fi(vn,0),(0|(yn=0|t[An>>2]))>127)break;if(58==(0|yn)|0!=(0|(0|cf(yn)))&&(0|(((0|t[En>>2])+1|0)-(0|t[mn>>2])|0)<<2)>(0|(5*(((0|t[(vn+12|0)>>2])+1|0)-(0|t[(vn+4|0)>>2])|0)|0)))break r;if(!((yn+-48|0)>>>0<10)&&!(108==(0|yn)|0!=(0|(0|La(yn)))))break;if(!((0|(gn=((0|t[En>>2])+1|0)-(0|t[mn>>2])|0))<(0|(Mn=((0|t[(vn+12|0)>>2])+1|0)-(0|t[(vn+4|0)>>2])|0))))break r;if(0|Aa(gn,Mn,10,1))break r}}while(0);if(!((0|(Dn=IR+1|0))<(0|((0|t[U>>2])-(0|t[H>>2])|0)>>2))){fy=ay;break e}IR=Dn}ai(bn,0,1),fy=ay}else fy=ay}else fy=ay;else fy=ay}while(0);if(!((0|(Nn=cR+1|0))<(0|((0|t[U>>2])-(0|t[H>>2])|0)>>2)))break;ay=fy,cR=Nn}if(Ma(e),(0|(ln=0|t[T>>2]))<(0|((un=0|t[U>>2])-(cn=0|t[H>>2])|0)>>2)){for(bR=ln;;){Hn=(Ln=0|_i(e,bR))+28|0,Bn=8==(0|((0|t[(Ln+32|0)>>2])-(0|t[Hn>>2])|0));do{if(Bn&&(Un=0|fi(Ln,0),105==(0|(0|t[Un>>2])))){if((0|(zn=bR+1|0))<(0|((0|t[U>>2])-(0|t[H>>2])|0)>>2)?(Xn=(Vn=0|_i(e,zn))+28|0,(0|(0|t[(Vn+32|0)>>2]))==(0|(0|t[Xn>>2]))?Og=371:PR=zn):Og=371,371==(0|Og)){if(Og=0,Wn=bR+-1|0,!((0|bR)>(0|(0|t[T>>2]))))break;if(Kn=(jn=0|_i(e,Wn))+28|0,(0|(0|t[(jn+32|0)>>2]))==(0|(0|t[Kn>>2])))break;PR=Wn}qn=0|fi(Gn=0|_i(e,PR),0),0|Kr(0|t[qn>>2])&&((0|(0|t[(Ln+12|0)>>2]))<(0|(((0|(((Jn=0|t[(Gn+12|0)>>2])+1|0)-(0|t[(Gn+4|0)>>2])|0))/4&-1)+Jn|0))||ii(Ln,0,106,1))}}while(0);if(!((0|(Zn=bR+1|0))<(0|((Qn=0|t[U>>2])-($n=0|t[H>>2])|0)>>2))){Hi=Qn,Bi=$n;break}bR=Zn}Cn=Bi,Pn=Hi,xn=0|t[T>>2]}else Cn=cn,Pn=un,xn=ln;if((0|xn)<(0|(Pn-Cn|0)>>2)){for(ty=xn,kR=xn,RR=0;;){to=(fo=0|_i(e,kR))+28|0,no=(0|((0|t[(fo+32|0)>>2])-(0|t[to>>2])|0))>0;e:do{if(no){if(0|ti(fo,32)){lo=(0|(so=kR+2|0))<(0|((0|t[U>>2])-(0|t[H>>2])|0)>>2);do{if(lo){if(!(0|ti(0|_i(e,so),32)))break;ny=0|t[T>>2],gR=1;break e}}while(0);ny=kR+1|0,gR=0;break}if(uo=0|fi(fo,0),(0|(co=0|t[uo>>2]))<128)ny=ty,gR=RR;else if(bo=fo+16|0,(0|((0|t[(ko=fo+20|0)>>2])-(0|t[bo>>2])|0))<8)ny=ty,gR=RR;else{switch(0|(0|Lr(co))){case 111:case 115:case 117:case 122:break;default:ny=ty,gR=RR;break e}if(ho=0|$r(fo,(((0|t[ko>>2])-(0|t[bo>>2])|0)>>2)+-1|0),(0|ty)<(0|((0|t[U>>2])-(0|t[H>>2])|0)>>2)){mo=fo+12|0,wo=fo+4|0,So=ho+12|0,vo=ho+4|0,xR=ty;r:for(;;){po=(0|xR)==(0|kR);do{if(!po){if(Ao=(Oo=0|_i(e,xR))+28|0,!((0|((0|t[(Oo+32|0)>>2])-(0|t[Ao>>2])|0))>0))break;if(0|ti(Oo,32)){if(RR)break;ny=ty,gR=0;break e}if(Ro=0|fi(Oo,0),(0|(go=0|t[Ro>>2]))>127&0==(0|(Fo=0|Lr(go))))break;if(!(0==(0|(0|cf(go))))&&(0|(((0|t[So>>2])+1|0)-(0|t[vo>>2])|0)<<2)>(0|(5*(((0|t[(Oo+12|0)>>2])+1|0)-(0|t[(Oo+4|0)>>2])|0)|0)))break r;if(!(0==(0|(0|La(go))))&&0|Aa(((0|t[So>>2])+1|0)-(0|t[vo>>2])|0,((0|t[(Oo+12|0)>>2])+1|0)-(0|t[(Oo+4|0)>>2])|0,10,1))break r;if(!(0==(0|(0|cf(Fo))))&&(0|(((0|t[mo>>2])+1|0)-(0|t[wo>>2])|0)<<2)>(0|(5*(((0|t[(Oo+12|0)>>2])+1|0)-(0|t[(Oo+4|0)>>2])|0)|0)))break r;if(0==(0|(0|La(Fo))))break;if(0|Aa(((0|t[mo>>2])+1|0)-(0|t[wo>>2])|0,((0|t[(Oo+12|0)>>2])+1|0)-(0|t[(Oo+4|0)>>2])|0,10,1))break r}}while(0);if(!((0|(Co=xR+1|0))<(0|((0|t[U>>2])-(0|t[H>>2])|0)>>2))){ny=ty,gR=RR;break e}xR=Co}ii(fo,0,0|Jr(co),1),ny=ty,gR=RR}else ny=ty,gR=RR}}else ny=ty,gR=RR}while(0);if(!((0|(Po=kR+1|0))<(0|((xo=0|t[U>>2])-(Lo=0|t[H>>2])|0)>>2))){xi=xo,Li=Lo;break}ty=ny,kR=Po,RR=gR}eo=Li,ro=xi,ao=0|t[T>>2]}else eo=Cn,ro=Pn,ao=xn;if((0|ao)<(0|(io=(ro-eo|0)>>2))){for(oy=ao,_R=ao;;){Vo=0|ti(Yo=0|_i(e,_R),32);e:do{if(Vo)sy=_R+1|0;else if(Xo=Yo+28|0,(0|((0|t[(Yo+32|0)>>2])-(0|t[Xo>>2])|0))>0){switch(jo=0|fi(Yo,0),0|(Ko=0|t[jo>>2])){case 79:case 108:case 111:break;default:sy=oy;break e}if((0|oy)<(0|((0|t[U>>2])-(0|t[H>>2])|0)>>2)){LR=oy;r:for(;;){Go=(0|LR)==(0|_R);do{if(!Go){if(0|ti(qo=0|_i(e,LR),32)){sy=oy;break e}if(Zo=qo+28|0,!((0|((0|t[(qo+32|0)>>2])-(0|t[Zo>>2])|0))>0))break;if(Qo=0|fi(qo,0),(($o=0|t[Qo>>2])+-48|0)>>>0<10){Ni=qo;break r}if(!(0|Br($o)))break;switch(0|$o){case 79:case 108:case 111:break;default:sy=oy;break e}}}while(0);if(!((0|(fs=LR+1|0))<(0|((0|t[U>>2])-(0|t[H>>2])|0)>>2))){sy=oy;break e}LR=fs}0|Aa(((0|t[(Yo+12|0)>>2])+1|0)-(0|t[(Yo+4|0)>>2])|0,((0|t[(Ni+12|0)>>2])+1|0)-(0|t[(Ni+4|0)>>2])|0,10,1)?(rs=108==(0|Ko)?49:48,is=0|fi(Yo,0),ii(Yo,0,rs,(0|t[(is+4|0)>>2])+1|0),sy=oy):sy=oy}else sy=oy}else sy=oy}while(0);if(!((0|(ts=_R+1|0))<(0|(ss=((ns=0|t[U>>2])-(os=0|t[H>>2])|0)>>2)))){Ci=ns,Ii=os,Pi=ss;break}oy=sy,_R=ts}ga=Pi,Ho=0|t[T>>2],Nm=Ii,Cm=Ci}else ga=io,Ho=ao,Nm=eo,Cm=ro;if((0|ga)>(0|Ho)){for(Uo=y+12|0,zo=f+4|0,ER=ga;;){hs=(ds=0|_i(e,hR=ER+-1|0))+28|0,ms=8==(0|((0|t[(Es=ds+32|0)>>2])-(0|t[hs>>2])|0));e:do{if(ms&&(ws=0|fi(ds,0),112==(0|(0|t[ws>>2])))){As=(0|(Os=(0|(((0|t[(Ss=ds+12|0)>>2])+1|0)-(0|t[(ps=ds+4|0)>>2])|0))/20&-1))>2?Os:2,ys=(0|ER)<(0|((0|t[U>>2])-(0|t[H>>2])|0)>>2);r:do{if(ys){if(gs=(Rs=0|_i(e,ER))+28|0,(0|(0|t[(Rs+32|0)>>2]))==(0|(0|t[gs>>2]))){Og=436;break}Ds=0|fi(Fs=0|_i(e,ER),0),Ns=0|Hr(Ts=0|t[Ds>>2]);i:do{if(Ns)switch(0|Ts){case 121:case 113:case 112:case 106:case 103:if((0|((0|t[Ss>>2])+As|0))>(0|(0|t[(Fs+12|0)>>2])))break e;break r;case 81:if((0|((0|(Is=(0|t[ps>>2])-(0|t[(Fs+4|0)>>2])|0))>-1?Is:0-Is|0))>(0|As))break e;break r;default:break i}else switch(0|Ts){case 124:case 46:break;default:Og=436;break r}}while(0);if((0|((0|(Hs=(0|t[Ss>>2])-(0|t[(Fs+12|0)>>2])|0))>-1?Hs:0-Hs|0))>(0|As))break e}else Og=436}while(0);if(436==(0|Og)){if(Og=0,!((0|hR)>(0|(0|t[T>>2]))))break;if(0|ti(0|_i(e,ER+-2|0),32))break;if(Ps=0|t[Ss>>2],hi(y,e,ds),(0|((0|(Ls=Ps-(0|t[Uo>>2])|0))>-1?Ls:0-Ls|0))>(0|As))break}Us=0|t[hs>>2],(0|(zs=0|t[Es>>2]))==(0|Us)?Ys=Us:(mg=zs+((-1^((zs+-8|0)-Us|0)>>>3)<<3)|0,t[Es>>2]=mg,Ys=mg),t[f>>2]=80,t[zo>>2]=0,(0|Ys)==(0|(0|t[(ds+36|0)>>2]))?Pr(hs,f):(Ws=0|t[(Xs=f)>>2],js=0|t[(Xs+4|0)>>2],t[(Ks=Ys)>>2]=Ws,t[(Ks+4|0)>>2]=js,Gs=(0|t[Es>>2])+8|0,t[Es>>2]=Gs)}}while(0);if(!((0|hR)>(0|(qs=0|t[T>>2])))){Ti=qs;break}ER=hR}Ca=0|t[U>>2],ls=0|t[H>>2],us=Ca,bs=Ti}else ls=Nm,us=Cm,bs=Ho;if((0|(vR=(cs=(us-ls|0)>>2)+-1|0))>(0|bs))for(ks=p+4|0,wR=cs,pR=vR;;){Zs=(Js=0|_i(e,wR+-2|0))+28|0,$s=8==(0|((0|t[(Qs=Js+32|0)>>2])-(0|t[Zs>>2])|0));e:do{if($s&&(el=0|fi(Js,0),89==(0|(0|t[el>>2])))){if(al=(rl=0|_i(e,pR))+28|0,(0|(0|t[(rl+32|0)>>2]))==(0|(0|t[al>>2])))break;fl=0|fi(rl,0),nl=0|Hr(tl=0|t[fl>>2]);r:do{if(nl)switch(0|tl){case 121:case 113:case 112:case 106:case 103:if((0|(0|t[(Js+12|0)>>2]))<(0|((0|t[(rl+12|0)>>2])+-2|0)))break e;break r;case 81:if((0|(0|t[(Js+4|0)>>2]))<(0|((0|t[(rl+4|0)>>2])+2|0)))break e;break r;default:Og=458;break r}else switch(0|tl){case 124:case 46:Og=458;break;default:break e}}while(0);if(458==(0|Og)&&(Og=0,(0|(0|t[(Js+12|0)>>2]))<(0|((0|t[(rl+12|0)>>2])+2|0))))break;sl=0|t[Zs>>2],(0|(ll=0|t[Qs>>2]))==(0|sl)?cl=sl:(Eg=ll+((-1^((ll+-8|0)-sl|0)>>>3)<<3)|0,t[Qs>>2]=Eg,cl=Eg),t[p>>2]=121,t[ks>>2]=0,(0|cl)==(0|(0|t[(Js+36|0)>>2]))?Pr(Zs,p):(kl=0|t[(bl=p)>>2],_l=0|t[(bl+4|0)>>2],t[(hl=cl)>>2]=kl,t[(hl+4|0)>>2]=_l,El=(0|t[Qs>>2])+8|0,t[Qs>>2]=El)}}while(0);if(!((0|(mR=pR+-1|0))>(0|(0|t[T>>2]))))break;SR=pR,pR=mR,wR=SR}if(0|ya(r,2))if((0|(ml=0|t[T>>2]))<(0|((wl=0|t[U>>2])-(Sl=0|t[H>>2])|0)>>2))for(OR=ml;;){pl=(vl=0|_i(e,OR))+28|0,Al=8==(0|((0|t[(vl+32|0)>>2])-(0|t[pl>>2])|0));e:do{if(Al){if(yl=0|fi(vl,0),!(351==(0|(0|t[yl>>2]))))break;Rl=(0|OR)>(0|(0|t[T>>2]));do{if(Rl){if(Ml=(Fl=0|_i(e,gl=OR+-1|0))+28|0,(0|(0|t[(Fl+32|0)>>2]))==(0|(0|t[Ml>>2])))break;if(Tl=0|fi(Dl=0|_i(e,gl),0),0|Yr(Nl=0|t[Tl>>2])&&(0|(0|t[(vl+4|0)>>2]))<(0|((0|t[(Dl+4|0)>>2])+-2|0))||(Og=472),472==(0|Og)){if(Og=0,!(305!=(0|Nl)&0!=(0|(0|Lr(Nl)))))break;if(!(0|Aa(0|t[(vl+4|0)>>2],0|t[(Dl+4|0)>>2],10,1)))break}ii(vl,0,350,1);break e}}while(0);if(!((0|OR)<(0|((((0|t[U>>2])-(0|t[H>>2])|0)>>2)+-1|0))))break;if(Ll=(Pl=0|_i(e,Il=OR+1|0))+28|0,(0|(0|t[(Pl+32|0)>>2]))==(0|(0|t[Ll>>2])))break;if(Bl=0|fi(Hl=0|_i(e,Il),0),0|Yr(Ul=0|t[Bl>>2])&&(0|(0|t[(vl+4|0)>>2]))<(0|((0|t[(Hl+4|0)>>2])+-2|0))||(Og=479),479==(0|Og)){if(Og=0,!(305!=(0|Ul)&0!=(0|(0|Lr(Ul)))))break;if(!(0|Aa(0|t[(vl+4|0)>>2],0|t[(Hl+4|0)>>2],10,1)))break}ii(vl,0,350,1)}}while(0);if(!((0|(Yl=OR+1|0))<(0|((Vl=0|t[U>>2])-(Xl=0|t[H>>2])|0)>>2))){jl=Xl,Kl=Vl;break}OR=Yl}else jl=Sl,Kl=wl;else Ia=0|t[U>>2],jl=0|t[H>>2],Kl=Ia;if((0|(Wl=0|t[T>>2]))<(0|(Kl-jl|0)>>2)){for(Ql=jl,$l=Kl,QA=Wl;;){eu=($l-Ql|0)>>2>>>0>QA>>>0;e:do{if(eu)for(ar=QA,qr=Ql;;){if(0|ti(0|t[(qr+(ar<<2)|0)>>2],32)){$e=ar;break e}if(iu=0|t[H>>2],0|ti(0|t[(iu+(ar<<2)|0)>>2],45)){$e=ar;break e}if(!((au=ar+1|0)>>>0<((0|t[U>>2])-(fu=0|t[H>>2])|0)>>2>>>0)){$e=au;break}ar=au,qr=fu}else $e=QA}while(0);tu=(0|($e-QA|0))<2;do{if(!tu){if(ou=(nu=0|_i(e,QA))+28|0,(0|(0|t[(nu+32|0)>>2]))==(0|(0|t[ou>>2])))break;if(su=((0|t[(nu+12|0)>>2])+1|0)-(0|t[(nu+4|0)>>2])|0,lu=0|fi(nu,0),!(111==(0|(32|(uu=0|t[lu>>2])))|(108==(0|uu)|(uu+-48|0)>>>0<10)))break;for(My=1,zy=QA;;){if(!((0|(Uy=zy+1|0))<(0|$e))){Ty=My,Yy=Uy;break}if(ku=(bu=0|_i(e,Uy))+28|0,(0|(0|t[(bu+32|0)>>2]))==(0|(0|t[ku>>2]))){Ty=My,Yy=Uy;break}if(du=0|fi(bu,0),111==(0|(32|(_u=0|t[du>>2])))|(108==(0|_u)|(_u+-48|0)>>>0<10)?(Dy=(1&(mu=0|Aa(((0|t[(bu+12|0)>>2])+1|0)-(0|t[(bu+4|0)>>2])|0,su,10,1)))+My|0,pg=mu):(Dy=My,pg=0),!(45==(0|_u)|(43==(0|_u)|(58==(0|_u)|46==(0|(2|_u))))|pg)){Ty=Dy,Yy=Uy;break}My=Dy,zy=Uy}if(!((0|Yy)>=(0|$e)&(0|Ty)>1&(0|$e)>(0|QA)))break;for(Vy=QA;vu=0|fi(Su=0|_i(e,Vy),0),108==(0|(pu=0|t[vu>>2]))?(Sy=49,Og=503):111==(0|(32|pu))&&(Sy=48,Og=503),503==(0|Og)&&(Og=0,Ou=0|fi(Su,0),ii(Su,0,Sy,(0|t[(Ou+4|0)>>2])+1|0)),!((0|(Au=Vy+1|0))==(0|$e));)Vy=Au}}while(0);if(!((0|(yu=$e+1|0))<(0|((Ru=0|t[U>>2])-(gu=0|t[H>>2])|0)>>2))){Mi=Ru,Di=gu;break}Ql=gu,$l=Ru,QA=yu}Gl=Di,ql=Mi,Jl=0|t[T>>2]}else Gl=jl,ql=Kl,Jl=Wl;if((0|Jl)<(0|(ql-Gl|0)>>2)){for(Tu=Gl,Nu=ql,$A=Jl;;){Cu=(Nu-Tu|0)>>2>>>0>$A>>>0;e:do{if(Cu)for(ir=$A,Gr=Tu;;){if(0|ti(0|t[(Gr+(ir<<2)|0)>>2],32)){Qe=ir;break e}if(Pu=0|t[H>>2],0|ti(0|t[(Pu+(ir<<2)|0)>>2],45)){Qe=ir;break e}if(!((xu=ir+1|0)>>>0<((0|t[U>>2])-(Lu=0|t[H>>2])|0)>>2>>>0)){Qe=xu;break}ir=xu,Gr=Lu}else Qe=$A}while(0);Bu=((-2-$A|0)+Qe|0)>>>0>2;e:do{if(!Bu){if(Uu=0|_i(e,$A),zu=((0|t[(Uu+12|0)>>2])+1|0)-(0|t[(Uu+4|0)>>2])|0,!(Yu=(0|$A)<(0|Qe)))break;for(Xy=$A;;){if(!(0|ti(Xu=0|_i(e,Xy),124)))break e;if(Vu=Xy+1|0,!(0|Aa(((0|t[(Xu+12|0)>>2])+1|0)-(0|t[(Xu+4|0)>>2])|0,zu,10,1)))break e;if(!((0|Vu)<(0|Qe)))break;Xy=Vu}if(!Yu)break;for(Wy=$A;ju=0|_i(e,Wy),0|ti(0|_i(e,Wy),73)||(Ku=0|fi(ju,0),ii(ju,0,73,(0|t[(Ku+4|0)>>2])+1|0)),!((0|(qu=Wy+1|0))==(0|Qe));)Wy=qu}}while(0);if(!((0|(Ju=Qe+1|0))<(0|((Zu=0|t[U>>2])-(Qu=0|t[H>>2])|0)>>2))){gi=Zu,Fi=Qu;break}Tu=Qu,Nu=Zu,$A=Ju}Fu=Fi,Mu=gi,Du=0|t[T>>2]}else Fu=Gl,Mu=ql,Du=Jl;if((0|Du)<(0|(Mu-Fu|0)>>2)){for(jy=Du;;){ac=(ic=0|_i(e,jy))+28|0,tc=16==(0|((0|t[(ic+32|0)>>2])-(0|t[ac>>2])|0));e:do{if(tc){if(nc=0|fi(ic,0),!(97==(0|(0|t[nc>>2]))))break;if(oc=0|fi(ic,1),!(81==(0|(0|t[oc>>2]))))break;if((0|(((0|t[(sc=ic+12|0)>>2])+1|0)-(0|t[(lc=ic+4|0)>>2])|0)<<2)>(0|(5*(0|di(e))|0))){ai(ic,0,1),Ma(e);break}cc=(0|jy)<(0|((((0|t[U>>2])-(0|t[H>>2])|0)>>2)+-1|0));do{if(cc){if(dc=(kc=0|_i(e,bc=jy+1|0))+28|0,(0|(0|t[(kc+32|0)>>2]))==(0|(0|t[dc>>2])))break;if(_c=0|fi(0|_i(e,bc),0),!(0|Ur(0|t[_c>>2])))break;if(hc=10*(((0|t[sc>>2])+1|0)-(0|t[lc>>2])|0)|0,Ec=0|_i(e,bc),!((0|hc)>(0|(9*(((0|t[(Ec+12|0)>>2])+1|0)-(0|t[(Ec+4|0)>>2])|0)|0))))break;ai(ic,0,1),Ma(e);break e}}while(0);if(!((0|jy)>(0|(0|t[T>>2]))))break;if(pc=(vc=0|_i(e,Sc=jy+-1|0))+28|0,(0|(0|t[(vc+32|0)>>2]))==(0|(0|t[pc>>2])))break;if(Oc=0|fi(0|_i(e,Sc),0),!(0|Ur(0|t[Oc>>2])))break;if(yc=10*(((0|t[sc>>2])+1|0)-(0|t[lc>>2])|0)|0,Rc=0|_i(e,Sc),!((0|yc)>(0|(9*(((0|t[(Rc+12|0)>>2])+1|0)-(0|t[(Rc+4|0)>>2])|0)|0))))break;ai(ic,0,1),Ma(e)}}while(0);if(!((0|(gc=jy+1|0))<(0|((Fc=0|t[U>>2])-(Mc=0|t[H>>2])|0)>>2))){yi=Fc,Ri=Mc;break}jy=gc}$u=Ri,ec=yi,rc=0|t[T>>2]}else $u=Fu,ec=Mu,rc=Du;if((0|rc)<(0|(ec-$u|0)>>2)){for(Ky=rc;;){Pc=(Ic=0|_i(e,Ky))+28|0,xc=8==(0|((0|t[(Ic+32|0)>>2])-(0|t[Pc>>2])|0));e:do{if(xc){if(Lc=0|fi(Ic,0),Bc=108==(0|(Hc=0|t[Lc>>2])),!(124==(0|(16|Hc))))break;Uc=(0|Ky)>0;do{if(Uc){if(Xc=(Vc=0|_i(e,Yc=Ky+-1|0))+28|0,(0|(0|t[(Vc+32|0)>>2]))==(0|(0|t[Xc>>2]))){zR=0;break}Wc=0|fi(0|_i(e,Yc),0),zR=0|t[Wc>>2]}else zR=0}while(0);jc=(0|Ky)<(0|((((0|t[U>>2])-(0|t[H>>2])|0)>>2)+-1|0));do{if(jc){if(qc=(Gc=0|_i(e,Kc=Ky+1|0))+28|0,(0|(0|t[(Gc+32|0)>>2]))==(0|(0|t[qc>>2]))){fg=0;break}Zc=0|fi(0|_i(e,Kc),0),fg=0|t[Zc>>2]}else fg=0}while(0);ag=0|zr(fg)|(fg+-48|0)>>>0<10;r:do{if(ag){Qc=0==(0|zR);do{if(!Qc){if(0|zr(zR))break;if(0|Hr(zR))break r}}while(0);ii(Ic,0,73,1);break e}}while(0);if(Bc)break;$c=0|Br(zR);do{if(!$c){if(0|Br(fg))break;if(!(124==(0|fg)))break e;if(!(0==(0|zR))&&0|Hr(zR))break e;eb=(0|Ky)<(0|((((0|t[U>>2])-(0|t[H>>2])|0)>>2)+-2|0));do{if(eb){if(ab=(ib=0|_i(e,rb=Ky+2|0))+28|0,(0|(0|t[(ib+32|0)>>2]))==(0|(0|t[ab>>2])))break;if(fb=0|fi(0|_i(e,rb),0),!(0|Br(0|t[fb>>2])))break;ii(Ic,0,108,1);break e}}while(0);if(!((0|Ky)>1))break e;if(ob=(nb=0|_i(e,tb=Ky+-2|0))+28|0,(0|(0|t[(nb+32|0)>>2]))==(0|(0|t[ob>>2])))break e;if(lb=0|fi(0|_i(e,tb),0),!(0|Br(0|t[lb>>2])))break e;ii(Ic,0,108,1);break e}}while(0);ii(Ic,0,108,1)}}while(0);if(!((0|(ub=Ky+1|0))<(0|((cb=0|t[U>>2])-(bb=0|t[H>>2])|0)>>2))){Oi=cb,Ai=bb;break}Ky=ub}Tc=Ai,Nc=Oi,Cc=0|t[T>>2]}else Tc=$u,Nc=ec,Cc=rc;if((0|Cc)<(0|(Nc-Tc|0)>>2))for(db=Tc,_b=Nc,ey=Cc;;){hb=(_b-db|0)>>2>>>0>ey>>>0;e:do{if(hb)for(rr=ey,jr=db;;){if(0|ti(0|t[(jr+(rr<<2)|0)>>2],32)){Ze=rr;break e}if(Eb=0|t[H>>2],0|ti(0|t[(Eb+(rr<<2)|0)>>2],45)){Ze=rr;break e}if(!((mb=rr+1|0)>>>0<((0|t[U>>2])-(wb=0|t[H>>2])|0)>>2>>>0)){Ze=mb;break}rr=mb,jr=wb}else Ze=ey}while(0);Sb=(0|(Ze-ey|0))<3;e:do{if(!Sb){if(!(0|ti(pb=0|_i(e,vb=Ze+-1|0),124)))break;if(0|ti(pb,73))break;if(Ab=((0|t[(pb+12|0)>>2])+1|0)-(0|t[(pb+4|0)>>2])|0,(0|ey)<(0|vb))for($y=ey;;){if(gb=(Rb=0|_i(e,$y))+28|0,(0|(0|t[(Rb+32|0)>>2]))==(0|(0|t[gb>>2])))break e;if(Fb=0|fi(Rb,0),!(0|zr(Mb=0|t[Fb>>2])|(Mb+-48|0)>>>0<10))break e;if(yb=$y+1|0,!(0|Aa(((0|t[(Rb+12|0)>>2])+1|0)-(0|t[(Rb+4|0)>>2])|0,Ab,10,1)))break e;if(!((0|yb)<(0|vb)))break;$y=yb}Tb=0|fi(pb,0),ii(pb,0,73,(0|t[(Tb+4|0)>>2])+1|0)}}while(0);if(!((0|(Nb=Ze+1|0))<(0|((Cb=0|t[U>>2])-(Ib=0|t[H>>2])|0)>>2)))break;db=Ib,_b=Cb,ey=Nb}kb=0|ya(r,2);do{if(kb){if(!((0|(xb=0|t[T>>2]))<(0|((Lb=0|t[U>>2])-(Hb=0|t[H>>2])|0)>>2))){Ok=Hb,Ak=Lb;break}for(Bb=z+4|0,ry=xb,eR=xb;;){zb=0|ti(Ub=0|_i(e,eR),32);e:do{if(zb)iy=eR+1|0;else{if(Yb=Ub+28|0,(0|(0|t[(Vb=Ub+32|0)>>2]))==(0|(0|t[Yb>>2]))){iy=ry;break}switch(Xb=0|fi(Ub,0),0|(0|t[Xb>>2])){case 108:case 124:break;default:iy=ry;break e}if((0|(((0|t[(jb=Ub+12|0)>>2])+1|0)-(0|t[(Kb=Ub+4|0)>>2])|0)<<2)>(0|(5*(0|di(e))|0))){iy=ry;break}if((0|(5*(((0|t[jb>>2])+1|0)-(0|t[Kb>>2])|0)|0))<(0|(0|di(e))<<2)){qb=0|t[Yb>>2],(0|(Jb=0|t[Vb>>2]))==(0|qb)?Zb=qb:(hg=Jb+((-1^((Jb+-8|0)-qb|0)>>>3)<<3)|0,t[Vb>>2]=hg,Zb=hg),t[z>>2]=305,t[Bb>>2]=0,(0|Zb)==(0|(0|t[(Ub+36|0)>>2]))?Pr(Yb,z):($b=0|t[(Qb=z)>>2],ek=0|t[(Qb+4|0)>>2],t[(rk=Zb)>>2]=$b,t[(rk+4|0)>>2]=ek,ik=(0|t[Vb>>2])+8|0,t[Vb>>2]=ik),iy=ry;break}if(!((0|ry)<(0|((0|t[U>>2])-(0|t[H>>2])|0)>>2))){iy=ry;break}ky=0,MR=ry,Sg=0;r:for(;;){ak=(0|MR)==(0|eR);do{if(ak)_y=ky,vg=Sg;else{if(0|ti(fk=0|_i(e,MR),32)){by=ky,wg=Sg;break r}if(tk=fk+28|0,(0|(0|t[(fk+32|0)>>2]))==(0|(0|t[tk>>2]))){_y=ky,vg=Sg;break}if(ok=0|fi(fk,0),(0|(sk=0|t[ok>>2]))>127){_y=ky,vg=Sg;break}if(0==(0|(0|cf(sk)))){_y=ky,vg=Sg;break}i:do{if(ky)dy=1;else{if((0|(((0|t[jb>>2])+1|0)-(0|t[Kb>>2])|0)<<2)>(0|(5*(((0|t[(uk=fk+12|0)>>2])+1|0)-(0|t[(ck=fk+4|0)>>2])|0)|0))){dy=1;break}if(0==(0|(0|La(sk)))){dy=0;break}switch(0|sk){case 66:case 81:dy=0;break i}if((0|(kk=((0|t[jb>>2])+1|0)-(0|t[Kb>>2])|0))<(0|(dk=((0|t[uk>>2])+1|0)-(0|t[ck>>2])|0))&&!(0|Aa(kk,dk,10,1))){dy=0;break}dy=1}}while(0);if(Sg){_y=dy,vg=1;break}if(!(108!=(0|sk)&0!=(0|(0|Ya(sk))))){_y=dy,vg=0;break}if((0|(5*(((0|t[jb>>2])+1|0)-(0|t[Kb>>2])|0)|0))<(0|(((0|t[(hk=fk+12|0)>>2])+1|0)-(0|t[(Ek=fk+4|0)>>2])|0)<<2)){_y=dy,vg=1;break}if(!(0|Wr(sk))){_y=dy,vg=0;break}if(!((0|MR)<(0|eR))&&0|Xr(sk)){_y=dy,vg=0;break}_y=dy,vg=0|Aa(((0|t[jb>>2])+1|0)-(0|t[Kb>>2])|0,((0|t[hk>>2])+1|0)-(0|t[Ek>>2])|0,10,1)}}while(0);if(!((0|(mk=MR+1|0))<(0|((0|t[U>>2])-(0|t[H>>2])|0)>>2))){by=_y,wg=vg;break}ky=_y,MR=mk,Sg=vg}if(by|1^wg){iy=ry;break}ii(Ub,0,305,1),iy=ry}}while(0);if(!((0|(wk=eR+1|0))<(0|((Sk=0|t[U>>2])-(vk=0|t[H>>2])|0)>>2))){Ok=vk,Ak=Sk;break}ry=iy,eR=wk}}else Pa=0|t[U>>2],Ok=0|t[H>>2],Ak=Pa}while(0);if((0|(pk=0|t[T>>2]))<(0|(((Ak-Ok|0)>>2)+-1|0))){for(Rk=G+4|0,rR=pk;;){Ik=0|_i(e,rR),xk=0|_i(e,Pk=rR+1|0),Lk=Ik+28|0,Bk=8==(0|((0|t[(Hk=Ik+32|0)>>2])-(0|t[Lk>>2])|0));e:do{if(Bk){if(Uk=xk+28|0,!(8==(0|((0|t[(xk+32|0)>>2])-(0|t[Uk>>2])|0))))break;switch(Yk=0|fi(Ik,0),Vk=0|t[Yk>>2],Xk=0|fi(xk,0),0|Vk){case 39:case 96:break;default:break e}if(!((0|Vk)==(0|(0|t[Xk>>2]))))break;if(!((0|((0|t[xk>>2])-(Kk=0|t[(Ik+8|0)>>2])|0)<<1)<(0|(3*((Kk+1|0)-(0|t[Ik>>2])|0)|0))))break;ni(Ik,xk),Gk=0|t[Lk>>2],(0|(qk=0|t[Hk>>2]))==(0|Gk)?Jk=Gk:(_g=qk+((-1^((qk+-8|0)-Gk|0)>>>3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2]=Md),mi(e,td)}}while(0);if(!((0|td)<(0|(hd=((_d=(0|t[U>>2])-(0|t[H>>2])|0)>>2)+-1|0)))){Oa=_d,Ra=hd;break}iR=td}else Oa=gk,Ra=Dk;id=(0|Oa)>4;do{if(id){if(Td=(Dd=0|_i(e,Ra))+28|0,!((0|((0|t[(Dd+32|0)>>2])-(0|t[Td>>2])|0))>8))break;if(Cd=0|fi(Dd,0),!(46==(0|(0|t[Cd>>2]))))break;if(Id=0|fi(Dd,1),!(45==(0|(0|t[Id>>2]))))break;if(Ld=(xd=0|_i(e,(((0|t[U>>2])-(0|t[H>>2])|0)>>2)+-2|0))+28|0,(0|(0|t[(xd+32|0)>>2]))==(0|(0|t[Ld>>2])))break;if(Hd=0|fi(xd,0),!(0|Br(0|t[Hd>>2])))break;ai(Dd,0,1)}}while(0);if((0|(Ud=0|t[T>>2]))<(0|((((zd=0|t[U>>2])-(Yd=0|t[H>>2])|0)>>2)+-1|0))){for(Vd=_e+4|0,aR=Ud;;){F_=0|_i(e,aR),D_=0|_i(e,M_=aR+1|0),T_=F_+28|0,C_=8==(0|((0|t[(N_=F_+32|0)>>2])-(0|t[T_>>2])|0));e:do{if(C_){if(I_=D_+28|0,!(8==(0|((0|t[(D_+32|0)>>2])-(0|t[I_>>2])|0))))break;if(P_=0|fi(F_,0),x_=0|t[P_>>2],L_=0|fi(D_,0),!(110==(0|x_)))break;switch(0|(0|t[L_>>2])){case 73:case 108:break;default:break e}if(!(0|Aa(((0|t[(F_+12|0)>>2])+1|0)-(0|t[(F_+4|0)>>2])|0,((0|t[(D_+12|0)>>2])+1|0)-(0|t[(D_+4|0)>>2])|0,10,1)))break;if(!((0|((U_=0|t[D_>>2])-(0|t[(F_+8|0)>>2])|0))<(0|((1-U_|0)+(0|t[(D_+8|0)>>2])|0))))break;ni(F_,D_),Y_=0|t[T_>>2],(0|(V_=0|t[N_>>2]))==(0|Y_)?X_=Y_:(kg=V_+((-1^((V_+-8|0)-Y_|0)>>>3)<<3)|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=0|$r(J_,0))+28|0,!((0|(0|t[(ih+32|0)>>2]))==(0|(0|t[ah>>2])))){nR=fR,ig=ZR;break}if(0==(0|ZR)){if(!((0|(fh=0|t[T>>2]))<(0|((th=0|t[U>>2])-(nh=0|t[H>>2])|0)>>2))){Im=nh,Pm=th,Og=745;break e}for(Ry=0,DR=fh,QR=0;;){sh=(oh=0|_i(e,DR))+28|0,lh=(0|(0|t[(oh+32|0)>>2]))==(0|(0|t[sh>>2]));do{if(lh)gy=Ry,$R=QR;else{if(uh=0|fi(oh,0),ch=0|t[uh>>2],!(0|(Ag=ch,yg=void 0,(0|(Ag|=0))>127?0:0==(0|La(Ag))?0:(yg=Ag+-73|0)>>>0<15?0|(1&16100>>>(32767&yg))<<16>>16!=0:1))){gy=Ry,$R=QR;break}gy=Ry+1|0,$R=((QR+1|0)+(0|t[(oh+8|0)>>2])|0)-(0|t[oh>>2])|0}}while(0);if(!((0|(bh=DR+1|0))<(0|((kh=0|t[U>>2])-(dh=0|t[H>>2])|0)>>2))){ui=kh,ci=dh,Fy=gy,eg=$R;break}Ry=gy,DR=bh,QR=$R}if((0|Fy)<1){Im=ci,Pm=ui,Og=745;break e}rg=(0|eg)/(0|Fy)&-1}else rg=ZR;if((0|(((0|t[eh>>2])+1|0)-(0|t[J_>>2])|0))<(0|rg<<1)){nR=fR,ig=rg;break}if(hh=0|$r(J_,0),(0|(mh=0|t[(Eh=hh+12|0)>>2]))<(0|(vh=0|t[(wh=hh+4|0)>>2])))gh=vh,Fh=mh,ng=mh;else{for(ph=hh+8|0,sg=mh;;){if(Oh=0|t[hh>>2],!(0==(0|(0|Fr(hh,sg,(0|((0|t[ph>>2])+Oh|0))/2&-1))))){lg=sg,Og=697;break}if(Ah=sg+-1|0,!((0|sg)>(0|(Rh=0|t[wh>>2])))){xa=Rh,og=Ah;break}sg=Ah}697==(0|Og)&&(Og=0,xa=0|t[wh>>2],og=lg),gh=xa,Fh=0|t[Eh>>2],ng=og}if(!((0|ng)<(0|(((0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=c,c=0,1&eE){Og=737;break e}if(c=0,C(159,0|$h,0|Oe),rE=c,c=0,1&rE){ki=$h,Og=738;break e}if(t[xe>>2]=0|t[$h>>2],t[xe+4>>2]=0|t[$h+4>>2],t[xe+8>>2]=0|t[$h+8>>2],t[xe+12>>2]=0|t[$h+12>>2],t[d_>>2]=0,t[__>>2]=0,t[h_>>2]=0,c=0,iE=0|I(29,4),aE=c,c=0,1&aE){Og=737;break e}if(fE=$h,t[d_>>2]=iE,tE=iE+4|0,t[E_>>2]=tE,t[iE>>2]=fE,t[__>>2]=tE,t[m_>>2]=0,t[w_>>2]=0,t[S_>>2]=0,oE=0|t[v_>>2],(0|(sE=0|t[b_>>2]))==(0|oE)?lE=oE:(bg=sE+((-1^((sE+-8|0)-oE|0)>>>3)<<3)|0,t[b_>>2]=bg,lE=bg),t[he>>2]=86,t[O_>>2]=0,(0|lE)==(0|(0|t[A_>>2]))){if(c=0,C(125,0|v_,0|he),hE=c,c=0,1&hE){Og=739;break e}}else cE=0|t[(uE=he)>>2],bE=0|t[(uE+4|0)>>2],t[(kE=lE)>>2]=cE,t[(kE+4|0)>>2]=bE,_E=(0|t[b_>>2])+8|0,t[b_>>2]=_E;if(EE=0|t[y_>>2],(0|(mE=0|t[w_>>2]))==(0|EE)?wE=EE:(cg=mE+((-1^((mE+-8|0)-EE|0)>>>3)<<3)|0,t[w_>>2]=cg,wE=cg),t[Ee>>2]=86,t[R_>>2]=0,(0|wE)==(0|(0|t[g_>>2]))){if(c=0,C(125,0|y_,0|Ee),RE=c,c=0,1&RE){Og=739;break e}}else vE=0|t[(SE=Ee)>>2],pE=0|t[(SE+4|0)>>2],t[(AE=wE)>>2]=vE,t[(AE+4|0)>>2]=pE,yE=(0|t[w_>>2])+8|0,t[w_>>2]=yE;if(c=0,B(197,0|J_,0|Fe),gE=c,c=0,1&gE){Og=739;break e}if(ME=fR+1|0,DE=(0|t[H>>2])+(ME<<2)|0,t[R>>2]=DE,c=0,TE=0|I(29,40),NE=c,c=0,1&NE){Og=739;break e}if(c=0,C(200,0|TE,0|xe),CE=c,c=0,1&CE){Ei=TE,Og=740;break e}if(t[g>>2]=TE,c=0,t[i>>2]=0|t[R>>2],M(208,0|H,0|i,0|g),IE=c,c=0,1&IE){Og=739;break e}if(c=0,N(176,0|xe),PE=c,c=0,1&PE){Og=737;break e}if(c=0,N(176,0|Fe),xE=c,c=0,1&xE){Og=709;break e}tR=ME}}while(0);if(c=0,N(72,0|Oe),LE=c,c=0,1&LE){Og=708;break e}yr(Se),nR=tR,ig=rg}}while(0);if(!((0|(HE=nR+1|0))<(0|((BE=0|t[U>>2])-(UE=0|t[H>>2])|0)>>2))){Im=UE,Pm=BE,Og=745;break}fR=HE,ZR=ig}if(708==(0|Og))Er=0|q(),mr=b;else if(709==(0|Og))_r=0|q(),hr=b,Og=743;else if(736==(0|Og))YE=0|q(),VE=b,vf(bi),_r=YE,hr=VE,Og=743;else if(737==(0|Og))kr=0|q(),dr=b,Og=742;else if(738==(0|Og))XE=0|q(),WE=b,vf(ki),kr=XE,dr=WE,Og=742;else if(739==(0|Og))cr=0|q(),br=b,Og=741;else if(740==(0|Og))KE=0|q(),GE=b,vf(Ei),cr=KE,br=GE,Og=741;else if(745==(0|Og)){em=0|t[T>>2],rm=Im,im=Pm;break}do{if(741==(0|Og)){if(c=0,N(176,0|xe),qE=c,c=0,!(1&qE)){kr=cr,dr=br,Og=742;break}Rm=0|J(0),b,ve(Rm)}}while(0);do{if(742==(0|Og)){if(c=0,N(176,0|Fe),JE=c,c=0,!(1&JE)){_r=kr,hr=dr,Og=743;break}Rm=0|J(0),b,ve(Rm)}}while(0);do{if(743==(0|Og)){if(c=0,N(72,0|Oe),ZE=c,c=0,!(1&ZE)){Er=_r,mr=hr;break}Rm=0|J(0),b,ve(Rm)}}while(0);c=0,N(72,0|Se),QE=c,c=0,1&QE?(Rm=0|J(0),b,ve(Rm)):(mr,ie(0|Er))}else em=Kd,rm=Wd,im=jd}while(0);if(!((0|($E=em+2|0))<(0|(im-rm|0)>>2)))return void(o=qe);for(am=me+4|0,cm=$E,oR=em;;){nm=(fm=0|_i(e,oR))+28|0,sm=8==(0|((0|t[(om=fm+32|0)>>2])-(0|t[nm>>2])|0));do{if(sm){if(lm=0|fi(fm,0),!(176==(0|(0|t[lm>>2]))))break;if(!(0|ti(0|_i(e,um=oR+1|0),47)))break;if(!(0|ti(0|_i(e,cm),111)))break;if((0|(bm=oR+3|0))<(0|((0|t[U>>2])-(0|t[H>>2])|0)>>2)&&!(0|ti(0|_i(e,bm),32)))break;ni(fm,0|_i(e,um)),ni(fm,0|_i(e,cm)),mi(e,cm),mi(e,um),dm=0|t[nm>>2],(0|(_m=0|t[om>>2]))==(0|dm)?Em=dm:(ug=_m+((-1^((_m+-8|0)-dm|0)>>>3)<<3)|0,t[om>>2]=ug,Em=ug),t[me>>2]=37,t[am>>2]=0,(0|Em)==(0|(0|t[(fm+36|0)>>2]))?Pr(nm,me):(wm=0|t[(mm=me)>>2],Sm=0|t[(mm+4|0)>>2],t[(vm=Em)>>2]=wm,t[(vm+4|0)>>2]=Sm,pm=(0|t[om>>2])+8|0,t[om>>2]=pm)}}while(0);if(Om=oR+1|0,!((0|(Am=oR+3|0))<(0|((0|t[U>>2])-(0|t[H>>2])|0)>>2)))break;cm=Am,oR=Om}return void(o=qe);case 20:_o=0|q(),Eo=b,vf(Sa),Eo,ie(0|_o);break;case 21:yo=0|q(),Mo=b,c=0,N(176,0|Re),Do=c,c=0,1&Do?(Rm=0|J(0),b,ve(Rm)):(Mo,ie(0|yo));break;case 32:xl=0|q(),zl=b,vf(_a),zl,ie(0|xl);break;case 33:tr=0|q(),ur=b;break;case 34:Zl=0|q(),ru=b,vf(ha),tr=Zl,ur=ru;break;case 35:Je=0|q(),er=b,Og=57;break;case 36:cu=0|q(),hu=b,vf(ma),Je=cu,er=hu,Og=57;break;case 42:mc=0|q(),wc=b,vf(Ea),Je=mc,er=wc,Og=57;break;case 54:nk=0|q(),lk=b,vf(wa),Je=nk,er=lk,Og=57}var Ag,yg;57==(0|Og)&&(c=0,N(176,0|Be),_k=c,c=0,1&_k?(Rm=0|J(0),b,ve(Rm)):(tr=Je,ur=er)),c=0,N(176,0|Pe),F=c,c=0,1&F?(Rm=0|J(0),b,ve(Rm)):(ur,ie(0|tr))}else o=qe}function Ta(e,r){e|=0;var i,a=0,f=0,n=0,o=0,s=0,l=0,u=0,c=0,b=0,k=0,d=0;i=(0|(r|=0))>-1;e:do{if(i){if((0|r)<256)k=(0|t[e>>2])+(r<<2)|0;else{if(f=e+12|0,n=0|t[(e+16|0)>>2],s=o=0|t[f>>2],(0|n)==(0|o)){d=-1;break}for(l=(n-o|0)>>3,u=0;;){if((0|(0|t[(s+(u<<3)|0)>>2]))==(0|r)){c=u;break}if(!((a=u+1|0)>>>0<l>>>0)){d=-1;break e}u=a}k=4+(s+(c<<3)|0)|0}if(!((0|(b=0|t[k>>2]))<0))return 0|b;d=b}else d=-1}while(0);return 0|(1==(0|(0|t[(e+40|0)>>2]))?r:d)}function Na(e){var r=0,i=0,a=0;return o,(e|=0)>>>0>4294963200?(i=0-e|0,a=0|Ca(),t[a>>2]=i,r=-1):r=e,0|r}function Ca(){var e=0,r=0;return o,0==(0|(0|t[1701]))?e=6848:(r=0|fe(),e=0|t[(r+64|0)>>2]),0|e}function Ia(e,r,i){e|=0,r|=0,i|=0;var a,f,n,l,u,c,b,k,d,h,E,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0,I=0,P=0,x=0,L=0,H=0,B=0,U=0,z=0,V=0,X=0,W=0,K=0;for(E=o,(0|(o=o+48|0))>=(0|s)&&_(),h=E+16|0,d=E,k=E+32|0,f=0|t[(a=e+28|0)>>2],t[k>>2]=f,l=k+4|0,c=(0|t[(u=e+20|0)>>2])-f|0,t[l>>2]=c,t[(k+8|0)>>2]=r,t[(k+12|0)>>2]=i,b=e+60|0,n=e+44|0,H=k,z=2,W=c+i|0;;){if(0==(0|(0|t[1701]))?(v=0|t[b>>2],t[h>>2]=v,t[(h+4|0)>>2]=H,t[(h+8|0)>>2]=z,x=0|Na(0|Se(146,0|h))):(j(209,0|e),w=0|t[b>>2],t[d>>2]=w,t[(d+4|0)>>2]=H,t[(d+8|0)>>2]=z,S=0|Na(0|Se(146,0|d)),Y(0),x=S),(0|W)==(0|x)){K=6;break}if((0|x)<0){B=H,V=z,K=8;break}R=W-x|0,x>>>0>(g=0|t[(H+4|0)>>2])>>>0?(F=0|t[n>>2],t[a>>2]=F,t[u>>2]=F,M=x-g|0,D=H+8|0,T=z+-1|0,P=0|t[(H+12|0)>>2],L=M,U=D,X=T):2==(0|z)?(N=(0|t[a>>2])+x|0,t[a>>2]=N,P=g,L=x,U=H,X=2):(P=g,L=x,U=H,X=z),C=(0|t[U>>2])+L|0,t[U>>2]=C,I=P-L|0,t[(U+4|0)>>2]=I,H=U,z=X,W=R}return 6==(0|K)?(O=(p=0|t[n>>2])+(0|t[(e+48|0)>>2])|0,t[(e+16|0)>>2]=O,A=p,t[a>>2]=A,t[u>>2]=A,m=i):8==(0|K)&&(t[(e+16|0)>>2]=0,t[a>>2]=0,t[u>>2]=0,y=32|(0|t[e>>2]),t[e>>2]=y,m=2==(0|V)?0:i-(0|t[(B+4|0)>>2])|0),o=E,0|m}function Pa(e){var r,i,f=0,n=0,o=0,s=0,l=0,u=0,c=0,b=0,k=0,d=0,_=0,h=0,E=0,m=0,w=0;i=0==(0|3&(r=e|=0));e:do{if(i)f=e,w=4;else for(n=e,k=r;;){if((0|a[n>>0])<<24>>24==0){l=k;break e}if(0==(0|3&(_=d=n+1|0))){f=d,w=4;break}n=d,k=_}}while(0);if(4==(0|w)){for(E=f;;){if(c=E+4|0,!(0==(0|(-2139062144^-2139062144&(h=0|t[E>>2]))&(h+-16843009|0)))){s=h,m=E;break}E=c}if((255&s)<<24>>24==0)o=m;else for(u=m;;){if((0|a[(b=u+1|0)>>0])<<24>>24==0){o=b;break}u=b}l=o}return 0|(l-r|0)}function xa(e,r){r|=0;var i,f,t=0,n=0,s=0,l=0,u=0,c=0,b=0,k=0;if(o,(i=0|a[(e|=0)>>0])<<24>>24==0|i<<24>>24!=(f=0|a[r>>0])<<24>>24)s=i,l=f;else for(t=e,n=r;;){if(c=n+1|0,(b=0|a[(u=t+1|0)>>0])<<24>>24==0|b<<24>>24!=(k=0|a[c>>0])<<24>>24){s=b,l=k;break}t=u,n=c}return 0|((255&s)-(255&l)|0)}function La(e){return o,0|1&((e|=0)+-65|0)>>>0<26}function Ha(e,r){var i;return o,i=0|function(e,r){e|=0;var i,f,n=0,o=0,s=0,l=0,u=0,c=0,b=0,d=0,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0;f=0==(0|(i=255&(r|=0)));e:do{if(f)n=e+(0|Pa(e))|0;else{if(0==(0|3&e))o=e;else for(p=255&r,s=e;;){if((O=0|a[s>>0])<<24>>24==0|O<<24>>24==p<<24>>24){n=s;break e}if(0==(0|3&(u=s+1|0))){o=u;break}s=u}c=0|k(i,16843009),d=0==(0|(-2139062144^-2139062144&(b=0|t[o>>2]))&(b+-16843009|0));r:do{if(d)for(h=b,y=o;;){if(0!=(0|(-2139062144^-2139062144&(_=h^c))&(_+-16843009|0))){A=y;break r}if(0!=(0|(-2139062144^-2139062144&(m=0|t[(E=y+4|0)>>2]))&(m+-16843009|0))){A=E;break}h=m,y=E}else A=o}while(0);for(w=255&r,l=A;;){if(v=l+1|0,(S=0|a[l>>0])<<24>>24==0|S<<24>>24==w<<24>>24){n=l;break}l=v}}}while(0);return 0|n}(e|=0,r|=0),0|((0|a[i>>0])<<24>>24==(255&r)<<24>>24?i:0)}function Ba(e,r,i){var f,n,o,s=0,l=0,u=0,c=0,b=0,d=0,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0,I=0,P=0,x=0,L=0,H=0;f=255&(r|=0),o=(n=0!=(0|(i|=0)))&0!=(0|3&(e|=0));e:do{if(o)for(g=255&r,u=i,N=e;;){if((0|a[N>>0])<<24>>24==g<<24>>24){l=u,T=N,H=6;break e}if(!((m=0!=(0|(M=u+-1|0)))&0!=(0|3&(F=N+1|0)))){s=M,E=m,D=F,H=5;break}u=M,N=F}else s=i,E=n,D=e,H=5}while(0);5==(0|H)&&(E?(l=s,T=D,H=6):(h=0,I=D));e:do{if(6==(0|H))if((0|a[T>>0])<<24>>24==(w=255&r)<<24>>24)h=l,I=T;else{S=0|k(f,16843009),v=l>>>0>3;r:do{if(v){for(b=l,x=T;;){if(!(0==(0|(-2139062144^-2139062144&(p=(0|t[x>>2])^S))&(p+-16843009|0)))){d=b,L=x;break}if(O=x+4|0,!((A=b+-4|0)>>>0>3)){c=A,P=O,H=11;break r}b=A,x=O}_=d,C=L}else c=l,P=T,H=11}while(0);if(11==(0|H)){if(0==(0|c)){h=0,I=P;break}_=c,C=P}for(;;){if((0|a[C>>0])<<24>>24==w<<24>>24){h=_,I=C;break e}if(y=C+1|0,0==(0|(R=_+-1|0))){h=0,I=y;break}_=R,C=y}}}while(0);return 0|(0!=(0|h)?I:0)}function Ua(e){e|=0;var r=0,i=0,f=0,t=0,n=0,s=0,l=0,u=0,c=0,b=0,k=0;for(o,n=0;;){if((0|255&(0|a[(3698+n|0)>>0]))==(0|e)){s=n,k=2;break}if(87==(0|(f=n+1|0))){l=87,c=3786,k=5;break}n=f}if(2==(0|k)&&(0==(0|s)?u=3786:(l=s,c=3786,k=5)),5==(0|k))for(;;){for(k=0,b=c;;){if(t=b+1|0,(0|a[b>>0])<<24>>24==0){r=t;break}b=t}if(0==(0|(i=l+-1|0))){u=r;break}l=i,c=r,k=5}return 0|u}function za(e){return o,0|(0==(0|(0|Ya(e|=0)))?e:95&e)}function Ya(e){return o,0|1&((e|=0)+-97|0)>>>0<26}function Va(e){e|=0;var r,i,f=0,n=0,l=0;return i=o,(0|(o=o+16|0))>=(0|s)&&_(),r=i,0==(0|(0|t[(e+8|0)>>2]))?0==(0|(0|function(e){var r=0,i=0,f=0,n=0,s=0,l=0,u=0,c=0,b=0,k=0,d=0,_=0,h=0;o,f=0|a[(i=74+(e|=0)|0)>>0],b=255&(255+(l=f<<24>>24)|0|l),a[i>>0]=b,d=0|t[(k=e+20|0)>>2],h=0|t[(_=e+44|0)>>2],d>>>0>h>>>0&&(n=0|t[(e+36|0)>>2],ft[255&n](e,0,0));t[(e+16|0)>>2]=0,t[(e+28|0)>>2]=0,t[k>>2]=0,s=0|t[e>>2],0==(0|20&s)?(c=0|t[_>>2],t[(e+8|0)>>2]=c,t[(e+4|0)>>2]=c,r=0):0==(0|4&s)?r=-1:(u=32|s,t[e>>2]=u,r=-1);return 0|r}(e)))?l=3:f=-1:l=3,3==(0|l)&&(n=0|t[(e+32|0)>>2],f=1==(0|(0|ft[255&n](e,r,1)))?255&(0|a[r>>0]):-1),o=i,0|f}function Xa(e){return o,0|1&(32==(0|(e|=0))|(e+-9|0)>>>0<5)}function Wa(e){var r,i=0,a=0,f=0,n=0,o=0,s=0,l=0,u=0,c=0;r=0==(0|(e|=0));do{if(r){if(s=0==(0|(0|t[148]))?0:0|Wa(0|t[148]),be(6832),0==(0|(f=0|t[1707])))l=s;else for(n=f,u=s;;){if(o=(0|(0|t[(n+76|0)>>2]))>-1?0|Ka(n):0,c=(0|t[(n+20|0)>>2])>>>0>(0|t[(n+28|0)>>2])>>>0?0|ja(n)|u:u,0==(0|o),0==(0|(a=0|t[(n+56|0)>>2]))){l=c;break}n=a,u=c}se(6832),i=l}else{if(!((0|(0|t[(e+76|0)>>2]))>-1)){i=0|ja(e);break}0==(0|(0|Ka(e))),i=0|ja(e)}}while(0);return 0|i}function ja(e){var r,i,a=0,f=0,n=0,s=0,l=0,u=0,c=0,b=0,k=0;return o,(0|t[(r=(e|=0)+20|0)>>2])>>>0>(0|t[(i=e+28|0)>>2])>>>0?(c=0|t[(e+36|0)>>2],ft[255&c](e,0,0),0==(0|(0|t[r>>2]))?a=-1:k=3):k=3,3==(0|k)&&((f=0|t[(b=e+4|0)>>2])>>>0<(s=0|t[(n=e+8|0)>>2])>>>0&&(l=0|t[(e+40|0)>>2],u=f-s|0,ft[255&l](e,u,1)),t[(e+16|0)>>2]=0,t[i>>2]=0,t[r>>2]=0,t[n>>2]=0,t[b>>2]=0,a=0),0|a}function Ka(e){return o,0}function Ga(e,r){e|=0,r|=0;var i,f,n,l=0,u=0,c=0,b=0,k=0;return n=o,(0|(o=o+32|0))>=(0|s)&&_(),f=n+16|0,i=n,0==(0|(0|Ba(5590,(0|a[r>>0])<<24>>24,4)))?(u=0|Ca(),t[u>>2]=22,l=0):(c=32768|(0|function(e){var r,i,f,t,n,o,s;return r=0==(0|Ha(e|=0,43)),i=0|a[e>>0],f=r?1&i<<24>>24!=114:2,t=0==(0|Ha(e,120))?f:128|f,n=0==(0|Ha(e,101))?t:524288|t,o=i<<24>>24==114?n:64|n,s=i<<24>>24==119?512|o:o,0|(i<<24>>24==97?1024|s:s)}(r)),t[i>>2]=e,t[(i+4|0)>>2]=c,t[(i+8|0)>>2]=438,(0|(b=0|Na(0|de(5,0|i))))<0?l=0:(k=0|function(e,r){e|=0,r|=0;var i=0,f=0,n=0,l=0,u=0,c=0,b=0,k=0,d=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0,I=0,P=0;I=o,(0|(o=o+112|0))>=(0|s)&&_();if(D=I+40|0,N=I+24|0,T=I+16|0,M=I,F=I+52|0,l=0|a[r>>0],g=0|Ba(5590,l<<24>>24,4),0==(0|g))v=0|Ca(),t[v>>2]=22,i=0;else if(A=0|bf(1144),0==(0|A))i=0;else{P=(C=A)+112|0;do{t[C>>2]=0,C=C+4|0}while((0|C)<(0|P));y=0|Ha(r,43),0==(0|y)&&(R=l<<24>>24==114?8:4,t[A>>2]=R),u=0|Ha(r,101),0==(0|u)?c=l:(t[M>>2]=e,t[(M+4|0)>>2]=2,t[(M+8|0)>>2]=1,V(221,0|M),f=0|a[r>>0],c=f),c<<24>>24==97?(t[T>>2]=e,t[(T+4|0)>>2]=3,b=0|V(221,0|T),0==(0|1024&b)&&(k=1024|b,t[N>>2]=e,t[(N+4|0)>>2]=4,t[(N+8|0)>>2]=k,V(221,0|N)),d=0|t[A>>2],h=128|d,t[A>>2]=h,w=h):(n=0|t[A>>2],w=n),t[(A+60|0)>>2]=e,E=A+120|0,t[(A+44|0)>>2]=E,t[(A+48|0)>>2]=1024,a[(m=A+75|0)>>0]=-1,0==(0|8&w)&&(t[D>>2]=e,t[(D+4|0)>>2]=21505,t[(D+8|0)>>2]=F,S=0|oe(54,0|D),0==(0|S)&&(a[m>>0]=10)),t[(A+32|0)>>2]=5,t[(A+36|0)>>2]=2,t[(A+40|0)>>2]=3,t[(A+12|0)>>2]=1,p=0|t[1702],0==(0|p)&&(t[(A+76|0)>>2]=-1),be(6832),O=0|t[1707],t[(A+56|0)>>2]=O,0==(0|O)||(t[(O+52|0)>>2]=A),t[1707]=A,se(6832),i=A}return o=I,0|i}(b,r),0==(0|k)?(t[f>>2]=b,ke(6,0|f),l=0):l=k)),o=n,0|l}function qa(e,r,i){e|=0,r|=0,i|=0;var f,n,l,u,c,b,k,d=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0,I=0;b=o,(0|(o=o+224|0))>=(0|s)&&_(),f=b+120|0,l=b,n=b+136|0,k=(I=u=b+80|0)+40|0;do{t[I>>2]=0,I=I+4|0}while((0|I)<(0|k));return c=0|t[i>>2],t[f>>2]=c,(0|(0|Ja(0,r,f,l,u)))<0?h=-1:(M=(0|(0|t[(e+76|0)>>2]))>-1?0|Ka():0,T=32&(D=0|t[e>>2]),(0|a[(e+74|0)>>0])<<24>>24<1&&(E=-33&D,t[e>>2]=E),0==(0|(0|t[(m=e+48|0)>>2]))?(S=0|t[(w=e+44|0)>>2],t[w>>2]=n,t[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Ca(),t[pr>>2]=75,on=-1;break}on=uo+nn|0;break}on=nn}while(0);if((Mr=0|a[zo>>0])<<24>>24==0){sn=on,ho=_o,xs=244;break}xr=Mr,Vo=zo;r:for(;;){switch(xr<<24>>24){case 37:Ko=Vo,Os=Vo,xs=9;break r;case 0:jo=Vo,ps=Vo;break r}xr=0|a[(Ur=Vo+1|0)>>0],Vo=Ur}r:do{if(9==(0|xs))for(;;){if(xs=0,!((0|a[(Ko+1|0)>>0])<<24>>24==37)){jo=Ko,ps=Os;break r}if(ai=Os+1|0,!((0|a[(ti=Ko+2|0)>>0])<<24>>24==37)){jo=ti,ps=ai;break}Ko=ti,Os=ai,xs=9}}while(0);if(yi=ps-zo|0,d&&0==(0|32&(0|t[e>>2]))&&Za(zo,yi,e),(0|ps)==(0|zo)){(qn=((ji=0|a[(Ui=jo+1|0)>>0])<<24>>24)+-48|0)>>>0<10?(ke=(na=(0|a[(jo+2|0)>>0])<<24>>24==36)?1:_o,Jn=na?qn:-1,ha=0|a[(oe=na?jo+3|0:Ui)>>0],an=Jn,Eo=ke,us=oe):(ha=ji,an=-1,Eo=_o,us=Ui),ga=32==(0|-32&(ca=ha<<24>>24));r:do{if(ga)for(Ha=ca,bf=ha,Fn=0,ks=us;;){if(0==(0|75913&1<<(Ha+-32|0))){et=bf,Mn=Fn,bs=ks;break r}if(Of=1<<((bf<<24>>24)+-32|0)|Fn,!(32==(0|-32&(zf=(Uf=0|a[(Ff=ks+1|0)>>0])<<24>>24)))){et=Uf,Mn=Of,bs=Ff;break}Ha=zf,bf=Uf,Fn=Of,ks=Ff}else et=ha,Mn=0,bs=us}while(0);at=et<<24>>24==42;do{if(at){if((ro=((0|a[(ot=bs+1|0)>>0])<<24>>24)+-48|0)>>>0<10&&(0|a[(bs+2|0)>>0])<<24>>24==36?(t[(c+(ro<<2)|0)>>2]=10,At=0|a[ot>>0],Pt=0|t[(Tt=u+(((At<<24>>24)+-48|0)<<3)|0)>>2],0|t[(Tt+4|0)>>2],mo=1,cs=bs+3|0,hs=Pt):xs=24,24==(0|xs)){if(xs=0,!(0==(0|Eo))){z=-1;break e}if(!d){Dn=Mn,wo=0,Go=ot,Es=0;break}Qt=0|t[i>>2],Lt=0|t[(xt=(Qt+(4-1|0)|0)&(-1^(4-1|0)))>>2],en=xt+4|0,t[i>>2]=en,mo=0,cs=ot,hs=Lt}(0|hs)<0?(Dn=8192|Mn,wo=mo,Go=cs,Es=0-hs|0):(Dn=Mn,wo=mo,Go=cs,Es=hs)}else if(($n=(et<<24>>24)+-48|0)>>>0<10){for(Le=bs,Bn=0,io=$n;;){if(Ht=(10*Bn|0)+io|0,!((Zn=((0|a[(xe=Le+1|0)>>0])<<24>>24)+-48|0)>>>0<10)){de=Ht,he=xe;break}Le=xe,Bn=Ht,io=Zn}if((0|de)<0){z=-1;break e}Dn=Mn,wo=Eo,Go=he,Es=de}else Dn=Mn,wo=Eo,Go=bs,Es=0}while(0);He=(0|a[Go>>0])<<24>>24==46;r:do{if(He){if(!((Ue=0|a[(Be=Go+1|0)>>0])<<24>>24==42)){if(!((eo=(Ue<<24>>24)+-48|0)>>>0<10)){po=0,qo=Be;break}for(qe=Be,Un=0,ao=eo;;){if(Ke=(10*Un|0)+ao|0,!((Qn=((0|a[(Ge=qe+1|0)>>0])<<24>>24)+-48|0)>>>0<10)){po=Ke,qo=Ge;break r}qe=Ge,Un=Ke,ao=Qn}}if((fo=((0|a[(ze=Go+2|0)>>0])<<24>>24)+-48|0)>>>0<10&&(0|a[(Go+3|0)>>0])<<24>>24==36){t[(c+(fo<<2)|0)>>2]=10,Ye=0|a[ze>>0],Xe=0|t[(Ve=u+(((Ye<<24>>24)+-48|0)<<3)|0)>>2],0|t[(Ve+4|0)>>2],po=Xe,qo=Go+4|0;break}if(!(0==(0|wo))){z=-1;break e}d?($t=0|t[i>>2],je=0|t[(We=($t+(4-1|0)|0)&(-1^(4-1|0)))>>2],rn=We+4|0,t[i>>2]=rn,po=je,qo=ze):(po=0,qo=ze)}else po=-1,qo=Go}while(0);for(Jo=qo,ss=0;;){if((Je=((0|a[Jo>>0])<<24>>24)+-65|0)>>>0>57){z=-1;break e}if(Ze=Jo+1|0,!((($e=255&(Qe=0|a[((5594+(58*ss|0)|0)+Je|0)>>0]))+-1|0)>>>0<8)){Ee=Ze,me=Qe,we=$e,Zo=Jo,ls=ss;break}Jo=Ze,ss=$e}if(me<<24>>24==0){z=-1;break}er=me<<24>>24==19,rr=(0|an)>-1;do{if(er){if(rr){z=-1;break e}xs=52}else{if(rr){t[(c+(an<<2)|0)>>2]=we,ar=0|t[(ir=u+(an<<3)|0)>>2],fr=0|t[(ir+4|0)>>2],t[(tr=N)>>2]=ar,t[(tr+4|0)>>2]=fr,xs=52;break}if(!d){z=0;break e}$a(N,we,i)}}while(0);if(52!=(0|xs)||(xs=0,d)){ds=0!=(0|ls)&3==(0|15&(nr=(0|a[Zo>>0])<<24>>24))?-33&nr:nr,sr=-65537&Dn,Tn=0==(0|8192&Dn)?Dn:sr;r:do{switch(0|ds){case 110:switch(0|ls){case 0:ur=0|t[N>>2],t[ur>>2]=on,nn=on,uo=yi,_o=wo,zo=Ee;continue e;case 1:cr=0|t[N>>2],t[cr>>2]=on,nn=on,uo=yi,_o=wo,zo=Ee;continue e;case 2:br=((0|on)<0)<<31>>31,kr=0|t[N>>2],t[(dr=kr)>>2]=on,t[(dr+4|0)>>2]=br,nn=on,uo=yi,_o=wo,zo=Ee;continue e;case 3:_r=65535&on,hr=0|t[N>>2],f[hr>>1]=_r,nn=on,uo=yi,_o=wo,zo=Ee;continue e;case 4:Er=255&on,mr=0|t[N>>2],a[mr>>0]=Er,nn=on,uo=yi,_o=wo,zo=Ee;continue e;case 6:wr=0|t[N>>2],t[wr>>2]=on,nn=on,uo=yi,_o=wo,zo=Ee;continue e;case 7:Sr=((0|on)<0)<<31>>31,vr=0|t[N>>2],t[(Or=vr)>>2]=on,t[(Or+4|0)>>2]=Sr,nn=on,uo=yi,_o=wo,zo=Ee;continue e;default:nn=on,uo=yi,_o=wo,zo=Ee;continue e}break;case 112:Nn=8|Tn,Oo=po>>>0>8?po:8,_s=120,xs=64;break;case 88:case 120:Nn=Tn,Oo=po,_s=ds,xs=64;break;case 111:if(0==(0|(Hr=0|t[(Lr=N)>>2]))&0==(0|(Br=0|t[(Lr+4|0)>>2])))V=h;else for(j=h,zr=Hr,Xr=Br;;){if(Yr=255&(48|7&zr),a[(Vr=j+-1|0)>>0]=Yr,0==(0|(Wr=0|Pf(0|zr,0|Xr,3)))&0==(0|(jr=b))){V=Vr;break}j=Vr,zr=Wr,Xr=jr}0==(0|8&Tn)?(Bt=V,Cn=Tn,Ao=po,Mo=0,Po=6074,xs=77):(Bt=V,Cn=Tn,Ao=(0|po)>(0|(Kr=A-V|0))?po:Kr+1|0,Mo=0,Po=6074,xs=77);break;case 105:case 100:if(qr=0|t[(Gr=N)>>2],(0|(Jr=0|t[(Gr+4|0)>>2]))<0){Zr=0|Df(0,0,0|qr,0|Jr),Qr=b,t[($r=N)>>2]=Zr,t[($r+4|0)>>2]=Qr,ri=Zr,ii=Qr,go=1,No=6074,xs=76;break r}0==(0|2048&Tn)?(ri=qr,ii=Jr,go=ei=1&Tn,No=0==(0|ei)?6074:6076,xs=76):(ri=qr,ii=Jr,go=1,No=6075,xs=76);break;case 117:ri=0|t[(lr=N)>>2],ii=0|t[(lr+4|0)>>2],go=0,No=6074,xs=76;break;case 99:li=0|t[(si=N)>>2],0|t[(si+4|0)>>2],ui=255&li,a[y>>0]=ui,Vt=y,In=sr,Ro=1,To=0,xo=6074,Rs=h;break;case 109:ci=0|Ca(),Ut=0|Ua(0|t[ci>>2]),xs=82;break;case 115:Ut=0!=(0|(bi=0|t[N>>2]))?bi:6084,xs=82;break;case 67:hi=0|t[(_i=N)>>2],0|t[(_i+4|0)>>2],t[B>>2]=hi,t[R>>2]=0,t[N>>2]=B,It=B,yo=-1,xs=86;break;case 83:Ce=0|t[N>>2],0==(0|po)?(rf(e,32,Es,0,Tn),xn=0,xs=97):(It=Ce,yo=po,xs=86);break;case 65:case 71:case 70:case 69:case 97:case 103:case 102:case 101:Ri=+n[N>>3],t[x>>2]=0,n[l>>3]=Ri,0|t[l>>2],(0|(0|t[l+4>>2]))<0?(K=-Ri,Fo=1,Io=6091):0==(0|2048&Tn)?(K=Ri,Fo=gi=1&Tn,Io=0==(0|gi)?6092:6097):(K=Ri,Fo=1,Io=6094),n[l>>3]=K,0|t[l>>2],Mi=(Fi=2146435072&(0|t[l+4>>2]))>>>0<2146435072|2146435072==(0|Fi)&!1;do{if(Mi){if((xi=0!=(Pi=2*+ff(K,x)))&&(Li=(0|t[x>>2])+-1|0,t[x>>2]=Li),97==(0|(Hi=32|ds))){Co=0==(0|(Bi=32&ds))?Io:Io+9|0,zi=2|Fo,Vi=po>>>0>11|0==(0|(Yi=12-po|0));do{if(!Vi){for(Ho=Yi,Bo=8;;){if(Wi=16*Bo,0==(0|(Xi=Ho+-1|0))){Ae=Wi;break}Ho=Xi,Bo=Wi}if((0|a[Co>>0])<<24>>24==45){G=-(Ae+(-Pi-Ae));break}G=Pi+Ae-Ae;break}G=Pi}while(0);for((0|(qi=0|ef(Gi=(0|(Ki=0|t[x>>2]))<0?0-Ki|0:Ki,((0|Gi)<0)<<31>>31,M)))==(0|M)?(a[D>>0]=48,An=D):An=qi,Ji=255&((2&Ki>>31)+43|0),a[(An+-1|0)>>0]=Ji,Zi=255&(ds+15|0),a[(Qi=An+-2|0)>>0]=Zi,So=(0|po)<1,$i=0==(0|8&Tn),J=G,Yo=P;;){ra=255&(255&(0|a[(6058+(ea=~~J)|0)>>0])|Bi),ia=Yo+1|0,a[Yo>>0]=ra,aa=16*(J-+(0|ea)),fa=1==(0|(ia-g|0));do{if(fa){if($i&(So&0==aa)){Xo=ia;break}ta=Yo+2|0,a[ia>>0]=46,Xo=ta}else Xo=ia}while(0);if(!(0!=aa)){Wo=Xo;break}J=aa,Yo=Xo}oa=Qi,rf(e,32,Es,sa=(co=0!=(0|po)&(0|(m+(Ie=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wf=0|t[(Is+-4|0)>>2]))){lo=9;break}if(!(0==(0|(Wf>>>0)%10&-1))){lo=0;break}for(Kn=10,so=0;;){if(Kf=so+1|0,!(0==(0|(Wf>>>0)%((jf=10*Kn|0)>>>0)&-1))){lo=Kf;break}Kn=jf,so=Kf}}else lo=9}while(0);if(Gf=(9*((Is-_a|0)>>2)|0)+-9|0,102==(0|(32|W))){q=W,ie=(0|Q)<(0|($=(0|(qf=Gf-lo|0))<0?0:qf))?Q:$,Ne=0;break}q=W,ie=(0|Q)<(0|(ee=(0|(Jf=(Gf+On|0)-lo|0))<0?0:Jf))?Q:ee,Ne=0;break}q=ds,ie=Fe,Ne=8&Tn}while(0);if(Qf=1&0!=(0|(Zf=ie|Ne)),$f=102==(0|(32|q)))Me=(0|On)>0?On:0,gn=0;else{if((0|(T-(it=0|ef(rt=(0|On)<0?Hf:On,((0|rt)<0)<<31>>31,M))|0))<2)for(Rn=it;;){if(a[(ft=Rn+-1|0)>>0]=48,!((0|(T-ft|0))<2)){yn=ft;break}Rn=ft}else yn=it;tt=255&((2&On>>31)+43|0),a[(yn+-1|0)>>0]=tt,nt=255&q,a[(st=yn+-2|0)>>0]=nt,Me=T-st|0,gn=st}rf(e,32,Es,lt=(((Fo+1|0)+ie|0)+Qf|0)+Me|0,Tn),0==(0|32&(0|t[e>>2]))&&Za(Io,Fo,e),rf(e,48,Es,lt,65536^Tn);do{if($f){for(hn=Lo=Zt>>>0>ae>>>0?ae:Zt;;){ut=0|ef(0|t[hn>>2],0,v),ct=(0|hn)==(0|Lo);do{if(ct){if(!((0|ut)==(0|v))){es=ut;break}a[O>>0]=48,es=O}else{if(!(ut>>>0>P>>>0)){es=ut;break}for(Tf(0|P,48,0|(ut-g|0)),$o=ut;;){if(!((bt=$o+-1|0)>>>0>P>>>0)){es=bt;break}$o=bt}}}while(0);if(0==(0|32&(0|t[e>>2]))&&Za(es,p-es|0,e),(kt=hn+4|0)>>>0>ae>>>0){Oe=kt;break}hn=kt}dt=0==(0|Zf);do{if(!dt){if(!(0==(0|32&(0|t[e>>2]))))break;Za(6126,1,e)}}while(0);if((0|ie)>0&Oe>>>0<Is>>>0)for(ne=ie,En=Oe;;){if((_t=0|ef(0|t[En>>2],0,v))>>>0>P>>>0)for(Tf(0|P,48,0|(_t-g|0)),is=_t;;){if(!((ht=is+-1|0)>>>0>P>>>0)){rs=ht;break}is=ht}else rs=_t;if(0==(0|32&(0|t[e>>2]))&&Za(rs,(0|ne)>9?9:ne,e),mt=ne+-9|0,!((0|ne)>9&(Et=En+4|0)>>>0<Is>>>0)){te=mt;break}ne=mt,En=Et}else te=ie;rf(e,48,te+9|0,9,0)}else{if(Ns=_e?Is:Zt+4|0,(0|ie)>-1)for(wt=0==(0|Ne),le=ie,mn=Zt;;){(0|(St=0|ef(0|t[mn>>2],0,v)))==(0|v)?(a[O>>0]=48,as=O):as=St,vt=(0|mn)==(0|Zt);do{if(vt){if(Ot=as+1|0,0==(0|32&(0|t[e>>2]))&&Za(as,1,e),wt&(0|le)<1){ts=Ot;break}if(!(0==(0|32&(0|t[e>>2])))){ts=Ot;break}Za(6126,1,e),ts=Ot}else{if(!(as>>>0>P>>>0)){ts=as;break}for(Tf(0|P,48,0|(as+F|0)),fs=as;;){if(!((pt=fs+-1|0)>>>0>P>>>0)){ts=pt;break}fs=pt}}}while(0);if(yt=p-ts|0,0==(0|32&(0|t[e>>2]))&&Za(ts,(0|le)>(0|yt)?yt:le,e),!((gt=mn+4|0)>>>0<Ns>>>0&(0|(Rt=le-yt|0))>-1)){se=Rt;break}le=Rt,mn=gt}else se=ie;if(rf(e,48,se+18|0,18,0),!(0==(0|32&(0|t[e>>2]))))break;Za(gn,T-gn|0,e)}}while(0);rf(e,32,Es,lt,8192^Tn),Y=(0|lt)<(0|Es)?Es:lt}else Di=0!=(0|32&ds),Qo=(Ti=K!=K|!1)?Di?6118:6122:Di?6110:6114,rf(e,32,Es,Ni=(Do=Ti?0:Fo)+3|0,sr),0==(0|32&(Ci=0|t[e>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))){z=-1;break e}if(!((0|Ct)<10)){z=1;break}Gn=Ct}else z=1}else z=sn}while(0);return o=U,0|z}function Za(e,r,i){e|=0,r|=0;var f,n,o=0,s=0,l=0,u=0,c=0,b=0,k=0,d=0,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0;0==(0|(n=0|t[(f=(i|=0)+16|0)>>2]))?0==(0|(0|Qa(i)))?(w=0|t[f>>2],O=5):o=0:(w=n,O=5);e:do{if(5==(0|O)){if(u=m=0|t[(E=i+20|0)>>2],(w-m|0)>>>0<r>>>0){c=0|t[(i+36|0)>>2],o=0|ft[255&c](i,e,r);break}b=(0|a[(i+75|0)>>0])<<24>>24>-1;r:do{if(b){for(S=r;;){if(0==(0|S)){s=r,l=e,_=u,p=0;break r}if((0|a[(e+(k=S+-1|0)|0)>>0])<<24>>24==10){v=S;break}S=k}if(d=0|t[(i+36|0)>>2],(0|ft[255&d](i,e,v))>>>0<v>>>0){o=v;break e}s=r-v|0,l=e+v|0,_=0|t[E>>2],p=v}else s=r,l=e,_=u,p=0}while(0);xf(0|_,0|l,0|s),h=(0|t[E>>2])+s|0,t[E>>2]=h,o=p+s|0}}while(0);return 0|o}function Qa(e){var r,i,f,n,s=0,l=0,u=0,c=0;return o,f=255&((i=(0|a[(r=(e|=0)+74|0)>>0])<<24>>24)+255|0|i),a[r>>0]=f,0==(0|8&(n=0|t[e>>2]))?(t[(e+8|0)>>2]=0,t[(e+4|0)>>2]=0,l=0|t[(e+44|0)>>2],t[(e+28|0)>>2]=l,t[(e+20|0)>>2]=l,u=l+(0|t[(e+48|0)>>2])|0,t[(e+16|0)>>2]=u,s=0):(c=32|n,t[e>>2]=c,s=-1),0|s}function $a(e,r,i){e|=0,i|=0;var a,f=0,o=0,s=0,l=0,u=0,c=0,b=0,k=0,d=0,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0,I=0,P=0,x=0,L=0,H=0,B=0,U=0,z=0,Y=0,V=0,X=0,W=0,j=0,K=0,G=0,q=0,J=0,Z=0,Q=0,$=0,ee=0,re=0,ie=0,ae=0,fe=0,te=0,ne=0,oe=0;a=(r|=0)>>>0>20;e:do{if(!a)switch(0|r){case 9:Y=0|t[i>>2],N=0|t[(M=(Y+(4-1|0)|0)&(-1^(4-1|0)))>>2],Q=M+4|0,t[i>>2]=Q,t[e>>2]=N;break e;case 10:j=0|t[i>>2],k=0|t[(b=(j+(4-1|0)|0)&(-1^(4-1|0)))>>2],te=b+4|0,t[i>>2]=te,d=((0|k)<0)<<31>>31,t[(_=e)>>2]=k,t[(_+4|0)>>2]=d;break e;case 11:J=0|t[i>>2],E=0|t[(h=(J+(4-1|0)|0)&(-1^(4-1|0)))>>2],ne=h+4|0,t[i>>2]=ne,t[(m=e)>>2]=E,t[(m+4|0)>>2]=0;break e;case 12:Z=0|t[i>>2],v=0|t[(S=w=(Z+(8-1|0)|0)&(-1^(8-1|0)))>>2],p=0|t[(S+4|0)>>2],oe=w+8|0,t[i>>2]=oe,t[(O=e)>>2]=v,t[(O+4|0)>>2]=p;break e;case 13:V=0|t[i>>2],y=0|t[(A=(V+(4-1|0)|0)&(-1^(4-1|0)))>>2],$=A+4|0,t[i>>2]=$,g=((0|(R=(65535&y)<<16>>16))<0)<<31>>31,t[(F=e)>>2]=R,t[(F+4|0)>>2]=g;break e;case 14:X=0|t[i>>2],T=0|t[(D=(X+(4-1|0)|0)&(-1^(4-1|0)))>>2],ee=D+4|0,t[i>>2]=ee,o=65535&T,t[(C=e)>>2]=o,t[(C+4|0)>>2]=0;break e;case 15:W=0|t[i>>2],P=0|t[(I=(W+(4-1|0)|0)&(-1^(4-1|0)))>>2],re=I+4|0,t[i>>2]=re,L=((0|(x=(255&P)<<24>>24))<0)<<31>>31,t[(H=e)>>2]=x,t[(H+4|0)>>2]=L;break e;case 16:K=0|t[i>>2],U=0|t[(B=(K+(4-1|0)|0)&(-1^(4-1|0)))>>2],ie=B+4|0,t[i>>2]=ie,f=255&U,t[(z=e)>>2]=f,t[(z+4|0)>>2]=0;break e;case 17:G=0|t[i>>2],l=+n[(s=(G+(8-1|0)|0)&(-1^(8-1|0)))>>3],ae=s+8|0,t[i>>2]=ae,n[e>>3]=l;break e;case 18:q=0|t[i>>2],c=+n[(u=(q+(8-1|0)|0)&(-1^(8-1|0)))>>3],fe=u+8|0,t[i>>2]=fe,n[e>>3]=c;break e;default:break e}}while(0)}function ef(e,r,i){i|=0;var f=0,t=0,n=0,s=0,l=0,u=0,c=0,k=0,d=0,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0;if(o,(r|=0)>>>0>0|0==(0|r)&(e|=0)>>>0>4294967295){for(n=i,S=e,v=r;;){if(p=0|Vf(0|S,0|v,10,0),b,c=255&(48|p),a[(k=n+-1|0)>>0]=c,d=0|Yf(0|S,0|v,10,0),_=b,!(v>>>0>9|9==(0|v)&S>>>0>4294967295)){u=k,w=d,_;break}n=k,S=d,v=_}f=u,t=w}else f=i,t=e;if(0==(0|t))s=f;else for(l=f,O=t;;){if(h=255&(48|(O>>>0)%10&-1),a[(E=l+-1|0)>>0]=h,m=(O>>>0)/10&-1,O>>>0<10){s=E;break}l=E,O=m}return 0|s}function rf(e,r,i,a,f){e|=0,r|=0,i|=0,a|=0,f|=0;var n,l,u,c=0,b=0,k=0,d=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0;u=o,(0|(o=o+256|0))>=(0|s)&&_(),l=u,n=(0|i)>(0|a)&0==(0|73728&f);do{if(n){if(Tf(0|l,0|r,0|((v=i-a|0)>>>0>256?256:v)),p=v>>>0>255,A=0==(0|32&(O=0|t[e>>2])),p){for(k=i-a|0,b=v,w=O,S=A;S?(Za(l,256,e),h=0|t[e>>2]):h=w,E=0==(0|32&h),(d=b+-256|0)>>>0>255;)b=d,w=h,S=E;if(m=255&k,!E)break;c=m}else{if(!A)break;c=v}Za(l,c,e)}}while(0);o=u}function af(e,r){r|=0;var i=0,f=0;return o,0==(0|(e|=0))?i=0:(f=0|function(e,r,i){r|=0,0;var f=0,n=0,s=0,l=0,u=0,c=0,b=0,k=0,d=0,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0;o,n=0==(0|(e|=0));do{if(!n){if(r>>>0<128){c=255&r,a[e>>0]=c,f=1;break}if(r>>>0<2048){O=255&(192|r>>>6),A=e+1|0,a[e>>0]=O,s=255&(128|63&r),a[A>>0]=s,f=2;break}if(r>>>0<55296|57344==(0|-8192&r)){l=255&(224|r>>>12),u=e+1|0,a[e>>0]=l,b=255&(128|63&r>>>6),k=e+2|0,a[u>>0]=b,d=255&(128|63&r),a[k>>0]=d,f=3;break}if((r+-65536|0)>>>0<1048576){_=255&(240|r>>>18),h=e+1|0,a[e>>0]=_,E=255&(128|63&r>>>12),m=e+2|0,a[h>>0]=E,w=255&(128|63&r>>>6),S=e+3|0,a[m>>0]=w,v=255&(128|63&r),a[S>>0]=v,f=4;break}p=0|Ca(),t[p>>2]=84,f=-1;break}f=1}while(0);return 0|f}(e,r),i=f),0|i}function ff(e,r){return o,+ +function e(r,i){r=+r;i|=0;var a=0,f=0,s=0,u=0,c=0,k=0,d=0,_=0,h=0,E=0,m=0,w=0;o;n[l>>3]=r;s=0|t[l>>2];u=0|t[l+4>>2];_=0|Pf(0|s,0|u,52);b;h=2047&_;switch(0|h){case 0:0!=r?(E=+e(0x10000000000000000*r,i),m=0|t[i>>2],f=E,w=m+-64|0):(f=r,w=0),t[i>>2]=w,a=f;break;case 2047:a=r;break;default:c=h+-1022|0,t[i>>2]=c,k=1071644672|-2146435073&u,t[l>>2]=s,t[l+4>>2]=k,d=+n[l>>3],a=d}return+a}(e=+e,r|=0)}function tf(e,r){e|=0,r|=0;var i,f,n,l,u,c=0,b=0,k=0,d=0,h=0,E=0,m=0,w=0;u=o,(0|(o=o+16|0))>=(0|s)&&_(),i=255&r,a[(l=u)>>0]=i,0==(0|(n=0|t[(f=e+16|0)>>2]))?0==(0|(0|Qa(e)))?(m=0|t[f>>2],w=4):c=-1:(m=n,w=4);do{if(4==(0|w)){if((E=0|t[(h=e+20|0)>>2])>>>0<m>>>0&&!((0|(b=255&r))==(0|(0|a[(e+75|0)>>0])<<24>>24))){k=E+1|0,t[h>>2]=k,a[E>>0]=i,c=b;break}d=0|t[(e+36|0)>>2],c=1==(0|(0|ft[255&d](e,l,1)))?255&(0|a[l>>0]):-1}}while(0);return o=u,0|c}function nf(e,r,i){e|=0,r|=0,i|=0;var a,f,n;return n=o,(0|(o=o+16|0))>=(0|s)&&_(),t[(f=n)>>2]=i,a=0|qa(e,r,f),o=n,0|a}function of(e,r){e|=0;var i=0,f=0,n=0,o=0,s=0,l=0,u=0,c=0,b=0,k=0,d=0;(0|(0|t[((r|=0)+76|0)>>2]))<0?d=3:0==(0|(0|Ka()))?d=3:((0|(0|a[(r+75|0)>>0])<<24>>24)==(0|e)?d=10:(l=0|t[(s=r+20|0)>>2])>>>0<(0|t[(r+16|0)>>2])>>>0?(u=255&e,c=l+1|0,t[s>>2]=c,a[l>>0]=u,b=255&e):d=10,10==(0|d)&&(b=0|tf(r,e)),i=b);do{if(3==(0|d)){if(!((0|(0|a[(r+75|0)>>0])<<24>>24)==(0|e))&&(f=0|t[(k=r+20|0)>>2])>>>0<(0|t[(r+16|0)>>2])>>>0){n=255&e,o=f+1|0,t[k>>2]=o,a[f>>0]=n,i=255&e;break}i=0|tf(r,e)}}while(0);return 0|i}function sf(e,r,i,a){e|=0,a|=0;var f,n=0;return o,f=0|k(i|=0,r|=0),(0|(0|t[(a+76|0)>>2]))>-1?(0==(0|(0|Ka())),n=0|Za(e,f,a)):n=0|Za(e,f,a),0|((0|n)==(0|f)?i:(n>>>0)/(r>>>0)&-1)}function lf(e,r){e|=0;var i=0,f=0,n=0,o=0,s=0,l=0,u=0,c=0,b=0,k=0,d=0;(0|(0|t[((r|=0)+76|0)>>2]))<0?d=3:0==(0|(0|Ka()))?d=3:((0|(0|a[(r+75|0)>>0])<<24>>24)==(0|e)?d=10:(l=0|t[(s=r+20|0)>>2])>>>0<(0|t[(r+16|0)>>2])>>>0?(u=255&e,c=l+1|0,t[s>>2]=c,a[l>>0]=u,b=255&e):d=10,10==(0|d)&&(b=0|tf(r,e)),i=b);do{if(3==(0|d)){if(!((0|(0|a[(r+75|0)>>0])<<24>>24)==(0|e))&&(f=0|t[(k=r+20|0)>>2])>>>0<(0|t[(r+16|0)>>2])>>>0){n=255&e,o=f+1|0,t[k>>2]=o,a[f>>0]=n,i=255&e;break}i=0|tf(r,e)}}while(0);return 0|i}function uf(e){var r=0,i=0,f=0,n=0,o=0,s=0,l=0,u=0,c=0;(0|(0|t[((e|=0)+76|0)>>2]))<0?c=3:0==(0|(0|Ka()))?c=3:((n=0|t[(f=e+4|0)>>2])>>>0<(0|t[(e+8|0)>>2])>>>0?(o=n+1|0,t[f>>2]=o,s=255&(0|a[n>>0])):s=0|Va(e),r=s);do{if(3==(0|c)){if((u=0|t[(l=e+4|0)>>2])>>>0<(0|t[(e+8|0)>>2])>>>0){i=u+1|0,t[l>>2]=i,r=255&(0|a[u>>0]);break}r=0|Va(e);break}}while(0);return 0|r}function cf(e){return o,0|1&((32|(e|=0))+-97|0)>>>0<26}function bf(e){var r,i,a,f,n,o,s,l,u,c,b,k,d,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0,I=0,P=0,x=0,L=0,H=0,B=0,U=0,z=0,Y=0,V=0,X=0,j=0,K=0,G=0,q=0,J=0,Z=0,$=0,ee=0,re=0,ie=0,ae=0,fe=0,te=0,ne=0,oe=0,se=0,le=0,ue=0,be=0,ke=0,de=0,he=0,Ee=0,me=0,we=0,Se=0,ve=0,pe=0,Oe=0,Ae=0,ye=0,Re=0,ge=0,Fe=0,Me=0,De=0,Te=0,Ne=0,Ce=0,Ie=0,Pe=0,xe=0,Le=0,He=0,Be=0,Ue=0,ze=0,Ye=0,Ve=0,Xe=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;break}wo=Be,Fo=He}else wo=Le,Fo=xe;if(!(To>>>0<pe>>>0)){t[To>>2]=0,yo=po;break}W()}else{if((Fe=0|t[(Rs+8|0)>>2])>>>0<pe>>>0&&W(),(0|(0|t[(Me=Fe+12|0)>>2]))==(0|Rs)||W(),(0|(0|t[(De=ye+8|0)>>2]))==(0|Rs)){t[Me>>2]=ye,t[De>>2]=Fe,yo=ye;break}W()}}while(0);ze=0==(0|Ae);do{if(!ze){if(Ye=0|t[(Rs+28|0)>>2],(0|Rs)==(0|(0|t[(Ve=7156+(Ye<<2)|0)>>2]))){if(t[Ve>>2]=yo,0==(0|yo)){Xe=-1^1<<Ye,je=(0|t[1714])&Xe,t[1714]=je;break}}else if(Ae>>>0<(0|t[1717])>>>0&&W(),(0|(0|t[(Ke=Ae+16|0)>>2]))==(0|Rs)?t[Ke>>2]=yo:t[(Ae+20|0)>>2]=yo,0==(0|yo))break;yo>>>0<(Ge=0|t[1717])>>>0&&W(),t[(yo+24|0)>>2]=Ae,Je=0==(0|(qe=0|t[(Rs+16|0)>>2]));do{if(!Je){if(!(qe>>>0<Ge>>>0)){t[(yo+16|0)>>2]=qe,t[(qe+24|0)>>2]=yo;break}W()}}while(0);if(!(0==(0|(Ze=0|t[(Rs+20|0)>>2])))){if(!(Ze>>>0<(0|t[1717])>>>0)){t[(yo+20|0)>>2]=Ze,t[(Ze+24|0)>>2]=yo;break}W()}}}while(0);return Qo>>>0<16?($e=3|(Qe=Qo+Ai|0),t[(Rs+4|0)>>2]=$e,ir=1|(0|t[(er=(Rs+Qe|0)+4|0)>>2]),t[er>>2]=ir):(ar=3|Ai,t[(Rs+4|0)>>2]=ar,fr=1|Qo,t[(Oe+4|0)>>2]=fr,t[(Oe+Qo|0)>>2]=Qo,0==(0|(tr=0|t[1715]))||(nr=0|t[1718],sr=6892+((or=tr>>>3)<<1<<2)|0,0==(0|(lr=0|t[1713])&(ur=1<<or))?(cr=lr|ur,t[1713]=cr,F=sr+8|0,so=sr):(kr=0|t[(br=sr+8|0)>>2])>>>0<(0|t[1717])>>>0?W():(F=br,so=kr),t[F>>2]=nr,t[(so+12|0)>>2]=nr,t[(nr+8|0)>>2]=so,t[(nr+12|0)>>2]=sr),t[1715]=Qo,t[1718]=Oe),0|(Rs+8|0)}jo=Ai}else jo=Ai}else if(e>>>0>4294967231)jo=-1;else if(_r=-8&(dr=e+11|0),0==(0|(hr=0|t[1714])))jo=_r;else{mr=0-_r|0,Wo=0==(0|(wr=dr>>>8))?0:_r>>>0>16777215?31:1&_r>>>((yr=(14-((pr=4&((vr=wr<<(Sr=8&(wr+1048320|0)>>>16))+520192|0)>>>16)|Sr|(Ar=2&((Or=vr<<pr)+245760|0)>>>16))|0)+(Or<<Ar>>>15)|0)+7|0)|yr<<1,gr=0==(0|(Rr=0|t[(7156+(Wo<<2)|0)>>2]));e:do{if(gr)rs=mr,ws=0,Ms=0,Ns=86;else for($o=mr,fs=0,os=_r<<(31==(0|Wo)?0:25-(Wo>>>1)|0),ms=Rr,gs=0;;){if((Dr=(Mr=-8&(0|t[(ms+4|0)>>2]))-_r|0)>>>0<$o>>>0){if((0|Mr)==(0|_r)){as=Dr,ps=ms,Ts=ms,Ns=90;break e}es=Dr,Fs=ms}else es=$o,Fs=gs;if(ts=0==(0|(Nr=0|t[(ms+20|0)>>2]))|(0|Nr)==(0|(Cr=0|t[((ms+16|0)+(os>>>31<<2)|0)>>2]))?fs:Nr,ns=os<<(1^1&(Ir=0==(0|Cr))),Ir){rs=es,ws=ts,Ms=Fs,Ns=86;break}$o=es,fs=ts,os=ns,ms=Cr,gs=Fs}}while(0);if(86==(0|Ns)){if(0==(0|ws)&0==(0|Ms)){if(0==(0|(xr=hr&((Pr=2<<Wo)|(0-Pr|0))))){jo=_r;break}Ss=0|t[(7156+((((Ur=8&(Br=(Lr=(xr&(0-xr|0))+-1|0)>>>(Hr=16&Lr>>>12))>>>5)|Hr|(Yr=4&(zr=Br>>>Ur)>>>2)|(Wr=2&(Xr=zr>>>Yr)>>>1)|(Kr=1&(jr=Xr>>>Wr)>>>1))+(jr>>>Kr)|0)<<2)|0)>>2]}else Ss=ws;0==(0|Ss)?(is=rs,Ds=Ms):(as=rs,ps=Ss,Ts=Ms,Ns=90)}if(90==(0|Ns))for(;;)if(Ns=0,T=(qr=(Gr=(-8&(0|t[(ps+4|0)>>2]))-_r|0)>>>0<as>>>0)?Gr:as,vs=qr?ps:Ts,0==(0|(Zr=0|t[(ps+16|0)>>2]))){if(0==(0|(Qr=0|t[(ps+20|0)>>2]))){is=T,Ds=vs;break}as=T,ps=Qr,Ts=vs,Ns=90}else as=T,ps=Zr,Ts=vs,Ns=90;if(0==(0|Ds))jo=_r;else{if(is>>>0<((0|t[1715])-_r|0)>>>0){Ds>>>0<($r=0|t[1717])>>>0&&W(),Ds>>>0<(ri=Ds+_r|0)>>>0||W(),ii=0|t[(Ds+24|0)>>2],fi=(0|(ai=0|t[(Ds+12|0)>>2]))==(0|Ds);do{if(fi){if(0==(0|(li=0|t[(si=Ds+20|0)>>2]))){if(0==(0|(ci=0|t[(ui=Ds+16|0)>>2]))){go=0;break}Oo=ci,No=ui}else Oo=li,No=si;for(;;)if(0==(0|(ki=0|t[(bi=Oo+20|0)>>2]))){if(0==(0|(_i=0|t[(di=Oo+16|0)>>2]))){Ao=Oo,Co=No;break}Oo=_i,No=di}else Oo=ki,No=bi;if(!(Co>>>0<$r>>>0)){t[Co>>2]=0,go=Ao;break}W()}else{if((ti=0|t[(Ds+8|0)>>2])>>>0<$r>>>0&&W(),(0|(0|t[(ni=ti+12|0)>>2]))==(0|Ds)||W(),(0|(0|t[(oi=ai+8|0)>>2]))==(0|Ds)){t[ni>>2]=ai,t[oi>>2]=ti,go=ai;break}W()}}while(0);hi=0==(0|ii);do{if(!hi){if(Ei=0|t[(Ds+28|0)>>2],(0|Ds)==(0|(0|t[(mi=7156+(Ei<<2)|0)>>2]))){if(t[mi>>2]=go,0==(0|go)){wi=-1^1<<Ei,Si=(0|t[1714])&wi,t[1714]=Si;break}}else if(ii>>>0<(0|t[1717])>>>0&&W(),(0|(0|t[(pi=ii+16|0)>>2]))==(0|Ds)?t[pi>>2]=go:t[(ii+20|0)>>2]=go,0==(0|go))break;go>>>0<(Oi=0|t[1717])>>>0&&W(),t[(go+24|0)>>2]=ii,Ri=0==(0|(yi=0|t[(Ds+16|0)>>2]));do{if(!Ri){if(!(yi>>>0<Oi>>>0)){t[(go+16|0)>>2]=yi,t[(yi+24|0)>>2]=go;break}W()}}while(0);if(!(0==(0|(gi=0|t[(Ds+20|0)>>2])))){if(!(gi>>>0<(0|t[1717])>>>0)){t[(go+20|0)>>2]=gi,t[(gi+24|0)>>2]=go;break}W()}}}while(0);Fi=is>>>0<16;do{if(Fi)Di=3|(Mi=is+_r|0),t[(Ds+4|0)>>2]=Di,Ci=1|(0|t[(Ti=(Ds+Mi|0)+4|0)>>2]),t[Ti>>2]=Ci;else{if(Ii=3|_r,t[(Ds+4|0)>>2]=Ii,Pi=1|is,t[(ri+4|0)>>2]=Pi,t[(ri+is|0)>>2]=is,xi=is>>>3,is>>>0<256){Li=6892+(xi<<1<<2)|0,0==(0|(Hi=0|t[1713])&(Bi=1<<xi))?(Ui=Hi|Bi,t[1713]=Ui,R=Li+8|0,co=Li):(Yi=0|t[(zi=Li+8|0)>>2])>>>0<(0|t[1717])>>>0?W():(R=zi,co=Yi),t[R>>2]=ri,t[(co+12|0)>>2]=ri,t[(ri+8|0)>>2]=co,t[(ri+12|0)>>2]=Li;break}if(Zi=7156+((ko=0==(0|(Vi=is>>>8))?0:is>>>0>16777215?31:1&is>>>((Ji=(14-((Ki=4&((Wi=Vi<<(Xi=8&(Vi+1048320|0)>>>16))+520192|0)>>>16)|Xi|(qi=2&((Gi=Wi<<Ki)+245760|0)>>>16))|0)+(Gi<<qi>>>15)|0)+7|0)|Ji<<1)<<2)|0,t[(ri+28|0)>>2]=ko,t[((Qi=ri+16|0)+4|0)>>2]=0,t[Qi>>2]=0,0==(0|(ea=0|t[1714])&(ra=1<<ko))){ia=ea|ra,t[1714]=ia,t[Zi>>2]=ri,t[(ri+24|0)>>2]=Zi,t[(ri+12|0)>>2]=ri,t[(ri+8|0)>>2]=ri;break}for(ho=is<<(31==(0|ko)?0:25-(ko>>>1)|0),Io=0|t[Zi>>2];;){if((0|-8&(0|t[(Io+4|0)>>2]))==(0|is)){Ho=Io,Ns=148;break}if(ta=ho<<1,0==(0|(na=0|t[(fa=(Io+16|0)+(ho>>>31<<2)|0)>>2]))){A=fa,Bo=Io,Ns=145;break}ho=ta,Io=na}if(145==(0|Ns)){if(!(A>>>0<(0|t[1717])>>>0)){t[A>>2]=ri,t[(ri+24|0)>>2]=Bo,t[(ri+12|0)>>2]=ri,t[(ri+8|0)>>2]=ri;break}W()}else if(148==(0|Ns)){if((ua=0|t[(oa=Ho+8|0)>>2])>>>0>=(ca=0|t[1717])>>>0&Ho>>>0>=ca>>>0){t[(ua+12|0)>>2]=ri,t[oa>>2]=ri,t[(ri+8|0)>>2]=ua,t[(ri+12|0)>>2]=Ho,t[(ri+24|0)>>2]=0;break}W()}}}while(0);return 0|(Ds+8|0)}jo=_r}}}while(0);if(!((a=0|t[1715])>>>0<jo>>>0))return ba=a-jo|0,ka=0|t[1718],ba>>>0>15?(da=ka+jo|0,t[1718]=da,t[1715]=ba,_a=1|ba,t[(da+4|0)>>2]=_a,t[(da+ba|0)>>2]=ba,ha=3|jo,t[(ka+4|0)>>2]=ha):(t[1715]=0,t[1718]=0,ma=3|a,t[(ka+4|0)>>2]=ma,Sa=1|(0|t[(wa=(ka+a|0)+4|0)>>2]),t[wa>>2]=Sa),0|(ka+8|0);if((f=0|t[1716])>>>0>jo>>>0)return va=f-jo|0,t[1716]=va,Oa=(pa=0|t[1719])+jo|0,t[1719]=Oa,Aa=1|va,t[(Oa+4|0)>>2]=Aa,ya=3|jo,t[(pa+4|0)>>2]=ya,0|(pa+8|0);n=0==(0|(0|t[1831]));do{if(n){if(0==(0|((Ra=0|ce(30))+-1|0)&Ra)){t[1833]=Ra,t[1832]=Ra,t[1834]=-1,t[1835]=-1,t[1836]=0,t[1824]=0,Fa=1431655768^-16&(0|_e(0)),t[1831]=Fa;break}W()}}while(0);if(o=jo+48|0,!((b=(u=(s=0|t[1833])+(l=jo+47|0)|0)&(c=0-s|0))>>>0>jo>>>0))return 0|0;if(!(0==(0|(k=0|t[1823])))&&(Da=(Ma=0|t[1821])+b|0)>>>0<=Ma>>>0|Da>>>0>k>>>0)return 0|0;d=0==(0|4&(0|t[1824]));e:do{if(d){Ia=0==(0|(Na=0|t[1719]));r:do{if(Ia)Ns=173;else{for(ss=7300;;){if(!((Pa=0|t[ss>>2])>>>0>Na>>>0)&&(Pa+(0|t[(xa=ss+4|0)>>2])|0)>>>0>Na>>>0){p=ss,O=xa;break}if(0==(0|(La=0|t[(ss+8|0)>>2]))){Ns=173;break r}ss=La}if((Ka=(u-(0|t[1716])|0)&c)>>>0<2147483647)if((0|(Ga=0|Q(0|Ka)))==(0|((0|t[p>>2])+(0|t[O>>2])|0))){if(!(-1==(0|Ga))){Os=Ga,As=Ka,Ns=193;break e}}else Vo=Ga,_s=Ka,Ns=183}}while(0);do{if(173==(0|Ns)&&!(-1==(0|(Ha=0|Q(0))))&&(Ba=Ha,ds=0==(0|(za=(Ua=0|t[1832])+-1|0)&Ba)?b:(b-Ba|0)+((za+Ba|0)&(0-Ua|0))|0,Xa=(Va=0|t[1821])+ds|0,ds>>>0>jo>>>0&ds>>>0<2147483647)){if(!(0==(0|(Wa=0|t[1823])))&&Xa>>>0<=Va>>>0|Xa>>>0>Wa>>>0)break;if((0|(ja=0|Q(0|ds)))==(0|Ha)){Os=Ha,As=ds,Ns=193;break e}Vo=ja,_s=ds,Ns=183}}while(0);r:do{if(183==(0|Ns)){Za=0-_s|0,Go=o>>>0>_s>>>0&(_s>>>0<2147483647&-1!=(0|Vo));do{if(Go){if(($a=((l-_s|0)+(Qa=0|t[1833])|0)&(0-Qa|0))>>>0<2147483647){if(-1==(0|(0|Q(0|$a)))){Q(0|Za);break r}hs=$a+_s|0;break}hs=_s}else hs=_s}while(0);if(!(-1==(0|Vo))){Os=Vo,As=hs,Ns=193;break e}}}while(0);rf=4|(0|t[1824]),t[1824]=rf,Ns=190}else Ns=190}while(0);if(190==(0|Ns)&&b>>>0<2147483647&&(af=0|Q(0|b))>>>0<(ff=0|Q(0))>>>0&(-1!=(0|af)&-1!=(0|ff))&&(tf=ff-af|0)>>>0>(jo+40|0)>>>0&&(Os=af,As=tf,Ns=193),193==(0|Ns)){nf=(0|t[1821])+As|0,t[1821]=nf,nf>>>0>(0|t[1822])>>>0&&(t[1822]=nf),sf=0==(0|(of=0|t[1719]));do{if(sf){for(0==(0|(lf=0|t[1717]))|Os>>>0<lf>>>0&&(t[1717]=Os),t[1825]=Os,t[1826]=As,t[1828]=0,uf=0|t[1831],t[1722]=uf,t[1721]=-1,Xo=0;t[((cf=6892+(Xo<<1<<2)|0)+12|0)>>2]=cf,t[(cf+8|0)>>2]=cf,!(32==(0|(bf=Xo+1|0)));)Xo=bf;hf=Os+(_f=0==(0|7&(kf=Os+8|0))?0:7&(0-kf|0))|0,Ef=(As+-40|0)-_f|0,t[1719]=hf,t[1716]=Ef,mf=1|Ef,t[(hf+4|0)>>2]=mf,t[((hf+Ef|0)+4|0)>>2]=40,wf=0|t[1835],t[1720]=wf}else{for(us=7300;;){if((0|Os)==(0|((Sf=0|t[us>>2])+(pf=0|t[(vf=us+4|0)>>2])|0))){w=Sf,S=vf,v=pf,cs=us,Ns=203;break}if(0==(0|(Of=0|t[(us+8|0)>>2])))break;us=Of}if(203==(0|Ns)&&0==(0|8&(0|t[(cs+12|0)>>2]))&&of>>>0<Os>>>0&of>>>0>=w>>>0){yf=v+As|0,t[S>>2]=yf,Mf=of+(Ff=0==(0|7&(Rf=of+8|0))?0:7&(0-Rf|0))|0,Df=(As-Ff|0)+(0|t[1716])|0,t[1719]=Mf,t[1716]=Df,Tf=1|Df,t[(Mf+4|0)>>2]=Tf,t[((Mf+Df|0)+4|0)>>2]=40,Cf=0|t[1835],t[1720]=Cf;break}for(Os>>>0<(If=0|t[1717])>>>0?(t[1717]=Os,ut=Os):ut=If,Pf=Os+As|0,bs=7300;;){if((0|(0|t[bs>>2]))==(0|Pf)){m=bs,ks=bs,Ns=211;break}if(0==(0|(xf=0|t[(bs+8|0)>>2]))){ls=7300;break}bs=xf}if(211==(0|Ns)){if(0==(0|8&(0|t[(ks+12|0)>>2]))){t[m>>2]=Os,Uf=(0|t[(Bf=ks+4|0)>>2])+As|0,t[Bf>>2]=Uf,Kf=(Vf=Os+(0==(0|7&(zf=Os+8|0))?0:7&(0-zf|0))|0)+jo|0,Gf=((jf=Pf+(0==(0|7&(Xf=Pf+8|0))?0:7&(0-Xf|0))|0)-Vf|0)-jo|0,qf=3|jo,t[(Vf+4|0)>>2]=qf,Jf=(0|jf)==(0|of);do{if(Jf)Zf=(0|t[1716])+Gf|0,t[1716]=Zf,t[1719]=Kf,Qf=1|Zf,t[(Kf+4|0)>>2]=Qf;else{if((0|jf)==(0|(0|t[1718]))){$f=(0|t[1715])+Gf|0,t[1715]=$f,t[1718]=Kf,et=1|$f,t[(Kf+4|0)>>2]=et,t[(Kf+$f|0)>>2]=$f;break}if(1==(0|3&(rt=0|t[(jf+4|0)>>2]))){it=-8&rt,at=rt>>>3,ft=rt>>>0<256;e:do{if(ft){nt=0|t[(jf+8|0)>>2],ot=0|t[(jf+12|0)>>2],lt=(0|nt)==(0|(st=6892+(at<<1<<2)|0));do{if(!lt){if(nt>>>0<ut>>>0&&W(),(0|(0|t[(nt+12|0)>>2]))==(0|jf))break;W()}}while(0);if((0|ot)==(0|nt)){ct=-1^1<<at,bt=(0|t[1713])&ct,t[1713]=bt;break}kt=(0|ot)==(0|st);do{if(kt)M=ot+8|0;else{if(ot>>>0<ut>>>0&&W(),(0|(0|t[(dt=ot+8|0)>>2]))==(0|jf)){M=dt;break}W()}}while(0);t[(nt+12|0)>>2]=ot,t[M>>2]=nt}else{_t=0|t[(jf+24|0)>>2],Et=(0|(ht=0|t[(jf+12|0)>>2]))==(0|jf);do{if(Et){if(0==(0|(At=0|t[(Ot=(pt=jf+16|0)+4|0)>>2]))){if(0==(0|(yt=0|t[pt>>2]))){Ro=0;break}So=yt,Mo=pt}else So=At,Mo=Ot;for(;;)if(0==(0|(gt=0|t[(Rt=So+20|0)>>2]))){if(0==(0|(Mt=0|t[(Ft=So+16|0)>>2]))){vo=So,Do=Mo;break}So=Mt,Mo=Ft}else So=gt,Mo=Rt;if(!(Do>>>0<ut>>>0)){t[Do>>2]=0,Ro=vo;break}W()}else{if((mt=0|t[(jf+8|0)>>2])>>>0<ut>>>0&&W(),(0|(0|t[(St=mt+12|0)>>2]))==(0|jf)||W(),(0|(0|t[(vt=ht+8|0)>>2]))==(0|jf)){t[St>>2]=ht,t[vt>>2]=mt,Ro=ht;break}W()}}while(0);if(0==(0|_t))break;Dt=0|t[(jf+28|0)>>2],Nt=(0|jf)==(0|(0|t[(Tt=7156+(Dt<<2)|0)>>2]));do{if(Nt){if(t[Tt>>2]=Ro,!(0==(0|Ro)))break;Ct=-1^1<<Dt,It=(0|t[1714])&Ct,t[1714]=It;break e}if(_t>>>0<(0|t[1717])>>>0&&W(),(0|(0|t[(Pt=_t+16|0)>>2]))==(0|jf)?t[Pt>>2]=Ro:t[(_t+20|0)>>2]=Ro,0==(0|Ro))break e}while(0);Ro>>>0<(xt=0|t[1717])>>>0&&W(),t[(Ro+24|0)>>2]=_t,Ut=0==(0|(Bt=0|t[(Lt=jf+16|0)>>2]));do{if(!Ut){if(!(Bt>>>0<xt>>>0)){t[(Ro+16|0)>>2]=Bt,t[(Bt+24|0)>>2]=Ro;break}W()}}while(0);if(0==(0|(zt=0|t[(Lt+4|0)>>2])))break;if(!(zt>>>0<(0|t[1717])>>>0)){t[(Ro+20|0)>>2]=zt,t[(zt+24|0)>>2]=Ro;break}W()}}while(0);Ko=jf+it|0,Jo=it+Gf|0}else Ko=jf,Jo=Gf;if(Xt=-2&(0|t[(Vt=Ko+4|0)>>2]),t[Vt>>2]=Xt,Wt=1|Jo,t[(Kf+4|0)>>2]=Wt,t[(Kf+Jo|0)>>2]=Jo,jt=Jo>>>3,Jo>>>0<256){Kt=6892+(jt<<1<<2)|0,Jt=0==(0|(Gt=0|t[1713])&(qt=1<<jt));do{if(Jt)Zt=Gt|qt,t[1713]=Zt,g=Kt+8|0,uo=Kt;else{if(!((en=0|t[(Qt=Kt+8|0)>>2])>>>0<(0|t[1717])>>>0)){g=Qt,uo=en;break}W()}}while(0);t[g>>2]=Kf,t[(uo+12|0)>>2]=Kf,t[(Kf+8|0)>>2]=uo,t[(Kf+12|0)>>2]=Kt;break}an=0==(0|(rn=Jo>>>8));do{if(an)_o=0;else{if(Jo>>>0>16777215){_o=31;break}_o=1&Jo>>>((un=(14-((on=4&((nn=rn<<(tn=8&(rn+1048320|0)>>>16))+520192|0)>>>16)|tn|(ln=2&((sn=nn<<on)+245760|0)>>>16))|0)+(sn<<ln>>>15)|0)+7|0)|un<<1}}while(0);if(cn=7156+(_o<<2)|0,t[(Kf+28|0)>>2]=_o,t[((bn=Kf+16|0)+4|0)>>2]=0,t[bn>>2]=0,0==(0|(kn=0|t[1714])&(dn=1<<_o))){_n=kn|dn,t[1714]=_n,t[cn>>2]=Kf,t[(Kf+24|0)>>2]=cn,t[(Kf+12|0)>>2]=Kf,t[(Kf+8|0)>>2]=Kf;break}for(mo=Jo<<(31==(0|_o)?0:25-(_o>>>1)|0),Uo=0|t[cn>>2];;){if((0|-8&(0|t[(Uo+4|0)>>2]))==(0|Jo)){zo=Uo,Ns=281;break}if(mn=mo<<1,0==(0|(wn=0|t[(En=(Uo+16|0)+(mo>>>31<<2)|0)>>2]))){_=En,Yo=Uo,Ns=278;break}mo=mn,Uo=wn}if(278==(0|Ns)){if(!(_>>>0<(0|t[1717])>>>0)){t[_>>2]=Kf,t[(Kf+24|0)>>2]=Yo,t[(Kf+12|0)>>2]=Kf,t[(Kf+8|0)>>2]=Kf;break}W()}else if(281==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+12|0)>>2]=of,t[(of+8|0)>>2]=oo,t[(of+12|0)>>2]=qn;break}if(x=7156+((bo=0==(0|(ro=Wn>>>8))?0:Wn>>>0>16777215?31:1&Wn>>>((I=(14-((to=4&((fo=ro<<(ao=8&(ro+1048320|0)>>>16))+520192|0)>>>16)|ao|(C=2&((no=fo<<to)+245760|0)>>>16))|0)+(no<<C>>>15)|0)+7|0)|I<<1)<<2)|0,t[(of+28|0)>>2]=bo,t[(of+20|0)>>2]=0,t[Dn>>2]=0,0==(0|(L=0|t[1714])&(H=1<<bo))){B=L|H,t[1714]=B,t[x>>2]=of,t[(of+24|0)>>2]=x,t[(of+12|0)>>2]=of,t[(of+8|0)>>2]=of;break}for(Eo=Wn<<(31==(0|bo)?0:25-(bo>>>1)|0),Po=0|t[x>>2];;){if((0|-8&(0|t[(Po+4|0)>>2]))==(0|Wn)){xo=Po,Ns=307;break}if(z=Eo<<1,0==(0|(Y=0|t[(U=(Po+16|0)+(Eo>>>31<<2)|0)>>2]))){h=U,Lo=Po,Ns=304;break}Eo=z,Po=Y}if(304==(0|Ns)){if(!(h>>>0<(0|t[1717])>>>0)){t[h>>2]=of,t[(of+24|0)>>2]=Lo,t[(of+12|0)>>2]=of,t[(of+8|0)>>2]=of;break}W()}else if(307==(0|Ns)){if((X=0|t[(V=xo+8|0)>>2])>>>0>=(j=0|t[1717])>>>0&xo>>>0>=j>>>0){t[(X+12|0)>>2]=of,t[V>>2]=of,t[(of+8|0)>>2]=X,t[(of+12|0)>>2]=xo,t[(of+24|0)>>2]=0;break}W()}}}}while(0);if((K=0|t[1716])>>>0>jo>>>0)return G=K-jo|0,t[1716]=G,J=(q=0|t[1719])+jo|0,t[1719]=J,Z=1|G,t[(J+4|0)>>2]=Z,$=3|jo,t[(q+4|0)>>2]=$,0|(q+8|0)}return i=0|Ca(),t[i>>2]=12,0|0}function kf(e){var r,i,a,f,n,s,l,u,c,b,k,d,_,h,E,m,w,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=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==(0|me)){Ye=-1^1<<se,Ve=(0|t[1713])&Ye,t[1713]=Ve,Tr=B,Nr=V;break}(0|Re)==(0|Ce)?p=Re+8|0:(Re>>>0<n>>>0&&W(),(0|(0|t[(Xe=Re+8|0)>>2]))==(0|B)?p=Xe:W()),t[(me+12|0)>>2]=Re,t[p>>2]=me,Tr=B,Nr=V;break}We=0|t[(B+24|0)>>2],Ke=(0|(je=0|t[(B+12|0)>>2]))==(0|B);do{if(Ke){if(0==(0|($e=0|t[(Qe=(Ze=B+16|0)+4|0)>>2]))){if(0==(0|(er=0|t[Ze>>2]))){Sr=0;break}mr=er,Ar=Ze}else mr=$e,Ar=Qe;for(;;)if(0==(0|(ir=0|t[(rr=mr+20|0)>>2]))){if(0==(0|(fr=0|t[(ar=mr+16|0)>>2]))){wr=mr,yr=Ar;break}mr=fr,Ar=ar}else mr=ir,Ar=rr;if(!(yr>>>0<n>>>0)){t[yr>>2]=0,Sr=wr;break}W()}else{if((Ge=0|t[(B+8|0)>>2])>>>0<n>>>0&&W(),(0|(0|t[(qe=Ge+12|0)>>2]))==(0|B)||W(),(0|(0|t[(Je=je+8|0)>>2]))==(0|B)){t[qe>>2]=je,t[Je>>2]=Ge,Sr=je;break}W()}}while(0);if(0==(0|We))Tr=B,Nr=V;else{if(tr=0|t[(B+28|0)>>2],(0|B)==(0|(0|t[(nr=7156+(tr<<2)|0)>>2]))){if(t[nr>>2]=Sr,0==(0|Sr)){or=-1^1<<tr,sr=(0|t[1714])&or,t[1714]=sr,Tr=B,Nr=V;break}}else if(We>>>0<(0|t[1717])>>>0&&W(),(0|(0|t[(lr=We+16|0)>>2]))==(0|B)?t[lr>>2]=Sr:t[(We+20|0)>>2]=Sr,0==(0|Sr)){Tr=B,Nr=V;break}Sr>>>0<(ur=0|t[1717])>>>0&&W(),t[(Sr+24|0)>>2]=We,kr=0==(0|(br=0|t[(cr=B+16|0)>>2]));do{if(!kr){if(!(br>>>0<ur>>>0)){t[(Sr+16|0)>>2]=br,t[(br+24|0)>>2]=Sr;break}W()}}while(0);if(0==(0|(dr=0|t[(cr+4|0)>>2])))Tr=B,Nr=V;else{if(!(dr>>>0<(0|t[1717])>>>0)){t[(Sr+20|0)>>2]=dr,t[(dr+24|0)>>2]=Sr,Tr=B,Nr=V;break}W()}}}else Tr=r,Nr=m}while(0);if(Tr>>>0<w>>>0||W(),0==(0|1&(f=0|t[(a=w+4|0)>>2]))&&W(),0==(0|2&f)){if((0|w)==(0|(0|t[1719]))){if(M=(0|t[1716])+Nr|0,t[1716]=M,t[1719]=Tr,D=1|M,t[(Tr+4|0)>>2]=D,!((0|Tr)==(0|(0|t[1718]))))return;return t[1718]=0,void(t[1715]=0)}if((0|w)==(0|(0|t[1718])))return T=(0|t[1715])+Nr|0,t[1715]=T,t[1718]=Tr,N=1|T,t[(Tr+4|0)>>2]=N,void(t[(Tr+T|0)>>2]=T);C=(-8&f)+Nr|0,I=f>>>3,P=f>>>0<256;do{if(P){if(x=0|t[(w+8|0)>>2],L=0|t[(w+12|0)>>2],(0|x)==(0|(H=6892+(I<<1<<2)|0))||(x>>>0<(0|t[1717])>>>0&&W(),(0|(0|t[(x+12|0)>>2]))==(0|w)||W()),(0|L)==(0|x)){U=-1^1<<I,z=(0|t[1713])&U,t[1713]=z;break}(0|L)==(0|H)?v=L+8|0:(L>>>0<(0|t[1717])>>>0&&W(),(0|(0|t[(Y=L+8|0)>>2]))==(0|w)?v=Y:W()),t[(x+12|0)>>2]=L,t[v>>2]=x}else{X=0|t[(w+24|0)>>2],K=(0|(j=0|t[(w+12|0)>>2]))==(0|w);do{if(K){if(0==(0|($=0|t[(Q=(Z=w+16|0)+4|0)>>2]))){if(0==(0|(ee=0|t[Z>>2]))){Or=0;break}vr=ee,Rr=Z}else vr=$,Rr=Q;for(;;)if(0==(0|(ie=0|t[(re=vr+20|0)>>2]))){if(0==(0|(fe=0|t[(ae=vr+16|0)>>2]))){pr=vr,gr=Rr;break}vr=fe,Rr=ae}else vr=ie,Rr=re;if(!(gr>>>0<(0|t[1717])>>>0)){t[gr>>2]=0,Or=pr;break}W()}else{if((G=0|t[(w+8|0)>>2])>>>0<(0|t[1717])>>>0&&W(),(0|(0|t[(q=G+12|0)>>2]))==(0|w)||W(),(0|(0|t[(J=j+8|0)>>2]))==(0|w)){t[q>>2]=j,t[J>>2]=G,Or=j;break}W()}}while(0);if(!(0==(0|X))){if(te=0|t[(w+28|0)>>2],(0|w)==(0|(0|t[(ne=7156+(te<<2)|0)>>2]))){if(t[ne>>2]=Or,0==(0|Or)){oe=-1^1<<te,le=(0|t[1714])&oe,t[1714]=le;break}}else if(X>>>0<(0|t[1717])>>>0&&W(),(0|(0|t[(ue=X+16|0)>>2]))==(0|w)?t[ue>>2]=Or:t[(X+20|0)>>2]=Or,0==(0|Or))break;Or>>>0<(ce=0|t[1717])>>>0&&W(),t[(Or+24|0)>>2]=X,de=0==(0|(ke=0|t[(be=w+16|0)>>2]));do{if(!de){if(!(ke>>>0<ce>>>0)){t[(Or+16|0)>>2]=ke,t[(ke+24|0)>>2]=Or;break}W()}}while(0);if(!(0==(0|(_e=0|t[(be+4|0)>>2])))){if(!(_e>>>0<(0|t[1717])>>>0)){t[(Or+20|0)>>2]=_e,t[(_e+24|0)>>2]=Or;break}W()}}}}while(0);if(he=1|C,t[(Tr+4|0)>>2]=he,t[(Tr+C|0)>>2]=C,(0|Tr)==(0|(0|t[1718])))return void(t[1715]=C);Cr=C}else Ee=-2&f,t[a>>2]=Ee,we=1|Nr,t[(Tr+4|0)>>2]=we,t[(Tr+Nr|0)>>2]=Nr,Cr=Nr;if(s=Cr>>>3,Cr>>>0<256)return Se=6892+(s<<1<<2)|0,0==(0|(ve=0|t[1713])&(pe=1<<s))?(Oe=ve|pe,t[1713]=Oe,O=Se+8|0,_r=Se):(ye=0|t[(Ae=Se+8|0)>>2])>>>0<(0|t[1717])>>>0?W():(O=Ae,_r=ye),t[O>>2]=Tr,t[(_r+12|0)>>2]=Tr,t[(Tr+8|0)>>2]=_r,void(t[(Tr+12|0)>>2]=Se);u=7156+((hr=0==(0|(l=Cr>>>8))?0:Cr>>>0>16777215?31:1&Cr>>>((Ne=(14-((Me=4&((Fe=l<<(ge=8&(l+1048320|0)>>>16))+520192|0)>>>16)|ge|(Te=2&((De=Fe<<Me)+245760|0)>>>16))|0)+(De<<Te>>>15)|0)+7|0)|Ne<<1)<<2)|0,t[(Tr+28|0)>>2]=hr,c=Tr+16|0,t[(Tr+20|0)>>2]=0,t[c>>2]=0,d=0==(0|(b=0|t[1714])&(k=1<<hr));do{if(d)Ie=b|k,t[1714]=Ie,t[u>>2]=Tr,t[(Tr+24|0)>>2]=u,t[(Tr+12|0)>>2]=Tr,t[(Tr+8|0)>>2]=Tr;else{for(Er=Cr<<(31==(0|hr)?0:25-(hr>>>1)|0),Fr=0|t[u>>2];;){if((0|-8&(0|t[(Fr+4|0)>>2]))==(0|Cr)){Mr=Fr,xr=130;break}if(xe=Er<<1,0==(0|(Le=0|t[(Pe=(Fr+16|0)+(Er>>>31<<2)|0)>>2]))){S=Pe,Dr=Fr,xr=127;break}Er=xe,Fr=Le}if(127==(0|xr)){if(!(S>>>0<(0|t[1717])>>>0)){t[S>>2]=Tr,t[(Tr+24|0)>>2]=Dr,t[(Tr+12|0)>>2]=Tr,t[(Tr+8|0)>>2]=Tr;break}W()}else if(130==(0|xr)){if((Be=0|t[(He=Mr+8|0)>>2])>>>0>=(Ue=0|t[1717])>>>0&Mr>>>0>=Ue>>>0){t[(Be+12|0)>>2]=Tr,t[He>>2]=Tr,t[(Tr+8|0)>>2]=Be,t[(Tr+12|0)>>2]=Mr,t[(Tr+24|0)>>2]=0;break}W()}}}while(0);if(_=(0|t[1721])+-1|0,t[1721]=_,0==(0|_)){for(Pr=7308;ze=(Ir=0|t[Pr>>2])+8|0,!(0==(0|Ir));)Pr=ze;t[1721]=-1}}}function df(e){var r,i,a=0;r=0|he(8),c=0,C(211,0|r,6128),i=c,c=0,1&i?(a=0|q(),b,G(0|r),ie(0|a)):(t[r>>2]=848,ue(0|r,112,22))}function _f(e){(1&(0|a[(e|=0)>>0]))<<24>>24==0||vf(0|t[(e+8|0)>>2])}function hf(e,r,i){r|=0,i|=0;var f,n=0,s=0,l=0,u=0,c=0,b=0,k=0;return o,(1&(f=0|a[(e|=0)>>0]))<<24>>24==0?(s=10,k=f):(s=(-2&(c=0|t[e>>2]))+-1|0,k=255&c),(s-(n=(1&k)<<24>>24==0?(255&k)>>>1:0|t[(e+4|0)>>2])|0)>>>0<i>>>0?function(e,r,i,f,n,o,s,l){e|=0,f|=0,n|=0,o|=0,s|=0,l|=0;var u,c,b,k,d=0,_=0,h=0,E=0,m=0;(-18-(r|=0)|0)>>>0<(i|=0)>>>0&&df(),E=(1&(0|a[e>>0]))<<24>>24==0?e+1|0:0|t[(e+8|0)>>2],u=0|gf(h=r>>>0<2147483623?(_=(m=i+r|0)>>>0<(d=r<<1)>>>0?d:m)>>>0<11?11:-16&(_+16|0):-17),0==(0|n)||xf(0|u,0|E,0|n),0==(0|s)||xf(0|u+n,0|l,0|s),(0|(c=f-o|0))==(0|n)||xf(0|(u+n|0)+s,0|(E+n|0)+o,0|c-n),10==(0|r)||vf(E),t[(e+8|0)>>2]=u,b=1|h,t[e>>2]=b,k=c+s|0,t[(e+4|0)>>2]=k,a[(u+k|0)>>0]=0}(e,s,(i-s|0)+n|0,n,n,0,i,r):0==(0|i)||(xf(0|((l=(1&k)<<24>>24==0?e+1|0:0|t[(e+8|0)>>2])+n|0),0|r,0|i),u=n+i|0,(1&(0|a[e>>0]))<<24>>24==0?(b=255&u<<1,a[e>>0]=b):t[(e+4|0)>>2]=u,a[(l+u|0)>>0]=0),0|e}function Ef(e,r){r|=0;var i,f,n,o=0,s=0,l=0,u=0,c=0,b=0,k=0,d=0;(f=(1&(i=0|a[(e|=0)>>0]))<<24>>24!=0)?(b=(-2&(0|t[e>>2]))+-1|0,k=0|t[(e+4|0)>>2]):(b=10,k=(255&i)>>>1),(0|k)==(0|b)?(!function(e,r,i,f,n,o,s){e|=0,f|=0,n|=0,o|=0,s|=0;var l,u,c,b=0,k=0,d=0,_=0,h=0;(-17-(r|=0)|0)>>>0<(i|=0)>>>0&&df(),_=(1&(0|a[e>>0]))<<24>>24==0?e+1|0:0|t[(e+8|0)>>2],l=0|gf(d=r>>>0<2147483623?(k=(h=i+r|0)>>>0<(b=r<<1)>>>0?b:h)>>>0<11?11:-16&(k+16|0):-17),0==(0|n)||xf(0|l,0|_,0|n),(0|(u=f-o|0))==(0|n)||xf(0|(l+n|0)+s,0|(_+n|0)+o,0|u-n),10==(0|r)||vf(_),t[(e+8|0)>>2]=l,c=1|d,t[e>>2]=c}(e,b,1,b,b,0,0),d=(1&(0|a[e>>0]))<<24>>24==0?7:8):d=f?8:7,7==(0|d)?(s=e+1|0,l=255&((k<<1)+2|0),a[e>>0]=l,o=s):8==(0|d)&&(u=0|t[(e+8|0)>>2],c=k+1|0,t[(e+4|0)>>2]=c,o=u),a[(n=o+k|0)>>0]=r,a[(n+1|0)>>0]=0}function mf(e){var r,i,a=0;r=0|he(8),c=0,C(211,0|r,6141),i=c,c=0,1&i?(a=0|q(),b,G(0|r),ie(0|a)):(t[r>>2]=848,ue(0|r,112,22))}function wf(){var e,r,i=0,a=0;return r=o,(0|(o=o+16|0))>=(0|s)&&_(),e=r,0==(0|(0|ne(7348,213)))?(i=0|t[1838],a=0|ae(0|i),o=r,0|a):(Sf(6251,e),0)}function Sf(e,r){e|=0,r|=0;var i,a,f;f=o,(0|(o=o+16|0))>=(0|s)&&_(),t[(a=f)>>2]=r,qa(i=0|t[90],e,a),of(10,i),W()}function vf(e){kf(e|=0)}function pf(e,r,i,n){e|=0,r|=0,i|=0,n|=0;var l,u,c,b,k,d,h,E,m,w,S,v,p,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0;v=o,(0|(o=o+64|0))>=(0|s)&&_(),S=v,l=0|t[e>>2],E=e+(0|t[(l+-8|0)>>2])|0,m=0|t[(l+-4|0)>>2],t[S>>2]=i,t[(S+4|0)>>2]=e,t[(S+8|0)>>2]=r,t[(S+12|0)>>2]=n,u=S+20|0,c=S+24|0,b=S+28|0,k=S+32|0,d=S+40|0,h=(0|m)==(0|i),p=(T=w=S+16|0)+36|0;do{t[T>>2]=0,T=T+4|0}while((0|T)<(0|p));f[w+36>>1]=0,a[w+38>>0]=0;e:do{if(h)t[(S+48|0)>>2]=1,O=0|t[i>>2],A=0|t[(O+20|0)>>2],kt[127&A](i,S,E,E,1,0),M=1==(0|(0|t[c>>2]))?E:0;else{switch(y=S+36|0,R=0|t[m>>2],g=0|t[(R+24|0)>>2],tt[255&g](m,S,E,1,0),0|(0|t[y>>2])){case 0:D=1==(0|(0|t[d>>2]))&1==(0|(0|t[b>>2]))&1==(0|(0|t[k>>2])),F=0|t[u>>2],M=D?F:0;break e;case 1:break;default:M=0;break e}if(!(1==(0|(0|t[c>>2])))&&!(0==(0|(0|t[d>>2]))&1==(0|(0|t[b>>2]))&1==(0|(0|t[k>>2])))){M=0;break}M=0|t[w>>2]}}while(0);return o=v,0|M}function Of(e,r,i,f,n){i|=0,f|=0,n|=0;var o,s=0,l=0,u=0,c=0,b=0,k=0,d=0;a[((r|=0)+53|0)>>0]=1,o=(0|(0|t[(r+4|0)>>2]))==(0|f);do{if(o){if(a[(r+52|0)>>0]=1,0==(0|(d=0|t[(k=r+16|0)>>2]))){if(t[k>>2]=i,t[(r+24|0)>>2]=n,t[(r+36|0)>>2]=1,!(1==(0|(0|t[(r+48|0)>>2]))&1==(0|n)))break;a[(r+54|0)>>0]=1;break}if(!((0|d)==(0|i))){b=(0|t[(c=r+36|0)>>2])+1|0,t[c>>2]=b,a[(r+54|0)>>0]=1;break}2==(0|(l=0|t[(s=r+24|0)>>2]))?(t[s>>2]=n,u=n):u=l,1==(0|(0|t[(r+48|0)>>2]))&1==(0|u)&&(a[(r+54|0)>>0]=1)}}while(0)}function Af(e,r,i,f){i|=0,f|=0;var n,o,s,l=0,u=0,c=0;s=0==(0|(o=0|t[(n=(r|=0)+16|0)>>2]));do{if(s)t[n>>2]=i,t[(r+24|0)>>2]=f,t[(r+36|0)>>2]=1;else{if(!((0|o)==(0|i))){l=(0|t[(c=r+36|0)>>2])+1|0,t[c>>2]=l,t[(r+24|0)>>2]=2,a[(r+54|0)>>0]=1;break}2==(0|(0|t[(u=r+24|0)>>2]))&&(t[u>>2]=f)}}while(0)}function yf(e){}function Rf(e){t[(e|=0)>>2]=828,function(e){var r=0,i=0,a=0,f=0;o,r=0|t[(e|=0)>>2],a=0|t[(i=r+-4|0)>>2],t[i>>2]=a+-1|0,(0|(a+-1|0))<0&&(f=0|t[e>>2],vf(f+-12|0))}(e+4|0)}function gf(e){var r,i=0,a=0,f=0,n=0,s=0;for(o,r=0==(0|(e|=0))?1:e;;){if(!(0==(0|(a=0|bf(r))))){i=a,s=6;break}if(0==(0|(f=0|Ff()))){s=5;break}ct[255&f]()}if(5==(0|s))n=0|he(4),t[n>>2]=808,ue(0|n,80,19);else if(6==(0|s))return 0|i;return 0}function Ff(){var e;return o,e=0|t[1839],t[1839]=e+0|0,0|e}function Mf(e,r){var i,a,f=0,t=0,n=0,s=0;return o,c=0,i=0|I(29,0|(e|=0)),a=c,c=0,1&a?(f=0|J(0),b,$(0|f),c=0,x(217),t=c,c=0,1&t?(n=0|J(0),b,ve(n)):s=0):s=i,0|s}function Df(e,r,i,a){return(r|=0)-(a|=0)>>>0,0|(b=r-a-((i|=0)>>>0>(e|=0)>>>0|0)>>>0,0|e-i>>>0)}function Tf(e,r,i){r|=0;var f,n=0,o=0,s=0;if(f=(e|=0)+(i|=0)|0,(0|i)>=20){if(n=(r&=255)|r<<8|r<<16|r<<24,o=-4&f,s=3&e)for(s=e+4-s|0;(0|e)<(0|s);)a[e>>0]=r,e=e+1|0;for(;(0|e)<(0|o);)t[e>>2]=n,e=e+4|0}for(;(0|e)<(0|f);)a[e>>0]=r,e=e+1|0;return e-i|0}function Nf(e,r,i){e|=0,r|=0;return(0|(i|=0))<32?(b=r<<i|(e&((1<<i)-1|0)<<32-i)>>>32-i,e<<i):(b=e<<i-32,0)}function Cf(e,r,i,a){var f;return 0|(b=(r|=0)+(a|=0)+((f=(e|=0)+(i|=0)>>>0)>>>0<e>>>0|0)>>>0,0|f)}function If(e,r,i){e|=0,r|=0;return(0|(i|=0))<32?(b=r>>i,e>>>i|(r&((1<<i)-1|0))<<32-i):(b=(0|r)<0?-1:0,r>>i-32|0)}function Pf(e,r,i){e|=0,r|=0;return(0|(i|=0))<32?(b=r>>>i,e>>>i|(r&((1<<i)-1|0))<<32-i):(b=0,r>>>i-32|0)}function xf(e,r,i){e|=0,r|=0;var f;if((0|(i|=0))>=4096)return 0|ee(0|e,0|r,0|i);if(f=0|e,(3&e)==(3&r)){for(;3&e;){if(0==(0|i))return 0|f;a[e>>0]=0|a[r>>0],e=e+1|0,r=r+1|0,i=i-1|0}for(;(0|i)>=4;)t[e>>2]=0|t[r>>2],e=e+4|0,r=r+4|0,i=i-4|0}for(;(0|i)>0;)a[e>>0]=0|a[r>>0],e=e+1|0,r=r+1|0,i=i-1|0;return 0|f}function Lf(e,r,i){var f=0;if((0|(r|=0))<(0|(e|=0))&(0|e)<(r+(i|=0)|0)){for(f=e,r=r+i|0,e=e+i|0;(0|i)>0;)r=r-1|0,i=i-1|0,a[(e=e-1|0)>>0]=0|a[r>>0];e=f}else xf(e,r,i);return 0|e}function Hf(e){var r=0;return(0|(r=0|a[u+(255&(e|=0))>>0]))<8?0|r:(0|(r=0|a[u+(e>>8&255)>>0]))<8?r+8|0:(0|(r=0|a[u+(e>>16&255)>>0]))<8?r+16|0:24+(0|a[u+(e>>>24)>>0])|0}function Bf(e,r,i,a){i|=0;var f,t,n,o,s,l;return s=(n=(a|=0)>>31|((0|a)<0?-1:0)<<1)^(f=(r|=0)>>31|((0|r)<0?-1:0)<<1),l=(o=((0|a)<0?-1:0)>>31|((0|a)<0?-1:0)<<1)^(t=((0|r)<0?-1:0)>>31|((0|r)<0?-1:0)<<1),0|(0|Df((0|Xf(0|Df(f^(e|=0)|0,t^r|0,0|f,0|t),b,0|Df(n^i|0,o^a|0,0|n,0|o),b,0))^s|0,b^l|0,0|s,0|l))}function Uf(e,r,i,a){i|=0;var f,n,s,l,u,c,k;return k=o,o=o+16|0,f=0|k,l=(a|=0)>>31|((0|a)<0?-1:0)<<1,u=((0|a)<0?-1:0)>>31|((0|a)<0?-1:0)<<1,Xf(0|Df((n=(r|=0)>>31|((0|r)<0?-1:0)<<1)^(e|=0)|0,(s=((0|r)<0?-1:0)>>31|((0|r)<0?-1:0)<<1)^r|0,0|n,0|s),b,0|Df(l^i|0,u^a|0,0|l,0|u),b,f),c=0|Df(t[f>>2]^n|0,t[f+4>>2]^s|0,0|n,0|s),o=k,0|(b=b,c)}function zf(e,r,i,a){r|=0,a|=0;var f,t,n,o,s;return n=0|function(e,r){var i,a,f,t,n,o,s;return n=((f=0|k(a=65535&(r|=0),i=65535&(e|=0)))>>>16)+(0|k(a,t=e>>>16))|0,s=0|k(o=r>>>16,i),0|(b=((n>>>16)+(0|k(o,t))|0)+(((65535&n)+s|0)>>>16)|0,n+s<<16|65535&f|0)}(f=e|=0,t=i|=0),o=b,s=0|k(r,t),0|(b=((0|k(a,f))+s|0)+o|0&o,0|-1&n)}function Yf(e,r,i,a){return 0|(0|Xf(e|=0,r|=0,i|=0,a|=0,0))}function Vf(e,r,i,a){var f,n;return n=o,o=o+16|0,Xf(e|=0,r|=0,i|=0,a|=0,f=0|n),o=n,0|(b=0|t[f+4>>2],0|t[f>>2])}function Xf(e,r,i,a,f){f|=0;var n,o,s,l,u,c,k,_,h,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0,I=0,P=0,x=0,L=0,H=0,B=0,U=0,z=0,Y=0,V=0,X=0,W=0,j=0,K=0,G=0,q=0,J=0,Z=0,Q=0,$=0,ee=0,re=0,ie=0,ae=0,fe=0,te=0,ne=0,oe=0,se=0,le=0,ue=0,ce=0,be=0;if(n=e|=0,l=i|=0,c=u=a|=0,0==(0|(s=o=r|=0)))return E=0!=(0|f),0==(0|c)?(E&&(t[f>>2]=(n>>>0)%(l>>>0),t[f+4>>2]=0),0|(b=be=0,ce=(n>>>0)/(l>>>0)>>>0)):E?(t[f>>2]=-1&e,t[f+4>>2]=0&r,0|(b=be=0,ce=0)):0|(b=be=0,ce=0);k=0==(0|c);do{if(0==(0|l)){if(k)return 0!=(0|f)&&(t[f>>2]=(s>>>0)%(l>>>0),t[f+4>>2]=0),0|(b=be=0,ce=(s>>>0)/(l>>>0)>>>0);if(0==(0|n))return 0!=(0|f)&&(t[f>>2]=0,t[f+4>>2]=(s>>>0)%(c>>>0)),0|(b=be=0,ce=(s>>>0)/(c>>>0)>>>0);if(0==((m=c-1|0)&c|0))return 0!=(0|f)&&(t[f>>2]=0|-1&e,t[f+4>>2]=m&s|0&r),be=0,ce=s>>>((0|Hf(0|c))>>>0),0|(b=be,ce);if((w=(0|d(0|c))-(0|d(0|s))|0)>>>0<=30){H=S=w+1|0,L=s<<(v=31-w|0)|n>>>(S>>>0),x=s>>>(S>>>0),P=0,I=n<<v;break}return 0==(0|f)?0|(b=be=0,ce=0):(t[f>>2]=0|-1&e,t[f+4>>2]=o|0&r,0|(b=be=0,ce=0))}if(!k){if((D=(0|d(0|c))-(0|d(0|s))|0)>>>0<=31){H=T=D+1|0,L=n>>>(T>>>0)&(C=D-31>>31)|s<<(N=31-D|0),x=s>>>(T>>>0)&C,P=0,I=n<<N;break}return 0==(0|f)?0|(b=be=0,ce=0):(t[f>>2]=0|-1&e,t[f+4>>2]=o|0&r,0|(b=be=0,ce=0))}if(0!=((p=l-1|0)&l|0)){H=A=(33+(0|d(0|l))|0)-(0|d(0|s))|0,L=(R=32-A|0)-1>>31&s>>>((F=A-32|0)>>>0)|(s<<R|n>>>(A>>>0))&(M=F>>31),x=M&s>>>(A>>>0),P=n<<(y=64-A|0)&(g=R>>31),I=(s<<y|n>>>(F>>>0))&g|n<<R&A-33>>31;break}return 0!=(0|f)&&(t[f>>2]=p&n,t[f+4>>2]=0),1==(0|l)?0|(b=be=o|0&r,ce=0|-1&e):(O=0|Hf(0|l),0|(b=be=0|s>>>(O>>>0),ce=s<<32-O|n>>>(O>>>0)|0))}while(0);if(0==(0|H))ue=I,le=P,se=x,oe=L,ne=0,te=0;else{for(z=0|Cf(0|(B=0|-1&i),0|(U=u|0&a),-1,-1),Y=b,G=I,K=P,j=x,W=L,X=H,V=0;q=K>>>31|G<<1,J=V|K<<1,Df(0|z,0|Y,0|(Z=W<<1|G>>>31|0),0|(Q=W>>>31|j<<1|0)),re=1&(ee=($=b)>>31|((0|$)<0?-1:0)<<1),ie=0|Df(0|Z,0|Q,ee&B|0,(((0|$)<0?-1:0)>>31|((0|$)<0?-1:0)<<1)&U|0),ae=b,0!=(0|(fe=X-1|0));)G=q,K=J,j=ae,W=ie,X=fe,V=re;ue=q,le=J,se=ae,oe=ie,ne=0,te=re}return _=le,0,h=0|ue,0!=(0|f)&&(t[f>>2]=0|oe,t[f+4>>2]=0|se),0|(b=be=(0|_)>>>31|h<<1|0&(0|_>>>31)|ne,ce=-2&(_<<1|0)|te)}function Wf(e,r,i){return 0,0,0,h(0),0}function jf(e,r,i,a,f){E(1)}function Kf(){return m(2),0}function Gf(e){w(3)}function qf(e,r){S(4)}function Jf(e){return 0,v(5),0}function Zf(e,r,i){p(6)}function Qf(){O(7)}function $f(e,r,i,a){return 0,0,0,0,A(8),0}function et(e,r,i,a,f,t){y(9)}function rt(e,r){return 0,0,R(10),0}function it(e,r,i,a,f){return 0,0,0,0,0,g(11),0}function at(e,r,i,a){F(12)}var ft=[Wf,Wf,Ia,function(e,r,i){e|=0,r|=0,i|=0;var a,f,n,l,u=0;return l=o,(0|(o=o+32|0))>=(0|s)&&_(),n=l,f=l+20|0,a=0|t[(e+60|0)>>2],t[n>>2]=a,t[(n+4|0)>>2]=0,t[(n+8|0)>>2]=r,t[(n+12|0)>>2]=f,t[(n+16|0)>>2]=i,(0|Na(0|Ee(140,0|n)))<0?(t[f>>2]=-1,u=-1):u=0|t[f>>2],o=l,0|u},function(e,r,i){e|=0,r|=0,i|=0;var f,n,l,u,c=0;return u=o,(0|(o=o+80|0))>=(0|s)&&_(),l=u,n=u+12|0,t[(e+36|0)>>2]=2,0==(0|64&(0|t[e>>2]))&&(c=0|t[(e+60|0)>>2],t[l>>2]=c,t[(l+4|0)>>2]=21505,t[(l+8|0)>>2]=n,0==(0|oe(54,0|l))||(a[(e+75|0)>>0]=-1)),f=0|Ia(e,r,i),o=u,0|f},function(e,r,i){e|=0,r|=0,i|=0;var f,n,l,u,c,b,k,d,h,E,m,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0;return m=o,(0|(o=o+48|0))>=(0|s)&&_(),E=m+16|0,h=m,t[(d=m+32|0)>>2]=r,f=d+4|0,u=i-(1&0!=(0|(l=0|t[(n=e+48|0)>>2])))|0,t[f>>2]=u,c=d+8|0,k=0|t[(b=e+44|0)>>2],t[c>>2]=k,t[(d+12|0)>>2]=l,0==(0|t[1701])?(O=0|t[(e+60|0)>>2],t[E>>2]=O,t[(E+4|0)>>2]=d,t[(E+8|0)>>2]=2,C=0|Na(0|we(145,0|E))):(j(210,0|e),v=0|t[(e+60|0)>>2],t[h>>2]=v,t[(h+4|0)>>2]=d,t[(h+8|0)>>2]=2,p=0|Na(0|we(145,0|h)),Y(0),C=p),(0|C)<1?(A=16^48&C,y=0|t[e>>2]|A,t[e>>2]=y,t[(e+8|0)>>2]=0,t[(e+4|0)>>2]=0,w=C):C>>>0>(R=0|t[f>>2])>>>0?(g=C-R|0,F=0|t[b>>2],t[(M=e+4|0)>>2]=F,D=(S=F)+g|0,t[(e+8|0)>>2]=D,0==(0|t[n>>2])?w=i:(T=S+1|0,t[M>>2]=T,N=0|a[S>>0],a[(r+(i+-1|0)|0)>>0]=N,w=i)):w=C,o=m,0|w},Wf,Wf,Wf,Wf,Wf,function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,Ge=0,qe=0,Je=0,Ze=0,Qe=0,$e=0,er=0,rr=0,ir=0,ar=0,fr=0,tr=0,nr=0,or=0,sr=0,lr=0,ur=0,cr=0,br=0,kr=0,dr=0,_r=0,hr=0,Er=0,mr=0,wr=0,Sr=0,vr=0,pr=0,Or=0,Ar=0,yr=0,Rr=0,gr=0,Fr=0;if(v=o,(0|(o=o+96|0))>=(0|s)&&_(),E=v+72|0,h=v+56|0,d=v+40|0,S=v+32|0,w=v+24|0,m=v+16|0,k=v,(255&i+-49<<24>>24)>5)return o=v,0|(p=0);switch(f=i<<24>>24,u=(1+(0|t[(l=e+8|0)>>2])|0)-(0|t[e>>2])|0,n=(1+(0|t[(c=e+12|0)>>2])|0)-(0|t[(b=e+4|0)>>2])|0,t[k>>2]=f,t[(k+4|0)>>2]=u,t[(k+8|0)>>2]=n,nf(r,1415,k),i<<24>>24){case 49:if((0|(he=0|t[b>>2]))>(0|t[c>>2]))return o=v,0|(p=1);for(De=e+16|0,Te=e+29|0,Or=he;;){if(!((0|(Ne=0|t[e>>2]))>(0|t[l>>2]))&&(Ce=Or-(0|t[b>>2])|0,Ie=0|t[De>>2],Pe=0|t[(Ie+(12*Ce|0)|0)>>2],lf((255&(0|a[Pe>>0]))<=(255&(0|a[Te>>0]))?49:48,r),(0|Ne)<(0|t[l>>2])))for(dr=Ne;Le=dr+1|0,D=0|t[e>>2],He=Or-(0|t[b>>2])|0,Be=0|t[De>>2],Ue=Le-D|0,ze=0|t[(Be+(12*He|0)|0)>>2],lf((255&(0|a[(ze+Ue|0)>>0]))<=(255&(0|a[Te>>0]))?49:48,r),(0|Le)<(0|t[l>>2]);)dr=Le;if(lf(10,r),xe=Or+1|0,!((0|Or)<(0|t[c>>2]))){p=1;break}Or=xe}return o=v,0|p;case 52:if((0|(Ye=0|t[b>>2]))>(0|t[c>>2]))return o=v,0|(p=1);for(Ve=e+16|0,Xe=e+29|0,Ar=Ye;;){if(!((0|(We=0|t[e>>2]))>(0|(je=0|t[l>>2])))){for(ye=je,Je=We,cr=0,hr=We,Sr=-128;;){if(Ke=Ar-(0|t[b>>2])|0,Ge=0|t[Ve>>2],qe=hr-Je|0,Ze=0|t[(Ge+(12*Ke|0)|0)>>2],O=((255&(0|a[(Ze+qe|0)>>0]))<=(255&(0|a[Xe>>0]))?Sr:0)|cr,(Qe=(255&Sr)>>>1)<<24>>24==0?(lf(255&O,r),$e=0|t[l>>2],br=0,vr=-128):($e=ye,br=O,vr=Qe),!((0|hr)<(0|$e))){kr=br,pr=vr;break}er=hr+1|0,ye=$e,Je=0|t[e>>2],cr=br,hr=er,Sr=vr}pr<<24>>24==-128||lf(255&kr,r)}if(rr=Ar+1|0,!((0|Ar)<(0|t[c>>2]))){p=1;break}Ar=rr}return o=v,0|p;default:switch(se=255&(0|a[(e+28|0)>>0]),t[m>>2]=se,nf(r,1426,m),i<<24>>24){case 51:if((0|(q=0|t[b>>2]))>(0|t[c>>2]))return o=v,0|(p=1);for(J=e+16|0,Fr=q;;){if($=(0|(Z=0|t[e>>2]))<(0|(Q=0|t[l>>2])),ee=0|t[J>>2],re=0|t[(ee+(12*Fr|0)|0)>>2],$)for(fe=re,wr=Z;;){if(te=255&(0|a[(fe+wr|0)>>0]),t[h>>2]=te,t[(h+4|0)>>2]=te,t[(h+8|0)>>2]=te,nf(r,1444,h),le=(0|(ne=wr+1|0))<(0|(oe=0|t[l>>2])),ue=0|t[J>>2],ce=0|t[(ue+(12*Fr|0)|0)>>2],!le){A=oe,g=ce;break}fe=ce,wr=ne}else A=Q,g=re;if(ie=255&(0|a[(g+A|0)>>0]),t[d>>2]=ie,t[(d+4|0)>>2]=ie,t[(d+8|0)>>2]=ie,nf(r,1434,d),ae=Fr+1|0,!((0|Fr)<(0|t[c>>2]))){p=1;break}Fr=ae}return o=v,0|p;case 54:if((0|(be=0|t[b>>2]))>(0|(ke=0|t[c>>2])))return o=v,0|(p=1);for(de=e+16|0,Ee=0|t[l>>2],Fe=ke,yr=be;;){if((0|(_e=0|t[e>>2]))>(0|Ee))we=Fe,Me=Ee;else{for(_r=_e;;){if(Se=0|t[de>>2],ve=0|t[(Se+(12*yr|0)|0)>>2],pe=255&(0|a[(ve+_r|0)>>0]),t[E>>2]=pe,t[(E+4|0)>>2]=pe,t[(E+8|0)>>2]=pe,nf(r,1454,E),Oe=_r+1|0,!((0|_r)<(0|(Ae=0|t[l>>2])))){y=Ae;break}_r=Oe}we=0|t[c>>2],Me=y}if(me=yr+1|0,!((0|yr)<(0|we))){p=1;break}Ee=Me,Fe=we,yr=me}return o=v,0|p;case 50:if((0|(ir=0|t[b>>2]))>(0|t[c>>2]))return o=v,0|(p=1);for(ar=e+16|0,Rr=ir;;){if(nr=(0|(fr=0|t[e>>2]))<(0|(tr=0|t[l>>2])),or=0|t[ar>>2],sr=0|t[(or+(12*Rr|0)|0)>>2],nr)for(T=sr,Er=fr;;){if(N=255&(0|a[(T+Er|0)>>0]),t[S>>2]=N,nf(r,1430,S),P=(0|(C=Er+1|0))<(0|(I=0|t[l>>2])),x=0|t[ar>>2],L=0|t[(x+(12*Rr|0)|0)>>2],!P){F=I,M=L;break}T=L,Er=C}else F=tr,M=sr;if(lr=255&(0|a[(M+F|0)>>0]),t[w>>2]=lr,nf(r,1426,w),ur=Rr+1|0,!((0|Rr)<(0|t[c>>2]))){p=1;break}Rr=ur}return o=v,0|p;case 53:if((0|(H=0|t[b>>2]))>(0|(B=0|t[c>>2])))return o=v,0|(p=1);for(U=e+16|0,Y=0|t[l>>2],Re=B,gr=H;;){if((0|(z=0|t[e>>2]))>(0|Y))X=Re,ge=Y;else{for(mr=z;;){if(W=0|t[U>>2],j=0|t[(W+(12*gr|0)|0)>>2],of(255&(0|a[(j+mr|0)>>0]),r),K=mr+1|0,!((0|mr)<(0|(G=0|t[l>>2])))){R=G;break}mr=K}X=0|t[c>>2],ge=R}if(V=gr+1|0,!((0|gr)<(0|X))){p=1;break}Y=ge,Re=X,gr=V}return o=v,0|p;default:return o=v,0|(p=1)}}return 0},Wf,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e+4|0)>>2]))==(0|i))return A=f,de=w,ke=0|t[e>>2],t[e>>2]=de,t[A>>2]=ke,_e=0|t[l>>2],he=0|t[b>>2],t[l>>2]=he,t[b>>2]=_e,me=r+12|0,we=0|t[(Ee=e+8|0)>>2],Se=0|t[me>>2],t[Ee>>2]=Se,t[me>>2]=we,ve=0|t[A>>2],t[r>>2]=ve,0|n;for(E=i,X=0|t[b>>2];;){if(t[X>>2]=0,t[(W=X+4|0)>>2]=0,t[(X+8|0)>>2]=0,Z=(K=0|t[(j=E+4|0)>>2])-(J=0|t[E>>2])|0,(0|K)!=(0|J)){if((0|Z)<0&&(c=0,N(46,0|X),Q=c,c=0,1&Q)){S=X,v=W;break}if(c=0,$=0|I(29,0|Z),ee=c,c=0,1&ee){S=X,v=W;break}if(t[W>>2]=$,t[X>>2]=$,re=$+Z|0,t[(X+8|0)>>2]=re,(0|(fe=0|t[E>>2]))!=(0|(te=0|t[j>>2])))for(_=fe,oe=$;ne=0|a[_>>0],a[oe>>0]=ne,se=1+(0|t[W>>2])|0,t[W>>2]=se,(0|(le=_+1|0))!=(0|te);)_=le,oe=se}if(ce=E+12|0,be=12+(0|t[b>>2])|0,t[b>>2]=be,(0|ce)==(0|u)){Oe=29;break}E=ce,X=be}return 29==(0|Oe)?(A=f,de=0|t[f>>2],ke=0|t[e>>2],t[e>>2]=de,t[A>>2]=ke,_e=0|t[l>>2],he=0|t[b>>2],t[l>>2]=he,t[b>>2]=_e,me=r+12|0,we=0|t[(Ee=e+8|0)>>2],Se=0|t[me>>2],t[Ee>>2]=Se,t[me>>2]=we,ve=0|t[A>>2],t[r>>2]=ve,0|n):(k=0|q(),0==(0|(d=0|t[S>>2]))&&ie(0|k),(0|t[v>>2])==(0|d)||(t[v>>2]=d),vf(d),ie(0|k),0)},Wf,Wf,Wf,Wf,Wf,function(e,r,i){e|=0,r|=0,i|=0;var a,f,n,l,u,c,b,k,d,h=0,E=0,m=0,w=0,S=0;for(d=o,(0|(o=o+16|0))>=(0|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S:w))/30&-1)|0,p=e+56|0,(0|t[(O=e+64|0)>>2])<0&&Hi(p),A=e+92|0,R=((0|Xi(p,(0|(50*(((0|t[(y=e+96|0)>>2])-(0|t[A>>2])|0)>>2)|0)-50)/100&-1))+v|0)<<1,g=0|t[e>>2],F=0|t[(g+8|0)>>2],M=0|t[g>>2],T=((0|k((D=(0|R)>=(0|(F+1|0)-M))?25:75,F-M|0))/100&-1)+M|0,N=0|t[(g+4|0)>>2],C=0|dr(g,(0|(0|t[(g+12|0)>>2])+N)/2&-1,T,1),I=0|t[e>>2],(0|C)>(0|(x=0|t[(I+4|0)>>2]))?(0|C)<(0|((0|(0|t[(I+12|0)>>2])-x)/4&-1)+x)&&0|mr(I,C,T)&&(Ya=0|t[e>>2],Df=9):(Ya=I,Df=9),9==(0|Df)){Wa=0|Ar(Ya,L);do{if(Wa){if(Ka=0|t[L>>2],D){if(qa=0|t[e>>2],!((0|Ka)>(0|(0|(1+(0|t[(qa+12|0)>>2])|0)-(0|t[(qa+4|0)>>2]))/2&-1)))break;if(_f=e+152|0,(0|t[(e+160|0)>>2])<0&&Hi(_f),J=e+188|0,!(0|ji(_f,(0|(80*(((0|t[(e+192|0)>>2])-(0|t[J>>2])|0)>>2)|0)-80)/100&-1,1)))break;if(0|Ki(_f,1,-1))break;B=74}else{if(Oe=0-Ka|0,ge=0|t[e>>2],!((0|(0|(1+(0|t[(ge+12|0)>>2])|0)-(0|t[(ge+4|0)>>2]))/2&-1)<(0|Oe)))break;if((0|t[O>>2])<0&&Hi(p),Ie=5*(0|Xi(p,(0|(80*(((0|t[y>>2])-(0|t[A>>2])|0)>>2)|0)-80)/100&-1))|0,Pe=0|t[e>>2],(0|Ie)<(0|((1+(xe=0|t[(Pe+8|0)>>2])|0)-(Le=0|t[Pe>>2])|0)<<1)){if(!((0|T)>(0|(0|Le+xe)/2&-1)))break;B=76}else B=118}return o=H,0|(U=B)}}while(0)}if(u=0|t[e>>2],h=(d=1+((0|(1+(c=0|t[(u+12|0)>>2])|0)-(b=0|t[(u+4|0)>>2]))/30&-1)|0)+b|0,E=c-d|0,1==(0|va(e))&&(He=0|t[(e+20|0)>>2],(0|(ze=(1+(Be=0|t[(He+8|0)>>2])|0)-(Ue=0|t[He>>2])|0))>1&&(Ye=ze<<1,Ve=0|t[e>>2],!((0|Ye)>(0|(1+(We=0|t[(Ve+8|0)>>2])|0)-(je=0|t[Ve>>2]))||(0|((0|(Ge=((0|Ue+Be)/2&-1)-((0|je+We)/2&-1)|0))>-1?Ge:0-Ge|0))>(0|v)||(0|((0|(qe=(Ue-je|0)+(Be-We|0)|0))>-1?qe:0-qe|0))>(0|v<<1))))){if(1==(0|Sa(e))&&(Ze=0|t[(Je=e+8|0)>>2],er=((1+(Qe=0|t[(Ze+12|0)>>2])|0)-($e=0|t[(Ze+4|0)>>2])|0)<<2,rr=0|t[e>>2],!((0|er)>(0|(1+(ir=0|t[(rr+12|0)>>2])|0)-(ar=0|t[(rr+4|0)>>2]))))){(0|$e)>(0|h)?(0|Qe)<(0|((0|15*(ir-ar|0))/100&-1)+ar)?Df=32:Sr=rr:Df=32;do{if(32==(0|Df)){if(fr=(1+(0|t[(Ze+8|0)>>2])|0)-(0|t[Ze>>2])|0,tr=e+296|0,(0|t[(nr=e+304|0)>>2])<0&&Hi(tr),or=e+332|0,lr=0|Xi(tr,(0|(75*(((0|t[(sr=e+336|0)>>2])-(0|t[or>>2])|0)>>2)|0)-75)/100&-1),(0|t[nr>>2])<0&&Hi(tr),(0|fr)<(0|(0|Xi(tr,(0|(80*(((0|t[sr>>2])-(0|t[or>>2])|0)>>2)|0)-80)/100&-1))+lr)){Sr=0|t[e>>2];break}if((0|t[O>>2])<0&&Hi(p),ur=(0|Xi(p,(0|(50*(((0|t[y>>2])-(0|t[A>>2])|0)>>2)|0)-50)/100&-1))<<2,br=0|t[e>>2],!((0|ur)<(0|(1+(0|t[(br+8|0)>>2])|0)-(0|t[br>>2]))))return o=H,0|(U=84);Sr=br}}while(0);if(kr=0|t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>2]))<(0|(Xr=(1+(0|t[(Yr+24|0)>>2])|0)-(0|t[Vr>>2])|0)))&&(Wr=Xr<<1,jr=0|t[Nr>>2],!((0|Wr)<(0|3*((1+(0|t[(jr+8|0)>>2])|0)-(0|t[jr>>2])|0)))&&0|Ke(jr,Vr))))){Kr=3==(0|Sa(e));do{if(Kr&&(Gr=0|t[zr>>2],0|Aa((1+(0|t[(Gr+8|0)>>2])|0)-(0|t[Gr>>2])|0,(1+(0|t[(Gr+40|0)>>2])|0)-(0|t[(Gr+32|0)>>2])|0,10,2))){if(qr=0|t[zr>>2],(0|10*((1+(0|t[(qr+40|0)>>2])|0)-(0|t[(qr+32|0)>>2])|0))<(0|9*((1+(0|t[(qr+24|0)>>2])|0)-(Jr=0|t[(qr+16|0)>>2])|0)))break;if((0|t[qr>>2])>(0|Jr+1))break;return o=H,0|(U=69)}}while(0);if(Zr=2==(0|Sa(e)),V=0|t[zr>>2],!(Zr||(0|(1+(0|t[(V+8|0)>>2])|0)-(0|t[V>>2]))>(0|(1+(0|t[(V+40|0)>>2])|0)-(0|t[(V+32|0)>>2]))))break;if(0|Xe(V+16|0,0|t[e>>2]))return o=H,0|(U=70);if(Qr=0|t[zr>>2],!((0|3*((1+(0|t[(Qr+24|0)>>2])|0)-(0|t[(Qr+16|0)>>2])|0))>(0|((1+(0|t[(Qr+8|0)>>2])|0)-(0|t[Qr>>2])|0)<<1)))break;if($r=10*(0|Xi(p,d))|0,ei=0|t[e>>2],!((0|$r)<(0|(1+(0|t[(ei+8|0)>>2])|0)-(0|t[ei>>2]))))break;if(ri=0|t[zr>>2],ii=0|t[(ri+20|0)>>2],ai=0|t[(ei+4|0)>>2],!((0|ii)>(0|((0|30*(fi=(0|t[(ei+12|0)>>2])-ai|0))/100&-1)+ai)))break;if(!((0|t[(ri+28|0)>>2])<(0|((0|60*fi)/100&-1)+ai)))break;return o=H,0|(U=70)}}while(0);if(2==(0|Sa(e))&&(ti=0|t[(e+8|0)>>2],!((0|t[(ti+28|0)>>2])<(0|E))&&(ni=0|t[e>>2],(0|(1+(0|t[(ni+12|0)>>2])|0)-(0|t[(ni+4|0)>>2]))>(0|(1+(0|t[(ni+8|0)>>2])|0)-(0|t[ni>>2]))&&(0|(1+(0|t[(ti+24|0)>>2])|0)-(0|t[(ti+16|0)>>2]))>(0|(1+(oi=0|t[(ti+8|0)>>2])|0)-(si=0|t[ti>>2]))&&(li=0|t[Nr>>2],ui=0|t[li>>2],(0|((0|(ci=((0|(0|t[(li+8|0)>>2])+ui)/2&-1)-((0|si+oi)/2&-1)|0))>-1?ci:0-ci|0))<2&&(ki=0|sa(bi=e+152|0,0,-1),(0|t[(e+160|0)>>2])<0&&Hi(bi),di=e+188|0,(0|ki)>(0|(0|(70*(((0|t[(e+192|0)>>2])-(0|t[di>>2])|0)>>2)|0)-70)/100&-1))))))return o=H,0|(U=76);if(1==(0|Sa(e))&&(hi=0|t[(_i=e+8|0)>>2],Ei=(1+(0|t[(hi+8|0)>>2])|0)-(0|t[hi>>2])|0,mi=0|t[e>>2],0|Aa(Ei,(1+(0|t[(mi+8|0)>>2])|0)-(0|t[mi>>2])|0,10,1)&&(wi=0|t[Nr>>2],Si=0|t[wi>>2],vi=0|t[e>>2],pi=0|t[vi>>2],!((0|Si)>(0|((0|30*(Oi=(0|t[(vi+8|0)>>2])-pi|0))/100&-1)+pi))))){Ai=0|t[_i>>2],yi=(0|t[(Ai+12|0)>>2])<(0|E);do{if(!yi){if(Ri=0|t[(vi+4|0)>>2],0|mr(vi,(0|(0|t[(vi+12|0)>>2])+Ri)/2&-1,((0|75*Oi)/100&-1)+pi|0))return o=H,0|(U=76);gi=0|t[_i>>2];break}gi=Ai}while(0);if(!((0|t[(gi+4|0)>>2])>(0|h)||(Fi=e+296|0,(0|t[(Mi=e+304|0)>>2])<0&&Hi(Fi),Di=e+332|0,Ni=(0|Xi(Fi,(0|(50*(((0|t[(Ti=e+336|0)>>2])-(0|t[Di>>2])|0)>>2)|0)-50)/100&-1))<<1,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(Ua=e+192|0)>>2])-(0|t[Ba>>2])|0)>>2)|0)-60)/100&-1),(0|t[Ha>>2])<0&&Hi(q),!((0|za)>(0|(0|Xi(q,(0|(40*(((0|t[Ua>>2])-(0|t[Ba>>2])|0)>>2)|0)-40)/100&-1))+v)))break;return o=H,0|(U=122)}}while(0);return o=H,0|(U=73)}Va=0|Ji(q);do{if(Va){if(0|aa(p))return o=H,0|(U=108);if(0|Ji(p))return o=H,0|(U=108);if(0|fa(p,50)){if(2!=(0|la(p,-1)))break;if(Xa=0|sa(p,0,-1),(0|t[O>>2])<0&&Hi(p),!((0|Xa)<(0|(0|(30*(((0|t[y>>2])-(0|t[A>>2])|0)>>2)|0)-30)/100&-1)))break;if(ja=0|sa(p,1,-1),(0|t[O>>2])<0&&Hi(p),!((0|ja)>(0|(0|(80*(((0|t[y>>2])-(0|t[A>>2])|0)>>2)|0)-80)/100&-1)))break;return o=H,0|(U=108)}}}while(0);Ga=0|t[e>>2],Ja=(0|(1+(0|t[(Ga+12|0)>>2])|0)-(0|t[(Ga+4|0)>>2]))>(0|3*(0|Ui(Ia)));do{if(Ja){Za=0|aa(q);do{if(Za){if(!(0|Zi(p)))break;if(Qa=0|sa(p,0,-1),(0|t[O>>2])<0&&Hi(p),!(0|Aa(Qa,(0|(50*(((0|t[y>>2])-(0|t[A>>2])|0)>>2)|0)-50)/100&-1,10,1)))break;return $a=0|$i(p),o=H,0|(U=$a?123:40)}}while(0);ef=0|aa(p);do{if(ef){if(!(0|Zi(q)))break;if(rf=0|sa(q,0,-1),(0|t[(e+160|0)>>2])<0&&Hi(q),af=e+188|0,!(0|Aa(rf,(0|(50*(((0|t[(e+192|0)>>2])-(0|t[af>>2])|0)>>2)|0)-50)/100&-1,10,1)))break;return ff=0|$i(q),o=H,0|(U=ff?125:41)}}while(0);if(!(0|Ji(q)))break;if(tf=0|t[Ra>>2],nf=(1+(0|t[(tf+12|0)>>2])|0)-(0|t[(tf+4|0)>>2])|0,of=0|t[(tf+8|0)>>2],sf=0|t[tf>>2],(0|k(nf<<1,(of+1|0)-sf|0))<(0|cr(0|t[e>>2])))break;return o=H,0|(U=108)}}while(0);if(lf=0|t[e>>2],(0|((1+(0|t[(lf+12|0)>>2])|0)-(0|t[(lf+4|0)>>2])|0)<<1)>(0|3*((1+(0|t[(lf+8|0)>>2])|0)-(0|t[lf>>2])|0))&&(0|la(p,-1))<3){if(!(0|Ji(q))&&1!=(0|la(q,-1)))break;if(uf=0|t[Ra>>2],cf=0|t[(uf+8|0)>>2],bf=0|t[e>>2],kf=0|t[bf>>2],(0|cf)<(0|((0|70*((df=0|t[(bf+8|0)>>2])-kf|0))/100&-1)+kf)){if(hf=0|t[(bf+4|0)>>2],!(0|mr(bf,((0|75*((0|t[(bf+12|0)>>2])-hf|0))/100&-1)+hf|0,(0|(Ef=cf+1|0))<(0|df)?Ef:df)))break;X=0|t[Ra>>2],z=W=0|t[e>>2],mf=X,wf=0|t[W>>2]}else z=bf,mf=uf,wf=kf;if(!((0|(Ff=(0|t[mf>>2])-1|0))>(0|wf)))break;for(Y=z,Mf=Ff;;){if(Sf=0|t[(Y+4|0)>>2],vf=0|hr(Y,((0|75*((0|t[(Y+12|0)>>2])-Sf|0))/100&-1)+Sf|0,Mf,1),pf=0|t[e>>2],(0|vf)<(0|t[(pf+12|0)>>2])){if(!((0|Xi(n,Mf-(0|t[pf>>2])|0))>(0|v))){U=108;break}Of=0|t[e>>2]}else Of=pf;if(!((0|(gf=Mf+-1|0))>(0|t[Of>>2])))break e;Y=Of,Mf=gf}return o=H,0|U}}}while(0);if(Af=0|t[Ra>>2],yf=0|t[(Af+8|0)>>2],Rf=0|t[e>>2],!((0|yf)<(0|(0|t[(Rf+8|0)>>2])-1))){if(Z=0|aa(p),Q=0|t[e>>2],$=0|t[(Q+12|0)>>2],ee=0|t[(Q+4|0)>>2],Z)if((0|($+1|0)-ee)>(0|((1+(re=0|t[(Q+8|0)>>2])|0)-(ie=0|t[Q>>2])|0)<<1)){if(ae=0|t[Ra>>2],(0|((1+(0|t[(ae+8|0)>>2])|0)-(0|t[ae>>2])|0)<<1)>(0|Ui(e+296|0)))se=j=0|t[e>>2],ce=0|t[(j+8|0)>>2],be=0|t[j>>2];else{if((0|t[O>>2])<0&&Hi(p),fe=0|Xi(p,(0|(50*(((0|t[y>>2])-(0|t[A>>2])|0)>>2)|0)-50)/100&-1),te=0|t[e>>2],!((0|fe)<(0|(0|(1+(ne=0|t[(te+8|0)>>2])|0)-(oe=0|t[te>>2]))/2&-1)))return o=H,0|(U=93);se=te,ce=ne,be=oe}if(!((0|(1+(le=0|t[(se+12|0)>>2])|0)-(ue=0|t[(se+4|0)>>2]))<(0|3*((ce+1|0)-be|0))))return o=H,0|(U=108);ke=le,de=ue,_e=ce,he=be}else ke=$,de=ee,_e=re,he=ie;else ke=$,de=ee,_e=0|t[(Q+8|0)>>2],he=0|t[Q>>2];if(!((0|((ke+1|0)-de|0)<<1)<(0|3*((_e+1|0)-he|0)))&&(Ee=0|t[Ra>>2],!((0|(1+(0|t[(Ee+12|0)>>2])|0)-(0|t[(Ee+4|0)>>2]))<(0|3*((1+(0|t[(Ee+8|0)>>2])|0)-(0|t[Ee>>2])|0)))&&0|$i(p)&&1==(0|la(p,-1))&&(me=0|sa(p,0,-1),(0|t[O>>2])<0&&Hi(p),(0|me)>(0|(0|(10*(((we=0|t[y>>2])-(Se=0|t[A>>2])|0)>>2)|0)-10)/100&-1)))){if((0|t[O>>2])<0?(Hi(p),K=0|t[y>>2],ve=0|t[A>>2],pe=K):(ve=Se,pe=we),!((0|me)<(0|(0|(40*((pe-ve|0)>>2)|0)-40)/100&-1)))break;return o=H,0|(U=49)}}}}while(0);return 1==(0|Sa(e))&&(Ae=0|t[(e+8|0)>>2],ye=(1+(0|t[(Ae+8|0)>>2])|0)-(0|t[Ae>>2])|0,Re=0|t[e>>2],!((0|ye)<(0|(Fe=(1+(0|t[(Re+8|0)>>2])|0)-(0|t[Re>>2])|0)))&&(Me=0|t[(Ae+4|0)>>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,2)&&(Ce=12),12==(0|Ce)&&!(0|qi(n))&&0|qi(ne)&&!(0|qi(e+152|0))&&(me=0|t[e>>2],we=0|t[a>>2],Se=0|hr(me,Ee,(0|(0|t[O>>2])+we)/2&-1,1),ve=0|t[e>>2],(0|Se)<(0|t[(ve+12|0)>>2])))return 233;if(pe=0|t[e>>2],Oe=0|t[a>>2],Ae=(0|(0|hr(pe,Ee,(0|(0|t[O>>2])+Oe)/2&-1,1))+Ee)/2&-1,ye=0|t[e>>2],(0|Ae)<(0|(0|t[(ye+12|0)>>2])-1)&&!(0|Ji(n)||(Re=0|t[e>>2],ge=0|t[a>>2],Fe=0|kr(Re,Ae,(0|(0|t[O>>2])+ge)/2&-1,1),Me=0|t[e>>2],(0|Fe)>(0|(De=0|t[Me>>2]))))){if((0|((1+(0|t[de>>2])|0)-(Te=0|t[(a+4|0)>>2])|0)<<1)>(0|(1+(0|t[(Me+12|0)>>2])|0)-(Ne=0|t[(Me+4|0)>>2]))&&(0|((1+(0|t[O>>2])|0)-(0|t[a>>2])|0)<<1)>(0|(1-De|0)+(0|t[(Me+8|0)>>2]))||(Ce=21),21==(0|Ce)&&(y=0|Xi(A=e+296|0,Te-Ne|0),R=0|t[de>>2],g=0|t[e>>2],(0|y)<(0|Xi(A,R-(0|t[(g+4|0)>>2])|0))))return 52;if(!(0|Zi(F=e+152|0)||0|qi(F)))return 81}}o=0|t[e>>2],s=(0|((1+(0|t[(o+8|0)>>2])|0)-(0|t[o>>2])|0)<<1)>(0|5*((1+(0|t[O>>2])|0)-(0|t[a>>2])|0));e:do{if(s&&!(0|qi(e+152|0))){switch(D=0|t[(M=a+4|0)>>2],N=(0|(0|t[(T=a+12|0)>>2])+D)/2&-1,(0|(I=0|t[(C=e+32|0)>>2]))==(0|t[(e+36|0)>>2])?(ha(e),H=0|t[C>>2]):H=I,P=0|t[e>>2],L=H+(12*(x=N-(0|t[(P+4|0)>>2])|0)|0)|0,B=((0|t[(4+(H+(12*x|0)|0)|0)>>2])-(0|t[L>>2])|0)>>3,U=0|la(e+200|0,-1),0|B){case 3:break;case 4:if(!(0|Aa(p,f,40,1)))break e;if(!(0|Zi(n)))break e;return 64;default:break e}if(z=0|t[M>>2],Y=0|t[e>>2],V=0|t[(Y+4|0)>>2],(0|z)<(0|(W=(0|(X=0|t[(Y+12|0)>>2])+V)/2&-1))&&(0|(j=0|t[T>>2]))>(0|W)&&3==(1|U)&(0|3*((1-z|0)+j|0))>=(0|(1-V|0)+X)&&!(0|Zi(n)))return 109;if((0|p)>(0|f)&&0|Zi(n)&&(K=0|t[a>>2],G=(0|(0|t[O>>2])+K)/2&-1,(0|(J=0|t[(q=e+44|0)>>2]))==(0|t[(e+48|0)>>2])?(wa(e),ee=0|t[q>>2]):ee=J,Z=0|t[e>>2],$=ee+(12*(Q=G-(0|t[Z>>2])|0)|0)|0,32==(0|(0|t[(4+(ee+(12*Q|0)|0)|0)>>2])-(0|t[$>>2]))))return 64}}while(0);if(1==(0|la(l,-1))&&0|aa(e+200|0)&&!(0|fa(e+152|0,66)))return 65;if(!(0|Aa(p,f,50,1))){if((0|p)>(0|f)&&0|Zi(e+152|0)&&1==(0|la(l,-1))&&1==(0|la(e+200|0,-1)))return 68;if(0|Aa(p,f,50,1)){if((0|la(e+200|0,-1))>1)return 97;if((0|la(e+152|0,-1))>1)return 97}return 0}return 1==(0|la(c=e+200|0,-1))&&0|qi(e+152|0)&&0|Mr(0|t[e>>2])?68:(0|la(c,-1))>1||(0|la(re=e+152|0,-1))>1||0|function(e){var r,i,a,f,n,o,s,l,u,c=0,b=0,k=0,d=0,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0,I=0,P=0,x=0,L=0,H=0,B=0,U=0,z=0,Y=0,V=0,X=0,W=0,j=0,K=0;s=(1+(0|t[(r=12+(e|=0)|0)>>2])|0)-(0|t[(o=e+4|0)>>2])|0,f=(0|(a=(0|(i=(1+(0|t[(l=e+8|0)>>2])|0)-(u=0|t[e>>2])|0))<(0|s)?i:s))/2&-1,n=(0|i)>3;e:do{if(n){if((0|a)>1)m=u,S=0,O=f,I=0,x=f,W=0;else for(c=(0|i)/4&-1,w=0;;){if(!((0|(E=w+1|0))<(0|c))){p=f,C=0,P=f,X=0;break e}w=E}for(;;){for(k=m,v=0,A=O,D=0,L=x,z=0;;){if(1==(0|Fr(e,(0|t[o>>2])+v|0,(b=v+S|0)+k|0))?(y=(0|A)>(0|v)?v:A,T=D+1|0):(y=A,T=D),1==(0|Fr(e,(0|t[r>>2])-v|0,(0|t[l>>2])-b|0))?(H=(0|L)>(0|v)?v:L,Y=z+1|0):(H=L,Y=z),!((0|(d=v+1|0))<(0|f))){R=y,N=T,B=H,V=Y;break}k=0|t[e>>2],v=d,A=y,D=T,L=H,z=Y}if(F=(0|I)<(0|N)?N:I,j=(0|W)<(0|V)?V:W,!((0|(_=S+1|0))<(0|(0|(1+(0|t[l>>2])|0)-(h=0|t[e>>2]))/4&-1))){g=R,M=F,U=B,K=j;break}m=h,S=_,O=R,I=F,x=B,W=j}p=g,C=M<<1,P=U,X=K}else p=f,C=0,P=f,X=0}while(0);return(0|p)>(0|P)|0==(0|P)?(0|C)<(0|X)?1:0|(0|C)==(0|X)&(0|X)>3:0}(0|t[e>>2])?(b=(1+(0|t[(a+12|0)>>2])|0)-(0|t[(a+4|0)>>2])|0,d=0|t[O>>2],_=0|t[a>>2],h=0|k(b<<2,(d+1|0)-_|0),E=0|t[e>>2],m=(1+(0|t[(E+12|0)>>2])|0)-(0|t[(E+4|0)>>2])|0,w=0|t[(E+8|0)>>2],S=0|t[E>>2],(0|h)<(0|k((w+1|0)-S|0,m))?0|Zi(l)?81:0|(0|Zi(n)?81:0):81):((0|t[(e+208|0)>>2])<0&&Hi(c),ie=e+236|0,ae=3*(0|Xi(c,(((0|t[(e+240|0)>>2])-(0|t[ie>>2])|0)>>2)-1|0))|0,fe=0|t[e>>2],!((0|ae)<(0|(1+(0|t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],t[T+4>>2]=0|t[he+4>>2],t[T+8>>2]=0|t[he+8>>2],t[T+12>>2]=0|t[he+12>>2],t[T+16>>2]=0|t[he+16>>2],Y=he+20|0,V=20+(0|t[_>>2])|0,t[_>>2]=V,Y>>>0<E>>>0;)T=V,he=Y;return Lf(0|E+(20*((0|U)/-20&-1)|0),0|u,0|U),we=u>>>0>i>>>0?i:(0|t[_>>2])>>>0>i>>>0?i+20|0:i,t[u>>2]=0|t[we>>2],t[u+4>>2]=0|t[we+4>>2],t[u+8>>2]=0|t[we+8>>2],t[u+12>>2]=0|t[we+12>>2],t[u+16>>2]=0|t[we+16>>2],0|u}(s=1+((0|n-f)/20&-1)|0)>>>0>214748364?(mf(),N=0|t[m>>2],C=m,x=P=0|t[e>>2],X=P,W=N):(C=m,x=a,X=f,W=o),(l=(0|W-X)/20&-1)>>>0<107374182?(Z=(0|(J=u)-X)/20&-1,0==(0|(G=(K=l<<1)>>>0<s>>>0?s:K))?(D=0,Q=0,$=Z,de=J):(M=G,L=Z,H=J,Se=15)):(M=214748364,L=(0|(j=u)-X)/20&-1,H=j,Se=15),15==(0|Se)&&(D=M,Q=0|gf(20*M|0),$=L,de=H),k=b=Q+(20*$|0)|0,d=Q+(20*D|0)|0,h=(0|$)==(0|D);do{if(h){if(ee=(0|20*$)/20&-1,(0|$)>0){be=re=b+(20*((0|ee+1)/-2&-1)|0)|0,ke=x,Ee=re,me=d;break}fe=(ae=0==(0|$)?1:ee<<1)>>>2,te=0==(0|ae);do{if(te)le=0;else{if(c=0,ne=0|I(29,0|20*ae),oe=c,c=0,!(1&oe)){le=ne;break}_e=0|q(),0==(0|Q)&&ie(0|_e),vf(Q),ie(0|_e)}}while(0);ue=se=le+(20*fe|0)|0,ce=le+(20*ae|0)|0,0==(0|Q)?(be=se,ke=x,Ee=ue,me=ce):(vf(Q),be=se,ke=0|t[e>>2],Ee=ue,me=ce)}else be=b,ke=x,Ee=k,me=d}while(0);return t[be>>2]=0|t[i>>2],t[be+4>>2]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,u=0,c=0,b=0,k=0,d=0,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0;o=(0|(e|=0))==(0|t[(8+(r|=0)|0)>>2]);do{if(o)(0|t[(r+4|0)>>2])==(0|i)&&(1==(0|t[(v=r+28|0)>>2])||(t[v>>2]=f));else{if((0|e)!=(0|t[r>>2])){m=0|t[(e+8|0)>>2],w=0|t[m>>2],S=0|t[(w+24|0)>>2],tt[255&S](m,r,i,f,n);break}if((0|t[(r+16|0)>>2])!=(0|i)&&(0|t[(s=r+20|0)>>2])!=(0|i)){if(t[(r+32|0)>>2]=f,4==(0|t[(l=r+44|0)>>2]))break;a[(u=r+52|0)>>0]=0,a[(c=r+53|0)>>0]=0,b=0|t[(e+8|0)>>2],k=0|t[b>>2],d=0|t[(k+20|0)>>2],kt[127&d](b,r,i,i,1,n),(0|a[c>>0])<<24>>24==0?(p=0,O=13):(0|a[u>>0])<<24>>24==0?(p=1,O=13):O=17;do{if(13==(0|O)){if(t[s>>2]=i,h=1+(0|t[(_=r+40|0)>>2])|0,t[_>>2]=h,1==(0|t[(r+36|0)>>2])&&2==(0|t[(r+24|0)>>2])){if(a[(r+54|0)>>0]=1,p){O=17;break}E=4;break}p?O=17:E=4}}while(0);17==(0|O)&&(E=3),t[l>>2]=E;break}1==(0|f)&&(t[(r+32|0)>>2]=1)}}while(0)},jf,jf,jf,jf,jf,jf,jf,jf,jf,jf,jf,jf,jf,jf,jf,function(e,r,i,n,l){e|=0,r|=0,i|=0,n|=0,l|=0;var u,k,d,h,E,m,w,S,v,p,O,A,y,R,g,F,D,T,P,x,L,H=0,B=0,U=0,Y=0,V=0,X=0,W=0,j=0,K=0,G=0,Z=0,Q=0,$=0,ee=0,re=0,ae=0,fe=0,te=0,ne=0,oe=0,se=0,le=0,ue=0,ce=0,be=0,ke=0,de=0,_e=0,he=0,Ee=0,me=0,we=0,Se=0,pe=0,Oe=0,Ae=0,ye=0,Re=0,ge=0,Fe=0,Me=0,De=0,Te=0,Ne=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(1+(0|t[(12+(ma+(40*ba|0)|0)|0)>>2])|0)-(0|t[(4+(ma+(40*ba|0)|0)|0)>>2])|0,t[F>>2]=Hi,t[(F+4|0)>>2]=Bi,nf(Nr,1992,F),Ui=28+((ka=0|t[x>>2])+(40*ba|0)|0)|0,zi=((0|t[(32+(ka+(40*ba|0)|0)|0)>>2])-(0|t[Ui>>2])|0)>>2,t[D>>2]=zi,nf(Nr,2013,D),(0|t[(Yi=32+(ma+(40*ba|0)|0)|0)>>2])!=(0|(Vi=0|t[xi>>2])))for(U=Vi,qi=0;;){if(Xi=0|t[(U+(qi<<2)|0)>>2],c=0,C(56,0|Xi,0|Nr),Wi=c,c=0,1&Wi){Sa=5;break i}if(!((ji=qi+1|0)>>>0<((0|t[Yi>>2])-(Ki=0|t[xi>>2])|0)>>2>>>0))break;U=Ki,qi=ji}if(!(Pi>>>0<(Ii=(0|(0|t[O>>2])-(Ci=0|t[x>>2]))/40&-1)>>>0)){j=Ci,Sa=100;break}Li=Ii,ba=Pi,wa=Ci}if(5==(0|Sa)){aa=0|q(),b,Sa=9;break e}if(100==(0|Sa)){qr=j;break}}}else if((0|p)>95|(p+-90|0)>>>0<4)Sa=99;else{fe=(0|t[O>>2])==(0|(ae=0|t[x>>2])),te=ae;i:do{if(!fe){ne=(0|p)<90,oe=e+36|0;do{if(ne){Zi=0,_a=te;a:for(;;){if(c=0,se=0|I(29,28),le=c,c=0,1&le){Sa=36;break}if(c=0,z(57,0|se,0|r,0|_a+(40*Zi|0),0|28+(_a+(40*Zi|0)|0)),ue=c,c=0,1&ue){K=se,Sa=35;break}if(t[A>>2]=se,ce=se+16|0,be=se,(0|t[(se+20|0)>>2])!=(0|t[ce>>2])&&(c=0,C(58,0|se,0|n),ke=c,c=0,1&ke)){Sa=36;break}de=se+16|0,_e=(0|t[(se+20|0)>>2])==(0|t[de>>2]);do{if(!_e){if((0|(he=0|t[E>>2]))==(0|t[oe>>2])){if(c=0,C(59,0|h,0|A),me=c,c=0,1&me){Sa=36;break a}break}t[he>>2]=be,Ee=4+(0|t[E>>2])|0,t[E>>2]=Ee;break}if(c=0,N(60,0|se),we=c,c=0,1&we){G=se,Sa=37;break a}vf(se)}while(0);if(Se=Zi+1|0,pe=0|t[O>>2],ye=Oe=0|t[x>>2],!(Se>>>0<((0|pe-Oe)/40&-1)>>>0))break i;Zi=Se,_a=ye}if(35==(0|Sa)){X=0|q(),b,$=K,Sa=43;break}if(36==(0|Sa)){aa=0|q(),b,Sa=9;break e}if(37==(0|Sa)){W=0|q(),b,ee=G,Sa=50;break}}else{Ji=0,da=te;a:for(;;){if(c=0,Re=0|I(29,28),ge=c,c=0,1&ge){Sa=7;break}if(c=0,z(57,0|Re,0|r,0|da+(40*Ji|0),0|28+(da+(40*Ji|0)|0)),Fe=c,c=0,1&Fe){Z=Re,Sa=42;break}t[A>>2]=Re,Me=Re+16|0,De=(0|t[(Re+20|0)>>2])==(0|t[Me>>2]),Te=Re;do{if(!De){if((0|(Ne=0|t[E>>2]))==(0|t[oe>>2])){if(c=0,C(59,0|h,0|A),Ie=c,c=0,1&Ie){Sa=7;break a}break}t[Ne>>2]=Te,Ce=4+(0|t[E>>2])|0,t[E>>2]=Ce;break}if(c=0,N(60,0|Re),Pe=c,c=0,1&Pe){Q=Re,Sa=49;break a}vf(Re)}while(0);if(xe=Ji+1|0,Le=0|t[O>>2],Ue=He=0|t[x>>2],!(xe>>>0<((0|Le-He)/40&-1)>>>0))break i;Ji=xe,da=Ue}if(7==(0|Sa)){aa=0|q(),b,Sa=9;break e}if(42==(0|Sa)){X=0|q(),b,$=Z,Sa=43;break}if(49==(0|Sa)){W=0|q(),b,ee=Q,Sa=50;break}}}while(0);if(43==(0|Sa)){vf($),H=X;break e}if(50==(0|Sa)){vf(ee),H=W;break e}}}while(0);if(0==(0|p))Sa=99;else if(0==(0|t[(ze=n+16|0)>>2]))Sa=99;else{if((0|p)>85){if(Ye=(0|p)>87,Ve=0!=(0|1&p),!((0|(0|t[E>>2])-(Xe=0|t[h>>2]))>0)){Sa=99;break}for(V=Xe,Qi=0;We=0|t[(V+(Qi<<2)|0)>>2],c=0,z(61,0|We,0|n,0|Ye,0|Ve),je=c,c=0,!(1&je);){if(!((0|(Ke=Qi+1|0))<(0|((0|t[E>>2])-(Ge=0|t[h>>2])|0)>>2))){Sa=99;break r}V=Ge,Qi=Ke}aa=0|q(),b,Sa=9;break e}if((re=p+-70|0)>>>0<8){if(t[y>>2]=0|t[r>>2],t[y+4>>2]=0|t[r+4>>2],t[y+8>>2]=0|t[r+8>>2],t[y+12>>2]=0|t[r+12>>2],c=0,C(62,0|y+16,0|r+16),qe=c,c=0,1&qe){Sa=8;break e}Je=y+28|0,Ze=0|f[(r+28|0)>>1],f[Je>>1]=Ze,Qe=0==(0|1&re);i:do{if(Qe)Sa=80;else{if($e=0|t[O>>2],rr=er=0|t[x>>2],(0|$e)!=(0|er)){if(71==(0|p)){for(ea=0,Ea=rr;c=0,C(63,0|y,0|Ea+(40*ea|0)),ir=c,c=0,!(1&ir);){if(ar=ea+1|0,fr=0|t[O>>2],nr=tr=0|t[x>>2],!(ar>>>0<((0|fr-tr)/40&-1)>>>0)){Sa=80;break i}ea=ar,Ea=nr}fa=0|q(),b;break}for($i=0,ha=rr;c=0,C(64,0|y,0|ha+(40*$i|0)),or=c,c=0,!(1&or);){if(mr=$i+1|0,wr=0|t[O>>2],vr=Sr=0|t[x>>2],!(mr>>>0<((0|wr-Sr)/40&-1)>>>0)){Sa=80;break i}$i=mr,ha=vr}fa=0|q(),b;break}Sa=80}}while(0);i:do{if(80==(0|Sa)){pr=0==(0|2&re);a:do{if(!pr&&(0|(0|t[E>>2])-(Or=0|t[h>>2]))>0){for(Y=Or,ra=0;yr=0|t[(Y+(ra<<2)|0)>>2],c=0,C(65,0|yr,0|y),Rr=c,c=0,!(1&Rr);){if(!((0|(gr=ra+1|0))<(0|((0|t[E>>2])-(Fr=0|t[h>>2])|0)>>2)))break a;Y=Fr,ra=gr}fa=0|q(),b;break i}}while(0);Mr=0==(0|4&re);a:do{if(!Mr&&(0|(0|t[E>>2])-(Dr=0|t[h>>2]))>0){for(B=Dr,ia=0;Tr=0|t[(B+(ia<<2)|0)>>2],c=0,C(66,0|Tr,0|y),Cr=c,c=0,!(1&Cr);){if(!((0|(Ir=ia+1|0))<(0|((0|t[E>>2])-(Pr=0|t[h>>2])|0)>>2)))break a;B=Pr,ia=Ir}fa=0|q(),b;break i}}while(0);if(xr=0|t[ze>>2],Lr=0|a[(n+28|0)>>0],c=0,M(67,0|y,0|xr,0|Lr),Hr=c,c=0,1&Hr){fa=0|q(),b;break}if(0!=(0|(Ur=0|t[(Br=y+16|0)>>2]))){if((0|(Yr=0|t[(zr=y+20|0)>>2]))==(0|Ur))Gr=Ur;else{for(Xr=Yr;Vr=Xr+-12|0,t[zr>>2]=Vr,0==(0|(Wr=0|t[Vr>>2]))?jr=Vr:((0|t[(Kr=Xr+-8|0)>>2])==(0|Wr)||(t[Kr>>2]=Wr),vf(Wr),jr=0|t[zr>>2]),(0|jr)!=(0|Ur);)Xr=jr;Gr=0|t[Br>>2]}vf(Gr)}Sa=99;break r}}while(0);if(0==(0|(lr=0|t[(sr=y+16|0)>>2]))){H=fa;break e}if((0|(cr=0|t[(ur=y+20|0)>>2]))==(0|lr))Er=lr;else{for(kr=cr;br=kr+-12|0,t[ur>>2]=br,0==(0|(dr=0|t[br>>2]))?_r=br:((0|t[(hr=kr+-8|0)>>2])==(0|dr)||(t[hr>>2]=dr),vf(dr),_r=0|t[ur>>2]),(0|_r)!=(0|lr);)kr=_r;Er=0|t[sr>>2]}vf(Er),H=fa;break e}Sa=99}}}while(0);if(99==(0|Sa)&&(qr=0|t[x>>2]),0!=(0|qr)){if((0|(Jr=0|t[O>>2]))==(0|qr))ui=qr;else{for(Qr=Jr;Zr=Qr+-40|0,t[O>>2]=Zr,ei=$r=0|t[(Qr+-12|0)>>2],0==(0|$r)||((0|(ii=0|t[(ri=Qr+-8|0)>>2]))==(0|$r)||(la=ii+((-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0,t[i>>2]=O),vf(S),_f(e+16|0))},_f,function(e){var r,i,a,f,n,o,s,l,u=0,b=0,k=0,d=0,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0;r=4+(e|=0)|0,s=0==(0|(o=((0|t[(i=e+8|0)>>2])-(n=0|t[r>>2])|0)>>3)),l=n;e:do{if(s)p=l;else{for(d=l,O=o;;){if(0!=(0|(_=0|t[(d+((k=O+-1|0)<<3)|0)>>2]))){if(c=0,N(184,0|_),E=c,c=0,1&E){u=_;break}vf(_)}if(h=0==(0|k),b=0|t[r>>2],h){p=b;break e}d=b,O=k}m=0|q(),vf(u),S=w=0|t[r>>2],0==(0|w)&&ie(0|m),(0|(v=0|t[i>>2]))==(0|w)||(A=v+((-1^((v+-8|0)-S|0)>>>3)<<3)|0,t[i>>2]=A),vf(w),ie(0|m)}}while(0);a=p,0==(0|p)||((0|(f=0|t[i>>2]))==(0|p)||(y=f+((-1^((f+-8|0)-a|0)>>>3)<<3)|0,t[i>>2]=y),vf(p))},Gf,Gf,Gf,Gf,Gf,Gf,Gf,Gf,Gf,Gf,Gf,Gf,Gf,Gf,Gf,Gf,Gf,mf,Oa,Gf,Gf,Gf,Gf,Gf,Gf,Gf,Gf,Gf,Gf,Gf,Gf,function(e){var r,i,a,f,n,o,s,l,u=0,b=0,k=0,d=0,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0;r=16+(e|=0)|0,s=(0|(o=(0|t[(i=e+20|0)>>2])-(n=0|t[r>>2])|0))>0,l=n;do{if(s){for(b=l,v=o>>2;;){if(0!=(0|(k=0|t[(b+((S=v+-1|0)<<2)|0)>>2]))){if(c=0,N(111,0|k),d=c,c=0,1&d){u=k;break}vf(k)}if(!((0|v)>1)){A=3;break}b=0|t[r>>2],v=S}if(3==(0|A)){w=0|t[(e+16|0)>>2];break}_=0|q(),vf(u),E=h=0|t[r>>2],0==(0|h)&&ie(0|_),(0|(m=0|t[i>>2]))==(0|h)||(p=m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=j,u=G,_e=de;break}if(0|Ve(a,f)){n=f,s=V,l=j,u=G,_e=de;break}if((0|t[(f+4|0)>>2])>(0|t[(a+12|0)>>2])&&(J=0|t[f>>2],Z=(0|(0|t[(f+8|0)>>2])+J)/2&-1,Q=0|t[a>>2],(0|Z)<(0|(0|(0|t[(a+8|0)>>2])+Q)/2&-1))){n=f,s=V,l=j,u=G,_e=de;break}if(ee=f+16|0,8==(0|(0|t[(f+20|0)>>2])-(0|t[ee>>2]))&&(ie=0|$r(f,0),ae=(1+(0|t[(ie+12|0)>>2])|0)-(0|t[(ie+4|0)>>2])|0,fe=0|t[(ie+8|0)>>2],ne=0|t[ie>>2],oe=0|k(ae<<1,(fe+1|0)-ne|0),se=0|$r(f,1),le=(1+(0|t[(se+12|0)>>2])|0)-(0|t[(se+4|0)>>2])|0,ue=0|t[(se+8|0)>>2],ce=0|t[se>>2],(0|oe)<(0|k((ue+1|0)-ce|0,le))&&0|Xe(0|$r(f,0),a))){n=f,s=V,l=j,u=G,_e=de;break}}if(!((0|(N=de+1|0))<(0|((C=0|t[te>>2])-(I=0|t[re>>2])|0)>>2))){g=I,T=C;break r}de=N}c=(1+(0|t[Y>>2])|0)-(0|t[z>>2])|0,b=0|t[(H+8|0)>>2],d=0|t[H>>2],_=0|k(c<<6,(b+1|0)-d|0),h=0|ei(s),E=(1+(0|t[(h+12|0)>>2])|0)-(0|t[(h+4|0)>>2])|0,w=0|t[(h+8|0)>>2],S=0|t[h>>2],v=(0|_)<(0|k((w+1|0)-S|0,E));do{if(v)he=ke;else{if(p=(1+(0|t[u>>2])|0)-(0|t[l>>2])|0,O=0|t[(s+8|0)>>2],A=0|t[s>>2],y=0|k(p<<6,(O+1|0)-A|0),R=0|ei(H),F=(1+(0|t[(R+12|0)>>2])|0)-(0|t[(R+4|0)>>2])|0,M=0|t[(R+8|0)>>2],D=0|t[R>>2],!((0|y)<(0|k((M+1|0)-D|0,F)))){if((0|n)==(0|s)){ni(s,H),he=ke;break}ni(H,s),he=_e;break}he=_e}}while(0);if(mi($,he),!((0|ke)<(0|(((0|t[te>>2])-(0|t[re>>2])|0)>>2)-1)))break e}if(!((0|P)<(0|((T-g|0)>>2)-1)))break;ke=P}}while(0);if(!((x=be+1|0)>>>0<((0|t[r>>2])-(L=0|t[e>>2])|0)>>2>>>0))break;o=L,be=x}},function(e){var r,i,a,f,n,o,s,l,u,b,k,d=0,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,C=0,I=0,P=0,x=0,L=0,H=0,B=0,U=0,z=0,Y=0;i=16+(e|=0)|0,s=(0|(f=0|t[(a=e+20|0)>>2]))==(0|(n=0|t[i>>2])),r=n,k=f;e:do{if(s)_=r,L=k;else{for(m=r,C=k,I=n,P=f,H=0;;){if(0==(0|(w=0|t[(m+(H<<2)|0)>>2])))p=I,O=P,x=C;else{if(c=0,N(176,0|w),S=c,c=0,1&S){h=w;break}vf(w),E=0|t[a>>2],p=0|t[i>>2],O=E,x=E}if(d=p,!((v=H+1|0)>>>0<(O-p|0)>>2>>>0)){_=d,L=x;break e}m=d,C=x,I=p,P=O,H=v}A=0|q(),vf(h),R=y=0|t[i>>2],0==(0|y)||((0|(g=0|t[a>>2]))==(0|y)||(Y=g+((-1^((g+-4|0)-R|0)>>>2)<<2)|0,t[a>>2]=Y),vf(y)),M=F=0|t[e>>2],0==(0|F)&&ie(0|A),(0|(T=0|t[(D=e+4|0)>>2]))==(0|F)||(U=T+(20*(-1^(((T+-20|0)-M|0)>>>0)/20&-1)|0)|0,t[D>>2]=U),vf(F),ie(0|A)}}while(0);0==(0|_)||((0|L)==(0|_)||(B=L+((-1^((L+-4|0)-_|0)>>>2)<<2)|0,t[a>>2]=B),vf(_)),l=o=0|t[e>>2],0==(0|o)||((0|(b=0|t[(u=e+4|0)>>2]))==(0|o)||(z=b+(20*(-1^(((b+-20|0)-l|0)>>>0)/20&-1)|0)|0,t[u>>2]=z),vf(o))},function(e){e|=0;var r,i,a,f,n,l,u,b,k,d,h,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,I=0,P=0,x=0,L=0,H=0;h=o,(0|(o=o+16|0))>=(0|s)&&_(),t[(d=h)>>2]=0,t[(r=d+4|0)>>2]=0,t[(d+8|0)>>2]=0,u=e+16|0,i=(a=0|t[(e+12|0)>>2])>>>0<((0|t[(b=e+20|0)>>2])-(k=0|t[u>>2])|0)>>2>>>0;e:do{if(i){m=d+8|0,E=k,I=a;r:for(;S=0|t[(E+(I<<2)|0)>>2],c=0,v=0|B(178,0|S,32),p=c,c=0,!(1&p);){do{if(!v){if(O=0|t[u>>2],A=0|t[(O+(I<<2)|0)>>2],(0|(y=0|t[r>>2]))==(0|t[m>>2])){if(c=0,C(179,0|d,0|A),g=c,c=0,1&g)break r;break}t[y>>2]=0|t[A>>2],t[y+4>>2]=0|t[A+4>>2],t[y+8>>2]=0|t[A+8>>2],t[y+12>>2]=0|t[A+12>>2],R=y+16|0,t[r>>2]=R;break}}while(0);if(!((F=I+1|0)>>>0<((0|t[b>>2])-(M=0|t[u>>2])|0)>>2>>>0)){H=3;break e}E=M,I=F}P=0|q()}else H=3}while(0);do{if(3==(0|H)){if(c=0,C(177,0|e,0|d),w=c,c=0,1&w){P=0|q();break}return T=D=0|t[d>>2],0==(0|D)?void(o=h):((0|(N=0|t[r>>2]))==(0|D)||(x=N+((-1^((N+-16|0)-T|0)>>>4)<<4)|0,t[r>>2]=x),vf(D),void(o=h))}}while(0);n=f=0|t[d>>2],0==(0|f)&&ie(0|P),(0|(l=0|t[r>>2]))==(0|f)||(L=l+((-1^((l+-16|0)-n|0)>>>4)<<4)|0,t[r>>2]=L),vf(f),ie(0|P)},Gf,Gf,Gf,Gf,Gf,Gf,function(e){var r,i,a,f,n,o=0,s=0,l=0,u=0,c=0,b=0,k=0,d=0,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0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8|0)>>2])-(g=0|t[J>>2])|0,(0|R)!=(0|g)){if((0|F)<0&&(c=0,N(46,0|K),M=c,c=0,1&M)){S=K,v=Z;break}if(c=0,D=0|I(29,0|F),T=c,c=0,1&T){S=K,v=Z;break}if(t[Z>>2]=D,t[K>>2]=D,C=D+F|0,t[(G+-4|0)>>2]=C,(0|(P=0|t[J>>2]))!=(0|(x=0|t[y>>2])))for(m=P,H=D;L=0|a[m>>0],a[H>>0]=L,B=1+(0|t[Z>>2])|0,t[Z>>2]=B,(0|(U=m+1|0))!=(0|x);)m=U,H=B}if(V=(0|t[o>>2])-12|0,t[o>>2]=V,(0|J)==(0|i)){p=V,Q=16;break}w=J,G=V}if(16==(0|Q)){O=o,A=e,X=p,W=0|t[e>>2];break}z=0|q(),0==(0|(Y=0|t[S>>2]))&&ie(0|z),(0|t[v>>2])==(0|Y)||(t[v>>2]=Y),vf(Y),ie(0|z)}}while(0);t[A>>2]=X,t[O>>2]=W,l=r+8|0,u=0|t[f>>2],b=0|t[l>>2],t[f>>2]=b,t[l>>2]=u,d=r+12|0,_=0|t[(k=e+8|0)>>2],h=0|t[d>>2],t[k>>2]=h,t[d>>2]=_,E=0|t[O>>2],t[r>>2]=E},qf,qf,function(e,r){r|=0;var i,a,f,n,o,s,l,u,c,b,k,d,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0;(b=1+(((0|t[(i=4+(e|=0)|0)>>2])-(a=0|t[e>>2])|0)>>2)|0)>>>0>1073741823?(mf(),E=0|t[e>>2]):E=a,(d=(0|t[(k=e+8|0)>>2])-E|0)>>2>>>0<536870911?(S=(w=d>>1)>>>0<b>>>0?b:w,p=((v=0|t[i>>2])-E|0)>>2,0==(0|S)?(h=0,O=0,A=p,y=v):(_=S,R=v,g=p,F=6)):(_=1073741823,R=m=0|t[i>>2],g=(m-E|0)>>2,F=6),6==(0|F)&&(h=_,O=0|gf(_<<2),A=g,y=R),f=O+(A<<2)|0,n=O+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,t[(n=d+4|0)>>2]=a,u=E+(12*r|0)|0,t[(d+12|0)>>2]=u,c=0,C(45,0|e,0|d),b=c,c=0,!(1&b)){if(m=0|t[n>>2],(0|(w=0|t[f>>2]))!=(0|m)){for(v=w;0==(0|(p=0|t[(S=v+-12|0)>>2]))||((0|t[(O=v+-8|0)>>2])==(0|p)||(t[O>>2]=p),vf(p)),(0|S)!=(0|m);)v=S;t[f>>2]=m}return 0==(0|(A=0|t[d>>2]))||vf(A),void(o=h)}if(y=0|q(),R=0|t[n>>2],(0|(g=0|t[f>>2]))!=(0|R)){for(M=g;0==(0|(D=0|t[(F=M+-12|0)>>2]))||((0|t[(T=M+-8|0)>>2])==(0|D)||(t[T>>2]=D),vf(D)),(0|F)!=(0|R);)M=F;t[f>>2]=R}0==(0|(N=0|t[d>>2]))&&ie(0|y),vf(N),ie(0|y)}else o=h},function(e,r){e|=0,r|=0;var i,f,n,l,u,k,d,h,E,m,w,S,v,p,O,A,y,R,g,F=0,M=0,D=0,T=0,P=0,x=0,L=0,H=0,B=0,U=0,z=0,Y=0,V=0,X=0,W=0,j=0,K=0,G=0,J=0,Z=0,Q=0,$=0,ee=0,re=0,ae=0,fe=0,te=0,ne=0,oe=0,se=0,le=0,ue=0,ce=0,be=0,ke=0;g=o,(0|(o=o+32|0))>=(0|s)&&_(),R=g,i=e+8|0,(A=1+((0|(0|t[(f=e+4|0)>>2])-(E=0|t[e>>2]))/12&-1)|0)>>>0>357913941?(mf(),P=0|t[e>>2]):P=E,F=(n=(0|(0|t[(e+8|0)>>2])-P)/12&-1)>>>0<178956970?(x=n<<1)>>>0<A>>>0?A:x:357913941,l=(0|(0|t[f>>2])-P)/12&-1,t[(R+12|0)>>2]=0,t[(R+16|0)>>2]=i,L=0==(0|F)?0:0|gf(12*F|0),t[R>>2]=L,u=L+(12*l|0)|0,t[(k=R+8|0)>>2]=u,t[(d=R+4|0)>>2]=u,h=L+(12*F|0)|0,t[(R+12|0)>>2]=h,t[u>>2]=0,t[(m=4+(L+(12*l|0)|0)|0)>>2]=0,t[(8+(L+(12*l|0)|0)|0)>>2]=0,p=(S=0|t[(w=r+4|0)>>2])-(v=0|t[r>>2])|0,O=(0|S)==(0|v);e:do{if(O)ke=17;else{if((0|p)<0?(c=0,N(46,0|u),H=c,c=0,1&H||(ke=10)):ke=10,10==(0|ke)&&(c=0,B=0|I(29,0|p),U=c,c=0,!(1&U))){if(t[m>>2]=B,t[u>>2]=B,z=B+p|0,t[(8+(L+(12*l|0)|0)|0)>>2]=z,(0|(Y=0|t[r>>2]))==(0|(V=0|t[w>>2]))){ke=17;break}for(M=Y,W=B;;){if(X=0|a[M>>0],a[W>>0]=X,j=1+(0|t[m>>2])|0,t[m>>2]=j,(0|(K=M+1|0))==(0|V)){ke=17;break e}M=K,W=j}}G=0|q(),b,0==(0|(J=0|t[u>>2]))?be=G:((0|t[m>>2])==(0|J)||(t[m>>2]=J),vf(J),be=G)}}while(0);do{if(17==(0|ke)){if(Z=u+12|0,t[k>>2]=Z,c=0,C(45,0|e,0|R),Q=c,c=0,1&Q){if(oe=0|q(),b,D=0|t[d>>2],(0|(T=0|t[k>>2]))==(0|D)){be=oe;break}for(le=T;0==(0|(ue=0|t[(se=le+-12|0)>>2]))||((0|t[(ce=le+-8|0)>>2])==(0|ue)||(t[ce>>2]=ue),vf(ue)),(0|se)!=(0|D);)le=se;t[k>>2]=D,be=oe;break}if($=0|t[d>>2],(0|(ee=0|t[k>>2]))!=(0|$)){for(ae=ee;0==(0|(fe=0|t[(re=ae+-12|0)>>2]))||((0|t[(te=ae+-8|0)>>2])==(0|fe)||(t[te>>2]=fe),vf(fe)),(0|re)!=(0|$);)ae=re;t[k>>2]=$}return 0==(0|(ne=0|t[R>>2]))?void(o=g):(vf(ne),void(o=g))}}while(0);0==(0|(y=0|t[R>>2]))&&ie(0|be),vf(y),ie(0|be)},qf,qf,function(e,r){r|=0;var i,f,n,o,s,l=0,u=0,c=0,b=0,k=0,d=0,_=0,h=0,E=0,m=0,w=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de=Z,_e=J;break}x=Q,kr=q}else ke=P,de=I,_e=C;ae=ke,fe=ke,te=ke,ne=de,se=_e}}else if((0|he-oe)>0)if(Mi(0|t[Ee>>2],0|t[(B+(lr<<3)|0)>>2]),me=0|t[a>>2],Se=we=0|t[i>>2],(0|me-we)>4)for(ve=Se,pe=1;;){if(S=0|t[d>>2],Mi(0|t[(ve+(pe<<2)|0)>>2],0|t[(S+(lr<<3)|0)>>2]),Oe=pe+1|0,Ae=0|t[a>>2],Re=ye=0|t[i>>2],!((0|Oe)<(0|(Ae-ye|0)>>2))){ae=Re,fe=Re,te=Re,ne=ye,se=Ae;break}ve=Re,pe=Oe}else ae=Se,fe=Se,te=Se,ne=we,se=me;else ae=re,fe=ie,te=Ee,ne=oe,se=he}while(0);if(!(($=lr+1|0)>>>0<((0|t[h>>2])-(ee=0|t[d>>2])|0)>>3>>>0))break;w=ee,re=ae,ie=fe,oe=ne,he=se,Ee=te,lr=$}o=m}}(e,r),l=(0|(n=(E=0|t[b>>2])-(A=0|t[u>>2])|0))>0;do{if(l){for(De=A,tr=n>>2;;){Ce=16+(Te=0|t[(De+((fr=tr+-1|0)<<2)|0)>>2])|0,Pe=(0|(0|t[(Ie=Te+20|0)>>2])-(0|t[Ce>>2]))>0;e:do{if(Pe){for(ur=0;;){if(He=28+(Le=0|_i(Te,ur))|0,xe=ur+1|0,(0|t[(Le+32|0)>>2])!=(0|t[He>>2]))break e;if(!((0|xe)<(0|((0|t[Ie>>2])-(0|t[Ce>>2])|0)>>2)))break;ur=xe}Be=0|t[u>>2],Er=12}else Be=De,Er=12}while(0);if(12==(0|Er)){if(Er=0,0==(0|(Ue=0|t[(Be+(fr<<2)|0)>>2])))Xe=Be;else{if(c=0,N(111,0|Ue),Ye=c,c=0,1&Ye){C=Ue,Er=19;break}vf(Ue),Xe=0|t[u>>2]}We=4+(Ve=Xe+(fr<<2)|0)|0,Ke=(je=(0|t[b>>2])-We|0)>>2,Lf(0|Ve,0|We,0|je),Ge=Ve+(Ke<<2)|0,(0|(qe=0|t[b>>2]))==(0|Ge)||(kr=qe+((-1^((qe+-4|0)-Ge|0)>>>2)<<2)|0,t[b>>2]=kr)}if(!((0|tr)>1)){Er=6;break}De=0|t[u>>2],tr=fr}if(6==(0|Er)){R=0|t[b>>2],Me=0|t[u>>2];break}19==(0|Er)&&(Je=0|q(),vf(C),ie(0|Je))}else R=E,Me=A}while(0);if((0|R-Me)>8){d=0|vi(0|t[(R+-4|0)>>2]),h=0|t[u>>2],v=(0|d-(0|vi(0|t[h>>2])))/(0|((S=(m=0|t[b>>2])-(w=0|t[u>>2])|0)>>2)-1)&-1,p=(0|S)>4,O=w;e:do{if(p)for(Ae=O,ye=1,nr=0,br=v;;){for($e=Ae,rr=ye,or=nr;;){if(x=16+(er=0|t[($e+(or<<2)|0)>>2])|0,H=16+(ir=0|t[($e+(rr<<2)|0)>>2])|0,0|Aa(((0|t[(L=er+20|0)>>2])-(0|t[x>>2])|0)>>2,((0|t[(B=ir+20|0)>>2])-(0|t[H>>2])|0)>>2,50,1)&&((0|(U=0|t[(er+16|0)>>2]))==(0|(z=0|t[L>>2]))?Z=0:(Y=0|t[(z+-4|0)>>2],V=0|t[(Y+8|0)>>2],X=0|t[U>>2],Z=V-(0|t[X>>2])|0),(0|(W=0|t[(ir+16|0)>>2]))==(0|(j=0|t[B>>2]))?Q=0:(K=0|t[(j+-4|0)>>2],G=0|t[(K+8|0)>>2],J=0|t[W>>2],Q=G-(0|t[J>>2])|0),0|Aa(Z,Q,30,1)&&(0|($=(0|vi(ir))-(0|vi(er))|0))<(0|br)&&!((0|(te=0|di(er)))<10|(0|(ne=0|di(ir)))<10)&&0|Aa(te,ne,20,1))){M=$,D=te,T=ne,I=rr;break}if(ee=rr+1|0,re=0|t[b>>2],fe=ae=0|t[u>>2],!((0|ee)<(0|(re-ae|0)>>2))){Re=fe,Ze=ae,Qe=re,cr=br;break e}sr=rr,$e=fe,rr=ee,or=sr}if(P=(0|M<<1)>(0|T+D)?M:br,oe=I+1|0,se=0|t[b>>2],ue=le=0|t[u>>2],!((0|oe)<(0|(se-le|0)>>2))){Re=ue,Ze=le,Qe=se,cr=P;break}Ae=ue,ye=oe,nr=I,br=P}else Re=O,Ze=w,Qe=m,cr=v}while(0);if((0|cr)>0&(0|Qe-Ze)>4){for(he=Re,me=1,lr=0;;){if(Ee=0|t[(he+(lr<<2)|0)>>2],we=lr+1|0,(0|(_r=((0|vi(0|t[(he+(me<<2)|0)>>2]))-(0|vi(Ee))|0)-cr|0)<<1)>(0|cr))for(Se=we,hr=_r;;){if(ve=(0|t[u>>2])+(Se<<2)|0,t[a>>2]=ve,pe=0|gf(28),t[pe>>2]=0,t[pe+4>>2]=0,t[pe+8>>2]=0,t[pe+12>>2]=0,t[pe+16>>2]=0,t[pe+20>>2]=0,t[pe+24>>2]=0,t[f>>2]=pe,t[i>>2]=0|t[a>>2],Tr(u,i,f),Oe=Se+1|0,!((0|(dr=hr-cr|0)<<1)>(0|cr))){F=Oe;break}Se=Oe,hr=dr}else F=we;if(ce=F+1|0,be=0|t[b>>2],_e=ke=0|t[u>>2],!((0|ce)<(0|(be-ke|0)>>2)))break;he=_e,me=ce,lr=F}o=y}else o=y}else o=y},function(e,r){r|=0;var i,a,f,n,o,s,l,u,c,b,k,d,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0;(b=1+(((0|t[(i=4+(e|=0)|0)>>2])-(a=0|t[e>>2])|0)>>2)|0)>>>0>1073741823?(mf(),E=0|t[e>>2]):E=a,(d=(0|t[(k=e+8|0)>>2])-E|0)>>2>>>0<536870911?(S=(w=d>>1)>>>0<b>>>0?b:w,p=((v=0|t[i>>2])-E|0)>>2,0==(0|S)?(h=0,O=0,A=p,y=v):(_=S,R=v,g=p,F=6)):(_=1073741823,R=m=0|t[i>>2],g=(m-E|0)>>2,F=6),6==(0|F)&&(h=_,O=0|gf(_<<2),A=g,y=R),f=O+(A<<2)|0,n=O+(h<<2)|0,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ee=me+1|0),he=(0|(W=0|ba(r,Ee)))<0?we:W,((de=(0|X)<0?_e:X)|_e|0)>-1&&!((0|(G=(0|(j=0|t[e>>2]))<(0|(K=(0|de)<(0|_e)?de:_e))?K:j))>(0|(Z=(0|(J=(0|_e)<(0|de)?de:_e))<(0|(q=0|t[c>>2]))?J:q)))&&(Q=Ee-(0|t[i>>2])|0,$=0|t[b>>2],ee=G-j|0,re=0|t[($+(12*Q|0)|0)>>2],a[(re+ee|0)>>0]=0,(0|G)<(0|Z)))for(be=G;ie=be+1|0,h=0|t[e>>2],ae=Ee-(0|t[i>>2])|0,fe=0|t[b>>2],te=ie-h|0,ne=0|t[(fe+(12*ae|0)|0)>>2],a[(ne+te|0)>>0]=0,(0|ie)<(0|Z);)be=ie;if((he|we|0)>-1&&!((0|(le=(0|(oe=0|t[e>>2]))<(0|(se=(0|he)<(0|we)?he:we))?se:oe))>(0|(S=(0|(w=(0|we)<(0|he)?he:we))<(0|(m=0|t[c>>2]))?w:m)))&&(v=Ee-(0|t[i>>2])|0,p=0|t[b>>2],O=le-oe|0,A=0|t[(p+(12*v|0)|0)>>2],a[(A+O|0)>>0]=0,(0|le)<(0|S)))for(ke=le;y=ke+1|0,E=0|t[e>>2],R=Ee-(0|t[i>>2])|0,g=0|t[b>>2],F=y-E|0,M=0|t[(g+(12*R|0)|0)>>2],a[(M+F|0)>>0]=0,(0|y)<(0|S);)ke=y;if(!((0|Ee)<(0|n)))break;_e=de,me=Ee,we=he}},Re,function(e,r){r|=0;var i,a,f,n=0,o=0,s=0,l=0;if(i=16+(e|=0)|0,(0|(0|t[(a=e+20|0)>>2])-(f=0|t[i>>2]))>0)for(n=f,l=0;ge(r,0|t[(n+(l<<2)|0)>>2]),(0|(s=l+1|0))<(0|((0|t[a>>2])-(o=0|t[i>>2])|0)>>2);)n=o,l=s},function(e,r){r|=0;var i,a,f,n=0,o=0,s=0,l=0;if(i=16+(e|=0)|0,(0|(0|t[(a=e+20|0)>>2])-(f=0|t[i>>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c=0,1&fe){O=g,Gr=23;break e}vf(g)}else ne=P,oe=L,se=T,le=C,Gr=25}}}while(0);if(25==(0|Gr)){if(Gr=0,(0|5*((ne+1|0)-oe|0))>(0|((1+(0|t[n>>2])|0)-(0|t[e>>2])|0)<<2)&&(0|5*((se+1|0)-le|0))>(0|((1+(0|t[o>>2])|0)-(0|t[s>>2])|0)<<2)){A=g,Gr=27;break e}ye=(Ae=((0|t[i>>2])-(Oe=0|t[r>>2])|0)>>2)>>>0>Ur>>>0;r:do{if(ye)for(Fe=Oe,Xr=Ae;;){if(0|Ue(g,Me=0|t[(Fe+((ge=Xr+-1|0)<<2)|0)>>2])){if(0!=(0|Me)){if(c=0,N(72,0|Me),De=c,c=0,1&De){w=Me,Gr=50;break e}vf(Me)}Ne=4+(Te=(0|t[r>>2])+(ge<<2)|0)|0,Ie=(Ce=(0|t[i>>2])-Ne|0)>>2,Lf(0|Te,0|Ne,0|Ce),Pe=Te+(Ie<<2)|0,(0|(xe=0|t[i>>2]))==(0|Pe)||(Wr=xe+((-1^((xe+-4|0)-Pe|0)>>>2)<<2)|0,t[i>>2]=Wr)}if(!(ge>>>0>Ur>>>0))break r;Fe=0|t[r>>2],Xr=ge}}while(0);if(0!=(0|g)){if(c=0,N(72,0|g),He=c,c=0,1&He){y=g,Gr=54;break e}vf(g)}}if(!(Ur>>>0<((Be=0|t[i>>2])-(ze=0|t[r>>2])|0)>>2>>>0)){Gr=55;break e}rr=Be,Ar=ze}if(!((Re=Ur+1|0)>>>0<(v-S|0)>>2>>>0)){Gr=55;break}Ve=S,Xe=v,Ur=Re}if(17==(0|Gr))xr=0|q(),b,vf(p),ie(0|xr);else if(23==(0|Gr))te=0|q(),b,vf(O),ie(0|te);else if(27==(0|Gr)){be=(0|(ue=0|t[i>>2]))==(0|(ce=0|t[r>>2])),_=ce,ke=ue;e:do{if(be)d=_,E=ue,de=ke;else{for(h=_,Je=ke,Ze=ce,Qe=ue,Vr=0;;){if(0==(0|(_e=0|t[(h+(Vr<<2)|0)>>2])))me=Ze,we=Qe,$e=Je;else{if(c=0,N(72,0|_e),he=c,c=0,1&he){m=_e;break}vf(_e),R=0|t[i>>2],me=0|t[r>>2],we=R,$e=R}if(u=me,!((Ee=Vr+1|0)>>>0<(we-me|0)>>2>>>0)){d=u,E=me,de=$e;break e}h=u,Je=$e,Ze=me,Qe=we,Vr=Ee}Se=0|q(),b,vf(m),ie(0|Se)}}while(0);if((0|de)==(0|d)||(Kr=de+((-1^((de+-4|0)-E|0)>>>2)<<2)|0,t[i>>2]=Kr),0==(0|A))return;if(c=0,N(72,0|A),ve=c,c=0,!(1&ve))return void vf(A);pe=0|q(),b,vf(A),ie(0|pe)}else if(50==(0|Gr))Le=0|q(),b,vf(w),ie(0|Le);else if(54==(0|Gr))Ye=0|q(),b,vf(y),ie(0|Ye);else if(55==(0|Gr))return}},qf,function(e,r){var i;r|=0,(0|(i=0|t[(4+(e|=0)|0)>>2]))==(0|r)||(or(e,r),(0|i)<(0|r)&&Rr(e,e+28|0))},function(e,r){var i;r|=0,(0|(i=0|t[(12+(e|=0)|0)>>2]))==(0|r)||(sr(e,r),(0|i)>(0|r)&&Rr(e,e+28|0))},function(e,r){var i;r|=0,(0|(i=0|t[(e|=0)>>2]))==(0|r)||(tr(e,r),(0|i)<(0|r)&&Rr(e,e+28|0))},function(e,r){var i;r|=0,(0|(i=0|t[(8+(e|=0)|0)>>2]))==(0|r)||(function(e,r){e|=0,r|=0;var i,f,n,l,u,c=0,b=0,k=0,d=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0;if(u=o,(0|(o=o+16|0))>=(0|s)&&_(),i=u,(0|t[(f=e+8|0)>>2])==(0|r))o=u;else if(Pe(e,r),(0|(l=(1+(0|t[(e+12|0)>>2])|0)-(0|t[(e+4|0)>>2])|0))>0){for(n=e+16|0,O=l;p=O+-1|0,b=(c=0|t[n>>2])+(12*p|0)|0,k=(1+(0|t[f>>2])|0)-(0|t[e>>2])|0,a[i>>0]=0,h=0|t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>536870911?(c=0,N(46,0|e),y=c,c=0,1&y||(g=4)):g=4,4!=(0|g)||(c=0,k=0|I(29,0|l),d=c,c=0,1&d))f=0|q(),o=n=0|t[e>>2],0==(0|n)&&ie(0|f),(0|(s=0|t[i>>2]))==(0|n)||(R=s+((-1^((s+-8|0)-o|0)>>>3)<<3)|0,t[i>>2]=R),vf(n),ie(0|f);else{if(t[i>>2]=k,t[e>>2]=k,_=k+(u<<3)|0,t[(e+8|0)>>2]=_,(0|(h=0|t[r>>2]))==(0|(E=0|t[a>>2])))return;for(b=h,v=k;w=0|t[(m=b)>>2],S=0|t[(m+4|0)>>2],t[(p=v)>>2]=w,t[(p+4|0)>>2]=S,O=8+(0|t[i>>2])|0,t[i>>2]=O,(0|(A=b+8|0))!=(0|E);)b=A,v=O}},er,qf,function(e,r){e|=0,r|=0;var i,a,f,n,l,u,c,b,k,d,h,E,m,w,S,v,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0,I=0,P=0,x=0,L=0,H=0,B=0,U=0,z=0,Y=0,V=0;v=o,(0|(o=o+16|0))>=(0|s)&&_(),i=v+12|0,a=v+8|0,f=v,k=0|t[(b=r+4|0)>>2],(0|(S=0|t[(h=e+4|0)>>2]))>(0|k)&&((0|S)==(0|k)||(z=0|t[(U=e+16|0)>>2],t[a>>2]=z,p=S-k|0,t[f>>2]=1,t[(f+4|0)>>2]=0,t[i>>2]=0|t[a>>2],ka(U,i,p,f),Ie(e,k))),l=0|t[(n=r+12|0)>>2],c=(0|t[(u=e+12|0)>>2])<(0|l);do{if(c){if(xe(e,l),O=e+16|0,A=(1+(0|t[u>>2])|0)-(0|t[h>>2])|0,R=0|t[(y=e+20|0)>>2],M=g=0|t[O>>2],D=R,A>>>0>(F=(R-g|0)>>3)>>>0){da(O,A-F|0);break}A>>>0<F>>>0&&((0|D)==(0|(T=M+(A<<3)|0))||(V=D+((-1^((D+-8|0)-T|0)>>>3)<<3)|0,t[y>>2]=V))}}while(0);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,c=0,1&w){_=d,X=9;break}if(S=0|t[a>>2],v=0|t[(S+(Y<<2)|0)>>2],t[m>>2]=0|t[v>>2],t[m+4>>2]=0|t[v+4>>2],t[m+8>>2]=0|t[v+8>>2],t[m+12>>2]=0|t[v+12>>2],c=0,C(62,0|m+16,0|v+16),p=c,c=0,1&p){h=m,X=10;break}if(O=0|t[i>>2],t[(O+(Y<<2)|0)>>2]=m,!((A=Y+1|0)>>>0<((0|t[U>>2])-(y=0|t[i>>2])|0)>>2>>>0)){X=4;break}d=y,Y=A}if(4==(0|X))return;9==(0|X)?(R=0|q(),b,u=R,M=_):10==(0|X)&&(g=0|q(),F=b,vf(h),F,u=g,M=0|t[i>>2]),D=M,0==(0|M)?k=u:((0|(T=0|t[U>>2]))==(0|M)||(V=T+((-1^((T+-4|0)-D|0)>>>2)<<2)|0,t[U>>2]=V),vf(M),k=u)}if(0==(0|(o=0|t[(n=e+16|0)>>2]))&&ie(0|k),(0|(l=0|t[(s=e+20|0)>>2]))==(0|o))B=o;else{for(P=l;N=P+-12|0,t[s>>2]=N,0==(0|(x=0|t[N>>2]))?L=N:((0|t[(H=P+-8|0)>>2])==(0|x)||(t[H>>2]=x),vf(x),L=0|t[s>>2]),(0|L)!=(0|o);)P=L;B=0|t[n>>2]}vf(B),ie(0|k)},qf,qf,qf,qf,qf,qf,qf,qf,qf,qf,qf,qf,qf,function(e,r){r|=0;var i,a,f,n,o,s,l,u,b=0,k=0,d=0,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0;if(t[(e|=0)>>2]=0,t[(i=e+4|0)>>2]=0,t[(e+8|0)>>2]=0,0!=(0|(u=(l=(0|t[(a=r+4|0)>>2])-(0|t[r>>2])|0)>>3)))if(u>>>0>536870911?(c=0,N(46,0|e),y=c,c=0,1&y||(g=4)):g=4,4!=(0|g)||(c=0,k=0|I(29,0|l),d=c,c=0,1&d))f=0|q(),o=n=0|t[e>>2],0==(0|n)&&ie(0|f),(0|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}else wi=mi;if(Ee=si+1|0,(0|si)>=(0|ue)|(0|si)>=(0|ke)){Si=wi;break}si=Ee,mi=wi}be=0|t[x>>2],ki=Si}else be=wr,ki=_i;if(!((0|ce)<(0|ue)&(0|be)>0)){bi=ki;break}wr=be,ai=ce,_i=ki}ve=(Se=(we=(me=(0|t[E>>2])-(0|t[T>>2])|0)>>4)-1|0)-((0|we)/4&-1)|0,t[P>>2]=3,pe=(0|me)>48;r:do{if(pe)for(ii=Se,di=-1;;){Oe=ii+-2|0,oi=ii,hi=di;i:for(;;){for(ni=oi;;){if(fi=ni+-1|0,!((0|ni)>(0|ve)&(0|ni)>(0|Oe))){Ei=hi;break i}if((0|(ye=0|Di((Ae=0|t[T>>2])+(ii<<4)|0,Ae+(fi<<4)|0,P,te,ne)))>-1){Y=ye,ti=fi;break}ni=fi}if(Re=0==(0|Y)?ii:ti,0==(0|t[P>>2])){ci=Re;break r}oi=ti,hi=Re}if(!((0|(ge=ii+-1|0))>(0|ve)&(0|t[P>>2])>0)){ci=Ei;break}ii=ge,di=Ei}else ci=-1}while(0);if(Fe=(0|bi)>-1,Me=0|t[T>>2],Fe?(De=0|t[(Me+(bi<<4)|0)>>2],pi=(0|t[(8+(Me+(bi<<4)|0)|0)>>2])+De|0,Ai=(0|t[(12+(Me+(bi<<4)|0)|0)>>2])-((0|te)/2&-1)|0):(Te=0|t[Me>>2],pi=(0|t[(Me+8|0)>>2])+Te|0,Ai=fe),vi=(0|pi)/2&-1,(0|ci)>-1?(Ne=0|t[(Me+(ci<<4)|0)>>2],Pi=(0|t[(8+(Me+(ci<<4)|0)|0)>>2])+Ne|0,xi=(0|t[(12+(Me+(ci<<4)|0)|0)>>2])-((0|te)/2&-1)|0):(Ce=0|t[E>>2],Ie=0|t[(Ce+-16|0)>>2],Pi=(0|t[(Ce+-8|0)>>2])+Ie|0,xi=fe),(0|te)<1|(0|(Ii=(0|Pi)/2&-1))<(0|vi)){if((0|t[1700])>-1&&(t[B>>2]=vi,t[(B+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Xe+12>>2]=0|t[a+12>>2],t[Xe+16>>2]=0|t[a+16>>2],We=20+(0|t[p>>2])|0,t[p>>2]=We;Ke=0|t[T>>2],(0|(Ge=0|t[E>>2]))==(0|Ke)||(Xi=Ge+((-1^((Ge+-16|0)-Ke|0)>>>4)<<4)|0,t[E>>2]=Xi)}if(!(Kr>>>0<((0|t[u>>2])-(qe=0|t[r>>2])|0)>>4>>>0)){Zi=15;break}Yr=qe,Vr=0|t[E>>2],Xr=0|t[Rr>>2],ri=Kr}if(6==(0|Zi)){Oi=0|q();break}if(15==(0|Zi)){W=0|t[p>>2],V=e,X=p,mr=j=0|t[e>>2],Cr=j,Ir=W,Zi=16;break}}}while(0);e:do{if(16==(0|Zi)){Pr=((0|Ir-Cr)/20&-1)>>>0>1;r:do{if(Pr){for(xr=0|t[90],Lr=I+4|0,Hr=I+8|0,Br=I+12|0,Ur=I+16|0,$e=mr,rr=1,li=0;;){if((0|(er=1+(0|t[(8+($e+(20*li|0)|0)|0)>>2])|0))<(0|(ir=0|t[($e+(20*rr|0)|0)>>2]))){if(ar=0|t[(12+($e+(20*li|0)|0)|0)>>2],fr=ir+-1|0,tr=0|t[(4+($e+(20*rr|0)|0)|0)>>2],nr=0|t[(16+($e+(20*li|0)|0)|0)>>2],sr=(0|(or=(0|t[(16+($e+(20*rr|0)|0)|0)>>2])+nr|0))/2&-1,(0|or)<2){if((0|t[1700])>-1&&(t[H>>2]=er,t[(H+4|0)>>2]=ar,t[(H+8|0)>>2]=fr,t[(H+12|0)>>2]=tr,t[(H+16|0)>>2]=sr,nf(xr,3264,H)),c=0,N(47,3306),lr=c,c=0,1&lr)break;ur=0|t[e>>2]}else ur=$e;if(t[I>>2]=er,t[Lr>>2]=ar,t[Hr>>2]=fr,t[Br>>2]=tr,t[Ur>>2]=sr,cr=ur+(20*rr|0)|0,t[f>>2]=cr,c=0,t[i>>2]=0|t[f>>2],M(181,0|e,0|i,0|I),br=c,c=0,1&br)break;ui=rr}else ui=li;if(kr=ui+1|0,dr=ui+2|0,_r=0|t[X>>2],Er=hr=0|t[V>>2],!(dr>>>0<((0|_r-hr)/20&-1)>>>0))break r;$e=Er,rr=dr,li=kr}Oi=0|q();break e}}while(0);return Ze=Je=0|t[T>>2],0==(0|Je)||((0|(Qe=0|t[E>>2]))==(0|Je)||(Vi=Qe+((-1^((Qe+-16|0)-Ze|0)>>>4)<<4)|0,t[E>>2]=Vi),vf(Je)),void(o=U)}}while(0);A=O=0|t[T>>2],0==(0|O)&&ie(0|Oi),(0|(y=0|t[E>>2]))==(0|O)||(Yi=y+((-1^((y+-16|0)-A|0)>>>4)<<4)|0,t[E>>2]=Yi),vf(O),ie(0|Oi)}},qf,ki,function(e,r){r|=0;var i,a,f,n,o,s,l,u,c,b,k,d=0,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0;(b=1+((0|(0|t[(i=4+(e|=0)|0)>>2])-(f=0|t[e>>2]))/20&-1)|0)>>>0>214748364?(mf(),h=0|t[e>>2]):h=f,(a=(0|(0|t[(k=e+8|0)>>2])-h)/20&-1)>>>0<107374182?(w=(m=a<<1)>>>0<b>>>0?b:m,v=(0|(S=0|t[i>>2])-h)/20&-1,0==(0|w)?(_=0,p=0,O=v,A=S):(d=w,y=S,R=v,g=6)):(d=214748364,y=E=0|t[i>>2],R=(0|E-h)/20&-1,g=6),6==(0|g)&&(_=d,p=0|gf(20*d|0),O=R,A=y),o=p+(20*_|0)|0,t[(n=p+(20*O|0)|0)>>2]=0|t[r>>2],t[n+4>>2]=0|t[r+4>>2],t[n+8>>2]=0|t[r+8>>2],t[n+12>>2]=0|t[r+12>>2],t[n+16>>2]=0|t[r+16>>2],s=n+20|0,c=u=n+(20*((0|(l=A-h|0))/-20&-1)|0)|0,xf(0|u,0|h,0|l),t[e>>2]=c,t[i>>2]=s,t[k>>2]=o,0==(0|h)||vf(h)},qf,ma,qf,qf,qf,_a,qf,qf,qf,qf,qf,qf,qf,qf,qf,qf,qf,qf,function(e,r){e|=0,r|=0;var i,a,f,n,l,u,c,b,k,d,h,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0;h=o,(0|(o=o+16|0))>=(0|s)&&_(),i=h+8|0,f=h,t[(a=h+4|0)>>2]=r,Be(e,r),n=e+16|0,b=(c=(0|t[(e+20|0)>>2])-(u=0|t[n>>2])|0)>>2,k=(0|c)>0,d=u;e:do{if(k)for(E=0|t[(r+4|0)>>2],m=(0|(0|t[(r+12|0)>>2])+E)/2&-1,w=r+8|0,F=b;;){if(S=0|t[(d+((g=F+-1|0)<<2)|0)>>2],v=0|t[(S+4|0)>>2],(0|m)>(0|(p=(0|(0|t[(S+12|0)>>2])+v)/2&-1))){R=F;break e}if((0|m)==(0|p)&&(O=0|t[r>>2],A=(0|(0|t[w>>2])+O)/2&-1,y=0|t[S>>2],!((0|A)<(0|(0|(0|t[(S+8|0)>>2])+y)/2&-1)))){R=F;break e}if(!((0|F)>1)){R=g;break}F=g}else R=b}while(0);l=d+(R<<2)|0,t[f>>2]=l,t[i>>2]=0|t[f>>2],ri(n,i,a),o=h},Zr,qf,qf,qf,function(e,r){e|=0;var i,a,f,n,o,s,l,u,c,b,k=0,d=0,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0;if((0|(r|=0))<0?M=4:(_=e+28|0,(0|((0|t[(e+32|0)>>2])-(F=0|t[_>>2])|0)>>2)>(0|r)?(d=e+28|0,h=F):M=4),4==(0|M)&&(Oa(2236),d=k=e+28|0,h=0|t[k>>2]),lr(e,0|t[(h+(r<<2)|0)>>2]),i=0|t[d>>2],0==(0|(a=0|t[(i+(r<<2)|0)>>2])))g=i;else{if(0!=(0|(m=0|t[(E=a+16|0)>>2]))){if((0|(S=0|t[(w=a+20|0)>>2]))==(0|m))R=m;else{for(p=S;v=p+-12|0,t[w>>2]=v,0==(0|(O=0|t[v>>2]))?A=v:((0|t[(y=p+-8|0)>>2])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,Jf,Jf,Jf,Jf,Jf,function(e){var r,i,a,f,n,o=0,s=0,l=0,u=0,c=0,b=0,k=0,d=0,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0,I=0,P=0,x=0,L=0,H=0,B=0,U=0,z=0,Y=0,V=0,X=0,W=0,j=0,K=0,G=0,q=0,J=0,Z=0,Q=0,$=0,ee=0,re=0,ie=0,ae=0,fe=0,te=0,ne=0,oe=0,se=0,le=0,ue=0,ce=0,be=0,ke=0,de=0,_e=0,he=0,Ee=0,me=0,we=0;if(!(0|qi(r=56+(e|=0)|0)||0|Zi(r)))return 0;for(i=e+152|0,(0|t[(a=e+160|0)>>2])<0&&Hi(i),f=e+188|0,fe=0,oe=(0|(60*(((0|t[(n=e+192|0)>>2])-(0|t[f>>2])|0)>>2)|0)-60)/100&-1,_e=0;;){if((0|t[a>>2])<0&&Hi(i),(0|oe)<(0|(0|(30*(((0|t[n>>2])-(0|t[f>>2])|0)>>2)|0)-30)/100&-1)){te=fe,he=_e;break}(0|Xi(i,oe))>(0|fe)?(ne=0|Xi(i,oe),Ee=oe):(ne=fe,Ee=_e),fe=ne,oe=oe+-1|0,_e=Ee}if(0==(0|te))o=0;else if(F=0|t[e>>2],M=(0|t[(F+4|0)>>2])+he|0,N=1+(T=(D=0|t[(F+8|0)>>2])-te|0)|0,(0|T)<(0|(C=0|t[F>>2])))o=0;else if((0|N)<(0|(I=(0|C+D)/2&-1))){if(x=0|hr(F,M,P=(0|I+N)/2&-1,1),L=0|t[e>>2],!((0|x)<(0|t[(L+12|0)>>2])))return 0;if(!(0|wr(L,x,P)))return 0;if(H=0|t[e>>2],B=0|t[H>>2],0|Sr(H,x,(0|(0|t[(H+8|0)>>2])+B)/2&-1))return 0;U=0|t[e>>2],V=(0|(Y=(0|(1+(0|t[(U+12|0)>>2])|0)-(z=0|t[(U+4|0)>>2]))/20&-1))>2?Y:2,X=(0|(ke=x+-1|0))>(0|z);e:do{if(X)for(j=U,ue=x,de=ke;;){if(W=0|t[j>>2],K=0|_r(j,de,(0|(0|t[(j+8|0)>>2])+W)/2&-1,1),G=0|t[e>>2],q=(0|K)<(0|t[(G+8|0)>>2]),s=0|t[(G+4|0)>>2],!q){R=G,g=G,Q=s,le=ue,be=de;break e}if(!((0|(se=de+-1|0))>(0|s))){R=G,g=G,Q=s,le=de,be=se;break}ce=de,j=G,de=se,ue=ce}else R=U,g=U,Q=z,le=x,be=ke}while(0);Z=(0|(J=le+-2|0))>(0|Q);e:do{if(Z)for(ee=R,we=J;;){if($=0|t[ee>>2],re=0|_r(ee,we,(0|(0|t[(ee+8|0)>>2])+$)/2&-1,1),ie=0|t[e>>2],(0|re)<(0|t[(ie+8|0)>>2])){u=ie,d=ie,me=we;break e}if(!((0|(ae=we+-1|0))>(0|t[(ie+4|0)>>2]))){u=ie,d=ie,me=ae;break}ee=ie,we=ae}else u=g,d=R,me=J}while(0);if(!((0|(l=be+V|0))<(0|x)))return 0;if(!((0|me)>(0|(c=0|t[(u+4|0)>>2]))))return 0;if(_=0|kr(d,k=me-((0|(b=(0|me-c)/2&-1))<(0|V)?b:V)|0,0|t[(d+8|0)>>2],1),h=0|t[e>>2],E=0|t[h>>2],m=0|_r(h,k,(0|(0|t[(h+8|0)>>2])+E)/2&-1,1),S=0|kr(w=0|t[e>>2],l,0|t[(w+8|0)>>2],1),v=0|t[e>>2],p=0|t[v>>2],O=0|_r(v,l,(0|(0|t[(v+8|0)>>2])+p)/2&-1,1),A=0|t[e>>2],y=0|t[(A+4|0)>>2],(0|be)>(0|(0|(0|t[(A+12|0)>>2])+y)/2&-1)){if(!((0|S-O)>(0|(_+V|0)-m)))return 0;o=71}else o=71}else o=0;return 0|o},function(e){var r,i,a,f,n,o,s,l,u,c,b,k,d,_,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0,I=0,P=0,x=0,L=0,H=0,B=0,U=0,z=0,Y=0,V=0,X=0,W=0;0|qi(r=56+(e|=0)|0)?W=4:0|Zi(r)?W=4:(h=e,E=e);do{if(4==(0|W)){D=0|t[e>>2],P=0|t[(D+4|0)>>2],X=(0|(0|t[(D+12|0)>>2])+P)/2&-1,m=0|t[D>>2],v=0|dr(D,X,(0|(0|t[(D+8|0)>>2])+m)/2&-1,1),A=0|t[e>>2],y=0|t[(A+4|0)>>2],R=(0|(0|t[(A+12|0)>>2])+y)/2&-1,g=0|t[A>>2],F=0|hr(A,R,(0|(0|t[(A+8|0)>>2])+g)/2&-1,1),M=0|t[e>>2],N=(0|(1+(0|t[(M+12|0)>>2])|0)-(T=0|t[(M+4|0)>>2]))>(0|((1+(0|t[(M+8|0)>>2])|0)-(0|t[M>>2])|0)<<1);do{if(N){if(C=3*(0|Ui(e+296|0))|0,I=0|t[e>>2],(0|C)>(0|((1+(0|t[(I+8|0)>>2])|0)-(0|t[I>>2])|0)<<1)){x=0|t[(I+4|0)>>2],L=I;break}return 0|(0|qi(r)?40:0)}x=T,L=M}while(0);if((0|v)>(0|x))if((0|F)<(0|t[(L+12|0)>>2]))if(0|fa(e+152|0,50)){if(!(0|Zi(H=e+200|0)||0|Zi(B=e+104|0))){if(!(0|ta(H))){h=e,E=e;break}if(!(0|ta(B))){h=e,E=e;break}}if(U=0|t[e>>2],z=0|t[(U+4|0)>>2],Y=(0|(0|t[(U+12|0)>>2])+z)/2&-1,V=0|t[U>>2],0|wr(U,Y,(0|(0|t[(U+8|0)>>2])+V)/2&-1))return 99;h=e,E=e}else h=e,E=e;else h=e,E=e;else h=e,E=e}}while(0);if(d=0|t[h>>2],!((0|(1+(0|t[(d+12|0)>>2])|0)-(0|t[(d+4|0)>>2]))>(0|((1+(0|t[(d+8|0)>>2])|0)-(0|t[d>>2])|0)<<1)))return 0;if(!(0|qi(e+152|0)))return 0;if(_=0|t[E>>2],i=0|t[(_+4|0)>>2],a=(0|(0|t[(_+12|0)>>2])+i)/2&-1,f=0|t[_>>2],n=0|dr(_,a,(0|(0|t[(_+8|0)>>2])+f)/2&-1,1),o=0|t[E>>2],s=0|t[(o+4|0)>>2],l=(0|(0|t[(o+12|0)>>2])+s)/2&-1,u=0|t[o>>2],c=0|hr(o,l,(0|(0|t[(o+8|0)>>2])+u)/2&-1,1),b=3*(0|Ui(e+296|0))|0,k=0|t[h>>2],(0|b)>(0|((1+(0|t[(k+8|0)>>2])|0)-(0|t[k>>2])|0)<<1)){if(w=(0|Xi(r,n-(0|t[(k+4|0)>>2])|0))<<1,S=0|t[h>>2],(0|w)<(0|(1+(0|t[(S+8|0)>>2])|0)-(0|t[S>>2])))return 0;if(p=(0|Xi(r,c-(0|t[(S+4|0)>>2])|0))<<1,O=0|t[h>>2],(0|p)<(0|(1+(0|t[(O+8|0)>>2])|0)-(0|t[O>>2])))return 0}return 41},Jf,function(e){var r,i,f,n,o,s,l,u,c,b,k,d,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0,I=0,P=0,x=0,L=0,H=0,B=0,U=0,z=0,Y=0,V=0,X=0,W=0,j=0,K=0,G=0;for(i=0|t[(e|=0)>>2],f=0|t[i>>2],b=(c=(0|(0|t[(i+8|0)>>2])+f)/2&-1)-1|0,d=(0|(k=0|t[(i+12|0)>>2]))<(0|(r=0|t[(i+4|0)>>2])),n=i+4|0,o=i+16|0,l=((0|(s=k-r|0))/2&-1)+r|0,u=((0|70*s)/100&-1)+r|0,R=b,D=0,x=0,Y=0;;){if(d)T=D,L=x,V=Y;else{for(_=0|t[n>>2],h=0|t[o>>2],E=R-(0|t[i>>2])|0,O=0,F=0,M=r,N=D,H=x,X=Y;;){m=0|t[(h+(12*(M-_|0)|0)|0)>>2],w=(0|a[(m+E|0)>>0])<<24>>24!=0;e:do{if(w)if(F)A=O,C=N,B=H,W=X;else switch(S=O+1|0,0|O){case 1:A=2,C=M+-1|0,B=H,W=X;break e;case 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|0,M=R,D=R,T=p,N=N+1|0,C=(F=(0|(g=0|t[y>>2]))<(0|C))?g:C,P=F?P:(0|g)>(0|P)?g:P}return s=x-I|0,(0|t[o>>2])<0?(Hi(e),w=0|t[c>>2],O=0|t[u>>2],A=w):(O=d,A=_),l=1&(0|s)<=(0|1+((0|(A-O|0)>>2)/30&-1)),a[r>>0]=l,0|l<<24>>24!=0},Mr,qi,Zi,Jf,Jf,Sa,va,Jf,Jf,Jf,Jf,Jf,Jf,Jf,Jf,Jf,Jf,Jf,Jf,Jf,Jf,Kr,Jf,Jf,Jf,Lr,Jf,Jf,Jf,Jf,Jf,Jf,Jf,function(e){var r,i,f,n,o,s,l,u=0,c=0,b=0,k=0,d=0,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0;l=(0|(i=0|t[(4+(e|=0)|0)>>2]))>(0|(s=0|t[(f=e+12|0)>>2]));e:do{if(l)R=i;else{if((0|(S=0|t[e>>2]))>(0|(v=0|t[(e+8|0)>>2])))for(y=i;;){if(b=y+1|0,!((0|y)<(0|s))){R=b;break e}y=b}for(c=0|t[(e+16|0)>>2],A=i;;){for(k=0|t[(c+(12*(A-i|0)|0)|0)>>2],p=S;;){if((0|a[(k+(p-S|0)|0)>>0])<<24>>24!=0){R=A;break e}if(d=p+1|0,!((0|p)<(0|v)))break;p=d}if(_=A+1|0,!((0|A)<(0|s))){R=_;break}A=_}}}while(0);if((0|s)<(0|R))return 0|(u=0);if((0|(n=0|t[e>>2]))>(0|(o=0|t[(e+8|0)>>2])))return 0|(u=0);r=0|t[(e+16|0)>>2],g=s;e:for(;;){for(h=0|t[(r+(12*(g-i|0)|0)|0)>>2],O=n;;){if((0|a[(h+(O-n|0)|0)>>0])<<24>>24!=0){F=g;break e}if(E=O+1|0,!((0|O)<(0|o)))break;O=E}if(m=g+-1|0,!((0|g)>(0|R))){u=0,M=20;break}g=m}return 20==(0|M)?0|u:((0|R)>(0|i)?(or(e,R),w=0|t[f>>2]):w=s,(0|F)<(0|w)?(sr(e,F),0|(u=1)):0|(u=1))},Jf,Jf,Jf,Jf,function(e){e|=0;var r,i,f,n,l,u,c,b=0,k=0,d=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0,I=0,P=0,x=0,L=0,H=0,B=0,U=0,z=0,Y=0,V=0,X=0,W=0,j=0,K=0,G=0,q=0;c=o,(0|(o=o+16|0))>=(0|s)&&_(),r=c,u=(0|(i=0|t[e>>2]))>(0|(l=0|t[(f=e+8|0)>>2]));e:do{if(u)V=i;else{if((0|(T=0|t[(e+4|0)>>2]))>(0|(U=0|t[(e+12|0)>>2])))for(Y=i;;){if(d=Y+1|0,!((0|Y)<(0|l))){V=d;break e}Y=d}for(b=0|t[(e+16|0)>>2],z=i;;){for(h=z-i|0,j=T;;){if(m=0|t[(b+(12*(j-T|0)|0)|0)>>2],(0|a[(m+h|0)>>0])<<24>>24!=0){V=z;break e}if(E=j+1|0,!((0|j)<(0|U)))break;j=E}if(w=z+1|0,!((0|z)<(0|l))){V=w;break}z=w}}}while(0);n=(0|l)<(0|V);e:do{if(n)W=l;else{if((0|(S=0|t[(e+4|0)>>2]))>(0|(v=0|t[(e+12|0)>>2]))){W=((0|l)>(0|V)?V:l)+-1|0;break}for(k=0|t[(e+16|0)>>2],X=l;;){for(p=X-i|0,q=S;;){if(A=0|t[(k+(12*(q-S|0)|0)|0)>>2],(0|a[(A+p|0)>>0])<<24>>24!=0){W=X;break e}if(O=q+1|0,!((0|q)<(0|v)))break;q=O}if(y=X+-1|0,!((0|X)>(0|V))){W=y;break}X=y}}}while(0);if(!((0|V)<(0|W)))return o=c,0;if((0|V)>(0|i)?(tr(e,V),R=0|t[f>>2]):R=l,!((0|W)<(0|R)))return o=c,1;if((0|R)!=(0|W)&&(Pe(e,W),(0|(g=(1+(0|t[(e+12|0)>>2])|0)-(0|t[(e+4|0)>>2])|0))>0))for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2])|0)-(0|t[f>>2])|0,Zr=(1+(0|t[G>>2])|0)-(0|t[K>>2])|0,0|t[(r+12|0)>>2]){case 0:if(a[(e+28|0)>>0]=1,a[(e+29|0)>>0]=0,Vf=(0|Rr)>0,i){if(!Vf)return;if(!((0|Zr)>0))return;ct=0,vt=0;r:for(;;){for(at=0,bt=ct;;){if(ye=(Ae=0|t[b>>2])+(12*vt|0)|0,Re=0|t[r>>2],ge=1&(0|a[(Re+bt|0)>>0])<<24>>24!=0,Me=0|t[(Fe=4+(Ae+(12*vt|0)|0)|0)>>2],Ce=Te=0|t[(De=8+(Ae+(12*vt|0)|0)|0)>>2],(0|Me)==(0|Te)){if((0|(Le=1+(Me-(xe=0|t[ye>>2])|0)|0))<0){if(c=0,N(46,0|ye),He=c,c=0,1&He){At=61;break r}T=0|t[ye>>2],V=De,ze=0|t[De>>2]}else T=xe,V=De,ze=Ce;if(Be=T,(Ue=ze-T|0)>>>0<1073741823?(Xe=(Ve=Ue<<1)>>>0<Le>>>0?Le:Ve,je=(We=0|t[Fe>>2])-T|0,0==(0|Xe)?(y=0,Je=0,Ze=je,ir=We):(w=Xe,lf=We,uf=je,At=55)):(w=2147483647,lf=Ye=0|t[Fe>>2],uf=Ye-T|0,At=55),55==(0|At)){if(At=0,c=0,Ke=0|I(29,0|w),Ge=c,c=0,1&Ge){At=61;break r}y=w,Je=Ke,Ze=uf,ir=lf}Qe=Je+y|0,a[(qe=Je+Ze|0)>>0]=ge,$e=qe+1|0,fr=ar=qe+(0-(er=ir-T|0)|0)|0,xf(0|ar,0|Be,0|er),t[ye>>2]=fr,t[Fe>>2]=$e,t[V>>2]=Qe,0==(0|T)||vf(Be)}else a[Me>>0]=ge,Ie=1+(0|t[Fe>>2])|0,t[Fe>>2]=Ie;if(nr=bt+1|0,!((0|(tr=at+1|0))<(0|Zr))){L=nr;break}at=tr,bt=nr}if(!((0|(or=vt+1|0))<(0|Rr))){At=131;break}ct=L,vt=or}if(61==(0|At)){Et=0|q();break e}if(131==(0|At))return}else{if(!Vf)return;if(!((0|Zr)>0))return;tt=0,wt=0;r:for(;;){for($f=0,nt=tt;;){if(Wf=(Xf=0|t[b>>2])+(12*wt|0)|0,jf=0|t[r>>2],Kf=1&(0|a[(jf+nt|0)>>0])<<24>>24==0,qf=0|t[(Gf=4+(Xf+(12*wt|0)|0)|0)>>2],Qf=Zf=0|t[(Jf=8+(Xf+(12*wt|0)|0)|0)>>2],(0|qf)==(0|Zf)){if((0|($=1+(qf-(Q=0|t[Wf>>2])|0)|0))<0){if(c=0,N(46,0|Wf),ee=c,c=0,1&ee){At=43;break r}D=0|t[Wf>>2],Y=Jf,fe=0|t[Jf>>2]}else D=Q,Y=Jf,fe=Qf;if(re=D,(ae=fe-D|0)>>>0<1073741823?(oe=(ne=ae<<1)>>>0<$>>>0?$:ne,le=(se=0|t[Gf>>2])-D|0,0==(0|oe)?(A=0,ke=0,de=le,me=se):(m=oe,nf=se,of=le,At=37)):(m=2147483647,nf=te=0|t[Gf>>2],of=te-D|0,At=37),37==(0|At)){if(At=0,c=0,ue=0|I(29,0|m),ce=c,c=0,1&ce){At=43;break r}A=m,ke=ue,de=of,me=nf}_e=ke+A|0,a[(be=ke+de|0)>>0]=Kf,he=be+1|0,Se=we=be+(0-(Ee=me-D|0)|0)|0,xf(0|we,0|re,0|Ee),t[Wf>>2]=Se,t[Gf>>2]=he,t[Y>>2]=_e,0==(0|D)||vf(re)}else a[qf>>0]=Kf,Z=1+(0|t[Gf>>2])|0,t[Gf>>2]=Z;if(pe=nt+1|0,!((0|(ve=$f+1|0))<(0|Zr))){H=pe;break}$f=ve,nt=pe}if(!((0|(Oe=wt+1|0))<(0|Rr))){At=131;break}tt=H,wt=Oe}if(43==(0|At)){Et=0|q();break e}if(131==(0|At))return}break;case 1:if(a[(sr=e+28|0)>>0]=-1,a[(e+29|0)>>0]=127,lr=(0|Rr)>0,i){if(!lr)return;if(!((0|Zr)>0))return;_t=0,Ot=0;r:for(;;){for(et=0,ht=_t;;){if(Gr=(Kr=0|t[b>>2])+(12*Ot|0)|0,qr=255&(0|a[sr>>0]),Jr=0|t[r>>2],Qr=255&(qr-(255&(0|a[(Jr+ht|0)>>0]))|0),ei=0|t[($r=4+(Kr+(12*Ot|0)|0)|0)>>2],ai=ii=0|t[(ri=8+(Kr+(12*Ot|0)|0)|0)>>2],(0|ei)==(0|ii)){if((0|(ni=1+(ei-(ti=0|t[Gr>>2])|0)|0))<0){if(c=0,N(46,0|Gr),oi=c,c=0,1&oi){At=98;break r}x=0|t[Gr>>2],W=ri,ui=0|t[ri>>2]}else x=ti,W=ri,ui=ai;if(si=x,(li=ui-x|0)>>>0<1073741823?(ki=(bi=li<<1)>>>0<ni>>>0?ni:bi,_i=(di=0|t[$r>>2])-x|0,0==(0|ki)?(O=0,wi=0,Si=_i,Ai=di):(E=ki,kf=di,df=_i,At=92)):(E=2147483647,kf=ci=0|t[$r>>2],df=ci-x|0,At=92),92==(0|At)){if(At=0,c=0,hi=0|I(29,0|E),Ei=c,c=0,1&Ei){At=98;break r}O=E,wi=hi,Si=df,Ai=kf}vi=wi+O|0,a[(mi=wi+Si|0)>>0]=Qr,pi=mi+1|0,Ri=yi=mi+(0-(Oi=Ai-x|0)|0)|0,xf(0|yi,0|si,0|Oi),t[Gr>>2]=Ri,t[$r>>2]=pi,t[W>>2]=vi,0==(0|x)||vf(si)}else a[ei>>0]=Qr,fi=1+(0|t[$r>>2])|0,t[$r>>2]=fi;if(Fi=ht+1|0,!((0|(gi=et+1|0))<(0|Zr))){B=Fi;break}et=gi,ht=Fi}if(!((0|(Mi=Ot+1|0))<(0|Rr))){At=131;break}_t=B,Ot=Mi}if(98==(0|At)){Et=0|q();break e}if(131==(0|At))return}else{if(!lr)return;if(!((0|Zr)>0))return;kt=0,pt=0;r:for(;;){for(ft=0,dt=kt;;){if(cr=(ur=0|t[b>>2])+(12*pt|0)|0,br=(0|t[r>>2])+dt|0,dr=0|t[(kr=4+(ur+(12*pt|0)|0)|0)>>2],Er=hr=0|t[(_r=8+(ur+(12*pt|0)|0)|0)>>2],(0|dr)==(0|hr)){if((0|(vr=1+(dr-(Sr=0|t[cr>>2])|0)|0))<0){if(c=0,N(46,0|cr),pr=c,c=0,1&pr){At=80;break r}P=0|t[cr>>2],X=_r,yr=0|t[_r>>2]}else P=Sr,X=_r,yr=Er;if(Or=P,(Ar=yr-P|0)>>>0<1073741823?(Mr=(Fr=Ar<<1)>>>0<vr>>>0?vr:Fr,Tr=(Dr=0|t[kr>>2])-P|0,0==(0|Mr)?(R=0,Pr=0,xr=Tr,zr=Dr):(S=Mr,cf=Dr,bf=Tr,At=74)):(S=2147483647,cf=gr=0|t[kr>>2],bf=gr-P|0,At=74),74==(0|At)){if(At=0,c=0,Nr=0|I(29,0|S),Cr=c,c=0,1&Cr){At=80;break r}R=S,Pr=Nr,xr=bf,zr=cf}Ir=Pr+xr|0,Lr=Pr+R|0,Hr=0|a[br>>0],a[Ir>>0]=Hr,Br=Ir+1|0,Vr=Yr=Ir+(0-(Ur=zr-P|0)|0)|0,xf(0|Yr,0|Or,0|Ur),t[cr>>2]=Vr,t[kr>>2]=Br,t[X>>2]=Lr,0==(0|P)||vf(Or)}else mr=0|a[br>>0],a[dr>>0]=mr,wr=1+(0|t[kr>>2])|0,t[kr>>2]=wr;if(Wr=dt+1|0,!((0|(Xr=ft+1|0))<(0|Zr))){U=Wr;break}ft=Xr,dt=Wr}if(!((0|(jr=pt+1|0))<(0|Rr))){At=131;break}kt=U,pt=jr}if(80==(0|At)){Et=0|q();break e}if(131==(0|At))return}break;case 2:if(a[(Di=e+28|0)>>0]=-1,a[(e+29|0)>>0]=127,!((0|Rr)>0))return;Ti=(0|Zr)>0,ot=0,St=0;r:for(;;){if(Ti)if(i)for(it=0,ut=ot;;){if(Ni=0|t[r>>2],Ci=0|a[(Ni+ut|0)>>0],Ii=0|a[(Ni+(ut+1|0)|0)>>0],Pi=0|a[(Ni+(ut+2|0)|0)>>0],Li=255&((255&(0|a[Di>>0]))-(255&((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+(ya+(12*St|0)|0)|0)>>2],(0|Fa)==(0|Da)){if((0|(Pa=1+(Fa-(Ia=0|t[Ra>>2])|0)|0))<0){if(c=0,N(46,0|Ra),xa=c,c=0,1&xa){At=7;break r}F=0|t[Ra>>2],j=Ma,Ba=0|t[Ma>>2]}else F=Ia,j=Ma,Ba=Ta;if(La=F,(Ha=Ba-F|0)>>>0<1073741823?(Ya=(za=Ha<<1)>>>0<Pa>>>0?Pa:za,Xa=(Va=0|t[ga>>2])-F|0,0==(0|Ya)?(v=0,qa=0,Ja=Xa,ef=Va):(_=Ya,Ef=Va,mf=Xa,At=127)):(_=2147483647,Ef=Ua=0|t[ga>>2],mf=Ua-F|0,At=127),127==(0|At)){if(At=0,c=0,Wa=0|I(29,0|_),Ka=c,c=0,1&Ka){At=7;break r}v=_,qa=Wa,Ja=mf,ef=Ef}Za=qa+v|0,a[(Ga=qa+Ja|0)>>0]=Oa,Qa=Ga+1|0,af=rf=Ga+(0-($a=ef-F|0)|0)|0,xf(0|rf,0|La,0|$a),t[Ra>>2]=af,t[ga>>2]=Qa,t[j>>2]=Za,0==(0|F)||vf(La)}else a[Fa>>0]=Oa,Na=1+(0|t[ga>>2])|0,t[ga>>2]=Na;if(tf=lt+3|0,!((0|(ff=rt+1|0))<(0|Zr))){st=tf;break}rt=ff,lt=tf}else st=ot;if(!((0|(ha=St+1|0))<(0|Rr))){At=131;break}ot=st,St=ha}if(7==(0|At)){Et=0|q();break e}if(116==(0|At)){Et=0|q();break e}if(131==(0|At))return;break;default:return}}while(0);if(0==(0|(l=0|t[b>>2]))&&ie(0|Et),(0|(u=0|t[k>>2]))==(0|l))wf=l;else{for(Aa=u;wa=Aa+-12|0,t[k>>2]=wa,0==(0|(Ca=0|t[wa>>2]))?ja=wa:((0|t[(sf=Aa+-8|0)>>2])==(0|Ca)||(t[sf>>2]=Ca),vf(Ca),ja=0|t[k>>2]),(0|ja)!=(0|l);)Aa=ja;wf=0|t[b>>2]}vf(wf),ie(0|Et)},function(e,r,i){e|=0,r|=0,i|=0;var a,f,n,l,u,k,d,h,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,x=0,L=0,H=0,B=0,U=0,z=0,Y=0,V=0,X=0,W=0,j=0,K=0,G=0,J=0,Z=0,Q=0,$=0,ee=0,re=0,ae=0,fe=0,te=0,ne=0,oe=0,se=0,le=0,ue=0,ce=0,be=0,ke=0,de=0,_e=0,Ee=0,me=0,we=0,Se=0,ve=0,pe=0,Oe=0,Ae=0,ye=0,Re=0,ge=0,Fe=0,Me=0,De=0,Te=0,Ce=0,Ie=0,Pe=0,xe=0,Le=0,He=0,Be=0,Ue=0,ze=0,Ye=0,Ve=0,Xe=0,We=0,je=0,Ke=0,Ge=0;h=o,(0|(o=o+16|0))>=(0|s)&&_(),d=h+8|0,k=h,Ne(e,0,0,0,0),t[(a=e+16|0)>>2]=0,t[(f=e+20|0)>>2]=0,t[(e+24|0)>>2]=0,u=-1==(0|(l=0|uf(r)));e:do{if(u)me=0|he(4),t[me>>2]=872,c=0,P(34,0|me,8,0),c=0,Ge=8;else{if((255&l)<<24>>24==80){if(-1==(0|(He=0|uf(r)))){F=0|he(4),t[F>>2]=872,c=0,P(34,0|F,8,0),c=0,Ge=8;break}if((255&(255&He)-49<<24>>24)<6){if(le=255&He,c=0,ue=0|I(35,0|r),ce=c,c=0,1&ce){Ge=8;break}if(0==(0|ue)){be=0|he(4),t[be>>2]=1250,c=0,P(34,0|be,8,0),c=0,Ge=8;break}if(c=0,C(36,0|e,0|ue),ke=c,c=0,1&ke){Ge=8;break}if(c=0,de=0|I(35,0|r),_e=c,c=0,1&_e){Ge=8;break}if(0==(0|de)){Ee=0|he(4),t[Ee>>2]=1274,c=0,P(34,0|Ee,8,0),c=0,Ge=8;break}if(c=0,C(37,0|e,0|de),we=c,c=0,1&we){Ge=8;break}if(!((0|(ve=(1+(0|t[(Se=e+8|0)>>2])|0)-(0|t[e>>2])|0))<3||(0|(Ae=(1+(0|t[(pe=e+12|0)>>2])|0)-(0|t[(Oe=e+4|0)>>2])|0))<3)){if((0|2147483647/(0|ve)&-1)<(0|Ae)){Re=0|he(4),t[Re>>2]=1337,c=0,P(34,0|Re,8,0),c=0,Ge=8;break}if(ge=0|t[f>>2],De=Fe=0|t[a>>2],Te=ge,Ae>>>0>(Me=(0|ge-Fe)/12&-1)>>>0){if(c=0,C(38,0|a,0|Ae-Me),Ce=c,c=0,1&Ce){Ge=8;break}Ue=0|t[f>>2]}else if(Ae>>>0<Me>>>0)if((0|Te)==(0|(Ie=De+(12*Ae|0)|0)))Ue=ge;else{for(xe=Te;;){if(Pe=xe+-12|0,t[f>>2]=Pe,0==(0|(Le=0|t[Pe>>2]))?E=Pe:((0|t[(Ye=xe+-8|0)>>2])==(0|Le)||(t[Ye>>2]=Le),vf(Le),E=0|t[f>>2]),(0|E)==(0|Ie)){m=E;break}xe=E}Ue=m}else Ue=ge;ze=(0|Ue)==(0|(Be=0|t[a>>2]));r:do{if(!ze){w=Be,Ke=0;i:for(;;){Xe=(Ve=w)+(12*Ke|0)|0,p=(v=1+(0|t[Se>>2])|0)-(We=0|t[e>>2])|0,y=((0|t[(O=8+(Ve+(12*Ke|0)|0)|0)>>2])-(A=0|t[Xe>>2])|0)>>>0<p>>>0,R=A;do{if(y){if(M=(0|t[(g=4+(Ve+(12*Ke|0)|0)|0)>>2])-A|0,(0|v)==(0|We))x=0;else{if(c=0,D=0|I(29,0|p),T=c,c=0,1&T){S=Ve;break i}x=D}if(L=N=x+M|0,H=x+p|0,U=B=N+(0-M|0)|0,xf(0|B,0|R,0|M),t[Xe>>2]=U,t[g>>2]=L,t[O>>2]=H,0==(0|A))break;vf(R)}}while(0);if(!((z=Ke+1|0)>>>0<((0|(0|t[f>>2])-(Y=0|t[a>>2]))/12&-1)>>>0))break r;w=Y,Ke=z}ee=S,je=0|q();break e}}while(0);switch(0|le){case 49:if(c=0,P(39,0|e,0|r,0|i),V=c,c=0,1&V){Ge=8;break e}break;case 52:if(c=0,P(40,0|e,0|r,0|i),X=c,c=0,1&X){Ge=8;break e}break;case 50:if(c=0,P(41,0|e,0|r,0|i),W=c,c=0,1&W){Ge=8;break e}break;case 53:if(c=0,P(42,0|e,0|r,0|i),j=c,c=0,1&j){Ge=8;break e}break;case 51:if(c=0,P(43,0|e,0|r,0|i),K=c,c=0,1&K){Ge=8;break e}break;case 54:if(c=0,P(44,0|e,0|r,0|i),G=c,c=0,1&G){Ge=8;break e}}return(0|t[1700])>0?(J=0|t[90],t[k>>2]=le,nf(J,1373,k),Z=(1+(0|t[Se>>2])|0)-(0|t[e>>2])|0,Q=(1+(0|t[pe>>2])|0)-(0|t[Oe>>2])|0,t[d>>2]=Z,t[(d+4|0)>>2]=Q,nf(J,1391,d),void(o=h)):void(o=h)}ye=0|he(4),t[ye>>2]=1299,c=0,P(34,0|ye,8,0),c=0,Ge=8;break}}se=0|he(4),t[se>>2]=1203,c=0,P(34,0|se,8,0),c=0,Ge=8}}while(0);if(8==(0|Ge)&&($=0|q(),b,ee=0|t[a>>2],je=$),0==(0|ee)&&ie(0|je),(0|(n=0|t[f>>2]))==(0|ee))oe=ee;else{for(ae=n;re=ae+-12|0,t[f>>2]=re,0==(0|(fe=0|t[re>>2]))?te=re:((0|t[(ne=ae+-8|0)>>2])==(0|fe)||(t[ne>>2]=fe),vf(fe),te=0|t[f>>2]),(0|te)!=(0|ee);)ae=te;oe=0|t[a>>2]}vf(oe),ie(0|je)},Zf,Zf,function(e,r,i){ue(0|(e|=0),0|(r|=0),0|(i|=0))},Zf,Zf,Zf,Zf,function(e,r,i){r|=0,i|=0;var f,n,o,s=0,l=0,u=0,c=0,b=0,k=0,d=0,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0,I=0,P=0,x=0,L=0,H=0,B=0,U=0,z=0,Y=0,V=0,X=0,W=0,j=0,K=0,G=0,q=0,J=0,Z=0,Q=0,$=0,ee=0,re=0,ie=0,ae=0,fe=0,te=0,ne=0,oe=0,se=0,le=0,ce=0,be=0,ke=0,de=0,_e=0,Ee=0,me=0,we=0,Se=0,ve=0,pe=0,Oe=0,Ae=0,ye=0,Re=0,ge=0,Fe=0,Me=0,De=0,Te=0,Ne=0,Ce=0,Ie=0,Pe=0,xe=0,Le=0,He=0,Be=0,Ue=0,ze=0,Ye=0,Ve=0,Xe=0,We=0,je=0,Ke=0,Ge=0,qe=0,Je=0;if(a[(28+(e|=0)|0)>>0]=1,a[(e+29|0)>>0]=0,o=(1+(0|t[(e+12|0)>>2])|0)-(0|t[(e+4|0)>>2])|0,f=(1+(0|t[(e+8|0)>>2])|0)-(0|t[e>>2])|0,n=(0|o)>0,i){if(!n)return;if(Fe=e+16|0,!((0|f)>0))return;qe=0;e:for(;;){for(Ke=0;;){for(De=(Me=0|t[Fe>>2])+(12*qe|0)|0;;){if(-1==(0|(Te=0|uf(r)))){Je=53;break e}if((Ne=255&Te)<<24>>24==35)for(;;){if(-1==(0|(Ce=0|uf(r)))){Je=54;break e}if((255&Ce)<<24>>24==10){Xe=10;break}}else Xe=Ne;if(0==(0|Xa(255&Xe))){We=Xe;break}}switch(We<<24>>24){case 48:c=0;break;case 49:c=1;break;default:Je=55;break e}if(Pe=0|t[(Ie=4+(Me+(12*qe|0)|0)|0)>>2],He=Le=0|t[(xe=8+(Me+(12*qe|0)|0)|0)>>2],(0|Pe)==(0|Le)?((0|(ze=1+(Pe-(Ue=0|t[De>>2])|0)|0))<0?(mf(),d=0|t[De>>2],h=xe,S=0|t[xe>>2]):(d=Ue,h=xe,S=He),m=d,(w=S-d|0)>>>0<1073741823?(O=(p=w<<1)>>>0<ze>>>0?ze:p,y=(A=0|t[Ie>>2])-d|0,0==(0|O)?(b=0,g=0,F=y,N=A):(l=O,W=A,j=y,Je=44)):(l=2147483647,W=v=0|t[Ie>>2],j=v-d|0,Je=44),44==(0|Je)&&(Je=0,b=l,g=0|gf(l),F=j,N=W),M=g+b|0,a[(R=g+F|0)>>0]=c,D=R+1|0,I=C=R+(0-(T=N-d|0)|0)|0,xf(0|C,0|m,0|T),t[De>>2]=I,t[Ie>>2]=D,t[h>>2]=M,0==(0|d)||vf(m)):(a[Pe>>0]=c,Be=1+(0|t[Ie>>2])|0,t[Ie>>2]=Be),!((0|(P=Ke+1|0))<(0|f)))break;Ke=P}if(!((0|(x=qe+1|0))<(0|o))){Je=56;break}qe=x}if(53==(0|Je))U=0|he(4),t[U>>2]=872,ue(0|U,8,0);else if(54==(0|Je))z=0|he(4),t[z>>2]=872,ue(0|z,8,0);else if(55==(0|Je))Y=0|he(4),t[Y>>2]=923,ue(0|Y,8,0);else if(56==(0|Je))return}else{if(!n)return;if(K=e+16|0,!((0|f)>0))return;Ge=0;e:for(;;){for(je=0;;){for(q=(G=0|t[K>>2])+(12*Ge|0)|0;;){if(-1==(0|(J=0|uf(r)))){Je=50;break e}if((Z=255&J)<<24>>24==35)for(;;){if(-1==(0|(Q=0|uf(r)))){Je=51;break e}if((255&Q)<<24>>24==10){Ye=10;break}}else Ye=Z;if(0==(0|Xa(255&Ye))){Ve=Ye;break}}switch(Ve<<24>>24){case 48:s=1;break;case 49:s=0;break;default:Je=52;break e}if(ee=0|t[($=4+(G+(12*Ge|0)|0)|0)>>2],ae=ie=0|t[(re=8+(G+(12*Ge|0)|0)|0)>>2],(0|ee)==(0|ie)?((0|(ne=1+(ee-(te=0|t[q>>2])|0)|0))<0?(mf(),_=0|t[q>>2],E=re,le=0|t[re>>2]):(_=te,E=re,le=ae),oe=_,(se=le-_|0)>>>0<1073741823?(ke=(be=se<<1)>>>0<ne>>>0?ne:be,_e=(de=0|t[$>>2])-_|0,0==(0|ke)?(k=0,me=0,we=_e,Oe=de):(u=ke,V=de,X=_e,Je=20)):(u=2147483647,V=ce=0|t[$>>2],X=ce-_|0,Je=20),20==(0|Je)&&(Je=0,k=u,me=0|gf(u),we=X,Oe=V),Se=me+k|0,a[(Ee=me+we|0)>>0]=s,ve=Ee+1|0,ye=Ae=Ee+(0-(pe=Oe-_|0)|0)|0,xf(0|Ae,0|oe,0|pe),t[q>>2]=ye,t[$>>2]=ve,t[E>>2]=Se,0==(0|_)||vf(oe)):(a[ee>>0]=s,fe=1+(0|t[$>>2])|0,t[$>>2]=fe),!((0|(Re=je+1|0))<(0|f)))break;je=Re}if(!((0|(ge=Ge+1|0))<(0|o))){Je=56;break}Ge=ge}if(50==(0|Je))L=0|he(4),t[L>>2]=872,ue(0|L,8,0);else if(51==(0|Je))H=0|he(4),t[H>>2]=872,ue(0|H,8,0);else if(52==(0|Je))B=0|he(4),t[B>>2]=923,ue(0|B,8,0);else if(56==(0|Je))return}},function(e,r,i){r|=0,i|=0;var f,n,o,s=0,l=0,u=0,c=0,b=0,k=0,d=0,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0,I=0,P=0,x=0,L=0,H=0,B=0,U=0,z=0,Y=0,V=0,X=0,W=0,j=0,K=0,G=0,q=0,J=0,Z=0,Q=0,$=0,ee=0,re=0,ie=0,ae=0,fe=0,te=0,ne=0,oe=0,se=0,le=0,ce=0,be=0,ke=0,de=0,_e=0,Ee=0,me=0,we=0,Se=0,ve=0,pe=0,Oe=0,Ae=0,ye=0,Re=0,ge=0,Fe=0,Me=0,De=0,Te=0,Ne=0,Ce=0,Ie=0,Pe=0,xe=0,Le=0,He=0,Be=0,Ue=0,ze=0,Ye=0,Ve=0,Xe=0,We=0,je=0;if(a[(28+(e|=0)|0)>>0]=1,a[(e+29|0)>>0]=0,o=(1+(0|t[(e+12|0)>>2])|0)-(0|t[(e+4|0)>>2])|0,f=(1+(0|t[(e+8|0)>>2])|0)-(0|t[e>>2])|0,n=(0|o)>0,i){if(!n)return;if(we=e+16|0,!((0|f)>0))return;We=0;e:for(;;){for(ze=0;;){if(-1==(0|(Se=0|uf(r)))){je=41;break e}if((0|ze)<(0|f))for(Oe=128,Ve=ze;;){if(pe=(ve=0|t[we>>2])+(12*We|0)|0,Ae=1&0!=(0|Oe&Se),Re=0|t[(ye=4+(ve+(12*We|0)|0)|0)>>2],Me=Fe=0|t[(ge=8+(ve+(12*We|0)|0)|0)>>2],(0|Re)==(0|Fe)?((0|(Ne=1+(Re-(Te=0|t[pe>>2])|0)|0))<0?(mf(),b=0|t[pe>>2],d=ge,Pe=0|t[ge>>2]):(b=Te,d=ge,Pe=Me),Ce=b,(Ie=Pe-b|0)>>>0<1073741823?(h=(Le=Ie<<1)>>>0<Ne>>>0?Ne:Le,m=(E=0|t[ye>>2])-b|0,0==(0|h)?(u=0,S=0,v=m,y=E):(s=h,P=E,x=m,je=32)):(s=2147483647,P=xe=0|t[ye>>2],x=xe-b|0,je=32),32==(0|je)&&(je=0,u=s,S=0|gf(s),v=x,y=P),p=S+u|0,a[(w=S+v|0)>>0]=Ae,O=w+1|0,g=R=w+(0-(A=y-b|0)|0)|0,xf(0|R,0|Ce,0|A),t[pe>>2]=g,t[ye>>2]=O,t[d>>2]=p,0==(0|b)||vf(Ce)):(a[Re>>0]=Ae,De=1+(0|t[ye>>2])|0,t[ye>>2]=De),!((0|(M=Ve+1|0))<(0|f)&0!=(0|(F=Oe>>>1)))){Ye=M;break}Oe=F,Ve=M}else Ye=ze;if(!((0|Ye)<(0|f)))break;ze=Ye}if(!((0|(D=We+1|0))<(0|o))){je=42;break}We=D}if(41==(0|je))N=0|he(4),t[N>>2]=872,ue(0|N,8,0);else if(42==(0|je))return}else{if(!n)return;if(L=e+16|0,!((0|f)>0))return;Xe=0;e:for(;;){for(He=0;;){if(-1==(0|(H=0|uf(r)))){je=40;break e}if((0|He)<(0|f))for(z=128,Ue=He;;){if(U=(B=0|t[L>>2])+(12*Xe|0)|0,Y=1&0==(0|z&H),X=0|t[(V=4+(B+(12*Xe|0)|0)|0)>>2],K=j=0|t[(W=8+(B+(12*Xe|0)|0)|0)>>2],(0|X)==(0|j)?((0|(J=1+(X-(q=0|t[U>>2])|0)|0))<0?(mf(),k=0|t[U>>2],_=W,$=0|t[W>>2]):(k=q,_=W,$=K),Z=k,(Q=$-k|0)>>>0<1073741823?(ie=(re=Q<<1)>>>0<J>>>0?J:re,fe=(ae=0|t[V>>2])-k|0,0==(0|ie)?(c=0,ne=0,oe=fe,be=ae):(l=ie,C=ae,I=fe,je=13)):(l=2147483647,C=ee=0|t[V>>2],I=ee-k|0,je=13),13==(0|je)&&(je=0,c=l,ne=0|gf(l),oe=I,be=C),se=ne+c|0,a[(te=ne+oe|0)>>0]=Y,le=te+1|0,de=ke=te+(0-(ce=be-k|0)|0)|0,xf(0|ke,0|Z,0|ce),t[U>>2]=de,t[V>>2]=le,t[_>>2]=se,0==(0|k)||vf(Z)):(a[X>>0]=Y,G=1+(0|t[V>>2])|0,t[V>>2]=G),!((0|(Ee=Ue+1|0))<(0|f)&0!=(0|(_e=z>>>1)))){Be=Ee;break}z=_e,Ue=Ee}else Be=He;if(!((0|Be)<(0|f)))break;He=Be}if(!((0|(me=Xe+1|0))<(0|o))){je=42;break}Xe=me}if(40==(0|je))T=0|he(4),t[T>>2]=872,ue(0|T,8,0);else if(42==(0|je))return}},function(e,r,i){e|=0,i|=0;var f,n,o,s,l,u,c,b,k,d=0,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0,I=0,P=0,x=0,L=0,H=0,B=0,U=0,z=0,Y=0,V=0,X=0,W=0,j=0,K=0,G=0,q=0,J=0,Z=0,Q=0,$=0,ee=0,re=0,ie=0,ae=0,fe=0,te=0,ne=0,oe=0,se=0,le=0,ce=0,be=0,ke=0,de=0,_e=0,Ee=0,me=0,we=0,Se=0,ve=0,Oe=0,Ae=0,ye=0,Re=0,ge=0,Fe=0,Me=0,De=0,Te=0,Ne=0,Ce=0,Ie=0,Pe=0,xe=0,Le=0,He=0,Be=0,Ue=0,ze=0,Ye=0,Ve=0;if(0==(0|(f=0|pe(r|=0)))&&(Y=0|he(4),t[Y>>2]=1035,ue(0|Y,8,0)),b=255&(c=(u=(0|f)>255)?255:f),a[(e+28|0)>>0]=b,k=127&c>>>1,a[(e+29|0)>>0]=k,n=(1+(0|t[(e+12|0)>>2])|0)-(0|t[(e+4|0)>>2])|0,o=(1+(0|t[(e+8|0)>>2])|0)-(0|t[e>>2])|0,(0|n)>0){s=(0|o)>0,l=e+16|0,Ye=0;e:for(;;){if(s)if(u)for(ze=0;;){if((0|f)<(0|(V=0|pe(r)))){Ve=23;break e}if(X=(0|255*(i?f-V|0:V))/(0|f)&-1,j=(W=0|t[l>>2])+(12*Ye|0)|0,K=255&X,q=0|t[(G=4+(W+(12*Ye|0)|0)|0)>>2],Q=Z=0|t[(J=8+(W+(12*Ye|0)|0)|0)>>2],(0|q)==(0|Z)?((0|(re=1+(q-(ee=0|t[j>>2])|0)|0))<0?(mf(),S=0|t[j>>2],v=J,fe=0|t[J>>2]):(S=ee,v=J,fe=Q),ie=S,(ae=fe-S|0)>>>0<1073741823?(oe=(ne=ae<<1)>>>0<re>>>0?re:ne,le=(se=0|t[G>>2])-S|0,0==(0|oe)?(m=0,be=0,ke=le,me=se):(h=oe,H=se,B=le,Ve=16)):(h=2147483647,H=te=0|t[G>>2],B=te-S|0,Ve=16),16==(0|Ve)&&(Ve=0,m=h,be=0|gf(h),ke=B,me=H),de=be+m|0,a[(ce=be+ke|0)>>0]=K,_e=ce+1|0,Se=we=ce+(0-(Ee=me-S|0)|0)|0,xf(0|we,0|ie,0|Ee),t[j>>2]=Se,t[G>>2]=_e,t[v>>2]=de,0==(0|S)||vf(ie)):(a[q>>0]=K,$=1+(0|t[G>>2])|0,t[G>>2]=$),!((0|(ve=ze+1|0))<(0|o)))break;ze=ve}else for(Ue=0;;){if((0|f)<(0|(Ae=0|pe(r)))){Ve=23;break e}if(d=i?f-Ae|0:Ae,ge=(Re=0|t[l>>2])+(12*Ye|0)|0,Fe=255&d,De=0|t[(Me=4+(Re+(12*Ye|0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0,He=0,Be=0,Ue=0,ze=0,Ye=0,Ve=0,Xe=0;if(0==(0|(f=0|pe(r|=0)))&&(V=0|he(4),t[V>>2]=1035,ue(0|V,8,0)),(0|f)>255&&(ee=0|he(4),t[ee>>2]=1088,ue(0|ee,8,0)),u=255&f,a[(c=e+28|0)>>0]=u,b=127&f>>>1,a[(e+29|0)>>0]=b,n=(1+(0|t[(e+12|0)>>2])|0)-(0|t[(e+4|0)>>2])|0,o=(1+(0|t[(e+8|0)>>2])|0)-(0|t[e>>2])|0,(0|n)>0){s=(0|o)>0,l=e+16|0,Ve=0;e:for(;;){if(s)if(i)for(Ye=0;;){if(-1==(0|(X=0|uf(r)))){Xe=26;break e}if(W=255&X,(255&(j=0|a[c>>0]))<(255&W)){Xe=28;break e}if(K=255&((255&j)-X|0),q=(G=0|t[l>>2])+(12*Ve|0)|0,Z=0|t[(J=4+(G+(12*Ve|0)|0)|0)>>2],re=$=0|t[(Q=8+(G+(12*Ve|0)|0)|0)>>2],(0|Z)==(0|$)?((0|(fe=1+(Z-(ae=0|t[q>>2])|0)|0))<0?(mf(),m=0|t[q>>2],w=Q,oe=0|t[Q>>2]):(m=ae,w=Q,oe=re),te=m,(ne=oe-m|0)>>>0<1073741823?(ce=(le=ne<<1)>>>0<fe>>>0?fe:le,ke=(be=0|t[J>>2])-m|0,0==(0|ce)?(h=0,_e=0,Ee=ke,ve=be):(d=ce,B=be,U=ke,Xe=19)):(d=2147483647,B=se=0|t[J>>2],U=se-m|0,Xe=19),19==(0|Xe)&&(Xe=0,h=d,_e=0|gf(d),Ee=U,ve=B),me=_e+h|0,a[(de=_e+Ee|0)>>0]=K,we=de+1|0,Ae=Oe=de+(0-(Se=ve-m|0)|0)|0,xf(0|Oe,0|te,0|Se),t[q>>2]=Ae,t[J>>2]=we,t[w>>2]=me,0==(0|m)||vf(te)):(a[Z>>0]=K,ie=1+(0|t[J>>2])|0,t[J>>2]=ie),!((0|(ye=Ye+1|0))<(0|o)))break;Ye=ye}else for(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|(xe=Ge+1|0))<(0|n))){Ze=22;break}Ge=xe}22!=(0|Ze)&&25==(0|Ze)&&(Ue=0|he(4),t[Ue>>2]=1144,ue(0|Ue,8,0))}},function(e,r,i){e|=0,i|=0;var f,n,o,s,l,u,c,b,k=0,d=0,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0,I=0,P=0,x=0,L=0,H=0,B=0,U=0,z=0,Y=0,V=0,X=0,W=0,j=0,K=0,G=0,q=0,J=0,Z=0,Q=0,$=0,ee=0,re=0,ie=0,ae=0,fe=0,te=0,ne=0,oe=0,se=0,le=0,ce=0,be=0,ke=0,de=0,_e=0,Ee=0,me=0,we=0,Se=0,ve=0,Oe=0,Ae=0,ye=0,Re=0,ge=0,Fe=0,Me=0,De=0,Te=0,Ne=0,Ce=0,Ie=0,Pe=0,xe=0,Le=0,He=0,Be=0,Ue=0,ze=0,Ye=0,Ve=0,Xe=0,We=0,je=0,Ke=0,Ge=0,qe=0,Je=0,Ze=0,Qe=0,$e=0,er=0,rr=0,ir=0,ar=0,fr=0;if(0==(0|(f=0|pe(r|=0)))&&(te=0|he(4),t[te>>2]=1119,ue(0|te,8,0)),(0|f)>255&&(de=0|he(4),t[de>>2]=1172,ue(0|de,8,0)),u=255&f,a[(c=e+28|0)>>0]=u,b=127&f>>>1,a[(e+29|0)>>0]=b,n=(1+(0|t[(e+12|0)>>2])|0)-(0|t[(e+4|0)>>2])|0,o=(1+(0|t[(e+8|0)>>2])|0)-(0|t[e>>2])|0,(0|n)>0){s=(0|o)>0,l=e+16|0,ar=0;e:for(;;){if(s)if(i)for(ir=0;;){if(-1==(0|(ne=0|uf(r)))){fr=28;break e}if(oe=255&ne,-1==(0|(se=0|uf(r)))){fr=30;break e}if(le=255&se,-1==(0|(ce=0|uf(r)))){fr=32;break e}if((255&(be=255&ce))>(255&(ke=0|a[c>>0]))|(255&oe)>(255&ke)|(255&le)>(255&ke)){fr=34;break e}if(Ee=255&((255&ke)-(255&((255&oe)<(255&(_e=(255&le)<(255&be)?be:le))?_e:oe))|0),we=(me=0|t[l>>2])+(12*ar|0)|0,ve=0|t[(Se=4+(me+(12*ar|0)|0)|0)>>2],ye=Ae=0|t[(Oe=8+(me+(12*ar|0)|0)|0)>>2],(0|ve)==(0|Ae)?((0|(Fe=1+(ve-(ge=0|t[we>>2])|0)|0))<0?(mf(),m=0|t[we>>2],w=Oe,Te=0|t[Oe>>2]):(m=ge,w=Oe,Te=ye),Me=m,(De=Te-m|0)>>>0<1073741823?(Ie=(Ce=De<<1)>>>0<Fe>>>0?Fe:Ce,xe=(Pe=0|t[Se>>2])-m|0,0==(0|Ie)?(h=0,He=0,Be=xe,Ve=Pe):(d=Ie,re=Pe,ie=xe,fr=21)):(d=2147483647,re=Ne=0|t[Se>>2],ie=Ne-m|0,fr=21),21==(0|fr)&&(fr=0,h=d,He=0|gf(d),Be=ie,Ve=re),Ue=He+h|0,a[(Le=He+Be|0)>>0]=Ee,ze=Le+1|0,We=Xe=Le+(0-(Ye=Ve-m|0)|0)|0,xf(0|Xe,0|Me,0|Ye),t[we>>2]=We,t[Se>>2]=ze,t[w>>2]=Ue,0==(0|m)||vf(Me)):(a[ve>>0]=Ee,Re=1+(0|t[Se>>2])|0,t[Se>>2]=Re),!((0|(je=ir+1|0))<(0|o)))break;ir=je}else for(rr=0;;){if(-1==(0|(Ge=0|uf(r)))){fr=28;break e}if(Je=255&Ge,-1==(0|(Ze=0|uf(r)))){fr=30;break e}if($e=255&Ze,-1==(0|(er=0|uf(r)))){fr=32;break e}if((255&(p=255&er))>(255&(O=0|a[c>>0]))|(255&Je)>(255&O)|(255&$e)>(255&O)){fr=34;break e}if(R=(255&(y=(255&p)<(255&$e)?p:$e))<(255&Je)?y:Je,F=(g=0|t[l>>2])+(12*ar|0)|0,D=0|t[(M=4+(g+(12*ar|0)|0)|0)>>2],C=N=0|t[(T=8+(g+(12*ar|0)|0)|0)>>2],(0|D)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>>2]=I,0==(0|(x=0|t[I>>2]))?L=I:((0|t[(H=P+-8|0)>>2])==(0|x)||(t[H>>2]=x),vf(x),L=0|t[N>>2]),(0|L)!=(0|a);)P=L;B=0|t[e>>2]}vf(B),t[n>>2]=0,t[N>>2]=0,t[e>>2]=0,V=0}(s=f>>>0>357913941)?(mf(),w=0|t[n>>2],U=0|t[e>>2],z=w):(U=0,z=V),(l=(0|z-U)/12&-1)>>>0<178956970?(m=(Y=l<<1)>>>0>=f>>>0)|1^s?k=m?Y:f:(mf(),k=f):k=357913941,u=0|gf(12*k|0),t[(e+4|0)>>2]=u,t[e>>2]=u,b=u+(12*k|0)|0,t[n>>2]=b,Fe(e,r,i)}else{if((0|(E=(p=f>>>0>(v=(0|(0|t[(S=e+4|0)>>2])-c)/12&-1)>>>0)?r+(12*v|0)|0:i))==(0|r))d=a;else for(_=r,h=a;;){if((0|h)==(0|_)||ye(h,0|t[_>>2],0|t[(_+4|0)>>2]),A=h+12|0,(0|(O=_+12|0))==(0|E)){d=A;break}_=O,h=A}if(p)return void Fe(e,E,i);if((0|(y=0|t[S>>2]))==(0|d))return;for(g=y;R=g+-12|0,t[S>>2]=R,0==(0|(F=0|t[R>>2]))?M=R:((0|t[(D=g+-8|0)>>2])==(0|F)||(t[D>>2]=F),vf(F),M=0|t[S>>2]),(0|M)!=(0|d);)g=M}},De,Zf,Zf,ye,Zf,Zf,Zf,Zf,Zf,Zf,Zf,Zf,Zf,Zf,Zf,Zf,Zf,function(e,r,i){e|=0,r|=0,i|=0;var f,n,l,u,c,b,k,d,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0;if(d=o,(0|(o=o+16|0))>=(0|s)&&_(),f=d,(0|(l=0|t[(n=e+8|0)>>2]))<(0|i)){if((0|l)!=(0|i)&&(Pe(e,i),(0|(E=(1+(0|t[(e+12|0)>>2])|0)-(0|t[(e+4|0)>>2])|0))>0))for(m=e+16|0,T=E;D=T+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,$f,$f,$f,$f,$f,$f,$f,$f,$f,function(e,r,i,a){r|=0,i|=0,a|=0;var f,n,o,s,l,u,c,b,k,d,_,h,E,m,w,S,v,p,O,A,y,R,g,F,M,D,T=0,N=0,C=0,I=0,P=0,x=0,L=0,H=0,B=0,U=0,z=0,Y=0,V=0,X=0,W=0,j=0,K=0,G=0,q=0,J=0,Z=0,Q=0,$=0,ee=0,re=0,ie=0,ae=0,fe=0,te=0,ne=0,oe=0,se=0,le=0,ue=0,ce=0,be=0,ke=0,de=0,_e=0,he=0,Ee=0,me=0,we=0,Se=0,ve=0,pe=0,Oe=0,Ae=0,ye=0;if(n=f=0|t[(e|=0)>>2],h=f+(((0|t[r>>2])-n|0)>>2<<2)|0,l=w=0|t[i>>2],u=S=0|t[a>>2],!((0|(O=S-w|0))>0))return 0|h;if(!((0|(y=O>>2))>(0|((b=0|t[(c=e+8|0)>>2])-(_=d=0|t[(k=e+4|0)>>2])|0)>>2))){if((0|y)>(0|(X=(V=_-h|0)>>2))){if(j=W=l+(X<<2)|0,(0|W)==(0|u))B=d;else for(P=d,G=W;;){if(K=0|t[G>>2],t[P>>2]=K,q=4+(0|t[k>>2])|0,t[k>>2]=q,(0|(J=G+4|0))==(0|u)){B=q;break}P=q,G=J}if(!((0|V)>0))return 0|h;Z=B,pe=j}else Z=d,pe=S;if((ee=h+(($=(Q=Z-(h+(y<<2)|0)|0)>>2)<<2)|0)>>>0<d>>>0)for(I=Z,ve=ee;re=0|t[ve>>2],t[I>>2]=re,ie=ve+4|0,ae=4+(0|t[k>>2])|0,t[k>>2]=ae,ie>>>0<d>>>0;)I=ae,ve=ie;return Lf(0|Z+((0-$|0)<<2),0|h,0|Q),Lf(0|h,0|(fe=0|t[i>>2]),0|pe-fe),0|h}if((E=((_-n|0)>>2)+y|0)>>>0>1073741823?(mf(),L=0|t[c>>2],U=H=0|t[e>>2],te=H,ne=L):(U=f,te=n,ne=b),(m=ne-te|0)>>2>>>0<536870911?(ce=((ue=h)-te|0)>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|k-f)/12&-1)|0)|0)>>>0<i>>>0;e:do{if(Y){for(E=k,X=z;;){if(t[E>>2]=0,t[(m=E+4|0)>>2]=0,t[(E+8|0)>>2]=0,S=0|t[(w=X+4|0)>>2],v=0|t[X>>2],p=S-v|0,(0|S)!=(0|v)){if((0|p)<0&&(c=0,N(46,0|E),O=c,c=0,1&O)){l=E,u=m;break}if(c=0,A=0|I(29,0|p),y=c,c=0,1&y){l=E,u=m;break}if(t[m>>2]=A,t[E>>2]=A,R=A+p|0,t[(E+8|0)>>2]=R,g=0|t[X>>2],F=0|t[w>>2],(0|g)!=(0|F))for(n=g,D=A;M=0|a[n>>0],a[D>>0]=M,T=0|t[m>>2],C=T+1|0,t[m>>2]=C,(0|(P=n+1|0))!=(0|F);)n=P,D=C}if(H=X+12|0,B=0|t[b>>2],U=B+12|0,t[b>>2]=U,!(H>>>0<i>>>0))break e;E=U,X=H}x=0|q(),0==(0|(L=0|t[l>>2]))&&ie(0|x),(0|(0|t[u>>2]))==(0|L)||(t[u>>2]=L),vf(L),ie(0|x)}}while(0);if((0|k)!=(0|f))for(o=z,s=k;V=s+-12|0,d=o+-12|0,(0|s)==(0|o)||(_=0|t[d>>2],h=0|t[(o+-8|0)>>2],ye(V,_,h)),(0|d)!=(0|r);)o=d,s=V}(e,E,u,E+(12*i|0)|0),Ze=(sr=E>>>0>f>>>0?f:(0|t[A>>2])>>>0>f>>>0?f+(12*i|0)|0:f)+4|0,U=z,Y=E;;){if((0|Y)==(0|sr)||ye(Y,0|t[sr>>2],0|t[Ze>>2]),Qe=Y+12|0,0==(0|($e=U+-1|0))){or=E;break}U=$e,Y=Qe}return o=C,0|or}for(m=e+8|0,(S=((0|k-l)/12&-1)+i|0)>>>0>357913941?(mf(),G=0|t[w>>2],er=0|t[e>>2],rr=G):(er=l,rr=p),L=(v=(0|rr-er)/12&-1)>>>0<178956970?(ir=v<<1)>>>0<S>>>0?S:ir:357913941,O=(0|E-er)/12&-1,t[(T+12|0)>>2]=0,t[(T+16|0)>>2]=m,ar=0==(0|L)?0:0|gf(12*L|0),t[T>>2]=ar,y=ar+(12*O|0)|0,t[(R=T+8|0)>>2]=y,t[(g=T+4|0)>>2]=y,F=ar+(12*L|0)|0,t[(T+12|0)>>2]=F,D=f+4|0,x=i,fr=y;;){if(t[fr>>2]=0,t[(tr=fr+4|0)>>2]=0,t[(fr+8|0)>>2]=0,Z=(nr=0|t[D>>2])-(J=0|t[f>>2])|0,(0|nr)!=(0|J)){if((0|Z)<0&&(c=0,N(46,0|fr),Q=c,c=0,1&Q)){V=fr,X=fr,W=tr,ur=37;break}if(c=0,$=0|I(29,0|Z),ee=c,c=0,1&ee){V=fr,X=fr,W=tr,ur=37;break}if(t[tr>>2]=$,t[fr>>2]=$,re=$+Z|0,t[(fr+8|0)>>2]=re,(0|(ae=0|t[f>>2]))!=(0|(fe=0|t[D>>2])))for(B=ae,ne=$;te=0|a[B>>0],a[ne>>0]=te,oe=1+(0|t[tr>>2])|0,t[tr>>2]=oe,(0|(se=B+1|0))!=(0|fe);)B=se,ne=oe}if(ce=fr+12|0,t[R>>2]=ce,0==(0|(be=x+-1|0))){ur=42;break}x=be,fr=ce}do{if(37==(0|ur))le=0|q(),b,0==(0|(ue=0|t[X>>2]))?(Oe=V,lr=le):((0|t[W>>2])==(0|ue)||(t[W>>2]=ue),vf(ue),Oe=V,lr=le);else if(42==(0|ur)){if(c=0,ke=0|M(97,0|e,0|T,0|E),de=c,c=0,1&de){pe=0|q(),b,Oe=0|t[R>>2],lr=pe;break}if(_e=0|t[g>>2],(0|(he=0|t[R>>2]))!=(0|_e)){for(me=he;0==(0|(we=0|t[(Ee=me+-12|0)>>2]))||((0|t[(Se=me+-8|0)>>2])==(0|we)||(t[Se>>2]=we),vf(we)),(0|Ee)!=(0|_e);)me=Ee;t[R>>2]=_e}return 0==(0|(ve=0|t[T>>2]))||vf(ve),o=C,0|(or=ke)}}while(0);if((0|Oe)!=(0|(d=0|t[g>>2]))){for(Re=Oe;0==(0|(ge=0|t[(Ae=Re+-12|0)>>2]))||((0|t[(Fe=Re+-8|0)>>2])==(0|ge)||(t[Fe>>2]=ge),vf(ge)),(0|Ae)!=(0|d);)Re=Ae;t[R>>2]=d}return 0==(0|(h=0|t[T>>2]))&&ie(0|lr),vf(h),ie(0|lr),0},$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,Aa,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,kr,$f,dr,$f,$f,$f,$f,$f,$f,$f,_r,hr,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$f],kt=[et,et,et,et,et,et,et,et,et,et,et,et,function(e,r,i,a,f,n){i|=0,a|=0,f|=0,(0|(e|=0))==(0|t[(8+(r|=0)|0)>>2])&&Of(0,r,i,a,f)},et,et,et,function(e,r,i,a,f,n){i|=0,a|=0,f|=0,n|=0;var o=0,s=0,l=0;(0|(e|=0))==(0|t[(8+(r|=0)|0)>>2])?Of(0,r,i,a,f):(o=0|t[(e+8|0)>>2],s=0|t[o>>2],l=0|t[(s+20|0)>>2],kt[127&l](o,r,i,a,f,n))},et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,function(e,r,i,a,f,n){e|=0,a|=0,f|=0;var o,s,l,u,c,b,k,d,_,h,E,m,w,S,v,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0,I=0,P=0,x=0,L=0,H=0,B=0,U=0,z=0;if((0|(s=(r|=0)+((n|=0)<<2)|0))!=(0|(i|=0)))for(M=s;(0|t[M>>2])==(0|f)&&(t[M>>2]=0),(0|(x=M+4|0))!=(0|i);)M=x;if(v=(S=0|t[a>>2])+(n<<2)|0,0!=(0|n))for(A=S;(0|t[A>>2])==(0|f)&&(t[A>>2]=0),(0|(y=A+4|0))!=(0|v);)A=y;for(u=0|t[(l=e+4|0)>>2],o=c=0|t[e>>2],p=(u-c|0)>>2;;){if(R=p+-1|0,!((0|p)>0)){O=R,z=12;break}if((0|t[(o+(R<<2)|0)>>2])==(0|f)){g=o,F=R,D=u;break}p=R}if(12==(0|z)&&(Oa(2268),g=0|t[e>>2],F=O,D=0|t[l>>2]),_=(d=D-(k=4+(b=g+(F<<2)|0)|0)|0)>>2,Lf(0|b,0|k,0|d),h=b+(_<<2)|0,(0|(E=0|t[l>>2]))==(0|h)||(U=E+((-1^((E+-4|0)-h|0)>>>2)<<2)|0,t[l>>2]=U),0!=(0|f)){if(0!=(0|(w=0|t[(m=f+16|0)>>2]))){if((0|(N=0|t[(T=f+20|0)>>2]))==(0|w))B=w;else{for(I=N;C=I+-12|0,t[T>>2]=C,0==(0|(P=0|t[C>>2]))?L=C:((0|t[(H=I+-8|0)>>2])==(0|P)||(t[H>>2]=P),vf(P),L=0|t[T>>2]),(0|L)!=(0|w);)I=L;B=0|t[m>>2]}vf(B)}vf(f)}},et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et,et],dt=[rt,rt,rt,rt,rt,rt,rt,rt,rt,rt,rt,rt,rt,rt,rt,rt,rt,rt,rt,rt,rt,rt,rt,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X,0==(0|P)?(J=g,Z=M):(vf(x),J=0|t[qr>>2],Z=0|t[e>>2])}else J=g,Z=M;G=(K=0|t[n>>2])+(12*ni|0)|0,Q=(0|(J+1|0)-Z)>0;r:do{if(Q){if($=4+(K+(12*ni|0)|0)|0,ee=8+(K+(12*ni|0)|0)|0,Zr)ii=0;else for(ri=0;;){if((0|(ze=0|t[$>>2]))==(0|t[ee>>2])){if((0|(We=1+((Ve=ze)-(Xe=0|t[G>>2])|0)|0))<0){if(c=0,N(46,0|G),je=c,c=0,1&je){li=6;break e}S=0|t[G>>2],qe=0|t[ee>>2]}else S=Xe,qe=Ve;if(Ke=S,(Ge=qe-S|0)>>>0<1073741823?(Qe=(Ze=Ge<<1)>>>0<We>>>0?We:Ze,er=($e=0|t[$>>2])-S|0,0==(0|Qe)?(m=0,fr=0,tr=er,ur=$e):(h=Qe,Sr=$e,vr=er,li=65)):(h=2147483647,Sr=Je=0|t[$>>2],vr=Je-S|0,li=65),65==(0|li)){if(li=0,c=0,rr=0|I(29,0|h),ir=c,c=0,1&ir){li=6;break e}m=h,fr=rr,tr=vr,ur=Sr}nr=fr+m|0,a[(ar=fr+tr|0)>>0]=0,or=ar+1|0,br=cr=ar+(0-(lr=ur-S|0)|0)|0,xf(0|cr,0|Ke,0|lr),t[G>>2]=br,t[$>>2]=or,t[ee>>2]=nr,0==(0|S)||vf(Ke)}else a[ze>>0]=0,Ye=1+(0|t[$>>2])|0,t[$>>2]=Ye;if(!((0|(kr=ri+1|0))<(0|(1+(dr=0|t[qr>>2])|0)-(_r=0|t[e>>2])))){hr=_r,Er=dr;break r}ri=kr}for(;;){for(ae=(re=0|k(ii,i))+i|0,fe=0|t[Jr>>2],ai=$r,oi=0;;){for(Pe=0|t[(fe+(12*ai|0)|0)>>2],fi=re,si=oi;;){if(Le=(255&(0|a[(Pe+fi|0)>>0]))+si|0,!((0|(He=fi+1|0))<(0|ae))){p=Le;break}fi=He,si=Le}if(!((0|(xe=ai+1|0))<(0|ei))){O=p;break}ai=xe,oi=p}if(te=(0|O)/(0|Fr)&-1&255,(0|(ne=0|t[$>>2]))==(0|t[ee>>2])){if((0|(ue=1+((se=ne)-(le=0|t[G>>2])|0)|0))<0){if(c=0,N(46,0|G),ce=c,c=0,1&ce){li=55;break e}v=0|t[G>>2],de=0|t[ee>>2]}else v=le,de=se;if(be=v,(ke=de-v|0)>>>0<1073741823?(Ee=(he=ke<<1)>>>0<ue>>>0?ue:he,we=(me=0|t[$>>2])-v|0,0==(0|Ee)?(w=0,Oe=0,Ae=we,Fe=me):(E=Ee,mr=me,wr=we,li=47)):(E=2147483647,mr=_e=0|t[$>>2],wr=_e-v|0,li=47),47==(0|li)){if(li=0,c=0,Se=0|I(29,0|E),ve=c,c=0,1&ve){li=55;break e}w=E,Oe=Se,Ae=wr,Fe=mr}ye=Oe+w|0,a[(pe=Oe+Ae|0)>>0]=te,Re=pe+1|0,De=Me=pe+(0-(ge=Fe-v|0)|0)|0,xf(0|Me,0|be,0|ge),t[G>>2]=De,t[$>>2]=Re,t[ee>>2]=ye,0==(0|v)||vf(be)}else a[ne>>0]=te,oe=1+(0|t[$>>2])|0,t[$>>2]=oe;if(!((0|(Te=ii+1|0))<(0|(1+(Ce=0|t[qr>>2])|0)-(Ie=0|t[e>>2])))){hr=Ie,Er=Ce;break}ii=Te}}else hr=Z,Er=J}while(0);if(!((0|(Ue=ni+1|0))<(0|(1+(0|t[Pr>>2])|0)-(0|t[xr>>2])))){li=31;break}g=Er,M=hr,ni=Ue}if(6==(0|li)){ti=0|q();break}if(7==(0|li)){ti=0|q();break}if(31==(0|li))return;if(55==(0|li)){ti=0|q();break}}}while(0);if(8==(0|li)&&(ti=0|q()),0==(0|(l=0|t[n>>2]))&&ie(0|ti),(0|(u=0|t[o>>2]))==(0|l))gr=l;else{for(Or=u;pr=Or+-12|0,t[o>>2]=pr,0==(0|(Ar=0|t[pr>>2]))?yr=pr:((0|t[(Rr=Or+-8|0)>>2])==(0|Ar)||(t[Rr>>2]=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b>>2]=H_,t[Wb>>2]=I_,t[ge>>2]=N_,0==(0|re))break;vf(E_)}else c_=0|a[n_>>0],a[o_>>0]=c_,k_=1+(0|t[Wb>>2])|0,t[Wb>>2]=k_}while(0);if(!((0|Bb)<(0|Pc)))break a;Rh=Bb}if(242==(0|Ch)){hh=0|q();break i}if(243==(0|Ch)){hh=0|q();break i}if(244==(0|Ch)){hh=0|q();break i}}}while(0);if(B_=0|t[yl>>2],U_=0|t[p>>2],t[yl>>2]=U_,t[p>>2]=B_,Y_=p+4|0,V_=0|t[Rl>>2],X_=0|t[Y_>>2],t[Rl>>2]=X_,t[Y_>>2]=V_,W_=p+8|0,j_=0|t[fc>>2],K_=0|t[W_>>2],t[fc>>2]=K_,t[W_>>2]=j_,G_=B_,q_=V_,0!=(0|B_)){if((0|q_)==(0|G_))qe=B_;else{for(We=q_;Xe=We+-12|0,t[Y_>>2]=Xe,0==(0|(je=0|t[Xe>>2]))?Ke=Xe:((0|t[(Ge=We+-8|0)>>2])==(0|je)||(t[Ge>>2]=je),vf(je),Ke=0|t[Y_>>2]),(0|Ke)!=(0|G_);)We=Ke;qe=0|t[p>>2]}vf(qe)}Ne=Rl,Ce=yl,Ie=yl;break e}}while(0);if(246==(0|Ch)&&(hh=0|q()),0==(0|(ob=0|t[p>>2]))&&ie(0|hh),(0|(lb=0|t[(sb=p+4|0)>>2]))==(0|ob))_b=ob;else{for(cb=lb;ub=cb+-12|0,t[sb>>2]=ub,0==(0|(bb=0|t[ub>>2]))?kb=ub:((0|t[(db=cb+-8|0)>>2])==(0|bb)||(t[db>>2]=bb),vf(bb),kb=0|t[sb>>2]),(0|kb)!=(0|ob);)cb=kb;_b=0|t[p>>2]}vf(_b),ie(0|hh)}if(Qe=0|k(Ze=1|(Je=(0|$)/2&-1)<<1,Ze),(0|(er=(0|(0|t[Rl>>2])-($e=0|t[yl>>2]))/12&-1))<(0|Ze)|(0|(fr=(ir=0|t[($e+4|0)>>2])-(ar=0|t[$e>>2])|0))<(0|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>>2]=La,t[Si>>2]=Ca,t[vi>>2]=Ta,0==(0|oe))break;vf(ha)}else la=0|a[na>>0],a[oa>>0]=la,ua=1+(0|t[Si>>2])|0,t[Si>>2]=ua}while(0);if(!((0|(Ha=th+1|0))<(0|Je)))break;th=Ha}t:do{if(ti){if(oi)uh=Je;else for(pi=(0|Qe)/(0|si)&-1&255,lh=Je;;){Ua=(0|(Ba=0|t[Si>>2]))==(0|t[vi>>2]);do{if(Ua){if((0|(Wa=1+((Ya=Ba)-(Va=0|t[mi>>2])|0)|0))<0){if(c=0,N(46,0|mi),ja=c,c=0,1&ja){Ch=339;break f}te=0|t[mi>>2],qa=0|t[vi>>2]}else te=Va,qa=Ya;if(Ka=te,(Ga=qa-te|0)>>>0<1073741823?(Qa=(Za=Ga<<1)>>>0<Wa>>>0?Wa:Za,ef=($a=0|t[Si>>2])-te|0,0==(0|Qa)?(W=0,nf=0,of=ef,cf=$a):(x=Qa,Xt=$a,jt=ef,Ch=404)):(x=2147483647,Xt=Ja=0|t[Si>>2],jt=Ja-te|0,Ch=404),404==(0|Ch)){if(Ch=0,c=0,rf=0|I(29,0|x),af=c,c=0,1&af){Ch=339;break f}W=x,nf=rf,of=jt,cf=Xt}if(sf=nf+W|0,a[(ff=nf+of|0)>>0]=pi,lf=ff+1|0,kf=bf=ff+(0-(uf=cf-te|0)|0)|0,xf(0|bf,0|Ka,0|uf),t[mi>>2]=kf,t[Si>>2]=lf,t[vi>>2]=sf,0==(0|te))break;vf(Ka)}else a[Ba>>0]=pi,za=1+(0|t[Si>>2])|0,t[Si>>2]=za}while(0);if(!((0|(df=lh+1|0))<(0|fi))){ch=fi;break t}lh=df}for(;;){for($i=0|t[yl>>2],Eh=ni,Th=0;;){for(ra=0|t[($i+(12*(Eh+Dh|0)|0)|0)>>2],ih=ni,Nh=Th;;){if(fa=(255&(0|a[(ra+(ih+uh|0)|0)>>0]))+Nh|0,(0|(ta=ih+1|0))==(0|Je)){ce=fa;break}ih=ta,Nh=fa}if((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(S=2147483647);for(a=e+16|0,w=n,v=2147483647;;){if((0|(k=0|Qe(r,w)))<(0|v))d=w-(0|t[u>>2])|0,p=(0|(h=0|Fa((0|t[a>>2])+(d<<3)|0,c)))<(0|v)&&(0|(E=0|Ze(h,k)))<(0|v)?E:v;else{if((0|w)<(0|t[l>>2])){S=v,O=8;break}p=v}if(m=w+-1|0,!((0|w)>(0|t[u>>2]))){S=p,O=8;break}w=m,v=p}return 8==(0|O)?(o=b,0|S):0},rt,rt,rt,rt,rt,function(e,r){r|=0;var i,a,f=0,n=0;if((0|t[(8+(e|=0)|0)>>2])<(0|(i=0|t[r>>2])))return 1;if(!((0|(a=0|t[e>>2]))>(0|t[(r+8|0)>>2]))){if((0|(n=0|t[(e+4|0)>>2]))<(0|(f=0|t[(r+4|0)>>2])))return 1;if((0|n)==(0|f)&(0|a)<(0|i))return 1}return 0},function(e,r){e|=0;var i,a,f=0,n=0;return i=0|t[(12+(r|=0)|0)>>2],(0|(a=0|t[(e+4|0)>>2]))<(0|i)?0|((0|(f=0|t[(r+4|0)>>2]))<(0|(n=0|t[(e+12|0)>>2]))?0:f-n|0):0|a-i},rt,rt,rt,Ue,rt,rt,rt,rt,rt,rt,Ye,rt,rt,_i,Ve,Je,Xe,rt,function(e,r){var i,a,f,n,o,s,l,u,c,b;return i=12+(e|=0)|0,u=4+(r|=0)|0,(0|(a=((0|(o=0|t[(r+12|0)>>2]))<(0|(l=0|t[i>>2]))?o:l)-((0|(c=0|t[(e+4|0)>>2]))<(0|(b=0|t[u>>2]))?b:c)|0))>-1?0|((0|(s=(0|100+(100*a|0))/(0|((0|(n=(o+1|0)-b|0))<(0|(f=(l+1|0)-c|0))?n:f))&-1))>1?s:1):0},rt,rt,rt,function(e,r){r|=0;var i,a,f,n,o,s,l,u,c=0,b=0,d=0,_=0,h=0;if(i=0|t[(4+(e|=0)|0)>>2],l=o=0|t[e>>2],(0|i)==(0|o))return 0;for(u=(0|i-o)/20&-1,_=0;;){if(!((b=_+1|0)>>>0<u>>>0&(0|(d=0|t[(8+(l+(20*_|0)|0)|0)>>2]))<(0|r))){c=d,h=_;break}_=b}return(0|c)!=(0|(a=0|t[(l+(20*h|0)|0)>>2]))&(0|(f=0|t[(12+(l+(20*h|0)|0)|0)>>2]))!=(0|(n=0|t[(4+(l+(20*h|0)|0)|0)>>2]))?(s=c-a|0,0|((0|k(f-n|0,r-a|0))/(0|s)&-1)+n):0|n},rt,Ni,Ti,function(e,r){r|=0;var i,a,f,n,o=0,s=0,l=0,u=0,c=0,b=0,k=0;if(i=16+(e|=0)|0,!((0|(0|t[(a=e+20|0)>>2])-(n=0|t[i>>2]))>0))return 0|(u=0);for(o=n,c=0;;){if(0|We(0|t[(o+(c<<2)|0)>>2],r)){b=c;break}if(!((0|(s=c+1|0))<(0|((0|t[a>>2])-(l=0|t[i>>2])|0)>>2))){u=0,k=6;break}o=l,c=s}return 6==(0|k)?0|u:(f=0|t[i>>2],0|(u=0|t[(f+(b<<2)|0)>>2]))},rt,rt,rt,rt,rt,function(e,r){var i,f,n,o,s,l,u,c,b,d=0,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0;if(0!=(0|(i=0|Ra(e|=0,r|=0))))return 0|i;if(s=0|t[e>>2],l=0|t[(s+4|0)>>2],c=0|t[(u=r+4|0)>>2],!((0|l)<(0|(f=(0|(0|t[(b=r+12|0)>>2])+c)/2&-1)))&&0|function(e){var r,i,f,n,o,s,l,u,c,b=0,d=0,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0,I=0,P=0,x=0,L=0,H=0,B=0,U=0,z=0,Y=0,V=0;if(i=28+(r=0|t[(e|=0)>>2])|0,(0|t[(r+32|0)>>2])!=(0|t[i>>2]))return 0;if((0|(f=(1+(0|t[(r+12|0)>>2])|0)-(c=0|t[(r+4|0)>>2])|0))<=(0|(s=(1+(n=0|t[(r+8|0)>>2])|0)-(o=0|t[r>>2])|0))|(0|f)>(0|3*s))return 0;if(!((0|f)>2&(0|s)>2))return 1;if(l=s+c|0,(0|s)>0)for(h=(0|o)>(0|n),E=r,B=c,z=0;;){if(h)N=E,Y=z;else for(m=B-(0|t[(E+4|0)>>2])|0,w=0|t[(E+16|0)>>2],S=0|t[E>>2],v=0|t[(w+(12*m|0)|0)>>2],C=o,V=z;;){if(_=(1&(0|a[(v+(C-S|0)|0)>>0])<<24>>24!=0)+V|0,M=C+1|0,!((0|C)<(0|n))){N=r,Y=_;break}C=M,V=_}if(!((0|(F=B+1|0))<(0|l))){U=Y;break}E=N,B=F,z=Y}else U=0;if(!((0|U)<(0|k(u=s+-2|0,u))|(0|o)>(0|n))){for(p=0|t[(r+4|0)>>2],O=0|t[(r+16|0)>>2],A=0|t[r>>2],y=0|t[(O+12|0)>>2],R=0|t[(r+12|0)>>2],g=0|t[(O+(12*(R+(-1^p)|0)|0)|0)>>2],I=o,P=0,x=0;;){if(b=(1&(0|a[(y+(D=I-A|0)|0)>>0])<<24>>24!=0)+P|0,L=(1&(0|a[(g+D|0)>>0])<<24>>24!=0)+x|0,T=I+1|0,!((0|I)<(0|n))){d=b,H=L;break}I=T,P=b,x=L}if((0|d)>(0|H))return 1}return 0}(e))return 44;o=(0|(n=0|t[(s+12|0)>>2]))>(0|f);do{if(o)v=n,p=l;else{if((0|(n+1|0)-l)>(0|(1+(0|t[(s+8|0)>>2])|0)-(0|t[s>>2]))){if(1!=(0|la(_=e+200|0,-1))){d=0|t[e>>2],v=0|t[(d+12|0)>>2],p=0|t[(d+4|0)>>2];break}return E=0|sa(h=e+104|0,0,-1),(0|t[(e+112|0)>>2])<0&&Hi(h),m=e+140|0,(0|E)<(0|(0|(50*(((0|t[(e+144|0)>>2])-(0|t[m>>2])|0)>>2)|0)-50)/100&-1)&&(w=0|sa(_,0,-1),(0|t[(e+208|0)>>2])<0&&Hi(_),S=e+236|0,(0|w)>(0|(0|(50*(((0|t[(e+240|0)>>2])-(0|t[S>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0,a=0|t[e>>2],1!=(0|la(i,(0|(1+(0|t[(a+12|0)>>2])|0)-(0|t[(a+4|0)>>2]))/4&-1)))return o=x,0;if(f=e+104|0,n=0|t[e>>2],1!=(0|la(f,(0|(1+(0|t[(n+12|0)>>2])|0)-(0|t[(n+4|0)>>2]))/2&-1)))return o=x,0;if(d=0|t[e>>2],1!=(0|la(i,(0|(1+(0|t[(d+12|0)>>2])|0)-(0|t[(d+4|0)>>2]))/2&-1)))return o=x,0;M=0|t[e>>2],D=(1+(0|t[(M+12|0)>>2])|0)-(0|t[(M+4|0)>>2])|0,N=1+((0|((0|(T=(1+(0|t[(M+8|0)>>2])|0)-(0|t[M>>2])|0))<(0|D)?T:D))/30&-1)|0,C=1!=(0|la(f,(0|D)/4&-1));e:do{if(!C){t[I>>2]=0,t[P>>2]=0,nr=0|Ar(0|t[e>>2],I);do{if(nr)if(lr=0|t[I>>2],cr=0|k(lr,-2),wr=0|t[e>>2],(0|cr)>(0|(Pr=(1+(0|t[(wr+12|0)>>2])|0)-(0|t[(wr+4|0)>>2])|0))){if(!((0|Pr)<(0|3*(0|Ui(zr=e+296|0)))||0|Zi(e+56|0))){if(0==(0|Sa(e))){L=108;break}if(ei=0|t[(e+8|0)>>2],ni=0|t[(ei+12|0)>>2],ui=0|t[e>>2],_i=0|t[(ui+4|0)>>2],(0|ni)<(0|((0|(0|t[(ui+12|0)>>2])-_i)/5&-1)+_i)){L=108;break}}(0|t[(e+304|0)>>2])<0&&Hi(zr),hi=e+332|0,Ei=(0|Xi(zr,(0|(6*(((0|t[(e+336|0)>>2])-(0|t[hi>>2])|0)>>2)|0)-6)/100&-1))<<1,mi=0|t[e>>2],(0|Ei)<(0|(1+(0|t[(mi+8|0)>>2])|0)-(0|t[mi>>2]))&&(0|Sa(e))>0&&(0|Sa(e))<3?(j=0|t[(e+8|0)>>2],K=0|t[(j+4|0)>>2],G=0|t[e>>2],q=0|t[(G+4|0)>>2],(0|K)<(0|((0|15*((J=0|t[(G+12|0)>>2])-q|0))/100&-1)+q)?vi=19:(0|t[(j+12|0)>>2])<(0|(0|J+q)/2&-1)&&0|Aa((1+(0|t[(j+8|0)>>2])|0)-(0|t[j>>2])|0,0|Ui(zr),10,1)?L=116:vi=19):vi=19}else vi=19;else vi=19}while(0);do{if(19==(0|vi)){if(0|Or(0|t[e>>2],P)){if(Z=3*(0|t[P>>2])|0,Q=0|t[e>>2],(0|Z)>(0|($=(1+(0|t[(Q+12|0)>>2])|0)-(0|t[(Q+4|0)>>2])|0)<<1)&&(0|$)>(0|(0|Ui(e+296|0))<<1)&&(ee=0|sa(f,0,-1),(0|t[(e+112|0)>>2])<0&&Hi(f),re=e+140|0,(0|ee)>(0|(0|(50*(((0|t[(e+144|0)>>2])-(0|t[re>>2])|0)>>2)|0)-50)/100&-1)&&(ie=0|sa(i,0,-1),(0|t[(e+208|0)>>2])<0&&Hi(i),ae=e+236|0,!((0|ie)>(0|(0|(50*(((0|t[(e+240|0)>>2])-(0|t[ae>>2])|0)>>2)|0)-50)/100&-1))))){if(0==(0|t[I>>2])){L=102;break}if(fe=e+152|0,(0|t[(e+160|0)>>2])<0&&Hi(fe),te=e+188|0,0|ji(fe,(0|(50*(((0|t[(e+192|0)>>2])-(0|t[te>>2])|0)>>2)|0)-50)/100&-1,2)){L=102;break}}if(ne=(0|t[I>>2])<<1,oe=0|t[e>>2],(0|ne)>(0|(se=(1+(0|t[(oe+12|0)>>2])|0)-(0|t[(oe+4|0)>>2])|0))){if((0|(0|t[P>>2])<<1)>(0|se)){L=0;break}wi=0}else wi=0}else wi=1;Si=wi;break e}}while(0);return o=x,0|L}Si=1}while(0);if(l=e+152|0,(0|t[(u=e+160|0)>>2])<0&&Hi(l),c=e+188|0,h=(0|Xi(l,(0|(50*(((0|t[(b=e+192|0)>>2])-(0|t[c>>2])|0)>>2)|0)-50)/100&-1))<<1,E=0|t[e>>2],(0|h)>(0|(1+(0|t[(E+8|0)>>2])|0)-(0|t[E>>2])))if((0|t[(e+208|0)>>2])<0&&Hi(i),le=e+236|0,ue=(0|Xi(i,(0|(50*(((0|t[(e+240|0)>>2])-(0|t[le>>2])|0)>>2)|0)-50)/100&-1))<<1,ce=0|t[e>>2],(0|ue)>(0|(1+(0|t[(ce+12|0)>>2])|0)-(0|t[(ce+4|0)>>2]))){if(C|(be=0|fa(f,50)))return o=x,0|(be?114:0)}else vi=43;else vi=43;if(43==(0|vi)&&C)return o=x,0;if(1!=(0|va(e)))return o=x,0;if(w=0|t[(m=e+20|0)>>2],(0|(1+(S=0|t[(w+8|0)>>2])|0)-(v=0|t[w>>2]))<2)return o=x,0;if(p=(0|v+S)/2&-1,O=0|t[e>>2],A=0|t[O>>2],(0|p)>(0|(0|(y=0|t[(O+8|0)>>2])+A)/2&-1))return o=x,0;(0|t[u>>2])<0&&Hi(l),R=2+(y-(0|Xi(l,(0|(50*(((0|t[b>>2])-(0|t[c>>2])|0)>>2)|0)-50)/100&-1))|0)|0,g=0|t[e>>2],F=(0|R)<(0|t[(g+8|0)>>2]);e:do{if(F){if(ke=0|t[(g+4|0)>>2],de=0|hr(g,(0|(0|t[(g+12|0)>>2])+ke)/2&-1,R,1),_e=0|t[e>>2],(0|de)<(0|t[(_e+12|0)>>2])?0|Sr(_e,de+-1|0,R)&&(vi=52):vi=52,52==(0|vi)){if(he=3==(0|la(l,-1)),Ee=0|t[e>>2],he){H=(0|la(l,(0|(1+(0|t[(Ee+8|0)>>2])|0)-(0|t[Ee>>2]))/8&-1))<3?102:0;break}if(0|Aa((1+(0|t[(Ee+12|0)>>2])|0)-(0|t[(Ee+4|0)>>2])|0,(1+(0|t[(Ee+8|0)>>2])|0)-(0|t[Ee>>2])|0,40,1)){if(me=0|t[e>>2],2==(0|la(f,(0|(1+(0|t[(me+12|0)>>2])|0)-(0|t[(me+4|0)>>2]))/8&-1))&&(we=0|t[e>>2],2==(0|la(i,(0|(1+(0|t[(we+12|0)>>2])|0)-(0|t[(we+4|0)>>2]))/8&-1)))){H=120;break}if(Se=0|t[e>>2],ve=0|t[(Se+4|0)>>2],pe=((0|75*((0|t[(Se+12|0)>>2])-ve|0))/100&-1)+ve|0,Oe=0|t[Se>>2],Ae=1+(0|_r(Se,pe,(0|(0|t[(Se+8|0)>>2])+Oe)/2&-1,0))|0,ye=0|_r(0|t[e>>2],pe,Ae,1),Re=0|t[e>>2],!((0|ye)<(0|t[(Re+8|0)>>2]))){if(0|qi(ge=e+56|0)){if(Fe=0|t[e>>2],Me=0|t[Fe>>2],(0|R)>(0|((0|60*((0|t[(Fe+8|0)>>2])-Me|0))/100&-1)+Me)){H=0;break}if((0|de)<(0|t[(Fe+12|0)>>2])){H=0;break}}De=1==(0|Sa(e));do{if(De)Ie=0|t[(e+8|0)>>2],xe=0|t[e>>2],vi=66;else{if(2!=(0|Sa(e)))break;if(Te=0|t[(e+8|0)>>2],Ne=0|t[(Te+28|0)>>2],Ce=0|t[e>>2],(0|Ne)<(0|(0|t[(Ce+12|0)>>2])-1))break;(0|((1+(0|t[(Te+8|0)>>2])|0)-(0|t[Te>>2])|0)<<1)>(0|3*((1+(0|t[(Te+24|0)>>2])|0)-(0|t[(Te+16|0)>>2])|0))&&(Ie=Te,xe=Ce,vi=66)}}while(0);do{if(66==(0|vi)){if((0|(Pe=0|t[(Ie+4|0)>>2]))>(0|1+(Le=0|t[(xe+4|0)>>2])))break;if((0|((1-Pe|0)+(0|t[(Ie+12|0)>>2])|0)<<2)>(0|(1-Le|0)+(0|t[(xe+12|0)>>2])))break;if((0|t[(e+64|0)>>2])<0&&Hi(ge),He=e+92|0,Be=(0|Xi(ge,(0|(50*(((0|t[(e+96|0)>>2])-(0|t[He>>2])|0)>>2)|0)-50)/100&-1))<<2,Ue=0|t[e>>2],!((0|Be)<(0|(1+(0|t[(Ue+8|0)>>2])|0)-(0|t[Ue>>2])))){H=84;break e}}}while(0);(0|t[u>>2])<0&&Hi(l),ze=3*(0|Xi(l,(0|(50*(((0|t[b>>2])-(0|t[c>>2])|0)>>2)|0)-50)/100&-1))|0,Ye=0|t[e>>2],H=(0|ze)>(0|(1+(0|t[(Ye+8|0)>>2])|0)-(0|t[Ye>>2]))?114:0;break}}}Ve=0|t[e>>2],0|Aa((1+(0|t[(Ve+12|0)>>2])|0)-(0|t[(Ve+4|0)>>2])|0,(1+(0|t[(Ve+8|0)>>2])|0)-(0|t[Ve>>2])|0,40,1)?(Xe=0|t[e>>2],We=0|t[(Xe+4|0)>>2],je=((0|15*((0|t[(Xe+12|0)>>2])-We|0))/100&-1)+We|0,(0|(Ge=0|t[(Ke=e+32|0)>>2]))==(0|t[(qe=e+36|0)>>2])?(ha(e),Y=0|t[Ke>>2],B=V=0|t[e>>2],Ze=0|t[(V+4|0)>>2],$e=Y):(B=Xe,Ze=We,$e=Ge),Qe=$e+(12*(Je=je-Ze|0)|0)|0,24==(0|(0|t[(4+($e+(12*Je|0)|0)|0)>>2])-(0|t[Qe>>2]))?(er=((0|85*((0|t[(B+12|0)>>2])-Ze|0))/100&-1)+Ze|0,(0|$e)==(0|t[qe>>2])?(ha(e),z=0|t[Ke>>2],U=X=0|t[e>>2],ir=0|t[(X+4|0)>>2],fr=z):(U=B,ir=Ze,fr=$e),ar=fr+(12*(rr=er-ir|0)|0)|0,24==(0|(0|t[(4+(fr+(12*rr|0)|0)|0)>>2])-(0|t[ar>>2]))?(tr=0|_r(U,de+-1|0,R,1),or=0|t[e>>2],(0|tr)<(0|t[(or+8|0)>>2])&&0|fa(e+56|0,50)?H=120:vi=83):vi=83):vi=83):vi=83}else vi=83}while(0);e:do{if(83==(0|vi)){sr=0|t[e>>2],br=(0|3*((1+(0|t[(sr+12|0)>>2])|0)-(0|t[(sr+4|0)>>2])|0))>(0|((1+(0|t[(sr+8|0)>>2])|0)-(ur=0|t[sr>>2])|0)<<2);r:do{if(br&&(kr=0|t[m>>2],(0|t[kr>>2])>(0|ur)&&(0|la(l,-1))<3)){if(dr=0|t[e>>2],Er=0|t[(dr+8|0)>>2],(0|t[u>>2])<0&&Hi(l),pr=Er-((0|(vr=(0|Xi(l,(0|(50*(((0|t[b>>2])-(0|t[c>>2])|0)>>2)|0)-50)/100&-1))-1|0))>0?vr:0)|0,yr=0|t[e>>2],Rr=0|t[(yr+4|0)>>2],gr=e+296|0,!(0|Sr(yr,(0|(0|t[(yr+12|0)>>2])+Rr)/2&-1,pr))){(0|t[(e+304|0)>>2])<0&&Hi(gr),Fr=e+332|0,Mr=3*(0|Xi(gr,(0|(6*(((0|t[(e+336|0)>>2])-(0|t[Fr>>2])|0)>>2)|0)-6)/100&-1))|0,Dr=0|t[e>>2],Tr=(0|Mr)<(0|((1+(0|t[(Dr+8|0)>>2])|0)-(0|t[Dr>>2])|0)<<1);do{if(Tr){if(!(0|Zi(f)))break;if(Cr=0|sa(Nr=e+56|0,0,-1),(0|t[(e+64|0)>>2])<0&&Hi(Nr),Ir=e+92|0,(0|Cr)<(0|(0|(40*(((0|t[(e+96|0)>>2])-(0|t[Ir>>2])|0)>>2)|0)-40)/100&-1)){H=116;break e}}}while(0);H=0;break e}if(xr=(0|Ui(gr))<<1,Lr=0|t[e>>2],(0|xr)>(0|(1+(0|t[(Lr+8|0)>>2])|0)-(0|t[Lr>>2]))){if(Hr=0|sa(l,0,-1),(0|t[u>>2])<0&&Hi(l),!((0|Hr)<(0|(0|(20*(((Br=0|t[b>>2])-(Ur=0|t[c>>2])|0)>>2)|0)-20)/100&-1))){do{if(Si){if(0|qi(l))break;if(Jr=0|t[e>>2],1==(0|la(i,(0|(1+(0|t[(Jr+12|0)>>2])|0)-(0|t[(Jr+4|0)>>2]))/3&-1))){H=116;break e}}}while(0);H=0;break e}(0|t[u>>2])<0?(Hi(l),W=0|t[b>>2],Yr=0|t[c>>2],Vr=W):(Yr=Ur,Vr=Br),Xr=0|ji(l,(0|(20*((Vr-Yr|0)>>2)|0)-20)/100&-1,2);do{if(!Xr){if(0|ji(i,1,2))break;if(2==(0|la(f,N)))break;if(1==(0|la(l,-1))){if(Wr=0|t[e>>2],(0|(1+(0|t[(Wr+12|0)>>2])|0)-(0|t[(Wr+4|0)>>2]))<(0|(1+(0|t[(r+12|0)>>2])|0)-(0|t[(r+4|0)>>2])))break;if(jr=0|sa(f,0,-1),(0|t[(e+112|0)>>2])<0&&Hi(f),Kr=e+140|0,(0|jr)>(0|(0|(50*(((0|t[(e+144|0)>>2])-(0|t[Kr>>2])|0)>>2)|0)-50)/100&-1))break}if(qr=0|t[e>>2],(0|3*((1+(0|t[(qr+12|0)>>2])|0)-(0|t[(qr+4|0)>>2])|0))<(0|5*((1+(0|t[(qr+8|0)>>2])|0)-(0|t[qr>>2])|0)))break r;if(0|aa(l))break r;H=102;break e}}while(0);Gr=0|t[e>>2],H=(0|(1+(0|t[(Gr+12|0)>>2])|0)-(0|t[(Gr+4|0)>>2]))>(0|3*(0|Ui(gr)))?0:114;break e}}}while(0);if(Zr=0|t[e>>2],Qr=0|t[(Zr+4|0)>>2],ri=0|hr(Zr,(0|(0|t[(Zr+12|0)>>2])+Qr)/2&-1,(1+($r=0|t[Zr>>2])|0)+((0|60*((0|t[(Zr+8|0)>>2])-$r|0))/100&-1)|0,1),ii=0|t[e>>2],!((0|ri)<(0|t[(ii+12|0)>>2]))){H=2==(0|la(l,-1))?102:114;break}if(ai=0|t[m>>2],fi=0|t[(ai+8|0)>>2],ti=0|t[ii>>2],(0|fi)>(0|(0|(0|t[(ii+8|0)>>2])+ti)/2&-1))return o=x,0;if(1!=(0|Sa(e)))return o=x,0;if(oi=0|t[(e+8|0)>>2],si=0|t[(oi+12|0)>>2],li=0|t[e>>2],(0|si)<(0|(0|t[(li+12|0)>>2])-1))return o=x,0;if(!(0|aa(e+56|0)))return o=x,0;if(!(0|aa(l)))return o=x,0;if(ci=0|t[e>>2],bi=0|t[(ci+4|0)>>2],ki=(0|(0|t[(ci+12|0)>>2])+bi)/2&-1,di=0|t[ci>>2],0|mr(ci,ki,((0|75*((0|t[(ci+8|0)>>2])-di|0))/100&-1)+di|0))return o=x,0;H=114}}while(0);return o=x,0|H},rt,rt,ya,rt,function(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=aa;break}vi=ce,yi=Ri,Ti=Ni,Gi=Ji,ia=aa}}else mi=0,Oi=pi,gi=Ai,Mi=Fi,Ci=Di,ji=Wi,Qi=Ki,ea=$i,fa=ra}while(0);if(mi|(0|wi)>1)break;be=wi+1|0,ir=0|t[Cr>>2],nr=0|t[(Cr+8|0)>>2],Tr=0|t[(Cr+4|0)>>2],wi=be,pi=Oi,Ai=gi,Fi=Mi,Di=Ci,Wi=ji,Ki=Qi,$i=ea,ra=fa}if(!mi)return o=x,0|(L=0);c=(n=0|Sr(Cr,fa,Qi))&(u=0|mr(0|t[e>>2],Mi,Oi)),b=0|t[e>>2],d=0|t[(b+4|0)>>2],h=(0|(0|t[(b+12|0)>>2])+d)/2&-1,E=0|t[b>>2],m=(0|(0|t[(b+8|0)>>2])+E)/2&-1,w=h-d|0,S=0|t[(b+16|0)>>2],v=m-E|0,p=0|t[(S+(12*w|0)|0)>>2],O=(0|a[(p+v|0)>>0])<<24>>24!=0?42:0,A=0|Er(b,Ci,gi),y=0|t[e>>2];e:do{if(A){if(0|Er(y,ea,ji)){if(c)return o=x,0|(L=O);if(n|u)break;if(ke=0|t[e>>2],(0|(1+(0|t[(ke+12|0)>>2])|0)-(0|t[(ke+4|0)>>2]))>(0|3*((1+(0|t[(ke+8|0)>>2])|0)-(0|t[ke>>2])|0)))break;if(de=0|la(e+56|0,-1),he=0|la(_e=e+152|0,-1),3!=(1|de))break;switch(0|he){case 1:break;case 2:return o=x,0|(L=51);default:break e}if(Ee=0|sa(_e,0,-1),(0|t[(e+160|0)>>2])<0&&Hi(_e),me=e+188|0,!((0|Ee)<(0|(0|(80*(((0|t[(e+192|0)>>2])-(0|t[me>>2])|0)>>2)|0)-80)/100&-1)))break;return o=x,0|(L=51)}if(0|wr(0|t[e>>2],ea,ji)){if(c)return o=x,0|(L=O);we=e+152|0,Se=Mi+1|0,ve=0|t[e>>2],pe=0|Xi(we,Se-(0|t[(ve+4|0)>>2])|0),Oe=0|t[e>>2],Ae=(0|pe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Xe+4|0)>>2],(0|ea)>(0|((0|55*((0|t[(Xe+12|0)>>2])-We|0))/100&-1)+We)?(je=0|_r(Xe,ea+-1|0,ji,1),Ke=0|t[e>>2],(0|je)<(0|t[(Ke+8|0)>>2])?(Ge=0|t[(Ke+4|0)>>2],qe=0|t[(Ke+12|0)>>2],o=x,0|(L=(0|ea)>(0|((0|63*(qe-Ge|0))/100&-1)+Ge)?199:231)):(o=x,0|(L=115))):(o=x,0|(L=115))):(o=x,0|(L=115))}}else if(0|wr(y,Ci,gi)){if(!(0|wr(0|t[e>>2],ea,ji))){if(!(0|Er(0|t[e>>2],ea,ji)))break;do{if(!(c||(yr=e+56|0,(0|t[(e+64|0)>>2])<0&&Hi(yr),Rr=e+92|0,gr=2+((0|Xi(yr,(0|(50*(((0|t[(e+96|0)>>2])-(0|t[Rr>>2])|0)>>2)|0)-50)/100&-1))<<1)|0,Fr=0|t[e>>2],(0|gr)<(0|(1+(0|t[(Fr+8|0)>>2])|0)-(0|t[Fr>>2]))))){if(0|qi(C))return o=x,0|(L=50);if(!(0|Zi(C)||0|na(C)))break;if(!(0|Zi(l)))return o=x,0|(L=50)}}while(0);if(Dr=0|t[e>>2],(0|((1+(0|t[(Dr+12|0)>>2])|0)-(0|t[(Dr+4|0)>>2])|0)<<1)>(0|5*(0|Ui(Nr=e+296|0))))break;if((0|t[(e+208|0)>>2])<0&&Hi(l),Ir=e+236|0,Pr=0|Xi(l,(0|(75*(((0|t[(e+240|0)>>2])-(0|t[Ir>>2])|0)>>2)|0)-75)/100&-1),xr=0|t[e>>2],(0|Pr)>(0|(0|(1+(0|t[(xr+12|0)>>2])|0)-(0|t[(xr+4|0)>>2]))/10&-1))break;if((0|t[(Hr=e+304|0)>>2])<0&&Hi(Nr),Br=e+332|0,Yr=0|zi(Nr,0,(0|(30*(((0|t[(Ur=e+336|0)>>2])-(0|t[Br>>2])|0)>>2)|0)-30)/100&-1),(0|t[Hr>>2])<0&&Hi(Nr),!(0|Aa(Yr,0|zi(Nr,(0|(70*(((0|t[Ur>>2])-(0|t[Br>>2])|0)>>2)|0)-70)/100&-1,-1),20,1)))break;return o=x,0|(L=122)}if(c)return o=x,0|(L=O);if(Je=0|t[e>>2],1==(0|la(l,(0|(1+(0|t[(Je+12|0)>>2])|0)-(0|t[(Je+4|0)>>2]))/5&-1))){if(Ze=e+56|0,Qe=(0|Ci+fa)/2&-1,$e=0|t[e>>2],er=(0|Xi(Ze,Qe-(0|t[($e+4|0)>>2])|0))<<3,rr=0|t[e>>2],!((0|er)<(0|(1+(0|t[(rr+8|0)>>2])|0)-(0|t[rr>>2])))&&0|mr(rr,(0|Mi+ea)/2&-1,0|t[rr>>2])&&!(0|mr(ar=0|t[e>>2],Qe,0|t[ar>>2])))return o=x,0|(L=102);if(fr=e+152|0,tr=0|t[e>>2],(0|la(fr,(0|(1+(0|t[(tr+8|0)>>2])|0)-(0|t[tr>>2]))/8&-1))<3&&0|Sr(0|t[e>>2],fa,Qi))return 0|ya(r,4)||0|ya(r,2)?((0|t[(e+64|0)>>2])<0&&Hi(Ze),sr=e+92|0,lr=(0|Xi(Ze,(0|(95*(((0|t[(e+96|0)>>2])-(0|t[sr>>2])|0)>>2)|0)-95)/100&-1))<<1,(0|t[(e+160|0)>>2])<0&&Hi(fr),ur=e+188|0,(0|lr)>(0|Xi(fr,(0|(95*(((0|t[(e+192|0)>>2])-(0|t[ur>>2])|0)>>2)|0)-95)/100&-1))?(br=0|t[e>>2],kr=0|t[(br+4|0)>>2],dr=0|t[(br+12|0)>>2],o=x,0|(L=(0|ea)>(0|((0|63*(dr-kr|0))/100&-1)+kr)?199:231)):(o=x,0|(L=70))):(o=x,0|(L=70));if((0|Ci)<(0|fa)&(0|Mi)<(0|ea)&(0|ea+2)<(0|Ci)&&(hr=0|t[e>>2],pr=0|t[(hr+4|0)>>2],!((0|ea)>(0|(Ar=(0|(0|t[(hr+12|0)>>2])+pr)/2&-1))|(0|Ci)<(0|Ar))))return o=x,0|(L=69)}}}while(0);return o=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|0)>>2])|0)-(v=0|t[(w+4|0)>>2])|0))>9&(0|p<<1)>=(0|(1+(O=0|t[(w+8|0)>>2])|0)-(A=0|t[w>>2]));e:do{if(F){switch(0|m){case 1:break;case 2:if(ba=0|sa(E,0,-1),(0|t[(e+208|0)>>2])<0&&Hi(E),Na=e+236|0,!(0|Aa(ba,(0|(50*(((0|t[(e+240|0)>>2])-(0|t[Na>>2])|0)>>2)|0)-50)/100&-1,10,1))){$=0|t[e>>2],Di=0|t[($+12|0)>>2],Ni=0|t[($+4|0)>>2],Ci=0|t[($+8|0)>>2],Ii=0|t[$>>2],St=112;break e}break;default:Di=S,Ni=v,Ci=O,Ii=A,St=112;break e}if(uf=(0|Ui(a))-(0|Yi(a))|0,kf=0|t[e>>2],gf=((0|(1+(0|t[(kf+12|0)>>2])|0)-(0|t[(kf+4|0)>>2]))/10&-1)+uf|0,Nf=e+296|0,(0|t[(xf=e+304|0)>>2])<0&&Hi(Nf),Zf=e+332|0,_e=(0|(be=(0|(90*(((0|t[(tt=e+336|0)>>2])-(0|t[Zf>>2])|0)>>2)|0)-90)/100&-1))<(0|gf)?be:gf,he=5*((0|Ui(a))-(0|Yi(a))|0)|0,Ee=0|t[e>>2],(0|he)>(0|3*((1+(0|t[(Ee+12|0)>>2])|0)-(0|t[(Ee+4|0)>>2])|0))?((0|t[xf>>2])<0&&Hi(Nf),(0|_e)>(0|(0|(75*(((0|t[tt>>2])-(0|t[Zf>>2])|0)>>2)|0)-75)/100&-1)?yr=0:(me=5*(0|Xi(Nf,_e))|0,we=0|t[e>>2],yr=(0|me)<=(0|(1+(0|t[(we+8|0)>>2])|0)-(0|t[we>>2])))):yr=1,Se=e+56|0,(0|t[(ve=e+64|0)>>2])<0&&Hi(Se),pe=e+92|0,(ye=(0|(Ae=0|Vi(Se,(0|(90*(((0|t[(Oe=e+96|0)>>2])-(0|t[pe>>2])|0)>>2)|0)-90)/100&-1,-1)))>1)&&0|ia(E)&&(Re=0|t[e>>2],2==(0|la(a,(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&-1)))&&((0|t[xf>>2])<0&&Hi(Nf),je=9*(0|Xi(Nf,(0|(50*(((0|t[tt>>2])-(0|t[Zf>>2])|0)>>2)|0)-50)/100&-1))|0,(0|t[xf>>2])<0&&Hi(Nf),(0|je)>(0|10*(0|Xi(Nf,(0|(70*(((0|t[tt>>2])-(0|t[Zf>>2])|0)>>2)|0)-70)/100&-1))))){N=118;break r}N=117;break r}Ke=Pe,Ge=xe,Je=Te}while(0);(0|Je)>(0|(qe=(0|(Ke+1|0)-Ge)/2&-1))?N=1==(0|la(E,qe))?121:0:St=51}else St=51}while(0);r:do{if(51==(0|St)){Ze=e+152|0,(0|t[(Qe=e+160|0)>>2])<0&&Hi(Ze),$e=e+188|0,rr=0|Vi(Ze,(0|(90*(((0|t[(er=e+192|0)>>2])-(0|t[$e>>2])|0)>>2)|0)-90)/100&-1,-1),(0|(ir=0|t[ve>>2]))<0?(Hi(Se),or=0|t[ve>>2]):or=ir,nr=(0|(70*(((ar=0|t[Oe>>2])-(tr=0|t[pe>>2])|0)>>2)|0)-70)/100&-1,(0|or)<0?(Hi(Se),K=0|t[Oe>>2],sr=0|t[pe>>2],lr=K):(sr=tr,lr=ar),ur=0|zi(Se,nr,(0|(90*((lr-sr|0)>>2)|0)-90)/100&-1),(0|(cr=0|t[Qe>>2]))<0?(Hi(Ze),_r=0|t[Qe>>2]):_r=cr,dr=(0|(70*(((br=0|t[er>>2])-(kr=0|t[$e>>2])|0)>>2)|0)-70)/100&-1,(0|_r)<0?(Hi(Ze),G=0|t[er>>2],hr=0|t[$e>>2],Er=G):(hr=kr,Er=br),wr=0|zi(Ze,dr,(0|(90*((Er-hr|0)>>2)|0)-90)/100&-1),(0|(Sr=0|t[ve>>2]))<0?(Hi(Se),vr=(0|(((Y=0|t[ve>>2])-rr|0)<<1)+Ae)/3&-1,(0|Y)<0?(Hi(Se),pr=0|t[ve>>2],ii=vr):(pr=Y,ii=vr)):(pr=Sr,ii=(0|((Sr-rr|0)<<1)+Ae)/3&-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0)>>2])|0)-(0|t[Jr>>2]))))break;if(Zr=0|Xi(Nf,Et-(0|t[(Jr+4|0)>>2])|0),Qr=0|k(Zr,Et-mt|0),$r=0|t[e>>2],!((0|((0|Qr)/(0|((1-Zr|0)+(0|t[($r+8|0)>>2])|0)-(0|t[$r>>2]))&-1)+Et)<(0|t[($r+12|0)>>2])))break;if((0|t[xf>>2])<0&&Hi(Nf),ei=(0|Xi(Nf,(0|(70*(((0|t[tt>>2])-(0|t[Zf>>2])|0)>>2)|0)-70)/100&-1))<<1,ri=0|t[e>>2],!((0|ei)<(0|(1+(0|t[(ri+8|0)>>2])|0)-(0|t[ri>>2]))))break;if(0|Aa(Ae,rr,20,1)){N=89;break r}if((0|ii)<(0|Or)|1^ye&(0|Ae)<(0|rr))break;if(!(0|ji(Ze,1,2))){N=89;break r}}}while(0);ai=0|t[e>>2],fi=0|t[(ai+4|0)>>2],ti=((0|60*((0|t[(ai+12|0)>>2])-fi|0))/100&-1)+fi|0,ni=0|t[ai>>2],oi=0|mr(ai,ti,(0|(0|t[(ai+8|0)>>2])+ni)/2&-1);do{if(oi){if(0|aa(Se))break;if(si=0|t[e>>2],!((0|((1+(0|t[(si+12|0)>>2])|0)-(0|t[(si+4|0)>>2])|0)<<2)<(0|3*((1+(li=0|t[(si+8|0)>>2])|0)-(ui=0|t[si>>2])|0)))){N=117;break r}if(ci=((0|75*(li-ui|0))/100&-1)+ui|0,(0|(ki=0|t[(bi=e+44|0)>>2]))==(0|t[(e+48|0)>>2])?(wa(e),z=0|t[bi>>2],Z=0|t[e>>2],_i=0|t[Z>>2],Ei=z):(_i=ui,Ei=ki),hi=Ei+(12*(di=ci-_i|0)|0)|0,(0|(0|t[(4+(Ei+(12*di|0)|0)|0)>>2])-(0|t[hi>>2]))<24){N=117;break r}}}while(0);mi=(0|Ae)>(0|rr);do{if(!mi){if((0|t[ve>>2])<0&&Hi(Se),0|ji(Se,(0|(50*(((0|t[Oe>>2])-(0|t[pe>>2])|0)>>2)|0)-50)/100&-1,2))break;if(wi=(0|Ae<<1)<(0|rr),Q=0|t[e>>2],wi)pi=0|t[(Q+12|0)>>2],Oi=0|t[(Q+4|0)>>2];else{if(Si=0|t[(Q+4|0)>>2],(0|((0|90*((vi=0|t[(Q+12|0)>>2])-Si|0))/100&-1)+Si)<(0|t[(r+12|0)>>2]))break;pi=vi,Oi=Si}if(1==(0|la(a,(0|(pi+1|0)-Oi)/2&-1))){N=121;break r}if(Ai=0|oa(Se),yi=0|t[e>>2],(0|Ai)>(0|(0|(1+(0|t[(yi+12|0)>>2])|0)-(0|t[(yi+4|0)>>2]))/2&-1)){N=121;break r}}}while(0);do{if(ye){if(!(0|Zi(E)))break;if(Ri=0|t[e>>2],2==(0|la(a,(0|(1+(0|t[(Ri+12|0)>>2])|0)-(0|t[(Ri+4|0)>>2]))/3&-1))){N=118;break r}}else{if(gi=0|t[e>>2],!((0|((Fi=(1+(0|t[(gi+8|0)>>2])|0)-(0|t[gi>>2])|0)-(rr+Ae|0)|0)<<1)<(0|Fi)))break;if(!(0|ji(Ze,1,2)))break;if(Mi=0|t[e>>2],2==(0|la(a,(0|(1+(0|t[(Mi+12|0)>>2])|0)-(0|t[(Mi+4|0)>>2]))/2&-1))){N=118;break r}}}while(0);N=0}}while(0);T=N}else Di=S,Ni=v,Ci=O,Ii=A,St=112}while(0);e:do{if(112==(0|St)){if((0|(Ti=(Di+1|0)-Ni|0))>8&(0|Ti<<1)>=(0|(Ci+1|0)-Ii)&&2==(0|la(E,-1))&&0|fa(E,50)){if(Pi=0|t[e>>2],xi=(0|(1+(0|t[(Pi+12|0)>>2])|0)-(0|t[(Pi+4|0)>>2]))/4&-1,(0|t[(e+208|0)>>2])<0&&Hi(E),Li=e+236|0,3==(0|la(E,(0|xi)<(0|(Bi=h+(0|Xi(E,(0|(50*(((0|t[(e+240|0)>>2])-(0|t[Li>>2])|0)>>2)|0)-50)/100&-1))|0))?Bi:xi))){T=77;break}if(Wi=e+56|0,(0|t[(e+64|0)>>2])<0&&Hi(Wi),Ki=e+92|0,Gi=0|Xi(Wi,(0|(50*(((0|t[(e+96|0)>>2])-(0|t[Ki>>2])|0)>>2)|0)-50)/100&-1),Ji=e+152|0,(0|t[(Qi=e+160|0)>>2])<0&&Hi(Ji),ea=e+188|0,0|Aa(Gi,ta=0|Xi(Ji,(0|(50*(((0|t[(ra=e+192|0)>>2])-(0|t[ea>>2])|0)>>2)|0)-50)/100&-1),80,2)&&(na=Gi<<2,ua=0|t[e>>2],(0|na)<(0|(ca=(1+(0|t[(ua+8|0)>>2])|0)-(0|t[ua>>2])|0))&(0|ta<<2)<(0|ca))){bt=(0|Gi)>1&(0|ta)>1;do{if(bt&&0|ji(Wi,1,2)){if(!(0|ji(Ji,1,2)))break;if((0|t[(e+112|0)>>2])<0&&Hi(a),ka=e+140|0,da=5*(0|Xi(a,(0|(50*(((0|t[(e+144|0)>>2])-(0|t[ka>>2])|0)>>2)|0)-50)/100&-1))|0,_a=0|t[e>>2],(0|da)>(0|(1+(0|t[(_a+12|0)>>2])|0)-(0|t[(_a+4|0)>>2]))){T=119;break e}}}while(0);Ea=1==(0|Sa(e));do{if(Ea){if(Oa=0|t[(ma=e+8|0)>>2],ga=(5*((1+(ya=0|t[(Oa+12|0)>>2])|0)-(Ra=0|t[(Oa+4|0)>>2])|0)|0)-5|0,Fa=0|t[e>>2],!((0|ga)<(0|(1+(Ma=0|t[(Fa+12|0)>>2])|0)-(Da=0|t[(Fa+4|0)>>2]))))break;if((0|Ra)<(0|((0|30*(Ta=Ma-Da|0))/100&-1)+Da))break;if((0|ya)>(0|((0|60*Ta)/100&-1)+Da))break;if(!((0|10*((1+(0|t[(Oa+8|0)>>2])|0)-(0|t[Oa>>2])|0))>(0|9*(0|Xi(Ca=e+296|0,((0|Ra+ya)/2&-1)-Da|0)))))break;if(Ia=0|t[ma>>2],Pa=0|t[(Ia+4|0)>>2],xa=(0|(0|t[(Ia+12|0)>>2])+Pa)/2&-1,La=0|t[Ia>>2],pa(i,e,xa,(0|(0|t[(Ia+8|0)>>2])+La)/2&-1),Ha=0|t[i>>2],Ua=(0|(Ba=0|t[(i+4|0)>>2]))<(0|Ha)?0:(1-Ha|0)+Ba|0,za=0|t[ma>>2],!(0|Aa(Ua,(1+(0|t[(za+12|0)>>2])|0)-(0|t[(za+4|0)>>2])|0,30,2)))break;Ya=0|t[ma>>2],Va=9*((1+(0|t[(Ya+8|0)>>2])|0)-(0|t[Ya>>2])|0)|0,(0|t[(e+304|0)>>2])<0&&Hi(Ca),Xa=e+332|0,T=(0|Va)>(0|10*(0|Xi(Ca,(0|(50*(((0|t[(e+336|0)>>2])-(0|t[Xa>>2])|0)>>2)|0)-50)/100&-1)))?0:72;break e}}while(0);Wa=0|t[e>>2],ja=0|t[(Wa+4|0)>>2],Ka=((0|60*((0|t[(Wa+12|0)>>2])-ja|0))/100&-1)+ja|0,(0|(qa=0|t[(Ga=e+32|0)>>2]))==(0|t[(Ja=e+36|0)>>2])?(ha(e),H=0|t[Ga>>2],ee=0|t[e>>2],Qa=0|t[(ee+4|0)>>2],ef=H,af=ee):(Qa=ja,ef=qa,af=Wa),$a=ef+(12*(Za=Ka-Qa|0)|0)|0,rf=32==(0|(0|t[(4+(ef+(12*Za|0)|0)|0)>>2])-(0|t[$a>>2]));do{if(!rf){if(ff=((0|70*((0|t[(af+12|0)>>2])-Qa|0))/100&-1)+Qa|0,(0|ef)==(0|t[Ja>>2])?(ha(e),L=0|t[Ga>>2],re=0|t[e>>2],nf=0|t[(re+4|0)>>2],sf=L):(nf=Qa,sf=ef),of=sf+(12*(tf=ff-nf|0)|0)|0,32==(0|(0|t[(4+(sf+(12*tf|0)|0)|0)>>2])-(0|t[of>>2])))break;if((0|va(e))<3)ae=0|t[e>>2],Ef=0|t[(ae+12|0)>>2],mf=0|t[(ae+4|0)>>2];else{if(3!=(0|va(e))){T=0;break e}if(df=0|t[e>>2],(0|(1+(_f=0|t[(df+12|0)>>2])|0)-(hf=0|t[(df+4|0)>>2]))<(0|(1+(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0|t[Yf>>2]),(0|Kf)!=(0|zf);)Wf=Kf;qf=0|t[Uf>>2]}vf(qf),ie(0|Bf)}if(Pf?(Hf=0|t[g>>2],(0|k(Hf,-2))>(0|(1+(0|t[(y+12|0)>>2])|0)-(0|t[(y+4|0)>>2]))?C=1:St=175):St=175,175==(0|St)&&(C=0),0!=(0|(Qf=0|t[(Jf=y+16|0)>>2]))){if((0|(et=0|t[($f=y+20|0)>>2]))==(0|Qf))ot=Qf;else{for(it=et;rt=it+-12|0,t[$f>>2]=rt,0==(0|(at=0|t[rt>>2]))?ft=rt:((0|t[(nt=it+-8|0)>>2])==(0|at)||(t[nt>>2]=at),vf(at),ft=0|t[$f>>2]),(0|ft)!=(0|Qf);)it=ft;ot=0|t[Jf>>2]}vf(ot)}if(0!=(0|C)){I=117;break}fe=0|t[e>>2],st=0|t[(fe+4|0)>>2],lt=0|t[(fe+12|0)>>2],St=187}else st=Df,lt=Tf,St=187}while(0);do{if(187==(0|St)){if((0|Ff)>(0|((0|lt-st)/10&-1)+st)){I=78;break}if(!((0|va(e))>1)){T=0;break e}I=78}}while(0);T=I;break e}}while(0);(0|t[(e+112|0)>>2])<0&&Hi(a),lf=e+140|0,cf=(0|Xi(a,(0|(50*(((0|t[(e+144|0)>>2])-(0|t[lf>>2])|0)>>2)|0)-50)/100&-1))<<1,bf=0|t[e>>2],T=(0|cf)>(0|(1+(0|t[(bf+12|0)>>2])|0)-(0|t[(bf+4|0)>>2]))?77:119;break}if((0|3*Gi)<(0|ta<<1)&&(ut=0|t[e>>2],(0|Gi)<(0|(te=(0|(1+(0|t[(ut+8|0)>>2])|0)-(0|t[ut>>2]))/4&-1))&(0|ta)>(0|te)&&0|fa(Ji,50)&&(ne=0|t[e>>2],2==(0|la(a,(0|(1+(0|t[(ne+12|0)>>2])|0)-(0|t[(ne+4|0)>>2]))/8&-1))))){T=75;break}T=0;break}if((0|la(E,-1))<3&&(oe=0|t[e>>2],(0|((1+(0|t[(oe+8|0)>>2])|0)-(0|t[oe>>2])|0)<<1)>(0|5*((1+(0|t[(oe+12|0)>>2])|0)-(0|t[(oe+4|0)>>2])|0)))){T=126;break}if(3!=(0|la(E,-1)))return o=D,0;if(0==(0|Sa(e)))T=77;else{if(1!=(0|Sa(e)))return o=D,0;if(se=0|t[(e+8|0)>>2],le=0|t[(se+4|0)>>2],ue=0|t[e>>2],ce=0|t[(ue+4|0)>>2],(0|le)<(0|((0|(0|t[(ue+12|0)>>2])-ce)/5&-1)+ce))return o=D,0;T=77}}}while(0);return o=D,0|T},rt,rt,rt,rt,Xi,rt,rt,rt,la,function(e,r){r|=0;var i,a,f,n,o,s,l,u,c,b,k,d,_,h,E,m,w,S,v,p,O,A,y,R,g,F,M,D,T,N,C,I=0,P=0,x=0,L=0,H=0,B=0,U=0,z=0,Y=0,V=0,X=0,W=0,j=0,K=0,G=0,q=0,J=0,Z=0,Q=0,$=0,ee=0,re=0,ie=0,ae=0,fe=0,te=0,ne=0,oe=0,se=0,le=0,ue=0,ce=0,be=0,ke=0,de=0,_e=0,he=0,Ee=0,me=0,we=0,Se=0,ve=0,pe=0,Oe=0,Ae=0,ye=0,Re=0,ge=0,Fe=0,Me=0,De=0,Te=0,Ne=0,Ce=0,Ie=0,Pe=0,xe=0,Le=0,He=0,Be=0,Ue=0,ze=0,Ye=0,Ve=0,Xe=0;if(a=104+(e|=0)|0,f=0|t[e>>2],2==(0|(N=0|la(a,(0|(1+(0|t[(f+12|0)>>2])|0)-(0|t[(f+4|0)>>2]))/8&-1)))&&(B=e+200|0,Y=0|t[e>>2],1==(0|la(B,(0|(1+(0|t[(Y+12|0)>>2])|0)-(0|t[(Y+4|0)>>2]))/2&-1)))){if(0|fa(Ee=e+56|0,50)&&0|fa(e+152|0,50))return 120;if(0|Gi(Ee)&&0|Gi(e+152|0))return 120}if(v=0|t[e>>2],!((0|(1+(0|t[(v+8|0)>>2])|0)-(0|t[v>>2]))<(0|(1+(0|t[(v+12|0)>>2])|0)-(0|t[(v+4|0)>>2])))&&0|Zi(a)){if(Pe=0|t[e>>2],xe=0|t[(Pe+12|0)>>2],Le=0|t[(r+4|0)>>2],(0|xe)<(0|(0|(0|t[(r+12|0)>>2])+Le)/2&-1))return 94;if(0|Ki(e+56|0,1,-1)&&0|Ki(e+152|0,1,-1))return 94}for(p=e+200|0,(0|t[(O=e+208|0)>>2])<0&&Hi(p),A=e+236|0,He=0,ze=(0|(40*(((0|t[(y=e+240|0)>>2])-(0|t[A>>2])|0)>>2)|0)-40)/100&-1,Ye=0;;){if((0|t[O>>2])<0&&Hi(p),(0|ze)>(0|(0|(60*(((0|t[y>>2])-(0|t[A>>2])|0)>>2)|0)-60)/100&-1)){Be=He,Ve=Ye;break}(0|Xi(p,ze))>(0|Ye)?(Ue=ze,Xe=0|Xi(p,ze)):(Ue=He,Xe=Ye),He=Ue,ze=ze+1|0,Ye=Xe}if(R=0|t[e>>2],M=1+(F=(g=0|t[(R+12|0)>>2])-Ve|0)|0,D=(0|t[R>>2])+Be|0,(0|F)<(0|(T=0|t[(R+4|0)>>2]))|(0|F)>=(0|((0|90*(g-T|0))/100&-1)+T))return 0;if(i=(((0|(C=0|_r(R,M,D,1)))>(0|D))<<31>>31)+C|0,n=0|dr(0|t[e>>2],M,i,1),o=0|dr(0|t[e>>2],n+-1|0,i,0),s=0|t[e>>2],l=0|t[(s+4|0)>>2],(0|o)>(0|((0|(u=0|t[(s+12|0)>>2])-l)/5&-1)+l))q=u,J=l;else{if((0|t[(U=e+112|0)>>2])<0&&Hi(a),z=e+140|0,X=3*(0|Xi(a,(0|(60*(((0|t[(V=e+144|0)>>2])-(0|t[z>>2])|0)>>2)|0)-60)/100&-1))|0,W=0|t[e>>2],!((0|X)>(0|(G=(1+(j=0|t[(W+12|0)>>2])|0)-(K=0|t[(W+4|0)>>2])|0)))){if(0|Aa(G,(1+(0|t[(W+8|0)>>2])|0)-(0|t[W>>2])|0,40,1)&&(ve=0|t[e>>2],pe=0|t[(ve+4|0)>>2],(0|n)>(0|(Ae=(0|(Oe=0|t[(ve+12|0)>>2])+pe)/2&-1))&(0|o)<(0|Ae)&&2==(0|la(a,(0|(1-pe|0)+Oe)/5&-1))&&3==(0|la(p,o+1|0))))return 119;if(ye=0|t[e>>2],Re=0|t[(ye+4|0)>>2],!((0|o)>(0|((0|(ge=0|t[(ye+12|0)>>2])-Re)/5&-1)+Re))&&1==(0|la(a,(0|(1-Re|0)+ge)/4&-1))&&(Fe=0|t[e>>2],0|Aa((1+(0|t[(Fe+12|0)>>2])|0)-(0|t[(Fe+4|0)>>2])|0,(1+(0|t[(Fe+8|0)>>2])|0)-(0|t[Fe>>2])|0,40,1))){if(Me=e+152|0,(0|t[(e+160|0)>>2])<0&&Hi(Me),De=e+188|0,Te=((0|Xi(Me,(0|(50*(((0|t[(e+192|0)>>2])-(0|t[De>>2])|0)>>2)|0)-50)/100&-1))<<3)-8|0,Ne=0|t[e>>2],!((0|Te)>(0|(1+(0|t[(Ne+8|0)>>2])|0)-(0|t[Ne>>2]))))return 110;if((0|t[U>>2])<0&&Hi(a),Ce=0|Xi(a,(0|(99*(((0|t[V>>2])-(0|t[z>>2])|0)>>2)|0)-99)/100&-1),Ie=0|t[e>>2],(0|Ce)>(0|(0|(1+(0|t[(Ie+12|0)>>2])|0)-(0|t[(Ie+4|0)>>2]))/2&-1))return 110}return 0}q=j,J=K}if(3==(0|(c=0|la(a,(0|(q+1|0)-J)/5&-1)))&&(Z=0|t[e>>2],Q=0|t[(Z+4|0)>>2],$=(0|(0|t[(Z+12|0)>>2])+Q)/2&-1,(0|(re=0|t[(ee=e+32|0)>>2]))==(0|t[(ie=e+36|0)>>2])?(ha(e),x=0|t[ee>>2],I=0|t[e>>2],fe=0|t[(I+4|0)>>2],ne=x,oe=I):(fe=Q,ne=re,oe=Z),te=ne+(12*(ae=$-fe|0)|0)|0,16==(0|(0|t[(4+(ne+(12*ae|0)|0)|0)>>2])-(0|t[te>>2]))&&(se=((0|80*((0|t[(oe+12|0)>>2])-fe|0))/100&-1)+fe|0,(0|ne)==(0|t[ie>>2])?(ha(e),P=0|t[ee>>2],L=0|t[e>>2],ue=0|t[(L+4|0)>>2],be=P):(ue=fe,be=ne),ce=be+(12*(le=se-ue|0)|0)|0,24==(0|(0|t[(4+(be+(12*le|0)|0)|0)>>2])-(0|t[ce>>2])))))return 0;if(3==(1|c)&&(0|la(a,-1))>1&&(ke=e+152|0,(0|t[(e+160|0)>>2])<0&&Hi(ke),de=e+188|0,_e=0|Xi(ke,(0|(25*(((0|t[(e+192|0)>>2])-(0|t[de>>2])|0)>>2)|0)-25)/100&-1),he=0|t[e>>2],!((0|_e)>(0|(0|(1+(0|t[(he+8|0)>>2])|0)-(0|t[he>>2]))/4&-1)))){if(!(0|$i(e+56|0)))return 119;if(1==(0|la(ke,-1)))return 119}return 1==(0|N)&1==(0|c)?((0|(k=0|t[(b=e+112|0)>>2]))<0?(Hi(a),me=0|t[b>>2]):me=k,d=e+140|0,m=(0|(40*(((h=0|t[(_=e+144|0)>>2])-(E=0|t[d>>2])|0)>>2)|0)-40)/100&-1,(0|me)<0?(Hi(a),H=0|t[_>>2],we=0|t[d>>2],Se=H):(we=E,Se=h),w=(0|zi(a,m,(0|(60*((Se-we|0)>>2)|0)-60)/100&-1))<<2,S=0|t[e>>2],(0|w)<(0|3*((1+(0|t[(S+12|0)>>2])|0)-(0|t[(S+4|0)>>2])|0))?0|(0|fa(e+152|0,66)?107:104):0):0},rt,rt,rt,rt,rt,fa,rt,rt,Ar,function(e,r){e|=0,r|=0;var i,a,f,n,l,u,c,b,d,h,E,m,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0,I=0,P=0,x=0,L=0,H=0,B=0,U=0,z=0,Y=0,V=0,X=0,W=0,j=0,K=0,G=0,q=0,J=0,Z=0,Q=0,$=0,ee=0,re=0,ie=0,ae=0,fe=0,te=0,ne=0,oe=0,se=0,le=0,ue=0,ce=0,be=0,ke=0,de=0,_e=0,he=0,Ee=0,me=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,(0|(0|t[Ue>>2])+ze)/2&-1,1),v=0|t[e>>2],p=0|t[v>>2],O=0|_r(v,S,(0|(0|t[(v+8|0)>>2])+p)/2&-1,1),A=0|t[e>>2],(0|O)<(0|t[(A+8|0)>>2]))))))return o=m,67;if(2==(0|Sa(e))&&(y=0|t[(e+8|0)>>2],!((0|(R=0|t[(y+4|0)>>2]))>(0|d)||(g=((1-R|0)+(0|t[(y+12|0)>>2])|0)<<2,F=0|t[e>>2],(0|g)>(0|(M=(1+(0|t[(F+12|0)>>2])|0)-(0|t[(F+4|0)>>2])|0))||(0|(D=0|t[(y+28|0)>>2]))<(0|a)||(0|((D+1|0)-(0|t[(y+20|0)>>2])|0)<<2)>(0|M))))){if(ge)return N=0|t[(F+8|0)>>2],C=0|t[F>>2],o=m,0|((0|M)>(0|((N+1|0)-C|0)<<1)?91:99);if(!(0|Zi(e+56|0)))break;return o=m,99}}}while(0);f=1==(0|la(l,-1));e:do{if(f){if(1==(0|la(I=e+56|0,-1))&&1==(0|la(P=e+152|0,-1))&&(x=0|t[e>>2],!((0|((1+(0|t[(x+12|0)>>2])|0)-(0|t[(x+4|0)>>2])|0)<<1)<(0|(1+(0|t[(x+8|0)>>2])|0)-(0|t[x>>2])))&&0|ua(I,h)&&0|ua(P,E))){if(H=0|t[h>>2],B=e+200|0,(0|(0|t[E>>2])&H)<0&&2==(0|la(B,-1))){w=94;break}if(1!=(0|la(B,-1))){w=0;break}if((0|(U=0|t[h>>2]))<0&(0|(z=0|t[E>>2]))>0){if(Y=0|t[e>>2],X=0|t[(V=r+4|0)>>2],j=0|je(Y,(0|(0|t[(W=r+12|0)>>2])+X)/2&-1),K=0|t[e>>2],!j){re=0|t[(K+4|0)>>2],ie=0|t[V>>2],w=(0|re)<(0|(0|(0|t[W>>2])+ie)/2&-1)?39:44;break}if(G=10*(0|cr(K))|0,q=0|t[e>>2],J=(1+(0|t[(q+12|0)>>2])|0)-(0|t[(q+4|0)>>2])|0,Z=0|t[(q+8|0)>>2],Q=0|t[q>>2],(0|G)<(0|k(3*J|0,ee=(Z+1|0)-Q|0))){w=47;break}w=(0|J)>(0|ee<<1)?108:0;break}if(!((0|U)>0&(0|z)<0)){w=0;break}if(fe=0|t[e>>2],te=0|t[(fe+12|0)>>2],ne=0|t[(r+4|0)>>2],!((0|te)>(0|(0|(oe=0|t[(r+12|0)>>2])+ne)/2&-1))){w=96;break}if((0|3*(se=(1+(0|t[(fe+8|0)>>2])|0)-(0|t[fe>>2])|0))>(0|(le=(te+1|0)-(0|t[(fe+4|0)>>2])|0))&&(0|le)>(0|(1-ne|0)+oe)){w=92;break}w=(0|se<<1)<(0|le)?0:92;break}ce=1==(0|la(ue=e+200|0,-1));do{if(ce&&(be=0|t[e>>2],!((0|((1+(0|t[(be+8|0)>>2])|0)-(0|t[be>>2])|0)<<1)<(0|(1+(0|t[(be+12|0)>>2])|0)-(0|t[(be+4|0)>>2])))&&0|ua(l,h)&&0|ua(ue,E))){if(1==(0|la(I,-1))&&1==(0|la(e+152|0,-1))){if((0|(ke=0|t[h>>2]))<0&(0|(de=0|t[E>>2]))>0){if(_e=0|t[e>>2],Ee=0|t[(he=r+4|0)>>2],0|je(_e,(0|(0|t[(me=r+12|0)>>2])+Ee)/2&-1)){w=47;break e}we=0|t[e>>2],Se=0|t[(we+4|0)>>2],ve=0|t[he>>2],w=(0|Se)<(0|(0|(0|t[me>>2])+ve)/2&-1)?39:44;break e}if(!((0|ke)>0&(0|de)<0))break;pe=0|t[e>>2],Oe=0|t[(pe+12|0)>>2],Ae=0|t[(r+4|0)>>2],w=(0|Oe)>(0|(0|(0|t[(r+12|0)>>2])+Ae)/2&-1)?92:96;break e}if(ye=0|t[e>>2],!((0|((1+(0|t[(ye+8|0)>>2])|0)-(0|t[ye>>2])|0)<<1)<(0|(1+(0|t[(ye+12|0)>>2])|0)-(0|t[(ye+4|0)>>2])))){if(Re=0|t[h>>2],(0|(0|t[E>>2])&Re)<0&&1==(0|la(I,-1))&&2==(0|la(e+152|0,-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t[ir>>2],je=0|t[(ze+12|0)>>2],Ke=0|t[e>>2],ar=Le-(0|Xi(De,je-(0|t[(Ke+4|0)>>2])|0))|0,fr=0|t[e>>2],(0|ar)<(0|(0|(1+(0|t[(fr+8|0)>>2])|0)-(0|t[fr>>2]))/4&-1)){if(sr=0|t[ir>>2],cr=0|t[(sr+4|0)>>2],Sr=(0|(0|t[(sr+12|0)>>2])+cr)/2&-1,0|ji(De,(1-(0|t[(fr+4|0)>>2])|0)+Sr|0,2))return 55;T=e}else T=e;else T=e;if(vr=0|t[T>>2],(0|(1+(0|t[(vr+12|0)>>2])|0)-(0|t[(vr+4|0)>>2]))>(0|(1+(0|t[(vr+8|0)>>2])|0)-(0|t[vr>>2])))if(0|ji(e+152|0,1,2))if(0|Ki(e+104|0,1,-1))N=T;else{if(Or=0|t[e>>2],yr=0|t[(Or+4|0)>>2],Rr=(0|(0|t[(Or+12|0)>>2])+yr)/2&-1,gr=0|t[Or>>2],I=0|kr(Or,Rr,(0|(0|t[(Or+8|0)>>2])+gr)/2&-1,1),P=0|t[T>>2],!((0|I)>(0|t[P>>2])))return 55;N=T}else N=T;else N=T}else N=e;if(a=e+104|0,f=0|t[N>>2],1!=(0|la(a,(0|(1+(0|t[(f+12|0)>>2])|0)-(0|t[(f+4|0)>>2]))/4&-1)))return 0;if(n=0|t[N>>2],1!=(0|la(i,(0|(1+(0|t[(n+12|0)>>2])|0)-(0|t[(n+4|0)>>2]))/4&-1)))return 0;if(o=0|t[N>>2],(0|(1+(0|t[(o+12|0)>>2])|0)-(0|t[(o+4|0)>>2]))>(0|((1+(0|t[(o+8|0)>>2])|0)-(0|t[o>>2])|0)<<1)&&0|ji(e+152|0,1,2)&&0|Ki(a,1,-1)&&0|Qi(e+56|0,25))return 49;s=1==(0|Sa(e));do{if(s)Y=0|t[(e+8|0)>>2],X=C=0|t[N>>2],j=0|t[(C+12|0)>>2],Fr=26;else{if(2!=(0|Sa(e))){ae=0|t[N>>2];break}L=0|t[(e+8|0)>>2],B=0|t[(L+28|0)>>2],U=0|t[N>>2],(0|B)<(0|(z=0|t[(U+12|0)>>2])-1)?ae=U:(0|3*((1+(0|t[(L+8|0)>>2])|0)-(0|t[L>>2])|0))>(0|((1+(0|t[(L+24|0)>>2])|0)-(0|t[(L+16|0)>>2])|0)<<2)?(Y=L,X=U,j=z,Fr=26):ae=U}}while(0);if(26==(0|Fr))if((0|3*((1+(0|t[(Y+12|0)>>2])|0)-(V=0|t[(Y+4|0)>>2])|0))>=(0|(j+1|0)-(W=0|t[(X+4|0)>>2]))|(0|V)>(0|W+1))ae=X;else if(K=e+56|0,(0|t[(e+64|0)>>2])<0&&Hi(K),G=e+92|0,Z=3*(0|Xi(e+296|0,J=(0|(40*(((0|t[(e+96|0)>>2])-(0|t[G>>2])|0)>>2)|0)-40)/100&-1))|0,Q=0|t[N>>2],(0|Z)<(0|(1+(0|t[(Q+8|0)>>2])|0)-(0|t[Q>>2])))if($=5*(0|Xi(K,J))|0,ee=0|t[N>>2],(0|$)>(0|(1+(0|t[(ee+8|0)>>2])|0)-(0|t[ee>>2]))){if(re=5*(0|Xi(e+152|0,J))|0,ie=0|t[N>>2],(0|re)>(0|(1+(0|t[(ie+8|0)>>2])|0)-(0|t[ie>>2])))return 84;ae=ie}else ae=ee;else ae=Q;if((0|3*((1+(0|t[(ae+12|0)>>2])|0)-(0|t[(ae+4|0)>>2])|0))>(0|((1+(0|t[(ae+8|0)>>2])|0)-(0|t[ae>>2])|0)<<2)&&1==(0|va(e))&&(fe=0|t[(e+20|0)>>2],(0|(1+(te=0|t[(fe+8|0)>>2])|0)-(ne=0|t[fe>>2]))>1&&(oe=0|t[N>>2],(0|(le=ne-(se=0|t[oe>>2])|0)<<1)<(0|(be=(1-se|0)+(ue=0|t[(oe+8|0)>>2])|0))&(0|(ce=ue-te|0)<<1)<(0|be)&&0|Aa(le,ce,40,1)&&((0|t[(e+208|0)>>2])<0&&Hi(i),ke=e+236|0,de=(0|Xi(i,(0|(25*(((0|t[(e+240|0)>>2])-(0|t[ke>>2])|0)>>2)|0)-25)/100&-1))<<2,_e=0|t[N>>2],(0|de)>(0|3*((1+(0|t[(_e+12|0)>>2])|0)-(0|t[(_e+4|0)>>2])|0))&&((0|t[(e+112|0)>>2])<0&&Hi(a),he=e+140|0,Ee=(0|Xi(a,(0|(75*(((0|t[(e+144|0)>>2])-(0|t[he>>2])|0)>>2)|0)-75)/100&-1))<<2,me=0|t[N>>2],(0|Ee)>(0|3*((1+(0|t[(me+12|0)>>2])|0)-(0|t[(me+4|0)>>2])|0)))))))return 108;if(l=0|t[N>>2],!((0|5*(u=(1+(0|t[(l+12|0)>>2])|0)-(0|t[(l+4|0)>>2])|0))<(0|((1+(0|t[(c=r+12|0)>>2])|0)-(0|t[(b=r+4|0)>>2])|0)<<2))&&(0|u)>(0|Ui(we=e+296|0))&&((0|t[(e+304|0)>>2])<0&&Hi(we),Se=e+332|0,ve=3*(0|Xi(we,(0|(50*(((0|t[(e+336|0)>>2])-(0|t[Se>>2])|0)>>2)|0)-50)/100&-1))|0,pe=0|t[N>>2],(0|ve)<(0|(1+(0|t[(pe+8|0)>>2])|0)-(0|t[pe>>2])))){if(1==(0|Sa(e))&&(Oe=0|t[(e+8|0)>>2],Ae=0|t[(Oe+12|0)>>2],ye=0|t[N>>2],!((0|Ae)<(0|(Re=0|t[(ye+12|0)>>2])-1))&&(0|t[(Oe+4|0)>>2])>(0|((0|75*(Re-(ge=0|t[(ye+4|0)>>2])|0))/100&-1)+ge)&&(Fe=e+56|0,(0|t[(e+64|0)>>2])<0&&Hi(Fe),Me=e+92|0,Te=0|Xi(Fe,(0|(50*(((0|t[(e+96|0)>>2])-(0|t[Me>>2])|0)>>2)|0)-50)/100&-1),Ne=e+152|0,(0|t[(e+160|0)>>2])<0&&Hi(Ne),Ce=e+188|0,0|Aa(Te,0|Xi(Ne,(0|(50*(((0|t[(e+192|0)>>2])-(0|t[Ce>>2])|0)>>2)|0)-50)/100&-1),20,2))))return 108;if(2==(0|Sa(e))&&(Ie=0|t[(e+8|0)>>2],Pe=0|t[(Ie+12|0)>>2],xe=0|t[N>>2],He=0|t[(xe+4|0)>>2],(0|Pe)<(0|((0|(Ue=(Be=0|t[(xe+12|0)>>2])-He|0))/4&-1)+He)&&(0|t[(Ie+20|0)>>2])>(0|((0|75*Ue)/100&-1)+He)&&!((0|t[(Ie+28|0)>>2])<(0|Be+-1))))return Ye=0|t[(Ie+8|0)>>2],Ve=0|t[(Ie+16|0)>>2],(0|Ye)>(0|(0|(We=0|t[(Ie+24|0)>>2])+Ve)/2&-1)?(0|3*((Ye+1|0)-(0|t[Ie>>2])|0))>(0|((1-Ve|0)+We|0)<<1)?0|((0|(1-He|0)+Be)<(0|3*(0|Ui(we)))?73:108):108:0}if(2==(0|Sa(e))?Fr=65:3==(0|Sa(e))&&(Fr=65),65==(0|Fr)&&(qe=0|t[(Ge=e+8|0)>>2],Je=0|t[(qe+4|0)>>2],Ze=0|t[N>>2],!((0|Je)>(0|1+(0|t[(Ze+4|0)>>2])))&&0|Xe(qe+16|0,Ze)&&(Qe=0|t[Ge>>2],(0|3*((1+(0|t[(Qe+8|0)>>2])|0)-(0|t[Qe>>2])|0))>(0|((1+(0|t[(Qe+24|0)>>2])|0)-(0|t[(Qe+16|0)>>2])|0)<<2)))){if(2==(0|Sa(e)))return 70;if($e=0|t[Ge>>2],er=0|t[($e+44|0)>>2],rr=0|t[N>>2],!((0|er)<(0|(0|t[(rr+12|0)>>2])-1))&&(0|3*((1+(0|t[($e+8|0)>>2])|0)-(0|t[$e>>2])|0))>(0|((1+(0|t[($e+40|0)>>2])|0)-(0|t[($e+32|0)>>2])|0)<<2))return 70}if(k=0|t[N>>2],(0|(1+(0|t[(k+12|0)>>2])|0)-(0|t[(k+4|0)>>2]))>(0|3*(0|Ui(d=e+296|0)))){if(nr=e+56|0,0|aa(tr=e+152|0)&&0|Zi(nr))return 0|(0|$i(nr)?123:40);if(0|aa(nr)&&0|Zi(tr))return 0|(0|$i(tr)?125:41);if(or=0|t[N>>2],(0|(1+(0|t[(or+8|0)>>2])|0)-(0|t[or>>2]))>(0|(0|Ui(d))<<1)&&0|qi(tr))return 41}if(_=0|t[N>>2],!((0|(h=(1+(0|t[(_+12|0)>>2])|0)-(0|t[(_+4|0)>>2])|0))>(0|((1+(0|t[(_+8|0)>>2])|0)-(0|t[_>>2])|0)<<1)))return 0;if((0|5*h)<(0|((1+(0|t[c>>2])|0)-(0|t[b>>2])|0)<<2))return 0;if(E=0|Ui(e+56|0),w=(0|Ui(m=e+152|0))+E|0,S=0|t[N>>2],!((0|w)<(0|(1+(0|t[(S+8|0)>>2])|0)-(0|t[S>>2]))))return 0;if((0|t[(e+160|0)>>2])<0&&Hi(m),v=e+188|0,p=5*(0|Xi(m,(0|(50*(((0|t[(e+192|0)>>2])-(0|t[v>>2])|0)>>2)|0)-50)/100&-1))|0,O=0|t[N>>2],!((0|p)>(0|((1+(A=0|t[(O+8|0)>>2])|0)-(y=0|t[O>>2])|0)<<1)))return 124;if(R=0|t[(O+4|0)>>2],g=0|dr(O,((0|75*((0|t[(O+12|0)>>2])-R|0))/100&-1)+R|0,((0|75*(A-y|0))/100&-1)+y|0,1),F=0|t[N>>2],(0|(M=0|t[(F+4|0)>>2]))<(0|t[b>>2])?(0|g)>(0|M)?Fr=89:D=76:(0|(ur=0|t[(F+12|0)>>2]))>(0|((0|(1-M|0)+ur)/5&-1)+(0|t[c>>2]))|(0|g)>(0|M)?Fr=89:D=76,89==(0|Fr)){if(!((0|g)>(0|M)))return 124;if(br=0|t[(F+4|0)>>2],_r=((0|75*((0|t[(F+12|0)>>2])-br|0))/100&-1)+br|0,Er=0|t[F>>2],mr=0|hr(F,_r,((0|75*((0|t[(F+8|0)>>2])-Er|0))/100&-1)+Er|0,1),wr=0|t[N>>2],!((0|mr)<(0|t[(wr+12|0)>>2])))return 124;D=91}return 0|D},rt,function(e,r){e|=0,r|=0;var i,f,n,l,u,d,h,E,m,w,S,v,p,O,A,y,R,g=0,F=0,D=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ge=e+188|0,0|Ki(Re,1,(0|(20*(((0|t[(e+192|0)>>2])-(0|t[Ge>>2])|0)>>2)|0)-20)/100&-1)&&(Br=e+56|0,(0|t[(e+64|0)>>2])<0&&Hi(Br),Jr=e+92|0,0|Ki(Br,1,(0|(20*(((0|t[(e+96|0)>>2])-(0|t[Jr>>2])|0)>>2)|0)-20)/100&-1))?(o=R,65):2!=(0|Sa(e))||(bi=0|t[(e+8|0)>>2],ki=(1+(0|t[(bi+24|0)>>2])|0)-(0|t[(bi+16|0)>>2])|0,di=0|t[e>>2],(0|ki)<(0|(1+(0|t[(di+8|0)>>2])|0)-(0|t[di>>2]))||(0|Wi(Re,hi=(0|t[(bi+20|0)>>2])-(_i=0|t[(di+4|0)>>2])|0,Ei=(0|t[(bi+28|0)>>2])-_i|0))>(0|Wi(e+56|0,hi,Ei)))?(o=R,82):(o=R,65));if(u=0|t[i>>2],h=(0|(0|t[(d=i+8|0)>>2])+u)/2&-1,m=1+(0|hr(0|t[e>>2],0|t[(E=i+12|0)>>2],h,0))|0,w=0|t[e>>2],S=0|t[(w+4|0)>>2],(0|m)<(0|((0|90*((v=0|t[(w+12|0)>>2])-S|0))/100&-1)+S)?(z=v,Y=w,wi=h,vi=m):(mi=0|t[i>>2],U=1+(0|hr(w,0|t[E>>2],mi,0))|0,H=0|t[e>>2],z=0|t[(H+12|0)>>2],Y=H,wi=mi,vi=U),!((0|vi)<(0|z)))return o=R,0;if(0|wr(Y,vi,wi)){if(0|Zi(V=e+56|0)&&(X=0|hr(0|t[e>>2],vi,0|t[d>>2],1),W=0|t[e>>2],(0|X)<(0|t[(W+12|0)>>2])))return o=R,101;if(0|qi(V)&&(j=0|t[e>>2],K=0|t[i>>2],G=0|hr(j,vi,(0|(0|t[d>>2])+K)/2&-1,1),J=0|t[e>>2],(0|G)<(0|t[(J+12|0)>>2])))return o=R,101;if(0|Zi(n)){if(Z=0|hr(0|t[e>>2],vi,0|t[d>>2],1),Q=0|t[e>>2],$=0|t[(Q+4|0)>>2],(0|Z)<(0|((0|75*((ee=0|t[(Q+12|0)>>2])-$|0))/100&-1)+$))return o=R,103;if((0|Z)<(0|ee))return o=R,101}return o=R,112}f=0|Er(0|t[e>>2],vi,wi);e:do{if(f){if(Li(O,i,0),c=0,P(160,0|A,0|i,1),re=c,c=0,1&re)Te=0|q(),F=Te;else{if(c=0,P(160,0|y,0|i,5),ae=c,c=0,1&ae)Ne=0|q(),b,g=Ne;else{c=0,fe=0|I(175,0|e),te=c,c=0,ne=1&te;r:do{if(!ne){if(1==(0|fe))if(se=0|t[(e+20|0)>>2],le=0|t[se>>2],ue=(0|(0|t[(se+8|0)>>2])+le)/2&-1,ce=0|t[e>>2],be=0|t[ce>>2],(0|ue)>(0|(0|(0|t[(ce+8|0)>>2])+be)/2&-1)){if(c=0,ke=0|M(185,0|O,1,-1),de=c,c=0,1&de)break;if(ke){if(c=0,_e=0|M(185,0|A,1,-1),he=c,c=0,1&he)break;if(_e){if((0|t[(Ee=y+8|0)>>2])<0&&(c=0,N(141,0|y),me=c,c=0,1&me))break;if(we=y+36|0,ve=0|t[(Se=y+40|0)>>2],pe=0|t[we>>2],c=0,Oe=0|B(139,0|y,0|(0|(30*((ve-pe|0)>>2)|0)-30)/100&-1),Ae=c,c=0,1&Ae)break;if((0|t[Ee>>2])<0&&(c=0,N(141,0|y),ye=c,c=0,1&ye))break;if(ge=0|t[Se>>2],Fe=0|t[we>>2],c=0,Me=0|B(139,0|y,0|(0|(70*((ge-Fe|0)>>2)|0)-70)/100&-1),De=c,c=0,1&De)break;(0|Oe)<(0|Me)?(C=52,x=1):Fi=51}else Fi=51}else Fi=51}else Fi=51;else Fi=51;i:do{if(51==(0|Fi)){if(c=0,Ue=0|I(171,0|(Be=e+152|0)),ze=c,c=0,1&ze)break r;do{if(Ue){if(c=0,Ye=0|B(143,0|Be,-1),Ve=c,c=0,1&Ve)break r;if(1==(0|Ye)){if(c=0,Xe=0|M(142,0|Be,0,-1),We=c,c=0,1&We)break r;if((0|t[(e+160|0)>>2])<0&&(c=0,N(141,0|Be),je=c,c=0,1&je))break r;if(Ke=e+188|0,!((0|Xe)<(0|(0|(70*(((0|t[(e+192|0)>>2])-(0|t[Ke>>2])|0)>>2)|0)-70)/100&-1)))break;if(c=0,qe=0|I(171,0|e+104),Je=c,c=0,1&Je)break r;if(!qe)break;if(Ze=0|t[(r+12|0)>>2],Qe=0|t[e>>2],c=0,$e=0|I(170,0|Be),er=c,c=0,1&er)break r;if(rr=$e?80:90,ir=0|t[(Qe+4|0)>>2],ar=0|t[(Qe+12|0)>>2],(0|Ze)>(0|((0|k(ar-ir|0,rr))/100&-1)+ir)){C=57,x=1;break i}}}}while(0);if(fr=0|t[e>>2],c=0,tr=0|B(153,0|fr,0|p),nr=c,c=0,1&nr)break r;Si=tr&(0|t[p>>2])>0;a:do{if(Si){or=0|t[E>>2],sr=0|t[e>>2],lr=0|t[(sr+4|0)>>2],ur=(0|or)<(0|(0|(0|t[(sr+12|0)>>2])+lr)/2&-1);do{if(ur){if((0|(br=2+(cr=0|t[d>>2])|0))>(0|t[(sr+8|0)>>2]))break;if(kr=cr+1|0,dr=(or+1|0)-(0|t[(sr+4|0)>>2])|0,_r=0|t[(sr+16|0)>>2],Sr=kr-(mr=0|t[sr>>2])|0,vr=0|t[(_r+(12*dr|0)|0)>>2],(0|a[(vr+Sr|0)>>0])<<24>>24==0){D=115,T=1;break a}if((0|a[(vr+(br-mr|0)|0)>>0])<<24>>24==0){D=115,T=1;break a}if(c=0,pr=0|B(150,0|Be,50),Or=c,c=0,1&Or)break r;if(pr){D=115,T=1;break a}}}while(0);D=103,T=1}else{if(Ar=0|t[e>>2],yr=0|t[(Ar+4|0)>>2],(0|vi)>(0|((0|85*((0|t[(Ar+12|0)>>2])-yr|0))/100&-1)+yr)){if(c=0,Rr=0|I(171,0|e+104),Fr=c,c=0,1&Fr)break r;if(Rr){D=81,T=1;break}Mr=0|t[e>>2]}else Mr=Ar;if(c=0,Dr=0|L(147,0|Mr,0|vi,0|wi,1),Tr=c,c=0,1&Tr)break r;if(Nr=0|t[e>>2],(0|Dr)<(0|t[(Nr+12|0)>>2])){if(Cr=(0|(Dr<<1)+vi)/3&-1,Ir=0|t[(Nr+4|0)>>2],c=0,Pr=0|M(145,0|Be,0|Cr-Ir,2),xr=c,c=0,1&xr)break r;if(Pr){D=103,T=1;break}}if(c=0,Lr=0|B(143,0|n,-1),Hr=c,c=0,1&Hr)break r;if(1!=(0|Lr)){D=0,T=0;break}if(!((0|(1+(Ur=0|t[E>>2])|0)-(0|t[(i+4|0)>>2]))<(0|(1+(0|t[(r+12|0)>>2])|0)-(0|t[(r+4|0)>>2])))){D=81,T=1;break}if(zr=0|t[d>>2],Yr=0|t[e>>2],Vr=0|t[Yr>>2],(0|zr)<(0|(0|(0|t[(Yr+8|0)>>2])+Vr)/2&-1)&&(Xr=0|t[(Yr+4|0)>>2],(0|Ur)<(0|(0|(0|t[(Yr+12|0)>>2])+Xr)/2&-1))){D=50,T=1;break}D=113,T=1}}while(0);C=D,x=T}}while(0);if(jr=Wr=0|t[(y+36|0)>>2],0==(0|Wr)||((0|(Gr=0|t[(Kr=y+40|0)>>2]))==(0|Wr)||(Ri=Gr+((-1^((Gr+-4|0)-jr|0)>>>2)<<2)|0,t[Kr>>2]=Ri),vf(Wr)),Zr=qr=0|t[(A+36|0)>>2],0==(0|qr)||((0|($r=0|t[(Qr=A+40|0)>>2]))==(0|qr)||(yi=$r+((-1^(($r+-4|0)-Zr|0)>>>2)<<2)|0,t[Qr>>2]=yi),vf(qr)),ri=ei=0|t[(O+36|0)>>2],0==(0|ei)||((0|(ai=0|t[(ii=O+40|0)>>2]))==(0|ei)||(Ai=ai+((-1^((ai+-4|0)-ri|0)>>>2)<<2)|0,t[ii>>2]=Ai),vf(ei)),0==(0|x))break e;return o=R,0|C}}while(0);Ce=0|q(),Ie=b,xe=Pe=0|t[(y+36|0)>>2],0==(0|Pe)?(Ie,g=Ce):((0|(He=0|t[(Le=y+40|0)>>2]))==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|t[j>>2]))/4&-1))<(0|G)?q:G))+K));do{if($e){if(!(0|ya(r,4)||0|ya(r,2)))break;if(Q=0|t[e>>2],$=0|t[(Q+8|0)>>2],ee=e+152|0,(0|t[(e+160|0)>>2])<0&&Hi(ee),re=e+188|0,!((0|$-(0|Xi(ee,(0|(5*(((0|t[(e+192|0)>>2])-(0|t[re>>2])|0)>>2)|0)-5)/100&-1)))<(0|t[f>>2])))return o=I,243;if(ie=0|t[e>>2],ae=0|t[ie>>2],fe=(0|Xi(Qe,(0|t[H>>2])-(0|t[(ie+4|0)>>2])|0))+ae|0,te=0|t[e>>2],ne=0|t[te>>2],(0|fe)>(0|((0|(0|t[(te+8|0)>>2])-ne)/20&-1)+ne))break e;return o=I,243}}while(0);J||(ir=21)}else ir=21}while(0);if(21==(0|ir)&&0|Zi(Qe)&&0|Zi(e+200|0)&&(oe=(0|dr(0|t[B>>2],0|t[H>>2],1+(0|t[f>>2])|0,0))-1|0,se=0|dr(0|t[B>>2],oe,1+(0|t[f>>2])|0,1),le=0|t[e>>2],(0|se)>(0|t[(le+4|0)>>2])))return o=I,54;if(ue=(0|dr(0|t[B>>2],0|t[H>>2],y,0))-1|0,ce=0|dr(0|t[B>>2],ue,y,1),be=0|t[e>>2],!((0|ce)>(0|(ke=0|t[(be+4|0)>>2]))))return o=I,98;switch(0|la(e+104|0,(0|(1-ke|0)+(0|t[(be+12|0)>>2]))/2&-1)){case 1:ir=26;break;case 2:return o=I,107}return 26==(0|ir)&&1==(0|la(e+200|0,-1))?(o=I,115):(o=I,0)}if(!(0|Er(0|t[B>>2],rr,er))){we=0|t[e>>2],ve=(0|(1+(0|t[(we+8|0)>>2])|0)-(0|t[we>>2]))>(0|3*((1+(0|t[f>>2])|0)-(0|t[i>>2])|0));do{if(ve)if(pe=0|t[H>>2],Oe=0|t[(we+4|0)>>2],(0|pe)<(0|(Ae=(0|(0|t[(we+12|0)>>2])+Oe)/2&-1))){if((0|(ge=0|t[(Re=e+32|0)>>2]))==(0|t[(e+36|0)>>2])?(ha(e),L=0|t[Re>>2],z=0|t[e>>2],Me=0|t[(z+4|0)>>2],Te=L,xe=z):(Me=Oe,Te=ge,xe=we),De=Te+(12*(Fe=Ae-Me|0)|0)|0,24==(0|(0|t[(4+(Te+(12*Fe|0)|0)|0)>>2])-(0|t[De>>2]))){if(0|qi(e+56|0)){Ce=0|t[B>>2];break}return o=I,109}Ce=xe}else Ce=we;else Ce=we}while(0);return Ie=0|Or(Ce,C),Pe=0|t[C>>2],o=I,0|(Ie&(0|Pe)>0?115:0)}if(u=(0|(n=0|t[i>>2]))<(0|(l=((0|(0|t[f>>2])-n)/10&-1)+n|0))?l:n,c=(0|dr(0|t[B>>2],0|t[H>>2],u,0))-1|0,b=0|dr(0|t[B>>2],c,u,1),k=0|t[e>>2],d=(0|b)>(0|t[(k+4|0)>>2]),h=0|ya(r,4),!d){if(h){if(Z)return o=I,243}else if(Z&(0|ya(r,2)))return o=I,243;return o=I,100}h?ir=32:0|ya(r,2)&&(ir=32);do{if(32==(0|ir)){if(de=0|dr(0|t[B>>2],rr,er,1),_e=0|t[e>>2],he=0|t[(_e+4|0)>>2],(0|rr)>(0|(0|(Ee=0|t[(_e+12|0)>>2])+he)/2&-1)){if(x=(me=(0|de)>(0|((0|Ee-he)/5&-1)+he))?225:242,!(Z|me))break;return o=I,0|x}if(!Z)break;return o=I,242}}while(0);return o=I,97},rt,rt,function(e,r){e|=0;var i,a,f,n,o,s,l,u,c=0,b=0;return a=0|t[(4+(r|=0)|0)>>2],l=(0|(s=0|t[(r+12|0)>>2])+a)/2&-1,(0|(u=0|t[(e+4|0)>>2]))>(0|l)|(0|(i=0|t[(e+12|0)>>2]))<(0|l)?(f=(s+1|0)-a|0,(0|(i+1|0)-u)<(0|(o=(0|((0|(n=(1+(0|t[(r+8|0)>>2])|0)-(0|t[r>>2])|0))<(0|f)?n:f))/2&-1))?0|(0|(c=(0|o+1)/2&-1)+(b=(0|u+i)/2&-1))>=(0|l)&(0|b-c)<=(0|l):0):1},rt,qe,Ke,function(e,r){return r|=0,(0|t[(e|=0)>>2])>(0|t[r>>2])?0:0|(0|t[(e+8|0)>>2])>=(0|t[(r+8|0)>>2])},Or,rt,rt,rt,rt,rt,Ge,rt,rt,rt,rt,rt,ti,rt,rt,rt,rt,rt,rt,rt,rt,Ra,rt,fi,rt,Qi,function(e,r){e|=0,r|=0;var i=0,a=0;e:do{switch(0|e){case 65:switch(0|r){case 39:i=193;break e;case 96:i=192;break e;case 94:i=194;break e;case 58:i=196;break e;default:a=51;break e}break;case 69:switch(0|r){case 39:i=201;break e;case 96:i=200;break e;case 94:i=202;break e;case 58:i=203;break e;default:a=51;break e}break;case 71:i=286;break;case 73:case 91:switch(0|r){case 39:i=205;break e;case 96:i=204;break e;case 94:i=206;break e;case 58:i=207;break e;default:a=51;break e}break;case 78:58==(0|r)?a=51:i=209;break;case 79:switch(0|r){case 39:i=211;break e;case 96:i=210;break e;case 94:i=212;break e;case 58:i=214;break e;default:a=51;break e}break;case 83:i=352;break;case 86:case 85:switch(0|r){case 39:i=218;break e;case 96:i=217;break e;case 94:i=219;break e;case 58:i=220;break e;default:a=51;break e}break;case 89:i=39==(0|r)?221:58==(0|r)?376:0;break;case 90:i=381;break;case 97:switch(0|r){case 39:i=225;break e;case 96:i=224;break e;case 94:i=226;break e;case 58:i=228;break e;default:a=51;break e}break;case 101:switch(0|r){case 39:i=233;break e;case 96:i=232;break e;case 94:i=234;break e;case 58:i=235;break e;default:a=51;break e}break;case 103:case 57:i=287;break;case 108:case 105:case 93:case 124:switch(0|r){case 39:i=237;break e;case 96:i=236;break e;case 94:i=238;break e;case 58:i=239;break e;default:a=51;break e}break;case 110:58==(0|r)?a=51:i=241;break;case 111:switch(0|r){case 39:i=243;break e;case 96:i=242;break e;case 94:i=244;break e;case 58:i=246;break e;default:a=51;break e}break;case 115:i=353;break;case 118:case 117:switch(0|r){case 39:i=250;break e;case 96:i=249;break e;case 94:i=251;break e;case 58:i=252;break e;default:a=51;break e}break;case 121:i=39==(0|r)?253:58==(0|r)?255:0;break;case 122:i=382;break;default:a=51}}while(0);return 51==(0|a)&&(i=0),0|i},function(e,r){var i;return r|=0,0|(0==(0|(i=0|t[(e|=0)>>2]))?4==(0|r):(0|i)==(0|r))},rt,gr,rt,function(e,r){var i,a,f,n,o,s,l,u=0,k=0,d=0,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0;if((0|(e|=0))==(0|(r|=0)))return 0|e;t[e>>2]=0|t[r>>2],t[e+4>>2]=0|t[r+4>>2],t[e+8>>2]=0|t[r+8>>2],t[e+12>>2]=0|t[r+12>>2],i=e+16|0,s=(0|(n=0|t[(f=e+20|0)>>2]))==(0|(o=0|t[i>>2]));e:do{if(!s){for(_=o,M=n,D=0;;){if(0==(0|(h=0|t[(_+(D<<2)|0)>>2])))w=_,S=M;else{if(c=0,N(72,0|h),E=c,c=0,1&E){k=h;break}vf(h),d=0|t[f>>2],w=0|t[i>>2],S=d}if(!((m=D+1|0)>>>0<(S-w|0)>>2>>>0))break e;_=w,M=S,D=m}v=0|q(),b,vf(k),ie(0|v)}}while(0);rr(i,0|t[(l=r+16|0)>>2],0|t[(r+20|0)>>2]),a=(0|t[f>>2])==(0|t[i>>2]);e:do{if(!a){for(T=0;;){if(p=0|gf(40),O=0|t[l>>2],A=0|t[(O+(T<<2)|0)>>2],c=0,C(159,0|p,0|A),y=c,c=0,1&y){u=p;break}if(R=0|t[i>>2],t[(R+(T<<2)|0)>>2]=p,!((g=T+1|0)>>>0<((0|t[f>>2])-(0|t[i>>2])|0)>>2>>>0))break e;T=g}F=0|q(),b,vf(u),ie(0|F)}}while(0);return function(e,r,i){var a=0,f=0,n=0,o=0,s=0,l=0,u=0,c=0,b=0,k=0,d=0,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0,I=0,P=0,x=0,L=0,H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We,rt,rt,$r,rt,rt,rt,function(e,r){e|=0;var i,a=0,f=0;return!((0|(r|=0))<0)&&(a=e+16|0,(0|((0|t[(e+20|0)>>2])-(f=0|t[a>>2])|0)>>2)>(0|r))?0|t[(f+(r<<2)|0)>>2]:(Oa(2417),i=0|t[(e+16|0)>>2],0|t[(i+(r<<2)|0)>>2])},rt,rt,rt,rt,rt,rt,rt,rt,rt,rt,rt,rt,rt,rt,rt,rt,rt,rt,rt,rt,rt,rt,rt,rt,rt,rt,rt,rt,rt,rt,rt,rt,rt,rt,rt,rt,rt,rt,rt,rt,rt,rt,rt,rt,rt,rt,rt,rt,rt,rt],_t=[it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,function(e,r,i,a,f){e|=0,r|=0,i|=0,a|=0,f|=0;var n,l,u,c,b,k,d,h,E,m,w,S,v,p,O,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0,I=0,P=0,x=0,L=0,H=0,B=0,U=0,z=0,Y=0;return O=o,(0|(o=o+32|0))>=(0|s)&&_(),n=O+16|0,l=O+8|0,b=O,(0|f)<0?(o=O,0):(S=e+16|0,(0|((0|t[(e+20|0)>>2])-(p=0|t[S>>2])|0)>>2)>(0|f)?(u=0|t[(p+(f<<2)|0)>>2],(0|t[u>>2])>(0|i)?(o=O,0):(0|t[(u+8|0)>>2])>(0|i)?(c=-1^f,k=0|t[e>>2],h=0|t[(d=e+28|0)>>2],(0|(m=0|t[(E=e+32|0)>>2]))==(0|h)?A=h:(Y=m+((-1^((m+-8|0)-h|0)>>>3)<<3)|0,t[E>>2]=Y,A=Y),t[n>>2]=c,t[(n+4|0)>>2]=k,(0|A)==(0|t[(w=e+36|0)>>2])?(Pr(d,n),D=0|t[E>>2]):(R=0|t[(y=n)>>2],g=0|t[(y+4|0)>>2],t[(F=A)>>2]=R,t[(F+4|0)>>2]=g,M=8+(0|t[E>>2])|0,t[E>>2]=M,D=M),t[l>>2]=r,t[(l+4|0)>>2]=i,(0|D)==(0|t[w>>2])?(Pr(d,l),x=0|t[E>>2]):(N=0|t[(T=l)>>2],C=0|t[(T+4|0)>>2],t[(I=D)>>2]=N,t[(I+4|0)>>2]=C,P=8+(0|t[E>>2])|0,t[E>>2]=P,x=P),v=0|t[(e+8|0)>>2],t[b>>2]=a,t[(b+4|0)>>2]=v,(0|x)==(0|t[w>>2])?Pr(d,b):(H=0|t[(L=b)>>2],B=0|t[(L+4|0)>>2],t[(U=x)>>2]=H,t[(U+4|0)>>2]=B,z=8+(0|t[E>>2])|0,t[E>>2]=z),o=O,1):(o=O,0)):(o=O,0))},it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it,it],ht=[at,at,at,at,at,at,at,at,at,at,at,at,at,at,function(e,r,i,a){i|=0,a|=0,(0|(e|=0))==(0|t[(8+(r|=0)|0)>>2])&&Af(0,r,i,a)},at,at,at,function(e,r,i,a){i|=0,a|=0;var f=0,n=0,o=0;(0|(e|=0))==(0|t[(8+(r|=0)|0)>>2])?Af(0,r,i,a):(f=0|t[(e+8|0)>>2],n=0|t[f>>2],o=0|t[(n+28|0)>>2],ht[63&o](f,r,i,a))},at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+-4|0)-jd|0)>>>2)<<2)|0,t[O>>2]=ZA),c=0,C(71,0|fi,0|ti),Gd=c,c=0,1&Gd){Iy=36;break r}if(0==(0|ti))break;if(c=0,N(72,0|xd),Jd=c,c=0,1&Jd){ni=ti,Iy=87;break r}vf(ti)}}while(0);$d=0|t[A>>2]}if(!((0|Gp)<(0|$d))){Lr=$d;break}e_=Gp+1|0,qf=0|t[e>>2],ao=$d,Gp=e_}Mf=0|t[YS>>2],ad=Lr}if(!((0|VO)<(0|Mf))){Iy=25;break e}xf=VO+1|0,Ba=0|t[NE>>2],Ef=ad,id=Mf,VO=xf}if(36==(0|Iy)){ra=0|q(),cO=b,bO=ra,Iy=38;break}if(64==(0|Iy)){Jc=0|q(),eb=b,vf(xr),fe=Jc,he=eb;break}if(87==(0|Iy)){Zd=0|q(),Qd=b,vf(ni),cO=Qd,bO=Zd,Iy=38;break}}}while(0);e:do{if(25==(0|Iy)){gv=(0|i)<100;r:do{if(gv)if(((0|t[O>>2])-(0|t[Z>>2])|0)>>2>>>0>3){if(c=0,C(73,0|e,0|Z),r_=c,c=0,!(1&r_)){f_=(a_=(0|t[O>>2])-(i_=0|t[Z>>2])|0)>>2,t_=(0|a_)>0;i:do{if(t_){for(s_=i_,EO=0,sy=0;;){if(l_=0|t[(s_+(EO<<2)|0)>>2],(0|(c_=(1+(0|t[(l_+12|0)>>2])|0)-(0|t[(l_+4|0)>>2])|0))>4)h_=s_,Iy=104;else if((0|(k_=(1+(0|t[(l_+8|0)>>2])|0)-(0|t[l_>>2])|0))>4)h_=s_,Iy=104;else if((0|c_)>2|(0|k_)>2){if(c=0,d_=0|I(74,0|l_),__=c,c=0,1&__)break;(0|d_)>5?(h_=0|t[Z>>2],Iy=104):ly=sy}else ly=sy;if(104==(0|Iy)&&(Iy=0,E_=0|t[(h_+(sy<<2)|0)>>2],t[(h_+(EO<<2)|0)>>2]=E_,m_=0|t[Z>>2],t[(m_+(sy<<2)|0)>>2]=l_,ly=sy+1|0),!((0|(w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p=Yp;else{if(fE=Yp+1|0,(0|Yp)>0){jp=fE;break}Xp=fE}if(tE=XO+1|0,!((0|XO)<(0|eE))){jp=Xp;break}Yp=Xp,XO=tE}if(!((0|jp)<2))break}if(c=0,C(78,0|Bh,0|$r+-1),nE=c,c=0,1&nE)break i}}while(0);if(!((0|(oE=SO+1|0))<(0|Lh))){Iy=167;break r}Hh=0|t[Z>>2],SO=oE}vi=0|q(),cO=b,bO=vi,Iy=38;break e}Iy=167}}else Iy=167;else Iy=167}while(0);r:do{if(167==(0|Iy)){i:do{if(f)if((0|(1+(0|t[A>>2])|0)-(0|t[e>>2]))>200)if((0|(1+(0|t[YS>>2])|0)-(0|t[NS>>2]))>200)if(((uE=0|t[O>>2])-(cE=0|t[Z>>2])|0)>>2>>>0>3){bE=(0|cE)==(0|uE);a:do{if(!bE){if(c=0,kE=0|I(79,0|Z),dE=c,c=0,1&dE)break r;if(hE=0|t[Z>>2],EE=0|t[hE>>2],c=0,C(80,0|W,0|EE),mE=c,c=0,1&mE)break r;t[(wE=W+28|0)>>2]=0,t[(SE=W+32|0)>>2]=0,t[(W+36|0)>>2]=0,RE=(0|(pE=0|t[(vE=r+4|0)>>2]))==(0|(yE=0|t[(AE=r+8|0)>>2])),gE=yE;f:do{if(RE){Tm=(Dm=1+((0|pE-(Mm=0|t[r>>2]))/40&-1)|0)>>>0>107374182;do{if(Tm){if(c=0,N(46,0|r),Nm=c,c=0,1&Nm)break;Vr=AE,Cm=0|t[r>>2],Pm=0|t[AE>>2],Iy=206}else Vr=AE,Cm=Mm,Pm=gE,Iy=206}while(0);do{if(206==(0|Iy)){if((xm=(0|Pm-Cm)/40&-1)>>>0<53687091?(Hm=(Lm=xm<<1)>>>0<Dm>>>0?Dm:Lm,Bm=(0|(0|t[vE>>2])-Cm)/40&-1,0==(0|Hm)?(be=0,Vm=0,Xm=Bm):(le=Hm,pd=Bm,Iy=209)):(le=107374182,pd=(0|(0|t[vE>>2])-Cm)/40&-1,Iy=209),209==(0|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+8>>2],t[eS+12>>2]=0|t[iS+12>>2],c=0,C(81,0|rS+-24,0|Se+-24),aS=c,c=0,1&aS){vp=Sp,Iy=259;break}if(c=0,C(82,0|rS+-12,0|Se+-12),fS=c,c=0,1&fS){Or=rS,pp=Sp,Iy=241;break}if(bS=cS=Sp+-40|0,(0|iS)==(0|Jw)){Ar=bS,Iy=246;break}Se=iS,rS=cS,Sp=bS}if(241==(0|Iy)){if(tS=0|q(),nS=b,sS=oS=0|t[(Or+-24|0)>>2],0==(0|oS)){Ep=qw,Mp=pp,Zp=nS,Qp=tS;break t}(0|(uS=0|t[(lS=Or+-20|0)>>2]))==(0|oS)||($O=uS+((-1^((uS+-8|0)-sS|0)>>>3)<<3)|0,t[lS>>2]=$O),vf(oS),Ep=qw,Mp=pp,Zp=nS,Qp=tS;break t}if(246==(0|Iy)){kS=Ar,dS=0|t[r>>2],hS=0|t[vE>>2];break}if(259==(0|Iy)){gS=0|q(),Ep=qw,Mp=vp,Zp=b,Qp=gS;break t}}}while(0);if(t[r>>2]=kS,t[vE>>2]=qw,t[Vr>>2]=Km,(0|hS)!=(0|(_S=dS)))for(mS=hS;ES=mS+-40|0,SS=wS=0|t[(mS+-12|0)>>2],0==(0|wS)||((0|(pS=0|t[(vS=mS+-8|0)>>2]))==(0|wS)||(kA=pS+((-1^((pS+-4|0)-SS|0)>>>2)<<2)|0,t[vS>>2]=kA),vf(wS)),AS=OS=0|t[(mS+-24|0)>>2],0==(0|OS)||((0|(RS=0|t[(yS=mS+-20|0)>>2]))==(0|OS)||(oA=RS+((-1^((RS+-8|0)-AS|0)>>>3)<<3)|0,t[yS>>2]=oA),vf(OS)),(0|ES)!=(0|_S);)mS=ES;if(0==(0|dS)){Iy=272;break f}vf(dS),Iy=272;break f}}while(0);if((0|(MS=Ep))!=(0|(FS=Mp)))for(TS=MS;DS=TS+-40|0,IS=CS=0|t[(TS+-12|0)>>2],0==(0|CS)||((0|(xS=0|t[(PS=TS+-8|0)>>2]))==(0|CS)||(aA=xS+((-1^((xS+-4|0)-IS|0)>>>2)<<2)|0,t[PS>>2]=aA),vf(CS)),BS=HS=0|t[(TS+-24|0)>>2],0==(0|HS)||((0|(zS=0|t[(US=TS+-20|0)>>2]))==(0|HS)||(iA=zS+((-1^((zS+-8|0)-BS|0)>>>3)<<3)|0,t[US>>2]=iA),vf(HS)),(0|DS)!=(0|FS);)TS=DS;if(0==(0|Vm)){aO=Zp,fO=Qp,Iy=289;break f}vf(Vm),aO=Zp,fO=Qp,Iy=289;break f}}while(0);pv=0|q(),aO=b,fO=pv,Iy=289}else{t[pE>>2]=0|t[W>>2],t[pE+4>>2]=0|t[W+4>>2],t[pE+8>>2]=0|t[W+8>>2],t[pE+12>>2]=0|t[W+12>>2],ME=W+16|0,t[(FE=pE+16|0)>>2]=0,t[(DE=pE+20|0)>>2]=0,t[(pE+24|0)>>2]=0,PE=0==(0|(IE=(CE=(0|t[(TE=W+20|0)>>2])-(0|t[ME>>2])|0)>>3));t:do{if(!PE){IE>>>0>536870911?(c=0,N(46,0|FE),xE=c,c=0,1&xE||(Iy=178)):Iy=178;do{if(178==(0|Iy)){if(c=0,LE=0|I(29,0|CE),HE=c,c=0,1&HE)break;if(t[DE>>2]=LE,t[FE>>2]=LE,BE=LE+(IE<<3)|0,t[(pE+24|0)>>2]=BE,(0|(UE=0|t[ME>>2]))==(0|(zE=0|t[TE>>2])))break t;for(Te=UE,jE=LE;;){if(VE=0|t[(YE=Te)>>2],WE=0|t[(YE+4|0)>>2],t[(KE=jE)>>2]=VE,t[(KE+4|0)>>2]=WE,GE=8+(0|t[DE>>2])|0,t[DE>>2]=GE,(0|(qE=Te+8|0))==(0|zE))break t;Te=qE,jE=GE}}}while(0);if(JE=0|q(),ZE=b,$E=QE=0|t[FE>>2],0==(0|QE)){aO=ZE,fO=JE,Iy=289;break f}(0|(em=0|t[DE>>2]))==(0|QE)||(XA=em+((-1^((em+-8|0)-$E|0)>>>3)<<3)|0,t[DE>>2]=XA),vf(QE),aO=ZE,fO=JE,Iy=289;break f}}while(0);am=W+28|0,t[(im=pE+28|0)>>2]=0,t[(fm=pE+32|0)>>2]=0,t[(pE+36|0)>>2]=0,om=0==(0|(nm=(tm=(0|t[SE>>2])-(0|t[am>>2])|0)>>2));t:do{if(!om){nm>>>0>1073741823?(c=0,N(46,0|im),sm=c,c=0,1&sm||(Iy=189)):Iy=189;do{if(189==(0|Iy)){if(c=0,lm=0|I(29,0|tm),um=c,c=0,1&um)break;if(t[fm>>2]=lm,t[im>>2]=lm,cm=lm+(nm<<2)|0,t[(pE+36|0)>>2]=cm,(0|(bm=0|t[am>>2]))==(0|(km=0|t[SE>>2])))break t;for(De=bm,_m=lm;;){if(dm=0|t[De>>2],t[_m>>2]=dm,hm=4+(0|t[fm>>2])|0,t[fm>>2]=hm,(0|(Em=De+4|0))==(0|km))break t;De=Em,_m=hm}}}while(0);if(mm=0|q(),wm=b,pm=Sm=0|t[im>>2],0==(0|Sm)||((0|(Om=0|t[fm>>2]))==(0|Sm)||(VA=Om+((-1^((Om+-4|0)-pm|0)>>>2)<<2)|0,t[fm>>2]=VA),vf(Sm)),Rm=Am=0|t[(pE+16|0)>>2],0==(0|Am)){aO=wm,fO=mm,Iy=289;break f}(0|(gm=0|t[DE>>2]))==(0|Am)||(EA=gm+((-1^((gm+-8|0)-Rm|0)>>>3)<<3)|0,t[DE>>2]=EA),vf(Am),aO=wm,fO=mm,Iy=289;break f}}while(0);Fm=40+(0|t[vE>>2])|0,t[vE>>2]=Fm,Iy=272}}while(0);f:do{if(272==(0|Iy)){if(XS=VS=0|t[wE>>2],0==(0|VS)||((0|(WS=0|t[SE>>2]))==(0|VS)||(jA=WS+((-1^((WS+-4|0)-XS|0)>>>2)<<2)|0,t[SE>>2]=jA),vf(VS)),GS=KS=0|t[(W+16|0)>>2],0==(0|KS)||((0|(JS=0|t[(qS=W+20|0)>>2]))==(0|KS)||(GO=JS+((-1^((JS+-8|0)-GS|0)>>>3)<<3)|0,t[qS>>2]=GO),vf(K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2)<<2)|0,t[qv>>2]=JA),(0|(ip=40+(rp=(0|t[r>>2])+(40*((0|40*TO)/40&-1)|0)|0)|0))==(0|(ap=0|t[vE>>2])))_e=rp,Ad=ip,Iy=317;else{for(Ne=ip,Pe=rp;;){if(t[Pe>>2]=0|t[Ne>>2],t[Pe+4>>2]=0|t[Ne+4>>2],t[Pe+8>>2]=0|t[Ne+8>>2],t[Pe+12>>2]=0|t[Ne+12>>2],fp=Pe+16|0,tp=0|t[(Ne+16|0)>>2],np=0|t[(Ne+20|0)>>2],c=0,P(86,0|fp,0|tp,0|np),op=c,c=0,1&op){Iy=30;break n}if(sp=Pe+28|0,up=0|t[(Ne+28|0)>>2],cp=0|t[(Ne+32|0)>>2],c=0,P(87,0|sp,0|up,0|cp),bp=c,c=0,1&bp){Iy=30;break n}if(dp=Pe+40|0,(0|(kp=Ne+40|0))==(0|ap)){Qe=dp;break}Ne=kp,Pe=dp}(0|(Yr=0|t[vE>>2]))==(0|Qe)||(_e=Qe,Ad=Yr,Iy=317)}if(317==(0|Iy))for(Iy=0,oi=Ad;_p=oi+-40|0,t[vE>>2]=_p,li=si=0|t[(oi+-12|0)>>2],0==(0|si)||((0|(ci=0|t[(ui=oi+-8|0)>>2]))==(0|si)||(uA=ci+((-1^((ci+-4|0)-li|0)>>>2)<<2)|0,t[ui>>2]=uA),vf(si)),di=ki=0|t[(oi+-24|0)>>2],0==(0|ki)||((0|(Ei=0|t[(hi=oi+-20|0)>>2]))==(0|ki)||(_A=Ei+((-1^((Ei+-8|0)-di|0)>>>3)<<3)|0,t[hi>>2]=_A),vf(ki)),(0|(_i=0|t[vE>>2]))!=(0|_e);)oi=_i;dO=kO,NO=TO+-1|0}else dO=kO,NO=TO}while(0);if(mi=NO+1|0,wi=0|t[vE>>2],pi=Si=0|t[r>>2],!(mi>>>0<((0|wi-Si)/40&-1)>>>0)){$e=pi,_O=dO;break}kO=dO,TO=mi,Fy=pi}if(!((0|_O)>-1))break;if(c=0,C(88,0|$e+(40*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Uf=zf}}while(0);if($f=ja+40|0,et=0|t[r>>2],(0|(rt=0|t[vE>>2]))==(0|et))Et=qa,mt=et,St=et;else{for(ve=rt,at=ja,yp=qa;;){if(ft=ve+-40|0,t[(it=at+-40|0)>>2]=0|t[ft>>2],t[it+4>>2]=0|t[ft+4>>2],t[it+8>>2]=0|t[ft+8>>2],t[it+12>>2]=0|t[ft+12>>2],c=0,C(81,0|at+-24,0|ve+-24),nt=c,c=0,1&nt){br=Ka,vr=$f,Rp=yp,Iy=418;break n}if(c=0,C(82,0|at+-12,0|ve+-12),ot=c,c=0,1&ot){er=at,kr=Ka,pr=$f,gp=yp,Iy=400;break n}if(ht=_t=yp+-40|0,(0|ft)==(0|et)){rr=ht;break}ve=ft,at=_t,yp=ht}Et=rr,mt=0|t[r>>2],St=0|t[vE>>2]}if(t[r>>2]=Et,t[vE>>2]=$f,t[AE>>2]=Ja,(0|St)!=(0|(wt=mt)))for(pt=St;vt=pt+-40|0,yt=At=0|t[(pt+-12|0)>>2],0==(0|At)||((0|(gt=0|t[(Rt=pt+-8|0)>>2]))==(0|At)||(dA=gt+((-1^((gt+-4|0)-yt|0)>>>2)<<2)|0,t[Rt>>2]=dA),vf(At)),Mt=Ft=0|t[(pt+-24|0)>>2],0==(0|Ft)||((0|(Tt=0|t[(Dt=pt+-20|0)>>2]))==(0|Ft)||(sA=Tt+((-1^((Tt+-8|0)-Mt|0)>>>3)<<3)|0,t[Dt>>2]=sA),vf(Ft)),(0|vt)!=(0|wt);)pt=vt;if(0==(0|mt))break;vf(mt)}else{t[Di>>2]=0|t[K>>2],t[Di+4>>2]=0|t[K+4>>2],t[Di+8>>2]=0|t[K+8>>2],t[Di+12>>2]=0|t[K+12>>2],t[(Ci=Di+16|0)>>2]=0,t[(Ii=Di+20|0)>>2]=0,t[(Di+24|0)>>2]=0,Li=0==(0|(xi=(Pi=(0|t[dv>>2])-(0|t[kv>>2])|0)>>3));do{if(!Li){if(xi>>>0>536870911&&(c=0,N(46,0|Ci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0|(Qt=0|t[dv>>2]))==(0|Jt)||(pA=Qt+((-1^((Qt+-8|0)-Zt|0)>>>3)<<3)|0,t[dv>>2]=pA),vf(Jt)),ky=0|t[vE>>2],t[G>>2]=Cv,(0|(rn=0|t[(en=ky+-8|0)>>2]))==(0|t[(ky+-4|0)>>2])){if(c=0,C(70,0|ky+-12,0|G),nn=c,c=0,1&nn){Iy=32;break n}break}fn=Cv,t[rn>>2]=fn,tn=4+(0|t[en>>2])|0,t[en>>2]=tn;break}if(0==(0|Cv))break;if(c=0,N(72,0|Cv),Lv=c,c=0,1&Lv){ir=Cv,Iy=303;break n}vf(Cv)}while(0);if(_n=pO+1|0,hn=0|t[O>>2],ze=En=0|t[Z>>2],!(_n>>>0<(hn-En|0)>>2>>>0)){Ye=ze,je=hn,Ge=En;break t}Xe=ze,pO=_n}switch(0|Iy){case 30:$v=0|q(),cO=b,bO=$v,Iy=38;break e;case 31:lp=0|q(),cO=b,bO=lp,Iy=38;break e;case 32:bi=0|q(),cO=b,bO=bi,Iy=38;break e;case 303:Hv=0|q(),Bv=b,vf(ir),Ie=Hv,Le=Bv;break f;case 342:if(Qi=0|q(),$i=b,ia=ea=0|t[fr>>2],0==(0|ea)){tO=$i,nO=Qi;break}(0|(aa=0|t[tr>>2]))==(0|ea)||(HA=aa+((-1^((aa+-8|0)-ia|0)>>>3)<<3)|0,t[tr>>2]=HA),vf(ea),tO=$i,nO=Qi;break;case 353:if(Sa=0|q(),va=b,Oa=pa=0|t[or>>2],0==(0|pa)||((0|(Aa=0|t[sr>>2]))==(0|pa)||(UA=Aa+((-1^((Aa+-4|0)-Oa|0)>>>2)<<2)|0,t[sr>>2]=UA),vf(pa)),ga=Ra=0|t[(ar+16|0)>>2],0==(0|Ra)){tO=va,nO=Sa;break}(0|(Fa=0|t[nr>>2]))==(0|Ra)||(SA=Fa+((-1^((Fa+-8|0)-ga|0)>>>3)<<3)|0,t[nr>>2]=SA),vf(Ra),tO=va,nO=Sa;break;case 377:if(wf=0|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0|Cp)<(0|(Zn=0|t[(12+(dy+(40*AO|0)|0)|0)>>2]))?Zn:Cp,fo=eo,!(($n=AO+1|0)>>>0<(io=(0|ro-eo)/40&-1)>>>0)){Ze=io;break}Rd=eo,gd=ro,Cp=Qn,AO=$n,hy=fo}if(473==(0|Iy)){Wn=0|q(),oO=b,sO=Wn;break}if(ei=0|t[wn>>2],ri=0|t[pn>>2],t[S>>2]=Ze,(0|ei)==(0|ri)){Iy=460;break}t[ei>>2]=Ze,On=ei+4|0,t[wn>>2]=On,Xr=wn,yn=On,Fd=On,Iy=458}else t[S>>2]=Sn,Iy=460}while(0);do{if(460==(0|Iy)){if(c=0,C(48,0|Q,0|S),Cn=c,c=0,1&Cn){jn=0|q(),oO=b,sO=jn;break}Xr=wn,yn=ii=0|t[wn>>2],Fd=ii,Iy=458;break}}while(0);t:do{if(458==(0|Iy)){Rn=(0|yn)==(0|(An=0|t[Q>>2])),gn=An;do{if(Rn)to=gn,no=Fd;else{Fn=J+16|0,Mn=J+28|0,zr=J+28|0,Dn=J+16|0,Tn=J+20|0,Nn=J+32|0,oo=gn,Tp=0,Jp=0;n:for(;;){if(uo=(lo=Tp+1|0)>>>0<(so=0|t[(oo+(Jp<<2)|0)>>2])>>>0)for(ho=lo,yO=Tp;;){for(hO=yO,PO=ho;;){if(Ey=0|t[r>>2],c=0,Eo=0|B(89,0|Ey+(40*PO|0),0|Ey+(40*hO|0)),mo=c,c=0,1&mo){Iy=467;break n}if(CO=Eo?PO:hO,!((wo=PO+1|0)>>>0<so>>>0)){IO=CO;break}hO=CO,PO=wo}if((0|IO)!=(0|yO)){if(So=(my=0|t[r>>2])+(40*yO|0)|0,vo=my+(40*IO|0)|0,t[J>>2]=0|t[So>>2],t[J+4>>2]=0|t[So+4>>2],t[J+8>>2]=0|t[So+8>>2],t[J+12>>2]=0|t[So+12>>2],c=0,C(81,0|Fn,0|(po=16+(my+(40*yO|0)|0)|0)),Oo=c,c=0,1&Oo){Iy=472;break n}if(c=0,C(82,0|Mn,0|(Ao=28+(my+(40*yO|0)|0)|0)),yo=c,c=0,1&yo){Iy=496;break n}if(t[So>>2]=0|t[vo>>2],t[So+4>>2]=0|t[vo+4>>2],t[So+8>>2]=0|t[vo+8>>2],t[So+12>>2]=0|t[vo+12>>2],Co=0|t[(16+(my+(40*IO|0)|0)|0)>>2],Io=0|t[(20+(my+(40*IO|0)|0)|0)>>2],c=0,P(86,0|po,0|Co,0|Io),Po=c,c=0,1&Po){Iy=513;break n}if(xo=0|t[(28+(my+(40*IO|0)|0)|0)>>2],Lo=0|t[(32+(my+(40*IO|0)|0)|0)>>2],c=0,P(87,0|Ao,0|xo,0|Lo),Ho=c,c=0,1&Ho){Iy=513;break n}if(t[vo>>2]=0|t[J>>2],t[vo+4>>2]=0|t[J+4>>2],t[vo+8>>2]=0|t[J+8>>2],t[vo+12>>2]=0|t[J+12>>2],(0|J)!=(0|vo)){if(Uo=16+(my+(40*IO|0)|0)|0,zo=0|t[Dn>>2],Yo=0|t[Tn>>2],c=0,P(86,0|Uo,0|zo,0|Yo),Vo=c,c=0,1&Vo){Iy=513;break n}if(Xo=28+(my+(40*IO|0)|0)|0,Wo=0|t[zr>>2],jo=0|t[Nn>>2],c=0,P(87,0|Xo,0|Wo,0|jo),Ko=c,c=0,1&Ko){Iy=513;break n}}qo=Go=0|t[zr>>2],0==(0|Go)||((0|(Jo=0|t[Nn>>2]))==(0|Go)||(yA=Jo+((-1^((Jo+-4|0)-qo|0)>>>2)<<2)|0,t[Nn>>2]=yA),vf(Go)),$o=Qo=0|t[Dn>>2],0==(0|Qo)||((0|(es=0|t[Tn>>2]))==(0|Qo)||(FA=es+((-1^((es+-8|0)-$o|0)>>>3)<<3)|0,t[Tn>>2]=FA),vf(Qo))}if(!((_o=ho+1|0)>>>0<so>>>0))break;RO=ho,ho=_o,yO=RO}zO=(ko=so>>>0>Tp>>>0)&(bo=(co=so-Tp|0)>>>0>1);o:do{if(zO)for(gO=Tp,Sy=0|t[r>>2];;){if(us=28+(Sy+(40*gO|0)|0)|0,((0|t[(32+(Sy+(40*gO|0)|0)|0)>>2])-(0|t[us>>2])|0)>>2>>>0>80){Iy=528;break o}if(c=0,cs=0|B(90,0|Sy+(40*gO|0),0|Sy+(40*Tp|0)),bs=c,c=0,1&bs){Iy=471;break n}if(wy=0|t[r>>2],(0|cs)>(0|(((2+(0|t[(12+(wy+(40*gO|0)|0)|0)>>2])|0)-(0|t[(4+(wy+(40*gO|0)|0)|0)>>2])|0)+(0|t[(12+(wy+(40*Tp|0)|0)|0)>>2])|0)-(0|t[(4+(wy+(40*Tp|0)|0)|0)>>2]))){Iy=528;break o}if(!((ds=gO+1|0)>>>0<so>>>0)){xO=1,Iy=522;break}gO=ds,Sy=wy}else xO=bo,Iy=522}while(0);do{if(522==(0|Iy)){if(Iy=0,ko&xO)for(FO=Tp;;){if(vy=0|t[r>>2],hs=0|t[(12+(vy+(40*FO|0)|0)|0)>>2],Es=0|t[(4+(vy+(40*FO|0)|0)|0)>>2],c=0,ms=0|I(79,0|28+(vy+(40*FO|0)|0)),ws=c,c=0,1&ws){Iy=470;break n}if(!((Ss=FO+1|0)>>>0<so>>>0&(BO=(0|(hs+1|0)-Es)<=(0|ms<<2)))){LO=BO;break}FO=Ss}else LO=xO;if(!LO){Iy=528;break}if(Ay=0|t[r>>2],uo)for(MO=lo,yy=Ay;;){if(c=0,C(84,0|yy+(40*Tp|0),0|yy+(40*MO|0)),rl=c,c=0,1&rl){Iy=469;break n}if(il=28+(yy+(40*Tp|0)|0)|0,al=0|t[(32+(yy+(40*Tp|0)|0)|0)>>2],t[Y>>2]=al,tl=0|t[(fl=28+(yy+(40*MO|0)|0)|0)>>2],t[V>>2]=tl,ol=0|t[(nl=32+(yy+(40*MO|0)|0)|0)>>2],t[X>>2]=ol,c=0,t[k>>2]=0|t[Y>>2],t[d>>2]=0|t[V>>2],t[h>>2]=0|t[X>>2],L(85,0|il,0|k,0|d,0|h),sl=c,c=0,1&sl){Iy=469;break n}if(ul=0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t[Xr>>2],Qs=qs=0|t[Q>>2],!(Jp>>>0<(Js=(Gs-qs|0)>>2)>>>0)){wl=qs,Sl=Gs,Md=Qs,Np=lo;break}for(Br=1-co|0,DO=Jp;;){if(hl=Br+(0|t[(_l=Qs+(DO<<2)|0)>>2])|0,t[_l>>2]=hl,(0|(El=DO+1|0))==(0|Js)){wl=qs,Sl=Gs,Md=Qs,Np=lo;break}DO=El}}}while(0);if(528==(0|Iy)&&(Iy=0,_s=ai=0|t[Q>>2],wl=ai,Sl=0|t[Xr>>2],Md=_s,Np=so),vl=wl,!((ml=Jp+1|0)>>>0<(Sl-wl|0)>>2>>>0)){qe=Sl,Je=Md,Iy=480;break}oo=vl,Tp=Np,Jp=ml}if(467==(0|Iy)){Hn=0|q(),oO=b,sO=Hn;break t}if(468==(0|Iy)){Bn=0|q(),oO=b,sO=Bn;break t}if(469==(0|Iy)){Un=0|q(),oO=b,sO=Un;break t}if(470==(0|Iy)){Yn=0|q(),oO=b,sO=Yn;break t}if(471==(0|Iy)){Vn=0|q(),oO=b,sO=Vn;break t}if(472==(0|Iy)){Xn=0|q(),oO=b,sO=Xn;break t}if(480==(0|Iy)){to=Je,no=qe;break}if(496==(0|Iy)){if(Ro=0|q(),go=b,Do=Mo=0|t[Dn>>2],0==(0|Mo)){oO=go,sO=Ro;break t}(0|(To=0|t[Tn>>2]))==(0|Mo)||(wA=To+((-1^((To+-8|0)-Do|0)>>>3)<<3)|0,t[Tn>>2]=wA),vf(Mo),oO=go,sO=Ro;break t}if(513==(0|Iy)){if(rs=0|q(),is=b,fs=as=0|t[zr>>2],0==(0|as)||((0|(ts=0|t[Nn>>2]))==(0|as)||(MA=ts+((-1^((ts+-4|0)-fs|0)>>>2)<<2)|0,t[Nn>>2]=MA),vf(as)),ss=os=0|t[Dn>>2],0==(0|os)){oO=is,sO=rs;break t}(0|(ls=0|t[Tn>>2]))==(0|os)||(AA=ls+((-1^((ls+-8|0)-ss|0)>>>3)<<3)|0,t[Tn>>2]=AA),vf(os),oO=is,sO=rs;break t}}}while(0);0==(0|to)||((0|no)==(0|to)||(ry=no+((-1^((no+-4|0)-to|0)>>>2)<<2)|0,t[wn>>2]=ry),vf(to));break a}}while(0);if(qn=Gn=0|t[Q>>2],0==(0|Gn)){Ie=sO,Le=oO;break}(0|(Jn=0|t[wn>>2]))==(0|Gn)||(ey=Jn+((-1^((Jn+-4|0)-qn|0)>>>2)<<2)|0,t[wn>>2]=ey),vf(Gn),Ie=sO,Le=oO}else if(289==(0|Iy)){if(yv=Av=0|t[wE>>2],0==(0|Av)||((0|(Rv=0|t[SE>>2]))==(0|Av)||(qA=Rv+((-1^((Rv+-4|0)-yv|0)>>>2)<<2)|0,t[SE>>2]=qA),vf(Av)),Mv=Fv=0|t[(W+16|0)>>2],0==(0|Fv)){Ie=fO,Le=aO;break}(0|(Tv=0|t[(Dv=W+20|0)>>2]))==(0|Fv)||(gA=Tv+((-1^((Tv+-8|0)-Mv|0)>>>3)<<3)|0,t[Dv>>2]=gA),vf(Fv),Ie=fO,Le=aO}}while(0);cO=Le,bO=Ie,Iy=38;break e}}while(0);if(pl=r+4|0,gv){if(!(((0|(Ol=0|t[pl>>2])-(Al=0|t[r>>2]))/40&-1)>>>0<2|(0|Ol)==(0|Al))){for(vO=0,Dy=Al;c=0,C(73,0|(My=Dy)+(40*vO|0),0|28+(My+(40*vO|0)|0)),Rl=c,c=0,!(1&Rl);){if(!((gl=vO+1|0)>>>0<((0|(0|t[pl>>2])-(Fl=0|t[r>>2]))/40&-1)>>>0)){jr=pl;break i}vO=gl,Dy=Fl}Uv=0|q(),cO=b,bO=Uv,Iy=38;break e}jr=pl}else jr=pl}else Iy=563;else Iy=563;else Iy=563;else Iy=563}while(0);if(563==(0|Iy)){if(c=0,C(80,0|v,0|e),Ml=c,c=0,1&Ml)break;t[(Dl=v+28|0)>>2]=0,t[(Tl=v+32|0)>>2]=0,t[(v+36|0)>>2]=0,xl=(0|(Cl=0|t[(Nl=r+4|0)>>2]))==(0|(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c)),Qc=Zc=0|t[(16+(Ju+(40*Zu|0)|0)|0)>>2],0==(0|Zc)){hp=Qu,Fp=Qu,$p=jc,eO=Wc;break a}(0|($c=0|t[ac>>2]))==(0|Zc)||(JO=$c+((-1^(($c+-8|0)-Qc|0)>>>3)<<3)|0,t[ac>>2]=JO),vf(Zc),hp=Qu,Fp=Qu,$p=jc,eO=Wc;break a}}while(0);rb=qu+40|0,ib=0|t[r>>2],fb=(0|(ab=0|t[Nl>>2]))==(0|ib);do{if(fb)Sb=Qu,vb=ib,Ob=ib;else{for(we=ab,nb=qu,wp=Qu;;){if(sb=we+-40|0,t[(tb=nb+-40|0)>>2]=0|t[sb>>2],t[tb+4>>2]=0|t[sb+4>>2],t[tb+8>>2]=0|t[sb+8>>2],t[tb+12>>2]=0|t[sb+12>>2],c=0,C(81,0|nb+-24,0|we+-24),lb=c,c=0,1&lb){Op=wp,Iy=649;break}if(c=0,C(82,0|nb+-12,0|we+-12),ub=c,c=0,1&ub){yr=nb,Ap=wp,Iy=631;break}if(wb=mb=wp+-40|0,(0|sb)==(0|ib)){Rr=wb,Iy=636;break}we=sb,nb=mb,wp=wb}if(631==(0|Iy)){if(cb=0|q(),bb=b,db=kb=0|t[(yr+-24|0)>>2],0==(0|kb)){hp=rb,Fp=Ap,$p=bb,eO=cb;break a}(0|(hb=0|t[(_b=yr+-20|0)>>2]))==(0|kb)||(QO=hb+((-1^((hb+-8|0)-db|0)>>>3)<<3)|0,t[_b>>2]=QO),vf(kb),hp=rb,Fp=Ap,$p=bb,eO=cb;break a}if(636==(0|Iy)){Sb=Rr,vb=0|t[r>>2],Ob=0|t[Nl>>2];break}if(649==(0|Iy)){xb=0|q(),hp=rb,Fp=Op,$p=b,eO=xb;break a}}}while(0);if(t[r>>2]=Sb,t[Nl>>2]=rb,t[Wr>>2]=$u,(0|Ob)!=(0|(pb=vb)))for(Rb=Ob;yb=Rb+-40|0,Fb=gb=0|t[(Rb+-12|0)>>2],0==(0|gb)||((0|(Db=0|t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lt=De,Kt=Ak,Gt=Fe,E_=__;if((0|Kt)==(0|Gt))Et=lt,c_=0;else{for(Jt=(Kt-(qt=0|t[x>>2])|0)>>2,Qt=9*E_|0,nd=0,qd=0,s_=0,H_=0;;){if((10*(en=($t=0|t[(qt+(qd<<2)|0)>>2])+nd|0)|0)>>>0>=E_>>>0&(10*nd|0)>>>0<Qt>>>0?(l_=(0|k($t,qd))+s_|0,B_=$t+H_|0):(l_=s_,B_=H_),!((an=qd+1|0)>>>0<Jt>>>0)){u_=l_,U_=B_;break}nd=en,qd=an,s_=l_,H_=B_}0==(0|U_)?(Et=qt,c_=u_):(Et=qt,c_=(0|u_)/(0|U_)&-1)}if(wk){for(fn=c_<<1,Qd=Ld;;){ln=0|t[a>>2],un=0|t[(ln+(Qd<<2)|0)>>2],t[H>>2]=un,kn=un,hn=(0|(bn=(1+(0|t[(un+12|0)>>2])|0)-(0|t[(un+4|0)>>2])|0))<10?1:(0|bn)<(0|5*(dn=(1+(0|t[(un+8|0)>>2])|0)-(0|t[un>>2])|0))?(0|dn)>=(0|3*bn):1,b_=(0|(_n=(1+(0|t[(un+12|0)>>2])|0)-(0|t[(un+4|0)>>2])|0))>=(0|fn)|hn&(0|_n)>(0|c_);do{if(b_){if((0|(En=0|t[P>>2]))==(0|t[Zt>>2])){if(c=0,C(70,0|Y,0|H),wn=c,c=0,1&wn){z_=37;break r}break}t[En>>2]=kn,mn=4+(0|t[P>>2])|0,t[P>>2]=mn;break}if(hn&(0|_n)<(0|c_)|(0|_n)<6|(0|_n<<1)<=(0|c_)){if((0|(vn=0|t[u>>2]))==(0|t[rn>>2])){if(c=0,C(70,0|z,0|H),On=c,c=0,1&On){z_=37;break r}break}t[vn>>2]=kn,pn=4+(0|t[u>>2])|0,t[u>>2]=pn;break}if((0|(An=0|t[T>>2]))==(0|t[sn>>2])){if(c=0,C(70,0|U,0|H),Rn=c,c=0,1&Rn){z_=37;break r}break}t[An>>2]=kn,yn=4+(0|t[T>>2])|0,t[T>>2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|0,t[D>>2]=Gn,He=D,Zn=Gn;if(Jn=0|t[F>>2],eo=0|t[(Jn+((Qn=((Zn-Jn|0)>>2)-1|0)<<2)|0)>>2],c=0,ro=0|I(29,40),io=c,c=0,1&io)z_=30;else{if(ao=0|t[U>>2],fo=0|t[ao>>2],t[ro>>2]=0|t[fo>>2],t[ro+4>>2]=0|t[fo+4>>2],t[ro+8>>2]=0|t[fo+8>>2],t[ro+12>>2]=0|t[fo+12>>2],t[(to=ro+16|0)>>2]=0,t[(no=ro+20|0)>>2]=0,t[(oo=ro+24|0)>>2]=0,c=0,lo=0|I(29,4),uo=c,c=0,1&uo){vo=0|q(),b,vf(ro),X=vo;break r}if(co=fo,t[to>>2]=lo,bo=lo+4|0,t[oo>>2]=bo,t[lo>>2]=co,t[no>>2]=bo,t[(ro+28|0)>>2]=0,t[(ro+32|0)>>2]=0,t[(ro+36|0)>>2]=0,c=0,M(103,0|eo,0|ro,0),ko=c,c=0,1&ko)z_=30;else{ho=((0|t[T>>2])-(_o=0|t[U>>2])|0)>>2>>>0>1;a:do{if(ho){re=_o,ud=Qn,e_=1;f:for(;;){for(Ao=(0|Qn)<(0|(Oo=ud+-2|0))?Oo:Qn,yo=12+(po=0|t[(re+(e_<<2)|0)>>2])|0,Ro=0|t[F>>2],cd=Ao;;){Fo=16+(go=0|t[(Ro+(cd<<2)|0)>>2])|0,od=0,a_=((0|t[(go+20|0)>>2])-(0|t[Fo>>2])|0)>>2;t:for(;;){if(!((0|a_)>0)){St=0,td=0,ld=od;break}for(t_=a_;;){if(f_=t_+-1|0,Do=0|t[F>>2],To=0|t[(Do+(cd<<2)|0)>>2],c=0,No=0|B(104,0|To,0|f_),Co=c,c=0,1&Co){z_=26;break f}if(c=0,Io=0|B(105,0|po,0|No),Po=c,c=0,1&Po){z_=26;break f}if(!Io){if(c=0,Lo=0|B(105,0|No,0|po),Ho=c,c=0,1&Ho){z_=26;break f}if(!Lo){we=No,ve=No,n_=f_;break}}if(!((0|t_)>1)){St=0,td=0,ld=od;break t}t_=f_}if(c=0,Bo=0|B(106,0|po,0|ve),Uo=c,c=0,1&Uo){z_=27;break f}if(!Bo){Se=we,pe=ve,sd=od,z_=127;break}od=we,a_=n_}if(127==(0|z_)){if(z_=0,c=0,zo=0|B(107,0|pe,0|po),Yo=c,c=0,1&Yo){z_=28;break f}if(zo){bd=cd,z_=136;break}if(c=0,Vo=0|B(107,0|po,0|pe),Xo=c,c=0,1&Xo){z_=28;break f}if(Vo){bd=cd,z_=136;break}St=1,td=Se,ld=sd}if(Wo=0!=(0|ld)){if(c=0,jo=0|B(107,0|ld,0|po),Ko=c,c=0,1&Ko){z_=28;break f}if(jo){bd=cd,z_=136;break}if(c=0,Go=0|B(107,0|po,0|ld),qo=c,c=0,1&qo){z_=28;break f}if(Go){bd=cd,z_=136;break}}if(St&&(0|t[(td+4|0)>>2])>(0|t[yo>>2])){kd=cd,z_=144;break}if(Wo&&(0|t[(ld+4|0)>>2])>(0|t[yo>>2])){kd=cd,z_=144;break}if(St){if(c=0,Fs=0|B(109,0|td,0|po),Ms=c,c=0,1&Ms){z_=28;break f}if((0|Fs)>5){dd=cd,z_=156;break}}if(Wo){if(c=0,Ts=0|B(109,0|ld,0|po),Ns=c,c=0,1&Ns){z_=28;break f}if((0|Ts)>5){dd=cd,z_=156;break}}if(Ks=cd+1|0,Gs=0|t[He>>2],Js=qs=0|t[F>>2],!((0|Ks)<(0|(Gs-qs|0)>>2))){Oe=Gs,z_=161;break}Ro=Js,cd=Ks}if(136==(0|z_)){if(z_=0,Jo=0|t[F>>2],Zo=0|t[(Jo+(bd<<2)|0)>>2],c=0,Qo=0|I(29,40),$o=c,c=0,1&$o){z_=29;break}if(t[Qo>>2]=0|t[po>>2],t[Qo+4>>2]=0|t[po+4>>2],t[Qo+8>>2]=0|t[po+8>>2],t[Qo+12>>2]=0|t[po+12>>2],t[(es=Qo+16|0)>>2]=0,t[(rs=Qo+20|0)>>2]=0,t[(is=Qo+24|0)>>2]=0,c=0,as=0|I(29,4),fs=c,c=0,1&fs){ge=Qo,z_=139;break}if(ts=po,t[es>>2]=as,ns=as+4|0,t[is>>2]=ns,t[as>>2]=ts,t[rs>>2]=ns,t[(Qo+28|0)>>2]=0,t[(Qo+32|0)>>2]=0,t[(Qo+36|0)>>2]=0,c=0,M(103,0|Zo,0|Qo,0),os=c,c=0,1&os){z_=29;break}md=bd}else if(144==(0|z_)){if(z_=0,us=(0|t[F>>2])+(kd<<2)|0,t[n>>2]=us,c=0,cs=0|I(29,28),bs=c,c=0,1&bs){z_=29;break}if(t[cs>>2]=0,t[cs+4>>2]=0,t[cs+8>>2]=0,t[cs+12>>2]=0,t[cs+16>>2]=0,t[cs+20>>2]=0,t[cs+24>>2]=0,t[l>>2]=cs,c=0,t[f>>2]=0|t[n>>2],M(108,0|F,0|f,0|l),ks=c,c=0,1&ks){z_=29;break}if(ds=0|t[F>>2],_s=0|t[(ds+(kd<<2)|0)>>2],c=0,hs=0|I(29,40),ms=c,c=0,1&ms){z_=29;break}if(t[hs>>2]=0|t[po>>2],t[hs+4>>2]=0|t[po+4>>2],t[hs+8>>2]=0|t[po+8>>2],t[hs+12>>2]=0|t[po+12>>2],t[(ws=hs+16|0)>>2]=0,t[(Ss=hs+20|0)>>2]=0,t[(vs=hs+24|0)>>2]=0,c=0,ps=0|I(29,4),Os=c,c=0,1&Os){Re=hs,z_=149;break}if(As=po,t[ws>>2]=ps,ys=ps+4|0,t[vs>>2]=ys,t[ps>>2]=As,t[Ss>>2]=ys,t[(hs+28|0)>>2]=0,t[(hs+32|0)>>2]=0,t[(hs+36|0)>>2]=0,c=0,M(103,0|_s,0|hs,0),Rs=c,c=0,1&Rs){z_=29;break}md=kd}else if(156==(0|z_)){if(z_=0,Cs=0|t[F>>2],Is=0|t[(Cs+(dd<<2)|0)>>2],c=0,Ps=0|I(29,40),xs=c,c=0,1&xs){z_=29;break}if(t[Ps>>2]=0|t[po>>2],t[Ps+4>>2]=0|t[po+4>>2],t[Ps+8>>2]=0|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,0),ml=c,c=0,1&ml){z_=29;break}md=nl}if(!((Sl=e_+1|0)>>>0<((0|t[T>>2])-(vl=0|t[U>>2])|0)>>2>>>0))break a;re=vl,ud=md,e_=Sl}if(26==(0|z_)){Yc=0|q(),b,xd=Yc;break i}if(27==(0|z_)){eb=0|q(),b,xd=eb;break i}if(28==(0|z_)){cb=0|q(),b,xd=cb;break i}if(29==(0|z_)){gb=0|q(),b,xd=gb;break i}if(139==(0|z_)){ss=0|q(),b,vf(ge),X=ss;break r}if(149==(0|z_)){gs=0|q(),b,vf(Re),X=gs;break r}if(159==(0|z_)){js=0|q(),b,vf(ye),X=js;break r}if(169==(0|z_)){wl=0|q(),b,vf(Ae),X=wl;break r}}}while(0);So=(0|(wo=(Eo=0|t[He>>2])-(mo=0|t[F>>2])|0))>0;a:do{if(So){for(wt=Eo,Rl=mo,i_=wo>>2;;){if(Fl=16+(gl=0|t[(Rl+((r_=i_+-1|0)<<2)|0)>>2])|0,(0|t[(gl+20|0)>>2])==(0|t[Fl>>2])){if(0==(0|gl))Tl=Rl,Pl=wt;else{if(c=0,N(111,0|gl),Ml=c,c=0,1&Ml){me=gl;break}vf(gl),Tl=0|t[F>>2],Pl=0|t[He>>2]}xl=(Cl=Pl-(Nl=4+(Dl=Tl+(r_<<2)|0)|0)|0)>>2,Lf(0|Dl,0|Nl,0|Cl),Ll=Dl+(xl<<2)|0,(0|(Hl=0|t[D>>2]))==(0|Ll)?vt=Hl:(O_=Hl+((-1^((Hl+-4|0)-Ll|0)>>>2)<<2)|0,t[D>>2]=O_,vt=O_)}else vt=wt;if(!((0|i_)>1))break a;wt=vt,Rl=0|t[F>>2],i_=r_}Bl=0|q(),Ul=b,vf(me),Ul,xd=Bl;break i}}while(0);if(c=0,N(110,0|F),pl=c,c=0,1&pl)z_=30;else{yl=(0|(0|t[He>>2])-(Al=0|t[F>>2]))>0;a:do{if(yl){for(ee=Al,Ud=0;Vl=0|t[(ee+(Ud<<2)|0)>>2],c=0,N(112,0|Vl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2],c=0,xu=0|I(114,0|Iu),Lu=c,c=0,1&Lu){z_=24;break f}Uu=(0|(Bu=(1+(0|t[(Jl+12|0)>>2])|0)-(0|t[(Jl+4|0)>>2])|0))>(0|3*xu);do{if(!Uu){if((0|Bu)>(0|xu<<1)){if(c=0,zu=0|B(104,0|Iu,0|Pu),Yu=c,c=0,1&Yu){z_=24;break f}if(!((0|t[zu>>2])<(0|t[Jl>>2])))break}if(c=0,Vu=0|I(29,40),Xu=c,c=0,1&Xu){z_=24;break f}if(t[Vu>>2]=0|t[Jl>>2],t[Vu+4>>2]=0|t[Jl+4>>2],t[Vu+8>>2]=0|t[Jl+8>>2],t[Vu+12>>2]=0|t[Jl+12>>2],t[(Wu=Vu+16|0)>>2]=0,t[(ju=Vu+20|0)>>2]=0,t[(Ku=Vu+24|0)>>2]=0,c=0,Gu=0|I(29,4),Ju=c,c=0,1&Ju){he=Vu,z_=211;break f}if(Zu=Jl,t[Wu>>2]=Gu,Qu=Gu+4|0,t[Ku>>2]=Qu,t[Gu>>2]=Zu,t[ju>>2]=Qu,t[(Vu+28|0)>>2]=0,t[(Vu+32|0)>>2]=0,t[(Vu+36|0)>>2]=0,c=0,M(103,0|Iu,0|Vu,0),$u=c,c=0,1&$u){z_=24;break f}Rd=pd;break t}}while(0);rc=Iu+16|0,ac=0==(0|(ic=((0|t[(Iu+20|0)>>2])-(0|t[rc>>2])|0)>>2));do{if(!ac){if(c=0,oc=0|B(104,0|Iu,0|((0|(tc=ic+-1|0))<(0|(fc=Pu+1|0))?tc:fc)),sc=c,c=0,1&sc){z_=24;break f}if(lc=0|t[oc>>2],uc=0|t[Jl>>2],(0|lc)>(0|(0|(0|t[(Jl+8|0)>>2])+uc)/2&-1))break;if(c=0,N(72,0|Jl),Oc=c,c=0,1&Oc){_e=Jl,z_=221;break f}vf(Jl),Rd=pd;break t}}while(0);if(c=0,cc=0|I(29,40),bc=c,c=0,1&bc){z_=24;break f}if(t[cc>>2]=0|t[Jl>>2],t[cc+4>>2]=0|t[Jl+4>>2],t[cc+8>>2]=0|t[Jl+8>>2],t[cc+12>>2]=0|t[Jl+12>>2],t[(kc=cc+16|0)>>2]=0,t[(dc=cc+20|0)>>2]=0,t[(_c=cc+24|0)>>2]=0,c=0,hc=0|I(29,4),Ec=c,c=0,1&Ec){Ee=cc,z_=218;break f}if(wc=Jl,t[kc>>2]=hc,Sc=hc+4|0,t[_c>>2]=Sc,t[hc>>2]=wc,t[dc>>2]=Sc,t[(cc+28|0)>>2]=0,t[(cc+32|0)>>2]=0,t[(cc+36|0)>>2]=0,c=0,M(103,0|Iu,0|cc,1),vc=c,c=0,1&vc){z_=24;break f}Rd=pd}else{if(Du=pd+-1|0,0==(0|Jl)){Rd=Du;break}if(c=0,N(72,0|Jl),Tu=c,c=0,1&Tu){de=Jl,z_=202;break f}vf(Jl),Rd=Du}}while(0);if(!((yc=zd+1|0)>>>0<((0|t[P>>2])-(Rc=0|t[Y>>2])|0)>>2>>>0))break a;Z=Rc,wd=Rd,zd=yc}if(22==(0|z_)){qu=0|q(),b,xd=qu;break i}if(23==(0|z_)){nc=0|q(),b,xd=nc;break i}if(24==(0|z_)){mc=0|q(),b,xd=mc;break i}if(202==(0|z_)){Nu=0|q(),b,vf(de),X=Nu;break r}if(211==(0|z_)){ec=0|q(),b,vf(he),X=ec;break r}if(218==(0|z_)){pc=0|q(),b,vf(Ee),X=pc;break r}if(221==(0|z_)){Ac=0|q(),b,vf(_e),X=Ac;break r}}}while(0);ql=(0|t[u>>2])==(0|(Gl=0|t[z>>2]));a:do{if(!ql){Q=Gl,gd=0,Vd=0;f:for(;;){Cc=0|t[(Q+(Vd<<2)|0)>>2],Ic=(0|gd)>0;t:do{if(Ic)for(Pc=Cc+12|0,xc=Cc+8|0,Md=gd;;){if(Lc=0|t[Pc>>2],Hc=0|t[F>>2],Bc=0|t[(Hc+(Md<<2)|0)>>2],Uc=0|t[Cc>>2],zc=0|t[xc>>2],c=0,Vc=0|B(115,0|Bc,0|(0|zc+Uc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d}if(!((bk=Vd+1|0)>>>0<((0|t[u>>2])-(kk=0|t[z>>2])|0)>>2>>>0))break a;Q=kk,gd=Ed,Vd=bk}if(19==(0|z_)){_u=0|q(),b,xd=_u;break i}if(20==(0|z_)){gu=0|q(),b,xd=gu;break i}if(21==(0|z_)){Hu=0|q(),b,xd=Hu;break i}if(248==(0|z_)){xb=0|q(),b,vf(be),X=xb;break r}if(258==(0|z_)){dk=0|q(),b,vf(ke),X=dk;break r}}}while(0);Dc=(0|(Mc=(0|t[He>>2])-(Fc=0|t[F>>2])|0))>8;a:do{if(Dc){hk=16+(_k=0|t[(Fc+(((Mc>>2)-1|0)<<2)|0)>>2])|0,mk=(0|(0|t[(Ek=_k+20|0)>>2])-(0|t[hk>>2]))>0;f:do{if(mk){for(Sk=r+12|0,rd=0,Wd=0;;){if(c=0,vk=0|B(104,0|_k,0|Wd),pk=c,c=0,1&pk){z_=18;break}if((0|t[(vk+12|0)>>2])<(0|t[Sk>>2]))je=0|t[Ek>>2],Wk=0|t[hk>>2],jk=je,id=rd;else{if(!((0|(Ok=rd+1|0)<<1)<(0|((yk=0|t[Ek>>2])-(Rk=0|t[hk>>2])|0)>>2)))break;Wk=Rk,jk=yk,id=Ok}if(!((0|(Xk=Wd+1|0))<(0|(jk-Wk|0)>>2)))break f;rd=id,Wd=Xk}if(18==(0|z_)){au=0|q(),b,xd=au;break i}gk=0|t[He>>2],Fk=0|t[F>>2],Tk=0==(0|(Dk=0|t[((W=Fk)+((Mk=((gk-Fk|0)>>2)-1|0)<<2)|0)>>2]));do{if(!Tk){if(c=0,N(111,0|Dk),Nk=c,c=0,1&Nk){zk=0|q(),Vk=b,vf(Dk),Vk,xd=zk;break i}vf(Dk),Ik=0|t[F>>2],Lk=0|t[He>>2];break}Ik=W,Lk=gk}while(0);if(Hk=(xk=Lk-(Pk=4+(Ck=Ik+(Mk<<2)|0)|0)|0)>>2,Lf(0|Ck,0|Pk,0|xk),Bk=Ck+(Hk<<2)|0,(0|(Uk=0|t[D>>2]))==(0|Bk))break;p_=Uk+((-1^((Uk+-4|0)-Bk|0)>>>2)<<2)|0,t[D>>2]=p_}}while(0);if(Kk=0|t[F>>2],Gk=0|t[Kk>>2],Zk=(0|(Jk=0|t[(r+4|0)>>2]))<1?1:Jk,Qk=Gk+16|0,!((0|(0|t[($k=Gk+20|0)>>2])-(0|t[Qk>>2]))>0))break;for(ad=0,jd=0;;){if(c=0,ed=0|B(104,0|Gk,0|jd),Je=c,c=0,1&Je){z_=17;break}if((0|t[(ed+4|0)>>2])>(0|Zk))Ke=0|t[$k>>2],kr=0|t[Qk>>2],dr=Ke,fd=ad;else{if(!((0|(Ze=ad+1|0)<<1)<(0|((Qe=0|t[$k>>2])-($e=0|t[Qk>>2])|0)>>2)))break;kr=$e,dr=Qe,fd=Ze}if(!((0|(br=jd+1|0))<(0|(dr-kr|0)>>2)))break a;ad=fd,jd=br}if(17==(0|z_)){Wl=0|q(),b,xd=Wl;break i}er=0|t[F>>2],ir=0==(0|(rr=0|t[er>>2]));do{if(!ir){if(c=0,N(111,0|rr),ar=c,c=0,1&ar){ur=0|q(),cr=b,vf(rr),cr,xd=ur;break i}vf(rr),tr=0|t[F>>2];break}tr=er}while(0);if(fr=tr+4|0,or=(nr=(0|t[He>>2])-fr|0)>>2,Lf(0|tr,0|fr,0|nr),sr=tr+(or<<2)|0,(0|(lr=0|t[D>>2]))==(0|sr))break;v_=lr+((-1^((lr+-4|0)-sr|0)>>>2)<<2)|0,t[D>>2]=v_}}while(0);Nc=(0|(0|t[He>>2])-(Tc=0|t[F>>2]))>4;a:do{if(Nc){$=Tc,Pd=0;f:for(;;){yr=16+(vr=0|t[((Sr=$)+(Pd<<2)|0)>>2])|0,gr=16+(Ar=0|t[(Sr+((pr=Pd+1|0)<<2)|0)>>2])|0,Mr=(0|((0|t[(Rr=vr+20|0)>>2])-(0|t[yr>>2])|0)>>2)>(0|((0|t[(Fr=Ar+20|0)>>2])-(0|t[gr>>2])|0)>>1);t:do{if(Mr)Id=pr;else{if(c=0,Dr=0|I(114,0|vr),Tr=c,c=0,1&Tr){z_=16;break f}if(c=0,Nr=0|I(114,0|Ar),Cr=c,c=0,1&Cr){z_=16;break f}if(!((0|Dr<<1)<(0|Nr))){Id=pr;break}Yd=0;n:for(;;){if(!((0|Yd)<(0|((0|t[Rr>>2])-(0|t[yr>>2])|0)>>2))){Id=pr;break t}if(c=0,Pr=0|B(104,0|vr,0|Yd),xr=c,c=0,1&xr){z_=15;break f}if(Hr=0|t[(Lr=Pr+12|0)>>2],Br=0|t[(Pr+4|0)>>2],c=0,Ur=0|I(114,0|Ar),zr=c,c=0,1&zr){z_=15;break f}Yr=(0|((Hr+1|0)-Br|0)<<1)<(0|Ur);o:do{if(Yr)for(Vr=Pr+8|0,Xd=0;;){if(!((0|Xd)<(0|((0|t[Fr>>2])-(0|t[gr>>2])|0)>>2)))break o;if(c=0,Xr=0|B(104,0|Ar,0|Xd),Wr=c,c=0,1&Wr){z_=13;break f}jr=(0|t[(Xr+8|0)>>2])<(0|t[Pr>>2]);do{if(!jr){if((0|t[Xr>>2])>(0|t[Vr>>2]))break o;if(c=0,Gr=0|B(105,0|Xr,0|Pr),qr=c,c=0,1&qr){z_=13;break f}if(!Gr){if(c=0,Jr=0|B(105,0|Pr,0|Xr),Zr=c,c=0,1&Zr){z_=13;break f}if(!Jr)break}if(Qr=0|t[(Xr+4|0)>>2],$r=0|t[Lr>>2],c=0,ei=0|I(114,0|Ar),ri=c,c=0,1&ri){z_=13;break f}if((0|Qr-$r)<(0|ei))break n}}while(0);Xd=Xd+1|0}}while(0);Yd=Yd+1|0}if(c=0,C(118,0|Ar,0|vr),ii=c,c=0,1&ii){z_=14;break f}if(ai=0|t[F>>2],0==(0|(fi=0|t[(ai+(Pd<<2)|0)>>2])))oi=ai;else{if(c=0,N(111,0|fi),ti=c,c=0,1&ti){ce=fi,z_=312;break f}vf(fi),oi=0|t[F>>2]}if(si=4+(ni=oi+(Pd<<2)|0)|0,ui=(li=(0|t[He>>2])-si|0)>>2,Lf(0|ni,0|si,0|li),ci=ni+(ui<<2)|0,(0|(bi=0|t[D>>2]))==(0|ci)){Id=Pd;break}S_=bi+((-1^((bi+-4|0)-ci|0)>>>2)<<2)|0,t[D>>2]=S_,Id=Pd}}while(0);if(!((0|Id)<(0|(((0|t[He>>2])-(Ir=0|t[F>>2])|0)>>2)-1)))break a;$=Ir,Pd=Id}if(13==(0|z_)){rl=0|q(),b,xd=rl;break i}if(14==(0|z_)){dl=0|q(),b,xd=dl;break i}if(15==(0|z_)){Ol=0|q(),b,xd=Ol;break i}if(16==(0|z_)){Il=0|q(),b,xd=Il;break i}if(312==(0|z_)){ki=0|q(),di=b,vf(ce),di,xd=ki;break i}}}while(0);if(c=0,N(110,0|F),_r=c,c=0,1&_r)z_=30;else{mr=(0|(hr=0|t[He>>2])-(Er=0|t[F>>2]))>0,wr=Er;a:do{if(mr){for(mi=wr,Kd=0;;){if(wi=0|t[(mi+(Kd<<2)|0)>>2],c=0,N(119,0|wi),Si=c,c=0,1&Si){z_=12;break}if(vi=Kd+1|0,pi=0|t[He>>2],yi=Oi=0|t[F>>2],!((0|vi)<(0|(Ai=pi-Oi|0)>>2))){oe=pi,se=Oi,le=Ai,ue=yi;break}mi=yi,Kd=vi}if(12==(0|z_)){Xs=0|q(),b,xd=Xs;break i}if(!((0|le)>8&(0|oe-se)>8)){_i=se,hi=oe,pt=ue;break}Ri=ue,Di=2,Gd=0;f:for(;;){gi=0|t[(Ri+(Gd<<2)|0)>>2],Mi=0|t[(Ri+((Fi=Gd+1|0)<<2)|0)>>2],Ti=0|t[(Ri+(Di<<2)|0)>>2],Ni=Mi+16|0,Ci=(0|(0|t[(Mi+20|0)>>2])-(0|t[Ni>>2]))>8;do{if(!Ci){if(Ii=gi+16|0,(0|(0|t[(gi+20|0)>>2])-(0|t[Ii>>2]))<16)break;if(Pi=Ti+16|0,(0|(0|t[(Ti+20|0)>>2])-(0|t[Pi>>2]))<16)break;if(Ui=(0|(xi=0|t[gi>>2]))==(0|t[(Li=gi+4|0)>>2])?0:0|t[(xi+16|0)>>2],zi=(0|(Hi=0|t[Ti>>2]))==(0|t[(Bi=Ti+4|0)>>2])?0:0|t[(Hi+16|0)>>2],c=0,Yi=0|L(120,0|Ui,0|zi,10,1),Vi=c,c=0,1&Vi){z_=11;break f}if(!Yi)break;if(ji=((0|(Xi=0|t[Mi>>2]))==(0|t[(Mi+4|0)>>2])?0:0|t[(Xi+16|0)>>2])<<3,qi=(0|(Ki=0|t[gi>>2]))==(0|t[Li>>2])?0:0|t[(Ki+16|0)>>2],(0|ji)>(0|((0|(Gi=0|t[Ti>>2]))==(0|t[Bi>>2])?0:0|t[(Gi+16|0)>>2])+qi))break;if(ra=0|t[F>>2],0==(0|(ia=0|t[(ra+(Fi<<2)|0)>>2])))na=ra;else{if(c=0,N(111,0|ia),aa=c,c=0,1&aa){ne=ia,z_=341;break f}vf(ia),na=0|t[F>>2]}if(oa=4+(ta=na+(Fi<<2)|0)|0,la=(sa=(0|t[He>>2])-oa|0)>>2,Lf(0|ta,0|oa,0|sa),ua=ta+(la<<2)|0,(0|(ca=0|t[D>>2]))==(0|ua))break;w_=ca+((-1^((ca+-4|0)-ua|0)>>>2)<<2)|0,t[D>>2]=w_}}while(0);if(Ji=Gd+3|0,Zi=0|t[He>>2],ea=$i=0|t[F>>2],!((0|Ji)<(0|(Zi-$i|0)>>2))){_i=$i,hi=Zi,pt=ea;break a}Ri=ea,Di=Ji,Gd=Fi}if(11==(0|z_)){Ds=0|q(),b,xd=Ds;break i}if(341==(0|z_)){ba=0|q(),ka=b,vf(ne),ka,xd=ba;break i}}else _i=Er,hi=hr,pt=wr}while(0);Ei=(0|hi-_i)>0;a:do{if(Ei){ha=pt,Jd=0;f:for(;;){Ea=0|t[(ha+(Jd<<2)|0)>>2],ma=0==(0|t[(Ea+12|0)>>2]),wa=Ea+16|0,Sa=Ea+20|0;do{if(ma){if(!((0|(0|t[Sa>>2])-(0|t[wa>>2]))>8)){Le=wa;break}if(c=0,va=0|B(104,0|Ea,0),pa=c,c=0,1&pa)break f;if(c=0,Oa=0|B(104,0|Ea,1),Aa=c,c=0,1&Aa)break f;if(c=0,ya=0|B(104,0|Ea,2),Ra=c,c=0,1&Ra)break f;if(ga=va+16|0,4!=(0|(0|t[(va+20|0)>>2])-(0|t[ga>>2]))){Le=wa;break}if(Fa=(1+(0|t[(va+12|0)>>2])|0)-(0|t[(va+4|0)>>2])|0,Ma=0|t[(va+8|0)>>2],Da=0|t[va>>2],Ta=0|k(Fa<<2,(Ma+1|0)-Da|0),Na=(1+(0|t[(Oa+12|0)>>2])|0)-(0|t[(Oa+4|0)>>2])|0,Ca=0|t[(Oa+8|0)>>2],Ia=0|t[Oa>>2],!((0|Ta)<(0|k((Ca+1|0)-Ia|0,Na)))){Le=wa;break}if(!((0|Ia-Ma)>(0|((La=(0|(xa=0|t[Ea>>2]))==(0|t[(Ea+4|0)>>2]))?0:0|t[(xa+16|0)>>2])<<1))){Le=wa;break}if(Ha=(1+(0|t[(ya+12|0)>>2])|0)-(0|t[(ya+4|0)>>2])|0,Ba=0|t[(ya+8|0)>>2],Ua=0|t[ya>>2],!((0|Ta)<(0|k((Ba+1|0)-Ua|0,Ha)))){Le=wa;break}if(!((0|Ua-Ca)<(0|(La?0:0|t[(xa+16|0)>>2])))){Le=wa;break}if(c=0,C(121,0|Ea,0),za=c,c=0,1&za)break f;Le=wa}else Le=wa}while(0);Va=(0|(Ya=(0|t[Sa>>2])-(0|t[Le>>2])|0))>8;do{if(Va){if(c=0,Xa=0|B(104,0|Ea,0|(Ya>>2)-1),Wa=c,c=0,1&Wa)break f;if(ja=0|t[Sa>>2],Ka=0|t[Le>>2],c=0,Ga=0|B(104,0|Ea,0|((ja-Ka|0)>>2)-2),qa=c,c=0,1&qa)break f;if(Ja=0|t[Sa>>2],Za=0|t[Le>>2],c=0,Qa=0|B(104,0|Ea,0|((Ja-Za|0)>>2)-3),$a=c,c=0,1&$a)break f;if(ef=Xa+16|0,4!=(0|(0|t[(Xa+20|0)>>2])-(0|t[ef>>2])))break;if(ff=(1+(0|t[(Xa+12|0)>>2])|0)-(0|t[(Xa+4|0)>>2])|0,tf=0|t[(Xa+8|0)>>2],nf=0|t[Xa>>2],of=0|k(ff<<2,(tf+1|0)-nf|0),sf=(1+(0|t[(Ga+12|0)>>2])|0)-(0|t[(Ga+4|0)>>2])|0,lf=0|t[(Ga+8|0)>>2],uf=0|t[Ga>>2],!((0|of)<(0|k((lf+1|0)-uf|0,sf))))break;if(!((0|nf-lf)>(0|((kf=(0|(bf=0|t[Ea>>2]))==(0|t[(Ea+4|0)>>2]))?0:0|t[(bf+16|0)>>2])<<1)))break;if(_f=(1+(0|t[(Qa+12|0)>>2])|0)-(0|t[(Qa+4|0)>>2])|0,hf=0|t[(Qa+8|0)>>2],Ef=0|t[Qa>>2],!((0|of)<(0|k((hf+1|0)-Ef|0,_f))))break;if(!((0|uf-hf)<(0|(kf?0:0|t[(bf+16|0)>>2]))))break;if(wf=0|t[Sa>>2],pf=0|t[Le>>2],c=0,C(121,0|Ea,0|((wf-pf|0)>>2)-1),Of=c,c=0,1&Of)break f}}while(0);if(Af=Jd+1|0,yf=0|t[He>>2],Ff=Rf=0|t[F>>2],!((0|Af)<(0|(yf-Rf|0)>>2))){da=Rf,_a=yf,Ot=Ff;break a}ha=Ff,Jd=Af}Es=0|q(),b,xd=Es;break i}da=_i,_a=hi,Ot=pt}while(0);if(!((0|_a-da)>0))break e;for(Mf=Ot,Zd=0;Df=0|t[(Mf+(Zd<<2)|0)>>2],c=0,N(122,0|Df),Tf=c,c=0,!(1&Tf);){if(Nf=Zd+1|0,Cf=0|t[He>>2],Pf=If=0|t[F>>2],!((0|Nf)<(0|(Cf-If|0)>>2)))break e;Mf=Pf,Zd=Nf}ls=0|q(),b,xd=ls}}}}}}while(0);30==(0|z_)&&(Ib=0|q(),b,xd=Ib),X=xd}else 37==(0|z_)?(o_=0|q(),b,z_=40):38==(0|z_)?(o_=0|q(),b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,function(e,r,i,a){e|=0,r|=0,i|=0,a|=0;var f,n,l,u,c,b,k,d,h,E,m,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0;if(m=o,(0|(o=o+16|0))>=(0|s)&&_(),E=m+8|0,h=m,n=0|t[(f=r+16|0)>>2],c=e+16|0,k=((0|t[(b=e+20|0)>>2])-(0|t[c>>2])|0)>>2,t[h>>2]=k,nf(n,2342,h),l=(0|(0|t[b>>2])-(d=0|t[c>>2]))>0,u=0|t[f>>2],!l)return of(10,S=u),void(o=m);for(w=d,y=u,D=0;;){if(p=16+(v=0|t[(w+(D<<2)|0)>>2])|0,O=((0|t[(v+20|0)>>2])-(0|t[p>>2])|0)>>2,A=D+1|0,t[E>>2]=O,t[(E+4|0)>>2]=A,nf(y,2353,E),R=0|t[c>>2],pi(0|t[(R+(D<<2)|0)>>2],r,i,a),F=(0|A)<(0|((0|t[b>>2])-(g=0|t[c>>2])|0)>>2),M=0|t[f>>2],!F){S=M;break}w=g,y=M,D=A}of(10,S),o=m},at,at];return{_OCRAD_result_line:function(e,r,i){r|=0,i|=0;var f=0,n=0,o=0,s=0,l=0,u=0,c=0,b=0,k=0,d=0,_=0,h=0,E=0,m=0,w=0,S=0;if(0==(0|(e|=0)))return 0;if(0!=(0|t[e>>2])&&0!=(0|(k=0|t[(l=e+4|0)>>2]))){if(!((0|r)<0)&&(m=k+28|0,!((0|i)<0|(0|((0|t[(k+32|0)>>2])-(0|t[m>>2])|0)>>2)<=(0|r))&&(n=16+(f=0|ar(k,r))|0,(0|((0|t[(f+20|0)>>2])-(0|t[n>>2])|0)>>2)>(0|i)))){if(o=0|Nr(0|ar(0|t[l>>2],r),i),(1&(0|a[(s=e+44|0)>>0]))<<24>>24==0?(a[(s+1|0)>>0]=0,a[s>>0]=0):(u=0|t[(e+52|0)>>2],a[u>>0]=0,t[(e+48|0)>>2]=0),c=(0|a[(e+41|0)>>0])<<24>>24==0,b=o+16|0,_=(0|(0|t[(d=o+20|0)>>2])-(0|t[b>>2]))>0,c){if(_)for(w=0;Ef(s,0|oi(0|_i(o,w))),(0|(h=w+1|0))<(0|((0|t[d>>2])-(0|t[b>>2])|0)>>2);)w=h}else if(_)for(S=0;v=s,p=0|si(0|_i(o,S)),hf(v|=0,p|=0,0|Pa(p)),(0|(E=S+1|0))<(0|((0|t[d>>2])-(0|t[b>>2])|0)>>2);)S=E;return Ef(s,10),(1&(0|a[s>>0]))<<24>>24==0?0|s+1:0|t[(e+52|0)>>2]}return t[(e+8|0)>>2]=1,0}var v,p;return t[(e+8|0)>>2]=3,0},_bitshift64Ashr:If,_i64Subtract:Df,_OCRAD_result_first_character:function(e){var r=0,i=0,f=0,n=0,o=0,s=0,l=0,u=0,c=0,b=0;return 0==(0|(e|=0))?-1:0==(0|t[e>>2])||0==(0|(c=0|t[(o=e+4|0)>>2]))?(t[(e+8|0)>>2]=3,-1):(b=c+28|0,(0|(0|t[(c+32|0)>>2])-(0|t[b>>2]))>0?(i=16+(r=0|ar(c,0))|0,(0|(0|t[(r+20|0)>>2])-(0|t[i>>2]))>0?(n=28+(f=0|_i(0|Nr(0|ar(0|t[o>>2],0),0),0))|0,(0|t[(f+32|0)>>2])==(0|t[n>>2])?0:(s=(0|a[(e+41|0)>>0])<<24>>24==0,l=0|fi(f,0),u=0|t[l>>2],s?0|255&(0|Gr(u)):0|u)):0):0)},_OCRAD_scale:function(e,r){r|=0;var i,a,f,n=0;if(0==(0|(e|=0)))return-1;if(0==(0|(i=0|t[e>>2])))return t[(e+8|0)>>2]=3,-1;if(c=0,a=0|B(32,0|i,0|r),f=c,c=0,1&f)n=0|J(0),$(0|n),re();else if(a)return 0;return t[(e+8|0)>>2]=1,-1},_OCRAD_set_image_from_file:function(e,r,i){e|=0,r|=0,i|=0;var f,n,l=0,u=0,k=0,d=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,C=0,x=0,L=0,H=0,B=0,U=0,z=0,Y=0,V=0;if(n=o,(0|(o=o+16|0))>=(0|s)&&_(),f=n,0==(0|e))return o=n,-1;if(0!=(0|r)&&(0|a[r>>0])<<24>>24!=0&&0!=(0|(z=0==(0|xa(r,860))?0|t[149]:0|Ga(r,862)))){c=0,k=0|I(29,32),d=c,c=0,h=1&d;e:do{if(h)p=0|K(80,0),l=b,u=p,V=28;else{if(c=0,P(31,0|k,0|z,0|i),E=c,c=0,1&E){O=0|K(80,0),A=b,vf(k),l=A,u=O,V=28;break}S=0==(0|(w=0|t[(m=e+4|0)>>2]));do{if(!S){if(c=0,N(26,0|w),v=c,c=0,1&v){y=0|K(80,0),R=b,vf(w),l=R,u=y,V=28;break e}vf(w),t[m>>2]=0;break}}while(0);if(0!=(0|(g=0|t[e>>2]))){if(0!=(0|(M=0|t[(F=g+16|0)>>2]))){if((0|(T=0|t[(D=g+20|0)>>2]))==(0|M))U=M;else{for(x=T;C=x+-12|0,t[D>>2]=C,0==(0|(L=0|t[C>>2]))?H=C:((0|t[(B=x+-8|0)>>2])==(0|L)||(t[B>>2]=L),vf(L),H=0|t[D>>2]),(0|H)!=(0|M);)x=H;U=0|t[F>>2]}vf(U)}vf(g)}t[e>>2]=k,Y=0}}while(0);do{if(28==(0|V)){if((0|l)==(0|Z(80))){te(0|u),t[f>>2]=808,$(0|u),t[(e+8|0)>>2]=2,re(),Y=-1;break}$(0|u),t[(e+8|0)>>2]=1,re(),Y=-1;break}}while(0);return function(e){var r=0,i=0,a=0,f=0,n=0,o=0,s=0,l=0,u=0,c=0,b=0,k=0;t[(76+(e|=0)|0)>>2],u=0|t[e>>2],(c=0!=(0|1&u))||(be(6832),b=0|t[(e+52|0)>>2],k=b,r=e+56|0,0==(0|b)||(i=0|t[r>>2],t[(b+56|0)>>2]=i),a=0|t[r>>2],f=a,0==(0|a)||(t[(a+52|0)>>2]=k),(0|(0|t[1707]))==(0|e)&&(t[1707]=f),se(6832)),n=0|Wa(e),o=0|t[(e+12|0)>>2],s=0|lt[255&o](e),0==(0|(l=0|t[(e+92|0)>>2]))||kf(l),c||kf(e)}(z),o=n,0|Y}return t[(e+8|0)>>2]=1,o=n,-1},_bitshift64Lshr:Pf,_OCRAD_result_lines:function(e,r){r|=0;var i=0,a=0,f=0,n=0;return 0==(0|(e|=0))?-1:0==(0|t[e>>2])||0==(0|(f=0|t[(e+4|0)>>2]))?(t[(e+8|0)>>2]=3,-1):!((0|r)<0)&&(n=f+28|0,(0|((0|t[(f+32|0)>>2])-(0|t[n>>2])|0)>>2)>(0|r))?(a=16+(i=0|ar(f,r))|0,0|((0|t[(i+20|0)>>2])-(0|t[a>>2])|0)>>2):(t[(e+8|0)>>2]=1,-1)},_OCRAD_result_blocks:function(e){var r=0,i=0;return 0==(0|(e|=0))?-1:0==(0|t[e>>2])||0==(0|(r=0|t[(e+4|0)>>2]))?(t[(e+8|0)>>2]=3,-1):(i=r+28|0,0|((0|t[(r+32|0)>>2])-(0|t[i>>2])|0)>>2)},_OCRAD_version:function(){return 867},_bitshift64Shl:Nf,_OCRAD_close:function(e){var r,i,a,f,n,o=0,s=0,l=0,u=0,k=0,d=0,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0;if(0==(0|(e|=0)))return-1;f=0==(0|(r=0|t[(e+4|0)>>2]));do{if(!f){if(c=0,N(26,0|r),A=c,c=0,!(1&A)){vf(r);break}y=0|q(),b,vf(r),ie(0|y)}}while(0);if(0!=(0|(n=0|t[e>>2]))){if(0!=(0|(s=0|t[(o=n+16|0)>>2]))){if((0|(u=0|t[(l=n+20|0)>>2]))==(0|s))m=s;else{for(d=u;k=d+-12|0,t[l>>2]=k,0==(0|(_=0|t[k>>2]))?h=k:((0|t[(E=d+-8|0)>>2])==(0|_)||(t[E>>2]=_),vf(_),h=0|t[l>>2]),(0|h)!=(0|s);)d=h;m=0|t[o>>2]}vf(m)}vf(n)}c=0,N(27,0|e+44),i=c,c=0,a=1&i;do{if(!a){if(c=0,N(28,0|e+12),w=c,c=0,1&w){O=0|q(),b,R=O;break}return vf(e),0}S=0|q(),v=b,c=0,N(28,0|e+12),p=c,c=0,1&p?ve(0|J(0)):(v,R=S)}while(0);return vf(e),ie(0|R),0},_fflush:Wa,_OCRAD_set_utf8_format:function(e,r){r|=0;var i=0;return 0==(0|(e|=0))?-1:0==(0|t[e>>2])?(t[(e+8|0)>>2]=3,-1):(i=1&r,a[(e+41|0)>>0]=i,0)},___cxa_is_pointer_type:function(e){return 0|1&(0==(0|(e|=0))?0:0!=(0|pf(e,56,144,0)))},_OCRAD_set_exportfile:function(e,r){r|=0;var i=0;return 0==(0|(e|=0))?-1:0==(0|t[e>>2])?(t[(e+8|0)>>2]=3,-1):0==(0|r)||(0|a[r>>0])<<24>>24==0||0==(0|(i=0==(0|xa(r,860))?0|t[119]:0|Ga(r,865)))?(t[(e+8|0)>>2]=1,-1):(t[(e+32|0)>>2]=i,0)},_memset:Tf,_OCRAD_set_threshold:function(e,r){var i;return r|=0,0==(0|(e|=0))?-1:0==(0|(i=0|t[e>>2]))?(t[(e+8|0)>>2]=3,-1):(r+1|0)>>>0>256?(t[(e+8|0)>>2]=1,-1):(function(e,r){var i=0,f=0,n=0,l=0,u=0,d=0;n=(r|=0)>>>0<256,l=0|a[(28+(e|=0)|0)>>0],n?(u=0|k(255&l,r),f=(0|u)/255&-1):(d=0|function(e,r,i){e|=0,r|=0,i|=0;var f=0,n=0,l=0,u=0,d=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,P=0,x=0,L=0,H=0,B=0,U=0,z=0,Y=0,V=0,X=0,W=0,j=0,K=0,G=0,J=0,Z=0,Q=0,$=0,ee=0,re=0,ae=0,fe=0,te=0,ne=0,oe=0,se=0,le=0,ue=0,ce=0,be=0,ke=0,de=0,_e=0,he=0,Ee=0,me=0,we=0,Se=0,ve=0,pe=0,Oe=0,Ae=0,ye=0,Re=0,ge=0,Fe=0,Me=0,De=0,Te=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we))*((ge=(Ae=+(ve>>>0)+4294967296*+(0|Oe))/ye-(v-Ae)/Re)*ge)))>zr)?Me:zr,ni=De?Gr:ti):(Yr=zr,ni=ti),(0|(Te=Gr+1|0))==(0|i)){_e=Ur,fi=ni;break}zr=Yr,Gr=Te,ti=ni}else _e=Ur,fi=0}return he=_e,0==(0|_e)||((0|(Ee=0|t[Rr>>2]))==(0|_e)||(ri=Ee+((-1^((Ee+-8|0)-he|0)>>>3)<<3)|0,t[Rr>>2]=ri),vf(_e)),Ne=0|t[Vr>>2],Ce=Ne,0==(0|Ne)||((0|(Ie=0|t[dr>>2]))==(0|Ne)||(ei=Ie+((-1^((Ie+-4|0)-Ce|0)>>>2)<<2)|0,t[dr>>2]=ei),vf(Ne)),Pe=0|t[jr>>2],xe=Pe,0==(0|Pe)||((0|(Le=0|t[lr>>2]))==(0|Pe)||($r=Le+((-1^((Le+-4|0)-xe|0)>>>2)<<2)|0,t[lr>>2]=$r),vf(Pe)),o=si,0|fi}35==(0|oi)&&(P=0|q(),qr=P,b)}while(0);x=0|t[Xr>>2],L=x,0==(0|x)?f=qr:((0|(H=0|t[Rr>>2]))==(0|x)||(ii=H+((-1^((H+-8|0)-L|0)>>>3)<<3)|0,t[Rr>>2]=ii),vf(x),f=qr)}else 33==(0|oi)&&(D=0|q(),f=D);return Be=0|t[Vr>>2],Ue=Be,0==(0|Be)||((0|(ze=0|t[dr>>2]))==(0|Be)||(ai=ze+((-1^((ze+-4|0)-Ue|0)>>>2)<<2)|0,t[dr>>2]=ai),vf(Be)),Ve=0|t[jr>>2],Xe=Ve,0==(0|Ve)&&ie(0|f),(0|(We=0|t[lr>>2]))==(0|Ve)||(Zr=We+((-1^((We+-4|0)-Xe|0)>>>2)<<2)|0,t[lr>>2]=Zr),vf(Ve),ie(0|f),0}(e+16|0,e,255&l),f=d),i=255&f,a[(e+29|0)>>0]=i}(i,r),0)},_OCRAD_transform:function(e,r){e|=0,r|=0;var i,f,n=0;return f=o,(0|(o=o+16|0))>=(0|s)&&_(),i=f,0==(0|e)?(o=f,-1):0==(0|t[e>>2])?(t[(e+8|0)>>2]=3,o=f,-1):(t[i>>2]=0,0|function(e,r){e|=0;var i=0,a=0;if(0==(0|(0|xa(r|=0,3478))))a=0;else if(0==(0|(0|xa(r,3483))))a=1;else if(0==(0|(0|xa(r,3492))))a=2;else if(0==(0|(0|xa(r,3502))))a=3;else if(0==(0|(0|xa(r,3512))))a=4;else if(0==(0|(0|xa(r,3522))))a=5;else if(0==(0|(0|xa(r,3532))))a=6;else{if(0!=(0|(0|xa(r,3542))))return 0;a=7}return i=0|t[(4+(160+(a<<3)|0)|0)>>2],t[e>>2]=i,1}(i,r)?(function(e,r){e|=0;var i=0,f=0,n=0,o=0,s=0,l=0,u=0,c=0,b=0,k=0,d=0,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0,I=0,P=0,x=0,L=0,H=0,B=0,U=0,z=0,Y=0,V=0,X=0,W=0,j=0,K=0,G=0,q=0,J=0,Z=0,Q=0,$=0,ee=0,re=0,ie=0,ae=0,fe=0,te=0,ne=0,oe=0,se=0,le=0,ue=0,ce=0,be=0,ke=0,de=0,_e=0,he=0,Ee=0,me=0,we=0,Se=0,ve=0,pe=0,Oe=0,Ae=0,ye=0,Re=0,ge=0,Fe=0,Me=0,De=0,Ne=0,Ce=0,Ie=0,Pe=0,xe=0,Le=0,He=0,Be=0,Ue=0,ze=0,Ye=0,Ve=0,Xe=0,We=0,je=0,Ke=0,Ge=0,qe=0,Je=0,Ze=0,Qe=0,$e=0,er=0,rr=0,ir=0,ar=0,fr=0,tr=0,nr=0,or=0,sr=0,lr=0,ur=0,cr=0,br=0,kr=0,dr=0,_r=0,hr=0,Er=0,mr=0,wr=0,Sr=0,vr=0,pr=0,Or=0,Ar=0,yr=0,Rr=0,gr=0,Fr=0,Mr=0,Dr=0,Tr=0,Nr=0,Cr=0,Ir=0,Pr=0,xr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B>>2]=U,V=4+(L+(12*Jr|0)|0)|0,X=0|t[(Y=4+(L+(12*fi|0)|0)|0)>>2],W=0|t[V>>2],t[Y>>2]=W,t[V>>2]=X,K=8+(L+(12*Jr|0)|0)|0,G=0|t[(j=8+(L+(12*fi|0)|0)|0)>>2],J=0|t[K>>2],t[j>>2]=J,t[K>>2]=G,(0|(Z=fi+1|0))<(0|(jr=Jr+-1|0));)s=0|t[N>>2],L=s,Jr=jr,fi=Z;return;case 6:Te(e+16|0,e)}}(0|t[e>>2],i),n=0):n=-1,o=f,0|n)},_OCRAD_add_filter:function(e,r){return r|=0,0==(0|(e|=0))?-1:0==(0|t[e>>2])?(t[(e+8|0)>>2]=3,-1):(function(e,r,i){e|=0,r|=0,i|=0;var a=0,f=0,n=0,l=0,u=0,c=0,b=0,k=0,d=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0;if(T=o,(0|(o=o+96|0))>=(0|s)&&_(),F=T+80|0,g=T+72|0,R=T+64|0,A=T+56|0,O=T+48|0,p=T+40|0,D=T+32|0,M=T+24|0,y=T+16|0,v=T+8|0,a=T,0==(0|(0|xa(i,3552))))S=0;else if(0==(0|(0|xa(i,3560))))S=1;else if(0==(0|(0|xa(i,3573))))S=2;else if(0==(0|(0|xa(i,3581))))S=3;else if(0==(0|(0|xa(i,3594))))S=4;else if(0==(0|(0|xa(i,3606))))S=5;else if(0==(0|(0|xa(i,3617))))S=6;else if(0==(0|(0|xa(i,3627))))S=7;else{if(0!=(0|(0|xa(i,3642))))return(0|(0|t[1700]))>-1?(0==(0|i)||(0==(0|(0|xa(i,3468)))||(k=0|t[90],t[v>>2]=r,t[(v+4|0)>>2]=i,nf(k,3657,v))),sf(3678,19,1,d=0|t[90]),t[y>>2]=3552,nf(d,3473,y),t[M>>2]=3560,nf(d,3473,M),t[D>>2]=3573,nf(d,3473,D),t[p>>2]=3581,nf(d,3473,p),t[O>>2]=3594,nf(d,3473,O),t[A>>2]=3606,nf(d,3473,A),t[R>>2]=3617,nf(d,3473,R),t[g>>2]=3627,nf(d,3473,g),t[F>>2]=3642,nf(d,3473,F),of(10,d),o=T,0):(o=T,0);S=8}h=0|t[(4+(232+(S<<3)|0)|0)>>2],t[a>>2]=0,t[(a+4|0)>>2]=h,m=0|t[(E=e+8|0)>>2],w=0|t[(e+12|0)>>2],(0|m)==(0|w)?(function(e,r){r|=0;var i=0,a=0,f=0,n=0,o=0,s=0,l=0,u=0,c=0,b=0,k=0,d=0,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0,I=0,P=0;s=0|t[(o=4+(e|=0)|0)>>2],k=0|t[e>>2],(M=1+((s-k|0)>>3)|0)>>>0>536870911?(mf(),n=0|t[e>>2],f=n):f=k,C=0|t[(N=e+8|0)>>2],(I=C-f|0)>>3>>>0<268435455?(c=(u=I>>2)>>>0<M>>>0?M:u,b=0|t[o>>2],d=(b-f|0)>>3,0==(0|c)?(a=0,E=0,m=d,R=b):(i=c,D=b,T=d,P=6)):(l=0|t[o>>2],i=536870911,D=l,T=(l-f|0)>>3,P=6),6==(0|P)&&(_=0|gf(i<<3),a=i,E=_,m=T,R=D),h=E+(m<<3)|0,w=E+(a<<3)|0,v=0|t[(S=r)>>2],p=0|t[(S+4|0)>>2],t[(O=h)>>2]=v,t[(O+4|0)>>2]=p,A=h+8|0,F=g=h+((0-((y=R-f|0)>>3)|0)<<3)|0,xf(0|g,0|f,0|y),t[e>>2]=F,t[o>>2]=A,t[N>>2]=w,0!=(0|f)&&vf(f)}(e+4|0,a),o=T):(n=0|t[(f=a)>>2],l=0|t[(f+4|0)>>2],t[(u=m)>>2]=n,t[(u+4|0)>>2]=l,c=0|t[E>>2],b=c+8|0,t[E>>2]=b,o=T)}(e+12|0,7360,r),0)},_OCRAD_recognize:function(e,r){r|=0;var i,f,n,l,u,k,d,h=0,E=0,m=0;if(0==(0|(e|=0)))return-1;if(0==(0|(i=0|t[e>>2])))return t[(e+8|0)>>2]=3,-1;if(0==(0|(u=0|Mf(40))))return t[(e+8|0)>>2]=2,-1;c=0,D(33,0|u,0|i,7360,0|(k=e+12|0),0|r),d=c,c=0,1&d&&(h=0|q(),b,w=u,vf(w|=0),ie(0|h)),l=0==(0|(n=0|t[(f=e+4|0)>>2]));var w;do{if(!l){if(c=0,N(26,0|n),E=c,c=0,!(1&E)){vf(n);break}m=0|q(),b,vf(n),ie(0|m)}}while(0);return t[f>>2]=u,0==(0|t[(e+32|0)>>2])?0:(function(e,r){e|=0,r|=0;var i=0,f=0,n=0,l=0,u=0,c=0,b=0,k=0,d=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,N=0,C=0,I=0,P=0,x=0;if(x=o,(0|(o=o+48|0))>=(0|s)&&_(),P=x+16|0,I=x+8|0,C=x,0!=(0|(n=0|t[(f=r+20|0)>>2])))if((1&(0|a[(A=e+16|0)>>0]))<<24>>24==0?l=A+1|0:(T=0|t[(e+24|0)>>2],l=T),t[C>>2]=l,nf(n,2080,C),u=0|t[f>>2],c=e+28|0,k=0|t[(b=e+32|0)>>2],d=0|t[c>>2],h=(k-d|0)>>2,t[I>>2]=h,nf(u,2096,I),E=0|t[b>>2],m=0|t[c>>2],(0|E-m)>0){for(i=m,N=0;w=0|t[(i+(N<<2)|0)>>2],S=0|t[f>>2],v=N+1|0,p=0|t[w>>2],O=0|t[(w+4|0)>>2],y=0|t[(w+8|0)>>2],R=(1-p|0)+y|0,g=0|t[(w+12|0)>>2],F=(1-O|0)+g|0,t[P>>2]=v,t[(P+4|0)>>2]=p,t[(P+8|0)>>2]=O,t[(P+12|0)>>2]=R,t[(P+16|0)>>2]=F,nf(S,2118,P),Cr(w,r),M=0|t[b>>2],D=0|t[c>>2],(0|v)<(0|(M-D|0)>>2);)i=D,N=v;o=x}else o=x;else o=x}(u,k),0)},_OCRAD_result_chars_total:function(e){var r=0,i=0,a=0,f=0,n=0,o=0,s=0,l=0,u=0,c=0,b=0,k=0,d=0,_=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0;if(0==(0|(e|=0)))return 0|(r=-1);if(0!=(0|t[e>>2])&&0!=(0|(k=0|t[(l=e+4|0)>>2]))){if(E=k+28|0,!((0|(0|t[(k+32|0)>>2])-(0|t[E>>2]))>0))return 0|(r=0);for(i=k,m=0,w=0;;){if(f=16+(a=0|ar(i,m))|0,(0|(0|t[(a+20|0)>>2])-(0|t[f>>2]))>0)for(v=w,p=0;;){if(c=16+(u=0|Nr(0|ar(0|t[l>>2],m),p))|0,b=(((0|t[(u+20|0)>>2])-(0|t[c>>2])|0)>>2)+v|0,d=p+1|0,h=16+(_=0|ar(0|t[l>>2],m))|0,!((0|d)<(0|((0|t[(_+20|0)>>2])-(0|t[h>>2])|0)>>2))){S=b;break}v=b,p=d}else S=w;if(n=m+1|0,s=28+(o=0|t[l>>2])|0,!((0|n)<(0|((0|t[(o+32|0)>>2])-(0|t[s>>2])|0)>>2))){r=S;break}i=o,m=n,w=S}return 0|r}return t[(e+8|0)>>2]=3,0|(r=-1)},_OCRAD_open:function(){var e,r,i;return t[1700]=-1,0==(0|(e=0|Mf(56)))?0:(r=e+28|0,t[e>>2]=0,t[e+4>>2]=0,t[e+8>>2]=0,t[e+12>>2]=0,t[e+16>>2]=0,t[e+20>>2]=0,t[e+24>>2]=0,t[(e+32|0)>>2]=0,t[(e+36|0)>>2]=0,a[(e+40|0)>>0]=52,a[(e+41|0)>>0]=0,t[(i=e+44|0)>>2]=0,t[i+4>>2]=0,t[i+8>>2]=0,t[r>>2]=0,0|e)},_OCRAD_result_chars_line:function(e,r,i){r|=0,i|=0;var a=0,f=0,n=0,o=0,s=0,l=0,u=0;return 0==(0|(e|=0))?-1:0==(0|t[e>>2])||0==(0|(l=0|t[(s=e+4|0)>>2]))?(t[(e+8|0)>>2]=3,-1):(0|r)<0||(u=l+28|0,(0|i)<0|(0|((0|t[(l+32|0)>>2])-(0|t[u>>2])|0)>>2)<=(0|r)||(f=16+(a=0|ar(l,r))|0,!((0|((0|t[(a+20|0)>>2])-(0|t[f>>2])|0)>>2)>(0|i))))?(t[(e+8|0)>>2]=1,-1):(o=16+(n=0|Nr(0|ar(0|t[s>>2],r),i))|0,0|((0|t[(n+20|0)>>2])-(0|t[o>>2])|0)>>2)},_OCRAD_get_errno:function(e){return 0==(0|(e|=0))?1:0|t[(e+8|0)>>2]},_i64Add:Cf,_OCRAD_set_image:function(e,r,i){e|=0,r|=0,i|=0;var a,f,n=0,l=0,u=0,k=0,d=0,h=0,E=0,m=0,w=0,S=0,v=0,p=0,O=0,A=0,y=0,R=0,g=0,F=0,M=0,D=0,T=0,C=0,x=0,L=0,H=0,B=0,U=0,z=0;if(f=o,(0|(o=o+16|0))>=(0|s)&&_(),a=f,0==(0|e))return o=f,-1;if(!(0==(0|r)||(0|(x=0|t[(r+4|0)>>2]))<3||(0|(z=0|t[(r+8|0)>>2]))<3||(0|2147483647/(0|z)&-1)<(0|x)||!((0|t[(r+12|0)>>2])>>>0<3))){c=0,u=0|I(29,32),k=c,c=0,d=1&k;e:do{if(!d){if(c=0,P(30,0|u,0|r,0|i),h=c,c=0,1&h){p=0|J(80),O=b,vf(u),n=O,l=p;break}w=0==(0|(m=0|t[(E=e+4|0)>>2]));do{if(!w){if(c=0,N(26,0|m),S=c,c=0,1&S){A=0|J(80),y=b,vf(m),n=y,l=A;break e}vf(m),t[E>>2]=0;break}}while(0);if(0!=(0|(R=0|t[e>>2]))){if(0!=(0|(F=0|t[(g=R+16|0)>>2]))){if((0|(D=0|t[(M=R+20|0)>>2]))==(0|F))U=F;else{for(C=D;T=C+-12|0,t[M>>2]=T,0==(0|(L=0|t[T>>2]))?H=T:((0|t[(B=C+-8|0)>>2])==(0|L)||(t[B>>2]=L),vf(L),H=0|t[M>>2]),(0|H)!=(0|F);)C=H;U=0|t[g>>2]}vf(U)}vf(R)}return t[e>>2]=u,o=f,0}v=0|J(80),n=b,l=v}while(0);return(0|n)==(0|Z(80))||ie(0|l),te(0|l),t[a>>2]=808,$(0|l),t[(e+8|0)>>2]=2,re(),o=f,-1}return t[(e+8|0)>>2]=1,o=f,-1},_OCRAD_result_chars_block:function(e,r){r|=0;var i=0,a=0,f=0,n=0,o=0,s=0,l=0,u=0,c=0,b=0,k=0,d=0,_=0,h=0;if(0==(0|(e|=0)))return 0|(i=-1);if(0!=(0|t[e>>2])&&0!=(0|(k=0|t[(s=e+4|0)>>2]))){if(!((0|r)<0)&&(d=k+28|0,(0|((0|t[(k+32|0)>>2])-(0|t[d>>2])|0)>>2)>(0|r))){if(f=16+(a=0|ar(k,r))|0,!((0|(0|t[(a+20|0)>>2])-(0|t[f>>2]))>0))return 0|(i=0);for(_=0,h=0;;){if(o=16+(n=0|Nr(0|ar(0|t[s>>2],r),h))|0,l=(((0|t[(n+20|0)>>2])-(0|t[o>>2])|0)>>2)+_|0,u=h+1|0,b=16+(c=0|ar(0|t[s>>2],r))|0,!((0|u)<(0|((0|t[(c+20|0)>>2])-(0|t[b>>2])|0)>>2))){i=l;break}_=l,h=u}return 0|i}return t[(e+8|0)>>2]=1,0|(i=-1)}return t[(e+8|0)>>2]=3,0|(i=-1)},___errno_location:Ca,___cxa_can_catch:function(e,r,i){e|=0,r|=0,i|=0;var a,f,n,l,u,c,b,k=0;return b=o,(0|(o=o+16|0))>=(0|s)&&_(),c=b,a=0|t[i>>2],t[c>>2]=a,f=0|t[e>>2],n=0|t[(f+16|0)>>2],u=1&(l=0|ft[255&n](e,r,c)),l&&(k=0|t[c>>2],t[i>>2]=k),o=b,0|u},_free:kf,_memmove:Lf,_malloc:bf,_memcpy:xf,runPostSets:function(){},stackAlloc:function(e){var r;return r=o,(0|(o=15+(o=o+(e|=0)|0)&-16))>=(0|s)&&_(),0|r},stackSave:function(){return 0|o},stackRestore:function(e){o=e|=0},establishStackSpace:function(e,r){o=e|=0,s=r|=0},setThrew:function(e,r){e|=0,r|=0,0==(0|c)&&(c=e,r)},setTempRet0:function(e){b=e|=0},getTempRet0:function(){return 0|b},dynCall_iiii:function(e,r,i,a){return r|=0,i|=0,a|=0,0|ft[255&(e|=0)](0|r,0|i,0|a)},dynCall_viiiii:function(e,r,i,a,f,t){r|=0,i|=0,a|=0,f|=0,t|=0,tt[255&(e|=0)](0|r,0|i,0|a,0|f,0|t)},dynCall_i:function(e){return 0|nt[255&(e|=0)]()},dynCall_vi:function(e,r){r|=0,ot[255&(e|=0)](0|r)},dynCall_vii:function(e,r,i){r|=0,i|=0,st[255&(e|=0)](0|r,0|i)},dynCall_ii:function(e,r){return r|=0,0|lt[255&(e|=0)](0|r)},dynCall_viii:function(e,r,i,a){r|=0,i|=0,a|=0,ut[255&(e|=0)](0|r,0|i,0|a)},dynCall_v:function(e){ct[255&(e|=0)]()},dynCall_iiiii:function(e,r,i,a,f){return r|=0,i|=0,a|=0,f|=0,0|bt[255&(e|=0)](0|r,0|i,0|a,0|f)},dynCall_viiiiii:function(e,r,i,a,f,t,n){r|=0,i|=0,a|=0,f|=0,t|=0,n|=0,kt[127&(e|=0)](0|r,0|i,0|a,0|f,0|t,0|n)},dynCall_iii:function(e,r,i){return r|=0,i|=0,0|dt[255&(e|=0)](0|r,0|i)},dynCall_iiiiii:function(e,r,i,a,f,t){return r|=0,i|=0,a|=0,f|=0,t|=0,0|_t[255&(e|=0)](0|r,0|i,0|a,0|f,0|t)},dynCall_viiii:function(e,r,i,a,f){r|=0,i|=0,a|=0,f|=0,ht[63&(e|=0)](0|r,0|i,0|a,0|f)}}}(Module.asmGlobalArg,Module.asmLibraryArg,buffer),real__OCRAD_result_line=asm._OCRAD_result_line;asm._OCRAD_result_line=function(){return assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)"),assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"),real__OCRAD_result_line.apply(null,arguments)};var real__OCRAD_set_exportfile=asm._OCRAD_set_exportfile;asm._OCRAD_set_exportfile=function(){return assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)"),assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"),real__OCRAD_set_exportfile.apply(null,arguments)};var real__OCRAD_open=asm._OCRAD_open;asm._OCRAD_open=function(){return assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)"),assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"),real__OCRAD_open.apply(null,arguments)};var real__OCRAD_result_first_character=asm._OCRAD_result_first_character;asm._OCRAD_result_first_character=function(){return assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)"),assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"),real__OCRAD_result_first_character.apply(null,arguments)};var real__OCRAD_scale=asm._OCRAD_scale;asm._OCRAD_scale=function(){return assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)"),assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"),real__OCRAD_scale.apply(null,arguments)};var real__OCRAD_set_image_from_file=asm._OCRAD_set_image_from_file;asm._OCRAD_set_image_from_file=function(){return assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)"),assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"),real__OCRAD_set_image_from_file.apply(null,arguments)};var real__bitshift64Lshr=asm._bitshift64Lshr;asm._bitshift64Lshr=function(){return assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)"),assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"),real__bitshift64Lshr.apply(null,arguments)};var real__OCRAD_result_lines=asm._OCRAD_result_lines;asm._OCRAD_result_lines=function(){return assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)"),assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"),real__OCRAD_result_lines.apply(null,arguments)};var real__OCRAD_result_blocks=asm._OCRAD_result_blocks;asm._OCRAD_result_blocks=function(){return assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)"),assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"),real__OCRAD_result_blocks.apply(null,arguments)};var real__OCRAD_version=asm._OCRAD_version;asm._OCRAD_version=function(){return assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)"),assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"),real__OCRAD_version.apply(null,arguments)};var real__bitshift64Shl=asm._bitshift64Shl;asm._bitshift64Shl=function(){return assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)"),assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"),real__bitshift64Shl.apply(null,arguments)};var real__OCRAD_close=asm._OCRAD_close;asm._OCRAD_close=function(){return assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)"),assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"),real__OCRAD_close.apply(null,arguments)};var real__fflush=asm._fflush;asm._fflush=function(){return assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)"),assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"),real__fflush.apply(null,arguments)};var real__OCRAD_set_utf8_format=asm._OCRAD_set_utf8_format;asm._OCRAD_set_utf8_format=function(){return assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)"),assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"),real__OCRAD_set_utf8_format.apply(null,arguments)};var real____cxa_is_pointer_type=asm.___cxa_is_pointer_type;asm.___cxa_is_pointer_type=function(){return assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)"),assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"),real____cxa_is_pointer_type.apply(null,arguments)};var real__bitshift64Ashr=asm._bitshift64Ashr;asm._bitshift64Ashr=function(){return assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)"),assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"),real__bitshift64Ashr.apply(null,arguments)};var real__OCRAD_set_threshold=asm._OCRAD_set_threshold;asm._OCRAD_set_threshold=function(){return assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)"),assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"),real__OCRAD_set_threshold.apply(null,arguments)};var real__OCRAD_transform=asm._OCRAD_transform;asm._OCRAD_transform=function(){return assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)"),assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"),real__OCRAD_transform.apply(null,arguments)};var real__OCRAD_add_filter=asm._OCRAD_add_filter;asm._OCRAD_add_filter=function(){return assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)"),assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"),real__OCRAD_add_filter.apply(null,arguments)};var real__OCRAD_recognize=asm._OCRAD_recognize;asm._OCRAD_recognize=function(){return assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)"),assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"),real__OCRAD_recognize.apply(null,arguments)};var real__i64Subtract=asm._i64Subtract;asm._i64Subtract=function(){return assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)"),assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"),real__i64Subtract.apply(null,arguments)};var real__OCRAD_result_chars_line=asm._OCRAD_result_chars_line;asm._OCRAD_result_chars_line=function(){return assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)"),assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"),real__OCRAD_result_chars_line.apply(null,arguments)};var real__OCRAD_result_chars_total=asm._OCRAD_result_chars_total;asm._OCRAD_result_chars_total=function(){return assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)"),assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"),real__OCRAD_result_chars_total.apply(null,arguments)};var real__i64Add=asm._i64Add;asm._i64Add=function(){return assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)"),assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"),real__i64Add.apply(null,arguments)};var real__OCRAD_set_image=asm._OCRAD_set_image;asm._OCRAD_set_image=function(){return assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)"),assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"),real__OCRAD_set_image.apply(null,arguments)};var real__OCRAD_result_chars_block=asm._OCRAD_result_chars_block;asm._OCRAD_result_chars_block=function(){return assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)"),assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"),real__OCRAD_result_chars_block.apply(null,arguments)};var real__OCRAD_get_errno=asm._OCRAD_get_errno;asm._OCRAD_get_errno=function(){return assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)"),assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"),real__OCRAD_get_errno.apply(null,arguments)};var real____errno_location=asm.___errno_location;asm.___errno_location=function(){return assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)"),assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"),real____errno_location.apply(null,arguments)};var real____cxa_can_catch=asm.___cxa_can_catch;asm.___cxa_can_catch=function(){return assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)"),assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"),real____cxa_can_catch.apply(null,arguments)};var real__free=asm._free;asm._free=function(){return assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)"),assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"),real__free.apply(null,arguments)};var real__memmove=asm._memmove;asm._memmove=function(){return assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)"),assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"),real__memmove.apply(null,arguments)};var real__malloc=asm._malloc;asm._malloc=function(){return assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)"),assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"),real__malloc.apply(null,arguments)};var _OCRAD_result_line=Module._OCRAD_result_line=asm._OCRAD_result_line,_OCRAD_set_exportfile=Module._OCRAD_set_exportfile=asm._OCRAD_set_exportfile,_OCRAD_open=Module._OCRAD_open=asm._OCRAD_open,_OCRAD_result_first_character=Module._OCRAD_result_first_character=asm._OCRAD_result_first_character,_OCRAD_scale=Module._OCRAD_scale=asm._OCRAD_scale,_OCRAD_set_image_from_file=Module._OCRAD_set_image_from_file=asm._OCRAD_set_image_from_file,_bitshift64Lshr=Module._bitshift64Lshr=asm._bitshift64Lshr,_OCRAD_result_lines=Module._OCRAD_result_lines=asm._OCRAD_result_lines,_OCRAD_result_blocks=Module._OCRAD_result_blocks=asm._OCRAD_result_blocks,_OCRAD_version=Module._OCRAD_version=asm._OCRAD_version,_bitshift64Shl=Module._bitshift64Shl=asm._bitshift64Shl,_OCRAD_close=Module._OCRAD_close=asm._OCRAD_close,_fflush=Module._fflush=asm._fflush,_OCRAD_set_utf8_format=Module._OCRAD_set_utf8_format=asm._OCRAD_set_utf8_format,___cxa_is_pointer_type=Module.___cxa_is_pointer_type=asm.___cxa_is_pointer_type,_bitshift64Ashr=Module._bitshift64Ashr=asm._bitshift64Ashr,_memset=Module._memset=asm._memset,_OCRAD_set_threshold=Module._OCRAD_set_threshold=asm._OCRAD_set_threshold,_OCRAD_transform=Module._OCRAD_transform=asm._OCRAD_transform,_OCRAD_add_filter=Module._OCRAD_add_filter=asm._OCRAD_add_filter,_OCRAD_recognize=Module._OCRAD_recognize=asm._OCRAD_recognize,_i64Subtract=Module._i64Subtract=asm._i64Subtract,_OCRAD_result_chars_line=Module._OCRAD_result_chars_line=asm._OCRAD_result_chars_line,_OCRAD_result_chars_total=Module._OCRAD_result_chars_total=asm._OCRAD_result_chars_total,_i64Add=Module._i64Add=asm._i64Add,_OCRAD_set_image=Module._OCRAD_set_image=asm._OCRAD_set_image,_OCRAD_result_chars_block=Module._OCRAD_result_chars_block=asm._OCRAD_result_chars_block,_OCRAD_get_errno=Module._OCRAD_get_errno=asm._OCRAD_get_errno,___errno_location=Module.___errno_location=asm.___errno_location,___cxa_can_catch=Module.___cxa_can_catch=asm.___cxa_can_catch,_free=Module._free=asm._free,runPostSets=Module.runPostSets=asm.runPostSets,_memmove=Module._memmove=asm._memmove,_malloc=Module._malloc=asm._malloc,_memcpy=Module._memcpy=asm._memcpy,dynCall_iiii=Module.dynCall_iiii=asm.dynCall_iiii,dynCall_viiiii=Module.dynCall_viiiii=asm.dynCall_viiiii,dynCall_i=Module.dynCall_i=asm.dynCall_i,dynCall_vi=Module.dynCall_vi=asm.dynCall_vi,dynCall_vii=Module.dynCall_vii=asm.dynCall_vii,dynCall_ii=Module.dynCall_ii=asm.dynCall_ii,dynCall_viii=Module.dynCall_viii=asm.dynCall_viii,dynCall_v=Module.dynCall_v=asm.dynCall_v,dynCall_iiiii=Module.dynCall_iiiii=asm.dynCall_iiiii,dynCall_viiiiii=Module.dynCall_viiiiii=asm.dynCall_viiiiii,dynCall_iii=Module.dynCall_iii=asm.dynCall_iii,dynCall_iiiiii=Module.dynCall_iiiiii=asm.dynCall_iiiiii,dynCall_viiii=Module.dynCall_viiii=asm.dynCall_viiii,initialStackTop;function ExitStatus(e){this.name="ExitStatus",this.message="Program terminated with exit("+e+")",this.status=e}Runtime.stackAlloc=asm.stackAlloc,Runtime.stackSave=asm.stackSave,Runtime.stackRestore=asm.stackRestore,Runtime.establishStackSpace=asm.establishStackSpace,Runtime.setTempRet0=asm.setTempRet0,Runtime.getTempRet0=asm.getTempRet0,ExitStatus.prototype=new Error,ExitStatus.prototype.constructor=ExitStatus;var preloadStartTime=null,calledMain=!1;function run(e){function r(){Module.calledRun||(Module.calledRun=!0,ABORT||(ensureInitRuntime(),preMain(),ENVIRONMENT_IS_WEB&&null!==preloadStartTime&&Module.printErr("pre-main prep time: "+(Date.now()-preloadStartTime)+" ms"),Module.onRuntimeInitialized&&Module.onRuntimeInitialized(),Module._main&&shouldRunNow&&Module.callMain(e),postRun()))}e=e||Module.arguments,null===preloadStartTime&&(preloadStartTime=Date.now()),runDependencies>0?Module.printErr("run() called, but dependencies remain, so not running"):(preRun(),runDependencies>0||Module.calledRun||(Module.setStatus?(Module.setStatus("Running..."),setTimeout(function(){setTimeout(function(){Module.setStatus("")},1),r()},1)):r()))}function exit(e,r){if(!r||!Module.noExitRuntime)throw Module.noExitRuntime?Module.printErr("exit("+e+") called, but noExitRuntime, so halting execution but not exiting the runtime or preventing further async execution (you can use emscripten_force_exit, if you want to force a true shutdown)"):(ABORT=!0,EXITSTATUS=e,STACKTOP=initialStackTop,exitRuntime(),Module.onExit&&Module.onExit(e)),ENVIRONMENT_IS_NODE?process.exit(e):ENVIRONMENT_IS_SHELL&&"function"==typeof quit&&quit(e),new ExitStatus(e);Module.printErr("exit("+e+") implicitly called by end of main(), but noExitRuntime, so not exiting the runtime (you can use emscripten_force_exit, if you want to force a true shutdown)")}dependenciesFulfilled=function e(){Module.calledRun||run(),Module.calledRun||(dependenciesFulfilled=e)},Module.callMain=Module.callMain=function(e){assert(0==runDependencies,"cannot call main when async dependencies remain! (listen on __ATMAIN__)"),assert(0==__ATPRERUN__.length,"cannot call main when preRun functions remain to be called"),e=e||[],ensureInitRuntime();var r=e.length+1;function i(){for(var e=0;e<3;e++)a.push(0)}var a=[allocate(intArrayFromString(Module.thisProgram),"i8",ALLOC_NORMAL)];i();for(var f=0;f<r-1;f+=1)a.push(allocate(intArrayFromString(e[f]),"i8",ALLOC_NORMAL)),i();a.push(0),a=allocate(a,"i32",ALLOC_NORMAL);try{exit(Module._main(r,a,0),!0)}catch(e){if(e instanceof ExitStatus)return;if("SimulateInfiniteLoop"==e)return void(Module.noExitRuntime=!0);throw e&&"object"==typeof e&&e.stack&&Module.printErr("exception thrown: "+[e,e.stack]),e}finally{calledMain=!0}},Module.run=Module.run=run,Module.exit=Module.exit=exit;var abortDecorators=[];function abort(e){void 0!==e?(Module.print(e),Module.printErr(e),e=JSON.stringify(e)):e="",ABORT=!0,EXITSTATUS=1;var r="abort("+e+") at "+stackTrace();throw abortDecorators&&abortDecorators.forEach(function(i){r=i(r,e)}),r}if(Module.abort=Module.abort=abort,Module.preInit)for("function"==typeof Module.preInit&&(Module.preInit=[Module.preInit]);Module.preInit.length>0;)Module.preInit.pop()();var shouldRunNow=!0;Module.noInitialRun&&(shouldRunNow=!1),run();var API={};function _simple(e,r){if(e.data){for(var i=e.width,a=e.height,f=e.data,t="P5\n"+i+" "+a+"\n255\n",n=t.length,o=new Uint8Array(n+i*a),s=0|f.length,l=s-16|0,u=0;u<n;u++)o[u]=t.charCodeAt(u);for(u=0;u<=l;u+=16,n+=4)o[n]=4899*f[u]+9617*f[u+1]+1868*f[u+2]+8192>>14,o[n+1]=4899*f[u+4]+9617*f[u+5]+1868*f[u+6]+8192>>14,o[n+2]=4899*f[u+8]+9617*f[u+9]+1868*f[u+10]+8192>>14,o[n+3]=4899*f[u+12]+9617*f[u+13]+1868*f[u+14]+8192>>14;for(;u<s;u+=4,++n)o[n]=4899*f[u]+9617*f[u+1]+1868*f[u+2]+8192>>14;e=o}e instanceof ArrayBuffer&&(e=new Uint8Array(e)),API.write_file("/in.pnm",e);var c,b=API.open();if(API.set_image_from_file(b,"/in.pnm",r.invert?1:0),r.raw&&API.set_exportfile(b,"/out.txt"),r.filters&&(r.filters.forEach?r.filters:[r.filters]).forEach(function(e){if(-1==["letters","letters_only","numbers","numbers_only","same_height","upper_num","upper_num_only"].indexOf(e))throw"Invalid Filter";API.add_filter(b,e)}),r.transform){if(-1==["none","rotate90","rotate180","rotate270","mirror_lr","mirror_tb","mirror_d1","mirror_d2"].indexOf(r.transform))throw"Invalid transformation!";API.transform(b,r.transform)}if(r.scale&&API.scale(b,Math.round(r.scale))<0)throw"Error scaling image";if(API.set_utf8_format(b,1),API.recognize(b,0),r.raw)c=API.read_text("/out.txt"),API.delete_file("/out.txt");else{var k="",d=API.result_blocks(b);for(u=0;u<d;u++){var _=API.result_lines(b,u);for(n=0;n<_;n++){k+=API.result_line(b,u,n)}}c=k}return API.close(b),API.delete_file("/in.pnm"),c}return API.set_print=function(e){Module.print=e},API.write_file=function(e,r){FS.writeFile(e,r,{encoding:"binary"})},API.read_file=function(e){return FS.readFile(e,{encoding:"binary"})},API.read_text=function(e){return FS.readFile(e,{encoding:"utf8"})},API.delete_file=function(e){return FS.unlink(e)},API.version=Module.cwrap("OCRAD_version","string"),API.open=Module.cwrap("OCRAD_open","number"),API.close=Module.cwrap("OCRAD_close","number",["number"]),API.get_errno=Module.cwrap("OCRAD_get_errno","number",["number"]),API.set_image=Module.cwrap("OCRAD_set_image","number",["number","number","number"]),API.set_image_from_file=Module.cwrap("OCRAD_set_image_from_file","number",["number","string","number"]),API.set_exportfile=Module.cwrap("OCRAD_set_exportfile","number",["number","string"]),API.add_filter=Module.cwrap("OCRAD_add_filter","number",["number","string"]),API.set_utf8_format=Module.cwrap("OCRAD_set_utf8_format","number",["number","number"]),API.set_threshold=Module.cwrap("OCRAD_set_threshold","number",["number","number"]),API.scale=Module.cwrap("OCRAD_scale","number",["number","number"]),API.transform=Module.cwrap("OCRAD_transform","number",["number","string"]),API.recognize=Module.cwrap("OCRAD_recognize","number",["number","number"]),API.result_blocks=Module.cwrap("OCRAD_result_blocks","number",["number"]),API.result_lines=Module.cwrap("OCRAD_result_lines","number",["number","number"]),API.result_chars_total=Module.cwrap("OCRAD_result_chars_total","number",["number"]),API.result_chars_block=Module.cwrap("OCRAD_result_chars_block","number",["number","number"]),API.result_chars_line=Module.cwrap("OCRAD_result_chars_line","number",["number","number","number"]),API.result_line=Module.cwrap("OCRAD_result_line","string",["number","number","number"]),API.result_first_character=Module.cwrap("OCRAD_result_first_character","number",["number"]),API._simple=_simple,API}function createWebWorkerFromString(e){var r,i;try{r=new Blob([e],{type:"application/javascript"})}catch(i){(r=new(window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder)).append(e),r=r.getBlob()}var a=window.URL||window.webkitURL;try{i=new Worker(a.createObjectURL(r))}catch(e){}return i}function parseOcradResultsFile(e){for(var r;!(r=e.shift().match(/^total text blocks (\d+)/)););for(var i=[],a=[],f=[],t=0;t<parseInt(r[1]);t++){for(var n=[],o=e.shift().match(/^text block (\d+) (\d+) (\d+) (\d+) (\d+)/),s=e.shift().match(/^lines (\d+)/),l=0;l<parseInt(s[1]);l++){for(var u=[],c=e.shift().match(/^line (\d+) chars (\d+) height (\d+)/),b=0;b<parseInt(c[2]);b++){var k=e.shift().match(/^\s*(\d+)\s+(\d+)\s+(\d+)\s+(\d+)\s*;\s*(\d+)(\,?.+)?$/),d=[];if(parseInt(k[5])>0)for(var _=k[6].trim();","==_[0]&&" "==_[1];){var h=(_=_.slice(2)).match(/^\'(.+?)\'(\d+)/);d.push({letter:h[1],confidence:parseInt(h[2])}),_=_.slice(h[0].length)}u.push({x:parseInt(k[1]),y:parseInt(k[2]),width:parseInt(k[3]),height:parseInt(k[4]),matches:d})}f=f.concat(u),n.push({height:parseInt(c[3]),letters:u})}a=a.concat(n),i.push({x:parseInt(o[2]),y:parseInt(o[3]),width:parseInt(o[4]),height:parseInt(o[5]),lines:n})}return{blocks:i,lines:a,letters:f}}var OCRAD=function e(r,i,a){var f,t,n={},o=!1;if("object"==typeof i?(n=i,"function"==typeof a&&(o=a)):"function"==typeof i?o=i:"boolean"==typeof i&&"function"==typeof a&&(n={invert:i},f=a),(f||n.verbose)&&(n.raw=!0),n.numeric&&(n.filters=["numbers_only"]),"function"==typeof r&&(r=r()),r.getContext)r=r.getContext("2d");else if("IMG"==r.tagName||"VIDEO"==r.tagName){var s=document.createElement("canvas");"IMG"==r.tagName?(s.width=r.naturalWidth,s.height=r.naturalHeight):"VIDEO"==r.tagName&&(s.width=r.videoWidth,s.height=r.videoHeight);var l=s.getContext("2d");l.drawImage(r,0,0),r=l}function u(e){return f&&e.split("\n").forEach(f),n.verbose?parseOcradResultsFile(e.split("\n")):e}if(r.getImageData&&(r=r.getImageData(0,0,r.canvas.width,r.canvas.height)),!o)return u(e._simple(r,n));var c="var API = ("+createOcradInstance.toString()+")(); onmessage = function(e){ postMessage(API._simple(e.data.image, e.data.opt)) }";(t=createWebWorkerFromString(c))?(t.onmessage=function(e){o(u(e.data)),t.terminate()},t.postMessage({image:r,opt:n})):o(u(e._simple(r,n)))},APISingleton;function fwrap(e){return function(){return OCRAD.preinit(),APISingleton[e].apply(APISingleton,arguments)}}return OCRAD.preinit=function(){APISingleton||(APISingleton=createOcradInstance())},OCRAD.set_print=fwrap("set_print"),OCRAD.write_file=fwrap("write_file"),OCRAD.read_file=fwrap("read_file"),OCRAD.read_text=fwrap("read_text"),OCRAD.delete_file=fwrap("delete_file"),OCRAD.version=fwrap("version"),OCRAD.open=fwrap("open"),OCRAD.close=fwrap("close"),OCRAD.get_errno=fwrap("get_errno"),OCRAD.set_image=fwrap("set_image"),OCRAD.set_image_from_file=fwrap("set_image_from_file"),OCRAD.set_exportfile=fwrap("set_exportfile"),OCRAD.add_filter=fwrap("add_filter"),OCRAD.set_utf8_format=fwrap("set_utf8_format"),OCRAD.set_threshold=fwrap("set_threshold"),OCRAD.scale=fwrap("scale"),OCRAD.transform=fwrap("transform"),OCRAD.recognize=fwrap("recognize"),OCRAD.result_blocks=fwrap("result_blocks"),OCRAD.result_lines=fwrap("result_lines"),OCRAD.result_chars_total=fwrap("result_chars_total"),OCRAD.result_chars_block=fwrap("result_chars_block"),OCRAD.result_chars_line=fwrap("result_chars_line"),OCRAD.result_line=fwrap("result_line"),OCRAD.result_first_character=fwrap("result_first_character"),OCRAD._simple=fwrap("_simple"),OCRAD}();"undefined"!=typeof module&&module.exports&&(module.exports=OCRAD);